@peculiar/certificates-viewer 3.3.0 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{certification_request-e1997ebf.js → certification_request-b5fe8a57.js} +129 -151
- package/dist/cjs/{crl-f1ee43bc.js → crl-a1ac7534.js} +11 -2
- package/dist/cjs/l10n-17c96aba.js +169 -0
- package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js +23 -8
- package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +4 -4
- package/dist/cjs/peculiar-certificate-summary_3.cjs.entry.js +1 -1
- package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +4 -4
- package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +3 -3
- package/dist/cjs/{public_key-ba538d77.js → public_key-3d4ae164.js} +2 -2
- package/dist/cjs/{x509_certificate-42b478d2.js → x509_certificate-29a3636a.js} +2 -2
- package/dist/collection/components/crl-viewer/crl-viewer.js +1 -1
- package/dist/collection/components/crl-viewer/revoked_certificates.js +20 -3
- package/dist/collection/crypto/crl.js +9 -0
- package/dist/collection/crypto/utils.js +5 -4
- package/dist/collection/locales/en.json +3 -2
- package/dist/esm/{certification_request-5d982d92.js → certification_request-35ade000.js} +125 -147
- package/dist/esm/{crl-f2110716.js → crl-42d5e233.js} +11 -2
- package/dist/esm/l10n-a68d5748.js +165 -0
- package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js +23 -8
- package/dist/esm/peculiar-certificate-decoder.entry.js +4 -4
- package/dist/esm/peculiar-certificate-summary_3.entry.js +1 -1
- package/dist/esm/peculiar-certificate-viewer.entry.js +4 -4
- package/dist/esm/peculiar-certificates-viewer.entry.js +3 -3
- package/dist/esm/{public_key-0a3091a5.js → public_key-b2dba162.js} +2 -2
- package/dist/esm/{x509_certificate-6b243207.js → x509_certificate-2503dcc1.js} +2 -2
- package/dist/peculiar/locales/en.json +3 -2
- package/dist/peculiar/p-1a8379f0.entry.js +26 -0
- package/dist/peculiar/{p-e535a666.entry.js → p-3d0fdbd5.entry.js} +1 -1
- package/dist/peculiar/{p-f8dc3232.js → p-54171e39.js} +3 -3
- package/dist/peculiar/{p-3aea9dde.js → p-6cd6e6da.js} +5 -5
- package/dist/peculiar/{p-86116b1f.entry.js → p-7a0fb5a8.entry.js} +1 -1
- package/dist/peculiar/{p-49ab6f8c.entry.js → p-870c3592.entry.js} +1 -1
- package/dist/peculiar/{p-bce2bbe0.js → p-a5d07697.js} +7 -7
- package/dist/peculiar/{p-db6e24c6.js → p-b7045733.js} +1 -1
- package/dist/peculiar/{p-34e2d6be.entry.js → p-cb9b9f9c.entry.js} +1 -1
- package/dist/peculiar/p-fec9d812.js +12 -0
- package/dist/peculiar/peculiar.esm.js +1 -1
- package/dist/types/components/crl-viewer/revoked_certificates.d.ts +2 -2
- package/dist/types/crypto/crl.d.ts +7 -1
- package/dist/types/utils/l10n.d.ts +2 -1
- package/package.json +19 -19
- package/dist/cjs/l10n-638a7577.js +0 -167
- package/dist/esm/l10n-da0dd100.js +0 -163
- package/dist/peculiar/p-35e7a514.js +0 -12
- package/dist/peculiar/p-ca0c34ca.entry.js +0 -26
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{h as t,r as e,H as i}from"./p-f7683ba5.js";import{Q as a,S as r,y as s,W as d,I as n,T as o,V as l,U as h,t as c}from"./p-bce2bbe0.js";import{b as p}from"./p-cff9655c.js";import{l as b,a as g}from"./p-35e7a514.js";import{X as u,a as m,C as x}from"./p-3aea9dde.js";import{g as v,R as f,G as w,a as y,B as k,S as L,T as I,b as S,c as _,d as A,E as N,M as j,I as K,e as D,P as C}from"./p-f8dc3232.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 E=(e,i)=>{const{attribute:a}=e;return[t(f,{name:"Name",value:v(a.asn.type)}),i,t("tr",null,t("td",{colSpan:2,class:"divider"},t("span",{class:"bg_fill"})))]},P=e=>{const{name:i}=e;return i?i.map((e=>e.map((e=>t(f,{name:a[e.type]||e.type,value:e.value.toString()}))))):null},z=e=>{const{attribute:i}=e;return t(E,{attribute:i},t(P,{name:i.value}))},T=e=>{const{attribute:i}=e;return t(E,{attribute:i},t(f,{name:"Code Authority",value:""}),t(w,{generalName:i.value.codeAuthority,getDNSNameLink:()=>"",getIPAddressLink:()=>""}),t(f,{name:"Code Id",value:""}),t(w,{generalName:i.value.codeId,getDNSNameLink:()=>"",getIPAddressLink:()=>""}),t(f,{name:"Short Name",value:i.value.shortName}),t(f,{name:"Short Description",value:i.value.shortDescription}))},H=e=>{const{attribute:i}=e;return t(E,{attribute:i},t(f,{name:"Assessment Authority",value:""}),t(w,{generalName:i.value.assessmentAuthority,getDNSNameLink:()=>"",getIPAddressLink:()=>""}),t(f,{name:"Assessment Location",value:""}),t(w,{generalName:i.value.assessmentLocation,getDNSNameLink:()=>"",getIPAddressLink:()=>""}),t(f,{name:"Assessment Ref",value:""}),t(w,{generalName:i.value.assessmentRef,getDNSNameLink:()=>"",getIPAddressLink:()=>""}),t(f,{name:"Data Storage Territory",value:i.value.dataStorageTerritory}),t(f,{name:"Description",value:i.value.description}))},V=e=>{const{attribute:i}=e;return t(E,{attribute:i},t(f,{name:"Value",value:`${i.value.base} * 10^${i.value.degree} ${i.value.location}`}))},O=e=>{const{attribute:i}=e;return t(E,{attribute:i},Object.keys(i.value).map((e=>t(f,{name:e,value:i.value[e].toNumber()?b.getString("yes"):b.getString("no")}))))},$=t=>{let e=1;return t/100>1?e=100:t/10>1&&(e=10),`${t}/${5*e}`},q=e=>{const{attribute:i}=e,a=Object.keys(i.value).map((e=>[$(i.value[e]),t("br",null)]));return t(E,{attribute:i},t(f,{name:"Value",value:a}))},R=e=>{const{attribute:i}=e;return t(E,{attribute:i},t(f,{name:"Value",value:i.value,monospace:!0}))},W=e=>{const{attribute:i}=e;return t(E,{attribute:i},t(f,{name:"Value",value:i.value.utf8String}))},B=e=>{const{attribute:i}=e;return t(E,{attribute:i},t(f,{name:"Value",value:i.value.toString()}))},G=e=>{const{attributes:i}=e;return i&&i.length?[t(y,{value:"Attributes"}),i.map((e=>{try{return t(e.value instanceof r?z:e.value instanceof s?T:e.value instanceof d?H:e.value instanceof n?V:e.value instanceof o?O:e.value instanceof l?q:e.value instanceof h?W:e.value instanceof c?B:"string"==typeof e.value?R:E,{attribute:e})}catch(t){return console.error("Error render attribute:",e.asn.type),null}}))]:null},M=e=>{const{issuer:i}=e;return i?[t(y,{value:b.getString("issuer")}),i.map((e=>t(w,{generalName:e,getDNSNameLink:()=>"",getIPAddressLink:()=>""})))]:null},Q=e=>{const{holder:i}=e;if(!i)return null;const{baseCertificateID:a,objectDigestInfo:r}=i;return[t(y,{value:b.getString("holder")}),a&&[a.issuer.map((e=>t(w,{generalName:e,getDNSNameLink:()=>"",getIPAddressLink:()=>""}))),t("tr",null,t("td",null),t("td",null)),t(f,{name:b.getString("serialNumber"),value:p.Convert.ToHex(a.serial),monospace:!0}),t("tr",null,t("td",null),t("td",null))],r&&[t(f,{name:b.getString("digestInfo"),value:""}),t(f,{name:b.getString("algorithm"),value:v(r.digestAlgorithm.algorithm)}),t(f,{name:b.getString("value"),value:p.Convert.ToHex(r.objectDigest),monospace:!0}),t(f,{name:b.getString("type"),value:r.digestedObjectType})]]},U=class{constructor(t){e(this,t),this.isDecodeInProcess=!0,this.getAuthKeyIdParentLink=t=>{var e;return null===(e=this.authKeyIdParentLink)||void 0===e?void 0:e.replace("{{authKeyId}}",t)},this.getAuthKeyIdSiblingsLink=t=>{var e;return null===(e=this.authKeyIdSiblingsLink)||void 0===e?void 0:e.replace("{{authKeyId}}",t)},this.getSubjectKeyIdChildrenLink=t=>{var e;return null===(e=this.subjectKeyIdChildrenLink)||void 0===e?void 0:e.replace("{{subjectKeyId}}",t)},this.getSubjectKeyIdSiblingsLink=t=>{var e;return null===(e=this.subjectKeyIdSiblingsLink)||void 0===e?void 0:e.replace("{{subjectKeyId}}",t)}}componentWillLoad(){this.decodeCertificate(this.certificate)}async decodeCertificate(t){this.isDecodeInProcess=!0;try{if(t instanceof u)this.certificateDecoded=t;else{if("string"!=typeof t)return;this.certificateDecoded=new u(t)}this.certificateDecoded.parseExtensions(),this.certificateDecoded.parseAttributes(),await this.certificateDecoded.getThumbprint("SHA-1"),await this.certificateDecoded.getThumbprint("SHA-256")}catch(t){this.certificateDecodeError=t,console.error("Error certificate parse:",t)}this.isDecodeInProcess=!1}watchCertificateAndDecode(t,e){"string"!=typeof t||"string"!=typeof e?t instanceof u&&e instanceof u&&t.serialNumber!==e.serialNumber&&this.decodeCertificate(t):t!==e&&this.decodeCertificate(t)}renderErrorState(){return t("div",{class:"status_wrapper"},t("peculiar-typography",{type:"b1",class:"interaction_text"},"There was an error decoding this attribute certificate."))}renderEmptyState(){return t("div",{class:"status_wrapper"},t("peculiar-typography",{type:"b1",class:"interaction_text"},"There is no attribute certificate available."))}render(){return this.certificateDecodeError?this.renderErrorState():this.certificateDecoded?t(i,null,t("table",null,t(k,Object.assign({},this.certificateDecoded)),t(M,{issuer:this.certificateDecoded.issuer}),t(Q,{holder:this.certificateDecoded.holder}),t(L,{signature:this.certificateDecoded.signature}),t(I,{thumbprints:this.certificateDecoded.thumbprints}),t(G,{attributes:this.certificateDecoded.attributes,getLEILink:S,getDNSNameLink:_,getIPAddressLink:A,getAuthKeyIdParentLink:this.getAuthKeyIdParentLink,getAuthKeyIdSiblingsLink:this.getAuthKeyIdSiblingsLink,getSubjectKeyIdChildrenLink:this.getSubjectKeyIdChildrenLink,getSubjectKeyIdSiblingsLink:this.getSubjectKeyIdSiblingsLink}),t(N,{extensions:this.certificateDecoded.extensions,getLEILink:S,getDNSNameLink:_,getIPAddressLink:A,getAuthKeyIdParentLink:this.getAuthKeyIdParentLink,getAuthKeyIdSiblingsLink:this.getAuthKeyIdSiblingsLink,getSubjectKeyIdChildrenLink:this.getSubjectKeyIdChildrenLink,getSubjectKeyIdSiblingsLink:this.getSubjectKeyIdSiblingsLink}),this.download&&t(j,{certificate:this.certificateDecoded}))):this.renderEmptyState()}static get watchers(){return{certificate:["watchCertificateAndDecode"]}}};
|
|
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
|
-
*/U.style=":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:block;width:100%;word-wrap:break-word;position:relative;min-width:280px;min-height:300px;background:white;background:rgba(var(--pv-color-light-rgb), 1)}th,td{border:none}table{width:100%;margin-bottom:30px;border-spacing:0;border-collapse:collapse}table .title td{border-color:rgba(209, 213, 217, 0.5);border-color:rgba(var(--pv-color-grey_3-rgb), 0.5);padding-top:60px;padding-bottom:15px;border-bottom-width:1px;border-bottom-style:solid}table td:first-child{padding-left:30px;width:130px;padding-right:10px}table td:last-child{padding-right:30px;width:calc(100% - 130px)}table td{vertical-align:top;padding-top:5px;padding-bottom:5px}table td.vertical_align_middle{vertical-align:middle}table .title:first-child td{padding-top:15px}table .title+tr td{padding-top:15px}table td.monospace{max-width:0}table .divider{padding-top:15px;padding-bottom:15px}.divider .bg_fill{background-color:rgba(209, 213, 217, 0.5);background-color:rgba(var(--pv-color-grey_3-rgb), 0.5)}table tr:last-child .divider{padding-top:0;opacity:0}.divider span{display:block;height:1px}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.interaction_text{padding:15px 0;width:300px;margin:auto;text-align:center}@media (max-width: 900px){table,tr,td{display:block}table td:last-child,table td:first-child{padding-right:15px;padding-left:15px;width:100%}table .title+tr td{padding-top:5px}table .title+tr td:first-child{padding-top:15px}table td.monospace{width:100%;max-width:none}}:host([data-view=mobile]) table,:host([data-view=mobile]) tr,:host([data-view=mobile]) td{display:block}:host([data-view=mobile]) table td:last-child,:host([data-view=mobile]) table td:first-child{padding-right:15px;padding-left:15px;width:100%}:host([data-view=mobile]) table .title+tr td{padding-top:5px}:host([data-view=mobile]) table .title+tr td:first-child{padding-top:15px}:host([data-view=mobile]) table td.monospace{width:100%;max-width:none}";
|
|
19
|
-
/**
|
|
20
|
-
* @license
|
|
21
|
-
* Copyright (c) Peculiar Ventures, LLC.
|
|
22
|
-
*
|
|
23
|
-
* This source code is licensed under the MIT license found in the
|
|
24
|
-
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/
|
|
26
|
-
const X=e=>{const{certificates:i}=e;return[t(y,{value:b.getString("revokedCertificates")}),i.map((e=>[t(f,{name:b.getString("serialNumber"),value:p.Convert.ToHex(e.userCertificate),monospace:!0}),t(f,{name:b.getString("revocation"),value:g(e.revocationDate.getTime())}),t("tr",null,t("td",{colSpan:2,class:"divider"},t("span",{class:"bg_fill"})))]))]},F=class{constructor(t){e(this,t),this.isDecodeInProcess=!0,this.getAuthKeyIdParentLink=t=>{var e;return null===(e=this.authKeyIdParentLink)||void 0===e?void 0:e.replace("{{authKeyId}}",t)},this.getAuthKeyIdSiblingsLink=t=>{var e;return null===(e=this.authKeyIdSiblingsLink)||void 0===e?void 0:e.replace("{{authKeyId}}",t)}}componentWillLoad(){this.decodeCertificate(this.certificate)}async decodeCertificate(t){this.isDecodeInProcess=!0;try{if(t instanceof m)this.certificateDecoded=t;else{if("string"!=typeof t)return;this.certificateDecoded=new m(t)}this.certificateDecoded.parseExtensions(),await this.certificateDecoded.getThumbprint("SHA-1"),await this.certificateDecoded.getThumbprint("SHA-256")}catch(t){this.certificateDecodeError=t,console.error("Error certificate parse:",t)}this.isDecodeInProcess=!1}getIssuerDnLink(){return this.issuerDnLink}watchCertificateAndDecode(t,e){"string"!=typeof t||"string"!=typeof e?t instanceof m&&e instanceof m&&t.commonName!==e.commonName&&this.decodeCertificate(t):t!==e&&this.decodeCertificate(t)}renderErrorState(){return t("div",{class:"status_wrapper"},t("peculiar-typography",{type:"b1",class:"interaction_text"},"There was an error decoding this certificate revocation list."))}renderEmptyState(){return t("div",{class:"status_wrapper"},t("peculiar-typography",{type:"b1",class:"interaction_text"},"There is no certificate revocation list available."))}render(){return this.certificateDecodeError?this.renderErrorState():this.certificateDecoded?t(i,{"data-view":this.view},t("table",null,t(k,Object.assign({},this.certificateDecoded)),t(K,{name:this.certificateDecoded.issuer,issuerDnLink:this.getIssuerDnLink()}),t(L,{signature:this.certificateDecoded.signature}),t(I,{thumbprints:this.certificateDecoded.thumbprints}),t(N,{extensions:this.certificateDecoded.extensions,getLEILink:S,getDNSNameLink:_,getIPAddressLink:A,getAuthKeyIdParentLink:this.getAuthKeyIdParentLink,getAuthKeyIdSiblingsLink:this.getAuthKeyIdSiblingsLink}),this.certificateDecoded.asn.tbsCertList.revokedCertificates&&t(X,{certificates:this.certificateDecoded.asn.tbsCertList.revokedCertificates}),this.download&&t(j,{certificate:this.certificateDecoded}))):this.renderEmptyState()}static get watchers(){return{certificate:["watchCertificateAndDecode"]}}};F.style=":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:block;width:100%;word-wrap:break-word;position:relative;min-width:280px;min-height:300px;background:white;background:rgba(var(--pv-color-light-rgb), 1)}th,td{border:none}table{width:100%;margin-bottom:30px;border-spacing:0;border-collapse:collapse}table .title td{border-color:rgba(209, 213, 217, 0.5);border-color:rgba(var(--pv-color-grey_3-rgb), 0.5);padding-top:60px;padding-bottom:15px;border-bottom-width:1px;border-bottom-style:solid}table td:first-child{padding-left:30px;width:130px;padding-right:10px}table td:last-child{padding-right:30px;width:calc(100% - 130px)}table td{vertical-align:top;padding-top:5px;padding-bottom:5px}table td.vertical_align_middle{vertical-align:middle}table .title:first-child td{padding-top:15px}table .title+tr td{padding-top:15px}table td.monospace{max-width:0}table .divider{padding-top:15px;padding-bottom:15px}.divider .bg_fill{background-color:rgba(209, 213, 217, 0.5);background-color:rgba(var(--pv-color-grey_3-rgb), 0.5)}table tr:last-child .divider{padding-top:0;opacity:0}.divider span{display:block;height:1px}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.interaction_text{padding:15px 0;width:300px;margin:auto;text-align:center}@media (max-width: 900px){table,tr,td{display:block}table td:last-child,table td:first-child{padding-right:15px;padding-left:15px;width:100%}table .title+tr td{padding-top:5px}table .title+tr td:first-child{padding-top:15px}table td.monospace{width:100%;max-width:none}}:host([data-view=mobile]) table,:host([data-view=mobile]) tr,:host([data-view=mobile]) td{display:block}:host([data-view=mobile]) table td:last-child,:host([data-view=mobile]) table td:first-child{padding-right:15px;padding-left:15px;width:100%}:host([data-view=mobile]) table .title+tr td{padding-top:5px}:host([data-view=mobile]) table .title+tr td:first-child{padding-top:15px}:host([data-view=mobile]) table td.monospace{width:100%;max-width:none}";const J=class{constructor(t){e(this,t),this.isDecodeInProcess=!0,this.getAuthKeyIdParentLink=t=>t,this.getAuthKeyIdSiblingsLink=t=>t,this.getSubjectKeyIdChildrenLink=t=>{var e;return null===(e=this.subjectKeyIdChildrenLink)||void 0===e?void 0:e.replace("{{subjectKeyId}}",t)},this.getSubjectKeyIdSiblingsLink=t=>{var e;return null===(e=this.subjectKeyIdSiblingsLink)||void 0===e?void 0:e.replace("{{subjectKeyId}}",t)}}componentWillLoad(){this.decodeCertificate(this.certificate)}async decodeCertificate(t){this.isDecodeInProcess=!0;try{if(t instanceof x)this.certificateDecoded=t;else{if("string"!=typeof t)return;this.certificateDecoded=new x(t)}this.certificateDecoded.parseAttributes(),await this.certificateDecoded.getThumbprint("SHA-1"),await this.certificateDecoded.getThumbprint("SHA-256")}catch(t){this.certificateDecodeError=t,console.error("Error certificate parse:",t)}this.isDecodeInProcess=!1}watchCertificateAndDecode(t,e){"string"!=typeof t||"string"!=typeof e?t instanceof x&&e instanceof x&&t.commonName!==e.commonName&&this.decodeCertificate(t):t!==e&&this.decodeCertificate(t)}renderErrorState(){return t("div",{class:"status_wrapper"},t("peculiar-typography",{type:"b1",class:"interaction_text"},"There was an error decoding this certificate request."))}renderEmptyState(){return t("div",{class:"status_wrapper"},t("peculiar-typography",{type:"b1",class:"interaction_text"},"There is no certificate request available."))}getExtensionRequestAttribute(){if(this.certificateDecoded)return this.certificateDecoded.attributes.find((t=>"1.2.840.113549.1.9.14"===t.asn.type))}render(){if(this.certificateDecodeError)return this.renderErrorState();if(!this.certificateDecoded)return this.renderEmptyState();const e=this.getExtensionRequestAttribute();return t(i,{"data-view":this.view},t("table",null,t(k,Object.assign({},this.certificateDecoded)),t(D,{name:this.certificateDecoded.subject}),t(C,{publicKey:this.certificateDecoded.publicKey}),t(L,{signature:this.certificateDecoded.signature}),t(I,{thumbprints:this.certificateDecoded.thumbprints}),t(G,{attributes:this.certificateDecoded.attributes,getLEILink:S,getDNSNameLink:_,getIPAddressLink:A,getAuthKeyIdParentLink:this.getAuthKeyIdParentLink,getAuthKeyIdSiblingsLink:this.getAuthKeyIdSiblingsLink,getSubjectKeyIdChildrenLink:this.getSubjectKeyIdChildrenLink,getSubjectKeyIdSiblingsLink:this.getSubjectKeyIdSiblingsLink}),t(N,{extensions:null==e?void 0:e.value,title:"Extension Request",getLEILink:S,getDNSNameLink:_,getIPAddressLink:A,getAuthKeyIdParentLink:this.getAuthKeyIdParentLink,getAuthKeyIdSiblingsLink:this.getAuthKeyIdSiblingsLink,getSubjectKeyIdChildrenLink:this.getSubjectKeyIdChildrenLink,getSubjectKeyIdSiblingsLink:this.getSubjectKeyIdSiblingsLink}),this.download&&t(j,{certificate:this.certificateDecoded})))}static get watchers(){return{certificate:["watchCertificateAndDecode"]}}};J.style=":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:block;width:100%;word-wrap:break-word;position:relative;min-width:280px;min-height:300px;background:white;background:rgba(var(--pv-color-light-rgb), 1)}th,td{border:none}table{width:100%;margin-bottom:30px;border-spacing:0;border-collapse:collapse}table .title td{border-color:rgba(209, 213, 217, 0.5);border-color:rgba(var(--pv-color-grey_3-rgb), 0.5);padding-top:60px;padding-bottom:15px;border-bottom-width:1px;border-bottom-style:solid}table td:first-child{padding-left:30px;width:130px;padding-right:10px}table td:last-child{padding-right:30px;width:calc(100% - 130px)}table td{vertical-align:top;padding-top:5px;padding-bottom:5px}table td.vertical_align_middle{vertical-align:middle}table .title:first-child td{padding-top:15px}table .title+tr td{padding-top:15px}table td.monospace{max-width:0}table .divider{padding-top:15px;padding-bottom:15px}.divider .bg_fill{background-color:rgba(209, 213, 217, 0.5);background-color:rgba(var(--pv-color-grey_3-rgb), 0.5)}table tr:last-child .divider{padding-top:0;opacity:0}.divider span{display:block;height:1px}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.interaction_text{padding:15px 0;width:300px;margin:auto;text-align:center}@media (max-width: 900px){table,tr,td{display:block}table td:last-child,table td:first-child{padding-right:15px;padding-left:15px;width:100%}table .title+tr td{padding-top:5px}table .title+tr td:first-child{padding-top:15px}table td.monospace{width:100%;max-width:none}}:host([data-view=mobile]) table,:host([data-view=mobile]) tr,:host([data-view=mobile]) td{display:block}:host([data-view=mobile]) table td:last-child,:host([data-view=mobile]) table td:first-child{padding-right:15px;padding-left:15px;width:100%}:host([data-view=mobile]) table .title+tr td{padding-top:5px}:host([data-view=mobile]) table .title+tr td:first-child{padding-top:15px}:host([data-view=mobile]) table td.monospace{width:100%;max-width:none}";export{U as peculiar_attribute_certificate_viewer,F as peculiar_crl_viewer,J as peculiar_csr_viewer}
|