@abgov/web-components 1.0.0-alpha.80 → 1.0.0-alpha.81
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 +47 -16
- package/web-components.umd.js +22 -22
package/package.json
CHANGED
package/web-components.es.js
CHANGED
|
@@ -1022,7 +1022,7 @@ function create_else_block$4(ctx) {
|
|
|
1022
1022
|
}
|
|
1023
1023
|
|
|
1024
1024
|
// (12:2) {#if url}
|
|
1025
|
-
function create_if_block$
|
|
1025
|
+
function create_if_block$j(ctx) {
|
|
1026
1026
|
let a;
|
|
1027
1027
|
let img0;
|
|
1028
1028
|
let img0_src_value;
|
|
@@ -1080,7 +1080,7 @@ function create_fragment$D(ctx) {
|
|
|
1080
1080
|
let div0;
|
|
1081
1081
|
|
|
1082
1082
|
function select_block_type(ctx, dirty) {
|
|
1083
|
-
if (/*url*/ ctx[1]) return create_if_block$
|
|
1083
|
+
if (/*url*/ ctx[1]) return create_if_block$j;
|
|
1084
1084
|
return create_else_block$4;
|
|
1085
1085
|
}
|
|
1086
1086
|
|
|
@@ -1265,7 +1265,7 @@ function create_if_block_1$b(ctx) {
|
|
|
1265
1265
|
}
|
|
1266
1266
|
|
|
1267
1267
|
// (46:2) {#if content}
|
|
1268
|
-
function create_if_block$
|
|
1268
|
+
function create_if_block$i(ctx) {
|
|
1269
1269
|
let div;
|
|
1270
1270
|
let t;
|
|
1271
1271
|
|
|
@@ -1300,7 +1300,7 @@ function create_fragment$C(ctx) {
|
|
|
1300
1300
|
|
|
1301
1301
|
let current_block_type = select_block_type(ctx);
|
|
1302
1302
|
let if_block0 = current_block_type(ctx);
|
|
1303
|
-
let if_block1 = /*content*/ ctx[2] && create_if_block$
|
|
1303
|
+
let if_block1 = /*content*/ ctx[2] && create_if_block$i(ctx);
|
|
1304
1304
|
|
|
1305
1305
|
return {
|
|
1306
1306
|
c() {
|
|
@@ -1337,7 +1337,7 @@ function create_fragment$C(ctx) {
|
|
|
1337
1337
|
if (if_block1) {
|
|
1338
1338
|
if_block1.p(ctx, dirty);
|
|
1339
1339
|
} else {
|
|
1340
|
-
if_block1 = create_if_block$
|
|
1340
|
+
if_block1 = create_if_block$i(ctx);
|
|
1341
1341
|
if_block1.c();
|
|
1342
1342
|
if_block1.m(div, null);
|
|
1343
1343
|
}
|
|
@@ -1554,7 +1554,7 @@ function create_else_block$2(ctx) {
|
|
|
1554
1554
|
}
|
|
1555
1555
|
|
|
1556
1556
|
// (55:2) {#if type === "start"}
|
|
1557
|
-
function create_if_block$
|
|
1557
|
+
function create_if_block$h(ctx) {
|
|
1558
1558
|
let div;
|
|
1559
1559
|
let t;
|
|
1560
1560
|
let goa_icon;
|
|
@@ -1649,7 +1649,7 @@ function create_fragment$B(ctx) {
|
|
|
1649
1649
|
let dispose;
|
|
1650
1650
|
|
|
1651
1651
|
function select_block_type(ctx, dirty) {
|
|
1652
|
-
if (/*type*/ ctx[0] === "start") return create_if_block$
|
|
1652
|
+
if (/*type*/ ctx[0] === "start") return create_if_block$h;
|
|
1653
1653
|
return create_else_block$2;
|
|
1654
1654
|
}
|
|
1655
1655
|
|
|
@@ -2043,6 +2043,28 @@ customElements.define("goa-button-group", ButtonGroup);
|
|
|
2043
2043
|
|
|
2044
2044
|
/* libs/web-components/src/components/callout/Callout.svelte generated by Svelte v3.49.0 */
|
|
2045
2045
|
|
|
2046
|
+
function create_if_block$g(ctx) {
|
|
2047
|
+
let h3;
|
|
2048
|
+
let t;
|
|
2049
|
+
|
|
2050
|
+
return {
|
|
2051
|
+
c() {
|
|
2052
|
+
h3 = element("h3");
|
|
2053
|
+
t = text(/*heading*/ ctx[1]);
|
|
2054
|
+
},
|
|
2055
|
+
m(target, anchor) {
|
|
2056
|
+
insert(target, h3, anchor);
|
|
2057
|
+
append(h3, t);
|
|
2058
|
+
},
|
|
2059
|
+
p(ctx, dirty) {
|
|
2060
|
+
if (dirty & /*heading*/ 2) set_data(t, /*heading*/ ctx[1]);
|
|
2061
|
+
},
|
|
2062
|
+
d(detaching) {
|
|
2063
|
+
if (detaching) detach(h3);
|
|
2064
|
+
}
|
|
2065
|
+
};
|
|
2066
|
+
}
|
|
2067
|
+
|
|
2046
2068
|
function create_fragment$z(ctx) {
|
|
2047
2069
|
let div;
|
|
2048
2070
|
let span0;
|
|
@@ -2051,10 +2073,9 @@ function create_fragment$z(ctx) {
|
|
|
2051
2073
|
let span0_class_value;
|
|
2052
2074
|
let t0;
|
|
2053
2075
|
let span1;
|
|
2054
|
-
let h3;
|
|
2055
2076
|
let t1;
|
|
2056
|
-
let t2;
|
|
2057
2077
|
let slot;
|
|
2078
|
+
let if_block = /*heading*/ ctx[1] && create_if_block$g(ctx);
|
|
2058
2079
|
|
|
2059
2080
|
return {
|
|
2060
2081
|
c() {
|
|
@@ -2063,9 +2084,8 @@ function create_fragment$z(ctx) {
|
|
|
2063
2084
|
goa_icon = element("goa-icon");
|
|
2064
2085
|
t0 = space();
|
|
2065
2086
|
span1 = element("span");
|
|
2066
|
-
|
|
2067
|
-
t1 =
|
|
2068
|
-
t2 = space();
|
|
2087
|
+
if (if_block) if_block.c();
|
|
2088
|
+
t1 = space();
|
|
2069
2089
|
slot = element("slot");
|
|
2070
2090
|
this.c = noop;
|
|
2071
2091
|
set_custom_element_data(goa_icon, "type", /*iconType*/ ctx[3]);
|
|
@@ -2081,9 +2101,8 @@ function create_fragment$z(ctx) {
|
|
|
2081
2101
|
append(span0, goa_icon);
|
|
2082
2102
|
append(div, t0);
|
|
2083
2103
|
append(div, span1);
|
|
2084
|
-
|
|
2085
|
-
append(
|
|
2086
|
-
append(span1, t2);
|
|
2104
|
+
if (if_block) if_block.m(span1, null);
|
|
2105
|
+
append(span1, t1);
|
|
2087
2106
|
append(span1, slot);
|
|
2088
2107
|
},
|
|
2089
2108
|
p(ctx, [dirty]) {
|
|
@@ -2099,7 +2118,18 @@ function create_fragment$z(ctx) {
|
|
|
2099
2118
|
attr(span0, "class", span0_class_value);
|
|
2100
2119
|
}
|
|
2101
2120
|
|
|
2102
|
-
if (
|
|
2121
|
+
if (/*heading*/ ctx[1]) {
|
|
2122
|
+
if (if_block) {
|
|
2123
|
+
if_block.p(ctx, dirty);
|
|
2124
|
+
} else {
|
|
2125
|
+
if_block = create_if_block$g(ctx);
|
|
2126
|
+
if_block.c();
|
|
2127
|
+
if_block.m(span1, t1);
|
|
2128
|
+
}
|
|
2129
|
+
} else if (if_block) {
|
|
2130
|
+
if_block.d(1);
|
|
2131
|
+
if_block = null;
|
|
2132
|
+
}
|
|
2103
2133
|
|
|
2104
2134
|
if (dirty & /*testid*/ 4) {
|
|
2105
2135
|
attr(div, "data-testid", /*testid*/ ctx[2]);
|
|
@@ -2109,6 +2139,7 @@ function create_fragment$z(ctx) {
|
|
|
2109
2139
|
o: noop,
|
|
2110
2140
|
d(detaching) {
|
|
2111
2141
|
if (detaching) detach(div);
|
|
2142
|
+
if (if_block) if_block.d();
|
|
2112
2143
|
}
|
|
2113
2144
|
};
|
|
2114
2145
|
}
|
package/web-components.umd.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
(function(B,w){typeof exports=="object"&&typeof module!="undefined"?w(exports):typeof define=="function"&&define.amd?define(["exports"],w):(B=typeof globalThis!="undefined"?globalThis:B||self,w(B["web-components"]={}))})(this,function(B){"use strict";function w(){}const ve=i=>i;function Ue(i,e){for(const t in e)i[t]=e[t];return i}function Ge(i){return i()}function Ze(){return Object.create(null)}function $(i){i.forEach(Ge)}function se(i){return typeof i=="function"}function I(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Ce;function ze(i,e){return Ce||(Ce=document.createElement("a")),Ce.href=e,i===Ce.href}function
|
|
2
|
-
`;for(let M=0;M<=1;M+=s){const
|
|
1
|
+
(function(B,w){typeof exports=="object"&&typeof module!="undefined"?w(exports):typeof define=="function"&&define.amd?define(["exports"],w):(B=typeof globalThis!="undefined"?globalThis:B||self,w(B["web-components"]={}))})(this,function(B){"use strict";function w(){}const ve=i=>i;function Ue(i,e){for(const t in e)i[t]=e[t];return i}function Ge(i){return i()}function Ze(){return Object.create(null)}function $(i){i.forEach(Ge)}function se(i){return typeof i=="function"}function I(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Ce;function ze(i,e){return Ce||(Ce=document.createElement("a")),Ce.href=e,i===Ce.href}function Ki(i){return Object.keys(i).length===0}function Yi(i,...e){if(i==null)return w;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function Xi(i,e,t){i.$$.on_destroy.push(Yi(e,t))}function Ke(i){return i&&se(i.destroy)?i.destroy:w}const Ye=typeof window!="undefined";let Me=Ye?()=>window.performance.now():()=>Date.now(),Ne=Ye?i=>requestAnimationFrame(i):w;const fe=new Set;function Xe(i){fe.forEach(e=>{e.c(i)||(fe.delete(e),e.f())}),fe.size!==0&&Ne(Xe)}function Ae(i){let e;return fe.size===0&&Ne(Xe),{promise:new Promise(t=>{fe.add(e={c:i,f:t})}),abort(){fe.delete(e)}}}function h(i,e){i.appendChild(e)}function Je(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function Ji(i){const e=b("style");return Qi(Je(i),e),e.sheet}function Qi(i,e){h(i.head||i,e)}function _(i,e,t){i.insertBefore(e,t||null)}function C(i){i.parentNode.removeChild(i)}function Oe(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function b(i){return document.createElement(i)}function ce(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function j(i){return document.createTextNode(i)}function T(){return j(" ")}function te(){return j("")}function U(i,e,t,r){return i.addEventListener(e,t,r),()=>i.removeEventListener(e,t,r)}function u(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function x(i,e,t){e in i?i[e]=typeof i[e]=="boolean"&&t===""?!0:t:u(i,e,t)}function $i(i){return Array.from(i.childNodes)}function q(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function V(i,e,t,r){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,r?"important":"")}function D(i,e,t){i.classList[t?"add":"remove"](e)}function er(i,e,{bubbles:t=!1,cancelable:r=!1}={}){const o=document.createEvent("CustomEvent");return o.initCustomEvent(i,t,r,e),o}function N(i){const e={};for(const t of i)e[t.name]=t.value;return e}const Le=new Map;let Te=0;function tr(i){let e=5381,t=i.length;for(;t--;)e=(e<<5)-e^i.charCodeAt(t);return e>>>0}function ir(i,e){const t={stylesheet:Ji(e),rules:{}};return Le.set(i,t),t}function Re(i,e,t,r,o,n,a,l=0){const s=16.666/r;let c=`{
|
|
2
|
+
`;for(let M=0;M<=1;M+=s){const E=e+(t-e)*n(M);c+=M*100+`%{${a(E,1-E)}}
|
|
3
3
|
`}const d=c+`100% {${a(t,1-t)}}
|
|
4
|
-
}`,f=`__svelte_${er(d)}_${l}`,m=Je(i),{stylesheet:v,rules:k}=Le.get(m)||tr(m,i);k[f]||(k[f]=!0,v.insertRule(`@keyframes ${f} ${d}`,v.cssRules.length));const p=i.style.animation||"";return i.style.animation=`${p?`${p}, `:""}${f} ${r}ms linear ${o}ms 1 both`,Te+=1,f}function He(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(", "),Te-=o,Te||ir())}function ir(){Ne(()=>{Te||(Le.forEach(i=>{const{stylesheet:e}=i;let t=e.cssRules.length;for(;t--;)e.deleteRule(t);i.rules={}}),Le.clear())})}let pe;function we(i){pe=i}function Qe(){if(!pe)throw new Error("Function called outside component initialization");return pe}function Q(i){Qe().$$.on_mount.push(i)}function $e(i){Qe().$$.on_destroy.push(i)}const _e=[],ee=[],Se=[],et=[],tt=Promise.resolve();let Pe=!1;function it(){Pe||(Pe=!0,tt.then(g))}function ye(){return it(),tt}function ie(i){Se.push(i)}const je=new Set;let De=0;function g(){const i=pe;do{for(;De<_e.length;){const e=_e[De];De++,we(e),rr(e.$$)}for(we(null),_e.length=0,De=0;ee.length;)ee.pop()();for(let e=0;e<Se.length;e+=1){const t=Se[e];je.has(t)||(je.add(t),t())}Se.length=0}while(_e.length);for(;et.length;)et.pop()();Pe=!1,je.clear(),we(i)}function rr(i){if(i.fragment!==null){i.update(),$(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(ie)}}let ke;function Fe(){return ke||(ke=Promise.resolve(),ke.then(()=>{ke=null})),ke}function de(i,e,t){i.dispatchEvent($i(`${e?"intro":"outro"}${t}`))}const Be=new Set;let re;function ge(){re={r:0,c:[],p:re}}function he(){re.r||$(re.c),re=re.p}function W(i,e){i&&i.i&&(Be.delete(i),i.i(e))}function Z(i,e,t,r){if(i&&i.o){if(Be.has(i))return;Be.add(i),re.c.push(()=>{Be.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}else r&&r()}const Ve={duration:0};function rt(i,e,t){let r=e(i,t),o=!1,n,a,l=0;function s(){n&&He(i,n)}function c(){const{delay:f=0,duration:m=300,easing:v=ve,tick:k=w,css:p}=r||Ve;p&&(n=Re(i,0,1,m,f,v,p,l++)),k(0,1);const M=Me()+f,x=M+m;a&&a.abort(),o=!0,ie(()=>de(i,!0,"start")),a=Ae(z=>{if(o){if(z>=x)return k(1,0),de(i,!0,"end"),s(),o=!1;if(z>=M){const y=v((z-M)/m);k(y,1-y)}}return o})}let d=!1;return{start(){d||(d=!0,He(i),se(r)?(r=r(),Fe().then(c)):c())},invalidate(){d=!1},end(){o&&(s(),o=!1)}}}function ot(i,e,t){let r=e(i,t),o=!0,n;const a=re;a.r+=1;function l(){const{delay:s=0,duration:c=300,easing:d=ve,tick:f=w,css:m}=r||Ve;m&&(n=Re(i,1,0,c,s,d,m));const v=Me()+s,k=v+c;ie(()=>de(i,!1,"start")),Ae(p=>{if(o){if(p>=k)return f(0,1),de(i,!1,"end"),--a.r||$(a.c),!1;if(p>=v){const M=d((p-v)/c);f(1-M,M)}}return o})}return se(r)?Fe().then(()=>{r=r(),l()}):l(),{end(s){s&&r.tick&&r.tick(1,0),o&&(n&&He(i,n),o=!1)}}}function Ie(i,e,t,r){let o=e(i,t),n=r?0:1,a=null,l=null,s=null;function c(){s&&He(i,s)}function d(m,v){const k=m.b-n;return v*=Math.abs(k),{a:n,b:m.b,d:k,duration:v,start:m.start,end:m.start+v,group:m.group}}function f(m){const{delay:v=0,duration:k=300,easing:p=ve,tick:M=w,css:x}=o||Ve,z={start:Me()+v,b:m};m||(z.group=re,re.r+=1),a||l?l=z:(x&&(c(),s=Re(i,n,m,k,v,p,x)),m&&M(0,1),a=d(z,k),ie(()=>de(i,m,"start")),Ae(y=>{if(l&&y>l.start&&(a=d(l,k),l=null,de(i,a.b,"start"),x&&(c(),s=Re(i,n,a.b,a.duration,0,p,o.css))),a){if(y>=a.end)M(n=a.b,1-n),de(i,a.b,"end"),l||(a.b?c():--a.group.r||$(a.group.c)),a=null;else if(y>=a.start){const A=y-a.start;n=a.a+a.d*p(A/a.duration),M(n,1-n)}}return!!(a||l)}))}return{run(m){se(o)?Fe().then(()=>{o=o(),f(m)}):f(m)},end(){c(),a=l=null}}}function nt(i,e){i.d(1),e.delete(i.key)}function at(i,e,t,r,o,n,a,l,s,c,d,f){let m=i.length,v=n.length,k=m;const p={};for(;k--;)p[i[k].key]=k;const M=[],x=new Map,z=new Map;for(k=v;k--;){const R=f(o,n,k),P=t(R);let K=a.get(P);K?r&&K.p(R,e):(K=c(P,R),K.c()),x.set(P,M[k]=K),P in p&&z.set(P,Math.abs(k-p[P]))}const y=new Set,A=new Set;function L(R){W(R,1),R.m(l,d),a.set(R.key,R),d=R.first,v--}for(;m&&v;){const R=M[v-1],P=i[m-1],K=R.key,Y=P.key;R===P?(d=R.first,m--,v--):x.has(Y)?!a.has(K)||y.has(K)?L(R):A.has(Y)?m--:z.get(K)>z.get(Y)?(A.add(K),L(R)):(y.add(Y),m--):(s(P,a),m--)}for(;m--;){const R=i[m];x.has(R.key)||s(R,a)}for(;v;)L(M[v-1]);return M}function ue(i){i&&i.c()}function ne(i,e,t,r){const{fragment:o,on_mount:n,on_destroy:a,after_update:l}=i.$$;o&&o.m(e,t),r||ie(()=>{const s=n.map(Ge).filter(se);a?a.push(...s):$(s),i.$$.on_mount=[]}),l.forEach(ie)}function ae(i,e){const t=i.$$;t.fragment!==null&&($(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function or(i,e){i.$$.dirty[0]===-1&&(_e.push(i),it(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function O(i,e,t,r,o,n,a,l=[-1]){const s=pe;we(i);const c=i.$$={fragment:null,ctx:null,props:n,update:w,not_equal:o,bound:Ze(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:Ze(),dirty:l,skip_bound:!1,root:e.target||s.$$.root};a&&a(c.root);let d=!1;if(c.ctx=t?t(i,e.props||{},(f,m,...v)=>{const k=v.length?v[0]:m;return c.ctx&&o(c.ctx[f],c.ctx[f]=k)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](k),d&&or(i,f)),m}):[],c.update(),d=!0,$(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=Qi(e.target);c.fragment&&c.fragment.l(f),f.forEach(C)}else c.fragment&&c.fragment.c();e.intro&&W(i.$$.fragment),ne(i,e.target,e.anchor,e.customElement),g()}we(s)}let G;typeof HTMLElement=="function"&&(G=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(Ge).filter(se);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){$(this.$$.on_disconnect)}$destroy(){ae(this,1),this.$destroy=w}$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&&!Zi(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});const nr=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function ar(i){return nr.test(i)}function lr(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=w,u(e,"class","page-content"),u(e,"style",r=`--max-width: ${i[0]}`)},m(o,n){_(o,e,n),h(e,t)},p(o,[n]){n&1&&r!==(r=`--max-width: ${o[0]}`)&&u(e,"style",r)},i:w,o:w,d(o){o&&C(e)}}}function sr(i,e,t){const r={full:"100%"};let{width:o}=e,{_width:n}=e;function a(l){return!!(["full"].includes(o)||ar(l))}return Q(()=>{if(!a(o))throw"Invalid PageBlock width";t(0,n=r[o]||o)}),i.$$set=l=>{"width"in l&&t(1,o=l.width),"_width"in l&&t(0,n=l._width)},[n,o]}class lt extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1.75rem}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},sr,lr,I,{width:1,_width:0},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["width","_width"]}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}get _width(){return this.$$.ctx[0]}set _width(e){this.$$set({_width:e}),g()}}customElements.define("goa-page-block",lt);function cr(i){let e,t,r,o,n,a,l,s,c;return{c(){e=b("div"),t=b("img"),o=T(),n=b("img"),l=T(),s=b("span"),c=j(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),ze(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(n,"alt","GoA Logo"),u(n,"class","image-desktop"),ze(n.src,a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||u(n,"src",a),u(s,"class","title"),u(e,"class","app-link")},m(d,f){_(d,e,f),h(e,t),h(e,o),h(e,n),h(e,l),h(e,s),h(s,c)},p(d,f){f&1&&q(c,d[0])},d(d){d&&C(e)}}}function dr(i){let e,t,r,o,n,a,l,s,c;return{c(){e=b("a"),t=b("img"),o=T(),n=b("img"),l=T(),s=b("span"),c=j(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),ze(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(n,"alt","GoA Logo"),u(n,"class","image-desktop"),ze(n.src,a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||u(n,"src",a),u(s,"class","title"),u(e,"href",i[1]),u(e,"class","app-link")},m(d,f){_(d,e,f),h(e,t),h(e,o),h(e,n),h(e,l),h(e,s),h(s,c)},p(d,f){f&1&&q(c,d[0]),f&2&&u(e,"href",d[1])},d(d){d&&C(e)}}}function ur(i){let e,t,r;function o(l,s){return l[1]?dr:cr}let n=o(i),a=n(i);return{c(){e=b("div"),a.c(),t=T(),r=b("div"),r.innerHTML="<slot></slot>",this.c=w,u(e,"class","app-header"),u(e,"data-testid",i[2])},m(l,s){_(l,e,s),a.m(e,null),h(e,t),h(e,r)},p(l,[s]){n===(n=o(l))&&a?a.p(l,s):(a.d(1),a=n(l),a&&(a.c(),a.m(e,t))),s&4&&u(e,"data-testid",l[2])},i:w,o:w,d(l){l&&C(e),a.d()}}}function fr(i,e,t){let{heading:r=""}=e,{url:o=""}=e,{testid:n=""}=e;return i.$$set=a=>{"heading"in a&&t(0,r=a.heading),"url"in a&&t(1,o=a.url),"testid"in a&&t(2,n=a.testid)},[r,o,n]}class st extends G{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.5rem;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>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},fr,ur,I,{heading:0,url:1,testid:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","url","testid"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get url(){return this.$$.ctx[1]}set url(e){this.$$set({url:e}),g()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-app-header",st);function F(i){return i==="false"?!1:i===""?!0:!!i}function gr(i){let e;return{c(){e=b("div"),V(e,"height","1.2rem"),V(e,"margin-left","-0.25rem")},m(t,r){_(t,e,r)},p:w,d(t){t&&C(e)}}}function hr(i){let e;return{c(){e=b("goa-icon"),E(e,"type",i[4]),E(e,"size","small")},m(t,r){_(t,e,r)},p(t,r){r&16&&E(e,"type",t[4])},d(t){t&&C(e)}}}function ct(i){let e,t;return{c(){e=b("div"),t=j(i[2]),u(e,"class","goa-badge-content")},m(r,o){_(r,e,o),h(e,t)},p(r,o){o&4&&q(t,r[2])},d(r){r&&C(e)}}}function mr(i){let e,t,r;function o(s,c){return s[3]?hr:gr}let n=o(i),a=n(i),l=i[2]&&ct(i);return{c(){e=b("div"),a.c(),t=T(),l&&l.c(),this.c=w,u(e,"data-testid",i[1]),u(e,"data-type","goa-badge"),u(e,"class",r="goa-badge badge-"+i[0]),D(e,"icon-only",i[3]&&!i[2])},m(s,c){_(s,e,c),a.m(e,null),h(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=ct(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),c&2&&u(e,"data-testid",s[1]),c&1&&r!==(r="goa-badge badge-"+s[0])&&u(e,"class",r),c&13&&D(e,"icon-only",s[3]&&!s[2])},i:w,o:w,d(s){s&&C(e),a.d(),l&&l.d()}}}function br(i,e,t){let r,o,{type:n}=e,{testid:a=""}=e,{icon:l="false"}=e,{content:s=""}=e;return Q(()=>{!r&&!s&&console.warn("GoABadge must have either then content or icon property set")}),i.$$set=c=>{"type"in c&&t(0,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(3,r=F(l)),i.$$.dirty&1&&t(4,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,r,o,l]}class dt extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;align-items:center;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--fw-regular);margin:0.25rem}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm);padding-bottom:var(--font-valign-fix)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--goa-color-status-info)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--goa-color-text-light)}.goa-badge.badge-warning{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.goa-badge.badge-emergency{background-color:var(--goa-color-status-emergency);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--color-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--color-gray-600);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--color-white);color:var(--goa-color-text)}.goa-badge.badge-inactive{background-color:var(--color-white);color:var(--goa-color-text)}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},br,mr,I,{type:0,testid:1,icon:5,content:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","testid","icon","content"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}get icon(){return this.$$.ctx[5]}set icon(e){this.$$set({icon:e}),g()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),g()}}customElements.define("goa-badge",dt);function vr(i){let e,t,r,o,n=i[4]&&ut(i),a=i[5]&&ft(i);return{c(){n&&n.c(),e=T(),t=b("div"),t.innerHTML="<slot></slot>",r=T(),a&&a.c(),o=te(),u(t,"class","text")},m(l,s){n&&n.m(l,s),_(l,e,s),_(l,t,s),_(l,r,s),a&&a.m(l,s),_(l,o,s)},p(l,s){l[4]?n?n.p(l,s):(n=ut(l),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),l[5]?a?a.p(l,s):(a=ft(l),a.c(),a.m(o.parentNode,o)):a&&(a.d(1),a=null)},d(l){n&&n.d(l),l&&C(e),l&&C(t),l&&C(r),a&&a.d(l),l&&C(o)}}}function pr(i){let e,t,r;return{c(){e=b("div"),e.innerHTML="<slot></slot>",t=T(),r=b("goa-icon"),u(e,"class","text"),E(r,"id","trailing-icon"),E(r,"type","arrow-forward"),E(r,"inverted","true")},m(o,n){_(o,e,n),_(o,t,n),_(o,r,n)},p:w,d(o){o&&C(e),o&&C(t),o&&C(r)}}}function ut(i){let e;return{c(){e=b("goa-icon"),E(e,"id","leading-icon"),E(e,"type",i[4]),E(e,"inverted",i[7])},m(t,r){_(t,e,r)},p(t,r){r&16&&E(e,"type",t[4]),r&128&&E(e,"inverted",t[7])},d(t){t&&C(e)}}}function ft(i){let e;return{c(){e=b("goa-icon"),E(e,"id","trailing-icon"),E(e,"type",i[5]),E(e,"inverted",i[7])},m(t,r){_(t,e,r)},p(t,r){r&32&&E(e,"type",t[5]),r&128&&E(e,"inverted",t[7])},d(t){t&&C(e)}}}function wr(i){let e,t,r,o;function n(s,c){return s[0]==="start"?pr:vr}let a=n(i),l=a(i);return{c(){e=b("button"),l.c(),this.c=w,u(e,"class",t=""+(i[0]+" "+i[1]+" "+i[2])),u(e,"title",i[3]),e.disabled=i[8],u(e,"data-testid",i[6]),D(e,"leading",i[4]),D(e,"trailing",i[5]||i[0]==="start")},m(s,c){_(s,e,c),l.m(e,null),r||(o=U(e,"click",_r),r=!0)},p(s,[c]){a===(a=n(s))&&l?l.p(s,c):(l.d(1),l=a(s),l&&(l.c(),l.m(e,null))),c&7&&t!==(t=""+(s[0]+" "+s[1]+" "+s[2]))&&u(e,"class",t),c&8&&u(e,"title",s[3]),c&256&&(e.disabled=s[8]),c&64&&u(e,"data-testid",s[6]),c&23&&D(e,"leading",s[4]),c&39&&D(e,"trailing",s[5]||s[0]==="start")},i:w,o:w,d(s){s&&C(e),l.d(),r=!1,o()}}}function _r(i){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),i.stopPropagation()}function yr(i,e,t){let r,o;const n=["primary","secondary","tertiary","start"],a=["","compact"],l=["","danger"];function s(y){return n.includes(y)}function c(y){return a.includes(y)}function d(y){return l.includes(y)}let{type:f="primary"}=e,{size:m=""}=e,{variant:v=""}=e,{title:k=""}=e,{disabled:p="false"}=e,{leadingicon:M=null}=e,{trailingicon:x=null}=e,{testid:z=""}=e;return Q(()=>{if(!s(f))throw"Invalid button type";if(!c(m))throw"Invalid button size";if(!d(v))throw"Invalid button variant"}),i.$$set=y=>{"type"in y&&t(0,f=y.type),"size"in y&&t(1,m=y.size),"variant"in y&&t(2,v=y.variant),"title"in y&&t(3,k=y.title),"disabled"in y&&t(9,p=y.disabled),"leadingicon"in y&&t(4,M=y.leadingicon),"trailingicon"in y&&t(5,x=y.trailingicon),"testid"in y&&t(6,z=y.testid)},i.$$.update=()=>{i.$$.dirty&512&&t(8,r=F(p)),i.$$.dirty&1&&t(7,o=f==="primary"||f==="start")},[f,m,v,k,M,x,z,o,r,p]}class gt extends G{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}@media(max-width: 480px){:host{width:100%}button{width:100%}}button{display:flex;box-sizing:border-box;border-radius:0.25rem;border:2px solid var(--goa-color-interactive);box-sizing:border-box;cursor:pointer;font-family:var(--font-family);font-size:var(--fs-lg);font-weight:400;height:var(--button-height);letter-spacing:0.5px;line-height:100%;padding:0 0.75rem;gap:0.5rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
5
|
-
border-color 0.2s ease-in-out}.text{padding-bottom:var(--font-valign-fix)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--fs-base)}button.start{height:var(--button-height-tall);font-weight:var(--fw-bold)}button.start,button.primary{border:2px solid var(--goa-color-interactive);background:var(--goa-color-interactive);color:var(--goa-color-text-light)}button.start:hover,button.primary:hover{border-color:var(--goa-color-interactive--hover);background:var(--goa-color-interactive--hover)}button.start:focus,button.start:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);border-color:var(--goa-color-interactive--active);background:var(--goa-color-interactive--active);outline:none}button.secondary{border:2px solid var(--goa-color-interactive);background:var(--color-white);color:var(--goa-color-interactive)}button.secondary:hover{border-color:var(--goa-color-interactive--hover);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);background:var(--color-gray-100);outline:none}button.tertiary{border:1px solid transparent;background:var(--color-white);color:var(--goa-color-interactive);text-decoration:underline}button.tertiary:hover{border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--color-gray-100);background:var(--color-gray-100);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.primary.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)}.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)}</style>`,O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},
|
|
6
|
-
}}</style>`,O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Mr,zr,I,{elevation:0,width:1,testId:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["elevation","width","testId"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),g()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}get testId(){return this.$$.ctx[2]}set testId(e){this.$$set({testId:e}),g()}}customElements.define("goa-card",bt);function Ar(i){let e;return{c(){e=b("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=w},m(t,r){_(t,e,r)},p:w,i:w,o:w,d(t){t&&C(e)}}}class vt extends G{constructor(e){super();O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,Ar,I,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-card-actions",vt);function Lr(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=w,u(e,"class","card-content")},m(t,r){_(t,e,r)},p:w,i:w,o:w,d(t){t&&C(e)}}}class pt extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,Lr,I,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-card-content",pt);function Tr(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=w,u(e,"class","card-group")},m(t,r){_(t,e,r)},p:w,i:w,o:w,d(t){t&&C(e)}}}class wt extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,Tr,I,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-card-group",wt);function Rr(i){let e;return{c(){e=b("div"),this.c=w,u(e,"class","card-image"),V(e,"background-image","url("+i[0]+")"),V(e,"height",i[1]),V(e,"background-size","cover"),V(e,"background-position","center")},m(t,r){_(t,e,r)},p(t,[r]){r&1&&V(e,"background-image","url("+t[0]+")"),r&2&&V(e,"height",t[1])},i:w,o:w,d(t){t&&C(e)}}}function Hr(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 _t extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Hr,Rr,I,{src:0,height:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["src","height"]}get src(){return this.$$.ctx[0]}set src(e){this.$$set({src:e}),g()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),g()}}customElements.define("goa-card-image",_t);function Sr(i){let e,t;return{c(){e=ce("svg"),t=ce("path"),u(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),u(e,"id","checkmark"),u(e,"data-testid","checkmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 16 12.18")},m(r,o){_(r,e,o),h(e,t)},d(r){r&&C(e)}}}function Dr(i){let e,t;return{c(){e=ce("svg"),t=ce("rect"),u(t,"width","15"),u(t,"height","2"),u(e,"id","dashmark"),u(e,"data-testid","dashmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 15 2")},m(r,o){_(r,e,o),h(e,t)},d(r){r&&C(e)}}}function Br(i){let e,t,r,o,n,a,l,s,c,d,f;function m(p,M){if(p[5])return Dr;if(p[4])return Sr}let v=m(i),k=v&&v(i);return{c(){e=b("label"),t=b("div"),r=b("input"),n=T(),k&&k.c(),a=T(),l=b("div"),s=b("slot"),c=j(i[1]),this.c=w,u(r,"id",i[0]),u(r,"data-testid",i[3]),u(r,"name",i[0]),r.checked=i[4],r.disabled=i[7],u(r,"type","checkbox"),r.value=o=`${i[2]}`,u(t,"class","goa-checkbox-container"),D(t,"goa-checkbox--selected",i[4]),u(l,"class","goa-checkbox-text"),u(l,"data-testid","text"),u(e,"for",i[0]),u(e,"class","goa-checkbox"),D(e,"goa-checkbox--disabled",i[7]),D(e,"goa-checkbox--error",i[6])},m(p,M){_(p,e,M),h(e,t),h(t,r),h(t,n),k&&k.m(t,null),h(e,a),h(e,l),h(l,s),h(s,c),d||(f=U(r,"change",i[8]),d=!0)},p(p,[M]){M&1&&u(r,"id",p[0]),M&8&&u(r,"data-testid",p[3]),M&1&&u(r,"name",p[0]),M&16&&(r.checked=p[4]),M&128&&(r.disabled=p[7]),M&4&&o!==(o=`${p[2]}`)&&(r.value=o),v!==(v=m(p))&&(k&&k.d(1),k=v&&v(p),k&&(k.c(),k.m(t,null))),M&16&&D(t,"goa-checkbox--selected",p[4]),M&2&&q(c,p[1]),M&1&&u(e,"for",p[0]),M&128&&D(e,"goa-checkbox--disabled",p[7]),M&64&&D(e,"goa-checkbox--error",p[6])},i:w,o:w,d(p){p&&C(e),k&&k.d(),d=!1,f()}}}function Ir(i,e,t){let r,o,n,a,{name:l}=e,{checked:s}=e,{text:c=""}=e,{value:d=""}=e,{disabled:f}=e,{error:m}=e,{testid:v=""}=e;function k(p){const M=!n,x=M?`${d||"checked"}`:"";p.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:l,checked:M,value:x}}))}return i.$$set=p=>{"name"in p&&t(0,l=p.name),"checked"in p&&t(9,s=p.checked),"text"in p&&t(1,c=p.text),"value"in p&&t(2,d=p.value),"disabled"in p&&t(10,f=p.disabled),"error"in p&&t(11,m=p.error),"testid"in p&&t(3,v=p.testid)},i.$$.update=()=>{i.$$.dirty&1024&&t(7,r=F(f)),i.$$.dirty&2048&&t(6,o=F(m)),i.$$.dirty&512&&t(4,n=F(s))},t(5,a=!1),[l,c,d,v,n,a,o,r,k,s,f,m]}class yt extends G{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family);display:block}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled{opacity:40%}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--color-gray-600);border-radius:2px;background-color:var(--color-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px;flex:0 0 auto}.goa-checkbox-container svg{fill:var(--color-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive--hover)}.goa-checkbox-container:hover{border:1px solid var(--goa-color-interactive--hover)}.goa-checkbox-container:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--fw-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--color-gray-400)}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-status-emergency);box-shadow:inset 0 0 0 1px var(--goa-color-status-emergency);background-color:var(--color-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-status-emergency)}</style>',O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Ir,Br,I,{name:0,checked:9,text:1,value:2,disabled:10,error:11,testid:3},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","checked","text","value","disabled","error","testid"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get checked(){return this.$$.ctx[9]}set checked(e){this.$$set({checked:e}),g()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),g()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),g()}get disabled(){return this.$$.ctx[10]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[11]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-checkbox",yt);function kt(i){let e;return{c(){e=b("goa-icon"),E(e,"class","leading-icon"),E(e,"size","medium"),E(e,"type",i[0])},m(t,r){_(t,e,r)},p(t,r){r&1&&E(e,"type",t[0])},d(t){t&&C(e)}}}function xt(i){let e,t,r;return{c(){e=b("goa-icon"),E(e,"class","delete-icon"),E(e,"size","medium"),E(e,"theme","filled"),E(e,"type","close-circle"),E(e,"fillcolor",t=i[4]?"var(--goa-color-status-emergency)":i[3]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)"),E(e,"opacity",r=i[4]?i[3]?1:.5:1)},m(o,n){_(o,e,n)},p(o,n){n&24&&t!==(t=o[4]?"var(--goa-color-status-emergency)":o[3]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)")&&E(e,"fillcolor",t),n&24&&r!==(r=o[4]?o[3]?1:.5:1)&&E(e,"opacity",r)},d(o){o&&C(e)}}}function Gr(i){let e,t,r,o,n,a,l,s=i[0]&&kt(i),c=i[5]&&xt(i);return{c(){e=b("div"),s&&s.c(),t=T(),r=b("div"),o=j(i[1]),n=T(),c&&c.c(),this.c=w,u(r,"class","text"),u(e,"data-testid","chip"),u(e,"class","chip"),u(e,"tabindex","0"),D(e,"deletable",i[5]),D(e,"error",i[4])},m(d,f){_(d,e,f),s&&s.m(e,null),h(e,t),h(e,r),h(r,o),h(e,n),c&&c.m(e,null),i[9](e),a||(l=[U(e,"click",i[10]),U(e,"mouseover",i[11]),U(e,"mouseout",i[12]),U(e,"focus",i[13]),U(e,"blur",i[14])],a=!0)},p(d,[f]){d[0]?s?s.p(d,f):(s=kt(d),s.c(),s.m(e,t)):s&&(s.d(1),s=null),f&2&&q(o,d[1]),d[5]?c?c.p(d,f):(c=xt(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&32&&D(e,"deletable",d[5]),f&16&&D(e,"error",d[4])},i:w,o:w,d(d){d&&C(e),s&&s.d(),c&&c.d(),i[9](null),a=!1,$(l)}}}function Nr(i,e,t){let{leadingicon:r=null}=e,{error:o="false"}=e,{deletable:n="false"}=e,{content:a}=e,l,s=!1,c,d;function f(z){l.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),z.stopPropagation()}function m(z){ee[z?"unshift":"push"](()=>{l=z,t(2,l)})}const v=z=>d&&f(z),k=()=>t(3,s=!0),p=()=>t(3,s=!1),M=()=>t(3,s=!1),x=()=>t(3,s=!1);return i.$$set=z=>{"leadingicon"in z&&t(0,r=z.leadingicon),"error"in z&&t(7,o=z.error),"deletable"in z&&t(8,n=z.deletable),"content"in z&&t(1,a=z.content)},i.$$.update=()=>{i.$$.dirty&128&&t(4,c=F(o)),i.$$.dirty&256&&t(5,d=F(n))},[r,a,l,s,c,d,f,o,n,m,v,k,p,M,x]}class Et extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--color-white);border-radius:99px;border:1px solid #949494;box-sizing:border-box;color:var(--goa-color-text);display:inline-flex;flex-direction:row;font-size:var(--chip-font-size);font-weight:var(--fw-regular);gap:0.25rem;height:2rem;justify-content:center;margin:0.25rem;padding:0 0.75rem}.text{padding-bottom:var(--font-valign-fix)}.chip:focus{outline:2px solid var(--goa-color-interactive--focus);background-color:var(--color-white)}.chip:hover{background-color:var(--color-gray-200)}.deletable{cursor:pointer}.delete-icon{margin-right:-0.25rem}.error,.error:hover{background-color:var(--goa-color-status-emergency-light)}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Nr,Gr,I,{leadingicon:0,error:7,deletable:8,content:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["leadingicon","error","deletable","content"]}get leadingicon(){return this.$$.ctx[0]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),g()}get deletable(){return this.$$.ctx[8]}set deletable(e){this.$$set({deletable:e}),g()}get content(){return this.$$.ctx[1]}set content(e){this.$$set({content:e}),g()}}customElements.define("goa-chip",Et);function Or(i){let e,t,r,o,n,a,l,s,c;return{c(){e=b("div"),t=b("header"),r=b("div"),r.innerHTML='<slot name="title"></slot>',o=T(),n=b("div"),n.innerHTML='<slot name="actions"></slot>',l=T(),s=b("div"),s.innerHTML="<slot></slot>",this.c=w,u(r,"class","title"),u(n,"class","actions"),u(t,"class",a="heading--"+i[1]),u(s,"class","content"),u(e,"class",c=`
|
|
4
|
+
}`,f=`__svelte_${tr(d)}_${l}`,m=Je(i),{stylesheet:p,rules:k}=Le.get(m)||ir(m,i);k[f]||(k[f]=!0,p.insertRule(`@keyframes ${f} ${d}`,p.cssRules.length));const v=i.style.animation||"";return i.style.animation=`${v?`${v}, `:""}${f} ${r}ms linear ${o}ms 1 both`,Te+=1,f}function He(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(", "),Te-=o,Te||rr())}function rr(){Ne(()=>{Te||(Le.forEach(i=>{const{stylesheet:e}=i;let t=e.cssRules.length;for(;t--;)e.deleteRule(t);i.rules={}}),Le.clear())})}let pe;function we(i){pe=i}function Qe(){if(!pe)throw new Error("Function called outside component initialization");return pe}function Q(i){Qe().$$.on_mount.push(i)}function $e(i){Qe().$$.on_destroy.push(i)}const _e=[],ee=[],Se=[],et=[],tt=Promise.resolve();let Pe=!1;function it(){Pe||(Pe=!0,tt.then(g))}function ye(){return it(),tt}function ie(i){Se.push(i)}const je=new Set;let De=0;function g(){const i=pe;do{for(;De<_e.length;){const e=_e[De];De++,we(e),or(e.$$)}for(we(null),_e.length=0,De=0;ee.length;)ee.pop()();for(let e=0;e<Se.length;e+=1){const t=Se[e];je.has(t)||(je.add(t),t())}Se.length=0}while(_e.length);for(;et.length;)et.pop()();Pe=!1,je.clear(),we(i)}function or(i){if(i.fragment!==null){i.update(),$(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(ie)}}let ke;function Fe(){return ke||(ke=Promise.resolve(),ke.then(()=>{ke=null})),ke}function de(i,e,t){i.dispatchEvent(er(`${e?"intro":"outro"}${t}`))}const Be=new Set;let re;function ge(){re={r:0,c:[],p:re}}function he(){re.r||$(re.c),re=re.p}function W(i,e){i&&i.i&&(Be.delete(i),i.i(e))}function Z(i,e,t,r){if(i&&i.o){if(Be.has(i))return;Be.add(i),re.c.push(()=>{Be.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}else r&&r()}const Ve={duration:0};function rt(i,e,t){let r=e(i,t),o=!1,n,a,l=0;function s(){n&&He(i,n)}function c(){const{delay:f=0,duration:m=300,easing:p=ve,tick:k=w,css:v}=r||Ve;v&&(n=Re(i,0,1,m,f,p,v,l++)),k(0,1);const M=Me()+f,E=M+m;a&&a.abort(),o=!0,ie(()=>de(i,!0,"start")),a=Ae(z=>{if(o){if(z>=E)return k(1,0),de(i,!0,"end"),s(),o=!1;if(z>=M){const y=p((z-M)/m);k(y,1-y)}}return o})}let d=!1;return{start(){d||(d=!0,He(i),se(r)?(r=r(),Fe().then(c)):c())},invalidate(){d=!1},end(){o&&(s(),o=!1)}}}function ot(i,e,t){let r=e(i,t),o=!0,n;const a=re;a.r+=1;function l(){const{delay:s=0,duration:c=300,easing:d=ve,tick:f=w,css:m}=r||Ve;m&&(n=Re(i,1,0,c,s,d,m));const p=Me()+s,k=p+c;ie(()=>de(i,!1,"start")),Ae(v=>{if(o){if(v>=k)return f(0,1),de(i,!1,"end"),--a.r||$(a.c),!1;if(v>=p){const M=d((v-p)/c);f(1-M,M)}}return o})}return se(r)?Fe().then(()=>{r=r(),l()}):l(),{end(s){s&&r.tick&&r.tick(1,0),o&&(n&&He(i,n),o=!1)}}}function Ie(i,e,t,r){let o=e(i,t),n=r?0:1,a=null,l=null,s=null;function c(){s&&He(i,s)}function d(m,p){const k=m.b-n;return p*=Math.abs(k),{a:n,b:m.b,d:k,duration:p,start:m.start,end:m.start+p,group:m.group}}function f(m){const{delay:p=0,duration:k=300,easing:v=ve,tick:M=w,css:E}=o||Ve,z={start:Me()+p,b:m};m||(z.group=re,re.r+=1),a||l?l=z:(E&&(c(),s=Re(i,n,m,k,p,v,E)),m&&M(0,1),a=d(z,k),ie(()=>de(i,m,"start")),Ae(y=>{if(l&&y>l.start&&(a=d(l,k),l=null,de(i,a.b,"start"),E&&(c(),s=Re(i,n,a.b,a.duration,0,v,o.css))),a){if(y>=a.end)M(n=a.b,1-n),de(i,a.b,"end"),l||(a.b?c():--a.group.r||$(a.group.c)),a=null;else if(y>=a.start){const A=y-a.start;n=a.a+a.d*v(A/a.duration),M(n,1-n)}}return!!(a||l)}))}return{run(m){se(o)?Fe().then(()=>{o=o(),f(m)}):f(m)},end(){c(),a=l=null}}}function nt(i,e){i.d(1),e.delete(i.key)}function at(i,e,t,r,o,n,a,l,s,c,d,f){let m=i.length,p=n.length,k=m;const v={};for(;k--;)v[i[k].key]=k;const M=[],E=new Map,z=new Map;for(k=p;k--;){const R=f(o,n,k),P=t(R);let K=a.get(P);K?r&&K.p(R,e):(K=c(P,R),K.c()),E.set(P,M[k]=K),P in v&&z.set(P,Math.abs(k-v[P]))}const y=new Set,A=new Set;function L(R){W(R,1),R.m(l,d),a.set(R.key,R),d=R.first,p--}for(;m&&p;){const R=M[p-1],P=i[m-1],K=R.key,Y=P.key;R===P?(d=R.first,m--,p--):E.has(Y)?!a.has(K)||y.has(K)?L(R):A.has(Y)?m--:z.get(K)>z.get(Y)?(A.add(K),L(R)):(y.add(Y),m--):(s(P,a),m--)}for(;m--;){const R=i[m];E.has(R.key)||s(R,a)}for(;p;)L(M[p-1]);return M}function ue(i){i&&i.c()}function ne(i,e,t,r){const{fragment:o,on_mount:n,on_destroy:a,after_update:l}=i.$$;o&&o.m(e,t),r||ie(()=>{const s=n.map(Ge).filter(se);a?a.push(...s):$(s),i.$$.on_mount=[]}),l.forEach(ie)}function ae(i,e){const t=i.$$;t.fragment!==null&&($(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function nr(i,e){i.$$.dirty[0]===-1&&(_e.push(i),it(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function O(i,e,t,r,o,n,a,l=[-1]){const s=pe;we(i);const c=i.$$={fragment:null,ctx:null,props:n,update:w,not_equal:o,bound:Ze(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:Ze(),dirty:l,skip_bound:!1,root:e.target||s.$$.root};a&&a(c.root);let d=!1;if(c.ctx=t?t(i,e.props||{},(f,m,...p)=>{const k=p.length?p[0]:m;return c.ctx&&o(c.ctx[f],c.ctx[f]=k)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](k),d&&nr(i,f)),m}):[],c.update(),d=!0,$(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=$i(e.target);c.fragment&&c.fragment.l(f),f.forEach(C)}else c.fragment&&c.fragment.c();e.intro&&W(i.$$.fragment),ne(i,e.target,e.anchor,e.customElement),g()}we(s)}let G;typeof HTMLElement=="function"&&(G=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(Ge).filter(se);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){$(this.$$.on_disconnect)}$destroy(){ae(this,1),this.$destroy=w}$on(i,e){const t=this.$$.callbacks[i]||(this.$$.callbacks[i]=[]);return t.push(e),()=>{const r=t.indexOf(e);r!==-1&&t.splice(r,1)}}$set(i){this.$$set&&!Ki(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});const ar=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function lr(i){return ar.test(i)}function sr(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=w,u(e,"class","page-content"),u(e,"style",r=`--max-width: ${i[0]}`)},m(o,n){_(o,e,n),h(e,t)},p(o,[n]){n&1&&r!==(r=`--max-width: ${o[0]}`)&&u(e,"style",r)},i:w,o:w,d(o){o&&C(e)}}}function cr(i,e,t){const r={full:"100%"};let{width:o}=e,{_width:n}=e;function a(l){return!!(["full"].includes(o)||lr(l))}return Q(()=>{if(!a(o))throw"Invalid PageBlock width";t(0,n=r[o]||o)}),i.$$set=l=>{"width"in l&&t(1,o=l.width),"_width"in l&&t(0,n=l._width)},[n,o]}class lt extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1.75rem}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},cr,sr,I,{width:1,_width:0},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["width","_width"]}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}get _width(){return this.$$.ctx[0]}set _width(e){this.$$set({_width:e}),g()}}customElements.define("goa-page-block",lt);function dr(i){let e,t,r,o,n,a,l,s,c;return{c(){e=b("div"),t=b("img"),o=T(),n=b("img"),l=T(),s=b("span"),c=j(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),ze(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(n,"alt","GoA Logo"),u(n,"class","image-desktop"),ze(n.src,a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||u(n,"src",a),u(s,"class","title"),u(e,"class","app-link")},m(d,f){_(d,e,f),h(e,t),h(e,o),h(e,n),h(e,l),h(e,s),h(s,c)},p(d,f){f&1&&q(c,d[0])},d(d){d&&C(e)}}}function ur(i){let e,t,r,o,n,a,l,s,c;return{c(){e=b("a"),t=b("img"),o=T(),n=b("img"),l=T(),s=b("span"),c=j(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),ze(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(n,"alt","GoA Logo"),u(n,"class","image-desktop"),ze(n.src,a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||u(n,"src",a),u(s,"class","title"),u(e,"href",i[1]),u(e,"class","app-link")},m(d,f){_(d,e,f),h(e,t),h(e,o),h(e,n),h(e,l),h(e,s),h(s,c)},p(d,f){f&1&&q(c,d[0]),f&2&&u(e,"href",d[1])},d(d){d&&C(e)}}}function fr(i){let e,t,r;function o(l,s){return l[1]?ur:dr}let n=o(i),a=n(i);return{c(){e=b("div"),a.c(),t=T(),r=b("div"),r.innerHTML="<slot></slot>",this.c=w,u(e,"class","app-header"),u(e,"data-testid",i[2])},m(l,s){_(l,e,s),a.m(e,null),h(e,t),h(e,r)},p(l,[s]){n===(n=o(l))&&a?a.p(l,s):(a.d(1),a=n(l),a&&(a.c(),a.m(e,t))),s&4&&u(e,"data-testid",l[2])},i:w,o:w,d(l){l&&C(e),a.d()}}}function gr(i,e,t){let{heading:r=""}=e,{url:o=""}=e,{testid:n=""}=e;return i.$$set=a=>{"heading"in a&&t(0,r=a.heading),"url"in a&&t(1,o=a.url),"testid"in a&&t(2,n=a.testid)},[r,o,n]}class st extends G{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.5rem;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>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},gr,fr,I,{heading:0,url:1,testid:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","url","testid"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get url(){return this.$$.ctx[1]}set url(e){this.$$set({url:e}),g()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-app-header",st);function F(i){return i==="false"?!1:i===""?!0:!!i}function hr(i){let e;return{c(){e=b("div"),V(e,"height","1.2rem"),V(e,"margin-left","-0.25rem")},m(t,r){_(t,e,r)},p:w,d(t){t&&C(e)}}}function mr(i){let e;return{c(){e=b("goa-icon"),x(e,"type",i[4]),x(e,"size","small")},m(t,r){_(t,e,r)},p(t,r){r&16&&x(e,"type",t[4])},d(t){t&&C(e)}}}function ct(i){let e,t;return{c(){e=b("div"),t=j(i[2]),u(e,"class","goa-badge-content")},m(r,o){_(r,e,o),h(e,t)},p(r,o){o&4&&q(t,r[2])},d(r){r&&C(e)}}}function br(i){let e,t,r;function o(s,c){return s[3]?mr:hr}let n=o(i),a=n(i),l=i[2]&&ct(i);return{c(){e=b("div"),a.c(),t=T(),l&&l.c(),this.c=w,u(e,"data-testid",i[1]),u(e,"data-type","goa-badge"),u(e,"class",r="goa-badge badge-"+i[0]),D(e,"icon-only",i[3]&&!i[2])},m(s,c){_(s,e,c),a.m(e,null),h(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=ct(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),c&2&&u(e,"data-testid",s[1]),c&1&&r!==(r="goa-badge badge-"+s[0])&&u(e,"class",r),c&13&&D(e,"icon-only",s[3]&&!s[2])},i:w,o:w,d(s){s&&C(e),a.d(),l&&l.d()}}}function vr(i,e,t){let r,o,{type:n}=e,{testid:a=""}=e,{icon:l="false"}=e,{content:s=""}=e;return Q(()=>{!r&&!s&&console.warn("GoABadge must have either then content or icon property set")}),i.$$set=c=>{"type"in c&&t(0,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(3,r=F(l)),i.$$.dirty&1&&t(4,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,r,o,l]}class dt extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;align-items:center;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--fw-regular);margin:0.25rem}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm);padding-bottom:var(--font-valign-fix)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--goa-color-status-info)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--goa-color-text-light)}.goa-badge.badge-warning{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.goa-badge.badge-emergency{background-color:var(--goa-color-status-emergency);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--color-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--color-gray-600);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--color-white);color:var(--goa-color-text)}.goa-badge.badge-inactive{background-color:var(--color-white);color:var(--goa-color-text)}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},vr,br,I,{type:0,testid:1,icon:5,content:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","testid","icon","content"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}get icon(){return this.$$.ctx[5]}set icon(e){this.$$set({icon:e}),g()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),g()}}customElements.define("goa-badge",dt);function pr(i){let e,t,r,o,n=i[4]&&ut(i),a=i[5]&&ft(i);return{c(){n&&n.c(),e=T(),t=b("div"),t.innerHTML="<slot></slot>",r=T(),a&&a.c(),o=te(),u(t,"class","text")},m(l,s){n&&n.m(l,s),_(l,e,s),_(l,t,s),_(l,r,s),a&&a.m(l,s),_(l,o,s)},p(l,s){l[4]?n?n.p(l,s):(n=ut(l),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),l[5]?a?a.p(l,s):(a=ft(l),a.c(),a.m(o.parentNode,o)):a&&(a.d(1),a=null)},d(l){n&&n.d(l),l&&C(e),l&&C(t),l&&C(r),a&&a.d(l),l&&C(o)}}}function wr(i){let e,t,r;return{c(){e=b("div"),e.innerHTML="<slot></slot>",t=T(),r=b("goa-icon"),u(e,"class","text"),x(r,"id","trailing-icon"),x(r,"type","arrow-forward"),x(r,"inverted","true")},m(o,n){_(o,e,n),_(o,t,n),_(o,r,n)},p:w,d(o){o&&C(e),o&&C(t),o&&C(r)}}}function ut(i){let e;return{c(){e=b("goa-icon"),x(e,"id","leading-icon"),x(e,"type",i[4]),x(e,"inverted",i[7])},m(t,r){_(t,e,r)},p(t,r){r&16&&x(e,"type",t[4]),r&128&&x(e,"inverted",t[7])},d(t){t&&C(e)}}}function ft(i){let e;return{c(){e=b("goa-icon"),x(e,"id","trailing-icon"),x(e,"type",i[5]),x(e,"inverted",i[7])},m(t,r){_(t,e,r)},p(t,r){r&32&&x(e,"type",t[5]),r&128&&x(e,"inverted",t[7])},d(t){t&&C(e)}}}function _r(i){let e,t,r,o;function n(s,c){return s[0]==="start"?wr:pr}let a=n(i),l=a(i);return{c(){e=b("button"),l.c(),this.c=w,u(e,"class",t=""+(i[0]+" "+i[1]+" "+i[2])),u(e,"title",i[3]),e.disabled=i[8],u(e,"data-testid",i[6]),D(e,"leading",i[4]),D(e,"trailing",i[5]||i[0]==="start")},m(s,c){_(s,e,c),l.m(e,null),r||(o=U(e,"click",yr),r=!0)},p(s,[c]){a===(a=n(s))&&l?l.p(s,c):(l.d(1),l=a(s),l&&(l.c(),l.m(e,null))),c&7&&t!==(t=""+(s[0]+" "+s[1]+" "+s[2]))&&u(e,"class",t),c&8&&u(e,"title",s[3]),c&256&&(e.disabled=s[8]),c&64&&u(e,"data-testid",s[6]),c&23&&D(e,"leading",s[4]),c&39&&D(e,"trailing",s[5]||s[0]==="start")},i:w,o:w,d(s){s&&C(e),l.d(),r=!1,o()}}}function yr(i){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),i.stopPropagation()}function kr(i,e,t){let r,o;const n=["primary","secondary","tertiary","start"],a=["","compact"],l=["","danger"];function s(y){return n.includes(y)}function c(y){return a.includes(y)}function d(y){return l.includes(y)}let{type:f="primary"}=e,{size:m=""}=e,{variant:p=""}=e,{title:k=""}=e,{disabled:v="false"}=e,{leadingicon:M=null}=e,{trailingicon:E=null}=e,{testid:z=""}=e;return Q(()=>{if(!s(f))throw"Invalid button type";if(!c(m))throw"Invalid button size";if(!d(p))throw"Invalid button variant"}),i.$$set=y=>{"type"in y&&t(0,f=y.type),"size"in y&&t(1,m=y.size),"variant"in y&&t(2,p=y.variant),"title"in y&&t(3,k=y.title),"disabled"in y&&t(9,v=y.disabled),"leadingicon"in y&&t(4,M=y.leadingicon),"trailingicon"in y&&t(5,E=y.trailingicon),"testid"in y&&t(6,z=y.testid)},i.$$.update=()=>{i.$$.dirty&512&&t(8,r=F(v)),i.$$.dirty&1&&t(7,o=f==="primary"||f==="start")},[f,m,p,k,M,E,z,o,r,v]}class gt extends G{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}@media(max-width: 480px){:host{width:100%}button{width:100%}}button{display:flex;box-sizing:border-box;border-radius:0.25rem;border:2px solid var(--goa-color-interactive);box-sizing:border-box;cursor:pointer;font-family:var(--font-family);font-size:var(--fs-lg);font-weight:400;height:var(--button-height);letter-spacing:0.5px;line-height:100%;padding:0 0.75rem;gap:0.5rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
5
|
+
border-color 0.2s ease-in-out}.text{padding-bottom:var(--font-valign-fix)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--fs-base)}button.start{height:var(--button-height-tall);font-weight:var(--fw-bold)}button.start,button.primary{border:2px solid var(--goa-color-interactive);background:var(--goa-color-interactive);color:var(--goa-color-text-light)}button.start:hover,button.primary:hover{border-color:var(--goa-color-interactive--hover);background:var(--goa-color-interactive--hover)}button.start:focus,button.start:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);border-color:var(--goa-color-interactive--active);background:var(--goa-color-interactive--active);outline:none}button.secondary{border:2px solid var(--goa-color-interactive);background:var(--color-white);color:var(--goa-color-interactive)}button.secondary:hover{border-color:var(--goa-color-interactive--hover);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);background:var(--color-gray-100);outline:none}button.tertiary{border:1px solid transparent;background:var(--color-white);color:var(--goa-color-interactive);text-decoration:underline}button.tertiary:hover{border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--color-gray-100);background:var(--color-gray-100);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.primary.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)}.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)}</style>`,O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},kr,_r,I,{type:0,size:1,variant:2,title:3,disabled:9,leadingicon:4,trailingicon:5,testid:6},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","size","variant","title","disabled","leadingicon","trailingicon","testid"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),g()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),g()}get disabled(){return this.$$.ctx[9]}set disabled(e){this.$$set({disabled:e}),g()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get trailingicon(){return this.$$.ctx[5]}set trailingicon(e){this.$$set({trailingicon:e}),g()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-button",gt);function Er(i){let e,t;return{c(){e=b("div"),t=b("slot"),this.c=w,V(e,"--alignment","flex-"+i[1]),V(e,"--gap-size",i[0]==="small"?"0.5rem":"1.25rem")},m(r,o){_(r,e,o),h(e,t)},p(r,[o]){o&2&&V(e,"--alignment","flex-"+r[1]),o&1&&V(e,"--gap-size",r[0]==="small"?"0.5rem":"1.25rem")},i:w,o:w,d(r){r&&C(e)}}}function xr(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 ht extends G{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>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},xr,Er,I,{gap:0,alignment:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["gap","alignment"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),g()}get alignment(){return this.$$.ctx[1]}set alignment(e){this.$$set({alignment:e}),g()}}customElements.define("goa-button-group",ht);function mt(i){let e,t;return{c(){e=b("h3"),t=j(i[1])},m(r,o){_(r,e,o),h(e,t)},p(r,o){o&2&&q(t,r[1])},d(r){r&&C(e)}}}function Cr(i){let e,t,r,o,n,a,l,s,c,d=i[1]&&mt(i);return{c(){e=b("div"),t=b("span"),r=b("goa-icon"),a=T(),l=b("span"),d&&d.c(),s=T(),c=b("slot"),this.c=w,x(r,"type",i[3]),x(r,"inverted",o=i[0]==="important"?"false":"true"),u(t,"class",n="icon "+i[0]),u(l,"class","content"),u(e,"class","notification"),u(e,"data-testid",i[2])},m(f,m){_(f,e,m),h(e,t),h(t,r),h(e,a),h(e,l),d&&d.m(l,null),h(l,s),h(l,c)},p(f,[m]){m&8&&x(r,"type",f[3]),m&1&&o!==(o=f[0]==="important"?"false":"true")&&x(r,"inverted",o),m&1&&n!==(n="icon "+f[0])&&u(t,"class",n),f[1]?d?d.p(f,m):(d=mt(f),d.c(),d.m(l,s)):d&&(d.d(1),d=null),m&4&&u(e,"data-testid",f[2])},i:w,o:w,d(f){f&&C(e),d&&d.d()}}}function zr(i,e,t){let r,{type:o}=e,{heading:n}=e,{testid:a=""}=e;return i.$$set=l=>{"type"in l&&t(0,o=l.type),"heading"in l&&t(1,n=l.heading),"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 bt extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{display:flex;align-items:stretch;border-radius:3px;overflow:hidden;margin-bottom:1.75rem}h3{font-size:var(--fs-xl);line-height:var(--lh-base);font-weight:var(--fw-regular);margin-top:0}.emergency{background-color:var(--goa-color-status-emergency)}.important{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info)}.event{background-color:var(--goa-color-status-info)}.success{background-color:var(--goa-color-status-success)}.icon{flex:0 0 3rem;text-align:center;padding-top:1.75rem}.content{flex:1 1 auto;background-color:var(--color-gray-100);padding:1.75rem}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},zr,Cr,I,{type:0,heading:1,testid:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","heading","testid"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get heading(){return this.$$.ctx[1]}set heading(e){this.$$set({heading:e}),g()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-callout",bt);function Mr(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=w,u(e,"data-testid",i[2]),u(e,"class","card"),u(e,"style",r="--width: "+i[1]+"px; "+(i[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(o,n){_(o,e,n),h(e,t)},p(o,[n]){n&4&&u(e,"data-testid",o[2]),n&3&&r!==(r="--width: "+o[1]+"px; "+(o[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${o[0]});`)+"")&&u(e,"style",r)},i:w,o:w,d(o){o&&C(e)}}}function Ar(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 vt extends G{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card{display:flex;flex-direction:column;background-color:var(--color-white);border-radius:4px;overflow:hidden;width:100%}@media(min-width: 320px){.card{width:var(--width);margin:0 auto
|
|
6
|
+
}}</style>`,O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Ar,Mr,I,{elevation:0,width:1,testId:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["elevation","width","testId"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),g()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}get testId(){return this.$$.ctx[2]}set testId(e){this.$$set({testId:e}),g()}}customElements.define("goa-card",vt);function Lr(i){let e;return{c(){e=b("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=w},m(t,r){_(t,e,r)},p:w,i:w,o:w,d(t){t&&C(e)}}}class pt extends G{constructor(e){super();O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,Lr,I,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-card-actions",pt);function Tr(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=w,u(e,"class","card-content")},m(t,r){_(t,e,r)},p:w,i:w,o:w,d(t){t&&C(e)}}}class wt extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,Tr,I,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-card-content",wt);function Rr(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=w,u(e,"class","card-group")},m(t,r){_(t,e,r)},p:w,i:w,o:w,d(t){t&&C(e)}}}class _t extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,Rr,I,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-card-group",_t);function Hr(i){let e;return{c(){e=b("div"),this.c=w,u(e,"class","card-image"),V(e,"background-image","url("+i[0]+")"),V(e,"height",i[1]),V(e,"background-size","cover"),V(e,"background-position","center")},m(t,r){_(t,e,r)},p(t,[r]){r&1&&V(e,"background-image","url("+t[0]+")"),r&2&&V(e,"height",t[1])},i:w,o:w,d(t){t&&C(e)}}}function Sr(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 yt extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Sr,Hr,I,{src:0,height:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["src","height"]}get src(){return this.$$.ctx[0]}set src(e){this.$$set({src:e}),g()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),g()}}customElements.define("goa-card-image",yt);function Dr(i){let e,t;return{c(){e=ce("svg"),t=ce("path"),u(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),u(e,"id","checkmark"),u(e,"data-testid","checkmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 16 12.18")},m(r,o){_(r,e,o),h(e,t)},d(r){r&&C(e)}}}function Br(i){let e,t;return{c(){e=ce("svg"),t=ce("rect"),u(t,"width","15"),u(t,"height","2"),u(e,"id","dashmark"),u(e,"data-testid","dashmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 15 2")},m(r,o){_(r,e,o),h(e,t)},d(r){r&&C(e)}}}function Ir(i){let e,t,r,o,n,a,l,s,c,d,f;function m(v,M){if(v[5])return Br;if(v[4])return Dr}let p=m(i),k=p&&p(i);return{c(){e=b("label"),t=b("div"),r=b("input"),n=T(),k&&k.c(),a=T(),l=b("div"),s=b("slot"),c=j(i[1]),this.c=w,u(r,"id",i[0]),u(r,"data-testid",i[3]),u(r,"name",i[0]),r.checked=i[4],r.disabled=i[7],u(r,"type","checkbox"),r.value=o=`${i[2]}`,u(t,"class","goa-checkbox-container"),D(t,"goa-checkbox--selected",i[4]),u(l,"class","goa-checkbox-text"),u(l,"data-testid","text"),u(e,"for",i[0]),u(e,"class","goa-checkbox"),D(e,"goa-checkbox--disabled",i[7]),D(e,"goa-checkbox--error",i[6])},m(v,M){_(v,e,M),h(e,t),h(t,r),h(t,n),k&&k.m(t,null),h(e,a),h(e,l),h(l,s),h(s,c),d||(f=U(r,"change",i[8]),d=!0)},p(v,[M]){M&1&&u(r,"id",v[0]),M&8&&u(r,"data-testid",v[3]),M&1&&u(r,"name",v[0]),M&16&&(r.checked=v[4]),M&128&&(r.disabled=v[7]),M&4&&o!==(o=`${v[2]}`)&&(r.value=o),p!==(p=m(v))&&(k&&k.d(1),k=p&&p(v),k&&(k.c(),k.m(t,null))),M&16&&D(t,"goa-checkbox--selected",v[4]),M&2&&q(c,v[1]),M&1&&u(e,"for",v[0]),M&128&&D(e,"goa-checkbox--disabled",v[7]),M&64&&D(e,"goa-checkbox--error",v[6])},i:w,o:w,d(v){v&&C(e),k&&k.d(),d=!1,f()}}}function Gr(i,e,t){let r,o,n,a,{name:l}=e,{checked:s}=e,{text:c=""}=e,{value:d=""}=e,{disabled:f}=e,{error:m}=e,{testid:p=""}=e;function k(v){const M=!n,E=M?`${d||"checked"}`:"";v.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:l,checked:M,value:E}}))}return i.$$set=v=>{"name"in v&&t(0,l=v.name),"checked"in v&&t(9,s=v.checked),"text"in v&&t(1,c=v.text),"value"in v&&t(2,d=v.value),"disabled"in v&&t(10,f=v.disabled),"error"in v&&t(11,m=v.error),"testid"in v&&t(3,p=v.testid)},i.$$.update=()=>{i.$$.dirty&1024&&t(7,r=F(f)),i.$$.dirty&2048&&t(6,o=F(m)),i.$$.dirty&512&&t(4,n=F(s))},t(5,a=!1),[l,c,d,p,n,a,o,r,k,s,f,m]}class kt extends G{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family);display:block}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled{opacity:40%}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--color-gray-600);border-radius:2px;background-color:var(--color-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px;flex:0 0 auto}.goa-checkbox-container svg{fill:var(--color-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive--hover)}.goa-checkbox-container:hover{border:1px solid var(--goa-color-interactive--hover)}.goa-checkbox-container:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--fw-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--color-gray-400)}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-status-emergency);box-shadow:inset 0 0 0 1px var(--goa-color-status-emergency);background-color:var(--color-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-status-emergency)}</style>',O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Gr,Ir,I,{name:0,checked:9,text:1,value:2,disabled:10,error:11,testid:3},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","checked","text","value","disabled","error","testid"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get checked(){return this.$$.ctx[9]}set checked(e){this.$$set({checked:e}),g()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),g()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),g()}get disabled(){return this.$$.ctx[10]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[11]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-checkbox",kt);function Et(i){let e;return{c(){e=b("goa-icon"),x(e,"class","leading-icon"),x(e,"size","medium"),x(e,"type",i[0])},m(t,r){_(t,e,r)},p(t,r){r&1&&x(e,"type",t[0])},d(t){t&&C(e)}}}function xt(i){let e,t,r;return{c(){e=b("goa-icon"),x(e,"class","delete-icon"),x(e,"size","medium"),x(e,"theme","filled"),x(e,"type","close-circle"),x(e,"fillcolor",t=i[4]?"var(--goa-color-status-emergency)":i[3]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)"),x(e,"opacity",r=i[4]?i[3]?1:.5:1)},m(o,n){_(o,e,n)},p(o,n){n&24&&t!==(t=o[4]?"var(--goa-color-status-emergency)":o[3]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)")&&x(e,"fillcolor",t),n&24&&r!==(r=o[4]?o[3]?1:.5:1)&&x(e,"opacity",r)},d(o){o&&C(e)}}}function Nr(i){let e,t,r,o,n,a,l,s=i[0]&&Et(i),c=i[5]&&xt(i);return{c(){e=b("div"),s&&s.c(),t=T(),r=b("div"),o=j(i[1]),n=T(),c&&c.c(),this.c=w,u(r,"class","text"),u(e,"data-testid","chip"),u(e,"class","chip"),u(e,"tabindex","0"),D(e,"deletable",i[5]),D(e,"error",i[4])},m(d,f){_(d,e,f),s&&s.m(e,null),h(e,t),h(e,r),h(r,o),h(e,n),c&&c.m(e,null),i[9](e),a||(l=[U(e,"click",i[10]),U(e,"mouseover",i[11]),U(e,"mouseout",i[12]),U(e,"focus",i[13]),U(e,"blur",i[14])],a=!0)},p(d,[f]){d[0]?s?s.p(d,f):(s=Et(d),s.c(),s.m(e,t)):s&&(s.d(1),s=null),f&2&&q(o,d[1]),d[5]?c?c.p(d,f):(c=xt(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&32&&D(e,"deletable",d[5]),f&16&&D(e,"error",d[4])},i:w,o:w,d(d){d&&C(e),s&&s.d(),c&&c.d(),i[9](null),a=!1,$(l)}}}function Or(i,e,t){let{leadingicon:r=null}=e,{error:o="false"}=e,{deletable:n="false"}=e,{content:a}=e,l,s=!1,c,d;function f(z){l.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),z.stopPropagation()}function m(z){ee[z?"unshift":"push"](()=>{l=z,t(2,l)})}const p=z=>d&&f(z),k=()=>t(3,s=!0),v=()=>t(3,s=!1),M=()=>t(3,s=!1),E=()=>t(3,s=!1);return i.$$set=z=>{"leadingicon"in z&&t(0,r=z.leadingicon),"error"in z&&t(7,o=z.error),"deletable"in z&&t(8,n=z.deletable),"content"in z&&t(1,a=z.content)},i.$$.update=()=>{i.$$.dirty&128&&t(4,c=F(o)),i.$$.dirty&256&&t(5,d=F(n))},[r,a,l,s,c,d,f,o,n,m,p,k,v,M,E]}class Ct extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--color-white);border-radius:99px;border:1px solid #949494;box-sizing:border-box;color:var(--goa-color-text);display:inline-flex;flex-direction:row;font-size:var(--chip-font-size);font-weight:var(--fw-regular);gap:0.25rem;height:2rem;justify-content:center;margin:0.25rem;padding:0 0.75rem}.text{padding-bottom:var(--font-valign-fix)}.chip:focus{outline:2px solid var(--goa-color-interactive--focus);background-color:var(--color-white)}.chip:hover{background-color:var(--color-gray-200)}.deletable{cursor:pointer}.delete-icon{margin-right:-0.25rem}.error,.error:hover{background-color:var(--goa-color-status-emergency-light)}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Or,Nr,I,{leadingicon:0,error:7,deletable:8,content:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["leadingicon","error","deletable","content"]}get leadingicon(){return this.$$.ctx[0]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),g()}get deletable(){return this.$$.ctx[8]}set deletable(e){this.$$set({deletable:e}),g()}get content(){return this.$$.ctx[1]}set content(e){this.$$set({content:e}),g()}}customElements.define("goa-chip",Ct);function Pr(i){let e,t,r,o,n,a,l,s,c;return{c(){e=b("div"),t=b("header"),r=b("div"),r.innerHTML='<slot name="title"></slot>',o=T(),n=b("div"),n.innerHTML='<slot name="actions"></slot>',l=T(),s=b("div"),s.innerHTML="<slot></slot>",this.c=w,u(r,"class","title"),u(n,"class","actions"),u(t,"class",a="heading--"+i[1]),u(s,"class","content"),u(e,"class",c=`
|
|
7
7
|
goa-container
|
|
8
8
|
goa-container--${i[0]}
|
|
9
9
|
padding--${i[2]}
|
|
@@ -11,34 +11,34 @@
|
|
|
11
11
|
goa-container
|
|
12
12
|
goa-container--${d[0]}
|
|
13
13
|
padding--${d[2]}
|
|
14
|
-
`)&&u(e,"class",c),f&13&&D(e,"colored",d[3])},i:w,o:w,d(d){d&&C(e)}}}function Pr(i,e,t){let r,{variant:o="default"}=e,{colored:n="false"}=e,{headingsize:a="large"}=e,{padding:l="relaxed"}=e;return i.$$set=s=>{"variant"in s&&t(0,o=s.variant),"colored"in s&&t(4,n=s.colored),"headingsize"in s&&t(1,a=s.headingsize),"padding"in s&&t(2,l=s.padding)},i.$$.update=()=>{i.$$.dirty&16&&t(3,r=F(n))},[o,a,l,r,n]}class Ct extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);font-size:var(--fs-base)}.goa-container{margin-bottom:1rem;box-sizing:border-box}.goa-container *{box-sizing:border-box}header{display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--fs-base);border-width:1px;border-style:solid;border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.content{border-bottom:1px solid var(--color-gray-200);border-left:1px solid var(--color-gray-200);border-right:1px solid var(--color-gray-200);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.goa-container--default.colored .content{border-color:var(--color-gray-200);background-color:var(--color-gray-100)}.goa-container--warning.colored .content{border-color:var(--goa-color-status-warning);background-color:var(--goa-color-status-warning-50)}.goa-container--error.colored .content{border-color:var(--goa-color-status-emergency);background-color:var(--goa-color-status-emergency-50)}.goa-container--success.colored .content{border-color:var(--goa-color-status-success);background-color:var(--goa-color-status-success-50)}.goa-container--info.colored .content{border-color:var(--goa-color-status-info);background-color:var(--goa-color-status-info-50)}.title>*,.actions>*{line-height:3rem}.padding--relaxed header{padding:0 1.5rem}.padding--relaxed .content{padding:1.5rem}.padding--compact header,.padding--compact .content{padding:0 1rem}.padding--compact header{padding:0 1rem}.padding--compact .content{padding:1rem}@media screen and (max-width: 480px){.padding--relaxed header{padding:0 1rem}.padding--relaxed .content{padding:1rem}}.goa-container--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>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Pr,Or,I,{variant:0,colored:4,headingsize:1,padding:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["variant","colored","headingsize","padding"]}get variant(){return this.$$.ctx[0]}set variant(e){this.$$set({variant:e}),g()}get colored(){return this.$$.ctx[4]}set colored(e){this.$$set({colored:e}),g()}get headingsize(){return this.$$.ctx[1]}set headingsize(e){this.$$set({headingsize:e}),g()}get padding(){return this.$$.ctx[2]}set padding(e){this.$$set({padding:e}),g()}}customElements.define("goa-container",Ct);const me=[];function zt(i,e=w){let t;const r=new Set;function o(l){if(I(i,l)&&(i=l,t)){const s=!me.length;for(const c of r)c[1](),me.push(c,i);if(s){for(let c=0;c<me.length;c+=2)me[c][0](me[c+1]);me.length=0}}}function n(l){o(l(i))}function a(l,s=w){const c=[l,s];return r.add(c),r.size===1&&(t=e(o)||w),l(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:o,update:n,subscribe:a}}const xe={};class jr{constructor(){this.store=zt()}subscribe(e){this.store.subscribe(t=>{e(t)})}notify(e){this.store.update(()=>e)}}function Mt(i){const e=new jr;return xe[i]=e,e}async function At(i){return await Lt(i,0)}async function Lt(i,e){if(e>10)throw new Error(`Could not find context ${i}`);return xe[i]?xe[i]:(await ye(),Lt(i,e+1))}function Tt(i){!xe[i]||delete xe[i]}const Rt="bind";function Ht(i,e,t){const r=i.slice();return r[35]=e[t],r[37]=t,r}function St(i){let e,t,r,o;return{c(){e=b("div"),u(e,"data-testid",t=`${i[0]}-dropdown-background`),u(e,"class","goa-dropdown-background")},m(n,a){_(n,e,a),r||(o=U(e,"click",i[17]),r=!0)},p(n,a){a[0]&1&&t!==(t=`${n[0]}-dropdown-background`)&&u(e,"data-testid",t)},d(n){n&&C(e),r=!1,o()}}}function Dt(i,e){let t,r=e[35].label+"",o,n,a,l,s,c,d;function f(){return e[21](e[35])}return{key:i,first:null,c(){t=b("li"),o=j(r),n=T(),u(t,"data-testid",a=`${e[35].value}-dropdown-item`),u(t,"data-index",l=e[37]),u(t,"class","goa-dropdown-option"),u(t,"style",s="display: block"),D(t,"goa-dropdown-option--disabled",!1),D(t,"goa-dropdown-option--tabbed",e[37]===e[12]),D(t,"goa-dropdown-option--selected",e[8].includes(e[35].value)),this.first=t},m(m,v){_(m,t,v),h(t,o),h(t,n),c||(d=U(t,"click",f),c=!0)},p(m,v){e=m,v[0]&512&&r!==(r=e[35].label+"")&&q(o,r),v[0]&512&&a!==(a=`${e[35].value}-dropdown-item`)&&u(t,"data-testid",a),v[0]&512&&l!==(l=e[37])&&u(t,"data-index",l),v[0]&4608&&D(t,"goa-dropdown-option--tabbed",e[37]===e[12]),v[0]&768&&D(t,"goa-dropdown-option--selected",e[8].includes(e[35].value))},d(m){m&&C(t),c=!1,d()}}}function Fr(i){let e,t,r,o,n,a,l,s,c,d,f=[],m=new Map,v,k,p,M,x=i[11]&&St(i),z=i[9];const y=A=>A[35].value;for(let A=0;A<z.length;A+=1){let L=Ht(i,z,A),R=y(L);m.set(R,f[A]=Dt(R,L))}return{c(){e=b("div"),x&&x.c(),t=T(),r=b("div"),o=b("goa-input"),l=T(),s=b("ul"),c=b("slot"),d=T();for(let A=0;A<f.length;A+=1)f[A].c();this.c=w,E(o,"error",i[7]),E(o,"disabled",i[6]),E(o,"leadingicon",i[1]),E(o,"placeholder",i[3]),E(o,"width","100%"),E(o,"id",n=`${i[0]}-dropdown-input`),E(o,"name","search"),E(o,"readonly",""),E(o,"trailingicon","chevron-down"),E(o,"type","text"),E(o,"value",i[10]),u(r,"data-testid",a=`${i[0]}-dropdown`),u(s,"data-testid","dropdown-menu"),u(s,"tabindex","0"),u(s,"class","goa-dropdown-list"),u(s,"style",v=`overflow-y: auto; max-height: ${i[2]}`),D(s,"dropdown-active",i[11]),u(e,"data-testid",i[4]),u(e,"class","goa-dropdown-box"),u(e,"style",k=`--width: ${i[5]||i[13]}`)},m(A,L){_(A,e,L),x&&x.m(e,null),h(e,t),h(e,r),h(r,o),h(e,l),h(e,s),h(s,c),h(s,d);for(let R=0;R<f.length;R+=1)f[R].m(s,null);i[22](s),i[23](e),p||(M=U(o,"click",i[16]),p=!0)},p(A,L){A[11]?x?x.p(A,L):(x=St(A),x.c(),x.m(e,t)):x&&(x.d(1),x=null),L[0]&128&&E(o,"error",A[7]),L[0]&64&&E(o,"disabled",A[6]),L[0]&2&&E(o,"leadingicon",A[1]),L[0]&8&&E(o,"placeholder",A[3]),L[0]&1&&n!==(n=`${A[0]}-dropdown-input`)&&E(o,"id",n),L[0]&1024&&E(o,"value",A[10]),L[0]&1&&a!==(a=`${A[0]}-dropdown`)&&u(r,"data-testid",a),L[0]&267008&&(z=A[9],f=at(f,L,y,1,A,z,m,s,nt,Dt,null,Ht)),L[0]&4&&v!==(v=`overflow-y: auto; max-height: ${A[2]}`)&&u(s,"style",v),L[0]&2048&&D(s,"dropdown-active",A[11]),L[0]&16&&u(e,"data-testid",A[4]),L[0]&8224&&k!==(k=`--width: ${A[5]||A[13]}`)&&u(e,"style",k)},i:w,o:w,d(A){A&&C(e),x&&x.d();for(let L=0;L<f.length;L+=1)f[L].d();i[22](null),i[23](null),p=!1,M()}}}const Vr="300px";function qr(i,e,t){let r,o,{name:n}=e,{value:a=""}=e,{leadingicon:l=null}=e,{maxheight:s=Vr}=e,{placeholder:c=""}=e,{testid:d=""}=e,{width:f=""}=e,{disabled:m="false"}=e,{error:v="false"}=e,{multiselect:k="false"}=e,p=[],M=[],x="",z=!1,y=0,A=0,L,R,P,K;Q(async()=>{R.addEventListener("focus",Vi,!0),R.addEventListener("blur",qi,!0);let H;try{H=JSON.parse(a||"[]")}catch{H=[a]}t(8,p=(typeof H=="object"?H:[H]).map(Ee=>`${Ee}`)),Y()}),$e(()=>{R.removeEventListener("focus",Vi,!0),R.removeEventListener("blur",qi,!0),Tt(n)});function Y(){K=Mt(n),K.subscribe(H=>{switch(H==null?void 0:H.type){case Rt:{const le=H,Ee=p.includes(le.value);t(9,M=[...M,Object.assign(Object.assign({},le),{selected:Ee})]),Ee&&t(10,x=le.label),!f&&A<le.label.length&&(A=le.label.length,t(13,L=`${Math.max(20,A+12)}ch`)),S();break}}})}async function J(){r||z||(t(11,z=!0),await ye(),P.addEventListener("blur",X),P.focus(),P.addEventListener("keydown",Wi),P.addEventListener("mouseover",Ui))}function X(){P.removeEventListener("blur",X),P.removeEventListener("keydown",Wi),P.removeEventListener("mouseover",Ui),S(),t(11,z=!1)}function S(){t(12,y=M.findIndex(H=>p.includes(H.value)))}function We(H,le){r||(t(10,x=le),o?(p.push(H),R.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:n,values:p}}))):(t(8,p=[H]),R.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:n,value:p[0]}}))),X())}const Fi=H=>{switch(H.key){case" ":J(),H.preventDefault();break}};function Vi(){R.addEventListener("keydown",Fi)}function qi(){R.removeEventListener("keydown",Fi)}function Wi(H){switch(H.key){case"ArrowUp":y===0?t(12,y=M.length-1):t(12,y--,y),H.preventDefault();break;case"ArrowDown":t(12,y=(y+1)%M.length),H.preventDefault();break;case"Tab":case"Enter":We(M[y].value,M[y].label),H.preventDefault();break;case"Escape":X(),H.preventDefault();break}}function Ui(H){t(12,y=Number(H.target.dataset.index))}const un=H=>We(H.value,H.label);function fn(H){ee[H?"unshift":"push"](()=>{P=H,t(15,P)})}function gn(H){ee[H?"unshift":"push"](()=>{R=H,t(14,R)})}return i.$$set=H=>{"name"in H&&t(0,n=H.name),"value"in H&&t(19,a=H.value),"leadingicon"in H&&t(1,l=H.leadingicon),"maxheight"in H&&t(2,s=H.maxheight),"placeholder"in H&&t(3,c=H.placeholder),"testid"in H&&t(4,d=H.testid),"width"in H&&t(5,f=H.width),"disabled"in H&&t(6,m=H.disabled),"error"in H&&t(7,v=H.error),"multiselect"in H&&t(20,k=H.multiselect)},i.$$.update=()=>{i.$$.dirty[0]&64&&(r=F(m)),i.$$.dirty[0]&1048576&&(o=F(k))},[n,l,s,c,d,f,m,v,p,M,x,z,y,L,R,P,J,X,We,a,k,un,fn,gn]}class Bt extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-dropdown-box{position:relative;cursor:pointer;display:inline-block;width:100%}@media(min-width: 640px){.goa-dropdown-box{width:var(--width)}}.goa-dropdown-background{cursor:default;position:fixed;z-index:98;inset:0}.goa-dropdown-list{position:absolute;left:0;right:0;padding:0;margin:0;margin-top:3px;list-style-type:none;background:var(--color-white);border-radius:var(--input-border-radius);outline:none;box-shadow:var(--shadow-1);z-index:99;scroll-behavior:smooth;scrollbar-width:thin;display:none}.dropdown-active{display:block}.goa-dropdown-list::-webkit-scrollbar{width:6px}.goa-dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.goa-dropdown-list::-webkit-scrollbar-thumb{background:#888}.goa-dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}.goa-dropdown-option{margin:0;padding:0.5rem;cursor:pointer;color:var(--color-black);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.goa-dropdown-option--tabbed{background:var(--color-gray-100);color:var(--goa-color-interactive--hover)}.goa-dropdown-option--disabled{opacity:0.5;cursor:default}.goa-dropdown-option--disabled:hover{cursor:default;color:var(--color-gray-600)}.goa-dropdown-option--selected{background:var(--goa-color-interactive);color:var(--color-white)}.goa-dropdown-option--tabbed.goa-dropdown-option--selected,.goa-dropdown-option--selected:hover{background:var(--goa-color-interactive--hover);color:var(--color-white)}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},qr,Fr,I,{name:0,value:19,leadingicon:1,maxheight:2,placeholder:3,testid:4,width:5,disabled:6,error:7,multiselect:20},null,[-1,-1]),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","leadingicon","maxheight","placeholder","testid","width","disabled","error","multiselect"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[19]}set value(e){this.$$set({value:e}),g()}get leadingicon(){return this.$$.ctx[1]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get maxheight(){return this.$$.ctx[2]}set maxheight(e){this.$$set({maxheight:e}),g()}get placeholder(){return this.$$.ctx[3]}set placeholder(e){this.$$set({placeholder:e}),g()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),g()}get width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),g()}get disabled(){return this.$$.ctx[6]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),g()}get multiselect(){return this.$$.ctx[20]}set multiselect(e){this.$$set({multiselect:e}),g()}}customElements.define("goa-dropdown",Bt);function Wr(i){return{c(){this.c=w},m:w,p:w,i:w,o:w,d:w}}function Ur(i,e,t){let{name:r=""}=e,{value:o=""}=e,{label:n=""}=e,a;return Q(async()=>{a=await At(r),a.notify({type:Rt,name:r,label:n,value:o})}),i.$$set=l=>{"name"in l&&t(0,r=l.name),"value"in l&&t(1,o=l.value),"label"in l&&t(2,n=l.label)},[r,o,n]}class It extends G{constructor(e){super();O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Ur,Wr,I,{name:0,value:1,label:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","label"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),g()}get label(){return this.$$.ctx[2]}set label(e){this.$$set({label:e}),g()}}customElements.define("goa-dropdown-item",It);function Zr(i){let e,t;return{c(){e=b("div"),t=b("slot"),this.c=w,u(e,"class","goa-flex-row"),V(e,"gap",i[0])},m(r,o){_(r,e,o),h(e,t)},p(r,[o]){o&1&&V(e,"gap",r[0])},i:w,o:w,d(r){r&&C(e)}}}function Kr(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 Gt extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-flex-row{display:flex;flex-direction:column;gap:var(--gap)}@media(min-width: 640px){.goa-flex-row{display:grid;grid-template-columns:repeat(auto-fit, minmax(100px, 1fr));gap:var(--gap);margin-bottom:1rem}}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Kr,Zr,I,{gap:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["gap"]}get gap(){return this.$$.ctx[1]}set gap(e){this.$$set({gap:e}),g()}}customElements.define("goa-flex-row",Gt);function Nt(i){let e,t,r,o=i[3]&&Ot();return{c(){e=b("label"),t=j(i[0]),r=T(),o&&o.c(),u(e,"for","")},m(n,a){_(n,e,a),h(e,t),h(e,r),o&&o.m(e,null)},p(n,a){a&1&&q(t,n[0]),n[3]?o||(o=Ot(),o.c(),o.m(e,null)):o&&(o.d(1),o=null)},d(n){n&&C(e),o&&o.d()}}}function Ot(i){let e;return{c(){e=b("em"),e.textContent="(optional)"},m(t,r){_(t,e,r)},d(t){t&&C(e)}}}function Pt(i){let e,t;return{c(){e=b("div"),t=j(i[2]),u(e,"class","error-msg")},m(r,o){_(r,e,o),h(e,t)},p(r,o){o&4&&q(t,r[2])},d(r){r&&C(e)}}}function jt(i){let e,t;return{c(){e=b("div"),t=j(i[1]),u(e,"class","help-msg")},m(r,o){_(r,e,o),h(e,t)},p(r,o){o&2&&q(t,r[1])},d(r){r&&C(e)}}}function Yr(i){let e,t,r,o,n,a=i[0]&&Nt(i),l=i[2]&&Pt(i),s=i[1]&&jt(i);return{c(){e=b("div"),a&&a.c(),t=T(),r=b("div"),r.innerHTML="<slot></slot>",o=T(),l&&l.c(),n=T(),s&&s.c(),this.c=w,u(r,"class","form-item-input"),u(e,"class","goa-form-item")},m(c,d){_(c,e,d),a&&a.m(e,null),h(e,t),h(e,r),h(e,o),l&&l.m(e,null),h(e,n),s&&s.m(e,null)},p(c,[d]){c[0]?a?a.p(c,d):(a=Nt(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[2]?l?l.p(c,d):(l=Pt(c),l.c(),l.m(e,n)):l&&(l.d(1),l=null),c[1]?s?s.p(c,d):(s=jt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:w,o:w,d(c){c&&C(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function Xr(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=F(l))},[o,n,a,r,l]}class Ft extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}label{display:block;font-weight:var(--fw-bold);color:var(--goa-color-text);font-size:var(--fs-base);padding:0.5rem 0;overflow-x:hidden;white-space:nowrap;text-overflow:ellipsis}label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);line-height:var(--lh-sm);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--fs-sm);color:var(--goa-color-text)}.error-msg{font-size:var(--fs-sm);color:var(--goa-color-interactive--error);margin-bottom:0.25rem}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Xr,Yr,I,{label:0,helptext:1,error:2,optional:4},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["label","helptext","error","optional"]}get label(){return this.$$.ctx[0]}set label(e){this.$$set({label:e}),g()}get helptext(){return this.$$.ctx[1]}set helptext(e){this.$$set({helptext:e}),g()}get error(){return this.$$.ctx[2]}set error(e){this.$$set({error:e}),g()}get optional(){return this.$$.ctx[4]}set optional(e){this.$$set({optional:e}),g()}}customElements.define("goa-form-item",Ft);function Jr(i){let e,t,r,o,n,a,l,s;return{c(){e=b("div"),t=b("goa-page-block"),r=b("h1"),o=j(i[0]),n=T(),a=b("div"),a.innerHTML="<slot></slot>",l=T(),s=b("slot"),this.c=w,u(a,"class","goa-hero-banner-content"),u(a,"role","note"),u(s,"name","actions"),E(t,"width","full"),u(e,"class","goa-hero"),u(e,"data-testid","background"),V(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]+")"),V(e,"background-size","cover"),V(e,"background-position","center"),V(e,"background-repeat","no-repeat")},m(c,d){_(c,e,d),h(e,t),h(t,r),h(r,o),h(t,n),h(t,a),h(t,l),h(t,s)},p(c,[d]){d&1&&q(o,c[0]),d&2&&V(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:w,o:w,d(c){c&&C(e)}}}function Qr(i,e,t){let{heading:r}=e,{backgroundurl:o}=e;return i.$$set=n=>{"heading"in n&&t(0,r=n.heading),"backgroundurl"in n&&t(1,o=n.backgroundurl)},[r,o]}class Vt extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;min-height:600px;border-bottom:8px solid var(--goa-color-brand);color:var(--color-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--color-white);font-size:var(--fs-3xl);line-height:var(--lh-2xl);font-weight:var(--fw-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Qr,Jr,I,{heading:0,backgroundurl:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","backgroundurl"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),g()}}customElements.define("goa-hero-banner",Vt);function qt(i){let e,t;return{c(){e=b("ion-icon"),E(e,"name",t=i[1]==="filled"||i[0].indexOf("logo")===0?i[0]:`${i[0]}-${i[1]}`)},m(r,o){_(r,e,o)},p(r,o){o&3&&t!==(t=r[1]==="filled"||r[0].indexOf("logo")===0?r[0]:`${r[0]}-${r[1]}`)&&E(e,"name",t)},d(r){r&&C(e)}}}function $r(i){let e,t,r,o=i[0]&&qt(i);return{c(){e=b("div"),o&&o.c(),this.c=w,u(e,"class","goa-icon"),u(e,"data-testid",t=`icon-${i[0]}`),u(e,"title",i[5]),u(e,"style",r=`
|
|
14
|
+
`)&&u(e,"class",c),f&13&&D(e,"colored",d[3])},i:w,o:w,d(d){d&&C(e)}}}function jr(i,e,t){let r,{variant:o="default"}=e,{colored:n="false"}=e,{headingsize:a="large"}=e,{padding:l="relaxed"}=e;return i.$$set=s=>{"variant"in s&&t(0,o=s.variant),"colored"in s&&t(4,n=s.colored),"headingsize"in s&&t(1,a=s.headingsize),"padding"in s&&t(2,l=s.padding)},i.$$.update=()=>{i.$$.dirty&16&&t(3,r=F(n))},[o,a,l,r,n]}class zt extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);font-size:var(--fs-base)}.goa-container{margin-bottom:1rem;box-sizing:border-box}.goa-container *{box-sizing:border-box}header{display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--fs-base);border-width:1px;border-style:solid;border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.content{border-bottom:1px solid var(--color-gray-200);border-left:1px solid var(--color-gray-200);border-right:1px solid var(--color-gray-200);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.goa-container--default.colored .content{border-color:var(--color-gray-200);background-color:var(--color-gray-100)}.goa-container--warning.colored .content{border-color:var(--goa-color-status-warning);background-color:var(--goa-color-status-warning-50)}.goa-container--error.colored .content{border-color:var(--goa-color-status-emergency);background-color:var(--goa-color-status-emergency-50)}.goa-container--success.colored .content{border-color:var(--goa-color-status-success);background-color:var(--goa-color-status-success-50)}.goa-container--info.colored .content{border-color:var(--goa-color-status-info);background-color:var(--goa-color-status-info-50)}.title>*,.actions>*{line-height:3rem}.padding--relaxed header{padding:0 1.5rem}.padding--relaxed .content{padding:1.5rem}.padding--compact header,.padding--compact .content{padding:0 1rem}.padding--compact header{padding:0 1rem}.padding--compact .content{padding:1rem}@media screen and (max-width: 480px){.padding--relaxed header{padding:0 1rem}.padding--relaxed .content{padding:1rem}}.goa-container--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>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},jr,Pr,I,{variant:0,colored:4,headingsize:1,padding:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["variant","colored","headingsize","padding"]}get variant(){return this.$$.ctx[0]}set variant(e){this.$$set({variant:e}),g()}get colored(){return this.$$.ctx[4]}set colored(e){this.$$set({colored:e}),g()}get headingsize(){return this.$$.ctx[1]}set headingsize(e){this.$$set({headingsize:e}),g()}get padding(){return this.$$.ctx[2]}set padding(e){this.$$set({padding:e}),g()}}customElements.define("goa-container",zt);const me=[];function Mt(i,e=w){let t;const r=new Set;function o(l){if(I(i,l)&&(i=l,t)){const s=!me.length;for(const c of r)c[1](),me.push(c,i);if(s){for(let c=0;c<me.length;c+=2)me[c][0](me[c+1]);me.length=0}}}function n(l){o(l(i))}function a(l,s=w){const c=[l,s];return r.add(c),r.size===1&&(t=e(o)||w),l(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:o,update:n,subscribe:a}}const Ee={};class Fr{constructor(){this.store=Mt()}subscribe(e){this.store.subscribe(t=>{e(t)})}notify(e){this.store.update(()=>e)}}function At(i){const e=new Fr;return Ee[i]=e,e}async function Lt(i){return await Tt(i,0)}async function Tt(i,e){if(e>10)throw new Error(`Could not find context ${i}`);return Ee[i]?Ee[i]:(await ye(),Tt(i,e+1))}function Rt(i){!Ee[i]||delete Ee[i]}const Ht="bind";function St(i,e,t){const r=i.slice();return r[35]=e[t],r[37]=t,r}function Dt(i){let e,t,r,o;return{c(){e=b("div"),u(e,"data-testid",t=`${i[0]}-dropdown-background`),u(e,"class","goa-dropdown-background")},m(n,a){_(n,e,a),r||(o=U(e,"click",i[17]),r=!0)},p(n,a){a[0]&1&&t!==(t=`${n[0]}-dropdown-background`)&&u(e,"data-testid",t)},d(n){n&&C(e),r=!1,o()}}}function Bt(i,e){let t,r=e[35].label+"",o,n,a,l,s,c,d;function f(){return e[21](e[35])}return{key:i,first:null,c(){t=b("li"),o=j(r),n=T(),u(t,"data-testid",a=`${e[35].value}-dropdown-item`),u(t,"data-index",l=e[37]),u(t,"class","goa-dropdown-option"),u(t,"style",s="display: block"),D(t,"goa-dropdown-option--disabled",!1),D(t,"goa-dropdown-option--tabbed",e[37]===e[12]),D(t,"goa-dropdown-option--selected",e[8].includes(e[35].value)),this.first=t},m(m,p){_(m,t,p),h(t,o),h(t,n),c||(d=U(t,"click",f),c=!0)},p(m,p){e=m,p[0]&512&&r!==(r=e[35].label+"")&&q(o,r),p[0]&512&&a!==(a=`${e[35].value}-dropdown-item`)&&u(t,"data-testid",a),p[0]&512&&l!==(l=e[37])&&u(t,"data-index",l),p[0]&4608&&D(t,"goa-dropdown-option--tabbed",e[37]===e[12]),p[0]&768&&D(t,"goa-dropdown-option--selected",e[8].includes(e[35].value))},d(m){m&&C(t),c=!1,d()}}}function Vr(i){let e,t,r,o,n,a,l,s,c,d,f=[],m=new Map,p,k,v,M,E=i[11]&&Dt(i),z=i[9];const y=A=>A[35].value;for(let A=0;A<z.length;A+=1){let L=St(i,z,A),R=y(L);m.set(R,f[A]=Bt(R,L))}return{c(){e=b("div"),E&&E.c(),t=T(),r=b("div"),o=b("goa-input"),l=T(),s=b("ul"),c=b("slot"),d=T();for(let A=0;A<f.length;A+=1)f[A].c();this.c=w,x(o,"error",i[7]),x(o,"disabled",i[6]),x(o,"leadingicon",i[1]),x(o,"placeholder",i[3]),x(o,"width","100%"),x(o,"id",n=`${i[0]}-dropdown-input`),x(o,"name","search"),x(o,"readonly",""),x(o,"trailingicon","chevron-down"),x(o,"type","text"),x(o,"value",i[10]),u(r,"data-testid",a=`${i[0]}-dropdown`),u(s,"data-testid","dropdown-menu"),u(s,"tabindex","0"),u(s,"class","goa-dropdown-list"),u(s,"style",p=`overflow-y: auto; max-height: ${i[2]}`),D(s,"dropdown-active",i[11]),u(e,"data-testid",i[4]),u(e,"class","goa-dropdown-box"),u(e,"style",k=`--width: ${i[5]||i[13]}`)},m(A,L){_(A,e,L),E&&E.m(e,null),h(e,t),h(e,r),h(r,o),h(e,l),h(e,s),h(s,c),h(s,d);for(let R=0;R<f.length;R+=1)f[R].m(s,null);i[22](s),i[23](e),v||(M=U(o,"click",i[16]),v=!0)},p(A,L){A[11]?E?E.p(A,L):(E=Dt(A),E.c(),E.m(e,t)):E&&(E.d(1),E=null),L[0]&128&&x(o,"error",A[7]),L[0]&64&&x(o,"disabled",A[6]),L[0]&2&&x(o,"leadingicon",A[1]),L[0]&8&&x(o,"placeholder",A[3]),L[0]&1&&n!==(n=`${A[0]}-dropdown-input`)&&x(o,"id",n),L[0]&1024&&x(o,"value",A[10]),L[0]&1&&a!==(a=`${A[0]}-dropdown`)&&u(r,"data-testid",a),L[0]&267008&&(z=A[9],f=at(f,L,y,1,A,z,m,s,nt,Bt,null,St)),L[0]&4&&p!==(p=`overflow-y: auto; max-height: ${A[2]}`)&&u(s,"style",p),L[0]&2048&&D(s,"dropdown-active",A[11]),L[0]&16&&u(e,"data-testid",A[4]),L[0]&8224&&k!==(k=`--width: ${A[5]||A[13]}`)&&u(e,"style",k)},i:w,o:w,d(A){A&&C(e),E&&E.d();for(let L=0;L<f.length;L+=1)f[L].d();i[22](null),i[23](null),v=!1,M()}}}const qr="300px";function Wr(i,e,t){let r,o,{name:n}=e,{value:a=""}=e,{leadingicon:l=null}=e,{maxheight:s=qr}=e,{placeholder:c=""}=e,{testid:d=""}=e,{width:f=""}=e,{disabled:m="false"}=e,{error:p="false"}=e,{multiselect:k="false"}=e,v=[],M=[],E="",z=!1,y=0,A=0,L,R,P,K;Q(async()=>{R.addEventListener("focus",qi,!0),R.addEventListener("blur",Wi,!0);let H;try{H=JSON.parse(a||"[]")}catch{H=[a]}t(8,v=(typeof H=="object"?H:[H]).map(xe=>`${xe}`)),Y()}),$e(()=>{R.removeEventListener("focus",qi,!0),R.removeEventListener("blur",Wi,!0),Rt(n)});function Y(){K=At(n),K.subscribe(H=>{switch(H==null?void 0:H.type){case Ht:{const le=H,xe=v.includes(le.value);t(9,M=[...M,Object.assign(Object.assign({},le),{selected:xe})]),xe&&t(10,E=le.label),!f&&A<le.label.length&&(A=le.label.length,t(13,L=`${Math.max(20,A+12)}ch`)),S();break}}})}async function J(){r||z||(t(11,z=!0),await ye(),P.addEventListener("blur",X),P.focus(),P.addEventListener("keydown",Ui),P.addEventListener("mouseover",Zi))}function X(){P.removeEventListener("blur",X),P.removeEventListener("keydown",Ui),P.removeEventListener("mouseover",Zi),S(),t(11,z=!1)}function S(){t(12,y=M.findIndex(H=>v.includes(H.value)))}function We(H,le){r||(t(10,E=le),o?(v.push(H),R.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:n,values:v}}))):(t(8,v=[H]),R.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:n,value:v[0]}}))),X())}const Vi=H=>{switch(H.key){case" ":J(),H.preventDefault();break}};function qi(){R.addEventListener("keydown",Vi)}function Wi(){R.removeEventListener("keydown",Vi)}function Ui(H){switch(H.key){case"ArrowUp":y===0?t(12,y=M.length-1):t(12,y--,y),H.preventDefault();break;case"ArrowDown":t(12,y=(y+1)%M.length),H.preventDefault();break;case"Tab":case"Enter":We(M[y].value,M[y].label),H.preventDefault();break;case"Escape":X(),H.preventDefault();break}}function Zi(H){t(12,y=Number(H.target.dataset.index))}const fn=H=>We(H.value,H.label);function gn(H){ee[H?"unshift":"push"](()=>{P=H,t(15,P)})}function hn(H){ee[H?"unshift":"push"](()=>{R=H,t(14,R)})}return i.$$set=H=>{"name"in H&&t(0,n=H.name),"value"in H&&t(19,a=H.value),"leadingicon"in H&&t(1,l=H.leadingicon),"maxheight"in H&&t(2,s=H.maxheight),"placeholder"in H&&t(3,c=H.placeholder),"testid"in H&&t(4,d=H.testid),"width"in H&&t(5,f=H.width),"disabled"in H&&t(6,m=H.disabled),"error"in H&&t(7,p=H.error),"multiselect"in H&&t(20,k=H.multiselect)},i.$$.update=()=>{i.$$.dirty[0]&64&&(r=F(m)),i.$$.dirty[0]&1048576&&(o=F(k))},[n,l,s,c,d,f,m,p,v,M,E,z,y,L,R,P,J,X,We,a,k,fn,gn,hn]}class It extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-dropdown-box{position:relative;cursor:pointer;display:inline-block;width:100%}@media(min-width: 640px){.goa-dropdown-box{width:var(--width)}}.goa-dropdown-background{cursor:default;position:fixed;z-index:98;inset:0}.goa-dropdown-list{position:absolute;left:0;right:0;padding:0;margin:0;margin-top:3px;list-style-type:none;background:var(--color-white);border-radius:var(--input-border-radius);outline:none;box-shadow:var(--shadow-1);z-index:99;scroll-behavior:smooth;scrollbar-width:thin;display:none}.dropdown-active{display:block}.goa-dropdown-list::-webkit-scrollbar{width:6px}.goa-dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.goa-dropdown-list::-webkit-scrollbar-thumb{background:#888}.goa-dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}.goa-dropdown-option{margin:0;padding:0.5rem;cursor:pointer;color:var(--color-black);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.goa-dropdown-option--tabbed{background:var(--color-gray-100);color:var(--goa-color-interactive--hover)}.goa-dropdown-option--disabled{opacity:0.5;cursor:default}.goa-dropdown-option--disabled:hover{cursor:default;color:var(--color-gray-600)}.goa-dropdown-option--selected{background:var(--goa-color-interactive);color:var(--color-white)}.goa-dropdown-option--tabbed.goa-dropdown-option--selected,.goa-dropdown-option--selected:hover{background:var(--goa-color-interactive--hover);color:var(--color-white)}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Wr,Vr,I,{name:0,value:19,leadingicon:1,maxheight:2,placeholder:3,testid:4,width:5,disabled:6,error:7,multiselect:20},null,[-1,-1]),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","leadingicon","maxheight","placeholder","testid","width","disabled","error","multiselect"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[19]}set value(e){this.$$set({value:e}),g()}get leadingicon(){return this.$$.ctx[1]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get maxheight(){return this.$$.ctx[2]}set maxheight(e){this.$$set({maxheight:e}),g()}get placeholder(){return this.$$.ctx[3]}set placeholder(e){this.$$set({placeholder:e}),g()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),g()}get width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),g()}get disabled(){return this.$$.ctx[6]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),g()}get multiselect(){return this.$$.ctx[20]}set multiselect(e){this.$$set({multiselect:e}),g()}}customElements.define("goa-dropdown",It);function Ur(i){return{c(){this.c=w},m:w,p:w,i:w,o:w,d:w}}function Zr(i,e,t){let{name:r=""}=e,{value:o=""}=e,{label:n=""}=e,a;return Q(async()=>{a=await Lt(r),a.notify({type:Ht,name:r,label:n,value:o})}),i.$$set=l=>{"name"in l&&t(0,r=l.name),"value"in l&&t(1,o=l.value),"label"in l&&t(2,n=l.label)},[r,o,n]}class Gt extends G{constructor(e){super();O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Zr,Ur,I,{name:0,value:1,label:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","label"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),g()}get label(){return this.$$.ctx[2]}set label(e){this.$$set({label:e}),g()}}customElements.define("goa-dropdown-item",Gt);function Kr(i){let e,t;return{c(){e=b("div"),t=b("slot"),this.c=w,u(e,"class","goa-flex-row"),V(e,"gap",i[0])},m(r,o){_(r,e,o),h(e,t)},p(r,[o]){o&1&&V(e,"gap",r[0])},i:w,o:w,d(r){r&&C(e)}}}function Yr(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 Nt extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-flex-row{display:flex;flex-direction:column;gap:var(--gap)}@media(min-width: 640px){.goa-flex-row{display:grid;grid-template-columns:repeat(auto-fit, minmax(100px, 1fr));gap:var(--gap);margin-bottom:1rem}}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Yr,Kr,I,{gap:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["gap"]}get gap(){return this.$$.ctx[1]}set gap(e){this.$$set({gap:e}),g()}}customElements.define("goa-flex-row",Nt);function Ot(i){let e,t,r,o=i[3]&&Pt();return{c(){e=b("label"),t=j(i[0]),r=T(),o&&o.c(),u(e,"for","")},m(n,a){_(n,e,a),h(e,t),h(e,r),o&&o.m(e,null)},p(n,a){a&1&&q(t,n[0]),n[3]?o||(o=Pt(),o.c(),o.m(e,null)):o&&(o.d(1),o=null)},d(n){n&&C(e),o&&o.d()}}}function Pt(i){let e;return{c(){e=b("em"),e.textContent="(optional)"},m(t,r){_(t,e,r)},d(t){t&&C(e)}}}function jt(i){let e,t;return{c(){e=b("div"),t=j(i[2]),u(e,"class","error-msg")},m(r,o){_(r,e,o),h(e,t)},p(r,o){o&4&&q(t,r[2])},d(r){r&&C(e)}}}function Ft(i){let e,t;return{c(){e=b("div"),t=j(i[1]),u(e,"class","help-msg")},m(r,o){_(r,e,o),h(e,t)},p(r,o){o&2&&q(t,r[1])},d(r){r&&C(e)}}}function Xr(i){let e,t,r,o,n,a=i[0]&&Ot(i),l=i[2]&&jt(i),s=i[1]&&Ft(i);return{c(){e=b("div"),a&&a.c(),t=T(),r=b("div"),r.innerHTML="<slot></slot>",o=T(),l&&l.c(),n=T(),s&&s.c(),this.c=w,u(r,"class","form-item-input"),u(e,"class","goa-form-item")},m(c,d){_(c,e,d),a&&a.m(e,null),h(e,t),h(e,r),h(e,o),l&&l.m(e,null),h(e,n),s&&s.m(e,null)},p(c,[d]){c[0]?a?a.p(c,d):(a=Ot(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[2]?l?l.p(c,d):(l=jt(c),l.c(),l.m(e,n)):l&&(l.d(1),l=null),c[1]?s?s.p(c,d):(s=Ft(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:w,o:w,d(c){c&&C(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function Jr(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=F(l))},[o,n,a,r,l]}class Vt extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}label{display:block;font-weight:var(--fw-bold);color:var(--goa-color-text);font-size:var(--fs-base);padding:0.5rem 0;overflow-x:hidden;white-space:nowrap;text-overflow:ellipsis}label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);line-height:var(--lh-sm);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--fs-sm);color:var(--goa-color-text)}.error-msg{font-size:var(--fs-sm);color:var(--goa-color-interactive--error);margin-bottom:0.25rem}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Jr,Xr,I,{label:0,helptext:1,error:2,optional:4},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["label","helptext","error","optional"]}get label(){return this.$$.ctx[0]}set label(e){this.$$set({label:e}),g()}get helptext(){return this.$$.ctx[1]}set helptext(e){this.$$set({helptext:e}),g()}get error(){return this.$$.ctx[2]}set error(e){this.$$set({error:e}),g()}get optional(){return this.$$.ctx[4]}set optional(e){this.$$set({optional:e}),g()}}customElements.define("goa-form-item",Vt);function Qr(i){let e,t,r,o,n,a,l,s;return{c(){e=b("div"),t=b("goa-page-block"),r=b("h1"),o=j(i[0]),n=T(),a=b("div"),a.innerHTML="<slot></slot>",l=T(),s=b("slot"),this.c=w,u(a,"class","goa-hero-banner-content"),u(a,"role","note"),u(s,"name","actions"),x(t,"width","full"),u(e,"class","goa-hero"),u(e,"data-testid","background"),V(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]+")"),V(e,"background-size","cover"),V(e,"background-position","center"),V(e,"background-repeat","no-repeat")},m(c,d){_(c,e,d),h(e,t),h(t,r),h(r,o),h(t,n),h(t,a),h(t,l),h(t,s)},p(c,[d]){d&1&&q(o,c[0]),d&2&&V(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:w,o:w,d(c){c&&C(e)}}}function $r(i,e,t){let{heading:r}=e,{backgroundurl:o}=e;return i.$$set=n=>{"heading"in n&&t(0,r=n.heading),"backgroundurl"in n&&t(1,o=n.backgroundurl)},[r,o]}class qt extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;min-height:600px;border-bottom:8px solid var(--goa-color-brand);color:var(--color-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--color-white);font-size:var(--fs-3xl);line-height:var(--lh-2xl);font-weight:var(--fw-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},$r,Qr,I,{heading:0,backgroundurl:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","backgroundurl"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),g()}}customElements.define("goa-hero-banner",qt);function Wt(i){let e,t;return{c(){e=b("ion-icon"),x(e,"name",t=i[1]==="filled"||i[0].indexOf("logo")===0?i[0]:`${i[0]}-${i[1]}`)},m(r,o){_(r,e,o)},p(r,o){o&3&&t!==(t=r[1]==="filled"||r[0].indexOf("logo")===0?r[0]:`${r[0]}-${r[1]}`)&&x(e,"name",t)},d(r){r&&C(e)}}}function eo(i){let e,t,r,o=i[0]&&Wt(i);return{c(){e=b("div"),o&&o.c(),this.c=w,u(e,"class","goa-icon"),u(e,"data-testid",t=`icon-${i[0]}`),u(e,"title",i[5]),u(e,"style",r=`
|
|
15
15
|
--size: ${i[6]};
|
|
16
16
|
--fill-color: ${i[2]};
|
|
17
17
|
--hover-color: ${i[3]};
|
|
18
18
|
--opacity: ${i[4]};
|
|
19
|
-
`),D(e,"inverted",i[7])},m(n,a){_(n,e,a),o&&o.m(e,null)},p(n,[a]){n[0]?o?o.p(n,a):(o=
|
|
19
|
+
`),D(e,"inverted",i[7])},m(n,a){_(n,e,a),o&&o.m(e,null)},p(n,[a]){n[0]?o?o.p(n,a):(o=Wt(n),o.c(),o.m(e,null)):o&&(o.d(1),o=null),a&1&&t!==(t=`icon-${n[0]}`)&&u(e,"data-testid",t),a&32&&u(e,"title",n[5]),a&92&&r!==(r=`
|
|
20
20
|
--size: ${n[6]};
|
|
21
21
|
--fill-color: ${n[2]};
|
|
22
22
|
--hover-color: ${n[3]};
|
|
23
23
|
--opacity: ${n[4]};
|
|
24
|
-
`)&&u(e,"style",r),a&128&&D(e,"inverted",n[7])},i:w,o:w,d(n){n&&C(e),o&&o.d()}}}function
|
|
24
|
+
`)&&u(e,"style",r),a&128&&D(e,"inverted",n[7])},i:w,o:w,d(n){n&&C(e),o&&o.d()}}}function to(i,e,t){let r,o,{type:n}=e,{size:a="medium"}=e,{theme:l="outline"}=e,{inverted:s="false"}=e,{fillcolor:c=""}=e,{hovercolor:d=""}=e,{opacity:f=1}=e,{title:m=""}=e;return i.$$set=p=>{"type"in p&&t(0,n=p.type),"size"in p&&t(8,a=p.size),"theme"in p&&t(1,l=p.theme),"inverted"in p&&t(9,s=p.inverted),"fillcolor"in p&&t(2,c=p.fillcolor),"hovercolor"in p&&t(3,d=p.hovercolor),"opacity"in p&&t(4,f=p.opacity),"title"in p&&t(5,m=p.title)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=F(s)),i.$$.dirty&256&&t(6,o={small:"1.25rem",medium:"1.5rem",large:"2rem"}[a])},[n,l,c,d,f,m,o,r,a,s]}class Ut extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:inline-flex;align-items:center}ion-icon{pointer-events:none;width:100%;height:100%}.goa-icon{width:var(--size);height:var(--size);fill:var(--fill-color);color:var(--fill-color);opacity:var(--opacity);display:inline-flex;align-items:center;justify-content:center}.goa-icon:hover ion-icon{fill:var(--hover-color);color:var(--hover-color)}.inverted{color:#fff;fill:#fff}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},to,eo,I,{type:0,size:8,theme:1,inverted:9,fillcolor:2,hovercolor:3,opacity:4,title:5},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","size","theme","inverted","fillcolor","hovercolor","opacity","title"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get size(){return this.$$.ctx[8]}set size(e){this.$$set({size:e}),g()}get theme(){return this.$$.ctx[1]}set theme(e){this.$$set({theme:e}),g()}get inverted(){return this.$$.ctx[9]}set inverted(e){this.$$set({inverted:e}),g()}get fillcolor(){return this.$$.ctx[2]}set fillcolor(e){this.$$set({fillcolor:e}),g()}get hovercolor(){return this.$$.ctx[3]}set hovercolor(e){this.$$set({hovercolor:e}),g()}get opacity(){return this.$$.ctx[4]}set opacity(e){this.$$set({opacity:e}),g()}get title(){return this.$$.ctx[5]}set title(e){this.$$set({title:e}),g()}}customElements.define("goa-icon",Ut);function io(i){let e,t,r,o;return{c(){e=b("button"),t=b("goa-icon"),this.c=w,x(t,"title",i[3]),x(t,"type",i[0]),x(t,"size",i[1]),x(t,"theme",i[2]),x(t,"inverted",i[5]),V(e,"--size",i[6]),u(e,"title",i[3]),e.disabled=i[7],u(e,"class",i[8]),u(e,"data-testid",i[4])},m(n,a){_(n,e,a),h(e,t),r||(o=U(e,"click",ro),r=!0)},p(n,[a]){a&8&&x(t,"title",n[3]),a&1&&x(t,"type",n[0]),a&2&&x(t,"size",n[1]),a&4&&x(t,"theme",n[2]),a&32&&x(t,"inverted",n[5]),a&64&&V(e,"--size",n[6]),a&8&&u(e,"title",n[3]),a&128&&(e.disabled=n[7]),a&256&&u(e,"class",n[8]),a&16&&u(e,"data-testid",n[4])},i:w,o:w,d(n){n&&C(e),r=!1,o()}}}function ro(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function oo(i,e,t){let r,o,n,a,{type:l}=e,{size:s="medium"}=e,{theme:c="outline"}=e,{variant:d="color"}=e,{title:f=""}=e,{testId:m=""}=e,{disabled:p}=e,{inverted:k}=e;return i.$$set=v=>{"type"in v&&t(0,l=v.type),"size"in v&&t(1,s=v.size),"theme"in v&&t(2,c=v.theme),"variant"in v&&t(9,d=v.variant),"title"in v&&t(3,f=v.title),"testId"in v&&t(4,m=v.testId),"disabled"in v&&t(10,p=v.disabled),"inverted"in v&&t(11,k=v.inverted)},i.$$.update=()=>{i.$$.dirty&2048&&t(5,n=F(k)),i.$$.dirty&544&&t(8,r=`goa-icon-button goa-icon-button--${d} ${n?"goa-icon-button--inverted":""}`),i.$$.dirty&1024&&t(7,o=F(p)),i.$$.dirty&2&&t(6,a={small:"1rem",medium:"1.5rem",large:"2rem"}[s])},[l,s,c,f,m,n,a,o,r,d,p,k]}class Zt extends G{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);border:none}.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>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},oo,io,I,{type:0,size:1,theme:2,variant:9,title:3,testId:4,disabled:10,inverted:11},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}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}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get theme(){return this.$$.ctx[2]}set theme(e){this.$$set({theme:e}),g()}get variant(){return this.$$.ctx[9]}set variant(e){this.$$set({variant:e}),g()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),g()}get testId(){return this.$$.ctx[4]}set testId(e){this.$$set({testId:e}),g()}get disabled(){return this.$$.ctx[10]}set disabled(e){this.$$set({disabled:e}),g()}get inverted(){return this.$$.ctx[11]}set inverted(e){this.$$set({inverted:e}),g()}}customElements.define("goa-icon-button",Zt);function Kt(i){let e;return{c(){e=b("goa-icon"),x(e,"class","goa-input-leading-icon"),x(e,"data-testid","leading-icon"),x(e,"type",i[4])},m(t,r){_(t,e,r)},p(t,r){r&16&&x(e,"type",t[4])},d(t){t&&C(e)}}}function Yt(i){let e;return{c(){e=b("goa-icon"),x(e,"class","goa-input-trailing-icon"),x(e,"data-testid","trailing-icon"),x(e,"size","medium"),x(e,"type",i[5])},m(t,r){_(t,e,r)},p(t,r){r&32&&x(e,"type",t[5])},d(t){t&&C(e)}}}function Xt(i){let e,t,r;return{c(){e=b("goa-icon-button"),x(e,"class","goa-input-trailing-icon"),x(e,"disabled",i[12]),x(e,"variant","nocolor"),x(e,"size","medium"),x(e,"type",i[5]),x(e,"data-testid","trailing-icon-button")},m(o,n){_(o,e,n),t||(r=U(e,"click",so),t=!0)},p(o,n){n&4096&&x(e,"disabled",o[12]),n&32&&x(e,"type",o[5])},d(o){o&&C(e),t=!1,r()}}}function Jt(i){let e;function t(n,a){if(n[9]>0)return ao;if(n[0].length>0)return no}let r=t(i),o=r&&r(i);return{c(){o&&o.c(),e=te()},m(n,a){o&&o.m(n,a),_(n,e,a)},p(n,a){r===(r=t(n))&&o?o.p(n,a):(o&&o.d(1),o=r&&r(n),o&&(o.c(),o.m(e.parentNode,e)))},d(n){o&&o.d(n),n&&C(e)}}}function no(i){let e,t=i[0].length+"",r;return{c(){e=b("div"),r=j(t),u(e,"class","counter")},m(o,n){_(o,e,n),h(e,r)},p(o,n){n&1&&t!==(t=o[0].length+"")&&q(r,t)},d(o){o&&C(e)}}}function ao(i){let e,t=i[0].length+"",r,o=`/${i[9]}`,n;return{c(){e=b("div"),r=j(t),n=j(o),u(e,"class","counter"),D(e,"counter-error",i[0].length>i[9])},m(a,l){_(a,e,l),h(e,r),h(e,n)},p(a,l){l&1&&t!==(t=a[0].length+"")&&q(r,t),l&512&&o!==(o=`/${a[9]}`)&&q(n,o),l&513&&D(e,"counter-error",a[0].length>a[9])},d(a){a&&C(e)}}}function lo(i){let e,t,r,o,n,a,l,s,c,d,f,m,p,k=i[4]&&Kt(i),v=i[5]&&!i[15]&&Yt(i),M=i[5]&&i[15]&&Xt(i),E=i[11]&&Jt(i);return{c(){e=b("div"),t=b("div"),k&&k.c(),r=T(),o=b("input"),l=T(),v&&v.c(),s=T(),M&&M.c(),d=T(),E&&E.c(),this.c=w,u(o,"class",n=`input--${i[6]}`),u(o,"style",a=`--search-icon-offset: ${i[5]?"-0.5rem":"0"}`),o.readOnly=i[14],o.disabled=i[12],u(o,"data-testid",i[7]),u(o,"name",i[2]),u(o,"type",i[1]),o.value=i[0],u(o,"placeholder",i[3]),u(t,"class",c=`
|
|
25
25
|
goa-input
|
|
26
26
|
${i[12]?"goa-input--disabled":""}
|
|
27
27
|
variant--${i[6]}
|
|
28
28
|
type--${i[1]}
|
|
29
29
|
`),D(t,"error",i[13]),u(e,"class","container"),u(e,"style",f=`
|
|
30
30
|
--width: ${i[8]};
|
|
31
|
-
`)},m(z,y){_(z,e,y),h(e,t),k&&k.m(t,null),h(t,r),h(t,o),i[24](o),h(t,l),
|
|
31
|
+
`)},m(z,y){_(z,e,y),h(e,t),k&&k.m(t,null),h(t,r),h(t,o),i[24](o),h(t,l),v&&v.m(t,null),h(t,s),M&&M.m(t,null),h(e,d),E&&E.m(e,null),m||(p=[U(o,"keyup",i[16]),U(o,"change",i[16])],m=!0)},p(z,[y]){z[4]?k?k.p(z,y):(k=Kt(z),k.c(),k.m(t,r)):k&&(k.d(1),k=null),y&64&&n!==(n=`input--${z[6]}`)&&u(o,"class",n),y&32&&a!==(a=`--search-icon-offset: ${z[5]?"-0.5rem":"0"}`)&&u(o,"style",a),y&16384&&(o.readOnly=z[14]),y&4096&&(o.disabled=z[12]),y&128&&u(o,"data-testid",z[7]),y&4&&u(o,"name",z[2]),y&2&&u(o,"type",z[1]),y&1&&o.value!==z[0]&&(o.value=z[0]),y&8&&u(o,"placeholder",z[3]),z[5]&&!z[15]?v?v.p(z,y):(v=Yt(z),v.c(),v.m(t,s)):v&&(v.d(1),v=null),z[5]&&z[15]?M?M.p(z,y):(M=Xt(z),M.c(),M.m(t,null)):M&&(M.d(1),M=null),y&4162&&c!==(c=`
|
|
32
32
|
goa-input
|
|
33
33
|
${z[12]?"goa-input--disabled":""}
|
|
34
34
|
variant--${z[6]}
|
|
35
35
|
type--${z[1]}
|
|
36
|
-
`)&&u(t,"class",c),y&12354&&D(t,"error",z[13]),z[11]?
|
|
36
|
+
`)&&u(t,"class",c),y&12354&&D(t,"error",z[13]),z[11]?E?E.p(z,y):(E=Jt(z),E.c(),E.m(e,null)):E&&(E.d(1),E=null),y&256&&f!==(f=`
|
|
37
37
|
--width: ${z[8]};
|
|
38
|
-
`)&&u(e,"style",f)},i:w,o:w,d(z){z&&C(e),k&&k.d(),i[24](null),
|
|
39
|
-
center center no-repeat}</style>`,O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},
|
|
38
|
+
`)&&u(e,"style",f)},i:w,o:w,d(z){z&&C(e),k&&k.d(),i[24](null),v&&v.d(),M&&M.d(),E&&E.d(),m=!1,$(p)}}}function so(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function co(i,e,t){let r,o,n,a,l,s,{type:c="text"}=e,{name:d=""}=e,{value:f=""}=e,{placeholder:m=""}=e,{leadingicon:p=null}=e,{trailingicon:k=null}=e,{variant:v="goa"}=e,{disabled:M="false"}=e,{handletrailingiconclick:E="false"}=e,{focused:z="false"}=e,{readonly:y="false"}=e,{error:A="false"}=e,{testid:L=""}=e,{width:R="30ch"}=e,{showcounter:P="false"}=e,{maxcharcount:K=0}=e,Y;function J(S){S.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:d,value:S.target.value}})),t(0,f=S.target.value)}function X(S){ee[S?"unshift":"push"](()=>{Y=S,t(10,Y)})}return i.$$set=S=>{"type"in S&&t(1,c=S.type),"name"in S&&t(2,d=S.name),"value"in S&&t(0,f=S.value),"placeholder"in S&&t(3,m=S.placeholder),"leadingicon"in S&&t(4,p=S.leadingicon),"trailingicon"in S&&t(5,k=S.trailingicon),"variant"in S&&t(6,v=S.variant),"disabled"in S&&t(17,M=S.disabled),"handletrailingiconclick"in S&&t(18,E=S.handletrailingiconclick),"focused"in S&&t(19,z=S.focused),"readonly"in S&&t(20,y=S.readonly),"error"in S&&t(21,A=S.error),"testid"in S&&t(7,L=S.testid),"width"in S&&t(8,R=S.width),"showcounter"in S&&t(22,P=S.showcounter),"maxcharcount"in S&&t(9,K=S.maxcharcount)},i.$$.update=()=>{i.$$.dirty&262144&&t(15,r=F(E)),i.$$.dirty&524288&&t(23,o=F(z)),i.$$.dirty&1048576&&t(14,n=F(y)),i.$$.dirty&2097152&&t(13,a=F(A)),i.$$.dirty&131072&&t(12,l=F(M)),i.$$.dirty&4194304&&t(11,s=F(P)),i.$$.dirty&8389632&&o&&Y&&setTimeout(()=>Y.focus(),1),i.$$.dirty&1026&&Y&&c==="search"&&Y.addEventListener("search",S=>{J(S)})},[f,c,d,m,p,k,v,L,R,K,Y,s,l,a,n,r,J,M,E,z,y,A,P,o,X]}class Qt extends G{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.container{position:relative;width:100%}@media(min-width: 640px){.container{width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:var(--input-border-radius);background:white;display:inline-flex;align-items:center;vertical-align:middle;min-width:100%}.goa-input:hover{border-color:var(--goa-color-interactive--hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{display:flex;align-items:center;margin-left:0.5rem}.goa-input-trailing-icon{display:flex;align-items:center;margin-right:0.5rem}.goa-input-trailing-icon>.goa-icon-button{margin-right:-0.5rem}input{display:inline-block;color:var(--goa-color-text);font-size:var(--input-font-size);padding:var(--input-padding);line-height:calc(40px - calc(var(--input-padding) * 2));background-color:transparent;width:0;flex:1 1 auto}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--color-gray-100);border-color:var(--color-gray-200);cursor:default;box-shadow:none}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.counter{position:absolute;padding-top:0.25rem;right:0;font-size:var(--fs-sm)}.counter-error{color:var(--goa-color-interactive--error)}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}input[type="search" i]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
|
|
39
|
+
center center no-repeat}</style>`,O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},co,lo,I,{type:1,name:2,value:0,placeholder:3,leadingicon:4,trailingicon:5,variant:6,disabled:17,handletrailingiconclick:18,focused:19,readonly:20,error:21,testid:7,width:8,showcounter:22,maxcharcount:9},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","name","value","placeholder","leadingicon","trailingicon","variant","disabled","handletrailingiconclick","focused","readonly","error","testid","width","showcounter","maxcharcount"]}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),g()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get placeholder(){return this.$$.ctx[3]}set placeholder(e){this.$$set({placeholder:e}),g()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get trailingicon(){return this.$$.ctx[5]}set trailingicon(e){this.$$set({trailingicon:e}),g()}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),g()}get disabled(){return this.$$.ctx[17]}set disabled(e){this.$$set({disabled:e}),g()}get handletrailingiconclick(){return this.$$.ctx[18]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),g()}get focused(){return this.$$.ctx[19]}set focused(e){this.$$set({focused:e}),g()}get readonly(){return this.$$.ctx[20]}set readonly(e){this.$$set({readonly:e}),g()}get error(){return this.$$.ctx[21]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),g()}get width(){return this.$$.ctx[8]}set width(e){this.$$set({width:e}),g()}get showcounter(){return this.$$.ctx[22]}set showcounter(e){this.$$set({showcounter:e}),g()}get maxcharcount(){return this.$$.ctx[9]}set maxcharcount(e){this.$$set({maxcharcount:e}),g()}}customElements.define("goa-input",Qt);function uo(i){const e=i-1;return e*e*e+1}function fo(i){return Math.pow(i-1,3)*(1-i)+1}function be(i,{delay:e=0,duration:t=400,easing:r=ve}={}){const o=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:n=>`opacity: ${n*o}`}}function $t(i,{delay:e=0,duration:t=400,easing:r=uo,x:o=0,y:n=0,opacity:a=0}={}){const l=getComputedStyle(i),s=+l.opacity,c=l.transform==="none"?"":l.transform,d=s*(1-a);return{delay:e,duration:t,easing:r,css:(f,m)=>`
|
|
40
40
|
transform: ${c} translate(${(1-f)*o}px, ${(1-f)*n}px);
|
|
41
|
-
opacity: ${s-d*m}`}}function $t(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"},200)}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 ei(i){let e,t,r,o,n,a,l,s,c,d,f,m,v,k,p,M,x,z,y,A,L,R=i[0]&&ti(i),P=i[5]&&ii(i);function K(X,S){return X[7]?go:fo}let Y=K(i),J=Y(i);return{c(){e=b("goa-focus-trap"),t=b("div"),r=b("div"),o=T(),n=b("div"),R&&R.c(),a=T(),P&&P.c(),l=T(),s=b("div"),J.c(),c=T(),d=b("slot"),f=T(),m=b("div"),m.innerHTML='<slot name="actions"></slot>',u(r,"data-testid","modal-overlay"),u(r,"class","modal-overlay"),u(s,"data-testid","modal-content"),u(s,"class","modal-content"),u(m,"data-testid","modal-actions"),u(m,"class","modal-actions"),u(n,"class","modal-pane"),u(t,"data-testid","modal"),u(t,"class","modal"),u(t,"style",p="--scroll-offset: "+i[4]+"px; "+(i[2]&&`--width: ${i[2]};`)+";"),E(e,"open",i[1])},m(X,S){_(X,e,S),h(e,t),h(t,r),h(t,o),h(t,n),R&&R.m(n,null),h(n,a),P&&P.m(n,null),h(n,l),h(n,s),J.m(s,null),h(s,c),h(s,d),h(n,f),h(n,m),y=!0,A||(L=[U(r,"click",i[8]),Ke(M=$t.call(null,t,{enable:i[3]}))],A=!0)},p(X,S){i=X,i[0]?R?R.p(i,S):(R=ti(i),R.c(),R.m(n,a)):R&&(R.d(1),R=null),i[5]?P?P.p(i,S):(P=ii(i),P.c(),P.m(n,l)):P&&(P.d(1),P=null),Y!==(Y=K(i))&&(J.d(1),J=Y(i),J&&(J.c(),J.m(s,c))),(!y||S&20&&p!==(p="--scroll-offset: "+i[4]+"px; "+(i[2]&&`--width: ${i[2]};`)+";"))&&u(t,"style",p),M&&se(M.update)&&S&8&&M.update.call(null,{enable:i[3]}),(!y||S&2)&&E(e,"open",i[1])},i(X){y||(ie(()=>{k&&k.end(1),v=rt(n,Qt,{duration:i[6],y:200}),v.start()}),ie(()=>{z&&z.end(1),x=rt(t,be,{duration:i[6]}),x.start()}),y=!0)},o(X){v&&v.invalidate(),k=ot(n,Qt,{delay:i[6],duration:i[6],y:-100}),x&&x.invalidate(),z=ot(t,be,{delay:i[6],duration:i[6]}),y=!1},d(X){X&&C(e),R&&R.d(),P&&P.d(),J.d(),X&&k&&k.end(),X&&z&&z.end(),A=!1,$(L)}}}function ti(i){let e,t;return{c(){e=b("div"),t=j(i[0]),u(e,"data-testid","modal-title"),u(e,"class","modal-title")},m(r,o){_(r,e,o),h(e,t)},p(r,o){o&1&&q(t,r[0])},d(r){r&&C(e)}}}function ii(i){let e,t,r,o;return{c(){e=b("div"),t=b("goa-icon-button"),E(t,"data-testid","modal-close-button"),E(t,"type","close"),u(e,"class","modal-close")},m(n,a){_(n,e,a),h(e,t),r||(o=U(t,"click",i[8]),r=!0)},p:w,d(n){n&&C(e),r=!1,o()}}}function fo(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",V(e,"margin","1.75rem")},m(t,r){_(t,e,r)},d(t){t&&C(e)}}}function go(i){let e;return{c(){e=b("goa-scrollable"),e.innerHTML="<slot></slot>",E(e,"direction","vertical"),E(e,"height","50"),E(e,"hpadding","1.75")},m(t,r){_(t,e,r)},d(t){t&&C(e)}}}function ho(i){let e,t,r=i[3]&&ei(i);return{c(){r&&r.c(),e=te(),this.c=w},m(o,n){r&&r.m(o,n),_(o,e,n),t=!0},p(o,[n]){o[3]?r?(r.p(o,n),n&8&&W(r,1)):(r=ei(o),r.c(),W(r,1),r.m(e.parentNode,e)):r&&(ge(),Z(r,1,1,()=>{r=null}),he())},i(o){t||(W(r),t=!0)},o(o){Z(r),t=!1},d(o){r&&r.d(o),o&&C(e)}}}function mo(i,e,t){let r,o,n,a,{heading:l}=e,{closable:s}=e,{scrollable:c}=e,{open:d}=e,{transition:f}=e,{width:m}=e,v=0;function k(p){!r||(p.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),p.stopPropagation())}return i.$$set=p=>{"heading"in p&&t(0,l=p.heading),"closable"in p&&t(9,s=p.closable),"scrollable"in p&&t(10,c=p.scrollable),"open"in p&&t(1,d=p.open),"transition"in p&&t(11,f=p.transition),"width"in p&&t(2,m=p.width)},i.$$.update=()=>{i.$$.dirty&512&&t(5,r=F(s)),i.$$.dirty&1024&&t(7,o=F(c)),i.$$.dirty&2&&t(3,n=F(d)),i.$$.dirty&8&&n&&t(4,v=window.pageYOffset),i.$$.dirty&2048&&t(6,a=f==="none"?0:f==="slow"?400:200)},[l,d,m,n,v,r,a,o,k,s,c,f]}class ri extends G{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:90%;margin:1rem;box-shadow:var(--shadow-2);border-radius:4px;max-height:90%}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch);max-height:80%}}.modal-actions{text-align:right;padding:0 1.75rem;margin:1.75rem 0;flex:1 1 auto}.modal-close{position:absolute;top:1rem;right:1rem}.modal-title{font-size:var(--fs-xl);padding-bottom:1rem;padding:0 1.75rem;margin:1.75rem 0;margin-right:40px;flex:0 0 auto}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},mo,ho,I,{heading:0,closable:9,scrollable:10,open:1,transition:11,width:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","closable","scrollable","open","transition","width"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get closable(){return this.$$.ctx[9]}set closable(e){this.$$set({closable:e}),g()}get scrollable(){return this.$$.ctx[10]}set scrollable(e){this.$$set({scrollable:e}),g()}get open(){return this.$$.ctx[1]}set open(e){this.$$set({open:e}),g()}get transition(){return this.$$.ctx[11]}set transition(e){this.$$set({transition:e}),g()}get width(){return this.$$.ctx[2]}set width(e){this.$$set({width:e}),g()}}customElements.define("goa-modal",ri);function oi(i){let e,t,r,o,n,a,l,s,c,d,f,m,v;return{c(){e=b("div"),t=b("div"),r=b("goa-icon"),o=T(),n=b("div"),n.innerHTML="<slot></slot>",a=T(),l=b("div"),s=b("goa-icon-button"),E(r,"type",i[2]),E(r,"inverted",""),u(t,"class","icon"),u(n,"class","content"),E(s,"type","close"),E(s,"inverted",""),u(l,"class","close"),u(e,"class",c="notification "+i[0])},m(k,p){_(k,e,p),h(e,t),h(t,r),h(e,o),h(e,n),h(e,a),h(e,l),h(l,s),f=!0,m||(v=U(s,"click",i[3]),m=!0)},p(k,p){(!f||p&4)&&E(r,"type",k[2]),(!f||p&1&&c!==(c="notification "+k[0]))&&u(e,"class",c)},i(k){f||(ie(()=>{d||(d=Ie(e,be,{},!0)),d.run(1)}),f=!0)},o(k){d||(d=Ie(e,be,{},!1)),d.run(0),f=!1},d(k){k&&C(e),k&&d&&d.end(),m=!1,v()}}}function bo(i){let e,t,r=i[1]&&oi(i);return{c(){r&&r.c(),e=te(),this.c=w},m(o,n){r&&r.m(o,n),_(o,e,n),t=!0},p(o,[n]){o[1]?r?(r.p(o,n),n&2&&W(r,1)):(r=oi(o),r.c(),W(r,1),r.m(e.parentNode,e)):r&&(ge(),Z(r,1,1,()=>{r=null}),he())},i(o){t||(W(r),t=!0)},o(o){Z(r),t=!1},d(o){r&&r.d(o),o&&C(e)}}}function vo(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 ni extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;align-items:center;gap:1rem;border-radius:3px}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.caution{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info);color:var(--color-white)}.event{background-color:var(--goa-color-status-success);color:var(--color-white)}.icon{flex:0 0 auto;align-self:flex-start}.content{flex:1 1 auto}.close{flex:0 0 auto;align-self:flex-start}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},vo,bo,I,{type:0},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}}customElements.define("goa-notification",ni);function po(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=w,u(e,"class","layout")},m(t,r){_(t,e,r)},p:w,i:w,o:w,d(t){t&&C(e)}}}class ai extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>@media(min-width: 768px){}.layout{max-width:768px;margin:0 auto;padding:2rem}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,po,I,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-page-layout",ai);function li(i){let e,t,r,o;const n=[_o,wo],a=[];function l(s,c){return s[4]?0:s[5]?1:-1}return~(e=l(i))&&(t=a[e]=n[e](i)),{c(){t&&t.c(),r=te()},m(s,c){~e&&a[e].m(s,c),_(s,r,c),o=!0},p(s,c){let d=e;e=l(s),e===d?~e&&a[e].p(s,c):(t&&(ge(),Z(a[d],1,1,()=>{a[d]=null}),he()),~e?(t=a[e],t?t.p(s,c):(t=a[e]=n[e](s),t.c()),W(t,1),t.m(r.parentNode,r)):t=null)},i(s){o||(W(t),o=!0)},o(s){Z(t),o=!1},d(s){~e&&a[e].d(s),s&&C(r)}}}function wo(i){let e,t,r,o,n,a=i[1]&&si(i);return{c(){e=b("div"),t=b("goa-spinner"),o=T(),a&&a.c(),E(t,"type",i[0]),E(t,"size",i[3]),E(t,"progress",r=i[2]||0),u(e,"class",n="spinner-"+i[3]),D(e,"inline",i[5])},m(l,s){_(l,e,s),h(e,t),h(e,o),a&&a.m(e,null)},p(l,s){s&1&&E(t,"type",l[0]),s&8&&E(t,"size",l[3]),s&4&&r!==(r=l[2]||0)&&E(t,"progress",r),l[1]?a?a.p(l,s):(a=si(l),a.c(),a.m(e,null)):a&&(a.d(1),a=null),s&8&&n!==(n="spinner-"+l[3])&&u(e,"class",n),s&40&&D(e,"inline",l[5])},i:w,o:w,d(l){l&&C(e),a&&a.d()}}}function _o(i){let e,t,r,o,n,a,l,s,c=i[1]&&ci(i);return{c(){e=b("div"),t=b("goa-spinner"),o=T(),c&&c.c(),E(t,"type",i[0]),E(t,"size",i[3]),E(t,"progress",r=i[2]||0),D(e,"fullscreen",i[4])},m(d,f){_(d,e,f),h(e,t),h(e,o),c&&c.m(e,null),a=!0,l||(s=Ke($t.call(null,e,{enable:!0})),l=!0)},p(d,f){(!a||f&1)&&E(t,"type",d[0]),(!a||f&8)&&E(t,"size",d[3]),(!a||f&4&&r!==(r=d[2]||0))&&E(t,"progress",r),d[1]?c?c.p(d,f):(c=ci(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&16&&D(e,"fullscreen",d[4])},i(d){a||(ie(()=>{n||(n=Ie(e,be,{duration:300},!0)),n.run(1)}),a=!0)},o(d){n||(n=Ie(e,be,{duration:300},!1)),n.run(0),a=!1},d(d){d&&C(e),c&&c.d(),d&&n&&n.end(),l=!1,s()}}}function si(i){let e,t;return{c(){e=b("div"),t=j(i[1]),u(e,"class","message")},m(r,o){_(r,e,o),h(e,t)},p(r,o){o&2&&q(t,r[1])},d(r){r&&C(e)}}}function ci(i){let e,t;return{c(){e=b("div"),t=j(i[1]),u(e,"class","message")},m(r,o){_(r,e,o),h(e,t)},p(r,o){o&2&&q(t,r[1])},d(r){r&&C(e)}}}function yo(i){let e,t,r=i[6]&&li(i);return{c(){r&&r.c(),e=te(),this.c=w},m(o,n){r&&r.m(o,n),_(o,e,n),t=!0},p(o,[n]){o[6]?r?(r.p(o,n),n&64&&W(r,1)):(r=li(o),r.c(),W(r,1),r.m(e.parentNode,e)):r&&(ge(),Z(r,1,1,()=>{r=null}),he())},i(o){t||(W(r),t=!0)},o(o){Z(r),t=!1},d(o){r&&r.d(o),o&&C(e)}}}function ko(i,e,t){let r,{type:o="infinite"}=e,{variant:n="inline"}=e,{size:a="large"}=e,{message:l=""}=e,{progress:s=0}=e,{visible:c="false"}=e,d,f,m;return Q(async()=>{t(3,d=a==="small"?"large":"xlarge"),t(4,f=n==="fullscreen"),t(5,m=n==="inline")}),i.$$set=v=>{"type"in v&&t(0,o=v.type),"variant"in v&&t(7,n=v.variant),"size"in v&&t(8,a=v.size),"message"in v&&t(1,l=v.message),"progress"in v&&t(2,s=v.progress),"visible"in v&&t(9,c=v.visible)},i.$$.update=()=>{i.$$.dirty&512&&t(6,r=F(c))},[o,l,s,d,f,m,r,n,a,c]}class di extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.fullscreen{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:rgba(255, 255, 255, 0.9)}.inline{margin:3.5rem;display:inline-flex;flex-direction:column;align-items:center;justify-content:center}.spinner-large .message{margin-top:1.5rem;font-size:1.2rem}.spinner-xlarge .message{margin-top:2rem;font-size:1.5rem}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},ko,yo,I,{type:0,variant:7,size:8,message:1,progress:2,visible:9},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","variant","size","message","progress","visible"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),g()}get size(){return this.$$.ctx[8]}set size(e){this.$$set({size:e}),g()}get message(){return this.$$.ctx[1]}set message(e){this.$$set({message:e}),g()}get progress(){return this.$$.ctx[2]}set progress(e){this.$$set({progress:e}),g()}get visible(){return this.$$.ctx[9]}set visible(e){this.$$set({visible:e}),g()}}customElements.define("goa-circular-progress",di);const ui="bind";function fi(i,e,t){const r=i.slice();return r[14]=e[t],r}function gi(i,e){let t,r,o,n,a,l,s,c,d=(e[14].label||e[14].value)+"",f,m,v,k,p;function M(){return e[11](e[14])}return{key:i,first:null,c(){t=b("label"),r=b("input"),a=T(),l=b("div"),s=T(),c=b("span"),f=j(d),m=T(),u(r,"type","radio"),u(r,"name",e[1]),r.value=o=e[14].value,r.disabled=e[7],r.checked=n=e[14].value===e[0],u(l,"class","goa-radio-icon"),u(c,"class","goa-radio-label"),u(t,"data-testid",v="radio-option-"+e[14].value),u(t,"class","goa-radio"),D(t,"goa-radio--disabled",e[7]),D(t,"goa-radio--error",e[5]),this.first=t},m(x,z){_(x,t,z),h(t,r),h(t,a),h(t,l),h(t,s),h(t,c),h(c,f),h(t,m),k||(p=U(r,"change",M),k=!0)},p(x,z){e=x,z&2&&u(r,"name",e[1]),z&16&&o!==(o=e[14].value)&&(r.value=o),z&128&&(r.disabled=e[7]),z&17&&n!==(n=e[14].value===e[0])&&(r.checked=n),z&16&&d!==(d=(e[14].label||e[14].value)+"")&&q(f,d),z&16&&v!==(v="radio-option-"+e[14].value)&&u(t,"data-testid",v),z&128&&D(t,"goa-radio--disabled",e[7]),z&32&&D(t,"goa-radio--error",e[5])},d(x){x&&C(t),k=!1,p()}}}function xo(i){let e,t,r,o=[],n=new Map,a,l=i[4];const s=c=>c[14].value;for(let c=0;c<l.length;c+=1){let d=fi(i,l,c),f=s(d);n.set(f,o[c]=gi(f,d))}return{c(){e=b("div"),t=b("slot"),r=T();for(let c=0;c<o.length;c+=1)o[c].c();this.c=w,u(e,"class",a=`goa-radio-group--${i[2]}`),u(e,"data-testid",i[3])},m(c,d){_(c,e,d),h(e,t),h(e,r);for(let f=0;f<o.length;f+=1)o[f].m(e,null);i[12](e)},p(c,[d]){d&435&&(l=c[4],o=at(o,d,s,1,c,l,n,e,nt,gi,null,fi)),d&4&&a!==(a=`goa-radio-group--${c[2]}`)&&u(e,"class",a),d&8&&u(e,"data-testid",c[3])},i:w,o:w,d(c){c&&C(e);for(let d=0;d<o.length;d+=1)o[d].d();i[12](null)}}}function Eo(i,e,t){let r,{name:o}=e,{value:n}=e,{orientation:a="vertical"}=e,{disabled:l="false"}=e,{error:s="false"}=e,{testid:c=""}=e,d=[],f,m,v;Q(()=>{m=Mt(o),m.subscribe(x=>{switch(x==null?void 0:x.type){case ui:t(4,d=[...d,x])}})});function k(x){x!==n&&(t(0,n=x),v.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:n}})))}$e(()=>{Tt(o)});const p=x=>k(x.value);function M(x){ee[x?"unshift":"push"](()=>{v=x,t(6,v)})}return i.$$set=x=>{"name"in x&&t(1,o=x.name),"value"in x&&t(0,n=x.value),"orientation"in x&&t(2,a=x.orientation),"disabled"in x&&t(9,l=x.disabled),"error"in x&&t(10,s=x.error),"testid"in x&&t(3,c=x.testid)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=F(l)),i.$$.dirty&1024&&t(5,f=F(s))},[n,o,a,c,d,f,v,r,k,l,s,p,M]}class hi extends G{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:inline-block}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;display:inline-block;box-sizing:border-box;display:flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0;margin:0;opacity:0}input[type="radio"]:hover~.goa-radio-icon{border-color:var(--goa-color-interactive--hover)}input[type="radio"]:focus~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio-label{padding:0.5rem;font-weight:var(--fw-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out;flex:0 0 auto}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio--disabled{opacity:0.4}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active)}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active)}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-color-status-emergency)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-color-status-emergency)}</style>',O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Eo,xo,I,{name:1,value:0,orientation:2,disabled:9,error:10,testid:3},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","orientation","disabled","error","testid"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get orientation(){return this.$$.ctx[2]}set orientation(e){this.$$set({orientation:e}),g()}get disabled(){return this.$$.ctx[9]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[10]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-radio-group",hi);function Co(i){return{c(){this.c=w},m:w,p:w,i:w,o:w,d:w}}function zo(i,e,t){let{value:r}=e,{label:o}=e,{name:n}=e,a;return Q(async()=>{a=await At(n),a.notify({type:ui,value:r,label:o})}),i.$$set=l=>{"value"in l&&t(0,r=l.value),"label"in l&&t(1,o=l.label),"name"in l&&t(2,n=l.name)},[r,o,n]}class mi extends G{constructor(e){super();O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},zo,Co,I,{value:0,label:1,name:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["value","label","name"]}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get label(){return this.$$.ctx[1]}set label(e){this.$$set({label:e}),g()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),g()}}customElements.define("goa-radio-item",mi);function Mo(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=w,u(e,"class","goa-scrollable"),u(e,"style",r=`
|
|
41
|
+
opacity: ${s-d*m}`}}function ei(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"},200)}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 ti(i){let e,t,r,o,n,a,l,s,c,d,f,m,p,k,v,M,E,z,y,A,L,R=i[0]&&ii(i),P=i[5]&&ri(i);function K(X,S){return X[7]?ho:go}let Y=K(i),J=Y(i);return{c(){e=b("goa-focus-trap"),t=b("div"),r=b("div"),o=T(),n=b("div"),R&&R.c(),a=T(),P&&P.c(),l=T(),s=b("div"),J.c(),c=T(),d=b("slot"),f=T(),m=b("div"),m.innerHTML='<slot name="actions"></slot>',u(r,"data-testid","modal-overlay"),u(r,"class","modal-overlay"),u(s,"data-testid","modal-content"),u(s,"class","modal-content"),u(m,"data-testid","modal-actions"),u(m,"class","modal-actions"),u(n,"class","modal-pane"),u(t,"data-testid","modal"),u(t,"class","modal"),u(t,"style",v="--scroll-offset: "+i[4]+"px; "+(i[2]&&`--width: ${i[2]};`)+";"),x(e,"open",i[1])},m(X,S){_(X,e,S),h(e,t),h(t,r),h(t,o),h(t,n),R&&R.m(n,null),h(n,a),P&&P.m(n,null),h(n,l),h(n,s),J.m(s,null),h(s,c),h(s,d),h(n,f),h(n,m),y=!0,A||(L=[U(r,"click",i[8]),Ke(M=ei.call(null,t,{enable:i[3]}))],A=!0)},p(X,S){i=X,i[0]?R?R.p(i,S):(R=ii(i),R.c(),R.m(n,a)):R&&(R.d(1),R=null),i[5]?P?P.p(i,S):(P=ri(i),P.c(),P.m(n,l)):P&&(P.d(1),P=null),Y!==(Y=K(i))&&(J.d(1),J=Y(i),J&&(J.c(),J.m(s,c))),(!y||S&20&&v!==(v="--scroll-offset: "+i[4]+"px; "+(i[2]&&`--width: ${i[2]};`)+";"))&&u(t,"style",v),M&&se(M.update)&&S&8&&M.update.call(null,{enable:i[3]}),(!y||S&2)&&x(e,"open",i[1])},i(X){y||(ie(()=>{k&&k.end(1),p=rt(n,$t,{duration:i[6],y:200}),p.start()}),ie(()=>{z&&z.end(1),E=rt(t,be,{duration:i[6]}),E.start()}),y=!0)},o(X){p&&p.invalidate(),k=ot(n,$t,{delay:i[6],duration:i[6],y:-100}),E&&E.invalidate(),z=ot(t,be,{delay:i[6],duration:i[6]}),y=!1},d(X){X&&C(e),R&&R.d(),P&&P.d(),J.d(),X&&k&&k.end(),X&&z&&z.end(),A=!1,$(L)}}}function ii(i){let e,t;return{c(){e=b("div"),t=j(i[0]),u(e,"data-testid","modal-title"),u(e,"class","modal-title")},m(r,o){_(r,e,o),h(e,t)},p(r,o){o&1&&q(t,r[0])},d(r){r&&C(e)}}}function ri(i){let e,t,r,o;return{c(){e=b("div"),t=b("goa-icon-button"),x(t,"data-testid","modal-close-button"),x(t,"type","close"),u(e,"class","modal-close")},m(n,a){_(n,e,a),h(e,t),r||(o=U(t,"click",i[8]),r=!0)},p:w,d(n){n&&C(e),r=!1,o()}}}function go(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",V(e,"margin","1.75rem")},m(t,r){_(t,e,r)},d(t){t&&C(e)}}}function ho(i){let e;return{c(){e=b("goa-scrollable"),e.innerHTML="<slot></slot>",x(e,"direction","vertical"),x(e,"height","50"),x(e,"hpadding","1.75")},m(t,r){_(t,e,r)},d(t){t&&C(e)}}}function mo(i){let e,t,r=i[3]&&ti(i);return{c(){r&&r.c(),e=te(),this.c=w},m(o,n){r&&r.m(o,n),_(o,e,n),t=!0},p(o,[n]){o[3]?r?(r.p(o,n),n&8&&W(r,1)):(r=ti(o),r.c(),W(r,1),r.m(e.parentNode,e)):r&&(ge(),Z(r,1,1,()=>{r=null}),he())},i(o){t||(W(r),t=!0)},o(o){Z(r),t=!1},d(o){r&&r.d(o),o&&C(e)}}}function bo(i,e,t){let r,o,n,a,{heading:l}=e,{closable:s}=e,{scrollable:c}=e,{open:d}=e,{transition:f}=e,{width:m}=e,p=0;function k(v){!r||(v.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),v.stopPropagation())}return i.$$set=v=>{"heading"in v&&t(0,l=v.heading),"closable"in v&&t(9,s=v.closable),"scrollable"in v&&t(10,c=v.scrollable),"open"in v&&t(1,d=v.open),"transition"in v&&t(11,f=v.transition),"width"in v&&t(2,m=v.width)},i.$$.update=()=>{i.$$.dirty&512&&t(5,r=F(s)),i.$$.dirty&1024&&t(7,o=F(c)),i.$$.dirty&2&&t(3,n=F(d)),i.$$.dirty&8&&n&&t(4,p=window.pageYOffset),i.$$.dirty&2048&&t(6,a=f==="none"?0:f==="slow"?400:200)},[l,d,m,n,p,r,a,o,k,s,c,f]}class oi extends G{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:90%;margin:1rem;box-shadow:var(--shadow-2);border-radius:4px;max-height:90%}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch);max-height:80%}}.modal-actions{text-align:right;padding:0 1.75rem;margin:1.75rem 0;flex:1 1 auto}.modal-close{position:absolute;top:1rem;right:1rem}.modal-title{font-size:var(--fs-xl);padding-bottom:1rem;padding:0 1.75rem;margin:1.75rem 0;margin-right:40px;flex:0 0 auto}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},bo,mo,I,{heading:0,closable:9,scrollable:10,open:1,transition:11,width:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","closable","scrollable","open","transition","width"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get closable(){return this.$$.ctx[9]}set closable(e){this.$$set({closable:e}),g()}get scrollable(){return this.$$.ctx[10]}set scrollable(e){this.$$set({scrollable:e}),g()}get open(){return this.$$.ctx[1]}set open(e){this.$$set({open:e}),g()}get transition(){return this.$$.ctx[11]}set transition(e){this.$$set({transition:e}),g()}get width(){return this.$$.ctx[2]}set width(e){this.$$set({width:e}),g()}}customElements.define("goa-modal",oi);function ni(i){let e,t,r,o,n,a,l,s,c,d,f,m,p;return{c(){e=b("div"),t=b("div"),r=b("goa-icon"),o=T(),n=b("div"),n.innerHTML="<slot></slot>",a=T(),l=b("div"),s=b("goa-icon-button"),x(r,"type",i[2]),x(r,"inverted",""),u(t,"class","icon"),u(n,"class","content"),x(s,"type","close"),x(s,"inverted",""),u(l,"class","close"),u(e,"class",c="notification "+i[0])},m(k,v){_(k,e,v),h(e,t),h(t,r),h(e,o),h(e,n),h(e,a),h(e,l),h(l,s),f=!0,m||(p=U(s,"click",i[3]),m=!0)},p(k,v){(!f||v&4)&&x(r,"type",k[2]),(!f||v&1&&c!==(c="notification "+k[0]))&&u(e,"class",c)},i(k){f||(ie(()=>{d||(d=Ie(e,be,{},!0)),d.run(1)}),f=!0)},o(k){d||(d=Ie(e,be,{},!1)),d.run(0),f=!1},d(k){k&&C(e),k&&d&&d.end(),m=!1,p()}}}function vo(i){let e,t,r=i[1]&&ni(i);return{c(){r&&r.c(),e=te(),this.c=w},m(o,n){r&&r.m(o,n),_(o,e,n),t=!0},p(o,[n]){o[1]?r?(r.p(o,n),n&2&&W(r,1)):(r=ni(o),r.c(),W(r,1),r.m(e.parentNode,e)):r&&(ge(),Z(r,1,1,()=>{r=null}),he())},i(o){t||(W(r),t=!0)},o(o){Z(r),t=!1},d(o){r&&r.d(o),o&&C(e)}}}function po(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 ai extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;align-items:center;gap:1rem;border-radius:3px}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.caution{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info);color:var(--color-white)}.event{background-color:var(--goa-color-status-success);color:var(--color-white)}.icon{flex:0 0 auto;align-self:flex-start}.content{flex:1 1 auto}.close{flex:0 0 auto;align-self:flex-start}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},po,vo,I,{type:0},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}}customElements.define("goa-notification",ai);function wo(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=w,u(e,"class","layout")},m(t,r){_(t,e,r)},p:w,i:w,o:w,d(t){t&&C(e)}}}class li extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>@media(min-width: 768px){}.layout{max-width:768px;margin:0 auto;padding:2rem}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,wo,I,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-page-layout",li);function si(i){let e,t,r,o;const n=[yo,_o],a=[];function l(s,c){return s[4]?0:s[5]?1:-1}return~(e=l(i))&&(t=a[e]=n[e](i)),{c(){t&&t.c(),r=te()},m(s,c){~e&&a[e].m(s,c),_(s,r,c),o=!0},p(s,c){let d=e;e=l(s),e===d?~e&&a[e].p(s,c):(t&&(ge(),Z(a[d],1,1,()=>{a[d]=null}),he()),~e?(t=a[e],t?t.p(s,c):(t=a[e]=n[e](s),t.c()),W(t,1),t.m(r.parentNode,r)):t=null)},i(s){o||(W(t),o=!0)},o(s){Z(t),o=!1},d(s){~e&&a[e].d(s),s&&C(r)}}}function _o(i){let e,t,r,o,n,a=i[1]&&ci(i);return{c(){e=b("div"),t=b("goa-spinner"),o=T(),a&&a.c(),x(t,"type",i[0]),x(t,"size",i[3]),x(t,"progress",r=i[2]||0),u(e,"class",n="spinner-"+i[3]),D(e,"inline",i[5])},m(l,s){_(l,e,s),h(e,t),h(e,o),a&&a.m(e,null)},p(l,s){s&1&&x(t,"type",l[0]),s&8&&x(t,"size",l[3]),s&4&&r!==(r=l[2]||0)&&x(t,"progress",r),l[1]?a?a.p(l,s):(a=ci(l),a.c(),a.m(e,null)):a&&(a.d(1),a=null),s&8&&n!==(n="spinner-"+l[3])&&u(e,"class",n),s&40&&D(e,"inline",l[5])},i:w,o:w,d(l){l&&C(e),a&&a.d()}}}function yo(i){let e,t,r,o,n,a,l,s,c=i[1]&&di(i);return{c(){e=b("div"),t=b("goa-spinner"),o=T(),c&&c.c(),x(t,"type",i[0]),x(t,"size",i[3]),x(t,"progress",r=i[2]||0),D(e,"fullscreen",i[4])},m(d,f){_(d,e,f),h(e,t),h(e,o),c&&c.m(e,null),a=!0,l||(s=Ke(ei.call(null,e,{enable:!0})),l=!0)},p(d,f){(!a||f&1)&&x(t,"type",d[0]),(!a||f&8)&&x(t,"size",d[3]),(!a||f&4&&r!==(r=d[2]||0))&&x(t,"progress",r),d[1]?c?c.p(d,f):(c=di(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&16&&D(e,"fullscreen",d[4])},i(d){a||(ie(()=>{n||(n=Ie(e,be,{duration:300},!0)),n.run(1)}),a=!0)},o(d){n||(n=Ie(e,be,{duration:300},!1)),n.run(0),a=!1},d(d){d&&C(e),c&&c.d(),d&&n&&n.end(),l=!1,s()}}}function ci(i){let e,t;return{c(){e=b("div"),t=j(i[1]),u(e,"class","message")},m(r,o){_(r,e,o),h(e,t)},p(r,o){o&2&&q(t,r[1])},d(r){r&&C(e)}}}function di(i){let e,t;return{c(){e=b("div"),t=j(i[1]),u(e,"class","message")},m(r,o){_(r,e,o),h(e,t)},p(r,o){o&2&&q(t,r[1])},d(r){r&&C(e)}}}function ko(i){let e,t,r=i[6]&&si(i);return{c(){r&&r.c(),e=te(),this.c=w},m(o,n){r&&r.m(o,n),_(o,e,n),t=!0},p(o,[n]){o[6]?r?(r.p(o,n),n&64&&W(r,1)):(r=si(o),r.c(),W(r,1),r.m(e.parentNode,e)):r&&(ge(),Z(r,1,1,()=>{r=null}),he())},i(o){t||(W(r),t=!0)},o(o){Z(r),t=!1},d(o){r&&r.d(o),o&&C(e)}}}function Eo(i,e,t){let r,{type:o="infinite"}=e,{variant:n="inline"}=e,{size:a="large"}=e,{message:l=""}=e,{progress:s=0}=e,{visible:c="false"}=e,d,f,m;return Q(async()=>{t(3,d=a==="small"?"large":"xlarge"),t(4,f=n==="fullscreen"),t(5,m=n==="inline")}),i.$$set=p=>{"type"in p&&t(0,o=p.type),"variant"in p&&t(7,n=p.variant),"size"in p&&t(8,a=p.size),"message"in p&&t(1,l=p.message),"progress"in p&&t(2,s=p.progress),"visible"in p&&t(9,c=p.visible)},i.$$.update=()=>{i.$$.dirty&512&&t(6,r=F(c))},[o,l,s,d,f,m,r,n,a,c]}class ui extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.fullscreen{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:rgba(255, 255, 255, 0.9)}.inline{margin:3.5rem;display:inline-flex;flex-direction:column;align-items:center;justify-content:center}.spinner-large .message{margin-top:1.5rem;font-size:1.2rem}.spinner-xlarge .message{margin-top:2rem;font-size:1.5rem}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Eo,ko,I,{type:0,variant:7,size:8,message:1,progress:2,visible:9},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","variant","size","message","progress","visible"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),g()}get size(){return this.$$.ctx[8]}set size(e){this.$$set({size:e}),g()}get message(){return this.$$.ctx[1]}set message(e){this.$$set({message:e}),g()}get progress(){return this.$$.ctx[2]}set progress(e){this.$$set({progress:e}),g()}get visible(){return this.$$.ctx[9]}set visible(e){this.$$set({visible:e}),g()}}customElements.define("goa-circular-progress",ui);const fi="bind";function gi(i,e,t){const r=i.slice();return r[14]=e[t],r}function hi(i,e){let t,r,o,n,a,l,s,c,d=(e[14].label||e[14].value)+"",f,m,p,k,v;function M(){return e[11](e[14])}return{key:i,first:null,c(){t=b("label"),r=b("input"),a=T(),l=b("div"),s=T(),c=b("span"),f=j(d),m=T(),u(r,"type","radio"),u(r,"name",e[1]),r.value=o=e[14].value,r.disabled=e[7],r.checked=n=e[14].value===e[0],u(l,"class","goa-radio-icon"),u(c,"class","goa-radio-label"),u(t,"data-testid",p="radio-option-"+e[14].value),u(t,"class","goa-radio"),D(t,"goa-radio--disabled",e[7]),D(t,"goa-radio--error",e[5]),this.first=t},m(E,z){_(E,t,z),h(t,r),h(t,a),h(t,l),h(t,s),h(t,c),h(c,f),h(t,m),k||(v=U(r,"change",M),k=!0)},p(E,z){e=E,z&2&&u(r,"name",e[1]),z&16&&o!==(o=e[14].value)&&(r.value=o),z&128&&(r.disabled=e[7]),z&17&&n!==(n=e[14].value===e[0])&&(r.checked=n),z&16&&d!==(d=(e[14].label||e[14].value)+"")&&q(f,d),z&16&&p!==(p="radio-option-"+e[14].value)&&u(t,"data-testid",p),z&128&&D(t,"goa-radio--disabled",e[7]),z&32&&D(t,"goa-radio--error",e[5])},d(E){E&&C(t),k=!1,v()}}}function xo(i){let e,t,r,o=[],n=new Map,a,l=i[4];const s=c=>c[14].value;for(let c=0;c<l.length;c+=1){let d=gi(i,l,c),f=s(d);n.set(f,o[c]=hi(f,d))}return{c(){e=b("div"),t=b("slot"),r=T();for(let c=0;c<o.length;c+=1)o[c].c();this.c=w,u(e,"class",a=`goa-radio-group--${i[2]}`),u(e,"data-testid",i[3])},m(c,d){_(c,e,d),h(e,t),h(e,r);for(let f=0;f<o.length;f+=1)o[f].m(e,null);i[12](e)},p(c,[d]){d&435&&(l=c[4],o=at(o,d,s,1,c,l,n,e,nt,hi,null,gi)),d&4&&a!==(a=`goa-radio-group--${c[2]}`)&&u(e,"class",a),d&8&&u(e,"data-testid",c[3])},i:w,o:w,d(c){c&&C(e);for(let d=0;d<o.length;d+=1)o[d].d();i[12](null)}}}function Co(i,e,t){let r,{name:o}=e,{value:n}=e,{orientation:a="vertical"}=e,{disabled:l="false"}=e,{error:s="false"}=e,{testid:c=""}=e,d=[],f,m,p;Q(()=>{m=At(o),m.subscribe(E=>{switch(E==null?void 0:E.type){case fi:t(4,d=[...d,E])}})});function k(E){E!==n&&(t(0,n=E),p.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:n}})))}$e(()=>{Rt(o)});const v=E=>k(E.value);function M(E){ee[E?"unshift":"push"](()=>{p=E,t(6,p)})}return i.$$set=E=>{"name"in E&&t(1,o=E.name),"value"in E&&t(0,n=E.value),"orientation"in E&&t(2,a=E.orientation),"disabled"in E&&t(9,l=E.disabled),"error"in E&&t(10,s=E.error),"testid"in E&&t(3,c=E.testid)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=F(l)),i.$$.dirty&1024&&t(5,f=F(s))},[n,o,a,c,d,f,p,r,k,l,s,v,M]}class mi extends G{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:inline-block}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;display:inline-block;box-sizing:border-box;display:flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0;margin:0;opacity:0}input[type="radio"]:hover~.goa-radio-icon{border-color:var(--goa-color-interactive--hover)}input[type="radio"]:focus~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio-label{padding:0.5rem;font-weight:var(--fw-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out;flex:0 0 auto}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio--disabled{opacity:0.4}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active)}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active)}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-color-status-emergency)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-color-status-emergency)}</style>',O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Co,xo,I,{name:1,value:0,orientation:2,disabled:9,error:10,testid:3},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","orientation","disabled","error","testid"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get orientation(){return this.$$.ctx[2]}set orientation(e){this.$$set({orientation:e}),g()}get disabled(){return this.$$.ctx[9]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[10]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-radio-group",mi);function zo(i){return{c(){this.c=w},m:w,p:w,i:w,o:w,d:w}}function Mo(i,e,t){let{value:r}=e,{label:o}=e,{name:n}=e,a;return Q(async()=>{a=await Lt(n),a.notify({type:fi,value:r,label:o})}),i.$$set=l=>{"value"in l&&t(0,r=l.value),"label"in l&&t(1,o=l.label),"name"in l&&t(2,n=l.name)},[r,o,n]}class bi extends G{constructor(e){super();O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Mo,zo,I,{value:0,label:1,name:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["value","label","name"]}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get label(){return this.$$.ctx[1]}set label(e){this.$$set({label:e}),g()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),g()}}customElements.define("goa-radio-item",bi);function Ao(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=w,u(e,"class","goa-scrollable"),u(e,"style",r=`
|
|
42
42
|
--max-height: ${i[3]};
|
|
43
43
|
overflow-y: ${i[0]==="vertical"?"auto":"hidden"};
|
|
44
44
|
overflow-x: ${i[0]==="horizontal"?"auto":"hidden"};
|
|
@@ -50,29 +50,29 @@
|
|
|
50
50
|
overflow-x: ${o[0]==="horizontal"?"auto":"hidden"};
|
|
51
51
|
margin: ${o[2]}rem 0;
|
|
52
52
|
padding: 0 ${o[1]}rem;
|
|
53
|
-
`)&&u(e,"style",r)},i:w,o:w,d(o){o&&C(e)}}}function
|
|
53
|
+
`)&&u(e,"style",r)},i:w,o:w,d(o){o&&C(e)}}}function Lo(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 vi extends G{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>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Lo,Ao,I,{direction:0,hpadding:1,vpadding:2,height:3},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["direction","hpadding","vpadding","height"]}get direction(){return this.$$.ctx[0]}set direction(e){this.$$set({direction:e}),g()}get hpadding(){return this.$$.ctx[1]}set hpadding(e){this.$$set({hpadding:e}),g()}get vpadding(){return this.$$.ctx[2]}set vpadding(e){this.$$set({vpadding:e}),g()}get height(){return this.$$.ctx[3]}set height(e){this.$$set({height:e}),g()}}customElements.define("goa-scrollable",vi);function pi(i){let e,t,r;return{c(){e=b("div"),e.innerHTML='<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13 26C20.1797 26 26 20.1797 26 13C26 5.8203 20.1797 0 13 0C5.8203 0 0 5.8203 0 13C0 20.1797 5.8203 26 13 26Z" fill="#00AAD2"></path><path d="M16.9764 17.7174C15.942 17.3358 14.9325 16.8896 13.9539 16.3817C14.8446 16.0551 15.7131 15.6708 16.5539 15.2312C16.6398 16.0688 16.7831 16.8995 16.9829 17.7174H16.9764ZM22.5339 7.42143C22.1016 7.36618 22.3259 7.56931 22.2089 8.13968C21.863 9.3075 21.2806 10.3917 20.4978 11.3248C19.7151 12.258 18.7487 13.0201 17.6589 13.5639C17.3972 10.9368 17.5336 8.28529 18.0635 5.69893C18.5104 4.07393 19.0385 4.3778 18.3885 4.03818C17.6946 3.68068 16.9471 4.15356 16.3443 5.35931C14.4174 9.81946 11.7695 13.932 8.50689 17.5322C7.96404 18.2422 7.16875 18.7161 6.28592 18.8556C5.40309 18.9951 4.50044 18.7894 3.76514 18.2813C3.43039 17.9986 3.30689 18.4357 3.72289 18.8826C4.47366 19.5882 5.47211 19.9699 6.50216 19.945C7.53222 19.92 8.51102 19.4905 9.22677 18.7493C12.0405 15.3939 14.429 11.7038 16.3378 7.76268C16.1901 9.91268 16.2243 12.0713 16.4401 14.2156C15.4158 14.7181 14.3475 15.1256 13.2486 15.4327C12.6181 15.5952 12.2281 15.8552 12.2168 16.1461C12.2054 16.4711 12.6279 16.7359 13.2405 17.0252C14.3293 17.5419 17.5191 19.0499 18.3056 19.5066C18.9784 19.8966 19.3066 19.5927 19.5065 19.1702C19.7665 18.6209 19.0531 18.3041 18.369 18.0961C18.0632 16.9353 17.8555 15.7508 17.7483 14.5552C19.4404 13.5939 20.8636 12.2226 21.8871 10.5674C22.1817 9.98406 22.4001 9.36529 22.5371 8.7263C22.6338 8.3321 22.6602 7.92393 22.6151 7.52056C22.6151 7.52056 22.6038 7.43281 22.5371 7.42468" fill="white"></path></svg>',t=T(),r=b("div"),r.innerHTML='An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>',u(e,"class","service-level service-level--live"),u(r,"data-testid","level"),u(r,"class","site-text")},m(o,n){_(o,e,n),_(o,t,n),_(o,r,n)},d(o){o&&C(e),o&&C(t),o&&C(r)}}}function wi(i){let e,t=ki(i[0])+"",r,o,n,a,l,s,c,d=i[2]&&_i(i);return{c(){e=b("div"),r=j(t),n=T(),a=b("div"),l=j("This is a new "),s=b("a"),s.textContent="Alberta Government",c=j(`
|
|
54
54
|
service
|
|
55
|
-
`),d&&d.c(),u(e,"data-testid","level"),u(e,"class",o="service-level service-level--"+i[0].toLowerCase()),u(s,"href","https://www.alberta.ca/index.aspx"),u(a,"data-testid","site-text"),u(a,"class","site-text")},m(f,m){_(f,e,m),h(e,r),_(f,n,m),_(f,a,m),h(a,l),h(a,s),h(a,c),d&&d.m(a,null)},p(f,m){m&1&&t!==(t=yi(f[0])+"")&&q(r,t),m&1&&o!==(o="service-level service-level--"+f[0].toLowerCase())&&u(e,"class",o),f[2]?d?d.p(f,m):(d=wi(f),d.c(),d.m(a,null)):d&&(d.d(1),d=null)},d(f){f&&C(e),f&&C(n),f&&C(a),d&&d.d()}}}function wi(i){let e,t,r,o;return{c(){e=b("span"),t=j("\u2014 help us improve it by giving "),r=b("a"),o=j("feedback"),u(r,"href",i[2]),u(e,"data-testid","feedback")},m(n,a){_(n,e,a),h(e,t),h(e,r),h(r,o)},p(n,a){a&4&&u(r,"href",n[2])},d(n){n&&C(e)}}}function _i(i){let e,t;return{c(){e=b("div"),t=j(i[1]),u(e,"data-testid","version"),u(e,"class","version")},m(r,o){_(r,e,o),h(e,t)},p(r,o){o&2&&q(t,r[1])},d(r){r&&C(e)}}}function Lo(i){let e,t,r=["alpha","beta"].includes(i[0]),o,n,a,l=i[0]==="live"&&vi(),s=r&&pi(i),c=i[1]&&_i(i);return{c(){e=b("header"),l&&l.c(),t=T(),s&&s.c(),o=T(),n=b("div"),a=T(),c&&c.c(),this.c=w,u(n,"class","spacer"),u(e,"class","goa-official-site-header")},m(d,f){_(d,e,f),l&&l.m(e,null),h(e,t),s&&s.m(e,null),h(e,o),h(e,n),h(e,a),c&&c.m(e,null)},p(d,[f]){d[0]==="live"?l||(l=vi(),l.c(),l.m(e,t)):l&&(l.d(1),l=null),f&1&&(r=["alpha","beta"].includes(d[0])),r?s?s.p(d,f):(s=pi(d),s.c(),s.m(e,o)):s&&(s.d(1),s=null),d[1]?c?c.p(d,f):(c=_i(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:w,o:w,d(d){d&&C(e),l&&l.d(),s&&s.d(),c&&c.d()}}}function yi(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function To(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 ki extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}a{color:var(--goa-color-interactive);cursor:pointer}a:hover{color:var(--goa-color-interactive--hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive--hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--fs-xs);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;height:2.5rem;padding:0 0.5rem;gap:0.5rem}.spacer{flex:1 1 auto}.version{color:var(--goa-color-600)}.service-level{font-weight:bold;padding:0 0.5rem;height:1.5rem;display:flex;align-items:center}.service-level--alpha{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.service-level--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-level--live{padding:0}.site-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--goa-color-text)}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},To,Lo,I,{level:0,version:1,feedbackurl:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["level","version","feedbackurl"]}get level(){return this.$$.ctx[0]}set level(e){this.$$set({level:e}),g()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),g()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),g()}}customElements.define("goa-microsite-header",ki);function xi(i,e,t){const r=i.slice();return r[4]=e[t],r}function Ro(i){let e,t;return{c(){e=b("div"),u(e,"class",t="skeleton "+i[3]+` ${i[3]}-${i[1]}`)},m(r,o){_(r,e,o)},p(r,o){o&10&&t!==(t="skeleton "+r[3]+` ${r[3]}-${r[1]}`)&&u(e,"class",t)},i:w,o:w,d(r){r&&C(e)}}}function Ho(i){let e,t,r=Array(i[2]),o=[];for(let a=0;a<r.length;a+=1)o[a]=Ei(xi(i,r,a));const n=a=>Z(o[a],1,1,()=>{o[a]=null});return{c(){for(let a=0;a<o.length;a+=1)o[a].c();e=te()},m(a,l){for(let s=0;s<o.length;s+=1)o[s].m(a,l);_(a,e,l),t=!0},p(a,l){if(l&6){r=Array(a[2]);let s;for(s=0;s<r.length;s+=1){const c=xi(a,r,s);o[s]?(o[s].p(c,l),W(o[s],1)):(o[s]=Ei(c),o[s].c(),W(o[s],1),o[s].m(e.parentNode,e))}for(ge(),s=r.length;s<o.length;s+=1)n(s);he()}},i(a){if(!t){for(let l=0;l<r.length;l+=1)W(o[l]);t=!0}},o(a){o=o.filter(Boolean);for(let l=0;l<o.length;l+=1)Z(o[l]);t=!1},d(a){Oe(o,a),a&&C(e)}}}function So(i){let e,t,r,o,n,a,l,s,c,d;return r=new oe({props:{type:"avatar",size:i[1]}}),a=new oe({props:{type:"title",size:i[1]}}),s=new oe({props:{type:"text-small",size:i[1]}}),{c(){e=b("div"),t=b("div"),ue(r.$$.fragment),o=T(),n=b("div"),ue(a.$$.fragment),l=T(),ue(s.$$.fragment),u(t,"class","profile-avatar"),u(n,"class","profile-name"),u(e,"class",c="profile profile-"+i[1])},m(f,m){_(f,e,m),h(e,t),ne(r,t,null),h(e,o),h(e,n),ne(a,n,null),h(n,l),ne(s,n,null),d=!0},p(f,m){const v={};m&2&&(v.size=f[1]),r.$set(v);const k={};m&2&&(k.size=f[1]),a.$set(k);const p={};m&2&&(p.size=f[1]),s.$set(p),(!d||m&2&&c!==(c="profile profile-"+f[1]))&&u(e,"class",c)},i(f){d||(W(r.$$.fragment,f),W(a.$$.fragment,f),W(s.$$.fragment,f),d=!0)},o(f){Z(r.$$.fragment,f),Z(a.$$.fragment,f),Z(s.$$.fragment,f),d=!1},d(f){f&&C(e),ae(r),ae(a),ae(s)}}}function Do(i){let e,t,r,o,n,a,l,s,c;return t=new oe({props:{type:"image",size:i[1]}}),n=new oe({props:{type:"header",size:i[1]}}),l=new oe({props:{type:"lines",size:i[1],count:3}}),{c(){e=b("div"),ue(t.$$.fragment),r=T(),o=b("div"),ue(n.$$.fragment),a=T(),ue(l.$$.fragment),u(o,"class","card-content"),u(e,"class",s="card card-"+i[1]),V(e,"--width",i[0]+"px")},m(d,f){_(d,e,f),ne(t,e,null),h(e,r),h(e,o),ne(n,o,null),h(o,a),ne(l,o,null),c=!0},p(d,f){const m={};f&2&&(m.size=d[1]),t.$set(m);const v={};f&2&&(v.size=d[1]),n.$set(v);const k={};f&2&&(k.size=d[1]),l.$set(k),(!c||f&2&&s!==(s="card card-"+d[1]))&&u(e,"class",s),(!c||f&1)&&V(e,"--width",d[0]+"px")},i(d){c||(W(t.$$.fragment,d),W(n.$$.fragment,d),W(l.$$.fragment,d),c=!0)},o(d){Z(t.$$.fragment,d),Z(n.$$.fragment,d),Z(l.$$.fragment,d),c=!1},d(d){d&&C(e),ae(t),ae(n),ae(l)}}}function Ei(i){let e,t;return e=new oe({props:{type:"text",size:i[1],count:i[2]}}),{c(){ue(e.$$.fragment)},m(r,o){ne(e,r,o),t=!0},p(r,o){const n={};o&2&&(n.size=r[1]),o&4&&(n.count=r[2]),e.$set(n)},i(r){t||(W(e.$$.fragment,r),t=!0)},o(r){Z(e.$$.fragment,r),t=!1},d(r){ae(e,r)}}}function Bo(i){let e,t,r,o;const n=[Do,So,Ho,Ro],a=[];function l(s,c){return s[3]==="card"?0:s[3]==="profile"?1:s[3]==="lines"?2:3}return e=l(i),t=a[e]=n[e](i),{c(){t.c(),r=te(),this.c=w},m(s,c){a[e].m(s,c),_(s,r,c),o=!0},p(s,[c]){let d=e;e=l(s),e===d?a[e].p(s,c):(ge(),Z(a[d],1,1,()=>{a[d]=null}),he(),t=a[e],t?t.p(s,c):(t=a[e]=n[e](s),t.c()),W(t,1),t.m(r.parentNode,r))},i(s){o||(W(t),o=!0)},o(s){Z(t),o=!1},d(s){a[e].d(s),s&&C(r)}}}function Io(i,e,t){let{width:r=320}=e,{size:o=1}=e,{count:n=3}=e,{type:a}=e;return i.$$set=l=>{"width"in l&&t(0,r=l.width),"size"in l&&t(1,o=l.size),"count"in l&&t(2,n=l.count),"type"in l&&t(3,a=l.type)},[r,o,n,a]}class oe extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--color-gray-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--color-gray-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-3,.text-4{width:100%;height:.75rem;border-radius:0.25rem;margin:6px 0}.title,.title-1,.title-2{width:100%;height:.75rem;border-radius:0.25rem}.title-3{height:.8rem}.title-4{height:1rem}.text-small,.text-small-1{width:30%;height:6px;border-radius:2px}.text-small-2{width:40%;height:8px;border-radius:2px}.text-small-3{width:50%;height:10px;border-radius:3px}.text-small-4{width:70%;height:12px;border-radius:4px}.paragraph{width:100%;height:70px;border-radius:4px}.header,.header-1{width:50%;height:18px;margin:12px 0;border-radius:0.25rem}.header-2{width:60%;height:20px;margin:14px 0;border-radius:0.25rem}.header-3{width:70%;height:22px;margin:16px 0;border-radius:0.25rem}.header-4{width:80%;height:24px;margin:18px 0;border-radius:0.3rem}.avatar{display:inline-block}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail{display:inline-block}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card{display:inline-block}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--color-gray-100);border-radius:4px}.card{width:100%}@media(min-width: 320px){.card{width:var(--width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Io,Bo,I,{width:0,size:1,count:2,type:3},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["width","size","count","type"]}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get count(){return this.$$.ctx[2]}set count(e){this.$$set({count:e}),g()}get type(){return this.$$.ctx[3]}set type(e){this.$$set({type:e}),g()}}customElements.define("goa-skeleton",oe);function Ci(i){return Object.prototype.toString.call(i)==="[object Date]"}function qe(i,e){if(i===e||i!==i)return()=>i;const t=typeof i;if(t!==typeof e||Array.isArray(i)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(i)){const r=e.map((o,n)=>qe(i[n],o));return o=>r.map(n=>n(o))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(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]=qe(i[n],e[n])}),n=>{const a={};return r.forEach(l=>{a[l]=o[l](n)}),a}}if(t==="number"){const r=e-i;return o=>i+o*r}throw new Error(`Cannot interpolate ${t} values`)}function Go(i,e={}){const t=zt(i);let r,o=i;function n(a,l){if(i==null)return t.set(i=a),Promise.resolve();o=a;let s=r,c=!1,{delay:d=0,duration:f=400,easing:m=ve,interpolate:v=qe}=Ue(Ue({},e),l);if(f===0)return s&&(s.abort(),s=null),t.set(i=o),Promise.resolve();const k=Me()+d;let p;return r=Ae(M=>{if(M<k)return!0;c||(p=v(i,a),typeof f=="function"&&(f=f(i,a)),c=!0),s&&(s.abort(),s=null);const x=M-k;return x>f?(t.set(i=a),!1):(t.set(i=p(m(x/f))),!0)}),r.promise}return{set:n,update:(a,l)=>n(a(o,i),l),subscribe:t.subscribe}}function zi(i){let e,t,r,o,n,a,l,s,c;return{c(){e=ce("svg"),t=ce("circle"),n=ce("path"),u(t,"cx",i[3]),u(t,"cy",i[3]),u(t,"stroke",r=i[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),u(t,"stroke-width",i[4]),u(t,"r",o=i[3]-i[4]/2),u(n,"d",a=i[9](i[7])),u(n,"stroke-width",i[4]),u(n,"stroke",l=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),u(n,"stroke-linecap","round"),u(e,"class",s=`spinner-${i[1]}`),u(e,"fill","none"),u(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),u(e,"width",i[5]),u(e,"height",i[5]),u(e,"data-testid",i[2]),u(e,"xmlns","http://www.w3.org/2000/svg")},m(d,f){_(d,e,f),h(e,t),h(e,n)},p(d,f){f&8&&u(t,"cx",d[3]),f&8&&u(t,"cy",d[3]),f&1&&r!==(r=d[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&u(t,"stroke",r),f&16&&u(t,"stroke-width",d[4]),f&24&&o!==(o=d[3]-d[4]/2)&&u(t,"r",o),f&128&&a!==(a=d[9](d[7]))&&u(n,"d",a),f&16&&u(n,"stroke-width",d[4]),f&1&&l!==(l=d[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&u(n,"stroke",l),f&2&&s!==(s=`spinner-${d[1]}`)&&u(e,"class",s),f&32&&c!==(c="0 0 "+d[5]+" "+d[5])&&u(e,"viewBox",c),f&32&&u(e,"width",d[5]),f&32&&u(e,"height",d[5]),f&4&&u(e,"data-testid",d[2])},d(d){d&&C(e)}}}function No(i){let e,t=i[6]&&zi(i);return{c(){t&&t.c(),e=te(),this.c=w},m(r,o){t&&t.m(r,o),_(r,e,o)},p(r,[o]){r[6]?t?t.p(r,o):(t=zi(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:w,o:w,d(r){t&&t.d(r),r&&C(e)}}}function Oo(i,e,t){let r,o,n,a,l,s,{size:c}=e,{invert:d=!1}=e,{type:f="infinite"}=e,{progress:m="0"}=e,{testid:v=""}=e;const k=Go(0,{duration:500,easing:uo});Yi(i,k,x=>t(7,s=x));function p(x){const z=n+a*Math.cos(x),y=n+a*Math.sin(x);return z+" "+y}function M(x){switch(f){case"progress":{const z=p(-Math.PI/2),y=p(-Math.PI/2+2*Math.PI*(x/100)),A=x%100<50?0:1;return`M ${z} A ${a} ${a} 0 ${A} 1 ${y}`}case"infinite":{const z=p(Math.PI*1.5),y=p(0);return`M ${z} A ${a} ${a} 0 1 0 ${y}`}}}return i.$$set=x=>{"size"in x&&t(10,c=x.size),"invert"in x&&t(0,d=x.invert),"type"in x&&t(1,f=x.type),"progress"in x&&t(11,m=x.progress),"testid"in x&&t(2,v=x.testid)},i.$$.update=()=>{i.$$.dirty&2048&&k.set(parseFloat(m)),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&&m)},[d,f,v,n,o,r,l,s,k,M,c,m,a]}class Mi extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Oo,No,I,{size:10,invert:0,type:1,progress:11,testid:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["size","invert","type","progress","testid"]}get size(){return this.$$.ctx[10]}set size(e){this.$$set({size:e}),g()}get invert(){return this.$$.ctx[0]}set invert(e){this.$$set({invert:e}),g()}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),g()}get progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),g()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-spinner",Mi);function Ai(i){let e;function t(n,a){if(n[6]>0)return jo;if(n[1].length>0)return Po}let r=t(i),o=r&&r(i);return{c(){o&&o.c(),e=te()},m(n,a){o&&o.m(n,a),_(n,e,a)},p(n,a){r===(r=t(n))&&o?o.p(n,a):(o&&o.d(1),o=r&&r(n),o&&(o.c(),o.m(e.parentNode,e)))},d(n){o&&o.d(n),n&&C(e)}}}function Po(i){let e,t=i[1].length+"",r;return{c(){e=b("div"),r=j(t),u(e,"class","counter")},m(o,n){_(o,e,n),h(e,r)},p(o,n){n&2&&t!==(t=o[1].length+"")&&q(r,t)},d(o){o&&C(e)}}}function jo(i){let e,t=i[1].length+"",r,o=`/${i[6]}`,n;return{c(){e=b("div"),r=j(t),n=j(o),u(e,"class","counter"),D(e,"counter-error",i[1].length>i[6])},m(a,l){_(a,e,l),h(e,r),h(e,n)},p(a,l){l&2&&t!==(t=a[1].length+"")&&q(r,t),l&64&&o!==(o=`/${a[6]}`)&&q(n,o),l&66&&D(e,"counter-error",a[1].length>a[6])},d(a){a&&C(e)}}}function Fo(i){let e,t,r,o,n,a,l=i[8]&&Ai(i);return{c(){e=b("div"),t=b("textarea"),r=T(),l&&l.c(),this.c=w,u(t,"name",i[0]),u(t,"placeholder",i[2]),t.value=i[1],u(t,"rows",i[3]),u(t,"class","goa-textarea"),t.disabled=i[7],t.readOnly=i[9],u(t,"data-testid",i[4]),D(t,"error",i[10]),u(e,"class","container"),u(e,"style",o=`
|
|
55
|
+
`),d&&d.c(),u(e,"data-testid","level"),u(e,"class",o="service-level service-level--"+i[0].toLowerCase()),u(s,"href","https://www.alberta.ca/index.aspx"),u(a,"data-testid","site-text"),u(a,"class","site-text")},m(f,m){_(f,e,m),h(e,r),_(f,n,m),_(f,a,m),h(a,l),h(a,s),h(a,c),d&&d.m(a,null)},p(f,m){m&1&&t!==(t=ki(f[0])+"")&&q(r,t),m&1&&o!==(o="service-level service-level--"+f[0].toLowerCase())&&u(e,"class",o),f[2]?d?d.p(f,m):(d=_i(f),d.c(),d.m(a,null)):d&&(d.d(1),d=null)},d(f){f&&C(e),f&&C(n),f&&C(a),d&&d.d()}}}function _i(i){let e,t,r,o;return{c(){e=b("span"),t=j("\u2014 help us improve it by giving "),r=b("a"),o=j("feedback"),u(r,"href",i[2]),u(e,"data-testid","feedback")},m(n,a){_(n,e,a),h(e,t),h(e,r),h(r,o)},p(n,a){a&4&&u(r,"href",n[2])},d(n){n&&C(e)}}}function yi(i){let e,t;return{c(){e=b("div"),t=j(i[1]),u(e,"data-testid","version"),u(e,"class","version")},m(r,o){_(r,e,o),h(e,t)},p(r,o){o&2&&q(t,r[1])},d(r){r&&C(e)}}}function To(i){let e,t,r=["alpha","beta"].includes(i[0]),o,n,a,l=i[0]==="live"&&pi(),s=r&&wi(i),c=i[1]&&yi(i);return{c(){e=b("header"),l&&l.c(),t=T(),s&&s.c(),o=T(),n=b("div"),a=T(),c&&c.c(),this.c=w,u(n,"class","spacer"),u(e,"class","goa-official-site-header")},m(d,f){_(d,e,f),l&&l.m(e,null),h(e,t),s&&s.m(e,null),h(e,o),h(e,n),h(e,a),c&&c.m(e,null)},p(d,[f]){d[0]==="live"?l||(l=pi(),l.c(),l.m(e,t)):l&&(l.d(1),l=null),f&1&&(r=["alpha","beta"].includes(d[0])),r?s?s.p(d,f):(s=wi(d),s.c(),s.m(e,o)):s&&(s.d(1),s=null),d[1]?c?c.p(d,f):(c=yi(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:w,o:w,d(d){d&&C(e),l&&l.d(),s&&s.d(),c&&c.d()}}}function ki(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function Ro(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 Ei extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}a{color:var(--goa-color-interactive);cursor:pointer}a:hover{color:var(--goa-color-interactive--hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive--hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--fs-xs);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;height:2.5rem;padding:0 0.5rem;gap:0.5rem}.spacer{flex:1 1 auto}.version{color:var(--goa-color-600)}.service-level{font-weight:bold;padding:0 0.5rem;height:1.5rem;display:flex;align-items:center}.service-level--alpha{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.service-level--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-level--live{padding:0}.site-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--goa-color-text)}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Ro,To,I,{level:0,version:1,feedbackurl:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["level","version","feedbackurl"]}get level(){return this.$$.ctx[0]}set level(e){this.$$set({level:e}),g()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),g()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),g()}}customElements.define("goa-microsite-header",Ei);function xi(i,e,t){const r=i.slice();return r[4]=e[t],r}function Ho(i){let e,t;return{c(){e=b("div"),u(e,"class",t="skeleton "+i[3]+` ${i[3]}-${i[1]}`)},m(r,o){_(r,e,o)},p(r,o){o&10&&t!==(t="skeleton "+r[3]+` ${r[3]}-${r[1]}`)&&u(e,"class",t)},i:w,o:w,d(r){r&&C(e)}}}function So(i){let e,t,r=Array(i[2]),o=[];for(let a=0;a<r.length;a+=1)o[a]=Ci(xi(i,r,a));const n=a=>Z(o[a],1,1,()=>{o[a]=null});return{c(){for(let a=0;a<o.length;a+=1)o[a].c();e=te()},m(a,l){for(let s=0;s<o.length;s+=1)o[s].m(a,l);_(a,e,l),t=!0},p(a,l){if(l&6){r=Array(a[2]);let s;for(s=0;s<r.length;s+=1){const c=xi(a,r,s);o[s]?(o[s].p(c,l),W(o[s],1)):(o[s]=Ci(c),o[s].c(),W(o[s],1),o[s].m(e.parentNode,e))}for(ge(),s=r.length;s<o.length;s+=1)n(s);he()}},i(a){if(!t){for(let l=0;l<r.length;l+=1)W(o[l]);t=!0}},o(a){o=o.filter(Boolean);for(let l=0;l<o.length;l+=1)Z(o[l]);t=!1},d(a){Oe(o,a),a&&C(e)}}}function Do(i){let e,t,r,o,n,a,l,s,c,d;return r=new oe({props:{type:"avatar",size:i[1]}}),a=new oe({props:{type:"title",size:i[1]}}),s=new oe({props:{type:"text-small",size:i[1]}}),{c(){e=b("div"),t=b("div"),ue(r.$$.fragment),o=T(),n=b("div"),ue(a.$$.fragment),l=T(),ue(s.$$.fragment),u(t,"class","profile-avatar"),u(n,"class","profile-name"),u(e,"class",c="profile profile-"+i[1])},m(f,m){_(f,e,m),h(e,t),ne(r,t,null),h(e,o),h(e,n),ne(a,n,null),h(n,l),ne(s,n,null),d=!0},p(f,m){const p={};m&2&&(p.size=f[1]),r.$set(p);const k={};m&2&&(k.size=f[1]),a.$set(k);const v={};m&2&&(v.size=f[1]),s.$set(v),(!d||m&2&&c!==(c="profile profile-"+f[1]))&&u(e,"class",c)},i(f){d||(W(r.$$.fragment,f),W(a.$$.fragment,f),W(s.$$.fragment,f),d=!0)},o(f){Z(r.$$.fragment,f),Z(a.$$.fragment,f),Z(s.$$.fragment,f),d=!1},d(f){f&&C(e),ae(r),ae(a),ae(s)}}}function Bo(i){let e,t,r,o,n,a,l,s,c;return t=new oe({props:{type:"image",size:i[1]}}),n=new oe({props:{type:"header",size:i[1]}}),l=new oe({props:{type:"lines",size:i[1],count:3}}),{c(){e=b("div"),ue(t.$$.fragment),r=T(),o=b("div"),ue(n.$$.fragment),a=T(),ue(l.$$.fragment),u(o,"class","card-content"),u(e,"class",s="card card-"+i[1]),V(e,"--width",i[0]+"px")},m(d,f){_(d,e,f),ne(t,e,null),h(e,r),h(e,o),ne(n,o,null),h(o,a),ne(l,o,null),c=!0},p(d,f){const m={};f&2&&(m.size=d[1]),t.$set(m);const p={};f&2&&(p.size=d[1]),n.$set(p);const k={};f&2&&(k.size=d[1]),l.$set(k),(!c||f&2&&s!==(s="card card-"+d[1]))&&u(e,"class",s),(!c||f&1)&&V(e,"--width",d[0]+"px")},i(d){c||(W(t.$$.fragment,d),W(n.$$.fragment,d),W(l.$$.fragment,d),c=!0)},o(d){Z(t.$$.fragment,d),Z(n.$$.fragment,d),Z(l.$$.fragment,d),c=!1},d(d){d&&C(e),ae(t),ae(n),ae(l)}}}function Ci(i){let e,t;return e=new oe({props:{type:"text",size:i[1],count:i[2]}}),{c(){ue(e.$$.fragment)},m(r,o){ne(e,r,o),t=!0},p(r,o){const n={};o&2&&(n.size=r[1]),o&4&&(n.count=r[2]),e.$set(n)},i(r){t||(W(e.$$.fragment,r),t=!0)},o(r){Z(e.$$.fragment,r),t=!1},d(r){ae(e,r)}}}function Io(i){let e,t,r,o;const n=[Bo,Do,So,Ho],a=[];function l(s,c){return s[3]==="card"?0:s[3]==="profile"?1:s[3]==="lines"?2:3}return e=l(i),t=a[e]=n[e](i),{c(){t.c(),r=te(),this.c=w},m(s,c){a[e].m(s,c),_(s,r,c),o=!0},p(s,[c]){let d=e;e=l(s),e===d?a[e].p(s,c):(ge(),Z(a[d],1,1,()=>{a[d]=null}),he(),t=a[e],t?t.p(s,c):(t=a[e]=n[e](s),t.c()),W(t,1),t.m(r.parentNode,r))},i(s){o||(W(t),o=!0)},o(s){Z(t),o=!1},d(s){a[e].d(s),s&&C(r)}}}function Go(i,e,t){let{width:r=320}=e,{size:o=1}=e,{count:n=3}=e,{type:a}=e;return i.$$set=l=>{"width"in l&&t(0,r=l.width),"size"in l&&t(1,o=l.size),"count"in l&&t(2,n=l.count),"type"in l&&t(3,a=l.type)},[r,o,n,a]}class oe extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--color-gray-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--color-gray-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-3,.text-4{width:100%;height:.75rem;border-radius:0.25rem;margin:6px 0}.title,.title-1,.title-2{width:100%;height:.75rem;border-radius:0.25rem}.title-3{height:.8rem}.title-4{height:1rem}.text-small,.text-small-1{width:30%;height:6px;border-radius:2px}.text-small-2{width:40%;height:8px;border-radius:2px}.text-small-3{width:50%;height:10px;border-radius:3px}.text-small-4{width:70%;height:12px;border-radius:4px}.paragraph{width:100%;height:70px;border-radius:4px}.header,.header-1{width:50%;height:18px;margin:12px 0;border-radius:0.25rem}.header-2{width:60%;height:20px;margin:14px 0;border-radius:0.25rem}.header-3{width:70%;height:22px;margin:16px 0;border-radius:0.25rem}.header-4{width:80%;height:24px;margin:18px 0;border-radius:0.3rem}.avatar{display:inline-block}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail{display:inline-block}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card{display:inline-block}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--color-gray-100);border-radius:4px}.card{width:100%}@media(min-width: 320px){.card{width:var(--width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Go,Io,I,{width:0,size:1,count:2,type:3},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["width","size","count","type"]}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get count(){return this.$$.ctx[2]}set count(e){this.$$set({count:e}),g()}get type(){return this.$$.ctx[3]}set type(e){this.$$set({type:e}),g()}}customElements.define("goa-skeleton",oe);function zi(i){return Object.prototype.toString.call(i)==="[object Date]"}function qe(i,e){if(i===e||i!==i)return()=>i;const t=typeof i;if(t!==typeof e||Array.isArray(i)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(i)){const r=e.map((o,n)=>qe(i[n],o));return o=>r.map(n=>n(o))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(zi(i)&&zi(e)){i=i.getTime(),e=e.getTime();const n=e-i;return a=>new Date(i+a*n)}const r=Object.keys(e),o={};return r.forEach(n=>{o[n]=qe(i[n],e[n])}),n=>{const a={};return r.forEach(l=>{a[l]=o[l](n)}),a}}if(t==="number"){const r=e-i;return o=>i+o*r}throw new Error(`Cannot interpolate ${t} values`)}function No(i,e={}){const t=Mt(i);let r,o=i;function n(a,l){if(i==null)return t.set(i=a),Promise.resolve();o=a;let s=r,c=!1,{delay:d=0,duration:f=400,easing:m=ve,interpolate:p=qe}=Ue(Ue({},e),l);if(f===0)return s&&(s.abort(),s=null),t.set(i=o),Promise.resolve();const k=Me()+d;let v;return r=Ae(M=>{if(M<k)return!0;c||(v=p(i,a),typeof f=="function"&&(f=f(i,a)),c=!0),s&&(s.abort(),s=null);const E=M-k;return E>f?(t.set(i=a),!1):(t.set(i=v(m(E/f))),!0)}),r.promise}return{set:n,update:(a,l)=>n(a(o,i),l),subscribe:t.subscribe}}function Mi(i){let e,t,r,o,n,a,l,s,c;return{c(){e=ce("svg"),t=ce("circle"),n=ce("path"),u(t,"cx",i[3]),u(t,"cy",i[3]),u(t,"stroke",r=i[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),u(t,"stroke-width",i[4]),u(t,"r",o=i[3]-i[4]/2),u(n,"d",a=i[9](i[7])),u(n,"stroke-width",i[4]),u(n,"stroke",l=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),u(n,"stroke-linecap","round"),u(e,"class",s=`spinner-${i[1]}`),u(e,"fill","none"),u(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),u(e,"width",i[5]),u(e,"height",i[5]),u(e,"data-testid",i[2]),u(e,"xmlns","http://www.w3.org/2000/svg")},m(d,f){_(d,e,f),h(e,t),h(e,n)},p(d,f){f&8&&u(t,"cx",d[3]),f&8&&u(t,"cy",d[3]),f&1&&r!==(r=d[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&u(t,"stroke",r),f&16&&u(t,"stroke-width",d[4]),f&24&&o!==(o=d[3]-d[4]/2)&&u(t,"r",o),f&128&&a!==(a=d[9](d[7]))&&u(n,"d",a),f&16&&u(n,"stroke-width",d[4]),f&1&&l!==(l=d[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&u(n,"stroke",l),f&2&&s!==(s=`spinner-${d[1]}`)&&u(e,"class",s),f&32&&c!==(c="0 0 "+d[5]+" "+d[5])&&u(e,"viewBox",c),f&32&&u(e,"width",d[5]),f&32&&u(e,"height",d[5]),f&4&&u(e,"data-testid",d[2])},d(d){d&&C(e)}}}function Oo(i){let e,t=i[6]&&Mi(i);return{c(){t&&t.c(),e=te(),this.c=w},m(r,o){t&&t.m(r,o),_(r,e,o)},p(r,[o]){r[6]?t?t.p(r,o):(t=Mi(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:w,o:w,d(r){t&&t.d(r),r&&C(e)}}}function Po(i,e,t){let r,o,n,a,l,s,{size:c}=e,{invert:d=!1}=e,{type:f="infinite"}=e,{progress:m="0"}=e,{testid:p=""}=e;const k=No(0,{duration:500,easing:fo});Xi(i,k,E=>t(7,s=E));function v(E){const z=n+a*Math.cos(E),y=n+a*Math.sin(E);return z+" "+y}function M(E){switch(f){case"progress":{const z=v(-Math.PI/2),y=v(-Math.PI/2+2*Math.PI*(E/100)),A=E%100<50?0:1;return`M ${z} A ${a} ${a} 0 ${A} 1 ${y}`}case"infinite":{const z=v(Math.PI*1.5),y=v(0);return`M ${z} A ${a} ${a} 0 1 0 ${y}`}}}return i.$$set=E=>{"size"in E&&t(10,c=E.size),"invert"in E&&t(0,d=E.invert),"type"in E&&t(1,f=E.type),"progress"in E&&t(11,m=E.progress),"testid"in E&&t(2,p=E.testid)},i.$$.update=()=>{i.$$.dirty&2048&&k.set(parseFloat(m)),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&&m)},[d,f,p,n,o,r,l,s,k,M,c,m,a]}class Ai extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Po,Oo,I,{size:10,invert:0,type:1,progress:11,testid:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["size","invert","type","progress","testid"]}get size(){return this.$$.ctx[10]}set size(e){this.$$set({size:e}),g()}get invert(){return this.$$.ctx[0]}set invert(e){this.$$set({invert:e}),g()}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),g()}get progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),g()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-spinner",Ai);function Li(i){let e;function t(n,a){if(n[6]>0)return Fo;if(n[1].length>0)return jo}let r=t(i),o=r&&r(i);return{c(){o&&o.c(),e=te()},m(n,a){o&&o.m(n,a),_(n,e,a)},p(n,a){r===(r=t(n))&&o?o.p(n,a):(o&&o.d(1),o=r&&r(n),o&&(o.c(),o.m(e.parentNode,e)))},d(n){o&&o.d(n),n&&C(e)}}}function jo(i){let e,t=i[1].length+"",r;return{c(){e=b("div"),r=j(t),u(e,"class","counter")},m(o,n){_(o,e,n),h(e,r)},p(o,n){n&2&&t!==(t=o[1].length+"")&&q(r,t)},d(o){o&&C(e)}}}function Fo(i){let e,t=i[1].length+"",r,o=`/${i[6]}`,n;return{c(){e=b("div"),r=j(t),n=j(o),u(e,"class","counter"),D(e,"counter-error",i[1].length>i[6])},m(a,l){_(a,e,l),h(e,r),h(e,n)},p(a,l){l&2&&t!==(t=a[1].length+"")&&q(r,t),l&64&&o!==(o=`/${a[6]}`)&&q(n,o),l&66&&D(e,"counter-error",a[1].length>a[6])},d(a){a&&C(e)}}}function Vo(i){let e,t,r,o,n,a,l=i[8]&&Li(i);return{c(){e=b("div"),t=b("textarea"),r=T(),l&&l.c(),this.c=w,u(t,"name",i[0]),u(t,"placeholder",i[2]),t.value=i[1],u(t,"rows",i[3]),u(t,"class","goa-textarea"),t.disabled=i[7],t.readOnly=i[9],u(t,"data-testid",i[4]),D(t,"error",i[10]),u(e,"class","container"),u(e,"style",o=`
|
|
56
56
|
--width: ${i[5]};
|
|
57
|
-
`)},m(s,c){_(s,e,c),h(e,t),h(e,r),l&&l.m(e,null),n||(a=U(t,"keyup",i[11]),n=!0)},p(s,[c]){c&1&&u(t,"name",s[0]),c&4&&u(t,"placeholder",s[2]),c&2&&(t.value=s[1]),c&8&&u(t,"rows",s[3]),c&128&&(t.disabled=s[7]),c&512&&(t.readOnly=s[9]),c&16&&u(t,"data-testid",s[4]),c&1024&&D(t,"error",s[10]),s[8]?l?l.p(s,c):(l=
|
|
57
|
+
`)},m(s,c){_(s,e,c),h(e,t),h(e,r),l&&l.m(e,null),n||(a=U(t,"keyup",i[11]),n=!0)},p(s,[c]){c&1&&u(t,"name",s[0]),c&4&&u(t,"placeholder",s[2]),c&2&&(t.value=s[1]),c&8&&u(t,"rows",s[3]),c&128&&(t.disabled=s[7]),c&512&&(t.readOnly=s[9]),c&16&&u(t,"data-testid",s[4]),c&1024&&D(t,"error",s[10]),s[8]?l?l.p(s,c):(l=Li(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),c&32&&o!==(o=`
|
|
58
58
|
--width: ${s[5]};
|
|
59
|
-
`)&&u(e,"style",o)},i:w,o:w,d(s){s&&C(e),l&&l.d(),n=!1,a()}}}function
|
|
60
|
-
}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}</style>`,O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Vo,Fo,I,{name:0,value:1,placeholder:2,rows:3,testid:4,width:5,error:12,readonly:13,disabled:14,showcounter:15,maxcharcount:6},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","placeholder","rows","testid","width","error","readonly","disabled","showcounter","maxcharcount"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),g()}get placeholder(){return this.$$.ctx[2]}set placeholder(e){this.$$set({placeholder:e}),g()}get rows(){return this.$$.ctx[3]}set rows(e){this.$$set({rows:e}),g()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),g()}get width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),g()}get error(){return this.$$.ctx[12]}set error(e){this.$$set({error:e}),g()}get readonly(){return this.$$.ctx[13]}set readonly(e){this.$$set({readonly:e}),g()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),g()}get showcounter(){return this.$$.ctx[15]}set showcounter(e){this.$$set({showcounter:e}),g()}get maxcharcount(){return this.$$.ctx[6]}set maxcharcount(e){this.$$set({maxcharcount:e}),g()}}customElements.define("goa-textarea",Li);function qo(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=w},m(t,r){_(t,e,r),i[3](e)},p:w,i:w,o:w,d(t){t&&C(e),i[3](null)}}}function Wo(i){if(i.tabIndex>0||i.tabIndex===0&&i.getAttribute("tabIndex")!==null)return!0;if(i.disabled)return!1;switch(i.nodeName){case"A":return!!i.href&&i.rel!=="ignore";case"INPUT":return i.type!=="hidden"&&i.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}function Uo(i,e,t){let r,o=!1,n,a,{open:l}=e;function s(){document.removeEventListener("focus",x,!0)}function c(){document.addEventListener("focus",x,!0)}function d(y){if(!y)return!1;for(let A=0;A<y.length;A++){let L=y[A];if(M(L)||d(L.childNodes)||f(L)||m(L))return!0}return!1}function f(y){var A;if(y instanceof HTMLSlotElement){let L=(A=y)===null||A===void 0?void 0:A.assignedNodes();if(d(L))return!0}}function m(y){var A,L;if(y instanceof HTMLElement){let R=(L=(A=y)===null||A===void 0?void 0:A.shadowRoot)===null||L===void 0?void 0:L.childNodes;if(d(R))return!0}}function v(y){if(!y)return!1;for(let A=y.length-1;A>=0;A--){let L=y[A];if(M(L)||v(L.childNodes)||k(L)||p(L))return!0}return!1}function k(y){var A;if(y instanceof HTMLSlotElement){let L=(A=y)===null||A===void 0?void 0:A.assignedNodes();if(v(L))return!0}}function p(y){var A,L;if(y instanceof HTMLElement){let R=(L=(A=y)===null||A===void 0?void 0:A.shadowRoot)===null||L===void 0?void 0:L.childNodes;if(v(R))return!0}}function M(y){if(!Wo(y))return!1;o=!0;try{y.focus()}catch{}return o=!1,document.activeElement===y}function x(y){var A;if(o)return;const L=(A=a.firstChild)===null||A===void 0?void 0:A.assignedElements();if(!(L==null?void 0:L.length))return;const R=L[0];y.composedPath().includes(R)?n=y.target:(d(R.childNodes),n==document.activeElement&&v(R.childNodes),n=document.activeElement)}function z(y){ee[y?"unshift":"push"](()=>{a=y,t(0,a)})}return i.$$set=y=>{"open"in y&&t(1,l=y.open)},i.$$.update=()=>{i.$$.dirty&2&&t(2,r=F(l)),i.$$.dirty&4&&(r?c():s())},[a,l,r,z]}class Ti extends G{constructor(e){super();O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Uo,qo,I,{open:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["open"]}get open(){return this.$$.ctx[1]}set open(e){this.$$set({open:e}),g()}}customElements.define("goa-focus-trap",Ti);function Ri(i){let e;return{c(){e=b("goa-divider"),E(e,"spacing","small")},m(t,r){_(t,e,r)},d(t){t&&C(e)}}}function Zo(i){let e,t,r,o,n,a,l,s,c,d,f,m=i[1]?.length&&Ri();return{c(){e=b("footer"),t=b("div"),t.innerHTML='<slot name="nav"></slot>',r=T(),m&&m.c(),o=T(),n=b("div"),a=b("div"),a.innerHTML='<slot name="meta"></slot>',l=T(),s=b("div"),c=b("a"),c.innerHTML='<img alt="GoA Logo" class="logo" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E"/>',d=T(),f=b("a"),f.textContent=`\xA9 ${i[3]} Government of Alberta`,this.c=w,u(t,"class","nav-links"),u(a,"class","meta-links"),u(c,"href","https://alberta.ca"),u(f,"href","https://alberta.ca"),u(f,"class","goa-copyright"),u(s,"class","abgov"),D(s,"with-meta-links",i[2]?.length),u(n,"class","meta-section"),D(n,"with-meta-links",i[2]?.length),u(e,"class","app-footer")},m(v,k){_(v,e,k),h(e,t),h(e,r),m&&m.m(e,null),h(e,o),h(e,n),h(n,a),h(n,l),h(n,s),h(s,c),h(s,d),h(s,f),i[4](e)},p(v,[k]){v[1]?.length?m||(m=Ri(),m.c(),m.m(e,o)):m&&(m.d(1),m=null),k&4&&D(s,"with-meta-links",v[2]?.length),k&4&&D(n,"with-meta-links",v[2]?.length)},i:w,o:w,d(v){v&&C(e),m&&m.d(),i[4](null)}}}function Ko(i,e,t){let r,o,n;const a=new Date().getFullYear();Q(async()=>{await ye();const s=r.querySelector("slot[name=nav]"),c=r.querySelector("slot[name=meta]");t(1,o=s.assignedElements()),t(2,n=c.assignedElements())});function l(s){ee[s?"unshift":"push"](()=>{r=s,t(0,r)})}return[r,o,n,a,l]}class Yo extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>.app-footer{background-color:var(--color-gray-100);padding:2rem;margin-top:2rem;border-top:2px solid var(--color-gray-200);border-bottom:1rem solid var(--goa-color-brand)}.meta-section{display:flex;flex-direction:column;padding:1rem 0}.meta-section.with-meta-links{gap:2rem;justify-content:space-between}.meta-links{display:none}.with-meta-links .meta-links{display:block}.nav-links{display:flex;flex-direction:column;gap:2rem}.abgov{display:flex;flex-direction:column;justify-content:space-between;width:100%}@media(min-width: 640px){.meta-section{flex-direction:row;gap:2rem}.nav-links{flex-direction:row}.abgov{align-items:center;flex-direction:row-reverse}}.abgov.with-meta-links{gap:1rem;flex-direction:column;width:unset}@media(min-width: 640px){.abgov.with-meta-links{align-items:flex-end}}.goa-copyright{white-space:nowrap}a{color:var(--goa-color-text-secondary)}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Ko,Zo,I,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-app-footer",Yo);function Hi(i,e,t){const r=i.slice();return r[5]=e[t],r}function Si(i){let e,t,r,o;return{c(){e=b("div"),t=j(i[0]),r=T(),o=b("goa-divider"),u(e,"class","title"),E(o,"spacing","small")},m(n,a){_(n,e,a),h(e,t),_(n,r,a),_(n,o,a)},p(n,a){a&1&&q(t,n[0])},d(n){n&&C(e),n&&C(r),n&&C(o)}}}function Di(i){let e,t,r=i[5].innerHTML+"",o,n;return{c(){e=b("li"),t=b("a"),o=j(r),u(t,"href",n=i[5].href)},m(a,l){_(a,e,l),h(e,t),h(t,o)},p(a,l){l&8&&r!==(r=a[5].innerHTML+"")&&q(o,r),l&8&&n!==(n=a[5].href)&&u(t,"href",n)},d(a){a&&C(e)}}}function Xo(i){let e,t,r,o,n,a,l=i[0]&&Si(i),s=i[3],c=[];for(let d=0;d<s.length;d+=1)c[d]=Di(Hi(i,s,d));return{c(){e=b("section"),l&&l.c(),t=T(),r=b("div"),r.innerHTML="<slot></slot>",o=T(),n=b("ul");for(let d=0;d<c.length;d+=1)c[d].c();this.c=w,u(r,"class","hidden"),u(n,"class","links"),u(n,"style",a=`
|
|
59
|
+
`)&&u(e,"style",o)},i:w,o:w,d(s){s&&C(e),l&&l.d(),n=!1,a()}}}function qo(i,e,t){let r,o,n,a,{name:l}=e,{value:s=""}=e,{placeholder:c=""}=e,{rows:d=3}=e,{testid:f=""}=e,{width:m="60ch"}=e,{error:p="false"}=e,{readonly:k="false"}=e,{disabled:v="false"}=e,{showcounter:M="false"}=e,{maxcharcount:E=0}=e;function z(y){const L=y.target.value;o||(y.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:y,name:l,value:L}})),y.stopPropagation())}return i.$$set=y=>{"name"in y&&t(0,l=y.name),"value"in y&&t(1,s=y.value),"placeholder"in y&&t(2,c=y.placeholder),"rows"in y&&t(3,d=y.rows),"testid"in y&&t(4,f=y.testid),"width"in y&&t(5,m=y.width),"error"in y&&t(12,p=y.error),"readonly"in y&&t(13,k=y.readonly),"disabled"in y&&t(14,v=y.disabled),"showcounter"in y&&t(15,M=y.showcounter),"maxcharcount"in y&&t(6,E=y.maxcharcount)},i.$$.update=()=>{i.$$.dirty&4096&&t(10,r=F(p)),i.$$.dirty&16384&&t(7,o=F(v)),i.$$.dirty&8192&&t(9,n=F(k)),i.$$.dirty&32768&&t(8,a=F(M))},[l,s,c,d,f,m,E,o,a,n,r,z,p,k,v,M]}class Ti extends G{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.container{position:relative;width:100%}@media(min-width: 640px){.container{max-width:var(--width)}}.goa-textarea{display:block;width:100%;box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:3px;background:var(--color-white);color:var(--color-black, #ccc);padding:var(--input-padding, 0.5rem);font-size:var(--input-font-size);font-family:var(--font-family);min-width:100%}@media(min-width: 640px){.goa-textarea{min-width:0;width:var(--width)}}.goa-textarea[readonly]{cursor:pointer}.goa-textarea:hover{border-color:var(--goa-color-interactive--hover)}.goa-textarea:active,.goa-textarea:focus,.goa-textarea:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}.goa-textarea:disabled{border-color:var(--color-gray-200)}.goa-textarea:disabled:hover{border-color:var(--color-gray-200)}.goa-textarea:disabled:focus,.goa-textarea:disabled:active{box-shadow:none}.counter{position:absolute;right:0;padding-top:0.25rem;font-size:var(--fs-sm)}.counter-error{color:var(--goa-color-interactive--error)
|
|
60
|
+
}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}</style>`,O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},qo,Vo,I,{name:0,value:1,placeholder:2,rows:3,testid:4,width:5,error:12,readonly:13,disabled:14,showcounter:15,maxcharcount:6},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","placeholder","rows","testid","width","error","readonly","disabled","showcounter","maxcharcount"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),g()}get placeholder(){return this.$$.ctx[2]}set placeholder(e){this.$$set({placeholder:e}),g()}get rows(){return this.$$.ctx[3]}set rows(e){this.$$set({rows:e}),g()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),g()}get width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),g()}get error(){return this.$$.ctx[12]}set error(e){this.$$set({error:e}),g()}get readonly(){return this.$$.ctx[13]}set readonly(e){this.$$set({readonly:e}),g()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),g()}get showcounter(){return this.$$.ctx[15]}set showcounter(e){this.$$set({showcounter:e}),g()}get maxcharcount(){return this.$$.ctx[6]}set maxcharcount(e){this.$$set({maxcharcount:e}),g()}}customElements.define("goa-textarea",Ti);function Wo(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=w},m(t,r){_(t,e,r),i[3](e)},p:w,i:w,o:w,d(t){t&&C(e),i[3](null)}}}function Uo(i){if(i.tabIndex>0||i.tabIndex===0&&i.getAttribute("tabIndex")!==null)return!0;if(i.disabled)return!1;switch(i.nodeName){case"A":return!!i.href&&i.rel!=="ignore";case"INPUT":return i.type!=="hidden"&&i.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}function Zo(i,e,t){let r,o=!1,n,a,{open:l}=e;function s(){document.removeEventListener("focus",E,!0)}function c(){document.addEventListener("focus",E,!0)}function d(y){if(!y)return!1;for(let A=0;A<y.length;A++){let L=y[A];if(M(L)||d(L.childNodes)||f(L)||m(L))return!0}return!1}function f(y){var A;if(y instanceof HTMLSlotElement){let L=(A=y)===null||A===void 0?void 0:A.assignedNodes();if(d(L))return!0}}function m(y){var A,L;if(y instanceof HTMLElement){let R=(L=(A=y)===null||A===void 0?void 0:A.shadowRoot)===null||L===void 0?void 0:L.childNodes;if(d(R))return!0}}function p(y){if(!y)return!1;for(let A=y.length-1;A>=0;A--){let L=y[A];if(M(L)||p(L.childNodes)||k(L)||v(L))return!0}return!1}function k(y){var A;if(y instanceof HTMLSlotElement){let L=(A=y)===null||A===void 0?void 0:A.assignedNodes();if(p(L))return!0}}function v(y){var A,L;if(y instanceof HTMLElement){let R=(L=(A=y)===null||A===void 0?void 0:A.shadowRoot)===null||L===void 0?void 0:L.childNodes;if(p(R))return!0}}function M(y){if(!Uo(y))return!1;o=!0;try{y.focus()}catch{}return o=!1,document.activeElement===y}function E(y){var A;if(o)return;const L=(A=a.firstChild)===null||A===void 0?void 0:A.assignedElements();if(!(L==null?void 0:L.length))return;const R=L[0];y.composedPath().includes(R)?n=y.target:(d(R.childNodes),n==document.activeElement&&p(R.childNodes),n=document.activeElement)}function z(y){ee[y?"unshift":"push"](()=>{a=y,t(0,a)})}return i.$$set=y=>{"open"in y&&t(1,l=y.open)},i.$$.update=()=>{i.$$.dirty&2&&t(2,r=F(l)),i.$$.dirty&4&&(r?c():s())},[a,l,r,z]}class Ri extends G{constructor(e){super();O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Zo,Wo,I,{open:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["open"]}get open(){return this.$$.ctx[1]}set open(e){this.$$set({open:e}),g()}}customElements.define("goa-focus-trap",Ri);function Hi(i){let e;return{c(){e=b("goa-divider"),x(e,"spacing","small")},m(t,r){_(t,e,r)},d(t){t&&C(e)}}}function Ko(i){let e,t,r,o,n,a,l,s,c,d,f,m=i[1]?.length&&Hi();return{c(){e=b("footer"),t=b("div"),t.innerHTML='<slot name="nav"></slot>',r=T(),m&&m.c(),o=T(),n=b("div"),a=b("div"),a.innerHTML='<slot name="meta"></slot>',l=T(),s=b("div"),c=b("a"),c.innerHTML='<img alt="GoA Logo" class="logo" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E"/>',d=T(),f=b("a"),f.textContent=`\xA9 ${i[3]} Government of Alberta`,this.c=w,u(t,"class","nav-links"),u(a,"class","meta-links"),u(c,"href","https://alberta.ca"),u(f,"href","https://alberta.ca"),u(f,"class","goa-copyright"),u(s,"class","abgov"),D(s,"with-meta-links",i[2]?.length),u(n,"class","meta-section"),D(n,"with-meta-links",i[2]?.length),u(e,"class","app-footer")},m(p,k){_(p,e,k),h(e,t),h(e,r),m&&m.m(e,null),h(e,o),h(e,n),h(n,a),h(n,l),h(n,s),h(s,c),h(s,d),h(s,f),i[4](e)},p(p,[k]){p[1]?.length?m||(m=Hi(),m.c(),m.m(e,o)):m&&(m.d(1),m=null),k&4&&D(s,"with-meta-links",p[2]?.length),k&4&&D(n,"with-meta-links",p[2]?.length)},i:w,o:w,d(p){p&&C(e),m&&m.d(),i[4](null)}}}function Yo(i,e,t){let r,o,n;const a=new Date().getFullYear();Q(async()=>{await ye();const s=r.querySelector("slot[name=nav]"),c=r.querySelector("slot[name=meta]");t(1,o=s.assignedElements()),t(2,n=c.assignedElements())});function l(s){ee[s?"unshift":"push"](()=>{r=s,t(0,r)})}return[r,o,n,a,l]}class Xo extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>.app-footer{background-color:var(--color-gray-100);padding:2rem;margin-top:2rem;border-top:2px solid var(--color-gray-200);border-bottom:1rem solid var(--goa-color-brand)}.meta-section{display:flex;flex-direction:column;padding:1rem 0}.meta-section.with-meta-links{gap:2rem;justify-content:space-between}.meta-links{display:none}.with-meta-links .meta-links{display:block}.nav-links{display:flex;flex-direction:column;gap:2rem}.abgov{display:flex;flex-direction:column;justify-content:space-between;width:100%}@media(min-width: 640px){.meta-section{flex-direction:row;gap:2rem}.nav-links{flex-direction:row}.abgov{align-items:center;flex-direction:row-reverse}}.abgov.with-meta-links{gap:1rem;flex-direction:column;width:unset}@media(min-width: 640px){.abgov.with-meta-links{align-items:flex-end}}.goa-copyright{white-space:nowrap}a{color:var(--goa-color-text-secondary)}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Yo,Ko,I,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-app-footer",Xo);function Si(i,e,t){const r=i.slice();return r[5]=e[t],r}function Di(i){let e,t,r,o;return{c(){e=b("div"),t=j(i[0]),r=T(),o=b("goa-divider"),u(e,"class","title"),x(o,"spacing","small")},m(n,a){_(n,e,a),h(e,t),_(n,r,a),_(n,o,a)},p(n,a){a&1&&q(t,n[0])},d(n){n&&C(e),n&&C(r),n&&C(o)}}}function Bi(i){let e,t,r=i[5].innerHTML+"",o,n;return{c(){e=b("li"),t=b("a"),o=j(r),u(t,"href",n=i[5].href)},m(a,l){_(a,e,l),h(e,t),h(t,o)},p(a,l){l&8&&r!==(r=a[5].innerHTML+"")&&q(o,r),l&8&&n!==(n=a[5].href)&&u(t,"href",n)},d(a){a&&C(e)}}}function Jo(i){let e,t,r,o,n,a,l=i[0]&&Di(i),s=i[3],c=[];for(let d=0;d<s.length;d+=1)c[d]=Bi(Si(i,s,d));return{c(){e=b("section"),l&&l.c(),t=T(),r=b("div"),r.innerHTML="<slot></slot>",o=T(),n=b("ul");for(let d=0;d<c.length;d+=1)c[d].c();this.c=w,u(r,"class","hidden"),u(n,"class","links"),u(n,"style",a=`
|
|
61
61
|
--narrow-display-type: ${Math.ceil(i[1]/2)>1?"block":"flex"};
|
|
62
62
|
--narrow-column-count: ${Math.ceil(i[1]/2)};
|
|
63
63
|
--wide-display-type: ${i[1]>1?"block":"flex"};
|
|
64
64
|
--wide-column-count: ${i[1]};
|
|
65
|
-
`)},m(d,f){_(d,e,f),l&&l.m(e,null),h(e,t),h(e,r),h(e,o),h(e,n);for(let m=0;m<c.length;m+=1)c[m].m(n,null);i[4](e)},p(d,[f]){if(d[0]?l?l.p(d,f):(l=
|
|
65
|
+
`)},m(d,f){_(d,e,f),l&&l.m(e,null),h(e,t),h(e,r),h(e,o),h(e,n);for(let m=0;m<c.length;m+=1)c[m].m(n,null);i[4](e)},p(d,[f]){if(d[0]?l?l.p(d,f):(l=Di(d),l.c(),l.m(e,t)):l&&(l.d(1),l=null),f&8){s=d[3];let m;for(m=0;m<s.length;m+=1){const p=Si(d,s,m);c[m]?c[m].p(p,f):(c[m]=Bi(p),c[m].c(),c[m].m(n,null))}for(;m<c.length;m+=1)c[m].d(1);c.length=s.length}f&2&&a!==(a=`
|
|
66
66
|
--narrow-display-type: ${Math.ceil(d[1]/2)>1?"block":"flex"};
|
|
67
67
|
--narrow-column-count: ${Math.ceil(d[1]/2)};
|
|
68
68
|
--wide-display-type: ${d[1]>1?"block":"flex"};
|
|
69
69
|
--wide-column-count: ${d[1]};
|
|
70
|
-
`)&&u(n,"style",a)},i:w,o:w,d(d){d&&C(e),l&&l.d(),Oe(c,d),i[4](null)}}}function
|
|
70
|
+
`)&&u(n,"style",a)},i:w,o:w,d(d){d&&C(e),l&&l.d(),Oe(c,d),i[4](null)}}}function Qo(i,e,t){let{name:r=""}=e,{maxcolumncount:o=1}=e,n,a=[];Q(async()=>{if(await ye(),t(3,a=n.querySelector("slot").assignedElements()),!a.map(d=>d.hasAttribute("href")).reduce((d,f)=>d&&f,!0)){t(3,a=[]),console.warn("GoAFooterNavSection children must be anchor elements.");return}const c=document.createElement("style");c.innerHTML=`
|
|
71
71
|
:host {
|
|
72
72
|
flex-grow: ${o};
|
|
73
73
|
}
|
|
74
|
-
`,n.appendChild(c)});function l(s){ee[s?"unshift":"push"](()=>{n=s,t(2,n)})}return i.$$set=s=>{"name"in s&&t(0,r=s.name),"maxcolumncount"in s&&t(1,o=s.maxcolumncount)},[r,o,n,a,l]}class
|
|
74
|
+
`,n.appendChild(c)});function l(s){ee[s?"unshift":"push"](()=>{n=s,t(2,n)})}return i.$$set=s=>{"name"in s&&t(0,r=s.name),"maxcolumncount"in s&&t(1,o=s.maxcolumncount)},[r,o,n,a,l]}class $o extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{flex:auto}.title{font-size:var(--fs-xl);line-height:var(--lh-lg)}.hidden{display:none}.links{display:block;list-style-type:none;padding-left:0}@media(min-width: 720px){.links{display:var(--narrow-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--narrow-column-count)}}@media(min-width: 1024px){.links{display:var(--wide-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--wide-column-count)}}li{padding:0.75rem 0}a{color:var(--goa-color-text)}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Qo,Jo,I,{name:0,maxcolumncount:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","maxcolumncount"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get maxcolumncount(){return this.$$.ctx[1]}set maxcolumncount(e){this.$$set({maxcolumncount:e}),g()}}customElements.define("goa-app-footer-nav-section",$o);function Ii(i,e,t){const r=i.slice();return r[3]=e[t],r}function Gi(i){let e,t,r=i[3].innerHTML+"",o,n;return{c(){e=b("li"),t=b("a"),o=j(r),u(t,"href",n=i[3].href)},m(a,l){_(a,e,l),h(e,t),h(t,o)},p(a,l){l&2&&r!==(r=a[3].innerHTML+"")&&q(o,r),l&2&&n!==(n=a[3].href)&&u(t,"href",n)},d(a){a&&C(e)}}}function en(i){let e,t,r,o,n=i[1],a=[];for(let l=0;l<n.length;l+=1)a[l]=Gi(Ii(i,n,l));return{c(){e=b("section"),t=b("div"),t.innerHTML="<slot></slot>",r=T(),o=b("ul");for(let l=0;l<a.length;l+=1)a[l].c();this.c=w,u(t,"class","hidden")},m(l,s){_(l,e,s),h(e,t),h(e,r),h(e,o);for(let c=0;c<a.length;c+=1)a[c].m(o,null);i[2](e)},p(l,[s]){if(s&2){n=l[1];let c;for(c=0;c<n.length;c+=1){const d=Ii(l,n,c);a[c]?a[c].p(d,s):(a[c]=Gi(d),a[c].c(),a[c].m(o,null))}for(;c<a.length;c+=1)a[c].d(1);a.length=n.length}},i:w,o:w,d(l){l&&C(e),Oe(a,l),i[2](null)}}}function tn(i,e,t){let r,o=[];Q(async()=>{if(await ye(),t(1,o=r.querySelector("slot").assignedElements()),!o.map(l=>l.hasAttribute("href")).reduce((l,s)=>l&&s,!0)){t(1,o=[]),console.warn("GoAFooterMetaSection children must be anchor elements.");return}});function n(a){ee[a?"unshift":"push"](()=>{r=a,t(0,r)})}return[r,o,n]}class rn extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>.hidden{display:none}ul{display:flex;flex-wrap:wrap;gap:1rem;padding-left:0}li{list-style-type:none}a{color:var(--goa-color-text);white-space:nowrap}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},tn,en,I,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-app-footer-meta-section",rn);function on(i){let e,t;return{c(){e=b("div"),t=b("slot"),this.c=w,u(e,"class","goa-flex-col"),V(e,"gap",i[0])},m(r,o){_(r,e,o),h(e,t)},p(r,[o]){o&1&&V(e,"gap",r[0])},i:w,o:w,d(r){r&&C(e)}}}function nn(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 an extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);margin-bottom:3rem}.goa-flex-col{display:flex;flex-direction:column;gap:var(--gap)}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},nn,on,I,{gap:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["gap"]}get gap(){return this.$$.ctx[1]}set gap(e){this.$$set({gap:e}),g()}}customElements.define("goa-flex-col",an);function Ni(i){let e,t;return{c(){e=b("div"),t=j(i[0]),u(e,"slot","title"),u(e,"class","title")},m(r,o){_(r,e,o),h(e,t)},p(r,o){o&1&&q(t,r[0])},d(r){r&&C(e)}}}function Oi(i){let e;return{c(){e=b("div"),u(e,"class","actions"),u(e,"slot","actions")},m(t,r){_(t,e,r),e.innerHTML=i[1]},p(t,r){r&2&&(e.innerHTML=t[1])},d(t){t&&C(e)}}}function ln(i){let e,t,r,o,n=i[0]&&Ni(i),a=i[1]&&Oi(i);return{c(){e=b("goa-container"),n&&n.c(),t=T(),a&&a.c(),r=T(),o=b("div"),this.c=w,u(o,"class","content"),u(o,"slot",""),x(e,"variant",i[3]),x(e,"headingsize",i[4])},m(l,s){_(l,e,s),n&&n.m(e,null),h(e,t),a&&a.m(e,null),h(e,r),h(e,o),o.innerHTML=i[2]},p(l,[s]){l[0]?n?n.p(l,s):(n=Ni(l),n.c(),n.m(e,t)):n&&(n.d(1),n=null),l[1]?a?a.p(l,s):(a=Oi(l),a.c(),a.m(e,r)):a&&(a.d(1),a=null),s&4&&(o.innerHTML=l[2]),s&8&&x(e,"variant",l[3]),s&16&&x(e,"headingsize",l[4])},i:w,o:w,d(l){l&&C(e),n&&n.d(),a&&a.d()}}}function sn(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 Pi extends G{constructor(e){super();O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},sn,ln,I,{title:0,actions:1,content:2,variant:3,headingsize:4},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["title","actions","content","variant","headingsize"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),g()}get actions(){return this.$$.ctx[1]}set actions(e){this.$$set({actions:e}),g()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),g()}get variant(){return this.$$.ctx[3]}set variant(e){this.$$set({variant:e}),g()}get headingsize(){return this.$$.ctx[4]}set headingsize(e){this.$$set({headingsize:e}),g()}}customElements.define("test-container",Pi);function cn(i){let e;return{c(){e=b("hr"),this.c=w,V(e,"--spacing",i[0])},m(t,r){_(t,e,r)},p(t,[r]){r&1&&V(e,"--spacing",t[0])},i:w,o:w,d(t){t&&C(e)}}}function dn(i,e,t){let r,{spacing:o=""}=e;const n=["small","medium","large"];function a(l){return n.includes(l)}return Q(()=>{if(!a(o))throw"Invalid spacing"}),i.$$set=l=>{"spacing"in l&&t(1,o=l.spacing)},i.$$.update=()=>{i.$$.dirty&2&&t(0,r={small:"1rem",medium:"2rem",large:"4rem"}[o])},[r,o]}class ji extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>hr{padding:0;margin:var(--spacing) 0;border:none;border-top:1px solid var(--color-gray-200)}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},dn,cn,I,{spacing:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["spacing"]}get spacing(){return this.$$.ctx[1]}set spacing(e){this.$$set({spacing:e}),g()}}customElements.define("goa-divider",ji);function un(i){let e;return{c(){e=b("div"),e.innerHTML=`<section class="header"><slot name="header"></slot></section>
|
|
75
75
|
|
|
76
76
|
<main><slot></slot></main>
|
|
77
77
|
|
|
78
|
-
<section class="footer"><slot name="footer"></slot></section>`,this.c=w,u(e,"class","page")},m(t,r){_(t,e,r)},p:w,i:w,o:w,d(t){t&&C(e)}}}class
|
|
78
|
+
<section class="footer"><slot name="footer"></slot></section>`,this.c=w,u(e,"class","page")},m(t,r){_(t,e,r)},p:w,i:w,o:w,d(t){t&&C(e)}}}class Fi extends G{constructor(e){super();this.shadowRoot.innerHTML="<style>.page{height:100vh;display:flex;flex-direction:column}.header,.footer{flex:0 0 auto}main{flex:1 1 auto}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,un,I,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-page",Fi),B.ContainerWrapper=Pi,B.Divider=ji,B.GoAAppHeader=st,B.GoABadge=dt,B.GoAButton=gt,B.GoAButtonGroup=ht,B.GoACallout=bt,B.GoACard=vt,B.GoACardActions=pt,B.GoACardContent=wt,B.GoACardGroup=_t,B.GoACardImage=yt,B.GoACheckbox=kt,B.GoAChip=Ct,B.GoACircularProgress=ui,B.GoAContainer=zt,B.GoADropdown=It,B.GoADropdownItem=Gt,B.GoAFlexRow=Nt,B.GoAFocusTrap=Ri,B.GoAFormItem=Vt,B.GoAHeroBanner=qt,B.GoAIcon=Ut,B.GoAIconButton=Zt,B.GoAInput=Qt,B.GoAMicrositeHeader=Ei,B.GoAModal=oi,B.GoANotification=ai,B.GoAPageBlock=lt,B.GoAPageLayout=li,B.GoARadioGroup=mi,B.GoARadioItem=bi,B.GoAScrollable=vi,B.GoASkeleton=oe,B.GoASpinner=Ai,B.GoATextArea=Ti,B.Page=Fi,Object.defineProperty(B,"__esModule",{value:!0}),B[Symbol.toStringTag]="Module"});
|