@abgov/web-components 1.0.0-alpha.120 → 1.0.0-alpha.121
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 +116 -255
- package/web-components.umd.js +39 -39
package/web-components.umd.js
CHANGED
|
@@ -1,100 +1,100 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(p){typeof define=="function"&&define.amd?define(p):p()})(function(){"use strict";function p(){}const ye=i=>i;function Xe(i,e){for(const t in e)i[t]=e[t];return i}function qe(i){return i()}function Ye(){return Object.create(null)}function Q(i){i.forEach(qe)}function ae(i){return typeof i=="function"}function S(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let ze;function Me(i,e){return ze||(ze=document.createElement("a")),ze.href=e,i===ze.href}function di(i){return Object.keys(i).length===0}function ui(i,...e){if(i==null)return p;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function fi(i,e,t){i.$$.on_destroy.push(ui(e,t))}function Je(i){return i&&ae(i.destroy)?i.destroy:p}const Qe=typeof window!="undefined";let Le=Qe?()=>window.performance.now():()=>Date.now(),Ge=Qe?i=>requestAnimationFrame(i):p;const me=new Set;function $e(i){me.forEach(e=>{e.c(i)||(me.delete(e),e.f())}),me.size!==0&&Ge($e)}function Te(i){let e;return me.size===0&&Ge($e),{promise:new Promise(t=>{me.add(e={c:i,f:t})}),abort(){me.delete(e)}}}function m(i,e){i.appendChild(e)}function et(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function hi(i){const e=b("style");return gi(et(i),e),e.sheet}function gi(i,e){return m(i.head||i,e),e.sheet}function w(i,e,t){i.insertBefore(e,t||null)}function z(i){i.parentNode.removeChild(i)}function Re(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function b(i){return document.createElement(i)}function fe(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function P(i){return document.createTextNode(i)}function A(){return P(" ")}function le(){return P("")}function U(i,e,t,r){return i.addEventListener(e,t,r),()=>i.removeEventListener(e,t,r)}function d(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function C(i,e,t){e in i?i[e]=typeof i[e]=="boolean"&&t===""?!0:t:d(i,e,t)}function mi(i){return Array.from(i.childNodes)}function V(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function F(i,e,t,r){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,r?"important":"")}function B(i,e,t){i.classList[t?"add":"remove"](e)}function bi(i,e,{bubbles:t=!1,cancelable:r=!1}={}){const n=document.createEvent("CustomEvent");return n.initCustomEvent(i,t,r,e),n}function N(i){const e={};for(const t of i)e[t.name]=t.value;return e}const Ae=new Map;let He=0;function vi(i){let e=5381,t=i.length;for(;t--;)e=(e<<5)-e^i.charCodeAt(t);return e>>>0}function pi(i,e){const t={stylesheet:hi(e),rules:{}};return Ae.set(i,t),t}function Ie(i,e,t,r,n,o,a,l=0){const s=16.666/r;let c=`{
|
|
2
2
|
`;for(let E=0;E<=1;E+=s){const x=e+(t-e)*o(E);c+=E*100+`%{${a(x,1-x)}}
|
|
3
|
-
`}const
|
|
4
|
-
}`,f=`__svelte_${pi(d)}_${l}`,m=et(i),{stylesheet:k,rules:w}=Ae.get(m)||wi(m,i);w[f]||(w[f]=!0,k.insertRule(`@keyframes ${f} ${d}`,k.cssRules.length));const y=i.style.animation||"";return i.style.animation=`${y?`${y}, `:""}${f} ${r}ms linear ${n}ms 1 both`,He+=1,f}function Se(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?o=>o.indexOf(e)<0:o=>o.indexOf("__svelte")===-1),n=t.length-r.length;n&&(i.style.animation=r.join(", "),He-=n,He||yi())}function yi(){Ge(()=>{He||(Ae.forEach(i=>{const{ownerNode:e}=i.stylesheet;e&&M(e)}),Ae.clear())})}let _e;function ke(i){_e=i}function tt(){if(!_e)throw new Error("Function called outside component initialization");return _e}function X(i){tt().$$.on_mount.push(i)}function it(i){tt().$$.on_destroy.push(i)}const xe=[],$=[],Be=[],rt=[],nt=Promise.resolve();let Ve=!1;function ot(){Ve||(Ve=!0,nt.then(h))}function De(){return ot(),nt}function ie(i){Be.push(i)}const Ue=new Set;let Ne=0;function h(){const i=_e;do{for(;Ne<xe.length;){const e=xe[Ne];Ne++,ke(e),_i(e.$$)}for(ke(null),xe.length=0,Ne=0;$.length;)$.pop()();for(let e=0;e<Be.length;e+=1){const t=Be[e];Ue.has(t)||(Ue.add(t),t())}Be.length=0}while(xe.length);for(;rt.length;)rt.pop()();Ve=!1,Ue.clear(),ke(i)}function _i(i){if(i.fragment!==null){i.update(),Q(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(ie)}}let Ee;function We(){return Ee||(Ee=Promise.resolve(),Ee.then(()=>{Ee=null})),Ee}function he(i,e,t){i.dispatchEvent(vi(`${e?"intro":"outro"}${t}`))}const je=new Set;let re;function be(){re={r:0,c:[],p:re}}function ve(){re.r||Q(re.c),re=re.p}function V(i,e){i&&i.i&&(je.delete(i),i.i(e))}function W(i,e,t,r){if(i&&i.o){if(je.has(i))return;je.add(i),re.c.push(()=>{je.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}else r&&r()}const Ke={duration:0};function at(i,e,t){let r=e(i,t),n=!1,o,a,l=0;function s(){o&&Se(i,o)}function c(){const{delay:f=0,duration:m=300,easing:k=ye,tick:w=v,css:y}=r||Ke;y&&(o=Ie(i,0,1,m,f,k,y,l++)),w(0,1);const E=Le()+f,x=E+m;a&&a.abort(),n=!0,ie(()=>he(i,!0,"start")),a=Te(_=>{if(n){if(_>=x)return w(1,0),he(i,!0,"end"),s(),n=!1;if(_>=E){const L=k((_-E)/m);w(L,1-L)}}return n})}let d=!1;return{start(){d||(d=!0,Se(i),le(r)?(r=r(),We().then(c)):c())},invalidate(){d=!1},end(){n&&(s(),n=!1)}}}function lt(i,e,t){let r=e(i,t),n=!0,o;const a=re;a.r+=1;function l(){const{delay:s=0,duration:c=300,easing:d=ye,tick:f=v,css:m}=r||Ke;m&&(o=Ie(i,1,0,c,s,d,m));const k=Le()+s,w=k+c;ie(()=>he(i,!1,"start")),Te(y=>{if(n){if(y>=w)return f(0,1),he(i,!1,"end"),--a.r||Q(a.c),!1;if(y>=k){const E=d((y-k)/c);f(1-E,E)}}return n})}return le(r)?We().then(()=>{r=r(),l()}):l(),{end(s){s&&r.tick&&r.tick(1,0),n&&(o&&Se(i,o),n=!1)}}}function Oe(i,e,t,r){let n=e(i,t),o=r?0:1,a=null,l=null,s=null;function c(){s&&Se(i,s)}function d(m,k){const w=m.b-o;return k*=Math.abs(w),{a:o,b:m.b,d:w,duration:k,start:m.start,end:m.start+k,group:m.group}}function f(m){const{delay:k=0,duration:w=300,easing:y=ye,tick:E=v,css:x}=n||Ke,_={start:Le()+k,b:m};m||(_.group=re,re.r+=1),a||l?l=_:(x&&(c(),s=Ie(i,o,m,w,k,y,x)),m&&E(0,1),a=d(_,w),ie(()=>he(i,m,"start")),Te(L=>{if(l&&L>l.start&&(a=d(l,w),l=null,he(i,a.b,"start"),x&&(c(),s=Ie(i,o,a.b,a.duration,0,y,n.css))),a){if(L>=a.end)E(o=a.b,1-o),he(i,a.b,"end"),l||(a.b?c():--a.group.r||Q(a.group.c)),a=null;else if(L>=a.start){const C=L-a.start;o=a.a+a.d*y(C/a.duration),E(o,1-o)}}return!!(a||l)}))}return{run(m){le(n)?We().then(()=>{n=n(),f(m)}):f(m)},end(){c(),a=l=null}}}function ki(i,e){i.d(1),e.delete(i.key)}function xi(i,e,t,r,n,o,a,l,s,c,d,f){let m=i.length,k=o.length,w=m;const y={};for(;w--;)y[i[w].key]=w;const E=[],x=new Map,_=new Map;for(w=k;w--;){const T=f(n,o,w),O=t(T);let K=a.get(O);K?r&&K.p(T,e):(K=c(O,T),K.c()),x.set(O,E[w]=K),O in y&&_.set(O,Math.abs(w-y[O]))}const L=new Set,C=new Set;function R(T){V(T,1),T.m(l,d),a.set(T.key,T),d=T.first,k--}for(;m&&k;){const T=E[k-1],O=i[m-1],K=T.key,ne=O.key;T===O?(d=T.first,m--,k--):x.has(ne)?!a.has(K)||L.has(K)?R(T):C.has(ne)?m--:_.get(K)>_.get(ne)?(C.add(K),R(T)):(L.add(ne),m--):(s(O,a),m--)}for(;m--;){const T=i[m];x.has(T.key)||s(T,a)}for(;k;)R(E[k-1]);return E}function ge(i){i&&i.c()}function se(i,e,t,r){const{fragment:n,after_update:o}=i.$$;n&&n.m(e,t),r||ie(()=>{const a=i.$$.on_mount.map(qe).filter(le);i.$$.on_destroy?i.$$.on_destroy.push(...a):Q(a),i.$$.on_mount=[]}),o.forEach(ie)}function ce(i,e){const t=i.$$;t.fragment!==null&&(Q(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function Ei(i,e){i.$$.dirty[0]===-1&&(xe.push(i),ot(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function j(i,e,t,r,n,o,a,l=[-1]){const s=_e;ke(i);const c=i.$$={fragment:null,ctx:[],props:o,update:v,not_equal:n,bound:Ye(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:Ye(),dirty:l,skip_bound:!1,root:e.target||s.$$.root};a&&a(c.root);let d=!1;if(c.ctx=t?t(i,e.props||{},(f,m,...k)=>{const w=k.length?k[0]:m;return c.ctx&&n(c.ctx[f],c.ctx[f]=w)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](w),d&&Ei(i,f)),m}):[],c.update(),d=!0,Q(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=bi(e.target);c.fragment&&c.fragment.l(f),f.forEach(M)}else c.fragment&&c.fragment.c();e.intro&&V(i.$$.fragment),se(i,e.target,e.anchor,e.customElement),h()}ke(s)}let D;typeof HTMLElement=="function"&&(D=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(qe).filter(le);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){Q(this.$$.on_disconnect)}$destroy(){ce(this,1),this.$destroy=v}$on(i,e){if(!le(e))return v;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&&!ui(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});function Ci(i){let e,t,r,n,o,a,l,s,c;return{c(){e=b("div"),t=b("img"),n=A(),o=b("img"),l=A(),s=b("span"),c=P(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),Me(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(o,"alt","GoA Logo"),u(o,"class","image-desktop"),Me(o.src,a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||u(o,"src",a),u(s,"class","title"),u(e,"class","app-link")},m(d,f){p(d,e,f),g(e,t),g(e,n),g(e,o),g(e,l),g(e,s),g(s,c)},p(d,f){f&1&&F(c,d[0])},d(d){d&&M(e)}}}function zi(i){let e,t,r,n,o,a,l,s,c;return{c(){e=b("a"),t=b("img"),n=A(),o=b("img"),l=A(),s=b("span"),c=P(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),Me(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(o,"alt","GoA Logo"),u(o,"class","image-desktop"),Me(o.src,a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||u(o,"src",a),u(s,"class","title"),u(e,"href",i[1]),u(e,"class","app-link")},m(d,f){p(d,e,f),g(e,t),g(e,n),g(e,o),g(e,l),g(e,s),g(s,c)},p(d,f){f&1&&F(c,d[0]),f&2&&u(e,"href",d[1])},d(d){d&&M(e)}}}function Mi(i){let e,t,r,n,o;function a(c,d){return c[1]?zi:Ci}let l=a(i),s=l(i);return{c(){e=b("div"),t=b("div"),s.c(),r=A(),n=b("div"),n.innerHTML="<slot></slot>",this.c=v,u(t,"class","content"),u(e,"class","app-header"),u(e,"data-testid",i[2]),u(e,"style",o=`--max-content-width: ${i[3]||"100%"}`)},m(c,d){p(c,e,d),g(e,t),s.m(t,null),g(t,r),g(t,n)},p(c,[d]){l===(l=a(c))&&s?s.p(c,d):(s.d(1),s=l(c),s&&(s.c(),s.m(t,r))),d&4&&u(e,"data-testid",c[2]),d&8&&o!==(o=`--max-content-width: ${c[3]||"100%"}`)&&u(e,"style",o)},i:v,o:v,d(c){c&&M(e),s.d()}}}function Li(i,e,t){let{heading:r=""}=e,{url:n=""}=e,{testid:o=""}=e,{maxcontentwidth:a=""}=e;return i.$$set=l=>{"heading"in l&&t(0,r=l.heading),"url"in l&&t(1,n=l.url),"testid"in l&&t(2,o=l.testid),"maxcontentwidth"in l&&t(3,a=l.maxcontentwidth)},[r,n,o,a]}class Ti extends D{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>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Li,Mi,B,{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",Ti);function G(i){return i==="false"?!1:i===""?!0:!!i}function Ri(i){return i?"true":"false"}function Ai(i){let e;return{c(){e=b("div"),q(e,"height","1.2rem"),q(e,"margin-left","-0.25rem")},m(t,r){p(t,e,r)},p:v,d(t){t&&M(e)}}}function Hi(i){let e;return{c(){e=b("goa-icon"),z(e,"type",i[4]),z(e,"size","small")},m(t,r){p(t,e,r)},p(t,r){r&16&&z(e,"type",t[4])},d(t){t&&M(e)}}}function st(i){let e,t;return{c(){e=b("div"),t=P(i[2]),u(e,"class","goa-badge-content")},m(r,n){p(r,e,n),g(e,t)},p(r,n){n&4&&F(t,r[2])},d(r){r&&M(e)}}}function Ii(i){let e,t,r;function n(s,c){return s[3]?Hi:Ai}let o=n(i),a=o(i),l=i[2]&&st(i);return{c(){e=b("div"),a.c(),t=A(),l&&l.c(),this.c=v,u(e,"data-testid",i[1]),u(e,"data-type","goa-badge"),u(e,"class",r="goa-badge badge-"+i[0]),S(e,"icon-only",i[3]&&!i[2])},m(s,c){p(s,e,c),a.m(e,null),g(e,t),l&&l.m(e,null)},p(s,[c]){o===(o=n(s))&&a?a.p(s,c):(a.d(1),a=o(s),a&&(a.c(),a.m(e,t))),s[2]?l?l.p(s,c):(l=st(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),c&2&&u(e,"data-testid",s[1]),c&1&&r!==(r="goa-badge badge-"+s[0])&&u(e,"class",r),c&13&&S(e,"icon-only",s[3]&&!s[2])},i:v,o:v,d(s){s&&M(e),a.d(),l&&l.d()}}}function Si(i,e,t){let r,n,{type:o}=e,{testid:a=""}=e,{content:l=""}=e,{icon:s="false"}=e;return X(()=>{!r&&!l&&console.warn("GoABadge must have either then content or icon property set")}),i.$$set=c=>{"type"in c&&t(0,o=c.type),"testid"in c&&t(1,a=c.testid),"content"in c&&t(2,l=c.content),"icon"in c&&t(5,s=c.icon)},i.$$.update=()=>{i.$$.dirty&32&&t(3,r=G(s)),i.$$.dirty&1&&t(4,n={success:"checkmark-circle",important:"alert-circle",information:"information-circle",emergency:"warning",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[o])},[o,a,l,r,n,s]}class Bi extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;align-items:center;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--fw-regular);margin:0.25rem}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm);padding-bottom:var(--font-valign-fix)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--goa-color-status-info)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--goa-color-text-light)}.goa-badge.badge-important{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.goa-badge.badge-emergency{background-color:var(--goa-color-status-emergency);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--color-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--color-gray-600);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--color-white);color:var(--goa-color-text)}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Si,Ii,B,{type:0,testid:1,content:2,icon:5},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"]}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[5]}set icon(e){this.$$set({icon:e}),h()}}customElements.define("goa-badge",Bi);function Di(i){let e,t;return{c(){e=b("div"),t=b("slot"),this.c=v,q(e,"--alignment","flex-"+i[1]),q(e,"--gap-size",i[0]==="small"?"0.5rem":"1.25rem")},m(r,n){p(r,e,n),g(e,t)},p(r,[n]){n&2&&q(e,"--alignment","flex-"+r[1]),n&1&&q(e,"--gap-size",r[0]==="small"?"0.5rem":"1.25rem")},i:v,o:v,d(r){r&&M(e)}}}function Ni(i,e,t){let{gap:r="medium"}=e,{alignment:n}=e;return i.$$set=o=>{"gap"in o&&t(0,r=o.gap),"alignment"in o&&t(1,n=o.alignment)},[r,n]}class ji extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}div{display:flex;flex-direction:row;justify-content:var(--alignment);flex-wrap:wrap;gap:var(--gap-size);padding:3px 0}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Ni,Di,B,{gap:0,alignment:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap","alignment"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),h()}get alignment(){return this.$$.ctx[1]}set alignment(e){this.$$set({alignment:e}),h()}}customElements.define("goa-button-group",ji);function Oi(i){let e,t,r,n,o=i[3]&&ct(i),a=i[4]&&dt(i);return{c(){o&&o.c(),e=A(),t=b("slot"),r=A(),a&&a.c(),n=ae(),u(t,"class","text")},m(l,s){o&&o.m(l,s),p(l,e,s),p(l,t,s),p(l,r,s),a&&a.m(l,s),p(l,n,s)},p(l,s){l[3]?o?o.p(l,s):(o=ct(l),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null),l[4]?a?a.p(l,s):(a=dt(l),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(l){o&&o.d(l),l&&M(e),l&&M(t),l&&M(r),a&&a.d(l),l&&M(n)}}}function Pi(i){let e,t,r;return{c(){e=b("slot"),t=A(),r=b("goa-icon"),u(e,"class","text"),z(r,"id","trailing-icon"),z(r,"type","arrow-forward"),z(r,"inverted","true")},m(n,o){p(n,e,o),p(n,t,o),p(n,r,o)},p:v,d(n){n&&M(e),n&&M(t),n&&M(r)}}}function ct(i){let e;return{c(){e=b("goa-icon"),z(e,"id","leading-icon"),z(e,"type",i[3]),z(e,"inverted",i[6])},m(t,r){p(t,e,r)},p(t,r){r&8&&z(e,"type",t[3]),r&64&&z(e,"inverted",t[6])},d(t){t&&M(e)}}}function dt(i){let e;return{c(){e=b("goa-icon"),z(e,"id","trailing-icon"),z(e,"type",i[4]),z(e,"inverted",i[6])},m(t,r){p(t,e,r)},p(t,r){r&16&&z(e,"type",t[4]),r&64&&z(e,"inverted",t[6])},d(t){t&&M(e)}}}function Fi(i){let e,t,r,n;function o(s,c){return s[0]==="start"?Pi:Oi}let a=o(i),l=a(i);return{c(){e=b("button"),l.c(),this.c=v,u(e,"class",t=""+(i[0]+" "+i[1]+" "+i[2])),e.disabled=i[7],u(e,"data-testid",i[5]),S(e,"leading",i[3]),S(e,"trailing",i[4]||i[0]==="start")},m(s,c){p(s,e,c),l.m(e,null),r||(n=U(e,"click",qi),r=!0)},p(s,[c]){a===(a=o(s))&&l?l.p(s,c):(l.d(1),l=a(s),l&&(l.c(),l.m(e,null))),c&7&&t!==(t=""+(s[0]+" "+s[1]+" "+s[2]))&&u(e,"class",t),c&128&&(e.disabled=s[7]),c&32&&u(e,"data-testid",s[5]),c&15&&S(e,"leading",s[3]),c&23&&S(e,"trailing",s[4]||s[0]==="start")},i:v,o:v,d(s){s&&M(e),l.d(),r=!1,n()}}}function qi(i){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),i.stopPropagation()}function Gi(i,e,t){let r,n;const o=["primary","submit","secondary","tertiary","start"],a=["normal","compact"],l=["normal","destructive"];function s(_){return o.includes(_)}function c(_){return a.includes(_)}function d(_){return l.includes(_)}let{type:f="primary"}=e,{size:m="normal"}=e,{variant:k="normal"}=e,{disabled:w="false"}=e,{leadingicon:y=null}=e,{trailingicon:E=null}=e,{testid:x=""}=e;return X(()=>{s(f)||console.error("Invalid button type"),c(m)||console.error("Invalid button size"),d(k)||console.error("Invalid button variant")}),i.$$set=_=>{"type"in _&&t(0,f=_.type),"size"in _&&t(1,m=_.size),"variant"in _&&t(2,k=_.variant),"disabled"in _&&t(8,w=_.disabled),"leadingicon"in _&&t(3,y=_.leadingicon),"trailingicon"in _&&t(4,E=_.trailingicon),"testid"in _&&t(5,x=_.testid)},i.$$.update=()=>{i.$$.dirty&256&&t(7,r=G(w)),i.$$.dirty&1&&t(6,n=f==="primary"||f==="start")},[f,m,k,y,E,x,n,r,w]}class Vi extends D{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}@media(max-width: 480px){:host{width:100%}button{width:100%}}button{display:inline-flex;box-sizing:border-box;border-radius:0.25rem;border:2px solid var(--goa-color-interactive);box-sizing:border-box;cursor:pointer;font-family:var(--font-family);font-size:var(--fs-lg);font-weight:400;height:var(--button-height);letter-spacing:0.5px;line-height:100%;padding:0 0.75rem;gap:0.5rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
5
|
-
border-color 0.2s ease-in-out}.text{padding-bottom:var(--font-valign-fix)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--fs-base)}button.start{height:var(--button-height-tall);font-weight:var(--fw-bold)}button.start,button.submit,button.primary{border:2px solid var(--goa-color-interactive);background-color:var(--goa-color-interactive);color:var(--goa-color-text-light)}button.start:hover,button.submit:hover,button.primary:hover{border-color:var(--goa-color-interactive--hover);background-color:var(--goa-color-interactive--hover)}button.start:focus,button.start:active,button.submit:focus,button.submit:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);border-color:var(--goa-color-interactive--active);background-color:var(--goa-color-interactive--active);outline:none}button.secondary{border:2px solid var(--goa-color-interactive);background-color:var(--color-white);color:var(--goa-color-interactive)}button.secondary:hover{border-color:var(--goa-color-interactive--hover);color:var(--goa-color-interactive--hover);background-color:var(--color-gray-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);background-color:var(--color-gray-100);outline:none}button.tertiary{border:1px solid transparent;background-color:transparent;color:var(--goa-color-interactive);text-decoration:underline}button.tertiary:hover{border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);background-color:var(--color-gray-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--color-gray-100);background-color:var(--color-gray-100);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.submit.destructive,.primary.destructive{color:var(--color-white);background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.submit.destructive:hover,.primary.destructive:hover{background-color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.submit.destructive:focus,.primary.destructive:focus,.primary.destructive:active{background-color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.secondary.destructive{color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);background-color:var(--color-white)}.secondary.destructive:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}.secondary.destructive:focus,.secondary.destructive:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}.tertiary.destructive{color:var(--goa-color-status-emergency);border-color:var(--color-gray-200);background-color:var(--color-white)}.tertiary.destructive:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}.tertiary.destructive:focus,.tertiary.destructive:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}</style>`,j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Gi,Fi,B,{type:0,size:1,variant:2,disabled:8,leadingicon:3,trailingicon:4,testid:5},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"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),h()}get disabled(){return this.$$.ctx[8]}set disabled(e){this.$$set({disabled:e}),h()}get leadingicon(){return this.$$.ctx[3]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get trailingicon(){return this.$$.ctx[4]}set trailingicon(e){this.$$set({trailingicon:e}),h()}get testid(){return this.$$.ctx[5]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-button",Vi);function ut(i){let e,t;return{c(){e=b("h3"),t=P(i[1])},m(r,n){p(r,e,n),g(e,t)},p(r,n){n&2&&F(t,r[1])},d(r){r&&M(e)}}}function Ui(i){let e,t,r,n,o,a,l,s,c,d=i[1]&&ut(i);return{c(){e=b("div"),t=b("span"),r=b("goa-icon"),a=A(),l=b("span"),d&&d.c(),s=A(),c=b("slot"),this.c=v,z(r,"type",i[3]),z(r,"inverted",n=i[0]==="important"?"false":"true"),u(t,"class",o="icon "+i[0]),u(l,"class","content"),u(e,"class","notification"),u(e,"data-testid",i[2])},m(f,m){p(f,e,m),g(e,t),g(t,r),g(e,a),g(e,l),d&&d.m(l,null),g(l,s),g(l,c)},p(f,[m]){m&8&&z(r,"type",f[3]),m&1&&n!==(n=f[0]==="important"?"false":"true")&&z(r,"inverted",n),m&1&&o!==(o="icon "+f[0])&&u(t,"class",o),f[1]?d?d.p(f,m):(d=ut(f),d.c(),d.m(l,s)):d&&(d.d(1),d=null),m&4&&u(e,"data-testid",f[2])},i:v,o:v,d(f){f&&M(e),d&&d.d()}}}function Wi(i,e,t){let r,{type:n}=e,{heading:o=""}=e,{testid:a=""}=e;return i.$$set=l=>{"type"in l&&t(0,n=l.type),"heading"in l&&t(1,o=l.heading),"testid"in l&&t(2,a=l.testid)},i.$$.update=()=>{i.$$.dirty&1&&t(3,r=n==="emergency"?"warning":n==="important"?"alert-circle":n==="information"?"information-circle":n==="success"?"checkmark-circle":n==="event"?"calendar":"")},[n,o,a,r]}class Ki extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{display:flex;align-items:stretch;border-radius:3px;overflow:hidden;margin-bottom:1.75rem}h3{font-size:var(--fs-xl);line-height:var(--lh-base);font-weight:var(--fw-regular);margin-top:0}.emergency{background-color:var(--goa-color-status-emergency)}.important{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info)}.event{background-color:var(--goa-color-status-info)}.success{background-color:var(--goa-color-status-success)}.icon{flex:0 0 3rem;text-align:center;padding-top:1.75rem}.content{flex:1 1 auto;background-color:var(--color-gray-100);padding:1.75rem}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Wi,Ui,B,{type:0,heading:1,testid:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","heading","testid"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get heading(){return this.$$.ctx[1]}set heading(e){this.$$set({heading:e}),h()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-callout",Ki);function Zi(i){let e;return{c(){e=b("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=v},m(t,r){p(t,e,r)},p:v,i:v,o:v,d(t){t&&M(e)}}}class Xi extends D{constructor(e){super();j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,Zi,B,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-actions",Xi);function Yi(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=v,u(e,"class","card-content")},m(t,r){p(t,e,r)},p:v,i:v,o:v,d(t){t&&M(e)}}}class Ji extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,Yi,B,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-content",Ji);function Qi(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=v,u(e,"class","card-group")},m(t,r){p(t,e,r)},p:v,i:v,o:v,d(t){t&&M(e)}}}class $i extends D{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>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,Qi,B,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-group",$i);function er(i){let e;return{c(){e=b("div"),this.c=v,u(e,"class","card-image"),q(e,"background-image","url("+i[0]+")"),q(e,"height",i[1]),q(e,"background-size","cover"),q(e,"background-position","center")},m(t,r){p(t,e,r)},p(t,[r]){r&1&&q(e,"background-image","url("+t[0]+")"),r&2&&q(e,"height",t[1])},i:v,o:v,d(t){t&&M(e)}}}function tr(i,e,t){let{src:r}=e,{height:n="100%"}=e;return i.$$set=o=>{"src"in o&&t(0,r=o.src),"height"in o&&t(1,n=o.height)},[r,n]}class ir extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},tr,er,B,{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",ir);function rr(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=v,u(e,"data-testid",i[2]),u(e,"class","card"),u(e,"style",r="--width: "+i[1]+"px; "+(i[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(n,o){p(n,e,o),g(e,t)},p(n,[o]){o&4&&u(e,"data-testid",n[2]),o&3&&r!==(r="--width: "+n[1]+"px; "+(n[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${n[0]});`)+"")&&u(e,"style",r)},i:v,o:v,d(n){n&&M(e)}}}function nr(i,e,t){let{elevation:r=0}=e,{width:n=320}=e,{testId:o=""}=e;return i.$$set=a=>{"elevation"in a&&t(0,r=a.elevation),"width"in a&&t(1,n=a.width),"testId"in a&&t(2,o=a.testId)},[r,n,o]}class or extends D{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card{display:flex;flex-direction:column;background-color:var(--color-white);border-radius:4px;overflow:hidden;width:100%}@media(min-width: 320px){.card{width:var(--width);margin:0 auto
|
|
6
|
-
}}</style>`,
|
|
3
|
+
`}const u=c+`100% {${a(t,1-t)}}
|
|
4
|
+
}`,f=`__svelte_${vi(u)}_${l}`,g=et(i),{stylesheet:k,rules:y}=Ae.get(g)||pi(g,i);y[f]||(y[f]=!0,k.insertRule(`@keyframes ${f} ${u}`,k.cssRules.length));const _=i.style.animation||"";return i.style.animation=`${_?`${_}, `:""}${f} ${r}ms linear ${n}ms 1 both`,He+=1,f}function Se(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?o=>o.indexOf(e)<0:o=>o.indexOf("__svelte")===-1),n=t.length-r.length;n&&(i.style.animation=r.join(", "),He-=n,He||wi())}function wi(){Ge(()=>{He||(Ae.forEach(i=>{const{ownerNode:e}=i.stylesheet;e&&z(e)}),Ae.clear())})}let _e;function ke(i){_e=i}function tt(){if(!_e)throw new Error("Function called outside component initialization");return _e}function X(i){tt().$$.on_mount.push(i)}function it(i){tt().$$.on_destroy.push(i)}const xe=[],$=[],Be=[],rt=[],nt=Promise.resolve();let Ve=!1;function ot(){Ve||(Ve=!0,nt.then(h))}function De(){return ot(),nt}function ie(i){Be.push(i)}const Ue=new Set;let Ne=0;function h(){const i=_e;do{for(;Ne<xe.length;){const e=xe[Ne];Ne++,ke(e),yi(e.$$)}for(ke(null),xe.length=0,Ne=0;$.length;)$.pop()();for(let e=0;e<Be.length;e+=1){const t=Be[e];Ue.has(t)||(Ue.add(t),t())}Be.length=0}while(xe.length);for(;rt.length;)rt.pop()();Ve=!1,Ue.clear(),ke(i)}function yi(i){if(i.fragment!==null){i.update(),Q(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(ie)}}let Ee;function We(){return Ee||(Ee=Promise.resolve(),Ee.then(()=>{Ee=null})),Ee}function he(i,e,t){i.dispatchEvent(bi(`${e?"intro":"outro"}${t}`))}const Oe=new Set;let re;function be(){re={r:0,c:[],p:re}}function ve(){re.r||Q(re.c),re=re.p}function G(i,e){i&&i.i&&(Oe.delete(i),i.i(e))}function W(i,e,t,r){if(i&&i.o){if(Oe.has(i))return;Oe.add(i),re.c.push(()=>{Oe.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}else r&&r()}const Ke={duration:0};function at(i,e,t){let r=e(i,t),n=!1,o,a,l=0;function s(){o&&Se(i,o)}function c(){const{delay:f=0,duration:g=300,easing:k=ye,tick:y=p,css:_}=r||Ke;_&&(o=Ie(i,0,1,g,f,k,_,l++)),y(0,1);const E=Le()+f,x=E+g;a&&a.abort(),n=!0,ie(()=>he(i,!0,"start")),a=Te(v=>{if(n){if(v>=x)return y(1,0),he(i,!0,"end"),s(),n=!1;if(v>=E){const M=k((v-E)/g);y(M,1-M)}}return n})}let u=!1;return{start(){u||(u=!0,Se(i),ae(r)?(r=r(),We().then(c)):c())},invalidate(){u=!1},end(){n&&(s(),n=!1)}}}function lt(i,e,t){let r=e(i,t),n=!0,o;const a=re;a.r+=1;function l(){const{delay:s=0,duration:c=300,easing:u=ye,tick:f=p,css:g}=r||Ke;g&&(o=Ie(i,1,0,c,s,u,g));const k=Le()+s,y=k+c;ie(()=>he(i,!1,"start")),Te(_=>{if(n){if(_>=y)return f(0,1),he(i,!1,"end"),--a.r||Q(a.c),!1;if(_>=k){const E=u((_-k)/c);f(1-E,E)}}return n})}return ae(r)?We().then(()=>{r=r(),l()}):l(),{end(s){s&&r.tick&&r.tick(1,0),n&&(o&&Se(i,o),n=!1)}}}function je(i,e,t,r){let n=e(i,t),o=r?0:1,a=null,l=null,s=null;function c(){s&&Se(i,s)}function u(g,k){const y=g.b-o;return k*=Math.abs(y),{a:o,b:g.b,d:y,duration:k,start:g.start,end:g.start+k,group:g.group}}function f(g){const{delay:k=0,duration:y=300,easing:_=ye,tick:E=p,css:x}=n||Ke,v={start:Le()+k,b:g};g||(v.group=re,re.r+=1),a||l?l=v:(x&&(c(),s=Ie(i,o,g,y,k,_,x)),g&&E(0,1),a=u(v,y),ie(()=>he(i,g,"start")),Te(M=>{if(l&&M>l.start&&(a=u(l,y),l=null,he(i,a.b,"start"),x&&(c(),s=Ie(i,o,a.b,a.duration,0,_,n.css))),a){if(M>=a.end)E(o=a.b,1-o),he(i,a.b,"end"),l||(a.b?c():--a.group.r||Q(a.group.c)),a=null;else if(M>=a.start){const L=M-a.start;o=a.a+a.d*_(L/a.duration),E(o,1-o)}}return!!(a||l)}))}return{run(g){ae(n)?We().then(()=>{n=n(),f(g)}):f(g)},end(){c(),a=l=null}}}function _i(i,e){i.d(1),e.delete(i.key)}function ki(i,e,t,r,n,o,a,l,s,c,u,f){let g=i.length,k=o.length,y=g;const _={};for(;y--;)_[i[y].key]=y;const E=[],x=new Map,v=new Map;for(y=k;y--;){const T=f(n,o,y),j=t(T);let K=a.get(j);K?r&&K.p(T,e):(K=c(j,T),K.c()),x.set(j,E[y]=K),j in _&&v.set(j,Math.abs(y-_[j]))}const M=new Set,L=new Set;function R(T){G(T,1),T.m(l,u),a.set(T.key,T),u=T.first,k--}for(;g&&k;){const T=E[k-1],j=i[g-1],K=T.key,ne=j.key;T===j?(u=T.first,g--,k--):x.has(ne)?!a.has(K)||M.has(K)?R(T):L.has(ne)?g--:v.get(K)>v.get(ne)?(L.add(K),R(T)):(M.add(ne),g--):(s(j,a),g--)}for(;g--;){const T=i[g];x.has(T.key)||s(T,a)}for(;k;)R(E[k-1]);return E}function ge(i){i&&i.c()}function se(i,e,t,r){const{fragment:n,after_update:o}=i.$$;n&&n.m(e,t),r||ie(()=>{const a=i.$$.on_mount.map(qe).filter(ae);i.$$.on_destroy?i.$$.on_destroy.push(...a):Q(a),i.$$.on_mount=[]}),o.forEach(ie)}function ce(i,e){const t=i.$$;t.fragment!==null&&(Q(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function xi(i,e){i.$$.dirty[0]===-1&&(xe.push(i),ot(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function O(i,e,t,r,n,o,a,l=[-1]){const s=_e;ke(i);const c=i.$$={fragment:null,ctx:[],props:o,update:p,not_equal:n,bound:Ye(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:Ye(),dirty:l,skip_bound:!1,root:e.target||s.$$.root};a&&a(c.root);let u=!1;if(c.ctx=t?t(i,e.props||{},(f,g,...k)=>{const y=k.length?k[0]:g;return c.ctx&&n(c.ctx[f],c.ctx[f]=y)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](y),u&&xi(i,f)),g}):[],c.update(),u=!0,Q(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=mi(e.target);c.fragment&&c.fragment.l(f),f.forEach(z)}else c.fragment&&c.fragment.c();e.intro&&G(i.$$.fragment),se(i,e.target,e.anchor,e.customElement),h()}ke(s)}let D;typeof HTMLElement=="function"&&(D=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(qe).filter(ae);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){Q(this.$$.on_disconnect)}$destroy(){ce(this,1),this.$destroy=p}$on(i,e){if(!ae(e))return p;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&&!di(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});function Ei(i){let e,t,r,n,o,a,l,s,c;return{c(){e=b("div"),t=b("img"),n=A(),o=b("img"),l=A(),s=b("span"),c=P(i[0]),d(t,"alt","GoA Logo"),d(t,"class","image-mobile"),Me(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(o,"alt","GoA Logo"),d(o,"class","image-desktop"),Me(o.src,a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||d(o,"src",a),d(s,"class","title"),d(e,"class","app-link")},m(u,f){w(u,e,f),m(e,t),m(e,n),m(e,o),m(e,l),m(e,s),m(s,c)},p(u,f){f&1&&V(c,u[0])},d(u){u&&z(e)}}}function Ci(i){let e,t,r,n,o,a,l,s,c;return{c(){e=b("a"),t=b("img"),n=A(),o=b("img"),l=A(),s=b("span"),c=P(i[0]),d(t,"alt","GoA Logo"),d(t,"class","image-mobile"),Me(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(o,"alt","GoA Logo"),d(o,"class","image-desktop"),Me(o.src,a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||d(o,"src",a),d(s,"class","title"),d(e,"href",i[1]),d(e,"class","app-link")},m(u,f){w(u,e,f),m(e,t),m(e,n),m(e,o),m(e,l),m(e,s),m(s,c)},p(u,f){f&1&&V(c,u[0]),f&2&&d(e,"href",u[1])},d(u){u&&z(e)}}}function zi(i){let e,t,r,n,o;function a(c,u){return c[1]?Ci:Ei}let l=a(i),s=l(i);return{c(){e=b("div"),t=b("div"),s.c(),r=A(),n=b("div"),n.innerHTML="<slot></slot>",this.c=p,d(t,"class","content"),d(e,"class","app-header"),d(e,"data-testid",i[2]),d(e,"style",o=`--max-content-width: ${i[3]||"100%"}`)},m(c,u){w(c,e,u),m(e,t),s.m(t,null),m(t,r),m(t,n)},p(c,[u]){l===(l=a(c))&&s?s.p(c,u):(s.d(1),s=l(c),s&&(s.c(),s.m(t,r))),u&4&&d(e,"data-testid",c[2]),u&8&&o!==(o=`--max-content-width: ${c[3]||"100%"}`)&&d(e,"style",o)},i:p,o:p,d(c){c&&z(e),s.d()}}}function Mi(i,e,t){let{heading:r=""}=e,{url:n=""}=e,{testid:o=""}=e,{maxcontentwidth:a=""}=e;return i.$$set=l=>{"heading"in l&&t(0,r=l.heading),"url"in l&&t(1,n=l.url),"testid"in l&&t(2,o=l.testid),"maxcontentwidth"in l&&t(3,a=l.maxcontentwidth)},[r,n,o,a]}class Li extends D{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>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Mi,zi,S,{heading:0,url:1,testid:2,maxcontentwidth:3},null),e&&(e.target&&w(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",Li);function q(i){return i==="false"?!1:i===""?!0:!!i}function Ti(i){return i?"true":"false"}function Ri(i){let e;return{c(){e=b("div"),F(e,"height","1.2rem"),F(e,"margin-left","-0.25rem")},m(t,r){w(t,e,r)},p,d(t){t&&z(e)}}}function Ai(i){let e;return{c(){e=b("goa-icon"),C(e,"type",i[4]),C(e,"size","small")},m(t,r){w(t,e,r)},p(t,r){r&16&&C(e,"type",t[4])},d(t){t&&z(e)}}}function st(i){let e,t;return{c(){e=b("div"),t=P(i[2]),d(e,"class","goa-badge-content")},m(r,n){w(r,e,n),m(e,t)},p(r,n){n&4&&V(t,r[2])},d(r){r&&z(e)}}}function Hi(i){let e,t,r;function n(s,c){return s[3]?Ai:Ri}let o=n(i),a=o(i),l=i[2]&&st(i);return{c(){e=b("div"),a.c(),t=A(),l&&l.c(),this.c=p,d(e,"data-testid",i[1]),d(e,"data-type","goa-badge"),d(e,"class",r="goa-badge badge-"+i[0]),B(e,"icon-only",i[3]&&!i[2])},m(s,c){w(s,e,c),a.m(e,null),m(e,t),l&&l.m(e,null)},p(s,[c]){o===(o=n(s))&&a?a.p(s,c):(a.d(1),a=o(s),a&&(a.c(),a.m(e,t))),s[2]?l?l.p(s,c):(l=st(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),c&2&&d(e,"data-testid",s[1]),c&1&&r!==(r="goa-badge badge-"+s[0])&&d(e,"class",r),c&13&&B(e,"icon-only",s[3]&&!s[2])},i:p,o:p,d(s){s&&z(e),a.d(),l&&l.d()}}}function Ii(i,e,t){let r,n,{type:o}=e,{testid:a=""}=e,{content:l=""}=e,{icon:s="false"}=e;return X(()=>{!r&&!l&&console.warn("GoABadge must have either then content or icon property set")}),i.$$set=c=>{"type"in c&&t(0,o=c.type),"testid"in c&&t(1,a=c.testid),"content"in c&&t(2,l=c.content),"icon"in c&&t(5,s=c.icon)},i.$$.update=()=>{i.$$.dirty&32&&t(3,r=q(s)),i.$$.dirty&1&&t(4,n={success:"checkmark-circle",important:"alert-circle",information:"information-circle",emergency:"warning",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[o])},[o,a,l,r,n,s]}class Si extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;align-items:center;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--fw-regular);margin:0.25rem}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm);padding-bottom:var(--font-valign-fix)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--goa-color-status-info)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--goa-color-text-light)}.goa-badge.badge-important{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.goa-badge.badge-emergency{background-color:var(--goa-color-status-emergency);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--color-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--color-gray-600);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--color-white);color:var(--goa-color-text)}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Ii,Hi,S,{type:0,testid:1,content:2,icon:5},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","testid","content","icon"]}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[5]}set icon(e){this.$$set({icon:e}),h()}}customElements.define("goa-badge",Si);function Bi(i){let e,t;return{c(){e=b("div"),t=b("slot"),this.c=p,F(e,"--alignment","flex-"+i[1]),F(e,"--gap-size",i[0]==="small"?"0.5rem":"1.25rem")},m(r,n){w(r,e,n),m(e,t)},p(r,[n]){n&2&&F(e,"--alignment","flex-"+r[1]),n&1&&F(e,"--gap-size",r[0]==="small"?"0.5rem":"1.25rem")},i:p,o:p,d(r){r&&z(e)}}}function Di(i,e,t){let{gap:r="medium"}=e,{alignment:n}=e;return i.$$set=o=>{"gap"in o&&t(0,r=o.gap),"alignment"in o&&t(1,n=o.alignment)},[r,n]}class Ni extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}div{display:flex;flex-direction:row;justify-content:var(--alignment);flex-wrap:wrap;gap:var(--gap-size);padding:3px 0}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Di,Bi,S,{gap:0,alignment:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap","alignment"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),h()}get alignment(){return this.$$.ctx[1]}set alignment(e){this.$$set({alignment:e}),h()}}customElements.define("goa-button-group",Ni);function Oi(i){let e,t,r,n,o=i[3]&&ct(i),a=i[4]&&dt(i);return{c(){o&&o.c(),e=A(),t=b("slot"),r=A(),a&&a.c(),n=le(),d(t,"class","text")},m(l,s){o&&o.m(l,s),w(l,e,s),w(l,t,s),w(l,r,s),a&&a.m(l,s),w(l,n,s)},p(l,s){l[3]?o?o.p(l,s):(o=ct(l),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null),l[4]?a?a.p(l,s):(a=dt(l),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(l){o&&o.d(l),l&&z(e),l&&z(t),l&&z(r),a&&a.d(l),l&&z(n)}}}function ji(i){let e,t,r;return{c(){e=b("slot"),t=A(),r=b("goa-icon"),d(e,"class","text"),C(r,"id","trailing-icon"),C(r,"type","arrow-forward"),C(r,"inverted","true")},m(n,o){w(n,e,o),w(n,t,o),w(n,r,o)},p,d(n){n&&z(e),n&&z(t),n&&z(r)}}}function ct(i){let e;return{c(){e=b("goa-icon"),C(e,"id","leading-icon"),C(e,"type",i[3]),C(e,"inverted",i[6])},m(t,r){w(t,e,r)},p(t,r){r&8&&C(e,"type",t[3]),r&64&&C(e,"inverted",t[6])},d(t){t&&z(e)}}}function dt(i){let e;return{c(){e=b("goa-icon"),C(e,"id","trailing-icon"),C(e,"type",i[4]),C(e,"inverted",i[6])},m(t,r){w(t,e,r)},p(t,r){r&16&&C(e,"type",t[4]),r&64&&C(e,"inverted",t[6])},d(t){t&&z(e)}}}function Pi(i){let e,t,r,n;function o(s,c){return s[0]==="start"?ji:Oi}let a=o(i),l=a(i);return{c(){e=b("button"),l.c(),this.c=p,d(e,"class",t=""+(i[0]+" "+i[1]+" "+i[2])),e.disabled=i[7],d(e,"data-testid",i[5]),B(e,"leading",i[3]),B(e,"trailing",i[4]||i[0]==="start")},m(s,c){w(s,e,c),l.m(e,null),r||(n=U(e,"click",Fi),r=!0)},p(s,[c]){a===(a=o(s))&&l?l.p(s,c):(l.d(1),l=a(s),l&&(l.c(),l.m(e,null))),c&7&&t!==(t=""+(s[0]+" "+s[1]+" "+s[2]))&&d(e,"class",t),c&128&&(e.disabled=s[7]),c&32&&d(e,"data-testid",s[5]),c&15&&B(e,"leading",s[3]),c&23&&B(e,"trailing",s[4]||s[0]==="start")},i:p,o:p,d(s){s&&z(e),l.d(),r=!1,n()}}}function Fi(i){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),i.stopPropagation()}function qi(i,e,t){let r,n;const o=["primary","submit","secondary","tertiary","start"],a=["normal","compact"],l=["normal","destructive"];function s(v){return o.includes(v)}function c(v){return a.includes(v)}function u(v){return l.includes(v)}let{type:f="primary"}=e,{size:g="normal"}=e,{variant:k="normal"}=e,{disabled:y="false"}=e,{leadingicon:_=null}=e,{trailingicon:E=null}=e,{testid:x=""}=e;return X(()=>{s(f)||console.error("Invalid button type"),c(g)||console.error("Invalid button size"),u(k)||console.error("Invalid button variant")}),i.$$set=v=>{"type"in v&&t(0,f=v.type),"size"in v&&t(1,g=v.size),"variant"in v&&t(2,k=v.variant),"disabled"in v&&t(8,y=v.disabled),"leadingicon"in v&&t(3,_=v.leadingicon),"trailingicon"in v&&t(4,E=v.trailingicon),"testid"in v&&t(5,x=v.testid)},i.$$.update=()=>{i.$$.dirty&256&&t(7,r=q(y)),i.$$.dirty&1&&t(6,n=f==="primary"||f==="start")},[f,g,k,_,E,x,n,r,y]}class Gi extends D{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}@media(max-width: 480px){:host{width:100%}button{width:100%}}button{display:inline-flex;box-sizing:border-box;border-radius:0.25rem;border:2px solid var(--goa-color-interactive);box-sizing:border-box;cursor:pointer;font-family:var(--font-family);font-size:var(--fs-lg);font-weight:400;height:var(--button-height);letter-spacing:0.5px;line-height:100%;padding:0 0.75rem;gap:0.5rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
5
|
+
border-color 0.2s ease-in-out}.text{padding-bottom:var(--font-valign-fix)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--fs-base)}button.start{height:var(--button-height-tall);font-weight:var(--fw-bold)}button.start,button.submit,button.primary{border:2px solid var(--goa-color-interactive);background-color:var(--goa-color-interactive);color:var(--goa-color-text-light)}button.start:hover,button.submit:hover,button.primary:hover{border-color:var(--goa-color-interactive--hover);background-color:var(--goa-color-interactive--hover)}button.start:focus,button.start:active,button.submit:focus,button.submit:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);border-color:var(--goa-color-interactive--active);background-color:var(--goa-color-interactive--active);outline:none}button.secondary{border:2px solid var(--goa-color-interactive);background-color:var(--color-white);color:var(--goa-color-interactive)}button.secondary:hover{border-color:var(--goa-color-interactive--hover);color:var(--goa-color-interactive--hover);background-color:var(--color-gray-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);background-color:var(--color-gray-100);outline:none}button.tertiary{border:1px solid transparent;background-color:transparent;color:var(--goa-color-interactive);text-decoration:underline}button.tertiary:hover{border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);background-color:var(--color-gray-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--color-gray-100);background-color:var(--color-gray-100);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.submit.destructive,.primary.destructive{color:var(--color-white);background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.submit.destructive:hover,.primary.destructive:hover{background-color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.submit.destructive:focus,.primary.destructive:focus,.primary.destructive:active{background-color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.secondary.destructive{color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);background-color:var(--color-white)}.secondary.destructive:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}.secondary.destructive:focus,.secondary.destructive:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}.tertiary.destructive{color:var(--goa-color-status-emergency);border-color:var(--color-gray-200);background-color:var(--color-white)}.tertiary.destructive:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}.tertiary.destructive:focus,.tertiary.destructive:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}</style>`,O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},qi,Pi,S,{type:0,size:1,variant:2,disabled:8,leadingicon:3,trailingicon:4,testid:5},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","variant","disabled","leadingicon","trailingicon","testid"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),h()}get disabled(){return this.$$.ctx[8]}set disabled(e){this.$$set({disabled:e}),h()}get leadingicon(){return this.$$.ctx[3]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get trailingicon(){return this.$$.ctx[4]}set trailingicon(e){this.$$set({trailingicon:e}),h()}get testid(){return this.$$.ctx[5]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-button",Gi);function ut(i){let e,t;return{c(){e=b("h3"),t=P(i[1])},m(r,n){w(r,e,n),m(e,t)},p(r,n){n&2&&V(t,r[1])},d(r){r&&z(e)}}}function Vi(i){let e,t,r,n,o,a,l,s,c,u=i[1]&&ut(i);return{c(){e=b("div"),t=b("span"),r=b("goa-icon"),a=A(),l=b("span"),u&&u.c(),s=A(),c=b("slot"),this.c=p,C(r,"type",i[3]),C(r,"inverted",n=i[0]==="important"?"false":"true"),d(t,"class",o="icon "+i[0]),d(l,"class","content"),d(e,"class","notification"),d(e,"data-testid",i[2])},m(f,g){w(f,e,g),m(e,t),m(t,r),m(e,a),m(e,l),u&&u.m(l,null),m(l,s),m(l,c)},p(f,[g]){g&8&&C(r,"type",f[3]),g&1&&n!==(n=f[0]==="important"?"false":"true")&&C(r,"inverted",n),g&1&&o!==(o="icon "+f[0])&&d(t,"class",o),f[1]?u?u.p(f,g):(u=ut(f),u.c(),u.m(l,s)):u&&(u.d(1),u=null),g&4&&d(e,"data-testid",f[2])},i:p,o:p,d(f){f&&z(e),u&&u.d()}}}function Ui(i,e,t){let r,{type:n}=e,{heading:o=""}=e,{testid:a=""}=e;return i.$$set=l=>{"type"in l&&t(0,n=l.type),"heading"in l&&t(1,o=l.heading),"testid"in l&&t(2,a=l.testid)},i.$$.update=()=>{i.$$.dirty&1&&t(3,r=n==="emergency"?"warning":n==="important"?"alert-circle":n==="information"?"information-circle":n==="success"?"checkmark-circle":n==="event"?"calendar":"")},[n,o,a,r]}class Wi extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{display:flex;align-items:stretch;border-radius:3px;overflow:hidden;margin-bottom:1.75rem}h3{font-size:var(--fs-xl);line-height:var(--lh-base);font-weight:var(--fw-regular);margin-top:0}.emergency{background-color:var(--goa-color-status-emergency)}.important{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info)}.event{background-color:var(--goa-color-status-info)}.success{background-color:var(--goa-color-status-success)}.icon{flex:0 0 3rem;text-align:center;padding-top:1.75rem}.content{flex:1 1 auto;background-color:var(--color-gray-100);padding:1.75rem}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Ui,Vi,S,{type:0,heading:1,testid:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","heading","testid"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get heading(){return this.$$.ctx[1]}set heading(e){this.$$set({heading:e}),h()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-callout",Wi);function Ki(i){let e;return{c(){e=b("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=p},m(t,r){w(t,e,r)},p,i:p,o:p,d(t){t&&z(e)}}}class Zi extends D{constructor(e){super();O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,Ki,S,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-card-actions",Zi);function Xi(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=p,d(e,"class","card-content")},m(t,r){w(t,e,r)},p,i:p,o:p,d(t){t&&z(e)}}}class Yi extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,Xi,S,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-card-content",Yi);function Ji(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=p,d(e,"class","card-group")},m(t,r){w(t,e,r)},p,i:p,o:p,d(t){t&&z(e)}}}class Qi extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,Ji,S,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-card-group",Qi);function $i(i){let e;return{c(){e=b("div"),this.c=p,d(e,"class","card-image"),F(e,"background-image","url("+i[0]+")"),F(e,"height",i[1]),F(e,"background-size","cover"),F(e,"background-position","center")},m(t,r){w(t,e,r)},p(t,[r]){r&1&&F(e,"background-image","url("+t[0]+")"),r&2&&F(e,"height",t[1])},i:p,o:p,d(t){t&&z(e)}}}function er(i,e,t){let{src:r}=e,{height:n="100%"}=e;return i.$$set=o=>{"src"in o&&t(0,r=o.src),"height"in o&&t(1,n=o.height)},[r,n]}class tr extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},er,$i,S,{src:0,height:1},null),e&&(e.target&&w(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",tr);function ir(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=p,d(e,"data-testid",i[2]),d(e,"class","card"),d(e,"style",r="--width: "+i[1]+"px; "+(i[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(n,o){w(n,e,o),m(e,t)},p(n,[o]){o&4&&d(e,"data-testid",n[2]),o&3&&r!==(r="--width: "+n[1]+"px; "+(n[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${n[0]});`)+"")&&d(e,"style",r)},i:p,o:p,d(n){n&&z(e)}}}function rr(i,e,t){let{elevation:r=0}=e,{width:n=320}=e,{testId:o=""}=e;return i.$$set=a=>{"elevation"in a&&t(0,r=a.elevation),"width"in a&&t(1,n=a.width),"testId"in a&&t(2,o=a.testId)},[r,n,o]}class nr extends D{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card{display:flex;flex-direction:column;background-color:var(--color-white);border-radius:4px;overflow:hidden;width:100%}@media(min-width: 320px){.card{width:var(--width);margin:0 auto
|
|
6
|
+
}}</style>`,O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},rr,ir,S,{elevation:0,width:1,testId:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["elevation","width","testId"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),h()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),h()}get testId(){return this.$$.ctx[2]}set testId(e){this.$$set({testId:e}),h()}}customElements.define("goa-card",nr);function or(i){let e,t;return{c(){e=fe("svg"),t=fe("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){w(r,e,n),m(e,t)},d(r){r&&z(e)}}}function ar(i){let e,t;return{c(){e=fe("svg"),t=fe("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){w(r,e,n),m(e,t)},d(r){r&&z(e)}}}function lr(i){let e,t,r,n,o,a,l,s,c,u,f;function g(_,E){if(_[5])return ar;if(_[4])return or}let k=g(i),y=k&&k(i);return{c(){e=b("label"),t=b("div"),r=b("input"),o=A(),y&&y.c(),a=A(),l=b("div"),s=b("slot"),c=P(i[1]),this.c=p,d(r,"id",i[0]),d(r,"data-testid",i[3]),d(r,"name",i[0]),r.checked=i[4],r.disabled=i[7],d(r,"type","checkbox"),r.value=n=`${i[2]}`,d(t,"class","goa-checkbox-container"),B(t,"goa-checkbox--selected",i[4]),d(l,"class","goa-checkbox-text"),d(l,"data-testid","text"),d(e,"for",i[0]),d(e,"class","goa-checkbox"),B(e,"goa-checkbox--disabled",i[7]),B(e,"goa-checkbox--error",i[6])},m(_,E){w(_,e,E),m(e,t),m(t,r),m(t,o),y&&y.m(t,null),m(e,a),m(e,l),m(l,s),m(s,c),u||(f=U(r,"change",i[8]),u=!0)},p(_,[E]){E&1&&d(r,"id",_[0]),E&8&&d(r,"data-testid",_[3]),E&1&&d(r,"name",_[0]),E&16&&(r.checked=_[4]),E&128&&(r.disabled=_[7]),E&4&&n!==(n=`${_[2]}`)&&(r.value=n),k!==(k=g(_))&&(y&&y.d(1),y=k&&k(_),y&&(y.c(),y.m(t,null))),E&16&&B(t,"goa-checkbox--selected",_[4]),E&2&&V(c,_[1]),E&1&&d(e,"for",_[0]),E&128&&B(e,"goa-checkbox--disabled",_[7]),E&64&&B(e,"goa-checkbox--error",_[6])},i:p,o:p,d(_){_&&z(e),y&&y.d(),u=!1,f()}}}function sr(i,e,t){let r,n,o,a,{name:l}=e,{checked:s="false"}=e,{text:c=""}=e,{value:u=""}=e,{disabled:f="false"}=e,{error:g="false"}=e,{testid:k=""}=e,y;X(()=>{y=u});function _(E){const x=!o,v=x?`${y||"checked"}`:"";t(9,s=Ti(x)),E.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:l,checked:x,value:v}}))}return i.$$set=E=>{"name"in E&&t(0,l=E.name),"checked"in E&&t(9,s=E.checked),"text"in E&&t(1,c=E.text),"value"in E&&t(2,u=E.value),"disabled"in E&&t(10,f=E.disabled),"error"in E&&t(11,g=E.error),"testid"in E&&t(3,k=E.testid)},i.$$.update=()=>{i.$$.dirty&1024&&t(7,r=q(f)),i.$$.dirty&2048&&t(6,n=q(g)),i.$$.dirty&512&&t(4,o=q(s))},t(5,a=!1),[l,c,u,k,o,a,n,r,_,s,f,g]}class cr extends D{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family);display:block}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled{opacity:40%}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--color-gray-600);border-radius:2px;background-color:var(--color-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px;flex:0 0 auto}.goa-checkbox-container svg{fill:var(--color-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive--hover)}.goa-checkbox-container:hover{border:1px solid var(--goa-color-interactive--hover)}.goa-checkbox-container:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--fw-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--color-gray-400)}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-status-emergency);box-shadow:inset 0 0 0 1px var(--goa-color-status-emergency);background-color:var(--color-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-status-emergency)}</style>',O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},sr,lr,S,{name:0,checked:9,text:1,value:2,disabled:10,error:11,testid:3},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","checked","text","value","disabled","error","testid"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get checked(){return this.$$.ctx[9]}set checked(e){this.$$set({checked:e}),h()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),h()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),h()}get disabled(){return this.$$.ctx[10]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[11]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-checkbox",cr);function ft(i){let e;return{c(){e=b("goa-icon"),C(e,"class","leading-icon"),C(e,"size","medium"),C(e,"type",i[0])},m(t,r){w(t,e,r)},p(t,r){r&1&&C(e,"type",t[0])},d(t){t&&z(e)}}}function ht(i){let e,t,r;return{c(){e=b("goa-icon"),C(e,"class","delete-icon"),C(e,"size","medium"),C(e,"theme","filled"),C(e,"type","close-circle"),C(e,"fillcolor",t=i[5]?"var(--goa-color-status-emergency)":i[4]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)"),C(e,"opacity",r=i[5]?i[4]?1:.5:1)},m(n,o){w(n,e,o)},p(n,o){o&48&&t!==(t=n[5]?"var(--goa-color-status-emergency)":n[4]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)")&&C(e,"fillcolor",t),o&48&&r!==(r=n[5]?n[4]?1:.5:1)&&C(e,"opacity",r)},d(n){n&&z(e)}}}function dr(i){let e,t,r,n,o,a,l,s=i[0]&&ft(i),c=i[6]&&ht(i);return{c(){e=b("div"),s&&s.c(),t=A(),r=b("div"),n=P(i[1]),o=A(),c&&c.c(),this.c=p,d(r,"class","text"),d(e,"data-testid","chip"),d(e,"class","chip"),d(e,"tabindex","0"),B(e,"deletable",i[6]),B(e,"error",i[5]),B(e,"variant",i[2])},m(u,f){w(u,e,f),s&&s.m(e,null),m(e,t),m(e,r),m(r,n),m(e,o),c&&c.m(e,null),i[10](e),a||(l=[U(e,"click",i[11]),U(e,"mouseover",i[12]),U(e,"mouseout",i[13]),U(e,"focus",i[14]),U(e,"blur",i[15])],a=!0)},p(u,[f]){u[0]?s?s.p(u,f):(s=ft(u),s.c(),s.m(e,t)):s&&(s.d(1),s=null),f&2&&V(n,u[1]),u[6]?c?c.p(u,f):(c=ht(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&64&&B(e,"deletable",u[6]),f&32&&B(e,"error",u[5]),f&4&&B(e,"variant",u[2])},i:p,o:p,d(u){u&&z(e),s&&s.d(),c&&c.d(),i[10](null),a=!1,Q(l)}}}function ur(i,e,t){let{leadingicon:r=null}=e,{error:n="false"}=e,{deletable:o="false"}=e,{content:a}=e,{variant:l}=e,s,c=!1,u,f;function g(M){s.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),M.stopPropagation()}function k(M){$[M?"unshift":"push"](()=>{s=M,t(3,s)})}const y=M=>f&&g(M),_=()=>t(4,c=!0),E=()=>t(4,c=!1),x=()=>t(4,c=!1),v=()=>t(4,c=!1);return i.$$set=M=>{"leadingicon"in M&&t(0,r=M.leadingicon),"error"in M&&t(8,n=M.error),"deletable"in M&&t(9,o=M.deletable),"content"in M&&t(1,a=M.content),"variant"in M&&t(2,l=M.variant)},i.$$.update=()=>{i.$$.dirty&256&&t(5,u=q(n)),i.$$.dirty&512&&t(6,f=q(o))},[r,a,l,s,c,u,f,g,n,o,k,y,_,E,x,v]}class fr extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--color-white);border-radius:99px;border:1px solid #949494;box-sizing:border-box;color:var(--goa-color-text);display:inline-flex;flex-direction:row;font-size:var(--chip-font-size);font-weight:var(--fw-regular);gap:0.25rem;height:2rem;justify-content:center;margin:0.25rem;padding:0 0.75rem;cursor:default}.text{padding-bottom:var(--font-valign-fix)}.chip:focus{outline:2px solid var(--goa-color-interactive--focus);background-color:var(--color-white)}.chip:hover{background-color:var(--color-gray-200)}.deletable{cursor:pointer}.delete-icon{margin-right:-0.25rem}.error,.error:hover{background-color:var(--goa-color-status-emergency-light)}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},ur,dr,S,{leadingicon:0,error:8,deletable:9,content:1,variant:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["leadingicon","error","deletable","content","variant"]}get leadingicon(){return this.$$.ctx[0]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get error(){return this.$$.ctx[8]}set error(e){this.$$set({error:e}),h()}get deletable(){return this.$$.ctx[9]}set deletable(e){this.$$set({deletable:e}),h()}get content(){return this.$$.ctx[1]}set content(e){this.$$set({content:e}),h()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),h()}}customElements.define("goa-chip",fr);function hr(i){const e=i-1;return e*e*e+1}function gr(i){return Math.pow(i-1,3)*(1-i)+1}function pe(i,{delay:e=0,duration:t=400,easing:r=ye}={}){const n=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:o=>`opacity: ${o*n}`}}function gt(i,{delay:e=0,duration:t=400,easing:r=hr,x:n=0,y:o=0,opacity:a=0}={}){const l=getComputedStyle(i),s=+l.opacity,c=l.transform==="none"?"":l.transform,u=s*(1-a);return{delay:e,duration:t,easing:r,css:(f,g)=>`
|
|
7
7
|
transform: ${c} translate(${(1-f)*n}px, ${(1-f)*o}px);
|
|
8
|
-
opacity: ${s-
|
|
8
|
+
opacity: ${s-u*g}`}}function mt(i,e){let t=!1;function r(){if(!n())return;const l=a();l>0&&(t=!0,document.body.style.overflow="hidden",document.body.style.paddingRight=l+"px")}function n(){return document.body.style.overflow!=="hidden"}function o(){!t||(t=!1,setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},200))}function a(){if(document.body.clientHeight<=document.documentElement.clientHeight)return 0;const l=document.createElement("div");l.style.visibility="hidden",l.style.overflow="scroll",document.body.appendChild(l);const s=document.createElement("div");l.appendChild(s);const c=l.offsetWidth-s.offsetWidth;return l.parentNode.removeChild(l),c}return e.enable&&r(),{update(){e.enable||o()},destroy(){o()}}}function bt(i){let e,t,r,n;const o=[br,mr],a=[];function l(s,c){return s[3]?0:s[4]?1:-1}return~(e=l(i))&&(t=a[e]=o[e](i)),{c(){t&&t.c(),r=le()},m(s,c){~e&&a[e].m(s,c),w(s,r,c),n=!0},p(s,c){let u=e;e=l(s),e===u?~e&&a[e].p(s,c):(t&&(be(),W(a[u],1,1,()=>{a[u]=null}),ve()),~e?(t=a[e],t?t.p(s,c):(t=a[e]=o[e](s),t.c()),G(t,1),t.m(r.parentNode,r)):t=null)},i(s){n||(G(t),n=!0)},o(s){W(t),n=!1},d(s){~e&&a[e].d(s),s&&z(r)}}}function mr(i){let e,t,r,n,o=i[0]&&vt(i);return{c(){e=b("div"),t=b("goa-spinner"),r=A(),o&&o.c(),C(t,"size",i[2]),C(t,"progress",i[1]),d(e,"class",n="spinner-"+i[2]),B(e,"inline",i[4])},m(a,l){w(a,e,l),m(e,t),m(e,r),o&&o.m(e,null)},p(a,l){l&4&&C(t,"size",a[2]),l&2&&C(t,"progress",a[1]),a[0]?o?o.p(a,l):(o=vt(a),o.c(),o.m(e,null)):o&&(o.d(1),o=null),l&4&&n!==(n="spinner-"+a[2])&&d(e,"class",n),l&20&&B(e,"inline",a[4])},i:p,o:p,d(a){a&&z(e),o&&o.d()}}}function br(i){let e,t,r,n,o,a,l,s=i[0]&&pt(i);return{c(){e=b("div"),t=b("goa-spinner"),r=A(),s&&s.c(),C(t,"size",i[2]),C(t,"progress",i[1]),B(e,"fullscreen",i[3])},m(c,u){w(c,e,u),m(e,t),m(e,r),s&&s.m(e,null),o=!0,a||(l=Je(mt.call(null,e,{enable:!0})),a=!0)},p(c,u){(!o||u&4)&&C(t,"size",c[2]),(!o||u&2)&&C(t,"progress",c[1]),c[0]?s?s.p(c,u):(s=pt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!o||u&8)&&B(e,"fullscreen",c[3])},i(c){o||(ie(()=>{n||(n=je(e,pe,{duration:300},!0)),n.run(1)}),o=!0)},o(c){n||(n=je(e,pe,{duration:300},!1)),n.run(0),o=!1},d(c){c&&z(e),s&&s.d(),c&&n&&n.end(),a=!1,l()}}}function vt(i){let e,t;return{c(){e=b("div"),t=P(i[0]),d(e,"class","message")},m(r,n){w(r,e,n),m(e,t)},p(r,n){n&1&&V(t,r[0])},d(r){r&&z(e)}}}function pt(i){let e,t;return{c(){e=b("div"),t=P(i[0]),d(e,"class","message")},m(r,n){w(r,e,n),m(e,t)},p(r,n){n&1&&V(t,r[0])},d(r){r&&z(e)}}}function vr(i){let e,t,r=i[5]&&bt(i);return{c(){r&&r.c(),e=le(),this.c=p},m(n,o){r&&r.m(n,o),w(n,e,o),t=!0},p(n,[o]){n[5]?r?(r.p(n,o),o&32&&G(r,1)):(r=bt(n),r.c(),G(r,1),r.m(e.parentNode,e)):r&&(be(),W(r,1,1,()=>{r=null}),ve())},i(n){t||(G(r),t=!0)},o(n){W(r),t=!1},d(n){r&&r.d(n),n&&z(e)}}}function pr(i,e,t){let r,{variant:n="inline"}=e,{size:o="large"}=e,{message:a=""}=e,{progress:l=-1}=e,{visible:s="false"}=e,c,u,f;return X(async()=>{t(2,c=o==="small"?"large":"xlarge"),t(3,u=n==="fullscreen"),t(4,f=n==="inline")}),i.$$set=g=>{"variant"in g&&t(6,n=g.variant),"size"in g&&t(7,o=g.size),"message"in g&&t(0,a=g.message),"progress"in g&&t(1,l=g.progress),"visible"in g&&t(8,s=g.visible)},i.$$.update=()=>{i.$$.dirty&256&&t(5,r=q(s))},[a,l,c,u,f,r,n,o,s]}class wr extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.fullscreen{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:rgba(255, 255, 255, 0.9)}.inline{margin:3.5rem;display:inline-flex;flex-direction:column;align-items:center;justify-content:center}.spinner-large .message{margin-top:1.5rem;font-size:1.2rem}.spinner-xlarge .message{margin-top:2rem;font-size:1.5rem}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},pr,vr,S,{variant:6,size:7,message:0,progress:1,visible:8},null),e&&(e.target&&w(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",wr);function yr(i){let e,t,r,n,o,a,l,s,c;return{c(){e=b("div"),t=b("header"),r=b("div"),r.innerHTML='<slot name="title"></slot>',n=A(),o=b("div"),o.innerHTML='<slot name="actions"></slot>',l=A(),s=b("div"),s.innerHTML="<slot></slot>",this.c=p,d(r,"class","title"),d(o,"class","actions"),d(t,"class",a="heading--"+i[1]),d(s,"class","content"),d(e,"class",c=`
|
|
9
9
|
goa-container
|
|
10
10
|
goa-container--${i[0]}
|
|
11
11
|
padding--${i[2]}
|
|
12
12
|
accent--${i[1]}
|
|
13
|
-
`)},m(
|
|
13
|
+
`)},m(u,f){w(u,e,f),m(e,t),m(t,r),m(t,n),m(t,o),m(e,l),m(e,s)},p(u,[f]){f&2&&a!==(a="heading--"+u[1])&&d(t,"class",a),f&7&&c!==(c=`
|
|
14
14
|
goa-container
|
|
15
|
-
goa-container--${
|
|
16
|
-
padding--${
|
|
17
|
-
accent--${
|
|
18
|
-
`)&&u(e,"class",c)},i:v,o:v,d(d){d&&M(e)}}}function kr(i,e,t){let{type:r="interactive"}=e,{accent:n="filled"}=e,{padding:o="relaxed"}=e;return i.$$set=a=>{"type"in a&&t(0,r=a.type),"accent"in a&&t(1,n=a.accent),"padding"in a&&t(2,o=a.padding)},[r,n,o]}class xr extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);font-size:var(--fs-base)}.goa-container{margin-bottom:1rem;box-sizing:border-box}.goa-container *{box-sizing:border-box}header{display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--fs-base);border-width:1px;border-style:solid;border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.content{border-bottom:1px solid var(--color-gray-200);border-left:1px solid var(--color-gray-200);border-right:1px solid var(--color-gray-200);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.goa-container--non-interactive.accent--filled .content{border-color:var(--color-gray-200);background-color:var(--color-gray-100)}.goa-container--important.accent--filled .content{border-color:var(--goa-color-status-warning);background-color:var(--goa-color-status-warning-50)}.goa-container--error.accent--filled .content{border-color:var(--goa-color-status-emergency);background-color:var(--goa-color-status-emergency-50)}.goa-container--success.accent--filled .content{border-color:var(--goa-color-status-success);background-color:var(--goa-color-status-success-50)}.goa-container--info.accent--filled .content{border-color:var(--goa-color-status-info);background-color:var(--goa-color-status-info-50)}.title,.actions{padding:0.5rem 0}.padding--relaxed header{padding:0 1.5rem}.padding--relaxed .content{padding:1.5rem}.padding--compact header,.padding--compact .content{padding:0 1rem}.padding--compact header{padding:0 1rem}.padding--compact .content{padding:1rem}@media screen and (max-width: 480px){.padding--relaxed header{padding:0 1rem}.padding--relaxed .content{padding:1rem}}.goa-container--non-interactive header{background-color:var(--color-gray-100);border-color:var(--color-gray-200);color:var(--color-black)}.goa-container--interactive header{background-color:var(--goa-color-brand);border-color:var(--goa-color-brand);color:var(--color-white)}.goa-container--info header{background-color:var(--goa-color-status-info);border-color:var(--goa-color-status-info);color:var(--color-white)}.goa-container--error header{background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);color:var(--color-white)}.goa-container--success header{background-color:var(--goa-color-status-success);border-color:var(--goa-color-status-success);color:var(--color-white)}.goa-container--important header{background-color:var(--goa-color-status-warning);border-color:var(--goa-color-status-warning);color:var(--color-white)}.heading--thick{padding:0.5rem 1.5rem;max-height:3rem;min-height:1rem}.heading--thick .title{line-height:2rem}.heading--thin{height:0.5rem}.heading--filled{display:none}.heading--filled~.content{border-top:1px solid var(--color-gray-200);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.heading--thin .title,.heading--thin .actions{display:none}.actions{display:flex;align-items:center}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},kr,_r,B,{type:0,accent:1,padding:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","accent","padding"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get accent(){return this.$$.ctx[1]}set accent(e){this.$$set({accent:e}),h()}get padding(){return this.$$.ctx[2]}set padding(e){this.$$set({padding:e}),h()}}customElements.define("goa-container",xr);const we=[];function wt(i,e=v){let t;const r=new Set;function n(l){if(B(i,l)&&(i=l,t)){const s=!we.length;for(const c of r)c[1](),we.push(c,i);if(s){for(let c=0;c<we.length;c+=2)we[c][0](we[c+1]);we.length=0}}}function o(l){n(l(i))}function a(l,s=v){const c=[l,s];return r.add(c),r.size===1&&(t=e(n)||v),l(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:n,update:o,subscribe:a}}const Pe={};class Er{constructor(){this.store=wt()}subscribe(e){this.store.subscribe(t=>{e(t)})}notify(e){this.store.update(()=>e)}}function yt(i){const e=new Er;return Pe[i]=e,e}function _t(i){return Pe[i]}function kt(i){!Pe[i]||delete Pe[i]}const xt="bind";function Et(i,e,t){const r=i.slice();return r[39]=e[t],r[41]=t,r}function Ct(i){let e,t,r,n;return{c(){e=b("div"),u(e,"data-testid",t=`${i[0]}-dropdown-background`),u(e,"class","goa-dropdown-background")},m(o,a){p(o,e,a),r||(n=U(e,"click",i[17]),r=!0)},p(o,a){a[0]&1&&t!==(t=`${o[0]}-dropdown-background`)&&u(e,"data-testid",t)},d(o){o&&M(e),r=!1,n()}}}function zt(i){let e,t=(i[39].label||i[39].value)+"",r,n,o,a,l,s,c,d,f;function m(){return i[21](i[39])}return{c(){e=b("li"),r=P(t),u(e,"id",n=i[39].label),u(e,"role","option"),u(e,"aria-label",o=i[39].label||i[39].value),u(e,"aria-selected",a=i[8].includes(i[39].value)?"true":"false"),u(e,"class","goa-dropdown-option"),u(e,"data-testid",l=`dropdown-item-${i[39].value}`),u(e,"data-index",s=i[41]),u(e,"style",c="display: block"),S(e,"goa-dropdown-option--disabled",!1),S(e,"goa-dropdown-option--tabbed",i[41]===i[12]),S(e,"goa-dropdown-option--selected",i[8].includes(i[39].value))},m(k,w){p(k,e,w),g(e,r),d||(f=U(e,"click",m),d=!0)},p(k,w){i=k,w[0]&512&&t!==(t=(i[39].label||i[39].value)+"")&&F(r,t),w[0]&512&&n!==(n=i[39].label)&&u(e,"id",n),w[0]&512&&o!==(o=i[39].label||i[39].value)&&u(e,"aria-label",o),w[0]&768&&a!==(a=i[8].includes(i[39].value)?"true":"false")&&u(e,"aria-selected",a),w[0]&512&&l!==(l=`dropdown-item-${i[39].value}`)&&u(e,"data-testid",l),w[0]&4096&&S(e,"goa-dropdown-option--tabbed",i[41]===i[12]),w[0]&768&&S(e,"goa-dropdown-option--selected",i[8].includes(i[39].value))},d(k){k&&M(e),d=!1,f()}}}function Cr(i){let e,t,r,n,o,a,l,s,c,d,f,m,k,w,y=i[11]&&Ct(i),E=i[9],x=[];for(let _=0;_<E.length;_+=1)x[_]=zt(Et(i,E,_));return{c(){e=b("div"),y&&y.c(),t=A(),r=b("goa-input"),a=A(),l=b("ul");for(let _=0;_<x.length;_+=1)x[_].c();s=A(),c=b("slot"),this.c=v,z(r,"error",i[7]),z(r,"disabled",i[6]),z(r,"leadingicon",i[2]),z(r,"placeholder",i[4]),z(r,"width","100%"),z(r,"data-testid",n=`${i[0]}-dropdown-input`),z(r,"role","combobox"),z(r,"aria-label",o=i[1]||i[0]),z(r,"aria-expanded",i[11]),z(r,"aria-controls","menu"),z(r,"readonly",""),z(r,"trailingicon","chevron-down"),z(r,"type","text"),z(r,"value",i[10]),u(l,"id","menu"),u(l,"role","listbox"),u(l,"aria-activedescendant",i[10]),u(l,"data-testid","dropdown-menu"),u(l,"tabindex","0"),u(l,"class","goa-dropdown-list"),u(l,"style",d=`overflow-y: auto; max-height: ${i[3]}`),S(l,"dropdown-active",i[11]),u(e,"data-testid",f=`${i[0]}-dropdown`),u(e,"class","goa-dropdown-box"),u(e,"style",m=`--width: ${i[5]||i[13]}`)},m(_,L){p(_,e,L),y&&y.m(e,null),g(e,t),g(e,r),g(e,a),g(e,l);for(let C=0;C<x.length;C+=1)x[C].m(l,null);g(l,s),g(l,c),i[22](l),i[23](e),k||(w=U(r,"click",i[16]),k=!0)},p(_,L){if(_[11]?y?y.p(_,L):(y=Ct(_),y.c(),y.m(e,t)):y&&(y.d(1),y=null),L[0]&128&&z(r,"error",_[7]),L[0]&64&&z(r,"disabled",_[6]),L[0]&4&&z(r,"leadingicon",_[2]),L[0]&16&&z(r,"placeholder",_[4]),L[0]&1&&n!==(n=`${_[0]}-dropdown-input`)&&z(r,"data-testid",n),L[0]&3&&o!==(o=_[1]||_[0])&&z(r,"aria-label",o),L[0]&2048&&z(r,"aria-expanded",_[11]),L[0]&1024&&z(r,"value",_[10]),L[0]&267008){E=_[9];let C;for(C=0;C<E.length;C+=1){const R=Et(_,E,C);x[C]?x[C].p(R,L):(x[C]=zt(R),x[C].c(),x[C].m(l,s))}for(;C<x.length;C+=1)x[C].d(1);x.length=E.length}L[0]&1024&&u(l,"aria-activedescendant",_[10]),L[0]&8&&d!==(d=`overflow-y: auto; max-height: ${_[3]}`)&&u(l,"style",d),L[0]&2048&&S(l,"dropdown-active",_[11]),L[0]&1&&f!==(f=`${_[0]}-dropdown`)&&u(e,"data-testid",f),L[0]&8224&&m!==(m=`--width: ${_[5]||_[13]}`)&&u(e,"style",m)},i:v,o:v,d(_){_&&M(e),y&&y.d(),Re(x,_),i[22](null),i[23](null),k=!1,w()}}}const zr="276px";function Mr(i,e,t){let r,n,{name:o}=e,{arialabel:a=""}=e,{value:l=""}=e,{leadingicon:s=null}=e,{maxheight:c=zr}=e,{placeholder:d=""}=e,{width:f=""}=e,{disabled:m="false"}=e,{error:k="false"}=e,{multiselect:w="false"}=e,y=[],E=[],x="",_=!1,L=0,C=0,R,T,O,K;X(()=>{const H=10;let te=0;const oe=setInterval(async()=>{te++,o&&T&&(ne(),Z(),Y(),clearInterval(oe)),te>H&&(console.error("goa-dropdown: missing the required `name` attribute. It must match the children's name attribute."),clearInterval(oe))},10)}),it(()=>{ue(),kt(o)});function ne(){T.addEventListener("focus",si,!0),T.addEventListener("blur",ci,!0)}function ue(){T.removeEventListener("focus",si,!0),T.removeEventListener("blur",ci,!0)}function Z(){let H;try{H=JSON.parse(l||"[]")}catch{H=[l]}t(8,y=(typeof H=="object"?H:[H]).map(oe=>`${oe}`))}function Y(){K=yt(o),K.subscribe(H=>{switch(H==null?void 0:H.type){case xt:{const te=H,oe=y.includes(te.value);t(9,E=[...E,Object.assign(Object.assign({},te),{selected:oe})]),oe&&t(10,x=te.label),!f&&C<te.label.length&&(C=te.label.length,t(13,R=`${Math.max(20,C+12)}ch`)),Fe();break}}})}async function J(){r||_||(t(11,_=!0),await De(),O.addEventListener("blur",ee),O.addEventListener("mouseover",di))}function ee(){O.removeEventListener("blur",ee),O.removeEventListener("mouseover",di),Fe(),t(11,_=!1)}function Fe(){t(12,L=E.findIndex(H=>y.includes(H.value)))}function I(H,te,oe){r||(t(10,x=te),n?(y.push(H),T.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,values:y}}))):(t(8,y=[H]),T.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:y[0]}}))),oe&&ee())}const Ce=H=>{switch(H.key){case" ":case"Enter":_?ee():J(),H.preventDefault();break;case"Escape":_&&ee(),H.preventDefault();break;case"ArrowDown":if(H.altKey){_?ee():J();break}go(),H.preventDefault();break;case"ArrowUp":if(H.altKey){_?ee():J();break}mo(),H.preventDefault();break}};function go(){L<E.length-1&&(t(12,L++,L),I(E[L].value,E[L].label,!1))}function mo(){L>0&&(t(12,L--,L),I(E[L].value,E[L].label,!1))}function si(){T.addEventListener("keydown",Ce)}function ci(){T.removeEventListener("keydown",Ce)}function di(H){t(12,L=Number(H.target.dataset.index))}const bo=H=>I(H.value,H.label,!0);function vo(H){$[H?"unshift":"push"](()=>{O=H,t(15,O)})}function po(H){$[H?"unshift":"push"](()=>{T=H,t(14,T)})}return i.$$set=H=>{"name"in H&&t(0,o=H.name),"arialabel"in H&&t(1,a=H.arialabel),"value"in H&&t(19,l=H.value),"leadingicon"in H&&t(2,s=H.leadingicon),"maxheight"in H&&t(3,c=H.maxheight),"placeholder"in H&&t(4,d=H.placeholder),"width"in H&&t(5,f=H.width),"disabled"in H&&t(6,m=H.disabled),"error"in H&&t(7,k=H.error),"multiselect"in H&&t(20,w=H.multiselect)},i.$$.update=()=>{i.$$.dirty[0]&64&&(r=G(m)),i.$$.dirty[0]&1048576&&(n=G(w))},[o,a,s,c,d,f,m,k,y,E,x,_,L,R,T,O,J,ee,I,l,w,bo,vo,po]}class Lr extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-dropdown-box{position:relative;cursor:pointer;display:inline-block;width:100%}@media(min-width: 640px){.goa-dropdown-box{width:var(--width)}}.goa-dropdown-background{cursor:default;position:fixed;z-index:98;inset:0}.goa-dropdown-list{position:absolute;left:0;right:0;padding:0;margin:0;margin-top:3px;list-style-type:none;background:var(--color-white);border-radius:var(--input-border-radius);outline:none;box-shadow:var(--shadow-1);z-index:99;scroll-behavior:smooth;scrollbar-width:thin;display:none}.dropdown-active{display:block}.goa-dropdown-list::-webkit-scrollbar{width:6px}.goa-dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.goa-dropdown-list::-webkit-scrollbar-thumb{background:#888}.goa-dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}.goa-dropdown-option{margin:0;padding:0.5rem;cursor:pointer;color:var(--color-black);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.goa-dropdown-option--tabbed{background:var(--color-gray-100);color:var(--goa-color-interactive--hover)}.goa-dropdown-option--disabled{opacity:0.5;cursor:default}.goa-dropdown-option--disabled:hover{cursor:default;color:var(--color-gray-600)}.goa-dropdown-option--selected{background:var(--goa-color-interactive);color:var(--color-white)}.goa-dropdown-option--tabbed.goa-dropdown-option--selected,.goa-dropdown-option--selected:hover{background:var(--goa-color-interactive--hover);color:var(--color-white)}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Mr,Cr,B,{name:0,arialabel:1,value:19,leadingicon:2,maxheight:3,placeholder:4,width:5,disabled:6,error:7,multiselect:20},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"]}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[19]}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[20]}set multiselect(e){this.$$set({multiselect:e}),h()}}customElements.define("goa-dropdown",Lr);function Tr(i){return{c(){this.c=v},m:v,p:v,i:v,o:v,d:v}}function Rr(i,e,t){let{name:r=""}=e,{value:n=""}=e,{label:o=""}=e,a;return X(()=>{const l=setInterval(()=>{if(r&&n){if(a=_t(r),!a)return;a.notify({type:xt,name:r,label:o,value:n}),clearInterval(l)}},10)}),i.$$set=l=>{"name"in l&&t(0,r=l.name),"value"in l&&t(1,n=l.value),"label"in l&&t(2,o=l.label)},[r,n,o]}class Ar extends D{constructor(e){super();j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Rr,Tr,B,{name:0,value:1,label:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","label"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),h()}get label(){return this.$$.ctx[2]}set label(e){this.$$set({label:e}),h()}}customElements.define("goa-dropdown-item",Ar);function Hr(i){let e,t;return{c(){e=b("div"),t=b("slot"),this.c=v,u(e,"class","goa-flex-col"),q(e,"gap",i[0])},m(r,n){p(r,e,n),g(e,t)},p(r,[n]){n&1&&q(e,"gap",r[0])},i:v,o:v,d(r){r&&M(e)}}}function Ir(i,e,t){let r,{gap:n=""}=e;return i.$$set=o=>{"gap"in o&&t(1,n=o.gap)},i.$$.update=()=>{i.$$.dirty&2&&t(0,r=n==="small"?"1rem":n==="medium"?"2rem":n==="large"?"3rem":"0")},[r,n]}class Sr extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);margin-bottom:3rem}.goa-flex-col{display:flex;flex-direction:column;gap:var(--gap)}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Ir,Hr,B,{gap:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap"]}get gap(){return this.$$.ctx[1]}set gap(e){this.$$set({gap:e}),h()}}customElements.define("goa-flex-col",Sr);function Br(i){let e,t;return{c(){e=b("div"),t=b("slot"),this.c=v,u(e,"class","goa-flex-row"),q(e,"gap",i[0])},m(r,n){p(r,e,n),g(e,t)},p(r,[n]){n&1&&q(e,"gap",r[0])},i:v,o:v,d(r){r&&M(e)}}}function Dr(i,e,t){let r,{gap:n=""}=e;return i.$$set=o=>{"gap"in o&&t(1,n=o.gap)},i.$$.update=()=>{i.$$.dirty&2&&t(0,r=n==="small"?"1rem":n==="medium"?"2rem":n==="large"?"3rem":"0")},[r,n]}class Nr extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-flex-row{display:flex;flex-direction:column;gap:var(--gap)}@media(min-width: 640px){.goa-flex-row{display:grid;grid-template-columns:repeat(auto-fit, minmax(100px, 1fr));gap:var(--gap);margin-bottom:1rem}}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Dr,Br,B,{gap:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap"]}get gap(){return this.$$.ctx[1]}set gap(e){this.$$set({gap:e}),h()}}customElements.define("goa-flex-row",Nr);function jr(i){let e;return{c(){e=b("div"),e.innerHTML=`<slot></slot>
|
|
15
|
+
goa-container--${u[0]}
|
|
16
|
+
padding--${u[2]}
|
|
17
|
+
accent--${u[1]}
|
|
18
|
+
`)&&d(e,"class",c)},i:p,o:p,d(u){u&&z(e)}}}function _r(i,e,t){let{type:r="interactive"}=e,{accent:n="filled"}=e,{padding:o="relaxed"}=e;return i.$$set=a=>{"type"in a&&t(0,r=a.type),"accent"in a&&t(1,n=a.accent),"padding"in a&&t(2,o=a.padding)},[r,n,o]}class kr extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);font-size:var(--fs-base)}.goa-container{margin-bottom:1rem;box-sizing:border-box}.goa-container *{box-sizing:border-box}header{display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--fs-base);border-width:1px;border-style:solid;border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.content{border-bottom:1px solid var(--color-gray-200);border-left:1px solid var(--color-gray-200);border-right:1px solid var(--color-gray-200);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.goa-container--non-interactive.accent--filled .content{border-color:var(--color-gray-200);background-color:var(--color-gray-100)}.goa-container--important.accent--filled .content{border-color:var(--goa-color-status-warning);background-color:var(--goa-color-status-warning-50)}.goa-container--error.accent--filled .content{border-color:var(--goa-color-status-emergency);background-color:var(--goa-color-status-emergency-50)}.goa-container--success.accent--filled .content{border-color:var(--goa-color-status-success);background-color:var(--goa-color-status-success-50)}.goa-container--info.accent--filled .content{border-color:var(--goa-color-status-info);background-color:var(--goa-color-status-info-50)}.title,.actions{padding:0.5rem 0}.padding--relaxed header{padding:0 1.5rem}.padding--relaxed .content{padding:1.5rem}.padding--compact header,.padding--compact .content{padding:0 1rem}.padding--compact header{padding:0 1rem}.padding--compact .content{padding:1rem}@media screen and (max-width: 480px){.padding--relaxed header{padding:0 1rem}.padding--relaxed .content{padding:1rem}}.goa-container--non-interactive header{background-color:var(--color-gray-100);border-color:var(--color-gray-200);color:var(--color-black)}.goa-container--interactive header{background-color:var(--goa-color-brand);border-color:var(--goa-color-brand);color:var(--color-white)}.goa-container--info header{background-color:var(--goa-color-status-info);border-color:var(--goa-color-status-info);color:var(--color-white)}.goa-container--error header{background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);color:var(--color-white)}.goa-container--success header{background-color:var(--goa-color-status-success);border-color:var(--goa-color-status-success);color:var(--color-white)}.goa-container--important header{background-color:var(--goa-color-status-warning);border-color:var(--goa-color-status-warning);color:var(--color-white)}.heading--thick{padding:0.5rem 1.5rem;max-height:3rem;min-height:1rem}.heading--thick .title{line-height:2rem}.heading--thin{height:0.5rem}.heading--filled{display:none}.heading--filled~.content{border-top:1px solid var(--color-gray-200);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.heading--thin .title,.heading--thin .actions{display:none}.actions{display:flex;align-items:center}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},_r,yr,S,{type:0,accent:1,padding:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","accent","padding"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get accent(){return this.$$.ctx[1]}set accent(e){this.$$set({accent:e}),h()}get padding(){return this.$$.ctx[2]}set padding(e){this.$$set({padding:e}),h()}}customElements.define("goa-container",kr);const we=[];function wt(i,e=p){let t;const r=new Set;function n(l){if(S(i,l)&&(i=l,t)){const s=!we.length;for(const c of r)c[1](),we.push(c,i);if(s){for(let c=0;c<we.length;c+=2)we[c][0](we[c+1]);we.length=0}}}function o(l){n(l(i))}function a(l,s=p){const c=[l,s];return r.add(c),r.size===1&&(t=e(n)||p),l(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:n,update:o,subscribe:a}}const Pe={};class xr{constructor(){this.store=wt()}subscribe(e){this.store.subscribe(t=>{e(t)})}notify(e){this.store.update(()=>e)}}function yt(i){const e=new xr;return Pe[i]=e,e}function _t(i){return Pe[i]}function kt(i){!Pe[i]||delete Pe[i]}const xt="bind";function Et(i,e,t){const r=i.slice();return r[39]=e[t],r[41]=t,r}function Ct(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(o,a){w(o,e,a),r||(n=U(e,"click",i[17]),r=!0)},p(o,a){a[0]&1&&t!==(t=`${o[0]}-dropdown-background`)&&d(e,"data-testid",t)},d(o){o&&z(e),r=!1,n()}}}function zt(i){let e,t=(i[39].label||i[39].value)+"",r,n,o,a,l,s,c,u,f;function g(){return i[21](i[39])}return{c(){e=b("li"),r=P(t),d(e,"id",n=i[39].label),d(e,"role","option"),d(e,"aria-label",o=i[39].label||i[39].value),d(e,"aria-selected",a=i[8].includes(i[39].value)?"true":"false"),d(e,"class","goa-dropdown-option"),d(e,"data-testid",l=`dropdown-item-${i[39].value}`),d(e,"data-index",s=i[41]),d(e,"style",c="display: block"),B(e,"goa-dropdown-option--disabled",!1),B(e,"goa-dropdown-option--tabbed",i[41]===i[12]),B(e,"goa-dropdown-option--selected",i[8].includes(i[39].value))},m(k,y){w(k,e,y),m(e,r),u||(f=U(e,"click",g),u=!0)},p(k,y){i=k,y[0]&512&&t!==(t=(i[39].label||i[39].value)+"")&&V(r,t),y[0]&512&&n!==(n=i[39].label)&&d(e,"id",n),y[0]&512&&o!==(o=i[39].label||i[39].value)&&d(e,"aria-label",o),y[0]&768&&a!==(a=i[8].includes(i[39].value)?"true":"false")&&d(e,"aria-selected",a),y[0]&512&&l!==(l=`dropdown-item-${i[39].value}`)&&d(e,"data-testid",l),y[0]&4096&&B(e,"goa-dropdown-option--tabbed",i[41]===i[12]),y[0]&768&&B(e,"goa-dropdown-option--selected",i[8].includes(i[39].value))},d(k){k&&z(e),u=!1,f()}}}function Er(i){let e,t,r,n,o,a,l,s,c,u,f,g,k,y,_=i[11]&&Ct(i),E=i[9],x=[];for(let v=0;v<E.length;v+=1)x[v]=zt(Et(i,E,v));return{c(){e=b("div"),_&&_.c(),t=A(),r=b("goa-input"),a=A(),l=b("ul");for(let v=0;v<x.length;v+=1)x[v].c();s=A(),c=b("slot"),this.c=p,C(r,"error",i[7]),C(r,"disabled",i[6]),C(r,"leadingicon",i[2]),C(r,"placeholder",i[4]),C(r,"width","100%"),C(r,"data-testid",n=`${i[0]}-dropdown-input`),C(r,"role","combobox"),C(r,"aria-label",o=i[1]||i[0]),C(r,"aria-expanded",i[11]),C(r,"aria-controls","menu"),C(r,"readonly",""),C(r,"trailingicon","chevron-down"),C(r,"type","text"),C(r,"value",i[10]),d(l,"id","menu"),d(l,"role","listbox"),d(l,"aria-activedescendant",i[10]),d(l,"data-testid","dropdown-menu"),d(l,"tabindex","0"),d(l,"class","goa-dropdown-list"),d(l,"style",u=`overflow-y: auto; max-height: ${i[3]}`),B(l,"dropdown-active",i[11]),d(e,"data-testid",f=`${i[0]}-dropdown`),d(e,"class","goa-dropdown-box"),d(e,"style",g=`--width: ${i[5]||i[13]}`)},m(v,M){w(v,e,M),_&&_.m(e,null),m(e,t),m(e,r),m(e,a),m(e,l);for(let L=0;L<x.length;L+=1)x[L].m(l,null);m(l,s),m(l,c),i[22](l),i[23](e),k||(y=U(r,"click",i[16]),k=!0)},p(v,M){if(v[11]?_?_.p(v,M):(_=Ct(v),_.c(),_.m(e,t)):_&&(_.d(1),_=null),M[0]&128&&C(r,"error",v[7]),M[0]&64&&C(r,"disabled",v[6]),M[0]&4&&C(r,"leadingicon",v[2]),M[0]&16&&C(r,"placeholder",v[4]),M[0]&1&&n!==(n=`${v[0]}-dropdown-input`)&&C(r,"data-testid",n),M[0]&3&&o!==(o=v[1]||v[0])&&C(r,"aria-label",o),M[0]&2048&&C(r,"aria-expanded",v[11]),M[0]&1024&&C(r,"value",v[10]),M[0]&267008){E=v[9];let L;for(L=0;L<E.length;L+=1){const R=Et(v,E,L);x[L]?x[L].p(R,M):(x[L]=zt(R),x[L].c(),x[L].m(l,s))}for(;L<x.length;L+=1)x[L].d(1);x.length=E.length}M[0]&1024&&d(l,"aria-activedescendant",v[10]),M[0]&8&&u!==(u=`overflow-y: auto; max-height: ${v[3]}`)&&d(l,"style",u),M[0]&2048&&B(l,"dropdown-active",v[11]),M[0]&1&&f!==(f=`${v[0]}-dropdown`)&&d(e,"data-testid",f),M[0]&8224&&g!==(g=`--width: ${v[5]||v[13]}`)&&d(e,"style",g)},i:p,o:p,d(v){v&&z(e),_&&_.d(),Re(x,v),i[22](null),i[23](null),k=!1,y()}}}const Cr="276px";function zr(i,e,t){let r,n,{name:o}=e,{arialabel:a=""}=e,{value:l=""}=e,{leadingicon:s=null}=e,{maxheight:c=Cr}=e,{placeholder:u=""}=e,{width:f=""}=e,{disabled:g="false"}=e,{error:k="false"}=e,{multiselect:y="false"}=e,_=[],E=[],x="",v=!1,M=0,L=0,R,T,j,K;X(()=>{const H=10;let te=0;const oe=setInterval(async()=>{te++,o&&T&&(ne(),Z(),Y(),clearInterval(oe)),te>H&&(console.error("goa-dropdown: missing the required `name` attribute. It must match the children's name attribute."),clearInterval(oe))},10)}),it(()=>{ue(),kt(o)});function ne(){T.addEventListener("focus",li,!0),T.addEventListener("blur",si,!0)}function ue(){T.removeEventListener("focus",li,!0),T.removeEventListener("blur",si,!0)}function Z(){let H;try{H=JSON.parse(l||"[]")}catch{H=[l]}t(8,_=(typeof H=="object"?H:[H]).map(oe=>`${oe}`))}function Y(){K=yt(o),K.subscribe(H=>{switch(H==null?void 0:H.type){case xt:{const te=H,oe=_.includes(te.value);t(9,E=[...E,Object.assign(Object.assign({},te),{selected:oe})]),oe&&t(10,x=te.label),!f&&L<te.label.length&&(L=te.label.length,t(13,R=`${Math.max(20,L+12)}ch`)),Fe();break}}})}async function J(){r||v||(t(11,v=!0),await De(),j.addEventListener("blur",ee),j.addEventListener("mouseover",ci))}function ee(){j.removeEventListener("blur",ee),j.removeEventListener("mouseover",ci),Fe(),t(11,v=!1)}function Fe(){t(12,M=E.findIndex(H=>_.includes(H.value)))}function I(H,te,oe){r||(t(10,x=te),n?(_.push(H),T.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,values:_}}))):(t(8,_=[H]),T.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:_[0]}}))),oe&&ee())}const Ce=H=>{switch(H.key){case" ":case"Enter":v?ee():J(),H.preventDefault();break;case"Escape":v&&ee(),H.preventDefault();break;case"ArrowDown":if(H.altKey){v?ee():J();break}uo(),H.preventDefault();break;case"ArrowUp":if(H.altKey){v?ee():J();break}fo(),H.preventDefault();break}};function uo(){M<E.length-1&&(t(12,M++,M),I(E[M].value,E[M].label,!1))}function fo(){M>0&&(t(12,M--,M),I(E[M].value,E[M].label,!1))}function li(){T.addEventListener("keydown",Ce)}function si(){T.removeEventListener("keydown",Ce)}function ci(H){t(12,M=Number(H.target.dataset.index))}const ho=H=>I(H.value,H.label,!0);function go(H){$[H?"unshift":"push"](()=>{j=H,t(15,j)})}function mo(H){$[H?"unshift":"push"](()=>{T=H,t(14,T)})}return i.$$set=H=>{"name"in H&&t(0,o=H.name),"arialabel"in H&&t(1,a=H.arialabel),"value"in H&&t(19,l=H.value),"leadingicon"in H&&t(2,s=H.leadingicon),"maxheight"in H&&t(3,c=H.maxheight),"placeholder"in H&&t(4,u=H.placeholder),"width"in H&&t(5,f=H.width),"disabled"in H&&t(6,g=H.disabled),"error"in H&&t(7,k=H.error),"multiselect"in H&&t(20,y=H.multiselect)},i.$$.update=()=>{i.$$.dirty[0]&64&&(r=q(g)),i.$$.dirty[0]&1048576&&(n=q(y))},[o,a,s,c,u,f,g,k,_,E,x,v,M,R,T,j,J,ee,I,l,y,ho,go,mo]}class Mr extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-dropdown-box{position:relative;cursor:pointer;display:inline-block;width:100%}@media(min-width: 640px){.goa-dropdown-box{width:var(--width)}}.goa-dropdown-background{cursor:default;position:fixed;z-index:98;inset:0}.goa-dropdown-list{position:absolute;left:0;right:0;padding:0;margin:0;margin-top:3px;list-style-type:none;background:var(--color-white);border-radius:var(--input-border-radius);outline:none;box-shadow:var(--shadow-1);z-index:99;scroll-behavior:smooth;scrollbar-width:thin;display:none}.dropdown-active{display:block}.goa-dropdown-list::-webkit-scrollbar{width:6px}.goa-dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.goa-dropdown-list::-webkit-scrollbar-thumb{background:#888}.goa-dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}.goa-dropdown-option{margin:0;padding:0.5rem;cursor:pointer;color:var(--color-black);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.goa-dropdown-option--tabbed{background:var(--color-gray-100);color:var(--goa-color-interactive--hover)}.goa-dropdown-option--disabled{opacity:0.5;cursor:default}.goa-dropdown-option--disabled:hover{cursor:default;color:var(--color-gray-600)}.goa-dropdown-option--selected{background:var(--goa-color-interactive);color:var(--color-white)}.goa-dropdown-option--tabbed.goa-dropdown-option--selected,.goa-dropdown-option--selected:hover{background:var(--goa-color-interactive--hover);color:var(--color-white)}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},zr,Er,S,{name:0,arialabel:1,value:19,leadingicon:2,maxheight:3,placeholder:4,width:5,disabled:6,error:7,multiselect:20},null,[-1,-1]),e&&(e.target&&w(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"]}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[19]}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[20]}set multiselect(e){this.$$set({multiselect:e}),h()}}customElements.define("goa-dropdown",Mr);function Lr(i){return{c(){this.c=p},m:p,p,i:p,o:p,d:p}}function Tr(i,e,t){let{name:r=""}=e,{value:n=""}=e,{label:o=""}=e,a;return X(()=>{const l=setInterval(()=>{if(r&&n){if(a=_t(r),!a)return;a.notify({type:xt,name:r,label:o,value:n}),clearInterval(l)}},10)}),i.$$set=l=>{"name"in l&&t(0,r=l.name),"value"in l&&t(1,n=l.value),"label"in l&&t(2,o=l.label)},[r,n,o]}class Rr extends D{constructor(e){super();O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Tr,Lr,S,{name:0,value:1,label:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","label"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),h()}get label(){return this.$$.ctx[2]}set label(e){this.$$set({label:e}),h()}}customElements.define("goa-dropdown-item",Rr);function Ar(i){let e,t;return{c(){e=b("div"),t=b("slot"),this.c=p,d(e,"class","goa-flex-col"),F(e,"gap",i[0])},m(r,n){w(r,e,n),m(e,t)},p(r,[n]){n&1&&F(e,"gap",r[0])},i:p,o:p,d(r){r&&z(e)}}}function Hr(i,e,t){let r,{gap:n=""}=e;return i.$$set=o=>{"gap"in o&&t(1,n=o.gap)},i.$$.update=()=>{i.$$.dirty&2&&t(0,r=n==="small"?"1rem":n==="medium"?"2rem":n==="large"?"3rem":"0")},[r,n]}class Ir extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);margin-bottom:3rem}.goa-flex-col{display:flex;flex-direction:column;gap:var(--gap)}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Hr,Ar,S,{gap:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap"]}get gap(){return this.$$.ctx[1]}set gap(e){this.$$set({gap:e}),h()}}customElements.define("goa-flex-col",Ir);function Sr(i){let e,t;return{c(){e=b("div"),t=b("slot"),this.c=p,d(e,"class","goa-flex-row"),F(e,"gap",i[0])},m(r,n){w(r,e,n),m(e,t)},p(r,[n]){n&1&&F(e,"gap",r[0])},i:p,o:p,d(r){r&&z(e)}}}function Br(i,e,t){let r,{gap:n=""}=e;return i.$$set=o=>{"gap"in o&&t(1,n=o.gap)},i.$$.update=()=>{i.$$.dirty&2&&t(0,r=n==="small"?"1rem":n==="medium"?"2rem":n==="large"?"3rem":"0")},[r,n]}class Dr extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-flex-row{display:flex;flex-direction:column;gap:var(--gap)}@media(min-width: 640px){.goa-flex-row{display:grid;grid-template-columns:repeat(auto-fit, minmax(100px, 1fr));gap:var(--gap);margin-bottom:1rem}}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Br,Sr,S,{gap:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap"]}get gap(){return this.$$.ctx[1]}set gap(e){this.$$set({gap:e}),h()}}customElements.define("goa-flex-row",Dr);function Nr(i){let e;return{c(){e=b("div"),e.innerHTML=`<slot></slot>
|
|
19
19
|
|
|
20
|
-
<span tabindex="0"></span>`,this.c=
|
|
20
|
+
<span tabindex="0"></span>`,this.c=p,d(e,"id","root")},m(t,r){w(t,e,r),i[4](e)},p,i:p,o:p,d(t){t&&z(e),i[4](null)}}}function Or(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 jr(i,e,t){let r,{active:n}=e,o=!1,a,l,s=!1;function c(){document.removeEventListener("focus",v,!0)}function u(){document.addEventListener("focus",v,!0)}function f(L){if(!L)return!1;for(const R of L)if(x(R)||f(R.childNodes)||g(R)||k(R))return!0;return!1}function g(L){if(!(L instanceof HTMLSlotElement))return!1;if(f(L.assignedNodes()))return!0}function k(L){var R;if(!(L instanceof HTMLElement))return!1;if(f((R=L.shadowRoot)===null||R===void 0?void 0:R.childNodes))return!0}function y(L){if(!L)return!1;for(let R=L.length-1;R>=0;R--){let T=L[R];if(x(T)||y(T.childNodes)||_(T)||E(T))return!0}return!1}function _(L){if(!(L instanceof HTMLSlotElement))return!1;if(y(L.assignedNodes()))return!0}function E(L){var R;if(!(L instanceof HTMLElement))return!1;if(y((R=L.shadowRoot)===null||R===void 0?void 0:R.childNodes))return!0}function x(L){if(!Or(L))return!1;try{o=!0,L.focus()}catch{}finally{o=!1}return document.activeElement===L}function v(L){var R;if(o)return;const T=(R=l.firstChild)===null||R===void 0?void 0:R.assignedElements();if(!(T==null?void 0:T.length))return;const j=T[0];if(L.composedPath().includes(j)){a=L.target;return}f(j.childNodes),a==document.activeElement&&y(j.childNodes),a=document.activeElement}function M(L){$[L?"unshift":"push"](()=>{l=L,t(0,l)})}return i.$$set=L=>{"active"in L&&t(1,n=L.active)},i.$$.update=()=>{i.$$.dirty&2&&t(3,r=q(n)),i.$$.dirty&12&&(r&&!s&&(u(),t(2,s=!0)),!r&&s&&(c(),t(2,s=!1)))},[l,n,s,r,M]}class Pr extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>#root{display:inline}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},jr,Nr,S,{active:1},null),e&&(e.target&&w(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",Pr);function Mt(i,e,t){const r=i.slice();return r[3]=e[t],r}function Lt(i){let e,t,r=i[3].innerHTML+"",n,o;return{c(){e=b("li"),t=b("a"),n=P(r),d(t,"href",o=i[3].href)},m(a,l){w(a,e,l),m(e,t),m(t,n)},p(a,l){l&2&&r!==(r=a[3].innerHTML+"")&&V(n,r),l&2&&o!==(o=a[3].href)&&d(t,"href",o)},d(a){a&&z(e)}}}function Fr(i){let e,t,r,n,o=i[1],a=[];for(let l=0;l<o.length;l+=1)a[l]=Lt(Mt(i,o,l));return{c(){e=b("section"),t=b("div"),t.innerHTML="<slot></slot>",r=A(),n=b("ul");for(let l=0;l<a.length;l+=1)a[l].c();this.c=p,d(t,"class","hidden")},m(l,s){w(l,e,s),m(e,t),m(e,r),m(e,n);for(let c=0;c<a.length;c+=1)a[c].m(n,null);i[2](e)},p(l,[s]){if(s&2){o=l[1];let c;for(c=0;c<o.length;c+=1){const u=Mt(l,o,c);a[c]?a[c].p(u,s):(a[c]=Lt(u),a[c].c(),a[c].m(n,null))}for(;c<a.length;c+=1)a[c].d(1);a.length=o.length}},i:p,o:p,d(l){l&&z(e),Re(a,l),i[2](null)}}}function qr(i,e,t){let r,n=[];X(async()=>{if(await De(),t(1,n=r.querySelector("slot").assignedElements()),!n.map(l=>l.hasAttribute("href")).reduce((l,s)=>l&&s,!0)){t(1,n=[]),console.warn("GoAFooterMetaSection children must be anchor elements.");return}});function o(a){$[a?"unshift":"push"](()=>{r=a,t(0,r)})}return[r,n,o]}class Gr extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>.hidden{display:none}ul{display:flex;flex-wrap:wrap;gap:1rem;padding-left:0}li{list-style-type:none}a{color:var(--goa-color-text);white-space:nowrap}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},qr,Fr,S,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-app-footer-meta-section",Gr);function Tt(i,e,t){const r=i.slice();return r[5]=e[t],r}function Rt(i){let e,t,r,n;return{c(){e=b("div"),t=P(i[0]),r=A(),n=b("goa-divider"),d(e,"class","title"),C(n,"spacing","small")},m(o,a){w(o,e,a),m(e,t),w(o,r,a),w(o,n,a)},p(o,a){a&1&&V(t,o[0])},d(o){o&&z(e),o&&z(r),o&&z(n)}}}function At(i){let e,t,r=i[5].innerHTML+"",n,o;return{c(){e=b("li"),t=b("a"),n=P(r),d(t,"href",o=i[5].href)},m(a,l){w(a,e,l),m(e,t),m(t,n)},p(a,l){l&8&&r!==(r=a[5].innerHTML+"")&&V(n,r),l&8&&o!==(o=a[5].href)&&d(t,"href",o)},d(a){a&&z(e)}}}function Vr(i){let e,t,r,n,o,a,l=i[0]&&Rt(i),s=i[3],c=[];for(let u=0;u<s.length;u+=1)c[u]=At(Tt(i,s,u));return{c(){e=b("section"),l&&l.c(),t=A(),r=b("div"),r.innerHTML="<slot></slot>",n=A(),o=b("ul");for(let u=0;u<c.length;u+=1)c[u].c();this.c=p,d(r,"class","hidden"),d(o,"class","links"),d(o,"style",a=`
|
|
21
21
|
--narrow-display-type: ${Math.ceil(i[1]/2)>1?"block":"flex"};
|
|
22
22
|
--narrow-column-count: ${Math.ceil(i[1]/2)};
|
|
23
23
|
--wide-display-type: ${i[1]>1?"block":"flex"};
|
|
24
24
|
--wide-column-count: ${i[1]};
|
|
25
|
-
`)},m(
|
|
26
|
-
--narrow-display-type: ${Math.ceil(
|
|
27
|
-
--narrow-column-count: ${Math.ceil(
|
|
28
|
-
--wide-display-type: ${
|
|
29
|
-
--wide-column-count: ${
|
|
30
|
-
`)&&
|
|
25
|
+
`)},m(u,f){w(u,e,f),l&&l.m(e,null),m(e,t),m(e,r),m(e,n),m(e,o);for(let g=0;g<c.length;g+=1)c[g].m(o,null);i[4](e)},p(u,[f]){if(u[0]?l?l.p(u,f):(l=Rt(u),l.c(),l.m(e,t)):l&&(l.d(1),l=null),f&8){s=u[3];let g;for(g=0;g<s.length;g+=1){const k=Tt(u,s,g);c[g]?c[g].p(k,f):(c[g]=At(k),c[g].c(),c[g].m(o,null))}for(;g<c.length;g+=1)c[g].d(1);c.length=s.length}f&2&&a!==(a=`
|
|
26
|
+
--narrow-display-type: ${Math.ceil(u[1]/2)>1?"block":"flex"};
|
|
27
|
+
--narrow-column-count: ${Math.ceil(u[1]/2)};
|
|
28
|
+
--wide-display-type: ${u[1]>1?"block":"flex"};
|
|
29
|
+
--wide-column-count: ${u[1]};
|
|
30
|
+
`)&&d(o,"style",a)},i:p,o:p,d(u){u&&z(e),l&&l.d(),Re(c,u),i[4](null)}}}function Ur(i,e,t){let{heading:r=""}=e,{maxcolumncount:n=1}=e,o,a=[];X(async()=>{if(await De(),t(3,a=o.querySelector("slot").assignedElements()),!a.map(u=>u.hasAttribute("href")).reduce((u,f)=>u&&f,!0)){t(3,a=[]),console.warn("GoAFooterNavSection children must be anchor elements.");return}const c=document.createElement("style");c.innerHTML=`
|
|
31
31
|
:host {
|
|
32
32
|
flex-grow: ${n};
|
|
33
33
|
}
|
|
34
|
-
`,o.appendChild(c)});function l(s){$[s?"unshift":"push"](()=>{o=s,t(2,o)})}return i.$$set=s=>{"heading"in s&&t(0,r=s.heading),"maxcolumncount"in s&&t(1,n=s.maxcolumncount)},[r,n,o,a,l]}class Kr extends D{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>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Wr,Ur,B,{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",Kr);function Ht(i){let e;return{c(){e=b("goa-divider"),z(e,"spacing","small")},m(t,r){p(t,e,r)},d(t){t&&M(e)}}}function Zr(i){let e,t,r,n,o,a,l,s,c,d,f,m,k,w=i[2]?.length&&Ht();return{c(){e=b("div"),t=b("div"),r=b("div"),r.innerHTML='<slot name="nav"></slot>',n=A(),w&&w.c(),o=A(),a=b("div"),l=b("div"),l.innerHTML='<slot name="meta"></slot>',s=A(),c=b("div"),d=b("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=A(),m=b("a"),m.textContent=`\xA9 ${i[4]} Government of Alberta`,this.c=v,u(r,"class","nav-links"),u(l,"class","meta-links"),u(d,"href","https://alberta.ca"),u(m,"href","https://alberta.ca"),u(m,"class","goa-copyright"),u(c,"class","abgov"),S(c,"with-meta-links",i[3]?.length),u(a,"class","meta-section"),S(a,"with-meta-links",i[3]?.length),u(t,"class","content"),u(e,"class","app-footer"),u(e,"style",k=`--max-content-width: ${i[0]||"100%"}`)},m(y,E){p(y,e,E),g(e,t),g(t,r),g(t,n),w&&w.m(t,null),g(t,o),g(t,a),g(a,l),g(a,s),g(a,c),g(c,d),g(c,f),g(c,m),i[5](e)},p(y,[E]){y[2]?.length?w||(w=Ht(),w.c(),w.m(t,o)):w&&(w.d(1),w=null),E&8&&S(c,"with-meta-links",y[3]?.length),E&8&&S(a,"with-meta-links",y[3]?.length),E&1&&k!==(k=`--max-content-width: ${y[0]||"100%"}`)&&u(e,"style",k)},i:v,o:v,d(y){y&&M(e),w&&w.d(),i[5](null)}}}function Xr(i,e,t){let{maxcontentwidth:r=""}=e,n,o,a;const l=new Date().getFullYear();X(async()=>{await De();const c=n.querySelector("slot[name=nav]"),d=n.querySelector("slot[name=meta]");t(2,o=c.assignedElements()),t(3,a=d.assignedElements())});function s(c){$[c?"unshift":"push"](()=>{n=c,t(1,n)})}return i.$$set=c=>{"maxcontentwidth"in c&&t(0,r=c.maxcontentwidth)},[r,n,o,a,l,s]}class Yr extends D{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>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Xr,Zr,B,{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",Yr);function It(i){let e,t,r,n=i[3]&&i[4].includes(i[3]),o=n&&St(i);return{c(){e=b("div"),t=P(i[0]),r=A(),o&&o.c(),u(e,"class","label")},m(a,l){p(a,e,l),g(e,t),g(e,r),o&&o.m(e,null)},p(a,l){l&1&&F(t,a[0]),l&8&&(n=a[3]&&a[4].includes(a[3])),n?o?o.p(a,l):(o=St(a),o.c(),o.m(e,null)):o&&(o.d(1),o=null)},d(a){a&&M(e),o&&o.d()}}}function St(i){let e,t,r,n;return{c(){e=b("em"),t=P("("),r=P(i[3]),n=P(")")},m(o,a){p(o,e,a),g(e,t),g(e,r),g(e,n)},p(o,a){a&8&&F(r,o[3])},d(o){o&&M(e)}}}function Bt(i){let e,t;return{c(){e=b("div"),t=P(i[2]),u(e,"class","error-msg")},m(r,n){p(r,e,n),g(e,t)},p(r,n){n&4&&F(t,r[2])},d(r){r&&M(e)}}}function Dt(i){let e,t;return{c(){e=b("div"),t=P(i[1]),u(e,"class","help-msg")},m(r,n){p(r,e,n),g(e,t)},p(r,n){n&2&&F(t,r[1])},d(r){r&&M(e)}}}function Jr(i){let e,t,r,n,o,a=i[0]&&It(i),l=i[2]&&Bt(i),s=i[1]&&Dt(i);return{c(){e=b("div"),a&&a.c(),t=A(),r=b("div"),r.innerHTML="<slot></slot>",n=A(),l&&l.c(),o=A(),s&&s.c(),this.c=v,u(r,"class","form-item-input"),u(e,"class","goa-form-item")},m(c,d){p(c,e,d),a&&a.m(e,null),g(e,t),g(e,r),g(e,n),l&&l.m(e,null),g(e,o),s&&s.m(e,null)},p(c,[d]){c[0]?a?a.p(c,d):(a=It(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[2]?l?l.p(c,d):(l=Bt(c),l.c(),l.m(e,o)):l&&(l.d(1),l=null),c[1]?s?s.p(c,d):(s=Dt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:v,o:v,d(c){c&&M(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function Qr(i,e,t){const r=["optional","required",""];function n(c){return r.includes(c)}let{label:o=""}=e,{helptext:a=""}=e,{error:l=""}=e,{requirement:s=""}=e;return X(()=>{n(s)||console.error("Invalid requirement type",s)}),i.$$set=c=>{"label"in c&&t(0,o=c.label),"helptext"in c&&t(1,a=c.helptext),"error"in c&&t(2,l=c.error),"requirement"in c&&t(3,s=c.requirement)},[o,a,l,s,r]}class $r extends D{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{font-size:var(--fs-sm);color:var(--goa-color-interactive--error);margin-bottom:0.25rem}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Qr,Jr,B,{label:0,helptext:1,error:2,requirement:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["label","helptext","error","requirement"]}get label(){return this.$$.ctx[0]}set label(e){this.$$set({label:e}),h()}get helptext(){return this.$$.ctx[1]}set helptext(e){this.$$set({helptext:e}),h()}get error(){return this.$$.ctx[2]}set error(e){this.$$set({error:e}),h()}get requirement(){return this.$$.ctx[3]}set requirement(e){this.$$set({requirement:e}),h()}}customElements.define("goa-form-item",$r);function en(i){let e,t,r,n,o,a,l,s;return{c(){e=b("div"),t=b("goa-page-block"),r=b("h1"),n=P(i[0]),o=A(),a=b("div"),a.innerHTML="<slot></slot>",l=A(),s=b("slot"),this.c=v,u(a,"class","goa-hero-banner-content"),u(a,"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")},m(c,d){p(c,e,d),g(e,t),g(t,r),g(r,n),g(t,o),g(t,a),g(t,l),g(t,s)},p(c,[d]){d&1&&F(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]+")")},i:v,o:v,d(c){c&&M(e)}}}function tn(i,e,t){let{heading:r}=e,{backgroundurl:n}=e;return i.$$set=o=>{"heading"in o&&t(0,r=o.heading),"backgroundurl"in o&&t(1,n=o.backgroundurl)},[r,n]}class rn extends D{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>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},tn,en,B,{heading:0,backgroundurl:1},null),e&&(e.target&&p(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",rn);function nn(i){let e,t,r,n;return{c(){e=b("button"),t=b("goa-icon"),this.c=v,z(t,"title",i[3]),z(t,"type",i[0]),z(t,"size",i[1]),z(t,"theme",i[2]),z(t,"inverted",i[5]),q(e,"--size",i[6]),u(e,"title",i[3]),e.disabled=i[7],u(e,"class",i[8]),u(e,"data-testid",i[4])},m(o,a){p(o,e,a),g(e,t),r||(n=U(e,"click",on),r=!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&32&&z(t,"inverted",o[5]),a&64&&q(e,"--size",o[6]),a&8&&u(e,"title",o[3]),a&128&&(e.disabled=o[7]),a&256&&u(e,"class",o[8]),a&16&&u(e,"data-testid",o[4])},i:v,o:v,d(o){o&&M(e),r=!1,n()}}}function on(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function an(i,e,t){let r,n,o,a,{icon:l}=e,{size:s="medium"}=e,{theme:c="outline"}=e,{variant:d="color"}=e,{title:f=""}=e,{testId:m=""}=e,{disabled:k}=e,{inverted:w}=e;return i.$$set=y=>{"icon"in y&&t(0,l=y.icon),"size"in y&&t(1,s=y.size),"theme"in y&&t(2,c=y.theme),"variant"in y&&t(9,d=y.variant),"title"in y&&t(3,f=y.title),"testId"in y&&t(4,m=y.testId),"disabled"in y&&t(10,k=y.disabled),"inverted"in y&&t(11,w=y.inverted)},i.$$.update=()=>{i.$$.dirty&2048&&t(5,o=G(w)),i.$$.dirty&544&&t(8,r=`${d} ${o?"inverted":""}`),i.$$.dirty&1024&&t(7,n=G(k)),i.$$.dirty&2&&t(6,a={small:"1rem",medium:"1rem",large:"2rem"}[s])},[l,s,c,f,m,o,a,n,r,d,k,w]}class ln extends D{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;padding:0 0.75rem}.color{border-radius:0.5rem;padding:calc(var(--size) / 4);color:var(--goa-color-interactive);fill:var(--goa-color-interactive);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.nocolor{border-radius:0.5rem;padding:calc(var(--size) / 4)}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}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},an,nn,B,{icon:0,size:1,theme:2,variant:9,title:3,testId:4,disabled:10,inverted:11},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"]}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[9]}set variant(e){this.$$set({variant:e}),h()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),h()}get testId(){return this.$$.ctx[4]}set testId(e){this.$$set({testId:e}),h()}get disabled(){return this.$$.ctx[10]}set disabled(e){this.$$set({disabled:e}),h()}get inverted(){return this.$$.ctx[11]}set inverted(e){this.$$set({inverted:e}),h()}}customElements.define("goa-icon-button",ln);function Nt(i){let e,t;return{c(){e=b("ion-icon"),z(e,"name",t=i[1]==="filled"||i[0].indexOf("logo")===0?i[0]:`${i[0]}-${i[1]}`)},m(r,n){p(r,e,n)},p(r,n){n&3&&t!==(t=r[1]==="filled"||r[0].indexOf("logo")===0?r[0]:`${r[0]}-${r[1]}`)&&z(e,"name",t)},d(r){r&&M(e)}}}function sn(i){let e,t,r,n=i[0]&&Nt(i);return{c(){e=b("div"),n&&n.c(),this.c=v,u(e,"class","goa-icon"),u(e,"data-testid",t=`icon-${i[0]}`),u(e,"title",i[5]),u(e,"style",r=`
|
|
34
|
+
`,o.appendChild(c)});function l(s){$[s?"unshift":"push"](()=>{o=s,t(2,o)})}return i.$$set=s=>{"heading"in s&&t(0,r=s.heading),"maxcolumncount"in s&&t(1,n=s.maxcolumncount)},[r,n,o,a,l]}class Wr extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{flex:auto}.title{font-size:var(--fs-xl);line-height:var(--lh-lg)}.hidden{display:none}.links{display:block;list-style-type:none;padding-left:0}@media(min-width: 720px){.links{display:var(--narrow-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--narrow-column-count)}}@media(min-width: 1024px){.links{display:var(--wide-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--wide-column-count)}}li{padding:0.75rem 0}a{color:var(--goa-color-text)}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Ur,Vr,S,{heading:0,maxcolumncount:1},null),e&&(e.target&&w(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",Wr);function Ht(i){let e;return{c(){e=b("goa-divider"),C(e,"spacing","small")},m(t,r){w(t,e,r)},d(t){t&&z(e)}}}function Kr(i){let e,t,r,n,o,a,l,s,c,u,f,g,k,y=i[2]?.length&&Ht();return{c(){e=b("div"),t=b("div"),r=b("div"),r.innerHTML='<slot name="nav"></slot>',n=A(),y&&y.c(),o=A(),a=b("div"),l=b("div"),l.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(),g=b("a"),g.textContent=`\xA9 ${i[4]} Government of Alberta`,this.c=p,d(r,"class","nav-links"),d(l,"class","meta-links"),d(u,"href","https://alberta.ca"),d(g,"href","https://alberta.ca"),d(g,"class","goa-copyright"),d(c,"class","abgov"),B(c,"with-meta-links",i[3]?.length),d(a,"class","meta-section"),B(a,"with-meta-links",i[3]?.length),d(t,"class","content"),d(e,"class","app-footer"),d(e,"style",k=`--max-content-width: ${i[0]||"100%"}`)},m(_,E){w(_,e,E),m(e,t),m(t,r),m(t,n),y&&y.m(t,null),m(t,o),m(t,a),m(a,l),m(a,s),m(a,c),m(c,u),m(c,f),m(c,g),i[5](e)},p(_,[E]){_[2]?.length?y||(y=Ht(),y.c(),y.m(t,o)):y&&(y.d(1),y=null),E&8&&B(c,"with-meta-links",_[3]?.length),E&8&&B(a,"with-meta-links",_[3]?.length),E&1&&k!==(k=`--max-content-width: ${_[0]||"100%"}`)&&d(e,"style",k)},i:p,o:p,d(_){_&&z(e),y&&y.d(),i[5](null)}}}function Zr(i,e,t){let{maxcontentwidth:r=""}=e,n,o,a;const l=new Date().getFullYear();X(async()=>{await De();const c=n.querySelector("slot[name=nav]"),u=n.querySelector("slot[name=meta]");t(2,o=c.assignedElements()),t(3,a=u.assignedElements())});function s(c){$[c?"unshift":"push"](()=>{n=c,t(1,n)})}return i.$$set=c=>{"maxcontentwidth"in c&&t(0,r=c.maxcontentwidth)},[r,n,o,a,l,s]}class Xr extends D{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>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Zr,Kr,S,{maxcontentwidth:0},null),e&&(e.target&&w(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",Xr);function It(i){let e,t,r,n=i[3]&&i[4].includes(i[3]),o=n&&St(i);return{c(){e=b("div"),t=P(i[0]),r=A(),o&&o.c(),d(e,"class","label")},m(a,l){w(a,e,l),m(e,t),m(e,r),o&&o.m(e,null)},p(a,l){l&1&&V(t,a[0]),l&8&&(n=a[3]&&a[4].includes(a[3])),n?o?o.p(a,l):(o=St(a),o.c(),o.m(e,null)):o&&(o.d(1),o=null)},d(a){a&&z(e),o&&o.d()}}}function St(i){let e,t,r,n;return{c(){e=b("em"),t=P("("),r=P(i[3]),n=P(")")},m(o,a){w(o,e,a),m(e,t),m(e,r),m(e,n)},p(o,a){a&8&&V(r,o[3])},d(o){o&&z(e)}}}function Bt(i){let e,t;return{c(){e=b("div"),t=P(i[2]),d(e,"class","error-msg")},m(r,n){w(r,e,n),m(e,t)},p(r,n){n&4&&V(t,r[2])},d(r){r&&z(e)}}}function Dt(i){let e,t;return{c(){e=b("div"),t=P(i[1]),d(e,"class","help-msg")},m(r,n){w(r,e,n),m(e,t)},p(r,n){n&2&&V(t,r[1])},d(r){r&&z(e)}}}function Yr(i){let e,t,r,n,o,a=i[0]&&It(i),l=i[2]&&Bt(i),s=i[1]&&Dt(i);return{c(){e=b("div"),a&&a.c(),t=A(),r=b("div"),r.innerHTML="<slot></slot>",n=A(),l&&l.c(),o=A(),s&&s.c(),this.c=p,d(r,"class","form-item-input"),d(e,"class","goa-form-item")},m(c,u){w(c,e,u),a&&a.m(e,null),m(e,t),m(e,r),m(e,n),l&&l.m(e,null),m(e,o),s&&s.m(e,null)},p(c,[u]){c[0]?a?a.p(c,u):(a=It(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[2]?l?l.p(c,u):(l=Bt(c),l.c(),l.m(e,o)):l&&(l.d(1),l=null),c[1]?s?s.p(c,u):(s=Dt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:p,o:p,d(c){c&&z(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function Jr(i,e,t){const r=["optional","required",""];function n(c){return r.includes(c)}let{label:o=""}=e,{helptext:a=""}=e,{error:l=""}=e,{requirement:s=""}=e;return X(()=>{n(s)||console.error("Invalid requirement type",s)}),i.$$set=c=>{"label"in c&&t(0,o=c.label),"helptext"in c&&t(1,a=c.helptext),"error"in c&&t(2,l=c.error),"requirement"in c&&t(3,s=c.requirement)},[o,a,l,s,r]}class Qr extends D{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{font-size:var(--fs-sm);color:var(--goa-color-interactive--error);margin-bottom:0.25rem}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Jr,Yr,S,{label:0,helptext:1,error:2,requirement:3},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["label","helptext","error","requirement"]}get label(){return this.$$.ctx[0]}set label(e){this.$$set({label:e}),h()}get helptext(){return this.$$.ctx[1]}set helptext(e){this.$$set({helptext:e}),h()}get error(){return this.$$.ctx[2]}set error(e){this.$$set({error:e}),h()}get requirement(){return this.$$.ctx[3]}set requirement(e){this.$$set({requirement:e}),h()}}customElements.define("goa-form-item",Qr);function $r(i){let e,t,r,n,o,a,l,s;return{c(){e=b("div"),t=b("goa-page-block"),r=b("h1"),n=P(i[0]),o=A(),a=b("div"),a.innerHTML="<slot></slot>",l=A(),s=b("slot"),this.c=p,d(a,"class","goa-hero-banner-content"),d(a,"role","note"),d(s,"name","actions"),C(t,"width","full"),d(e,"class","goa-hero"),d(e,"data-testid","background"),F(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]+")"),F(e,"background-size","cover"),F(e,"background-position","center"),F(e,"background-repeat","no-repeat")},m(c,u){w(c,e,u),m(e,t),m(t,r),m(r,n),m(t,o),m(t,a),m(t,l),m(t,s)},p(c,[u]){u&1&&V(n,c[0]),u&2&&F(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:p,o:p,d(c){c&&z(e)}}}function en(i,e,t){let{heading:r}=e,{backgroundurl:n}=e;return i.$$set=o=>{"heading"in o&&t(0,r=o.heading),"backgroundurl"in o&&t(1,n=o.backgroundurl)},[r,n]}class tn extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;min-height:600px;border-bottom:8px solid var(--goa-color-brand);color:var(--color-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--color-white);font-size:var(--fs-3xl);line-height:var(--lh-2xl);font-weight:var(--fw-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},en,$r,S,{heading:0,backgroundurl:1},null),e&&(e.target&&w(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",tn);function rn(i){let e,t,r,n;return{c(){e=b("button"),t=b("goa-icon"),this.c=p,C(t,"title",i[3]),C(t,"type",i[0]),C(t,"size",i[1]),C(t,"theme",i[2]),C(t,"inverted",i[5]),F(e,"--size",i[6]),d(e,"title",i[3]),e.disabled=i[7],d(e,"class",i[8]),d(e,"data-testid",i[4])},m(o,a){w(o,e,a),m(e,t),r||(n=U(e,"click",nn),r=!0)},p(o,[a]){a&8&&C(t,"title",o[3]),a&1&&C(t,"type",o[0]),a&2&&C(t,"size",o[1]),a&4&&C(t,"theme",o[2]),a&32&&C(t,"inverted",o[5]),a&64&&F(e,"--size",o[6]),a&8&&d(e,"title",o[3]),a&128&&(e.disabled=o[7]),a&256&&d(e,"class",o[8]),a&16&&d(e,"data-testid",o[4])},i:p,o:p,d(o){o&&z(e),r=!1,n()}}}function nn(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function on(i,e,t){let r,n,o,a,{icon:l}=e,{size:s="medium"}=e,{theme:c="outline"}=e,{variant:u="color"}=e,{title:f=""}=e,{testId:g=""}=e,{disabled:k}=e,{inverted:y}=e;return i.$$set=_=>{"icon"in _&&t(0,l=_.icon),"size"in _&&t(1,s=_.size),"theme"in _&&t(2,c=_.theme),"variant"in _&&t(9,u=_.variant),"title"in _&&t(3,f=_.title),"testId"in _&&t(4,g=_.testId),"disabled"in _&&t(10,k=_.disabled),"inverted"in _&&t(11,y=_.inverted)},i.$$.update=()=>{i.$$.dirty&2048&&t(5,o=q(y)),i.$$.dirty&544&&t(8,r=`${u} ${o?"inverted":""}`),i.$$.dirty&1024&&t(7,n=q(k)),i.$$.dirty&2&&t(6,a={small:"1rem",medium:"1rem",large:"2rem"}[s])},[l,s,c,f,g,o,a,n,r,u,k,y]}class an extends D{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;padding:0 0.75rem}.color{border-radius:0.5rem;padding:calc(var(--size) / 4);color:var(--goa-color-interactive);fill:var(--goa-color-interactive);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.nocolor{border-radius:0.5rem;padding:calc(var(--size) / 4)}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}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},on,rn,S,{icon:0,size:1,theme:2,variant:9,title:3,testId:4,disabled:10,inverted:11},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["icon","size","theme","variant","title","testId","disabled","inverted"]}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[9]}set variant(e){this.$$set({variant:e}),h()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),h()}get testId(){return this.$$.ctx[4]}set testId(e){this.$$set({testId:e}),h()}get disabled(){return this.$$.ctx[10]}set disabled(e){this.$$set({disabled:e}),h()}get inverted(){return this.$$.ctx[11]}set inverted(e){this.$$set({inverted:e}),h()}}customElements.define("goa-icon-button",an);function Nt(i){let e,t;return{c(){e=b("ion-icon"),C(e,"name",t=i[1]==="filled"||i[0].indexOf("logo")===0?i[0]:`${i[0]}-${i[1]}`)},m(r,n){w(r,e,n)},p(r,n){n&3&&t!==(t=r[1]==="filled"||r[0].indexOf("logo")===0?r[0]:`${r[0]}-${r[1]}`)&&C(e,"name",t)},d(r){r&&z(e)}}}function ln(i){let e,t,r,n=i[0]&&Nt(i);return{c(){e=b("div"),n&&n.c(),this.c=p,d(e,"class","goa-icon"),d(e,"data-testid",t=`icon-${i[0]}`),d(e,"title",i[5]),d(e,"style",r=`
|
|
35
35
|
--size: ${i[6]};
|
|
36
36
|
--fill-color: ${i[2]};
|
|
37
37
|
--hover-color: ${i[3]};
|
|
38
38
|
--opacity: ${i[4]};
|
|
39
|
-
`),
|
|
39
|
+
`),B(e,"inverted",i[7])},m(o,a){w(o,e,a),n&&n.m(e,null)},p(o,[a]){o[0]?n?n.p(o,a):(n=Nt(o),n.c(),n.m(e,null)):n&&(n.d(1),n=null),a&1&&t!==(t=`icon-${o[0]}`)&&d(e,"data-testid",t),a&32&&d(e,"title",o[5]),a&92&&r!==(r=`
|
|
40
40
|
--size: ${o[6]};
|
|
41
41
|
--fill-color: ${o[2]};
|
|
42
42
|
--hover-color: ${o[3]};
|
|
43
43
|
--opacity: ${o[4]};
|
|
44
|
-
`)&&
|
|
44
|
+
`)&&d(e,"style",r),a&128&&B(e,"inverted",o[7])},i:p,o:p,d(o){o&&z(e),n&&n.d()}}}function sn(i,e,t){let r,n,{type:o}=e,{size:a="medium"}=e,{theme:l="outline"}=e,{inverted:s="false"}=e,{fillcolor:c=""}=e,{hovercolor:u=""}=e,{opacity:f=1}=e,{title:g=""}=e;return i.$$set=k=>{"type"in k&&t(0,o=k.type),"size"in k&&t(8,a=k.size),"theme"in k&&t(1,l=k.theme),"inverted"in k&&t(9,s=k.inverted),"fillcolor"in k&&t(2,c=k.fillcolor),"hovercolor"in k&&t(3,u=k.hovercolor),"opacity"in k&&t(4,f=k.opacity),"title"in k&&t(5,g=k.title)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=q(s)),i.$$.dirty&256&&t(6,n={small:"1.25rem",medium:"1.5rem",large:"2rem"}[a])},[o,l,c,u,f,g,n,r,a,s]}class cn extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:inline-flex;align-items:center}ion-icon{pointer-events:none;width:100%;height:100%}.goa-icon{width:var(--size);height:var(--size);fill:var(--fill-color);color:var(--fill-color);opacity:var(--opacity);display:inline-flex;align-items:center;justify-content:center}.goa-icon:hover ion-icon{fill:var(--hover-color);color:var(--hover-color)}.inverted{color:#fff;fill:#fff}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},sn,ln,S,{type:0,size:8,theme:1,inverted:9,fillcolor:2,hovercolor:3,opacity:4,title:5},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","theme","inverted","fillcolor","hovercolor","opacity","title"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[8]}set size(e){this.$$set({size:e}),h()}get theme(){return this.$$.ctx[1]}set theme(e){this.$$set({theme:e}),h()}get inverted(){return this.$$.ctx[9]}set inverted(e){this.$$set({inverted:e}),h()}get fillcolor(){return this.$$.ctx[2]}set fillcolor(e){this.$$set({fillcolor:e}),h()}get hovercolor(){return this.$$.ctx[3]}set hovercolor(e){this.$$set({hovercolor:e}),h()}get opacity(){return this.$$.ctx[4]}set opacity(e){this.$$set({opacity:e}),h()}get title(){return this.$$.ctx[5]}set title(e){this.$$set({title:e}),h()}}customElements.define("goa-icon",cn);function Ot(i){let e,t;return{c(){e=b("div"),t=P(i[14]),d(e,"class","prefix")},m(r,n){w(r,e,n),m(e,t)},p(r,n){n&16384&&V(t,r[14])},d(r){r&&z(e)}}}function jt(i){let e;return{c(){e=b("goa-icon"),C(e,"class","goa-input-leading-icon"),C(e,"data-testid","leading-icon"),C(e,"type",i[5])},m(t,r){w(t,e,r)},p(t,r){r&32&&C(e,"type",t[5])},d(t){t&&z(e)}}}function Pt(i){let e;return{c(){e=b("goa-icon"),C(e,"class","goa-input-trailing-icon"),C(e,"data-testid","trailing-icon"),C(e,"size","medium"),C(e,"type",i[6])},m(t,r){w(t,e,r)},p(t,r){r&64&&C(e,"type",t[6])},d(t){t&&z(e)}}}function Ft(i){let e,t,r;return{c(){e=b("goa-icon-button"),C(e,"disabled",i[17]),C(e,"variant","nocolor"),C(e,"size","medium"),C(e,"icon",i[6]),C(e,"data-testid","trailing-icon-button")},m(n,o){w(n,e,o),t||(r=U(e,"click",un),t=!0)},p(n,o){o&131072&&C(e,"disabled",n[17]),o&64&&C(e,"icon",n[6])},d(n){n&&z(e),t=!1,r()}}}function qt(i){let e,t;return{c(){e=b("span"),t=P(i[15]),d(e,"class","suffix")},m(r,n){w(r,e,n),m(e,t)},p(r,n){n&32768&&V(t,r[15])},d(r){r&&z(e)}}}function dn(i){let e,t,r,n,o,a,l,s,c,u,f,g,k,y,_,E=i[14]&&Ot(i),x=i[5]&&jt(i),v=i[6]&&!i[20]&&Pt(i),M=i[6]&&i[20]&&Ft(i),L=i[15]&&qt(i);return{c(){e=b("div"),t=b("div"),E&&E.c(),r=A(),x&&x.c(),n=A(),o=b("input"),c=A(),v&&v.c(),u=A(),M&&M.c(),f=A(),L&&L.c(),this.c=p,d(o,"class",a=`input--${i[7]}`),d(o,"style",l=`--search-icon-offset: ${i[6]?"-0.5rem":"0"}`),o.readOnly=i[19],o.disabled=i[17],d(o,"data-testid",i[8]),d(o,"autocapitalize",i[3]),d(o,"name",i[2]),d(o,"type",i[1]),o.value=i[0],d(o,"placeholder",i[4]),d(o,"min",i[11]),d(o,"max",i[12]),d(o,"step",i[13]),d(o,"role","textbox"),d(o,"aria-label",s=i[10]||i[2]),d(t,"class",g=`
|
|
45
45
|
goa-input
|
|
46
46
|
${i[17]?"goa-input--disabled":""}
|
|
47
47
|
variant--${i[7]}
|
|
48
48
|
type--${i[1]}
|
|
49
|
-
`),
|
|
49
|
+
`),B(t,"error",i[18]),d(e,"class","container"),d(e,"style",k=`
|
|
50
50
|
--width: ${i[9]};
|
|
51
|
-
`)},m(R,T){
|
|
51
|
+
`)},m(R,T){w(R,e,T),m(e,t),E&&E.m(t,null),m(t,r),x&&x.m(t,null),m(t,n),m(t,o),i[28](o),m(t,c),v&&v.m(t,null),m(t,u),M&&M.m(t,null),m(t,f),L&&L.m(t,null),y||(_=[U(o,"keyup",i[21]),U(o,"change",i[21])],y=!0)},p(R,[T]){R[14]?E?E.p(R,T):(E=Ot(R),E.c(),E.m(t,r)):E&&(E.d(1),E=null),R[5]?x?x.p(R,T):(x=jt(R),x.c(),x.m(t,n)):x&&(x.d(1),x=null),T&128&&a!==(a=`input--${R[7]}`)&&d(o,"class",a),T&64&&l!==(l=`--search-icon-offset: ${R[6]?"-0.5rem":"0"}`)&&d(o,"style",l),T&524288&&(o.readOnly=R[19]),T&131072&&(o.disabled=R[17]),T&256&&d(o,"data-testid",R[8]),T&8&&d(o,"autocapitalize",R[3]),T&4&&d(o,"name",R[2]),T&2&&d(o,"type",R[1]),T&1&&o.value!==R[0]&&(o.value=R[0]),T&16&&d(o,"placeholder",R[4]),T&2048&&d(o,"min",R[11]),T&4096&&d(o,"max",R[12]),T&8192&&d(o,"step",R[13]),T&1028&&s!==(s=R[10]||R[2])&&d(o,"aria-label",s),R[6]&&!R[20]?v?v.p(R,T):(v=Pt(R),v.c(),v.m(t,u)):v&&(v.d(1),v=null),R[6]&&R[20]?M?M.p(R,T):(M=Ft(R),M.c(),M.m(t,f)):M&&(M.d(1),M=null),R[15]?L?L.p(R,T):(L=qt(R),L.c(),L.m(t,null)):L&&(L.d(1),L=null),T&131202&&g!==(g=`
|
|
52
52
|
goa-input
|
|
53
53
|
${R[17]?"goa-input--disabled":""}
|
|
54
54
|
variant--${R[7]}
|
|
55
55
|
type--${R[1]}
|
|
56
|
-
`)&&
|
|
56
|
+
`)&&d(t,"class",g),T&393346&&B(t,"error",R[18]),T&512&&k!==(k=`
|
|
57
57
|
--width: ${R[9]};
|
|
58
|
-
`)&&
|
|
59
|
-
center center no-repeat}</style>`,
|
|
60
|
-
`),d&&d.c(),u(e,"data-testid","type"),u(e,"class",n="service-type service-type--"+i[0].toLowerCase()),u(s,"href","https://www.alberta.ca/index.aspx"),u(a,"data-testid","site-text"),u(a,"class","site-text")},m(f,m){p(f,e,m),g(e,r),p(f,o,m),p(f,a,m),g(a,l),g(a,s),g(a,c),d&&d.m(a,null)},p(f,m){m&1&&t!==(t=Kt(f[0])+"")&&F(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=Ut(f),d.c(),d.m(a,null)):d&&(d.d(1),d=null)},d(f){f&&M(e),f&&M(o),f&&M(a),d&&d.d()}}}function Ut(i){let e,t,r,n;return{c(){e=b("span"),t=P("\u2014 help us improve it by giving "),r=b("a"),n=P("feedback"),u(r,"href",i[2]),u(e,"data-testid","feedback")},m(o,a){p(o,e,a),g(e,t),g(e,r),g(r,n)},p(o,a){a&4&&u(r,"href",o[2])},d(o){o&&M(e)}}}function Wt(i){let e,t;return{c(){e=b("div"),t=P(i[1]),u(e,"data-testid","version"),u(e,"class","version")},m(r,n){p(r,e,n),g(e,t)},p(r,n){n&2&&F(t,r[1])},d(r){r&&M(e)}}}function mn(i){let e,t,r=["alpha","beta"].includes(i[0]),n,o,a,l=i[0]==="live"&&Gt(),s=r&&Vt(i),c=i[1]&&Wt(i);return{c(){e=b("header"),l&&l.c(),t=A(),s&&s.c(),n=A(),o=b("div"),a=A(),c&&c.c(),this.c=v,u(o,"class","spacer"),u(e,"class","goa-official-site-header")},m(d,f){p(d,e,f),l&&l.m(e,null),g(e,t),s&&s.m(e,null),g(e,n),g(e,o),g(e,a),c&&c.m(e,null)},p(d,[f]){d[0]==="live"?l||(l=Gt(),l.c(),l.m(e,t)):l&&(l.d(1),l=null),f&1&&(r=["alpha","beta"].includes(d[0])),r?s?s.p(d,f):(s=Vt(d),s.c(),s.m(e,n)):s&&(s.d(1),s=null),d[1]?c?c.p(d,f):(c=Wt(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:v,o:v,d(d){d&&M(e),l&&l.d(),s&&s.d(),c&&c.d()}}}function Kt(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function bn(i,e,t){let{type:r}=e,{version:n=""}=e,{feedbackurl:o=""}=e;return i.$$set=a=>{"type"in a&&t(0,r=a.type),"version"in a&&t(1,n=a.version),"feedbackurl"in a&&t(2,o=a.feedbackurl)},[r,n,o]}class vn extends D{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>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},bn,mn,B,{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",vn);function Zt(i){let e,t,r,n,o,a,l,s,c,d,f,m,k,w,y,E,x,_,L,C,R,T=i[0]&&Xt(i),O=i[3]&&Yt(i);function K(Z,Y){return pn}let ue=K()(i);return{c(){e=b("goa-focus-trap"),t=b("div"),r=b("div"),n=A(),o=b("div"),T&&T.c(),a=A(),O&&O.c(),l=A(),s=b("div"),ue.c(),c=A(),d=b("slot"),f=A(),m=b("div"),m.innerHTML='<slot name="actions"></slot>',u(r,"data-testid","modal-overlay"),u(r,"class","modal-overlay"),u(s,"data-testid","modal-content"),u(s,"class","modal-content"),u(m,"data-testid","modal-actions"),u(m,"class","modal-actions"),u(o,"class","modal-pane"),u(t,"data-testid","modal"),u(t,"class","modal"),u(t,"style",y=""+((i[2]&&`--width: ${i[2]};`)+";")),z(e,"active",i[1])},m(Z,Y){p(Z,e,Y),g(e,t),g(t,r),g(t,n),g(t,o),T&&T.m(o,null),g(o,a),O&&O.m(o,null),g(o,l),g(o,s),ue.m(s,null),g(s,c),g(s,d),g(o,f),g(o,m),L=!0,C||(R=[U(r,"click",i[6]),Je(E=mt.call(null,t,{enable:i[5]}))],C=!0)},p(Z,Y){i=Z,i[0]?T?T.p(i,Y):(T=Xt(i),T.c(),T.m(o,a)):T&&(T.d(1),T=null),i[3]?O?O.p(i,Y):(O=Yt(i),O.c(),O.m(o,l)):O&&(O.d(1),O=null),(!L||Y&4&&y!==(y=""+((i[2]&&`--width: ${i[2]};`)+";")))&&u(t,"style",y),E&&le(E.update)&&Y&32&&E.update.call(null,{enable:i[5]}),(!L||Y&2)&&z(e,"active",i[1])},i(Z){L||(ie(()=>{w&&w.end(1),k=at(o,gt,{duration:i[4],y:200}),k.start()}),ie(()=>{_&&_.end(1),x=at(t,pe,{duration:i[4]}),x.start()}),L=!0)},o(Z){k&&k.invalidate(),w=lt(o,gt,{delay:i[4],duration:i[4],y:-100}),x&&x.invalidate(),_=lt(t,pe,{delay:i[4],duration:i[4]}),L=!1},d(Z){Z&&M(e),T&&T.d(),O&&O.d(),ue.d(),Z&&w&&w.end(),Z&&_&&_.end(),C=!1,Q(R)}}}function Xt(i){let e,t;return{c(){e=b("div"),t=P(i[0]),u(e,"data-testid","modal-title"),u(e,"class","modal-title")},m(r,n){p(r,e,n),g(e,t)},p(r,n){n&1&&F(t,r[0])},d(r){r&&M(e)}}}function Yt(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon-button"),z(t,"data-testid","modal-close-button"),z(t,"icon","close"),u(e,"class","modal-close")},m(o,a){p(o,e,a),g(e,t),r||(n=U(t,"click",i[6]),r=!0)},p:v,d(o){o&&M(e),r=!1,n()}}}function pn(i){let e;return{c(){e=b("goa-scrollable"),e.innerHTML="<slot></slot>",z(e,"direction","vertical"),z(e,"height","50"),z(e,"hpadding","1.75")},m(t,r){p(t,e,r)},d(t){t&&M(e)}}}function wn(i){let e,t,r=i[5]&&Zt(i);return{c(){r&&r.c(),e=ae(),this.c=v},m(n,o){r&&r.m(n,o),p(n,e,o),t=!0},p(n,[o]){n[5]?r?(r.p(n,o),o&32&&V(r,1)):(r=Zt(n),r.c(),V(r,1),r.m(e.parentNode,e)):r&&(be(),W(r,1,1,()=>{r=null}),ve())},i(n){t||(V(r),t=!0)},o(n){W(r),t=!1},d(n){r&&r.d(n),n&&M(e)}}}function yn(i,e,t){let r,n,o,{heading:a=""}=e,{closable:l="false"}=e,{open:s="false"}=e,{transition:c="none"}=e,{width:d=""}=e;function f(m){!r||(m.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),m.stopPropagation())}return i.$$set=m=>{"heading"in m&&t(0,a=m.heading),"closable"in m&&t(7,l=m.closable),"open"in m&&t(1,s=m.open),"transition"in m&&t(8,c=m.transition),"width"in m&&t(2,d=m.width)},i.$$.update=()=>{i.$$.dirty&128&&t(3,r=G(l)),i.$$.dirty&2&&t(5,n=G(s)),i.$$.dirty&256&&t(4,o=c==="none"?0:c==="slow"?400:200)},[a,s,d,r,o,n,f,l,c]}class _n extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.modal{font-family:var(--font-family);position:fixed;inset:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:90%;margin:1rem;box-shadow:var(--shadow-2);border-radius:4px;max-height:90%}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch);max-height:80%}}.modal-actions{text-align:right;padding:0 1.75rem;margin:1.75rem 0;flex:1 1 auto}.modal-close{position:absolute;top:1rem;right:1rem}.modal-title{font-size:var(--fs-xl);padding-bottom:1rem;padding:0 1.75rem;margin:1.75rem 0;margin-right:40px;flex:0 0 auto}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},yn,wn,B,{heading:0,closable:7,open:1,transition:8,width:2},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"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get closable(){return this.$$.ctx[7]}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[8]}set transition(e){this.$$set({transition:e}),h()}get width(){return this.$$.ctx[2]}set width(e){this.$$set({width:e}),h()}}customElements.define("goa-modal",_n);function Jt(i){let e,t,r,n,o,a,l,s,c,d,f,m,k;return{c(){e=b("div"),t=b("div"),r=b("goa-icon"),n=A(),o=b("div"),o.innerHTML="<slot></slot>",a=A(),l=b("div"),s=b("goa-icon-button"),z(r,"type",i[2]),z(r,"inverted",""),u(t,"class","icon"),u(o,"class","content"),z(s,"icon","close"),z(s,"inverted",""),u(l,"class","close"),u(e,"class",c="notification "+i[0])},m(w,y){p(w,e,y),g(e,t),g(t,r),g(e,n),g(e,o),g(e,a),g(e,l),g(l,s),f=!0,m||(k=U(s,"click",i[3]),m=!0)},p(w,y){(!f||y&4)&&z(r,"type",w[2]),(!f||y&1&&c!==(c="notification "+w[0]))&&u(e,"class",c)},i(w){f||(ie(()=>{d||(d=Oe(e,pe,{},!0)),d.run(1)}),f=!0)},o(w){d||(d=Oe(e,pe,{},!1)),d.run(0),f=!1},d(w){w&&M(e),w&&d&&d.end(),m=!1,k()}}}function kn(i){let e,t,r=i[1]&&Jt(i);return{c(){r&&r.c(),e=ae(),this.c=v},m(n,o){r&&r.m(n,o),p(n,e,o),t=!0},p(n,[o]){n[1]?r?(r.p(n,o),o&2&&V(r,1)):(r=Jt(n),r.c(),V(r,1),r.m(e.parentNode,e)):r&&(be(),W(r,1,1,()=>{r=null}),ve())},i(n){t||(V(r),t=!0)},o(n){W(r),t=!1},d(n){r&&r.d(n),n&&M(e)}}}function xn(i,e,t){let r,{type:n}=e,o=!0;function a(){t(1,o=!1)}return i.$$set=l=>{"type"in l&&t(0,n=l.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=n==="emergency"?"warning":n==="caution"?"alert-circle":n==="information"?"information-circle":"calendar")},[n,o,r,a]}class En extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;align-items:center;gap:1rem;border-radius:3px}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.caution{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info);color:var(--color-white)}.event{background-color:var(--goa-color-status-success);color:var(--color-white)}.icon{flex:0 0 auto;align-self:flex-start}.content{flex:1 1 auto}.close{flex:0 0 auto;align-self:flex-start}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},xn,kn,B,{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",En);const Cn=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function zn(i){return Cn.test(i)}function Mn(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=v,u(e,"class","page-content"),u(e,"style",r=`--max-width: ${i[0]}`)},m(n,o){p(n,e,o),g(e,t)},p(n,[o]){o&1&&r!==(r=`--max-width: ${n[0]}`)&&u(e,"style",r)},i:v,o:v,d(n){n&&M(e)}}}function Ln(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:o}=e;function a(l){return!!(["full"].includes(n)||zn(l))}return X(()=>{a(n)||console.error("Invalid PageBlock width"),t(0,o=r[n]||n)}),i.$$set=l=>{"width"in l&&t(1,n=l.width),"_width"in l&&t(0,o=l._width)},[o,n]}class Tn extends D{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>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Ln,Mn,B,{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",Tn);const Qt="bind";function $t(i,e,t){const r=i.slice();return r[14]=e[t],r}function ei(i,e){let t,r,n,o,a,l,s,c,d=(e[14].label||e[14].value)+"",f,m,k,w,y;function E(){return e[11](e[14])}return{key:i,first:null,c(){t=b("label"),r=b("input"),a=A(),l=b("div"),s=A(),c=b("span"),f=P(d),m=A(),u(r,"type","radio"),u(r,"name",e[1]),r.value=n=e[14].value,r.disabled=e[7],r.checked=o=e[14].value===e[0],u(l,"class","goa-radio-icon"),u(c,"class","goa-radio-label"),u(t,"data-testid",k="radio-option-"+e[14].value),u(t,"class","goa-radio"),S(t,"goa-radio--disabled",e[7]),S(t,"goa-radio--error",e[5]),this.first=t},m(x,_){p(x,t,_),g(t,r),g(t,a),g(t,l),g(t,s),g(t,c),g(c,f),g(t,m),w||(y=U(r,"change",E),w=!0)},p(x,_){e=x,_&2&&u(r,"name",e[1]),_&16&&n!==(n=e[14].value)&&(r.value=n),_&128&&(r.disabled=e[7]),_&17&&o!==(o=e[14].value===e[0])&&(r.checked=o),_&16&&d!==(d=(e[14].label||e[14].value)+"")&&F(f,d),_&16&&k!==(k="radio-option-"+e[14].value)&&u(t,"data-testid",k),_&128&&S(t,"goa-radio--disabled",e[7]),_&32&&S(t,"goa-radio--error",e[5])},d(x){x&&M(t),w=!1,y()}}}function Rn(i){let e,t,r,n=[],o=new Map,a,l=i[4];const s=c=>c[14].value;for(let c=0;c<l.length;c+=1){let d=$t(i,l,c),f=s(d);o.set(f,n[c]=ei(f,d))}return{c(){e=b("div"),t=b("slot"),r=A();for(let c=0;c<n.length;c+=1)n[c].c();this.c=v,u(e,"class",a=`goa-radio-group--${i[2]}`),u(e,"data-testid",i[3])},m(c,d){p(c,e,d),g(e,t),g(e,r);for(let f=0;f<n.length;f+=1)n[f].m(e,null);i[12](e)},p(c,[d]){d&435&&(l=c[4],n=xi(n,d,s,1,c,l,o,e,ki,ei,null,$t)),d&4&&a!==(a=`goa-radio-group--${c[2]}`)&&u(e,"class",a),d&8&&u(e,"data-testid",c[3])},i:v,o:v,d(c){c&&M(e);for(let d=0;d<n.length;d+=1)n[d].d();i[12](null)}}}function An(i,e,t){let r,{name:n}=e,{value:o}=e,{orientation:a="vertical"}=e,{disabled:l="false"}=e,{error:s="false"}=e,{testid:c=""}=e,d=[],f,m,k;X(()=>{const x=10;let _=0;const L=setInterval(async()=>{_++,n&&(m=yt(n),m.subscribe(C=>{switch(C==null?void 0:C.type){case Qt:t(4,d=[...d,C])}}),clearInterval(L)),_>x&&(console.error("goa-radio: missing the required `name` attribute. It must match the children's name attribute."),clearInterval(L))},10)});function w(x){x!==o&&(t(0,o=x),k.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:n,value:o}})))}it(()=>{kt(n)});const y=x=>w(x.value);function E(x){$[x?"unshift":"push"](()=>{k=x,t(6,k)})}return i.$$set=x=>{"name"in x&&t(1,n=x.name),"value"in x&&t(0,o=x.value),"orientation"in x&&t(2,a=x.orientation),"disabled"in x&&t(9,l=x.disabled),"error"in x&&t(10,s=x.error),"testid"in x&&t(3,c=x.testid)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=G(l)),i.$$.dirty&1024&&t(5,f=G(s))},[o,n,a,c,d,f,k,r,w,l,s,y,E]}class Hn extends D{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:inline-block}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;display:inline-block;box-sizing:border-box;display:flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0;margin:0;opacity:0}input[type="radio"]:hover~.goa-radio-icon{border-color:var(--goa-color-interactive--hover)}input[type="radio"]:focus~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio-label{padding:0.5rem;font-weight:var(--fw-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out;flex:0 0 auto}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio--disabled{opacity:0.4}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active)}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active)}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-color-status-emergency)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-color-status-emergency)}</style>',j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},An,Rn,B,{name:1,value:0,orientation:2,disabled:9,error:10,testid:3},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"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get orientation(){return this.$$.ctx[2]}set orientation(e){this.$$set({orientation:e}),h()}get disabled(){return this.$$.ctx[9]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[10]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-radio-group",Hn);function In(i){return{c(){this.c=v},m:v,p:v,i:v,o:v,d:v}}function Sn(i,e,t){let{value:r}=e,{label:n}=e,{name:o}=e,a;return X(()=>{const l=10;let s=0;const c=setInterval(()=>{if(s++,o){if(a=_t(o),!a)return;a.notify({type:Qt,value:r,label:n}),clearInterval(c)}s>l&&(console.error("goa-radio-item: missing the required `name` attribute. It must match the parent's name attribute."),clearInterval(c))},10)}),i.$$set=l=>{"value"in l&&t(0,r=l.value),"label"in l&&t(1,n=l.label),"name"in l&&t(2,o=l.name)},[r,n,o]}class Bn extends D{constructor(e){super();j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Sn,In,B,{value:0,label:1,name:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["value","label","name"]}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get label(){return this.$$.ctx[1]}set label(e){this.$$set({label:e}),h()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),h()}}customElements.define("goa-radio-item",Bn);function Dn(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=v,u(e,"class","goa-scrollable"),u(e,"style",r=`
|
|
58
|
+
`)&&d(e,"style",k)},i:p,o:p,d(R){R&&z(e),E&&E.d(),x&&x.d(),i[28](null),v&&v.d(),M&&M.d(),L&&L.d(),y=!1,Q(_)}}}function un(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function fn(i,e,t){let r,n,o,a,l,{type:s="text"}=e,{name:c=""}=e,{value:u=""}=e,{autocapitalize:f="off"}=e,{placeholder:g=""}=e,{leadingicon:k=null}=e,{trailingicon:y=null}=e,{variant:_="goa"}=e,{disabled:E="false"}=e,{handletrailingiconclick:x="false"}=e,{focused:v="false"}=e,{readonly:M="false"}=e,{error:L="false"}=e,{testid:R=""}=e,{width:T="30ch"}=e,{arialabel:j=null}=e,{min:K=null}=e,{max:ne=null}=e,{step:ue=null}=e,{prefix:Z=""}=e,{suffix:Y=""}=e,J;function ee(I){const Ce=I.target;I.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:c,value:Ce.value}})),t(0,u=Ce.value)}function Fe(I){$[I?"unshift":"push"](()=>{J=I,t(16,J)})}return i.$$set=I=>{"type"in I&&t(1,s=I.type),"name"in I&&t(2,c=I.name),"value"in I&&t(0,u=I.value),"autocapitalize"in I&&t(3,f=I.autocapitalize),"placeholder"in I&&t(4,g=I.placeholder),"leadingicon"in I&&t(5,k=I.leadingicon),"trailingicon"in I&&t(6,y=I.trailingicon),"variant"in I&&t(7,_=I.variant),"disabled"in I&&t(22,E=I.disabled),"handletrailingiconclick"in I&&t(23,x=I.handletrailingiconclick),"focused"in I&&t(24,v=I.focused),"readonly"in I&&t(25,M=I.readonly),"error"in I&&t(26,L=I.error),"testid"in I&&t(8,R=I.testid),"width"in I&&t(9,T=I.width),"arialabel"in I&&t(10,j=I.arialabel),"min"in I&&t(11,K=I.min),"max"in I&&t(12,ne=I.max),"step"in I&&t(13,ue=I.step),"prefix"in I&&t(14,Z=I.prefix),"suffix"in I&&t(15,Y=I.suffix)},i.$$.update=()=>{i.$$.dirty&8388608&&t(20,r=q(x)),i.$$.dirty&16777216&&t(27,n=q(v)),i.$$.dirty&33554432&&t(19,o=q(M)),i.$$.dirty&67108864&&t(18,a=q(L)),i.$$.dirty&4194304&&t(17,l=q(E)),i.$$.dirty&134283264&&n&&J&&setTimeout(()=>J.focus(),1),i.$$.dirty&65538&&J&&s==="search"&&J.addEventListener("search",I=>{ee(I)})},[u,s,c,f,g,k,y,_,R,T,j,K,ne,ue,Z,Y,J,l,a,o,r,ee,E,x,v,M,L,n,Fe]}class hn extends D{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box}.container{position:relative;width:100%}@media(min-width: 640px){.container{width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:var(--input-border-radius);background:white;display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%}.goa-input:hover{border-color:var(--goa-color-interactive--hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text);font-size:var(--input-font-size);padding:var(--input-padding);line-height:calc(40px - calc(var(--input-padding) * 2));background-color:transparent;width:0;flex:1 1 auto}input[type=text],input[type=date],input[type="datetime-local"],input[type=number]{font-family:var(--font-family)}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--color-gray-100);border-color:var(--color-gray-200);cursor:default;box-shadow:none}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}.prefix,.suffix{background-color:var(--color-gray-100);padding:0 0.75rem;display:flex;align-items:center}.prefix{border-top-left-radius:var(--input-border-radius);border-bottom-left-radius:var(--input-border-radius);border-right:1px solid var(--color-gray-600)}.suffix{border-top-right-radius:var(--input-border-radius);border-bottom-right-radius:var(--input-border-radius);border-left:1px solid var(--color-gray-600)}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}input[type="search" i]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
|
|
59
|
+
center center no-repeat}</style>`,O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},fn,dn,S,{type:1,name:2,value:0,autocapitalize:3,placeholder:4,leadingicon:5,trailingicon:6,variant:7,disabled:22,handletrailingiconclick:23,focused:24,readonly:25,error:26,testid:8,width:9,arialabel:10,min:11,max:12,step:13,prefix:14,suffix:15},null),e&&(e.target&&w(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"]}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[22]}set disabled(e){this.$$set({disabled:e}),h()}get handletrailingiconclick(){return this.$$.ctx[23]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),h()}get focused(){return this.$$.ctx[24]}set focused(e){this.$$set({focused:e}),h()}get readonly(){return this.$$.ctx[25]}set readonly(e){this.$$set({readonly:e}),h()}get error(){return this.$$.ctx[26]}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()}}customElements.define("goa-input",hn);function Gt(i){let e,t,r;return{c(){e=b("div"),e.innerHTML='<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13 26C20.1797 26 26 20.1797 26 13C26 5.8203 20.1797 0 13 0C5.8203 0 0 5.8203 0 13C0 20.1797 5.8203 26 13 26Z" fill="#00AAD2"></path><path d="M16.9764 17.7174C15.942 17.3358 14.9325 16.8896 13.9539 16.3817C14.8446 16.0551 15.7131 15.6708 16.5539 15.2312C16.6398 16.0688 16.7831 16.8995 16.9829 17.7174H16.9764ZM22.5339 7.42143C22.1016 7.36618 22.3259 7.56931 22.2089 8.13968C21.863 9.3075 21.2806 10.3917 20.4978 11.3248C19.7151 12.258 18.7487 13.0201 17.6589 13.5639C17.3972 10.9368 17.5336 8.28529 18.0635 5.69893C18.5104 4.07393 19.0385 4.3778 18.3885 4.03818C17.6946 3.68068 16.9471 4.15356 16.3443 5.35931C14.4174 9.81946 11.7695 13.932 8.50689 17.5322C7.96404 18.2422 7.16875 18.7161 6.28592 18.8556C5.40309 18.9951 4.50044 18.7894 3.76514 18.2813C3.43039 17.9986 3.30689 18.4357 3.72289 18.8826C4.47366 19.5882 5.47211 19.9699 6.50216 19.945C7.53222 19.92 8.51102 19.4905 9.22677 18.7493C12.0405 15.3939 14.429 11.7038 16.3378 7.76268C16.1901 9.91268 16.2243 12.0713 16.4401 14.2156C15.4158 14.7181 14.3475 15.1256 13.2486 15.4327C12.6181 15.5952 12.2281 15.8552 12.2168 16.1461C12.2054 16.4711 12.6279 16.7359 13.2405 17.0252C14.3293 17.5419 17.5191 19.0499 18.3056 19.5066C18.9784 19.8966 19.3066 19.5927 19.5065 19.1702C19.7665 18.6209 19.0531 18.3041 18.369 18.0961C18.0632 16.9353 17.8555 15.7508 17.7483 14.5552C19.4404 13.5939 20.8636 12.2226 21.8871 10.5674C22.1817 9.98406 22.4001 9.36529 22.5371 8.7263C22.6338 8.3321 22.6602 7.92393 22.6151 7.52056C22.6151 7.52056 22.6038 7.43281 22.5371 7.42468" fill="white"></path></svg>',t=A(),r=b("div"),r.innerHTML='An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>',d(e,"class","service-type service-type--live"),d(r,"data-testid","type"),d(r,"class","site-text")},m(n,o){w(n,e,o),w(n,t,o),w(n,r,o)},d(n){n&&z(e),n&&z(t),n&&z(r)}}}function Vt(i){let e,t=Kt(i[0])+"",r,n,o,a,l,s,c,u=i[2]&&Ut(i);return{c(){e=b("div"),r=P(t),o=A(),a=b("div"),l=P("This is a new "),s=b("a"),s.textContent="Alberta Government",c=P(` service
|
|
60
|
+
`),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,g){w(f,e,g),m(e,r),w(f,o,g),w(f,a,g),m(a,l),m(a,s),m(a,c),u&&u.m(a,null)},p(f,g){g&1&&t!==(t=Kt(f[0])+"")&&V(r,t),g&1&&n!==(n="service-type service-type--"+f[0].toLowerCase())&&d(e,"class",n),f[2]?u?u.p(f,g):(u=Ut(f),u.c(),u.m(a,null)):u&&(u.d(1),u=null)},d(f){f&&z(e),f&&z(o),f&&z(a),u&&u.d()}}}function Ut(i){let e,t,r,n;return{c(){e=b("span"),t=P("\u2014 help us improve it by giving "),r=b("a"),n=P("feedback"),d(r,"href",i[2]),d(e,"data-testid","feedback")},m(o,a){w(o,e,a),m(e,t),m(e,r),m(r,n)},p(o,a){a&4&&d(r,"href",o[2])},d(o){o&&z(e)}}}function Wt(i){let e,t;return{c(){e=b("div"),t=P(i[1]),d(e,"data-testid","version"),d(e,"class","version")},m(r,n){w(r,e,n),m(e,t)},p(r,n){n&2&&V(t,r[1])},d(r){r&&z(e)}}}function gn(i){let e,t,r=["alpha","beta"].includes(i[0]),n,o,a,l=i[0]==="live"&&Gt(),s=r&&Vt(i),c=i[1]&&Wt(i);return{c(){e=b("header"),l&&l.c(),t=A(),s&&s.c(),n=A(),o=b("div"),a=A(),c&&c.c(),this.c=p,d(o,"class","spacer"),d(e,"class","goa-official-site-header")},m(u,f){w(u,e,f),l&&l.m(e,null),m(e,t),s&&s.m(e,null),m(e,n),m(e,o),m(e,a),c&&c.m(e,null)},p(u,[f]){u[0]==="live"?l||(l=Gt(),l.c(),l.m(e,t)):l&&(l.d(1),l=null),f&1&&(r=["alpha","beta"].includes(u[0])),r?s?s.p(u,f):(s=Vt(u),s.c(),s.m(e,n)):s&&(s.d(1),s=null),u[1]?c?c.p(u,f):(c=Wt(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:p,o:p,d(u){u&&z(e),l&&l.d(),s&&s.d(),c&&c.d()}}}function Kt(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function mn(i,e,t){let{type:r}=e,{version:n=""}=e,{feedbackurl:o=""}=e;return i.$$set=a=>{"type"in a&&t(0,r=a.type),"version"in a&&t(1,n=a.version),"feedbackurl"in a&&t(2,o=a.feedbackurl)},[r,n,o]}class bn extends D{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>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},mn,gn,S,{type:0,version:1,feedbackurl:2},null),e&&(e.target&&w(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",bn);function Zt(i){let e,t,r,n,o,a,l,s,c,u,f,g,k,y,_,E,x,v,M,L,R,T=i[0]&&Xt(i),j=i[3]&&Yt(i);function K(Z,Y){return vn}let ue=K()(i);return{c(){e=b("goa-focus-trap"),t=b("div"),r=b("div"),n=A(),o=b("div"),T&&T.c(),a=A(),j&&j.c(),l=A(),s=b("div"),ue.c(),c=A(),u=b("slot"),f=A(),g=b("div"),g.innerHTML='<slot name="actions"></slot>',d(r,"data-testid","modal-overlay"),d(r,"class","modal-overlay"),d(s,"data-testid","modal-content"),d(s,"class","modal-content"),d(g,"data-testid","modal-actions"),d(g,"class","modal-actions"),d(o,"class","modal-pane"),d(t,"data-testid","modal"),d(t,"class","modal"),d(t,"style",_=""+((i[2]&&`--width: ${i[2]};`)+";")),C(e,"active",i[1])},m(Z,Y){w(Z,e,Y),m(e,t),m(t,r),m(t,n),m(t,o),T&&T.m(o,null),m(o,a),j&&j.m(o,null),m(o,l),m(o,s),ue.m(s,null),m(s,c),m(s,u),m(o,f),m(o,g),M=!0,L||(R=[U(r,"click",i[6]),Je(E=mt.call(null,t,{enable:i[5]}))],L=!0)},p(Z,Y){i=Z,i[0]?T?T.p(i,Y):(T=Xt(i),T.c(),T.m(o,a)):T&&(T.d(1),T=null),i[3]?j?j.p(i,Y):(j=Yt(i),j.c(),j.m(o,l)):j&&(j.d(1),j=null),(!M||Y&4&&_!==(_=""+((i[2]&&`--width: ${i[2]};`)+";")))&&d(t,"style",_),E&&ae(E.update)&&Y&32&&E.update.call(null,{enable:i[5]}),(!M||Y&2)&&C(e,"active",i[1])},i(Z){M||(ie(()=>{y&&y.end(1),k=at(o,gt,{duration:i[4],y:200}),k.start()}),ie(()=>{v&&v.end(1),x=at(t,pe,{duration:i[4]}),x.start()}),M=!0)},o(Z){k&&k.invalidate(),y=lt(o,gt,{delay:i[4],duration:i[4],y:-100}),x&&x.invalidate(),v=lt(t,pe,{delay:i[4],duration:i[4]}),M=!1},d(Z){Z&&z(e),T&&T.d(),j&&j.d(),ue.d(),Z&&y&&y.end(),Z&&v&&v.end(),L=!1,Q(R)}}}function Xt(i){let e,t;return{c(){e=b("div"),t=P(i[0]),d(e,"data-testid","modal-title"),d(e,"class","modal-title")},m(r,n){w(r,e,n),m(e,t)},p(r,n){n&1&&V(t,r[0])},d(r){r&&z(e)}}}function Yt(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon-button"),C(t,"data-testid","modal-close-button"),C(t,"icon","close"),d(e,"class","modal-close")},m(o,a){w(o,e,a),m(e,t),r||(n=U(t,"click",i[6]),r=!0)},p,d(o){o&&z(e),r=!1,n()}}}function vn(i){let e;return{c(){e=b("goa-scrollable"),e.innerHTML="<slot></slot>",C(e,"direction","vertical"),C(e,"height","50"),C(e,"hpadding","1.75")},m(t,r){w(t,e,r)},d(t){t&&z(e)}}}function pn(i){let e,t,r=i[5]&&Zt(i);return{c(){r&&r.c(),e=le(),this.c=p},m(n,o){r&&r.m(n,o),w(n,e,o),t=!0},p(n,[o]){n[5]?r?(r.p(n,o),o&32&&G(r,1)):(r=Zt(n),r.c(),G(r,1),r.m(e.parentNode,e)):r&&(be(),W(r,1,1,()=>{r=null}),ve())},i(n){t||(G(r),t=!0)},o(n){W(r),t=!1},d(n){r&&r.d(n),n&&z(e)}}}function wn(i,e,t){let r,n,o,{heading:a=""}=e,{closable:l="false"}=e,{open:s="false"}=e,{transition:c="none"}=e,{width:u=""}=e;function f(g){!r||(g.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),g.stopPropagation())}return i.$$set=g=>{"heading"in g&&t(0,a=g.heading),"closable"in g&&t(7,l=g.closable),"open"in g&&t(1,s=g.open),"transition"in g&&t(8,c=g.transition),"width"in g&&t(2,u=g.width)},i.$$.update=()=>{i.$$.dirty&128&&t(3,r=q(l)),i.$$.dirty&2&&t(5,n=q(s)),i.$$.dirty&256&&t(4,o=c==="none"?0:c==="slow"?400:200)},[a,s,u,r,o,n,f,l,c]}class yn extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.modal{font-family:var(--font-family);position:fixed;inset:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:90%;margin:1rem;box-shadow:var(--shadow-2);border-radius:4px;max-height:90%}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch);max-height:80%}}.modal-actions{text-align:right;padding:0 1.75rem;margin:1.75rem 0;flex:1 1 auto}.modal-close{position:absolute;top:1rem;right:1rem}.modal-title{font-size:var(--fs-xl);padding-bottom:1rem;padding:0 1.75rem;margin:1.75rem 0;margin-right:40px;flex:0 0 auto}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},wn,pn,S,{heading:0,closable:7,open:1,transition:8,width:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","closable","open","transition","width"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get closable(){return this.$$.ctx[7]}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[8]}set transition(e){this.$$set({transition:e}),h()}get width(){return this.$$.ctx[2]}set width(e){this.$$set({width:e}),h()}}customElements.define("goa-modal",yn);function Jt(i){let e,t,r,n,o,a,l,s,c,u,f,g,k;return{c(){e=b("div"),t=b("div"),r=b("goa-icon"),n=A(),o=b("div"),o.innerHTML="<slot></slot>",a=A(),l=b("div"),s=b("goa-icon-button"),C(r,"type",i[2]),C(r,"inverted",""),d(t,"class","icon"),d(o,"class","content"),C(s,"icon","close"),C(s,"inverted",""),d(l,"class","close"),d(e,"class",c="notification "+i[0])},m(y,_){w(y,e,_),m(e,t),m(t,r),m(e,n),m(e,o),m(e,a),m(e,l),m(l,s),f=!0,g||(k=U(s,"click",i[3]),g=!0)},p(y,_){(!f||_&4)&&C(r,"type",y[2]),(!f||_&1&&c!==(c="notification "+y[0]))&&d(e,"class",c)},i(y){f||(ie(()=>{u||(u=je(e,pe,{},!0)),u.run(1)}),f=!0)},o(y){u||(u=je(e,pe,{},!1)),u.run(0),f=!1},d(y){y&&z(e),y&&u&&u.end(),g=!1,k()}}}function _n(i){let e,t,r=i[1]&&Jt(i);return{c(){r&&r.c(),e=le(),this.c=p},m(n,o){r&&r.m(n,o),w(n,e,o),t=!0},p(n,[o]){n[1]?r?(r.p(n,o),o&2&&G(r,1)):(r=Jt(n),r.c(),G(r,1),r.m(e.parentNode,e)):r&&(be(),W(r,1,1,()=>{r=null}),ve())},i(n){t||(G(r),t=!0)},o(n){W(r),t=!1},d(n){r&&r.d(n),n&&z(e)}}}function kn(i,e,t){let r,{type:n}=e,o=!0;function a(){t(1,o=!1)}return i.$$set=l=>{"type"in l&&t(0,n=l.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=n==="emergency"?"warning":n==="caution"?"alert-circle":n==="information"?"information-circle":"calendar")},[n,o,r,a]}class xn extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;align-items:center;gap:1rem;border-radius:3px}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.caution{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info);color:var(--color-white)}.event{background-color:var(--goa-color-status-success);color:var(--color-white)}.icon{flex:0 0 auto;align-self:flex-start}.content{flex:1 1 auto}.close{flex:0 0 auto;align-self:flex-start}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},kn,_n,S,{type:0},null),e&&(e.target&&w(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",xn);const En=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function Cn(i){return En.test(i)}function zn(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=p,d(e,"class","page-content"),d(e,"style",r=`--max-width: ${i[0]}`)},m(n,o){w(n,e,o),m(e,t)},p(n,[o]){o&1&&r!==(r=`--max-width: ${n[0]}`)&&d(e,"style",r)},i:p,o:p,d(n){n&&z(e)}}}function Mn(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:o}=e;function a(l){return!!(["full"].includes(n)||Cn(l))}return X(()=>{a(n)||console.error("Invalid PageBlock width"),t(0,o=r[n]||n)}),i.$$set=l=>{"width"in l&&t(1,n=l.width),"_width"in l&&t(0,o=l._width)},[o,n]}class Ln extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1.75rem}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Mn,zn,S,{width:1,_width:0},null),e&&(e.target&&w(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",Ln);const Qt="bind";function $t(i,e,t){const r=i.slice();return r[14]=e[t],r}function ei(i,e){let t,r,n,o,a,l,s,c,u=(e[14].label||e[14].value)+"",f,g,k,y,_;function E(){return e[11](e[14])}return{key:i,first:null,c(){t=b("label"),r=b("input"),a=A(),l=b("div"),s=A(),c=b("span"),f=P(u),g=A(),d(r,"type","radio"),d(r,"name",e[1]),r.value=n=e[14].value,r.disabled=e[7],r.checked=o=e[14].value===e[0],d(l,"class","goa-radio-icon"),d(c,"class","goa-radio-label"),d(t,"data-testid",k="radio-option-"+e[14].value),d(t,"class","goa-radio"),B(t,"goa-radio--disabled",e[7]),B(t,"goa-radio--error",e[5]),this.first=t},m(x,v){w(x,t,v),m(t,r),m(t,a),m(t,l),m(t,s),m(t,c),m(c,f),m(t,g),y||(_=U(r,"change",E),y=!0)},p(x,v){e=x,v&2&&d(r,"name",e[1]),v&16&&n!==(n=e[14].value)&&(r.value=n),v&128&&(r.disabled=e[7]),v&17&&o!==(o=e[14].value===e[0])&&(r.checked=o),v&16&&u!==(u=(e[14].label||e[14].value)+"")&&V(f,u),v&16&&k!==(k="radio-option-"+e[14].value)&&d(t,"data-testid",k),v&128&&B(t,"goa-radio--disabled",e[7]),v&32&&B(t,"goa-radio--error",e[5])},d(x){x&&z(t),y=!1,_()}}}function Tn(i){let e,t,r,n=[],o=new Map,a,l=i[4];const s=c=>c[14].value;for(let c=0;c<l.length;c+=1){let u=$t(i,l,c),f=s(u);o.set(f,n[c]=ei(f,u))}return{c(){e=b("div"),t=b("slot"),r=A();for(let c=0;c<n.length;c+=1)n[c].c();this.c=p,d(e,"class",a=`goa-radio-group--${i[2]}`),d(e,"data-testid",i[3])},m(c,u){w(c,e,u),m(e,t),m(e,r);for(let f=0;f<n.length;f+=1)n[f].m(e,null);i[12](e)},p(c,[u]){u&435&&(l=c[4],n=ki(n,u,s,1,c,l,o,e,_i,ei,null,$t)),u&4&&a!==(a=`goa-radio-group--${c[2]}`)&&d(e,"class",a),u&8&&d(e,"data-testid",c[3])},i:p,o:p,d(c){c&&z(e);for(let u=0;u<n.length;u+=1)n[u].d();i[12](null)}}}function Rn(i,e,t){let r,{name:n}=e,{value:o}=e,{orientation:a="vertical"}=e,{disabled:l="false"}=e,{error:s="false"}=e,{testid:c=""}=e,u=[],f,g,k;X(()=>{const x=10;let v=0;const M=setInterval(async()=>{v++,n&&(g=yt(n),g.subscribe(L=>{switch(L==null?void 0:L.type){case Qt:t(4,u=[...u,L])}}),clearInterval(M)),v>x&&(console.error("goa-radio: missing the required `name` attribute. It must match the children's name attribute."),clearInterval(M))},10)});function y(x){x!==o&&(t(0,o=x),k.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:n,value:o}})))}it(()=>{kt(n)});const _=x=>y(x.value);function E(x){$[x?"unshift":"push"](()=>{k=x,t(6,k)})}return i.$$set=x=>{"name"in x&&t(1,n=x.name),"value"in x&&t(0,o=x.value),"orientation"in x&&t(2,a=x.orientation),"disabled"in x&&t(9,l=x.disabled),"error"in x&&t(10,s=x.error),"testid"in x&&t(3,c=x.testid)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=q(l)),i.$$.dirty&1024&&t(5,f=q(s))},[o,n,a,c,u,f,k,r,y,l,s,_,E]}class An extends D{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:inline-block}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;display:inline-block;box-sizing:border-box;display:flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0;margin:0;opacity:0}input[type="radio"]:hover~.goa-radio-icon{border-color:var(--goa-color-interactive--hover)}input[type="radio"]:focus~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio-label{padding:0.5rem;font-weight:var(--fw-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out;flex:0 0 auto}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio--disabled{opacity:0.4}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active)}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active)}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-color-status-emergency)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-color-status-emergency)}</style>',O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Rn,Tn,S,{name:1,value:0,orientation:2,disabled:9,error:10,testid:3},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","orientation","disabled","error","testid"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get orientation(){return this.$$.ctx[2]}set orientation(e){this.$$set({orientation:e}),h()}get disabled(){return this.$$.ctx[9]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[10]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-radio-group",An);function Hn(i){return{c(){this.c=p},m:p,p,i:p,o:p,d:p}}function In(i,e,t){let{value:r}=e,{label:n}=e,{name:o}=e,a;return X(()=>{const l=10;let s=0;const c=setInterval(()=>{if(s++,o){if(a=_t(o),!a)return;a.notify({type:Qt,value:r,label:n}),clearInterval(c)}s>l&&(console.error("goa-radio-item: missing the required `name` attribute. It must match the parent's name attribute."),clearInterval(c))},10)}),i.$$set=l=>{"value"in l&&t(0,r=l.value),"label"in l&&t(1,n=l.label),"name"in l&&t(2,o=l.name)},[r,n,o]}class Sn extends D{constructor(e){super();O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},In,Hn,S,{value:0,label:1,name:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["value","label","name"]}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get label(){return this.$$.ctx[1]}set label(e){this.$$set({label:e}),h()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),h()}}customElements.define("goa-radio-item",Sn);function Bn(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=p,d(e,"class","goa-scrollable"),d(e,"style",r=`
|
|
61
61
|
--max-height: ${i[3]};
|
|
62
62
|
overflow-y: ${i[0]==="vertical"?"auto":"hidden"};
|
|
63
63
|
overflow-x: ${i[0]==="horizontal"?"auto":"hidden"};
|
|
64
64
|
margin: ${i[2]}rem 0;
|
|
65
65
|
padding: 0 ${i[1]}rem;
|
|
66
|
-
`)},m(n,o){
|
|
66
|
+
`)},m(n,o){w(n,e,o),m(e,t)},p(n,[o]){o&15&&r!==(r=`
|
|
67
67
|
--max-height: ${n[3]};
|
|
68
68
|
overflow-y: ${n[0]==="vertical"?"auto":"hidden"};
|
|
69
69
|
overflow-x: ${n[0]==="horizontal"?"auto":"hidden"};
|
|
70
70
|
margin: ${n[2]}rem 0;
|
|
71
71
|
padding: 0 ${n[1]}rem;
|
|
72
|
-
`)&&u(e,"style",r)},i:v,o:v,d(n){n&&M(e)}}}function Nn(i,e,t){let{direction:r="vertical"}=e,{hpadding:n=0}=e,{vpadding:o=0}=e,{height:a=0}=e;return i.$$set=l=>{"direction"in l&&t(0,r=l.direction),"hpadding"in l&&t(1,n=l.hpadding),"vpadding"in l&&t(2,o=l.vpadding),"height"in l&&t(3,a=l.height)},[r,n,o,a]}class jn extends D{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>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Nn,Dn,B,{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",jn);function ti(i,e,t){const r=i.slice();return r[4]=e[t],r}function On(i){let e,t;return{c(){e=b("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:v,o:v,d(r){r&&M(e)}}}function Pn(i){let e,t,r=Array(i[2]),n=[];for(let a=0;a<r.length;a+=1)n[a]=ii(ti(i,r,a));const o=a=>W(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;a<n.length;a+=1)n[a].c();e=ae()},m(a,l){for(let s=0;s<n.length;s+=1)n[s].m(a,l);p(a,e,l),t=!0},p(a,l){if(l&6){r=Array(a[2]);let s;for(s=0;s<r.length;s+=1){const c=ti(a,r,s);n[s]?(n[s].p(c,l),V(n[s],1)):(n[s]=ii(c),n[s].c(),V(n[s],1),n[s].m(e.parentNode,e))}for(be(),s=r.length;s<n.length;s+=1)o(s);ve()}},i(a){if(!t){for(let l=0;l<r.length;l+=1)V(n[l]);t=!0}},o(a){n=n.filter(Boolean);for(let l=0;l<n.length;l+=1)W(n[l]);t=!1},d(a){Re(n,a),a&&M(e)}}}function Fn(i){let e,t,r,n,o,a,l,s,c,d;return r=new de({props:{type:"avatar",size:i[1]}}),a=new de({props:{type:"title",size:i[1]}}),s=new de({props:{type:"text-small",size:i[1]}}),{c(){e=b("div"),t=b("div"),ge(r.$$.fragment),n=A(),o=b("div"),ge(a.$$.fragment),l=A(),ge(s.$$.fragment),u(t,"class","profile-avatar"),u(o,"class","profile-name"),u(e,"class",c="profile profile-"+i[1])},m(f,m){p(f,e,m),g(e,t),se(r,t,null),g(e,n),g(e,o),se(a,o,null),g(o,l),se(s,o,null),d=!0},p(f,m){const k={};m&2&&(k.size=f[1]),r.$set(k);const w={};m&2&&(w.size=f[1]),a.$set(w);const y={};m&2&&(y.size=f[1]),s.$set(y),(!d||m&2&&c!==(c="profile profile-"+f[1]))&&u(e,"class",c)},i(f){d||(V(r.$$.fragment,f),V(a.$$.fragment,f),V(s.$$.fragment,f),d=!0)},o(f){W(r.$$.fragment,f),W(a.$$.fragment,f),W(s.$$.fragment,f),d=!1},d(f){f&&M(e),ce(r),ce(a),ce(s)}}}function qn(i){let e,t,r,n,o,a,l,s,c;return t=new de({props:{type:"image",size:i[1]}}),o=new de({props:{type:"header",size:i[1]}}),l=new de({props:{type:"lines",size:i[1],linecount:3}}),{c(){e=b("div"),ge(t.$$.fragment),r=A(),n=b("div"),ge(o.$$.fragment),a=A(),ge(l.$$.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),se(t,e,null),g(e,r),g(e,n),se(o,n,null),g(n,a),se(l,n,null),c=!0},p(d,f){const m={};f&2&&(m.size=d[1]),t.$set(m);const k={};f&2&&(k.size=d[1]),o.$set(k);const w={};f&2&&(w.size=d[1]),l.$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||(V(t.$$.fragment,d),V(o.$$.fragment,d),V(l.$$.fragment,d),c=!0)},o(d){W(t.$$.fragment,d),W(o.$$.fragment,d),W(l.$$.fragment,d),c=!1},d(d){d&&M(e),ce(t),ce(o),ce(l)}}}function ii(i){let e,t;return e=new de({props:{type:"text",size:i[1],linecount:i[2]}}),{c(){ge(e.$$.fragment)},m(r,n){se(e,r,n),t=!0},p(r,n){const o={};n&2&&(o.size=r[1]),n&4&&(o.linecount=r[2]),e.$set(o)},i(r){t||(V(e.$$.fragment,r),t=!0)},o(r){W(e.$$.fragment,r),t=!1},d(r){ce(e,r)}}}function Gn(i){let e,t,r,n;const o=[qn,Fn,Pn,On],a=[];function l(s,c){return s[3]==="card"?0:s[3]==="profile"?1:s[3]==="lines"?2:3}return e=l(i),t=a[e]=o[e](i),{c(){t.c(),r=ae(),this.c=v},m(s,c){a[e].m(s,c),p(s,r,c),n=!0},p(s,[c]){let d=e;e=l(s),e===d?a[e].p(s,c):(be(),W(a[d],1,1,()=>{a[d]=null}),ve(),t=a[e],t?t.p(s,c):(t=a[e]=o[e](s),t.c()),V(t,1),t.m(r.parentNode,r))},i(s){n||(V(t),n=!0)},o(s){W(t),n=!1},d(s){a[e].d(s),s&&M(r)}}}function Vn(i,e,t){let{maxwidth:r=""}=e,{size:n=1}=e,{linecount:o=3}=e,{type:a}=e;return i.$$set=l=>{"maxwidth"in l&&t(0,r=l.maxwidth),"size"in l&&t(1,n=l.size),"linecount"in l&&t(2,o=l.linecount),"type"in l&&t(3,a=l.type)},[r,n,o,a]}class de extends D{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>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Vn,Gn,B,{maxwidth:0,size:1,linecount:2,type:3},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"]}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()}}customElements.define("goa-skeleton",de);function ri(i){return Object.prototype.toString.call(i)==="[object Date]"}function Ze(i,e){if(i===e||i!==i)return()=>i;const t=typeof i;if(t!==typeof e||Array.isArray(i)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(i)){const r=e.map((n,o)=>Ze(i[o],n));return n=>r.map(o=>o(n))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(ri(i)&&ri(e)){i=i.getTime(),e=e.getTime();const o=e-i;return a=>new Date(i+a*o)}const r=Object.keys(e),n={};return r.forEach(o=>{n[o]=Ze(i[o],e[o])}),o=>{const a={};return r.forEach(l=>{a[l]=n[l](o)}),a}}if(t==="number"){const r=e-i;return n=>i+n*r}throw new Error(`Cannot interpolate ${t} values`)}function Un(i,e={}){const t=wt(i);let r,n=i;function o(a,l){if(i==null)return t.set(i=a),Promise.resolve();n=a;let s=r,c=!1,{delay:d=0,duration:f=400,easing:m=ye,interpolate:k=Ze}=Xe(Xe({},e),l);if(f===0)return s&&(s.abort(),s=null),t.set(i=n),Promise.resolve();const w=Le()+d;let y;return r=Te(E=>{if(E<w)return!0;c||(y=k(i,a),typeof f=="function"&&(f=f(i,a)),c=!0),s&&(s.abort(),s=null);const x=E-w;return x>f?(t.set(i=a),!1):(t.set(i=y(m(x/f))),!0)}),r.promise}return{set:o,update:(a,l)=>o(a(n,i),l),subscribe:t.subscribe}}function ni(i){let e,t,r,n,o,a,l,s,c;return{c(){e=fe("svg"),t=fe("circle"),o=fe("path"),u(t,"cx",i[3]),u(t,"cy",i[3]),u(t,"stroke",r=i[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),u(t,"stroke-width",i[4]),u(t,"r",n=i[3]-i[4]/2),u(o,"d",a=i[9](i[7])),u(o,"stroke-width",i[4]),u(o,"stroke",l=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),u(o,"stroke-linecap","round"),u(e,"class",s=`spinner-${i[2]}`),u(e,"fill","none"),u(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),u(e,"width",i[5]),u(e,"height",i[5]),u(e,"data-testid",i[1]),u(e,"xmlns","http://www.w3.org/2000/svg")},m(d,f){p(d,e,f),g(e,t),g(e,o)},p(d,f){f&8&&u(t,"cx",d[3]),f&8&&u(t,"cy",d[3]),f&1&&r!==(r=d[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&u(t,"stroke",r),f&16&&u(t,"stroke-width",d[4]),f&24&&n!==(n=d[3]-d[4]/2)&&u(t,"r",n),f&128&&a!==(a=d[9](d[7]))&&u(o,"d",a),f&16&&u(o,"stroke-width",d[4]),f&1&&l!==(l=d[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&u(o,"stroke",l),f&4&&s!==(s=`spinner-${d[2]}`)&&u(e,"class",s),f&32&&c!==(c="0 0 "+d[5]+" "+d[5])&&u(e,"viewBox",c),f&32&&u(e,"width",d[5]),f&32&&u(e,"height",d[5]),f&2&&u(e,"data-testid",d[1])},d(d){d&&M(e)}}}function Wn(i){let e,t=i[6]&&ni(i);return{c(){t&&t.c(),e=ae(),this.c=v},m(r,n){t&&t.m(r,n),p(r,e,n)},p(r,[n]){r[6]?t?t.p(r,n):(t=ni(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:v,o:v,d(r){t&&t.d(r),r&&M(e)}}}function Kn(i,e,t){let r,n,o,a,l,s,{size:c}=e,{invert:d=!1}=e,{progress:f=-1}=e,{testid:m=""}=e,k="infinite";const w=Un(0,{duration:500,easing:mr});hi(i,w,x=>t(7,s=x));function y(x){const _=o+a*Math.cos(x),L=o+a*Math.sin(x);return _+" "+L}function E(x){switch(k){case"progress":{const _=y(-Math.PI/2),L=y(-Math.PI/2+2*Math.PI*(x/100)),C=x%100<50?0:1;return`M ${_} A ${a} ${a} 0 ${C} 1 ${L}`}case"infinite":{const _=y(Math.PI*1.5),L=y(0);return`M ${_} A ${a} ${a} 0 1 0 ${L}`}}}return i.$$set=x=>{"size"in x&&t(10,c=x.size),"invert"in x&&t(0,d=x.invert),"progress"in x&&t(11,f=x.progress),"testid"in x&&t(1,m=x.testid)},i.$$.update=()=>{if(i.$$.dirty&2048){const x=parseFloat(f+"");x>=0&&(w.set(x||1),t(2,k="progress"))}i.$$.dirty&1024&&t(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,n=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,o=r/2),i.$$.dirty&24&&t(12,a=o-n/2),i.$$.dirty&6148&&t(6,l=k==="infinite"?a:a&&f)},[d,m,k,o,n,r,l,s,w,E,c,f,a]}class Zn extends D{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>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Kn,Wn,B,{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",Zn);function oi(i){let e;function t(o,a){if(o[7]>0)return Yn;if(o[1].length>0)return Xn}let r=t(i),n=r&&r(i);return{c(){n&&n.c(),e=ae()},m(o,a){n&&n.m(o,a),p(o,e,a)},p(o,a){r===(r=t(o))&&n?n.p(o,a):(n&&n.d(1),n=r&&r(o),n&&(n.c(),n.m(e.parentNode,e)))},d(o){n&&n.d(o),o&&M(e)}}}function Xn(i){let e,t=i[1].length+"",r;return{c(){e=b("div"),r=P(t),u(e,"class","counter")},m(n,o){p(n,e,o),g(e,r)},p(n,o){o&2&&t!==(t=n[1].length+"")&&F(r,t)},d(n){n&&M(e)}}}function Yn(i){let e,t=i[1].length+"",r,n=`/${i[7]}`,o;return{c(){e=b("div"),r=P(t),o=P(n),u(e,"class","counter"),S(e,"counter-error",i[1].length>i[7])},m(a,l){p(a,e,l),g(e,r),g(e,o)},p(a,l){l&2&&t!==(t=a[1].length+"")&&F(r,t),l&128&&n!==(n=`/${a[7]}`)&&F(o,n),l&130&&S(e,"counter-error",a[1].length>a[7])},d(a){a&&M(e)}}}function Jn(i){let e,t,r,n,o,a,l,s=i[9]&&oi(i);return{c(){e=b("div"),t=b("textarea"),n=A(),s&&s.c(),this.c=v,u(t,"name",i[0]),u(t,"placeholder",i[2]),t.value=i[1],u(t,"rows",i[3]),u(t,"aria-label",r=i[6]||i[0]),u(t,"class","goa-textarea"),t.disabled=i[8],t.readOnly=i[10],u(t,"data-testid",i[4]),S(t,"error",i[11]),u(e,"class","container"),u(e,"style",o=`
|
|
72
|
+
`)&&d(e,"style",r)},i:p,o:p,d(n){n&&z(e)}}}function Dn(i,e,t){let{direction:r="vertical"}=e,{hpadding:n=0}=e,{vpadding:o=0}=e,{height:a=0}=e;return i.$$set=l=>{"direction"in l&&t(0,r=l.direction),"hpadding"in l&&t(1,n=l.hpadding),"vpadding"in l&&t(2,o=l.vpadding),"height"in l&&t(3,a=l.height)},[r,n,o,a]}class Nn extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>.goa-scrollable{scroll-behavior:smooth;max-height:calc(100vh * var(--max-height, 100) / 100)}.goa-scrollable::-webkit-scrollbar{width:6px}.goa-scrollable::-webkit-scrollbar-track{background:#f1f1f1}.goa-scrollable::-webkit-scrollbar-thumb{background:#888}.goa-scrollable::-webkit-scrollbar-thumb:hover{background:#555}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Dn,Bn,S,{direction:0,hpadding:1,vpadding:2,height:3},null),e&&(e.target&&w(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",Nn);function ti(i,e,t){const r=i.slice();return r[4]=e[t],r}function On(i){let e,t;return{c(){e=b("div"),d(e,"class",t="skeleton "+i[3]+` ${i[3]}-${i[1]}`)},m(r,n){w(r,e,n)},p(r,n){n&10&&t!==(t="skeleton "+r[3]+` ${r[3]}-${r[1]}`)&&d(e,"class",t)},i:p,o:p,d(r){r&&z(e)}}}function jn(i){let e,t,r=Array(i[2]),n=[];for(let a=0;a<r.length;a+=1)n[a]=ii(ti(i,r,a));const o=a=>W(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;a<n.length;a+=1)n[a].c();e=le()},m(a,l){for(let s=0;s<n.length;s+=1)n[s].m(a,l);w(a,e,l),t=!0},p(a,l){if(l&6){r=Array(a[2]);let s;for(s=0;s<r.length;s+=1){const c=ti(a,r,s);n[s]?(n[s].p(c,l),G(n[s],1)):(n[s]=ii(c),n[s].c(),G(n[s],1),n[s].m(e.parentNode,e))}for(be(),s=r.length;s<n.length;s+=1)o(s);ve()}},i(a){if(!t){for(let l=0;l<r.length;l+=1)G(n[l]);t=!0}},o(a){n=n.filter(Boolean);for(let l=0;l<n.length;l+=1)W(n[l]);t=!1},d(a){Re(n,a),a&&z(e)}}}function Pn(i){let e,t,r,n,o,a,l,s,c,u;return r=new de({props:{type:"avatar",size:i[1]}}),a=new de({props:{type:"title",size:i[1]}}),s=new de({props:{type:"text-small",size:i[1]}}),{c(){e=b("div"),t=b("div"),ge(r.$$.fragment),n=A(),o=b("div"),ge(a.$$.fragment),l=A(),ge(s.$$.fragment),d(t,"class","profile-avatar"),d(o,"class","profile-name"),d(e,"class",c="profile profile-"+i[1])},m(f,g){w(f,e,g),m(e,t),se(r,t,null),m(e,n),m(e,o),se(a,o,null),m(o,l),se(s,o,null),u=!0},p(f,g){const k={};g&2&&(k.size=f[1]),r.$set(k);const y={};g&2&&(y.size=f[1]),a.$set(y);const _={};g&2&&(_.size=f[1]),s.$set(_),(!u||g&2&&c!==(c="profile profile-"+f[1]))&&d(e,"class",c)},i(f){u||(G(r.$$.fragment,f),G(a.$$.fragment,f),G(s.$$.fragment,f),u=!0)},o(f){W(r.$$.fragment,f),W(a.$$.fragment,f),W(s.$$.fragment,f),u=!1},d(f){f&&z(e),ce(r),ce(a),ce(s)}}}function Fn(i){let e,t,r,n,o,a,l,s,c;return t=new de({props:{type:"image",size:i[1]}}),o=new de({props:{type:"header",size:i[1]}}),l=new de({props:{type:"lines",size:i[1],linecount:3}}),{c(){e=b("div"),ge(t.$$.fragment),r=A(),n=b("div"),ge(o.$$.fragment),a=A(),ge(l.$$.fragment),d(n,"class","card-content"),d(e,"class",s="card card-"+i[1]),F(e,"--max-width",i[0])},m(u,f){w(u,e,f),se(t,e,null),m(e,r),m(e,n),se(o,n,null),m(n,a),se(l,n,null),c=!0},p(u,f){const g={};f&2&&(g.size=u[1]),t.$set(g);const k={};f&2&&(k.size=u[1]),o.$set(k);const y={};f&2&&(y.size=u[1]),l.$set(y),(!c||f&2&&s!==(s="card card-"+u[1]))&&d(e,"class",s),(!c||f&1)&&F(e,"--max-width",u[0])},i(u){c||(G(t.$$.fragment,u),G(o.$$.fragment,u),G(l.$$.fragment,u),c=!0)},o(u){W(t.$$.fragment,u),W(o.$$.fragment,u),W(l.$$.fragment,u),c=!1},d(u){u&&z(e),ce(t),ce(o),ce(l)}}}function ii(i){let e,t;return e=new de({props:{type:"text",size:i[1],linecount:i[2]}}),{c(){ge(e.$$.fragment)},m(r,n){se(e,r,n),t=!0},p(r,n){const o={};n&2&&(o.size=r[1]),n&4&&(o.linecount=r[2]),e.$set(o)},i(r){t||(G(e.$$.fragment,r),t=!0)},o(r){W(e.$$.fragment,r),t=!1},d(r){ce(e,r)}}}function qn(i){let e,t,r,n;const o=[Fn,Pn,jn,On],a=[];function l(s,c){return s[3]==="card"?0:s[3]==="profile"?1:s[3]==="lines"?2:3}return e=l(i),t=a[e]=o[e](i),{c(){t.c(),r=le(),this.c=p},m(s,c){a[e].m(s,c),w(s,r,c),n=!0},p(s,[c]){let u=e;e=l(s),e===u?a[e].p(s,c):(be(),W(a[u],1,1,()=>{a[u]=null}),ve(),t=a[e],t?t.p(s,c):(t=a[e]=o[e](s),t.c()),G(t,1),t.m(r.parentNode,r))},i(s){n||(G(t),n=!0)},o(s){W(t),n=!1},d(s){a[e].d(s),s&&z(r)}}}function Gn(i,e,t){let{maxwidth:r=""}=e,{size:n=1}=e,{linecount:o=3}=e,{type:a}=e;return i.$$set=l=>{"maxwidth"in l&&t(0,r=l.maxwidth),"size"in l&&t(1,n=l.size),"linecount"in l&&t(2,o=l.linecount),"type"in l&&t(3,a=l.type)},[r,n,o,a]}class de extends D{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>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Gn,qn,S,{maxwidth:0,size:1,linecount:2,type:3},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["maxwidth","size","linecount","type"]}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()}}customElements.define("goa-skeleton",de);function ri(i){return Object.prototype.toString.call(i)==="[object Date]"}function Ze(i,e){if(i===e||i!==i)return()=>i;const t=typeof i;if(t!==typeof e||Array.isArray(i)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(i)){const r=e.map((n,o)=>Ze(i[o],n));return n=>r.map(o=>o(n))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(ri(i)&&ri(e)){i=i.getTime(),e=e.getTime();const o=e-i;return a=>new Date(i+a*o)}const r=Object.keys(e),n={};return r.forEach(o=>{n[o]=Ze(i[o],e[o])}),o=>{const a={};return r.forEach(l=>{a[l]=n[l](o)}),a}}if(t==="number"){const r=e-i;return n=>i+n*r}throw new Error(`Cannot interpolate ${t} values`)}function Vn(i,e={}){const t=wt(i);let r,n=i;function o(a,l){if(i==null)return t.set(i=a),Promise.resolve();n=a;let s=r,c=!1,{delay:u=0,duration:f=400,easing:g=ye,interpolate:k=Ze}=Xe(Xe({},e),l);if(f===0)return s&&(s.abort(),s=null),t.set(i=n),Promise.resolve();const y=Le()+u;let _;return r=Te(E=>{if(E<y)return!0;c||(_=k(i,a),typeof f=="function"&&(f=f(i,a)),c=!0),s&&(s.abort(),s=null);const x=E-y;return x>f?(t.set(i=a),!1):(t.set(i=_(g(x/f))),!0)}),r.promise}return{set:o,update:(a,l)=>o(a(n,i),l),subscribe:t.subscribe}}function ni(i){let e,t,r,n,o,a,l,s,c;return{c(){e=fe("svg"),t=fe("circle"),o=fe("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(o,"d",a=i[9](i[7])),d(o,"stroke-width",i[4]),d(o,"stroke",l=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),d(o,"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){w(u,e,f),m(e,t),m(e,o)},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(o,"d",a),f&16&&d(o,"stroke-width",u[4]),f&1&&l!==(l=u[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&d(o,"stroke",l),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&&z(e)}}}function Un(i){let e,t=i[6]&&ni(i);return{c(){t&&t.c(),e=le(),this.c=p},m(r,n){t&&t.m(r,n),w(r,e,n)},p(r,[n]){r[6]?t?t.p(r,n):(t=ni(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:p,o:p,d(r){t&&t.d(r),r&&z(e)}}}function Wn(i,e,t){let r,n,o,a,l,s,{size:c}=e,{invert:u=!1}=e,{progress:f=-1}=e,{testid:g=""}=e,k="infinite";const y=Vn(0,{duration:500,easing:gr});fi(i,y,x=>t(7,s=x));function _(x){const v=o+a*Math.cos(x),M=o+a*Math.sin(x);return v+" "+M}function E(x){switch(k){case"progress":{const v=_(-Math.PI/2),M=_(-Math.PI/2+2*Math.PI*(x/100)),L=x%100<50?0:1;return`M ${v} A ${a} ${a} 0 ${L} 1 ${M}`}case"infinite":{const v=_(Math.PI*1.5),M=_(0);return`M ${v} A ${a} ${a} 0 1 0 ${M}`}}}return i.$$set=x=>{"size"in x&&t(10,c=x.size),"invert"in x&&t(0,u=x.invert),"progress"in x&&t(11,f=x.progress),"testid"in x&&t(1,g=x.testid)},i.$$.update=()=>{if(i.$$.dirty&2048){const x=parseFloat(f+"");x>=0&&(y.set(x||1),t(2,k="progress"))}i.$$.dirty&1024&&t(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,n=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,o=r/2),i.$$.dirty&24&&t(12,a=o-n/2),i.$$.dirty&6148&&t(6,l=k==="infinite"?a:a&&f)},[u,g,k,o,n,r,l,s,y,E,c,f,a]}class Kn extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Wn,Un,S,{size:10,invert:0,progress:11,testid:1},null),e&&(e.target&&w(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",Kn);function Zn(i){let e,t,r,n,o,a,l;return{c(){e=b("div"),t=b("textarea"),n=A(),this.c=p,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[8],t.readOnly=i[9],d(t,"data-testid",i[4]),B(t,"error",i[10]),d(e,"class","container"),d(e,"style",o=`
|
|
73
73
|
--width: ${i[5]};
|
|
74
|
-
`)},m(c
|
|
75
|
-
--width: ${
|
|
76
|
-
`)&&
|
|
77
|
-
}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}</style>`,
|
|
74
|
+
`)},m(s,c){w(s,e,c),m(e,t),m(e,n),a||(l=U(t,"keyup",i[11]),a=!0)},p(s,[c]){c&1&&d(t,"name",s[0]),c&4&&d(t,"placeholder",s[2]),c&2&&(t.value=s[1]),c&8&&d(t,"rows",s[3]),c&65&&r!==(r=s[6]||s[0])&&d(t,"aria-label",r),c&256&&(t.disabled=s[8]),c&512&&(t.readOnly=s[9]),c&16&&d(t,"data-testid",s[4]),c&1024&&B(t,"error",s[10]),c&32&&o!==(o=`
|
|
75
|
+
--width: ${s[5]};
|
|
76
|
+
`)&&d(e,"style",o)},i:p,o:p,d(s){s&&z(e),a=!1,l()}}}function Xn(i,e,t){let r,n,o,{name:a}=e,{value:l=""}=e,{placeholder:s=""}=e,{rows:c=3}=e,{testid:u=""}=e,{width:f="60ch"}=e,{error:g="false"}=e,{readonly:k="false"}=e,{disabled:y="false"}=e,{arialabel:_=""}=e,{maxcharcount:E=0}=e;function x(v){const L=v.target.value;n||(v.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:v,name:a,value:L}})),v.stopPropagation())}return i.$$set=v=>{"name"in v&&t(0,a=v.name),"value"in v&&t(1,l=v.value),"placeholder"in v&&t(2,s=v.placeholder),"rows"in v&&t(3,c=v.rows),"testid"in v&&t(4,u=v.testid),"width"in v&&t(5,f=v.width),"error"in v&&t(12,g=v.error),"readonly"in v&&t(13,k=v.readonly),"disabled"in v&&t(14,y=v.disabled),"arialabel"in v&&t(6,_=v.arialabel),"maxcharcount"in v&&t(7,E=v.maxcharcount)},i.$$.update=()=>{i.$$.dirty&4096&&t(10,r=q(g)),i.$$.dirty&16384&&t(8,n=q(y)),i.$$.dirty&8192&&t(9,o=q(k))},[a,l,s,c,u,f,_,E,n,o,r,x,g,k,y]}class Yn extends D{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.container{position:relative;width:100%}@media(min-width: 640px){.container{max-width:var(--width)}}.goa-textarea{display:block;width:100%;box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:3px;background:var(--color-white);color:var(--color-black, #ccc);padding:var(--textarea-padding-vertical, 0.5rem) var(--textarea-padding-horizontal, 0.5rem);font-size:var(--input-font-size);font-family:var(--font-family);min-width:100%}@media(min-width: 640px){.goa-textarea{min-width:0;width:var(--width)}}.goa-textarea[readonly]{cursor:pointer}.goa-textarea:hover{border-color:var(--goa-color-interactive--hover)}.goa-textarea:active,.goa-textarea:focus,.goa-textarea:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}.goa-textarea:disabled{border-color:var(--color-gray-200)}.goa-textarea:disabled:hover{border-color:var(--color-gray-200)}.goa-textarea:disabled:focus,.goa-textarea:disabled:active{box-shadow:none}.counter{position:absolute;right:0;padding-top:0.25rem;font-size:var(--fs-sm)}.counter-error{color:var(--goa-color-interactive--error)
|
|
77
|
+
}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}</style>`,O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Xn,Zn,S,{name:0,value:1,placeholder:2,rows:3,testid:4,width:5,error:12,readonly:13,disabled:14,arialabel:6,maxcharcount:7},null),e&&(e.target&&w(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","maxcharcount"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),h()}get placeholder(){return this.$$.ctx[2]}set placeholder(e){this.$$set({placeholder:e}),h()}get rows(){return this.$$.ctx[3]}set rows(e){this.$$set({rows:e}),h()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),h()}get width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),h()}get error(){return this.$$.ctx[12]}set error(e){this.$$set({error:e}),h()}get readonly(){return this.$$.ctx[13]}set readonly(e){this.$$set({readonly:e}),h()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),h()}get arialabel(){return this.$$.ctx[6]}set arialabel(e){this.$$set({arialabel:e}),h()}get maxcharcount(){return this.$$.ctx[7]}set maxcharcount(e){this.$$set({maxcharcount:e}),h()}}customElements.define("goa-textarea",Yn);function Jn(i){let e;return{c(){e=b("div"),e.innerHTML=`<section class="header"><slot name="header"></slot></section>
|
|
78
78
|
|
|
79
79
|
<main><slot></slot></main>
|
|
80
80
|
|
|
81
|
-
<section class="footer"><slot name="footer"></slot></section>`,this.c=
|
|
81
|
+
<section class="footer"><slot name="footer"></slot></section>`,this.c=p,d(e,"class","page")},m(t,r){w(t,e,r)},p,i:p,o:p,d(t){t&&z(e)}}}class Qn extends D{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>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,Jn,S,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-one-column-layout",Qn);function $n(i){let e,t,r,n,o,a,l;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>
|
|
82
82
|
|
|
83
|
-
<main><slot></slot></main>`,o=A(),a=b("footer"),a.innerHTML='<slot name="footer"></slot>',this.c=
|
|
83
|
+
<main><slot></slot></main>`,o=A(),a=b("footer"),a.innerHTML='<slot name="footer"></slot>',this.c=p,d(t,"class","header"),d(n,"class","content"),d(a,"class","footer"),d(e,"class","page"),d(e,"style",l=`
|
|
84
84
|
--max-content-width: ${i[1]||"100%"};
|
|
85
85
|
--nav-column-width: ${i[0]||"var(--layout-nav-column-width)"};
|
|
86
|
-
`)},m(s,c){
|
|
86
|
+
`)},m(s,c){w(s,e,c),m(e,t),m(e,r),m(e,n),m(e,o),m(e,a)},p(s,[c]){c&3&&l!==(l=`
|
|
87
87
|
--max-content-width: ${s[1]||"100%"};
|
|
88
88
|
--nav-column-width: ${s[0]||"var(--layout-nav-column-width)"};
|
|
89
|
-
`)&&
|
|
89
|
+
`)&&d(e,"style",l)},i:p,o:p,d(s){s&&z(e)}}}function eo(i,e,t){let{navcolumnwidth:r=""}=e,{maxcontentwidth:n=""}=e;return i.$$set=o=>{"navcolumnwidth"in o&&t(0,r=o.navcolumnwidth),"maxcontentwidth"in o&&t(1,n=o.maxcontentwidth)},[r,n]}class to extends D{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>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},eo,$n,S,{navcolumnwidth:0,maxcontentwidth:1},null),e&&(e.target&&w(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",to);function io(i){let e;return{c(){e=b("div"),e.innerHTML=`<header class="header"><slot name="header"></slot></header>
|
|
90
90
|
|
|
91
91
|
<nav class="nav"><slot name="nav"></slot></nav>
|
|
92
92
|
|
|
93
93
|
<main><slot></slot></main>
|
|
94
94
|
|
|
95
|
-
<footer class="footer"><slot name="footer"></slot></footer>`,this.c=
|
|
95
|
+
<footer class="footer"><slot name="footer"></slot></footer>`,this.c=p,d(e,"class","page")},m(t,r){w(t,e,r)},p,i:p,o:p,d(t){t&&z(e)}}}class ro extends D{constructor(e){super();this.shadowRoot.innerHTML=`<style>.page{height:100vh;grid-template-columns:auto;grid-template-rows:min-content auto min-content;grid-template-areas:"header"
|
|
96
96
|
"content"
|
|
97
97
|
"nav"
|
|
98
98
|
"footer";display:grid;place-content:stretch stretch;gap:0 0}@media(min-width: 640px){.page{grid-template-columns:300px auto;grid-template-rows:min-content auto min-content;grid-template-areas:"header header"
|
|
99
99
|
"nav content"
|
|
100
|
-
"footer footer"}}.header{grid-area:header}.footer{grid-area:footer}main{grid-area:content;justify-self:stretch;padding:1rem}.nav{grid-area:nav;padding:1rem;background-color:var(--color-gray-100)}</style>`,
|
|
100
|
+
"footer footer"}}.header{grid-area:header}.footer{grid-area:footer}main{grid-area:content;justify-self:stretch;padding:1rem}.nav{grid-area:nav;padding:1rem;background-color:var(--color-gray-100)}</style>`,O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,io,S,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-layout-full-nav",ro);function oi(i){let e,t;return{c(){e=b("div"),t=P(i[0]),d(e,"slot","title"),d(e,"class","title")},m(r,n){w(r,e,n),m(e,t)},p(r,n){n&1&&V(t,r[0])},d(r){r&&z(e)}}}function ai(i){let e;return{c(){e=b("div"),d(e,"class","actions"),d(e,"slot","actions")},m(t,r){w(t,e,r),e.innerHTML=i[1]},p(t,r){r&2&&(e.innerHTML=t[1])},d(t){t&&z(e)}}}function no(i){let e,t,r,n,o=i[0]&&oi(i),a=i[1]&&ai(i);return{c(){e=b("goa-container"),o&&o.c(),t=A(),a&&a.c(),r=A(),n=b("div"),this.c=p,d(n,"class","content"),d(n,"slot",""),C(e,"type",i[3]),C(e,"accent",i[4])},m(l,s){w(l,e,s),o&&o.m(e,null),m(e,t),a&&a.m(e,null),m(e,r),m(e,n),n.innerHTML=i[2]},p(l,[s]){l[0]?o?o.p(l,s):(o=oi(l),o.c(),o.m(e,t)):o&&(o.d(1),o=null),l[1]?a?a.p(l,s):(a=ai(l),a.c(),a.m(e,r)):a&&(a.d(1),a=null),s&4&&(n.innerHTML=l[2]),s&8&&C(e,"type",l[3]),s&16&&C(e,"accent",l[4])},i:p,o:p,d(l){l&&z(e),o&&o.d(),a&&a.d()}}}function oo(i,e,t){let{title:r}=e,{actions:n=""}=e,{content:o}=e,{type:a="default"}=e,{accent:l="thick"}=e;return i.$$set=s=>{"title"in s&&t(0,r=s.title),"actions"in s&&t(1,n=s.actions),"content"in s&&t(2,o=s.content),"type"in s&&t(3,a=s.type),"accent"in s&&t(4,l=s.accent)},[r,n,o,a,l]}class ao extends D{constructor(e){super();O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},oo,no,S,{title:0,actions:1,content:2,type:3,accent:4},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["title","actions","content","type","accent"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),h()}get actions(){return this.$$.ctx[1]}set actions(e){this.$$set({actions:e}),h()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),h()}get type(){return this.$$.ctx[3]}set type(e){this.$$set({type:e}),h()}get accent(){return this.$$.ctx[4]}set accent(e){this.$$set({accent:e}),h()}}customElements.define("test-container",ao);function lo(i){let e;return{c(){e=b("hr"),this.c=p,F(e,"--spacing",i[0])},m(t,r){w(t,e,r)},p(t,[r]){r&1&&F(e,"--spacing",t[0])},i:p,o:p,d(t){t&&z(e)}}}function so(i,e,t){let r,{spacing:n=""}=e;const o=["small","medium","large"];function a(l){return o.includes(l)}return X(()=>{a(n)||console.error("Invalid spacing")}),i.$$set=l=>{"spacing"in l&&t(1,n=l.spacing)},i.$$.update=()=>{i.$$.dirty&2&&t(0,r={small:"1rem",medium:"2rem",large:"4rem"}[n])},[r,n]}class co extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>hr{padding:0;margin:var(--spacing) 0;border:none;border-top:1px solid var(--color-gray-200)}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},so,lo,S,{spacing:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["spacing"]}get spacing(){return this.$$.ctx[1]}set spacing(e){this.$$set({spacing:e}),h()}}customElements.define("goa-divider",co)});
|