@abgov/web-components 1.0.0-alpha.44 → 1.0.0-alpha.45
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 +167 -121
- package/web-components.umd.js +10 -10
package/package.json
CHANGED
package/web-components.es.js
CHANGED
|
@@ -2628,20 +2628,15 @@ function writable(value, start = noop) {
|
|
|
2628
2628
|
const stores = {};
|
|
2629
2629
|
class ContextStore {
|
|
2630
2630
|
constructor() {
|
|
2631
|
-
this.store = writable(
|
|
2631
|
+
this.store = writable();
|
|
2632
2632
|
}
|
|
2633
|
-
subscribe(
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
cb(state);
|
|
2637
|
-
}
|
|
2633
|
+
subscribe(cb) {
|
|
2634
|
+
this.store.subscribe((state) => {
|
|
2635
|
+
cb(state);
|
|
2638
2636
|
});
|
|
2639
2637
|
}
|
|
2640
|
-
notify(
|
|
2641
|
-
this.store.update(() =>
|
|
2642
|
-
type: event,
|
|
2643
|
-
...data
|
|
2644
|
-
}));
|
|
2638
|
+
notify(msg) {
|
|
2639
|
+
this.store.update(() => msg);
|
|
2645
2640
|
}
|
|
2646
2641
|
}
|
|
2647
2642
|
function getContext(name) {
|
|
@@ -2658,6 +2653,11 @@ function deleteContext(name) {
|
|
|
2658
2653
|
delete stores[name];
|
|
2659
2654
|
}
|
|
2660
2655
|
|
|
2656
|
+
const INIT_RESPONSE = "init-response";
|
|
2657
|
+
const CHANGE = "change";
|
|
2658
|
+
const SELECT = "select";
|
|
2659
|
+
const FILTER = "filter";
|
|
2660
|
+
|
|
2661
2661
|
/* libs/web-components/src/components/dropdown/Dropdown.svelte generated by Svelte v3.44.3 */
|
|
2662
2662
|
|
|
2663
2663
|
function create_if_block_3$4(ctx) {
|
|
@@ -2982,8 +2982,6 @@ function instance$i($$self, $$props, $$invalidate) {
|
|
|
2982
2982
|
let filterEl;
|
|
2983
2983
|
let filter = "";
|
|
2984
2984
|
let ctx;
|
|
2985
|
-
let unsubChangeSelected;
|
|
2986
|
-
let unsubInit;
|
|
2987
2985
|
|
|
2988
2986
|
onMount(async () => {
|
|
2989
2987
|
await tick();
|
|
@@ -2995,55 +2993,55 @@ function instance$i($$self, $$props, $$invalidate) {
|
|
|
2995
2993
|
// > have to communicated back to the parent of the label values that correspond
|
|
2996
2994
|
// > to the preselected values.
|
|
2997
2995
|
// > A separate event is required to prevent circular updates.
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
2996
|
+
ctx.subscribe(data => {
|
|
2997
|
+
switch (data === null || data === void 0 ? void 0 : data.type) {
|
|
2998
|
+
case INIT_RESPONSE:
|
|
2999
|
+
{
|
|
3000
|
+
const { label } = data;
|
|
3001
|
+
|
|
3002
|
+
if (multiselect) {
|
|
3003
|
+
$$invalidate(7, selectedLabels = [...selectedLabels, label]);
|
|
3004
|
+
} else {
|
|
3005
|
+
$$invalidate(7, selectedLabels = [label]);
|
|
3006
|
+
}
|
|
3004
3007
|
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3008
|
+
break;
|
|
3009
|
+
}
|
|
3010
|
+
case SELECT:
|
|
3011
|
+
{
|
|
3012
|
+
const { label, value } = data;
|
|
3013
|
+
|
|
3014
|
+
if (data.selected) {
|
|
3015
|
+
if (multiselect) {
|
|
3016
|
+
$$invalidate(7, selectedLabels = [...selectedLabels, label]);
|
|
3017
|
+
selectedValues = [...selectedValues, value];
|
|
3018
|
+
} else {
|
|
3019
|
+
$$invalidate(7, selectedLabels = [label]);
|
|
3020
|
+
selectedValues = [value];
|
|
3021
|
+
}
|
|
3022
|
+
} else {
|
|
3023
|
+
$$invalidate(7, selectedLabels = selectedLabels.filter(l => l !== label));
|
|
3024
|
+
selectedValues = selectedValues.filter(v => v !== value);
|
|
3025
|
+
}
|
|
3026
|
+
|
|
3027
|
+
if (!multiselect) {
|
|
3028
|
+
$$invalidate(8, isMenuVisible = false);
|
|
3029
|
+
}
|
|
3030
|
+
|
|
3031
|
+
el.dispatchEvent(new CustomEvent("_change",
|
|
3032
|
+
{
|
|
3033
|
+
composed: true,
|
|
3034
|
+
detail: { name, value: selectedValues }, // TODO: send single value if multiselect is false
|
|
3035
|
+
|
|
3036
|
+
}));
|
|
3023
3037
|
|
|
3024
|
-
|
|
3025
|
-
|
|
3038
|
+
break;
|
|
3039
|
+
}
|
|
3026
3040
|
}
|
|
3027
|
-
|
|
3028
|
-
// This isn't required when the component is properly bound, but this
|
|
3029
|
-
// will make the component appear to work properly before the component
|
|
3030
|
-
// is properly bound.
|
|
3031
|
-
ctx.notify("propChange", {
|
|
3032
|
-
multiSelect: multiselect,
|
|
3033
|
-
values: selectedValues
|
|
3034
|
-
});
|
|
3035
|
-
|
|
3036
|
-
el.dispatchEvent(new CustomEvent("_change",
|
|
3037
|
-
{
|
|
3038
|
-
composed: true,
|
|
3039
|
-
detail: { name, value: selectedValues }, // TODO: send single value if multiselect is false
|
|
3040
|
-
|
|
3041
|
-
}));
|
|
3042
3041
|
});
|
|
3043
3042
|
});
|
|
3044
3043
|
|
|
3045
3044
|
onDestroy(() => {
|
|
3046
|
-
unsubChangeSelected();
|
|
3047
3045
|
deleteContext(name);
|
|
3048
3046
|
});
|
|
3049
3047
|
|
|
@@ -3051,13 +3049,13 @@ function instance$i($$self, $$props, $$invalidate) {
|
|
|
3051
3049
|
let filterOnChangeListener = e => {
|
|
3052
3050
|
e.stopPropagation();
|
|
3053
3051
|
$$invalidate(11, filter = e.detail.value);
|
|
3054
|
-
ctx.notify(
|
|
3052
|
+
ctx.notify({ type: FILTER, filter });
|
|
3055
3053
|
};
|
|
3056
3054
|
|
|
3057
3055
|
let filterOnTrailingIconClickListener = e => {
|
|
3058
3056
|
e.stopPropagation();
|
|
3059
3057
|
$$invalidate(11, filter = "");
|
|
3060
|
-
ctx.notify(
|
|
3058
|
+
ctx.notify({ type: FILTER, filter });
|
|
3061
3059
|
|
|
3062
3060
|
filterEl === null || filterEl === void 0
|
|
3063
3061
|
? void 0
|
|
@@ -3147,9 +3145,14 @@ function instance$i($$self, $$props, $$invalidate) {
|
|
|
3147
3145
|
|
|
3148
3146
|
selectedValues = vals;
|
|
3149
3147
|
|
|
3148
|
+
// notify children of value change
|
|
3150
3149
|
ctx === null || ctx === void 0
|
|
3151
3150
|
? void 0
|
|
3152
|
-
: ctx.notify(
|
|
3151
|
+
: ctx.notify({
|
|
3152
|
+
type: CHANGE,
|
|
3153
|
+
multiSelect: multiselect,
|
|
3154
|
+
values: vals
|
|
3155
|
+
});
|
|
3153
3156
|
}
|
|
3154
3157
|
}
|
|
3155
3158
|
}
|
|
@@ -3402,6 +3405,7 @@ function instance$h($$self, $$props, $$invalidate) {
|
|
|
3402
3405
|
let filteredLabel;
|
|
3403
3406
|
|
|
3404
3407
|
let ctx;
|
|
3408
|
+
let isInitialized = false;
|
|
3405
3409
|
|
|
3406
3410
|
function getFilteredLabel(filter) {
|
|
3407
3411
|
if (filter.length === 0) {
|
|
@@ -3428,63 +3432,82 @@ function instance$h($$self, $$props, $$invalidate) {
|
|
|
3428
3432
|
|
|
3429
3433
|
function onSelect() {
|
|
3430
3434
|
$$invalidate(3, isSelected = !isSelected);
|
|
3431
|
-
|
|
3435
|
+
|
|
3436
|
+
ctx.notify({
|
|
3437
|
+
type: SELECT,
|
|
3438
|
+
label,
|
|
3439
|
+
value,
|
|
3440
|
+
selected: isSelected
|
|
3441
|
+
});
|
|
3432
3442
|
}
|
|
3433
3443
|
|
|
3434
3444
|
// Hooks
|
|
3435
|
-
let unsub;
|
|
3436
|
-
|
|
3437
3445
|
onMount(() => {
|
|
3438
3446
|
ctx = getContext(name);
|
|
3439
3447
|
|
|
3440
|
-
ctx.subscribe(
|
|
3441
|
-
|
|
3442
|
-
});
|
|
3443
|
-
|
|
3444
|
-
unsub = ctx.subscribe("propChange", data => {
|
|
3445
|
-
const isSelected = data.values.includes(value);
|
|
3448
|
+
ctx.subscribe(data => {
|
|
3449
|
+
var _a;
|
|
3446
3450
|
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3451
|
+
switch (data === null || data === void 0 ? void 0 : data.type) {
|
|
3452
|
+
case CHANGE:
|
|
3453
|
+
{
|
|
3454
|
+
const _data = data;
|
|
3450
3455
|
|
|
3451
|
-
|
|
3452
|
-
});
|
|
3453
|
-
|
|
3454
|
-
ctx.subscribe("filterChange", data => {
|
|
3455
|
-
const filter = data.filter.toLowerCase();
|
|
3456
|
-
|
|
3457
|
-
if (!value && !label) {
|
|
3458
|
-
$$invalidate(7, hide = "false");
|
|
3459
|
-
} else {
|
|
3460
|
-
let matches;
|
|
3461
|
-
|
|
3462
|
-
switch (typeof value) {
|
|
3463
|
-
case "string":
|
|
3464
|
-
matches = (value === null || value === void 0
|
|
3465
|
-
? void 0
|
|
3466
|
-
: value.toLowerCase().includes(filter)) || (label === null || label === void 0
|
|
3456
|
+
$$invalidate(3, isSelected = (_a = _data.values) === null || _a === void 0
|
|
3467
3457
|
? void 0
|
|
3468
|
-
:
|
|
3458
|
+
: _a.includes(value));
|
|
3459
|
+
|
|
3460
|
+
// This condition is only run when the parent component passes
|
|
3461
|
+
// the values down on the **initial** value binding and if this
|
|
3462
|
+
// dropdown item contains the value that is set within the parent.
|
|
3463
|
+
if (!isInitialized && isSelected) {
|
|
3464
|
+
ctx.notify({
|
|
3465
|
+
type: INIT_RESPONSE,
|
|
3466
|
+
label,
|
|
3467
|
+
value,
|
|
3468
|
+
selected: true
|
|
3469
|
+
});
|
|
3470
|
+
}
|
|
3471
|
+
|
|
3472
|
+
// child has been initialized
|
|
3473
|
+
isInitialized = true;
|
|
3474
|
+
|
|
3469
3475
|
break;
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3476
|
+
}
|
|
3477
|
+
case FILTER:
|
|
3478
|
+
{
|
|
3479
|
+
const { filter } = data;
|
|
3480
|
+
|
|
3481
|
+
if (!value && !label) {
|
|
3482
|
+
$$invalidate(7, hide = "false");
|
|
3483
|
+
} else {
|
|
3484
|
+
let matches;
|
|
3485
|
+
|
|
3486
|
+
switch (typeof value) {
|
|
3487
|
+
case "string":
|
|
3488
|
+
matches = (value === null || value === void 0
|
|
3489
|
+
? void 0
|
|
3490
|
+
: value.toLowerCase().includes(filter)) || (label === null || label === void 0
|
|
3491
|
+
? void 0
|
|
3492
|
+
: label.toLowerCase().includes(filter));
|
|
3493
|
+
break;
|
|
3494
|
+
case "number":
|
|
3495
|
+
matches = value === filter || (label === null || label === void 0
|
|
3496
|
+
? void 0
|
|
3497
|
+
: label.toLowerCase().includes(filter));
|
|
3498
|
+
break;
|
|
3499
|
+
}
|
|
3500
|
+
|
|
3501
|
+
$$invalidate(7, hide = fromBoolean(!matches));
|
|
3502
|
+
}
|
|
3503
|
+
|
|
3504
|
+
$$invalidate(2, filteredLabel = getFilteredLabel(filter));
|
|
3474
3505
|
break;
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
$$invalidate(7, hide = fromBoolean(!matches));
|
|
3506
|
+
}
|
|
3478
3507
|
}
|
|
3479
|
-
|
|
3480
|
-
$$invalidate(2, filteredLabel = getFilteredLabel(filter));
|
|
3481
3508
|
});
|
|
3482
3509
|
});
|
|
3483
3510
|
|
|
3484
|
-
onDestroy(() => {
|
|
3485
|
-
unsub();
|
|
3486
|
-
});
|
|
3487
|
-
|
|
3488
3511
|
$$self.$$set = $$props => {
|
|
3489
3512
|
if ('name' in $$props) $$invalidate(8, name = $$props.name);
|
|
3490
3513
|
if ('value' in $$props) $$invalidate(9, value = $$props.value);
|
|
@@ -6534,6 +6557,9 @@ class CircularProgress extends SvelteElement {
|
|
|
6534
6557
|
|
|
6535
6558
|
customElements.define("goa-circular-progress", CircularProgress);
|
|
6536
6559
|
|
|
6560
|
+
const PROP_CHANGE = "prop-change";
|
|
6561
|
+
const OPTION_CHANGE = "option-change";
|
|
6562
|
+
|
|
6537
6563
|
/* libs/web-components/src/components/radio-group/RadioGroup.svelte generated by Svelte v3.44.3 */
|
|
6538
6564
|
|
|
6539
6565
|
function create_fragment$7(ctx) {
|
|
@@ -6590,21 +6616,29 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
|
6590
6616
|
onMount(() => {
|
|
6591
6617
|
$$invalidate(8, ctx = getContext(name));
|
|
6592
6618
|
|
|
6593
|
-
ctx.subscribe(
|
|
6594
|
-
|
|
6595
|
-
|
|
6596
|
-
|
|
6597
|
-
|
|
6598
|
-
|
|
6599
|
-
|
|
6600
|
-
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
|
|
6619
|
+
ctx.subscribe(state => {
|
|
6620
|
+
switch (state === null || state === void 0 ? void 0 : state.type) {
|
|
6621
|
+
case OPTION_CHANGE:
|
|
6622
|
+
{
|
|
6623
|
+
const _state = state;
|
|
6624
|
+
|
|
6625
|
+
// This isn't required when the component is properly bound, but this
|
|
6626
|
+
// will make the component appear to work properly before the component
|
|
6627
|
+
// is properly bound.
|
|
6628
|
+
ctx.notify({
|
|
6629
|
+
type: PROP_CHANGE,
|
|
6630
|
+
value: _state.value,
|
|
6631
|
+
disabled: _state.disabled,
|
|
6632
|
+
error: _state.error
|
|
6633
|
+
});
|
|
6634
|
+
|
|
6635
|
+
el.dispatchEvent(new CustomEvent('_change',
|
|
6636
|
+
{
|
|
6637
|
+
composed: true,
|
|
6638
|
+
detail: { name, value: state.value }
|
|
6639
|
+
}));
|
|
6640
|
+
}
|
|
6641
|
+
}
|
|
6608
6642
|
});
|
|
6609
6643
|
});
|
|
6610
6644
|
|
|
@@ -6642,7 +6676,8 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
|
6642
6676
|
{
|
|
6643
6677
|
ctx === null || ctx === void 0
|
|
6644
6678
|
? void 0
|
|
6645
|
-
: ctx.notify(
|
|
6679
|
+
: ctx.notify({
|
|
6680
|
+
type: PROP_CHANGE,
|
|
6646
6681
|
value,
|
|
6647
6682
|
disabled: isDisabled,
|
|
6648
6683
|
error: isError
|
|
@@ -6876,10 +6911,16 @@ function instance$6($$self, $$props, $$invalidate) {
|
|
|
6876
6911
|
onMount(() => {
|
|
6877
6912
|
ctx = getContext(name);
|
|
6878
6913
|
|
|
6879
|
-
ctx.subscribe(
|
|
6880
|
-
|
|
6881
|
-
|
|
6882
|
-
|
|
6914
|
+
ctx.subscribe(state => {
|
|
6915
|
+
switch (state === null || state === void 0 ? void 0 : state.type) {
|
|
6916
|
+
case PROP_CHANGE:
|
|
6917
|
+
{
|
|
6918
|
+
const _state = state;
|
|
6919
|
+
$$invalidate(4, checked = _state.value === value);
|
|
6920
|
+
$$invalidate(3, disabled = _state.disabled);
|
|
6921
|
+
$$invalidate(5, error = _state.error);
|
|
6922
|
+
}
|
|
6923
|
+
}
|
|
6883
6924
|
});
|
|
6884
6925
|
});
|
|
6885
6926
|
|
|
@@ -6888,7 +6929,12 @@ function instance$6($$self, $$props, $$invalidate) {
|
|
|
6888
6929
|
$$invalidate(4, checked = !checked);
|
|
6889
6930
|
|
|
6890
6931
|
if (checked) {
|
|
6891
|
-
ctx.notify(
|
|
6932
|
+
ctx.notify({
|
|
6933
|
+
type: OPTION_CHANGE,
|
|
6934
|
+
checked,
|
|
6935
|
+
disabled,
|
|
6936
|
+
value
|
|
6937
|
+
});
|
|
6892
6938
|
}
|
|
6893
6939
|
}
|
|
6894
6940
|
|
package/web-components.umd.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
(function(
|
|
2
|
-
`;for(let
|
|
1
|
+
(function(L,p){typeof exports=="object"&&typeof module!="undefined"?p(exports):typeof define=="function"&&define.amd?define(["exports"],p):(L=typeof globalThis!="undefined"?globalThis:L||self,p(L["web-components"]={}))})(this,function(L){"use strict";function p(){}const ge=i=>i;function We(i,e){for(const t in e)i[t]=e[t];return i}function He(i){return i()}function Ve(){return Object.create(null)}function Y(i){i.forEach(He)}function ie(i){return typeof i=="function"}function H(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let pe;function Ze(i,e){return pe||(pe=document.createElement("a")),pe.href=e,i===pe.href}function pi(i){return Object.keys(i).length===0}function wi(i,...e){if(i==null)return p;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function ki(i,e,t){i.$$.on_destroy.push(wi(e,t))}function Ue(i){return i&&ie(i.destroy)?i.destroy:p}const Xe=typeof window!="undefined";let we=Xe?()=>window.performance.now():()=>Date.now(),Ie=Xe?i=>requestAnimationFrame(i):p;const ne=new Set;function Je(i){ne.forEach(e=>{e.c(i)||(ne.delete(e),e.f())}),ne.size!==0&&Ie(Je)}function ke(i){let e;return ne.size===0&&Ie(Je),{promise:new Promise(t=>{ne.add(e={c:i,f:t})}),abort(){ne.delete(e)}}}function y(i,e){i.appendChild(e)}function Ke(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function xi(i){const e=_("style");return zi(Ke(i),e),e}function zi(i,e){y(i.head||i,e)}function w(i,e,t){i.insertBefore(e,t||null)}function x(i){i.parentNode.removeChild(i)}function _(i){return document.createElement(i)}function re(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function W(i){return document.createTextNode(i)}function M(){return W(" ")}function ae(){return W("")}function U(i,e,t,r){return i.addEventListener(e,t,r),()=>i.removeEventListener(e,t,r)}function d(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:d(i,e,t)}function Ei(i){return Array.from(i.childNodes)}function Z(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function D(i,e,t,r){i.style.setProperty(e,t,r?"important":"")}function P(i,e,t){i.classList[t?"add":"remove"](e)}function Ci(i,e,t=!1){const r=document.createEvent("CustomEvent");return r.initCustomEvent(i,t,!1,e),r}function G(i){const e={};for(const t of i)e[t.name]=t.value;return e}const Ge=new Set;let xe=0;function Ai(i){let e=5381,t=i.length;for(;t--;)e=(e<<5)-e^i.charCodeAt(t);return e>>>0}function ze(i,e,t,r,o,n,a,s=0){const l=16.666/r;let c=`{
|
|
2
|
+
`;for(let E=0;E<=1;E+=l){const C=e+(t-e)*n(E);c+=E*100+`%{${a(C,1-C)}}
|
|
3
3
|
`}const f=c+`100% {${a(t,1-t)}}
|
|
4
|
-
}`,u=`__svelte_${pi(f)}_${s}`,v=Xe(i);Ge.add(v);const m=v.__svelte_stylesheet||(v.__svelte_stylesheet=bi(i).sheet),g=v.__svelte_rules||(v.__svelte_rules={});g[u]||(g[u]=!0,m.insertRule(`@keyframes ${u} ${f}`,m.cssRules.length));const b=i.style.animation||"";return i.style.animation=`${b?`${b}, `:""}${u} ${r}ms linear ${o}ms 1 both`,xe+=1,u}function Ce(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(", "),xe-=o,xe||wi())}function wi(){Ie(()=>{xe||(Ge.forEach(i=>{const e=i.__svelte_stylesheet;let t=e.cssRules.length;for(;t--;)e.deleteRule(t);i.__svelte_rules={}}),Ge.clear())})}let he;function me(i){he=i}function Je(){if(!he)throw new Error("Function called outside component initialization");return he}function Ee(i){Je().$$.on_mount.push(i)}function Se(i){Je().$$.on_destroy.push(i)}const be=[],ce=[],Ae=[],Ke=[],Ye=Promise.resolve();let Be=!1;function Qe(){Be||(Be=!0,Ye.then(h))}function $e(){return Qe(),Ye}function X(i){Ae.push(i)}const je=new Set;let Me=0;function h(){const i=he;do{for(;Me<be.length;){const e=be[Me];Me++,me(e),ki(e.$$)}for(me(null),be.length=0,Me=0;ce.length;)ce.pop()();for(let e=0;e<Ae.length;e+=1){const t=Ae[e];je.has(t)||(je.add(t),t())}Ae.length=0}while(be.length);for(;Ke.length;)Ke.pop()();Be=!1,je.clear(),me(i)}function ki(i){if(i.fragment!==null){i.update(),Y(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(X)}}let ve;function Pe(){return ve||(ve=Promise.resolve(),ve.then(()=>{ve=null})),ve}function ne(i,e,t){i.dispatchEvent(_i(`${e?"intro":"outro"}${t}`))}const Re=new Set;let J;function ye(){J={r:0,c:[],p:J}}function _e(){J.r||Y(J.c),J=J.p}function F(i,e){i&&i.i&&(Re.delete(i),i.i(e))}function V(i,e,t,r){if(i&&i.o){if(Re.has(i))return;Re.add(i),J.c.push(()=>{Re.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}}const De={duration:0};function et(i,e,t){let r=e(i,t),o=!1,n,a,s=0;function l(){n&&Ce(i,n)}function c(){const{delay:u=0,duration:v=300,easing:m=ge,tick:g=p,css:b}=r||De;b&&(n=ze(i,0,1,v,u,m,b,s++)),g(0,1);const C=we()+u,E=C+v;a&&a.abort(),o=!0,X(()=>ne(i,!0,"start")),a=ke(z=>{if(o){if(z>=E)return g(1,0),ne(i,!0,"end"),l(),o=!1;if(z>=C){const L=m((z-C)/v);g(L,1-L)}}return o})}let f=!1;return{start(){f||(f=!0,Ce(i),re(r)?(r=r(),Pe().then(c)):c())},invalidate(){f=!1},end(){o&&(l(),o=!1)}}}function tt(i,e,t){let r=e(i,t),o=!0,n;const a=J;a.r+=1;function s(){const{delay:l=0,duration:c=300,easing:f=ge,tick:u=p,css:v}=r||De;v&&(n=ze(i,1,0,c,l,f,v));const m=we()+l,g=m+c;X(()=>ne(i,!1,"start")),ke(b=>{if(o){if(b>=g)return u(0,1),ne(i,!1,"end"),--a.r||Y(a.c),!1;if(b>=m){const C=f((b-m)/c);u(1-C,C)}}return o})}return re(r)?Pe().then(()=>{r=r(),s()}):s(),{end(l){l&&r.tick&&r.tick(1,0),o&&(n&&Ce(i,n),o=!1)}}}function Le(i,e,t,r){let o=e(i,t),n=r?0:1,a=null,s=null,l=null;function c(){l&&Ce(i,l)}function f(v,m){const g=v.b-n;return m*=Math.abs(g),{a:n,b:v.b,d:g,duration:m,start:v.start,end:v.start+m,group:v.group}}function u(v){const{delay:m=0,duration:g=300,easing:b=ge,tick:C=p,css:E}=o||De,z={start:we()+m,b:v};v||(z.group=J,J.r+=1),a||s?s=z:(E&&(c(),l=ze(i,n,v,g,m,b,E)),v&&C(0,1),a=f(z,g),X(()=>ne(i,v,"start")),ke(L=>{if(s&&L>s.start&&(a=f(s,g),s=null,ne(i,a.b,"start"),E&&(c(),l=ze(i,n,a.b,a.duration,0,b,o.css))),a){if(L>=a.end)C(n=a.b,1-n),ne(i,a.b,"end"),s||(a.b?c():--a.group.r||Y(a.group.c)),a=null;else if(L>=a.start){const B=L-a.start;n=a.a+a.d*b(B/a.duration),C(n,1-n)}}return!!(a||s)}))}return{run(v){re(o)?Pe().then(()=>{o=o(),u(v)}):u(v)},end(){c(),a=s=null}}}function ie(i){i&&i.c()}function Q(i,e,t,r){const{fragment:o,on_mount:n,on_destroy:a,after_update:s}=i.$$;o&&o.m(e,t),r||X(()=>{const l=n.map(He).filter(re);a?a.push(...l):Y(l),i.$$.on_mount=[]}),s.forEach(X)}function $(i,e){const t=i.$$;t.fragment!==null&&(Y(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function xi(i,e){i.$$.dirty[0]===-1&&(be.push(i),Qe(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function S(i,e,t,r,o,n,a,s=[-1]){const l=he;me(i);const c=i.$$={fragment:null,ctx:null,props:n,update:p,not_equal:o,bound:qe(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:qe(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};a&&a(c.root);let f=!1;if(c.ctx=t?t(i,e.props||{},(u,v,...m)=>{const g=m.length?m[0]:v;return c.ctx&&o(c.ctx[u],c.ctx[u]=g)&&(!c.skip_bound&&c.bound[u]&&c.bound[u](g),f&&xi(i,u)),v}):[],c.update(),f=!0,Y(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const u=yi(e.target);c.fragment&&c.fragment.l(u),u.forEach(x)}else c.fragment&&c.fragment.c();e.intro&&F(i.$$.fragment),Q(i,e.target,e.anchor,e.customElement),h()}me(l)}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(He).filter(re);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){Y(this.$$.on_disconnect)}$destroy(){$(this,1),this.$destroy=p}$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&&!gi(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});function zi(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=p,d(e,"class","page-content")},m(t,r){w(t,e,r)},p,i:p,o:p,d(t){t&&x(e)}}}class it extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.page-content{max-width:var(--page-width-max);margin:0 auto;padding:0 1.75rem}</style>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,zi,H,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-page-block",it);function Ci(i){let e,t,r,o,n,a,s,l,c,f,u,v;return{c(){e=_("div"),t=_("a"),r=_("img"),n=M(),a=_("img"),l=M(),c=_("span"),f=q(i[1]),u=M(),v=_("div"),v.innerHTML="<slot></slot>",this.c=p,d(r,"alt","GoA Logo"),d(r,"class","image-mobile"),We(r.src,o="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")||d(r,"src",o),d(a,"alt","GoA Logo"),d(a,"class","image-desktop"),We(a.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")||d(a,"src",s),d(c,"class","title"),d(t,"href",i[0]),d(t,"class","app-link"),d(e,"class","app-header"),d(e,"data-testid",i[2])},m(m,g){w(m,e,g),y(e,t),y(t,r),y(t,n),y(t,a),y(t,l),y(t,c),y(c,f),y(e,u),y(e,v)},p(m,[g]){g&2&&Z(f,m[1]),g&1&&d(t,"href",m[0]),g&4&&d(e,"data-testid",m[2])},i:p,o:p,d(m){m&&x(e)}}}function Ei(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 rt 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;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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ei,Ci,H,{url:0,title:1,testid:2},null),e&&(e.target&&w(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",rt);function P(i){return i==="false"?!1:i===""?!0:!!i}function Ai(i){return i?"true":"false"}function Mi(i){let e;return{c(){e=_("div"),D(e,"height","1.2rem"),D(e,"margin-left","-0.25rem")},m(t,r){w(t,e,r)},p,d(t){t&&x(e)}}}function Ri(i){let e;return{c(){e=_("goa-icon"),k(e,"type",i[3]),k(e,"size","small")},m(t,r){w(t,e,r)},p(t,r){r&8&&k(e,"type",t[3])},d(t){t&&x(e)}}}function ot(i){let e,t;return{c(){e=_("div"),t=q(i[2]),d(e,"class","goa-badge-content")},m(r,o){w(r,e,o),y(e,t)},p(r,o){o&4&&Z(t,r[2])},d(r){r&&x(e)}}}function Li(i){let e,t,r;function o(l,c){return l[4]?Ri:Mi}let n=o(i),a=n(i),s=i[2]&&ot(i);return{c(){e=_("div"),a.c(),t=M(),s&&s.c(),this.c=p,d(e,"data-testid",i[1]),d(e,"data-type","goa-badge"),d(e,"class",r="goa-badge badge-"+i[0]),j(e,"icon-only",i[4]&&!i[2])},m(l,c){w(l,e,c),a.m(e,null),y(e,t),s&&s.m(e,null)},p(l,[c]){n===(n=o(l))&&a?a.p(l,c):(a.d(1),a=n(l),a&&(a.c(),a.m(e,t))),l[2]?s?s.p(l,c):(s=ot(l),s.c(),s.m(e,null)):s&&(s.d(1),s=null),c&2&&d(e,"data-testid",l[1]),c&1&&r!==(r="goa-badge badge-"+l[0])&&d(e,"class",r),c&21&&j(e,"icon-only",l[4]&&!l[2])},i:p,o:p,d(l){l&&x(e),a.d(),s&&s.d()}}}function Ti(i,e,t){let r,o,{type:n}=e,{testid:a=""}=e,{icon:s="false"}=e,{content:l=""}=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,s=c.icon),"content"in c&&t(2,l=c.content)},i.$$.update=()=>{i.$$.dirty&32&&t(4,r=P(s)),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,l,o,r,s]}class nt 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;font-weight:var(--fw-regular)}.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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ti,Li,H,{type:0,testid:1,icon:5,content:2},null),e&&(e.target&&w(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",nt);function Hi(i){let e,t,r,o,n;return{c(){e=_("button"),t=_("slot"),this.c=p,d(e,"class",r=""+(i[0]+" "+i[1]+" "+i[2])),d(e,"title",i[3]),e.disabled=i[5],d(e,"data-testid",i[4])},m(a,s){w(a,e,s),y(e,t),o||(n=U(e,"click",Ii),o=!0)},p(a,[s]){s&7&&r!==(r=""+(a[0]+" "+a[1]+" "+a[2]))&&d(e,"class",r),s&8&&d(e,"title",a[3]),s&32&&(e.disabled=a[5]),s&16&&d(e,"data-testid",a[4])},i:p,o:p,d(a){a&&x(e),o=!1,n()}}}function Ii(i){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),i.stopPropagation()}function Gi(i,e,t){let r,{type:o="primary"}=e,{size:n="medium"}=e,{variant:a="default"}=e,{title:s=""}=e,{disabled:l="false"}=e,{testid:c=""}=e;return i.$$set=f=>{"type"in f&&t(0,o=f.type),"size"in f&&t(1,n=f.size),"variant"in f&&t(2,a=f.variant),"title"in f&&t(3,s=f.title),"disabled"in f&&t(6,l=f.disabled),"testid"in f&&t(4,c=f.testid)},i.$$.update=()=>{i.$$.dirty&64&&t(5,r=P(l))},[o,n,a,s,c,r,l]}class at 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;display:flex;gap:0.25rem;align-items:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
5
|
-
border-color 0.2s ease-in-out;transform:scaleX(1)}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--focus);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);background:var(--color-gray-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);background:var(--color-gray-100);outline:none}button.tertiary{border:1px solid var(--color-gray-200);background:var(--color-white);color:var(--goa-color-interactive)}button.tertiary:hover{border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}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--focus);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>`,S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},
|
|
6
|
-
}}</style>`,S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Oi,Di,H,{elevation:0,width:1,testId:2},null),e&&(e.target&&w(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",ct);function Ni(i){let e;return{c(){e=_("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=p},m(t,r){w(t,e,r)},p,i:p,o:p,d(t){t&&x(e)}}}class dt extends I{constructor(e){super();S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,Ni,H,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-card-actions",dt);function Fi(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=p,d(e,"class","card-content")},m(t,r){w(t,e,r)},p,i:p,o:p,d(t){t&&x(e)}}}class ut extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,Fi,H,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-card-content",ut);function qi(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=p,d(e,"class","card-group")},m(t,r){w(t,e,r)},p,i:p,o:p,d(t){t&&x(e)}}}class ft 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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,qi,H,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-card-group",ft);function Wi(i){let e;return{c(){e=_("div"),this.c=p,d(e,"class","card-image"),D(e,"background-image","url("+i[0]+")"),D(e,"height",i[1]),D(e,"background-size","cover"),D(e,"background-position","center")},m(t,r){w(t,e,r)},p(t,[r]){r&1&&D(e,"background-image","url("+t[0]+")"),r&2&&D(e,"height",t[1])},i:p,o:p,d(t){t&&x(e)}}}function Vi(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 gt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Vi,Wi,H,{src:0,height:1},null),e&&(e.target&&w(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",gt);function Zi(i){let e,t;return{c(){e=oe("svg"),t=oe("path"),d(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),d(e,"id","checkmark"),d(e,"data-testid","checkmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 16 12.18")},m(r,o){w(r,e,o),y(e,t)},d(r){r&&x(e)}}}function Ui(i){let e,t;return{c(){e=oe("svg"),t=oe("rect"),d(t,"width","15"),d(t,"height","2"),d(e,"id","dashmark"),d(e,"data-testid","dashmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 15 2")},m(r,o){w(r,e,o),y(e,t)},d(r){r&&x(e)}}}function Xi(i){let e,t,r,o,n,a,s,l,c,f,u;function v(b,C){if(b[5])return Ui;if(b[4])return Zi}let m=v(i),g=m&&m(i);return{c(){e=_("label"),t=_("div"),r=_("input"),n=M(),g&&g.c(),a=M(),s=_("div"),l=_("slot"),c=q(i[1]),this.c=p,d(r,"id",i[8]),d(r,"data-testid",i[3]),d(r,"name",i[0]),r.checked=i[4],r.disabled=i[7],d(r,"type","checkbox"),r.value=o=`${i[2]}`,d(t,"class","goa-checkbox-container"),j(t,"goa-checkbox--selected",i[4]),d(l,"name","main"),d(s,"class","goa-checkbox-text"),d(s,"data-testid","text"),d(e,"for",i[8]),d(e,"class","goa-checkbox"),j(e,"goa-checkbox--disabled",i[7]),j(e,"goa-checkbox--error",i[6])},m(b,C){w(b,e,C),y(e,t),y(t,r),y(t,n),g&&g.m(t,null),y(e,a),y(e,s),y(s,l),y(l,c),f||(u=U(r,"change",i[9]),f=!0)},p(b,[C]){C&256&&d(r,"id",b[8]),C&8&&d(r,"data-testid",b[3]),C&1&&d(r,"name",b[0]),C&16&&(r.checked=b[4]),C&128&&(r.disabled=b[7]),C&4&&o!==(o=`${b[2]}`)&&(r.value=o),m!==(m=v(b))&&(g&&g.d(1),g=m&&m(b),g&&(g.c(),g.m(t,null))),C&16&&j(t,"goa-checkbox--selected",b[4]),C&2&&Z(c,b[1]),C&256&&d(e,"for",b[8]),C&128&&j(e,"goa-checkbox--disabled",b[7]),C&64&&j(e,"goa-checkbox--error",b[6])},i:p,o:p,d(b){b&&x(e),g&&g.d(),f=!1,u()}}}function Ji(i,e,t){let r,o,n,a,s,{name:l}=e,{text:c=""}=e,{value:f=""}=e,{checked:u}=e,{disabled:v}=e,{error:m}=e,{testid:g=""}=e;function b(C){const E=!a,z=E?`${f||"checked"}`:"";C.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:l,checked:E,value:z}}))}return i.$$set=C=>{"name"in C&&t(0,l=C.name),"text"in C&&t(1,c=C.text),"value"in C&&t(2,f=C.value),"checked"in C&&t(10,u=C.checked),"disabled"in C&&t(11,v=C.disabled),"error"in C&&t(12,m=C.error),"testid"in C&&t(3,g=C.testid)},i.$$.update=()=>{i.$$.dirty&1&&t(8,r=`id-${l}`),i.$$.dirty&2048&&t(7,o=P(v)),i.$$.dirty&4096&&t(6,n=P(m)),i.$$.dirty&1024&&t(4,a=P(u))},t(5,s=!1),[l,c,f,g,a,s,n,o,r,b,u,v,m]}class ht 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;cursor:pointer}.goa-checkbox--disabled{opacity:40%}.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.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive--hover)}.goa-checkbox-container:hover{border:1px solid var(--goa-color-interactive)}.goa-checkbox-container:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--fw-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--color-gray-500)}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-status-emergency);background-color:var(--color-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-status-emergency)}</style>',S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ji,Xi,H,{name:0,text:1,value:2,checked:10,disabled:11,error:12,testid:3},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","text","value","checked","disabled","error","testid"]}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[10]}set checked(e){this.$$set({checked:e}),h()}get disabled(){return this.$$.ctx[11]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[12]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-checkbox",ht);function Ki(i){let e,t,r,o,n,a,s,l,c;return{c(){e=_("div"),t=_("header"),r=_("div"),r.innerHTML='<slot name="title"></slot>',o=M(),n=_("div"),n.innerHTML='<slot name="actions"></slot>',s=M(),l=_("div"),l.innerHTML="<slot></slot>",this.c=p,d(r,"class","title"),d(n,"class","actions"),d(t,"class",a="heading--"+i[1]),d(l,"class","content"),d(e,"class",c="goa-container goa-container--"+i[0])},m(f,u){w(f,e,u),y(e,t),y(t,r),y(t,o),y(t,n),y(e,s),y(e,l)},p(f,[u]){u&2&&a!==(a="heading--"+f[1])&&d(t,"class",a),u&1&&c!==(c="goa-container goa-container--"+f[0])&&d(e,"class",c)},i:p,o:p,d(f){f&&x(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 mt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);font-size:var(--fs-base)}.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:3rem;min-height:1rem}.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}.actions{display:flex;align-items:center}</style>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Yi,Ki,H,{variant:0,headingsize:1},null),e&&(e.target&&w(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",mt);const de=[];function bt(i,e=p){let t;const r=new Set;function o(s){if(H(i,s)&&(i=s,t)){const l=!de.length;for(const c of r)c[1](),de.push(c,i);if(l){for(let c=0;c<de.length;c+=2)de[c][0](de[c+1]);de.length=0}}}function n(s){o(s(i))}function a(s,l=p){const c=[s,l];return r.add(c),r.size===1&&(t=e(o)||p),s(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:o,update:n,subscribe:a}}const ue={};class Qi{constructor(){this.store=bt({})}subscribe(e,t){return this.store.subscribe(r=>{r.type===e&&t(r)})}notify(e,t){this.store.update(()=>({type:e,...t}))}}function Te(i){return ue[i]||(ue[i]=new Qi),ue[i]}function vt(i){!ue[i]||delete ue[i]}function yt(i){let e,t,r,o;return{c(){e=_("div"),d(e,"data-testid",t=`${i[0]}-dropdown-background`),d(e,"class","goa-dropdown-background")},m(n,a){w(n,e,a),r||(o=U(e,"click",i[14]),r=!0)},p(n,a){a&1&&t!==(t=`${n[0]}-dropdown-background`)&&d(e,"data-testid",t)},d(n){n&&x(e),r=!1,o()}}}function _t(i){let e,t,r,o,n,a,s;return{c(){e=_("div"),t=_("goa-input"),k(t,"error",i[12]),k(t,"disabled",i[4]),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[7].join(", ")),d(e,"data-testid",n=`${i[0]}-dropdown`)},m(l,c){w(l,e,c),y(e,t),a||(s=U(t,"focus",i[13]),a=!0)},p(l,c){c&4096&&k(t,"error",l[12]),c&16&&k(t,"disabled",l[4]),c&2&&k(t,"leadingicon",l[1]),c&8&&k(t,"placeholder",l[3]),c&1&&r!==(r=`${l[0]}-dropdown-input`)&&k(t,"id",r),c&128&&o!==(o=l[7].join(", "))&&k(t,"value",o),c&1&&n!==(n=`${l[0]}-dropdown`)&&d(e,"data-testid",n)},d(l){l&&x(e),a=!1,s()}}}function pt(i){let e,t,r,o,n,a=i[5]&&wt(i);return{c(){e=_("div"),a&&a.c(),t=M(),r=_("ul"),o=_("slot"),d(r,"class","goa-dropdown-list"),d(r,"style",n=`overflow-y: auto; max-height: ${i[2]}px`),d(e,"class","menu")},m(s,l){w(s,e,l),a&&a.m(e,null),y(e,t),y(e,r),y(r,o)},p(s,l){s[5]?a?a.p(s,l):(a=wt(s),a.c(),a.m(e,t)):a&&(a.d(1),a=null),l&4&&n!==(n=`overflow-y: auto; max-height: ${s[2]}px`)&&d(r,"style",n)},d(s){s&&x(e),a&&a.d()}}}function wt(i){let e,t,r;return{c(){e=_("goa-input"),k(e,"id",t=`${i[0]}-dropdown-filter`),k(e,"focused",i[8]),k(e,"name","filter"),k(e,"placeholder","Filter"),k(e,"trailingicon",r=i[11].length>0?"close-circle":"search"),k(e,"handletrailingiconclick",""),k(e,"type","text"),k(e,"value",i[11])},m(o,n){w(o,e,n),i[19](e)},p(o,n){n&1&&t!==(t=`${o[0]}-dropdown-filter`)&&k(e,"id",t),n&256&&k(e,"focused",o[8]),n&2048&&r!==(r=o[11].length>0?"close-circle":"search")&&k(e,"trailingicon",r),n&2048&&k(e,"value",o[11])},d(o){o&&x(e),i[19](null)}}}function $i(i){let e,t,r,o,n=i[8]&&yt(i),a=(!i[8]||!i[5])&&_t(i),s=i[8]&&pt(i);return{c(){e=_("div"),n&&n.c(),t=M(),r=_("div"),a&&a.c(),o=M(),s&&s.c(),this.c=p,d(e,"data-testid",i[6]),d(e,"class","goa-dropdown-box")},m(l,c){w(l,e,c),n&&n.m(e,null),y(e,t),y(e,r),a&&a.m(r,null),y(r,o),s&&s.m(r,null),i[20](e)},p(l,[c]){l[8]?n?n.p(l,c):(n=yt(l),n.c(),n.m(e,t)):n&&(n.d(1),n=null),!l[8]||!l[5]?a?a.p(l,c):(a=_t(l),a.c(),a.m(r,o)):a&&(a.d(1),a=null),l[8]?s?s.p(l,c):(s=pt(l),s.c(),s.m(r,null)):s&&(s.d(1),s=null),c&64&&d(e,"data-testid",l[6])},i:p,o:p,d(l){l&&x(e),n&&n.d(),a&&a.d(),s&&s.d(),i[20](null)}}}const er=300;function tr(i,e,t){let r,{name:o}=e,{values:n}=e,{leadingicon:a}=e,{maxheight:s=er}=e,{placeholder:l=""}=e,{multiselect:c}=e,{disabled:f}=e,{filterable:u}=e,{error:v}=e,{testid:m}=e,g=[],b,C=!1,E,z,L="",B,W,N;Ee(async()=>{await $e(),t(18,B=Te(o)),N=B.subscribe("init",A=>{c?t(7,g=[...g,A.label]):t(7,g=[A.label]),N()}),W=B.subscribe("selectionChange",A=>{A.selected?c?(t(7,g=[...g,A.label]),b=[...b,A.value]):(t(7,g=[A.label]),b=[A.value]):(t(7,g=g.filter(Ne=>Ne!==A.label)),b=b.filter(Ne=>Ne!==A.value)),c||t(8,C=!1),B.notify("propChange",{multiSelect:c,values:b}),E.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:b}}))})}),Se(()=>{W(),vt(o)});let ae=A=>{A.stopPropagation(),t(11,L=A.detail.value),B.notify("filterChange",{filter:L})},ee=A=>{A.stopPropagation(),t(11,L=""),B.notify("filterChange",{filter:L}),z==null||z.focus()};async function R(){f||(t(8,C=!0),await $e(),z==null||z.addEventListener("_change",ae),z==null||z.addEventListener("_trailingIconClick",ee),z==null||z.focus())}function O(){t(8,C=!1),z==null||z.removeEventListener("_change",ae),z==null||z.removeEventListener("_trailingIconClick",ee)}function te(A){ce[A?"unshift":"push"](()=>{z=A,t(10,z)})}function Yr(A){ce[A?"unshift":"push"](()=>{E=A,t(9,E)})}return i.$$set=A=>{"name"in A&&t(0,o=A.name),"values"in A&&t(15,n=A.values),"leadingicon"in A&&t(1,a=A.leadingicon),"maxheight"in A&&t(2,s=A.maxheight),"placeholder"in A&&t(3,l=A.placeholder),"multiselect"in A&&t(16,c=A.multiselect),"disabled"in A&&t(4,f=A.disabled),"filterable"in A&&t(5,u=A.filterable),"error"in A&&t(17,v=A.error),"testid"in A&&t(6,m=A.testid)},i.$$.update=()=>{if(i.$$.dirty&131072&&t(12,r=v?"true":"false"),i.$$.dirty&360448&&n!==void 0){let A;typeof n=="string"?A=n?JSON.parse(n):[]:A=n,b=A,B==null||B.notify("propChange",{multiSelect:c,values:A})}},[o,a,s,l,f,u,m,g,C,E,z,L,r,R,O,n,c,v,B,te,Yr]}class kt 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;z-index:98;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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},tr,$i,H,{name:0,values:15,leadingicon:1,maxheight:2,placeholder:3,multiselect:16,disabled:4,filterable:5,error:17,testid:6},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","values","leadingicon","maxheight","placeholder","multiselect","disabled","filterable","error","testid"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get values(){return this.$$.ctx[15]}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[16]}set multiselect(e){this.$$set({multiselect:e}),h()}get disabled(){return this.$$.ctx[4]}set disabled(e){this.$$set({disabled:e}),h()}get filterable(){return this.$$.ctx[5]}set filterable(e){this.$$set({filterable:e}),h()}get error(){return this.$$.ctx[17]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-dropdown",kt);function ir(i){let e,t=(i[2]||i[0])+"",r,o,n;return{c(){e=_("li"),this.c=p,d(e,"class","goa-dropdown-option"),d(e,"style",r=`display: ${i[4]?"none":"block"}`),d(e,"data-testid",i[1]),j(e,"goa-dropdown-option--disabled",i[5]),j(e,"goa-dropdown-option--selected",i[3])},m(a,s){w(a,e,s),e.innerHTML=t,o||(n=U(e,"click",i[6]),o=!0)},p(a,[s]){s&5&&t!==(t=(a[2]||a[0])+"")&&(e.innerHTML=t),s&16&&r!==(r=`display: ${a[4]?"none":"block"}`)&&d(e,"style",r),s&2&&d(e,"data-testid",a[1]),s&32&&j(e,"goa-dropdown-option--disabled",a[5]),s&8&&j(e,"goa-dropdown-option--selected",a[3])},i:p,o:p,d(a){a&&x(e),o=!1,n()}}}function rr(i,e,t){let r,o,n,{name:a=""}=e,{value:s=""}=e,{label:l=""}=e,{selected:c="false"}=e,{disabled:f="false"}=e,{hide:u="false"}=e,{testid:v}=e,m,g;function b(z){if(z.length===0||!l.toLowerCase().includes(z.toLowerCase()))return l;t(2,m="");let L=0;return[...l.matchAll(new RegExp(z,"gi"))].forEach(B=>{t(2,m+=l.slice(L,B.index)+`<b>${B[0]}</b>`),L=B.index+B[0].length}),t(2,m+=l.slice(L)),m}function C(){t(3,r=!r),g.notify("selectionChange",{label:l,value:s,selected:r})}let E;return Ee(()=>{g=Te(a),g.subscribe("propChange",z=>{t(3,r=z.values.includes(s))}),E=g.subscribe("propChange",z=>{z.values.includes(s)&&g.notify("init",{label:l,value:s,selected:!0}),E()}),g.subscribe("filterChange",z=>{const L=z.filter.toLowerCase();if(!s&&!l)t(7,u="false");else{let B;switch(typeof s){case"string":B=(s==null?void 0:s.toLowerCase().includes(L))||(l==null?void 0:l.toLowerCase().includes(L));break;case"number":B=s===L||(l==null?void 0:l.toLowerCase().includes(L));break}t(7,u=Ai(!B))}t(2,m=b(L))})}),Se(()=>{E()}),i.$$set=z=>{"name"in z&&t(8,a=z.name),"value"in z&&t(9,s=z.value),"label"in z&&t(0,l=z.label),"selected"in z&&t(10,c=z.selected),"disabled"in z&&t(11,f=z.disabled),"hide"in z&&t(7,u=z.hide),"testid"in z&&t(1,v=z.testid)},i.$$.update=()=>{i.$$.dirty&1024&&t(3,r=P(c)),i.$$.dirty&2048&&t(5,o=P(f)),i.$$.dirty&128&&t(4,n=P(u))},[l,v,m,r,n,o,C,u,a,s,c,f]}class xt 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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},rr,ir,H,{name:8,value:9,label:0,selected:10,disabled:11,hide:7,testid:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","label","selected","disabled","hide","testid"]}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 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()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-dropdown-item",xt);function or(i){let e,t;return{c(){e=_("div"),t=_("slot"),this.c=p,d(e,"class","goa-flex-row"),D(e,"gap",i[0])},m(r,o){w(r,e,o),y(e,t)},p(r,[o]){o&1&&D(e,"gap",r[0])},i:p,o:p,d(r){r&&x(e)}}}function nr(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 zt 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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},nr,or,H,{gap:1},null),e&&(e.target&&w(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",zt);function Ct(i){let e,t,r,o=i[3]&&Et();return{c(){e=_("label"),t=q(i[0]),r=M(),o&&o.c(),d(e,"for","")},m(n,a){w(n,e,a),y(e,t),y(e,r),o&&o.m(e,null)},p(n,a){a&1&&Z(t,n[0]),n[3]?o||(o=Et(),o.c(),o.m(e,null)):o&&(o.d(1),o=null)},d(n){n&&x(e),o&&o.d()}}}function Et(i){let e;return{c(){e=_("em"),e.textContent="(optional)"},m(t,r){w(t,e,r)},d(t){t&&x(e)}}}function At(i){let e,t;return{c(){e=_("div"),t=q(i[2]),d(e,"class","error-msg")},m(r,o){w(r,e,o),y(e,t)},p(r,o){o&4&&Z(t,r[2])},d(r){r&&x(e)}}}function Mt(i){let e,t;return{c(){e=_("div"),t=q(i[1]),d(e,"class","help-msg")},m(r,o){w(r,e,o),y(e,t)},p(r,o){o&2&&Z(t,r[1])},d(r){r&&x(e)}}}function ar(i){let e,t,r,o,n,a=i[0]&&Ct(i),s=i[2]&&At(i),l=i[1]&&Mt(i);return{c(){e=_("div"),a&&a.c(),t=M(),r=_("div"),r.innerHTML="<slot></slot>",o=M(),s&&s.c(),n=M(),l&&l.c(),this.c=p,d(r,"class","form-item-input"),d(e,"class","goa-form-item")},m(c,f){w(c,e,f),a&&a.m(e,null),y(e,t),y(e,r),y(e,o),s&&s.m(e,null),y(e,n),l&&l.m(e,null)},p(c,[f]){c[0]?a?a.p(c,f):(a=Ct(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[2]?s?s.p(c,f):(s=At(c),s.c(),s.m(e,n)):s&&(s.d(1),s=null),c[1]?l?l.p(c,f):(l=Mt(c),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:p,o:p,d(c){c&&x(e),a&&a.d(),s&&s.d(),l&&l.d()}}}function lr(i,e,t){let r,{label:o=""}=e,{helptext:n=""}=e,{error:a=""}=e,{optional:s}=e;return i.$$set=l=>{"label"in l&&t(0,o=l.label),"helptext"in l&&t(1,n=l.helptext),"error"in l&&t(2,a=l.error),"optional"in l&&t(4,s=l.optional)},i.$$.update=()=>{i.$$.dirty&16&&t(3,r=P(s))},[o,n,a,r,s]}class Rt 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:var(--fw-bold);color:var(--goa-color-text);font-size:var(--fs-base);padding:0.5rem 0}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(--goa-color-text)}.error-msg{font-size:var(--fs-sm);color:var(--goa-color-interactive--error);margin-bottom:0.25rem}</style>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},lr,ar,H,{label:0,helptext:1,error:2,optional:4},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["label","helptext","error","optional"]}get label(){return this.$$.ctx[0]}set label(e){this.$$set({label:e}),h()}get helptext(){return this.$$.ctx[1]}set helptext(e){this.$$set({helptext:e}),h()}get error(){return this.$$.ctx[2]}set error(e){this.$$set({error:e}),h()}get optional(){return this.$$.ctx[4]}set optional(e){this.$$set({optional:e}),h()}}customElements.define("goa-form-item",Rt);function sr(i){let e,t,r,o,n,a,s,l;return{c(){e=_("div"),t=_("goa-page-block"),r=_("h1"),o=q(i[0]),n=M(),a=_("div"),a.innerHTML="<slot></slot>",s=M(),l=_("slot"),this.c=p,d(r,"role","heading"),d(a,"class","goa-hero-banner-content"),d(a,"role","note"),d(l,"name","actions"),d(e,"class","goa-hero"),d(e,"data-testid","background"),D(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]+")"),D(e,"background-size","cover"),D(e,"background-position","center"),D(e,"background-repeat","no-repeat")},m(c,f){w(c,e,f),y(e,t),y(t,r),y(r,o),y(t,n),y(t,a),y(t,s),y(t,l)},p(c,[f]){f&1&&Z(o,c[0]),f&2&&D(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:p,o:p,d(c){c&&x(e)}}}function cr(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 Lt 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-brand);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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},cr,sr,H,{title:0,backgroundurl:1},null),e&&(e.target&&w(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",Lt);function Tt(i){let e,t,r;return{c(){e=_("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){w(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&&x(e)}}}function dr(i){let e,t,r,o=i[0]&&Tt(i);return{c(){e=_("div"),o&&o.c(),this.c=p,d(e,"class","goa-icon"),d(e,"data-testid",t=`icon-${i[0]}`),d(e,"style",r=`--size: ${i[2]}`),j(e,"inverted",i[3])},m(n,a){w(n,e,a),o&&o.m(e,null)},p(n,[a]){n[0]?o?o.p(n,a):(o=Tt(n),o.c(),o.m(e,null)):o&&(o.d(1),o=null),a&1&&t!==(t=`icon-${n[0]}`)&&d(e,"data-testid",t),a&4&&r!==(r=`--size: ${n[2]}`)&&d(e,"style",r),a&8&&j(e,"inverted",n[3])},i:p,o:p,d(n){n&&x(e),o&&o.d()}}}function ur(i,e,t){let r,o,{type:n}=e,{size:a="medium"}=e,{theme:s="outline"}=e,{inverted:l}=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,s=c.theme),"inverted"in c&&t(5,l=c.inverted)},i.$$.update=()=>{i.$$.dirty&32&&t(3,r=P(l)),i.$$.dirty&16&&t(2,o={small:"1.1rem",medium:"1.5rem",large:"2rem"}[a])},[n,s,o,r,a,l]}class Ht 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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},ur,dr,H,{type:0,size:4,theme:1,inverted:5},null),e&&(e.target&&w(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",Ht);function fr(i){let e,t,r,o;return{c(){e=_("button"),t=_("goa-icon"),this.c=p,k(t,"type",i[0]),k(t,"size",i[1]),k(t,"theme",i[2]),k(t,"inverted",i[5]),D(e,"--size",i[6]),d(e,"title",i[3]),e.disabled=i[7],d(e,"class",i[8]),d(e,"data-testid",i[4])},m(n,a){w(n,e,a),y(e,t),r||(o=U(e,"click",gr),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&&D(e,"--size",n[6]),a&8&&d(e,"title",n[3]),a&128&&(e.disabled=n[7]),a&256&&d(e,"class",n[8]),a&16&&d(e,"data-testid",n[4])},i:p,o:p,d(n){n&&x(e),r=!1,o()}}}function gr(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function hr(i,e,t){let r,o,n,a,{type:s}=e,{size:l="medium"}=e,{theme:c="outline"}=e,{variant:f="color"}=e,{title:u=""}=e,{testId:v=""}=e,{disabled:m}=e,{inverted:g}=e;return i.$$set=b=>{"type"in b&&t(0,s=b.type),"size"in b&&t(1,l=b.size),"theme"in b&&t(2,c=b.theme),"variant"in b&&t(9,f=b.variant),"title"in b&&t(3,u=b.title),"testId"in b&&t(4,v=b.testId),"disabled"in b&&t(10,m=b.disabled),"inverted"in b&&t(11,g=b.inverted)},i.$$.update=()=>{i.$$.dirty&2048&&t(5,n=P(g)),i.$$.dirty&544&&t(8,r=`goa-icon-button goa-icon-button--${f} ${n?"goa-icon-button--inverted":""}`),i.$$.dirty&1024&&t(7,o=P(m)),i.$$.dirty&2&&t(6,a={small:"1rem",medium:"1.5rem",large:"2rem"}[l])},[s,l,c,u,v,n,a,o,r,f,m,g]}class It 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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},hr,fr,H,{type:0,size:1,theme:2,variant:9,title:3,testId:4,disabled:10,inverted:11},null),e&&(e.target&&w(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",It);function Gt(i){let e,t;return{c(){e=_("div"),t=_("goa-icon"),k(t,"data-testid","leading-icon"),k(t,"type",i[4]),d(e,"class","goa-input-leading-icon")},m(r,o){w(r,e,o),y(e,t)},p(r,o){o&16&&k(t,"type",r[4])},d(r){r&&x(e)}}}function St(i){let e,t;return{c(){e=_("div"),t=_("goa-icon"),k(t,"data-testid","trailing-icon"),k(t,"size","medium"),k(t,"type",i[5]),d(e,"class","goa-input-trailing-icon")},m(r,o){w(r,e,o),y(e,t)},p(r,o){o&32&&k(t,"type",r[5])},d(r){r&&x(e)}}}function Bt(i){let e,t,r,o;return{c(){e=_("div"),t=_("goa-icon-button"),k(t,"disabled",i[10]),k(t,"variant","nocolor"),k(t,"size","medium"),k(t,"type",i[5]),k(t,"data-testid","trailing-icon-button"),d(e,"class","goa-input-trailing-icon")},m(n,a){w(n,e,a),y(e,t),r||(o=U(t,"click",br),r=!0)},p(n,a){a&1024&&k(t,"disabled",n[10]),a&32&&k(t,"type",n[5])},d(n){n&&x(e),r=!1,o()}}}function mr(i){let e,t,r,o,n,a,s,l,c,f,u=i[4]&&Gt(i),v=i[5]&&!i[13]&&St(i),m=i[5]&&i[13]&&Bt(i);return{c(){e=_("div"),u&&u.c(),t=M(),r=_("input"),n=M(),v&&v.c(),a=M(),m&&m.c(),this.c=p,d(r,"class",o=`input--${i[6]}`),r.readOnly=i[12],r.disabled=i[10],d(r,"data-testid",i[7]),d(r,"name",i[1]),d(r,"type",i[0]),r.value=i[2],d(r,"placeholder",i[3]),d(e,"style",s=`width: ${i[8]};`),d(e,"class",l=`
|
|
4
|
+
}`,u=`__svelte_${Ai(f)}_${s}`,v=Ke(i);Ge.add(v);const b=v.__svelte_stylesheet||(v.__svelte_stylesheet=xi(i).sheet),g=v.__svelte_rules||(v.__svelte_rules={});g[u]||(g[u]=!0,b.insertRule(`@keyframes ${u} ${f}`,b.cssRules.length));const m=i.style.animation||"";return i.style.animation=`${m?`${m}, `:""}${u} ${r}ms linear ${o}ms 1 both`,xe+=1,u}function Ee(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(", "),xe-=o,xe||Mi())}function Mi(){Ie(()=>{xe||(Ge.forEach(i=>{const e=i.__svelte_stylesheet;let t=e.cssRules.length;for(;t--;)e.deleteRule(t);i.__svelte_rules={}}),Ge.clear())})}let he;function me(i){he=i}function Ye(){if(!he)throw new Error("Function called outside component initialization");return he}function Ce(i){Ye().$$.on_mount.push(i)}function Qe(i){Ye().$$.on_destroy.push(i)}const be=[],le=[],Ae=[],$e=[],et=Promise.resolve();let Se=!1;function tt(){Se||(Se=!0,et.then(h))}function it(){return tt(),et}function X(i){Ae.push(i)}const Be=new Set;let Me=0;function h(){const i=he;do{for(;Me<be.length;){const e=be[Me];Me++,me(e),Ri(e.$$)}for(me(null),be.length=0,Me=0;le.length;)le.pop()();for(let e=0;e<Ae.length;e+=1){const t=Ae[e];Be.has(t)||(Be.add(t),t())}Ae.length=0}while(be.length);for(;$e.length;)$e.pop()();Se=!1,Be.clear(),me(i)}function Ri(i){if(i.fragment!==null){i.update(),Y(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(X)}}let ve;function Pe(){return ve||(ve=Promise.resolve(),ve.then(()=>{ve=null})),ve}function oe(i,e,t){i.dispatchEvent(Ci(`${e?"intro":"outro"}${t}`))}const Re=new Set;let J;function ye(){J={r:0,c:[],p:J}}function _e(){J.r||Y(J.c),J=J.p}function q(i,e){i&&i.i&&(Re.delete(i),i.i(e))}function V(i,e,t,r){if(i&&i.o){if(Re.has(i))return;Re.add(i),J.c.push(()=>{Re.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}}const je={duration:0};function rt(i,e,t){let r=e(i,t),o=!1,n,a,s=0;function l(){n&&Ee(i,n)}function c(){const{delay:u=0,duration:v=300,easing:b=ge,tick:g=p,css:m}=r||je;m&&(n=ze(i,0,1,v,u,b,m,s++)),g(0,1);const E=we()+u,C=E+v;a&&a.abort(),o=!0,X(()=>oe(i,!0,"start")),a=ke(z=>{if(o){if(z>=C)return g(1,0),oe(i,!0,"end"),l(),o=!1;if(z>=E){const T=b((z-E)/v);g(T,1-T)}}return o})}let f=!1;return{start(){f||(f=!0,Ee(i),ie(r)?(r=r(),Pe().then(c)):c())},invalidate(){f=!1},end(){o&&(l(),o=!1)}}}function ot(i,e,t){let r=e(i,t),o=!0,n;const a=J;a.r+=1;function s(){const{delay:l=0,duration:c=300,easing:f=ge,tick:u=p,css:v}=r||je;v&&(n=ze(i,1,0,c,l,f,v));const b=we()+l,g=b+c;X(()=>oe(i,!1,"start")),ke(m=>{if(o){if(m>=g)return u(0,1),oe(i,!1,"end"),--a.r||Y(a.c),!1;if(m>=b){const E=f((m-b)/c);u(1-E,E)}}return o})}return ie(r)?Pe().then(()=>{r=r(),s()}):s(),{end(l){l&&r.tick&&r.tick(1,0),o&&(n&&Ee(i,n),o=!1)}}}function Le(i,e,t,r){let o=e(i,t),n=r?0:1,a=null,s=null,l=null;function c(){l&&Ee(i,l)}function f(v,b){const g=v.b-n;return b*=Math.abs(g),{a:n,b:v.b,d:g,duration:b,start:v.start,end:v.start+b,group:v.group}}function u(v){const{delay:b=0,duration:g=300,easing:m=ge,tick:E=p,css:C}=o||je,z={start:we()+b,b:v};v||(z.group=J,J.r+=1),a||s?s=z:(C&&(c(),l=ze(i,n,v,g,b,m,C)),v&&E(0,1),a=f(z,g),X(()=>oe(i,v,"start")),ke(T=>{if(s&&T>s.start&&(a=f(s,g),s=null,oe(i,a.b,"start"),C&&(c(),l=ze(i,n,a.b,a.duration,0,m,o.css))),a){if(T>=a.end)E(n=a.b,1-n),oe(i,a.b,"end"),s||(a.b?c():--a.group.r||Y(a.group.c)),a=null;else if(T>=a.start){const B=T-a.start;n=a.a+a.d*m(B/a.duration),E(n,1-n)}}return!!(a||s)}))}return{run(v){ie(o)?Pe().then(()=>{o=o(),u(v)}):u(v)},end(){c(),a=s=null}}}function ee(i){i&&i.c()}function Q(i,e,t,r){const{fragment:o,on_mount:n,on_destroy:a,after_update:s}=i.$$;o&&o.m(e,t),r||X(()=>{const l=n.map(He).filter(ie);a?a.push(...l):Y(l),i.$$.on_mount=[]}),s.forEach(X)}function $(i,e){const t=i.$$;t.fragment!==null&&(Y(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function Li(i,e){i.$$.dirty[0]===-1&&(be.push(i),tt(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function S(i,e,t,r,o,n,a,s=[-1]){const l=he;me(i);const c=i.$$={fragment:null,ctx:null,props:n,update:p,not_equal:o,bound:Ve(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:Ve(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};a&&a(c.root);let f=!1;if(c.ctx=t?t(i,e.props||{},(u,v,...b)=>{const g=b.length?b[0]:v;return c.ctx&&o(c.ctx[u],c.ctx[u]=g)&&(!c.skip_bound&&c.bound[u]&&c.bound[u](g),f&&Li(i,u)),v}):[],c.update(),f=!0,Y(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const u=Ei(e.target);c.fragment&&c.fragment.l(u),u.forEach(x)}else c.fragment&&c.fragment.c();e.intro&&q(i.$$.fragment),Q(i,e.target,e.anchor,e.customElement),h()}me(l)}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(He).filter(ie);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){Y(this.$$.on_disconnect)}$destroy(){$(this,1),this.$destroy=p}$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&&!pi(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});function Ti(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=p,d(e,"class","page-content")},m(t,r){w(t,e,r)},p,i:p,o:p,d(t){t&&x(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:var(--page-width-max);margin:0 auto;padding:0 1.75rem}</style>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,Ti,H,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-page-block",nt);function Hi(i){let e,t,r,o,n,a,s,l,c,f,u,v;return{c(){e=_("div"),t=_("a"),r=_("img"),n=M(),a=_("img"),l=M(),c=_("span"),f=W(i[1]),u=M(),v=_("div"),v.innerHTML="<slot></slot>",this.c=p,d(r,"alt","GoA Logo"),d(r,"class","image-mobile"),Ze(r.src,o="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")||d(r,"src",o),d(a,"alt","GoA Logo"),d(a,"class","image-desktop"),Ze(a.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")||d(a,"src",s),d(c,"class","title"),d(t,"href",i[0]),d(t,"class","app-link"),d(e,"class","app-header"),d(e,"data-testid",i[2])},m(b,g){w(b,e,g),y(e,t),y(t,r),y(t,n),y(t,a),y(t,l),y(t,c),y(c,f),y(e,u),y(e,v)},p(b,[g]){g&2&&Z(f,b[1]),g&1&&d(t,"href",b[0]),g&4&&d(e,"data-testid",b[2])},i:p,o:p,d(b){b&&x(e)}}}function Ii(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 at 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;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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ii,Hi,H,{url:0,title:1,testid:2},null),e&&(e.target&&w(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",at);function j(i){return i==="false"?!1:i===""?!0:!!i}function Gi(i){return i?"true":"false"}function Si(i){let e;return{c(){e=_("div"),D(e,"height","1.2rem"),D(e,"margin-left","-0.25rem")},m(t,r){w(t,e,r)},p,d(t){t&&x(e)}}}function Bi(i){let e;return{c(){e=_("goa-icon"),k(e,"type",i[3]),k(e,"size","small")},m(t,r){w(t,e,r)},p(t,r){r&8&&k(e,"type",t[3])},d(t){t&&x(e)}}}function lt(i){let e,t;return{c(){e=_("div"),t=W(i[2]),d(e,"class","goa-badge-content")},m(r,o){w(r,e,o),y(e,t)},p(r,o){o&4&&Z(t,r[2])},d(r){r&&x(e)}}}function Pi(i){let e,t,r;function o(l,c){return l[4]?Bi:Si}let n=o(i),a=n(i),s=i[2]&<(i);return{c(){e=_("div"),a.c(),t=M(),s&&s.c(),this.c=p,d(e,"data-testid",i[1]),d(e,"data-type","goa-badge"),d(e,"class",r="goa-badge badge-"+i[0]),P(e,"icon-only",i[4]&&!i[2])},m(l,c){w(l,e,c),a.m(e,null),y(e,t),s&&s.m(e,null)},p(l,[c]){n===(n=o(l))&&a?a.p(l,c):(a.d(1),a=n(l),a&&(a.c(),a.m(e,t))),l[2]?s?s.p(l,c):(s=lt(l),s.c(),s.m(e,null)):s&&(s.d(1),s=null),c&2&&d(e,"data-testid",l[1]),c&1&&r!==(r="goa-badge badge-"+l[0])&&d(e,"class",r),c&21&&P(e,"icon-only",l[4]&&!l[2])},i:p,o:p,d(l){l&&x(e),a.d(),s&&s.d()}}}function ji(i,e,t){let r,o,{type:n}=e,{testid:a=""}=e,{icon:s="false"}=e,{content:l=""}=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,s=c.icon),"content"in c&&t(2,l=c.content)},i.$$.update=()=>{i.$$.dirty&32&&t(4,r=j(s)),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,l,o,r,s]}class st 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;font-weight:var(--fw-regular)}.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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},ji,Pi,H,{type:0,testid:1,icon:5,content:2},null),e&&(e.target&&w(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",st);function Di(i){let e,t,r,o,n;return{c(){e=_("button"),t=_("slot"),this.c=p,d(e,"class",r=""+(i[0]+" "+i[1]+" "+i[2])),d(e,"title",i[3]),e.disabled=i[5],d(e,"data-testid",i[4])},m(a,s){w(a,e,s),y(e,t),o||(n=U(e,"click",Oi),o=!0)},p(a,[s]){s&7&&r!==(r=""+(a[0]+" "+a[1]+" "+a[2]))&&d(e,"class",r),s&8&&d(e,"title",a[3]),s&32&&(e.disabled=a[5]),s&16&&d(e,"data-testid",a[4])},i:p,o:p,d(a){a&&x(e),o=!1,n()}}}function Oi(i){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),i.stopPropagation()}function Ni(i,e,t){let r,{type:o="primary"}=e,{size:n="medium"}=e,{variant:a="default"}=e,{title:s=""}=e,{disabled:l="false"}=e,{testid:c=""}=e;return i.$$set=f=>{"type"in f&&t(0,o=f.type),"size"in f&&t(1,n=f.size),"variant"in f&&t(2,a=f.variant),"title"in f&&t(3,s=f.title),"disabled"in f&&t(6,l=f.disabled),"testid"in f&&t(4,c=f.testid)},i.$$.update=()=>{i.$$.dirty&64&&t(5,r=j(l))},[o,n,a,s,c,r,l]}class ct 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;display:flex;gap:0.25rem;align-items:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
5
|
+
border-color 0.2s ease-in-out;transform:scaleX(1)}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--focus);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);background:var(--color-gray-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);background:var(--color-gray-100);outline:none}button.tertiary{border:1px solid var(--color-gray-200);background:var(--color-white);color:var(--goa-color-interactive)}button.tertiary:hover{border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}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--focus);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>`,S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ni,Di,H,{type:0,size:1,variant:2,title:3,disabled:6,testid:4},null),e&&(e.target&&w(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",ct);function Fi(i){let e,t;return{c(){e=_("div"),t=_("slot"),this.c=p,D(e,"--alignment","flex-"+i[1]),D(e,"--gap-size",i[0]==="small"?"0.5rem":"1rem")},m(r,o){w(r,e,o),y(e,t)},p(r,[o]){o&2&&D(e,"--alignment","flex-"+r[1]),o&1&&D(e,"--gap-size",r[0]==="small"?"0.5rem":"1rem")},i:p,o:p,d(r){r&&x(e)}}}function qi(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 dt 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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},qi,Fi,H,{gap:0,alignment:1},null),e&&(e.target&&w(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",dt);function Wi(i){let e,t,r,o,n,a,s,l,c,f,u;return{c(){e=_("div"),t=_("span"),r=_("goa-icon"),a=M(),s=_("span"),l=_("h3"),c=W(i[1]),f=M(),u=_("slot"),this.c=p,k(r,"type",i[3]),k(r,"inverted",o=i[0]==="important"?"false":"true"),d(t,"class",n="icon "+i[0]),d(s,"class","content"),d(e,"class","notification"),d(e,"data-testid",i[2])},m(v,b){w(v,e,b),y(e,t),y(t,r),y(e,a),y(e,s),y(s,l),y(l,c),y(s,f),y(s,u)},p(v,[b]){b&8&&k(r,"type",v[3]),b&1&&o!==(o=v[0]==="important"?"false":"true")&&k(r,"inverted",o),b&1&&n!==(n="icon "+v[0])&&d(t,"class",n),b&2&&Z(c,v[1]),b&4&&d(e,"data-testid",v[2])},i:p,o:p,d(v){v&&x(e)}}}function Vi(i,e,t){let r,{type:o}=e,{title:n}=e,{testid:a=""}=e;return i.$$set=s=>{"type"in s&&t(0,o=s.type),"title"in s&&t(1,n=s.title),"testid"in s&&t(2,a=s.testid)},i.$$.update=()=>{i.$$.dirty&1&&t(3,r=o==="emergency"?"warning":o==="important"?"alert-circle":o==="information"?"information-circle":o==="success"?"checkmark-circle":o==="event"?"calendar":"")},[o,n,a,r]}class ut 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);line-height:var(--lh-base);font-weight:var(--fw-regular);margin-top:0}.emergency{background-color:var(--goa-color-status-emergency)}.important{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info)}.event{background-color:var(--goa-color-status-info)}.success{background-color:var(--goa-color-status-success)}.icon{flex:0 0 3rem;text-align:center;padding-top:1.5rem}.content{flex:1 1 auto;background-color:var(--color-gray-100);padding:1.5rem}</style>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Vi,Wi,H,{type:0,title:1,testid:2},null),e&&(e.target&&w(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",ut);function Zi(i){let e,t,r;return{c(){e=_("div"),t=_("slot"),this.c=p,d(e,"data-testid",i[2]),d(e,"class","card"),d(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){w(o,e,n),y(e,t)},p(o,[n]){n&4&&d(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]});`)+"")&&d(e,"style",r)},i:p,o:p,d(o){o&&x(e)}}}function Ui(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 ft 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
|
|
6
|
+
}}</style>`,S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ui,Zi,H,{elevation:0,width:1,testId:2},null),e&&(e.target&&w(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",ft);function Xi(i){let e;return{c(){e=_("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=p},m(t,r){w(t,e,r)},p,i:p,o:p,d(t){t&&x(e)}}}class gt extends I{constructor(e){super();S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,Xi,H,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-card-actions",gt);function Ji(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=p,d(e,"class","card-content")},m(t,r){w(t,e,r)},p,i:p,o:p,d(t){t&&x(e)}}}class ht extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,Ji,H,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-card-content",ht);function Ki(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=p,d(e,"class","card-group")},m(t,r){w(t,e,r)},p,i:p,o:p,d(t){t&&x(e)}}}class mt 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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,Ki,H,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-card-group",mt);function Yi(i){let e;return{c(){e=_("div"),this.c=p,d(e,"class","card-image"),D(e,"background-image","url("+i[0]+")"),D(e,"height",i[1]),D(e,"background-size","cover"),D(e,"background-position","center")},m(t,r){w(t,e,r)},p(t,[r]){r&1&&D(e,"background-image","url("+t[0]+")"),r&2&&D(e,"height",t[1])},i:p,o:p,d(t){t&&x(e)}}}function Qi(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 bt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Qi,Yi,H,{src:0,height:1},null),e&&(e.target&&w(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",bt);function $i(i){let e,t;return{c(){e=re("svg"),t=re("path"),d(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),d(e,"id","checkmark"),d(e,"data-testid","checkmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 16 12.18")},m(r,o){w(r,e,o),y(e,t)},d(r){r&&x(e)}}}function er(i){let e,t;return{c(){e=re("svg"),t=re("rect"),d(t,"width","15"),d(t,"height","2"),d(e,"id","dashmark"),d(e,"data-testid","dashmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 15 2")},m(r,o){w(r,e,o),y(e,t)},d(r){r&&x(e)}}}function tr(i){let e,t,r,o,n,a,s,l,c,f,u;function v(m,E){if(m[5])return er;if(m[4])return $i}let b=v(i),g=b&&b(i);return{c(){e=_("label"),t=_("div"),r=_("input"),n=M(),g&&g.c(),a=M(),s=_("div"),l=_("slot"),c=W(i[1]),this.c=p,d(r,"id",i[8]),d(r,"data-testid",i[3]),d(r,"name",i[0]),r.checked=i[4],r.disabled=i[7],d(r,"type","checkbox"),r.value=o=`${i[2]}`,d(t,"class","goa-checkbox-container"),P(t,"goa-checkbox--selected",i[4]),d(l,"name","main"),d(s,"class","goa-checkbox-text"),d(s,"data-testid","text"),d(e,"for",i[8]),d(e,"class","goa-checkbox"),P(e,"goa-checkbox--disabled",i[7]),P(e,"goa-checkbox--error",i[6])},m(m,E){w(m,e,E),y(e,t),y(t,r),y(t,n),g&&g.m(t,null),y(e,a),y(e,s),y(s,l),y(l,c),f||(u=U(r,"change",i[9]),f=!0)},p(m,[E]){E&256&&d(r,"id",m[8]),E&8&&d(r,"data-testid",m[3]),E&1&&d(r,"name",m[0]),E&16&&(r.checked=m[4]),E&128&&(r.disabled=m[7]),E&4&&o!==(o=`${m[2]}`)&&(r.value=o),b!==(b=v(m))&&(g&&g.d(1),g=b&&b(m),g&&(g.c(),g.m(t,null))),E&16&&P(t,"goa-checkbox--selected",m[4]),E&2&&Z(c,m[1]),E&256&&d(e,"for",m[8]),E&128&&P(e,"goa-checkbox--disabled",m[7]),E&64&&P(e,"goa-checkbox--error",m[6])},i:p,o:p,d(m){m&&x(e),g&&g.d(),f=!1,u()}}}function ir(i,e,t){let r,o,n,a,s,{name:l}=e,{text:c=""}=e,{value:f=""}=e,{checked:u}=e,{disabled:v}=e,{error:b}=e,{testid:g=""}=e;function m(E){const C=!a,z=C?`${f||"checked"}`:"";E.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:l,checked:C,value:z}}))}return i.$$set=E=>{"name"in E&&t(0,l=E.name),"text"in E&&t(1,c=E.text),"value"in E&&t(2,f=E.value),"checked"in E&&t(10,u=E.checked),"disabled"in E&&t(11,v=E.disabled),"error"in E&&t(12,b=E.error),"testid"in E&&t(3,g=E.testid)},i.$$.update=()=>{i.$$.dirty&1&&t(8,r=`id-${l}`),i.$$.dirty&2048&&t(7,o=j(v)),i.$$.dirty&4096&&t(6,n=j(b)),i.$$.dirty&1024&&t(4,a=j(u))},t(5,s=!1),[l,c,f,g,a,s,n,o,r,m,u,v,b]}class vt 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;cursor:pointer}.goa-checkbox--disabled{opacity:40%}.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.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive--hover)}.goa-checkbox-container:hover{border:1px solid var(--goa-color-interactive)}.goa-checkbox-container:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--fw-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--color-gray-500)}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-status-emergency);background-color:var(--color-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-status-emergency)}</style>',S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},ir,tr,H,{name:0,text:1,value:2,checked:10,disabled:11,error:12,testid:3},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","text","value","checked","disabled","error","testid"]}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[10]}set checked(e){this.$$set({checked:e}),h()}get disabled(){return this.$$.ctx[11]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[12]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-checkbox",vt);function rr(i){let e,t,r,o,n,a,s,l,c;return{c(){e=_("div"),t=_("header"),r=_("div"),r.innerHTML='<slot name="title"></slot>',o=M(),n=_("div"),n.innerHTML='<slot name="actions"></slot>',s=M(),l=_("div"),l.innerHTML="<slot></slot>",this.c=p,d(r,"class","title"),d(n,"class","actions"),d(t,"class",a="heading--"+i[1]),d(l,"class","content"),d(e,"class",c="goa-container goa-container--"+i[0])},m(f,u){w(f,e,u),y(e,t),y(t,r),y(t,o),y(t,n),y(e,s),y(e,l)},p(f,[u]){u&2&&a!==(a="heading--"+f[1])&&d(t,"class",a),u&1&&c!==(c="goa-container goa-container--"+f[0])&&d(e,"class",c)},i:p,o:p,d(f){f&&x(e)}}}function or(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 yt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);font-size:var(--fs-base)}.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:3rem;min-height:1rem}.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}.actions{display:flex;align-items:center}</style>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},or,rr,H,{variant:0,headingsize:1},null),e&&(e.target&&w(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",yt);const se=[];function _t(i,e=p){let t;const r=new Set;function o(s){if(H(i,s)&&(i=s,t)){const l=!se.length;for(const c of r)c[1](),se.push(c,i);if(l){for(let c=0;c<se.length;c+=2)se[c][0](se[c+1]);se.length=0}}}function n(s){o(s(i))}function a(s,l=p){const c=[s,l];return r.add(c),r.size===1&&(t=e(o)||p),s(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:o,update:n,subscribe:a}}const ce={};class nr{constructor(){this.store=_t()}subscribe(e){this.store.subscribe(t=>{e(t)})}notify(e){this.store.update(()=>e)}}function Te(i){return ce[i]||(ce[i]=new nr),ce[i]}function pt(i){!ce[i]||delete ce[i]}const wt="init-response",kt="change",xt="select",De="filter";function zt(i){let e,t,r,o;return{c(){e=_("div"),d(e,"data-testid",t=`${i[0]}-dropdown-background`),d(e,"class","goa-dropdown-background")},m(n,a){w(n,e,a),r||(o=U(e,"click",i[14]),r=!0)},p(n,a){a&1&&t!==(t=`${n[0]}-dropdown-background`)&&d(e,"data-testid",t)},d(n){n&&x(e),r=!1,o()}}}function Et(i){let e,t,r,o,n,a,s;return{c(){e=_("div"),t=_("goa-input"),k(t,"error",i[12]),k(t,"disabled",i[4]),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[7].join(", ")),d(e,"data-testid",n=`${i[0]}-dropdown`)},m(l,c){w(l,e,c),y(e,t),a||(s=U(t,"focus",i[13]),a=!0)},p(l,c){c&4096&&k(t,"error",l[12]),c&16&&k(t,"disabled",l[4]),c&2&&k(t,"leadingicon",l[1]),c&8&&k(t,"placeholder",l[3]),c&1&&r!==(r=`${l[0]}-dropdown-input`)&&k(t,"id",r),c&128&&o!==(o=l[7].join(", "))&&k(t,"value",o),c&1&&n!==(n=`${l[0]}-dropdown`)&&d(e,"data-testid",n)},d(l){l&&x(e),a=!1,s()}}}function Ct(i){let e,t,r,o,n,a=i[5]&&At(i);return{c(){e=_("div"),a&&a.c(),t=M(),r=_("ul"),o=_("slot"),d(r,"class","goa-dropdown-list"),d(r,"style",n=`overflow-y: auto; max-height: ${i[2]}px`),d(e,"class","menu")},m(s,l){w(s,e,l),a&&a.m(e,null),y(e,t),y(e,r),y(r,o)},p(s,l){s[5]?a?a.p(s,l):(a=At(s),a.c(),a.m(e,t)):a&&(a.d(1),a=null),l&4&&n!==(n=`overflow-y: auto; max-height: ${s[2]}px`)&&d(r,"style",n)},d(s){s&&x(e),a&&a.d()}}}function At(i){let e,t,r;return{c(){e=_("goa-input"),k(e,"id",t=`${i[0]}-dropdown-filter`),k(e,"focused",i[8]),k(e,"name","filter"),k(e,"placeholder","Filter"),k(e,"trailingicon",r=i[11].length>0?"close-circle":"search"),k(e,"handletrailingiconclick",""),k(e,"type","text"),k(e,"value",i[11])},m(o,n){w(o,e,n),i[19](e)},p(o,n){n&1&&t!==(t=`${o[0]}-dropdown-filter`)&&k(e,"id",t),n&256&&k(e,"focused",o[8]),n&2048&&r!==(r=o[11].length>0?"close-circle":"search")&&k(e,"trailingicon",r),n&2048&&k(e,"value",o[11])},d(o){o&&x(e),i[19](null)}}}function ar(i){let e,t,r,o,n=i[8]&&zt(i),a=(!i[8]||!i[5])&&Et(i),s=i[8]&&Ct(i);return{c(){e=_("div"),n&&n.c(),t=M(),r=_("div"),a&&a.c(),o=M(),s&&s.c(),this.c=p,d(e,"data-testid",i[6]),d(e,"class","goa-dropdown-box")},m(l,c){w(l,e,c),n&&n.m(e,null),y(e,t),y(e,r),a&&a.m(r,null),y(r,o),s&&s.m(r,null),i[20](e)},p(l,[c]){l[8]?n?n.p(l,c):(n=zt(l),n.c(),n.m(e,t)):n&&(n.d(1),n=null),!l[8]||!l[5]?a?a.p(l,c):(a=Et(l),a.c(),a.m(r,o)):a&&(a.d(1),a=null),l[8]?s?s.p(l,c):(s=Ct(l),s.c(),s.m(r,null)):s&&(s.d(1),s=null),c&64&&d(e,"data-testid",l[6])},i:p,o:p,d(l){l&&x(e),n&&n.d(),a&&a.d(),s&&s.d(),i[20](null)}}}const lr=300;function sr(i,e,t){let r,{name:o}=e,{values:n}=e,{leadingicon:a}=e,{maxheight:s=lr}=e,{placeholder:l=""}=e,{multiselect:c}=e,{disabled:f}=e,{filterable:u}=e,{error:v}=e,{testid:b}=e,g=[],m,E=!1,C,z,T="",B;Ce(async()=>{await it(),t(18,B=Te(o)),B.subscribe(A=>{switch(A==null?void 0:A.type){case wt:{const{label:fe}=A;c?t(7,g=[...g,fe]):t(7,g=[fe]);break}case xt:{const{label:fe,value:Fe}=A;A.selected?c?(t(7,g=[...g,fe]),m=[...m,Fe]):(t(7,g=[fe]),m=[Fe]):(t(7,g=g.filter(qe=>qe!==fe)),m=m.filter(qe=>qe!==Fe)),c||t(8,E=!1),C.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:m}}));break}}})}),Qe(()=>{pt(o)});let O=A=>{A.stopPropagation(),t(11,T=A.detail.value),B.notify({type:De,filter:T})},F=A=>{A.stopPropagation(),t(11,T=""),B.notify({type:De,filter:T}),z==null||z.focus()};async function ue(){f||(t(8,E=!0),await it(),z==null||z.addEventListener("_change",O),z==null||z.addEventListener("_trailingIconClick",F),z==null||z.focus())}function te(){t(8,E=!1),z==null||z.removeEventListener("_change",O),z==null||z.removeEventListener("_trailingIconClick",F)}function R(A){le[A?"unshift":"push"](()=>{z=A,t(10,z)})}function N(A){le[A?"unshift":"push"](()=>{C=A,t(9,C)})}return i.$$set=A=>{"name"in A&&t(0,o=A.name),"values"in A&&t(15,n=A.values),"leadingicon"in A&&t(1,a=A.leadingicon),"maxheight"in A&&t(2,s=A.maxheight),"placeholder"in A&&t(3,l=A.placeholder),"multiselect"in A&&t(16,c=A.multiselect),"disabled"in A&&t(4,f=A.disabled),"filterable"in A&&t(5,u=A.filterable),"error"in A&&t(17,v=A.error),"testid"in A&&t(6,b=A.testid)},i.$$.update=()=>{if(i.$$.dirty&131072&&t(12,r=v?"true":"false"),i.$$.dirty&360448&&n!==void 0){let A;typeof n=="string"?A=n?JSON.parse(n):[]:A=n,m=A,B==null||B.notify({type:kt,multiSelect:c,values:A})}},[o,a,s,l,f,u,b,g,E,C,z,T,r,ue,te,n,c,v,B,R,N]}class Mt 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;z-index:98;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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},sr,ar,H,{name:0,values:15,leadingicon:1,maxheight:2,placeholder:3,multiselect:16,disabled:4,filterable:5,error:17,testid:6},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","values","leadingicon","maxheight","placeholder","multiselect","disabled","filterable","error","testid"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get values(){return this.$$.ctx[15]}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[16]}set multiselect(e){this.$$set({multiselect:e}),h()}get disabled(){return this.$$.ctx[4]}set disabled(e){this.$$set({disabled:e}),h()}get filterable(){return this.$$.ctx[5]}set filterable(e){this.$$set({filterable:e}),h()}get error(){return this.$$.ctx[17]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-dropdown",Mt);function cr(i){let e,t=(i[2]||i[0])+"",r,o,n;return{c(){e=_("li"),this.c=p,d(e,"class","goa-dropdown-option"),d(e,"style",r=`display: ${i[4]?"none":"block"}`),d(e,"data-testid",i[1]),P(e,"goa-dropdown-option--disabled",i[5]),P(e,"goa-dropdown-option--selected",i[3])},m(a,s){w(a,e,s),e.innerHTML=t,o||(n=U(e,"click",i[6]),o=!0)},p(a,[s]){s&5&&t!==(t=(a[2]||a[0])+"")&&(e.innerHTML=t),s&16&&r!==(r=`display: ${a[4]?"none":"block"}`)&&d(e,"style",r),s&2&&d(e,"data-testid",a[1]),s&32&&P(e,"goa-dropdown-option--disabled",a[5]),s&8&&P(e,"goa-dropdown-option--selected",a[3])},i:p,o:p,d(a){a&&x(e),o=!1,n()}}}function dr(i,e,t){let r,o,n,{name:a=""}=e,{value:s=""}=e,{label:l=""}=e,{selected:c="false"}=e,{disabled:f="false"}=e,{hide:u="false"}=e,{testid:v}=e,b,g,m=!1;function E(z){if(z.length===0||!l.toLowerCase().includes(z.toLowerCase()))return l;t(2,b="");let T=0;return[...l.matchAll(new RegExp(z,"gi"))].forEach(B=>{t(2,b+=l.slice(T,B.index)+`<b>${B[0]}</b>`),T=B.index+B[0].length}),t(2,b+=l.slice(T)),b}function C(){t(3,r=!r),g.notify({type:xt,label:l,value:s,selected:r})}return Ce(()=>{g=Te(a),g.subscribe(z=>{var T;switch(z==null?void 0:z.type){case kt:{t(3,r=(T=z.values)===null||T===void 0?void 0:T.includes(s)),!m&&r&&g.notify({type:wt,label:l,value:s,selected:!0}),m=!0;break}case De:{const{filter:B}=z;if(!s&&!l)t(7,u="false");else{let O;switch(typeof s){case"string":O=(s==null?void 0:s.toLowerCase().includes(B))||(l==null?void 0:l.toLowerCase().includes(B));break;case"number":O=s===B||(l==null?void 0:l.toLowerCase().includes(B));break}t(7,u=Gi(!O))}t(2,b=E(B));break}}})}),i.$$set=z=>{"name"in z&&t(8,a=z.name),"value"in z&&t(9,s=z.value),"label"in z&&t(0,l=z.label),"selected"in z&&t(10,c=z.selected),"disabled"in z&&t(11,f=z.disabled),"hide"in z&&t(7,u=z.hide),"testid"in z&&t(1,v=z.testid)},i.$$.update=()=>{i.$$.dirty&1024&&t(3,r=j(c)),i.$$.dirty&2048&&t(5,o=j(f)),i.$$.dirty&128&&t(4,n=j(u))},[l,v,b,r,n,o,C,u,a,s,c,f]}class Rt 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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},dr,cr,H,{name:8,value:9,label:0,selected:10,disabled:11,hide:7,testid:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","label","selected","disabled","hide","testid"]}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 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()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-dropdown-item",Rt);function ur(i){let e,t;return{c(){e=_("div"),t=_("slot"),this.c=p,d(e,"class","goa-flex-row"),D(e,"gap",i[0])},m(r,o){w(r,e,o),y(e,t)},p(r,[o]){o&1&&D(e,"gap",r[0])},i:p,o:p,d(r){r&&x(e)}}}function fr(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 Lt 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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},fr,ur,H,{gap:1},null),e&&(e.target&&w(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",Lt);function Tt(i){let e,t,r,o=i[3]&&Ht();return{c(){e=_("label"),t=W(i[0]),r=M(),o&&o.c(),d(e,"for","")},m(n,a){w(n,e,a),y(e,t),y(e,r),o&&o.m(e,null)},p(n,a){a&1&&Z(t,n[0]),n[3]?o||(o=Ht(),o.c(),o.m(e,null)):o&&(o.d(1),o=null)},d(n){n&&x(e),o&&o.d()}}}function Ht(i){let e;return{c(){e=_("em"),e.textContent="(optional)"},m(t,r){w(t,e,r)},d(t){t&&x(e)}}}function It(i){let e,t;return{c(){e=_("div"),t=W(i[2]),d(e,"class","error-msg")},m(r,o){w(r,e,o),y(e,t)},p(r,o){o&4&&Z(t,r[2])},d(r){r&&x(e)}}}function Gt(i){let e,t;return{c(){e=_("div"),t=W(i[1]),d(e,"class","help-msg")},m(r,o){w(r,e,o),y(e,t)},p(r,o){o&2&&Z(t,r[1])},d(r){r&&x(e)}}}function gr(i){let e,t,r,o,n,a=i[0]&&Tt(i),s=i[2]&&It(i),l=i[1]&&Gt(i);return{c(){e=_("div"),a&&a.c(),t=M(),r=_("div"),r.innerHTML="<slot></slot>",o=M(),s&&s.c(),n=M(),l&&l.c(),this.c=p,d(r,"class","form-item-input"),d(e,"class","goa-form-item")},m(c,f){w(c,e,f),a&&a.m(e,null),y(e,t),y(e,r),y(e,o),s&&s.m(e,null),y(e,n),l&&l.m(e,null)},p(c,[f]){c[0]?a?a.p(c,f):(a=Tt(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[2]?s?s.p(c,f):(s=It(c),s.c(),s.m(e,n)):s&&(s.d(1),s=null),c[1]?l?l.p(c,f):(l=Gt(c),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:p,o:p,d(c){c&&x(e),a&&a.d(),s&&s.d(),l&&l.d()}}}function hr(i,e,t){let r,{label:o=""}=e,{helptext:n=""}=e,{error:a=""}=e,{optional:s}=e;return i.$$set=l=>{"label"in l&&t(0,o=l.label),"helptext"in l&&t(1,n=l.helptext),"error"in l&&t(2,a=l.error),"optional"in l&&t(4,s=l.optional)},i.$$.update=()=>{i.$$.dirty&16&&t(3,r=j(s))},[o,n,a,r,s]}class St 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:var(--fw-bold);color:var(--goa-color-text);font-size:var(--fs-base);padding:0.5rem 0}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(--goa-color-text)}.error-msg{font-size:var(--fs-sm);color:var(--goa-color-interactive--error);margin-bottom:0.25rem}</style>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},hr,gr,H,{label:0,helptext:1,error:2,optional:4},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["label","helptext","error","optional"]}get label(){return this.$$.ctx[0]}set label(e){this.$$set({label:e}),h()}get helptext(){return this.$$.ctx[1]}set helptext(e){this.$$set({helptext:e}),h()}get error(){return this.$$.ctx[2]}set error(e){this.$$set({error:e}),h()}get optional(){return this.$$.ctx[4]}set optional(e){this.$$set({optional:e}),h()}}customElements.define("goa-form-item",St);function mr(i){let e,t,r,o,n,a,s,l;return{c(){e=_("div"),t=_("goa-page-block"),r=_("h1"),o=W(i[0]),n=M(),a=_("div"),a.innerHTML="<slot></slot>",s=M(),l=_("slot"),this.c=p,d(r,"role","heading"),d(a,"class","goa-hero-banner-content"),d(a,"role","note"),d(l,"name","actions"),d(e,"class","goa-hero"),d(e,"data-testid","background"),D(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]+")"),D(e,"background-size","cover"),D(e,"background-position","center"),D(e,"background-repeat","no-repeat")},m(c,f){w(c,e,f),y(e,t),y(t,r),y(r,o),y(t,n),y(t,a),y(t,s),y(t,l)},p(c,[f]){f&1&&Z(o,c[0]),f&2&&D(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:p,o:p,d(c){c&&x(e)}}}function br(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 Bt 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-brand);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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},br,mr,H,{title:0,backgroundurl:1},null),e&&(e.target&&w(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",Bt);function Pt(i){let e,t,r;return{c(){e=_("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){w(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&&x(e)}}}function vr(i){let e,t,r,o=i[0]&&Pt(i);return{c(){e=_("div"),o&&o.c(),this.c=p,d(e,"class","goa-icon"),d(e,"data-testid",t=`icon-${i[0]}`),d(e,"style",r=`--size: ${i[2]}`),P(e,"inverted",i[3])},m(n,a){w(n,e,a),o&&o.m(e,null)},p(n,[a]){n[0]?o?o.p(n,a):(o=Pt(n),o.c(),o.m(e,null)):o&&(o.d(1),o=null),a&1&&t!==(t=`icon-${n[0]}`)&&d(e,"data-testid",t),a&4&&r!==(r=`--size: ${n[2]}`)&&d(e,"style",r),a&8&&P(e,"inverted",n[3])},i:p,o:p,d(n){n&&x(e),o&&o.d()}}}function yr(i,e,t){let r,o,{type:n}=e,{size:a="medium"}=e,{theme:s="outline"}=e,{inverted:l}=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,s=c.theme),"inverted"in c&&t(5,l=c.inverted)},i.$$.update=()=>{i.$$.dirty&32&&t(3,r=j(l)),i.$$.dirty&16&&t(2,o={small:"1.1rem",medium:"1.5rem",large:"2rem"}[a])},[n,s,o,r,a,l]}class jt 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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},yr,vr,H,{type:0,size:4,theme:1,inverted:5},null),e&&(e.target&&w(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",jt);function _r(i){let e,t,r,o;return{c(){e=_("button"),t=_("goa-icon"),this.c=p,k(t,"type",i[0]),k(t,"size",i[1]),k(t,"theme",i[2]),k(t,"inverted",i[5]),D(e,"--size",i[6]),d(e,"title",i[3]),e.disabled=i[7],d(e,"class",i[8]),d(e,"data-testid",i[4])},m(n,a){w(n,e,a),y(e,t),r||(o=U(e,"click",pr),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&&D(e,"--size",n[6]),a&8&&d(e,"title",n[3]),a&128&&(e.disabled=n[7]),a&256&&d(e,"class",n[8]),a&16&&d(e,"data-testid",n[4])},i:p,o:p,d(n){n&&x(e),r=!1,o()}}}function pr(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function wr(i,e,t){let r,o,n,a,{type:s}=e,{size:l="medium"}=e,{theme:c="outline"}=e,{variant:f="color"}=e,{title:u=""}=e,{testId:v=""}=e,{disabled:b}=e,{inverted:g}=e;return i.$$set=m=>{"type"in m&&t(0,s=m.type),"size"in m&&t(1,l=m.size),"theme"in m&&t(2,c=m.theme),"variant"in m&&t(9,f=m.variant),"title"in m&&t(3,u=m.title),"testId"in m&&t(4,v=m.testId),"disabled"in m&&t(10,b=m.disabled),"inverted"in m&&t(11,g=m.inverted)},i.$$.update=()=>{i.$$.dirty&2048&&t(5,n=j(g)),i.$$.dirty&544&&t(8,r=`goa-icon-button goa-icon-button--${f} ${n?"goa-icon-button--inverted":""}`),i.$$.dirty&1024&&t(7,o=j(b)),i.$$.dirty&2&&t(6,a={small:"1rem",medium:"1.5rem",large:"2rem"}[l])},[s,l,c,u,v,n,a,o,r,f,b,g]}class Dt 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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},wr,_r,H,{type:0,size:1,theme:2,variant:9,title:3,testId:4,disabled:10,inverted:11},null),e&&(e.target&&w(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",Dt);function Ot(i){let e,t;return{c(){e=_("div"),t=_("goa-icon"),k(t,"data-testid","leading-icon"),k(t,"type",i[4]),d(e,"class","goa-input-leading-icon")},m(r,o){w(r,e,o),y(e,t)},p(r,o){o&16&&k(t,"type",r[4])},d(r){r&&x(e)}}}function Nt(i){let e,t;return{c(){e=_("div"),t=_("goa-icon"),k(t,"data-testid","trailing-icon"),k(t,"size","medium"),k(t,"type",i[5]),d(e,"class","goa-input-trailing-icon")},m(r,o){w(r,e,o),y(e,t)},p(r,o){o&32&&k(t,"type",r[5])},d(r){r&&x(e)}}}function Ft(i){let e,t,r,o;return{c(){e=_("div"),t=_("goa-icon-button"),k(t,"disabled",i[10]),k(t,"variant","nocolor"),k(t,"size","medium"),k(t,"type",i[5]),k(t,"data-testid","trailing-icon-button"),d(e,"class","goa-input-trailing-icon")},m(n,a){w(n,e,a),y(e,t),r||(o=U(t,"click",xr),r=!0)},p(n,a){a&1024&&k(t,"disabled",n[10]),a&32&&k(t,"type",n[5])},d(n){n&&x(e),r=!1,o()}}}function kr(i){let e,t,r,o,n,a,s,l,c,f,u=i[4]&&Ot(i),v=i[5]&&!i[13]&&Nt(i),b=i[5]&&i[13]&&Ft(i);return{c(){e=_("div"),u&&u.c(),t=M(),r=_("input"),n=M(),v&&v.c(),a=M(),b&&b.c(),this.c=p,d(r,"class",o=`input--${i[6]}`),r.readOnly=i[12],r.disabled=i[10],d(r,"data-testid",i[7]),d(r,"name",i[1]),d(r,"type",i[0]),r.value=i[2],d(r,"placeholder",i[3]),d(e,"style",s=`width: ${i[8]};`),d(e,"class",l=`
|
|
7
7
|
goa-input ${i[10]?"goa-input--disabled":""}
|
|
8
8
|
variant--${i[6]}
|
|
9
9
|
type--${i[0]}
|
|
10
|
-
`),
|
|
10
|
+
`),P(e,"error",i[11])},m(g,m){w(g,e,m),u&&u.m(e,null),y(e,t),y(e,r),i[21](r),y(e,n),v&&v.m(e,null),y(e,a),b&&b.m(e,null),c||(f=U(r,"keyup",i[14]),c=!0)},p(g,[m]){g[4]?u?u.p(g,m):(u=Ot(g),u.c(),u.m(e,t)):u&&(u.d(1),u=null),m&64&&o!==(o=`input--${g[6]}`)&&d(r,"class",o),m&4096&&(r.readOnly=g[12]),m&1024&&(r.disabled=g[10]),m&128&&d(r,"data-testid",g[7]),m&2&&d(r,"name",g[1]),m&1&&d(r,"type",g[0]),m&4&&r.value!==g[2]&&(r.value=g[2]),m&8&&d(r,"placeholder",g[3]),g[5]&&!g[13]?v?v.p(g,m):(v=Nt(g),v.c(),v.m(e,a)):v&&(v.d(1),v=null),g[5]&&g[13]?b?b.p(g,m):(b=Ft(g),b.c(),b.m(e,null)):b&&(b.d(1),b=null),m&256&&s!==(s=`width: ${g[8]};`)&&d(e,"style",s),m&1089&&l!==(l=`
|
|
11
11
|
goa-input ${g[10]?"goa-input--disabled":""}
|
|
12
12
|
variant--${g[6]}
|
|
13
13
|
type--${g[0]}
|
|
14
|
-
`)&&d(e,"class",l),
|
|
14
|
+
`)&&d(e,"class",l),m&3137&&P(e,"error",g[11])},i:p,o:p,d(g){g&&x(e),u&&u.d(),i[21](null),v&&v.d(),b&&b.d(),c=!1,f()}}}function xr(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function zr(i,e,t){let r,o,n,a,s,{type:l="text"}=e,{name:c=""}=e,{value:f=""}=e,{placeholder:u=""}=e,{leadingicon:v=null}=e,{trailingicon:b=null}=e,{variant:g="goa"}=e,{disabled:m="false"}=e,{handletrailingiconclick:E="false"}=e,{focused:C="false"}=e,{readonly:z="false"}=e,{error:T="false"}=e,{testid:B=""}=e,{width:O="100%"}=e,F;function ue(R){R.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:c,value:R.target.value}})),R.stopPropagation()}function te(R){le[R?"unshift":"push"](()=>{F=R,t(9,F)})}return i.$$set=R=>{"type"in R&&t(0,l=R.type),"name"in R&&t(1,c=R.name),"value"in R&&t(2,f=R.value),"placeholder"in R&&t(3,u=R.placeholder),"leadingicon"in R&&t(4,v=R.leadingicon),"trailingicon"in R&&t(5,b=R.trailingicon),"variant"in R&&t(6,g=R.variant),"disabled"in R&&t(15,m=R.disabled),"handletrailingiconclick"in R&&t(16,E=R.handletrailingiconclick),"focused"in R&&t(17,C=R.focused),"readonly"in R&&t(18,z=R.readonly),"error"in R&&t(19,T=R.error),"testid"in R&&t(7,B=R.testid),"width"in R&&t(8,O=R.width)},i.$$.update=()=>{i.$$.dirty&65536&&t(13,r=j(E)),i.$$.dirty&131072&&t(20,o=j(C)),i.$$.dirty&262144&&t(12,n=j(z)),i.$$.dirty&524288&&t(11,a=j(T)),i.$$.dirty&32768&&t(10,s=j(m)),i.$$.dirty&1049088&&o&&F&&setTimeout(()=>F.focus(),1)},[l,c,f,u,v,b,g,B,O,F,s,a,n,r,ue,m,E,C,z,T,o,te]}class qt 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:inline-flex;align-items:center}.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--focus)}.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 input[readonly]{cursor:pointer}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{line-height:18px}.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.5rem}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}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-status-emergency-dark)}</style>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},zr,kr,H,{type:0,name:1,value:2,placeholder:3,leadingicon:4,trailingicon:5,variant:6,disabled:15,handletrailingiconclick:16,focused:17,readonly:18,error:19,testid:7,width:8},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","name","value","placeholder","leadingicon","trailingicon","variant","disabled","handletrailingiconclick","focused","readonly","error","testid","width"]}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 placeholder(){return this.$$.ctx[3]}set placeholder(e){this.$$set({placeholder:e}),h()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get trailingicon(){return this.$$.ctx[5]}set trailingicon(e){this.$$set({trailingicon:e}),h()}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),h()}get disabled(){return this.$$.ctx[15]}set disabled(e){this.$$set({disabled:e}),h()}get handletrailingiconclick(){return this.$$.ctx[16]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),h()}get focused(){return this.$$.ctx[17]}set focused(e){this.$$set({focused:e}),h()}get readonly(){return this.$$.ctx[18]}set readonly(e){this.$$set({readonly:e}),h()}get error(){return this.$$.ctx[19]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),h()}get width(){return this.$$.ctx[8]}set width(e){this.$$set({width:e}),h()}}customElements.define("goa-input",qt);function Er(i){const e=i-1;return e*e*e+1}function Cr(i){return Math.pow(i-1,3)*(1-i)+1}function de(i,{delay:e=0,duration:t=400,easing:r=ge}={}){const o=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:n=>`opacity: ${n*o}`}}function Wt(i,{delay:e=0,duration:t=400,easing:r=Er,x:o=0,y:n=0,opacity:a=0}={}){const s=getComputedStyle(i),l=+s.opacity,c=s.transform==="none"?"":s.transform,f=l*(1-a);return{delay:e,duration:t,easing:r,css:(u,v)=>`
|
|
15
15
|
transform: ${c} translate(${(1-u)*o}px, ${(1-u)*n}px);
|
|
16
|
-
opacity: ${l-f*v}`}}function Dt(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 s=n.offsetWidth-a.offsetWidth;return n.parentNode.removeChild(n),s}return e.enable&&t(),{update(){e.enable?t():r()},destroy(){r()}}}function Ot(i){let e,t,r,o,n,a,s,l,c,f,u,v,m,g,b,C,E,z,L,B,W=i[0]&&Nt(i),N=i[4]&&Ft(i);function ae(O,te){return O[5]?wr:pr}let ee=ae(i),R=ee(i);return{c(){e=_("div"),t=_("div"),r=M(),o=_("div"),W&&W.c(),n=M(),N&&N.c(),a=M(),s=_("div"),R.c(),l=M(),c=_("slot"),f=M(),u=_("div"),u.innerHTML='<slot name="actions"></slot>',d(t,"data-testid","modal-overlay"),d(t,"class","modal-overlay"),d(s,"data-testid","modal-content"),d(s,"class","modal-content"),d(u,"data-testid","modal-actions"),d(u,"class","modal-actions"),d(o,"class","modal-pane"),d(e,"data-testid","modal"),d(e,"class","modal"),d(e,"style",g="--scroll-offset: "+i[3]+"px; "+(i[1]&&`--width: ${i[1]};`)+";")},m(O,te){w(O,e,te),y(e,t),y(e,r),y(e,o),W&&W.m(o,null),y(o,n),N&&N.m(o,null),y(o,a),y(o,s),R.m(s,null),y(s,l),y(s,c),y(o,f),y(o,u),z=!0,L||(B=[U(t,"click",i[6]),Ve(b=Dt.call(null,e,{enable:i[2]}))],L=!0)},p(O,te){O[0]?W?W.p(O,te):(W=Nt(O),W.c(),W.m(o,n)):W&&(W.d(1),W=null),O[4]?N?N.p(O,te):(N=Ft(O),N.c(),N.m(o,a)):N&&(N.d(1),N=null),ee!==(ee=ae(O))&&(R.d(1),R=ee(O),R&&(R.c(),R.m(s,l))),(!z||te&10&&g!==(g="--scroll-offset: "+O[3]+"px; "+(O[1]&&`--width: ${O[1]};`)+";"))&&d(e,"style",g),b&&re(b.update)&&te&4&&b.update.call(null,{enable:O[2]})},i(O){z||(X(()=>{m&&m.end(1),v=et(o,Pt,{duration:200,y:200}),v.start()}),X(()=>{E&&E.end(1),C=et(e,fe,{duration:200}),C.start()}),z=!0)},o(O){v&&v.invalidate(),m=tt(o,Pt,{delay:200,duration:200,y:-100}),C&&C.invalidate(),E=tt(e,fe,{delay:200,duration:200}),z=!1},d(O){O&&x(e),W&&W.d(),N&&N.d(),R.d(),O&&m&&m.end(),O&&E&&E.end(),L=!1,Y(B)}}}function Nt(i){let e,t;return{c(){e=_("div"),t=q(i[0]),d(e,"data-testid","modal-title"),d(e,"class","modal-title")},m(r,o){w(r,e,o),y(e,t)},p(r,o){o&1&&Z(t,r[0])},d(r){r&&x(e)}}}function Ft(i){let e,t,r,o;return{c(){e=_("div"),t=_("goa-icon-button"),k(t,"testid","modal-close-button"),k(t,"type","close"),d(e,"class","modal-close")},m(n,a){w(n,e,a),y(e,t),r||(o=U(t,"click",i[6]),r=!0)},p,d(n){n&&x(e),r=!1,o()}}}function pr(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",D(e,"margin","1.75rem")},m(t,r){w(t,e,r)},d(t){t&&x(e)}}}function wr(i){let e;return{c(){e=_("goa-scrollable"),e.innerHTML="<slot></slot>",k(e,"direction","vertical"),k(e,"height","50"),k(e,"hpadding","1.75")},m(t,r){w(t,e,r)},d(t){t&&x(e)}}}function kr(i){let e,t,r=i[2]&&Ot(i);return{c(){r&&r.c(),e=se(),this.c=p},m(o,n){r&&r.m(o,n),w(o,e,n),t=!0},p(o,[n]){o[2]?r?(r.p(o,n),n&4&&F(r,1)):(r=Ot(o),r.c(),F(r,1),r.m(e.parentNode,e)):r&&(ye(),V(r,1,1,()=>{r=null}),_e())},i(o){t||(F(r),t=!0)},o(o){V(r),t=!1},d(o){r&&r.d(o),o&&x(e)}}}function xr(i,e,t){let r,o,n,{title:a}=e,{closable:s}=e,{scrollable:l}=e,{open:c}=e,{width:f}=e,u=0;function v(m){!r||(m.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),m.stopPropagation())}return i.$$set=m=>{"title"in m&&t(0,a=m.title),"closable"in m&&t(7,s=m.closable),"scrollable"in m&&t(8,l=m.scrollable),"open"in m&&t(9,c=m.open),"width"in m&&t(1,f=m.width)},i.$$.update=()=>{i.$$.dirty&128&&t(4,r=P(s)),i.$$.dirty&256&&t(5,o=P(l)),i.$$.dirty&512&&t(2,n=P(c)),i.$$.dirty&4&&n&&t(3,u=window.pageYOffset)},[a,f,n,u,r,o,v,s,l,c]}class qt 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;width:var(--width, 60ch);margin:1rem;box-shadow:var(--shadow-2);border-radius:4px;max-height:90%}@media(min-width: 640px){.modal-pane{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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},xr,kr,H,{title:0,closable:7,scrollable:8,open:9,width:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["title","closable","scrollable","open","width"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),h()}get closable(){return this.$$.ctx[7]}set closable(e){this.$$set({closable:e}),h()}get scrollable(){return this.$$.ctx[8]}set scrollable(e){this.$$set({scrollable:e}),h()}get open(){return this.$$.ctx[9]}set open(e){this.$$set({open:e}),h()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),h()}}customElements.define("goa-modal",qt);function Wt(i){let e,t,r,o,n,a,s,l,c,f,u,v,m;return{c(){e=_("div"),t=_("div"),r=_("goa-icon"),o=M(),n=_("div"),n.innerHTML="<slot></slot>",a=M(),s=_("div"),l=_("goa-icon-button"),k(r,"type",i[2]),k(r,"inverted",""),d(t,"class","icon"),d(n,"class","content"),k(l,"type","close"),k(l,"inverted",""),d(s,"class","close"),d(e,"class",c="notification "+i[0])},m(g,b){w(g,e,b),y(e,t),y(t,r),y(e,o),y(e,n),y(e,a),y(e,s),y(s,l),u=!0,v||(m=U(l,"click",i[3]),v=!0)},p(g,b){(!u||b&4)&&k(r,"type",g[2]),(!u||b&1&&c!==(c="notification "+g[0]))&&d(e,"class",c)},i(g){u||(X(()=>{f||(f=Le(e,fe,{},!0)),f.run(1)}),u=!0)},o(g){f||(f=Le(e,fe,{},!1)),f.run(0),u=!1},d(g){g&&x(e),g&&f&&f.end(),v=!1,m()}}}function zr(i){let e,t,r=i[1]&&Wt(i);return{c(){r&&r.c(),e=se(),this.c=p},m(o,n){r&&r.m(o,n),w(o,e,n),t=!0},p(o,[n]){o[1]?r?(r.p(o,n),n&2&&F(r,1)):(r=Wt(o),r.c(),F(r,1),r.m(e.parentNode,e)):r&&(ye(),V(r,1,1,()=>{r=null}),_e())},i(o){t||(F(r),t=!0)},o(o){V(r),t=!1},d(o){r&&r.d(o),o&&x(e)}}}function Cr(i,e,t){let r,{type:o}=e,n=!0;function a(){t(1,n=!1)}return i.$$set=s=>{"type"in s&&t(0,o=s.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 Vt 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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Cr,zr,H,{type:0},null),e&&(e.target&&w(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",Vt);function Er(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=p,d(e,"class","layout")},m(t,r){w(t,e,r)},p,i:p,o:p,d(t){t&&x(e)}}}class Zt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>@media(min-width: 768px){}.layout{max-width:768px;margin:0 auto;padding:2rem}</style>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,Er,H,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-page-layout",Zt);function Ut(i){let e,t,r,o;const n=[Mr,Ar],a=[];function s(l,c){return l[6]?0:l[5]?1:-1}return~(e=s(i))&&(t=a[e]=n[e](i)),{c(){t&&t.c(),r=se()},m(l,c){~e&&a[e].m(l,c),w(l,r,c),o=!0},p(l,c){let f=e;e=s(l),e===f?~e&&a[e].p(l,c):(t&&(ye(),V(a[f],1,1,()=>{a[f]=null}),_e()),~e?(t=a[e],t?t.p(l,c):(t=a[e]=n[e](l),t.c()),F(t,1),t.m(r.parentNode,r)):t=null)},i(l){o||(F(t),o=!0)},o(l){V(t),o=!1},d(l){~e&&a[e].d(l),l&&x(r)}}}function Ar(i){let e,t,r,o,n,a=i[1]&&Xt(i);return{c(){e=_("div"),t=_("goa-spinner"),o=M(),a&&a.c(),k(t,"type",i[0]),k(t,"size",i[4]),k(t,"progress",r=i[2]||0),d(e,"class",n="spinner-"+i[4]),j(e,"inline",i[5])},m(s,l){w(s,e,l),y(e,t),y(e,o),a&&a.m(e,null)},p(s,l){l&1&&k(t,"type",s[0]),l&16&&k(t,"size",s[4]),l&4&&r!==(r=s[2]||0)&&k(t,"progress",r),s[1]?a?a.p(s,l):(a=Xt(s),a.c(),a.m(e,null)):a&&(a.d(1),a=null),l&16&&n!==(n="spinner-"+s[4])&&d(e,"class",n),l&48&&j(e,"inline",s[5])},i:p,o:p,d(s){s&&x(e),a&&a.d()}}}function Mr(i){let e,t,r,o,n,a,s,l,c=i[1]&&Jt(i);return{c(){e=_("div"),t=_("goa-spinner"),o=M(),c&&c.c(),k(t,"type",i[0]),k(t,"size",i[4]),k(t,"progress",r=i[2]||0),j(e,"fullscreen",i[6])},m(f,u){w(f,e,u),y(e,t),y(e,o),c&&c.m(e,null),a=!0,s||(l=Ve(Dt.call(null,e,{enable:!0})),s=!0)},p(f,u){(!a||u&1)&&k(t,"type",f[0]),(!a||u&16)&&k(t,"size",f[4]),(!a||u&4&&r!==(r=f[2]||0))&&k(t,"progress",r),f[1]?c?c.p(f,u):(c=Jt(f),c.c(),c.m(e,null)):c&&(c.d(1),c=null),u&64&&j(e,"fullscreen",f[6])},i(f){a||(X(()=>{n||(n=Le(e,fe,{duration:300},!0)),n.run(1)}),a=!0)},o(f){n||(n=Le(e,fe,{duration:300},!1)),n.run(0),a=!1},d(f){f&&x(e),c&&c.d(),f&&n&&n.end(),s=!1,l()}}}function Xt(i){let e,t;return{c(){e=_("div"),t=q(i[1]),d(e,"class","message")},m(r,o){w(r,e,o),y(e,t)},p(r,o){o&2&&Z(t,r[1])},d(r){r&&x(e)}}}function Jt(i){let e,t;return{c(){e=_("div"),t=q(i[1]),d(e,"class","message")},m(r,o){w(r,e,o),y(e,t)},p(r,o){o&2&&Z(t,r[1])},d(r){r&&x(e)}}}function Rr(i){let e,t,r=i[3]&&Ut(i);return{c(){r&&r.c(),e=se(),this.c=p},m(o,n){r&&r.m(o,n),w(o,e,n),t=!0},p(o,[n]){o[3]?r?(r.p(o,n),n&8&&F(r,1)):(r=Ut(o),r.c(),F(r,1),r.m(e.parentNode,e)):r&&(ye(),V(r,1,1,()=>{r=null}),_e())},i(o){t||(F(r),t=!0)},o(o){V(r),t=!1},d(o){r&&r.d(o),o&&x(e)}}}function Lr(i,e,t){let r,o,n,a,s,{type:l}=e,{variant:c}=e,{size:f}=e,{message:u=""}=e,{progress:v=0}=e,{visible:m="false"}=e;return i.$$set=g=>{"type"in g&&t(0,l=g.type),"variant"in g&&t(7,c=g.variant),"size"in g&&t(8,f=g.size),"message"in g&&t(1,u=g.message),"progress"in g&&t(2,v=g.progress),"visible"in g&&t(9,m=g.visible)},i.$$.update=()=>{i.$$.dirty&512&&t(10,r=P(m)),i.$$.dirty&128&&t(6,o=c==="fullscreen"),i.$$.dirty&128&&t(5,n=c==="inline"),i.$$.dirty&256&&t(4,a=f==="small"?"large":"xlarge"),i.$$.dirty&1281&&t(3,s=l&&r&&f)},[l,u,v,s,a,n,o,c,f,m,r]}class Kt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.fullscreen{position:fixed;inset: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:inline-flex;flex-direction:column;align-items:center;justify-content:center}.spinner-large .message{margin-top:1.5rem;font-size:1.2rem}.spinner-xlarge .message{margin-top:2rem;font-size:1.5rem}</style>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Lr,Rr,H,{type:0,variant:7,size:8,message:1,progress:2,visible:9},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","variant","size","message","progress","visible"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),h()}get size(){return this.$$.ctx[8]}set size(e){this.$$set({size: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[9]}set visible(e){this.$$set({visible:e}),h()}}customElements.define("goa-circular-progress",Kt);function Tr(i){let e,t,r;return{c(){e=_("div"),t=_("slot"),this.c=p,d(e,"class",r=`goa-radio-group--${i[0]}`),d(e,"data-testid",i[1])},m(o,n){w(o,e,n),y(e,t),i[10](e)},p(o,[n]){n&1&&r!==(r=`goa-radio-group--${o[0]}`)&&d(e,"class",r),n&2&&d(e,"data-testid",o[1])},i:p,o:p,d(o){o&&x(e),i[10](null)}}}function Hr(i,e,t){let r,{name:o}=e,{value:n}=e,{orientation:a="vertical"}=e,{disabled:s="false"}=e,{error:l="false"}=e,{testid:c=""}=e,f,u,v;Ee(()=>{t(8,u=Te(o)),u.subscribe("optionChange",g=>{u.notify("propChange",{value:g.value,disabled:g.disabled,error:g.error}),v.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:g.value}}))})}),Se(()=>{vt(o)});function m(g){ce[g?"unshift":"push"](()=>{v=g,t(2,v)})}return i.$$set=g=>{"name"in g&&t(3,o=g.name),"value"in g&&t(4,n=g.value),"orientation"in g&&t(0,a=g.orientation),"disabled"in g&&t(5,s=g.disabled),"error"in g&&t(6,l=g.error),"testid"in g&&t(1,c=g.testid)},i.$$.update=()=>{i.$$.dirty&32&&t(9,r=P(s)),i.$$.dirty&64&&t(7,f=P(l)),i.$$.dirty&912&&(u==null||u.notify("propChange",{value:n,disabled:r,error:f}))},[a,c,v,o,n,s,l,f,u,r,m]}class Yt 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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Hr,Tr,H,{name:3,value:4,orientation:0,disabled:5,error:6,testid:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","orientation","disabled","error","testid"]}get name(){return this.$$.ctx[3]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[4]}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[5]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[6]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-radio-group",Yt);function Ir(i){let e,t,r,o,n,a,s,l=(i[1]||i[0])+"",c,f,u,v;return{c(){e=_("label"),t=_("input"),r=M(),o=_("div"),n=M(),a=_("span"),s=_("slot"),c=q(l),this.c=p,d(t,"type","radio"),d(t,"name",i[2]),t.value=i[0],t.checked=i[4],t.disabled=i[3],d(o,"class","goa-radio-icon"),d(a,"class","goa-radio-label"),d(e,"data-testid",f="radio-item-"+i[0]),d(e,"class","goa-radio"),j(e,"goa-radio--disabled",i[3]),j(e,"goa-radio--error",i[5])},m(m,g){w(m,e,g),y(e,t),y(e,r),y(e,o),y(e,n),y(e,a),y(a,s),y(s,c),u||(v=U(t,"change",i[6]),u=!0)},p(m,[g]){g&4&&d(t,"name",m[2]),g&1&&(t.value=m[0]),g&16&&(t.checked=m[4]),g&8&&(t.disabled=m[3]),g&3&&l!==(l=(m[1]||m[0])+"")&&Z(c,l),g&1&&f!==(f="radio-item-"+m[0])&&d(e,"data-testid",f),g&8&&j(e,"goa-radio--disabled",m[3]),g&32&&j(e,"goa-radio--error",m[5])},i:p,o:p,d(m){m&&x(e),u=!1,v()}}}function Gr(i,e,t){let{value:r}=e,{label:o}=e,{name:n}=e,a=!1,s=!1,l=!1,c;Ee(()=>{c=Te(n),c.subscribe("propChange",u=>{t(4,s=u.value===r),t(3,a=u.disabled),t(5,l=u.error)})});function f(u){t(4,s=!s),s&&c.notify("optionChange",{checked:s,disabled:a,value:r})}return i.$$set=u=>{"value"in u&&t(0,r=u.value),"label"in u&&t(1,o=u.label),"name"in u&&t(2,n=u.name)},[r,o,n,a,s,l,f]}class Qt extends I{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}label.goa-radio{--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"]{width:0;height:0}.goa-radio input[type="radio"]:hover~.goa-radio-icon{border-color:var(--goa-color-interactive--hover)}.goa-radio input[type="radio"]:focus~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--highlight)}.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-color-interactive--highlight)}.goa-radio--disabled{opacity:0.4}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active)}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active)}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-color-status-emergency)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-color-status-emergency)}</style>',S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Gr,Ir,H,{value:0,label:1,name:2},null),e&&(e.target&&w(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",Qt);function Sr(i){let e,t,r;return{c(){e=_("div"),t=_("slot"),this.c=p,d(e,"class","goa-scrollable"),d(e,"style",r=`
|
|
16
|
+
opacity: ${l-f*v}`}}function Vt(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 s=n.offsetWidth-a.offsetWidth;return n.parentNode.removeChild(n),s}return e.enable&&t(),{update(){e.enable?t():r()},destroy(){r()}}}function Zt(i){let e,t,r,o,n,a,s,l,c,f,u,v,b,g,m,E,C,z,T,B,O=i[0]&&Ut(i),F=i[4]&&Xt(i);function ue(N,A){return N[5]?Mr:Ar}let te=ue(i),R=te(i);return{c(){e=_("div"),t=_("div"),r=M(),o=_("div"),O&&O.c(),n=M(),F&&F.c(),a=M(),s=_("div"),R.c(),l=M(),c=_("slot"),f=M(),u=_("div"),u.innerHTML='<slot name="actions"></slot>',d(t,"data-testid","modal-overlay"),d(t,"class","modal-overlay"),d(s,"data-testid","modal-content"),d(s,"class","modal-content"),d(u,"data-testid","modal-actions"),d(u,"class","modal-actions"),d(o,"class","modal-pane"),d(e,"data-testid","modal"),d(e,"class","modal"),d(e,"style",g="--scroll-offset: "+i[3]+"px; "+(i[1]&&`--width: ${i[1]};`)+";")},m(N,A){w(N,e,A),y(e,t),y(e,r),y(e,o),O&&O.m(o,null),y(o,n),F&&F.m(o,null),y(o,a),y(o,s),R.m(s,null),y(s,l),y(s,c),y(o,f),y(o,u),z=!0,T||(B=[U(t,"click",i[6]),Ue(m=Vt.call(null,e,{enable:i[2]}))],T=!0)},p(N,A){N[0]?O?O.p(N,A):(O=Ut(N),O.c(),O.m(o,n)):O&&(O.d(1),O=null),N[4]?F?F.p(N,A):(F=Xt(N),F.c(),F.m(o,a)):F&&(F.d(1),F=null),te!==(te=ue(N))&&(R.d(1),R=te(N),R&&(R.c(),R.m(s,l))),(!z||A&10&&g!==(g="--scroll-offset: "+N[3]+"px; "+(N[1]&&`--width: ${N[1]};`)+";"))&&d(e,"style",g),m&&ie(m.update)&&A&4&&m.update.call(null,{enable:N[2]})},i(N){z||(X(()=>{b&&b.end(1),v=rt(o,Wt,{duration:200,y:200}),v.start()}),X(()=>{C&&C.end(1),E=rt(e,de,{duration:200}),E.start()}),z=!0)},o(N){v&&v.invalidate(),b=ot(o,Wt,{delay:200,duration:200,y:-100}),E&&E.invalidate(),C=ot(e,de,{delay:200,duration:200}),z=!1},d(N){N&&x(e),O&&O.d(),F&&F.d(),R.d(),N&&b&&b.end(),N&&C&&C.end(),T=!1,Y(B)}}}function Ut(i){let e,t;return{c(){e=_("div"),t=W(i[0]),d(e,"data-testid","modal-title"),d(e,"class","modal-title")},m(r,o){w(r,e,o),y(e,t)},p(r,o){o&1&&Z(t,r[0])},d(r){r&&x(e)}}}function Xt(i){let e,t,r,o;return{c(){e=_("div"),t=_("goa-icon-button"),k(t,"testid","modal-close-button"),k(t,"type","close"),d(e,"class","modal-close")},m(n,a){w(n,e,a),y(e,t),r||(o=U(t,"click",i[6]),r=!0)},p,d(n){n&&x(e),r=!1,o()}}}function Ar(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",D(e,"margin","1.75rem")},m(t,r){w(t,e,r)},d(t){t&&x(e)}}}function Mr(i){let e;return{c(){e=_("goa-scrollable"),e.innerHTML="<slot></slot>",k(e,"direction","vertical"),k(e,"height","50"),k(e,"hpadding","1.75")},m(t,r){w(t,e,r)},d(t){t&&x(e)}}}function Rr(i){let e,t,r=i[2]&&Zt(i);return{c(){r&&r.c(),e=ae(),this.c=p},m(o,n){r&&r.m(o,n),w(o,e,n),t=!0},p(o,[n]){o[2]?r?(r.p(o,n),n&4&&q(r,1)):(r=Zt(o),r.c(),q(r,1),r.m(e.parentNode,e)):r&&(ye(),V(r,1,1,()=>{r=null}),_e())},i(o){t||(q(r),t=!0)},o(o){V(r),t=!1},d(o){r&&r.d(o),o&&x(e)}}}function Lr(i,e,t){let r,o,n,{title:a}=e,{closable:s}=e,{scrollable:l}=e,{open:c}=e,{width:f}=e,u=0;function v(b){!r||(b.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),b.stopPropagation())}return i.$$set=b=>{"title"in b&&t(0,a=b.title),"closable"in b&&t(7,s=b.closable),"scrollable"in b&&t(8,l=b.scrollable),"open"in b&&t(9,c=b.open),"width"in b&&t(1,f=b.width)},i.$$.update=()=>{i.$$.dirty&128&&t(4,r=j(s)),i.$$.dirty&256&&t(5,o=j(l)),i.$$.dirty&512&&t(2,n=j(c)),i.$$.dirty&4&&n&&t(3,u=window.pageYOffset)},[a,f,n,u,r,o,v,s,l,c]}class Jt 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;width:var(--width, 60ch);margin:1rem;box-shadow:var(--shadow-2);border-radius:4px;max-height:90%}@media(min-width: 640px){.modal-pane{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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Lr,Rr,H,{title:0,closable:7,scrollable:8,open:9,width:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["title","closable","scrollable","open","width"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),h()}get closable(){return this.$$.ctx[7]}set closable(e){this.$$set({closable:e}),h()}get scrollable(){return this.$$.ctx[8]}set scrollable(e){this.$$set({scrollable:e}),h()}get open(){return this.$$.ctx[9]}set open(e){this.$$set({open:e}),h()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),h()}}customElements.define("goa-modal",Jt);function Kt(i){let e,t,r,o,n,a,s,l,c,f,u,v,b;return{c(){e=_("div"),t=_("div"),r=_("goa-icon"),o=M(),n=_("div"),n.innerHTML="<slot></slot>",a=M(),s=_("div"),l=_("goa-icon-button"),k(r,"type",i[2]),k(r,"inverted",""),d(t,"class","icon"),d(n,"class","content"),k(l,"type","close"),k(l,"inverted",""),d(s,"class","close"),d(e,"class",c="notification "+i[0])},m(g,m){w(g,e,m),y(e,t),y(t,r),y(e,o),y(e,n),y(e,a),y(e,s),y(s,l),u=!0,v||(b=U(l,"click",i[3]),v=!0)},p(g,m){(!u||m&4)&&k(r,"type",g[2]),(!u||m&1&&c!==(c="notification "+g[0]))&&d(e,"class",c)},i(g){u||(X(()=>{f||(f=Le(e,de,{},!0)),f.run(1)}),u=!0)},o(g){f||(f=Le(e,de,{},!1)),f.run(0),u=!1},d(g){g&&x(e),g&&f&&f.end(),v=!1,b()}}}function Tr(i){let e,t,r=i[1]&&Kt(i);return{c(){r&&r.c(),e=ae(),this.c=p},m(o,n){r&&r.m(o,n),w(o,e,n),t=!0},p(o,[n]){o[1]?r?(r.p(o,n),n&2&&q(r,1)):(r=Kt(o),r.c(),q(r,1),r.m(e.parentNode,e)):r&&(ye(),V(r,1,1,()=>{r=null}),_e())},i(o){t||(q(r),t=!0)},o(o){V(r),t=!1},d(o){r&&r.d(o),o&&x(e)}}}function Hr(i,e,t){let r,{type:o}=e,n=!0;function a(){t(1,n=!1)}return i.$$set=s=>{"type"in s&&t(0,o=s.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 Yt 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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Hr,Tr,H,{type:0},null),e&&(e.target&&w(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",Yt);function Ir(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=p,d(e,"class","layout")},m(t,r){w(t,e,r)},p,i:p,o:p,d(t){t&&x(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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,Ir,H,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-page-layout",Qt);function $t(i){let e,t,r,o;const n=[Sr,Gr],a=[];function s(l,c){return l[6]?0:l[5]?1:-1}return~(e=s(i))&&(t=a[e]=n[e](i)),{c(){t&&t.c(),r=ae()},m(l,c){~e&&a[e].m(l,c),w(l,r,c),o=!0},p(l,c){let f=e;e=s(l),e===f?~e&&a[e].p(l,c):(t&&(ye(),V(a[f],1,1,()=>{a[f]=null}),_e()),~e?(t=a[e],t?t.p(l,c):(t=a[e]=n[e](l),t.c()),q(t,1),t.m(r.parentNode,r)):t=null)},i(l){o||(q(t),o=!0)},o(l){V(t),o=!1},d(l){~e&&a[e].d(l),l&&x(r)}}}function Gr(i){let e,t,r,o,n,a=i[1]&&ei(i);return{c(){e=_("div"),t=_("goa-spinner"),o=M(),a&&a.c(),k(t,"type",i[0]),k(t,"size",i[4]),k(t,"progress",r=i[2]||0),d(e,"class",n="spinner-"+i[4]),P(e,"inline",i[5])},m(s,l){w(s,e,l),y(e,t),y(e,o),a&&a.m(e,null)},p(s,l){l&1&&k(t,"type",s[0]),l&16&&k(t,"size",s[4]),l&4&&r!==(r=s[2]||0)&&k(t,"progress",r),s[1]?a?a.p(s,l):(a=ei(s),a.c(),a.m(e,null)):a&&(a.d(1),a=null),l&16&&n!==(n="spinner-"+s[4])&&d(e,"class",n),l&48&&P(e,"inline",s[5])},i:p,o:p,d(s){s&&x(e),a&&a.d()}}}function Sr(i){let e,t,r,o,n,a,s,l,c=i[1]&&ti(i);return{c(){e=_("div"),t=_("goa-spinner"),o=M(),c&&c.c(),k(t,"type",i[0]),k(t,"size",i[4]),k(t,"progress",r=i[2]||0),P(e,"fullscreen",i[6])},m(f,u){w(f,e,u),y(e,t),y(e,o),c&&c.m(e,null),a=!0,s||(l=Ue(Vt.call(null,e,{enable:!0})),s=!0)},p(f,u){(!a||u&1)&&k(t,"type",f[0]),(!a||u&16)&&k(t,"size",f[4]),(!a||u&4&&r!==(r=f[2]||0))&&k(t,"progress",r),f[1]?c?c.p(f,u):(c=ti(f),c.c(),c.m(e,null)):c&&(c.d(1),c=null),u&64&&P(e,"fullscreen",f[6])},i(f){a||(X(()=>{n||(n=Le(e,de,{duration:300},!0)),n.run(1)}),a=!0)},o(f){n||(n=Le(e,de,{duration:300},!1)),n.run(0),a=!1},d(f){f&&x(e),c&&c.d(),f&&n&&n.end(),s=!1,l()}}}function ei(i){let e,t;return{c(){e=_("div"),t=W(i[1]),d(e,"class","message")},m(r,o){w(r,e,o),y(e,t)},p(r,o){o&2&&Z(t,r[1])},d(r){r&&x(e)}}}function ti(i){let e,t;return{c(){e=_("div"),t=W(i[1]),d(e,"class","message")},m(r,o){w(r,e,o),y(e,t)},p(r,o){o&2&&Z(t,r[1])},d(r){r&&x(e)}}}function Br(i){let e,t,r=i[3]&&$t(i);return{c(){r&&r.c(),e=ae(),this.c=p},m(o,n){r&&r.m(o,n),w(o,e,n),t=!0},p(o,[n]){o[3]?r?(r.p(o,n),n&8&&q(r,1)):(r=$t(o),r.c(),q(r,1),r.m(e.parentNode,e)):r&&(ye(),V(r,1,1,()=>{r=null}),_e())},i(o){t||(q(r),t=!0)},o(o){V(r),t=!1},d(o){r&&r.d(o),o&&x(e)}}}function Pr(i,e,t){let r,o,n,a,s,{type:l}=e,{variant:c}=e,{size:f}=e,{message:u=""}=e,{progress:v=0}=e,{visible:b="false"}=e;return i.$$set=g=>{"type"in g&&t(0,l=g.type),"variant"in g&&t(7,c=g.variant),"size"in g&&t(8,f=g.size),"message"in g&&t(1,u=g.message),"progress"in g&&t(2,v=g.progress),"visible"in g&&t(9,b=g.visible)},i.$$.update=()=>{i.$$.dirty&512&&t(10,r=j(b)),i.$$.dirty&128&&t(6,o=c==="fullscreen"),i.$$.dirty&128&&t(5,n=c==="inline"),i.$$.dirty&256&&t(4,a=f==="small"?"large":"xlarge"),i.$$.dirty&1281&&t(3,s=l&&r&&f)},[l,u,v,s,a,n,o,c,f,b,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;inset: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:inline-flex;flex-direction:column;align-items:center;justify-content:center}.spinner-large .message{margin-top:1.5rem;font-size:1.2rem}.spinner-xlarge .message{margin-top:2rem;font-size:1.5rem}</style>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Pr,Br,H,{type:0,variant:7,size:8,message:1,progress:2,visible:9},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","variant","size","message","progress","visible"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),h()}get size(){return this.$$.ctx[8]}set size(e){this.$$set({size: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[9]}set visible(e){this.$$set({visible:e}),h()}}customElements.define("goa-circular-progress",ii);const Oe="prop-change",ri="option-change";function jr(i){let e,t,r;return{c(){e=_("div"),t=_("slot"),this.c=p,d(e,"class",r=`goa-radio-group--${i[0]}`),d(e,"data-testid",i[1])},m(o,n){w(o,e,n),y(e,t),i[10](e)},p(o,[n]){n&1&&r!==(r=`goa-radio-group--${o[0]}`)&&d(e,"class",r),n&2&&d(e,"data-testid",o[1])},i:p,o:p,d(o){o&&x(e),i[10](null)}}}function Dr(i,e,t){let r,{name:o}=e,{value:n}=e,{orientation:a="vertical"}=e,{disabled:s="false"}=e,{error:l="false"}=e,{testid:c=""}=e,f,u,v;Ce(()=>{t(8,u=Te(o)),u.subscribe(g=>{switch(g==null?void 0:g.type){case ri:{const m=g;u.notify({type:Oe,value:m.value,disabled:m.disabled,error:m.error}),v.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:g.value}}))}}})}),Qe(()=>{pt(o)});function b(g){le[g?"unshift":"push"](()=>{v=g,t(2,v)})}return i.$$set=g=>{"name"in g&&t(3,o=g.name),"value"in g&&t(4,n=g.value),"orientation"in g&&t(0,a=g.orientation),"disabled"in g&&t(5,s=g.disabled),"error"in g&&t(6,l=g.error),"testid"in g&&t(1,c=g.testid)},i.$$.update=()=>{i.$$.dirty&32&&t(9,r=j(s)),i.$$.dirty&64&&t(7,f=j(l)),i.$$.dirty&912&&(u==null||u.notify({type:Oe,value:n,disabled:r,error:f}))},[a,c,v,o,n,s,l,f,u,r,b]}class oi 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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Dr,jr,H,{name:3,value:4,orientation:0,disabled:5,error:6,testid:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","orientation","disabled","error","testid"]}get name(){return this.$$.ctx[3]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[4]}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[5]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[6]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-radio-group",oi);function Or(i){let e,t,r,o,n,a,s,l=(i[1]||i[0])+"",c,f,u,v;return{c(){e=_("label"),t=_("input"),r=M(),o=_("div"),n=M(),a=_("span"),s=_("slot"),c=W(l),this.c=p,d(t,"type","radio"),d(t,"name",i[2]),t.value=i[0],t.checked=i[4],t.disabled=i[3],d(o,"class","goa-radio-icon"),d(a,"class","goa-radio-label"),d(e,"data-testid",f="radio-item-"+i[0]),d(e,"class","goa-radio"),P(e,"goa-radio--disabled",i[3]),P(e,"goa-radio--error",i[5])},m(b,g){w(b,e,g),y(e,t),y(e,r),y(e,o),y(e,n),y(e,a),y(a,s),y(s,c),u||(v=U(t,"change",i[6]),u=!0)},p(b,[g]){g&4&&d(t,"name",b[2]),g&1&&(t.value=b[0]),g&16&&(t.checked=b[4]),g&8&&(t.disabled=b[3]),g&3&&l!==(l=(b[1]||b[0])+"")&&Z(c,l),g&1&&f!==(f="radio-item-"+b[0])&&d(e,"data-testid",f),g&8&&P(e,"goa-radio--disabled",b[3]),g&32&&P(e,"goa-radio--error",b[5])},i:p,o:p,d(b){b&&x(e),u=!1,v()}}}function Nr(i,e,t){let{value:r}=e,{label:o}=e,{name:n}=e,a=!1,s=!1,l=!1,c;Ce(()=>{c=Te(n),c.subscribe(u=>{switch(u==null?void 0:u.type){case Oe:{const v=u;t(4,s=v.value===r),t(3,a=v.disabled),t(5,l=v.error)}}})});function f(u){t(4,s=!s),s&&c.notify({type:ri,checked:s,disabled:a,value:r})}return i.$$set=u=>{"value"in u&&t(0,r=u.value),"label"in u&&t(1,o=u.label),"name"in u&&t(2,n=u.name)},[r,o,n,a,s,l,f]}class ni extends I{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}label.goa-radio{--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"]{width:0;height:0}.goa-radio input[type="radio"]:hover~.goa-radio-icon{border-color:var(--goa-color-interactive--hover)}.goa-radio input[type="radio"]:focus~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--highlight)}.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-color-interactive--highlight)}.goa-radio--disabled{opacity:0.4}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active)}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active)}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-color-status-emergency)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-color-status-emergency)}</style>',S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Nr,Or,H,{value:0,label:1,name:2},null),e&&(e.target&&w(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",ni);function Fr(i){let e,t,r;return{c(){e=_("div"),t=_("slot"),this.c=p,d(e,"class","goa-scrollable"),d(e,"style",r=`
|
|
17
17
|
--max-height: ${i[3]};
|
|
18
18
|
overflow-y: ${i[0]==="vertical"?"auto":"hidden"};
|
|
19
19
|
overflow-x: ${i[0]==="horizontal"?"auto":"hidden"};
|
|
@@ -25,6 +25,6 @@
|
|
|
25
25
|
overflow-x: ${o[0]==="horizontal"?"auto":"hidden"};
|
|
26
26
|
margin: ${o[2]}rem 0;
|
|
27
27
|
padding: 0 ${o[1]}rem;
|
|
28
|
-
`)&&d(e,"style",r)},i:p,o:p,d(o){o&&x(e)}}}function
|
|
28
|
+
`)&&d(e,"style",r)},i:p,o:p,d(o){o&&x(e)}}}function qr(i,e,t){let{direction:r="vertical"}=e,{hpadding:o=0}=e,{vpadding:n=0}=e,{height:a=0}=e;return i.$$set=s=>{"direction"in s&&t(0,r=s.direction),"hpadding"in s&&t(1,o=s.hpadding),"vpadding"in s&&t(2,n=s.vpadding),"height"in s&&t(3,a=s.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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},qr,Fr,H,{direction:0,hpadding:1,vpadding:2,height:3},null),e&&(e.target&&w(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 li(i){let e,t,r;return{c(){e=_("div"),e.innerHTML='<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13 26C20.1797 26 26 20.1797 26 13C26 5.8203 20.1797 0 13 0C5.8203 0 0 5.8203 0 13C0 20.1797 5.8203 26 13 26Z" fill="#00AAD2"></path><path d="M16.9764 17.7174C15.942 17.3358 14.9325 16.8896 13.9539 16.3817C14.8446 16.0551 15.7131 15.6708 16.5539 15.2312C16.6398 16.0688 16.7831 16.8995 16.9829 17.7174H16.9764ZM22.5339 7.42143C22.1016 7.36618 22.3259 7.56931 22.2089 8.13968C21.863 9.3075 21.2806 10.3917 20.4978 11.3248C19.7151 12.258 18.7487 13.0201 17.6589 13.5639C17.3972 10.9368 17.5336 8.28529 18.0635 5.69893C18.5104 4.07393 19.0385 4.3778 18.3885 4.03818C17.6946 3.68068 16.9471 4.15356 16.3443 5.35931C14.4174 9.81946 11.7695 13.932 8.50689 17.5322C7.96404 18.2422 7.16875 18.7161 6.28592 18.8556C5.40309 18.9951 4.50044 18.7894 3.76514 18.2813C3.43039 17.9986 3.30689 18.4357 3.72289 18.8826C4.47366 19.5882 5.47211 19.9699 6.50216 19.945C7.53222 19.92 8.51102 19.4905 9.22677 18.7493C12.0405 15.3939 14.429 11.7038 16.3378 7.76268C16.1901 9.91268 16.2243 12.0713 16.4401 14.2156C15.4158 14.7181 14.3475 15.1256 13.2486 15.4327C12.6181 15.5952 12.2281 15.8552 12.2168 16.1461C12.2054 16.4711 12.6279 16.7359 13.2405 17.0252C14.3293 17.5419 17.5191 19.0499 18.3056 19.5066C18.9784 19.8966 19.3066 19.5927 19.5065 19.1702C19.7665 18.6209 19.0531 18.3041 18.369 18.0961C18.0632 16.9353 17.8555 15.7508 17.7483 14.5552C19.4404 13.5939 20.8636 12.2226 21.8871 10.5674C22.1817 9.98406 22.4001 9.36529 22.5371 8.7263C22.6338 8.3321 22.6602 7.92393 22.6151 7.52056C22.6151 7.52056 22.6038 7.43281 22.5371 7.42468" fill="white"></path></svg>',t=M(),r=_("div"),r.innerHTML='An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>',d(e,"class","service-level service-level--live"),d(r,"data-testid","level"),d(r,"class","site-text")},m(o,n){w(o,e,n),w(o,t,n),w(o,r,n)},d(o){o&&x(e),o&&x(t),o&&x(r)}}}function si(i){let e,t=ui(i[0])+"",r,o,n,a,s,l,c,f=i[2]&&ci(i);return{c(){e=_("div"),r=W(t),n=M(),a=_("div"),s=W("This is a new "),l=_("a"),l.textContent="Alberta Government",c=W(`
|
|
29
29
|
service
|
|
30
|
-
`),f&&f.c(),d(e,"data-testid","level"),d(e,"class",o="service-level service-level--"+i[0]?.toLowerCase()),d(l,"href","https://www.alberta.ca/index.aspx"),d(a,"data-testid","site-text"),d(a,"class","site-text")},m(u,v){w(u,e,v),y(e,r),w(u,n,v),w(u,a,v),y(a,s),y(a,l),y(a,c),f&&f.m(a,null)},p(u,v){v&1&&t!==(t=oi(u[0])+"")&&Z(r,t),v&1&&o!==(o="service-level service-level--"+u[0]?.toLowerCase())&&d(e,"class",o),u[2]?f?f.p(u,v):(f=ii(u),f.c(),f.m(a,null)):f&&(f.d(1),f=null)},d(u){u&&x(e),u&&x(n),u&&x(a),f&&f.d()}}}function ii(i){let e,t,r,o;return{c(){e=_("span"),t=q("\u2014 help us improve it by giving "),r=_("a"),o=q("feedback"),d(r,"href",i[2]),d(e,"data-testid","feedback")},m(n,a){w(n,e,a),y(e,t),y(e,r),y(r,o)},p(n,a){a&4&&d(r,"href",n[2])},d(n){n&&x(e)}}}function ri(i){let e,t;return{c(){e=_("div"),t=q(i[1]),d(e,"data-testid","version"),d(e,"class","version")},m(r,o){w(r,e,o),y(e,t)},p(r,o){o&2&&Z(t,r[1])},d(r){r&&x(e)}}}function jr(i){let e,t,r,o,n,a=i[0]==="live"&&ei(),s=i[0]!=="live"&&ti(i),l=i[1]&&ri(i);return{c(){e=_("header"),a&&a.c(),t=M(),s&&s.c(),r=M(),o=_("div"),n=M(),l&&l.c(),this.c=p,d(o,"class","spacer"),d(e,"class","goa-official-site-header")},m(c,f){w(c,e,f),a&&a.m(e,null),y(e,t),s&&s.m(e,null),y(e,r),y(e,o),y(e,n),l&&l.m(e,null)},p(c,[f]){c[0]==="live"?a||(a=ei(),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[0]!=="live"?s?s.p(c,f):(s=ti(c),s.c(),s.m(e,r)):s&&(s.d(1),s=null),c[1]?l?l.p(c,f):(l=ri(c),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:p,o:p,d(c){c&&x(e),a&&a.d(),s&&s.d(),l&&l.d()}}}function oi(i){return!i||(i==null?void 0:i.length)===0?"":i[0].toUpperCase()+i.slice(1)}function Pr(i,e,t){let{level:r}=e,{version:o}=e,{feedbackurl:n}=e;return i.$$set=a=>{"level"in a&&t(0,r=a.level),"version"in a&&t(1,o=a.version),"feedbackurl"in a&&t(2,n=a.feedbackurl)},[r,o,n]}class ni extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}a{color:var(--goa-color-interactive);cursor:pointer}a:hover{color:var(--goa-color-interactive--hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive--hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--fs-xs);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;height:2.5rem;padding:0 0.5rem;gap:0.5rem}.spacer{flex:1 1 auto}.version{color:var(--goa-color-600)}.service-level{font-weight:bold;padding:0 0.5rem;height:1.5rem;display:flex;align-items:center}.service-level--alpha{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.service-level--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-level--live{padding:0}.site-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--goa-color-text)}</style>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Pr,jr,H,{level:0,version:1,feedbackurl:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["level","version","feedbackurl"]}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()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),h()}}customElements.define("goa-microsite-header",ni);function Dr(i){let e,t;return{c(){e=_("div"),d(e,"class",t="skeleton "+i[2]+` ${i[2]}-${i[1]}`)},m(r,o){w(r,e,o)},p(r,o){o&6&&t!==(t="skeleton "+r[2]+` ${r[2]}-${r[1]}`)&&d(e,"class",t)},i:p,o:p,d(r){r&&x(e)}}}function Or(i){let e,t,r,o,n,a,s,l,c,f;return r=new K({props:{type:"avatar",size:i[1]}}),a=new K({props:{type:"title",size:i[1]}}),l=new K({props:{type:"text-small",size:i[1]}}),{c(){e=_("div"),t=_("div"),ie(r.$$.fragment),o=M(),n=_("div"),ie(a.$$.fragment),s=M(),ie(l.$$.fragment),d(t,"class","profile-avatar"),d(n,"class","profile-name"),d(e,"class",c="profile profile-"+i[1])},m(u,v){w(u,e,v),y(e,t),Q(r,t,null),y(e,o),y(e,n),Q(a,n,null),y(n,s),Q(l,n,null),f=!0},p(u,v){const m={};v&2&&(m.size=u[1]),r.$set(m);const g={};v&2&&(g.size=u[1]),a.$set(g);const b={};v&2&&(b.size=u[1]),l.$set(b),(!f||v&2&&c!==(c="profile profile-"+u[1]))&&d(e,"class",c)},i(u){f||(F(r.$$.fragment,u),F(a.$$.fragment,u),F(l.$$.fragment,u),f=!0)},o(u){V(r.$$.fragment,u),V(a.$$.fragment,u),V(l.$$.fragment,u),f=!1},d(u){u&&x(e),$(r),$(a),$(l)}}}function Nr(i){let e,t,r,o,n,a,s,l,c,f,u,v,m;return t=new K({props:{type:"image",size:i[1]}}),n=new K({props:{type:"header",size:i[1]}}),s=new K({props:{type:"text",size:i[1]}}),c=new K({props:{type:"text",size:i[1]}}),u=new K({props:{type:"text",size:i[1]}}),{c(){e=_("div"),ie(t.$$.fragment),r=M(),o=_("div"),ie(n.$$.fragment),a=M(),ie(s.$$.fragment),l=M(),ie(c.$$.fragment),f=M(),ie(u.$$.fragment),d(o,"class","card-content"),d(e,"class",v="card card-"+i[1]),D(e,"--width",i[0]+"px")},m(g,b){w(g,e,b),Q(t,e,null),y(e,r),y(e,o),Q(n,o,null),y(o,a),Q(s,o,null),y(o,l),Q(c,o,null),y(o,f),Q(u,o,null),m=!0},p(g,b){const C={};b&2&&(C.size=g[1]),t.$set(C);const E={};b&2&&(E.size=g[1]),n.$set(E);const z={};b&2&&(z.size=g[1]),s.$set(z);const L={};b&2&&(L.size=g[1]),c.$set(L);const B={};b&2&&(B.size=g[1]),u.$set(B),(!m||b&2&&v!==(v="card card-"+g[1]))&&d(e,"class",v),(!m||b&1)&&D(e,"--width",g[0]+"px")},i(g){m||(F(t.$$.fragment,g),F(n.$$.fragment,g),F(s.$$.fragment,g),F(c.$$.fragment,g),F(u.$$.fragment,g),m=!0)},o(g){V(t.$$.fragment,g),V(n.$$.fragment,g),V(s.$$.fragment,g),V(c.$$.fragment,g),V(u.$$.fragment,g),m=!1},d(g){g&&x(e),$(t),$(n),$(s),$(c),$(u)}}}function Fr(i){let e,t,r,o;const n=[Nr,Or,Dr],a=[];function s(l,c){return l[2]==="card"?0:l[2]==="profile"?1:2}return e=s(i),t=a[e]=n[e](i),{c(){t.c(),r=se(),this.c=p},m(l,c){a[e].m(l,c),w(l,r,c),o=!0},p(l,[c]){let f=e;e=s(l),e===f?a[e].p(l,c):(ye(),V(a[f],1,1,()=>{a[f]=null}),_e(),t=a[e],t?t.p(l,c):(t=a[e]=n[e](l),t.c()),F(t,1),t.m(r.parentNode,r))},i(l){o||(F(t),o=!0)},o(l){V(t),o=!1},d(l){a[e].d(l),l&&x(r)}}}function qr(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 K 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{display:inline-block}.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{display:inline-block}.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{display:inline-block}.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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},qr,Fr,H,{width:0,size:1,type:2},null),e&&(e.target&&w(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",K);function ai(i){return Object.prototype.toString.call(i)==="[object Date]"}function Oe(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)=>Oe(i[n],o));return o=>r.map(n=>n(o))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(ai(i)&&ai(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]=Oe(i[n],e[n])}),n=>{const a={};return r.forEach(s=>{a[s]=o[s](n)}),a}}if(t==="number"){const r=e-i;return o=>i+o*r}throw new Error(`Cannot interpolate ${t} values`)}function Wr(i,e={}){const t=bt(i);let r,o=i;function n(a,s){if(i==null)return t.set(i=a),Promise.resolve();o=a;let l=r,c=!1,{delay:f=0,duration:u=400,easing:v=ge,interpolate:m=Oe}=Fe(Fe({},e),s);if(u===0)return l&&(l.abort(),l=null),t.set(i=o),Promise.resolve();const g=we()+f;let b;return r=ke(C=>{if(C<g)return!0;c||(b=m(i,a),typeof u=="function"&&(u=u(i,a)),c=!0),l&&(l.abort(),l=null);const E=C-g;return E>u?(t.set(i=a),!1):(t.set(i=b(v(E/u))),!0)}),r.promise}return{set:n,update:(a,s)=>n(a(o,i),s),subscribe:t.subscribe}}function li(i){let e,t,r,o,n,a,s,l,c;return{c(){e=oe("svg"),t=oe("circle"),n=oe("path"),d(t,"cx",i[3]),d(t,"cy",i[3]),d(t,"stroke",r=i[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),d(t,"stroke-width",i[4]),d(t,"r",o=i[3]-i[4]/2),d(n,"d",a=i[9](i[7])),d(n,"stroke-width",i[4]),d(n,"stroke",s=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),d(n,"stroke-linecap","round"),d(e,"class",l=`spinner-${i[1]}`),d(e,"fill","none"),d(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),d(e,"width",i[5]),d(e,"height",i[5]),d(e,"data-testid",i[2]),d(e,"xmlns","http://www.w3.org/2000/svg")},m(f,u){w(f,e,u),y(e,t),y(e,n)},p(f,u){u&8&&d(t,"cx",f[3]),u&8&&d(t,"cy",f[3]),u&1&&r!==(r=f[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&d(t,"stroke",r),u&16&&d(t,"stroke-width",f[4]),u&24&&o!==(o=f[3]-f[4]/2)&&d(t,"r",o),u&128&&a!==(a=f[9](f[7]))&&d(n,"d",a),u&16&&d(n,"stroke-width",f[4]),u&1&&s!==(s=f[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&d(n,"stroke",s),u&2&&l!==(l=`spinner-${f[1]}`)&&d(e,"class",l),u&32&&c!==(c="0 0 "+f[5]+" "+f[5])&&d(e,"viewBox",c),u&32&&d(e,"width",f[5]),u&32&&d(e,"height",f[5]),u&4&&d(e,"data-testid",f[2])},d(f){f&&x(e)}}}function Vr(i){let e,t=i[6]&&li(i);return{c(){t&&t.c(),e=se(),this.c=p},m(r,o){t&&t.m(r,o),w(r,e,o)},p(r,[o]){r[6]?t?t.p(r,o):(t=li(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:p,o:p,d(r){t&&t.d(r),r&&x(e)}}}function Zr(i,e,t){let r,o,n,a,s,l,{size:c}=e,{invert:f=!1}=e,{type:u="infinite"}=e,{progress:v="0"}=e,{testid:m=""}=e;const g=Wr(0,{duration:500,easing:_r});mi(i,g,E=>t(7,l=E));function b(E){const z=n+a*Math.cos(E),L=n+a*Math.sin(E);return z+" "+L}function C(E){switch(u){case"progress":{const z=b(-Math.PI/2),L=b(-Math.PI/2+2*Math.PI*(E/100)),B=E%100<50?0:1;return`M ${z} A ${a} ${a} 0 ${B} 1 ${L}`}case"infinite":{const z=b(Math.PI*1.5),L=b(0);return`M ${z} A ${a} ${a} 0 1 0 ${L}`}}}return i.$$set=E=>{"size"in E&&t(10,c=E.size),"invert"in E&&t(0,f=E.invert),"type"in E&&t(1,u=E.type),"progress"in E&&t(11,v=E.progress),"testid"in E&&t(2,m=E.testid)},i.$$.update=()=>{i.$$.dirty&2048&&g.set(parseFloat(v)),i.$$.dirty&1024&&t(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,o=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,n=r/2),i.$$.dirty&24&&t(12,a=n-o/2),i.$$.dirty&6146&&t(6,s=u==="infinite"?a:a&&v)},[f,u,m,n,o,r,s,l,g,C,c,v,a]}class si 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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Zr,Vr,H,{size:10,invert:0,type:1,progress:11,testid:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["size","invert","type","progress","testid"]}get size(){return this.$$.ctx[10]}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[11]}set progress(e){this.$$set({progress:e}),h()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-spinner",si);function Ur(i){let e,t,r;return{c(){e=_("textarea"),this.c=p,d(e,"name",i[0]),d(e,"placeholder",i[2]),e.value=i[1],d(e,"rows",i[3]),d(e,"class","goa-textarea"),e.disabled=i[5],e.readOnly=i[6],d(e,"data-testid",i[4]),j(e,"error",i[7])},m(o,n){w(o,e,n),t||(r=U(e,"keyup",i[8]),t=!0)},p(o,[n]){n&1&&d(e,"name",o[0]),n&4&&d(e,"placeholder",o[2]),n&2&&(e.value=o[1]),n&8&&d(e,"rows",o[3]),n&32&&(e.disabled=o[5]),n&64&&(e.readOnly=o[6]),n&16&&d(e,"data-testid",o[4]),n&128&&j(e,"error",o[7])},i:p,o:p,d(o){o&&x(e),t=!1,r()}}}function Xr(i,e,t){let r,o,n,{name:a}=e,{value:s=""}=e,{placeholder:l=""}=e,{rows:c=3}=e,{testid:f=""}=e,{error:u="false"}=e,{readonly:v="false"}=e,{disabled:m="false"}=e;function g(b){const E=b.target.value;o||(b.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:b,name:a,value:E}})),b.stopPropagation())}return i.$$set=b=>{"name"in b&&t(0,a=b.name),"value"in b&&t(1,s=b.value),"placeholder"in b&&t(2,l=b.placeholder),"rows"in b&&t(3,c=b.rows),"testid"in b&&t(4,f=b.testid),"error"in b&&t(9,u=b.error),"readonly"in b&&t(10,v=b.readonly),"disabled"in b&&t(11,m=b.disabled)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=P(u)),i.$$.dirty&2048&&t(5,o=P(m)),i.$$.dirty&1024&&t(6,n=P(v))},[a,s,l,c,f,o,n,r,g,u,v,m]}class ci 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[readonly]{cursor:pointer}.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--focus)}.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}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-status-emergency-dark)}</style>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Xr,Ur,H,{name:0,value:1,placeholder:2,rows:3,testid:4,error:9,readonly:10,disabled:11},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","placeholder","rows","testid","error","readonly","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 testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),h()}get error(){return this.$$.ctx[9]}set error(e){this.$$set({error:e}),h()}get readonly(){return this.$$.ctx[10]}set readonly(e){this.$$set({readonly:e}),h()}get disabled(){return this.$$.ctx[11]}set disabled(e){this.$$set({disabled:e}),h()}}customElements.define("goa-textarea",ci);function di(i){let e,t;return{c(){e=_("div"),t=q(i[0]),d(e,"slot","title"),d(e,"class","title")},m(r,o){w(r,e,o),y(e,t)},p(r,o){o&1&&Z(t,r[0])},d(r){r&&x(e)}}}function ui(i){let e;return{c(){e=_("div"),d(e,"class","actions"),d(e,"slot","actions")},m(t,r){w(t,e,r),e.innerHTML=i[1]},p(t,r){r&2&&(e.innerHTML=t[1])},d(t){t&&x(e)}}}function Jr(i){let e,t,r,o,n=i[0]&&di(i),a=i[1]&&ui(i);return{c(){e=_("goa-container"),n&&n.c(),t=M(),a&&a.c(),r=M(),o=_("div"),this.c=p,d(o,"class","content"),d(o,"slot",""),k(e,"variant",i[3]),k(e,"headingsize",i[4])},m(s,l){w(s,e,l),n&&n.m(e,null),y(e,t),a&&a.m(e,null),y(e,r),y(e,o),o.innerHTML=i[2]},p(s,[l]){s[0]?n?n.p(s,l):(n=di(s),n.c(),n.m(e,t)):n&&(n.d(1),n=null),s[1]?a?a.p(s,l):(a=ui(s),a.c(),a.m(e,r)):a&&(a.d(1),a=null),l&4&&(o.innerHTML=s[2]),l&8&&k(e,"variant",s[3]),l&16&&k(e,"headingsize",s[4])},i:p,o:p,d(s){s&&x(e),n&&n.d(),a&&a.d()}}}function Kr(i,e,t){let{title:r}=e,{actions:o=""}=e,{content:n}=e,{variant:a="default"}=e,{headingsize:s="large"}=e;return i.$$set=l=>{"title"in l&&t(0,r=l.title),"actions"in l&&t(1,o=l.actions),"content"in l&&t(2,n=l.content),"variant"in l&&t(3,a=l.variant),"headingsize"in l&&t(4,s=l.headingsize)},[r,o,n,a,s]}class fi extends I{constructor(e){super();S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Kr,Jr,H,{title:0,actions:1,content:2,variant:3,headingsize:4},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["title","actions","content","variant","headingsize"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),h()}get actions(){return this.$$.ctx[1]}set actions(e){this.$$set({actions:e}),h()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),h()}get variant(){return this.$$.ctx[3]}set variant(e){this.$$set({variant:e}),h()}get headingsize(){return this.$$.ctx[4]}set headingsize(e){this.$$set({headingsize:e}),h()}}customElements.define("test-container",fi),T.ContainerWrapper=fi,T.GoAAppHeader=rt,T.GoABadge=nt,T.GoAButton=at,T.GoAButtonGroup=lt,T.GoACallout=st,T.GoACard=ct,T.GoACardActions=dt,T.GoACardContent=ut,T.GoACardGroup=ft,T.GoACardImage=gt,T.GoACheckbox=ht,T.GoACircularProgress=Kt,T.GoAContainer=mt,T.GoADropdown=kt,T.GoADropdownItem=xt,T.GoAFlexRow=zt,T.GoAFormItem=Rt,T.GoAHeroBanner=Lt,T.GoAIcon=Ht,T.GoAIconButton=It,T.GoAInput=jt,T.GoAMicrositeHeader=ni,T.GoAModal=qt,T.GoANotification=Vt,T.GoAPageBlock=it,T.GoAPageLayout=Zt,T.GoARadioGroup=Yt,T.GoARadioItem=Qt,T.GoAScrollable=$t,T.GoASkeleton=K,T.GoASpinner=si,T.GoATextArea=ci,Object.defineProperty(T,"__esModule",{value:!0}),T[Symbol.toStringTag]="Module"});
|
|
30
|
+
`),f&&f.c(),d(e,"data-testid","level"),d(e,"class",o="service-level service-level--"+i[0]?.toLowerCase()),d(l,"href","https://www.alberta.ca/index.aspx"),d(a,"data-testid","site-text"),d(a,"class","site-text")},m(u,v){w(u,e,v),y(e,r),w(u,n,v),w(u,a,v),y(a,s),y(a,l),y(a,c),f&&f.m(a,null)},p(u,v){v&1&&t!==(t=ui(u[0])+"")&&Z(r,t),v&1&&o!==(o="service-level service-level--"+u[0]?.toLowerCase())&&d(e,"class",o),u[2]?f?f.p(u,v):(f=ci(u),f.c(),f.m(a,null)):f&&(f.d(1),f=null)},d(u){u&&x(e),u&&x(n),u&&x(a),f&&f.d()}}}function ci(i){let e,t,r,o;return{c(){e=_("span"),t=W("\u2014 help us improve it by giving "),r=_("a"),o=W("feedback"),d(r,"href",i[2]),d(e,"data-testid","feedback")},m(n,a){w(n,e,a),y(e,t),y(e,r),y(r,o)},p(n,a){a&4&&d(r,"href",n[2])},d(n){n&&x(e)}}}function di(i){let e,t;return{c(){e=_("div"),t=W(i[1]),d(e,"data-testid","version"),d(e,"class","version")},m(r,o){w(r,e,o),y(e,t)},p(r,o){o&2&&Z(t,r[1])},d(r){r&&x(e)}}}function Wr(i){let e,t,r,o,n,a=i[0]==="live"&&li(),s=i[0]!=="live"&&si(i),l=i[1]&&di(i);return{c(){e=_("header"),a&&a.c(),t=M(),s&&s.c(),r=M(),o=_("div"),n=M(),l&&l.c(),this.c=p,d(o,"class","spacer"),d(e,"class","goa-official-site-header")},m(c,f){w(c,e,f),a&&a.m(e,null),y(e,t),s&&s.m(e,null),y(e,r),y(e,o),y(e,n),l&&l.m(e,null)},p(c,[f]){c[0]==="live"?a||(a=li(),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[0]!=="live"?s?s.p(c,f):(s=si(c),s.c(),s.m(e,r)):s&&(s.d(1),s=null),c[1]?l?l.p(c,f):(l=di(c),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:p,o:p,d(c){c&&x(e),a&&a.d(),s&&s.d(),l&&l.d()}}}function ui(i){return!i||(i==null?void 0:i.length)===0?"":i[0].toUpperCase()+i.slice(1)}function Vr(i,e,t){let{level:r}=e,{version:o}=e,{feedbackurl:n}=e;return i.$$set=a=>{"level"in a&&t(0,r=a.level),"version"in a&&t(1,o=a.version),"feedbackurl"in a&&t(2,n=a.feedbackurl)},[r,o,n]}class fi extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}a{color:var(--goa-color-interactive);cursor:pointer}a:hover{color:var(--goa-color-interactive--hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive--hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--fs-xs);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;height:2.5rem;padding:0 0.5rem;gap:0.5rem}.spacer{flex:1 1 auto}.version{color:var(--goa-color-600)}.service-level{font-weight:bold;padding:0 0.5rem;height:1.5rem;display:flex;align-items:center}.service-level--alpha{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.service-level--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-level--live{padding:0}.site-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--goa-color-text)}</style>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Vr,Wr,H,{level:0,version:1,feedbackurl:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["level","version","feedbackurl"]}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()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),h()}}customElements.define("goa-microsite-header",fi);function Zr(i){let e,t;return{c(){e=_("div"),d(e,"class",t="skeleton "+i[2]+` ${i[2]}-${i[1]}`)},m(r,o){w(r,e,o)},p(r,o){o&6&&t!==(t="skeleton "+r[2]+` ${r[2]}-${r[1]}`)&&d(e,"class",t)},i:p,o:p,d(r){r&&x(e)}}}function Ur(i){let e,t,r,o,n,a,s,l,c,f;return r=new K({props:{type:"avatar",size:i[1]}}),a=new K({props:{type:"title",size:i[1]}}),l=new K({props:{type:"text-small",size:i[1]}}),{c(){e=_("div"),t=_("div"),ee(r.$$.fragment),o=M(),n=_("div"),ee(a.$$.fragment),s=M(),ee(l.$$.fragment),d(t,"class","profile-avatar"),d(n,"class","profile-name"),d(e,"class",c="profile profile-"+i[1])},m(u,v){w(u,e,v),y(e,t),Q(r,t,null),y(e,o),y(e,n),Q(a,n,null),y(n,s),Q(l,n,null),f=!0},p(u,v){const b={};v&2&&(b.size=u[1]),r.$set(b);const g={};v&2&&(g.size=u[1]),a.$set(g);const m={};v&2&&(m.size=u[1]),l.$set(m),(!f||v&2&&c!==(c="profile profile-"+u[1]))&&d(e,"class",c)},i(u){f||(q(r.$$.fragment,u),q(a.$$.fragment,u),q(l.$$.fragment,u),f=!0)},o(u){V(r.$$.fragment,u),V(a.$$.fragment,u),V(l.$$.fragment,u),f=!1},d(u){u&&x(e),$(r),$(a),$(l)}}}function Xr(i){let e,t,r,o,n,a,s,l,c,f,u,v,b;return t=new K({props:{type:"image",size:i[1]}}),n=new K({props:{type:"header",size:i[1]}}),s=new K({props:{type:"text",size:i[1]}}),c=new K({props:{type:"text",size:i[1]}}),u=new K({props:{type:"text",size:i[1]}}),{c(){e=_("div"),ee(t.$$.fragment),r=M(),o=_("div"),ee(n.$$.fragment),a=M(),ee(s.$$.fragment),l=M(),ee(c.$$.fragment),f=M(),ee(u.$$.fragment),d(o,"class","card-content"),d(e,"class",v="card card-"+i[1]),D(e,"--width",i[0]+"px")},m(g,m){w(g,e,m),Q(t,e,null),y(e,r),y(e,o),Q(n,o,null),y(o,a),Q(s,o,null),y(o,l),Q(c,o,null),y(o,f),Q(u,o,null),b=!0},p(g,m){const E={};m&2&&(E.size=g[1]),t.$set(E);const C={};m&2&&(C.size=g[1]),n.$set(C);const z={};m&2&&(z.size=g[1]),s.$set(z);const T={};m&2&&(T.size=g[1]),c.$set(T);const B={};m&2&&(B.size=g[1]),u.$set(B),(!b||m&2&&v!==(v="card card-"+g[1]))&&d(e,"class",v),(!b||m&1)&&D(e,"--width",g[0]+"px")},i(g){b||(q(t.$$.fragment,g),q(n.$$.fragment,g),q(s.$$.fragment,g),q(c.$$.fragment,g),q(u.$$.fragment,g),b=!0)},o(g){V(t.$$.fragment,g),V(n.$$.fragment,g),V(s.$$.fragment,g),V(c.$$.fragment,g),V(u.$$.fragment,g),b=!1},d(g){g&&x(e),$(t),$(n),$(s),$(c),$(u)}}}function Jr(i){let e,t,r,o;const n=[Xr,Ur,Zr],a=[];function s(l,c){return l[2]==="card"?0:l[2]==="profile"?1:2}return e=s(i),t=a[e]=n[e](i),{c(){t.c(),r=ae(),this.c=p},m(l,c){a[e].m(l,c),w(l,r,c),o=!0},p(l,[c]){let f=e;e=s(l),e===f?a[e].p(l,c):(ye(),V(a[f],1,1,()=>{a[f]=null}),_e(),t=a[e],t?t.p(l,c):(t=a[e]=n[e](l),t.c()),q(t,1),t.m(r.parentNode,r))},i(l){o||(q(t),o=!0)},o(l){V(t),o=!1},d(l){a[e].d(l),l&&x(r)}}}function Kr(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 K 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{display:inline-block}.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{display:inline-block}.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{display:inline-block}.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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Kr,Jr,H,{width:0,size:1,type:2},null),e&&(e.target&&w(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",K);function gi(i){return Object.prototype.toString.call(i)==="[object Date]"}function Ne(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)=>Ne(i[n],o));return o=>r.map(n=>n(o))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(gi(i)&&gi(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]=Ne(i[n],e[n])}),n=>{const a={};return r.forEach(s=>{a[s]=o[s](n)}),a}}if(t==="number"){const r=e-i;return o=>i+o*r}throw new Error(`Cannot interpolate ${t} values`)}function Yr(i,e={}){const t=_t(i);let r,o=i;function n(a,s){if(i==null)return t.set(i=a),Promise.resolve();o=a;let l=r,c=!1,{delay:f=0,duration:u=400,easing:v=ge,interpolate:b=Ne}=We(We({},e),s);if(u===0)return l&&(l.abort(),l=null),t.set(i=o),Promise.resolve();const g=we()+f;let m;return r=ke(E=>{if(E<g)return!0;c||(m=b(i,a),typeof u=="function"&&(u=u(i,a)),c=!0),l&&(l.abort(),l=null);const C=E-g;return C>u?(t.set(i=a),!1):(t.set(i=m(v(C/u))),!0)}),r.promise}return{set:n,update:(a,s)=>n(a(o,i),s),subscribe:t.subscribe}}function hi(i){let e,t,r,o,n,a,s,l,c;return{c(){e=re("svg"),t=re("circle"),n=re("path"),d(t,"cx",i[3]),d(t,"cy",i[3]),d(t,"stroke",r=i[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),d(t,"stroke-width",i[4]),d(t,"r",o=i[3]-i[4]/2),d(n,"d",a=i[9](i[7])),d(n,"stroke-width",i[4]),d(n,"stroke",s=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),d(n,"stroke-linecap","round"),d(e,"class",l=`spinner-${i[1]}`),d(e,"fill","none"),d(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),d(e,"width",i[5]),d(e,"height",i[5]),d(e,"data-testid",i[2]),d(e,"xmlns","http://www.w3.org/2000/svg")},m(f,u){w(f,e,u),y(e,t),y(e,n)},p(f,u){u&8&&d(t,"cx",f[3]),u&8&&d(t,"cy",f[3]),u&1&&r!==(r=f[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&d(t,"stroke",r),u&16&&d(t,"stroke-width",f[4]),u&24&&o!==(o=f[3]-f[4]/2)&&d(t,"r",o),u&128&&a!==(a=f[9](f[7]))&&d(n,"d",a),u&16&&d(n,"stroke-width",f[4]),u&1&&s!==(s=f[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&d(n,"stroke",s),u&2&&l!==(l=`spinner-${f[1]}`)&&d(e,"class",l),u&32&&c!==(c="0 0 "+f[5]+" "+f[5])&&d(e,"viewBox",c),u&32&&d(e,"width",f[5]),u&32&&d(e,"height",f[5]),u&4&&d(e,"data-testid",f[2])},d(f){f&&x(e)}}}function Qr(i){let e,t=i[6]&&hi(i);return{c(){t&&t.c(),e=ae(),this.c=p},m(r,o){t&&t.m(r,o),w(r,e,o)},p(r,[o]){r[6]?t?t.p(r,o):(t=hi(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:p,o:p,d(r){t&&t.d(r),r&&x(e)}}}function $r(i,e,t){let r,o,n,a,s,l,{size:c}=e,{invert:f=!1}=e,{type:u="infinite"}=e,{progress:v="0"}=e,{testid:b=""}=e;const g=Yr(0,{duration:500,easing:Cr});ki(i,g,C=>t(7,l=C));function m(C){const z=n+a*Math.cos(C),T=n+a*Math.sin(C);return z+" "+T}function E(C){switch(u){case"progress":{const z=m(-Math.PI/2),T=m(-Math.PI/2+2*Math.PI*(C/100)),B=C%100<50?0:1;return`M ${z} A ${a} ${a} 0 ${B} 1 ${T}`}case"infinite":{const z=m(Math.PI*1.5),T=m(0);return`M ${z} A ${a} ${a} 0 1 0 ${T}`}}}return i.$$set=C=>{"size"in C&&t(10,c=C.size),"invert"in C&&t(0,f=C.invert),"type"in C&&t(1,u=C.type),"progress"in C&&t(11,v=C.progress),"testid"in C&&t(2,b=C.testid)},i.$$.update=()=>{i.$$.dirty&2048&&g.set(parseFloat(v)),i.$$.dirty&1024&&t(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,o=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,n=r/2),i.$$.dirty&24&&t(12,a=n-o/2),i.$$.dirty&6146&&t(6,s=u==="infinite"?a:a&&v)},[f,u,b,n,o,r,s,l,g,E,c,v,a]}class mi 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>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},$r,Qr,H,{size:10,invert:0,type:1,progress:11,testid:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["size","invert","type","progress","testid"]}get size(){return this.$$.ctx[10]}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[11]}set progress(e){this.$$set({progress:e}),h()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-spinner",mi);function eo(i){let e,t,r;return{c(){e=_("textarea"),this.c=p,d(e,"name",i[0]),d(e,"placeholder",i[2]),e.value=i[1],d(e,"rows",i[3]),d(e,"class","goa-textarea"),e.disabled=i[5],e.readOnly=i[6],d(e,"data-testid",i[4]),P(e,"error",i[7])},m(o,n){w(o,e,n),t||(r=U(e,"keyup",i[8]),t=!0)},p(o,[n]){n&1&&d(e,"name",o[0]),n&4&&d(e,"placeholder",o[2]),n&2&&(e.value=o[1]),n&8&&d(e,"rows",o[3]),n&32&&(e.disabled=o[5]),n&64&&(e.readOnly=o[6]),n&16&&d(e,"data-testid",o[4]),n&128&&P(e,"error",o[7])},i:p,o:p,d(o){o&&x(e),t=!1,r()}}}function to(i,e,t){let r,o,n,{name:a}=e,{value:s=""}=e,{placeholder:l=""}=e,{rows:c=3}=e,{testid:f=""}=e,{error:u="false"}=e,{readonly:v="false"}=e,{disabled:b="false"}=e;function g(m){const C=m.target.value;o||(m.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:m,name:a,value:C}})),m.stopPropagation())}return i.$$set=m=>{"name"in m&&t(0,a=m.name),"value"in m&&t(1,s=m.value),"placeholder"in m&&t(2,l=m.placeholder),"rows"in m&&t(3,c=m.rows),"testid"in m&&t(4,f=m.testid),"error"in m&&t(9,u=m.error),"readonly"in m&&t(10,v=m.readonly),"disabled"in m&&t(11,b=m.disabled)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=j(u)),i.$$.dirty&2048&&t(5,o=j(b)),i.$$.dirty&1024&&t(6,n=j(v))},[a,s,l,c,f,o,n,r,g,u,v,b]}class bi 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[readonly]{cursor:pointer}.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--focus)}.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}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-status-emergency-dark)}</style>",S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},to,eo,H,{name:0,value:1,placeholder:2,rows:3,testid:4,error:9,readonly:10,disabled:11},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","placeholder","rows","testid","error","readonly","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 testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),h()}get error(){return this.$$.ctx[9]}set error(e){this.$$set({error:e}),h()}get readonly(){return this.$$.ctx[10]}set readonly(e){this.$$set({readonly:e}),h()}get disabled(){return this.$$.ctx[11]}set disabled(e){this.$$set({disabled:e}),h()}}customElements.define("goa-textarea",bi);function vi(i){let e,t;return{c(){e=_("div"),t=W(i[0]),d(e,"slot","title"),d(e,"class","title")},m(r,o){w(r,e,o),y(e,t)},p(r,o){o&1&&Z(t,r[0])},d(r){r&&x(e)}}}function yi(i){let e;return{c(){e=_("div"),d(e,"class","actions"),d(e,"slot","actions")},m(t,r){w(t,e,r),e.innerHTML=i[1]},p(t,r){r&2&&(e.innerHTML=t[1])},d(t){t&&x(e)}}}function io(i){let e,t,r,o,n=i[0]&&vi(i),a=i[1]&&yi(i);return{c(){e=_("goa-container"),n&&n.c(),t=M(),a&&a.c(),r=M(),o=_("div"),this.c=p,d(o,"class","content"),d(o,"slot",""),k(e,"variant",i[3]),k(e,"headingsize",i[4])},m(s,l){w(s,e,l),n&&n.m(e,null),y(e,t),a&&a.m(e,null),y(e,r),y(e,o),o.innerHTML=i[2]},p(s,[l]){s[0]?n?n.p(s,l):(n=vi(s),n.c(),n.m(e,t)):n&&(n.d(1),n=null),s[1]?a?a.p(s,l):(a=yi(s),a.c(),a.m(e,r)):a&&(a.d(1),a=null),l&4&&(o.innerHTML=s[2]),l&8&&k(e,"variant",s[3]),l&16&&k(e,"headingsize",s[4])},i:p,o:p,d(s){s&&x(e),n&&n.d(),a&&a.d()}}}function ro(i,e,t){let{title:r}=e,{actions:o=""}=e,{content:n}=e,{variant:a="default"}=e,{headingsize:s="large"}=e;return i.$$set=l=>{"title"in l&&t(0,r=l.title),"actions"in l&&t(1,o=l.actions),"content"in l&&t(2,n=l.content),"variant"in l&&t(3,a=l.variant),"headingsize"in l&&t(4,s=l.headingsize)},[r,o,n,a,s]}class _i extends I{constructor(e){super();S(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},ro,io,H,{title:0,actions:1,content:2,variant:3,headingsize:4},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["title","actions","content","variant","headingsize"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),h()}get actions(){return this.$$.ctx[1]}set actions(e){this.$$set({actions:e}),h()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),h()}get variant(){return this.$$.ctx[3]}set variant(e){this.$$set({variant:e}),h()}get headingsize(){return this.$$.ctx[4]}set headingsize(e){this.$$set({headingsize:e}),h()}}customElements.define("test-container",_i),L.ContainerWrapper=_i,L.GoAAppHeader=at,L.GoABadge=st,L.GoAButton=ct,L.GoAButtonGroup=dt,L.GoACallout=ut,L.GoACard=ft,L.GoACardActions=gt,L.GoACardContent=ht,L.GoACardGroup=mt,L.GoACardImage=bt,L.GoACheckbox=vt,L.GoACircularProgress=ii,L.GoAContainer=yt,L.GoADropdown=Mt,L.GoADropdownItem=Rt,L.GoAFlexRow=Lt,L.GoAFormItem=St,L.GoAHeroBanner=Bt,L.GoAIcon=jt,L.GoAIconButton=Dt,L.GoAInput=qt,L.GoAMicrositeHeader=fi,L.GoAModal=Jt,L.GoANotification=Yt,L.GoAPageBlock=nt,L.GoAPageLayout=Qt,L.GoARadioGroup=oi,L.GoARadioItem=ni,L.GoAScrollable=ai,L.GoASkeleton=K,L.GoASpinner=mi,L.GoATextArea=bi,Object.defineProperty(L,"__esModule",{value:!0}),L[Symbol.toStringTag]="Module"});
|