@abgov/web-components 1.0.0-alpha.90 → 1.0.0-alpha.91
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 +32 -33
- package/web-components.umd.js +16 -16
package/package.json
CHANGED
package/web-components.es.js
CHANGED
|
@@ -1398,7 +1398,7 @@ function instance$x($$self, $$props, $$invalidate) {
|
|
|
1398
1398
|
if ($$self.$$.dirty & /*type*/ 1) {
|
|
1399
1399
|
$$invalidate(4, iconType = ({
|
|
1400
1400
|
success: "checkmark-circle",
|
|
1401
|
-
|
|
1401
|
+
important: "alert-circle",
|
|
1402
1402
|
information: "information-circle",
|
|
1403
1403
|
emergency: "warning",
|
|
1404
1404
|
dark: "information-circle",
|
|
@@ -1414,7 +1414,7 @@ function instance$x($$self, $$props, $$invalidate) {
|
|
|
1414
1414
|
class Badge extends SvelteElement {
|
|
1415
1415
|
constructor(options) {
|
|
1416
1416
|
super();
|
|
1417
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;align-items:center;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--fw-regular);margin:0.25rem}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm);padding-bottom:var(--font-valign-fix)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--goa-color-status-info)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--goa-color-text-light)}.goa-badge.badge-
|
|
1417
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;align-items:center;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--fw-regular);margin:0.25rem}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm);padding-bottom:var(--font-valign-fix)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--goa-color-status-info)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--goa-color-text-light)}.goa-badge.badge-important{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)}</style>`;
|
|
1418
1418
|
|
|
1419
1419
|
init(
|
|
1420
1420
|
this,
|
|
@@ -5320,7 +5320,7 @@ function instance$i($$self, $$props, $$invalidate) {
|
|
|
5320
5320
|
|
|
5321
5321
|
if ($$self.$$.dirty & /*variant, isInverted*/ 544) {
|
|
5322
5322
|
// private
|
|
5323
|
-
$$invalidate(8, css =
|
|
5323
|
+
$$invalidate(8, css = `${variant} ${isInverted ? "inverted" : ""}`);
|
|
5324
5324
|
}
|
|
5325
5325
|
|
|
5326
5326
|
if ($$self.$$.dirty & /*disabled*/ 1024) {
|
|
@@ -5355,7 +5355,7 @@ function instance$i($$self, $$props, $$invalidate) {
|
|
|
5355
5355
|
class IconButton extends SvelteElement {
|
|
5356
5356
|
constructor(options) {
|
|
5357
5357
|
super();
|
|
5358
|
-
this.shadowRoot.innerHTML = `<style>:host{display:inline-flex;align-items:center;box-sizing:border-box;font-family:var(--font-family)}
|
|
5358
|
+
this.shadowRoot.innerHTML = `<style>:host{display:inline-flex;align-items:center;box-sizing:border-box;font-family:var(--font-family)}button,button *{box-sizing:border-box}button{display:inline-flex;align-items:center;justify-content:center;background:transparent;cursor:pointer;border:none}.color{border-radius:0.5rem;padding:calc(var(--size) / 4)}.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}.color:active,.nocolor:active{transform:scale(0.9);border:none}.color:hover{background-color:var(--goa-color-primary-light)}.color.inverted:hover{background-color:var(--goa-color-primary-dark)}button:disabled{color:var(--color-gray-200);fill:var(--color-gray-200);transform:none;cursor:default}button:disabled:hover{background-color:transparent}</style>`;
|
|
5359
5359
|
|
|
5360
5360
|
init(
|
|
5361
5361
|
this,
|
|
@@ -5541,7 +5541,6 @@ function create_if_block_3$3(ctx) {
|
|
|
5541
5541
|
return {
|
|
5542
5542
|
c() {
|
|
5543
5543
|
goa_icon_button = element("goa-icon-button");
|
|
5544
|
-
set_custom_element_data(goa_icon_button, "class", "goa-input-trailing-icon");
|
|
5545
5544
|
set_custom_element_data(goa_icon_button, "disabled", /*isDisabled*/ ctx[16]);
|
|
5546
5545
|
set_custom_element_data(goa_icon_button, "variant", "nocolor");
|
|
5547
5546
|
set_custom_element_data(goa_icon_button, "size", "medium");
|
|
@@ -5573,7 +5572,7 @@ function create_if_block_3$3(ctx) {
|
|
|
5573
5572
|
};
|
|
5574
5573
|
}
|
|
5575
5574
|
|
|
5576
|
-
// (
|
|
5575
|
+
// (125:2) {#if showCounter}
|
|
5577
5576
|
function create_if_block$a(ctx) {
|
|
5578
5577
|
let if_block_anchor;
|
|
5579
5578
|
|
|
@@ -5617,7 +5616,7 @@ function create_if_block$a(ctx) {
|
|
|
5617
5616
|
};
|
|
5618
5617
|
}
|
|
5619
5618
|
|
|
5620
|
-
// (
|
|
5619
|
+
// (130:31)
|
|
5621
5620
|
function create_if_block_2$5(ctx) {
|
|
5622
5621
|
let div;
|
|
5623
5622
|
let t_value = /*value*/ ctx[0].length + "";
|
|
@@ -5642,7 +5641,7 @@ function create_if_block_2$5(ctx) {
|
|
|
5642
5641
|
};
|
|
5643
5642
|
}
|
|
5644
5643
|
|
|
5645
|
-
// (
|
|
5644
|
+
// (126:4) {#if maxcharcount > 0}
|
|
5646
5645
|
function create_if_block_1$6(ctx) {
|
|
5647
5646
|
let div;
|
|
5648
5647
|
let t0_value = /*value*/ ctx[0].length + "";
|
|
@@ -5927,10 +5926,10 @@ function instance$h($$self, $$props, $$invalidate) {
|
|
|
5927
5926
|
let { error = "false" } = $$props;
|
|
5928
5927
|
let { testid = "" } = $$props;
|
|
5929
5928
|
let { width = "30ch" } = $$props;
|
|
5930
|
-
let { arialabel =
|
|
5931
|
-
let { min =
|
|
5932
|
-
let { max =
|
|
5933
|
-
let { step } = $$props;
|
|
5929
|
+
let { arialabel = null } = $$props;
|
|
5930
|
+
let { min = null } = $$props;
|
|
5931
|
+
let { max = null } = $$props;
|
|
5932
|
+
let { step = null } = $$props;
|
|
5934
5933
|
let { showcounter = "false" } = $$props;
|
|
5935
5934
|
let { maxcharcount = 0 } = $$props;
|
|
5936
5935
|
let inputEl;
|
|
@@ -6054,7 +6053,7 @@ class Input extends SvelteElement {
|
|
|
6054
6053
|
constructor(options) {
|
|
6055
6054
|
super();
|
|
6056
6055
|
|
|
6057
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.container{position:relative;width:100%}@media(min-width: 640px){.container{width:var(--width)}}.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:var(--input-border-radius);background:white;display:inline-flex;align-items:center;vertical-align:middle;min-width:100%}.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.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{
|
|
6056
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.container{position:relative;width:100%}@media(min-width: 640px){.container{width:var(--width)}}.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:var(--input-border-radius);background:white;display:inline-flex;align-items:center;vertical-align:middle;min-width:100%}.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.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{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text);font-size:var(--input-font-size);padding:var(--input-padding);line-height:calc(40px - calc(var(--input-padding) * 2));background-color:transparent;width:0;flex:1 1 auto}input[type=date],input[type="datetime-local"],input[type=number]{font-family:var(--font-family)}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--color-gray-100);border-color:var(--color-gray-200);cursor:default;box-shadow:none}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.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}.counter{position:absolute;padding-top:0.25rem;right:0;font-size:var(--fs-sm)}.counter-error{color:var(--goa-color-interactive--error)}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}input[type="search" i]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
|
|
6058
6057
|
center center no-repeat}</style>`;
|
|
6059
6058
|
|
|
6060
6059
|
init(
|
|
@@ -8237,7 +8236,7 @@ function create_if_block_3(ctx) {
|
|
|
8237
8236
|
div1 = element("div");
|
|
8238
8237
|
div1.innerHTML = `An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>`;
|
|
8239
8238
|
attr(div0, "class", "service-level service-level--live");
|
|
8240
|
-
attr(div1, "data-testid", "
|
|
8239
|
+
attr(div1, "data-testid", "type");
|
|
8241
8240
|
attr(div1, "class", "site-text");
|
|
8242
8241
|
},
|
|
8243
8242
|
m(target, anchor) {
|
|
@@ -8253,10 +8252,10 @@ function create_if_block_3(ctx) {
|
|
|
8253
8252
|
};
|
|
8254
8253
|
}
|
|
8255
8254
|
|
|
8256
|
-
// (34:2) {#if ["alpha", "beta"].includes(
|
|
8255
|
+
// (34:2) {#if ["alpha", "beta"].includes(type)}
|
|
8257
8256
|
function create_if_block_1$3(ctx) {
|
|
8258
8257
|
let div0;
|
|
8259
|
-
let t0_value = capitalize(/*
|
|
8258
|
+
let t0_value = capitalize(/*type*/ ctx[0]) + "";
|
|
8260
8259
|
let t0;
|
|
8261
8260
|
let div0_class_value;
|
|
8262
8261
|
let t1;
|
|
@@ -8277,8 +8276,8 @@ function create_if_block_1$3(ctx) {
|
|
|
8277
8276
|
a.textContent = "Alberta Government";
|
|
8278
8277
|
t4 = text(" service\n ");
|
|
8279
8278
|
if (if_block) if_block.c();
|
|
8280
|
-
attr(div0, "data-testid", "
|
|
8281
|
-
attr(div0, "class", div0_class_value = "service-level service-level--" + /*
|
|
8279
|
+
attr(div0, "data-testid", "type");
|
|
8280
|
+
attr(div0, "class", div0_class_value = "service-level service-level--" + /*type*/ ctx[0].toLowerCase());
|
|
8282
8281
|
attr(a, "href", "https://www.alberta.ca/index.aspx");
|
|
8283
8282
|
attr(div1, "data-testid", "site-text");
|
|
8284
8283
|
attr(div1, "class", "site-text");
|
|
@@ -8294,9 +8293,9 @@ function create_if_block_1$3(ctx) {
|
|
|
8294
8293
|
if (if_block) if_block.m(div1, null);
|
|
8295
8294
|
},
|
|
8296
8295
|
p(ctx, dirty) {
|
|
8297
|
-
if (dirty & /*
|
|
8296
|
+
if (dirty & /*type*/ 1 && t0_value !== (t0_value = capitalize(/*type*/ ctx[0]) + "")) set_data(t0, t0_value);
|
|
8298
8297
|
|
|
8299
|
-
if (dirty & /*
|
|
8298
|
+
if (dirty & /*type*/ 1 && div0_class_value !== (div0_class_value = "service-level service-level--" + /*type*/ ctx[0].toLowerCase())) {
|
|
8300
8299
|
attr(div0, "class", div0_class_value);
|
|
8301
8300
|
}
|
|
8302
8301
|
|
|
@@ -8383,11 +8382,11 @@ function create_if_block$6(ctx) {
|
|
|
8383
8382
|
function create_fragment$c(ctx) {
|
|
8384
8383
|
let header;
|
|
8385
8384
|
let t0;
|
|
8386
|
-
let show_if = ["alpha", "beta"].includes(/*
|
|
8385
|
+
let show_if = ["alpha", "beta"].includes(/*type*/ ctx[0]);
|
|
8387
8386
|
let t1;
|
|
8388
8387
|
let div;
|
|
8389
8388
|
let t2;
|
|
8390
|
-
let if_block0 = /*
|
|
8389
|
+
let if_block0 = /*type*/ ctx[0] === "live" && create_if_block_3();
|
|
8391
8390
|
let if_block1 = show_if && create_if_block_1$3(ctx);
|
|
8392
8391
|
let if_block2 = /*version*/ ctx[1] && create_if_block$6(ctx);
|
|
8393
8392
|
|
|
@@ -8416,7 +8415,7 @@ function create_fragment$c(ctx) {
|
|
|
8416
8415
|
if (if_block2) if_block2.m(header, null);
|
|
8417
8416
|
},
|
|
8418
8417
|
p(ctx, [dirty]) {
|
|
8419
|
-
if (/*
|
|
8418
|
+
if (/*type*/ ctx[0] === "live") {
|
|
8420
8419
|
if (if_block0) ; else {
|
|
8421
8420
|
if_block0 = create_if_block_3();
|
|
8422
8421
|
if_block0.c();
|
|
@@ -8427,7 +8426,7 @@ function create_fragment$c(ctx) {
|
|
|
8427
8426
|
if_block0 = null;
|
|
8428
8427
|
}
|
|
8429
8428
|
|
|
8430
|
-
if (dirty & /*
|
|
8429
|
+
if (dirty & /*type*/ 1) show_if = ["alpha", "beta"].includes(/*type*/ ctx[0]);
|
|
8431
8430
|
|
|
8432
8431
|
if (show_if) {
|
|
8433
8432
|
if (if_block1) {
|
|
@@ -8472,23 +8471,23 @@ function capitalize(val) {
|
|
|
8472
8471
|
}
|
|
8473
8472
|
|
|
8474
8473
|
function instance$a($$self, $$props, $$invalidate) {
|
|
8475
|
-
let {
|
|
8474
|
+
let { type } = $$props;
|
|
8476
8475
|
let { version } = $$props;
|
|
8477
8476
|
let { feedbackurl } = $$props;
|
|
8478
8477
|
|
|
8479
8478
|
$$self.$$set = $$props => {
|
|
8480
|
-
if ('
|
|
8479
|
+
if ('type' in $$props) $$invalidate(0, type = $$props.type);
|
|
8481
8480
|
if ('version' in $$props) $$invalidate(1, version = $$props.version);
|
|
8482
8481
|
if ('feedbackurl' in $$props) $$invalidate(2, feedbackurl = $$props.feedbackurl);
|
|
8483
8482
|
};
|
|
8484
8483
|
|
|
8485
|
-
return [
|
|
8484
|
+
return [type, version, feedbackurl];
|
|
8486
8485
|
}
|
|
8487
8486
|
|
|
8488
8487
|
class MicrositeHeader extends SvelteElement {
|
|
8489
8488
|
constructor(options) {
|
|
8490
8489
|
super();
|
|
8491
|
-
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-sm);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;padding:0.5rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-
|
|
8490
|
+
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-sm);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;padding:0.5rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-type{font-weight:bold;padding:0.25rem;display:flex;margin-right:1rem;line-height:initial}.service-type--alpha{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.service-type--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-type--live{padding:0}.site-text{color:var(--goa-color-text);line-height:1.25rem}</style>`;
|
|
8492
8491
|
|
|
8493
8492
|
init(
|
|
8494
8493
|
this,
|
|
@@ -8500,7 +8499,7 @@ class MicrositeHeader extends SvelteElement {
|
|
|
8500
8499
|
instance$a,
|
|
8501
8500
|
create_fragment$c,
|
|
8502
8501
|
safe_not_equal,
|
|
8503
|
-
{
|
|
8502
|
+
{ type: 0, version: 1, feedbackurl: 2 },
|
|
8504
8503
|
null
|
|
8505
8504
|
);
|
|
8506
8505
|
|
|
@@ -8517,15 +8516,15 @@ class MicrositeHeader extends SvelteElement {
|
|
|
8517
8516
|
}
|
|
8518
8517
|
|
|
8519
8518
|
static get observedAttributes() {
|
|
8520
|
-
return ["
|
|
8519
|
+
return ["type", "version", "feedbackurl"];
|
|
8521
8520
|
}
|
|
8522
8521
|
|
|
8523
|
-
get
|
|
8522
|
+
get type() {
|
|
8524
8523
|
return this.$$.ctx[0];
|
|
8525
8524
|
}
|
|
8526
8525
|
|
|
8527
|
-
set
|
|
8528
|
-
this.$$set({
|
|
8526
|
+
set type(type) {
|
|
8527
|
+
this.$$set({ type });
|
|
8529
8528
|
flush();
|
|
8530
8529
|
}
|
|
8531
8530
|
|
package/web-components.umd.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
(function(D,v){typeof exports=="object"&&typeof module!="undefined"?v(exports):typeof define=="function"&&define.amd?define(["exports"],v):(D=typeof globalThis!="undefined"?globalThis:D||self,v(D["web-components"]={}))})(this,function(D){"use strict";function v(){}const _e=i=>i;function Xe(i,e){for(const t in e)i[t]=e[t];return i}function
|
|
1
|
+
(function(D,v){typeof exports=="object"&&typeof module!="undefined"?v(exports):typeof define=="function"&&define.amd?define(["exports"],v):(D=typeof globalThis!="undefined"?globalThis:D||self,v(D["web-components"]={}))})(this,function(D){"use strict";function v(){}const _e=i=>i;function Xe(i,e){for(const t in e)i[t]=e[t];return i}function Oe(i){return i()}function Ye(){return Object.create(null)}function ee(i){i.forEach(Oe)}function de(i){return typeof i=="function"}function G(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Ae;function Le(i,e){return Ae||(Ae=document.createElement("a")),Ae.href=e,i===Ae.href}function Ki(i){return Object.keys(i).length===0}function Xi(i,...e){if(i==null)return v;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function Yi(i,e,t){i.$$.on_destroy.push(Xi(e,t))}function Je(i){return i&&de(i.destroy)?i.destroy:v}const Qe=typeof window!="undefined";let Te=Qe?()=>window.performance.now():()=>Date.now(),Fe=Qe?i=>requestAnimationFrame(i):v;const ge=new Set;function $e(i){ge.forEach(e=>{e.c(i)||(ge.delete(e),e.f())}),ge.size!==0&&Fe($e)}function Re(i){let e;return ge.size===0&&Fe($e),{promise:new Promise(t=>{ge.add(e={c:i,f:t})}),abort(){ge.delete(e)}}}function m(i,e){i.appendChild(e)}function et(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function Ji(i){const e=b("style");return Qi(et(i),e),e.sheet}function Qi(i,e){m(i.head||i,e)}function p(i,e,t){i.insertBefore(e,t||null)}function E(i){i.parentNode.removeChild(i)}function qe(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function b(i){return document.createElement(i)}function ue(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function O(i){return document.createTextNode(i)}function R(){return O(" ")}function ie(){return O("")}function Z(i,e,t,r){return i.addEventListener(e,t,r),()=>i.removeEventListener(e,t,r)}function u(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function C(i,e,t){e in i?i[e]=typeof i[e]=="boolean"&&t===""?!0:t:u(i,e,t)}function $i(i){return Array.from(i.childNodes)}function V(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function q(i,e,t,r){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,r?"important":"")}function B(i,e,t){i.classList[t?"add":"remove"](e)}function er(i,e,{bubbles:t=!1,cancelable:r=!1}={}){const n=document.createEvent("CustomEvent");return n.initCustomEvent(i,t,r,e),n}function P(i){const e={};for(const t of i)e[t.name]=t.value;return e}const He=new Map;let Se=0;function tr(i){let e=5381,t=i.length;for(;t--;)e=(e<<5)-e^i.charCodeAt(t);return e>>>0}function ir(i,e){const t={stylesheet:Ji(e),rules:{}};return He.set(i,t),t}function Ie(i,e,t,r,n,o,a,l=0){const s=16.666/r;let c=`{
|
|
2
2
|
`;for(let A=0;A<=1;A+=s){const k=e+(t-e)*o(A);c+=A*100+`%{${a(k,1-k)}}
|
|
3
3
|
`}const d=c+`100% {${a(t,1-t)}}
|
|
4
|
-
}`,f=`__svelte_${tr(d)}_${l}`,g=et(i),{stylesheet:y,rules:w}=He.get(g)||ir(g,i);w[f]||(w[f]=!0,y.insertRule(`@keyframes ${f} ${d}`,y.cssRules.length));const _=i.style.animation||"";return i.style.animation=`${_?`${_}, `:""}${f} ${r}ms linear ${n}ms 1 both`,Se+=1,f}function Be(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?o=>o.indexOf(e)<0:o=>o.indexOf("__svelte")===-1),n=t.length-r.length;n&&(i.style.animation=r.join(", "),Se-=n,Se||rr())}function rr(){Fe(()=>{Se||(He.forEach(i=>{const{stylesheet:e}=i;let t=e.cssRules.length;for(;t--;)e.deleteRule(t);i.rules={}}),He.clear())})}let ye;function ke(i){ye=i}function tt(){if(!ye)throw new Error("Function called outside component initialization");return ye}function Q(i){tt().$$.on_mount.push(i)}function it(i){tt().$$.on_destroy.push(i)}const xe=[],te=[],De=[],rt=[],nt=Promise.resolve();let Ve=!1;function ot(){Ve||(Ve=!0,nt.then(h))}function Ee(){return ot(),nt}function re(i){De.push(i)}const We=new Set;let Ge=0;function h(){const i=ye;do{for(;Ge<xe.length;){const e=xe[Ge];Ge++,ke(e),nr(e.$$)}for(ke(null),xe.length=0,Ge=0;te.length;)te.pop()();for(let e=0;e<De.length;e+=1){const t=De[e];We.has(t)||(We.add(t),t())}De.length=0}while(xe.length);for(;rt.length;)rt.pop()();Ve=!1,We.clear(),ke(i)}function nr(i){if(i.fragment!==null){i.update(),ee(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(re)}}let Ce;function Ue(){return Ce||(Ce=Promise.resolve(),Ce.then(()=>{Ce=null})),Ce}function fe(i,e,t){i.dispatchEvent(er(`${e?"intro":"outro"}${t}`))}const Ne=new Set;let ne;function me(){ne={r:0,c:[],p:ne}}function be(){ne.r||ee(ne.c),ne=ne.p}function U(i,e){i&&i.i&&(Ne.delete(i),i.i(e))}function K(i,e,t,r){if(i&&i.o){if(Ne.has(i))return;Ne.add(i),ne.c.push(()=>{Ne.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}else r&&r()}const Ze={duration:0};function at(i,e,t){let r=e(i,t),n=!1,o,a,l=0;function s(){o&&Be(i,o)}function c(){const{delay:f=0,duration:g=300,easing:y=_e,tick:w=v,css:_}=r||Ze;_&&(o=Ie(i,0,1,g,f,y,_,l++)),w(0,1);const A=Te()+f,k=A+g;a&&a.abort(),n=!0,re(()=>fe(i,!0,"start")),a=Re(M=>{if(n){if(M>=k)return w(1,0),fe(i,!0,"end"),s(),n=!1;if(M>=A){const z=y((M-A)/g);w(z,1-z)}}return n})}let d=!1;return{start(){d||(d=!0,Be(i),de(r)?(r=r(),Ue().then(c)):c())},invalidate(){d=!1},end(){n&&(s(),n=!1)}}}function lt(i,e,t){let r=e(i,t),n=!0,o;const a=ne;a.r+=1;function l(){const{delay:s=0,duration:c=300,easing:d=_e,tick:f=v,css:g}=r||Ze;g&&(o=Ie(i,1,0,c,s,d,g));const y=Te()+s,w=y+c;re(()=>fe(i,!1,"start")),Re(_=>{if(n){if(_>=w)return f(0,1),fe(i,!1,"end"),--a.r||ee(a.c),!1;if(_>=y){const A=d((_-y)/c);f(1-A,A)}}return n})}return de(r)?Ue().then(()=>{r=r(),l()}):l(),{end(s){s&&r.tick&&r.tick(1,0),n&&(o&&Be(i,o),n=!1)}}}function Pe(i,e,t,r){let n=e(i,t),o=r?0:1,a=null,l=null,s=null;function c(){s&&Be(i,s)}function d(g,y){const w=g.b-o;return y*=Math.abs(w),{a:o,b:g.b,d:w,duration:y,start:g.start,end:g.start+y,group:g.group}}function f(g){const{delay:y=0,duration:w=300,easing:_=_e,tick:A=v,css:k}=n||Ze,M={start:Te()+y,b:g};g||(M.group=ne,ne.r+=1),a||l?l=M:(k&&(c(),s=Ie(i,o,g,w,y,_,k)),g&&A(0,1),a=d(M,w),re(()=>fe(i,g,"start")),Re(z=>{if(l&&z>l.start&&(a=d(l,w),l=null,fe(i,a.b,"start"),k&&(c(),s=Ie(i,o,a.b,a.duration,0,_,n.css))),a){if(z>=a.end)A(o=a.b,1-o),fe(i,a.b,"end"),l||(a.b?c():--a.group.r||ee(a.group.c)),a=null;else if(z>=a.start){const x=z-a.start;o=a.a+a.d*_(x/a.duration),A(o,1-o)}}return!!(a||l)}))}return{run(g){de(n)?Ue().then(()=>{n=n(),f(g)}):f(g)},end(){c(),a=l=null}}}function st(i,e){i.d(1),e.delete(i.key)}function ct(i,e,t,r,n,o,a,l,s,c,d,f){let g=i.length,y=o.length,w=g;const _={};for(;w--;)_[i[w].key]=w;const A=[],k=new Map,M=new Map;for(w=y;w--;){const L=f(n,o,w),I=t(L);let W=a.get(I);W?r&&W.p(L,e):(W=c(I,L),W.c()),k.set(I,A[w]=W),I in _&&M.set(I,Math.abs(w-_[I]))}const z=new Set,x=new Set;function T(L){U(L,1),L.m(l,d),a.set(L.key,L),d=L.first,y--}for(;g&&y;){const L=A[y-1],I=i[g-1],W=L.key,J=I.key;L===I?(d=L.first,g--,y--):k.has(J)?!a.has(W)||z.has(W)?T(L):x.has(J)?g--:M.get(W)>M.get(J)?(x.add(W),T(L)):(z.add(J),g--):(s(I,a),g--)}for(;g--;){const L=i[g];k.has(L.key)||s(L,a)}for(;y;)T(A[y-1]);return A}function he(i){i&&i.c()}function le(i,e,t,r){const{fragment:n,on_mount:o,on_destroy:a,after_update:l}=i.$$;n&&n.m(e,t),r||re(()=>{const s=o.map(je).filter(de);a?a.push(...s):ee(s),i.$$.on_mount=[]}),l.forEach(re)}function se(i,e){const t=i.$$;t.fragment!==null&&(ee(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function or(i,e){i.$$.dirty[0]===-1&&(xe.push(i),ot(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function O(i,e,t,r,n,o,a,l=[-1]){const s=ye;ke(i);const c=i.$$={fragment:null,ctx:null,props:o,update:v,not_equal:n,bound:Ye(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:Ye(),dirty:l,skip_bound:!1,root:e.target||s.$$.root};a&&a(c.root);let d=!1;if(c.ctx=t?t(i,e.props||{},(f,g,...y)=>{const w=y.length?y[0]:g;return c.ctx&&n(c.ctx[f],c.ctx[f]=w)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](w),d&&or(i,f)),g}):[],c.update(),d=!0,ee(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=$i(e.target);c.fragment&&c.fragment.l(f),f.forEach(E)}else c.fragment&&c.fragment.c();e.intro&&U(i.$$.fragment),le(i,e.target,e.anchor,e.customElement),h()}ke(s)}let N;typeof HTMLElement=="function"&&(N=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(je).filter(de);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){ee(this.$$.on_disconnect)}$destroy(){se(this,1),this.$destroy=v}$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&&!Ki(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});const ar=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function lr(i){return ar.test(i)}function sr(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=v,u(e,"class","page-content"),u(e,"style",r=`--max-width: ${i[0]}`)},m(n,o){p(n,e,o),m(e,t)},p(n,[o]){o&1&&r!==(r=`--max-width: ${n[0]}`)&&u(e,"style",r)},i:v,o:v,d(n){n&&E(e)}}}function cr(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:o}=e;function a(l){return!!(["full"].includes(n)||lr(l))}return Q(()=>{if(!a(n))throw"Invalid PageBlock width";t(0,o=r[n]||n)}),i.$$set=l=>{"width"in l&&t(1,n=l.width),"_width"in l&&t(0,o=l._width)},[o,n]}class dt extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1.75rem}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},cr,sr,G,{width:1,_width:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["width","_width"]}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),h()}get _width(){return this.$$.ctx[0]}set _width(e){this.$$set({_width:e}),h()}}customElements.define("goa-page-block",dt);function dr(i){let e,t,r,n,o,a,l,s,c;return{c(){e=b("div"),t=b("img"),n=R(),o=b("img"),l=R(),s=b("span"),c=j(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),Le(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(o,"alt","GoA Logo"),u(o,"class","image-desktop"),Le(o.src,a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||u(o,"src",a),u(s,"class","title"),u(e,"class","app-link")},m(d,f){p(d,e,f),m(e,t),m(e,n),m(e,o),m(e,l),m(e,s),m(s,c)},p(d,f){f&1&&V(c,d[0])},d(d){d&&E(e)}}}function ur(i){let e,t,r,n,o,a,l,s,c;return{c(){e=b("a"),t=b("img"),n=R(),o=b("img"),l=R(),s=b("span"),c=j(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),Le(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(o,"alt","GoA Logo"),u(o,"class","image-desktop"),Le(o.src,a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||u(o,"src",a),u(s,"class","title"),u(e,"href",i[1]),u(e,"class","app-link")},m(d,f){p(d,e,f),m(e,t),m(e,n),m(e,o),m(e,l),m(e,s),m(s,c)},p(d,f){f&1&&V(c,d[0]),f&2&&u(e,"href",d[1])},d(d){d&&E(e)}}}function fr(i){let e,t,r;function n(l,s){return l[1]?ur:dr}let o=n(i),a=o(i);return{c(){e=b("div"),a.c(),t=R(),r=b("div"),r.innerHTML="<slot></slot>",this.c=v,u(e,"class","app-header"),u(e,"data-testid",i[2])},m(l,s){p(l,e,s),a.m(e,null),m(e,t),m(e,r)},p(l,[s]){o===(o=n(l))&&a?a.p(l,s):(a.d(1),a=o(l),a&&(a.c(),a.m(e,t))),s&4&&u(e,"data-testid",l[2])},i:v,o:v,d(l){l&&E(e),a.d()}}}function hr(i,e,t){let{heading:r=""}=e,{url:n=""}=e,{testid:o=""}=e;return i.$$set=a=>{"heading"in a&&t(0,r=a.heading),"url"in a&&t(1,n=a.url),"testid"in a&&t(2,o=a.testid)},[r,n,o]}class ut extends N{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 1.5rem;border-bottom:1px solid var(--color-gray-100)}@media(max-width: 640px){.app-header{padding:1rem 1rem}}.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>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},hr,fr,G,{heading:0,url:1,testid:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","url","testid"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get url(){return this.$$.ctx[1]}set url(e){this.$$set({url:e}),h()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-app-header",ut);function F(i){return i==="false"?!1:i===""?!0:!!i}function gr(i){let e;return{c(){e=b("div"),q(e,"height","1.2rem"),q(e,"margin-left","-0.25rem")},m(t,r){p(t,e,r)},p:v,d(t){t&&E(e)}}}function mr(i){let e;return{c(){e=b("goa-icon"),C(e,"type",i[4]),C(e,"size","small")},m(t,r){p(t,e,r)},p(t,r){r&16&&C(e,"type",t[4])},d(t){t&&E(e)}}}function ft(i){let e,t;return{c(){e=b("div"),t=j(i[2]),u(e,"class","goa-badge-content")},m(r,n){p(r,e,n),m(e,t)},p(r,n){n&4&&V(t,r[2])},d(r){r&&E(e)}}}function br(i){let e,t,r;function n(s,c){return s[3]?mr:gr}let o=n(i),a=o(i),l=i[2]&&ft(i);return{c(){e=b("div"),a.c(),t=R(),l&&l.c(),this.c=v,u(e,"data-testid",i[1]),u(e,"data-type","goa-badge"),u(e,"class",r="goa-badge badge-"+i[0]),B(e,"icon-only",i[3]&&!i[2])},m(s,c){p(s,e,c),a.m(e,null),m(e,t),l&&l.m(e,null)},p(s,[c]){o===(o=n(s))&&a?a.p(s,c):(a.d(1),a=o(s),a&&(a.c(),a.m(e,t))),s[2]?l?l.p(s,c):(l=ft(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),c&2&&u(e,"data-testid",s[1]),c&1&&r!==(r="goa-badge badge-"+s[0])&&u(e,"class",r),c&13&&B(e,"icon-only",s[3]&&!s[2])},i:v,o:v,d(s){s&&E(e),a.d(),l&&l.d()}}}function vr(i,e,t){let r,n,{type:o}=e,{testid:a=""}=e,{icon:l="false"}=e,{content:s=""}=e;return Q(()=>{!r&&!s&&console.warn("GoABadge must have either then content or icon property set")}),i.$$set=c=>{"type"in c&&t(0,o=c.type),"testid"in c&&t(1,a=c.testid),"icon"in c&&t(5,l=c.icon),"content"in c&&t(2,s=c.content)},i.$$.update=()=>{i.$$.dirty&32&&t(3,r=F(l)),i.$$.dirty&1&&t(4,n={success:"checkmark-circle",warning:"alert-circle",information:"information-circle",emergency:"warning",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[o])},[o,a,s,r,n,l]}class ht extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;align-items:center;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--fw-regular);margin:0.25rem}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm);padding-bottom:var(--font-valign-fix)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--goa-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)}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},vr,br,G,{type:0,testid:1,icon:5,content:2},null),e&&(e.target&&p(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",ht);function pr(i){let e,t,r,n,o=i[4]&>(i),a=i[5]&&mt(i);return{c(){o&&o.c(),e=R(),t=b("div"),t.innerHTML="<slot></slot>",r=R(),a&&a.c(),n=ie(),u(t,"class","text")},m(l,s){o&&o.m(l,s),p(l,e,s),p(l,t,s),p(l,r,s),a&&a.m(l,s),p(l,n,s)},p(l,s){l[4]?o?o.p(l,s):(o=gt(l),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null),l[5]?a?a.p(l,s):(a=mt(l),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(l){o&&o.d(l),l&&E(e),l&&E(t),l&&E(r),a&&a.d(l),l&&E(n)}}}function wr(i){let e,t,r;return{c(){e=b("div"),e.innerHTML="<slot></slot>",t=R(),r=b("goa-icon"),u(e,"class","text"),C(r,"id","trailing-icon"),C(r,"type","arrow-forward"),C(r,"inverted","true")},m(n,o){p(n,e,o),p(n,t,o),p(n,r,o)},p:v,d(n){n&&E(e),n&&E(t),n&&E(r)}}}function gt(i){let e;return{c(){e=b("goa-icon"),C(e,"id","leading-icon"),C(e,"type",i[4]),C(e,"inverted",i[7])},m(t,r){p(t,e,r)},p(t,r){r&16&&C(e,"type",t[4]),r&128&&C(e,"inverted",t[7])},d(t){t&&E(e)}}}function mt(i){let e;return{c(){e=b("goa-icon"),C(e,"id","trailing-icon"),C(e,"type",i[5]),C(e,"inverted",i[7])},m(t,r){p(t,e,r)},p(t,r){r&32&&C(e,"type",t[5]),r&128&&C(e,"inverted",t[7])},d(t){t&&E(e)}}}function _r(i){let e,t,r,n;function o(s,c){return s[0]==="start"?wr:pr}let a=o(i),l=a(i);return{c(){e=b("button"),l.c(),this.c=v,u(e,"class",t=""+(i[0]+" "+i[1]+" "+i[2])),u(e,"title",i[3]),e.disabled=i[8],u(e,"data-testid",i[6]),B(e,"leading",i[4]),B(e,"trailing",i[5]||i[0]==="start")},m(s,c){p(s,e,c),l.m(e,null),r||(n=Z(e,"click",yr),r=!0)},p(s,[c]){a===(a=o(s))&&l?l.p(s,c):(l.d(1),l=a(s),l&&(l.c(),l.m(e,null))),c&7&&t!==(t=""+(s[0]+" "+s[1]+" "+s[2]))&&u(e,"class",t),c&8&&u(e,"title",s[3]),c&256&&(e.disabled=s[8]),c&64&&u(e,"data-testid",s[6]),c&23&&B(e,"leading",s[4]),c&39&&B(e,"trailing",s[5]||s[0]==="start")},i:v,o:v,d(s){s&&E(e),l.d(),r=!1,n()}}}function yr(i){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),i.stopPropagation()}function kr(i,e,t){let r,n;const o=["primary","secondary","tertiary","start"],a=["","compact"],l=["","destructive"];function s(z){return o.includes(z)}function c(z){return a.includes(z)}function d(z){return l.includes(z)}let{type:f="primary"}=e,{size:g=""}=e,{variant:y=""}=e,{title:w=""}=e,{disabled:_="false"}=e,{leadingicon:A=null}=e,{trailingicon:k=null}=e,{testid:M=""}=e;return Q(()=>{if(!s(f))throw"Invalid button type";if(!c(g))throw"Invalid button size";if(!d(y))throw"Invalid button variant"}),i.$$set=z=>{"type"in z&&t(0,f=z.type),"size"in z&&t(1,g=z.size),"variant"in z&&t(2,y=z.variant),"title"in z&&t(3,w=z.title),"disabled"in z&&t(9,_=z.disabled),"leadingicon"in z&&t(4,A=z.leadingicon),"trailingicon"in z&&t(5,k=z.trailingicon),"testid"in z&&t(6,M=z.testid)},i.$$.update=()=>{i.$$.dirty&512&&t(8,r=F(_)),i.$$.dirty&1&&t(7,n=f==="primary"||f==="start")},[f,g,y,w,A,k,M,n,r,_]}class bt extends N{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}@media(max-width: 480px){:host{width:100%}button{width:100%}}button{display:inline-flex;box-sizing:border-box;border-radius:0.25rem;border:2px solid var(--goa-color-interactive);box-sizing:border-box;cursor:pointer;font-family:var(--font-family);font-size:var(--fs-lg);font-weight:400;height:var(--button-height);letter-spacing:0.5px;line-height:100%;padding:0 0.75rem;gap:0.5rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
5
|
-
border-color 0.2s ease-in-out}.text{padding-bottom:var(--font-valign-fix)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--fs-base)}button.start{height:var(--button-height-tall);font-weight:var(--fw-bold)}button.start,button.primary{border:2px solid var(--goa-color-interactive);background:var(--goa-color-interactive);color:var(--goa-color-text-light)}button.start:hover,button.primary:hover{border-color:var(--goa-color-interactive--hover);background:var(--goa-color-interactive--hover)}button.start:focus,button.start:active,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 transparent;background:transparent;color:var(--goa-color-interactive);text-decoration:underline}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(--color-gray-100);background:var(--color-gray-100);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.primary.destructive{color:var(--color-white);background:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.primary.destructive:hover{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.primary.destructive:focus,.primary.destructive:active{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.secondary.destructive{color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);background:var(--color-white)}.secondary.destructive:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.secondary.destructive:focus,.secondary.destructive:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.destructive{color:var(--goa-color-status-emergency);border-color:var(--color-gray-200);background:var(--color-white)}.tertiary.destructive:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.destructive:focus,.tertiary.destructive:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}</style>`,
|
|
6
|
-
}}</style>`,O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Ar,Mr,G,{elevation:0,width:1,testId:2},null),e&&(e.target&&p(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",_t);function Lr(i){let e;return{c(){e=b("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=v},m(t,r){p(t,e,r)},p:v,i:v,o:v,d(t){t&&E(e)}}}class yt extends N{constructor(e){super();O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,Lr,G,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-actions",yt);function Tr(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=v,u(e,"class","card-content")},m(t,r){p(t,e,r)},p:v,i:v,o:v,d(t){t&&E(e)}}}class kt extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,Tr,G,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-content",kt);function Rr(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=v,u(e,"class","card-group")},m(t,r){p(t,e,r)},p:v,i:v,o:v,d(t){t&&E(e)}}}class xt extends N{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>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,Rr,G,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-group",xt);function Hr(i){let e;return{c(){e=b("div"),this.c=v,u(e,"class","card-image"),q(e,"background-image","url("+i[0]+")"),q(e,"height",i[1]),q(e,"background-size","cover"),q(e,"background-position","center")},m(t,r){p(t,e,r)},p(t,[r]){r&1&&q(e,"background-image","url("+t[0]+")"),r&2&&q(e,"height",t[1])},i:v,o:v,d(t){t&&E(e)}}}function Sr(i,e,t){let{src:r}=e,{height:n="100%"}=e;return i.$$set=o=>{"src"in o&&t(0,r=o.src),"height"in o&&t(1,n=o.height)},[r,n]}class Et extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Sr,Hr,G,{src:0,height:1},null),e&&(e.target&&p(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",Et);function Ir(i){let e,t;return{c(){e=ue("svg"),t=ue("path"),u(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),u(e,"id","checkmark"),u(e,"data-testid","checkmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 16 12.18")},m(r,n){p(r,e,n),m(e,t)},d(r){r&&E(e)}}}function Br(i){let e,t;return{c(){e=ue("svg"),t=ue("rect"),u(t,"width","15"),u(t,"height","2"),u(e,"id","dashmark"),u(e,"data-testid","dashmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 15 2")},m(r,n){p(r,e,n),m(e,t)},d(r){r&&E(e)}}}function Dr(i){let e,t,r,n,o,a,l,s,c,d,f;function g(_,A){if(_[5])return Br;if(_[4])return Ir}let y=g(i),w=y&&y(i);return{c(){e=b("label"),t=b("div"),r=b("input"),o=R(),w&&w.c(),a=R(),l=b("div"),s=b("slot"),c=j(i[1]),this.c=v,u(r,"id",i[0]),u(r,"data-testid",i[3]),u(r,"name",i[0]),r.checked=i[4],r.disabled=i[7],u(r,"type","checkbox"),r.value=n=`${i[2]}`,u(t,"class","goa-checkbox-container"),B(t,"goa-checkbox--selected",i[4]),u(l,"class","goa-checkbox-text"),u(l,"data-testid","text"),u(e,"for",i[0]),u(e,"class","goa-checkbox"),B(e,"goa-checkbox--disabled",i[7]),B(e,"goa-checkbox--error",i[6])},m(_,A){p(_,e,A),m(e,t),m(t,r),m(t,o),w&&w.m(t,null),m(e,a),m(e,l),m(l,s),m(s,c),d||(f=Z(r,"change",i[8]),d=!0)},p(_,[A]){A&1&&u(r,"id",_[0]),A&8&&u(r,"data-testid",_[3]),A&1&&u(r,"name",_[0]),A&16&&(r.checked=_[4]),A&128&&(r.disabled=_[7]),A&4&&n!==(n=`${_[2]}`)&&(r.value=n),y!==(y=g(_))&&(w&&w.d(1),w=y&&y(_),w&&(w.c(),w.m(t,null))),A&16&&B(t,"goa-checkbox--selected",_[4]),A&2&&V(c,_[1]),A&1&&u(e,"for",_[0]),A&128&&B(e,"goa-checkbox--disabled",_[7]),A&64&&B(e,"goa-checkbox--error",_[6])},i:v,o:v,d(_){_&&E(e),w&&w.d(),d=!1,f()}}}function Gr(i,e,t){let r,n,o,a,{name:l}=e,{checked:s}=e,{text:c=""}=e,{value:d=""}=e,{disabled:f}=e,{error:g}=e,{testid:y=""}=e;function w(_){const A=!o,k=A?`${d||"checked"}`:"";_.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:l,checked:A,value:k}}))}return i.$$set=_=>{"name"in _&&t(0,l=_.name),"checked"in _&&t(9,s=_.checked),"text"in _&&t(1,c=_.text),"value"in _&&t(2,d=_.value),"disabled"in _&&t(10,f=_.disabled),"error"in _&&t(11,g=_.error),"testid"in _&&t(3,y=_.testid)},i.$$.update=()=>{i.$$.dirty&1024&&t(7,r=F(f)),i.$$.dirty&2048&&t(6,n=F(g)),i.$$.dirty&512&&t(4,o=F(s))},t(5,a=!1),[l,c,d,y,o,a,n,r,w,s,f,g]}class Ct extends N{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family);display:block}.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;flex:0 0 auto}.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--hover)}.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-400)}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-status-emergency);box-shadow:inset 0 0 0 1px var(--goa-color-status-emergency);background-color:var(--color-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-status-emergency)}</style>',O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Gr,Dr,G,{name:0,checked:9,text:1,value:2,disabled:10,error:11,testid:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","checked","text","value","disabled","error","testid"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get checked(){return this.$$.ctx[9]}set checked(e){this.$$set({checked: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 disabled(){return this.$$.ctx[10]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[11]}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",Ct);function zt(i){let e;return{c(){e=b("goa-icon"),C(e,"class","leading-icon"),C(e,"size","medium"),C(e,"type",i[0])},m(t,r){p(t,e,r)},p(t,r){r&1&&C(e,"type",t[0])},d(t){t&&E(e)}}}function Mt(i){let e,t,r;return{c(){e=b("goa-icon"),C(e,"class","delete-icon"),C(e,"size","medium"),C(e,"theme","filled"),C(e,"type","close-circle"),C(e,"fillcolor",t=i[4]?"var(--goa-color-status-emergency)":i[3]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)"),C(e,"opacity",r=i[4]?i[3]?1:.5:1)},m(n,o){p(n,e,o)},p(n,o){o&24&&t!==(t=n[4]?"var(--goa-color-status-emergency)":n[3]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)")&&C(e,"fillcolor",t),o&24&&r!==(r=n[4]?n[3]?1:.5:1)&&C(e,"opacity",r)},d(n){n&&E(e)}}}function Nr(i){let e,t,r,n,o,a,l,s=i[0]&&zt(i),c=i[5]&&Mt(i);return{c(){e=b("div"),s&&s.c(),t=R(),r=b("div"),n=j(i[1]),o=R(),c&&c.c(),this.c=v,u(r,"class","text"),u(e,"data-testid","chip"),u(e,"class","chip"),u(e,"tabindex","0"),B(e,"deletable",i[5]),B(e,"error",i[4])},m(d,f){p(d,e,f),s&&s.m(e,null),m(e,t),m(e,r),m(r,n),m(e,o),c&&c.m(e,null),i[9](e),a||(l=[Z(e,"click",i[10]),Z(e,"mouseover",i[11]),Z(e,"mouseout",i[12]),Z(e,"focus",i[13]),Z(e,"blur",i[14])],a=!0)},p(d,[f]){d[0]?s?s.p(d,f):(s=zt(d),s.c(),s.m(e,t)):s&&(s.d(1),s=null),f&2&&V(n,d[1]),d[5]?c?c.p(d,f):(c=Mt(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&32&&B(e,"deletable",d[5]),f&16&&B(e,"error",d[4])},i:v,o:v,d(d){d&&E(e),s&&s.d(),c&&c.d(),i[9](null),a=!1,ee(l)}}}function Pr(i,e,t){let{leadingicon:r=null}=e,{error:n="false"}=e,{deletable:o="false"}=e,{content:a}=e,l,s=!1,c,d;function f(M){l.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),M.stopPropagation()}function g(M){te[M?"unshift":"push"](()=>{l=M,t(2,l)})}const y=M=>d&&f(M),w=()=>t(3,s=!0),_=()=>t(3,s=!1),A=()=>t(3,s=!1),k=()=>t(3,s=!1);return i.$$set=M=>{"leadingicon"in M&&t(0,r=M.leadingicon),"error"in M&&t(7,n=M.error),"deletable"in M&&t(8,o=M.deletable),"content"in M&&t(1,a=M.content)},i.$$.update=()=>{i.$$.dirty&128&&t(4,c=F(n)),i.$$.dirty&256&&t(5,d=F(o))},[r,a,l,s,c,d,f,n,o,g,y,w,_,A,k]}class At extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--color-white);border-radius:99px;border:1px solid #949494;box-sizing:border-box;color:var(--goa-color-text);display:inline-flex;flex-direction:row;font-size:var(--chip-font-size);font-weight:var(--fw-regular);gap:0.25rem;height:2rem;justify-content:center;margin:0.25rem;padding:0 0.75rem;cursor:default}.text{padding-bottom:var(--font-valign-fix)}.chip:focus{outline:2px solid var(--goa-color-interactive--focus);background-color:var(--color-white)}.chip:hover{background-color:var(--color-gray-200)}.deletable{cursor:pointer}.delete-icon{margin-right:-0.25rem}.error,.error:hover{background-color:var(--goa-color-status-emergency-light)}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Pr,Nr,G,{leadingicon:0,error:7,deletable:8,content:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["leadingicon","error","deletable","content"]}get leadingicon(){return this.$$.ctx[0]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),h()}get deletable(){return this.$$.ctx[8]}set deletable(e){this.$$set({deletable:e}),h()}get content(){return this.$$.ctx[1]}set content(e){this.$$set({content:e}),h()}}customElements.define("goa-chip",At);function Or(i){let e,t,r,n,o,a,l,s,c;return{c(){e=b("div"),t=b("header"),r=b("div"),r.innerHTML='<slot name="title"></slot>',n=R(),o=b("div"),o.innerHTML='<slot name="actions"></slot>',l=R(),s=b("div"),s.innerHTML="<slot></slot>",this.c=v,u(r,"class","title"),u(o,"class","actions"),u(t,"class",a="heading--"+i[1]),u(s,"class","content"),u(e,"class",c=`
|
|
4
|
+
}`,f=`__svelte_${tr(d)}_${l}`,g=et(i),{stylesheet:y,rules:w}=He.get(g)||ir(g,i);w[f]||(w[f]=!0,y.insertRule(`@keyframes ${f} ${d}`,y.cssRules.length));const _=i.style.animation||"";return i.style.animation=`${_?`${_}, `:""}${f} ${r}ms linear ${n}ms 1 both`,Se+=1,f}function Be(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?o=>o.indexOf(e)<0:o=>o.indexOf("__svelte")===-1),n=t.length-r.length;n&&(i.style.animation=r.join(", "),Se-=n,Se||rr())}function rr(){Fe(()=>{Se||(He.forEach(i=>{const{stylesheet:e}=i;let t=e.cssRules.length;for(;t--;)e.deleteRule(t);i.rules={}}),He.clear())})}let ye;function ke(i){ye=i}function tt(){if(!ye)throw new Error("Function called outside component initialization");return ye}function Q(i){tt().$$.on_mount.push(i)}function it(i){tt().$$.on_destroy.push(i)}const xe=[],te=[],De=[],rt=[],nt=Promise.resolve();let Ve=!1;function ot(){Ve||(Ve=!0,nt.then(h))}function Ee(){return ot(),nt}function re(i){De.push(i)}const We=new Set;let Ge=0;function h(){const i=ye;do{for(;Ge<xe.length;){const e=xe[Ge];Ge++,ke(e),nr(e.$$)}for(ke(null),xe.length=0,Ge=0;te.length;)te.pop()();for(let e=0;e<De.length;e+=1){const t=De[e];We.has(t)||(We.add(t),t())}De.length=0}while(xe.length);for(;rt.length;)rt.pop()();Ve=!1,We.clear(),ke(i)}function nr(i){if(i.fragment!==null){i.update(),ee(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(re)}}let Ce;function Ue(){return Ce||(Ce=Promise.resolve(),Ce.then(()=>{Ce=null})),Ce}function fe(i,e,t){i.dispatchEvent(er(`${e?"intro":"outro"}${t}`))}const Ne=new Set;let ne;function me(){ne={r:0,c:[],p:ne}}function be(){ne.r||ee(ne.c),ne=ne.p}function U(i,e){i&&i.i&&(Ne.delete(i),i.i(e))}function K(i,e,t,r){if(i&&i.o){if(Ne.has(i))return;Ne.add(i),ne.c.push(()=>{Ne.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}else r&&r()}const Ze={duration:0};function at(i,e,t){let r=e(i,t),n=!1,o,a,l=0;function s(){o&&Be(i,o)}function c(){const{delay:f=0,duration:g=300,easing:y=_e,tick:w=v,css:_}=r||Ze;_&&(o=Ie(i,0,1,g,f,y,_,l++)),w(0,1);const A=Te()+f,k=A+g;a&&a.abort(),n=!0,re(()=>fe(i,!0,"start")),a=Re(M=>{if(n){if(M>=k)return w(1,0),fe(i,!0,"end"),s(),n=!1;if(M>=A){const z=y((M-A)/g);w(z,1-z)}}return n})}let d=!1;return{start(){d||(d=!0,Be(i),de(r)?(r=r(),Ue().then(c)):c())},invalidate(){d=!1},end(){n&&(s(),n=!1)}}}function lt(i,e,t){let r=e(i,t),n=!0,o;const a=ne;a.r+=1;function l(){const{delay:s=0,duration:c=300,easing:d=_e,tick:f=v,css:g}=r||Ze;g&&(o=Ie(i,1,0,c,s,d,g));const y=Te()+s,w=y+c;re(()=>fe(i,!1,"start")),Re(_=>{if(n){if(_>=w)return f(0,1),fe(i,!1,"end"),--a.r||ee(a.c),!1;if(_>=y){const A=d((_-y)/c);f(1-A,A)}}return n})}return de(r)?Ue().then(()=>{r=r(),l()}):l(),{end(s){s&&r.tick&&r.tick(1,0),n&&(o&&Be(i,o),n=!1)}}}function Pe(i,e,t,r){let n=e(i,t),o=r?0:1,a=null,l=null,s=null;function c(){s&&Be(i,s)}function d(g,y){const w=g.b-o;return y*=Math.abs(w),{a:o,b:g.b,d:w,duration:y,start:g.start,end:g.start+y,group:g.group}}function f(g){const{delay:y=0,duration:w=300,easing:_=_e,tick:A=v,css:k}=n||Ze,M={start:Te()+y,b:g};g||(M.group=ne,ne.r+=1),a||l?l=M:(k&&(c(),s=Ie(i,o,g,w,y,_,k)),g&&A(0,1),a=d(M,w),re(()=>fe(i,g,"start")),Re(z=>{if(l&&z>l.start&&(a=d(l,w),l=null,fe(i,a.b,"start"),k&&(c(),s=Ie(i,o,a.b,a.duration,0,_,n.css))),a){if(z>=a.end)A(o=a.b,1-o),fe(i,a.b,"end"),l||(a.b?c():--a.group.r||ee(a.group.c)),a=null;else if(z>=a.start){const x=z-a.start;o=a.a+a.d*_(x/a.duration),A(o,1-o)}}return!!(a||l)}))}return{run(g){de(n)?Ue().then(()=>{n=n(),f(g)}):f(g)},end(){c(),a=l=null}}}function st(i,e){i.d(1),e.delete(i.key)}function ct(i,e,t,r,n,o,a,l,s,c,d,f){let g=i.length,y=o.length,w=g;const _={};for(;w--;)_[i[w].key]=w;const A=[],k=new Map,M=new Map;for(w=y;w--;){const L=f(n,o,w),I=t(L);let W=a.get(I);W?r&&W.p(L,e):(W=c(I,L),W.c()),k.set(I,A[w]=W),I in _&&M.set(I,Math.abs(w-_[I]))}const z=new Set,x=new Set;function T(L){U(L,1),L.m(l,d),a.set(L.key,L),d=L.first,y--}for(;g&&y;){const L=A[y-1],I=i[g-1],W=L.key,J=I.key;L===I?(d=L.first,g--,y--):k.has(J)?!a.has(W)||z.has(W)?T(L):x.has(J)?g--:M.get(W)>M.get(J)?(x.add(W),T(L)):(z.add(J),g--):(s(I,a),g--)}for(;g--;){const L=i[g];k.has(L.key)||s(L,a)}for(;y;)T(A[y-1]);return A}function he(i){i&&i.c()}function le(i,e,t,r){const{fragment:n,on_mount:o,on_destroy:a,after_update:l}=i.$$;n&&n.m(e,t),r||re(()=>{const s=o.map(Oe).filter(de);a?a.push(...s):ee(s),i.$$.on_mount=[]}),l.forEach(re)}function se(i,e){const t=i.$$;t.fragment!==null&&(ee(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function or(i,e){i.$$.dirty[0]===-1&&(xe.push(i),ot(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function j(i,e,t,r,n,o,a,l=[-1]){const s=ye;ke(i);const c=i.$$={fragment:null,ctx:null,props:o,update:v,not_equal:n,bound:Ye(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:Ye(),dirty:l,skip_bound:!1,root:e.target||s.$$.root};a&&a(c.root);let d=!1;if(c.ctx=t?t(i,e.props||{},(f,g,...y)=>{const w=y.length?y[0]:g;return c.ctx&&n(c.ctx[f],c.ctx[f]=w)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](w),d&&or(i,f)),g}):[],c.update(),d=!0,ee(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=$i(e.target);c.fragment&&c.fragment.l(f),f.forEach(E)}else c.fragment&&c.fragment.c();e.intro&&U(i.$$.fragment),le(i,e.target,e.anchor,e.customElement),h()}ke(s)}let N;typeof HTMLElement=="function"&&(N=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(Oe).filter(de);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){ee(this.$$.on_disconnect)}$destroy(){se(this,1),this.$destroy=v}$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&&!Ki(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});const ar=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function lr(i){return ar.test(i)}function sr(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=v,u(e,"class","page-content"),u(e,"style",r=`--max-width: ${i[0]}`)},m(n,o){p(n,e,o),m(e,t)},p(n,[o]){o&1&&r!==(r=`--max-width: ${n[0]}`)&&u(e,"style",r)},i:v,o:v,d(n){n&&E(e)}}}function cr(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:o}=e;function a(l){return!!(["full"].includes(n)||lr(l))}return Q(()=>{if(!a(n))throw"Invalid PageBlock width";t(0,o=r[n]||n)}),i.$$set=l=>{"width"in l&&t(1,n=l.width),"_width"in l&&t(0,o=l._width)},[o,n]}class dt extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1.75rem}</style>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},cr,sr,G,{width:1,_width:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["width","_width"]}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),h()}get _width(){return this.$$.ctx[0]}set _width(e){this.$$set({_width:e}),h()}}customElements.define("goa-page-block",dt);function dr(i){let e,t,r,n,o,a,l,s,c;return{c(){e=b("div"),t=b("img"),n=R(),o=b("img"),l=R(),s=b("span"),c=O(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),Le(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(o,"alt","GoA Logo"),u(o,"class","image-desktop"),Le(o.src,a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||u(o,"src",a),u(s,"class","title"),u(e,"class","app-link")},m(d,f){p(d,e,f),m(e,t),m(e,n),m(e,o),m(e,l),m(e,s),m(s,c)},p(d,f){f&1&&V(c,d[0])},d(d){d&&E(e)}}}function ur(i){let e,t,r,n,o,a,l,s,c;return{c(){e=b("a"),t=b("img"),n=R(),o=b("img"),l=R(),s=b("span"),c=O(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),Le(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(o,"alt","GoA Logo"),u(o,"class","image-desktop"),Le(o.src,a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||u(o,"src",a),u(s,"class","title"),u(e,"href",i[1]),u(e,"class","app-link")},m(d,f){p(d,e,f),m(e,t),m(e,n),m(e,o),m(e,l),m(e,s),m(s,c)},p(d,f){f&1&&V(c,d[0]),f&2&&u(e,"href",d[1])},d(d){d&&E(e)}}}function fr(i){let e,t,r;function n(l,s){return l[1]?ur:dr}let o=n(i),a=o(i);return{c(){e=b("div"),a.c(),t=R(),r=b("div"),r.innerHTML="<slot></slot>",this.c=v,u(e,"class","app-header"),u(e,"data-testid",i[2])},m(l,s){p(l,e,s),a.m(e,null),m(e,t),m(e,r)},p(l,[s]){o===(o=n(l))&&a?a.p(l,s):(a.d(1),a=o(l),a&&(a.c(),a.m(e,t))),s&4&&u(e,"data-testid",l[2])},i:v,o:v,d(l){l&&E(e),a.d()}}}function hr(i,e,t){let{heading:r=""}=e,{url:n=""}=e,{testid:o=""}=e;return i.$$set=a=>{"heading"in a&&t(0,r=a.heading),"url"in a&&t(1,n=a.url),"testid"in a&&t(2,o=a.testid)},[r,n,o]}class ut extends N{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 1.5rem;border-bottom:1px solid var(--color-gray-100)}@media(max-width: 640px){.app-header{padding:1rem 1rem}}.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>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},hr,fr,G,{heading:0,url:1,testid:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","url","testid"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get url(){return this.$$.ctx[1]}set url(e){this.$$set({url:e}),h()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-app-header",ut);function F(i){return i==="false"?!1:i===""?!0:!!i}function gr(i){let e;return{c(){e=b("div"),q(e,"height","1.2rem"),q(e,"margin-left","-0.25rem")},m(t,r){p(t,e,r)},p:v,d(t){t&&E(e)}}}function mr(i){let e;return{c(){e=b("goa-icon"),C(e,"type",i[4]),C(e,"size","small")},m(t,r){p(t,e,r)},p(t,r){r&16&&C(e,"type",t[4])},d(t){t&&E(e)}}}function ft(i){let e,t;return{c(){e=b("div"),t=O(i[2]),u(e,"class","goa-badge-content")},m(r,n){p(r,e,n),m(e,t)},p(r,n){n&4&&V(t,r[2])},d(r){r&&E(e)}}}function br(i){let e,t,r;function n(s,c){return s[3]?mr:gr}let o=n(i),a=o(i),l=i[2]&&ft(i);return{c(){e=b("div"),a.c(),t=R(),l&&l.c(),this.c=v,u(e,"data-testid",i[1]),u(e,"data-type","goa-badge"),u(e,"class",r="goa-badge badge-"+i[0]),B(e,"icon-only",i[3]&&!i[2])},m(s,c){p(s,e,c),a.m(e,null),m(e,t),l&&l.m(e,null)},p(s,[c]){o===(o=n(s))&&a?a.p(s,c):(a.d(1),a=o(s),a&&(a.c(),a.m(e,t))),s[2]?l?l.p(s,c):(l=ft(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),c&2&&u(e,"data-testid",s[1]),c&1&&r!==(r="goa-badge badge-"+s[0])&&u(e,"class",r),c&13&&B(e,"icon-only",s[3]&&!s[2])},i:v,o:v,d(s){s&&E(e),a.d(),l&&l.d()}}}function vr(i,e,t){let r,n,{type:o}=e,{testid:a=""}=e,{icon:l="false"}=e,{content:s=""}=e;return Q(()=>{!r&&!s&&console.warn("GoABadge must have either then content or icon property set")}),i.$$set=c=>{"type"in c&&t(0,o=c.type),"testid"in c&&t(1,a=c.testid),"icon"in c&&t(5,l=c.icon),"content"in c&&t(2,s=c.content)},i.$$.update=()=>{i.$$.dirty&32&&t(3,r=F(l)),i.$$.dirty&1&&t(4,n={success:"checkmark-circle",important:"alert-circle",information:"information-circle",emergency:"warning",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[o])},[o,a,s,r,n,l]}class ht extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;align-items:center;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--fw-regular);margin:0.25rem}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm);padding-bottom:var(--font-valign-fix)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--goa-color-status-info)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--goa-color-text-light)}.goa-badge.badge-important{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)}</style>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},vr,br,G,{type:0,testid:1,icon:5,content:2},null),e&&(e.target&&p(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",ht);function pr(i){let e,t,r,n,o=i[4]&>(i),a=i[5]&&mt(i);return{c(){o&&o.c(),e=R(),t=b("div"),t.innerHTML="<slot></slot>",r=R(),a&&a.c(),n=ie(),u(t,"class","text")},m(l,s){o&&o.m(l,s),p(l,e,s),p(l,t,s),p(l,r,s),a&&a.m(l,s),p(l,n,s)},p(l,s){l[4]?o?o.p(l,s):(o=gt(l),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null),l[5]?a?a.p(l,s):(a=mt(l),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(l){o&&o.d(l),l&&E(e),l&&E(t),l&&E(r),a&&a.d(l),l&&E(n)}}}function wr(i){let e,t,r;return{c(){e=b("div"),e.innerHTML="<slot></slot>",t=R(),r=b("goa-icon"),u(e,"class","text"),C(r,"id","trailing-icon"),C(r,"type","arrow-forward"),C(r,"inverted","true")},m(n,o){p(n,e,o),p(n,t,o),p(n,r,o)},p:v,d(n){n&&E(e),n&&E(t),n&&E(r)}}}function gt(i){let e;return{c(){e=b("goa-icon"),C(e,"id","leading-icon"),C(e,"type",i[4]),C(e,"inverted",i[7])},m(t,r){p(t,e,r)},p(t,r){r&16&&C(e,"type",t[4]),r&128&&C(e,"inverted",t[7])},d(t){t&&E(e)}}}function mt(i){let e;return{c(){e=b("goa-icon"),C(e,"id","trailing-icon"),C(e,"type",i[5]),C(e,"inverted",i[7])},m(t,r){p(t,e,r)},p(t,r){r&32&&C(e,"type",t[5]),r&128&&C(e,"inverted",t[7])},d(t){t&&E(e)}}}function _r(i){let e,t,r,n;function o(s,c){return s[0]==="start"?wr:pr}let a=o(i),l=a(i);return{c(){e=b("button"),l.c(),this.c=v,u(e,"class",t=""+(i[0]+" "+i[1]+" "+i[2])),u(e,"title",i[3]),e.disabled=i[8],u(e,"data-testid",i[6]),B(e,"leading",i[4]),B(e,"trailing",i[5]||i[0]==="start")},m(s,c){p(s,e,c),l.m(e,null),r||(n=Z(e,"click",yr),r=!0)},p(s,[c]){a===(a=o(s))&&l?l.p(s,c):(l.d(1),l=a(s),l&&(l.c(),l.m(e,null))),c&7&&t!==(t=""+(s[0]+" "+s[1]+" "+s[2]))&&u(e,"class",t),c&8&&u(e,"title",s[3]),c&256&&(e.disabled=s[8]),c&64&&u(e,"data-testid",s[6]),c&23&&B(e,"leading",s[4]),c&39&&B(e,"trailing",s[5]||s[0]==="start")},i:v,o:v,d(s){s&&E(e),l.d(),r=!1,n()}}}function yr(i){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),i.stopPropagation()}function kr(i,e,t){let r,n;const o=["primary","secondary","tertiary","start"],a=["","compact"],l=["","destructive"];function s(z){return o.includes(z)}function c(z){return a.includes(z)}function d(z){return l.includes(z)}let{type:f="primary"}=e,{size:g=""}=e,{variant:y=""}=e,{title:w=""}=e,{disabled:_="false"}=e,{leadingicon:A=null}=e,{trailingicon:k=null}=e,{testid:M=""}=e;return Q(()=>{if(!s(f))throw"Invalid button type";if(!c(g))throw"Invalid button size";if(!d(y))throw"Invalid button variant"}),i.$$set=z=>{"type"in z&&t(0,f=z.type),"size"in z&&t(1,g=z.size),"variant"in z&&t(2,y=z.variant),"title"in z&&t(3,w=z.title),"disabled"in z&&t(9,_=z.disabled),"leadingicon"in z&&t(4,A=z.leadingicon),"trailingicon"in z&&t(5,k=z.trailingicon),"testid"in z&&t(6,M=z.testid)},i.$$.update=()=>{i.$$.dirty&512&&t(8,r=F(_)),i.$$.dirty&1&&t(7,n=f==="primary"||f==="start")},[f,g,y,w,A,k,M,n,r,_]}class bt extends N{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}@media(max-width: 480px){:host{width:100%}button{width:100%}}button{display:inline-flex;box-sizing:border-box;border-radius:0.25rem;border:2px solid var(--goa-color-interactive);box-sizing:border-box;cursor:pointer;font-family:var(--font-family);font-size:var(--fs-lg);font-weight:400;height:var(--button-height);letter-spacing:0.5px;line-height:100%;padding:0 0.75rem;gap:0.5rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
5
|
+
border-color 0.2s ease-in-out}.text{padding-bottom:var(--font-valign-fix)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--fs-base)}button.start{height:var(--button-height-tall);font-weight:var(--fw-bold)}button.start,button.primary{border:2px solid var(--goa-color-interactive);background:var(--goa-color-interactive);color:var(--goa-color-text-light)}button.start:hover,button.primary:hover{border-color:var(--goa-color-interactive--hover);background:var(--goa-color-interactive--hover)}button.start:focus,button.start:active,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 transparent;background:transparent;color:var(--goa-color-interactive);text-decoration:underline}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(--color-gray-100);background:var(--color-gray-100);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.primary.destructive{color:var(--color-white);background:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.primary.destructive:hover{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.primary.destructive:focus,.primary.destructive:active{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.secondary.destructive{color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);background:var(--color-white)}.secondary.destructive:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.secondary.destructive:focus,.secondary.destructive:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.destructive{color:var(--goa-color-status-emergency);border-color:var(--color-gray-200);background:var(--color-white)}.tertiary.destructive:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.destructive:focus,.tertiary.destructive:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}</style>`,j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},kr,_r,G,{type:0,size:1,variant:2,title:3,disabled:9,leadingicon:4,trailingicon:5,testid:6},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","variant","title","disabled","leadingicon","trailingicon","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[9]}set disabled(e){this.$$set({disabled: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 testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-button",bt);function xr(i){let e,t;return{c(){e=b("div"),t=b("slot"),this.c=v,q(e,"--alignment","flex-"+i[1]),q(e,"--gap-size",i[0]==="small"?"0.5rem":"1.25rem")},m(r,n){p(r,e,n),m(e,t)},p(r,[n]){n&2&&q(e,"--alignment","flex-"+r[1]),n&1&&q(e,"--gap-size",r[0]==="small"?"0.5rem":"1.25rem")},i:v,o:v,d(r){r&&E(e)}}}function Er(i,e,t){let{gap:r="medium"}=e,{alignment:n}=e;return i.$$set=o=>{"gap"in o&&t(0,r=o.gap),"alignment"in o&&t(1,n=o.alignment)},[r,n]}class vt extends N{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>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Er,xr,G,{gap:0,alignment:1},null),e&&(e.target&&p(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",vt);function pt(i){let e,t;return{c(){e=b("h3"),t=O(i[1])},m(r,n){p(r,e,n),m(e,t)},p(r,n){n&2&&V(t,r[1])},d(r){r&&E(e)}}}function Cr(i){let e,t,r,n,o,a,l,s,c,d=i[1]&&pt(i);return{c(){e=b("div"),t=b("span"),r=b("goa-icon"),a=R(),l=b("span"),d&&d.c(),s=R(),c=b("slot"),this.c=v,C(r,"type",i[3]),C(r,"inverted",n=i[0]==="important"?"false":"true"),u(t,"class",o="icon "+i[0]),u(l,"class","content"),u(e,"class","notification"),u(e,"data-testid",i[2])},m(f,g){p(f,e,g),m(e,t),m(t,r),m(e,a),m(e,l),d&&d.m(l,null),m(l,s),m(l,c)},p(f,[g]){g&8&&C(r,"type",f[3]),g&1&&n!==(n=f[0]==="important"?"false":"true")&&C(r,"inverted",n),g&1&&o!==(o="icon "+f[0])&&u(t,"class",o),f[1]?d?d.p(f,g):(d=pt(f),d.c(),d.m(l,s)):d&&(d.d(1),d=null),g&4&&u(e,"data-testid",f[2])},i:v,o:v,d(f){f&&E(e),d&&d.d()}}}function zr(i,e,t){let r,{type:n}=e,{heading:o=""}=e,{testid:a=""}=e;return i.$$set=l=>{"type"in l&&t(0,n=l.type),"heading"in l&&t(1,o=l.heading),"testid"in l&&t(2,a=l.testid)},i.$$.update=()=>{i.$$.dirty&1&&t(3,r=n==="emergency"?"warning":n==="important"?"alert-circle":n==="information"?"information-circle":n==="success"?"checkmark-circle":n==="event"?"calendar":"")},[n,o,a,r]}class wt extends N{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.75rem}.content{flex:1 1 auto;background-color:var(--color-gray-100);padding:1.75rem}</style>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},zr,Cr,G,{type:0,heading:1,testid:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","heading","testid"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get heading(){return this.$$.ctx[1]}set heading(e){this.$$set({heading:e}),h()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-callout",wt);function Mr(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=v,u(e,"data-testid",i[2]),u(e,"class","card"),u(e,"style",r="--width: "+i[1]+"px; "+(i[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(n,o){p(n,e,o),m(e,t)},p(n,[o]){o&4&&u(e,"data-testid",n[2]),o&3&&r!==(r="--width: "+n[1]+"px; "+(n[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${n[0]});`)+"")&&u(e,"style",r)},i:v,o:v,d(n){n&&E(e)}}}function Ar(i,e,t){let{elevation:r=0}=e,{width:n=320}=e,{testId:o=""}=e;return i.$$set=a=>{"elevation"in a&&t(0,r=a.elevation),"width"in a&&t(1,n=a.width),"testId"in a&&t(2,o=a.testId)},[r,n,o]}class _t extends N{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>`,j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Ar,Mr,G,{elevation:0,width:1,testId:2},null),e&&(e.target&&p(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",_t);function Lr(i){let e;return{c(){e=b("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=v},m(t,r){p(t,e,r)},p:v,i:v,o:v,d(t){t&&E(e)}}}class yt extends N{constructor(e){super();j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,Lr,G,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-actions",yt);function Tr(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=v,u(e,"class","card-content")},m(t,r){p(t,e,r)},p:v,i:v,o:v,d(t){t&&E(e)}}}class kt extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,Tr,G,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-content",kt);function Rr(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=v,u(e,"class","card-group")},m(t,r){p(t,e,r)},p:v,i:v,o:v,d(t){t&&E(e)}}}class xt extends N{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>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,Rr,G,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-group",xt);function Hr(i){let e;return{c(){e=b("div"),this.c=v,u(e,"class","card-image"),q(e,"background-image","url("+i[0]+")"),q(e,"height",i[1]),q(e,"background-size","cover"),q(e,"background-position","center")},m(t,r){p(t,e,r)},p(t,[r]){r&1&&q(e,"background-image","url("+t[0]+")"),r&2&&q(e,"height",t[1])},i:v,o:v,d(t){t&&E(e)}}}function Sr(i,e,t){let{src:r}=e,{height:n="100%"}=e;return i.$$set=o=>{"src"in o&&t(0,r=o.src),"height"in o&&t(1,n=o.height)},[r,n]}class Et extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Sr,Hr,G,{src:0,height:1},null),e&&(e.target&&p(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",Et);function Ir(i){let e,t;return{c(){e=ue("svg"),t=ue("path"),u(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),u(e,"id","checkmark"),u(e,"data-testid","checkmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 16 12.18")},m(r,n){p(r,e,n),m(e,t)},d(r){r&&E(e)}}}function Br(i){let e,t;return{c(){e=ue("svg"),t=ue("rect"),u(t,"width","15"),u(t,"height","2"),u(e,"id","dashmark"),u(e,"data-testid","dashmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 15 2")},m(r,n){p(r,e,n),m(e,t)},d(r){r&&E(e)}}}function Dr(i){let e,t,r,n,o,a,l,s,c,d,f;function g(_,A){if(_[5])return Br;if(_[4])return Ir}let y=g(i),w=y&&y(i);return{c(){e=b("label"),t=b("div"),r=b("input"),o=R(),w&&w.c(),a=R(),l=b("div"),s=b("slot"),c=O(i[1]),this.c=v,u(r,"id",i[0]),u(r,"data-testid",i[3]),u(r,"name",i[0]),r.checked=i[4],r.disabled=i[7],u(r,"type","checkbox"),r.value=n=`${i[2]}`,u(t,"class","goa-checkbox-container"),B(t,"goa-checkbox--selected",i[4]),u(l,"class","goa-checkbox-text"),u(l,"data-testid","text"),u(e,"for",i[0]),u(e,"class","goa-checkbox"),B(e,"goa-checkbox--disabled",i[7]),B(e,"goa-checkbox--error",i[6])},m(_,A){p(_,e,A),m(e,t),m(t,r),m(t,o),w&&w.m(t,null),m(e,a),m(e,l),m(l,s),m(s,c),d||(f=Z(r,"change",i[8]),d=!0)},p(_,[A]){A&1&&u(r,"id",_[0]),A&8&&u(r,"data-testid",_[3]),A&1&&u(r,"name",_[0]),A&16&&(r.checked=_[4]),A&128&&(r.disabled=_[7]),A&4&&n!==(n=`${_[2]}`)&&(r.value=n),y!==(y=g(_))&&(w&&w.d(1),w=y&&y(_),w&&(w.c(),w.m(t,null))),A&16&&B(t,"goa-checkbox--selected",_[4]),A&2&&V(c,_[1]),A&1&&u(e,"for",_[0]),A&128&&B(e,"goa-checkbox--disabled",_[7]),A&64&&B(e,"goa-checkbox--error",_[6])},i:v,o:v,d(_){_&&E(e),w&&w.d(),d=!1,f()}}}function Gr(i,e,t){let r,n,o,a,{name:l}=e,{checked:s}=e,{text:c=""}=e,{value:d=""}=e,{disabled:f}=e,{error:g}=e,{testid:y=""}=e;function w(_){const A=!o,k=A?`${d||"checked"}`:"";_.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:l,checked:A,value:k}}))}return i.$$set=_=>{"name"in _&&t(0,l=_.name),"checked"in _&&t(9,s=_.checked),"text"in _&&t(1,c=_.text),"value"in _&&t(2,d=_.value),"disabled"in _&&t(10,f=_.disabled),"error"in _&&t(11,g=_.error),"testid"in _&&t(3,y=_.testid)},i.$$.update=()=>{i.$$.dirty&1024&&t(7,r=F(f)),i.$$.dirty&2048&&t(6,n=F(g)),i.$$.dirty&512&&t(4,o=F(s))},t(5,a=!1),[l,c,d,y,o,a,n,r,w,s,f,g]}class Ct extends N{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family);display:block}.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;flex:0 0 auto}.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--hover)}.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-400)}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-status-emergency);box-shadow:inset 0 0 0 1px var(--goa-color-status-emergency);background-color:var(--color-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-status-emergency)}</style>',j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Gr,Dr,G,{name:0,checked:9,text:1,value:2,disabled:10,error:11,testid:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","checked","text","value","disabled","error","testid"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get checked(){return this.$$.ctx[9]}set checked(e){this.$$set({checked: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 disabled(){return this.$$.ctx[10]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[11]}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",Ct);function zt(i){let e;return{c(){e=b("goa-icon"),C(e,"class","leading-icon"),C(e,"size","medium"),C(e,"type",i[0])},m(t,r){p(t,e,r)},p(t,r){r&1&&C(e,"type",t[0])},d(t){t&&E(e)}}}function Mt(i){let e,t,r;return{c(){e=b("goa-icon"),C(e,"class","delete-icon"),C(e,"size","medium"),C(e,"theme","filled"),C(e,"type","close-circle"),C(e,"fillcolor",t=i[4]?"var(--goa-color-status-emergency)":i[3]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)"),C(e,"opacity",r=i[4]?i[3]?1:.5:1)},m(n,o){p(n,e,o)},p(n,o){o&24&&t!==(t=n[4]?"var(--goa-color-status-emergency)":n[3]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)")&&C(e,"fillcolor",t),o&24&&r!==(r=n[4]?n[3]?1:.5:1)&&C(e,"opacity",r)},d(n){n&&E(e)}}}function Nr(i){let e,t,r,n,o,a,l,s=i[0]&&zt(i),c=i[5]&&Mt(i);return{c(){e=b("div"),s&&s.c(),t=R(),r=b("div"),n=O(i[1]),o=R(),c&&c.c(),this.c=v,u(r,"class","text"),u(e,"data-testid","chip"),u(e,"class","chip"),u(e,"tabindex","0"),B(e,"deletable",i[5]),B(e,"error",i[4])},m(d,f){p(d,e,f),s&&s.m(e,null),m(e,t),m(e,r),m(r,n),m(e,o),c&&c.m(e,null),i[9](e),a||(l=[Z(e,"click",i[10]),Z(e,"mouseover",i[11]),Z(e,"mouseout",i[12]),Z(e,"focus",i[13]),Z(e,"blur",i[14])],a=!0)},p(d,[f]){d[0]?s?s.p(d,f):(s=zt(d),s.c(),s.m(e,t)):s&&(s.d(1),s=null),f&2&&V(n,d[1]),d[5]?c?c.p(d,f):(c=Mt(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&32&&B(e,"deletable",d[5]),f&16&&B(e,"error",d[4])},i:v,o:v,d(d){d&&E(e),s&&s.d(),c&&c.d(),i[9](null),a=!1,ee(l)}}}function Pr(i,e,t){let{leadingicon:r=null}=e,{error:n="false"}=e,{deletable:o="false"}=e,{content:a}=e,l,s=!1,c,d;function f(M){l.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),M.stopPropagation()}function g(M){te[M?"unshift":"push"](()=>{l=M,t(2,l)})}const y=M=>d&&f(M),w=()=>t(3,s=!0),_=()=>t(3,s=!1),A=()=>t(3,s=!1),k=()=>t(3,s=!1);return i.$$set=M=>{"leadingicon"in M&&t(0,r=M.leadingicon),"error"in M&&t(7,n=M.error),"deletable"in M&&t(8,o=M.deletable),"content"in M&&t(1,a=M.content)},i.$$.update=()=>{i.$$.dirty&128&&t(4,c=F(n)),i.$$.dirty&256&&t(5,d=F(o))},[r,a,l,s,c,d,f,n,o,g,y,w,_,A,k]}class At extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--color-white);border-radius:99px;border:1px solid #949494;box-sizing:border-box;color:var(--goa-color-text);display:inline-flex;flex-direction:row;font-size:var(--chip-font-size);font-weight:var(--fw-regular);gap:0.25rem;height:2rem;justify-content:center;margin:0.25rem;padding:0 0.75rem;cursor:default}.text{padding-bottom:var(--font-valign-fix)}.chip:focus{outline:2px solid var(--goa-color-interactive--focus);background-color:var(--color-white)}.chip:hover{background-color:var(--color-gray-200)}.deletable{cursor:pointer}.delete-icon{margin-right:-0.25rem}.error,.error:hover{background-color:var(--goa-color-status-emergency-light)}</style>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Pr,Nr,G,{leadingicon:0,error:7,deletable:8,content:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["leadingicon","error","deletable","content"]}get leadingicon(){return this.$$.ctx[0]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),h()}get deletable(){return this.$$.ctx[8]}set deletable(e){this.$$set({deletable:e}),h()}get content(){return this.$$.ctx[1]}set content(e){this.$$set({content:e}),h()}}customElements.define("goa-chip",At);function jr(i){let e,t,r,n,o,a,l,s,c;return{c(){e=b("div"),t=b("header"),r=b("div"),r.innerHTML='<slot name="title"></slot>',n=R(),o=b("div"),o.innerHTML='<slot name="actions"></slot>',l=R(),s=b("div"),s.innerHTML="<slot></slot>",this.c=v,u(r,"class","title"),u(o,"class","actions"),u(t,"class",a="heading--"+i[1]),u(s,"class","content"),u(e,"class",c=`
|
|
7
7
|
goa-container
|
|
8
8
|
goa-container--${i[0]}
|
|
9
9
|
padding--${i[2]}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
goa-container
|
|
12
12
|
goa-container--${d[0]}
|
|
13
13
|
padding--${d[2]}
|
|
14
|
-
`)&&u(e,"class",c),f&13&&B(e,"colored",d[3])},i:v,o:v,d(d){d&&E(e)}}}function jr(i,e,t){let r,{variant:n="non-interactive"}=e,{colored:o="false"}=e,{headingsize:a="large"}=e,{padding:l="relaxed"}=e;return i.$$set=s=>{"variant"in s&&t(0,n=s.variant),"colored"in s&&t(4,o=s.colored),"headingsize"in s&&t(1,a=s.headingsize),"padding"in s&&t(2,l=s.padding)},i.$$.update=()=>{i.$$.dirty&16&&t(3,r=F(o))},[n,a,l,r,o]}class Lt extends N{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{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)}.content{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--non-interactive.colored .content{border-color:var(--color-gray-200);background-color:var(--color-gray-100)}.goa-container--important.colored .content{border-color:var(--goa-color-status-warning);background-color:var(--goa-color-status-warning-50)}.goa-container--error.colored .content{border-color:var(--goa-color-status-emergency);background-color:var(--goa-color-status-emergency-50)}.goa-container--success.colored .content{border-color:var(--goa-color-status-success);background-color:var(--goa-color-status-success-50)}.goa-container--info.colored .content{border-color:var(--goa-color-status-info);background-color:var(--goa-color-status-info-50)}.title>*,.actions>*{line-height:3rem}.padding--relaxed header{padding:0 1.5rem}.padding--relaxed .content{padding:1.5rem}.padding--compact header,.padding--compact .content{padding:0 1rem}.padding--compact header{padding:0 1rem}.padding--compact .content{padding:1rem}@media screen and (max-width: 480px){.padding--relaxed header{padding:0 1rem}.padding--relaxed .content{padding:1rem}}.goa-container--non-interactive header{background-color:var(--color-gray-100);border-color:var(--color-gray-200);color:var(--color-black)}.goa-container--interactive 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--important 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>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},jr,Or,G,{variant:0,colored:4,headingsize:1,padding:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["variant","colored","headingsize","padding"]}get variant(){return this.$$.ctx[0]}set variant(e){this.$$set({variant:e}),h()}get colored(){return this.$$.ctx[4]}set colored(e){this.$$set({colored:e}),h()}get headingsize(){return this.$$.ctx[1]}set headingsize(e){this.$$set({headingsize:e}),h()}get padding(){return this.$$.ctx[2]}set padding(e){this.$$set({padding:e}),h()}}customElements.define("goa-container",Lt);const ve=[];function Tt(i,e=v){let t;const r=new Set;function n(l){if(G(i,l)&&(i=l,t)){const s=!ve.length;for(const c of r)c[1](),ve.push(c,i);if(s){for(let c=0;c<ve.length;c+=2)ve[c][0](ve[c+1]);ve.length=0}}}function o(l){n(l(i))}function a(l,s=v){const c=[l,s];return r.add(c),r.size===1&&(t=e(n)||v),l(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:n,update:o,subscribe:a}}const ze={};class Fr{constructor(){this.store=Tt()}subscribe(e){this.store.subscribe(t=>{e(t)})}notify(e){this.store.update(()=>e)}}function Rt(i){const e=new Fr;return ze[i]=e,e}async function Ht(i){return await St(i,0)}async function St(i,e){if(e>10)throw new Error(`Could not find context ${i}`);return ze[i]?ze[i]:(await Ee(),St(i,e+1))}function It(i){!ze[i]||delete ze[i]}const Bt="bind";function Dt(i,e,t){const r=i.slice();return r[36]=e[t],r[38]=t,r}function Gt(i){let e,t,r,n;return{c(){e=b("div"),u(e,"data-testid",t=`${i[0]}-dropdown-background`),u(e,"class","goa-dropdown-background")},m(o,a){p(o,e,a),r||(n=Z(e,"click",i[18]),r=!0)},p(o,a){a[0]&1&&t!==(t=`${o[0]}-dropdown-background`)&&u(e,"data-testid",t)},d(o){o&&E(e),r=!1,n()}}}function Nt(i,e){let t,r=e[36].label+"",n,o,a,l,s,c,d,f;function g(){return e[22](e[36])}return{key:i,first:null,c(){t=b("li"),n=j(r),o=R(),u(t,"aria-label",a=e[36].label||e[36].value),u(t,"data-testid",l=`${e[36].value}-dropdown-item`),u(t,"data-index",s=e[38]),u(t,"class","goa-dropdown-option"),u(t,"style",c="display: block"),B(t,"goa-dropdown-option--disabled",!1),B(t,"goa-dropdown-option--tabbed",e[38]===e[13]),B(t,"goa-dropdown-option--selected",e[9].includes(e[36].value)),this.first=t},m(y,w){p(y,t,w),m(t,n),m(t,o),d||(f=Z(t,"click",g),d=!0)},p(y,w){e=y,w[0]&1024&&r!==(r=e[36].label+"")&&V(n,r),w[0]&1024&&a!==(a=e[36].label||e[36].value)&&u(t,"aria-label",a),w[0]&1024&&l!==(l=`${e[36].value}-dropdown-item`)&&u(t,"data-testid",l),w[0]&1024&&s!==(s=e[38])&&u(t,"data-index",s),w[0]&9216&&B(t,"goa-dropdown-option--tabbed",e[38]===e[13]),w[0]&1536&&B(t,"goa-dropdown-option--selected",e[9].includes(e[36].value))},d(y){y&&E(t),d=!1,f()}}}function qr(i){let e,t,r,n,o,a,l,s,c,d,f,g=[],y=new Map,w,_,A,k,M=i[12]&&Gt(i),z=i[10];const x=T=>T[36].value;for(let T=0;T<z.length;T+=1){let L=Dt(i,z,T),I=x(L);y.set(I,g[T]=Nt(I,L))}return{c(){e=b("div"),M&&M.c(),t=R(),r=b("div"),n=b("goa-input"),s=R(),c=b("ul"),d=b("slot"),f=R();for(let T=0;T<g.length;T+=1)g[T].c();this.c=v,C(n,"error",i[8]),C(n,"disabled",i[7]),C(n,"leadingicon",i[2]),C(n,"placeholder",i[4]),C(n,"width","100%"),C(n,"id",o=`${i[0]}-dropdown-input`),C(n,"aria-label",a=i[1]||i[0]),C(n,"readonly",""),C(n,"trailingicon","chevron-down"),C(n,"type","text"),C(n,"value",i[11]),u(r,"data-testid",l=`${i[0]}-dropdown`),u(c,"data-testid","dropdown-menu"),u(c,"tabindex","0"),u(c,"class","goa-dropdown-list"),u(c,"style",w=`overflow-y: auto; max-height: ${i[3]}`),B(c,"dropdown-active",i[12]),u(e,"data-testid",i[5]),u(e,"class","goa-dropdown-box"),u(e,"style",_=`--width: ${i[6]||i[14]}`)},m(T,L){p(T,e,L),M&&M.m(e,null),m(e,t),m(e,r),m(r,n),m(e,s),m(e,c),m(c,d),m(c,f);for(let I=0;I<g.length;I+=1)g[I].m(c,null);i[23](c),i[24](e),A||(k=Z(n,"click",i[17]),A=!0)},p(T,L){T[12]?M?M.p(T,L):(M=Gt(T),M.c(),M.m(e,t)):M&&(M.d(1),M=null),L[0]&256&&C(n,"error",T[8]),L[0]&128&&C(n,"disabled",T[7]),L[0]&4&&C(n,"leadingicon",T[2]),L[0]&16&&C(n,"placeholder",T[4]),L[0]&1&&o!==(o=`${T[0]}-dropdown-input`)&&C(n,"id",o),L[0]&3&&a!==(a=T[1]||T[0])&&C(n,"aria-label",a),L[0]&2048&&C(n,"value",T[11]),L[0]&1&&l!==(l=`${T[0]}-dropdown`)&&u(r,"data-testid",l),L[0]&534016&&(z=T[10],g=ct(g,L,x,1,T,z,y,c,st,Nt,null,Dt)),L[0]&8&&w!==(w=`overflow-y: auto; max-height: ${T[3]}`)&&u(c,"style",w),L[0]&4096&&B(c,"dropdown-active",T[12]),L[0]&32&&u(e,"data-testid",T[5]),L[0]&16448&&_!==(_=`--width: ${T[6]||T[14]}`)&&u(e,"style",_)},i:v,o:v,d(T){T&&E(e),M&&M.d();for(let L=0;L<g.length;L+=1)g[L].d();i[23](null),i[24](null),A=!1,k()}}}const Vr="300px";function Wr(i,e,t){let r,n,{name:o}=e,{arialabel:a=""}=e,{value:l=""}=e,{leadingicon:s=null}=e,{maxheight:c=Vr}=e,{placeholder:d=""}=e,{testid:f=""}=e,{width:g=""}=e,{disabled:y="false"}=e,{error:w="false"}=e,{multiselect:_="false"}=e,A=[],k=[],M="",z=!1,x=0,T=0,L,I,W,J;Q(async()=>{if(!o){console.error("goa-dropdown: missing the required `name` attribute. It must match the children's name attribute.");return}I.addEventListener("focus",S,!0),I.addEventListener("blur",Wi,!0);let H;try{H=JSON.parse(l||"[]")}catch{H=[l]}t(9,A=(typeof H=="object"?H:[H]).map(Me=>`${Me}`)),$()}),it(()=>{I.removeEventListener("focus",S,!0),I.removeEventListener("blur",Wi,!0),It(o)});function $(){J=Rt(o),J.subscribe(H=>{switch(H==null?void 0:H.type){case Bt:{const ce=H,Me=A.includes(ce.value);t(10,k=[...k,Object.assign(Object.assign({},ce),{selected:Me})]),Me&&t(11,M=ce.label),!g&&T<ce.label.length&&(T=ce.label.length,t(14,L=`${Math.max(20,T+12)}ch`)),oe();break}}})}async function X(){r||z||(t(12,z=!0),await Ee(),W.addEventListener("blur",Y),W.focus(),W.addEventListener("keydown",Ui),W.addEventListener("mouseover",Zi))}function Y(){W.removeEventListener("blur",Y),W.removeEventListener("keydown",Ui),W.removeEventListener("mouseover",Zi),oe(),t(12,z=!1)}function oe(){t(13,x=k.findIndex(H=>A.includes(H.value)))}function we(H,ce){r||(t(11,M=ce),n?(A.push(H),I.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,values:A}}))):(t(9,A=[H]),I.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:A[0]}}))),Y())}const Oe=H=>{switch(H.key){case" ":X(),H.preventDefault();break}};function S(){I.addEventListener("keydown",Oe)}function Wi(){I.removeEventListener("keydown",Oe)}function Ui(H){switch(H.key){case"ArrowUp":x===0?t(13,x=k.length-1):t(13,x--,x),H.preventDefault();break;case"ArrowDown":t(13,x=(x+1)%k.length),H.preventDefault();break;case"Tab":case"Enter":we(k[x].value,k[x].label),H.preventDefault();break;case"Escape":Y(),H.preventDefault();break}}function Zi(H){t(13,x=Number(H.target.dataset.index))}const ho=H=>we(H.value,H.label);function go(H){te[H?"unshift":"push"](()=>{W=H,t(16,W)})}function mo(H){te[H?"unshift":"push"](()=>{I=H,t(15,I)})}return i.$$set=H=>{"name"in H&&t(0,o=H.name),"arialabel"in H&&t(1,a=H.arialabel),"value"in H&&t(20,l=H.value),"leadingicon"in H&&t(2,s=H.leadingicon),"maxheight"in H&&t(3,c=H.maxheight),"placeholder"in H&&t(4,d=H.placeholder),"testid"in H&&t(5,f=H.testid),"width"in H&&t(6,g=H.width),"disabled"in H&&t(7,y=H.disabled),"error"in H&&t(8,w=H.error),"multiselect"in H&&t(21,_=H.multiselect)},i.$$.update=()=>{i.$$.dirty[0]&128&&(r=F(y)),i.$$.dirty[0]&2097152&&(n=F(_))},[o,a,s,c,d,f,g,y,w,A,k,M,z,x,L,I,W,X,Y,we,l,_,ho,go,mo]}class Pt extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-dropdown-box{position:relative;cursor:pointer;display:inline-block;width:100%}@media(min-width: 640px){.goa-dropdown-box{width:var(--width)}}.goa-dropdown-background{cursor:default;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);outline:none;box-shadow:var(--shadow-1);z-index:99;scroll-behavior:smooth;scrollbar-width:thin;display:none}.dropdown-active{display:block}.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}.goa-dropdown-option{margin:0;padding:0.5rem;cursor:pointer;color:var(--color-black);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.goa-dropdown-option--tabbed{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);color:var(--color-white)}.goa-dropdown-option--tabbed.goa-dropdown-option--selected,.goa-dropdown-option--selected:hover{background:var(--goa-color-interactive--hover);color:var(--color-white)}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Wr,qr,G,{name:0,arialabel:1,value:20,leadingicon:2,maxheight:3,placeholder:4,testid:5,width:6,disabled:7,error:8,multiselect:21},null,[-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","arialabel","value","leadingicon","maxheight","placeholder","testid","width","disabled","error","multiselect"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get arialabel(){return this.$$.ctx[1]}set arialabel(e){this.$$set({arialabel:e}),h()}get value(){return this.$$.ctx[20]}set value(e){this.$$set({value:e}),h()}get leadingicon(){return this.$$.ctx[2]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get maxheight(){return this.$$.ctx[3]}set maxheight(e){this.$$set({maxheight:e}),h()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),h()}get testid(){return this.$$.ctx[5]}set testid(e){this.$$set({testid:e}),h()}get width(){return this.$$.ctx[6]}set width(e){this.$$set({width:e}),h()}get disabled(){return this.$$.ctx[7]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[8]}set error(e){this.$$set({error:e}),h()}get multiselect(){return this.$$.ctx[21]}set multiselect(e){this.$$set({multiselect:e}),h()}}customElements.define("goa-dropdown",Pt);function Ur(i){return{c(){this.c=v},m:v,p:v,i:v,o:v,d:v}}function Zr(i,e,t){let{name:r=""}=e,{value:n=""}=e,{label:o=""}=e,a;return Q(async()=>{if(!r){console.error("goa-dropdown-item: missing the required `name` attribute. It must match the parent's name attribute");return}a=await Ht(r),a.notify({type:Bt,name:r,label:o,value:n})}),i.$$set=l=>{"name"in l&&t(0,r=l.name),"value"in l&&t(1,n=l.value),"label"in l&&t(2,o=l.label)},[r,n,o]}class Ot extends N{constructor(e){super();O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Zr,Ur,G,{name:0,value:1,label:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","label"]}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 label(){return this.$$.ctx[2]}set label(e){this.$$set({label:e}),h()}}customElements.define("goa-dropdown-item",Ot);function Kr(i){let e,t;return{c(){e=b("div"),t=b("slot"),this.c=v,u(e,"class","goa-flex-row"),q(e,"gap",i[0])},m(r,n){p(r,e,n),m(e,t)},p(r,[n]){n&1&&q(e,"gap",r[0])},i:v,o:v,d(r){r&&E(e)}}}function Xr(i,e,t){let r,{gap:n=""}=e;return i.$$set=o=>{"gap"in o&&t(1,n=o.gap)},i.$$.update=()=>{i.$$.dirty&2&&t(0,r=n==="small"?"1rem":n==="medium"?"2rem":n==="large"?"3rem":"0")},[r,n]}class jt extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-flex-row{display:flex;flex-direction:column;gap:var(--gap)}@media(min-width: 640px){.goa-flex-row{display:grid;grid-template-columns:repeat(auto-fit, minmax(100px, 1fr));gap:var(--gap);margin-bottom:1rem}}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Xr,Kr,G,{gap:1},null),e&&(e.target&&p(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",jt);function Ft(i){let e,t,r,n=i[3]&&qt();return{c(){e=b("div"),t=j(i[0]),r=R(),n&&n.c(),u(e,"class","label")},m(o,a){p(o,e,a),m(e,t),m(e,r),n&&n.m(e,null)},p(o,a){a&1&&V(t,o[0]),o[3]?n||(n=qt(),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(o){o&&E(e),n&&n.d()}}}function qt(i){let e;return{c(){e=b("em"),e.textContent="(optional)"},m(t,r){p(t,e,r)},d(t){t&&E(e)}}}function Vt(i){let e,t;return{c(){e=b("div"),t=j(i[2]),u(e,"class","error-msg")},m(r,n){p(r,e,n),m(e,t)},p(r,n){n&4&&V(t,r[2])},d(r){r&&E(e)}}}function Wt(i){let e,t;return{c(){e=b("div"),t=j(i[1]),u(e,"class","help-msg")},m(r,n){p(r,e,n),m(e,t)},p(r,n){n&2&&V(t,r[1])},d(r){r&&E(e)}}}function Yr(i){let e,t,r,n,o,a=i[0]&&Ft(i),l=i[2]&&Vt(i),s=i[1]&&Wt(i);return{c(){e=b("div"),a&&a.c(),t=R(),r=b("div"),r.innerHTML="<slot></slot>",n=R(),l&&l.c(),o=R(),s&&s.c(),this.c=v,u(r,"class","form-item-input"),u(e,"class","goa-form-item")},m(c,d){p(c,e,d),a&&a.m(e,null),m(e,t),m(e,r),m(e,n),l&&l.m(e,null),m(e,o),s&&s.m(e,null)},p(c,[d]){c[0]?a?a.p(c,d):(a=Ft(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[2]?l?l.p(c,d):(l=Vt(c),l.c(),l.m(e,o)):l&&(l.d(1),l=null),c[1]?s?s.p(c,d):(s=Wt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:v,o:v,d(c){c&&E(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function Jr(i,e,t){let r,{label:n=""}=e,{helptext:o=""}=e,{error:a=""}=e,{optional:l=""}=e;return i.$$set=s=>{"label"in s&&t(0,n=s.label),"helptext"in s&&t(1,o=s.helptext),"error"in s&&t(2,a=s.error),"optional"in s&&t(4,l=s.optional)},i.$$.update=()=>{i.$$.dirty&16&&t(3,r=F(l))},[n,o,a,r,l]}class Ut extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{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;overflow-x:hidden;white-space:nowrap;text-overflow:ellipsis}.label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);line-height:var(--lh-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>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Jr,Yr,G,{label:0,helptext:1,error:2,optional:4},null),e&&(e.target&&p(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",Ut);function Qr(i){let e,t,r,n,o,a,l,s;return{c(){e=b("div"),t=b("goa-page-block"),r=b("h1"),n=j(i[0]),o=R(),a=b("div"),a.innerHTML="<slot></slot>",l=R(),s=b("slot"),this.c=v,u(a,"class","goa-hero-banner-content"),u(a,"role","note"),u(s,"name","actions"),C(t,"width","full"),u(e,"class","goa-hero"),u(e,"data-testid","background"),q(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]+")"),q(e,"background-size","cover"),q(e,"background-position","center"),q(e,"background-repeat","no-repeat")},m(c,d){p(c,e,d),m(e,t),m(t,r),m(r,n),m(t,o),m(t,a),m(t,l),m(t,s)},p(c,[d]){d&1&&V(n,c[0]),d&2&&q(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:v,o:v,d(c){c&&E(e)}}}function $r(i,e,t){let{heading:r}=e,{backgroundurl:n}=e;return i.$$set=o=>{"heading"in o&&t(0,r=o.heading),"backgroundurl"in o&&t(1,n=o.backgroundurl)},[r,n]}class Zt extends N{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>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},$r,Qr,G,{heading:0,backgroundurl:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","backgroundurl"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),h()}}customElements.define("goa-hero-banner",Zt);function Kt(i){let e,t;return{c(){e=b("ion-icon"),C(e,"name",t=i[1]==="filled"||i[0].indexOf("logo")===0?i[0]:`${i[0]}-${i[1]}`)},m(r,n){p(r,e,n)},p(r,n){n&3&&t!==(t=r[1]==="filled"||r[0].indexOf("logo")===0?r[0]:`${r[0]}-${r[1]}`)&&C(e,"name",t)},d(r){r&&E(e)}}}function en(i){let e,t,r,n=i[0]&&Kt(i);return{c(){e=b("div"),n&&n.c(),this.c=v,u(e,"class","goa-icon"),u(e,"data-testid",t=`icon-${i[0]}`),u(e,"title",i[5]),u(e,"style",r=`
|
|
14
|
+
`)&&u(e,"class",c),f&13&&B(e,"colored",d[3])},i:v,o:v,d(d){d&&E(e)}}}function Or(i,e,t){let r,{variant:n="non-interactive"}=e,{colored:o="false"}=e,{headingsize:a="large"}=e,{padding:l="relaxed"}=e;return i.$$set=s=>{"variant"in s&&t(0,n=s.variant),"colored"in s&&t(4,o=s.colored),"headingsize"in s&&t(1,a=s.headingsize),"padding"in s&&t(2,l=s.padding)},i.$$.update=()=>{i.$$.dirty&16&&t(3,r=F(o))},[n,a,l,r,o]}class Lt extends N{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{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)}.content{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--non-interactive.colored .content{border-color:var(--color-gray-200);background-color:var(--color-gray-100)}.goa-container--important.colored .content{border-color:var(--goa-color-status-warning);background-color:var(--goa-color-status-warning-50)}.goa-container--error.colored .content{border-color:var(--goa-color-status-emergency);background-color:var(--goa-color-status-emergency-50)}.goa-container--success.colored .content{border-color:var(--goa-color-status-success);background-color:var(--goa-color-status-success-50)}.goa-container--info.colored .content{border-color:var(--goa-color-status-info);background-color:var(--goa-color-status-info-50)}.title>*,.actions>*{line-height:3rem}.padding--relaxed header{padding:0 1.5rem}.padding--relaxed .content{padding:1.5rem}.padding--compact header,.padding--compact .content{padding:0 1rem}.padding--compact header{padding:0 1rem}.padding--compact .content{padding:1rem}@media screen and (max-width: 480px){.padding--relaxed header{padding:0 1rem}.padding--relaxed .content{padding:1rem}}.goa-container--non-interactive header{background-color:var(--color-gray-100);border-color:var(--color-gray-200);color:var(--color-black)}.goa-container--interactive 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--important 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>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Or,jr,G,{variant:0,colored:4,headingsize:1,padding:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["variant","colored","headingsize","padding"]}get variant(){return this.$$.ctx[0]}set variant(e){this.$$set({variant:e}),h()}get colored(){return this.$$.ctx[4]}set colored(e){this.$$set({colored:e}),h()}get headingsize(){return this.$$.ctx[1]}set headingsize(e){this.$$set({headingsize:e}),h()}get padding(){return this.$$.ctx[2]}set padding(e){this.$$set({padding:e}),h()}}customElements.define("goa-container",Lt);const ve=[];function Tt(i,e=v){let t;const r=new Set;function n(l){if(G(i,l)&&(i=l,t)){const s=!ve.length;for(const c of r)c[1](),ve.push(c,i);if(s){for(let c=0;c<ve.length;c+=2)ve[c][0](ve[c+1]);ve.length=0}}}function o(l){n(l(i))}function a(l,s=v){const c=[l,s];return r.add(c),r.size===1&&(t=e(n)||v),l(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:n,update:o,subscribe:a}}const ze={};class Fr{constructor(){this.store=Tt()}subscribe(e){this.store.subscribe(t=>{e(t)})}notify(e){this.store.update(()=>e)}}function Rt(i){const e=new Fr;return ze[i]=e,e}async function Ht(i){return await St(i,0)}async function St(i,e){if(e>10)throw new Error(`Could not find context ${i}`);return ze[i]?ze[i]:(await Ee(),St(i,e+1))}function It(i){!ze[i]||delete ze[i]}const Bt="bind";function Dt(i,e,t){const r=i.slice();return r[36]=e[t],r[38]=t,r}function Gt(i){let e,t,r,n;return{c(){e=b("div"),u(e,"data-testid",t=`${i[0]}-dropdown-background`),u(e,"class","goa-dropdown-background")},m(o,a){p(o,e,a),r||(n=Z(e,"click",i[18]),r=!0)},p(o,a){a[0]&1&&t!==(t=`${o[0]}-dropdown-background`)&&u(e,"data-testid",t)},d(o){o&&E(e),r=!1,n()}}}function Nt(i,e){let t,r=e[36].label+"",n,o,a,l,s,c,d,f;function g(){return e[22](e[36])}return{key:i,first:null,c(){t=b("li"),n=O(r),o=R(),u(t,"aria-label",a=e[36].label||e[36].value),u(t,"data-testid",l=`${e[36].value}-dropdown-item`),u(t,"data-index",s=e[38]),u(t,"class","goa-dropdown-option"),u(t,"style",c="display: block"),B(t,"goa-dropdown-option--disabled",!1),B(t,"goa-dropdown-option--tabbed",e[38]===e[13]),B(t,"goa-dropdown-option--selected",e[9].includes(e[36].value)),this.first=t},m(y,w){p(y,t,w),m(t,n),m(t,o),d||(f=Z(t,"click",g),d=!0)},p(y,w){e=y,w[0]&1024&&r!==(r=e[36].label+"")&&V(n,r),w[0]&1024&&a!==(a=e[36].label||e[36].value)&&u(t,"aria-label",a),w[0]&1024&&l!==(l=`${e[36].value}-dropdown-item`)&&u(t,"data-testid",l),w[0]&1024&&s!==(s=e[38])&&u(t,"data-index",s),w[0]&9216&&B(t,"goa-dropdown-option--tabbed",e[38]===e[13]),w[0]&1536&&B(t,"goa-dropdown-option--selected",e[9].includes(e[36].value))},d(y){y&&E(t),d=!1,f()}}}function qr(i){let e,t,r,n,o,a,l,s,c,d,f,g=[],y=new Map,w,_,A,k,M=i[12]&&Gt(i),z=i[10];const x=T=>T[36].value;for(let T=0;T<z.length;T+=1){let L=Dt(i,z,T),I=x(L);y.set(I,g[T]=Nt(I,L))}return{c(){e=b("div"),M&&M.c(),t=R(),r=b("div"),n=b("goa-input"),s=R(),c=b("ul"),d=b("slot"),f=R();for(let T=0;T<g.length;T+=1)g[T].c();this.c=v,C(n,"error",i[8]),C(n,"disabled",i[7]),C(n,"leadingicon",i[2]),C(n,"placeholder",i[4]),C(n,"width","100%"),C(n,"id",o=`${i[0]}-dropdown-input`),C(n,"aria-label",a=i[1]||i[0]),C(n,"readonly",""),C(n,"trailingicon","chevron-down"),C(n,"type","text"),C(n,"value",i[11]),u(r,"data-testid",l=`${i[0]}-dropdown`),u(c,"data-testid","dropdown-menu"),u(c,"tabindex","0"),u(c,"class","goa-dropdown-list"),u(c,"style",w=`overflow-y: auto; max-height: ${i[3]}`),B(c,"dropdown-active",i[12]),u(e,"data-testid",i[5]),u(e,"class","goa-dropdown-box"),u(e,"style",_=`--width: ${i[6]||i[14]}`)},m(T,L){p(T,e,L),M&&M.m(e,null),m(e,t),m(e,r),m(r,n),m(e,s),m(e,c),m(c,d),m(c,f);for(let I=0;I<g.length;I+=1)g[I].m(c,null);i[23](c),i[24](e),A||(k=Z(n,"click",i[17]),A=!0)},p(T,L){T[12]?M?M.p(T,L):(M=Gt(T),M.c(),M.m(e,t)):M&&(M.d(1),M=null),L[0]&256&&C(n,"error",T[8]),L[0]&128&&C(n,"disabled",T[7]),L[0]&4&&C(n,"leadingicon",T[2]),L[0]&16&&C(n,"placeholder",T[4]),L[0]&1&&o!==(o=`${T[0]}-dropdown-input`)&&C(n,"id",o),L[0]&3&&a!==(a=T[1]||T[0])&&C(n,"aria-label",a),L[0]&2048&&C(n,"value",T[11]),L[0]&1&&l!==(l=`${T[0]}-dropdown`)&&u(r,"data-testid",l),L[0]&534016&&(z=T[10],g=ct(g,L,x,1,T,z,y,c,st,Nt,null,Dt)),L[0]&8&&w!==(w=`overflow-y: auto; max-height: ${T[3]}`)&&u(c,"style",w),L[0]&4096&&B(c,"dropdown-active",T[12]),L[0]&32&&u(e,"data-testid",T[5]),L[0]&16448&&_!==(_=`--width: ${T[6]||T[14]}`)&&u(e,"style",_)},i:v,o:v,d(T){T&&E(e),M&&M.d();for(let L=0;L<g.length;L+=1)g[L].d();i[23](null),i[24](null),A=!1,k()}}}const Vr="300px";function Wr(i,e,t){let r,n,{name:o}=e,{arialabel:a=""}=e,{value:l=""}=e,{leadingicon:s=null}=e,{maxheight:c=Vr}=e,{placeholder:d=""}=e,{testid:f=""}=e,{width:g=""}=e,{disabled:y="false"}=e,{error:w="false"}=e,{multiselect:_="false"}=e,A=[],k=[],M="",z=!1,x=0,T=0,L,I,W,J;Q(async()=>{if(!o){console.error("goa-dropdown: missing the required `name` attribute. It must match the children's name attribute.");return}I.addEventListener("focus",S,!0),I.addEventListener("blur",Wi,!0);let H;try{H=JSON.parse(l||"[]")}catch{H=[l]}t(9,A=(typeof H=="object"?H:[H]).map(Me=>`${Me}`)),$()}),it(()=>{I.removeEventListener("focus",S,!0),I.removeEventListener("blur",Wi,!0),It(o)});function $(){J=Rt(o),J.subscribe(H=>{switch(H==null?void 0:H.type){case Bt:{const ce=H,Me=A.includes(ce.value);t(10,k=[...k,Object.assign(Object.assign({},ce),{selected:Me})]),Me&&t(11,M=ce.label),!g&&T<ce.label.length&&(T=ce.label.length,t(14,L=`${Math.max(20,T+12)}ch`)),oe();break}}})}async function X(){r||z||(t(12,z=!0),await Ee(),W.addEventListener("blur",Y),W.focus(),W.addEventListener("keydown",Ui),W.addEventListener("mouseover",Zi))}function Y(){W.removeEventListener("blur",Y),W.removeEventListener("keydown",Ui),W.removeEventListener("mouseover",Zi),oe(),t(12,z=!1)}function oe(){t(13,x=k.findIndex(H=>A.includes(H.value)))}function we(H,ce){r||(t(11,M=ce),n?(A.push(H),I.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,values:A}}))):(t(9,A=[H]),I.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:A[0]}}))),Y())}const je=H=>{switch(H.key){case" ":X(),H.preventDefault();break}};function S(){I.addEventListener("keydown",je)}function Wi(){I.removeEventListener("keydown",je)}function Ui(H){switch(H.key){case"ArrowUp":x===0?t(13,x=k.length-1):t(13,x--,x),H.preventDefault();break;case"ArrowDown":t(13,x=(x+1)%k.length),H.preventDefault();break;case"Tab":case"Enter":we(k[x].value,k[x].label),H.preventDefault();break;case"Escape":Y(),H.preventDefault();break}}function Zi(H){t(13,x=Number(H.target.dataset.index))}const ho=H=>we(H.value,H.label);function go(H){te[H?"unshift":"push"](()=>{W=H,t(16,W)})}function mo(H){te[H?"unshift":"push"](()=>{I=H,t(15,I)})}return i.$$set=H=>{"name"in H&&t(0,o=H.name),"arialabel"in H&&t(1,a=H.arialabel),"value"in H&&t(20,l=H.value),"leadingicon"in H&&t(2,s=H.leadingicon),"maxheight"in H&&t(3,c=H.maxheight),"placeholder"in H&&t(4,d=H.placeholder),"testid"in H&&t(5,f=H.testid),"width"in H&&t(6,g=H.width),"disabled"in H&&t(7,y=H.disabled),"error"in H&&t(8,w=H.error),"multiselect"in H&&t(21,_=H.multiselect)},i.$$.update=()=>{i.$$.dirty[0]&128&&(r=F(y)),i.$$.dirty[0]&2097152&&(n=F(_))},[o,a,s,c,d,f,g,y,w,A,k,M,z,x,L,I,W,X,Y,we,l,_,ho,go,mo]}class Pt extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-dropdown-box{position:relative;cursor:pointer;display:inline-block;width:100%}@media(min-width: 640px){.goa-dropdown-box{width:var(--width)}}.goa-dropdown-background{cursor:default;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);outline:none;box-shadow:var(--shadow-1);z-index:99;scroll-behavior:smooth;scrollbar-width:thin;display:none}.dropdown-active{display:block}.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}.goa-dropdown-option{margin:0;padding:0.5rem;cursor:pointer;color:var(--color-black);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.goa-dropdown-option--tabbed{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);color:var(--color-white)}.goa-dropdown-option--tabbed.goa-dropdown-option--selected,.goa-dropdown-option--selected:hover{background:var(--goa-color-interactive--hover);color:var(--color-white)}</style>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Wr,qr,G,{name:0,arialabel:1,value:20,leadingicon:2,maxheight:3,placeholder:4,testid:5,width:6,disabled:7,error:8,multiselect:21},null,[-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","arialabel","value","leadingicon","maxheight","placeholder","testid","width","disabled","error","multiselect"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get arialabel(){return this.$$.ctx[1]}set arialabel(e){this.$$set({arialabel:e}),h()}get value(){return this.$$.ctx[20]}set value(e){this.$$set({value:e}),h()}get leadingicon(){return this.$$.ctx[2]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get maxheight(){return this.$$.ctx[3]}set maxheight(e){this.$$set({maxheight:e}),h()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),h()}get testid(){return this.$$.ctx[5]}set testid(e){this.$$set({testid:e}),h()}get width(){return this.$$.ctx[6]}set width(e){this.$$set({width:e}),h()}get disabled(){return this.$$.ctx[7]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[8]}set error(e){this.$$set({error:e}),h()}get multiselect(){return this.$$.ctx[21]}set multiselect(e){this.$$set({multiselect:e}),h()}}customElements.define("goa-dropdown",Pt);function Ur(i){return{c(){this.c=v},m:v,p:v,i:v,o:v,d:v}}function Zr(i,e,t){let{name:r=""}=e,{value:n=""}=e,{label:o=""}=e,a;return Q(async()=>{if(!r){console.error("goa-dropdown-item: missing the required `name` attribute. It must match the parent's name attribute");return}a=await Ht(r),a.notify({type:Bt,name:r,label:o,value:n})}),i.$$set=l=>{"name"in l&&t(0,r=l.name),"value"in l&&t(1,n=l.value),"label"in l&&t(2,o=l.label)},[r,n,o]}class jt extends N{constructor(e){super();j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Zr,Ur,G,{name:0,value:1,label:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","label"]}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 label(){return this.$$.ctx[2]}set label(e){this.$$set({label:e}),h()}}customElements.define("goa-dropdown-item",jt);function Kr(i){let e,t;return{c(){e=b("div"),t=b("slot"),this.c=v,u(e,"class","goa-flex-row"),q(e,"gap",i[0])},m(r,n){p(r,e,n),m(e,t)},p(r,[n]){n&1&&q(e,"gap",r[0])},i:v,o:v,d(r){r&&E(e)}}}function Xr(i,e,t){let r,{gap:n=""}=e;return i.$$set=o=>{"gap"in o&&t(1,n=o.gap)},i.$$.update=()=>{i.$$.dirty&2&&t(0,r=n==="small"?"1rem":n==="medium"?"2rem":n==="large"?"3rem":"0")},[r,n]}class Ot extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-flex-row{display:flex;flex-direction:column;gap:var(--gap)}@media(min-width: 640px){.goa-flex-row{display:grid;grid-template-columns:repeat(auto-fit, minmax(100px, 1fr));gap:var(--gap);margin-bottom:1rem}}</style>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Xr,Kr,G,{gap:1},null),e&&(e.target&&p(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",Ot);function Ft(i){let e,t,r,n=i[3]&&qt();return{c(){e=b("div"),t=O(i[0]),r=R(),n&&n.c(),u(e,"class","label")},m(o,a){p(o,e,a),m(e,t),m(e,r),n&&n.m(e,null)},p(o,a){a&1&&V(t,o[0]),o[3]?n||(n=qt(),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(o){o&&E(e),n&&n.d()}}}function qt(i){let e;return{c(){e=b("em"),e.textContent="(optional)"},m(t,r){p(t,e,r)},d(t){t&&E(e)}}}function Vt(i){let e,t;return{c(){e=b("div"),t=O(i[2]),u(e,"class","error-msg")},m(r,n){p(r,e,n),m(e,t)},p(r,n){n&4&&V(t,r[2])},d(r){r&&E(e)}}}function Wt(i){let e,t;return{c(){e=b("div"),t=O(i[1]),u(e,"class","help-msg")},m(r,n){p(r,e,n),m(e,t)},p(r,n){n&2&&V(t,r[1])},d(r){r&&E(e)}}}function Yr(i){let e,t,r,n,o,a=i[0]&&Ft(i),l=i[2]&&Vt(i),s=i[1]&&Wt(i);return{c(){e=b("div"),a&&a.c(),t=R(),r=b("div"),r.innerHTML="<slot></slot>",n=R(),l&&l.c(),o=R(),s&&s.c(),this.c=v,u(r,"class","form-item-input"),u(e,"class","goa-form-item")},m(c,d){p(c,e,d),a&&a.m(e,null),m(e,t),m(e,r),m(e,n),l&&l.m(e,null),m(e,o),s&&s.m(e,null)},p(c,[d]){c[0]?a?a.p(c,d):(a=Ft(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[2]?l?l.p(c,d):(l=Vt(c),l.c(),l.m(e,o)):l&&(l.d(1),l=null),c[1]?s?s.p(c,d):(s=Wt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:v,o:v,d(c){c&&E(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function Jr(i,e,t){let r,{label:n=""}=e,{helptext:o=""}=e,{error:a=""}=e,{optional:l=""}=e;return i.$$set=s=>{"label"in s&&t(0,n=s.label),"helptext"in s&&t(1,o=s.helptext),"error"in s&&t(2,a=s.error),"optional"in s&&t(4,l=s.optional)},i.$$.update=()=>{i.$$.dirty&16&&t(3,r=F(l))},[n,o,a,r,l]}class Ut extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{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;overflow-x:hidden;white-space:nowrap;text-overflow:ellipsis}.label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);line-height:var(--lh-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>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Jr,Yr,G,{label:0,helptext:1,error:2,optional:4},null),e&&(e.target&&p(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",Ut);function Qr(i){let e,t,r,n,o,a,l,s;return{c(){e=b("div"),t=b("goa-page-block"),r=b("h1"),n=O(i[0]),o=R(),a=b("div"),a.innerHTML="<slot></slot>",l=R(),s=b("slot"),this.c=v,u(a,"class","goa-hero-banner-content"),u(a,"role","note"),u(s,"name","actions"),C(t,"width","full"),u(e,"class","goa-hero"),u(e,"data-testid","background"),q(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]+")"),q(e,"background-size","cover"),q(e,"background-position","center"),q(e,"background-repeat","no-repeat")},m(c,d){p(c,e,d),m(e,t),m(t,r),m(r,n),m(t,o),m(t,a),m(t,l),m(t,s)},p(c,[d]){d&1&&V(n,c[0]),d&2&&q(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:v,o:v,d(c){c&&E(e)}}}function $r(i,e,t){let{heading:r}=e,{backgroundurl:n}=e;return i.$$set=o=>{"heading"in o&&t(0,r=o.heading),"backgroundurl"in o&&t(1,n=o.backgroundurl)},[r,n]}class Zt extends N{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>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},$r,Qr,G,{heading:0,backgroundurl:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","backgroundurl"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),h()}}customElements.define("goa-hero-banner",Zt);function Kt(i){let e,t;return{c(){e=b("ion-icon"),C(e,"name",t=i[1]==="filled"||i[0].indexOf("logo")===0?i[0]:`${i[0]}-${i[1]}`)},m(r,n){p(r,e,n)},p(r,n){n&3&&t!==(t=r[1]==="filled"||r[0].indexOf("logo")===0?r[0]:`${r[0]}-${r[1]}`)&&C(e,"name",t)},d(r){r&&E(e)}}}function en(i){let e,t,r,n=i[0]&&Kt(i);return{c(){e=b("div"),n&&n.c(),this.c=v,u(e,"class","goa-icon"),u(e,"data-testid",t=`icon-${i[0]}`),u(e,"title",i[5]),u(e,"style",r=`
|
|
15
15
|
--size: ${i[6]};
|
|
16
16
|
--fill-color: ${i[2]};
|
|
17
17
|
--hover-color: ${i[3]};
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
--fill-color: ${o[2]};
|
|
22
22
|
--hover-color: ${o[3]};
|
|
23
23
|
--opacity: ${o[4]};
|
|
24
|
-
`)&&u(e,"style",r),a&128&&B(e,"inverted",o[7])},i:v,o:v,d(o){o&&E(e),n&&n.d()}}}function tn(i,e,t){let r,n,{type:o}=e,{size:a="medium"}=e,{theme:l="outline"}=e,{inverted:s="false"}=e,{fillcolor:c=""}=e,{hovercolor:d=""}=e,{opacity:f=1}=e,{title:g=""}=e;return i.$$set=y=>{"type"in y&&t(0,o=y.type),"size"in y&&t(8,a=y.size),"theme"in y&&t(1,l=y.theme),"inverted"in y&&t(9,s=y.inverted),"fillcolor"in y&&t(2,c=y.fillcolor),"hovercolor"in y&&t(3,d=y.hovercolor),"opacity"in y&&t(4,f=y.opacity),"title"in y&&t(5,g=y.title)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=F(s)),i.$$.dirty&256&&t(6,n={small:"1.25rem",medium:"1.5rem",large:"2rem"}[a])},[o,l,c,d,f,g,n,r,a,s]}class Xt extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:inline-flex;align-items:center}ion-icon{pointer-events:none;width:100%;height:100%}.goa-icon{width:var(--size);height:var(--size);fill:var(--fill-color);color:var(--fill-color);opacity:var(--opacity);display:inline-flex;align-items:center;justify-content:center}.goa-icon:hover ion-icon{fill:var(--hover-color);color:var(--hover-color)}.inverted{color:#fff;fill:#fff}</style>",
|
|
24
|
+
`)&&u(e,"style",r),a&128&&B(e,"inverted",o[7])},i:v,o:v,d(o){o&&E(e),n&&n.d()}}}function tn(i,e,t){let r,n,{type:o}=e,{size:a="medium"}=e,{theme:l="outline"}=e,{inverted:s="false"}=e,{fillcolor:c=""}=e,{hovercolor:d=""}=e,{opacity:f=1}=e,{title:g=""}=e;return i.$$set=y=>{"type"in y&&t(0,o=y.type),"size"in y&&t(8,a=y.size),"theme"in y&&t(1,l=y.theme),"inverted"in y&&t(9,s=y.inverted),"fillcolor"in y&&t(2,c=y.fillcolor),"hovercolor"in y&&t(3,d=y.hovercolor),"opacity"in y&&t(4,f=y.opacity),"title"in y&&t(5,g=y.title)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=F(s)),i.$$.dirty&256&&t(6,n={small:"1.25rem",medium:"1.5rem",large:"2rem"}[a])},[o,l,c,d,f,g,n,r,a,s]}class Xt extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:inline-flex;align-items:center}ion-icon{pointer-events:none;width:100%;height:100%}.goa-icon{width:var(--size);height:var(--size);fill:var(--fill-color);color:var(--fill-color);opacity:var(--opacity);display:inline-flex;align-items:center;justify-content:center}.goa-icon:hover ion-icon{fill:var(--hover-color);color:var(--hover-color)}.inverted{color:#fff;fill:#fff}</style>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},tn,en,G,{type:0,size:8,theme:1,inverted:9,fillcolor:2,hovercolor:3,opacity:4,title:5},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","theme","inverted","fillcolor","hovercolor","opacity","title"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[8]}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[9]}set inverted(e){this.$$set({inverted:e}),h()}get fillcolor(){return this.$$.ctx[2]}set fillcolor(e){this.$$set({fillcolor:e}),h()}get hovercolor(){return this.$$.ctx[3]}set hovercolor(e){this.$$set({hovercolor:e}),h()}get opacity(){return this.$$.ctx[4]}set opacity(e){this.$$set({opacity:e}),h()}get title(){return this.$$.ctx[5]}set title(e){this.$$set({title:e}),h()}}customElements.define("goa-icon",Xt);function rn(i){let e,t,r,n;return{c(){e=b("button"),t=b("goa-icon"),this.c=v,C(t,"title",i[3]),C(t,"type",i[0]),C(t,"size",i[1]),C(t,"theme",i[2]),C(t,"inverted",i[5]),q(e,"--size",i[6]),u(e,"title",i[3]),e.disabled=i[7],u(e,"class",i[8]),u(e,"data-testid",i[4])},m(o,a){p(o,e,a),m(e,t),r||(n=Z(e,"click",nn),r=!0)},p(o,[a]){a&8&&C(t,"title",o[3]),a&1&&C(t,"type",o[0]),a&2&&C(t,"size",o[1]),a&4&&C(t,"theme",o[2]),a&32&&C(t,"inverted",o[5]),a&64&&q(e,"--size",o[6]),a&8&&u(e,"title",o[3]),a&128&&(e.disabled=o[7]),a&256&&u(e,"class",o[8]),a&16&&u(e,"data-testid",o[4])},i:v,o:v,d(o){o&&E(e),r=!1,n()}}}function nn(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function on(i,e,t){let r,n,o,a,{type:l}=e,{size:s="medium"}=e,{theme:c="outline"}=e,{variant:d="color"}=e,{title:f=""}=e,{testId:g=""}=e,{disabled:y}=e,{inverted:w}=e;return i.$$set=_=>{"type"in _&&t(0,l=_.type),"size"in _&&t(1,s=_.size),"theme"in _&&t(2,c=_.theme),"variant"in _&&t(9,d=_.variant),"title"in _&&t(3,f=_.title),"testId"in _&&t(4,g=_.testId),"disabled"in _&&t(10,y=_.disabled),"inverted"in _&&t(11,w=_.inverted)},i.$$.update=()=>{i.$$.dirty&2048&&t(5,o=F(w)),i.$$.dirty&544&&t(8,r=`${d} ${o?"inverted":""}`),i.$$.dirty&1024&&t(7,n=F(y)),i.$$.dirty&2&&t(6,a={small:"1rem",medium:"1.5rem",large:"2rem"}[s])},[l,s,c,f,g,o,a,n,r,d,y,w]}class Yt extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:inline-flex;align-items:center;box-sizing:border-box;font-family:var(--font-family)}button,button *{box-sizing:border-box}button{display:inline-flex;align-items:center;justify-content:center;background:transparent;cursor:pointer;border:none}.color{border-radius:0.5rem;padding:calc(var(--size) / 4)}.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}.color:active,.nocolor:active{transform:scale(0.9);border:none}.color:hover{background-color:var(--goa-color-primary-light)}.color.inverted:hover{background-color:var(--goa-color-primary-dark)}button:disabled{color:var(--color-gray-200);fill:var(--color-gray-200);transform:none;cursor:default}button:disabled:hover{background-color:transparent}</style>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},on,rn,G,{type:0,size:1,theme:2,variant:9,title:3,testId:4,disabled:10,inverted:11},null),e&&(e.target&&p(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",Yt);function Jt(i){let e;return{c(){e=b("goa-icon"),C(e,"class","goa-input-leading-icon"),C(e,"data-testid","leading-icon"),C(e,"type",i[4])},m(t,r){p(t,e,r)},p(t,r){r&16&&C(e,"type",t[4])},d(t){t&&E(e)}}}function Qt(i){let e;return{c(){e=b("goa-icon"),C(e,"class","goa-input-trailing-icon"),C(e,"data-testid","trailing-icon"),C(e,"size","medium"),C(e,"type",i[5])},m(t,r){p(t,e,r)},p(t,r){r&32&&C(e,"type",t[5])},d(t){t&&E(e)}}}function $t(i){let e,t,r;return{c(){e=b("goa-icon-button"),C(e,"disabled",i[16]),C(e,"variant","nocolor"),C(e,"size","medium"),C(e,"type",i[5]),C(e,"data-testid","trailing-icon-button")},m(n,o){p(n,e,o),t||(r=Z(e,"click",cn),t=!0)},p(n,o){o&65536&&C(e,"disabled",n[16]),o&32&&C(e,"type",n[5])},d(n){n&&E(e),t=!1,r()}}}function ei(i){let e;function t(o,a){if(o[13]>0)return ln;if(o[0].length>0)return an}let r=t(i),n=r&&r(i);return{c(){n&&n.c(),e=ie()},m(o,a){n&&n.m(o,a),p(o,e,a)},p(o,a){r===(r=t(o))&&n?n.p(o,a):(n&&n.d(1),n=r&&r(o),n&&(n.c(),n.m(e.parentNode,e)))},d(o){n&&n.d(o),o&&E(e)}}}function an(i){let e,t=i[0].length+"",r;return{c(){e=b("div"),r=O(t),u(e,"class","counter")},m(n,o){p(n,e,o),m(e,r)},p(n,o){o&1&&t!==(t=n[0].length+"")&&V(r,t)},d(n){n&&E(e)}}}function ln(i){let e,t=i[0].length+"",r,n=`/${i[13]}`,o;return{c(){e=b("div"),r=O(t),o=O(n),u(e,"class","counter"),B(e,"counter-error",i[0].length>i[13])},m(a,l){p(a,e,l),m(e,r),m(e,o)},p(a,l){l&1&&t!==(t=a[0].length+"")&&V(r,t),l&8192&&n!==(n=`/${a[13]}`)&&V(o,n),l&8193&&B(e,"counter-error",a[0].length>a[13])},d(a){a&&E(e)}}}function sn(i){let e,t,r,n,o,a,l,s,c,d,f,g,y,w,_=i[4]&&Jt(i),A=i[5]&&!i[19]&&Qt(i),k=i[5]&&i[19]&&$t(i),M=i[15]&&ei(i);return{c(){e=b("div"),t=b("div"),_&&_.c(),r=R(),n=b("input"),s=R(),A&&A.c(),c=R(),k&&k.c(),f=R(),M&&M.c(),this.c=v,u(n,"class",o=`input--${i[6]}`),u(n,"style",a=`--search-icon-offset: ${i[5]?"-0.5rem":"0"}`),n.readOnly=i[18],n.disabled=i[16],u(n,"data-testid",i[7]),u(n,"name",i[2]),u(n,"type",i[1]),n.value=i[0],u(n,"placeholder",i[3]),u(n,"min",i[10]),u(n,"max",i[11]),u(n,"step",i[12]),u(n,"role","textbox"),u(n,"aria-label",l=i[9]||i[2]),u(t,"class",d=`
|
|
25
25
|
goa-input
|
|
26
26
|
${i[16]?"goa-input--disabled":""}
|
|
27
27
|
variant--${i[6]}
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
type--${z[1]}
|
|
36
36
|
`)&&u(t,"class",d),x&196674&&B(t,"error",z[17]),z[15]?M?M.p(z,x):(M=ei(z),M.c(),M.m(e,null)):M&&(M.d(1),M=null),x&256&&g!==(g=`
|
|
37
37
|
--width: ${z[8]};
|
|
38
|
-
`)&&u(e,"style",g)},i:v,o:v,d(z){z&&E(e),_&&_.d(),i[28](null),A&&A.d(),k&&k.d(),M&&M.d(),y=!1,ee(w)}}}function cn(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function dn(i,e,t){let r,n,o,a,l,s,{type:c="text"}=e,{name:d=""}=e,{value:f=""}=e,{placeholder:g=""}=e,{leadingicon:y=null}=e,{trailingicon:w=null}=e,{variant:_="goa"}=e,{disabled:A="false"}=e,{handletrailingiconclick:k="false"}=e,{focused:M="false"}=e,{readonly:z="false"}=e,{error:x="false"}=e,{testid:T=""}=e,{width:L="30ch"}=e,{arialabel:I=
|
|
39
|
-
center center no-repeat}</style>`,
|
|
38
|
+
`)&&u(e,"style",g)},i:v,o:v,d(z){z&&E(e),_&&_.d(),i[28](null),A&&A.d(),k&&k.d(),M&&M.d(),y=!1,ee(w)}}}function cn(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function dn(i,e,t){let r,n,o,a,l,s,{type:c="text"}=e,{name:d=""}=e,{value:f=""}=e,{placeholder:g=""}=e,{leadingicon:y=null}=e,{trailingicon:w=null}=e,{variant:_="goa"}=e,{disabled:A="false"}=e,{handletrailingiconclick:k="false"}=e,{focused:M="false"}=e,{readonly:z="false"}=e,{error:x="false"}=e,{testid:T=""}=e,{width:L="30ch"}=e,{arialabel:I=null}=e,{min:W=null}=e,{max:J=null}=e,{step:$=null}=e,{showcounter:X="false"}=e,{maxcharcount:Y=0}=e,oe;function we(S){S.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:d,value:S.target.value}})),t(0,f=S.target.value)}function je(S){te[S?"unshift":"push"](()=>{oe=S,t(14,oe)})}return i.$$set=S=>{"type"in S&&t(1,c=S.type),"name"in S&&t(2,d=S.name),"value"in S&&t(0,f=S.value),"placeholder"in S&&t(3,g=S.placeholder),"leadingicon"in S&&t(4,y=S.leadingicon),"trailingicon"in S&&t(5,w=S.trailingicon),"variant"in S&&t(6,_=S.variant),"disabled"in S&&t(21,A=S.disabled),"handletrailingiconclick"in S&&t(22,k=S.handletrailingiconclick),"focused"in S&&t(23,M=S.focused),"readonly"in S&&t(24,z=S.readonly),"error"in S&&t(25,x=S.error),"testid"in S&&t(7,T=S.testid),"width"in S&&t(8,L=S.width),"arialabel"in S&&t(9,I=S.arialabel),"min"in S&&t(10,W=S.min),"max"in S&&t(11,J=S.max),"step"in S&&t(12,$=S.step),"showcounter"in S&&t(26,X=S.showcounter),"maxcharcount"in S&&t(13,Y=S.maxcharcount)},i.$$.update=()=>{i.$$.dirty&4194304&&t(19,r=F(k)),i.$$.dirty&8388608&&t(27,n=F(M)),i.$$.dirty&16777216&&t(18,o=F(z)),i.$$.dirty&33554432&&t(17,a=F(x)),i.$$.dirty&2097152&&t(16,l=F(A)),i.$$.dirty&67108864&&t(15,s=F(X)),i.$$.dirty&134234112&&n&&oe&&setTimeout(()=>oe.focus(),1),i.$$.dirty&16386&&oe&&c==="search"&&oe.addEventListener("search",S=>{we(S)})},[f,c,d,g,y,w,_,T,L,I,W,J,$,Y,oe,s,l,a,o,r,we,A,k,M,z,x,X,n,je]}class ti extends N{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.container{position:relative;width:100%}@media(min-width: 640px){.container{width:var(--width)}}.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:var(--input-border-radius);background:white;display:inline-flex;align-items:center;vertical-align:middle;min-width:100%}.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.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{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text);font-size:var(--input-font-size);padding:var(--input-padding);line-height:calc(40px - calc(var(--input-padding) * 2));background-color:transparent;width:0;flex:1 1 auto}input[type=date],input[type="datetime-local"],input[type=number]{font-family:var(--font-family)}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--color-gray-100);border-color:var(--color-gray-200);cursor:default;box-shadow:none}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.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}.counter{position:absolute;padding-top:0.25rem;right:0;font-size:var(--fs-sm)}.counter-error{color:var(--goa-color-interactive--error)}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}input[type="search" i]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
|
|
39
|
+
center center no-repeat}</style>`,j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},dn,sn,G,{type:1,name:2,value:0,placeholder:3,leadingicon:4,trailingicon:5,variant:6,disabled:21,handletrailingiconclick:22,focused:23,readonly:24,error:25,testid:7,width:8,arialabel:9,min:10,max:11,step:12,showcounter:26,maxcharcount:13},null),e&&(e.target&&p(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","arialabel","min","max","step","showcounter","maxcharcount"]}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),h()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[0]}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[21]}set disabled(e){this.$$set({disabled:e}),h()}get handletrailingiconclick(){return this.$$.ctx[22]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),h()}get focused(){return this.$$.ctx[23]}set focused(e){this.$$set({focused:e}),h()}get readonly(){return this.$$.ctx[24]}set readonly(e){this.$$set({readonly:e}),h()}get error(){return this.$$.ctx[25]}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()}get arialabel(){return this.$$.ctx[9]}set arialabel(e){this.$$set({arialabel:e}),h()}get min(){return this.$$.ctx[10]}set min(e){this.$$set({min:e}),h()}get max(){return this.$$.ctx[11]}set max(e){this.$$set({max:e}),h()}get step(){return this.$$.ctx[12]}set step(e){this.$$set({step:e}),h()}get showcounter(){return this.$$.ctx[26]}set showcounter(e){this.$$set({showcounter:e}),h()}get maxcharcount(){return this.$$.ctx[13]}set maxcharcount(e){this.$$set({maxcharcount:e}),h()}}customElements.define("goa-input",ti);function un(i){const e=i-1;return e*e*e+1}function fn(i){return Math.pow(i-1,3)*(1-i)+1}function pe(i,{delay:e=0,duration:t=400,easing:r=_e}={}){const n=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:o=>`opacity: ${o*n}`}}function ii(i,{delay:e=0,duration:t=400,easing:r=un,x:n=0,y:o=0,opacity:a=0}={}){const l=getComputedStyle(i),s=+l.opacity,c=l.transform==="none"?"":l.transform,d=s*(1-a);return{delay:e,duration:t,easing:r,css:(f,g)=>`
|
|
40
40
|
transform: ${c} translate(${(1-f)*n}px, ${(1-f)*o}px);
|
|
41
|
-
opacity: ${s-d*g}`}}function ri(i,e){let t=!1;function r(){if(!n())return;const l=a();l>0&&(t=!0,document.body.style.overflow="hidden",document.body.style.paddingRight=l+"px")}function n(){return document.body.style.overflow!=="hidden"}function o(){!t||(t=!1,setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},200))}function a(){if(document.body.clientHeight<=document.documentElement.clientHeight)return 0;const l=document.createElement("div");l.style.visibility="hidden",l.style.overflow="scroll",document.body.appendChild(l);const s=document.createElement("div");l.appendChild(s);const c=l.offsetWidth-s.offsetWidth;return l.parentNode.removeChild(l),c}return e.enable&&r(),{update(){e.enable||o()},destroy(){o()}}}function ni(i){let e,t,r,n,o,a,l,s,c,d,f,g,y,w,_,A,k,M,z,x,T,L=i[0]&&oi(i),I=i[3]&&ai(i);function W(X,Y){return X[6]?gn:hn}let J=W(i),$=J(i);return{c(){e=b("goa-focus-trap"),t=b("div"),r=b("div"),n=R(),o=b("div"),L&&L.c(),a=R(),I&&I.c(),l=R(),s=b("div"),$.c(),c=R(),d=b("slot"),f=R(),g=b("div"),g.innerHTML='<slot name="actions"></slot>',u(r,"data-testid","modal-overlay"),u(r,"class","modal-overlay"),u(s,"data-testid","modal-content"),u(s,"class","modal-content"),u(g,"data-testid","modal-actions"),u(g,"class","modal-actions"),u(o,"class","modal-pane"),u(t,"data-testid","modal"),u(t,"class","modal"),u(t,"style",_=""+((i[2]&&`--width: ${i[2]};`)+";")),C(e,"active",i[1])},m(X,Y){p(X,e,Y),m(e,t),m(t,r),m(t,n),m(t,o),L&&L.m(o,null),m(o,a),I&&I.m(o,null),m(o,l),m(o,s),$.m(s,null),m(s,c),m(s,d),m(o,f),m(o,g),z=!0,x||(T=[Z(r,"click",i[7]),Je(A=ri.call(null,t,{enable:i[5]}))],x=!0)},p(X,Y){i=X,i[0]?L?L.p(i,Y):(L=oi(i),L.c(),L.m(o,a)):L&&(L.d(1),L=null),i[3]?I?I.p(i,Y):(I=ai(i),I.c(),I.m(o,l)):I&&(I.d(1),I=null),J!==(J=W(i))&&($.d(1),$=J(i),$&&($.c(),$.m(s,c))),(!z||Y&4&&_!==(_=""+((i[2]&&`--width: ${i[2]};`)+";")))&&u(t,"style",_),A&&de(A.update)&&Y&32&&A.update.call(null,{enable:i[5]}),(!z||Y&2)&&C(e,"active",i[1])},i(X){z||(re(()=>{w&&w.end(1),y=at(o,ii,{duration:i[4],y:200}),y.start()}),re(()=>{M&&M.end(1),k=at(t,pe,{duration:i[4]}),k.start()}),z=!0)},o(X){y&&y.invalidate(),w=lt(o,ii,{delay:i[4],duration:i[4],y:-100}),k&&k.invalidate(),M=lt(t,pe,{delay:i[4],duration:i[4]}),z=!1},d(X){X&&E(e),L&&L.d(),I&&I.d(),$.d(),X&&w&&w.end(),X&&M&&M.end(),x=!1,ee(T)}}}function oi(i){let e,t;return{c(){e=b("div"),t=j(i[0]),u(e,"data-testid","modal-title"),u(e,"class","modal-title")},m(r,n){p(r,e,n),m(e,t)},p(r,n){n&1&&V(t,r[0])},d(r){r&&E(e)}}}function ai(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon-button"),C(t,"data-testid","modal-close-button"),C(t,"type","close"),u(e,"class","modal-close")},m(o,a){p(o,e,a),m(e,t),r||(n=Z(t,"click",i[7]),r=!0)},p:v,d(o){o&&E(e),r=!1,n()}}}function hn(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",q(e,"margin","1.75rem")},m(t,r){p(t,e,r)},d(t){t&&E(e)}}}function gn(i){let e;return{c(){e=b("goa-scrollable"),e.innerHTML="<slot></slot>",C(e,"direction","vertical"),C(e,"height","50"),C(e,"hpadding","1.75")},m(t,r){p(t,e,r)},d(t){t&&E(e)}}}function mn(i){let e,t,r=i[5]&&ni(i);return{c(){r&&r.c(),e=ie(),this.c=v},m(n,o){r&&r.m(n,o),p(n,e,o),t=!0},p(n,[o]){n[5]?r?(r.p(n,o),o&32&&U(r,1)):(r=ni(n),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(me(),K(r,1,1,()=>{r=null}),be())},i(n){t||(U(r),t=!0)},o(n){K(r),t=!1},d(n){r&&r.d(n),n&&E(e)}}}function bn(i,e,t){let r,n,o,a,{heading:l}=e,{closable:s}=e,{scrollable:c}=e,{open:d}=e,{transition:f}=e,{width:g}=e;Q(()=>{console.log("in the modal v2")});function y(w){!r||(w.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),w.stopPropagation())}return i.$$set=w=>{"heading"in w&&t(0,l=w.heading),"closable"in w&&t(8,s=w.closable),"scrollable"in w&&t(9,c=w.scrollable),"open"in w&&t(1,d=w.open),"transition"in w&&t(10,f=w.transition),"width"in w&&t(2,g=w.width)},i.$$.update=()=>{i.$$.dirty&256&&t(3,r=F(s)),i.$$.dirty&512&&t(6,n=F(c)),i.$$.dirty&2&&t(5,o=F(d)),i.$$.dirty&1024&&t(4,a=f==="none"?0:f==="slow"?400:200)},[l,d,g,r,a,o,n,y,s,c,f]}class li extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.modal{font-family:var(--font-family);position:fixed;inset: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:90%;margin:1rem;box-shadow:var(--shadow-2);border-radius:4px;max-height:90%}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch);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>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},bn,mn,G,{heading:0,closable:8,scrollable:9,open:1,transition:10,width:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","closable","scrollable","open","transition","width"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get closable(){return this.$$.ctx[8]}set closable(e){this.$$set({closable:e}),h()}get scrollable(){return this.$$.ctx[9]}set scrollable(e){this.$$set({scrollable:e}),h()}get open(){return this.$$.ctx[1]}set open(e){this.$$set({open:e}),h()}get transition(){return this.$$.ctx[10]}set transition(e){this.$$set({transition:e}),h()}get width(){return this.$$.ctx[2]}set width(e){this.$$set({width:e}),h()}}customElements.define("goa-modal",li);function si(i){let e,t,r,n,o,a,l,s,c,d,f,g,y;return{c(){e=b("div"),t=b("div"),r=b("goa-icon"),n=R(),o=b("div"),o.innerHTML="<slot></slot>",a=R(),l=b("div"),s=b("goa-icon-button"),C(r,"type",i[2]),C(r,"inverted",""),u(t,"class","icon"),u(o,"class","content"),C(s,"type","close"),C(s,"inverted",""),u(l,"class","close"),u(e,"class",c="notification "+i[0])},m(w,_){p(w,e,_),m(e,t),m(t,r),m(e,n),m(e,o),m(e,a),m(e,l),m(l,s),f=!0,g||(y=Z(s,"click",i[3]),g=!0)},p(w,_){(!f||_&4)&&C(r,"type",w[2]),(!f||_&1&&c!==(c="notification "+w[0]))&&u(e,"class",c)},i(w){f||(re(()=>{d||(d=Pe(e,pe,{},!0)),d.run(1)}),f=!0)},o(w){d||(d=Pe(e,pe,{},!1)),d.run(0),f=!1},d(w){w&&E(e),w&&d&&d.end(),g=!1,y()}}}function vn(i){let e,t,r=i[1]&&si(i);return{c(){r&&r.c(),e=ie(),this.c=v},m(n,o){r&&r.m(n,o),p(n,e,o),t=!0},p(n,[o]){n[1]?r?(r.p(n,o),o&2&&U(r,1)):(r=si(n),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(me(),K(r,1,1,()=>{r=null}),be())},i(n){t||(U(r),t=!0)},o(n){K(r),t=!1},d(n){r&&r.d(n),n&&E(e)}}}function pn(i,e,t){let r,{type:n}=e,o=!0;function a(){t(1,o=!1)}return i.$$set=l=>{"type"in l&&t(0,n=l.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=n==="emergency"?"warning":n==="caution"?"alert-circle":n==="information"?"information-circle":"calendar")},[n,o,r,a]}class ci extends N{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>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},pn,vn,G,{type:0},null),e&&(e.target&&p(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",ci);function di(i){let e,t,r,n;const o=[_n,wn],a=[];function l(s,c){return s[3]?0:s[4]?1:-1}return~(e=l(i))&&(t=a[e]=o[e](i)),{c(){t&&t.c(),r=ie()},m(s,c){~e&&a[e].m(s,c),p(s,r,c),n=!0},p(s,c){let d=e;e=l(s),e===d?~e&&a[e].p(s,c):(t&&(me(),K(a[d],1,1,()=>{a[d]=null}),be()),~e?(t=a[e],t?t.p(s,c):(t=a[e]=o[e](s),t.c()),U(t,1),t.m(r.parentNode,r)):t=null)},i(s){n||(U(t),n=!0)},o(s){K(t),n=!1},d(s){~e&&a[e].d(s),s&&E(r)}}}function wn(i){let e,t,r,n,o=i[0]&&ui(i);return{c(){e=b("div"),t=b("goa-spinner"),r=R(),o&&o.c(),C(t,"size",i[2]),C(t,"progress",i[1]),u(e,"class",n="spinner-"+i[2]),B(e,"inline",i[4])},m(a,l){p(a,e,l),m(e,t),m(e,r),o&&o.m(e,null)},p(a,l){l&4&&C(t,"size",a[2]),l&2&&C(t,"progress",a[1]),a[0]?o?o.p(a,l):(o=ui(a),o.c(),o.m(e,null)):o&&(o.d(1),o=null),l&4&&n!==(n="spinner-"+a[2])&&u(e,"class",n),l&20&&B(e,"inline",a[4])},i:v,o:v,d(a){a&&E(e),o&&o.d()}}}function _n(i){let e,t,r,n,o,a,l,s=i[0]&&fi(i);return{c(){e=b("div"),t=b("goa-spinner"),r=R(),s&&s.c(),C(t,"size",i[2]),C(t,"progress",i[1]),B(e,"fullscreen",i[3])},m(c,d){p(c,e,d),m(e,t),m(e,r),s&&s.m(e,null),o=!0,a||(l=Je(ri.call(null,e,{enable:!0})),a=!0)},p(c,d){(!o||d&4)&&C(t,"size",c[2]),(!o||d&2)&&C(t,"progress",c[1]),c[0]?s?s.p(c,d):(s=fi(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),d&8&&B(e,"fullscreen",c[3])},i(c){o||(re(()=>{n||(n=Pe(e,pe,{duration:300},!0)),n.run(1)}),o=!0)},o(c){n||(n=Pe(e,pe,{duration:300},!1)),n.run(0),o=!1},d(c){c&&E(e),s&&s.d(),c&&n&&n.end(),a=!1,l()}}}function ui(i){let e,t;return{c(){e=b("div"),t=j(i[0]),u(e,"class","message")},m(r,n){p(r,e,n),m(e,t)},p(r,n){n&1&&V(t,r[0])},d(r){r&&E(e)}}}function fi(i){let e,t;return{c(){e=b("div"),t=j(i[0]),u(e,"class","message")},m(r,n){p(r,e,n),m(e,t)},p(r,n){n&1&&V(t,r[0])},d(r){r&&E(e)}}}function yn(i){let e,t,r=i[5]&&di(i);return{c(){r&&r.c(),e=ie(),this.c=v},m(n,o){r&&r.m(n,o),p(n,e,o),t=!0},p(n,[o]){n[5]?r?(r.p(n,o),o&32&&U(r,1)):(r=di(n),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(me(),K(r,1,1,()=>{r=null}),be())},i(n){t||(U(r),t=!0)},o(n){K(r),t=!1},d(n){r&&r.d(n),n&&E(e)}}}function kn(i,e,t){let r,{variant:n="inline"}=e,{size:o="large"}=e,{message:a=""}=e,{progress:l=-1}=e,{visible:s="false"}=e,c,d,f;return Q(async()=>{t(2,c=o==="small"?"large":"xlarge"),t(3,d=n==="fullscreen"),t(4,f=n==="inline")}),i.$$set=g=>{"variant"in g&&t(6,n=g.variant),"size"in g&&t(7,o=g.size),"message"in g&&t(0,a=g.message),"progress"in g&&t(1,l=g.progress),"visible"in g&&t(8,s=g.visible)},i.$$.update=()=>{i.$$.dirty&256&&t(5,r=F(s))},[a,l,c,d,f,r,n,o,s]}class hi extends N{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>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},kn,yn,G,{variant:6,size:7,message:0,progress:1,visible:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["variant","size","message","progress","visible"]}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),h()}get size(){return this.$$.ctx[7]}set size(e){this.$$set({size:e}),h()}get message(){return this.$$.ctx[0]}set message(e){this.$$set({message:e}),h()}get progress(){return this.$$.ctx[1]}set progress(e){this.$$set({progress:e}),h()}get visible(){return this.$$.ctx[8]}set visible(e){this.$$set({visible:e}),h()}}customElements.define("goa-circular-progress",hi);const gi="bind";function mi(i,e,t){const r=i.slice();return r[14]=e[t],r}function bi(i,e){let t,r,n,o,a,l,s,c,d=(e[14].label||e[14].value)+"",f,g,y,w,_;function A(){return e[11](e[14])}return{key:i,first:null,c(){t=b("label"),r=b("input"),a=R(),l=b("div"),s=R(),c=b("span"),f=j(d),g=R(),u(r,"type","radio"),u(r,"name",e[1]),r.value=n=e[14].value,r.disabled=e[7],r.checked=o=e[14].value===e[0],u(l,"class","goa-radio-icon"),u(c,"class","goa-radio-label"),u(t,"data-testid",y="radio-option-"+e[14].value),u(t,"class","goa-radio"),B(t,"goa-radio--disabled",e[7]),B(t,"goa-radio--error",e[5]),this.first=t},m(k,M){p(k,t,M),m(t,r),m(t,a),m(t,l),m(t,s),m(t,c),m(c,f),m(t,g),w||(_=Z(r,"change",A),w=!0)},p(k,M){e=k,M&2&&u(r,"name",e[1]),M&16&&n!==(n=e[14].value)&&(r.value=n),M&128&&(r.disabled=e[7]),M&17&&o!==(o=e[14].value===e[0])&&(r.checked=o),M&16&&d!==(d=(e[14].label||e[14].value)+"")&&V(f,d),M&16&&y!==(y="radio-option-"+e[14].value)&&u(t,"data-testid",y),M&128&&B(t,"goa-radio--disabled",e[7]),M&32&&B(t,"goa-radio--error",e[5])},d(k){k&&E(t),w=!1,_()}}}function xn(i){let e,t,r,n=[],o=new Map,a,l=i[4];const s=c=>c[14].value;for(let c=0;c<l.length;c+=1){let d=mi(i,l,c),f=s(d);o.set(f,n[c]=bi(f,d))}return{c(){e=b("div"),t=b("slot"),r=R();for(let c=0;c<n.length;c+=1)n[c].c();this.c=v,u(e,"class",a=`goa-radio-group--${i[2]}`),u(e,"data-testid",i[3])},m(c,d){p(c,e,d),m(e,t),m(e,r);for(let f=0;f<n.length;f+=1)n[f].m(e,null);i[12](e)},p(c,[d]){d&435&&(l=c[4],n=ct(n,d,s,1,c,l,o,e,st,bi,null,mi)),d&4&&a!==(a=`goa-radio-group--${c[2]}`)&&u(e,"class",a),d&8&&u(e,"data-testid",c[3])},i:v,o:v,d(c){c&&E(e);for(let d=0;d<n.length;d+=1)n[d].d();i[12](null)}}}function En(i,e,t){let r,{name:n}=e,{value:o}=e,{orientation:a="vertical"}=e,{disabled:l="false"}=e,{error:s="false"}=e,{testid:c=""}=e,d=[],f,g,y;Q(()=>{if(!n){console.error("goa-radio: missing the required `name` attribute. It must match the children's name attribute.");return}g=Rt(n),g.subscribe(k=>{switch(k==null?void 0:k.type){case gi:t(4,d=[...d,k])}})});function w(k){k!==o&&(t(0,o=k),y.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:n,value:o}})))}it(()=>{It(n)});const _=k=>w(k.value);function A(k){te[k?"unshift":"push"](()=>{y=k,t(6,y)})}return i.$$set=k=>{"name"in k&&t(1,n=k.name),"value"in k&&t(0,o=k.value),"orientation"in k&&t(2,a=k.orientation),"disabled"in k&&t(9,l=k.disabled),"error"in k&&t(10,s=k.error),"testid"in k&&t(3,c=k.testid)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=F(l)),i.$$.dirty&1024&&t(5,f=F(s))},[o,n,a,c,d,f,y,r,w,l,s,_,A]}class vi extends N{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-block}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;display:inline-block;box-sizing:border-box;display: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;margin:0;opacity:0}input[type="radio"]:hover~.goa-radio-icon{border-color:var(--goa-color-interactive--hover)}input[type="radio"]:focus~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.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;flex:0 0 auto}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.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>',O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},En,xn,G,{name:1,value:0,orientation:2,disabled:9,error:10,testid:3},null),e&&(e.target&&p(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[1]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get orientation(){return this.$$.ctx[2]}set orientation(e){this.$$set({orientation:e}),h()}get disabled(){return this.$$.ctx[9]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[10]}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-radio-group",vi);function Cn(i){return{c(){this.c=v},m:v,p:v,i:v,o:v,d:v}}function zn(i,e,t){let{value:r}=e,{label:n}=e,{name:o}=e,a;return Q(async()=>{if(!o){console.error("goa-radio-item: missing the required `name` attribute. It must match the parent's name attribute.");return}a=await Ht(o),a.notify({type:gi,value:r,label:n})}),i.$$set=l=>{"value"in l&&t(0,r=l.value),"label"in l&&t(1,n=l.label),"name"in l&&t(2,o=l.name)},[r,n,o]}class pi extends N{constructor(e){super();O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},zn,Cn,G,{value:0,label:1,name:2},null),e&&(e.target&&p(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",pi);function Mn(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=v,u(e,"class","goa-scrollable"),u(e,"style",r=`
|
|
41
|
+
opacity: ${s-d*g}`}}function ri(i,e){let t=!1;function r(){if(!n())return;const l=a();l>0&&(t=!0,document.body.style.overflow="hidden",document.body.style.paddingRight=l+"px")}function n(){return document.body.style.overflow!=="hidden"}function o(){!t||(t=!1,setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},200))}function a(){if(document.body.clientHeight<=document.documentElement.clientHeight)return 0;const l=document.createElement("div");l.style.visibility="hidden",l.style.overflow="scroll",document.body.appendChild(l);const s=document.createElement("div");l.appendChild(s);const c=l.offsetWidth-s.offsetWidth;return l.parentNode.removeChild(l),c}return e.enable&&r(),{update(){e.enable||o()},destroy(){o()}}}function ni(i){let e,t,r,n,o,a,l,s,c,d,f,g,y,w,_,A,k,M,z,x,T,L=i[0]&&oi(i),I=i[3]&&ai(i);function W(X,Y){return X[6]?gn:hn}let J=W(i),$=J(i);return{c(){e=b("goa-focus-trap"),t=b("div"),r=b("div"),n=R(),o=b("div"),L&&L.c(),a=R(),I&&I.c(),l=R(),s=b("div"),$.c(),c=R(),d=b("slot"),f=R(),g=b("div"),g.innerHTML='<slot name="actions"></slot>',u(r,"data-testid","modal-overlay"),u(r,"class","modal-overlay"),u(s,"data-testid","modal-content"),u(s,"class","modal-content"),u(g,"data-testid","modal-actions"),u(g,"class","modal-actions"),u(o,"class","modal-pane"),u(t,"data-testid","modal"),u(t,"class","modal"),u(t,"style",_=""+((i[2]&&`--width: ${i[2]};`)+";")),C(e,"active",i[1])},m(X,Y){p(X,e,Y),m(e,t),m(t,r),m(t,n),m(t,o),L&&L.m(o,null),m(o,a),I&&I.m(o,null),m(o,l),m(o,s),$.m(s,null),m(s,c),m(s,d),m(o,f),m(o,g),z=!0,x||(T=[Z(r,"click",i[7]),Je(A=ri.call(null,t,{enable:i[5]}))],x=!0)},p(X,Y){i=X,i[0]?L?L.p(i,Y):(L=oi(i),L.c(),L.m(o,a)):L&&(L.d(1),L=null),i[3]?I?I.p(i,Y):(I=ai(i),I.c(),I.m(o,l)):I&&(I.d(1),I=null),J!==(J=W(i))&&($.d(1),$=J(i),$&&($.c(),$.m(s,c))),(!z||Y&4&&_!==(_=""+((i[2]&&`--width: ${i[2]};`)+";")))&&u(t,"style",_),A&&de(A.update)&&Y&32&&A.update.call(null,{enable:i[5]}),(!z||Y&2)&&C(e,"active",i[1])},i(X){z||(re(()=>{w&&w.end(1),y=at(o,ii,{duration:i[4],y:200}),y.start()}),re(()=>{M&&M.end(1),k=at(t,pe,{duration:i[4]}),k.start()}),z=!0)},o(X){y&&y.invalidate(),w=lt(o,ii,{delay:i[4],duration:i[4],y:-100}),k&&k.invalidate(),M=lt(t,pe,{delay:i[4],duration:i[4]}),z=!1},d(X){X&&E(e),L&&L.d(),I&&I.d(),$.d(),X&&w&&w.end(),X&&M&&M.end(),x=!1,ee(T)}}}function oi(i){let e,t;return{c(){e=b("div"),t=O(i[0]),u(e,"data-testid","modal-title"),u(e,"class","modal-title")},m(r,n){p(r,e,n),m(e,t)},p(r,n){n&1&&V(t,r[0])},d(r){r&&E(e)}}}function ai(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon-button"),C(t,"data-testid","modal-close-button"),C(t,"type","close"),u(e,"class","modal-close")},m(o,a){p(o,e,a),m(e,t),r||(n=Z(t,"click",i[7]),r=!0)},p:v,d(o){o&&E(e),r=!1,n()}}}function hn(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",q(e,"margin","1.75rem")},m(t,r){p(t,e,r)},d(t){t&&E(e)}}}function gn(i){let e;return{c(){e=b("goa-scrollable"),e.innerHTML="<slot></slot>",C(e,"direction","vertical"),C(e,"height","50"),C(e,"hpadding","1.75")},m(t,r){p(t,e,r)},d(t){t&&E(e)}}}function mn(i){let e,t,r=i[5]&&ni(i);return{c(){r&&r.c(),e=ie(),this.c=v},m(n,o){r&&r.m(n,o),p(n,e,o),t=!0},p(n,[o]){n[5]?r?(r.p(n,o),o&32&&U(r,1)):(r=ni(n),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(me(),K(r,1,1,()=>{r=null}),be())},i(n){t||(U(r),t=!0)},o(n){K(r),t=!1},d(n){r&&r.d(n),n&&E(e)}}}function bn(i,e,t){let r,n,o,a,{heading:l}=e,{closable:s}=e,{scrollable:c}=e,{open:d}=e,{transition:f}=e,{width:g}=e;Q(()=>{console.log("in the modal v2")});function y(w){!r||(w.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),w.stopPropagation())}return i.$$set=w=>{"heading"in w&&t(0,l=w.heading),"closable"in w&&t(8,s=w.closable),"scrollable"in w&&t(9,c=w.scrollable),"open"in w&&t(1,d=w.open),"transition"in w&&t(10,f=w.transition),"width"in w&&t(2,g=w.width)},i.$$.update=()=>{i.$$.dirty&256&&t(3,r=F(s)),i.$$.dirty&512&&t(6,n=F(c)),i.$$.dirty&2&&t(5,o=F(d)),i.$$.dirty&1024&&t(4,a=f==="none"?0:f==="slow"?400:200)},[l,d,g,r,a,o,n,y,s,c,f]}class li extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.modal{font-family:var(--font-family);position:fixed;inset: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:90%;margin:1rem;box-shadow:var(--shadow-2);border-radius:4px;max-height:90%}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch);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>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},bn,mn,G,{heading:0,closable:8,scrollable:9,open:1,transition:10,width:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","closable","scrollable","open","transition","width"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get closable(){return this.$$.ctx[8]}set closable(e){this.$$set({closable:e}),h()}get scrollable(){return this.$$.ctx[9]}set scrollable(e){this.$$set({scrollable:e}),h()}get open(){return this.$$.ctx[1]}set open(e){this.$$set({open:e}),h()}get transition(){return this.$$.ctx[10]}set transition(e){this.$$set({transition:e}),h()}get width(){return this.$$.ctx[2]}set width(e){this.$$set({width:e}),h()}}customElements.define("goa-modal",li);function si(i){let e,t,r,n,o,a,l,s,c,d,f,g,y;return{c(){e=b("div"),t=b("div"),r=b("goa-icon"),n=R(),o=b("div"),o.innerHTML="<slot></slot>",a=R(),l=b("div"),s=b("goa-icon-button"),C(r,"type",i[2]),C(r,"inverted",""),u(t,"class","icon"),u(o,"class","content"),C(s,"type","close"),C(s,"inverted",""),u(l,"class","close"),u(e,"class",c="notification "+i[0])},m(w,_){p(w,e,_),m(e,t),m(t,r),m(e,n),m(e,o),m(e,a),m(e,l),m(l,s),f=!0,g||(y=Z(s,"click",i[3]),g=!0)},p(w,_){(!f||_&4)&&C(r,"type",w[2]),(!f||_&1&&c!==(c="notification "+w[0]))&&u(e,"class",c)},i(w){f||(re(()=>{d||(d=Pe(e,pe,{},!0)),d.run(1)}),f=!0)},o(w){d||(d=Pe(e,pe,{},!1)),d.run(0),f=!1},d(w){w&&E(e),w&&d&&d.end(),g=!1,y()}}}function vn(i){let e,t,r=i[1]&&si(i);return{c(){r&&r.c(),e=ie(),this.c=v},m(n,o){r&&r.m(n,o),p(n,e,o),t=!0},p(n,[o]){n[1]?r?(r.p(n,o),o&2&&U(r,1)):(r=si(n),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(me(),K(r,1,1,()=>{r=null}),be())},i(n){t||(U(r),t=!0)},o(n){K(r),t=!1},d(n){r&&r.d(n),n&&E(e)}}}function pn(i,e,t){let r,{type:n}=e,o=!0;function a(){t(1,o=!1)}return i.$$set=l=>{"type"in l&&t(0,n=l.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=n==="emergency"?"warning":n==="caution"?"alert-circle":n==="information"?"information-circle":"calendar")},[n,o,r,a]}class ci extends N{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>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},pn,vn,G,{type:0},null),e&&(e.target&&p(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",ci);function di(i){let e,t,r,n;const o=[_n,wn],a=[];function l(s,c){return s[3]?0:s[4]?1:-1}return~(e=l(i))&&(t=a[e]=o[e](i)),{c(){t&&t.c(),r=ie()},m(s,c){~e&&a[e].m(s,c),p(s,r,c),n=!0},p(s,c){let d=e;e=l(s),e===d?~e&&a[e].p(s,c):(t&&(me(),K(a[d],1,1,()=>{a[d]=null}),be()),~e?(t=a[e],t?t.p(s,c):(t=a[e]=o[e](s),t.c()),U(t,1),t.m(r.parentNode,r)):t=null)},i(s){n||(U(t),n=!0)},o(s){K(t),n=!1},d(s){~e&&a[e].d(s),s&&E(r)}}}function wn(i){let e,t,r,n,o=i[0]&&ui(i);return{c(){e=b("div"),t=b("goa-spinner"),r=R(),o&&o.c(),C(t,"size",i[2]),C(t,"progress",i[1]),u(e,"class",n="spinner-"+i[2]),B(e,"inline",i[4])},m(a,l){p(a,e,l),m(e,t),m(e,r),o&&o.m(e,null)},p(a,l){l&4&&C(t,"size",a[2]),l&2&&C(t,"progress",a[1]),a[0]?o?o.p(a,l):(o=ui(a),o.c(),o.m(e,null)):o&&(o.d(1),o=null),l&4&&n!==(n="spinner-"+a[2])&&u(e,"class",n),l&20&&B(e,"inline",a[4])},i:v,o:v,d(a){a&&E(e),o&&o.d()}}}function _n(i){let e,t,r,n,o,a,l,s=i[0]&&fi(i);return{c(){e=b("div"),t=b("goa-spinner"),r=R(),s&&s.c(),C(t,"size",i[2]),C(t,"progress",i[1]),B(e,"fullscreen",i[3])},m(c,d){p(c,e,d),m(e,t),m(e,r),s&&s.m(e,null),o=!0,a||(l=Je(ri.call(null,e,{enable:!0})),a=!0)},p(c,d){(!o||d&4)&&C(t,"size",c[2]),(!o||d&2)&&C(t,"progress",c[1]),c[0]?s?s.p(c,d):(s=fi(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),d&8&&B(e,"fullscreen",c[3])},i(c){o||(re(()=>{n||(n=Pe(e,pe,{duration:300},!0)),n.run(1)}),o=!0)},o(c){n||(n=Pe(e,pe,{duration:300},!1)),n.run(0),o=!1},d(c){c&&E(e),s&&s.d(),c&&n&&n.end(),a=!1,l()}}}function ui(i){let e,t;return{c(){e=b("div"),t=O(i[0]),u(e,"class","message")},m(r,n){p(r,e,n),m(e,t)},p(r,n){n&1&&V(t,r[0])},d(r){r&&E(e)}}}function fi(i){let e,t;return{c(){e=b("div"),t=O(i[0]),u(e,"class","message")},m(r,n){p(r,e,n),m(e,t)},p(r,n){n&1&&V(t,r[0])},d(r){r&&E(e)}}}function yn(i){let e,t,r=i[5]&&di(i);return{c(){r&&r.c(),e=ie(),this.c=v},m(n,o){r&&r.m(n,o),p(n,e,o),t=!0},p(n,[o]){n[5]?r?(r.p(n,o),o&32&&U(r,1)):(r=di(n),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(me(),K(r,1,1,()=>{r=null}),be())},i(n){t||(U(r),t=!0)},o(n){K(r),t=!1},d(n){r&&r.d(n),n&&E(e)}}}function kn(i,e,t){let r,{variant:n="inline"}=e,{size:o="large"}=e,{message:a=""}=e,{progress:l=-1}=e,{visible:s="false"}=e,c,d,f;return Q(async()=>{t(2,c=o==="small"?"large":"xlarge"),t(3,d=n==="fullscreen"),t(4,f=n==="inline")}),i.$$set=g=>{"variant"in g&&t(6,n=g.variant),"size"in g&&t(7,o=g.size),"message"in g&&t(0,a=g.message),"progress"in g&&t(1,l=g.progress),"visible"in g&&t(8,s=g.visible)},i.$$.update=()=>{i.$$.dirty&256&&t(5,r=F(s))},[a,l,c,d,f,r,n,o,s]}class hi extends N{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>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},kn,yn,G,{variant:6,size:7,message:0,progress:1,visible:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["variant","size","message","progress","visible"]}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),h()}get size(){return this.$$.ctx[7]}set size(e){this.$$set({size:e}),h()}get message(){return this.$$.ctx[0]}set message(e){this.$$set({message:e}),h()}get progress(){return this.$$.ctx[1]}set progress(e){this.$$set({progress:e}),h()}get visible(){return this.$$.ctx[8]}set visible(e){this.$$set({visible:e}),h()}}customElements.define("goa-circular-progress",hi);const gi="bind";function mi(i,e,t){const r=i.slice();return r[14]=e[t],r}function bi(i,e){let t,r,n,o,a,l,s,c,d=(e[14].label||e[14].value)+"",f,g,y,w,_;function A(){return e[11](e[14])}return{key:i,first:null,c(){t=b("label"),r=b("input"),a=R(),l=b("div"),s=R(),c=b("span"),f=O(d),g=R(),u(r,"type","radio"),u(r,"name",e[1]),r.value=n=e[14].value,r.disabled=e[7],r.checked=o=e[14].value===e[0],u(l,"class","goa-radio-icon"),u(c,"class","goa-radio-label"),u(t,"data-testid",y="radio-option-"+e[14].value),u(t,"class","goa-radio"),B(t,"goa-radio--disabled",e[7]),B(t,"goa-radio--error",e[5]),this.first=t},m(k,M){p(k,t,M),m(t,r),m(t,a),m(t,l),m(t,s),m(t,c),m(c,f),m(t,g),w||(_=Z(r,"change",A),w=!0)},p(k,M){e=k,M&2&&u(r,"name",e[1]),M&16&&n!==(n=e[14].value)&&(r.value=n),M&128&&(r.disabled=e[7]),M&17&&o!==(o=e[14].value===e[0])&&(r.checked=o),M&16&&d!==(d=(e[14].label||e[14].value)+"")&&V(f,d),M&16&&y!==(y="radio-option-"+e[14].value)&&u(t,"data-testid",y),M&128&&B(t,"goa-radio--disabled",e[7]),M&32&&B(t,"goa-radio--error",e[5])},d(k){k&&E(t),w=!1,_()}}}function xn(i){let e,t,r,n=[],o=new Map,a,l=i[4];const s=c=>c[14].value;for(let c=0;c<l.length;c+=1){let d=mi(i,l,c),f=s(d);o.set(f,n[c]=bi(f,d))}return{c(){e=b("div"),t=b("slot"),r=R();for(let c=0;c<n.length;c+=1)n[c].c();this.c=v,u(e,"class",a=`goa-radio-group--${i[2]}`),u(e,"data-testid",i[3])},m(c,d){p(c,e,d),m(e,t),m(e,r);for(let f=0;f<n.length;f+=1)n[f].m(e,null);i[12](e)},p(c,[d]){d&435&&(l=c[4],n=ct(n,d,s,1,c,l,o,e,st,bi,null,mi)),d&4&&a!==(a=`goa-radio-group--${c[2]}`)&&u(e,"class",a),d&8&&u(e,"data-testid",c[3])},i:v,o:v,d(c){c&&E(e);for(let d=0;d<n.length;d+=1)n[d].d();i[12](null)}}}function En(i,e,t){let r,{name:n}=e,{value:o}=e,{orientation:a="vertical"}=e,{disabled:l="false"}=e,{error:s="false"}=e,{testid:c=""}=e,d=[],f,g,y;Q(()=>{if(!n){console.error("goa-radio: missing the required `name` attribute. It must match the children's name attribute.");return}g=Rt(n),g.subscribe(k=>{switch(k==null?void 0:k.type){case gi:t(4,d=[...d,k])}})});function w(k){k!==o&&(t(0,o=k),y.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:n,value:o}})))}it(()=>{It(n)});const _=k=>w(k.value);function A(k){te[k?"unshift":"push"](()=>{y=k,t(6,y)})}return i.$$set=k=>{"name"in k&&t(1,n=k.name),"value"in k&&t(0,o=k.value),"orientation"in k&&t(2,a=k.orientation),"disabled"in k&&t(9,l=k.disabled),"error"in k&&t(10,s=k.error),"testid"in k&&t(3,c=k.testid)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=F(l)),i.$$.dirty&1024&&t(5,f=F(s))},[o,n,a,c,d,f,y,r,w,l,s,_,A]}class vi extends N{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-block}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;display:inline-block;box-sizing:border-box;display: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;margin:0;opacity:0}input[type="radio"]:hover~.goa-radio-icon{border-color:var(--goa-color-interactive--hover)}input[type="radio"]:focus~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.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;flex:0 0 auto}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.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>',j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},En,xn,G,{name:1,value:0,orientation:2,disabled:9,error:10,testid:3},null),e&&(e.target&&p(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[1]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get orientation(){return this.$$.ctx[2]}set orientation(e){this.$$set({orientation:e}),h()}get disabled(){return this.$$.ctx[9]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[10]}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-radio-group",vi);function Cn(i){return{c(){this.c=v},m:v,p:v,i:v,o:v,d:v}}function zn(i,e,t){let{value:r}=e,{label:n}=e,{name:o}=e,a;return Q(async()=>{if(!o){console.error("goa-radio-item: missing the required `name` attribute. It must match the parent's name attribute.");return}a=await Ht(o),a.notify({type:gi,value:r,label:n})}),i.$$set=l=>{"value"in l&&t(0,r=l.value),"label"in l&&t(1,n=l.label),"name"in l&&t(2,o=l.name)},[r,n,o]}class pi extends N{constructor(e){super();j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},zn,Cn,G,{value:0,label:1,name:2},null),e&&(e.target&&p(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",pi);function Mn(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=v,u(e,"class","goa-scrollable"),u(e,"style",r=`
|
|
42
42
|
--max-height: ${i[3]};
|
|
43
43
|
overflow-y: ${i[0]==="vertical"?"auto":"hidden"};
|
|
44
44
|
overflow-x: ${i[0]==="horizontal"?"auto":"hidden"};
|
|
@@ -50,15 +50,15 @@
|
|
|
50
50
|
overflow-x: ${n[0]==="horizontal"?"auto":"hidden"};
|
|
51
51
|
margin: ${n[2]}rem 0;
|
|
52
52
|
padding: 0 ${n[1]}rem;
|
|
53
|
-
`)&&u(e,"style",r)},i:v,o:v,d(n){n&&E(e)}}}function An(i,e,t){let{direction:r="vertical"}=e,{hpadding:n=0}=e,{vpadding:o=0}=e,{height:a=0}=e;return i.$$set=l=>{"direction"in l&&t(0,r=l.direction),"hpadding"in l&&t(1,n=l.hpadding),"vpadding"in l&&t(2,o=l.vpadding),"height"in l&&t(3,a=l.height)},[r,n,o,a]}class wi extends N{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>",
|
|
54
|
-
`),d&&d.c(),u(e,"data-testid","level"),u(e,"class",n="service-level service-level--"+i[0].toLowerCase()),u(s,"href","https://www.alberta.ca/index.aspx"),u(a,"data-testid","site-text"),u(a,"class","site-text")},m(f,g){p(f,e,g),m(e,r),p(f,o,g),p(f,a,g),m(a,l),m(a,s),m(a,c),d&&d.m(a,null)},p(f,g){g&1&&t!==(t=Ei(f[0])+"")&&V(r,t),g&1&&n!==(n="service-level service-level--"+f[0].toLowerCase())&&u(e,"class",n),f[2]?d?d.p(f,g):(d=ki(f),d.c(),d.m(a,null)):d&&(d.d(1),d=null)},d(f){f&&E(e),f&&E(o),f&&E(a),d&&d.d()}}}function ki(i){let e,t,r,n;return{c(){e=b("span"),t=j("\u2014 help us improve it by giving "),r=b("a"),n=j("feedback"),u(r,"href",i[2]),u(e,"data-testid","feedback")},m(o,a){p(o,e,a),m(e,t),m(e,r),m(r,n)},p(o,a){a&4&&u(r,"href",o[2])},d(o){o&&E(e)}}}function xi(i){let e,t;return{c(){e=b("div"),t=j(i[1]),u(e,"data-testid","version"),u(e,"class","version")},m(r,n){p(r,e,n),m(e,t)},p(r,n){n&2&&V(t,r[1])},d(r){r&&E(e)}}}function Ln(i){let e,t,r=["alpha","beta"].includes(i[0]),n,o,a,l=i[0]==="live"&&_i(),s=r&&yi(i),c=i[1]&&xi(i);return{c(){e=b("header"),l&&l.c(),t=R(),s&&s.c(),n=R(),o=b("div"),a=R(),c&&c.c(),this.c=v,u(o,"class","spacer"),u(e,"class","goa-official-site-header")},m(d,f){p(d,e,f),l&&l.m(e,null),m(e,t),s&&s.m(e,null),m(e,n),m(e,o),m(e,a),c&&c.m(e,null)},p(d,[f]){d[0]==="live"?l||(l=_i(),l.c(),l.m(e,t)):l&&(l.d(1),l=null),f&1&&(r=["alpha","beta"].includes(d[0])),r?s?s.p(d,f):(s=yi(d),s.c(),s.m(e,n)):s&&(s.d(1),s=null),d[1]?c?c.p(d,f):(c=xi(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:v,o:v,d(d){d&&E(e),l&&l.d(),s&&s.d(),c&&c.d()}}}function Ei(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function Tn(i,e,t){let{level:r}=e,{version:n}=e,{feedbackurl:o}=e;return i.$$set=a=>{"level"in a&&t(0,r=a.level),"version"in a&&t(1,n=a.version),"feedbackurl"in a&&t(2,o=a.feedbackurl)},[r,n,o]}class Ci extends N{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-sm);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;padding:0.5rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-level{font-weight:bold;padding:0.25rem;display:flex;margin-right:1rem;line-height:initial}.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{color:var(--goa-color-text);line-height:1.25rem}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Tn,Ln,G,{level:0,version:1,feedbackurl:2},null),e&&(e.target&&p(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",Ci);function zi(i,e,t){const r=i.slice();return r[4]=e[t],r}function Rn(i){let e,t;return{c(){e=b("div"),u(e,"class",t="skeleton "+i[3]+` ${i[3]}-${i[1]}`)},m(r,n){p(r,e,n)},p(r,n){n&10&&t!==(t="skeleton "+r[3]+` ${r[3]}-${r[1]}`)&&u(e,"class",t)},i:v,o:v,d(r){r&&E(e)}}}function Hn(i){let e,t,r=Array(i[2]),n=[];for(let a=0;a<r.length;a+=1)n[a]=Mi(zi(i,r,a));const o=a=>K(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;a<n.length;a+=1)n[a].c();e=ie()},m(a,l){for(let s=0;s<n.length;s+=1)n[s].m(a,l);p(a,e,l),t=!0},p(a,l){if(l&6){r=Array(a[2]);let s;for(s=0;s<r.length;s+=1){const c=zi(a,r,s);n[s]?(n[s].p(c,l),U(n[s],1)):(n[s]=Mi(c),n[s].c(),U(n[s],1),n[s].m(e.parentNode,e))}for(me(),s=r.length;s<n.length;s+=1)o(s);be()}},i(a){if(!t){for(let l=0;l<r.length;l+=1)U(n[l]);t=!0}},o(a){n=n.filter(Boolean);for(let l=0;l<n.length;l+=1)K(n[l]);t=!1},d(a){qe(n,a),a&&E(e)}}}function Sn(i){let e,t,r,n,o,a,l,s,c,d;return r=new ae({props:{type:"avatar",size:i[1]}}),a=new ae({props:{type:"title",size:i[1]}}),s=new ae({props:{type:"text-small",size:i[1]}}),{c(){e=b("div"),t=b("div"),he(r.$$.fragment),n=R(),o=b("div"),he(a.$$.fragment),l=R(),he(s.$$.fragment),u(t,"class","profile-avatar"),u(o,"class","profile-name"),u(e,"class",c="profile profile-"+i[1])},m(f,g){p(f,e,g),m(e,t),le(r,t,null),m(e,n),m(e,o),le(a,o,null),m(o,l),le(s,o,null),d=!0},p(f,g){const y={};g&2&&(y.size=f[1]),r.$set(y);const w={};g&2&&(w.size=f[1]),a.$set(w);const _={};g&2&&(_.size=f[1]),s.$set(_),(!d||g&2&&c!==(c="profile profile-"+f[1]))&&u(e,"class",c)},i(f){d||(U(r.$$.fragment,f),U(a.$$.fragment,f),U(s.$$.fragment,f),d=!0)},o(f){K(r.$$.fragment,f),K(a.$$.fragment,f),K(s.$$.fragment,f),d=!1},d(f){f&&E(e),se(r),se(a),se(s)}}}function In(i){let e,t,r,n,o,a,l,s,c;return t=new ae({props:{type:"image",size:i[1]}}),o=new ae({props:{type:"header",size:i[1]}}),l=new ae({props:{type:"lines",size:i[1],count:3}}),{c(){e=b("div"),he(t.$$.fragment),r=R(),n=b("div"),he(o.$$.fragment),a=R(),he(l.$$.fragment),u(n,"class","card-content"),u(e,"class",s="card card-"+i[1]),q(e,"--width",i[0]+"px")},m(d,f){p(d,e,f),le(t,e,null),m(e,r),m(e,n),le(o,n,null),m(n,a),le(l,n,null),c=!0},p(d,f){const g={};f&2&&(g.size=d[1]),t.$set(g);const y={};f&2&&(y.size=d[1]),o.$set(y);const w={};f&2&&(w.size=d[1]),l.$set(w),(!c||f&2&&s!==(s="card card-"+d[1]))&&u(e,"class",s),(!c||f&1)&&q(e,"--width",d[0]+"px")},i(d){c||(U(t.$$.fragment,d),U(o.$$.fragment,d),U(l.$$.fragment,d),c=!0)},o(d){K(t.$$.fragment,d),K(o.$$.fragment,d),K(l.$$.fragment,d),c=!1},d(d){d&&E(e),se(t),se(o),se(l)}}}function Mi(i){let e,t;return e=new ae({props:{type:"text",size:i[1],count:i[2]}}),{c(){he(e.$$.fragment)},m(r,n){le(e,r,n),t=!0},p(r,n){const o={};n&2&&(o.size=r[1]),n&4&&(o.count=r[2]),e.$set(o)},i(r){t||(U(e.$$.fragment,r),t=!0)},o(r){K(e.$$.fragment,r),t=!1},d(r){se(e,r)}}}function Bn(i){let e,t,r,n;const o=[In,Sn,Hn,Rn],a=[];function l(s,c){return s[3]==="card"?0:s[3]==="profile"?1:s[3]==="lines"?2:3}return e=l(i),t=a[e]=o[e](i),{c(){t.c(),r=ie(),this.c=v},m(s,c){a[e].m(s,c),p(s,r,c),n=!0},p(s,[c]){let d=e;e=l(s),e===d?a[e].p(s,c):(me(),K(a[d],1,1,()=>{a[d]=null}),be(),t=a[e],t?t.p(s,c):(t=a[e]=o[e](s),t.c()),U(t,1),t.m(r.parentNode,r))},i(s){n||(U(t),n=!0)},o(s){K(t),n=!1},d(s){a[e].d(s),s&&E(r)}}}function Dn(i,e,t){let{width:r=320}=e,{size:n=1}=e,{count:o=3}=e,{type:a}=e;return i.$$set=l=>{"width"in l&&t(0,r=l.width),"size"in l&&t(1,n=l.size),"count"in l&&t(2,o=l.count),"type"in l&&t(3,a=l.type)},[r,n,o,a]}class ae extends N{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-3,.text-4{width:100%;height:.75rem;border-radius:0.25rem;margin:6px 0}.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:12px 0;border-radius:0.25rem}.header-2{width:60%;height:20px;margin:14px 0;border-radius:0.25rem}.header-3{width:70%;height:22px;margin:16px 0;border-radius:0.25rem}.header-4{width:80%;height:24px;margin:18px 0;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>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Dn,Bn,G,{width:0,size:1,count:2,type:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["width","size","count","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 count(){return this.$$.ctx[2]}set count(e){this.$$set({count:e}),h()}get type(){return this.$$.ctx[3]}set type(e){this.$$set({type:e}),h()}}customElements.define("goa-skeleton",ae);function Ai(i){return Object.prototype.toString.call(i)==="[object Date]"}function Ke(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((n,o)=>Ke(i[o],n));return n=>r.map(o=>o(n))}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 o=e-i;return a=>new Date(i+a*o)}const r=Object.keys(e),n={};return r.forEach(o=>{n[o]=Ke(i[o],e[o])}),o=>{const a={};return r.forEach(l=>{a[l]=n[l](o)}),a}}if(t==="number"){const r=e-i;return n=>i+n*r}throw new Error(`Cannot interpolate ${t} values`)}function Gn(i,e={}){const t=Tt(i);let r,n=i;function o(a,l){if(i==null)return t.set(i=a),Promise.resolve();n=a;let s=r,c=!1,{delay:d=0,duration:f=400,easing:g=_e,interpolate:y=Ke}=Xe(Xe({},e),l);if(f===0)return s&&(s.abort(),s=null),t.set(i=n),Promise.resolve();const w=Te()+d;let _;return r=Re(A=>{if(A<w)return!0;c||(_=y(i,a),typeof f=="function"&&(f=f(i,a)),c=!0),s&&(s.abort(),s=null);const k=A-w;return k>f?(t.set(i=a),!1):(t.set(i=_(g(k/f))),!0)}),r.promise}return{set:o,update:(a,l)=>o(a(n,i),l),subscribe:t.subscribe}}function Li(i){let e,t,r,n,o,a,l,s,c;return{c(){e=ue("svg"),t=ue("circle"),o=ue("path"),u(t,"cx",i[3]),u(t,"cy",i[3]),u(t,"stroke",r=i[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),u(t,"stroke-width",i[4]),u(t,"r",n=i[3]-i[4]/2),u(o,"d",a=i[9](i[7])),u(o,"stroke-width",i[4]),u(o,"stroke",l=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),u(o,"stroke-linecap","round"),u(e,"class",s=`spinner-${i[2]}`),u(e,"fill","none"),u(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),u(e,"width",i[5]),u(e,"height",i[5]),u(e,"data-testid",i[1]),u(e,"xmlns","http://www.w3.org/2000/svg")},m(d,f){p(d,e,f),m(e,t),m(e,o)},p(d,f){f&8&&u(t,"cx",d[3]),f&8&&u(t,"cy",d[3]),f&1&&r!==(r=d[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&u(t,"stroke",r),f&16&&u(t,"stroke-width",d[4]),f&24&&n!==(n=d[3]-d[4]/2)&&u(t,"r",n),f&128&&a!==(a=d[9](d[7]))&&u(o,"d",a),f&16&&u(o,"stroke-width",d[4]),f&1&&l!==(l=d[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&u(o,"stroke",l),f&4&&s!==(s=`spinner-${d[2]}`)&&u(e,"class",s),f&32&&c!==(c="0 0 "+d[5]+" "+d[5])&&u(e,"viewBox",c),f&32&&u(e,"width",d[5]),f&32&&u(e,"height",d[5]),f&2&&u(e,"data-testid",d[1])},d(d){d&&E(e)}}}function Nn(i){let e,t=i[6]&&Li(i);return{c(){t&&t.c(),e=ie(),this.c=v},m(r,n){t&&t.m(r,n),p(r,e,n)},p(r,[n]){r[6]?t?t.p(r,n):(t=Li(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:v,o:v,d(r){t&&t.d(r),r&&E(e)}}}function Pn(i,e,t){let r,n,o,a,l,s,{size:c}=e,{invert:d=!1}=e,{progress:f=-1}=e,{testid:g=""}=e,y="infinite";const w=Gn(0,{duration:500,easing:fn});Yi(i,w,k=>t(7,s=k));function _(k){const M=o+a*Math.cos(k),z=o+a*Math.sin(k);return M+" "+z}function A(k){switch(y){case"progress":{const M=_(-Math.PI/2),z=_(-Math.PI/2+2*Math.PI*(k/100)),x=k%100<50?0:1;return`M ${M} A ${a} ${a} 0 ${x} 1 ${z}`}case"infinite":{const M=_(Math.PI*1.5),z=_(0);return`M ${M} A ${a} ${a} 0 1 0 ${z}`}}}return i.$$set=k=>{"size"in k&&t(10,c=k.size),"invert"in k&&t(0,d=k.invert),"progress"in k&&t(11,f=k.progress),"testid"in k&&t(1,g=k.testid)},i.$$.update=()=>{if(i.$$.dirty&2048){const k=parseFloat(f+"");k>=0&&(w.set(k||1),t(2,y="progress"))}i.$$.dirty&1024&&t(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,n=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,o=r/2),i.$$.dirty&24&&t(12,a=o-n/2),i.$$.dirty&6148&&t(6,l=y==="infinite"?a:a&&f)},[d,g,y,o,n,r,l,s,w,A,c,f,a]}class Ti extends N{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>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Pn,Nn,G,{size:10,invert:0,progress:11,testid:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["size","invert","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 progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),h()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-spinner",Ti);function Ri(i){let e;function t(o,a){if(o[7]>0)return jn;if(o[1].length>0)return On}let r=t(i),n=r&&r(i);return{c(){n&&n.c(),e=ie()},m(o,a){n&&n.m(o,a),p(o,e,a)},p(o,a){r===(r=t(o))&&n?n.p(o,a):(n&&n.d(1),n=r&&r(o),n&&(n.c(),n.m(e.parentNode,e)))},d(o){n&&n.d(o),o&&E(e)}}}function On(i){let e,t=i[1].length+"",r;return{c(){e=b("div"),r=j(t),u(e,"class","counter")},m(n,o){p(n,e,o),m(e,r)},p(n,o){o&2&&t!==(t=n[1].length+"")&&V(r,t)},d(n){n&&E(e)}}}function jn(i){let e,t=i[1].length+"",r,n=`/${i[7]}`,o;return{c(){e=b("div"),r=j(t),o=j(n),u(e,"class","counter"),B(e,"counter-error",i[1].length>i[7])},m(a,l){p(a,e,l),m(e,r),m(e,o)},p(a,l){l&2&&t!==(t=a[1].length+"")&&V(r,t),l&128&&n!==(n=`/${a[7]}`)&&V(o,n),l&130&&B(e,"counter-error",a[1].length>a[7])},d(a){a&&E(e)}}}function Fn(i){let e,t,r,n,o,a,l,s=i[9]&&Ri(i);return{c(){e=b("div"),t=b("textarea"),n=R(),s&&s.c(),this.c=v,u(t,"name",i[0]),u(t,"placeholder",i[2]),t.value=i[1],u(t,"rows",i[3]),u(t,"aria-label",r=i[6]||i[0]),u(t,"class","goa-textarea"),t.disabled=i[8],t.readOnly=i[10],u(t,"data-testid",i[4]),B(t,"error",i[11]),u(e,"class","container"),u(e,"style",o=`
|
|
53
|
+
`)&&u(e,"style",r)},i:v,o:v,d(n){n&&E(e)}}}function An(i,e,t){let{direction:r="vertical"}=e,{hpadding:n=0}=e,{vpadding:o=0}=e,{height:a=0}=e;return i.$$set=l=>{"direction"in l&&t(0,r=l.direction),"hpadding"in l&&t(1,n=l.hpadding),"vpadding"in l&&t(2,o=l.vpadding),"height"in l&&t(3,a=l.height)},[r,n,o,a]}class wi extends N{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>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},An,Mn,G,{direction:0,hpadding:1,vpadding:2,height:3},null),e&&(e.target&&p(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",wi);function _i(i){let e,t,r;return{c(){e=b("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=R(),r=b("div"),r.innerHTML='An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>',u(e,"class","service-level service-level--live"),u(r,"data-testid","type"),u(r,"class","site-text")},m(n,o){p(n,e,o),p(n,t,o),p(n,r,o)},d(n){n&&E(e),n&&E(t),n&&E(r)}}}function yi(i){let e,t=Ei(i[0])+"",r,n,o,a,l,s,c,d=i[2]&&ki(i);return{c(){e=b("div"),r=O(t),o=R(),a=b("div"),l=O("This is a new "),s=b("a"),s.textContent="Alberta Government",c=O(` service
|
|
54
|
+
`),d&&d.c(),u(e,"data-testid","type"),u(e,"class",n="service-level service-level--"+i[0].toLowerCase()),u(s,"href","https://www.alberta.ca/index.aspx"),u(a,"data-testid","site-text"),u(a,"class","site-text")},m(f,g){p(f,e,g),m(e,r),p(f,o,g),p(f,a,g),m(a,l),m(a,s),m(a,c),d&&d.m(a,null)},p(f,g){g&1&&t!==(t=Ei(f[0])+"")&&V(r,t),g&1&&n!==(n="service-level service-level--"+f[0].toLowerCase())&&u(e,"class",n),f[2]?d?d.p(f,g):(d=ki(f),d.c(),d.m(a,null)):d&&(d.d(1),d=null)},d(f){f&&E(e),f&&E(o),f&&E(a),d&&d.d()}}}function ki(i){let e,t,r,n;return{c(){e=b("span"),t=O("\u2014 help us improve it by giving "),r=b("a"),n=O("feedback"),u(r,"href",i[2]),u(e,"data-testid","feedback")},m(o,a){p(o,e,a),m(e,t),m(e,r),m(r,n)},p(o,a){a&4&&u(r,"href",o[2])},d(o){o&&E(e)}}}function xi(i){let e,t;return{c(){e=b("div"),t=O(i[1]),u(e,"data-testid","version"),u(e,"class","version")},m(r,n){p(r,e,n),m(e,t)},p(r,n){n&2&&V(t,r[1])},d(r){r&&E(e)}}}function Ln(i){let e,t,r=["alpha","beta"].includes(i[0]),n,o,a,l=i[0]==="live"&&_i(),s=r&&yi(i),c=i[1]&&xi(i);return{c(){e=b("header"),l&&l.c(),t=R(),s&&s.c(),n=R(),o=b("div"),a=R(),c&&c.c(),this.c=v,u(o,"class","spacer"),u(e,"class","goa-official-site-header")},m(d,f){p(d,e,f),l&&l.m(e,null),m(e,t),s&&s.m(e,null),m(e,n),m(e,o),m(e,a),c&&c.m(e,null)},p(d,[f]){d[0]==="live"?l||(l=_i(),l.c(),l.m(e,t)):l&&(l.d(1),l=null),f&1&&(r=["alpha","beta"].includes(d[0])),r?s?s.p(d,f):(s=yi(d),s.c(),s.m(e,n)):s&&(s.d(1),s=null),d[1]?c?c.p(d,f):(c=xi(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:v,o:v,d(d){d&&E(e),l&&l.d(),s&&s.d(),c&&c.d()}}}function Ei(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function Tn(i,e,t){let{type:r}=e,{version:n}=e,{feedbackurl:o}=e;return i.$$set=a=>{"type"in a&&t(0,r=a.type),"version"in a&&t(1,n=a.version),"feedbackurl"in a&&t(2,o=a.feedbackurl)},[r,n,o]}class Ci extends N{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-sm);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;padding:0.5rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-type{font-weight:bold;padding:0.25rem;display:flex;margin-right:1rem;line-height:initial}.service-type--alpha{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.service-type--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-type--live{padding:0}.site-text{color:var(--goa-color-text);line-height:1.25rem}</style>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Tn,Ln,G,{type:0,version:1,feedbackurl:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","version","feedbackurl"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type: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",Ci);function zi(i,e,t){const r=i.slice();return r[4]=e[t],r}function Rn(i){let e,t;return{c(){e=b("div"),u(e,"class",t="skeleton "+i[3]+` ${i[3]}-${i[1]}`)},m(r,n){p(r,e,n)},p(r,n){n&10&&t!==(t="skeleton "+r[3]+` ${r[3]}-${r[1]}`)&&u(e,"class",t)},i:v,o:v,d(r){r&&E(e)}}}function Hn(i){let e,t,r=Array(i[2]),n=[];for(let a=0;a<r.length;a+=1)n[a]=Mi(zi(i,r,a));const o=a=>K(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;a<n.length;a+=1)n[a].c();e=ie()},m(a,l){for(let s=0;s<n.length;s+=1)n[s].m(a,l);p(a,e,l),t=!0},p(a,l){if(l&6){r=Array(a[2]);let s;for(s=0;s<r.length;s+=1){const c=zi(a,r,s);n[s]?(n[s].p(c,l),U(n[s],1)):(n[s]=Mi(c),n[s].c(),U(n[s],1),n[s].m(e.parentNode,e))}for(me(),s=r.length;s<n.length;s+=1)o(s);be()}},i(a){if(!t){for(let l=0;l<r.length;l+=1)U(n[l]);t=!0}},o(a){n=n.filter(Boolean);for(let l=0;l<n.length;l+=1)K(n[l]);t=!1},d(a){qe(n,a),a&&E(e)}}}function Sn(i){let e,t,r,n,o,a,l,s,c,d;return r=new ae({props:{type:"avatar",size:i[1]}}),a=new ae({props:{type:"title",size:i[1]}}),s=new ae({props:{type:"text-small",size:i[1]}}),{c(){e=b("div"),t=b("div"),he(r.$$.fragment),n=R(),o=b("div"),he(a.$$.fragment),l=R(),he(s.$$.fragment),u(t,"class","profile-avatar"),u(o,"class","profile-name"),u(e,"class",c="profile profile-"+i[1])},m(f,g){p(f,e,g),m(e,t),le(r,t,null),m(e,n),m(e,o),le(a,o,null),m(o,l),le(s,o,null),d=!0},p(f,g){const y={};g&2&&(y.size=f[1]),r.$set(y);const w={};g&2&&(w.size=f[1]),a.$set(w);const _={};g&2&&(_.size=f[1]),s.$set(_),(!d||g&2&&c!==(c="profile profile-"+f[1]))&&u(e,"class",c)},i(f){d||(U(r.$$.fragment,f),U(a.$$.fragment,f),U(s.$$.fragment,f),d=!0)},o(f){K(r.$$.fragment,f),K(a.$$.fragment,f),K(s.$$.fragment,f),d=!1},d(f){f&&E(e),se(r),se(a),se(s)}}}function In(i){let e,t,r,n,o,a,l,s,c;return t=new ae({props:{type:"image",size:i[1]}}),o=new ae({props:{type:"header",size:i[1]}}),l=new ae({props:{type:"lines",size:i[1],count:3}}),{c(){e=b("div"),he(t.$$.fragment),r=R(),n=b("div"),he(o.$$.fragment),a=R(),he(l.$$.fragment),u(n,"class","card-content"),u(e,"class",s="card card-"+i[1]),q(e,"--width",i[0]+"px")},m(d,f){p(d,e,f),le(t,e,null),m(e,r),m(e,n),le(o,n,null),m(n,a),le(l,n,null),c=!0},p(d,f){const g={};f&2&&(g.size=d[1]),t.$set(g);const y={};f&2&&(y.size=d[1]),o.$set(y);const w={};f&2&&(w.size=d[1]),l.$set(w),(!c||f&2&&s!==(s="card card-"+d[1]))&&u(e,"class",s),(!c||f&1)&&q(e,"--width",d[0]+"px")},i(d){c||(U(t.$$.fragment,d),U(o.$$.fragment,d),U(l.$$.fragment,d),c=!0)},o(d){K(t.$$.fragment,d),K(o.$$.fragment,d),K(l.$$.fragment,d),c=!1},d(d){d&&E(e),se(t),se(o),se(l)}}}function Mi(i){let e,t;return e=new ae({props:{type:"text",size:i[1],count:i[2]}}),{c(){he(e.$$.fragment)},m(r,n){le(e,r,n),t=!0},p(r,n){const o={};n&2&&(o.size=r[1]),n&4&&(o.count=r[2]),e.$set(o)},i(r){t||(U(e.$$.fragment,r),t=!0)},o(r){K(e.$$.fragment,r),t=!1},d(r){se(e,r)}}}function Bn(i){let e,t,r,n;const o=[In,Sn,Hn,Rn],a=[];function l(s,c){return s[3]==="card"?0:s[3]==="profile"?1:s[3]==="lines"?2:3}return e=l(i),t=a[e]=o[e](i),{c(){t.c(),r=ie(),this.c=v},m(s,c){a[e].m(s,c),p(s,r,c),n=!0},p(s,[c]){let d=e;e=l(s),e===d?a[e].p(s,c):(me(),K(a[d],1,1,()=>{a[d]=null}),be(),t=a[e],t?t.p(s,c):(t=a[e]=o[e](s),t.c()),U(t,1),t.m(r.parentNode,r))},i(s){n||(U(t),n=!0)},o(s){K(t),n=!1},d(s){a[e].d(s),s&&E(r)}}}function Dn(i,e,t){let{width:r=320}=e,{size:n=1}=e,{count:o=3}=e,{type:a}=e;return i.$$set=l=>{"width"in l&&t(0,r=l.width),"size"in l&&t(1,n=l.size),"count"in l&&t(2,o=l.count),"type"in l&&t(3,a=l.type)},[r,n,o,a]}class ae extends N{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-3,.text-4{width:100%;height:.75rem;border-radius:0.25rem;margin:6px 0}.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:12px 0;border-radius:0.25rem}.header-2{width:60%;height:20px;margin:14px 0;border-radius:0.25rem}.header-3{width:70%;height:22px;margin:16px 0;border-radius:0.25rem}.header-4{width:80%;height:24px;margin:18px 0;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>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Dn,Bn,G,{width:0,size:1,count:2,type:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["width","size","count","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 count(){return this.$$.ctx[2]}set count(e){this.$$set({count:e}),h()}get type(){return this.$$.ctx[3]}set type(e){this.$$set({type:e}),h()}}customElements.define("goa-skeleton",ae);function Ai(i){return Object.prototype.toString.call(i)==="[object Date]"}function Ke(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((n,o)=>Ke(i[o],n));return n=>r.map(o=>o(n))}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 o=e-i;return a=>new Date(i+a*o)}const r=Object.keys(e),n={};return r.forEach(o=>{n[o]=Ke(i[o],e[o])}),o=>{const a={};return r.forEach(l=>{a[l]=n[l](o)}),a}}if(t==="number"){const r=e-i;return n=>i+n*r}throw new Error(`Cannot interpolate ${t} values`)}function Gn(i,e={}){const t=Tt(i);let r,n=i;function o(a,l){if(i==null)return t.set(i=a),Promise.resolve();n=a;let s=r,c=!1,{delay:d=0,duration:f=400,easing:g=_e,interpolate:y=Ke}=Xe(Xe({},e),l);if(f===0)return s&&(s.abort(),s=null),t.set(i=n),Promise.resolve();const w=Te()+d;let _;return r=Re(A=>{if(A<w)return!0;c||(_=y(i,a),typeof f=="function"&&(f=f(i,a)),c=!0),s&&(s.abort(),s=null);const k=A-w;return k>f?(t.set(i=a),!1):(t.set(i=_(g(k/f))),!0)}),r.promise}return{set:o,update:(a,l)=>o(a(n,i),l),subscribe:t.subscribe}}function Li(i){let e,t,r,n,o,a,l,s,c;return{c(){e=ue("svg"),t=ue("circle"),o=ue("path"),u(t,"cx",i[3]),u(t,"cy",i[3]),u(t,"stroke",r=i[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),u(t,"stroke-width",i[4]),u(t,"r",n=i[3]-i[4]/2),u(o,"d",a=i[9](i[7])),u(o,"stroke-width",i[4]),u(o,"stroke",l=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),u(o,"stroke-linecap","round"),u(e,"class",s=`spinner-${i[2]}`),u(e,"fill","none"),u(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),u(e,"width",i[5]),u(e,"height",i[5]),u(e,"data-testid",i[1]),u(e,"xmlns","http://www.w3.org/2000/svg")},m(d,f){p(d,e,f),m(e,t),m(e,o)},p(d,f){f&8&&u(t,"cx",d[3]),f&8&&u(t,"cy",d[3]),f&1&&r!==(r=d[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&u(t,"stroke",r),f&16&&u(t,"stroke-width",d[4]),f&24&&n!==(n=d[3]-d[4]/2)&&u(t,"r",n),f&128&&a!==(a=d[9](d[7]))&&u(o,"d",a),f&16&&u(o,"stroke-width",d[4]),f&1&&l!==(l=d[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&u(o,"stroke",l),f&4&&s!==(s=`spinner-${d[2]}`)&&u(e,"class",s),f&32&&c!==(c="0 0 "+d[5]+" "+d[5])&&u(e,"viewBox",c),f&32&&u(e,"width",d[5]),f&32&&u(e,"height",d[5]),f&2&&u(e,"data-testid",d[1])},d(d){d&&E(e)}}}function Nn(i){let e,t=i[6]&&Li(i);return{c(){t&&t.c(),e=ie(),this.c=v},m(r,n){t&&t.m(r,n),p(r,e,n)},p(r,[n]){r[6]?t?t.p(r,n):(t=Li(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:v,o:v,d(r){t&&t.d(r),r&&E(e)}}}function Pn(i,e,t){let r,n,o,a,l,s,{size:c}=e,{invert:d=!1}=e,{progress:f=-1}=e,{testid:g=""}=e,y="infinite";const w=Gn(0,{duration:500,easing:fn});Yi(i,w,k=>t(7,s=k));function _(k){const M=o+a*Math.cos(k),z=o+a*Math.sin(k);return M+" "+z}function A(k){switch(y){case"progress":{const M=_(-Math.PI/2),z=_(-Math.PI/2+2*Math.PI*(k/100)),x=k%100<50?0:1;return`M ${M} A ${a} ${a} 0 ${x} 1 ${z}`}case"infinite":{const M=_(Math.PI*1.5),z=_(0);return`M ${M} A ${a} ${a} 0 1 0 ${z}`}}}return i.$$set=k=>{"size"in k&&t(10,c=k.size),"invert"in k&&t(0,d=k.invert),"progress"in k&&t(11,f=k.progress),"testid"in k&&t(1,g=k.testid)},i.$$.update=()=>{if(i.$$.dirty&2048){const k=parseFloat(f+"");k>=0&&(w.set(k||1),t(2,y="progress"))}i.$$.dirty&1024&&t(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,n=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,o=r/2),i.$$.dirty&24&&t(12,a=o-n/2),i.$$.dirty&6148&&t(6,l=y==="infinite"?a:a&&f)},[d,g,y,o,n,r,l,s,w,A,c,f,a]}class Ti extends N{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>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Pn,Nn,G,{size:10,invert:0,progress:11,testid:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["size","invert","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 progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),h()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-spinner",Ti);function Ri(i){let e;function t(o,a){if(o[7]>0)return On;if(o[1].length>0)return jn}let r=t(i),n=r&&r(i);return{c(){n&&n.c(),e=ie()},m(o,a){n&&n.m(o,a),p(o,e,a)},p(o,a){r===(r=t(o))&&n?n.p(o,a):(n&&n.d(1),n=r&&r(o),n&&(n.c(),n.m(e.parentNode,e)))},d(o){n&&n.d(o),o&&E(e)}}}function jn(i){let e,t=i[1].length+"",r;return{c(){e=b("div"),r=O(t),u(e,"class","counter")},m(n,o){p(n,e,o),m(e,r)},p(n,o){o&2&&t!==(t=n[1].length+"")&&V(r,t)},d(n){n&&E(e)}}}function On(i){let e,t=i[1].length+"",r,n=`/${i[7]}`,o;return{c(){e=b("div"),r=O(t),o=O(n),u(e,"class","counter"),B(e,"counter-error",i[1].length>i[7])},m(a,l){p(a,e,l),m(e,r),m(e,o)},p(a,l){l&2&&t!==(t=a[1].length+"")&&V(r,t),l&128&&n!==(n=`/${a[7]}`)&&V(o,n),l&130&&B(e,"counter-error",a[1].length>a[7])},d(a){a&&E(e)}}}function Fn(i){let e,t,r,n,o,a,l,s=i[9]&&Ri(i);return{c(){e=b("div"),t=b("textarea"),n=R(),s&&s.c(),this.c=v,u(t,"name",i[0]),u(t,"placeholder",i[2]),t.value=i[1],u(t,"rows",i[3]),u(t,"aria-label",r=i[6]||i[0]),u(t,"class","goa-textarea"),t.disabled=i[8],t.readOnly=i[10],u(t,"data-testid",i[4]),B(t,"error",i[11]),u(e,"class","container"),u(e,"style",o=`
|
|
55
55
|
--width: ${i[5]};
|
|
56
56
|
`)},m(c,d){p(c,e,d),m(e,t),m(e,n),s&&s.m(e,null),a||(l=Z(t,"keyup",i[12]),a=!0)},p(c,[d]){d&1&&u(t,"name",c[0]),d&4&&u(t,"placeholder",c[2]),d&2&&(t.value=c[1]),d&8&&u(t,"rows",c[3]),d&65&&r!==(r=c[6]||c[0])&&u(t,"aria-label",r),d&256&&(t.disabled=c[8]),d&1024&&(t.readOnly=c[10]),d&16&&u(t,"data-testid",c[4]),d&2048&&B(t,"error",c[11]),c[9]?s?s.p(c,d):(s=Ri(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),d&32&&o!==(o=`
|
|
57
57
|
--width: ${c[5]};
|
|
58
58
|
`)&&u(e,"style",o)},i:v,o:v,d(c){c&&E(e),s&&s.d(),a=!1,l()}}}function qn(i,e,t){let r,n,o,a,{name:l}=e,{value:s=""}=e,{placeholder:c=""}=e,{rows:d=3}=e,{testid:f=""}=e,{width:g="60ch"}=e,{error:y="false"}=e,{readonly:w="false"}=e,{disabled:_="false"}=e,{arialabel:A=""}=e,{showcounter:k="false"}=e,{maxcharcount:M=0}=e;function z(x){const L=x.target.value;n||(x.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:x,name:l,value:L}})),x.stopPropagation())}return i.$$set=x=>{"name"in x&&t(0,l=x.name),"value"in x&&t(1,s=x.value),"placeholder"in x&&t(2,c=x.placeholder),"rows"in x&&t(3,d=x.rows),"testid"in x&&t(4,f=x.testid),"width"in x&&t(5,g=x.width),"error"in x&&t(13,y=x.error),"readonly"in x&&t(14,w=x.readonly),"disabled"in x&&t(15,_=x.disabled),"arialabel"in x&&t(6,A=x.arialabel),"showcounter"in x&&t(16,k=x.showcounter),"maxcharcount"in x&&t(7,M=x.maxcharcount)},i.$$.update=()=>{i.$$.dirty&8192&&t(11,r=F(y)),i.$$.dirty&32768&&t(8,n=F(_)),i.$$.dirty&16384&&t(10,o=F(w)),i.$$.dirty&65536&&t(9,a=F(k))},[l,s,c,d,f,g,A,M,n,a,o,r,z,y,w,_,k]}class Hi extends N{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.container{position:relative;width:100%}@media(min-width: 640px){.container{max-width:var(--width)}}.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(--textarea-padding-vertical, 0.5rem) var(--textarea-padding-horizontal, 0.5rem);font-size:var(--input-font-size);font-family:var(--font-family);min-width:100%}@media(min-width: 640px){.goa-textarea{min-width:0;width:var(--width)}}.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}.counter{position:absolute;right:0;padding-top:0.25rem;font-size:var(--fs-sm)}.counter-error{color:var(--goa-color-interactive--error)
|
|
59
|
-
}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}</style>`,
|
|
59
|
+
}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}</style>`,j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},qn,Fn,G,{name:0,value:1,placeholder:2,rows:3,testid:4,width:5,error:13,readonly:14,disabled:15,arialabel:6,showcounter:16,maxcharcount:7},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","placeholder","rows","testid","width","error","readonly","disabled","arialabel","showcounter","maxcharcount"]}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 width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),h()}get error(){return this.$$.ctx[13]}set error(e){this.$$set({error:e}),h()}get readonly(){return this.$$.ctx[14]}set readonly(e){this.$$set({readonly:e}),h()}get disabled(){return this.$$.ctx[15]}set disabled(e){this.$$set({disabled:e}),h()}get arialabel(){return this.$$.ctx[6]}set arialabel(e){this.$$set({arialabel:e}),h()}get showcounter(){return this.$$.ctx[16]}set showcounter(e){this.$$set({showcounter:e}),h()}get maxcharcount(){return this.$$.ctx[7]}set maxcharcount(e){this.$$set({maxcharcount:e}),h()}}customElements.define("goa-textarea",Hi);function Vn(i){let e;return{c(){e=b("div"),e.innerHTML=`<slot></slot>
|
|
60
60
|
|
|
61
|
-
<span tabindex="0"></span>`,this.c=v},m(t,r){p(t,e,r),i[4](e)},p:v,i:v,o:v,d(t){t&&E(e),i[4](null)}}}function Wn(i){if(i.tabIndex>0||i.tabIndex===0&&i.getAttribute("tabIndex")!==null)return!0;if(i.disabled)return!1;switch(i.nodeName){case"A":return!!i.href&&i.rel!=="ignore";case"INPUT":return i.type!=="hidden"&&i.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}function Un(i,e,t){let r,{active:n}=e,o=!1,a,l,s=!1;function c(){document.removeEventListener("focus",M,!0)}function d(){document.addEventListener("focus",M,!0)}function f(x){if(!x)return!1;for(const T of x)if(k(T)||f(T.childNodes)||g(T)||y(T))return!0;return!1}function g(x){if(!(x instanceof HTMLSlotElement))return!1;if(f(x.assignedNodes()))return!0}function y(x){var T;if(!(x instanceof HTMLElement))return!1;if(f((T=x.shadowRoot)===null||T===void 0?void 0:T.childNodes))return!0}function w(x){if(!x)return!1;for(let T=x.length-1;T>=0;T--){let L=x[T];if(k(L)||w(L.childNodes)||_(L)||A(L))return!0}return!1}function _(x){if(!(x instanceof HTMLSlotElement))return!1;if(w(x.assignedNodes()))return!0}function A(x){var T;if(!(x instanceof HTMLElement))return!1;if(w((T=x.shadowRoot)===null||T===void 0?void 0:T.childNodes))return!0}function k(x){if(!Wn(x))return!1;try{o=!0,x.focus()}catch{}finally{o=!1}return document.activeElement===x}function M(x){var T;if(o)return;const L=(T=l.firstChild)===null||T===void 0?void 0:T.assignedElements();if(!(L==null?void 0:L.length))return;const I=L[0];if(x.composedPath().includes(I)){a=x.target;return}f(I.childNodes),a==document.activeElement&&w(I.childNodes),a=document.activeElement}function z(x){te[x?"unshift":"push"](()=>{l=x,t(0,l)})}return i.$$set=x=>{"active"in x&&t(1,n=x.active)},i.$$.update=()=>{i.$$.dirty&2&&t(3,r=F(n)),i.$$.dirty&12&&(r&&!s&&(d(),t(2,s=!0)),!r&&s&&(c(),t(2,s=!1)))},[l,n,s,r,z]}class Si extends N{constructor(e){super();
|
|
61
|
+
<span tabindex="0"></span>`,this.c=v},m(t,r){p(t,e,r),i[4](e)},p:v,i:v,o:v,d(t){t&&E(e),i[4](null)}}}function Wn(i){if(i.tabIndex>0||i.tabIndex===0&&i.getAttribute("tabIndex")!==null)return!0;if(i.disabled)return!1;switch(i.nodeName){case"A":return!!i.href&&i.rel!=="ignore";case"INPUT":return i.type!=="hidden"&&i.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}function Un(i,e,t){let r,{active:n}=e,o=!1,a,l,s=!1;function c(){document.removeEventListener("focus",M,!0)}function d(){document.addEventListener("focus",M,!0)}function f(x){if(!x)return!1;for(const T of x)if(k(T)||f(T.childNodes)||g(T)||y(T))return!0;return!1}function g(x){if(!(x instanceof HTMLSlotElement))return!1;if(f(x.assignedNodes()))return!0}function y(x){var T;if(!(x instanceof HTMLElement))return!1;if(f((T=x.shadowRoot)===null||T===void 0?void 0:T.childNodes))return!0}function w(x){if(!x)return!1;for(let T=x.length-1;T>=0;T--){let L=x[T];if(k(L)||w(L.childNodes)||_(L)||A(L))return!0}return!1}function _(x){if(!(x instanceof HTMLSlotElement))return!1;if(w(x.assignedNodes()))return!0}function A(x){var T;if(!(x instanceof HTMLElement))return!1;if(w((T=x.shadowRoot)===null||T===void 0?void 0:T.childNodes))return!0}function k(x){if(!Wn(x))return!1;try{o=!0,x.focus()}catch{}finally{o=!1}return document.activeElement===x}function M(x){var T;if(o)return;const L=(T=l.firstChild)===null||T===void 0?void 0:T.assignedElements();if(!(L==null?void 0:L.length))return;const I=L[0];if(x.composedPath().includes(I)){a=x.target;return}f(I.childNodes),a==document.activeElement&&w(I.childNodes),a=document.activeElement}function z(x){te[x?"unshift":"push"](()=>{l=x,t(0,l)})}return i.$$set=x=>{"active"in x&&t(1,n=x.active)},i.$$.update=()=>{i.$$.dirty&2&&t(3,r=F(n)),i.$$.dirty&12&&(r&&!s&&(d(),t(2,s=!0)),!r&&s&&(c(),t(2,s=!1)))},[l,n,s,r,z]}class Si extends N{constructor(e){super();j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Un,Vn,G,{active:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["active"]}get active(){return this.$$.ctx[1]}set active(e){this.$$set({active:e}),h()}}customElements.define("goa-focus-trap",Si);function Ii(i){let e;return{c(){e=b("goa-divider"),C(e,"spacing","small")},m(t,r){p(t,e,r)},d(t){t&&E(e)}}}function Zn(i){let e,t,r,n,o,a,l,s,c,d,f,g=i[1]?.length&&Ii();return{c(){e=b("div"),t=b("div"),t.innerHTML='<slot name="nav"></slot>',r=R(),g&&g.c(),n=R(),o=b("div"),a=b("div"),a.innerHTML='<slot name="meta"></slot>',l=R(),s=b("div"),c=b("a"),c.innerHTML='<img alt="GoA Logo" class="logo" src="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=R(),f=b("a"),f.textContent=`\xA9 ${i[3]} Government of Alberta`,this.c=v,u(t,"class","nav-links"),u(a,"class","meta-links"),u(c,"href","https://alberta.ca"),u(f,"href","https://alberta.ca"),u(f,"class","goa-copyright"),u(s,"class","abgov"),B(s,"with-meta-links",i[2]?.length),u(o,"class","meta-section"),B(o,"with-meta-links",i[2]?.length),u(e,"class","app-footer")},m(y,w){p(y,e,w),m(e,t),m(e,r),g&&g.m(e,null),m(e,n),m(e,o),m(o,a),m(o,l),m(o,s),m(s,c),m(s,d),m(s,f),i[4](e)},p(y,[w]){y[1]?.length?g||(g=Ii(),g.c(),g.m(e,n)):g&&(g.d(1),g=null),w&4&&B(s,"with-meta-links",y[2]?.length),w&4&&B(o,"with-meta-links",y[2]?.length)},i:v,o:v,d(y){y&&E(e),g&&g.d(),i[4](null)}}}function Kn(i,e,t){let r,n,o;const a=new Date().getFullYear();Q(async()=>{await Ee();const s=r.querySelector("slot[name=nav]"),c=r.querySelector("slot[name=meta]");t(1,n=s.assignedElements()),t(2,o=c.assignedElements())});function l(s){te[s?"unshift":"push"](()=>{r=s,t(0,r)})}return[r,n,o,a,l]}class Xn extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>.app-footer{background-color:var(--color-gray-100);padding:2rem;border-top:2px solid var(--color-gray-200);border-bottom:1rem solid var(--goa-color-brand)}.meta-section{display:flex;flex-direction:column;padding:1rem 0}.meta-section.with-meta-links{gap:2rem;justify-content:space-between}.meta-links{display:none}.with-meta-links .meta-links{display:block}.nav-links{display:flex;flex-direction:column;gap:2rem}.abgov{display:flex;flex-direction:column;justify-content:space-between;width:100%}@media(min-width: 640px){.meta-section{flex-direction:row;gap:2rem}.nav-links{flex-direction:row}.abgov{align-items:center;flex-direction:row-reverse}}.abgov.with-meta-links{gap:1rem;flex-direction:column;width:unset}@media(min-width: 640px){.abgov.with-meta-links{align-items:flex-end}}.goa-copyright{white-space:nowrap}a{color:var(--goa-color-text-secondary)}</style>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Kn,Zn,G,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-app-footer",Xn);function Bi(i,e,t){const r=i.slice();return r[5]=e[t],r}function Di(i){let e,t,r,n;return{c(){e=b("div"),t=O(i[0]),r=R(),n=b("goa-divider"),u(e,"class","title"),C(n,"spacing","small")},m(o,a){p(o,e,a),m(e,t),p(o,r,a),p(o,n,a)},p(o,a){a&1&&V(t,o[0])},d(o){o&&E(e),o&&E(r),o&&E(n)}}}function Gi(i){let e,t,r=i[5].innerHTML+"",n,o;return{c(){e=b("li"),t=b("a"),n=O(r),u(t,"href",o=i[5].href)},m(a,l){p(a,e,l),m(e,t),m(t,n)},p(a,l){l&8&&r!==(r=a[5].innerHTML+"")&&V(n,r),l&8&&o!==(o=a[5].href)&&u(t,"href",o)},d(a){a&&E(e)}}}function Yn(i){let e,t,r,n,o,a,l=i[0]&&Di(i),s=i[3],c=[];for(let d=0;d<s.length;d+=1)c[d]=Gi(Bi(i,s,d));return{c(){e=b("section"),l&&l.c(),t=R(),r=b("div"),r.innerHTML="<slot></slot>",n=R(),o=b("ul");for(let d=0;d<c.length;d+=1)c[d].c();this.c=v,u(r,"class","hidden"),u(o,"class","links"),u(o,"style",a=`
|
|
62
62
|
--narrow-display-type: ${Math.ceil(i[1]/2)>1?"block":"flex"};
|
|
63
63
|
--narrow-column-count: ${Math.ceil(i[1]/2)};
|
|
64
64
|
--wide-display-type: ${i[1]>1?"block":"flex"};
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
:host {
|
|
73
73
|
flex-grow: ${n};
|
|
74
74
|
}
|
|
75
|
-
`,o.appendChild(c)});function l(s){te[s?"unshift":"push"](()=>{o=s,t(2,o)})}return i.$$set=s=>{"name"in s&&t(0,r=s.name),"maxcolumncount"in s&&t(1,n=s.maxcolumncount)},[r,n,o,a,l]}class Qn extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{flex:auto}.title{font-size:var(--fs-xl);line-height:var(--lh-lg)}.hidden{display:none}.links{display:block;list-style-type:none;padding-left:0}@media(min-width: 720px){.links{display:var(--narrow-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--narrow-column-count)}}@media(min-width: 1024px){.links{display:var(--wide-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--wide-column-count)}}li{padding:0.75rem 0}a{color:var(--goa-color-text)}</style>",
|
|
75
|
+
`,o.appendChild(c)});function l(s){te[s?"unshift":"push"](()=>{o=s,t(2,o)})}return i.$$set=s=>{"name"in s&&t(0,r=s.name),"maxcolumncount"in s&&t(1,n=s.maxcolumncount)},[r,n,o,a,l]}class Qn extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{flex:auto}.title{font-size:var(--fs-xl);line-height:var(--lh-lg)}.hidden{display:none}.links{display:block;list-style-type:none;padding-left:0}@media(min-width: 720px){.links{display:var(--narrow-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--narrow-column-count)}}@media(min-width: 1024px){.links{display:var(--wide-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--wide-column-count)}}li{padding:0.75rem 0}a{color:var(--goa-color-text)}</style>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Jn,Yn,G,{name:0,maxcolumncount:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","maxcolumncount"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get maxcolumncount(){return this.$$.ctx[1]}set maxcolumncount(e){this.$$set({maxcolumncount:e}),h()}}customElements.define("goa-app-footer-nav-section",Qn);function Ni(i,e,t){const r=i.slice();return r[3]=e[t],r}function Pi(i){let e,t,r=i[3].innerHTML+"",n,o;return{c(){e=b("li"),t=b("a"),n=O(r),u(t,"href",o=i[3].href)},m(a,l){p(a,e,l),m(e,t),m(t,n)},p(a,l){l&2&&r!==(r=a[3].innerHTML+"")&&V(n,r),l&2&&o!==(o=a[3].href)&&u(t,"href",o)},d(a){a&&E(e)}}}function $n(i){let e,t,r,n,o=i[1],a=[];for(let l=0;l<o.length;l+=1)a[l]=Pi(Ni(i,o,l));return{c(){e=b("section"),t=b("div"),t.innerHTML="<slot></slot>",r=R(),n=b("ul");for(let l=0;l<a.length;l+=1)a[l].c();this.c=v,u(t,"class","hidden")},m(l,s){p(l,e,s),m(e,t),m(e,r),m(e,n);for(let c=0;c<a.length;c+=1)a[c].m(n,null);i[2](e)},p(l,[s]){if(s&2){o=l[1];let c;for(c=0;c<o.length;c+=1){const d=Ni(l,o,c);a[c]?a[c].p(d,s):(a[c]=Pi(d),a[c].c(),a[c].m(n,null))}for(;c<a.length;c+=1)a[c].d(1);a.length=o.length}},i:v,o:v,d(l){l&&E(e),qe(a,l),i[2](null)}}}function eo(i,e,t){let r,n=[];Q(async()=>{if(await Ee(),t(1,n=r.querySelector("slot").assignedElements()),!n.map(l=>l.hasAttribute("href")).reduce((l,s)=>l&&s,!0)){t(1,n=[]),console.warn("GoAFooterMetaSection children must be anchor elements.");return}});function o(a){te[a?"unshift":"push"](()=>{r=a,t(0,r)})}return[r,n,o]}class to extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>.hidden{display:none}ul{display:flex;flex-wrap:wrap;gap:1rem;padding-left:0}li{list-style-type:none}a{color:var(--goa-color-text);white-space:nowrap}</style>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},eo,$n,G,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-app-footer-meta-section",to);function io(i){let e,t;return{c(){e=b("div"),t=b("slot"),this.c=v,u(e,"class","goa-flex-col"),q(e,"gap",i[0])},m(r,n){p(r,e,n),m(e,t)},p(r,[n]){n&1&&q(e,"gap",r[0])},i:v,o:v,d(r){r&&E(e)}}}function ro(i,e,t){let r,{gap:n=""}=e;return i.$$set=o=>{"gap"in o&&t(1,n=o.gap)},i.$$.update=()=>{i.$$.dirty&2&&t(0,r=n==="small"?"1rem":n==="medium"?"2rem":n==="large"?"3rem":"0")},[r,n]}class no extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);margin-bottom:3rem}.goa-flex-col{display:flex;flex-direction:column;gap:var(--gap)}</style>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},ro,io,G,{gap:1},null),e&&(e.target&&p(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-col",no);function oo(i){let e;return{c(){e=b("div"),e.innerHTML=`<header class="header"><slot name="header"></slot></header>
|
|
76
76
|
|
|
77
77
|
<nav class="nav"><slot name="nav"></slot></nav>
|
|
78
78
|
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
"nav"
|
|
84
84
|
"footer";display:grid;place-content:stretch stretch;gap:0 0}@media(min-width: 640px){.page{grid-template-columns:300px auto;grid-template-rows:min-content auto min-content;grid-template-areas:"header header"
|
|
85
85
|
"nav content"
|
|
86
|
-
"footer footer"}}.header{grid-area:header}.footer{grid-area:footer}main{grid-area:content;justify-self:stretch;padding:1rem}.nav{grid-area:nav;padding:1rem;background-color:var(--color-gray-100)}</style>`,
|
|
86
|
+
"footer footer"}}.header{grid-area:header}.footer{grid-area:footer}main{grid-area:content;justify-self:stretch;padding:1rem}.nav{grid-area:nav;padding:1rem;background-color:var(--color-gray-100)}</style>`,j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,oo,G,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-layout-full-nav",ao);function ji(i){let e,t;return{c(){e=b("div"),t=O(i[0]),u(e,"slot","title"),u(e,"class","title")},m(r,n){p(r,e,n),m(e,t)},p(r,n){n&1&&V(t,r[0])},d(r){r&&E(e)}}}function Oi(i){let e;return{c(){e=b("div"),u(e,"class","actions"),u(e,"slot","actions")},m(t,r){p(t,e,r),e.innerHTML=i[1]},p(t,r){r&2&&(e.innerHTML=t[1])},d(t){t&&E(e)}}}function lo(i){let e,t,r,n,o=i[0]&&ji(i),a=i[1]&&Oi(i);return{c(){e=b("goa-container"),o&&o.c(),t=R(),a&&a.c(),r=R(),n=b("div"),this.c=v,u(n,"class","content"),u(n,"slot",""),C(e,"variant",i[3]),C(e,"headingsize",i[4])},m(l,s){p(l,e,s),o&&o.m(e,null),m(e,t),a&&a.m(e,null),m(e,r),m(e,n),n.innerHTML=i[2]},p(l,[s]){l[0]?o?o.p(l,s):(o=ji(l),o.c(),o.m(e,t)):o&&(o.d(1),o=null),l[1]?a?a.p(l,s):(a=Oi(l),a.c(),a.m(e,r)):a&&(a.d(1),a=null),s&4&&(n.innerHTML=l[2]),s&8&&C(e,"variant",l[3]),s&16&&C(e,"headingsize",l[4])},i:v,o:v,d(l){l&&E(e),o&&o.d(),a&&a.d()}}}function so(i,e,t){let{title:r}=e,{actions:n=""}=e,{content:o}=e,{variant:a="default"}=e,{headingsize:l="large"}=e;return i.$$set=s=>{"title"in s&&t(0,r=s.title),"actions"in s&&t(1,n=s.actions),"content"in s&&t(2,o=s.content),"variant"in s&&t(3,a=s.variant),"headingsize"in s&&t(4,l=s.headingsize)},[r,n,o,a,l]}class Fi extends N{constructor(e){super();j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},so,lo,G,{title:0,actions:1,content:2,variant:3,headingsize:4},null),e&&(e.target&&p(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);function co(i){let e;return{c(){e=b("hr"),this.c=v,q(e,"--spacing",i[0])},m(t,r){p(t,e,r)},p(t,[r]){r&1&&q(e,"--spacing",t[0])},i:v,o:v,d(t){t&&E(e)}}}function uo(i,e,t){let r,{spacing:n=""}=e;const o=["small","medium","large"];function a(l){return o.includes(l)}return Q(()=>{if(!a(n))throw"Invalid spacing"}),i.$$set=l=>{"spacing"in l&&t(1,n=l.spacing)},i.$$.update=()=>{i.$$.dirty&2&&t(0,r={small:"1rem",medium:"2rem",large:"4rem"}[n])},[r,n]}class qi extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>hr{padding:0;margin:var(--spacing) 0;border:none;border-top:1px solid var(--color-gray-200)}</style>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},uo,co,G,{spacing:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["spacing"]}get spacing(){return this.$$.ctx[1]}set spacing(e){this.$$set({spacing:e}),h()}}customElements.define("goa-divider",qi);function fo(i){let e;return{c(){e=b("div"),e.innerHTML=`<section class="header"><slot name="header"></slot></section>
|
|
87
87
|
|
|
88
88
|
<main><slot></slot></main>
|
|
89
89
|
|
|
90
|
-
<section class="footer"><slot name="footer"></slot></section>`,this.c=v,u(e,"class","page")},m(t,r){p(t,e,r)},p:v,i:v,o:v,d(t){t&&E(e)}}}class Vi extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>.page{height:100vh;display:flex;flex-direction:column}.header,.footer{flex:0 0 auto}main{flex:1 1 auto}</style>",
|
|
90
|
+
<section class="footer"><slot name="footer"></slot></section>`,this.c=v,u(e,"class","page")},m(t,r){p(t,e,r)},p:v,i:v,o:v,d(t){t&&E(e)}}}class Vi extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>.page{height:100vh;display:flex;flex-direction:column}.header,.footer{flex:0 0 auto}main{flex:1 1 auto}</style>",j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,fo,G,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-page",Vi),D.ContainerWrapper=Fi,D.Divider=qi,D.GoAAppHeader=ut,D.GoABadge=ht,D.GoAButton=bt,D.GoAButtonGroup=vt,D.GoACallout=wt,D.GoACard=_t,D.GoACardActions=yt,D.GoACardContent=kt,D.GoACardGroup=xt,D.GoACardImage=Et,D.GoACheckbox=Ct,D.GoAChip=At,D.GoACircularProgress=hi,D.GoAContainer=Lt,D.GoADropdown=Pt,D.GoADropdownItem=jt,D.GoAFlexRow=Ot,D.GoAFocusTrap=Si,D.GoAFormItem=Ut,D.GoAHeroBanner=Zt,D.GoAIcon=Xt,D.GoAIconButton=Yt,D.GoAInput=ti,D.GoAMicrositeHeader=Ci,D.GoAModal=li,D.GoANotification=ci,D.GoAPageBlock=dt,D.GoARadioGroup=vi,D.GoARadioItem=pi,D.GoAScrollable=wi,D.GoASkeleton=ae,D.GoASpinner=Ti,D.GoATextArea=Hi,D.Page=Vi,Object.defineProperty(D,"__esModule",{value:!0}),D[Symbol.toStringTag]="Module"});
|