@mx-cartographer/experiences 9.7.173 → 9.7.174

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [9.7.174] - 11-17-2026
2
+
3
+ - **ADDED** - Monthly Top Transacted Merchant V2: the mini card draws the stars illustration (`svg_image_block` variant `quiz`) above the quiz description, the micro card the "?" tile with "Learn More"; Storybook gains quiz, results and zero state fixtures for full, mini and micro (WEC-2284)
4
+
1
5
  ## [9.7.173] - 11-17-2026
2
6
 
3
7
  - **FIXED** - Discovered Accounts' pending card wash is at Figma's 127° (WEC-2342)
@@ -1,22 +1,28 @@
1
- import { resolveVariantConfig as g } from "../../resolveVariantConfig.es.js";
2
- import { ThemedSVGImage as f } from "../../../components/chartblocks/ThemedSVGImage.es.js";
1
+ import { resolveVariantConfig as d } from "../../resolveVariantConfig.es.js";
2
+ import { ThemedSVGImage as g } from "../../../components/chartblocks/ThemedSVGImage.es.js";
3
3
  import { CtaStatus as p } from "../../../components/CtaStatus.es.js";
4
- import { getLayoutConfig as d } from "./layout.es.js";
5
- import { EmergencySavingsAccountPicker as v } from "./EmergencySavingsAccountPicker.es.js";
6
- import i from "@mui/material/Stack";
7
- import { jsx as e, jsxs as h } from "react/jsx-runtime";
8
- var I = ({ payload: { instance_slot: s, instance_slot_data: m, widget_type: c }, beatGuid: l }) => {
9
- const a = c === "full", { variant: n, data: o } = s, t = g(d(m?.isCIBC), n, "savings", "SVGImageBlock"), r = typeof o?.saved_label == "string" ? o.saved_label.trim() : "";
10
- return /* @__PURE__ */ h(i, {
4
+ import { getLayoutConfig as f } from "./layout.es.js";
5
+ import { EmergencySavingsAccountPicker as h } from "./EmergencySavingsAccountPicker.es.js";
6
+ import r from "@mui/material/Stack";
7
+ import { jsx as e, jsxs as v } from "react/jsx-runtime";
8
+ var b = ({ payload: { instance_slot: s, instance_slot_data: m, widget_type: c }, beatGuid: l }) => {
9
+ const i = c === "full", { variant: n, data: o } = s, t = d(f(m?.isCIBC), n, "savings", "SVGImageBlock"), a = typeof o?.saved_label == "string" ? o.saved_label.trim() : "";
10
+ return /* @__PURE__ */ v(r, {
11
11
  alignItems: "center",
12
12
  sx: { width: "100%" },
13
13
  children: [
14
- /* @__PURE__ */ e(f, { image: t.image }),
15
- t.showPicker && a && /* @__PURE__ */ e(v, {
14
+ /* @__PURE__ */ e(g, {
15
+ divProps: t.width ? { style: {
16
+ maxWidth: t.width,
17
+ width: "100%"
18
+ } } : void 0,
19
+ image: t.image
20
+ }),
21
+ t.showPicker && i && /* @__PURE__ */ e(h, {
16
22
  beatGuid: l,
17
23
  data: o
18
24
  }),
19
- t.showSavedLabel && a && r && /* @__PURE__ */ e(i, {
25
+ t.showSavedLabel && i && a && /* @__PURE__ */ e(r, {
20
26
  sx: {
21
27
  pt: 24,
22
28
  px: 16,
@@ -24,7 +30,7 @@ var I = ({ payload: { instance_slot: s, instance_slot_data: m, widget_type: c },
24
30
  },
25
31
  children: /* @__PURE__ */ e(p, {
26
32
  icon: "check_circle",
27
- label: r,
33
+ label: a,
28
34
  tone: "success"
29
35
  })
30
36
  })
@@ -32,7 +38,7 @@ var I = ({ payload: { instance_slot: s, instance_slot_data: m, widget_type: c },
32
38
  });
33
39
  };
34
40
  export {
35
- I as SVGImageBlock
41
+ b as SVGImageBlock
36
42
  };
37
43
 
38
44
  //# sourceMappingURL=SVGImageBlock.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SVGImageBlock.es.js","names":[],"sources":["../../../../../src/insights-v2/blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.tsx"],"sourcesContent":["import Stack from '@mui/material/Stack'\n\nimport { BlockProps } from '../../types'\nimport { resolveVariantConfig } from '../../resolveVariantConfig'\nimport { getLayoutConfig } from './layout'\n\nimport type { SVGImageBlockData } from '../../../../core/types/InsightsInstanceSlotData'\n\nimport { ThemedSVGImage } from '../../../components/chartblocks/ThemedSVGImage'\nimport { CtaStatus } from '../../../components/CtaStatus'\nimport { EmergencySavingsAccountPicker } from './EmergencySavingsAccountPicker'\n\nexport const SVGImageBlock = ({\n payload: { instance_slot, instance_slot_data, widget_type },\n beatGuid,\n}: BlockProps<SVGImageBlockData>) => {\n const isFull = widget_type === 'full'\n const { variant, data } = instance_slot\n // An unknown variant (drift with ditto) warns and draws the plain illustration.\n const layoutConfig = resolveVariantConfig(\n getLayoutConfig(instance_slot_data?.isCIBC),\n variant,\n 'savings',\n 'SVGImageBlock',\n )\n\n const savedLabel = typeof data?.saved_label === 'string' ? data.saved_label.trim() : ''\n\n return (\n <Stack alignItems=\"center\" sx={{ width: '100%' }}>\n <ThemedSVGImage image={layoutConfig.image} />\n {layoutConfig.showPicker && isFull && (\n <EmergencySavingsAccountPicker beatGuid={beatGuid} data={data} />\n )}\n {layoutConfig.showSavedLabel &&\n isFull &&\n savedLabel && (\n // Figma 1943:219096: the saved status sits in the card body, under the illustration.\n <Stack sx={{ pt: 24, px: 16, width: '100%' }}>\n <CtaStatus icon=\"check_circle\" label={savedLabel} tone=\"success\" />\n </Stack>\n )}\n </Stack>\n )\n}\n"],"mappings":";;;;;;;AAYA,IAAa,IAAA,CAAiB,EAC5B,SAAS,EAAE,eAAA,GAAe,oBAAA,GAAoB,aAAA,EAAA,GAC9C,UAAA,EAAA,MACmC;AACnC,QAAM,IAAS,MAAgB,QACzB,EAAE,SAAA,GAAS,MAAA,EAAA,IAAS,GAEpB,IAAe,EACnB,EAAgB,GAAoB,MAAM,GAC1C,GACA,WACA,eACF,GAEM,IAAa,OAAO,GAAM,eAAgB,WAAW,EAAK,YAAY,KAAK,IAAI;AAErF,SACE,gBAAA,EAAC,GAAD;AAAA,IAAO,YAAW;AAAA,IAAS,IAAI,EAAE,OAAO,OAAO;AAAA,IAA/C,UAAA;AAAA,MACE,gBAAA,EAAC,GAAD,EAAgB,OAAO,EAAa,MAAQ,CAAA;AAAA,MAC3C,EAAa,cAAc,KAC1B,gBAAA,EAAC,GAAD;AAAA,QAAyC,UAAA;AAAA,QAAgB,MAAA;AAAA,MAAO,CAAA;AAAA,MAEjE,EAAa,kBACZ,KACA,KAEE,gBAAA,EAAC,GAAD;AAAA,QAAO,IAAI;AAAA,UAAE,IAAI;AAAA,UAAI,IAAI;AAAA,UAAI,OAAO;AAAA,QAAO;AAAA,QACzC,UAAA,gBAAA,EAAC,GAAD;AAAA,UAAW,MAAK;AAAA,UAAe,OAAO;AAAA,UAAY,MAAK;AAAA,QAAW,CAAA;AAAA,MAC7D,CAAA;AAAA,IAEN;AAAA;AAEX"}
1
+ {"version":3,"file":"SVGImageBlock.es.js","names":[],"sources":["../../../../../src/insights-v2/blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.tsx"],"sourcesContent":["import Stack from '@mui/material/Stack'\n\nimport { BlockProps } from '../../types'\nimport { resolveVariantConfig } from '../../resolveVariantConfig'\nimport { getLayoutConfig } from './layout'\n\nimport type { SVGImageBlockData } from '../../../../core/types/InsightsInstanceSlotData'\n\nimport { ThemedSVGImage } from '../../../components/chartblocks/ThemedSVGImage'\nimport { CtaStatus } from '../../../components/CtaStatus'\nimport { EmergencySavingsAccountPicker } from './EmergencySavingsAccountPicker'\n\nexport const SVGImageBlock = ({\n payload: { instance_slot, instance_slot_data, widget_type },\n beatGuid,\n}: BlockProps<SVGImageBlockData>) => {\n const isFull = widget_type === 'full'\n const { variant, data } = instance_slot\n // An unknown variant (drift with ditto) warns and draws the plain illustration.\n const layoutConfig = resolveVariantConfig(\n getLayoutConfig(instance_slot_data?.isCIBC),\n variant,\n 'savings',\n 'SVGImageBlock',\n )\n\n const savedLabel = typeof data?.saved_label === 'string' ? data.saved_label.trim() : ''\n\n return (\n <Stack alignItems=\"center\" sx={{ width: '100%' }}>\n <ThemedSVGImage\n divProps={\n layoutConfig.width\n ? { style: { maxWidth: layoutConfig.width, width: '100%' } }\n : undefined\n }\n image={layoutConfig.image}\n />\n {layoutConfig.showPicker && isFull && (\n <EmergencySavingsAccountPicker beatGuid={beatGuid} data={data} />\n )}\n {layoutConfig.showSavedLabel &&\n isFull &&\n savedLabel && (\n // Figma 1943:219096: the saved status sits in the card body, under the illustration.\n <Stack sx={{ pt: 24, px: 16, width: '100%' }}>\n <CtaStatus icon=\"check_circle\" label={savedLabel} tone=\"success\" />\n </Stack>\n )}\n </Stack>\n )\n}\n"],"mappings":";;;;;;;AAYA,IAAa,IAAA,CAAiB,EAC5B,SAAS,EAAE,eAAA,GAAe,oBAAA,GAAoB,aAAA,EAAA,GAC9C,UAAA,EAAA,MACmC;AACnC,QAAM,IAAS,MAAgB,QACzB,EAAE,SAAA,GAAS,MAAA,EAAA,IAAS,GAEpB,IAAe,EACnB,EAAgB,GAAoB,MAAM,GAC1C,GACA,WACA,eACF,GAEM,IAAa,OAAO,GAAM,eAAgB,WAAW,EAAK,YAAY,KAAK,IAAI;AAErF,SACE,gBAAA,EAAC,GAAD;AAAA,IAAO,YAAW;AAAA,IAAS,IAAI,EAAE,OAAO,OAAO;AAAA,IAA/C,UAAA;AAAA,MACE,gBAAA,EAAC,GAAD;AAAA,QACE,UACE,EAAa,QACT,EAAE,OAAO;AAAA,UAAE,UAAU,EAAa;AAAA,UAAO,OAAO;AAAA,QAAO,EAAE,IACzD;AAAA,QAEN,OAAO,EAAa;AAAA,MACrB,CAAA;AAAA,MACA,EAAa,cAAc,KAC1B,gBAAA,EAAC,GAAD;AAAA,QAAyC,UAAA;AAAA,QAAgB,MAAA;AAAA,MAAO,CAAA;AAAA,MAEjE,EAAa,kBACZ,KACA,KAEE,gBAAA,EAAC,GAAD;AAAA,QAAO,IAAI;AAAA,UAAE,IAAI;AAAA,UAAI,IAAI;AAAA,UAAI,OAAO;AAAA,QAAO;AAAA,QACzC,UAAA,gBAAA,EAAC,GAAD;AAAA,UAAW,MAAK;AAAA,UAAe,OAAO;AAAA,UAAY,MAAK;AAAA,QAAW,CAAA;AAAA,MAC7D,CAAA;AAAA,IAEN;AAAA;AAEX"}
@@ -0,0 +1,238 @@
1
+ import { forwardRef as i } from "react";
2
+ import { jsx as C, jsxs as e } from "react/jsx-runtime";
3
+ var a = (t, r) => /* @__PURE__ */ e("svg", {
4
+ "aria-hidden": "true",
5
+ focusable: "false",
6
+ width: "100%",
7
+ viewBox: "0 0 212 102",
8
+ fill: "none",
9
+ xmlns: "http://www.w3.org/2000/svg",
10
+ ref: r,
11
+ ...t,
12
+ children: [
13
+ /* @__PURE__ */ C("path", {
14
+ opacity: 0.25,
15
+ d: "M14.0771 53.2431L23.9563 51.3318C27.2343 50.6976 30.6286 51.1092 33.66 52.5085L66.3852 67.6149C72.6664 70.5144 77.8715 75.3235 81.2578 81.3561L81.5771 81.9248C91.1071 98.9021 113.389 103.636 128.998 91.9999L198.451 52.1913C206.211 47.7434 210.998 39.4829 210.998 30.5385L210.998 26.8654C210.998 17.8919 205.047 10.0066 196.417 7.54555C192.873 6.53464 189.118 6.51841 185.565 7.49865L101.242 30.7607C92.6355 33.1349 83.4181 30.6737 77.1409 24.3254C69.6853 16.7855 58.2454 14.8536 48.7274 19.5273L9.26523 38.9044C6.65335 40.1869 4.99841 42.8434 4.9986 45.7532C4.99892 50.5479 9.3697 54.1538 14.0771 53.2431Z",
16
+ className: "brand300",
17
+ fill: "#2C64EF"
18
+ }),
19
+ /* @__PURE__ */ e("g", {
20
+ filter: "url(#filter0_d_16493_33369)",
21
+ children: [
22
+ /* @__PURE__ */ C("rect", {
23
+ x: 38,
24
+ y: 14,
25
+ width: 143,
26
+ height: 78,
27
+ rx: 7.16302,
28
+ className: "brand300",
29
+ fill: "#2C64EF"
30
+ }),
31
+ /* @__PURE__ */ C("rect", {
32
+ x: 38.1119,
33
+ y: 14.1119,
34
+ width: 142.776,
35
+ height: 77.7762,
36
+ rx: 7.0511,
37
+ strokeWidth: 0.223844,
38
+ stroke: "black",
39
+ strokeOpacity: 0.12
40
+ }),
41
+ /* @__PURE__ */ C("rect", {
42
+ x: 38,
43
+ y: 14,
44
+ width: 143,
45
+ height: 78,
46
+ rx: 7.16302,
47
+ fill: "white",
48
+ fillOpacity: 0.93
49
+ }),
50
+ /* @__PURE__ */ C("rect", {
51
+ x: 38.1119,
52
+ y: 14.1119,
53
+ width: 142.776,
54
+ height: 77.7762,
55
+ rx: 7.0511,
56
+ strokeWidth: 0.223844,
57
+ stroke: "black",
58
+ strokeOpacity: 0.12
59
+ })
60
+ ]
61
+ }),
62
+ /* @__PURE__ */ C("path", {
63
+ d: "M103.212 26.9087C105.78 22.3029 107.063 20 108.983 20C110.902 20 112.186 22.3029 114.754 26.9087L115.419 28.1007C116.149 29.4102 116.514 30.065 117.081 30.4968C117.649 30.9286 118.358 31.0888 119.777 31.4091L121.067 31.701C126.053 32.8301 128.545 33.3937 129.139 35.3013C129.73 37.2068 128.032 39.1955 124.632 43.1708L123.752 44.1986C122.788 45.3278 122.303 45.8934 122.086 46.5907C121.869 47.2901 121.942 48.0442 122.088 49.5504L122.222 50.9228C122.735 56.228 122.992 58.8796 121.44 60.0574C119.887 61.2352 117.551 60.1608 112.885 58.0119L111.675 57.4565C110.349 56.8443 109.686 56.5402 108.983 56.5402C108.279 56.5402 107.616 56.8443 106.291 57.4565L105.083 58.0119C100.414 60.1608 98.0788 61.2352 96.528 60.0594C94.9732 58.8796 95.2307 56.228 95.7435 50.9228L95.8773 49.5525C96.0233 48.0442 96.0963 47.2901 95.8773 46.5928C95.6625 45.8934 95.178 45.3278 94.2131 44.2007L93.3333 43.1708C89.9338 39.1975 88.235 37.2089 88.827 35.3013C89.4189 33.3937 91.9143 32.8281 96.901 31.701L98.1903 31.4091C99.6073 31.0888 100.315 30.9286 100.884 30.4968C101.454 30.065 101.817 29.4102 102.547 28.1007L103.212 26.9087Z",
64
+ fill: "#FFB70D"
65
+ }),
66
+ /* @__PURE__ */ C("path", {
67
+ d: "M77.0188 46.4826C77.5267 44.2061 77.7802 43.068 78.5941 42.8258C79.4079 42.5837 80.2424 43.3981 81.9122 45.0267L82.3444 45.4482C82.8189 45.9113 83.0562 46.1429 83.3513 46.2544C83.6464 46.3658 83.9674 46.3442 84.6094 46.301L85.1928 46.2621C87.4493 46.1118 88.5765 46.0365 89.069 46.7703C89.5603 47.5035 89.0909 48.5608 88.1512 50.6749L87.9078 51.2216C87.6412 51.822 87.5072 52.1229 87.5032 52.4459C87.4994 52.7698 87.6255 53.0803 87.8773 53.7004L88.1072 54.2653C88.9938 56.4497 89.4374 57.5414 88.9276 58.2365C88.4179 58.9317 87.2924 58.7708 85.043 58.4484L84.4599 58.3656C83.8207 58.2733 83.5013 58.228 83.2031 58.3167C82.9049 58.4054 82.6622 58.618 82.1774 59.0447L81.7353 59.4326C80.0271 60.9324 79.1726 61.6825 78.3669 61.3796C77.5589 61.0756 77.3336 59.919 76.8819 57.6052L76.7657 57.0074C76.6374 56.3496 76.5732 56.0207 76.3924 55.7526C76.2131 55.4832 75.9364 55.3046 75.3851 54.9485L74.8823 54.6228C72.9399 53.3672 71.9689 52.7384 71.9792 51.855C71.9895 50.9716 72.9761 50.4171 74.948 49.3103L75.4578 49.0239C76.0181 48.7094 76.2978 48.5522 76.4848 48.2973C76.6719 48.0424 76.7431 47.7191 76.8873 47.0719L77.0188 46.4826Z",
68
+ fill: "#FFB70D"
69
+ }),
70
+ /* @__PURE__ */ C("path", {
71
+ d: "M142.981 46.4826C142.473 44.2061 142.22 43.068 141.406 42.8258C140.592 42.5837 139.758 43.3981 138.088 45.0267L137.656 45.4482C137.181 45.9113 136.944 46.1429 136.649 46.2544C136.354 46.3658 136.033 46.3442 135.391 46.301L134.807 46.2621C132.551 46.1118 131.423 46.0365 130.931 46.7703C130.44 47.5035 130.909 48.5608 131.849 50.6749L132.092 51.2216C132.359 51.822 132.493 52.1229 132.497 52.4459C132.501 52.7698 132.375 53.0803 132.123 53.7004L131.893 54.2653C131.006 56.4497 130.563 57.5414 131.072 58.2365C131.582 58.9317 132.708 58.7708 134.957 58.4484L135.54 58.3656C136.179 58.2733 136.499 58.228 136.797 58.3167C137.095 58.4054 137.338 58.618 137.823 59.0447L138.265 59.4326C139.973 60.9324 140.827 61.6825 141.633 61.3796C142.441 61.0756 142.666 59.919 143.118 57.6052L143.234 57.0074C143.363 56.3496 143.427 56.0207 143.608 55.7526C143.787 55.4832 144.064 55.3046 144.615 54.9485L145.118 54.6228C147.06 53.3672 148.031 52.7384 148.021 51.855C148.01 50.9716 147.024 50.4171 145.052 49.3103L144.542 49.0239C143.982 48.7094 143.702 48.5522 143.515 48.2973C143.328 48.0424 143.257 47.7191 143.113 47.0719L142.981 46.4826Z",
72
+ fill: "#FFB70D"
73
+ }),
74
+ /* @__PURE__ */ e("g", {
75
+ filter: "url(#filter1_d_16493_33369)",
76
+ children: [
77
+ /* @__PURE__ */ C("rect", {
78
+ x: 31,
79
+ y: 6,
80
+ width: 143,
81
+ height: 78,
82
+ rx: 7.16302,
83
+ className: "brand300",
84
+ fill: "#2C64EF"
85
+ }),
86
+ /* @__PURE__ */ C("rect", {
87
+ x: 31,
88
+ y: 6,
89
+ width: 143,
90
+ height: 78,
91
+ rx: 7.16302,
92
+ fill: "white"
93
+ }),
94
+ /* @__PURE__ */ C("rect", {
95
+ x: 31.1119,
96
+ y: 6.11192,
97
+ width: 142.776,
98
+ height: 77.7762,
99
+ rx: 7.0511,
100
+ strokeWidth: 0.223844,
101
+ stroke: "black",
102
+ strokeOpacity: 0.12
103
+ })
104
+ ]
105
+ }),
106
+ /* @__PURE__ */ C("path", {
107
+ d: "M43 63H158.116M43 68.2H163M43 74H92.5349",
108
+ strokeWidth: 2,
109
+ strokeLinecap: "round",
110
+ className: "brand300",
111
+ stroke: "#2C64EF"
112
+ }),
113
+ /* @__PURE__ */ C("path", {
114
+ d: "M96.2115 18.9087C98.7799 14.3029 100.063 12 101.983 12C103.902 12 105.186 14.3029 107.754 18.9087L108.419 20.1007C109.149 21.4102 109.514 22.065 110.081 22.4968C110.649 22.9286 111.358 23.0888 112.777 23.4091L114.067 23.701C119.053 24.8301 121.545 25.3937 122.139 27.3013C122.73 29.2068 121.032 31.1955 117.632 35.1708L116.752 36.1986C115.788 37.3278 115.303 37.8934 115.086 38.5907C114.869 39.2901 114.942 40.0442 115.088 41.5504L115.222 42.9228C115.735 48.228 115.992 50.8796 114.44 52.0574C112.887 53.2352 110.551 52.1608 105.885 50.0119L104.675 49.4565C103.349 48.8443 102.686 48.5402 101.983 48.5402C101.279 48.5402 100.616 48.8443 99.2907 49.4565L98.0826 50.0119C93.4141 52.1608 91.0788 53.2352 89.528 52.0594C87.9732 50.8796 88.2307 48.228 88.7435 42.9228L88.8773 41.5525C89.0233 40.0442 89.0963 39.2901 88.8773 38.5928C88.6625 37.8934 88.178 37.3278 87.2131 36.2007L86.3333 35.1708C82.9338 31.1975 81.235 29.2089 81.827 27.3013C82.4189 25.3937 84.9143 24.8281 89.901 23.701L91.1903 23.4091C92.6073 23.0888 93.3147 22.9286 93.8844 22.4968C94.454 22.065 94.8168 21.4102 95.5466 20.1007L96.2115 18.9087Z",
115
+ fill: "#FFB70D"
116
+ }),
117
+ /* @__PURE__ */ C("path", {
118
+ d: "M70.0188 38.4866C70.5267 36.21 70.7802 35.0719 71.5941 34.8297C72.4079 34.5876 73.2424 35.402 74.9122 37.0306L75.3444 37.4521C75.8189 37.9152 76.0562 38.1468 76.3513 38.2583C76.6464 38.3697 76.9674 38.3481 77.6094 38.3049L78.1928 38.2661C80.4493 38.1157 81.5765 38.0404 82.069 38.7742C82.5603 39.5074 82.0909 40.5647 81.1512 42.6788L80.9078 43.2255C80.6412 43.8259 80.5072 44.1268 80.5032 44.4498C80.4994 44.7737 80.6255 45.0842 80.8773 45.7043L81.1072 46.2692C81.9938 48.4536 82.4374 49.5453 81.9276 50.2405C81.4179 50.9356 80.2924 50.7747 78.043 50.4523L77.4599 50.3695C76.8207 50.2772 76.5013 50.2319 76.2031 50.3206C75.9049 50.4093 75.6622 50.6219 75.1774 51.0486L74.7353 51.4365C73.0271 52.9363 72.1726 53.6864 71.3669 53.3835C70.5589 53.0795 70.3336 51.9229 69.8819 49.6091L69.7657 49.0113C69.6374 48.3535 69.5732 48.0246 69.3924 47.7565C69.2131 47.4871 68.9364 47.3085 68.3851 46.9524L67.8823 46.6267C65.9399 45.3711 64.9689 44.7423 64.9792 43.8589C64.9895 42.9756 65.9761 42.421 67.948 41.3142L68.4578 41.0278C69.0181 40.7133 69.2978 40.5562 69.4848 40.3012C69.6719 40.0463 69.7431 39.723 69.8873 39.0758L70.0188 38.4866Z",
119
+ fill: "#FFB70D"
120
+ }),
121
+ /* @__PURE__ */ C("path", {
122
+ d: "M135.981 38.4866C135.473 36.21 135.22 35.0719 134.406 34.8297C133.592 34.5876 132.758 35.402 131.088 37.0306L130.656 37.4521C130.181 37.9152 129.944 38.1468 129.649 38.2583C129.354 38.3697 129.033 38.3481 128.391 38.3049L127.807 38.2661C125.551 38.1157 124.423 38.0404 123.931 38.7742C123.44 39.5074 123.909 40.5647 124.849 42.6788L125.092 43.2255C125.359 43.8259 125.493 44.1268 125.497 44.4498C125.501 44.7737 125.375 45.0842 125.123 45.7043L124.893 46.2692C124.006 48.4536 123.563 49.5453 124.072 50.2405C124.582 50.9356 125.708 50.7747 127.957 50.4523L128.54 50.3695C129.179 50.2772 129.499 50.2319 129.797 50.3206C130.095 50.4093 130.338 50.6219 130.823 51.0486L131.265 51.4365C132.973 52.9363 133.827 53.6864 134.633 53.3835C135.441 53.0795 135.666 51.9229 136.118 49.6091L136.234 49.0113C136.363 48.3535 136.427 48.0246 136.608 47.7565C136.787 47.4871 137.064 47.3085 137.615 46.9524L138.118 46.6267C140.06 45.3711 141.031 44.7423 141.021 43.8589C141.01 42.9756 140.024 42.421 138.052 41.3142L137.542 41.0278C136.982 40.7133 136.702 40.5562 136.515 40.3012C136.328 40.0463 136.257 39.723 136.113 39.0758L135.981 38.4866Z",
123
+ fill: "#FFB70D"
124
+ }),
125
+ /* @__PURE__ */ C("mask", {
126
+ id: "mask0_16493_33369",
127
+ style: { maskType: "alpha" },
128
+ maskUnits: "userSpaceOnUse",
129
+ x: 138,
130
+ y: 9,
131
+ width: 29,
132
+ height: 29,
133
+ children: /* @__PURE__ */ C("rect", {
134
+ x: 138.109,
135
+ y: 14.5,
136
+ width: 24,
137
+ height: 24,
138
+ transform: "rotate(-12.9782 138.109 14.5)",
139
+ fill: "#D9D9D9"
140
+ })
141
+ }),
142
+ /* @__PURE__ */ C("g", {
143
+ mask: "url(#mask0_16493_33369)",
144
+ children: /* @__PURE__ */ C("path", {
145
+ d: "M151.538 25.5672L148.96 23.955C148.74 23.8175 148.492 23.7806 148.216 23.8442C147.94 23.9078 147.733 24.0495 147.596 24.2694C147.459 24.4892 147.422 24.7372 147.485 25.0132C147.549 25.2893 147.691 25.4961 147.91 25.6336L151.328 27.7708C151.567 27.9207 151.817 27.9658 152.077 27.9059C152.337 27.846 152.542 27.6961 152.692 27.4563L156.929 20.6818C157.066 20.462 157.103 20.214 157.039 19.9379C156.976 19.6618 156.834 19.455 156.614 19.3176C156.394 19.1801 156.147 19.1432 155.87 19.2068C155.594 19.2704 155.388 19.4121 155.25 19.632L151.538 25.5672ZM154.744 33.2433C153.396 33.554 152.07 33.5901 150.767 33.3518C149.463 33.1134 148.272 32.6568 147.193 31.9819C146.114 31.307 145.182 30.4358 144.397 29.3681C143.612 28.3004 143.064 27.0926 142.754 25.7446C142.443 24.3966 142.407 23.0708 142.645 21.7673C142.883 20.4638 143.34 19.2725 144.015 18.1934C144.69 17.1143 145.561 16.1823 146.629 15.3974C147.697 14.6126 148.904 14.0649 150.252 13.7542C151.6 13.4435 152.926 13.4074 154.23 13.6457C155.533 13.8841 156.724 14.3407 157.804 15.0156C158.883 15.6905 159.815 16.5618 160.599 17.6294C161.384 18.6971 161.932 19.905 162.243 21.253C162.553 22.601 162.59 23.9267 162.351 25.2302C162.113 26.5337 161.656 27.725 160.981 28.8041C160.306 29.8833 159.435 30.8152 158.367 31.6001C157.3 32.3849 156.092 32.9326 154.744 33.2433Z",
146
+ fill: "#12875E"
147
+ })
148
+ }),
149
+ /* @__PURE__ */ e("defs", { children: [/* @__PURE__ */ e("filter", {
150
+ id: "filter0_d_16493_33369",
151
+ x: 30,
152
+ y: 8,
153
+ width: 159,
154
+ height: 94,
155
+ filterUnits: "userSpaceOnUse",
156
+ colorInterpolationFilters: "sRGB",
157
+ children: [
158
+ /* @__PURE__ */ C("feFlood", {
159
+ floodOpacity: 0,
160
+ result: "BackgroundImageFix"
161
+ }),
162
+ /* @__PURE__ */ C("feColorMatrix", {
163
+ in: "SourceAlpha",
164
+ type: "matrix",
165
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
166
+ result: "hardAlpha"
167
+ }),
168
+ /* @__PURE__ */ C("feOffset", { dy: 2 }),
169
+ /* @__PURE__ */ C("feGaussianBlur", { stdDeviation: 4 }),
170
+ /* @__PURE__ */ C("feComposite", {
171
+ in2: "hardAlpha",
172
+ operator: "out"
173
+ }),
174
+ /* @__PURE__ */ C("feColorMatrix", {
175
+ type: "matrix",
176
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.12 0"
177
+ }),
178
+ /* @__PURE__ */ C("feBlend", {
179
+ mode: "normal",
180
+ in2: "BackgroundImageFix",
181
+ result: "effect1_dropShadow_16493_33369"
182
+ }),
183
+ /* @__PURE__ */ C("feBlend", {
184
+ mode: "normal",
185
+ in: "SourceGraphic",
186
+ in2: "effect1_dropShadow_16493_33369",
187
+ result: "shape"
188
+ })
189
+ ]
190
+ }), /* @__PURE__ */ e("filter", {
191
+ id: "filter1_d_16493_33369",
192
+ x: 23,
193
+ y: 0,
194
+ width: 159,
195
+ height: 94,
196
+ filterUnits: "userSpaceOnUse",
197
+ colorInterpolationFilters: "sRGB",
198
+ children: [
199
+ /* @__PURE__ */ C("feFlood", {
200
+ floodOpacity: 0,
201
+ result: "BackgroundImageFix"
202
+ }),
203
+ /* @__PURE__ */ C("feColorMatrix", {
204
+ in: "SourceAlpha",
205
+ type: "matrix",
206
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
207
+ result: "hardAlpha"
208
+ }),
209
+ /* @__PURE__ */ C("feOffset", { dy: 2 }),
210
+ /* @__PURE__ */ C("feGaussianBlur", { stdDeviation: 4 }),
211
+ /* @__PURE__ */ C("feComposite", {
212
+ in2: "hardAlpha",
213
+ operator: "out"
214
+ }),
215
+ /* @__PURE__ */ C("feColorMatrix", {
216
+ type: "matrix",
217
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.12 0"
218
+ }),
219
+ /* @__PURE__ */ C("feBlend", {
220
+ mode: "normal",
221
+ in2: "BackgroundImageFix",
222
+ result: "effect1_dropShadow_16493_33369"
223
+ }),
224
+ /* @__PURE__ */ C("feBlend", {
225
+ mode: "normal",
226
+ in: "SourceGraphic",
227
+ in2: "effect1_dropShadow_16493_33369",
228
+ result: "shape"
229
+ })
230
+ ]
231
+ })] })
232
+ ]
233
+ }), d = i(a);
234
+ export {
235
+ d as ReactComponent
236
+ };
237
+
238
+ //# sourceMappingURL=QuizStars.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuizStars.es.js","names":[],"sources":["../../../../../../src/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/QuizStars.svg"],"sourcesContent":["import * as React from \"react\";\nimport { forwardRef } from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgQuizStars = (props, ref) => /* @__PURE__ */ _jsxs(\"svg\", {\n\t\"aria-hidden\": \"true\",\n\tfocusable: \"false\",\n\twidth: \"100%\",\n\tviewBox: \"0 0 212 102\",\n\tfill: \"none\",\n\txmlns: \"http://www.w3.org/2000/svg\",\n\tref,\n\t...props,\n\tchildren: [\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\topacity: .25,\n\t\t\td: \"M14.0771 53.2431L23.9563 51.3318C27.2343 50.6976 30.6286 51.1092 33.66 52.5085L66.3852 67.6149C72.6664 70.5144 77.8715 75.3235 81.2578 81.3561L81.5771 81.9248C91.1071 98.9021 113.389 103.636 128.998 91.9999L198.451 52.1913C206.211 47.7434 210.998 39.4829 210.998 30.5385L210.998 26.8654C210.998 17.8919 205.047 10.0066 196.417 7.54555C192.873 6.53464 189.118 6.51841 185.565 7.49865L101.242 30.7607C92.6355 33.1349 83.4181 30.6737 77.1409 24.3254C69.6853 16.7855 58.2454 14.8536 48.7274 19.5273L9.26523 38.9044C6.65335 40.1869 4.99841 42.8434 4.9986 45.7532C4.99892 50.5479 9.3697 54.1538 14.0771 53.2431Z\",\n\t\t\tclassName: \"brand300\",\n\t\t\tfill: \"#2C64EF\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsxs(\"g\", {\n\t\t\tfilter: \"url(#filter0_d_16493_33369)\",\n\t\t\tchildren: [\n\t\t\t\t/* @__PURE__ */ _jsx(\"rect\", {\n\t\t\t\t\tx: 38,\n\t\t\t\t\ty: 14,\n\t\t\t\t\twidth: 143,\n\t\t\t\t\theight: 78,\n\t\t\t\t\trx: 7.16302,\n\t\t\t\t\tclassName: \"brand300\",\n\t\t\t\t\tfill: \"#2C64EF\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"rect\", {\n\t\t\t\t\tx: 38.1119,\n\t\t\t\t\ty: 14.1119,\n\t\t\t\t\twidth: 142.776,\n\t\t\t\t\theight: 77.7762,\n\t\t\t\t\trx: 7.0511,\n\t\t\t\t\tstrokeWidth: .223844,\n\t\t\t\t\tstroke: \"black\",\n\t\t\t\t\tstrokeOpacity: .12\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"rect\", {\n\t\t\t\t\tx: 38,\n\t\t\t\t\ty: 14,\n\t\t\t\t\twidth: 143,\n\t\t\t\t\theight: 78,\n\t\t\t\t\trx: 7.16302,\n\t\t\t\t\tfill: \"white\",\n\t\t\t\t\tfillOpacity: .93\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"rect\", {\n\t\t\t\t\tx: 38.1119,\n\t\t\t\t\ty: 14.1119,\n\t\t\t\t\twidth: 142.776,\n\t\t\t\t\theight: 77.7762,\n\t\t\t\t\trx: 7.0511,\n\t\t\t\t\tstrokeWidth: .223844,\n\t\t\t\t\tstroke: \"black\",\n\t\t\t\t\tstrokeOpacity: .12\n\t\t\t\t})\n\t\t\t]\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M103.212 26.9087C105.78 22.3029 107.063 20 108.983 20C110.902 20 112.186 22.3029 114.754 26.9087L115.419 28.1007C116.149 29.4102 116.514 30.065 117.081 30.4968C117.649 30.9286 118.358 31.0888 119.777 31.4091L121.067 31.701C126.053 32.8301 128.545 33.3937 129.139 35.3013C129.73 37.2068 128.032 39.1955 124.632 43.1708L123.752 44.1986C122.788 45.3278 122.303 45.8934 122.086 46.5907C121.869 47.2901 121.942 48.0442 122.088 49.5504L122.222 50.9228C122.735 56.228 122.992 58.8796 121.44 60.0574C119.887 61.2352 117.551 60.1608 112.885 58.0119L111.675 57.4565C110.349 56.8443 109.686 56.5402 108.983 56.5402C108.279 56.5402 107.616 56.8443 106.291 57.4565L105.083 58.0119C100.414 60.1608 98.0788 61.2352 96.528 60.0594C94.9732 58.8796 95.2307 56.228 95.7435 50.9228L95.8773 49.5525C96.0233 48.0442 96.0963 47.2901 95.8773 46.5928C95.6625 45.8934 95.178 45.3278 94.2131 44.2007L93.3333 43.1708C89.9338 39.1975 88.235 37.2089 88.827 35.3013C89.4189 33.3937 91.9143 32.8281 96.901 31.701L98.1903 31.4091C99.6073 31.0888 100.315 30.9286 100.884 30.4968C101.454 30.065 101.817 29.4102 102.547 28.1007L103.212 26.9087Z\",\n\t\t\tfill: \"#FFB70D\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M77.0188 46.4826C77.5267 44.2061 77.7802 43.068 78.5941 42.8258C79.4079 42.5837 80.2424 43.3981 81.9122 45.0267L82.3444 45.4482C82.8189 45.9113 83.0562 46.1429 83.3513 46.2544C83.6464 46.3658 83.9674 46.3442 84.6094 46.301L85.1928 46.2621C87.4493 46.1118 88.5765 46.0365 89.069 46.7703C89.5603 47.5035 89.0909 48.5608 88.1512 50.6749L87.9078 51.2216C87.6412 51.822 87.5072 52.1229 87.5032 52.4459C87.4994 52.7698 87.6255 53.0803 87.8773 53.7004L88.1072 54.2653C88.9938 56.4497 89.4374 57.5414 88.9276 58.2365C88.4179 58.9317 87.2924 58.7708 85.043 58.4484L84.4599 58.3656C83.8207 58.2733 83.5013 58.228 83.2031 58.3167C82.9049 58.4054 82.6622 58.618 82.1774 59.0447L81.7353 59.4326C80.0271 60.9324 79.1726 61.6825 78.3669 61.3796C77.5589 61.0756 77.3336 59.919 76.8819 57.6052L76.7657 57.0074C76.6374 56.3496 76.5732 56.0207 76.3924 55.7526C76.2131 55.4832 75.9364 55.3046 75.3851 54.9485L74.8823 54.6228C72.9399 53.3672 71.9689 52.7384 71.9792 51.855C71.9895 50.9716 72.9761 50.4171 74.948 49.3103L75.4578 49.0239C76.0181 48.7094 76.2978 48.5522 76.4848 48.2973C76.6719 48.0424 76.7431 47.7191 76.8873 47.0719L77.0188 46.4826Z\",\n\t\t\tfill: \"#FFB70D\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M142.981 46.4826C142.473 44.2061 142.22 43.068 141.406 42.8258C140.592 42.5837 139.758 43.3981 138.088 45.0267L137.656 45.4482C137.181 45.9113 136.944 46.1429 136.649 46.2544C136.354 46.3658 136.033 46.3442 135.391 46.301L134.807 46.2621C132.551 46.1118 131.423 46.0365 130.931 46.7703C130.44 47.5035 130.909 48.5608 131.849 50.6749L132.092 51.2216C132.359 51.822 132.493 52.1229 132.497 52.4459C132.501 52.7698 132.375 53.0803 132.123 53.7004L131.893 54.2653C131.006 56.4497 130.563 57.5414 131.072 58.2365C131.582 58.9317 132.708 58.7708 134.957 58.4484L135.54 58.3656C136.179 58.2733 136.499 58.228 136.797 58.3167C137.095 58.4054 137.338 58.618 137.823 59.0447L138.265 59.4326C139.973 60.9324 140.827 61.6825 141.633 61.3796C142.441 61.0756 142.666 59.919 143.118 57.6052L143.234 57.0074C143.363 56.3496 143.427 56.0207 143.608 55.7526C143.787 55.4832 144.064 55.3046 144.615 54.9485L145.118 54.6228C147.06 53.3672 148.031 52.7384 148.021 51.855C148.01 50.9716 147.024 50.4171 145.052 49.3103L144.542 49.0239C143.982 48.7094 143.702 48.5522 143.515 48.2973C143.328 48.0424 143.257 47.7191 143.113 47.0719L142.981 46.4826Z\",\n\t\t\tfill: \"#FFB70D\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsxs(\"g\", {\n\t\t\tfilter: \"url(#filter1_d_16493_33369)\",\n\t\t\tchildren: [\n\t\t\t\t/* @__PURE__ */ _jsx(\"rect\", {\n\t\t\t\t\tx: 31,\n\t\t\t\t\ty: 6,\n\t\t\t\t\twidth: 143,\n\t\t\t\t\theight: 78,\n\t\t\t\t\trx: 7.16302,\n\t\t\t\t\tclassName: \"brand300\",\n\t\t\t\t\tfill: \"#2C64EF\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"rect\", {\n\t\t\t\t\tx: 31,\n\t\t\t\t\ty: 6,\n\t\t\t\t\twidth: 143,\n\t\t\t\t\theight: 78,\n\t\t\t\t\trx: 7.16302,\n\t\t\t\t\tfill: \"white\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"rect\", {\n\t\t\t\t\tx: 31.1119,\n\t\t\t\t\ty: 6.11192,\n\t\t\t\t\twidth: 142.776,\n\t\t\t\t\theight: 77.7762,\n\t\t\t\t\trx: 7.0511,\n\t\t\t\t\tstrokeWidth: .223844,\n\t\t\t\t\tstroke: \"black\",\n\t\t\t\t\tstrokeOpacity: .12\n\t\t\t\t})\n\t\t\t]\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M43 63H158.116M43 68.2H163M43 74H92.5349\",\n\t\t\tstrokeWidth: 2,\n\t\t\tstrokeLinecap: \"round\",\n\t\t\tclassName: \"brand300\",\n\t\t\tstroke: \"#2C64EF\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M96.2115 18.9087C98.7799 14.3029 100.063 12 101.983 12C103.902 12 105.186 14.3029 107.754 18.9087L108.419 20.1007C109.149 21.4102 109.514 22.065 110.081 22.4968C110.649 22.9286 111.358 23.0888 112.777 23.4091L114.067 23.701C119.053 24.8301 121.545 25.3937 122.139 27.3013C122.73 29.2068 121.032 31.1955 117.632 35.1708L116.752 36.1986C115.788 37.3278 115.303 37.8934 115.086 38.5907C114.869 39.2901 114.942 40.0442 115.088 41.5504L115.222 42.9228C115.735 48.228 115.992 50.8796 114.44 52.0574C112.887 53.2352 110.551 52.1608 105.885 50.0119L104.675 49.4565C103.349 48.8443 102.686 48.5402 101.983 48.5402C101.279 48.5402 100.616 48.8443 99.2907 49.4565L98.0826 50.0119C93.4141 52.1608 91.0788 53.2352 89.528 52.0594C87.9732 50.8796 88.2307 48.228 88.7435 42.9228L88.8773 41.5525C89.0233 40.0442 89.0963 39.2901 88.8773 38.5928C88.6625 37.8934 88.178 37.3278 87.2131 36.2007L86.3333 35.1708C82.9338 31.1975 81.235 29.2089 81.827 27.3013C82.4189 25.3937 84.9143 24.8281 89.901 23.701L91.1903 23.4091C92.6073 23.0888 93.3147 22.9286 93.8844 22.4968C94.454 22.065 94.8168 21.4102 95.5466 20.1007L96.2115 18.9087Z\",\n\t\t\tfill: \"#FFB70D\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M70.0188 38.4866C70.5267 36.21 70.7802 35.0719 71.5941 34.8297C72.4079 34.5876 73.2424 35.402 74.9122 37.0306L75.3444 37.4521C75.8189 37.9152 76.0562 38.1468 76.3513 38.2583C76.6464 38.3697 76.9674 38.3481 77.6094 38.3049L78.1928 38.2661C80.4493 38.1157 81.5765 38.0404 82.069 38.7742C82.5603 39.5074 82.0909 40.5647 81.1512 42.6788L80.9078 43.2255C80.6412 43.8259 80.5072 44.1268 80.5032 44.4498C80.4994 44.7737 80.6255 45.0842 80.8773 45.7043L81.1072 46.2692C81.9938 48.4536 82.4374 49.5453 81.9276 50.2405C81.4179 50.9356 80.2924 50.7747 78.043 50.4523L77.4599 50.3695C76.8207 50.2772 76.5013 50.2319 76.2031 50.3206C75.9049 50.4093 75.6622 50.6219 75.1774 51.0486L74.7353 51.4365C73.0271 52.9363 72.1726 53.6864 71.3669 53.3835C70.5589 53.0795 70.3336 51.9229 69.8819 49.6091L69.7657 49.0113C69.6374 48.3535 69.5732 48.0246 69.3924 47.7565C69.2131 47.4871 68.9364 47.3085 68.3851 46.9524L67.8823 46.6267C65.9399 45.3711 64.9689 44.7423 64.9792 43.8589C64.9895 42.9756 65.9761 42.421 67.948 41.3142L68.4578 41.0278C69.0181 40.7133 69.2978 40.5562 69.4848 40.3012C69.6719 40.0463 69.7431 39.723 69.8873 39.0758L70.0188 38.4866Z\",\n\t\t\tfill: \"#FFB70D\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M135.981 38.4866C135.473 36.21 135.22 35.0719 134.406 34.8297C133.592 34.5876 132.758 35.402 131.088 37.0306L130.656 37.4521C130.181 37.9152 129.944 38.1468 129.649 38.2583C129.354 38.3697 129.033 38.3481 128.391 38.3049L127.807 38.2661C125.551 38.1157 124.423 38.0404 123.931 38.7742C123.44 39.5074 123.909 40.5647 124.849 42.6788L125.092 43.2255C125.359 43.8259 125.493 44.1268 125.497 44.4498C125.501 44.7737 125.375 45.0842 125.123 45.7043L124.893 46.2692C124.006 48.4536 123.563 49.5453 124.072 50.2405C124.582 50.9356 125.708 50.7747 127.957 50.4523L128.54 50.3695C129.179 50.2772 129.499 50.2319 129.797 50.3206C130.095 50.4093 130.338 50.6219 130.823 51.0486L131.265 51.4365C132.973 52.9363 133.827 53.6864 134.633 53.3835C135.441 53.0795 135.666 51.9229 136.118 49.6091L136.234 49.0113C136.363 48.3535 136.427 48.0246 136.608 47.7565C136.787 47.4871 137.064 47.3085 137.615 46.9524L138.118 46.6267C140.06 45.3711 141.031 44.7423 141.021 43.8589C141.01 42.9756 140.024 42.421 138.052 41.3142L137.542 41.0278C136.982 40.7133 136.702 40.5562 136.515 40.3012C136.328 40.0463 136.257 39.723 136.113 39.0758L135.981 38.4866Z\",\n\t\t\tfill: \"#FFB70D\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"mask\", {\n\t\t\tid: \"mask0_16493_33369\",\n\t\t\tstyle: { maskType: \"alpha\" },\n\t\t\tmaskUnits: \"userSpaceOnUse\",\n\t\t\tx: 138,\n\t\t\ty: 9,\n\t\t\twidth: 29,\n\t\t\theight: 29,\n\t\t\tchildren: /* @__PURE__ */ _jsx(\"rect\", {\n\t\t\t\tx: 138.109,\n\t\t\t\ty: 14.5,\n\t\t\t\twidth: 24,\n\t\t\t\theight: 24,\n\t\t\t\ttransform: \"rotate(-12.9782 138.109 14.5)\",\n\t\t\t\tfill: \"#D9D9D9\"\n\t\t\t})\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"g\", {\n\t\t\tmask: \"url(#mask0_16493_33369)\",\n\t\t\tchildren: /* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M151.538 25.5672L148.96 23.955C148.74 23.8175 148.492 23.7806 148.216 23.8442C147.94 23.9078 147.733 24.0495 147.596 24.2694C147.459 24.4892 147.422 24.7372 147.485 25.0132C147.549 25.2893 147.691 25.4961 147.91 25.6336L151.328 27.7708C151.567 27.9207 151.817 27.9658 152.077 27.9059C152.337 27.846 152.542 27.6961 152.692 27.4563L156.929 20.6818C157.066 20.462 157.103 20.214 157.039 19.9379C156.976 19.6618 156.834 19.455 156.614 19.3176C156.394 19.1801 156.147 19.1432 155.87 19.2068C155.594 19.2704 155.388 19.4121 155.25 19.632L151.538 25.5672ZM154.744 33.2433C153.396 33.554 152.07 33.5901 150.767 33.3518C149.463 33.1134 148.272 32.6568 147.193 31.9819C146.114 31.307 145.182 30.4358 144.397 29.3681C143.612 28.3004 143.064 27.0926 142.754 25.7446C142.443 24.3966 142.407 23.0708 142.645 21.7673C142.883 20.4638 143.34 19.2725 144.015 18.1934C144.69 17.1143 145.561 16.1823 146.629 15.3974C147.697 14.6126 148.904 14.0649 150.252 13.7542C151.6 13.4435 152.926 13.4074 154.23 13.6457C155.533 13.8841 156.724 14.3407 157.804 15.0156C158.883 15.6905 159.815 16.5618 160.599 17.6294C161.384 18.6971 161.932 19.905 162.243 21.253C162.553 22.601 162.59 23.9267 162.351 25.2302C162.113 26.5337 161.656 27.725 160.981 28.8041C160.306 29.8833 159.435 30.8152 158.367 31.6001C157.3 32.3849 156.092 32.9326 154.744 33.2433Z\",\n\t\t\t\tfill: \"#12875E\"\n\t\t\t})\n\t\t}),\n\t\t/* @__PURE__ */ _jsxs(\"defs\", { children: [/* @__PURE__ */ _jsxs(\"filter\", {\n\t\t\tid: \"filter0_d_16493_33369\",\n\t\t\tx: 30,\n\t\t\ty: 8,\n\t\t\twidth: 159,\n\t\t\theight: 94,\n\t\t\tfilterUnits: \"userSpaceOnUse\",\n\t\t\tcolorInterpolationFilters: \"sRGB\",\n\t\t\tchildren: [\n\t\t\t\t/* @__PURE__ */ _jsx(\"feFlood\", {\n\t\t\t\t\tfloodOpacity: 0,\n\t\t\t\t\tresult: \"BackgroundImageFix\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"feColorMatrix\", {\n\t\t\t\t\tin: \"SourceAlpha\",\n\t\t\t\t\ttype: \"matrix\",\n\t\t\t\t\tvalues: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\",\n\t\t\t\t\tresult: \"hardAlpha\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"feOffset\", { dy: 2 }),\n\t\t\t\t/* @__PURE__ */ _jsx(\"feGaussianBlur\", { stdDeviation: 4 }),\n\t\t\t\t/* @__PURE__ */ _jsx(\"feComposite\", {\n\t\t\t\t\tin2: \"hardAlpha\",\n\t\t\t\t\toperator: \"out\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"feColorMatrix\", {\n\t\t\t\t\ttype: \"matrix\",\n\t\t\t\t\tvalues: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.12 0\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"feBlend\", {\n\t\t\t\t\tmode: \"normal\",\n\t\t\t\t\tin2: \"BackgroundImageFix\",\n\t\t\t\t\tresult: \"effect1_dropShadow_16493_33369\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"feBlend\", {\n\t\t\t\t\tmode: \"normal\",\n\t\t\t\t\tin: \"SourceGraphic\",\n\t\t\t\t\tin2: \"effect1_dropShadow_16493_33369\",\n\t\t\t\t\tresult: \"shape\"\n\t\t\t\t})\n\t\t\t]\n\t\t}), /* @__PURE__ */ _jsxs(\"filter\", {\n\t\t\tid: \"filter1_d_16493_33369\",\n\t\t\tx: 23,\n\t\t\ty: 0,\n\t\t\twidth: 159,\n\t\t\theight: 94,\n\t\t\tfilterUnits: \"userSpaceOnUse\",\n\t\t\tcolorInterpolationFilters: \"sRGB\",\n\t\t\tchildren: [\n\t\t\t\t/* @__PURE__ */ _jsx(\"feFlood\", {\n\t\t\t\t\tfloodOpacity: 0,\n\t\t\t\t\tresult: \"BackgroundImageFix\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"feColorMatrix\", {\n\t\t\t\t\tin: \"SourceAlpha\",\n\t\t\t\t\ttype: \"matrix\",\n\t\t\t\t\tvalues: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\",\n\t\t\t\t\tresult: \"hardAlpha\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"feOffset\", { dy: 2 }),\n\t\t\t\t/* @__PURE__ */ _jsx(\"feGaussianBlur\", { stdDeviation: 4 }),\n\t\t\t\t/* @__PURE__ */ _jsx(\"feComposite\", {\n\t\t\t\t\tin2: \"hardAlpha\",\n\t\t\t\t\toperator: \"out\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"feColorMatrix\", {\n\t\t\t\t\ttype: \"matrix\",\n\t\t\t\t\tvalues: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.12 0\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"feBlend\", {\n\t\t\t\t\tmode: \"normal\",\n\t\t\t\t\tin2: \"BackgroundImageFix\",\n\t\t\t\t\tresult: \"effect1_dropShadow_16493_33369\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ _jsx(\"feBlend\", {\n\t\t\t\t\tmode: \"normal\",\n\t\t\t\t\tin: \"SourceGraphic\",\n\t\t\t\t\tin2: \"effect1_dropShadow_16493_33369\",\n\t\t\t\t\tresult: \"shape\"\n\t\t\t\t})\n\t\t\t]\n\t\t})] })\n\t]\n});\nconst ForwardRef = forwardRef(SvgQuizStars);\nexport { ForwardRef as ReactComponent };\n"],"mappings":"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"}
@@ -1,10 +1,12 @@
1
1
  export interface SVGImageLayoutConfig {
2
2
  image: React.FC<React.SVGProps<SVGSVGElement>>;
3
+ /** Widest the illustration draws on mini in 190px; the shared 200px when omitted. */
4
+ width?: number;
3
5
  /** Draw the savings-account picker under the image (full card only). */
4
6
  showPicker?: boolean;
5
7
  /** Draw the slot's `saved_label` as a status under the image (full card only). */
6
8
  showSavedLabel?: boolean;
7
9
  }
8
- export type SVGImageVariant = 'holiday' | 'reminder' | 'savings' | 'savings_account_picker' | 'savings_account_saved';
10
+ export type SVGImageVariant = 'holiday' | 'quiz' | 'reminder' | 'savings' | 'savings_account_picker' | 'savings_account_saved';
9
11
  /** Variant table for resolveVariantConfig; `isCibc` picks the CIBC art where a variant has one. */
10
12
  export declare const getLayoutConfig: (isCibc?: boolean) => Record<SVGImageVariant, SVGImageLayoutConfig>;
@@ -3,20 +3,25 @@ import { ReactComponent as r } from "./images/UpcomingTaxDeadlineAlertCIBC.es.js
3
3
  import { ReactComponent as t } from "./images/FederalBankHoliday.es.js";
4
4
  import { ReactComponent as m } from "./images/FederalBankHolidayCibc.es.js";
5
5
  import { ReactComponent as n } from "./images/DesignateEmergencySavingsAccount.es.js";
6
+ import { ReactComponent as i } from "./images/QuizStars.es.js";
6
7
  var a = (e = {}) => ({
7
8
  image: n,
8
9
  showPicker: !1,
9
10
  showSavedLabel: !1,
10
11
  ...e
11
- }), d = (e = !1) => ({
12
+ }), g = (e = !1) => ({
12
13
  holiday: { image: e ? m : t },
14
+ quiz: {
15
+ image: i,
16
+ width: 190
17
+ },
13
18
  reminder: { image: e ? r : o },
14
19
  savings: a(),
15
20
  savings_account_picker: a({ showPicker: !0 }),
16
21
  savings_account_saved: a({ showSavedLabel: !0 })
17
22
  });
18
23
  export {
19
- d as getLayoutConfig
24
+ g as getLayoutConfig
20
25
  };
21
26
 
22
27
  //# sourceMappingURL=layout.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"layout.es.js","names":[],"sources":["../../../../../src/insights-v2/blocks/ImageBlocks/SVGImageBlock/layout.ts"],"sourcesContent":["// SVGs to be moved to S3 and imported from there.\nimport { ReactComponent as UpcomingTaxDeadline } from './images/UpcomingTaxDeadlineAlert.svg'\nimport { ReactComponent as UpcomingTaxDeadlineCIBC } from './images/UpcomingTaxDeadlineAlertCIBC.svg'\n\nimport { ReactComponent as FederalBankHoliday } from './images/FederalBankHoliday.svg'\nimport { ReactComponent as FederalBankHolidayCIBC } from './images/FederalBankHolidayCibc.svg'\n\nimport { ReactComponent as DesignateEmergencySavingsAccount } from './images/DesignateEmergencySavingsAccount.svg'\n\nexport interface SVGImageLayoutConfig {\n image: React.FC<React.SVGProps<SVGSVGElement>>\n /** Draw the savings-account picker under the image (full card only). */\n showPicker?: boolean\n /** Draw the slot's `saved_label` as a status under the image (full card only). */\n showSavedLabel?: boolean\n}\n\n// Designate Emergency Savings Account (ditto layout variants): the illustration alone (open_account),\n// with the account picker (choose_account), or with the \"Account Saved!\" status in the card body\n// (change_account, the card the beat refreshes into after Save; Figma 1943:219096).\nconst emergencySavings = (overrides: Partial<SVGImageLayoutConfig> = {}): SVGImageLayoutConfig => ({\n image: DesignateEmergencySavingsAccount,\n showPicker: false,\n showSavedLabel: false,\n ...overrides,\n})\n\n// Keys must match ditto's variant names exactly.\nexport type SVGImageVariant =\n | 'holiday'\n | 'reminder'\n | 'savings'\n | 'savings_account_picker'\n | 'savings_account_saved'\n\n/** Variant table for resolveVariantConfig; `isCibc` picks the CIBC art where a variant has one. */\nexport const getLayoutConfig = (\n isCibc: boolean = false,\n): Record<SVGImageVariant, SVGImageLayoutConfig> => ({\n holiday: {\n image: isCibc ? FederalBankHolidayCIBC : FederalBankHoliday,\n },\n reminder: {\n image: isCibc ? UpcomingTaxDeadlineCIBC : UpcomingTaxDeadline,\n },\n savings: emergencySavings(),\n savings_account_picker: emergencySavings({ showPicker: true }),\n savings_account_saved: emergencySavings({ showSavedLabel: true }),\n})\n"],"mappings":";;;;;AAoBA,IAAM,IAAA,CAAoB,IAA2C,CAAC,OAA6B;AAAA,EACjG,OAAO;AAAA,EACP,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAChB,GAAG;AACL,IAWa,IAAA,CACX,IAAkB,QACiC;AAAA,EACnD,SAAS,EACP,OAAO,IAAS,IAAyB,EAC3C;AAAA,EACA,UAAU,EACR,OAAO,IAAS,IAA0B,EAC5C;AAAA,EACA,SAAS,EAAiB;AAAA,EAC1B,wBAAwB,EAAiB,EAAE,YAAY,GAAK,CAAC;AAAA,EAC7D,uBAAuB,EAAiB,EAAE,gBAAgB,GAAK,CAAC;AAClE"}
1
+ {"version":3,"file":"layout.es.js","names":[],"sources":["../../../../../src/insights-v2/blocks/ImageBlocks/SVGImageBlock/layout.ts"],"sourcesContent":["// SVGs to be moved to S3 and imported from there.\nimport { ReactComponent as UpcomingTaxDeadline } from './images/UpcomingTaxDeadlineAlert.svg'\nimport { ReactComponent as UpcomingTaxDeadlineCIBC } from './images/UpcomingTaxDeadlineAlertCIBC.svg'\n\nimport { ReactComponent as FederalBankHoliday } from './images/FederalBankHoliday.svg'\nimport { ReactComponent as FederalBankHolidayCIBC } from './images/FederalBankHolidayCibc.svg'\n\nimport { ReactComponent as DesignateEmergencySavingsAccount } from './images/DesignateEmergencySavingsAccount.svg'\n\nimport { ReactComponent as QuizStars } from './images/QuizStars.svg'\n\nexport interface SVGImageLayoutConfig {\n image: React.FC<React.SVGProps<SVGSVGElement>>\n /** Widest the illustration draws on mini in 190px; the shared 200px when omitted. */\n width?: number\n /** Draw the savings-account picker under the image (full card only). */\n showPicker?: boolean\n /** Draw the slot's `saved_label` as a status under the image (full card only). */\n showSavedLabel?: boolean\n}\n\n// Designate Emergency Savings Account (ditto layout variants): the illustration alone (open_account),\n// with the account picker (choose_account), or with the \"Account Saved!\" status in the card body\n// (change_account, the card the beat refreshes into after Save; Figma 1943:219096).\nconst emergencySavings = (overrides: Partial<SVGImageLayoutConfig> = {}): SVGImageLayoutConfig => ({\n image: DesignateEmergencySavingsAccount,\n showPicker: false,\n showSavedLabel: false,\n ...overrides,\n})\n\n// Keys must match ditto's variant names exactly.\nexport type SVGImageVariant =\n | 'holiday'\n | 'quiz'\n | 'reminder'\n | 'savings'\n | 'savings_account_picker'\n | 'savings_account_saved'\n\n/** Variant table for resolveVariantConfig; `isCibc` picks the CIBC art where a variant has one. */\nexport const getLayoutConfig = (\n isCibc: boolean = false,\n): Record<SVGImageVariant, SVGImageLayoutConfig> => ({\n holiday: {\n image: isCibc ? FederalBankHolidayCIBC : FederalBankHoliday,\n },\n // Monthly Top Transacted Merchant's mini (Figma 1274:40584): the stars card above the quiz description.\n quiz: { image: QuizStars, width: 190 },\n reminder: {\n image: isCibc ? UpcomingTaxDeadlineCIBC : UpcomingTaxDeadline,\n },\n savings: emergencySavings(),\n savings_account_picker: emergencySavings({ showPicker: true }),\n savings_account_saved: emergencySavings({ showSavedLabel: true }),\n})\n"],"mappings":";;;;;;AAwBA,IAAM,IAAA,CAAoB,IAA2C,CAAC,OAA6B;AAAA,EACjG,OAAO;AAAA,EACP,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAChB,GAAG;AACL,IAYa,IAAA,CACX,IAAkB,QACiC;AAAA,EACnD,SAAS,EACP,OAAO,IAAS,IAAyB,EAC3C;AAAA,EAEA,MAAM;AAAA,IAAE,OAAO;AAAA,IAAW,OAAO;AAAA,EAAI;AAAA,EACrC,UAAU,EACR,OAAO,IAAS,IAA0B,EAC5C;AAAA,EACA,SAAS,EAAiB;AAAA,EAC1B,wBAAwB,EAAiB,EAAE,YAAY,GAAK,CAAC;AAAA,EAC7D,uBAAuB,EAAiB,EAAE,gBAAgB,GAAK,CAAC;AAClE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "9.7.173",
3
+ "version": "9.7.174",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",