@abgov/web-components 1.0.0-alpha.34 → 1.0.0-alpha.37
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 +85 -67
- package/web-components.umd.js +12 -12
package/package.json
CHANGED
package/web-components.es.js
CHANGED
|
@@ -973,7 +973,7 @@ function fromBoolean(value) {
|
|
|
973
973
|
|
|
974
974
|
/* libs/web-components/src/components/badge/Badge.svelte generated by Svelte v3.44.3 */
|
|
975
975
|
|
|
976
|
-
function create_else_block$
|
|
976
|
+
function create_else_block$2(ctx) {
|
|
977
977
|
let div;
|
|
978
978
|
|
|
979
979
|
return {
|
|
@@ -1047,7 +1047,7 @@ function create_fragment$u(ctx) {
|
|
|
1047
1047
|
|
|
1048
1048
|
function select_block_type(ctx, dirty) {
|
|
1049
1049
|
if (/*showIcon*/ ctx[4]) return create_if_block_1$9;
|
|
1050
|
-
return create_else_block$
|
|
1050
|
+
return create_else_block$2;
|
|
1051
1051
|
}
|
|
1052
1052
|
|
|
1053
1053
|
let current_block_type = select_block_type(ctx);
|
|
@@ -3895,7 +3895,7 @@ function instance$f($$self, $$props, $$invalidate) {
|
|
|
3895
3895
|
class FormItem extends SvelteElement {
|
|
3896
3896
|
constructor(options) {
|
|
3897
3897
|
super();
|
|
3898
|
-
this.shadowRoot.innerHTML = `<style>:host{flex:1 1 auto;box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}label{display:block;font-weight:bold;color
|
|
3898
|
+
this.shadowRoot.innerHTML = `<style>:host{flex:1 1 auto;box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}label{display:block;font-weight:var(--fw-bold);color:var(--goa-color-text);font-size:var(--fs-base);padding:0.5rem 0}label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--fs-sm);color:var(--color-black)}.error-msg{font-size:var(--fs-sm);color:var(--goa-color-status-emergency);margin-bottom:0.25rem}</style>`;
|
|
3899
3899
|
|
|
3900
3900
|
init(
|
|
3901
3901
|
this,
|
|
@@ -4680,6 +4680,7 @@ function create_fragment$c(ctx) {
|
|
|
4680
4680
|
let input_class_value;
|
|
4681
4681
|
let t1;
|
|
4682
4682
|
let t2;
|
|
4683
|
+
let div_style_value;
|
|
4683
4684
|
let div_class_value;
|
|
4684
4685
|
let mounted;
|
|
4685
4686
|
let dispose;
|
|
@@ -4706,7 +4707,7 @@ function create_fragment$c(ctx) {
|
|
|
4706
4707
|
attr(input, "type", /*type*/ ctx[0]);
|
|
4707
4708
|
input.value = /*value*/ ctx[2];
|
|
4708
4709
|
attr(input, "placeholder", /*placeholder*/ ctx[3]);
|
|
4709
|
-
attr(div, "style
|
|
4710
|
+
attr(div, "style", div_style_value = `width: ${/*width*/ ctx[8]};`);
|
|
4710
4711
|
|
|
4711
4712
|
attr(div, "class", div_class_value = `
|
|
4712
4713
|
goa-input ${/*isDisabled*/ ctx[10] ? "goa-input--disabled" : ""}
|
|
@@ -4804,8 +4805,8 @@ function create_fragment$c(ctx) {
|
|
|
4804
4805
|
if_block2 = null;
|
|
4805
4806
|
}
|
|
4806
4807
|
|
|
4807
|
-
if (dirty & /*width*/ 256) {
|
|
4808
|
-
attr(div, "style
|
|
4808
|
+
if (dirty & /*width*/ 256 && div_style_value !== (div_style_value = `width: ${/*width*/ ctx[8]};`)) {
|
|
4809
|
+
attr(div, "style", div_style_value);
|
|
4809
4810
|
}
|
|
4810
4811
|
|
|
4811
4812
|
if (dirty & /*isDisabled, variant, type*/ 1089 && div_class_value !== (div_class_value = `
|
|
@@ -5247,7 +5248,7 @@ function create_if_block$6(ctx) {
|
|
|
5247
5248
|
|
|
5248
5249
|
function select_block_type(ctx, dirty) {
|
|
5249
5250
|
if (/*isScrollable*/ ctx[5]) return create_if_block_1$4;
|
|
5250
|
-
return create_else_block$
|
|
5251
|
+
return create_else_block$1;
|
|
5251
5252
|
}
|
|
5252
5253
|
|
|
5253
5254
|
let current_block_type = select_block_type(ctx);
|
|
@@ -5446,7 +5447,7 @@ function create_if_block_2$2(ctx) {
|
|
|
5446
5447
|
}
|
|
5447
5448
|
|
|
5448
5449
|
// (62:8) {:else}
|
|
5449
|
-
function create_else_block$
|
|
5450
|
+
function create_else_block$1(ctx) {
|
|
5450
5451
|
let div;
|
|
5451
5452
|
|
|
5452
5453
|
return {
|
|
@@ -5964,31 +5965,36 @@ class PageLayout extends SvelteElement {
|
|
|
5964
5965
|
|
|
5965
5966
|
customElements.define("goa-page-layout", PageLayout);
|
|
5966
5967
|
|
|
5967
|
-
/* libs/web-components/src/components/
|
|
5968
|
+
/* libs/web-components/src/components/circular-progress/CircularProgress.svelte generated by Svelte v3.44.3 */
|
|
5968
5969
|
|
|
5969
5970
|
function create_if_block$4(ctx) {
|
|
5970
5971
|
let current_block_type_index;
|
|
5971
5972
|
let if_block;
|
|
5972
5973
|
let if_block_anchor;
|
|
5973
5974
|
let current;
|
|
5974
|
-
const if_block_creators = [create_if_block_1$3,
|
|
5975
|
+
const if_block_creators = [create_if_block_1$3, create_if_block_3$1];
|
|
5975
5976
|
const if_blocks = [];
|
|
5976
5977
|
|
|
5977
5978
|
function select_block_type(ctx, dirty) {
|
|
5978
5979
|
if (/*fullscreen*/ ctx[5]) return 0;
|
|
5979
|
-
return 1;
|
|
5980
|
+
if (/*inline*/ ctx[4]) return 1;
|
|
5981
|
+
return -1;
|
|
5980
5982
|
}
|
|
5981
5983
|
|
|
5982
|
-
current_block_type_index = select_block_type(ctx)
|
|
5983
|
-
|
|
5984
|
+
if (~(current_block_type_index = select_block_type(ctx))) {
|
|
5985
|
+
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
5986
|
+
}
|
|
5984
5987
|
|
|
5985
5988
|
return {
|
|
5986
5989
|
c() {
|
|
5987
|
-
if_block.c();
|
|
5990
|
+
if (if_block) if_block.c();
|
|
5988
5991
|
if_block_anchor = empty();
|
|
5989
5992
|
},
|
|
5990
5993
|
m(target, anchor) {
|
|
5991
|
-
|
|
5994
|
+
if (~current_block_type_index) {
|
|
5995
|
+
if_blocks[current_block_type_index].m(target, anchor);
|
|
5996
|
+
}
|
|
5997
|
+
|
|
5992
5998
|
insert(target, if_block_anchor, anchor);
|
|
5993
5999
|
current = true;
|
|
5994
6000
|
},
|
|
@@ -5997,26 +6003,35 @@ function create_if_block$4(ctx) {
|
|
|
5997
6003
|
current_block_type_index = select_block_type(ctx);
|
|
5998
6004
|
|
|
5999
6005
|
if (current_block_type_index === previous_block_index) {
|
|
6000
|
-
|
|
6006
|
+
if (~current_block_type_index) {
|
|
6007
|
+
if_blocks[current_block_type_index].p(ctx, dirty);
|
|
6008
|
+
}
|
|
6001
6009
|
} else {
|
|
6002
|
-
|
|
6010
|
+
if (if_block) {
|
|
6011
|
+
group_outros();
|
|
6003
6012
|
|
|
6004
|
-
|
|
6005
|
-
|
|
6006
|
-
|
|
6013
|
+
transition_out(if_blocks[previous_block_index], 1, 1, () => {
|
|
6014
|
+
if_blocks[previous_block_index] = null;
|
|
6015
|
+
});
|
|
6007
6016
|
|
|
6008
|
-
|
|
6009
|
-
|
|
6017
|
+
check_outros();
|
|
6018
|
+
}
|
|
6010
6019
|
|
|
6011
|
-
if (
|
|
6012
|
-
if_block = if_blocks[current_block_type_index]
|
|
6013
|
-
|
|
6020
|
+
if (~current_block_type_index) {
|
|
6021
|
+
if_block = if_blocks[current_block_type_index];
|
|
6022
|
+
|
|
6023
|
+
if (!if_block) {
|
|
6024
|
+
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
6025
|
+
if_block.c();
|
|
6026
|
+
} else {
|
|
6027
|
+
if_block.p(ctx, dirty);
|
|
6028
|
+
}
|
|
6029
|
+
|
|
6030
|
+
transition_in(if_block, 1);
|
|
6031
|
+
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
6014
6032
|
} else {
|
|
6015
|
-
if_block
|
|
6033
|
+
if_block = null;
|
|
6016
6034
|
}
|
|
6017
|
-
|
|
6018
|
-
transition_in(if_block, 1);
|
|
6019
|
-
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
6020
6035
|
}
|
|
6021
6036
|
},
|
|
6022
6037
|
i(local) {
|
|
@@ -6029,19 +6044,22 @@ function create_if_block$4(ctx) {
|
|
|
6029
6044
|
current = false;
|
|
6030
6045
|
},
|
|
6031
6046
|
d(detaching) {
|
|
6032
|
-
|
|
6047
|
+
if (~current_block_type_index) {
|
|
6048
|
+
if_blocks[current_block_type_index].d(detaching);
|
|
6049
|
+
}
|
|
6050
|
+
|
|
6033
6051
|
if (detaching) detach(if_block_anchor);
|
|
6034
6052
|
}
|
|
6035
6053
|
};
|
|
6036
6054
|
}
|
|
6037
6055
|
|
|
6038
|
-
// (
|
|
6039
|
-
function
|
|
6056
|
+
// (33:19)
|
|
6057
|
+
function create_if_block_3$1(ctx) {
|
|
6040
6058
|
let div;
|
|
6041
6059
|
let goa_spinner;
|
|
6042
6060
|
let goa_spinner_progress_value;
|
|
6043
6061
|
let t;
|
|
6044
|
-
let if_block = /*message*/ ctx[1] &&
|
|
6062
|
+
let if_block = /*message*/ ctx[1] && create_if_block_4(ctx);
|
|
6045
6063
|
|
|
6046
6064
|
return {
|
|
6047
6065
|
c() {
|
|
@@ -6073,7 +6091,7 @@ function create_else_block$1(ctx) {
|
|
|
6073
6091
|
if (if_block) {
|
|
6074
6092
|
if_block.p(ctx, dirty);
|
|
6075
6093
|
} else {
|
|
6076
|
-
if_block =
|
|
6094
|
+
if_block = create_if_block_4(ctx);
|
|
6077
6095
|
if_block.c();
|
|
6078
6096
|
if_block.m(div, null);
|
|
6079
6097
|
}
|
|
@@ -6095,7 +6113,7 @@ function create_else_block$1(ctx) {
|
|
|
6095
6113
|
};
|
|
6096
6114
|
}
|
|
6097
6115
|
|
|
6098
|
-
// (
|
|
6116
|
+
// (22:2) {#if fullscreen}
|
|
6099
6117
|
function create_if_block_1$3(ctx) {
|
|
6100
6118
|
let div;
|
|
6101
6119
|
let goa_spinner;
|
|
@@ -6181,8 +6199,8 @@ function create_if_block_1$3(ctx) {
|
|
|
6181
6199
|
};
|
|
6182
6200
|
}
|
|
6183
6201
|
|
|
6184
|
-
// (
|
|
6185
|
-
function
|
|
6202
|
+
// (36:6) {#if message}
|
|
6203
|
+
function create_if_block_4(ctx) {
|
|
6186
6204
|
let div;
|
|
6187
6205
|
let t;
|
|
6188
6206
|
|
|
@@ -6205,7 +6223,7 @@ function create_if_block_3$1(ctx) {
|
|
|
6205
6223
|
};
|
|
6206
6224
|
}
|
|
6207
6225
|
|
|
6208
|
-
// (
|
|
6226
|
+
// (29:6) {#if message}
|
|
6209
6227
|
function create_if_block_2$1(ctx) {
|
|
6210
6228
|
let div;
|
|
6211
6229
|
let t;
|
|
@@ -6290,30 +6308,30 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
|
6290
6308
|
let fullscreen;
|
|
6291
6309
|
let inline;
|
|
6292
6310
|
let ready;
|
|
6293
|
-
let { type
|
|
6294
|
-
let {
|
|
6311
|
+
let { type } = $$props;
|
|
6312
|
+
let { variant } = $$props;
|
|
6313
|
+
let { message = "" } = $$props;
|
|
6295
6314
|
let { progress = 0 } = $$props;
|
|
6296
|
-
let { visible } = $$props;
|
|
6297
|
-
let { variant = "inline" } = $$props;
|
|
6315
|
+
let { visible = "false" } = $$props;
|
|
6298
6316
|
|
|
6299
6317
|
$$self.$$set = $$props => {
|
|
6300
6318
|
if ('type' in $$props) $$invalidate(0, type = $$props.type);
|
|
6319
|
+
if ('variant' in $$props) $$invalidate(6, variant = $$props.variant);
|
|
6301
6320
|
if ('message' in $$props) $$invalidate(1, message = $$props.message);
|
|
6302
6321
|
if ('progress' in $$props) $$invalidate(2, progress = $$props.progress);
|
|
6303
|
-
if ('visible' in $$props) $$invalidate(
|
|
6304
|
-
if ('variant' in $$props) $$invalidate(7, variant = $$props.variant);
|
|
6322
|
+
if ('visible' in $$props) $$invalidate(7, visible = $$props.visible);
|
|
6305
6323
|
};
|
|
6306
6324
|
|
|
6307
6325
|
$$self.$$.update = () => {
|
|
6308
|
-
if ($$self.$$.dirty & /*visible
|
|
6309
|
-
$$invalidate(8, isVisible = toBoolean(visible)
|
|
6326
|
+
if ($$self.$$.dirty & /*visible*/ 128) {
|
|
6327
|
+
$$invalidate(8, isVisible = toBoolean(visible));
|
|
6310
6328
|
}
|
|
6311
6329
|
|
|
6312
|
-
if ($$self.$$.dirty & /*variant*/
|
|
6330
|
+
if ($$self.$$.dirty & /*variant*/ 64) {
|
|
6313
6331
|
$$invalidate(5, fullscreen = variant === "fullscreen");
|
|
6314
6332
|
}
|
|
6315
6333
|
|
|
6316
|
-
if ($$self.$$.dirty & /*variant*/
|
|
6334
|
+
if ($$self.$$.dirty & /*variant*/ 64) {
|
|
6317
6335
|
$$invalidate(4, inline = variant === "inline");
|
|
6318
6336
|
}
|
|
6319
6337
|
|
|
@@ -6329,16 +6347,16 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
|
6329
6347
|
ready,
|
|
6330
6348
|
inline,
|
|
6331
6349
|
fullscreen,
|
|
6332
|
-
visible,
|
|
6333
6350
|
variant,
|
|
6351
|
+
visible,
|
|
6334
6352
|
isVisible
|
|
6335
6353
|
];
|
|
6336
6354
|
}
|
|
6337
6355
|
|
|
6338
|
-
class
|
|
6356
|
+
class CircularProgress extends SvelteElement {
|
|
6339
6357
|
constructor(options) {
|
|
6340
6358
|
super();
|
|
6341
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.fullscreen{position:fixed;
|
|
6359
|
+
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:flex;flex-direction:column;align-items:center;justify-content:center}.message{margin-top:1rem;font-size:1.2rem}</style>`;
|
|
6342
6360
|
|
|
6343
6361
|
init(
|
|
6344
6362
|
this,
|
|
@@ -6352,10 +6370,10 @@ class PageLoader extends SvelteElement {
|
|
|
6352
6370
|
safe_not_equal,
|
|
6353
6371
|
{
|
|
6354
6372
|
type: 0,
|
|
6373
|
+
variant: 6,
|
|
6355
6374
|
message: 1,
|
|
6356
6375
|
progress: 2,
|
|
6357
|
-
visible:
|
|
6358
|
-
variant: 7
|
|
6376
|
+
visible: 7
|
|
6359
6377
|
},
|
|
6360
6378
|
null
|
|
6361
6379
|
);
|
|
@@ -6373,7 +6391,7 @@ class PageLoader extends SvelteElement {
|
|
|
6373
6391
|
}
|
|
6374
6392
|
|
|
6375
6393
|
static get observedAttributes() {
|
|
6376
|
-
return ["type", "
|
|
6394
|
+
return ["type", "variant", "message", "progress", "visible"];
|
|
6377
6395
|
}
|
|
6378
6396
|
|
|
6379
6397
|
get type() {
|
|
@@ -6385,6 +6403,15 @@ class PageLoader extends SvelteElement {
|
|
|
6385
6403
|
flush();
|
|
6386
6404
|
}
|
|
6387
6405
|
|
|
6406
|
+
get variant() {
|
|
6407
|
+
return this.$$.ctx[6];
|
|
6408
|
+
}
|
|
6409
|
+
|
|
6410
|
+
set variant(variant) {
|
|
6411
|
+
this.$$set({ variant });
|
|
6412
|
+
flush();
|
|
6413
|
+
}
|
|
6414
|
+
|
|
6388
6415
|
get message() {
|
|
6389
6416
|
return this.$$.ctx[1];
|
|
6390
6417
|
}
|
|
@@ -6404,25 +6431,16 @@ class PageLoader extends SvelteElement {
|
|
|
6404
6431
|
}
|
|
6405
6432
|
|
|
6406
6433
|
get visible() {
|
|
6407
|
-
return this.$$.ctx[
|
|
6434
|
+
return this.$$.ctx[7];
|
|
6408
6435
|
}
|
|
6409
6436
|
|
|
6410
6437
|
set visible(visible) {
|
|
6411
6438
|
this.$$set({ visible });
|
|
6412
6439
|
flush();
|
|
6413
6440
|
}
|
|
6414
|
-
|
|
6415
|
-
get variant() {
|
|
6416
|
-
return this.$$.ctx[7];
|
|
6417
|
-
}
|
|
6418
|
-
|
|
6419
|
-
set variant(variant) {
|
|
6420
|
-
this.$$set({ variant });
|
|
6421
|
-
flush();
|
|
6422
|
-
}
|
|
6423
6441
|
}
|
|
6424
6442
|
|
|
6425
|
-
customElements.define("goa-
|
|
6443
|
+
customElements.define("goa-circular-progress", CircularProgress);
|
|
6426
6444
|
|
|
6427
6445
|
const messageChannel = writable({});
|
|
6428
6446
|
|
|
@@ -6811,7 +6829,7 @@ function instance$6($$self, $$props, $$invalidate) {
|
|
|
6811
6829
|
class RadioItem extends SvelteElement {
|
|
6812
6830
|
constructor(options) {
|
|
6813
6831
|
super();
|
|
6814
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;box-sizing:border-box;display:inline-flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0}.goa-radio input[type="radio"]:focus~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--highlight)}.goa-radio-label{padding:0.5rem;font-weight:var(--fw-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--highlight)}.goa-radio--disabled: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);opacity:0.
|
|
6832
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;box-sizing:border-box;display:inline-flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0}.goa-radio input[type="radio"]:hover~.goa-radio-icon{border-color:var(--goa-color-interactive--hover)}.goa-radio input[type="radio"]:focus~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--highlight)}.goa-radio-label{padding:0.5rem;font-weight:var(--fw-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--highlight)}.goa-radio--disabled: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);opacity:0.3}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active);opacity:0.3}.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>`;
|
|
6815
6833
|
|
|
6816
6834
|
init(
|
|
6817
6835
|
this,
|
|
@@ -8669,4 +8687,4 @@ class ContainerWrapper_test extends SvelteElement {
|
|
|
8669
8687
|
|
|
8670
8688
|
customElements.define("test-container", ContainerWrapper_test);
|
|
8671
8689
|
|
|
8672
|
-
export { ContainerWrapper_test as ContainerWrapper, AppHeader as GoAAppHeader, Badge as GoABadge, Button as GoAButton, ButtonGroup as GoAButtonGroup, Callout as GoACallout, Card as GoACard, CardActions as GoACardActions, CardContent as GoACardContent, CardGroup as GoACardGroup, CardImage as GoACardImage, Checkbox as GoACheckbox, Container as GoAContainer, Dropdown as GoADropdown, DropdownItem as GoADropdownItem, FlexRow as GoAFlexRow, FormItem as GoAFormItem, HeroBanner as GoAHeroBanner, Icon as GoAIcon, IconButton as GoAIconButton, Input as GoAInput, MicrositeHeader as GoAMicrositeHeader, Modal as GoAModal, Notification as GoANotification, PageBlock as GoAPageBlock, PageLayout as GoAPageLayout,
|
|
8690
|
+
export { ContainerWrapper_test as ContainerWrapper, AppHeader as GoAAppHeader, Badge as GoABadge, Button as GoAButton, ButtonGroup as GoAButtonGroup, Callout as GoACallout, Card as GoACard, CardActions as GoACardActions, CardContent as GoACardContent, CardGroup as GoACardGroup, CardImage as GoACardImage, Checkbox as GoACheckbox, CircularProgress as GoACircularProgress, Container as GoAContainer, Dropdown as GoADropdown, DropdownItem as GoADropdownItem, FlexRow as GoAFlexRow, FormItem as GoAFormItem, HeroBanner as GoAHeroBanner, Icon as GoAIcon, IconButton as GoAIconButton, Input as GoAInput, MicrositeHeader as GoAMicrositeHeader, Modal as GoAModal, Notification as GoANotification, PageBlock as GoAPageBlock, PageLayout as GoAPageLayout, RadioGroup as GoARadioGroup, RadioItem as GoARadioItem, Scrollable as GoAScrollable, Skeleton as GoASkeleton, Spinner as GoASpinner, TextArea as GoATextArea };
|
package/web-components.umd.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
(function(T,_){typeof exports=="object"&&typeof module!="undefined"?_(exports):typeof define=="function"&&define.amd?define(["exports"],_):(T=typeof globalThis!="undefined"?globalThis:T||self,_(T["web-components"]={}))})(this,function(T){"use strict";function _(){}const he=i=>i;function Ze(i,e){for(const t in e)i[t]=e[t];return i}function He(i){return i()}function Ue(){return Object.create(null)}function Q(i){i.forEach(He)}function oe(i){return typeof i=="function"}function H(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let ke;function Xe(i,e){return ke||(ke=document.createElement("a")),ke.href=e,i===ke.href}function bi(i){return Object.keys(i).length===0}function vi(i,...e){if(i==null)return _;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function yi(i,e,t){i.$$.on_destroy.push(vi(e,t))}function Je(i){return i&&oe(i.destroy)?i.destroy:_}const Ke=typeof window!="undefined";let xe=Ke?()=>window.performance.now():()=>Date.now(),Ie=Ke?i=>requestAnimationFrame(i):_;const se=new Set;function Ye(i){se.forEach(e=>{e.c(i)||(se.delete(e),e.f())}),se.size!==0&&Ie(Ye)}function ze(i){let e;return se.size===0&&Ie(Ye),{promise:new Promise(t=>{se.add(e={c:i,f:t})}),abort(){se.delete(e)}}}function v(i,e){i.appendChild(e)}function Qe(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function pi(i){const e=
|
|
1
|
+
(function(T,_){typeof exports=="object"&&typeof module!="undefined"?_(exports):typeof define=="function"&&define.amd?define(["exports"],_):(T=typeof globalThis!="undefined"?globalThis:T||self,_(T["web-components"]={}))})(this,function(T){"use strict";function _(){}const he=i=>i;function Ze(i,e){for(const t in e)i[t]=e[t];return i}function He(i){return i()}function Ue(){return Object.create(null)}function Q(i){i.forEach(He)}function oe(i){return typeof i=="function"}function H(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let ke;function Xe(i,e){return ke||(ke=document.createElement("a")),ke.href=e,i===ke.href}function bi(i){return Object.keys(i).length===0}function vi(i,...e){if(i==null)return _;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function yi(i,e,t){i.$$.on_destroy.push(vi(e,t))}function Je(i){return i&&oe(i.destroy)?i.destroy:_}const Ke=typeof window!="undefined";let xe=Ke?()=>window.performance.now():()=>Date.now(),Ie=Ke?i=>requestAnimationFrame(i):_;const se=new Set;function Ye(i){se.forEach(e=>{e.c(i)||(se.delete(e),e.f())}),se.size!==0&&Ie(Ye)}function ze(i){let e;return se.size===0&&Ie(Ye),{promise:new Promise(t=>{se.add(e={c:i,f:t})}),abort(){se.delete(e)}}}function v(i,e){i.appendChild(e)}function Qe(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function pi(i){const e=p("style");return _i(Qe(i),e),e}function _i(i,e){v(i.head||i,e)}function w(i,e,t){i.insertBefore(e,t||null)}function x(i){i.parentNode.removeChild(i)}function p(i){return document.createElement(i)}function ae(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function F(i){return document.createTextNode(i)}function A(){return F(" ")}function ce(){return F("")}function U(i,e,t,r){return i.addEventListener(e,t,r),()=>i.removeEventListener(e,t,r)}function d(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function k(i,e,t){e in i?i[e]=typeof i[e]=="boolean"&&t===""?!0:t:d(i,e,t)}function wi(i){return Array.from(i.childNodes)}function Z(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function S(i,e,t,r){i.style.setProperty(e,t,r?"important":"")}function D(i,e,t){i.classList[t?"add":"remove"](e)}function ki(i,e,t=!1){const r=document.createEvent("CustomEvent");return r.initCustomEvent(i,t,!1,e),r}function j(i){const e={};for(const t of i)e[t.name]=t.value;return e}const je=new Set;let Ee=0;function xi(i){let e=5381,t=i.length;for(;t--;)e=(e<<5)-e^i.charCodeAt(t);return e>>>0}function Ce(i,e,t,r,o,n,a,l=0){const s=16.666/r;let c=`{
|
|
2
2
|
`;for(let E=0;E<=1;E+=s){const z=e+(t-e)*n(E);c+=E*100+`%{${a(z,1-z)}}
|
|
3
3
|
`}const u=c+`100% {${a(t,1-t)}}
|
|
4
|
-
}`,f=`__svelte_${xi(u)}_${l}`,g=Qe(i);je.add(g);const b=g.__svelte_stylesheet||(g.__svelte_stylesheet=pi(i).sheet),m=g.__svelte_rules||(g.__svelte_rules={});m[f]||(m[f]=!0,b.insertRule(`@keyframes ${f} ${u}`,b.cssRules.length));const p=i.style.animation||"";return i.style.animation=`${p?`${p}, `:""}${f} ${r}ms linear ${o}ms 1 both`,Ee+=1,f}function Ae(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?n=>n.indexOf(e)<0:n=>n.indexOf("__svelte")===-1),o=t.length-r.length;o&&(i.style.animation=r.join(", "),Ee-=o,Ee||zi())}function zi(){Ie(()=>{Ee||(je.forEach(i=>{const e=i.__svelte_stylesheet;let t=e.cssRules.length;for(;t--;)e.deleteRule(t);i.__svelte_rules={}}),je.clear())})}let me;function be(i){me=i}function $e(){if(!me)throw new Error("Function called outside component initialization");return me}function Ge(i){$e().$$.on_mount.push(i)}function Oe(i){$e().$$.on_destroy.push(i)}const ve=[],de=[],Me=[],et=[],tt=Promise.resolve();let De=!1;function it(){De||(De=!0,tt.then(h))}function rt(){return it(),tt}function J(i){Me.push(i)}const Se=new Set;let Le=0;function h(){const i=me;do{for(;Le<ve.length;){const e=ve[Le];Le++,be(e),Ei(e.$$)}for(be(null),ve.length=0,Le=0;de.length;)de.pop()();for(let e=0;e<Me.length;e+=1){const t=Me[e];Se.has(t)||(Se.add(t),t())}Me.length=0}while(ve.length);for(;et.length;)et.pop()();De=!1,Se.clear(),be(i)}function Ei(i){if(i.fragment!==null){i.update(),Q(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(J)}}let ye;function Be(){return ye||(ye=Promise.resolve(),ye.then(()=>{ye=null})),ye}function ne(i,e,t){i.dispatchEvent(ki(`${e?"intro":"outro"}${t}`))}const Re=new Set;let K;function pe(){K={r:0,c:[],p:K}}function _e(){K.r||Q(K.c),K=K.p}function N(i,e){i&&i.i&&(Re.delete(i),i.i(e))}function W(i,e,t,r){if(i&&i.o){if(Re.has(i))return;Re.add(i),K.c.push(()=>{Re.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}}const Pe={duration:0};function ot(i,e,t){let r=e(i,t),o=!1,n,a,l=0;function s(){n&&Ae(i,n)}function c(){const{delay:f=0,duration:g=300,easing:b=he,tick:m=_,css:p}=r||Pe;p&&(n=Ce(i,0,1,g,f,b,p,l++)),m(0,1);const E=xe()+f,z=E+g;a&&a.abort(),o=!0,J(()=>ne(i,!0,"start")),a=ze(C=>{if(o){if(C>=z)return m(1,0),ne(i,!0,"end"),s(),o=!1;if(C>=E){const R=b((C-E)/g);m(R,1-R)}}return o})}let u=!1;return{start(){u||(u=!0,Ae(i),oe(r)?(r=r(),Be().then(c)):c())},invalidate(){u=!1},end(){o&&(s(),o=!1)}}}function at(i,e,t){let r=e(i,t),o=!0,n;const a=K;a.r+=1;function l(){const{delay:s=0,duration:c=300,easing:u=he,tick:f=_,css:g}=r||Pe;g&&(n=Ce(i,1,0,c,s,u,g));const b=xe()+s,m=b+c;J(()=>ne(i,!1,"start")),ze(p=>{if(o){if(p>=m)return f(0,1),ne(i,!1,"end"),--a.r||Q(a.c),!1;if(p>=b){const E=u((p-b)/c);f(1-E,E)}}return o})}return oe(r)?Be().then(()=>{r=r(),l()}):l(),{end(s){s&&r.tick&&r.tick(1,0),o&&(n&&Ae(i,n),o=!1)}}}function Te(i,e,t,r){let o=e(i,t),n=r?0:1,a=null,l=null,s=null;function c(){s&&Ae(i,s)}function u(g,b){const m=g.b-n;return b*=Math.abs(m),{a:n,b:g.b,d:m,duration:b,start:g.start,end:g.start+b,group:g.group}}function f(g){const{delay:b=0,duration:m=300,easing:p=he,tick:E=_,css:z}=o||Pe,C={start:xe()+b,b:g};g||(C.group=K,K.r+=1),a||l?l=C:(z&&(c(),s=Ce(i,n,g,m,b,p,z)),g&&E(0,1),a=u(C,m),J(()=>ne(i,g,"start")),ze(R=>{if(l&&R>l.start&&(a=u(l,m),l=null,ne(i,a.b,"start"),z&&(c(),s=Ce(i,n,a.b,a.duration,0,p,o.css))),a){if(R>=a.end)E(n=a.b,1-n),ne(i,a.b,"end"),l||(a.b?c():--a.group.r||Q(a.group.c)),a=null;else if(R>=a.start){const V=R-a.start;n=a.a+a.d*p(V/a.duration),E(n,1-n)}}return!!(a||l)}))}return{run(g){oe(o)?Be().then(()=>{o=o(),f(g)}):f(g)},end(){c(),a=l=null}}}function ie(i){i&&i.c()}function $(i,e,t,r){const{fragment:o,on_mount:n,on_destroy:a,after_update:l}=i.$$;o&&o.m(e,t),r||J(()=>{const s=n.map(He).filter(oe);a?a.push(...s):Q(s),i.$$.on_mount=[]}),l.forEach(J)}function ee(i,e){const t=i.$$;t.fragment!==null&&(Q(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function Ci(i,e){i.$$.dirty[0]===-1&&(ve.push(i),it(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function G(i,e,t,r,o,n,a,l=[-1]){const s=me;be(i);const c=i.$$={fragment:null,ctx:null,props:n,update:_,not_equal:o,bound:Ue(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:Ue(),dirty:l,skip_bound:!1,root:e.target||s.$$.root};a&&a(c.root);let u=!1;if(c.ctx=t?t(i,e.props||{},(f,g,...b)=>{const m=b.length?b[0]:g;return c.ctx&&o(c.ctx[f],c.ctx[f]=m)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](m),u&&Ci(i,f)),g}):[],c.update(),u=!0,Q(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=wi(e.target);c.fragment&&c.fragment.l(f),f.forEach(x)}else c.fragment&&c.fragment.c();e.intro&&N(i.$$.fragment),$(i,e.target,e.anchor,e.customElement),h()}be(s)}let I;typeof HTMLElement=="function"&&(I=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(He).filter(oe);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){Q(this.$$.on_disconnect)}$destroy(){ee(this,1),this.$destroy=_}$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&&!bi(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});function Ai(i){let e;return{c(){e=y("div"),e.innerHTML="<slot></slot>",this.c=_,d(e,"class","page-content")},m(t,r){w(t,e,r)},p:_,i:_,o:_,d(t){t&&x(e)}}}class nt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.page-content{max-width:var(--page-width-max);margin:0 auto;padding:0 1.75rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Ai,H,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-page-block",nt);function Mi(i){let e,t,r,o,n,a,l,s,c,u,f,g;return{c(){e=y("div"),t=y("a"),r=y("img"),n=A(),a=y("img"),s=A(),c=y("span"),u=F(i[1]),f=A(),g=y("div"),g.innerHTML="<slot></slot>",this.c=_,d(r,"alt","GoA Logo"),d(r,"class","image-mobile"),Xe(r.src,o="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||d(r,"src",o),d(a,"alt","GoA Logo"),d(a,"class","image-desktop"),Xe(a.src,l="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||d(a,"src",l),d(c,"class","title"),d(t,"href",i[0]),d(t,"class","app-link"),d(e,"class","app-header"),d(e,"data-testid",i[2])},m(b,m){w(b,e,m),v(e,t),v(t,r),v(t,n),v(t,a),v(t,s),v(t,c),v(c,u),v(e,f),v(e,g)},p(b,[m]){m&2&&Z(u,b[1]),m&1&&d(t,"href",b[0]),m&4&&d(e,"data-testid",b[2])},i:_,o:_,d(b){b&&x(e)}}}function Li(i,e,t){let{url:r="#"}=e,{title:o=""}=e,{testid:n=""}=e;return i.$$set=a=>{"url"in a&&t(0,r=a.url),"title"in a&&t(1,o=a.title),"testid"in a&&t(2,n=a.testid)},[r,o,n]}class lt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.app-header{display:flex;align-items:center;justify-content:space-between;margin:0 auto;padding:1rem 0;border-bottom:1px solid var(--color-gray-100)}.app-link{display:flex;align-items:center;text-decoration:none;color:inherit}.title{margin-left:0.5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-desktop{display:none}.image-mobile{display:block}@media(min-width: 768px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Li,Mi,H,{url:0,title:1,testid:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["url","title","testid"]}get url(){return this.$$.ctx[0]}set url(e){this.$$set({url:e}),h()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),h()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-app-header",lt);function O(i){return i==="false"?!1:i===""?!0:!!i}function Ri(i){return i?"true":"false"}function Ti(i){let e;return{c(){e=y("div"),S(e,"height","1.2rem"),S(e,"margin-left","-0.25rem")},m(t,r){w(t,e,r)},p:_,d(t){t&&x(e)}}}function Hi(i){let e;return{c(){e=y("goa-icon"),k(e,"type",i[3]),k(e,"size","small")},m(t,r){w(t,e,r)},p(t,r){r&8&&k(e,"type",t[3])},d(t){t&&x(e)}}}function st(i){let e,t;return{c(){e=y("div"),t=F(i[2]),d(e,"class","goa-badge-content")},m(r,o){w(r,e,o),v(e,t)},p(r,o){o&4&&Z(t,r[2])},d(r){r&&x(e)}}}function Ii(i){let e,t,r;function o(s,c){return s[4]?Hi:Ti}let n=o(i),a=n(i),l=i[2]&&st(i);return{c(){e=y("div"),a.c(),t=A(),l&&l.c(),this.c=_,d(e,"data-testid",i[1]),d(e,"data-type","goa-badge"),d(e,"class",r="goa-badge badge-"+i[0]),D(e,"icon-only",i[4]&&!i[2])},m(s,c){w(s,e,c),a.m(e,null),v(e,t),l&&l.m(e,null)},p(s,[c]){n===(n=o(s))&&a?a.p(s,c):(a.d(1),a=n(s),a&&(a.c(),a.m(e,t))),s[2]?l?l.p(s,c):(l=st(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),c&2&&d(e,"data-testid",s[1]),c&1&&r!==(r="goa-badge badge-"+s[0])&&d(e,"class",r),c&21&&D(e,"icon-only",s[4]&&!s[2])},i:_,o:_,d(s){s&&x(e),a.d(),l&&l.d()}}}function ji(i,e,t){let r,o,{type:n}=e,{testid:a=""}=e,{icon:l="false"}=e,{content:s=""}=e;return i.$$set=c=>{"type"in c&&t(0,n=c.type),"testid"in c&&t(1,a=c.testid),"icon"in c&&t(5,l=c.icon),"content"in c&&t(2,s=c.content)},i.$$.update=()=>{i.$$.dirty&32&&t(4,r=O(l)),i.$$.dirty&1&&t(3,o={success:"checkmark-circle",warning:"alert-circle",information:"information-circle",emergency:"warning",inactive:"information-circle",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[n])},[n,a,s,o,r,l]}class ct extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--fw-regular)}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--color-status-info)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--goa-color-text-light)}.goa-badge.badge-warning{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.goa-badge.badge-emergency{background-color:var(--goa-color-status-emergency);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--color-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--color-gray-600);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--color-white);color:var(--goa-color-text)}.goa-badge.badge-inactive{background-color:var(--color-white);color:var(--goa-color-text)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},ji,Ii,H,{type:0,testid:1,icon:5,content:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","testid","icon","content"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),h()}get icon(){return this.$$.ctx[5]}set icon(e){this.$$set({icon:e}),h()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),h()}}customElements.define("goa-badge",ct);function Gi(i){let e,t,r,o,n;return{c(){e=y("button"),t=y("slot"),this.c=_,d(e,"class",r=""+(i[0]+" "+i[1]+" "+i[2])),d(e,"title",i[3]),e.disabled=i[5],d(e,"data-testid",i[4])},m(a,l){w(a,e,l),v(e,t),o||(n=U(e,"click",Oi),o=!0)},p(a,[l]){l&7&&r!==(r=""+(a[0]+" "+a[1]+" "+a[2]))&&d(e,"class",r),l&8&&d(e,"title",a[3]),l&32&&(e.disabled=a[5]),l&16&&d(e,"data-testid",a[4])},i:_,o:_,d(a){a&&x(e),o=!1,n()}}}function Oi(i){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),i.stopPropagation()}function Di(i,e,t){let r,{type:o="primary"}=e,{size:n="medium"}=e,{variant:a="default"}=e,{title:l=""}=e,{disabled:s="false"}=e,{testid:c=""}=e;return i.$$set=u=>{"type"in u&&t(0,o=u.type),"size"in u&&t(1,n=u.size),"variant"in u&&t(2,a=u.variant),"title"in u&&t(3,l=u.title),"disabled"in u&&t(6,s=u.disabled),"testid"in u&&t(4,c=u.testid)},i.$$.update=()=>{i.$$.dirty&64&&t(5,r=O(s))},[o,n,a,l,c,r,s]}class dt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@media(max-width: 320px){:host{width:100%}button{width:100%}}button{border-radius:0.25rem;border:2px solid var(--goa-color-interactive);box-sizing:border-box;cursor:pointer;font-size:var(--fs-base, 1rem);font-weight:700;line-height:2.375rem;padding:0 0.75rem;display:flex;gap:0.25rem;align-items:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;transform:scaleX(1)}button.primary{border:2px solid var(--goa-color-interactive);background:var(--goa-color-interactive);color:var(--color-white, white)}button.primary:hover{border-color:var(--goa-color-interactive--hover);background:var(--goa-color-interactive--hover)}button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive--highlight);border-color:var(--goa-color-interactive--active);background:var(--goa-color-interactive--active);outline:none}button.secondary{border:2px solid var(--goa-color-interactive);background:var(--color-white);color:var(--goa-color-interactive)}button.secondary:hover{border-color:var(--goa-color-interactive--hover);color:var(--goa-color-interactive--hover);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--highlight);background:var(--color-gray-100);outline:none}button.tertiary{border:1px solid var(--color-gray-200);background:var(--color-white);color:var(--goa-color-interactive)}button.tertiary:hover{border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--goa-color-interactive--active);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--highlight);outline:none}button.borderless{background:none;color:var(--goa-color-interactive);border:none}button.borderless:hover{background-color:var(--goa-color-primary-light);color:var(--goa-color-interactive--hover)}button.borderless:focus,button.borderless:active{outline:none;box-shadow:none;background-color:var(--goa-color-primary-light)}.primary.danger{color:var(--color-white);background:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.primary.danger:hover{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.primary.danger:focus,.primary.danger:active{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.secondary.danger{color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);background:var(--color-white)}.secondary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.secondary.danger:focus,.secondary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}button:disabled{pointer-events:none;color:var(--color-gray-600);background-color:var(--color-gray-100);border-color:var(--color-gray-100)}.tertiary.danger{color:var(--goa-color-status-emergency);border-color:var(--color-gray-200);background:var(--color-white)}.tertiary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.danger:focus,.tertiary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.borderless.danger{color:var(--goa-color-status-emergency)}.borderless.danger:hover{background:var(--goa-color-emergency-light);color:var(--goa-color-status-emergency-dark)}.borderless.danger:focus,.borderless.danger:active{background:var(--goa-color-emergency-light);color:var(--goa-color-status-emergency-dark)}.large{font-size:var(--fs-lg);line-height:3rem}.large.borderless{line-height:calc(3rem + 4px)}.medium{font-size:var(--fs-base);line-height:2.375rem}.medium.borderless{line-height:calc(2.375rem + 4px)}.small{font-size:var(--fs-sm);line-height:1.75rem}.small.borderless{line-height:calc(1.75rem + 4px)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Di,Gi,H,{type:0,size:1,variant:2,title:3,disabled:6,testid:4},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","variant","title","disabled","testid"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),h()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),h()}get disabled(){return this.$$.ctx[6]}set disabled(e){this.$$set({disabled:e}),h()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-button",dt);function Si(i){let e,t;return{c(){e=y("div"),t=y("slot"),this.c=_,S(e,"--alignment","flex-"+i[1]),S(e,"--gap-size",i[0]==="small"?"0.5rem":"1rem")},m(r,o){w(r,e,o),v(e,t)},p(r,[o]){o&2&&S(e,"--alignment","flex-"+r[1]),o&1&&S(e,"--gap-size",r[0]==="small"?"0.5rem":"1rem")},i:_,o:_,d(r){r&&x(e)}}}function Bi(i,e,t){let{gap:r="medium"}=e,{alignment:o}=e;return i.$$set=n=>{"gap"in n&&t(0,r=n.gap),"alignment"in n&&t(1,o=n.alignment)},[r,o]}class ut extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}div{display:flex;flex-direction:row;justify-content:var(--alignment);flex-wrap:wrap;gap:var(--gap-size)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Bi,Si,H,{gap:0,alignment:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap","alignment"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),h()}get alignment(){return this.$$.ctx[1]}set alignment(e){this.$$set({alignment:e}),h()}}customElements.define("goa-button-group",ut);function Pi(i){let e,t,r,o,n,a,l,s,c,u,f;return{c(){e=y("div"),t=y("span"),r=y("goa-icon"),a=A(),l=y("span"),s=y("h3"),c=F(i[1]),u=A(),f=y("slot"),this.c=_,k(r,"type",i[3]),k(r,"inverted",o=i[0]==="important"?"false":"true"),d(t,"class",n="icon "+i[0]),d(l,"class","content"),d(e,"class","notification"),d(e,"data-testid",i[2])},m(g,b){w(g,e,b),v(e,t),v(t,r),v(e,a),v(e,l),v(l,s),v(s,c),v(l,u),v(l,f)},p(g,[b]){b&8&&k(r,"type",g[3]),b&1&&o!==(o=g[0]==="important"?"false":"true")&&k(r,"inverted",o),b&1&&n!==(n="icon "+g[0])&&d(t,"class",n),b&2&&Z(c,g[1]),b&4&&d(e,"data-testid",g[2])},i:_,o:_,d(g){g&&x(e)}}}function Ni(i,e,t){let r,{type:o}=e,{title:n}=e,{testid:a=""}=e;return i.$$set=l=>{"type"in l&&t(0,o=l.type),"title"in l&&t(1,n=l.title),"testid"in l&&t(2,a=l.testid)},i.$$.update=()=>{i.$$.dirty&1&&t(3,r=o==="emergency"?"warning":o==="important"?"alert-circle":o==="information"?"information-circle":o==="success"?"checkmark-circle":o==="event"?"calendar":"")},[o,n,a,r]}class ft extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{display:flex;align-items:stretch;border-radius:3px;overflow:hidden;margin-bottom:1.75rem}h3{font-size:var(--fs-xl);line-height:var(--lh-base);font-weight:var(--fw-regular);margin-top:0}.emergency{background-color:var(--goa-color-status-emergency)}.important{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info)}.event{background-color:var(--goa-color-status-info)}.success{background-color:var(--goa-color-status-success)}.icon{flex:0 0 3rem;text-align:center;padding-top:1.5rem}.content{flex:1 1 auto;background-color:var(--color-gray-100);padding:1.5rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ni,Pi,H,{type:0,title:1,testid:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","title","testid"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),h()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-callout",ft);function Fi(i){let e,t,r;return{c(){e=y("div"),t=y("slot"),this.c=_,d(e,"data-testid",i[2]),d(e,"class","card"),d(e,"style",r="--width: "+i[1]+"px; "+(i[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(o,n){w(o,e,n),v(e,t)},p(o,[n]){n&4&&d(e,"data-testid",o[2]),n&3&&r!==(r="--width: "+o[1]+"px; "+(o[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${o[0]});`)+"")&&d(e,"style",r)},i:_,o:_,d(o){o&&x(e)}}}function qi(i,e,t){let{elevation:r=0}=e,{width:o=320}=e,{testId:n=""}=e;return i.$$set=a=>{"elevation"in a&&t(0,r=a.elevation),"width"in a&&t(1,o=a.width),"testId"in a&&t(2,n=a.testId)},[r,o,n]}class gt extends I{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card{display:flex;flex-direction:column;background-color:var(--color-white);border-radius:4px;overflow:hidden;width:100%}@media(min-width: 320px){.card{width:var(--width);margin:0 auto
|
|
5
|
-
}}</style>`,G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},qi,Fi,H,{elevation:0,width:1,testId:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["elevation","width","testId"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),h()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),h()}get testId(){return this.$$.ctx[2]}set testId(e){this.$$set({testId:e}),h()}}customElements.define("goa-card",gt);function Wi(i){let e;return{c(){e=y("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=_},m(t,r){w(t,e,r)},p:_,i:_,o:_,d(t){t&&x(e)}}}class ht extends I{constructor(e){super();G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Wi,H,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-card-actions",ht);function Vi(i){let e;return{c(){e=y("div"),e.innerHTML="<slot></slot>",this.c=_,d(e,"class","card-content")},m(t,r){w(t,e,r)},p:_,i:_,o:_,d(t){t&&x(e)}}}class mt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Vi,H,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-card-content",mt);function Zi(i){let e;return{c(){e=y("div"),e.innerHTML="<slot></slot>",this.c=_,d(e,"class","card-group")},m(t,r){w(t,e,r)},p:_,i:_,o:_,d(t){t&&x(e)}}}class bt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Zi,H,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-card-group",bt);function Ui(i){let e;return{c(){e=y("div"),this.c=_,d(e,"class","card-image"),S(e,"background-image","url("+i[0]+")"),S(e,"height",i[1]),S(e,"background-size","cover"),S(e,"background-position","center")},m(t,r){w(t,e,r)},p(t,[r]){r&1&&S(e,"background-image","url("+t[0]+")"),r&2&&S(e,"height",t[1])},i:_,o:_,d(t){t&&x(e)}}}function Xi(i,e,t){let{src:r}=e,{height:o="100%"}=e;return i.$$set=n=>{"src"in n&&t(0,r=n.src),"height"in n&&t(1,o=n.height)},[r,o]}class vt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Xi,Ui,H,{src:0,height:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["src","height"]}get src(){return this.$$.ctx[0]}set src(e){this.$$set({src:e}),h()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),h()}}customElements.define("goa-card-image",vt);function Ji(i){let e,t;return{c(){e=ae("svg"),t=ae("path"),d(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),d(e,"id","checkmark"),d(e,"data-testid","checkmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 16 12.18")},m(r,o){w(r,e,o),v(e,t)},d(r){r&&x(e)}}}function Ki(i){let e,t;return{c(){e=ae("svg"),t=ae("rect"),d(t,"width","15"),d(t,"height","2"),d(e,"id","dashmark"),d(e,"data-testid","dashmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 15 2")},m(r,o){w(r,e,o),v(e,t)},d(r){r&&x(e)}}}function Yi(i){let e,t,r,o,n,a,l,s,c,u,f;function g(p,E){if(p[5])return Ki;if(p[4])return Ji}let b=g(i),m=b&&b(i);return{c(){e=y("label"),t=y("div"),r=y("input"),n=A(),m&&m.c(),a=A(),l=y("div"),s=y("slot"),c=F(i[1]),this.c=_,d(r,"id",i[8]),d(r,"data-testid",i[3]),d(r,"name",i[0]),r.checked=i[4],r.disabled=i[7],d(r,"type","checkbox"),r.value=o=`${i[2]}`,d(t,"class","goa-checkbox-container"),D(t,"goa-checkbox--selected",i[4]),d(s,"name","main"),d(l,"class","goa-checkbox-text"),d(l,"data-testid","text"),d(e,"for",i[8]),d(e,"class","goa-checkbox"),D(e,"goa-checkbox--disabled",i[7]),D(e,"goa-checkbox--error",i[6])},m(p,E){w(p,e,E),v(e,t),v(t,r),v(t,n),m&&m.m(t,null),v(e,a),v(e,l),v(l,s),v(s,c),u||(f=U(r,"change",i[9]),u=!0)},p(p,[E]){E&256&&d(r,"id",p[8]),E&8&&d(r,"data-testid",p[3]),E&1&&d(r,"name",p[0]),E&16&&(r.checked=p[4]),E&128&&(r.disabled=p[7]),E&4&&o!==(o=`${p[2]}`)&&(r.value=o),b!==(b=g(p))&&(m&&m.d(1),m=b&&b(p),m&&(m.c(),m.m(t,null))),E&16&&D(t,"goa-checkbox--selected",p[4]),E&2&&Z(c,p[1]),E&256&&d(e,"for",p[8]),E&128&&D(e,"goa-checkbox--disabled",p[7]),E&64&&D(e,"goa-checkbox--error",p[6])},i:_,o:_,d(p){p&&x(e),m&&m.d(),u=!1,f()}}}function Qi(i,e,t){let r,o,n,a,l,{name:s}=e,{text:c=""}=e,{value:u=""}=e,{checked:f}=e,{disabled:g}=e,{error:b}=e,{testid:m=""}=e;function p(E){const z=!a,C=z?`${u||"checked"}`:"";E.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:s,checked:z,value:C}}))}return i.$$set=E=>{"name"in E&&t(0,s=E.name),"text"in E&&t(1,c=E.text),"value"in E&&t(2,u=E.value),"checked"in E&&t(10,f=E.checked),"disabled"in E&&t(11,g=E.disabled),"error"in E&&t(12,b=E.error),"testid"in E&&t(3,m=E.testid)},i.$$.update=()=>{i.$$.dirty&1&&t(8,r=`id-${s}`),i.$$.dirty&2048&&t(7,o=O(g)),i.$$.dirty&4096&&t(6,n=O(b)),i.$$.dirty&1024&&t(4,a=O(f))},t(5,l=!1),[s,c,u,m,a,l,n,o,r,p,f,g,b]}class yt extends I{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled{opacity:40%}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--color-gray-600);border-radius:2px;background-color:var(--color-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px}.goa-checkbox-container svg{fill:var(--color-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive--hover)}.goa-checkbox-container:hover{border:1px solid var(--goa-color-interactive)}.goa-checkbox-container:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--highlight);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--fw-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--color-gray-500)}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-status-emergency);background-color:var(--color-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-status-emergency)}</style>',G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Qi,Yi,H,{name:0,text:1,value:2,checked:10,disabled:11,error:12,testid:3},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","text","value","checked","disabled","error","testid"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),h()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),h()}get checked(){return this.$$.ctx[10]}set checked(e){this.$$set({checked:e}),h()}get disabled(){return this.$$.ctx[11]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[12]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-checkbox",yt);function $i(i){let e,t,r,o,n,a,l,s,c;return{c(){e=y("div"),t=y("header"),r=y("div"),r.innerHTML='<slot name="title"></slot>',o=A(),n=y("div"),n.innerHTML='<slot name="actions"></slot>',l=A(),s=y("div"),s.innerHTML="<slot></slot>",this.c=_,d(r,"class","title"),d(n,"class","actions"),d(t,"class",a="heading--"+i[1]),d(s,"class","content"),d(e,"class",c="goa-container goa-container--"+i[0])},m(u,f){w(u,e,f),v(e,t),v(t,r),v(t,o),v(t,n),v(e,l),v(e,s)},p(u,[f]){f&2&&a!==(a="heading--"+u[1])&&d(t,"class",a),f&1&&c!==(c="goa-container goa-container--"+u[0])&&d(e,"class",c)},i:_,o:_,d(u){u&&x(e)}}}function er(i,e,t){let{variant:r="default"}=e,{headingsize:o="large"}=e;return i.$$set=n=>{"variant"in n&&t(0,r=n.variant),"headingsize"in n&&t(1,o=n.headingsize)},[r,o]}class pt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);font-size:var(--fs-base)}.goa-container{margin-bottom:1rem;box-sizing:border-box}.goa-container *{box-sizing:border-box}header{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--fs-base);border-width:1px;border-style:solid;border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);padding-left:1.5rem;padding-right:1.5rem}.content{padding:1.5rem;border-bottom:1px solid var(--color-gray-200);border-left:1px solid var(--color-gray-200);border-right:1px solid var(--color-gray-200);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.goa-container--default header{background-color:var(--color-gray-100);border-color:var(--color-gray-200);color:var(--color-black)}.goa-container--primary header{background-color:var(--goa-color-brand);border-color:var(--goa-color-brand);color:var(--color-white)}.goa-container--info header{background-color:var(--goa-color-status-info);border-color:var(--goa-color-status-info);color:var(--color-white)}.goa-container--error header{background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);color:var(--color-white)}.goa-container--success header{background-color:var(--goa-color-status-success);border-color:var(--goa-color-status-success);color:var(--color-white)}.goa-container--warning header{background-color:var(--goa-color-status-warning);border-color:var(--goa-color-status-warning);color:var(--color-white)}.heading--large{padding:0.5rem 1.5rem;max-height:3rem;min-height:1rem}.heading--large .title{line-height:2rem}.heading--small{height:0.5rem}.heading--none{display:none}.heading--none~.content{border-top:1px solid var(--color-gray-200);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.heading--small .title,.heading--small .actions{display:none}.actions{display:flex;align-items:center}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},er,$i,H,{variant:0,headingsize:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["variant","headingsize"]}get variant(){return this.$$.ctx[0]}set variant(e){this.$$set({variant:e}),h()}get headingsize(){return this.$$.ctx[1]}set headingsize(e){this.$$set({headingsize:e}),h()}}customElements.define("goa-container",pt);const ue=[];function Ne(i,e=_){let t;const r=new Set;function o(l){if(H(i,l)&&(i=l,t)){const s=!ue.length;for(const c of r)c[1](),ue.push(c,i);if(s){for(let c=0;c<ue.length;c+=2)ue[c][0](ue[c+1]);ue.length=0}}}function n(l){o(l(i))}function a(l,s=_){const c=[l,s];return r.add(c),r.size===1&&(t=e(o)||_),l(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:o,update:n,subscribe:a}}const te=Ne({});function _t(i){let e,t,r,o;return{c(){e=y("div"),d(e,"data-testid",t=`${i[0]}-dropdown-background`),d(e,"class","goa-dropdown-background")},m(n,a){w(n,e,a),r||(o=U(e,"click",i[12]),r=!0)},p(n,a){a&1&&t!==(t=`${n[0]}-dropdown-background`)&&d(e,"data-testid",t)},d(n){n&&x(e),r=!1,o()}}}function wt(i){let e,t,r,o,n,a,l;return{c(){e=y("div"),t=y("goa-input"),k(t,"disabled",i[10]),k(t,"leadingicon",i[1]),k(t,"placeholder",i[3]),k(t,"id",r=`${i[0]}-dropdown-input`),k(t,"name","search"),k(t,"readonly",""),k(t,"trailingicon","chevron-down"),k(t,"handletrailingiconclick",""),k(t,"type","text"),k(t,"value",o=i[4].join(", ")),d(e,"data-testid",n=`${i[0]}-dropdown`)},m(s,c){w(s,e,c),v(e,t),a||(l=U(t,"focus",i[11]),a=!0)},p(s,c){c&1024&&k(t,"disabled",s[10]),c&2&&k(t,"leadingicon",s[1]),c&8&&k(t,"placeholder",s[3]),c&1&&r!==(r=`${s[0]}-dropdown-input`)&&k(t,"id",r),c&16&&o!==(o=s[4].join(", "))&&k(t,"value",o),c&1&&n!==(n=`${s[0]}-dropdown`)&&d(e,"data-testid",n)},d(s){s&&x(e),a=!1,l()}}}function kt(i){let e,t,r,o,n,a=i[9]&&xt(i);return{c(){e=y("div"),a&&a.c(),t=A(),r=y("ul"),o=y("slot"),d(r,"class","goa-dropdown-list"),d(r,"style",n=`overflow-y: auto; max-height: ${i[2]||zt}px`),d(e,"class","menu")},m(l,s){w(l,e,s),a&&a.m(e,null),v(e,t),v(e,r),v(r,o)},p(l,s){l[9]?a?a.p(l,s):(a=xt(l),a.c(),a.m(e,t)):a&&(a.d(1),a=null),s&4&&n!==(n=`overflow-y: auto; max-height: ${l[2]||zt}px`)&&d(r,"style",n)},d(l){l&&x(e),a&&a.d()}}}function xt(i){let e,t;return{c(){e=y("goa-input"),k(e,"focused",i[5]),k(e,"name","filter"),k(e,"placeholder","Filter"),k(e,"trailingicon",t=i[8].length>0?"close-circle":"search"),k(e,"handletrailingiconclick",""),k(e,"type","text"),k(e,"value",i[8])},m(r,o){w(r,e,o),i[17](e)},p(r,o){o&32&&k(e,"focused",r[5]),o&256&&t!==(t=r[8].length>0?"close-circle":"search")&&k(e,"trailingicon",t),o&256&&k(e,"value",r[8])},d(r){r&&x(e),i[17](null)}}}function tr(i){let e,t,r,o,n=i[5]&&_t(i),a=(!i[5]||!i[9])&&wt(i),l=i[5]&&kt(i);return{c(){e=y("div"),n&&n.c(),t=A(),r=y("div"),a&&a.c(),o=A(),l&&l.c(),this.c=_,d(e,"class","goa-dropdown-box")},m(s,c){w(s,e,c),n&&n.m(e,null),v(e,t),v(e,r),a&&a.m(r,null),v(r,o),l&&l.m(r,null),i[18](e)},p(s,[c]){s[5]?n?n.p(s,c):(n=_t(s),n.c(),n.m(e,t)):n&&(n.d(1),n=null),!s[5]||!s[9]?a?a.p(s,c):(a=wt(s),a.c(),a.m(r,o)):a&&(a.d(1),a=null),s[5]?l?l.p(s,c):(l=kt(s),l.c(),l.m(r,null)):l&&(l.d(1),l=null)},i:_,o:_,d(s){s&&x(e),n&&n.d(),a&&a.d(),l&&l.d(),i[18](null)}}}const zt=300;function ir(i,e,t){let r,o,n,{name:a}=e,{values:l}=e,{leadingicon:s}=e,{maxheight:c}=e,{placeholder:u}=e,{multiselect:f}=e,{disabled:g}=e,{autocomplete:b}=e,m=[],p=[],E=!1,z,C,R="";const V=te.subscribe(L=>{var le,qe;if(((le=L[a])===null||le===void 0?void 0:le.tag)!==a)return;const X=L[a];switch((qe=X==null?void 0:X.payload)===null||qe===void 0?void 0:qe.type){case"DropDownAction":{if(X.payload.action==="select"&&(r?(t(4,m=[...m,X.payload.label]),p=[...p,X.payload.value]):(t(4,m=[X.payload.label]),p=[X.payload.value])),X.payload.action==="deselect"){const We=X.payload.label,Qr=X.payload.value;t(4,m=m.filter(Ve=>Ve!==We)),p=p.filter(Ve=>Ve!==Qr)}r||t(5,E=!1),te.update(We=>Object.assign(Object.assign({},We),{[a]:null})),z.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{event:null,name:a,value:p}}));break}}});Ge(async()=>{await rt(),te.update(L=>Object.assign(Object.assign({},L),{[a]:{tag:a,payload:{type:"DropDownInit",values:l?JSON.parse(l):[],multiSelect:r}}}))}),Oe(()=>{te.update(L=>(delete L[a],L)),V()});let q=L=>{L.stopPropagation(),t(8,R=L.detail.value),te.update(le=>Object.assign(Object.assign({},le),{[a]:{tag:a,payload:{type:"FilterChange",filter:R}}}))},P=L=>{L.stopPropagation(),t(8,R=""),te.update(le=>Object.assign(Object.assign({},le),{[a]:{tag:a,payload:{type:"FilterChange",filter:R}}})),C==null||C.focus()};async function ge(){t(5,E=!0),await rt(),C==null||C.addEventListener("_change",q),C==null||C.addEventListener("_trailingIconClick",P),C==null||C.focus()}function re(){t(5,E=!1),C==null||C.removeEventListener("_change",q),C==null||C.removeEventListener("_trailingIconClick",P)}function M(L){de[L?"unshift":"push"](()=>{C=L,t(7,C)})}function B(L){de[L?"unshift":"push"](()=>{z=L,t(6,z)})}return i.$$set=L=>{"name"in L&&t(0,a=L.name),"values"in L&&t(13,l=L.values),"leadingicon"in L&&t(1,s=L.leadingicon),"maxheight"in L&&t(2,c=L.maxheight),"placeholder"in L&&t(3,u=L.placeholder),"multiselect"in L&&t(14,f=L.multiselect),"disabled"in L&&t(15,g=L.disabled),"autocomplete"in L&&t(16,b=L.autocomplete)},i.$$.update=()=>{i.$$.dirty&16384&&(r=O(f)),i.$$.dirty&32768&&t(10,o=O(g)),i.$$.dirty&65536&&t(9,n=O(b))},[a,s,c,u,m,E,z,C,R,n,o,ge,re,l,f,g,b,M,B]}class Et extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-dropdown-box{position:relative}.menu goa-input{position:relative}.goa-dropdown-background{position:fixed;inset:0}.goa-dropdown-list{position:absolute;left:0;right:0;padding:0;margin:0;margin-top:3px;list-style-type:none;background:var(--color-white);border-radius:var(--input-border-radius);box-shadow:var(--shadow-1);z-index:99}.goa-dropdown-list{scroll-behavior:smooth;scrollbar-width:thin}.goa-dropdown-list::-webkit-scrollbar{width:6px}.goa-dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.goa-dropdown-list::-webkit-scrollbar-thumb{background:#888}.goa-dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},ir,tr,H,{name:0,values:13,leadingicon:1,maxheight:2,placeholder:3,multiselect:14,disabled:15,autocomplete:16},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","values","leadingicon","maxheight","placeholder","multiselect","disabled","autocomplete"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get values(){return this.$$.ctx[13]}set values(e){this.$$set({values:e}),h()}get leadingicon(){return this.$$.ctx[1]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get maxheight(){return this.$$.ctx[2]}set maxheight(e){this.$$set({maxheight:e}),h()}get placeholder(){return this.$$.ctx[3]}set placeholder(e){this.$$set({placeholder:e}),h()}get multiselect(){return this.$$.ctx[14]}set multiselect(e){this.$$set({multiselect:e}),h()}get disabled(){return this.$$.ctx[15]}set disabled(e){this.$$set({disabled:e}),h()}get autocomplete(){return this.$$.ctx[16]}set autocomplete(e){this.$$set({autocomplete:e}),h()}}customElements.define("goa-dropdown",Et);function rr(i){let e,t=(i[2]||i[0])+"",r,o,n;return{c(){e=y("li"),this.c=_,d(e,"class","goa-dropdown-option"),d(e,"style",r=`display: ${i[4]?"none":"block"}`),d(e,"data-testid",i[1]),D(e,"goa-dropdown-option--disabled",i[5]),D(e,"goa-dropdown-option--selected",i[3])},m(a,l){w(a,e,l),e.innerHTML=t,o||(n=U(e,"click",i[6]),o=!0)},p(a,[l]){l&5&&t!==(t=(a[2]||a[0])+"")&&(e.innerHTML=t),l&16&&r!==(r=`display: ${a[4]?"none":"block"}`)&&d(e,"style",r),l&2&&d(e,"data-testid",a[1]),l&32&&D(e,"goa-dropdown-option--disabled",a[5]),l&8&&D(e,"goa-dropdown-option--selected",a[3])},i:_,o:_,d(a){a&&x(e),o=!1,n()}}}function or(i,e,t){let r,o,n,{name:a=""}=e,{value:l=""}=e,{label:s=""}=e,{testId:c=""}=e,{selected:u="false"}=e,{disabled:f="false"}=e,{hide:g="false"}=e,b,m;function p(z){if(z.length===0||!s.toLowerCase().includes(z.toLowerCase()))return s;t(2,m="");let C=0;return[...s.matchAll(new RegExp(z,"gi"))].forEach(R=>{t(2,m+=s.slice(C,R.index)+`<b>${R[0]}</b>`),C=R.index+R[0].length}),t(2,m+=s.slice(C)),m}te.subscribe(z=>{const C=z[a];if(!!C&&C.tag===a)switch(C.payload.type){case"FilterChange":{const R=C.payload.filter.toLowerCase();if(!l&&!s)t(7,g="false");else{const V=l.toLowerCase().includes(R)||s.toLowerCase().includes(R);t(7,g=Ri(!V))}t(2,m=p(R));break}case"DropDownAction":{C.payload.label!==s&&!b&&t(3,r=!1);break}case"DropDownInit":{t(3,r=C.payload.values.includes(l)),b=C.payload.multiSelect,r&&te.update(R=>Object.assign(Object.assign({},R),{[a]:{tag:a,payload:{type:"DropDownAction",action:"select",label:s,value:l}}}));break}}});function E(){t(3,r=!r),te.update(z=>Object.assign(Object.assign({},z),{[a]:{tag:a,payload:{type:"DropDownAction",action:r?"select":"deselect",label:s,value:l,multiSelect:b}}}))}return i.$$set=z=>{"name"in z&&t(8,a=z.name),"value"in z&&t(9,l=z.value),"label"in z&&t(0,s=z.label),"testId"in z&&t(1,c=z.testId),"selected"in z&&t(10,u=z.selected),"disabled"in z&&t(11,f=z.disabled),"hide"in z&&t(7,g=z.hide)},i.$$.update=()=>{i.$$.dirty&1024&&t(3,r=O(u)),i.$$.dirty&2048&&t(5,o=O(f)),i.$$.dirty&128&&t(4,n=O(g))},[s,c,m,r,n,o,E,g,a,l,u,f]}class Ct extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}li{font-family:var(--font-family)}.goa-dropdown-option{margin:0;padding:0.5rem;cursor:pointer;color:var(--color-black)}.goa-dropdown-option:hover{background:var(--color-gray-100);color:var(--goa-color-interactive--hover)}.goa-dropdown-option--disabled{opacity:0.5;cursor:default}.goa-dropdown-option--disabled:hover{cursor:default;color:var(--color-gray-600)}.goa-dropdown-option--selected{background:var(--goa-color-interactive--active);color:var(--color-white)}.goa-dropdown-option--selected:hover{background:var(--goa-color-interactive--hover);color:var(--color-white)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},or,rr,H,{name:8,value:9,label:0,testId:1,selected:10,disabled:11,hide:7},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","label","testId","selected","disabled","hide"]}get name(){return this.$$.ctx[8]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[9]}set value(e){this.$$set({value:e}),h()}get label(){return this.$$.ctx[0]}set label(e){this.$$set({label:e}),h()}get testId(){return this.$$.ctx[1]}set testId(e){this.$$set({testId:e}),h()}get selected(){return this.$$.ctx[10]}set selected(e){this.$$set({selected:e}),h()}get disabled(){return this.$$.ctx[11]}set disabled(e){this.$$set({disabled:e}),h()}get hide(){return this.$$.ctx[7]}set hide(e){this.$$set({hide:e}),h()}}customElements.define("goa-dropdown-item",Ct);function ar(i){let e,t;return{c(){e=y("div"),t=y("slot"),this.c=_,d(e,"class","goa-flex-row"),S(e,"gap",i[0])},m(r,o){w(r,e,o),v(e,t)},p(r,[o]){o&1&&S(e,"gap",r[0])},i:_,o:_,d(r){r&&x(e)}}}function nr(i,e,t){let r,{gap:o=""}=e;return i.$$set=n=>{"gap"in n&&t(1,o=n.gap)},i.$$.update=()=>{i.$$.dirty&2&&t(0,r=o==="small"?"1rem":o==="medium"?"2rem":o==="large"?"3rem":"0")},[r,o]}class At extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-flex-row{margin-bottom:1rem;display:flex;flex-direction:column;flex-wrap:wrap;align-items:stretch}@media(min-width: 480px){.goa-flex-row{flex-direction:row}}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},nr,ar,H,{gap:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap"]}get gap(){return this.$$.ctx[1]}set gap(e){this.$$set({gap:e}),h()}}customElements.define("goa-flex-row",At);function Mt(i){let e,t,r,o=i[3]&&Lt();return{c(){e=y("label"),t=F(i[0]),r=A(),o&&o.c(),d(e,"for","")},m(n,a){w(n,e,a),v(e,t),v(e,r),o&&o.m(e,null)},p(n,a){a&1&&Z(t,n[0]),n[3]?o||(o=Lt(),o.c(),o.m(e,null)):o&&(o.d(1),o=null)},d(n){n&&x(e),o&&o.d()}}}function Lt(i){let e;return{c(){e=y("em"),e.textContent="(optional)"},m(t,r){w(t,e,r)},d(t){t&&x(e)}}}function Rt(i){let e,t;return{c(){e=y("div"),t=F(i[2]),d(e,"class","error-msg")},m(r,o){w(r,e,o),v(e,t)},p(r,o){o&4&&Z(t,r[2])},d(r){r&&x(e)}}}function Tt(i){let e,t;return{c(){e=y("div"),t=F(i[1]),d(e,"class","help-msg")},m(r,o){w(r,e,o),v(e,t)},p(r,o){o&2&&Z(t,r[1])},d(r){r&&x(e)}}}function lr(i){let e,t,r,o,n,a=i[0]&&Mt(i),l=i[2]&&Rt(i),s=i[1]&&Tt(i);return{c(){e=y("div"),a&&a.c(),t=A(),r=y("div"),r.innerHTML="<slot></slot>",o=A(),l&&l.c(),n=A(),s&&s.c(),this.c=_,d(r,"class","form-item-input"),d(e,"class","goa-form-item")},m(c,u){w(c,e,u),a&&a.m(e,null),v(e,t),v(e,r),v(e,o),l&&l.m(e,null),v(e,n),s&&s.m(e,null)},p(c,[u]){c[0]?a?a.p(c,u):(a=Mt(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[2]?l?l.p(c,u):(l=Rt(c),l.c(),l.m(e,n)):l&&(l.d(1),l=null),c[1]?s?s.p(c,u):(s=Tt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:_,o:_,d(c){c&&x(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function sr(i,e,t){let r,{label:o=""}=e,{helptext:n=""}=e,{error:a=""}=e,{optional:l}=e;return i.$$set=s=>{"label"in s&&t(0,o=s.label),"helptext"in s&&t(1,n=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=O(l))},[o,n,a,r,l]}class Ht extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{flex:1 1 auto;box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}label{display:block;font-weight:bold;color:#333;font-size:var(--fs-base);padding:0.5rem 0;max-height:2.5rem}label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--fs-sm);color:var(--color-black)}.error-msg{font-size:var(--fs-sm);color:var(--goa-color-status-emergency);margin-bottom:0.25rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},sr,lr,H,{label:0,helptext:1,error:2,optional:4},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["label","helptext","error","optional"]}get label(){return this.$$.ctx[0]}set label(e){this.$$set({label:e}),h()}get helptext(){return this.$$.ctx[1]}set helptext(e){this.$$set({helptext:e}),h()}get error(){return this.$$.ctx[2]}set error(e){this.$$set({error:e}),h()}get optional(){return this.$$.ctx[4]}set optional(e){this.$$set({optional:e}),h()}}customElements.define("goa-form-item",Ht);function cr(i){let e,t,r,o,n,a,l,s;return{c(){e=y("div"),t=y("goa-page-block"),r=y("h1"),o=F(i[0]),n=A(),a=y("div"),a.innerHTML="<slot></slot>",l=A(),s=y("slot"),this.c=_,d(r,"role","heading"),d(a,"class","goa-hero-banner-content"),d(a,"role","note"),d(s,"name","actions"),d(e,"class","goa-hero"),d(e,"data-testid","background"),S(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+i[1]+")"),S(e,"background-size","cover"),S(e,"background-position","center"),S(e,"background-repeat","no-repeat")},m(c,u){w(c,e,u),v(e,t),v(t,r),v(r,o),v(t,n),v(t,a),v(t,l),v(t,s)},p(c,[u]){u&1&&Z(o,c[0]),u&2&&S(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+c[1]+")")},i:_,o:_,d(c){c&&x(e)}}}function dr(i,e,t){let{title:r}=e,{backgroundurl:o}=e;return i.$$set=n=>{"title"in n&&t(0,r=n.title),"backgroundurl"in n&&t(1,o=n.backgroundurl)},[r,o]}class It extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;min-height:600px;border-bottom:8px solid var(--goa-color-brand);color:var(--color-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--color-white);font-size:var(--fs-3xl);line-height:var(--lh-2xl);font-weight:var(--fw-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},dr,cr,H,{title:0,backgroundurl:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["title","backgroundurl"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),h()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),h()}}customElements.define("goa-hero-banner",It);function jt(i){let e,t,r;return{c(){e=y("ion-icon"),k(e,"style",t=`width: ${i[2]}; height: ${i[2]}`),k(e,"name",r=i[1]==="filled"?i[0]:`${i[0]}-${i[1]}`)},m(o,n){w(o,e,n)},p(o,n){n&4&&t!==(t=`width: ${o[2]}; height: ${o[2]}`)&&k(e,"style",t),n&3&&r!==(r=o[1]==="filled"?o[0]:`${o[0]}-${o[1]}`)&&k(e,"name",r)},d(o){o&&x(e)}}}function ur(i){let e,t,r,o=i[0]&&jt(i);return{c(){e=y("div"),o&&o.c(),this.c=_,d(e,"class","goa-icon"),d(e,"data-testid",t=`icon-${i[0]}`),d(e,"style",r=`--size: ${i[2]}`),D(e,"inverted",i[3])},m(n,a){w(n,e,a),o&&o.m(e,null)},p(n,[a]){n[0]?o?o.p(n,a):(o=jt(n),o.c(),o.m(e,null)):o&&(o.d(1),o=null),a&1&&t!==(t=`icon-${n[0]}`)&&d(e,"data-testid",t),a&4&&r!==(r=`--size: ${n[2]}`)&&d(e,"style",r),a&8&&D(e,"inverted",n[3])},i:_,o:_,d(n){n&&x(e),o&&o.d()}}}function fr(i,e,t){let r,o,{type:n}=e,{size:a="medium"}=e,{theme:l="outline"}=e,{inverted:s}=e;return i.$$set=c=>{"type"in c&&t(0,n=c.type),"size"in c&&t(4,a=c.size),"theme"in c&&t(1,l=c.theme),"inverted"in c&&t(5,s=c.inverted)},i.$$.update=()=>{i.$$.dirty&32&&t(3,r=O(s)),i.$$.dirty&16&&t(2,o={small:"1.1rem",medium:"1.5rem",large:"2rem"}[a])},[n,l,o,r,a,s]}class Gt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}:host,.goa-icon{display:inline-flex;align-items:center}.goa-icon,.goa-icon *{box-sizing:border-box}.goa-icon{width:var(--size);height:var(--size)}.inverted{color:#fff;fill:#fff}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},fr,ur,H,{type:0,size:4,theme:1,inverted:5},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","theme","inverted"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[4]}set size(e){this.$$set({size:e}),h()}get theme(){return this.$$.ctx[1]}set theme(e){this.$$set({theme:e}),h()}get inverted(){return this.$$.ctx[5]}set inverted(e){this.$$set({inverted:e}),h()}}customElements.define("goa-icon",Gt);function gr(i){let e,t,r,o;return{c(){e=y("button"),t=y("goa-icon"),this.c=_,k(t,"type",i[0]),k(t,"size",i[1]),k(t,"theme",i[2]),k(t,"inverted",i[5]),S(e,"--size",i[6]),d(e,"title",i[3]),e.disabled=i[7],d(e,"class",i[8]),d(e,"data-testid",i[4])},m(n,a){w(n,e,a),v(e,t),r||(o=U(e,"click",hr),r=!0)},p(n,[a]){a&1&&k(t,"type",n[0]),a&2&&k(t,"size",n[1]),a&4&&k(t,"theme",n[2]),a&32&&k(t,"inverted",n[5]),a&64&&S(e,"--size",n[6]),a&8&&d(e,"title",n[3]),a&128&&(e.disabled=n[7]),a&256&&d(e,"class",n[8]),a&16&&d(e,"data-testid",n[4])},i:_,o:_,d(n){n&&x(e),r=!1,o()}}}function hr(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function mr(i,e,t){let r,o,n,a,{type:l}=e,{size:s="medium"}=e,{theme:c="outline"}=e,{variant:u="color"}=e,{title:f=""}=e,{testId:g=""}=e,{disabled:b}=e,{inverted:m}=e;return i.$$set=p=>{"type"in p&&t(0,l=p.type),"size"in p&&t(1,s=p.size),"theme"in p&&t(2,c=p.theme),"variant"in p&&t(9,u=p.variant),"title"in p&&t(3,f=p.title),"testId"in p&&t(4,g=p.testId),"disabled"in p&&t(10,b=p.disabled),"inverted"in p&&t(11,m=p.inverted)},i.$$.update=()=>{i.$$.dirty&2048&&t(5,n=O(m)),i.$$.dirty&544&&t(8,r=`goa-icon-button goa-icon-button--${u} ${n?"goa-icon-button--inverted":""}`),i.$$.dirty&1024&&t(7,o=O(b)),i.$$.dirty&2&&t(6,a={small:"1rem",medium:"1.5rem",large:"2rem"}[s])},[l,s,c,f,g,n,a,o,r,u,b,m]}class Ot extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:flex;align-items:center;box-sizing:border-box;font-family:var(--font-family)}.goa-icon-button,.goa-icon-button *{box-sizing:border-box}.goa-icon-button{display:inline-flex;align-items:center;background:transparent;cursor:pointer;padding:0;border:none}.goa-icon-button--color{border-radius:0.5rem;padding:calc(var(--size) / 4)}.goa-icon-button--color{border-radius:0.5rem;color:var(--goa-color-interactive);fill:var(--goa-color-interactive);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.goa-icon-button--color:active,.goa-icon-button--nocolor:active{transform:scale(0.9)}.goa-icon-button--color:hover{background-color:var(--goa-color-primary-light)}.goa-icon-button--color.goa-icon-button--inverted:hover{background-color:var(--goa-color-primary-dark)}.goa-icon-button:disabled{color:var(--color-gray-200);fill:var(--color-gray-200);transform:none;cursor:default}.goa-icon-button:disabled:hover{background-color:transparent}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},mr,gr,H,{type:0,size:1,theme:2,variant:9,title:3,testId:4,disabled:10,inverted:11},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","theme","variant","title","testId","disabled","inverted"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get theme(){return this.$$.ctx[2]}set theme(e){this.$$set({theme:e}),h()}get variant(){return this.$$.ctx[9]}set variant(e){this.$$set({variant:e}),h()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),h()}get testId(){return this.$$.ctx[4]}set testId(e){this.$$set({testId:e}),h()}get disabled(){return this.$$.ctx[10]}set disabled(e){this.$$set({disabled:e}),h()}get inverted(){return this.$$.ctx[11]}set inverted(e){this.$$set({inverted:e}),h()}}customElements.define("goa-icon-button",Ot);function Dt(i){let e,t;return{c(){e=y("div"),t=y("goa-icon"),k(t,"data-testid","leading-icon"),k(t,"type",i[4]),d(e,"class","goa-input-leading-icon")},m(r,o){w(r,e,o),v(e,t)},p(r,o){o&16&&k(t,"type",r[4])},d(r){r&&x(e)}}}function St(i){let e,t;return{c(){e=y("div"),t=y("goa-icon"),k(t,"data-testid","trailing-icon"),k(t,"size","medium"),k(t,"type",i[5]),d(e,"class","goa-input-trailing-icon")},m(r,o){w(r,e,o),v(e,t)},p(r,o){o&32&&k(t,"type",r[5])},d(r){r&&x(e)}}}function Bt(i){let e,t,r,o;return{c(){e=y("div"),t=y("goa-icon-button"),k(t,"disabled",i[10]),k(t,"variant","nocolor"),k(t,"size","medium"),k(t,"type",i[5]),k(t,"data-testid","trailing-icon-button"),d(e,"class","goa-input-trailing-icon")},m(n,a){w(n,e,a),v(e,t),r||(o=U(t,"click",vr),r=!0)},p(n,a){a&1024&&k(t,"disabled",n[10]),a&32&&k(t,"type",n[5])},d(n){n&&x(e),r=!1,o()}}}function br(i){let e,t,r,o,n,a,l,s,c,u=i[4]&&Dt(i),f=i[5]&&!i[13]&&St(i),g=i[5]&&i[13]&&Bt(i);return{c(){e=y("div"),u&&u.c(),t=A(),r=y("input"),n=A(),f&&f.c(),a=A(),g&&g.c(),this.c=_,d(r,"class",o=`input--${i[6]}`),r.readOnly=i[12],r.disabled=i[10],d(r,"data-testid",i[7]),d(r,"name",i[1]),d(r,"type",i[0]),r.value=i[2],d(r,"placeholder",i[3]),d(e,"style:width",i[8]),d(e,"class",l=`
|
|
4
|
+
}`,f=`__svelte_${xi(u)}_${l}`,h=Qe(i);je.add(h);const y=h.__svelte_stylesheet||(h.__svelte_stylesheet=pi(i).sheet),g=h.__svelte_rules||(h.__svelte_rules={});g[f]||(g[f]=!0,y.insertRule(`@keyframes ${f} ${u}`,y.cssRules.length));const b=i.style.animation||"";return i.style.animation=`${b?`${b}, `:""}${f} ${r}ms linear ${o}ms 1 both`,Ee+=1,f}function Ae(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?n=>n.indexOf(e)<0:n=>n.indexOf("__svelte")===-1),o=t.length-r.length;o&&(i.style.animation=r.join(", "),Ee-=o,Ee||zi())}function zi(){Ie(()=>{Ee||(je.forEach(i=>{const e=i.__svelte_stylesheet;let t=e.cssRules.length;for(;t--;)e.deleteRule(t);i.__svelte_rules={}}),je.clear())})}let me;function be(i){me=i}function $e(){if(!me)throw new Error("Function called outside component initialization");return me}function Ge(i){$e().$$.on_mount.push(i)}function Oe(i){$e().$$.on_destroy.push(i)}const ve=[],de=[],Me=[],et=[],tt=Promise.resolve();let De=!1;function it(){De||(De=!0,tt.then(m))}function rt(){return it(),tt}function J(i){Me.push(i)}const Se=new Set;let Re=0;function m(){const i=me;do{for(;Re<ve.length;){const e=ve[Re];Re++,be(e),Ei(e.$$)}for(be(null),ve.length=0,Re=0;de.length;)de.pop()();for(let e=0;e<Me.length;e+=1){const t=Me[e];Se.has(t)||(Se.add(t),t())}Me.length=0}while(ve.length);for(;et.length;)et.pop()();De=!1,Se.clear(),be(i)}function Ei(i){if(i.fragment!==null){i.update(),Q(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(J)}}let ye;function Be(){return ye||(ye=Promise.resolve(),ye.then(()=>{ye=null})),ye}function ne(i,e,t){i.dispatchEvent(ki(`${e?"intro":"outro"}${t}`))}const Le=new Set;let K;function pe(){K={r:0,c:[],p:K}}function _e(){K.r||Q(K.c),K=K.p}function N(i,e){i&&i.i&&(Le.delete(i),i.i(e))}function W(i,e,t,r){if(i&&i.o){if(Le.has(i))return;Le.add(i),K.c.push(()=>{Le.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}}const Pe={duration:0};function ot(i,e,t){let r=e(i,t),o=!1,n,a,l=0;function s(){n&&Ae(i,n)}function c(){const{delay:f=0,duration:h=300,easing:y=he,tick:g=_,css:b}=r||Pe;b&&(n=Ce(i,0,1,h,f,y,b,l++)),g(0,1);const E=xe()+f,z=E+h;a&&a.abort(),o=!0,J(()=>ne(i,!0,"start")),a=ze(C=>{if(o){if(C>=z)return g(1,0),ne(i,!0,"end"),s(),o=!1;if(C>=E){const L=y((C-E)/h);g(L,1-L)}}return o})}let u=!1;return{start(){u||(u=!0,Ae(i),oe(r)?(r=r(),Be().then(c)):c())},invalidate(){u=!1},end(){o&&(s(),o=!1)}}}function at(i,e,t){let r=e(i,t),o=!0,n;const a=K;a.r+=1;function l(){const{delay:s=0,duration:c=300,easing:u=he,tick:f=_,css:h}=r||Pe;h&&(n=Ce(i,1,0,c,s,u,h));const y=xe()+s,g=y+c;J(()=>ne(i,!1,"start")),ze(b=>{if(o){if(b>=g)return f(0,1),ne(i,!1,"end"),--a.r||Q(a.c),!1;if(b>=y){const E=u((b-y)/c);f(1-E,E)}}return o})}return oe(r)?Be().then(()=>{r=r(),l()}):l(),{end(s){s&&r.tick&&r.tick(1,0),o&&(n&&Ae(i,n),o=!1)}}}function Te(i,e,t,r){let o=e(i,t),n=r?0:1,a=null,l=null,s=null;function c(){s&&Ae(i,s)}function u(h,y){const g=h.b-n;return y*=Math.abs(g),{a:n,b:h.b,d:g,duration:y,start:h.start,end:h.start+y,group:h.group}}function f(h){const{delay:y=0,duration:g=300,easing:b=he,tick:E=_,css:z}=o||Pe,C={start:xe()+y,b:h};h||(C.group=K,K.r+=1),a||l?l=C:(z&&(c(),s=Ce(i,n,h,g,y,b,z)),h&&E(0,1),a=u(C,g),J(()=>ne(i,h,"start")),ze(L=>{if(l&&L>l.start&&(a=u(l,g),l=null,ne(i,a.b,"start"),z&&(c(),s=Ce(i,n,a.b,a.duration,0,b,o.css))),a){if(L>=a.end)E(n=a.b,1-n),ne(i,a.b,"end"),l||(a.b?c():--a.group.r||Q(a.group.c)),a=null;else if(L>=a.start){const V=L-a.start;n=a.a+a.d*b(V/a.duration),E(n,1-n)}}return!!(a||l)}))}return{run(h){oe(o)?Be().then(()=>{o=o(),f(h)}):f(h)},end(){c(),a=l=null}}}function ie(i){i&&i.c()}function $(i,e,t,r){const{fragment:o,on_mount:n,on_destroy:a,after_update:l}=i.$$;o&&o.m(e,t),r||J(()=>{const s=n.map(He).filter(oe);a?a.push(...s):Q(s),i.$$.on_mount=[]}),l.forEach(J)}function ee(i,e){const t=i.$$;t.fragment!==null&&(Q(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function Ci(i,e){i.$$.dirty[0]===-1&&(ve.push(i),it(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function G(i,e,t,r,o,n,a,l=[-1]){const s=me;be(i);const c=i.$$={fragment:null,ctx:null,props:n,update:_,not_equal:o,bound:Ue(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:Ue(),dirty:l,skip_bound:!1,root:e.target||s.$$.root};a&&a(c.root);let u=!1;if(c.ctx=t?t(i,e.props||{},(f,h,...y)=>{const g=y.length?y[0]:h;return c.ctx&&o(c.ctx[f],c.ctx[f]=g)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](g),u&&Ci(i,f)),h}):[],c.update(),u=!0,Q(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=wi(e.target);c.fragment&&c.fragment.l(f),f.forEach(x)}else c.fragment&&c.fragment.c();e.intro&&N(i.$$.fragment),$(i,e.target,e.anchor,e.customElement),m()}be(s)}let I;typeof HTMLElement=="function"&&(I=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(He).filter(oe);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){Q(this.$$.on_disconnect)}$destroy(){ee(this,1),this.$destroy=_}$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&&!bi(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});function Ai(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",this.c=_,d(e,"class","page-content")},m(t,r){w(t,e,r)},p:_,i:_,o:_,d(t){t&&x(e)}}}class nt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.page-content{max-width:var(--page-width-max);margin:0 auto;padding:0 1.75rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Ai,H,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-page-block",nt);function Mi(i){let e,t,r,o,n,a,l,s,c,u,f,h;return{c(){e=p("div"),t=p("a"),r=p("img"),n=A(),a=p("img"),s=A(),c=p("span"),u=F(i[1]),f=A(),h=p("div"),h.innerHTML="<slot></slot>",this.c=_,d(r,"alt","GoA Logo"),d(r,"class","image-mobile"),Xe(r.src,o="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||d(r,"src",o),d(a,"alt","GoA Logo"),d(a,"class","image-desktop"),Xe(a.src,l="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||d(a,"src",l),d(c,"class","title"),d(t,"href",i[0]),d(t,"class","app-link"),d(e,"class","app-header"),d(e,"data-testid",i[2])},m(y,g){w(y,e,g),v(e,t),v(t,r),v(t,n),v(t,a),v(t,s),v(t,c),v(c,u),v(e,f),v(e,h)},p(y,[g]){g&2&&Z(u,y[1]),g&1&&d(t,"href",y[0]),g&4&&d(e,"data-testid",y[2])},i:_,o:_,d(y){y&&x(e)}}}function Ri(i,e,t){let{url:r="#"}=e,{title:o=""}=e,{testid:n=""}=e;return i.$$set=a=>{"url"in a&&t(0,r=a.url),"title"in a&&t(1,o=a.title),"testid"in a&&t(2,n=a.testid)},[r,o,n]}class lt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.app-header{display:flex;align-items:center;justify-content:space-between;margin:0 auto;padding:1rem 0;border-bottom:1px solid var(--color-gray-100)}.app-link{display:flex;align-items:center;text-decoration:none;color:inherit}.title{margin-left:0.5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-desktop{display:none}.image-mobile{display:block}@media(min-width: 768px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ri,Mi,H,{url:0,title:1,testid:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["url","title","testid"]}get url(){return this.$$.ctx[0]}set url(e){this.$$set({url:e}),m()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),m()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),m()}}customElements.define("goa-app-header",lt);function O(i){return i==="false"?!1:i===""?!0:!!i}function Li(i){return i?"true":"false"}function Ti(i){let e;return{c(){e=p("div"),S(e,"height","1.2rem"),S(e,"margin-left","-0.25rem")},m(t,r){w(t,e,r)},p:_,d(t){t&&x(e)}}}function Hi(i){let e;return{c(){e=p("goa-icon"),k(e,"type",i[3]),k(e,"size","small")},m(t,r){w(t,e,r)},p(t,r){r&8&&k(e,"type",t[3])},d(t){t&&x(e)}}}function st(i){let e,t;return{c(){e=p("div"),t=F(i[2]),d(e,"class","goa-badge-content")},m(r,o){w(r,e,o),v(e,t)},p(r,o){o&4&&Z(t,r[2])},d(r){r&&x(e)}}}function Ii(i){let e,t,r;function o(s,c){return s[4]?Hi:Ti}let n=o(i),a=n(i),l=i[2]&&st(i);return{c(){e=p("div"),a.c(),t=A(),l&&l.c(),this.c=_,d(e,"data-testid",i[1]),d(e,"data-type","goa-badge"),d(e,"class",r="goa-badge badge-"+i[0]),D(e,"icon-only",i[4]&&!i[2])},m(s,c){w(s,e,c),a.m(e,null),v(e,t),l&&l.m(e,null)},p(s,[c]){n===(n=o(s))&&a?a.p(s,c):(a.d(1),a=n(s),a&&(a.c(),a.m(e,t))),s[2]?l?l.p(s,c):(l=st(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),c&2&&d(e,"data-testid",s[1]),c&1&&r!==(r="goa-badge badge-"+s[0])&&d(e,"class",r),c&21&&D(e,"icon-only",s[4]&&!s[2])},i:_,o:_,d(s){s&&x(e),a.d(),l&&l.d()}}}function ji(i,e,t){let r,o,{type:n}=e,{testid:a=""}=e,{icon:l="false"}=e,{content:s=""}=e;return i.$$set=c=>{"type"in c&&t(0,n=c.type),"testid"in c&&t(1,a=c.testid),"icon"in c&&t(5,l=c.icon),"content"in c&&t(2,s=c.content)},i.$$.update=()=>{i.$$.dirty&32&&t(4,r=O(l)),i.$$.dirty&1&&t(3,o={success:"checkmark-circle",warning:"alert-circle",information:"information-circle",emergency:"warning",inactive:"information-circle",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[n])},[n,a,s,o,r,l]}class ct extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--fw-regular)}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--color-status-info)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--goa-color-text-light)}.goa-badge.badge-warning{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.goa-badge.badge-emergency{background-color:var(--goa-color-status-emergency);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--color-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--color-gray-600);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--color-white);color:var(--goa-color-text)}.goa-badge.badge-inactive{background-color:var(--color-white);color:var(--goa-color-text)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},ji,Ii,H,{type:0,testid:1,icon:5,content:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type","testid","icon","content"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),m()}get icon(){return this.$$.ctx[5]}set icon(e){this.$$set({icon:e}),m()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),m()}}customElements.define("goa-badge",ct);function Gi(i){let e,t,r,o,n;return{c(){e=p("button"),t=p("slot"),this.c=_,d(e,"class",r=""+(i[0]+" "+i[1]+" "+i[2])),d(e,"title",i[3]),e.disabled=i[5],d(e,"data-testid",i[4])},m(a,l){w(a,e,l),v(e,t),o||(n=U(e,"click",Oi),o=!0)},p(a,[l]){l&7&&r!==(r=""+(a[0]+" "+a[1]+" "+a[2]))&&d(e,"class",r),l&8&&d(e,"title",a[3]),l&32&&(e.disabled=a[5]),l&16&&d(e,"data-testid",a[4])},i:_,o:_,d(a){a&&x(e),o=!1,n()}}}function Oi(i){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),i.stopPropagation()}function Di(i,e,t){let r,{type:o="primary"}=e,{size:n="medium"}=e,{variant:a="default"}=e,{title:l=""}=e,{disabled:s="false"}=e,{testid:c=""}=e;return i.$$set=u=>{"type"in u&&t(0,o=u.type),"size"in u&&t(1,n=u.size),"variant"in u&&t(2,a=u.variant),"title"in u&&t(3,l=u.title),"disabled"in u&&t(6,s=u.disabled),"testid"in u&&t(4,c=u.testid)},i.$$.update=()=>{i.$$.dirty&64&&t(5,r=O(s))},[o,n,a,l,c,r,s]}class dt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@media(max-width: 320px){:host{width:100%}button{width:100%}}button{border-radius:0.25rem;border:2px solid var(--goa-color-interactive);box-sizing:border-box;cursor:pointer;font-size:var(--fs-base, 1rem);font-weight:700;line-height:2.375rem;padding:0 0.75rem;display:flex;gap:0.25rem;align-items:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;transform:scaleX(1)}button.primary{border:2px solid var(--goa-color-interactive);background:var(--goa-color-interactive);color:var(--color-white, white)}button.primary:hover{border-color:var(--goa-color-interactive--hover);background:var(--goa-color-interactive--hover)}button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive--highlight);border-color:var(--goa-color-interactive--active);background:var(--goa-color-interactive--active);outline:none}button.secondary{border:2px solid var(--goa-color-interactive);background:var(--color-white);color:var(--goa-color-interactive)}button.secondary:hover{border-color:var(--goa-color-interactive--hover);color:var(--goa-color-interactive--hover);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--highlight);background:var(--color-gray-100);outline:none}button.tertiary{border:1px solid var(--color-gray-200);background:var(--color-white);color:var(--goa-color-interactive)}button.tertiary:hover{border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--goa-color-interactive--active);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--highlight);outline:none}button.borderless{background:none;color:var(--goa-color-interactive);border:none}button.borderless:hover{background-color:var(--goa-color-primary-light);color:var(--goa-color-interactive--hover)}button.borderless:focus,button.borderless:active{outline:none;box-shadow:none;background-color:var(--goa-color-primary-light)}.primary.danger{color:var(--color-white);background:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.primary.danger:hover{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.primary.danger:focus,.primary.danger:active{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.secondary.danger{color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);background:var(--color-white)}.secondary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.secondary.danger:focus,.secondary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}button:disabled{pointer-events:none;color:var(--color-gray-600);background-color:var(--color-gray-100);border-color:var(--color-gray-100)}.tertiary.danger{color:var(--goa-color-status-emergency);border-color:var(--color-gray-200);background:var(--color-white)}.tertiary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.danger:focus,.tertiary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.borderless.danger{color:var(--goa-color-status-emergency)}.borderless.danger:hover{background:var(--goa-color-emergency-light);color:var(--goa-color-status-emergency-dark)}.borderless.danger:focus,.borderless.danger:active{background:var(--goa-color-emergency-light);color:var(--goa-color-status-emergency-dark)}.large{font-size:var(--fs-lg);line-height:3rem}.large.borderless{line-height:calc(3rem + 4px)}.medium{font-size:var(--fs-base);line-height:2.375rem}.medium.borderless{line-height:calc(2.375rem + 4px)}.small{font-size:var(--fs-sm);line-height:1.75rem}.small.borderless{line-height:calc(1.75rem + 4px)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Di,Gi,H,{type:0,size:1,variant:2,title:3,disabled:6,testid:4},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type","size","variant","title","disabled","testid"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),m()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),m()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),m()}get disabled(){return this.$$.ctx[6]}set disabled(e){this.$$set({disabled:e}),m()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),m()}}customElements.define("goa-button",dt);function Si(i){let e,t;return{c(){e=p("div"),t=p("slot"),this.c=_,S(e,"--alignment","flex-"+i[1]),S(e,"--gap-size",i[0]==="small"?"0.5rem":"1rem")},m(r,o){w(r,e,o),v(e,t)},p(r,[o]){o&2&&S(e,"--alignment","flex-"+r[1]),o&1&&S(e,"--gap-size",r[0]==="small"?"0.5rem":"1rem")},i:_,o:_,d(r){r&&x(e)}}}function Bi(i,e,t){let{gap:r="medium"}=e,{alignment:o}=e;return i.$$set=n=>{"gap"in n&&t(0,r=n.gap),"alignment"in n&&t(1,o=n.alignment)},[r,o]}class ut extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}div{display:flex;flex-direction:row;justify-content:var(--alignment);flex-wrap:wrap;gap:var(--gap-size)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Bi,Si,H,{gap:0,alignment:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["gap","alignment"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),m()}get alignment(){return this.$$.ctx[1]}set alignment(e){this.$$set({alignment:e}),m()}}customElements.define("goa-button-group",ut);function Pi(i){let e,t,r,o,n,a,l,s,c,u,f;return{c(){e=p("div"),t=p("span"),r=p("goa-icon"),a=A(),l=p("span"),s=p("h3"),c=F(i[1]),u=A(),f=p("slot"),this.c=_,k(r,"type",i[3]),k(r,"inverted",o=i[0]==="important"?"false":"true"),d(t,"class",n="icon "+i[0]),d(l,"class","content"),d(e,"class","notification"),d(e,"data-testid",i[2])},m(h,y){w(h,e,y),v(e,t),v(t,r),v(e,a),v(e,l),v(l,s),v(s,c),v(l,u),v(l,f)},p(h,[y]){y&8&&k(r,"type",h[3]),y&1&&o!==(o=h[0]==="important"?"false":"true")&&k(r,"inverted",o),y&1&&n!==(n="icon "+h[0])&&d(t,"class",n),y&2&&Z(c,h[1]),y&4&&d(e,"data-testid",h[2])},i:_,o:_,d(h){h&&x(e)}}}function Ni(i,e,t){let r,{type:o}=e,{title:n}=e,{testid:a=""}=e;return i.$$set=l=>{"type"in l&&t(0,o=l.type),"title"in l&&t(1,n=l.title),"testid"in l&&t(2,a=l.testid)},i.$$.update=()=>{i.$$.dirty&1&&t(3,r=o==="emergency"?"warning":o==="important"?"alert-circle":o==="information"?"information-circle":o==="success"?"checkmark-circle":o==="event"?"calendar":"")},[o,n,a,r]}class ft extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{display:flex;align-items:stretch;border-radius:3px;overflow:hidden;margin-bottom:1.75rem}h3{font-size:var(--fs-xl);line-height:var(--lh-base);font-weight:var(--fw-regular);margin-top:0}.emergency{background-color:var(--goa-color-status-emergency)}.important{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info)}.event{background-color:var(--goa-color-status-info)}.success{background-color:var(--goa-color-status-success)}.icon{flex:0 0 3rem;text-align:center;padding-top:1.5rem}.content{flex:1 1 auto;background-color:var(--color-gray-100);padding:1.5rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ni,Pi,H,{type:0,title:1,testid:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type","title","testid"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),m()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),m()}}customElements.define("goa-callout",ft);function Fi(i){let e,t,r;return{c(){e=p("div"),t=p("slot"),this.c=_,d(e,"data-testid",i[2]),d(e,"class","card"),d(e,"style",r="--width: "+i[1]+"px; "+(i[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(o,n){w(o,e,n),v(e,t)},p(o,[n]){n&4&&d(e,"data-testid",o[2]),n&3&&r!==(r="--width: "+o[1]+"px; "+(o[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${o[0]});`)+"")&&d(e,"style",r)},i:_,o:_,d(o){o&&x(e)}}}function qi(i,e,t){let{elevation:r=0}=e,{width:o=320}=e,{testId:n=""}=e;return i.$$set=a=>{"elevation"in a&&t(0,r=a.elevation),"width"in a&&t(1,o=a.width),"testId"in a&&t(2,n=a.testId)},[r,o,n]}class gt extends I{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card{display:flex;flex-direction:column;background-color:var(--color-white);border-radius:4px;overflow:hidden;width:100%}@media(min-width: 320px){.card{width:var(--width);margin:0 auto
|
|
5
|
+
}}</style>`,G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},qi,Fi,H,{elevation:0,width:1,testId:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["elevation","width","testId"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),m()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),m()}get testId(){return this.$$.ctx[2]}set testId(e){this.$$set({testId:e}),m()}}customElements.define("goa-card",gt);function Wi(i){let e;return{c(){e=p("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=_},m(t,r){w(t,e,r)},p:_,i:_,o:_,d(t){t&&x(e)}}}class ht extends I{constructor(e){super();G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Wi,H,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-card-actions",ht);function Vi(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",this.c=_,d(e,"class","card-content")},m(t,r){w(t,e,r)},p:_,i:_,o:_,d(t){t&&x(e)}}}class mt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Vi,H,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-card-content",mt);function Zi(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",this.c=_,d(e,"class","card-group")},m(t,r){w(t,e,r)},p:_,i:_,o:_,d(t){t&&x(e)}}}class bt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Zi,H,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-card-group",bt);function Ui(i){let e;return{c(){e=p("div"),this.c=_,d(e,"class","card-image"),S(e,"background-image","url("+i[0]+")"),S(e,"height",i[1]),S(e,"background-size","cover"),S(e,"background-position","center")},m(t,r){w(t,e,r)},p(t,[r]){r&1&&S(e,"background-image","url("+t[0]+")"),r&2&&S(e,"height",t[1])},i:_,o:_,d(t){t&&x(e)}}}function Xi(i,e,t){let{src:r}=e,{height:o="100%"}=e;return i.$$set=n=>{"src"in n&&t(0,r=n.src),"height"in n&&t(1,o=n.height)},[r,o]}class vt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Xi,Ui,H,{src:0,height:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["src","height"]}get src(){return this.$$.ctx[0]}set src(e){this.$$set({src:e}),m()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),m()}}customElements.define("goa-card-image",vt);function Ji(i){let e,t;return{c(){e=ae("svg"),t=ae("path"),d(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),d(e,"id","checkmark"),d(e,"data-testid","checkmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 16 12.18")},m(r,o){w(r,e,o),v(e,t)},d(r){r&&x(e)}}}function Ki(i){let e,t;return{c(){e=ae("svg"),t=ae("rect"),d(t,"width","15"),d(t,"height","2"),d(e,"id","dashmark"),d(e,"data-testid","dashmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 15 2")},m(r,o){w(r,e,o),v(e,t)},d(r){r&&x(e)}}}function Yi(i){let e,t,r,o,n,a,l,s,c,u,f;function h(b,E){if(b[5])return Ki;if(b[4])return Ji}let y=h(i),g=y&&y(i);return{c(){e=p("label"),t=p("div"),r=p("input"),n=A(),g&&g.c(),a=A(),l=p("div"),s=p("slot"),c=F(i[1]),this.c=_,d(r,"id",i[8]),d(r,"data-testid",i[3]),d(r,"name",i[0]),r.checked=i[4],r.disabled=i[7],d(r,"type","checkbox"),r.value=o=`${i[2]}`,d(t,"class","goa-checkbox-container"),D(t,"goa-checkbox--selected",i[4]),d(s,"name","main"),d(l,"class","goa-checkbox-text"),d(l,"data-testid","text"),d(e,"for",i[8]),d(e,"class","goa-checkbox"),D(e,"goa-checkbox--disabled",i[7]),D(e,"goa-checkbox--error",i[6])},m(b,E){w(b,e,E),v(e,t),v(t,r),v(t,n),g&&g.m(t,null),v(e,a),v(e,l),v(l,s),v(s,c),u||(f=U(r,"change",i[9]),u=!0)},p(b,[E]){E&256&&d(r,"id",b[8]),E&8&&d(r,"data-testid",b[3]),E&1&&d(r,"name",b[0]),E&16&&(r.checked=b[4]),E&128&&(r.disabled=b[7]),E&4&&o!==(o=`${b[2]}`)&&(r.value=o),y!==(y=h(b))&&(g&&g.d(1),g=y&&y(b),g&&(g.c(),g.m(t,null))),E&16&&D(t,"goa-checkbox--selected",b[4]),E&2&&Z(c,b[1]),E&256&&d(e,"for",b[8]),E&128&&D(e,"goa-checkbox--disabled",b[7]),E&64&&D(e,"goa-checkbox--error",b[6])},i:_,o:_,d(b){b&&x(e),g&&g.d(),u=!1,f()}}}function Qi(i,e,t){let r,o,n,a,l,{name:s}=e,{text:c=""}=e,{value:u=""}=e,{checked:f}=e,{disabled:h}=e,{error:y}=e,{testid:g=""}=e;function b(E){const z=!a,C=z?`${u||"checked"}`:"";E.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:s,checked:z,value:C}}))}return i.$$set=E=>{"name"in E&&t(0,s=E.name),"text"in E&&t(1,c=E.text),"value"in E&&t(2,u=E.value),"checked"in E&&t(10,f=E.checked),"disabled"in E&&t(11,h=E.disabled),"error"in E&&t(12,y=E.error),"testid"in E&&t(3,g=E.testid)},i.$$.update=()=>{i.$$.dirty&1&&t(8,r=`id-${s}`),i.$$.dirty&2048&&t(7,o=O(h)),i.$$.dirty&4096&&t(6,n=O(y)),i.$$.dirty&1024&&t(4,a=O(f))},t(5,l=!1),[s,c,u,g,a,l,n,o,r,b,f,h,y]}class yt extends I{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled{opacity:40%}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--color-gray-600);border-radius:2px;background-color:var(--color-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px}.goa-checkbox-container svg{fill:var(--color-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive--hover)}.goa-checkbox-container:hover{border:1px solid var(--goa-color-interactive)}.goa-checkbox-container:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--highlight);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--fw-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--color-gray-500)}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-status-emergency);background-color:var(--color-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-status-emergency)}</style>',G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Qi,Yi,H,{name:0,text:1,value:2,checked:10,disabled:11,error:12,testid:3},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["name","text","value","checked","disabled","error","testid"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),m()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),m()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),m()}get checked(){return this.$$.ctx[10]}set checked(e){this.$$set({checked:e}),m()}get disabled(){return this.$$.ctx[11]}set disabled(e){this.$$set({disabled:e}),m()}get error(){return this.$$.ctx[12]}set error(e){this.$$set({error:e}),m()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),m()}}customElements.define("goa-checkbox",yt);function $i(i){let e,t,r,o,n,a,l,s,c;return{c(){e=p("div"),t=p("header"),r=p("div"),r.innerHTML='<slot name="title"></slot>',o=A(),n=p("div"),n.innerHTML='<slot name="actions"></slot>',l=A(),s=p("div"),s.innerHTML="<slot></slot>",this.c=_,d(r,"class","title"),d(n,"class","actions"),d(t,"class",a="heading--"+i[1]),d(s,"class","content"),d(e,"class",c="goa-container goa-container--"+i[0])},m(u,f){w(u,e,f),v(e,t),v(t,r),v(t,o),v(t,n),v(e,l),v(e,s)},p(u,[f]){f&2&&a!==(a="heading--"+u[1])&&d(t,"class",a),f&1&&c!==(c="goa-container goa-container--"+u[0])&&d(e,"class",c)},i:_,o:_,d(u){u&&x(e)}}}function er(i,e,t){let{variant:r="default"}=e,{headingsize:o="large"}=e;return i.$$set=n=>{"variant"in n&&t(0,r=n.variant),"headingsize"in n&&t(1,o=n.headingsize)},[r,o]}class pt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);font-size:var(--fs-base)}.goa-container{margin-bottom:1rem;box-sizing:border-box}.goa-container *{box-sizing:border-box}header{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--fs-base);border-width:1px;border-style:solid;border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);padding-left:1.5rem;padding-right:1.5rem}.content{padding:1.5rem;border-bottom:1px solid var(--color-gray-200);border-left:1px solid var(--color-gray-200);border-right:1px solid var(--color-gray-200);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.goa-container--default header{background-color:var(--color-gray-100);border-color:var(--color-gray-200);color:var(--color-black)}.goa-container--primary header{background-color:var(--goa-color-brand);border-color:var(--goa-color-brand);color:var(--color-white)}.goa-container--info header{background-color:var(--goa-color-status-info);border-color:var(--goa-color-status-info);color:var(--color-white)}.goa-container--error header{background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);color:var(--color-white)}.goa-container--success header{background-color:var(--goa-color-status-success);border-color:var(--goa-color-status-success);color:var(--color-white)}.goa-container--warning header{background-color:var(--goa-color-status-warning);border-color:var(--goa-color-status-warning);color:var(--color-white)}.heading--large{padding:0.5rem 1.5rem;max-height:3rem;min-height:1rem}.heading--large .title{line-height:2rem}.heading--small{height:0.5rem}.heading--none{display:none}.heading--none~.content{border-top:1px solid var(--color-gray-200);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.heading--small .title,.heading--small .actions{display:none}.actions{display:flex;align-items:center}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},er,$i,H,{variant:0,headingsize:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["variant","headingsize"]}get variant(){return this.$$.ctx[0]}set variant(e){this.$$set({variant:e}),m()}get headingsize(){return this.$$.ctx[1]}set headingsize(e){this.$$set({headingsize:e}),m()}}customElements.define("goa-container",pt);const ue=[];function Ne(i,e=_){let t;const r=new Set;function o(l){if(H(i,l)&&(i=l,t)){const s=!ue.length;for(const c of r)c[1](),ue.push(c,i);if(s){for(let c=0;c<ue.length;c+=2)ue[c][0](ue[c+1]);ue.length=0}}}function n(l){o(l(i))}function a(l,s=_){const c=[l,s];return r.add(c),r.size===1&&(t=e(o)||_),l(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:o,update:n,subscribe:a}}const te=Ne({});function _t(i){let e,t,r,o;return{c(){e=p("div"),d(e,"data-testid",t=`${i[0]}-dropdown-background`),d(e,"class","goa-dropdown-background")},m(n,a){w(n,e,a),r||(o=U(e,"click",i[12]),r=!0)},p(n,a){a&1&&t!==(t=`${n[0]}-dropdown-background`)&&d(e,"data-testid",t)},d(n){n&&x(e),r=!1,o()}}}function wt(i){let e,t,r,o,n,a,l;return{c(){e=p("div"),t=p("goa-input"),k(t,"disabled",i[10]),k(t,"leadingicon",i[1]),k(t,"placeholder",i[3]),k(t,"id",r=`${i[0]}-dropdown-input`),k(t,"name","search"),k(t,"readonly",""),k(t,"trailingicon","chevron-down"),k(t,"handletrailingiconclick",""),k(t,"type","text"),k(t,"value",o=i[4].join(", ")),d(e,"data-testid",n=`${i[0]}-dropdown`)},m(s,c){w(s,e,c),v(e,t),a||(l=U(t,"focus",i[11]),a=!0)},p(s,c){c&1024&&k(t,"disabled",s[10]),c&2&&k(t,"leadingicon",s[1]),c&8&&k(t,"placeholder",s[3]),c&1&&r!==(r=`${s[0]}-dropdown-input`)&&k(t,"id",r),c&16&&o!==(o=s[4].join(", "))&&k(t,"value",o),c&1&&n!==(n=`${s[0]}-dropdown`)&&d(e,"data-testid",n)},d(s){s&&x(e),a=!1,l()}}}function kt(i){let e,t,r,o,n,a=i[9]&&xt(i);return{c(){e=p("div"),a&&a.c(),t=A(),r=p("ul"),o=p("slot"),d(r,"class","goa-dropdown-list"),d(r,"style",n=`overflow-y: auto; max-height: ${i[2]||zt}px`),d(e,"class","menu")},m(l,s){w(l,e,s),a&&a.m(e,null),v(e,t),v(e,r),v(r,o)},p(l,s){l[9]?a?a.p(l,s):(a=xt(l),a.c(),a.m(e,t)):a&&(a.d(1),a=null),s&4&&n!==(n=`overflow-y: auto; max-height: ${l[2]||zt}px`)&&d(r,"style",n)},d(l){l&&x(e),a&&a.d()}}}function xt(i){let e,t;return{c(){e=p("goa-input"),k(e,"focused",i[5]),k(e,"name","filter"),k(e,"placeholder","Filter"),k(e,"trailingicon",t=i[8].length>0?"close-circle":"search"),k(e,"handletrailingiconclick",""),k(e,"type","text"),k(e,"value",i[8])},m(r,o){w(r,e,o),i[17](e)},p(r,o){o&32&&k(e,"focused",r[5]),o&256&&t!==(t=r[8].length>0?"close-circle":"search")&&k(e,"trailingicon",t),o&256&&k(e,"value",r[8])},d(r){r&&x(e),i[17](null)}}}function tr(i){let e,t,r,o,n=i[5]&&_t(i),a=(!i[5]||!i[9])&&wt(i),l=i[5]&&kt(i);return{c(){e=p("div"),n&&n.c(),t=A(),r=p("div"),a&&a.c(),o=A(),l&&l.c(),this.c=_,d(e,"class","goa-dropdown-box")},m(s,c){w(s,e,c),n&&n.m(e,null),v(e,t),v(e,r),a&&a.m(r,null),v(r,o),l&&l.m(r,null),i[18](e)},p(s,[c]){s[5]?n?n.p(s,c):(n=_t(s),n.c(),n.m(e,t)):n&&(n.d(1),n=null),!s[5]||!s[9]?a?a.p(s,c):(a=wt(s),a.c(),a.m(r,o)):a&&(a.d(1),a=null),s[5]?l?l.p(s,c):(l=kt(s),l.c(),l.m(r,null)):l&&(l.d(1),l=null)},i:_,o:_,d(s){s&&x(e),n&&n.d(),a&&a.d(),l&&l.d(),i[18](null)}}}const zt=300;function ir(i,e,t){let r,o,n,{name:a}=e,{values:l}=e,{leadingicon:s}=e,{maxheight:c}=e,{placeholder:u}=e,{multiselect:f}=e,{disabled:h}=e,{autocomplete:y}=e,g=[],b=[],E=!1,z,C,L="";const V=te.subscribe(R=>{var le,qe;if(((le=R[a])===null||le===void 0?void 0:le.tag)!==a)return;const X=R[a];switch((qe=X==null?void 0:X.payload)===null||qe===void 0?void 0:qe.type){case"DropDownAction":{if(X.payload.action==="select"&&(r?(t(4,g=[...g,X.payload.label]),b=[...b,X.payload.value]):(t(4,g=[X.payload.label]),b=[X.payload.value])),X.payload.action==="deselect"){const We=X.payload.label,Qr=X.payload.value;t(4,g=g.filter(Ve=>Ve!==We)),b=b.filter(Ve=>Ve!==Qr)}r||t(5,E=!1),te.update(We=>Object.assign(Object.assign({},We),{[a]:null})),z.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{event:null,name:a,value:b}}));break}}});Ge(async()=>{await rt(),te.update(R=>Object.assign(Object.assign({},R),{[a]:{tag:a,payload:{type:"DropDownInit",values:l?JSON.parse(l):[],multiSelect:r}}}))}),Oe(()=>{te.update(R=>(delete R[a],R)),V()});let q=R=>{R.stopPropagation(),t(8,L=R.detail.value),te.update(le=>Object.assign(Object.assign({},le),{[a]:{tag:a,payload:{type:"FilterChange",filter:L}}}))},P=R=>{R.stopPropagation(),t(8,L=""),te.update(le=>Object.assign(Object.assign({},le),{[a]:{tag:a,payload:{type:"FilterChange",filter:L}}})),C==null||C.focus()};async function ge(){t(5,E=!0),await rt(),C==null||C.addEventListener("_change",q),C==null||C.addEventListener("_trailingIconClick",P),C==null||C.focus()}function re(){t(5,E=!1),C==null||C.removeEventListener("_change",q),C==null||C.removeEventListener("_trailingIconClick",P)}function M(R){de[R?"unshift":"push"](()=>{C=R,t(7,C)})}function B(R){de[R?"unshift":"push"](()=>{z=R,t(6,z)})}return i.$$set=R=>{"name"in R&&t(0,a=R.name),"values"in R&&t(13,l=R.values),"leadingicon"in R&&t(1,s=R.leadingicon),"maxheight"in R&&t(2,c=R.maxheight),"placeholder"in R&&t(3,u=R.placeholder),"multiselect"in R&&t(14,f=R.multiselect),"disabled"in R&&t(15,h=R.disabled),"autocomplete"in R&&t(16,y=R.autocomplete)},i.$$.update=()=>{i.$$.dirty&16384&&(r=O(f)),i.$$.dirty&32768&&t(10,o=O(h)),i.$$.dirty&65536&&t(9,n=O(y))},[a,s,c,u,g,E,z,C,L,n,o,ge,re,l,f,h,y,M,B]}class Et extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-dropdown-box{position:relative}.menu goa-input{position:relative}.goa-dropdown-background{position:fixed;inset:0}.goa-dropdown-list{position:absolute;left:0;right:0;padding:0;margin:0;margin-top:3px;list-style-type:none;background:var(--color-white);border-radius:var(--input-border-radius);box-shadow:var(--shadow-1);z-index:99}.goa-dropdown-list{scroll-behavior:smooth;scrollbar-width:thin}.goa-dropdown-list::-webkit-scrollbar{width:6px}.goa-dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.goa-dropdown-list::-webkit-scrollbar-thumb{background:#888}.goa-dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},ir,tr,H,{name:0,values:13,leadingicon:1,maxheight:2,placeholder:3,multiselect:14,disabled:15,autocomplete:16},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["name","values","leadingicon","maxheight","placeholder","multiselect","disabled","autocomplete"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),m()}get values(){return this.$$.ctx[13]}set values(e){this.$$set({values:e}),m()}get leadingicon(){return this.$$.ctx[1]}set leadingicon(e){this.$$set({leadingicon:e}),m()}get maxheight(){return this.$$.ctx[2]}set maxheight(e){this.$$set({maxheight:e}),m()}get placeholder(){return this.$$.ctx[3]}set placeholder(e){this.$$set({placeholder:e}),m()}get multiselect(){return this.$$.ctx[14]}set multiselect(e){this.$$set({multiselect:e}),m()}get disabled(){return this.$$.ctx[15]}set disabled(e){this.$$set({disabled:e}),m()}get autocomplete(){return this.$$.ctx[16]}set autocomplete(e){this.$$set({autocomplete:e}),m()}}customElements.define("goa-dropdown",Et);function rr(i){let e,t=(i[2]||i[0])+"",r,o,n;return{c(){e=p("li"),this.c=_,d(e,"class","goa-dropdown-option"),d(e,"style",r=`display: ${i[4]?"none":"block"}`),d(e,"data-testid",i[1]),D(e,"goa-dropdown-option--disabled",i[5]),D(e,"goa-dropdown-option--selected",i[3])},m(a,l){w(a,e,l),e.innerHTML=t,o||(n=U(e,"click",i[6]),o=!0)},p(a,[l]){l&5&&t!==(t=(a[2]||a[0])+"")&&(e.innerHTML=t),l&16&&r!==(r=`display: ${a[4]?"none":"block"}`)&&d(e,"style",r),l&2&&d(e,"data-testid",a[1]),l&32&&D(e,"goa-dropdown-option--disabled",a[5]),l&8&&D(e,"goa-dropdown-option--selected",a[3])},i:_,o:_,d(a){a&&x(e),o=!1,n()}}}function or(i,e,t){let r,o,n,{name:a=""}=e,{value:l=""}=e,{label:s=""}=e,{testId:c=""}=e,{selected:u="false"}=e,{disabled:f="false"}=e,{hide:h="false"}=e,y,g;function b(z){if(z.length===0||!s.toLowerCase().includes(z.toLowerCase()))return s;t(2,g="");let C=0;return[...s.matchAll(new RegExp(z,"gi"))].forEach(L=>{t(2,g+=s.slice(C,L.index)+`<b>${L[0]}</b>`),C=L.index+L[0].length}),t(2,g+=s.slice(C)),g}te.subscribe(z=>{const C=z[a];if(!!C&&C.tag===a)switch(C.payload.type){case"FilterChange":{const L=C.payload.filter.toLowerCase();if(!l&&!s)t(7,h="false");else{const V=l.toLowerCase().includes(L)||s.toLowerCase().includes(L);t(7,h=Li(!V))}t(2,g=b(L));break}case"DropDownAction":{C.payload.label!==s&&!y&&t(3,r=!1);break}case"DropDownInit":{t(3,r=C.payload.values.includes(l)),y=C.payload.multiSelect,r&&te.update(L=>Object.assign(Object.assign({},L),{[a]:{tag:a,payload:{type:"DropDownAction",action:"select",label:s,value:l}}}));break}}});function E(){t(3,r=!r),te.update(z=>Object.assign(Object.assign({},z),{[a]:{tag:a,payload:{type:"DropDownAction",action:r?"select":"deselect",label:s,value:l,multiSelect:y}}}))}return i.$$set=z=>{"name"in z&&t(8,a=z.name),"value"in z&&t(9,l=z.value),"label"in z&&t(0,s=z.label),"testId"in z&&t(1,c=z.testId),"selected"in z&&t(10,u=z.selected),"disabled"in z&&t(11,f=z.disabled),"hide"in z&&t(7,h=z.hide)},i.$$.update=()=>{i.$$.dirty&1024&&t(3,r=O(u)),i.$$.dirty&2048&&t(5,o=O(f)),i.$$.dirty&128&&t(4,n=O(h))},[s,c,g,r,n,o,E,h,a,l,u,f]}class Ct extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}li{font-family:var(--font-family)}.goa-dropdown-option{margin:0;padding:0.5rem;cursor:pointer;color:var(--color-black)}.goa-dropdown-option:hover{background:var(--color-gray-100);color:var(--goa-color-interactive--hover)}.goa-dropdown-option--disabled{opacity:0.5;cursor:default}.goa-dropdown-option--disabled:hover{cursor:default;color:var(--color-gray-600)}.goa-dropdown-option--selected{background:var(--goa-color-interactive--active);color:var(--color-white)}.goa-dropdown-option--selected:hover{background:var(--goa-color-interactive--hover);color:var(--color-white)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},or,rr,H,{name:8,value:9,label:0,testId:1,selected:10,disabled:11,hide:7},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["name","value","label","testId","selected","disabled","hide"]}get name(){return this.$$.ctx[8]}set name(e){this.$$set({name:e}),m()}get value(){return this.$$.ctx[9]}set value(e){this.$$set({value:e}),m()}get label(){return this.$$.ctx[0]}set label(e){this.$$set({label:e}),m()}get testId(){return this.$$.ctx[1]}set testId(e){this.$$set({testId:e}),m()}get selected(){return this.$$.ctx[10]}set selected(e){this.$$set({selected:e}),m()}get disabled(){return this.$$.ctx[11]}set disabled(e){this.$$set({disabled:e}),m()}get hide(){return this.$$.ctx[7]}set hide(e){this.$$set({hide:e}),m()}}customElements.define("goa-dropdown-item",Ct);function ar(i){let e,t;return{c(){e=p("div"),t=p("slot"),this.c=_,d(e,"class","goa-flex-row"),S(e,"gap",i[0])},m(r,o){w(r,e,o),v(e,t)},p(r,[o]){o&1&&S(e,"gap",r[0])},i:_,o:_,d(r){r&&x(e)}}}function nr(i,e,t){let r,{gap:o=""}=e;return i.$$set=n=>{"gap"in n&&t(1,o=n.gap)},i.$$.update=()=>{i.$$.dirty&2&&t(0,r=o==="small"?"1rem":o==="medium"?"2rem":o==="large"?"3rem":"0")},[r,o]}class At extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-flex-row{margin-bottom:1rem;display:flex;flex-direction:column;flex-wrap:wrap;align-items:stretch}@media(min-width: 480px){.goa-flex-row{flex-direction:row}}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},nr,ar,H,{gap:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["gap"]}get gap(){return this.$$.ctx[1]}set gap(e){this.$$set({gap:e}),m()}}customElements.define("goa-flex-row",At);function Mt(i){let e,t,r,o=i[3]&&Rt();return{c(){e=p("label"),t=F(i[0]),r=A(),o&&o.c(),d(e,"for","")},m(n,a){w(n,e,a),v(e,t),v(e,r),o&&o.m(e,null)},p(n,a){a&1&&Z(t,n[0]),n[3]?o||(o=Rt(),o.c(),o.m(e,null)):o&&(o.d(1),o=null)},d(n){n&&x(e),o&&o.d()}}}function Rt(i){let e;return{c(){e=p("em"),e.textContent="(optional)"},m(t,r){w(t,e,r)},d(t){t&&x(e)}}}function Lt(i){let e,t;return{c(){e=p("div"),t=F(i[2]),d(e,"class","error-msg")},m(r,o){w(r,e,o),v(e,t)},p(r,o){o&4&&Z(t,r[2])},d(r){r&&x(e)}}}function Tt(i){let e,t;return{c(){e=p("div"),t=F(i[1]),d(e,"class","help-msg")},m(r,o){w(r,e,o),v(e,t)},p(r,o){o&2&&Z(t,r[1])},d(r){r&&x(e)}}}function lr(i){let e,t,r,o,n,a=i[0]&&Mt(i),l=i[2]&&Lt(i),s=i[1]&&Tt(i);return{c(){e=p("div"),a&&a.c(),t=A(),r=p("div"),r.innerHTML="<slot></slot>",o=A(),l&&l.c(),n=A(),s&&s.c(),this.c=_,d(r,"class","form-item-input"),d(e,"class","goa-form-item")},m(c,u){w(c,e,u),a&&a.m(e,null),v(e,t),v(e,r),v(e,o),l&&l.m(e,null),v(e,n),s&&s.m(e,null)},p(c,[u]){c[0]?a?a.p(c,u):(a=Mt(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[2]?l?l.p(c,u):(l=Lt(c),l.c(),l.m(e,n)):l&&(l.d(1),l=null),c[1]?s?s.p(c,u):(s=Tt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:_,o:_,d(c){c&&x(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function sr(i,e,t){let r,{label:o=""}=e,{helptext:n=""}=e,{error:a=""}=e,{optional:l}=e;return i.$$set=s=>{"label"in s&&t(0,o=s.label),"helptext"in s&&t(1,n=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=O(l))},[o,n,a,r,l]}class Ht extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{flex:1 1 auto;box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}label{display:block;font-weight:var(--fw-bold);color:var(--goa-color-text);font-size:var(--fs-base);padding:0.5rem 0}label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--fs-sm);color:var(--color-black)}.error-msg{font-size:var(--fs-sm);color:var(--goa-color-status-emergency);margin-bottom:0.25rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},sr,lr,H,{label:0,helptext:1,error:2,optional:4},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["label","helptext","error","optional"]}get label(){return this.$$.ctx[0]}set label(e){this.$$set({label:e}),m()}get helptext(){return this.$$.ctx[1]}set helptext(e){this.$$set({helptext:e}),m()}get error(){return this.$$.ctx[2]}set error(e){this.$$set({error:e}),m()}get optional(){return this.$$.ctx[4]}set optional(e){this.$$set({optional:e}),m()}}customElements.define("goa-form-item",Ht);function cr(i){let e,t,r,o,n,a,l,s;return{c(){e=p("div"),t=p("goa-page-block"),r=p("h1"),o=F(i[0]),n=A(),a=p("div"),a.innerHTML="<slot></slot>",l=A(),s=p("slot"),this.c=_,d(r,"role","heading"),d(a,"class","goa-hero-banner-content"),d(a,"role","note"),d(s,"name","actions"),d(e,"class","goa-hero"),d(e,"data-testid","background"),S(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+i[1]+")"),S(e,"background-size","cover"),S(e,"background-position","center"),S(e,"background-repeat","no-repeat")},m(c,u){w(c,e,u),v(e,t),v(t,r),v(r,o),v(t,n),v(t,a),v(t,l),v(t,s)},p(c,[u]){u&1&&Z(o,c[0]),u&2&&S(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+c[1]+")")},i:_,o:_,d(c){c&&x(e)}}}function dr(i,e,t){let{title:r}=e,{backgroundurl:o}=e;return i.$$set=n=>{"title"in n&&t(0,r=n.title),"backgroundurl"in n&&t(1,o=n.backgroundurl)},[r,o]}class It extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;min-height:600px;border-bottom:8px solid var(--goa-color-brand);color:var(--color-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--color-white);font-size:var(--fs-3xl);line-height:var(--lh-2xl);font-weight:var(--fw-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},dr,cr,H,{title:0,backgroundurl:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["title","backgroundurl"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),m()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),m()}}customElements.define("goa-hero-banner",It);function jt(i){let e,t,r;return{c(){e=p("ion-icon"),k(e,"style",t=`width: ${i[2]}; height: ${i[2]}`),k(e,"name",r=i[1]==="filled"?i[0]:`${i[0]}-${i[1]}`)},m(o,n){w(o,e,n)},p(o,n){n&4&&t!==(t=`width: ${o[2]}; height: ${o[2]}`)&&k(e,"style",t),n&3&&r!==(r=o[1]==="filled"?o[0]:`${o[0]}-${o[1]}`)&&k(e,"name",r)},d(o){o&&x(e)}}}function ur(i){let e,t,r,o=i[0]&&jt(i);return{c(){e=p("div"),o&&o.c(),this.c=_,d(e,"class","goa-icon"),d(e,"data-testid",t=`icon-${i[0]}`),d(e,"style",r=`--size: ${i[2]}`),D(e,"inverted",i[3])},m(n,a){w(n,e,a),o&&o.m(e,null)},p(n,[a]){n[0]?o?o.p(n,a):(o=jt(n),o.c(),o.m(e,null)):o&&(o.d(1),o=null),a&1&&t!==(t=`icon-${n[0]}`)&&d(e,"data-testid",t),a&4&&r!==(r=`--size: ${n[2]}`)&&d(e,"style",r),a&8&&D(e,"inverted",n[3])},i:_,o:_,d(n){n&&x(e),o&&o.d()}}}function fr(i,e,t){let r,o,{type:n}=e,{size:a="medium"}=e,{theme:l="outline"}=e,{inverted:s}=e;return i.$$set=c=>{"type"in c&&t(0,n=c.type),"size"in c&&t(4,a=c.size),"theme"in c&&t(1,l=c.theme),"inverted"in c&&t(5,s=c.inverted)},i.$$.update=()=>{i.$$.dirty&32&&t(3,r=O(s)),i.$$.dirty&16&&t(2,o={small:"1.1rem",medium:"1.5rem",large:"2rem"}[a])},[n,l,o,r,a,s]}class Gt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}:host,.goa-icon{display:inline-flex;align-items:center}.goa-icon,.goa-icon *{box-sizing:border-box}.goa-icon{width:var(--size);height:var(--size)}.inverted{color:#fff;fill:#fff}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},fr,ur,H,{type:0,size:4,theme:1,inverted:5},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type","size","theme","inverted"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get size(){return this.$$.ctx[4]}set size(e){this.$$set({size:e}),m()}get theme(){return this.$$.ctx[1]}set theme(e){this.$$set({theme:e}),m()}get inverted(){return this.$$.ctx[5]}set inverted(e){this.$$set({inverted:e}),m()}}customElements.define("goa-icon",Gt);function gr(i){let e,t,r,o;return{c(){e=p("button"),t=p("goa-icon"),this.c=_,k(t,"type",i[0]),k(t,"size",i[1]),k(t,"theme",i[2]),k(t,"inverted",i[5]),S(e,"--size",i[6]),d(e,"title",i[3]),e.disabled=i[7],d(e,"class",i[8]),d(e,"data-testid",i[4])},m(n,a){w(n,e,a),v(e,t),r||(o=U(e,"click",hr),r=!0)},p(n,[a]){a&1&&k(t,"type",n[0]),a&2&&k(t,"size",n[1]),a&4&&k(t,"theme",n[2]),a&32&&k(t,"inverted",n[5]),a&64&&S(e,"--size",n[6]),a&8&&d(e,"title",n[3]),a&128&&(e.disabled=n[7]),a&256&&d(e,"class",n[8]),a&16&&d(e,"data-testid",n[4])},i:_,o:_,d(n){n&&x(e),r=!1,o()}}}function hr(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function mr(i,e,t){let r,o,n,a,{type:l}=e,{size:s="medium"}=e,{theme:c="outline"}=e,{variant:u="color"}=e,{title:f=""}=e,{testId:h=""}=e,{disabled:y}=e,{inverted:g}=e;return i.$$set=b=>{"type"in b&&t(0,l=b.type),"size"in b&&t(1,s=b.size),"theme"in b&&t(2,c=b.theme),"variant"in b&&t(9,u=b.variant),"title"in b&&t(3,f=b.title),"testId"in b&&t(4,h=b.testId),"disabled"in b&&t(10,y=b.disabled),"inverted"in b&&t(11,g=b.inverted)},i.$$.update=()=>{i.$$.dirty&2048&&t(5,n=O(g)),i.$$.dirty&544&&t(8,r=`goa-icon-button goa-icon-button--${u} ${n?"goa-icon-button--inverted":""}`),i.$$.dirty&1024&&t(7,o=O(y)),i.$$.dirty&2&&t(6,a={small:"1rem",medium:"1.5rem",large:"2rem"}[s])},[l,s,c,f,h,n,a,o,r,u,y,g]}class Ot extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:flex;align-items:center;box-sizing:border-box;font-family:var(--font-family)}.goa-icon-button,.goa-icon-button *{box-sizing:border-box}.goa-icon-button{display:inline-flex;align-items:center;background:transparent;cursor:pointer;padding:0;border:none}.goa-icon-button--color{border-radius:0.5rem;padding:calc(var(--size) / 4)}.goa-icon-button--color{border-radius:0.5rem;color:var(--goa-color-interactive);fill:var(--goa-color-interactive);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.goa-icon-button--color:active,.goa-icon-button--nocolor:active{transform:scale(0.9)}.goa-icon-button--color:hover{background-color:var(--goa-color-primary-light)}.goa-icon-button--color.goa-icon-button--inverted:hover{background-color:var(--goa-color-primary-dark)}.goa-icon-button:disabled{color:var(--color-gray-200);fill:var(--color-gray-200);transform:none;cursor:default}.goa-icon-button:disabled:hover{background-color:transparent}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},mr,gr,H,{type:0,size:1,theme:2,variant:9,title:3,testId:4,disabled:10,inverted:11},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}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}),m()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),m()}get theme(){return this.$$.ctx[2]}set theme(e){this.$$set({theme:e}),m()}get variant(){return this.$$.ctx[9]}set variant(e){this.$$set({variant:e}),m()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),m()}get testId(){return this.$$.ctx[4]}set testId(e){this.$$set({testId:e}),m()}get disabled(){return this.$$.ctx[10]}set disabled(e){this.$$set({disabled:e}),m()}get inverted(){return this.$$.ctx[11]}set inverted(e){this.$$set({inverted:e}),m()}}customElements.define("goa-icon-button",Ot);function Dt(i){let e,t;return{c(){e=p("div"),t=p("goa-icon"),k(t,"data-testid","leading-icon"),k(t,"type",i[4]),d(e,"class","goa-input-leading-icon")},m(r,o){w(r,e,o),v(e,t)},p(r,o){o&16&&k(t,"type",r[4])},d(r){r&&x(e)}}}function St(i){let e,t;return{c(){e=p("div"),t=p("goa-icon"),k(t,"data-testid","trailing-icon"),k(t,"size","medium"),k(t,"type",i[5]),d(e,"class","goa-input-trailing-icon")},m(r,o){w(r,e,o),v(e,t)},p(r,o){o&32&&k(t,"type",r[5])},d(r){r&&x(e)}}}function Bt(i){let e,t,r,o;return{c(){e=p("div"),t=p("goa-icon-button"),k(t,"disabled",i[10]),k(t,"variant","nocolor"),k(t,"size","medium"),k(t,"type",i[5]),k(t,"data-testid","trailing-icon-button"),d(e,"class","goa-input-trailing-icon")},m(n,a){w(n,e,a),v(e,t),r||(o=U(t,"click",vr),r=!0)},p(n,a){a&1024&&k(t,"disabled",n[10]),a&32&&k(t,"type",n[5])},d(n){n&&x(e),r=!1,o()}}}function br(i){let e,t,r,o,n,a,l,s,c,u,f=i[4]&&Dt(i),h=i[5]&&!i[13]&&St(i),y=i[5]&&i[13]&&Bt(i);return{c(){e=p("div"),f&&f.c(),t=A(),r=p("input"),n=A(),h&&h.c(),a=A(),y&&y.c(),this.c=_,d(r,"class",o=`input--${i[6]}`),r.readOnly=i[12],r.disabled=i[10],d(r,"data-testid",i[7]),d(r,"name",i[1]),d(r,"type",i[0]),r.value=i[2],d(r,"placeholder",i[3]),d(e,"style",l=`width: ${i[8]};`),d(e,"class",s=`
|
|
6
6
|
goa-input ${i[10]?"goa-input--disabled":""}
|
|
7
7
|
variant--${i[6]}
|
|
8
8
|
type--${i[0]}
|
|
9
|
-
`),D(e,"error",i[11])},m(b
|
|
10
|
-
goa-input ${
|
|
11
|
-
variant--${
|
|
12
|
-
type--${
|
|
13
|
-
`)&&d(e,"class",
|
|
9
|
+
`),D(e,"error",i[11])},m(g,b){w(g,e,b),f&&f.m(e,null),v(e,t),v(e,r),i[21](r),v(e,n),h&&h.m(e,null),v(e,a),y&&y.m(e,null),c||(u=U(r,"keyup",i[14]),c=!0)},p(g,[b]){g[4]?f?f.p(g,b):(f=Dt(g),f.c(),f.m(e,t)):f&&(f.d(1),f=null),b&64&&o!==(o=`input--${g[6]}`)&&d(r,"class",o),b&4096&&(r.readOnly=g[12]),b&1024&&(r.disabled=g[10]),b&128&&d(r,"data-testid",g[7]),b&2&&d(r,"name",g[1]),b&1&&d(r,"type",g[0]),b&4&&r.value!==g[2]&&(r.value=g[2]),b&8&&d(r,"placeholder",g[3]),g[5]&&!g[13]?h?h.p(g,b):(h=St(g),h.c(),h.m(e,a)):h&&(h.d(1),h=null),g[5]&&g[13]?y?y.p(g,b):(y=Bt(g),y.c(),y.m(e,null)):y&&(y.d(1),y=null),b&256&&l!==(l=`width: ${g[8]};`)&&d(e,"style",l),b&1089&&s!==(s=`
|
|
10
|
+
goa-input ${g[10]?"goa-input--disabled":""}
|
|
11
|
+
variant--${g[6]}
|
|
12
|
+
type--${g[0]}
|
|
13
|
+
`)&&d(e,"class",s),b&3137&&D(e,"error",g[11])},i:_,o:_,d(g){g&&x(e),f&&f.d(),i[21](null),h&&h.d(),y&&y.d(),c=!1,u()}}}function vr(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function yr(i,e,t){let r,o,n,a,l,{type:s="text"}=e,{name:c=""}=e,{value:u=""}=e,{placeholder:f=""}=e,{leadingicon:h=null}=e,{trailingicon:y=null}=e,{variant:g="goa"}=e,{disabled:b="false"}=e,{handletrailingiconclick:E="false"}=e,{focused:z="false"}=e,{readonly:C="false"}=e,{error:L="false"}=e,{testid:V=""}=e,{width:q="100%"}=e,P;function ge(M){M.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:c,value:M.target.value}})),M.stopPropagation()}function re(M){de[M?"unshift":"push"](()=>{P=M,t(9,P)})}return i.$$set=M=>{"type"in M&&t(0,s=M.type),"name"in M&&t(1,c=M.name),"value"in M&&t(2,u=M.value),"placeholder"in M&&t(3,f=M.placeholder),"leadingicon"in M&&t(4,h=M.leadingicon),"trailingicon"in M&&t(5,y=M.trailingicon),"variant"in M&&t(6,g=M.variant),"disabled"in M&&t(15,b=M.disabled),"handletrailingiconclick"in M&&t(16,E=M.handletrailingiconclick),"focused"in M&&t(17,z=M.focused),"readonly"in M&&t(18,C=M.readonly),"error"in M&&t(19,L=M.error),"testid"in M&&t(7,V=M.testid),"width"in M&&t(8,q=M.width)},i.$$.update=()=>{i.$$.dirty&65536&&t(13,r=O(E)),i.$$.dirty&131072&&t(20,o=O(z)),i.$$.dirty&262144&&t(12,n=O(C)),i.$$.dirty&524288&&t(11,a=O(L)),i.$$.dirty&32768&&t(10,l=O(b)),i.$$.dirty&1049088&&o&&P&&setTimeout(()=>P.focus(),1)},[s,c,u,f,h,y,g,V,q,P,l,a,n,r,ge,b,E,z,C,L,o,re]}class Pt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-input,.goa-input *{box-sizing:border-box}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:3px;background:white;color:var(--color-black, #ccc);padding:var(--input-padding, 0.5rem) 0.5rem;display:inline-flex;align-items:center}.goa-input:hover{border-color:var(--goa-color-interactive--hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--highlight)}.goa-input:disabled{border-color:var(--color-gray-500)}.goa-input:disabled:hover{border-color:var(--color-gray-500)}.goa-input:disabled:focus{box-shadow:none}.goa-input input[readonly]{cursor:pointer}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{line-height:18px}.goa-input-trailing-icon{display:flex;align-items:center}.goa-input-trailing-icon>.goa-icon-button{margin-right:-0.5rem}input{display:block;width:100%;font-size:var(--input-font-size)}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled{opacity:0.5;cursor:default;border-color:var(--color-black)}.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{border-color:var(--color-black);cursor:default;box-shadow:none}.goa-input--disabled input:hover{cursor:default !important}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.goa-state--error .goa-input{border:2px solid var(--goa-color-status-emergency)}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-status-emergency-dark)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},yr,br,H,{type:0,name:1,value:2,placeholder:3,leadingicon:4,trailingicon:5,variant:6,disabled:15,handletrailingiconclick:16,focused:17,readonly:18,error:19,testid:7,width:8},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type","name","value","placeholder","leadingicon","trailingicon","variant","disabled","handletrailingiconclick","focused","readonly","error","testid","width"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),m()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),m()}get placeholder(){return this.$$.ctx[3]}set placeholder(e){this.$$set({placeholder:e}),m()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),m()}get trailingicon(){return this.$$.ctx[5]}set trailingicon(e){this.$$set({trailingicon:e}),m()}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),m()}get disabled(){return this.$$.ctx[15]}set disabled(e){this.$$set({disabled:e}),m()}get handletrailingiconclick(){return this.$$.ctx[16]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),m()}get focused(){return this.$$.ctx[17]}set focused(e){this.$$set({focused:e}),m()}get readonly(){return this.$$.ctx[18]}set readonly(e){this.$$set({readonly:e}),m()}get error(){return this.$$.ctx[19]}set error(e){this.$$set({error:e}),m()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),m()}get width(){return this.$$.ctx[8]}set width(e){this.$$set({width:e}),m()}}customElements.define("goa-input",Pt);function pr(i){const e=i-1;return e*e*e+1}function _r(i){return Math.pow(i-1,3)*(1-i)+1}function fe(i,{delay:e=0,duration:t=400,easing:r=he}={}){const o=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:n=>`opacity: ${n*o}`}}function Nt(i,{delay:e=0,duration:t=400,easing:r=pr,x:o=0,y:n=0,opacity:a=0}={}){const l=getComputedStyle(i),s=+l.opacity,c=l.transform==="none"?"":l.transform,u=s*(1-a);return{delay:e,duration:t,easing:r,css:(f,h)=>`
|
|
14
14
|
transform: ${c} translate(${(1-f)*o}px, ${(1-f)*n}px);
|
|
15
|
-
opacity: ${s-u*g}`}}function Ft(i,e){function t(){const n=o();document.body.style.overflow="hidden",document.body.style.paddingRight=n+"px"}function r(){setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},500)}function o(){if(document.body.clientHeight<=document.documentElement.clientHeight)return 0;const n=document.createElement("div");n.style.visibility="hidden",n.style.overflow="scroll",document.body.appendChild(n);const a=document.createElement("div");n.appendChild(a);const l=n.offsetWidth-a.offsetWidth;return n.parentNode.removeChild(n),l}return e.enable&&t(),{update(){e.enable?t():r()},destroy(){r()}}}function qt(i){let e,t,r,o,n,a,l,s,c,u,f,g,b,m,p,E,z,C,R,V,q=i[0]&&Wt(i),P=i[4]&&Vt(i);function ge(B,L){return B[5]?kr:wr}let re=ge(i),M=re(i);return{c(){e=y("div"),t=y("div"),r=A(),o=y("div"),q&&q.c(),n=A(),P&&P.c(),a=A(),l=y("div"),M.c(),s=A(),c=y("slot"),u=A(),f=y("div"),f.innerHTML='<slot name="actions"></slot>',d(t,"data-testid","modal-overlay"),d(t,"class","modal-overlay"),d(l,"data-testid","modal-content"),d(l,"class","modal-content"),d(f,"data-testid","modal-actions"),d(f,"class","modal-actions"),d(o,"class","modal-pane"),d(e,"data-testid","modal"),d(e,"class","modal"),d(e,"style",m="--scroll-offset: "+i[3]+"px; "+(i[1]&&`--width: ${i[1]};`)+";")},m(B,L){w(B,e,L),v(e,t),v(e,r),v(e,o),q&&q.m(o,null),v(o,n),P&&P.m(o,null),v(o,a),v(o,l),M.m(l,null),v(l,s),v(l,c),v(o,u),v(o,f),C=!0,R||(V=[U(t,"click",i[6]),Je(p=Ft.call(null,e,{enable:i[2]}))],R=!0)},p(B,L){B[0]?q?q.p(B,L):(q=Wt(B),q.c(),q.m(o,n)):q&&(q.d(1),q=null),B[4]?P?P.p(B,L):(P=Vt(B),P.c(),P.m(o,a)):P&&(P.d(1),P=null),re!==(re=ge(B))&&(M.d(1),M=re(B),M&&(M.c(),M.m(l,s))),(!C||L&10&&m!==(m="--scroll-offset: "+B[3]+"px; "+(B[1]&&`--width: ${B[1]};`)+";"))&&d(e,"style",m),p&&oe(p.update)&&L&4&&p.update.call(null,{enable:B[2]})},i(B){C||(J(()=>{b&&b.end(1),g=ot(o,Nt,{duration:200,y:200}),g.start()}),J(()=>{z&&z.end(1),E=ot(e,fe,{duration:200}),E.start()}),C=!0)},o(B){g&&g.invalidate(),b=at(o,Nt,{delay:200,duration:200,y:-100}),E&&E.invalidate(),z=at(e,fe,{delay:200,duration:200}),C=!1},d(B){B&&x(e),q&&q.d(),P&&P.d(),M.d(),B&&b&&b.end(),B&&z&&z.end(),R=!1,Q(V)}}}function Wt(i){let e,t;return{c(){e=y("div"),t=F(i[0]),d(e,"data-testid","modal-title"),d(e,"class","modal-title")},m(r,o){w(r,e,o),v(e,t)},p(r,o){o&1&&Z(t,r[0])},d(r){r&&x(e)}}}function Vt(i){let e,t,r,o;return{c(){e=y("div"),t=y("goa-icon-button"),k(t,"testid","modal-close-button"),k(t,"type","close"),d(e,"class","modal-close")},m(n,a){w(n,e,a),v(e,t),r||(o=U(t,"click",i[6]),r=!0)},p:_,d(n){n&&x(e),r=!1,o()}}}function wr(i){let e;return{c(){e=y("div"),e.innerHTML="<slot></slot>",S(e,"margin","1.75rem")},m(t,r){w(t,e,r)},d(t){t&&x(e)}}}function kr(i){let e;return{c(){e=y("goa-scrollable"),e.innerHTML="<slot></slot>",k(e,"direction","vertical"),k(e,"height","50"),k(e,"hpadding","1.75")},m(t,r){w(t,e,r)},d(t){t&&x(e)}}}function xr(i){let e,t,r=i[2]&&qt(i);return{c(){r&&r.c(),e=ce(),this.c=_},m(o,n){r&&r.m(o,n),w(o,e,n),t=!0},p(o,[n]){o[2]?r?(r.p(o,n),n&4&&N(r,1)):(r=qt(o),r.c(),N(r,1),r.m(e.parentNode,e)):r&&(pe(),W(r,1,1,()=>{r=null}),_e())},i(o){t||(N(r),t=!0)},o(o){W(r),t=!1},d(o){r&&r.d(o),o&&x(e)}}}function zr(i,e,t){let r,o,n,{title:a}=e,{closable:l}=e,{scrollable:s}=e,{open:c}=e,{width:u}=e,f=0;function g(b){!r||(b.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),b.stopPropagation())}return i.$$set=b=>{"title"in b&&t(0,a=b.title),"closable"in b&&t(7,l=b.closable),"scrollable"in b&&t(8,s=b.scrollable),"open"in b&&t(9,c=b.open),"width"in b&&t(1,u=b.width)},i.$$.update=()=>{i.$$.dirty&128&&t(4,r=O(l)),i.$$.dirty&256&&t(5,o=O(s)),i.$$.dirty&512&&t(2,n=O(c)),i.$$.dirty&4&&n&&t(3,f=window.pageYOffset)},[a,u,n,f,r,o,g,l,s,c]}class Zt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.modal{font-family:var(--font-family);position:absolute;top:var(--scroll-offset, 0);left:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:var(--width, 60ch);margin:1rem;box-shadow:var(--shadow-2);border-radius:4px;max-height:90%}@media(min-width: 640px){.modal-pane{max-height:80%}}.modal-actions{text-align:right;padding:0 1.75rem;margin:1.75rem 0;flex:1 1 auto}.modal-close{position:absolute;top:1rem;right:1rem}.modal-title{font-size:var(--fs-xl);padding-bottom:1rem;padding:0 1.75rem;margin:1.75rem 0;margin-right:40px;flex:0 0 auto}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},zr,xr,H,{title:0,closable:7,scrollable:8,open:9,width:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["title","closable","scrollable","open","width"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),h()}get closable(){return this.$$.ctx[7]}set closable(e){this.$$set({closable:e}),h()}get scrollable(){return this.$$.ctx[8]}set scrollable(e){this.$$set({scrollable:e}),h()}get open(){return this.$$.ctx[9]}set open(e){this.$$set({open:e}),h()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),h()}}customElements.define("goa-modal",Zt);function Ut(i){let e,t,r,o,n,a,l,s,c,u,f,g,b;return{c(){e=y("div"),t=y("div"),r=y("goa-icon"),o=A(),n=y("div"),n.innerHTML="<slot></slot>",a=A(),l=y("div"),s=y("goa-icon-button"),k(r,"type",i[2]),k(r,"inverted",""),d(t,"class","icon"),d(n,"class","content"),k(s,"type","close"),k(s,"inverted",""),d(l,"class","close"),d(e,"class",c="notification "+i[0])},m(m,p){w(m,e,p),v(e,t),v(t,r),v(e,o),v(e,n),v(e,a),v(e,l),v(l,s),f=!0,g||(b=U(s,"click",i[3]),g=!0)},p(m,p){(!f||p&4)&&k(r,"type",m[2]),(!f||p&1&&c!==(c="notification "+m[0]))&&d(e,"class",c)},i(m){f||(J(()=>{u||(u=Te(e,fe,{},!0)),u.run(1)}),f=!0)},o(m){u||(u=Te(e,fe,{},!1)),u.run(0),f=!1},d(m){m&&x(e),m&&u&&u.end(),g=!1,b()}}}function Er(i){let e,t,r=i[1]&&Ut(i);return{c(){r&&r.c(),e=ce(),this.c=_},m(o,n){r&&r.m(o,n),w(o,e,n),t=!0},p(o,[n]){o[1]?r?(r.p(o,n),n&2&&N(r,1)):(r=Ut(o),r.c(),N(r,1),r.m(e.parentNode,e)):r&&(pe(),W(r,1,1,()=>{r=null}),_e())},i(o){t||(N(r),t=!0)},o(o){W(r),t=!1},d(o){r&&r.d(o),o&&x(e)}}}function Cr(i,e,t){let r,{type:o}=e,n=!0;function a(){t(1,n=!1)}return i.$$set=l=>{"type"in l&&t(0,o=l.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=o==="emergency"?"warning":o==="caution"?"alert-circle":o==="information"?"information-circle":"calendar")},[o,n,r,a]}class Xt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;align-items:center;gap:1rem;border-radius:3px}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.caution{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info);color:var(--color-white)}.event{background-color:var(--goa-color-status-success);color:var(--color-white)}.icon{flex:0 0 auto;align-self:flex-start}.content{flex:1 1 auto}.close{flex:0 0 auto;align-self:flex-start}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Cr,Er,H,{type:0},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}}customElements.define("goa-notification",Xt);function Ar(i){let e;return{c(){e=y("div"),e.innerHTML="<slot></slot>",this.c=_,d(e,"class","layout")},m(t,r){w(t,e,r)},p:_,i:_,o:_,d(t){t&&x(e)}}}class Jt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>@media(min-width: 768px){}.layout{max-width:768px;margin:0 auto;padding:2rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Ar,H,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-page-layout",Jt);function Kt(i){let e,t,r,o;const n=[Lr,Mr],a=[];function l(s,c){return s[5]?0:1}return e=l(i),t=a[e]=n[e](i),{c(){t.c(),r=ce()},m(s,c){a[e].m(s,c),w(s,r,c),o=!0},p(s,c){let u=e;e=l(s),e===u?a[e].p(s,c):(pe(),W(a[u],1,1,()=>{a[u]=null}),_e(),t=a[e],t?t.p(s,c):(t=a[e]=n[e](s),t.c()),N(t,1),t.m(r.parentNode,r))},i(s){o||(N(t),o=!0)},o(s){W(t),o=!1},d(s){a[e].d(s),s&&x(r)}}}function Mr(i){let e,t,r,o,n=i[1]&&Yt(i);return{c(){e=y("div"),t=y("goa-spinner"),o=A(),n&&n.c(),k(t,"type",i[0]),k(t,"size","xlarge"),k(t,"progress",r=i[2]||0),D(e,"inline",i[4])},m(a,l){w(a,e,l),v(e,t),v(e,o),n&&n.m(e,null)},p(a,l){l&1&&k(t,"type",a[0]),l&4&&r!==(r=a[2]||0)&&k(t,"progress",r),a[1]?n?n.p(a,l):(n=Yt(a),n.c(),n.m(e,null)):n&&(n.d(1),n=null),l&16&&D(e,"inline",a[4])},i:_,o:_,d(a){a&&x(e),n&&n.d()}}}function Lr(i){let e,t,r,o,n,a,l,s,c=i[1]&&Qt(i);return{c(){e=y("div"),t=y("goa-spinner"),o=A(),c&&c.c(),k(t,"type",i[0]),k(t,"size","xlarge"),k(t,"progress",r=i[2]||0),D(e,"fullscreen",i[5])},m(u,f){w(u,e,f),v(e,t),v(e,o),c&&c.m(e,null),a=!0,l||(s=Je(Ft.call(null,e,{enable:!0})),l=!0)},p(u,f){(!a||f&1)&&k(t,"type",u[0]),(!a||f&4&&r!==(r=u[2]||0))&&k(t,"progress",r),u[1]?c?c.p(u,f):(c=Qt(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&32&&D(e,"fullscreen",u[5])},i(u){a||(J(()=>{n||(n=Te(e,fe,{duration:300},!0)),n.run(1)}),a=!0)},o(u){n||(n=Te(e,fe,{duration:300},!1)),n.run(0),a=!1},d(u){u&&x(e),c&&c.d(),u&&n&&n.end(),l=!1,s()}}}function Yt(i){let e,t;return{c(){e=y("div"),t=F(i[1]),d(e,"class","message")},m(r,o){w(r,e,o),v(e,t)},p(r,o){o&2&&Z(t,r[1])},d(r){r&&x(e)}}}function Qt(i){let e,t;return{c(){e=y("div"),t=F(i[1]),d(e,"class","message")},m(r,o){w(r,e,o),v(e,t)},p(r,o){o&2&&Z(t,r[1])},d(r){r&&x(e)}}}function Rr(i){let e,t,r=i[3]&&Kt(i);return{c(){r&&r.c(),e=ce(),this.c=_},m(o,n){r&&r.m(o,n),w(o,e,n),t=!0},p(o,[n]){o[3]?r?(r.p(o,n),n&8&&N(r,1)):(r=Kt(o),r.c(),N(r,1),r.m(e.parentNode,e)):r&&(pe(),W(r,1,1,()=>{r=null}),_e())},i(o){t||(N(r),t=!0)},o(o){W(r),t=!1},d(o){r&&r.d(o),o&&x(e)}}}function Tr(i,e,t){let r,o,n,a,{type:l="infinite"}=e,{message:s}=e,{progress:c=0}=e,{visible:u}=e,{variant:f="inline"}=e;return i.$$set=g=>{"type"in g&&t(0,l=g.type),"message"in g&&t(1,s=g.message),"progress"in g&&t(2,c=g.progress),"visible"in g&&t(6,u=g.visible),"variant"in g&&t(7,f=g.variant)},i.$$.update=()=>{i.$$.dirty&192&&t(8,r=O(u)||f==="inline"),i.$$.dirty&128&&t(5,o=f==="fullscreen"),i.$$.dirty&128&&t(4,n=f==="inline"),i.$$.dirty&257&&t(3,a=l&&r)},[l,s,c,a,n,o,u,f,r]}class $t extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:rgba(255, 255, 255, 0.9)}.inline{margin:3.5rem;display:flex;flex-direction:column;align-items:center;justify-content:center}.message{margin-top:1rem;font-size:1.2rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Tr,Rr,H,{type:0,message:1,progress:2,visible:6,variant:7},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","message","progress","visible","variant"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get message(){return this.$$.ctx[1]}set message(e){this.$$set({message:e}),h()}get progress(){return this.$$.ctx[2]}set progress(e){this.$$set({progress:e}),h()}get visible(){return this.$$.ctx[6]}set visible(e){this.$$set({visible:e}),h()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),h()}}customElements.define("goa-page-loader",$t);const we=Ne({});function Hr(i){let e,t,r,o;return{c(){e=y("div"),t=y("div"),r=y("slot"),this.c=_,d(t,"class",o=`goa-radio-group--${i[0]}`),d(t,"data-testid",i[1])},m(n,a){w(n,e,a),v(e,t),v(t,r),i[9](t)},p(n,[a]){a&1&&o!==(o=`goa-radio-group--${n[0]}`)&&d(t,"class",o),a&2&&d(t,"data-testid",n[1])},i:_,o:_,d(n){n&&x(e),i[9](null)}}}function Ir(i,e,t){let r,{name:o}=e,{value:n}=e,{orientation:a="vertical"}=e,{disabled:l}=e,{error:s}=e,{testid:c}=e,u,f,g;Ge(()=>{we.update(m=>Object.assign(Object.assign({},m),{[o]:{tag:o,payload:{value:n,disabled:r,error:u}}})),g=we.subscribe(m=>{const p=m[o].payload;p.value!==n&&(t(3,n=p.value),f.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:p.value}})))})}),Oe(g);function b(m){de[m?"unshift":"push"](()=>{f=m,t(2,f)})}return i.$$set=m=>{"name"in m&&t(4,o=m.name),"value"in m&&t(3,n=m.value),"orientation"in m&&t(0,a=m.orientation),"disabled"in m&&t(5,l=m.disabled),"error"in m&&t(6,s=m.error),"testid"in m&&t(1,c=m.testid)},i.$$.update=()=>{i.$$.dirty&32&&t(8,r=O(l)),i.$$.dirty&472&&(t(7,u=O(s)),we.update(m=>Object.assign(Object.assign({},m),{[o]:{tag:o,payload:{value:n,disabled:r,error:u}}})))},[a,c,f,n,o,l,s,u,r,b]}class ei extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:inline-flex;flex-direction:column}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ir,Hr,H,{name:4,value:3,orientation:0,disabled:5,error:6,testid:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","orientation","disabled","error","testid"]}get name(){return this.$$.ctx[4]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[3]}set value(e){this.$$set({value:e}),h()}get orientation(){return this.$$.ctx[0]}set orientation(e){this.$$set({orientation:e}),h()}get disabled(){return this.$$.ctx[5]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[6]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-radio-group",ei);function jr(i){let e,t,r,o,n,a,l,s=(i[1]||i[0])+"",c,u,f;return{c(){e=y("label"),t=y("input"),r=A(),o=y("div"),n=A(),a=y("span"),l=y("slot"),c=F(s),this.c=_,d(t,"type","radio"),d(t,"data-testid","radio-input"),d(t,"name",i[2]),t.value=i[0],t.checked=i[4],t.disabled=i[3],d(o,"class","goa-radio-icon"),d(a,"class","goa-radio-label"),d(e,"class","goa-radio"),D(e,"goa-radio--disabled",i[3]),D(e,"goa-radio--error",i[5])},m(g,b){w(g,e,b),v(e,t),v(e,r),v(e,o),v(e,n),v(e,a),v(a,l),v(l,c),u||(f=U(t,"change",i[6]),u=!0)},p(g,[b]){b&4&&d(t,"name",g[2]),b&1&&(t.value=g[0]),b&16&&(t.checked=g[4]),b&8&&(t.disabled=g[3]),b&3&&s!==(s=(g[1]||g[0])+"")&&Z(c,s),b&8&&D(e,"goa-radio--disabled",g[3]),b&32&&D(e,"goa-radio--error",g[5])},i:_,o:_,d(g){g&&x(e),u=!1,f()}}}function Gr(i,e,t){let{value:r}=e,{label:o}=e,{name:n}=e,a=!1,l=!1,s=!1,c;Ge(()=>{c=we.subscribe(f=>{const g=f[n];(g==null?void 0:g.tag)===n&&(t(4,l=g.payload.value===r),t(3,a=g.payload.disabled),t(5,s=g.payload.error))})}),Oe(c);function u(f){t(4,l=!l),l&&we.update(g=>Object.assign(Object.assign({},g),{[n]:{tag:n,payload:{disabled:a,value:r}}}))}return i.$$set=f=>{"value"in f&&t(0,r=f.value),"label"in f&&t(1,o=f.label),"name"in f&&t(2,n=f.name)},[r,o,n,a,l,s,u]}class ti extends I{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;box-sizing:border-box;display:inline-flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0}.goa-radio input[type="radio"]:focus~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--highlight)}.goa-radio-label{padding:0.5rem;font-weight:var(--fw-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--highlight)}.goa-radio--disabled: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);opacity:0.4}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active);opacity:0.3}.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>',G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Gr,jr,H,{value:0,label:1,name:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["value","label","name"]}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get label(){return this.$$.ctx[1]}set label(e){this.$$set({label:e}),h()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),h()}}customElements.define("goa-radio-item",ti);function Or(i){let e,t,r;return{c(){e=y("div"),t=y("slot"),this.c=_,d(e,"class","goa-scrollable"),d(e,"style",r=`
|
|
15
|
+
opacity: ${s-u*h}`}}function Ft(i,e){function t(){const n=o();document.body.style.overflow="hidden",document.body.style.paddingRight=n+"px"}function r(){setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},500)}function o(){if(document.body.clientHeight<=document.documentElement.clientHeight)return 0;const n=document.createElement("div");n.style.visibility="hidden",n.style.overflow="scroll",document.body.appendChild(n);const a=document.createElement("div");n.appendChild(a);const l=n.offsetWidth-a.offsetWidth;return n.parentNode.removeChild(n),l}return e.enable&&t(),{update(){e.enable?t():r()},destroy(){r()}}}function qt(i){let e,t,r,o,n,a,l,s,c,u,f,h,y,g,b,E,z,C,L,V,q=i[0]&&Wt(i),P=i[4]&&Vt(i);function ge(B,R){return B[5]?kr:wr}let re=ge(i),M=re(i);return{c(){e=p("div"),t=p("div"),r=A(),o=p("div"),q&&q.c(),n=A(),P&&P.c(),a=A(),l=p("div"),M.c(),s=A(),c=p("slot"),u=A(),f=p("div"),f.innerHTML='<slot name="actions"></slot>',d(t,"data-testid","modal-overlay"),d(t,"class","modal-overlay"),d(l,"data-testid","modal-content"),d(l,"class","modal-content"),d(f,"data-testid","modal-actions"),d(f,"class","modal-actions"),d(o,"class","modal-pane"),d(e,"data-testid","modal"),d(e,"class","modal"),d(e,"style",g="--scroll-offset: "+i[3]+"px; "+(i[1]&&`--width: ${i[1]};`)+";")},m(B,R){w(B,e,R),v(e,t),v(e,r),v(e,o),q&&q.m(o,null),v(o,n),P&&P.m(o,null),v(o,a),v(o,l),M.m(l,null),v(l,s),v(l,c),v(o,u),v(o,f),C=!0,L||(V=[U(t,"click",i[6]),Je(b=Ft.call(null,e,{enable:i[2]}))],L=!0)},p(B,R){B[0]?q?q.p(B,R):(q=Wt(B),q.c(),q.m(o,n)):q&&(q.d(1),q=null),B[4]?P?P.p(B,R):(P=Vt(B),P.c(),P.m(o,a)):P&&(P.d(1),P=null),re!==(re=ge(B))&&(M.d(1),M=re(B),M&&(M.c(),M.m(l,s))),(!C||R&10&&g!==(g="--scroll-offset: "+B[3]+"px; "+(B[1]&&`--width: ${B[1]};`)+";"))&&d(e,"style",g),b&&oe(b.update)&&R&4&&b.update.call(null,{enable:B[2]})},i(B){C||(J(()=>{y&&y.end(1),h=ot(o,Nt,{duration:200,y:200}),h.start()}),J(()=>{z&&z.end(1),E=ot(e,fe,{duration:200}),E.start()}),C=!0)},o(B){h&&h.invalidate(),y=at(o,Nt,{delay:200,duration:200,y:-100}),E&&E.invalidate(),z=at(e,fe,{delay:200,duration:200}),C=!1},d(B){B&&x(e),q&&q.d(),P&&P.d(),M.d(),B&&y&&y.end(),B&&z&&z.end(),L=!1,Q(V)}}}function Wt(i){let e,t;return{c(){e=p("div"),t=F(i[0]),d(e,"data-testid","modal-title"),d(e,"class","modal-title")},m(r,o){w(r,e,o),v(e,t)},p(r,o){o&1&&Z(t,r[0])},d(r){r&&x(e)}}}function Vt(i){let e,t,r,o;return{c(){e=p("div"),t=p("goa-icon-button"),k(t,"testid","modal-close-button"),k(t,"type","close"),d(e,"class","modal-close")},m(n,a){w(n,e,a),v(e,t),r||(o=U(t,"click",i[6]),r=!0)},p:_,d(n){n&&x(e),r=!1,o()}}}function wr(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",S(e,"margin","1.75rem")},m(t,r){w(t,e,r)},d(t){t&&x(e)}}}function kr(i){let e;return{c(){e=p("goa-scrollable"),e.innerHTML="<slot></slot>",k(e,"direction","vertical"),k(e,"height","50"),k(e,"hpadding","1.75")},m(t,r){w(t,e,r)},d(t){t&&x(e)}}}function xr(i){let e,t,r=i[2]&&qt(i);return{c(){r&&r.c(),e=ce(),this.c=_},m(o,n){r&&r.m(o,n),w(o,e,n),t=!0},p(o,[n]){o[2]?r?(r.p(o,n),n&4&&N(r,1)):(r=qt(o),r.c(),N(r,1),r.m(e.parentNode,e)):r&&(pe(),W(r,1,1,()=>{r=null}),_e())},i(o){t||(N(r),t=!0)},o(o){W(r),t=!1},d(o){r&&r.d(o),o&&x(e)}}}function zr(i,e,t){let r,o,n,{title:a}=e,{closable:l}=e,{scrollable:s}=e,{open:c}=e,{width:u}=e,f=0;function h(y){!r||(y.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),y.stopPropagation())}return i.$$set=y=>{"title"in y&&t(0,a=y.title),"closable"in y&&t(7,l=y.closable),"scrollable"in y&&t(8,s=y.scrollable),"open"in y&&t(9,c=y.open),"width"in y&&t(1,u=y.width)},i.$$.update=()=>{i.$$.dirty&128&&t(4,r=O(l)),i.$$.dirty&256&&t(5,o=O(s)),i.$$.dirty&512&&t(2,n=O(c)),i.$$.dirty&4&&n&&t(3,f=window.pageYOffset)},[a,u,n,f,r,o,h,l,s,c]}class Zt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.modal{font-family:var(--font-family);position:absolute;top:var(--scroll-offset, 0);left:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:var(--width, 60ch);margin:1rem;box-shadow:var(--shadow-2);border-radius:4px;max-height:90%}@media(min-width: 640px){.modal-pane{max-height:80%}}.modal-actions{text-align:right;padding:0 1.75rem;margin:1.75rem 0;flex:1 1 auto}.modal-close{position:absolute;top:1rem;right:1rem}.modal-title{font-size:var(--fs-xl);padding-bottom:1rem;padding:0 1.75rem;margin:1.75rem 0;margin-right:40px;flex:0 0 auto}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},zr,xr,H,{title:0,closable:7,scrollable:8,open:9,width:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["title","closable","scrollable","open","width"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),m()}get closable(){return this.$$.ctx[7]}set closable(e){this.$$set({closable:e}),m()}get scrollable(){return this.$$.ctx[8]}set scrollable(e){this.$$set({scrollable:e}),m()}get open(){return this.$$.ctx[9]}set open(e){this.$$set({open:e}),m()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),m()}}customElements.define("goa-modal",Zt);function Ut(i){let e,t,r,o,n,a,l,s,c,u,f,h,y;return{c(){e=p("div"),t=p("div"),r=p("goa-icon"),o=A(),n=p("div"),n.innerHTML="<slot></slot>",a=A(),l=p("div"),s=p("goa-icon-button"),k(r,"type",i[2]),k(r,"inverted",""),d(t,"class","icon"),d(n,"class","content"),k(s,"type","close"),k(s,"inverted",""),d(l,"class","close"),d(e,"class",c="notification "+i[0])},m(g,b){w(g,e,b),v(e,t),v(t,r),v(e,o),v(e,n),v(e,a),v(e,l),v(l,s),f=!0,h||(y=U(s,"click",i[3]),h=!0)},p(g,b){(!f||b&4)&&k(r,"type",g[2]),(!f||b&1&&c!==(c="notification "+g[0]))&&d(e,"class",c)},i(g){f||(J(()=>{u||(u=Te(e,fe,{},!0)),u.run(1)}),f=!0)},o(g){u||(u=Te(e,fe,{},!1)),u.run(0),f=!1},d(g){g&&x(e),g&&u&&u.end(),h=!1,y()}}}function Er(i){let e,t,r=i[1]&&Ut(i);return{c(){r&&r.c(),e=ce(),this.c=_},m(o,n){r&&r.m(o,n),w(o,e,n),t=!0},p(o,[n]){o[1]?r?(r.p(o,n),n&2&&N(r,1)):(r=Ut(o),r.c(),N(r,1),r.m(e.parentNode,e)):r&&(pe(),W(r,1,1,()=>{r=null}),_e())},i(o){t||(N(r),t=!0)},o(o){W(r),t=!1},d(o){r&&r.d(o),o&&x(e)}}}function Cr(i,e,t){let r,{type:o}=e,n=!0;function a(){t(1,n=!1)}return i.$$set=l=>{"type"in l&&t(0,o=l.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=o==="emergency"?"warning":o==="caution"?"alert-circle":o==="information"?"information-circle":"calendar")},[o,n,r,a]}class Xt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;align-items:center;gap:1rem;border-radius:3px}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.caution{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info);color:var(--color-white)}.event{background-color:var(--goa-color-status-success);color:var(--color-white)}.icon{flex:0 0 auto;align-self:flex-start}.content{flex:1 1 auto}.close{flex:0 0 auto;align-self:flex-start}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Cr,Er,H,{type:0},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}}customElements.define("goa-notification",Xt);function Ar(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",this.c=_,d(e,"class","layout")},m(t,r){w(t,e,r)},p:_,i:_,o:_,d(t){t&&x(e)}}}class Jt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>@media(min-width: 768px){}.layout{max-width:768px;margin:0 auto;padding:2rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Ar,H,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-page-layout",Jt);function Kt(i){let e,t,r,o;const n=[Rr,Mr],a=[];function l(s,c){return s[5]?0:s[4]?1:-1}return~(e=l(i))&&(t=a[e]=n[e](i)),{c(){t&&t.c(),r=ce()},m(s,c){~e&&a[e].m(s,c),w(s,r,c),o=!0},p(s,c){let u=e;e=l(s),e===u?~e&&a[e].p(s,c):(t&&(pe(),W(a[u],1,1,()=>{a[u]=null}),_e()),~e?(t=a[e],t?t.p(s,c):(t=a[e]=n[e](s),t.c()),N(t,1),t.m(r.parentNode,r)):t=null)},i(s){o||(N(t),o=!0)},o(s){W(t),o=!1},d(s){~e&&a[e].d(s),s&&x(r)}}}function Mr(i){let e,t,r,o,n=i[1]&&Yt(i);return{c(){e=p("div"),t=p("goa-spinner"),o=A(),n&&n.c(),k(t,"type",i[0]),k(t,"size","xlarge"),k(t,"progress",r=i[2]||0),D(e,"inline",i[4])},m(a,l){w(a,e,l),v(e,t),v(e,o),n&&n.m(e,null)},p(a,l){l&1&&k(t,"type",a[0]),l&4&&r!==(r=a[2]||0)&&k(t,"progress",r),a[1]?n?n.p(a,l):(n=Yt(a),n.c(),n.m(e,null)):n&&(n.d(1),n=null),l&16&&D(e,"inline",a[4])},i:_,o:_,d(a){a&&x(e),n&&n.d()}}}function Rr(i){let e,t,r,o,n,a,l,s,c=i[1]&&Qt(i);return{c(){e=p("div"),t=p("goa-spinner"),o=A(),c&&c.c(),k(t,"type",i[0]),k(t,"size","xlarge"),k(t,"progress",r=i[2]||0),D(e,"fullscreen",i[5])},m(u,f){w(u,e,f),v(e,t),v(e,o),c&&c.m(e,null),a=!0,l||(s=Je(Ft.call(null,e,{enable:!0})),l=!0)},p(u,f){(!a||f&1)&&k(t,"type",u[0]),(!a||f&4&&r!==(r=u[2]||0))&&k(t,"progress",r),u[1]?c?c.p(u,f):(c=Qt(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&32&&D(e,"fullscreen",u[5])},i(u){a||(J(()=>{n||(n=Te(e,fe,{duration:300},!0)),n.run(1)}),a=!0)},o(u){n||(n=Te(e,fe,{duration:300},!1)),n.run(0),a=!1},d(u){u&&x(e),c&&c.d(),u&&n&&n.end(),l=!1,s()}}}function Yt(i){let e,t;return{c(){e=p("div"),t=F(i[1]),d(e,"class","message")},m(r,o){w(r,e,o),v(e,t)},p(r,o){o&2&&Z(t,r[1])},d(r){r&&x(e)}}}function Qt(i){let e,t;return{c(){e=p("div"),t=F(i[1]),d(e,"class","message")},m(r,o){w(r,e,o),v(e,t)},p(r,o){o&2&&Z(t,r[1])},d(r){r&&x(e)}}}function Lr(i){let e,t,r=i[3]&&Kt(i);return{c(){r&&r.c(),e=ce(),this.c=_},m(o,n){r&&r.m(o,n),w(o,e,n),t=!0},p(o,[n]){o[3]?r?(r.p(o,n),n&8&&N(r,1)):(r=Kt(o),r.c(),N(r,1),r.m(e.parentNode,e)):r&&(pe(),W(r,1,1,()=>{r=null}),_e())},i(o){t||(N(r),t=!0)},o(o){W(r),t=!1},d(o){r&&r.d(o),o&&x(e)}}}function Tr(i,e,t){let r,o,n,a,{type:l}=e,{variant:s}=e,{message:c=""}=e,{progress:u=0}=e,{visible:f="false"}=e;return i.$$set=h=>{"type"in h&&t(0,l=h.type),"variant"in h&&t(6,s=h.variant),"message"in h&&t(1,c=h.message),"progress"in h&&t(2,u=h.progress),"visible"in h&&t(7,f=h.visible)},i.$$.update=()=>{i.$$.dirty&128&&t(8,r=O(f)),i.$$.dirty&64&&t(5,o=s==="fullscreen"),i.$$.dirty&64&&t(4,n=s==="inline"),i.$$.dirty&257&&t(3,a=l&&r)},[l,c,u,a,n,o,s,f,r]}class $t extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.fullscreen{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:rgba(255, 255, 255, 0.9)}.inline{margin:3.5rem;display:flex;flex-direction:column;align-items:center;justify-content:center}.message{margin-top:1rem;font-size:1.2rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Tr,Lr,H,{type:0,variant:6,message:1,progress:2,visible:7},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type","variant","message","progress","visible"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),m()}get message(){return this.$$.ctx[1]}set message(e){this.$$set({message:e}),m()}get progress(){return this.$$.ctx[2]}set progress(e){this.$$set({progress:e}),m()}get visible(){return this.$$.ctx[7]}set visible(e){this.$$set({visible:e}),m()}}customElements.define("goa-circular-progress",$t);const we=Ne({});function Hr(i){let e,t,r,o;return{c(){e=p("div"),t=p("div"),r=p("slot"),this.c=_,d(t,"class",o=`goa-radio-group--${i[0]}`),d(t,"data-testid",i[1])},m(n,a){w(n,e,a),v(e,t),v(t,r),i[9](t)},p(n,[a]){a&1&&o!==(o=`goa-radio-group--${n[0]}`)&&d(t,"class",o),a&2&&d(t,"data-testid",n[1])},i:_,o:_,d(n){n&&x(e),i[9](null)}}}function Ir(i,e,t){let r,{name:o}=e,{value:n}=e,{orientation:a="vertical"}=e,{disabled:l}=e,{error:s}=e,{testid:c}=e,u,f,h;Ge(()=>{we.update(g=>Object.assign(Object.assign({},g),{[o]:{tag:o,payload:{value:n,disabled:r,error:u}}})),h=we.subscribe(g=>{const b=g[o].payload;b.value!==n&&(t(3,n=b.value),f.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:b.value}})))})}),Oe(h);function y(g){de[g?"unshift":"push"](()=>{f=g,t(2,f)})}return i.$$set=g=>{"name"in g&&t(4,o=g.name),"value"in g&&t(3,n=g.value),"orientation"in g&&t(0,a=g.orientation),"disabled"in g&&t(5,l=g.disabled),"error"in g&&t(6,s=g.error),"testid"in g&&t(1,c=g.testid)},i.$$.update=()=>{i.$$.dirty&32&&t(8,r=O(l)),i.$$.dirty&472&&(t(7,u=O(s)),we.update(g=>Object.assign(Object.assign({},g),{[o]:{tag:o,payload:{value:n,disabled:r,error:u}}})))},[a,c,f,n,o,l,s,u,r,y]}class ei extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:inline-flex;flex-direction:column}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ir,Hr,H,{name:4,value:3,orientation:0,disabled:5,error:6,testid:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["name","value","orientation","disabled","error","testid"]}get name(){return this.$$.ctx[4]}set name(e){this.$$set({name:e}),m()}get value(){return this.$$.ctx[3]}set value(e){this.$$set({value:e}),m()}get orientation(){return this.$$.ctx[0]}set orientation(e){this.$$set({orientation:e}),m()}get disabled(){return this.$$.ctx[5]}set disabled(e){this.$$set({disabled:e}),m()}get error(){return this.$$.ctx[6]}set error(e){this.$$set({error:e}),m()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),m()}}customElements.define("goa-radio-group",ei);function jr(i){let e,t,r,o,n,a,l,s=(i[1]||i[0])+"",c,u,f;return{c(){e=p("label"),t=p("input"),r=A(),o=p("div"),n=A(),a=p("span"),l=p("slot"),c=F(s),this.c=_,d(t,"type","radio"),d(t,"data-testid","radio-input"),d(t,"name",i[2]),t.value=i[0],t.checked=i[4],t.disabled=i[3],d(o,"class","goa-radio-icon"),d(a,"class","goa-radio-label"),d(e,"class","goa-radio"),D(e,"goa-radio--disabled",i[3]),D(e,"goa-radio--error",i[5])},m(h,y){w(h,e,y),v(e,t),v(e,r),v(e,o),v(e,n),v(e,a),v(a,l),v(l,c),u||(f=U(t,"change",i[6]),u=!0)},p(h,[y]){y&4&&d(t,"name",h[2]),y&1&&(t.value=h[0]),y&16&&(t.checked=h[4]),y&8&&(t.disabled=h[3]),y&3&&s!==(s=(h[1]||h[0])+"")&&Z(c,s),y&8&&D(e,"goa-radio--disabled",h[3]),y&32&&D(e,"goa-radio--error",h[5])},i:_,o:_,d(h){h&&x(e),u=!1,f()}}}function Gr(i,e,t){let{value:r}=e,{label:o}=e,{name:n}=e,a=!1,l=!1,s=!1,c;Ge(()=>{c=we.subscribe(f=>{const h=f[n];(h==null?void 0:h.tag)===n&&(t(4,l=h.payload.value===r),t(3,a=h.payload.disabled),t(5,s=h.payload.error))})}),Oe(c);function u(f){t(4,l=!l),l&&we.update(h=>Object.assign(Object.assign({},h),{[n]:{tag:n,payload:{disabled:a,value:r}}}))}return i.$$set=f=>{"value"in f&&t(0,r=f.value),"label"in f&&t(1,o=f.label),"name"in f&&t(2,n=f.name)},[r,o,n,a,l,s,u]}class ti extends I{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;box-sizing:border-box;display:inline-flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0}.goa-radio input[type="radio"]:hover~.goa-radio-icon{border-color:var(--goa-color-interactive--hover)}.goa-radio input[type="radio"]:focus~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--highlight)}.goa-radio-label{padding:0.5rem;font-weight:var(--fw-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--highlight)}.goa-radio--disabled: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);opacity:0.3}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active);opacity:0.3}.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>',G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Gr,jr,H,{value:0,label:1,name:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["value","label","name"]}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),m()}get label(){return this.$$.ctx[1]}set label(e){this.$$set({label:e}),m()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),m()}}customElements.define("goa-radio-item",ti);function Or(i){let e,t,r;return{c(){e=p("div"),t=p("slot"),this.c=_,d(e,"class","goa-scrollable"),d(e,"style",r=`
|
|
16
16
|
--max-height: ${i[3]};
|
|
17
17
|
overflow-y: ${i[0]==="vertical"?"auto":"hidden"};
|
|
18
18
|
overflow-x: ${i[0]==="horizontal"?"auto":"hidden"};
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
overflow-x: ${o[0]==="horizontal"?"auto":"hidden"};
|
|
25
25
|
margin: ${o[2]}rem 0;
|
|
26
26
|
padding: 0 ${o[1]}rem;
|
|
27
|
-
`)&&d(e,"style",r)},i:_,o:_,d(o){o&&x(e)}}}function Dr(i,e,t){let{direction:r="vertical"}=e,{hpadding:o=0}=e,{vpadding:n=0}=e,{height:a=0}=e;return i.$$set=l=>{"direction"in l&&t(0,r=l.direction),"hpadding"in l&&t(1,o=l.hpadding),"vpadding"in l&&t(2,n=l.vpadding),"height"in l&&t(3,a=l.height)},[r,o,n,a]}class ii extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>.goa-scrollable{scroll-behavior:smooth;max-height:calc(100vh * var(--max-height, 100) / 100)}.goa-scrollable::-webkit-scrollbar{width:6px}.goa-scrollable::-webkit-scrollbar-track{background:#f1f1f1}.goa-scrollable::-webkit-scrollbar-thumb{background:#888}.goa-scrollable::-webkit-scrollbar-thumb:hover{background:#555}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Dr,Or,H,{direction:0,hpadding:1,vpadding:2,height:3},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),
|
|
27
|
+
`)&&d(e,"style",r)},i:_,o:_,d(o){o&&x(e)}}}function Dr(i,e,t){let{direction:r="vertical"}=e,{hpadding:o=0}=e,{vpadding:n=0}=e,{height:a=0}=e;return i.$$set=l=>{"direction"in l&&t(0,r=l.direction),"hpadding"in l&&t(1,o=l.hpadding),"vpadding"in l&&t(2,n=l.vpadding),"height"in l&&t(3,a=l.height)},[r,o,n,a]}class ii extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>.goa-scrollable{scroll-behavior:smooth;max-height:calc(100vh * var(--max-height, 100) / 100)}.goa-scrollable::-webkit-scrollbar{width:6px}.goa-scrollable::-webkit-scrollbar-track{background:#f1f1f1}.goa-scrollable::-webkit-scrollbar-thumb{background:#888}.goa-scrollable::-webkit-scrollbar-thumb:hover{background:#555}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Dr,Or,H,{direction:0,hpadding:1,vpadding:2,height:3},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["direction","hpadding","vpadding","height"]}get direction(){return this.$$.ctx[0]}set direction(e){this.$$set({direction:e}),m()}get hpadding(){return this.$$.ctx[1]}set hpadding(e){this.$$set({hpadding:e}),m()}get vpadding(){return this.$$.ctx[2]}set vpadding(e){this.$$set({vpadding:e}),m()}get height(){return this.$$.ctx[3]}set height(e){this.$$set({height:e}),m()}}customElements.define("goa-scrollable",ii);function ri(i){let e,t,r;return{c(){e=p("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=A(),r=p("div"),r.innerHTML='An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>',d(e,"class","service-level service-level--live"),d(r,"data-testid","level"),d(r,"class","site-text")},m(o,n){w(o,e,n),w(o,t,n),w(o,r,n)},d(o){o&&x(e),o&&x(t),o&&x(r)}}}function oi(i){let e,t=li(i[0])+"",r,o,n,a,l,s,c,u=i[2]&&ai(i);return{c(){e=p("div"),r=F(t),n=A(),a=p("div"),l=F("This is a new "),s=p("a"),s.textContent="Alberta Government",c=F(`
|
|
28
28
|
service
|
|
29
|
-
`),u&&u.c(),d(e,"data-testid","level"),d(e,"class",o="service-level service-level--"+i[0]?.toLowerCase()),d(s,"href","https://www.alberta.ca/index.aspx"),d(a,"data-testid","site-text"),d(a,"class","site-text")},m(f,
|
|
30
|
-
}.service-level{font-weight:bold;padding:0 0.5rem;height:1.5rem;display:flex;align-items:center}.service-level--alpha{background-color:var(--goa-color-interactive--highlight);color:var(--goa-color-text)}.service-level--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-level--live{padding:0}.site-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--goa-color-text)}</style>`,G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Br,Sr,H,{level:0,version:1,feedbackurl:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["level","version","feedbackurl"]}get level(){return this.$$.ctx[0]}set level(e){this.$$set({level:e}),h()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),h()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),h()}}customElements.define("goa-microsite-header",si);function Pr(i){let e,t;return{c(){e=y("div"),d(e,"class",t="skeleton "+i[2]+` ${i[2]}-${i[1]}`)},m(r,o){w(r,e,o)},p(r,o){o&6&&t!==(t="skeleton "+r[2]+` ${r[2]}-${r[1]}`)&&d(e,"class",t)},i:_,o:_,d(r){r&&x(e)}}}function Nr(i){let e,t,r,o,n,a,l,s,c,u;return r=new Y({props:{type:"avatar",size:i[1]}}),a=new Y({props:{type:"title",size:i[1]}}),s=new Y({props:{type:"text-small",size:i[1]}}),{c(){e=y("div"),t=y("div"),ie(r.$$.fragment),o=A(),n=y("div"),ie(a.$$.fragment),l=A(),ie(s.$$.fragment),d(t,"class","profile-avatar"),d(n,"class","profile-name"),d(e,"class",c="profile profile-"+i[1])},m(f,g){w(f,e,g),v(e,t),$(r,t,null),v(e,o),v(e,n),$(a,n,null),v(n,l),$(s,n,null),u=!0},p(f,g){const b={};g&2&&(b.size=f[1]),r.$set(b);const m={};g&2&&(m.size=f[1]),a.$set(m);const p={};g&2&&(p.size=f[1]),s.$set(p),(!u||g&2&&c!==(c="profile profile-"+f[1]))&&d(e,"class",c)},i(f){u||(N(r.$$.fragment,f),N(a.$$.fragment,f),N(s.$$.fragment,f),u=!0)},o(f){W(r.$$.fragment,f),W(a.$$.fragment,f),W(s.$$.fragment,f),u=!1},d(f){f&&x(e),ee(r),ee(a),ee(s)}}}function Fr(i){let e,t,r,o,n,a,l,s,c,u,f,g,b;return t=new Y({props:{type:"image",size:i[1]}}),n=new Y({props:{type:"header",size:i[1]}}),l=new Y({props:{type:"text",size:i[1]}}),c=new Y({props:{type:"text",size:i[1]}}),f=new Y({props:{type:"text",size:i[1]}}),{c(){e=y("div"),ie(t.$$.fragment),r=A(),o=y("div"),ie(n.$$.fragment),a=A(),ie(l.$$.fragment),s=A(),ie(c.$$.fragment),u=A(),ie(f.$$.fragment),d(o,"class","card-content"),d(e,"class",g="card card-"+i[1]),S(e,"--width",i[0]+"px")},m(m,p){w(m,e,p),$(t,e,null),v(e,r),v(e,o),$(n,o,null),v(o,a),$(l,o,null),v(o,s),$(c,o,null),v(o,u),$(f,o,null),b=!0},p(m,p){const E={};p&2&&(E.size=m[1]),t.$set(E);const z={};p&2&&(z.size=m[1]),n.$set(z);const C={};p&2&&(C.size=m[1]),l.$set(C);const R={};p&2&&(R.size=m[1]),c.$set(R);const V={};p&2&&(V.size=m[1]),f.$set(V),(!b||p&2&&g!==(g="card card-"+m[1]))&&d(e,"class",g),(!b||p&1)&&S(e,"--width",m[0]+"px")},i(m){b||(N(t.$$.fragment,m),N(n.$$.fragment,m),N(l.$$.fragment,m),N(c.$$.fragment,m),N(f.$$.fragment,m),b=!0)},o(m){W(t.$$.fragment,m),W(n.$$.fragment,m),W(l.$$.fragment,m),W(c.$$.fragment,m),W(f.$$.fragment,m),b=!1},d(m){m&&x(e),ee(t),ee(n),ee(l),ee(c),ee(f)}}}function qr(i){let e,t,r,o;const n=[Fr,Nr,Pr],a=[];function l(s,c){return s[2]==="card"?0:s[2]==="profile"?1:2}return e=l(i),t=a[e]=n[e](i),{c(){t.c(),r=ce(),this.c=_},m(s,c){a[e].m(s,c),w(s,r,c),o=!0},p(s,[c]){let u=e;e=l(s),e===u?a[e].p(s,c):(pe(),W(a[u],1,1,()=>{a[u]=null}),_e(),t=a[e],t?t.p(s,c):(t=a[e]=n[e](s),t.c()),N(t,1),t.m(r.parentNode,r))},i(s){o||(N(t),o=!0)},o(s){W(t),o=!1},d(s){a[e].d(s),s&&x(r)}}}function Wr(i,e,t){let{width:r=320}=e,{size:o=1}=e,{type:n}=e;return i.$$set=a=>{"width"in a&&t(0,r=a.width),"size"in a&&t(1,o=a.size),"type"in a&&t(2,n=a.type)},[r,o,n]}class Y extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--color-gray-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--color-gray-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-4,.text-4{width:100%;height:.75rem;border-radius:0.25rem}.title,.title-1,.title-2{width:100%;height:.75rem;border-radius:0.25rem}.title-3{height:.8rem}.title-4{height:1rem}.text-small,.text-small-1{width:30%;height:6px;border-radius:2px}.text-small-2{width:40%;height:8px;border-radius:2px}.text-small-3{width:50%;height:10px;border-radius:3px}.text-small-4{width:70%;height:12px;border-radius:4px}.paragraph{width:100%;height:70px;border-radius:4px}.header,.header-1{width:50%;height:18px;margin-bottom:12px;border-radius:0.25rem}.header-2{width:60%;height:20px;margin-bottom:14px;border-radius:0.25rem}.header-3{width:70%;height:22px;margin-bottom:16px;border-radius:0.25rem}.header-4{width:80%;height:24px;margin-bottom:18px;border-radius:0.3rem}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--color-gray-100);border-radius:4px}.card{width:100%}@media(min-width: 320px){.card{width:var(--width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Wr,qr,H,{width:0,size:1,type:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["width","size","type"]}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get type(){return this.$$.ctx[2]}set type(e){this.$$set({type:e}),h()}}customElements.define("goa-skeleton",Y);function ci(i){return Object.prototype.toString.call(i)==="[object Date]"}function Fe(i,e){if(i===e||i!==i)return()=>i;const t=typeof i;if(t!==typeof e||Array.isArray(i)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(i)){const r=e.map((o,n)=>Fe(i[n],o));return o=>r.map(n=>n(o))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(ci(i)&&ci(e)){i=i.getTime(),e=e.getTime();const n=e-i;return a=>new Date(i+a*n)}const r=Object.keys(e),o={};return r.forEach(n=>{o[n]=Fe(i[n],e[n])}),n=>{const a={};return r.forEach(l=>{a[l]=o[l](n)}),a}}if(t==="number"){const r=e-i;return o=>i+o*r}throw new Error(`Cannot interpolate ${t} values`)}function Vr(i,e={}){const t=Ne(i);let r,o=i;function n(a,l){if(i==null)return t.set(i=a),Promise.resolve();o=a;let s=r,c=!1,{delay:u=0,duration:f=400,easing:g=he,interpolate:b=Fe}=Ze(Ze({},e),l);if(f===0)return s&&(s.abort(),s=null),t.set(i=o),Promise.resolve();const m=xe()+u;let p;return r=ze(E=>{if(E<m)return!0;c||(p=b(i,a),typeof f=="function"&&(f=f(i,a)),c=!0),s&&(s.abort(),s=null);const z=E-m;return z>f?(t.set(i=a),!1):(t.set(i=p(g(z/f))),!0)}),r.promise}return{set:n,update:(a,l)=>n(a(o,i),l),subscribe:t.subscribe}}function di(i){let e,t,r,o,n,a,l,s,c;return{c(){e=ae("svg"),t=ae("circle"),n=ae("path"),d(t,"cx",i[3]),d(t,"cy",i[3]),d(t,"stroke",r=i[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),d(t,"stroke-width",i[4]),d(t,"r",o=i[3]-i[4]/2),d(n,"d",a=i[9](i[7])),d(n,"stroke-width",i[4]),d(n,"stroke",l=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),d(n,"stroke-linecap","round"),d(e,"class",s=`spinner-${i[1]}`),d(e,"fill","none"),d(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),d(e,"width",i[5]),d(e,"height",i[5]),d(e,"data-testid",i[2]),d(e,"xmlns","http://www.w3.org/2000/svg")},m(u,f){w(u,e,f),v(e,t),v(e,n)},p(u,f){f&8&&d(t,"cx",u[3]),f&8&&d(t,"cy",u[3]),f&1&&r!==(r=u[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&d(t,"stroke",r),f&16&&d(t,"stroke-width",u[4]),f&24&&o!==(o=u[3]-u[4]/2)&&d(t,"r",o),f&128&&a!==(a=u[9](u[7]))&&d(n,"d",a),f&16&&d(n,"stroke-width",u[4]),f&1&&l!==(l=u[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&d(n,"stroke",l),f&2&&s!==(s=`spinner-${u[1]}`)&&d(e,"class",s),f&32&&c!==(c="0 0 "+u[5]+" "+u[5])&&d(e,"viewBox",c),f&32&&d(e,"width",u[5]),f&32&&d(e,"height",u[5]),f&4&&d(e,"data-testid",u[2])},d(u){u&&x(e)}}}function Zr(i){let e,t=i[6]&&di(i);return{c(){t&&t.c(),e=ce(),this.c=_},m(r,o){t&&t.m(r,o),w(r,e,o)},p(r,[o]){r[6]?t?t.p(r,o):(t=di(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:_,o:_,d(r){t&&t.d(r),r&&x(e)}}}function Ur(i,e,t){let r,o,n,a,l,s,{size:c}=e,{invert:u=!1}=e,{type:f="infinite"}=e,{progress:g="0"}=e,{testid:b=""}=e;const m=Vr(0,{duration:500,easing:_r});yi(i,m,z=>t(7,s=z));function p(z){const C=n+a*Math.cos(z),R=n+a*Math.sin(z);return C+" "+R}function E(z){switch(f){case"progress":{const C=p(-Math.PI/2),R=p(-Math.PI/2+2*Math.PI*(z/100)),V=z%100<50?0:1;return`M ${C} A ${a} ${a} 0 ${V} 1 ${R}`}case"infinite":{const C=p(Math.PI*1.5),R=p(0);return`M ${C} A ${a} ${a} 0 1 0 ${R}`}}}return i.$$set=z=>{"size"in z&&t(10,c=z.size),"invert"in z&&t(0,u=z.invert),"type"in z&&t(1,f=z.type),"progress"in z&&t(11,g=z.progress),"testid"in z&&t(2,b=z.testid)},i.$$.update=()=>{i.$$.dirty&2048&&m.set(parseFloat(g)),i.$$.dirty&1024&&t(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,o=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,n=r/2),i.$$.dirty&24&&t(12,a=n-o/2),i.$$.dirty&6146&&t(6,l=f==="infinite"?a:a&&g)},[u,f,b,n,o,r,l,s,m,E,c,g,a]}class ui extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ur,Zr,H,{size:10,invert:0,type:1,progress:11,testid:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["size","invert","type","progress","testid"]}get size(){return this.$$.ctx[10]}set size(e){this.$$set({size:e}),h()}get invert(){return this.$$.ctx[0]}set invert(e){this.$$set({invert:e}),h()}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),h()}get progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),h()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-spinner",ui);function Xr(i){let e,t,r;return{c(){e=y("textarea"),this.c=_,d(e,"name",i[0]),d(e,"placeholder",i[2]),e.value=i[1],d(e,"rows",i[3]),d(e,"class","goa-textarea"),e.disabled=i[5],e.readOnly=i[6],d(e,"data-testid",i[4]),D(e,"error",i[7])},m(o,n){w(o,e,n),t||(r=U(e,"keyup",i[8]),t=!0)},p(o,[n]){n&1&&d(e,"name",o[0]),n&4&&d(e,"placeholder",o[2]),n&2&&(e.value=o[1]),n&8&&d(e,"rows",o[3]),n&32&&(e.disabled=o[5]),n&64&&(e.readOnly=o[6]),n&16&&d(e,"data-testid",o[4]),n&128&&D(e,"error",o[7])},i:_,o:_,d(o){o&&x(e),t=!1,r()}}}function Jr(i,e,t){let r,o,n,{name:a}=e,{value:l=""}=e,{placeholder:s=""}=e,{rows:c=3}=e,{testid:u=""}=e,{error:f="false"}=e,{readonly:g="false"}=e,{disabled:b="false"}=e;function m(p){const z=p.target.value;o||(p.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:p,name:a,value:z}})),p.stopPropagation())}return i.$$set=p=>{"name"in p&&t(0,a=p.name),"value"in p&&t(1,l=p.value),"placeholder"in p&&t(2,s=p.placeholder),"rows"in p&&t(3,c=p.rows),"testid"in p&&t(4,u=p.testid),"error"in p&&t(9,f=p.error),"readonly"in p&&t(10,g=p.readonly),"disabled"in p&&t(11,b=p.disabled)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=O(f)),i.$$.dirty&2048&&t(5,o=O(b)),i.$$.dirty&1024&&t(6,n=O(g))},[a,l,s,c,u,o,n,r,m,f,g,b]}class fi extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-textarea{display:block;width:100%;box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:3px;background:var(--color-white);color:var(--color-black, #ccc);padding:var(--input-padding, 0.5rem);font-size:var(--input-font-size);font-family:var(--font-family)}.goa-textarea[readonly]{cursor:pointer}.goa-textarea:hover{border-color:var(--goa-color-interactive--hover)}.goa-textarea:active,.goa-textarea:focus,.goa-textarea:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--highlight)}.goa-textarea:disabled{border-color:var(--color-gray-200)}.goa-textarea:disabled:hover{border-color:var(--color-gray-200)}.goa-textarea:disabled:focus,.goa-textarea:disabled:active{box-shadow:none}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-status-emergency-dark)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Jr,Xr,H,{name:0,value:1,placeholder:2,rows:3,testid:4,error:9,readonly:10,disabled:11},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","placeholder","rows","testid","error","readonly","disabled"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),h()}get placeholder(){return this.$$.ctx[2]}set placeholder(e){this.$$set({placeholder:e}),h()}get rows(){return this.$$.ctx[3]}set rows(e){this.$$set({rows:e}),h()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),h()}get error(){return this.$$.ctx[9]}set error(e){this.$$set({error:e}),h()}get readonly(){return this.$$.ctx[10]}set readonly(e){this.$$set({readonly:e}),h()}get disabled(){return this.$$.ctx[11]}set disabled(e){this.$$set({disabled:e}),h()}}customElements.define("goa-textarea",fi);function gi(i){let e,t;return{c(){e=y("div"),t=F(i[0]),d(e,"slot","title"),d(e,"class","title")},m(r,o){w(r,e,o),v(e,t)},p(r,o){o&1&&Z(t,r[0])},d(r){r&&x(e)}}}function hi(i){let e;return{c(){e=y("div"),d(e,"class","actions"),d(e,"slot","actions")},m(t,r){w(t,e,r),e.innerHTML=i[1]},p(t,r){r&2&&(e.innerHTML=t[1])},d(t){t&&x(e)}}}function Kr(i){let e,t,r,o,n=i[0]&&gi(i),a=i[1]&&hi(i);return{c(){e=y("goa-container"),n&&n.c(),t=A(),a&&a.c(),r=A(),o=y("div"),this.c=_,d(o,"class","content"),d(o,"slot",""),k(e,"variant",i[3]),k(e,"headingsize",i[4])},m(l,s){w(l,e,s),n&&n.m(e,null),v(e,t),a&&a.m(e,null),v(e,r),v(e,o),o.innerHTML=i[2]},p(l,[s]){l[0]?n?n.p(l,s):(n=gi(l),n.c(),n.m(e,t)):n&&(n.d(1),n=null),l[1]?a?a.p(l,s):(a=hi(l),a.c(),a.m(e,r)):a&&(a.d(1),a=null),s&4&&(o.innerHTML=l[2]),s&8&&k(e,"variant",l[3]),s&16&&k(e,"headingsize",l[4])},i:_,o:_,d(l){l&&x(e),n&&n.d(),a&&a.d()}}}function Yr(i,e,t){let{title:r}=e,{actions:o=""}=e,{content:n}=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,o=s.actions),"content"in s&&t(2,n=s.content),"variant"in s&&t(3,a=s.variant),"headingsize"in s&&t(4,l=s.headingsize)},[r,o,n,a,l]}class mi extends I{constructor(e){super();G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Yr,Kr,H,{title:0,actions:1,content:2,variant:3,headingsize:4},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["title","actions","content","variant","headingsize"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),h()}get actions(){return this.$$.ctx[1]}set actions(e){this.$$set({actions:e}),h()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),h()}get variant(){return this.$$.ctx[3]}set variant(e){this.$$set({variant:e}),h()}get headingsize(){return this.$$.ctx[4]}set headingsize(e){this.$$set({headingsize:e}),h()}}customElements.define("test-container",mi),T.ContainerWrapper=mi,T.GoAAppHeader=lt,T.GoABadge=ct,T.GoAButton=dt,T.GoAButtonGroup=ut,T.GoACallout=ft,T.GoACard=gt,T.GoACardActions=ht,T.GoACardContent=mt,T.GoACardGroup=bt,T.GoACardImage=vt,T.GoACheckbox=yt,T.GoAContainer=pt,T.GoADropdown=Et,T.GoADropdownItem=Ct,T.GoAFlexRow=At,T.GoAFormItem=Ht,T.GoAHeroBanner=It,T.GoAIcon=Gt,T.GoAIconButton=Ot,T.GoAInput=Pt,T.GoAMicrositeHeader=si,T.GoAModal=Zt,T.GoANotification=Xt,T.GoAPageBlock=nt,T.GoAPageLayout=Jt,T.GoAPageLoader=$t,T.GoARadioGroup=ei,T.GoARadioItem=ti,T.GoAScrollable=ii,T.GoASkeleton=Y,T.GoASpinner=ui,T.GoATextArea=fi,Object.defineProperty(T,"__esModule",{value:!0}),T[Symbol.toStringTag]="Module"});
|
|
29
|
+
`),u&&u.c(),d(e,"data-testid","level"),d(e,"class",o="service-level service-level--"+i[0]?.toLowerCase()),d(s,"href","https://www.alberta.ca/index.aspx"),d(a,"data-testid","site-text"),d(a,"class","site-text")},m(f,h){w(f,e,h),v(e,r),w(f,n,h),w(f,a,h),v(a,l),v(a,s),v(a,c),u&&u.m(a,null)},p(f,h){h&1&&t!==(t=li(f[0])+"")&&Z(r,t),h&1&&o!==(o="service-level service-level--"+f[0]?.toLowerCase())&&d(e,"class",o),f[2]?u?u.p(f,h):(u=ai(f),u.c(),u.m(a,null)):u&&(u.d(1),u=null)},d(f){f&&x(e),f&&x(n),f&&x(a),u&&u.d()}}}function ai(i){let e,t,r,o;return{c(){e=p("span"),t=F("\u2014 help us improve it by giving "),r=p("a"),o=F("feedback"),d(r,"href",i[2]),d(e,"data-testid","feedback")},m(n,a){w(n,e,a),v(e,t),v(e,r),v(r,o)},p(n,a){a&4&&d(r,"href",n[2])},d(n){n&&x(e)}}}function ni(i){let e,t;return{c(){e=p("div"),t=F(i[1]),d(e,"data-testid","version"),d(e,"class","version")},m(r,o){w(r,e,o),v(e,t)},p(r,o){o&2&&Z(t,r[1])},d(r){r&&x(e)}}}function Sr(i){let e,t,r,o,n,a=i[0]==="live"&&ri(),l=i[0]!=="live"&&oi(i),s=i[1]&&ni(i);return{c(){e=p("header"),a&&a.c(),t=A(),l&&l.c(),r=A(),o=p("div"),n=A(),s&&s.c(),this.c=_,d(o,"class","spacer"),d(e,"class","goa-official-site-header")},m(c,u){w(c,e,u),a&&a.m(e,null),v(e,t),l&&l.m(e,null),v(e,r),v(e,o),v(e,n),s&&s.m(e,null)},p(c,[u]){c[0]==="live"?a||(a=ri(),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[0]!=="live"?l?l.p(c,u):(l=oi(c),l.c(),l.m(e,r)):l&&(l.d(1),l=null),c[1]?s?s.p(c,u):(s=ni(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:_,o:_,d(c){c&&x(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function li(i){return!i||(i==null?void 0:i.length)===0?"":i[0].toUpperCase()+i.slice(1)}function Br(i,e,t){let{level:r}=e,{version:o}=e,{feedbackurl:n}=e;return i.$$set=a=>{"level"in a&&t(0,r=a.level),"version"in a&&t(1,o=a.version),"feedbackurl"in a&&t(2,n=a.feedbackurl)},[r,o,n]}class si extends I{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}a{color:var(--goa-color-interactive);cursor:pointer}a:hover{color:var(--goa-color-interactive--hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive--hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--fs-xs);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;height:2.5rem;padding:0 0.5rem;gap:0.5rem}.spacer{flex:1 1 auto}.version{color:var(--goa-color-600)
|
|
30
|
+
}.service-level{font-weight:bold;padding:0 0.5rem;height:1.5rem;display:flex;align-items:center}.service-level--alpha{background-color:var(--goa-color-interactive--highlight);color:var(--goa-color-text)}.service-level--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-level--live{padding:0}.site-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--goa-color-text)}</style>`,G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Br,Sr,H,{level:0,version:1,feedbackurl:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["level","version","feedbackurl"]}get level(){return this.$$.ctx[0]}set level(e){this.$$set({level:e}),m()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),m()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),m()}}customElements.define("goa-microsite-header",si);function Pr(i){let e,t;return{c(){e=p("div"),d(e,"class",t="skeleton "+i[2]+` ${i[2]}-${i[1]}`)},m(r,o){w(r,e,o)},p(r,o){o&6&&t!==(t="skeleton "+r[2]+` ${r[2]}-${r[1]}`)&&d(e,"class",t)},i:_,o:_,d(r){r&&x(e)}}}function Nr(i){let e,t,r,o,n,a,l,s,c,u;return r=new Y({props:{type:"avatar",size:i[1]}}),a=new Y({props:{type:"title",size:i[1]}}),s=new Y({props:{type:"text-small",size:i[1]}}),{c(){e=p("div"),t=p("div"),ie(r.$$.fragment),o=A(),n=p("div"),ie(a.$$.fragment),l=A(),ie(s.$$.fragment),d(t,"class","profile-avatar"),d(n,"class","profile-name"),d(e,"class",c="profile profile-"+i[1])},m(f,h){w(f,e,h),v(e,t),$(r,t,null),v(e,o),v(e,n),$(a,n,null),v(n,l),$(s,n,null),u=!0},p(f,h){const y={};h&2&&(y.size=f[1]),r.$set(y);const g={};h&2&&(g.size=f[1]),a.$set(g);const b={};h&2&&(b.size=f[1]),s.$set(b),(!u||h&2&&c!==(c="profile profile-"+f[1]))&&d(e,"class",c)},i(f){u||(N(r.$$.fragment,f),N(a.$$.fragment,f),N(s.$$.fragment,f),u=!0)},o(f){W(r.$$.fragment,f),W(a.$$.fragment,f),W(s.$$.fragment,f),u=!1},d(f){f&&x(e),ee(r),ee(a),ee(s)}}}function Fr(i){let e,t,r,o,n,a,l,s,c,u,f,h,y;return t=new Y({props:{type:"image",size:i[1]}}),n=new Y({props:{type:"header",size:i[1]}}),l=new Y({props:{type:"text",size:i[1]}}),c=new Y({props:{type:"text",size:i[1]}}),f=new Y({props:{type:"text",size:i[1]}}),{c(){e=p("div"),ie(t.$$.fragment),r=A(),o=p("div"),ie(n.$$.fragment),a=A(),ie(l.$$.fragment),s=A(),ie(c.$$.fragment),u=A(),ie(f.$$.fragment),d(o,"class","card-content"),d(e,"class",h="card card-"+i[1]),S(e,"--width",i[0]+"px")},m(g,b){w(g,e,b),$(t,e,null),v(e,r),v(e,o),$(n,o,null),v(o,a),$(l,o,null),v(o,s),$(c,o,null),v(o,u),$(f,o,null),y=!0},p(g,b){const E={};b&2&&(E.size=g[1]),t.$set(E);const z={};b&2&&(z.size=g[1]),n.$set(z);const C={};b&2&&(C.size=g[1]),l.$set(C);const L={};b&2&&(L.size=g[1]),c.$set(L);const V={};b&2&&(V.size=g[1]),f.$set(V),(!y||b&2&&h!==(h="card card-"+g[1]))&&d(e,"class",h),(!y||b&1)&&S(e,"--width",g[0]+"px")},i(g){y||(N(t.$$.fragment,g),N(n.$$.fragment,g),N(l.$$.fragment,g),N(c.$$.fragment,g),N(f.$$.fragment,g),y=!0)},o(g){W(t.$$.fragment,g),W(n.$$.fragment,g),W(l.$$.fragment,g),W(c.$$.fragment,g),W(f.$$.fragment,g),y=!1},d(g){g&&x(e),ee(t),ee(n),ee(l),ee(c),ee(f)}}}function qr(i){let e,t,r,o;const n=[Fr,Nr,Pr],a=[];function l(s,c){return s[2]==="card"?0:s[2]==="profile"?1:2}return e=l(i),t=a[e]=n[e](i),{c(){t.c(),r=ce(),this.c=_},m(s,c){a[e].m(s,c),w(s,r,c),o=!0},p(s,[c]){let u=e;e=l(s),e===u?a[e].p(s,c):(pe(),W(a[u],1,1,()=>{a[u]=null}),_e(),t=a[e],t?t.p(s,c):(t=a[e]=n[e](s),t.c()),N(t,1),t.m(r.parentNode,r))},i(s){o||(N(t),o=!0)},o(s){W(t),o=!1},d(s){a[e].d(s),s&&x(r)}}}function Wr(i,e,t){let{width:r=320}=e,{size:o=1}=e,{type:n}=e;return i.$$set=a=>{"width"in a&&t(0,r=a.width),"size"in a&&t(1,o=a.size),"type"in a&&t(2,n=a.type)},[r,o,n]}class Y extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--color-gray-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--color-gray-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-4,.text-4{width:100%;height:.75rem;border-radius:0.25rem}.title,.title-1,.title-2{width:100%;height:.75rem;border-radius:0.25rem}.title-3{height:.8rem}.title-4{height:1rem}.text-small,.text-small-1{width:30%;height:6px;border-radius:2px}.text-small-2{width:40%;height:8px;border-radius:2px}.text-small-3{width:50%;height:10px;border-radius:3px}.text-small-4{width:70%;height:12px;border-radius:4px}.paragraph{width:100%;height:70px;border-radius:4px}.header,.header-1{width:50%;height:18px;margin-bottom:12px;border-radius:0.25rem}.header-2{width:60%;height:20px;margin-bottom:14px;border-radius:0.25rem}.header-3{width:70%;height:22px;margin-bottom:16px;border-radius:0.25rem}.header-4{width:80%;height:24px;margin-bottom:18px;border-radius:0.3rem}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--color-gray-100);border-radius:4px}.card{width:100%}@media(min-width: 320px){.card{width:var(--width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Wr,qr,H,{width:0,size:1,type:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["width","size","type"]}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),m()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),m()}get type(){return this.$$.ctx[2]}set type(e){this.$$set({type:e}),m()}}customElements.define("goa-skeleton",Y);function ci(i){return Object.prototype.toString.call(i)==="[object Date]"}function Fe(i,e){if(i===e||i!==i)return()=>i;const t=typeof i;if(t!==typeof e||Array.isArray(i)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(i)){const r=e.map((o,n)=>Fe(i[n],o));return o=>r.map(n=>n(o))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(ci(i)&&ci(e)){i=i.getTime(),e=e.getTime();const n=e-i;return a=>new Date(i+a*n)}const r=Object.keys(e),o={};return r.forEach(n=>{o[n]=Fe(i[n],e[n])}),n=>{const a={};return r.forEach(l=>{a[l]=o[l](n)}),a}}if(t==="number"){const r=e-i;return o=>i+o*r}throw new Error(`Cannot interpolate ${t} values`)}function Vr(i,e={}){const t=Ne(i);let r,o=i;function n(a,l){if(i==null)return t.set(i=a),Promise.resolve();o=a;let s=r,c=!1,{delay:u=0,duration:f=400,easing:h=he,interpolate:y=Fe}=Ze(Ze({},e),l);if(f===0)return s&&(s.abort(),s=null),t.set(i=o),Promise.resolve();const g=xe()+u;let b;return r=ze(E=>{if(E<g)return!0;c||(b=y(i,a),typeof f=="function"&&(f=f(i,a)),c=!0),s&&(s.abort(),s=null);const z=E-g;return z>f?(t.set(i=a),!1):(t.set(i=b(h(z/f))),!0)}),r.promise}return{set:n,update:(a,l)=>n(a(o,i),l),subscribe:t.subscribe}}function di(i){let e,t,r,o,n,a,l,s,c;return{c(){e=ae("svg"),t=ae("circle"),n=ae("path"),d(t,"cx",i[3]),d(t,"cy",i[3]),d(t,"stroke",r=i[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),d(t,"stroke-width",i[4]),d(t,"r",o=i[3]-i[4]/2),d(n,"d",a=i[9](i[7])),d(n,"stroke-width",i[4]),d(n,"stroke",l=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),d(n,"stroke-linecap","round"),d(e,"class",s=`spinner-${i[1]}`),d(e,"fill","none"),d(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),d(e,"width",i[5]),d(e,"height",i[5]),d(e,"data-testid",i[2]),d(e,"xmlns","http://www.w3.org/2000/svg")},m(u,f){w(u,e,f),v(e,t),v(e,n)},p(u,f){f&8&&d(t,"cx",u[3]),f&8&&d(t,"cy",u[3]),f&1&&r!==(r=u[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&d(t,"stroke",r),f&16&&d(t,"stroke-width",u[4]),f&24&&o!==(o=u[3]-u[4]/2)&&d(t,"r",o),f&128&&a!==(a=u[9](u[7]))&&d(n,"d",a),f&16&&d(n,"stroke-width",u[4]),f&1&&l!==(l=u[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&d(n,"stroke",l),f&2&&s!==(s=`spinner-${u[1]}`)&&d(e,"class",s),f&32&&c!==(c="0 0 "+u[5]+" "+u[5])&&d(e,"viewBox",c),f&32&&d(e,"width",u[5]),f&32&&d(e,"height",u[5]),f&4&&d(e,"data-testid",u[2])},d(u){u&&x(e)}}}function Zr(i){let e,t=i[6]&&di(i);return{c(){t&&t.c(),e=ce(),this.c=_},m(r,o){t&&t.m(r,o),w(r,e,o)},p(r,[o]){r[6]?t?t.p(r,o):(t=di(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:_,o:_,d(r){t&&t.d(r),r&&x(e)}}}function Ur(i,e,t){let r,o,n,a,l,s,{size:c}=e,{invert:u=!1}=e,{type:f="infinite"}=e,{progress:h="0"}=e,{testid:y=""}=e;const g=Vr(0,{duration:500,easing:_r});yi(i,g,z=>t(7,s=z));function b(z){const C=n+a*Math.cos(z),L=n+a*Math.sin(z);return C+" "+L}function E(z){switch(f){case"progress":{const C=b(-Math.PI/2),L=b(-Math.PI/2+2*Math.PI*(z/100)),V=z%100<50?0:1;return`M ${C} A ${a} ${a} 0 ${V} 1 ${L}`}case"infinite":{const C=b(Math.PI*1.5),L=b(0);return`M ${C} A ${a} ${a} 0 1 0 ${L}`}}}return i.$$set=z=>{"size"in z&&t(10,c=z.size),"invert"in z&&t(0,u=z.invert),"type"in z&&t(1,f=z.type),"progress"in z&&t(11,h=z.progress),"testid"in z&&t(2,y=z.testid)},i.$$.update=()=>{i.$$.dirty&2048&&g.set(parseFloat(h)),i.$$.dirty&1024&&t(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,o=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,n=r/2),i.$$.dirty&24&&t(12,a=n-o/2),i.$$.dirty&6146&&t(6,l=f==="infinite"?a:a&&h)},[u,f,y,n,o,r,l,s,g,E,c,h,a]}class ui extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ur,Zr,H,{size:10,invert:0,type:1,progress:11,testid:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["size","invert","type","progress","testid"]}get size(){return this.$$.ctx[10]}set size(e){this.$$set({size:e}),m()}get invert(){return this.$$.ctx[0]}set invert(e){this.$$set({invert:e}),m()}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),m()}get progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),m()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),m()}}customElements.define("goa-spinner",ui);function Xr(i){let e,t,r;return{c(){e=p("textarea"),this.c=_,d(e,"name",i[0]),d(e,"placeholder",i[2]),e.value=i[1],d(e,"rows",i[3]),d(e,"class","goa-textarea"),e.disabled=i[5],e.readOnly=i[6],d(e,"data-testid",i[4]),D(e,"error",i[7])},m(o,n){w(o,e,n),t||(r=U(e,"keyup",i[8]),t=!0)},p(o,[n]){n&1&&d(e,"name",o[0]),n&4&&d(e,"placeholder",o[2]),n&2&&(e.value=o[1]),n&8&&d(e,"rows",o[3]),n&32&&(e.disabled=o[5]),n&64&&(e.readOnly=o[6]),n&16&&d(e,"data-testid",o[4]),n&128&&D(e,"error",o[7])},i:_,o:_,d(o){o&&x(e),t=!1,r()}}}function Jr(i,e,t){let r,o,n,{name:a}=e,{value:l=""}=e,{placeholder:s=""}=e,{rows:c=3}=e,{testid:u=""}=e,{error:f="false"}=e,{readonly:h="false"}=e,{disabled:y="false"}=e;function g(b){const z=b.target.value;o||(b.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:b,name:a,value:z}})),b.stopPropagation())}return i.$$set=b=>{"name"in b&&t(0,a=b.name),"value"in b&&t(1,l=b.value),"placeholder"in b&&t(2,s=b.placeholder),"rows"in b&&t(3,c=b.rows),"testid"in b&&t(4,u=b.testid),"error"in b&&t(9,f=b.error),"readonly"in b&&t(10,h=b.readonly),"disabled"in b&&t(11,y=b.disabled)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=O(f)),i.$$.dirty&2048&&t(5,o=O(y)),i.$$.dirty&1024&&t(6,n=O(h))},[a,l,s,c,u,o,n,r,g,f,h,y]}class fi extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-textarea{display:block;width:100%;box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:3px;background:var(--color-white);color:var(--color-black, #ccc);padding:var(--input-padding, 0.5rem);font-size:var(--input-font-size);font-family:var(--font-family)}.goa-textarea[readonly]{cursor:pointer}.goa-textarea:hover{border-color:var(--goa-color-interactive--hover)}.goa-textarea:active,.goa-textarea:focus,.goa-textarea:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--highlight)}.goa-textarea:disabled{border-color:var(--color-gray-200)}.goa-textarea:disabled:hover{border-color:var(--color-gray-200)}.goa-textarea:disabled:focus,.goa-textarea:disabled:active{box-shadow:none}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-status-emergency-dark)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Jr,Xr,H,{name:0,value:1,placeholder:2,rows:3,testid:4,error:9,readonly:10,disabled:11},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["name","value","placeholder","rows","testid","error","readonly","disabled"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),m()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),m()}get placeholder(){return this.$$.ctx[2]}set placeholder(e){this.$$set({placeholder:e}),m()}get rows(){return this.$$.ctx[3]}set rows(e){this.$$set({rows:e}),m()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),m()}get error(){return this.$$.ctx[9]}set error(e){this.$$set({error:e}),m()}get readonly(){return this.$$.ctx[10]}set readonly(e){this.$$set({readonly:e}),m()}get disabled(){return this.$$.ctx[11]}set disabled(e){this.$$set({disabled:e}),m()}}customElements.define("goa-textarea",fi);function gi(i){let e,t;return{c(){e=p("div"),t=F(i[0]),d(e,"slot","title"),d(e,"class","title")},m(r,o){w(r,e,o),v(e,t)},p(r,o){o&1&&Z(t,r[0])},d(r){r&&x(e)}}}function hi(i){let e;return{c(){e=p("div"),d(e,"class","actions"),d(e,"slot","actions")},m(t,r){w(t,e,r),e.innerHTML=i[1]},p(t,r){r&2&&(e.innerHTML=t[1])},d(t){t&&x(e)}}}function Kr(i){let e,t,r,o,n=i[0]&&gi(i),a=i[1]&&hi(i);return{c(){e=p("goa-container"),n&&n.c(),t=A(),a&&a.c(),r=A(),o=p("div"),this.c=_,d(o,"class","content"),d(o,"slot",""),k(e,"variant",i[3]),k(e,"headingsize",i[4])},m(l,s){w(l,e,s),n&&n.m(e,null),v(e,t),a&&a.m(e,null),v(e,r),v(e,o),o.innerHTML=i[2]},p(l,[s]){l[0]?n?n.p(l,s):(n=gi(l),n.c(),n.m(e,t)):n&&(n.d(1),n=null),l[1]?a?a.p(l,s):(a=hi(l),a.c(),a.m(e,r)):a&&(a.d(1),a=null),s&4&&(o.innerHTML=l[2]),s&8&&k(e,"variant",l[3]),s&16&&k(e,"headingsize",l[4])},i:_,o:_,d(l){l&&x(e),n&&n.d(),a&&a.d()}}}function Yr(i,e,t){let{title:r}=e,{actions:o=""}=e,{content:n}=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,o=s.actions),"content"in s&&t(2,n=s.content),"variant"in s&&t(3,a=s.variant),"headingsize"in s&&t(4,l=s.headingsize)},[r,o,n,a,l]}class mi extends I{constructor(e){super();G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Yr,Kr,H,{title:0,actions:1,content:2,variant:3,headingsize:4},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["title","actions","content","variant","headingsize"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),m()}get actions(){return this.$$.ctx[1]}set actions(e){this.$$set({actions:e}),m()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),m()}get variant(){return this.$$.ctx[3]}set variant(e){this.$$set({variant:e}),m()}get headingsize(){return this.$$.ctx[4]}set headingsize(e){this.$$set({headingsize:e}),m()}}customElements.define("test-container",mi),T.ContainerWrapper=mi,T.GoAAppHeader=lt,T.GoABadge=ct,T.GoAButton=dt,T.GoAButtonGroup=ut,T.GoACallout=ft,T.GoACard=gt,T.GoACardActions=ht,T.GoACardContent=mt,T.GoACardGroup=bt,T.GoACardImage=vt,T.GoACheckbox=yt,T.GoACircularProgress=$t,T.GoAContainer=pt,T.GoADropdown=Et,T.GoADropdownItem=Ct,T.GoAFlexRow=At,T.GoAFormItem=Ht,T.GoAHeroBanner=It,T.GoAIcon=Gt,T.GoAIconButton=Ot,T.GoAInput=Pt,T.GoAMicrositeHeader=si,T.GoAModal=Zt,T.GoANotification=Xt,T.GoAPageBlock=nt,T.GoAPageLayout=Jt,T.GoARadioGroup=ei,T.GoARadioItem=ti,T.GoAScrollable=ii,T.GoASkeleton=Y,T.GoASpinner=ui,T.GoATextArea=fi,Object.defineProperty(T,"__esModule",{value:!0}),T[Symbol.toStringTag]="Module"});
|