@abgov/web-components 1.0.0-alpha.145 → 1.0.0-alpha.146

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.
@@ -933,7 +933,7 @@ function create_else_block$4(ctx) {
933
933
  }
934
934
 
935
935
  // (19:4) {#if url}
936
- function create_if_block$h(ctx) {
936
+ function create_if_block$i(ctx) {
937
937
  let a;
938
938
  let img0;
939
939
  let img0_src_value;
@@ -985,7 +985,7 @@ function create_if_block$h(ctx) {
985
985
  };
986
986
  }
987
987
 
988
- function create_fragment$F(ctx) {
988
+ function create_fragment$G(ctx) {
989
989
  let div2;
990
990
  let div1;
991
991
  let t;
@@ -993,7 +993,7 @@ function create_fragment$F(ctx) {
993
993
  let div2_style_value;
994
994
 
995
995
  function select_block_type(ctx, dirty) {
996
- if (/*url*/ ctx[1]) return create_if_block$h;
996
+ if (/*url*/ ctx[1]) return create_if_block$i;
997
997
  return create_else_block$4;
998
998
  }
999
999
 
@@ -1051,7 +1051,7 @@ function create_fragment$F(ctx) {
1051
1051
  };
1052
1052
  }
1053
1053
 
1054
- function instance$z($$self, $$props, $$invalidate) {
1054
+ function instance$A($$self, $$props, $$invalidate) {
1055
1055
  let { heading = "" } = $$props;
1056
1056
  let { url = "" } = $$props;
1057
1057
  let { testid = "" } = $$props;
@@ -1079,8 +1079,8 @@ class AppHeader extends SvelteElement {
1079
1079
  props: attribute_to_object(this.attributes),
1080
1080
  customElement: true
1081
1081
  },
1082
- instance$z,
1083
- create_fragment$F,
1082
+ instance$A,
1083
+ create_fragment$G,
1084
1084
  safe_not_equal,
1085
1085
  {
1086
1086
  heading: 0,
@@ -1242,7 +1242,7 @@ function create_if_block_1$a(ctx) {
1242
1242
  }
1243
1243
 
1244
1244
  // (50:2) {#if content}
1245
- function create_if_block$g(ctx) {
1245
+ function create_if_block$h(ctx) {
1246
1246
  let div;
1247
1247
  let t;
1248
1248
 
@@ -1265,7 +1265,7 @@ function create_if_block$g(ctx) {
1265
1265
  };
1266
1266
  }
1267
1267
 
1268
- function create_fragment$E(ctx) {
1268
+ function create_fragment$F(ctx) {
1269
1269
  let div;
1270
1270
  let t;
1271
1271
  let div_style_value;
@@ -1278,7 +1278,7 @@ function create_fragment$E(ctx) {
1278
1278
 
1279
1279
  let current_block_type = select_block_type(ctx);
1280
1280
  let if_block0 = current_block_type(ctx);
1281
- let if_block1 = /*content*/ ctx[2] && create_if_block$g(ctx);
1281
+ let if_block1 = /*content*/ ctx[2] && create_if_block$h(ctx);
1282
1282
 
1283
1283
  return {
1284
1284
  c() {
@@ -1316,7 +1316,7 @@ function create_fragment$E(ctx) {
1316
1316
  if (if_block1) {
1317
1317
  if_block1.p(ctx, dirty);
1318
1318
  } else {
1319
- if_block1 = create_if_block$g(ctx);
1319
+ if_block1 = create_if_block$h(ctx);
1320
1320
  if_block1.c();
1321
1321
  if_block1.m(div, null);
1322
1322
  }
@@ -1351,7 +1351,7 @@ function create_fragment$E(ctx) {
1351
1351
  };
1352
1352
  }
1353
1353
 
1354
- function instance$y($$self, $$props, $$invalidate) {
1354
+ function instance$z($$self, $$props, $$invalidate) {
1355
1355
  let showIcon;
1356
1356
  let iconType;
1357
1357
  const [Types, validateType] = typeValidator("Badge type", ["success", "important", "information", "emergency", "dark", "midtone", "light"], true);
@@ -1416,8 +1416,8 @@ class Badge extends SvelteElement {
1416
1416
  props: attribute_to_object(this.attributes),
1417
1417
  customElement: true
1418
1418
  },
1419
- instance$y,
1420
- create_fragment$E,
1419
+ instance$z,
1420
+ create_fragment$F,
1421
1421
  safe_not_equal,
1422
1422
  {
1423
1423
  type: 0,
@@ -1525,7 +1525,7 @@ customElements.define("goa-badge", Badge);
1525
1525
 
1526
1526
  /* libs/web-components/src/components/block/Block.svelte generated by Svelte v3.51.0 */
1527
1527
 
1528
- function create_fragment$D(ctx) {
1528
+ function create_fragment$E(ctx) {
1529
1529
  let div;
1530
1530
  let slot;
1531
1531
  let div_style_value;
@@ -1538,7 +1538,7 @@ function create_fragment$D(ctx) {
1538
1538
  attr(div, "class", "block");
1539
1539
 
1540
1540
  attr(div, "style", div_style_value = `
1541
- ${calculateMargin(/*mt*/ ctx[3], /*mr*/ ctx[4], /*mb*/ ctx[5], /*ml*/ ctx[6])}
1541
+ ${calculateMargin(/*mt*/ ctx[3], /*mr*/ ctx[4], /*mb*/ ctx[5], /*ml*/ ctx[6])};
1542
1542
  --gap: var(--goa-space-${/*gap*/ ctx[0]});
1543
1543
  --alignment: ${/*alignment*/ ctx[2]};
1544
1544
  --direction: ${/*direction*/ ctx[1]};
@@ -1550,7 +1550,7 @@ function create_fragment$D(ctx) {
1550
1550
  },
1551
1551
  p(ctx, [dirty]) {
1552
1552
  if (dirty & /*mt, mr, mb, ml, gap, alignment, direction*/ 127 && div_style_value !== (div_style_value = `
1553
- ${calculateMargin(/*mt*/ ctx[3], /*mr*/ ctx[4], /*mb*/ ctx[5], /*ml*/ ctx[6])}
1553
+ ${calculateMargin(/*mt*/ ctx[3], /*mr*/ ctx[4], /*mb*/ ctx[5], /*ml*/ ctx[6])};
1554
1554
  --gap: var(--goa-space-${/*gap*/ ctx[0]});
1555
1555
  --alignment: ${/*alignment*/ ctx[2]};
1556
1556
  --direction: ${/*direction*/ ctx[1]};
@@ -1566,7 +1566,7 @@ function create_fragment$D(ctx) {
1566
1566
  };
1567
1567
  }
1568
1568
 
1569
- function instance$x($$self, $$props, $$invalidate) {
1569
+ function instance$y($$self, $$props, $$invalidate) {
1570
1570
  let { gap = "m" } = $$props;
1571
1571
  let { direction = "row" } = $$props;
1572
1572
  let { alignment = "start" } = $$props;
@@ -1600,8 +1600,8 @@ class Block extends SvelteElement {
1600
1600
  props: attribute_to_object(this.attributes),
1601
1601
  customElement: true
1602
1602
  },
1603
- instance$x,
1604
- create_fragment$D,
1603
+ instance$y,
1604
+ create_fragment$E,
1605
1605
  safe_not_equal,
1606
1606
  {
1607
1607
  gap: 0,
@@ -1764,8 +1764,8 @@ function create_else_block$2(ctx) {
1764
1764
  };
1765
1765
  }
1766
1766
 
1767
- // (45:2) {#if type === "start"}
1768
- function create_if_block$f(ctx) {
1767
+ // (46:2) {#if type === "start"}
1768
+ function create_if_block$g(ctx) {
1769
1769
  let span;
1770
1770
  let t;
1771
1771
  let goa_icon;
@@ -1795,7 +1795,7 @@ function create_if_block$f(ctx) {
1795
1795
  };
1796
1796
  }
1797
1797
 
1798
- // (51:4) {#if leadingicon}
1798
+ // (52:4) {#if leadingicon}
1799
1799
  function create_if_block_2$6(ctx) {
1800
1800
  let goa_icon;
1801
1801
 
@@ -1804,7 +1804,7 @@ function create_if_block_2$6(ctx) {
1804
1804
  goa_icon = element("goa-icon");
1805
1805
  set_custom_element_data(goa_icon, "id", "leading-icon");
1806
1806
  set_custom_element_data(goa_icon, "type", /*leadingicon*/ ctx[3]);
1807
- set_custom_element_data(goa_icon, "inverted", /*isButtonDark*/ ctx[10]);
1807
+ set_custom_element_data(goa_icon, "inverted", /*isButtonDark*/ ctx[11]);
1808
1808
  },
1809
1809
  m(target, anchor) {
1810
1810
  insert(target, goa_icon, anchor);
@@ -1814,8 +1814,8 @@ function create_if_block_2$6(ctx) {
1814
1814
  set_custom_element_data(goa_icon, "type", /*leadingicon*/ ctx[3]);
1815
1815
  }
1816
1816
 
1817
- if (dirty & /*isButtonDark*/ 1024) {
1818
- set_custom_element_data(goa_icon, "inverted", /*isButtonDark*/ ctx[10]);
1817
+ if (dirty & /*isButtonDark*/ 2048) {
1818
+ set_custom_element_data(goa_icon, "inverted", /*isButtonDark*/ ctx[11]);
1819
1819
  }
1820
1820
  },
1821
1821
  d(detaching) {
@@ -1824,7 +1824,7 @@ function create_if_block_2$6(ctx) {
1824
1824
  };
1825
1825
  }
1826
1826
 
1827
- // (57:4) {#if trailingicon}
1827
+ // (58:4) {#if trailingicon}
1828
1828
  function create_if_block_1$9(ctx) {
1829
1829
  let goa_icon;
1830
1830
 
@@ -1833,7 +1833,7 @@ function create_if_block_1$9(ctx) {
1833
1833
  goa_icon = element("goa-icon");
1834
1834
  set_custom_element_data(goa_icon, "id", "trailing-icon");
1835
1835
  set_custom_element_data(goa_icon, "type", /*trailingicon*/ ctx[4]);
1836
- set_custom_element_data(goa_icon, "inverted", /*isButtonDark*/ ctx[10]);
1836
+ set_custom_element_data(goa_icon, "inverted", /*isButtonDark*/ ctx[11]);
1837
1837
  },
1838
1838
  m(target, anchor) {
1839
1839
  insert(target, goa_icon, anchor);
@@ -1843,8 +1843,8 @@ function create_if_block_1$9(ctx) {
1843
1843
  set_custom_element_data(goa_icon, "type", /*trailingicon*/ ctx[4]);
1844
1844
  }
1845
1845
 
1846
- if (dirty & /*isButtonDark*/ 1024) {
1847
- set_custom_element_data(goa_icon, "inverted", /*isButtonDark*/ ctx[10]);
1846
+ if (dirty & /*isButtonDark*/ 2048) {
1847
+ set_custom_element_data(goa_icon, "inverted", /*isButtonDark*/ ctx[11]);
1848
1848
  }
1849
1849
  },
1850
1850
  d(detaching) {
@@ -1853,7 +1853,7 @@ function create_if_block_1$9(ctx) {
1853
1853
  };
1854
1854
  }
1855
1855
 
1856
- function create_fragment$C(ctx) {
1856
+ function create_fragment$D(ctx) {
1857
1857
  let button;
1858
1858
  let button_class_value;
1859
1859
  let button_style_value;
@@ -1861,7 +1861,7 @@ function create_fragment$C(ctx) {
1861
1861
  let dispose;
1862
1862
 
1863
1863
  function select_block_type(ctx, dirty) {
1864
- if (/*type*/ ctx[0] === "start") return create_if_block$f;
1864
+ if (/*type*/ ctx[0] === "start") return create_if_block$g;
1865
1865
  return create_else_block$2;
1866
1866
  }
1867
1867
 
@@ -1875,7 +1875,7 @@ function create_fragment$C(ctx) {
1875
1875
  this.c = noop;
1876
1876
  attr(button, "class", button_class_value = "" + (/*type*/ ctx[0] + " " + /*size*/ ctx[1] + " " + /*variant*/ ctx[2]));
1877
1877
  attr(button, "style", button_style_value = calculateMargin(/*mt*/ ctx[6], /*mr*/ ctx[7], /*mb*/ ctx[8], /*ml*/ ctx[9]));
1878
- button.disabled = /*isDisabled*/ ctx[11];
1878
+ button.disabled = /*isDisabled*/ ctx[10];
1879
1879
  attr(button, "data-testid", /*testid*/ ctx[5]);
1880
1880
  toggle_class(button, "leading", /*leadingicon*/ ctx[3]);
1881
1881
  toggle_class(button, "trailing", /*trailingicon*/ ctx[4] || /*type*/ ctx[0] === "start");
@@ -1886,8 +1886,8 @@ function create_fragment$C(ctx) {
1886
1886
 
1887
1887
  if (!mounted) {
1888
1888
  dispose = [
1889
- listen(button, "click", clickHandler),
1890
- listen(button, "click", clickHandler)
1889
+ listen(button, "click", /*clickHandler*/ ctx[12]),
1890
+ listen(button, "click", /*clickHandler*/ ctx[12])
1891
1891
  ];
1892
1892
 
1893
1893
  mounted = true;
@@ -1914,8 +1914,8 @@ function create_fragment$C(ctx) {
1914
1914
  attr(button, "style", button_style_value);
1915
1915
  }
1916
1916
 
1917
- if (dirty & /*isDisabled*/ 2048) {
1918
- button.disabled = /*isDisabled*/ ctx[11];
1917
+ if (dirty & /*isDisabled*/ 1024) {
1918
+ button.disabled = /*isDisabled*/ ctx[10];
1919
1919
  }
1920
1920
 
1921
1921
  if (dirty & /*testid*/ 32) {
@@ -1941,12 +1941,7 @@ function create_fragment$C(ctx) {
1941
1941
  };
1942
1942
  }
1943
1943
 
1944
- function clickHandler(e) {
1945
- this.dispatchEvent(new CustomEvent("_click", { composed: true, bubbles: true }));
1946
- e.stopPropagation();
1947
- }
1948
-
1949
- function instance$w($$self, $$props, $$invalidate) {
1944
+ function instance$x($$self, $$props, $$invalidate) {
1950
1945
  let isDisabled;
1951
1946
  let isButtonDark;
1952
1947
  const [Types, validateType] = typeValidator("Button type", ["primary", "submit", "secondary", "tertiary", "start"], true);
@@ -1964,6 +1959,12 @@ function instance$w($$self, $$props, $$invalidate) {
1964
1959
  let { mb = null } = $$props;
1965
1960
  let { ml = null } = $$props;
1966
1961
 
1962
+ function clickHandler(e) {
1963
+ if (!isDisabled) {
1964
+ this.dispatchEvent(new CustomEvent("_click", { composed: true, bubbles: true }));
1965
+ }
1966
+ }
1967
+
1967
1968
  onMount(() => {
1968
1969
  validateType(type);
1969
1970
  validateSize(size);
@@ -1974,7 +1975,7 @@ function instance$w($$self, $$props, $$invalidate) {
1974
1975
  if ('type' in $$props) $$invalidate(0, type = $$props.type);
1975
1976
  if ('size' in $$props) $$invalidate(1, size = $$props.size);
1976
1977
  if ('variant' in $$props) $$invalidate(2, variant = $$props.variant);
1977
- if ('disabled' in $$props) $$invalidate(12, disabled = $$props.disabled);
1978
+ if ('disabled' in $$props) $$invalidate(13, disabled = $$props.disabled);
1978
1979
  if ('leadingicon' in $$props) $$invalidate(3, leadingicon = $$props.leadingicon);
1979
1980
  if ('trailingicon' in $$props) $$invalidate(4, trailingicon = $$props.trailingicon);
1980
1981
  if ('testid' in $$props) $$invalidate(5, testid = $$props.testid);
@@ -1985,12 +1986,12 @@ function instance$w($$self, $$props, $$invalidate) {
1985
1986
  };
1986
1987
 
1987
1988
  $$self.$$.update = () => {
1988
- if ($$self.$$.dirty & /*disabled*/ 4096) {
1989
- $$invalidate(11, isDisabled = toBoolean(disabled));
1989
+ if ($$self.$$.dirty & /*disabled*/ 8192) {
1990
+ $$invalidate(10, isDisabled = toBoolean(disabled));
1990
1991
  }
1991
1992
 
1992
1993
  if ($$self.$$.dirty & /*type*/ 1) {
1993
- $$invalidate(10, isButtonDark = type === "primary" || type === "start");
1994
+ $$invalidate(11, isButtonDark = type === "primary" || type === "start");
1994
1995
  }
1995
1996
  };
1996
1997
 
@@ -2005,8 +2006,9 @@ function instance$w($$self, $$props, $$invalidate) {
2005
2006
  mr,
2006
2007
  mb,
2007
2008
  ml,
2008
- isButtonDark,
2009
2009
  isDisabled,
2010
+ isButtonDark,
2011
+ clickHandler,
2010
2012
  disabled
2011
2013
  ];
2012
2014
  }
@@ -2025,14 +2027,14 @@ class Button extends SvelteElement {
2025
2027
  props: attribute_to_object(this.attributes),
2026
2028
  customElement: true
2027
2029
  },
2028
- instance$w,
2029
- create_fragment$C,
2030
+ instance$x,
2031
+ create_fragment$D,
2030
2032
  safe_not_equal,
2031
2033
  {
2032
2034
  type: 0,
2033
2035
  size: 1,
2034
2036
  variant: 2,
2035
- disabled: 12,
2037
+ disabled: 13,
2036
2038
  leadingicon: 3,
2037
2039
  trailingicon: 4,
2038
2040
  testid: 5,
@@ -2100,7 +2102,7 @@ class Button extends SvelteElement {
2100
2102
  }
2101
2103
 
2102
2104
  get disabled() {
2103
- return this.$$.ctx[12];
2105
+ return this.$$.ctx[13];
2104
2106
  }
2105
2107
 
2106
2108
  set disabled(disabled) {
@@ -2176,7 +2178,7 @@ customElements.define("goa-button", Button);
2176
2178
 
2177
2179
  /* libs/web-components/src/components/button-group/ButtonGroup.svelte generated by Svelte v3.51.0 */
2178
2180
 
2179
- function create_fragment$B(ctx) {
2181
+ function create_fragment$C(ctx) {
2180
2182
  let div;
2181
2183
  let slot;
2182
2184
  let div_style_value;
@@ -2210,7 +2212,7 @@ function create_fragment$B(ctx) {
2210
2212
  };
2211
2213
  }
2212
2214
 
2213
- function instance$v($$self, $$props, $$invalidate) {
2215
+ function instance$w($$self, $$props, $$invalidate) {
2214
2216
  let _alignment;
2215
2217
  let { alignment = "start" } = $$props;
2216
2218
  let { gap = "relaxed" } = $$props;
@@ -2262,8 +2264,8 @@ class ButtonGroup extends SvelteElement {
2262
2264
  props: attribute_to_object(this.attributes),
2263
2265
  customElement: true
2264
2266
  },
2265
- instance$v,
2266
- create_fragment$B,
2267
+ instance$w,
2268
+ create_fragment$C,
2267
2269
  safe_not_equal,
2268
2270
  {
2269
2271
  alignment: 7,
@@ -2361,7 +2363,7 @@ customElements.define("goa-button-group", ButtonGroup);
2361
2363
 
2362
2364
  /* libs/web-components/src/components/callout/Callout.svelte generated by Svelte v3.51.0 */
2363
2365
 
2364
- function create_if_block$e(ctx) {
2366
+ function create_if_block$f(ctx) {
2365
2367
  let h3;
2366
2368
  let t;
2367
2369
 
@@ -2383,7 +2385,7 @@ function create_if_block$e(ctx) {
2383
2385
  };
2384
2386
  }
2385
2387
 
2386
- function create_fragment$A(ctx) {
2388
+ function create_fragment$B(ctx) {
2387
2389
  let div;
2388
2390
  let span0;
2389
2391
  let goa_icon;
@@ -2394,7 +2396,7 @@ function create_fragment$A(ctx) {
2394
2396
  let t1;
2395
2397
  let slot;
2396
2398
  let div_style_value;
2397
- let if_block = /*heading*/ ctx[5] && create_if_block$e(ctx);
2399
+ let if_block = /*heading*/ ctx[5] && create_if_block$f(ctx);
2398
2400
 
2399
2401
  return {
2400
2402
  c() {
@@ -2442,7 +2444,7 @@ function create_fragment$A(ctx) {
2442
2444
  if (if_block) {
2443
2445
  if_block.p(ctx, dirty);
2444
2446
  } else {
2445
- if_block = create_if_block$e(ctx);
2447
+ if_block = create_if_block$f(ctx);
2446
2448
  if_block.c();
2447
2449
  if_block.m(span1, t1);
2448
2450
  }
@@ -2468,7 +2470,7 @@ function create_fragment$A(ctx) {
2468
2470
  };
2469
2471
  }
2470
2472
 
2471
- function instance$u($$self, $$props, $$invalidate) {
2473
+ function instance$v($$self, $$props, $$invalidate) {
2472
2474
  let iconType;
2473
2475
  const [Types, validateType] = typeValidator("Callout type", ["emergency", "important", "information", "event", "success"], true);
2474
2476
  let { mt = null } = $$props;
@@ -2522,8 +2524,8 @@ class Callout extends SvelteElement {
2522
2524
  props: attribute_to_object(this.attributes),
2523
2525
  customElement: true
2524
2526
  },
2525
- instance$u,
2526
- create_fragment$A,
2527
+ instance$v,
2528
+ create_fragment$B,
2527
2529
  safe_not_equal,
2528
2530
  {
2529
2531
  mt: 0,
@@ -2621,7 +2623,7 @@ customElements.define("goa-callout", Callout);
2621
2623
 
2622
2624
  /* libs/web-components/src/components/card-actions/CardActions.svelte generated by Svelte v3.51.0 */
2623
2625
 
2624
- function create_fragment$z(ctx) {
2626
+ function create_fragment$A(ctx) {
2625
2627
  let goa_card_content;
2626
2628
 
2627
2629
  return {
@@ -2654,7 +2656,7 @@ class CardActions extends SvelteElement {
2654
2656
  customElement: true
2655
2657
  },
2656
2658
  null,
2657
- create_fragment$z,
2659
+ create_fragment$A,
2658
2660
  safe_not_equal,
2659
2661
  {},
2660
2662
  null
@@ -2672,7 +2674,7 @@ customElements.define("goa-card-actions", CardActions);
2672
2674
 
2673
2675
  /* libs/web-components/src/components/card/Card.svelte generated by Svelte v3.51.0 */
2674
2676
 
2675
- function create_fragment$y(ctx) {
2677
+ function create_fragment$z(ctx) {
2676
2678
  let div;
2677
2679
  let slot;
2678
2680
  let div_style_value;
@@ -2712,7 +2714,7 @@ function create_fragment$y(ctx) {
2712
2714
  };
2713
2715
  }
2714
2716
 
2715
- function instance$t($$self, $$props, $$invalidate) {
2717
+ function instance$u($$self, $$props, $$invalidate) {
2716
2718
  let { elevation = 0 } = $$props;
2717
2719
  let { width = "100%" } = $$props;
2718
2720
  let { height = "auto" } = $$props;
@@ -2748,8 +2750,8 @@ class Card extends SvelteElement {
2748
2750
  props: attribute_to_object(this.attributes),
2749
2751
  customElement: true
2750
2752
  },
2751
- instance$t,
2752
- create_fragment$y,
2753
+ instance$u,
2754
+ create_fragment$z,
2753
2755
  safe_not_equal,
2754
2756
  {
2755
2757
  elevation: 0,
@@ -2857,7 +2859,7 @@ customElements.define("goa-card", Card);
2857
2859
 
2858
2860
  /* libs/web-components/src/components/card-content/CardContent.svelte generated by Svelte v3.51.0 */
2859
2861
 
2860
- function create_fragment$x(ctx) {
2862
+ function create_fragment$y(ctx) {
2861
2863
  let div;
2862
2864
 
2863
2865
  return {
@@ -2892,7 +2894,7 @@ class CardContent extends SvelteElement {
2892
2894
  customElement: true
2893
2895
  },
2894
2896
  null,
2895
- create_fragment$x,
2897
+ create_fragment$y,
2896
2898
  safe_not_equal,
2897
2899
  {},
2898
2900
  null
@@ -2910,7 +2912,7 @@ customElements.define("goa-card-content", CardContent);
2910
2912
 
2911
2913
  /* libs/web-components/src/components/card-group/CardGroup.svelte generated by Svelte v3.51.0 */
2912
2914
 
2913
- function create_fragment$w(ctx) {
2915
+ function create_fragment$x(ctx) {
2914
2916
  let div;
2915
2917
 
2916
2918
  return {
@@ -2945,7 +2947,7 @@ class CardGroup extends SvelteElement {
2945
2947
  customElement: true
2946
2948
  },
2947
2949
  null,
2948
- create_fragment$w,
2950
+ create_fragment$x,
2949
2951
  safe_not_equal,
2950
2952
  {},
2951
2953
  null
@@ -2963,7 +2965,7 @@ customElements.define("goa-card-group", CardGroup);
2963
2965
 
2964
2966
  /* libs/web-components/src/components/card-image/CardImage.svelte generated by Svelte v3.51.0 */
2965
2967
 
2966
- function create_fragment$v(ctx) {
2968
+ function create_fragment$w(ctx) {
2967
2969
  let div;
2968
2970
 
2969
2971
  return {
@@ -2995,7 +2997,7 @@ function create_fragment$v(ctx) {
2995
2997
  };
2996
2998
  }
2997
2999
 
2998
- function instance$s($$self, $$props, $$invalidate) {
3000
+ function instance$t($$self, $$props, $$invalidate) {
2999
3001
  let { src } = $$props;
3000
3002
  let { height = "100%" } = $$props;
3001
3003
 
@@ -3019,8 +3021,8 @@ class CardImage extends SvelteElement {
3019
3021
  props: attribute_to_object(this.attributes),
3020
3022
  customElement: true
3021
3023
  },
3022
- instance$s,
3023
- create_fragment$v,
3024
+ instance$t,
3025
+ create_fragment$w,
3024
3026
  safe_not_equal,
3025
3027
  { src: 0, height: 1 },
3026
3028
  null
@@ -3090,7 +3092,7 @@ function create_if_block_1$8(ctx) {
3090
3092
  }
3091
3093
 
3092
3094
  // (68:4) {#if isIndeterminate}
3093
- function create_if_block$d(ctx) {
3095
+ function create_if_block$e(ctx) {
3094
3096
  let svg;
3095
3097
  let rect;
3096
3098
 
@@ -3115,7 +3117,7 @@ function create_if_block$d(ctx) {
3115
3117
  };
3116
3118
  }
3117
3119
 
3118
- function create_fragment$u(ctx) {
3120
+ function create_fragment$v(ctx) {
3119
3121
  let label;
3120
3122
  let div0;
3121
3123
  let input;
@@ -3131,7 +3133,7 @@ function create_fragment$u(ctx) {
3131
3133
  let dispose;
3132
3134
 
3133
3135
  function select_block_type(ctx, dirty) {
3134
- if (/*isIndeterminate*/ ctx[10]) return create_if_block$d;
3136
+ if (/*isIndeterminate*/ ctx[10]) return create_if_block$e;
3135
3137
  if (/*isChecked*/ ctx[9]) return create_if_block_1$8;
3136
3138
  }
3137
3139
 
@@ -3260,7 +3262,7 @@ function create_fragment$u(ctx) {
3260
3262
  };
3261
3263
  }
3262
3264
 
3263
- function instance$r($$self, $$props, $$invalidate) {
3265
+ function instance$s($$self, $$props, $$invalidate) {
3264
3266
  let isDisabled;
3265
3267
  let isError;
3266
3268
  let isChecked;
@@ -3372,8 +3374,8 @@ class Checkbox extends SvelteElement {
3372
3374
  props: attribute_to_object(this.attributes),
3373
3375
  customElement: true
3374
3376
  },
3375
- instance$r,
3376
- create_fragment$u,
3377
+ instance$s,
3378
+ create_fragment$v,
3377
3379
  safe_not_equal,
3378
3380
  {
3379
3381
  name: 0,
@@ -3559,7 +3561,7 @@ function create_if_block_1$7(ctx) {
3559
3561
  }
3560
3562
 
3561
3563
  // (54:2) {#if _deletable}
3562
- function create_if_block$c(ctx) {
3564
+ function create_if_block$d(ctx) {
3563
3565
  let goa_icon;
3564
3566
  let goa_icon_fillcolor_value;
3565
3567
  let goa_icon_opacity_value;
@@ -3602,7 +3604,7 @@ function create_if_block$c(ctx) {
3602
3604
  };
3603
3605
  }
3604
3606
 
3605
- function create_fragment$t(ctx) {
3607
+ function create_fragment$u(ctx) {
3606
3608
  let div1;
3607
3609
  let t0;
3608
3610
  let div0;
@@ -3612,7 +3614,7 @@ function create_fragment$t(ctx) {
3612
3614
  let mounted;
3613
3615
  let dispose;
3614
3616
  let if_block0 = /*leadingicon*/ ctx[4] && create_if_block_1$7(ctx);
3615
- let if_block1 = /*_deletable*/ ctx[11] && create_if_block$c(ctx);
3617
+ let if_block1 = /*_deletable*/ ctx[11] && create_if_block$d(ctx);
3616
3618
 
3617
3619
  return {
3618
3620
  c() {
@@ -3675,7 +3677,7 @@ function create_fragment$t(ctx) {
3675
3677
  if (if_block1) {
3676
3678
  if_block1.p(ctx, dirty);
3677
3679
  } else {
3678
- if_block1 = create_if_block$c(ctx);
3680
+ if_block1 = create_if_block$d(ctx);
3679
3681
  if_block1.c();
3680
3682
  if_block1.m(div1, null);
3681
3683
  }
@@ -3717,7 +3719,7 @@ function create_fragment$t(ctx) {
3717
3719
  };
3718
3720
  }
3719
3721
 
3720
- function instance$q($$self, $$props, $$invalidate) {
3722
+ function instance$r($$self, $$props, $$invalidate) {
3721
3723
  let { mt = null } = $$props;
3722
3724
  let { mr = null } = $$props;
3723
3725
  let { mb = null } = $$props;
@@ -3814,8 +3816,8 @@ class Chip extends SvelteElement {
3814
3816
  props: attribute_to_object(this.attributes),
3815
3817
  customElement: true
3816
3818
  },
3817
- instance$q,
3818
- create_fragment$t,
3819
+ instance$r,
3820
+ create_fragment$u,
3819
3821
  safe_not_equal,
3820
3822
  {
3821
3823
  mt: 0,
@@ -4041,7 +4043,7 @@ function noscroll(_node, opts) {
4041
4043
 
4042
4044
  /* libs/web-components/src/components/circular-progress/CircularProgress.svelte generated by Svelte v3.51.0 */
4043
4045
 
4044
- function create_if_block$b(ctx) {
4046
+ function create_if_block$c(ctx) {
4045
4047
  let current_block_type_index;
4046
4048
  let if_block;
4047
4049
  let if_block_anchor;
@@ -4323,10 +4325,10 @@ function create_if_block_2$5(ctx) {
4323
4325
  };
4324
4326
  }
4325
4327
 
4326
- function create_fragment$s(ctx) {
4328
+ function create_fragment$t(ctx) {
4327
4329
  let if_block_anchor;
4328
4330
  let current;
4329
- let if_block = /*isVisible*/ ctx[5] && create_if_block$b(ctx);
4331
+ let if_block = /*isVisible*/ ctx[5] && create_if_block$c(ctx);
4330
4332
 
4331
4333
  return {
4332
4334
  c() {
@@ -4348,7 +4350,7 @@ function create_fragment$s(ctx) {
4348
4350
  transition_in(if_block, 1);
4349
4351
  }
4350
4352
  } else {
4351
- if_block = create_if_block$b(ctx);
4353
+ if_block = create_if_block$c(ctx);
4352
4354
  if_block.c();
4353
4355
  transition_in(if_block, 1);
4354
4356
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -4379,7 +4381,7 @@ function create_fragment$s(ctx) {
4379
4381
  };
4380
4382
  }
4381
4383
 
4382
- function instance$p($$self, $$props, $$invalidate) {
4384
+ function instance$q($$self, $$props, $$invalidate) {
4383
4385
  let isVisible;
4384
4386
  const [Variants, validateVariant] = typeValidator("Circular progress variant", ["fullscreen", "inline"]);
4385
4387
  const [Sizes, validateSize] = typeValidator("Button size", ["small", "large"]);
@@ -4439,8 +4441,8 @@ class CircularProgress extends SvelteElement {
4439
4441
  props: attribute_to_object(this.attributes),
4440
4442
  customElement: true
4441
4443
  },
4442
- instance$p,
4443
- create_fragment$s,
4444
+ instance$q,
4445
+ create_fragment$t,
4444
4446
  safe_not_equal,
4445
4447
  {
4446
4448
  variant: 6,
@@ -4518,7 +4520,7 @@ customElements.define("goa-circular-progress", CircularProgress);
4518
4520
 
4519
4521
  /* libs/web-components/src/components/container/Container.svelte generated by Svelte v3.51.0 */
4520
4522
 
4521
- function create_fragment$r(ctx) {
4523
+ function create_fragment$s(ctx) {
4522
4524
  let div3;
4523
4525
  let header;
4524
4526
  let div0;
@@ -4596,7 +4598,7 @@ function create_fragment$r(ctx) {
4596
4598
  };
4597
4599
  }
4598
4600
 
4599
- function instance$o($$self, $$props, $$invalidate) {
4601
+ function instance$p($$self, $$props, $$invalidate) {
4600
4602
  const [Types, validateType] = typeValidator("Container type", ["interactive", "info", "error", "success", "important", "non-interactive"]);
4601
4603
  const [Accents, validateAccent] = typeValidator("Container accent", ["thick", "thin", "filled"]);
4602
4604
  const [Paddings, validatePadding] = typeValidator("Container padding", ["relaxed", "compact"]);
@@ -4641,8 +4643,8 @@ class Container extends SvelteElement {
4641
4643
  props: attribute_to_object(this.attributes),
4642
4644
  customElement: true
4643
4645
  },
4644
- instance$o,
4645
- create_fragment$r,
4646
+ instance$p,
4647
+ create_fragment$s,
4646
4648
  safe_not_equal,
4647
4649
  {
4648
4650
  type: 0,
@@ -4750,7 +4752,7 @@ customElements.define("goa-container", Container);
4750
4752
 
4751
4753
  /* libs/web-components/src/components/divider/Divider.svelte generated by Svelte v3.51.0 */
4752
4754
 
4753
- function create_fragment$q(ctx) {
4755
+ function create_fragment$r(ctx) {
4754
4756
  let hr;
4755
4757
  let hr_style_value;
4756
4758
 
@@ -4781,7 +4783,7 @@ function create_fragment$q(ctx) {
4781
4783
  };
4782
4784
  }
4783
4785
 
4784
- function instance$n($$self, $$props, $$invalidate) {
4786
+ function instance$o($$self, $$props, $$invalidate) {
4785
4787
  let { testid = "" } = $$props;
4786
4788
  let { mt = null } = $$props;
4787
4789
  let { mr = null } = $$props;
@@ -4811,8 +4813,8 @@ class Divider extends SvelteElement {
4811
4813
  props: attribute_to_object(this.attributes),
4812
4814
  customElement: true
4813
4815
  },
4814
- instance$n,
4815
- create_fragment$q,
4816
+ instance$o,
4817
+ create_fragment$r,
4816
4818
  safe_not_equal,
4817
4819
  { testid: 0, mt: 1, mr: 2, mb: 3, ml: 4 },
4818
4820
  null
@@ -5068,7 +5070,7 @@ function create_else_block$1(ctx) {
5068
5070
  }
5069
5071
 
5070
5072
  // (237:2) {#if _native}
5071
- function create_if_block$a(ctx) {
5073
+ function create_if_block$b(ctx) {
5072
5074
  let select;
5073
5075
  let slot;
5074
5076
  let select_aria_label_value;
@@ -5337,13 +5339,13 @@ function create_each_block$4(ctx) {
5337
5339
  };
5338
5340
  }
5339
5341
 
5340
- function create_fragment$p(ctx) {
5342
+ function create_fragment$q(ctx) {
5341
5343
  let div;
5342
5344
  let div_data_testid_value;
5343
5345
  let div_style_value;
5344
5346
 
5345
5347
  function select_block_type(ctx, dirty) {
5346
- if (/*_native*/ ctx[22]) return create_if_block$a;
5348
+ if (/*_native*/ ctx[22]) return create_if_block$b;
5347
5349
  return create_else_block$1;
5348
5350
  }
5349
5351
 
@@ -5408,7 +5410,7 @@ function create_fragment$p(ctx) {
5408
5410
  };
5409
5411
  }
5410
5412
 
5411
- function instance$m($$self, $$props, $$invalidate) {
5413
+ function instance$n($$self, $$props, $$invalidate) {
5412
5414
  let _disabled;
5413
5415
  let _error;
5414
5416
  let _multiselect;
@@ -5776,8 +5778,8 @@ class Dropdown extends SvelteElement {
5776
5778
  props: attribute_to_object(this.attributes),
5777
5779
  customElement: true
5778
5780
  },
5779
- instance$m,
5780
- create_fragment$p,
5781
+ instance$n,
5782
+ create_fragment$q,
5781
5783
  safe_not_equal,
5782
5784
  {
5783
5785
  name: 0,
@@ -5972,7 +5974,7 @@ customElements.define("goa-dropdown", Dropdown);
5972
5974
 
5973
5975
  /* libs/web-components/src/components/dropdown/DropdownItem.svelte generated by Svelte v3.51.0 */
5974
5976
 
5975
- function create_fragment$o(ctx) {
5977
+ function create_fragment$p(ctx) {
5976
5978
  return {
5977
5979
  c() {
5978
5980
  this.c = noop;
@@ -5997,7 +5999,7 @@ class DropdownItem extends SvelteElement {
5997
5999
  customElement: true
5998
6000
  },
5999
6001
  null,
6000
- create_fragment$o,
6002
+ create_fragment$p,
6001
6003
  safe_not_equal,
6002
6004
  {},
6003
6005
  null
@@ -6015,7 +6017,7 @@ customElements.define("goa-dropdown-item", DropdownItem);
6015
6017
 
6016
6018
  /* libs/web-components/src/components/focus-trap/FocusTrap.svelte generated by Svelte v3.51.0 */
6017
6019
 
6018
- function create_fragment$n(ctx) {
6020
+ function create_fragment$o(ctx) {
6019
6021
  let div;
6020
6022
 
6021
6023
  return {
@@ -6068,7 +6070,7 @@ function isFocusable(element) {
6068
6070
  }
6069
6071
  }
6070
6072
 
6071
- function instance$l($$self, $$props, $$invalidate) {
6073
+ function instance$m($$self, $$props, $$invalidate) {
6072
6074
  let isActive;
6073
6075
  let { active } = $$props;
6074
6076
  let ignoreFocusChanges = false;
@@ -6245,8 +6247,8 @@ class FocusTrap extends SvelteElement {
6245
6247
  props: attribute_to_object(this.attributes),
6246
6248
  customElement: true
6247
6249
  },
6248
- instance$l,
6249
- create_fragment$n,
6250
+ instance$m,
6251
+ create_fragment$o,
6250
6252
  safe_not_equal,
6251
6253
  { active: 1 },
6252
6254
  null
@@ -6282,7 +6284,7 @@ customElements.define("goa-focus-trap", FocusTrap);
6282
6284
 
6283
6285
  /* libs/web-components/src/components/footer/Footer.svelte generated by Svelte v3.51.0 */
6284
6286
 
6285
- function create_if_block$9(ctx) {
6287
+ function create_if_block$a(ctx) {
6286
6288
  let goa_divider;
6287
6289
 
6288
6290
  return {
@@ -6299,7 +6301,7 @@ function create_if_block$9(ctx) {
6299
6301
  };
6300
6302
  }
6301
6303
 
6302
- function create_fragment$m(ctx) {
6304
+ function create_fragment$n(ctx) {
6303
6305
  let div5;
6304
6306
  let div4;
6305
6307
  let div0;
@@ -6313,7 +6315,7 @@ function create_fragment$m(ctx) {
6313
6315
  let t3;
6314
6316
  let a1;
6315
6317
  let div5_style_value;
6316
- let if_block = /*navLinks*/ ctx[2]?.length && create_if_block$9();
6318
+ let if_block = /*navLinks*/ ctx[2]?.length && create_if_block$a();
6317
6319
 
6318
6320
  return {
6319
6321
  c() {
@@ -6367,7 +6369,7 @@ function create_fragment$m(ctx) {
6367
6369
  p(ctx, [dirty]) {
6368
6370
  if (/*navLinks*/ ctx[2]?.length) {
6369
6371
  if (if_block) ; else {
6370
- if_block = create_if_block$9();
6372
+ if_block = create_if_block$a();
6371
6373
  if_block.c();
6372
6374
  if_block.m(div4, t1);
6373
6375
  }
@@ -6398,7 +6400,7 @@ function create_fragment$m(ctx) {
6398
6400
  };
6399
6401
  }
6400
6402
 
6401
- function instance$k($$self, $$props, $$invalidate) {
6403
+ function instance$l($$self, $$props, $$invalidate) {
6402
6404
  let { maxcontentwidth = "" } = $$props;
6403
6405
  let rootEl;
6404
6406
  let navLinks;
@@ -6439,8 +6441,8 @@ class Footer extends SvelteElement {
6439
6441
  props: attribute_to_object(this.attributes),
6440
6442
  customElement: true
6441
6443
  },
6442
- instance$k,
6443
- create_fragment$m,
6444
+ instance$l,
6445
+ create_fragment$n,
6444
6446
  safe_not_equal,
6445
6447
  { maxcontentwidth: 0 },
6446
6448
  null
@@ -6515,7 +6517,7 @@ function create_each_block$3(ctx) {
6515
6517
  };
6516
6518
  }
6517
6519
 
6518
- function create_fragment$l(ctx) {
6520
+ function create_fragment$m(ctx) {
6519
6521
  let section;
6520
6522
  let div;
6521
6523
  let t;
@@ -6588,7 +6590,7 @@ function create_fragment$l(ctx) {
6588
6590
  };
6589
6591
  }
6590
6592
 
6591
- function instance$j($$self, $$props, $$invalidate) {
6593
+ function instance$k($$self, $$props, $$invalidate) {
6592
6594
  let rootEl;
6593
6595
  let children = [];
6594
6596
 
@@ -6632,8 +6634,8 @@ class FooterMetaSection extends SvelteElement {
6632
6634
  props: attribute_to_object(this.attributes),
6633
6635
  customElement: true
6634
6636
  },
6635
- instance$j,
6636
- create_fragment$l,
6637
+ instance$k,
6638
+ create_fragment$m,
6637
6639
  safe_not_equal,
6638
6640
  {},
6639
6641
  null
@@ -6658,7 +6660,7 @@ function get_each_context$2(ctx, list, i) {
6658
6660
  }
6659
6661
 
6660
6662
  // (31:2) {#if heading}
6661
- function create_if_block$8(ctx) {
6663
+ function create_if_block$9(ctx) {
6662
6664
  let div;
6663
6665
  let t0;
6664
6666
  let t1;
@@ -6723,14 +6725,14 @@ function create_each_block$2(ctx) {
6723
6725
  };
6724
6726
  }
6725
6727
 
6726
- function create_fragment$k(ctx) {
6728
+ function create_fragment$l(ctx) {
6727
6729
  let section;
6728
6730
  let t0;
6729
6731
  let div;
6730
6732
  let t1;
6731
6733
  let ul;
6732
6734
  let ul_style_value;
6733
- let if_block = /*heading*/ ctx[0] && create_if_block$8(ctx);
6735
+ let if_block = /*heading*/ ctx[0] && create_if_block$9(ctx);
6734
6736
  let each_value = /*children*/ ctx[3];
6735
6737
  let each_blocks = [];
6736
6738
 
@@ -6784,7 +6786,7 @@ function create_fragment$k(ctx) {
6784
6786
  if (if_block) {
6785
6787
  if_block.p(ctx, dirty);
6786
6788
  } else {
6787
- if_block = create_if_block$8(ctx);
6789
+ if_block = create_if_block$9(ctx);
6788
6790
  if_block.c();
6789
6791
  if_block.m(section, t0);
6790
6792
  }
@@ -6838,7 +6840,7 @@ function create_fragment$k(ctx) {
6838
6840
  };
6839
6841
  }
6840
6842
 
6841
- function instance$i($$self, $$props, $$invalidate) {
6843
+ function instance$j($$self, $$props, $$invalidate) {
6842
6844
  let { heading = "" } = $$props;
6843
6845
  let { maxcolumncount = 1 } = $$props;
6844
6846
  let rootEl;
@@ -6893,8 +6895,8 @@ class FooterNavSection extends SvelteElement {
6893
6895
  props: attribute_to_object(this.attributes),
6894
6896
  customElement: true
6895
6897
  },
6896
- instance$i,
6897
- create_fragment$k,
6898
+ instance$j,
6899
+ create_fragment$l,
6898
6900
  safe_not_equal,
6899
6901
  { heading: 0, maxcolumncount: 1 },
6900
6902
  null
@@ -7048,7 +7050,7 @@ function create_if_block_1$4(ctx) {
7048
7050
  }
7049
7051
 
7050
7052
  // (48:2) {#if helptext}
7051
- function create_if_block$7(ctx) {
7053
+ function create_if_block$8(ctx) {
7052
7054
  let div;
7053
7055
  let t;
7054
7056
 
@@ -7071,7 +7073,7 @@ function create_if_block$7(ctx) {
7071
7073
  };
7072
7074
  }
7073
7075
 
7074
- function create_fragment$j(ctx) {
7076
+ function create_fragment$k(ctx) {
7075
7077
  let div1;
7076
7078
  let t0;
7077
7079
  let div0;
@@ -7080,7 +7082,7 @@ function create_fragment$j(ctx) {
7080
7082
  let div1_style_value;
7081
7083
  let if_block0 = /*label*/ ctx[5] && create_if_block_2$4(ctx);
7082
7084
  let if_block1 = /*error*/ ctx[7] && create_if_block_1$4(ctx);
7083
- let if_block2 = /*helptext*/ ctx[6] && create_if_block$7(ctx);
7085
+ let if_block2 = /*helptext*/ ctx[6] && create_if_block$8(ctx);
7084
7086
 
7085
7087
  return {
7086
7088
  c() {
@@ -7140,7 +7142,7 @@ function create_fragment$j(ctx) {
7140
7142
  if (if_block2) {
7141
7143
  if_block2.p(ctx, dirty);
7142
7144
  } else {
7143
- if_block2 = create_if_block$7(ctx);
7145
+ if_block2 = create_if_block$8(ctx);
7144
7146
  if_block2.c();
7145
7147
  if_block2.m(div1, null);
7146
7148
  }
@@ -7168,7 +7170,7 @@ function create_fragment$j(ctx) {
7168
7170
  };
7169
7171
  }
7170
7172
 
7171
- function instance$h($$self, $$props, $$invalidate) {
7173
+ function instance$i($$self, $$props, $$invalidate) {
7172
7174
  const [REQUIREMENT_TYPES, validateRequirementType] = typeValidator("Requirement type", ["optional", "required"], false);
7173
7175
  let { testid = "" } = $$props;
7174
7176
  let { mt = null } = $$props;
@@ -7211,8 +7213,8 @@ class FormItem extends SvelteElement {
7211
7213
  props: attribute_to_object(this.attributes),
7212
7214
  customElement: true
7213
7215
  },
7214
- instance$h,
7215
- create_fragment$j,
7216
+ instance$i,
7217
+ create_fragment$k,
7216
7218
  safe_not_equal,
7217
7219
  {
7218
7220
  testid: 0,
@@ -7340,7 +7342,7 @@ customElements.define("goa-form-item", FormItem);
7340
7342
 
7341
7343
  /* libs/web-components/src/components/grid/Grid.svelte generated by Svelte v3.51.0 */
7342
7344
 
7343
- function create_fragment$i(ctx) {
7345
+ function create_fragment$j(ctx) {
7344
7346
  let div;
7345
7347
  let slot;
7346
7348
  let div_style_value;
@@ -7379,7 +7381,7 @@ function create_fragment$i(ctx) {
7379
7381
  };
7380
7382
  }
7381
7383
 
7382
- function instance$g($$self, $$props, $$invalidate) {
7384
+ function instance$h($$self, $$props, $$invalidate) {
7383
7385
  let { gap = "m" } = $$props;
7384
7386
  let { minchildwidth = "" } = $$props;
7385
7387
  let { mt = null } = $$props;
@@ -7415,8 +7417,8 @@ class Grid extends SvelteElement {
7415
7417
  props: attribute_to_object(this.attributes),
7416
7418
  customElement: true
7417
7419
  },
7418
- instance$g,
7419
- create_fragment$i,
7420
+ instance$h,
7421
+ create_fragment$j,
7420
7422
  safe_not_equal,
7421
7423
  {
7422
7424
  gap: 0,
@@ -7504,7 +7506,7 @@ customElements.define("goa-grid", Grid);
7504
7506
 
7505
7507
  /* libs/web-components/src/components/hero-banner/HeroBanner.svelte generated by Svelte v3.51.0 */
7506
7508
 
7507
- function create_fragment$h(ctx) {
7509
+ function create_fragment$i(ctx) {
7508
7510
  let div1;
7509
7511
  let goa_page_block;
7510
7512
  let h1;
@@ -7567,7 +7569,7 @@ function create_fragment$h(ctx) {
7567
7569
  };
7568
7570
  }
7569
7571
 
7570
- function instance$f($$self, $$props, $$invalidate) {
7572
+ function instance$g($$self, $$props, $$invalidate) {
7571
7573
  let { heading } = $$props;
7572
7574
  let { backgroundurl } = $$props;
7573
7575
  let { minheight = "600px" } = $$props;
@@ -7593,8 +7595,8 @@ class HeroBanner extends SvelteElement {
7593
7595
  props: attribute_to_object(this.attributes),
7594
7596
  customElement: true
7595
7597
  },
7596
- instance$f,
7597
- create_fragment$h,
7598
+ instance$g,
7599
+ create_fragment$i,
7598
7600
  safe_not_equal,
7599
7601
  {
7600
7602
  heading: 0,
@@ -7652,7 +7654,7 @@ customElements.define("goa-hero-banner", HeroBanner);
7652
7654
 
7653
7655
  /* libs/web-components/src/components/icon-button/IconButton.svelte generated by Svelte v3.51.0 */
7654
7656
 
7655
- function create_fragment$g(ctx) {
7657
+ function create_fragment$h(ctx) {
7656
7658
  let button;
7657
7659
  let goa_icon;
7658
7660
  let button_style_value;
@@ -7739,7 +7741,7 @@ function handleClick(e) {
7739
7741
  e.target.dispatchEvent(new CustomEvent("_click", { composed: true, detail: { event: e } }));
7740
7742
  }
7741
7743
 
7742
- function instance$e($$self, $$props, $$invalidate) {
7744
+ function instance$f($$self, $$props, $$invalidate) {
7743
7745
  let css;
7744
7746
  let isDisabled;
7745
7747
  let isInverted;
@@ -7832,8 +7834,8 @@ class IconButton extends SvelteElement {
7832
7834
  props: attribute_to_object(this.attributes),
7833
7835
  customElement: true
7834
7836
  },
7835
- instance$e,
7836
- create_fragment$g,
7837
+ instance$f,
7838
+ create_fragment$h,
7837
7839
  safe_not_equal,
7838
7840
  {
7839
7841
  icon: 0,
@@ -7994,7 +7996,7 @@ customElements.define("goa-icon-button", IconButton);
7994
7996
 
7995
7997
  /* libs/web-components/src/components/icon/Icon.svelte generated by Svelte v3.51.0 */
7996
7998
 
7997
- function create_if_block$6(ctx) {
7999
+ function create_if_block$7(ctx) {
7998
8000
  let ion_icon;
7999
8001
  let ion_icon_name_value;
8000
8002
 
@@ -8022,10 +8024,10 @@ function create_if_block$6(ctx) {
8022
8024
  };
8023
8025
  }
8024
8026
 
8025
- function create_fragment$f(ctx) {
8027
+ function create_fragment$g(ctx) {
8026
8028
  let div;
8027
8029
  let div_style_value;
8028
- let if_block = /*type*/ ctx[4] && create_if_block$6(ctx);
8030
+ let if_block = /*type*/ ctx[4] && create_if_block$7(ctx);
8029
8031
 
8030
8032
  return {
8031
8033
  c() {
@@ -8055,7 +8057,7 @@ function create_fragment$f(ctx) {
8055
8057
  if (if_block) {
8056
8058
  if_block.p(ctx, dirty);
8057
8059
  } else {
8058
- if_block = create_if_block$6(ctx);
8060
+ if_block = create_if_block$7(ctx);
8059
8061
  if_block.c();
8060
8062
  if_block.m(div, null);
8061
8063
  }
@@ -8095,7 +8097,7 @@ function create_fragment$f(ctx) {
8095
8097
  };
8096
8098
  }
8097
8099
 
8098
- function instance$d($$self, $$props, $$invalidate) {
8100
+ function instance$e($$self, $$props, $$invalidate) {
8099
8101
  let isInverted;
8100
8102
  let _size;
8101
8103
  let { mt = null } = $$props;
@@ -8173,8 +8175,8 @@ class Icon extends SvelteElement {
8173
8175
  props: attribute_to_object(this.attributes),
8174
8176
  customElement: true
8175
8177
  },
8176
- instance$d,
8177
- create_fragment$f,
8178
+ instance$e,
8179
+ create_fragment$g,
8178
8180
  safe_not_equal,
8179
8181
  {
8180
8182
  mt: 0,
@@ -8369,7 +8371,7 @@ function create_if_block_4$1(ctx) {
8369
8371
  };
8370
8372
  }
8371
8373
 
8372
- // (100:4) {#if leadingicon}
8374
+ // (109:4) {#if leadingicon}
8373
8375
  function create_if_block_3$2(ctx) {
8374
8376
  let goa_icon;
8375
8377
 
@@ -8394,7 +8396,7 @@ function create_if_block_3$2(ctx) {
8394
8396
  };
8395
8397
  }
8396
8398
 
8397
- // (130:4) {#if trailingicon && !handlesTrailingIconClick}
8399
+ // (139:4) {#if trailingicon && !handlesTrailingIconClick}
8398
8400
  function create_if_block_2$3(ctx) {
8399
8401
  let goa_icon;
8400
8402
 
@@ -8420,7 +8422,7 @@ function create_if_block_2$3(ctx) {
8420
8422
  };
8421
8423
  }
8422
8424
 
8423
- // (140:4) {#if trailingicon && handlesTrailingIconClick}
8425
+ // (149:4) {#if trailingicon && handlesTrailingIconClick}
8424
8426
  function create_if_block_1$3(ctx) {
8425
8427
  let goa_icon_button;
8426
8428
  let mounted;
@@ -8460,8 +8462,8 @@ function create_if_block_1$3(ctx) {
8460
8462
  };
8461
8463
  }
8462
8464
 
8463
- // (152:4) {#if suffix}
8464
- function create_if_block$5(ctx) {
8465
+ // (161:4) {#if suffix}
8466
+ function create_if_block$6(ctx) {
8465
8467
  let span;
8466
8468
  let t;
8467
8469
 
@@ -8484,7 +8486,7 @@ function create_if_block$5(ctx) {
8484
8486
  };
8485
8487
  }
8486
8488
 
8487
- function create_fragment$e(ctx) {
8489
+ function create_fragment$f(ctx) {
8488
8490
  let div3;
8489
8491
  let div2;
8490
8492
  let t0;
@@ -8508,7 +8510,7 @@ function create_fragment$e(ctx) {
8508
8510
  let if_block1 = /*leadingicon*/ ctx[5] && create_if_block_3$2(ctx);
8509
8511
  let if_block2 = /*trailingicon*/ ctx[6] && !/*handlesTrailingIconClick*/ ctx[24] && create_if_block_2$3(ctx);
8510
8512
  let if_block3 = /*trailingicon*/ ctx[6] && /*handlesTrailingIconClick*/ ctx[24] && create_if_block_1$3(ctx);
8511
- let if_block4 = /*suffix*/ ctx[15] && create_if_block$5(ctx);
8513
+ let if_block4 = /*suffix*/ ctx[15] && create_if_block$6(ctx);
8512
8514
 
8513
8515
  return {
8514
8516
  c() {
@@ -8575,7 +8577,7 @@ function create_fragment$e(ctx) {
8575
8577
  if (if_block1) if_block1.m(div2, null);
8576
8578
  append(div2, t2);
8577
8579
  append(div2, input);
8578
- /*input_binding*/ ctx[32](input);
8580
+ /*input_binding*/ ctx[33](input);
8579
8581
  append(div2, t3);
8580
8582
  if (if_block2) if_block2.m(div2, null);
8581
8583
  append(div2, t4);
@@ -8707,7 +8709,7 @@ function create_fragment$e(ctx) {
8707
8709
  if (if_block4) {
8708
8710
  if_block4.p(ctx, dirty);
8709
8711
  } else {
8710
- if_block4 = create_if_block$5(ctx);
8712
+ if_block4 = create_if_block$6(ctx);
8711
8713
  if_block4.c();
8712
8714
  if_block4.m(div2, t6);
8713
8715
  }
@@ -8742,7 +8744,7 @@ function create_fragment$e(ctx) {
8742
8744
  if (detaching) detach(div3);
8743
8745
  if (if_block0) if_block0.d();
8744
8746
  if (if_block1) if_block1.d();
8745
- /*input_binding*/ ctx[32](null);
8747
+ /*input_binding*/ ctx[33](null);
8746
8748
  if (if_block2) if_block2.d();
8747
8749
  if (if_block3) if_block3.d();
8748
8750
  if (if_block4) if_block4.d();
@@ -8756,7 +8758,7 @@ function doClick() {
8756
8758
  this.dispatchEvent(new CustomEvent("_trailingIconClick", { composed: true }));
8757
8759
  }
8758
8760
 
8759
- function instance$c($$self, $$props, $$invalidate) {
8761
+ function instance$d($$self, $$props, $$invalidate) {
8760
8762
  let handlesTrailingIconClick;
8761
8763
  let isFocused;
8762
8764
  let isReadonly;
@@ -8796,29 +8798,41 @@ function instance$c($$self, $$props, $$invalidate) {
8796
8798
  let { testid = "" } = $$props;
8797
8799
  let { width = "30ch" } = $$props;
8798
8800
  let { arialabel = null } = $$props;
8799
- let { min = null } = $$props;
8800
- let { max = null } = $$props;
8801
- let { step = null } = $$props;
8801
+ let { min = "" } = $$props;
8802
+ let { max = "" } = $$props;
8803
+ let { step = 1 } = $$props;
8802
8804
  let { prefix = "" } = $$props;
8803
8805
  let { suffix = "" } = $$props;
8806
+ let { debounce = 0 } = $$props;
8804
8807
  let { mt = null } = $$props;
8805
8808
  let { mr = null } = $$props;
8806
8809
  let { mb = null } = $$props;
8807
8810
  let { ml = null } = $$props;
8808
8811
  let inputEl;
8812
+ let _debounceId = null;
8809
8813
 
8810
8814
  function onKeyUp(e) {
8811
- const ee = e.target;
8815
+ const input = e.target;
8816
+ if (!input) return;
8812
8817
 
8813
- e.target.dispatchEvent(new CustomEvent("_change",
8814
- {
8815
- composed: true,
8816
- bubbles: false,
8817
- cancelable: true,
8818
- detail: { name, value: ee.value }
8819
- }));
8818
+ if (_debounceId != null) {
8819
+ clearTimeout(_debounceId);
8820
+ }
8821
+
8822
+ _debounceId = setTimeout(
8823
+ () => {
8824
+ input.dispatchEvent(new CustomEvent("_change",
8825
+ {
8826
+ composed: true,
8827
+ bubbles: false,
8828
+ cancelable: true,
8829
+ detail: { name, value: input.value }
8830
+ }));
8831
+ },
8832
+ debounce
8833
+ );
8820
8834
 
8821
- $$invalidate(0, value = ee.value);
8835
+ $$invalidate(0, value = input.value);
8822
8836
  }
8823
8837
 
8824
8838
  onMount(() => {
@@ -8859,6 +8873,7 @@ function instance$c($$self, $$props, $$invalidate) {
8859
8873
  if ('step' in $$props) $$invalidate(13, step = $$props.step);
8860
8874
  if ('prefix' in $$props) $$invalidate(14, prefix = $$props.prefix);
8861
8875
  if ('suffix' in $$props) $$invalidate(15, suffix = $$props.suffix);
8876
+ if ('debounce' in $$props) $$invalidate(31, debounce = $$props.debounce);
8862
8877
  if ('mt' in $$props) $$invalidate(16, mt = $$props.mt);
8863
8878
  if ('mr' in $$props) $$invalidate(17, mr = $$props.mr);
8864
8879
  if ('mb' in $$props) $$invalidate(18, mb = $$props.mb);
@@ -8871,7 +8886,7 @@ function instance$c($$self, $$props, $$invalidate) {
8871
8886
  }
8872
8887
 
8873
8888
  if ($$self.$$.dirty[0] & /*focused*/ 268435456) {
8874
- $$invalidate(31, isFocused = toBoolean(focused));
8889
+ $$invalidate(32, isFocused = toBoolean(focused));
8875
8890
  }
8876
8891
 
8877
8892
  if ($$self.$$.dirty[0] & /*readonly*/ 536870912) {
@@ -8886,7 +8901,7 @@ function instance$c($$self, $$props, $$invalidate) {
8886
8901
  $$invalidate(21, isDisabled = toBoolean(disabled));
8887
8902
  }
8888
8903
 
8889
- if ($$self.$$.dirty[0] & /*inputEl*/ 1048576 | $$self.$$.dirty[1] & /*isFocused*/ 1) {
8904
+ if ($$self.$$.dirty[0] & /*inputEl*/ 1048576 | $$self.$$.dirty[1] & /*isFocused*/ 2) {
8890
8905
  if (isFocused && inputEl) {
8891
8906
  setTimeout(() => inputEl.focus(), 1);
8892
8907
  }
@@ -8933,6 +8948,7 @@ function instance$c($$self, $$props, $$invalidate) {
8933
8948
  focused,
8934
8949
  readonly,
8935
8950
  error,
8951
+ debounce,
8936
8952
  isFocused,
8937
8953
  input_binding
8938
8954
  ];
@@ -8942,7 +8958,7 @@ class Input extends SvelteElement {
8942
8958
  constructor(options) {
8943
8959
  super();
8944
8960
 
8945
- this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box}.container{position:relative;width:100%;display:inline-block}@media(min-width: 640px){.container{width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box;line-height:normal}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--goa-color-greyscale-700);border-radius:var(--goa-border-radius-m);display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%;background-color:var(--color-white)}.goa-input:hover{border-color:var(--goa-color-interactive-hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);padding:var(--goa-space-xs);line-height:calc(40px - calc(var(--goa-space-xs) * 2));background-color:transparent;width:0;flex:1 1 auto;font-family:var(--goa-font-family-sans)}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);cursor:default;box-shadow:none}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}.prefix,.suffix,.leading-content ::slotted(div),.trailing-content ::slotted(div){background-color:var(--goa-color-greyscale-100);padding:0 0.75rem;display:flex;align-items:center}.leading-content ::slotted(div),.trailing-content ::slotted(div){padding:0.5rem 0.75rem}.prefix,.leading-content ::slotted(div){border-top-left-radius:var(--goa-border-radius-m);border-bottom-left-radius:var(--goa-border-radius-m);border-right:1px solid var(--goa-color-greyscale-700)}.suffix,.trailing-content ::slotted(div){border-top-right-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m);border-left:1px solid var(--goa-color-greyscale-700)}.goa-input--disabled .prefix,.goa-input--disabled .leading-content ::slotted(div){border-right:1px solid var(--goa-color-greyscale-200)}.goa-input--disabled .suffix,.goa-input--disabled .trailing-content ::slotted(div){border-left:1px solid var(--goa-color-greyscale-200)}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive-error)}input[type="search" i]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
8961
+ this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box}.container{position:relative;width:100%;display:inline-block}@media(min-width: 640px){.container{width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box;line-height:normal}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--goa-color-greyscale-700);border-radius:var(--goa-border-radius-m);display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%;background-color:var(--color-white)}.goa-input:hover{border-color:var(--goa-color-interactive-hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);padding:var(--goa-space-xs);line-height:calc(40px - calc(var(--goa-space-xs) * 2));background-color:transparent;width:100%;flex:1 1 auto;font-family:var(--goa-font-family-sans)}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);cursor:default;box-shadow:none}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}.prefix,.suffix,.leading-content ::slotted(div),.trailing-content ::slotted(div){background-color:var(--goa-color-greyscale-100);padding:0 0.75rem;display:flex;align-items:center}.leading-content ::slotted(div),.trailing-content ::slotted(div){padding:0.5rem 0.75rem}.prefix,.leading-content ::slotted(div){border-top-left-radius:var(--goa-border-radius-m);border-bottom-left-radius:var(--goa-border-radius-m);border-right:1px solid var(--goa-color-greyscale-700)}.suffix,.trailing-content ::slotted(div){border-top-right-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m);border-left:1px solid var(--goa-color-greyscale-700)}.goa-input--disabled .prefix,.goa-input--disabled .leading-content ::slotted(div){border-right:1px solid var(--goa-color-greyscale-200)}.goa-input--disabled .suffix,.goa-input--disabled .trailing-content ::slotted(div){border-left:1px solid var(--goa-color-greyscale-200)}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive-error)}input[type="search" i]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
8946
8962
  center center no-repeat}</style>`;
8947
8963
 
8948
8964
  init(
@@ -8952,8 +8968,8 @@ class Input extends SvelteElement {
8952
8968
  props: attribute_to_object(this.attributes),
8953
8969
  customElement: true
8954
8970
  },
8955
- instance$c,
8956
- create_fragment$e,
8971
+ instance$d,
8972
+ create_fragment$f,
8957
8973
  safe_not_equal,
8958
8974
  {
8959
8975
  type: 1,
@@ -8977,6 +8993,7 @@ class Input extends SvelteElement {
8977
8993
  step: 13,
8978
8994
  prefix: 14,
8979
8995
  suffix: 15,
8996
+ debounce: 31,
8980
8997
  mt: 16,
8981
8998
  mr: 17,
8982
8999
  mb: 18,
@@ -9021,6 +9038,7 @@ class Input extends SvelteElement {
9021
9038
  "step",
9022
9039
  "prefix",
9023
9040
  "suffix",
9041
+ "debounce",
9024
9042
  "mt",
9025
9043
  "mr",
9026
9044
  "mb",
@@ -9217,11 +9235,20 @@ class Input extends SvelteElement {
9217
9235
  flush();
9218
9236
  }
9219
9237
 
9220
- get mt() {
9221
- return this.$$.ctx[16];
9238
+ get debounce() {
9239
+ return this.$$.ctx[31];
9222
9240
  }
9223
9241
 
9224
- set mt(mt) {
9242
+ set debounce(debounce) {
9243
+ this.$$set({ debounce });
9244
+ flush();
9245
+ }
9246
+
9247
+ get mt() {
9248
+ return this.$$.ctx[16];
9249
+ }
9250
+
9251
+ set mt(mt) {
9225
9252
  this.$$set({ mt });
9226
9253
  flush();
9227
9254
  }
@@ -9390,7 +9417,7 @@ function create_if_block_2$2(ctx) {
9390
9417
  }
9391
9418
 
9392
9419
  // (56:2) {#if version}
9393
- function create_if_block$4(ctx) {
9420
+ function create_if_block$5(ctx) {
9394
9421
  let div;
9395
9422
  let t;
9396
9423
 
@@ -9414,7 +9441,7 @@ function create_if_block$4(ctx) {
9414
9441
  };
9415
9442
  }
9416
9443
 
9417
- function create_fragment$d(ctx) {
9444
+ function create_fragment$e(ctx) {
9418
9445
  let header;
9419
9446
  let t0;
9420
9447
  let show_if = ["alpha", "beta"].includes(/*type*/ ctx[0]);
@@ -9423,7 +9450,7 @@ function create_fragment$d(ctx) {
9423
9450
  let t2;
9424
9451
  let if_block0 = /*type*/ ctx[0] === "live" && create_if_block_3$1();
9425
9452
  let if_block1 = show_if && create_if_block_1$2(ctx);
9426
- let if_block2 = /*version*/ ctx[1] && create_if_block$4(ctx);
9453
+ let if_block2 = /*version*/ ctx[1] && create_if_block$5(ctx);
9427
9454
 
9428
9455
  return {
9429
9456
  c() {
@@ -9480,7 +9507,7 @@ function create_fragment$d(ctx) {
9480
9507
  if (if_block2) {
9481
9508
  if_block2.p(ctx, dirty);
9482
9509
  } else {
9483
- if_block2 = create_if_block$4(ctx);
9510
+ if_block2 = create_if_block$5(ctx);
9484
9511
  if_block2.c();
9485
9512
  if_block2.m(header, null);
9486
9513
  }
@@ -9505,7 +9532,7 @@ function capitalize(val) {
9505
9532
  return val[0].toUpperCase() + val.slice(1);
9506
9533
  }
9507
9534
 
9508
- function instance$b($$self, $$props, $$invalidate) {
9535
+ function instance$c($$self, $$props, $$invalidate) {
9509
9536
  const [Types, validateType] = typeValidator("Microsite header type", ["live", "alpha", "beta"], true);
9510
9537
  let { type } = $$props;
9511
9538
  let { version = "" } = $$props;
@@ -9536,8 +9563,8 @@ class MicrositeHeader extends SvelteElement {
9536
9563
  props: attribute_to_object(this.attributes),
9537
9564
  customElement: true
9538
9565
  },
9539
- instance$b,
9540
- create_fragment$d,
9566
+ instance$c,
9567
+ create_fragment$e,
9541
9568
  safe_not_equal,
9542
9569
  { type: 0, version: 1, feedbackurl: 2 },
9543
9570
  null
@@ -9591,7 +9618,7 @@ customElements.define("goa-microsite-header", MicrositeHeader);
9591
9618
 
9592
9619
  /* libs/web-components/src/components/modal/Modal.svelte generated by Svelte v3.51.0 */
9593
9620
 
9594
- function create_if_block$3(ctx) {
9621
+ function create_if_block$4(ctx) {
9595
9622
  let goa_focus_trap;
9596
9623
  let div5;
9597
9624
  let div0;
@@ -9919,10 +9946,10 @@ function create_if_block_1$1(ctx) {
9919
9946
  };
9920
9947
  }
9921
9948
 
9922
- function create_fragment$c(ctx) {
9949
+ function create_fragment$d(ctx) {
9923
9950
  let if_block_anchor;
9924
9951
  let current;
9925
- let if_block = /*isOpen*/ ctx[7] && create_if_block$3(ctx);
9952
+ let if_block = /*isOpen*/ ctx[7] && create_if_block$4(ctx);
9926
9953
 
9927
9954
  return {
9928
9955
  c() {
@@ -9944,7 +9971,7 @@ function create_fragment$c(ctx) {
9944
9971
  transition_in(if_block, 1);
9945
9972
  }
9946
9973
  } else {
9947
- if_block = create_if_block$3(ctx);
9974
+ if_block = create_if_block$4(ctx);
9948
9975
  if_block.c();
9949
9976
  transition_in(if_block, 1);
9950
9977
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -9975,7 +10002,7 @@ function create_fragment$c(ctx) {
9975
10002
  };
9976
10003
  }
9977
10004
 
9978
- function instance$a($$self, $$props, $$invalidate) {
10005
+ function instance$b($$self, $$props, $$invalidate) {
9979
10006
  let isClosable;
9980
10007
  let isOpen;
9981
10008
  let _transitionTime;
@@ -10067,8 +10094,8 @@ class Modal extends SvelteElement {
10067
10094
  props: attribute_to_object(this.attributes),
10068
10095
  customElement: true
10069
10096
  },
10070
- instance$a,
10071
- create_fragment$c,
10097
+ instance$b,
10098
+ create_fragment$d,
10072
10099
  safe_not_equal,
10073
10100
  {
10074
10101
  heading: 0,
@@ -10156,7 +10183,7 @@ customElements.define("goa-modal", Modal);
10156
10183
 
10157
10184
  /* libs/web-components/src/components/notification/Notification.svelte generated by Svelte v3.51.0 */
10158
10185
 
10159
- function create_if_block$2(ctx) {
10186
+ function create_if_block$3(ctx) {
10160
10187
  let div3;
10161
10188
  let div0;
10162
10189
  let goa_icon;
@@ -10251,10 +10278,10 @@ function create_if_block$2(ctx) {
10251
10278
  };
10252
10279
  }
10253
10280
 
10254
- function create_fragment$b(ctx) {
10281
+ function create_fragment$c(ctx) {
10255
10282
  let if_block_anchor;
10256
10283
  let current;
10257
- let if_block = /*show*/ ctx[1] && create_if_block$2(ctx);
10284
+ let if_block = /*show*/ ctx[1] && create_if_block$3(ctx);
10258
10285
 
10259
10286
  return {
10260
10287
  c() {
@@ -10276,7 +10303,7 @@ function create_fragment$b(ctx) {
10276
10303
  transition_in(if_block, 1);
10277
10304
  }
10278
10305
  } else {
10279
- if_block = create_if_block$2(ctx);
10306
+ if_block = create_if_block$3(ctx);
10280
10307
  if_block.c();
10281
10308
  transition_in(if_block, 1);
10282
10309
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -10307,7 +10334,7 @@ function create_fragment$b(ctx) {
10307
10334
  };
10308
10335
  }
10309
10336
 
10310
- function instance$9($$self, $$props, $$invalidate) {
10337
+ function instance$a($$self, $$props, $$invalidate) {
10311
10338
  let iconType;
10312
10339
  const [Types, validateType] = typeValidator("Notification type", ["emergency", "important", "information", "event"], true);
10313
10340
  let { type = "" } = $$props;
@@ -10352,8 +10379,8 @@ class Notification extends SvelteElement {
10352
10379
  props: attribute_to_object(this.attributes),
10353
10380
  customElement: true
10354
10381
  },
10355
- instance$9,
10356
- create_fragment$b,
10382
+ instance$a,
10383
+ create_fragment$c,
10357
10384
  safe_not_equal,
10358
10385
  { type: 0 },
10359
10386
  null
@@ -10394,7 +10421,7 @@ function isValidDimension(value) {
10394
10421
 
10395
10422
  /* libs/web-components/src/components/page-block/PageBlock.svelte generated by Svelte v3.51.0 */
10396
10423
 
10397
- function create_fragment$a(ctx) {
10424
+ function create_fragment$b(ctx) {
10398
10425
  let div;
10399
10426
  let slot;
10400
10427
  let div_style_value;
@@ -10424,7 +10451,7 @@ function create_fragment$a(ctx) {
10424
10451
  };
10425
10452
  }
10426
10453
 
10427
- function instance$8($$self, $$props, $$invalidate) {
10454
+ function instance$9($$self, $$props, $$invalidate) {
10428
10455
  const Sizes = { "full": "100%" };
10429
10456
  let { width } = $$props;
10430
10457
  let { _width } = $$props;
@@ -10463,8 +10490,8 @@ class PageBlock extends SvelteElement {
10463
10490
  props: attribute_to_object(this.attributes),
10464
10491
  customElement: true
10465
10492
  },
10466
- instance$8,
10467
- create_fragment$a,
10493
+ instance$9,
10494
+ create_fragment$b,
10468
10495
  safe_not_equal,
10469
10496
  { width: 1, _width: 0 },
10470
10497
  null
@@ -10623,7 +10650,7 @@ function create_each_block$1(key_1, ctx) {
10623
10650
  };
10624
10651
  }
10625
10652
 
10626
- function create_fragment$9(ctx) {
10653
+ function create_fragment$a(ctx) {
10627
10654
  let div;
10628
10655
  let slot;
10629
10656
  let t;
@@ -10698,7 +10725,7 @@ function create_fragment$9(ctx) {
10698
10725
  };
10699
10726
  }
10700
10727
 
10701
- function instance$7($$self, $$props, $$invalidate) {
10728
+ function instance$8($$self, $$props, $$invalidate) {
10702
10729
  let isDisabled;
10703
10730
  let isError;
10704
10731
  const [Orientations, validateOrientation] = typeValidator("Radio group orientation", ["vertical", "horizontal"]);
@@ -10832,8 +10859,8 @@ class RadioGroup extends SvelteElement {
10832
10859
  props: attribute_to_object(this.attributes),
10833
10860
  customElement: true
10834
10861
  },
10835
- instance$7,
10836
- create_fragment$9,
10862
+ instance$8,
10863
+ create_fragment$a,
10837
10864
  safe_not_equal,
10838
10865
  {
10839
10866
  name: 1,
@@ -10983,7 +11010,7 @@ customElements.define("goa-radio-group", RadioGroup);
10983
11010
 
10984
11011
  /* libs/web-components/src/components/scrollable/Scrollable.svelte generated by Svelte v3.51.0 */
10985
11012
 
10986
- function create_fragment$8(ctx) {
11013
+ function create_fragment$9(ctx) {
10987
11014
  let div;
10988
11015
  let slot;
10989
11016
  let div_style_value;
@@ -11030,7 +11057,7 @@ function create_fragment$8(ctx) {
11030
11057
  };
11031
11058
  }
11032
11059
 
11033
- function instance$6($$self, $$props, $$invalidate) {
11060
+ function instance$7($$self, $$props, $$invalidate) {
11034
11061
  let { direction = "vertical" } = $$props;
11035
11062
  let { hpadding = 0 } = $$props;
11036
11063
  let { vpadding = 0 } = $$props;
@@ -11058,8 +11085,8 @@ class Scrollable extends SvelteElement {
11058
11085
  props: attribute_to_object(this.attributes),
11059
11086
  customElement: true
11060
11087
  },
11061
- instance$6,
11062
- create_fragment$8,
11088
+ instance$7,
11089
+ create_fragment$9,
11063
11090
  safe_not_equal,
11064
11091
  {
11065
11092
  direction: 0,
@@ -11334,7 +11361,7 @@ function create_if_block_1(ctx) {
11334
11361
  }
11335
11362
 
11336
11363
  // (30:2) {#if type === "card"}
11337
- function create_if_block$1(ctx) {
11364
+ function create_if_block$2(ctx) {
11338
11365
  let div1;
11339
11366
  let skeleton0;
11340
11367
  let t0;
@@ -11468,13 +11495,13 @@ function create_each_block(ctx) {
11468
11495
  };
11469
11496
  }
11470
11497
 
11471
- function create_fragment$7(ctx) {
11498
+ function create_fragment$8(ctx) {
11472
11499
  let div;
11473
11500
  let current_block_type_index;
11474
11501
  let if_block;
11475
11502
  let div_style_value;
11476
11503
  let current;
11477
- const if_block_creators = [create_if_block$1, create_if_block_1, create_if_block_2, create_else_block];
11504
+ const if_block_creators = [create_if_block$2, create_if_block_1, create_if_block_2, create_else_block];
11478
11505
  const if_blocks = [];
11479
11506
 
11480
11507
  function select_block_type(ctx, dirty) {
@@ -11551,7 +11578,7 @@ function create_fragment$7(ctx) {
11551
11578
  };
11552
11579
  }
11553
11580
 
11554
- function instance$5($$self, $$props, $$invalidate) {
11581
+ function instance$6($$self, $$props, $$invalidate) {
11555
11582
  const [Types, validateType] = typeValidator(
11556
11583
  "Skeleton type",
11557
11584
  [
@@ -11613,8 +11640,8 @@ class Skeleton extends SvelteElement {
11613
11640
  props: attribute_to_object(this.attributes),
11614
11641
  customElement: true
11615
11642
  },
11616
- instance$5,
11617
- create_fragment$7,
11643
+ instance$6,
11644
+ create_fragment$8,
11618
11645
  safe_not_equal,
11619
11646
  {
11620
11647
  maxwidth: 0,
@@ -11732,7 +11759,7 @@ customElements.define("goa-skeleton", Skeleton);
11732
11759
 
11733
11760
  /* libs/web-components/src/components/spacer/Spacer.svelte generated by Svelte v3.51.0 */
11734
11761
 
11735
- function create_fragment$6(ctx) {
11762
+ function create_fragment$7(ctx) {
11736
11763
  let div;
11737
11764
 
11738
11765
  return {
@@ -11754,7 +11781,7 @@ function create_fragment$6(ctx) {
11754
11781
  };
11755
11782
  }
11756
11783
 
11757
- function instance$4($$self, $$props, $$invalidate) {
11784
+ function instance$5($$self, $$props, $$invalidate) {
11758
11785
  let { hspacing = "none" } = $$props;
11759
11786
  let { vspacing = "none" } = $$props;
11760
11787
  let rootEl;
@@ -11792,8 +11819,8 @@ class Spacer extends SvelteElement {
11792
11819
  props: attribute_to_object(this.attributes),
11793
11820
  customElement: true
11794
11821
  },
11795
- instance$4,
11796
- create_fragment$6,
11822
+ instance$5,
11823
+ create_fragment$7,
11797
11824
  safe_not_equal,
11798
11825
  { hspacing: 1, vspacing: 2 },
11799
11826
  null
@@ -11985,7 +12012,7 @@ function tweened(value, defaults = {}) {
11985
12012
 
11986
12013
  /* libs/web-components/src/components/spinner/Spinner.svelte generated by Svelte v3.51.0 */
11987
12014
 
11988
- function create_if_block(ctx) {
12015
+ function create_if_block$1(ctx) {
11989
12016
  let svg;
11990
12017
  let circle;
11991
12018
  let circle_stroke_value;
@@ -12094,9 +12121,9 @@ function create_if_block(ctx) {
12094
12121
  };
12095
12122
  }
12096
12123
 
12097
- function create_fragment$5(ctx) {
12124
+ function create_fragment$6(ctx) {
12098
12125
  let if_block_anchor;
12099
- let if_block = /*ready*/ ctx[6] && create_if_block(ctx);
12126
+ let if_block = /*ready*/ ctx[6] && create_if_block$1(ctx);
12100
12127
 
12101
12128
  return {
12102
12129
  c() {
@@ -12113,7 +12140,7 @@ function create_fragment$5(ctx) {
12113
12140
  if (if_block) {
12114
12141
  if_block.p(ctx, dirty);
12115
12142
  } else {
12116
- if_block = create_if_block(ctx);
12143
+ if_block = create_if_block$1(ctx);
12117
12144
  if_block.c();
12118
12145
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
12119
12146
  }
@@ -12131,7 +12158,7 @@ function create_fragment$5(ctx) {
12131
12158
  };
12132
12159
  }
12133
12160
 
12134
- function instance$3($$self, $$props, $$invalidate) {
12161
+ function instance$4($$self, $$props, $$invalidate) {
12135
12162
  let diameter;
12136
12163
  let strokewidth;
12137
12164
  let radius;
@@ -12250,8 +12277,8 @@ class Spinner extends SvelteElement {
12250
12277
  props: attribute_to_object(this.attributes),
12251
12278
  customElement: true
12252
12279
  },
12253
- instance$3,
12254
- create_fragment$5,
12280
+ instance$4,
12281
+ create_fragment$6,
12255
12282
  safe_not_equal,
12256
12283
  {
12257
12284
  size: 10,
@@ -12319,7 +12346,7 @@ customElements.define("goa-spinner", Spinner);
12319
12346
 
12320
12347
  /* libs/web-components/src/components/table/Table.svelte generated by Svelte v3.51.0 */
12321
12348
 
12322
- function create_fragment$4(ctx) {
12349
+ function create_fragment$5(ctx) {
12323
12350
  let table;
12324
12351
  let slot;
12325
12352
  let t0;
@@ -12379,7 +12406,7 @@ function create_fragment$4(ctx) {
12379
12406
  };
12380
12407
  }
12381
12408
 
12382
- function instance$2($$self, $$props, $$invalidate) {
12409
+ function instance$3($$self, $$props, $$invalidate) {
12383
12410
  let _stickyHeader;
12384
12411
  const [Variants, validateVariant] = typeValidator("Table variant", ["normal", "relaxed"], true);
12385
12412
  let { width = "" } = $$props;
@@ -12456,8 +12483,8 @@ class Table extends SvelteElement {
12456
12483
  props: attribute_to_object(this.attributes),
12457
12484
  customElement: true
12458
12485
  },
12459
- instance$2,
12460
- create_fragment$4,
12486
+ instance$3,
12487
+ create_fragment$5,
12461
12488
  safe_not_equal,
12462
12489
  {
12463
12490
  width: 0,
@@ -12555,7 +12582,7 @@ customElements.define("goa-table", Table);
12555
12582
 
12556
12583
  /* libs/web-components/src/components/text-area/TextArea.svelte generated by Svelte v3.51.0 */
12557
12584
 
12558
- function create_fragment$3(ctx) {
12585
+ function create_fragment$4(ctx) {
12559
12586
  let div;
12560
12587
  let textarea;
12561
12588
  let textarea_aria_label_value;
@@ -12651,7 +12678,7 @@ function create_fragment$3(ctx) {
12651
12678
  };
12652
12679
  }
12653
12680
 
12654
- function instance$1($$self, $$props, $$invalidate) {
12681
+ function instance$2($$self, $$props, $$invalidate) {
12655
12682
  let isError;
12656
12683
  let isDisabled;
12657
12684
  let isReadonly;
@@ -12757,8 +12784,8 @@ class TextArea extends SvelteElement {
12757
12784
  props: attribute_to_object(this.attributes),
12758
12785
  customElement: true
12759
12786
  },
12760
- instance$1,
12761
- create_fragment$3,
12787
+ instance$2,
12788
+ create_fragment$4,
12762
12789
  safe_not_equal,
12763
12790
  {
12764
12791
  name: 0,
@@ -12952,7 +12979,7 @@ customElements.define("goa-textarea", TextArea);
12952
12979
 
12953
12980
  /* libs/web-components/src/layouts/FullScreenNavbarLayout.svelte generated by Svelte v3.51.0 */
12954
12981
 
12955
- function create_fragment$2(ctx) {
12982
+ function create_fragment$3(ctx) {
12956
12983
  let div;
12957
12984
 
12958
12985
  return {
@@ -13001,7 +13028,7 @@ class FullScreenNavbarLayout extends SvelteElement {
13001
13028
  customElement: true
13002
13029
  },
13003
13030
  null,
13004
- create_fragment$2,
13031
+ create_fragment$3,
13005
13032
  safe_not_equal,
13006
13033
  {},
13007
13034
  null
@@ -13019,7 +13046,7 @@ customElements.define("goa-layout-full-nav", FullScreenNavbarLayout);
13019
13046
 
13020
13047
  /* libs/web-components/src/layouts/one-column-layout/OneColumnLayout.svelte generated by Svelte v3.51.0 */
13021
13048
 
13022
- function create_fragment$1(ctx) {
13049
+ function create_fragment$2(ctx) {
13023
13050
  let div;
13024
13051
 
13025
13052
  return {
@@ -13060,7 +13087,7 @@ class OneColumnLayout extends SvelteElement {
13060
13087
  customElement: true
13061
13088
  },
13062
13089
  null,
13063
- create_fragment$1,
13090
+ create_fragment$2,
13064
13091
  safe_not_equal,
13065
13092
  {},
13066
13093
  null
@@ -13078,7 +13105,7 @@ customElements.define("goa-one-column-layout", OneColumnLayout);
13078
13105
 
13079
13106
  /* libs/web-components/src/layouts/two-column-layout/TwoColumnLayout.svelte generated by Svelte v3.51.0 */
13080
13107
 
13081
- function create_fragment(ctx) {
13108
+ function create_fragment$1(ctx) {
13082
13109
  let div;
13083
13110
  let header;
13084
13111
  let t0;
@@ -13137,7 +13164,7 @@ function create_fragment(ctx) {
13137
13164
  };
13138
13165
  }
13139
13166
 
13140
- function instance($$self, $$props, $$invalidate) {
13167
+ function instance$1($$self, $$props, $$invalidate) {
13141
13168
  let { navcolumnwidth = "" } = $$props;
13142
13169
  let { maxcontentwidth = "" } = $$props;
13143
13170
 
@@ -13161,8 +13188,8 @@ class TwoColumnLayout extends SvelteElement {
13161
13188
  props: attribute_to_object(this.attributes),
13162
13189
  customElement: true
13163
13190
  },
13164
- instance,
13165
- create_fragment,
13191
+ instance$1,
13192
+ create_fragment$1,
13166
13193
  safe_not_equal,
13167
13194
  { navcolumnwidth: 0, maxcontentwidth: 1 },
13168
13195
  null
@@ -13204,3 +13231,429 @@ class TwoColumnLayout extends SvelteElement {
13204
13231
  }
13205
13232
 
13206
13233
  customElements.define("goa-two-column-layout", TwoColumnLayout);
13234
+
13235
+ /* libs/web-components/src/components/pagination/Pagination.svelte generated by Svelte v3.51.0 */
13236
+
13237
+ function create_if_block(ctx) {
13238
+ let goa_block;
13239
+ let span0;
13240
+ let t1;
13241
+ let input;
13242
+ let t2;
13243
+ let goa_input;
13244
+ let t3;
13245
+ let span1;
13246
+ let t4;
13247
+ let t5;
13248
+
13249
+ return {
13250
+ c() {
13251
+ goa_block = element("goa-block");
13252
+ span0 = element("span");
13253
+ span0.textContent = "Page";
13254
+ t1 = space();
13255
+ input = element("input");
13256
+ t2 = space();
13257
+ goa_input = element("goa-input");
13258
+ t3 = space();
13259
+ span1 = element("span");
13260
+ t4 = text("of ");
13261
+ t5 = text(/*_pageCount*/ ctx[8]);
13262
+ attr(input, "type", "hidden");
13263
+ set_custom_element_data(goa_input, "type", "number");
13264
+ set_custom_element_data(goa_input, "value", /*pagenumber*/ ctx[0]);
13265
+ set_custom_element_data(goa_input, "width", "8ch");
13266
+ set_custom_element_data(goa_input, "debounce", "500");
13267
+ set_custom_element_data(goa_input, "min", "1");
13268
+ set_custom_element_data(goa_input, "max", /*_pageCount*/ ctx[8]);
13269
+ set_custom_element_data(goa_block, "data-testid", "page-selector");
13270
+ set_custom_element_data(goa_block, "alignment", "center");
13271
+ set_custom_element_data(goa_block, "gap", "s");
13272
+ },
13273
+ m(target, anchor) {
13274
+ insert(target, goa_block, anchor);
13275
+ append(goa_block, span0);
13276
+ append(goa_block, t1);
13277
+ append(goa_block, input);
13278
+ /*input_binding*/ ctx[12](input);
13279
+ append(goa_block, t2);
13280
+ append(goa_block, goa_input);
13281
+ /*goa_input_binding*/ ctx[13](goa_input);
13282
+ append(goa_block, t3);
13283
+ append(goa_block, span1);
13284
+ append(span1, t4);
13285
+ append(span1, t5);
13286
+ },
13287
+ p(ctx, dirty) {
13288
+ if (dirty & /*pagenumber*/ 1) {
13289
+ set_custom_element_data(goa_input, "value", /*pagenumber*/ ctx[0]);
13290
+ }
13291
+
13292
+ if (dirty & /*_pageCount*/ 256) {
13293
+ set_custom_element_data(goa_input, "max", /*_pageCount*/ ctx[8]);
13294
+ }
13295
+
13296
+ if (dirty & /*_pageCount*/ 256) set_data(t5, /*_pageCount*/ ctx[8]);
13297
+ },
13298
+ d(detaching) {
13299
+ if (detaching) detach(goa_block);
13300
+ /*input_binding*/ ctx[12](null);
13301
+ /*goa_input_binding*/ ctx[13](null);
13302
+ }
13303
+ };
13304
+ }
13305
+
13306
+ function create_fragment(ctx) {
13307
+ let goa_block1;
13308
+ let div;
13309
+ let t0;
13310
+ let goa_block0;
13311
+ let goa_button0;
13312
+ let t1;
13313
+ let goa_button0_disabled_value;
13314
+ let t2;
13315
+ let goa_button1;
13316
+ let t3;
13317
+ let goa_button1_disabled_value;
13318
+ let mounted;
13319
+ let dispose;
13320
+ let if_block = /*variant*/ ctx[1] === "all" && create_if_block(ctx);
13321
+
13322
+ return {
13323
+ c() {
13324
+ goa_block1 = element("goa-block");
13325
+ div = element("div");
13326
+ if (if_block) if_block.c();
13327
+ t0 = space();
13328
+ goa_block0 = element("goa-block");
13329
+ goa_button0 = element("goa-button");
13330
+ t1 = text("Previous");
13331
+ t2 = space();
13332
+ goa_button1 = element("goa-button");
13333
+ t3 = text("Next");
13334
+ this.c = noop;
13335
+ set_custom_element_data(goa_button0, "type", "tertiary");
13336
+ set_custom_element_data(goa_button0, "leadingicon", "arrow-back");
13337
+ set_custom_element_data(goa_button0, "disabled", goa_button0_disabled_value = /*pagenumber*/ ctx[0] == 1 ? "true" : "false");
13338
+ set_custom_element_data(goa_button1, "type", "tertiary");
13339
+ set_custom_element_data(goa_button1, "trailingicon", "arrow-forward");
13340
+
13341
+ set_custom_element_data(goa_button1, "disabled", goa_button1_disabled_value = /*pagenumber*/ ctx[0] == /*_pageCount*/ ctx[8]
13342
+ ? "true"
13343
+ : "false");
13344
+
13345
+ set_custom_element_data(goa_block0, "alignment", "center");
13346
+ set_custom_element_data(goa_block0, "gap", "m");
13347
+ set_custom_element_data(goa_block0, "data-testid", "page-links");
13348
+ attr(div, "class", "controls");
13349
+ set_custom_element_data(goa_block1, "id", "root");
13350
+ set_custom_element_data(goa_block1, "ml", /*ml*/ ctx[5]);
13351
+ set_custom_element_data(goa_block1, "mr", /*mr*/ ctx[3]);
13352
+ set_custom_element_data(goa_block1, "mb", /*mb*/ ctx[4]);
13353
+ set_custom_element_data(goa_block1, "mt", /*mt*/ ctx[2]);
13354
+ },
13355
+ m(target, anchor) {
13356
+ insert(target, goa_block1, anchor);
13357
+ append(goa_block1, div);
13358
+ if (if_block) if_block.m(div, null);
13359
+ append(div, t0);
13360
+ append(div, goa_block0);
13361
+ append(goa_block0, goa_button0);
13362
+ append(goa_button0, t1);
13363
+ append(goa_block0, t2);
13364
+ append(goa_block0, goa_button1);
13365
+ append(goa_button1, t3);
13366
+
13367
+ if (!mounted) {
13368
+ dispose = [
13369
+ listen(goa_button0, "click", /*click_handler*/ ctx[14]),
13370
+ listen(goa_button1, "click", /*click_handler_1*/ ctx[15])
13371
+ ];
13372
+
13373
+ mounted = true;
13374
+ }
13375
+ },
13376
+ p(ctx, [dirty]) {
13377
+ if (/*variant*/ ctx[1] === "all") {
13378
+ if (if_block) {
13379
+ if_block.p(ctx, dirty);
13380
+ } else {
13381
+ if_block = create_if_block(ctx);
13382
+ if_block.c();
13383
+ if_block.m(div, t0);
13384
+ }
13385
+ } else if (if_block) {
13386
+ if_block.d(1);
13387
+ if_block = null;
13388
+ }
13389
+
13390
+ if (dirty & /*pagenumber*/ 1 && goa_button0_disabled_value !== (goa_button0_disabled_value = /*pagenumber*/ ctx[0] == 1 ? "true" : "false")) {
13391
+ set_custom_element_data(goa_button0, "disabled", goa_button0_disabled_value);
13392
+ }
13393
+
13394
+ if (dirty & /*pagenumber, _pageCount*/ 257 && goa_button1_disabled_value !== (goa_button1_disabled_value = /*pagenumber*/ ctx[0] == /*_pageCount*/ ctx[8]
13395
+ ? "true"
13396
+ : "false")) {
13397
+ set_custom_element_data(goa_button1, "disabled", goa_button1_disabled_value);
13398
+ }
13399
+
13400
+ if (dirty & /*ml*/ 32) {
13401
+ set_custom_element_data(goa_block1, "ml", /*ml*/ ctx[5]);
13402
+ }
13403
+
13404
+ if (dirty & /*mr*/ 8) {
13405
+ set_custom_element_data(goa_block1, "mr", /*mr*/ ctx[3]);
13406
+ }
13407
+
13408
+ if (dirty & /*mb*/ 16) {
13409
+ set_custom_element_data(goa_block1, "mb", /*mb*/ ctx[4]);
13410
+ }
13411
+
13412
+ if (dirty & /*mt*/ 4) {
13413
+ set_custom_element_data(goa_block1, "mt", /*mt*/ ctx[2]);
13414
+ }
13415
+ },
13416
+ i: noop,
13417
+ o: noop,
13418
+ d(detaching) {
13419
+ if (detaching) detach(goa_block1);
13420
+ if (if_block) if_block.d();
13421
+ mounted = false;
13422
+ run_all(dispose);
13423
+ }
13424
+ };
13425
+ }
13426
+
13427
+ function instance($$self, $$props, $$invalidate) {
13428
+ let _pageCount;
13429
+ const [Variants, validateVariant] = typeValidator("Pagination variant", ["all", "links-only"]);
13430
+ let { pagenumber } = $$props;
13431
+ let { itemcount } = $$props;
13432
+ let { perpagecount = 10 } = $$props;
13433
+ let { variant = "all" } = $$props;
13434
+ let { mt = null } = $$props;
13435
+ let { mr = null } = $$props;
13436
+ let { mb = "m" } = $$props;
13437
+ let { ml = null } = $$props;
13438
+
13439
+ // private
13440
+ let inputEl = null;
13441
+
13442
+ let hiddenEl = null; // needed to allow the inputEl's event to be cancelled
13443
+
13444
+ // hooks
13445
+ onMount(async () => {
13446
+ await tick();
13447
+ validateRequired("GoAPagination", { itemcount, pagenumber });
13448
+ validateVariant(variant);
13449
+
13450
+ // prevent event propagation if value is non-numeric
13451
+ // (input[type=number] returns blank for non-numeric numbers)
13452
+ inputEl && inputEl.addEventListener("_change", e => {
13453
+ const page = Number.parseInt(e.detail.value);
13454
+ e.stopPropagation();
13455
+
13456
+ if (isNaN(page)) {
13457
+ return;
13458
+ }
13459
+
13460
+ hiddenEl.dispatchEvent(new CustomEvent("_change",
13461
+ {
13462
+ composed: true,
13463
+ bubbles: true,
13464
+ detail: { page }
13465
+ }));
13466
+ });
13467
+ });
13468
+
13469
+ // functions
13470
+ function goto(e, offset) {
13471
+ const newPage = Number.parseInt(pagenumber + "") + offset;
13472
+
13473
+ if (newPage > 0 && newPage <= _pageCount) {
13474
+ e.target.dispatchEvent(new CustomEvent("_change",
13475
+ {
13476
+ composed: true,
13477
+ bubbles: true,
13478
+ detail: { page: newPage }
13479
+ }));
13480
+ }
13481
+
13482
+ e.preventDefault();
13483
+ }
13484
+
13485
+ function input_binding($$value) {
13486
+ binding_callbacks[$$value ? 'unshift' : 'push'](() => {
13487
+ hiddenEl = $$value;
13488
+ $$invalidate(7, hiddenEl);
13489
+ });
13490
+ }
13491
+
13492
+ function goa_input_binding($$value) {
13493
+ binding_callbacks[$$value ? 'unshift' : 'push'](() => {
13494
+ inputEl = $$value;
13495
+ $$invalidate(6, inputEl);
13496
+ });
13497
+ }
13498
+
13499
+ const click_handler = e => goto(e, -1);
13500
+ const click_handler_1 = e => goto(e, 1);
13501
+
13502
+ $$self.$$set = $$props => {
13503
+ if ('pagenumber' in $$props) $$invalidate(0, pagenumber = $$props.pagenumber);
13504
+ if ('itemcount' in $$props) $$invalidate(10, itemcount = $$props.itemcount);
13505
+ if ('perpagecount' in $$props) $$invalidate(11, perpagecount = $$props.perpagecount);
13506
+ if ('variant' in $$props) $$invalidate(1, variant = $$props.variant);
13507
+ if ('mt' in $$props) $$invalidate(2, mt = $$props.mt);
13508
+ if ('mr' in $$props) $$invalidate(3, mr = $$props.mr);
13509
+ if ('mb' in $$props) $$invalidate(4, mb = $$props.mb);
13510
+ if ('ml' in $$props) $$invalidate(5, ml = $$props.ml);
13511
+ };
13512
+
13513
+ $$self.$$.update = () => {
13514
+ if ($$self.$$.dirty & /*itemcount, perpagecount*/ 3072) {
13515
+ // reactive
13516
+ $$invalidate(8, _pageCount = Math.ceil(itemcount / perpagecount));
13517
+ }
13518
+ };
13519
+
13520
+ return [
13521
+ pagenumber,
13522
+ variant,
13523
+ mt,
13524
+ mr,
13525
+ mb,
13526
+ ml,
13527
+ inputEl,
13528
+ hiddenEl,
13529
+ _pageCount,
13530
+ goto,
13531
+ itemcount,
13532
+ perpagecount,
13533
+ input_binding,
13534
+ goa_input_binding,
13535
+ click_handler,
13536
+ click_handler_1
13537
+ ];
13538
+ }
13539
+
13540
+ class Pagination extends SvelteElement {
13541
+ constructor(options) {
13542
+ super();
13543
+ this.shadowRoot.innerHTML = `<style>span{white-space:nowrap}.controls{display:flex;gap:1rem;flex-direction:column;align-items:center;width:100%}@media(min-width: 480px){.controls{flex-direction:row;justify-content:space-between}}</style>`;
13544
+
13545
+ init(
13546
+ this,
13547
+ {
13548
+ target: this.shadowRoot,
13549
+ props: attribute_to_object(this.attributes),
13550
+ customElement: true
13551
+ },
13552
+ instance,
13553
+ create_fragment,
13554
+ safe_not_equal,
13555
+ {
13556
+ pagenumber: 0,
13557
+ itemcount: 10,
13558
+ perpagecount: 11,
13559
+ variant: 1,
13560
+ mt: 2,
13561
+ mr: 3,
13562
+ mb: 4,
13563
+ ml: 5
13564
+ },
13565
+ null
13566
+ );
13567
+
13568
+ if (options) {
13569
+ if (options.target) {
13570
+ insert(options.target, this, options.anchor);
13571
+ }
13572
+
13573
+ if (options.props) {
13574
+ this.$set(options.props);
13575
+ flush();
13576
+ }
13577
+ }
13578
+ }
13579
+
13580
+ static get observedAttributes() {
13581
+ return ["pagenumber", "itemcount", "perpagecount", "variant", "mt", "mr", "mb", "ml"];
13582
+ }
13583
+
13584
+ get pagenumber() {
13585
+ return this.$$.ctx[0];
13586
+ }
13587
+
13588
+ set pagenumber(pagenumber) {
13589
+ this.$$set({ pagenumber });
13590
+ flush();
13591
+ }
13592
+
13593
+ get itemcount() {
13594
+ return this.$$.ctx[10];
13595
+ }
13596
+
13597
+ set itemcount(itemcount) {
13598
+ this.$$set({ itemcount });
13599
+ flush();
13600
+ }
13601
+
13602
+ get perpagecount() {
13603
+ return this.$$.ctx[11];
13604
+ }
13605
+
13606
+ set perpagecount(perpagecount) {
13607
+ this.$$set({ perpagecount });
13608
+ flush();
13609
+ }
13610
+
13611
+ get variant() {
13612
+ return this.$$.ctx[1];
13613
+ }
13614
+
13615
+ set variant(variant) {
13616
+ this.$$set({ variant });
13617
+ flush();
13618
+ }
13619
+
13620
+ get mt() {
13621
+ return this.$$.ctx[2];
13622
+ }
13623
+
13624
+ set mt(mt) {
13625
+ this.$$set({ mt });
13626
+ flush();
13627
+ }
13628
+
13629
+ get mr() {
13630
+ return this.$$.ctx[3];
13631
+ }
13632
+
13633
+ set mr(mr) {
13634
+ this.$$set({ mr });
13635
+ flush();
13636
+ }
13637
+
13638
+ get mb() {
13639
+ return this.$$.ctx[4];
13640
+ }
13641
+
13642
+ set mb(mb) {
13643
+ this.$$set({ mb });
13644
+ flush();
13645
+ }
13646
+
13647
+ get ml() {
13648
+ return this.$$.ctx[5];
13649
+ }
13650
+
13651
+ set ml(ml) {
13652
+ this.$$set({ ml });
13653
+ flush();
13654
+ }
13655
+ }
13656
+
13657
+ customElements.define("goa-pagination", Pagination);
13658
+
13659
+ export { Pagination };