@abgov/web-components 1.2.0 → 1.4.0
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 +2906 -2698
- package/web-components.umd.js +86 -78
package/web-components.umd.js
CHANGED
|
@@ -1,131 +1,139 @@
|
|
|
1
|
-
(function(
|
|
2
|
-
`;for(let
|
|
3
|
-
`}const
|
|
4
|
-
}`,f=`__svelte_${Mi(u)}_${o}`,m=st(i),{stylesheet:_,rules:w}=Ie.get(m)||Li(m,i);w[f]||(w[f]=!0,_.insertRule(`@keyframes ${f} ${u}`,_.cssRules.length));const C=i.style.animation||"";return i.style.animation=`${C?`${C}, `:""}${f} ${r}ms linear ${n}ms 1 both`,Pe+=1,f}function qe(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?l=>l.indexOf(e)<0:l=>l.indexOf("__svelte")===-1),n=t.length-r.length;n&&(i.style.animation=r.join(", "),Pe-=n,Pe||Ti())}function Ti(){Je(()=>{Pe||(Ie.forEach(i=>{const{ownerNode:e}=i.stylesheet;e&&T(e)}),Ie.clear())})}let Re;function Ae(i){Re=i}function ct(){if(!Re)throw new Error("Function called outside component initialization");return Re}function Q(i){ct().$$.on_mount.push(i)}function ut(i){ct().$$.on_destroy.push(i)}const He=[],te=[],Ge=[],dt=[],ft=Promise.resolve();let Qe=!1;function ht(){Qe||(Qe=!0,ft.then(h))}function ue(){return ht(),ft}function re(i){Ge.push(i)}const $e=new Set;let Ve=0;function h(){const i=Re;do{for(;Ve<He.length;){const e=He[Ve];Ve++,Ae(e),Ri(e.$$)}for(Ae(null),He.length=0,Ve=0;te.length;)te.pop()();for(let e=0;e<Ge.length;e+=1){const t=Ge[e];$e.has(t)||($e.add(t),t())}Ge.length=0}while(He.length);for(;dt.length;)dt.pop()();Qe=!1,$e.clear(),Ae(i)}function Ri(i){if(i.fragment!==null){i.update(),ee(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(re)}}let Be;function et(){return Be||(Be=Promise.resolve(),Be.then(()=>{Be=null})),Be}function ve(i,e,t){i.dispatchEvent(zi(`${e?"intro":"outro"}${t}`))}const Ue=new Set;let ne;function xe(){ne={r:0,c:[],p:ne}}function Ee(){ne.r||ee(ne.c),ne=ne.p}function U(i,e){i&&i.i&&(Ue.delete(i),i.i(e))}function Y(i,e,t,r){if(i&&i.o){if(Ue.has(i))return;Ue.add(i),ne.c.push(()=>{Ue.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}else r&&r()}const tt={duration:0};function mt(i,e,t){let r=e(i,t),n=!1,l,a,o=0;function s(){l&&qe(i,l)}function c(){const{delay:f=0,duration:m=300,easing:_=Te,tick:w=y,css:C}=r||tt;C&&(l=Fe(i,0,1,m,f,_,C,o++)),w(0,1);const p=Ne()+f,E=p+m;a&&a.abort(),n=!0,re(()=>ve(i,!0,"start")),a=je(x=>{if(n){if(x>=E)return w(1,0),ve(i,!0,"end"),s(),n=!1;if(x>=p){const L=_((x-p)/m);w(L,1-L)}}return n})}let u=!1;return{start(){u||(u=!0,qe(i),ce(r)?(r=r(),et().then(c)):c())},invalidate(){u=!1},end(){n&&(s(),n=!1)}}}function gt(i,e,t){let r=e(i,t),n=!0,l;const a=ne;a.r+=1;function o(){const{delay:s=0,duration:c=300,easing:u=Te,tick:f=y,css:m}=r||tt;m&&(l=Fe(i,1,0,c,s,u,m));const _=Ne()+s,w=_+c;re(()=>ve(i,!1,"start")),je(C=>{if(n){if(C>=w)return f(0,1),ve(i,!1,"end"),--a.r||ee(a.c),!1;if(C>=_){const p=u((C-_)/c);f(1-p,p)}}return n})}return ce(r)?et().then(()=>{r=r(),o()}):o(),{end(s){s&&r.tick&&r.tick(1,0),n&&(l&&qe(i,l),n=!1)}}}function We(i,e,t,r){let n=e(i,t),l=r?0:1,a=null,o=null,s=null;function c(){s&&qe(i,s)}function u(m,_){const w=m.b-l;return _*=Math.abs(w),{a:l,b:m.b,d:w,duration:_,start:m.start,end:m.start+_,group:m.group}}function f(m){const{delay:_=0,duration:w=300,easing:C=Te,tick:p=y,css:E}=n||tt,x={start:Ne()+_,b:m};m||(x.group=ne,ne.r+=1),a||o?o=x:(E&&(c(),s=Fe(i,l,m,w,_,C,E)),m&&p(0,1),a=u(x,w),re(()=>ve(i,m,"start")),je(L=>{if(o&&L>o.start&&(a=u(o,w),o=null,ve(i,a.b,"start"),E&&(c(),s=Fe(i,l,a.b,a.duration,0,C,n.css))),a){if(L>=a.end)p(l=a.b,1-l),ve(i,a.b,"end"),o||(a.b?c():--a.group.r||ee(a.group.c)),a=null;else if(L>=a.start){const z=L-a.start;l=a.a+a.d*C(z/a.duration),p(l,1-l)}}return!!(a||o)}))}return{run(m){ce(n)?et().then(()=>{n=n(),f(m)}):f(m)},end(){c(),a=o=null}}}function Ai(i,e){i.d(1),e.delete(i.key)}function Hi(i,e,t,r,n,l,a,o,s,c,u,f){let m=i.length,_=l.length,w=m;const C={};for(;w--;)C[i[w].key]=w;const p=[],E=new Map,x=new Map;for(w=_;w--;){const v=f(n,l,w),F=t(v);let H=a.get(F);H?r&&H.p(v,e):(H=c(F,v),H.c()),E.set(F,p[w]=H),F in C&&x.set(F,Math.abs(w-C[F]))}const L=new Set,z=new Set;function R(v){U(v,1),v.m(o,u),a.set(v.key,v),u=v.first,_--}for(;m&&_;){const v=p[_-1],F=i[m-1],H=v.key,W=F.key;v===F?(u=v.first,m--,_--):E.has(W)?!a.has(H)||L.has(H)?R(v):z.has(W)?m--:x.get(H)>x.get(W)?(z.add(H),R(v)):(L.add(W),m--):(s(F,a),m--)}for(;m--;){const v=i[m];E.has(v.key)||s(v,a)}for(;_;)R(p[_-1]);return p}function we(i){i&&i.c()}function de(i,e,t,r){const{fragment:n,after_update:l}=i.$$;n&&n.m(e,t),r||re(()=>{const a=i.$$.on_mount.map(Ze).filter(ce);i.$$.on_destroy?i.$$.on_destroy.push(...a):ee(a),i.$$.on_mount=[]}),l.forEach(re)}function fe(i,e){const t=i.$$;t.fragment!==null&&(ee(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function Bi(i,e){i.$$.dirty[0]===-1&&(He.push(i),ht(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function I(i,e,t,r,n,l,a,o=[-1]){const s=Re;Ae(i);const c=i.$$={fragment:null,ctx:[],props:l,update:y,not_equal:n,bound:nt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:nt(),dirty:o,skip_bound:!1,root:e.target||s.$$.root};a&&a(c.root);let u=!1;if(c.ctx=t?t(i,e.props||{},(f,m,..._)=>{const w=_.length?_[0]:m;return c.ctx&&n(c.ctx[f],c.ctx[f]=w)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](w),u&&Bi(i,f)),m}):[],c.update(),u=!0,ee(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=Ci(e.target);c.fragment&&c.fragment.l(f),f.forEach(T)}else c.fragment&&c.fragment.c();e.intro&&U(i.$$.fragment),de(i,e.target,e.anchor,e.customElement),h()}Ae(s)}let N;typeof HTMLElement=="function"&&(N=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(Ze).filter(ce);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){ee(this.$$.on_disconnect)}$destroy(){fe(this,1),this.$destroy=y}$on(i,e){if(!ce(e))return y;const t=this.$$.callbacks[i]||(this.$$.callbacks[i]=[]);return t.push(e),()=>{const r=t.indexOf(e);r!==-1&&t.splice(r,1)}}$set(i){this.$$set&&!_i(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});function Si(i){let e,t,r,n,l,a,o,s,c;return{c(){e=b("div"),t=b("img"),n=A(),l=b("img"),o=A(),s=b("span"),c=q(i[0]),d(t,"alt","GoA Logo"),d(t,"class","image-mobile"),De(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")||d(t,"src",r),d(l,"alt","GoA Logo"),d(l,"class","image-desktop"),De(l.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")||d(l,"src",a),d(s,"class","title"),d(e,"class","app-link")},m(u,f){k(u,e,f),g(e,t),g(e,n),g(e,l),g(e,o),g(e,s),g(s,c)},p(u,f){f&1&&K(c,u[0])},d(u){u&&T(e)}}}function Di(i){let e,t,r,n,l,a,o,s,c;return{c(){e=b("a"),t=b("img"),n=A(),l=b("img"),o=A(),s=b("span"),c=q(i[0]),d(t,"alt","GoA Logo"),d(t,"class","image-mobile"),De(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")||d(t,"src",r),d(l,"alt","GoA Logo"),d(l,"class","image-desktop"),De(l.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")||d(l,"src",a),d(s,"class","title"),d(e,"href",i[1]),d(e,"class","app-link")},m(u,f){k(u,e,f),g(e,t),g(e,n),g(e,l),g(e,o),g(e,s),g(s,c)},p(u,f){f&1&&K(c,u[0]),f&2&&d(e,"href",u[1])},d(u){u&&T(e)}}}function Ni(i){let e,t,r,n,l;function a(c,u){return c[1]?Di:Si}let o=a(i),s=o(i);return{c(){e=b("div"),t=b("div"),s.c(),r=A(),n=b("div"),n.innerHTML="<slot></slot>",this.c=y,d(t,"class","content"),d(e,"class","app-header"),d(e,"data-testid",i[2]),d(e,"style",l=`--max-content-width: ${i[3]||"100%"}`)},m(c,u){k(c,e,u),g(e,t),s.m(t,null),g(t,r),g(t,n)},p(c,[u]){o===(o=a(c))&&s?s.p(c,u):(s.d(1),s=o(c),s&&(s.c(),s.m(t,r))),u&4&&d(e,"data-testid",c[2]),u&8&&l!==(l=`--max-content-width: ${c[3]||"100%"}`)&&d(e,"style",l)},i:y,o:y,d(c){c&&T(e),s.d()}}}function ji(i,e,t){let{heading:r=""}=e,{url:n=""}=e,{testid:l=""}=e,{maxcontentwidth:a=""}=e;return i.$$set=o=>{"heading"in o&&t(0,r=o.heading),"url"in o&&t(1,n=o.url),"testid"in o&&t(2,l=o.testid),"maxcontentwidth"in o&&t(3,a=o.maxcontentwidth)},[r,n,l,a]}class Oi extends N{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:1.5rem 1.125rem}}.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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},ji,Ni,D,{heading:0,url:1,testid:2,maxcontentwidth:3},null),e&&(e.target&&k(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",Oi);function P(i,e,t,r){return[i&&`margin-top:var(--goa-spacing-${i});`,e&&`margin-right:var(--goa-spacing-${e});`,t&&`margin-bottom:var(--goa-spacing-${t});`,r&&`margin-left:var(--goa-spacing-${r});`].join(" ")}function bt(i,e,t,r){const n=document.createElement("style"),l=Object.entries(t).map(a=>`${a[0]}: ${a[1]};`).join(" ");r?n.innerHTML=`@media (${r}) { ${e} {${l}} }`:n.innerHTML=`${e} {${l}}`,i.appendChild(n)}function V(i){return i==="false"?!1:i===""?!0:!!i}function Ii(i){return i?"true":"false"}function Pi(i,e){Object.entries(e).forEach(t=>{t[1]||console.error(`${i}: ${t[0]} is required`)})}function Ce(i,e,t=!1){return[e,n=>{!t&&!n||e.includes(n)||console.error(`[${n}] is an invalid ${i.toLowerCase()}`)}]}function Fi(i){let e;return{c(){e=b("div"),Z(e,"height","1.2rem"),Z(e,"margin-left","-0.25rem")},m(t,r){k(t,e,r)},p:y,d(t){t&&T(e)}}}function qi(i){let e;return{c(){e=b("goa-icon"),M(e,"type",i[8]),M(e,"size","small")},m(t,r){k(t,e,r)},p(t,r){r&256&&M(e,"type",t[8])},d(t){t&&T(e)}}}function vt(i){let e,t;return{c(){e=b("div"),t=q(i[2]),d(e,"class","goa-badge-content")},m(r,n){k(r,e,n),g(e,t)},p(r,n){n&4&&K(t,r[2])},d(r){r&&T(e)}}}function Gi(i){let e,t,r,n;function l(c,u){return c[7]?qi:Fi}let a=l(i),o=a(i),s=i[2]&&vt(i);return{c(){e=b("div"),o.c(),t=A(),s&&s.c(),this.c=y,d(e,"style",r=P(i[3],i[4],i[5],i[6])),d(e,"data-testid",i[1]),d(e,"data-type","goa-badge"),d(e,"class",n="goa-badge badge-"+i[0]),j(e,"icon-only",i[7]&&!i[2])},m(c,u){k(c,e,u),o.m(e,null),g(e,t),s&&s.m(e,null)},p(c,[u]){a===(a=l(c))&&o?o.p(c,u):(o.d(1),o=a(c),o&&(o.c(),o.m(e,t))),c[2]?s?s.p(c,u):(s=vt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),u&120&&r!==(r=P(c[3],c[4],c[5],c[6]))&&d(e,"style",r),u&2&&d(e,"data-testid",c[1]),u&1&&n!==(n="goa-badge badge-"+c[0])&&d(e,"class",n),u&133&&j(e,"icon-only",c[7]&&!c[2])},i:y,o:y,d(c){c&&T(e),o.d(),s&&s.d()}}}function Vi(i,e,t){let r,n,{type:l}=e,{testid:a=""}=e,{content:o=""}=e,{icon:s="false"}=e,{mt:c=null}=e,{mr:u=null}=e,{mb:f=null}=e,{ml:m=null}=e;return Q(()=>{!r&&!o&&console.warn("GoABadge must have either then content or icon property set")}),i.$$set=_=>{"type"in _&&t(0,l=_.type),"testid"in _&&t(1,a=_.testid),"content"in _&&t(2,o=_.content),"icon"in _&&t(9,s=_.icon),"mt"in _&&t(3,c=_.mt),"mr"in _&&t(4,u=_.mr),"mb"in _&&t(5,f=_.mb),"ml"in _&&t(6,m=_.ml)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=V(s)),i.$$.dirty&1&&t(8,n={success:"checkmark-circle",important:"alert-circle",information:"information-circle",emergency:"warning",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[l])},[l,a,o,c,u,f,m,r,n,s]}class Ui extends N{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)}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm);padding-bottom:var(
|
|
1
|
+
(function(E){typeof define=="function"&&define.amd?define(E):E()})(function(){"use strict";function E(){}const Me=i=>i;function lt(i,e){for(const t in e)i[t]=e[t];return i}function Qe(i){return i()}function at(){return Object.create(null)}function le(i){i.forEach(Qe)}function ue(i){return typeof i=="function"}function I(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let De;function Ne(i,e){return De||(De=document.createElement("a")),De.href=e,i===De.href}function yi(i){return Object.keys(i).length===0}function ki(i,...e){if(i==null)return E;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function pi(i,e,t){i.$$.on_destroy.push(ki(e,t))}function ot(i){return i&&ue(i.destroy)?i.destroy:E}const st=typeof window!="undefined";let Oe=st?()=>window.performance.now():()=>Date.now(),$e=st?i=>requestAnimationFrame(i):E;const pe=new Set;function ct(i){pe.forEach(e=>{e.c(i)||(pe.delete(e),e.f())}),pe.size!==0&&$e(ct)}function je(i){let e;return pe.size===0&&$e(ct),{promise:new Promise(t=>{pe.add(e={c:i,f:t})}),abort(){pe.delete(e)}}}function b(i,e){i.appendChild(e)}function dt(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function Ei(i){const e=v("style");return xi(dt(i),e),e.sheet}function xi(i,e){return b(i.head||i,e),e.sheet}function p(i,e,t){i.insertBefore(e,t||null)}function M(i){i.parentNode.removeChild(i)}function Ie(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function v(i){return document.createElement(i)}function be(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function G(i){return document.createTextNode(i)}function S(){return G(" ")}function ve(){return G("")}function Y(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 z(i,e,t){e in i?i[e]=typeof i[e]=="boolean"&&t===""?!0:t:u(i,e,t)}function Ci(i){return Array.from(i.childNodes)}function K(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function Q(i,e,t,r){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,r?"important":"")}function j(i,e,t){i.classList[t?"add":"remove"](e)}function zi(i,e,{bubbles:t=!1,cancelable:r=!1}={}){const n=document.createEvent("CustomEvent");return n.initCustomEvent(i,t,r,e),n}function q(i){const e={};for(const t of i)e[t.name]=t.value;return e}const Pe=new Map;let qe=0;function Ti(i){let e=5381,t=i.length;for(;t--;)e=(e<<5)-e^i.charCodeAt(t);return e>>>0}function Mi(i,e){const t={stylesheet:Ei(e),rules:{}};return Pe.set(i,t),t}function Fe(i,e,t,r,n,l,o,a=0){const s=16.666/r;let c=`{
|
|
2
|
+
`;for(let k=0;k<=1;k+=s){const g=e+(t-e)*l(k);c+=k*100+`%{${o(g,1-g)}}
|
|
3
|
+
`}const d=c+`100% {${o(t,1-t)}}
|
|
4
|
+
}`,f=`__svelte_${Ti(d)}_${a}`,m=dt(i),{stylesheet:y,rules:w}=Pe.get(m)||Mi(m,i);w[f]||(w[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`,qe+=1,f}function Ve(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?l=>l.indexOf(e)<0:l=>l.indexOf("__svelte")===-1),n=t.length-r.length;n&&(i.style.animation=r.join(", "),qe-=n,qe||Li())}function Li(){$e(()=>{qe||(Pe.forEach(i=>{const{ownerNode:e}=i.stylesheet;e&&M(e)}),Pe.clear())})}let Le;function Ae(i){Le=i}function ut(){if(!Le)throw new Error("Function called outside component initialization");return Le}function Z(i){ut().$$.on_mount.push(i)}function Ai(i){ut().$$.on_destroy.push(i)}const Re=[],ne=[],Ge=[],ft=[],ht=Promise.resolve();let et=!1;function mt(){et||(et=!0,ht.then(h))}function Ee(){return mt(),ht}function oe(i){Ge.push(i)}const tt=new Set;let Ue=0;function h(){const i=Le;do{for(;Ue<Re.length;){const e=Re[Ue];Ue++,Ae(e),Ri(e.$$)}for(Ae(null),Re.length=0,Ue=0;ne.length;)ne.pop()();for(let e=0;e<Ge.length;e+=1){const t=Ge[e];tt.has(t)||(tt.add(t),t())}Ge.length=0}while(Re.length);for(;ft.length;)ft.pop()();et=!1,tt.clear(),Ae(i)}function Ri(i){if(i.fragment!==null){i.update(),le(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(oe)}}let He;function it(){return He||(He=Promise.resolve(),He.then(()=>{He=null})),He}function we(i,e,t){i.dispatchEvent(zi(`${e?"intro":"outro"}${t}`))}const We=new Set;let se;function xe(){se={r:0,c:[],p:se}}function Ce(){se.r||le(se.c),se=se.p}function W(i,e){i&&i.i&&(We.delete(i),i.i(e))}function J(i,e,t,r){if(i&&i.o){if(We.has(i))return;We.add(i),se.c.push(()=>{We.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}else r&&r()}const rt={duration:0};function gt(i,e,t){let r=e(i,t),n=!1,l,o,a=0;function s(){l&&Ve(i,l)}function c(){const{delay:f=0,duration:m=300,easing:y=Me,tick:w=E,css:_}=r||rt;_&&(l=Fe(i,0,1,m,f,y,_,a++)),w(0,1);const k=Oe()+f,g=k+m;o&&o.abort(),n=!0,oe(()=>we(i,!0,"start")),o=je(x=>{if(n){if(x>=g)return w(1,0),we(i,!0,"end"),s(),n=!1;if(x>=k){const H=y((x-k)/m);w(H,1-H)}}return n})}let d=!1;return{start(){d||(d=!0,Ve(i),ue(r)?(r=r(),it().then(c)):c())},invalidate(){d=!1},end(){n&&(s(),n=!1)}}}function bt(i,e,t){let r=e(i,t),n=!0,l;const o=se;o.r+=1;function a(){const{delay:s=0,duration:c=300,easing:d=Me,tick:f=E,css:m}=r||rt;m&&(l=Fe(i,1,0,c,s,d,m));const y=Oe()+s,w=y+c;oe(()=>we(i,!1,"start")),je(_=>{if(n){if(_>=w)return f(0,1),we(i,!1,"end"),--o.r||le(o.c),!1;if(_>=y){const k=d((_-y)/c);f(1-k,k)}}return n})}return ue(r)?it().then(()=>{r=r(),a()}):a(),{end(s){s&&r.tick&&r.tick(1,0),n&&(l&&Ve(i,l),n=!1)}}}function Ke(i,e,t,r){let n=e(i,t),l=r?0:1,o=null,a=null,s=null;function c(){s&&Ve(i,s)}function d(m,y){const w=m.b-l;return y*=Math.abs(w),{a:l,b:m.b,d:w,duration:y,start:m.start,end:m.start+y,group:m.group}}function f(m){const{delay:y=0,duration:w=300,easing:_=Me,tick:k=E,css:g}=n||rt,x={start:Oe()+y,b:m};m||(x.group=se,se.r+=1),o||a?a=x:(g&&(c(),s=Fe(i,l,m,w,y,_,g)),m&&k(0,1),o=d(x,w),oe(()=>we(i,m,"start")),je(H=>{if(a&&H>a.start&&(o=d(a,w),a=null,we(i,o.b,"start"),g&&(c(),s=Fe(i,l,o.b,o.duration,0,_,n.css))),o){if(H>=o.end)k(l=o.b,1-l),we(i,o.b,"end"),a||(o.b?c():--o.group.r||le(o.group.c)),o=null;else if(H>=o.start){const A=H-o.start;l=o.a+o.d*_(A/o.duration),k(l,1-l)}}return!!(o||a)}))}return{run(m){ue(n)?it().then(()=>{n=n(),f(m)}):f(m)},end(){c(),o=a=null}}}function vt(i,e){i.d(1),e.delete(i.key)}function wt(i,e,t,r,n,l,o,a,s,c,d,f){let m=i.length,y=l.length,w=m;const _={};for(;w--;)_[i[w].key]=w;const k=[],g=new Map,x=new Map;for(w=y;w--;){const C=f(n,l,w),O=t(C);let R=o.get(O);R?r&&R.p(C,e):(R=c(O,C),R.c()),g.set(O,k[w]=R),O in _&&x.set(O,Math.abs(w-_[O]))}const H=new Set,A=new Set;function T(C){W(C,1),C.m(a,d),o.set(C.key,C),d=C.first,y--}for(;m&&y;){const C=k[y-1],O=i[m-1],R=C.key,L=O.key;C===O?(d=C.first,m--,y--):g.has(L)?!o.has(R)||H.has(R)?T(C):A.has(L)?m--:x.get(R)>x.get(L)?(A.add(R),T(C)):(H.add(L),m--):(s(O,o),m--)}for(;m--;){const C=i[m];g.has(C.key)||s(C,o)}for(;y;)T(k[y-1]);return k}function _e(i){i&&i.c()}function fe(i,e,t,r){const{fragment:n,after_update:l}=i.$$;n&&n.m(e,t),r||oe(()=>{const o=i.$$.on_mount.map(Qe).filter(ue);i.$$.on_destroy?i.$$.on_destroy.push(...o):le(o),i.$$.on_mount=[]}),l.forEach(oe)}function he(i,e){const t=i.$$;t.fragment!==null&&(le(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function Hi(i,e){i.$$.dirty[0]===-1&&(Re.push(i),mt(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function F(i,e,t,r,n,l,o,a=[-1]){const s=Le;Ae(i);const c=i.$$={fragment:null,ctx:[],props:l,update:E,not_equal:n,bound:at(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:at(),dirty:a,skip_bound:!1,root:e.target||s.$$.root};o&&o(c.root);let d=!1;if(c.ctx=t?t(i,e.props||{},(f,m,...y)=>{const w=y.length?y[0]:m;return c.ctx&&n(c.ctx[f],c.ctx[f]=w)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](w),d&&Hi(i,f)),m}):[],c.update(),d=!0,le(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=Ci(e.target);c.fragment&&c.fragment.l(f),f.forEach(M)}else c.fragment&&c.fragment.c();e.intro&&W(i.$$.fragment),fe(i,e.target,e.anchor,e.customElement),h()}Ae(s)}let P;typeof HTMLElement=="function"&&(P=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(Qe).filter(ue);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){le(this.$$.on_disconnect)}$destroy(){he(this,1),this.$destroy=E}$on(i,e){if(!ue(e))return 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&&!yi(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});function Si(i){let e,t,r,n,l,o,a,s,c;return{c(){e=v("div"),t=v("img"),n=S(),l=v("img"),a=S(),s=v("span"),c=G(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),Ne(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(l,"alt","GoA Logo"),u(l,"class","image-desktop"),Ne(l.src,o="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",o),u(s,"class","title"),u(e,"class","app-link")},m(d,f){p(d,e,f),b(e,t),b(e,n),b(e,l),b(e,a),b(e,s),b(s,c)},p(d,f){f&1&&K(c,d[0])},d(d){d&&M(e)}}}function Bi(i){let e,t,r,n,l,o,a,s,c;return{c(){e=v("a"),t=v("img"),n=S(),l=v("img"),a=S(),s=v("span"),c=G(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),Ne(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(l,"alt","GoA Logo"),u(l,"class","image-desktop"),Ne(l.src,o="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",o),u(s,"class","title"),u(e,"href",i[1]),u(e,"class","app-link")},m(d,f){p(d,e,f),b(e,t),b(e,n),b(e,l),b(e,a),b(e,s),b(s,c)},p(d,f){f&1&&K(c,d[0]),f&2&&u(e,"href",d[1])},d(d){d&&M(e)}}}function Di(i){let e,t,r,n,l;function o(c,d){return c[1]?Bi:Si}let a=o(i),s=a(i);return{c(){e=v("div"),t=v("div"),s.c(),r=S(),n=v("div"),n.innerHTML="<slot></slot>",this.c=E,u(t,"class","content"),u(e,"class","app-header"),u(e,"data-testid",i[2]),u(e,"style",l=`--max-content-width: ${i[3]||"100%"}`)},m(c,d){p(c,e,d),b(e,t),s.m(t,null),b(t,r),b(t,n)},p(c,[d]){a===(a=o(c))&&s?s.p(c,d):(s.d(1),s=a(c),s&&(s.c(),s.m(t,r))),d&4&&u(e,"data-testid",c[2]),d&8&&l!==(l=`--max-content-width: ${c[3]||"100%"}`)&&u(e,"style",l)},i:E,o:E,d(c){c&&M(e),s.d()}}}function Ni(i,e,t){let{heading:r=""}=e,{url:n=""}=e,{testid:l=""}=e,{maxcontentwidth:o=""}=e;return i.$$set=a=>{"heading"in a&&t(0,r=a.heading),"url"in a&&t(1,n=a.url),"testid"in a&&t(2,l=a.testid),"maxcontentwidth"in a&&t(3,o=a.maxcontentwidth)},[r,n,l,o]}class Oi extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box;font-family:var(--font-family)}.app-header{margin:0 auto;background-color:var(--color-white);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:1.5rem 1.125rem}}.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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Ni,Di,I,{heading:0,url:1,testid:2,maxcontentwidth:3},null),e&&(e.target&&p(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",Oi);function V(i,e,t,r){return[i&&`margin-top:var(--goa-spacing-${i});`,e&&`margin-right:var(--goa-spacing-${e});`,t&&`margin-bottom:var(--goa-spacing-${t});`,r&&`margin-left:var(--goa-spacing-${r});`].join(" ")}function _t(i,e,t,r){const n=document.createElement("style"),l=Object.entries(t).map(o=>`${o[0]}: ${o[1]};`).join(" ");r?n.innerHTML=`@media (${r}) { ${e} {${l}} }`:n.innerHTML=`${e} {${l}}`,i.appendChild(n)}function U(i){return i==="false"?!1:i===""?!0:!!i}function ji(i){return i?"true":"false"}function Ii(i,e){Object.entries(e).forEach(t=>{t[1]||console.warn(`${i}: ${t[0]} is required`)})}function X(i,e,t=!1){return[e,n=>{!t&&!n||e.includes(n)||console.error(`[${n}] is an invalid ${i.toLowerCase()}`)}]}function Pi(i){let e;return{c(){e=v("div"),Q(e,"height","1.2rem"),Q(e,"margin-left","-0.25rem")},m(t,r){p(t,e,r)},p:E,d(t){t&&M(e)}}}function qi(i){let e;return{c(){e=v("goa-icon"),z(e,"type",i[8]),z(e,"size","small")},m(t,r){p(t,e,r)},p(t,r){r&256&&z(e,"type",t[8])},d(t){t&&M(e)}}}function yt(i){let e,t;return{c(){e=v("div"),t=G(i[2]),u(e,"class","goa-badge-content")},m(r,n){p(r,e,n),b(e,t)},p(r,n){n&4&&K(t,r[2])},d(r){r&&M(e)}}}function Fi(i){let e,t,r,n;function l(c,d){return c[7]?qi:Pi}let o=l(i),a=o(i),s=i[2]&&yt(i);return{c(){e=v("div"),a.c(),t=S(),s&&s.c(),this.c=E,u(e,"style",r=V(i[3],i[4],i[5],i[6])),u(e,"data-testid",i[1]),u(e,"data-type","goa-badge"),u(e,"class",n="goa-badge badge-"+i[0]),j(e,"icon-only",i[7]&&!i[2])},m(c,d){p(c,e,d),a.m(e,null),b(e,t),s&&s.m(e,null)},p(c,[d]){o===(o=l(c))&&a?a.p(c,d):(a.d(1),a=o(c),a&&(a.c(),a.m(e,t))),c[2]?s?s.p(c,d):(s=yt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),d&120&&r!==(r=V(c[3],c[4],c[5],c[6]))&&u(e,"style",r),d&2&&u(e,"data-testid",c[1]),d&1&&n!==(n="goa-badge badge-"+c[0])&&u(e,"class",n),d&133&&j(e,"icon-only",c[7]&&!c[2])},i:E,o:E,d(c){c&&M(e),a.d(),s&&s.d()}}}function Vi(i,e,t){let r,n;const[l,o]=X("Badge type",["success","important","information","emergency","dark","midtone","light"],!0);let{type:a}=e,{testid:s=""}=e,{content:c=""}=e,{icon:d="false"}=e,{mt:f=null}=e,{mr:m=null}=e,{mb:y=null}=e,{ml:w=null}=e;return Z(()=>{o(a),!r&&!c&&console.warn("GoABadge must have either then content or icon property set")}),i.$$set=_=>{"type"in _&&t(0,a=_.type),"testid"in _&&t(1,s=_.testid),"content"in _&&t(2,c=_.content),"icon"in _&&t(9,d=_.icon),"mt"in _&&t(3,f=_.mt),"mr"in _&&t(4,m=_.mr),"mb"in _&&t(5,y=_.mb),"ml"in _&&t(6,w=_.ml)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=U(d)),i.$$.dirty&1&&t(8,n={success:"checkmark-circle",important:"alert-circle",information:"information-circle",emergency:"warning",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[a])},[a,s,c,f,m,y,w,r,n,d]}class Gi extends P{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)}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm);padding-bottom:var(
|
|
5
5
|
--font-valign-fix
|
|
6
|
-
)}.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>`,
|
|
6
|
+
)}.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>`,F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Vi,Fi,I,{type:0,testid:1,content:2,icon:9,mt:3,mr:4,mb:5,ml:6},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","testid","content","icon","mt","mr","mb","ml"]}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 content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),h()}get icon(){return this.$$.ctx[9]}set icon(e){this.$$set({icon:e}),h()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-badge",Gi);function Ui(i){let e,t,r;return{c(){e=v("div"),t=v("slot"),this.c=E,u(e,"class","block"),u(e,"style",r=`
|
|
7
|
+
${V(i[3],i[4],i[5],i[6])}
|
|
8
|
+
--gap: var(--goa-spacing-${i[0]});
|
|
9
|
+
--alignment: ${i[2]};
|
|
10
|
+
--direction: ${i[1]};
|
|
11
|
+
`)},m(n,l){p(n,e,l),b(e,t)},p(n,[l]){l&127&&r!==(r=`
|
|
12
|
+
${V(n[3],n[4],n[5],n[6])}
|
|
13
|
+
--gap: var(--goa-spacing-${n[0]});
|
|
14
|
+
--alignment: ${n[2]};
|
|
15
|
+
--direction: ${n[1]};
|
|
16
|
+
`)&&u(e,"style",r)},i:E,o:E,d(n){n&&M(e)}}}function Wi(i,e,t){let{gap:r="m"}=e,{direction:n="row"}=e,{alignment:l="start"}=e,{mt:o=null}=e,{mr:a=null}=e,{mb:s=null}=e,{ml:c=null}=e;return i.$$set=d=>{"gap"in d&&t(0,r=d.gap),"direction"in d&&t(1,n=d.direction),"alignment"in d&&t(2,l=d.alignment),"mt"in d&&t(3,o=d.mt),"mr"in d&&t(4,a=d.mr),"mb"in d&&t(5,s=d.mb),"ml"in d&&t(6,c=d.ml)},[r,n,l,o,a,s,c]}class Ki extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.block{display:flex;flex-direction:var(--direction);align-items:var(--alignment);gap:var(--gap)}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Wi,Ui,I,{gap:0,direction:1,alignment:2,mt:3,mr:4,mb:5,ml:6},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap","direction","alignment","mt","mr","mb","ml"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),h()}get direction(){return this.$$.ctx[1]}set direction(e){this.$$set({direction:e}),h()}get alignment(){return this.$$.ctx[2]}set alignment(e){this.$$set({alignment:e}),h()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-block",Ki);function Zi(i){let e,t,r,n,l=i[3]&&kt(i),o=i[4]&&pt(i);return{c(){l&&l.c(),e=S(),t=v("slot"),r=S(),o&&o.c(),n=ve(),u(t,"class","text")},m(a,s){l&&l.m(a,s),p(a,e,s),p(a,t,s),p(a,r,s),o&&o.m(a,s),p(a,n,s)},p(a,s){a[3]?l?l.p(a,s):(l=kt(a),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),a[4]?o?o.p(a,s):(o=pt(a),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},d(a){l&&l.d(a),a&&M(e),a&&M(t),a&&M(r),o&&o.d(a),a&&M(n)}}}function Xi(i){let e,t,r;return{c(){e=v("slot"),t=S(),r=v("goa-icon"),u(e,"class","text"),z(r,"id","trailing-icon"),z(r,"type","arrow-forward"),z(r,"inverted","true")},m(n,l){p(n,e,l),p(n,t,l),p(n,r,l)},p:E,d(n){n&&M(e),n&&M(t),n&&M(r)}}}function kt(i){let e;return{c(){e=v("goa-icon"),z(e,"id","leading-icon"),z(e,"type",i[3]),z(e,"inverted",i[10])},m(t,r){p(t,e,r)},p(t,r){r&8&&z(e,"type",t[3]),r&1024&&z(e,"inverted",t[10])},d(t){t&&M(e)}}}function pt(i){let e;return{c(){e=v("goa-icon"),z(e,"id","trailing-icon"),z(e,"type",i[4]),z(e,"inverted",i[10])},m(t,r){p(t,e,r)},p(t,r){r&16&&z(e,"type",t[4]),r&1024&&z(e,"inverted",t[10])},d(t){t&&M(e)}}}function Yi(i){let e,t,r,n,l;function o(c,d){return c[0]==="start"?Xi:Zi}let a=o(i),s=a(i);return{c(){e=v("button"),s.c(),this.c=E,u(e,"class",t=""+(i[0]+" "+i[1]+" "+i[2])),u(e,"style",r=V(i[6],i[7],i[8],i[9])),e.disabled=i[11],u(e,"data-testid",i[5]),j(e,"leading",i[3]),j(e,"trailing",i[4]||i[0]==="start")},m(c,d){p(c,e,d),s.m(e,null),n||(l=[Y(e,"click",Et),Y(e,"click",Et)],n=!0)},p(c,[d]){a===(a=o(c))&&s?s.p(c,d):(s.d(1),s=a(c),s&&(s.c(),s.m(e,null))),d&7&&t!==(t=""+(c[0]+" "+c[1]+" "+c[2]))&&u(e,"class",t),d&960&&r!==(r=V(c[6],c[7],c[8],c[9]))&&u(e,"style",r),d&2048&&(e.disabled=c[11]),d&32&&u(e,"data-testid",c[5]),d&15&&j(e,"leading",c[3]),d&23&&j(e,"trailing",c[4]||c[0]==="start")},i:E,o:E,d(c){c&&M(e),s.d(),n=!1,le(l)}}}function Et(i){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),i.stopPropagation()}function Ji(i,e,t){let r,n;const[l,o]=X("Button type",["primary","submit","secondary","tertiary","start"],!0),[a,s]=X("Button size",["normal","compact"],!0),[c,d]=X("Button variant",["normal","destructive"],!0);let{type:f="primary"}=e,{size:m="normal"}=e,{variant:y="normal"}=e,{disabled:w="false"}=e,{leadingicon:_=null}=e,{trailingicon:k=null}=e,{testid:g=""}=e,{mt:x=null}=e,{mr:H=null}=e,{mb:A=null}=e,{ml:T=null}=e;return Z(()=>{o(f),s(m),d(y)}),i.$$set=C=>{"type"in C&&t(0,f=C.type),"size"in C&&t(1,m=C.size),"variant"in C&&t(2,y=C.variant),"disabled"in C&&t(12,w=C.disabled),"leadingicon"in C&&t(3,_=C.leadingicon),"trailingicon"in C&&t(4,k=C.trailingicon),"testid"in C&&t(5,g=C.testid),"mt"in C&&t(6,x=C.mt),"mr"in C&&t(7,H=C.mr),"mb"in C&&t(8,A=C.mb),"ml"in C&&t(9,T=C.ml)},i.$$.update=()=>{i.$$.dirty&4096&&t(11,r=U(w)),i.$$.dirty&1&&t(10,n=f==="primary"||f==="start")},[f,m,y,_,k,g,x,H,A,T,n,r,w]}class Qi extends P{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,
|
|
7
17
|
border-color 0.2s ease-in-out}.text{padding-bottom:var(
|
|
8
18
|
--font-valign-fix
|
|
9
|
-
)}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>`,I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Qi,Ji,D,{type:0,size:1,variant:2,disabled:12,leadingicon:3,trailingicon:4,testid:5,mt:6,mr:7,mb:8,ml:9},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","variant","disabled","leadingicon","trailingicon","testid","mt","mr","mb","ml"]}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[12]}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()}get mt(){return this.$$.ctx[6]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[7]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[8]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[9]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-button",$i);function kt(i){let e,t;return{c(){e=b("h3"),t=q(i[5])},m(r,n){k(r,e,n),g(e,t)},p(r,n){n&32&&K(t,r[5])},d(r){r&&T(e)}}}function er(i){let e,t,r,n,l,a,o,s,c,u,f=i[5]&&kt(i);return{c(){e=b("div"),t=b("span"),r=b("goa-icon"),a=A(),o=b("span"),f&&f.c(),s=A(),c=b("slot"),this.c=y,M(r,"type",i[7]),M(r,"inverted",n=i[4]==="important"?"false":"true"),d(t,"class",l="icon "+i[4]),d(o,"class","content"),d(e,"style",u=P(i[0],i[1],i[2],i[3])),d(e,"class","notification"),d(e,"data-testid",i[6])},m(m,_){k(m,e,_),g(e,t),g(t,r),g(e,a),g(e,o),f&&f.m(o,null),g(o,s),g(o,c)},p(m,[_]){_&128&&M(r,"type",m[7]),_&16&&n!==(n=m[4]==="important"?"false":"true")&&M(r,"inverted",n),_&16&&l!==(l="icon "+m[4])&&d(t,"class",l),m[5]?f?f.p(m,_):(f=kt(m),f.c(),f.m(o,s)):f&&(f.d(1),f=null),_&15&&u!==(u=P(m[0],m[1],m[2],m[3]))&&d(e,"style",u),_&64&&d(e,"data-testid",m[6])},i:y,o:y,d(m){m&&T(e),f&&f.d()}}}function tr(i,e,t){let r,{mt:n=null}=e,{mr:l=null}=e,{mb:a="l"}=e,{ml:o=null}=e,{type:s}=e,{heading:c=""}=e,{testid:u=""}=e;return i.$$set=f=>{"mt"in f&&t(0,n=f.mt),"mr"in f&&t(1,l=f.mr),"mb"in f&&t(2,a=f.mb),"ml"in f&&t(3,o=f.ml),"type"in f&&t(4,s=f.type),"heading"in f&&t(5,c=f.heading),"testid"in f&&t(6,u=f.testid)},i.$$.update=()=>{i.$$.dirty&16&&t(7,r=s==="emergency"?"warning":s==="important"?"alert-circle":s==="information"?"information-circle":s==="success"?"checkmark-circle":s==="event"?"calendar":"")},[n,l,a,o,s,c,u,r]}class ir extends N{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}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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},tr,er,D,{mt:0,mr:1,mb:2,ml:3,type:4,heading:5,testid:6},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["mt","mr","mb","ml","type","heading","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),h()}get type(){return this.$$.ctx[4]}set type(e){this.$$set({type:e}),h()}get heading(){return this.$$.ctx[5]}set heading(e){this.$$set({heading:e}),h()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-callout",ir);function rr(i){let e;return{c(){e=b("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=y},m(t,r){k(t,e,r)},p:y,i:y,o:y,d(t){t&&T(e)}}}class nr extends N{constructor(e){super();I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},null,rr,D,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-actions",nr);function lr(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=y,d(e,"class","card-content")},m(t,r){k(t,e,r)},p:y,i:y,o:y,d(t){t&&T(e)}}}class ar extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},null,lr,D,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-content",ar);function or(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=y,d(e,"class","card-group")},m(t,r){k(t,e,r)},p:y,i:y,o:y,d(t){t&&T(e)}}}class sr extends N{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},null,or,D,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-group",sr);function cr(i){let e;return{c(){e=b("div"),this.c=y,Z(e,"background-image","url("+i[0]+")"),Z(e,"height",i[1]),Z(e,"background-size","cover"),Z(e,"background-position","center")},m(t,r){k(t,e,r)},p(t,[r]){r&1&&Z(e,"background-image","url("+t[0]+")"),r&2&&Z(e,"height",t[1])},i:y,o:y,d(t){t&&T(e)}}}function ur(i,e,t){let{src:r}=e,{height:n="100%"}=e;return i.$$set=l=>{"src"in l&&t(0,r=l.src),"height"in l&&t(1,n=l.height)},[r,n]}class dr extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},ur,cr,D,{src:0,height:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["src","height"]}get src(){return this.$$.ctx[0]}set src(e){this.$$set({src:e}),h()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),h()}}customElements.define("goa-card-image",dr);function fr(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=y,d(e,"data-testid",i[7]),d(e,"class","card"),d(e,"style",r="--width: "+i[1]+"; --height: "+(i[2]==="auto"?"auto":"100%")+"; "+P(i[3],i[4],i[5],i[6])+" "+(i[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(n,l){k(n,e,l),g(e,t)},p(n,[l]){l&128&&d(e,"data-testid",n[7]),l&127&&r!==(r="--width: "+n[1]+"; --height: "+(n[2]==="auto"?"auto":"100%")+"; "+P(n[3],n[4],n[5],n[6])+" "+(n[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${n[0]});`)+"")&&d(e,"style",r)},i:y,o:y,d(n){n&&T(e)}}}function hr(i,e,t){let{elevation:r=0}=e,{width:n="100%"}=e,{height:l="auto"}=e,{mt:a=null}=e,{mr:o=null}=e,{mb:s=null}=e,{ml:c=null}=e,{testid:u=""}=e;return i.$$set=f=>{"elevation"in f&&t(0,r=f.elevation),"width"in f&&t(1,n=f.width),"height"in f&&t(2,l=f.height),"mt"in f&&t(3,a=f.mt),"mr"in f&&t(4,o=f.mr),"mb"in f&&t(5,s=f.mb),"ml"in f&&t(6,c=f.ml),"testid"in f&&t(7,u=f.testid)},[r,n,l,a,o,s,c,u]}class mr extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card{background-color:var(--color-white);border-radius:4px;overflow:hidden;height:var(--height)}@media(min-width: 320px){.card{margin:0 auto}}</style>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},hr,fr,D,{elevation:0,width:1,height:2,mt:3,mr:4,mb:5,ml:6,testid:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["elevation","width","height","mt","mr","mb","ml","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 height(){return this.$$.ctx[2]}set height(e){this.$$set({height:e}),h()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),h()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-card",mr);function gr(i){let e,t;return{c(){e=ge("svg"),t=ge("path"),d(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),d(e,"id","checkmark"),d(e,"data-testid","checkmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 16 12.18")},m(r,n){k(r,e,n),g(e,t)},d(r){r&&T(e)}}}function br(i){let e,t;return{c(){e=ge("svg"),t=ge("rect"),d(t,"width","15"),d(t,"height","2"),d(e,"id","dashmark"),d(e,"data-testid","dashmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 15 2")},m(r,n){k(r,e,n),g(e,t)},d(r){r&&T(e)}}}function vr(i){let e,t,r,n,l,a,o,s,c,u,f,m;function _(p,E){if(p[9])return br;if(p[8])return gr}let w=_(i),C=w&&w(i);return{c(){e=b("label"),t=b("div"),r=b("input"),l=A(),C&&C.c(),a=A(),o=b("div"),s=b("slot"),c=q(i[1]),this.c=y,d(r,"id",i[0]),d(r,"name",i[0]),r.checked=i[8],r.disabled=i[11],d(r,"type","checkbox"),r.value=n=`${i[2]}`,d(t,"class","goa-checkbox-container"),j(t,"goa-checkbox--selected",i[8]),d(o,"class","goa-checkbox-text"),d(o,"data-testid","text"),d(e,"data-testid",i[3]),d(e,"for",i[0]),d(e,"style",u=P(i[4],i[5],i[6],i[7])),d(e,"class","goa-checkbox"),j(e,"goa-checkbox--disabled",i[11]),j(e,"goa-checkbox--error",i[10])},m(p,E){k(p,e,E),g(e,t),g(t,r),g(t,l),C&&C.m(t,null),g(e,a),g(e,o),g(o,s),g(s,c),f||(m=X(r,"change",i[12]),f=!0)},p(p,[E]){E&1&&d(r,"id",p[0]),E&1&&d(r,"name",p[0]),E&256&&(r.checked=p[8]),E&2048&&(r.disabled=p[11]),E&4&&n!==(n=`${p[2]}`)&&(r.value=n),w!==(w=_(p))&&(C&&C.d(1),C=w&&w(p),C&&(C.c(),C.m(t,null))),E&256&&j(t,"goa-checkbox--selected",p[8]),E&2&&K(c,p[1]),E&8&&d(e,"data-testid",p[3]),E&1&&d(e,"for",p[0]),E&240&&u!==(u=P(p[4],p[5],p[6],p[7]))&&d(e,"style",u),E&2048&&j(e,"goa-checkbox--disabled",p[11]),E&1024&&j(e,"goa-checkbox--error",p[10])},i:y,o:y,d(p){p&&T(e),C&&C.d(),f=!1,m()}}}function wr(i,e,t){let r,n,l,a,{name:o}=e,{checked:s="false"}=e,{text:c=""}=e,{value:u=""}=e,{disabled:f="false"}=e,{error:m="false"}=e,{testid:_=""}=e,{mt:w=null}=e,{mr:C=null}=e,{mb:p=null}=e,{ml:E=null}=e,x;Q(()=>{x=u});function L(z){const R=!l,v=R?`${x||"checked"}`:"";t(13,s=Ii(R)),z.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,checked:R,value:v}}))}return i.$$set=z=>{"name"in z&&t(0,o=z.name),"checked"in z&&t(13,s=z.checked),"text"in z&&t(1,c=z.text),"value"in z&&t(2,u=z.value),"disabled"in z&&t(14,f=z.disabled),"error"in z&&t(15,m=z.error),"testid"in z&&t(3,_=z.testid),"mt"in z&&t(4,w=z.mt),"mr"in z&&t(5,C=z.mr),"mb"in z&&t(6,p=z.mb),"ml"in z&&t(7,E=z.ml)},i.$$.update=()=>{i.$$.dirty&16384&&t(11,r=V(f)),i.$$.dirty&32768&&t(10,n=V(m)),i.$$.dirty&8192&&t(8,l=V(s))},t(9,a=!1),[o,c,u,_,w,C,p,E,l,a,n,r,L,s,f,m]}class yr extends N{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>',I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},wr,vr,D,{name:0,checked:13,text:1,value:2,disabled:14,error:15,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","checked","text","value","disabled","error","testid","mt","mr","mb","ml"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get checked(){return this.$$.ctx[13]}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[14]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[15]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[4]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[5]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[6]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[7]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-checkbox",yr);function pt(i){let e;return{c(){e=b("goa-icon"),M(e,"class","leading-icon"),M(e,"size","medium"),M(e,"type",i[4])},m(t,r){k(t,e,r)},p(t,r){r&16&&M(e,"type",t[4])},d(t){t&&T(e)}}}function xt(i){let e,t,r;return{c(){e=b("goa-icon"),M(e,"class","delete-icon"),M(e,"size","medium"),M(e,"theme","filled"),M(e,"type","close-circle"),M(e,"fillcolor",t=i[10]?"var(--goa-color-status-emergency)":i[9]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)"),M(e,"opacity",r=i[10]?i[9]?1:.5:1)},m(n,l){k(n,e,l)},p(n,l){l&1536&&t!==(t=n[10]?"var(--goa-color-status-emergency)":n[9]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)")&&M(e,"fillcolor",t),l&1536&&r!==(r=n[10]?n[9]?1:.5:1)&&M(e,"opacity",r)},d(n){n&&T(e)}}}function _r(i){let e,t,r,n,l,a,o,s,c=i[4]&&pt(i),u=i[11]&&xt(i);return{c(){e=b("div"),c&&c.c(),t=A(),r=b("div"),n=q(i[5]),l=A(),u&&u.c(),this.c=y,d(r,"class","text"),d(e,"data-testid",i[7]),d(e,"class","chip"),d(e,"style",a=P(i[0],i[1],i[2],i[3])),d(e,"tabindex","0"),j(e,"deletable",i[11]),j(e,"error",i[10]),j(e,"variant",i[6])},m(f,m){k(f,e,m),c&&c.m(e,null),g(e,t),g(e,r),g(r,n),g(e,l),u&&u.m(e,null),i[15](e),o||(s=[X(e,"click",i[16]),X(e,"mouseover",i[17]),X(e,"mouseout",i[18]),X(e,"focus",i[19]),X(e,"blur",i[20])],o=!0)},p(f,[m]){f[4]?c?c.p(f,m):(c=pt(f),c.c(),c.m(e,t)):c&&(c.d(1),c=null),m&32&&K(n,f[5]),f[11]?u?u.p(f,m):(u=xt(f),u.c(),u.m(e,null)):u&&(u.d(1),u=null),m&128&&d(e,"data-testid",f[7]),m&15&&a!==(a=P(f[0],f[1],f[2],f[3]))&&d(e,"style",a),m&2048&&j(e,"deletable",f[11]),m&1024&&j(e,"error",f[10]),m&64&&j(e,"variant",f[6])},i:y,o:y,d(f){f&&T(e),c&&c.d(),u&&u.d(),i[15](null),o=!1,ee(s)}}}function kr(i,e,t){let{mt:r=null}=e,{mr:n=null}=e,{mb:l=null}=e,{ml:a=null}=e,{leadingicon:o=null}=e,{error:s="false"}=e,{deletable:c="false"}=e,{content:u}=e,{variant:f}=e,{testid:m=""}=e,_,w=!1,C,p;function E(H){_.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),H.stopPropagation()}function x(H){te[H?"unshift":"push"](()=>{_=H,t(8,_)})}const L=H=>p&&E(H),z=()=>t(9,w=!0),R=()=>t(9,w=!1),v=()=>t(9,w=!1),F=()=>t(9,w=!1);return i.$$set=H=>{"mt"in H&&t(0,r=H.mt),"mr"in H&&t(1,n=H.mr),"mb"in H&&t(2,l=H.mb),"ml"in H&&t(3,a=H.ml),"leadingicon"in H&&t(4,o=H.leadingicon),"error"in H&&t(13,s=H.error),"deletable"in H&&t(14,c=H.deletable),"content"in H&&t(5,u=H.content),"variant"in H&&t(6,f=H.variant),"testid"in H&&t(7,m=H.testid)},i.$$.update=()=>{i.$$.dirty&8192&&t(10,C=V(s)),i.$$.dirty&16384&&t(11,p=V(c))},[r,n,l,a,o,u,f,m,_,w,C,p,E,s,c,x,L,z,R,v,F]}class pr extends N{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;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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},kr,_r,D,{mt:0,mr:1,mb:2,ml:3,leadingicon:4,error:13,deletable:14,content:5,variant:6,testid:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["mt","mr","mb","ml","leadingicon","error","deletable","content","variant","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),h()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get error(){return this.$$.ctx[13]}set error(e){this.$$set({error:e}),h()}get deletable(){return this.$$.ctx[14]}set deletable(e){this.$$set({deletable:e}),h()}get content(){return this.$$.ctx[5]}set content(e){this.$$set({content:e}),h()}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),h()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-chip",pr);function xr(i){const e=i-1;return e*e*e+1}function Er(i){return Math.pow(i-1,3)*(1-i)+1}function ze(i,{delay:e=0,duration:t=400,easing:r=Te}={}){const n=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:l=>`opacity: ${l*n}`}}function Et(i,{delay:e=0,duration:t=400,easing:r=xr,x:n=0,y:l=0,opacity:a=0}={}){const o=getComputedStyle(i),s=+o.opacity,c=o.transform==="none"?"":o.transform,u=s*(1-a);return{delay:e,duration:t,easing:r,css:(f,m)=>`
|
|
19
|
+
)}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>`,F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Ji,Yi,I,{type:0,size:1,variant:2,disabled:12,leadingicon:3,trailingicon:4,testid:5,mt:6,mr:7,mb:8,ml:9},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","variant","disabled","leadingicon","trailingicon","testid","mt","mr","mb","ml"]}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[12]}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()}get mt(){return this.$$.ctx[6]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[7]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[8]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[9]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-button",Qi);function $i(i){let e,t,r;return{c(){e=v("div"),t=v("slot"),this.c=E,u(e,"data-testid",i[1]),u(e,"style",r=""+(V(i[2],i[3],i[4],i[5])+"; --alignment: "+i[6]+"; --gap-size: "+(i[0]==="relaxed"?"1rem":"0.75rem")))},m(n,l){p(n,e,l),b(e,t)},p(n,[l]){l&2&&u(e,"data-testid",n[1]),l&125&&r!==(r=""+(V(n[2],n[3],n[4],n[5])+"; --alignment: "+n[6]+"; --gap-size: "+(n[0]==="relaxed"?"1rem":"0.75rem")))&&u(e,"style",r)},i:E,o:E,d(n){n&&M(e)}}}function er(i,e,t){let r,{alignment:n="start"}=e,{gap:l="relaxed"}=e,{testid:o=""}=e,{mt:a=null}=e,{mr:s=null}=e,{mb:c=null}=e,{ml:d=null}=e;const[f,m]=X("alignment",["start","end","center"]),[y,w]=X("gap",["relaxed","compact"]);return Z(()=>{m(n),w(l)}),i.$$set=_=>{"alignment"in _&&t(7,n=_.alignment),"gap"in _&&t(0,l=_.gap),"testid"in _&&t(1,o=_.testid),"mt"in _&&t(2,a=_.mt),"mr"in _&&t(3,s=_.mr),"mb"in _&&t(4,c=_.mb),"ml"in _&&t(5,d=_.ml)},i.$$.update=()=>{i.$$.dirty&128&&t(6,r={start:"flex-start",end:"flex-end",center:"center"}[n])},[l,o,a,s,c,d,r,n]}class tr extends P{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);align-items:center;flex-wrap:wrap;gap:var(--gap-size);padding:3px 0}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},er,$i,I,{alignment:7,gap:0,testid:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["alignment","gap","testid","mt","mr","mb","ml"]}get alignment(){return this.$$.ctx[7]}set alignment(e){this.$$set({alignment:e}),h()}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),h()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-button-group",tr);function xt(i){let e,t;return{c(){e=v("h3"),t=G(i[5])},m(r,n){p(r,e,n),b(e,t)},p(r,n){n&32&&K(t,r[5])},d(r){r&&M(e)}}}function ir(i){let e,t,r,n,l,o,a,s,c,d,f=i[5]&&xt(i);return{c(){e=v("div"),t=v("span"),r=v("goa-icon"),o=S(),a=v("span"),f&&f.c(),s=S(),c=v("slot"),this.c=E,z(r,"type",i[7]),z(r,"inverted",n=i[4]==="important"?"false":"true"),u(t,"class",l="icon "+i[4]),u(a,"class","content"),u(e,"style",d=V(i[0],i[1],i[2],i[3])),u(e,"class","notification"),u(e,"data-testid",i[6])},m(m,y){p(m,e,y),b(e,t),b(t,r),b(e,o),b(e,a),f&&f.m(a,null),b(a,s),b(a,c)},p(m,[y]){y&128&&z(r,"type",m[7]),y&16&&n!==(n=m[4]==="important"?"false":"true")&&z(r,"inverted",n),y&16&&l!==(l="icon "+m[4])&&u(t,"class",l),m[5]?f?f.p(m,y):(f=xt(m),f.c(),f.m(a,s)):f&&(f.d(1),f=null),y&15&&d!==(d=V(m[0],m[1],m[2],m[3]))&&u(e,"style",d),y&64&&u(e,"data-testid",m[6])},i:E,o:E,d(m){m&&M(e),f&&f.d()}}}function rr(i,e,t){let r;const[n,l]=X("Callout type",["emergency","important","information","event","success"],!0);let{mt:o=null}=e,{mr:a=null}=e,{mb:s="l"}=e,{ml:c=null}=e,{type:d}=e,{heading:f=""}=e,{testid:m=""}=e;return Z(()=>{l(d)}),i.$$set=y=>{"mt"in y&&t(0,o=y.mt),"mr"in y&&t(1,a=y.mr),"mb"in y&&t(2,s=y.mb),"ml"in y&&t(3,c=y.ml),"type"in y&&t(4,d=y.type),"heading"in y&&t(5,f=y.heading),"testid"in y&&t(6,m=y.testid)},i.$$.update=()=>{i.$$.dirty&16&&t(7,r=d==="emergency"?"warning":d==="important"?"alert-circle":d==="information"?"information-circle":d==="success"?"checkmark-circle":d==="event"?"calendar":"")},[o,a,s,c,d,f,m,r]}class nr extends P{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}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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},rr,ir,I,{mt:0,mr:1,mb:2,ml:3,type:4,heading:5,testid:6},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["mt","mr","mb","ml","type","heading","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),h()}get type(){return this.$$.ctx[4]}set type(e){this.$$set({type:e}),h()}get heading(){return this.$$.ctx[5]}set heading(e){this.$$set({heading:e}),h()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-callout",nr);function lr(i){let e;return{c(){e=v("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=E},m(t,r){p(t,e,r)},p:E,i:E,o:E,d(t){t&&M(e)}}}class ar extends P{constructor(e){super();F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},null,lr,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-actions",ar);function or(i){let e,t,r;return{c(){e=v("div"),t=v("slot"),this.c=E,u(e,"data-testid",i[7]),u(e,"class","card"),u(e,"style",r="--width: "+i[1]+"; --height: "+(i[2]==="auto"?"auto":"100%")+"; "+V(i[3],i[4],i[5],i[6])+" "+(i[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(n,l){p(n,e,l),b(e,t)},p(n,[l]){l&128&&u(e,"data-testid",n[7]),l&127&&r!==(r="--width: "+n[1]+"; --height: "+(n[2]==="auto"?"auto":"100%")+"; "+V(n[3],n[4],n[5],n[6])+" "+(n[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${n[0]});`)+"")&&u(e,"style",r)},i:E,o:E,d(n){n&&M(e)}}}function sr(i,e,t){let{elevation:r=0}=e,{width:n="100%"}=e,{height:l="auto"}=e,{mt:o=null}=e,{mr:a=null}=e,{mb:s=null}=e,{ml:c=null}=e,{testid:d=""}=e;return i.$$set=f=>{"elevation"in f&&t(0,r=f.elevation),"width"in f&&t(1,n=f.width),"height"in f&&t(2,l=f.height),"mt"in f&&t(3,o=f.mt),"mr"in f&&t(4,a=f.mr),"mb"in f&&t(5,s=f.mb),"ml"in f&&t(6,c=f.ml),"testid"in f&&t(7,d=f.testid)},[r,n,l,o,a,s,c,d]}class cr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card{background-color:var(--color-white);border-radius:4px;overflow:hidden;height:var(--height)}@media(min-width: 320px){.card{margin:0 auto}}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},sr,or,I,{elevation:0,width:1,height:2,mt:3,mr:4,mb:5,ml:6,testid:7},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["elevation","width","height","mt","mr","mb","ml","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 height(){return this.$$.ctx[2]}set height(e){this.$$set({height:e}),h()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),h()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-card",cr);function dr(i){let e;return{c(){e=v("div"),e.innerHTML="<slot></slot>",this.c=E,u(e,"class","card-content")},m(t,r){p(t,e,r)},p:E,i:E,o:E,d(t){t&&M(e)}}}class ur extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},null,dr,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-content",ur);function fr(i){let e;return{c(){e=v("div"),e.innerHTML="<slot></slot>",this.c=E,u(e,"class","card-group")},m(t,r){p(t,e,r)},p:E,i:E,o:E,d(t){t&&M(e)}}}class hr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},null,fr,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-group",hr);function mr(i){let e;return{c(){e=v("div"),this.c=E,Q(e,"background-image","url("+i[0]+")"),Q(e,"height",i[1]),Q(e,"background-size","cover"),Q(e,"background-position","center")},m(t,r){p(t,e,r)},p(t,[r]){r&1&&Q(e,"background-image","url("+t[0]+")"),r&2&&Q(e,"height",t[1])},i:E,o:E,d(t){t&&M(e)}}}function gr(i,e,t){let{src:r}=e,{height:n="100%"}=e;return i.$$set=l=>{"src"in l&&t(0,r=l.src),"height"in l&&t(1,n=l.height)},[r,n]}class br extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},gr,mr,I,{src:0,height:1},null),e&&(e.target&&p(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",br);function vr(i){let e,t;return{c(){e=be("svg"),t=be("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){p(r,e,n),b(e,t)},d(r){r&&M(e)}}}function wr(i){let e,t;return{c(){e=be("svg"),t=be("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){p(r,e,n),b(e,t)},d(r){r&&M(e)}}}function _r(i){let e,t,r,n,l,o,a,s,c,d,f,m,y;function w(g,x){if(g[10])return wr;if(g[9])return vr}let _=w(i),k=_&&_(i);return{c(){e=v("label"),t=v("div"),r=v("input"),o=S(),k&&k.c(),a=S(),s=v("div"),c=v("slot"),d=G(i[1]),this.c=E,u(r,"id",i[0]),u(r,"name",i[0]),r.checked=i[9],r.disabled=i[12],u(r,"type","checkbox"),r.value=n=`${i[2]}`,u(r,"aria-label",l=i[4]||i[0]),u(t,"class","goa-checkbox-container"),j(t,"goa-checkbox--selected",i[9]),u(s,"class","goa-checkbox-text"),u(s,"data-testid","text"),u(e,"data-testid",i[3]),u(e,"for",i[0]),u(e,"style",f=V(i[5],i[6],i[7],i[8])),u(e,"class","goa-checkbox"),j(e,"goa-checkbox--disabled",i[12]),j(e,"goa-checkbox--error",i[11])},m(g,x){p(g,e,x),b(e,t),b(t,r),b(t,o),k&&k.m(t,null),b(e,a),b(e,s),b(s,c),b(c,d),m||(y=Y(r,"change",i[13]),m=!0)},p(g,[x]){x&1&&u(r,"id",g[0]),x&1&&u(r,"name",g[0]),x&512&&(r.checked=g[9]),x&4096&&(r.disabled=g[12]),x&4&&n!==(n=`${g[2]}`)&&(r.value=n),x&17&&l!==(l=g[4]||g[0])&&u(r,"aria-label",l),_!==(_=w(g))&&(k&&k.d(1),k=_&&_(g),k&&(k.c(),k.m(t,null))),x&512&&j(t,"goa-checkbox--selected",g[9]),x&2&&K(d,g[1]),x&8&&u(e,"data-testid",g[3]),x&1&&u(e,"for",g[0]),x&480&&f!==(f=V(g[5],g[6],g[7],g[8]))&&u(e,"style",f),x&4096&&j(e,"goa-checkbox--disabled",g[12]),x&2048&&j(e,"goa-checkbox--error",g[11])},i:E,o:E,d(g){g&&M(e),k&&k.d(),m=!1,y()}}}function yr(i,e,t){let r,n,l,o,{name:a}=e,{checked:s="false"}=e,{text:c=""}=e,{value:d=""}=e,{disabled:f="false"}=e,{error:m="false"}=e,{testid:y=""}=e,{arialabel:w=""}=e,{mt:_=null}=e,{mr:k=null}=e,{mb:g=null}=e,{ml:x=null}=e,H;Z(()=>{H=d});function A(T){const C=!l,O=C?`${H||"checked"}`:"";t(14,s=ji(C)),T.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:a,checked:C,value:O}}))}return i.$$set=T=>{"name"in T&&t(0,a=T.name),"checked"in T&&t(14,s=T.checked),"text"in T&&t(1,c=T.text),"value"in T&&t(2,d=T.value),"disabled"in T&&t(15,f=T.disabled),"error"in T&&t(16,m=T.error),"testid"in T&&t(3,y=T.testid),"arialabel"in T&&t(4,w=T.arialabel),"mt"in T&&t(5,_=T.mt),"mr"in T&&t(6,k=T.mr),"mb"in T&&t(7,g=T.mb),"ml"in T&&t(8,x=T.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(12,r=U(f)),i.$$.dirty&65536&&t(11,n=U(m)),i.$$.dirty&16384&&t(9,l=U(s))},t(10,o=!1),[a,c,d,y,w,_,k,g,x,l,o,n,r,A,s,f,m]}class kr extends P{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>',F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},yr,_r,I,{name:0,checked:14,text:1,value:2,disabled:15,error:16,testid:3,arialabel:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","checked","text","value","disabled","error","testid","arialabel","mt","mr","mb","ml"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get checked(){return this.$$.ctx[14]}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[15]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[16]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}get arialabel(){return this.$$.ctx[4]}set arialabel(e){this.$$set({arialabel:e}),h()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-checkbox",kr);function Ct(i){let e;return{c(){e=v("goa-icon"),z(e,"class","leading-icon"),z(e,"size","medium"),z(e,"type",i[4])},m(t,r){p(t,e,r)},p(t,r){r&16&&z(e,"type",t[4])},d(t){t&&M(e)}}}function zt(i){let e,t,r;return{c(){e=v("goa-icon"),z(e,"class","delete-icon"),z(e,"size","medium"),z(e,"theme","filled"),z(e,"type","close-circle"),z(e,"fillcolor",t=i[10]?"var(--goa-color-status-emergency)":i[9]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)"),z(e,"opacity",r=i[10]?i[9]?1:.5:1)},m(n,l){p(n,e,l)},p(n,l){l&1536&&t!==(t=n[10]?"var(--goa-color-status-emergency)":n[9]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)")&&z(e,"fillcolor",t),l&1536&&r!==(r=n[10]?n[9]?1:.5:1)&&z(e,"opacity",r)},d(n){n&&M(e)}}}function pr(i){let e,t,r,n,l,o,a,s,c=i[4]&&Ct(i),d=i[11]&&zt(i);return{c(){e=v("div"),c&&c.c(),t=S(),r=v("div"),n=G(i[5]),l=S(),d&&d.c(),this.c=E,u(r,"class","text"),u(e,"data-testid",i[7]),u(e,"class","chip"),u(e,"style",o=V(i[0],i[1],i[2],i[3])),u(e,"tabindex","0"),j(e,"deletable",i[11]),j(e,"error",i[10]),j(e,"variant",i[6])},m(f,m){p(f,e,m),c&&c.m(e,null),b(e,t),b(e,r),b(r,n),b(e,l),d&&d.m(e,null),i[15](e),a||(s=[Y(e,"click",i[16]),Y(e,"mouseover",i[17]),Y(e,"mouseout",i[18]),Y(e,"focus",i[19]),Y(e,"blur",i[20])],a=!0)},p(f,[m]){f[4]?c?c.p(f,m):(c=Ct(f),c.c(),c.m(e,t)):c&&(c.d(1),c=null),m&32&&K(n,f[5]),f[11]?d?d.p(f,m):(d=zt(f),d.c(),d.m(e,null)):d&&(d.d(1),d=null),m&128&&u(e,"data-testid",f[7]),m&15&&o!==(o=V(f[0],f[1],f[2],f[3]))&&u(e,"style",o),m&2048&&j(e,"deletable",f[11]),m&1024&&j(e,"error",f[10]),m&64&&j(e,"variant",f[6])},i:E,o:E,d(f){f&&M(e),c&&c.d(),d&&d.d(),i[15](null),a=!1,le(s)}}}function Er(i,e,t){let{mt:r=null}=e,{mr:n=null}=e,{mb:l=null}=e,{ml:o=null}=e,{leadingicon:a=null}=e,{error:s="false"}=e,{deletable:c="false"}=e,{content:d}=e,{variant:f}=e,{testid:m=""}=e,y,w=!1,_,k;function g(R){y.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),R.stopPropagation()}function x(R){ne[R?"unshift":"push"](()=>{y=R,t(8,y)})}const H=R=>k&&g(R),A=()=>t(9,w=!0),T=()=>t(9,w=!1),C=()=>t(9,w=!1),O=()=>t(9,w=!1);return i.$$set=R=>{"mt"in R&&t(0,r=R.mt),"mr"in R&&t(1,n=R.mr),"mb"in R&&t(2,l=R.mb),"ml"in R&&t(3,o=R.ml),"leadingicon"in R&&t(4,a=R.leadingicon),"error"in R&&t(13,s=R.error),"deletable"in R&&t(14,c=R.deletable),"content"in R&&t(5,d=R.content),"variant"in R&&t(6,f=R.variant),"testid"in R&&t(7,m=R.testid)},i.$$.update=()=>{i.$$.dirty&8192&&t(10,_=U(s)),i.$$.dirty&16384&&t(11,k=U(c))},[r,n,l,o,a,d,f,m,y,w,_,k,g,s,c,x,H,A,T,C,O]}class xr extends P{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;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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Er,pr,I,{mt:0,mr:1,mb:2,ml:3,leadingicon:4,error:13,deletable:14,content:5,variant:6,testid:7},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["mt","mr","mb","ml","leadingicon","error","deletable","content","variant","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),h()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get error(){return this.$$.ctx[13]}set error(e){this.$$set({error:e}),h()}get deletable(){return this.$$.ctx[14]}set deletable(e){this.$$set({deletable:e}),h()}get content(){return this.$$.ctx[5]}set content(e){this.$$set({content:e}),h()}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),h()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-chip",xr);function Cr(i){const e=i-1;return e*e*e+1}function zr(i){return Math.pow(i-1,3)*(1-i)+1}function ze(i,{delay:e=0,duration:t=400,easing:r=Me}={}){const n=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:l=>`opacity: ${l*n}`}}function Tt(i,{delay:e=0,duration:t=400,easing:r=Cr,x:n=0,y:l=0,opacity:o=0}={}){const a=getComputedStyle(i),s=+a.opacity,c=a.transform==="none"?"":a.transform,d=s*(1-o);return{delay:e,duration:t,easing:r,css:(f,m)=>`
|
|
10
20
|
transform: ${c} translate(${(1-f)*n}px, ${(1-f)*l}px);
|
|
11
|
-
opacity: ${s-
|
|
21
|
+
opacity: ${s-d*m}`}}function Mt(i,e){let t=!1;function r(){if(!n())return;const a=o();a>0&&(t=!0,document.body.style.overflow="hidden",document.body.style.paddingRight=a+"px")}function n(){return document.body.style.overflow!=="hidden"}function l(){!t||(t=!1,setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},200))}function o(){if(document.body.clientHeight<=document.documentElement.clientHeight)return 0;const a=document.createElement("div");a.style.visibility="hidden",a.style.overflow="scroll",document.body.appendChild(a);const s=document.createElement("div");a.appendChild(s);const c=a.offsetWidth-s.offsetWidth;return a.parentNode.removeChild(a),c}return e.enable&&r(),{update(){e.enable||l()},destroy(){l()}}}function Lt(i){let e,t,r,n;const l=[Mr,Tr],o=[];function a(s,c){return s[3]?0:s[4]?1:-1}return~(e=a(i))&&(t=o[e]=l[e](i)),{c(){t&&t.c(),r=ve()},m(s,c){~e&&o[e].m(s,c),p(s,r,c),n=!0},p(s,c){let d=e;e=a(s),e===d?~e&&o[e].p(s,c):(t&&(xe(),J(o[d],1,1,()=>{o[d]=null}),Ce()),~e?(t=o[e],t?t.p(s,c):(t=o[e]=l[e](s),t.c()),W(t,1),t.m(r.parentNode,r)):t=null)},i(s){n||(W(t),n=!0)},o(s){J(t),n=!1},d(s){~e&&o[e].d(s),s&&M(r)}}}function Tr(i){let e,t,r,n,l=i[0]&&At(i);return{c(){e=v("div"),t=v("goa-spinner"),r=S(),l&&l.c(),z(t,"size",i[2]),z(t,"progress",i[1]),u(e,"class",n="spinner-"+i[2]),j(e,"inline",i[4])},m(o,a){p(o,e,a),b(e,t),b(e,r),l&&l.m(e,null)},p(o,a){a&4&&z(t,"size",o[2]),a&2&&z(t,"progress",o[1]),o[0]?l?l.p(o,a):(l=At(o),l.c(),l.m(e,null)):l&&(l.d(1),l=null),a&4&&n!==(n="spinner-"+o[2])&&u(e,"class",n),a&20&&j(e,"inline",o[4])},i:E,o:E,d(o){o&&M(e),l&&l.d()}}}function Mr(i){let e,t,r,n,l,o,a,s=i[0]&&Rt(i);return{c(){e=v("div"),t=v("goa-spinner"),r=S(),s&&s.c(),z(t,"size",i[2]),z(t,"progress",i[1]),j(e,"fullscreen",i[3])},m(c,d){p(c,e,d),b(e,t),b(e,r),s&&s.m(e,null),l=!0,o||(a=ot(Mt.call(null,e,{enable:!0})),o=!0)},p(c,d){(!l||d&4)&&z(t,"size",c[2]),(!l||d&2)&&z(t,"progress",c[1]),c[0]?s?s.p(c,d):(s=Rt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!l||d&8)&&j(e,"fullscreen",c[3])},i(c){l||(oe(()=>{n||(n=Ke(e,ze,{duration:300},!0)),n.run(1)}),l=!0)},o(c){n||(n=Ke(e,ze,{duration:300},!1)),n.run(0),l=!1},d(c){c&&M(e),s&&s.d(),c&&n&&n.end(),o=!1,a()}}}function At(i){let e,t;return{c(){e=v("div"),t=G(i[0]),u(e,"class","message")},m(r,n){p(r,e,n),b(e,t)},p(r,n){n&1&&K(t,r[0])},d(r){r&&M(e)}}}function Rt(i){let e,t;return{c(){e=v("div"),t=G(i[0]),u(e,"class","message")},m(r,n){p(r,e,n),b(e,t)},p(r,n){n&1&&K(t,r[0])},d(r){r&&M(e)}}}function Lr(i){let e,t,r=i[5]&&Lt(i);return{c(){r&&r.c(),e=ve(),this.c=E},m(n,l){r&&r.m(n,l),p(n,e,l),t=!0},p(n,[l]){n[5]?r?(r.p(n,l),l&32&&W(r,1)):(r=Lt(n),r.c(),W(r,1),r.m(e.parentNode,e)):r&&(xe(),J(r,1,1,()=>{r=null}),Ce())},i(n){t||(W(r),t=!0)},o(n){J(r),t=!1},d(n){r&&r.d(n),n&&M(e)}}}function Ar(i,e,t){let r;const[n,l]=X("Circular progress variant",["fullscreen","inline"]),[o,a]=X("Button size",["small","large"]);let{variant:s="inline"}=e,{size:c="large"}=e,{message:d=""}=e,{progress:f=-1}=e,{visible:m="false"}=e,y,w,_;return Z(async()=>{l(s),a(c),t(2,y=c==="small"?"large":"xlarge"),t(3,w=s==="fullscreen"),t(4,_=s==="inline")}),i.$$set=k=>{"variant"in k&&t(6,s=k.variant),"size"in k&&t(7,c=k.size),"message"in k&&t(0,d=k.message),"progress"in k&&t(1,f=k.progress),"visible"in k&&t(8,m=k.visible)},i.$$.update=()=>{i.$$.dirty&256&&t(5,r=U(m))},[d,f,y,w,_,r,s,c,m]}class Rr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.fullscreen{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:rgba(255, 255, 255, 0.9)}.inline{margin:3.5rem;display:inline-flex;flex-direction:column;align-items:center;justify-content:center}.spinner-large .message{margin-top:1.5rem;font-size:1.2rem}.spinner-xlarge .message{margin-top:2rem;font-size:1.5rem}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Ar,Lr,I,{variant:6,size:7,message:0,progress:1,visible:8},null),e&&(e.target&&p(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",Rr);function Hr(i){let e,t,r,n,l,o,a,s,c,d;return{c(){e=v("div"),t=v("header"),r=v("div"),r.innerHTML='<slot name="title"></slot>',n=S(),l=v("div"),l.innerHTML='<slot name="actions"></slot>',a=S(),s=v("div"),s.innerHTML="<slot></slot>",this.c=E,u(r,"class","title"),u(l,"class","actions"),u(t,"class",o="heading--"+i[1]),u(s,"class","content"),u(e,"data-testid",i[3]),u(e,"style",c=V(i[4],i[5],i[6],i[7])),u(e,"class",d=`
|
|
12
22
|
goa-container
|
|
13
23
|
goa-container--${i[0]}
|
|
14
24
|
padding--${i[2]}
|
|
15
25
|
accent--${i[1]}
|
|
16
|
-
`)},m(f,m){
|
|
26
|
+
`)},m(f,m){p(f,e,m),b(e,t),b(t,r),b(t,n),b(t,l),b(e,a),b(e,s)},p(f,[m]){m&2&&o!==(o="heading--"+f[1])&&u(t,"class",o),m&8&&u(e,"data-testid",f[3]),m&240&&c!==(c=V(f[4],f[5],f[6],f[7]))&&u(e,"style",c),m&7&&d!==(d=`
|
|
17
27
|
goa-container
|
|
18
28
|
goa-container--${f[0]}
|
|
19
29
|
padding--${f[2]}
|
|
20
30
|
accent--${f[1]}
|
|
21
|
-
`)&&d(e,"class",u)},i:y,o:y,d(f){f&&T(e)}}}function Ar(i,e,t){let{type:r="interactive"}=e,{accent:n="filled"}=e,{padding:l="relaxed"}=e,{testid:a=""}=e,{mt:o=null}=e,{mr:s=null}=e,{mb:c="m"}=e,{ml:u=null}=e;return i.$$set=f=>{"type"in f&&t(0,r=f.type),"accent"in f&&t(1,n=f.accent),"padding"in f&&t(2,l=f.padding),"testid"in f&&t(3,a=f.testid),"mt"in f&&t(4,o=f.mt),"mr"in f&&t(5,s=f.mr),"mb"in f&&t(6,c=f.mb),"ml"in f&&t(7,u=f.ml)},[r,n,l,a,o,s,c,u]}class Hr extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);font-size:var(--fs-base)}.goa-container{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Ar,Rr,D,{type:0,accent:1,padding:2,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","accent","padding","testid","mt","mr","mb","ml"]}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()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[4]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[5]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[6]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[7]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-container",Hr);const Me=[];function Tt(i,e=y){let t;const r=new Set;function n(o){if(D(i,o)&&(i=o,t)){const s=!Me.length;for(const c of r)c[1](),Me.push(c,i);if(s){for(let c=0;c<Me.length;c+=2)Me[c][0](Me[c+1]);Me.length=0}}}function l(o){n(o(i))}function a(o,s=y){const c=[o,s];return r.add(c),r.size===1&&(t=e(n)||y),o(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:n,update:l,subscribe:a}}const Ke={};class Br{constructor(){this.store=Tt()}subscribe(e){this.store.subscribe(t=>{!t||e(t)})}notify(e){(async()=>{await ue(),this.store.update(()=>e)})()}}function Xe(i){let e=Ke[i];return e||(e=new Br),Ke[i]=e,e}function Rt(i){!Ke[i]||delete Ke[i]}function At(i,e,t){const r=i.slice();return r[44]=e[t],r[46]=t,r}function Ht(i){let e,t,r,n;return{c(){e=b("div"),d(e,"data-testid",t=`${i[0]}-dropdown-background`),d(e,"class","goa-dropdown-background")},m(l,a){k(l,e,a),r||(n=X(e,"click",i[21]),r=!0)},p(l,a){a[0]&1&&t!==(t=`${l[0]}-dropdown-background`)&&d(e,"data-testid",t)},d(l){l&&T(e),r=!1,n()}}}function Bt(i){let e,t=(i[44].label||i[44].value)+"",r,n,l,a,o,s,c,u,f;function m(){return i[26](i[44])}return{c(){e=b("li"),r=q(t),d(e,"id",n=i[44].label),d(e,"role","option"),d(e,"aria-label",l=i[44].label||i[44].value),d(e,"aria-selected",a=i[13].includes(i[44].value)?"true":"false"),d(e,"class","goa-dropdown-option"),d(e,"data-testid",o=`dropdown-item-${i[44].value}`),d(e,"data-index",s=i[46]),d(e,"style",c="display: block"),j(e,"goa-dropdown-option--disabled",!1),j(e,"goa-dropdown-option--tabbed",i[46]===i[17]),j(e,"goa-dropdown-option--selected",i[13].includes(i[44].value))},m(_,w){k(_,e,w),g(e,r),u||(f=X(e,"click",m),u=!0)},p(_,w){i=_,w[0]&16384&&t!==(t=(i[44].label||i[44].value)+"")&&K(r,t),w[0]&16384&&n!==(n=i[44].label)&&d(e,"id",n),w[0]&16384&&l!==(l=i[44].label||i[44].value)&&d(e,"aria-label",l),w[0]&24576&&a!==(a=i[13].includes(i[44].value)?"true":"false")&&d(e,"aria-selected",a),w[0]&16384&&o!==(o=`dropdown-item-${i[44].value}`)&&d(e,"data-testid",o),w[0]&131072&&j(e,"goa-dropdown-option--tabbed",i[46]===i[17]),w[0]&24576&&j(e,"goa-dropdown-option--selected",i[13].includes(i[44].value))},d(_){_&&T(e),u=!1,f()}}}function Sr(i){let e,t,r,n,l,a,o,s,c,u,f,m,_,w,C=i[16]&&Ht(i),p=i[14],E=[];for(let x=0;x<p.length;x+=1)E[x]=Bt(At(i,p,x));return{c(){e=b("div"),C&&C.c(),t=A(),r=b("goa-input"),a=A(),o=b("ul");for(let x=0;x<E.length;x+=1)E[x].c();s=A(),c=b("slot"),this.c=y,M(r,"error",i[7]),M(r,"disabled",i[6]),M(r,"leadingicon",i[2]),M(r,"placeholder",i[4]),M(r,"width","100%"),M(r,"data-testid",n=`${i[0]}-dropdown-input`),M(r,"role","combobox"),M(r,"aria-label",l=i[1]||i[0]),M(r,"aria-expanded",i[16]),M(r,"aria-controls","menu"),M(r,"readonly",""),M(r,"trailingicon","chevron-down"),M(r,"type","text"),M(r,"value",i[15]),d(o,"id","menu"),d(o,"role","listbox"),d(o,"aria-activedescendant",i[15]),d(o,"data-testid","dropdown-menu"),d(o,"tabindex","0"),d(o,"class","goa-dropdown-list"),d(o,"style",u=`overflow-y: auto; max-height: ${i[3]}`),j(o,"dropdown-active",i[16]),d(e,"data-testid",f=`${i[0]}-dropdown`),d(e,"class","goa-dropdown-box"),d(e,"style",m=`
|
|
22
|
-
${
|
|
23
|
-
--width: ${i[5]||i[
|
|
24
|
-
`)
|
|
25
|
-
${
|
|
26
|
-
--width: ${
|
|
27
|
-
`)&&
|
|
28
|
-
${P(i[2],i[3],i[4],i[5])}
|
|
29
|
-
--min-child-width: ${i[1]||0};
|
|
30
|
-
gap: var(--goa-spacing-${i[0]})
|
|
31
|
-
`)},m(n,l){k(n,e,l),g(e,t)},p(n,[l]){l&63&&r!==(r=`
|
|
32
|
-
${P(n[2],n[3],n[4],n[5])}
|
|
33
|
-
--min-child-width: ${n[1]||0};
|
|
34
|
-
gap: var(--goa-spacing-${n[0]})
|
|
35
|
-
`)&&d(e,"style",r)},i:y,o:y,d(n){n&&T(e)}}}function qr(i,e,t){let{gap:r="m"}=e,{minchildwidth:n=""}=e,{mt:l=null}=e,{mr:a=null}=e,{mb:o=null}=e,{ml:s=null}=e;return Q(()=>{Pi("Grid",{minchildwidth:n})}),i.$$set=c=>{"gap"in c&&t(0,r=c.gap),"minchildwidth"in c&&t(1,n=c.minchildwidth),"mt"in c&&t(2,l=c.mt),"mr"in c&&t(3,a=c.mr),"mb"in c&&t(4,o=c.mb),"ml"in c&&t(5,s=c.ml)},[r,n,l,a,o,s]}class Gr extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-grid{display:flex;flex-direction:column;gap:var(--gap)}@media(min-width: 640px){.goa-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(var(--min-child-width), 1fr))}}</style>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},qr,Fr,D,{gap:0,minchildwidth:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap","minchildwidth","mt","mr","mb","ml"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),h()}get minchildwidth(){return this.$$.ctx[1]}set minchildwidth(e){this.$$set({minchildwidth:e}),h()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-grid",Gr);function Vr(i){let e;return{c(){e=b("div"),e.innerHTML=`<slot></slot>
|
|
31
|
+
`)&&u(e,"class",d)},i:E,o:E,d(f){f&&M(e)}}}function Sr(i,e,t){const[r,n]=X("Container type",["interactive","info","error","success","important","non-interactive"]),[l,o]=X("Container accent",["thick","thin","filled"]),[a,s]=X("Container padding",["relaxed","compact"]);let{type:c="interactive"}=e,{accent:d="filled"}=e,{padding:f="relaxed"}=e,{testid:m=""}=e,{mt:y=null}=e,{mr:w=null}=e,{mb:_="m"}=e,{ml:k=null}=e;return Z(()=>{n(c),o(d),s(f)}),i.$$set=g=>{"type"in g&&t(0,c=g.type),"accent"in g&&t(1,d=g.accent),"padding"in g&&t(2,f=g.padding),"testid"in g&&t(3,m=g.testid),"mt"in g&&t(4,y=g.mt),"mr"in g&&t(5,w=g.mr),"mb"in g&&t(6,_=g.mb),"ml"in g&&t(7,k=g.ml)},[c,d,f,m,y,w,_,k]}class Br extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);font-size:var(--fs-base)}.goa-container{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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Sr,Hr,I,{type:0,accent:1,padding:2,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","accent","padding","testid","mt","mr","mb","ml"]}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()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[4]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[5]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[6]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[7]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-container",Br);function Dr(i){let e,t;return{c(){e=v("hr"),this.c=E,u(e,"data-testid",i[0]),u(e,"style",t=V(i[1],i[2],i[3],i[4]))},m(r,n){p(r,e,n)},p(r,[n]){n&1&&u(e,"data-testid",r[0]),n&30&&t!==(t=V(r[1],r[2],r[3],r[4]))&&u(e,"style",t)},i:E,o:E,d(r){r&&M(e)}}}function Nr(i,e,t){let{testid:r=""}=e,{mt:n=null}=e,{mr:l=null}=e,{mb:o=null}=e,{ml:a=null}=e;return i.$$set=s=>{"testid"in s&&t(0,r=s.testid),"mt"in s&&t(1,n=s.mt),"mr"in s&&t(2,l=s.mr),"mb"in s&&t(3,o=s.mb),"ml"in s&&t(4,a=s.ml)},[r,n,l,o,a]}class Or extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>hr{padding:0;margin:0;height:1px;background-color:var(--color-gray-200);border:none}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Nr,Dr,I,{testid:0,mt:1,mr:2,mb:3,ml:4},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["testid","mt","mr","mb","ml"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[1]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[2]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[3]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[4]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-divider",Or);function Ht(i,e,t){const r=i.slice();return r[48]=e[t],r[52]=t,r}function St(i,e,t){const r=i.slice();return r[48]=e[t],r}function jr(i){let e,t,r,n,l,o,a,s,c=[],d=new Map,f,m,y,w=i[15]&&Bt(i),_=i[13];const k=g=>g[52];for(let g=0;g<_.length;g+=1){let x=Ht(i,_,g),H=k(x);d.set(H,c[g]=Dt(H,x))}return{c(){w&&w.c(),e=S(),t=v("slot"),r=S(),n=v("goa-input"),a=S(),s=v("ul");for(let g=0;g<c.length;g+=1)c[g].c();z(n,"error",i[7]),z(n,"disabled",i[6]),z(n,"leadingicon",i[2]),z(n,"placeholder",i[4]),z(n,"aria-controls","menu"),z(n,"aria-expanded",i[15]),z(n,"arialabel",l=i[1]||i[0]),z(n,"data-testid",o=`${i[0]}-dropdown-input`),z(n,"readonly",""),z(n,"role","combobox"),z(n,"trailingicon","chevron-down"),z(n,"type","text"),z(n,"value",i[14]),z(n,"width","100%"),z(n,"name",i[0]),u(s,"id","menu"),u(s,"role","listbox"),u(s,"aria-activedescendant",i[14]),u(s,"data-testid","dropdown-menu"),u(s,"tabindex","0"),u(s,"class","dropdown-list"),u(s,"style",f=`overflow-y: auto; max-height: ${i[3]}`),j(s,"dropdown-active",i[15])},m(g,x){w&&w.m(g,x),p(g,e,x),p(g,t,x),p(g,r,x),p(g,n,x),p(g,a,x),p(g,s,x);for(let H=0;H<c.length;H+=1)c[H].m(s,null);i[33](s),m||(y=Y(n,"click",i[24]),m=!0)},p(g,x){g[15]?w?w.p(g,x):(w=Bt(g),w.c(),w.m(e.parentNode,e)):w&&(w.d(1),w=null),x[0]&128&&z(n,"error",g[7]),x[0]&64&&z(n,"disabled",g[6]),x[0]&4&&z(n,"leadingicon",g[2]),x[0]&16&&z(n,"placeholder",g[4]),x[0]&32768&&z(n,"aria-expanded",g[15]),x[0]&3&&l!==(l=g[1]||g[0])&&z(n,"arialabel",l),x[0]&1&&o!==(o=`${g[0]}-dropdown-input`)&&z(n,"data-testid",o),x[0]&16384&&z(n,"value",g[14]),x[0]&1&&z(n,"name",g[0]),x[0]&67186688&&(_=g[13],c=wt(c,x,k,1,g,_,d,s,vt,Dt,null,Ht)),x[0]&16384&&u(s,"aria-activedescendant",g[14]),x[0]&8&&f!==(f=`overflow-y: auto; max-height: ${g[3]}`)&&u(s,"style",f),x[0]&32768&&j(s,"dropdown-active",g[15])},d(g){w&&w.d(g),g&&M(e),g&&M(t),g&&M(r),g&&M(n),g&&M(a),g&&M(s);for(let x=0;x<c.length;x+=1)c[x].d();i[33](null),m=!1,y()}}}function Ir(i){let e,t,r,n,l,o=i[13],a=[];for(let s=0;s<o.length;s+=1)a[s]=Nt(St(i,o,s));return{c(){e=v("select"),t=v("slot");for(let s=0;s<a.length;s+=1)a[s].c();e.disabled=i[21],u(e,"aria-label",r=i[1]||i[0]),j(e,"error",i[23])},m(s,c){p(s,e,c),b(e,t);for(let d=0;d<a.length;d+=1)a[d].m(e,null);i[31](e),n||(l=Y(e,"change",i[27]),n=!0)},p(s,c){if(c[0]&8192){o=s[13];let d;for(d=0;d<o.length;d+=1){const f=St(s,o,d);a[d]?a[d].p(f,c):(a[d]=Nt(f),a[d].c(),a[d].m(e,null))}for(;d<a.length;d+=1)a[d].d(1);a.length=o.length}c[0]&2097152&&(e.disabled=s[21]),c[0]&3&&r!==(r=s[1]||s[0])&&u(e,"aria-label",r),c[0]&8388608&&j(e,"error",s[23])},d(s){s&&M(e),Ie(a,s),i[31](null),n=!1,l()}}}function Bt(i){let e,t,r,n;return{c(){e=v("div"),u(e,"data-testid",t=`${i[0]}-dropdown-background`),u(e,"class","dropdown-background")},m(l,o){p(l,e,o),r||(n=Y(e,"click",i[25]),r=!0)},p(l,o){o[0]&1&&t!==(t=`${l[0]}-dropdown-background`)&&u(e,"data-testid",t)},d(l){l&&M(e),r=!1,n()}}}function Dt(i,e){let t,r=(e[48].label||e[48].value)+"",n,l,o,a,s,c,d,f,m,y,w;function _(){return e[32](e[48])}return{key:i,first:null,c(){t=v("li"),n=G(r),l=S(),u(t,"id",o=e[48].label),u(t,"role","option"),u(t,"aria-label",a=e[48].label||e[48].value),u(t,"aria-selected",s=e[12].includes(e[48].value)?"true":"false"),u(t,"class","dropdown-item"),u(t,"data-testid",c=`dropdown-item-${e[48].value}`),u(t,"data-index",d=e[52]),u(t,"data-value",f=e[48].value),u(t,"style",m="display: block"),j(t,"dropdown-item--disabled",!1),j(t,"dropdown-item--tabbed",e[52]===e[16]),j(t,"dropdown-item--selected",e[12].includes(e[48].value)),this.first=t},m(k,g){p(k,t,g),b(t,n),b(t,l),y||(w=Y(t,"click",_),y=!0)},p(k,g){e=k,g[0]&8192&&r!==(r=(e[48].label||e[48].value)+"")&&K(n,r),g[0]&8192&&o!==(o=e[48].label)&&u(t,"id",o),g[0]&8192&&a!==(a=e[48].label||e[48].value)&&u(t,"aria-label",a),g[0]&12288&&s!==(s=e[12].includes(e[48].value)?"true":"false")&&u(t,"aria-selected",s),g[0]&8192&&c!==(c=`dropdown-item-${e[48].value}`)&&u(t,"data-testid",c),g[0]&8192&&d!==(d=e[52])&&u(t,"data-index",d),g[0]&8192&&f!==(f=e[48].value)&&u(t,"data-value",f),g[0]&73728&&j(t,"dropdown-item--tabbed",e[52]===e[16]),g[0]&12288&&j(t,"dropdown-item--selected",e[12].includes(e[48].value))},d(k){k&&M(t),y=!1,w()}}}function Nt(i){let e,t=i[48].label+"",r,n,l,o,a;return{c(){e=v("option"),r=G(t),n=S(),e.selected=l=i[48].selected,e.__value=o=i[48].value,e.value=e.__value,u(e,"aria-label",a=i[48].label)},m(s,c){p(s,e,c),b(e,r),b(e,n)},p(s,c){c[0]&8192&&t!==(t=s[48].label+"")&&K(r,t),c[0]&8192&&l!==(l=s[48].selected)&&(e.selected=l),c[0]&8192&&o!==(o=s[48].value)&&(e.__value=o,e.value=e.__value),c[0]&8192&&a!==(a=s[48].label)&&u(e,"aria-label",a)},d(s){s&&M(e)}}}function Pr(i){let e,t,r;function n(a,s){return a[22]?Ir:jr}let l=n(i),o=l(i);return{c(){e=v("div"),o.c(),this.c=E,u(e,"data-testid",t=`${i[0]}-dropdown`),u(e,"class","dropdown"),u(e,"style",r=`
|
|
32
|
+
${V(i[8],i[9],i[10],i[11])}
|
|
33
|
+
--width: ${i[5]||i[17]}
|
|
34
|
+
`),j(e,"dropdown-native",i[22])},m(a,s){p(a,e,s),o.m(e,null),i[34](e)},p(a,s){l===(l=n(a))&&o?o.p(a,s):(o.d(1),o=l(a),o&&(o.c(),o.m(e,null))),s[0]&1&&t!==(t=`${a[0]}-dropdown`)&&u(e,"data-testid",t),s[0]&134944&&r!==(r=`
|
|
35
|
+
${V(a[8],a[9],a[10],a[11])}
|
|
36
|
+
--width: ${a[5]||a[17]}
|
|
37
|
+
`)&&u(e,"style",r),s[0]&4194304&&j(e,"dropdown-native",a[22])},i:E,o:E,d(a){a&&M(e),o.d(),i[34](null)}}}function qr(i){let e,t=0;return i.forEach(r=>{const n=r.label||r.value||"";!e&&t<n.length&&(t=n.length,e=`${Math.max(20,t+12)}ch`)}),e}function Fr(i,e,t){let r,n,l,o,{name:a}=e,{arialabel:s=""}=e,{value:c=""}=e,{leadingicon:d=null}=e,{maxheight:f="276px"}=e,{placeholder:m=""}=e,{width:y=""}=e,{disabled:w="false"}=e,{error:_="false"}=e,{multiselect:k="false"}=e,{native:g="false"}=e,{mt:x=null}=e,{mr:H=null}=e,{mb:A=null}=e,{ml:T=null}=e,C=[],O=[],R="",L=!1,D=0,ae,$,te,ee;Z(async()=>{await Ee(),t(12,C=Ye()),t(13,O=Se()),o||(t(17,ae=qr(O)),Ze(),Be())}),Ai(()=>{Xe()});function re(){const B=$.querySelector("slot");return B?B.assignedElements():[...(o?ee:$).children]}function Se(){return re().map(de=>{const ce=de,ge=de.getAttribute("value")||ce.value,wi=de.getAttribute("label")||ce.label||ge,_i=C.includes(ge);return _i&&(t(14,R=wi),t(12,C=[ge])),{selected:_i,value:ge,label:wi}})}function Ze(){$.addEventListener("focus",gi,!0),$.addEventListener("blur",bi,!0)}function Xe(){$.removeEventListener("focus",gi,!0),$.removeEventListener("blur",bi,!0)}function Ye(){let B;try{B=JSON.parse(c||"[]")}catch{B=[c]}return(typeof B=="object"?B:[B]).map(ce=>`${ce}`)}async function ye(){r||L||(t(15,L=!0),await Ee(),te.addEventListener("blur",ie),te.addEventListener("mouseover",vi))}function ie(){te.removeEventListener("blur",ie),te.removeEventListener("mouseover",vi),Be(),t(15,L=!1)}function Be(){t(16,D=O.findIndex(B=>C.includes(B.value)))}function ke(B,de,ce){if(r)return;t(14,R=de);let ge;l?(C.push(B),ge={name:a,values:C}):(t(12,C=[B]),ge={name:a,value:B}),$.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:ge})),ce&&ie()}const N=B=>{switch(B.key){case" ":case"Enter":L?ie():ye(),B.preventDefault();break;case"Escape":L&&ie(),B.preventDefault();break;case"ArrowDown":if(B.altKey){L?ie():ye();break}Je(),B.preventDefault();break;case"ArrowUp":if(B.altKey){L?ie():ye();break}yl(),B.preventDefault();break}};function Je(){D<O.length-1&&(t(16,D++,D),ke(O[D].value,O[D].label,!1))}function yl(){D>0&&(t(16,D--,D),ke(O[D].value,O[D].label,!1))}function gi(){$.addEventListener("keydown",N)}function bi(){$.removeEventListener("keydown",N)}function vi(B){t(16,D=Number(B.target.dataset.index))}function kl(B){const de=B.currentTarget,ce=O[de.selectedIndex];ke(ce.value,ce.label)}function pl(B){ne[B?"unshift":"push"](()=>{ee=B,t(20,ee),t(13,O)})}const El=B=>ke(B.value,B.label,!0);function xl(B){ne[B?"unshift":"push"](()=>{te=B,t(19,te)})}function Cl(B){ne[B?"unshift":"push"](()=>{$=B,t(18,$)})}return i.$$set=B=>{"name"in B&&t(0,a=B.name),"arialabel"in B&&t(1,s=B.arialabel),"value"in B&&t(28,c=B.value),"leadingicon"in B&&t(2,d=B.leadingicon),"maxheight"in B&&t(3,f=B.maxheight),"placeholder"in B&&t(4,m=B.placeholder),"width"in B&&t(5,y=B.width),"disabled"in B&&t(6,w=B.disabled),"error"in B&&t(7,_=B.error),"multiselect"in B&&t(29,k=B.multiselect),"native"in B&&t(30,g=B.native),"mt"in B&&t(8,x=B.mt),"mr"in B&&t(9,H=B.mr),"mb"in B&&t(10,A=B.mb),"ml"in B&&t(11,T=B.ml)},i.$$.update=()=>{i.$$.dirty[0]&64&&t(21,r=U(w)),i.$$.dirty[0]&128&&t(23,n=U(_)),i.$$.dirty[0]&536870912&&(l=U(k)),i.$$.dirty[0]&1073741824&&t(22,o=U(g))},[a,s,d,f,m,y,w,_,x,H,A,T,C,O,R,L,D,ae,$,te,ee,r,o,n,ye,ie,ke,kl,c,k,g,pl,El,xl,Cl]}class Vr extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.dropdown{position:relative;cursor:pointer;display:inline-block;width:100%}@media(min-width: 640px){.dropdown{width:var(--width)}}.dropdown-background{cursor:default;position:fixed;z-index:98;inset:0}.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}.dropdown-list::-webkit-scrollbar{width:6px}.dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.dropdown-list::-webkit-scrollbar-thumb{background:#888}.dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}.dropdown-item{margin:0;padding:0.5rem;cursor:pointer;color:var(--color-black);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-item--tabbed{background:var(--color-gray-100);color:var(--goa-color-interactive--hover)}.dropdown-item--disabled{opacity:0.5;cursor:default}.dropdown-item--disabled:hover{cursor:default;color:var(--color-gray-600)}.dropdown-item--selected{background:var(--goa-color-interactive);color:var(--color-white)}.dropdown-item--tabbed.dropdown-item--selected,.dropdown-item--selected:hover{background:var(--goa-color-interactive--hover);color:var(--color-white)}.dropdown-native{border:1px solid var(--color-gray-600);border-radius:var(--input-border-radius);background-color:var(--color-white)}.dropdown-native:has(select:disabled){background-color:var(--color-gray-100);border-color:var(--color-gray-200);box-shadow:none;color:var(--goa-color-text-secondary);cursor:default}.dropdown-native:has(select.error){border:2px solid var(--goa-color-interactive--error)}select{border:none;background-color:transparent;color:var(--goa-color-text);font-size:var(--input-font-size);appearance:none;padding:calc(var(--input-padding) + 2px);padding-left:0.5rem;padding-right:3rem;outline:none;width:100%}.dropdown-native::after{content:"";position:absolute;right:0.6rem;top:0.6rem;pointer-events:none;width:1.5rem;height:1.5rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='none' stroke='%23333333' stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144' /%3E%3C/svg%3E");background-repeat:none}.dropdown-native:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}</style>`,F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Fr,Pr,I,{name:0,arialabel:1,value:28,leadingicon:2,maxheight:3,placeholder:4,width:5,disabled:6,error:7,multiselect:29,native:30,mt:8,mr:9,mb:10,ml:11},null,[-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","arialabel","value","leadingicon","maxheight","placeholder","width","disabled","error","multiselect","native","mt","mr","mb","ml"]}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[28]}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 width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),h()}get disabled(){return this.$$.ctx[6]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),h()}get multiselect(){return this.$$.ctx[29]}set multiselect(e){this.$$set({multiselect:e}),h()}get native(){return this.$$.ctx[30]}set native(e){this.$$set({native:e}),h()}get mt(){return this.$$.ctx[8]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[9]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[10]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[11]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-dropdown",Vr);function Gr(i){return{c(){this.c=E},m:E,p:E,i:E,o:E,d:E}}class Ur extends P{constructor(e){super();F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},null,Gr,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-dropdown-item",Ur);function Wr(i){let e;return{c(){e=v("div"),e.innerHTML=`<slot></slot>
|
|
36
38
|
|
|
37
|
-
<span tabindex="0"></span>`,this.c=y,d(e,"id","root")},m(t,r){k(t,e,r),i[4](e)},p:y,i:y,o:y,d(t){t&&T(e),i[4](null)}}}function Ur(i){if(i.tabIndex>0||i.tabIndex===0&&i.getAttribute("tabIndex")!==null)return!0;if(i.disabled)return!1;switch(i.nodeName){case"A":{const t=i;return!!t.href&&t.rel!=="ignore"}case"INPUT":{const t=i;return t.type!=="hidden"&&t.type!=="file"}case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}function Wr(i,e,t){let r,{active:n}=e,l=!1,a,o,s=!1;function c(){document.removeEventListener("focus",x,!0)}function u(){document.addEventListener("focus",x,!0)}function f(z){if(!z)return!1;for(const R of z)if(E(R)||f(R.childNodes)||m(R)||_(R))return!0;return!1}function m(z){if(!(z instanceof HTMLSlotElement))return!1;if(f(z.assignedNodes()))return!0}function _(z){var R;if(!(z instanceof HTMLElement))return!1;if(f((R=z.shadowRoot)===null||R===void 0?void 0:R.childNodes))return!0}function w(z){if(!z)return!1;for(let R=z.length-1;R>=0;R--){let v=z[R];if(E(v)||w(v.childNodes)||C(v)||p(v))return!0}return!1}function C(z){if(!(z instanceof HTMLSlotElement))return!1;if(w(z.assignedNodes()))return!0}function p(z){var R;if(!(z instanceof HTMLElement))return!1;if(w((R=z.shadowRoot)===null||R===void 0?void 0:R.childNodes))return!0}function E(z){if(!Ur(z))return!1;try{l=!0,z.focus()}catch{}finally{l=!1}return document.activeElement===z}function x(z){var R;if(l)return;const v=(R=o.firstChild)===null||R===void 0?void 0:R.assignedElements();if(!(v==null?void 0:v.length))return;const F=v[0];if(z.composedPath().includes(F)){a=z.target;return}f(F.childNodes),a==document.activeElement&&w(F.childNodes),a=document.activeElement}function L(z){te[z?"unshift":"push"](()=>{o=z,t(0,o)})}return i.$$set=z=>{"active"in z&&t(1,n=z.active)},i.$$.update=()=>{i.$$.dirty&2&&t(3,r=V(n)),i.$$.dirty&12&&(r&&!s&&(u(),t(2,s=!0)),!r&&s&&(c(),t(2,s=!1)))},[o,n,s,r,L]}class Kr extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>#root{display:inline}</style>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Wr,Vr,D,{active:1},null),e&&(e.target&&k(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",Kr);function St(i,e,t){const r=i.slice();return r[3]=e[t],r}function Dt(i){let e,t,r=i[3].innerHTML+"",n,l;return{c(){e=b("li"),t=b("a"),n=q(r),d(t,"href",l=i[3].href)},m(a,o){k(a,e,o),g(e,t),g(t,n)},p(a,o){o&2&&r!==(r=a[3].innerHTML+"")&&K(n,r),o&2&&l!==(l=a[3].href)&&d(t,"href",l)},d(a){a&&T(e)}}}function Xr(i){let e,t,r,n,l=i[1],a=[];for(let o=0;o<l.length;o+=1)a[o]=Dt(St(i,l,o));return{c(){e=b("section"),t=b("div"),t.innerHTML="<slot></slot>",r=A(),n=b("ul");for(let o=0;o<a.length;o+=1)a[o].c();this.c=y,d(t,"class","hidden")},m(o,s){k(o,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(o,[s]){if(s&2){l=o[1];let c;for(c=0;c<l.length;c+=1){const u=St(o,l,c);a[c]?a[c].p(u,s):(a[c]=Dt(u),a[c].c(),a[c].m(n,null))}for(;c<a.length;c+=1)a[c].d(1);a.length=l.length}},i:y,o:y,d(o){o&&T(e),Oe(a,o),i[2](null)}}}function Yr(i,e,t){let r,n=[];Q(async()=>{if(await ue(),t(1,n=r.querySelector("slot").assignedElements()),!n.map(o=>o.hasAttribute("href")).reduce((o,s)=>o&&s,!0)){t(1,n=[]),console.warn("GoAFooterMetaSection children must be anchor elements.");return}});function l(a){te[a?"unshift":"push"](()=>{r=a,t(0,r)})}return[r,n,l]}class Zr extends N{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Yr,Xr,D,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-app-footer-meta-section",Zr);function Nt(i,e,t){const r=i.slice();return r[5]=e[t],r}function jt(i){let e,t,r,n;return{c(){e=b("div"),t=q(i[0]),r=A(),n=b("goa-divider"),d(e,"class","title"),M(n,"spacing","small")},m(l,a){k(l,e,a),g(e,t),k(l,r,a),k(l,n,a)},p(l,a){a&1&&K(t,l[0])},d(l){l&&T(e),l&&T(r),l&&T(n)}}}function Ot(i){let e,t,r=i[5].innerHTML+"",n,l;return{c(){e=b("li"),t=b("a"),n=q(r),d(t,"href",l=i[5].href)},m(a,o){k(a,e,o),g(e,t),g(t,n)},p(a,o){o&8&&r!==(r=a[5].innerHTML+"")&&K(n,r),o&8&&l!==(l=a[5].href)&&d(t,"href",l)},d(a){a&&T(e)}}}function Jr(i){let e,t,r,n,l,a,o=i[0]&&jt(i),s=i[3],c=[];for(let u=0;u<s.length;u+=1)c[u]=Ot(Nt(i,s,u));return{c(){e=b("section"),o&&o.c(),t=A(),r=b("div"),r.innerHTML="<slot></slot>",n=A(),l=b("ul");for(let u=0;u<c.length;u+=1)c[u].c();this.c=y,d(r,"class","hidden"),d(l,"class","links"),d(l,"style",a=`
|
|
39
|
+
<span tabindex="0"></span>`,this.c=E,u(e,"id","root")},m(t,r){p(t,e,r),i[4](e)},p:E,i:E,o:E,d(t){t&&M(e),i[4](null)}}}function Kr(i){if(i.tabIndex>0||i.tabIndex===0&&i.getAttribute("tabIndex")!==null)return!0;if(i.disabled)return!1;switch(i.nodeName){case"A":{const t=i;return!!t.href&&t.rel!=="ignore"}case"INPUT":{const t=i;return t.type!=="hidden"&&t.type!=="file"}case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}function Zr(i,e,t){let r,{active:n}=e,l=!1,o,a,s=!1;function c(){document.removeEventListener("focus",x,!0)}function d(){document.addEventListener("focus",x,!0)}function f(A){if(!A)return!1;for(const T of A)if(g(T)||f(T.childNodes)||m(T)||y(T))return!0;return!1}function m(A){if(!(A instanceof HTMLSlotElement))return!1;if(f(A.assignedNodes()))return!0}function y(A){var T;if(!(A instanceof HTMLElement))return!1;if(f((T=A.shadowRoot)===null||T===void 0?void 0:T.childNodes))return!0}function w(A){if(!A)return!1;for(let T=A.length-1;T>=0;T--){let C=A[T];if(g(C)||w(C.childNodes)||_(C)||k(C))return!0}return!1}function _(A){if(!(A instanceof HTMLSlotElement))return!1;if(w(A.assignedNodes()))return!0}function k(A){var T;if(!(A instanceof HTMLElement))return!1;if(w((T=A.shadowRoot)===null||T===void 0?void 0:T.childNodes))return!0}function g(A){if(!Kr(A))return!1;try{l=!0,A.focus()}catch{}finally{l=!1}return document.activeElement===A}function x(A){var T;if(l)return;const C=(T=a.firstChild)===null||T===void 0?void 0:T.assignedElements();if(!(C==null?void 0:C.length))return;const O=C[0];if(A.composedPath().includes(O)){o=A.target;return}f(O.childNodes),o==document.activeElement&&w(O.childNodes),o=document.activeElement}function H(A){ne[A?"unshift":"push"](()=>{a=A,t(0,a)})}return i.$$set=A=>{"active"in A&&t(1,n=A.active)},i.$$.update=()=>{i.$$.dirty&2&&t(3,r=U(n)),i.$$.dirty&12&&(r&&!s&&(d(),t(2,s=!0)),!r&&s&&(c(),t(2,s=!1)))},[a,n,s,r,H]}class Xr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>#root{display:inline}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Zr,Wr,I,{active:1},null),e&&(e.target&&p(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",Xr);function Ot(i){let e;return{c(){e=v("goa-divider"),z(e,"spacing","small")},m(t,r){p(t,e,r)},d(t){t&&M(e)}}}function Yr(i){let e,t,r,n,l,o,a,s,c,d,f,m,y,w=i[2]?.length&&Ot();return{c(){e=v("div"),t=v("div"),r=v("div"),r.innerHTML='<slot name="nav"></slot>',n=S(),w&&w.c(),l=S(),o=v("div"),a=v("div"),a.innerHTML='<slot name="meta"></slot>',s=S(),c=v("div"),d=v("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=S(),m=v("a"),m.textContent=`\xA9 ${i[4]} Government of Alberta`,this.c=E,u(r,"class","nav-links"),u(a,"class","meta-links"),u(d,"href","https://alberta.ca"),u(m,"href","https://alberta.ca"),u(m,"class","goa-copyright"),u(c,"class","abgov"),j(c,"with-meta-links",i[3]?.length),u(o,"class","meta-section"),j(o,"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(_,k){p(_,e,k),b(e,t),b(t,r),b(t,n),w&&w.m(t,null),b(t,l),b(t,o),b(o,a),b(o,s),b(o,c),b(c,d),b(c,f),b(c,m),i[5](e)},p(_,[k]){_[2]?.length?w||(w=Ot(),w.c(),w.m(t,l)):w&&(w.d(1),w=null),k&8&&j(c,"with-meta-links",_[3]?.length),k&8&&j(o,"with-meta-links",_[3]?.length),k&1&&y!==(y=`--max-content-width: ${_[0]||"100%"}`)&&u(e,"style",y)},i:E,o:E,d(_){_&&M(e),w&&w.d(),i[5](null)}}}function Jr(i,e,t){let{maxcontentwidth:r=""}=e,n,l,o;const a=new Date().getFullYear();Z(async()=>{await Ee();const c=n.querySelector("slot[name=nav]"),d=n.querySelector("slot[name=meta]");t(2,l=c.assignedElements()),t(3,o=d.assignedElements())});function s(c){ne[c?"unshift":"push"](()=>{n=c,t(1,n)})}return i.$$set=c=>{"maxcontentwidth"in c&&t(0,r=c.maxcontentwidth)},[r,n,l,o,a,s]}class Qr extends P{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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Jr,Yr,I,{maxcontentwidth:0},null),e&&(e.target&&p(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",Qr);function jt(i,e,t){const r=i.slice();return r[3]=e[t],r}function It(i){let e,t,r=i[3].innerHTML+"",n,l;return{c(){e=v("li"),t=v("a"),n=G(r),u(t,"href",l=i[3].href)},m(o,a){p(o,e,a),b(e,t),b(t,n)},p(o,a){a&2&&r!==(r=o[3].innerHTML+"")&&K(n,r),a&2&&l!==(l=o[3].href)&&u(t,"href",l)},d(o){o&&M(e)}}}function $r(i){let e,t,r,n,l=i[1],o=[];for(let a=0;a<l.length;a+=1)o[a]=It(jt(i,l,a));return{c(){e=v("section"),t=v("div"),t.innerHTML="<slot></slot>",r=S(),n=v("ul");for(let a=0;a<o.length;a+=1)o[a].c();this.c=E,u(t,"class","hidden")},m(a,s){p(a,e,s),b(e,t),b(e,r),b(e,n);for(let c=0;c<o.length;c+=1)o[c].m(n,null);i[2](e)},p(a,[s]){if(s&2){l=a[1];let c;for(c=0;c<l.length;c+=1){const d=jt(a,l,c);o[c]?o[c].p(d,s):(o[c]=It(d),o[c].c(),o[c].m(n,null))}for(;c<o.length;c+=1)o[c].d(1);o.length=l.length}},i:E,o:E,d(a){a&&M(e),Ie(o,a),i[2](null)}}}function en(i,e,t){let r,n=[];Z(async()=>{if(await Ee(),t(1,n=r.querySelector("slot").assignedElements()),!n.map(a=>a.hasAttribute("href")).reduce((a,s)=>a&&s,!0)){t(1,n=[]),console.warn("GoAFooterMetaSection children must be anchor elements.");return}});function l(o){ne[o?"unshift":"push"](()=>{r=o,t(0,r)})}return[r,n,l]}class tn extends P{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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},en,$r,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-app-footer-meta-section",tn);function Pt(i,e,t){const r=i.slice();return r[5]=e[t],r}function qt(i){let e,t,r,n;return{c(){e=v("div"),t=G(i[0]),r=S(),n=v("goa-divider"),u(e,"class","title"),z(n,"spacing","small")},m(l,o){p(l,e,o),b(e,t),p(l,r,o),p(l,n,o)},p(l,o){o&1&&K(t,l[0])},d(l){l&&M(e),l&&M(r),l&&M(n)}}}function Ft(i){let e,t,r=i[5].innerHTML+"",n,l;return{c(){e=v("li"),t=v("a"),n=G(r),u(t,"href",l=i[5].href)},m(o,a){p(o,e,a),b(e,t),b(t,n)},p(o,a){a&8&&r!==(r=o[5].innerHTML+"")&&K(n,r),a&8&&l!==(l=o[5].href)&&u(t,"href",l)},d(o){o&&M(e)}}}function rn(i){let e,t,r,n,l,o,a=i[0]&&qt(i),s=i[3],c=[];for(let d=0;d<s.length;d+=1)c[d]=Ft(Pt(i,s,d));return{c(){e=v("section"),a&&a.c(),t=S(),r=v("div"),r.innerHTML="<slot></slot>",n=S(),l=v("ul");for(let d=0;d<c.length;d+=1)c[d].c();this.c=E,u(r,"class","hidden"),u(l,"class","links"),u(l,"style",o=`
|
|
38
40
|
--narrow-display-type: ${Math.ceil(i[1]/2)>1?"block":"flex"};
|
|
39
41
|
--narrow-column-count: ${Math.ceil(i[1]/2)};
|
|
40
42
|
--wide-display-type: ${i[1]>1?"block":"flex"};
|
|
41
43
|
--wide-column-count: ${i[1]};
|
|
42
|
-
`)},m(
|
|
43
|
-
--narrow-display-type: ${Math.ceil(
|
|
44
|
-
--narrow-column-count: ${Math.ceil(
|
|
45
|
-
--wide-display-type: ${
|
|
46
|
-
--wide-column-count: ${
|
|
47
|
-
`)&&d(l,"style",a)},i:y,o:y,d(u){u&&T(e),o&&o.d(),Oe(c,u),i[4](null)}}}function Qr(i,e,t){let{heading:r=""}=e,{maxcolumncount:n=1}=e,l,a=[];Q(async()=>{if(await ue(),t(3,a=l.querySelector("slot").assignedElements()),!a.map(c=>c.hasAttribute("href")).reduce((c,u)=>c&&u,!0)){t(3,a=[]),console.warn("GoAFooterNavSection children must be anchor elements.");return}bt(l,":host",{"flex-grow":n})});function o(s){te[s?"unshift":"push"](()=>{l=s,t(2,l)})}return i.$$set=s=>{"heading"in s&&t(0,r=s.heading),"maxcolumncount"in s&&t(1,n=s.maxcolumncount)},[r,n,l,a,o]}class $r extends N{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Qr,Jr,D,{heading:0,maxcolumncount:1},null),e&&(e.target&&k(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",$r);function It(i){let e;return{c(){e=b("goa-divider"),M(e,"spacing","small")},m(t,r){k(t,e,r)},d(t){t&&T(e)}}}function en(i){let e,t,r,n,l,a,o,s,c,u,f,m,_,w=i[2]?.length&&It();return{c(){e=b("div"),t=b("div"),r=b("div"),r.innerHTML='<slot name="nav"></slot>',n=A(),w&&w.c(),l=A(),a=b("div"),o=b("div"),o.innerHTML='<slot name="meta"></slot>',s=A(),c=b("div"),u=b("a"),u.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=A(),m=b("a"),m.textContent=`\xA9 ${i[4]} Government of Alberta`,this.c=y,d(r,"class","nav-links"),d(o,"class","meta-links"),d(u,"href","https://alberta.ca"),d(m,"href","https://alberta.ca"),d(m,"class","goa-copyright"),d(c,"class","abgov"),j(c,"with-meta-links",i[3]?.length),d(a,"class","meta-section"),j(a,"with-meta-links",i[3]?.length),d(t,"class","content"),d(e,"class","app-footer"),d(e,"style",_=`--max-content-width: ${i[0]||"100%"}`)},m(C,p){k(C,e,p),g(e,t),g(t,r),g(t,n),w&&w.m(t,null),g(t,l),g(t,a),g(a,o),g(a,s),g(a,c),g(c,u),g(c,f),g(c,m),i[5](e)},p(C,[p]){C[2]?.length?w||(w=It(),w.c(),w.m(t,l)):w&&(w.d(1),w=null),p&8&&j(c,"with-meta-links",C[3]?.length),p&8&&j(a,"with-meta-links",C[3]?.length),p&1&&_!==(_=`--max-content-width: ${C[0]||"100%"}`)&&d(e,"style",_)},i:y,o:y,d(C){C&&T(e),w&&w.d(),i[5](null)}}}function tn(i,e,t){let{maxcontentwidth:r=""}=e,n,l,a;const o=new Date().getFullYear();Q(async()=>{await ue();const c=n.querySelector("slot[name=nav]"),u=n.querySelector("slot[name=meta]");t(2,l=c.assignedElements()),t(3,a=u.assignedElements())});function s(c){te[c?"unshift":"push"](()=>{n=c,t(1,n)})}return i.$$set=c=>{"maxcontentwidth"in c&&t(0,r=c.maxcontentwidth)},[r,n,l,a,o,s]}class rn extends N{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},tn,en,D,{maxcontentwidth:0},null),e&&(e.target&&k(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",rn);function Pt(i){let e,t,r,n=i[8]&&i[9].includes(i[8]),l=n&&Ft(i);return{c(){e=b("div"),t=q(i[5]),r=A(),l&&l.c(),d(e,"class","label")},m(a,o){k(a,e,o),g(e,t),g(e,r),l&&l.m(e,null)},p(a,o){o&32&&K(t,a[5]),o&256&&(n=a[8]&&a[9].includes(a[8])),n?l?l.p(a,o):(l=Ft(a),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},d(a){a&&T(e),l&&l.d()}}}function Ft(i){let e,t,r,n;return{c(){e=b("em"),t=q("("),r=q(i[8]),n=q(")")},m(l,a){k(l,e,a),g(e,t),g(e,r),g(e,n)},p(l,a){a&256&&K(r,l[8])},d(l){l&&T(e)}}}function qt(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon"),r=A(),n=q(i[7]),M(t,"type","warning"),M(t,"size","small"),M(t,"theme","filled"),Z(t,"pointer-events","none"),d(e,"class","error-msg")},m(l,a){k(l,e,a),g(e,t),g(e,r),g(e,n)},p(l,a){a&128&&K(n,l[7])},d(l){l&&T(e)}}}function Gt(i){let e,t;return{c(){e=b("div"),t=q(i[6]),d(e,"class","help-msg")},m(r,n){k(r,e,n),g(e,t)},p(r,n){n&64&&K(t,r[6])},d(r){r&&T(e)}}}function nn(i){let e,t,r,n,l,a,o=i[5]&&Pt(i),s=i[7]&&qt(i),c=i[6]&&Gt(i);return{c(){e=b("div"),o&&o.c(),t=A(),r=b("div"),r.innerHTML="<slot></slot>",n=A(),s&&s.c(),l=A(),c&&c.c(),this.c=y,d(r,"class","form-item-input"),d(e,"data-testid",i[0]),d(e,"style",a=P(i[1],i[2],i[3],i[4])),d(e,"class","goa-form-item")},m(u,f){k(u,e,f),o&&o.m(e,null),g(e,t),g(e,r),g(e,n),s&&s.m(e,null),g(e,l),c&&c.m(e,null)},p(u,[f]){u[5]?o?o.p(u,f):(o=Pt(u),o.c(),o.m(e,t)):o&&(o.d(1),o=null),u[7]?s?s.p(u,f):(s=qt(u),s.c(),s.m(e,l)):s&&(s.d(1),s=null),u[6]?c?c.p(u,f):(c=Gt(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&1&&d(e,"data-testid",u[0]),f&30&&a!==(a=P(u[1],u[2],u[3],u[4]))&&d(e,"style",a)},i:y,o:y,d(u){u&&T(e),o&&o.d(),s&&s.d(),c&&c.d()}}}function ln(i,e,t){let{testid:r=""}=e,{mt:n=null}=e,{mr:l=null}=e,{mb:a=null}=e,{ml:o=null}=e;const s=["optional","required",""];function c(w){return s.includes(w)}let{label:u=""}=e,{helptext:f=""}=e,{error:m=""}=e,{requirement:_=""}=e;return Q(()=>{c(_)||console.error("Invalid requirement type",_)}),i.$$set=w=>{"testid"in w&&t(0,r=w.testid),"mt"in w&&t(1,n=w.mt),"mr"in w&&t(2,l=w.mr),"mb"in w&&t(3,a=w.mb),"ml"in w&&t(4,o=w.ml),"label"in w&&t(5,u=w.label),"helptext"in w&&t(6,f=w.helptext),"error"in w&&t(7,m=w.error),"requirement"in w&&t(8,_=w.requirement)},[r,n,l,a,o,u,f,m,_,s]}class an extends N{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}.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{display:inline-flex;gap:0.25rem;font-size:var(--fs-sm);color:var(--goa-color-interactive--error);margin-bottom:0.25rem}</style>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},ln,nn,D,{testid:0,mt:1,mr:2,mb:3,ml:4,label:5,helptext:6,error:7,requirement:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["testid","mt","mr","mb","ml","label","helptext","error","requirement"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[1]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[2]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[3]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[4]}set ml(e){this.$$set({ml:e}),h()}get label(){return this.$$.ctx[5]}set label(e){this.$$set({label:e}),h()}get helptext(){return this.$$.ctx[6]}set helptext(e){this.$$set({helptext:e}),h()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),h()}get requirement(){return this.$$.ctx[8]}set requirement(e){this.$$set({requirement:e}),h()}}customElements.define("goa-form-item",an);function on(i){let e,t,r,n,l,a,o,s;return{c(){e=b("div"),t=b("goa-page-block"),r=b("h1"),n=q(i[0]),l=A(),a=b("div"),a.innerHTML="<slot></slot>",o=A(),s=b("slot"),this.c=y,d(a,"class","goa-hero-banner-content"),d(a,"role","note"),d(s,"name","actions"),M(t,"width","full"),d(e,"class","goa-hero"),d(e,"data-testid","background"),Z(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]+")"),Z(e,"background-size","cover"),Z(e,"background-position","center"),Z(e,"background-repeat","no-repeat")},m(c,u){k(c,e,u),g(e,t),g(t,r),g(r,n),g(t,l),g(t,a),g(t,o),g(t,s)},p(c,[u]){u&1&&K(n,c[0]),u&2&&Z(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&&T(e)}}}function sn(i,e,t){let{heading:r}=e,{backgroundurl:n}=e;return i.$$set=l=>{"heading"in l&&t(0,r=l.heading),"backgroundurl"in l&&t(1,n=l.backgroundurl)},[r,n]}class cn extends N{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},sn,on,D,{heading:0,backgroundurl:1},null),e&&(e.target&&k(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",cn);function un(i){let e,t,r,n,l;return{c(){e=b("button"),t=b("goa-icon"),this.c=y,M(t,"title",i[3]),M(t,"type",i[0]),M(t,"size",i[1]),M(t,"theme",i[2]),M(t,"inverted",i[9]),d(e,"style",r=""+(P(i[5],i[6],i[7],i[8])+"; --pading-size: "+i[10])),d(e,"title",i[3]),e.disabled=i[11],d(e,"class",i[12]),d(e,"data-testid",i[4])},m(a,o){k(a,e,o),g(e,t),n||(l=X(e,"click",dn),n=!0)},p(a,[o]){o&8&&M(t,"title",a[3]),o&1&&M(t,"type",a[0]),o&2&&M(t,"size",a[1]),o&4&&M(t,"theme",a[2]),o&512&&M(t,"inverted",a[9]),o&1504&&r!==(r=""+(P(a[5],a[6],a[7],a[8])+"; --pading-size: "+a[10]))&&d(e,"style",r),o&8&&d(e,"title",a[3]),o&2048&&(e.disabled=a[11]),o&4096&&d(e,"class",a[12]),o&16&&d(e,"data-testid",a[4])},i:y,o:y,d(a){a&&T(e),n=!1,l()}}}function dn(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function fn(i,e,t){let r,n,l,a,{icon:o}=e,{size:s="medium"}=e,{theme:c="outline"}=e,{variant:u="color"}=e,{title:f=""}=e,{testid:m=""}=e,{disabled:_="false"}=e,{inverted:w="false"}=e,{mt:C=null}=e,{mr:p=null}=e,{mb:E=null}=e,{ml:x=null}=e;return i.$$set=L=>{"icon"in L&&t(0,o=L.icon),"size"in L&&t(1,s=L.size),"theme"in L&&t(2,c=L.theme),"variant"in L&&t(13,u=L.variant),"title"in L&&t(3,f=L.title),"testid"in L&&t(4,m=L.testid),"disabled"in L&&t(14,_=L.disabled),"inverted"in L&&t(15,w=L.inverted),"mt"in L&&t(5,C=L.mt),"mr"in L&&t(6,p=L.mr),"mb"in L&&t(7,E=L.mb),"ml"in L&&t(8,x=L.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(9,l=V(w)),i.$$.dirty&8704&&t(12,r=`${u} ${l?"inverted":""}`),i.$$.dirty&16384&&t(11,n=V(_)),i.$$.dirty&2&&t(10,a={small:"0.25rem",medium:"0.25rem",large:"0.5rem"}[s])},[o,s,c,f,m,C,p,E,x,l,a,n,r,u,_,w]}class hn extends N{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;box-sizing:border-box;justify-content:center;background:transparent;cursor:pointer;border:none;border-radius:0.5rem;padding:var(--pading-size)}.color,.dark{color:var(--goa-color-interactive);fill:var(--goa-color-interactive);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.dark:not(.inverted){color:unset}button:hover{background-color:var(--color-gray-100);border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);outline:none}button:focus,button:active{background-color:var(--color-gray-100);border-color:var(--goa-color-interactive--active);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.color.inverted:hover{background-color:var(--goa-color-primary-dark)}button:disabled{pointer-events:none;opacity:0.5;transform:none;cursor:default}button:disabled:hover{background-color:transparent}button.dark:hover{background-color:rgba(0, 0, 0, 0.3)}button.dark:focus,button.dark:active{background-color:rgba(0, 0, 0, 0.3);box-shadow:0 0 0 3px var(--color-white)}</style>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},fn,un,D,{icon:0,size:1,theme:2,variant:13,title:3,testid:4,disabled:14,inverted:15,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["icon","size","theme","variant","title","testid","disabled","inverted","mt","mr","mb","ml"]}get icon(){return this.$$.ctx[0]}set icon(e){this.$$set({icon: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[13]}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[14]}set disabled(e){this.$$set({disabled:e}),h()}get inverted(){return this.$$.ctx[15]}set inverted(e){this.$$set({inverted:e}),h()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-icon-button",hn);function Vt(i){let e,t;return{c(){e=b("ion-icon"),M(e,"name",t=i[5]==="filled"||i[4].indexOf("logo")===0?i[4]:`${i[4]}-${i[5]}`)},m(r,n){k(r,e,n)},p(r,n){n&48&&t!==(t=r[5]==="filled"||r[4].indexOf("logo")===0?r[4]:`${r[4]}-${r[5]}`)&&M(e,"name",t)},d(r){r&&T(e)}}}function mn(i){let e,t,r=i[4]&&Vt(i);return{c(){e=b("div"),r&&r.c(),this.c=y,d(e,"class","goa-icon"),d(e,"data-testid",i[10]),d(e,"title",i[9]),d(e,"style",t=`
|
|
48
|
-
${
|
|
44
|
+
`)},m(d,f){p(d,e,f),a&&a.m(e,null),b(e,t),b(e,r),b(e,n),b(e,l);for(let m=0;m<c.length;m+=1)c[m].m(l,null);i[4](e)},p(d,[f]){if(d[0]?a?a.p(d,f):(a=qt(d),a.c(),a.m(e,t)):a&&(a.d(1),a=null),f&8){s=d[3];let m;for(m=0;m<s.length;m+=1){const y=Pt(d,s,m);c[m]?c[m].p(y,f):(c[m]=Ft(y),c[m].c(),c[m].m(l,null))}for(;m<c.length;m+=1)c[m].d(1);c.length=s.length}f&2&&o!==(o=`
|
|
45
|
+
--narrow-display-type: ${Math.ceil(d[1]/2)>1?"block":"flex"};
|
|
46
|
+
--narrow-column-count: ${Math.ceil(d[1]/2)};
|
|
47
|
+
--wide-display-type: ${d[1]>1?"block":"flex"};
|
|
48
|
+
--wide-column-count: ${d[1]};
|
|
49
|
+
`)&&u(l,"style",o)},i:E,o:E,d(d){d&&M(e),a&&a.d(),Ie(c,d),i[4](null)}}}function nn(i,e,t){let{heading:r=""}=e,{maxcolumncount:n=1}=e,l,o=[];Z(async()=>{if(await Ee(),t(3,o=l.querySelector("slot").assignedElements()),!o.map(c=>c.hasAttribute("href")).reduce((c,d)=>c&&d,!0)){t(3,o=[]),console.warn("GoAFooterNavSection children must be anchor elements.");return}_t(l,":host",{"flex-grow":n})});function a(s){ne[s?"unshift":"push"](()=>{l=s,t(2,l)})}return i.$$set=s=>{"heading"in s&&t(0,r=s.heading),"maxcolumncount"in s&&t(1,n=s.maxcolumncount)},[r,n,l,o,a]}class ln extends P{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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},nn,rn,I,{heading:0,maxcolumncount:1},null),e&&(e.target&&p(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",ln);function Vt(i){let e,t,r,n=i[8]&&i[9].includes(i[8]),l=n&&Gt(i);return{c(){e=v("div"),t=G(i[5]),r=S(),l&&l.c(),u(e,"class","label")},m(o,a){p(o,e,a),b(e,t),b(e,r),l&&l.m(e,null)},p(o,a){a&32&&K(t,o[5]),a&256&&(n=o[8]&&o[9].includes(o[8])),n?l?l.p(o,a):(l=Gt(o),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},d(o){o&&M(e),l&&l.d()}}}function Gt(i){let e,t,r,n;return{c(){e=v("em"),t=G("("),r=G(i[8]),n=G(")")},m(l,o){p(l,e,o),b(e,t),b(e,r),b(e,n)},p(l,o){o&256&&K(r,l[8])},d(l){l&&M(e)}}}function Ut(i){let e,t,r,n;return{c(){e=v("div"),t=v("goa-icon"),r=S(),n=G(i[7]),z(t,"type","warning"),z(t,"size","small"),z(t,"theme","filled"),Q(t,"pointer-events","none"),u(e,"class","error-msg")},m(l,o){p(l,e,o),b(e,t),b(e,r),b(e,n)},p(l,o){o&128&&K(n,l[7])},d(l){l&&M(e)}}}function Wt(i){let e,t;return{c(){e=v("div"),t=G(i[6]),u(e,"class","help-msg")},m(r,n){p(r,e,n),b(e,t)},p(r,n){n&64&&K(t,r[6])},d(r){r&&M(e)}}}function an(i){let e,t,r,n,l,o,a=i[5]&&Vt(i),s=i[7]&&Ut(i),c=i[6]&&Wt(i);return{c(){e=v("div"),a&&a.c(),t=S(),r=v("div"),r.innerHTML="<slot></slot>",n=S(),s&&s.c(),l=S(),c&&c.c(),this.c=E,u(r,"class","form-item-input"),u(e,"data-testid",i[0]),u(e,"style",o=V(i[1],i[2],i[3],i[4])),u(e,"class","goa-form-item")},m(d,f){p(d,e,f),a&&a.m(e,null),b(e,t),b(e,r),b(e,n),s&&s.m(e,null),b(e,l),c&&c.m(e,null)},p(d,[f]){d[5]?a?a.p(d,f):(a=Vt(d),a.c(),a.m(e,t)):a&&(a.d(1),a=null),d[7]?s?s.p(d,f):(s=Ut(d),s.c(),s.m(e,l)):s&&(s.d(1),s=null),d[6]?c?c.p(d,f):(c=Wt(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&1&&u(e,"data-testid",d[0]),f&30&&o!==(o=V(d[1],d[2],d[3],d[4]))&&u(e,"style",o)},i:E,o:E,d(d){d&&M(e),a&&a.d(),s&&s.d(),c&&c.d()}}}function on(i,e,t){const[r,n]=X("Requirement type",["optional","required"],!1);let{testid:l=""}=e,{mt:o=null}=e,{mr:a=null}=e,{mb:s=null}=e,{ml:c=null}=e,{label:d=""}=e,{helptext:f=""}=e,{error:m=""}=e,{requirement:y=""}=e;return Z(()=>{n(y)}),i.$$set=w=>{"testid"in w&&t(0,l=w.testid),"mt"in w&&t(1,o=w.mt),"mr"in w&&t(2,a=w.mr),"mb"in w&&t(3,s=w.mb),"ml"in w&&t(4,c=w.ml),"label"in w&&t(5,d=w.label),"helptext"in w&&t(6,f=w.helptext),"error"in w&&t(7,m=w.error),"requirement"in w&&t(8,y=w.requirement)},[l,o,a,s,c,d,f,m,y,r]}class sn extends P{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}.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{display:inline-flex;gap:0.25rem;font-size:var(--fs-sm);color:var(--goa-color-interactive--error);margin-bottom:0.25rem}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},on,an,I,{testid:0,mt:1,mr:2,mb:3,ml:4,label:5,helptext:6,error:7,requirement:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["testid","mt","mr","mb","ml","label","helptext","error","requirement"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[1]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[2]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[3]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[4]}set ml(e){this.$$set({ml:e}),h()}get label(){return this.$$.ctx[5]}set label(e){this.$$set({label:e}),h()}get helptext(){return this.$$.ctx[6]}set helptext(e){this.$$set({helptext:e}),h()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),h()}get requirement(){return this.$$.ctx[8]}set requirement(e){this.$$set({requirement:e}),h()}}customElements.define("goa-form-item",sn);function cn(i){let e,t,r;return{c(){e=v("div"),t=v("slot"),this.c=E,u(e,"class","goa-grid"),u(e,"style",r=`
|
|
50
|
+
${V(i[2],i[3],i[4],i[5])}
|
|
51
|
+
--min-child-width: ${i[1]||0};
|
|
52
|
+
gap: var(--goa-spacing-${i[0]})
|
|
53
|
+
`)},m(n,l){p(n,e,l),b(e,t)},p(n,[l]){l&63&&r!==(r=`
|
|
54
|
+
${V(n[2],n[3],n[4],n[5])}
|
|
55
|
+
--min-child-width: ${n[1]||0};
|
|
56
|
+
gap: var(--goa-spacing-${n[0]})
|
|
57
|
+
`)&&u(e,"style",r)},i:E,o:E,d(n){n&&M(e)}}}function dn(i,e,t){let{gap:r="m"}=e,{minchildwidth:n=""}=e,{mt:l=null}=e,{mr:o=null}=e,{mb:a=null}=e,{ml:s=null}=e;return Z(()=>{Ii("Grid",{minchildwidth:n})}),i.$$set=c=>{"gap"in c&&t(0,r=c.gap),"minchildwidth"in c&&t(1,n=c.minchildwidth),"mt"in c&&t(2,l=c.mt),"mr"in c&&t(3,o=c.mr),"mb"in c&&t(4,a=c.mb),"ml"in c&&t(5,s=c.ml)},[r,n,l,o,a,s]}class un extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-grid{display:flex;flex-direction:column;gap:var(--gap)}@media(min-width: 640px){.goa-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(var(--min-child-width), 1fr))}}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},dn,cn,I,{gap:0,minchildwidth:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap","minchildwidth","mt","mr","mb","ml"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),h()}get minchildwidth(){return this.$$.ctx[1]}set minchildwidth(e){this.$$set({minchildwidth:e}),h()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-grid",un);function fn(i){let e,t,r,n,l,o,a,s;return{c(){e=v("div"),t=v("goa-page-block"),r=v("h1"),n=G(i[0]),l=S(),o=v("div"),o.innerHTML="<slot></slot>",a=S(),s=v("slot"),this.c=E,u(o,"class","goa-hero-banner-content"),u(o,"role","note"),u(s,"name","actions"),z(t,"width","full"),u(e,"class","goa-hero"),u(e,"data-testid","background"),Q(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+i[1]+")"),Q(e,"background-size","cover"),Q(e,"background-position","center"),Q(e,"background-repeat","no-repeat"),Q(e,"min-height",i[2])},m(c,d){p(c,e,d),b(e,t),b(t,r),b(r,n),b(t,l),b(t,o),b(t,a),b(t,s)},p(c,[d]){d&1&&K(n,c[0]),d&2&&Q(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+c[1]+")"),d&4&&Q(e,"min-height",c[2])},i:E,o:E,d(c){c&&M(e)}}}function hn(i,e,t){let{heading:r}=e,{backgroundurl:n}=e,{minheight:l="600px"}=e;return i.$$set=o=>{"heading"in o&&t(0,r=o.heading),"backgroundurl"in o&&t(1,n=o.backgroundurl),"minheight"in o&&t(2,l=o.minheight)},[r,n,l]}class mn extends P{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;border-bottom:8px solid var(--goa-color-brand);color:var(--color-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--color-white);font-size:var(--fs-3xl);line-height:var(--lh-2xl);font-weight:var(--fw-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},hn,fn,I,{heading:0,backgroundurl:1,minheight:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","backgroundurl","minheight"]}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()}get minheight(){return this.$$.ctx[2]}set minheight(e){this.$$set({minheight:e}),h()}}customElements.define("goa-hero-banner",mn);function gn(i){let e,t,r,n,l;return{c(){e=v("button"),t=v("goa-icon"),this.c=E,z(t,"title",i[3]),z(t,"type",i[0]),z(t,"size",i[1]),z(t,"theme",i[2]),z(t,"inverted",i[9]),u(e,"style",r=""+(V(i[5],i[6],i[7],i[8])+"; --pading-size: "+i[10])),u(e,"title",i[3]),e.disabled=i[11],u(e,"class",i[12]),u(e,"data-testid",i[4])},m(o,a){p(o,e,a),b(e,t),n||(l=Y(e,"click",bn),n=!0)},p(o,[a]){a&8&&z(t,"title",o[3]),a&1&&z(t,"type",o[0]),a&2&&z(t,"size",o[1]),a&4&&z(t,"theme",o[2]),a&512&&z(t,"inverted",o[9]),a&1504&&r!==(r=""+(V(o[5],o[6],o[7],o[8])+"; --pading-size: "+o[10]))&&u(e,"style",r),a&8&&u(e,"title",o[3]),a&2048&&(e.disabled=o[11]),a&4096&&u(e,"class",o[12]),a&16&&u(e,"data-testid",o[4])},i:E,o:E,d(o){o&&M(e),n=!1,l()}}}function bn(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function vn(i,e,t){let r,n,l,o;const[a,s]=X("Icon Button Variant",["color","nocolor","dark"],!0);let{icon:c}=e,{size:d="medium"}=e,{theme:f="outline"}=e,{variant:m="color"}=e,{title:y=""}=e,{testid:w=""}=e,{disabled:_="false"}=e,{inverted:k="false"}=e,{mt:g=null}=e,{mr:x=null}=e,{mb:H=null}=e,{ml:A=null}=e;return Z(()=>{s(m)}),i.$$set=T=>{"icon"in T&&t(0,c=T.icon),"size"in T&&t(1,d=T.size),"theme"in T&&t(2,f=T.theme),"variant"in T&&t(13,m=T.variant),"title"in T&&t(3,y=T.title),"testid"in T&&t(4,w=T.testid),"disabled"in T&&t(14,_=T.disabled),"inverted"in T&&t(15,k=T.inverted),"mt"in T&&t(5,g=T.mt),"mr"in T&&t(6,x=T.mr),"mb"in T&&t(7,H=T.mb),"ml"in T&&t(8,A=T.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(9,l=U(k)),i.$$.dirty&8704&&t(12,r=`${m} ${l?"inverted":""}`),i.$$.dirty&16384&&t(11,n=U(_)),i.$$.dirty&2&&t(10,o={small:"0.25rem",medium:"0.25rem",large:"0.5rem"}[d])},[c,d,f,y,w,g,x,H,A,l,o,n,r,m,_,k]}class wn extends P{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;box-sizing:border-box;justify-content:center;background:transparent;cursor:pointer;border:none;border-radius:0.5rem;padding:var(--pading-size)}.color,.dark{color:var(--goa-color-interactive);fill:var(--goa-color-interactive);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.dark:not(.inverted){color:unset}button:hover{background-color:var(--color-gray-100);border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);outline:none}button:focus,button:active{background-color:var(--color-gray-100);border-color:var(--goa-color-interactive--active);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.color.inverted:hover{background-color:var(--goa-color-primary-dark)}button:disabled{pointer-events:none;opacity:0.5;transform:none;cursor:default}button:disabled:hover{background-color:transparent}button.dark:hover{background-color:rgba(0, 0, 0, 0.3)}button.dark:focus,button.dark:active{background-color:rgba(0, 0, 0, 0.3);box-shadow:0 0 0 3px var(--color-white)}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},vn,gn,I,{icon:0,size:1,theme:2,variant:13,title:3,testid:4,disabled:14,inverted:15,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["icon","size","theme","variant","title","testid","disabled","inverted","mt","mr","mb","ml"]}get icon(){return this.$$.ctx[0]}set icon(e){this.$$set({icon: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[13]}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[14]}set disabled(e){this.$$set({disabled:e}),h()}get inverted(){return this.$$.ctx[15]}set inverted(e){this.$$set({inverted:e}),h()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-icon-button",wn);function Kt(i){let e,t;return{c(){e=v("ion-icon"),z(e,"name",t=i[5]==="filled"||i[4].indexOf("logo")===0?i[4]:`${i[4]}-${i[5]}`)},m(r,n){p(r,e,n)},p(r,n){n&48&&t!==(t=r[5]==="filled"||r[4].indexOf("logo")===0?r[4]:`${r[4]}-${r[5]}`)&&z(e,"name",t)},d(r){r&&M(e)}}}function _n(i){let e,t,r=i[4]&&Kt(i);return{c(){e=v("div"),r&&r.c(),this.c=E,u(e,"class","goa-icon"),u(e,"data-testid",i[10]),u(e,"title",i[9]),u(e,"style",t=`
|
|
58
|
+
${V(i[0],i[1],i[2],i[3])}
|
|
49
59
|
--size: ${i[11]};
|
|
50
60
|
--fill-color: ${i[6]};
|
|
51
61
|
--hover-color: ${i[7]};
|
|
52
62
|
--opacity: ${i[8]};
|
|
53
|
-
`),j(e,"inverted",i[12])},m(n,l){
|
|
54
|
-
${
|
|
63
|
+
`),j(e,"inverted",i[12])},m(n,l){p(n,e,l),r&&r.m(e,null)},p(n,[l]){n[4]?r?r.p(n,l):(r=Kt(n),r.c(),r.m(e,null)):r&&(r.d(1),r=null),l&1024&&u(e,"data-testid",n[10]),l&512&&u(e,"title",n[9]),l&2511&&t!==(t=`
|
|
64
|
+
${V(n[0],n[1],n[2],n[3])}
|
|
55
65
|
--size: ${n[11]};
|
|
56
66
|
--fill-color: ${n[6]};
|
|
57
67
|
--hover-color: ${n[7]};
|
|
58
68
|
--opacity: ${n[8]};
|
|
59
|
-
`)&&
|
|
69
|
+
`)&&u(e,"style",t),l&4096&&j(e,"inverted",n[12])},i:E,o:E,d(n){n&&M(e),r&&r.d()}}}function yn(i,e,t){let r,n,{mt:l=null}=e,{mr:o=null}=e,{mb:a=null}=e,{ml:s=null}=e,{type:c}=e,{size:d="medium"}=e,{theme:f="outline"}=e,{inverted:m="false"}=e,{fillcolor:y=""}=e,{hovercolor:w=""}=e,{opacity:_=1}=e,{title:k=""}=e,{testid:g=""}=e;return i.$$set=x=>{"mt"in x&&t(0,l=x.mt),"mr"in x&&t(1,o=x.mr),"mb"in x&&t(2,a=x.mb),"ml"in x&&t(3,s=x.ml),"type"in x&&t(4,c=x.type),"size"in x&&t(13,d=x.size),"theme"in x&&t(5,f=x.theme),"inverted"in x&&t(14,m=x.inverted),"fillcolor"in x&&t(6,y=x.fillcolor),"hovercolor"in x&&t(7,w=x.hovercolor),"opacity"in x&&t(8,_=x.opacity),"title"in x&&t(9,k=x.title),"testid"in x&&t(10,g=x.testid)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,r=U(m)),i.$$.dirty&8192&&t(11,n={small:"1.25rem",medium:"1.5rem",large:"2rem"}[d])},[l,o,a,s,c,f,y,w,_,k,g,n,r,d,m]}class kn extends P{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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},yn,_n,I,{mt:0,mr:1,mb:2,ml:3,type:4,size:13,theme:5,inverted:14,fillcolor:6,hovercolor:7,opacity:8,title:9,testid:10},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["mt","mr","mb","ml","type","size","theme","inverted","fillcolor","hovercolor","opacity","title","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),h()}get type(){return this.$$.ctx[4]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[13]}set size(e){this.$$set({size:e}),h()}get theme(){return this.$$.ctx[5]}set theme(e){this.$$set({theme:e}),h()}get inverted(){return this.$$.ctx[14]}set inverted(e){this.$$set({inverted:e}),h()}get fillcolor(){return this.$$.ctx[6]}set fillcolor(e){this.$$set({fillcolor:e}),h()}get hovercolor(){return this.$$.ctx[7]}set hovercolor(e){this.$$set({hovercolor:e}),h()}get opacity(){return this.$$.ctx[8]}set opacity(e){this.$$set({opacity:e}),h()}get title(){return this.$$.ctx[9]}set title(e){this.$$set({title:e}),h()}get testid(){return this.$$.ctx[10]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-icon",kn);function Zt(i){let e,t;return{c(){e=v("div"),t=G(i[14]),u(e,"class","prefix")},m(r,n){p(r,e,n),b(e,t)},p(r,n){n[0]&16384&&K(t,r[14])},d(r){r&&M(e)}}}function Xt(i){let e;return{c(){e=v("goa-icon"),z(e,"class","goa-input-leading-icon"),z(e,"data-testid","leading-icon"),z(e,"type",i[5])},m(t,r){p(t,e,r)},p(t,r){r[0]&32&&z(e,"type",t[5])},d(t){t&&M(e)}}}function Yt(i){let e;return{c(){e=v("goa-icon"),z(e,"class","goa-input-trailing-icon"),z(e,"data-testid","trailing-icon"),z(e,"size","medium"),z(e,"type",i[6])},m(t,r){p(t,e,r)},p(t,r){r[0]&64&&z(e,"type",t[6])},d(t){t&&M(e)}}}function Jt(i){let e,t,r;return{c(){e=v("goa-icon-button"),z(e,"disabled",i[21]),z(e,"variant","nocolor"),z(e,"size","medium"),z(e,"icon",i[6]),z(e,"data-testid","trailing-icon-button")},m(n,l){p(n,e,l),t||(r=Y(e,"click",En),t=!0)},p(n,l){l[0]&2097152&&z(e,"disabled",n[21]),l[0]&64&&z(e,"icon",n[6])},d(n){n&&M(e),t=!1,r()}}}function Qt(i){let e,t;return{c(){e=v("span"),t=G(i[15]),u(e,"class","suffix")},m(r,n){p(r,e,n),b(e,t)},p(r,n){n[0]&32768&&K(t,r[15])},d(r){r&&M(e)}}}function pn(i){let e,t,r,n,l,o,a,s,c,d,f,m,y,w,_,k,g,x,H,A=i[14]&&Zt(i),T=i[5]&&Xt(i),C=i[6]&&!i[24]&&Yt(i),O=i[6]&&i[24]&&Jt(i),R=i[15]&&Qt(i);return{c(){e=v("div"),t=v("div"),A&&A.c(),r=S(),n=v("div"),n.innerHTML='<slot name="leadingContent"></slot>',l=S(),T&&T.c(),o=S(),a=v("input"),f=S(),C&&C.c(),m=S(),O&&O.c(),y=S(),R&&R.c(),w=S(),_=v("div"),_.innerHTML='<slot name="trailingContent"></slot>',this.c=E,u(n,"class","leading-content"),u(a,"class",s=`input--${i[7]}`),u(a,"style",c=`--search-icon-offset: ${i[6]?"-0.5rem":"0"}`),a.readOnly=i[23],a.disabled=i[21],u(a,"data-testid",i[8]),u(a,"autocapitalize",i[3]),u(a,"name",i[2]),u(a,"type",i[1]),a.value=i[0],u(a,"placeholder",i[4]),u(a,"min",i[11]),u(a,"max",i[12]),u(a,"step",i[13]),u(a,"role","textbox"),u(a,"aria-label",d=i[10]||i[2]),u(_,"class","trailing-content"),u(t,"class",k=`
|
|
60
70
|
goa-input
|
|
61
71
|
${i[21]?"goa-input--disabled":""}
|
|
62
72
|
variant--${i[7]}
|
|
63
73
|
type--${i[1]}
|
|
64
|
-
`),j(t,"error",i[22]),
|
|
65
|
-
${
|
|
74
|
+
`),j(t,"error",i[22]),u(e,"class","container"),u(e,"style",g=`
|
|
75
|
+
${V(i[16],i[17],i[18],i[19])};
|
|
66
76
|
--width: ${i[9]};
|
|
67
|
-
`)},m(
|
|
77
|
+
`)},m(L,D){p(L,e,D),b(e,t),A&&A.m(t,null),b(t,r),b(t,n),b(t,l),T&&T.m(t,null),b(t,o),b(t,a),i[32](a),b(t,f),C&&C.m(t,null),b(t,m),O&&O.m(t,null),b(t,y),R&&R.m(t,null),b(t,w),b(t,_),x||(H=[Y(a,"keyup",i[25]),Y(a,"change",i[25])],x=!0)},p(L,D){L[14]?A?A.p(L,D):(A=Zt(L),A.c(),A.m(t,r)):A&&(A.d(1),A=null),L[5]?T?T.p(L,D):(T=Xt(L),T.c(),T.m(t,o)):T&&(T.d(1),T=null),D[0]&128&&s!==(s=`input--${L[7]}`)&&u(a,"class",s),D[0]&64&&c!==(c=`--search-icon-offset: ${L[6]?"-0.5rem":"0"}`)&&u(a,"style",c),D[0]&8388608&&(a.readOnly=L[23]),D[0]&2097152&&(a.disabled=L[21]),D[0]&256&&u(a,"data-testid",L[8]),D[0]&8&&u(a,"autocapitalize",L[3]),D[0]&4&&u(a,"name",L[2]),D[0]&2&&u(a,"type",L[1]),D[0]&1&&a.value!==L[0]&&(a.value=L[0]),D[0]&16&&u(a,"placeholder",L[4]),D[0]&2048&&u(a,"min",L[11]),D[0]&4096&&u(a,"max",L[12]),D[0]&8192&&u(a,"step",L[13]),D[0]&1028&&d!==(d=L[10]||L[2])&&u(a,"aria-label",d),L[6]&&!L[24]?C?C.p(L,D):(C=Yt(L),C.c(),C.m(t,m)):C&&(C.d(1),C=null),L[6]&&L[24]?O?O.p(L,D):(O=Jt(L),O.c(),O.m(t,y)):O&&(O.d(1),O=null),L[15]?R?R.p(L,D):(R=Qt(L),R.c(),R.m(t,w)):R&&(R.d(1),R=null),D[0]&2097282&&k!==(k=`
|
|
68
78
|
goa-input
|
|
69
|
-
${
|
|
70
|
-
variant--${
|
|
71
|
-
type--${
|
|
72
|
-
`)&&
|
|
73
|
-
${
|
|
74
|
-
--width: ${
|
|
75
|
-
`)&&
|
|
76
|
-
center center no-repeat}</style>`,
|
|
77
|
-
`),u&&u.c(),d(e,"data-testid","type"),d(e,"class",n="service-type service-type--"+i[0].toLowerCase()),d(s,"href","https://www.alberta.ca/index.aspx"),d(a,"data-testid","site-text"),d(a,"class","site-text")},m(f,m){k(f,e,m),g(e,r),k(f,l,m),k(f,a,m),g(a,o),g(a,s),g(a,c),u&&u.m(a,null)},p(f,m){m&1&&t!==(t=ei(f[0])+"")&&K(r,t),m&1&&n!==(n="service-type service-type--"+f[0].toLowerCase())&&d(e,"class",n),f[2]?u?u.p(f,m):(u=Qt(f),u.c(),u.m(a,null)):u&&(u.d(1),u=null)},d(f){f&&T(e),f&&T(l),f&&T(a),u&&u.d()}}}function Qt(i){let e,t,r,n;return{c(){e=b("span"),t=q("\u2014 help us improve it by giving "),r=b("a"),n=q("feedback"),d(r,"href",i[2]),d(e,"data-testid","feedback")},m(l,a){k(l,e,a),g(e,t),g(e,r),g(r,n)},p(l,a){a&4&&d(r,"href",l[2])},d(l){l&&T(e)}}}function $t(i){let e,t;return{c(){e=b("div"),t=q(i[1]),d(e,"data-testid","version"),d(e,"class","version")},m(r,n){k(r,e,n),g(e,t)},p(r,n){n&2&&K(t,r[1])},d(r){r&&T(e)}}}function kn(i){let e,t,r=["alpha","beta"].includes(i[0]),n,l,a,o=i[0]==="live"&&Zt(),s=r&&Jt(i),c=i[1]&&$t(i);return{c(){e=b("header"),o&&o.c(),t=A(),s&&s.c(),n=A(),l=b("div"),a=A(),c&&c.c(),this.c=y,d(l,"class","spacer"),d(e,"class","goa-official-site-header")},m(u,f){k(u,e,f),o&&o.m(e,null),g(e,t),s&&s.m(e,null),g(e,n),g(e,l),g(e,a),c&&c.m(e,null)},p(u,[f]){u[0]==="live"?o||(o=Zt(),o.c(),o.m(e,t)):o&&(o.d(1),o=null),f&1&&(r=["alpha","beta"].includes(u[0])),r?s?s.p(u,f):(s=Jt(u),s.c(),s.m(e,n)):s&&(s.d(1),s=null),u[1]?c?c.p(u,f):(c=$t(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:y,o:y,d(u){u&&T(e),o&&o.d(),s&&s.d(),c&&c.d()}}}function ei(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function pn(i,e,t){let{type:r}=e,{version:n=""}=e,{feedbackurl:l=""}=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,l=a.feedbackurl)},[r,n,l]}class xn extends N{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},pn,kn,D,{type:0,version:1,feedbackurl:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["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",xn);function ti(i){let e,t,r,n,l,a,o,s,c,u,f,m,_,w,C,p,E,x,L,z,R,v,F,H=i[3]!==null&&ii(i),W=i[0]&&ri(i),G=i[4]&&ni(i);function ie(J,$){return En}let le=ie()(i);return{c(){e=b("goa-focus-trap"),t=b("div"),r=b("div"),n=A(),l=b("div"),H&&H.c(),a=A(),o=b("div"),W&&W.c(),s=A(),G&&G.c(),c=A(),u=b("div"),le.c(),f=A(),m=b("slot"),_=A(),w=b("div"),w.innerHTML='<slot name="actions"></slot>',d(r,"data-testid","modal-overlay"),d(r,"class","modal-overlay"),d(u,"data-testid","modal-content"),d(u,"class","modal-content"),d(w,"class","modal-actions"),d(w,"data-testid","modal-actions"),d(o,"class","content"),d(l,"class","modal-pane"),d(t,"data-testid","modal"),d(t,"class","modal"),d(t,"style",E=""+((i[2]&&`--width: ${i[2]};`)+";")),M(e,"active",i[1])},m(J,$){k(J,e,$),g(e,t),g(t,r),g(t,n),g(t,l),H&&H.m(l,null),g(l,a),g(l,o),W&&W.m(o,null),g(o,s),G&&G.m(o,null),g(o,c),g(o,u),le.m(u,null),g(u,f),g(u,m),g(o,_),g(o,w),R=!0,v||(F=[X(r,"click",i[8]),lt(x=Ct.call(null,t,{enable:i[7]}))],v=!0)},p(J,$){i=J,i[3]!==null?H?H.p(i,$):(H=ii(i),H.c(),H.m(l,a)):H&&(H.d(1),H=null),i[0]?W?W.p(i,$):(W=ri(i),W.c(),W.m(o,s)):W&&(W.d(1),W=null),i[4]?G?G.p(i,$):(G=ni(i),G.c(),G.m(o,c)):G&&(G.d(1),G=null),(!R||$&4&&E!==(E=""+((i[2]&&`--width: ${i[2]};`)+";")))&&d(t,"style",E),x&&ce(x.update)&&$&128&&x.update.call(null,{enable:i[7]}),(!R||$&2)&&M(e,"active",i[1])},i(J){R||(re(()=>{p&&p.end(1),C=mt(l,Et,{duration:i[6],y:200}),C.start()}),re(()=>{z&&z.end(1),L=mt(t,ze,{duration:i[6]}),L.start()}),R=!0)},o(J){C&&C.invalidate(),p=gt(l,Et,{delay:i[6],duration:i[6],y:-100}),L&&L.invalidate(),z=gt(t,ze,{delay:i[6],duration:i[6]}),R=!1},d(J){J&&T(e),H&&H.d(),W&&W.d(),G&&G.d(),le.d(),J&&p&&p.end(),J&&z&&z.end(),v=!1,ee(F)}}}function ii(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon"),M(t,"type",i[5]),M(t,"inverted",r=i[3]==="important"?"false":"true"),d(e,"class",n="callout-bar "+i[3])},m(l,a){k(l,e,a),g(e,t)},p(l,a){a&32&&M(t,"type",l[5]),a&8&&r!==(r=l[3]==="important"?"false":"true")&&M(t,"inverted",r),a&8&&n!==(n="callout-bar "+l[3])&&d(e,"class",n)},d(l){l&&T(e)}}}function ri(i){let e,t;return{c(){e=b("div"),t=q(i[0]),d(e,"data-testid","modal-title"),d(e,"class","modal-title")},m(r,n){k(r,e,n),g(e,t)},p(r,n){n&1&&K(t,r[0])},d(r){r&&T(e)}}}function ni(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon-button"),M(t,"data-testid","modal-close-button"),M(t,"icon","close"),M(t,"variant","nocolor"),d(e,"class","modal-close")},m(l,a){k(l,e,a),g(e,t),r||(n=X(t,"click",i[8]),r=!0)},p:y,d(l){l&&T(e),r=!1,n()}}}function En(i){let e;return{c(){e=b("goa-scrollable"),e.innerHTML="<slot></slot>",M(e,"direction","vertical"),M(e,"height","50")},m(t,r){k(t,e,r)},d(t){t&&T(e)}}}function Cn(i){let e,t,r=i[7]&&ti(i);return{c(){r&&r.c(),e=be(),this.c=y},m(n,l){r&&r.m(n,l),k(n,e,l),t=!0},p(n,[l]){n[7]?r?(r.p(n,l),l&128&&U(r,1)):(r=ti(n),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(xe(),Y(r,1,1,()=>{r=null}),Ee())},i(n){t||(U(r),t=!0)},o(n){Y(r),t=!1},d(n){r&&r.d(n),n&&T(e)}}}function zn(i,e,t){let r,n,l,a;const[o,s]=Ce("Callout variant",["emergency","important","information","success","event"]);let{heading:c=""}=e,{closable:u="false"}=e,{open:f="false"}=e,{transition:m="none"}=e,{width:_=""}=e,{calloutvariant:w=null}=e;function C(p){!r||(p.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),p.stopPropagation())}return Q(()=>{s(w)}),i.$$set=p=>{"heading"in p&&t(0,c=p.heading),"closable"in p&&t(9,u=p.closable),"open"in p&&t(1,f=p.open),"transition"in p&&t(10,m=p.transition),"width"in p&&t(2,_=p.width),"calloutvariant"in p&&t(3,w=p.calloutvariant)},i.$$.update=()=>{i.$$.dirty&512&&t(4,r=V(u)),i.$$.dirty&2&&t(7,n=V(f)),i.$$.dirty&1024&&t(6,l=m==="none"?0:m==="slow"?400:200),i.$$.dirty&8&&t(5,a=w==="emergency"?"warning":w==="important"?"alert-circle":w==="information"?"information-circle":w==="success"?"checkmark-circle":w==="event"?"calendar":"")},[c,f,_,w,r,a,l,n,C,u,m]}class Mn extends N{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}.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)}.callout-bar{flex:0 0 3rem;text-align:center;padding-top:2rem;border-radius:4px 0px 0px 4px}.content{flex:1 1 auto;width:100%;margin:2rem 2rem}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:90%;display:flex;margin:1rem;box-shadow:6px 6px 6px rgba(0, 0, 0, 0.16);border-radius:4px;max-height:90%;border:1px solid var(--color-gray-600)}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch);max-height:80%}}.modal-actions ::slotted(div){margin:1.5rem 0 0}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-close{position:absolute;top:2rem;right:2rem}.modal-title{font-size:var(--fs-xl);margin:0 0 1.5rem;margin-right:40px;flex:0 0 auto}.modal-content{line-height:1.75rem}</style>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},zn,Cn,D,{heading:0,closable:9,open:1,transition:10,width:2,calloutvariant:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","closable","open","transition","width","calloutvariant"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get closable(){return this.$$.ctx[9]}set closable(e){this.$$set({closable:e}),h()}get 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()}get calloutvariant(){return this.$$.ctx[3]}set calloutvariant(e){this.$$set({calloutvariant:e}),h()}}customElements.define("goa-modal",Mn);function li(i){let e,t,r,n,l,a,o,s,c,u,f,m,_,w,C;return{c(){e=b("div"),t=b("div"),r=b("goa-icon"),l=A(),a=b("div"),a.innerHTML="<slot></slot>",o=A(),s=b("div"),c=b("goa-icon-button"),M(r,"type",i[2]),M(r,"inverted",n=i[0]==="important"?"false":"true"),d(t,"class","icon"),d(a,"class","content"),M(c,"icon","close"),M(c,"variant","dark"),M(c,"inverted",u=i[0]==="important"?"false":"true"),d(s,"class","close"),d(e,"class",f="notification "+i[0])},m(p,E){k(p,e,E),g(e,t),g(t,r),g(e,l),g(e,a),g(e,o),g(e,s),g(s,c),_=!0,w||(C=X(c,"click",i[3]),w=!0)},p(p,E){(!_||E&4)&&M(r,"type",p[2]),(!_||E&1&&n!==(n=p[0]==="important"?"false":"true"))&&M(r,"inverted",n),(!_||E&1&&u!==(u=p[0]==="important"?"false":"true"))&&M(c,"inverted",u),(!_||E&1&&f!==(f="notification "+p[0]))&&d(e,"class",f)},i(p){_||(re(()=>{m||(m=We(e,ze,{},!0)),m.run(1)}),_=!0)},o(p){m||(m=We(e,ze,{},!1)),m.run(0),_=!1},d(p){p&&T(e),p&&m&&m.end(),w=!1,C()}}}function Ln(i){let e,t,r=i[1]&&li(i);return{c(){r&&r.c(),e=be(),this.c=y},m(n,l){r&&r.m(n,l),k(n,e,l),t=!0},p(n,[l]){n[1]?r?(r.p(n,l),l&2&&U(r,1)):(r=li(n),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(xe(),Y(r,1,1,()=>{r=null}),Ee())},i(n){t||(U(r),t=!0)},o(n){Y(r),t=!1},d(n){r&&r.d(n),n&&T(e)}}}function Tn(i,e,t){let r,{type:n=""}=e;const l=["emergency","important","information","event"];function a(c){return l.includes(c)}let o=!0;Q(()=>{a(n)||console.error("Invalid notification type")});function s(){t(1,o=!1)}return i.$$set=c=>{"type"in c&&t(0,n=c.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=n==="emergency"?"warning":n==="important"?"alert-circle":n==="information"?"information-circle":n==="event"?"calendar":"")},[n,o,r,s]}class Rn extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;gap:1rem}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.important{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}.content{flex:1 1 auto}::slotted(a){color:unset !important;outline:unset !important}.close{flex:0 0 auto}</style>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Tn,Ln,D,{type:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}}customElements.define("goa-notification",Rn);const An=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function Hn(i){return An.test(i)}function Bn(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=y,d(e,"class","page-content"),d(e,"style",r=`--max-width: ${i[0]}`)},m(n,l){k(n,e,l),g(e,t)},p(n,[l]){l&1&&r!==(r=`--max-width: ${n[0]}`)&&d(e,"style",r)},i:y,o:y,d(n){n&&T(e)}}}function Sn(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:l}=e;function a(o){return!!(["full"].includes(n)||Hn(o))}return Q(()=>{a(n)||console.error("Invalid PageBlock width"),t(0,l=r[n]||n)}),i.$$set=o=>{"width"in o&&t(1,n=o.width),"_width"in o&&t(0,l=o._width)},[l,n]}class Dn extends N{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Sn,Bn,D,{width:1,_width:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["width","_width"]}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),h()}get _width(){return this.$$.ctx[0]}set _width(e){this.$$set({_width:e}),h()}}customElements.define("goa-page-block",Dn);function ai(i,e,t){const r=i.slice();return r[19]=e[t],r}function oi(i,e){let t,r,n,l,a,o,s,c,u=(e[19].label||e[19].value)+"",f,m,_,w,C;function p(){return e[17](e[19])}return{key:i,first:null,c(){t=b("label"),r=b("input"),a=A(),o=b("div"),s=A(),c=b("span"),f=q(u),m=A(),d(r,"type","radio"),d(r,"name",e[1]),r.value=n=e[19].value,r.disabled=e[11],r.checked=l=e[19].value===e[0],d(o,"class","goa-radio-icon"),d(c,"class","goa-radio-label"),d(t,"data-testid",_="radio-option-"+e[19].value),d(t,"class","goa-radio"),j(t,"goa-radio--disabled",e[11]),j(t,"goa-radio--error",e[9]),this.first=t},m(E,x){k(E,t,x),g(t,r),g(t,a),g(t,o),g(t,s),g(t,c),g(c,f),g(t,m),w||(C=X(r,"change",p),w=!0)},p(E,x){e=E,x&2&&d(r,"name",e[1]),x&256&&n!==(n=e[19].value)&&(r.value=n),x&2048&&(r.disabled=e[11]),x&257&&l!==(l=e[19].value===e[0])&&(r.checked=l),x&256&&u!==(u=(e[19].label||e[19].value)+"")&&K(f,u),x&256&&_!==(_="radio-option-"+e[19].value)&&d(t,"data-testid",_),x&2048&&j(t,"goa-radio--disabled",e[11]),x&512&&j(t,"goa-radio--error",e[9])},d(E){E&&T(t),w=!1,C()}}}function Nn(i){let e,t,r,n=[],l=new Map,a,o,s=i[8];const c=u=>u[19].value;for(let u=0;u<s.length;u+=1){let f=ai(i,s,u),m=c(f);l.set(m,n[u]=oi(m,f))}return{c(){e=b("div"),t=b("slot"),r=A();for(let u=0;u<n.length;u+=1)n[u].c();this.c=y,d(e,"style",a=P(i[4],i[5],i[6],i[7])),d(e,"class",o=`goa-radio-group--${i[2]}`),d(e,"data-testid",i[3])},m(u,f){k(u,e,f),g(e,t),g(e,r);for(let m=0;m<n.length;m+=1)n[m].m(e,null);i[18](e)},p(u,[f]){f&6915&&(s=u[8],n=Hi(n,f,c,1,u,s,l,e,Ai,oi,null,ai)),f&240&&a!==(a=P(u[4],u[5],u[6],u[7]))&&d(e,"style",a),f&4&&o!==(o=`goa-radio-group--${u[2]}`)&&d(e,"class",o),f&8&&d(e,"data-testid",u[3])},i:y,o:y,d(u){u&&T(e);for(let f=0;f<n.length;f+=1)n[f].d();i[18](null)}}}function jn(i,e,t){let r,{name:n}=e,{value:l}=e,{orientation:a="vertical"}=e,{disabled:o="false"}=e,{error:s="false"}=e,{testid:c=""}=e,{mt:u=null}=e,{mr:f=null}=e,{mb:m=null}=e,{ml:_=null}=e,w=[],C,p,E=!1,x;function L(v){v!==l&&(t(0,l=v),x.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:n,value:l}})))}ut(()=>{Rt(n)});const z=v=>L(v.value);function R(v){te[v?"unshift":"push"](()=>{x=v,t(10,x)})}return i.$$set=v=>{"name"in v&&t(1,n=v.name),"value"in v&&t(0,l=v.value),"orientation"in v&&t(2,a=v.orientation),"disabled"in v&&t(13,o=v.disabled),"error"in v&&t(14,s=v.error),"testid"in v&&t(3,c=v.testid),"mt"in v&&t(4,u=v.mt),"mr"in v&&t(5,f=v.mr),"mb"in v&&t(6,m=v.mb),"ml"in v&&t(7,_=v.ml)},i.$$.update=()=>{i.$$.dirty&8192&&t(11,r=V(o)),i.$$.dirty&16384&&t(9,C=V(s)),i.$$.dirty&98562&&n&&!E&&(t(16,E=!0),t(15,p=Xe(n)),p.subscribe(v=>{!v||t(8,w=[...w,v])}))},[l,n,a,c,u,f,m,_,w,C,x,r,L,o,s,p,E,z,R]}class On extends N{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
|
|
79
|
+
${L[21]?"goa-input--disabled":""}
|
|
80
|
+
variant--${L[7]}
|
|
81
|
+
type--${L[1]}
|
|
82
|
+
`)&&u(t,"class",k),D[0]&6291586&&j(t,"error",L[22]),D[0]&983552&&g!==(g=`
|
|
83
|
+
${V(L[16],L[17],L[18],L[19])};
|
|
84
|
+
--width: ${L[9]};
|
|
85
|
+
`)&&u(e,"style",g)},i:E,o:E,d(L){L&&M(e),A&&A.d(),T&&T.d(),i[32](null),C&&C.d(),O&&O.d(),R&&R.d(),x=!1,le(H)}}}function En(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function xn(i,e,t){let r,n,l,o,a;const[s,c]=X("Input type",["text","number","password","email","date","datetime-local","month","range","search","tel","time","url","week"]),[d,f]=X("Input auto capitalize",["on","off","none","sentences","words","characters"]);let{type:m="text"}=e,{name:y=""}=e,{value:w=""}=e,{autocapitalize:_="off"}=e,{placeholder:k=""}=e,{leadingicon:g=null}=e,{trailingicon:x=null}=e,{variant:H="goa"}=e,{disabled:A="false"}=e,{handletrailingiconclick:T="false"}=e,{focused:C="false"}=e,{readonly:O="false"}=e,{error:R="false"}=e,{testid:L=""}=e,{width:D="30ch"}=e,{arialabel:ae=null}=e,{min:$=null}=e,{max:te=null}=e,{step:ee=null}=e,{prefix:re=""}=e,{suffix:Se=""}=e,{mt:Ze=null}=e,{mr:Xe=null}=e,{mb:Ye=null}=e,{ml:ye=null}=e,ie;function Be(N){const Je=N.target;N.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:y,value:Je.value}})),t(0,w=Je.value)}Z(()=>{c(m),f(_),(re!=""||Se!="")&&console.warn("GoAInput [prefix] and [suffix] properties are deprecated. Instead use leadingContent and trailingContent.")});function ke(N){ne[N?"unshift":"push"](()=>{ie=N,t(20,ie)})}return i.$$set=N=>{"type"in N&&t(1,m=N.type),"name"in N&&t(2,y=N.name),"value"in N&&t(0,w=N.value),"autocapitalize"in N&&t(3,_=N.autocapitalize),"placeholder"in N&&t(4,k=N.placeholder),"leadingicon"in N&&t(5,g=N.leadingicon),"trailingicon"in N&&t(6,x=N.trailingicon),"variant"in N&&t(7,H=N.variant),"disabled"in N&&t(26,A=N.disabled),"handletrailingiconclick"in N&&t(27,T=N.handletrailingiconclick),"focused"in N&&t(28,C=N.focused),"readonly"in N&&t(29,O=N.readonly),"error"in N&&t(30,R=N.error),"testid"in N&&t(8,L=N.testid),"width"in N&&t(9,D=N.width),"arialabel"in N&&t(10,ae=N.arialabel),"min"in N&&t(11,$=N.min),"max"in N&&t(12,te=N.max),"step"in N&&t(13,ee=N.step),"prefix"in N&&t(14,re=N.prefix),"suffix"in N&&t(15,Se=N.suffix),"mt"in N&&t(16,Ze=N.mt),"mr"in N&&t(17,Xe=N.mr),"mb"in N&&t(18,Ye=N.mb),"ml"in N&&t(19,ye=N.ml)},i.$$.update=()=>{i.$$.dirty[0]&134217728&&t(24,r=U(T)),i.$$.dirty[0]&268435456&&t(31,n=U(C)),i.$$.dirty[0]&536870912&&t(23,l=U(O)),i.$$.dirty[0]&1073741824&&t(22,o=U(R)),i.$$.dirty[0]&67108864&&t(21,a=U(A)),i.$$.dirty[0]&1048576|i.$$.dirty[1]&1&&n&&ie&&setTimeout(()=>ie.focus(),1),i.$$.dirty[0]&1048578&&ie&&m==="search"&&ie.addEventListener("search",N=>{Be(N)})},[w,m,y,_,k,g,x,H,L,D,ae,$,te,ee,re,Se,Ze,Xe,Ye,ye,ie,a,o,l,r,Be,A,T,C,O,R,n,ke]}class Cn extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box}.container{position:relative;width:100%;display:inline-block}@media(min-width: 640px){.container{width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box}.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);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;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,.leading-content ::slotted(div),.trailing-content ::slotted(div){background-color:var(--color-gray-100);padding:0 0.75rem;display:flex;align-items:center}.leading-content ::slotted(div),.trailing-content ::slotted(div){padding:0.5rem 0.75rem}.prefix,.leading-content ::slotted(div){border-top-left-radius:var(--input-border-radius);border-bottom-left-radius:var(--input-border-radius);border-right:1px solid var(--color-gray-600)}.suffix,.trailing-content ::slotted(div){border-top-right-radius:var(--input-border-radius);border-bottom-right-radius:var(--input-border-radius);border-left:1px solid var(--color-gray-600)}.goa-input--disabled .prefix,.goa-input--disabled .leading-content ::slotted(div){border-right:1px solid var(--color-gray-200)}.goa-input--disabled .suffix,.goa-input--disabled .trailing-content ::slotted(div){border-left:1px solid var(--color-gray-200)}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}input[type="search" i]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
|
|
86
|
+
center center no-repeat}</style>`,F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},xn,pn,I,{type:1,name:2,value:0,autocapitalize:3,placeholder:4,leadingicon:5,trailingicon:6,variant:7,disabled:26,handletrailingiconclick:27,focused:28,readonly:29,error:30,testid:8,width:9,arialabel:10,min:11,max:12,step:13,prefix:14,suffix:15,mt:16,mr:17,mb:18,ml:19},null,[-1,-1]),e&&(e.target&&p(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","mt","mr","mb","ml"]}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[26]}set disabled(e){this.$$set({disabled:e}),h()}get handletrailingiconclick(){return this.$$.ctx[27]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),h()}get focused(){return this.$$.ctx[28]}set focused(e){this.$$set({focused:e}),h()}get readonly(){return this.$$.ctx[29]}set readonly(e){this.$$set({readonly:e}),h()}get error(){return this.$$.ctx[30]}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 mt(){return this.$$.ctx[16]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[17]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[18]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[19]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-input",Cn);function $t(i){let e,t,r;return{c(){e=v("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=S(),r=v("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,l){p(n,e,l),p(n,t,l),p(n,r,l)},d(n){n&&M(e),n&&M(t),n&&M(r)}}}function ei(i){let e,t=ri(i[0])+"",r,n,l,o,a,s,c,d=i[2]&&ti(i);return{c(){e=v("div"),r=G(t),l=S(),o=v("div"),a=G("This is a new "),s=v("a"),s.textContent="Alberta Government",c=G(` service
|
|
87
|
+
`),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(o,"data-testid","site-text"),u(o,"class","site-text")},m(f,m){p(f,e,m),b(e,r),p(f,l,m),p(f,o,m),b(o,a),b(o,s),b(o,c),d&&d.m(o,null)},p(f,m){m&1&&t!==(t=ri(f[0])+"")&&K(r,t),m&1&&n!==(n="service-type service-type--"+f[0].toLowerCase())&&u(e,"class",n),f[2]?d?d.p(f,m):(d=ti(f),d.c(),d.m(o,null)):d&&(d.d(1),d=null)},d(f){f&&M(e),f&&M(l),f&&M(o),d&&d.d()}}}function ti(i){let e,t,r,n;return{c(){e=v("span"),t=G("\u2014 help us improve it by giving "),r=v("a"),n=G("feedback"),u(r,"href",i[2]),u(e,"data-testid","feedback")},m(l,o){p(l,e,o),b(e,t),b(e,r),b(r,n)},p(l,o){o&4&&u(r,"href",l[2])},d(l){l&&M(e)}}}function ii(i){let e,t;return{c(){e=v("div"),t=G(i[1]),u(e,"data-testid","version"),u(e,"class","version")},m(r,n){p(r,e,n),b(e,t)},p(r,n){n&2&&K(t,r[1])},d(r){r&&M(e)}}}function zn(i){let e,t,r=["alpha","beta"].includes(i[0]),n,l,o,a=i[0]==="live"&&$t(),s=r&&ei(i),c=i[1]&&ii(i);return{c(){e=v("header"),a&&a.c(),t=S(),s&&s.c(),n=S(),l=v("div"),o=S(),c&&c.c(),this.c=E,u(l,"class","spacer"),u(e,"class","goa-official-site-header")},m(d,f){p(d,e,f),a&&a.m(e,null),b(e,t),s&&s.m(e,null),b(e,n),b(e,l),b(e,o),c&&c.m(e,null)},p(d,[f]){d[0]==="live"?a||(a=$t(),a.c(),a.m(e,t)):a&&(a.d(1),a=null),f&1&&(r=["alpha","beta"].includes(d[0])),r?s?s.p(d,f):(s=ei(d),s.c(),s.m(e,n)):s&&(s.d(1),s=null),d[1]?c?c.p(d,f):(c=ii(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:E,o:E,d(d){d&&M(e),a&&a.d(),s&&s.d(),c&&c.d()}}}function ri(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function Tn(i,e,t){const[r,n]=X("Microsite header type",["live","alpha","beta"],!0);let{type:l}=e,{version:o=""}=e,{feedbackurl:a=""}=e;return Z(()=>{n(l)}),i.$$set=s=>{"type"in s&&t(0,l=s.type),"version"in s&&t(1,o=s.version),"feedbackurl"in s&&t(2,a=s.feedbackurl)},[l,o,a]}class Mn extends P{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.25rem 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.125rem 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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Tn,zn,I,{type:0,version:1,feedbackurl:2},null),e&&(e.target&&p(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",Mn);function ni(i){let e,t,r,n,l,o,a,s,c,d,f,m,y,w,_,k,g,x,H,A,T,C,O,R=i[3]!==null&&li(i),L=i[0]&&ai(i),D=i[4]&&oi(i);function ae(ee,re){return Ln}let te=ae()(i);return{c(){e=v("goa-focus-trap"),t=v("div"),r=v("div"),n=S(),l=v("div"),R&&R.c(),o=S(),a=v("div"),L&&L.c(),s=S(),D&&D.c(),c=S(),d=v("div"),te.c(),f=S(),m=v("slot"),y=S(),w=v("div"),w.innerHTML='<slot name="actions"></slot>',u(r,"data-testid","modal-overlay"),u(r,"class","modal-overlay"),u(d,"data-testid","modal-content"),u(d,"class","modal-content"),u(w,"class","modal-actions"),u(w,"data-testid","modal-actions"),u(a,"class","content"),u(l,"class","modal-pane"),u(t,"data-testid","modal"),u(t,"class","modal"),u(t,"style",g=""+((i[2]&&`--width: ${i[2]};`)+";")),z(e,"active",i[1])},m(ee,re){p(ee,e,re),b(e,t),b(t,r),b(t,n),b(t,l),R&&R.m(l,null),b(l,o),b(l,a),L&&L.m(a,null),b(a,s),D&&D.m(a,null),b(a,c),b(a,d),te.m(d,null),b(d,f),b(d,m),b(a,y),b(a,w),T=!0,C||(O=[Y(r,"click",i[8]),ot(x=Mt.call(null,t,{enable:i[7]}))],C=!0)},p(ee,re){i=ee,i[3]!==null?R?R.p(i,re):(R=li(i),R.c(),R.m(l,o)):R&&(R.d(1),R=null),i[0]?L?L.p(i,re):(L=ai(i),L.c(),L.m(a,s)):L&&(L.d(1),L=null),i[4]?D?D.p(i,re):(D=oi(i),D.c(),D.m(a,c)):D&&(D.d(1),D=null),(!T||re&4&&g!==(g=""+((i[2]&&`--width: ${i[2]};`)+";")))&&u(t,"style",g),x&&ue(x.update)&&re&128&&x.update.call(null,{enable:i[7]}),(!T||re&2)&&z(e,"active",i[1])},i(ee){T||(oe(()=>{k&&k.end(1),_=gt(l,Tt,{duration:i[6],y:200}),_.start()}),oe(()=>{A&&A.end(1),H=gt(t,ze,{duration:i[6]}),H.start()}),T=!0)},o(ee){_&&_.invalidate(),k=bt(l,Tt,{delay:i[6],duration:i[6],y:-100}),H&&H.invalidate(),A=bt(t,ze,{delay:i[6],duration:i[6]}),T=!1},d(ee){ee&&M(e),R&&R.d(),L&&L.d(),D&&D.d(),te.d(),ee&&k&&k.end(),ee&&A&&A.end(),C=!1,le(O)}}}function li(i){let e,t,r,n;return{c(){e=v("div"),t=v("goa-icon"),z(t,"type",i[5]),z(t,"inverted",r=i[3]==="important"?"false":"true"),u(e,"class",n="callout-bar "+i[3])},m(l,o){p(l,e,o),b(e,t)},p(l,o){o&32&&z(t,"type",l[5]),o&8&&r!==(r=l[3]==="important"?"false":"true")&&z(t,"inverted",r),o&8&&n!==(n="callout-bar "+l[3])&&u(e,"class",n)},d(l){l&&M(e)}}}function ai(i){let e,t;return{c(){e=v("div"),t=G(i[0]),u(e,"data-testid","modal-title"),u(e,"class","modal-title")},m(r,n){p(r,e,n),b(e,t)},p(r,n){n&1&&K(t,r[0])},d(r){r&&M(e)}}}function oi(i){let e,t,r,n;return{c(){e=v("div"),t=v("goa-icon-button"),z(t,"data-testid","modal-close-button"),z(t,"icon","close"),z(t,"variant","nocolor"),u(e,"class","modal-close")},m(l,o){p(l,e,o),b(e,t),r||(n=Y(t,"click",i[8]),r=!0)},p:E,d(l){l&&M(e),r=!1,n()}}}function Ln(i){let e;return{c(){e=v("goa-scrollable"),e.innerHTML="<slot></slot>",z(e,"direction","vertical"),z(e,"height","50")},m(t,r){p(t,e,r)},d(t){t&&M(e)}}}function An(i){let e,t,r=i[7]&&ni(i);return{c(){r&&r.c(),e=ve(),this.c=E},m(n,l){r&&r.m(n,l),p(n,e,l),t=!0},p(n,[l]){n[7]?r?(r.p(n,l),l&128&&W(r,1)):(r=ni(n),r.c(),W(r,1),r.m(e.parentNode,e)):r&&(xe(),J(r,1,1,()=>{r=null}),Ce())},i(n){t||(W(r),t=!0)},o(n){J(r),t=!1},d(n){r&&r.d(n),n&&M(e)}}}function Rn(i,e,t){let r,n,l,o;const[a,s]=X("Callout variant",["emergency","important","information","success","event"]),[c,d]=X("Modal transition",["fast","slow","none"]);let{heading:f=""}=e,{closable:m="false"}=e,{open:y="false"}=e,{transition:w="none"}=e,{width:_=""}=e,{calloutvariant:k=null}=e;function g(x){!r||(x.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),x.stopPropagation())}return Z(()=>{s(k),d(w)}),i.$$set=x=>{"heading"in x&&t(0,f=x.heading),"closable"in x&&t(9,m=x.closable),"open"in x&&t(1,y=x.open),"transition"in x&&t(10,w=x.transition),"width"in x&&t(2,_=x.width),"calloutvariant"in x&&t(3,k=x.calloutvariant)},i.$$.update=()=>{i.$$.dirty&512&&t(4,r=U(m)),i.$$.dirty&2&&t(7,n=U(y)),i.$$.dirty&1024&&t(6,l=w==="none"?0:w==="slow"?400:200),i.$$.dirty&8&&t(5,o=k==="emergency"?"warning":k==="important"?"alert-circle":k==="information"?"information-circle":k==="success"?"checkmark-circle":k==="event"?"calendar":"")},[f,y,_,k,r,o,l,n,g,m,w]}class Hn extends P{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}.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)}.callout-bar{flex:0 0 3rem;text-align:center;padding-top:2rem;border-radius:4px 0px 0px 4px}.content{flex:1 1 auto;width:100%;margin:2rem 2rem}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:90%;display:flex;margin:1rem;box-shadow:6px 6px 6px rgba(0, 0, 0, 0.16);border-radius:4px;max-height:90%;border:1px solid var(--color-gray-600)}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch);max-height:80%}}.modal-actions ::slotted(div){margin:1.5rem 0 0}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-close{position:absolute;top:2rem;right:2rem}.modal-title{font-size:var(--fs-xl);margin:0 0 1.5rem;margin-right:40px;flex:0 0 auto}.modal-content{line-height:1.75rem}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Rn,An,I,{heading:0,closable:9,open:1,transition:10,width:2,calloutvariant:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","closable","open","transition","width","calloutvariant"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get closable(){return this.$$.ctx[9]}set closable(e){this.$$set({closable:e}),h()}get 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()}get calloutvariant(){return this.$$.ctx[3]}set calloutvariant(e){this.$$set({calloutvariant:e}),h()}}customElements.define("goa-modal",Hn);function si(i){let e,t,r,n,l,o,a,s,c,d,f,m,y,w,_;return{c(){e=v("div"),t=v("div"),r=v("goa-icon"),l=S(),o=v("div"),o.innerHTML="<slot></slot>",a=S(),s=v("div"),c=v("goa-icon-button"),z(r,"type",i[2]),z(r,"inverted",n=i[0]==="important"?"false":"true"),u(t,"class","icon"),u(o,"class","content"),z(c,"icon","close"),z(c,"variant","dark"),z(c,"inverted",d=i[0]==="important"?"false":"true"),u(s,"class","close"),u(e,"class",f="notification "+i[0])},m(k,g){p(k,e,g),b(e,t),b(t,r),b(e,l),b(e,o),b(e,a),b(e,s),b(s,c),y=!0,w||(_=Y(c,"click",i[3]),w=!0)},p(k,g){(!y||g&4)&&z(r,"type",k[2]),(!y||g&1&&n!==(n=k[0]==="important"?"false":"true"))&&z(r,"inverted",n),(!y||g&1&&d!==(d=k[0]==="important"?"false":"true"))&&z(c,"inverted",d),(!y||g&1&&f!==(f="notification "+k[0]))&&u(e,"class",f)},i(k){y||(oe(()=>{m||(m=Ke(e,ze,{},!0)),m.run(1)}),y=!0)},o(k){m||(m=Ke(e,ze,{},!1)),m.run(0),y=!1},d(k){k&&M(e),k&&m&&m.end(),w=!1,_()}}}function Sn(i){let e,t,r=i[1]&&si(i);return{c(){r&&r.c(),e=ve(),this.c=E},m(n,l){r&&r.m(n,l),p(n,e,l),t=!0},p(n,[l]){n[1]?r?(r.p(n,l),l&2&&W(r,1)):(r=si(n),r.c(),W(r,1),r.m(e.parentNode,e)):r&&(xe(),J(r,1,1,()=>{r=null}),Ce())},i(n){t||(W(r),t=!0)},o(n){J(r),t=!1},d(n){r&&r.d(n),n&&M(e)}}}function Bn(i,e,t){let r;const[n,l]=X("Notification type",["emergency","important","information","event"],!0);let{type:o=""}=e,a=!0;Z(()=>{l(o)});function s(){t(1,a=!1)}return i.$$set=c=>{"type"in c&&t(0,o=c.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=o==="emergency"?"warning":o==="important"?"alert-circle":o==="information"?"information-circle":o==="event"?"calendar":"")},[o,a,r,s]}class Dn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;gap:1rem}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.important{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}.content{flex:1 1 auto}::slotted(a){color:unset !important;outline:unset !important}.close{flex:0 0 auto}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Bn,Sn,I,{type:0},null),e&&(e.target&&p(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",Dn);const Nn=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function On(i){return Nn.test(i)}function jn(i){let e,t,r;return{c(){e=v("div"),t=v("slot"),this.c=E,u(e,"class","page-content"),u(e,"style",r=`--max-width: ${i[0]}`)},m(n,l){p(n,e,l),b(e,t)},p(n,[l]){l&1&&r!==(r=`--max-width: ${n[0]}`)&&u(e,"style",r)},i:E,o:E,d(n){n&&M(e)}}}function In(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:l}=e;function o(a){return!!(["full"].includes(n)||On(a))}return Z(()=>{o(n)||console.error("Invalid PageBlock width"),t(0,l=r[n]||n)}),i.$$set=a=>{"width"in a&&t(1,n=a.width),"_width"in a&&t(0,l=a._width)},[l,n]}class Pn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1.75rem}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},In,jn,I,{width:1,_width:0},null),e&&(e.target&&p(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",Pn);function ci(i,e,t){const r=i.slice();return r[22]=e[t],r}function di(i,e){let t,r,n,l,o,a,s,c,d,f=(e[22].label||e[22].value)+"",m,y,w,_,k;function g(){return e[16](e[22])}return{key:i,first:null,c(){t=v("label"),r=v("input"),a=S(),s=v("div"),c=S(),d=v("span"),m=G(f),y=S(),u(r,"type","radio"),u(r,"name",e[1]),r.value=n=e[22].value,r.disabled=e[12],r.checked=l=e[22].value===e[0],u(r,"aria-label",o=e[4]||e[1]),u(s,"class","goa-radio-icon"),u(d,"class","goa-radio-label"),u(t,"data-testid",w="radio-option-"+e[22].value),u(t,"class","goa-radio"),j(t,"goa-radio--disabled",e[12]),j(t,"goa-radio--error",e[11]),this.first=t},m(x,H){p(x,t,H),b(t,r),b(t,a),b(t,s),b(t,c),b(t,d),b(d,m),b(t,y),_||(k=Y(r,"change",g),_=!0)},p(x,H){e=x,H&2&&u(r,"name",e[1]),H&512&&n!==(n=e[22].value)&&(r.value=n),H&4096&&(r.disabled=e[12]),H&513&&l!==(l=e[22].value===e[0])&&(r.checked=l),H&18&&o!==(o=e[4]||e[1])&&u(r,"aria-label",o),H&512&&f!==(f=(e[22].label||e[22].value)+"")&&K(m,f),H&512&&w!==(w="radio-option-"+e[22].value)&&u(t,"data-testid",w),H&4096&&j(t,"goa-radio--disabled",e[12]),H&2048&&j(t,"goa-radio--error",e[11])},d(x){x&&M(t),_=!1,k()}}}function qn(i){let e,t,r,n=[],l=new Map,o,a,s=i[9];const c=d=>d[22].value;for(let d=0;d<s.length;d+=1){let f=ci(i,s,d),m=c(f);l.set(m,n[d]=di(m,f))}return{c(){e=v("div"),t=v("slot"),r=S();for(let d=0;d<n.length;d+=1)n[d].c();this.c=E,u(e,"style",o=V(i[5],i[6],i[7],i[8])),u(e,"class",a=`goa-radio-group--${i[2]}`),u(e,"data-testid",i[3])},m(d,f){p(d,e,f),b(e,t),b(e,r);for(let m=0;m<n.length;m+=1)n[m].m(e,null);i[17](e)},p(d,[f]){f&14867&&(s=d[9],n=wt(n,f,c,1,d,s,l,e,vt,di,null,ci)),f&480&&o!==(o=V(d[5],d[6],d[7],d[8]))&&u(e,"style",o),f&4&&a!==(a=`goa-radio-group--${d[2]}`)&&u(e,"class",a),f&8&&u(e,"data-testid",d[3])},i:E,o:E,d(d){d&&M(e);for(let f=0;f<n.length;f+=1)n[f].d();i[17](null)}}}function Fn(i,e,t){let r,n;const[l,o]=X("Radio group orientation",["vertical","horizontal"]);let{name:a}=e,{value:s}=e,{orientation:c="vertical"}=e,{disabled:d="false"}=e,{error:f="false"}=e,{testid:m=""}=e,{arialabel:y=""}=e,{mt:w=null}=e,{mr:_=null}=e,{mb:k=null}=e,{ml:g=null}=e,x=[],H;Z(async()=>{await Ee(),t(9,x=T())});function A(){const L=H.querySelector("slot");return L?[...L.assignedElements()]:[...H.children]}function T(){return A().map(D=>{const ae=D,$=D.getAttribute("value")||ae.value,te=D.getAttribute("label")||D.innerText||ae.label||ae.innerText;return{value:$,label:te}})}function C(L){L!==s&&(t(0,s=L),H.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:a,value:s}})))}Z(()=>{o(c)});const O=L=>C(L.value);function R(L){ne[L?"unshift":"push"](()=>{H=L,t(10,H)})}return i.$$set=L=>{"name"in L&&t(1,a=L.name),"value"in L&&t(0,s=L.value),"orientation"in L&&t(2,c=L.orientation),"disabled"in L&&t(14,d=L.disabled),"error"in L&&t(15,f=L.error),"testid"in L&&t(3,m=L.testid),"arialabel"in L&&t(4,y=L.arialabel),"mt"in L&&t(5,w=L.mt),"mr"in L&&t(6,_=L.mr),"mb"in L&&t(7,k=L.mb),"ml"in L&&t(8,g=L.ml)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,r=U(d)),i.$$.dirty&32768&&t(11,n=U(f))},[s,a,c,m,y,w,_,k,g,x,H,n,r,C,d,f,O,R]}class Vn extends P{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
|
|
78
88
|
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
|
|
79
|
-
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>`,
|
|
89
|
+
var(--goa-color-interactive--active)}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-color-status-emergency)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-color-status-emergency)}</style>`,F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Fn,qn,I,{name:1,value:0,orientation:2,disabled:14,error:15,testid:3,arialabel:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","orientation","disabled","error","testid","arialabel","mt","mr","mb","ml"]}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[14]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[15]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}get arialabel(){return this.$$.ctx[4]}set arialabel(e){this.$$set({arialabel:e}),h()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-radio-group",Vn);function Gn(i){let e,t,r;return{c(){e=v("div"),t=v("slot"),this.c=E,u(e,"class","goa-scrollable"),u(e,"style",r=`
|
|
80
90
|
--max-height: ${i[3]};
|
|
81
91
|
overflow-y: ${i[0]==="vertical"?"auto":"hidden"};
|
|
82
92
|
overflow-x: ${i[0]==="horizontal"?"auto":"hidden"};
|
|
83
93
|
margin: ${i[2]}rem 0;
|
|
84
94
|
padding: 0 ${i[1]}rem;
|
|
85
|
-
`)},m(n,l){
|
|
95
|
+
`)},m(n,l){p(n,e,l),b(e,t)},p(n,[l]){l&15&&r!==(r=`
|
|
86
96
|
--max-height: ${n[3]};
|
|
87
97
|
overflow-y: ${n[0]==="vertical"?"auto":"hidden"};
|
|
88
98
|
overflow-x: ${n[0]==="horizontal"?"auto":"hidden"};
|
|
89
99
|
margin: ${n[2]}rem 0;
|
|
90
100
|
padding: 0 ${n[1]}rem;
|
|
91
|
-
`)&&d(e,"style",r)},i:y,o:y,d(n){n&&T(e)}}}function Gn(i,e,t){let{direction:r="vertical"}=e,{hpadding:n=0}=e,{vpadding:l=0}=e,{height:a=0}=e;return i.$$set=o=>{"direction"in o&&t(0,r=o.direction),"hpadding"in o&&t(1,n=o.hpadding),"vpadding"in o&&t(2,l=o.vpadding),"height"in o&&t(3,a=o.height)},[r,n,l,a]}class Vn extends N{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Gn,qn,D,{direction:0,hpadding:1,vpadding:2,height:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["direction","hpadding","vpadding","height"]}get direction(){return this.$$.ctx[0]}set direction(e){this.$$set({direction:e}),h()}get hpadding(){return this.$$.ctx[1]}set hpadding(e){this.$$set({hpadding:e}),h()}get vpadding(){return this.$$.ctx[2]}set vpadding(e){this.$$set({vpadding:e}),h()}get height(){return this.$$.ctx[3]}set height(e){this.$$set({height:e}),h()}}customElements.define("goa-scrollable",Vn);function si(i,e,t){const r=i.slice();return r[9]=e[t],r}function Un(i){let e,t;return{c(){e=b("div"),d(e,"class",t="skeleton "+i[3]+` ${i[3]}-${i[1]}`)},m(r,n){k(r,e,n)},p(r,n){n&10&&t!==(t="skeleton "+r[3]+` ${r[3]}-${r[1]}`)&&d(e,"class",t)},i:y,o:y,d(r){r&&T(e)}}}function Wn(i){let e,t,r=Array(i[2]),n=[];for(let a=0;a<r.length;a+=1)n[a]=ci(si(i,r,a));const l=a=>Y(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;a<n.length;a+=1)n[a].c();e=be()},m(a,o){for(let s=0;s<n.length;s+=1)n[s].m(a,o);k(a,e,o),t=!0},p(a,o){if(o&6){r=Array(a[2]);let s;for(s=0;s<r.length;s+=1){const c=si(a,r,s);n[s]?(n[s].p(c,o),U(n[s],1)):(n[s]=ci(c),n[s].c(),U(n[s],1),n[s].m(e.parentNode,e))}for(xe(),s=r.length;s<n.length;s+=1)l(s);Ee()}},i(a){if(!t){for(let o=0;o<r.length;o+=1)U(n[o]);t=!0}},o(a){n=n.filter(Boolean);for(let o=0;o<n.length;o+=1)Y(n[o]);t=!1},d(a){Oe(n,a),a&&T(e)}}}function Kn(i){let e,t,r,n,l,a,o,s,c,u;return r=new he({props:{type:"avatar",size:i[1]}}),a=new he({props:{type:"title",size:i[1]}}),s=new he({props:{type:"text-small",size:i[1]}}),{c(){e=b("div"),t=b("div"),we(r.$$.fragment),n=A(),l=b("div"),we(a.$$.fragment),o=A(),we(s.$$.fragment),d(t,"class","profile-avatar"),d(l,"class","profile-name"),d(e,"class",c="profile profile-"+i[1])},m(f,m){k(f,e,m),g(e,t),de(r,t,null),g(e,n),g(e,l),de(a,l,null),g(l,o),de(s,l,null),u=!0},p(f,m){const _={};m&2&&(_.size=f[1]),r.$set(_);const w={};m&2&&(w.size=f[1]),a.$set(w);const C={};m&2&&(C.size=f[1]),s.$set(C),(!u||m&2&&c!==(c="profile profile-"+f[1]))&&d(e,"class",c)},i(f){u||(U(r.$$.fragment,f),U(a.$$.fragment,f),U(s.$$.fragment,f),u=!0)},o(f){Y(r.$$.fragment,f),Y(a.$$.fragment,f),Y(s.$$.fragment,f),u=!1},d(f){f&&T(e),fe(r),fe(a),fe(s)}}}function Xn(i){let e,t,r,n,l,a,o,s,c;return t=new he({props:{type:"image",size:i[1]}}),l=new he({props:{type:"header",size:i[1]}}),o=new he({props:{type:"lines",size:i[1],linecount:3}}),{c(){e=b("div"),we(t.$$.fragment),r=A(),n=b("div"),we(l.$$.fragment),a=A(),we(o.$$.fragment),d(n,"class","card-content"),d(e,"class",s="card card-"+i[1]),Z(e,"--max-width",i[0])},m(u,f){k(u,e,f),de(t,e,null),g(e,r),g(e,n),de(l,n,null),g(n,a),de(o,n,null),c=!0},p(u,f){const m={};f&2&&(m.size=u[1]),t.$set(m);const _={};f&2&&(_.size=u[1]),l.$set(_);const w={};f&2&&(w.size=u[1]),o.$set(w),(!c||f&2&&s!==(s="card card-"+u[1]))&&d(e,"class",s),(!c||f&1)&&Z(e,"--max-width",u[0])},i(u){c||(U(t.$$.fragment,u),U(l.$$.fragment,u),U(o.$$.fragment,u),c=!0)},o(u){Y(t.$$.fragment,u),Y(l.$$.fragment,u),Y(o.$$.fragment,u),c=!1},d(u){u&&T(e),fe(t),fe(l),fe(o)}}}function ci(i){let e,t;return e=new he({props:{type:"text",size:i[1],linecount:i[2]}}),{c(){we(e.$$.fragment)},m(r,n){de(e,r,n),t=!0},p(r,n){const l={};n&2&&(l.size=r[1]),n&4&&(l.linecount=r[2]),e.$set(l)},i(r){t||(U(e.$$.fragment,r),t=!0)},o(r){Y(e.$$.fragment,r),t=!1},d(r){fe(e,r)}}}function Yn(i){let e,t,r,n,l;const a=[Xn,Kn,Wn,Un],o=[];function s(c,u){return c[3]==="card"?0:c[3]==="profile"?1:c[3]==="lines"?2:3}return t=s(i),r=o[t]=a[t](i),{c(){e=b("div"),r.c(),this.c=y,d(e,"data-testid",i[4]),d(e,"style",n=""+(P(i[5],i[6],i[7],i[8])+";"))},m(c,u){k(c,e,u),o[t].m(e,null),l=!0},p(c,[u]){let f=t;t=s(c),t===f?o[t].p(c,u):(xe(),Y(o[f],1,1,()=>{o[f]=null}),Ee(),r=o[t],r?r.p(c,u):(r=o[t]=a[t](c),r.c()),U(r,1),r.m(e,null)),(!l||u&16)&&d(e,"data-testid",c[4]),(!l||u&480&&n!==(n=""+(P(c[5],c[6],c[7],c[8])+";")))&&d(e,"style",n)},i(c){l||(U(r),l=!0)},o(c){Y(r),l=!1},d(c){c&&T(e),o[t].d()}}}function Zn(i,e,t){let{maxwidth:r=""}=e,{size:n=1}=e,{linecount:l=3}=e,{type:a}=e,{testid:o=""}=e,{mt:s=null}=e,{mr:c=null}=e,{mb:u=null}=e,{ml:f=null}=e;return i.$$set=m=>{"maxwidth"in m&&t(0,r=m.maxwidth),"size"in m&&t(1,n=m.size),"linecount"in m&&t(2,l=m.linecount),"type"in m&&t(3,a=m.type),"testid"in m&&t(4,o=m.testid),"mt"in m&&t(5,s=m.mt),"mr"in m&&t(6,c=m.mr),"mb"in m&&t(7,u=m.mb),"ml"in m&&t(8,f=m.ml)},[r,n,l,a,o,s,c,u,f]}class he extends N{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: 480px){.card{max-width:var(--max-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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Zn,Yn,D,{maxwidth:0,size:1,linecount:2,type:3,testid:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["maxwidth","size","linecount","type","testid","mt","mr","mb","ml"]}get maxwidth(){return this.$$.ctx[0]}set maxwidth(e){this.$$set({maxwidth: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()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-skeleton",he);function ui(i){return Object.prototype.toString.call(i)==="[object Date]"}function it(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,l)=>it(i[l],n));return n=>r.map(l=>l(n))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(ui(i)&&ui(e)){i=i.getTime(),e=e.getTime();const l=e-i;return a=>new Date(i+a*l)}const r=Object.keys(e),n={};return r.forEach(l=>{n[l]=it(i[l],e[l])}),l=>{const a={};return r.forEach(o=>{a[o]=n[o](l)}),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=Tt(i);let r,n=i;function l(a,o){if(i==null)return t.set(i=a),Promise.resolve();n=a;let s=r,c=!1,{delay:u=0,duration:f=400,easing:m=Te,interpolate:_=it}=rt(rt({},e),o);if(f===0)return s&&(s.abort(),s=null),t.set(i=n),Promise.resolve();const w=Ne()+u;let C;return r=je(p=>{if(p<w)return!0;c||(C=_(i,a),typeof f=="function"&&(f=f(i,a)),c=!0),s&&(s.abort(),s=null);const E=p-w;return E>f?(t.set(i=a),!1):(t.set(i=C(m(E/f))),!0)}),r.promise}return{set:l,update:(a,o)=>l(a(n,i),o),subscribe:t.subscribe}}function di(i){let e,t,r,n,l,a,o,s,c;return{c(){e=ge("svg"),t=ge("circle"),l=ge("path"),d(t,"cx",i[3]),d(t,"cy",i[3]),d(t,"stroke",r=i[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),d(t,"stroke-width",i[4]),d(t,"r",n=i[3]-i[4]/2),d(l,"d",a=i[9](i[7])),d(l,"stroke-width",i[4]),d(l,"stroke",o=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),d(l,"stroke-linecap","round"),d(e,"class",s=`spinner-${i[2]}`),d(e,"fill","none"),d(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),d(e,"width",i[5]),d(e,"height",i[5]),d(e,"data-testid",i[1]),d(e,"xmlns","http://www.w3.org/2000/svg")},m(u,f){k(u,e,f),g(e,t),g(e,l)},p(u,f){f&8&&d(t,"cx",u[3]),f&8&&d(t,"cy",u[3]),f&1&&r!==(r=u[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&d(t,"stroke",r),f&16&&d(t,"stroke-width",u[4]),f&24&&n!==(n=u[3]-u[4]/2)&&d(t,"r",n),f&128&&a!==(a=u[9](u[7]))&&d(l,"d",a),f&16&&d(l,"stroke-width",u[4]),f&1&&o!==(o=u[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&d(l,"stroke",o),f&4&&s!==(s=`spinner-${u[2]}`)&&d(e,"class",s),f&32&&c!==(c="0 0 "+u[5]+" "+u[5])&&d(e,"viewBox",c),f&32&&d(e,"width",u[5]),f&32&&d(e,"height",u[5]),f&2&&d(e,"data-testid",u[1])},d(u){u&&T(e)}}}function Qn(i){let e,t=i[6]&&di(i);return{c(){t&&t.c(),e=be(),this.c=y},m(r,n){t&&t.m(r,n),k(r,e,n)},p(r,[n]){r[6]?t?t.p(r,n):(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&&T(e)}}}function $n(i,e,t){let r,n,l,a,o,s,{size:c}=e,{invert:u=!1}=e,{progress:f=-1}=e,{testid:m=""}=e,_="infinite";const w=Jn(0,{duration:500,easing:Er});pi(i,w,E=>t(7,s=E));function C(E){const x=l+a*Math.cos(E),L=l+a*Math.sin(E);return x+" "+L}function p(E){switch(_){case"progress":{const x=C(-Math.PI/2),L=C(-Math.PI/2+2*Math.PI*(E/100)),z=E%100<50?0:1;return`M ${x} A ${a} ${a} 0 ${z} 1 ${L}`}case"infinite":{const x=C(Math.PI*1.5),L=C(0);return`M ${x} A ${a} ${a} 0 1 0 ${L}`}}}return i.$$set=E=>{"size"in E&&t(10,c=E.size),"invert"in E&&t(0,u=E.invert),"progress"in E&&t(11,f=E.progress),"testid"in E&&t(1,m=E.testid)},i.$$.update=()=>{if(i.$$.dirty&2048){const E=parseFloat(f+"");E>=0&&(w.set(E||1),t(2,_="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,l=r/2),i.$$.dirty&24&&t(12,a=l-n/2),i.$$.dirty&6148&&t(6,o=_==="infinite"?a:a&&f)},[u,m,_,l,n,r,o,s,w,p,c,f,a]}class el extends N{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},$n,Qn,D,{size:10,invert:0,progress:11,testid:1},null),e&&(e.target&&k(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",el);function tl(i){let e,t,r,n,l,a,o;return{c(){e=b("div"),t=b("textarea"),n=A(),this.c=y,d(t,"name",i[0]),d(t,"placeholder",i[2]),t.value=i[1],d(t,"rows",i[3]),d(t,"aria-label",r=i[6]||i[0]),d(t,"class","goa-textarea"),t.disabled=i[12],t.readOnly=i[13],d(t,"data-testid",i[4]),j(t,"error",i[14]),d(e,"class","container"),d(e,"style",l=`
|
|
92
|
-
|
|
101
|
+
`)&&u(e,"style",r)},i:E,o:E,d(n){n&&M(e)}}}function Un(i,e,t){let{direction:r="vertical"}=e,{hpadding:n=0}=e,{vpadding:l=0}=e,{height:o=0}=e;return i.$$set=a=>{"direction"in a&&t(0,r=a.direction),"hpadding"in a&&t(1,n=a.hpadding),"vpadding"in a&&t(2,l=a.vpadding),"height"in a&&t(3,o=a.height)},[r,n,l,o]}class Wn extends P{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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Un,Gn,I,{direction:0,hpadding:1,vpadding:2,height:3},null),e&&(e.target&&p(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",Wn);function ui(i,e,t){const r=i.slice();return r[13]=e[t],r}function Kn(i){let e,t;return{c(){e=v("div"),u(e,"class",t="skeleton "+i[3]+` ${i[3]}-${i[1]}`)},m(r,n){p(r,e,n)},p(r,n){n&10&&t!==(t="skeleton "+r[3]+` ${r[3]}-${r[1]}`)&&u(e,"class",t)},i:E,o:E,d(r){r&&M(e)}}}function Zn(i){let e,t,r=Array(i[2]),n=[];for(let o=0;o<r.length;o+=1)n[o]=fi(ui(i,r,o));const l=o=>J(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=ve()},m(o,a){for(let s=0;s<n.length;s+=1)n[s].m(o,a);p(o,e,a),t=!0},p(o,a){if(a&6){r=Array(o[2]);let s;for(s=0;s<r.length;s+=1){const c=ui(o,r,s);n[s]?(n[s].p(c,a),W(n[s],1)):(n[s]=fi(c),n[s].c(),W(n[s],1),n[s].m(e.parentNode,e))}for(xe(),s=r.length;s<n.length;s+=1)l(s);Ce()}},i(o){if(!t){for(let a=0;a<r.length;a+=1)W(n[a]);t=!0}},o(o){n=n.filter(Boolean);for(let a=0;a<n.length;a+=1)J(n[a]);t=!1},d(o){Ie(n,o),o&&M(e)}}}function Xn(i){let e,t,r,n,l,o,a,s,c,d;return r=new me({props:{type:"avatar",size:i[1]}}),o=new me({props:{type:"title",size:i[1]}}),s=new me({props:{type:"text-small",size:i[1]}}),{c(){e=v("div"),t=v("div"),_e(r.$$.fragment),n=S(),l=v("div"),_e(o.$$.fragment),a=S(),_e(s.$$.fragment),u(t,"class","profile-avatar"),u(l,"class","profile-name"),u(e,"class",c="profile profile-"+i[1])},m(f,m){p(f,e,m),b(e,t),fe(r,t,null),b(e,n),b(e,l),fe(o,l,null),b(l,a),fe(s,l,null),d=!0},p(f,m){const y={};m&2&&(y.size=f[1]),r.$set(y);const w={};m&2&&(w.size=f[1]),o.$set(w);const _={};m&2&&(_.size=f[1]),s.$set(_),(!d||m&2&&c!==(c="profile profile-"+f[1]))&&u(e,"class",c)},i(f){d||(W(r.$$.fragment,f),W(o.$$.fragment,f),W(s.$$.fragment,f),d=!0)},o(f){J(r.$$.fragment,f),J(o.$$.fragment,f),J(s.$$.fragment,f),d=!1},d(f){f&&M(e),he(r),he(o),he(s)}}}function Yn(i){let e,t,r,n,l,o,a,s,c;return t=new me({props:{type:"image",size:i[1]}}),l=new me({props:{type:"header",size:i[1]}}),a=new me({props:{type:"lines",size:i[1],linecount:3}}),{c(){e=v("div"),_e(t.$$.fragment),r=S(),n=v("div"),_e(l.$$.fragment),o=S(),_e(a.$$.fragment),u(n,"class","card-content"),u(e,"class",s="card card-"+i[1]),Q(e,"--max-width",i[0])},m(d,f){p(d,e,f),fe(t,e,null),b(e,r),b(e,n),fe(l,n,null),b(n,o),fe(a,n,null),c=!0},p(d,f){const m={};f&2&&(m.size=d[1]),t.$set(m);const y={};f&2&&(y.size=d[1]),l.$set(y);const w={};f&2&&(w.size=d[1]),a.$set(w),(!c||f&2&&s!==(s="card card-"+d[1]))&&u(e,"class",s),(!c||f&1)&&Q(e,"--max-width",d[0])},i(d){c||(W(t.$$.fragment,d),W(l.$$.fragment,d),W(a.$$.fragment,d),c=!0)},o(d){J(t.$$.fragment,d),J(l.$$.fragment,d),J(a.$$.fragment,d),c=!1},d(d){d&&M(e),he(t),he(l),he(a)}}}function fi(i){let e,t;return e=new me({props:{type:"text",size:i[1],linecount:i[2]}}),{c(){_e(e.$$.fragment)},m(r,n){fe(e,r,n),t=!0},p(r,n){const l={};n&2&&(l.size=r[1]),n&4&&(l.linecount=r[2]),e.$set(l)},i(r){t||(W(e.$$.fragment,r),t=!0)},o(r){J(e.$$.fragment,r),t=!1},d(r){he(e,r)}}}function Jn(i){let e,t,r,n,l;const o=[Yn,Xn,Zn,Kn],a=[];function s(c,d){return c[3]==="card"?0:c[3]==="profile"?1:c[3]==="lines"?2:3}return t=s(i),r=a[t]=o[t](i),{c(){e=v("div"),r.c(),this.c=E,u(e,"data-testid",i[4]),u(e,"style",n=""+(V(i[5],i[6],i[7],i[8])+";"))},m(c,d){p(c,e,d),a[t].m(e,null),l=!0},p(c,[d]){let f=t;t=s(c),t===f?a[t].p(c,d):(xe(),J(a[f],1,1,()=>{a[f]=null}),Ce(),r=a[t],r?r.p(c,d):(r=a[t]=o[t](c),r.c()),W(r,1),r.m(e,null)),(!l||d&16)&&u(e,"data-testid",c[4]),(!l||d&480&&n!==(n=""+(V(c[5],c[6],c[7],c[8])+";")))&&u(e,"style",n)},i(c){l||(W(r),l=!0)},o(c){J(r),l=!1},d(c){c&&M(e),a[t].d()}}}function Qn(i,e,t){const[r,n]=X("Skeleton type",["image","text","title","text-small","avatar","header","paragraph","thumbnail","card","profile","lines"],!0),[l,o]=X("Skeleton size",["1","2","3","4"]);let{maxwidth:a=""}=e,{size:s="1"}=e,{linecount:c=3}=e,{type:d}=e,{testid:f=""}=e,{mt:m=null}=e,{mr:y=null}=e,{mb:w=null}=e,{ml:_=null}=e;return Z(()=>{n(d),o(s)}),i.$$set=k=>{"maxwidth"in k&&t(0,a=k.maxwidth),"size"in k&&t(1,s=k.size),"linecount"in k&&t(2,c=k.linecount),"type"in k&&t(3,d=k.type),"testid"in k&&t(4,f=k.testid),"mt"in k&&t(5,m=k.mt),"mr"in k&&t(6,y=k.mr),"mb"in k&&t(7,w=k.mb),"ml"in k&&t(8,_=k.ml)},[a,s,c,d,f,m,y,w,_]}class me extends P{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: 480px){.card{max-width:var(--max-width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Qn,Jn,I,{maxwidth:0,size:1,linecount:2,type:3,testid:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["maxwidth","size","linecount","type","testid","mt","mr","mb","ml"]}get maxwidth(){return this.$$.ctx[0]}set maxwidth(e){this.$$set({maxwidth: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()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-skeleton",me);function $n(i){let e;return{c(){e=v("div"),this.c=E},m(t,r){p(t,e,r),i[3](e)},p:E,i:E,o:E,d(t){t&&M(e),i[3](null)}}}function el(i,e,t){let{hspacing:r="none"}=e,{vspacing:n="none"}=e,l;Z(()=>{_t(l,":host",{width:`var(--goa-spacing-${r})`,height:`var(--goa-spacing-${n})`})});function o(a){ne[a?"unshift":"push"](()=>{l=a,t(0,l)})}return i.$$set=a=>{"hspacing"in a&&t(1,r=a.hspacing),"vspacing"in a&&t(2,n=a.vspacing)},[l,r,n,o]}class tl extends P{constructor(e){super();F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},el,$n,I,{hspacing:1,vspacing:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["hspacing","vspacing"]}get hspacing(){return this.$$.ctx[1]}set hspacing(e){this.$$set({hspacing:e}),h()}get vspacing(){return this.$$.ctx[2]}set vspacing(e){this.$$set({vspacing:e}),h()}}customElements.define("goa-spacer",tl);const Te=[];function il(i,e=E){let t;const r=new Set;function n(a){if(I(i,a)&&(i=a,t)){const s=!Te.length;for(const c of r)c[1](),Te.push(c,i);if(s){for(let c=0;c<Te.length;c+=2)Te[c][0](Te[c+1]);Te.length=0}}}function l(a){n(a(i))}function o(a,s=E){const c=[a,s];return r.add(c),r.size===1&&(t=e(n)||E),a(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:n,update:l,subscribe:o}}function hi(i){return Object.prototype.toString.call(i)==="[object Date]"}function nt(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,l)=>nt(i[l],n));return n=>r.map(l=>l(n))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(hi(i)&&hi(e)){i=i.getTime(),e=e.getTime();const l=e-i;return o=>new Date(i+o*l)}const r=Object.keys(e),n={};return r.forEach(l=>{n[l]=nt(i[l],e[l])}),l=>{const o={};return r.forEach(a=>{o[a]=n[a](l)}),o}}if(t==="number"){const r=e-i;return n=>i+n*r}throw new Error(`Cannot interpolate ${t} values`)}function rl(i,e={}){const t=il(i);let r,n=i;function l(o,a){if(i==null)return t.set(i=o),Promise.resolve();n=o;let s=r,c=!1,{delay:d=0,duration:f=400,easing:m=Me,interpolate:y=nt}=lt(lt({},e),a);if(f===0)return s&&(s.abort(),s=null),t.set(i=n),Promise.resolve();const w=Oe()+d;let _;return r=je(k=>{if(k<w)return!0;c||(_=y(i,o),typeof f=="function"&&(f=f(i,o)),c=!0),s&&(s.abort(),s=null);const g=k-w;return g>f?(t.set(i=o),!1):(t.set(i=_(m(g/f))),!0)}),r.promise}return{set:l,update:(o,a)=>l(o(n,i),a),subscribe:t.subscribe}}function mi(i){let e,t,r,n,l,o,a,s,c;return{c(){e=be("svg"),t=be("circle"),l=be("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(l,"d",o=i[9](i[7])),u(l,"stroke-width",i[4]),u(l,"stroke",a=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),u(l,"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){p(d,e,f),b(e,t),b(e,l)},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&&o!==(o=d[9](d[7]))&&u(l,"d",o),f&16&&u(l,"stroke-width",d[4]),f&1&&a!==(a=d[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&u(l,"stroke",a),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&&M(e)}}}function nl(i){let e,t=i[6]&&mi(i);return{c(){t&&t.c(),e=ve(),this.c=E},m(r,n){t&&t.m(r,n),p(r,e,n)},p(r,[n]){r[6]?t?t.p(r,n):(t=mi(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:E,o:E,d(r){t&&t.d(r),r&&M(e)}}}function ll(i,e,t){let r,n,l,o,a,s,{size:c}=e,{invert:d=!1}=e,{progress:f=-1}=e,{testid:m=""}=e,y="infinite";const w=rl(0,{duration:500,easing:zr});pi(i,w,g=>t(7,s=g));function _(g){const x=l+o*Math.cos(g),H=l+o*Math.sin(g);return x+" "+H}function k(g){switch(y){case"progress":{const x=_(-Math.PI/2),H=_(-Math.PI/2+2*Math.PI*(g/100)),A=g%100<50?0:1;return`M ${x} A ${o} ${o} 0 ${A} 1 ${H}`}case"infinite":{const x=_(Math.PI*1.5),H=_(0);return`M ${x} A ${o} ${o} 0 1 0 ${H}`}}}return i.$$set=g=>{"size"in g&&t(10,c=g.size),"invert"in g&&t(0,d=g.invert),"progress"in g&&t(11,f=g.progress),"testid"in g&&t(1,m=g.testid)},i.$$.update=()=>{if(i.$$.dirty&2048){const g=parseFloat(f+"");g>=0&&(w.set(g||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,l=r/2),i.$$.dirty&24&&t(12,o=l-n/2),i.$$.dirty&6148&&t(6,a=y==="infinite"?o:o&&f)},[d,m,y,l,n,r,a,s,w,k,c,f,o]}class al extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},ll,nl,I,{size:10,invert:0,progress:11,testid:1},null),e&&(e.target&&p(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",al);function ol(i){let e,t,r,n,l;return{c(){e=v("table"),t=v("slot"),r=S(),n=v("template"),n.innerHTML=`<thead><tr><th></th></tr></thead>
|
|
102
|
+
<tbody><tr><td></td></tr></tbody>
|
|
103
|
+
<tfoot><tr><td></td></tr></tfoot>`,this.c=E,u(e,"class",i[1]),u(e,"style",l=`
|
|
104
|
+
${i[0]?`width: ${i[0]};`:""}
|
|
105
|
+
${V(i[2],i[3],i[4],i[5])}
|
|
106
|
+
`),j(e,"sticky",i[7])},m(o,a){p(o,e,a),b(e,t),b(e,r),b(e,n),i[9](e)},p(o,[a]){a&2&&u(e,"class",o[1]),a&61&&l!==(l=`
|
|
107
|
+
${o[0]?`width: ${o[0]};`:""}
|
|
108
|
+
${V(o[2],o[3],o[4],o[5])}
|
|
109
|
+
`)&&u(e,"style",l),a&130&&j(e,"sticky",o[7])},i:E,o:E,d(o){o&&M(e),i[9](null)}}}function sl(i,e,t){let r;const[n,l]=X("Table variant",["normal","relaxed"],!0);let{width:o=""}=e,{stickyheader:a="false"}=e,{variant:s="normal"}=e,{mt:c=null}=e,{mr:d=null}=e,{mb:f=null}=e,{ml:m=null}=e,y;Z(()=>{l(s);const _=y.querySelector("slot");if(_){const k=_.assignedElements()[0].querySelectorAll("template table > *");y.append(...k.length>0?k:_.assignedElements())}else return[...y.children]});function w(_){ne[_?"unshift":"push"](()=>{y=_,t(6,y)})}return i.$$set=_=>{"width"in _&&t(0,o=_.width),"stickyheader"in _&&t(8,a=_.stickyheader),"variant"in _&&t(1,s=_.variant),"mt"in _&&t(2,c=_.mt),"mr"in _&&t(3,d=_.mr),"mb"in _&&t(4,f=_.mb),"ml"in _&&t(5,m=_.ml)},i.$$.update=()=>{i.$$.dirty&256&&t(7,r=U(a))},[o,s,c,d,f,m,y,r,a,w]}class cl extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>table{border-collapse:collapse}table.sticky{position:relative}table.sticky thead{position:sticky;top:0}td{padding:0.75rem 1rem 0.5rem;border-bottom:1px solid var(--color-gray-200);line-height:1rem}table.relaxed td{padding:1.25rem 1rem 1rem}th{background-color:var(--color-white);color:var(--goa-color-text-secondary);padding:1rem;vertical-align:middle;text-align:left;border-bottom:2px solid var(--color-gray-600)}tfoot td{background-color:var(--color-gray-100)}tfoot tr:first-child td{border-top:2px solid var(--color-gray-200)}tfoot tr:last-child td{border-bottom:none}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},sl,ol,I,{width:0,stickyheader:8,variant:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["width","stickyheader","variant","mt","mr","mb","ml"]}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),h()}get stickyheader(){return this.$$.ctx[8]}set stickyheader(e){this.$$set({stickyheader:e}),h()}get variant(){return this.$$.ctx[1]}set variant(e){this.$$set({variant:e}),h()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-table",cl);function dl(i){let e,t,r,n,l,o,a;return{c(){e=v("div"),t=v("textarea"),n=S(),this.c=E,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[12],t.readOnly=i[13],u(t,"data-testid",i[4]),j(t,"error",i[14]),u(e,"class","container"),u(e,"style",l=`
|
|
110
|
+
${V(i[7],i[8],i[9],i[10])};
|
|
93
111
|
--width: ${i[5]};
|
|
94
|
-
`)},m(s,c){
|
|
95
|
-
${
|
|
112
|
+
`)},m(s,c){p(s,e,c),b(e,t),b(e,n),o||(a=Y(t,"keyup",i[15]),o=!0)},p(s,[c]){c&1&&u(t,"name",s[0]),c&4&&u(t,"placeholder",s[2]),c&2&&(t.value=s[1]),c&8&&u(t,"rows",s[3]),c&65&&r!==(r=s[6]||s[0])&&u(t,"aria-label",r),c&4096&&(t.disabled=s[12]),c&8192&&(t.readOnly=s[13]),c&16&&u(t,"data-testid",s[4]),c&16384&&j(t,"error",s[14]),c&1952&&l!==(l=`
|
|
113
|
+
${V(s[7],s[8],s[9],s[10])};
|
|
96
114
|
--width: ${s[5]};
|
|
97
|
-
`)&&
|
|
98
|
-
}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}</style>`,
|
|
99
|
-
|
|
100
|
-
<main><slot></slot></main>
|
|
101
|
-
|
|
102
|
-
<section class="footer"><slot name="footer"></slot></section>`,this.c=y,d(e,"class","page")},m(t,r){k(t,e,r)},p:y,i:y,o:y,d(t){t&&T(e)}}}class ll extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>.page{min-height:100vh;display:flex;flex-direction:column}.header,.footer{flex:0 0 auto}main{flex:1 1 auto}</style>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},null,nl,D,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-one-column-layout",ll);function al(i){let e,t,r,n,l,a,o;return{c(){e=b("div"),t=b("header"),t.innerHTML='<slot name="header"></slot>',r=A(),n=b("section"),n.innerHTML=`<nav class="nav"><slot name="nav"></slot></nav>
|
|
103
|
-
|
|
104
|
-
<main><slot></slot></main>`,l=A(),a=b("footer"),a.innerHTML='<slot name="footer"></slot>',this.c=y,d(t,"class","header"),d(n,"class","content"),d(a,"class","footer"),d(e,"class","page"),d(e,"style",o=`
|
|
105
|
-
--max-content-width: ${i[1]||"100%"};
|
|
106
|
-
--nav-column-width: ${i[0]||"var(--layout-nav-column-width)"};
|
|
107
|
-
`)},m(s,c){k(s,e,c),g(e,t),g(e,r),g(e,n),g(e,l),g(e,a)},p(s,[c]){c&3&&o!==(o=`
|
|
108
|
-
--max-content-width: ${s[1]||"100%"};
|
|
109
|
-
--nav-column-width: ${s[0]||"var(--layout-nav-column-width)"};
|
|
110
|
-
`)&&d(e,"style",o)},i:y,o:y,d(s){s&&T(e)}}}function ol(i,e,t){let{navcolumnwidth:r=""}=e,{maxcontentwidth:n=""}=e;return i.$$set=l=>{"navcolumnwidth"in l&&t(0,r=l.navcolumnwidth),"maxcontentwidth"in l&&t(1,n=l.maxcontentwidth)},[r,n]}class sl extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box}.page{min-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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},ol,al,D,{navcolumnwidth:0,maxcontentwidth:1},null),e&&(e.target&&k(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",sl);function cl(i){let e;return{c(){e=b("div"),e.innerHTML=`<header class="header"><slot name="header"></slot></header>
|
|
115
|
+
`)&&u(e,"style",l)},i:E,o:E,d(s){s&&M(e),o=!1,a()}}}function ul(i,e,t){let r,n,l,{name:o}=e,{value:a=""}=e,{placeholder:s=""}=e,{rows:c=3}=e,{testid:d=""}=e,{width:f="60ch"}=e,{error:m="false"}=e,{readonly:y="false"}=e,{disabled:w="false"}=e,{arialabel:_=""}=e,{mt:k=null}=e,{mr:g=null}=e,{mb:x=null}=e,{ml:H=null}=e,{maxcharcount:A=0}=e;function T(C){const R=C.target.value;n||(C.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:C,name:o,value:R}})),C.stopPropagation())}return i.$$set=C=>{"name"in C&&t(0,o=C.name),"value"in C&&t(1,a=C.value),"placeholder"in C&&t(2,s=C.placeholder),"rows"in C&&t(3,c=C.rows),"testid"in C&&t(4,d=C.testid),"width"in C&&t(5,f=C.width),"error"in C&&t(16,m=C.error),"readonly"in C&&t(17,y=C.readonly),"disabled"in C&&t(18,w=C.disabled),"arialabel"in C&&t(6,_=C.arialabel),"mt"in C&&t(7,k=C.mt),"mr"in C&&t(8,g=C.mr),"mb"in C&&t(9,x=C.mb),"ml"in C&&t(10,H=C.ml),"maxcharcount"in C&&t(11,A=C.maxcharcount)},i.$$.update=()=>{i.$$.dirty&65536&&t(14,r=U(m)),i.$$.dirty&262144&&t(12,n=U(w)),i.$$.dirty&131072&&t(13,l=U(y))},[o,a,s,c,d,f,_,k,g,x,H,A,n,l,r,T,m,y,w]}class fl extends P{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;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,.goa-textarea:disabled:hover,.goa-textarea:disabled:active,.goa-textarea:disabled:focus{background-color:var(--color-gray-100);border-color:var(--color-gray-200);cursor:default;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)
|
|
116
|
+
}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}</style>`,F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},ul,dl,I,{name:0,value:1,placeholder:2,rows:3,testid:4,width:5,error:16,readonly:17,disabled:18,arialabel:6,mt:7,mr:8,mb:9,ml:10,maxcharcount:11},null),e&&(e.target&&p(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","mt","mr","mb","ml","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[16]}set error(e){this.$$set({error:e}),h()}get readonly(){return this.$$.ctx[17]}set readonly(e){this.$$set({readonly:e}),h()}get disabled(){return this.$$.ctx[18]}set disabled(e){this.$$set({disabled:e}),h()}get arialabel(){return this.$$.ctx[6]}set arialabel(e){this.$$set({arialabel:e}),h()}get mt(){return this.$$.ctx[7]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[8]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[9]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[10]}set ml(e){this.$$set({ml:e}),h()}get maxcharcount(){return this.$$.ctx[11]}set maxcharcount(e){this.$$set({maxcharcount:e}),h()}}customElements.define("goa-textarea",fl);function hl(i){let e;return{c(){e=v("div"),e.innerHTML=`<header class="header"><slot name="header"></slot></header>
|
|
111
117
|
|
|
112
118
|
<nav class="nav"><slot name="nav"></slot></nav>
|
|
113
119
|
|
|
114
120
|
<main><slot></slot></main>
|
|
115
121
|
|
|
116
|
-
<footer class="footer"><slot name="footer"></slot></footer>`,this.c=
|
|
122
|
+
<footer class="footer"><slot name="footer"></slot></footer>`,this.c=E,u(e,"class","page")},m(t,r){p(t,e,r)},p:E,i:E,o:E,d(t){t&&M(e)}}}class ml extends P{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"
|
|
117
123
|
"content"
|
|
118
124
|
"nav"
|
|
119
125
|
"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"
|
|
120
126
|
"nav content"
|
|
121
|
-
"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>`,
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
--
|
|
129
|
-
--
|
|
130
|
-
|
|
131
|
-
|
|
127
|
+
"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>`,F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},null,hl,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-layout-full-nav",ml);function gl(i){let e;return{c(){e=v("div"),e.innerHTML=`<section class="header"><slot name="header"></slot></section>
|
|
128
|
+
|
|
129
|
+
<main><slot></slot></main>
|
|
130
|
+
|
|
131
|
+
<section class="footer"><slot name="footer"></slot></section>`,this.c=E,u(e,"class","page")},m(t,r){p(t,e,r)},p:E,i:E,o:E,d(t){t&&M(e)}}}class bl extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.page{min-height:100vh;display:flex;flex-direction:column}.header,.footer{flex:0 0 auto}main{flex:1 1 auto}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},null,gl,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-one-column-layout",bl);function vl(i){let e,t,r,n,l,o,a;return{c(){e=v("div"),t=v("header"),t.innerHTML='<slot name="header"></slot>',r=S(),n=v("section"),n.innerHTML=`<nav class="nav"><slot name="nav"></slot></nav>
|
|
132
|
+
|
|
133
|
+
<main><slot></slot></main>`,l=S(),o=v("footer"),o.innerHTML='<slot name="footer"></slot>',this.c=E,u(t,"class","header"),u(n,"class","content"),u(o,"class","footer"),u(e,"class","page"),u(e,"style",a=`
|
|
134
|
+
--max-content-width: ${i[1]||"100%"};
|
|
135
|
+
--nav-column-width: ${i[0]||"var(--layout-nav-column-width)"};
|
|
136
|
+
`)},m(s,c){p(s,e,c),b(e,t),b(e,r),b(e,n),b(e,l),b(e,o)},p(s,[c]){c&3&&a!==(a=`
|
|
137
|
+
--max-content-width: ${s[1]||"100%"};
|
|
138
|
+
--nav-column-width: ${s[0]||"var(--layout-nav-column-width)"};
|
|
139
|
+
`)&&u(e,"style",a)},i:E,o:E,d(s){s&&M(e)}}}function wl(i,e,t){let{navcolumnwidth:r=""}=e,{maxcontentwidth:n=""}=e;return i.$$set=l=>{"navcolumnwidth"in l&&t(0,r=l.navcolumnwidth),"maxcontentwidth"in l&&t(1,n=l.maxcontentwidth)},[r,n]}class _l extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box}.page{min-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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},wl,vl,I,{navcolumnwidth:0,maxcontentwidth:1},null),e&&(e.target&&p(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",_l)});
|