@peculiar/certificates-viewer 4.6.0 → 4.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (363) hide show
  1. package/components/attribute-certificate-viewer.js +4 -4
  2. package/components/attribute-certificate-viewer.js.map +1 -1
  3. package/components/attribute.js +2 -1
  4. package/components/attribute.js.map +1 -1
  5. package/components/button-menu.js +1 -1
  6. package/components/button.js +3 -1
  7. package/components/button.js.map +1 -1
  8. package/components/certificate-chain-viewer.js +2 -2
  9. package/components/certificate-chain-viewer.js.map +1 -1
  10. package/components/certificate-viewer.js +4 -4
  11. package/components/certificate-viewer.js.map +1 -1
  12. package/components/circular-progress.js +1 -1
  13. package/components/crl-viewer.js +4 -4
  14. package/components/crl-viewer.js.map +1 -1
  15. package/components/csr-viewer.js +4 -4
  16. package/components/csr-viewer.js.map +1 -1
  17. package/components/download.js +3305 -3178
  18. package/components/download.js.map +1 -1
  19. package/components/highlight-words.js +1 -1
  20. package/components/index.js +1 -1
  21. package/components/index2.js +50 -2
  22. package/components/index2.js.map +1 -1
  23. package/components/miscellaneous.js +100 -2
  24. package/components/miscellaneous.js.map +1 -1
  25. package/components/peculiar-certificate-decoder.js +3 -3
  26. package/components/peculiar-certificate-decoder.js.map +1 -1
  27. package/components/peculiar-certificates-viewer.js +2 -2
  28. package/components/peculiar-text-hider.js +1 -1
  29. package/components/pkcs10_certificate_request.js +1 -6
  30. package/components/pkcs10_certificate_request.js.map +1 -1
  31. package/dist/cjs/{actions-Dl4HXXlI.js → actions-ByC9jQU-.js} +3 -3
  32. package/dist/cjs/{actions-Dl4HXXlI.js.map → actions-ByC9jQU-.js.map} +1 -1
  33. package/dist/cjs/{arrow_top-DBMPHVlB.js → arrow_top-Cw9KN115.js} +3 -3
  34. package/dist/cjs/{arrow_top-DBMPHVlB.js.map → arrow_top-Cw9KN115.js.map} +1 -1
  35. package/dist/cjs/{button-B0CduHSE.js → button-C8EWG_-r.js} +6 -4
  36. package/dist/cjs/button-C8EWG_-r.js.map +1 -0
  37. package/dist/cjs/{certification_request-DaJSDP3R.js → certification_request-DISQwgjn.js} +3358 -3191
  38. package/dist/cjs/certification_request-DISQwgjn.js.map +1 -0
  39. package/dist/cjs/{cross-pi7K0cHC.js → cross-3DqhA0G_.js} +3 -3
  40. package/dist/cjs/{cross-pi7K0cHC.js.map → cross-3DqhA0G_.js.map} +1 -1
  41. package/dist/cjs/{download-D9skkVoT.js → download-DQP0KR4o.js} +3 -3
  42. package/dist/cjs/{download-D9skkVoT.js.map → download-DQP0KR4o.js.map} +1 -1
  43. package/dist/cjs/extension-CGZpfI3W.js +110 -0
  44. package/dist/cjs/extension-CGZpfI3W.js.map +1 -0
  45. package/dist/cjs/{index-BO3rFndV.js → index-uHmGhObe.js} +430 -157
  46. package/dist/cjs/index-uHmGhObe.js.map +1 -0
  47. package/dist/cjs/index.cjs.js +9 -9
  48. package/dist/cjs/{link-kgbgxxVh.js → link-Cgh8wnbs.js} +4 -4
  49. package/dist/cjs/{link-kgbgxxVh.js.map → link-Cgh8wnbs.js.map} +1 -1
  50. package/dist/cjs/loader.cjs.js +3 -4
  51. package/dist/cjs/loader.cjs.js.map +1 -1
  52. package/dist/cjs/{miscellaneous-Ce9aGjKB.js → miscellaneous-D_RAtkZz.js} +82 -81
  53. package/dist/cjs/miscellaneous-D_RAtkZz.js.map +1 -0
  54. package/dist/cjs/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.cjs.js.map +1 -1
  55. package/dist/cjs/peculiar-attribute-certificate-viewer_4.cjs.entry.js +62 -13
  56. package/dist/cjs/peculiar-attribute-certificate-viewer_4.cjs.entry.js.map +1 -1
  57. package/dist/cjs/peculiar-button-menu_3.cjs.entry.js +3 -3
  58. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +7 -6
  59. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js.map +1 -1
  60. package/dist/cjs/peculiar-certificate-decoder.entry.cjs.js.map +1 -1
  61. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +9 -8
  62. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js.map +1 -1
  63. package/dist/cjs/peculiar-certificate-viewer.entry.cjs.js.map +1 -1
  64. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +8 -7
  65. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js.map +1 -1
  66. package/dist/cjs/peculiar-certificates-viewer.entry.cjs.js.map +1 -1
  67. package/dist/cjs/peculiar-text-hider.cjs.entry.js +3 -3
  68. package/dist/cjs/peculiar.cjs.js +4 -5
  69. package/dist/cjs/peculiar.cjs.js.map +1 -1
  70. package/dist/cjs/{pkcs10_certificate_request-D13Ssi7Z.js → pkcs10_certificate_request-BQkkkT42.js} +4 -8
  71. package/dist/cjs/pkcs10_certificate_request-BQkkkT42.js.map +1 -0
  72. package/dist/cjs/{x509_certificate-h5GZArG6.js → x509_certificate-DGRpZGA2.js} +5 -4
  73. package/dist/cjs/{x509_certificate-h5GZArG6.js.map → x509_certificate-DGRpZGA2.js.map} +1 -1
  74. package/dist/cjs/{x509_crl-CDPt6P1z.js → x509_crl-DMvJk_81.js} +8 -7
  75. package/dist/cjs/{x509_crl-CDPt6P1z.js.map → x509_crl-DMvJk_81.js.map} +1 -1
  76. package/dist/collection/collection-manifest.json +1 -1
  77. package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js +7 -7
  78. package/dist/collection/components/button-menu/button-menu.js +1 -0
  79. package/dist/collection/components/button-menu/button-menu.js.map +1 -1
  80. package/dist/collection/components/certificate-chain-viewer/certificate-chain-viewer.css +3 -0
  81. package/dist/collection/components/certificate-chain-viewer/certificate-chain-viewer.js +2 -1
  82. package/dist/collection/components/certificate-chain-viewer/certificate-chain-viewer.js.map +1 -1
  83. package/dist/collection/components/certificate-decoder/certificate-decoder.js +2 -1
  84. package/dist/collection/components/certificate-decoder/certificate-decoder.js.map +1 -1
  85. package/dist/collection/components/certificate-details-parts/attributes/extension_request_attribute.js +25 -0
  86. package/dist/collection/components/certificate-details-parts/attributes/extension_request_attribute.js.map +1 -0
  87. package/dist/collection/components/certificate-details-parts/attributes/index.js +10 -1
  88. package/dist/collection/components/certificate-details-parts/attributes/index.js.map +1 -1
  89. package/dist/collection/components/certificate-details-parts/attributes/private_key_possession_statement_attribute.js +27 -0
  90. package/dist/collection/components/certificate-details-parts/attributes/private_key_possession_statement_attribute.js.map +1 -0
  91. package/dist/collection/components/certificate-viewer/certificate-viewer.css +3 -0
  92. package/dist/collection/components/certificate-viewer/certificate-viewer.js +8 -8
  93. package/dist/collection/components/certificates-viewer/certificates-viewer.js +4 -3
  94. package/dist/collection/components/certificates-viewer/certificates-viewer.js.map +1 -1
  95. package/dist/collection/components/circular-progress/circular-progress.js +2 -2
  96. package/dist/collection/components/crl-viewer/crl-viewer.js +6 -6
  97. package/dist/collection/components/csr-viewer/csr-viewer.js +7 -7
  98. package/dist/collection/components/csr-viewer/csr-viewer.js.map +1 -1
  99. package/dist/collection/components/highlight-words/highlight-words.js +1 -1
  100. package/dist/collection/components/typography/typography.js +1 -1
  101. package/dist/collection/components/typography/typography.js.map +1 -1
  102. package/dist/collection/constants/oids.js +2 -0
  103. package/dist/collection/constants/oids.js.map +1 -1
  104. package/dist/collection/crypto/attribute.js +2 -0
  105. package/dist/collection/crypto/attribute.js.map +1 -1
  106. package/dist/collection/crypto/pkcs10_certificate_request.js +0 -7
  107. package/dist/collection/crypto/pkcs10_certificate_request.js.map +1 -1
  108. package/dist/esm/{actions-DzoPRObK.js → actions-BOY2Tl0T.js} +3 -3
  109. package/dist/esm/{actions-DzoPRObK.js.map → actions-BOY2Tl0T.js.map} +1 -1
  110. package/dist/esm/{arrow_top-CF9pv-tQ.js → arrow_top-DL0RWe4n.js} +3 -3
  111. package/dist/{esm-es5/arrow_top-CF9pv-tQ.js.map → esm/arrow_top-DL0RWe4n.js.map} +1 -1
  112. package/dist/esm/{button-Do0R_8PZ.js → button-Bbh7MwG6.js} +6 -4
  113. package/dist/esm/button-Bbh7MwG6.js.map +1 -0
  114. package/dist/esm/{certification_request-DazysL_f.js → certification_request-CSS3OhZq.js} +3307 -3180
  115. package/dist/esm/certification_request-CSS3OhZq.js.map +1 -0
  116. package/dist/esm/{cross-DdCuR1F2.js → cross-G84H_-QL.js} +3 -3
  117. package/dist/{esm-es5/cross-DdCuR1F2.js.map → esm/cross-G84H_-QL.js.map} +1 -1
  118. package/dist/esm/{download-Cqfc-Sxf.js → download-ykcxSgxU.js} +3 -3
  119. package/dist/esm/{download-Cqfc-Sxf.js.map → download-ykcxSgxU.js.map} +1 -1
  120. package/dist/esm/extension-CUOKUt7o.js +107 -0
  121. package/dist/esm/extension-CUOKUt7o.js.map +1 -0
  122. package/dist/esm/{index-DDDrq3In.js → index-CwgZaF40.js} +430 -158
  123. package/dist/esm/index-CwgZaF40.js.map +1 -0
  124. package/dist/esm/index.js +9 -9
  125. package/dist/esm/{link-qg3yKAoS.js → link-CGURvKy1.js} +4 -4
  126. package/dist/esm/{link-qg3yKAoS.js.map → link-CGURvKy1.js.map} +1 -1
  127. package/dist/esm/loader.js +3 -4
  128. package/dist/esm/loader.js.map +1 -1
  129. package/dist/esm/{miscellaneous-BJPX0Hs_.js → miscellaneous-DVlekgVM.js} +8 -7
  130. package/dist/esm/miscellaneous-DVlekgVM.js.map +1 -0
  131. package/dist/esm/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.js.map +1 -1
  132. package/dist/esm/peculiar-attribute-certificate-viewer_4.entry.js +62 -13
  133. package/dist/esm/peculiar-attribute-certificate-viewer_4.entry.js.map +1 -1
  134. package/dist/esm/peculiar-button-menu_3.entry.js +3 -3
  135. package/dist/esm/peculiar-certificate-decoder.entry.js +7 -6
  136. package/dist/esm/peculiar-certificate-decoder.entry.js.map +1 -1
  137. package/dist/esm/peculiar-certificate-viewer.entry.js +9 -8
  138. package/dist/esm/peculiar-certificate-viewer.entry.js.map +1 -1
  139. package/dist/esm/peculiar-certificates-viewer.entry.js +8 -7
  140. package/dist/esm/peculiar-certificates-viewer.entry.js.map +1 -1
  141. package/dist/esm/peculiar-text-hider.entry.js +3 -3
  142. package/dist/esm/peculiar.js +4 -5
  143. package/dist/esm/peculiar.js.map +1 -1
  144. package/dist/esm/{pkcs10_certificate_request-SQcYKma2.js → pkcs10_certificate_request-B9Q42jiE.js} +4 -8
  145. package/dist/esm/pkcs10_certificate_request-B9Q42jiE.js.map +1 -0
  146. package/dist/esm/{x509_certificate-Dmgw53TR.js → x509_certificate-fWXLCtc8.js} +4 -3
  147. package/dist/{esm-es5/x509_certificate-Dmgw53TR.js.map → esm/x509_certificate-fWXLCtc8.js.map} +1 -1
  148. package/dist/esm/{x509_crl-B5TRu79b.js → x509_crl-Dq33Vv-q.js} +5 -4
  149. package/dist/{esm-es5/x509_crl-B5TRu79b.js.map → esm/x509_crl-Dq33Vv-q.js.map} +1 -1
  150. package/dist/esm-es5/{actions-DzoPRObK.js → actions-BOY2Tl0T.js} +2 -2
  151. package/dist/esm-es5/{actions-DzoPRObK.js.map → actions-BOY2Tl0T.js.map} +1 -1
  152. package/dist/esm-es5/{arrow_top-CF9pv-tQ.js → arrow_top-DL0RWe4n.js} +2 -2
  153. package/dist/{esm/arrow_top-CF9pv-tQ.js.map → esm-es5/arrow_top-DL0RWe4n.js.map} +1 -1
  154. package/dist/esm-es5/button-Bbh7MwG6.js +19 -0
  155. package/dist/esm-es5/button-Bbh7MwG6.js.map +1 -0
  156. package/dist/esm-es5/certification_request-CSS3OhZq.js +135 -0
  157. package/dist/esm-es5/certification_request-CSS3OhZq.js.map +1 -0
  158. package/dist/esm-es5/{cross-DdCuR1F2.js → cross-G84H_-QL.js} +2 -2
  159. package/dist/{esm/cross-DdCuR1F2.js.map → esm-es5/cross-G84H_-QL.js.map} +1 -1
  160. package/dist/esm-es5/{download-Cqfc-Sxf.js → download-ykcxSgxU.js} +2 -2
  161. package/dist/esm-es5/{download-Cqfc-Sxf.js.map → download-ykcxSgxU.js.map} +1 -1
  162. package/dist/esm-es5/extension-CUOKUt7o.js +12 -0
  163. package/dist/esm-es5/extension-CUOKUt7o.js.map +1 -0
  164. package/dist/esm-es5/index-CwgZaF40.js +6 -0
  165. package/dist/esm-es5/index-CwgZaF40.js.map +1 -0
  166. package/dist/esm-es5/index.js +1 -1
  167. package/dist/esm-es5/{link-qg3yKAoS.js → link-CGURvKy1.js} +3 -3
  168. package/dist/esm-es5/{link-qg3yKAoS.js.map → link-CGURvKy1.js.map} +1 -1
  169. package/dist/esm-es5/loader.js +2 -2
  170. package/dist/esm-es5/loader.js.map +1 -1
  171. package/dist/esm-es5/{miscellaneous-BJPX0Hs_.js → miscellaneous-DVlekgVM.js} +2 -2
  172. package/dist/esm-es5/miscellaneous-DVlekgVM.js.map +1 -0
  173. package/dist/esm-es5/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.js.map +1 -1
  174. package/dist/esm-es5/peculiar-attribute-certificate-viewer_4.entry.js +17 -3
  175. package/dist/esm-es5/peculiar-attribute-certificate-viewer_4.entry.js.map +1 -1
  176. package/dist/esm-es5/peculiar-button-menu_3.entry.js +1 -1
  177. package/dist/esm-es5/peculiar-certificate-decoder.entry.js +1 -1
  178. package/dist/esm-es5/peculiar-certificate-decoder.entry.js.map +1 -1
  179. package/dist/esm-es5/peculiar-certificate-viewer.entry.js +1 -1
  180. package/dist/esm-es5/peculiar-certificate-viewer.entry.js.map +1 -1
  181. package/dist/esm-es5/peculiar-certificates-viewer.entry.js +1 -1
  182. package/dist/esm-es5/peculiar-certificates-viewer.entry.js.map +1 -1
  183. package/dist/esm-es5/peculiar-text-hider.entry.js +1 -1
  184. package/dist/esm-es5/peculiar.js +2 -2
  185. package/dist/esm-es5/peculiar.js.map +1 -1
  186. package/dist/esm-es5/pkcs10_certificate_request-B9Q42jiE.js +19 -0
  187. package/dist/esm-es5/pkcs10_certificate_request-B9Q42jiE.js.map +1 -0
  188. package/dist/esm-es5/{x509_certificate-Dmgw53TR.js → x509_certificate-fWXLCtc8.js} +4 -4
  189. package/dist/{esm/x509_certificate-Dmgw53TR.js.map → esm-es5/x509_certificate-fWXLCtc8.js.map} +1 -1
  190. package/dist/esm-es5/{x509_crl-B5TRu79b.js → x509_crl-Dq33Vv-q.js} +4 -4
  191. package/dist/{esm/x509_crl-B5TRu79b.js.map → esm-es5/x509_crl-Dq33Vv-q.js.map} +1 -1
  192. package/dist/peculiar/index.esm.js +1 -1
  193. package/dist/peculiar/loader.esm.js.map +1 -1
  194. package/dist/peculiar/p-17ebc78c.system.entry.js +5 -0
  195. package/dist/peculiar/p-17ebc78c.system.entry.js.map +1 -0
  196. package/dist/peculiar/{p-7b0e7f43.entry.js → p-27ae6a3a.entry.js} +2 -2
  197. package/dist/peculiar/{p-5b843427.entry.js → p-4cc72a56.entry.js} +2 -2
  198. package/dist/peculiar/{p-a3c0f753.system.entry.js → p-607d08e8.system.entry.js} +2 -2
  199. package/dist/peculiar/p-7fTYvx_V.system.js +19 -0
  200. package/dist/peculiar/p-7fTYvx_V.system.js.map +1 -0
  201. package/dist/peculiar/{p-15c2b820.entry.js → p-9d9f24bd.entry.js} +2 -2
  202. package/dist/peculiar/{p-Cm-ylIxb.system.js → p-B4PdAFCr.system.js} +4 -4
  203. package/dist/peculiar/p-B4PdAFCr.system.js.map +1 -0
  204. package/dist/peculiar/p-BGASC3UX.system.js +5 -0
  205. package/dist/peculiar/p-BGASC3UX.system.js.map +1 -0
  206. package/dist/peculiar/{p-0HZUc9Ix.js → p-BG_D4qzJ.js} +3 -3
  207. package/dist/peculiar/{p-0HZUc9Ix.js.map → p-BG_D4qzJ.js.map} +1 -1
  208. package/dist/peculiar/{p-YHrZ3f_s.system.js → p-BTn-wukS.system.js} +2 -2
  209. package/dist/peculiar/p-BTn-wukS.system.js.map +1 -0
  210. package/dist/peculiar/{p-B2YrZuK2.system.js → p-Bi5mjeeg.system.js} +2 -2
  211. package/dist/peculiar/{p-B2YrZuK2.system.js.map → p-Bi5mjeeg.system.js.map} +1 -1
  212. package/dist/peculiar/{p-wYK0iVYg.system.js → p-Bknpl7EO.system.js} +3 -3
  213. package/dist/peculiar/{p-wYK0iVYg.system.js.map → p-Bknpl7EO.system.js.map} +1 -1
  214. package/dist/peculiar/{p-BcFnjn1R.system.js.map → p-Bsy7Sqzl.system.js.map} +1 -1
  215. package/dist/peculiar/{p-BKKflyKt.system.js → p-CEzxVCEh.system.js} +4 -4
  216. package/dist/peculiar/{p-BKKflyKt.system.js.map → p-CEzxVCEh.system.js.map} +1 -1
  217. package/dist/peculiar/{p-DhdG07f8.js → p-CHnDlTqM.js} +2 -2
  218. package/dist/peculiar/{p-DhdG07f8.js.map → p-CHnDlTqM.js.map} +1 -1
  219. package/dist/peculiar/p-CSS3OhZq.js +135 -0
  220. package/dist/peculiar/p-CSS3OhZq.js.map +1 -0
  221. package/dist/peculiar/p-CZuaTO2G.js +12 -0
  222. package/dist/peculiar/p-CZuaTO2G.js.map +1 -0
  223. package/dist/peculiar/{p-BA8os2l6.system.js.map → p-CbJQZ9Hh.system.js.map} +1 -1
  224. package/dist/peculiar/{p-BBgwMHRZ.system.js → p-CdS84qJs.system.js} +5 -5
  225. package/dist/peculiar/{p-BBgwMHRZ.system.js.map → p-CdS84qJs.system.js.map} +1 -1
  226. package/dist/peculiar/p-CgCUixvk.system.js +12 -0
  227. package/dist/peculiar/p-CgCUixvk.system.js.map +1 -0
  228. package/dist/peculiar/p-CoPYW15U.js +19 -0
  229. package/dist/peculiar/p-CoPYW15U.js.map +1 -0
  230. package/dist/peculiar/{p-CkwiD_ia.js → p-CutTi-2B.js} +4 -4
  231. package/dist/peculiar/p-CutTi-2B.js.map +1 -0
  232. package/dist/peculiar/p-CwgZaF40.js +6 -0
  233. package/dist/peculiar/p-CwgZaF40.js.map +1 -0
  234. package/dist/peculiar/p-D8TC0Na9.system.js.map +1 -0
  235. package/dist/peculiar/{p-BP2bmYR2.system.js → p-D8xU284r.system.js} +3 -3
  236. package/dist/peculiar/{p-BP2bmYR2.system.js.map → p-D8xU284r.system.js.map} +1 -1
  237. package/dist/peculiar/p-DKl0YViA.system.js +6 -0
  238. package/dist/peculiar/p-DKl0YViA.system.js.map +1 -0
  239. package/dist/peculiar/p-DKooqn40.js +369 -0
  240. package/dist/peculiar/p-DKooqn40.js.map +1 -0
  241. package/dist/peculiar/p-DLsQGkmT.system.js.map +1 -0
  242. package/dist/peculiar/{p-CEHpBNWe.js → p-DMZr5ztF.js} +3 -3
  243. package/dist/peculiar/{p-CEHpBNWe.js.map → p-DMZr5ztF.js.map} +1 -1
  244. package/dist/peculiar/{p-DRoyzOgk.system.js → p-DTz3NA_M.system.js} +3 -3
  245. package/dist/peculiar/{p-DRoyzOgk.system.js.map → p-DTz3NA_M.system.js.map} +1 -1
  246. package/dist/peculiar/p-D_WeukQa.system.js +135 -0
  247. package/dist/peculiar/p-D_WeukQa.system.js.map +1 -0
  248. package/dist/peculiar/{p-DkAhB3Vy.js → p-DanjeXNk.js} +2 -2
  249. package/dist/peculiar/{p-DkAhB3Vy.js.map → p-DanjeXNk.js.map} +1 -1
  250. package/dist/peculiar/{p-BmIps4bV.system.js → p-DcTXA-2R.system.js} +43 -43
  251. package/dist/peculiar/p-DcTXA-2R.system.js.map +1 -0
  252. package/dist/peculiar/{p-BHBizfwo.js → p-JyD6URnB.js} +3 -3
  253. package/dist/peculiar/{p-BHBizfwo.js.map → p-JyD6URnB.js.map} +1 -1
  254. package/dist/peculiar/{p-D13P_msn.system.js.map → p-N3w4Sc5c.system.js.map} +1 -1
  255. package/dist/peculiar/{p-BOSH9vjy.system.js → p-NnCM1ETy.system.js} +3 -3
  256. package/dist/peculiar/{p-BOSH9vjy.system.js.map → p-NnCM1ETy.system.js.map} +1 -1
  257. package/dist/peculiar/{p-CeKqQ13Z.js → p-ZT6tVIen.js} +4 -4
  258. package/dist/peculiar/{p-CeKqQ13Z.js.map → p-ZT6tVIen.js.map} +1 -1
  259. package/dist/peculiar/{p-44648a8e.system.entry.js → p-a193f8fd.system.entry.js} +2 -2
  260. package/dist/peculiar/p-a4e74904.entry.js +124 -0
  261. package/dist/peculiar/p-a4e74904.entry.js.map +1 -0
  262. package/dist/peculiar/p-ce006f1c.system.entry.js +5 -0
  263. package/dist/peculiar/p-ce006f1c.system.entry.js.map +1 -0
  264. package/dist/peculiar/{p-d16ddef8.system.entry.js → p-de857304.system.entry.js} +2 -2
  265. package/dist/peculiar/p-e3967e76.entry.js +5 -0
  266. package/dist/peculiar/p-e3967e76.entry.js.map +1 -0
  267. package/dist/peculiar/p-e7c60082.system.entry.js +125 -0
  268. package/dist/peculiar/p-e7c60082.system.entry.js.map +1 -0
  269. package/dist/peculiar/{p--Pej0I-A.system.js.map → p-eziSY5IJ.system.js.map} +1 -1
  270. package/dist/peculiar/p-f465afe6.entry.js +5 -0
  271. package/dist/peculiar/p-f465afe6.entry.js.map +1 -0
  272. package/dist/peculiar/p-tBL0ekYY.system.js.map +1 -0
  273. package/dist/peculiar/{p-3zhoLQno.js → p-tl0v45Y7.js} +4 -4
  274. package/dist/peculiar/{p-3zhoLQno.js.map → p-tl0v45Y7.js.map} +1 -1
  275. package/dist/peculiar/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.esm.js.map +1 -1
  276. package/dist/peculiar/peculiar-certificate-decoder.entry.esm.js.map +1 -1
  277. package/dist/peculiar/peculiar-certificate-viewer.entry.esm.js.map +1 -1
  278. package/dist/peculiar/peculiar-certificates-viewer.entry.esm.js.map +1 -1
  279. package/dist/peculiar/peculiar.esm.js +1 -1
  280. package/dist/peculiar/peculiar.esm.js.map +1 -1
  281. package/dist/peculiar/peculiar.js +1 -1
  282. package/dist/types/components/certificate-details-parts/attributes/extension_request_attribute.d.ts +15 -0
  283. package/dist/types/components/certificate-details-parts/attributes/private_key_possession_statement_attribute.d.ts +15 -0
  284. package/dist/types/components/typography/typography.d.ts +2 -1
  285. package/dist/types/components.d.ts +26 -0
  286. package/dist/types/constants/oids.d.ts +2 -0
  287. package/dist/types/crypto/attribute.d.ts +2 -0
  288. package/dist/types/crypto/pkcs10_certificate_request.d.ts +0 -2
  289. package/dist/types/stencil-public-runtime.d.ts +34 -6
  290. package/hydrate/index.d.ts +38 -24
  291. package/hydrate/index.js +4331 -3299
  292. package/hydrate/index.mjs +4330 -3300
  293. package/package.json +33 -33
  294. package/dist/cjs/app-globals-BOZYdIuK.js +0 -11
  295. package/dist/cjs/app-globals-BOZYdIuK.js.map +0 -1
  296. package/dist/cjs/button-B0CduHSE.js.map +0 -1
  297. package/dist/cjs/certification_request-DaJSDP3R.js.map +0 -1
  298. package/dist/cjs/index-BO3rFndV.js.map +0 -1
  299. package/dist/cjs/miscellaneous-Ce9aGjKB.js.map +0 -1
  300. package/dist/cjs/pkcs10_certificate_request-D13Ssi7Z.js.map +0 -1
  301. package/dist/esm/app-globals-zVR349KA.js +0 -9
  302. package/dist/esm/app-globals-zVR349KA.js.map +0 -1
  303. package/dist/esm/button-Do0R_8PZ.js.map +0 -1
  304. package/dist/esm/certification_request-DazysL_f.js.map +0 -1
  305. package/dist/esm/index-DDDrq3In.js.map +0 -1
  306. package/dist/esm/miscellaneous-BJPX0Hs_.js.map +0 -1
  307. package/dist/esm/pkcs10_certificate_request-SQcYKma2.js.map +0 -1
  308. package/dist/esm-es5/app-globals-zVR349KA.js +0 -5
  309. package/dist/esm-es5/app-globals-zVR349KA.js.map +0 -1
  310. package/dist/esm-es5/button-Do0R_8PZ.js +0 -19
  311. package/dist/esm-es5/button-Do0R_8PZ.js.map +0 -1
  312. package/dist/esm-es5/certification_request-DazysL_f.js +0 -142
  313. package/dist/esm-es5/certification_request-DazysL_f.js.map +0 -1
  314. package/dist/esm-es5/index-DDDrq3In.js +0 -6
  315. package/dist/esm-es5/index-DDDrq3In.js.map +0 -1
  316. package/dist/esm-es5/miscellaneous-BJPX0Hs_.js.map +0 -1
  317. package/dist/esm-es5/pkcs10_certificate_request-SQcYKma2.js +0 -19
  318. package/dist/esm-es5/pkcs10_certificate_request-SQcYKma2.js.map +0 -1
  319. package/dist/peculiar/p-16aa5600.system.entry.js +0 -5
  320. package/dist/peculiar/p-16aa5600.system.entry.js.map +0 -1
  321. package/dist/peculiar/p-1cbb0d6b.entry.js +0 -110
  322. package/dist/peculiar/p-1cbb0d6b.entry.js.map +0 -1
  323. package/dist/peculiar/p-218364f2.entry.js +0 -5
  324. package/dist/peculiar/p-218364f2.entry.js.map +0 -1
  325. package/dist/peculiar/p-52444a44.system.entry.js +0 -5
  326. package/dist/peculiar/p-52444a44.system.entry.js.map +0 -1
  327. package/dist/peculiar/p-BAB4EyrL.system.js.map +0 -1
  328. package/dist/peculiar/p-BBZwtkNN.system.js +0 -19
  329. package/dist/peculiar/p-BBZwtkNN.system.js.map +0 -1
  330. package/dist/peculiar/p-BFenL1ap.system.js +0 -6
  331. package/dist/peculiar/p-BFenL1ap.system.js.map +0 -1
  332. package/dist/peculiar/p-BmIps4bV.system.js.map +0 -1
  333. package/dist/peculiar/p-CDh6shXP.system.js +0 -142
  334. package/dist/peculiar/p-CDh6shXP.system.js.map +0 -1
  335. package/dist/peculiar/p-CJro0Exb.js +0 -369
  336. package/dist/peculiar/p-CJro0Exb.js.map +0 -1
  337. package/dist/peculiar/p-CWs-Ocvt.system.js.map +0 -1
  338. package/dist/peculiar/p-CkwiD_ia.js.map +0 -1
  339. package/dist/peculiar/p-Cm-ylIxb.system.js.map +0 -1
  340. package/dist/peculiar/p-CwlxH4oM.system.js +0 -5
  341. package/dist/peculiar/p-CwlxH4oM.system.js.map +0 -1
  342. package/dist/peculiar/p-D5BWI7FK.system.js +0 -5
  343. package/dist/peculiar/p-D5BWI7FK.system.js.map +0 -1
  344. package/dist/peculiar/p-DDDrq3In.js +0 -6
  345. package/dist/peculiar/p-DDDrq3In.js.map +0 -1
  346. package/dist/peculiar/p-DJRm54BZ.system.js.map +0 -1
  347. package/dist/peculiar/p-DazysL_f.js +0 -142
  348. package/dist/peculiar/p-DazysL_f.js.map +0 -1
  349. package/dist/peculiar/p-DzItK48Y.js +0 -19
  350. package/dist/peculiar/p-DzItK48Y.js.map +0 -1
  351. package/dist/peculiar/p-YHrZ3f_s.system.js.map +0 -1
  352. package/dist/peculiar/p-ab6a8a44.entry.js +0 -5
  353. package/dist/peculiar/p-ab6a8a44.entry.js.map +0 -1
  354. package/dist/peculiar/p-d9013293.system.entry.js +0 -111
  355. package/dist/peculiar/p-d9013293.system.entry.js.map +0 -1
  356. package/dist/peculiar/p-zVR349KA.js +0 -5
  357. package/dist/peculiar/p-zVR349KA.js.map +0 -1
  358. /package/dist/peculiar/{p-7b0e7f43.entry.js.map → p-27ae6a3a.entry.js.map} +0 -0
  359. /package/dist/peculiar/{p-5b843427.entry.js.map → p-4cc72a56.entry.js.map} +0 -0
  360. /package/dist/peculiar/{p-a3c0f753.system.entry.js.map → p-607d08e8.system.entry.js.map} +0 -0
  361. /package/dist/peculiar/{p-15c2b820.entry.js.map → p-9d9f24bd.entry.js.map} +0 -0
  362. /package/dist/peculiar/{p-44648a8e.system.entry.js.map → p-a193f8fd.system.entry.js.map} +0 -0
  363. /package/dist/peculiar/{p-d16ddef8.system.entry.js.map → p-de857304.system.entry.js.map} +0 -0
@@ -0,0 +1,12 @@
1
+ /*!
2
+ * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
+ */
4
+ import{a0 as a,a1 as s,a2 as t,A as e,a3 as n,q as r,a4 as o,a5 as i,a6 as b,a7 as c,a8 as h,a9 as u,aa as p,ab as l,ac as x,ad as d,ae as f,af as S,ag as m,ah as w,ai as A,aj as E,ak as g,al as q,am as C,an as N,ao as O,ap as $,aq as j,ar as y,as as D,at as J,au as V,av as Z,aw as k,ax as v,ay as z,az as B,aA as F,aB as G,aC as H,aD as I,aE as K,aF as L,aG as M,b as P,aH as Q,aI as R,aJ as T,aK as U,aL as W,aM as X,aN as Y,aO as _,aP as aa,aQ as sa,aR as ta,aS as ea,aT as na,aU as ra,aV as oa,aW as ia,aX as ba,aY as ca,aZ as ha,a_ as ua,a$ as pa,b0 as la,b1 as xa,b2 as da,b3 as fa,b4 as Sa,b5 as ma,b6 as wa,b7 as Aa,b8 as Ea,b9 as ga,ba as qa,bb as Ca,bc as Na,bd as Oa,be as $a,bf as ja,bg as ya}from"./p-CSS3OhZq.js";const Da="1.3.6.1.4.1.11129.2.4.2";class Ja extends a{constructor(){super(...arguments);this.items=[]}fromASN(a){super.fromASN(a);const e=new s(this.buffer);const n=e.readNumber(2);this.items=[];while(e.position<n){this.items.push(new t(e))}return this}toJSON(){return this.items.map((a=>a.toJSON()))}}const Va="1.3.6.1.5.5.7.1.12";
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
+ */const Za={[ya]:M,[ja]:L,[$a]:K,[Oa]:I,[Na]:H,[Ca]:G,"2.5.29.46":G,[qa]:F,[ga]:B,[Ea]:z,[Aa]:v,[wa]:k,[ma]:Z,[Sa]:V,[fa]:J,[da]:D,[xa]:y,[la]:j,[pa]:$,[ua]:O,[ha]:N,[ca]:C,[ba]:q,[ia]:g,[oa]:E,[ra]:A,[Da]:Ja,[na]:w,[ea]:m,[ta]:S,[sa]:f,[aa]:d,[_]:x,"2.16.724.1.2.2.4.1":l,[Y]:l,[Va]:p,[X]:u,[W]:h,[U]:c,[T]:b,[R]:i,[Q]:o};class ka extends e{getAsnExtnValue(){return this.asn.extnValue.buffer}constructor(a){super(a,n);const s=this.getAsnExtnValue();try{const a=Za[this.asn.extnID];if(a){this.value=r.parse(s,a)}else{console.warn(`Didn't detect parser for "${this.asn.extnID}" extension.`);this.value=P.Convert.ToHex(s)}}catch(a){console.error(`Error parse "${this.asn.extnID}" extension:`,a.message);this.value=P.Convert.ToHex(s)}}}export{Ja as C,ka as E};
12
+ //# sourceMappingURL=p-CZuaTO2G.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-CZuaTO2G.js","sources":["../../node_modules/.pnpm/@peculiar+asn1-cert-transparency@2.4.0/node_modules/@peculiar/asn1-cert-transparency/build/es2015/cert_transparency.js","../../node_modules/.pnpm/@peculiar+asn1-x509-logotype@2.4.0/node_modules/@peculiar/asn1-x509-logotype/build/es2015/object_identifiers.js","src/crypto/extension.ts"],"sourcesContent":["import { OctetString } from \"@peculiar/asn1-schema\";\nimport { SignedCertificateTimestamp } from \"./timestamp\";\nimport { ByteStream } from \"./byte_stream\";\nexport const id_certificateTransparency = \"1.3.6.1.4.1.11129.2.4.2\";\nexport class CertificateTransparency extends OctetString {\n constructor() {\n super(...arguments);\n this.items = [];\n }\n fromASN(asn) {\n super.fromASN(asn);\n const stream = new ByteStream(this.buffer);\n const len = stream.readNumber(2);\n this.items = [];\n while (stream.position < len) {\n this.items.push(new SignedCertificateTimestamp(stream));\n }\n return this;\n }\n toJSON() {\n return this.items.map((o) => o.toJSON());\n }\n}\n","import { id_pkix } from \"@peculiar/asn1-x509\";\nexport const id_pe_logotype = \"1.3.6.1.5.5.7.1.12\";\nexport const id_logo = `${id_pkix}.20`;\nexport const id_logo_loyalty = `${id_logo}.1`;\nexport const id_logo_background = `${id_logo}.2`;\nexport const id_logo_certImage = `${id_logo}.3`;\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 { Convert } from 'pvtsutils';\nimport {\n Extension as AsnExtension,\n\n id_pe_authorityInfoAccess,\n AuthorityInfoAccessSyntax,\n\n id_ce_authorityKeyIdentifier,\n AuthorityKeyIdentifier,\n\n id_ce_basicConstraints,\n BasicConstraints,\n\n id_ce_certificateIssuer,\n CertificateIssuer,\n\n id_ce_certificatePolicies,\n CertificatePolicies,\n\n id_ce_cRLDistributionPoints,\n CRLDistributionPoints,\n\n id_ce_issuingDistributionPoint,\n IssuingDistributionPoint,\n\n id_ce_cRLReasons,\n CRLReason,\n\n id_ce_extKeyUsage,\n ExtendedKeyUsage,\n\n id_ce_inhibitAnyPolicy,\n InhibitAnyPolicy,\n\n id_ce_invalidityDate,\n InvalidityDate,\n\n id_ce_issuerAltName,\n IssueAlternativeName,\n\n id_ce_keyUsage,\n KeyUsage,\n\n id_ce_nameConstraints,\n NameConstraints,\n\n id_ce_policyConstraints,\n PolicyConstraints,\n\n id_ce_policyMappings,\n PolicyMappings,\n\n id_ce_subjectAltName,\n SubjectAlternativeName,\n\n id_ce_subjectDirectoryAttributes,\n SubjectDirectoryAttributes,\n\n id_ce_subjectKeyIdentifier,\n SubjectKeyIdentifier,\n\n id_ce_privateKeyUsagePeriod,\n PrivateKeyUsagePeriod,\n\n id_entrust_entrustVersInfo,\n EntrustVersionInfo,\n\n id_pe_subjectInfoAccess,\n SubjectInfoAccessSyntax,\n\n id_ce_cRLNumber,\n CRLNumber,\n\n id_ce_deltaCRLIndicator,\n BaseCRLNumber,\n} from '@peculiar/asn1-x509';\nimport {\n id_pe_qcStatements,\n QCStatements,\n\n id_pe_biometricInfo,\n BiometricSyntax,\n} from '@peculiar/asn1-x509-qualified';\nimport {\n id_certificateTemplate,\n CertificateTemplate,\n\n id_enrollCertType,\n EnrollCertTypeChoice,\n\n id_caVersion,\n CaVersion,\n} from '@peculiar/asn1-x509-microsoft';\nimport {\n id_netscapeComment,\n NetscapeComment,\n\n id_netscapeCertType,\n NetscapeCertType,\n} from '@peculiar/asn1-x509-netscape';\nimport { AsnParser } from '@peculiar/asn1-schema';\nimport {\n id_lei,\n LeiChoice,\n\n id_role,\n LeiRole,\n} from '@peculiar/asn1-lei';\nimport {\n id_certificateTransparency,\n CertificateTransparency,\n} from '@peculiar/asn1-cert-transparency';\nimport {\n id_adbe_timestamp,\n Timestamp,\n\n id_adbe_archiveRevInfo,\n ArchiveRevInfo,\n} from '@peculiar/asn1-adobe-acrobat';\nimport {\n id_pe_logotype,\n LogotypeExtn,\n} from '@peculiar/asn1-x509-logotype';\nimport {\n id_pe_TNAuthList,\n TNAuthorizationList,\n} from '@peculiar/asn1-rfc8226';\nimport {\n id_ce_keyDescription,\n NonStandardKeyDescription,\n} from '@peculiar/asn1-android';\nimport {\n id_cabforganizationIdentifier,\n CabforganizationIdentifier,\n} from './extensions';\nimport { AsnData } from './asn_data';\n\nconst extensionParsers = {\n [id_pe_authorityInfoAccess]: AuthorityInfoAccessSyntax,\n [id_ce_authorityKeyIdentifier]: AuthorityKeyIdentifier,\n [id_ce_basicConstraints]: BasicConstraints,\n [id_ce_certificateIssuer]: CertificateIssuer,\n [id_ce_certificatePolicies]: CertificatePolicies,\n [id_ce_cRLDistributionPoints]: CRLDistributionPoints,\n '2.5.29.46': CRLDistributionPoints,\n [id_ce_issuingDistributionPoint]: IssuingDistributionPoint,\n [id_ce_cRLReasons]: CRLReason,\n [id_ce_extKeyUsage]: ExtendedKeyUsage,\n [id_ce_inhibitAnyPolicy]: InhibitAnyPolicy,\n [id_ce_invalidityDate]: InvalidityDate,\n [id_ce_issuerAltName]: IssueAlternativeName,\n [id_ce_keyUsage]: KeyUsage,\n [id_ce_nameConstraints]: NameConstraints,\n [id_ce_policyConstraints]: PolicyConstraints,\n [id_ce_policyMappings]: PolicyMappings,\n [id_ce_subjectAltName]: SubjectAlternativeName,\n [id_ce_subjectDirectoryAttributes]: SubjectDirectoryAttributes,\n [id_ce_subjectKeyIdentifier]: SubjectKeyIdentifier,\n [id_pe_qcStatements]: QCStatements,\n [id_certificateTemplate]: CertificateTemplate,\n [id_enrollCertType]: EnrollCertTypeChoice,\n [id_netscapeComment]: NetscapeComment,\n [id_netscapeCertType]: NetscapeCertType,\n [id_caVersion]: CaVersion,\n [id_certificateTransparency]: CertificateTransparency,\n [id_lei]: LeiChoice,\n [id_role]: LeiRole,\n [id_adbe_timestamp]: Timestamp,\n [id_adbe_archiveRevInfo]: ArchiveRevInfo,\n [id_ce_privateKeyUsagePeriod]: PrivateKeyUsagePeriod,\n [id_entrust_entrustVersInfo]: EntrustVersionInfo,\n '2.16.724.1.2.2.4.1': BiometricSyntax,\n [id_pe_biometricInfo]: BiometricSyntax,\n [id_pe_logotype]: LogotypeExtn,\n [id_pe_TNAuthList]: TNAuthorizationList,\n [id_pe_subjectInfoAccess]: SubjectInfoAccessSyntax,\n [id_ce_cRLNumber]: CRLNumber,\n [id_ce_deltaCRLIndicator]: BaseCRLNumber,\n [id_ce_keyDescription]: NonStandardKeyDescription,\n [id_cabforganizationIdentifier]: CabforganizationIdentifier,\n};\n\ntype TExtensionKeys = keyof typeof extensionParsers;\n\nexport type TExtensionValue = InstanceType<typeof extensionParsers[TExtensionKeys]> | string;\n\nexport class Extension<T extends TExtensionValue> extends AsnData<AsnExtension> {\n public readonly value: T;\n\n private getAsnExtnValue() {\n return this.asn.extnValue.buffer;\n }\n\n constructor(raw: BufferSource) {\n super(raw, AsnExtension);\n\n const asnExtnValue = this.getAsnExtnValue();\n\n try {\n const target = extensionParsers[this.asn.extnID];\n\n if (target) {\n this.value = AsnParser.parse<T>(asnExtnValue, target);\n } else {\n console.warn(`Didn't detect parser for \"${this.asn.extnID}\" extension.`);\n\n this.value = Convert.ToHex(asnExtnValue) as T;\n }\n } catch (error) {\n console.error(`Error parse \"${this.asn.extnID}\" extension:`, error.message);\n\n this.value = Convert.ToHex(asnExtnValue) as T;\n }\n }\n}\n"],"names":["AsnExtension","Convert"],"mappings":";;;;;AAGO,MAAM,0BAA0B,GAAG,yBAAyB;AAC5D,MAAM,uBAAuB,SAAS,WAAW,CAAC;AACzD,IAAI,WAAW,GAAG;AAClB,QAAQ,KAAK,CAAC,GAAG,SAAS,CAAC;AAC3B,QAAQ,IAAI,CAAC,KAAK,GAAG,EAAE;AACvB;AACA,IAAI,OAAO,CAAC,GAAG,EAAE;AACjB,QAAQ,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;AAC1B,QAAQ,MAAM,MAAM,GAAG,IAAI,UAAU,CAAC,IAAI,CAAC,M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,EAAA,IAAI,CAAC,GAAG,CAAC,MAAM,CAAc,YAAA,CAAA,CAAC;gBAExE,IAAI,CAAC,KAAK,GAAGC,oBAAO,CAAC,KAAK,CAAC,YAAY,CAAM;;;QAE/C,OAAO,KAAK,EAAE;AACd,YAAA,OAAO,CAAC,KAAK,CAAC,CAAA,aAAA,EAAgB,IAAI,CAAC,GAAG,CAAC,MAAM,cAAc,EAAE,KAAK,CAAC,OAAO,CAAC;YAE3E,IAAI,CAAC,KAAK,GAAGA,oBAAO,CAAC,KAAK,CAAC,YAAY,CAAM;;;AAGlD;;;;","x_google_ignoreList":[0,1]}
@@ -1 +1 @@
1
- {"version":3,"file":"p-BA8os2l6.system.js","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 = 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 startIcon={this.opened ? <ArrowTopIcon color=\"secondary\" /> : <ArrowBottomIcon color=\"secondary\" />}\n onClick={() => { this.opened = !this.opened; }}\n />\n </Host>\n );\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;MAAA,MAAM,YAAY,GAAG,oZAAoZ;;YCsB5Z,SAAS,kCAAA,MAAA;MALtB,IAAA,WAAA,CAAA,OAAA,EAAA;;MAMW,QAAA,IAAM,CAAA,MAAA,GAAG,KAAK;MAkBxB;UAhBC,MAAM,GAAA;cACJ,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,eAAA,EACY,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,EAAA,EAElC,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,SAAS,EAAA,EAClB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACJ,EACN,CAAC,CAAA,MAAM,qDACL,KAAK,EAAC,QAAQ,EACd,SAAS,EAAE,IAAI,CAAC,MAAM,GAAG,CAAC,CAAA,YAAY,EAAC,EAAA,KAAK,EAAC,WAAW,EAAA,CAAG,GAAG,CAAA,CAAC,eAAe,EAAC,EAAA,KAAK,EAAC,WAAW,EAAG,CAAA,EACnG,OAAO,EAAE,MAAK,EAAG,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,EAAA,CAC9C,CACG;;;;;;;;;;;"}
1
+ {"version":3,"file":"p-CbJQZ9Hh.system.js","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 = 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 startIcon={this.opened ? <ArrowTopIcon color=\"secondary\" /> : <ArrowBottomIcon color=\"secondary\" />}\n onClick={() => { this.opened = !this.opened; }}\n />\n </Host>\n );\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;MAAA,MAAM,YAAY,GAAG,oZAAoZ;;YCsB5Z,SAAS,kCAAA,MAAA;MALtB,IAAA,WAAA,CAAA,OAAA,EAAA;;MAMW,QAAA,IAAM,CAAA,MAAA,GAAG,KAAK;MAkBxB;UAhBC,MAAM,GAAA;cACJ,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,eAAA,EACY,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,EAAA,EAElC,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,SAAS,EAAA,EAClB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACJ,EACN,CAAC,CAAA,MAAM,qDACL,KAAK,EAAC,QAAQ,EACd,SAAS,EAAE,IAAI,CAAC,MAAM,GAAG,CAAC,CAAA,YAAY,EAAC,EAAA,KAAK,EAAC,WAAW,EAAA,CAAG,GAAG,CAAA,CAAC,eAAe,EAAC,EAAA,KAAK,EAAC,WAAW,EAAG,CAAA,EACnG,OAAO,EAAE,MAAK,EAAG,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,EAAA,CAC9C,CACG;;;;;;;;;;;"}
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
3
  */
4
- System.register(["./p-BFenL1ap.system.js"],(function(a){"use strict";var t;return{setters:[function(a){t=a.h}],execute:function(){
4
+ System.register(["./p-DKl0YViA.system.js"],(function(a){"use strict";var t;return{setters:[function(a){t=a.h}],execute:function(){
5
5
  /**
6
6
  * @license
7
7
  * Copyright (c) Peculiar Ventures, LLC.
@@ -9,19 +9,19 @@ System.register(["./p-BFenL1ap.system.js"],(function(a){"use strict";var t;retur
9
9
  * This source code is licensed under the MIT license found in the
10
10
  * LICENSE file in the root directory of this source tree.
11
11
  */
12
- var r=a("D",(function(a){var r=a.color,l=r===void 0?"secondary":r;return t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"31",fill:"none"},t("path",{fill:"var(--pv-color-".concat(l,")"),d:"M6.71 19.79a1 1 0 0 0-.33-.21 1 1 0 0 0-.76 0 1 1 0 0 0-.33.21 1 1 0 0 0-.21.33 1 1 0 0 0 .21 1.09c.097.088.209.16.33.21a.94.94 0 0 0 .76 0 1.15 1.15 0 0 0 .33-.21 1 1 0 0 0 .21-1.09 1 1 0 0 0-.21-.33ZM10 11.5h14a1 1 0 0 0 0-2H10a1 1 0 0 0 0 2Zm-3.29 3.29a1 1 0 0 0-1.09-.21 1.15 1.15 0 0 0-.33.21 1 1 0 0 0-.21.33.94.94 0 0 0 0 .76c.05.121.122.233.21.33.097.088.209.16.33.21a.94.94 0 0 0 .76 0 1.15 1.15 0 0 0 .33-.21 1.15 1.15 0 0 0 .21-.33.94.94 0 0 0 0-.76 1 1 0 0 0-.21-.33ZM24 14.5H10a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2ZM6.71 9.79a1 1 0 0 0-.33-.21 1 1 0 0 0-1.09.21 1.15 1.15 0 0 0-.21.33.94.94 0 0 0 0 .76c.05.121.122.233.21.33.097.088.209.16.33.21a1 1 0 0 0 1.09-.21 1.15 1.15 0 0 0 .21-.33.94.94 0 0 0 0-.76 1.15 1.15 0 0 0-.21-.33ZM24 19.5H10a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2Z"}))}));
12
+ var l=a("D",(function(a){var l=a.color,r=l===void 0?"secondary":l;return t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"31",fill:"none"},t("path",{fill:"var(--pv-color-".concat(r,")"),d:"M6.71 19.79a1 1 0 0 0-.33-.21 1 1 0 0 0-.76 0 1 1 0 0 0-.33.21 1 1 0 0 0-.21.33 1 1 0 0 0 .21 1.09c.097.088.209.16.33.21a.94.94 0 0 0 .76 0 1.15 1.15 0 0 0 .33-.21 1 1 0 0 0 .21-1.09 1 1 0 0 0-.21-.33ZM10 11.5h14a1 1 0 0 0 0-2H10a1 1 0 0 0 0 2Zm-3.29 3.29a1 1 0 0 0-1.09-.21 1.15 1.15 0 0 0-.33.21 1 1 0 0 0-.21.33.94.94 0 0 0 0 .76c.05.121.122.233.21.33.097.088.209.16.33.21a.94.94 0 0 0 .76 0 1.15 1.15 0 0 0 .33-.21 1.15 1.15 0 0 0 .21-.33.94.94 0 0 0 0-.76 1 1 0 0 0-.21-.33ZM24 14.5H10a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2ZM6.71 9.79a1 1 0 0 0-.33-.21 1 1 0 0 0-1.09.21 1.15 1.15 0 0 0-.21.33.94.94 0 0 0 0 .76c.05.121.122.233.21.33.097.088.209.16.33.21a1 1 0 0 0 1.09-.21 1.15 1.15 0 0 0 .21-.33.94.94 0 0 0 0-.76 1.15 1.15 0 0 0-.21-.33ZM24 19.5H10a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2Z"}))}));
13
13
  /**
14
14
  * @license
15
15
  * Copyright (c) Peculiar Ventures, LLC.
16
16
  *
17
17
  * This source code is licensed under the MIT license found in the
18
18
  * LICENSE file in the root directory of this source tree.
19
- */var l=a("L",(function(a){var r=a.color,l=r===void 0?"secondary":r;return t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"31",fill:"none"},t("path",{fill:"var(--pv-color-".concat(l,")"),d:"M21 14.32a1 1 0 0 0-1 1v7.18a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-11a1 1 0 0 1 1-1h7.18a1 1 0 0 0 0-2H8a3 3 0 0 0-3 3v11a3 3 0 0 0 3 3h11a3 3 0 0 0 3-3v-7.18a1 1 0 0 0-1-1Zm3.92-8.2a1 1 0 0 0-.54-.54A1 1 0 0 0 24 5.5h-6a1 1 0 1 0 0 2h3.59l-10.3 10.29a1.002 1.002 0 0 0 .325 1.639 1 1 0 0 0 1.095-.219L23 8.91v3.59a1 1 0 0 0 2 0v-6a1.001 1.001 0 0 0-.08-.38Z"}))}));
19
+ */var r=a("L",(function(a){var l=a.color,r=l===void 0?"secondary":l;return t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"31",fill:"none"},t("path",{fill:"var(--pv-color-".concat(r,")"),d:"M21 14.32a1 1 0 0 0-1 1v7.18a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-11a1 1 0 0 1 1-1h7.18a1 1 0 0 0 0-2H8a3 3 0 0 0-3 3v11a3 3 0 0 0 3 3h11a3 3 0 0 0 3-3v-7.18a1 1 0 0 0-1-1Zm3.92-8.2a1 1 0 0 0-.54-.54A1 1 0 0 0 24 5.5h-6a1 1 0 1 0 0 2h3.59l-10.3 10.29a1.002 1.002 0 0 0 .325 1.639 1 1 0 0 0 1.095-.219L23 8.91v3.59a1 1 0 0 0 2 0v-6a1.001 1.001 0 0 0-.08-.38Z"}))}));
20
20
  /**
21
21
  * @license
22
22
  * Copyright (c) Peculiar Ventures, LLC.
23
23
  *
24
24
  * This source code is licensed under the MIT license found in the
25
25
  * LICENSE file in the root directory of this source tree.
26
- */var n=a("C",(function(a){var r=a.color,l=r===void 0?"gray-9":r;return t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",fill:"none"},t("path",{fill:"var(--pv-color-".concat(l,")"),"fill-rule":"evenodd",d:"m16.37 15 5.442 5.44c.25.252.25.663 0 .914l-.459.457a.646.646 0 0 1-.913 0L15 16.371l-5.44 5.44a.648.648 0 0 1-.915 0l-.457-.457a.649.649 0 0 1 0-.913L13.63 15 8.188 9.56a.649.649 0 0 1 0-.914l.457-.457a.648.648 0 0 1 .915 0l5.44 5.44 5.44-5.44a.646.646 0 0 1 .913 0l.46.457c.25.25.25.662 0 .913L16.37 15Z","clip-rule":"evenodd"}))}))}}}));
27
- //# sourceMappingURL=p-BBgwMHRZ.system.js.map
26
+ */var v=a("C",(function(a){var l=a.color,r=l===void 0?"gray-9":l;return t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",fill:"none"},t("path",{fill:"var(--pv-color-".concat(r,")"),"fill-rule":"evenodd",d:"m16.37 15 5.442 5.44c.25.252.25.663 0 .914l-.459.457a.646.646 0 0 1-.913 0L15 16.371l-5.44 5.44a.648.648 0 0 1-.915 0l-.457-.457a.649.649 0 0 1 0-.913L13.63 15 8.188 9.56a.649.649 0 0 1 0-.914l.457-.457a.648.648 0 0 1 .915 0l5.44 5.44 5.44-5.44a.646.646 0 0 1 .913 0l.46.457c.25.25.25.662 0 .913L16.37 15Z","clip-rule":"evenodd"}))}))}}}));
27
+ //# sourceMappingURL=p-CdS84qJs.system.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"p-BBgwMHRZ.system.js","sources":["src/components/icons/details.tsx","src/components/icons/link.tsx","src/components/icons/cross.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { FunctionalComponent, h } from '@stencil/core';\nimport type { TColor } from '../../interface';\n\nexport const DetailsIcon: FunctionalComponent<{ color?: TColor }> = (props) => {\n const { color = 'secondary' } = props;\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"30\"\n height=\"31\"\n fill=\"none\"\n >\n <path\n fill={`var(--pv-color-${color})`}\n d=\"M6.71 19.79a1 1 0 0 0-.33-.21 1 1 0 0 0-.76 0 1 1 0 0 0-.33.21 1 1 0 0 0-.21.33 1 1 0 0 0 .21 1.09c.097.088.209.16.33.21a.94.94 0 0 0 .76 0 1.15 1.15 0 0 0 .33-.21 1 1 0 0 0 .21-1.09 1 1 0 0 0-.21-.33ZM10 11.5h14a1 1 0 0 0 0-2H10a1 1 0 0 0 0 2Zm-3.29 3.29a1 1 0 0 0-1.09-.21 1.15 1.15 0 0 0-.33.21 1 1 0 0 0-.21.33.94.94 0 0 0 0 .76c.05.121.122.233.21.33.097.088.209.16.33.21a.94.94 0 0 0 .76 0 1.15 1.15 0 0 0 .33-.21 1.15 1.15 0 0 0 .21-.33.94.94 0 0 0 0-.76 1 1 0 0 0-.21-.33ZM24 14.5H10a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2ZM6.71 9.79a1 1 0 0 0-.33-.21 1 1 0 0 0-1.09.21 1.15 1.15 0 0 0-.21.33.94.94 0 0 0 0 .76c.05.121.122.233.21.33.097.088.209.16.33.21a1 1 0 0 0 1.09-.21 1.15 1.15 0 0 0 .21-.33.94.94 0 0 0 0-.76 1.15 1.15 0 0 0-.21-.33ZM24 19.5H10a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2Z\"\n />\n </svg>\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 { FunctionalComponent, h } from '@stencil/core';\nimport type { TColor } from '../../interface';\n\nexport const LinkIcon: FunctionalComponent<{ color?: TColor }> = (props) => {\n const { color = 'secondary' } = props;\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"30\"\n height=\"31\"\n fill=\"none\"\n >\n <path\n fill={`var(--pv-color-${color})`}\n d=\"M21 14.32a1 1 0 0 0-1 1v7.18a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-11a1 1 0 0 1 1-1h7.18a1 1 0 0 0 0-2H8a3 3 0 0 0-3 3v11a3 3 0 0 0 3 3h11a3 3 0 0 0 3-3v-7.18a1 1 0 0 0-1-1Zm3.92-8.2a1 1 0 0 0-.54-.54A1 1 0 0 0 24 5.5h-6a1 1 0 1 0 0 2h3.59l-10.3 10.29a1.002 1.002 0 0 0 .325 1.639 1 1 0 0 0 1.095-.219L23 8.91v3.59a1 1 0 0 0 2 0v-6a1.001 1.001 0 0 0-.08-.38Z\"\n />\n </svg>\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 { FunctionalComponent, h } from '@stencil/core';\nimport type { TColor } from '../../interface';\n\nexport const CrossIcon: FunctionalComponent<{ color?: TColor }> = (props) => {\n const { color = 'gray-9' } = props;\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"30\"\n height=\"30\"\n fill=\"none\"\n >\n <path\n fill={`var(--pv-color-${color})`}\n fill-rule=\"evenodd\"\n d=\"m16.37 15 5.442 5.44c.25.252.25.663 0 .914l-.459.457a.646.646 0 0 1-.913 0L15 16.371l-5.44 5.44a.648.648 0 0 1-.915 0l-.457-.457a.649.649 0 0 1 0-.913L13.63 15 8.188 9.56a.649.649 0 0 1 0-.914l.457-.457a.648.648 0 0 1 .915 0l5.44 5.44 5.44-5.44a.646.646 0 0 1 .913 0l.46.457c.25.25.25.662 0 .913L16.37 15Z\"\n clip-rule=\"evenodd\"\n />\n </svg>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;;YAAA;;;;;;YAMG;AAKU,kBAAA,WAAW,gBAA4C,CAAC,KAAK,KAAI;YAC5E,IAAA,MAAM,EAAE,KAAK,GAAG,WAAW,EAAE,GAAG,KAAK;YAErC,IAAA,QACE,CACE,CAAA,KAAA,EAAA,EAAA,KAAK,EAAC,4BAA4B,EAClC,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,IAAI,EAAC,MAAM,EAAA;YAEX,QAAA,CAAA,CAAA,MAAA,EAAA,EACE,IAAI,EAAE,CAAkB,eAAA,EAAA,KAAK,CAAG,CAAA,CAAA,EAChC,CAAC,EAAC,+wBAA+wB,EAAA,CACjxB,CACE;YAEV;;YC3BA;;;;;;YAMG;AAKU,kBAAA,QAAQ,gBAA4C,CAAC,KAAK,KAAI;YACzE,IAAA,MAAM,EAAE,KAAK,GAAG,WAAW,EAAE,GAAG,KAAK;YAErC,IAAA,QACE,CACE,CAAA,KAAA,EAAA,EAAA,KAAK,EAAC,4BAA4B,EAClC,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,IAAI,EAAC,MAAM,EAAA;YAEX,QAAA,CAAA,CAAA,MAAA,EAAA,EACE,IAAI,EAAE,CAAkB,eAAA,EAAA,KAAK,CAAG,CAAA,CAAA,EAChC,CAAC,EAAC,iWAAiW,EAAA,CACnW,CACE;YAEV;;YC3BA;;;;;;YAMG;AAKU,kBAAA,SAAS,gBAA4C,CAAC,KAAK,KAAI;YAC1E,IAAA,MAAM,EAAE,KAAK,GAAG,QAAQ,EAAE,GAAG,KAAK;YAElC,IAAA,QACE,CACE,CAAA,KAAA,EAAA,EAAA,KAAK,EAAC,4BAA4B,EAClC,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,IAAI,EAAC,MAAM,EAAA;YAEX,QAAA,CAAA,CAAA,MAAA,EAAA,EACE,IAAI,EAAE,CAAA,eAAA,EAAkB,KAAK,CAAA,CAAA,CAAG,eACtB,SAAS,EACnB,CAAC,EAAC,mTAAmT,EAC3S,WAAA,EAAA,SAAS,EACnB,CAAA,CACE;YAEV;;;;;;;;"}
1
+ {"version":3,"file":"p-CdS84qJs.system.js","sources":["src/components/icons/details.tsx","src/components/icons/link.tsx","src/components/icons/cross.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { FunctionalComponent, h } from '@stencil/core';\nimport type { TColor } from '../../interface';\n\nexport const DetailsIcon: FunctionalComponent<{ color?: TColor }> = (props) => {\n const { color = 'secondary' } = props;\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"30\"\n height=\"31\"\n fill=\"none\"\n >\n <path\n fill={`var(--pv-color-${color})`}\n d=\"M6.71 19.79a1 1 0 0 0-.33-.21 1 1 0 0 0-.76 0 1 1 0 0 0-.33.21 1 1 0 0 0-.21.33 1 1 0 0 0 .21 1.09c.097.088.209.16.33.21a.94.94 0 0 0 .76 0 1.15 1.15 0 0 0 .33-.21 1 1 0 0 0 .21-1.09 1 1 0 0 0-.21-.33ZM10 11.5h14a1 1 0 0 0 0-2H10a1 1 0 0 0 0 2Zm-3.29 3.29a1 1 0 0 0-1.09-.21 1.15 1.15 0 0 0-.33.21 1 1 0 0 0-.21.33.94.94 0 0 0 0 .76c.05.121.122.233.21.33.097.088.209.16.33.21a.94.94 0 0 0 .76 0 1.15 1.15 0 0 0 .33-.21 1.15 1.15 0 0 0 .21-.33.94.94 0 0 0 0-.76 1 1 0 0 0-.21-.33ZM24 14.5H10a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2ZM6.71 9.79a1 1 0 0 0-.33-.21 1 1 0 0 0-1.09.21 1.15 1.15 0 0 0-.21.33.94.94 0 0 0 0 .76c.05.121.122.233.21.33.097.088.209.16.33.21a1 1 0 0 0 1.09-.21 1.15 1.15 0 0 0 .21-.33.94.94 0 0 0 0-.76 1.15 1.15 0 0 0-.21-.33ZM24 19.5H10a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2Z\"\n />\n </svg>\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 { FunctionalComponent, h } from '@stencil/core';\nimport type { TColor } from '../../interface';\n\nexport const LinkIcon: FunctionalComponent<{ color?: TColor }> = (props) => {\n const { color = 'secondary' } = props;\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"30\"\n height=\"31\"\n fill=\"none\"\n >\n <path\n fill={`var(--pv-color-${color})`}\n d=\"M21 14.32a1 1 0 0 0-1 1v7.18a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-11a1 1 0 0 1 1-1h7.18a1 1 0 0 0 0-2H8a3 3 0 0 0-3 3v11a3 3 0 0 0 3 3h11a3 3 0 0 0 3-3v-7.18a1 1 0 0 0-1-1Zm3.92-8.2a1 1 0 0 0-.54-.54A1 1 0 0 0 24 5.5h-6a1 1 0 1 0 0 2h3.59l-10.3 10.29a1.002 1.002 0 0 0 .325 1.639 1 1 0 0 0 1.095-.219L23 8.91v3.59a1 1 0 0 0 2 0v-6a1.001 1.001 0 0 0-.08-.38Z\"\n />\n </svg>\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 { FunctionalComponent, h } from '@stencil/core';\nimport type { TColor } from '../../interface';\n\nexport const CrossIcon: FunctionalComponent<{ color?: TColor }> = (props) => {\n const { color = 'gray-9' } = props;\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"30\"\n height=\"30\"\n fill=\"none\"\n >\n <path\n fill={`var(--pv-color-${color})`}\n fill-rule=\"evenodd\"\n d=\"m16.37 15 5.442 5.44c.25.252.25.663 0 .914l-.459.457a.646.646 0 0 1-.913 0L15 16.371l-5.44 5.44a.648.648 0 0 1-.915 0l-.457-.457a.649.649 0 0 1 0-.913L13.63 15 8.188 9.56a.649.649 0 0 1 0-.914l.457-.457a.648.648 0 0 1 .915 0l5.44 5.44 5.44-5.44a.646.646 0 0 1 .913 0l.46.457c.25.25.25.662 0 .913L16.37 15Z\"\n clip-rule=\"evenodd\"\n />\n </svg>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;;YAAA;;;;;;Y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AAA,EAAA,SAAS,EACnB,CAAA,CACE;YAEV;;;;;;;;"}
@@ -0,0 +1,12 @@
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)}}();
2
+ /*!
3
+ * © Peculiar Ventures https://peculiarventures.com/ - MIT License
4
+ */System.register(["./p-D_WeukQa.system.js"],(function(t){"use strict";var n,r,e,i,s,o,u,c,a,f,h,v,l,_,x,d,p,w,y,j,b,E,O,m,C,D,S,g,k,A,Q,T,W,q,z,B,F,G,H,I,J,K,L,M,N,P,R,U,V,X,Y,Z,$,tt,nt,rt,et,it,st,ot,ut,ct,at,ft,ht,vt,lt,_t,xt,dt,pt,wt,yt,jt,bt,Et,Ot,mt,Ct,Dt,St,gt,kt,At;return{setters:[function(t){n=t.a0;r=t.a1;e=t.a2;i=t.A;s=t.a3;o=t.q;u=t.a4;c=t.a5;a=t.a6;f=t.a7;h=t.a8;v=t.a9;l=t.aa;_=t.ab;x=t.ac;d=t.ad;p=t.ae;w=t.af;y=t.ag;j=t.ah;b=t.ai;E=t.aj;O=t.ak;m=t.al;C=t.am;D=t.an;S=t.ao;g=t.ap;k=t.aq;A=t.ar;Q=t.as;T=t.at;W=t.au;q=t.av;z=t.aw;B=t.ax;F=t.ay;G=t.az;H=t.aA;I=t.aB;J=t.aC;K=t.aD;L=t.aE;M=t.aF;N=t.aG;P=t.b;R=t.aH;U=t.aI;V=t.aJ;X=t.aK;Y=t.aL;Z=t.aM;$=t.aN;tt=t.aO;nt=t.aP;rt=t.aQ;et=t.aR;it=t.aS;st=t.aT;ot=t.aU;ut=t.aV;ct=t.aW;at=t.aX;ft=t.aY;ht=t.aZ;vt=t.a_;lt=t.a$;_t=t.b0;xt=t.b1;dt=t.b2;pt=t.b3;wt=t.b4;yt=t.b5;jt=t.b6;bt=t.b7;Et=t.b8;Ot=t.b9;mt=t.ba;Ct=t.bb;Dt=t.bc;St=t.bd;gt=t.be;kt=t.bf;At=t.bg}],execute:function(){var Qt;var Tt="1.3.6.1.4.1.11129.2.4.2";var Wt=function(t){__extends(n,t);function n(){var n=t.apply(this,arguments)||this;n.items=[];return n}n.prototype.fromASN=function(n){t.prototype.fromASN.call(this,n);var i=new r(this.buffer);var s=i.readNumber(2);this.items=[];while(i.position<s){this.items.push(new e(i))}return this};n.prototype.toJSON=function(){return this.items.map((function(t){return t.toJSON()}))};return n}(n);t("C",Wt);var qt="1.3.6.1.5.5.7.1.12";
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 zt=(Qt={},Qt[At]=N,Qt[kt]=M,Qt[gt]=L,Qt[St]=K,Qt[Dt]=J,Qt[Ct]=I,Qt["2.5.29.46"]=I,Qt[mt]=H,Qt[Ot]=G,Qt[Et]=F,Qt[bt]=B,Qt[jt]=z,Qt[yt]=q,Qt[wt]=W,Qt[pt]=T,Qt[dt]=Q,Qt[xt]=A,Qt[_t]=k,Qt[lt]=g,Qt[vt]=S,Qt[ht]=D,Qt[ft]=C,Qt[at]=m,Qt[ct]=O,Qt[ut]=E,Qt[ot]=b,Qt[Tt]=Wt,Qt[st]=j,Qt[it]=y,Qt[et]=w,Qt[rt]=p,Qt[nt]=d,Qt[tt]=x,Qt["2.16.724.1.2.2.4.1"]=_,Qt[$]=_,Qt[qt]=l,Qt[Z]=v,Qt[Y]=h,Qt[X]=f,Qt[V]=a,Qt[U]=c,Qt[R]=u,Qt);var Bt=function(t){__extends(n,t);function n(n){var r=t.call(this,n,s)||this;var e=r.getAsnExtnValue();try{var i=zt[r.asn.extnID];if(i){r.value=o.parse(e,i)}else{console.warn("Didn't detect parser for \"".concat(r.asn.extnID,'" extension.'));r.value=P.Convert.ToHex(e)}}catch(t){console.error('Error parse "'.concat(r.asn.extnID,'" extension:'),t.message);r.value=P.Convert.ToHex(e)}return r}n.prototype.getAsnExtnValue=function(){return this.asn.extnValue.buffer};return n}(i);t("E",Bt)}}}));
12
+ //# sourceMappingURL=p-CgCUixvk.system.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-CgCUixvk.system.js","sources":["../../node_modules/.pnpm/@peculiar+asn1-cert-transparency@2.4.0/node_modules/@peculiar/asn1-cert-transparency/build/es2015/cert_transparency.js","../../node_modules/.pnpm/@peculiar+asn1-x509-logotype@2.4.0/node_modules/@peculiar/asn1-x509-logotype/build/es2015/object_identifiers.js","src/crypto/extension.ts"],"sourcesContent":["import { OctetString } from \"@peculiar/asn1-schema\";\nimport { SignedCertificateTimestamp } from \"./timestamp\";\nimport { ByteStream } from \"./byte_stream\";\nexport const id_certificateTransparency = \"1.3.6.1.4.1.11129.2.4.2\";\nexport class CertificateTransparency extends OctetString {\n constructor() {\n super(...arguments);\n this.items = [];\n }\n fromASN(asn) {\n super.fromASN(asn);\n const stream = new ByteStream(this.buffer);\n const len = stream.readNumber(2);\n this.items = [];\n while (stream.position < len) {\n this.items.push(new SignedCertificateTimestamp(stream));\n }\n return this;\n }\n toJSON() {\n return this.items.map((o) => o.toJSON());\n }\n}\n","import { id_pkix } from \"@peculiar/asn1-x509\";\nexport const id_pe_logotype = \"1.3.6.1.5.5.7.1.12\";\nexport const id_logo = `${id_pkix}.20`;\nexport const id_logo_loyalty = `${id_logo}.1`;\nexport const id_logo_background = `${id_logo}.2`;\nexport const id_logo_certImage = `${id_logo}.3`;\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 { Convert } from 'pvtsutils';\nimport {\n Extension as AsnExtension,\n\n id_pe_authorityInfoAccess,\n AuthorityInfoAccessSyntax,\n\n id_ce_authorityKeyIdentifier,\n AuthorityKeyIdentifier,\n\n id_ce_basicConstraints,\n BasicConstraints,\n\n id_ce_certificateIssuer,\n CertificateIssuer,\n\n id_ce_certificatePolicies,\n CertificatePolicies,\n\n id_ce_cRLDistributionPoints,\n CRLDistributionPoints,\n\n id_ce_issuingDistributionPoint,\n IssuingDistributionPoint,\n\n id_ce_cRLReasons,\n CRLReason,\n\n id_ce_extKeyUsage,\n ExtendedKeyUsage,\n\n id_ce_inhibitAnyPolicy,\n InhibitAnyPolicy,\n\n id_ce_invalidityDate,\n InvalidityDate,\n\n id_ce_issuerAltName,\n IssueAlternativeName,\n\n id_ce_keyUsage,\n KeyUsage,\n\n id_ce_nameConstraints,\n NameConstraints,\n\n id_ce_policyConstraints,\n PolicyConstraints,\n\n id_ce_policyMappings,\n PolicyMappings,\n\n id_ce_subjectAltName,\n SubjectAlternativeName,\n\n id_ce_subjectDirectoryAttributes,\n SubjectDirectoryAttributes,\n\n id_ce_subjectKeyIdentifier,\n SubjectKeyIdentifier,\n\n id_ce_privateKeyUsagePeriod,\n PrivateKeyUsagePeriod,\n\n id_entrust_entrustVersInfo,\n EntrustVersionInfo,\n\n id_pe_subjectInfoAccess,\n SubjectInfoAccessSyntax,\n\n id_ce_cRLNumber,\n CRLNumber,\n\n id_ce_deltaCRLIndicator,\n BaseCRLNumber,\n} from '@peculiar/asn1-x509';\nimport {\n id_pe_qcStatements,\n QCStatements,\n\n id_pe_biometricInfo,\n BiometricSyntax,\n} from '@peculiar/asn1-x509-qualified';\nimport {\n id_certificateTemplate,\n CertificateTemplate,\n\n id_enrollCertType,\n EnrollCertTypeChoice,\n\n id_caVersion,\n CaVersion,\n} from '@peculiar/asn1-x509-microsoft';\nimport {\n id_netscapeComment,\n NetscapeComment,\n\n id_netscapeCertType,\n NetscapeCertType,\n} from '@peculiar/asn1-x509-netscape';\nimport { AsnParser } from '@peculiar/asn1-schema';\nimport {\n id_lei,\n LeiChoice,\n\n id_role,\n LeiRole,\n} from '@peculiar/asn1-lei';\nimport {\n id_certificateTransparency,\n CertificateTransparency,\n} from '@peculiar/asn1-cert-transparency';\nimport {\n id_adbe_timestamp,\n Timestamp,\n\n id_adbe_archiveRevInfo,\n ArchiveRevInfo,\n} from '@peculiar/asn1-adobe-acrobat';\nimport {\n id_pe_logotype,\n LogotypeExtn,\n} from '@peculiar/asn1-x509-logotype';\nimport {\n id_pe_TNAuthList,\n TNAuthorizationList,\n} from '@peculiar/asn1-rfc8226';\nimport {\n id_ce_keyDescription,\n NonStandardKeyDescription,\n} from '@peculiar/asn1-android';\nimport {\n id_cabforganizationIdentifier,\n CabforganizationIdentifier,\n} from './extensions';\nimport { AsnData } from './asn_data';\n\nconst extensionParsers = {\n [id_pe_authorityInfoAccess]: AuthorityInfoAccessSyntax,\n [id_ce_authorityKeyIdentifier]: AuthorityKeyIdentifier,\n [id_ce_basicConstraints]: BasicConstraints,\n [id_ce_certificateIssuer]: CertificateIssuer,\n [id_ce_certificatePolicies]: CertificatePolicies,\n [id_ce_cRLDistributionPoints]: CRLDistributionPoints,\n '2.5.29.46': CRLDistributionPoints,\n [id_ce_issuingDistributionPoint]: IssuingDistributionPoint,\n [id_ce_cRLReasons]: CRLReason,\n [id_ce_extKeyUsage]: ExtendedKeyUsage,\n [id_ce_inhibitAnyPolicy]: InhibitAnyPolicy,\n [id_ce_invalidityDate]: InvalidityDate,\n [id_ce_issuerAltName]: IssueAlternativeName,\n [id_ce_keyUsage]: KeyUsage,\n [id_ce_nameConstraints]: NameConstraints,\n [id_ce_policyConstraints]: PolicyConstraints,\n [id_ce_policyMappings]: PolicyMappings,\n [id_ce_subjectAltName]: SubjectAlternativeName,\n [id_ce_subjectDirectoryAttributes]: SubjectDirectoryAttributes,\n [id_ce_subjectKeyIdentifier]: SubjectKeyIdentifier,\n [id_pe_qcStatements]: QCStatements,\n [id_certificateTemplate]: CertificateTemplate,\n [id_enrollCertType]: EnrollCertTypeChoice,\n [id_netscapeComment]: NetscapeComment,\n [id_netscapeCertType]: NetscapeCertType,\n [id_caVersion]: CaVersion,\n [id_certificateTransparency]: CertificateTransparency,\n [id_lei]: LeiChoice,\n [id_role]: LeiRole,\n [id_adbe_timestamp]: Timestamp,\n [id_adbe_archiveRevInfo]: ArchiveRevInfo,\n [id_ce_privateKeyUsagePeriod]: PrivateKeyUsagePeriod,\n [id_entrust_entrustVersInfo]: EntrustVersionInfo,\n '2.16.724.1.2.2.4.1': BiometricSyntax,\n [id_pe_biometricInfo]: BiometricSyntax,\n [id_pe_logotype]: LogotypeExtn,\n [id_pe_TNAuthList]: TNAuthorizationList,\n [id_pe_subjectInfoAccess]: SubjectInfoAccessSyntax,\n [id_ce_cRLNumber]: CRLNumber,\n [id_ce_deltaCRLIndicator]: BaseCRLNumber,\n [id_ce_keyDescription]: NonStandardKeyDescription,\n [id_cabforganizationIdentifier]: CabforganizationIdentifier,\n};\n\ntype TExtensionKeys = keyof typeof extensionParsers;\n\nexport type TExtensionValue = InstanceType<typeof extensionParsers[TExtensionKeys]> | string;\n\nexport class Extension<T extends TExtensionValue> extends AsnData<AsnExtension> {\n public readonly value: T;\n\n private getAsnExtnValue() {\n return this.asn.extnValue.buffer;\n }\n\n constructor(raw: BufferSource) {\n super(raw, AsnExtension);\n\n const asnExtnValue = this.getAsnExtnValue();\n\n try {\n const target = extensionParsers[this.asn.extnID];\n\n if (target) {\n this.value = AsnParser.parse<T>(asnExtnValue, target);\n } else {\n console.warn(`Didn't detect parser for \"${this.asn.extnID}\" extension.`);\n\n this.value = Convert.ToHex(asnExtnValue) as T;\n }\n } catch (error) {\n console.error(`Error parse \"${this.asn.extnID}\" extension:`, error.message);\n\n this.value = Convert.ToHex(asnExtnValue) as T;\n }\n }\n}\n"],"names":["AsnExtension","Convert"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AC,SAAS,CAAC,MAAM;;YAGlC,IAAA,WAAA,CAAY,GAAiB,EAAA;YAC3B,QAAA,KAAK,CAAC,GAAG,EAAEA,WAAY,CAAC;YAExB,QAAA,MAAM,YAAY,GAAG,IAAI,CAAC,eAAe,EAAE;YAE3C,QAAA,IAAI;wBACF,MAAM,MAAM,GAAG,gBAAgB,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC;wBAEhD,IAAI,MAAM,EAAE;4BACV,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC,KAAK,CAAI,YAAY,EAAE,MAAM,CAAC;;6BAChD;4BACL,OAAO,CAAC,IAAI,CAAC,CAA6B,0BAAA,EAAA,IAAI,CAAC,GAAG,CAAC,MAAM,CAAc,YAAA,CAAA,CAAC;4BAExE,IAAI,CAAC,KAAK,GAAGC,oBAAO,CAAC,KAAK,CAAC,YAAY,CAAM;;;oBAE/C,OAAO,KAAK,EAAE;YACd,YAAA,OAAO,CAAC,KAAK,CAAC,CAAA,aAAA,EAAgB,IAAI,CAAC,GAAG,CAAC,MAAM,cAAc,EAAE,KAAK,CAAC,OAAO,CAAC;wBAE3E,IAAI,CAAC,KAAK,GAAGA,oBAAO,CAAC,KAAK,CAAC,YAAY,CAAM;;;YAGlD;;;;;;;;","x_google_ignoreList":[0,1]}
@@ -0,0 +1,19 @@
1
+ /*!
2
+ * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
+ */
4
+ import{A as s,p as t,q as a,r as e,s as i,U as r,t as n,V as h,I as o,W as c,u,T as l,v as f,w as m,x as p,y as g,b,z as d,B as A,F as w,G as E,H as y,J as S,K as q,L as x,M as P,O as R,Q as C,S as K,X as v,c as D,Y as I,P as N,N as O,i as j,e as H,E as M,f as T,R as V,m as $,D as z}from"./p-CSS3OhZq.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
+ */const B={[v]:g,[K]:p,[C]:m,[R]:f,[P]:l,[x]:u,[q]:c,[S]:o,[y]:h,[E]:n,[w]:r,[A]:i,[d]:e};class F extends s{getAsnExtnValue(){return this.asn.values[0]}constructor(s){super(s,t);const e=this.getAsnExtnValue();try{const s=B[this.asn.type];if(s){this.value=a.parse(e,s)}else{console.warn(`Didn't detect parser for "${this.asn.type}" attribute.`);this.value=b.Convert.ToHex(e)}}catch(s){console.error(`Error parse "${this.asn.type}" attribute:`,s.message);this.value=b.Convert.ToHex(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
+ */class G extends s{constructor(s){super(D(s),I);this.thumbprints={};this.type="PKCS#10 Certificate Request";this.tag=N.CertificateRequestTag;const{certificationRequestInfo:t}=this.asn;this.subject=new O(t.subject).toJSON();this.version=t.version}get publicKey(){const{subjectPublicKey:s,algorithm:t}=this.asn.certificationRequestInfo.subjectPKInfo;let a;if(t.algorithm===j&&t.parameters){a=H.parse(t.parameters,M)}if(t.algorithm===T){a=H.parse(s,V)}const e=H.serialize(this.asn.certificationRequestInfo.subjectPKInfo);return{params:a,value:e,algorithm:t.algorithm}}get signature(){const{signature:s,signatureAlgorithm:t}=this.asn;return{value:s,algorithm:t.algorithm}}get commonName(){if(!this.subject){return""}for(let s=0;s<this.subject.length;s+=1){const t=this.subject[s];if(t.shortName==="CN"||t.shortName==="E"||t.shortName==="O"){return t.value}}return""}async getThumbprint(s="SHA-1"){try{const t=await $(s,this.raw);if(t){this.thumbprints[s]=b.Convert.ToHex(t)}}catch(s){console.error("Error thumbprint get:",s)}}parseAttributes(){const{certificationRequestInfo:s}=this.asn;if(s.attributes){this.attributes=s.attributes.map((s=>new F(H.serialize(s))))}}toString(s="pem"){switch(s){case"pem":return N.encode(this.raw,this.tag);case"base64url":return b.Convert.ToBase64Url(this.raw);default:return b.Convert.ToBase64(this.raw)}}downloadAsPEM(s){z.csr.asPEM(this.toString("pem"),s||this.commonName)}downloadAsDER(s){z.csr.asDER(this.raw,s||this.commonName)}}export{F as A,G as P};
19
+ //# sourceMappingURL=p-CoPYW15U.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-CoPYW15U.js","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';\nimport {\n id_at_statementOfPossession,\n PrivateKeyPossessionStatement,\n} from '@peculiar/asn1-private-key-stmt';\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 [id_at_statementOfPossession]: PrivateKeyPossessionStatement,\n};\n\ntype TAttributeKeys = keyof typeof attributesParsers;\n\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 { Convert } from 'pvtsutils';\nimport { Download } from '../utils';\nimport { AsnData } from './asn_data';\nimport { Name, INameJSON } from './name';\nimport { Attribute, TAttributeValue } from './attribute';\nimport { PemConverter } from './pem_converter';\nimport {\n certificateRawToBuffer,\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 thumbprints: Record<string, string> = {};\n\n public readonly type = 'PKCS#10 Certificate Request';\n\n public readonly tag = PemConverter.CertificateRequestTag;\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 = '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 }\n\n public toString(format: 'pem' | 'base64' | 'base64url' = 'pem'): string {\n switch (format) {\n case 'pem':\n return PemConverter.encode(this.raw, this.tag);\n case 'base64url':\n return Convert.ToBase64Url(this.raw);\n default:\n return Convert.ToBase64(this.raw);\n }\n }\n\n public downloadAsPEM(name?: string) {\n Download.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"],"names":["AsnAttribute","Convert"],"mappings":";;;;;AAAA;;;;;;AAMG;AAiDH,MAAM,iBAAiB,GAAG;IACxB,CAAC,wBAAwB,GAAG,qBAAqB;IACjD,CAAC,gCAAgC,GAAG,6BAA6B;IACjE,CAAC,kBAAkB,GAAG,eAAe;IACrC,CAAC,8BAA8B,GAAG,2BAA2B;IAC7D,CAAC,mBAAmB,GAAG,gBAAgB;IACvC,CAAC,sBAAsB,GAAG,mBAAmB;IAC7C,CAAC,UAAU,GAAG,OAAO;IACrB,CAAC,iBAAiB,GAAG,cAAc;IACnC,CAAC,mBAAmB,GAAG,gBAAgB;IACvC,CAAC,6BAA6B,GAAG,iBAAiB;IAClD,CAAC,4BAA4B,GAAG,gBAAgB;IAChD,CAAC,4BAA4B,GAAG,gBAAgB;IAChD,CAAC,2BAA2B,GAAG,6BAA6B;CAC7D;AAMK,MAAO,SAAqC,SAAQ,OAAqB,CAAA;IAGrE,eAAe,GAAA;QACrB,OAAO,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;;AAG3B,IAAA,WAAA,CAAY,GAAiB,EAAA;AAC3B,QAAA,KAAK,CAAC,GAAG,EAAEA,WAAY,CAAC;AAExB,QAAA,MAAM,YAAY,GAAG,IAAI,CAAC,eAAe,EAAE;AAE3C,QAAA,IAAI;YACF,MAAM,MAAM,GAAG,iBAAiB,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC;YAE/C,IAAI,MAAM,E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- MIT License
3
3
  */
4
- import{h as n}from"./p-DDDrq3In.js";
4
+ import{h as n}from"./p-CwgZaF40.js";
5
5
  /**
6
6
  * @license
7
7
  * Copyright (c) Peculiar Ventures, LLC.
8
8
  *
9
9
  * This source code is licensed under the MIT license found in the
10
10
  * LICENSE file in the root directory of this source tree.
11
- */var t=undefined&&undefined.__rest||function(n,t){var o={};for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0)o[r]=n[r];if(n!=null&&typeof Object.getOwnPropertySymbols==="function")for(var c=0,r=Object.getOwnPropertySymbols(n);c<r.length;c++){if(t.indexOf(r[c])<0&&Object.prototype.propertyIsEnumerable.call(n,r[c]))o[r[c]]=n[r[c]]}return o};const o={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",s1:"h6",s2:"h6",b1:"p",b2:"p",b3:"p",btn1:"span",btn2:"span",c1:"p",c2:"p"};const r=(r,c)=>{const{component:e,variant:a="b2",color:s="black",class:p}=r,b=t(r,["component","variant","color","class"]);const l=e||o[a]||"p";return n(l,Object.assign({},b,{class:{typography:true,[`t-${a}`]:true,[`c-${s}`]:true,[p]:Boolean(p)}}),c)};
11
+ */var t=undefined&&undefined.__rest||function(n,t){var o={};for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0)o[r]=n[r];if(n!=null&&typeof Object.getOwnPropertySymbols==="function")for(var c=0,r=Object.getOwnPropertySymbols(n);c<r.length;c++){if(t.indexOf(r[c])<0&&Object.prototype.propertyIsEnumerable.call(n,r[c]))o[r[c]]=n[r[c]]}return o};const o={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",s1:"h6",s2:"h6",b1:"p",b2:"p",b3:"p",btn1:"span",btn2:"span",c1:"p",c2:"p"};const r=(r,c)=>{const{component:e,variant:a="b2",color:s="black",class:p}=r,l=t(r,["component","variant","color","class"]);const b=e||o[a]||"p";return n(b,Object.assign({},l,{class:{typography:true,[`t-${a}`]:true,[`c-${s}`]:true,[p]:Boolean(p)}}),n("span",null),c)};
12
12
  /**
13
13
  * @license
14
14
  * Copyright (c) Peculiar Ventures, LLC.
15
15
  *
16
16
  * This source code is licensed under the MIT license found in the
17
17
  * LICENSE file in the root directory of this source tree.
18
- */const c=(t,o)=>{const{href:c,class:e,startIcon:a,onClick:s}=t;const p=!!c;const b=p?"a":"button";return n(b,{type:!p&&"button",href:p&&c,target:p&&"_blank",rel:p&&"noreferrer noopener",class:{button:true,m_no_padding:o.length===0,[e]:Boolean(e)},onClick:s},a,o.length>0&&n(r,{variant:"b3",color:"black",component:"span"},o))};export{c as B,r as T};
19
- //# sourceMappingURL=p-CkwiD_ia.js.map
18
+ */const c=(t,o)=>{const{href:c,class:e,startIcon:a,onClick:s}=t;const p=!!c;const l=p?"a":"button";return n(l,{type:!p&&"button",href:p&&c,target:p&&"_blank",rel:p&&"noreferrer noopener",class:{button:true,m_no_padding:o.length===0,[e]:Boolean(e)},onClick:s},a,o.length>0&&n(r,{variant:"b3",color:"black",component:"span"},o))};export{c as B,r as T};
19
+ //# sourceMappingURL=p-CutTi-2B.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-CutTi-2B.js","sources":["src/components/typography/typography.tsx","src/components/button/button.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { FunctionalComponent, h } from '@stencil/core';\nimport { type JSXBase } from '@stencil/core/internal';\nimport type { TTypography, TColor } from '../../interface';\n\ninterface ITypographyProps {\n component?: keyof JSXBase.IntrinsicElements;\n variant?: TTypography;\n color?: TColor;\n class?: string;\n}\n\nconst variantMapping: Record<TTypography, 'p' | 'span' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'> = {\n h1: 'h1',\n h2: 'h2',\n h3: 'h3',\n h4: 'h4',\n h5: 'h5',\n s1: 'h6',\n s2: 'h6',\n b1: 'p',\n b2: 'p',\n b3: 'p',\n btn1: 'span',\n btn2: 'span',\n c1: 'p',\n c2: 'p',\n};\n\nexport const Typography: FunctionalComponent<ITypographyProps> = (props, children) => {\n const {\n component: componentProp,\n variant = 'b2',\n color = 'black',\n class: classProp,\n ...other\n } = props;\n\n const Component = componentProp || variantMapping[variant] || 'p';\n\n return (\n <Component\n {...other}\n class={{\n typography: true,\n [`t-${variant}`]: true,\n [`c-${color}`]: true,\n [classProp]: Boolean(classProp),\n }}\n >\n <span></span>\n {children}\n </Component>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n FunctionalComponent, h, VNode,\n} from '@stencil/core';\nimport { Typography } from '../typography';\n\nexport interface IButtonProps {\n href?: string;\n class?: string;\n startIcon?: VNode;\n onClick?: (event: MouseEvent) => void;\n}\n\nexport const Button: FunctionalComponent<IButtonProps> = (props, children) => {\n const {\n href,\n class: classProp,\n startIcon,\n onClick,\n } = props;\n\n const isLink = !!href;\n const TagType = isLink ? 'a' : 'button';\n\n return (\n <TagType\n type={!isLink && 'button'}\n href={isLink && href}\n target={isLink && '_blank'}\n rel={isLink && 'noreferrer noopener'}\n class={{\n button: true,\n // eslint-disable-next-line react/destructuring-assignment\n m_no_padding: children.length === 0,\n [classProp]: Boolean(classProp),\n }}\n onClick={onClick}\n >\n {startIcon}\n {/* eslint-disable-next-line react/destructuring-assignment */}\n {children.length > 0 && (\n <Typography\n variant=\"b3\"\n color=\"black\"\n component=\"span\"\n >\n {children}\n </Typography>\n )}\n </TagType>\n );\n};\n"],"names":[],"mappings":";;;;;AAAA;;;;;;AAMG;;;;;;;;;;;;AAaH,MAAM,cAAc,GAAgF;AAClG,IAAA,EAAE,EAAE,IAAI;AACR,IAAA,EAAE,EAAE,IAAI;AACR,IAAA,EAAE,EAAE,IAAI;AACR,IAAA,EAAE,EAAE,IAAI;AACR,IAAA,EAAE,EAAE,IAAI;AACR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AG,GAAG,GAAG,QAAQ;AAEvC,IAAA,QACE,CAAA,CAAC,OAAO,EAAA,EACN,IAAI,EAAE,CAAC,MAAM,IAAI,QAAQ,EACzB,IAAI,EAAE,MAAM,IAAI,IAAI,EACpB,MAAM,EAAE,MAAM,IAAI,QAAQ,EAC1B,GAAG,EAAE,MAAM,IAAI,qBAAqB,EACpC,KAAK,EAAE;AACL,YAAA,MAAM,EAAE,IAAI;;AAEZ,YAAA,YAAY,EAAE,QAAQ,CAAC,MAAM,KAAK,CAAC;AACnC,YAAA,CAAC,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;SAChC,EACD,OAAO,EAAE,OAAO,EAAA;QAEf,SAAS;QAET,QAAQ,CAAC,MAAM,GAAG,CAAC,KAClB,CAAA,CAAC,UAAU,EAAA,EACT,OAAO,EAAC,IAAI,EACZ,KAAK,EAAC,OAAO,EACb,SAAS,EAAC,MAAM,EAEf,EAAA,QAAQ,CACE,CACd,CACO;AAEd;;;;"}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
+ */
4
+ const e="peculiar";const t={hydratedSelectorName:"hydrated",lazyLoad:true,slotRelocation:true,updatable:true};const n=()=>{};const r=':root{--pv-font-family:"Manrope", "Open Sans", "Arial", sans-serif;--pv-color-primary-tint-5:#e8ffe5;--pv-color-primary-tint-4:#c6efc2;--pv-color-primary-tint-3:#a9e2a3;--pv-color-primary-tint-2:#8ed686;--pv-color-primary-tint-1:#76c96c;--pv-color-primary:#5ebc54;--pv-color-primary-shade-1:#569e4f;--pv-color-primary-shade-2:#4b7f46;--pv-color-primary-shade-3:#3e603a;--pv-color-primary-shade-4:#2d422b;--pv-color-primary-shade-5:#1b261a;--pv-color-primary-contrast:#FFFFFF;--pv-color-secondary-tint-5:#e5efff;--pv-color-secondary-tint-4:#c2d8fc;--pv-color-secondary-tint-3:#9fc2f9;--pv-color-secondary-tint-2:#7babf7;--pv-color-secondary-tint-1:#5a95f4;--pv-color-secondary:#377ff4;--pv-color-secondary-shade-1:#4276c9;--pv-color-secondary-shade-2:#4367a0;--pv-color-secondary-shade-3:#3e5477;--pv-color-secondary-shade-4:#303c4f;--pv-color-secondary-shade-5:#1a1f26;--pv-color-secondary-contrast:#FFFFFF;--pv-color-wrong-tint-5:#ffe6e5;--pv-color-wrong-tint-4:#f7c2c0;--pv-color-wrong-tint-3:#efa09e;--pv-color-wrong-tint-2:#ea827e;--pv-color-wrong-tint-1:#e2635f;--pv-color-wrong:#de4641;--pv-color-wrong-shade-1:#b74945;--pv-color-wrong-shade-2:#934644;--pv-color-wrong-shade-3:#6d3c3b;--pv-color-wrong-shade-4:#492e2d;--pv-color-wrong-shade-5:#261b1a;--pv-color-wrong-contrast:#FFFFFF;--pv-color-attention-tint-5:#fff4e5;--pv-color-attention-tint-4:#fce4bf;--pv-color-attention-tint-3:#f9d39a;--pv-color-attention-tint-2:#f9c577;--pv-color-attention-tint-1:#f7b654;--pv-color-attention:#f7a831;--pv-color-attention-shade-1:#cc923d;--pv-color-attention-shade-2:#a37c41;--pv-color-attention-shade-3:#775f3b;--pv-color-attention-shade-4:#4f422f;--pv-color-attention-shade-5:#26211a;--pv-color-success-tint-5:#e5fff6;--pv-color-success-tint-4:#bcf4e2;--pv-color-success-tint-3:#96eace;--pv-color-success-tint-2:#72e0bb;--pv-color-success-tint-1:#51d6a9;--pv-color-success:#33cc99;--pv-color-success-shade-1:#3aaa85;--pv-color-success-shade-2:#3b896f;--pv-color-success-shade-3:#366857;--pv-color-success-shade-4:#2b473e;--pv-color-success-shade-5:#1a2622;--pv-color-white:#FFFFFF;--pv-color-gray-1:#FBFCFD;--pv-color-gray-2:#F4F7FC;--pv-color-gray-3:#EFF1F6;--pv-color-gray-4:#EAEDF2;--pv-color-gray-5:#E3E5E8;--pv-color-gray-6:#D8DBDE;--pv-color-gray-7:#CDD1D5;--pv-color-gray-8:#C4C8CC;--pv-color-gray-9:#8F999E;--pv-color-gray-10:#5C666A;--pv-color-black:#293033;--pv-color-extra-1:#826FF6;--pv-color-extra-2:#DC6CDF;--pv-shadow-light-low:0px 1px 3px rgba(85, 94, 98, 0.12),0px 3px 3px rgba(85, 94, 98, 0.08),0px 1px 7px rgba(85, 94, 98, 0.06);--pv-shadow-light-medium:0px 1px 4px rgba(85, 94, 98, 0.18),0px 3px 5px rgba(85, 94, 98, 0.14),0px 1px 10px rgba(85, 94, 98, 0.12);--pv-shadow-light-hight:0px 1px 8px -2px rgba(85, 94, 98, 0.2),0px 5px 10px 0.2px rgba(85, 94, 98, 0.25),0px 15px 20px 0.2px rgba(85, 94, 98, 0.21);--pv-shadow-dark-medium:0px 1px 4px rgba(41, 48, 51, 0.18),0px 3px 5px rgba(41, 48, 51, 0.16),0px 1px 10px rgba(41, 48, 51, 0.14);--pv-shadow-dark-hight:0px 1px 8px -2px rgba(85, 94, 98, 0.2),0px 5px 10px 0.2px rgba(85, 94, 98, 0.3),0px 15px 20px 0.2px rgba(85, 94, 98, 0.25);--pv-text-h1-weight:800;--pv-text-h1-size:30px;--pv-text-h1-height:40px;--pv-text-h1-spacing:0.1px;--pv-text-h2-weight:800;--pv-text-h2-size:24px;--pv-text-h2-height:35px;--pv-text-h2-spacing:0.1px;--pv-text-h3-weight:700;--pv-text-h3-size:20px;--pv-text-h3-height:30px;--pv-text-h3-spacing:0.2px;--pv-text-h4-weight:700;--pv-text-h4-size:18px;--pv-text-h4-height:28px;--pv-text-h4-spacing:0.2px;--pv-text-h5-weight:700;--pv-text-h5-size:16px;--pv-text-h5-height:25px;--pv-text-h5-spacing:0.15px;--pv-text-s1-weight:600;--pv-text-s1-size:15px;--pv-text-s1-height:25px;--pv-text-s1-spacing:0.25px;--pv-text-s2-weight:600;--pv-text-s2-size:14px;--pv-text-s2-height:22px;--pv-text-s2-spacing:0.25px;--pv-text-b1-weight:400;--pv-text-b1-size:15px;--pv-text-b1-height:25px;--pv-text-b1-spacing:0.4px;--pv-text-b2-weight:400;--pv-text-b2-size:14px;--pv-text-b2-height:22px;--pv-text-b2-spacing:0.4px;--pv-text-b3-weight:400;--pv-text-b3-size:13px;--pv-text-b3-height:20px;--pv-text-b3-spacing:0.55px;--pv-text-btn1-weight:700;--pv-text-btn1-size:14px;--pv-text-btn1-height:20px;--pv-text-btn1-spacing:0.2px;--pv-text-btn2-weight:700;--pv-text-btn2-size:13px;--pv-text-btn2-height:17px;--pv-text-btn2-spacing:0.2px;--pv-text-c1-weight:400;--pv-text-c1-size:12px;--pv-text-c1-height:17px;--pv-text-c1-spacing:0.45px;--pv-text-c2-weight:400;--pv-text-c2-size:11px;--pv-text-c2-height:15px;--pv-text-c2-spacing:0.5px;--pv-size-base-half:2.5px;--pv-size-base:5px;--pv-size-base-2:10px;--pv-size-base-3:15px;--pv-size-base-4:20px;--pv-size-base-5:25px;--pv-size-base-6:30px;--pv-size-base-7:35px;--pv-size-base-8:40px;--pv-size-base-9:45px;--pv-size-base-10:50px;--pv-size-base-11:55px;--pv-size-base-12:60px;--pv-size-base-14:70px;--pv-size-base-16:80px}';var o=Object.defineProperty;var i=(e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:true})};var s="http://www.w3.org/2000/svg";var l="http://www.w3.org/1999/xhtml";var f=(e=>{e["Undefined"]="undefined";e["Null"]="null";e["String"]="string";e["Number"]="number";e["SpecialNumber"]="number";e["Boolean"]="boolean";e["BigInt"]="bigint";return e})(f||{});var a=(e=>{e["Array"]="array";e["Date"]="date";e["Map"]="map";e["Object"]="object";e["RegularExpression"]="regexp";e["Set"]="set";e["Channel"]="channel";e["Symbol"]="symbol";return e})(a||{});var c="type";var p="value";var u="serialized:";var v=e=>{if(e.__stencil__getHostRef){return e.__stencil__getHostRef()}return void 0};var d=(e,t)=>{e.__stencil__getHostRef=()=>t;t.t=e};var h=(e,t)=>{const n={o:0,$hostElement$:e,i:t,l:new Map};{n.p=new Promise((e=>n.u=e));e["s-p"]=[];e["s-rc"]=[]}const r=n;e.__stencil__getHostRef=()=>r;return r};var x=(e,t)=>t in e;var g=(e,t)=>(0,console.error)(e,t);var b=new Map;var y=(e,t,n)=>{const r=e.v.replace(/-/g,"_");const o=e.h;if(!o){return void 0}const i=b.get(o);if(i){return i[r]}
5
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${o}.entry.js${""}`).then((e=>{{b.set(o,e)}return e[r]}),(e=>{g(e,t.$hostElement$)}))};var $=new Map;var w="r";var m="o";var S="s";var F="t";var j="c";var z="s-id";var k="sty-id";var O="c-id";var C="{visibility:hidden}.hydrated{visibility:inherit}";var E="slot-fb{display:contents}slot-fb[hidden]{display:none}";var N="http://www.w3.org/1999/xlink";var D=typeof window!=="undefined"?window:{};var I={o:0,$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,r)=>e.addEventListener(t,n,r),rel:(e,t,n,r)=>e.removeEventListener(t,n,r),ce:(e,t)=>new CustomEvent(e,t)};var M=e=>Promise.resolve(e);var R=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false})();var A=R?(()=>!!D.document&&Object.getOwnPropertyDescriptor(D.document.adoptedStyleSheets,"length").writable)():false;var L=false;var T=[];var U=[];var B=(e,t)=>n=>{e.push(n);if(!L){L=true;if(t&&I.o&4){V(W)}else{I.raf(W)}}};var P=e=>{for(let t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){g(e)}}e.length=0};var W=()=>{P(T);{P(U);if(L=T.length>0){I.raf(W)}}};var V=e=>M().then(e);var _=B(U,true);var H=e=>e!=null&&e!==void 0;var q=e=>{e=typeof e;return e==="object"||e==="function"};function J(e){var t,n,r;return(r=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?r:void 0}var Y=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");var G=class e{static fromLocalValue(t){const n=t[c];const r=p in t?t[p]:void 0;switch(n){case"string":return r;case"boolean":return r;case"bigint":return BigInt(r);case"undefined":return void 0;case"null":return null;case"number":if(r==="NaN")return NaN;if(r==="-0")return-0;if(r==="Infinity")return Infinity;if(r==="-Infinity")return-Infinity;return r;case"array":return r.map((t=>e.fromLocalValue(t)));case"date":return new Date(r);case"map":const t=new Map;for(const[n,o]of r){const r=typeof n==="object"&&n!==null?e.fromLocalValue(n):n;const i=e.fromLocalValue(o);t.set(r,i)}return t;case"object":const o={};for(const[t,n]of r){o[t]=e.fromLocalValue(n)}return o;case"regexp":const{pattern:i,flags:s}=r;return new RegExp(i,s);case"set":const l=new Set;for(const t of r){l.add(e.fromLocalValue(t))}return l;case"symbol":return Symbol(r);default:throw new Error(`Unsupported type: ${n}`)}}static fromLocalValueArray(t){return t.map((t=>e.fromLocalValue(t)))}static isLocalValueObject(e){if(typeof e!=="object"||e===null){return false}if(!e.hasOwnProperty(c)){return false}const t=e[c];const n=Object.values({...f,...a}).includes(t);if(!n){return false}if(t!=="null"&&t!=="undefined"){return e.hasOwnProperty(p)}return true}};var K={};i(K,{err:()=>X,map:()=>Z,ok:()=>Q,unwrap:()=>ee,unwrapErr:()=>te});var Q=e=>({isOk:true,isErr:false,value:e});var X=e=>({isOk:false,isErr:true,value:e});function Z(e,t){if(e.isOk){const n=t(e.value);if(n instanceof Promise){return n.then((e=>Q(e)))}else{return Q(n)}}if(e.isErr){const t=e.value;return X(t)}throw"should never get here"}var ee=e=>{if(e.isOk){return e.value}else{throw e.value}};var te=e=>{if(e.isErr){return e.value}else{throw e.value}};function ne(e){if(typeof e!=="string"||!e.startsWith(u)){return e}return G.fromLocalValue(JSON.parse(atob(e.slice(u.length))))}function re(e){if(!R)return void 0;const t=new CSSStyleSheet;t.replaceSync(e);return t}var oe;function ie(e){var t;const n=this.attachShadow({mode:"open"});if(oe===void 0)oe=(t=re(r))!=null?t:null;if(oe){if(A){n.adoptedStyleSheets.push(oe)}else{n.adoptedStyleSheets=[...n.adoptedStyleSheets,oe]}}}var se=e=>{const t=de(e,"childNodes");if(e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"){fe(t,e.tagName).forEach((e=>{if(e.nodeType===1&&e.tagName==="SLOT-FB"){if(ae(e,ue(e),false).length){e.hidden=true}else{e.hidden=false}}}))}let n=0;for(n=0;n<t.length;n++){const e=t[n];if(e.nodeType===1&&de(e,"childNodes").length){se(e)}}};var le=e=>{const t=[];for(let n=0;n<e.length;n++){const r=e[n]["s-nr"]||void 0;if(r&&r.isConnected){t.push(r)}}return t};function fe(e,t,n){let r=0;let o=[];let i;for(;r<e.length;r++){i=e[r];if(i["s-sr"]&&(!t||i["s-hn"]===t)&&n===void 0){o.push(i)}o=[...o,...fe(i.childNodes,t,n)]}return o}var ae=(e,t,n=true)=>{const r=[];if(n&&e["s-sr"]||!e["s-sr"])r.push(e);let o=e;while(o=o.nextSibling){if(ue(o)===t&&(n||!o["s-sr"]))r.push(o)}return r};var ce=(e,t)=>{if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var pe=(e,t,n,r)=>{if(e["s-ol"]&&e["s-ol"].isConnected){return}const o=document.createTextNode("");o["s-nr"]=e;if(!t["s-cr"]||!t["s-cr"].parentNode)return;const i=t["s-cr"].parentNode;const s=de(i,"appendChild");if(typeof r!=="undefined"){o["s-oo"]=r;const e=de(i,"childNodes");const t=[o];e.forEach((e=>{if(e["s-nr"])t.push(e)}));t.sort(((e,t)=>{if(!e["s-oo"]||e["s-oo"]<(t["s-oo"]||0))return-1;else if(!t["s-oo"]||t["s-oo"]<e["s-oo"])return 1;return 0}));t.forEach((e=>s.call(i,e)))}else{s.call(i,o)}e["s-ol"]=o;e["s-sh"]=t["s-hn"]};var ue=e=>typeof e["s-sn"]==="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function ve(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;const t=t=>function(e){const n=[];const r=this["s-sn"];if(e==null?void 0:e.flatten){console.error(`\n Flattening is not supported for Stencil non-shadow slots.\n You can use \`.childNodes\` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n `)}const o=this["s-cr"].parentElement;const i=o.__childNodes?o.childNodes:le(o.childNodes);i.forEach((e=>{if(r===ue(e)){n.push(e)}}));if(t){return n.filter((e=>e.nodeType===1))}return n}.bind(e);e.assignedElements=t(true);e.assignedNodes=t(false)}function de(e,t){if("__"+t in e){const n=e["__"+t];if(typeof n!=="function")return n;return n.bind(e)}else{if(typeof e[t]!=="function")return e[t];return e[t].bind(e)}}var he=(e,t="")=>{{return()=>{}}};var xe=(e,t)=>{{return()=>{}}};var ge=new WeakMap;var be=(e,t,n)=>{let r=$.get(e);if(R&&n){r=r||new CSSStyleSheet;if(typeof r==="string"){r=t}else{r.replaceSync(t)}}else{r=t}$.set(e,r)};var ye=(e,t,n)=>{var r;const o=we(t);const i=$.get(o);if(!D.document){return o}e=e.nodeType===11?e:D.document;if(i){if(typeof i==="string"){e=e.head||e;let n=ge.get(e);let s;if(!n){ge.set(e,n=new Set)}if(!n.has(o)){if(e.host&&(s=e.querySelector(`[${k}="${o}"]`))){s.innerHTML=i}else{s=D.document.createElement("style");s.innerHTML=i;const n=(r=I.m)!=null?r:J(D.document);if(n!=null){s.setAttribute("nonce",n)}if(!(t.o&1)){if(e.nodeName==="HEAD"){const t=e.querySelectorAll("link[rel=preconnect]");const n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,(n==null?void 0:n.parentNode)===e?n:null)}else if("host"in e){if(R){const t=new CSSStyleSheet;t.replaceSync(i);if(A){e.adoptedStyleSheets.unshift(t)}else{e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}}else{const t=e.querySelector("style");if(t){t.innerHTML=i+t.innerHTML}else{e.prepend(s)}}}else{e.append(s)}}if(t.o&1){e.insertBefore(s,null)}}if(t.o&4){s.innerHTML+=E}if(n){n.add(o)}}}else if(!e.adoptedStyleSheets.includes(i)){if(A){e.adoptedStyleSheets.push(i)}else{e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]}}}return o};var $e=e=>{const t=e.i;const n=e.$hostElement$;const r=t.o;const o=he("attachStyles",t.v);const i=ye(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10){n["s-sc"]=i;n.classList.add(i+"-h")}o()};var we=(e,t)=>"sc-"+e.v;var me=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{");var Se=()=>{if(!D.document){return}const e=D.document.querySelectorAll(`[${k}]`);let t=0;for(;t<e.length;t++){be(e[t].getAttribute(k),me(e[t].innerHTML),true)}};var Fe=(e,t,...n)=>{let r=null;let o=null;let i=null;let s=false;let l=false;const f=[];const a=t=>{for(let n=0;n<t.length;n++){r=t[n];if(Array.isArray(r)){a(r)}else if(r!=null&&typeof r!=="boolean"){if(s=typeof e!=="function"&&!q(r)){r=String(r)}if(s&&l){f[f.length-1].S+=r}else{f.push(s?je(null,r):r)}l=s}}};a(n);if(t){if(t.key){o=t.key}if(t.name){i=t.name}{const e=t.className||t.class;if(e){t.class=typeof e!=="object"?e:Object.keys(e).filter((t=>e[t])).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,f,Oe)}const c=je(e,null);c.F=t;if(f.length>0){c.j=f}{c.k=o}{c.O=i}return c};var je=(e,t)=>{const n={o:0,C:e,S:t,N:null,j:null};{n.F=null}{n.k=null}{n.O=null}return n};var ze={};var ke=e=>e&&e.C===ze;var Oe={forEach:(e,t)=>e.map(Ce).forEach(t),map:(e,t)=>e.map(Ce).map(t).map(Ee)};var Ce=e=>({vattrs:e.F,vchildren:e.j,vkey:e.k,vname:e.O,vtag:e.C,vtext:e.S});var Ee=e=>{if(typeof e.vtag==="function"){const t={...e.vattrs};if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return Fe(e.vtag,t,...e.vchildren||[])}const t=je(e.vtag,e.vtext);t.F=e.vattrs;t.j=e.vchildren;t.k=e.vkey;t.O=e.vname;return t};var Ne=(e,t,n,r)=>{var o,i,s;const l=he("hydrateClient",t);const f=e.shadowRoot;const a=[];const c=[];const p=[];const u=f?[]:null;const d=je(t,null);d.N=e;const h=Object.entries(((o=r.i)==null?void 0:o.D)||{});h.forEach((([t,[n,o]])=>{var i;if(!(n&31)){return}const s=o||t;const l=e.getAttribute(s);if(l!==null){const e=Ue(l,n);(i=r==null?void 0:r.l)==null?void 0:i.set(t,e)}}));let x;{const t=r.i;if(t&&t.o&10&&e["s-sc"]){x=e["s-sc"];e.classList.add(x+"-h")}else if(e["s-sc"]){delete e["s-sc"]}}if(D.document&&(!I.I||!I.I.size)){Ie(D.document.body,I.I=new Map)}e[z]=n;e.removeAttribute(z);r.M=De(d,a,c,u,e,e,n,p);let g=0;const b=a.length;let y;for(g;g<b;g++){y=a[g];const n=y.R+"."+y.A;const r=I.I.get(n);const o=y.N;if(!f){o["s-hn"]=t.toUpperCase();if(y.C==="slot"){o["s-cr"]=e["s-cr"]}}else if(((i=y.C)==null?void 0:i.toString().includes("-"))&&y.C!=="slot-fb"&&!y.N.shadowRoot){const t=v(y.N);if(t){const n=we(t.i);const r=D.document.querySelector(`style[sty-id="${n}"]`);if(r){e.shadowRoot.append(r.cloneNode(true))}}}if(y.C==="slot"){y.O=y.N["s-sn"]||y.N["name"]||null;if(y.j){y.o|=2;if(!y.N.childNodes.length){y.j.forEach((e=>{y.N.appendChild(e.N)}))}}else{y.o|=1}}if(r&&r.isConnected){if(r.parentElement.shadowRoot&&r["s-en"]===""){r.parentNode.insertBefore(o,r.nextSibling)}r.parentNode.removeChild(r);if(!f){o["s-oo"]=parseInt(y.A)}}if(r&&!r["s-id"]){I.I.delete(n)}}const $=[];const w=p.length;let m=0;let S;let F;let j;let k;for(m;m<w;m++){S=p[m];if(!S||!S.length)continue;j=S.length;F=0;for(F;F<j;F++){k=S[F];if(!$[k.hostId]){$[k.hostId]=I.I.get(k.hostId)}if(!$[k.hostId])continue;const e=$[k.hostId];if(e.shadowRoot&&k.node.parentElement!==e){e.appendChild(k.node)}if(!e.shadowRoot||!f){if(!k.slot["s-cr"]){k.slot["s-cr"]=e["s-cr"];if(!k.slot["s-cr"]&&e.shadowRoot){k.slot["s-cr"]=e}else{k.slot["s-cr"]=(e.__childNodes||e.childNodes)[0]}}pe(k.node,k.slot,false,k.node["s-oo"]);if(((s=k.node.parentElement)==null?void 0:s.shadowRoot)&&k.node["getAttribute"]&&k.node.getAttribute("slot")){k.node.removeAttribute("slot")}}}}if(x&&c.length){c.forEach((e=>{e.N.parentElement.classList.add(x+"-s")}))}if(f){let t=0;const n=u.length;if(n){for(t;t<n;t++){const e=u[t];if(e){f.appendChild(e)}}Array.from(e.childNodes).forEach((e=>{if(typeof e["s-en"]!=="string"&&typeof e["s-sn"]!=="string"){if(e.nodeType===1&&e.slot&&e.hidden){e.removeAttribute("hidden")}else if(e.nodeType===8&&!e.nodeValue||e.nodeType===3&&!e.wholeText.trim()){e.parentNode.removeChild(e)}}}))}}r.$hostElement$=e;l()};var De=(e,t,n,r,o,i,s,l=[])=>{let f;let a;let c;let p;const u=o["s-sc"];if(i.nodeType===1){f=i.getAttribute(O);if(f){a=f.split(".");if(a[0]===s||a[0]==="0"){c=Me({o:0,R:a[0],A:a[1],L:a[2],T:a[3],C:i.tagName.toLowerCase(),N:i,F:{class:i.className||""}});t.push(c);i.removeAttribute(O);if(!e.j){e.j=[]}if(u&&a[0]===s){i["s-si"]=u;c.F.class+=" "+u}const o=c.N.getAttribute("s-sn");if(typeof o==="string"){if(c.C==="slot-fb"){Re(o,a[2],c,i,e,t,n,r,l);if(u){i.classList.add(u)}}c.N["s-sn"]=o;c.N.removeAttribute("s-sn")}if(c.T!==void 0){e.j[c.T]=c}e=c;if(r&&c.L==="0"){r[c.T]=c.N}}}if(i.shadowRoot){for(p=i.shadowRoot.childNodes.length-1;p>=0;p--){De(e,t,n,r,o,i.shadowRoot.childNodes[p],s,l)}}const v=i.__childNodes||i.childNodes;for(p=v.length-1;p>=0;p--){De(e,t,n,r,o,v[p],s,l)}}else if(i.nodeType===8){a=i.nodeValue.split(".");if(a[1]===s||a[1]==="0"){f=a[0];c=Me({R:a[1],A:a[2],L:a[3],T:a[4]||"0",N:i,F:null,j:null,k:null,O:null,C:null,S:null});if(f===F){c.N=Le(i,3);if(c.N&&c.N.nodeType===3){c.S=c.N.textContent;t.push(c);i.remove();if(s===c.R){if(!e.j){e.j=[]}e.j[c.T]=c}if(r&&c.L==="0"){r[c.T]=c.N}}}else if(f===j){c.N=Le(i,8);if(c.N&&c.N.nodeType===8){t.push(c);i.remove()}}else if(c.R===s){if(f===S){const o=i["s-sn"]=a[5]||"";Re(o,a[2],c,i,e,t,n,r,l)}else if(f===w){if(r){i.remove()}else{o["s-cr"]=i;i["s-cn"]=true}}}}}else if(e&&e.C==="style"){const t=je(null,i.textContent);t.N=i;t.T="0";e.j=[t]}else{if(i.nodeType===3&&!i.wholeText.trim()&&!i["s-nr"]){i.remove()}}return e};var Ie=(e,t)=>{if(e.nodeType===1){const n=e[z]||e.getAttribute(z);if(n){t.set(n,e)}let r=0;if(e.shadowRoot){for(;r<e.shadowRoot.childNodes.length;r++){Ie(e.shadowRoot.childNodes[r],t)}}const o=e.__childNodes||e.childNodes;for(r=0;r<o.length;r++){Ie(o[r],t)}}else if(e.nodeType===8){const n=e.nodeValue.split(".");if(n[0]===m){t.set(n[1]+"."+n[2],e);e.nodeValue="";e["s-en"]=n[3]}}};var Me=e=>{const t={o:0,R:null,A:null,L:null,T:"0",N:null,F:null,j:null,k:null,O:null,C:null,S:null};return{...t,...e}};function Re(e,t,n,r,o,i,s,l,f){r["s-sr"]=true;n.O=e||null;n.C="slot";const a=(o==null?void 0:o.N)?o.N["s-id"]||o.N.getAttribute("s-id"):"";if(l&&D.document){const i=n.N=D.document.createElement(n.C);if(n.O){n.N.setAttribute("name",e)}if(o.N.shadowRoot&&a&&a!==n.R){de(o.N,"insertBefore")(i,de(o.N,"children")[0])}else{de(de(r,"parentNode"),"insertBefore")(i,r)}Ae(f,t,e,r,n.R);r.remove();if(n.L==="0"){l[n.T]=n.N}}else{const i=n.N;const s=a&&a!==n.R&&o.N.shadowRoot;Ae(f,t,e,r,s?a:n.R);ve(r);if(s){o.N.insertBefore(i,o.N.children[0])}}i.push(n);s.push(n);if(!o.j){o.j=[]}o.j[n.T]=n}var Ae=(e,t,n,r,o)=>{var i,s;let l=r.nextSibling;e[t]=e[t]||[];if(!l||((i=l.nodeValue)==null?void 0:i.startsWith(S+".")))return;do{if(l&&((l["getAttribute"]&&l.getAttribute("slot")||l["s-sn"])===n||n===""&&!l["s-sn"]&&(!l["getAttribute"]||!l.getAttribute("slot"))&&(l.nodeType===8||l.nodeType===3))){l["s-sn"]=n;e[t].push({slot:r,node:l,hostId:o})}l=l==null?void 0:l.nextSibling}while(l&&!((s=l.nodeValue)==null?void 0:s.startsWith(S+".")))};var Le=(e,t)=>{let n=e;do{n=n.nextSibling}while(n&&(n.nodeType!==t||!n.nodeValue));return n};var Te=e=>{const t=Y(e);return new RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,"g")};Te("::slotted");Te(":host");Te(":host-context");var Ue=(e,t,n)=>{if(typeof e==="string"&&(e.startsWith("{")&&e.endsWith("}")||e.startsWith("[")&&e.endsWith("]"))){try{e=JSON.parse(e);return e}catch(e){}}if(typeof e==="string"&&e.startsWith(u)){e=ne(e);return e}if(e!=null&&!q(e)){if(t&4){{return e==="false"?false:e===""||!!e}}if(t&2){return typeof e==="string"?parseFloat(e):typeof e==="number"?e:NaN}if(t&1){return String(e)}return e}return e};var Be=e=>{var t;return(t=v(e))==null?void 0:t.$hostElement$};var Pe=(e,t,n)=>{const r=Be(e);return{emit:e=>We(r,t,{bubbles:true,composed:true,cancelable:true,detail:e})}};var We=(e,t,n)=>{const r=I.ce(t,n);e.dispatchEvent(r);return r};var Ve=(e,t,n,r,o,i,s)=>{if(n===r){return}let l=x(e,t);let f=t.toLowerCase();if(t==="class"){const t=e.classList;const o=He(n);let i=He(r);if((e["s-si"]||e["s-sc"])&&s){const n=e["s-sc"]||e["s-si"];i.push(n);o.forEach((e=>{if(e.startsWith(n))i.push(e)}));i=[...new Set(i)].filter((e=>e));t.add(...i)}else{t.remove(...o.filter((e=>e&&!i.includes(e))));t.add(...i.filter((e=>e&&!o.includes(e))))}}else if(t==="style"){{for(const t in n){if(!r||r[t]==null){if(t.includes("-")){e.style.removeProperty(t)}else{e.style[t]=""}}}}for(const t in r){if(!n||r[t]!==n[t]){if(t.includes("-")){e.style.setProperty(t,r[t])}else{e.style[t]=r[t]}}}}else if(t==="key");else if(t==="ref"){if(r){r(e)}}else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(x(D,f)){t=f.slice(2)}else{t=f[2]+t.slice(3)}if(n||r){const o=t.endsWith(qe);t=t.replace(Je,"");if(n){I.rel(e,t,n,o)}if(r){I.ael(e,t,r,o)}}}else{const s=q(r);if((l||s&&r!==null)&&!o){try{if(!e.tagName.includes("-")){const o=r==null?"":r;if(t==="list"){l=false}else if(n==null||e[t]!=o){if(typeof e.__lookupSetter__(t)==="function"){e[t]=o}else{e.setAttribute(t,o)}}}else if(e[t]!==r){e[t]=r}}catch(e){}}let a=false;{if(f!==(f=f.replace(/^xlink\:?/,""))){t=f;a=true}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){if(a){e.removeAttributeNS(N,t)}else{e.removeAttribute(t)}}}else if((!l||i&4||o)&&!s&&e.nodeType===1){r=r===true?"":r;if(a){e.setAttributeNS(N,t,r)}else{e.setAttribute(t,r)}}}};var _e=/\s/;var He=e=>{if(typeof e==="object"&&e&&"baseVal"in e){e=e.baseVal}if(!e||typeof e!=="string"){return[]}return e.split(_e)};var qe="Capture";var Je=new RegExp(qe+"$");var Ye=(e,t,n,r)=>{const o=t.N.nodeType===11&&t.N.host?t.N.host:t.N;const i=e&&e.F||{};const s=t.F||{};{for(const e of Ge(Object.keys(i))){if(!(e in s)){Ve(o,e,i[e],void 0,n,t.o,r)}}}for(const e of Ge(Object.keys(s))){Ve(o,e,i[e],s[e],n,t.o,r)}};function Ge(e){return e.includes("ref")?[...e.filter((e=>e!=="ref")),"ref"]:e}var Ke;var Qe;var Xe;var Ze=false;var et=false;var tt=false;var nt=false;var rt=(e,n,r)=>{var o;const i=n.j[r];let f=0;let a;let c;let p;if(!Ze){tt=true;if(i.C==="slot"){i.o|=i.j?2:1}}if(i.S!==null){a=i.N=D.document.createTextNode(i.S)}else if(i.o&1){a=i.N=D.document.createTextNode("");{Ye(null,i,nt)}}else{if(!nt){nt=i.C==="svg"}if(!D.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.")}a=i.N=D.document.createElementNS(nt?s:l,!Ze&&t.slotRelocation&&i.o&2?"slot-fb":i.C);if(nt&&i.C==="foreignObject"){nt=false}{Ye(null,i,nt)}if(H(Ke)&&a["s-si"]!==Ke){a.classList.add(a["s-si"]=Ke)}if(i.j){for(f=0;f<i.j.length;++f){c=rt(e,i,f);if(c){a.appendChild(c)}}}{if(i.C==="svg"){nt=false}else if(a.tagName==="foreignObject"){nt=true}}}a["s-hn"]=Xe;{if(i.o&(2|1)){a["s-sr"]=true;a["s-cr"]=Qe;a["s-sn"]=i.O||"";a["s-rf"]=(o=i.F)==null?void 0:o.ref;ve(a);p=e&&e.j&&e.j[r];if(p&&p.C===i.C&&e.N){{ot(e.N,false)}}{ht(Qe,a,n.N,e==null?void 0:e.N)}}}return a};var ot=(e,t)=>{I.o|=1;const n=Array.from(e.__childNodes||e.childNodes);for(let e=n.length-1;e>=0;e--){const r=n[e];if(r["s-hn"]!==Xe&&r["s-ol"]){dt(at(r).parentNode,r,at(r));r["s-ol"].remove();r["s-ol"]=void 0;r["s-sh"]=void 0;tt=true}if(t){ot(r,t)}}I.o&=-2};var it=(e,t,n,r,o,i)=>{let s=e["s-cr"]&&e["s-cr"].parentNode||e;let l;if(s.shadowRoot&&s.tagName===Xe){s=s.shadowRoot}for(;o<=i;++o){if(r[o]){l=rt(null,n,o);if(l){r[o].N=l;dt(s,l,at(t))}}}};var st=(e,t,n)=>{for(let r=t;r<=n;++r){const t=e[r];if(t){const e=t.N;vt(t);if(e){{et=true;if(e["s-ol"]){e["s-ol"].remove()}else{ot(e,true)}}e.remove()}}}};var lt=(e,t,n,r,o=false)=>{let i=0;let s=0;let l=0;let f=0;let a=t.length-1;let c=t[0];let p=t[a];let u=r.length-1;let v=r[0];let d=r[u];let h;let x;while(i<=a&&s<=u){if(c==null){c=t[++i]}else if(p==null){p=t[--a]}else if(v==null){v=r[++s]}else if(d==null){d=r[--u]}else if(ft(c,v,o)){ct(c,v,o);c=t[++i];v=r[++s]}else if(ft(p,d,o)){ct(p,d,o);p=t[--a];d=r[--u]}else if(ft(c,d,o)){if(c.C==="slot"||d.C==="slot"){ot(c.N.parentNode,false)}ct(c,d,o);dt(e,c.N,p.N.nextSibling);c=t[++i];d=r[--u]}else if(ft(p,v,o)){if(c.C==="slot"||d.C==="slot"){ot(p.N.parentNode,false)}ct(p,v,o);dt(e,p.N,c.N);p=t[--a];v=r[++s]}else{l=-1;{for(f=i;f<=a;++f){if(t[f]&&t[f].k!==null&&t[f].k===v.k){l=f;break}}}if(l>=0){x=t[l];if(x.C!==v.C){h=rt(t&&t[s],n,l)}else{ct(x,v,o);t[l]=void 0;h=x.N}v=r[++s]}else{h=rt(t&&t[s],n,s);v=r[++s]}if(h){{dt(at(c.N).parentNode,h,at(c.N))}}}}if(i>a){it(e,r[u+1]==null?null:r[u+1].N,n,r,s,u)}else if(s>u){st(t,i,a)}};var ft=(e,t,n=false)=>{if(e.C===t.C){if(e.C==="slot"){return e.O===t.O}if(!n){return e.k===t.k}if(n&&!e.k&&t.k){e.k=t.k}return true}return false};var at=e=>e&&e["s-ol"]||e;var ct=(e,n,r=false)=>{const o=n.N=e.N;const i=e.j;const s=n.j;const l=n.C;const f=n.S;let a;if(f===null){{nt=l==="svg"?true:l==="foreignObject"?false:nt}{Ye(e,n,nt,r)}if(i!==null&&s!==null){lt(o,i,n,s,r)}else if(s!==null){if(e.S!==null){o.textContent=""}it(o,null,n,s,0,s.length-1)}else if(!r&&t.updatable&&i!==null){st(i,0,i.length-1)}else if(r&&t.updatable&&i!==null&&s===null){n.j=i}if(nt&&l==="svg"){nt=false}}else if(a=o["s-cr"]){a.parentNode.textContent=f}else if(e.S!==f){o.data=f}};var pt=[];var ut=e=>{let t;let n;let r;const o=e.__childNodes||e.childNodes;for(const e of o){if(e["s-sr"]&&(t=e["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const o=e["s-sn"];for(r=n.length-1;r>=0;r--){t=n[r];if(!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==e["s-hn"]&&true){if(ce(t,o)){let n=pt.find((e=>e.U===t));et=true;t["s-sn"]=t["s-sn"]||o;if(n){n.U["s-sh"]=e["s-hn"];n.B=e}else{t["s-sh"]=e["s-hn"];pt.push({B:e,U:t})}if(t["s-sr"]){pt.map((e=>{if(ce(e.U,t["s-sn"])){n=pt.find((e=>e.U===t));if(n&&!e.B){e.B=n.B}}}))}}else if(!pt.some((e=>e.U===t))){pt.push({U:t})}}}}if(e.nodeType===1){ut(e)}}};var vt=e=>{{e.F&&e.F.ref&&e.F.ref(null);e.j&&e.j.map(vt)}};var dt=(e,t,n)=>{if(typeof t["s-sn"]==="string"&&!!t["s-sr"]&&!!t["s-cr"]){ht(t["s-cr"],t,e,t.parentElement)}{return e==null?void 0:e.insertBefore(t,n)}};function ht(e,t,n,r){var o,i;let s;if(e&&typeof t["s-sn"]==="string"&&!!t["s-sr"]&&e.parentNode&&e.parentNode["s-sc"]&&(s=t["s-si"]||e.parentNode["s-sc"])){const e=t["s-sn"];const l=t["s-hn"];(o=n.classList)==null?void 0:o.add(s+"-s");if(r&&((i=r.classList)==null?void 0:i.contains(s+"-s"))){let t=(r.__childNodes||r.childNodes)[0];let n=false;while(t){if(t["s-sn"]!==e&&t["s-hn"]===l&&!!t["s-sr"]){n=true;break}t=t.nextSibling}if(!n)r.classList.remove(s+"-s")}}}var xt=(e,t,n=false)=>{var r,o,i,s;const l=e.$hostElement$;const f=e.i;const a=e.M||je(null,null);const c=ke(t);const p=c?t:Fe(null,null,t);Xe=l.tagName;if(f.P){p.F=p.F||{};f.P.map((([e,t])=>p.F[t]=l[e]))}if(n&&p.F){for(const e of Object.keys(p.F)){if(l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)){p.F[e]=l[e]}}}p.C=null;p.o|=4;e.M=p;p.N=a.N=l.shadowRoot||l;{Ke=l["s-sc"]}Ze=!!(f.o&1)&&!(f.o&128);{Qe=l["s-cr"];et=false}ct(a,p,n);{I.o|=1;if(tt){ut(p.N);for(const e of pt){const t=e.U;if(!t["s-ol"]&&D.document){const e=D.document.createTextNode("");e["s-nr"]=t;dt(t.parentNode,t["s-ol"]=e,t)}}for(const e of pt){const t=e.U;const l=e.B;if(l){const e=l.parentNode;let n=l.nextSibling;{let i=(r=t["s-ol"])==null?void 0:r.previousSibling;while(i){let r=(o=i["s-nr"])!=null?o:null;if(r&&r["s-sn"]===t["s-sn"]&&e===(r.__parentNode||r.parentNode)){r=r.nextSibling;while(r===t||(r==null?void 0:r["s-sr"])){r=r==null?void 0:r.nextSibling}if(!r||!r["s-nr"]){n=r;break}}i=i.previousSibling}}const s=t.__parentNode||t.parentNode;const f=t.__nextSibling||t.nextSibling;if(!n&&e!==s||f!==n){if(t!==n){if(!t["s-hn"]&&t["s-ol"]){t["s-hn"]=t["s-ol"].parentNode.nodeName}dt(e,t,n);if(t.nodeType===1&&t.tagName!=="SLOT-FB"){t.hidden=(i=t["s-ih"])!=null?i:false}}}t&&typeof l["s-rf"]==="function"&&l["s-rf"](l)}else{if(t.nodeType===1){if(n){t["s-ih"]=(s=t.hidden)!=null?s:false}t.hidden=true}}}}if(et){se(p.N)}I.o&=-2;pt.length=0}Qe=void 0};var gt=(e,t)=>{if(t&&!e.W&&t["s-p"]){const n=t["s-p"].push(new Promise((r=>e.W=()=>{t["s-p"].splice(n-1,1);r()})))}};var bt=(e,t)=>{{e.o|=16}if(e.o&4){e.o|=512;return}gt(e,e.V);const n=()=>yt(e,t);if(t){queueMicrotask((()=>{n()}));return}return _(n)};var yt=(e,t)=>{const n=e.$hostElement$;const r=he("scheduleUpdate",e.i.v);const o=e.t;if(!o){throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`)}let i;if(t){i=zt(o,"componentWillLoad",void 0,n)}else{i=zt(o,"componentWillUpdate",void 0,n)}i=$t(i,(()=>zt(o,"componentWillRender",void 0,n)));r();return $t(i,(()=>mt(e,o,t)))};var $t=(e,t)=>wt(e)?e.then(t).catch((e=>{console.error(e);t()})):t();var wt=e=>e instanceof Promise||e&&e.then&&typeof e.then==="function";var mt=async(e,t,n)=>{var r;const o=e.$hostElement$;const i=he("update",e.i.v);const s=o["s-rc"];if(n){$e(e)}const l=he("render",e.i.v);{St(e,t,o,n)}if(s){s.map((e=>e()));o["s-rc"]=void 0}l();i();{const t=(r=o["s-p"])!=null?r:[];const n=()=>Ft(e);if(t.length===0){n()}else{Promise.all(t).then(n);e.o|=4;t.length=0}}};var St=(e,t,n,r)=>{try{t=t.render();{e.o&=-17}{e.o|=2}{{{xt(e,t,r)}}}}catch(t){g(t,e.$hostElement$)}return null};var Ft=e=>{const t=e.i.v;const n=e.$hostElement$;const r=he("postUpdate",t);const o=e.t;const i=e.V;zt(o,"componentDidRender",void 0,n);if(!(e.o&64)){e.o|=64;{kt(n)}zt(o,"componentDidLoad",void 0,n);r();{e.u(n);if(!i){jt()}}}else{zt(o,"componentDidUpdate",void 0,n);r()}{if(e.W){e.W();e.W=void 0}if(e.o&512){V((()=>bt(e,false)))}e.o&=-517}};var jt=t=>{var n;V((()=>We(D,"appload",{detail:{namespace:e}})));{if((n=I.I)==null?void 0:n.size){I.I.clear()}}};var zt=(e,t,n,r)=>{if(e&&e[t]){try{return e[t](n)}catch(e){g(e,r)}}return void 0};var kt=e=>{var n;return e.classList.add((n=t.hydratedSelectorName)!=null?n:"hydrated")};var Ot=(e,t)=>v(e).l.get(t);var Ct=(e,t,n,r)=>{const o=v(e);if(!o){return}if(!o){throw new Error(`Couldn't find host element for "${r.v}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`)}const i=o.$hostElement$;const s=o.l.get(t);const l=o.o;const f=o.t;n=Ue(n,r.D[t][0]);const a=Number.isNaN(s)&&Number.isNaN(n);const c=n!==s&&!a;if((!(l&8)||s===void 0)&&c){o.l.set(t,n);if(f){if(r._&&l&128){const e=r._[t];if(e){e.map((e=>{try{f[e](n,s,t)}catch(e){g(e,i)}}))}}if((l&(2|16))===2){if(f.componentShouldUpdate){if(f.componentShouldUpdate(n,s,t)===false){return}}bt(o,false)}}}};var Et=(e,n,r)=>{var o,i;const s=e.prototype;if(n.D||(n._||e.watchers)){if(e.watchers&&!n._){n._=e.watchers}const l=Object.entries((o=n.D)!=null?o:{});l.map((([e,[t]])=>{if(t&31||r&2&&t&32){const{get:o,set:i}=Object.getOwnPropertyDescriptor(s,e)||{};if(o)n.D[e][0]|=2048;if(i)n.D[e][0]|=4096;if(r&1||!o){Object.defineProperty(s,e,{get(){{if((n.D[e][0]&2048)===0){return Ot(this,e)}const t=v(this);const r=t?t.t:s;if(!r)return;return r[e]}},configurable:true,enumerable:true})}Object.defineProperty(s,e,{set(o){const s=v(this);if(!s){return}if(i){const r=t&32?this[e]:s.$hostElement$[e];if(typeof r==="undefined"&&s.l.get(e)){o=s.l.get(e)}else if(!s.l.get(e)&&r){s.l.set(e,r)}i.apply(this,[Ue(o,t)]);o=t&32?this[e]:s.$hostElement$[e];Ct(this,e,o,n);return}{if((r&1)===0||(n.D[e][0]&4096)===0){Ct(this,e,o,n);if(r&1&&!s.t){s.p.then((()=>{if(n.D[e][0]&4096&&s.t[e]!==s.l.get(e)){s.t[e]=o}}))}return}const i=()=>{const r=s.t[e];if(!s.l.get(e)&&r){s.l.set(e,r)}s.t[e]=Ue(o,t);Ct(this,e,s.t[e],n)};if(s.t){i()}else{s.p.then((()=>i()))}}}})}}));if(r&1){const r=new Map;s.attributeChangedCallback=function(e,o,i){I.jmp((()=>{var l;const f=r.get(e);if(this.hasOwnProperty(f)&&t.lazyLoad){i=this[f];delete this[f]}else if(s.hasOwnProperty(f)&&typeof this[f]==="number"&&this[f]==i){return}else if(f==null){const t=v(this);const r=t==null?void 0:t.o;if(t&&r&&!(r&8)&&r&128&&i!==o){const r=t.t;const s=(l=n._)==null?void 0:l[e];s==null?void 0:s.forEach((t=>{if(r[t]!=null){r[t].call(r,i,o,e)}}))}return}const a=Object.getOwnPropertyDescriptor(s,f);i=i===null&&typeof this[f]==="boolean"?false:i;if(i!==this[f]&&(!a.get||!!a.set)){this[f]=i}}))};e.observedAttributes=Array.from(new Set([...Object.keys((i=n._)!=null?i:{}),...l.filter((([e,t])=>t[0]&15)).map((([e,t])=>{var o;const i=t[1]||e;r.set(i,e);if(t[0]&512){(o=n.P)==null?void 0:o.push([e,i])}return i}))]))}}return e};var Nt=async(e,t,n,r)=>{let o;if((t.o&32)===0){t.o|=32;const r=n.h;if(r){const r=y(n,t);if(r&&"then"in r){const e=xe();o=await r;e()}else{o=r}if(!o){throw new Error(`Constructor for "${n.v}#${t.H}" was not found`)}if(!o.isProxied){{n._=o.watchers}Et(o,n,2);o.isProxied=true}const i=he("createInstance",n.v);{t.o|=8}try{new o(t)}catch(t){g(t,e)}{t.o&=-9}{t.o|=128}i();Dt(t.t,e)}else{o=e.constructor;const n=e.localName;customElements.whenDefined(n).then((()=>t.o|=128))}if(o&&o.style){let e;if(typeof o.style==="string"){e=o.style}const t=we(n);if(!$.has(t)){const r=he("registerStyles",n.v);be(t,e,!!(n.o&1));r()}}}const i=t.V;const s=()=>bt(t,true);if(i&&i["s-rc"]){i["s-rc"].push(s)}else{s()}};var Dt=(e,t)=>{{zt(e,"connectedCallback",void 0,t)}};var It=e=>{if((I.o&1)===0){const t=v(e);if(!t){return}const n=t.i;const r=he("connectedCallback",n.v);if(!(t.o&1)){t.o|=1;let r;{r=e.getAttribute(z);if(r){if(n.o&1){const t=ye(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}else if(n.o&2){const t=we(n);e["s-sc"]=t}Ne(e,n.v,r,t)}}if(!r){if(n.o&(4|8)){Mt(e)}}{let n=e;while(n=n.parentNode||n.host){if(n.nodeType===1&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){gt(t,t.V=n);break}}}if(n.D){Object.entries(n.D).map((([t,[n]])=>{if(n&31&&e.hasOwnProperty(t)){const n=e[t];delete e[t];e[t]=n}}))}{Nt(e,t,n)}}else{if(t==null?void 0:t.t){Dt(t.t,e)}else if(t==null?void 0:t.p){t.p.then((()=>Dt(t.t,e)))}}r()}};var Mt=e=>{if(!D.document){return}const t=e["s-cr"]=D.document.createComment("");t["s-cn"]=true;dt(e,t,e.firstChild)};var Rt=(e,t)=>{{zt(e,"disconnectedCallback",void 0,t||e)}};var At=async e=>{if((I.o&1)===0){const t=v(e);if(t==null?void 0:t.t){Rt(t.t,e)}else if(t==null?void 0:t.p){t.p.then((()=>Rt(t.t,e)))}}if(ge.has(e)){ge.delete(e)}if(e.shadowRoot&&ge.has(e.shadowRoot)){ge.delete(e.shadowRoot)}};var Lt=(e,t={})=>{var n;if(!D.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}const r=he();const o=[];const i=t.exclude||[];const s=D.customElements;const l=D.document.head;const f=l.querySelector("meta[charset]");const a=D.document.createElement("style");const c=[];let p;let u=true;Object.assign(I,t);I.$=new URL(t.resourcesUrl||"./",D.document.baseURI).href;{I.o|=2}{Se()}let d=false;e.map((e=>{e[1].map((t=>{var n;const r={o:t[0],v:t[1],D:t[2],q:t[3]};if(r.o&4){d=true}{r.D=t[2]}{r.P=[]}{r._=(n=t[4])!=null?n:{}}const l=r.v;const f=class extends HTMLElement{constructor(e){super(e);this.hasRegisteredEventListeners=false;e=this;h(e,r);if(r.o&1){{if(!e.shadowRoot){ie.call(e,r)}else{if(e.shadowRoot.mode!=="open"){throw new Error(`Unable to re-use existing shadow root for ${r.v}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}}}}connectedCallback(){const e=v(this);if(!e){return}if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true}if(p){clearTimeout(p);p=null}if(u){c.push(this)}else{I.jmp((()=>It(this)))}}disconnectedCallback(){I.jmp((()=>At(this)));I.raf((()=>{var e;const t=v(this);if(!t){return}const n=c.findIndex((e=>e===this));if(n>-1){c.splice(n,1)}if(((e=t==null?void 0:t.M)==null?void 0:e.N)instanceof Node&&!t.M.N.isConnected){delete t.M.N}}))}componentOnReady(){var e;return(e=v(this))==null?void 0:e.p}};r.h=e[0];if(!i.includes(l)&&!s.get(l)){o.push(l);s.define(l,Et(f,r,1))}}))}));if(o.length>0){if(d){a.textContent+=E}{a.textContent+=o.sort()+C}if(a.innerHTML.length){a.setAttribute("data-styles","");const e=(n=I.m)!=null?n:J(D.document);if(e!=null){a.setAttribute("nonce",e)}l.insertBefore(a,f?f.nextSibling:l.firstChild)}}u=false;if(c.length){c.map((e=>e.connectedCallback()))}else{{I.jmp((()=>p=setTimeout(jt,30)))}}r()};var Tt=e=>I.m=e;export{ze as H,Be as a,Lt as b,Pe as c,n as g,Fe as h,M as p,d as r,Tt as s};
6
+ //# sourceMappingURL=p-CwgZaF40.js.map