PageSourceSearch

https://www.greatwestlifeco.com/etc/clientlibs/canadalife/modern/cca32e0c/chunk-ProcessGuideDisplay.js

js greatwestlifeco.com collected 2026-10-02 10:58:26 UTC 3,625 bytes, 140 lines download raw bytes

1import { i as L, __tla as __tla_0 } from "./chunk-_virtual___federation_fn_import.js";
2import { I as k, b as y, y as C, L as b, D as N, F as v, __tla as __tla_1 } from "./chunk-index3.js";
3import { a as D, __tla as __tla_2 } from "./bundle.js";
4import { _ as F } from "./chunk-_plugin-vue_export-helper.js";
5let A;
6let __tla = Promise.all([
7  (() => {
8    try {
9      return __tla_0;
10    } catch {
11    }
12  })(),
13  (() => {
14    try {
15      return __tla_1;
16    } catch {
17    }
18  })(),
19  (() => {
20    try {
21      return __tla_2;
22    } catch {
23    }
24  })()
25]).then(async () => {
26  const w = {
27    name: "aem-process-guide-display",
28    components: {
29      CollapseDrawer: v,
30      CollapseList: N,
31      CardGrid: b,
32      Card: C,
33      ResourceList: y,
34      FeedbackMessage: k
35    },
36    props: {
37      processGuides: {
38        type: Array,
39        default: () => []
40      },
41      formsLabel: {
42        type: String,
43        default: function() {
44          return D.global.t("portal.search.processGuides.forms");
45        }
46      }
47    },
48    computed: {
49      displayedProcessGuides() {
50        return this.processGuides.map((r) => {
51          let o = r.processLinks ? r.processLinks.filter((t) => t.title && t.href) : [];
52          o = o.map((t) => ({
53            ...t,
54            linkType: "external"
55          }));
56          const c = r.forms ? r.forms.filter((t) => t.href && t.title) : [];
57          return {
58            ...r,
59            processLinks: o,
60            forms: c
61          };
62        });
63      }
64    }
65  }, { renderList: G, Fragment: M, openBlock: s, createElementBlock: i, createElementVNode: _, resolveComponent: n, withCtx: m, createVNode: x, createCommentVNode: a, createBlock: l, toDisplayString: B } = await L("vue"), V = {
66    key: 0,
67    class: "n:mb-md"
68  }, g = [
69    "innerHTML"
70  ], T = [
71    "innerHTML"
72  ], E = {
73    key: 2,
74    class: "h5"
75  };
76  function H(r, o, c, t, P, d) {
77    const u = n("FeedbackMessage"), p = n("ResourceList"), f = n("CollapseDrawer"), h = n("CollapseList");
78    return s(), l(h, {
79      variant: "drawer-hybrid",
80      "remove-gutter": "",
81      class: "n:mb-0"
82    }, {
83      default: m(() => [
84        (s(true), i(M, null, G(d.displayedProcessGuides, (e) => (s(), l(f, {
85          key: e,
86          title: e.name
87        }, {
88          default: m(() => [
89            e.highlightedNote && e.highlightedNote.length ? (s(), i("div", V, [
90              x(u, {
91                preset: "note",
92                "dismissal-type": "instance"
93              }, {
94                default: m(() => [
95                  _("p", {
96                    innerHTML: e.highlightedNote
97                  }, null, 8, g)
98                ]),
99                _: 2
100              }, 1024)
101            ])) : a("", true),
102            _("p", {
103              innerHTML: e.description
104            }, null, 8, T),
105            e.processLinks ? (s(), l(p, {
106              key: 1,
107              "list-items": e.processLinks,
108              "no-rules": true,
109              "clear-spacing-after": true
110            }, null, 8, [
111              "list-items"
112            ])) : a("", true),
113            e.forms && e.forms.length ? (s(), i("h4", E, B(c.formsLabel), 1)) : a("", true),
114            e.forms ? (s(), l(p, {
115              key: 3,
116              "list-items": e.forms,
117              "no-rules": true
118            }, null, 8, [
119              "list-items"
120            ])) : a("", true)
121          ]),
122          _: 2
123        }, 1032, [
124          "title"
125        ]))), 128))
126      ]),
127      _: 1
128    });
129  }
130  A = F(w, [
131    [
132      "render",
133      H
134    ]
135  ]);
136});
137export {
138  __tla,
139  A as default
140};

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.