@abgov/web-components 1.0.0-alpha.75 → 1.0.0-alpha.78
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 +6768 -7158
- package/web-components.umd.js +37 -23
package/web-components.umd.js
CHANGED
|
@@ -1,64 +1,78 @@
|
|
|
1
|
-
(function(D,
|
|
2
|
-
`;for(let
|
|
1
|
+
(function(D,_){typeof exports=="object"&&typeof module!="undefined"?_(exports):typeof define=="function"&&define.amd?define(["exports"],_):(D=typeof globalThis!="undefined"?globalThis:D||self,_(D["web-components"]={}))})(this,function(D){"use strict";function _(){}const be=i=>i;function qe(i,e){for(const t in e)i[t]=e[t];return i}function Ge(i){return i()}function We(){return Object.create(null)}function Q(i){i.forEach(Ge)}function ce(i){return typeof i=="function"}function G(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let ze;function Ue(i,e){return ze||(ze=document.createElement("a")),ze.href=e,i===ze.href}function Wi(i){return Object.keys(i).length===0}function Ui(i,...e){if(i==null)return _;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function Zi(i,e,t){i.$$.on_destroy.push(Ui(e,t))}function Ze(i){return i&&ce(i.destroy)?i.destroy:_}const Ke=typeof window!="undefined";let Ce=Ke?()=>window.performance.now():()=>Date.now(),Be=Ke?i=>requestAnimationFrame(i):_;const fe=new Set;function Ye(i){fe.forEach(e=>{e.c(i)||(fe.delete(e),e.f())}),fe.size!==0&&Be(Ye)}function Me(i){let e;return fe.size===0&&Be(Ye),{promise:new Promise(t=>{fe.add(e={c:i,f:t})}),abort(){fe.delete(e)}}}function m(i,e){i.appendChild(e)}function Xe(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function Ki(i){const e=w("style");return Yi(Xe(i),e),e.sheet}function Yi(i,e){m(i.head||i,e)}function k(i,e,t){i.insertBefore(e,t||null)}function C(i){i.parentNode.removeChild(i)}function Je(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function w(i){return document.createElement(i)}function de(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function j(i){return document.createTextNode(i)}function T(){return j(" ")}function oe(){return j("")}function U(i,e,t,r){return i.addEventListener(e,t,r),()=>i.removeEventListener(e,t,r)}function d(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function E(i,e,t){e in i?i[e]=typeof i[e]=="boolean"&&t===""?!0:t:d(i,e,t)}function Xi(i){return Array.from(i.childNodes)}function V(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function q(i,e,t,r){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,r?"important":"")}function I(i,e,t){i.classList[t?"add":"remove"](e)}function Ji(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 Ae=new Map;let Le=0;function Qi(i){let e=5381,t=i.length;for(;t--;)e=(e<<5)-e^i.charCodeAt(t);return e>>>0}function $i(i,e){const t={stylesheet:Ki(e),rules:{}};return Ae.set(i,t),t}function Te(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 x=e+(t-e)*n(M);c+=M*100+`%{${a(x,1-x)}}
|
|
3
3
|
`}const u=c+`100% {${a(t,1-t)}}
|
|
4
|
-
}`,f=`__svelte_${ar(u)}_${l}`,v=tt(i);je.add(v);const _=v.__svelte_stylesheet||(v.__svelte_stylesheet=ir(i).sheet),m=v.__svelte_rules||(v.__svelte_rules={});m[f]||(m[f]=!0,_.insertRule(`@keyframes ${f} ${u}`,_.cssRules.length));const h=i.style.animation||"";return i.style.animation=`${h?`${h}, `:""}${f} ${r}ms linear ${o}ms 1 both`,Le+=1,f}function Te(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(", "),Le-=o,Le||lr())}function lr(){Be(()=>{Le||(je.forEach(i=>{const e=i.__svelte_stylesheet;let t=e.cssRules.length;for(;t--;)e.deleteRule(t);i.__svelte_rules={}}),je.clear())})}let _e;function pe(i){_e=i}function it(){if(!_e)throw new Error("Function called outside component initialization");return _e}function ee(i){it().$$.on_mount.push(i)}function Fe(i){it().$$.on_destroy.push(i)}const ye=[],ae=[],He=[],rt=[],ot=Promise.resolve();let Pe=!1;function nt(){Pe||(Pe=!0,ot.then(g))}function at(){return nt(),ot}function te(i){He.push(i)}const Ve=new Set;let Ie=0;function g(){const i=_e;do{for(;Ie<ye.length;){const e=ye[Ie];Ie++,pe(e),sr(e.$$)}for(pe(null),ye.length=0,Ie=0;ae.length;)ae.pop()();for(let e=0;e<He.length;e+=1){const t=He[e];Ve.has(t)||(Ve.add(t),t())}He.length=0}while(ye.length);for(;rt.length;)rt.pop()();Pe=!1,Ve.clear(),pe(i)}function sr(i){if(i.fragment!==null){i.update(),Q(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(te)}}let we;function We(){return we||(we=Promise.resolve(),we.then(()=>{we=null})),we}function ue(i,e,t){i.dispatchEvent(nr(`${e?"intro":"outro"}${t}`))}const Se=new Set;let ie;function ke(){ie={r:0,c:[],p:ie}}function xe(){ie.r||Q(ie.c),ie=ie.p}function U(i,e){i&&i.i&&(Se.delete(i),i.i(e))}function Y(i,e,t,r){if(i&&i.o){if(Se.has(i))return;Se.add(i),ie.c.push(()=>{Se.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}}const qe={duration:0};function lt(i,e,t){let r=e(i,t),o=!1,n,a,l=0;function s(){n&&Te(i,n)}function c(){const{delay:f=0,duration:v=300,easing:_=ve,tick:m=w,css:h}=r||qe;h&&(n=Re(i,0,1,v,f,_,h,l++)),m(0,1);const E=Ae()+f,k=E+v;a&&a.abort(),o=!0,te(()=>ue(i,!0,"start")),a=Me(z=>{if(o){if(z>=k)return m(1,0),ue(i,!0,"end"),s(),o=!1;if(z>=E){const y=_((z-E)/v);m(y,1-y)}}return o})}let u=!1;return{start(){u||(u=!0,Te(i),ce(r)?(r=r(),We().then(c)):c())},invalidate(){u=!1},end(){o&&(s(),o=!1)}}}function st(i,e,t){let r=e(i,t),o=!0,n;const a=ie;a.r+=1;function l(){const{delay:s=0,duration:c=300,easing:u=ve,tick:f=w,css:v}=r||qe;v&&(n=Re(i,1,0,c,s,u,v));const _=Ae()+s,m=_+c;te(()=>ue(i,!1,"start")),Me(h=>{if(o){if(h>=m)return f(0,1),ue(i,!1,"end"),--a.r||Q(a.c),!1;if(h>=_){const E=u((h-_)/c);f(1-E,E)}}return o})}return ce(r)?We().then(()=>{r=r(),l()}):l(),{end(s){s&&r.tick&&r.tick(1,0),o&&(n&&Te(i,n),o=!1)}}}function Ne(i,e,t,r){let o=e(i,t),n=r?0:1,a=null,l=null,s=null;function c(){s&&Te(i,s)}function u(v,_){const m=v.b-n;return _*=Math.abs(m),{a:n,b:v.b,d:m,duration:_,start:v.start,end:v.start+_,group:v.group}}function f(v){const{delay:_=0,duration:m=300,easing:h=ve,tick:E=w,css:k}=o||qe,z={start:Ae()+_,b:v};v||(z.group=ie,ie.r+=1),a||l?l=z:(k&&(c(),s=Re(i,n,v,m,_,h,k)),v&&E(0,1),a=u(z,m),te(()=>ue(i,v,"start")),Me(y=>{if(l&&y>l.start&&(a=u(l,m),l=null,ue(i,a.b,"start"),k&&(c(),s=Re(i,n,a.b,a.duration,0,h,o.css))),a){if(y>=a.end)E(n=a.b,1-n),ue(i,a.b,"end"),l||(a.b?c():--a.group.r||Q(a.group.c)),a=null;else if(y>=a.start){const L=y-a.start;n=a.a+a.d*h(L/a.duration),E(n,1-n)}}return!!(a||l)}))}return{run(v){ce(o)?We().then(()=>{o=o(),f(v)}):f(v)},end(){c(),a=l=null}}}function ge(i,e){i.d(1),e.delete(i.key)}function he(i,e,t,r,o,n,a,l,s,c,u,f){let v=i.length,_=n.length,m=v;const h={};for(;m--;)h[i[m].key]=m;const E=[],k=new Map,z=new Map;for(m=_;m--;){const R=f(o,n,m),T=t(R);let G=a.get(T);G?r&&G.p(R,e):(G=c(T,R),G.c()),k.set(T,E[m]=G),T in h&&z.set(T,Math.abs(m-h[T]))}const y=new Set,L=new Set;function C(R){U(R,1),R.m(l,u),a.set(R.key,R),u=R.first,_--}for(;v&&_;){const R=E[_-1],T=i[v-1],G=R.key,Z=T.key;R===T?(u=R.first,v--,_--):k.has(Z)?!a.has(G)||y.has(G)?C(R):L.has(Z)?v--:z.get(G)>z.get(Z)?(L.add(G),C(R)):(y.add(Z),v--):(s(T,a),v--)}for(;v--;){const R=i[v];k.has(R.key)||s(R,a)}for(;_;)C(E[_-1]);return E}function le(i){i&&i.c()}function oe(i,e,t,r){const{fragment:o,on_mount:n,on_destroy:a,after_update:l}=i.$$;o&&o.m(e,t),r||te(()=>{const s=n.map(Ge).filter(ce);a?a.push(...s):Q(s),i.$$.on_mount=[]}),l.forEach(te)}function ne(i,e){const t=i.$$;t.fragment!==null&&(Q(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function cr(i,e){i.$$.dirty[0]===-1&&(ye.push(i),nt(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function F(i,e,t,r,o,n,a,l=[-1]){const s=_e;pe(i);const c=i.$$={fragment:null,ctx:null,props:n,update:w,not_equal:o,bound:Je(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:Je(),dirty:l,skip_bound:!1,root:e.target||s.$$.root};a&&a(c.root);let u=!1;if(c.ctx=t?t(i,e.props||{},(f,v,..._)=>{const m=_.length?_[0]:v;return c.ctx&&o(c.ctx[f],c.ctx[f]=m)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](m),u&&cr(i,f)),v}):[],c.update(),u=!0,Q(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=or(e.target);c.fragment&&c.fragment.l(f),f.forEach(A)}else c.fragment&&c.fragment.c();e.intro&&U(i.$$.fragment),oe(i,e.target,e.anchor,e.customElement),g()}pe(s)}let B;typeof HTMLElement=="function"&&(B=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(Ge).filter(ce);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){Q(this.$$.on_disconnect)}$destroy(){ne(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&&!$i(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});const dr=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function ur(i){return dr.test(i)}function fr(i){let e,t,r;return{c(){e=p("div"),t=p("slot"),this.c=w,d(e,"class","page-content"),d(e,"style",r=`--max-width: ${i[0]}`)},m(o,n){x(o,e,n),b(e,t)},p(o,[n]){n&1&&r!==(r=`--max-width: ${o[0]}`)&&d(e,"style",r)},i:w,o:w,d(o){o&&A(e)}}}function gr(i,e,t){const r={full:"100%"};let{width:o}=e,{_width:n}=e;function a(l){return!!(["full"].includes(o)||ur(l))}return ee(()=>{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 ct extends B{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>",F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},gr,fr,O,{width:1,_width:0},null),e&&(e.target&&x(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",ct);function hr(i){let e,t,r,o,n,a,l,s,c,u,f,v;return{c(){e=p("div"),t=p("a"),r=p("img"),n=H(),a=p("img"),s=H(),c=p("span"),u=P(i[1]),f=H(),v=p("div"),v.innerHTML="<slot></slot>",this.c=w,d(r,"alt","GoA Logo"),d(r,"class","image-mobile"),Oe(r.src,o="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||d(r,"src",o),d(a,"alt","GoA Logo"),d(a,"class","image-desktop"),Oe(a.src,l="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||d(a,"src",l),d(c,"class","title"),d(t,"href",i[0]),d(t,"class","app-link"),d(e,"class","app-header"),d(e,"data-testid",i[2])},m(_,m){x(_,e,m),b(e,t),b(t,r),b(t,n),b(t,a),b(t,s),b(t,c),b(c,u),b(e,f),b(e,v)},p(_,[m]){m&2&&W(u,_[1]),m&1&&d(t,"href",_[0]),m&4&&d(e,"data-testid",_[2])},i:w,o:w,d(_){_&&A(e)}}}function mr(i,e,t){let{url:r="#"}=e,{title:o=""}=e,{testid:n=""}=e;return i.$$set=a=>{"url"in a&&t(0,r=a.url),"title"in a&&t(1,o=a.title),"testid"in a&&t(2,n=a.testid)},[r,o,n]}class dt extends B{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>",F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},mr,hr,O,{url:0,title:1,testid:2},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["url","title","testid"]}get url(){return this.$$.ctx[0]}set url(e){this.$$set({url:e}),g()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),g()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-app-header",dt);const me=[];function ut(i,e=w){let t;const r=new Set;function o(l){if(O(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 br{constructor(){this.store=ut()}subscribe(e){this.store.subscribe(t=>{e(t)})}notify(e){this.store.update(()=>e)}}function Ue(i){const e=new br;return Ee[i]=e,e}async function De(i){return await ft(i,0)}async function ft(i,e){if(e>10)throw new Error(`Could not find context ${i}`);return Ee[i]?Ee[i]:(await at(),ft(i,e+1))}function Ke(i){!Ee[i]||delete Ee[i]}const gt="meta-link",ht="navigation-link";function mt(i,e,t){const r=i.slice();return r[18]=e[t],r}function bt(i,e,t){const r=i.slice();return r[24]=e[t],r}function vt(i,e,t){const r=i.slice();return r[21]=e[t],r}function _t(i,e,t){const r=i.slice();return r[24]=e[t],r}function pt(i){let e,t,r;function o(l,s){if(l[6].length)return _r;if(l[5].length)return vr}let n=o(i),a=n&&n(i);return{c(){e=p("div"),a&&a.c(),t=H(),r=p("hr"),d(e,"class","navigation-links"),d(r,"class","navigation-links-divider")},m(l,s){x(l,e,s),a&&a.m(e,null),x(l,t,s),x(l,r,s)},p(l,s){n===(n=o(l))&&a?a.p(l,s):(a&&a.d(1),a=n&&n(l),a&&(a.c(),a.m(e,null)))},d(l){l&&A(e),a&&a.d(),l&&A(t),l&&A(r)}}}function vr(i){let e,t=[],r=new Map,o=i[5];const n=a=>a[24].title;for(let a=0;a<o.length;a+=1){let l=bt(i,o,a),s=n(l);r.set(s,t[a]=yt(s,l))}return{c(){e=p("div");for(let a=0;a<t.length;a+=1)t[a].c();d(e,"class","navigation-section-name-less")},m(a,l){x(a,e,l);for(let s=0;s<t.length;s+=1)t[s].m(e,null)},p(a,l){l&32&&(o=a[5],t=he(t,l,n,1,a,o,r,e,ge,yt,null,bt))},d(a){a&&A(e);for(let l=0;l<t.length;l+=1)t[l].d()}}}function _r(i){let e=[],t=new Map,r,o=i[6];const n=a=>a[21];for(let a=0;a<o.length;a+=1){let l=vt(i,o,a),s=n(l);t.set(s,e[a]=kt(s,l))}return{c(){for(let a=0;a<e.length;a+=1)e[a].c();r=$()},m(a,l){for(let s=0;s<e.length;s+=1)e[s].m(a,l);x(a,r,l)},p(a,l){l&192&&(o=a[6],e=he(e,l,n,1,a,o,t,r.parentNode,ge,kt,r,vt))},d(a){for(let l=0;l<e.length;l+=1)e[l].d(a);a&&A(r)}}}function yt(i,e){let t,r=e[24].title+"",o,n;return{key:i,first:null,c(){t=p("a"),o=P(r),d(t,"href",n=e[24].url),d(t,"class","navigation-link"),this.first=t},m(a,l){x(a,t,l),b(t,o)},p(a,l){e=a,l&32&&r!==(r=e[24].title+"")&&W(o,r),l&32&&n!==(n=e[24].url)&&d(t,"href",n)},d(a){a&&A(t)}}}function wt(i,e){let t,r=e[24].title+"",o,n;return{key:i,first:null,c(){t=p("a"),o=P(r),d(t,"href",n=e[24].url),d(t,"class","navigation-link"),this.first=t},m(a,l){x(a,t,l),b(t,o)},p(a,l){e=a,l&64&&r!==(r=e[24].title+"")&&W(o,r),l&64&&n!==(n=e[24].url)&&d(t,"href",n)},d(a){a&&A(t)}}}function kt(i,e){let t,r,o=e[21].name+"",n,a,l,s,c,u=[],f=new Map,v,_=e[21].links;const m=h=>h[24].title;for(let h=0;h<_.length;h+=1){let E=_t(e,_,h),k=m(E);f.set(k,u[h]=wt(k,E))}return{key:i,first:null,c(){t=p("section"),r=p("span"),n=P(o),a=H(),l=p("hr"),s=H(),c=p("div");for(let h=0;h<u.length;h+=1)u[h].c();v=H(),d(r,"class","navigation-section-name"),d(l,"class","navigation-section-name-divider"),d(c,"class","navigation-section-links"),I(t,"multi-section-column",e[7].includes(e[21].name)),this.first=t},m(h,E){x(h,t,E),b(t,r),b(r,n),b(t,a),b(t,l),b(t,s),b(t,c);for(let k=0;k<u.length;k+=1)u[k].m(c,null);b(t,v)},p(h,E){e=h,E&64&&o!==(o=e[21].name+"")&&W(n,o),E&64&&(_=e[21].links,u=he(u,E,m,1,e,_,f,c,ge,wt,null,_t)),E&192&&I(t,"multi-section-column",e[7].includes(e[21].name))},d(h){h&&A(t);for(let E=0;E<u.length;E+=1)u[E].d()}}}function xt(i){let e,t=[],r=new Map,o=i[4];const n=a=>a[18].title;for(let a=0;a<o.length;a+=1){let l=mt(i,o,a),s=n(l);r.set(s,t[a]=Et(s,l))}return{c(){e=p("div");for(let a=0;a<t.length;a+=1)t[a].c();d(e,"class","meta-links")},m(a,l){x(a,e,l);for(let s=0;s<t.length;s+=1)t[s].m(e,null)},p(a,l){l&16&&(o=a[4],t=he(t,l,n,1,a,o,r,e,ge,Et,null,mt))},d(a){a&&A(e);for(let l=0;l<t.length;l+=1)t[l].d()}}}function Et(i,e){let t,r=e[18].title+"",o,n;return{key:i,first:null,c(){t=p("a"),o=P(r),d(t,"href",n=e[18].url),d(t,"class","meta-link"),this.first=t},m(a,l){x(a,t,l),b(t,o)},p(a,l){e=a,l&16&&r!==(r=e[18].title+"")&&W(o,r),l&16&&n!==(n=e[18].url)&&d(t,"href",n)},d(a){a&&A(t)}}}function pr(i){let e,t,r,o,n,a,l,s,c,u,f,v,_,m,h,E,k,z,y,L,C=(i[6].length||i[5].length)&&pt(i),R=i[4].length&&xt(i);return{c(){e=p("hr"),t=H(),r=p("div"),o=p("center"),n=p("div"),a=p("slot"),l=H(),C&&C.c(),s=H(),c=p("div"),R&&R.c(),u=H(),f=p("div"),v=p("a"),_=P("\xA9 "),m=P(i[3]),h=H(),E=p("a"),k=p("img"),y=H(),L=p("div"),this.c=w,d(e,"class","top-grey-bar"),d(v,"href",i[0]),d(v,"class","goa-copyright"),d(k,"alt","GoA Logo"),d(k,"class","logo"),Oe(k.src,z="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(k,"src",z),d(E,"href",i[1]),d(E,"title",i[2]),d(f,"class","logo-and-copyright"),I(f,"logo-and-copyright-with-links",i[4].length||i[5].length||i[6].length),I(c,"meta-links-logo-and-copyright",i[4].length),d(n,"class","footer"),I(n,"default-footer",i[13]),I(n,"meta-links-only-footer",i[12]),I(n,"navigation-links-only-footer",i[11]),I(n,"navigation-sections-only-footer",i[10]),I(n,"meta-and-navigation-links-only-footer",i[9]),I(n,"meta-and-navigation-sections-only-footer",i[8]),d(r,"class","app-footer-container"),d(L,"class","brand")},m(T,G){x(T,e,G),x(T,t,G),x(T,r,G),b(r,o),b(o,n),b(n,a),b(n,l),C&&C.m(n,null),b(n,s),b(n,c),R&&R.m(c,null),b(c,u),b(c,f),b(f,v),b(v,_),b(v,m),b(f,h),b(f,E),b(E,k),x(T,y,G),x(T,L,G)},p(T,[G]){T[6].length||T[5].length?C?C.p(T,G):(C=pt(T),C.c(),C.m(n,s)):C&&(C.d(1),C=null),T[4].length?R?R.p(T,G):(R=xt(T),R.c(),R.m(c,u)):R&&(R.d(1),R=null),G&8&&W(m,T[3]),G&1&&d(v,"href",T[0]),G&2&&d(E,"href",T[1]),G&4&&d(E,"title",T[2]),G&112&&I(f,"logo-and-copyright-with-links",T[4].length||T[5].length||T[6].length),G&16&&I(c,"meta-links-logo-and-copyright",T[4].length),G&8192&&I(n,"default-footer",T[13]),G&4096&&I(n,"meta-links-only-footer",T[12]),G&2048&&I(n,"navigation-links-only-footer",T[11]),G&1024&&I(n,"navigation-sections-only-footer",T[10]),G&512&&I(n,"meta-and-navigation-links-only-footer",T[9]),G&256&&I(n,"meta-and-navigation-sections-only-footer",T[8])},i:w,o:w,d(T){T&&A(e),T&&A(t),T&&A(r),C&&C.d(),R&&R.d(),T&&A(y),T&&A(L)}}}function yr(i,e,t){let r,o,n,a,l,s,{id:c="goa-app-footer-id"}=e,{multicolumnsectionnames:u=""}=e,{copyrighturl:f="#"}=e,{appurl:v="#"}=e,{title:_=""}=e,{copyrighttext:m="2021 Government of Alberta"}=e,h,E=[],k=[],z=[],y=[];function L(C){let R=z.filter(G=>G.name!==C.section),T=z.find(G=>G.name===C.section);T?t(6,z=[...R,{name:C.section,links:[...T.links,{title:C.title,url:C.url}]}]):t(6,z=[...R,{name:C.section,links:[{title:C.title,url:C.url}]}])}return ee(async()=>{h=Ue(c),h.subscribe(C=>{switch(C==null?void 0:C.type){case gt:{const R=C;t(4,E=[...E,{title:R.title,url:R.url}]);break}case ht:{const R=C;R.section?L(R):t(5,k=[...k,{title:R.title,url:R.url}]);break}}})}),Fe(()=>{Ke(c)}),i.$$set=C=>{"id"in C&&t(14,c=C.id),"multicolumnsectionnames"in C&&t(15,u=C.multicolumnsectionnames),"copyrighturl"in C&&t(0,f=C.copyrighturl),"appurl"in C&&t(1,v=C.appurl),"title"in C&&t(2,_=C.title),"copyrighttext"in C&&t(3,m=C.copyrighttext)},i.$$.update=()=>{i.$$.dirty&112&&t(13,r=!E.length&&!k.length&&!z.length),i.$$.dirty&112&&t(12,o=E.length&&!k.length&&!z.length),i.$$.dirty&112&&t(11,n=!E.length&&k.length&&!z.length),i.$$.dirty&112&&t(10,a=!E.length&&!k.length&&z.length),i.$$.dirty&112&&t(9,l=E.length&&k.length&&!z.length),i.$$.dirty&112&&t(8,s=E.length&&!k.length&&z.length),i.$$.dirty&32768&&t(7,y=u.split(",").map(C=>C.trim()))},[f,v,_,m,E,k,z,y,s,l,a,n,o,r,c,u]}class zt extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.top-grey-bar{border-top:2px solid var(--color-gray-200);margin:0;margin-top:2rem}.footer{max-width:var(--page-width-max);padding:0 2rem}.brand{height:1rem;background-color:var(--goa-color-brand)}.meta-links-logo-and-copyright{display:flex;flex-wrap:wrap;justify-content:space-between}.logo-and-copyright{display:flex;align-items:center;justify-content:space-between}.logo-and-copyright-with-links{align-items:flex-end;flex-direction:column-reverse}.meta-link{margin-top:3.5em;margin-right:1.75rem;color:var(--goa-color-text);font-size:var(--fs-base)}.logo{height:2.56rem;width:8.88rem}.app-footer-container{background-color:var(--color-gray-100)}.navigation-sections-only-footer .navigation-links,.meta-and-navigation-sections-only-footer .navigation-links{padding-top:1.75rem}.navigation-links{flex-direction:row;justify-content:flex-start;text-align:start;column-gap:1.75rem;display:flex;flex-direction:unset}.navigation-links section{flex-grow:1}.navigation-links section.multi-section-column{flex-grow:2}.multi-section-column .navigation-section-links{column-count:2}.meta-links{text-align:start;display:flex;flex-flow:wrap}.navigation-section-name-less{column-gap:1.75rem;width:100%;column-count:3}.navigation-section-name{font-size:var(--fs-xl);line-height:var(--lh-lg);font-weight:var(--fw-regular);margin-bottom:1.75rem;margin-top:1.75rem}.navigation-section-name-divider{margin-top:1.75rem;margin-bottom:0}.navigation-link{padding-top:1.75rem;color:var(--goa-color-text);font-size:var(--fs-base);display:block}.default-footer .logo-and-copyright{display:flex;align-items:center;justify-content:space-between}.meta-links-only-footer{padding-top:1.19em;padding-bottom:3.5em}.navigation-links-only-footer,.meta-and-navigation-links-only-footer,.meta-and-navigation-sections-only-footer,.navigation-sections-only-footer{padding-top:1.75rem;padding-bottom:3.5em}.meta-links-only-footer .meta-link{margin-top:2.34rem;margin-right:1.75rem;color:var(--goa-color-text)}.meta-and-navigation-links-only-footer .meta-link{margin-top:2.34rem;margin-right:1.75rem;color:var(--goa-color-text)}.meta-and-navigation-sections-only-footer .meta-link{margin-top:3.53rem;margin-right:1.75rem;color:var(--goa-color-text)}.default-footer .logo{margin-top:3.5rem;margin-bottom:3.5rem;display:block}.navigation-links-only-footer .logo,.meta-and-navigation-links-only-footer .logo,.meta-links-only-footer .logo{margin-top:1.75rem;margin-bottom:1.75rem}.navigation-sections-only-footer .logo,.meta-and-navigation-sections-only-footer .logo{margin-top:2.93rem;margin-bottom:1.75rem}.goa-copyright{margin-top:0;margin-bottom:0;font-size:var(--fs-base);color:var(--goa-color-text-secondary)}.navigation-links-divider{margin-top:1.75rem;margin-bottom:0}@media(max-width: 1024px){.logo{margin-top:2.125rem;margin-bottom:1.5rem}}@media(max-width: 640px){.logo-and-copyright{align-items:flex-start;flex-direction:column-reverse}.meta-links,.logo-and-copyright{flex:100%}.logo{width:7.8rem;height:2.25rem;margin-top:0;margin-bottom:0}.goa-copyright{font-size:var(--fs-sm)}.navigation-section-name{font-size:var(--fs-base);line-height:var(--lh-base);font-weight:var(--fw-bold);margin-bottom:1rem;margin-top:1.5rem}.navigation-link{padding-top:1.5rem;font-size:var(--fs-sm)}.meta-links-only-footer .meta-link,.meta-and-navigation-links-only-footer .meta-link,.meta-and-navigation-sections-only-footer .meta-link{margin-top:1.5rem;margin-right:1.25rem;margin-bottom:0;font-size:var(--fs-sm)}.default-footer,.meta-links-only-footer,.navigation-links-only-footer,.navigation-sections-only-footer,.meta-and-navigation-links-only-footer,.meta-and-navigation-sections-only-footer{padding-top:0.75rem;padding-bottom:2.25rem}.navigation-sections-only-footer,.meta-and-navigation-sections-only-footer{padding-top:0}.navigation-links-divider{margin-top:1.5rem;margin-bottom:0}.default-footer .logo{margin-top:1.5rem;margin-bottom:1.5rem}.default-footer .logo-and-copyright{align-items:flex-start}.navigation-links{flex-direction:column}.navigation-links section{margin-top:2.25rem}.navigation-section-name-divider{margin-top:1rem;margin-bottom:0}}@media(max-width: 960px){.navigation-section-name-less{column-count:2}.navigation-links section.multi-section-column{flex-grow:1}.multi-section-column .navigation-section-links{column-count:1}}@media(max-width: 640px){.navigation-section-name-less{column-count:1}}</style>",F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},yr,pr,O,{id:14,multicolumnsectionnames:15,copyrighturl:0,appurl:1,title:2,copyrighttext:3},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["id","multicolumnsectionnames","copyrighturl","appurl","title","copyrighttext"]}get id(){return this.$$.ctx[14]}set id(e){this.$$set({id:e}),g()}get multicolumnsectionnames(){return this.$$.ctx[15]}set multicolumnsectionnames(e){this.$$set({multicolumnsectionnames:e}),g()}get copyrighturl(){return this.$$.ctx[0]}set copyrighturl(e){this.$$set({copyrighturl:e}),g()}get appurl(){return this.$$.ctx[1]}set appurl(e){this.$$set({appurl:e}),g()}get title(){return this.$$.ctx[2]}set title(e){this.$$set({title:e}),g()}get copyrighttext(){return this.$$.ctx[3]}set copyrighttext(e){this.$$set({copyrighttext:e}),g()}}customElements.define("goa-app-footer",zt);function wr(i){return{c(){this.c=w},m:w,p:w,i:w,o:w,d:w}}function kr(i,e,t){let{footerid:r="goa-app-footer-id"}=e,{title:o=""}=e,{url:n=""}=e,a;return ee(async()=>{a=await De(r),a.notify({type:gt,url:n,title:o})}),i.$$set=l=>{"footerid"in l&&t(0,r=l.footerid),"title"in l&&t(1,o=l.title),"url"in l&&t(2,n=l.url)},[r,o,n]}class Ct extends B{constructor(e){super();F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},kr,wr,O,{footerid:0,title:1,url:2},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["footerid","title","url"]}get footerid(){return this.$$.ctx[0]}set footerid(e){this.$$set({footerid:e}),g()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),g()}get url(){return this.$$.ctx[2]}set url(e){this.$$set({url:e}),g()}}customElements.define("goa-meta-link",Ct);function xr(i){return{c(){this.c=w},m:w,p:w,i:w,o:w,d:w}}function Er(i,e,t){let{footerid:r="goa-app-footer-id"}=e,{title:o=""}=e,{url:n=""}=e,{section:a=""}=e,l;return ee(async()=>{l=await De(r),l.notify({type:ht,url:n,title:o,section:a})}),i.$$set=s=>{"footerid"in s&&t(0,r=s.footerid),"title"in s&&t(1,o=s.title),"url"in s&&t(2,n=s.url),"section"in s&&t(3,a=s.section)},[r,o,n,a]}class At extends B{constructor(e){super();F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Er,xr,O,{footerid:0,title:1,url:2,section:3},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["footerid","title","url","section"]}get footerid(){return this.$$.ctx[0]}set footerid(e){this.$$set({footerid:e}),g()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),g()}get url(){return this.$$.ctx[2]}set url(e){this.$$set({url:e}),g()}get section(){return this.$$.ctx[3]}set section(e){this.$$set({section:e}),g()}}customElements.define("goa-navigation-link",At);function V(i){return i==="false"?!1:i===""?!0:!!i}function zr(i){let e;return{c(){e=p("div"),q(e,"height","1.2rem"),q(e,"margin-left","-0.25rem")},m(t,r){x(t,e,r)},p:w,d(t){t&&A(e)}}}function Cr(i){let e;return{c(){e=p("goa-icon"),M(e,"type",i[3]),M(e,"size","small")},m(t,r){x(t,e,r)},p(t,r){r&8&&M(e,"type",t[3])},d(t){t&&A(e)}}}function Mt(i){let e,t;return{c(){e=p("div"),t=P(i[2]),d(e,"class","goa-badge-content")},m(r,o){x(r,e,o),b(e,t)},p(r,o){o&4&&W(t,r[2])},d(r){r&&A(e)}}}function Ar(i){let e,t,r;function o(s,c){return s[4]?Cr:zr}let n=o(i),a=n(i),l=i[2]&&Mt(i);return{c(){e=p("div"),a.c(),t=H(),l&&l.c(),this.c=w,d(e,"data-testid",i[1]),d(e,"data-type","goa-badge"),d(e,"class",r="goa-badge badge-"+i[0]),I(e,"icon-only",i[4]&&!i[2])},m(s,c){x(s,e,c),a.m(e,null),b(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=Mt(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),c&2&&d(e,"data-testid",s[1]),c&1&&r!==(r="goa-badge badge-"+s[0])&&d(e,"class",r),c&21&&I(e,"icon-only",s[4]&&!s[2])},i:w,o:w,d(s){s&&A(e),a.d(),l&&l.d()}}}function Mr(i,e,t){let r,o,{type:n}=e,{testid:a=""}=e,{icon:l="false"}=e,{content:s=""}=e;return i.$$set=c=>{"type"in c&&t(0,n=c.type),"testid"in c&&t(1,a=c.testid),"icon"in c&&t(5,l=c.icon),"content"in c&&t(2,s=c.content)},i.$$.update=()=>{i.$$.dirty&32&&t(4,r=V(l)),i.$$.dirty&1&&t(3,o={success:"checkmark-circle",warning:"alert-circle",information:"information-circle",emergency:"warning",inactive:"information-circle",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[n])},[n,a,s,o,r,l]}class Lt extends B{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>",F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Mr,Ar,O,{type:0,testid:1,icon:5,content:2},null),e&&(e.target&&x(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",Lt);function Lr(i){let e,t,r,o,n=i[4]&&Rt(i),a=i[5]&&Tt(i);return{c(){n&&n.c(),e=H(),t=p("div"),t.innerHTML="<slot></slot>",r=H(),a&&a.c(),o=$(),d(t,"class","text")},m(l,s){n&&n.m(l,s),x(l,e,s),x(l,t,s),x(l,r,s),a&&a.m(l,s),x(l,o,s)},p(l,s){l[4]?n?n.p(l,s):(n=Rt(l),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),l[5]?a?a.p(l,s):(a=Tt(l),a.c(),a.m(o.parentNode,o)):a&&(a.d(1),a=null)},d(l){n&&n.d(l),l&&A(e),l&&A(t),l&&A(r),a&&a.d(l),l&&A(o)}}}function Rr(i){let e,t,r;return{c(){e=p("div"),e.innerHTML="<slot></slot>",t=H(),r=p("goa-icon"),d(e,"class","text"),M(r,"id","trailing-icon"),M(r,"type","arrow-forward"),M(r,"inverted","true")},m(o,n){x(o,e,n),x(o,t,n),x(o,r,n)},p:w,d(o){o&&A(e),o&&A(t),o&&A(r)}}}function Rt(i){let e;return{c(){e=p("goa-icon"),M(e,"id","leading-icon"),M(e,"type",i[4]),M(e,"inverted",i[7])},m(t,r){x(t,e,r)},p(t,r){r&16&&M(e,"type",t[4]),r&128&&M(e,"inverted",t[7])},d(t){t&&A(e)}}}function Tt(i){let e;return{c(){e=p("goa-icon"),M(e,"id","trailing-icon"),M(e,"type",i[5]),M(e,"inverted",i[7])},m(t,r){x(t,e,r)},p(t,r){r&32&&M(e,"type",t[5]),r&128&&M(e,"inverted",t[7])},d(t){t&&A(e)}}}function Tr(i){let e,t,r,o;function n(s,c){return s[0]==="start"?Rr:Lr}let a=n(i),l=a(i);return{c(){e=p("button"),l.c(),this.c=w,d(e,"class",t=""+(i[0]+" "+i[1]+" "+i[2])),d(e,"title",i[3]),e.disabled=i[8],d(e,"data-testid",i[6]),I(e,"leading",i[4]),I(e,"trailing",i[5]||i[0]==="start")},m(s,c){x(s,e,c),l.m(e,null),r||(o=K(e,"click",Hr),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]))&&d(e,"class",t),c&8&&d(e,"title",s[3]),c&256&&(e.disabled=s[8]),c&64&&d(e,"data-testid",s[6]),c&23&&I(e,"leading",s[4]),c&39&&I(e,"trailing",s[5]||s[0]==="start")},i:w,o:w,d(s){s&&A(e),l.d(),r=!1,o()}}}function Hr(i){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),i.stopPropagation()}function Ir(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 u(y){return l.includes(y)}let{type:f="primary"}=e,{size:v=""}=e,{variant:_=""}=e,{title:m=""}=e,{disabled:h="false"}=e,{leadingicon:E=null}=e,{trailingicon:k=null}=e,{testid:z=""}=e;return ee(()=>{if(!s(f))throw"Invalid button type";if(!c(v))throw"Invalid button size";if(!u(_))throw"Invalid button variant"}),i.$$set=y=>{"type"in y&&t(0,f=y.type),"size"in y&&t(1,v=y.size),"variant"in y&&t(2,_=y.variant),"title"in y&&t(3,m=y.title),"disabled"in y&&t(9,h=y.disabled),"leadingicon"in y&&t(4,E=y.leadingicon),"trailingicon"in y&&t(5,k=y.trailingicon),"testid"in y&&t(6,z=y.testid)},i.$$.update=()=>{i.$$.dirty&512&&t(8,r=V(h)),i.$$.dirty&1&&t(7,o=f==="primary"||f==="start")},[f,v,_,m,E,k,z,o,r,h]}class Ht extends B{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>`,
|
|
6
|
-
}}</style>`,F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Br,Or,O,{elevation:0,width:1,testId:2},null),e&&(e.target&&x(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",Nt);function jr(i){let e;return{c(){e=p("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=w},m(t,r){x(t,e,r)},p:w,i:w,o:w,d(t){t&&A(e)}}}class Dt extends B{constructor(e){super();F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,jr,O,{},null),e&&e.target&&x(e.target,this,e.anchor)}}customElements.define("goa-card-actions",Dt);function Fr(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",this.c=w,d(e,"class","card-content")},m(t,r){x(t,e,r)},p:w,i:w,o:w,d(t){t&&A(e)}}}class Gt extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Fr,O,{},null),e&&e.target&&x(e.target,this,e.anchor)}}customElements.define("goa-card-content",Gt);function Pr(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",this.c=w,d(e,"class","card-group")},m(t,r){x(t,e,r)},p:w,i:w,o:w,d(t){t&&A(e)}}}class Ot extends B{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>",F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Pr,O,{},null),e&&e.target&&x(e.target,this,e.anchor)}}customElements.define("goa-card-group",Ot);function Vr(i){let e;return{c(){e=p("div"),this.c=w,d(e,"class","card-image"),q(e,"background-image","url("+i[0]+")"),q(e,"height",i[1]),q(e,"background-size","cover"),q(e,"background-position","center")},m(t,r){x(t,e,r)},p(t,[r]){r&1&&q(e,"background-image","url("+t[0]+")"),r&2&&q(e,"height",t[1])},i:w,o:w,d(t){t&&A(e)}}}function Wr(i,e,t){let{src:r}=e,{height:o="100%"}=e;return i.$$set=n=>{"src"in n&&t(0,r=n.src),"height"in n&&t(1,o=n.height)},[r,o]}class Bt extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Wr,Vr,O,{src:0,height:1},null),e&&(e.target&&x(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",Bt);function qr(i){let e,t;return{c(){e=de("svg"),t=de("path"),d(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),d(e,"id","checkmark"),d(e,"data-testid","checkmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 16 12.18")},m(r,o){x(r,e,o),b(e,t)},d(r){r&&A(e)}}}function Ur(i){let e,t;return{c(){e=de("svg"),t=de("rect"),d(t,"width","15"),d(t,"height","2"),d(e,"id","dashmark"),d(e,"data-testid","dashmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 15 2")},m(r,o){x(r,e,o),b(e,t)},d(r){r&&A(e)}}}function Kr(i){let e,t,r,o,n,a,l,s,c,u,f;function v(h,E){if(h[5])return Ur;if(h[4])return qr}let _=v(i),m=_&&_(i);return{c(){e=p("label"),t=p("div"),r=p("input"),n=H(),m&&m.c(),a=H(),l=p("div"),s=p("slot"),c=P(i[1]),this.c=w,d(r,"id",i[0]),d(r,"data-testid",i[3]),d(r,"name",i[0]),r.checked=i[4],r.disabled=i[7],d(r,"type","checkbox"),r.value=o=`${i[2]}`,d(t,"class","goa-checkbox-container"),I(t,"goa-checkbox--selected",i[4]),d(l,"class","goa-checkbox-text"),d(l,"data-testid","text"),d(e,"for",i[0]),d(e,"class","goa-checkbox"),I(e,"goa-checkbox--disabled",i[7]),I(e,"goa-checkbox--error",i[6])},m(h,E){x(h,e,E),b(e,t),b(t,r),b(t,n),m&&m.m(t,null),b(e,a),b(e,l),b(l,s),b(s,c),u||(f=K(r,"change",i[8]),u=!0)},p(h,[E]){E&1&&d(r,"id",h[0]),E&8&&d(r,"data-testid",h[3]),E&1&&d(r,"name",h[0]),E&16&&(r.checked=h[4]),E&128&&(r.disabled=h[7]),E&4&&o!==(o=`${h[2]}`)&&(r.value=o),_!==(_=v(h))&&(m&&m.d(1),m=_&&_(h),m&&(m.c(),m.m(t,null))),E&16&&I(t,"goa-checkbox--selected",h[4]),E&2&&W(c,h[1]),E&1&&d(e,"for",h[0]),E&128&&I(e,"goa-checkbox--disabled",h[7]),E&64&&I(e,"goa-checkbox--error",h[6])},i:w,o:w,d(h){h&&A(e),m&&m.d(),u=!1,f()}}}function Zr(i,e,t){let r,o,n,a,{name:l}=e,{checked:s}=e,{text:c=""}=e,{value:u=""}=e,{disabled:f}=e,{error:v}=e,{testid:_=""}=e;function m(h){const E=!n,k=E?`${u||"checked"}`:"";h.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:l,checked:E,value:k}}))}return i.$$set=h=>{"name"in h&&t(0,l=h.name),"checked"in h&&t(9,s=h.checked),"text"in h&&t(1,c=h.text),"value"in h&&t(2,u=h.value),"disabled"in h&&t(10,f=h.disabled),"error"in h&&t(11,v=h.error),"testid"in h&&t(3,_=h.testid)},i.$$.update=()=>{i.$$.dirty&1024&&t(7,r=V(f)),i.$$.dirty&2048&&t(6,o=V(v)),i.$$.dirty&512&&t(4,n=V(s))},t(5,a=!1),[l,c,u,_,n,a,o,r,m,s,f,v]}class jt extends B{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)}.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>',F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Zr,Kr,O,{name:0,checked:9,text:1,value:2,disabled:10,error:11,testid:3},null),e&&(e.target&&x(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",jt);function Ft(i){let e;return{c(){e=p("goa-icon"),M(e,"class","leading-icon"),M(e,"size","medium"),M(e,"type",i[0])},m(t,r){x(t,e,r)},p(t,r){r&1&&M(e,"type",t[0])},d(t){t&&A(e)}}}function Pt(i){let e,t,r;return{c(){e=p("goa-icon"),M(e,"class","delete-icon"),M(e,"size","medium"),M(e,"theme","filled"),M(e,"type","close-circle"),M(e,"fillcolor",t=i[4]?"var(--goa-color-status-emergency)":i[3]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)"),M(e,"opacity",r=i[4]?i[3]?1:.5:1)},m(o,n){x(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)")&&M(e,"fillcolor",t),n&24&&r!==(r=o[4]?o[3]?1:.5:1)&&M(e,"opacity",r)},d(o){o&&A(e)}}}function Xr(i){let e,t,r,o,n,a,l,s=i[0]&&Ft(i),c=i[5]&&Pt(i);return{c(){e=p("div"),s&&s.c(),t=H(),r=p("div"),o=P(i[1]),n=H(),c&&c.c(),this.c=w,d(r,"class","text"),d(e,"data-testid","chip"),d(e,"class","chip"),d(e,"tabindex","0"),I(e,"deletable",i[5]),I(e,"error",i[4])},m(u,f){x(u,e,f),s&&s.m(e,null),b(e,t),b(e,r),b(r,o),b(e,n),c&&c.m(e,null),i[9](e),a||(l=[K(e,"click",i[10]),K(e,"mouseover",i[11]),K(e,"mouseout",i[12]),K(e,"focus",i[13]),K(e,"blur",i[14])],a=!0)},p(u,[f]){u[0]?s?s.p(u,f):(s=Ft(u),s.c(),s.m(e,t)):s&&(s.d(1),s=null),f&2&&W(o,u[1]),u[5]?c?c.p(u,f):(c=Pt(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&32&&I(e,"deletable",u[5]),f&16&&I(e,"error",u[4])},i:w,o:w,d(u){u&&A(e),s&&s.d(),c&&c.d(),i[9](null),a=!1,Q(l)}}}function Yr(i,e,t){let{leadingicon:r=null}=e,{error:o="false"}=e,{deletable:n="false"}=e,{content:a}=e,l,s=!1,c,u;function f(z){l.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),z.stopPropagation()}function v(z){ae[z?"unshift":"push"](()=>{l=z,t(2,l)})}const _=z=>u&&f(z),m=()=>t(3,s=!0),h=()=>t(3,s=!1),E=()=>t(3,s=!1),k=()=>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=V(o)),i.$$.dirty&256&&t(5,u=V(n))},[r,a,l,s,c,u,f,o,n,v,_,m,h,E,k]}class Vt extends B{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>",F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Yr,Xr,O,{leadingicon:0,error:7,deletable:8,content:1},null),e&&(e.target&&x(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",Vt);function Jr(i){let e,t,r,o,n,a,l,s,c;return{c(){e=p("div"),t=p("header"),r=p("div"),r.innerHTML='<slot name="title"></slot>',o=H(),n=p("div"),n.innerHTML='<slot name="actions"></slot>',l=H(),s=p("div"),s.innerHTML="<slot></slot>",this.c=w,d(r,"class","title"),d(n,"class","actions"),d(t,"class",a="heading--"+i[2]),d(s,"class","content"),d(e,"class",c=`
|
|
4
|
+
}`,f=`__svelte_${Qi(u)}_${l}`,g=Xe(i),{stylesheet:p,rules:b}=Ae.get(g)||$i(g,i);b[f]||(b[f]=!0,p.insertRule(`@keyframes ${f} ${u}`,p.cssRules.length));const v=i.style.animation||"";return i.style.animation=`${v?`${v}, `:""}${f} ${r}ms linear ${o}ms 1 both`,Le+=1,f}function Re(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(", "),Le-=o,Le||er())}function er(){Be(()=>{Le||(Ae.forEach(i=>{const{stylesheet:e}=i;let t=e.cssRules.length;for(;t--;)e.deleteRule(t);i.rules={}}),Ae.clear())})}let ve;function pe(i){ve=i}function Qe(){if(!ve)throw new Error("Function called outside component initialization");return ve}function $(i){Qe().$$.on_mount.push(i)}function $e(i){Qe().$$.on_destroy.push(i)}const we=[],ee=[],He=[],et=[],tt=Promise.resolve();let Ne=!1;function it(){Ne||(Ne=!0,tt.then(h))}function he(){return it(),tt}function te(i){He.push(i)}const Oe=new Set;let Se=0;function h(){const i=ve;do{for(;Se<we.length;){const e=we[Se];Se++,pe(e),tr(e.$$)}for(pe(null),we.length=0,Se=0;ee.length;)ee.pop()();for(let e=0;e<He.length;e+=1){const t=He[e];Oe.has(t)||(Oe.add(t),t())}He.length=0}while(we.length);for(;et.length;)et.pop()();Ne=!1,Oe.clear(),pe(i)}function tr(i){if(i.fragment!==null){i.update(),Q(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(te)}}let ye;function Pe(){return ye||(ye=Promise.resolve(),ye.then(()=>{ye=null})),ye}function ue(i,e,t){i.dispatchEvent(Ji(`${e?"intro":"outro"}${t}`))}const Ie=new Set;let ie;function _e(){ie={r:0,c:[],p:ie}}function ke(){ie.r||Q(ie.c),ie=ie.p}function W(i,e){i&&i.i&&(Ie.delete(i),i.i(e))}function X(i,e,t,r){if(i&&i.o){if(Ie.has(i))return;Ie.add(i),ie.c.push(()=>{Ie.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}else r&&r()}const je={duration:0};function rt(i,e,t){let r=e(i,t),o=!1,n,a,l=0;function s(){n&&Re(i,n)}function c(){const{delay:f=0,duration:g=300,easing:p=be,tick:b=_,css:v}=r||je;v&&(n=Te(i,0,1,g,f,p,v,l++)),b(0,1);const M=Ce()+f,x=M+g;a&&a.abort(),o=!0,te(()=>ue(i,!0,"start")),a=Me(z=>{if(o){if(z>=x)return b(1,0),ue(i,!0,"end"),s(),o=!1;if(z>=M){const y=p((z-M)/g);b(y,1-y)}}return o})}let u=!1;return{start(){u||(u=!0,Re(i),ce(r)?(r=r(),Pe().then(c)):c())},invalidate(){u=!1},end(){o&&(s(),o=!1)}}}function ot(i,e,t){let r=e(i,t),o=!0,n;const a=ie;a.r+=1;function l(){const{delay:s=0,duration:c=300,easing:u=be,tick:f=_,css:g}=r||je;g&&(n=Te(i,1,0,c,s,u,g));const p=Ce()+s,b=p+c;te(()=>ue(i,!1,"start")),Me(v=>{if(o){if(v>=b)return f(0,1),ue(i,!1,"end"),--a.r||Q(a.c),!1;if(v>=p){const M=u((v-p)/c);f(1-M,M)}}return o})}return ce(r)?Pe().then(()=>{r=r(),l()}):l(),{end(s){s&&r.tick&&r.tick(1,0),o&&(n&&Re(i,n),o=!1)}}}function De(i,e,t,r){let o=e(i,t),n=r?0:1,a=null,l=null,s=null;function c(){s&&Re(i,s)}function u(g,p){const b=g.b-n;return p*=Math.abs(b),{a:n,b:g.b,d:b,duration:p,start:g.start,end:g.start+p,group:g.group}}function f(g){const{delay:p=0,duration:b=300,easing:v=be,tick:M=_,css:x}=o||je,z={start:Ce()+p,b:g};g||(z.group=ie,ie.r+=1),a||l?l=z:(x&&(c(),s=Te(i,n,g,b,p,v,x)),g&&M(0,1),a=u(z,b),te(()=>ue(i,g,"start")),Me(y=>{if(l&&y>l.start&&(a=u(l,b),l=null,ue(i,a.b,"start"),x&&(c(),s=Te(i,n,a.b,a.duration,0,v,o.css))),a){if(y>=a.end)M(n=a.b,1-n),ue(i,a.b,"end"),l||(a.b?c():--a.group.r||Q(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(g){ce(o)?Pe().then(()=>{o=o(),f(g)}):f(g)},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,u,f){let g=i.length,p=n.length,b=g;const v={};for(;b--;)v[i[b].key]=b;const M=[],x=new Map,z=new Map;for(b=p;b--;){const R=f(o,n,b),P=t(R);let Z=a.get(P);Z?r&&Z.p(R,e):(Z=c(P,R),Z.c()),x.set(P,M[b]=Z),P in v&&z.set(P,Math.abs(b-v[P]))}const y=new Set,A=new Set;function L(R){W(R,1),R.m(l,u),a.set(R.key,R),u=R.first,p--}for(;g&&p;){const R=M[p-1],P=i[g-1],Z=R.key,K=P.key;R===P?(u=R.first,g--,p--):x.has(K)?!a.has(Z)||y.has(Z)?L(R):A.has(K)?g--:z.get(Z)>z.get(K)?(A.add(Z),L(R)):(y.add(K),g--):(s(P,a),g--)}for(;g--;){const R=i[g];x.has(R.key)||s(R,a)}for(;p;)L(M[p-1]);return M}function le(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||te(()=>{const s=n.map(Ge).filter(ce);a?a.push(...s):Q(s),i.$$.on_mount=[]}),l.forEach(te)}function ae(i,e){const t=i.$$;t.fragment!==null&&(Q(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function ir(i,e){i.$$.dirty[0]===-1&&(we.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=ve;pe(i);const c=i.$$={fragment:null,ctx:null,props:n,update:_,not_equal:o,bound:We(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:We(),dirty:l,skip_bound:!1,root:e.target||s.$$.root};a&&a(c.root);let u=!1;if(c.ctx=t?t(i,e.props||{},(f,g,...p)=>{const b=p.length?p[0]:g;return c.ctx&&o(c.ctx[f],c.ctx[f]=b)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](b),u&&ir(i,f)),g}):[],c.update(),u=!0,Q(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=Xi(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),h()}pe(s)}let B;typeof HTMLElement=="function"&&(B=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(Ge).filter(ce);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){Q(this.$$.on_disconnect)}$destroy(){ae(this,1),this.$destroy=_}$on(i,e){const t=this.$$.callbacks[i]||(this.$$.callbacks[i]=[]);return t.push(e),()=>{const r=t.indexOf(e);r!==-1&&t.splice(r,1)}}$set(i){this.$$set&&!Wi(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});const rr=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function or(i){return rr.test(i)}function nr(i){let e,t,r;return{c(){e=w("div"),t=w("slot"),this.c=_,d(e,"class","page-content"),d(e,"style",r=`--max-width: ${i[0]}`)},m(o,n){k(o,e,n),m(e,t)},p(o,[n]){n&1&&r!==(r=`--max-width: ${o[0]}`)&&d(e,"style",r)},i:_,o:_,d(o){o&&C(e)}}}function ar(i,e,t){const r={full:"100%"};let{width:o}=e,{_width:n}=e;function a(l){return!!(["full"].includes(o)||or(l))}return $(()=>{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 B{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},ar,nr,G,{width:1,_width:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["width","_width"]}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),h()}get _width(){return this.$$.ctx[0]}set _width(e){this.$$set({_width:e}),h()}}customElements.define("goa-page-block",lt);function lr(i){let e,t,r,o,n,a,l,s,c,u,f,g;return{c(){e=w("div"),t=w("a"),r=w("img"),n=T(),a=w("img"),s=T(),c=w("span"),u=j(i[1]),f=T(),g=w("div"),g.innerHTML="<slot></slot>",this.c=_,d(r,"alt","GoA Logo"),d(r,"class","image-mobile"),Ue(r.src,o="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||d(r,"src",o),d(a,"alt","GoA Logo"),d(a,"class","image-desktop"),Ue(a.src,l="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||d(a,"src",l),d(c,"class","title"),d(t,"href",i[0]),d(t,"class","app-link"),d(e,"class","app-header"),d(e,"data-testid",i[2])},m(p,b){k(p,e,b),m(e,t),m(t,r),m(t,n),m(t,a),m(t,s),m(t,c),m(c,u),m(e,f),m(e,g)},p(p,[b]){b&2&&V(u,p[1]),b&1&&d(t,"href",p[0]),b&4&&d(e,"data-testid",p[2])},i:_,o:_,d(p){p&&C(e)}}}function sr(i,e,t){let{url:r="#"}=e,{title:o=""}=e,{testid:n=""}=e;return i.$$set=a=>{"url"in a&&t(0,r=a.url),"title"in a&&t(1,o=a.title),"testid"in a&&t(2,n=a.testid)},[r,o,n]}class st extends B{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},sr,lr,G,{url:0,title:1,testid:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["url","title","testid"]}get url(){return this.$$.ctx[0]}set url(e){this.$$set({url:e}),h()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),h()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-app-header",st);function F(i){return i==="false"?!1:i===""?!0:!!i}function cr(i){let e;return{c(){e=w("div"),q(e,"height","1.2rem"),q(e,"margin-left","-0.25rem")},m(t,r){k(t,e,r)},p:_,d(t){t&&C(e)}}}function dr(i){let e;return{c(){e=w("goa-icon"),E(e,"type",i[3]),E(e,"size","small")},m(t,r){k(t,e,r)},p(t,r){r&8&&E(e,"type",t[3])},d(t){t&&C(e)}}}function ct(i){let e,t;return{c(){e=w("div"),t=j(i[2]),d(e,"class","goa-badge-content")},m(r,o){k(r,e,o),m(e,t)},p(r,o){o&4&&V(t,r[2])},d(r){r&&C(e)}}}function ur(i){let e,t,r;function o(s,c){return s[4]?dr:cr}let n=o(i),a=n(i),l=i[2]&&ct(i);return{c(){e=w("div"),a.c(),t=T(),l&&l.c(),this.c=_,d(e,"data-testid",i[1]),d(e,"data-type","goa-badge"),d(e,"class",r="goa-badge badge-"+i[0]),I(e,"icon-only",i[4]&&!i[2])},m(s,c){k(s,e,c),a.m(e,null),m(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&&d(e,"data-testid",s[1]),c&1&&r!==(r="goa-badge badge-"+s[0])&&d(e,"class",r),c&21&&I(e,"icon-only",s[4]&&!s[2])},i:_,o:_,d(s){s&&C(e),a.d(),l&&l.d()}}}function fr(i,e,t){let r,o,{type:n}=e,{testid:a=""}=e,{icon:l="false"}=e,{content:s=""}=e;return i.$$set=c=>{"type"in c&&t(0,n=c.type),"testid"in c&&t(1,a=c.testid),"icon"in c&&t(5,l=c.icon),"content"in c&&t(2,s=c.content)},i.$$.update=()=>{i.$$.dirty&32&&t(4,r=F(l)),i.$$.dirty&1&&t(3,o={success:"checkmark-circle",warning:"alert-circle",information:"information-circle",emergency:"warning",inactive:"information-circle",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[n])},[n,a,s,o,r,l]}class dt extends B{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},fr,ur,G,{type:0,testid:1,icon:5,content:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","testid","icon","content"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),h()}get icon(){return this.$$.ctx[5]}set icon(e){this.$$set({icon:e}),h()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),h()}}customElements.define("goa-badge",dt);function hr(i){let e,t,r,o,n=i[4]&&ut(i),a=i[5]&&ft(i);return{c(){n&&n.c(),e=T(),t=w("div"),t.innerHTML="<slot></slot>",r=T(),a&&a.c(),o=oe(),d(t,"class","text")},m(l,s){n&&n.m(l,s),k(l,e,s),k(l,t,s),k(l,r,s),a&&a.m(l,s),k(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 gr(i){let e,t,r;return{c(){e=w("div"),e.innerHTML="<slot></slot>",t=T(),r=w("goa-icon"),d(e,"class","text"),E(r,"id","trailing-icon"),E(r,"type","arrow-forward"),E(r,"inverted","true")},m(o,n){k(o,e,n),k(o,t,n),k(o,r,n)},p:_,d(o){o&&C(e),o&&C(t),o&&C(r)}}}function ut(i){let e;return{c(){e=w("goa-icon"),E(e,"id","leading-icon"),E(e,"type",i[4]),E(e,"inverted",i[7])},m(t,r){k(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=w("goa-icon"),E(e,"id","trailing-icon"),E(e,"type",i[5]),E(e,"inverted",i[7])},m(t,r){k(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 mr(i){let e,t,r,o;function n(s,c){return s[0]==="start"?gr:hr}let a=n(i),l=a(i);return{c(){e=w("button"),l.c(),this.c=_,d(e,"class",t=""+(i[0]+" "+i[1]+" "+i[2])),d(e,"title",i[3]),e.disabled=i[8],d(e,"data-testid",i[6]),I(e,"leading",i[4]),I(e,"trailing",i[5]||i[0]==="start")},m(s,c){k(s,e,c),l.m(e,null),r||(o=U(e,"click",br),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]))&&d(e,"class",t),c&8&&d(e,"title",s[3]),c&256&&(e.disabled=s[8]),c&64&&d(e,"data-testid",s[6]),c&23&&I(e,"leading",s[4]),c&39&&I(e,"trailing",s[5]||s[0]==="start")},i:_,o:_,d(s){s&&C(e),l.d(),r=!1,o()}}}function br(i){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),i.stopPropagation()}function vr(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 u(y){return l.includes(y)}let{type:f="primary"}=e,{size:g=""}=e,{variant:p=""}=e,{title:b=""}=e,{disabled:v="false"}=e,{leadingicon:M=null}=e,{trailingicon:x=null}=e,{testid:z=""}=e;return $(()=>{if(!s(f))throw"Invalid button type";if(!c(g))throw"Invalid button size";if(!u(p))throw"Invalid button variant"}),i.$$set=y=>{"type"in y&&t(0,f=y.type),"size"in y&&t(1,g=y.size),"variant"in y&&t(2,p=y.variant),"title"in y&&t(3,b=y.title),"disabled"in y&&t(9,v=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(v)),i.$$.dirty&1&&t(7,o=f==="primary"||f==="start")},[f,g,p,b,M,x,z,o,r,v]}class ht extends B{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},vr,mr,G,{type:0,size:1,variant:2,title:3,disabled:9,leadingicon:4,trailingicon:5,testid:6},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","variant","title","disabled","leadingicon","trailingicon","testid"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),h()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),h()}get disabled(){return this.$$.ctx[9]}set disabled(e){this.$$set({disabled:e}),h()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get trailingicon(){return this.$$.ctx[5]}set trailingicon(e){this.$$set({trailingicon:e}),h()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-button",ht);function pr(i){let e,t;return{c(){e=w("div"),t=w("slot"),this.c=_,q(e,"--alignment","flex-"+i[1]),q(e,"--gap-size",i[0]==="small"?"0.5rem":"1.25rem")},m(r,o){k(r,e,o),m(e,t)},p(r,[o]){o&2&&q(e,"--alignment","flex-"+r[1]),o&1&&q(e,"--gap-size",r[0]==="small"?"0.5rem":"1.25rem")},i:_,o:_,d(r){r&&C(e)}}}function wr(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 gt extends B{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},wr,pr,G,{gap:0,alignment:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap","alignment"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),h()}get alignment(){return this.$$.ctx[1]}set alignment(e){this.$$set({alignment:e}),h()}}customElements.define("goa-button-group",gt);function yr(i){let e,t,r,o,n,a,l,s,c,u,f;return{c(){e=w("div"),t=w("span"),r=w("goa-icon"),a=T(),l=w("span"),s=w("h3"),c=j(i[1]),u=T(),f=w("slot"),this.c=_,E(r,"type",i[3]),E(r,"inverted",o=i[0]==="important"?"false":"true"),d(t,"class",n="icon "+i[0]),d(l,"class","content"),d(e,"class","notification"),d(e,"data-testid",i[2])},m(g,p){k(g,e,p),m(e,t),m(t,r),m(e,a),m(e,l),m(l,s),m(s,c),m(l,u),m(l,f)},p(g,[p]){p&8&&E(r,"type",g[3]),p&1&&o!==(o=g[0]==="important"?"false":"true")&&E(r,"inverted",o),p&1&&n!==(n="icon "+g[0])&&d(t,"class",n),p&2&&V(c,g[1]),p&4&&d(e,"data-testid",g[2])},i:_,o:_,d(g){g&&C(e)}}}function _r(i,e,t){let r,{type:o}=e,{title:n}=e,{testid:a=""}=e;return i.$$set=l=>{"type"in l&&t(0,o=l.type),"title"in l&&t(1,n=l.title),"testid"in l&&t(2,a=l.testid)},i.$$.update=()=>{i.$$.dirty&1&&t(3,r=o==="emergency"?"warning":o==="important"?"alert-circle":o==="information"?"information-circle":o==="success"?"checkmark-circle":o==="event"?"calendar":"")},[o,n,a,r]}class mt extends B{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},_r,yr,G,{type:0,title:1,testid:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","title","testid"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),h()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-callout",mt);function kr(i){let e,t,r;return{c(){e=w("div"),t=w("slot"),this.c=_,d(e,"data-testid",i[2]),d(e,"class","card"),d(e,"style",r="--width: "+i[1]+"px; "+(i[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(o,n){k(o,e,n),m(e,t)},p(o,[n]){n&4&&d(e,"data-testid",o[2]),n&3&&r!==(r="--width: "+o[1]+"px; "+(o[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${o[0]});`)+"")&&d(e,"style",r)},i:_,o:_,d(o){o&&C(e)}}}function xr(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 bt extends B{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},xr,kr,G,{elevation:0,width:1,testId:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["elevation","width","testId"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),h()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),h()}get testId(){return this.$$.ctx[2]}set testId(e){this.$$set({testId:e}),h()}}customElements.define("goa-card",bt);function Er(i){let e;return{c(){e=w("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=_},m(t,r){k(t,e,r)},p:_,i:_,o:_,d(t){t&&C(e)}}}class vt extends B{constructor(e){super();O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,Er,G,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-actions",vt);function zr(i){let e;return{c(){e=w("div"),e.innerHTML="<slot></slot>",this.c=_,d(e,"class","card-content")},m(t,r){k(t,e,r)},p:_,i:_,o:_,d(t){t&&C(e)}}}class pt extends B{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,zr,G,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-content",pt);function Cr(i){let e;return{c(){e=w("div"),e.innerHTML="<slot></slot>",this.c=_,d(e,"class","card-group")},m(t,r){k(t,e,r)},p:_,i:_,o:_,d(t){t&&C(e)}}}class wt extends B{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,Cr,G,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-group",wt);function Mr(i){let e;return{c(){e=w("div"),this.c=_,d(e,"class","card-image"),q(e,"background-image","url("+i[0]+")"),q(e,"height",i[1]),q(e,"background-size","cover"),q(e,"background-position","center")},m(t,r){k(t,e,r)},p(t,[r]){r&1&&q(e,"background-image","url("+t[0]+")"),r&2&&q(e,"height",t[1])},i:_,o:_,d(t){t&&C(e)}}}function Ar(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 B{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},Ar,Mr,G,{src:0,height:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["src","height"]}get src(){return this.$$.ctx[0]}set src(e){this.$$set({src:e}),h()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),h()}}customElements.define("goa-card-image",yt);function Lr(i){let e,t;return{c(){e=de("svg"),t=de("path"),d(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),d(e,"id","checkmark"),d(e,"data-testid","checkmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 16 12.18")},m(r,o){k(r,e,o),m(e,t)},d(r){r&&C(e)}}}function Tr(i){let e,t;return{c(){e=de("svg"),t=de("rect"),d(t,"width","15"),d(t,"height","2"),d(e,"id","dashmark"),d(e,"data-testid","dashmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 15 2")},m(r,o){k(r,e,o),m(e,t)},d(r){r&&C(e)}}}function Rr(i){let e,t,r,o,n,a,l,s,c,u,f;function g(v,M){if(v[5])return Tr;if(v[4])return Lr}let p=g(i),b=p&&p(i);return{c(){e=w("label"),t=w("div"),r=w("input"),n=T(),b&&b.c(),a=T(),l=w("div"),s=w("slot"),c=j(i[1]),this.c=_,d(r,"id",i[0]),d(r,"data-testid",i[3]),d(r,"name",i[0]),r.checked=i[4],r.disabled=i[7],d(r,"type","checkbox"),r.value=o=`${i[2]}`,d(t,"class","goa-checkbox-container"),I(t,"goa-checkbox--selected",i[4]),d(l,"class","goa-checkbox-text"),d(l,"data-testid","text"),d(e,"for",i[0]),d(e,"class","goa-checkbox"),I(e,"goa-checkbox--disabled",i[7]),I(e,"goa-checkbox--error",i[6])},m(v,M){k(v,e,M),m(e,t),m(t,r),m(t,n),b&&b.m(t,null),m(e,a),m(e,l),m(l,s),m(s,c),u||(f=U(r,"change",i[8]),u=!0)},p(v,[M]){M&1&&d(r,"id",v[0]),M&8&&d(r,"data-testid",v[3]),M&1&&d(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=g(v))&&(b&&b.d(1),b=p&&p(v),b&&(b.c(),b.m(t,null))),M&16&&I(t,"goa-checkbox--selected",v[4]),M&2&&V(c,v[1]),M&1&&d(e,"for",v[0]),M&128&&I(e,"goa-checkbox--disabled",v[7]),M&64&&I(e,"goa-checkbox--error",v[6])},i:_,o:_,d(v){v&&C(e),b&&b.d(),u=!1,f()}}}function Hr(i,e,t){let r,o,n,a,{name:l}=e,{checked:s}=e,{text:c=""}=e,{value:u=""}=e,{disabled:f}=e,{error:g}=e,{testid:p=""}=e;function b(v){const M=!n,x=M?`${u||"checked"}`:"";v.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:l,checked:M,value:x}}))}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,u=v.value),"disabled"in v&&t(10,f=v.disabled),"error"in v&&t(11,g=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(g)),i.$$.dirty&512&&t(4,n=F(s))},t(5,a=!1),[l,c,u,p,n,a,o,r,b,s,f,g]}class _t extends B{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},Hr,Rr,G,{name:0,checked:9,text:1,value:2,disabled:10,error:11,testid:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","checked","text","value","disabled","error","testid"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get checked(){return this.$$.ctx[9]}set checked(e){this.$$set({checked:e}),h()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),h()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),h()}get disabled(){return this.$$.ctx[10]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[11]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-checkbox",_t);function kt(i){let e;return{c(){e=w("goa-icon"),E(e,"class","leading-icon"),E(e,"size","medium"),E(e,"type",i[0])},m(t,r){k(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=w("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){k(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 Sr(i){let e,t,r,o,n,a,l,s=i[0]&&kt(i),c=i[5]&&xt(i);return{c(){e=w("div"),s&&s.c(),t=T(),r=w("div"),o=j(i[1]),n=T(),c&&c.c(),this.c=_,d(r,"class","text"),d(e,"data-testid","chip"),d(e,"class","chip"),d(e,"tabindex","0"),I(e,"deletable",i[5]),I(e,"error",i[4])},m(u,f){k(u,e,f),s&&s.m(e,null),m(e,t),m(e,r),m(r,o),m(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(u,[f]){u[0]?s?s.p(u,f):(s=kt(u),s.c(),s.m(e,t)):s&&(s.d(1),s=null),f&2&&V(o,u[1]),u[5]?c?c.p(u,f):(c=xt(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&32&&I(e,"deletable",u[5]),f&16&&I(e,"error",u[4])},i:_,o:_,d(u){u&&C(e),s&&s.d(),c&&c.d(),i[9](null),a=!1,Q(l)}}}function Ir(i,e,t){let{leadingicon:r=null}=e,{error:o="false"}=e,{deletable:n="false"}=e,{content:a}=e,l,s=!1,c,u;function f(z){l.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),z.stopPropagation()}function g(z){ee[z?"unshift":"push"](()=>{l=z,t(2,l)})}const p=z=>u&&f(z),b=()=>t(3,s=!0),v=()=>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,u=F(n))},[r,a,l,s,c,u,f,o,n,g,p,b,v,M,x]}class Et extends B{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},Ir,Sr,G,{leadingicon:0,error:7,deletable:8,content:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["leadingicon","error","deletable","content"]}get leadingicon(){return this.$$.ctx[0]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),h()}get deletable(){return this.$$.ctx[8]}set deletable(e){this.$$set({deletable:e}),h()}get content(){return this.$$.ctx[1]}set content(e){this.$$set({content:e}),h()}}customElements.define("goa-chip",Et);function Dr(i){let e,t,r,o,n,a,l,s,c;return{c(){e=w("div"),t=w("header"),r=w("div"),r.innerHTML='<slot name="title"></slot>',o=T(),n=w("div"),n.innerHTML='<slot name="actions"></slot>',l=T(),s=w("div"),s.innerHTML="<slot></slot>",this.c=_,d(r,"class","title"),d(n,"class","actions"),d(t,"class",a="heading--"+i[1]),d(s,"class","content"),d(e,"class",c=`
|
|
7
7
|
goa-container
|
|
8
8
|
goa-container--${i[0]}
|
|
9
|
-
padding--${i[
|
|
10
|
-
`),I(e,"colored",i[
|
|
9
|
+
padding--${i[2]}
|
|
10
|
+
`),I(e,"colored",i[3])},m(u,f){k(u,e,f),m(e,t),m(t,r),m(t,o),m(t,n),m(e,l),m(e,s)},p(u,[f]){f&2&&a!==(a="heading--"+u[1])&&d(t,"class",a),f&5&&c!==(c=`
|
|
11
11
|
goa-container
|
|
12
12
|
goa-container--${u[0]}
|
|
13
|
-
padding--${u[
|
|
14
|
-
`)&&d(e,"class",c),f&11&&I(e,"colored",u[1])},i:w,o:w,d(u){u&&A(e)}}}function Qr(i,e,t){let{variant:r="default"}=e,{colored:o=!1}=e,{headingsize:n="large"}=e,{padding:a="relaxed"}=e;return i.$$set=l=>{"variant"in l&&t(0,r=l.variant),"colored"in l&&t(1,o=l.colored),"headingsize"in l&&t(2,n=l.headingsize),"padding"in l&&t(3,a=l.padding)},[r,o,n,a]}class Wt extends B{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>",F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Qr,Jr,O,{variant:0,colored:1,headingsize:2,padding:3},null),e&&(e.target&&x(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[1]}set colored(e){this.$$set({colored:e}),g()}get headingsize(){return this.$$.ctx[2]}set headingsize(e){this.$$set({headingsize:e}),g()}get padding(){return this.$$.ctx[3]}set padding(e){this.$$set({padding:e}),g()}}customElements.define("goa-container",Wt);const qt="bind";function Ut(i,e,t){const r=i.slice();return r[35]=e[t],r[37]=t,r}function Kt(i){let e,t,r,o;return{c(){e=p("div"),d(e,"data-testid",t=`${i[0]}-dropdown-background`),d(e,"class","goa-dropdown-background")},m(n,a){x(n,e,a),r||(o=K(e,"click",i[17]),r=!0)},p(n,a){a[0]&1&&t!==(t=`${n[0]}-dropdown-background`)&&d(e,"data-testid",t)},d(n){n&&A(e),r=!1,o()}}}function Zt(i,e){let t,r=e[35].label+"",o,n,a,l,s,c,u;function f(){return e[21](e[35])}return{key:i,first:null,c(){t=p("li"),o=P(r),n=H(),d(t,"data-testid",a=`${e[35].value}-dropdown-item`),d(t,"data-index",l=e[37]),d(t,"class","goa-dropdown-option"),d(t,"style",s="display: block"),I(t,"goa-dropdown-option--disabled",!1),I(t,"goa-dropdown-option--tabbed",e[37]===e[12]),I(t,"goa-dropdown-option--selected",e[8].includes(e[35].value)),this.first=t},m(v,_){x(v,t,_),b(t,o),b(t,n),c||(u=K(t,"click",f),c=!0)},p(v,_){e=v,_[0]&512&&r!==(r=e[35].label+"")&&W(o,r),_[0]&512&&a!==(a=`${e[35].value}-dropdown-item`)&&d(t,"data-testid",a),_[0]&512&&l!==(l=e[37])&&d(t,"data-index",l),_[0]&4608&&I(t,"goa-dropdown-option--tabbed",e[37]===e[12]),_[0]&768&&I(t,"goa-dropdown-option--selected",e[8].includes(e[35].value))},d(v){v&&A(t),c=!1,u()}}}function $r(i){let e,t,r,o,n,a,l,s,c,u,f=[],v=new Map,_,m,h,E,k=i[11]&&Kt(i),z=i[9];const y=L=>L[35].value;for(let L=0;L<z.length;L+=1){let C=Ut(i,z,L),R=y(C);v.set(R,f[L]=Zt(R,C))}return{c(){e=p("div"),k&&k.c(),t=H(),r=p("div"),o=p("goa-input"),l=H(),s=p("ul"),c=p("slot"),u=H();for(let L=0;L<f.length;L+=1)f[L].c();this.c=w,M(o,"error",i[7]),M(o,"disabled",i[6]),M(o,"leadingicon",i[1]),M(o,"placeholder",i[3]),M(o,"width","100%"),M(o,"id",n=`${i[0]}-dropdown-input`),M(o,"name","search"),M(o,"readonly",""),M(o,"trailingicon","chevron-down"),M(o,"type","text"),M(o,"value",i[10]),d(r,"data-testid",a=`${i[0]}-dropdown`),d(s,"data-testid","dropdown-menu"),d(s,"tabindex","0"),d(s,"class","goa-dropdown-list"),d(s,"style",_=`overflow-y: auto; max-height: ${i[2]}`),I(s,"dropdown-active",i[11]),d(e,"data-testid",i[4]),d(e,"class","goa-dropdown-box"),d(e,"style",m=`--width: ${i[5]||i[13]}`)},m(L,C){x(L,e,C),k&&k.m(e,null),b(e,t),b(e,r),b(r,o),b(e,l),b(e,s),b(s,c),b(s,u);for(let R=0;R<f.length;R+=1)f[R].m(s,null);i[22](s),i[23](e),h||(E=K(o,"click",i[16]),h=!0)},p(L,C){L[11]?k?k.p(L,C):(k=Kt(L),k.c(),k.m(e,t)):k&&(k.d(1),k=null),C[0]&128&&M(o,"error",L[7]),C[0]&64&&M(o,"disabled",L[6]),C[0]&2&&M(o,"leadingicon",L[1]),C[0]&8&&M(o,"placeholder",L[3]),C[0]&1&&n!==(n=`${L[0]}-dropdown-input`)&&M(o,"id",n),C[0]&1024&&M(o,"value",L[10]),C[0]&1&&a!==(a=`${L[0]}-dropdown`)&&d(r,"data-testid",a),C[0]&267008&&(z=L[9],f=he(f,C,y,1,L,z,v,s,ge,Zt,null,Ut)),C[0]&4&&_!==(_=`overflow-y: auto; max-height: ${L[2]}`)&&d(s,"style",_),C[0]&2048&&I(s,"dropdown-active",L[11]),C[0]&16&&d(e,"data-testid",L[4]),C[0]&8224&&m!==(m=`--width: ${L[5]||L[13]}`)&&d(e,"style",m)},i:w,o:w,d(L){L&&A(e),k&&k.d();for(let C=0;C<f.length;C+=1)f[C].d();i[22](null),i[23](null),h=!1,E()}}}const eo="300px";function to(i,e,t){let r,o,{name:n}=e,{value:a=""}=e,{leadingicon:l=null}=e,{maxheight:s=eo}=e,{placeholder:c=""}=e,{testid:u=""}=e,{width:f=""}=e,{disabled:v="false"}=e,{error:_="false"}=e,{multiselect:m="false"}=e,h=[],E=[],k="",z=!1,y=0,L=0,C,R,T,G;ee(async()=>{R.addEventListener("focus",Xi,!0),R.addEventListener("blur",Yi,!0);let S;try{S=JSON.parse(a||"[]")}catch{S=[a]}t(8,h=(typeof S=="object"?S:[S]).map(ze=>`${ze}`)),Z()}),Fe(()=>{R.removeEventListener("focus",Xi,!0),R.removeEventListener("blur",Yi,!0),Ke(n)});function Z(){G=Ue(n),G.subscribe(S=>{switch(S==null?void 0:S.type){case qt:{const se=S,ze=h.includes(se.value);t(9,E=[...E,Object.assign(Object.assign({},se),{selected:ze})]),ze&&t(10,k=se.label),!f&&L<se.label.length&&(L=se.label.length,t(13,C=`${Math.max(20,L+12)}ch`)),N();break}}})}async function J(){r||z||(t(11,z=!0),await at(),T.addEventListener("blur",X),T.focus(),T.addEventListener("keydown",Ji),T.addEventListener("mouseover",Qi))}function X(){T.removeEventListener("blur",X),T.removeEventListener("keydown",Ji),T.removeEventListener("mouseover",Qi),N(),t(11,z=!1)}function N(){t(12,y=E.findIndex(S=>h.includes(S.value)))}function Xe(S,se){r||(t(10,k=se),o?(h.push(S),R.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:n,values:h}}))):(t(8,h=[S]),R.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:n,value:h[0]}}))),X())}const Zi=S=>{switch(S.key){case" ":J(),S.preventDefault();break}};function Xi(){R.addEventListener("keydown",Zi)}function Yi(){R.removeEventListener("keydown",Zi)}function Ji(S){switch(S.key){case"ArrowUp":y===0?t(12,y=E.length-1):t(12,y--,y),S.preventDefault();break;case"ArrowDown":t(12,y=(y+1)%E.length),S.preventDefault();break;case"Tab":case"Enter":Xe(E[y].value,E[y].label),S.preventDefault();break;case"Escape":X(),S.preventDefault();break}}function Qi(S){t(12,y=Number(S.target.dataset.index))}const cn=S=>Xe(S.value,S.label);function dn(S){ae[S?"unshift":"push"](()=>{T=S,t(15,T)})}function un(S){ae[S?"unshift":"push"](()=>{R=S,t(14,R)})}return i.$$set=S=>{"name"in S&&t(0,n=S.name),"value"in S&&t(19,a=S.value),"leadingicon"in S&&t(1,l=S.leadingicon),"maxheight"in S&&t(2,s=S.maxheight),"placeholder"in S&&t(3,c=S.placeholder),"testid"in S&&t(4,u=S.testid),"width"in S&&t(5,f=S.width),"disabled"in S&&t(6,v=S.disabled),"error"in S&&t(7,_=S.error),"multiselect"in S&&t(20,m=S.multiselect)},i.$$.update=()=>{i.$$.dirty[0]&64&&(r=V(v)),i.$$.dirty[0]&1048576&&(o=V(m))},[n,l,s,c,u,f,v,_,h,E,k,z,y,C,R,T,J,X,Xe,a,m,cn,dn,un]}class Xt extends B{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>",F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},to,$r,O,{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&&x(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",Xt);function io(i){return{c(){this.c=w},m:w,p:w,i:w,o:w,d:w}}function ro(i,e,t){let{name:r=""}=e,{value:o=""}=e,{label:n=""}=e,a;return ee(async()=>{a=await De(r),a.notify({type:qt,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 Yt extends B{constructor(e){super();F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},ro,io,O,{name:0,value:1,label:2},null),e&&(e.target&&x(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",Yt);function oo(i){let e,t;return{c(){e=p("div"),t=p("slot"),this.c=w,d(e,"class","goa-flex-row"),q(e,"gap",i[0])},m(r,o){x(r,e,o),b(e,t)},p(r,[o]){o&1&&q(e,"gap",r[0])},i:w,o:w,d(r){r&&A(e)}}}function no(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 Jt extends B{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>",F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},no,oo,O,{gap:1},null),e&&(e.target&&x(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",Jt);function Qt(i){let e,t,r,o=i[3]&&$t();return{c(){e=p("label"),t=P(i[0]),r=H(),o&&o.c(),d(e,"for","")},m(n,a){x(n,e,a),b(e,t),b(e,r),o&&o.m(e,null)},p(n,a){a&1&&W(t,n[0]),n[3]?o||(o=$t(),o.c(),o.m(e,null)):o&&(o.d(1),o=null)},d(n){n&&A(e),o&&o.d()}}}function $t(i){let e;return{c(){e=p("em"),e.textContent="(optional)"},m(t,r){x(t,e,r)},d(t){t&&A(e)}}}function ei(i){let e,t;return{c(){e=p("div"),t=P(i[2]),d(e,"class","error-msg")},m(r,o){x(r,e,o),b(e,t)},p(r,o){o&4&&W(t,r[2])},d(r){r&&A(e)}}}function ti(i){let e,t;return{c(){e=p("div"),t=P(i[1]),d(e,"class","help-msg")},m(r,o){x(r,e,o),b(e,t)},p(r,o){o&2&&W(t,r[1])},d(r){r&&A(e)}}}function ao(i){let e,t,r,o,n,a=i[0]&&Qt(i),l=i[2]&&ei(i),s=i[1]&&ti(i);return{c(){e=p("div"),a&&a.c(),t=H(),r=p("div"),r.innerHTML="<slot></slot>",o=H(),l&&l.c(),n=H(),s&&s.c(),this.c=w,d(r,"class","form-item-input"),d(e,"class","goa-form-item")},m(c,u){x(c,e,u),a&&a.m(e,null),b(e,t),b(e,r),b(e,o),l&&l.m(e,null),b(e,n),s&&s.m(e,null)},p(c,[u]){c[0]?a?a.p(c,u):(a=Qt(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[2]?l?l.p(c,u):(l=ei(c),l.c(),l.m(e,n)):l&&(l.d(1),l=null),c[1]?s?s.p(c,u):(s=ti(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:w,o:w,d(c){c&&A(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function lo(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=V(l))},[o,n,a,r,l]}class ii extends B{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>",F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},lo,ao,O,{label:0,helptext:1,error:2,optional:4},null),e&&(e.target&&x(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",ii);function so(i){let e,t,r,o,n,a,l,s;return{c(){e=p("div"),t=p("goa-page-block"),r=p("h1"),o=P(i[0]),n=H(),a=p("div"),a.innerHTML="<slot></slot>",l=H(),s=p("slot"),this.c=w,d(r,"role","heading"),d(a,"class","goa-hero-banner-content"),d(a,"role","note"),d(s,"name","actions"),d(e,"class","goa-hero"),d(e,"data-testid","background"),q(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+i[1]+")"),q(e,"background-size","cover"),q(e,"background-position","center"),q(e,"background-repeat","no-repeat")},m(c,u){x(c,e,u),b(e,t),b(t,r),b(r,o),b(t,n),b(t,a),b(t,l),b(t,s)},p(c,[u]){u&1&&W(o,c[0]),u&2&&q(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+c[1]+")")},i:w,o:w,d(c){c&&A(e)}}}function co(i,e,t){let{title:r}=e,{backgroundurl:o}=e;return i.$$set=n=>{"title"in n&&t(0,r=n.title),"backgroundurl"in n&&t(1,o=n.backgroundurl)},[r,o]}class ri extends B{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>",F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},co,so,O,{title:0,backgroundurl:1},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["title","backgroundurl"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),g()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),g()}}customElements.define("goa-hero-banner",ri);function oi(i){let e,t;return{c(){e=p("ion-icon"),M(e,"name",t=i[1]==="filled"||i[0].indexOf("logo")===0?i[0]:`${i[0]}-${i[1]}`)},m(r,o){x(r,e,o)},p(r,o){o&3&&t!==(t=r[1]==="filled"||r[0].indexOf("logo")===0?r[0]:`${r[0]}-${r[1]}`)&&M(e,"name",t)},d(r){r&&A(e)}}}function uo(i){let e,t,r,o=i[0]&&oi(i);return{c(){e=p("div"),o&&o.c(),this.c=w,d(e,"class","goa-icon"),d(e,"data-testid",t=`icon-${i[0]}`),d(e,"title",i[5]),d(e,"style",r=`
|
|
13
|
+
padding--${u[2]}
|
|
14
|
+
`)&&d(e,"class",c),f&13&&I(e,"colored",u[3])},i:_,o:_,d(u){u&&C(e)}}}function Gr(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 B{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},Gr,Dr,G,{variant:0,colored:4,headingsize:1,padding:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["variant","colored","headingsize","padding"]}get variant(){return this.$$.ctx[0]}set variant(e){this.$$set({variant:e}),h()}get colored(){return this.$$.ctx[4]}set colored(e){this.$$set({colored:e}),h()}get headingsize(){return this.$$.ctx[1]}set headingsize(e){this.$$set({headingsize:e}),h()}get padding(){return this.$$.ctx[2]}set padding(e){this.$$set({padding:e}),h()}}customElements.define("goa-container",zt);const ge=[];function Ct(i,e=_){let t;const r=new Set;function o(l){if(G(i,l)&&(i=l,t)){const s=!ge.length;for(const c of r)c[1](),ge.push(c,i);if(s){for(let c=0;c<ge.length;c+=2)ge[c][0](ge[c+1]);ge.length=0}}}function n(l){o(l(i))}function a(l,s=_){const c=[l,s];return r.add(c),r.size===1&&(t=e(o)||_),l(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:o,update:n,subscribe:a}}const xe={};class Br{constructor(){this.store=Ct()}subscribe(e){this.store.subscribe(t=>{e(t)})}notify(e){this.store.update(()=>e)}}function Mt(i){const e=new Br;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 he(),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=w("div"),d(e,"data-testid",t=`${i[0]}-dropdown-background`),d(e,"class","goa-dropdown-background")},m(n,a){k(n,e,a),r||(o=U(e,"click",i[17]),r=!0)},p(n,a){a[0]&1&&t!==(t=`${n[0]}-dropdown-background`)&&d(e,"data-testid",t)},d(n){n&&C(e),r=!1,o()}}}function It(i,e){let t,r=e[35].label+"",o,n,a,l,s,c,u;function f(){return e[21](e[35])}return{key:i,first:null,c(){t=w("li"),o=j(r),n=T(),d(t,"data-testid",a=`${e[35].value}-dropdown-item`),d(t,"data-index",l=e[37]),d(t,"class","goa-dropdown-option"),d(t,"style",s="display: block"),I(t,"goa-dropdown-option--disabled",!1),I(t,"goa-dropdown-option--tabbed",e[37]===e[12]),I(t,"goa-dropdown-option--selected",e[8].includes(e[35].value)),this.first=t},m(g,p){k(g,t,p),m(t,o),m(t,n),c||(u=U(t,"click",f),c=!0)},p(g,p){e=g,p[0]&512&&r!==(r=e[35].label+"")&&V(o,r),p[0]&512&&a!==(a=`${e[35].value}-dropdown-item`)&&d(t,"data-testid",a),p[0]&512&&l!==(l=e[37])&&d(t,"data-index",l),p[0]&4608&&I(t,"goa-dropdown-option--tabbed",e[37]===e[12]),p[0]&768&&I(t,"goa-dropdown-option--selected",e[8].includes(e[35].value))},d(g){g&&C(t),c=!1,u()}}}function Nr(i){let e,t,r,o,n,a,l,s,c,u,f=[],g=new Map,p,b,v,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);g.set(R,f[A]=It(R,L))}return{c(){e=w("div"),x&&x.c(),t=T(),r=w("div"),o=w("goa-input"),l=T(),s=w("ul"),c=w("slot"),u=T();for(let A=0;A<f.length;A+=1)f[A].c();this.c=_,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]),d(r,"data-testid",a=`${i[0]}-dropdown`),d(s,"data-testid","dropdown-menu"),d(s,"tabindex","0"),d(s,"class","goa-dropdown-list"),d(s,"style",p=`overflow-y: auto; max-height: ${i[2]}`),I(s,"dropdown-active",i[11]),d(e,"data-testid",i[4]),d(e,"class","goa-dropdown-box"),d(e,"style",b=`--width: ${i[5]||i[13]}`)},m(A,L){k(A,e,L),x&&x.m(e,null),m(e,t),m(e,r),m(r,o),m(e,l),m(e,s),m(s,c),m(s,u);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]?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`)&&d(r,"data-testid",a),L[0]&267008&&(z=A[9],f=at(f,L,y,1,A,z,g,s,nt,It,null,Ht)),L[0]&4&&p!==(p=`overflow-y: auto; max-height: ${A[2]}`)&&d(s,"style",p),L[0]&2048&&I(s,"dropdown-active",A[11]),L[0]&16&&d(e,"data-testid",A[4]),L[0]&8224&&b!==(b=`--width: ${A[5]||A[13]}`)&&d(e,"style",b)},i:_,o:_,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),v=!1,M()}}}const Or="300px";function Pr(i,e,t){let r,o,{name:n}=e,{value:a=""}=e,{leadingicon:l=null}=e,{maxheight:s=Or}=e,{placeholder:c=""}=e,{testid:u=""}=e,{width:f=""}=e,{disabled:g="false"}=e,{error:p="false"}=e,{multiselect:b="false"}=e,v=[],M=[],x="",z=!1,y=0,A=0,L,R,P,Z;$(async()=>{R.addEventListener("focus",ji,!0),R.addEventListener("blur",Fi,!0);let H;try{H=JSON.parse(a||"[]")}catch{H=[a]}t(8,v=(typeof H=="object"?H:[H]).map(Ee=>`${Ee}`)),K()}),$e(()=>{R.removeEventListener("focus",ji,!0),R.removeEventListener("blur",Fi,!0),Tt(n)});function K(){Z=Mt(n),Z.subscribe(H=>{switch(H==null?void 0:H.type){case Rt:{const se=H,Ee=v.includes(se.value);t(9,M=[...M,Object.assign(Object.assign({},se),{selected:Ee})]),Ee&&t(10,x=se.label),!f&&A<se.label.length&&(A=se.label.length,t(13,L=`${Math.max(20,A+12)}ch`)),S();break}}})}async function J(){r||z||(t(11,z=!0),await he(),P.addEventListener("blur",Y),P.focus(),P.addEventListener("keydown",Vi),P.addEventListener("mouseover",qi))}function Y(){P.removeEventListener("blur",Y),P.removeEventListener("keydown",Vi),P.removeEventListener("mouseover",qi),S(),t(11,z=!1)}function S(){t(12,y=M.findIndex(H=>v.includes(H.value)))}function Ve(H,se){r||(t(10,x=se),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]}}))),Y())}const Pi=H=>{switch(H.key){case" ":J(),H.preventDefault();break}};function ji(){R.addEventListener("keydown",Pi)}function Fi(){R.removeEventListener("keydown",Pi)}function Vi(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":Ve(M[y].value,M[y].label),H.preventDefault();break;case"Escape":Y(),H.preventDefault();break}}function qi(H){t(12,y=Number(H.target.dataset.index))}const rn=H=>Ve(H.value,H.label);function on(H){ee[H?"unshift":"push"](()=>{P=H,t(15,P)})}function nn(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,u=H.testid),"width"in H&&t(5,f=H.width),"disabled"in H&&t(6,g=H.disabled),"error"in H&&t(7,p=H.error),"multiselect"in H&&t(20,b=H.multiselect)},i.$$.update=()=>{i.$$.dirty[0]&64&&(r=F(g)),i.$$.dirty[0]&1048576&&(o=F(b))},[n,l,s,c,u,f,g,p,v,M,x,z,y,L,R,P,J,Y,Ve,a,b,rn,on,nn]}class Dt extends B{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},Pr,Nr,G,{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&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}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}),h()}get value(){return this.$$.ctx[19]}set value(e){this.$$set({value:e}),h()}get leadingicon(){return this.$$.ctx[1]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get maxheight(){return this.$$.ctx[2]}set maxheight(e){this.$$set({maxheight:e}),h()}get placeholder(){return this.$$.ctx[3]}set placeholder(e){this.$$set({placeholder:e}),h()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),h()}get width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),h()}get disabled(){return this.$$.ctx[6]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),h()}get multiselect(){return this.$$.ctx[20]}set multiselect(e){this.$$set({multiselect:e}),h()}}customElements.define("goa-dropdown",Dt);function jr(i){return{c(){this.c=_},m:_,p:_,i:_,o:_,d:_}}function Fr(i,e,t){let{name:r=""}=e,{value:o=""}=e,{label:n=""}=e,a;return $(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 Gt extends B{constructor(e){super();O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Fr,jr,G,{name:0,value:1,label:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","label"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),h()}get label(){return this.$$.ctx[2]}set label(e){this.$$set({label:e}),h()}}customElements.define("goa-dropdown-item",Gt);function Vr(i){let e,t;return{c(){e=w("div"),t=w("slot"),this.c=_,d(e,"class","goa-flex-row"),q(e,"gap",i[0])},m(r,o){k(r,e,o),m(e,t)},p(r,[o]){o&1&&q(e,"gap",r[0])},i:_,o:_,d(r){r&&C(e)}}}function qr(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 Bt extends B{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},qr,Vr,G,{gap:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap"]}get gap(){return this.$$.ctx[1]}set gap(e){this.$$set({gap:e}),h()}}customElements.define("goa-flex-row",Bt);function Nt(i){let e,t,r,o=i[3]&&Ot();return{c(){e=w("label"),t=j(i[0]),r=T(),o&&o.c(),d(e,"for","")},m(n,a){k(n,e,a),m(e,t),m(e,r),o&&o.m(e,null)},p(n,a){a&1&&V(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=w("em"),e.textContent="(optional)"},m(t,r){k(t,e,r)},d(t){t&&C(e)}}}function Pt(i){let e,t;return{c(){e=w("div"),t=j(i[2]),d(e,"class","error-msg")},m(r,o){k(r,e,o),m(e,t)},p(r,o){o&4&&V(t,r[2])},d(r){r&&C(e)}}}function jt(i){let e,t;return{c(){e=w("div"),t=j(i[1]),d(e,"class","help-msg")},m(r,o){k(r,e,o),m(e,t)},p(r,o){o&2&&V(t,r[1])},d(r){r&&C(e)}}}function Wr(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=w("div"),a&&a.c(),t=T(),r=w("div"),r.innerHTML="<slot></slot>",o=T(),l&&l.c(),n=T(),s&&s.c(),this.c=_,d(r,"class","form-item-input"),d(e,"class","goa-form-item")},m(c,u){k(c,e,u),a&&a.m(e,null),m(e,t),m(e,r),m(e,o),l&&l.m(e,null),m(e,n),s&&s.m(e,null)},p(c,[u]){c[0]?a?a.p(c,u):(a=Nt(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[2]?l?l.p(c,u):(l=Pt(c),l.c(),l.m(e,n)):l&&(l.d(1),l=null),c[1]?s?s.p(c,u):(s=jt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:_,o:_,d(c){c&&C(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function Ur(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 B{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},Ur,Wr,G,{label:0,helptext:1,error:2,optional:4},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["label","helptext","error","optional"]}get label(){return this.$$.ctx[0]}set label(e){this.$$set({label:e}),h()}get helptext(){return this.$$.ctx[1]}set helptext(e){this.$$set({helptext:e}),h()}get error(){return this.$$.ctx[2]}set error(e){this.$$set({error:e}),h()}get optional(){return this.$$.ctx[4]}set optional(e){this.$$set({optional:e}),h()}}customElements.define("goa-form-item",Ft);function Zr(i){let e,t,r,o,n,a,l,s;return{c(){e=w("div"),t=w("goa-page-block"),r=w("h1"),o=j(i[0]),n=T(),a=w("div"),a.innerHTML="<slot></slot>",l=T(),s=w("slot"),this.c=_,d(r,"role","heading"),d(a,"class","goa-hero-banner-content"),d(a,"role","note"),d(s,"name","actions"),E(t,"width","full"),d(e,"class","goa-hero"),d(e,"data-testid","background"),q(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+i[1]+")"),q(e,"background-size","cover"),q(e,"background-position","center"),q(e,"background-repeat","no-repeat")},m(c,u){k(c,e,u),m(e,t),m(t,r),m(r,o),m(t,n),m(t,a),m(t,l),m(t,s)},p(c,[u]){u&1&&V(o,c[0]),u&2&&q(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+c[1]+")")},i:_,o:_,d(c){c&&C(e)}}}function Kr(i,e,t){let{title:r}=e,{backgroundurl:o}=e;return i.$$set=n=>{"title"in n&&t(0,r=n.title),"backgroundurl"in n&&t(1,o=n.backgroundurl)},[r,o]}class Vt extends B{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},Kr,Zr,G,{title:0,backgroundurl:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["title","backgroundurl"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),h()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),h()}}customElements.define("goa-hero-banner",Vt);function qt(i){let e,t;return{c(){e=w("ion-icon"),E(e,"name",t=i[1]==="filled"||i[0].indexOf("logo")===0?i[0]:`${i[0]}-${i[1]}`)},m(r,o){k(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 Yr(i){let e,t,r,o=i[0]&&qt(i);return{c(){e=w("div"),o&&o.c(),this.c=_,d(e,"class","goa-icon"),d(e,"data-testid",t=`icon-${i[0]}`),d(e,"title",i[5]),d(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
|
-
`),I(e,"inverted",i[7])},m(n,a){
|
|
19
|
+
`),I(e,"inverted",i[7])},m(n,a){k(n,e,a),o&&o.m(e,null)},p(n,[a]){n[0]?o?o.p(n,a):(o=qt(n),o.c(),o.m(e,null)):o&&(o.d(1),o=null),a&1&&t!==(t=`icon-${n[0]}`)&&d(e,"data-testid",t),a&32&&d(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
|
-
`)&&d(e,"style",r),a&128&&I(e,"inverted",n[7])},i:
|
|
24
|
+
`)&&d(e,"style",r),a&128&&I(e,"inverted",n[7])},i:_,o:_,d(n){n&&C(e),o&&o.d()}}}function Xr(i,e,t){let r,o,{type:n}=e,{size:a="medium"}=e,{theme:l="outline"}=e,{inverted:s}=e,{fillcolor:c}=e,{hovercolor:u}=e,{opacity:f=1}=e,{title:g=""}=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,u=p.hovercolor),"opacity"in p&&t(4,f=p.opacity),"title"in p&&t(5,g=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,u,f,g,o,r,a,s]}class Wt extends B{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},Xr,Yr,G,{type:0,size:8,theme:1,inverted:9,fillcolor:2,hovercolor:3,opacity:4,title:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","theme","inverted","fillcolor","hovercolor","opacity","title"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[8]}set size(e){this.$$set({size:e}),h()}get theme(){return this.$$.ctx[1]}set theme(e){this.$$set({theme:e}),h()}get inverted(){return this.$$.ctx[9]}set inverted(e){this.$$set({inverted:e}),h()}get fillcolor(){return this.$$.ctx[2]}set fillcolor(e){this.$$set({fillcolor:e}),h()}get hovercolor(){return this.$$.ctx[3]}set hovercolor(e){this.$$set({hovercolor:e}),h()}get opacity(){return this.$$.ctx[4]}set opacity(e){this.$$set({opacity:e}),h()}get title(){return this.$$.ctx[5]}set title(e){this.$$set({title:e}),h()}}customElements.define("goa-icon",Wt);function Jr(i){let e,t,r,o;return{c(){e=w("button"),t=w("goa-icon"),this.c=_,E(t,"title",i[3]),E(t,"type",i[0]),E(t,"size",i[1]),E(t,"theme",i[2]),E(t,"inverted",i[5]),q(e,"--size",i[6]),d(e,"title",i[3]),e.disabled=i[7],d(e,"class",i[8]),d(e,"data-testid",i[4])},m(n,a){k(n,e,a),m(e,t),r||(o=U(e,"click",Qr),r=!0)},p(n,[a]){a&8&&E(t,"title",n[3]),a&1&&E(t,"type",n[0]),a&2&&E(t,"size",n[1]),a&4&&E(t,"theme",n[2]),a&32&&E(t,"inverted",n[5]),a&64&&q(e,"--size",n[6]),a&8&&d(e,"title",n[3]),a&128&&(e.disabled=n[7]),a&256&&d(e,"class",n[8]),a&16&&d(e,"data-testid",n[4])},i:_,o:_,d(n){n&&C(e),r=!1,o()}}}function Qr(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function $r(i,e,t){let r,o,n,a,{type:l}=e,{size:s="medium"}=e,{theme:c="outline"}=e,{variant:u="color"}=e,{title:f=""}=e,{testId:g=""}=e,{disabled:p}=e,{inverted:b}=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,u=v.variant),"title"in v&&t(3,f=v.title),"testId"in v&&t(4,g=v.testId),"disabled"in v&&t(10,p=v.disabled),"inverted"in v&&t(11,b=v.inverted)},i.$$.update=()=>{i.$$.dirty&2048&&t(5,n=F(b)),i.$$.dirty&544&&t(8,r=`goa-icon-button goa-icon-button--${u} ${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,g,n,a,o,r,u,p,b]}class Ut extends B{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},$r,Jr,G,{type:0,size:1,theme:2,variant:9,title:3,testId:4,disabled:10,inverted:11},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","theme","variant","title","testId","disabled","inverted"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get theme(){return this.$$.ctx[2]}set theme(e){this.$$set({theme:e}),h()}get variant(){return this.$$.ctx[9]}set variant(e){this.$$set({variant:e}),h()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),h()}get testId(){return this.$$.ctx[4]}set testId(e){this.$$set({testId:e}),h()}get disabled(){return this.$$.ctx[10]}set disabled(e){this.$$set({disabled:e}),h()}get inverted(){return this.$$.ctx[11]}set inverted(e){this.$$set({inverted:e}),h()}}customElements.define("goa-icon-button",Ut);function Zt(i){let e;return{c(){e=w("goa-icon"),E(e,"class","goa-input-leading-icon"),E(e,"data-testid","leading-icon"),E(e,"type",i[4])},m(t,r){k(t,e,r)},p(t,r){r&16&&E(e,"type",t[4])},d(t){t&&C(e)}}}function Kt(i){let e;return{c(){e=w("goa-icon"),E(e,"class","goa-input-trailing-icon"),E(e,"data-testid","trailing-icon"),E(e,"size","medium"),E(e,"type",i[5])},m(t,r){k(t,e,r)},p(t,r){r&32&&E(e,"type",t[5])},d(t){t&&C(e)}}}function Yt(i){let e,t,r;return{c(){e=w("goa-icon-button"),E(e,"class","goa-input-trailing-icon"),E(e,"disabled",i[12]),E(e,"variant","nocolor"),E(e,"size","medium"),E(e,"type",i[5]),E(e,"data-testid","trailing-icon-button")},m(o,n){k(o,e,n),t||(r=U(e,"click",ro),t=!0)},p(o,n){n&4096&&E(e,"disabled",o[12]),n&32&&E(e,"type",o[5])},d(o){o&&C(e),t=!1,r()}}}function Xt(i){let e;function t(n,a){if(n[9]>0)return to;if(n[0].length>0)return eo}let r=t(i),o=r&&r(i);return{c(){o&&o.c(),e=oe()},m(n,a){o&&o.m(n,a),k(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 eo(i){let e,t=i[0].length+"",r;return{c(){e=w("div"),r=j(t),d(e,"class","counter")},m(o,n){k(o,e,n),m(e,r)},p(o,n){n&1&&t!==(t=o[0].length+"")&&V(r,t)},d(o){o&&C(e)}}}function to(i){let e,t=i[0].length+"",r,o=`/${i[9]}`,n;return{c(){e=w("div"),r=j(t),n=j(o),d(e,"class","counter"),I(e,"counter-error",i[0].length>i[9])},m(a,l){k(a,e,l),m(e,r),m(e,n)},p(a,l){l&1&&t!==(t=a[0].length+"")&&V(r,t),l&512&&o!==(o=`/${a[9]}`)&&V(n,o),l&513&&I(e,"counter-error",a[0].length>a[9])},d(a){a&&C(e)}}}function io(i){let e,t,r,o,n,a,l,s,c,u,f,g,p,b=i[4]&&Zt(i),v=i[5]&&!i[15]&&Kt(i),M=i[5]&&i[15]&&Yt(i),x=i[11]&&Xt(i);return{c(){e=w("div"),t=w("div"),b&&b.c(),r=T(),o=w("input"),l=T(),v&&v.c(),s=T(),M&&M.c(),u=T(),x&&x.c(),this.c=_,d(o,"class",n=`input--${i[6]}`),d(o,"style",a=`--search-icon-offset: ${i[5]?"-0.5rem":"0"}`),o.readOnly=i[14],o.disabled=i[12],d(o,"data-testid",i[7]),d(o,"name",i[2]),d(o,"type",i[1]),o.value=i[0],d(o,"placeholder",i[3]),d(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
|
`),I(t,"error",i[13]),d(e,"class","container"),d(e,"style",f=`
|
|
30
30
|
--width: ${i[8]};
|
|
31
|
-
`)},m(z,y){
|
|
31
|
+
`)},m(z,y){k(z,e,y),m(e,t),b&&b.m(t,null),m(t,r),m(t,o),i[24](o),m(t,l),v&&v.m(t,null),m(t,s),M&&M.m(t,null),m(e,u),x&&x.m(e,null),g||(p=[U(o,"keyup",i[16]),U(o,"change",i[16])],g=!0)},p(z,[y]){z[4]?b?b.p(z,y):(b=Zt(z),b.c(),b.m(t,r)):b&&(b.d(1),b=null),y&64&&n!==(n=`input--${z[6]}`)&&d(o,"class",n),y&32&&a!==(a=`--search-icon-offset: ${z[5]?"-0.5rem":"0"}`)&&d(o,"style",a),y&16384&&(o.readOnly=z[14]),y&4096&&(o.disabled=z[12]),y&128&&d(o,"data-testid",z[7]),y&4&&d(o,"name",z[2]),y&2&&d(o,"type",z[1]),y&1&&o.value!==z[0]&&(o.value=z[0]),y&8&&d(o,"placeholder",z[3]),z[5]&&!z[15]?v?v.p(z,y):(v=Kt(z),v.c(),v.m(t,s)):v&&(v.d(1),v=null),z[5]&&z[15]?M?M.p(z,y):(M=Yt(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
|
-
`)&&d(t,"class",c),y&12354&&I(t,"error",z[13]),z[11]?
|
|
36
|
+
`)&&d(t,"class",c),y&12354&&I(t,"error",z[13]),z[11]?x?x.p(z,y):(x=Xt(z),x.c(),x.m(e,null)):x&&(x.d(1),x=null),y&256&&f!==(f=`
|
|
37
37
|
--width: ${z[8]};
|
|
38
|
-
`)&&d(e,"style",f)},i:
|
|
39
|
-
center center no-repeat}</style>`,
|
|
38
|
+
`)&&d(e,"style",f)},i:_,o:_,d(z){z&&C(e),b&&b.d(),i[24](null),v&&v.d(),M&&M.d(),x&&x.d(),g=!1,Q(p)}}}function ro(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function oo(i,e,t){let r,o,n,a,l,s,{type:c="text"}=e,{name:u=""}=e,{value:f=""}=e,{placeholder:g=""}=e,{leadingicon:p=null}=e,{trailingicon:b=null}=e,{variant:v="goa"}=e,{disabled:M="false"}=e,{handletrailingiconclick:x="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:Z=0}=e,K;function J(S){S.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:u,value:S.target.value}})),t(0,f=S.target.value)}function Y(S){ee[S?"unshift":"push"](()=>{K=S,t(10,K)})}return i.$$set=S=>{"type"in S&&t(1,c=S.type),"name"in S&&t(2,u=S.name),"value"in S&&t(0,f=S.value),"placeholder"in S&&t(3,g=S.placeholder),"leadingicon"in S&&t(4,p=S.leadingicon),"trailingicon"in S&&t(5,b=S.trailingicon),"variant"in S&&t(6,v=S.variant),"disabled"in S&&t(17,M=S.disabled),"handletrailingiconclick"in S&&t(18,x=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,Z=S.maxcharcount)},i.$$.update=()=>{i.$$.dirty&262144&&t(15,r=F(x)),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&&K&&setTimeout(()=>K.focus(),1),i.$$.dirty&1026&&K&&c==="search"&&K.addEventListener("search",S=>{J(S)})},[f,c,u,g,p,b,v,L,R,Z,K,s,l,a,n,r,J,M,x,z,y,A,P,o,Y]}class Jt extends B{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},oo,io,G,{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&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","name","value","placeholder","leadingicon","trailingicon","variant","disabled","handletrailingiconclick","focused","readonly","error","testid","width","showcounter","maxcharcount"]}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),h()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get placeholder(){return this.$$.ctx[3]}set placeholder(e){this.$$set({placeholder:e}),h()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get trailingicon(){return this.$$.ctx[5]}set trailingicon(e){this.$$set({trailingicon:e}),h()}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),h()}get disabled(){return this.$$.ctx[17]}set disabled(e){this.$$set({disabled:e}),h()}get handletrailingiconclick(){return this.$$.ctx[18]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),h()}get focused(){return this.$$.ctx[19]}set focused(e){this.$$set({focused:e}),h()}get readonly(){return this.$$.ctx[20]}set readonly(e){this.$$set({readonly:e}),h()}get error(){return this.$$.ctx[21]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),h()}get width(){return this.$$.ctx[8]}set width(e){this.$$set({width:e}),h()}get showcounter(){return this.$$.ctx[22]}set showcounter(e){this.$$set({showcounter:e}),h()}get maxcharcount(){return this.$$.ctx[9]}set maxcharcount(e){this.$$set({maxcharcount:e}),h()}}customElements.define("goa-input",Jt);function no(i){const e=i-1;return e*e*e+1}function ao(i){return Math.pow(i-1,3)*(1-i)+1}function me(i,{delay:e=0,duration:t=400,easing:r=be}={}){const o=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:n=>`opacity: ${n*o}`}}function Qt(i,{delay:e=0,duration:t=400,easing:r=no,x:o=0,y:n=0,opacity:a=0}={}){const l=getComputedStyle(i),s=+l.opacity,c=l.transform==="none"?"":l.transform,u=s*(1-a);return{delay:e,duration:t,easing:r,css:(f,g)=>`
|
|
40
40
|
transform: ${c} translate(${(1-f)*o}px, ${(1-f)*n}px);
|
|
41
|
-
opacity: ${s-u*v}`}}function gi(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 hi(i){let e,t,r,o,n,a,l,s,c,u,f,v,_,m,h,E,k,z,y,L,C,R=i[0]&&mi(i),T=i[5]&&bi(i);function G(X,N){return X[7]?Eo:xo}let Z=G(i),J=Z(i);return{c(){e=p("goa-focus-trap"),t=p("div"),r=p("div"),o=H(),n=p("div"),R&&R.c(),a=H(),T&&T.c(),l=H(),s=p("div"),J.c(),c=H(),u=p("slot"),f=H(),v=p("div"),v.innerHTML='<slot name="actions"></slot>',d(r,"data-testid","modal-overlay"),d(r,"class","modal-overlay"),d(s,"data-testid","modal-content"),d(s,"class","modal-content"),d(v,"data-testid","modal-actions"),d(v,"class","modal-actions"),d(n,"class","modal-pane"),d(t,"data-testid","modal"),d(t,"class","modal"),d(t,"style",h="--scroll-offset: "+i[4]+"px; "+(i[2]&&`--width: ${i[2]};`)+";"),M(e,"open",i[1])},m(X,N){x(X,e,N),b(e,t),b(t,r),b(t,o),b(t,n),R&&R.m(n,null),b(n,a),T&&T.m(n,null),b(n,l),b(n,s),J.m(s,null),b(s,c),b(s,u),b(n,f),b(n,v),y=!0,L||(C=[K(r,"click",i[8]),Qe(E=gi.call(null,t,{enable:i[3]}))],L=!0)},p(X,N){i=X,i[0]?R?R.p(i,N):(R=mi(i),R.c(),R.m(n,a)):R&&(R.d(1),R=null),i[5]?T?T.p(i,N):(T=bi(i),T.c(),T.m(n,l)):T&&(T.d(1),T=null),Z!==(Z=G(i))&&(J.d(1),J=Z(i),J&&(J.c(),J.m(s,c))),(!y||N&20&&h!==(h="--scroll-offset: "+i[4]+"px; "+(i[2]&&`--width: ${i[2]};`)+";"))&&d(t,"style",h),E&&ce(E.update)&&N&8&&E.update.call(null,{enable:i[3]}),(!y||N&2)&&M(e,"open",i[1])},i(X){y||(te(()=>{m&&m.end(1),_=lt(n,fi,{duration:i[6],y:200}),_.start()}),te(()=>{z&&z.end(1),k=lt(t,be,{duration:i[6]}),k.start()}),y=!0)},o(X){_&&_.invalidate(),m=st(n,fi,{delay:i[6],duration:i[6],y:-100}),k&&k.invalidate(),z=st(t,be,{delay:i[6],duration:i[6]}),y=!1},d(X){X&&A(e),R&&R.d(),T&&T.d(),J.d(),X&&m&&m.end(),X&&z&&z.end(),L=!1,Q(C)}}}function mi(i){let e,t;return{c(){e=p("div"),t=P(i[0]),d(e,"data-testid","modal-title"),d(e,"class","modal-title")},m(r,o){x(r,e,o),b(e,t)},p(r,o){o&1&&W(t,r[0])},d(r){r&&A(e)}}}function bi(i){let e,t,r,o;return{c(){e=p("div"),t=p("goa-icon-button"),M(t,"data-testid","modal-close-button"),M(t,"type","close"),d(e,"class","modal-close")},m(n,a){x(n,e,a),b(e,t),r||(o=K(t,"click",i[8]),r=!0)},p:w,d(n){n&&A(e),r=!1,o()}}}function xo(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",q(e,"margin","1.75rem")},m(t,r){x(t,e,r)},d(t){t&&A(e)}}}function Eo(i){let e;return{c(){e=p("goa-scrollable"),e.innerHTML="<slot></slot>",M(e,"direction","vertical"),M(e,"height","50"),M(e,"hpadding","1.75")},m(t,r){x(t,e,r)},d(t){t&&A(e)}}}function zo(i){let e,t,r=i[3]&&hi(i);return{c(){r&&r.c(),e=$(),this.c=w},m(o,n){r&&r.m(o,n),x(o,e,n),t=!0},p(o,[n]){o[3]?r?(r.p(o,n),n&8&&U(r,1)):(r=hi(o),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(ke(),Y(r,1,1,()=>{r=null}),xe())},i(o){t||(U(r),t=!0)},o(o){Y(r),t=!1},d(o){r&&r.d(o),o&&A(e)}}}function Co(i,e,t){let r,o,n,a,{heading:l}=e,{closable:s}=e,{scrollable:c}=e,{open:u}=e,{transition:f}=e,{width:v}=e,_=0;function m(h){!r||(h.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),h.stopPropagation())}return i.$$set=h=>{"heading"in h&&t(0,l=h.heading),"closable"in h&&t(9,s=h.closable),"scrollable"in h&&t(10,c=h.scrollable),"open"in h&&t(1,u=h.open),"transition"in h&&t(11,f=h.transition),"width"in h&&t(2,v=h.width)},i.$$.update=()=>{i.$$.dirty&512&&t(5,r=V(s)),i.$$.dirty&1024&&t(7,o=V(c)),i.$$.dirty&2&&t(3,n=V(u)),i.$$.dirty&8&&n&&t(4,_=window.pageYOffset),i.$$.dirty&2048&&t(6,a=f==="none"?0:f==="slow"?400:200)},[l,u,v,n,_,r,a,o,m,s,c,f]}class vi extends B{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>",F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Co,zo,O,{heading:0,closable:9,scrollable:10,open:1,transition:11,width:2},null),e&&(e.target&&x(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",vi);function _i(i){let e,t,r,o,n,a,l,s,c,u,f,v,_;return{c(){e=p("div"),t=p("div"),r=p("goa-icon"),o=H(),n=p("div"),n.innerHTML="<slot></slot>",a=H(),l=p("div"),s=p("goa-icon-button"),M(r,"type",i[2]),M(r,"inverted",""),d(t,"class","icon"),d(n,"class","content"),M(s,"type","close"),M(s,"inverted",""),d(l,"class","close"),d(e,"class",c="notification "+i[0])},m(m,h){x(m,e,h),b(e,t),b(t,r),b(e,o),b(e,n),b(e,a),b(e,l),b(l,s),f=!0,v||(_=K(s,"click",i[3]),v=!0)},p(m,h){(!f||h&4)&&M(r,"type",m[2]),(!f||h&1&&c!==(c="notification "+m[0]))&&d(e,"class",c)},i(m){f||(te(()=>{u||(u=Ne(e,be,{},!0)),u.run(1)}),f=!0)},o(m){u||(u=Ne(e,be,{},!1)),u.run(0),f=!1},d(m){m&&A(e),m&&u&&u.end(),v=!1,_()}}}function Ao(i){let e,t,r=i[1]&&_i(i);return{c(){r&&r.c(),e=$(),this.c=w},m(o,n){r&&r.m(o,n),x(o,e,n),t=!0},p(o,[n]){o[1]?r?(r.p(o,n),n&2&&U(r,1)):(r=_i(o),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(ke(),Y(r,1,1,()=>{r=null}),xe())},i(o){t||(U(r),t=!0)},o(o){Y(r),t=!1},d(o){r&&r.d(o),o&&A(e)}}}function Mo(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 pi extends B{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>",F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Mo,Ao,O,{type:0},null),e&&(e.target&&x(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",pi);function Lo(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",this.c=w,d(e,"class","layout")},m(t,r){x(t,e,r)},p:w,i:w,o:w,d(t){t&&A(e)}}}class yi extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>@media(min-width: 768px){}.layout{max-width:768px;margin:0 auto;padding:2rem}</style>",F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Lo,O,{},null),e&&e.target&&x(e.target,this,e.anchor)}}customElements.define("goa-page-layout",yi);function wi(i){let e,t,r,o;const n=[To,Ro],a=[];function l(s,c){return s[6]?0:s[5]?1:-1}return~(e=l(i))&&(t=a[e]=n[e](i)),{c(){t&&t.c(),r=$()},m(s,c){~e&&a[e].m(s,c),x(s,r,c),o=!0},p(s,c){let u=e;e=l(s),e===u?~e&&a[e].p(s,c):(t&&(ke(),Y(a[u],1,1,()=>{a[u]=null}),xe()),~e?(t=a[e],t?t.p(s,c):(t=a[e]=n[e](s),t.c()),U(t,1),t.m(r.parentNode,r)):t=null)},i(s){o||(U(t),o=!0)},o(s){Y(t),o=!1},d(s){~e&&a[e].d(s),s&&A(r)}}}function Ro(i){let e,t,r,o,n,a=i[1]&&ki(i);return{c(){e=p("div"),t=p("goa-spinner"),o=H(),a&&a.c(),M(t,"type",i[0]),M(t,"size",i[4]),M(t,"progress",r=i[2]||0),d(e,"class",n="spinner-"+i[4]),I(e,"inline",i[5])},m(l,s){x(l,e,s),b(e,t),b(e,o),a&&a.m(e,null)},p(l,s){s&1&&M(t,"type",l[0]),s&16&&M(t,"size",l[4]),s&4&&r!==(r=l[2]||0)&&M(t,"progress",r),l[1]?a?a.p(l,s):(a=ki(l),a.c(),a.m(e,null)):a&&(a.d(1),a=null),s&16&&n!==(n="spinner-"+l[4])&&d(e,"class",n),s&48&&I(e,"inline",l[5])},i:w,o:w,d(l){l&&A(e),a&&a.d()}}}function To(i){let e,t,r,o,n,a,l,s,c=i[1]&&xi(i);return{c(){e=p("div"),t=p("goa-spinner"),o=H(),c&&c.c(),M(t,"type",i[0]),M(t,"size",i[4]),M(t,"progress",r=i[2]||0),I(e,"fullscreen",i[6])},m(u,f){x(u,e,f),b(e,t),b(e,o),c&&c.m(e,null),a=!0,l||(s=Qe(gi.call(null,e,{enable:!0})),l=!0)},p(u,f){(!a||f&1)&&M(t,"type",u[0]),(!a||f&16)&&M(t,"size",u[4]),(!a||f&4&&r!==(r=u[2]||0))&&M(t,"progress",r),u[1]?c?c.p(u,f):(c=xi(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&64&&I(e,"fullscreen",u[6])},i(u){a||(te(()=>{n||(n=Ne(e,be,{duration:300},!0)),n.run(1)}),a=!0)},o(u){n||(n=Ne(e,be,{duration:300},!1)),n.run(0),a=!1},d(u){u&&A(e),c&&c.d(),u&&n&&n.end(),l=!1,s()}}}function ki(i){let e,t;return{c(){e=p("div"),t=P(i[1]),d(e,"class","message")},m(r,o){x(r,e,o),b(e,t)},p(r,o){o&2&&W(t,r[1])},d(r){r&&A(e)}}}function xi(i){let e,t;return{c(){e=p("div"),t=P(i[1]),d(e,"class","message")},m(r,o){x(r,e,o),b(e,t)},p(r,o){o&2&&W(t,r[1])},d(r){r&&A(e)}}}function Ho(i){let e,t,r=i[3]&&wi(i);return{c(){r&&r.c(),e=$(),this.c=w},m(o,n){r&&r.m(o,n),x(o,e,n),t=!0},p(o,[n]){o[3]?r?(r.p(o,n),n&8&&U(r,1)):(r=wi(o),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(ke(),Y(r,1,1,()=>{r=null}),xe())},i(o){t||(U(r),t=!0)},o(o){Y(r),t=!1},d(o){r&&r.d(o),o&&A(e)}}}function Io(i,e,t){let r,o,n,a,l,{type:s}=e,{variant:c}=e,{size:u}=e,{message:f=""}=e,{progress:v=0}=e,{visible:_="false"}=e;return i.$$set=m=>{"type"in m&&t(0,s=m.type),"variant"in m&&t(7,c=m.variant),"size"in m&&t(8,u=m.size),"message"in m&&t(1,f=m.message),"progress"in m&&t(2,v=m.progress),"visible"in m&&t(9,_=m.visible)},i.$$.update=()=>{i.$$.dirty&512&&t(10,r=V(_)),i.$$.dirty&128&&t(6,o=c==="fullscreen"),i.$$.dirty&128&&t(5,n=c==="inline"),i.$$.dirty&256&&t(4,a=u==="small"?"large":"xlarge"),i.$$.dirty&1281&&t(3,l=s&&r&&u)},[s,f,v,l,a,n,o,c,u,_,r]}class Ei extends B{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>",F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Io,Ho,O,{type:0,variant:7,size:8,message:1,progress:2,visible:9},null),e&&(e.target&&x(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",Ei);const zi="bind";function Ci(i,e,t){const r=i.slice();return r[14]=e[t],r}function Ai(i,e){let t,r,o,n,a,l,s,c,u=(e[14].label||e[14].value)+"",f,v,_,m,h;function E(){return e[11](e[14])}return{key:i,first:null,c(){t=p("label"),r=p("input"),a=H(),l=p("div"),s=H(),c=p("span"),f=P(u),v=H(),d(r,"type","radio"),d(r,"name",e[1]),r.value=o=e[14].value,r.disabled=e[7],r.checked=n=e[14].value===e[0],d(l,"class","goa-radio-icon"),d(c,"class","goa-radio-label"),d(t,"data-testid",_="radio-option-"+e[14].value),d(t,"class","goa-radio"),I(t,"goa-radio--disabled",e[7]),I(t,"goa-radio--error",e[5]),this.first=t},m(k,z){x(k,t,z),b(t,r),b(t,a),b(t,l),b(t,s),b(t,c),b(c,f),b(t,v),m||(h=K(r,"change",E),m=!0)},p(k,z){e=k,z&2&&d(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&&u!==(u=(e[14].label||e[14].value)+"")&&W(f,u),z&16&&_!==(_="radio-option-"+e[14].value)&&d(t,"data-testid",_),z&128&&I(t,"goa-radio--disabled",e[7]),z&32&&I(t,"goa-radio--error",e[5])},d(k){k&&A(t),m=!1,h()}}}function So(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 u=Ci(i,l,c),f=s(u);n.set(f,o[c]=Ai(f,u))}return{c(){e=p("div"),t=p("slot"),r=H();for(let c=0;c<o.length;c+=1)o[c].c();this.c=w,d(e,"class",a=`goa-radio-group--${i[2]}`),d(e,"data-testid",i[3])},m(c,u){x(c,e,u),b(e,t),b(e,r);for(let f=0;f<o.length;f+=1)o[f].m(e,null);i[12](e)},p(c,[u]){u&435&&(l=c[4],o=he(o,u,s,1,c,l,n,e,ge,Ai,null,Ci)),u&4&&a!==(a=`goa-radio-group--${c[2]}`)&&d(e,"class",a),u&8&&d(e,"data-testid",c[3])},i:w,o:w,d(c){c&&A(e);for(let u=0;u<o.length;u+=1)o[u].d();i[12](null)}}}function No(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,u=[],f,v,_;ee(()=>{v=Ue(o),v.subscribe(k=>{switch(k==null?void 0:k.type){case zi:t(4,u=[...u,k])}})});function m(k){k!==n&&(t(0,n=k),_.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:n}})))}Fe(()=>{Ke(o)});const h=k=>m(k.value);function E(k){ae[k?"unshift":"push"](()=>{_=k,t(6,_)})}return i.$$set=k=>{"name"in k&&t(1,o=k.name),"value"in k&&t(0,n=k.value),"orientation"in k&&t(2,a=k.orientation),"disabled"in k&&t(9,l=k.disabled),"error"in k&&t(10,s=k.error),"testid"in k&&t(3,c=k.testid)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=V(l)),i.$$.dirty&1024&&t(5,f=V(s))},[n,o,a,c,u,f,_,r,m,l,s,h,E]}class Mi extends B{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>',F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},No,So,O,{name:1,value:0,orientation:2,disabled:9,error:10,testid:3},null),e&&(e.target&&x(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 Do(i){return{c(){this.c=w},m:w,p:w,i:w,o:w,d:w}}function Go(i,e,t){let{value:r}=e,{label:o}=e,{name:n}=e,a;return ee(async()=>{a=await De(n),a.notify({type:zi,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 Li extends B{constructor(e){super();F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Go,Do,O,{value:0,label:1,name:2},null),e&&(e.target&&x(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",Li);function Oo(i){let e,t,r;return{c(){e=p("div"),t=p("slot"),this.c=w,d(e,"class","goa-scrollable"),d(e,"style",r=`
|
|
41
|
+
opacity: ${s-u*g}`}}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,u,f,g,p,b,v,M,x,z,y,A,L,R=i[0]&&ti(i),P=i[5]&&ii(i);function Z(Y,S){return Y[7]?so:lo}let K=Z(i),J=K(i);return{c(){e=w("goa-focus-trap"),t=w("div"),r=w("div"),o=T(),n=w("div"),R&&R.c(),a=T(),P&&P.c(),l=T(),s=w("div"),J.c(),c=T(),u=w("slot"),f=T(),g=w("div"),g.innerHTML='<slot name="actions"></slot>',d(r,"data-testid","modal-overlay"),d(r,"class","modal-overlay"),d(s,"data-testid","modal-content"),d(s,"class","modal-content"),d(g,"data-testid","modal-actions"),d(g,"class","modal-actions"),d(n,"class","modal-pane"),d(t,"data-testid","modal"),d(t,"class","modal"),d(t,"style",v="--scroll-offset: "+i[4]+"px; "+(i[2]&&`--width: ${i[2]};`)+";"),E(e,"open",i[1])},m(Y,S){k(Y,e,S),m(e,t),m(t,r),m(t,o),m(t,n),R&&R.m(n,null),m(n,a),P&&P.m(n,null),m(n,l),m(n,s),J.m(s,null),m(s,c),m(s,u),m(n,f),m(n,g),y=!0,A||(L=[U(r,"click",i[8]),Ze(M=$t.call(null,t,{enable:i[3]}))],A=!0)},p(Y,S){i=Y,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),K!==(K=Z(i))&&(J.d(1),J=K(i),J&&(J.c(),J.m(s,c))),(!y||S&20&&v!==(v="--scroll-offset: "+i[4]+"px; "+(i[2]&&`--width: ${i[2]};`)+";"))&&d(t,"style",v),M&&ce(M.update)&&S&8&&M.update.call(null,{enable:i[3]}),(!y||S&2)&&E(e,"open",i[1])},i(Y){y||(te(()=>{b&&b.end(1),p=rt(n,Qt,{duration:i[6],y:200}),p.start()}),te(()=>{z&&z.end(1),x=rt(t,me,{duration:i[6]}),x.start()}),y=!0)},o(Y){p&&p.invalidate(),b=ot(n,Qt,{delay:i[6],duration:i[6],y:-100}),x&&x.invalidate(),z=ot(t,me,{delay:i[6],duration:i[6]}),y=!1},d(Y){Y&&C(e),R&&R.d(),P&&P.d(),J.d(),Y&&b&&b.end(),Y&&z&&z.end(),A=!1,Q(L)}}}function ti(i){let e,t;return{c(){e=w("div"),t=j(i[0]),d(e,"data-testid","modal-title"),d(e,"class","modal-title")},m(r,o){k(r,e,o),m(e,t)},p(r,o){o&1&&V(t,r[0])},d(r){r&&C(e)}}}function ii(i){let e,t,r,o;return{c(){e=w("div"),t=w("goa-icon-button"),E(t,"data-testid","modal-close-button"),E(t,"type","close"),d(e,"class","modal-close")},m(n,a){k(n,e,a),m(e,t),r||(o=U(t,"click",i[8]),r=!0)},p:_,d(n){n&&C(e),r=!1,o()}}}function lo(i){let e;return{c(){e=w("div"),e.innerHTML="<slot></slot>",q(e,"margin","1.75rem")},m(t,r){k(t,e,r)},d(t){t&&C(e)}}}function so(i){let e;return{c(){e=w("goa-scrollable"),e.innerHTML="<slot></slot>",E(e,"direction","vertical"),E(e,"height","50"),E(e,"hpadding","1.75")},m(t,r){k(t,e,r)},d(t){t&&C(e)}}}function co(i){let e,t,r=i[3]&&ei(i);return{c(){r&&r.c(),e=oe(),this.c=_},m(o,n){r&&r.m(o,n),k(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&&(_e(),X(r,1,1,()=>{r=null}),ke())},i(o){t||(W(r),t=!0)},o(o){X(r),t=!1},d(o){r&&r.d(o),o&&C(e)}}}function uo(i,e,t){let r,o,n,a,{heading:l}=e,{closable:s}=e,{scrollable:c}=e,{open:u}=e,{transition:f}=e,{width:g}=e,p=0;function b(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,u=v.open),"transition"in v&&t(11,f=v.transition),"width"in v&&t(2,g=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(u)),i.$$.dirty&8&&n&&t(4,p=window.pageYOffset),i.$$.dirty&2048&&t(6,a=f==="none"?0:f==="slow"?400:200)},[l,u,g,n,p,r,a,o,b,s,c,f]}class ri extends B{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},uo,co,G,{heading:0,closable:9,scrollable:10,open:1,transition:11,width:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","closable","scrollable","open","transition","width"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get closable(){return this.$$.ctx[9]}set closable(e){this.$$set({closable:e}),h()}get scrollable(){return this.$$.ctx[10]}set scrollable(e){this.$$set({scrollable:e}),h()}get open(){return this.$$.ctx[1]}set open(e){this.$$set({open:e}),h()}get transition(){return this.$$.ctx[11]}set transition(e){this.$$set({transition:e}),h()}get width(){return this.$$.ctx[2]}set width(e){this.$$set({width:e}),h()}}customElements.define("goa-modal",ri);function oi(i){let e,t,r,o,n,a,l,s,c,u,f,g,p;return{c(){e=w("div"),t=w("div"),r=w("goa-icon"),o=T(),n=w("div"),n.innerHTML="<slot></slot>",a=T(),l=w("div"),s=w("goa-icon-button"),E(r,"type",i[2]),E(r,"inverted",""),d(t,"class","icon"),d(n,"class","content"),E(s,"type","close"),E(s,"inverted",""),d(l,"class","close"),d(e,"class",c="notification "+i[0])},m(b,v){k(b,e,v),m(e,t),m(t,r),m(e,o),m(e,n),m(e,a),m(e,l),m(l,s),f=!0,g||(p=U(s,"click",i[3]),g=!0)},p(b,v){(!f||v&4)&&E(r,"type",b[2]),(!f||v&1&&c!==(c="notification "+b[0]))&&d(e,"class",c)},i(b){f||(te(()=>{u||(u=De(e,me,{},!0)),u.run(1)}),f=!0)},o(b){u||(u=De(e,me,{},!1)),u.run(0),f=!1},d(b){b&&C(e),b&&u&&u.end(),g=!1,p()}}}function fo(i){let e,t,r=i[1]&&oi(i);return{c(){r&&r.c(),e=oe(),this.c=_},m(o,n){r&&r.m(o,n),k(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&&(_e(),X(r,1,1,()=>{r=null}),ke())},i(o){t||(W(r),t=!0)},o(o){X(r),t=!1},d(o){r&&r.d(o),o&&C(e)}}}function ho(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 B{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},ho,fo,G,{type:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}}customElements.define("goa-notification",ni);function go(i){let e;return{c(){e=w("div"),e.innerHTML="<slot></slot>",this.c=_,d(e,"class","layout")},m(t,r){k(t,e,r)},p:_,i:_,o:_,d(t){t&&C(e)}}}class ai extends B{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,go,G,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-page-layout",ai);function li(i){let e,t,r,o;const n=[bo,mo],a=[];function l(s,c){return s[6]?0:s[5]?1:-1}return~(e=l(i))&&(t=a[e]=n[e](i)),{c(){t&&t.c(),r=oe()},m(s,c){~e&&a[e].m(s,c),k(s,r,c),o=!0},p(s,c){let u=e;e=l(s),e===u?~e&&a[e].p(s,c):(t&&(_e(),X(a[u],1,1,()=>{a[u]=null}),ke()),~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){X(t),o=!1},d(s){~e&&a[e].d(s),s&&C(r)}}}function mo(i){let e,t,r,o,n,a=i[1]&&si(i);return{c(){e=w("div"),t=w("goa-spinner"),o=T(),a&&a.c(),E(t,"type",i[0]),E(t,"size",i[4]),E(t,"progress",r=i[2]||0),d(e,"class",n="spinner-"+i[4]),I(e,"inline",i[5])},m(l,s){k(l,e,s),m(e,t),m(e,o),a&&a.m(e,null)},p(l,s){s&1&&E(t,"type",l[0]),s&16&&E(t,"size",l[4]),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&16&&n!==(n="spinner-"+l[4])&&d(e,"class",n),s&48&&I(e,"inline",l[5])},i:_,o:_,d(l){l&&C(e),a&&a.d()}}}function bo(i){let e,t,r,o,n,a,l,s,c=i[1]&&ci(i);return{c(){e=w("div"),t=w("goa-spinner"),o=T(),c&&c.c(),E(t,"type",i[0]),E(t,"size",i[4]),E(t,"progress",r=i[2]||0),I(e,"fullscreen",i[6])},m(u,f){k(u,e,f),m(e,t),m(e,o),c&&c.m(e,null),a=!0,l||(s=Ze($t.call(null,e,{enable:!0})),l=!0)},p(u,f){(!a||f&1)&&E(t,"type",u[0]),(!a||f&16)&&E(t,"size",u[4]),(!a||f&4&&r!==(r=u[2]||0))&&E(t,"progress",r),u[1]?c?c.p(u,f):(c=ci(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&64&&I(e,"fullscreen",u[6])},i(u){a||(te(()=>{n||(n=De(e,me,{duration:300},!0)),n.run(1)}),a=!0)},o(u){n||(n=De(e,me,{duration:300},!1)),n.run(0),a=!1},d(u){u&&C(e),c&&c.d(),u&&n&&n.end(),l=!1,s()}}}function si(i){let e,t;return{c(){e=w("div"),t=j(i[1]),d(e,"class","message")},m(r,o){k(r,e,o),m(e,t)},p(r,o){o&2&&V(t,r[1])},d(r){r&&C(e)}}}function ci(i){let e,t;return{c(){e=w("div"),t=j(i[1]),d(e,"class","message")},m(r,o){k(r,e,o),m(e,t)},p(r,o){o&2&&V(t,r[1])},d(r){r&&C(e)}}}function vo(i){let e,t,r=i[3]&&li(i);return{c(){r&&r.c(),e=oe(),this.c=_},m(o,n){r&&r.m(o,n),k(o,e,n),t=!0},p(o,[n]){o[3]?r?(r.p(o,n),n&8&&W(r,1)):(r=li(o),r.c(),W(r,1),r.m(e.parentNode,e)):r&&(_e(),X(r,1,1,()=>{r=null}),ke())},i(o){t||(W(r),t=!0)},o(o){X(r),t=!1},d(o){r&&r.d(o),o&&C(e)}}}function po(i,e,t){let r,o,n,a,{type:l="infinite"}=e,{variant:s="inline"}=e,{size:c="large"}=e,{message:u=""}=e,{progress:f=0}=e,{visible:g="false"}=e,p=!1;return $(async()=>{await he(),t(3,p=r)}),i.$$set=b=>{"type"in b&&t(0,l=b.type),"variant"in b&&t(7,s=b.variant),"size"in b&&t(8,c=b.size),"message"in b&&t(1,u=b.message),"progress"in b&&t(2,f=b.progress),"visible"in b&&t(9,g=b.visible)},i.$$.update=()=>{i.$$.dirty&512&&(r=F(g)),i.$$.dirty&128&&t(6,o=s==="fullscreen"),i.$$.dirty&128&&t(5,n=s==="inline"),i.$$.dirty&256&&t(4,a=c==="small"?"large":"xlarge")},[l,u,f,p,a,n,o,s,c,g]}class di extends B{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},po,vo,G,{type:0,variant:7,size:8,message:1,progress:2,visible:9},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","variant","size","message","progress","visible"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),h()}get size(){return this.$$.ctx[8]}set size(e){this.$$set({size:e}),h()}get message(){return this.$$.ctx[1]}set message(e){this.$$set({message:e}),h()}get progress(){return this.$$.ctx[2]}set progress(e){this.$$set({progress:e}),h()}get visible(){return this.$$.ctx[9]}set visible(e){this.$$set({visible:e}),h()}}customElements.define("goa-circular-progress",di);const ui="bind";function fi(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,u=(e[14].label||e[14].value)+"",f,g,p,b,v;function M(){return e[11](e[14])}return{key:i,first:null,c(){t=w("label"),r=w("input"),a=T(),l=w("div"),s=T(),c=w("span"),f=j(u),g=T(),d(r,"type","radio"),d(r,"name",e[1]),r.value=o=e[14].value,r.disabled=e[7],r.checked=n=e[14].value===e[0],d(l,"class","goa-radio-icon"),d(c,"class","goa-radio-label"),d(t,"data-testid",p="radio-option-"+e[14].value),d(t,"class","goa-radio"),I(t,"goa-radio--disabled",e[7]),I(t,"goa-radio--error",e[5]),this.first=t},m(x,z){k(x,t,z),m(t,r),m(t,a),m(t,l),m(t,s),m(t,c),m(c,f),m(t,g),b||(v=U(r,"change",M),b=!0)},p(x,z){e=x,z&2&&d(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&&u!==(u=(e[14].label||e[14].value)+"")&&V(f,u),z&16&&p!==(p="radio-option-"+e[14].value)&&d(t,"data-testid",p),z&128&&I(t,"goa-radio--disabled",e[7]),z&32&&I(t,"goa-radio--error",e[5])},d(x){x&&C(t),b=!1,v()}}}function wo(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 u=fi(i,l,c),f=s(u);n.set(f,o[c]=hi(f,u))}return{c(){e=w("div"),t=w("slot"),r=T();for(let c=0;c<o.length;c+=1)o[c].c();this.c=_,d(e,"class",a=`goa-radio-group--${i[2]}`),d(e,"data-testid",i[3])},m(c,u){k(c,e,u),m(e,t),m(e,r);for(let f=0;f<o.length;f+=1)o[f].m(e,null);i[12](e)},p(c,[u]){u&435&&(l=c[4],o=at(o,u,s,1,c,l,n,e,nt,hi,null,fi)),u&4&&a!==(a=`goa-radio-group--${c[2]}`)&&d(e,"class",a),u&8&&d(e,"data-testid",c[3])},i:_,o:_,d(c){c&&C(e);for(let u=0;u<o.length;u+=1)o[u].d();i[12](null)}}}function yo(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,u=[],f,g,p;$(()=>{g=Mt(o),g.subscribe(x=>{switch(x==null?void 0:x.type){case ui:t(4,u=[...u,x])}})});function b(x){x!==n&&(t(0,n=x),p.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:n}})))}$e(()=>{Tt(o)});const v=x=>b(x.value);function M(x){ee[x?"unshift":"push"](()=>{p=x,t(6,p)})}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,u,f,p,r,b,l,s,v,M]}class gi extends B{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},yo,wo,G,{name:1,value:0,orientation:2,disabled:9,error:10,testid:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","orientation","disabled","error","testid"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get orientation(){return this.$$.ctx[2]}set orientation(e){this.$$set({orientation:e}),h()}get disabled(){return this.$$.ctx[9]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[10]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-radio-group",gi);function _o(i){return{c(){this.c=_},m:_,p:_,i:_,o:_,d:_}}function ko(i,e,t){let{value:r}=e,{label:o}=e,{name:n}=e,a;return $(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 B{constructor(e){super();O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},ko,_o,G,{value:0,label:1,name:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["value","label","name"]}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get label(){return this.$$.ctx[1]}set label(e){this.$$set({label:e}),h()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),h()}}customElements.define("goa-radio-item",mi);function xo(i){let e,t,r;return{c(){e=w("div"),t=w("slot"),this.c=_,d(e,"class","goa-scrollable"),d(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"};
|
|
45
45
|
margin: ${i[2]}rem 0;
|
|
46
46
|
padding: 0 ${i[1]}rem;
|
|
47
|
-
`)},m(o,n){
|
|
47
|
+
`)},m(o,n){k(o,e,n),m(e,t)},p(o,[n]){n&15&&r!==(r=`
|
|
48
48
|
--max-height: ${o[3]};
|
|
49
49
|
overflow-y: ${o[0]==="vertical"?"auto":"hidden"};
|
|
50
50
|
overflow-x: ${o[0]==="horizontal"?"auto":"hidden"};
|
|
51
51
|
margin: ${o[2]}rem 0;
|
|
52
52
|
padding: 0 ${o[1]}rem;
|
|
53
|
-
`)&&d(e,"style",r)},i:
|
|
53
|
+
`)&&d(e,"style",r)},i:_,o:_,d(o){o&&C(e)}}}function Eo(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 bi extends B{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},Eo,xo,G,{direction:0,hpadding:1,vpadding:2,height:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["direction","hpadding","vpadding","height"]}get direction(){return this.$$.ctx[0]}set direction(e){this.$$set({direction:e}),h()}get hpadding(){return this.$$.ctx[1]}set hpadding(e){this.$$set({hpadding:e}),h()}get vpadding(){return this.$$.ctx[2]}set vpadding(e){this.$$set({vpadding:e}),h()}get height(){return this.$$.ctx[3]}set height(e){this.$$set({height:e}),h()}}customElements.define("goa-scrollable",bi);function vi(i){let e,t,r;return{c(){e=w("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=w("div"),r.innerHTML='An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>',d(e,"class","service-level service-level--live"),d(r,"data-testid","level"),d(r,"class","site-text")},m(o,n){k(o,e,n),k(o,t,n),k(o,r,n)},d(o){o&&C(e),o&&C(t),o&&C(r)}}}function pi(i){let e,t=_i(i[0])+"",r,o,n,a,l,s,c,u=i[2]&&wi(i);return{c(){e=w("div"),r=j(t),n=T(),a=w("div"),l=j("This is a new "),s=w("a"),s.textContent="Alberta Government",c=j(`
|
|
54
54
|
service
|
|
55
|
-
`),u&&u.c(),d(e,"data-testid","level"),d(e,"class",o="service-level service-level--"+i[0].toLowerCase()),d(s,"href","https://www.alberta.ca/index.aspx"),d(a,"data-testid","site-text"),d(a,"class","site-text")},m(f,v){x(f,e,v),b(e,r),x(f,n,v),x(f,a,v),b(a,l),b(a,s),b(a,c),u&&u.m(a,null)},p(f,v){v&1&&t!==(t=Ni(f[0])+"")&&W(r,t),v&1&&o!==(o="service-level service-level--"+f[0].toLowerCase())&&d(e,"class",o),f[2]?u?u.p(f,v):(u=Ii(f),u.c(),u.m(a,null)):u&&(u.d(1),u=null)},d(f){f&&A(e),f&&A(n),f&&A(a),u&&u.d()}}}function Ii(i){let e,t,r,o;return{c(){e=p("span"),t=P("\u2014 help us improve it by giving "),r=p("a"),o=P("feedback"),d(r,"href",i[2]),d(e,"data-testid","feedback")},m(n,a){x(n,e,a),b(e,t),b(e,r),b(r,o)},p(n,a){a&4&&d(r,"href",n[2])},d(n){n&&A(e)}}}function Si(i){let e,t;return{c(){e=p("div"),t=P(i[1]),d(e,"data-testid","version"),d(e,"class","version")},m(r,o){x(r,e,o),b(e,t)},p(r,o){o&2&&W(t,r[1])},d(r){r&&A(e)}}}function jo(i){let e,t,r=["alpha","beta"].includes(i[0]),o,n,a,l=i[0]==="live"&&Ti(),s=r&&Hi(i),c=i[1]&&Si(i);return{c(){e=p("header"),l&&l.c(),t=H(),s&&s.c(),o=H(),n=p("div"),a=H(),c&&c.c(),this.c=w,d(n,"class","spacer"),d(e,"class","goa-official-site-header")},m(u,f){x(u,e,f),l&&l.m(e,null),b(e,t),s&&s.m(e,null),b(e,o),b(e,n),b(e,a),c&&c.m(e,null)},p(u,[f]){u[0]==="live"?l||(l=Ti(),l.c(),l.m(e,t)):l&&(l.d(1),l=null),f&1&&(r=["alpha","beta"].includes(u[0])),r?s?s.p(u,f):(s=Hi(u),s.c(),s.m(e,o)):s&&(s.d(1),s=null),u[1]?c?c.p(u,f):(c=Si(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:w,o:w,d(u){u&&A(e),l&&l.d(),s&&s.d(),c&&c.d()}}}function Ni(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function Fo(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 Di extends B{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>",F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Fo,jo,O,{level:0,version:1,feedbackurl:2},null),e&&(e.target&&x(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",Di);function Po(i){let e,t;return{c(){e=p("div"),d(e,"class",t="skeleton "+i[2]+` ${i[2]}-${i[1]}`)},m(r,o){x(r,e,o)},p(r,o){o&6&&t!==(t="skeleton "+r[2]+` ${r[2]}-${r[1]}`)&&d(e,"class",t)},i:w,o:w,d(r){r&&A(e)}}}function Vo(i){let e,t,r,o,n,a,l,s,c,u;return r=new re({props:{type:"avatar",size:i[1]}}),a=new re({props:{type:"title",size:i[1]}}),s=new re({props:{type:"text-small",size:i[1]}}),{c(){e=p("div"),t=p("div"),le(r.$$.fragment),o=H(),n=p("div"),le(a.$$.fragment),l=H(),le(s.$$.fragment),d(t,"class","profile-avatar"),d(n,"class","profile-name"),d(e,"class",c="profile profile-"+i[1])},m(f,v){x(f,e,v),b(e,t),oe(r,t,null),b(e,o),b(e,n),oe(a,n,null),b(n,l),oe(s,n,null),u=!0},p(f,v){const _={};v&2&&(_.size=f[1]),r.$set(_);const m={};v&2&&(m.size=f[1]),a.$set(m);const h={};v&2&&(h.size=f[1]),s.$set(h),(!u||v&2&&c!==(c="profile profile-"+f[1]))&&d(e,"class",c)},i(f){u||(U(r.$$.fragment,f),U(a.$$.fragment,f),U(s.$$.fragment,f),u=!0)},o(f){Y(r.$$.fragment,f),Y(a.$$.fragment,f),Y(s.$$.fragment,f),u=!1},d(f){f&&A(e),ne(r),ne(a),ne(s)}}}function Wo(i){let e,t,r,o,n,a,l,s,c,u,f,v,_;return t=new re({props:{type:"image",size:i[1]}}),n=new re({props:{type:"header",size:i[1]}}),l=new re({props:{type:"text",size:i[1]}}),c=new re({props:{type:"text",size:i[1]}}),f=new re({props:{type:"text",size:i[1]}}),{c(){e=p("div"),le(t.$$.fragment),r=H(),o=p("div"),le(n.$$.fragment),a=H(),le(l.$$.fragment),s=H(),le(c.$$.fragment),u=H(),le(f.$$.fragment),d(o,"class","card-content"),d(e,"class",v="card card-"+i[1]),q(e,"--width",i[0]+"px")},m(m,h){x(m,e,h),oe(t,e,null),b(e,r),b(e,o),oe(n,o,null),b(o,a),oe(l,o,null),b(o,s),oe(c,o,null),b(o,u),oe(f,o,null),_=!0},p(m,h){const E={};h&2&&(E.size=m[1]),t.$set(E);const k={};h&2&&(k.size=m[1]),n.$set(k);const z={};h&2&&(z.size=m[1]),l.$set(z);const y={};h&2&&(y.size=m[1]),c.$set(y);const L={};h&2&&(L.size=m[1]),f.$set(L),(!_||h&2&&v!==(v="card card-"+m[1]))&&d(e,"class",v),(!_||h&1)&&q(e,"--width",m[0]+"px")},i(m){_||(U(t.$$.fragment,m),U(n.$$.fragment,m),U(l.$$.fragment,m),U(c.$$.fragment,m),U(f.$$.fragment,m),_=!0)},o(m){Y(t.$$.fragment,m),Y(n.$$.fragment,m),Y(l.$$.fragment,m),Y(c.$$.fragment,m),Y(f.$$.fragment,m),_=!1},d(m){m&&A(e),ne(t),ne(n),ne(l),ne(c),ne(f)}}}function qo(i){let e,t,r,o;const n=[Wo,Vo,Po],a=[];function l(s,c){return s[2]==="card"?0:s[2]==="profile"?1:2}return e=l(i),t=a[e]=n[e](i),{c(){t.c(),r=$(),this.c=w},m(s,c){a[e].m(s,c),x(s,r,c),o=!0},p(s,[c]){let u=e;e=l(s),e===u?a[e].p(s,c):(ke(),Y(a[u],1,1,()=>{a[u]=null}),xe(),t=a[e],t?t.p(s,c):(t=a[e]=n[e](s),t.c()),U(t,1),t.m(r.parentNode,r))},i(s){o||(U(t),o=!0)},o(s){Y(t),o=!1},d(s){a[e].d(s),s&&A(r)}}}function Uo(i,e,t){let{width:r=320}=e,{size:o=1}=e,{type:n}=e;return i.$$set=a=>{"width"in a&&t(0,r=a.width),"size"in a&&t(1,o=a.size),"type"in a&&t(2,n=a.type)},[r,o,n]}class re extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--color-gray-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--color-gray-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-4,.text-4{width:100%;height:.75rem;border-radius:0.25rem}.title,.title-1,.title-2{width:100%;height:.75rem;border-radius:0.25rem}.title-3{height:.8rem}.title-4{height:1rem}.text-small,.text-small-1{width:30%;height:6px;border-radius:2px}.text-small-2{width:40%;height:8px;border-radius:2px}.text-small-3{width:50%;height:10px;border-radius:3px}.text-small-4{width:70%;height:12px;border-radius:4px}.paragraph{width:100%;height:70px;border-radius:4px}.header,.header-1{width:50%;height:18px;margin-bottom:12px;border-radius:0.25rem}.header-2{width:60%;height:20px;margin-bottom:14px;border-radius:0.25rem}.header-3{width:70%;height:22px;margin-bottom:16px;border-radius:0.25rem}.header-4{width:80%;height:24px;margin-bottom:18px;border-radius:0.3rem}.avatar{display:inline-block}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail{display:inline-block}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card{display:inline-block}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--color-gray-100);border-radius:4px}.card{width:100%}@media(min-width: 320px){.card{width:var(--width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>",F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Uo,qo,O,{width:0,size:1,type:2},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["width","size","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 type(){return this.$$.ctx[2]}set type(e){this.$$set({type:e}),g()}}customElements.define("goa-skeleton",re);function Gi(i){return Object.prototype.toString.call(i)==="[object Date]"}function Ze(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)=>Ze(i[n],o));return o=>r.map(n=>n(o))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(Gi(i)&&Gi(e)){i=i.getTime(),e=e.getTime();const n=e-i;return a=>new Date(i+a*n)}const r=Object.keys(e),o={};return r.forEach(n=>{o[n]=Ze(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 Ko(i,e={}){const t=ut(i);let r,o=i;function n(a,l){if(i==null)return t.set(i=a),Promise.resolve();o=a;let s=r,c=!1,{delay:u=0,duration:f=400,easing:v=ve,interpolate:_=Ze}=Ye(Ye({},e),l);if(f===0)return s&&(s.abort(),s=null),t.set(i=o),Promise.resolve();const m=Ae()+u;let h;return r=Me(E=>{if(E<m)return!0;c||(h=_(i,a),typeof f=="function"&&(f=f(i,a)),c=!0),s&&(s.abort(),s=null);const k=E-m;return k>f?(t.set(i=a),!1):(t.set(i=h(v(k/f))),!0)}),r.promise}return{set:n,update:(a,l)=>n(a(o,i),l),subscribe:t.subscribe}}function Oi(i){let e,t,r,o,n,a,l,s,c;return{c(){e=de("svg"),t=de("circle"),n=de("path"),d(t,"cx",i[3]),d(t,"cy",i[3]),d(t,"stroke",r=i[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),d(t,"stroke-width",i[4]),d(t,"r",o=i[3]-i[4]/2),d(n,"d",a=i[9](i[7])),d(n,"stroke-width",i[4]),d(n,"stroke",l=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),d(n,"stroke-linecap","round"),d(e,"class",s=`spinner-${i[1]}`),d(e,"fill","none"),d(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),d(e,"width",i[5]),d(e,"height",i[5]),d(e,"data-testid",i[2]),d(e,"xmlns","http://www.w3.org/2000/svg")},m(u,f){x(u,e,f),b(e,t),b(e,n)},p(u,f){f&8&&d(t,"cx",u[3]),f&8&&d(t,"cy",u[3]),f&1&&r!==(r=u[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&d(t,"stroke",r),f&16&&d(t,"stroke-width",u[4]),f&24&&o!==(o=u[3]-u[4]/2)&&d(t,"r",o),f&128&&a!==(a=u[9](u[7]))&&d(n,"d",a),f&16&&d(n,"stroke-width",u[4]),f&1&&l!==(l=u[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&d(n,"stroke",l),f&2&&s!==(s=`spinner-${u[1]}`)&&d(e,"class",s),f&32&&c!==(c="0 0 "+u[5]+" "+u[5])&&d(e,"viewBox",c),f&32&&d(e,"width",u[5]),f&32&&d(e,"height",u[5]),f&4&&d(e,"data-testid",u[2])},d(u){u&&A(e)}}}function Zo(i){let e,t=i[6]&&Oi(i);return{c(){t&&t.c(),e=$(),this.c=w},m(r,o){t&&t.m(r,o),x(r,e,o)},p(r,[o]){r[6]?t?t.p(r,o):(t=Oi(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&&A(e)}}}function Xo(i,e,t){let r,o,n,a,l,s,{size:c}=e,{invert:u=!1}=e,{type:f="infinite"}=e,{progress:v="0"}=e,{testid:_=""}=e;const m=Ko(0,{duration:500,easing:ko});tr(i,m,k=>t(7,s=k));function h(k){const z=n+a*Math.cos(k),y=n+a*Math.sin(k);return z+" "+y}function E(k){switch(f){case"progress":{const z=h(-Math.PI/2),y=h(-Math.PI/2+2*Math.PI*(k/100)),L=k%100<50?0:1;return`M ${z} A ${a} ${a} 0 ${L} 1 ${y}`}case"infinite":{const z=h(Math.PI*1.5),y=h(0);return`M ${z} A ${a} ${a} 0 1 0 ${y}`}}}return i.$$set=k=>{"size"in k&&t(10,c=k.size),"invert"in k&&t(0,u=k.invert),"type"in k&&t(1,f=k.type),"progress"in k&&t(11,v=k.progress),"testid"in k&&t(2,_=k.testid)},i.$$.update=()=>{i.$$.dirty&2048&&m.set(parseFloat(v)),i.$$.dirty&1024&&t(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,o=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,n=r/2),i.$$.dirty&24&&t(12,a=n-o/2),i.$$.dirty&6146&&t(6,l=f==="infinite"?a:a&&v)},[u,f,_,n,o,r,l,s,m,E,c,v,a]}class Bi extends B{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>",F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Xo,Zo,O,{size:10,invert:0,type:1,progress:11,testid:2},null),e&&(e.target&&x(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",Bi);function ji(i){let e;function t(n,a){if(n[6]>0)return Jo;if(n[1].length>0)return Yo}let r=t(i),o=r&&r(i);return{c(){o&&o.c(),e=$()},m(n,a){o&&o.m(n,a),x(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&&A(e)}}}function Yo(i){let e,t=i[1].length+"",r;return{c(){e=p("div"),r=P(t),d(e,"class","counter")},m(o,n){x(o,e,n),b(e,r)},p(o,n){n&2&&t!==(t=o[1].length+"")&&W(r,t)},d(o){o&&A(e)}}}function Jo(i){let e,t=i[1].length+"",r,o=`/${i[6]}`,n;return{c(){e=p("div"),r=P(t),n=P(o),d(e,"class","counter"),I(e,"counter-error",i[1].length>i[6])},m(a,l){x(a,e,l),b(e,r),b(e,n)},p(a,l){l&2&&t!==(t=a[1].length+"")&&W(r,t),l&64&&o!==(o=`/${a[6]}`)&&W(n,o),l&66&&I(e,"counter-error",a[1].length>a[6])},d(a){a&&A(e)}}}function Qo(i){let e,t,r,o,n,a,l=i[8]&&ji(i);return{c(){e=p("div"),t=p("textarea"),r=H(),l&&l.c(),this.c=w,d(t,"name",i[0]),d(t,"placeholder",i[2]),t.value=i[1],d(t,"rows",i[3]),d(t,"class","goa-textarea"),t.disabled=i[7],t.readOnly=i[9],d(t,"data-testid",i[4]),I(t,"error",i[10]),d(e,"class","container"),d(e,"style",o=`
|
|
55
|
+
`),u&&u.c(),d(e,"data-testid","level"),d(e,"class",o="service-level service-level--"+i[0].toLowerCase()),d(s,"href","https://www.alberta.ca/index.aspx"),d(a,"data-testid","site-text"),d(a,"class","site-text")},m(f,g){k(f,e,g),m(e,r),k(f,n,g),k(f,a,g),m(a,l),m(a,s),m(a,c),u&&u.m(a,null)},p(f,g){g&1&&t!==(t=_i(f[0])+"")&&V(r,t),g&1&&o!==(o="service-level service-level--"+f[0].toLowerCase())&&d(e,"class",o),f[2]?u?u.p(f,g):(u=wi(f),u.c(),u.m(a,null)):u&&(u.d(1),u=null)},d(f){f&&C(e),f&&C(n),f&&C(a),u&&u.d()}}}function wi(i){let e,t,r,o;return{c(){e=w("span"),t=j("\u2014 help us improve it by giving "),r=w("a"),o=j("feedback"),d(r,"href",i[2]),d(e,"data-testid","feedback")},m(n,a){k(n,e,a),m(e,t),m(e,r),m(r,o)},p(n,a){a&4&&d(r,"href",n[2])},d(n){n&&C(e)}}}function yi(i){let e,t;return{c(){e=w("div"),t=j(i[1]),d(e,"data-testid","version"),d(e,"class","version")},m(r,o){k(r,e,o),m(e,t)},p(r,o){o&2&&V(t,r[1])},d(r){r&&C(e)}}}function zo(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]&&yi(i);return{c(){e=w("header"),l&&l.c(),t=T(),s&&s.c(),o=T(),n=w("div"),a=T(),c&&c.c(),this.c=_,d(n,"class","spacer"),d(e,"class","goa-official-site-header")},m(u,f){k(u,e,f),l&&l.m(e,null),m(e,t),s&&s.m(e,null),m(e,o),m(e,n),m(e,a),c&&c.m(e,null)},p(u,[f]){u[0]==="live"?l||(l=vi(),l.c(),l.m(e,t)):l&&(l.d(1),l=null),f&1&&(r=["alpha","beta"].includes(u[0])),r?s?s.p(u,f):(s=pi(u),s.c(),s.m(e,o)):s&&(s.d(1),s=null),u[1]?c?c.p(u,f):(c=yi(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:_,o:_,d(u){u&&C(e),l&&l.d(),s&&s.d(),c&&c.d()}}}function _i(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function Co(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 B{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},Co,zo,G,{level:0,version:1,feedbackurl:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["level","version","feedbackurl"]}get level(){return this.$$.ctx[0]}set level(e){this.$$set({level:e}),h()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),h()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),h()}}customElements.define("goa-microsite-header",ki);function Mo(i){let e,t;return{c(){e=w("div"),d(e,"class",t="skeleton "+i[2]+` ${i[2]}-${i[1]}`)},m(r,o){k(r,e,o)},p(r,o){o&6&&t!==(t="skeleton "+r[2]+` ${r[2]}-${r[1]}`)&&d(e,"class",t)},i:_,o:_,d(r){r&&C(e)}}}function Ao(i){let e,t,r,o,n,a,l,s,c,u;return r=new re({props:{type:"avatar",size:i[1]}}),a=new re({props:{type:"title",size:i[1]}}),s=new re({props:{type:"text-small",size:i[1]}}),{c(){e=w("div"),t=w("div"),le(r.$$.fragment),o=T(),n=w("div"),le(a.$$.fragment),l=T(),le(s.$$.fragment),d(t,"class","profile-avatar"),d(n,"class","profile-name"),d(e,"class",c="profile profile-"+i[1])},m(f,g){k(f,e,g),m(e,t),ne(r,t,null),m(e,o),m(e,n),ne(a,n,null),m(n,l),ne(s,n,null),u=!0},p(f,g){const p={};g&2&&(p.size=f[1]),r.$set(p);const b={};g&2&&(b.size=f[1]),a.$set(b);const v={};g&2&&(v.size=f[1]),s.$set(v),(!u||g&2&&c!==(c="profile profile-"+f[1]))&&d(e,"class",c)},i(f){u||(W(r.$$.fragment,f),W(a.$$.fragment,f),W(s.$$.fragment,f),u=!0)},o(f){X(r.$$.fragment,f),X(a.$$.fragment,f),X(s.$$.fragment,f),u=!1},d(f){f&&C(e),ae(r),ae(a),ae(s)}}}function Lo(i){let e,t,r,o,n,a,l,s,c,u,f,g,p;return t=new re({props:{type:"image",size:i[1]}}),n=new re({props:{type:"header",size:i[1]}}),l=new re({props:{type:"text",size:i[1]}}),c=new re({props:{type:"text",size:i[1]}}),f=new re({props:{type:"text",size:i[1]}}),{c(){e=w("div"),le(t.$$.fragment),r=T(),o=w("div"),le(n.$$.fragment),a=T(),le(l.$$.fragment),s=T(),le(c.$$.fragment),u=T(),le(f.$$.fragment),d(o,"class","card-content"),d(e,"class",g="card card-"+i[1]),q(e,"--width",i[0]+"px")},m(b,v){k(b,e,v),ne(t,e,null),m(e,r),m(e,o),ne(n,o,null),m(o,a),ne(l,o,null),m(o,s),ne(c,o,null),m(o,u),ne(f,o,null),p=!0},p(b,v){const M={};v&2&&(M.size=b[1]),t.$set(M);const x={};v&2&&(x.size=b[1]),n.$set(x);const z={};v&2&&(z.size=b[1]),l.$set(z);const y={};v&2&&(y.size=b[1]),c.$set(y);const A={};v&2&&(A.size=b[1]),f.$set(A),(!p||v&2&&g!==(g="card card-"+b[1]))&&d(e,"class",g),(!p||v&1)&&q(e,"--width",b[0]+"px")},i(b){p||(W(t.$$.fragment,b),W(n.$$.fragment,b),W(l.$$.fragment,b),W(c.$$.fragment,b),W(f.$$.fragment,b),p=!0)},o(b){X(t.$$.fragment,b),X(n.$$.fragment,b),X(l.$$.fragment,b),X(c.$$.fragment,b),X(f.$$.fragment,b),p=!1},d(b){b&&C(e),ae(t),ae(n),ae(l),ae(c),ae(f)}}}function To(i){let e,t,r,o;const n=[Lo,Ao,Mo],a=[];function l(s,c){return s[2]==="card"?0:s[2]==="profile"?1:2}return e=l(i),t=a[e]=n[e](i),{c(){t.c(),r=oe(),this.c=_},m(s,c){a[e].m(s,c),k(s,r,c),o=!0},p(s,[c]){let u=e;e=l(s),e===u?a[e].p(s,c):(_e(),X(a[u],1,1,()=>{a[u]=null}),ke(),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){X(t),o=!1},d(s){a[e].d(s),s&&C(r)}}}function Ro(i,e,t){let{width:r=320}=e,{size:o=1}=e,{type:n}=e;return i.$$set=a=>{"width"in a&&t(0,r=a.width),"size"in a&&t(1,o=a.size),"type"in a&&t(2,n=a.type)},[r,o,n]}class re extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--color-gray-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--color-gray-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-4,.text-4{width:100%;height:.75rem;border-radius:0.25rem}.title,.title-1,.title-2{width:100%;height:.75rem;border-radius:0.25rem}.title-3{height:.8rem}.title-4{height:1rem}.text-small,.text-small-1{width:30%;height:6px;border-radius:2px}.text-small-2{width:40%;height:8px;border-radius:2px}.text-small-3{width:50%;height:10px;border-radius:3px}.text-small-4{width:70%;height:12px;border-radius:4px}.paragraph{width:100%;height:70px;border-radius:4px}.header,.header-1{width:50%;height:18px;margin-bottom:12px;border-radius:0.25rem}.header-2{width:60%;height:20px;margin-bottom:14px;border-radius:0.25rem}.header-3{width:70%;height:22px;margin-bottom:16px;border-radius:0.25rem}.header-4{width:80%;height:24px;margin-bottom:18px;border-radius:0.3rem}.avatar{display:inline-block}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail{display:inline-block}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card{display:inline-block}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--color-gray-100);border-radius:4px}.card{width:100%}@media(min-width: 320px){.card{width:var(--width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Ro,To,G,{width:0,size:1,type:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["width","size","type"]}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get type(){return this.$$.ctx[2]}set type(e){this.$$set({type:e}),h()}}customElements.define("goa-skeleton",re);function xi(i){return Object.prototype.toString.call(i)==="[object Date]"}function Fe(i,e){if(i===e||i!==i)return()=>i;const t=typeof i;if(t!==typeof e||Array.isArray(i)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(i)){const r=e.map((o,n)=>Fe(i[n],o));return o=>r.map(n=>n(o))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(xi(i)&&xi(e)){i=i.getTime(),e=e.getTime();const n=e-i;return a=>new Date(i+a*n)}const r=Object.keys(e),o={};return r.forEach(n=>{o[n]=Fe(i[n],e[n])}),n=>{const a={};return r.forEach(l=>{a[l]=o[l](n)}),a}}if(t==="number"){const r=e-i;return o=>i+o*r}throw new Error(`Cannot interpolate ${t} values`)}function Ho(i,e={}){const t=Ct(i);let r,o=i;function n(a,l){if(i==null)return t.set(i=a),Promise.resolve();o=a;let s=r,c=!1,{delay:u=0,duration:f=400,easing:g=be,interpolate:p=Fe}=qe(qe({},e),l);if(f===0)return s&&(s.abort(),s=null),t.set(i=o),Promise.resolve();const b=Ce()+u;let v;return r=Me(M=>{if(M<b)return!0;c||(v=p(i,a),typeof f=="function"&&(f=f(i,a)),c=!0),s&&(s.abort(),s=null);const x=M-b;return x>f?(t.set(i=a),!1):(t.set(i=v(g(x/f))),!0)}),r.promise}return{set:n,update:(a,l)=>n(a(o,i),l),subscribe:t.subscribe}}function Ei(i){let e,t,r,o,n,a,l,s,c;return{c(){e=de("svg"),t=de("circle"),n=de("path"),d(t,"cx",i[3]),d(t,"cy",i[3]),d(t,"stroke",r=i[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),d(t,"stroke-width",i[4]),d(t,"r",o=i[3]-i[4]/2),d(n,"d",a=i[9](i[7])),d(n,"stroke-width",i[4]),d(n,"stroke",l=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),d(n,"stroke-linecap","round"),d(e,"class",s=`spinner-${i[1]}`),d(e,"fill","none"),d(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),d(e,"width",i[5]),d(e,"height",i[5]),d(e,"data-testid",i[2]),d(e,"xmlns","http://www.w3.org/2000/svg")},m(u,f){k(u,e,f),m(e,t),m(e,n)},p(u,f){f&8&&d(t,"cx",u[3]),f&8&&d(t,"cy",u[3]),f&1&&r!==(r=u[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&d(t,"stroke",r),f&16&&d(t,"stroke-width",u[4]),f&24&&o!==(o=u[3]-u[4]/2)&&d(t,"r",o),f&128&&a!==(a=u[9](u[7]))&&d(n,"d",a),f&16&&d(n,"stroke-width",u[4]),f&1&&l!==(l=u[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&d(n,"stroke",l),f&2&&s!==(s=`spinner-${u[1]}`)&&d(e,"class",s),f&32&&c!==(c="0 0 "+u[5]+" "+u[5])&&d(e,"viewBox",c),f&32&&d(e,"width",u[5]),f&32&&d(e,"height",u[5]),f&4&&d(e,"data-testid",u[2])},d(u){u&&C(e)}}}function So(i){let e,t=i[6]&&Ei(i);return{c(){t&&t.c(),e=oe(),this.c=_},m(r,o){t&&t.m(r,o),k(r,e,o)},p(r,[o]){r[6]?t?t.p(r,o):(t=Ei(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:_,o:_,d(r){t&&t.d(r),r&&C(e)}}}function Io(i,e,t){let r,o,n,a,l,s,{size:c}=e,{invert:u=!1}=e,{type:f="infinite"}=e,{progress:g="0"}=e,{testid:p=""}=e;const b=Ho(0,{duration:500,easing:ao});Zi(i,b,x=>t(7,s=x));function v(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=v(-Math.PI/2),y=v(-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=v(Math.PI*1.5),y=v(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,u=x.invert),"type"in x&&t(1,f=x.type),"progress"in x&&t(11,g=x.progress),"testid"in x&&t(2,p=x.testid)},i.$$.update=()=>{i.$$.dirty&2048&&b.set(parseFloat(g)),i.$$.dirty&1024&&t(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,o=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,n=r/2),i.$$.dirty&24&&t(12,a=n-o/2),i.$$.dirty&6146&&t(6,l=f==="infinite"?a:a&&g)},[u,f,p,n,o,r,l,s,b,M,c,g,a]}class zi extends B{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},Io,So,G,{size:10,invert:0,type:1,progress:11,testid:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["size","invert","type","progress","testid"]}get size(){return this.$$.ctx[10]}set size(e){this.$$set({size:e}),h()}get invert(){return this.$$.ctx[0]}set invert(e){this.$$set({invert:e}),h()}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),h()}get progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),h()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-spinner",zi);function Ci(i){let e;function t(n,a){if(n[6]>0)return Go;if(n[1].length>0)return Do}let r=t(i),o=r&&r(i);return{c(){o&&o.c(),e=oe()},m(n,a){o&&o.m(n,a),k(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 Do(i){let e,t=i[1].length+"",r;return{c(){e=w("div"),r=j(t),d(e,"class","counter")},m(o,n){k(o,e,n),m(e,r)},p(o,n){n&2&&t!==(t=o[1].length+"")&&V(r,t)},d(o){o&&C(e)}}}function Go(i){let e,t=i[1].length+"",r,o=`/${i[6]}`,n;return{c(){e=w("div"),r=j(t),n=j(o),d(e,"class","counter"),I(e,"counter-error",i[1].length>i[6])},m(a,l){k(a,e,l),m(e,r),m(e,n)},p(a,l){l&2&&t!==(t=a[1].length+"")&&V(r,t),l&64&&o!==(o=`/${a[6]}`)&&V(n,o),l&66&&I(e,"counter-error",a[1].length>a[6])},d(a){a&&C(e)}}}function Bo(i){let e,t,r,o,n,a,l=i[8]&&Ci(i);return{c(){e=w("div"),t=w("textarea"),r=T(),l&&l.c(),this.c=_,d(t,"name",i[0]),d(t,"placeholder",i[2]),t.value=i[1],d(t,"rows",i[3]),d(t,"class","goa-textarea"),t.disabled=i[7],t.readOnly=i[9],d(t,"data-testid",i[4]),I(t,"error",i[10]),d(e,"class","container"),d(e,"style",o=`
|
|
56
56
|
--width: ${i[5]};
|
|
57
|
-
`)},m(s,c){
|
|
57
|
+
`)},m(s,c){k(s,e,c),m(e,t),m(e,r),l&&l.m(e,null),n||(a=U(t,"keyup",i[11]),n=!0)},p(s,[c]){c&1&&d(t,"name",s[0]),c&4&&d(t,"placeholder",s[2]),c&2&&(t.value=s[1]),c&8&&d(t,"rows",s[3]),c&128&&(t.disabled=s[7]),c&512&&(t.readOnly=s[9]),c&16&&d(t,"data-testid",s[4]),c&1024&&I(t,"error",s[10]),s[8]?l?l.p(s,c):(l=Ci(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),c&32&&o!==(o=`
|
|
58
58
|
--width: ${s[5]};
|
|
59
|
-
`)&&d(e,"style",o)},i:
|
|
60
|
-
}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}</style>`,F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},$o,Qo,O,{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&&x(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",Fi);function en(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",this.c=w},m(t,r){x(t,e,r),i[3](e)},p:w,i:w,o:w,d(t){t&&A(e),i[3](null)}}}function tn(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 rn(i,e,t){let r,o=!1,n,a,{open:l}=e;function s(){document.removeEventListener("focus",k,!0)}function c(){document.addEventListener("focus",k,!0)}function u(y){if(!y)return!1;for(let L=0;L<y.length;L++){let C=y[L];if(E(C)||u(C.childNodes)||f(C)||v(C))return!0}return!1}function f(y){var L;if(y instanceof HTMLSlotElement){let C=(L=y)===null||L===void 0?void 0:L.assignedNodes();if(u(C))return!0}}function v(y){var L,C;if(y instanceof HTMLElement){let R=(C=(L=y)===null||L===void 0?void 0:L.shadowRoot)===null||C===void 0?void 0:C.childNodes;if(u(R))return!0}}function _(y){if(!y)return!1;for(let L=y.length-1;L>=0;L--){let C=y[L];if(E(C)||_(C.childNodes)||m(C)||h(C))return!0}return!1}function m(y){var L;if(y instanceof HTMLSlotElement){let C=(L=y)===null||L===void 0?void 0:L.assignedNodes();if(_(C))return!0}}function h(y){var L,C;if(y instanceof HTMLElement){let R=(C=(L=y)===null||L===void 0?void 0:L.shadowRoot)===null||C===void 0?void 0:C.childNodes;if(_(R))return!0}}function E(y){if(!tn(y))return!1;o=!0;try{y.focus()}catch{}return o=!1,document.activeElement===y}function k(y){var L;if(o)return;const C=(L=a.firstChild)===null||L===void 0?void 0:L.assignedElements();if(!(C==null?void 0:C.length))return;const R=C[0];y.composedPath().includes(R)?n=y.target:(u(R.childNodes),n==document.activeElement&&_(R.childNodes),n=document.activeElement)}function z(y){ae[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=V(l)),i.$$.dirty&4&&(r?c():s())},[a,l,r,z]}class Pi extends B{constructor(e){super();F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},rn,en,O,{open:1},null),e&&(e.target&&x(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",Pi);function Vi(i){let e,t;return{c(){e=p("div"),t=P(i[0]),d(e,"slot","title"),d(e,"class","title")},m(r,o){x(r,e,o),b(e,t)},p(r,o){o&1&&W(t,r[0])},d(r){r&&A(e)}}}function Wi(i){let e;return{c(){e=p("div"),d(e,"class","actions"),d(e,"slot","actions")},m(t,r){x(t,e,r),e.innerHTML=i[1]},p(t,r){r&2&&(e.innerHTML=t[1])},d(t){t&&A(e)}}}function on(i){let e,t,r,o,n=i[0]&&Vi(i),a=i[1]&&Wi(i);return{c(){e=p("goa-container"),n&&n.c(),t=H(),a&&a.c(),r=H(),o=p("div"),this.c=w,d(o,"class","content"),d(o,"slot",""),M(e,"variant",i[3]),M(e,"headingsize",i[4])},m(l,s){x(l,e,s),n&&n.m(e,null),b(e,t),a&&a.m(e,null),b(e,r),b(e,o),o.innerHTML=i[2]},p(l,[s]){l[0]?n?n.p(l,s):(n=Vi(l),n.c(),n.m(e,t)):n&&(n.d(1),n=null),l[1]?a?a.p(l,s):(a=Wi(l),a.c(),a.m(e,r)):a&&(a.d(1),a=null),s&4&&(o.innerHTML=l[2]),s&8&&M(e,"variant",l[3]),s&16&&M(e,"headingsize",l[4])},i:w,o:w,d(l){l&&A(e),n&&n.d(),a&&a.d()}}}function nn(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 qi extends B{constructor(e){super();F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},nn,on,O,{title:0,actions:1,content:2,variant:3,headingsize:4},null),e&&(e.target&&x(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",qi);function an(i){let e;return{c(){e=p("hr"),this.c=w,q(e,"--spacing",i[0])},m(t,r){x(t,e,r)},p(t,[r]){r&1&&q(e,"--spacing",t[0])},i:w,o:w,d(t){t&&A(e)}}}function ln(i,e,t){let r,{spacing:o=""}=e;const n=["small","medium","large"];function a(l){return n.includes(l)}return ee(()=>{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 Ui extends B{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>",F(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},ln,an,O,{spacing:1},null),e&&(e.target&&x(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",Ui);function sn(i){let e;return{c(){e=p("div"),e.innerHTML=`<section class="header"><slot name="header"></slot></section>
|
|
59
|
+
`)&&d(e,"style",o)},i:_,o:_,d(s){s&&C(e),l&&l.d(),n=!1,a()}}}function No(i,e,t){let r,o,n,a,{name:l}=e,{value:s=""}=e,{placeholder:c=""}=e,{rows:u=3}=e,{testid:f=""}=e,{width:g="60ch"}=e,{error:p="false"}=e,{readonly:b="false"}=e,{disabled:v="false"}=e,{showcounter:M="false"}=e,{maxcharcount:x=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,u=y.rows),"testid"in y&&t(4,f=y.testid),"width"in y&&t(5,g=y.width),"error"in y&&t(12,p=y.error),"readonly"in y&&t(13,b=y.readonly),"disabled"in y&&t(14,v=y.disabled),"showcounter"in y&&t(15,M=y.showcounter),"maxcharcount"in y&&t(6,x=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(b)),i.$$.dirty&32768&&t(8,a=F(M))},[l,s,c,u,f,g,x,o,a,n,r,z,p,b,v,M]}class Mi extends B{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},No,Bo,G,{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&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","placeholder","rows","testid","width","error","readonly","disabled","showcounter","maxcharcount"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),h()}get placeholder(){return this.$$.ctx[2]}set placeholder(e){this.$$set({placeholder:e}),h()}get rows(){return this.$$.ctx[3]}set rows(e){this.$$set({rows:e}),h()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),h()}get width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),h()}get error(){return this.$$.ctx[12]}set error(e){this.$$set({error:e}),h()}get readonly(){return this.$$.ctx[13]}set readonly(e){this.$$set({readonly:e}),h()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),h()}get showcounter(){return this.$$.ctx[15]}set showcounter(e){this.$$set({showcounter:e}),h()}get maxcharcount(){return this.$$.ctx[6]}set maxcharcount(e){this.$$set({maxcharcount:e}),h()}}customElements.define("goa-textarea",Mi);function Oo(i){let e;return{c(){e=w("div"),e.innerHTML="<slot></slot>",this.c=_},m(t,r){k(t,e,r),i[3](e)},p:_,i:_,o:_,d(t){t&&C(e),i[3](null)}}}function Po(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 jo(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 u(y){if(!y)return!1;for(let A=0;A<y.length;A++){let L=y[A];if(M(L)||u(L.childNodes)||f(L)||g(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(u(L))return!0}}function g(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(u(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)||b(L)||v(L))return!0}return!1}function b(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(!Po(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:(u(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 Ai extends B{constructor(e){super();O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},jo,Oo,G,{open:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["open"]}get open(){return this.$$.ctx[1]}set open(e){this.$$set({open:e}),h()}}customElements.define("goa-focus-trap",Ai);function Li(i){let e;return{c(){e=w("goa-divider"),E(e,"spacing","small")},m(t,r){k(t,e,r)},d(t){t&&C(e)}}}function Fo(i){let e,t,r,o,n,a,l,s,c,u,f,g=i[1]?.length&&Li();return{c(){e=w("footer"),t=w("div"),t.innerHTML='<slot name="nav"></slot>',r=T(),g&&g.c(),o=T(),n=w("div"),a=w("div"),a.innerHTML='<slot name="meta"></slot>',l=T(),s=w("div"),c=w("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"/>',u=T(),f=w("a"),f.textContent=`\xA9 ${i[3]} Government of Alberta`,this.c=_,d(t,"class","nav-links"),d(a,"class","meta-links"),d(c,"href","https://alberta.ca"),d(f,"href","https://alberta.ca"),d(f,"class","goa-copyright"),d(s,"class","abgov"),I(s,"with-meta-links",i[2]?.length),d(n,"class","meta-section"),I(n,"with-meta-links",i[2]?.length),d(e,"class","app-footer")},m(p,b){k(p,e,b),m(e,t),m(e,r),g&&g.m(e,null),m(e,o),m(e,n),m(n,a),m(n,l),m(n,s),m(s,c),m(s,u),m(s,f),i[4](e)},p(p,[b]){p[1]?.length?g||(g=Li(),g.c(),g.m(e,o)):g&&(g.d(1),g=null),b&4&&I(s,"with-meta-links",p[2]?.length),b&4&&I(n,"with-meta-links",p[2]?.length)},i:_,o:_,d(p){p&&C(e),g&&g.d(),i[4](null)}}}function Vo(i,e,t){let r,o,n;const a=new Date().getFullYear();$(async()=>{await he();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 qo extends B{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;gap:1.5rem;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},Vo,Fo,G,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-app-footer",qo);function Ti(i,e,t){const r=i.slice();return r[5]=e[t],r}function Ri(i){let e,t,r,o;return{c(){e=w("div"),t=j(i[0]),r=T(),o=w("goa-divider"),d(e,"class","title"),E(o,"spacing","small")},m(n,a){k(n,e,a),m(e,t),k(n,r,a),k(n,o,a)},p(n,a){a&1&&V(t,n[0])},d(n){n&&C(e),n&&C(r),n&&C(o)}}}function Hi(i){let e,t,r=i[5].innerHTML+"",o,n;return{c(){e=w("li"),t=w("a"),o=j(r),d(t,"href",n=i[5].href)},m(a,l){k(a,e,l),m(e,t),m(t,o)},p(a,l){l&8&&r!==(r=a[5].innerHTML+"")&&V(o,r),l&8&&n!==(n=a[5].href)&&d(t,"href",n)},d(a){a&&C(e)}}}function Wo(i){let e,t,r,o,n,a,l=i[0]&&Ri(i),s=i[3],c=[];for(let u=0;u<s.length;u+=1)c[u]=Hi(Ti(i,s,u));return{c(){e=w("section"),l&&l.c(),t=T(),r=w("div"),r.innerHTML="<slot></slot>",o=T(),n=w("ul");for(let u=0;u<c.length;u+=1)c[u].c();this.c=_,d(r,"class","hidden"),d(n,"class","links"),d(n,"style",a=`
|
|
61
|
+
--narrow-display-type: ${Math.ceil(i[1]/2)>1?"block":"flex"};
|
|
62
|
+
--narrow-column-count: ${Math.ceil(i[1]/2)};
|
|
63
|
+
--wide-display-type: ${i[1]>1?"block":"flex"};
|
|
64
|
+
--wide-column-count: ${i[1]};
|
|
65
|
+
`)},m(u,f){k(u,e,f),l&&l.m(e,null),m(e,t),m(e,r),m(e,o),m(e,n);for(let g=0;g<c.length;g+=1)c[g].m(n,null);i[4](e)},p(u,[f]){if(u[0]?l?l.p(u,f):(l=Ri(u),l.c(),l.m(e,t)):l&&(l.d(1),l=null),f&8){s=u[3];let g;for(g=0;g<s.length;g+=1){const p=Ti(u,s,g);c[g]?c[g].p(p,f):(c[g]=Hi(p),c[g].c(),c[g].m(n,null))}for(;g<c.length;g+=1)c[g].d(1);c.length=s.length}f&2&&a!==(a=`
|
|
66
|
+
--narrow-display-type: ${Math.ceil(u[1]/2)>1?"block":"flex"};
|
|
67
|
+
--narrow-column-count: ${Math.ceil(u[1]/2)};
|
|
68
|
+
--wide-display-type: ${u[1]>1?"block":"flex"};
|
|
69
|
+
--wide-column-count: ${u[1]};
|
|
70
|
+
`)&&d(n,"style",a)},i:_,o:_,d(u){u&&C(e),l&&l.d(),Je(c,u),i[4](null)}}}function Uo(i,e,t){let{name:r=""}=e,{maxcolumncount:o=1}=e,n,a=[];$(async()=>{if(await he(),t(3,a=n.querySelector("slot").assignedElements()),!a.map(u=>u.hasAttribute("href")).reduce((u,f)=>u&&f,!0)){t(3,a=[]),console.warn("GoAFooterNavSection children must be anchor elements.");return}const c=document.createElement("style");c.innerHTML=`
|
|
71
|
+
:host {
|
|
72
|
+
flex-grow: ${o};
|
|
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 Zo extends B{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},Uo,Wo,G,{name:0,maxcolumncount:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","maxcolumncount"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get maxcolumncount(){return this.$$.ctx[1]}set maxcolumncount(e){this.$$set({maxcolumncount:e}),h()}}customElements.define("goa-app-footer-nav-section",Zo);function Si(i,e,t){const r=i.slice();return r[3]=e[t],r}function Ii(i){let e,t,r=i[3].innerHTML+"",o,n;return{c(){e=w("li"),t=w("a"),o=j(r),d(t,"href",n=i[3].href)},m(a,l){k(a,e,l),m(e,t),m(t,o)},p(a,l){l&2&&r!==(r=a[3].innerHTML+"")&&V(o,r),l&2&&n!==(n=a[3].href)&&d(t,"href",n)},d(a){a&&C(e)}}}function Ko(i){let e,t,r,o,n=i[1],a=[];for(let l=0;l<n.length;l+=1)a[l]=Ii(Si(i,n,l));return{c(){e=w("section"),t=w("div"),t.innerHTML="<slot></slot>",r=T(),o=w("ul");for(let l=0;l<a.length;l+=1)a[l].c();this.c=_,d(t,"class","hidden")},m(l,s){k(l,e,s),m(e,t),m(e,r),m(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 u=Si(l,n,c);a[c]?a[c].p(u,s):(a[c]=Ii(u),a[c].c(),a[c].m(o,null))}for(;c<a.length;c+=1)a[c].d(1);a.length=n.length}},i:_,o:_,d(l){l&&C(e),Je(a,l),i[2](null)}}}function Yo(i,e,t){let r,o=[];$(async()=>{if(await he(),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 Xo extends B{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},Yo,Ko,G,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-app-footer-meta-section",Xo);function Di(i){let e,t;return{c(){e=w("div"),t=j(i[0]),d(e,"slot","title"),d(e,"class","title")},m(r,o){k(r,e,o),m(e,t)},p(r,o){o&1&&V(t,r[0])},d(r){r&&C(e)}}}function Gi(i){let e;return{c(){e=w("div"),d(e,"class","actions"),d(e,"slot","actions")},m(t,r){k(t,e,r),e.innerHTML=i[1]},p(t,r){r&2&&(e.innerHTML=t[1])},d(t){t&&C(e)}}}function Jo(i){let e,t,r,o,n=i[0]&&Di(i),a=i[1]&&Gi(i);return{c(){e=w("goa-container"),n&&n.c(),t=T(),a&&a.c(),r=T(),o=w("div"),this.c=_,d(o,"class","content"),d(o,"slot",""),E(e,"variant",i[3]),E(e,"headingsize",i[4])},m(l,s){k(l,e,s),n&&n.m(e,null),m(e,t),a&&a.m(e,null),m(e,r),m(e,o),o.innerHTML=i[2]},p(l,[s]){l[0]?n?n.p(l,s):(n=Di(l),n.c(),n.m(e,t)):n&&(n.d(1),n=null),l[1]?a?a.p(l,s):(a=Gi(l),a.c(),a.m(e,r)):a&&(a.d(1),a=null),s&4&&(o.innerHTML=l[2]),s&8&&E(e,"variant",l[3]),s&16&&E(e,"headingsize",l[4])},i:_,o:_,d(l){l&&C(e),n&&n.d(),a&&a.d()}}}function Qo(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 Bi extends B{constructor(e){super();O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Qo,Jo,G,{title:0,actions:1,content:2,variant:3,headingsize:4},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["title","actions","content","variant","headingsize"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),h()}get actions(){return this.$$.ctx[1]}set actions(e){this.$$set({actions:e}),h()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),h()}get variant(){return this.$$.ctx[3]}set variant(e){this.$$set({variant:e}),h()}get headingsize(){return this.$$.ctx[4]}set headingsize(e){this.$$set({headingsize:e}),h()}}customElements.define("test-container",Bi);function $o(i){let e;return{c(){e=w("hr"),this.c=_,q(e,"--spacing",i[0])},m(t,r){k(t,e,r)},p(t,[r]){r&1&&q(e,"--spacing",t[0])},i:_,o:_,d(t){t&&C(e)}}}function en(i,e,t){let r,{spacing:o=""}=e;const n=["small","medium","large"];function a(l){return n.includes(l)}return $(()=>{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 Ni extends B{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},en,$o,G,{spacing:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["spacing"]}get spacing(){return this.$$.ctx[1]}set spacing(e){this.$$set({spacing:e}),h()}}customElements.define("goa-divider",Ni);function tn(i){let e;return{c(){e=w("div"),e.innerHTML=`<section class="header"><slot name="header"></slot></section>
|
|
61
75
|
|
|
62
76
|
<main><slot></slot></main>
|
|
63
77
|
|
|
64
|
-
<section class="footer"><slot name="footer"></slot></section>`,this.c=
|
|
78
|
+
<section class="footer"><slot name="footer"></slot></section>`,this.c=_,d(e,"class","page")},m(t,r){k(t,e,r)},p:_,i:_,o:_,d(t){t&&C(e)}}}class Oi extends B{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,tn,G,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-page",Oi),D.ContainerWrapper=Bi,D.Divider=Ni,D.GoAAppHeader=st,D.GoABadge=dt,D.GoAButton=ht,D.GoAButtonGroup=gt,D.GoACallout=mt,D.GoACard=bt,D.GoACardActions=vt,D.GoACardContent=pt,D.GoACardGroup=wt,D.GoACardImage=yt,D.GoACheckbox=_t,D.GoAChip=Et,D.GoACircularProgress=di,D.GoAContainer=zt,D.GoADropdown=Dt,D.GoADropdownItem=Gt,D.GoAFlexRow=Bt,D.GoAFocusTrap=Ai,D.GoAFormItem=Ft,D.GoAHeroBanner=Vt,D.GoAIcon=Wt,D.GoAIconButton=Ut,D.GoAInput=Jt,D.GoAMicrositeHeader=ki,D.GoAModal=ri,D.GoANotification=ni,D.GoAPageBlock=lt,D.GoAPageLayout=ai,D.GoARadioGroup=gi,D.GoARadioItem=mi,D.GoAScrollable=bi,D.GoASkeleton=re,D.GoASpinner=zi,D.GoATextArea=Mi,D.Page=Oi,Object.defineProperty(D,"__esModule",{value:!0}),D[Symbol.toStringTag]="Module"});
|