@abgov/web-components 1.0.0-alpha.8 → 1.0.0-alpha.9
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/package.json +1 -1
- package/web-components.es.js +80 -31
- package/web-components.umd.js +7 -7
package/package.json
CHANGED
package/web-components.es.js
CHANGED
|
@@ -848,6 +848,7 @@ function create_fragment$u(ctx) {
|
|
|
848
848
|
attr(a, "href", /*url*/ ctx[0]);
|
|
849
849
|
attr(a, "class", "app-link");
|
|
850
850
|
attr(div1, "class", "app-header");
|
|
851
|
+
attr(div1, "data-testid", /*testid*/ ctx[2]);
|
|
851
852
|
},
|
|
852
853
|
m(target, anchor) {
|
|
853
854
|
insert(target, goa_page_block, anchor);
|
|
@@ -868,6 +869,10 @@ function create_fragment$u(ctx) {
|
|
|
868
869
|
if (dirty & /*url*/ 1) {
|
|
869
870
|
attr(a, "href", /*url*/ ctx[0]);
|
|
870
871
|
}
|
|
872
|
+
|
|
873
|
+
if (dirty & /*testid*/ 4) {
|
|
874
|
+
attr(div1, "data-testid", /*testid*/ ctx[2]);
|
|
875
|
+
}
|
|
871
876
|
},
|
|
872
877
|
i: noop,
|
|
873
878
|
o: noop,
|
|
@@ -880,13 +885,15 @@ function create_fragment$u(ctx) {
|
|
|
880
885
|
function instance$q($$self, $$props, $$invalidate) {
|
|
881
886
|
let { url } = $$props;
|
|
882
887
|
let { title } = $$props;
|
|
888
|
+
let { testid = "" } = $$props;
|
|
883
889
|
|
|
884
890
|
$$self.$$set = $$props => {
|
|
885
891
|
if ('url' in $$props) $$invalidate(0, url = $$props.url);
|
|
886
892
|
if ('title' in $$props) $$invalidate(1, title = $$props.title);
|
|
893
|
+
if ('testid' in $$props) $$invalidate(2, testid = $$props.testid);
|
|
887
894
|
};
|
|
888
895
|
|
|
889
|
-
return [url, title];
|
|
896
|
+
return [url, title, testid];
|
|
890
897
|
}
|
|
891
898
|
|
|
892
899
|
class AppHeader extends SvelteElement {
|
|
@@ -904,7 +911,7 @@ class AppHeader extends SvelteElement {
|
|
|
904
911
|
instance$q,
|
|
905
912
|
create_fragment$u,
|
|
906
913
|
safe_not_equal,
|
|
907
|
-
{ url: 0, title: 1 },
|
|
914
|
+
{ url: 0, title: 1, testid: 2 },
|
|
908
915
|
null
|
|
909
916
|
);
|
|
910
917
|
|
|
@@ -921,7 +928,7 @@ class AppHeader extends SvelteElement {
|
|
|
921
928
|
}
|
|
922
929
|
|
|
923
930
|
static get observedAttributes() {
|
|
924
|
-
return ["url", "title"];
|
|
931
|
+
return ["url", "title", "testid"];
|
|
925
932
|
}
|
|
926
933
|
|
|
927
934
|
get url() {
|
|
@@ -941,6 +948,15 @@ class AppHeader extends SvelteElement {
|
|
|
941
948
|
this.$$set({ title });
|
|
942
949
|
flush();
|
|
943
950
|
}
|
|
951
|
+
|
|
952
|
+
get testid() {
|
|
953
|
+
return this.$$.ctx[2];
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
set testid(testid) {
|
|
957
|
+
this.$$set({ testid });
|
|
958
|
+
flush();
|
|
959
|
+
}
|
|
944
960
|
}
|
|
945
961
|
|
|
946
962
|
customElements.define("goa-app-header", AppHeader);
|
|
@@ -1021,7 +1037,7 @@ function create_fragment$t(ctx) {
|
|
|
1021
1037
|
t = space();
|
|
1022
1038
|
if (if_block1) if_block1.c();
|
|
1023
1039
|
this.c = noop;
|
|
1024
|
-
attr(div, "data-testid", /*
|
|
1040
|
+
attr(div, "data-testid", /*testid*/ ctx[1]);
|
|
1025
1041
|
attr(div, "data-type", "goa-badge");
|
|
1026
1042
|
attr(div, "class", div_class_value = "goa-badge badge-" + /*type*/ ctx[0]);
|
|
1027
1043
|
toggle_class(div, "icon-only", /*showIcon*/ ctx[4] && !/*content*/ ctx[2]);
|
|
@@ -1059,8 +1075,8 @@ function create_fragment$t(ctx) {
|
|
|
1059
1075
|
if_block1 = null;
|
|
1060
1076
|
}
|
|
1061
1077
|
|
|
1062
|
-
if (dirty & /*
|
|
1063
|
-
attr(div, "data-testid", /*
|
|
1078
|
+
if (dirty & /*testid*/ 2) {
|
|
1079
|
+
attr(div, "data-testid", /*testid*/ ctx[1]);
|
|
1064
1080
|
}
|
|
1065
1081
|
|
|
1066
1082
|
if (dirty & /*type*/ 1 && div_class_value !== (div_class_value = "goa-badge badge-" + /*type*/ ctx[0])) {
|
|
@@ -1085,13 +1101,13 @@ function instance$p($$self, $$props, $$invalidate) {
|
|
|
1085
1101
|
let showIcon;
|
|
1086
1102
|
let iconType;
|
|
1087
1103
|
let { type } = $$props;
|
|
1088
|
-
let {
|
|
1089
|
-
let { icon } = $$props;
|
|
1104
|
+
let { testid = "" } = $$props;
|
|
1105
|
+
let { icon = "false" } = $$props;
|
|
1090
1106
|
let { content = "" } = $$props;
|
|
1091
1107
|
|
|
1092
1108
|
$$self.$$set = $$props => {
|
|
1093
1109
|
if ('type' in $$props) $$invalidate(0, type = $$props.type);
|
|
1094
|
-
if ('
|
|
1110
|
+
if ('testid' in $$props) $$invalidate(1, testid = $$props.testid);
|
|
1095
1111
|
if ('icon' in $$props) $$invalidate(5, icon = $$props.icon);
|
|
1096
1112
|
if ('content' in $$props) $$invalidate(2, content = $$props.content);
|
|
1097
1113
|
};
|
|
@@ -1116,13 +1132,13 @@ function instance$p($$self, $$props, $$invalidate) {
|
|
|
1116
1132
|
}
|
|
1117
1133
|
};
|
|
1118
1134
|
|
|
1119
|
-
return [type,
|
|
1135
|
+
return [type, testid, content, iconType, showIcon, icon];
|
|
1120
1136
|
}
|
|
1121
1137
|
|
|
1122
1138
|
class Badge extends SvelteElement {
|
|
1123
1139
|
constructor(options) {
|
|
1124
1140
|
super();
|
|
1125
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;
|
|
1141
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;margin:0 0.5rem 0.5rem 0}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--color-status-info)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--goa-color-text-light)}.goa-badge.badge-warning{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.goa-badge.badge-emergency{background-color:var(--goa-color-status-emergency);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--color-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--color-gray-600);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--color-white);color:var(--goa-color-text)}.goa-badge.badge-inactive{background-color:var(--color-white);color:var(--goa-color-text)}</style>`;
|
|
1126
1142
|
|
|
1127
1143
|
init(
|
|
1128
1144
|
this,
|
|
@@ -1134,7 +1150,7 @@ class Badge extends SvelteElement {
|
|
|
1134
1150
|
instance$p,
|
|
1135
1151
|
create_fragment$t,
|
|
1136
1152
|
safe_not_equal,
|
|
1137
|
-
{ type: 0,
|
|
1153
|
+
{ type: 0, testid: 1, icon: 5, content: 2 },
|
|
1138
1154
|
null
|
|
1139
1155
|
);
|
|
1140
1156
|
|
|
@@ -1151,7 +1167,7 @@ class Badge extends SvelteElement {
|
|
|
1151
1167
|
}
|
|
1152
1168
|
|
|
1153
1169
|
static get observedAttributes() {
|
|
1154
|
-
return ["type", "
|
|
1170
|
+
return ["type", "testid", "icon", "content"];
|
|
1155
1171
|
}
|
|
1156
1172
|
|
|
1157
1173
|
get type() {
|
|
@@ -1163,12 +1179,12 @@ class Badge extends SvelteElement {
|
|
|
1163
1179
|
flush();
|
|
1164
1180
|
}
|
|
1165
1181
|
|
|
1166
|
-
get
|
|
1182
|
+
get testid() {
|
|
1167
1183
|
return this.$$.ctx[1];
|
|
1168
1184
|
}
|
|
1169
1185
|
|
|
1170
|
-
set
|
|
1171
|
-
this.$$set({
|
|
1186
|
+
set testid(testid) {
|
|
1187
|
+
this.$$set({ testid });
|
|
1172
1188
|
flush();
|
|
1173
1189
|
}
|
|
1174
1190
|
|
|
@@ -1209,7 +1225,8 @@ function create_fragment$s(ctx) {
|
|
|
1209
1225
|
this.c = noop;
|
|
1210
1226
|
attr(button, "class", button_class_value = "" + (/*type*/ ctx[0] + " " + /*size*/ ctx[1] + " " + /*variant*/ ctx[2]));
|
|
1211
1227
|
attr(button, "title", /*title*/ ctx[3]);
|
|
1212
|
-
button.disabled = /*isDisabled*/ ctx[
|
|
1228
|
+
button.disabled = /*isDisabled*/ ctx[5];
|
|
1229
|
+
attr(button, "data-testid", /*testid*/ ctx[4]);
|
|
1213
1230
|
},
|
|
1214
1231
|
m(target, anchor) {
|
|
1215
1232
|
insert(target, button, anchor);
|
|
@@ -1229,8 +1246,12 @@ function create_fragment$s(ctx) {
|
|
|
1229
1246
|
attr(button, "title", /*title*/ ctx[3]);
|
|
1230
1247
|
}
|
|
1231
1248
|
|
|
1232
|
-
if (dirty & /*isDisabled*/
|
|
1233
|
-
button.disabled = /*isDisabled*/ ctx[
|
|
1249
|
+
if (dirty & /*isDisabled*/ 32) {
|
|
1250
|
+
button.disabled = /*isDisabled*/ ctx[5];
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
if (dirty & /*testid*/ 16) {
|
|
1254
|
+
attr(button, "data-testid", /*testid*/ ctx[4]);
|
|
1234
1255
|
}
|
|
1235
1256
|
},
|
|
1236
1257
|
i: noop,
|
|
@@ -1253,29 +1274,31 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
|
1253
1274
|
let { type = "primary" } = $$props;
|
|
1254
1275
|
let { size = "medium" } = $$props;
|
|
1255
1276
|
let { variant = "default" } = $$props;
|
|
1256
|
-
let { title } = $$props;
|
|
1257
|
-
let { disabled } = $$props;
|
|
1277
|
+
let { title = "" } = $$props;
|
|
1278
|
+
let { disabled = "false" } = $$props;
|
|
1279
|
+
let { testid = "" } = $$props;
|
|
1258
1280
|
|
|
1259
1281
|
$$self.$$set = $$props => {
|
|
1260
1282
|
if ('type' in $$props) $$invalidate(0, type = $$props.type);
|
|
1261
1283
|
if ('size' in $$props) $$invalidate(1, size = $$props.size);
|
|
1262
1284
|
if ('variant' in $$props) $$invalidate(2, variant = $$props.variant);
|
|
1263
1285
|
if ('title' in $$props) $$invalidate(3, title = $$props.title);
|
|
1264
|
-
if ('disabled' in $$props) $$invalidate(
|
|
1286
|
+
if ('disabled' in $$props) $$invalidate(6, disabled = $$props.disabled);
|
|
1287
|
+
if ('testid' in $$props) $$invalidate(4, testid = $$props.testid);
|
|
1265
1288
|
};
|
|
1266
1289
|
|
|
1267
1290
|
$$self.$$.update = () => {
|
|
1268
|
-
if ($$self.$$.dirty & /*disabled*/
|
|
1291
|
+
if ($$self.$$.dirty & /*disabled*/ 64) {
|
|
1269
1292
|
// export let type: ButtonType = "primary";
|
|
1270
1293
|
// export let size: ButtonSize = "medium";
|
|
1271
1294
|
// export let variant: ButtonVariant = "default";
|
|
1272
1295
|
// export let title: string = "";
|
|
1273
1296
|
// export let disabled: WCBoolean = WC_FALSE;
|
|
1274
|
-
$$invalidate(
|
|
1297
|
+
$$invalidate(5, isDisabled = toBoolean(disabled));
|
|
1275
1298
|
}
|
|
1276
1299
|
};
|
|
1277
1300
|
|
|
1278
|
-
return [type, size, variant, title, isDisabled, disabled];
|
|
1301
|
+
return [type, size, variant, title, testid, isDisabled, disabled];
|
|
1279
1302
|
}
|
|
1280
1303
|
|
|
1281
1304
|
class Button extends SvelteElement {
|
|
@@ -1298,7 +1321,8 @@ class Button extends SvelteElement {
|
|
|
1298
1321
|
size: 1,
|
|
1299
1322
|
variant: 2,
|
|
1300
1323
|
title: 3,
|
|
1301
|
-
disabled:
|
|
1324
|
+
disabled: 6,
|
|
1325
|
+
testid: 4
|
|
1302
1326
|
},
|
|
1303
1327
|
null
|
|
1304
1328
|
);
|
|
@@ -1316,7 +1340,7 @@ class Button extends SvelteElement {
|
|
|
1316
1340
|
}
|
|
1317
1341
|
|
|
1318
1342
|
static get observedAttributes() {
|
|
1319
|
-
return ["type", "size", "variant", "title", "disabled"];
|
|
1343
|
+
return ["type", "size", "variant", "title", "disabled", "testid"];
|
|
1320
1344
|
}
|
|
1321
1345
|
|
|
1322
1346
|
get type() {
|
|
@@ -1356,13 +1380,22 @@ class Button extends SvelteElement {
|
|
|
1356
1380
|
}
|
|
1357
1381
|
|
|
1358
1382
|
get disabled() {
|
|
1359
|
-
return this.$$.ctx[
|
|
1383
|
+
return this.$$.ctx[6];
|
|
1360
1384
|
}
|
|
1361
1385
|
|
|
1362
1386
|
set disabled(disabled) {
|
|
1363
1387
|
this.$$set({ disabled });
|
|
1364
1388
|
flush();
|
|
1365
1389
|
}
|
|
1390
|
+
|
|
1391
|
+
get testid() {
|
|
1392
|
+
return this.$$.ctx[4];
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
set testid(testid) {
|
|
1396
|
+
this.$$set({ testid });
|
|
1397
|
+
flush();
|
|
1398
|
+
}
|
|
1366
1399
|
}
|
|
1367
1400
|
|
|
1368
1401
|
customElements.define("goa-button", Button);
|
|
@@ -1643,6 +1676,7 @@ function create_fragment$p(ctx) {
|
|
|
1643
1676
|
div = element("div");
|
|
1644
1677
|
slot = element("slot");
|
|
1645
1678
|
this.c = noop;
|
|
1679
|
+
attr(div, "data-testid", /*testId*/ ctx[2]);
|
|
1646
1680
|
attr(div, "class", "card");
|
|
1647
1681
|
|
|
1648
1682
|
attr(div, "style", div_style_value = "--width: " + /*width*/ ctx[1] + "px; " + (/*elevation*/ ctx[0] === 0
|
|
@@ -1654,6 +1688,10 @@ function create_fragment$p(ctx) {
|
|
|
1654
1688
|
append(div, slot);
|
|
1655
1689
|
},
|
|
1656
1690
|
p(ctx, [dirty]) {
|
|
1691
|
+
if (dirty & /*testId*/ 4) {
|
|
1692
|
+
attr(div, "data-testid", /*testId*/ ctx[2]);
|
|
1693
|
+
}
|
|
1694
|
+
|
|
1657
1695
|
if (dirty & /*width, elevation*/ 3 && div_style_value !== (div_style_value = "--width: " + /*width*/ ctx[1] + "px; " + (/*elevation*/ ctx[0] === 0
|
|
1658
1696
|
? `border: 1px solid var(--color-gray-200);`
|
|
1659
1697
|
: `box-shadow: var(--shadow-${/*elevation*/ ctx[0]});`) + "")) {
|
|
@@ -1671,13 +1709,15 @@ function create_fragment$p(ctx) {
|
|
|
1671
1709
|
function instance$l($$self, $$props, $$invalidate) {
|
|
1672
1710
|
let { elevation = 0 } = $$props;
|
|
1673
1711
|
let { width = 320 } = $$props;
|
|
1712
|
+
let { testId = "" } = $$props;
|
|
1674
1713
|
|
|
1675
1714
|
$$self.$$set = $$props => {
|
|
1676
1715
|
if ('elevation' in $$props) $$invalidate(0, elevation = $$props.elevation);
|
|
1677
1716
|
if ('width' in $$props) $$invalidate(1, width = $$props.width);
|
|
1717
|
+
if ('testId' in $$props) $$invalidate(2, testId = $$props.testId);
|
|
1678
1718
|
};
|
|
1679
1719
|
|
|
1680
|
-
return [elevation, width];
|
|
1720
|
+
return [elevation, width, testId];
|
|
1681
1721
|
}
|
|
1682
1722
|
|
|
1683
1723
|
class Card extends SvelteElement {
|
|
@@ -1697,7 +1737,7 @@ class Card extends SvelteElement {
|
|
|
1697
1737
|
instance$l,
|
|
1698
1738
|
create_fragment$p,
|
|
1699
1739
|
safe_not_equal,
|
|
1700
|
-
{ elevation: 0, width: 1 },
|
|
1740
|
+
{ elevation: 0, width: 1, testId: 2 },
|
|
1701
1741
|
null
|
|
1702
1742
|
);
|
|
1703
1743
|
|
|
@@ -1714,7 +1754,7 @@ class Card extends SvelteElement {
|
|
|
1714
1754
|
}
|
|
1715
1755
|
|
|
1716
1756
|
static get observedAttributes() {
|
|
1717
|
-
return ["elevation", "width"];
|
|
1757
|
+
return ["elevation", "width", "testId"];
|
|
1718
1758
|
}
|
|
1719
1759
|
|
|
1720
1760
|
get elevation() {
|
|
@@ -1734,6 +1774,15 @@ class Card extends SvelteElement {
|
|
|
1734
1774
|
this.$$set({ width });
|
|
1735
1775
|
flush();
|
|
1736
1776
|
}
|
|
1777
|
+
|
|
1778
|
+
get testId() {
|
|
1779
|
+
return this.$$.ctx[2];
|
|
1780
|
+
}
|
|
1781
|
+
|
|
1782
|
+
set testId(testId) {
|
|
1783
|
+
this.$$set({ testId });
|
|
1784
|
+
flush();
|
|
1785
|
+
}
|
|
1737
1786
|
}
|
|
1738
1787
|
|
|
1739
1788
|
customElements.define("goa-card", Card);
|
package/web-components.umd.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
(function(R,y){typeof exports=="object"&&typeof module!="undefined"?y(exports):typeof define=="function"&&define.amd?define(["exports"],y):(R=typeof globalThis!="undefined"?globalThis:R||self,y(R["web-components"]={}))})(this,function(R){"use strict";function y(){}const he=i=>i;function Je(i,e){for(const t in e)i[t]=e[t];return i}function je(i){return i()}function Ke(){return Object.create(null)}function Z(i){i.forEach(je)}function oe(i){return typeof i=="function"}function H(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let xe;function Ue(i,e){return xe||(xe=document.createElement("a")),xe.href=e,i===xe.href}function hi(i){return Object.keys(i).length===0}function mi(i,...e){if(i==null)return y;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function bi(i,e,t){i.$$.on_destroy.push(mi(e,t))}function Ye(i){return i&&oe(i.destroy)?i.destroy:y}const Ze=typeof window!="undefined";let ze=Ze?()=>window.performance.now():()=>Date.now(),Ge=Ze?i=>requestAnimationFrame(i):y;const de=new Set;function Qe(i){de.forEach(e=>{e.c(i)||(de.delete(e),e.f())}),de.size!==0&&Ge(Qe)}function Ee(i){let e;return de.size===0&&Ge(Qe),{promise:new Promise(t=>{de.add(e={c:i,f:t})}),abort(){de.delete(e)}}}function v(i,e){i.appendChild(e)}function $e(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function vi(i){const e=p("style");return pi($e(i),e),e}function pi(i,e){v(i.head||i,e)}function _(i,e,t){i.insertBefore(e,t||null)}function z(i){i.parentNode.removeChild(i)}function p(i){return document.createElement(i)}function
|
|
1
|
+
(function(R,y){typeof exports=="object"&&typeof module!="undefined"?y(exports):typeof define=="function"&&define.amd?define(["exports"],y):(R=typeof globalThis!="undefined"?globalThis:R||self,y(R["web-components"]={}))})(this,function(R){"use strict";function y(){}const he=i=>i;function Je(i,e){for(const t in e)i[t]=e[t];return i}function je(i){return i()}function Ke(){return Object.create(null)}function Z(i){i.forEach(je)}function oe(i){return typeof i=="function"}function H(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let xe;function Ue(i,e){return xe||(xe=document.createElement("a")),xe.href=e,i===xe.href}function hi(i){return Object.keys(i).length===0}function mi(i,...e){if(i==null)return y;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function bi(i,e,t){i.$$.on_destroy.push(mi(e,t))}function Ye(i){return i&&oe(i.destroy)?i.destroy:y}const Ze=typeof window!="undefined";let ze=Ze?()=>window.performance.now():()=>Date.now(),Ge=Ze?i=>requestAnimationFrame(i):y;const de=new Set;function Qe(i){de.forEach(e=>{e.c(i)||(de.delete(e),e.f())}),de.size!==0&&Ge(Qe)}function Ee(i){let e;return de.size===0&&Ge(Qe),{promise:new Promise(t=>{de.add(e={c:i,f:t})}),abort(){de.delete(e)}}}function v(i,e){i.appendChild(e)}function $e(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function vi(i){const e=p("style");return pi($e(i),e),e}function pi(i,e){v(i.head||i,e)}function _(i,e,t){i.insertBefore(e,t||null)}function z(i){i.parentNode.removeChild(i)}function p(i){return document.createElement(i)}function ae(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function W(i){return document.createTextNode(i)}function L(){return W(" ")}function ne(){return W("")}function X(i,e,t,r){return i.addEventListener(e,t,r),()=>i.removeEventListener(e,t,r)}function u(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function k(i,e,t){e in i?i[e]=typeof i[e]=="boolean"&&t===""?!0:t:u(i,e,t)}function yi(i){return Array.from(i.childNodes)}function V(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function S(i,e,t,r){i.style.setProperty(e,t,r?"important":"")}function B(i,e,t){i.classList[t?"add":"remove"](e)}function _i(i,e,t=!1){const r=document.createEvent("CustomEvent");return r.initCustomEvent(i,t,!1,e),r}function j(i){const e={};for(const t of i)e[t.name]=t.value;return e}const De=new Set;let Ce=0;function wi(i){let e=5381,t=i.length;for(;t--;)e=(e<<5)-e^i.charCodeAt(t);return e>>>0}function Ae(i,e,t,r,o,n,a,l=0){const s=16.666/r;let c=`{
|
|
2
2
|
`;for(let x=0;x<=1;x+=s){const E=e+(t-e)*n(x);c+=x*100+`%{${a(E,1-E)}}
|
|
3
|
-
`}const
|
|
4
|
-
}`,d=`__svelte_${wi(f)}_${l}`,g=$e(i);De.add(g);const b=g.__svelte_stylesheet||(g.__svelte_stylesheet=vi(i).sheet),m=g.__svelte_rules||(g.__svelte_rules={});m[d]||(m[d]=!0,b.insertRule(`@keyframes ${d} ${f}`,b.cssRules.length));const w=i.style.animation||"";return i.style.animation=`${w?`${w}, `:""}${d} ${r}ms linear ${o}ms 1 both`,Ce+=1,d}function Le(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?n=>n.indexOf(e)<0:n=>n.indexOf("__svelte")===-1),o=t.length-r.length;o&&(i.style.animation=r.join(", "),Ce-=o,Ce||ki())}function ki(){Ge(()=>{Ce||(De.forEach(i=>{const e=i.__svelte_stylesheet;let t=e.cssRules.length;for(;t--;)e.deleteRule(t);i.__svelte_rules={}}),De.clear())})}let me;function be(i){me=i}function et(){if(!me)throw new Error("Function called outside component initialization");return me}function ve(i){et().$$.on_mount.push(i)}function Oe(i){et().$$.on_destroy.push(i)}const pe=[],ue=[],Re=[],tt=[],it=Promise.resolve();let Se=!1;function rt(){Se||(Se=!0,it.then(h))}function Me(){return rt(),it}function K(i){Re.push(i)}const Be=new Set;let Te=0;function h(){const i=me;do{for(;Te<pe.length;){const e=pe[Te];Te++,be(e),xi(e.$$)}for(be(null),pe.length=0,Te=0;ue.length;)ue.pop()();for(let e=0;e<Re.length;e+=1){const t=Re[e];Be.has(t)||(Be.add(t),t())}Re.length=0}while(pe.length);for(;tt.length;)tt.pop()();Se=!1,Be.clear(),be(i)}function xi(i){if(i.fragment!==null){i.update(),Z(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(K)}}let ye;function Pe(){return ye||(ye=Promise.resolve(),ye.then(()=>{ye=null})),ye}function le(i,e,t){i.dispatchEvent(_i(`${e?"intro":"outro"}${t}`))}const He=new Set;let U;function _e(){U={r:0,c:[],p:U}}function we(){U.r||Z(U.c),U=U.p}function N(i,e){i&&i.i&&(He.delete(i),i.i(e))}function q(i,e,t,r){if(i&&i.o){if(He.has(i))return;He.add(i),U.c.push(()=>{He.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}}const Ne={duration:0};function ot(i,e,t){let r=e(i,t),o=!1,n,a,l=0;function s(){n&&Le(i,n)}function c(){const{delay:d=0,duration:g=300,easing:b=he,tick:m=y,css:w}=r||Ne;w&&(n=Ae(i,0,1,g,d,b,w,l++)),m(0,1);const x=ze()+d,E=x+g;a&&a.abort(),o=!0,K(()=>le(i,!0,"start")),a=Ee(C=>{if(o){if(C>=E)return m(1,0),le(i,!0,"end"),s(),o=!1;if(C>=x){const M=b((C-x)/g);m(M,1-M)}}return o})}let f=!1;return{start(){f||(f=!0,Le(i),oe(r)?(r=r(),Pe().then(c)):c())},invalidate(){f=!1},end(){o&&(s(),o=!1)}}}function nt(i,e,t){let r=e(i,t),o=!0,n;const a=U;a.r+=1;function l(){const{delay:s=0,duration:c=300,easing:f=he,tick:d=y,css:g}=r||Ne;g&&(n=Ae(i,1,0,c,s,f,g));const b=ze()+s,m=b+c;K(()=>le(i,!1,"start")),Ee(w=>{if(o){if(w>=m)return d(0,1),le(i,!1,"end"),--a.r||Z(a.c),!1;if(w>=b){const x=f((w-b)/c);d(1-x,x)}}return o})}return oe(r)?Pe().then(()=>{r=r(),l()}):l(),{end(s){s&&r.tick&&r.tick(1,0),o&&(n&&Le(i,n),o=!1)}}}function Ie(i,e,t,r){let o=e(i,t),n=r?0:1,a=null,l=null,s=null;function c(){s&&Le(i,s)}function f(g,b){const m=g.b-n;return b*=Math.abs(m),{a:n,b:g.b,d:m,duration:b,start:g.start,end:g.start+b,group:g.group}}function d(g){const{delay:b=0,duration:m=300,easing:w=he,tick:x=y,css:E}=o||Ne,C={start:ze()+b,b:g};g||(C.group=U,U.r+=1),a||l?l=C:(E&&(c(),s=Ae(i,n,g,m,b,w,E)),g&&x(0,1),a=f(C,m),K(()=>le(i,g,"start")),Ee(M=>{if(l&&M>l.start&&(a=f(l,m),l=null,le(i,a.b,"start"),E&&(c(),s=Ae(i,n,a.b,a.duration,0,w,o.css))),a){if(M>=a.end)x(n=a.b,1-n),le(i,a.b,"end"),l||(a.b?c():--a.group.r||Z(a.group.c)),a=null;else if(M>=a.start){const O=M-a.start;n=a.a+a.d*w(O/a.duration),x(n,1-n)}}return!!(a||l)}))}return{run(g){oe(o)?Pe().then(()=>{o=o(),d(g)}):d(g)},end(){c(),a=l=null}}}function ie(i){i&&i.c()}function Q(i,e,t,r){const{fragment:o,on_mount:n,on_destroy:a,after_update:l}=i.$$;o&&o.m(e,t),r||K(()=>{const s=n.map(je).filter(oe);a?a.push(...s):Z(s),i.$$.on_mount=[]}),l.forEach(K)}function $(i,e){const t=i.$$;t.fragment!==null&&(Z(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function zi(i,e){i.$$.dirty[0]===-1&&(pe.push(i),rt(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function G(i,e,t,r,o,n,a,l=[-1]){const s=me;be(i);const c=i.$$={fragment:null,ctx:null,props:n,update:y,not_equal:o,bound:Ke(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:Ke(),dirty:l,skip_bound:!1,root:e.target||s.$$.root};a&&a(c.root);let f=!1;if(c.ctx=t?t(i,e.props||{},(d,g,...b)=>{const m=b.length?b[0]:g;return c.ctx&&o(c.ctx[d],c.ctx[d]=m)&&(!c.skip_bound&&c.bound[d]&&c.bound[d](m),f&&zi(i,d)),g}):[],c.update(),f=!0,Z(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const d=yi(e.target);c.fragment&&c.fragment.l(d),d.forEach(z)}else c.fragment&&c.fragment.c();e.intro&&N(i.$$.fragment),Q(i,e.target,e.anchor,e.customElement),h()}be(s)}let I;typeof HTMLElement=="function"&&(I=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(je).filter(oe);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){Z(this.$$.on_disconnect)}$destroy(){$(this,1),this.$destroy=y}$on(i,e){const t=this.$$.callbacks[i]||(this.$$.callbacks[i]=[]);return t.push(e),()=>{const r=t.indexOf(e);r!==-1&&t.splice(r,1)}}$set(i){this.$$set&&!hi(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});function Ei(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",this.c=y,u(e,"class","page-content")},m(t,r){_(t,e,r)},p:y,i:y,o:y,d(t){t&&z(e)}}}class at extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.page-content{max-width:100%;margin:0 auto;padding:0 1.75rem}@media(min-width: 768px){.page-content{max-width:80vh}}@media(min-width: 1024px){.page-content{max-width:100ch}}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Ei,H,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-page-block",at);function Ci(i){let e,t,r,o,n,a,l,s,c,f,d,g,b;return{c(){e=p("goa-page-block"),t=p("div"),r=p("a"),o=p("img"),a=L(),l=p("img"),c=L(),f=p("span"),d=W(i[1]),g=L(),b=p("div"),b.innerHTML="<slot></slot>",this.c=y,u(o,"alt","GoA Logo"),u(o,"class","image-mobile"),Ue(o.src,n="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(o,"src",n),u(l,"alt","GoA Logo"),u(l,"class","image-desktop"),Ue(l.src,s="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||u(l,"src",s),u(f,"class","title"),u(r,"href",i[0]),u(r,"class","app-link"),u(t,"class","app-header")},m(m,w){_(m,e,w),v(e,t),v(t,r),v(r,o),v(r,a),v(r,l),v(r,c),v(r,f),v(f,d),v(t,g),v(t,b)},p(m,[w]){w&2&&V(d,m[1]),w&1&&u(r,"href",m[0])},i:y,o:y,d(m){m&&z(e)}}}function Ai(i,e,t){let{url:r}=e,{title:o}=e;return i.$$set=n=>{"url"in n&&t(0,r=n.url),"title"in n&&t(1,o=n.title)},[r,o]}class lt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.app-header{display:flex;align-items:center;justify-content:space-between;margin:0 auto;padding:1rem 0;max-width:1028px;border-bottom:1px solid var(--color-gray-100)}.app-link{display:flex;align-items:center;text-decoration:none;color:inherit}.title{margin-left:0.5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-desktop{display:none}.image-mobile{display:block}@media(min-width: 768px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ai,Ci,H,{url:0,title:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["url","title"]}get url(){return this.$$.ctx[0]}set url(e){this.$$set({url:e}),h()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),h()}}customElements.define("goa-app-header",lt);function D(i){return i==="false"?!1:i===""?!0:!!i}function Li(i){return i?"true":"false"}function st(i){let e;return{c(){e=p("goa-icon"),k(e,"type",i[3]),k(e,"size","small")},m(t,r){_(t,e,r)},p(t,r){r&8&&k(e,"type",t[3])},d(t){t&&z(e)}}}function ct(i){let e,t;return{c(){e=p("div"),t=W(i[2]),u(e,"class","goa-badge-content")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&4&&V(t,r[2])},d(r){r&&z(e)}}}function Ri(i){let e,t,r,o=i[4]&&st(i),n=i[2]&&ct(i);return{c(){e=p("div"),o&&o.c(),t=L(),n&&n.c(),this.c=y,u(e,"data-testid",i[1]),u(e,"data-type","goa-badge"),u(e,"class",r="goa-badge badge-"+i[0]),B(e,"icon-only",i[4]&&!i[2])},m(a,l){_(a,e,l),o&&o.m(e,null),v(e,t),n&&n.m(e,null)},p(a,[l]){a[4]?o?o.p(a,l):(o=st(a),o.c(),o.m(e,t)):o&&(o.d(1),o=null),a[2]?n?n.p(a,l):(n=ct(a),n.c(),n.m(e,null)):n&&(n.d(1),n=null),l&2&&u(e,"data-testid",a[1]),l&1&&r!==(r="goa-badge badge-"+a[0])&&u(e,"class",r),l&21&&B(e,"icon-only",a[4]&&!a[2])},i:y,o:y,d(a){a&&z(e),o&&o.d(),n&&n.d()}}}function Mi(i,e,t){let r,o,{type:n}=e,{testId:a=""}=e,{icon:l}=e,{content:s=""}=e;return i.$$set=c=>{"type"in c&&t(0,n=c.type),"testId"in c&&t(1,a=c.testId),"icon"in c&&t(5,l=c.icon),"content"in c&&t(2,s=c.content)},i.$$.update=()=>{i.$$.dirty&32&&t(4,r=D(l)),i.$$.dirty&1&&t(3,o={success:"checkmark-circle",warning:"alert-circle",information:"information-circle",emergency:"warning",inactive:"information-circle",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[n])},[n,a,s,o,r,l]}class dt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;align-items:center;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;margin:0 0.5rem 0.5rem 0}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--color-blue)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--color-white)}.goa-badge.badge-warning{background-color:var(--goa-color-status-warning);color:var(--color-black)}.goa-badge.badge-emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.goa-badge.badge-dark{background-color:var(--color-black);color:var(--color-white)}.goa-badge.badge-midtone{background-color:var(--color-gray-600);color:var(--color-white)}.goa-badge.badge-light{background-color:var(--color-white);color:var(--color-black)}.goa-badge.badge-inactive{background-color:var(--color-white);color:var(--color-black)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Mi,Ri,H,{type:0,testId:1,icon:5,content:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","testId","icon","content"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get testId(){return this.$$.ctx[1]}set testId(e){this.$$set({testId:e}),h()}get icon(){return this.$$.ctx[5]}set icon(e){this.$$set({icon:e}),h()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),h()}}customElements.define("goa-badge",dt);function Ti(i){let e,t,r,o,n;return{c(){e=p("button"),t=p("slot"),this.c=y,u(e,"class",r=""+(i[0]+" "+i[1]+" "+i[2])),u(e,"title",i[3]),e.disabled=i[4]},m(a,l){_(a,e,l),v(e,t),o||(n=X(e,"click",Hi),o=!0)},p(a,[l]){l&7&&r!==(r=""+(a[0]+" "+a[1]+" "+a[2]))&&u(e,"class",r),l&8&&u(e,"title",a[3]),l&16&&(e.disabled=a[4])},i:y,o:y,d(a){a&&z(e),o=!1,n()}}}function Hi(i){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),i.stopPropagation()}function Ii(i,e,t){let r,{type:o="primary"}=e,{size:n="medium"}=e,{variant:a="default"}=e,{title:l}=e,{disabled:s}=e;return i.$$set=c=>{"type"in c&&t(0,o=c.type),"size"in c&&t(1,n=c.size),"variant"in c&&t(2,a=c.variant),"title"in c&&t(3,l=c.title),"disabled"in c&&t(5,s=c.disabled)},i.$$.update=()=>{i.$$.dirty&32&&t(4,r=D(s))},[o,n,a,l,r,s]}class ut extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@media(max-width: 320px){:host{width:100%}button{width:100%}}button{border-radius:0.25rem;border:2px solid var(--goa-color-interactive);box-sizing:border-box;cursor:pointer;font-size:var(--fs-base, 1rem);font-weight:700;line-height:2.375rem;padding:0 0.75rem;min-width:5rem;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;transform:scaleX(1)}button:active{transform:scale(0.95)}button.primary{border:2px solid var(--goa-color-interactive);background:var(--goa-color-interactive);color:var(--color-white, white)}button.primary:hover{border-color:var(--goa-color-interactive--hover);background:var(--goa-color-interactive--hover)}button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive--highlight);border-color:var(--goa-color-interactive--active);background:var(--goa-color-interactive--active);outline:none}button.secondary{border:2px solid var(--goa-color-interactive);background:var(--color-white);color:var(--goa-color-interactive)}button.secondary:hover{border-color:var(--goa-color-interactive--hover);color:var(--goa-color-interactive--hover)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--highlight);background:var(--color-gray-100);outline:none}button.tertiary{border-color:var(--color-gray-200);background:var(--color-white);color:var(--goa-color-interactive)}button.tertiary:hover{color:var(--goa-color-interactive--hover)}button.tertiary:focus,button.tertiary:active{border-color:var(--goa-color-interactive--active);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--highlight);outline:none}button.borderless{background:none;color:var(--goa-color-interactive);border:none}button.borderless:hover{background-color:var(--goa-color-primary-light);color:var(--goa-color-interactive--hover)}button.borderless:focus,button.borderless:active{outline:none;box-shadow:none;background-color:var(--goa-color-primary-light)}.primary.danger{color:var(--color-white);background:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.primary.danger:hover{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.primary.danger:focus,.primary.danger:active{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.secondary.danger{color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);background:var(--color-white)}.secondary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.secondary.danger:focus,.secondary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}button:disabled{pointer-events:none;color:var(--color-gray-600);background-color:var(--color-gray-100);border-color:var(--color-gray-100)}.tertiary.danger{color:var(--goa-color-status-emergency);border-color:var(--color-gray-200);background:var(--color-white)}.tertiary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.danger:focus,.tertiary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.borderless.danger{color:var(--goa-color-status-emergency)}.borderless.danger:hover{background:var(--goa-color-emergency-light);color:var(--goa-color-status-emergency-dark)}.borderless.danger:focus,.borderless.danger:active{background:var(--goa-color-emergency-light);color:var(--goa-color-status-emergency-dark)}.large{font-size:var(--fs-lg);line-height:3rem}.large.borderless{line-height:calc(3rem + 4px)}.medium{font-size:var(--fs-base);line-height:2.375rem}.medium.borderless{line-height:calc(2.375rem + 4px)}.small{font-size:var(--fs-sm);line-height:1.75rem}.small.borderless{line-height:calc(1.75rem + 4px)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ii,Ti,H,{type:0,size:1,variant:2,title:3,disabled:5},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","variant","title","disabled"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),h()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),h()}get disabled(){return this.$$.ctx[5]}set disabled(e){this.$$set({disabled:e}),h()}}customElements.define("goa-button",ut);function ji(i){let e,t;return{c(){e=p("div"),t=p("slot"),this.c=y,S(e,"--alignment","flex-"+i[1]),S(e,"--gap-size",i[0]==="small"?"0.5rem":"1rem")},m(r,o){_(r,e,o),v(e,t)},p(r,[o]){o&2&&S(e,"--alignment","flex-"+r[1]),o&1&&S(e,"--gap-size",r[0]==="small"?"0.5rem":"1rem")},i:y,o:y,d(r){r&&z(e)}}}function Gi(i,e,t){let{gap:r="medium"}=e,{alignment:o}=e;return i.$$set=n=>{"gap"in n&&t(0,r=n.gap),"alignment"in n&&t(1,o=n.alignment)},[r,o]}class ft extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}div{display:flex;flex-direction:row;justify-content:var(--alignment);flex-wrap:wrap;gap:var(--gap-size)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Gi,ji,H,{gap:0,alignment:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap","alignment"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),h()}get alignment(){return this.$$.ctx[1]}set alignment(e){this.$$set({alignment:e}),h()}}customElements.define("goa-button-group",ft);function Di(i){let e,t,r,o,n,a,l,s,c,f;return{c(){e=p("div"),t=p("span"),r=p("goa-icon"),n=L(),a=p("span"),l=p("h3"),s=W(i[1]),c=L(),f=p("slot"),this.c=y,k(r,"type",i[3]),k(r,"inverted",""),u(t,"class",o="icon "+i[0]),u(a,"class","content"),u(e,"class","notification"),u(e,"data-testid",i[2])},m(d,g){_(d,e,g),v(e,t),v(t,r),v(e,n),v(e,a),v(a,l),v(l,s),v(a,c),v(a,f)},p(d,[g]){g&8&&k(r,"type",d[3]),g&1&&o!==(o="icon "+d[0])&&u(t,"class",o),g&2&&V(s,d[1]),g&4&&u(e,"data-testid",d[2])},i:y,o:y,d(d){d&&z(e)}}}function Oi(i,e,t){let r,{type:o}=e,{title:n}=e,{testId:a=""}=e;return i.$$set=l=>{"type"in l&&t(0,o=l.type),"title"in l&&t(1,n=l.title),"testId"in l&&t(2,a=l.testId)},i.$$.update=()=>{i.$$.dirty&1&&t(3,r=o==="emergency"?"warning":o==="caution"?"alert-circle":o==="information"?"information-circle":o==="success"?"checkmark-circle":o==="event"?"calendar":"")},[o,n,a,r]}class gt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{display:flex;align-items:stretch;border-radius:3px;overflow:hidden;margin-bottom:1.75rem}h3{font-size:var(--fs-xl);font-weight:var(--fw-regular);margin-top:0}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.caution{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info);color:var(--color-white)}.event{background-color:var(--goa-color-status-info);color:var(--color-white)}.success{background-color:var(--goa-color-status-success);color:var(--color-white)}.icon{flex:0 0 3rem;text-align:center;padding-top:1.75rem}.content{flex:1 1 auto;background-color:var(--color-gray-100);padding:1.75rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Oi,Di,H,{type:0,title:1,testId:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","title","testId"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),h()}get testId(){return this.$$.ctx[2]}set testId(e){this.$$set({testId:e}),h()}}customElements.define("goa-callout",gt);function Si(i){let e,t,r;return{c(){e=p("div"),t=p("slot"),this.c=y,u(e,"class","card"),u(e,"style",r="--width: "+i[1]+"px; "+(i[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(o,n){_(o,e,n),v(e,t)},p(o,[n]){n&3&&r!==(r="--width: "+o[1]+"px; "+(o[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${o[0]});`)+"")&&u(e,"style",r)},i:y,o:y,d(o){o&&z(e)}}}function Bi(i,e,t){let{elevation:r=0}=e,{width:o=320}=e;return i.$$set=n=>{"elevation"in n&&t(0,r=n.elevation),"width"in n&&t(1,o=n.width)},[r,o]}class ht extends I{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card{display:flex;flex-direction:column;background-color:var(--color-white);border-radius:4px;overflow:hidden;width:100%}@media(min-width: 320px){.card{width:var(--width);margin:0 auto
|
|
5
|
-
}}</style>`,G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Bi,Si,H,{elevation:0,width:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["elevation","width"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),h()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),h()}}customElements.define("goa-card",ht);function Pi(i){let e;return{c(){e=p("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=y},m(t,r){_(t,e,r)},p:y,i:y,o:y,d(t){t&&z(e)}}}class mt extends I{constructor(e){super();G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Pi,H,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-card-actions",mt);function Ni(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",this.c=y,u(e,"class","card-content")},m(t,r){_(t,e,r)},p:y,i:y,o:y,d(t){t&&z(e)}}}class bt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Ni,H,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-card-content",bt);function Fi(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",this.c=y,u(e,"class","card-group")},m(t,r){_(t,e,r)},p:y,i:y,o:y,d(t){t&&z(e)}}}class vt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Fi,H,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-card-group",vt);function qi(i){let e;return{c(){e=p("div"),this.c=y,u(e,"class","card-image"),S(e,"background-image","url("+i[0]+")"),S(e,"height",i[1]),S(e,"background-size","cover"),S(e,"background-position","center")},m(t,r){_(t,e,r)},p(t,[r]){r&1&&S(e,"background-image","url("+t[0]+")"),r&2&&S(e,"height",t[1])},i:y,o:y,d(t){t&&z(e)}}}function Wi(i,e,t){let{src:r}=e,{height:o="100%"}=e;return i.$$set=n=>{"src"in n&&t(0,r=n.src),"height"in n&&t(1,o=n.height)},[r,o]}class pt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Wi,qi,H,{src:0,height:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["src","height"]}get src(){return this.$$.ctx[0]}set src(e){this.$$set({src:e}),h()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),h()}}customElements.define("goa-card-image",pt);function yt(i){let e;function t(n,a){return n[4]?Xi:Vi}let r=t(i),o=r(i);return{c(){o.c(),e=ae()},m(n,a){o.m(n,a),_(n,e,a)},p(n,a){r!==(r=t(n))&&(o.d(1),o=r(n),o&&(o.c(),o.m(e.parentNode,e)))},d(n){o.d(n),n&&z(e)}}}function Vi(i){let e,t;return{c(){e=ne("svg"),t=ne("path"),u(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),u(e,"id","checkmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 16 12.18")},m(r,o){_(r,e,o),v(e,t)},d(r){r&&z(e)}}}function Xi(i){let e,t;return{c(){e=ne("svg"),t=ne("rect"),u(t,"width","15"),u(t,"height","2"),u(e,"id","dashmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 15 2")},m(r,o){_(r,e,o),v(e,t)},d(r){r&&z(e)}}}function Ji(i){let e,t,r,o,n,a,l,s,c,f,d,g=i[3]&&yt(i);return{c(){e=p("label"),t=p("div"),r=p("input"),n=L(),g&&g.c(),a=L(),l=p("div"),s=p("slot"),c=W(i[1]),this.c=y,u(r,"id",i[7]),u(r,"name",i[0]),r.checked=i[3],r.disabled=i[6],u(r,"type","checkbox"),r.value=o=`${i[2]}`,u(t,"class","goa-checkbox-container"),B(t,"goa-checkbox--selected",i[3]),u(s,"name","main"),u(l,"class","goa-checkbox-text"),u(e,"for",i[7]),u(e,"class","goa-checkbox"),B(e,"goa-checkbox--disabled",i[6]),B(e,"goa-checkbox--error",i[5])},m(b,m){_(b,e,m),v(e,t),v(t,r),v(t,n),g&&g.m(t,null),v(e,a),v(e,l),v(l,s),v(s,c),f||(d=X(r,"change",i[8]),f=!0)},p(b,[m]){m&128&&u(r,"id",b[7]),m&1&&u(r,"name",b[0]),m&8&&(r.checked=b[3]),m&64&&(r.disabled=b[6]),m&4&&o!==(o=`${b[2]}`)&&(r.value=o),b[3]?g?g.p(b,m):(g=yt(b),g.c(),g.m(t,null)):g&&(g.d(1),g=null),m&8&&B(t,"goa-checkbox--selected",b[3]),m&2&&V(c,b[1]),m&128&&u(e,"for",b[7]),m&64&&B(e,"goa-checkbox--disabled",b[6]),m&32&&B(e,"goa-checkbox--error",b[5])},i:y,o:y,d(b){b&&z(e),g&&g.d(),f=!1,d()}}}function Ki(i,e,t){let r,o,n,a,l,{name:s}=e,{text:c=""}=e,{value:f=""}=e,{checked:d}=e,{disabled:g}=e,{indeterminate:b}=e,{error:m}=e;function w(x){const E=!a,C=E?`${f||"checked"}`:"";x.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:s,checked:E,value:C}}))}return i.$$set=x=>{"name"in x&&t(0,s=x.name),"text"in x&&t(1,c=x.text),"value"in x&&t(2,f=x.value),"checked"in x&&t(9,d=x.checked),"disabled"in x&&t(10,g=x.disabled),"indeterminate"in x&&t(11,b=x.indeterminate),"error"in x&&t(12,m=x.error)},i.$$.update=()=>{i.$$.dirty&1&&t(7,r=`id-${s}`),i.$$.dirty&1024&&t(6,o=D(g)),i.$$.dirty&4096&&t(5,n=D(m)),i.$$.dirty&512&&t(3,a=D(d)),i.$$.dirty&2048&&t(4,l=D(b))},[s,c,f,a,l,n,o,r,w,d,g,b,m]}class _t extends I{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute}.goa-checkbox--disabled{opacity:30%}label.goa-checkbox--disabled{cursor:default}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--color-gray-600);border-radius:2px;background-color:var(--color-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px}.goa-checkbox-container svg{fill:var(--color-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive)}.goa-checkbox-container:hover:not(.goa-checkbox--selected){background-color:var(--color-gray-100)}.goa-checkbox-container:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--highlight);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--fw-regular)}.goa-checkbox--error .goa-checkbox-container{border:2px solid var(--goa-color-status-emergency)}</style>',G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ki,Ji,H,{name:0,text:1,value:2,checked:9,disabled:10,indeterminate:11,error:12},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","text","value","checked","disabled","indeterminate","error"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),h()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),h()}get checked(){return this.$$.ctx[9]}set checked(e){this.$$set({checked:e}),h()}get disabled(){return this.$$.ctx[10]}set disabled(e){this.$$set({disabled:e}),h()}get indeterminate(){return this.$$.ctx[11]}set indeterminate(e){this.$$set({indeterminate:e}),h()}get error(){return this.$$.ctx[12]}set error(e){this.$$set({error:e}),h()}}customElements.define("goa-checkbox",_t);function Ui(i){let e,t,r,o,n,a,l,s,c;return{c(){e=p("div"),t=p("header"),r=p("div"),r.innerHTML='<slot name="title"></slot>',o=L(),n=p("div"),n.innerHTML='<slot name="actions"></slot>',l=L(),s=p("div"),s.innerHTML="<slot></slot>",this.c=y,u(r,"class","title"),u(n,"class","actions"),u(t,"class",a="heading--"+i[1]),u(s,"class","content"),u(e,"class",c="goa-container goa-container--"+i[0])},m(f,d){_(f,e,d),v(e,t),v(t,r),v(t,o),v(t,n),v(e,l),v(e,s)},p(f,[d]){d&2&&a!==(a="heading--"+f[1])&&u(t,"class",a),d&1&&c!==(c="goa-container goa-container--"+f[0])&&u(e,"class",c)},i:y,o:y,d(f){f&&z(e)}}}function Yi(i,e,t){let{variant:r="default"}=e,{headingsize:o="large"}=e;return i.$$set=n=>{"variant"in n&&t(0,r=n.variant),"headingsize"in n&&t(1,o=n.headingsize)},[r,o]}class wt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-container{margin-bottom:1rem;box-sizing:border-box}.goa-container *{box-sizing:border-box}header{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--fs-base);border-width:1px;border-style:solid;border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);padding-left:1.5rem;padding-right:1.5rem}.content{padding:1.5rem;border-bottom:1px solid var(--color-gray-200);border-left:1px solid var(--color-gray-200);border-right:1px solid var(--color-gray-200);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.goa-container--default header{background-color:var(--color-gray-100);border-color:var(--color-gray-200);color:var(--color-black)}.goa-container--primary header{background-color:var(--goa-color-brand);border-color:var(--goa-color-brand);color:var(--color-white)}.goa-container--info header{background-color:var(--goa-color-status-info);border-color:var(--goa-color-status-info);color:var(--color-white)}.goa-container--error header{background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);color:var(--color-white)}.goa-container--success header{background-color:var(--goa-color-status-success);border-color:var(--goa-color-status-success);color:var(--color-white)}.goa-container--warning header{background-color:var(--goa-color-status-warning);border-color:var(--goa-color-status-warning);color:var(--color-white)}.heading--large{padding:0.5rem 1.5rem;max-height:4rem}.heading--large .title{line-height:2rem}.heading--small{height:0.5rem}.heading--none{display:none}.heading--none~.content{border-top:1px solid var(--color-gray-200);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.heading--small .title,.heading--small .actions{display:none}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Yi,Ui,H,{variant:0,headingsize:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["variant","headingsize"]}get variant(){return this.$$.ctx[0]}set variant(e){this.$$set({variant:e}),h()}get headingsize(){return this.$$.ctx[1]}set headingsize(e){this.$$set({headingsize:e}),h()}}customElements.define("goa-container",wt);const fe=[];function Fe(i,e=y){let t;const r=new Set;function o(l){if(H(i,l)&&(i=l,t)){const s=!fe.length;for(const c of r)c[1](),fe.push(c,i);if(s){for(let c=0;c<fe.length;c+=2)fe[c][0](fe[c+1]);fe.length=0}}}function n(l){o(l(i))}function a(l,s=y){const c=[l,s];return r.add(c),r.size===1&&(t=e(o)||y),l(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:o,update:n,subscribe:a}}const ee=Fe({});function kt(i){let e,t,r,o;return{c(){e=p("div"),u(e,"data-testid",t=`${i[0]}-dropdown-background`),u(e,"class","goa-dropdown-background")},m(n,a){_(n,e,a),r||(o=X(e,"click",i[12]),r=!0)},p(n,a){a&1&&t!==(t=`${n[0]}-dropdown-background`)&&u(e,"data-testid",t)},d(n){n&&z(e),r=!1,o()}}}function xt(i){let e,t,r,o,n,a,l;return{c(){e=p("div"),t=p("goa-input"),k(t,"disabled",i[10]),k(t,"leadingicon",i[1]),k(t,"placeholder",i[3]),k(t,"id",r=`${i[0]}-dropdown-input`),k(t,"name","search"),k(t,"readonly",""),k(t,"trailingicon","chevron-down"),k(t,"handletrailingiconclick",""),k(t,"type","text"),k(t,"value",o=i[4].join(", ")),u(e,"data-testid",n=`${i[0]}-dropdown`)},m(s,c){_(s,e,c),v(e,t),a||(l=X(t,"focus",i[11]),a=!0)},p(s,c){c&1024&&k(t,"disabled",s[10]),c&2&&k(t,"leadingicon",s[1]),c&8&&k(t,"placeholder",s[3]),c&1&&r!==(r=`${s[0]}-dropdown-input`)&&k(t,"id",r),c&16&&o!==(o=s[4].join(", "))&&k(t,"value",o),c&1&&n!==(n=`${s[0]}-dropdown`)&&u(e,"data-testid",n)},d(s){s&&z(e),a=!1,l()}}}function zt(i){let e,t,r,o,n,a=i[9]&&Et(i);return{c(){e=p("div"),a&&a.c(),t=L(),r=p("ul"),o=p("slot"),u(r,"class","goa-dropdown-list"),u(r,"style",n=`overflow-y: auto; max-height: ${i[2]||Ct}px`),u(e,"class","menu")},m(l,s){_(l,e,s),a&&a.m(e,null),v(e,t),v(e,r),v(r,o)},p(l,s){l[9]?a?a.p(l,s):(a=Et(l),a.c(),a.m(e,t)):a&&(a.d(1),a=null),s&4&&n!==(n=`overflow-y: auto; max-height: ${l[2]||Ct}px`)&&u(r,"style",n)},d(l){l&&z(e),a&&a.d()}}}function Et(i){let e,t;return{c(){e=p("goa-input"),k(e,"focused",i[5]),k(e,"name","filter"),k(e,"placeholder","Filter"),k(e,"trailingicon",t=i[8].length>0?"close-circle":"search"),k(e,"handletrailingiconclick",""),k(e,"type","text"),k(e,"value",i[8])},m(r,o){_(r,e,o),i[17](e)},p(r,o){o&32&&k(e,"focused",r[5]),o&256&&t!==(t=r[8].length>0?"close-circle":"search")&&k(e,"trailingicon",t),o&256&&k(e,"value",r[8])},d(r){r&&z(e),i[17](null)}}}function Zi(i){let e,t,r,o,n=i[5]&&kt(i),a=(!i[5]||!i[9])&&xt(i),l=i[5]&&zt(i);return{c(){e=p("div"),n&&n.c(),t=L(),r=p("div"),a&&a.c(),o=L(),l&&l.c(),this.c=y,u(e,"class","goa-dropdown-box")},m(s,c){_(s,e,c),n&&n.m(e,null),v(e,t),v(e,r),a&&a.m(r,null),v(r,o),l&&l.m(r,null),i[18](e)},p(s,[c]){s[5]?n?n.p(s,c):(n=kt(s),n.c(),n.m(e,t)):n&&(n.d(1),n=null),!s[5]||!s[9]?a?a.p(s,c):(a=xt(s),a.c(),a.m(r,o)):a&&(a.d(1),a=null),s[5]?l?l.p(s,c):(l=zt(s),l.c(),l.m(r,null)):l&&(l.d(1),l=null)},i:y,o:y,d(s){s&&z(e),n&&n.d(),a&&a.d(),l&&l.d(),i[18](null)}}}const Ct=300;function Qi(i,e,t){let r,o,n,{name:a}=e,{values:l}=e,{leadingicon:s}=e,{maxheight:c}=e,{placeholder:f}=e,{multiselect:d}=e,{disabled:g}=e,{autocomplete:b}=e,m=[],w=[],x=!1,E,C,M="";const O=ee.subscribe(T=>{var ce,We;if(((ce=T[a])===null||ce===void 0?void 0:ce.tag)!==a)return;const J=T[a];switch((We=J==null?void 0:J.payload)===null||We===void 0?void 0:We.type){case"DropDownAction":{if(J.payload.action==="select"&&(r?(t(4,m=[...m,J.payload.label]),w=[...w,J.payload.value]):(t(4,m=[J.payload.label]),w=[J.payload.value])),J.payload.action==="deselect"){const Ve=J.payload.label,Xr=J.payload.value;t(4,m=m.filter(Xe=>Xe!==Ve)),w=w.filter(Xe=>Xe!==Xr)}r||t(5,x=!1),ee.update(Ve=>Object.assign(Object.assign({},Ve),{[a]:null})),E.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{event:null,data:{name:a,value:w}}}));break}}});ve(async()=>{await Me(),ee.update(T=>Object.assign(Object.assign({},T),{[a]:{tag:a,payload:{type:"DropDownInit",values:l?JSON.parse(l):[],multiSelect:r}}}))}),Oe(()=>{ee.update(T=>(delete T[a],T)),O()});let P=T=>{T.stopPropagation(),t(8,M=T.detail.data.value),ee.update(ce=>Object.assign(Object.assign({},ce),{[a]:{tag:a,payload:{type:"FilterChange",filter:M}}}))},se=T=>{T.stopPropagation(),t(8,M=""),ee.update(ce=>Object.assign(Object.assign({},ce),{[a]:{tag:a,payload:{type:"FilterChange",filter:M}}})),C==null||C.focus()};async function re(){t(5,x=!0),await Me(),C==null||C.addEventListener("_change",P),C==null||C.addEventListener("_trailingIconClick",se),C==null||C.focus()}function A(){t(5,x=!1),C==null||C.removeEventListener("_change",P),C==null||C.removeEventListener("_trailingIconClick",se)}function F(T){ue[T?"unshift":"push"](()=>{C=T,t(7,C)})}function te(T){ue[T?"unshift":"push"](()=>{E=T,t(6,E)})}return i.$$set=T=>{"name"in T&&t(0,a=T.name),"values"in T&&t(13,l=T.values),"leadingicon"in T&&t(1,s=T.leadingicon),"maxheight"in T&&t(2,c=T.maxheight),"placeholder"in T&&t(3,f=T.placeholder),"multiselect"in T&&t(14,d=T.multiselect),"disabled"in T&&t(15,g=T.disabled),"autocomplete"in T&&t(16,b=T.autocomplete)},i.$$.update=()=>{i.$$.dirty&16384&&(r=D(d)),i.$$.dirty&32768&&t(10,o=D(g)),i.$$.dirty&65536&&t(9,n=D(b))},[a,s,c,f,m,x,E,C,M,n,o,re,A,l,d,g,b,F,te]}class At extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-dropdown-box{position:relative}.menu goa-input{position:relative}.goa-dropdown-background{position:fixed;inset:0}.goa-dropdown-list{position:absolute;left:0;right:0;padding:0;margin:0;margin-top:3px;list-style-type:none;background:var(--color-white);border-radius:var(--input-border-radius);box-shadow:var(--shadow-1);z-index:99}.goa-dropdown-list{scroll-behavior:smooth;scrollbar-width:thin}.goa-dropdown-list::-webkit-scrollbar{width:6px}.goa-dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.goa-dropdown-list::-webkit-scrollbar-thumb{background:#888}.goa-dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Qi,Zi,H,{name:0,values:13,leadingicon:1,maxheight:2,placeholder:3,multiselect:14,disabled:15,autocomplete:16},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","values","leadingicon","maxheight","placeholder","multiselect","disabled","autocomplete"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get values(){return this.$$.ctx[13]}set values(e){this.$$set({values:e}),h()}get leadingicon(){return this.$$.ctx[1]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get maxheight(){return this.$$.ctx[2]}set maxheight(e){this.$$set({maxheight:e}),h()}get placeholder(){return this.$$.ctx[3]}set placeholder(e){this.$$set({placeholder:e}),h()}get multiselect(){return this.$$.ctx[14]}set multiselect(e){this.$$set({multiselect:e}),h()}get disabled(){return this.$$.ctx[15]}set disabled(e){this.$$set({disabled:e}),h()}get autocomplete(){return this.$$.ctx[16]}set autocomplete(e){this.$$set({autocomplete:e}),h()}}customElements.define("goa-dropdown",At);function $i(i){let e,t=(i[2]||i[0])+"",r,o,n;return{c(){e=p("li"),this.c=y,u(e,"class","goa-dropdown-option"),u(e,"style",r=`display: ${i[4]?"none":"block"}`),u(e,"data-testid",i[1]),B(e,"goa-dropdown-option--disabled",i[5]),B(e,"goa-dropdown-option--selected",i[3])},m(a,l){_(a,e,l),e.innerHTML=t,o||(n=X(e,"click",i[6]),o=!0)},p(a,[l]){l&5&&t!==(t=(a[2]||a[0])+"")&&(e.innerHTML=t),l&16&&r!==(r=`display: ${a[4]?"none":"block"}`)&&u(e,"style",r),l&2&&u(e,"data-testid",a[1]),l&32&&B(e,"goa-dropdown-option--disabled",a[5]),l&8&&B(e,"goa-dropdown-option--selected",a[3])},i:y,o:y,d(a){a&&z(e),o=!1,n()}}}function er(i,e,t){let r,o,n,{name:a=""}=e,{value:l=""}=e,{label:s=""}=e,{testId:c=""}=e,{selected:f=""}=e,{disabled:d=""}=e,{hide:g=""}=e,b,m;ve(async()=>{await Me()});function w(E){if(E.length===0||!s.toLowerCase().includes(E.toLowerCase()))return s;t(2,m="");let C=0;return[...s.matchAll(new RegExp(E,"gi"))].forEach(M=>{t(2,m+=s.slice(C,M.index)+`<b>${M[0]}</b>`),C=M.index+M[0].length}),t(2,m+=s.slice(C)),m}ee.subscribe(E=>{const C=E[a];if(!!C&&C.tag===a)switch(C.payload.type){case"FilterChange":{const M=C.payload.filter.toLowerCase();if(!l&&!s)t(7,g="false");else{const O=l.toLowerCase().includes(M)||s.toLowerCase().includes(M);t(7,g=Li(!O))}t(2,m=w(M));break}case"DropDownAction":{C.payload.label!==s&&!b&&t(3,r=!1);break}case"DropDownInit":{t(3,r=C.payload.values.includes(l)),b=C.payload.multiSelect,r&&ee.update(M=>Object.assign(Object.assign({},M),{[a]:{tag:a,payload:{type:"DropDownAction",action:"select",label:s,value:l}}}));break}}});function x(){t(3,r=!r),ee.update(E=>Object.assign(Object.assign({},E),{[a]:{tag:a,payload:{type:"DropDownAction",action:r?"select":"deselect",label:s,value:l,multiSelect:b}}}))}return i.$$set=E=>{"name"in E&&t(8,a=E.name),"value"in E&&t(9,l=E.value),"label"in E&&t(0,s=E.label),"testId"in E&&t(1,c=E.testId),"selected"in E&&t(10,f=E.selected),"disabled"in E&&t(11,d=E.disabled),"hide"in E&&t(7,g=E.hide)},i.$$.update=()=>{i.$$.dirty&1024&&t(3,r=D(f)),i.$$.dirty&2048&&t(5,o=D(d)),i.$$.dirty&128&&t(4,n=D(g))},[s,c,m,r,n,o,x,g,a,l,f,d]}class Lt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}li{font-family:var(--font-family)}.goa-dropdown-option{margin:0;padding:0.5rem;cursor:pointer;color:var(--color-black)}.goa-dropdown-option:hover{background:var(--color-gray-100);color:var(--goa-color-interactive--hover)}.goa-dropdown-option--disabled{opacity:0.5;cursor:default}.goa-dropdown-option--disabled:hover{cursor:default;color:var(--color-gray-600)}.goa-dropdown-option--selected{background:var(--goa-color-interactive--active);color:var(--color-white)}.goa-dropdown-option--selected:hover{background:var(--goa-color-interactive--hover);color:var(--color-white)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},er,$i,H,{name:8,value:9,label:0,testId:1,selected:10,disabled:11,hide:7},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","label","testId","selected","disabled","hide"]}get name(){return this.$$.ctx[8]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[9]}set value(e){this.$$set({value:e}),h()}get label(){return this.$$.ctx[0]}set label(e){this.$$set({label:e}),h()}get testId(){return this.$$.ctx[1]}set testId(e){this.$$set({testId:e}),h()}get selected(){return this.$$.ctx[10]}set selected(e){this.$$set({selected:e}),h()}get disabled(){return this.$$.ctx[11]}set disabled(e){this.$$set({disabled:e}),h()}get hide(){return this.$$.ctx[7]}set hide(e){this.$$set({hide:e}),h()}}customElements.define("goa-dropdown-item",Lt);function tr(i){let e,t;return{c(){e=p("div"),t=p("slot"),this.c=y,u(e,"class","goa-flex-row"),S(e,"gap",i[0])},m(r,o){_(r,e,o),v(e,t)},p(r,[o]){o&1&&S(e,"gap",r[0])},i:y,o:y,d(r){r&&z(e)}}}function ir(i,e,t){let r,{gap:o=""}=e;return i.$$set=n=>{"gap"in n&&t(1,o=n.gap)},i.$$.update=()=>{i.$$.dirty&2&&t(0,r=o==="small"?"1rem":o==="medium"?"2rem":o==="large"?"3rem":"0")},[r,o]}class Rt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-flex-row{margin-bottom:1rem;display:flex;flex-direction:column;flex-wrap:wrap;align-items:stretch}@media(min-width: 480px){.goa-flex-row{flex-direction:row}}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},ir,tr,H,{gap:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap"]}get gap(){return this.$$.ctx[1]}set gap(e){this.$$set({gap:e}),h()}}customElements.define("goa-flex-row",Rt);function Mt(i){let e,t,r,o=i[4]&&Tt();return{c(){e=p("label"),t=W(i[3]),r=L(),o&&o.c(),u(e,"for",i[1])},m(n,a){_(n,e,a),v(e,t),v(e,r),o&&o.m(e,null)},p(n,a){a&8&&V(t,n[3]),n[4]?o||(o=Tt(),o.c(),o.m(e,null)):o&&(o.d(1),o=null),a&2&&u(e,"for",n[1])},d(n){n&&z(e),o&&o.d()}}}function Tt(i){let e;return{c(){e=p("em"),e.textContent="(optional)"},m(t,r){_(t,e,r)},d(t){t&&z(e)}}}function Ht(i){let e,t;return{c(){e=p("div"),t=W(i[2]),u(e,"class","error-msg")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&4&&V(t,r[2])},d(r){r&&z(e)}}}function It(i){let e,t;return{c(){e=p("div"),t=W(i[0]),u(e,"class","help-msg")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&1&&V(t,r[0])},d(r){r&&z(e)}}}function rr(i){let e,t,r,o,n,a=i[3]&&Mt(i),l=i[2]&&Ht(i),s=i[0]&&It(i);return{c(){e=p("div"),a&&a.c(),t=L(),r=p("div"),r.innerHTML="<slot></slot>",o=L(),l&&l.c(),n=L(),s&&s.c(),this.c=y,u(r,"class","form-item-input"),u(e,"class","goa-form-item")},m(c,f){_(c,e,f),a&&a.m(e,null),v(e,t),v(e,r),v(e,o),l&&l.m(e,null),v(e,n),s&&s.m(e,null)},p(c,[f]){c[3]?a?a.p(c,f):(a=Mt(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[2]?l?l.p(c,f):(l=Ht(c),l.c(),l.m(e,n)):l&&(l.d(1),l=null),c[0]?s?s.p(c,f):(s=It(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:y,o:y,d(c){c&&z(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function or(i,e,t){let r,{helptext:o=""}=e,{name:n=""}=e,{error:a=""}=e,{label:l=""}=e,{optional:s}=e;return i.$$set=c=>{"helptext"in c&&t(0,o=c.helptext),"name"in c&&t(1,n=c.name),"error"in c&&t(2,a=c.error),"label"in c&&t(3,l=c.label),"optional"in c&&t(5,s=c.optional)},i.$$.update=()=>{i.$$.dirty&32&&t(4,r=D(s))},[o,n,a,l,r,s]}class jt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{flex:1 1 auto;box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}label{display:block;font-weight:bold;color:#333;font-size:var(--fs-base);padding:0.5rem 0;max-height:2.5rem}label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--fs-sm);color:var(--color-black)}.error-msg{font-size:var(--fs-sm);color:var(--goa-color-status-emergency);margin-bottom:0.25rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},or,rr,H,{helptext:0,name:1,error:2,label:3,optional:5},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["helptext","name","error","label","optional"]}get helptext(){return this.$$.ctx[0]}set helptext(e){this.$$set({helptext:e}),h()}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),h()}get error(){return this.$$.ctx[2]}set error(e){this.$$set({error:e}),h()}get label(){return this.$$.ctx[3]}set label(e){this.$$set({label:e}),h()}get optional(){return this.$$.ctx[5]}set optional(e){this.$$set({optional:e}),h()}}customElements.define("goa-form-item",jt);function nr(i){let e,t,r,o,n,a,l,s;return{c(){e=p("div"),t=p("goa-page-block"),r=p("h1"),o=W(i[0]),n=L(),a=p("div"),a.innerHTML='<slot name="content"></slot>',l=L(),s=p("slot"),this.c=y,u(r,"role","heading"),u(a,"class","goa-hero-banner-content"),u(a,"role","note"),u(s,"name","actions"),u(e,"class","goa-hero"),S(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+i[1]+")"),S(e,"background-size","cover"),S(e,"background-position","center"),S(e,"background-repeat","no-repeat")},m(c,f){_(c,e,f),v(e,t),v(t,r),v(r,o),v(t,n),v(t,a),v(t,l),v(t,s)},p(c,[f]){f&1&&V(o,c[0]),f&2&&S(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+c[1]+")")},i:y,o:y,d(c){c&&z(e)}}}function ar(i,e,t){let{title:r}=e,{backgroundurl:o}=e;return i.$$set=n=>{"title"in n&&t(0,r=n.title),"backgroundurl"in n&&t(1,o=n.backgroundurl)},[r,o]}class Gt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;min-height:600px;border-bottom:8px solid var(--goa-color-primary-dark);color:var(--color-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--color-white);font-size:var(--fs-3xl);line-height:var(--lh-2xl);font-weight:var(--fw-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},ar,nr,H,{title:0,backgroundurl:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["title","backgroundurl"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),h()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),h()}}customElements.define("goa-hero-banner",Gt);function Dt(i){let e,t,r;return{c(){e=p("ion-icon"),k(e,"style",t=`width: ${i[2]}; height: ${i[2]}`),k(e,"name",r=i[1]==="filled"?i[0]:`${i[0]}-${i[1]}`)},m(o,n){_(o,e,n)},p(o,n){n&4&&t!==(t=`width: ${o[2]}; height: ${o[2]}`)&&k(e,"style",t),n&3&&r!==(r=o[1]==="filled"?o[0]:`${o[0]}-${o[1]}`)&&k(e,"name",r)},d(o){o&&z(e)}}}function lr(i){let e,t,r,o=i[0]&&Dt(i);return{c(){e=p("div"),o&&o.c(),this.c=y,u(e,"class","goa-icon"),u(e,"data-testid",t=`icon-${i[0]}`),u(e,"style",r=`--size: ${i[2]}`),B(e,"inverted",i[3])},m(n,a){_(n,e,a),o&&o.m(e,null)},p(n,[a]){n[0]?o?o.p(n,a):(o=Dt(n),o.c(),o.m(e,null)):o&&(o.d(1),o=null),a&1&&t!==(t=`icon-${n[0]}`)&&u(e,"data-testid",t),a&4&&r!==(r=`--size: ${n[2]}`)&&u(e,"style",r),a&8&&B(e,"inverted",n[3])},i:y,o:y,d(n){n&&z(e),o&&o.d()}}}function sr(i,e,t){let r,o,{type:n}=e,{size:a="medium"}=e,{theme:l="outline"}=e,{inverted:s}=e;return i.$$set=c=>{"type"in c&&t(0,n=c.type),"size"in c&&t(4,a=c.size),"theme"in c&&t(1,l=c.theme),"inverted"in c&&t(5,s=c.inverted)},i.$$.update=()=>{i.$$.dirty&32&&t(3,r=D(s)),i.$$.dirty&16&&t(2,o={small:"1.1rem",medium:"1.5rem",large:"2rem"}[a])},[n,l,o,r,a,s]}class Ot extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}:host,.goa-icon{display:inline-flex;align-items:center}.goa-icon,.goa-icon *{box-sizing:border-box}.goa-icon{width:var(--size);height:var(--size)}.inverted{color:#fff;fill:#fff}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},sr,lr,H,{type:0,size:4,theme:1,inverted:5},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","theme","inverted"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[4]}set size(e){this.$$set({size:e}),h()}get theme(){return this.$$.ctx[1]}set theme(e){this.$$set({theme:e}),h()}get inverted(){return this.$$.ctx[5]}set inverted(e){this.$$set({inverted:e}),h()}}customElements.define("goa-icon",Ot);function cr(i){let e,t,r,o;return{c(){e=p("button"),t=p("goa-icon"),this.c=y,k(t,"type",i[0]),k(t,"size",i[1]),k(t,"theme",i[2]),k(t,"inverted",i[5]),S(e,"--size",i[6]),u(e,"title",i[3]),e.disabled=i[7],u(e,"class",i[8]),u(e,"data-testid",i[4])},m(n,a){_(n,e,a),v(e,t),r||(o=X(e,"click",dr),r=!0)},p(n,[a]){a&1&&k(t,"type",n[0]),a&2&&k(t,"size",n[1]),a&4&&k(t,"theme",n[2]),a&32&&k(t,"inverted",n[5]),a&64&&S(e,"--size",n[6]),a&8&&u(e,"title",n[3]),a&128&&(e.disabled=n[7]),a&256&&u(e,"class",n[8]),a&16&&u(e,"data-testid",n[4])},i:y,o:y,d(n){n&&z(e),r=!1,o()}}}function dr(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function ur(i,e,t){let r,o,n,a,{type:l}=e,{size:s="medium"}=e,{theme:c="outline"}=e,{variant:f="color"}=e,{title:d=""}=e,{testId:g=""}=e,{disabled:b}=e,{inverted:m}=e;return i.$$set=w=>{"type"in w&&t(0,l=w.type),"size"in w&&t(1,s=w.size),"theme"in w&&t(2,c=w.theme),"variant"in w&&t(9,f=w.variant),"title"in w&&t(3,d=w.title),"testId"in w&&t(4,g=w.testId),"disabled"in w&&t(10,b=w.disabled),"inverted"in w&&t(11,m=w.inverted)},i.$$.update=()=>{i.$$.dirty&2048&&t(5,n=D(m)),i.$$.dirty&544&&t(8,r=`goa-icon-button goa-icon-button--${f} ${n?"goa-icon-button--inverted":""}`),i.$$.dirty&1024&&t(7,o=D(b)),i.$$.dirty&2&&t(6,a={small:"1rem",medium:"1.5rem",large:"2rem"}[s])},[l,s,c,d,g,n,a,o,r,f,b,m]}class St extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:flex;align-items:center;box-sizing:border-box;font-family:var(--font-family)}.goa-icon-button,.goa-icon-button *{box-sizing:border-box}.goa-icon-button{display:inline-flex;align-items:center;background:transparent;cursor:pointer;padding:0;border:none}.goa-icon-button--color{border-radius:0.5rem;padding:calc(var(--size) / 4)}.goa-icon-button--color{border-radius:0.5rem;color:var(--goa-color-interactive);fill:var(--goa-color-interactive);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.goa-icon-button--color:active,.goa-icon-button--nocolor:active{transform:scale(0.9)}.goa-icon-button--color:hover{background-color:var(--goa-color-primary-light)}.goa-icon-button--color.goa-icon-button--inverted:hover{background-color:var(--goa-color-primary-dark)}.goa-icon-button:disabled{color:var(--color-gray-200);fill:var(--color-gray-200);transform:none;cursor:default}.goa-icon-button:disabled:hover{background-color:transparent}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},ur,cr,H,{type:0,size:1,theme:2,variant:9,title:3,testId:4,disabled:10,inverted:11},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","theme","variant","title","testId","disabled","inverted"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get theme(){return this.$$.ctx[2]}set theme(e){this.$$set({theme:e}),h()}get variant(){return this.$$.ctx[9]}set variant(e){this.$$set({variant:e}),h()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),h()}get testId(){return this.$$.ctx[4]}set testId(e){this.$$set({testId:e}),h()}get disabled(){return this.$$.ctx[10]}set disabled(e){this.$$set({disabled:e}),h()}get inverted(){return this.$$.ctx[11]}set inverted(e){this.$$set({inverted:e}),h()}}customElements.define("goa-icon-button",St);function Bt(i){let e,t;return{c(){e=p("div"),t=p("goa-icon"),k(t,"type",i[5]),u(e,"class","goa-input-leading-icon")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&32&&k(t,"type",r[5])},d(r){r&&z(e)}}}function Pt(i){let e,t;return{c(){e=p("div"),t=p("goa-icon"),k(t,"size","medium"),k(t,"type",i[6]),u(e,"class","goa-input-trailing-icon")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&64&&k(t,"type",r[6])},d(r){r&&z(e)}}}function Nt(i){let e,t,r,o,n;return{c(){e=p("div"),t=p("goa-icon-button"),k(t,"disabled",i[9]),k(t,"variant","nocolor"),k(t,"size","medium"),k(t,"type",i[6]),k(t,"testid",r=`${i[1]}-input-trailing-button`),u(e,"class","goa-input-trailing-icon")},m(a,l){_(a,e,l),v(e,t),o||(n=X(t,"click",gr),o=!0)},p(a,l){l&512&&k(t,"disabled",a[9]),l&64&&k(t,"type",a[6]),l&2&&r!==(r=`${a[1]}-input-trailing-button`)&&k(t,"testid",r)},d(a){a&&z(e),o=!1,n()}}}function fr(i){let e,t,r,o,n,a,l,s,c,f=i[5]&&Bt(i),d=i[6]&&!i[12]&&Pt(i),g=i[6]&&i[12]&&Nt(i);return{c(){e=p("div"),f&&f.c(),t=L(),r=p("input"),n=L(),d&&d.c(),a=L(),g&&g.c(),this.c=y,u(r,"id",i[3]),u(r,"class",o=`input--${i[7]}`),r.readOnly=i[11],r.disabled=i[9],u(r,"type",i[0]),r.value=i[2],u(r,"placeholder",i[4]),u(e,"class",l=`goa-input ${i[9]?"goa-input--disabled":""}`),B(e,"error",i[10])},m(b,m){_(b,e,m),f&&f.m(e,null),v(e,t),v(e,r),i[20](r),v(e,n),d&&d.m(e,null),v(e,a),g&&g.m(e,null),s||(c=X(r,"keyup",i[13]),s=!0)},p(b,[m]){b[5]?f?f.p(b,m):(f=Bt(b),f.c(),f.m(e,t)):f&&(f.d(1),f=null),m&8&&u(r,"id",b[3]),m&128&&o!==(o=`input--${b[7]}`)&&u(r,"class",o),m&2048&&(r.readOnly=b[11]),m&512&&(r.disabled=b[9]),m&1&&u(r,"type",b[0]),m&4&&r.value!==b[2]&&(r.value=b[2]),m&16&&u(r,"placeholder",b[4]),b[6]&&!b[12]?d?d.p(b,m):(d=Pt(b),d.c(),d.m(e,a)):d&&(d.d(1),d=null),b[6]&&b[12]?g?g.p(b,m):(g=Nt(b),g.c(),g.m(e,null)):g&&(g.d(1),g=null),m&512&&l!==(l=`goa-input ${b[9]?"goa-input--disabled":""}`)&&u(e,"class",l),m&1536&&B(e,"error",b[10])},i:y,o:y,d(b){b&&z(e),f&&f.d(),i[20](null),d&&d.d(),g&&g.d(),s=!1,c()}}}function gr(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function hr(i,e,t){let r,o,n,a,l,{type:s="text"}=e,{name:c=""}=e,{value:f=""}=e,{id:d=""}=e,{placeholder:g=""}=e,{leadingicon:b=null}=e,{trailingicon:m=null}=e,{variant:w="goa"}=e,{disabled:x}=e,{handletrailingiconclick:E}=e,{focused:C}=e,{readonly:M}=e,{error:O}=e,P;ve(async()=>{await Me()});function se(A){A.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:A,data:{name:c,value:A.target.value}}})),A.stopPropagation()}function re(A){ue[A?"unshift":"push"](()=>{P=A,t(8,P)})}return i.$$set=A=>{"type"in A&&t(0,s=A.type),"name"in A&&t(1,c=A.name),"value"in A&&t(2,f=A.value),"id"in A&&t(3,d=A.id),"placeholder"in A&&t(4,g=A.placeholder),"leadingicon"in A&&t(5,b=A.leadingicon),"trailingicon"in A&&t(6,m=A.trailingicon),"variant"in A&&t(7,w=A.variant),"disabled"in A&&t(14,x=A.disabled),"handletrailingiconclick"in A&&t(15,E=A.handletrailingiconclick),"focused"in A&&t(16,C=A.focused),"readonly"in A&&t(17,M=A.readonly),"error"in A&&t(18,O=A.error)},i.$$.update=()=>{i.$$.dirty&32768&&t(12,r=D(E)),i.$$.dirty&65536&&t(19,o=D(C)),i.$$.dirty&131072&&t(11,n=D(M)),i.$$.dirty&262144&&t(10,a=D(O)),i.$$.dirty&16384&&t(9,l=D(x)),i.$$.dirty&524544&&o&&(P==null||P.focus())},[s,c,f,d,g,b,m,w,P,l,a,n,r,se,x,E,C,M,O,o,re]}class Ft extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-input,.goa-input *{box-sizing:border-box}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:3px;background:white;color:var(--color-black, #ccc);padding:var(--input-padding, 0.5rem) 0.5rem;display:flex;align-items:center}.goa-input input[readonly]{cursor:pointer}.goa-input:hover{border-color:var(--goa-color-interactive--hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--highlight)}.goa-input:disabled{border-color:var(--color-gray-500)}.goa-input:disabled:hover{border-color:var(--color-gray-500)}.goa-input:disabled:focus{box-shadow:none}.goa-input-leading-icon{line-height:18px;padding:0.5rem}.goa-input-trailing-icon{display:flex;align-items:center}.goa-input-trailing-icon>.goa-icon-button{margin-right:-0.5rem}input{display:block;width:100%;font-size:var(--input-font-size)}.goa-input-leading-icon~input{padding-left:0}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled{opacity:0.5;cursor:default;border-color:var(--color-black)}.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{border-color:var(--color-black);cursor:default;box-shadow:none}.goa-input--disabled input:hover{cursor:default !important}input.input--goa{display:block;border:none;flex:1 1 auto}.goa-input .input--bare{border:none}.goa-state--error .goa-input{border:2px solid var(--goa-color-status-emergency)}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-status-emergency-dark)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},hr,fr,H,{type:0,name:1,value:2,id:3,placeholder:4,leadingicon:5,trailingicon:6,variant:7,disabled:14,handletrailingiconclick:15,focused:16,readonly:17,error:18},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","name","value","id","placeholder","leadingicon","trailingicon","variant","disabled","handletrailingiconclick","focused","readonly","error"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),h()}get id(){return this.$$.ctx[3]}set id(e){this.$$set({id:e}),h()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),h()}get leadingicon(){return this.$$.ctx[5]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get trailingicon(){return this.$$.ctx[6]}set trailingicon(e){this.$$set({trailingicon:e}),h()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),h()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),h()}get handletrailingiconclick(){return this.$$.ctx[15]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),h()}get focused(){return this.$$.ctx[16]}set focused(e){this.$$set({focused:e}),h()}get readonly(){return this.$$.ctx[17]}set readonly(e){this.$$set({readonly:e}),h()}get error(){return this.$$.ctx[18]}set error(e){this.$$set({error:e}),h()}}customElements.define("goa-input",Ft);function mr(i){const e=i-1;return e*e*e+1}function br(i){return Math.pow(i-1,3)*(1-i)+1}function ge(i,{delay:e=0,duration:t=400,easing:r=he}={}){const o=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:n=>`opacity: ${n*o}`}}function qt(i,{delay:e=0,duration:t=400,easing:r=mr,x:o=0,y:n=0,opacity:a=0}={}){const l=getComputedStyle(i),s=+l.opacity,c=l.transform==="none"?"":l.transform,f=s*(1-a);return{delay:e,duration:t,easing:r,css:(d,g)=>`
|
|
6
|
-
transform: ${c} translate(${(1-
|
|
7
|
-
opacity: ${s-f*g}`}}function Wt(i,e){function t(){const n=o();document.body.style.overflow="hidden",document.body.style.paddingRight=n+"px"}function r(){setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},500)}function o(){if(document.body.clientHeight<=document.documentElement.clientHeight)return 0;const n=document.createElement("div");n.style.visibility="hidden",n.style.overflow="scroll",document.body.appendChild(n);const a=document.createElement("div");n.appendChild(a);const l=n.offsetWidth-a.offsetWidth;return n.parentNode.removeChild(n),l}return e.enable&&t(),{update(){e.enable?t():r()},destroy(){r()}}}function Vt(i){let e,t,r,o,n,a,l,s,c,f,d,g,b,m,w,x,E,C,M,O=i[0]&&Xt(i),P=i[4]&&Jt();function se(F,te){return F[3]?pr:vr}let re=se(i),A=re(i);return{c(){e=p("div"),t=p("div"),r=L(),o=p("div"),O&&O.c(),n=L(),P&&P.c(),a=L(),l=p("div"),A.c(),s=L(),c=p("slot"),f=L(),d=p("div"),d.innerHTML='<slot name="actions"></slot>',u(t,"class","modal-overlay"),u(l,"class","modal-content"),u(d,"class","modal-actions"),u(o,"class","modal-pane"),u(e,"class","modal"),S(e,"--scroll-offset",i[2]+"px")},m(F,te){_(F,e,te),v(e,t),v(e,r),v(e,o),O&&O.m(o,null),v(o,n),P&&P.m(o,null),v(o,a),v(o,l),A.m(l,null),v(l,s),v(l,c),v(o,f),v(o,d),E=!0,C||(M=[X(t,"click",Kt),Ye(m=Wt.call(null,e,{enable:i[1]}))],C=!0)},p(F,te){F[0]?O?O.p(F,te):(O=Xt(F),O.c(),O.m(o,n)):O&&(O.d(1),O=null),F[4]?P?P.p(F,te):(P=Jt(),P.c(),P.m(o,a)):P&&(P.d(1),P=null),re!==(re=se(F))&&(A.d(1),A=re(F),A&&(A.c(),A.m(l,s))),(!E||te&4)&&S(e,"--scroll-offset",F[2]+"px"),m&&oe(m.update)&&te&2&&m.update.call(null,{enable:F[1]})},i(F){E||(K(()=>{b&&b.end(1),g=ot(o,qt,{duration:200,y:200}),g.start()}),K(()=>{x&&x.end(1),w=ot(e,ge,{duration:200}),w.start()}),E=!0)},o(F){g&&g.invalidate(),b=nt(o,qt,{delay:200,duration:200,y:-100}),w&&w.invalidate(),x=nt(e,ge,{delay:200,duration:200}),E=!1},d(F){F&&z(e),O&&O.d(),P&&P.d(),A.d(),F&&b&&b.end(),F&&x&&x.end(),C=!1,Z(M)}}}function Xt(i){let e,t;return{c(){e=p("div"),t=W(i[0]),u(e,"class","modal-title")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&1&&V(t,r[0])},d(r){r&&z(e)}}}function Jt(i){let e,t,r,o;return{c(){e=p("div"),t=p("goa-icon-button"),k(t,"type","close"),u(e,"class","modal-close")},m(n,a){_(n,e,a),v(e,t),r||(o=X(t,"click",Kt),r=!0)},p:y,d(n){n&&z(e),r=!1,o()}}}function vr(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",S(e,"margin","1.75rem")},m(t,r){_(t,e,r)},d(t){t&&z(e)}}}function pr(i){let e;return{c(){e=p("goa-scrollable"),e.innerHTML="<slot></slot>",k(e,"direction","vertical"),k(e,"height","50"),k(e,"hpadding","1.75")},m(t,r){_(t,e,r)},d(t){t&&z(e)}}}function yr(i){let e,t,r=i[1]&&Vt(i);return{c(){r&&r.c(),e=ae(),this.c=y},m(o,n){r&&r.m(o,n),_(o,e,n),t=!0},p(o,[n]){o[1]?r?(r.p(o,n),n&2&&N(r,1)):(r=Vt(o),r.c(),N(r,1),r.m(e.parentNode,e)):r&&(_e(),q(r,1,1,()=>{r=null}),we())},i(o){t||(N(r),t=!0)},o(o){q(r),t=!1},d(o){r&&r.d(o),o&&z(e)}}}function Kt(i){i.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),i.stopPropagation()}function _r(i,e,t){let r,o,n;console.log("here");let{title:a}=e,{closable:l}=e,{scrollable:s}=e,{open:c}=e,f=0;return i.$$set=d=>{"title"in d&&t(0,a=d.title),"closable"in d&&t(5,l=d.closable),"scrollable"in d&&t(6,s=d.scrollable),"open"in d&&t(7,c=d.open)},i.$$.update=()=>{i.$$.dirty&32&&t(4,r=D(l)),i.$$.dirty&64&&t(3,o=D(s)),i.$$.dirty&128&&t(1,n=D(c)),i.$$.dirty&2&&n&&t(2,f=window.pageYOffset)},[a,n,f,o,r,l,s,c]}class Ut extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.modal{font-family:var(--font-family);position:absolute;top:var(--scroll-offset, 0);left:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.modal-pane{position:relative;background-color:#fff;z-index:1001;max-width:60ch;margin:1rem;box-shadow:var(--shadow-2);border-radius:4px;width:90%;max-height:90%}@media(min-width: 640px){.modal-pane{margin:1rem;max-height:80%;width:600px}}@media(min-width: 1024px){.modal-pane{width:65ch;max-height:80%}}.modal-actions{text-align:right;padding:0 1.75rem;margin:1.75rem 0;flex:1 1 auto}.modal-close{position:absolute;top:1rem;right:1rem}.modal-title{font-size:var(--fs-xl);padding-bottom:1rem;padding:0 1.75rem;margin:1.75rem 0;margin-right:40px;flex:0 0 auto}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},_r,yr,H,{title:0,closable:5,scrollable:6,open:7},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["title","closable","scrollable","open"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),h()}get closable(){return this.$$.ctx[5]}set closable(e){this.$$set({closable:e}),h()}get scrollable(){return this.$$.ctx[6]}set scrollable(e){this.$$set({scrollable:e}),h()}get open(){return this.$$.ctx[7]}set open(e){this.$$set({open:e}),h()}}customElements.define("goa-modal",Ut);function Yt(i){let e,t,r,o,n,a,l,s,c,f,d,g,b;return{c(){e=p("div"),t=p("div"),r=p("goa-icon"),o=L(),n=p("div"),n.innerHTML="<slot></slot>",a=L(),l=p("div"),s=p("goa-icon-button"),k(r,"type",i[2]),k(r,"inverted",""),u(t,"class","icon"),u(n,"class","content"),k(s,"type","close"),k(s,"inverted",""),u(l,"class","close"),u(e,"class",c="notification "+i[0])},m(m,w){_(m,e,w),v(e,t),v(t,r),v(e,o),v(e,n),v(e,a),v(e,l),v(l,s),d=!0,g||(b=X(s,"click",i[3]),g=!0)},p(m,w){(!d||w&4)&&k(r,"type",m[2]),(!d||w&1&&c!==(c="notification "+m[0]))&&u(e,"class",c)},i(m){d||(K(()=>{f||(f=Ie(e,ge,{},!0)),f.run(1)}),d=!0)},o(m){f||(f=Ie(e,ge,{},!1)),f.run(0),d=!1},d(m){m&&z(e),m&&f&&f.end(),g=!1,b()}}}function wr(i){let e,t,r=i[1]&&Yt(i);return{c(){r&&r.c(),e=ae(),this.c=y},m(o,n){r&&r.m(o,n),_(o,e,n),t=!0},p(o,[n]){o[1]?r?(r.p(o,n),n&2&&N(r,1)):(r=Yt(o),r.c(),N(r,1),r.m(e.parentNode,e)):r&&(_e(),q(r,1,1,()=>{r=null}),we())},i(o){t||(N(r),t=!0)},o(o){q(r),t=!1},d(o){r&&r.d(o),o&&z(e)}}}function kr(i,e,t){let r,{type:o}=e,n=!0;function a(){t(1,n=!1)}return i.$$set=l=>{"type"in l&&t(0,o=l.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=o==="emergency"?"warning":o==="caution"?"alert-circle":o==="information"?"information-circle":"calendar")},[o,n,r,a]}class Zt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;align-items:center;gap:1rem;border-radius:3px}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.caution{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info);color:var(--color-white)}.event{background-color:var(--goa-color-status-success);color:var(--color-white)}.icon{flex:0 0 auto;align-self:flex-start}.content{flex:1 1 auto}.close{flex:0 0 auto;align-self:flex-start}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},kr,wr,H,{type:0},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}}customElements.define("goa-notification",Zt);function xr(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",this.c=y,u(e,"class","layout")},m(t,r){_(t,e,r)},p:y,i:y,o:y,d(t){t&&z(e)}}}class Qt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>@media(min-width: 768px){}.layout{max-width:768px;margin:0 auto;padding:2rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,xr,H,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-page-layout",Qt);function $t(i){let e,t,r,o;const n=[Er,zr],a=[];function l(s,c){return s[5]?0:1}return e=l(i),t=a[e]=n[e](i),{c(){t.c(),r=ae()},m(s,c){a[e].m(s,c),_(s,r,c),o=!0},p(s,c){let f=e;e=l(s),e===f?a[e].p(s,c):(_e(),q(a[f],1,1,()=>{a[f]=null}),we(),t=a[e],t?t.p(s,c):(t=a[e]=n[e](s),t.c()),N(t,1),t.m(r.parentNode,r))},i(s){o||(N(t),o=!0)},o(s){q(t),o=!1},d(s){a[e].d(s),s&&z(r)}}}function zr(i){let e,t,r,o,n=i[1]&&ei(i);return{c(){e=p("div"),t=p("goa-spinner"),o=L(),n&&n.c(),k(t,"type",i[0]),k(t,"size","xlarge"),k(t,"progress",r=i[2]||0),B(e,"inline",i[4])},m(a,l){_(a,e,l),v(e,t),v(e,o),n&&n.m(e,null)},p(a,l){l&1&&k(t,"type",a[0]),l&4&&r!==(r=a[2]||0)&&k(t,"progress",r),a[1]?n?n.p(a,l):(n=ei(a),n.c(),n.m(e,null)):n&&(n.d(1),n=null),l&16&&B(e,"inline",a[4])},i:y,o:y,d(a){a&&z(e),n&&n.d()}}}function Er(i){let e,t,r,o,n,a,l,s,c=i[1]&&ti(i);return{c(){e=p("div"),t=p("goa-spinner"),o=L(),c&&c.c(),k(t,"type",i[0]),k(t,"size","xlarge"),k(t,"progress",r=i[2]||0),B(e,"fullscreen",i[5])},m(f,d){_(f,e,d),v(e,t),v(e,o),c&&c.m(e,null),a=!0,l||(s=Ye(Wt.call(null,e,{enable:!0})),l=!0)},p(f,d){(!a||d&1)&&k(t,"type",f[0]),(!a||d&4&&r!==(r=f[2]||0))&&k(t,"progress",r),f[1]?c?c.p(f,d):(c=ti(f),c.c(),c.m(e,null)):c&&(c.d(1),c=null),d&32&&B(e,"fullscreen",f[5])},i(f){a||(K(()=>{n||(n=Ie(e,ge,{duration:300},!0)),n.run(1)}),a=!0)},o(f){n||(n=Ie(e,ge,{duration:300},!1)),n.run(0),a=!1},d(f){f&&z(e),c&&c.d(),f&&n&&n.end(),l=!1,s()}}}function ei(i){let e,t;return{c(){e=p("div"),t=W(i[1]),u(e,"class","message")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&2&&V(t,r[1])},d(r){r&&z(e)}}}function ti(i){let e,t;return{c(){e=p("div"),t=W(i[1]),u(e,"class","message")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&2&&V(t,r[1])},d(r){r&&z(e)}}}function Cr(i){let e,t,r=i[3]&&$t(i);return{c(){r&&r.c(),e=ae(),this.c=y},m(o,n){r&&r.m(o,n),_(o,e,n),t=!0},p(o,[n]){o[3]?r?(r.p(o,n),n&8&&N(r,1)):(r=$t(o),r.c(),N(r,1),r.m(e.parentNode,e)):r&&(_e(),q(r,1,1,()=>{r=null}),we())},i(o){t||(N(r),t=!0)},o(o){q(r),t=!1},d(o){r&&r.d(o),o&&z(e)}}}function Ar(i,e,t){let r,o,n,a,{type:l="infinite"}=e,{message:s}=e,{progress:c=0}=e,{visible:f}=e,{variant:d="inline"}=e;return i.$$set=g=>{"type"in g&&t(0,l=g.type),"message"in g&&t(1,s=g.message),"progress"in g&&t(2,c=g.progress),"visible"in g&&t(6,f=g.visible),"variant"in g&&t(7,d=g.variant)},i.$$.update=()=>{i.$$.dirty&192&&t(8,r=D(f)||d==="inline"),i.$$.dirty&128&&t(5,o=d==="fullscreen"),i.$$.dirty&128&&t(4,n=d==="inline"),i.$$.dirty&257&&t(3,a=l&&r)},[l,s,c,a,n,o,f,d,r]}class ii extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:rgba(255, 255, 255, 0.9)}.inline{margin:3.5rem;display:flex;flex-direction:column;align-items:center;justify-content:center}.message{margin-top:1rem;font-size:1.2rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ar,Cr,H,{type:0,message:1,progress:2,visible:6,variant:7},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","message","progress","visible","variant"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get message(){return this.$$.ctx[1]}set message(e){this.$$set({message:e}),h()}get progress(){return this.$$.ctx[2]}set progress(e){this.$$set({progress:e}),h()}get visible(){return this.$$.ctx[6]}set visible(e){this.$$set({visible:e}),h()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),h()}}customElements.define("goa-page-loader",ii);const ke=Fe({});function Lr(i){let e,t,r,o;return{c(){e=p("div"),t=p("div"),r=p("slot"),this.c=y,u(t,"class",o=`goa-radio-group--${i[0]}`)},m(n,a){_(n,e,a),v(e,t),v(t,r),i[8](t)},p(n,[a]){a&1&&o!==(o=`goa-radio-group--${n[0]}`)&&u(t,"class",o)},i:y,o:y,d(n){n&&z(e),i[8](null)}}}function Rr(i,e,t){let r,{name:o}=e,{value:n}=e,{orientation:a="vertical"}=e,{disabled:l}=e,{error:s}=e,c,f,d;ve(()=>{ke.update(b=>Object.assign(Object.assign({},b),{[o]:{tag:o,payload:{value:n,disabled:r,error:c}}})),d=ke.subscribe(b=>{const m=b[o].payload;m.value!==n&&(t(2,n=m.value),f.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:m.value}})))})}),Oe(d);function g(b){ue[b?"unshift":"push"](()=>{f=b,t(1,f)})}return i.$$set=b=>{"name"in b&&t(3,o=b.name),"value"in b&&t(2,n=b.value),"orientation"in b&&t(0,a=b.orientation),"disabled"in b&&t(4,l=b.disabled),"error"in b&&t(5,s=b.error)},i.$$.update=()=>{i.$$.dirty&16&&t(7,r=D(l)),i.$$.dirty&236&&(t(6,c=D(s)),ke.update(b=>Object.assign(Object.assign({},b),{[o]:{tag:o,payload:{value:n,disabled:r,error:c}}})))},[a,f,n,o,l,s,c,r,g]}class ri extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:inline-flex;flex-direction:column}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Rr,Lr,H,{name:3,value:2,orientation:0,disabled:4,error:5},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","orientation","disabled","error"]}get name(){return this.$$.ctx[3]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),h()}get orientation(){return this.$$.ctx[0]}set orientation(e){this.$$set({orientation:e}),h()}get disabled(){return this.$$.ctx[4]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[5]}set error(e){this.$$set({error:e}),h()}}customElements.define("goa-radio-group",ri);function Mr(i){let e,t,r,o,n,a,l,s,c,f;return{c(){e=p("label"),t=p("input"),r=L(),o=p("div"),n=L(),a=p("span"),l=p("slot"),s=W(i[1]),this.c=y,u(t,"type","radio"),u(t,"name",i[2]),t.value=i[0],t.checked=i[4],t.disabled=i[3],u(o,"class","goa-radio-icon"),u(a,"class","goa-radio-label"),u(e,"class","goa-radio"),B(e,"goa-radio--disabled",i[3]),B(e,"goa-radio--error",i[5])},m(d,g){_(d,e,g),v(e,t),v(e,r),v(e,o),v(e,n),v(e,a),v(a,l),v(l,s),c||(f=X(t,"change",i[6]),c=!0)},p(d,[g]){g&4&&u(t,"name",d[2]),g&1&&(t.value=d[0]),g&16&&(t.checked=d[4]),g&8&&(t.disabled=d[3]),g&2&&V(s,d[1]),g&8&&B(e,"goa-radio--disabled",d[3]),g&32&&B(e,"goa-radio--error",d[5])},i:y,o:y,d(d){d&&z(e),c=!1,f()}}}function Tr(i,e,t){let{value:r}=e,{label:o}=e,{name:n}=e,a=!1,l=!1,s=!1,c;ve(()=>{c=ke.subscribe(d=>{const g=d[n];(g==null?void 0:g.tag)===n&&(t(4,l=g.payload.value===r),t(3,a=g.payload.disabled),t(5,s=g.payload.error))})}),Oe(c);function f(d){t(4,l=!l),l&&ke.update(g=>Object.assign(Object.assign({},g),{[n]:{tag:n,payload:{disabled:a,value:r}}}))}return i.$$set=d=>{"value"in d&&t(0,r=d.value),"label"in d&&t(1,o=d.label),"name"in d&&t(2,n=d.name)},[r,o,n,a,l,s,f]}class oi extends I{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}label.goa-radio{--goa-border-color:var(--color-gray-600);--goa-border-color--checked:var(--goa-color-interactive--active);--goa-radio-color--error:var(--goa-color-status-emergency);--goa-radio-outline-color:var(--goa-color-interactive--highlight);--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;box-sizing:border-box;display:inline-flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{display:none}.goa-radio-label{padding:0.5rem;font-weight:var(--fw-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-radio-outline-color)}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-border-color--checked)}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--goa-border-color)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--goa-border-color);opacity:0.3}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-border-color--checked);opacity:0.3}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-radio-color--error)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-radio-color--error)}</style>',G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Tr,Mr,H,{value:0,label:1,name:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["value","label","name"]}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get label(){return this.$$.ctx[1]}set label(e){this.$$set({label:e}),h()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),h()}}customElements.define("goa-radio-item",oi);function Hr(i){let e,t,r;return{c(){e=p("div"),t=p("slot"),this.c=y,u(e,"class","goa-scrollable"),u(e,"style",r=`
|
|
3
|
+
`}const d=c+`100% {${a(t,1-t)}}
|
|
4
|
+
}`,f=`__svelte_${wi(d)}_${l}`,g=$e(i);De.add(g);const b=g.__svelte_stylesheet||(g.__svelte_stylesheet=vi(i).sheet),m=g.__svelte_rules||(g.__svelte_rules={});m[f]||(m[f]=!0,b.insertRule(`@keyframes ${f} ${d}`,b.cssRules.length));const w=i.style.animation||"";return i.style.animation=`${w?`${w}, `:""}${f} ${r}ms linear ${o}ms 1 both`,Ce+=1,f}function Le(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?n=>n.indexOf(e)<0:n=>n.indexOf("__svelte")===-1),o=t.length-r.length;o&&(i.style.animation=r.join(", "),Ce-=o,Ce||ki())}function ki(){Ge(()=>{Ce||(De.forEach(i=>{const e=i.__svelte_stylesheet;let t=e.cssRules.length;for(;t--;)e.deleteRule(t);i.__svelte_rules={}}),De.clear())})}let me;function be(i){me=i}function et(){if(!me)throw new Error("Function called outside component initialization");return me}function ve(i){et().$$.on_mount.push(i)}function Oe(i){et().$$.on_destroy.push(i)}const pe=[],ue=[],Re=[],tt=[],it=Promise.resolve();let Se=!1;function rt(){Se||(Se=!0,it.then(h))}function Me(){return rt(),it}function K(i){Re.push(i)}const Be=new Set;let Te=0;function h(){const i=me;do{for(;Te<pe.length;){const e=pe[Te];Te++,be(e),xi(e.$$)}for(be(null),pe.length=0,Te=0;ue.length;)ue.pop()();for(let e=0;e<Re.length;e+=1){const t=Re[e];Be.has(t)||(Be.add(t),t())}Re.length=0}while(pe.length);for(;tt.length;)tt.pop()();Se=!1,Be.clear(),be(i)}function xi(i){if(i.fragment!==null){i.update(),Z(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(K)}}let ye;function Pe(){return ye||(ye=Promise.resolve(),ye.then(()=>{ye=null})),ye}function le(i,e,t){i.dispatchEvent(_i(`${e?"intro":"outro"}${t}`))}const He=new Set;let U;function _e(){U={r:0,c:[],p:U}}function we(){U.r||Z(U.c),U=U.p}function N(i,e){i&&i.i&&(He.delete(i),i.i(e))}function q(i,e,t,r){if(i&&i.o){if(He.has(i))return;He.add(i),U.c.push(()=>{He.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}}const Ne={duration:0};function ot(i,e,t){let r=e(i,t),o=!1,n,a,l=0;function s(){n&&Le(i,n)}function c(){const{delay:f=0,duration:g=300,easing:b=he,tick:m=y,css:w}=r||Ne;w&&(n=Ae(i,0,1,g,f,b,w,l++)),m(0,1);const x=ze()+f,E=x+g;a&&a.abort(),o=!0,K(()=>le(i,!0,"start")),a=Ee(C=>{if(o){if(C>=E)return m(1,0),le(i,!0,"end"),s(),o=!1;if(C>=x){const M=b((C-x)/g);m(M,1-M)}}return o})}let d=!1;return{start(){d||(d=!0,Le(i),oe(r)?(r=r(),Pe().then(c)):c())},invalidate(){d=!1},end(){o&&(s(),o=!1)}}}function at(i,e,t){let r=e(i,t),o=!0,n;const a=U;a.r+=1;function l(){const{delay:s=0,duration:c=300,easing:d=he,tick:f=y,css:g}=r||Ne;g&&(n=Ae(i,1,0,c,s,d,g));const b=ze()+s,m=b+c;K(()=>le(i,!1,"start")),Ee(w=>{if(o){if(w>=m)return f(0,1),le(i,!1,"end"),--a.r||Z(a.c),!1;if(w>=b){const x=d((w-b)/c);f(1-x,x)}}return o})}return oe(r)?Pe().then(()=>{r=r(),l()}):l(),{end(s){s&&r.tick&&r.tick(1,0),o&&(n&&Le(i,n),o=!1)}}}function Ie(i,e,t,r){let o=e(i,t),n=r?0:1,a=null,l=null,s=null;function c(){s&&Le(i,s)}function d(g,b){const m=g.b-n;return b*=Math.abs(m),{a:n,b:g.b,d:m,duration:b,start:g.start,end:g.start+b,group:g.group}}function f(g){const{delay:b=0,duration:m=300,easing:w=he,tick:x=y,css:E}=o||Ne,C={start:ze()+b,b:g};g||(C.group=U,U.r+=1),a||l?l=C:(E&&(c(),s=Ae(i,n,g,m,b,w,E)),g&&x(0,1),a=d(C,m),K(()=>le(i,g,"start")),Ee(M=>{if(l&&M>l.start&&(a=d(l,m),l=null,le(i,a.b,"start"),E&&(c(),s=Ae(i,n,a.b,a.duration,0,w,o.css))),a){if(M>=a.end)x(n=a.b,1-n),le(i,a.b,"end"),l||(a.b?c():--a.group.r||Z(a.group.c)),a=null;else if(M>=a.start){const O=M-a.start;n=a.a+a.d*w(O/a.duration),x(n,1-n)}}return!!(a||l)}))}return{run(g){oe(o)?Pe().then(()=>{o=o(),f(g)}):f(g)},end(){c(),a=l=null}}}function ie(i){i&&i.c()}function Q(i,e,t,r){const{fragment:o,on_mount:n,on_destroy:a,after_update:l}=i.$$;o&&o.m(e,t),r||K(()=>{const s=n.map(je).filter(oe);a?a.push(...s):Z(s),i.$$.on_mount=[]}),l.forEach(K)}function $(i,e){const t=i.$$;t.fragment!==null&&(Z(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function zi(i,e){i.$$.dirty[0]===-1&&(pe.push(i),rt(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function G(i,e,t,r,o,n,a,l=[-1]){const s=me;be(i);const c=i.$$={fragment:null,ctx:null,props:n,update:y,not_equal:o,bound:Ke(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:Ke(),dirty:l,skip_bound:!1,root:e.target||s.$$.root};a&&a(c.root);let d=!1;if(c.ctx=t?t(i,e.props||{},(f,g,...b)=>{const m=b.length?b[0]:g;return c.ctx&&o(c.ctx[f],c.ctx[f]=m)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](m),d&&zi(i,f)),g}):[],c.update(),d=!0,Z(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=yi(e.target);c.fragment&&c.fragment.l(f),f.forEach(z)}else c.fragment&&c.fragment.c();e.intro&&N(i.$$.fragment),Q(i,e.target,e.anchor,e.customElement),h()}be(s)}let I;typeof HTMLElement=="function"&&(I=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(je).filter(oe);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){Z(this.$$.on_disconnect)}$destroy(){$(this,1),this.$destroy=y}$on(i,e){const t=this.$$.callbacks[i]||(this.$$.callbacks[i]=[]);return t.push(e),()=>{const r=t.indexOf(e);r!==-1&&t.splice(r,1)}}$set(i){this.$$set&&!hi(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});function Ei(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",this.c=y,u(e,"class","page-content")},m(t,r){_(t,e,r)},p:y,i:y,o:y,d(t){t&&z(e)}}}class nt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.page-content{max-width:100%;margin:0 auto;padding:0 1.75rem}@media(min-width: 768px){.page-content{max-width:80vh}}@media(min-width: 1024px){.page-content{max-width:100ch}}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Ei,H,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-page-block",nt);function Ci(i){let e,t,r,o,n,a,l,s,c,d,f,g,b;return{c(){e=p("goa-page-block"),t=p("div"),r=p("a"),o=p("img"),a=L(),l=p("img"),c=L(),d=p("span"),f=W(i[1]),g=L(),b=p("div"),b.innerHTML="<slot></slot>",this.c=y,u(o,"alt","GoA Logo"),u(o,"class","image-mobile"),Ue(o.src,n="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(o,"src",n),u(l,"alt","GoA Logo"),u(l,"class","image-desktop"),Ue(l.src,s="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||u(l,"src",s),u(d,"class","title"),u(r,"href",i[0]),u(r,"class","app-link"),u(t,"class","app-header"),u(t,"data-testid",i[2])},m(m,w){_(m,e,w),v(e,t),v(t,r),v(r,o),v(r,a),v(r,l),v(r,c),v(r,d),v(d,f),v(t,g),v(t,b)},p(m,[w]){w&2&&V(f,m[1]),w&1&&u(r,"href",m[0]),w&4&&u(t,"data-testid",m[2])},i:y,o:y,d(m){m&&z(e)}}}function Ai(i,e,t){let{url:r}=e,{title:o}=e,{testid:n=""}=e;return i.$$set=a=>{"url"in a&&t(0,r=a.url),"title"in a&&t(1,o=a.title),"testid"in a&&t(2,n=a.testid)},[r,o,n]}class lt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.app-header{display:flex;align-items:center;justify-content:space-between;margin:0 auto;padding:1rem 0;max-width:1028px;border-bottom:1px solid var(--color-gray-100)}.app-link{display:flex;align-items:center;text-decoration:none;color:inherit}.title{margin-left:0.5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-desktop{display:none}.image-mobile{display:block}@media(min-width: 768px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ai,Ci,H,{url:0,title:1,testid:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["url","title","testid"]}get url(){return this.$$.ctx[0]}set url(e){this.$$set({url:e}),h()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),h()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-app-header",lt);function D(i){return i==="false"?!1:i===""?!0:!!i}function Li(i){return i?"true":"false"}function st(i){let e;return{c(){e=p("goa-icon"),k(e,"type",i[3]),k(e,"size","small")},m(t,r){_(t,e,r)},p(t,r){r&8&&k(e,"type",t[3])},d(t){t&&z(e)}}}function ct(i){let e,t;return{c(){e=p("div"),t=W(i[2]),u(e,"class","goa-badge-content")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&4&&V(t,r[2])},d(r){r&&z(e)}}}function Ri(i){let e,t,r,o=i[4]&&st(i),n=i[2]&&ct(i);return{c(){e=p("div"),o&&o.c(),t=L(),n&&n.c(),this.c=y,u(e,"data-testid",i[1]),u(e,"data-type","goa-badge"),u(e,"class",r="goa-badge badge-"+i[0]),B(e,"icon-only",i[4]&&!i[2])},m(a,l){_(a,e,l),o&&o.m(e,null),v(e,t),n&&n.m(e,null)},p(a,[l]){a[4]?o?o.p(a,l):(o=st(a),o.c(),o.m(e,t)):o&&(o.d(1),o=null),a[2]?n?n.p(a,l):(n=ct(a),n.c(),n.m(e,null)):n&&(n.d(1),n=null),l&2&&u(e,"data-testid",a[1]),l&1&&r!==(r="goa-badge badge-"+a[0])&&u(e,"class",r),l&21&&B(e,"icon-only",a[4]&&!a[2])},i:y,o:y,d(a){a&&z(e),o&&o.d(),n&&n.d()}}}function Mi(i,e,t){let r,o,{type:n}=e,{testid:a=""}=e,{icon:l="false"}=e,{content:s=""}=e;return i.$$set=c=>{"type"in c&&t(0,n=c.type),"testid"in c&&t(1,a=c.testid),"icon"in c&&t(5,l=c.icon),"content"in c&&t(2,s=c.content)},i.$$.update=()=>{i.$$.dirty&32&&t(4,r=D(l)),i.$$.dirty&1&&t(3,o={success:"checkmark-circle",warning:"alert-circle",information:"information-circle",emergency:"warning",inactive:"information-circle",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[n])},[n,a,s,o,r,l]}class dt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;margin:0 0.5rem 0.5rem 0}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--color-status-info)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--goa-color-text-light)}.goa-badge.badge-warning{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.goa-badge.badge-emergency{background-color:var(--goa-color-status-emergency);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--color-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--color-gray-600);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--color-white);color:var(--goa-color-text)}.goa-badge.badge-inactive{background-color:var(--color-white);color:var(--goa-color-text)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Mi,Ri,H,{type:0,testid:1,icon:5,content:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","testid","icon","content"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),h()}get icon(){return this.$$.ctx[5]}set icon(e){this.$$set({icon:e}),h()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),h()}}customElements.define("goa-badge",dt);function Ti(i){let e,t,r,o,n;return{c(){e=p("button"),t=p("slot"),this.c=y,u(e,"class",r=""+(i[0]+" "+i[1]+" "+i[2])),u(e,"title",i[3]),e.disabled=i[5],u(e,"data-testid",i[4])},m(a,l){_(a,e,l),v(e,t),o||(n=X(e,"click",Hi),o=!0)},p(a,[l]){l&7&&r!==(r=""+(a[0]+" "+a[1]+" "+a[2]))&&u(e,"class",r),l&8&&u(e,"title",a[3]),l&32&&(e.disabled=a[5]),l&16&&u(e,"data-testid",a[4])},i:y,o:y,d(a){a&&z(e),o=!1,n()}}}function Hi(i){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),i.stopPropagation()}function Ii(i,e,t){let r,{type:o="primary"}=e,{size:n="medium"}=e,{variant:a="default"}=e,{title:l=""}=e,{disabled:s="false"}=e,{testid:c=""}=e;return i.$$set=d=>{"type"in d&&t(0,o=d.type),"size"in d&&t(1,n=d.size),"variant"in d&&t(2,a=d.variant),"title"in d&&t(3,l=d.title),"disabled"in d&&t(6,s=d.disabled),"testid"in d&&t(4,c=d.testid)},i.$$.update=()=>{i.$$.dirty&64&&t(5,r=D(s))},[o,n,a,l,c,r,s]}class ut extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@media(max-width: 320px){:host{width:100%}button{width:100%}}button{border-radius:0.25rem;border:2px solid var(--goa-color-interactive);box-sizing:border-box;cursor:pointer;font-size:var(--fs-base, 1rem);font-weight:700;line-height:2.375rem;padding:0 0.75rem;min-width:5rem;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;transform:scaleX(1)}button:active{transform:scale(0.95)}button.primary{border:2px solid var(--goa-color-interactive);background:var(--goa-color-interactive);color:var(--color-white, white)}button.primary:hover{border-color:var(--goa-color-interactive--hover);background:var(--goa-color-interactive--hover)}button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive--highlight);border-color:var(--goa-color-interactive--active);background:var(--goa-color-interactive--active);outline:none}button.secondary{border:2px solid var(--goa-color-interactive);background:var(--color-white);color:var(--goa-color-interactive)}button.secondary:hover{border-color:var(--goa-color-interactive--hover);color:var(--goa-color-interactive--hover)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--highlight);background:var(--color-gray-100);outline:none}button.tertiary{border-color:var(--color-gray-200);background:var(--color-white);color:var(--goa-color-interactive)}button.tertiary:hover{color:var(--goa-color-interactive--hover)}button.tertiary:focus,button.tertiary:active{border-color:var(--goa-color-interactive--active);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--highlight);outline:none}button.borderless{background:none;color:var(--goa-color-interactive);border:none}button.borderless:hover{background-color:var(--goa-color-primary-light);color:var(--goa-color-interactive--hover)}button.borderless:focus,button.borderless:active{outline:none;box-shadow:none;background-color:var(--goa-color-primary-light)}.primary.danger{color:var(--color-white);background:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.primary.danger:hover{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.primary.danger:focus,.primary.danger:active{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.secondary.danger{color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);background:var(--color-white)}.secondary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.secondary.danger:focus,.secondary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}button:disabled{pointer-events:none;color:var(--color-gray-600);background-color:var(--color-gray-100);border-color:var(--color-gray-100)}.tertiary.danger{color:var(--goa-color-status-emergency);border-color:var(--color-gray-200);background:var(--color-white)}.tertiary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.danger:focus,.tertiary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.borderless.danger{color:var(--goa-color-status-emergency)}.borderless.danger:hover{background:var(--goa-color-emergency-light);color:var(--goa-color-status-emergency-dark)}.borderless.danger:focus,.borderless.danger:active{background:var(--goa-color-emergency-light);color:var(--goa-color-status-emergency-dark)}.large{font-size:var(--fs-lg);line-height:3rem}.large.borderless{line-height:calc(3rem + 4px)}.medium{font-size:var(--fs-base);line-height:2.375rem}.medium.borderless{line-height:calc(2.375rem + 4px)}.small{font-size:var(--fs-sm);line-height:1.75rem}.small.borderless{line-height:calc(1.75rem + 4px)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ii,Ti,H,{type:0,size:1,variant:2,title:3,disabled:6,testid:4},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","variant","title","disabled","testid"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),h()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),h()}get disabled(){return this.$$.ctx[6]}set disabled(e){this.$$set({disabled:e}),h()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-button",ut);function ji(i){let e,t;return{c(){e=p("div"),t=p("slot"),this.c=y,S(e,"--alignment","flex-"+i[1]),S(e,"--gap-size",i[0]==="small"?"0.5rem":"1rem")},m(r,o){_(r,e,o),v(e,t)},p(r,[o]){o&2&&S(e,"--alignment","flex-"+r[1]),o&1&&S(e,"--gap-size",r[0]==="small"?"0.5rem":"1rem")},i:y,o:y,d(r){r&&z(e)}}}function Gi(i,e,t){let{gap:r="medium"}=e,{alignment:o}=e;return i.$$set=n=>{"gap"in n&&t(0,r=n.gap),"alignment"in n&&t(1,o=n.alignment)},[r,o]}class ft extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}div{display:flex;flex-direction:row;justify-content:var(--alignment);flex-wrap:wrap;gap:var(--gap-size)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Gi,ji,H,{gap:0,alignment:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap","alignment"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),h()}get alignment(){return this.$$.ctx[1]}set alignment(e){this.$$set({alignment:e}),h()}}customElements.define("goa-button-group",ft);function Di(i){let e,t,r,o,n,a,l,s,c,d;return{c(){e=p("div"),t=p("span"),r=p("goa-icon"),n=L(),a=p("span"),l=p("h3"),s=W(i[1]),c=L(),d=p("slot"),this.c=y,k(r,"type",i[3]),k(r,"inverted",""),u(t,"class",o="icon "+i[0]),u(a,"class","content"),u(e,"class","notification"),u(e,"data-testid",i[2])},m(f,g){_(f,e,g),v(e,t),v(t,r),v(e,n),v(e,a),v(a,l),v(l,s),v(a,c),v(a,d)},p(f,[g]){g&8&&k(r,"type",f[3]),g&1&&o!==(o="icon "+f[0])&&u(t,"class",o),g&2&&V(s,f[1]),g&4&&u(e,"data-testid",f[2])},i:y,o:y,d(f){f&&z(e)}}}function Oi(i,e,t){let r,{type:o}=e,{title:n}=e,{testId:a=""}=e;return i.$$set=l=>{"type"in l&&t(0,o=l.type),"title"in l&&t(1,n=l.title),"testId"in l&&t(2,a=l.testId)},i.$$.update=()=>{i.$$.dirty&1&&t(3,r=o==="emergency"?"warning":o==="caution"?"alert-circle":o==="information"?"information-circle":o==="success"?"checkmark-circle":o==="event"?"calendar":"")},[o,n,a,r]}class gt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{display:flex;align-items:stretch;border-radius:3px;overflow:hidden;margin-bottom:1.75rem}h3{font-size:var(--fs-xl);font-weight:var(--fw-regular);margin-top:0}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.caution{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info);color:var(--color-white)}.event{background-color:var(--goa-color-status-info);color:var(--color-white)}.success{background-color:var(--goa-color-status-success);color:var(--color-white)}.icon{flex:0 0 3rem;text-align:center;padding-top:1.75rem}.content{flex:1 1 auto;background-color:var(--color-gray-100);padding:1.75rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Oi,Di,H,{type:0,title:1,testId:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","title","testId"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),h()}get testId(){return this.$$.ctx[2]}set testId(e){this.$$set({testId:e}),h()}}customElements.define("goa-callout",gt);function Si(i){let e,t,r;return{c(){e=p("div"),t=p("slot"),this.c=y,u(e,"data-testid",i[2]),u(e,"class","card"),u(e,"style",r="--width: "+i[1]+"px; "+(i[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(o,n){_(o,e,n),v(e,t)},p(o,[n]){n&4&&u(e,"data-testid",o[2]),n&3&&r!==(r="--width: "+o[1]+"px; "+(o[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${o[0]});`)+"")&&u(e,"style",r)},i:y,o:y,d(o){o&&z(e)}}}function Bi(i,e,t){let{elevation:r=0}=e,{width:o=320}=e,{testId:n=""}=e;return i.$$set=a=>{"elevation"in a&&t(0,r=a.elevation),"width"in a&&t(1,o=a.width),"testId"in a&&t(2,n=a.testId)},[r,o,n]}class ht extends I{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card{display:flex;flex-direction:column;background-color:var(--color-white);border-radius:4px;overflow:hidden;width:100%}@media(min-width: 320px){.card{width:var(--width);margin:0 auto
|
|
5
|
+
}}</style>`,G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Bi,Si,H,{elevation:0,width:1,testId:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["elevation","width","testId"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),h()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),h()}get testId(){return this.$$.ctx[2]}set testId(e){this.$$set({testId:e}),h()}}customElements.define("goa-card",ht);function Pi(i){let e;return{c(){e=p("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=y},m(t,r){_(t,e,r)},p:y,i:y,o:y,d(t){t&&z(e)}}}class mt extends I{constructor(e){super();G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Pi,H,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-card-actions",mt);function Ni(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",this.c=y,u(e,"class","card-content")},m(t,r){_(t,e,r)},p:y,i:y,o:y,d(t){t&&z(e)}}}class bt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Ni,H,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-card-content",bt);function Fi(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",this.c=y,u(e,"class","card-group")},m(t,r){_(t,e,r)},p:y,i:y,o:y,d(t){t&&z(e)}}}class vt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Fi,H,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-card-group",vt);function qi(i){let e;return{c(){e=p("div"),this.c=y,u(e,"class","card-image"),S(e,"background-image","url("+i[0]+")"),S(e,"height",i[1]),S(e,"background-size","cover"),S(e,"background-position","center")},m(t,r){_(t,e,r)},p(t,[r]){r&1&&S(e,"background-image","url("+t[0]+")"),r&2&&S(e,"height",t[1])},i:y,o:y,d(t){t&&z(e)}}}function Wi(i,e,t){let{src:r}=e,{height:o="100%"}=e;return i.$$set=n=>{"src"in n&&t(0,r=n.src),"height"in n&&t(1,o=n.height)},[r,o]}class pt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Wi,qi,H,{src:0,height:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["src","height"]}get src(){return this.$$.ctx[0]}set src(e){this.$$set({src:e}),h()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),h()}}customElements.define("goa-card-image",pt);function yt(i){let e;function t(n,a){return n[4]?Xi:Vi}let r=t(i),o=r(i);return{c(){o.c(),e=ne()},m(n,a){o.m(n,a),_(n,e,a)},p(n,a){r!==(r=t(n))&&(o.d(1),o=r(n),o&&(o.c(),o.m(e.parentNode,e)))},d(n){o.d(n),n&&z(e)}}}function Vi(i){let e,t;return{c(){e=ae("svg"),t=ae("path"),u(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),u(e,"id","checkmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 16 12.18")},m(r,o){_(r,e,o),v(e,t)},d(r){r&&z(e)}}}function Xi(i){let e,t;return{c(){e=ae("svg"),t=ae("rect"),u(t,"width","15"),u(t,"height","2"),u(e,"id","dashmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 15 2")},m(r,o){_(r,e,o),v(e,t)},d(r){r&&z(e)}}}function Ji(i){let e,t,r,o,n,a,l,s,c,d,f,g=i[3]&&yt(i);return{c(){e=p("label"),t=p("div"),r=p("input"),n=L(),g&&g.c(),a=L(),l=p("div"),s=p("slot"),c=W(i[1]),this.c=y,u(r,"id",i[7]),u(r,"name",i[0]),r.checked=i[3],r.disabled=i[6],u(r,"type","checkbox"),r.value=o=`${i[2]}`,u(t,"class","goa-checkbox-container"),B(t,"goa-checkbox--selected",i[3]),u(s,"name","main"),u(l,"class","goa-checkbox-text"),u(e,"for",i[7]),u(e,"class","goa-checkbox"),B(e,"goa-checkbox--disabled",i[6]),B(e,"goa-checkbox--error",i[5])},m(b,m){_(b,e,m),v(e,t),v(t,r),v(t,n),g&&g.m(t,null),v(e,a),v(e,l),v(l,s),v(s,c),d||(f=X(r,"change",i[8]),d=!0)},p(b,[m]){m&128&&u(r,"id",b[7]),m&1&&u(r,"name",b[0]),m&8&&(r.checked=b[3]),m&64&&(r.disabled=b[6]),m&4&&o!==(o=`${b[2]}`)&&(r.value=o),b[3]?g?g.p(b,m):(g=yt(b),g.c(),g.m(t,null)):g&&(g.d(1),g=null),m&8&&B(t,"goa-checkbox--selected",b[3]),m&2&&V(c,b[1]),m&128&&u(e,"for",b[7]),m&64&&B(e,"goa-checkbox--disabled",b[6]),m&32&&B(e,"goa-checkbox--error",b[5])},i:y,o:y,d(b){b&&z(e),g&&g.d(),d=!1,f()}}}function Ki(i,e,t){let r,o,n,a,l,{name:s}=e,{text:c=""}=e,{value:d=""}=e,{checked:f}=e,{disabled:g}=e,{indeterminate:b}=e,{error:m}=e;function w(x){const E=!a,C=E?`${d||"checked"}`:"";x.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:s,checked:E,value:C}}))}return i.$$set=x=>{"name"in x&&t(0,s=x.name),"text"in x&&t(1,c=x.text),"value"in x&&t(2,d=x.value),"checked"in x&&t(9,f=x.checked),"disabled"in x&&t(10,g=x.disabled),"indeterminate"in x&&t(11,b=x.indeterminate),"error"in x&&t(12,m=x.error)},i.$$.update=()=>{i.$$.dirty&1&&t(7,r=`id-${s}`),i.$$.dirty&1024&&t(6,o=D(g)),i.$$.dirty&4096&&t(5,n=D(m)),i.$$.dirty&512&&t(3,a=D(f)),i.$$.dirty&2048&&t(4,l=D(b))},[s,c,d,a,l,n,o,r,w,f,g,b,m]}class _t extends I{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute}.goa-checkbox--disabled{opacity:30%}label.goa-checkbox--disabled{cursor:default}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--color-gray-600);border-radius:2px;background-color:var(--color-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px}.goa-checkbox-container svg{fill:var(--color-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive)}.goa-checkbox-container:hover:not(.goa-checkbox--selected){background-color:var(--color-gray-100)}.goa-checkbox-container:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--highlight);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--fw-regular)}.goa-checkbox--error .goa-checkbox-container{border:2px solid var(--goa-color-status-emergency)}</style>',G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ki,Ji,H,{name:0,text:1,value:2,checked:9,disabled:10,indeterminate:11,error:12},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","text","value","checked","disabled","indeterminate","error"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),h()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),h()}get checked(){return this.$$.ctx[9]}set checked(e){this.$$set({checked:e}),h()}get disabled(){return this.$$.ctx[10]}set disabled(e){this.$$set({disabled:e}),h()}get indeterminate(){return this.$$.ctx[11]}set indeterminate(e){this.$$set({indeterminate:e}),h()}get error(){return this.$$.ctx[12]}set error(e){this.$$set({error:e}),h()}}customElements.define("goa-checkbox",_t);function Ui(i){let e,t,r,o,n,a,l,s,c;return{c(){e=p("div"),t=p("header"),r=p("div"),r.innerHTML='<slot name="title"></slot>',o=L(),n=p("div"),n.innerHTML='<slot name="actions"></slot>',l=L(),s=p("div"),s.innerHTML="<slot></slot>",this.c=y,u(r,"class","title"),u(n,"class","actions"),u(t,"class",a="heading--"+i[1]),u(s,"class","content"),u(e,"class",c="goa-container goa-container--"+i[0])},m(d,f){_(d,e,f),v(e,t),v(t,r),v(t,o),v(t,n),v(e,l),v(e,s)},p(d,[f]){f&2&&a!==(a="heading--"+d[1])&&u(t,"class",a),f&1&&c!==(c="goa-container goa-container--"+d[0])&&u(e,"class",c)},i:y,o:y,d(d){d&&z(e)}}}function Yi(i,e,t){let{variant:r="default"}=e,{headingsize:o="large"}=e;return i.$$set=n=>{"variant"in n&&t(0,r=n.variant),"headingsize"in n&&t(1,o=n.headingsize)},[r,o]}class wt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-container{margin-bottom:1rem;box-sizing:border-box}.goa-container *{box-sizing:border-box}header{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--fs-base);border-width:1px;border-style:solid;border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);padding-left:1.5rem;padding-right:1.5rem}.content{padding:1.5rem;border-bottom:1px solid var(--color-gray-200);border-left:1px solid var(--color-gray-200);border-right:1px solid var(--color-gray-200);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.goa-container--default header{background-color:var(--color-gray-100);border-color:var(--color-gray-200);color:var(--color-black)}.goa-container--primary header{background-color:var(--goa-color-brand);border-color:var(--goa-color-brand);color:var(--color-white)}.goa-container--info header{background-color:var(--goa-color-status-info);border-color:var(--goa-color-status-info);color:var(--color-white)}.goa-container--error header{background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);color:var(--color-white)}.goa-container--success header{background-color:var(--goa-color-status-success);border-color:var(--goa-color-status-success);color:var(--color-white)}.goa-container--warning header{background-color:var(--goa-color-status-warning);border-color:var(--goa-color-status-warning);color:var(--color-white)}.heading--large{padding:0.5rem 1.5rem;max-height:4rem}.heading--large .title{line-height:2rem}.heading--small{height:0.5rem}.heading--none{display:none}.heading--none~.content{border-top:1px solid var(--color-gray-200);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.heading--small .title,.heading--small .actions{display:none}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Yi,Ui,H,{variant:0,headingsize:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["variant","headingsize"]}get variant(){return this.$$.ctx[0]}set variant(e){this.$$set({variant:e}),h()}get headingsize(){return this.$$.ctx[1]}set headingsize(e){this.$$set({headingsize:e}),h()}}customElements.define("goa-container",wt);const fe=[];function Fe(i,e=y){let t;const r=new Set;function o(l){if(H(i,l)&&(i=l,t)){const s=!fe.length;for(const c of r)c[1](),fe.push(c,i);if(s){for(let c=0;c<fe.length;c+=2)fe[c][0](fe[c+1]);fe.length=0}}}function n(l){o(l(i))}function a(l,s=y){const c=[l,s];return r.add(c),r.size===1&&(t=e(o)||y),l(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:o,update:n,subscribe:a}}const ee=Fe({});function kt(i){let e,t,r,o;return{c(){e=p("div"),u(e,"data-testid",t=`${i[0]}-dropdown-background`),u(e,"class","goa-dropdown-background")},m(n,a){_(n,e,a),r||(o=X(e,"click",i[12]),r=!0)},p(n,a){a&1&&t!==(t=`${n[0]}-dropdown-background`)&&u(e,"data-testid",t)},d(n){n&&z(e),r=!1,o()}}}function xt(i){let e,t,r,o,n,a,l;return{c(){e=p("div"),t=p("goa-input"),k(t,"disabled",i[10]),k(t,"leadingicon",i[1]),k(t,"placeholder",i[3]),k(t,"id",r=`${i[0]}-dropdown-input`),k(t,"name","search"),k(t,"readonly",""),k(t,"trailingicon","chevron-down"),k(t,"handletrailingiconclick",""),k(t,"type","text"),k(t,"value",o=i[4].join(", ")),u(e,"data-testid",n=`${i[0]}-dropdown`)},m(s,c){_(s,e,c),v(e,t),a||(l=X(t,"focus",i[11]),a=!0)},p(s,c){c&1024&&k(t,"disabled",s[10]),c&2&&k(t,"leadingicon",s[1]),c&8&&k(t,"placeholder",s[3]),c&1&&r!==(r=`${s[0]}-dropdown-input`)&&k(t,"id",r),c&16&&o!==(o=s[4].join(", "))&&k(t,"value",o),c&1&&n!==(n=`${s[0]}-dropdown`)&&u(e,"data-testid",n)},d(s){s&&z(e),a=!1,l()}}}function zt(i){let e,t,r,o,n,a=i[9]&&Et(i);return{c(){e=p("div"),a&&a.c(),t=L(),r=p("ul"),o=p("slot"),u(r,"class","goa-dropdown-list"),u(r,"style",n=`overflow-y: auto; max-height: ${i[2]||Ct}px`),u(e,"class","menu")},m(l,s){_(l,e,s),a&&a.m(e,null),v(e,t),v(e,r),v(r,o)},p(l,s){l[9]?a?a.p(l,s):(a=Et(l),a.c(),a.m(e,t)):a&&(a.d(1),a=null),s&4&&n!==(n=`overflow-y: auto; max-height: ${l[2]||Ct}px`)&&u(r,"style",n)},d(l){l&&z(e),a&&a.d()}}}function Et(i){let e,t;return{c(){e=p("goa-input"),k(e,"focused",i[5]),k(e,"name","filter"),k(e,"placeholder","Filter"),k(e,"trailingicon",t=i[8].length>0?"close-circle":"search"),k(e,"handletrailingiconclick",""),k(e,"type","text"),k(e,"value",i[8])},m(r,o){_(r,e,o),i[17](e)},p(r,o){o&32&&k(e,"focused",r[5]),o&256&&t!==(t=r[8].length>0?"close-circle":"search")&&k(e,"trailingicon",t),o&256&&k(e,"value",r[8])},d(r){r&&z(e),i[17](null)}}}function Zi(i){let e,t,r,o,n=i[5]&&kt(i),a=(!i[5]||!i[9])&&xt(i),l=i[5]&&zt(i);return{c(){e=p("div"),n&&n.c(),t=L(),r=p("div"),a&&a.c(),o=L(),l&&l.c(),this.c=y,u(e,"class","goa-dropdown-box")},m(s,c){_(s,e,c),n&&n.m(e,null),v(e,t),v(e,r),a&&a.m(r,null),v(r,o),l&&l.m(r,null),i[18](e)},p(s,[c]){s[5]?n?n.p(s,c):(n=kt(s),n.c(),n.m(e,t)):n&&(n.d(1),n=null),!s[5]||!s[9]?a?a.p(s,c):(a=xt(s),a.c(),a.m(r,o)):a&&(a.d(1),a=null),s[5]?l?l.p(s,c):(l=zt(s),l.c(),l.m(r,null)):l&&(l.d(1),l=null)},i:y,o:y,d(s){s&&z(e),n&&n.d(),a&&a.d(),l&&l.d(),i[18](null)}}}const Ct=300;function Qi(i,e,t){let r,o,n,{name:a}=e,{values:l}=e,{leadingicon:s}=e,{maxheight:c}=e,{placeholder:d}=e,{multiselect:f}=e,{disabled:g}=e,{autocomplete:b}=e,m=[],w=[],x=!1,E,C,M="";const O=ee.subscribe(T=>{var ce,We;if(((ce=T[a])===null||ce===void 0?void 0:ce.tag)!==a)return;const J=T[a];switch((We=J==null?void 0:J.payload)===null||We===void 0?void 0:We.type){case"DropDownAction":{if(J.payload.action==="select"&&(r?(t(4,m=[...m,J.payload.label]),w=[...w,J.payload.value]):(t(4,m=[J.payload.label]),w=[J.payload.value])),J.payload.action==="deselect"){const Ve=J.payload.label,Xr=J.payload.value;t(4,m=m.filter(Xe=>Xe!==Ve)),w=w.filter(Xe=>Xe!==Xr)}r||t(5,x=!1),ee.update(Ve=>Object.assign(Object.assign({},Ve),{[a]:null})),E.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{event:null,data:{name:a,value:w}}}));break}}});ve(async()=>{await Me(),ee.update(T=>Object.assign(Object.assign({},T),{[a]:{tag:a,payload:{type:"DropDownInit",values:l?JSON.parse(l):[],multiSelect:r}}}))}),Oe(()=>{ee.update(T=>(delete T[a],T)),O()});let P=T=>{T.stopPropagation(),t(8,M=T.detail.data.value),ee.update(ce=>Object.assign(Object.assign({},ce),{[a]:{tag:a,payload:{type:"FilterChange",filter:M}}}))},se=T=>{T.stopPropagation(),t(8,M=""),ee.update(ce=>Object.assign(Object.assign({},ce),{[a]:{tag:a,payload:{type:"FilterChange",filter:M}}})),C==null||C.focus()};async function re(){t(5,x=!0),await Me(),C==null||C.addEventListener("_change",P),C==null||C.addEventListener("_trailingIconClick",se),C==null||C.focus()}function A(){t(5,x=!1),C==null||C.removeEventListener("_change",P),C==null||C.removeEventListener("_trailingIconClick",se)}function F(T){ue[T?"unshift":"push"](()=>{C=T,t(7,C)})}function te(T){ue[T?"unshift":"push"](()=>{E=T,t(6,E)})}return i.$$set=T=>{"name"in T&&t(0,a=T.name),"values"in T&&t(13,l=T.values),"leadingicon"in T&&t(1,s=T.leadingicon),"maxheight"in T&&t(2,c=T.maxheight),"placeholder"in T&&t(3,d=T.placeholder),"multiselect"in T&&t(14,f=T.multiselect),"disabled"in T&&t(15,g=T.disabled),"autocomplete"in T&&t(16,b=T.autocomplete)},i.$$.update=()=>{i.$$.dirty&16384&&(r=D(f)),i.$$.dirty&32768&&t(10,o=D(g)),i.$$.dirty&65536&&t(9,n=D(b))},[a,s,c,d,m,x,E,C,M,n,o,re,A,l,f,g,b,F,te]}class At extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-dropdown-box{position:relative}.menu goa-input{position:relative}.goa-dropdown-background{position:fixed;inset:0}.goa-dropdown-list{position:absolute;left:0;right:0;padding:0;margin:0;margin-top:3px;list-style-type:none;background:var(--color-white);border-radius:var(--input-border-radius);box-shadow:var(--shadow-1);z-index:99}.goa-dropdown-list{scroll-behavior:smooth;scrollbar-width:thin}.goa-dropdown-list::-webkit-scrollbar{width:6px}.goa-dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.goa-dropdown-list::-webkit-scrollbar-thumb{background:#888}.goa-dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Qi,Zi,H,{name:0,values:13,leadingicon:1,maxheight:2,placeholder:3,multiselect:14,disabled:15,autocomplete:16},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","values","leadingicon","maxheight","placeholder","multiselect","disabled","autocomplete"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get values(){return this.$$.ctx[13]}set values(e){this.$$set({values:e}),h()}get leadingicon(){return this.$$.ctx[1]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get maxheight(){return this.$$.ctx[2]}set maxheight(e){this.$$set({maxheight:e}),h()}get placeholder(){return this.$$.ctx[3]}set placeholder(e){this.$$set({placeholder:e}),h()}get multiselect(){return this.$$.ctx[14]}set multiselect(e){this.$$set({multiselect:e}),h()}get disabled(){return this.$$.ctx[15]}set disabled(e){this.$$set({disabled:e}),h()}get autocomplete(){return this.$$.ctx[16]}set autocomplete(e){this.$$set({autocomplete:e}),h()}}customElements.define("goa-dropdown",At);function $i(i){let e,t=(i[2]||i[0])+"",r,o,n;return{c(){e=p("li"),this.c=y,u(e,"class","goa-dropdown-option"),u(e,"style",r=`display: ${i[4]?"none":"block"}`),u(e,"data-testid",i[1]),B(e,"goa-dropdown-option--disabled",i[5]),B(e,"goa-dropdown-option--selected",i[3])},m(a,l){_(a,e,l),e.innerHTML=t,o||(n=X(e,"click",i[6]),o=!0)},p(a,[l]){l&5&&t!==(t=(a[2]||a[0])+"")&&(e.innerHTML=t),l&16&&r!==(r=`display: ${a[4]?"none":"block"}`)&&u(e,"style",r),l&2&&u(e,"data-testid",a[1]),l&32&&B(e,"goa-dropdown-option--disabled",a[5]),l&8&&B(e,"goa-dropdown-option--selected",a[3])},i:y,o:y,d(a){a&&z(e),o=!1,n()}}}function er(i,e,t){let r,o,n,{name:a=""}=e,{value:l=""}=e,{label:s=""}=e,{testId:c=""}=e,{selected:d=""}=e,{disabled:f=""}=e,{hide:g=""}=e,b,m;ve(async()=>{await Me()});function w(E){if(E.length===0||!s.toLowerCase().includes(E.toLowerCase()))return s;t(2,m="");let C=0;return[...s.matchAll(new RegExp(E,"gi"))].forEach(M=>{t(2,m+=s.slice(C,M.index)+`<b>${M[0]}</b>`),C=M.index+M[0].length}),t(2,m+=s.slice(C)),m}ee.subscribe(E=>{const C=E[a];if(!!C&&C.tag===a)switch(C.payload.type){case"FilterChange":{const M=C.payload.filter.toLowerCase();if(!l&&!s)t(7,g="false");else{const O=l.toLowerCase().includes(M)||s.toLowerCase().includes(M);t(7,g=Li(!O))}t(2,m=w(M));break}case"DropDownAction":{C.payload.label!==s&&!b&&t(3,r=!1);break}case"DropDownInit":{t(3,r=C.payload.values.includes(l)),b=C.payload.multiSelect,r&&ee.update(M=>Object.assign(Object.assign({},M),{[a]:{tag:a,payload:{type:"DropDownAction",action:"select",label:s,value:l}}}));break}}});function x(){t(3,r=!r),ee.update(E=>Object.assign(Object.assign({},E),{[a]:{tag:a,payload:{type:"DropDownAction",action:r?"select":"deselect",label:s,value:l,multiSelect:b}}}))}return i.$$set=E=>{"name"in E&&t(8,a=E.name),"value"in E&&t(9,l=E.value),"label"in E&&t(0,s=E.label),"testId"in E&&t(1,c=E.testId),"selected"in E&&t(10,d=E.selected),"disabled"in E&&t(11,f=E.disabled),"hide"in E&&t(7,g=E.hide)},i.$$.update=()=>{i.$$.dirty&1024&&t(3,r=D(d)),i.$$.dirty&2048&&t(5,o=D(f)),i.$$.dirty&128&&t(4,n=D(g))},[s,c,m,r,n,o,x,g,a,l,d,f]}class Lt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}li{font-family:var(--font-family)}.goa-dropdown-option{margin:0;padding:0.5rem;cursor:pointer;color:var(--color-black)}.goa-dropdown-option:hover{background:var(--color-gray-100);color:var(--goa-color-interactive--hover)}.goa-dropdown-option--disabled{opacity:0.5;cursor:default}.goa-dropdown-option--disabled:hover{cursor:default;color:var(--color-gray-600)}.goa-dropdown-option--selected{background:var(--goa-color-interactive--active);color:var(--color-white)}.goa-dropdown-option--selected:hover{background:var(--goa-color-interactive--hover);color:var(--color-white)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},er,$i,H,{name:8,value:9,label:0,testId:1,selected:10,disabled:11,hide:7},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","label","testId","selected","disabled","hide"]}get name(){return this.$$.ctx[8]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[9]}set value(e){this.$$set({value:e}),h()}get label(){return this.$$.ctx[0]}set label(e){this.$$set({label:e}),h()}get testId(){return this.$$.ctx[1]}set testId(e){this.$$set({testId:e}),h()}get selected(){return this.$$.ctx[10]}set selected(e){this.$$set({selected:e}),h()}get disabled(){return this.$$.ctx[11]}set disabled(e){this.$$set({disabled:e}),h()}get hide(){return this.$$.ctx[7]}set hide(e){this.$$set({hide:e}),h()}}customElements.define("goa-dropdown-item",Lt);function tr(i){let e,t;return{c(){e=p("div"),t=p("slot"),this.c=y,u(e,"class","goa-flex-row"),S(e,"gap",i[0])},m(r,o){_(r,e,o),v(e,t)},p(r,[o]){o&1&&S(e,"gap",r[0])},i:y,o:y,d(r){r&&z(e)}}}function ir(i,e,t){let r,{gap:o=""}=e;return i.$$set=n=>{"gap"in n&&t(1,o=n.gap)},i.$$.update=()=>{i.$$.dirty&2&&t(0,r=o==="small"?"1rem":o==="medium"?"2rem":o==="large"?"3rem":"0")},[r,o]}class Rt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-flex-row{margin-bottom:1rem;display:flex;flex-direction:column;flex-wrap:wrap;align-items:stretch}@media(min-width: 480px){.goa-flex-row{flex-direction:row}}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},ir,tr,H,{gap:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap"]}get gap(){return this.$$.ctx[1]}set gap(e){this.$$set({gap:e}),h()}}customElements.define("goa-flex-row",Rt);function Mt(i){let e,t,r,o=i[4]&&Tt();return{c(){e=p("label"),t=W(i[3]),r=L(),o&&o.c(),u(e,"for",i[1])},m(n,a){_(n,e,a),v(e,t),v(e,r),o&&o.m(e,null)},p(n,a){a&8&&V(t,n[3]),n[4]?o||(o=Tt(),o.c(),o.m(e,null)):o&&(o.d(1),o=null),a&2&&u(e,"for",n[1])},d(n){n&&z(e),o&&o.d()}}}function Tt(i){let e;return{c(){e=p("em"),e.textContent="(optional)"},m(t,r){_(t,e,r)},d(t){t&&z(e)}}}function Ht(i){let e,t;return{c(){e=p("div"),t=W(i[2]),u(e,"class","error-msg")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&4&&V(t,r[2])},d(r){r&&z(e)}}}function It(i){let e,t;return{c(){e=p("div"),t=W(i[0]),u(e,"class","help-msg")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&1&&V(t,r[0])},d(r){r&&z(e)}}}function rr(i){let e,t,r,o,n,a=i[3]&&Mt(i),l=i[2]&&Ht(i),s=i[0]&&It(i);return{c(){e=p("div"),a&&a.c(),t=L(),r=p("div"),r.innerHTML="<slot></slot>",o=L(),l&&l.c(),n=L(),s&&s.c(),this.c=y,u(r,"class","form-item-input"),u(e,"class","goa-form-item")},m(c,d){_(c,e,d),a&&a.m(e,null),v(e,t),v(e,r),v(e,o),l&&l.m(e,null),v(e,n),s&&s.m(e,null)},p(c,[d]){c[3]?a?a.p(c,d):(a=Mt(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[2]?l?l.p(c,d):(l=Ht(c),l.c(),l.m(e,n)):l&&(l.d(1),l=null),c[0]?s?s.p(c,d):(s=It(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:y,o:y,d(c){c&&z(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function or(i,e,t){let r,{helptext:o=""}=e,{name:n=""}=e,{error:a=""}=e,{label:l=""}=e,{optional:s}=e;return i.$$set=c=>{"helptext"in c&&t(0,o=c.helptext),"name"in c&&t(1,n=c.name),"error"in c&&t(2,a=c.error),"label"in c&&t(3,l=c.label),"optional"in c&&t(5,s=c.optional)},i.$$.update=()=>{i.$$.dirty&32&&t(4,r=D(s))},[o,n,a,l,r,s]}class jt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{flex:1 1 auto;box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}label{display:block;font-weight:bold;color:#333;font-size:var(--fs-base);padding:0.5rem 0;max-height:2.5rem}label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--fs-sm);color:var(--color-black)}.error-msg{font-size:var(--fs-sm);color:var(--goa-color-status-emergency);margin-bottom:0.25rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},or,rr,H,{helptext:0,name:1,error:2,label:3,optional:5},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["helptext","name","error","label","optional"]}get helptext(){return this.$$.ctx[0]}set helptext(e){this.$$set({helptext:e}),h()}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),h()}get error(){return this.$$.ctx[2]}set error(e){this.$$set({error:e}),h()}get label(){return this.$$.ctx[3]}set label(e){this.$$set({label:e}),h()}get optional(){return this.$$.ctx[5]}set optional(e){this.$$set({optional:e}),h()}}customElements.define("goa-form-item",jt);function ar(i){let e,t,r,o,n,a,l,s;return{c(){e=p("div"),t=p("goa-page-block"),r=p("h1"),o=W(i[0]),n=L(),a=p("div"),a.innerHTML='<slot name="content"></slot>',l=L(),s=p("slot"),this.c=y,u(r,"role","heading"),u(a,"class","goa-hero-banner-content"),u(a,"role","note"),u(s,"name","actions"),u(e,"class","goa-hero"),S(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+i[1]+")"),S(e,"background-size","cover"),S(e,"background-position","center"),S(e,"background-repeat","no-repeat")},m(c,d){_(c,e,d),v(e,t),v(t,r),v(r,o),v(t,n),v(t,a),v(t,l),v(t,s)},p(c,[d]){d&1&&V(o,c[0]),d&2&&S(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+c[1]+")")},i:y,o:y,d(c){c&&z(e)}}}function nr(i,e,t){let{title:r}=e,{backgroundurl:o}=e;return i.$$set=n=>{"title"in n&&t(0,r=n.title),"backgroundurl"in n&&t(1,o=n.backgroundurl)},[r,o]}class Gt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;min-height:600px;border-bottom:8px solid var(--goa-color-primary-dark);color:var(--color-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--color-white);font-size:var(--fs-3xl);line-height:var(--lh-2xl);font-weight:var(--fw-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},nr,ar,H,{title:0,backgroundurl:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["title","backgroundurl"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),h()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),h()}}customElements.define("goa-hero-banner",Gt);function Dt(i){let e,t,r;return{c(){e=p("ion-icon"),k(e,"style",t=`width: ${i[2]}; height: ${i[2]}`),k(e,"name",r=i[1]==="filled"?i[0]:`${i[0]}-${i[1]}`)},m(o,n){_(o,e,n)},p(o,n){n&4&&t!==(t=`width: ${o[2]}; height: ${o[2]}`)&&k(e,"style",t),n&3&&r!==(r=o[1]==="filled"?o[0]:`${o[0]}-${o[1]}`)&&k(e,"name",r)},d(o){o&&z(e)}}}function lr(i){let e,t,r,o=i[0]&&Dt(i);return{c(){e=p("div"),o&&o.c(),this.c=y,u(e,"class","goa-icon"),u(e,"data-testid",t=`icon-${i[0]}`),u(e,"style",r=`--size: ${i[2]}`),B(e,"inverted",i[3])},m(n,a){_(n,e,a),o&&o.m(e,null)},p(n,[a]){n[0]?o?o.p(n,a):(o=Dt(n),o.c(),o.m(e,null)):o&&(o.d(1),o=null),a&1&&t!==(t=`icon-${n[0]}`)&&u(e,"data-testid",t),a&4&&r!==(r=`--size: ${n[2]}`)&&u(e,"style",r),a&8&&B(e,"inverted",n[3])},i:y,o:y,d(n){n&&z(e),o&&o.d()}}}function sr(i,e,t){let r,o,{type:n}=e,{size:a="medium"}=e,{theme:l="outline"}=e,{inverted:s}=e;return i.$$set=c=>{"type"in c&&t(0,n=c.type),"size"in c&&t(4,a=c.size),"theme"in c&&t(1,l=c.theme),"inverted"in c&&t(5,s=c.inverted)},i.$$.update=()=>{i.$$.dirty&32&&t(3,r=D(s)),i.$$.dirty&16&&t(2,o={small:"1.1rem",medium:"1.5rem",large:"2rem"}[a])},[n,l,o,r,a,s]}class Ot extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}:host,.goa-icon{display:inline-flex;align-items:center}.goa-icon,.goa-icon *{box-sizing:border-box}.goa-icon{width:var(--size);height:var(--size)}.inverted{color:#fff;fill:#fff}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},sr,lr,H,{type:0,size:4,theme:1,inverted:5},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","theme","inverted"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[4]}set size(e){this.$$set({size:e}),h()}get theme(){return this.$$.ctx[1]}set theme(e){this.$$set({theme:e}),h()}get inverted(){return this.$$.ctx[5]}set inverted(e){this.$$set({inverted:e}),h()}}customElements.define("goa-icon",Ot);function cr(i){let e,t,r,o;return{c(){e=p("button"),t=p("goa-icon"),this.c=y,k(t,"type",i[0]),k(t,"size",i[1]),k(t,"theme",i[2]),k(t,"inverted",i[5]),S(e,"--size",i[6]),u(e,"title",i[3]),e.disabled=i[7],u(e,"class",i[8]),u(e,"data-testid",i[4])},m(n,a){_(n,e,a),v(e,t),r||(o=X(e,"click",dr),r=!0)},p(n,[a]){a&1&&k(t,"type",n[0]),a&2&&k(t,"size",n[1]),a&4&&k(t,"theme",n[2]),a&32&&k(t,"inverted",n[5]),a&64&&S(e,"--size",n[6]),a&8&&u(e,"title",n[3]),a&128&&(e.disabled=n[7]),a&256&&u(e,"class",n[8]),a&16&&u(e,"data-testid",n[4])},i:y,o:y,d(n){n&&z(e),r=!1,o()}}}function dr(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function ur(i,e,t){let r,o,n,a,{type:l}=e,{size:s="medium"}=e,{theme:c="outline"}=e,{variant:d="color"}=e,{title:f=""}=e,{testId:g=""}=e,{disabled:b}=e,{inverted:m}=e;return i.$$set=w=>{"type"in w&&t(0,l=w.type),"size"in w&&t(1,s=w.size),"theme"in w&&t(2,c=w.theme),"variant"in w&&t(9,d=w.variant),"title"in w&&t(3,f=w.title),"testId"in w&&t(4,g=w.testId),"disabled"in w&&t(10,b=w.disabled),"inverted"in w&&t(11,m=w.inverted)},i.$$.update=()=>{i.$$.dirty&2048&&t(5,n=D(m)),i.$$.dirty&544&&t(8,r=`goa-icon-button goa-icon-button--${d} ${n?"goa-icon-button--inverted":""}`),i.$$.dirty&1024&&t(7,o=D(b)),i.$$.dirty&2&&t(6,a={small:"1rem",medium:"1.5rem",large:"2rem"}[s])},[l,s,c,f,g,n,a,o,r,d,b,m]}class St extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:flex;align-items:center;box-sizing:border-box;font-family:var(--font-family)}.goa-icon-button,.goa-icon-button *{box-sizing:border-box}.goa-icon-button{display:inline-flex;align-items:center;background:transparent;cursor:pointer;padding:0;border:none}.goa-icon-button--color{border-radius:0.5rem;padding:calc(var(--size) / 4)}.goa-icon-button--color{border-radius:0.5rem;color:var(--goa-color-interactive);fill:var(--goa-color-interactive);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.goa-icon-button--color:active,.goa-icon-button--nocolor:active{transform:scale(0.9)}.goa-icon-button--color:hover{background-color:var(--goa-color-primary-light)}.goa-icon-button--color.goa-icon-button--inverted:hover{background-color:var(--goa-color-primary-dark)}.goa-icon-button:disabled{color:var(--color-gray-200);fill:var(--color-gray-200);transform:none;cursor:default}.goa-icon-button:disabled:hover{background-color:transparent}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},ur,cr,H,{type:0,size:1,theme:2,variant:9,title:3,testId:4,disabled:10,inverted:11},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","theme","variant","title","testId","disabled","inverted"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get theme(){return this.$$.ctx[2]}set theme(e){this.$$set({theme:e}),h()}get variant(){return this.$$.ctx[9]}set variant(e){this.$$set({variant:e}),h()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),h()}get testId(){return this.$$.ctx[4]}set testId(e){this.$$set({testId:e}),h()}get disabled(){return this.$$.ctx[10]}set disabled(e){this.$$set({disabled:e}),h()}get inverted(){return this.$$.ctx[11]}set inverted(e){this.$$set({inverted:e}),h()}}customElements.define("goa-icon-button",St);function Bt(i){let e,t;return{c(){e=p("div"),t=p("goa-icon"),k(t,"type",i[5]),u(e,"class","goa-input-leading-icon")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&32&&k(t,"type",r[5])},d(r){r&&z(e)}}}function Pt(i){let e,t;return{c(){e=p("div"),t=p("goa-icon"),k(t,"size","medium"),k(t,"type",i[6]),u(e,"class","goa-input-trailing-icon")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&64&&k(t,"type",r[6])},d(r){r&&z(e)}}}function Nt(i){let e,t,r,o,n;return{c(){e=p("div"),t=p("goa-icon-button"),k(t,"disabled",i[9]),k(t,"variant","nocolor"),k(t,"size","medium"),k(t,"type",i[6]),k(t,"testid",r=`${i[1]}-input-trailing-button`),u(e,"class","goa-input-trailing-icon")},m(a,l){_(a,e,l),v(e,t),o||(n=X(t,"click",gr),o=!0)},p(a,l){l&512&&k(t,"disabled",a[9]),l&64&&k(t,"type",a[6]),l&2&&r!==(r=`${a[1]}-input-trailing-button`)&&k(t,"testid",r)},d(a){a&&z(e),o=!1,n()}}}function fr(i){let e,t,r,o,n,a,l,s,c,d=i[5]&&Bt(i),f=i[6]&&!i[12]&&Pt(i),g=i[6]&&i[12]&&Nt(i);return{c(){e=p("div"),d&&d.c(),t=L(),r=p("input"),n=L(),f&&f.c(),a=L(),g&&g.c(),this.c=y,u(r,"id",i[3]),u(r,"class",o=`input--${i[7]}`),r.readOnly=i[11],r.disabled=i[9],u(r,"type",i[0]),r.value=i[2],u(r,"placeholder",i[4]),u(e,"class",l=`goa-input ${i[9]?"goa-input--disabled":""}`),B(e,"error",i[10])},m(b,m){_(b,e,m),d&&d.m(e,null),v(e,t),v(e,r),i[20](r),v(e,n),f&&f.m(e,null),v(e,a),g&&g.m(e,null),s||(c=X(r,"keyup",i[13]),s=!0)},p(b,[m]){b[5]?d?d.p(b,m):(d=Bt(b),d.c(),d.m(e,t)):d&&(d.d(1),d=null),m&8&&u(r,"id",b[3]),m&128&&o!==(o=`input--${b[7]}`)&&u(r,"class",o),m&2048&&(r.readOnly=b[11]),m&512&&(r.disabled=b[9]),m&1&&u(r,"type",b[0]),m&4&&r.value!==b[2]&&(r.value=b[2]),m&16&&u(r,"placeholder",b[4]),b[6]&&!b[12]?f?f.p(b,m):(f=Pt(b),f.c(),f.m(e,a)):f&&(f.d(1),f=null),b[6]&&b[12]?g?g.p(b,m):(g=Nt(b),g.c(),g.m(e,null)):g&&(g.d(1),g=null),m&512&&l!==(l=`goa-input ${b[9]?"goa-input--disabled":""}`)&&u(e,"class",l),m&1536&&B(e,"error",b[10])},i:y,o:y,d(b){b&&z(e),d&&d.d(),i[20](null),f&&f.d(),g&&g.d(),s=!1,c()}}}function gr(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function hr(i,e,t){let r,o,n,a,l,{type:s="text"}=e,{name:c=""}=e,{value:d=""}=e,{id:f=""}=e,{placeholder:g=""}=e,{leadingicon:b=null}=e,{trailingicon:m=null}=e,{variant:w="goa"}=e,{disabled:x}=e,{handletrailingiconclick:E}=e,{focused:C}=e,{readonly:M}=e,{error:O}=e,P;ve(async()=>{await Me()});function se(A){A.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:A,data:{name:c,value:A.target.value}}})),A.stopPropagation()}function re(A){ue[A?"unshift":"push"](()=>{P=A,t(8,P)})}return i.$$set=A=>{"type"in A&&t(0,s=A.type),"name"in A&&t(1,c=A.name),"value"in A&&t(2,d=A.value),"id"in A&&t(3,f=A.id),"placeholder"in A&&t(4,g=A.placeholder),"leadingicon"in A&&t(5,b=A.leadingicon),"trailingicon"in A&&t(6,m=A.trailingicon),"variant"in A&&t(7,w=A.variant),"disabled"in A&&t(14,x=A.disabled),"handletrailingiconclick"in A&&t(15,E=A.handletrailingiconclick),"focused"in A&&t(16,C=A.focused),"readonly"in A&&t(17,M=A.readonly),"error"in A&&t(18,O=A.error)},i.$$.update=()=>{i.$$.dirty&32768&&t(12,r=D(E)),i.$$.dirty&65536&&t(19,o=D(C)),i.$$.dirty&131072&&t(11,n=D(M)),i.$$.dirty&262144&&t(10,a=D(O)),i.$$.dirty&16384&&t(9,l=D(x)),i.$$.dirty&524544&&o&&(P==null||P.focus())},[s,c,d,f,g,b,m,w,P,l,a,n,r,se,x,E,C,M,O,o,re]}class Ft extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-input,.goa-input *{box-sizing:border-box}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:3px;background:white;color:var(--color-black, #ccc);padding:var(--input-padding, 0.5rem) 0.5rem;display:flex;align-items:center}.goa-input input[readonly]{cursor:pointer}.goa-input:hover{border-color:var(--goa-color-interactive--hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--highlight)}.goa-input:disabled{border-color:var(--color-gray-500)}.goa-input:disabled:hover{border-color:var(--color-gray-500)}.goa-input:disabled:focus{box-shadow:none}.goa-input-leading-icon{line-height:18px;padding:0.5rem}.goa-input-trailing-icon{display:flex;align-items:center}.goa-input-trailing-icon>.goa-icon-button{margin-right:-0.5rem}input{display:block;width:100%;font-size:var(--input-font-size)}.goa-input-leading-icon~input{padding-left:0}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled{opacity:0.5;cursor:default;border-color:var(--color-black)}.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{border-color:var(--color-black);cursor:default;box-shadow:none}.goa-input--disabled input:hover{cursor:default !important}input.input--goa{display:block;border:none;flex:1 1 auto}.goa-input .input--bare{border:none}.goa-state--error .goa-input{border:2px solid var(--goa-color-status-emergency)}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-status-emergency-dark)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},hr,fr,H,{type:0,name:1,value:2,id:3,placeholder:4,leadingicon:5,trailingicon:6,variant:7,disabled:14,handletrailingiconclick:15,focused:16,readonly:17,error:18},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","name","value","id","placeholder","leadingicon","trailingicon","variant","disabled","handletrailingiconclick","focused","readonly","error"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),h()}get id(){return this.$$.ctx[3]}set id(e){this.$$set({id:e}),h()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),h()}get leadingicon(){return this.$$.ctx[5]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get trailingicon(){return this.$$.ctx[6]}set trailingicon(e){this.$$set({trailingicon:e}),h()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),h()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),h()}get handletrailingiconclick(){return this.$$.ctx[15]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),h()}get focused(){return this.$$.ctx[16]}set focused(e){this.$$set({focused:e}),h()}get readonly(){return this.$$.ctx[17]}set readonly(e){this.$$set({readonly:e}),h()}get error(){return this.$$.ctx[18]}set error(e){this.$$set({error:e}),h()}}customElements.define("goa-input",Ft);function mr(i){const e=i-1;return e*e*e+1}function br(i){return Math.pow(i-1,3)*(1-i)+1}function ge(i,{delay:e=0,duration:t=400,easing:r=he}={}){const o=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:n=>`opacity: ${n*o}`}}function qt(i,{delay:e=0,duration:t=400,easing:r=mr,x:o=0,y:n=0,opacity:a=0}={}){const l=getComputedStyle(i),s=+l.opacity,c=l.transform==="none"?"":l.transform,d=s*(1-a);return{delay:e,duration:t,easing:r,css:(f,g)=>`
|
|
6
|
+
transform: ${c} translate(${(1-f)*o}px, ${(1-f)*n}px);
|
|
7
|
+
opacity: ${s-d*g}`}}function Wt(i,e){function t(){const n=o();document.body.style.overflow="hidden",document.body.style.paddingRight=n+"px"}function r(){setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},500)}function o(){if(document.body.clientHeight<=document.documentElement.clientHeight)return 0;const n=document.createElement("div");n.style.visibility="hidden",n.style.overflow="scroll",document.body.appendChild(n);const a=document.createElement("div");n.appendChild(a);const l=n.offsetWidth-a.offsetWidth;return n.parentNode.removeChild(n),l}return e.enable&&t(),{update(){e.enable?t():r()},destroy(){r()}}}function Vt(i){let e,t,r,o,n,a,l,s,c,d,f,g,b,m,w,x,E,C,M,O=i[0]&&Xt(i),P=i[4]&&Jt();function se(F,te){return F[3]?pr:vr}let re=se(i),A=re(i);return{c(){e=p("div"),t=p("div"),r=L(),o=p("div"),O&&O.c(),n=L(),P&&P.c(),a=L(),l=p("div"),A.c(),s=L(),c=p("slot"),d=L(),f=p("div"),f.innerHTML='<slot name="actions"></slot>',u(t,"class","modal-overlay"),u(l,"class","modal-content"),u(f,"class","modal-actions"),u(o,"class","modal-pane"),u(e,"class","modal"),S(e,"--scroll-offset",i[2]+"px")},m(F,te){_(F,e,te),v(e,t),v(e,r),v(e,o),O&&O.m(o,null),v(o,n),P&&P.m(o,null),v(o,a),v(o,l),A.m(l,null),v(l,s),v(l,c),v(o,d),v(o,f),E=!0,C||(M=[X(t,"click",Kt),Ye(m=Wt.call(null,e,{enable:i[1]}))],C=!0)},p(F,te){F[0]?O?O.p(F,te):(O=Xt(F),O.c(),O.m(o,n)):O&&(O.d(1),O=null),F[4]?P?P.p(F,te):(P=Jt(),P.c(),P.m(o,a)):P&&(P.d(1),P=null),re!==(re=se(F))&&(A.d(1),A=re(F),A&&(A.c(),A.m(l,s))),(!E||te&4)&&S(e,"--scroll-offset",F[2]+"px"),m&&oe(m.update)&&te&2&&m.update.call(null,{enable:F[1]})},i(F){E||(K(()=>{b&&b.end(1),g=ot(o,qt,{duration:200,y:200}),g.start()}),K(()=>{x&&x.end(1),w=ot(e,ge,{duration:200}),w.start()}),E=!0)},o(F){g&&g.invalidate(),b=at(o,qt,{delay:200,duration:200,y:-100}),w&&w.invalidate(),x=at(e,ge,{delay:200,duration:200}),E=!1},d(F){F&&z(e),O&&O.d(),P&&P.d(),A.d(),F&&b&&b.end(),F&&x&&x.end(),C=!1,Z(M)}}}function Xt(i){let e,t;return{c(){e=p("div"),t=W(i[0]),u(e,"class","modal-title")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&1&&V(t,r[0])},d(r){r&&z(e)}}}function Jt(i){let e,t,r,o;return{c(){e=p("div"),t=p("goa-icon-button"),k(t,"type","close"),u(e,"class","modal-close")},m(n,a){_(n,e,a),v(e,t),r||(o=X(t,"click",Kt),r=!0)},p:y,d(n){n&&z(e),r=!1,o()}}}function vr(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",S(e,"margin","1.75rem")},m(t,r){_(t,e,r)},d(t){t&&z(e)}}}function pr(i){let e;return{c(){e=p("goa-scrollable"),e.innerHTML="<slot></slot>",k(e,"direction","vertical"),k(e,"height","50"),k(e,"hpadding","1.75")},m(t,r){_(t,e,r)},d(t){t&&z(e)}}}function yr(i){let e,t,r=i[1]&&Vt(i);return{c(){r&&r.c(),e=ne(),this.c=y},m(o,n){r&&r.m(o,n),_(o,e,n),t=!0},p(o,[n]){o[1]?r?(r.p(o,n),n&2&&N(r,1)):(r=Vt(o),r.c(),N(r,1),r.m(e.parentNode,e)):r&&(_e(),q(r,1,1,()=>{r=null}),we())},i(o){t||(N(r),t=!0)},o(o){q(r),t=!1},d(o){r&&r.d(o),o&&z(e)}}}function Kt(i){i.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),i.stopPropagation()}function _r(i,e,t){let r,o,n;console.log("here");let{title:a}=e,{closable:l}=e,{scrollable:s}=e,{open:c}=e,d=0;return i.$$set=f=>{"title"in f&&t(0,a=f.title),"closable"in f&&t(5,l=f.closable),"scrollable"in f&&t(6,s=f.scrollable),"open"in f&&t(7,c=f.open)},i.$$.update=()=>{i.$$.dirty&32&&t(4,r=D(l)),i.$$.dirty&64&&t(3,o=D(s)),i.$$.dirty&128&&t(1,n=D(c)),i.$$.dirty&2&&n&&t(2,d=window.pageYOffset)},[a,n,d,o,r,l,s,c]}class Ut extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.modal{font-family:var(--font-family);position:absolute;top:var(--scroll-offset, 0);left:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.modal-pane{position:relative;background-color:#fff;z-index:1001;max-width:60ch;margin:1rem;box-shadow:var(--shadow-2);border-radius:4px;width:90%;max-height:90%}@media(min-width: 640px){.modal-pane{margin:1rem;max-height:80%;width:600px}}@media(min-width: 1024px){.modal-pane{width:65ch;max-height:80%}}.modal-actions{text-align:right;padding:0 1.75rem;margin:1.75rem 0;flex:1 1 auto}.modal-close{position:absolute;top:1rem;right:1rem}.modal-title{font-size:var(--fs-xl);padding-bottom:1rem;padding:0 1.75rem;margin:1.75rem 0;margin-right:40px;flex:0 0 auto}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},_r,yr,H,{title:0,closable:5,scrollable:6,open:7},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["title","closable","scrollable","open"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),h()}get closable(){return this.$$.ctx[5]}set closable(e){this.$$set({closable:e}),h()}get scrollable(){return this.$$.ctx[6]}set scrollable(e){this.$$set({scrollable:e}),h()}get open(){return this.$$.ctx[7]}set open(e){this.$$set({open:e}),h()}}customElements.define("goa-modal",Ut);function Yt(i){let e,t,r,o,n,a,l,s,c,d,f,g,b;return{c(){e=p("div"),t=p("div"),r=p("goa-icon"),o=L(),n=p("div"),n.innerHTML="<slot></slot>",a=L(),l=p("div"),s=p("goa-icon-button"),k(r,"type",i[2]),k(r,"inverted",""),u(t,"class","icon"),u(n,"class","content"),k(s,"type","close"),k(s,"inverted",""),u(l,"class","close"),u(e,"class",c="notification "+i[0])},m(m,w){_(m,e,w),v(e,t),v(t,r),v(e,o),v(e,n),v(e,a),v(e,l),v(l,s),f=!0,g||(b=X(s,"click",i[3]),g=!0)},p(m,w){(!f||w&4)&&k(r,"type",m[2]),(!f||w&1&&c!==(c="notification "+m[0]))&&u(e,"class",c)},i(m){f||(K(()=>{d||(d=Ie(e,ge,{},!0)),d.run(1)}),f=!0)},o(m){d||(d=Ie(e,ge,{},!1)),d.run(0),f=!1},d(m){m&&z(e),m&&d&&d.end(),g=!1,b()}}}function wr(i){let e,t,r=i[1]&&Yt(i);return{c(){r&&r.c(),e=ne(),this.c=y},m(o,n){r&&r.m(o,n),_(o,e,n),t=!0},p(o,[n]){o[1]?r?(r.p(o,n),n&2&&N(r,1)):(r=Yt(o),r.c(),N(r,1),r.m(e.parentNode,e)):r&&(_e(),q(r,1,1,()=>{r=null}),we())},i(o){t||(N(r),t=!0)},o(o){q(r),t=!1},d(o){r&&r.d(o),o&&z(e)}}}function kr(i,e,t){let r,{type:o}=e,n=!0;function a(){t(1,n=!1)}return i.$$set=l=>{"type"in l&&t(0,o=l.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=o==="emergency"?"warning":o==="caution"?"alert-circle":o==="information"?"information-circle":"calendar")},[o,n,r,a]}class Zt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;align-items:center;gap:1rem;border-radius:3px}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.caution{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info);color:var(--color-white)}.event{background-color:var(--goa-color-status-success);color:var(--color-white)}.icon{flex:0 0 auto;align-self:flex-start}.content{flex:1 1 auto}.close{flex:0 0 auto;align-self:flex-start}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},kr,wr,H,{type:0},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}}customElements.define("goa-notification",Zt);function xr(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",this.c=y,u(e,"class","layout")},m(t,r){_(t,e,r)},p:y,i:y,o:y,d(t){t&&z(e)}}}class Qt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>@media(min-width: 768px){}.layout{max-width:768px;margin:0 auto;padding:2rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,xr,H,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-page-layout",Qt);function $t(i){let e,t,r,o;const n=[Er,zr],a=[];function l(s,c){return s[5]?0:1}return e=l(i),t=a[e]=n[e](i),{c(){t.c(),r=ne()},m(s,c){a[e].m(s,c),_(s,r,c),o=!0},p(s,c){let d=e;e=l(s),e===d?a[e].p(s,c):(_e(),q(a[d],1,1,()=>{a[d]=null}),we(),t=a[e],t?t.p(s,c):(t=a[e]=n[e](s),t.c()),N(t,1),t.m(r.parentNode,r))},i(s){o||(N(t),o=!0)},o(s){q(t),o=!1},d(s){a[e].d(s),s&&z(r)}}}function zr(i){let e,t,r,o,n=i[1]&&ei(i);return{c(){e=p("div"),t=p("goa-spinner"),o=L(),n&&n.c(),k(t,"type",i[0]),k(t,"size","xlarge"),k(t,"progress",r=i[2]||0),B(e,"inline",i[4])},m(a,l){_(a,e,l),v(e,t),v(e,o),n&&n.m(e,null)},p(a,l){l&1&&k(t,"type",a[0]),l&4&&r!==(r=a[2]||0)&&k(t,"progress",r),a[1]?n?n.p(a,l):(n=ei(a),n.c(),n.m(e,null)):n&&(n.d(1),n=null),l&16&&B(e,"inline",a[4])},i:y,o:y,d(a){a&&z(e),n&&n.d()}}}function Er(i){let e,t,r,o,n,a,l,s,c=i[1]&&ti(i);return{c(){e=p("div"),t=p("goa-spinner"),o=L(),c&&c.c(),k(t,"type",i[0]),k(t,"size","xlarge"),k(t,"progress",r=i[2]||0),B(e,"fullscreen",i[5])},m(d,f){_(d,e,f),v(e,t),v(e,o),c&&c.m(e,null),a=!0,l||(s=Ye(Wt.call(null,e,{enable:!0})),l=!0)},p(d,f){(!a||f&1)&&k(t,"type",d[0]),(!a||f&4&&r!==(r=d[2]||0))&&k(t,"progress",r),d[1]?c?c.p(d,f):(c=ti(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&32&&B(e,"fullscreen",d[5])},i(d){a||(K(()=>{n||(n=Ie(e,ge,{duration:300},!0)),n.run(1)}),a=!0)},o(d){n||(n=Ie(e,ge,{duration:300},!1)),n.run(0),a=!1},d(d){d&&z(e),c&&c.d(),d&&n&&n.end(),l=!1,s()}}}function ei(i){let e,t;return{c(){e=p("div"),t=W(i[1]),u(e,"class","message")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&2&&V(t,r[1])},d(r){r&&z(e)}}}function ti(i){let e,t;return{c(){e=p("div"),t=W(i[1]),u(e,"class","message")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&2&&V(t,r[1])},d(r){r&&z(e)}}}function Cr(i){let e,t,r=i[3]&&$t(i);return{c(){r&&r.c(),e=ne(),this.c=y},m(o,n){r&&r.m(o,n),_(o,e,n),t=!0},p(o,[n]){o[3]?r?(r.p(o,n),n&8&&N(r,1)):(r=$t(o),r.c(),N(r,1),r.m(e.parentNode,e)):r&&(_e(),q(r,1,1,()=>{r=null}),we())},i(o){t||(N(r),t=!0)},o(o){q(r),t=!1},d(o){r&&r.d(o),o&&z(e)}}}function Ar(i,e,t){let r,o,n,a,{type:l="infinite"}=e,{message:s}=e,{progress:c=0}=e,{visible:d}=e,{variant:f="inline"}=e;return i.$$set=g=>{"type"in g&&t(0,l=g.type),"message"in g&&t(1,s=g.message),"progress"in g&&t(2,c=g.progress),"visible"in g&&t(6,d=g.visible),"variant"in g&&t(7,f=g.variant)},i.$$.update=()=>{i.$$.dirty&192&&t(8,r=D(d)||f==="inline"),i.$$.dirty&128&&t(5,o=f==="fullscreen"),i.$$.dirty&128&&t(4,n=f==="inline"),i.$$.dirty&257&&t(3,a=l&&r)},[l,s,c,a,n,o,d,f,r]}class ii extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:rgba(255, 255, 255, 0.9)}.inline{margin:3.5rem;display:flex;flex-direction:column;align-items:center;justify-content:center}.message{margin-top:1rem;font-size:1.2rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ar,Cr,H,{type:0,message:1,progress:2,visible:6,variant:7},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","message","progress","visible","variant"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get message(){return this.$$.ctx[1]}set message(e){this.$$set({message:e}),h()}get progress(){return this.$$.ctx[2]}set progress(e){this.$$set({progress:e}),h()}get visible(){return this.$$.ctx[6]}set visible(e){this.$$set({visible:e}),h()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),h()}}customElements.define("goa-page-loader",ii);const ke=Fe({});function Lr(i){let e,t,r,o;return{c(){e=p("div"),t=p("div"),r=p("slot"),this.c=y,u(t,"class",o=`goa-radio-group--${i[0]}`)},m(n,a){_(n,e,a),v(e,t),v(t,r),i[8](t)},p(n,[a]){a&1&&o!==(o=`goa-radio-group--${n[0]}`)&&u(t,"class",o)},i:y,o:y,d(n){n&&z(e),i[8](null)}}}function Rr(i,e,t){let r,{name:o}=e,{value:n}=e,{orientation:a="vertical"}=e,{disabled:l}=e,{error:s}=e,c,d,f;ve(()=>{ke.update(b=>Object.assign(Object.assign({},b),{[o]:{tag:o,payload:{value:n,disabled:r,error:c}}})),f=ke.subscribe(b=>{const m=b[o].payload;m.value!==n&&(t(2,n=m.value),d.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:m.value}})))})}),Oe(f);function g(b){ue[b?"unshift":"push"](()=>{d=b,t(1,d)})}return i.$$set=b=>{"name"in b&&t(3,o=b.name),"value"in b&&t(2,n=b.value),"orientation"in b&&t(0,a=b.orientation),"disabled"in b&&t(4,l=b.disabled),"error"in b&&t(5,s=b.error)},i.$$.update=()=>{i.$$.dirty&16&&t(7,r=D(l)),i.$$.dirty&236&&(t(6,c=D(s)),ke.update(b=>Object.assign(Object.assign({},b),{[o]:{tag:o,payload:{value:n,disabled:r,error:c}}})))},[a,d,n,o,l,s,c,r,g]}class ri extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:inline-flex;flex-direction:column}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Rr,Lr,H,{name:3,value:2,orientation:0,disabled:4,error:5},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","orientation","disabled","error"]}get name(){return this.$$.ctx[3]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),h()}get orientation(){return this.$$.ctx[0]}set orientation(e){this.$$set({orientation:e}),h()}get disabled(){return this.$$.ctx[4]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[5]}set error(e){this.$$set({error:e}),h()}}customElements.define("goa-radio-group",ri);function Mr(i){let e,t,r,o,n,a,l,s,c,d;return{c(){e=p("label"),t=p("input"),r=L(),o=p("div"),n=L(),a=p("span"),l=p("slot"),s=W(i[1]),this.c=y,u(t,"type","radio"),u(t,"name",i[2]),t.value=i[0],t.checked=i[4],t.disabled=i[3],u(o,"class","goa-radio-icon"),u(a,"class","goa-radio-label"),u(e,"class","goa-radio"),B(e,"goa-radio--disabled",i[3]),B(e,"goa-radio--error",i[5])},m(f,g){_(f,e,g),v(e,t),v(e,r),v(e,o),v(e,n),v(e,a),v(a,l),v(l,s),c||(d=X(t,"change",i[6]),c=!0)},p(f,[g]){g&4&&u(t,"name",f[2]),g&1&&(t.value=f[0]),g&16&&(t.checked=f[4]),g&8&&(t.disabled=f[3]),g&2&&V(s,f[1]),g&8&&B(e,"goa-radio--disabled",f[3]),g&32&&B(e,"goa-radio--error",f[5])},i:y,o:y,d(f){f&&z(e),c=!1,d()}}}function Tr(i,e,t){let{value:r}=e,{label:o}=e,{name:n}=e,a=!1,l=!1,s=!1,c;ve(()=>{c=ke.subscribe(f=>{const g=f[n];(g==null?void 0:g.tag)===n&&(t(4,l=g.payload.value===r),t(3,a=g.payload.disabled),t(5,s=g.payload.error))})}),Oe(c);function d(f){t(4,l=!l),l&&ke.update(g=>Object.assign(Object.assign({},g),{[n]:{tag:n,payload:{disabled:a,value:r}}}))}return i.$$set=f=>{"value"in f&&t(0,r=f.value),"label"in f&&t(1,o=f.label),"name"in f&&t(2,n=f.name)},[r,o,n,a,l,s,d]}class oi extends I{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}label.goa-radio{--goa-border-color:var(--color-gray-600);--goa-border-color--checked:var(--goa-color-interactive--active);--goa-radio-color--error:var(--goa-color-status-emergency);--goa-radio-outline-color:var(--goa-color-interactive--highlight);--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;box-sizing:border-box;display:inline-flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{display:none}.goa-radio-label{padding:0.5rem;font-weight:var(--fw-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-radio-outline-color)}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-border-color--checked)}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--goa-border-color)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--goa-border-color);opacity:0.3}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-border-color--checked);opacity:0.3}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-radio-color--error)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-radio-color--error)}</style>',G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Tr,Mr,H,{value:0,label:1,name:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["value","label","name"]}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get label(){return this.$$.ctx[1]}set label(e){this.$$set({label:e}),h()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),h()}}customElements.define("goa-radio-item",oi);function Hr(i){let e,t,r;return{c(){e=p("div"),t=p("slot"),this.c=y,u(e,"class","goa-scrollable"),u(e,"style",r=`
|
|
8
8
|
--max-height: ${i[3]};
|
|
9
9
|
overflow-y: ${i[0]==="vertical"?"auto":"hidden"};
|
|
10
10
|
overflow-x: ${i[0]==="horizontal"?"auto":"hidden"};
|
|
@@ -16,4 +16,4 @@
|
|
|
16
16
|
overflow-x: ${o[0]==="horizontal"?"auto":"hidden"};
|
|
17
17
|
margin: ${o[2]}rem 0;
|
|
18
18
|
padding: 0 ${o[1]}rem;
|
|
19
|
-
`)&&u(e,"style",r)},i:y,o:y,d(o){o&&z(e)}}}function Ir(i,e,t){let{direction:r="vertical"}=e,{hpadding:o=0}=e,{vpadding:n=0}=e,{height:a=0}=e;return i.$$set=l=>{"direction"in l&&t(0,r=l.direction),"hpadding"in l&&t(1,o=l.hpadding),"vpadding"in l&&t(2,n=l.vpadding),"height"in l&&t(3,a=l.height)},[r,o,n,a]}class ni extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>.goa-scrollable{scroll-behavior:smooth;max-height:calc(100vh * var(--max-height, 100) / 100)}.goa-scrollable::-webkit-scrollbar{width:6px}.goa-scrollable::-webkit-scrollbar-track{background:#f1f1f1}.goa-scrollable::-webkit-scrollbar-thumb{background:#888}.goa-scrollable::-webkit-scrollbar-thumb:hover{background:#555}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ir,Hr,H,{direction:0,hpadding:1,vpadding:2,height:3},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["direction","hpadding","vpadding","height"]}get direction(){return this.$$.ctx[0]}set direction(e){this.$$set({direction:e}),h()}get hpadding(){return this.$$.ctx[1]}set hpadding(e){this.$$set({hpadding:e}),h()}get vpadding(){return this.$$.ctx[2]}set vpadding(e){this.$$set({vpadding:e}),h()}get height(){return this.$$.ctx[3]}set height(e){this.$$set({height:e}),h()}}customElements.define("goa-scrollable",ni);function ai(i){let e;return{c(){e=p("div"),e.innerHTML='An official site of the <a href="https://www.alberta.ca/index.aspx" class="web-link">Alberta Government</a>',u(e,"class","site-text service-level--live")},m(t,r){_(t,e,r)},d(t){t&&z(e)}}}function li(i){let e,t,r,o,n;return{c(){e=p("div"),t=W(i[0]),o=L(),n=p("div"),n.innerHTML='This is a new <a href="https://www.alberta.ca/index.aspx" class="web-link">Alberta Government</a>service',u(e,"class",r="service-level service-level--"+i[0]?.toLowerCase()),u(n,"class","site-text")},m(a,l){_(a,e,l),v(e,t),_(a,o,l),_(a,n,l)},p(a,l){l&1&&V(t,a[0]),l&1&&r!==(r="service-level service-level--"+a[0]?.toLowerCase())&&u(e,"class",r)},d(a){a&&z(e),a&&z(o),a&&z(n)}}}function si(i){let e,t;return{c(){e=p("div"),t=W(i[1]),u(e,"class","version")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&2&&V(t,r[1])},d(r){r&&z(e)}}}function jr(i){let e,t,r,o,n,a=i[0]==="live"&&ai(),l=i[0]!=="live"&&li(i),s=i[1]&&si(i);return{c(){e=p("header"),a&&a.c(),t=L(),l&&l.c(),r=L(),o=p("div"),n=L(),s&&s.c(),this.c=y,u(o,"class","spacer"),u(e,"class","goa-official-site-header")},m(c,f){_(c,e,f),a&&a.m(e,null),v(e,t),l&&l.m(e,null),v(e,r),v(e,o),v(e,n),s&&s.m(e,null)},p(c,[f]){c[0]==="live"?a||(a=ai(),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[0]!=="live"?l?l.p(c,f):(l=li(c),l.c(),l.m(e,r)):l&&(l.d(1),l=null),c[1]?s?s.p(c,f):(s=si(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:y,o:y,d(c){c&&z(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function Gr(i,e,t){let{level:r}=e,{version:o}=e;return i.$$set=n=>{"level"in n&&t(0,r=n.level),"version"in n&&t(1,o=n.version)},[r,o]}class ci extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-official-site-header{display:flex;font-size:var(--fs-xs);background-color:var(--color-gray-100);align-items:center;justify-content:space-between}.spacer{flex:1 1 auto}.version{padding-right:1rem;opacity:0.5}.service-level{font-weight:bold;padding:0 0.5rem}.service-level--alpha{background-color:var(--color-orange);color:var(--color-black)}.service-level--beta{background-color:var(--goa-color-primary-dark);color:var(--color-white)}.site-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--color-black);padding-left:0.5rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Gr,jr,H,{level:0,version:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["level","version"]}get level(){return this.$$.ctx[0]}set level(e){this.$$set({level:e}),h()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),h()}}customElements.define("goa-service-level-header",ci);function Dr(i){let e,t;return{c(){e=p("div"),u(e,"class",t="skeleton "+i[2]+` ${i[2]}-${i[1]}`)},m(r,o){_(r,e,o)},p(r,o){o&6&&t!==(t="skeleton "+r[2]+` ${r[2]}-${r[1]}`)&&u(e,"class",t)},i:y,o:y,d(r){r&&z(e)}}}function Or(i){let e,t,r,o,n,a,l,s,c,f;return r=new Y({props:{type:"avatar",size:i[1]}}),a=new Y({props:{type:"title",size:i[1]}}),s=new Y({props:{type:"text-small",size:i[1]}}),{c(){e=p("div"),t=p("div"),ie(r.$$.fragment),o=L(),n=p("div"),ie(a.$$.fragment),l=L(),ie(s.$$.fragment),u(t,"class","profile-avatar"),u(n,"class","profile-name"),u(e,"class",c="profile profile-"+i[1])},m(d,g){_(d,e,g),v(e,t),Q(r,t,null),v(e,o),v(e,n),Q(a,n,null),v(n,l),Q(s,n,null),f=!0},p(d,g){const b={};g&2&&(b.size=d[1]),r.$set(b);const m={};g&2&&(m.size=d[1]),a.$set(m);const w={};g&2&&(w.size=d[1]),s.$set(w),(!f||g&2&&c!==(c="profile profile-"+d[1]))&&u(e,"class",c)},i(d){f||(N(r.$$.fragment,d),N(a.$$.fragment,d),N(s.$$.fragment,d),f=!0)},o(d){q(r.$$.fragment,d),q(a.$$.fragment,d),q(s.$$.fragment,d),f=!1},d(d){d&&z(e),$(r),$(a),$(s)}}}function Sr(i){let e,t,r,o,n,a,l,s,c,f,d,g,b;return t=new Y({props:{type:"image",size:i[1]}}),n=new Y({props:{type:"header",size:i[1]}}),l=new Y({props:{type:"text",size:i[1]}}),c=new Y({props:{type:"text",size:i[1]}}),d=new Y({props:{type:"text",size:i[1]}}),{c(){e=p("div"),ie(t.$$.fragment),r=L(),o=p("div"),ie(n.$$.fragment),a=L(),ie(l.$$.fragment),s=L(),ie(c.$$.fragment),f=L(),ie(d.$$.fragment),u(o,"class","card-content"),u(e,"class",g="card card-"+i[1]),S(e,"--width",i[0]+"px")},m(m,w){_(m,e,w),Q(t,e,null),v(e,r),v(e,o),Q(n,o,null),v(o,a),Q(l,o,null),v(o,s),Q(c,o,null),v(o,f),Q(d,o,null),b=!0},p(m,w){const x={};w&2&&(x.size=m[1]),t.$set(x);const E={};w&2&&(E.size=m[1]),n.$set(E);const C={};w&2&&(C.size=m[1]),l.$set(C);const M={};w&2&&(M.size=m[1]),c.$set(M);const O={};w&2&&(O.size=m[1]),d.$set(O),(!b||w&2&&g!==(g="card card-"+m[1]))&&u(e,"class",g),(!b||w&1)&&S(e,"--width",m[0]+"px")},i(m){b||(N(t.$$.fragment,m),N(n.$$.fragment,m),N(l.$$.fragment,m),N(c.$$.fragment,m),N(d.$$.fragment,m),b=!0)},o(m){q(t.$$.fragment,m),q(n.$$.fragment,m),q(l.$$.fragment,m),q(c.$$.fragment,m),q(d.$$.fragment,m),b=!1},d(m){m&&z(e),$(t),$(n),$(l),$(c),$(d)}}}function Br(i){let e,t,r,o;const n=[Sr,Or,Dr],a=[];function l(s,c){return s[2]==="card"?0:s[2]==="profile"?1:2}return e=l(i),t=a[e]=n[e](i),{c(){t.c(),r=ae(),this.c=y},m(s,c){a[e].m(s,c),_(s,r,c),o=!0},p(s,[c]){let f=e;e=l(s),e===f?a[e].p(s,c):(_e(),q(a[f],1,1,()=>{a[f]=null}),we(),t=a[e],t?t.p(s,c):(t=a[e]=n[e](s),t.c()),N(t,1),t.m(r.parentNode,r))},i(s){o||(N(t),o=!0)},o(s){q(t),o=!1},d(s){a[e].d(s),s&&z(r)}}}function Pr(i,e,t){let{width:r=320}=e,{size:o=1}=e,{type:n}=e;return i.$$set=a=>{"width"in a&&t(0,r=a.width),"size"in a&&t(1,o=a.size),"type"in a&&t(2,n=a.type)},[r,o,n]}class Y extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--color-gray-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--color-gray-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-4,.text-4{width:100%;height:.75rem;border-radius:0.25rem}.title,.title-1,.title-2{width:100%;height:.75rem;border-radius:0.25rem}.title-3{height:.8rem}.title-4{height:1rem}.text-small,.text-small-1{width:30%;height:6px;border-radius:2px}.text-small-2{width:40%;height:8px;border-radius:2px}.text-small-3{width:50%;height:10px;border-radius:3px}.text-small-4{width:70%;height:12px;border-radius:4px}.paragraph{width:100%;height:70px;border-radius:4px}.header,.header-1{width:50%;height:18px;margin-bottom:12px;border-radius:0.25rem}.header-2{width:60%;height:20px;margin-bottom:14px;border-radius:0.25rem}.header-3{width:70%;height:22px;margin-bottom:16px;border-radius:0.25rem}.header-4{width:80%;height:24px;margin-bottom:18px;border-radius:0.3rem}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--color-gray-100);border-radius:4px}.card{width:100%}@media(min-width: 320px){.card{width:var(--width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Pr,Br,H,{width:0,size:1,type:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["width","size","type"]}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get type(){return this.$$.ctx[2]}set type(e){this.$$set({type:e}),h()}}customElements.define("goa-skeleton",Y);function di(i){return Object.prototype.toString.call(i)==="[object Date]"}function qe(i,e){if(i===e||i!==i)return()=>i;const t=typeof i;if(t!==typeof e||Array.isArray(i)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(i)){const r=e.map((o,n)=>qe(i[n],o));return o=>r.map(n=>n(o))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(di(i)&&di(e)){i=i.getTime(),e=e.getTime();const n=e-i;return a=>new Date(i+a*n)}const r=Object.keys(e),o={};return r.forEach(n=>{o[n]=qe(i[n],e[n])}),n=>{const a={};return r.forEach(l=>{a[l]=o[l](n)}),a}}if(t==="number"){const r=e-i;return o=>i+o*r}throw new Error(`Cannot interpolate ${t} values`)}function Nr(i,e={}){const t=Fe(i);let r,o=i;function n(a,l){if(i==null)return t.set(i=a),Promise.resolve();o=a;let s=r,c=!1,{delay:f=0,duration:d=400,easing:g=he,interpolate:b=qe}=Je(Je({},e),l);if(d===0)return s&&(s.abort(),s=null),t.set(i=o),Promise.resolve();const m=ze()+f;let w;return r=Ee(x=>{if(x<m)return!0;c||(w=b(i,a),typeof d=="function"&&(d=d(i,a)),c=!0),s&&(s.abort(),s=null);const E=x-m;return E>d?(t.set(i=a),!1):(t.set(i=w(g(E/d))),!0)}),r.promise}return{set:n,update:(a,l)=>n(a(o,i),l),subscribe:t.subscribe}}function ui(i){let e,t,r,o,n,a,l,s,c;return{c(){e=ne("svg"),t=ne("circle"),n=ne("path"),u(t,"cx",i[2]),u(t,"cy",i[2]),u(t,"stroke",r=i[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),u(t,"stroke-width",i[3]),u(t,"r",o=i[2]-i[3]/2),u(n,"d",a=i[8](i[6])),u(n,"stroke-width",i[3]),u(n,"stroke",l=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),u(n,"stroke-linecap","round"),u(e,"class",s=`spinner-${i[1]}`),u(e,"fill","none"),u(e,"viewBox",c="0 0 "+i[4]+" "+i[4]),u(e,"width",i[4]),u(e,"height",i[4]),u(e,"xmlns","http://www.w3.org/2000/svg")},m(f,d){_(f,e,d),v(e,t),v(e,n)},p(f,d){d&4&&u(t,"cx",f[2]),d&4&&u(t,"cy",f[2]),d&1&&r!==(r=f[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&u(t,"stroke",r),d&8&&u(t,"stroke-width",f[3]),d&12&&o!==(o=f[2]-f[3]/2)&&u(t,"r",o),d&64&&a!==(a=f[8](f[6]))&&u(n,"d",a),d&8&&u(n,"stroke-width",f[3]),d&1&&l!==(l=f[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&u(n,"stroke",l),d&2&&s!==(s=`spinner-${f[1]}`)&&u(e,"class",s),d&16&&c!==(c="0 0 "+f[4]+" "+f[4])&&u(e,"viewBox",c),d&16&&u(e,"width",f[4]),d&16&&u(e,"height",f[4])},d(f){f&&z(e)}}}function Fr(i){let e,t=i[5]&&ui(i);return{c(){t&&t.c(),e=ae(),this.c=y},m(r,o){t&&t.m(r,o),_(r,e,o)},p(r,[o]){r[5]?t?t.p(r,o):(t=ui(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:y,o:y,d(r){t&&t.d(r),r&&z(e)}}}function qr(i,e,t){let r,o,n,a,l,s,{size:c}=e,{invert:f=!1}=e,{type:d="infinite"}=e,{progress:g="0"}=e;const b=Nr(0,{duration:500,easing:br});bi(i,b,x=>t(6,s=x));function m(x){const E=n+a*Math.cos(x),C=n+a*Math.sin(x);return E+" "+C}function w(x){switch(d){case"progress":{const E=m(-Math.PI/2),C=m(-Math.PI/2+2*Math.PI*(x/100)),M=x%100<50?0:1;return`M ${E} A ${a} ${a} 0 ${M} 1 ${C}`}case"infinite":{const E=m(Math.PI*1.5),C=m(0);return`M ${E} A ${a} ${a} 0 1 0 ${C}`}}}return i.$$set=x=>{"size"in x&&t(9,c=x.size),"invert"in x&&t(0,f=x.invert),"type"in x&&t(1,d=x.type),"progress"in x&&t(10,g=x.progress)},i.$$.update=()=>{i.$$.dirty&1024&&b.set(parseFloat(g)),i.$$.dirty&512&&t(4,r={small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&512&&t(3,o={small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&16&&t(2,n=r/2),i.$$.dirty&12&&t(11,a=n-o/2),i.$$.dirty&3074&&t(5,l=d==="infinite"?a:a&&g)},[f,d,n,o,r,l,s,b,w,c,g,a]}class fi extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},qr,Fr,H,{size:9,invert:0,type:1,progress:10},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["size","invert","type","progress"]}get size(){return this.$$.ctx[9]}set size(e){this.$$set({size:e}),h()}get invert(){return this.$$.ctx[0]}set invert(e){this.$$set({invert:e}),h()}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),h()}get progress(){return this.$$.ctx[10]}set progress(e){this.$$set({progress:e}),h()}}customElements.define("goa-spinner",fi);function Wr(i){let e,t,r,o,n;return{c(){e=p("textarea"),this.c=y,u(e,"name",i[0]),u(e,"class","goa-textarea"),u(e,"placeholder",i[2]),e.value=t=i[1]||"",u(e,"rows",r=i[3]||3),e.disabled=i[4]},m(a,l){_(a,e,l),o||(n=X(e,"keyup",i[5]),o=!0)},p(a,[l]){l&1&&u(e,"name",a[0]),l&4&&u(e,"placeholder",a[2]),l&2&&t!==(t=a[1]||"")&&(e.value=t),l&8&&r!==(r=a[3]||3)&&u(e,"rows",r),l&16&&(e.disabled=a[4])},i:y,o:y,d(a){a&&z(e),o=!1,n()}}}function Vr(i,e,t){let r,{name:o}=e,{value:n}=e,{placeholder:a}=e,{rows:l}=e,{disabled:s}=e;function c(f){const g=f.target.value;f.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:f,data:{name:o,value:g}}})),f.stopPropagation()}return i.$$set=f=>{"name"in f&&t(0,o=f.name),"value"in f&&t(1,n=f.value),"placeholder"in f&&t(2,a=f.placeholder),"rows"in f&&t(3,l=f.rows),"disabled"in f&&t(6,s=f.disabled)},i.$$.update=()=>{i.$$.dirty&64&&t(4,r=D(s))},[o,n,a,l,r,c,s]}class gi extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-textarea{display:block;width:100%;box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:3px;background:var(--color-white);color:var(--color-black, #ccc);padding:var(--input-padding, 0.5rem);font-size:var(--input-font-size);font-family:var(--font-family)}.goa-textarea:hover{border-color:var(--goa-color-interactive--hover)}.goa-textarea:active,.goa-textarea:focus,.goa-textarea:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--highlight)}.goa-textarea:disabled{border-color:var(--color-gray-200)}.goa-textarea:disabled:hover{border-color:var(--color-gray-200)}.goa-textarea:disabled:focus,.goa-textarea:disabled:active{box-shadow:none}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Vr,Wr,H,{name:0,value:1,placeholder:2,rows:3,disabled:6},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","placeholder","rows","disabled"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),h()}get placeholder(){return this.$$.ctx[2]}set placeholder(e){this.$$set({placeholder:e}),h()}get rows(){return this.$$.ctx[3]}set rows(e){this.$$set({rows:e}),h()}get disabled(){return this.$$.ctx[6]}set disabled(e){this.$$set({disabled:e}),h()}}customElements.define("goa-textarea",gi),R.GoAAppHeader=lt,R.GoABadge=dt,R.GoAButton=ut,R.GoAButtonGroup=ft,R.GoACallout=gt,R.GoACard=ht,R.GoACardActions=mt,R.GoACardContent=bt,R.GoACardGroup=vt,R.GoACardImage=pt,R.GoACheckbox=_t,R.GoAContainer=wt,R.GoADropdown=At,R.GoADropdownItem=Lt,R.GoAFlexRow=Rt,R.GoAFormItem=jt,R.GoAHeroBanner=Gt,R.GoAIcon=Ot,R.GoAIconButton=St,R.GoAInput=Ft,R.GoAModal=Ut,R.GoANotification=Zt,R.GoAPageBlock=at,R.GoAPageLayout=Qt,R.GoAPageLoader=ii,R.GoARadioGroup=ri,R.GoARadioItem=oi,R.GoAScrollable=ni,R.GoAServiceLevelHeader=ci,R.GoASkeleton=Y,R.GoASpinner=fi,R.GoATextArea=gi,Object.defineProperty(R,"__esModule",{value:!0}),R[Symbol.toStringTag]="Module"});
|
|
19
|
+
`)&&u(e,"style",r)},i:y,o:y,d(o){o&&z(e)}}}function Ir(i,e,t){let{direction:r="vertical"}=e,{hpadding:o=0}=e,{vpadding:n=0}=e,{height:a=0}=e;return i.$$set=l=>{"direction"in l&&t(0,r=l.direction),"hpadding"in l&&t(1,o=l.hpadding),"vpadding"in l&&t(2,n=l.vpadding),"height"in l&&t(3,a=l.height)},[r,o,n,a]}class ai extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>.goa-scrollable{scroll-behavior:smooth;max-height:calc(100vh * var(--max-height, 100) / 100)}.goa-scrollable::-webkit-scrollbar{width:6px}.goa-scrollable::-webkit-scrollbar-track{background:#f1f1f1}.goa-scrollable::-webkit-scrollbar-thumb{background:#888}.goa-scrollable::-webkit-scrollbar-thumb:hover{background:#555}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ir,Hr,H,{direction:0,hpadding:1,vpadding:2,height:3},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["direction","hpadding","vpadding","height"]}get direction(){return this.$$.ctx[0]}set direction(e){this.$$set({direction:e}),h()}get hpadding(){return this.$$.ctx[1]}set hpadding(e){this.$$set({hpadding:e}),h()}get vpadding(){return this.$$.ctx[2]}set vpadding(e){this.$$set({vpadding:e}),h()}get height(){return this.$$.ctx[3]}set height(e){this.$$set({height:e}),h()}}customElements.define("goa-scrollable",ai);function ni(i){let e;return{c(){e=p("div"),e.innerHTML='An official site of the <a href="https://www.alberta.ca/index.aspx" class="web-link">Alberta Government</a>',u(e,"class","site-text service-level--live")},m(t,r){_(t,e,r)},d(t){t&&z(e)}}}function li(i){let e,t,r,o,n;return{c(){e=p("div"),t=W(i[0]),o=L(),n=p("div"),n.innerHTML='This is a new <a href="https://www.alberta.ca/index.aspx" class="web-link">Alberta Government</a>service',u(e,"class",r="service-level service-level--"+i[0]?.toLowerCase()),u(n,"class","site-text")},m(a,l){_(a,e,l),v(e,t),_(a,o,l),_(a,n,l)},p(a,l){l&1&&V(t,a[0]),l&1&&r!==(r="service-level service-level--"+a[0]?.toLowerCase())&&u(e,"class",r)},d(a){a&&z(e),a&&z(o),a&&z(n)}}}function si(i){let e,t;return{c(){e=p("div"),t=W(i[1]),u(e,"class","version")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&2&&V(t,r[1])},d(r){r&&z(e)}}}function jr(i){let e,t,r,o,n,a=i[0]==="live"&&ni(),l=i[0]!=="live"&&li(i),s=i[1]&&si(i);return{c(){e=p("header"),a&&a.c(),t=L(),l&&l.c(),r=L(),o=p("div"),n=L(),s&&s.c(),this.c=y,u(o,"class","spacer"),u(e,"class","goa-official-site-header")},m(c,d){_(c,e,d),a&&a.m(e,null),v(e,t),l&&l.m(e,null),v(e,r),v(e,o),v(e,n),s&&s.m(e,null)},p(c,[d]){c[0]==="live"?a||(a=ni(),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[0]!=="live"?l?l.p(c,d):(l=li(c),l.c(),l.m(e,r)):l&&(l.d(1),l=null),c[1]?s?s.p(c,d):(s=si(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:y,o:y,d(c){c&&z(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function Gr(i,e,t){let{level:r}=e,{version:o}=e;return i.$$set=n=>{"level"in n&&t(0,r=n.level),"version"in n&&t(1,o=n.version)},[r,o]}class ci extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-official-site-header{display:flex;font-size:var(--fs-xs);background-color:var(--color-gray-100);align-items:center;justify-content:space-between}.spacer{flex:1 1 auto}.version{padding-right:1rem;opacity:0.5}.service-level{font-weight:bold;padding:0 0.5rem}.service-level--alpha{background-color:var(--color-orange);color:var(--color-black)}.service-level--beta{background-color:var(--goa-color-primary-dark);color:var(--color-white)}.site-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--color-black);padding-left:0.5rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Gr,jr,H,{level:0,version:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["level","version"]}get level(){return this.$$.ctx[0]}set level(e){this.$$set({level:e}),h()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),h()}}customElements.define("goa-service-level-header",ci);function Dr(i){let e,t;return{c(){e=p("div"),u(e,"class",t="skeleton "+i[2]+` ${i[2]}-${i[1]}`)},m(r,o){_(r,e,o)},p(r,o){o&6&&t!==(t="skeleton "+r[2]+` ${r[2]}-${r[1]}`)&&u(e,"class",t)},i:y,o:y,d(r){r&&z(e)}}}function Or(i){let e,t,r,o,n,a,l,s,c,d;return r=new Y({props:{type:"avatar",size:i[1]}}),a=new Y({props:{type:"title",size:i[1]}}),s=new Y({props:{type:"text-small",size:i[1]}}),{c(){e=p("div"),t=p("div"),ie(r.$$.fragment),o=L(),n=p("div"),ie(a.$$.fragment),l=L(),ie(s.$$.fragment),u(t,"class","profile-avatar"),u(n,"class","profile-name"),u(e,"class",c="profile profile-"+i[1])},m(f,g){_(f,e,g),v(e,t),Q(r,t,null),v(e,o),v(e,n),Q(a,n,null),v(n,l),Q(s,n,null),d=!0},p(f,g){const b={};g&2&&(b.size=f[1]),r.$set(b);const m={};g&2&&(m.size=f[1]),a.$set(m);const w={};g&2&&(w.size=f[1]),s.$set(w),(!d||g&2&&c!==(c="profile profile-"+f[1]))&&u(e,"class",c)},i(f){d||(N(r.$$.fragment,f),N(a.$$.fragment,f),N(s.$$.fragment,f),d=!0)},o(f){q(r.$$.fragment,f),q(a.$$.fragment,f),q(s.$$.fragment,f),d=!1},d(f){f&&z(e),$(r),$(a),$(s)}}}function Sr(i){let e,t,r,o,n,a,l,s,c,d,f,g,b;return t=new Y({props:{type:"image",size:i[1]}}),n=new Y({props:{type:"header",size:i[1]}}),l=new Y({props:{type:"text",size:i[1]}}),c=new Y({props:{type:"text",size:i[1]}}),f=new Y({props:{type:"text",size:i[1]}}),{c(){e=p("div"),ie(t.$$.fragment),r=L(),o=p("div"),ie(n.$$.fragment),a=L(),ie(l.$$.fragment),s=L(),ie(c.$$.fragment),d=L(),ie(f.$$.fragment),u(o,"class","card-content"),u(e,"class",g="card card-"+i[1]),S(e,"--width",i[0]+"px")},m(m,w){_(m,e,w),Q(t,e,null),v(e,r),v(e,o),Q(n,o,null),v(o,a),Q(l,o,null),v(o,s),Q(c,o,null),v(o,d),Q(f,o,null),b=!0},p(m,w){const x={};w&2&&(x.size=m[1]),t.$set(x);const E={};w&2&&(E.size=m[1]),n.$set(E);const C={};w&2&&(C.size=m[1]),l.$set(C);const M={};w&2&&(M.size=m[1]),c.$set(M);const O={};w&2&&(O.size=m[1]),f.$set(O),(!b||w&2&&g!==(g="card card-"+m[1]))&&u(e,"class",g),(!b||w&1)&&S(e,"--width",m[0]+"px")},i(m){b||(N(t.$$.fragment,m),N(n.$$.fragment,m),N(l.$$.fragment,m),N(c.$$.fragment,m),N(f.$$.fragment,m),b=!0)},o(m){q(t.$$.fragment,m),q(n.$$.fragment,m),q(l.$$.fragment,m),q(c.$$.fragment,m),q(f.$$.fragment,m),b=!1},d(m){m&&z(e),$(t),$(n),$(l),$(c),$(f)}}}function Br(i){let e,t,r,o;const n=[Sr,Or,Dr],a=[];function l(s,c){return s[2]==="card"?0:s[2]==="profile"?1:2}return e=l(i),t=a[e]=n[e](i),{c(){t.c(),r=ne(),this.c=y},m(s,c){a[e].m(s,c),_(s,r,c),o=!0},p(s,[c]){let d=e;e=l(s),e===d?a[e].p(s,c):(_e(),q(a[d],1,1,()=>{a[d]=null}),we(),t=a[e],t?t.p(s,c):(t=a[e]=n[e](s),t.c()),N(t,1),t.m(r.parentNode,r))},i(s){o||(N(t),o=!0)},o(s){q(t),o=!1},d(s){a[e].d(s),s&&z(r)}}}function Pr(i,e,t){let{width:r=320}=e,{size:o=1}=e,{type:n}=e;return i.$$set=a=>{"width"in a&&t(0,r=a.width),"size"in a&&t(1,o=a.size),"type"in a&&t(2,n=a.type)},[r,o,n]}class Y extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--color-gray-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--color-gray-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-4,.text-4{width:100%;height:.75rem;border-radius:0.25rem}.title,.title-1,.title-2{width:100%;height:.75rem;border-radius:0.25rem}.title-3{height:.8rem}.title-4{height:1rem}.text-small,.text-small-1{width:30%;height:6px;border-radius:2px}.text-small-2{width:40%;height:8px;border-radius:2px}.text-small-3{width:50%;height:10px;border-radius:3px}.text-small-4{width:70%;height:12px;border-radius:4px}.paragraph{width:100%;height:70px;border-radius:4px}.header,.header-1{width:50%;height:18px;margin-bottom:12px;border-radius:0.25rem}.header-2{width:60%;height:20px;margin-bottom:14px;border-radius:0.25rem}.header-3{width:70%;height:22px;margin-bottom:16px;border-radius:0.25rem}.header-4{width:80%;height:24px;margin-bottom:18px;border-radius:0.3rem}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--color-gray-100);border-radius:4px}.card{width:100%}@media(min-width: 320px){.card{width:var(--width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Pr,Br,H,{width:0,size:1,type:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["width","size","type"]}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get type(){return this.$$.ctx[2]}set type(e){this.$$set({type:e}),h()}}customElements.define("goa-skeleton",Y);function di(i){return Object.prototype.toString.call(i)==="[object Date]"}function qe(i,e){if(i===e||i!==i)return()=>i;const t=typeof i;if(t!==typeof e||Array.isArray(i)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(i)){const r=e.map((o,n)=>qe(i[n],o));return o=>r.map(n=>n(o))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(di(i)&&di(e)){i=i.getTime(),e=e.getTime();const n=e-i;return a=>new Date(i+a*n)}const r=Object.keys(e),o={};return r.forEach(n=>{o[n]=qe(i[n],e[n])}),n=>{const a={};return r.forEach(l=>{a[l]=o[l](n)}),a}}if(t==="number"){const r=e-i;return o=>i+o*r}throw new Error(`Cannot interpolate ${t} values`)}function Nr(i,e={}){const t=Fe(i);let r,o=i;function n(a,l){if(i==null)return t.set(i=a),Promise.resolve();o=a;let s=r,c=!1,{delay:d=0,duration:f=400,easing:g=he,interpolate:b=qe}=Je(Je({},e),l);if(f===0)return s&&(s.abort(),s=null),t.set(i=o),Promise.resolve();const m=ze()+d;let w;return r=Ee(x=>{if(x<m)return!0;c||(w=b(i,a),typeof f=="function"&&(f=f(i,a)),c=!0),s&&(s.abort(),s=null);const E=x-m;return E>f?(t.set(i=a),!1):(t.set(i=w(g(E/f))),!0)}),r.promise}return{set:n,update:(a,l)=>n(a(o,i),l),subscribe:t.subscribe}}function ui(i){let e,t,r,o,n,a,l,s,c;return{c(){e=ae("svg"),t=ae("circle"),n=ae("path"),u(t,"cx",i[2]),u(t,"cy",i[2]),u(t,"stroke",r=i[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),u(t,"stroke-width",i[3]),u(t,"r",o=i[2]-i[3]/2),u(n,"d",a=i[8](i[6])),u(n,"stroke-width",i[3]),u(n,"stroke",l=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),u(n,"stroke-linecap","round"),u(e,"class",s=`spinner-${i[1]}`),u(e,"fill","none"),u(e,"viewBox",c="0 0 "+i[4]+" "+i[4]),u(e,"width",i[4]),u(e,"height",i[4]),u(e,"xmlns","http://www.w3.org/2000/svg")},m(d,f){_(d,e,f),v(e,t),v(e,n)},p(d,f){f&4&&u(t,"cx",d[2]),f&4&&u(t,"cy",d[2]),f&1&&r!==(r=d[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&u(t,"stroke",r),f&8&&u(t,"stroke-width",d[3]),f&12&&o!==(o=d[2]-d[3]/2)&&u(t,"r",o),f&64&&a!==(a=d[8](d[6]))&&u(n,"d",a),f&8&&u(n,"stroke-width",d[3]),f&1&&l!==(l=d[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&u(n,"stroke",l),f&2&&s!==(s=`spinner-${d[1]}`)&&u(e,"class",s),f&16&&c!==(c="0 0 "+d[4]+" "+d[4])&&u(e,"viewBox",c),f&16&&u(e,"width",d[4]),f&16&&u(e,"height",d[4])},d(d){d&&z(e)}}}function Fr(i){let e,t=i[5]&&ui(i);return{c(){t&&t.c(),e=ne(),this.c=y},m(r,o){t&&t.m(r,o),_(r,e,o)},p(r,[o]){r[5]?t?t.p(r,o):(t=ui(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:y,o:y,d(r){t&&t.d(r),r&&z(e)}}}function qr(i,e,t){let r,o,n,a,l,s,{size:c}=e,{invert:d=!1}=e,{type:f="infinite"}=e,{progress:g="0"}=e;const b=Nr(0,{duration:500,easing:br});bi(i,b,x=>t(6,s=x));function m(x){const E=n+a*Math.cos(x),C=n+a*Math.sin(x);return E+" "+C}function w(x){switch(f){case"progress":{const E=m(-Math.PI/2),C=m(-Math.PI/2+2*Math.PI*(x/100)),M=x%100<50?0:1;return`M ${E} A ${a} ${a} 0 ${M} 1 ${C}`}case"infinite":{const E=m(Math.PI*1.5),C=m(0);return`M ${E} A ${a} ${a} 0 1 0 ${C}`}}}return i.$$set=x=>{"size"in x&&t(9,c=x.size),"invert"in x&&t(0,d=x.invert),"type"in x&&t(1,f=x.type),"progress"in x&&t(10,g=x.progress)},i.$$.update=()=>{i.$$.dirty&1024&&b.set(parseFloat(g)),i.$$.dirty&512&&t(4,r={small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&512&&t(3,o={small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&16&&t(2,n=r/2),i.$$.dirty&12&&t(11,a=n-o/2),i.$$.dirty&3074&&t(5,l=f==="infinite"?a:a&&g)},[d,f,n,o,r,l,s,b,w,c,g,a]}class fi extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},qr,Fr,H,{size:9,invert:0,type:1,progress:10},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["size","invert","type","progress"]}get size(){return this.$$.ctx[9]}set size(e){this.$$set({size:e}),h()}get invert(){return this.$$.ctx[0]}set invert(e){this.$$set({invert:e}),h()}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),h()}get progress(){return this.$$.ctx[10]}set progress(e){this.$$set({progress:e}),h()}}customElements.define("goa-spinner",fi);function Wr(i){let e,t,r,o,n;return{c(){e=p("textarea"),this.c=y,u(e,"name",i[0]),u(e,"class","goa-textarea"),u(e,"placeholder",i[2]),e.value=t=i[1]||"",u(e,"rows",r=i[3]||3),e.disabled=i[4]},m(a,l){_(a,e,l),o||(n=X(e,"keyup",i[5]),o=!0)},p(a,[l]){l&1&&u(e,"name",a[0]),l&4&&u(e,"placeholder",a[2]),l&2&&t!==(t=a[1]||"")&&(e.value=t),l&8&&r!==(r=a[3]||3)&&u(e,"rows",r),l&16&&(e.disabled=a[4])},i:y,o:y,d(a){a&&z(e),o=!1,n()}}}function Vr(i,e,t){let r,{name:o}=e,{value:n}=e,{placeholder:a}=e,{rows:l}=e,{disabled:s}=e;function c(d){const g=d.target.value;d.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:d,data:{name:o,value:g}}})),d.stopPropagation()}return i.$$set=d=>{"name"in d&&t(0,o=d.name),"value"in d&&t(1,n=d.value),"placeholder"in d&&t(2,a=d.placeholder),"rows"in d&&t(3,l=d.rows),"disabled"in d&&t(6,s=d.disabled)},i.$$.update=()=>{i.$$.dirty&64&&t(4,r=D(s))},[o,n,a,l,r,c,s]}class gi extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-textarea{display:block;width:100%;box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:3px;background:var(--color-white);color:var(--color-black, #ccc);padding:var(--input-padding, 0.5rem);font-size:var(--input-font-size);font-family:var(--font-family)}.goa-textarea:hover{border-color:var(--goa-color-interactive--hover)}.goa-textarea:active,.goa-textarea:focus,.goa-textarea:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--highlight)}.goa-textarea:disabled{border-color:var(--color-gray-200)}.goa-textarea:disabled:hover{border-color:var(--color-gray-200)}.goa-textarea:disabled:focus,.goa-textarea:disabled:active{box-shadow:none}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Vr,Wr,H,{name:0,value:1,placeholder:2,rows:3,disabled:6},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","placeholder","rows","disabled"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),h()}get placeholder(){return this.$$.ctx[2]}set placeholder(e){this.$$set({placeholder:e}),h()}get rows(){return this.$$.ctx[3]}set rows(e){this.$$set({rows:e}),h()}get disabled(){return this.$$.ctx[6]}set disabled(e){this.$$set({disabled:e}),h()}}customElements.define("goa-textarea",gi),R.GoAAppHeader=lt,R.GoABadge=dt,R.GoAButton=ut,R.GoAButtonGroup=ft,R.GoACallout=gt,R.GoACard=ht,R.GoACardActions=mt,R.GoACardContent=bt,R.GoACardGroup=vt,R.GoACardImage=pt,R.GoACheckbox=_t,R.GoAContainer=wt,R.GoADropdown=At,R.GoADropdownItem=Lt,R.GoAFlexRow=Rt,R.GoAFormItem=jt,R.GoAHeroBanner=Gt,R.GoAIcon=Ot,R.GoAIconButton=St,R.GoAInput=Ft,R.GoAModal=Ut,R.GoANotification=Zt,R.GoAPageBlock=nt,R.GoAPageLayout=Qt,R.GoAPageLoader=ii,R.GoARadioGroup=ri,R.GoARadioItem=oi,R.GoAScrollable=ai,R.GoAServiceLevelHeader=ci,R.GoASkeleton=Y,R.GoASpinner=fi,R.GoATextArea=gi,Object.defineProperty(R,"__esModule",{value:!0}),R[Symbol.toStringTag]="Module"});
|