@abgov/web-components 1.0.0-alpha.11 → 1.0.0-alpha.110
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 +8119 -4540
- package/web-components.umd.js +94 -13
package/web-components.umd.js
CHANGED
|
@@ -1,19 +1,100 @@
|
|
|
1
|
-
(function(
|
|
2
|
-
`;for(let
|
|
1
|
+
(function(w){typeof define=="function"&&define.amd?define(w):w()})(function(){"use strict";function w(){}const ke=i=>i;function Je(i,e){for(const t in e)i[t]=e[t];return i}function Ve(i){return i()}function Qe(){return Object.create(null)}function $(i){i.forEach(Ve)}function ue(i){return typeof i=="function"}function N(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Me;function Le(i,e){return Me||(Me=document.createElement("a")),Me.href=e,i===Me.href}function gi(i){return Object.keys(i).length===0}function mi(i,...e){if(i==null)return w;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function bi(i,e,t){i.$$.on_destroy.push(mi(e,t))}function $e(i){return i&&ue(i.destroy)?i.destroy:w}const et=typeof window!="undefined";let Te=et?()=>window.performance.now():()=>Date.now(),We=et?i=>requestAnimationFrame(i):w;const be=new Set;function tt(i){be.forEach(e=>{e.c(i)||(be.delete(e),e.f())}),be.size!==0&&We(tt)}function Re(i){let e;return be.size===0&&We(tt),{promise:new Promise(t=>{be.add(e={c:i,f:t})}),abort(){be.delete(e)}}}function g(i,e){i.appendChild(e)}function it(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function vi(i){const e=m("style");return pi(it(i),e),e.sheet}function pi(i,e){g(i.head||i,e)}function v(i,e,t){i.insertBefore(e,t||null)}function E(i){i.parentNode.removeChild(i)}function Ae(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function m(i){return document.createElement(i)}function fe(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function F(i){return document.createTextNode(i)}function H(){return F(" ")}function ie(){return F("")}function U(i,e,t,r){return i.addEventListener(e,t,r),()=>i.removeEventListener(e,t,r)}function u(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function C(i,e,t){e in i?i[e]=typeof i[e]=="boolean"&&t===""?!0:t:u(i,e,t)}function wi(i){return Array.from(i.childNodes)}function q(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function V(i,e,t,r){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,r?"important":"")}function B(i,e,t){i.classList[t?"add":"remove"](e)}function yi(i,e,{bubbles:t=!1,cancelable:r=!1}={}){const n=document.createEvent("CustomEvent");return n.initCustomEvent(i,t,r,e),n}function j(i){const e={};for(const t of i)e[t.name]=t.value;return e}const He=new Map;let Ie=0;function _i(i){let e=5381,t=i.length;for(;t--;)e=(e<<5)-e^i.charCodeAt(t);return e>>>0}function ki(i,e){const t={stylesheet:vi(e),rules:{}};return He.set(i,t),t}function Se(i,e,t,r,n,o,a,l=0){const s=16.666/r;let c=`{
|
|
2
|
+
`;for(let L=0;L<=1;L+=s){const x=e+(t-e)*o(L);c+=L*100+`%{${a(x,1-x)}}
|
|
3
3
|
`}const d=c+`100% {${a(t,1-t)}}
|
|
4
|
-
}`,f=`__svelte_${_i(d)}_${l}`,g=$e(i);De.add(g);const b=g.__svelte_stylesheet||(g.__svelte_stylesheet=bi(i).sheet),m=g.__svelte_rules||(g.__svelte_rules={});m[f]||(m[f]=!0,b.insertRule(`@keyframes ${f} ${d}`,b.cssRules.length));const w=i.style.animation||"";return i.style.animation=`${w?`${w}, `:""}${f} ${r}ms linear ${o}ms 1 both`,Ce+=1,f}function Le(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(", "),Ce-=o,Ce||wi())}function wi(){Ge(()=>{Ce||(De.forEach(i=>{const e=i.__svelte_stylesheet;let t=e.cssRules.length;for(;t--;)e.deleteRule(t);i.__svelte_rules={}}),De.clear())})}let me;function be(i){me=i}function et(){if(!me)throw new Error("Function called outside component initialization");return me}function ve(i){et().$$.on_mount.push(i)}function Oe(i){et().$$.on_destroy.push(i)}const pe=[],ue=[],Re=[],tt=[],it=Promise.resolve();let Se=!1;function rt(){Se||(Se=!0,it.then(h))}function Me(){return rt(),it}function K(i){Re.push(i)}const Be=new Set;let Te=0;function h(){const i=me;do{for(;Te<pe.length;){const e=pe[Te];Te++,be(e),ki(e.$$)}for(be(null),pe.length=0,Te=0;ue.length;)ue.pop()();for(let e=0;e<Re.length;e+=1){const t=Re[e];Be.has(t)||(Be.add(t),t())}Re.length=0}while(pe.length);for(;tt.length;)tt.pop()();Se=!1,Be.clear(),be(i)}function ki(i){if(i.fragment!==null){i.update(),Z(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(K)}}let ye;function Pe(){return ye||(ye=Promise.resolve(),ye.then(()=>{ye=null})),ye}function le(i,e,t){i.dispatchEvent(yi(`${e?"intro":"outro"}${t}`))}const He=new Set;let U;function _e(){U={r:0,c:[],p:U}}function we(){U.r||Z(U.c),U=U.p}function N(i,e){i&&i.i&&(He.delete(i),i.i(e))}function q(i,e,t,r){if(i&&i.o){if(He.has(i))return;He.add(i),U.c.push(()=>{He.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}}const Ne={duration:0};function ot(i,e,t){let r=e(i,t),o=!1,n,a,l=0;function s(){n&&Le(i,n)}function c(){const{delay:f=0,duration:g=300,easing:b=he,tick:m=y,css:w}=r||Ne;w&&(n=Ae(i,0,1,g,f,b,w,l++)),m(0,1);const x=ze()+f,E=x+g;a&&a.abort(),o=!0,K(()=>le(i,!0,"start")),a=Ee(C=>{if(o){if(C>=E)return m(1,0),le(i,!0,"end"),s(),o=!1;if(C>=x){const M=b((C-x)/g);m(M,1-M)}}return o})}let d=!1;return{start(){d||(d=!0,Le(i),oe(r)?(r=r(),Pe().then(c)):c())},invalidate(){d=!1},end(){o&&(s(),o=!1)}}}function at(i,e,t){let r=e(i,t),o=!0,n;const a=U;a.r+=1;function l(){const{delay:s=0,duration:c=300,easing:d=he,tick:f=y,css:g}=r||Ne;g&&(n=Ae(i,1,0,c,s,d,g));const b=ze()+s,m=b+c;K(()=>le(i,!1,"start")),Ee(w=>{if(o){if(w>=m)return f(0,1),le(i,!1,"end"),--a.r||Z(a.c),!1;if(w>=b){const x=d((w-b)/c);f(1-x,x)}}return o})}return oe(r)?Pe().then(()=>{r=r(),l()}):l(),{end(s){s&&r.tick&&r.tick(1,0),o&&(n&&Le(i,n),o=!1)}}}function Ie(i,e,t,r){let o=e(i,t),n=r?0:1,a=null,l=null,s=null;function c(){s&&Le(i,s)}function d(g,b){const m=g.b-n;return b*=Math.abs(m),{a:n,b:g.b,d:m,duration:b,start:g.start,end:g.start+b,group:g.group}}function f(g){const{delay:b=0,duration:m=300,easing:w=he,tick:x=y,css:E}=o||Ne,C={start:ze()+b,b:g};g||(C.group=U,U.r+=1),a||l?l=C:(E&&(c(),s=Ae(i,n,g,m,b,w,E)),g&&x(0,1),a=d(C,m),K(()=>le(i,g,"start")),Ee(M=>{if(l&&M>l.start&&(a=d(l,m),l=null,le(i,a.b,"start"),E&&(c(),s=Ae(i,n,a.b,a.duration,0,w,o.css))),a){if(M>=a.end)x(n=a.b,1-n),le(i,a.b,"end"),l||(a.b?c():--a.group.r||Z(a.group.c)),a=null;else if(M>=a.start){const O=M-a.start;n=a.a+a.d*w(O/a.duration),x(n,1-n)}}return!!(a||l)}))}return{run(g){oe(o)?Pe().then(()=>{o=o(),f(g)}):f(g)},end(){c(),a=l=null}}}function ie(i){i&&i.c()}function Q(i,e,t,r){const{fragment:o,on_mount:n,on_destroy:a,after_update:l}=i.$$;o&&o.m(e,t),r||K(()=>{const s=n.map(je).filter(oe);a?a.push(...s):Z(s),i.$$.on_mount=[]}),l.forEach(K)}function $(i,e){const t=i.$$;t.fragment!==null&&(Z(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function xi(i,e){i.$$.dirty[0]===-1&&(pe.push(i),rt(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function G(i,e,t,r,o,n,a,l=[-1]){const s=me;be(i);const c=i.$$={fragment:null,ctx:null,props:n,update:y,not_equal:o,bound:Ke(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:Ke(),dirty:l,skip_bound:!1,root:e.target||s.$$.root};a&&a(c.root);let d=!1;if(c.ctx=t?t(i,e.props||{},(f,g,...b)=>{const m=b.length?b[0]:g;return c.ctx&&o(c.ctx[f],c.ctx[f]=m)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](m),d&&xi(i,f)),g}):[],c.update(),d=!0,Z(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=pi(e.target);c.fragment&&c.fragment.l(f),f.forEach(z)}else c.fragment&&c.fragment.c();e.intro&&N(i.$$.fragment),Q(i,e.target,e.anchor,e.customElement),h()}be(s)}let I;typeof HTMLElement=="function"&&(I=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(je).filter(oe);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){Z(this.$$.on_disconnect)}$destroy(){$(this,1),this.$destroy=y}$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&&!gi(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});function zi(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",this.c=y,u(e,"class","page-content")},m(t,r){_(t,e,r)},p:y,i:y,o:y,d(t){t&&z(e)}}}class nt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.page-content{max-width:100%;margin:0 auto;padding:0 1.75rem}@media(min-width: 768px){.page-content{max-width:80vh}}@media(min-width: 1024px){.page-content{max-width:100ch}}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,zi,H,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-page-block",nt);function Ei(i){let e,t,r,o,n,a,l,s,c,d,f,g,b;return{c(){e=p("goa-page-block"),t=p("div"),r=p("a"),o=p("img"),a=L(),l=p("img"),c=L(),d=p("span"),f=W(i[1]),g=L(),b=p("div"),b.innerHTML="<slot></slot>",this.c=y,u(o,"alt","GoA Logo"),u(o,"class","image-mobile"),Ue(o.src,n="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(o,"src",n),u(l,"alt","GoA Logo"),u(l,"class","image-desktop"),Ue(l.src,s="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(l,"src",s),u(d,"class","title"),u(r,"href",i[0]),u(r,"class","app-link"),u(t,"class","app-header"),u(t,"data-testid",i[2])},m(m,w){_(m,e,w),v(e,t),v(t,r),v(r,o),v(r,a),v(r,l),v(r,c),v(r,d),v(d,f),v(t,g),v(t,b)},p(m,[w]){w&2&&V(f,m[1]),w&1&&u(r,"href",m[0]),w&4&&u(t,"data-testid",m[2])},i:y,o:y,d(m){m&&z(e)}}}function Ci(i,e,t){let{url:r}=e,{title:o}=e,{testid:n=""}=e;return i.$$set=a=>{"url"in a&&t(0,r=a.url),"title"in a&&t(1,o=a.title),"testid"in a&&t(2,n=a.testid)},[r,o,n]}class lt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.app-header{display:flex;align-items:center;justify-content:space-between;margin:0 auto;padding:1rem 0;max-width:1028px;border-bottom:1px solid var(--color-gray-100)}.app-link{display:flex;align-items:center;text-decoration:none;color:inherit}.title{margin-left:0.5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-desktop{display:none}.image-mobile{display:block}@media(min-width: 768px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ci,Ei,H,{url:0,title:1,testid:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["url","title","testid"]}get url(){return this.$$.ctx[0]}set url(e){this.$$set({url:e}),h()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),h()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-app-header",lt);function D(i){return i==="false"?!1:i===""?!0:!!i}function Ai(i){return i?"true":"false"}function Li(i){let e;return{c(){e=p("div"),S(e,"height","1.2rem"),S(e,"margin-left","-0.25rem")},m(t,r){_(t,e,r)},p:y,d(t){t&&z(e)}}}function Ri(i){let e;return{c(){e=p("goa-icon"),k(e,"type",i[3]),k(e,"size","small")},m(t,r){_(t,e,r)},p(t,r){r&8&&k(e,"type",t[3])},d(t){t&&z(e)}}}function st(i){let e,t;return{c(){e=p("div"),t=W(i[2]),u(e,"class","goa-badge-content")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&4&&V(t,r[2])},d(r){r&&z(e)}}}function Mi(i){let e,t,r;function o(s,c){return s[4]?Ri:Li}let n=o(i),a=n(i),l=i[2]&&st(i);return{c(){e=p("div"),a.c(),t=L(),l&&l.c(),this.c=y,u(e,"data-testid",i[1]),u(e,"data-type","goa-badge"),u(e,"class",r="goa-badge badge-"+i[0]),B(e,"icon-only",i[4]&&!i[2])},m(s,c){_(s,e,c),a.m(e,null),v(e,t),l&&l.m(e,null)},p(s,[c]){n===(n=o(s))&&a?a.p(s,c):(a.d(1),a=n(s),a&&(a.c(),a.m(e,t))),s[2]?l?l.p(s,c):(l=st(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),c&2&&u(e,"data-testid",s[1]),c&1&&r!==(r="goa-badge badge-"+s[0])&&u(e,"class",r),c&21&&B(e,"icon-only",s[4]&&!s[2])},i:y,o:y,d(s){s&&z(e),a.d(),l&&l.d()}}}function Ti(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=D(l)),i.$$.dirty&1&&t(3,o={success:"checkmark-circle",warning:"alert-circle",information:"information-circle",emergency:"warning",inactive:"information-circle",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[n])},[n,a,s,o,r,l]}class ct extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--color-status-info)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--goa-color-text-light)}.goa-badge.badge-warning{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.goa-badge.badge-emergency{background-color:var(--goa-color-status-emergency);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--color-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--color-gray-600);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--color-white);color:var(--goa-color-text)}.goa-badge.badge-inactive{background-color:var(--color-white);color:var(--goa-color-text)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ti,Mi,H,{type:0,testid:1,icon:5,content:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","testid","icon","content"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),h()}get icon(){return this.$$.ctx[5]}set icon(e){this.$$set({icon:e}),h()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),h()}}customElements.define("goa-badge",ct);function Hi(i){let e,t,r,o,n;return{c(){e=p("button"),t=p("slot"),this.c=y,u(e,"class",r=""+(i[0]+" "+i[1]+" "+i[2])),u(e,"title",i[3]),e.disabled=i[5],u(e,"data-testid",i[4])},m(a,l){_(a,e,l),v(e,t),o||(n=X(e,"click",Ii),o=!0)},p(a,[l]){l&7&&r!==(r=""+(a[0]+" "+a[1]+" "+a[2]))&&u(e,"class",r),l&8&&u(e,"title",a[3]),l&32&&(e.disabled=a[5]),l&16&&u(e,"data-testid",a[4])},i:y,o:y,d(a){a&&z(e),o=!1,n()}}}function Ii(i){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),i.stopPropagation()}function ji(i,e,t){let r,{type:o="primary"}=e,{size:n="medium"}=e,{variant:a="default"}=e,{title:l=""}=e,{disabled:s="false"}=e,{testid:c=""}=e;return i.$$set=d=>{"type"in d&&t(0,o=d.type),"size"in d&&t(1,n=d.size),"variant"in d&&t(2,a=d.variant),"title"in d&&t(3,l=d.title),"disabled"in d&&t(6,s=d.disabled),"testid"in d&&t(4,c=d.testid)},i.$$.update=()=>{i.$$.dirty&64&&t(5,r=D(s))},[o,n,a,l,c,r,s]}class dt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@media(max-width: 320px){:host{width:100%}button{width:100%}}button{border-radius:0.25rem;border:2px solid var(--goa-color-interactive);box-sizing:border-box;cursor:pointer;font-size:var(--fs-base, 1rem);font-weight:700;line-height:2.375rem;padding:0 0.75rem;min-width:5rem;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;transform:scaleX(1)}button:active{transform:scale(0.95)}button.primary{border:2px solid var(--goa-color-interactive);background:var(--goa-color-interactive);color:var(--color-white, white)}button.primary:hover{border-color:var(--goa-color-interactive--hover);background:var(--goa-color-interactive--hover)}button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive--highlight);border-color:var(--goa-color-interactive--active);background:var(--goa-color-interactive--active);outline:none}button.secondary{border:2px solid var(--goa-color-interactive);background:var(--color-white);color:var(--goa-color-interactive)}button.secondary:hover{border-color:var(--goa-color-interactive--hover);color:var(--goa-color-interactive--hover)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--highlight);background:var(--color-gray-100);outline:none}button.tertiary{border-color:var(--color-gray-200);background:var(--color-white);color:var(--goa-color-interactive)}button.tertiary:hover{color:var(--goa-color-interactive--hover)}button.tertiary:focus,button.tertiary:active{border-color:var(--goa-color-interactive--active);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--highlight);outline:none}button.borderless{background:none;color:var(--goa-color-interactive);border:none}button.borderless:hover{background-color:var(--goa-color-primary-light);color:var(--goa-color-interactive--hover)}button.borderless:focus,button.borderless:active{outline:none;box-shadow:none;background-color:var(--goa-color-primary-light)}.primary.danger{color:var(--color-white);background:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.primary.danger:hover{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.primary.danger:focus,.primary.danger:active{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.secondary.danger{color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);background:var(--color-white)}.secondary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.secondary.danger:focus,.secondary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}button:disabled{pointer-events:none;color:var(--color-gray-600);background-color:var(--color-gray-100);border-color:var(--color-gray-100)}.tertiary.danger{color:var(--goa-color-status-emergency);border-color:var(--color-gray-200);background:var(--color-white)}.tertiary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.danger:focus,.tertiary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.borderless.danger{color:var(--goa-color-status-emergency)}.borderless.danger:hover{background:var(--goa-color-emergency-light);color:var(--goa-color-status-emergency-dark)}.borderless.danger:focus,.borderless.danger:active{background:var(--goa-color-emergency-light);color:var(--goa-color-status-emergency-dark)}.large{font-size:var(--fs-lg);line-height:3rem}.large.borderless{line-height:calc(3rem + 4px)}.medium{font-size:var(--fs-base);line-height:2.375rem}.medium.borderless{line-height:calc(2.375rem + 4px)}.small{font-size:var(--fs-sm);line-height:1.75rem}.small.borderless{line-height:calc(1.75rem + 4px)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},ji,Hi,H,{type:0,size:1,variant:2,title:3,disabled:6,testid:4},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","variant","title","disabled","testid"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),h()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),h()}get disabled(){return this.$$.ctx[6]}set disabled(e){this.$$set({disabled:e}),h()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-button",dt);function Gi(i){let e,t;return{c(){e=p("div"),t=p("slot"),this.c=y,S(e,"--alignment","flex-"+i[1]),S(e,"--gap-size",i[0]==="small"?"0.5rem":"1rem")},m(r,o){_(r,e,o),v(e,t)},p(r,[o]){o&2&&S(e,"--alignment","flex-"+r[1]),o&1&&S(e,"--gap-size",r[0]==="small"?"0.5rem":"1rem")},i:y,o:y,d(r){r&&z(e)}}}function Di(i,e,t){let{gap:r="medium"}=e,{alignment:o}=e;return i.$$set=n=>{"gap"in n&&t(0,r=n.gap),"alignment"in n&&t(1,o=n.alignment)},[r,o]}class ut extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}div{display:flex;flex-direction:row;justify-content:var(--alignment);flex-wrap:wrap;gap:var(--gap-size)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Di,Gi,H,{gap:0,alignment:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap","alignment"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),h()}get alignment(){return this.$$.ctx[1]}set alignment(e){this.$$set({alignment:e}),h()}}customElements.define("goa-button-group",ut);function Oi(i){let e,t,r,o,n,a,l,s,c,d;return{c(){e=p("div"),t=p("span"),r=p("goa-icon"),n=L(),a=p("span"),l=p("h3"),s=W(i[1]),c=L(),d=p("slot"),this.c=y,k(r,"type",i[3]),k(r,"inverted",""),u(t,"class",o="icon "+i[0]),u(a,"class","content"),u(e,"class","notification"),u(e,"data-testid",i[2])},m(f,g){_(f,e,g),v(e,t),v(t,r),v(e,n),v(e,a),v(a,l),v(l,s),v(a,c),v(a,d)},p(f,[g]){g&8&&k(r,"type",f[3]),g&1&&o!==(o="icon "+f[0])&&u(t,"class",o),g&2&&V(s,f[1]),g&4&&u(e,"data-testid",f[2])},i:y,o:y,d(f){f&&z(e)}}}function Si(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==="caution"?"alert-circle":o==="information"?"information-circle":o==="success"?"checkmark-circle":o==="event"?"calendar":"")},[o,n,a,r]}class ft extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{display:flex;align-items:stretch;border-radius:3px;overflow:hidden;margin-bottom:1.75rem}h3{font-size:var(--fs-xl);font-weight:var(--fw-regular);margin-top:0}.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-info);color:var(--color-white)}.success{background-color:var(--goa-color-status-success);color:var(--color-white)}.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>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Si,Oi,H,{type:0,title:1,testId:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","title","testId"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),h()}get testId(){return this.$$.ctx[2]}set testId(e){this.$$set({testId:e}),h()}}customElements.define("goa-callout",ft);function Bi(i){let e,t,r;return{c(){e=p("div"),t=p("slot"),this.c=y,u(e,"data-testid",i[2]),u(e,"class","card"),u(e,"style",r="--width: "+i[1]+"px; "+(i[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(o,n){_(o,e,n),v(e,t)},p(o,[n]){n&4&&u(e,"data-testid",o[2]),n&3&&r!==(r="--width: "+o[1]+"px; "+(o[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${o[0]});`)+"")&&u(e,"style",r)},i:y,o:y,d(o){o&&z(e)}}}function Pi(i,e,t){let{elevation:r=0}=e,{width:o=320}=e,{testId:n=""}=e;return i.$$set=a=>{"elevation"in a&&t(0,r=a.elevation),"width"in a&&t(1,o=a.width),"testId"in a&&t(2,n=a.testId)},[r,o,n]}class gt extends I{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card{display:flex;flex-direction:column;background-color:var(--color-white);border-radius:4px;overflow:hidden;width:100%}@media(min-width: 320px){.card{width:var(--width);margin:0 auto
|
|
5
|
-
}}</style>`,G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Pi,Bi,H,{elevation:0,width:1,testId:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["elevation","width","testId"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),h()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),h()}get testId(){return this.$$.ctx[2]}set testId(e){this.$$set({testId:e}),h()}}customElements.define("goa-card",gt);function Ni(i){let e;return{c(){e=p("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=y},m(t,r){_(t,e,r)},p:y,i:y,o:y,d(t){t&&z(e)}}}class ht extends I{constructor(e){super();G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Ni,H,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-card-actions",ht);function Fi(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",this.c=y,u(e,"class","card-content")},m(t,r){_(t,e,r)},p:y,i:y,o:y,d(t){t&&z(e)}}}class mt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Fi,H,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-card-content",mt);function qi(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",this.c=y,u(e,"class","card-group")},m(t,r){_(t,e,r)},p:y,i:y,o:y,d(t){t&&z(e)}}}class bt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,qi,H,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-card-group",bt);function Wi(i){let e;return{c(){e=p("div"),this.c=y,u(e,"class","card-image"),S(e,"background-image","url("+i[0]+")"),S(e,"height",i[1]),S(e,"background-size","cover"),S(e,"background-position","center")},m(t,r){_(t,e,r)},p(t,[r]){r&1&&S(e,"background-image","url("+t[0]+")"),r&2&&S(e,"height",t[1])},i:y,o:y,d(t){t&&z(e)}}}function Vi(i,e,t){let{src:r}=e,{height:o="100%"}=e;return i.$$set=n=>{"src"in n&&t(0,r=n.src),"height"in n&&t(1,o=n.height)},[r,o]}class vt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Vi,Wi,H,{src:0,height:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["src","height"]}get src(){return this.$$.ctx[0]}set src(e){this.$$set({src:e}),h()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),h()}}customElements.define("goa-card-image",vt);function pt(i){let e;function t(n,a){return n[4]?Ji:Xi}let r=t(i),o=r(i);return{c(){o.c(),e=ne()},m(n,a){o.m(n,a),_(n,e,a)},p(n,a){r!==(r=t(n))&&(o.d(1),o=r(n),o&&(o.c(),o.m(e.parentNode,e)))},d(n){o.d(n),n&&z(e)}}}function Xi(i){let e,t;return{c(){e=ae("svg"),t=ae("path"),u(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),u(e,"id","checkmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 16 12.18")},m(r,o){_(r,e,o),v(e,t)},d(r){r&&z(e)}}}function Ji(i){let e,t;return{c(){e=ae("svg"),t=ae("rect"),u(t,"width","15"),u(t,"height","2"),u(e,"id","dashmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 15 2")},m(r,o){_(r,e,o),v(e,t)},d(r){r&&z(e)}}}function Ki(i){let e,t,r,o,n,a,l,s,c,d,f,g=i[3]&&pt(i);return{c(){e=p("label"),t=p("div"),r=p("input"),n=L(),g&&g.c(),a=L(),l=p("div"),s=p("slot"),c=W(i[1]),this.c=y,u(r,"id",i[7]),u(r,"name",i[0]),r.checked=i[3],r.disabled=i[6],u(r,"type","checkbox"),r.value=o=`${i[2]}`,u(t,"class","goa-checkbox-container"),B(t,"goa-checkbox--selected",i[3]),u(s,"name","main"),u(l,"class","goa-checkbox-text"),u(e,"for",i[7]),u(e,"class","goa-checkbox"),B(e,"goa-checkbox--disabled",i[6]),B(e,"goa-checkbox--error",i[5])},m(b,m){_(b,e,m),v(e,t),v(t,r),v(t,n),g&&g.m(t,null),v(e,a),v(e,l),v(l,s),v(s,c),d||(f=X(r,"change",i[8]),d=!0)},p(b,[m]){m&128&&u(r,"id",b[7]),m&1&&u(r,"name",b[0]),m&8&&(r.checked=b[3]),m&64&&(r.disabled=b[6]),m&4&&o!==(o=`${b[2]}`)&&(r.value=o),b[3]?g?g.p(b,m):(g=pt(b),g.c(),g.m(t,null)):g&&(g.d(1),g=null),m&8&&B(t,"goa-checkbox--selected",b[3]),m&2&&V(c,b[1]),m&128&&u(e,"for",b[7]),m&64&&B(e,"goa-checkbox--disabled",b[6]),m&32&&B(e,"goa-checkbox--error",b[5])},i:y,o:y,d(b){b&&z(e),g&&g.d(),d=!1,f()}}}function Ui(i,e,t){let r,o,n,a,l,{name:s}=e,{text:c=""}=e,{value:d=""}=e,{checked:f}=e,{disabled:g}=e,{indeterminate:b}=e,{error:m}=e;function w(x){const E=!a,C=E?`${d||"checked"}`:"";x.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:s,checked:E,value:C}}))}return i.$$set=x=>{"name"in x&&t(0,s=x.name),"text"in x&&t(1,c=x.text),"value"in x&&t(2,d=x.value),"checked"in x&&t(9,f=x.checked),"disabled"in x&&t(10,g=x.disabled),"indeterminate"in x&&t(11,b=x.indeterminate),"error"in x&&t(12,m=x.error)},i.$$.update=()=>{i.$$.dirty&1&&t(7,r=`id-${s}`),i.$$.dirty&1024&&t(6,o=D(g)),i.$$.dirty&4096&&t(5,n=D(m)),i.$$.dirty&512&&t(3,a=D(f)),i.$$.dirty&2048&&t(4,l=D(b))},[s,c,d,a,l,n,o,r,w,f,g,b,m]}class yt extends I{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute}.goa-checkbox--disabled{opacity:30%}label.goa-checkbox--disabled{cursor:default}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--color-gray-600);border-radius:2px;background-color:var(--color-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px}.goa-checkbox-container svg{fill:var(--color-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive)}.goa-checkbox-container:hover:not(.goa-checkbox--selected){background-color:var(--color-gray-100)}.goa-checkbox-container:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--highlight);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--fw-regular)}.goa-checkbox--error .goa-checkbox-container{border:2px solid var(--goa-color-status-emergency)}</style>',G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ui,Ki,H,{name:0,text:1,value:2,checked:9,disabled:10,indeterminate:11,error:12},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","text","value","checked","disabled","indeterminate","error"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),h()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),h()}get checked(){return this.$$.ctx[9]}set checked(e){this.$$set({checked:e}),h()}get disabled(){return this.$$.ctx[10]}set disabled(e){this.$$set({disabled:e}),h()}get indeterminate(){return this.$$.ctx[11]}set indeterminate(e){this.$$set({indeterminate:e}),h()}get error(){return this.$$.ctx[12]}set error(e){this.$$set({error:e}),h()}}customElements.define("goa-checkbox",yt);function Yi(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=L(),n=p("div"),n.innerHTML='<slot name="actions"></slot>',l=L(),s=p("div"),s.innerHTML="<slot></slot>",this.c=y,u(r,"class","title"),u(n,"class","actions"),u(t,"class",a="heading--"+i[1]),u(s,"class","content"),u(e,"class",c="goa-container goa-container--"+i[0])},m(d,f){_(d,e,f),v(e,t),v(t,r),v(t,o),v(t,n),v(e,l),v(e,s)},p(d,[f]){f&2&&a!==(a="heading--"+d[1])&&u(t,"class",a),f&1&&c!==(c="goa-container goa-container--"+d[0])&&u(e,"class",c)},i:y,o:y,d(d){d&&z(e)}}}function Zi(i,e,t){let{variant:r="default"}=e,{headingsize:o="large"}=e;return i.$$set=n=>{"variant"in n&&t(0,r=n.variant),"headingsize"in n&&t(1,o=n.headingsize)},[r,o]}class _t extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-container{margin-bottom:1rem;box-sizing:border-box}.goa-container *{box-sizing:border-box}header{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--fs-base);border-width:1px;border-style:solid;border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);padding-left:1.5rem;padding-right:1.5rem}.content{padding:1.5rem;border-bottom:1px solid var(--color-gray-200);border-left:1px solid var(--color-gray-200);border-right:1px solid var(--color-gray-200);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.goa-container--default header{background-color:var(--color-gray-100);border-color:var(--color-gray-200);color:var(--color-black)}.goa-container--primary header{background-color:var(--goa-color-brand);border-color:var(--goa-color-brand);color:var(--color-white)}.goa-container--info header{background-color:var(--goa-color-status-info);border-color:var(--goa-color-status-info);color:var(--color-white)}.goa-container--error header{background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);color:var(--color-white)}.goa-container--success header{background-color:var(--goa-color-status-success);border-color:var(--goa-color-status-success);color:var(--color-white)}.goa-container--warning header{background-color:var(--goa-color-status-warning);border-color:var(--goa-color-status-warning);color:var(--color-white)}.heading--large{padding:0.5rem 1.5rem;max-height:4rem}.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}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Zi,Yi,H,{variant:0,headingsize:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["variant","headingsize"]}get variant(){return this.$$.ctx[0]}set variant(e){this.$$set({variant:e}),h()}get headingsize(){return this.$$.ctx[1]}set headingsize(e){this.$$set({headingsize:e}),h()}}customElements.define("goa-container",_t);const fe=[];function Fe(i,e=y){let t;const r=new Set;function o(l){if(H(i,l)&&(i=l,t)){const s=!fe.length;for(const c of r)c[1](),fe.push(c,i);if(s){for(let c=0;c<fe.length;c+=2)fe[c][0](fe[c+1]);fe.length=0}}}function n(l){o(l(i))}function a(l,s=y){const c=[l,s];return r.add(c),r.size===1&&(t=e(o)||y),l(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:o,update:n,subscribe:a}}const ee=Fe({});function wt(i){let e,t,r,o;return{c(){e=p("div"),u(e,"data-testid",t=`${i[0]}-dropdown-background`),u(e,"class","goa-dropdown-background")},m(n,a){_(n,e,a),r||(o=X(e,"click",i[12]),r=!0)},p(n,a){a&1&&t!==(t=`${n[0]}-dropdown-background`)&&u(e,"data-testid",t)},d(n){n&&z(e),r=!1,o()}}}function kt(i){let e,t,r,o,n,a,l;return{c(){e=p("div"),t=p("goa-input"),k(t,"disabled",i[10]),k(t,"leadingicon",i[1]),k(t,"placeholder",i[3]),k(t,"id",r=`${i[0]}-dropdown-input`),k(t,"name","search"),k(t,"readonly",""),k(t,"trailingicon","chevron-down"),k(t,"handletrailingiconclick",""),k(t,"type","text"),k(t,"value",o=i[4].join(", ")),u(e,"data-testid",n=`${i[0]}-dropdown`)},m(s,c){_(s,e,c),v(e,t),a||(l=X(t,"focus",i[11]),a=!0)},p(s,c){c&1024&&k(t,"disabled",s[10]),c&2&&k(t,"leadingicon",s[1]),c&8&&k(t,"placeholder",s[3]),c&1&&r!==(r=`${s[0]}-dropdown-input`)&&k(t,"id",r),c&16&&o!==(o=s[4].join(", "))&&k(t,"value",o),c&1&&n!==(n=`${s[0]}-dropdown`)&&u(e,"data-testid",n)},d(s){s&&z(e),a=!1,l()}}}function xt(i){let e,t,r,o,n,a=i[9]&&zt(i);return{c(){e=p("div"),a&&a.c(),t=L(),r=p("ul"),o=p("slot"),u(r,"class","goa-dropdown-list"),u(r,"style",n=`overflow-y: auto; max-height: ${i[2]||Et}px`),u(e,"class","menu")},m(l,s){_(l,e,s),a&&a.m(e,null),v(e,t),v(e,r),v(r,o)},p(l,s){l[9]?a?a.p(l,s):(a=zt(l),a.c(),a.m(e,t)):a&&(a.d(1),a=null),s&4&&n!==(n=`overflow-y: auto; max-height: ${l[2]||Et}px`)&&u(r,"style",n)},d(l){l&&z(e),a&&a.d()}}}function zt(i){let e,t;return{c(){e=p("goa-input"),k(e,"focused",i[5]),k(e,"name","filter"),k(e,"placeholder","Filter"),k(e,"trailingicon",t=i[8].length>0?"close-circle":"search"),k(e,"handletrailingiconclick",""),k(e,"type","text"),k(e,"value",i[8])},m(r,o){_(r,e,o),i[17](e)},p(r,o){o&32&&k(e,"focused",r[5]),o&256&&t!==(t=r[8].length>0?"close-circle":"search")&&k(e,"trailingicon",t),o&256&&k(e,"value",r[8])},d(r){r&&z(e),i[17](null)}}}function Qi(i){let e,t,r,o,n=i[5]&&wt(i),a=(!i[5]||!i[9])&&kt(i),l=i[5]&&xt(i);return{c(){e=p("div"),n&&n.c(),t=L(),r=p("div"),a&&a.c(),o=L(),l&&l.c(),this.c=y,u(e,"class","goa-dropdown-box")},m(s,c){_(s,e,c),n&&n.m(e,null),v(e,t),v(e,r),a&&a.m(r,null),v(r,o),l&&l.m(r,null),i[18](e)},p(s,[c]){s[5]?n?n.p(s,c):(n=wt(s),n.c(),n.m(e,t)):n&&(n.d(1),n=null),!s[5]||!s[9]?a?a.p(s,c):(a=kt(s),a.c(),a.m(r,o)):a&&(a.d(1),a=null),s[5]?l?l.p(s,c):(l=xt(s),l.c(),l.m(r,null)):l&&(l.d(1),l=null)},i:y,o:y,d(s){s&&z(e),n&&n.d(),a&&a.d(),l&&l.d(),i[18](null)}}}const Et=300;function $i(i,e,t){let r,o,n,{name:a}=e,{values:l}=e,{leadingicon:s}=e,{maxheight:c}=e,{placeholder:d}=e,{multiselect:f}=e,{disabled:g}=e,{autocomplete:b}=e,m=[],w=[],x=!1,E,C,M="";const O=ee.subscribe(T=>{var ce,We;if(((ce=T[a])===null||ce===void 0?void 0:ce.tag)!==a)return;const J=T[a];switch((We=J==null?void 0:J.payload)===null||We===void 0?void 0:We.type){case"DropDownAction":{if(J.payload.action==="select"&&(r?(t(4,m=[...m,J.payload.label]),w=[...w,J.payload.value]):(t(4,m=[J.payload.label]),w=[J.payload.value])),J.payload.action==="deselect"){const Ve=J.payload.label,Jr=J.payload.value;t(4,m=m.filter(Xe=>Xe!==Ve)),w=w.filter(Xe=>Xe!==Jr)}r||t(5,x=!1),ee.update(Ve=>Object.assign(Object.assign({},Ve),{[a]:null})),E.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{event:null,data:{name:a,value:w}}}));break}}});ve(async()=>{await Me(),ee.update(T=>Object.assign(Object.assign({},T),{[a]:{tag:a,payload:{type:"DropDownInit",values:l?JSON.parse(l):[],multiSelect:r}}}))}),Oe(()=>{ee.update(T=>(delete T[a],T)),O()});let P=T=>{T.stopPropagation(),t(8,M=T.detail.data.value),ee.update(ce=>Object.assign(Object.assign({},ce),{[a]:{tag:a,payload:{type:"FilterChange",filter:M}}}))},se=T=>{T.stopPropagation(),t(8,M=""),ee.update(ce=>Object.assign(Object.assign({},ce),{[a]:{tag:a,payload:{type:"FilterChange",filter:M}}})),C==null||C.focus()};async function re(){t(5,x=!0),await Me(),C==null||C.addEventListener("_change",P),C==null||C.addEventListener("_trailingIconClick",se),C==null||C.focus()}function A(){t(5,x=!1),C==null||C.removeEventListener("_change",P),C==null||C.removeEventListener("_trailingIconClick",se)}function F(T){ue[T?"unshift":"push"](()=>{C=T,t(7,C)})}function te(T){ue[T?"unshift":"push"](()=>{E=T,t(6,E)})}return i.$$set=T=>{"name"in T&&t(0,a=T.name),"values"in T&&t(13,l=T.values),"leadingicon"in T&&t(1,s=T.leadingicon),"maxheight"in T&&t(2,c=T.maxheight),"placeholder"in T&&t(3,d=T.placeholder),"multiselect"in T&&t(14,f=T.multiselect),"disabled"in T&&t(15,g=T.disabled),"autocomplete"in T&&t(16,b=T.autocomplete)},i.$$.update=()=>{i.$$.dirty&16384&&(r=D(f)),i.$$.dirty&32768&&t(10,o=D(g)),i.$$.dirty&65536&&t(9,n=D(b))},[a,s,c,d,m,x,E,C,M,n,o,re,A,l,f,g,b,F,te]}class Ct extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-dropdown-box{position:relative}.menu goa-input{position:relative}.goa-dropdown-background{position:fixed;inset:0}.goa-dropdown-list{position:absolute;left:0;right:0;padding:0;margin:0;margin-top:3px;list-style-type:none;background:var(--color-white);border-radius:var(--input-border-radius);box-shadow:var(--shadow-1);z-index:99}.goa-dropdown-list{scroll-behavior:smooth;scrollbar-width:thin}.goa-dropdown-list::-webkit-scrollbar{width:6px}.goa-dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.goa-dropdown-list::-webkit-scrollbar-thumb{background:#888}.goa-dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},$i,Qi,H,{name:0,values:13,leadingicon:1,maxheight:2,placeholder:3,multiselect:14,disabled:15,autocomplete:16},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","values","leadingicon","maxheight","placeholder","multiselect","disabled","autocomplete"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get values(){return this.$$.ctx[13]}set values(e){this.$$set({values:e}),h()}get leadingicon(){return this.$$.ctx[1]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get maxheight(){return this.$$.ctx[2]}set maxheight(e){this.$$set({maxheight:e}),h()}get placeholder(){return this.$$.ctx[3]}set placeholder(e){this.$$set({placeholder:e}),h()}get multiselect(){return this.$$.ctx[14]}set multiselect(e){this.$$set({multiselect:e}),h()}get disabled(){return this.$$.ctx[15]}set disabled(e){this.$$set({disabled:e}),h()}get autocomplete(){return this.$$.ctx[16]}set autocomplete(e){this.$$set({autocomplete:e}),h()}}customElements.define("goa-dropdown",Ct);function er(i){let e,t=(i[2]||i[0])+"",r,o,n;return{c(){e=p("li"),this.c=y,u(e,"class","goa-dropdown-option"),u(e,"style",r=`display: ${i[4]?"none":"block"}`),u(e,"data-testid",i[1]),B(e,"goa-dropdown-option--disabled",i[5]),B(e,"goa-dropdown-option--selected",i[3])},m(a,l){_(a,e,l),e.innerHTML=t,o||(n=X(e,"click",i[6]),o=!0)},p(a,[l]){l&5&&t!==(t=(a[2]||a[0])+"")&&(e.innerHTML=t),l&16&&r!==(r=`display: ${a[4]?"none":"block"}`)&&u(e,"style",r),l&2&&u(e,"data-testid",a[1]),l&32&&B(e,"goa-dropdown-option--disabled",a[5]),l&8&&B(e,"goa-dropdown-option--selected",a[3])},i:y,o:y,d(a){a&&z(e),o=!1,n()}}}function tr(i,e,t){let r,o,n,{name:a=""}=e,{value:l=""}=e,{label:s=""}=e,{testId:c=""}=e,{selected:d=""}=e,{disabled:f=""}=e,{hide:g=""}=e,b,m;ve(async()=>{await Me()});function w(E){if(E.length===0||!s.toLowerCase().includes(E.toLowerCase()))return s;t(2,m="");let C=0;return[...s.matchAll(new RegExp(E,"gi"))].forEach(M=>{t(2,m+=s.slice(C,M.index)+`<b>${M[0]}</b>`),C=M.index+M[0].length}),t(2,m+=s.slice(C)),m}ee.subscribe(E=>{const C=E[a];if(!!C&&C.tag===a)switch(C.payload.type){case"FilterChange":{const M=C.payload.filter.toLowerCase();if(!l&&!s)t(7,g="false");else{const O=l.toLowerCase().includes(M)||s.toLowerCase().includes(M);t(7,g=Ai(!O))}t(2,m=w(M));break}case"DropDownAction":{C.payload.label!==s&&!b&&t(3,r=!1);break}case"DropDownInit":{t(3,r=C.payload.values.includes(l)),b=C.payload.multiSelect,r&&ee.update(M=>Object.assign(Object.assign({},M),{[a]:{tag:a,payload:{type:"DropDownAction",action:"select",label:s,value:l}}}));break}}});function x(){t(3,r=!r),ee.update(E=>Object.assign(Object.assign({},E),{[a]:{tag:a,payload:{type:"DropDownAction",action:r?"select":"deselect",label:s,value:l,multiSelect:b}}}))}return i.$$set=E=>{"name"in E&&t(8,a=E.name),"value"in E&&t(9,l=E.value),"label"in E&&t(0,s=E.label),"testId"in E&&t(1,c=E.testId),"selected"in E&&t(10,d=E.selected),"disabled"in E&&t(11,f=E.disabled),"hide"in E&&t(7,g=E.hide)},i.$$.update=()=>{i.$$.dirty&1024&&t(3,r=D(d)),i.$$.dirty&2048&&t(5,o=D(f)),i.$$.dirty&128&&t(4,n=D(g))},[s,c,m,r,n,o,x,g,a,l,d,f]}class At extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}li{font-family:var(--font-family)}.goa-dropdown-option{margin:0;padding:0.5rem;cursor:pointer;color:var(--color-black)}.goa-dropdown-option:hover{background:var(--color-gray-100);color:var(--goa-color-interactive--hover)}.goa-dropdown-option--disabled{opacity:0.5;cursor:default}.goa-dropdown-option--disabled:hover{cursor:default;color:var(--color-gray-600)}.goa-dropdown-option--selected{background:var(--goa-color-interactive--active);color:var(--color-white)}.goa-dropdown-option--selected:hover{background:var(--goa-color-interactive--hover);color:var(--color-white)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},tr,er,H,{name:8,value:9,label:0,testId:1,selected:10,disabled:11,hide:7},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","label","testId","selected","disabled","hide"]}get name(){return this.$$.ctx[8]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[9]}set value(e){this.$$set({value:e}),h()}get label(){return this.$$.ctx[0]}set label(e){this.$$set({label:e}),h()}get testId(){return this.$$.ctx[1]}set testId(e){this.$$set({testId:e}),h()}get selected(){return this.$$.ctx[10]}set selected(e){this.$$set({selected:e}),h()}get disabled(){return this.$$.ctx[11]}set disabled(e){this.$$set({disabled:e}),h()}get hide(){return this.$$.ctx[7]}set hide(e){this.$$set({hide:e}),h()}}customElements.define("goa-dropdown-item",At);function ir(i){let e,t;return{c(){e=p("div"),t=p("slot"),this.c=y,u(e,"class","goa-flex-row"),S(e,"gap",i[0])},m(r,o){_(r,e,o),v(e,t)},p(r,[o]){o&1&&S(e,"gap",r[0])},i:y,o:y,d(r){r&&z(e)}}}function rr(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 Lt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-flex-row{margin-bottom:1rem;display:flex;flex-direction:column;flex-wrap:wrap;align-items:stretch}@media(min-width: 480px){.goa-flex-row{flex-direction:row}}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},rr,ir,H,{gap:1},null),e&&(e.target&&_(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",Lt);function Rt(i){let e,t,r,o=i[4]&&Mt();return{c(){e=p("label"),t=W(i[3]),r=L(),o&&o.c(),u(e,"for",i[1])},m(n,a){_(n,e,a),v(e,t),v(e,r),o&&o.m(e,null)},p(n,a){a&8&&V(t,n[3]),n[4]?o||(o=Mt(),o.c(),o.m(e,null)):o&&(o.d(1),o=null),a&2&&u(e,"for",n[1])},d(n){n&&z(e),o&&o.d()}}}function Mt(i){let e;return{c(){e=p("em"),e.textContent="(optional)"},m(t,r){_(t,e,r)},d(t){t&&z(e)}}}function Tt(i){let e,t;return{c(){e=p("div"),t=W(i[2]),u(e,"class","error-msg")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&4&&V(t,r[2])},d(r){r&&z(e)}}}function Ht(i){let e,t;return{c(){e=p("div"),t=W(i[0]),u(e,"class","help-msg")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&1&&V(t,r[0])},d(r){r&&z(e)}}}function or(i){let e,t,r,o,n,a=i[3]&&Rt(i),l=i[2]&&Tt(i),s=i[0]&&Ht(i);return{c(){e=p("div"),a&&a.c(),t=L(),r=p("div"),r.innerHTML="<slot></slot>",o=L(),l&&l.c(),n=L(),s&&s.c(),this.c=y,u(r,"class","form-item-input"),u(e,"class","goa-form-item")},m(c,d){_(c,e,d),a&&a.m(e,null),v(e,t),v(e,r),v(e,o),l&&l.m(e,null),v(e,n),s&&s.m(e,null)},p(c,[d]){c[3]?a?a.p(c,d):(a=Rt(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[2]?l?l.p(c,d):(l=Tt(c),l.c(),l.m(e,n)):l&&(l.d(1),l=null),c[0]?s?s.p(c,d):(s=Ht(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:y,o:y,d(c){c&&z(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function ar(i,e,t){let r,{helptext:o=""}=e,{name:n=""}=e,{error:a=""}=e,{label:l=""}=e,{optional:s}=e;return i.$$set=c=>{"helptext"in c&&t(0,o=c.helptext),"name"in c&&t(1,n=c.name),"error"in c&&t(2,a=c.error),"label"in c&&t(3,l=c.label),"optional"in c&&t(5,s=c.optional)},i.$$.update=()=>{i.$$.dirty&32&&t(4,r=D(s))},[o,n,a,l,r,s]}class It extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{flex:1 1 auto;box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}label{display:block;font-weight:bold;color:#333;font-size:var(--fs-base);padding:0.5rem 0;max-height:2.5rem}label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--fs-sm);color:var(--color-black)}.error-msg{font-size:var(--fs-sm);color:var(--goa-color-status-emergency);margin-bottom:0.25rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},ar,or,H,{helptext:0,name:1,error:2,label:3,optional:5},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["helptext","name","error","label","optional"]}get helptext(){return this.$$.ctx[0]}set helptext(e){this.$$set({helptext:e}),h()}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),h()}get error(){return this.$$.ctx[2]}set error(e){this.$$set({error:e}),h()}get label(){return this.$$.ctx[3]}set label(e){this.$$set({label:e}),h()}get optional(){return this.$$.ctx[5]}set optional(e){this.$$set({optional:e}),h()}}customElements.define("goa-form-item",It);function nr(i){let e,t,r,o,n,a,l,s;return{c(){e=p("div"),t=p("goa-page-block"),r=p("h1"),o=W(i[0]),n=L(),a=p("div"),a.innerHTML='<slot name="content"></slot>',l=L(),s=p("slot"),this.c=y,u(r,"role","heading"),u(a,"class","goa-hero-banner-content"),u(a,"role","note"),u(s,"name","actions"),u(e,"class","goa-hero"),S(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+i[1]+")"),S(e,"background-size","cover"),S(e,"background-position","center"),S(e,"background-repeat","no-repeat")},m(c,d){_(c,e,d),v(e,t),v(t,r),v(r,o),v(t,n),v(t,a),v(t,l),v(t,s)},p(c,[d]){d&1&&V(o,c[0]),d&2&&S(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+c[1]+")")},i:y,o:y,d(c){c&&z(e)}}}function lr(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 jt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;min-height:600px;border-bottom:8px solid var(--goa-color-primary-dark);color:var(--color-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--color-white);font-size:var(--fs-3xl);line-height:var(--lh-2xl);font-weight:var(--fw-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},lr,nr,H,{title:0,backgroundurl:1},null),e&&(e.target&&_(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",jt);function Gt(i){let e,t,r;return{c(){e=p("ion-icon"),k(e,"style",t=`width: ${i[2]}; height: ${i[2]}`),k(e,"name",r=i[1]==="filled"?i[0]:`${i[0]}-${i[1]}`)},m(o,n){_(o,e,n)},p(o,n){n&4&&t!==(t=`width: ${o[2]}; height: ${o[2]}`)&&k(e,"style",t),n&3&&r!==(r=o[1]==="filled"?o[0]:`${o[0]}-${o[1]}`)&&k(e,"name",r)},d(o){o&&z(e)}}}function sr(i){let e,t,r,o=i[0]&&Gt(i);return{c(){e=p("div"),o&&o.c(),this.c=y,u(e,"class","goa-icon"),u(e,"data-testid",t=`icon-${i[0]}`),u(e,"style",r=`--size: ${i[2]}`),B(e,"inverted",i[3])},m(n,a){_(n,e,a),o&&o.m(e,null)},p(n,[a]){n[0]?o?o.p(n,a):(o=Gt(n),o.c(),o.m(e,null)):o&&(o.d(1),o=null),a&1&&t!==(t=`icon-${n[0]}`)&&u(e,"data-testid",t),a&4&&r!==(r=`--size: ${n[2]}`)&&u(e,"style",r),a&8&&B(e,"inverted",n[3])},i:y,o:y,d(n){n&&z(e),o&&o.d()}}}function cr(i,e,t){let r,o,{type:n}=e,{size:a="medium"}=e,{theme:l="outline"}=e,{inverted:s}=e;return i.$$set=c=>{"type"in c&&t(0,n=c.type),"size"in c&&t(4,a=c.size),"theme"in c&&t(1,l=c.theme),"inverted"in c&&t(5,s=c.inverted)},i.$$.update=()=>{i.$$.dirty&32&&t(3,r=D(s)),i.$$.dirty&16&&t(2,o={small:"1.1rem",medium:"1.5rem",large:"2rem"}[a])},[n,l,o,r,a,s]}class Dt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}:host,.goa-icon{display:inline-flex;align-items:center}.goa-icon,.goa-icon *{box-sizing:border-box}.goa-icon{width:var(--size);height:var(--size)}.inverted{color:#fff;fill:#fff}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},cr,sr,H,{type:0,size:4,theme:1,inverted:5},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","theme","inverted"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[4]}set size(e){this.$$set({size:e}),h()}get theme(){return this.$$.ctx[1]}set theme(e){this.$$set({theme:e}),h()}get inverted(){return this.$$.ctx[5]}set inverted(e){this.$$set({inverted:e}),h()}}customElements.define("goa-icon",Dt);function dr(i){let e,t,r,o;return{c(){e=p("button"),t=p("goa-icon"),this.c=y,k(t,"type",i[0]),k(t,"size",i[1]),k(t,"theme",i[2]),k(t,"inverted",i[5]),S(e,"--size",i[6]),u(e,"title",i[3]),e.disabled=i[7],u(e,"class",i[8]),u(e,"data-testid",i[4])},m(n,a){_(n,e,a),v(e,t),r||(o=X(e,"click",ur),r=!0)},p(n,[a]){a&1&&k(t,"type",n[0]),a&2&&k(t,"size",n[1]),a&4&&k(t,"theme",n[2]),a&32&&k(t,"inverted",n[5]),a&64&&S(e,"--size",n[6]),a&8&&u(e,"title",n[3]),a&128&&(e.disabled=n[7]),a&256&&u(e,"class",n[8]),a&16&&u(e,"data-testid",n[4])},i:y,o:y,d(n){n&&z(e),r=!1,o()}}}function ur(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function fr(i,e,t){let r,o,n,a,{type:l}=e,{size:s="medium"}=e,{theme:c="outline"}=e,{variant:d="color"}=e,{title:f=""}=e,{testId:g=""}=e,{disabled:b}=e,{inverted:m}=e;return i.$$set=w=>{"type"in w&&t(0,l=w.type),"size"in w&&t(1,s=w.size),"theme"in w&&t(2,c=w.theme),"variant"in w&&t(9,d=w.variant),"title"in w&&t(3,f=w.title),"testId"in w&&t(4,g=w.testId),"disabled"in w&&t(10,b=w.disabled),"inverted"in w&&t(11,m=w.inverted)},i.$$.update=()=>{i.$$.dirty&2048&&t(5,n=D(m)),i.$$.dirty&544&&t(8,r=`goa-icon-button goa-icon-button--${d} ${n?"goa-icon-button--inverted":""}`),i.$$.dirty&1024&&t(7,o=D(b)),i.$$.dirty&2&&t(6,a={small:"1rem",medium:"1.5rem",large:"2rem"}[s])},[l,s,c,f,g,n,a,o,r,d,b,m]}class Ot extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:flex;align-items:center;box-sizing:border-box;font-family:var(--font-family)}.goa-icon-button,.goa-icon-button *{box-sizing:border-box}.goa-icon-button{display:inline-flex;align-items:center;background:transparent;cursor:pointer;padding:0;border:none}.goa-icon-button--color{border-radius:0.5rem;padding:calc(var(--size) / 4)}.goa-icon-button--color{border-radius:0.5rem;color:var(--goa-color-interactive);fill:var(--goa-color-interactive);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.goa-icon-button--color:active,.goa-icon-button--nocolor:active{transform:scale(0.9)}.goa-icon-button--color:hover{background-color:var(--goa-color-primary-light)}.goa-icon-button--color.goa-icon-button--inverted:hover{background-color:var(--goa-color-primary-dark)}.goa-icon-button:disabled{color:var(--color-gray-200);fill:var(--color-gray-200);transform:none;cursor:default}.goa-icon-button:disabled:hover{background-color:transparent}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},fr,dr,H,{type:0,size:1,theme:2,variant:9,title:3,testId:4,disabled:10,inverted:11},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","theme","variant","title","testId","disabled","inverted"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get theme(){return this.$$.ctx[2]}set theme(e){this.$$set({theme:e}),h()}get variant(){return this.$$.ctx[9]}set variant(e){this.$$set({variant:e}),h()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),h()}get testId(){return this.$$.ctx[4]}set testId(e){this.$$set({testId:e}),h()}get disabled(){return this.$$.ctx[10]}set disabled(e){this.$$set({disabled:e}),h()}get inverted(){return this.$$.ctx[11]}set inverted(e){this.$$set({inverted:e}),h()}}customElements.define("goa-icon-button",Ot);function St(i){let e,t;return{c(){e=p("div"),t=p("goa-icon"),k(t,"type",i[5]),u(e,"class","goa-input-leading-icon")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&32&&k(t,"type",r[5])},d(r){r&&z(e)}}}function Bt(i){let e,t;return{c(){e=p("div"),t=p("goa-icon"),k(t,"size","medium"),k(t,"type",i[6]),u(e,"class","goa-input-trailing-icon")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&64&&k(t,"type",r[6])},d(r){r&&z(e)}}}function Pt(i){let e,t,r,o,n;return{c(){e=p("div"),t=p("goa-icon-button"),k(t,"disabled",i[9]),k(t,"variant","nocolor"),k(t,"size","medium"),k(t,"type",i[6]),k(t,"testid",r=`${i[1]}-input-trailing-button`),u(e,"class","goa-input-trailing-icon")},m(a,l){_(a,e,l),v(e,t),o||(n=X(t,"click",hr),o=!0)},p(a,l){l&512&&k(t,"disabled",a[9]),l&64&&k(t,"type",a[6]),l&2&&r!==(r=`${a[1]}-input-trailing-button`)&&k(t,"testid",r)},d(a){a&&z(e),o=!1,n()}}}function gr(i){let e,t,r,o,n,a,l,s,c,d=i[5]&&St(i),f=i[6]&&!i[12]&&Bt(i),g=i[6]&&i[12]&&Pt(i);return{c(){e=p("div"),d&&d.c(),t=L(),r=p("input"),n=L(),f&&f.c(),a=L(),g&&g.c(),this.c=y,u(r,"id",i[3]),u(r,"class",o=`input--${i[7]}`),r.readOnly=i[11],r.disabled=i[9],u(r,"type",i[0]),r.value=i[2],u(r,"placeholder",i[4]),u(e,"class",l=`goa-input ${i[9]?"goa-input--disabled":""}`),B(e,"error",i[10])},m(b,m){_(b,e,m),d&&d.m(e,null),v(e,t),v(e,r),i[20](r),v(e,n),f&&f.m(e,null),v(e,a),g&&g.m(e,null),s||(c=X(r,"keyup",i[13]),s=!0)},p(b,[m]){b[5]?d?d.p(b,m):(d=St(b),d.c(),d.m(e,t)):d&&(d.d(1),d=null),m&8&&u(r,"id",b[3]),m&128&&o!==(o=`input--${b[7]}`)&&u(r,"class",o),m&2048&&(r.readOnly=b[11]),m&512&&(r.disabled=b[9]),m&1&&u(r,"type",b[0]),m&4&&r.value!==b[2]&&(r.value=b[2]),m&16&&u(r,"placeholder",b[4]),b[6]&&!b[12]?f?f.p(b,m):(f=Bt(b),f.c(),f.m(e,a)):f&&(f.d(1),f=null),b[6]&&b[12]?g?g.p(b,m):(g=Pt(b),g.c(),g.m(e,null)):g&&(g.d(1),g=null),m&512&&l!==(l=`goa-input ${b[9]?"goa-input--disabled":""}`)&&u(e,"class",l),m&1536&&B(e,"error",b[10])},i:y,o:y,d(b){b&&z(e),d&&d.d(),i[20](null),f&&f.d(),g&&g.d(),s=!1,c()}}}function hr(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function mr(i,e,t){let r,o,n,a,l,{type:s="text"}=e,{name:c=""}=e,{value:d=""}=e,{id:f=""}=e,{placeholder:g=""}=e,{leadingicon:b=null}=e,{trailingicon:m=null}=e,{variant:w="goa"}=e,{disabled:x}=e,{handletrailingiconclick:E}=e,{focused:C}=e,{readonly:M}=e,{error:O}=e,P;ve(async()=>{await Me()});function se(A){A.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:A,data:{name:c,value:A.target.value}}})),A.stopPropagation()}function re(A){ue[A?"unshift":"push"](()=>{P=A,t(8,P)})}return i.$$set=A=>{"type"in A&&t(0,s=A.type),"name"in A&&t(1,c=A.name),"value"in A&&t(2,d=A.value),"id"in A&&t(3,f=A.id),"placeholder"in A&&t(4,g=A.placeholder),"leadingicon"in A&&t(5,b=A.leadingicon),"trailingicon"in A&&t(6,m=A.trailingicon),"variant"in A&&t(7,w=A.variant),"disabled"in A&&t(14,x=A.disabled),"handletrailingiconclick"in A&&t(15,E=A.handletrailingiconclick),"focused"in A&&t(16,C=A.focused),"readonly"in A&&t(17,M=A.readonly),"error"in A&&t(18,O=A.error)},i.$$.update=()=>{i.$$.dirty&32768&&t(12,r=D(E)),i.$$.dirty&65536&&t(19,o=D(C)),i.$$.dirty&131072&&t(11,n=D(M)),i.$$.dirty&262144&&t(10,a=D(O)),i.$$.dirty&16384&&t(9,l=D(x)),i.$$.dirty&524544&&o&&(P==null||P.focus())},[s,c,d,f,g,b,m,w,P,l,a,n,r,se,x,E,C,M,O,o,re]}class Nt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-input,.goa-input *{box-sizing:border-box}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:3px;background:white;color:var(--color-black, #ccc);padding:var(--input-padding, 0.5rem) 0.5rem;display:flex;align-items:center}.goa-input input[readonly]{cursor:pointer}.goa-input:hover{border-color:var(--goa-color-interactive--hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--highlight)}.goa-input:disabled{border-color:var(--color-gray-500)}.goa-input:disabled:hover{border-color:var(--color-gray-500)}.goa-input:disabled:focus{box-shadow:none}.goa-input-leading-icon{line-height:18px;padding:0.5rem}.goa-input-trailing-icon{display:flex;align-items:center}.goa-input-trailing-icon>.goa-icon-button{margin-right:-0.5rem}input{display:block;width:100%;font-size:var(--input-font-size)}.goa-input-leading-icon~input{padding-left:0}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled{opacity:0.5;cursor:default;border-color:var(--color-black)}.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{border-color:var(--color-black);cursor:default;box-shadow:none}.goa-input--disabled input:hover{cursor:default !important}input.input--goa{display:block;border:none;flex:1 1 auto}.goa-input .input--bare{border:none}.goa-state--error .goa-input{border:2px solid var(--goa-color-status-emergency)}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-status-emergency-dark)}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},mr,gr,H,{type:0,name:1,value:2,id:3,placeholder:4,leadingicon:5,trailingicon:6,variant:7,disabled:14,handletrailingiconclick:15,focused:16,readonly:17,error:18},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","name","value","id","placeholder","leadingicon","trailingicon","variant","disabled","handletrailingiconclick","focused","readonly","error"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),h()}get id(){return this.$$.ctx[3]}set id(e){this.$$set({id:e}),h()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),h()}get leadingicon(){return this.$$.ctx[5]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get trailingicon(){return this.$$.ctx[6]}set trailingicon(e){this.$$set({trailingicon:e}),h()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),h()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),h()}get handletrailingiconclick(){return this.$$.ctx[15]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),h()}get focused(){return this.$$.ctx[16]}set focused(e){this.$$set({focused:e}),h()}get readonly(){return this.$$.ctx[17]}set readonly(e){this.$$set({readonly:e}),h()}get error(){return this.$$.ctx[18]}set error(e){this.$$set({error:e}),h()}}customElements.define("goa-input",Nt);function br(i){const e=i-1;return e*e*e+1}function vr(i){return Math.pow(i-1,3)*(1-i)+1}function ge(i,{delay:e=0,duration:t=400,easing:r=he}={}){const o=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:n=>`opacity: ${n*o}`}}function Ft(i,{delay:e=0,duration:t=400,easing:r=br,x:o=0,y:n=0,opacity:a=0}={}){const l=getComputedStyle(i),s=+l.opacity,c=l.transform==="none"?"":l.transform,d=s*(1-a);return{delay:e,duration:t,easing:r,css:(f,g)=>`
|
|
6
|
-
|
|
7
|
-
opacity: ${s-d*g}`}}function qt(i,e){function t(){const n=o();document.body.style.overflow="hidden",document.body.style.paddingRight=n+"px"}function r(){setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},500)}function o(){if(document.body.clientHeight<=document.documentElement.clientHeight)return 0;const n=document.createElement("div");n.style.visibility="hidden",n.style.overflow="scroll",document.body.appendChild(n);const a=document.createElement("div");n.appendChild(a);const l=n.offsetWidth-a.offsetWidth;return n.parentNode.removeChild(n),l}return e.enable&&t(),{update(){e.enable?t():r()},destroy(){r()}}}function Wt(i){let e,t,r,o,n,a,l,s,c,d,f,g,b,m,w,x,E,C,M,O=i[0]&&Vt(i),P=i[4]&&Xt();function se(F,te){return F[3]?yr:pr}let re=se(i),A=re(i);return{c(){e=p("div"),t=p("div"),r=L(),o=p("div"),O&&O.c(),n=L(),P&&P.c(),a=L(),l=p("div"),A.c(),s=L(),c=p("slot"),d=L(),f=p("div"),f.innerHTML='<slot name="actions"></slot>',u(t,"class","modal-overlay"),u(l,"class","modal-content"),u(f,"class","modal-actions"),u(o,"class","modal-pane"),u(e,"class","modal"),S(e,"--scroll-offset",i[2]+"px")},m(F,te){_(F,e,te),v(e,t),v(e,r),v(e,o),O&&O.m(o,null),v(o,n),P&&P.m(o,null),v(o,a),v(o,l),A.m(l,null),v(l,s),v(l,c),v(o,d),v(o,f),E=!0,C||(M=[X(t,"click",Jt),Ye(m=qt.call(null,e,{enable:i[1]}))],C=!0)},p(F,te){F[0]?O?O.p(F,te):(O=Vt(F),O.c(),O.m(o,n)):O&&(O.d(1),O=null),F[4]?P?P.p(F,te):(P=Xt(),P.c(),P.m(o,a)):P&&(P.d(1),P=null),re!==(re=se(F))&&(A.d(1),A=re(F),A&&(A.c(),A.m(l,s))),(!E||te&4)&&S(e,"--scroll-offset",F[2]+"px"),m&&oe(m.update)&&te&2&&m.update.call(null,{enable:F[1]})},i(F){E||(K(()=>{b&&b.end(1),g=ot(o,Ft,{duration:200,y:200}),g.start()}),K(()=>{x&&x.end(1),w=ot(e,ge,{duration:200}),w.start()}),E=!0)},o(F){g&&g.invalidate(),b=at(o,Ft,{delay:200,duration:200,y:-100}),w&&w.invalidate(),x=at(e,ge,{delay:200,duration:200}),E=!1},d(F){F&&z(e),O&&O.d(),P&&P.d(),A.d(),F&&b&&b.end(),F&&x&&x.end(),C=!1,Z(M)}}}function Vt(i){let e,t;return{c(){e=p("div"),t=W(i[0]),u(e,"class","modal-title")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&1&&V(t,r[0])},d(r){r&&z(e)}}}function Xt(i){let e,t,r,o;return{c(){e=p("div"),t=p("goa-icon-button"),k(t,"type","close"),u(e,"class","modal-close")},m(n,a){_(n,e,a),v(e,t),r||(o=X(t,"click",Jt),r=!0)},p:y,d(n){n&&z(e),r=!1,o()}}}function pr(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",S(e,"margin","1.75rem")},m(t,r){_(t,e,r)},d(t){t&&z(e)}}}function yr(i){let e;return{c(){e=p("goa-scrollable"),e.innerHTML="<slot></slot>",k(e,"direction","vertical"),k(e,"height","50"),k(e,"hpadding","1.75")},m(t,r){_(t,e,r)},d(t){t&&z(e)}}}function _r(i){let e,t,r=i[1]&&Wt(i);return{c(){r&&r.c(),e=ne(),this.c=y},m(o,n){r&&r.m(o,n),_(o,e,n),t=!0},p(o,[n]){o[1]?r?(r.p(o,n),n&2&&N(r,1)):(r=Wt(o),r.c(),N(r,1),r.m(e.parentNode,e)):r&&(_e(),q(r,1,1,()=>{r=null}),we())},i(o){t||(N(r),t=!0)},o(o){q(r),t=!1},d(o){r&&r.d(o),o&&z(e)}}}function Jt(i){i.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),i.stopPropagation()}function wr(i,e,t){let r,o,n;console.log("here");let{title:a}=e,{closable:l}=e,{scrollable:s}=e,{open:c}=e,d=0;return i.$$set=f=>{"title"in f&&t(0,a=f.title),"closable"in f&&t(5,l=f.closable),"scrollable"in f&&t(6,s=f.scrollable),"open"in f&&t(7,c=f.open)},i.$$.update=()=>{i.$$.dirty&32&&t(4,r=D(l)),i.$$.dirty&64&&t(3,o=D(s)),i.$$.dirty&128&&t(1,n=D(c)),i.$$.dirty&2&&n&&t(2,d=window.pageYOffset)},[a,n,d,o,r,l,s,c]}class Kt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.modal{font-family:var(--font-family);position:absolute;top:var(--scroll-offset, 0);left:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.modal-pane{position:relative;background-color:#fff;z-index:1001;max-width:60ch;margin:1rem;box-shadow:var(--shadow-2);border-radius:4px;width:90%;max-height:90%}@media(min-width: 640px){.modal-pane{margin:1rem;max-height:80%;width:600px}}@media(min-width: 1024px){.modal-pane{width:65ch;max-height:80%}}.modal-actions{text-align:right;padding:0 1.75rem;margin:1.75rem 0;flex:1 1 auto}.modal-close{position:absolute;top:1rem;right:1rem}.modal-title{font-size:var(--fs-xl);padding-bottom:1rem;padding:0 1.75rem;margin:1.75rem 0;margin-right:40px;flex:0 0 auto}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},wr,_r,H,{title:0,closable:5,scrollable:6,open:7},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["title","closable","scrollable","open"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),h()}get closable(){return this.$$.ctx[5]}set closable(e){this.$$set({closable:e}),h()}get scrollable(){return this.$$.ctx[6]}set scrollable(e){this.$$set({scrollable:e}),h()}get open(){return this.$$.ctx[7]}set open(e){this.$$set({open:e}),h()}}customElements.define("goa-modal",Kt);function Ut(i){let e,t,r,o,n,a,l,s,c,d,f,g,b;return{c(){e=p("div"),t=p("div"),r=p("goa-icon"),o=L(),n=p("div"),n.innerHTML="<slot></slot>",a=L(),l=p("div"),s=p("goa-icon-button"),k(r,"type",i[2]),k(r,"inverted",""),u(t,"class","icon"),u(n,"class","content"),k(s,"type","close"),k(s,"inverted",""),u(l,"class","close"),u(e,"class",c="notification "+i[0])},m(m,w){_(m,e,w),v(e,t),v(t,r),v(e,o),v(e,n),v(e,a),v(e,l),v(l,s),f=!0,g||(b=X(s,"click",i[3]),g=!0)},p(m,w){(!f||w&4)&&k(r,"type",m[2]),(!f||w&1&&c!==(c="notification "+m[0]))&&u(e,"class",c)},i(m){f||(K(()=>{d||(d=Ie(e,ge,{},!0)),d.run(1)}),f=!0)},o(m){d||(d=Ie(e,ge,{},!1)),d.run(0),f=!1},d(m){m&&z(e),m&&d&&d.end(),g=!1,b()}}}function kr(i){let e,t,r=i[1]&&Ut(i);return{c(){r&&r.c(),e=ne(),this.c=y},m(o,n){r&&r.m(o,n),_(o,e,n),t=!0},p(o,[n]){o[1]?r?(r.p(o,n),n&2&&N(r,1)):(r=Ut(o),r.c(),N(r,1),r.m(e.parentNode,e)):r&&(_e(),q(r,1,1,()=>{r=null}),we())},i(o){t||(N(r),t=!0)},o(o){q(r),t=!1},d(o){r&&r.d(o),o&&z(e)}}}function xr(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 Yt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;align-items:center;gap:1rem;border-radius:3px}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.caution{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info);color:var(--color-white)}.event{background-color:var(--goa-color-status-success);color:var(--color-white)}.icon{flex:0 0 auto;align-self:flex-start}.content{flex:1 1 auto}.close{flex:0 0 auto;align-self:flex-start}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},xr,kr,H,{type:0},null),e&&(e.target&&_(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",Yt);function zr(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",this.c=y,u(e,"class","layout")},m(t,r){_(t,e,r)},p:y,i:y,o:y,d(t){t&&z(e)}}}class Zt extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>@media(min-width: 768px){}.layout{max-width:768px;margin:0 auto;padding:2rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,zr,H,{},null),e&&e.target&&_(e.target,this,e.anchor)}}customElements.define("goa-page-layout",Zt);function Qt(i){let e,t,r,o;const n=[Cr,Er],a=[];function l(s,c){return s[5]?0:1}return e=l(i),t=a[e]=n[e](i),{c(){t.c(),r=ne()},m(s,c){a[e].m(s,c),_(s,r,c),o=!0},p(s,c){let d=e;e=l(s),e===d?a[e].p(s,c):(_e(),q(a[d],1,1,()=>{a[d]=null}),we(),t=a[e],t?t.p(s,c):(t=a[e]=n[e](s),t.c()),N(t,1),t.m(r.parentNode,r))},i(s){o||(N(t),o=!0)},o(s){q(t),o=!1},d(s){a[e].d(s),s&&z(r)}}}function Er(i){let e,t,r,o,n=i[1]&&$t(i);return{c(){e=p("div"),t=p("goa-spinner"),o=L(),n&&n.c(),k(t,"type",i[0]),k(t,"size","xlarge"),k(t,"progress",r=i[2]||0),B(e,"inline",i[4])},m(a,l){_(a,e,l),v(e,t),v(e,o),n&&n.m(e,null)},p(a,l){l&1&&k(t,"type",a[0]),l&4&&r!==(r=a[2]||0)&&k(t,"progress",r),a[1]?n?n.p(a,l):(n=$t(a),n.c(),n.m(e,null)):n&&(n.d(1),n=null),l&16&&B(e,"inline",a[4])},i:y,o:y,d(a){a&&z(e),n&&n.d()}}}function Cr(i){let e,t,r,o,n,a,l,s,c=i[1]&&ei(i);return{c(){e=p("div"),t=p("goa-spinner"),o=L(),c&&c.c(),k(t,"type",i[0]),k(t,"size","xlarge"),k(t,"progress",r=i[2]||0),B(e,"fullscreen",i[5])},m(d,f){_(d,e,f),v(e,t),v(e,o),c&&c.m(e,null),a=!0,l||(s=Ye(qt.call(null,e,{enable:!0})),l=!0)},p(d,f){(!a||f&1)&&k(t,"type",d[0]),(!a||f&4&&r!==(r=d[2]||0))&&k(t,"progress",r),d[1]?c?c.p(d,f):(c=ei(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&32&&B(e,"fullscreen",d[5])},i(d){a||(K(()=>{n||(n=Ie(e,ge,{duration:300},!0)),n.run(1)}),a=!0)},o(d){n||(n=Ie(e,ge,{duration:300},!1)),n.run(0),a=!1},d(d){d&&z(e),c&&c.d(),d&&n&&n.end(),l=!1,s()}}}function $t(i){let e,t;return{c(){e=p("div"),t=W(i[1]),u(e,"class","message")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&2&&V(t,r[1])},d(r){r&&z(e)}}}function ei(i){let e,t;return{c(){e=p("div"),t=W(i[1]),u(e,"class","message")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&2&&V(t,r[1])},d(r){r&&z(e)}}}function Ar(i){let e,t,r=i[3]&&Qt(i);return{c(){r&&r.c(),e=ne(),this.c=y},m(o,n){r&&r.m(o,n),_(o,e,n),t=!0},p(o,[n]){o[3]?r?(r.p(o,n),n&8&&N(r,1)):(r=Qt(o),r.c(),N(r,1),r.m(e.parentNode,e)):r&&(_e(),q(r,1,1,()=>{r=null}),we())},i(o){t||(N(r),t=!0)},o(o){q(r),t=!1},d(o){r&&r.d(o),o&&z(e)}}}function Lr(i,e,t){let r,o,n,a,{type:l="infinite"}=e,{message:s}=e,{progress:c=0}=e,{visible:d}=e,{variant:f="inline"}=e;return i.$$set=g=>{"type"in g&&t(0,l=g.type),"message"in g&&t(1,s=g.message),"progress"in g&&t(2,c=g.progress),"visible"in g&&t(6,d=g.visible),"variant"in g&&t(7,f=g.variant)},i.$$.update=()=>{i.$$.dirty&192&&t(8,r=D(d)||f==="inline"),i.$$.dirty&128&&t(5,o=f==="fullscreen"),i.$$.dirty&128&&t(4,n=f==="inline"),i.$$.dirty&257&&t(3,a=l&&r)},[l,s,c,a,n,o,d,f,r]}class ti extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:rgba(255, 255, 255, 0.9)}.inline{margin:3.5rem;display:flex;flex-direction:column;align-items:center;justify-content:center}.message{margin-top:1rem;font-size:1.2rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Lr,Ar,H,{type:0,message:1,progress:2,visible:6,variant:7},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","message","progress","visible","variant"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get message(){return this.$$.ctx[1]}set message(e){this.$$set({message:e}),h()}get progress(){return this.$$.ctx[2]}set progress(e){this.$$set({progress:e}),h()}get visible(){return this.$$.ctx[6]}set visible(e){this.$$set({visible:e}),h()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),h()}}customElements.define("goa-page-loader",ti);const ke=Fe({});function Rr(i){let e,t,r,o;return{c(){e=p("div"),t=p("div"),r=p("slot"),this.c=y,u(t,"class",o=`goa-radio-group--${i[0]}`)},m(n,a){_(n,e,a),v(e,t),v(t,r),i[8](t)},p(n,[a]){a&1&&o!==(o=`goa-radio-group--${n[0]}`)&&u(t,"class",o)},i:y,o:y,d(n){n&&z(e),i[8](null)}}}function Mr(i,e,t){let r,{name:o}=e,{value:n}=e,{orientation:a="vertical"}=e,{disabled:l}=e,{error:s}=e,c,d,f;ve(()=>{ke.update(b=>Object.assign(Object.assign({},b),{[o]:{tag:o,payload:{value:n,disabled:r,error:c}}})),f=ke.subscribe(b=>{const m=b[o].payload;m.value!==n&&(t(2,n=m.value),d.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:m.value}})))})}),Oe(f);function g(b){ue[b?"unshift":"push"](()=>{d=b,t(1,d)})}return i.$$set=b=>{"name"in b&&t(3,o=b.name),"value"in b&&t(2,n=b.value),"orientation"in b&&t(0,a=b.orientation),"disabled"in b&&t(4,l=b.disabled),"error"in b&&t(5,s=b.error)},i.$$.update=()=>{i.$$.dirty&16&&t(7,r=D(l)),i.$$.dirty&236&&(t(6,c=D(s)),ke.update(b=>Object.assign(Object.assign({},b),{[o]:{tag:o,payload:{value:n,disabled:r,error:c}}})))},[a,d,n,o,l,s,c,r,g]}class ii extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:inline-flex;flex-direction:column}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Mr,Rr,H,{name:3,value:2,orientation:0,disabled:4,error:5},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","orientation","disabled","error"]}get name(){return this.$$.ctx[3]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),h()}get orientation(){return this.$$.ctx[0]}set orientation(e){this.$$set({orientation:e}),h()}get disabled(){return this.$$.ctx[4]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[5]}set error(e){this.$$set({error:e}),h()}}customElements.define("goa-radio-group",ii);function Tr(i){let e,t,r,o,n,a,l,s,c,d;return{c(){e=p("label"),t=p("input"),r=L(),o=p("div"),n=L(),a=p("span"),l=p("slot"),s=W(i[1]),this.c=y,u(t,"type","radio"),u(t,"name",i[2]),t.value=i[0],t.checked=i[4],t.disabled=i[3],u(o,"class","goa-radio-icon"),u(a,"class","goa-radio-label"),u(e,"class","goa-radio"),B(e,"goa-radio--disabled",i[3]),B(e,"goa-radio--error",i[5])},m(f,g){_(f,e,g),v(e,t),v(e,r),v(e,o),v(e,n),v(e,a),v(a,l),v(l,s),c||(d=X(t,"change",i[6]),c=!0)},p(f,[g]){g&4&&u(t,"name",f[2]),g&1&&(t.value=f[0]),g&16&&(t.checked=f[4]),g&8&&(t.disabled=f[3]),g&2&&V(s,f[1]),g&8&&B(e,"goa-radio--disabled",f[3]),g&32&&B(e,"goa-radio--error",f[5])},i:y,o:y,d(f){f&&z(e),c=!1,d()}}}function Hr(i,e,t){let{value:r}=e,{label:o}=e,{name:n}=e,a=!1,l=!1,s=!1,c;ve(()=>{c=ke.subscribe(f=>{const g=f[n];(g==null?void 0:g.tag)===n&&(t(4,l=g.payload.value===r),t(3,a=g.payload.disabled),t(5,s=g.payload.error))})}),Oe(c);function d(f){t(4,l=!l),l&&ke.update(g=>Object.assign(Object.assign({},g),{[n]:{tag:n,payload:{disabled:a,value:r}}}))}return i.$$set=f=>{"value"in f&&t(0,r=f.value),"label"in f&&t(1,o=f.label),"name"in f&&t(2,n=f.name)},[r,o,n,a,l,s,d]}class ri extends I{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}label.goa-radio{--goa-border-color:var(--color-gray-600);--goa-border-color--checked:var(--goa-color-interactive--active);--goa-radio-color--error:var(--goa-color-status-emergency);--goa-radio-outline-color:var(--goa-color-interactive--highlight);--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;box-sizing:border-box;display:inline-flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{display:none}.goa-radio-label{padding:0.5rem;font-weight:var(--fw-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-radio-outline-color)}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-border-color--checked)}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--goa-border-color)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--goa-border-color);opacity:0.3}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-border-color--checked);opacity:0.3}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-radio-color--error)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-radio-color--error)}</style>',G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Hr,Tr,H,{value:0,label:1,name:2},null),e&&(e.target&&_(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",ri);function Ir(i){let e,t,r;return{c(){e=p("div"),t=p("slot"),this.c=y,u(e,"class","goa-scrollable"),u(e,"style",r=`
|
|
4
|
+
}`,f=`__svelte_${_i(d)}_${l}`,b=it(i),{stylesheet:y,rules:p}=He.get(b)||ki(b,i);p[f]||(p[f]=!0,y.insertRule(`@keyframes ${f} ${d}`,y.cssRules.length));const _=i.style.animation||"";return i.style.animation=`${_?`${_}, `:""}${f} ${r}ms linear ${n}ms 1 both`,Ie+=1,f}function De(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?o=>o.indexOf(e)<0:o=>o.indexOf("__svelte")===-1),n=t.length-r.length;n&&(i.style.animation=r.join(", "),Ie-=n,Ie||xi())}function xi(){We(()=>{Ie||(He.forEach(i=>{const{stylesheet:e}=i;let t=e.cssRules.length;for(;t--;)e.deleteRule(t);i.rules={}}),He.clear())})}let xe;function Ee(i){xe=i}function rt(){if(!xe)throw new Error("Function called outside component initialization");return xe}function Q(i){rt().$$.on_mount.push(i)}function nt(i){rt().$$.on_destroy.push(i)}const Ce=[],ee=[],Be=[],ot=[],at=Promise.resolve();let Ue=!1;function lt(){Ue||(Ue=!0,at.then(h))}function Ne(){return lt(),at}function re(i){Be.push(i)}const Ze=new Set;let Oe=0;function h(){const i=xe;do{for(;Oe<Ce.length;){const e=Ce[Oe];Oe++,Ee(e),Ei(e.$$)}for(Ee(null),Ce.length=0,Oe=0;ee.length;)ee.pop()();for(let e=0;e<Be.length;e+=1){const t=Be[e];Ze.has(t)||(Ze.add(t),t())}Be.length=0}while(Ce.length);for(;ot.length;)ot.pop()();Ue=!1,Ze.clear(),Ee(i)}function Ei(i){if(i.fragment!==null){i.update(),$(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(re)}}let ze;function Ke(){return ze||(ze=Promise.resolve(),ze.then(()=>{ze=null})),ze}function he(i,e,t){i.dispatchEvent(yi(`${e?"intro":"outro"}${t}`))}const je=new Set;let ne;function ve(){ne={r:0,c:[],p:ne}}function pe(){ne.r||$(ne.c),ne=ne.p}function W(i,e){i&&i.i&&(je.delete(i),i.i(e))}function Z(i,e,t,r){if(i&&i.o){if(je.has(i))return;je.add(i),ne.c.push(()=>{je.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}else r&&r()}const Xe={duration:0};function st(i,e,t){let r=e(i,t),n=!1,o,a,l=0;function s(){o&&De(i,o)}function c(){const{delay:f=0,duration:b=300,easing:y=ke,tick:p=w,css:_}=r||Xe;_&&(o=Se(i,0,1,b,f,y,_,l++)),p(0,1);const L=Te()+f,x=L+b;a&&a.abort(),n=!0,re(()=>he(i,!0,"start")),a=Re(M=>{if(n){if(M>=x)return p(1,0),he(i,!0,"end"),s(),n=!1;if(M>=L){const z=y((M-L)/b);p(z,1-z)}}return n})}let d=!1;return{start(){d||(d=!0,De(i),ue(r)?(r=r(),Ke().then(c)):c())},invalidate(){d=!1},end(){n&&(s(),n=!1)}}}function ct(i,e,t){let r=e(i,t),n=!0,o;const a=ne;a.r+=1;function l(){const{delay:s=0,duration:c=300,easing:d=ke,tick:f=w,css:b}=r||Xe;b&&(o=Se(i,1,0,c,s,d,b));const y=Te()+s,p=y+c;re(()=>he(i,!1,"start")),Re(_=>{if(n){if(_>=p)return f(0,1),he(i,!1,"end"),--a.r||$(a.c),!1;if(_>=y){const L=d((_-y)/c);f(1-L,L)}}return n})}return ue(r)?Ke().then(()=>{r=r(),l()}):l(),{end(s){s&&r.tick&&r.tick(1,0),n&&(o&&De(i,o),n=!1)}}}function Pe(i,e,t,r){let n=e(i,t),o=r?0:1,a=null,l=null,s=null;function c(){s&&De(i,s)}function d(b,y){const p=b.b-o;return y*=Math.abs(p),{a:o,b:b.b,d:p,duration:y,start:b.start,end:b.start+y,group:b.group}}function f(b){const{delay:y=0,duration:p=300,easing:_=ke,tick:L=w,css:x}=n||Xe,M={start:Te()+y,b};b||(M.group=ne,ne.r+=1),a||l?l=M:(x&&(c(),s=Se(i,o,b,p,y,_,x)),b&&L(0,1),a=d(M,p),re(()=>he(i,b,"start")),Re(z=>{if(l&&z>l.start&&(a=d(l,p),l=null,he(i,a.b,"start"),x&&(c(),s=Se(i,o,a.b,a.duration,0,_,n.css))),a){if(z>=a.end)L(o=a.b,1-o),he(i,a.b,"end"),l||(a.b?c():--a.group.r||$(a.group.c)),a=null;else if(z>=a.start){const k=z-a.start;o=a.a+a.d*_(k/a.duration),L(o,1-o)}}return!!(a||l)}))}return{run(b){ue(n)?Ke().then(()=>{n=n(),f(b)}):f(b)},end(){c(),a=l=null}}}function Ci(i,e){i.d(1),e.delete(i.key)}function zi(i,e,t,r,n,o,a,l,s,c,d,f){let b=i.length,y=o.length,p=b;const _={};for(;p--;)_[i[p].key]=p;const L=[],x=new Map,M=new Map;for(p=y;p--;){const R=f(n,o,p),T=t(R);let D=a.get(T);D?r&&D.p(R,e):(D=c(T,R),D.c()),x.set(T,L[p]=D),T in _&&M.set(T,Math.abs(p-_[T]))}const z=new Set,k=new Set;function A(R){W(R,1),R.m(l,d),a.set(R.key,R),d=R.first,y--}for(;b&&y;){const R=L[y-1],T=i[b-1],D=R.key,X=T.key;R===T?(d=R.first,b--,y--):x.has(X)?!a.has(D)||z.has(D)?A(R):k.has(X)?b--:M.get(D)>M.get(X)?(k.add(D),A(R)):(z.add(X),b--):(s(T,a),b--)}for(;b--;){const R=i[b];x.has(R.key)||s(R,a)}for(;y;)A(L[y-1]);return L}function ge(i){i&&i.c()}function se(i,e,t,r){const{fragment:n,on_mount:o,on_destroy:a,after_update:l}=i.$$;n&&n.m(e,t),r||re(()=>{const s=o.map(Ve).filter(ue);a?a.push(...s):$(s),i.$$.on_mount=[]}),l.forEach(re)}function ce(i,e){const t=i.$$;t.fragment!==null&&($(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function Mi(i,e){i.$$.dirty[0]===-1&&(Ce.push(i),lt(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function P(i,e,t,r,n,o,a,l=[-1]){const s=xe;Ee(i);const c=i.$$={fragment:null,ctx:null,props:o,update:w,not_equal:n,bound:Qe(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:Qe(),dirty:l,skip_bound:!1,root:e.target||s.$$.root};a&&a(c.root);let d=!1;if(c.ctx=t?t(i,e.props||{},(f,b,...y)=>{const p=y.length?y[0]:b;return c.ctx&&n(c.ctx[f],c.ctx[f]=p)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](p),d&&Mi(i,f)),b}):[],c.update(),d=!0,$(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=wi(e.target);c.fragment&&c.fragment.l(f),f.forEach(E)}else c.fragment&&c.fragment.c();e.intro&&W(i.$$.fragment),se(i,e.target,e.anchor,e.customElement),h()}Ee(s)}let O;typeof HTMLElement=="function"&&(O=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(Ve).filter(ue);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){$(this.$$.on_disconnect)}$destroy(){ce(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&&!gi(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});function Li(i){let e,t,r,n,o,a,l,s,c;return{c(){e=m("div"),t=m("img"),n=H(),o=m("img"),l=H(),s=m("span"),c=F(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),Le(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(o,"alt","GoA Logo"),u(o,"class","image-desktop"),Le(o.src,a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||u(o,"src",a),u(s,"class","title"),u(e,"class","app-link")},m(d,f){v(d,e,f),g(e,t),g(e,n),g(e,o),g(e,l),g(e,s),g(s,c)},p(d,f){f&1&&q(c,d[0])},d(d){d&&E(e)}}}function Ti(i){let e,t,r,n,o,a,l,s,c;return{c(){e=m("a"),t=m("img"),n=H(),o=m("img"),l=H(),s=m("span"),c=F(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),Le(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(o,"alt","GoA Logo"),u(o,"class","image-desktop"),Le(o.src,a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||u(o,"src",a),u(s,"class","title"),u(e,"href",i[1]),u(e,"class","app-link")},m(d,f){v(d,e,f),g(e,t),g(e,n),g(e,o),g(e,l),g(e,s),g(s,c)},p(d,f){f&1&&q(c,d[0]),f&2&&u(e,"href",d[1])},d(d){d&&E(e)}}}function Ri(i){let e,t,r,n,o;function a(c,d){return c[1]?Ti:Li}let l=a(i),s=l(i);return{c(){e=m("div"),t=m("div"),s.c(),r=H(),n=m("div"),n.innerHTML="<slot></slot>",this.c=w,u(t,"class","content"),u(e,"class","app-header"),u(e,"data-testid",i[2]),u(e,"style",o=`--max-content-width: ${i[3]||"100%"}`)},m(c,d){v(c,e,d),g(e,t),s.m(t,null),g(t,r),g(t,n)},p(c,[d]){l===(l=a(c))&&s?s.p(c,d):(s.d(1),s=l(c),s&&(s.c(),s.m(t,r))),d&4&&u(e,"data-testid",c[2]),d&8&&o!==(o=`--max-content-width: ${c[3]||"100%"}`)&&u(e,"style",o)},i:w,o:w,d(c){c&&E(e),s.d()}}}function Ai(i,e,t){let{heading:r=""}=e,{url:n=""}=e,{testid:o=""}=e,{maxcontentwidth:a=""}=e;return i.$$set=l=>{"heading"in l&&t(0,r=l.heading),"url"in l&&t(1,n=l.url),"testid"in l&&t(2,o=l.testid),"maxcontentwidth"in l&&t(3,a=l.maxcontentwidth)},[r,n,o,a]}class Hi extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box;font-family:var(--font-family)}.app-header{margin:0 auto;border-bottom:1px solid var(--color-gray-100)}@media(max-width: 640px){.app-header{padding:1rem 1rem}}.content{margin:0 auto;width:min(var(--max-content-width), 100%);display:flex;align-items:center;justify-content:space-between}@media(min-width: 640px){.content{padding:2rem 1.5rem}}.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: 640px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ai,Ri,N,{heading:0,url:1,testid:2,maxcontentwidth:3},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","url","testid","maxcontentwidth"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get url(){return this.$$.ctx[1]}set url(e){this.$$set({url:e}),h()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),h()}get maxcontentwidth(){return this.$$.ctx[3]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),h()}}customElements.define("goa-app-header",Hi);function G(i){return i==="false"?!1:i===""?!0:!!i}function Ii(i){return i?"true":"false"}function Si(i){let e;return{c(){e=m("div"),V(e,"height","1.2rem"),V(e,"margin-left","-0.25rem")},m(t,r){v(t,e,r)},p:w,d(t){t&&E(e)}}}function Di(i){let e;return{c(){e=m("goa-icon"),C(e,"type",i[4]),C(e,"size","small")},m(t,r){v(t,e,r)},p(t,r){r&16&&C(e,"type",t[4])},d(t){t&&E(e)}}}function dt(i){let e,t;return{c(){e=m("div"),t=F(i[2]),u(e,"class","goa-badge-content")},m(r,n){v(r,e,n),g(e,t)},p(r,n){n&4&&q(t,r[2])},d(r){r&&E(e)}}}function Bi(i){let e,t,r;function n(s,c){return s[3]?Di:Si}let o=n(i),a=o(i),l=i[2]&&dt(i);return{c(){e=m("div"),a.c(),t=H(),l&&l.c(),this.c=w,u(e,"data-testid",i[1]),u(e,"data-type","goa-badge"),u(e,"class",r="goa-badge badge-"+i[0]),B(e,"icon-only",i[3]&&!i[2])},m(s,c){v(s,e,c),a.m(e,null),g(e,t),l&&l.m(e,null)},p(s,[c]){o===(o=n(s))&&a?a.p(s,c):(a.d(1),a=o(s),a&&(a.c(),a.m(e,t))),s[2]?l?l.p(s,c):(l=dt(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),c&2&&u(e,"data-testid",s[1]),c&1&&r!==(r="goa-badge badge-"+s[0])&&u(e,"class",r),c&13&&B(e,"icon-only",s[3]&&!s[2])},i:w,o:w,d(s){s&&E(e),a.d(),l&&l.d()}}}function Ni(i,e,t){let r,n,{type:o}=e,{testid:a=""}=e,{icon:l="false"}=e,{content:s=""}=e;return Q(()=>{!r&&!s&&console.warn("GoABadge must have either then content or icon property set")}),i.$$set=c=>{"type"in c&&t(0,o=c.type),"testid"in c&&t(1,a=c.testid),"icon"in c&&t(5,l=c.icon),"content"in c&&t(2,s=c.content)},i.$$.update=()=>{i.$$.dirty&32&&t(3,r=G(l)),i.$$.dirty&1&&t(4,n={success:"checkmark-circle",important:"alert-circle",information:"information-circle",emergency:"warning",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[o])},[o,a,s,r,n,l]}class Oi extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;align-items:center;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--fw-regular);margin:0.25rem}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm);padding-bottom:var(--font-valign-fix)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--goa-color-status-info)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--goa-color-text-light)}.goa-badge.badge-important{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.goa-badge.badge-emergency{background-color:var(--goa-color-status-emergency);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--color-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--color-gray-600);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--color-white);color:var(--goa-color-text)}</style>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ni,Bi,N,{type:0,testid:1,icon:5,content:2},null),e&&(e.target&&v(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",Oi);function ji(i){let e,t;return{c(){e=m("div"),t=m("slot"),this.c=w,V(e,"--alignment","flex-"+i[1]),V(e,"--gap-size",i[0]==="small"?"0.5rem":"1.25rem")},m(r,n){v(r,e,n),g(e,t)},p(r,[n]){n&2&&V(e,"--alignment","flex-"+r[1]),n&1&&V(e,"--gap-size",r[0]==="small"?"0.5rem":"1.25rem")},i:w,o:w,d(r){r&&E(e)}}}function Pi(i,e,t){let{gap:r="medium"}=e,{alignment:n}=e;return i.$$set=o=>{"gap"in o&&t(0,r=o.gap),"alignment"in o&&t(1,n=o.alignment)},[r,n]}class Fi extends O{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>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Pi,ji,N,{gap:0,alignment:1},null),e&&(e.target&&v(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",Fi);function Gi(i){let e,t,r,n,o=i[3]&&ut(i),a=i[4]&&ft(i);return{c(){o&&o.c(),e=H(),t=m("slot"),r=H(),a&&a.c(),n=ie(),u(t,"class","text")},m(l,s){o&&o.m(l,s),v(l,e,s),v(l,t,s),v(l,r,s),a&&a.m(l,s),v(l,n,s)},p(l,s){l[3]?o?o.p(l,s):(o=ut(l),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null),l[4]?a?a.p(l,s):(a=ft(l),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(l){o&&o.d(l),l&&E(e),l&&E(t),l&&E(r),a&&a.d(l),l&&E(n)}}}function qi(i){let e,t,r;return{c(){e=m("slot"),t=H(),r=m("goa-icon"),u(e,"class","text"),C(r,"id","trailing-icon"),C(r,"type","arrow-forward"),C(r,"inverted","true")},m(n,o){v(n,e,o),v(n,t,o),v(n,r,o)},p:w,d(n){n&&E(e),n&&E(t),n&&E(r)}}}function ut(i){let e;return{c(){e=m("goa-icon"),C(e,"id","leading-icon"),C(e,"type",i[3]),C(e,"inverted",i[6])},m(t,r){v(t,e,r)},p(t,r){r&8&&C(e,"type",t[3]),r&64&&C(e,"inverted",t[6])},d(t){t&&E(e)}}}function ft(i){let e;return{c(){e=m("goa-icon"),C(e,"id","trailing-icon"),C(e,"type",i[4]),C(e,"inverted",i[6])},m(t,r){v(t,e,r)},p(t,r){r&16&&C(e,"type",t[4]),r&64&&C(e,"inverted",t[6])},d(t){t&&E(e)}}}function Vi(i){let e,t,r,n;function o(s,c){return s[0]==="start"?qi:Gi}let a=o(i),l=a(i);return{c(){e=m("button"),l.c(),this.c=w,u(e,"class",t=""+(i[0]+" "+i[1]+" "+i[2])),e.disabled=i[7],u(e,"data-testid",i[5]),B(e,"leading",i[3]),B(e,"trailing",i[4]||i[0]==="start")},m(s,c){v(s,e,c),l.m(e,null),r||(n=U(e,"click",Wi),r=!0)},p(s,[c]){a===(a=o(s))&&l?l.p(s,c):(l.d(1),l=a(s),l&&(l.c(),l.m(e,null))),c&7&&t!==(t=""+(s[0]+" "+s[1]+" "+s[2]))&&u(e,"class",t),c&128&&(e.disabled=s[7]),c&32&&u(e,"data-testid",s[5]),c&15&&B(e,"leading",s[3]),c&23&&B(e,"trailing",s[4]||s[0]==="start")},i:w,o:w,d(s){s&&E(e),l.d(),r=!1,n()}}}function Wi(i){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),i.stopPropagation()}function Ui(i,e,t){let r,n;const o=["primary","submit","secondary","tertiary","start"],a=["normal","compact"],l=["normal","destructive"];function s(M){return o.includes(M)}function c(M){return a.includes(M)}function d(M){return l.includes(M)}let{type:f="primary"}=e,{size:b="normal"}=e,{variant:y="normal"}=e,{disabled:p="false"}=e,{leadingicon:_=null}=e,{trailingicon:L=null}=e,{testid:x=""}=e;return Q(()=>{if(!s(f))throw"Invalid button type";if(!c(b))throw"Invalid button size";if(!d(y))throw"Invalid button variant"}),i.$$set=M=>{"type"in M&&t(0,f=M.type),"size"in M&&t(1,b=M.size),"variant"in M&&t(2,y=M.variant),"disabled"in M&&t(8,p=M.disabled),"leadingicon"in M&&t(3,_=M.leadingicon),"trailingicon"in M&&t(4,L=M.trailingicon),"testid"in M&&t(5,x=M.testid)},i.$$.update=()=>{i.$$.dirty&256&&t(7,r=G(p)),i.$$.dirty&1&&t(6,n=f==="primary"||f==="start")},[f,b,y,_,L,x,n,r,p]}class Zi extends O{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}@media(max-width: 480px){:host{width:100%}button{width:100%}}button{display:inline-flex;box-sizing:border-box;border-radius:0.25rem;border:2px solid var(--goa-color-interactive);box-sizing:border-box;cursor:pointer;font-family:var(--font-family);font-size:var(--fs-lg);font-weight:400;height:var(--button-height);letter-spacing:0.5px;line-height:100%;padding:0 0.75rem;gap:0.5rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
5
|
+
border-color 0.2s ease-in-out}.text{padding-bottom:var(--font-valign-fix)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--fs-base)}button.start{height:var(--button-height-tall);font-weight:var(--fw-bold)}button.start,button.submit,button.primary{border:2px solid var(--goa-color-interactive);background-color:var(--goa-color-interactive);color:var(--goa-color-text-light)}button.start:hover,button.submit:hover,button.primary:hover{border-color:var(--goa-color-interactive--hover);background-color:var(--goa-color-interactive--hover)}button.start:focus,button.start:active,button.submit:focus,button.submit: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-color:var(--goa-color-interactive--active);outline:none}button.secondary{border:2px solid var(--goa-color-interactive);background-color: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-color: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-color:var(--color-gray-100);outline:none}button.tertiary{border:1px solid transparent;background-color:transparent;color:var(--goa-color-interactive);text-decoration:underline}button.tertiary:hover{border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);background-color:var(--color-gray-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--color-gray-100);background-color:var(--color-gray-100);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.submit.destructive,.primary.destructive{color:var(--color-white);background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.submit.destructive:hover,.primary.destructive:hover{background-color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.submit.destructive:focus,.primary.destructive:focus,.primary.destructive:active{background-color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.secondary.destructive{color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);background-color:var(--color-white)}.secondary.destructive:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}.secondary.destructive:focus,.secondary.destructive:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}.tertiary.destructive{color:var(--goa-color-status-emergency);border-color:var(--color-gray-200);background-color:var(--color-white)}.tertiary.destructive:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}.tertiary.destructive:focus,.tertiary.destructive:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}</style>`,P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ui,Vi,N,{type:0,size:1,variant:2,disabled:8,leadingicon:3,trailingicon:4,testid:5},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","variant","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 disabled(){return this.$$.ctx[8]}set disabled(e){this.$$set({disabled:e}),h()}get leadingicon(){return this.$$.ctx[3]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get trailingicon(){return this.$$.ctx[4]}set trailingicon(e){this.$$set({trailingicon:e}),h()}get testid(){return this.$$.ctx[5]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-button",Zi);function ht(i){let e,t;return{c(){e=m("h3"),t=F(i[1])},m(r,n){v(r,e,n),g(e,t)},p(r,n){n&2&&q(t,r[1])},d(r){r&&E(e)}}}function Ki(i){let e,t,r,n,o,a,l,s,c,d=i[1]&&ht(i);return{c(){e=m("div"),t=m("span"),r=m("goa-icon"),a=H(),l=m("span"),d&&d.c(),s=H(),c=m("slot"),this.c=w,C(r,"type",i[3]),C(r,"inverted",n=i[0]==="important"?"false":"true"),u(t,"class",o="icon "+i[0]),u(l,"class","content"),u(e,"class","notification"),u(e,"data-testid",i[2])},m(f,b){v(f,e,b),g(e,t),g(t,r),g(e,a),g(e,l),d&&d.m(l,null),g(l,s),g(l,c)},p(f,[b]){b&8&&C(r,"type",f[3]),b&1&&n!==(n=f[0]==="important"?"false":"true")&&C(r,"inverted",n),b&1&&o!==(o="icon "+f[0])&&u(t,"class",o),f[1]?d?d.p(f,b):(d=ht(f),d.c(),d.m(l,s)):d&&(d.d(1),d=null),b&4&&u(e,"data-testid",f[2])},i:w,o:w,d(f){f&&E(e),d&&d.d()}}}function Xi(i,e,t){let r,{type:n}=e,{heading:o=""}=e,{testid:a=""}=e;return i.$$set=l=>{"type"in l&&t(0,n=l.type),"heading"in l&&t(1,o=l.heading),"testid"in l&&t(2,a=l.testid)},i.$$.update=()=>{i.$$.dirty&1&&t(3,r=n==="emergency"?"warning":n==="important"?"alert-circle":n==="information"?"information-circle":n==="success"?"checkmark-circle":n==="event"?"calendar":"")},[n,o,a,r]}class Yi extends O{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>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Xi,Ki,N,{type:0,heading:1,testid:2},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","heading","testid"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get heading(){return this.$$.ctx[1]}set heading(e){this.$$set({heading:e}),h()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-callout",Yi);function Ji(i){let e;return{c(){e=m("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=w},m(t,r){v(t,e,r)},p:w,i:w,o:w,d(t){t&&E(e)}}}class Qi extends O{constructor(e){super();P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Ji,N,{},null),e&&e.target&&v(e.target,this,e.anchor)}}customElements.define("goa-card-actions",Qi);function $i(i){let e;return{c(){e=m("div"),e.innerHTML="<slot></slot>",this.c=w,u(e,"class","card-content")},m(t,r){v(t,e,r)},p:w,i:w,o:w,d(t){t&&E(e)}}}class er extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,$i,N,{},null),e&&e.target&&v(e.target,this,e.anchor)}}customElements.define("goa-card-content",er);function tr(i){let e;return{c(){e=m("div"),e.innerHTML="<slot></slot>",this.c=w,u(e,"class","card-group")},m(t,r){v(t,e,r)},p:w,i:w,o:w,d(t){t&&E(e)}}}class ir extends O{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>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,tr,N,{},null),e&&e.target&&v(e.target,this,e.anchor)}}customElements.define("goa-card-group",ir);function rr(i){let e;return{c(){e=m("div"),this.c=w,u(e,"class","card-image"),V(e,"background-image","url("+i[0]+")"),V(e,"height",i[1]),V(e,"background-size","cover"),V(e,"background-position","center")},m(t,r){v(t,e,r)},p(t,[r]){r&1&&V(e,"background-image","url("+t[0]+")"),r&2&&V(e,"height",t[1])},i:w,o:w,d(t){t&&E(e)}}}function nr(i,e,t){let{src:r}=e,{height:n="100%"}=e;return i.$$set=o=>{"src"in o&&t(0,r=o.src),"height"in o&&t(1,n=o.height)},[r,n]}class or extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},nr,rr,N,{src:0,height:1},null),e&&(e.target&&v(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",or);function ar(i){let e,t,r;return{c(){e=m("div"),t=m("slot"),this.c=w,u(e,"data-testid",i[2]),u(e,"class","card"),u(e,"style",r="--width: "+i[1]+"px; "+(i[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(n,o){v(n,e,o),g(e,t)},p(n,[o]){o&4&&u(e,"data-testid",n[2]),o&3&&r!==(r="--width: "+n[1]+"px; "+(n[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${n[0]});`)+"")&&u(e,"style",r)},i:w,o:w,d(n){n&&E(e)}}}function lr(i,e,t){let{elevation:r=0}=e,{width:n=320}=e,{testId:o=""}=e;return i.$$set=a=>{"elevation"in a&&t(0,r=a.elevation),"width"in a&&t(1,n=a.width),"testId"in a&&t(2,o=a.testId)},[r,n,o]}class sr extends O{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>`,P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},lr,ar,N,{elevation:0,width:1,testId:2},null),e&&(e.target&&v(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",sr);function cr(i){let e,t;return{c(){e=fe("svg"),t=fe("path"),u(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),u(e,"id","checkmark"),u(e,"data-testid","checkmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 16 12.18")},m(r,n){v(r,e,n),g(e,t)},d(r){r&&E(e)}}}function dr(i){let e,t;return{c(){e=fe("svg"),t=fe("rect"),u(t,"width","15"),u(t,"height","2"),u(e,"id","dashmark"),u(e,"data-testid","dashmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 15 2")},m(r,n){v(r,e,n),g(e,t)},d(r){r&&E(e)}}}function ur(i){let e,t,r,n,o,a,l,s,c,d,f;function b(_,L){if(_[5])return dr;if(_[4])return cr}let y=b(i),p=y&&y(i);return{c(){e=m("label"),t=m("div"),r=m("input"),o=H(),p&&p.c(),a=H(),l=m("div"),s=m("slot"),c=F(i[1]),this.c=w,u(r,"id",i[0]),u(r,"data-testid",i[3]),u(r,"name",i[0]),r.checked=i[4],r.disabled=i[7],u(r,"type","checkbox"),r.value=n=`${i[2]}`,u(t,"class","goa-checkbox-container"),B(t,"goa-checkbox--selected",i[4]),u(l,"class","goa-checkbox-text"),u(l,"data-testid","text"),u(e,"for",i[0]),u(e,"class","goa-checkbox"),B(e,"goa-checkbox--disabled",i[7]),B(e,"goa-checkbox--error",i[6])},m(_,L){v(_,e,L),g(e,t),g(t,r),g(t,o),p&&p.m(t,null),g(e,a),g(e,l),g(l,s),g(s,c),d||(f=U(r,"change",i[8]),d=!0)},p(_,[L]){L&1&&u(r,"id",_[0]),L&8&&u(r,"data-testid",_[3]),L&1&&u(r,"name",_[0]),L&16&&(r.checked=_[4]),L&128&&(r.disabled=_[7]),L&4&&n!==(n=`${_[2]}`)&&(r.value=n),y!==(y=b(_))&&(p&&p.d(1),p=y&&y(_),p&&(p.c(),p.m(t,null))),L&16&&B(t,"goa-checkbox--selected",_[4]),L&2&&q(c,_[1]),L&1&&u(e,"for",_[0]),L&128&&B(e,"goa-checkbox--disabled",_[7]),L&64&&B(e,"goa-checkbox--error",_[6])},i:w,o:w,d(_){_&&E(e),p&&p.d(),d=!1,f()}}}function fr(i,e,t){let r,n,o,a,{name:l}=e,{checked:s}=e,{text:c=""}=e,{value:d=""}=e,{disabled:f}=e,{error:b}=e,{testid:y=""}=e;function p(_){const L=!o,x=L?`${d||"checked"}`:"";t(9,s=Ii(L)),_.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:l,checked:L,value:x}}))}return i.$$set=_=>{"name"in _&&t(0,l=_.name),"checked"in _&&t(9,s=_.checked),"text"in _&&t(1,c=_.text),"value"in _&&t(2,d=_.value),"disabled"in _&&t(10,f=_.disabled),"error"in _&&t(11,b=_.error),"testid"in _&&t(3,y=_.testid)},i.$$.update=()=>{i.$$.dirty&1024&&t(7,r=G(f)),i.$$.dirty&2048&&t(6,n=G(b)),i.$$.dirty&512&&t(4,o=G(s))},t(5,a=!1),[l,c,d,y,o,a,n,r,p,s,f,b]}class hr extends O{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>',P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},fr,ur,N,{name:0,checked:9,text:1,value:2,disabled:10,error:11,testid:3},null),e&&(e.target&&v(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",hr);function gt(i){let e;return{c(){e=m("goa-icon"),C(e,"class","leading-icon"),C(e,"size","medium"),C(e,"type",i[0])},m(t,r){v(t,e,r)},p(t,r){r&1&&C(e,"type",t[0])},d(t){t&&E(e)}}}function mt(i){let e,t,r;return{c(){e=m("goa-icon"),C(e,"class","delete-icon"),C(e,"size","medium"),C(e,"theme","filled"),C(e,"type","close-circle"),C(e,"fillcolor",t=i[5]?"var(--goa-color-status-emergency)":i[4]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)"),C(e,"opacity",r=i[5]?i[4]?1:.5:1)},m(n,o){v(n,e,o)},p(n,o){o&48&&t!==(t=n[5]?"var(--goa-color-status-emergency)":n[4]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)")&&C(e,"fillcolor",t),o&48&&r!==(r=n[5]?n[4]?1:.5:1)&&C(e,"opacity",r)},d(n){n&&E(e)}}}function gr(i){let e,t,r,n,o,a,l,s=i[0]&>(i),c=i[6]&&mt(i);return{c(){e=m("div"),s&&s.c(),t=H(),r=m("div"),n=F(i[1]),o=H(),c&&c.c(),this.c=w,u(r,"class","text"),u(e,"data-testid","chip"),u(e,"class","chip"),u(e,"tabindex","0"),B(e,"deletable",i[6]),B(e,"error",i[5]),B(e,"variant",i[2])},m(d,f){v(d,e,f),s&&s.m(e,null),g(e,t),g(e,r),g(r,n),g(e,o),c&&c.m(e,null),i[10](e),a||(l=[U(e,"click",i[11]),U(e,"mouseover",i[12]),U(e,"mouseout",i[13]),U(e,"focus",i[14]),U(e,"blur",i[15])],a=!0)},p(d,[f]){d[0]?s?s.p(d,f):(s=gt(d),s.c(),s.m(e,t)):s&&(s.d(1),s=null),f&2&&q(n,d[1]),d[6]?c?c.p(d,f):(c=mt(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&64&&B(e,"deletable",d[6]),f&32&&B(e,"error",d[5]),f&4&&B(e,"variant",d[2])},i:w,o:w,d(d){d&&E(e),s&&s.d(),c&&c.d(),i[10](null),a=!1,$(l)}}}function mr(i,e,t){let{leadingicon:r=null}=e,{error:n="false"}=e,{deletable:o="false"}=e,{content:a}=e,{variant:l}=e,s,c=!1,d,f;function b(z){s.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),z.stopPropagation()}function y(z){ee[z?"unshift":"push"](()=>{s=z,t(3,s)})}const p=z=>f&&b(z),_=()=>t(4,c=!0),L=()=>t(4,c=!1),x=()=>t(4,c=!1),M=()=>t(4,c=!1);return i.$$set=z=>{"leadingicon"in z&&t(0,r=z.leadingicon),"error"in z&&t(8,n=z.error),"deletable"in z&&t(9,o=z.deletable),"content"in z&&t(1,a=z.content),"variant"in z&&t(2,l=z.variant)},i.$$.update=()=>{i.$$.dirty&256&&t(5,d=G(n)),i.$$.dirty&512&&t(6,f=G(o))},[r,a,l,s,c,d,f,b,n,o,y,p,_,L,x,M]}class br extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--color-white);border-radius:99px;border:1px solid #949494;box-sizing:border-box;color:var(--goa-color-text);display:inline-flex;flex-direction:row;font-size:var(--chip-font-size);font-weight:var(--fw-regular);gap:0.25rem;height:2rem;justify-content:center;margin:0.25rem;padding:0 0.75rem;cursor:default}.text{padding-bottom:var(--font-valign-fix)}.chip:focus{outline:2px solid var(--goa-color-interactive--focus);background-color:var(--color-white)}.chip:hover{background-color:var(--color-gray-200)}.deletable{cursor:pointer}.delete-icon{margin-right:-0.25rem}.error,.error:hover{background-color:var(--goa-color-status-emergency-light)}</style>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},mr,gr,N,{leadingicon:0,error:8,deletable:9,content:1,variant:2},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["leadingicon","error","deletable","content","variant"]}get leadingicon(){return this.$$.ctx[0]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get error(){return this.$$.ctx[8]}set error(e){this.$$set({error:e}),h()}get deletable(){return this.$$.ctx[9]}set deletable(e){this.$$set({deletable:e}),h()}get content(){return this.$$.ctx[1]}set content(e){this.$$set({content:e}),h()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),h()}}customElements.define("goa-chip",br);function vr(i){const e=i-1;return e*e*e+1}function pr(i){return Math.pow(i-1,3)*(1-i)+1}function we(i,{delay:e=0,duration:t=400,easing:r=ke}={}){const n=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:o=>`opacity: ${o*n}`}}function bt(i,{delay:e=0,duration:t=400,easing:r=vr,x:n=0,y:o=0,opacity:a=0}={}){const l=getComputedStyle(i),s=+l.opacity,c=l.transform==="none"?"":l.transform,d=s*(1-a);return{delay:e,duration:t,easing:r,css:(f,b)=>`
|
|
7
|
+
transform: ${c} translate(${(1-f)*n}px, ${(1-f)*o}px);
|
|
8
|
+
opacity: ${s-d*b}`}}function vt(i,e){let t=!1;function r(){if(!n())return;const l=a();l>0&&(t=!0,document.body.style.overflow="hidden",document.body.style.paddingRight=l+"px")}function n(){return document.body.style.overflow!=="hidden"}function o(){!t||(t=!1,setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},200))}function a(){if(document.body.clientHeight<=document.documentElement.clientHeight)return 0;const l=document.createElement("div");l.style.visibility="hidden",l.style.overflow="scroll",document.body.appendChild(l);const s=document.createElement("div");l.appendChild(s);const c=l.offsetWidth-s.offsetWidth;return l.parentNode.removeChild(l),c}return e.enable&&r(),{update(){e.enable||o()},destroy(){o()}}}function pt(i){let e,t,r,n;const o=[yr,wr],a=[];function l(s,c){return s[3]?0:s[4]?1:-1}return~(e=l(i))&&(t=a[e]=o[e](i)),{c(){t&&t.c(),r=ie()},m(s,c){~e&&a[e].m(s,c),v(s,r,c),n=!0},p(s,c){let d=e;e=l(s),e===d?~e&&a[e].p(s,c):(t&&(ve(),Z(a[d],1,1,()=>{a[d]=null}),pe()),~e?(t=a[e],t?t.p(s,c):(t=a[e]=o[e](s),t.c()),W(t,1),t.m(r.parentNode,r)):t=null)},i(s){n||(W(t),n=!0)},o(s){Z(t),n=!1},d(s){~e&&a[e].d(s),s&&E(r)}}}function wr(i){let e,t,r,n,o=i[0]&&wt(i);return{c(){e=m("div"),t=m("goa-spinner"),r=H(),o&&o.c(),C(t,"size",i[2]),C(t,"progress",i[1]),u(e,"class",n="spinner-"+i[2]),B(e,"inline",i[4])},m(a,l){v(a,e,l),g(e,t),g(e,r),o&&o.m(e,null)},p(a,l){l&4&&C(t,"size",a[2]),l&2&&C(t,"progress",a[1]),a[0]?o?o.p(a,l):(o=wt(a),o.c(),o.m(e,null)):o&&(o.d(1),o=null),l&4&&n!==(n="spinner-"+a[2])&&u(e,"class",n),l&20&&B(e,"inline",a[4])},i:w,o:w,d(a){a&&E(e),o&&o.d()}}}function yr(i){let e,t,r,n,o,a,l,s=i[0]&&yt(i);return{c(){e=m("div"),t=m("goa-spinner"),r=H(),s&&s.c(),C(t,"size",i[2]),C(t,"progress",i[1]),B(e,"fullscreen",i[3])},m(c,d){v(c,e,d),g(e,t),g(e,r),s&&s.m(e,null),o=!0,a||(l=$e(vt.call(null,e,{enable:!0})),a=!0)},p(c,d){(!o||d&4)&&C(t,"size",c[2]),(!o||d&2)&&C(t,"progress",c[1]),c[0]?s?s.p(c,d):(s=yt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),d&8&&B(e,"fullscreen",c[3])},i(c){o||(re(()=>{n||(n=Pe(e,we,{duration:300},!0)),n.run(1)}),o=!0)},o(c){n||(n=Pe(e,we,{duration:300},!1)),n.run(0),o=!1},d(c){c&&E(e),s&&s.d(),c&&n&&n.end(),a=!1,l()}}}function wt(i){let e,t;return{c(){e=m("div"),t=F(i[0]),u(e,"class","message")},m(r,n){v(r,e,n),g(e,t)},p(r,n){n&1&&q(t,r[0])},d(r){r&&E(e)}}}function yt(i){let e,t;return{c(){e=m("div"),t=F(i[0]),u(e,"class","message")},m(r,n){v(r,e,n),g(e,t)},p(r,n){n&1&&q(t,r[0])},d(r){r&&E(e)}}}function _r(i){let e,t,r=i[5]&&pt(i);return{c(){r&&r.c(),e=ie(),this.c=w},m(n,o){r&&r.m(n,o),v(n,e,o),t=!0},p(n,[o]){n[5]?r?(r.p(n,o),o&32&&W(r,1)):(r=pt(n),r.c(),W(r,1),r.m(e.parentNode,e)):r&&(ve(),Z(r,1,1,()=>{r=null}),pe())},i(n){t||(W(r),t=!0)},o(n){Z(r),t=!1},d(n){r&&r.d(n),n&&E(e)}}}function kr(i,e,t){let r,{variant:n="inline"}=e,{size:o="large"}=e,{message:a=""}=e,{progress:l=-1}=e,{visible:s="false"}=e,c,d,f;return Q(async()=>{t(2,c=o==="small"?"large":"xlarge"),t(3,d=n==="fullscreen"),t(4,f=n==="inline")}),i.$$set=b=>{"variant"in b&&t(6,n=b.variant),"size"in b&&t(7,o=b.size),"message"in b&&t(0,a=b.message),"progress"in b&&t(1,l=b.progress),"visible"in b&&t(8,s=b.visible)},i.$$.update=()=>{i.$$.dirty&256&&t(5,r=G(s))},[a,l,c,d,f,r,n,o,s]}class xr extends O{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>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},kr,_r,N,{variant:6,size:7,message:0,progress:1,visible:8},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["variant","size","message","progress","visible"]}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),h()}get size(){return this.$$.ctx[7]}set size(e){this.$$set({size:e}),h()}get message(){return this.$$.ctx[0]}set message(e){this.$$set({message:e}),h()}get progress(){return this.$$.ctx[1]}set progress(e){this.$$set({progress:e}),h()}get visible(){return this.$$.ctx[8]}set visible(e){this.$$set({visible:e}),h()}}customElements.define("goa-circular-progress",xr);function Er(i){let e,t,r,n,o,a,l,s,c;return{c(){e=m("div"),t=m("header"),r=m("div"),r.innerHTML='<slot name="title"></slot>',n=H(),o=m("div"),o.innerHTML='<slot name="actions"></slot>',l=H(),s=m("div"),s.innerHTML="<slot></slot>",this.c=w,u(r,"class","title"),u(o,"class","actions"),u(t,"class",a="heading--"+i[1]),u(s,"class","content"),u(e,"class",c=`
|
|
9
|
+
goa-container
|
|
10
|
+
goa-container--${i[0]}
|
|
11
|
+
padding--${i[2]}
|
|
12
|
+
accent--${i[1]}
|
|
13
|
+
`)},m(d,f){v(d,e,f),g(e,t),g(t,r),g(t,n),g(t,o),g(e,l),g(e,s)},p(d,[f]){f&2&&a!==(a="heading--"+d[1])&&u(t,"class",a),f&7&&c!==(c=`
|
|
14
|
+
goa-container
|
|
15
|
+
goa-container--${d[0]}
|
|
16
|
+
padding--${d[2]}
|
|
17
|
+
accent--${d[1]}
|
|
18
|
+
`)&&u(e,"class",c)},i:w,o:w,d(d){d&&E(e)}}}function Cr(i,e,t){let{type:r="interactive"}=e,{accent:n="filled"}=e,{padding:o="relaxed"}=e;return i.$$set=a=>{"type"in a&&t(0,r=a.type),"accent"in a&&t(1,n=a.accent),"padding"in a&&t(2,o=a.padding)},[r,n,o]}class zr extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);font-size:var(--fs-base)}.goa-container{margin-bottom:1rem;box-sizing:border-box}.goa-container *{box-sizing:border-box}header{display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--fs-base);border-width:1px;border-style:solid;border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.content{border-bottom:1px solid var(--color-gray-200);border-left:1px solid var(--color-gray-200);border-right:1px solid var(--color-gray-200);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.goa-container--non-interactive.accent--filled .content{border-color:var(--color-gray-200);background-color:var(--color-gray-100)}.goa-container--important.accent--filled .content{border-color:var(--goa-color-status-warning);background-color:var(--goa-color-status-warning-50)}.goa-container--error.accent--filled .content{border-color:var(--goa-color-status-emergency);background-color:var(--goa-color-status-emergency-50)}.goa-container--success.accent--filled .content{border-color:var(--goa-color-status-success);background-color:var(--goa-color-status-success-50)}.goa-container--info.accent--filled .content{border-color:var(--goa-color-status-info);background-color:var(--goa-color-status-info-50)}.title,.actions{padding:0.5rem 0}.padding--relaxed header{padding:0 1.5rem}.padding--relaxed .content{padding:1.5rem}.padding--compact header,.padding--compact .content{padding:0 1rem}.padding--compact header{padding:0 1rem}.padding--compact .content{padding:1rem}@media screen and (max-width: 480px){.padding--relaxed header{padding:0 1rem}.padding--relaxed .content{padding:1rem}}.goa-container--non-interactive header{background-color:var(--color-gray-100);border-color:var(--color-gray-200);color:var(--color-black)}.goa-container--interactive header{background-color:var(--goa-color-brand);border-color:var(--goa-color-brand);color:var(--color-white)}.goa-container--info header{background-color:var(--goa-color-status-info);border-color:var(--goa-color-status-info);color:var(--color-white)}.goa-container--error header{background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);color:var(--color-white)}.goa-container--success header{background-color:var(--goa-color-status-success);border-color:var(--goa-color-status-success);color:var(--color-white)}.goa-container--important header{background-color:var(--goa-color-status-warning);border-color:var(--goa-color-status-warning);color:var(--color-white)}.heading--thick{padding:0.5rem 1.5rem;max-height:3rem;min-height:1rem}.heading--thick .title{line-height:2rem}.heading--thin{height:0.5rem}.heading--filled{display:none}.heading--filled~.content{border-top:1px solid var(--color-gray-200);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.heading--thin .title,.heading--thin .actions{display:none}.actions{display:flex;align-items:center}</style>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Cr,Er,N,{type:0,accent:1,padding:2},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","accent","padding"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get accent(){return this.$$.ctx[1]}set accent(e){this.$$set({accent:e}),h()}get padding(){return this.$$.ctx[2]}set padding(e){this.$$set({padding:e}),h()}}customElements.define("goa-container",zr);const ye=[];function _t(i,e=w){let t;const r=new Set;function n(l){if(N(i,l)&&(i=l,t)){const s=!ye.length;for(const c of r)c[1](),ye.push(c,i);if(s){for(let c=0;c<ye.length;c+=2)ye[c][0](ye[c+1]);ye.length=0}}}function o(l){n(l(i))}function a(l,s=w){const c=[l,s];return r.add(c),r.size===1&&(t=e(n)||w),l(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:n,update:o,subscribe:a}}const Fe={};class Mr{constructor(){this.store=_t()}subscribe(e){this.store.subscribe(t=>{e(t)})}notify(e){this.store.update(()=>e)}}function kt(i){const e=new Mr;return Fe[i]=e,e}function xt(i){return Fe[i]}function Et(i){!Fe[i]||delete Fe[i]}const Ct="bind";function zt(i,e,t){const r=i.slice();return r[39]=e[t],r[41]=t,r}function Mt(i){let e,t,r,n;return{c(){e=m("div"),u(e,"data-testid",t=`${i[0]}-dropdown-background`),u(e,"class","goa-dropdown-background")},m(o,a){v(o,e,a),r||(n=U(e,"click",i[18]),r=!0)},p(o,a){a[0]&1&&t!==(t=`${o[0]}-dropdown-background`)&&u(e,"data-testid",t)},d(o){o&&E(e),r=!1,n()}}}function Lt(i){let e,t=(i[39].label||i[39].value)+"",r,n,o,a,l,s,c,d,f;function b(){return i[22](i[39])}return{c(){e=m("li"),r=F(t),u(e,"id",n=i[39].label),u(e,"role","option"),u(e,"aria-label",o=i[39].label||i[39].value),u(e,"aria-selected",a=i[9].includes(i[39].value)?"true":"false"),u(e,"class","goa-dropdown-option"),u(e,"data-testid",l=`${i[39].value}-dropdown-item`),u(e,"data-index",s=i[41]),u(e,"style",c="display: block"),B(e,"goa-dropdown-option--disabled",!1),B(e,"goa-dropdown-option--tabbed",i[41]===i[13]),B(e,"goa-dropdown-option--selected",i[9].includes(i[39].value))},m(y,p){v(y,e,p),g(e,r),d||(f=U(e,"click",b),d=!0)},p(y,p){i=y,p[0]&1024&&t!==(t=(i[39].label||i[39].value)+"")&&q(r,t),p[0]&1024&&n!==(n=i[39].label)&&u(e,"id",n),p[0]&1024&&o!==(o=i[39].label||i[39].value)&&u(e,"aria-label",o),p[0]&1536&&a!==(a=i[9].includes(i[39].value)?"true":"false")&&u(e,"aria-selected",a),p[0]&1024&&l!==(l=`${i[39].value}-dropdown-item`)&&u(e,"data-testid",l),p[0]&8192&&B(e,"goa-dropdown-option--tabbed",i[41]===i[13]),p[0]&1536&&B(e,"goa-dropdown-option--selected",i[9].includes(i[39].value))},d(y){y&&E(e),d=!1,f()}}}function Lr(i){let e,t,r,n,o,a,l,s,c,d,f,b,y,p,_,L=i[12]&&Mt(i),x=i[10],M=[];for(let z=0;z<x.length;z+=1)M[z]=Lt(zt(i,x,z));return{c(){e=m("div"),L&&L.c(),t=H(),r=m("div"),n=m("goa-input"),s=H(),c=m("ul");for(let z=0;z<M.length;z+=1)M[z].c();d=H(),f=m("slot"),this.c=w,C(n,"error",i[8]),C(n,"disabled",i[7]),C(n,"leadingicon",i[2]),C(n,"placeholder",i[4]),C(n,"width","100%"),C(n,"id",o=`${i[0]}-dropdown-input`),C(n,"role","combobox"),C(n,"aria-label",a=i[1]||i[0]),C(n,"aria-expanded",i[12]),C(n,"aria-controls","menu"),C(n,"readonly",""),C(n,"trailingicon","chevron-down"),C(n,"type","text"),C(n,"value",i[11]),u(r,"data-testid",l=`${i[0]}-dropdown`),u(c,"id","menu"),u(c,"role","listbox"),u(c,"aria-activedescendant",i[11]),u(c,"data-testid","dropdown-menu"),u(c,"tabindex","0"),u(c,"class","goa-dropdown-list"),u(c,"style",b=`overflow-y: auto; max-height: ${i[3]}`),B(c,"dropdown-active",i[12]),u(e,"data-testid",i[5]),u(e,"class","goa-dropdown-box"),u(e,"style",y=`--width: ${i[6]||i[14]}`)},m(z,k){v(z,e,k),L&&L.m(e,null),g(e,t),g(e,r),g(r,n),g(e,s),g(e,c);for(let A=0;A<M.length;A+=1)M[A].m(c,null);g(c,d),g(c,f),i[23](c),i[24](e),p||(_=U(n,"click",i[17]),p=!0)},p(z,k){if(z[12]?L?L.p(z,k):(L=Mt(z),L.c(),L.m(e,t)):L&&(L.d(1),L=null),k[0]&256&&C(n,"error",z[8]),k[0]&128&&C(n,"disabled",z[7]),k[0]&4&&C(n,"leadingicon",z[2]),k[0]&16&&C(n,"placeholder",z[4]),k[0]&1&&o!==(o=`${z[0]}-dropdown-input`)&&C(n,"id",o),k[0]&3&&a!==(a=z[1]||z[0])&&C(n,"aria-label",a),k[0]&4096&&C(n,"aria-expanded",z[12]),k[0]&2048&&C(n,"value",z[11]),k[0]&1&&l!==(l=`${z[0]}-dropdown`)&&u(r,"data-testid",l),k[0]&534016){x=z[10];let A;for(A=0;A<x.length;A+=1){const R=zt(z,x,A);M[A]?M[A].p(R,k):(M[A]=Lt(R),M[A].c(),M[A].m(c,d))}for(;A<M.length;A+=1)M[A].d(1);M.length=x.length}k[0]&2048&&u(c,"aria-activedescendant",z[11]),k[0]&8&&b!==(b=`overflow-y: auto; max-height: ${z[3]}`)&&u(c,"style",b),k[0]&4096&&B(c,"dropdown-active",z[12]),k[0]&32&&u(e,"data-testid",z[5]),k[0]&16448&&y!==(y=`--width: ${z[6]||z[14]}`)&&u(e,"style",y)},i:w,o:w,d(z){z&&E(e),L&&L.d(),Ae(M,z),i[23](null),i[24](null),p=!1,_()}}}const Tr="276px";function Rr(i,e,t){let r,n,{name:o}=e,{arialabel:a=""}=e,{value:l=""}=e,{leadingicon:s=null}=e,{maxheight:c=Tr}=e,{placeholder:d=""}=e,{testid:f=""}=e,{width:b=""}=e,{disabled:y="false"}=e,{error:p="false"}=e,{multiselect:_="false"}=e,L=[],x=[],M="",z=!1,k=0,A=0,R,T,D,X;Q(()=>{const I=10;let te=0;const ae=setInterval(async()=>{te++,o&&T&&(Y(),J(),Ge(),clearInterval(ae)),te>I&&(console.error("goa-dropdown: missing the required `name` attribute. It must match the children's name attribute."),clearInterval(ae))},10)}),nt(()=>{K(),Et(o)});function Y(){T.addEventListener("focus",S,!0),T.addEventListener("blur",ui,!0)}function K(){T.removeEventListener("focus",S,!0),T.removeEventListener("blur",ui,!0)}function J(){let I;try{I=JSON.parse(l||"[]")}catch{I=[l]}t(9,L=(typeof I=="object"?I:[I]).map(ae=>`${ae}`))}function Ge(){X=kt(o),X.subscribe(I=>{switch(I==null?void 0:I.type){case Ct:{const te=I,ae=L.includes(te.value);t(10,x=[...x,Object.assign(Object.assign({},te),{selected:ae})]),ae&&t(11,M=te.label),!b&&A<te.label.length&&(A=te.label.length,t(14,R=`${Math.max(20,A+12)}ch`)),oe();break}}})}async function _e(){r||z||(t(12,z=!0),await Ne(),D.addEventListener("blur",le),D.focus(),D.addEventListener("keydown",fi),D.addEventListener("mouseover",hi))}function le(){D.removeEventListener("blur",le),D.removeEventListener("keydown",fi),D.removeEventListener("mouseover",hi),oe(),t(12,z=!1)}function oe(){t(13,k=x.findIndex(I=>L.includes(I.value)))}function me(I,te,ae){r||(t(11,M=te),n?(L.push(I),T.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,values:L}}))):(t(9,L=[I]),T.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:L[0]}}))),ae&&le())}const qe=I=>{switch(I.key){case" ":_e(),I.preventDefault();break}};function S(){T.addEventListener("keydown",qe)}function ui(){T.removeEventListener("keydown",qe)}function fi(I){switch(I.key){case"ArrowUp":k>0&&(t(13,k--,k),me(x[k].value,x[k].label,!1)),I.preventDefault();break;case"ArrowDown":k<x.length-1&&(t(13,k++,k),me(x[k].value,x[k].label,!1)),I.preventDefault();break;case"Tab":case"Enter":le(),I.preventDefault();break;case"Escape":le(),I.preventDefault();break}}function hi(I){t(13,k=Number(I.target.dataset.index))}const yo=I=>me(I.value,I.label,!0);function _o(I){ee[I?"unshift":"push"](()=>{D=I,t(16,D)})}function ko(I){ee[I?"unshift":"push"](()=>{T=I,t(15,T)})}return i.$$set=I=>{"name"in I&&t(0,o=I.name),"arialabel"in I&&t(1,a=I.arialabel),"value"in I&&t(20,l=I.value),"leadingicon"in I&&t(2,s=I.leadingicon),"maxheight"in I&&t(3,c=I.maxheight),"placeholder"in I&&t(4,d=I.placeholder),"testid"in I&&t(5,f=I.testid),"width"in I&&t(6,b=I.width),"disabled"in I&&t(7,y=I.disabled),"error"in I&&t(8,p=I.error),"multiselect"in I&&t(21,_=I.multiselect)},i.$$.update=()=>{i.$$.dirty[0]&128&&(r=G(y)),i.$$.dirty[0]&2097152&&(n=G(_))},[o,a,s,c,d,f,b,y,p,L,x,M,z,k,R,T,D,_e,le,me,l,_,yo,_o,ko]}class Ar extends O{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>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Rr,Lr,N,{name:0,arialabel:1,value:20,leadingicon:2,maxheight:3,placeholder:4,testid:5,width:6,disabled:7,error:8,multiselect:21},null,[-1,-1]),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","arialabel","value","leadingicon","maxheight","placeholder","testid","width","disabled","error","multiselect"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get arialabel(){return this.$$.ctx[1]}set arialabel(e){this.$$set({arialabel:e}),h()}get value(){return this.$$.ctx[20]}set value(e){this.$$set({value:e}),h()}get leadingicon(){return this.$$.ctx[2]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get maxheight(){return this.$$.ctx[3]}set maxheight(e){this.$$set({maxheight:e}),h()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),h()}get testid(){return this.$$.ctx[5]}set testid(e){this.$$set({testid:e}),h()}get width(){return this.$$.ctx[6]}set width(e){this.$$set({width:e}),h()}get disabled(){return this.$$.ctx[7]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[8]}set error(e){this.$$set({error:e}),h()}get multiselect(){return this.$$.ctx[21]}set multiselect(e){this.$$set({multiselect:e}),h()}}customElements.define("goa-dropdown",Ar);function Hr(i){return{c(){this.c=w},m:w,p:w,i:w,o:w,d:w}}function Ir(i,e,t){let{name:r=""}=e,{value:n=""}=e,{label:o=""}=e,a;return Q(()=>{const l=setInterval(()=>{if(r&&n){if(a=xt(r),!a)return;a.notify({type:Ct,name:r,label:o,value:n}),clearInterval(l)}},10)}),i.$$set=l=>{"name"in l&&t(0,r=l.name),"value"in l&&t(1,n=l.value),"label"in l&&t(2,o=l.label)},[r,n,o]}class Sr extends O{constructor(e){super();P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ir,Hr,N,{name:0,value:1,label:2},null),e&&(e.target&&v(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",Sr);function Dr(i){let e,t;return{c(){e=m("div"),t=m("slot"),this.c=w,u(e,"class","goa-flex-col"),V(e,"gap",i[0])},m(r,n){v(r,e,n),g(e,t)},p(r,[n]){n&1&&V(e,"gap",r[0])},i:w,o:w,d(r){r&&E(e)}}}function Br(i,e,t){let r,{gap:n=""}=e;return i.$$set=o=>{"gap"in o&&t(1,n=o.gap)},i.$$.update=()=>{i.$$.dirty&2&&t(0,r=n==="small"?"1rem":n==="medium"?"2rem":n==="large"?"3rem":"0")},[r,n]}class Nr extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);margin-bottom:3rem}.goa-flex-col{display:flex;flex-direction:column;gap:var(--gap)}</style>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Br,Dr,N,{gap:1},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap"]}get gap(){return this.$$.ctx[1]}set gap(e){this.$$set({gap:e}),h()}}customElements.define("goa-flex-col",Nr);function Or(i){let e,t;return{c(){e=m("div"),t=m("slot"),this.c=w,u(e,"class","goa-flex-row"),V(e,"gap",i[0])},m(r,n){v(r,e,n),g(e,t)},p(r,[n]){n&1&&V(e,"gap",r[0])},i:w,o:w,d(r){r&&E(e)}}}function jr(i,e,t){let r,{gap:n=""}=e;return i.$$set=o=>{"gap"in o&&t(1,n=o.gap)},i.$$.update=()=>{i.$$.dirty&2&&t(0,r=n==="small"?"1rem":n==="medium"?"2rem":n==="large"?"3rem":"0")},[r,n]}class Pr extends O{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>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},jr,Or,N,{gap:1},null),e&&(e.target&&v(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",Pr);function Fr(i){let e;return{c(){e=m("div"),e.innerHTML=`<slot></slot>
|
|
19
|
+
|
|
20
|
+
<span tabindex="0"></span>`,this.c=w},m(t,r){v(t,e,r),i[4](e)},p:w,i:w,o:w,d(t){t&&E(e),i[4](null)}}}function Gr(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 qr(i,e,t){let r,{active:n}=e,o=!1,a,l,s=!1;function c(){document.removeEventListener("focus",M,!0)}function d(){document.addEventListener("focus",M,!0)}function f(k){if(!k)return!1;for(const A of k)if(x(A)||f(A.childNodes)||b(A)||y(A))return!0;return!1}function b(k){if(!(k instanceof HTMLSlotElement))return!1;if(f(k.assignedNodes()))return!0}function y(k){var A;if(!(k instanceof HTMLElement))return!1;if(f((A=k.shadowRoot)===null||A===void 0?void 0:A.childNodes))return!0}function p(k){if(!k)return!1;for(let A=k.length-1;A>=0;A--){let R=k[A];if(x(R)||p(R.childNodes)||_(R)||L(R))return!0}return!1}function _(k){if(!(k instanceof HTMLSlotElement))return!1;if(p(k.assignedNodes()))return!0}function L(k){var A;if(!(k instanceof HTMLElement))return!1;if(p((A=k.shadowRoot)===null||A===void 0?void 0:A.childNodes))return!0}function x(k){if(!Gr(k))return!1;try{o=!0,k.focus()}catch{}finally{o=!1}return document.activeElement===k}function M(k){var A;if(o)return;const R=(A=l.firstChild)===null||A===void 0?void 0:A.assignedElements();if(!(R==null?void 0:R.length))return;const T=R[0];if(k.composedPath().includes(T)){a=k.target;return}f(T.childNodes),a==document.activeElement&&p(T.childNodes),a=document.activeElement}function z(k){ee[k?"unshift":"push"](()=>{l=k,t(0,l)})}return i.$$set=k=>{"active"in k&&t(1,n=k.active)},i.$$.update=()=>{i.$$.dirty&2&&t(3,r=G(n)),i.$$.dirty&12&&(r&&!s&&(d(),t(2,s=!0)),!r&&s&&(c(),t(2,s=!1)))},[l,n,s,r,z]}class Vr extends O{constructor(e){super();P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},qr,Fr,N,{active:1},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["active"]}get active(){return this.$$.ctx[1]}set active(e){this.$$set({active:e}),h()}}customElements.define("goa-focus-trap",Vr);function Tt(i,e,t){const r=i.slice();return r[3]=e[t],r}function Rt(i){let e,t,r=i[3].innerHTML+"",n,o;return{c(){e=m("li"),t=m("a"),n=F(r),u(t,"href",o=i[3].href)},m(a,l){v(a,e,l),g(e,t),g(t,n)},p(a,l){l&2&&r!==(r=a[3].innerHTML+"")&&q(n,r),l&2&&o!==(o=a[3].href)&&u(t,"href",o)},d(a){a&&E(e)}}}function Wr(i){let e,t,r,n,o=i[1],a=[];for(let l=0;l<o.length;l+=1)a[l]=Rt(Tt(i,o,l));return{c(){e=m("section"),t=m("div"),t.innerHTML="<slot></slot>",r=H(),n=m("ul");for(let l=0;l<a.length;l+=1)a[l].c();this.c=w,u(t,"class","hidden")},m(l,s){v(l,e,s),g(e,t),g(e,r),g(e,n);for(let c=0;c<a.length;c+=1)a[c].m(n,null);i[2](e)},p(l,[s]){if(s&2){o=l[1];let c;for(c=0;c<o.length;c+=1){const d=Tt(l,o,c);a[c]?a[c].p(d,s):(a[c]=Rt(d),a[c].c(),a[c].m(n,null))}for(;c<a.length;c+=1)a[c].d(1);a.length=o.length}},i:w,o:w,d(l){l&&E(e),Ae(a,l),i[2](null)}}}function Ur(i,e,t){let r,n=[];Q(async()=>{if(await Ne(),t(1,n=r.querySelector("slot").assignedElements()),!n.map(l=>l.hasAttribute("href")).reduce((l,s)=>l&&s,!0)){t(1,n=[]),console.warn("GoAFooterMetaSection children must be anchor elements.");return}});function o(a){ee[a?"unshift":"push"](()=>{r=a,t(0,r)})}return[r,n,o]}class Zr extends O{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>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ur,Wr,N,{},null),e&&e.target&&v(e.target,this,e.anchor)}}customElements.define("goa-app-footer-meta-section",Zr);function At(i,e,t){const r=i.slice();return r[5]=e[t],r}function Ht(i){let e,t,r,n;return{c(){e=m("div"),t=F(i[0]),r=H(),n=m("goa-divider"),u(e,"class","title"),C(n,"spacing","small")},m(o,a){v(o,e,a),g(e,t),v(o,r,a),v(o,n,a)},p(o,a){a&1&&q(t,o[0])},d(o){o&&E(e),o&&E(r),o&&E(n)}}}function It(i){let e,t,r=i[5].innerHTML+"",n,o;return{c(){e=m("li"),t=m("a"),n=F(r),u(t,"href",o=i[5].href)},m(a,l){v(a,e,l),g(e,t),g(t,n)},p(a,l){l&8&&r!==(r=a[5].innerHTML+"")&&q(n,r),l&8&&o!==(o=a[5].href)&&u(t,"href",o)},d(a){a&&E(e)}}}function Kr(i){let e,t,r,n,o,a,l=i[0]&&Ht(i),s=i[3],c=[];for(let d=0;d<s.length;d+=1)c[d]=It(At(i,s,d));return{c(){e=m("section"),l&&l.c(),t=H(),r=m("div"),r.innerHTML="<slot></slot>",n=H(),o=m("ul");for(let d=0;d<c.length;d+=1)c[d].c();this.c=w,u(r,"class","hidden"),u(o,"class","links"),u(o,"style",a=`
|
|
21
|
+
--narrow-display-type: ${Math.ceil(i[1]/2)>1?"block":"flex"};
|
|
22
|
+
--narrow-column-count: ${Math.ceil(i[1]/2)};
|
|
23
|
+
--wide-display-type: ${i[1]>1?"block":"flex"};
|
|
24
|
+
--wide-column-count: ${i[1]};
|
|
25
|
+
`)},m(d,f){v(d,e,f),l&&l.m(e,null),g(e,t),g(e,r),g(e,n),g(e,o);for(let b=0;b<c.length;b+=1)c[b].m(o,null);i[4](e)},p(d,[f]){if(d[0]?l?l.p(d,f):(l=Ht(d),l.c(),l.m(e,t)):l&&(l.d(1),l=null),f&8){s=d[3];let b;for(b=0;b<s.length;b+=1){const y=At(d,s,b);c[b]?c[b].p(y,f):(c[b]=It(y),c[b].c(),c[b].m(o,null))}for(;b<c.length;b+=1)c[b].d(1);c.length=s.length}f&2&&a!==(a=`
|
|
26
|
+
--narrow-display-type: ${Math.ceil(d[1]/2)>1?"block":"flex"};
|
|
27
|
+
--narrow-column-count: ${Math.ceil(d[1]/2)};
|
|
28
|
+
--wide-display-type: ${d[1]>1?"block":"flex"};
|
|
29
|
+
--wide-column-count: ${d[1]};
|
|
30
|
+
`)&&u(o,"style",a)},i:w,o:w,d(d){d&&E(e),l&&l.d(),Ae(c,d),i[4](null)}}}function Xr(i,e,t){let{heading:r=""}=e,{maxcolumncount:n=1}=e,o,a=[];Q(async()=>{if(await Ne(),t(3,a=o.querySelector("slot").assignedElements()),!a.map(d=>d.hasAttribute("href")).reduce((d,f)=>d&&f,!0)){t(3,a=[]),console.warn("GoAFooterNavSection children must be anchor elements.");return}const c=document.createElement("style");c.innerHTML=`
|
|
31
|
+
:host {
|
|
32
|
+
flex-grow: ${n};
|
|
33
|
+
}
|
|
34
|
+
`,o.appendChild(c)});function l(s){ee[s?"unshift":"push"](()=>{o=s,t(2,o)})}return i.$$set=s=>{"heading"in s&&t(0,r=s.heading),"maxcolumncount"in s&&t(1,n=s.maxcolumncount)},[r,n,o,a,l]}class Yr extends O{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>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Xr,Kr,N,{heading:0,maxcolumncount:1},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","maxcolumncount"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get maxcolumncount(){return this.$$.ctx[1]}set maxcolumncount(e){this.$$set({maxcolumncount:e}),h()}}customElements.define("goa-app-footer-nav-section",Yr);function St(i){let e;return{c(){e=m("goa-divider"),C(e,"spacing","small")},m(t,r){v(t,e,r)},d(t){t&&E(e)}}}function Jr(i){let e,t,r,n,o,a,l,s,c,d,f,b,y,p=i[2]?.length&&St();return{c(){e=m("div"),t=m("div"),r=m("div"),r.innerHTML='<slot name="nav"></slot>',n=H(),p&&p.c(),o=H(),a=m("div"),l=m("div"),l.innerHTML='<slot name="meta"></slot>',s=H(),c=m("div"),d=m("a"),d.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"/>',f=H(),b=m("a"),b.textContent=`\xA9 ${i[4]} Government of Alberta`,this.c=w,u(r,"class","nav-links"),u(l,"class","meta-links"),u(d,"href","https://alberta.ca"),u(b,"href","https://alberta.ca"),u(b,"class","goa-copyright"),u(c,"class","abgov"),B(c,"with-meta-links",i[3]?.length),u(a,"class","meta-section"),B(a,"with-meta-links",i[3]?.length),u(t,"class","content"),u(e,"class","app-footer"),u(e,"style",y=`--max-content-width: ${i[0]||"100%"}`)},m(_,L){v(_,e,L),g(e,t),g(t,r),g(t,n),p&&p.m(t,null),g(t,o),g(t,a),g(a,l),g(a,s),g(a,c),g(c,d),g(c,f),g(c,b),i[5](e)},p(_,[L]){_[2]?.length?p||(p=St(),p.c(),p.m(t,o)):p&&(p.d(1),p=null),L&8&&B(c,"with-meta-links",_[3]?.length),L&8&&B(a,"with-meta-links",_[3]?.length),L&1&&y!==(y=`--max-content-width: ${_[0]||"100%"}`)&&u(e,"style",y)},i:w,o:w,d(_){_&&E(e),p&&p.d(),i[5](null)}}}function Qr(i,e,t){let{maxcontentwidth:r=""}=e,n,o,a;const l=new Date().getFullYear();Q(async()=>{await Ne();const c=n.querySelector("slot[name=nav]"),d=n.querySelector("slot[name=meta]");t(2,o=c.assignedElements()),t(3,a=d.assignedElements())});function s(c){ee[c?"unshift":"push"](()=>{n=c,t(1,n)})}return i.$$set=c=>{"maxcontentwidth"in c&&t(0,r=c.maxcontentwidth)},[r,n,o,a,l,s]}class $r extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box}.app-footer{background-color:var(--color-gray-100);border-top:2px solid var(--color-gray-200);border-bottom:1rem solid var(--goa-color-brand)}.content{padding:2rem 1rem;margin:0 auto;width:min(var(--max-content-width), 100%)}@media(min-width: 640px){.content{padding:2rem 1.5rem}}.meta-section{display:flex;flex-direction:column;padding:1rem 0}.meta-section.with-meta-links{gap:2rem;justify-content:space-between}.meta-links{display:none}.with-meta-links .meta-links{display:block}.nav-links{display:flex;flex-direction:column;gap:2rem}.abgov{display:flex;flex-direction:column;justify-content:space-between;width:100%}@media(min-width: 640px){.meta-section{flex-direction:row;gap:2rem}.nav-links{flex-direction:row}.abgov{align-items:center;flex-direction:row-reverse}}.abgov.with-meta-links{gap:1rem;flex-direction:column;width:unset}@media(min-width: 640px){.abgov.with-meta-links{align-items:flex-end}}.goa-copyright{white-space:nowrap}a{color:var(--goa-color-text-secondary)}</style>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Qr,Jr,N,{maxcontentwidth:0},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["maxcontentwidth"]}get maxcontentwidth(){return this.$$.ctx[0]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),h()}}customElements.define("goa-app-footer",$r);function Dt(i){let e,t,r,n=i[3]&&Bt();return{c(){e=m("div"),t=F(i[0]),r=H(),n&&n.c(),u(e,"class","label")},m(o,a){v(o,e,a),g(e,t),g(e,r),n&&n.m(e,null)},p(o,a){a&1&&q(t,o[0]),o[3]?n||(n=Bt(),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(o){o&&E(e),n&&n.d()}}}function Bt(i){let e;return{c(){e=m("em"),e.textContent="(optional)"},m(t,r){v(t,e,r)},d(t){t&&E(e)}}}function Nt(i){let e,t;return{c(){e=m("div"),t=F(i[2]),u(e,"class","error-msg")},m(r,n){v(r,e,n),g(e,t)},p(r,n){n&4&&q(t,r[2])},d(r){r&&E(e)}}}function Ot(i){let e,t;return{c(){e=m("div"),t=F(i[1]),u(e,"class","help-msg")},m(r,n){v(r,e,n),g(e,t)},p(r,n){n&2&&q(t,r[1])},d(r){r&&E(e)}}}function en(i){let e,t,r,n,o,a=i[0]&&Dt(i),l=i[2]&&Nt(i),s=i[1]&&Ot(i);return{c(){e=m("div"),a&&a.c(),t=H(),r=m("div"),r.innerHTML="<slot></slot>",n=H(),l&&l.c(),o=H(),s&&s.c(),this.c=w,u(r,"class","form-item-input"),u(e,"class","goa-form-item")},m(c,d){v(c,e,d),a&&a.m(e,null),g(e,t),g(e,r),g(e,n),l&&l.m(e,null),g(e,o),s&&s.m(e,null)},p(c,[d]){c[0]?a?a.p(c,d):(a=Dt(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[2]?l?l.p(c,d):(l=Nt(c),l.c(),l.m(e,o)):l&&(l.d(1),l=null),c[1]?s?s.p(c,d):(s=Ot(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:w,o:w,d(c){c&&E(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function tn(i,e,t){let r,{label:n=""}=e,{helptext:o=""}=e,{error:a=""}=e,{optional:l="false"}=e;return i.$$set=s=>{"label"in s&&t(0,n=s.label),"helptext"in s&&t(1,o=s.helptext),"error"in s&&t(2,a=s.error),"optional"in s&&t(4,l=s.optional)},i.$$.update=()=>{i.$$.dirty&16&&t(3,r=G(l))},[n,o,a,r,l]}class rn extends O{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);margin-right:56px}.error-msg{font-size:var(--fs-sm);color:var(--goa-color-interactive--error);margin-bottom:0.25rem}</style>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},tn,en,N,{label:0,helptext:1,error:2,optional:4},null),e&&(e.target&&v(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",rn);function nn(i){let e,t,r,n,o,a,l,s;return{c(){e=m("div"),t=m("goa-page-block"),r=m("h1"),n=F(i[0]),o=H(),a=m("div"),a.innerHTML="<slot></slot>",l=H(),s=m("slot"),this.c=w,u(a,"class","goa-hero-banner-content"),u(a,"role","note"),u(s,"name","actions"),C(t,"width","full"),u(e,"class","goa-hero"),u(e,"data-testid","background"),V(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+i[1]+")"),V(e,"background-size","cover"),V(e,"background-position","center"),V(e,"background-repeat","no-repeat")},m(c,d){v(c,e,d),g(e,t),g(t,r),g(r,n),g(t,o),g(t,a),g(t,l),g(t,s)},p(c,[d]){d&1&&q(n,c[0]),d&2&&V(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+c[1]+")")},i:w,o:w,d(c){c&&E(e)}}}function on(i,e,t){let{heading:r}=e,{backgroundurl:n}=e;return i.$$set=o=>{"heading"in o&&t(0,r=o.heading),"backgroundurl"in o&&t(1,n=o.backgroundurl)},[r,n]}class an extends O{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>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},on,nn,N,{heading:0,backgroundurl:1},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","backgroundurl"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),h()}}customElements.define("goa-hero-banner",an);function ln(i){let e,t,r,n;return{c(){e=m("button"),t=m("goa-icon"),this.c=w,C(t,"title",i[3]),C(t,"type",i[0]),C(t,"size",i[1]),C(t,"theme",i[2]),C(t,"inverted",i[5]),V(e,"--size",i[6]),u(e,"title",i[3]),e.disabled=i[7],u(e,"class",i[8]),u(e,"data-testid",i[4])},m(o,a){v(o,e,a),g(e,t),r||(n=U(e,"click",sn),r=!0)},p(o,[a]){a&8&&C(t,"title",o[3]),a&1&&C(t,"type",o[0]),a&2&&C(t,"size",o[1]),a&4&&C(t,"theme",o[2]),a&32&&C(t,"inverted",o[5]),a&64&&V(e,"--size",o[6]),a&8&&u(e,"title",o[3]),a&128&&(e.disabled=o[7]),a&256&&u(e,"class",o[8]),a&16&&u(e,"data-testid",o[4])},i:w,o:w,d(o){o&&E(e),r=!1,n()}}}function sn(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function cn(i,e,t){let r,n,o,a,{type:l}=e,{size:s="medium"}=e,{theme:c="outline"}=e,{variant:d="color"}=e,{title:f=""}=e,{testId:b=""}=e,{disabled:y}=e,{inverted:p}=e;return i.$$set=_=>{"type"in _&&t(0,l=_.type),"size"in _&&t(1,s=_.size),"theme"in _&&t(2,c=_.theme),"variant"in _&&t(9,d=_.variant),"title"in _&&t(3,f=_.title),"testId"in _&&t(4,b=_.testId),"disabled"in _&&t(10,y=_.disabled),"inverted"in _&&t(11,p=_.inverted)},i.$$.update=()=>{i.$$.dirty&2048&&t(5,o=G(p)),i.$$.dirty&544&&t(8,r=`${d} ${o?"inverted":""}`),i.$$.dirty&1024&&t(7,n=G(y)),i.$$.dirty&2&&t(6,a={small:"1rem",medium:"1.5rem",large:"2rem"}[s])},[l,s,c,f,b,o,a,n,r,d,y,p]}class dn extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:inline-flex;align-items:center;box-sizing:border-box;font-family:var(--font-family)}button,button *{box-sizing:border-box}button{display:inline-flex;align-items:center;justify-content:center;background:transparent;cursor:pointer;border:none}.color{border-radius:0.5rem;padding:calc(var(--size) / 4)}.color{border-radius:0.5rem;color:var(--goa-color-interactive);fill:var(--goa-color-interactive);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.color:active,.nocolor:active{transform:scale(0.9);border:none}.color:hover{background-color:var(--goa-color-primary-light)}.color.inverted:hover{background-color:var(--goa-color-primary-dark)}button:disabled{color:var(--color-gray-200);fill:var(--color-gray-200);transform:none;cursor:default}button:disabled:hover{background-color:transparent}</style>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},cn,ln,N,{type:0,size:1,theme:2,variant:9,title:3,testId:4,disabled:10,inverted:11},null),e&&(e.target&&v(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",dn);function jt(i){let e,t;return{c(){e=m("ion-icon"),C(e,"name",t=i[1]==="filled"||i[0].indexOf("logo")===0?i[0]:`${i[0]}-${i[1]}`)},m(r,n){v(r,e,n)},p(r,n){n&3&&t!==(t=r[1]==="filled"||r[0].indexOf("logo")===0?r[0]:`${r[0]}-${r[1]}`)&&C(e,"name",t)},d(r){r&&E(e)}}}function un(i){let e,t,r,n=i[0]&&jt(i);return{c(){e=m("div"),n&&n.c(),this.c=w,u(e,"class","goa-icon"),u(e,"data-testid",t=`icon-${i[0]}`),u(e,"title",i[5]),u(e,"style",r=`
|
|
35
|
+
--size: ${i[6]};
|
|
36
|
+
--fill-color: ${i[2]};
|
|
37
|
+
--hover-color: ${i[3]};
|
|
38
|
+
--opacity: ${i[4]};
|
|
39
|
+
`),B(e,"inverted",i[7])},m(o,a){v(o,e,a),n&&n.m(e,null)},p(o,[a]){o[0]?n?n.p(o,a):(n=jt(o),n.c(),n.m(e,null)):n&&(n.d(1),n=null),a&1&&t!==(t=`icon-${o[0]}`)&&u(e,"data-testid",t),a&32&&u(e,"title",o[5]),a&92&&r!==(r=`
|
|
40
|
+
--size: ${o[6]};
|
|
41
|
+
--fill-color: ${o[2]};
|
|
42
|
+
--hover-color: ${o[3]};
|
|
43
|
+
--opacity: ${o[4]};
|
|
44
|
+
`)&&u(e,"style",r),a&128&&B(e,"inverted",o[7])},i:w,o:w,d(o){o&&E(e),n&&n.d()}}}function fn(i,e,t){let r,n,{type:o}=e,{size:a="medium"}=e,{theme:l="outline"}=e,{inverted:s="false"}=e,{fillcolor:c=""}=e,{hovercolor:d=""}=e,{opacity:f=1}=e,{title:b=""}=e;return i.$$set=y=>{"type"in y&&t(0,o=y.type),"size"in y&&t(8,a=y.size),"theme"in y&&t(1,l=y.theme),"inverted"in y&&t(9,s=y.inverted),"fillcolor"in y&&t(2,c=y.fillcolor),"hovercolor"in y&&t(3,d=y.hovercolor),"opacity"in y&&t(4,f=y.opacity),"title"in y&&t(5,b=y.title)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=G(s)),i.$$.dirty&256&&t(6,n={small:"1.25rem",medium:"1.5rem",large:"2rem"}[a])},[o,l,c,d,f,b,n,r,a,s]}class hn extends O{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>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},fn,un,N,{type:0,size:8,theme:1,inverted:9,fillcolor:2,hovercolor:3,opacity:4,title:5},null),e&&(e.target&&v(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",hn);function Pt(i){let e,t;return{c(){e=m("div"),t=F(i[14]),u(e,"class","prefix")},m(r,n){v(r,e,n),g(e,t)},p(r,n){n[0]&16384&&q(t,r[14])},d(r){r&&E(e)}}}function Ft(i){let e;return{c(){e=m("goa-icon"),C(e,"class","goa-input-leading-icon"),C(e,"data-testid","leading-icon"),C(e,"type",i[5])},m(t,r){v(t,e,r)},p(t,r){r[0]&32&&C(e,"type",t[5])},d(t){t&&E(e)}}}function Gt(i){let e;return{c(){e=m("goa-icon"),C(e,"class","goa-input-trailing-icon"),C(e,"data-testid","trailing-icon"),C(e,"size","medium"),C(e,"type",i[6])},m(t,r){v(t,e,r)},p(t,r){r[0]&64&&C(e,"type",t[6])},d(t){t&&E(e)}}}function qt(i){let e,t,r;return{c(){e=m("goa-icon-button"),C(e,"disabled",i[19]),C(e,"variant","nocolor"),C(e,"size","medium"),C(e,"type",i[6]),C(e,"data-testid","trailing-icon-button")},m(n,o){v(n,e,o),t||(r=U(e,"click",vn),t=!0)},p(n,o){o[0]&524288&&C(e,"disabled",n[19]),o[0]&64&&C(e,"type",n[6])},d(n){n&&E(e),t=!1,r()}}}function Vt(i){let e,t;return{c(){e=m("span"),t=F(i[15]),u(e,"class","suffix")},m(r,n){v(r,e,n),g(e,t)},p(r,n){n[0]&32768&&q(t,r[15])},d(r){r&&E(e)}}}function Wt(i){let e;function t(o,a){if(o[16]>0)return mn;if(o[0].length>0)return gn}let r=t(i),n=r&&r(i);return{c(){n&&n.c(),e=ie()},m(o,a){n&&n.m(o,a),v(o,e,a)},p(o,a){r===(r=t(o))&&n?n.p(o,a):(n&&n.d(1),n=r&&r(o),n&&(n.c(),n.m(e.parentNode,e)))},d(o){n&&n.d(o),o&&E(e)}}}function gn(i){let e,t=i[0].length+"",r;return{c(){e=m("div"),r=F(t),u(e,"class","counter")},m(n,o){v(n,e,o),g(e,r)},p(n,o){o[0]&1&&t!==(t=n[0].length+"")&&q(r,t)},d(n){n&&E(e)}}}function mn(i){let e,t=i[0].length+"",r,n=`/${i[16]}`,o;return{c(){e=m("div"),r=F(t),o=F(n),u(e,"class","counter"),B(e,"counter-error",i[0].length>i[16])},m(a,l){v(a,e,l),g(e,r),g(e,o)},p(a,l){l[0]&1&&t!==(t=a[0].length+"")&&q(r,t),l[0]&65536&&n!==(n=`/${a[16]}`)&&q(o,n),l[0]&65537&&B(e,"counter-error",a[0].length>a[16])},d(a){a&&E(e)}}}function bn(i){let e,t,r,n,o,a,l,s,c,d,f,b,y,p,_,L,x=i[14]&&Pt(i),M=i[5]&&Ft(i),z=i[6]&&!i[22]&&Gt(i),k=i[6]&&i[22]&&qt(i),A=i[15]&&Vt(i),R=i[18]&&Wt(i);return{c(){e=m("div"),t=m("div"),x&&x.c(),r=H(),M&&M.c(),n=H(),o=m("input"),c=H(),z&&z.c(),d=H(),k&&k.c(),f=H(),A&&A.c(),y=H(),R&&R.c(),this.c=w,u(o,"class",a=`input--${i[7]}`),u(o,"style",l=`--search-icon-offset: ${i[6]?"-0.5rem":"0"}`),o.readOnly=i[21],o.disabled=i[19],u(o,"data-testid",i[8]),u(o,"autocapitalize",i[3]),u(o,"name",i[2]),u(o,"type",i[1]),o.value=i[0],u(o,"placeholder",i[4]),u(o,"min",i[11]),u(o,"max",i[12]),u(o,"step",i[13]),u(o,"role","textbox"),u(o,"aria-label",s=i[10]||i[2]),u(t,"class",b=`
|
|
45
|
+
goa-input
|
|
46
|
+
${i[19]?"goa-input--disabled":""}
|
|
47
|
+
variant--${i[7]}
|
|
48
|
+
type--${i[1]}
|
|
49
|
+
`),B(t,"error",i[20]),u(e,"class","container"),u(e,"style",p=`
|
|
50
|
+
--width: ${i[9]};
|
|
51
|
+
`)},m(T,D){v(T,e,D),g(e,t),x&&x.m(t,null),g(t,r),M&&M.m(t,null),g(t,n),g(t,o),i[31](o),g(t,c),z&&z.m(t,null),g(t,d),k&&k.m(t,null),g(t,f),A&&A.m(t,null),g(e,y),R&&R.m(e,null),_||(L=[U(o,"keyup",i[23]),U(o,"change",i[23])],_=!0)},p(T,D){T[14]?x?x.p(T,D):(x=Pt(T),x.c(),x.m(t,r)):x&&(x.d(1),x=null),T[5]?M?M.p(T,D):(M=Ft(T),M.c(),M.m(t,n)):M&&(M.d(1),M=null),D[0]&128&&a!==(a=`input--${T[7]}`)&&u(o,"class",a),D[0]&64&&l!==(l=`--search-icon-offset: ${T[6]?"-0.5rem":"0"}`)&&u(o,"style",l),D[0]&2097152&&(o.readOnly=T[21]),D[0]&524288&&(o.disabled=T[19]),D[0]&256&&u(o,"data-testid",T[8]),D[0]&8&&u(o,"autocapitalize",T[3]),D[0]&4&&u(o,"name",T[2]),D[0]&2&&u(o,"type",T[1]),D[0]&1&&o.value!==T[0]&&(o.value=T[0]),D[0]&16&&u(o,"placeholder",T[4]),D[0]&2048&&u(o,"min",T[11]),D[0]&4096&&u(o,"max",T[12]),D[0]&8192&&u(o,"step",T[13]),D[0]&1028&&s!==(s=T[10]||T[2])&&u(o,"aria-label",s),T[6]&&!T[22]?z?z.p(T,D):(z=Gt(T),z.c(),z.m(t,d)):z&&(z.d(1),z=null),T[6]&&T[22]?k?k.p(T,D):(k=qt(T),k.c(),k.m(t,f)):k&&(k.d(1),k=null),T[15]?A?A.p(T,D):(A=Vt(T),A.c(),A.m(t,null)):A&&(A.d(1),A=null),D[0]&524418&&b!==(b=`
|
|
52
|
+
goa-input
|
|
53
|
+
${T[19]?"goa-input--disabled":""}
|
|
54
|
+
variant--${T[7]}
|
|
55
|
+
type--${T[1]}
|
|
56
|
+
`)&&u(t,"class",b),D[0]&1572994&&B(t,"error",T[20]),T[18]?R?R.p(T,D):(R=Wt(T),R.c(),R.m(e,null)):R&&(R.d(1),R=null),D[0]&512&&p!==(p=`
|
|
57
|
+
--width: ${T[9]};
|
|
58
|
+
`)&&u(e,"style",p)},i:w,o:w,d(T){T&&E(e),x&&x.d(),M&&M.d(),i[31](null),z&&z.d(),k&&k.d(),A&&A.d(),R&&R.d(),_=!1,$(L)}}}function vn(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function pn(i,e,t){let r,n,o,a,l,s,{type:c="text"}=e,{name:d=""}=e,{value:f=""}=e,{autocapitalize:b="off"}=e,{placeholder:y=""}=e,{leadingicon:p=null}=e,{trailingicon:_=null}=e,{variant:L="goa"}=e,{disabled:x="false"}=e,{handletrailingiconclick:M="false"}=e,{focused:z="false"}=e,{readonly:k="false"}=e,{error:A="false"}=e,{testid:R=""}=e,{width:T="30ch"}=e,{arialabel:D=null}=e,{min:X=null}=e,{max:Y=null}=e,{step:K=null}=e,{prefix:J=""}=e,{suffix:Ge=""}=e,{showcounter:_e="false"}=e,{maxcharcount:le=0}=e,oe;function me(S){S.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:d,value:S.target.value}})),t(0,f=S.target.value)}function qe(S){ee[S?"unshift":"push"](()=>{oe=S,t(17,oe)})}return i.$$set=S=>{"type"in S&&t(1,c=S.type),"name"in S&&t(2,d=S.name),"value"in S&&t(0,f=S.value),"autocapitalize"in S&&t(3,b=S.autocapitalize),"placeholder"in S&&t(4,y=S.placeholder),"leadingicon"in S&&t(5,p=S.leadingicon),"trailingicon"in S&&t(6,_=S.trailingicon),"variant"in S&&t(7,L=S.variant),"disabled"in S&&t(24,x=S.disabled),"handletrailingiconclick"in S&&t(25,M=S.handletrailingiconclick),"focused"in S&&t(26,z=S.focused),"readonly"in S&&t(27,k=S.readonly),"error"in S&&t(28,A=S.error),"testid"in S&&t(8,R=S.testid),"width"in S&&t(9,T=S.width),"arialabel"in S&&t(10,D=S.arialabel),"min"in S&&t(11,X=S.min),"max"in S&&t(12,Y=S.max),"step"in S&&t(13,K=S.step),"prefix"in S&&t(14,J=S.prefix),"suffix"in S&&t(15,Ge=S.suffix),"showcounter"in S&&t(29,_e=S.showcounter),"maxcharcount"in S&&t(16,le=S.maxcharcount)},i.$$.update=()=>{i.$$.dirty[0]&33554432&&t(22,r=G(M)),i.$$.dirty[0]&67108864&&t(30,n=G(z)),i.$$.dirty[0]&134217728&&t(21,o=G(k)),i.$$.dirty[0]&268435456&&t(20,a=G(A)),i.$$.dirty[0]&16777216&&t(19,l=G(x)),i.$$.dirty[0]&536870912&&t(18,s=G(_e)),i.$$.dirty[0]&1073872896&&n&&oe&&setTimeout(()=>oe.focus(),1),i.$$.dirty[0]&131074&&oe&&c==="search"&&oe.addEventListener("search",S=>{me(S)})},[f,c,d,b,y,p,_,L,R,T,D,X,Y,K,J,Ge,le,oe,s,l,a,o,r,me,x,M,z,k,A,_e,n,qe]}class wn extends O{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box}.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:stretch;vertical-align:middle;min-width:100%}.goa-input:hover{border-color:var(--goa-color-interactive--hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text);font-size:var(--input-font-size);padding:var(--input-padding);line-height:calc(40px - calc(var(--input-padding) * 2));background-color:transparent;width:0;flex:1 1 auto}input[type=text],input[type=date],input[type="datetime-local"],input[type=number]{font-family:var(--font-family)}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--color-gray-100);border-color:var(--color-gray-200);cursor:default;box-shadow:none}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}.prefix,.suffix{background-color:var(--color-gray-100);padding:0 0.75rem;display:flex;align-items:center}.prefix{border-top-left-radius:var(--input-border-radius);border-bottom-left-radius:var(--input-border-radius);border-right:1px solid var(--color-gray-600)}.suffix{border-top-right-radius:var(--input-border-radius);border-bottom-right-radius:var(--input-border-radius);border-left:1px solid var(--color-gray-600)}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>')
|
|
59
|
+
center center no-repeat}</style>`,P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},pn,bn,N,{type:1,name:2,value:0,autocapitalize:3,placeholder:4,leadingicon:5,trailingicon:6,variant:7,disabled:24,handletrailingiconclick:25,focused:26,readonly:27,error:28,testid:8,width:9,arialabel:10,min:11,max:12,step:13,prefix:14,suffix:15,showcounter:29,maxcharcount:16},null,[-1,-1]),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","name","value","autocapitalize","placeholder","leadingicon","trailingicon","variant","disabled","handletrailingiconclick","focused","readonly","error","testid","width","arialabel","min","max","step","prefix","suffix","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 autocapitalize(){return this.$$.ctx[3]}set autocapitalize(e){this.$$set({autocapitalize:e}),h()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),h()}get leadingicon(){return this.$$.ctx[5]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get trailingicon(){return this.$$.ctx[6]}set trailingicon(e){this.$$set({trailingicon:e}),h()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),h()}get disabled(){return this.$$.ctx[24]}set disabled(e){this.$$set({disabled:e}),h()}get handletrailingiconclick(){return this.$$.ctx[25]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),h()}get focused(){return this.$$.ctx[26]}set focused(e){this.$$set({focused:e}),h()}get readonly(){return this.$$.ctx[27]}set readonly(e){this.$$set({readonly:e}),h()}get error(){return this.$$.ctx[28]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[8]}set testid(e){this.$$set({testid:e}),h()}get width(){return this.$$.ctx[9]}set width(e){this.$$set({width:e}),h()}get arialabel(){return this.$$.ctx[10]}set arialabel(e){this.$$set({arialabel:e}),h()}get min(){return this.$$.ctx[11]}set min(e){this.$$set({min:e}),h()}get max(){return this.$$.ctx[12]}set max(e){this.$$set({max:e}),h()}get step(){return this.$$.ctx[13]}set step(e){this.$$set({step:e}),h()}get prefix(){return this.$$.ctx[14]}set prefix(e){this.$$set({prefix:e}),h()}get suffix(){return this.$$.ctx[15]}set suffix(e){this.$$set({suffix:e}),h()}get showcounter(){return this.$$.ctx[29]}set showcounter(e){this.$$set({showcounter:e}),h()}get maxcharcount(){return this.$$.ctx[16]}set maxcharcount(e){this.$$set({maxcharcount:e}),h()}}customElements.define("goa-input",wn);function Ut(i){let e,t,r;return{c(){e=m("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=H(),r=m("div"),r.innerHTML='An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>',u(e,"class","service-type service-type--live"),u(r,"data-testid","type"),u(r,"class","site-text")},m(n,o){v(n,e,o),v(n,t,o),v(n,r,o)},d(n){n&&E(e),n&&E(t),n&&E(r)}}}function Zt(i){let e,t=Yt(i[0])+"",r,n,o,a,l,s,c,d=i[2]&&Kt(i);return{c(){e=m("div"),r=F(t),o=H(),a=m("div"),l=F("This is a new "),s=m("a"),s.textContent="Alberta Government",c=F(` service
|
|
60
|
+
`),d&&d.c(),u(e,"data-testid","type"),u(e,"class",n="service-type service-type--"+i[0].toLowerCase()),u(s,"href","https://www.alberta.ca/index.aspx"),u(a,"data-testid","site-text"),u(a,"class","site-text")},m(f,b){v(f,e,b),g(e,r),v(f,o,b),v(f,a,b),g(a,l),g(a,s),g(a,c),d&&d.m(a,null)},p(f,b){b&1&&t!==(t=Yt(f[0])+"")&&q(r,t),b&1&&n!==(n="service-type service-type--"+f[0].toLowerCase())&&u(e,"class",n),f[2]?d?d.p(f,b):(d=Kt(f),d.c(),d.m(a,null)):d&&(d.d(1),d=null)},d(f){f&&E(e),f&&E(o),f&&E(a),d&&d.d()}}}function Kt(i){let e,t,r,n;return{c(){e=m("span"),t=F("\u2014 help us improve it by giving "),r=m("a"),n=F("feedback"),u(r,"href",i[2]),u(e,"data-testid","feedback")},m(o,a){v(o,e,a),g(e,t),g(e,r),g(r,n)},p(o,a){a&4&&u(r,"href",o[2])},d(o){o&&E(e)}}}function Xt(i){let e,t;return{c(){e=m("div"),t=F(i[1]),u(e,"data-testid","version"),u(e,"class","version")},m(r,n){v(r,e,n),g(e,t)},p(r,n){n&2&&q(t,r[1])},d(r){r&&E(e)}}}function yn(i){let e,t,r=["alpha","beta"].includes(i[0]),n,o,a,l=i[0]==="live"&&Ut(),s=r&&Zt(i),c=i[1]&&Xt(i);return{c(){e=m("header"),l&&l.c(),t=H(),s&&s.c(),n=H(),o=m("div"),a=H(),c&&c.c(),this.c=w,u(o,"class","spacer"),u(e,"class","goa-official-site-header")},m(d,f){v(d,e,f),l&&l.m(e,null),g(e,t),s&&s.m(e,null),g(e,n),g(e,o),g(e,a),c&&c.m(e,null)},p(d,[f]){d[0]==="live"?l||(l=Ut(),l.c(),l.m(e,t)):l&&(l.d(1),l=null),f&1&&(r=["alpha","beta"].includes(d[0])),r?s?s.p(d,f):(s=Zt(d),s.c(),s.m(e,n)):s&&(s.d(1),s=null),d[1]?c?c.p(d,f):(c=Xt(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:w,o:w,d(d){d&&E(e),l&&l.d(),s&&s.d(),c&&c.d()}}}function Yt(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function _n(i,e,t){let{type:r}=e,{version:n}=e,{feedbackurl:o}=e;return i.$$set=a=>{"type"in a&&t(0,r=a.type),"version"in a&&t(1,n=a.version),"feedbackurl"in a&&t(2,o=a.feedbackurl)},[r,n,o]}class kn extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}a{color:var(--goa-color-interactive);cursor:pointer}a:hover{color:var(--goa-color-interactive--hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive--hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--fs-sm);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;padding:0.5rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-type{font-weight:bold;padding:0.25rem;display:flex;margin-right:1rem;line-height:initial}.service-type--alpha{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.service-type--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-type--live{padding:0}.site-text{color:var(--goa-color-text);line-height:1.25rem}</style>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},_n,yn,N,{type:0,version:1,feedbackurl:2},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","version","feedbackurl"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),h()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),h()}}customElements.define("goa-microsite-header",kn);function Jt(i){let e,t,r,n,o,a,l,s,c,d,f,b,y,p,_,L,x,M,z,k,A,R=i[0]&&Qt(i),T=i[3]&&$t(i);function D(K,J){return K[6]?En:xn}let X=D(i),Y=X(i);return{c(){e=m("goa-focus-trap"),t=m("div"),r=m("div"),n=H(),o=m("div"),R&&R.c(),a=H(),T&&T.c(),l=H(),s=m("div"),Y.c(),c=H(),d=m("slot"),f=H(),b=m("div"),b.innerHTML='<slot name="actions"></slot>',u(r,"data-testid","modal-overlay"),u(r,"class","modal-overlay"),u(s,"data-testid","modal-content"),u(s,"class","modal-content"),u(b,"data-testid","modal-actions"),u(b,"class","modal-actions"),u(o,"class","modal-pane"),u(t,"data-testid","modal"),u(t,"class","modal"),u(t,"style",_=""+((i[2]&&`--width: ${i[2]};`)+";")),C(e,"active",i[1])},m(K,J){v(K,e,J),g(e,t),g(t,r),g(t,n),g(t,o),R&&R.m(o,null),g(o,a),T&&T.m(o,null),g(o,l),g(o,s),Y.m(s,null),g(s,c),g(s,d),g(o,f),g(o,b),z=!0,k||(A=[U(r,"click",i[7]),$e(L=vt.call(null,t,{enable:i[5]}))],k=!0)},p(K,J){i=K,i[0]?R?R.p(i,J):(R=Qt(i),R.c(),R.m(o,a)):R&&(R.d(1),R=null),i[3]?T?T.p(i,J):(T=$t(i),T.c(),T.m(o,l)):T&&(T.d(1),T=null),X!==(X=D(i))&&(Y.d(1),Y=X(i),Y&&(Y.c(),Y.m(s,c))),(!z||J&4&&_!==(_=""+((i[2]&&`--width: ${i[2]};`)+";")))&&u(t,"style",_),L&&ue(L.update)&&J&32&&L.update.call(null,{enable:i[5]}),(!z||J&2)&&C(e,"active",i[1])},i(K){z||(re(()=>{p&&p.end(1),y=st(o,bt,{duration:i[4],y:200}),y.start()}),re(()=>{M&&M.end(1),x=st(t,we,{duration:i[4]}),x.start()}),z=!0)},o(K){y&&y.invalidate(),p=ct(o,bt,{delay:i[4],duration:i[4],y:-100}),x&&x.invalidate(),M=ct(t,we,{delay:i[4],duration:i[4]}),z=!1},d(K){K&&E(e),R&&R.d(),T&&T.d(),Y.d(),K&&p&&p.end(),K&&M&&M.end(),k=!1,$(A)}}}function Qt(i){let e,t;return{c(){e=m("div"),t=F(i[0]),u(e,"data-testid","modal-title"),u(e,"class","modal-title")},m(r,n){v(r,e,n),g(e,t)},p(r,n){n&1&&q(t,r[0])},d(r){r&&E(e)}}}function $t(i){let e,t,r,n;return{c(){e=m("div"),t=m("goa-icon-button"),C(t,"data-testid","modal-close-button"),C(t,"type","close"),u(e,"class","modal-close")},m(o,a){v(o,e,a),g(e,t),r||(n=U(t,"click",i[7]),r=!0)},p:w,d(o){o&&E(e),r=!1,n()}}}function xn(i){let e;return{c(){e=m("div"),e.innerHTML="<slot></slot>",V(e,"margin","1.75rem")},m(t,r){v(t,e,r)},d(t){t&&E(e)}}}function En(i){let e;return{c(){e=m("goa-scrollable"),e.innerHTML="<slot></slot>",C(e,"direction","vertical"),C(e,"height","50"),C(e,"hpadding","1.75")},m(t,r){v(t,e,r)},d(t){t&&E(e)}}}function Cn(i){let e,t,r=i[5]&&Jt(i);return{c(){r&&r.c(),e=ie(),this.c=w},m(n,o){r&&r.m(n,o),v(n,e,o),t=!0},p(n,[o]){n[5]?r?(r.p(n,o),o&32&&W(r,1)):(r=Jt(n),r.c(),W(r,1),r.m(e.parentNode,e)):r&&(ve(),Z(r,1,1,()=>{r=null}),pe())},i(n){t||(W(r),t=!0)},o(n){Z(r),t=!1},d(n){r&&r.d(n),n&&E(e)}}}function zn(i,e,t){let r,n,o,a,{heading:l}=e,{closable:s}=e,{scrollable:c}=e,{open:d}=e,{transition:f="none"}=e,{width:b}=e;function y(p){!r||(p.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),p.stopPropagation())}return i.$$set=p=>{"heading"in p&&t(0,l=p.heading),"closable"in p&&t(8,s=p.closable),"scrollable"in p&&t(9,c=p.scrollable),"open"in p&&t(1,d=p.open),"transition"in p&&t(10,f=p.transition),"width"in p&&t(2,b=p.width)},i.$$.update=()=>{i.$$.dirty&256&&t(3,r=G(s)),i.$$.dirty&512&&t(6,n=G(c)),i.$$.dirty&2&&t(5,o=G(d)),i.$$.dirty&1024&&t(4,a=f==="none"?0:f==="slow"?400:200)},[l,d,b,r,a,o,n,y,s,c,f]}class Mn extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.modal{font-family:var(--font-family);position:fixed;inset:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:90%;margin:1rem;box-shadow:var(--shadow-2);border-radius:4px;max-height:90%}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch);max-height:80%}}.modal-actions{text-align:right;padding:0 1.75rem;margin:1.75rem 0;flex:1 1 auto}.modal-close{position:absolute;top:1rem;right:1rem}.modal-title{font-size:var(--fs-xl);padding-bottom:1rem;padding:0 1.75rem;margin:1.75rem 0;margin-right:40px;flex:0 0 auto}</style>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},zn,Cn,N,{heading:0,closable:8,scrollable:9,open:1,transition:10,width:2},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","closable","scrollable","open","transition","width"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get closable(){return this.$$.ctx[8]}set closable(e){this.$$set({closable:e}),h()}get scrollable(){return this.$$.ctx[9]}set scrollable(e){this.$$set({scrollable:e}),h()}get open(){return this.$$.ctx[1]}set open(e){this.$$set({open:e}),h()}get transition(){return this.$$.ctx[10]}set transition(e){this.$$set({transition:e}),h()}get width(){return this.$$.ctx[2]}set width(e){this.$$set({width:e}),h()}}customElements.define("goa-modal",Mn);function ei(i){let e,t,r,n,o,a,l,s,c,d,f,b,y;return{c(){e=m("div"),t=m("div"),r=m("goa-icon"),n=H(),o=m("div"),o.innerHTML="<slot></slot>",a=H(),l=m("div"),s=m("goa-icon-button"),C(r,"type",i[2]),C(r,"inverted",""),u(t,"class","icon"),u(o,"class","content"),C(s,"type","close"),C(s,"inverted",""),u(l,"class","close"),u(e,"class",c="notification "+i[0])},m(p,_){v(p,e,_),g(e,t),g(t,r),g(e,n),g(e,o),g(e,a),g(e,l),g(l,s),f=!0,b||(y=U(s,"click",i[3]),b=!0)},p(p,_){(!f||_&4)&&C(r,"type",p[2]),(!f||_&1&&c!==(c="notification "+p[0]))&&u(e,"class",c)},i(p){f||(re(()=>{d||(d=Pe(e,we,{},!0)),d.run(1)}),f=!0)},o(p){d||(d=Pe(e,we,{},!1)),d.run(0),f=!1},d(p){p&&E(e),p&&d&&d.end(),b=!1,y()}}}function Ln(i){let e,t,r=i[1]&&ei(i);return{c(){r&&r.c(),e=ie(),this.c=w},m(n,o){r&&r.m(n,o),v(n,e,o),t=!0},p(n,[o]){n[1]?r?(r.p(n,o),o&2&&W(r,1)):(r=ei(n),r.c(),W(r,1),r.m(e.parentNode,e)):r&&(ve(),Z(r,1,1,()=>{r=null}),pe())},i(n){t||(W(r),t=!0)},o(n){Z(r),t=!1},d(n){r&&r.d(n),n&&E(e)}}}function Tn(i,e,t){let r,{type:n}=e,o=!0;function a(){t(1,o=!1)}return i.$$set=l=>{"type"in l&&t(0,n=l.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=n==="emergency"?"warning":n==="caution"?"alert-circle":n==="information"?"information-circle":"calendar")},[n,o,r,a]}class Rn extends O{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>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Tn,Ln,N,{type:0},null),e&&(e.target&&v(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",Rn);const An=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function Hn(i){return An.test(i)}function In(i){let e,t,r;return{c(){e=m("div"),t=m("slot"),this.c=w,u(e,"class","page-content"),u(e,"style",r=`--max-width: ${i[0]}`)},m(n,o){v(n,e,o),g(e,t)},p(n,[o]){o&1&&r!==(r=`--max-width: ${n[0]}`)&&u(e,"style",r)},i:w,o:w,d(n){n&&E(e)}}}function Sn(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:o}=e;function a(l){return!!(["full"].includes(n)||Hn(l))}return Q(()=>{if(!a(n))throw"Invalid PageBlock width";t(0,o=r[n]||n)}),i.$$set=l=>{"width"in l&&t(1,n=l.width),"_width"in l&&t(0,o=l._width)},[o,n]}class Dn extends O{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>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Sn,In,N,{width:1,_width:0},null),e&&(e.target&&v(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",Dn);const ti="bind";function ii(i,e,t){const r=i.slice();return r[14]=e[t],r}function ri(i,e){let t,r,n,o,a,l,s,c,d=(e[14].label||e[14].value)+"",f,b,y,p,_;function L(){return e[11](e[14])}return{key:i,first:null,c(){t=m("label"),r=m("input"),a=H(),l=m("div"),s=H(),c=m("span"),f=F(d),b=H(),u(r,"type","radio"),u(r,"name",e[1]),r.value=n=e[14].value,r.disabled=e[7],r.checked=o=e[14].value===e[0],u(l,"class","goa-radio-icon"),u(c,"class","goa-radio-label"),u(t,"data-testid",y="radio-option-"+e[14].value),u(t,"class","goa-radio"),B(t,"goa-radio--disabled",e[7]),B(t,"goa-radio--error",e[5]),this.first=t},m(x,M){v(x,t,M),g(t,r),g(t,a),g(t,l),g(t,s),g(t,c),g(c,f),g(t,b),p||(_=U(r,"change",L),p=!0)},p(x,M){e=x,M&2&&u(r,"name",e[1]),M&16&&n!==(n=e[14].value)&&(r.value=n),M&128&&(r.disabled=e[7]),M&17&&o!==(o=e[14].value===e[0])&&(r.checked=o),M&16&&d!==(d=(e[14].label||e[14].value)+"")&&q(f,d),M&16&&y!==(y="radio-option-"+e[14].value)&&u(t,"data-testid",y),M&128&&B(t,"goa-radio--disabled",e[7]),M&32&&B(t,"goa-radio--error",e[5])},d(x){x&&E(t),p=!1,_()}}}function Bn(i){let e,t,r,n=[],o=new Map,a,l=i[4];const s=c=>c[14].value;for(let c=0;c<l.length;c+=1){let d=ii(i,l,c),f=s(d);o.set(f,n[c]=ri(f,d))}return{c(){e=m("div"),t=m("slot"),r=H();for(let c=0;c<n.length;c+=1)n[c].c();this.c=w,u(e,"class",a=`goa-radio-group--${i[2]}`),u(e,"data-testid",i[3])},m(c,d){v(c,e,d),g(e,t),g(e,r);for(let f=0;f<n.length;f+=1)n[f].m(e,null);i[12](e)},p(c,[d]){d&435&&(l=c[4],n=zi(n,d,s,1,c,l,o,e,Ci,ri,null,ii)),d&4&&a!==(a=`goa-radio-group--${c[2]}`)&&u(e,"class",a),d&8&&u(e,"data-testid",c[3])},i:w,o:w,d(c){c&&E(e);for(let d=0;d<n.length;d+=1)n[d].d();i[12](null)}}}function Nn(i,e,t){let r,{name:n}=e,{value:o}=e,{orientation:a="vertical"}=e,{disabled:l="false"}=e,{error:s="false"}=e,{testid:c=""}=e,d=[],f,b,y;Q(()=>{const x=10;let M=0;const z=setInterval(async()=>{M++,n&&(b=kt(n),b.subscribe(k=>{switch(k==null?void 0:k.type){case ti:t(4,d=[...d,k])}}),clearInterval(z)),M>x&&(console.error("goa-radio: missing the required `name` attribute. It must match the children's name attribute."),clearInterval(z))},10)});function p(x){x!==o&&(t(0,o=x),y.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:n,value:o}})))}nt(()=>{Et(n)});const _=x=>p(x.value);function L(x){ee[x?"unshift":"push"](()=>{y=x,t(6,y)})}return i.$$set=x=>{"name"in x&&t(1,n=x.name),"value"in x&&t(0,o=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=G(l)),i.$$.dirty&1024&&t(5,f=G(s))},[o,n,a,c,d,f,y,r,p,l,s,_,L]}class On extends O{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>',P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Nn,Bn,N,{name:1,value:0,orientation:2,disabled:9,error:10,testid:3},null),e&&(e.target&&v(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",On);function jn(i){return{c(){this.c=w},m:w,p:w,i:w,o:w,d:w}}function Pn(i,e,t){let{value:r}=e,{label:n}=e,{name:o}=e,a;return Q(()=>{const l=10;let s=0;const c=setInterval(()=>{if(s++,o){if(a=xt(o),!a)return;a.notify({type:ti,value:r,label:n}),clearInterval(c)}s>l&&(console.error("goa-radio-item: missing the required `name` attribute. It must match the parent's name attribute."),clearInterval(c))},10)}),i.$$set=l=>{"value"in l&&t(0,r=l.value),"label"in l&&t(1,n=l.label),"name"in l&&t(2,o=l.name)},[r,n,o]}class Fn extends O{constructor(e){super();P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Pn,jn,N,{value:0,label:1,name:2},null),e&&(e.target&&v(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",Fn);function Gn(i){let e,t,r;return{c(){e=m("div"),t=m("slot"),this.c=w,u(e,"class","goa-scrollable"),u(e,"style",r=`
|
|
8
61
|
--max-height: ${i[3]};
|
|
9
62
|
overflow-y: ${i[0]==="vertical"?"auto":"hidden"};
|
|
10
63
|
overflow-x: ${i[0]==="horizontal"?"auto":"hidden"};
|
|
11
64
|
margin: ${i[2]}rem 0;
|
|
12
65
|
padding: 0 ${i[1]}rem;
|
|
13
|
-
`)},m(o
|
|
14
|
-
--max-height: ${
|
|
15
|
-
overflow-y: ${
|
|
16
|
-
overflow-x: ${
|
|
17
|
-
margin: ${
|
|
18
|
-
padding: 0 ${
|
|
19
|
-
`)&&u(e,"style",r)},i:y,o:y,d(o){o&&z(e)}}}function jr(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 oi extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>.goa-scrollable{scroll-behavior:smooth;max-height:calc(100vh * var(--max-height, 100) / 100)}.goa-scrollable::-webkit-scrollbar{width:6px}.goa-scrollable::-webkit-scrollbar-track{background:#f1f1f1}.goa-scrollable::-webkit-scrollbar-thumb{background:#888}.goa-scrollable::-webkit-scrollbar-thumb:hover{background:#555}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},jr,Ir,H,{direction:0,hpadding:1,vpadding:2,height:3},null),e&&(e.target&&_(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",oi);function ai(i){let e;return{c(){e=p("div"),e.innerHTML='An official site of the <a href="https://www.alberta.ca/index.aspx" class="web-link">Alberta Government</a>',u(e,"class","site-text service-level--live")},m(t,r){_(t,e,r)},d(t){t&&z(e)}}}function ni(i){let e,t,r,o,n;return{c(){e=p("div"),t=W(i[0]),o=L(),n=p("div"),n.innerHTML='This is a new <a href="https://www.alberta.ca/index.aspx" class="web-link">Alberta Government</a>service',u(e,"class",r="service-level service-level--"+i[0]?.toLowerCase()),u(n,"class","site-text")},m(a,l){_(a,e,l),v(e,t),_(a,o,l),_(a,n,l)},p(a,l){l&1&&V(t,a[0]),l&1&&r!==(r="service-level service-level--"+a[0]?.toLowerCase())&&u(e,"class",r)},d(a){a&&z(e),a&&z(o),a&&z(n)}}}function li(i){let e,t;return{c(){e=p("div"),t=W(i[1]),u(e,"class","version")},m(r,o){_(r,e,o),v(e,t)},p(r,o){o&2&&V(t,r[1])},d(r){r&&z(e)}}}function Gr(i){let e,t,r,o,n,a=i[0]==="live"&&ai(),l=i[0]!=="live"&&ni(i),s=i[1]&&li(i);return{c(){e=p("header"),a&&a.c(),t=L(),l&&l.c(),r=L(),o=p("div"),n=L(),s&&s.c(),this.c=y,u(o,"class","spacer"),u(e,"class","goa-official-site-header")},m(c,d){_(c,e,d),a&&a.m(e,null),v(e,t),l&&l.m(e,null),v(e,r),v(e,o),v(e,n),s&&s.m(e,null)},p(c,[d]){c[0]==="live"?a||(a=ai(),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[0]!=="live"?l?l.p(c,d):(l=ni(c),l.c(),l.m(e,r)):l&&(l.d(1),l=null),c[1]?s?s.p(c,d):(s=li(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:y,o:y,d(c){c&&z(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function Dr(i,e,t){let{level:r}=e,{version:o}=e;return i.$$set=n=>{"level"in n&&t(0,r=n.level),"version"in n&&t(1,o=n.version)},[r,o]}class si extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-official-site-header{display:flex;font-size:var(--fs-xs);background-color:var(--color-gray-100);align-items:center;justify-content:space-between}.spacer{flex:1 1 auto}.version{padding-right:1rem;opacity:0.5}.service-level{font-weight:bold;padding:0 0.5rem}.service-level--alpha{background-color:var(--color-orange);color:var(--color-black)}.service-level--beta{background-color:var(--goa-color-primary-dark);color:var(--color-white)}.site-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--color-black);padding-left:0.5rem}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Dr,Gr,H,{level:0,version:1},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["level","version"]}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()}}customElements.define("goa-service-level-header",si);function Or(i){let e,t;return{c(){e=p("div"),u(e,"class",t="skeleton "+i[2]+` ${i[2]}-${i[1]}`)},m(r,o){_(r,e,o)},p(r,o){o&6&&t!==(t="skeleton "+r[2]+` ${r[2]}-${r[1]}`)&&u(e,"class",t)},i:y,o:y,d(r){r&&z(e)}}}function Sr(i){let e,t,r,o,n,a,l,s,c,d;return r=new Y({props:{type:"avatar",size:i[1]}}),a=new Y({props:{type:"title",size:i[1]}}),s=new Y({props:{type:"text-small",size:i[1]}}),{c(){e=p("div"),t=p("div"),ie(r.$$.fragment),o=L(),n=p("div"),ie(a.$$.fragment),l=L(),ie(s.$$.fragment),u(t,"class","profile-avatar"),u(n,"class","profile-name"),u(e,"class",c="profile profile-"+i[1])},m(f,g){_(f,e,g),v(e,t),Q(r,t,null),v(e,o),v(e,n),Q(a,n,null),v(n,l),Q(s,n,null),d=!0},p(f,g){const b={};g&2&&(b.size=f[1]),r.$set(b);const m={};g&2&&(m.size=f[1]),a.$set(m);const w={};g&2&&(w.size=f[1]),s.$set(w),(!d||g&2&&c!==(c="profile profile-"+f[1]))&&u(e,"class",c)},i(f){d||(N(r.$$.fragment,f),N(a.$$.fragment,f),N(s.$$.fragment,f),d=!0)},o(f){q(r.$$.fragment,f),q(a.$$.fragment,f),q(s.$$.fragment,f),d=!1},d(f){f&&z(e),$(r),$(a),$(s)}}}function Br(i){let e,t,r,o,n,a,l,s,c,d,f,g,b;return t=new Y({props:{type:"image",size:i[1]}}),n=new Y({props:{type:"header",size:i[1]}}),l=new Y({props:{type:"text",size:i[1]}}),c=new Y({props:{type:"text",size:i[1]}}),f=new Y({props:{type:"text",size:i[1]}}),{c(){e=p("div"),ie(t.$$.fragment),r=L(),o=p("div"),ie(n.$$.fragment),a=L(),ie(l.$$.fragment),s=L(),ie(c.$$.fragment),d=L(),ie(f.$$.fragment),u(o,"class","card-content"),u(e,"class",g="card card-"+i[1]),S(e,"--width",i[0]+"px")},m(m,w){_(m,e,w),Q(t,e,null),v(e,r),v(e,o),Q(n,o,null),v(o,a),Q(l,o,null),v(o,s),Q(c,o,null),v(o,d),Q(f,o,null),b=!0},p(m,w){const x={};w&2&&(x.size=m[1]),t.$set(x);const E={};w&2&&(E.size=m[1]),n.$set(E);const C={};w&2&&(C.size=m[1]),l.$set(C);const M={};w&2&&(M.size=m[1]),c.$set(M);const O={};w&2&&(O.size=m[1]),f.$set(O),(!b||w&2&&g!==(g="card card-"+m[1]))&&u(e,"class",g),(!b||w&1)&&S(e,"--width",m[0]+"px")},i(m){b||(N(t.$$.fragment,m),N(n.$$.fragment,m),N(l.$$.fragment,m),N(c.$$.fragment,m),N(f.$$.fragment,m),b=!0)},o(m){q(t.$$.fragment,m),q(n.$$.fragment,m),q(l.$$.fragment,m),q(c.$$.fragment,m),q(f.$$.fragment,m),b=!1},d(m){m&&z(e),$(t),$(n),$(l),$(c),$(f)}}}function Pr(i){let e,t,r,o;const n=[Br,Sr,Or],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=ne(),this.c=y},m(s,c){a[e].m(s,c),_(s,r,c),o=!0},p(s,[c]){let d=e;e=l(s),e===d?a[e].p(s,c):(_e(),q(a[d],1,1,()=>{a[d]=null}),we(),t=a[e],t?t.p(s,c):(t=a[e]=n[e](s),t.c()),N(t,1),t.m(r.parentNode,r))},i(s){o||(N(t),o=!0)},o(s){q(t),o=!1},d(s){a[e].d(s),s&&z(r)}}}function Nr(i,e,t){let{width:r=320}=e,{size:o=1}=e,{type:n}=e;return i.$$set=a=>{"width"in a&&t(0,r=a.width),"size"in a&&t(1,o=a.size),"type"in a&&t(2,n=a.type)},[r,o,n]}class Y extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--color-gray-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--color-gray-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-4,.text-4{width:100%;height:.75rem;border-radius:0.25rem}.title,.title-1,.title-2{width:100%;height:.75rem;border-radius:0.25rem}.title-3{height:.8rem}.title-4{height:1rem}.text-small,.text-small-1{width:30%;height:6px;border-radius:2px}.text-small-2{width:40%;height:8px;border-radius:2px}.text-small-3{width:50%;height:10px;border-radius:3px}.text-small-4{width:70%;height:12px;border-radius:4px}.paragraph{width:100%;height:70px;border-radius:4px}.header,.header-1{width:50%;height:18px;margin-bottom:12px;border-radius:0.25rem}.header-2{width:60%;height:20px;margin-bottom:14px;border-radius:0.25rem}.header-3{width:70%;height:22px;margin-bottom:16px;border-radius:0.25rem}.header-4{width:80%;height:24px;margin-bottom:18px;border-radius:0.3rem}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--color-gray-100);border-radius:4px}.card{width:100%}@media(min-width: 320px){.card{width:var(--width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Nr,Pr,H,{width:0,size:1,type:2},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["width","size","type"]}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get type(){return this.$$.ctx[2]}set type(e){this.$$set({type:e}),h()}}customElements.define("goa-skeleton",Y);function ci(i){return Object.prototype.toString.call(i)==="[object Date]"}function qe(i,e){if(i===e||i!==i)return()=>i;const t=typeof i;if(t!==typeof e||Array.isArray(i)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(i)){const r=e.map((o,n)=>qe(i[n],o));return o=>r.map(n=>n(o))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(ci(i)&&ci(e)){i=i.getTime(),e=e.getTime();const n=e-i;return a=>new Date(i+a*n)}const r=Object.keys(e),o={};return r.forEach(n=>{o[n]=qe(i[n],e[n])}),n=>{const a={};return r.forEach(l=>{a[l]=o[l](n)}),a}}if(t==="number"){const r=e-i;return o=>i+o*r}throw new Error(`Cannot interpolate ${t} values`)}function Fr(i,e={}){const t=Fe(i);let r,o=i;function n(a,l){if(i==null)return t.set(i=a),Promise.resolve();o=a;let s=r,c=!1,{delay:d=0,duration:f=400,easing:g=he,interpolate:b=qe}=Je(Je({},e),l);if(f===0)return s&&(s.abort(),s=null),t.set(i=o),Promise.resolve();const m=ze()+d;let w;return r=Ee(x=>{if(x<m)return!0;c||(w=b(i,a),typeof f=="function"&&(f=f(i,a)),c=!0),s&&(s.abort(),s=null);const E=x-m;return E>f?(t.set(i=a),!1):(t.set(i=w(g(E/f))),!0)}),r.promise}return{set:n,update:(a,l)=>n(a(o,i),l),subscribe:t.subscribe}}function di(i){let e,t,r,o,n,a,l,s,c;return{c(){e=ae("svg"),t=ae("circle"),n=ae("path"),u(t,"cx",i[2]),u(t,"cy",i[2]),u(t,"stroke",r=i[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),u(t,"stroke-width",i[3]),u(t,"r",o=i[2]-i[3]/2),u(n,"d",a=i[8](i[6])),u(n,"stroke-width",i[3]),u(n,"stroke",l=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),u(n,"stroke-linecap","round"),u(e,"class",s=`spinner-${i[1]}`),u(e,"fill","none"),u(e,"viewBox",c="0 0 "+i[4]+" "+i[4]),u(e,"width",i[4]),u(e,"height",i[4]),u(e,"xmlns","http://www.w3.org/2000/svg")},m(d,f){_(d,e,f),v(e,t),v(e,n)},p(d,f){f&4&&u(t,"cx",d[2]),f&4&&u(t,"cy",d[2]),f&1&&r!==(r=d[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&u(t,"stroke",r),f&8&&u(t,"stroke-width",d[3]),f&12&&o!==(o=d[2]-d[3]/2)&&u(t,"r",o),f&64&&a!==(a=d[8](d[6]))&&u(n,"d",a),f&8&&u(n,"stroke-width",d[3]),f&1&&l!==(l=d[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&u(n,"stroke",l),f&2&&s!==(s=`spinner-${d[1]}`)&&u(e,"class",s),f&16&&c!==(c="0 0 "+d[4]+" "+d[4])&&u(e,"viewBox",c),f&16&&u(e,"width",d[4]),f&16&&u(e,"height",d[4])},d(d){d&&z(e)}}}function qr(i){let e,t=i[5]&&di(i);return{c(){t&&t.c(),e=ne(),this.c=y},m(r,o){t&&t.m(r,o),_(r,e,o)},p(r,[o]){r[5]?t?t.p(r,o):(t=di(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:y,o:y,d(r){t&&t.d(r),r&&z(e)}}}function Wr(i,e,t){let r,o,n,a,l,s,{size:c}=e,{invert:d=!1}=e,{type:f="infinite"}=e,{progress:g="0"}=e;const b=Fr(0,{duration:500,easing:vr});mi(i,b,x=>t(6,s=x));function m(x){const E=n+a*Math.cos(x),C=n+a*Math.sin(x);return E+" "+C}function w(x){switch(f){case"progress":{const E=m(-Math.PI/2),C=m(-Math.PI/2+2*Math.PI*(x/100)),M=x%100<50?0:1;return`M ${E} A ${a} ${a} 0 ${M} 1 ${C}`}case"infinite":{const E=m(Math.PI*1.5),C=m(0);return`M ${E} A ${a} ${a} 0 1 0 ${C}`}}}return i.$$set=x=>{"size"in x&&t(9,c=x.size),"invert"in x&&t(0,d=x.invert),"type"in x&&t(1,f=x.type),"progress"in x&&t(10,g=x.progress)},i.$$.update=()=>{i.$$.dirty&1024&&b.set(parseFloat(g)),i.$$.dirty&512&&t(4,r={small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&512&&t(3,o={small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&16&&t(2,n=r/2),i.$$.dirty&12&&t(11,a=n-o/2),i.$$.dirty&3074&&t(5,l=f==="infinite"?a:a&&g)},[d,f,n,o,r,l,s,b,w,c,g,a]}class ui extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Wr,qr,H,{size:9,invert:0,type:1,progress:10},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["size","invert","type","progress"]}get size(){return this.$$.ctx[9]}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[10]}set progress(e){this.$$set({progress:e}),h()}}customElements.define("goa-spinner",ui);function Vr(i){let e,t,r,o,n;return{c(){e=p("textarea"),this.c=y,u(e,"name",i[0]),u(e,"class","goa-textarea"),u(e,"placeholder",i[2]),e.value=t=i[1]||"",u(e,"rows",r=i[3]||3),e.disabled=i[4]},m(a,l){_(a,e,l),o||(n=X(e,"keyup",i[5]),o=!0)},p(a,[l]){l&1&&u(e,"name",a[0]),l&4&&u(e,"placeholder",a[2]),l&2&&t!==(t=a[1]||"")&&(e.value=t),l&8&&r!==(r=a[3]||3)&&u(e,"rows",r),l&16&&(e.disabled=a[4])},i:y,o:y,d(a){a&&z(e),o=!1,n()}}}function Xr(i,e,t){let r,{name:o}=e,{value:n}=e,{placeholder:a}=e,{rows:l}=e,{disabled:s}=e;function c(d){const g=d.target.value;d.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:d,data:{name:o,value:g}}})),d.stopPropagation()}return i.$$set=d=>{"name"in d&&t(0,o=d.name),"value"in d&&t(1,n=d.value),"placeholder"in d&&t(2,a=d.placeholder),"rows"in d&&t(3,l=d.rows),"disabled"in d&&t(6,s=d.disabled)},i.$$.update=()=>{i.$$.dirty&64&&t(4,r=D(s))},[o,n,a,l,r,c,s]}class fi extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-textarea{display:block;width:100%;box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:3px;background:var(--color-white);color:var(--color-black, #ccc);padding:var(--input-padding, 0.5rem);font-size:var(--input-font-size);font-family:var(--font-family)}.goa-textarea:hover{border-color:var(--goa-color-interactive--hover)}.goa-textarea:active,.goa-textarea:focus,.goa-textarea:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--highlight)}.goa-textarea:disabled{border-color:var(--color-gray-200)}.goa-textarea:disabled:hover{border-color:var(--color-gray-200)}.goa-textarea:disabled:focus,.goa-textarea:disabled:active{box-shadow:none}</style>",G(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Xr,Vr,H,{name:0,value:1,placeholder:2,rows:3,disabled:6},null),e&&(e.target&&_(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","placeholder","rows","disabled"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),h()}get placeholder(){return this.$$.ctx[2]}set placeholder(e){this.$$set({placeholder:e}),h()}get rows(){return this.$$.ctx[3]}set rows(e){this.$$set({rows:e}),h()}get disabled(){return this.$$.ctx[6]}set disabled(e){this.$$set({disabled:e}),h()}}customElements.define("goa-textarea",fi),R.GoAAppHeader=lt,R.GoABadge=ct,R.GoAButton=dt,R.GoAButtonGroup=ut,R.GoACallout=ft,R.GoACard=gt,R.GoACardActions=ht,R.GoACardContent=mt,R.GoACardGroup=bt,R.GoACardImage=vt,R.GoACheckbox=yt,R.GoAContainer=_t,R.GoADropdown=Ct,R.GoADropdownItem=At,R.GoAFlexRow=Lt,R.GoAFormItem=It,R.GoAHeroBanner=jt,R.GoAIcon=Dt,R.GoAIconButton=Ot,R.GoAInput=Nt,R.GoAModal=Kt,R.GoANotification=Yt,R.GoAPageBlock=nt,R.GoAPageLayout=Zt,R.GoAPageLoader=ti,R.GoARadioGroup=ii,R.GoARadioItem=ri,R.GoAScrollable=oi,R.GoAServiceLevelHeader=si,R.GoASkeleton=Y,R.GoASpinner=ui,R.GoATextArea=fi,Object.defineProperty(R,"__esModule",{value:!0}),R[Symbol.toStringTag]="Module"});
|
|
66
|
+
`)},m(n,o){v(n,e,o),g(e,t)},p(n,[o]){o&15&&r!==(r=`
|
|
67
|
+
--max-height: ${n[3]};
|
|
68
|
+
overflow-y: ${n[0]==="vertical"?"auto":"hidden"};
|
|
69
|
+
overflow-x: ${n[0]==="horizontal"?"auto":"hidden"};
|
|
70
|
+
margin: ${n[2]}rem 0;
|
|
71
|
+
padding: 0 ${n[1]}rem;
|
|
72
|
+
`)&&u(e,"style",r)},i:w,o:w,d(n){n&&E(e)}}}function qn(i,e,t){let{direction:r="vertical"}=e,{hpadding:n=0}=e,{vpadding:o=0}=e,{height:a=0}=e;return i.$$set=l=>{"direction"in l&&t(0,r=l.direction),"hpadding"in l&&t(1,n=l.hpadding),"vpadding"in l&&t(2,o=l.vpadding),"height"in l&&t(3,a=l.height)},[r,n,o,a]}class Vn extends O{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>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},qn,Gn,N,{direction:0,hpadding:1,vpadding:2,height:3},null),e&&(e.target&&v(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",Vn);function ni(i,e,t){const r=i.slice();return r[4]=e[t],r}function Wn(i){let e,t;return{c(){e=m("div"),u(e,"class",t="skeleton "+i[3]+` ${i[3]}-${i[1]}`)},m(r,n){v(r,e,n)},p(r,n){n&10&&t!==(t="skeleton "+r[3]+` ${r[3]}-${r[1]}`)&&u(e,"class",t)},i:w,o:w,d(r){r&&E(e)}}}function Un(i){let e,t,r=Array(i[2]),n=[];for(let a=0;a<r.length;a+=1)n[a]=oi(ni(i,r,a));const o=a=>Z(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;a<n.length;a+=1)n[a].c();e=ie()},m(a,l){for(let s=0;s<n.length;s+=1)n[s].m(a,l);v(a,e,l),t=!0},p(a,l){if(l&6){r=Array(a[2]);let s;for(s=0;s<r.length;s+=1){const c=ni(a,r,s);n[s]?(n[s].p(c,l),W(n[s],1)):(n[s]=oi(c),n[s].c(),W(n[s],1),n[s].m(e.parentNode,e))}for(ve(),s=r.length;s<n.length;s+=1)o(s);pe()}},i(a){if(!t){for(let l=0;l<r.length;l+=1)W(n[l]);t=!0}},o(a){n=n.filter(Boolean);for(let l=0;l<n.length;l+=1)Z(n[l]);t=!1},d(a){Ae(n,a),a&&E(e)}}}function Zn(i){let e,t,r,n,o,a,l,s,c,d;return r=new de({props:{type:"avatar",size:i[1]}}),a=new de({props:{type:"title",size:i[1]}}),s=new de({props:{type:"text-small",size:i[1]}}),{c(){e=m("div"),t=m("div"),ge(r.$$.fragment),n=H(),o=m("div"),ge(a.$$.fragment),l=H(),ge(s.$$.fragment),u(t,"class","profile-avatar"),u(o,"class","profile-name"),u(e,"class",c="profile profile-"+i[1])},m(f,b){v(f,e,b),g(e,t),se(r,t,null),g(e,n),g(e,o),se(a,o,null),g(o,l),se(s,o,null),d=!0},p(f,b){const y={};b&2&&(y.size=f[1]),r.$set(y);const p={};b&2&&(p.size=f[1]),a.$set(p);const _={};b&2&&(_.size=f[1]),s.$set(_),(!d||b&2&&c!==(c="profile profile-"+f[1]))&&u(e,"class",c)},i(f){d||(W(r.$$.fragment,f),W(a.$$.fragment,f),W(s.$$.fragment,f),d=!0)},o(f){Z(r.$$.fragment,f),Z(a.$$.fragment,f),Z(s.$$.fragment,f),d=!1},d(f){f&&E(e),ce(r),ce(a),ce(s)}}}function Kn(i){let e,t,r,n,o,a,l,s,c;return t=new de({props:{type:"image",size:i[1]}}),o=new de({props:{type:"header",size:i[1]}}),l=new de({props:{type:"lines",size:i[1],count:3}}),{c(){e=m("div"),ge(t.$$.fragment),r=H(),n=m("div"),ge(o.$$.fragment),a=H(),ge(l.$$.fragment),u(n,"class","card-content"),u(e,"class",s="card card-"+i[1]),V(e,"--width",i[0]+"px")},m(d,f){v(d,e,f),se(t,e,null),g(e,r),g(e,n),se(o,n,null),g(n,a),se(l,n,null),c=!0},p(d,f){const b={};f&2&&(b.size=d[1]),t.$set(b);const y={};f&2&&(y.size=d[1]),o.$set(y);const p={};f&2&&(p.size=d[1]),l.$set(p),(!c||f&2&&s!==(s="card card-"+d[1]))&&u(e,"class",s),(!c||f&1)&&V(e,"--width",d[0]+"px")},i(d){c||(W(t.$$.fragment,d),W(o.$$.fragment,d),W(l.$$.fragment,d),c=!0)},o(d){Z(t.$$.fragment,d),Z(o.$$.fragment,d),Z(l.$$.fragment,d),c=!1},d(d){d&&E(e),ce(t),ce(o),ce(l)}}}function oi(i){let e,t;return e=new de({props:{type:"text",size:i[1],count:i[2]}}),{c(){ge(e.$$.fragment)},m(r,n){se(e,r,n),t=!0},p(r,n){const o={};n&2&&(o.size=r[1]),n&4&&(o.count=r[2]),e.$set(o)},i(r){t||(W(e.$$.fragment,r),t=!0)},o(r){Z(e.$$.fragment,r),t=!1},d(r){ce(e,r)}}}function Xn(i){let e,t,r,n;const o=[Kn,Zn,Un,Wn],a=[];function l(s,c){return s[3]==="card"?0:s[3]==="profile"?1:s[3]==="lines"?2:3}return e=l(i),t=a[e]=o[e](i),{c(){t.c(),r=ie(),this.c=w},m(s,c){a[e].m(s,c),v(s,r,c),n=!0},p(s,[c]){let d=e;e=l(s),e===d?a[e].p(s,c):(ve(),Z(a[d],1,1,()=>{a[d]=null}),pe(),t=a[e],t?t.p(s,c):(t=a[e]=o[e](s),t.c()),W(t,1),t.m(r.parentNode,r))},i(s){n||(W(t),n=!0)},o(s){Z(t),n=!1},d(s){a[e].d(s),s&&E(r)}}}function Yn(i,e,t){let{width:r=320}=e,{size:n=1}=e,{linecount:o=3}=e,{type:a}=e;return i.$$set=l=>{"width"in l&&t(0,r=l.width),"size"in l&&t(1,n=l.size),"linecount"in l&&t(2,o=l.linecount),"type"in l&&t(3,a=l.type)},[r,n,o,a]}class de extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--color-gray-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--color-gray-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-3,.text-4{width:100%;height:.75rem;border-radius:0.25rem;margin:6px 0}.title,.title-1,.title-2{width:100%;height:.75rem;border-radius:0.25rem}.title-3{height:.8rem}.title-4{height:1rem}.text-small,.text-small-1{width:30%;height:6px;border-radius:2px}.text-small-2{width:40%;height:8px;border-radius:2px}.text-small-3{width:50%;height:10px;border-radius:3px}.text-small-4{width:70%;height:12px;border-radius:4px}.paragraph{width:100%;height:70px;border-radius:4px}.header,.header-1{width:50%;height:18px;margin:12px 0;border-radius:0.25rem}.header-2{width:60%;height:20px;margin:14px 0;border-radius:0.25rem}.header-3{width:70%;height:22px;margin:16px 0;border-radius:0.25rem}.header-4{width:80%;height:24px;margin:18px 0;border-radius:0.3rem}.avatar{display:inline-block}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail{display:inline-block}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card{display:inline-block}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--color-gray-100);border-radius:4px}.card{width:100%}@media(min-width: 320px){.card{width:var(--width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Yn,Xn,N,{width:0,size:1,linecount:2,type:3},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["width","size","linecount","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 linecount(){return this.$$.ctx[2]}set linecount(e){this.$$set({linecount:e}),h()}get type(){return this.$$.ctx[3]}set type(e){this.$$set({type:e}),h()}}customElements.define("goa-skeleton",de);function ai(i){return Object.prototype.toString.call(i)==="[object Date]"}function Ye(i,e){if(i===e||i!==i)return()=>i;const t=typeof i;if(t!==typeof e||Array.isArray(i)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(i)){const r=e.map((n,o)=>Ye(i[o],n));return n=>r.map(o=>o(n))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(ai(i)&&ai(e)){i=i.getTime(),e=e.getTime();const o=e-i;return a=>new Date(i+a*o)}const r=Object.keys(e),n={};return r.forEach(o=>{n[o]=Ye(i[o],e[o])}),o=>{const a={};return r.forEach(l=>{a[l]=n[l](o)}),a}}if(t==="number"){const r=e-i;return n=>i+n*r}throw new Error(`Cannot interpolate ${t} values`)}function Jn(i,e={}){const t=_t(i);let r,n=i;function o(a,l){if(i==null)return t.set(i=a),Promise.resolve();n=a;let s=r,c=!1,{delay:d=0,duration:f=400,easing:b=ke,interpolate:y=Ye}=Je(Je({},e),l);if(f===0)return s&&(s.abort(),s=null),t.set(i=n),Promise.resolve();const p=Te()+d;let _;return r=Re(L=>{if(L<p)return!0;c||(_=y(i,a),typeof f=="function"&&(f=f(i,a)),c=!0),s&&(s.abort(),s=null);const x=L-p;return x>f?(t.set(i=a),!1):(t.set(i=_(b(x/f))),!0)}),r.promise}return{set:o,update:(a,l)=>o(a(n,i),l),subscribe:t.subscribe}}function li(i){let e,t,r,n,o,a,l,s,c;return{c(){e=fe("svg"),t=fe("circle"),o=fe("path"),u(t,"cx",i[3]),u(t,"cy",i[3]),u(t,"stroke",r=i[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),u(t,"stroke-width",i[4]),u(t,"r",n=i[3]-i[4]/2),u(o,"d",a=i[9](i[7])),u(o,"stroke-width",i[4]),u(o,"stroke",l=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),u(o,"stroke-linecap","round"),u(e,"class",s=`spinner-${i[2]}`),u(e,"fill","none"),u(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),u(e,"width",i[5]),u(e,"height",i[5]),u(e,"data-testid",i[1]),u(e,"xmlns","http://www.w3.org/2000/svg")},m(d,f){v(d,e,f),g(e,t),g(e,o)},p(d,f){f&8&&u(t,"cx",d[3]),f&8&&u(t,"cy",d[3]),f&1&&r!==(r=d[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&u(t,"stroke",r),f&16&&u(t,"stroke-width",d[4]),f&24&&n!==(n=d[3]-d[4]/2)&&u(t,"r",n),f&128&&a!==(a=d[9](d[7]))&&u(o,"d",a),f&16&&u(o,"stroke-width",d[4]),f&1&&l!==(l=d[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&u(o,"stroke",l),f&4&&s!==(s=`spinner-${d[2]}`)&&u(e,"class",s),f&32&&c!==(c="0 0 "+d[5]+" "+d[5])&&u(e,"viewBox",c),f&32&&u(e,"width",d[5]),f&32&&u(e,"height",d[5]),f&2&&u(e,"data-testid",d[1])},d(d){d&&E(e)}}}function Qn(i){let e,t=i[6]&&li(i);return{c(){t&&t.c(),e=ie(),this.c=w},m(r,n){t&&t.m(r,n),v(r,e,n)},p(r,[n]){r[6]?t?t.p(r,n):(t=li(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:w,o:w,d(r){t&&t.d(r),r&&E(e)}}}function $n(i,e,t){let r,n,o,a,l,s,{size:c}=e,{invert:d=!1}=e,{progress:f=-1}=e,{testid:b=""}=e,y="infinite";const p=Jn(0,{duration:500,easing:pr});bi(i,p,x=>t(7,s=x));function _(x){const M=o+a*Math.cos(x),z=o+a*Math.sin(x);return M+" "+z}function L(x){switch(y){case"progress":{const M=_(-Math.PI/2),z=_(-Math.PI/2+2*Math.PI*(x/100)),k=x%100<50?0:1;return`M ${M} A ${a} ${a} 0 ${k} 1 ${z}`}case"infinite":{const M=_(Math.PI*1.5),z=_(0);return`M ${M} A ${a} ${a} 0 1 0 ${z}`}}}return i.$$set=x=>{"size"in x&&t(10,c=x.size),"invert"in x&&t(0,d=x.invert),"progress"in x&&t(11,f=x.progress),"testid"in x&&t(1,b=x.testid)},i.$$.update=()=>{if(i.$$.dirty&2048){const x=parseFloat(f+"");x>=0&&(p.set(x||1),t(2,y="progress"))}i.$$.dirty&1024&&t(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,n=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,o=r/2),i.$$.dirty&24&&t(12,a=o-n/2),i.$$.dirty&6148&&t(6,l=y==="infinite"?a:a&&f)},[d,b,y,o,n,r,l,s,p,L,c,f,a]}class eo extends O{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>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},$n,Qn,N,{size:10,invert:0,progress:11,testid:1},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["size","invert","progress","testid"]}get size(){return this.$$.ctx[10]}set size(e){this.$$set({size:e}),h()}get invert(){return this.$$.ctx[0]}set invert(e){this.$$set({invert:e}),h()}get progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),h()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-spinner",eo);function si(i){let e;function t(o,a){if(o[7]>0)return io;if(o[1].length>0)return to}let r=t(i),n=r&&r(i);return{c(){n&&n.c(),e=ie()},m(o,a){n&&n.m(o,a),v(o,e,a)},p(o,a){r===(r=t(o))&&n?n.p(o,a):(n&&n.d(1),n=r&&r(o),n&&(n.c(),n.m(e.parentNode,e)))},d(o){n&&n.d(o),o&&E(e)}}}function to(i){let e,t=i[1].length+"",r;return{c(){e=m("div"),r=F(t),u(e,"class","counter")},m(n,o){v(n,e,o),g(e,r)},p(n,o){o&2&&t!==(t=n[1].length+"")&&q(r,t)},d(n){n&&E(e)}}}function io(i){let e,t=i[1].length+"",r,n=`/${i[7]}`,o;return{c(){e=m("div"),r=F(t),o=F(n),u(e,"class","counter"),B(e,"counter-error",i[1].length>i[7])},m(a,l){v(a,e,l),g(e,r),g(e,o)},p(a,l){l&2&&t!==(t=a[1].length+"")&&q(r,t),l&128&&n!==(n=`/${a[7]}`)&&q(o,n),l&130&&B(e,"counter-error",a[1].length>a[7])},d(a){a&&E(e)}}}function ro(i){let e,t,r,n,o,a,l,s=i[9]&&si(i);return{c(){e=m("div"),t=m("textarea"),n=H(),s&&s.c(),this.c=w,u(t,"name",i[0]),u(t,"placeholder",i[2]),t.value=i[1],u(t,"rows",i[3]),u(t,"aria-label",r=i[6]||i[0]),u(t,"class","goa-textarea"),t.disabled=i[8],t.readOnly=i[10],u(t,"data-testid",i[4]),B(t,"error",i[11]),u(e,"class","container"),u(e,"style",o=`
|
|
73
|
+
--width: ${i[5]};
|
|
74
|
+
`)},m(c,d){v(c,e,d),g(e,t),g(e,n),s&&s.m(e,null),a||(l=U(t,"keyup",i[12]),a=!0)},p(c,[d]){d&1&&u(t,"name",c[0]),d&4&&u(t,"placeholder",c[2]),d&2&&(t.value=c[1]),d&8&&u(t,"rows",c[3]),d&65&&r!==(r=c[6]||c[0])&&u(t,"aria-label",r),d&256&&(t.disabled=c[8]),d&1024&&(t.readOnly=c[10]),d&16&&u(t,"data-testid",c[4]),d&2048&&B(t,"error",c[11]),c[9]?s?s.p(c,d):(s=si(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),d&32&&o!==(o=`
|
|
75
|
+
--width: ${c[5]};
|
|
76
|
+
`)&&u(e,"style",o)},i:w,o:w,d(c){c&&E(e),s&&s.d(),a=!1,l()}}}function no(i,e,t){let r,n,o,a,{name:l}=e,{value:s=""}=e,{placeholder:c=""}=e,{rows:d=3}=e,{testid:f=""}=e,{width:b="60ch"}=e,{error:y="false"}=e,{readonly:p="false"}=e,{disabled:_="false"}=e,{arialabel:L=""}=e,{showcounter:x="false"}=e,{maxcharcount:M=0}=e;function z(k){const R=k.target.value;n||(k.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:k,name:l,value:R}})),k.stopPropagation())}return i.$$set=k=>{"name"in k&&t(0,l=k.name),"value"in k&&t(1,s=k.value),"placeholder"in k&&t(2,c=k.placeholder),"rows"in k&&t(3,d=k.rows),"testid"in k&&t(4,f=k.testid),"width"in k&&t(5,b=k.width),"error"in k&&t(13,y=k.error),"readonly"in k&&t(14,p=k.readonly),"disabled"in k&&t(15,_=k.disabled),"arialabel"in k&&t(6,L=k.arialabel),"showcounter"in k&&t(16,x=k.showcounter),"maxcharcount"in k&&t(7,M=k.maxcharcount)},i.$$.update=()=>{i.$$.dirty&8192&&t(11,r=G(y)),i.$$.dirty&32768&&t(8,n=G(_)),i.$$.dirty&16384&&t(10,o=G(p)),i.$$.dirty&65536&&t(9,a=G(x))},[l,s,c,d,f,b,L,M,n,a,o,r,z,y,p,_,x]}class oo extends O{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.container{position:relative;width:100%}@media(min-width: 640px){.container{max-width:var(--width)}}.goa-textarea{display:block;width:100%;box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:3px;background:var(--color-white);color:var(--color-black, #ccc);padding:var(--textarea-padding-vertical, 0.5rem) var(--textarea-padding-horizontal, 0.5rem);font-size:var(--input-font-size);font-family:var(--font-family);min-width:100%}@media(min-width: 640px){.goa-textarea{min-width:0;width:var(--width)}}.goa-textarea[readonly]{cursor:pointer}.goa-textarea:hover{border-color:var(--goa-color-interactive--hover)}.goa-textarea:active,.goa-textarea:focus,.goa-textarea:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}.goa-textarea:disabled{border-color:var(--color-gray-200)}.goa-textarea:disabled:hover{border-color:var(--color-gray-200)}.goa-textarea:disabled:focus,.goa-textarea:disabled:active{box-shadow:none}.counter{position:absolute;right:0;padding-top:0.25rem;font-size:var(--fs-sm)}.counter-error{color:var(--goa-color-interactive--error)
|
|
77
|
+
}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}</style>`,P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},no,ro,N,{name:0,value:1,placeholder:2,rows:3,testid:4,width:5,error:13,readonly:14,disabled:15,arialabel:6,showcounter:16,maxcharcount:7},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","placeholder","rows","testid","width","error","readonly","disabled","arialabel","showcounter","maxcharcount"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),h()}get placeholder(){return this.$$.ctx[2]}set placeholder(e){this.$$set({placeholder:e}),h()}get rows(){return this.$$.ctx[3]}set rows(e){this.$$set({rows:e}),h()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),h()}get width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),h()}get error(){return this.$$.ctx[13]}set error(e){this.$$set({error:e}),h()}get readonly(){return this.$$.ctx[14]}set readonly(e){this.$$set({readonly:e}),h()}get disabled(){return this.$$.ctx[15]}set disabled(e){this.$$set({disabled:e}),h()}get arialabel(){return this.$$.ctx[6]}set arialabel(e){this.$$set({arialabel:e}),h()}get showcounter(){return this.$$.ctx[16]}set showcounter(e){this.$$set({showcounter:e}),h()}get maxcharcount(){return this.$$.ctx[7]}set maxcharcount(e){this.$$set({maxcharcount:e}),h()}}customElements.define("goa-textarea",oo);function ao(i){let e;return{c(){e=m("div"),e.innerHTML=`<section class="header"><slot name="header"></slot></section>
|
|
78
|
+
|
|
79
|
+
<main><slot></slot></main>
|
|
80
|
+
|
|
81
|
+
<section class="footer"><slot name="footer"></slot></section>`,this.c=w,u(e,"class","page")},m(t,r){v(t,e,r)},p:w,i:w,o:w,d(t){t&&E(e)}}}class lo extends O{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>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,ao,N,{},null),e&&e.target&&v(e.target,this,e.anchor)}}customElements.define("goa-one-column-layout",lo);function so(i){let e,t,r,n,o,a,l;return{c(){e=m("div"),t=m("header"),t.innerHTML='<slot name="header"></slot>',r=H(),n=m("section"),n.innerHTML=`<nav class="nav"><slot name="nav"></slot></nav>
|
|
82
|
+
|
|
83
|
+
<main><slot></slot></main>`,o=H(),a=m("footer"),a.innerHTML='<slot name="footer"></slot>',this.c=w,u(t,"class","header"),u(n,"class","content"),u(a,"class","footer"),u(e,"class","page"),u(e,"style",l=`
|
|
84
|
+
--max-content-width: ${i[1]||"100%"};
|
|
85
|
+
--nav-column-width: ${i[0]||"var(--layout-nav-column-width)"};
|
|
86
|
+
`)},m(s,c){v(s,e,c),g(e,t),g(e,r),g(e,n),g(e,o),g(e,a)},p(s,[c]){c&3&&l!==(l=`
|
|
87
|
+
--max-content-width: ${s[1]||"100%"};
|
|
88
|
+
--nav-column-width: ${s[0]||"var(--layout-nav-column-width)"};
|
|
89
|
+
`)&&u(e,"style",l)},i:w,o:w,d(s){s&&E(e)}}}function co(i,e,t){let{navcolumnwidth:r=""}=e,{maxcontentwidth:n=""}=e;return i.$$set=o=>{"navcolumnwidth"in o&&t(0,r=o.navcolumnwidth),"maxcontentwidth"in o&&t(1,n=o.maxcontentwidth)},[r,n]}class uo extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box}.page{height:100vh;display:flex;flex-direction:column;position:relative}.content{flex:1 1 auto;position:relative;display:flex;flex-direction:column;gap:2rem}.header,.footer{flex:0 0 auto}main{flex:1 1 auto;padding:0 1rem}.nav{padding:0 1rem;transition:transform 200ms ease-in-out;background-color:var(--color-white)}.nav>*{display:block;padding:0.5rem 0}@media(min-width: 640px){.page{gap:2rem}.content{display:flex;flex-direction:row;justify-content:center;width:min(var(--max-content-width), 100vw);margin:0 auto}.nav{padding:0 2rem}main{padding-right:2rem}}@media(min-width: 1300px){main{padding-right:4.5rem}}@media(min-width: 640px){.nav{transform:translateX(0);flex:0 0 var(--nav-column-width)}}</style>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},co,so,N,{navcolumnwidth:0,maxcontentwidth:1},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["navcolumnwidth","maxcontentwidth"]}get navcolumnwidth(){return this.$$.ctx[0]}set navcolumnwidth(e){this.$$set({navcolumnwidth:e}),h()}get maxcontentwidth(){return this.$$.ctx[1]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),h()}}customElements.define("goa-two-column-layout",uo);function fo(i){let e;return{c(){e=m("div"),e.innerHTML=`<header class="header"><slot name="header"></slot></header>
|
|
90
|
+
|
|
91
|
+
<nav class="nav"><slot name="nav"></slot></nav>
|
|
92
|
+
|
|
93
|
+
<main><slot></slot></main>
|
|
94
|
+
|
|
95
|
+
<footer class="footer"><slot name="footer"></slot></footer>`,this.c=w,u(e,"class","page")},m(t,r){v(t,e,r)},p:w,i:w,o:w,d(t){t&&E(e)}}}class ho extends O{constructor(e){super();this.shadowRoot.innerHTML=`<style>.page{height:100vh;grid-template-columns:auto;grid-template-rows:min-content auto min-content;grid-template-areas:"header"
|
|
96
|
+
"content"
|
|
97
|
+
"nav"
|
|
98
|
+
"footer";display:grid;place-content:stretch stretch;gap:0 0}@media(min-width: 640px){.page{grid-template-columns:300px auto;grid-template-rows:min-content auto min-content;grid-template-areas:"header header"
|
|
99
|
+
"nav content"
|
|
100
|
+
"footer footer"}}.header{grid-area:header}.footer{grid-area:footer}main{grid-area:content;justify-self:stretch;padding:1rem}.nav{grid-area:nav;padding:1rem;background-color:var(--color-gray-100)}</style>`,P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,fo,N,{},null),e&&e.target&&v(e.target,this,e.anchor)}}customElements.define("goa-layout-full-nav",ho);function ci(i){let e,t;return{c(){e=m("div"),t=F(i[0]),u(e,"slot","title"),u(e,"class","title")},m(r,n){v(r,e,n),g(e,t)},p(r,n){n&1&&q(t,r[0])},d(r){r&&E(e)}}}function di(i){let e;return{c(){e=m("div"),u(e,"class","actions"),u(e,"slot","actions")},m(t,r){v(t,e,r),e.innerHTML=i[1]},p(t,r){r&2&&(e.innerHTML=t[1])},d(t){t&&E(e)}}}function go(i){let e,t,r,n,o=i[0]&&ci(i),a=i[1]&&di(i);return{c(){e=m("goa-container"),o&&o.c(),t=H(),a&&a.c(),r=H(),n=m("div"),this.c=w,u(n,"class","content"),u(n,"slot",""),C(e,"type",i[3]),C(e,"accent",i[4])},m(l,s){v(l,e,s),o&&o.m(e,null),g(e,t),a&&a.m(e,null),g(e,r),g(e,n),n.innerHTML=i[2]},p(l,[s]){l[0]?o?o.p(l,s):(o=ci(l),o.c(),o.m(e,t)):o&&(o.d(1),o=null),l[1]?a?a.p(l,s):(a=di(l),a.c(),a.m(e,r)):a&&(a.d(1),a=null),s&4&&(n.innerHTML=l[2]),s&8&&C(e,"type",l[3]),s&16&&C(e,"accent",l[4])},i:w,o:w,d(l){l&&E(e),o&&o.d(),a&&a.d()}}}function mo(i,e,t){let{title:r}=e,{actions:n=""}=e,{content:o}=e,{type:a="default"}=e,{accent:l="thick"}=e;return i.$$set=s=>{"title"in s&&t(0,r=s.title),"actions"in s&&t(1,n=s.actions),"content"in s&&t(2,o=s.content),"type"in s&&t(3,a=s.type),"accent"in s&&t(4,l=s.accent)},[r,n,o,a,l]}class bo extends O{constructor(e){super();P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},mo,go,N,{title:0,actions:1,content:2,type:3,accent:4},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["title","actions","content","type","accent"]}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 type(){return this.$$.ctx[3]}set type(e){this.$$set({type:e}),h()}get accent(){return this.$$.ctx[4]}set accent(e){this.$$set({accent:e}),h()}}customElements.define("test-container",bo);function vo(i){let e;return{c(){e=m("hr"),this.c=w,V(e,"--spacing",i[0])},m(t,r){v(t,e,r)},p(t,[r]){r&1&&V(e,"--spacing",t[0])},i:w,o:w,d(t){t&&E(e)}}}function po(i,e,t){let r,{spacing:n=""}=e;const o=["small","medium","large"];function a(l){return o.includes(l)}return Q(()=>{if(!a(n))throw"Invalid spacing"}),i.$$set=l=>{"spacing"in l&&t(1,n=l.spacing)},i.$$.update=()=>{i.$$.dirty&2&&t(0,r={small:"1rem",medium:"2rem",large:"4rem"}[n])},[r,n]}class wo extends O{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>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},po,vo,N,{spacing:1},null),e&&(e.target&&v(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",wo)});
|