PageSourceSearch

https://www.principalam.com/profiles/contrib/houston/modules/pfg_p…-debug-mode-error-message.chunk-CZlqrPlc.js

js principalam.com collected 2026-09-28 08:20:07 UTC 1,865 bytes, 61 lines download raw bytes

1import { i, b as e, A as n } from "./lit-element.chunk-B6Olh1kf.js";
2import "./alert-circle.chunk-ojagbSqn.js";
3const a = i`
4  .pds-c-debug-error-card {
5    border: 1px solid var(--pds-semantic-border-error);
6    border-radius: 8px;
7    height: 100%;
8    border-left: 8px solid var(--pds-semantic-border-error);
9    padding: 16px;
10    background: var(--pds-semantic-background-default);
11  }
12
13  .pds-c-debug-error-body {
14    display: flex;
15    padding: 0;
16  }
17
18  .pds-c-debug-error-icon {
19    display: flex;
20    align-items: center;
21  }
22
23  .pds-c-debug-error-content {
24    color: var(--pds-semantic-text-default);
25    font-family: var(--pds-semantic-type-body-default-font-family);
26    margin-left: 32px;
27  }
28
29  .pds-c-debug-error-content strong {
30    font-family: var(--pds-semantic-type-body-bold-default-font-family);
31  }
32`, l = (o, r) => {
33  const s = Array.isArray(r) ? r : [r], d = e`
34    <style>
35      ${a}
36    </style>
37    <div class="pds-c-debug-error-card">
38      <div class="pds-c-debug-error-body">
39        <div class="pds-c-debug-error-icon">
40          <pds-icon-alert-circle size="lg"></pds-icon-alert-circle>
41        </div>
42        <div class="pds-c-debug-error-content">
43          <strong>Error:</strong>
44          The <em>${o}</em> component is missing required attributes
45          or has an invalid configuration. <br /><br />
46          <strong>Details:</strong>
47          ${s.length > 0 ? e`<ul role="list">
48                ${s.map(
49    (t) => e`<li role="listitem">${t}</li>`
50  )}
51              </ul>` : ""}
52        </div>
53      </div>
54    </div>
55  `;
56  return typeof process < "u" && process.env && (process.env.NODE_ENV !== "production" && process.env.NEXT_PUBLIC_PDS_DEBUG_MODE === "verbose" || process.env.PDS_DEBUG_MODE === "verbose") ? d : n;
57};
58export {
59  l as p
60};
61//# sourceMappingURL=pds-debug-mode-error-message.chunk-CZlqrPlc.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.