@abgov/web-components 1.0.0-alpha.140 → 1.0.0-alpha.141
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 +1064 -858
- package/web-components.umd.js +53 -45
package/web-components.umd.js
CHANGED
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
(function(k){typeof define=="function"&&define.amd?define(k):k()})(function(){"use strict";function k(){}const Me=i=>i;function ot(i,e){for(const t in e)i[t]=e[t];return i}function $e(i){return i()}function st(){return Object.create(null)}function
|
|
2
|
-
`;for(let
|
|
1
|
+
(function(k){typeof define=="function"&&define.amd?define(k):k()})(function(){"use strict";function k(){}const Me=i=>i;function ot(i,e){for(const t in e)i[t]=e[t];return i}function $e(i){return i()}function st(){return Object.create(null)}function le(i){i.forEach($e)}function de(i){return typeof i=="function"}function I(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Be;function De(i,e){return Be||(Be=document.createElement("a")),Be.href=e,i===Be.href}function Ei(i){return Object.keys(i).length===0}function Ci(i,...e){if(i==null)return k;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function zi(i,e,t){i.$$.on_destroy.push(Ci(e,t))}function ct(i){return i&&de(i.destroy)?i.destroy:k}const dt=typeof window!="undefined";let Ne=dt?()=>window.performance.now():()=>Date.now(),et=dt?i=>requestAnimationFrame(i):k;const pe=new Set;function ut(i){pe.forEach(e=>{e.c(i)||(pe.delete(e),e.f())}),pe.size!==0&&et(ut)}function je(i){let e;return pe.size===0&&et(ut),{promise:new Promise(t=>{pe.add(e={c:i,f:t})}),abort(){pe.delete(e)}}}function g(i,e){i.appendChild(e)}function ft(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function Mi(i){const e=y("style");return Ti(ft(i),e),e.sheet}function Ti(i,e){return g(i.head||i,e),e.sheet}function p(i,e,t){i.insertBefore(e,t||null)}function L(i){i.parentNode.removeChild(i)}function Oe(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function y(i){return document.createElement(i)}function ge(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function V(i){return document.createTextNode(i)}function H(){return V(" ")}function be(){return V("")}function Y(i,e,t,r){return i.addEventListener(e,t,r),()=>i.removeEventListener(e,t,r)}function u(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function T(i,e,t){e in i?i[e]=typeof i[e]=="boolean"&&t===""?!0:t:u(i,e,t)}function Li(i){return Array.from(i.childNodes)}function W(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function Q(i,e,t,r){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,r?"important":"")}function N(i,e,t){i.classList[t?"add":"remove"](e)}function Ai(i,e,{bubbles:t=!1,cancelable:r=!1}={}){const n=document.createEvent("CustomEvent");return n.initCustomEvent(i,t,r,e),n}function q(i){const e={};for(const t of i)e[t.name]=t.value;return e}const Ie=new Map;let Pe=0;function Ri(i){let e=5381,t=i.length;for(;t--;)e=(e<<5)-e^i.charCodeAt(t);return e>>>0}function Hi(i,e){const t={stylesheet:Mi(e),rules:{}};return Ie.set(i,t),t}function qe(i,e,t,r,n,l,a,o=0){const s=16.666/r;let c=`{
|
|
2
|
+
`;for(let _=0;_<=1;_+=s){const x=e+(t-e)*l(_);c+=_*100+`%{${a(x,1-x)}}
|
|
3
3
|
`}const d=c+`100% {${a(t,1-t)}}
|
|
4
|
-
}`,f=`__svelte_${Ri(d)}_${o}`,m=ft(i),{stylesheet:_,rules:b}=Ie.get(m)||Hi(m,i);b[f]||(b[f]=!0,_.insertRule(`@keyframes ${f} ${d}`,_.cssRules.length));const v=i.style.animation||"";return i.style.animation=`${v?`${v}, `:""}${f} ${r}ms linear ${n}ms 1 both`,Pe+=1,f}function qe(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?l=>l.indexOf(e)<0:l=>l.indexOf("__svelte")===-1),n=t.length-r.length;n&&(i.style.animation=r.join(", "),Pe-=n,Pe||Si())}function Si(){et(()=>{Pe||(Ie.forEach(i=>{const{ownerNode:e}=i.stylesheet;e&&L(e)}),Ie.clear())})}let Te;function Le(i){Te=i}function ht(){if(!Te)throw new Error("Function called outside component initialization");return Te}function Z(i){ht().$$.on_mount.push(i)}function mt(i){ht().$$.on_destroy.push(i)}const Ae=[],le=[],Ve=[],gt=[],bt=Promise.resolve();let tt=!1;function vt(){tt||(tt=!0,bt.then(h))}function ue(){return vt(),bt}function ae(i){Ve.push(i)}const it=new Set;let Ge=0;function h(){const i=Te;do{for(;Ge<Ae.length;){const e=Ae[Ge];Ge++,Le(e),Bi(e.$$)}for(Le(null),Ae.length=0,Ge=0;le.length;)le.pop()();for(let e=0;e<Ve.length;e+=1){const t=Ve[e];it.has(t)||(it.add(t),t())}Ve.length=0}while(Ae.length);for(;gt.length;)gt.pop()();tt=!1,it.clear(),Le(i)}function Bi(i){if(i.fragment!==null){i.update(),ne(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(ae)}}let Re;function rt(){return Re||(Re=Promise.resolve(),Re.then(()=>{Re=null})),Re}function ve(i,e,t){i.dispatchEvent(Ai(`${e?"intro":"outro"}${t}`))}const Ue=new Set;let oe;function xe(){oe={r:0,c:[],p:oe}}function Ee(){oe.r||ne(oe.c),oe=oe.p}function K(i,e){i&&i.i&&(Ue.delete(i),i.i(e))}function J(i,e,t,r){if(i&&i.o){if(Ue.has(i))return;Ue.add(i),oe.c.push(()=>{Ue.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}else r&&r()}const nt={duration:0};function wt(i,e,t){let r=e(i,t),n=!1,l,a,o=0;function s(){l&&qe(i,l)}function c(){const{delay:f=0,duration:m=300,easing:_=Me,tick:b=k,css:v}=r||nt;v&&(l=Fe(i,0,1,m,f,_,v,o++)),b(0,1);const y=Ne()+f,x=y+m;a&&a.abort(),n=!0,ae(()=>ve(i,!0,"start")),a=je(z=>{if(n){if(z>=x)return b(1,0),ve(i,!0,"end"),s(),n=!1;if(z>=y){const B=_((z-y)/m);b(B,1-B)}}return n})}let d=!1;return{start(){d||(d=!0,qe(i),de(r)?(r=r(),rt().then(c)):c())},invalidate(){d=!1},end(){n&&(s(),n=!1)}}}function yt(i,e,t){let r=e(i,t),n=!0,l;const a=oe;a.r+=1;function o(){const{delay:s=0,duration:c=300,easing:d=Me,tick:f=k,css:m}=r||nt;m&&(l=Fe(i,1,0,c,s,d,m));const _=Ne()+s,b=_+c;ae(()=>ve(i,!1,"start")),je(v=>{if(n){if(v>=b)return f(0,1),ve(i,!1,"end"),--a.r||ne(a.c),!1;if(v>=_){const y=d((v-_)/c);f(1-y,y)}}return n})}return de(r)?rt().then(()=>{r=r(),o()}):o(),{end(s){s&&r.tick&&r.tick(1,0),n&&(l&&qe(i,l),n=!1)}}}function Ke(i,e,t,r){let n=e(i,t),l=r?0:1,a=null,o=null,s=null;function c(){s&&qe(i,s)}function d(m,_){const b=m.b-l;return _*=Math.abs(b),{a:l,b:m.b,d:b,duration:_,start:m.start,end:m.start+_,group:m.group}}function f(m){const{delay:_=0,duration:b=300,easing:v=Me,tick:y=k,css:x}=n||nt,z={start:Ne()+_,b:m};m||(z.group=oe,oe.r+=1),a||o?o=z:(x&&(c(),s=Fe(i,l,m,b,_,v,x)),m&&y(0,1),a=d(z,b),ae(()=>ve(i,m,"start")),je(B=>{if(o&&B>o.start&&(a=d(o,b),o=null,ve(i,a.b,"start"),x&&(c(),s=Fe(i,l,a.b,a.duration,0,v,n.css))),a){if(B>=a.end)y(l=a.b,1-l),ve(i,a.b,"end"),o||(a.b?c():--a.group.r||ne(a.group.c)),a=null;else if(B>=a.start){const R=B-a.start;l=a.a+a.d*v(R/a.duration),y(l,1-l)}}return!!(a||o)}))}return{run(m){de(n)?rt().then(()=>{n=n(),f(m)}):f(m)},end(){c(),a=o=null}}}function _t(i,e){i.d(1),e.delete(i.key)}function kt(i,e,t,r,n,l,a,o,s,c,d,f){let m=i.length,_=l.length,b=m;const v={};for(;b--;)v[i[b].key]=b;const y=[],x=new Map,z=new Map;for(b=_;b--;){const E=f(n,l,b),N=t(E);let A=a.get(N);A?r&&A.p(E,e):(A=c(N,E),A.c()),x.set(N,y[b]=A),N in v&&z.set(N,Math.abs(b-v[N]))}const B=new Set,R=new Set;function C(E){K(E,1),E.m(o,d),a.set(E.key,E),d=E.first,_--}for(;m&&_;){const E=y[_-1],N=i[m-1],A=E.key,M=N.key;E===N?(d=E.first,m--,_--):x.has(M)?!a.has(A)||B.has(A)?C(E):R.has(M)?m--:z.get(A)>z.get(M)?(R.add(A),C(E)):(B.add(M),m--):(s(N,a),m--)}for(;m--;){const E=i[m];x.has(E.key)||s(E,a)}for(;_;)C(y[_-1]);return y}function we(i){i&&i.c()}function fe(i,e,t,r){const{fragment:n,after_update:l}=i.$$;n&&n.m(e,t),r||ae(()=>{const a=i.$$.on_mount.map($e).filter(de);i.$$.on_destroy?i.$$.on_destroy.push(...a):ne(a),i.$$.on_mount=[]}),l.forEach(ae)}function he(i,e){const t=i.$$;t.fragment!==null&&(ne(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function Di(i,e){i.$$.dirty[0]===-1&&(Ae.push(i),vt(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function q(i,e,t,r,n,l,a,o=[-1]){const s=Te;Le(i);const c=i.$$={fragment:null,ctx:[],props:l,update:k,not_equal:n,bound:st(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:st(),dirty:o,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,..._)=>{const b=_.length?_[0]:m;return c.ctx&&n(c.ctx[f],c.ctx[f]=b)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](b),d&&Di(i,f)),m}):[],c.update(),d=!0,ne(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=Li(e.target);c.fragment&&c.fragment.l(f),f.forEach(L)}else c.fragment&&c.fragment.c();e.intro&&K(i.$$.fragment),fe(i,e.target,e.anchor,e.customElement),h()}Le(s)}let P;typeof HTMLElement=="function"&&(P=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map($e).filter(de);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){ne(this.$$.on_disconnect)}$destroy(){he(this,1),this.$destroy=k}$on(i,e){if(!de(e))return k;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&&!Ei(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});function Ni(i){let e,t,r,n,l,a,o,s,c;return{c(){e=w("div"),t=w("img"),n=H(),l=w("img"),o=H(),s=w("span"),c=G(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),De(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(l,"alt","GoA Logo"),u(l,"class","image-desktop"),De(l.src,a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||u(l,"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,l),g(e,o),g(e,s),g(s,c)},p(d,f){f&1&&W(c,d[0])},d(d){d&&L(e)}}}function ji(i){let e,t,r,n,l,a,o,s,c;return{c(){e=w("a"),t=w("img"),n=H(),l=w("img"),o=H(),s=w("span"),c=G(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),De(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(l,"alt","GoA Logo"),u(l,"class","image-desktop"),De(l.src,a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||u(l,"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,l),g(e,o),g(e,s),g(s,c)},p(d,f){f&1&&W(c,d[0]),f&2&&u(e,"href",d[1])},d(d){d&&L(e)}}}function Oi(i){let e,t,r,n,l;function a(c,d){return c[1]?ji:Ni}let o=a(i),s=o(i);return{c(){e=w("div"),t=w("div"),s.c(),r=H(),n=w("div"),n.innerHTML="<slot></slot>",this.c=k,u(t,"class","content"),u(e,"class","app-header"),u(e,"data-testid",i[2]),u(e,"style",l=`--max-content-width: ${i[3]||"100%"}`)},m(c,d){p(c,e,d),g(e,t),s.m(t,null),g(t,r),g(t,n)},p(c,[d]){o===(o=a(c))&&s?s.p(c,d):(s.d(1),s=o(c),s&&(s.c(),s.m(t,r))),d&4&&u(e,"data-testid",c[2]),d&8&&l!==(l=`--max-content-width: ${c[3]||"100%"}`)&&u(e,"style",l)},i:k,o:k,d(c){c&&L(e),s.d()}}}function Ii(i,e,t){let{heading:r=""}=e,{url:n=""}=e,{testid:l=""}=e,{maxcontentwidth:a=""}=e;return i.$$set=o=>{"heading"in o&&t(0,r=o.heading),"url"in o&&t(1,n=o.url),"testid"in o&&t(2,l=o.testid),"maxcontentwidth"in o&&t(3,a=o.maxcontentwidth)},[r,n,l,a]}class Pi extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box;font-family:var(--font-family)}.app-header{margin:0 auto;background-color:var(--color-white);border-bottom:1px solid var(--color-gray-100)}@media(max-width: 640px){.app-header{padding:1rem 1rem}}.content{margin:0 auto;width:min(var(--max-content-width), 100%);display:flex;align-items:center;justify-content:space-between}@media(min-width: 640px){.content{padding:1.5rem 1.125rem}}.app-link{display:flex;align-items:center;text-decoration:none;color:inherit}.title{margin-left:0.5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-desktop{display:none}.image-mobile{display:block}@media(min-width: 640px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>",q(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Ii,Oi,I,{heading:0,url:1,testid:2,maxcontentwidth:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","url","testid","maxcontentwidth"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get url(){return this.$$.ctx[1]}set url(e){this.$$set({url:e}),h()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),h()}get maxcontentwidth(){return this.$$.ctx[3]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),h()}}customElements.define("goa-app-header",Pi);function V(i,e,t,r){return[i&&`margin-top:var(--goa-spacing-${i});`,e&&`margin-right:var(--goa-spacing-${e});`,t&&`margin-bottom:var(--goa-spacing-${t});`,r&&`margin-left:var(--goa-spacing-${r});`].join(" ")}function pt(i,e,t,r){const n=document.createElement("style"),l=Object.entries(t).map(a=>`${a[0]}: ${a[1]};`).join(" ");r?n.innerHTML=`@media (${r}) { ${e} {${l}} }`:n.innerHTML=`${e} {${l}}`,i.appendChild(n)}function U(i){return i==="false"?!1:i===""?!0:!!i}function Fi(i){return i?"true":"false"}function xt(i,e){Object.entries(e).forEach(t=>{t[1]||console.warn(`${i}: ${t[0]} is required`)})}function X(i,e,t=!1){return[e,n=>{!t&&!n||e.includes(n)||console.error(`[${n}] is an invalid ${i.toLowerCase()}`)}]}function qi(i){let e;return{c(){e=w("div"),Q(e,"height","1.2rem"),Q(e,"margin-left","-0.25rem")},m(t,r){p(t,e,r)},p:k,d(t){t&&L(e)}}}function Vi(i){let e;return{c(){e=w("goa-icon"),T(e,"type",i[8]),T(e,"size","small")},m(t,r){p(t,e,r)},p(t,r){r&256&&T(e,"type",t[8])},d(t){t&&L(e)}}}function Et(i){let e,t;return{c(){e=w("div"),t=G(i[2]),u(e,"class","goa-badge-content")},m(r,n){p(r,e,n),g(e,t)},p(r,n){n&4&&W(t,r[2])},d(r){r&&L(e)}}}function Gi(i){let e,t,r,n;function l(c,d){return c[7]?Vi:qi}let a=l(i),o=a(i),s=i[2]&&Et(i);return{c(){e=w("div"),o.c(),t=H(),s&&s.c(),this.c=k,u(e,"style",r=V(i[3],i[4],i[5],i[6])),u(e,"data-testid",i[1]),u(e,"data-type","goa-badge"),u(e,"class",n="goa-badge badge-"+i[0]),O(e,"icon-only",i[7]&&!i[2])},m(c,d){p(c,e,d),o.m(e,null),g(e,t),s&&s.m(e,null)},p(c,[d]){a===(a=l(c))&&o?o.p(c,d):(o.d(1),o=a(c),o&&(o.c(),o.m(e,t))),c[2]?s?s.p(c,d):(s=Et(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),d&120&&r!==(r=V(c[3],c[4],c[5],c[6]))&&u(e,"style",r),d&2&&u(e,"data-testid",c[1]),d&1&&n!==(n="goa-badge badge-"+c[0])&&u(e,"class",n),d&133&&O(e,"icon-only",c[7]&&!c[2])},i:k,o:k,d(c){c&&L(e),o.d(),s&&s.d()}}}function Ui(i,e,t){let r,n;const[l,a]=X("Badge type",["success","important","information","emergency","dark","midtone","light"],!0);let{type:o}=e,{testid:s=""}=e,{content:c=""}=e,{icon:d="false"}=e,{mt:f=null}=e,{mr:m=null}=e,{mb:_=null}=e,{ml:b=null}=e;return Z(()=>{a(o),!r&&!c&&console.warn("GoABadge must have either then content or icon property set")}),i.$$set=v=>{"type"in v&&t(0,o=v.type),"testid"in v&&t(1,s=v.testid),"content"in v&&t(2,c=v.content),"icon"in v&&t(9,d=v.icon),"mt"in v&&t(3,f=v.mt),"mr"in v&&t(4,m=v.mr),"mb"in v&&t(5,_=v.mb),"ml"in v&&t(6,b=v.ml)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=U(d)),i.$$.dirty&1&&t(8,n={success:"checkmark-circle",important:"alert-circle",information:"information-circle",emergency:"warning",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[o])},[o,s,c,f,m,_,b,r,n,d]}class Ki extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;align-items:center;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--fw-regular)}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm);padding-bottom:var(
|
|
4
|
+
}`,f=`__svelte_${Ri(d)}_${o}`,m=ft(i),{stylesheet:w,rules:b}=Ie.get(m)||Hi(m,i);b[f]||(b[f]=!0,w.insertRule(`@keyframes ${f} ${d}`,w.cssRules.length));const v=i.style.animation||"";return i.style.animation=`${v?`${v}, `:""}${f} ${r}ms linear ${n}ms 1 both`,Pe+=1,f}function Fe(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?l=>l.indexOf(e)<0:l=>l.indexOf("__svelte")===-1),n=t.length-r.length;n&&(i.style.animation=r.join(", "),Pe-=n,Pe||Si())}function Si(){et(()=>{Pe||(Ie.forEach(i=>{const{ownerNode:e}=i.stylesheet;e&&L(e)}),Ie.clear())})}let Te;function Le(i){Te=i}function ht(){if(!Te)throw new Error("Function called outside component initialization");return Te}function X(i){ht().$$.on_mount.push(i)}function mt(i){ht().$$.on_destroy.push(i)}const Ae=[],ne=[],Ge=[],gt=[],bt=Promise.resolve();let tt=!1;function vt(){tt||(tt=!0,bt.then(h))}function ue(){return vt(),bt}function ae(i){Ge.push(i)}const it=new Set;let Ve=0;function h(){const i=Te;do{for(;Ve<Ae.length;){const e=Ae[Ve];Ve++,Le(e),Bi(e.$$)}for(Le(null),Ae.length=0,Ve=0;ne.length;)ne.pop()();for(let e=0;e<Ge.length;e+=1){const t=Ge[e];it.has(t)||(it.add(t),t())}Ge.length=0}while(Ae.length);for(;gt.length;)gt.pop()();tt=!1,it.clear(),Le(i)}function Bi(i){if(i.fragment!==null){i.update(),le(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(ae)}}let Re;function rt(){return Re||(Re=Promise.resolve(),Re.then(()=>{Re=null})),Re}function ve(i,e,t){i.dispatchEvent(Ai(`${e?"intro":"outro"}${t}`))}const Ue=new Set;let oe;function xe(){oe={r:0,c:[],p:oe}}function Ee(){oe.r||le(oe.c),oe=oe.p}function K(i,e){i&&i.i&&(Ue.delete(i),i.i(e))}function J(i,e,t,r){if(i&&i.o){if(Ue.has(i))return;Ue.add(i),oe.c.push(()=>{Ue.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}else r&&r()}const nt={duration:0};function yt(i,e,t){let r=e(i,t),n=!1,l,a,o=0;function s(){l&&Fe(i,l)}function c(){const{delay:f=0,duration:m=300,easing:w=Me,tick:b=k,css:v}=r||nt;v&&(l=qe(i,0,1,m,f,w,v,o++)),b(0,1);const _=Ne()+f,x=_+m;a&&a.abort(),n=!0,ae(()=>ve(i,!0,"start")),a=je(z=>{if(n){if(z>=x)return b(1,0),ve(i,!0,"end"),s(),n=!1;if(z>=_){const B=w((z-_)/m);b(B,1-B)}}return n})}let d=!1;return{start(){d||(d=!0,Fe(i),de(r)?(r=r(),rt().then(c)):c())},invalidate(){d=!1},end(){n&&(s(),n=!1)}}}function wt(i,e,t){let r=e(i,t),n=!0,l;const a=oe;a.r+=1;function o(){const{delay:s=0,duration:c=300,easing:d=Me,tick:f=k,css:m}=r||nt;m&&(l=qe(i,1,0,c,s,d,m));const w=Ne()+s,b=w+c;ae(()=>ve(i,!1,"start")),je(v=>{if(n){if(v>=b)return f(0,1),ve(i,!1,"end"),--a.r||le(a.c),!1;if(v>=w){const _=d((v-w)/c);f(1-_,_)}}return n})}return de(r)?rt().then(()=>{r=r(),o()}):o(),{end(s){s&&r.tick&&r.tick(1,0),n&&(l&&Fe(i,l),n=!1)}}}function Ke(i,e,t,r){let n=e(i,t),l=r?0:1,a=null,o=null,s=null;function c(){s&&Fe(i,s)}function d(m,w){const b=m.b-l;return w*=Math.abs(b),{a:l,b:m.b,d:b,duration:w,start:m.start,end:m.start+w,group:m.group}}function f(m){const{delay:w=0,duration:b=300,easing:v=Me,tick:_=k,css:x}=n||nt,z={start:Ne()+w,b:m};m||(z.group=oe,oe.r+=1),a||o?o=z:(x&&(c(),s=qe(i,l,m,b,w,v,x)),m&&_(0,1),a=d(z,b),ae(()=>ve(i,m,"start")),je(B=>{if(o&&B>o.start&&(a=d(o,b),o=null,ve(i,a.b,"start"),x&&(c(),s=qe(i,l,a.b,a.duration,0,v,n.css))),a){if(B>=a.end)_(l=a.b,1-l),ve(i,a.b,"end"),o||(a.b?c():--a.group.r||le(a.group.c)),a=null;else if(B>=a.start){const R=B-a.start;l=a.a+a.d*v(R/a.duration),_(l,1-l)}}return!!(a||o)}))}return{run(m){de(n)?rt().then(()=>{n=n(),f(m)}):f(m)},end(){c(),a=o=null}}}function _t(i,e){i.d(1),e.delete(i.key)}function kt(i,e,t,r,n,l,a,o,s,c,d,f){let m=i.length,w=l.length,b=m;const v={};for(;b--;)v[i[b].key]=b;const _=[],x=new Map,z=new Map;for(b=w;b--;){const E=f(n,l,b),j=t(E);let A=a.get(j);A?r&&A.p(E,e):(A=c(j,E),A.c()),x.set(j,_[b]=A),j in v&&z.set(j,Math.abs(b-v[j]))}const B=new Set,R=new Set;function C(E){K(E,1),E.m(o,d),a.set(E.key,E),d=E.first,w--}for(;m&&w;){const E=_[w-1],j=i[m-1],A=E.key,M=j.key;E===j?(d=E.first,m--,w--):x.has(M)?!a.has(A)||B.has(A)?C(E):R.has(M)?m--:z.get(A)>z.get(M)?(R.add(A),C(E)):(B.add(M),m--):(s(j,a),m--)}for(;m--;){const E=i[m];x.has(E.key)||s(E,a)}for(;w;)C(_[w-1]);return _}function ye(i){i&&i.c()}function fe(i,e,t,r){const{fragment:n,after_update:l}=i.$$;n&&n.m(e,t),r||ae(()=>{const a=i.$$.on_mount.map($e).filter(de);i.$$.on_destroy?i.$$.on_destroy.push(...a):le(a),i.$$.on_mount=[]}),l.forEach(ae)}function he(i,e){const t=i.$$;t.fragment!==null&&(le(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function Di(i,e){i.$$.dirty[0]===-1&&(Ae.push(i),vt(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function F(i,e,t,r,n,l,a,o=[-1]){const s=Te;Le(i);const c=i.$$={fragment:null,ctx:[],props:l,update:k,not_equal:n,bound:st(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:st(),dirty:o,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,...w)=>{const b=w.length?w[0]:m;return c.ctx&&n(c.ctx[f],c.ctx[f]=b)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](b),d&&Di(i,f)),m}):[],c.update(),d=!0,le(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=Li(e.target);c.fragment&&c.fragment.l(f),f.forEach(L)}else c.fragment&&c.fragment.c();e.intro&&K(i.$$.fragment),fe(i,e.target,e.anchor,e.customElement),h()}Le(s)}let P;typeof HTMLElement=="function"&&(P=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map($e).filter(de);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){le(this.$$.on_disconnect)}$destroy(){he(this,1),this.$destroy=k}$on(i,e){if(!de(e))return k;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&&!Ei(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});function Ni(i){let e,t,r,n,l,a,o,s,c;return{c(){e=y("div"),t=y("img"),n=H(),l=y("img"),o=H(),s=y("span"),c=V(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),De(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(l,"alt","GoA Logo"),u(l,"class","image-desktop"),De(l.src,a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||u(l,"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,l),g(e,o),g(e,s),g(s,c)},p(d,f){f&1&&W(c,d[0])},d(d){d&&L(e)}}}function ji(i){let e,t,r,n,l,a,o,s,c;return{c(){e=y("a"),t=y("img"),n=H(),l=y("img"),o=H(),s=y("span"),c=V(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),De(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(l,"alt","GoA Logo"),u(l,"class","image-desktop"),De(l.src,a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||u(l,"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,l),g(e,o),g(e,s),g(s,c)},p(d,f){f&1&&W(c,d[0]),f&2&&u(e,"href",d[1])},d(d){d&&L(e)}}}function Oi(i){let e,t,r,n,l;function a(c,d){return c[1]?ji:Ni}let o=a(i),s=o(i);return{c(){e=y("div"),t=y("div"),s.c(),r=H(),n=y("div"),n.innerHTML="<slot></slot>",this.c=k,u(t,"class","content"),u(e,"class","app-header"),u(e,"data-testid",i[2]),u(e,"style",l=`--max-content-width: ${i[3]||"100%"}`)},m(c,d){p(c,e,d),g(e,t),s.m(t,null),g(t,r),g(t,n)},p(c,[d]){o===(o=a(c))&&s?s.p(c,d):(s.d(1),s=o(c),s&&(s.c(),s.m(t,r))),d&4&&u(e,"data-testid",c[2]),d&8&&l!==(l=`--max-content-width: ${c[3]||"100%"}`)&&u(e,"style",l)},i:k,o:k,d(c){c&&L(e),s.d()}}}function Ii(i,e,t){let{heading:r=""}=e,{url:n=""}=e,{testid:l=""}=e,{maxcontentwidth:a=""}=e;return i.$$set=o=>{"heading"in o&&t(0,r=o.heading),"url"in o&&t(1,n=o.url),"testid"in o&&t(2,l=o.testid),"maxcontentwidth"in o&&t(3,a=o.maxcontentwidth)},[r,n,l,a]}class Pi extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box;font-family:var(--font-family)}.app-header{margin:0 auto;background-color:var(--color-white);border-bottom:1px solid var(--color-gray-100)}@media(max-width: 640px){.app-header{padding:1rem 1rem}}.content{margin:0 auto;width:min(var(--max-content-width), 100%);display:flex;align-items:center;justify-content:space-between}@media(min-width: 640px){.content{padding:1.5rem 1.125rem}}.app-link{display:flex;align-items:center;text-decoration:none;color:inherit}.title{margin-left:0.5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-desktop{display:none}.image-mobile{display:block}@media(min-width: 640px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Ii,Oi,I,{heading:0,url:1,testid:2,maxcontentwidth:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","url","testid","maxcontentwidth"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get url(){return this.$$.ctx[1]}set url(e){this.$$set({url:e}),h()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),h()}get maxcontentwidth(){return this.$$.ctx[3]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),h()}}customElements.define("goa-app-header",Pi);function G(i,e,t,r){return[i&&`margin-top:var(--goa-spacing-${i});`,e&&`margin-right:var(--goa-spacing-${e});`,t&&`margin-bottom:var(--goa-spacing-${t});`,r&&`margin-left:var(--goa-spacing-${r});`].join(" ")}function pt(i,e,t,r){const n=document.createElement("style"),l=Object.entries(t).map(a=>`${a[0]}: ${a[1]};`).join(" ");r?n.innerHTML=`@media (${r}) { ${e} {${l}} }`:n.innerHTML=`${e} {${l}}`,i.appendChild(n)}function U(i){return i==="false"?!1:i===""?!0:!!i}function qi(i){return i?"true":"false"}function xt(i,e){Object.entries(e).forEach(t=>{t[1]||console.warn(`${i}: ${t[0]} is required`)})}function Z(i,e,t=!1){return[e,n=>{!t&&!n||e.includes(n)||console.error(`[${n}] is an invalid ${i.toLowerCase()}`)}]}function Fi(i){let e;return{c(){e=y("div"),Q(e,"height","1.2rem"),Q(e,"margin-left","-0.25rem")},m(t,r){p(t,e,r)},p:k,d(t){t&&L(e)}}}function Gi(i){let e;return{c(){e=y("goa-icon"),T(e,"type",i[8]),T(e,"size","small")},m(t,r){p(t,e,r)},p(t,r){r&256&&T(e,"type",t[8])},d(t){t&&L(e)}}}function Et(i){let e,t;return{c(){e=y("div"),t=V(i[2]),u(e,"class","goa-badge-content")},m(r,n){p(r,e,n),g(e,t)},p(r,n){n&4&&W(t,r[2])},d(r){r&&L(e)}}}function Vi(i){let e,t,r,n;function l(c,d){return c[7]?Gi:Fi}let a=l(i),o=a(i),s=i[2]&&Et(i);return{c(){e=y("div"),o.c(),t=H(),s&&s.c(),this.c=k,u(e,"style",r=G(i[3],i[4],i[5],i[6])),u(e,"data-testid",i[1]),u(e,"data-type","goa-badge"),u(e,"class",n="goa-badge badge-"+i[0]),N(e,"icon-only",i[7]&&!i[2])},m(c,d){p(c,e,d),o.m(e,null),g(e,t),s&&s.m(e,null)},p(c,[d]){a===(a=l(c))&&o?o.p(c,d):(o.d(1),o=a(c),o&&(o.c(),o.m(e,t))),c[2]?s?s.p(c,d):(s=Et(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),d&120&&r!==(r=G(c[3],c[4],c[5],c[6]))&&u(e,"style",r),d&2&&u(e,"data-testid",c[1]),d&1&&n!==(n="goa-badge badge-"+c[0])&&u(e,"class",n),d&133&&N(e,"icon-only",c[7]&&!c[2])},i:k,o:k,d(c){c&&L(e),o.d(),s&&s.d()}}}function Ui(i,e,t){let r,n;const[l,a]=Z("Badge type",["success","important","information","emergency","dark","midtone","light"],!0);let{type:o}=e,{testid:s=""}=e,{content:c=""}=e,{icon:d="false"}=e,{mt:f=null}=e,{mr:m=null}=e,{mb:w=null}=e,{ml:b=null}=e;return X(()=>{a(o),!r&&!c&&console.warn("GoABadge must have either then content or icon property set")}),i.$$set=v=>{"type"in v&&t(0,o=v.type),"testid"in v&&t(1,s=v.testid),"content"in v&&t(2,c=v.content),"icon"in v&&t(9,d=v.icon),"mt"in v&&t(3,f=v.mt),"mr"in v&&t(4,m=v.mr),"mb"in v&&t(5,w=v.mb),"ml"in v&&t(6,b=v.ml)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=U(d)),i.$$.dirty&1&&t(8,n={success:"checkmark-circle",important:"alert-circle",information:"information-circle",emergency:"warning",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[o])},[o,s,c,f,m,w,b,r,n,d]}class Ki extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;align-items:center;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--fw-regular)}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm);padding-bottom:var(
|
|
5
5
|
--font-valign-fix
|
|
6
|
-
)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--goa-color-status-info)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--goa-color-text-light)}.goa-badge.badge-important{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.goa-badge.badge-emergency{background-color:var(--goa-color-status-emergency);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--color-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--color-gray-600);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--color-white);color:var(--goa-color-text)}</style>`,
|
|
7
|
-
${
|
|
6
|
+
)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--goa-color-status-info)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--goa-color-text-light)}.goa-badge.badge-important{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.goa-badge.badge-emergency{background-color:var(--goa-color-status-emergency);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--color-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--color-gray-600);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--color-white);color:var(--goa-color-text)}</style>`,F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Ui,Vi,I,{type:0,testid:1,content:2,icon:9,mt:3,mr:4,mb:5,ml:6},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","testid","content","icon","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),h()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),h()}get icon(){return this.$$.ctx[9]}set icon(e){this.$$set({icon:e}),h()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-badge",Ki);function Wi(i){let e,t,r;return{c(){e=y("div"),t=y("slot"),this.c=k,u(e,"class","block"),u(e,"style",r=`
|
|
7
|
+
${G(i[3],i[4],i[5],i[6])}
|
|
8
8
|
--gap: var(--goa-spacing-${i[0]});
|
|
9
9
|
--alignment: ${i[2]};
|
|
10
10
|
--direction: ${i[1]};
|
|
11
11
|
`)},m(n,l){p(n,e,l),g(e,t)},p(n,[l]){l&127&&r!==(r=`
|
|
12
|
-
${
|
|
12
|
+
${G(n[3],n[4],n[5],n[6])}
|
|
13
13
|
--gap: var(--goa-spacing-${n[0]});
|
|
14
14
|
--alignment: ${n[2]};
|
|
15
15
|
--direction: ${n[1]};
|
|
16
|
-
`)&&u(e,"style",r)},i:k,o:k,d(n){n&&L(e)}}}function Xi(i,e,t){let{gap:r="m"}=e,{direction:n="row"}=e,{alignment:l="start"}=e,{mt:a=null}=e,{mr:o=null}=e,{mb:s=null}=e,{ml:c=null}=e;return i.$$set=d=>{"gap"in d&&t(0,r=d.gap),"direction"in d&&t(1,n=d.direction),"alignment"in d&&t(2,l=d.alignment),"mt"in d&&t(3,a=d.mt),"mr"in d&&t(4,o=d.mr),"mb"in d&&t(5,s=d.mb),"ml"in d&&t(6,c=d.ml)},[r,n,l,a,o,s,c]}class Zi extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.block{display:flex;flex-direction:var(--direction);align-items:var(--alignment);gap:var(--gap)}</style>",
|
|
16
|
+
`)&&u(e,"style",r)},i:k,o:k,d(n){n&&L(e)}}}function Xi(i,e,t){let{gap:r="m"}=e,{direction:n="row"}=e,{alignment:l="start"}=e,{mt:a=null}=e,{mr:o=null}=e,{mb:s=null}=e,{ml:c=null}=e;return i.$$set=d=>{"gap"in d&&t(0,r=d.gap),"direction"in d&&t(1,n=d.direction),"alignment"in d&&t(2,l=d.alignment),"mt"in d&&t(3,a=d.mt),"mr"in d&&t(4,o=d.mr),"mb"in d&&t(5,s=d.mb),"ml"in d&&t(6,c=d.ml)},[r,n,l,a,o,s,c]}class Zi extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.block{display:flex;flex-direction:var(--direction);align-items:var(--alignment);gap:var(--gap)}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Xi,Wi,I,{gap:0,direction:1,alignment:2,mt:3,mr:4,mb:5,ml:6},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap","direction","alignment","mt","mr","mb","ml"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),h()}get direction(){return this.$$.ctx[1]}set direction(e){this.$$set({direction:e}),h()}get alignment(){return this.$$.ctx[2]}set alignment(e){this.$$set({alignment:e}),h()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-block",Zi);function Yi(i){let e,t,r,n,l=i[3]&&Ct(i),a=i[4]&&zt(i);return{c(){l&&l.c(),e=H(),t=y("slot"),r=H(),a&&a.c(),n=be(),u(t,"class","text")},m(o,s){l&&l.m(o,s),p(o,e,s),p(o,t,s),p(o,r,s),a&&a.m(o,s),p(o,n,s)},p(o,s){o[3]?l?l.p(o,s):(l=Ct(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[4]?a?a.p(o,s):(a=zt(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){l&&l.d(o),o&&L(e),o&&L(t),o&&L(r),a&&a.d(o),o&&L(n)}}}function Ji(i){let e,t,r;return{c(){e=y("slot"),t=H(),r=y("goa-icon"),u(e,"class","text"),T(r,"id","trailing-icon"),T(r,"type","arrow-forward"),T(r,"inverted","true")},m(n,l){p(n,e,l),p(n,t,l),p(n,r,l)},p:k,d(n){n&&L(e),n&&L(t),n&&L(r)}}}function Ct(i){let e;return{c(){e=y("goa-icon"),T(e,"id","leading-icon"),T(e,"type",i[3]),T(e,"inverted",i[10])},m(t,r){p(t,e,r)},p(t,r){r&8&&T(e,"type",t[3]),r&1024&&T(e,"inverted",t[10])},d(t){t&&L(e)}}}function zt(i){let e;return{c(){e=y("goa-icon"),T(e,"id","trailing-icon"),T(e,"type",i[4]),T(e,"inverted",i[10])},m(t,r){p(t,e,r)},p(t,r){r&16&&T(e,"type",t[4]),r&1024&&T(e,"inverted",t[10])},d(t){t&&L(e)}}}function Qi(i){let e,t,r,n,l;function a(c,d){return c[0]==="start"?Ji:Yi}let o=a(i),s=o(i);return{c(){e=y("button"),s.c(),this.c=k,u(e,"class",t=""+(i[0]+" "+i[1]+" "+i[2])),u(e,"style",r=G(i[6],i[7],i[8],i[9])),e.disabled=i[11],u(e,"data-testid",i[5]),N(e,"leading",i[3]),N(e,"trailing",i[4]||i[0]==="start")},m(c,d){p(c,e,d),s.m(e,null),n||(l=[Y(e,"click",Mt),Y(e,"click",Mt)],n=!0)},p(c,[d]){o===(o=a(c))&&s?s.p(c,d):(s.d(1),s=o(c),s&&(s.c(),s.m(e,null))),d&7&&t!==(t=""+(c[0]+" "+c[1]+" "+c[2]))&&u(e,"class",t),d&960&&r!==(r=G(c[6],c[7],c[8],c[9]))&&u(e,"style",r),d&2048&&(e.disabled=c[11]),d&32&&u(e,"data-testid",c[5]),d&15&&N(e,"leading",c[3]),d&23&&N(e,"trailing",c[4]||c[0]==="start")},i:k,o:k,d(c){c&&L(e),s.d(),n=!1,le(l)}}}function Mt(i){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),i.stopPropagation()}function $i(i,e,t){let r,n;const[l,a]=Z("Button type",["primary","submit","secondary","tertiary","start"],!0),[o,s]=Z("Button size",["normal","compact"],!0),[c,d]=Z("Button variant",["normal","destructive"],!0);let{type:f="primary"}=e,{size:m="normal"}=e,{variant:w="normal"}=e,{disabled:b="false"}=e,{leadingicon:v=null}=e,{trailingicon:_=null}=e,{testid:x=""}=e,{mt:z=null}=e,{mr:B=null}=e,{mb:R=null}=e,{ml:C=null}=e;return X(()=>{a(f),s(m),d(w)}),i.$$set=E=>{"type"in E&&t(0,f=E.type),"size"in E&&t(1,m=E.size),"variant"in E&&t(2,w=E.variant),"disabled"in E&&t(12,b=E.disabled),"leadingicon"in E&&t(3,v=E.leadingicon),"trailingicon"in E&&t(4,_=E.trailingicon),"testid"in E&&t(5,x=E.testid),"mt"in E&&t(6,z=E.mt),"mr"in E&&t(7,B=E.mr),"mb"in E&&t(8,R=E.mb),"ml"in E&&t(9,C=E.ml)},i.$$.update=()=>{i.$$.dirty&4096&&t(11,r=U(b)),i.$$.dirty&1&&t(10,n=f==="primary"||f==="start")},[f,m,w,v,_,x,z,B,R,C,n,r,b]}class er extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}@media(max-width: 480px){:host{width:100%}button{width:100%}}button{display:inline-flex;box-sizing:border-box;border-radius:0.25rem;border:2px solid var(--goa-color-interactive);box-sizing:border-box;cursor:pointer;font-family:var(--font-family);font-size:var(--fs-lg);font-weight:400;height:var(--button-height);letter-spacing:0.5px;line-height:100%;padding:0 0.75rem;gap:0.5rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
17
17
|
border-color 0.2s ease-in-out}.text{padding-bottom:var(
|
|
18
18
|
--font-valign-fix
|
|
19
|
-
)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--fs-base)}button.start{height:var(--button-height-tall);font-weight:var(--fw-bold)}button.start,button.submit,button.primary{border:2px solid var(--goa-color-interactive);background-color:var(--goa-color-interactive);color:var(--goa-color-text-light)}button.start:hover,button.submit:hover,button.primary:hover{border-color:var(--goa-color-interactive--hover);background-color:var(--goa-color-interactive--hover)}button.start:focus,button.start:active,button.submit:focus,button.submit:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);border-color:var(--goa-color-interactive--active);background-color:var(--goa-color-interactive--active);outline:none}button.secondary{border:2px solid var(--goa-color-interactive);background-color:var(--color-white);color:var(--goa-color-interactive)}button.secondary:hover{border-color:var(--goa-color-interactive--hover);color:var(--goa-color-interactive--hover);background-color:var(--color-gray-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);background-color:var(--color-gray-100);outline:none}button.tertiary{border:1px solid transparent;background-color:transparent;color:var(--goa-color-interactive);text-decoration:underline}button.tertiary:hover{border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);background-color:var(--color-gray-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--color-gray-100);background-color:var(--color-gray-100);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.submit.destructive,.primary.destructive{color:var(--color-white);background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.submit.destructive:hover,.primary.destructive:hover{background-color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.submit.destructive:focus,.primary.destructive:focus,.primary.destructive:active{background-color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.secondary.destructive{color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);background-color:var(--color-white)}.secondary.destructive:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}.secondary.destructive:focus,.secondary.destructive:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}.tertiary.destructive{color:var(--goa-color-status-emergency);border-color:var(--color-gray-200);background-color:var(--color-white)}.tertiary.destructive:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}.tertiary.destructive:focus,.tertiary.destructive:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}</style>`,q(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},ir,tr,I,{type:0,size:1,variant:2,disabled:12,leadingicon:3,trailingicon:4,testid:5,mt:6,mr:7,mb:8,ml:9},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","variant","disabled","leadingicon","trailingicon","testid","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),h()}get disabled(){return this.$$.ctx[12]}set disabled(e){this.$$set({disabled:e}),h()}get leadingicon(){return this.$$.ctx[3]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get trailingicon(){return this.$$.ctx[4]}set trailingicon(e){this.$$set({trailingicon:e}),h()}get testid(){return this.$$.ctx[5]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[6]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[7]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[8]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[9]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-button",rr);function Tt(i){let e,t;return{c(){e=w("h3"),t=G(i[5])},m(r,n){p(r,e,n),g(e,t)},p(r,n){n&32&&W(t,r[5])},d(r){r&&L(e)}}}function nr(i){let e,t,r,n,l,a,o,s,c,d,f=i[5]&&Tt(i);return{c(){e=w("div"),t=w("span"),r=w("goa-icon"),a=H(),o=w("span"),f&&f.c(),s=H(),c=w("slot"),this.c=k,T(r,"type",i[7]),T(r,"inverted",n=i[4]==="important"?"false":"true"),u(t,"class",l="icon "+i[4]),u(o,"class","content"),u(e,"style",d=V(i[0],i[1],i[2],i[3])),u(e,"class","notification"),u(e,"data-testid",i[6])},m(m,_){p(m,e,_),g(e,t),g(t,r),g(e,a),g(e,o),f&&f.m(o,null),g(o,s),g(o,c)},p(m,[_]){_&128&&T(r,"type",m[7]),_&16&&n!==(n=m[4]==="important"?"false":"true")&&T(r,"inverted",n),_&16&&l!==(l="icon "+m[4])&&u(t,"class",l),m[5]?f?f.p(m,_):(f=Tt(m),f.c(),f.m(o,s)):f&&(f.d(1),f=null),_&15&&d!==(d=V(m[0],m[1],m[2],m[3]))&&u(e,"style",d),_&64&&u(e,"data-testid",m[6])},i:k,o:k,d(m){m&&L(e),f&&f.d()}}}function lr(i,e,t){let r;const[n,l]=X("Callout type",["emergency","important","information","event","success"],!0);let{mt:a=null}=e,{mr:o=null}=e,{mb:s="l"}=e,{ml:c=null}=e,{type:d}=e,{heading:f=""}=e,{testid:m=""}=e;return Z(()=>{l(d)}),i.$$set=_=>{"mt"in _&&t(0,a=_.mt),"mr"in _&&t(1,o=_.mr),"mb"in _&&t(2,s=_.mb),"ml"in _&&t(3,c=_.ml),"type"in _&&t(4,d=_.type),"heading"in _&&t(5,f=_.heading),"testid"in _&&t(6,m=_.testid)},i.$$.update=()=>{i.$$.dirty&16&&t(7,r=d==="emergency"?"warning":d==="important"?"alert-circle":d==="information"?"information-circle":d==="success"?"checkmark-circle":d==="event"?"calendar":"")},[a,o,s,c,d,f,m,r]}class ar extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{display:flex;align-items:stretch;border-radius:3px;overflow:hidden}h3{font-size:var(--fs-xl);line-height:var(--lh-base);font-weight:var(--fw-regular);margin-top:0}.emergency{background-color:var(--goa-color-status-emergency)}.important{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info)}.event{background-color:var(--goa-color-status-info)}.success{background-color:var(--goa-color-status-success)}.icon{flex:0 0 3rem;text-align:center;padding-top:1.75rem}.content{flex:1 1 auto;background-color:var(--color-gray-100);padding:1.75rem}</style>",q(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},lr,nr,I,{mt:0,mr:1,mb:2,ml:3,type:4,heading:5,testid:6},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["mt","mr","mb","ml","type","heading","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),h()}get type(){return this.$$.ctx[4]}set type(e){this.$$set({type:e}),h()}get heading(){return this.$$.ctx[5]}set heading(e){this.$$set({heading:e}),h()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-callout",ar);function or(i){let e;return{c(){e=w("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=k},m(t,r){p(t,e,r)},p:k,i:k,o:k,d(t){t&&L(e)}}}class sr extends P{constructor(e){super();q(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},null,or,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-actions",sr);function cr(i){let e;return{c(){e=w("div"),e.innerHTML="<slot></slot>",this.c=k,u(e,"class","card-content")},m(t,r){p(t,e,r)},p:k,i:k,o:k,d(t){t&&L(e)}}}class dr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",q(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},null,cr,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-content",dr);function ur(i){let e;return{c(){e=w("div"),e.innerHTML="<slot></slot>",this.c=k,u(e,"class","card-group")},m(t,r){p(t,e,r)},p:k,i:k,o:k,d(t){t&&L(e)}}}class fr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",q(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},null,ur,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-group",fr);function hr(i){let e;return{c(){e=w("div"),this.c=k,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:k,o:k,d(t){t&&L(e)}}}function mr(i,e,t){let{src:r}=e,{height:n="100%"}=e;return i.$$set=l=>{"src"in l&&t(0,r=l.src),"height"in l&&t(1,n=l.height)},[r,n]}class gr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",q(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},mr,hr,I,{src:0,height:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["src","height"]}get src(){return this.$$.ctx[0]}set src(e){this.$$set({src:e}),h()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),h()}}customElements.define("goa-card-image",gr);function br(i){let e,t,r;return{c(){e=w("div"),t=w("slot"),this.c=k,u(e,"data-testid",i[7]),u(e,"class","card"),u(e,"style",r="--width: "+i[1]+"; --height: "+(i[2]==="auto"?"auto":"100%")+"; "+V(i[3],i[4],i[5],i[6])+" "+(i[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(n,l){p(n,e,l),g(e,t)},p(n,[l]){l&128&&u(e,"data-testid",n[7]),l&127&&r!==(r="--width: "+n[1]+"; --height: "+(n[2]==="auto"?"auto":"100%")+"; "+V(n[3],n[4],n[5],n[6])+" "+(n[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${n[0]});`)+"")&&u(e,"style",r)},i:k,o:k,d(n){n&&L(e)}}}function vr(i,e,t){let{elevation:r=0}=e,{width:n="100%"}=e,{height:l="auto"}=e,{mt:a=null}=e,{mr:o=null}=e,{mb:s=null}=e,{ml:c=null}=e,{testid:d=""}=e;return i.$$set=f=>{"elevation"in f&&t(0,r=f.elevation),"width"in f&&t(1,n=f.width),"height"in f&&t(2,l=f.height),"mt"in f&&t(3,a=f.mt),"mr"in f&&t(4,o=f.mr),"mb"in f&&t(5,s=f.mb),"ml"in f&&t(6,c=f.ml),"testid"in f&&t(7,d=f.testid)},[r,n,l,a,o,s,c,d]}class wr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card{background-color:var(--color-white);border-radius:4px;overflow:hidden;height:var(--height)}@media(min-width: 320px){.card{margin:0 auto}}</style>",q(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},vr,br,I,{elevation:0,width:1,height:2,mt:3,mr:4,mb:5,ml:6,testid:7},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["elevation","width","height","mt","mr","mb","ml","testid"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),h()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),h()}get height(){return this.$$.ctx[2]}set height(e){this.$$set({height:e}),h()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),h()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-card",wr);function yr(i){let e,t;return{c(){e=ge("svg"),t=ge("path"),u(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),u(e,"id","checkmark"),u(e,"data-testid","checkmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 16 12.18")},m(r,n){p(r,e,n),g(e,t)},d(r){r&&L(e)}}}function _r(i){let e,t;return{c(){e=ge("svg"),t=ge("rect"),u(t,"width","15"),u(t,"height","2"),u(e,"id","dashmark"),u(e,"data-testid","dashmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 15 2")},m(r,n){p(r,e,n),g(e,t)},d(r){r&&L(e)}}}function kr(i){let e,t,r,n,l,a,o,s,c,d,f,m,_;function b(x,z){if(x[10])return _r;if(x[9])return yr}let v=b(i),y=v&&v(i);return{c(){e=w("label"),t=w("div"),r=w("input"),a=H(),y&&y.c(),o=H(),s=w("div"),c=w("slot"),d=G(i[1]),this.c=k,u(r,"id",i[0]),u(r,"name",i[0]),r.checked=i[9],r.disabled=i[12],u(r,"type","checkbox"),r.value=n=`${i[2]}`,u(r,"aria-label",l=i[4]||i[0]),u(t,"class","goa-checkbox-container"),O(t,"goa-checkbox--selected",i[9]),u(s,"class","goa-checkbox-text"),u(s,"data-testid","text"),u(e,"data-testid",i[3]),u(e,"for",i[0]),u(e,"style",f=V(i[5],i[6],i[7],i[8])),u(e,"class","goa-checkbox"),O(e,"goa-checkbox--disabled",i[12]),O(e,"goa-checkbox--error",i[11])},m(x,z){p(x,e,z),g(e,t),g(t,r),g(t,a),y&&y.m(t,null),g(e,o),g(e,s),g(s,c),g(c,d),m||(_=Y(r,"change",i[13]),m=!0)},p(x,[z]){z&1&&u(r,"id",x[0]),z&1&&u(r,"name",x[0]),z&512&&(r.checked=x[9]),z&4096&&(r.disabled=x[12]),z&4&&n!==(n=`${x[2]}`)&&(r.value=n),z&17&&l!==(l=x[4]||x[0])&&u(r,"aria-label",l),v!==(v=b(x))&&(y&&y.d(1),y=v&&v(x),y&&(y.c(),y.m(t,null))),z&512&&O(t,"goa-checkbox--selected",x[9]),z&2&&W(d,x[1]),z&8&&u(e,"data-testid",x[3]),z&1&&u(e,"for",x[0]),z&480&&f!==(f=V(x[5],x[6],x[7],x[8]))&&u(e,"style",f),z&4096&&O(e,"goa-checkbox--disabled",x[12]),z&2048&&O(e,"goa-checkbox--error",x[11])},i:k,o:k,d(x){x&&L(e),y&&y.d(),m=!1,_()}}}function pr(i,e,t){let r,n,l,a,{name:o}=e,{checked:s="false"}=e,{text:c=""}=e,{value:d=""}=e,{disabled:f="false"}=e,{error:m="false"}=e,{testid:_=""}=e,{arialabel:b=""}=e,{mt:v=null}=e,{mr:y=null}=e,{mb:x=null}=e,{ml:z=null}=e,B;Z(()=>{B=d});function R(C){const E=!l,N=E?`${B||"checked"}`:"";t(14,s=Fi(E)),C.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,checked:E,value:N}}))}return i.$$set=C=>{"name"in C&&t(0,o=C.name),"checked"in C&&t(14,s=C.checked),"text"in C&&t(1,c=C.text),"value"in C&&t(2,d=C.value),"disabled"in C&&t(15,f=C.disabled),"error"in C&&t(16,m=C.error),"testid"in C&&t(3,_=C.testid),"arialabel"in C&&t(4,b=C.arialabel),"mt"in C&&t(5,v=C.mt),"mr"in C&&t(6,y=C.mr),"mb"in C&&t(7,x=C.mb),"ml"in C&&t(8,z=C.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(12,r=U(f)),i.$$.dirty&65536&&t(11,n=U(m)),i.$$.dirty&16384&&t(9,l=U(s))},t(10,a=!1),[o,c,d,_,b,v,y,x,z,l,a,n,r,R,s,f,m]}class xr extends P{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family);display:block}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled{opacity:40%}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--color-gray-600);border-radius:2px;background-color:var(--color-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px;flex:0 0 auto}.goa-checkbox-container svg{fill:var(--color-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive--hover)}.goa-checkbox-container:hover{border:1px solid var(--goa-color-interactive--hover)}.goa-checkbox-container:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--fw-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--color-gray-400)}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-status-emergency);box-shadow:inset 0 0 0 1px var(--goa-color-status-emergency);background-color:var(--color-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-status-emergency)}</style>',q(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},pr,kr,I,{name:0,checked:14,text:1,value:2,disabled:15,error:16,testid:3,arialabel:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","checked","text","value","disabled","error","testid","arialabel","mt","mr","mb","ml"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get checked(){return this.$$.ctx[14]}set checked(e){this.$$set({checked:e}),h()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),h()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),h()}get disabled(){return this.$$.ctx[15]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[16]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}get arialabel(){return this.$$.ctx[4]}set arialabel(e){this.$$set({arialabel:e}),h()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-checkbox",xr);function Lt(i){let e;return{c(){e=w("goa-icon"),T(e,"class","leading-icon"),T(e,"size","medium"),T(e,"type",i[4])},m(t,r){p(t,e,r)},p(t,r){r&16&&T(e,"type",t[4])},d(t){t&&L(e)}}}function At(i){let e,t,r;return{c(){e=w("goa-icon"),T(e,"class","delete-icon"),T(e,"size","medium"),T(e,"theme","filled"),T(e,"type","close-circle"),T(e,"fillcolor",t=i[10]?"var(--goa-color-status-emergency)":i[9]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)"),T(e,"opacity",r=i[10]?i[9]?1:.5:1)},m(n,l){p(n,e,l)},p(n,l){l&1536&&t!==(t=n[10]?"var(--goa-color-status-emergency)":n[9]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)")&&T(e,"fillcolor",t),l&1536&&r!==(r=n[10]?n[9]?1:.5:1)&&T(e,"opacity",r)},d(n){n&&L(e)}}}function Er(i){let e,t,r,n,l,a,o,s,c=i[4]&&Lt(i),d=i[11]&&At(i);return{c(){e=w("div"),c&&c.c(),t=H(),r=w("div"),n=G(i[5]),l=H(),d&&d.c(),this.c=k,u(r,"class","text"),u(e,"data-testid",i[7]),u(e,"class","chip"),u(e,"style",a=V(i[0],i[1],i[2],i[3])),u(e,"tabindex","0"),O(e,"deletable",i[11]),O(e,"error",i[10]),O(e,"variant",i[6])},m(f,m){p(f,e,m),c&&c.m(e,null),g(e,t),g(e,r),g(r,n),g(e,l),d&&d.m(e,null),i[15](e),o||(s=[Y(e,"click",i[16]),Y(e,"mouseover",i[17]),Y(e,"mouseout",i[18]),Y(e,"focus",i[19]),Y(e,"blur",i[20])],o=!0)},p(f,[m]){f[4]?c?c.p(f,m):(c=Lt(f),c.c(),c.m(e,t)):c&&(c.d(1),c=null),m&32&&W(n,f[5]),f[11]?d?d.p(f,m):(d=At(f),d.c(),d.m(e,null)):d&&(d.d(1),d=null),m&128&&u(e,"data-testid",f[7]),m&15&&a!==(a=V(f[0],f[1],f[2],f[3]))&&u(e,"style",a),m&2048&&O(e,"deletable",f[11]),m&1024&&O(e,"error",f[10]),m&64&&O(e,"variant",f[6])},i:k,o:k,d(f){f&&L(e),c&&c.d(),d&&d.d(),i[15](null),o=!1,ne(s)}}}function Cr(i,e,t){let{mt:r=null}=e,{mr:n=null}=e,{mb:l=null}=e,{ml:a=null}=e,{leadingicon:o=null}=e,{error:s="false"}=e,{deletable:c="false"}=e,{content:d}=e,{variant:f}=e,{testid:m=""}=e,_,b=!1,v,y;function x(A){_.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),A.stopPropagation()}function z(A){le[A?"unshift":"push"](()=>{_=A,t(8,_)})}const B=A=>y&&x(A),R=()=>t(9,b=!0),C=()=>t(9,b=!1),E=()=>t(9,b=!1),N=()=>t(9,b=!1);return i.$$set=A=>{"mt"in A&&t(0,r=A.mt),"mr"in A&&t(1,n=A.mr),"mb"in A&&t(2,l=A.mb),"ml"in A&&t(3,a=A.ml),"leadingicon"in A&&t(4,o=A.leadingicon),"error"in A&&t(13,s=A.error),"deletable"in A&&t(14,c=A.deletable),"content"in A&&t(5,d=A.content),"variant"in A&&t(6,f=A.variant),"testid"in A&&t(7,m=A.testid)},i.$$.update=()=>{i.$$.dirty&8192&&t(10,v=U(s)),i.$$.dirty&16384&&t(11,y=U(c))},[r,n,l,a,o,d,f,m,_,b,v,y,x,s,c,z,B,R,C,E,N]}class zr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--color-white);border-radius:99px;border:1px solid #949494;box-sizing:border-box;color:var(--goa-color-text);display:inline-flex;flex-direction:row;font-size:var(--chip-font-size);font-weight:var(--fw-regular);gap:0.25rem;height:2rem;justify-content:center;padding:0 0.75rem;cursor:default}.text{padding-bottom:var(--font-valign-fix)}.chip:focus{outline:2px solid var(--goa-color-interactive--focus);background-color:var(--color-white)}.chip:hover{background-color:var(--color-gray-200)}.deletable{cursor:pointer}.delete-icon{margin-right:-0.25rem}.error,.error:hover{background-color:var(--goa-color-status-emergency-light)}</style>",q(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Cr,Er,I,{mt:0,mr:1,mb:2,ml:3,leadingicon:4,error:13,deletable:14,content:5,variant:6,testid:7},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["mt","mr","mb","ml","leadingicon","error","deletable","content","variant","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),h()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get error(){return this.$$.ctx[13]}set error(e){this.$$set({error:e}),h()}get deletable(){return this.$$.ctx[14]}set deletable(e){this.$$set({deletable:e}),h()}get content(){return this.$$.ctx[5]}set content(e){this.$$set({content:e}),h()}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),h()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-chip",zr);function Mr(i){const e=i-1;return e*e*e+1}function Tr(i){return Math.pow(i-1,3)*(1-i)+1}function Ce(i,{delay:e=0,duration:t=400,easing:r=Me}={}){const n=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:l=>`opacity: ${l*n}`}}function Rt(i,{delay:e=0,duration:t=400,easing:r=Mr,x:n=0,y:l=0,opacity:a=0}={}){const o=getComputedStyle(i),s=+o.opacity,c=o.transform==="none"?"":o.transform,d=s*(1-a);return{delay:e,duration:t,easing:r,css:(f,m)=>`
|
|
19
|
+
)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--fs-base)}button.start{height:var(--button-height-tall);font-weight:var(--fw-bold)}button.start,button.submit,button.primary{border:2px solid var(--goa-color-interactive);background-color:var(--goa-color-interactive);color:var(--goa-color-text-light)}button.start:hover,button.submit:hover,button.primary:hover{border-color:var(--goa-color-interactive--hover);background-color:var(--goa-color-interactive--hover)}button.start:focus,button.start:active,button.submit:focus,button.submit:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);border-color:var(--goa-color-interactive--active);background-color:var(--goa-color-interactive--active);outline:none}button.secondary{border:2px solid var(--goa-color-interactive);background-color:var(--color-white);color:var(--goa-color-interactive)}button.secondary:hover{border-color:var(--goa-color-interactive--hover);color:var(--goa-color-interactive--hover);background-color:var(--color-gray-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);background-color:var(--color-gray-100);outline:none}button.tertiary{border:1px solid transparent;background-color:transparent;color:var(--goa-color-interactive);text-decoration:underline}button.tertiary:hover{border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);background-color:var(--color-gray-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--color-gray-100);background-color:var(--color-gray-100);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.submit.destructive,.primary.destructive{color:var(--color-white);background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.submit.destructive:hover,.primary.destructive:hover{background-color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.submit.destructive:focus,.primary.destructive:focus,.primary.destructive:active{background-color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.secondary.destructive{color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);background-color:var(--color-white)}.secondary.destructive:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}.secondary.destructive:focus,.secondary.destructive:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}.tertiary.destructive{color:var(--goa-color-status-emergency);border-color:var(--color-gray-200);background-color:var(--color-white)}.tertiary.destructive:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}.tertiary.destructive:focus,.tertiary.destructive:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}</style>`,F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},$i,Qi,I,{type:0,size:1,variant:2,disabled:12,leadingicon:3,trailingicon:4,testid:5,mt:6,mr:7,mb:8,ml:9},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","variant","disabled","leadingicon","trailingicon","testid","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),h()}get disabled(){return this.$$.ctx[12]}set disabled(e){this.$$set({disabled:e}),h()}get leadingicon(){return this.$$.ctx[3]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get trailingicon(){return this.$$.ctx[4]}set trailingicon(e){this.$$set({trailingicon:e}),h()}get testid(){return this.$$.ctx[5]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[6]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[7]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[8]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[9]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-button",er);function tr(i){let e,t,r;return{c(){e=y("div"),t=y("slot"),this.c=k,u(e,"data-testid",i[1]),u(e,"style",r=""+(G(i[2],i[3],i[4],i[5])+"; --alignment: "+i[6]+"; --gap-size: "+(i[0]==="relaxed"?"1rem":"0.75rem")))},m(n,l){p(n,e,l),g(e,t)},p(n,[l]){l&2&&u(e,"data-testid",n[1]),l&125&&r!==(r=""+(G(n[2],n[3],n[4],n[5])+"; --alignment: "+n[6]+"; --gap-size: "+(n[0]==="relaxed"?"1rem":"0.75rem")))&&u(e,"style",r)},i:k,o:k,d(n){n&&L(e)}}}function ir(i,e,t){let r,{alignment:n="start"}=e,{gap:l="relaxed"}=e,{testid:a=""}=e,{mt:o=null}=e,{mr:s=null}=e,{mb:c=null}=e,{ml:d=null}=e;const[f,m]=Z("alignment",["start","end","center"]),[w,b]=Z("gap",["relaxed","compact"]);return X(()=>{m(n),b(l)}),i.$$set=v=>{"alignment"in v&&t(7,n=v.alignment),"gap"in v&&t(0,l=v.gap),"testid"in v&&t(1,a=v.testid),"mt"in v&&t(2,o=v.mt),"mr"in v&&t(3,s=v.mr),"mb"in v&&t(4,c=v.mb),"ml"in v&&t(5,d=v.ml)},i.$$.update=()=>{i.$$.dirty&128&&t(6,r={start:"flex-start",end:"flex-end",center:"center"}[n])},[l,a,o,s,c,d,r,n]}class rr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}div{display:flex;flex-direction:row;justify-content:var(--alignment);align-items:center;flex-wrap:wrap;gap:var(--gap-size);padding:3px 0}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},ir,tr,I,{alignment:7,gap:0,testid:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["alignment","gap","testid","mt","mr","mb","ml"]}get alignment(){return this.$$.ctx[7]}set alignment(e){this.$$set({alignment:e}),h()}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),h()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-button-group",rr);function Tt(i){let e,t;return{c(){e=y("h3"),t=V(i[5])},m(r,n){p(r,e,n),g(e,t)},p(r,n){n&32&&W(t,r[5])},d(r){r&&L(e)}}}function nr(i){let e,t,r,n,l,a,o,s,c,d,f=i[5]&&Tt(i);return{c(){e=y("div"),t=y("span"),r=y("goa-icon"),a=H(),o=y("span"),f&&f.c(),s=H(),c=y("slot"),this.c=k,T(r,"type",i[7]),T(r,"inverted",n=i[4]==="important"?"false":"true"),u(t,"class",l="icon "+i[4]),u(o,"class","content"),u(e,"style",d=G(i[0],i[1],i[2],i[3])),u(e,"class","notification"),u(e,"data-testid",i[6])},m(m,w){p(m,e,w),g(e,t),g(t,r),g(e,a),g(e,o),f&&f.m(o,null),g(o,s),g(o,c)},p(m,[w]){w&128&&T(r,"type",m[7]),w&16&&n!==(n=m[4]==="important"?"false":"true")&&T(r,"inverted",n),w&16&&l!==(l="icon "+m[4])&&u(t,"class",l),m[5]?f?f.p(m,w):(f=Tt(m),f.c(),f.m(o,s)):f&&(f.d(1),f=null),w&15&&d!==(d=G(m[0],m[1],m[2],m[3]))&&u(e,"style",d),w&64&&u(e,"data-testid",m[6])},i:k,o:k,d(m){m&&L(e),f&&f.d()}}}function lr(i,e,t){let r;const[n,l]=Z("Callout type",["emergency","important","information","event","success"],!0);let{mt:a=null}=e,{mr:o=null}=e,{mb:s="l"}=e,{ml:c=null}=e,{type:d}=e,{heading:f=""}=e,{testid:m=""}=e;return X(()=>{l(d)}),i.$$set=w=>{"mt"in w&&t(0,a=w.mt),"mr"in w&&t(1,o=w.mr),"mb"in w&&t(2,s=w.mb),"ml"in w&&t(3,c=w.ml),"type"in w&&t(4,d=w.type),"heading"in w&&t(5,f=w.heading),"testid"in w&&t(6,m=w.testid)},i.$$.update=()=>{i.$$.dirty&16&&t(7,r=d==="emergency"?"warning":d==="important"?"alert-circle":d==="information"?"information-circle":d==="success"?"checkmark-circle":d==="event"?"calendar":"")},[a,o,s,c,d,f,m,r]}class ar extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{display:flex;align-items:stretch;border-radius:3px;overflow:hidden}h3{font-size:var(--fs-xl);line-height:var(--lh-base);font-weight:var(--fw-regular);margin-top:0}.emergency{background-color:var(--goa-color-status-emergency)}.important{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info)}.event{background-color:var(--goa-color-status-info)}.success{background-color:var(--goa-color-status-success)}.icon{flex:0 0 3rem;text-align:center;padding-top:1.75rem}.content{flex:1 1 auto;background-color:var(--color-gray-100);padding:1.75rem}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},lr,nr,I,{mt:0,mr:1,mb:2,ml:3,type:4,heading:5,testid:6},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["mt","mr","mb","ml","type","heading","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),h()}get type(){return this.$$.ctx[4]}set type(e){this.$$set({type:e}),h()}get heading(){return this.$$.ctx[5]}set heading(e){this.$$set({heading:e}),h()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-callout",ar);function or(i){let e;return{c(){e=y("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=k},m(t,r){p(t,e,r)},p:k,i:k,o:k,d(t){t&&L(e)}}}class sr extends P{constructor(e){super();F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},null,or,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-actions",sr);function cr(i){let e,t,r;return{c(){e=y("div"),t=y("slot"),this.c=k,u(e,"data-testid",i[7]),u(e,"class","card"),u(e,"style",r="--width: "+i[1]+"; --height: "+(i[2]==="auto"?"auto":"100%")+"; "+G(i[3],i[4],i[5],i[6])+" "+(i[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(n,l){p(n,e,l),g(e,t)},p(n,[l]){l&128&&u(e,"data-testid",n[7]),l&127&&r!==(r="--width: "+n[1]+"; --height: "+(n[2]==="auto"?"auto":"100%")+"; "+G(n[3],n[4],n[5],n[6])+" "+(n[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${n[0]});`)+"")&&u(e,"style",r)},i:k,o:k,d(n){n&&L(e)}}}function dr(i,e,t){let{elevation:r=0}=e,{width:n="100%"}=e,{height:l="auto"}=e,{mt:a=null}=e,{mr:o=null}=e,{mb:s=null}=e,{ml:c=null}=e,{testid:d=""}=e;return i.$$set=f=>{"elevation"in f&&t(0,r=f.elevation),"width"in f&&t(1,n=f.width),"height"in f&&t(2,l=f.height),"mt"in f&&t(3,a=f.mt),"mr"in f&&t(4,o=f.mr),"mb"in f&&t(5,s=f.mb),"ml"in f&&t(6,c=f.ml),"testid"in f&&t(7,d=f.testid)},[r,n,l,a,o,s,c,d]}class ur extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card{background-color:var(--color-white);border-radius:4px;overflow:hidden;height:var(--height)}@media(min-width: 320px){.card{margin:0 auto}}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},dr,cr,I,{elevation:0,width:1,height:2,mt:3,mr:4,mb:5,ml:6,testid:7},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["elevation","width","height","mt","mr","mb","ml","testid"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),h()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),h()}get height(){return this.$$.ctx[2]}set height(e){this.$$set({height:e}),h()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),h()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-card",ur);function fr(i){let e;return{c(){e=y("div"),e.innerHTML="<slot></slot>",this.c=k,u(e,"class","card-content")},m(t,r){p(t,e,r)},p:k,i:k,o:k,d(t){t&&L(e)}}}class hr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},null,fr,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-content",hr);function mr(i){let e;return{c(){e=y("div"),e.innerHTML="<slot></slot>",this.c=k,u(e,"class","card-group")},m(t,r){p(t,e,r)},p:k,i:k,o:k,d(t){t&&L(e)}}}class gr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},null,mr,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-group",gr);function br(i){let e;return{c(){e=y("div"),this.c=k,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:k,o:k,d(t){t&&L(e)}}}function vr(i,e,t){let{src:r}=e,{height:n="100%"}=e;return i.$$set=l=>{"src"in l&&t(0,r=l.src),"height"in l&&t(1,n=l.height)},[r,n]}class yr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},vr,br,I,{src:0,height:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["src","height"]}get src(){return this.$$.ctx[0]}set src(e){this.$$set({src:e}),h()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),h()}}customElements.define("goa-card-image",yr);function wr(i){let e,t;return{c(){e=ge("svg"),t=ge("path"),u(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),u(e,"id","checkmark"),u(e,"data-testid","checkmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 16 12.18")},m(r,n){p(r,e,n),g(e,t)},d(r){r&&L(e)}}}function _r(i){let e,t;return{c(){e=ge("svg"),t=ge("rect"),u(t,"width","15"),u(t,"height","2"),u(e,"id","dashmark"),u(e,"data-testid","dashmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 15 2")},m(r,n){p(r,e,n),g(e,t)},d(r){r&&L(e)}}}function kr(i){let e,t,r,n,l,a,o,s,c,d,f,m,w;function b(x,z){if(x[10])return _r;if(x[9])return wr}let v=b(i),_=v&&v(i);return{c(){e=y("label"),t=y("div"),r=y("input"),a=H(),_&&_.c(),o=H(),s=y("div"),c=y("slot"),d=V(i[1]),this.c=k,u(r,"id",i[0]),u(r,"name",i[0]),r.checked=i[9],r.disabled=i[12],u(r,"type","checkbox"),r.value=n=`${i[2]}`,u(r,"aria-label",l=i[4]||i[0]),u(t,"class","goa-checkbox-container"),N(t,"goa-checkbox--selected",i[9]),u(s,"class","goa-checkbox-text"),u(s,"data-testid","text"),u(e,"data-testid",i[3]),u(e,"for",i[0]),u(e,"style",f=G(i[5],i[6],i[7],i[8])),u(e,"class","goa-checkbox"),N(e,"goa-checkbox--disabled",i[12]),N(e,"goa-checkbox--error",i[11])},m(x,z){p(x,e,z),g(e,t),g(t,r),g(t,a),_&&_.m(t,null),g(e,o),g(e,s),g(s,c),g(c,d),m||(w=Y(r,"change",i[13]),m=!0)},p(x,[z]){z&1&&u(r,"id",x[0]),z&1&&u(r,"name",x[0]),z&512&&(r.checked=x[9]),z&4096&&(r.disabled=x[12]),z&4&&n!==(n=`${x[2]}`)&&(r.value=n),z&17&&l!==(l=x[4]||x[0])&&u(r,"aria-label",l),v!==(v=b(x))&&(_&&_.d(1),_=v&&v(x),_&&(_.c(),_.m(t,null))),z&512&&N(t,"goa-checkbox--selected",x[9]),z&2&&W(d,x[1]),z&8&&u(e,"data-testid",x[3]),z&1&&u(e,"for",x[0]),z&480&&f!==(f=G(x[5],x[6],x[7],x[8]))&&u(e,"style",f),z&4096&&N(e,"goa-checkbox--disabled",x[12]),z&2048&&N(e,"goa-checkbox--error",x[11])},i:k,o:k,d(x){x&&L(e),_&&_.d(),m=!1,w()}}}function pr(i,e,t){let r,n,l,a,{name:o}=e,{checked:s="false"}=e,{text:c=""}=e,{value:d=""}=e,{disabled:f="false"}=e,{error:m="false"}=e,{testid:w=""}=e,{arialabel:b=""}=e,{mt:v=null}=e,{mr:_=null}=e,{mb:x=null}=e,{ml:z=null}=e,B;X(()=>{B=d});function R(C){const E=!l,j=E?`${B||"checked"}`:"";t(14,s=qi(E)),C.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,checked:E,value:j}}))}return i.$$set=C=>{"name"in C&&t(0,o=C.name),"checked"in C&&t(14,s=C.checked),"text"in C&&t(1,c=C.text),"value"in C&&t(2,d=C.value),"disabled"in C&&t(15,f=C.disabled),"error"in C&&t(16,m=C.error),"testid"in C&&t(3,w=C.testid),"arialabel"in C&&t(4,b=C.arialabel),"mt"in C&&t(5,v=C.mt),"mr"in C&&t(6,_=C.mr),"mb"in C&&t(7,x=C.mb),"ml"in C&&t(8,z=C.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(12,r=U(f)),i.$$.dirty&65536&&t(11,n=U(m)),i.$$.dirty&16384&&t(9,l=U(s))},t(10,a=!1),[o,c,d,w,b,v,_,x,z,l,a,n,r,R,s,f,m]}class xr extends P{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family);display:block}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled{opacity:40%}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--color-gray-600);border-radius:2px;background-color:var(--color-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px;flex:0 0 auto}.goa-checkbox-container svg{fill:var(--color-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive--hover)}.goa-checkbox-container:hover{border:1px solid var(--goa-color-interactive--hover)}.goa-checkbox-container:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--fw-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--color-gray-400)}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-status-emergency);box-shadow:inset 0 0 0 1px var(--goa-color-status-emergency);background-color:var(--color-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-status-emergency)}</style>',F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},pr,kr,I,{name:0,checked:14,text:1,value:2,disabled:15,error:16,testid:3,arialabel:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","checked","text","value","disabled","error","testid","arialabel","mt","mr","mb","ml"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get checked(){return this.$$.ctx[14]}set checked(e){this.$$set({checked:e}),h()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),h()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),h()}get disabled(){return this.$$.ctx[15]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[16]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}get arialabel(){return this.$$.ctx[4]}set arialabel(e){this.$$set({arialabel:e}),h()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-checkbox",xr);function Lt(i){let e;return{c(){e=y("goa-icon"),T(e,"class","leading-icon"),T(e,"size","medium"),T(e,"type",i[4])},m(t,r){p(t,e,r)},p(t,r){r&16&&T(e,"type",t[4])},d(t){t&&L(e)}}}function At(i){let e,t,r;return{c(){e=y("goa-icon"),T(e,"class","delete-icon"),T(e,"size","medium"),T(e,"theme","filled"),T(e,"type","close-circle"),T(e,"fillcolor",t=i[10]?"var(--goa-color-status-emergency)":i[9]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)"),T(e,"opacity",r=i[10]?i[9]?1:.5:1)},m(n,l){p(n,e,l)},p(n,l){l&1536&&t!==(t=n[10]?"var(--goa-color-status-emergency)":n[9]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)")&&T(e,"fillcolor",t),l&1536&&r!==(r=n[10]?n[9]?1:.5:1)&&T(e,"opacity",r)},d(n){n&&L(e)}}}function Er(i){let e,t,r,n,l,a,o,s,c=i[4]&&Lt(i),d=i[11]&&At(i);return{c(){e=y("div"),c&&c.c(),t=H(),r=y("div"),n=V(i[5]),l=H(),d&&d.c(),this.c=k,u(r,"class","text"),u(e,"data-testid",i[7]),u(e,"class","chip"),u(e,"style",a=G(i[0],i[1],i[2],i[3])),u(e,"tabindex","0"),N(e,"deletable",i[11]),N(e,"error",i[10]),N(e,"variant",i[6])},m(f,m){p(f,e,m),c&&c.m(e,null),g(e,t),g(e,r),g(r,n),g(e,l),d&&d.m(e,null),i[15](e),o||(s=[Y(e,"click",i[16]),Y(e,"mouseover",i[17]),Y(e,"mouseout",i[18]),Y(e,"focus",i[19]),Y(e,"blur",i[20])],o=!0)},p(f,[m]){f[4]?c?c.p(f,m):(c=Lt(f),c.c(),c.m(e,t)):c&&(c.d(1),c=null),m&32&&W(n,f[5]),f[11]?d?d.p(f,m):(d=At(f),d.c(),d.m(e,null)):d&&(d.d(1),d=null),m&128&&u(e,"data-testid",f[7]),m&15&&a!==(a=G(f[0],f[1],f[2],f[3]))&&u(e,"style",a),m&2048&&N(e,"deletable",f[11]),m&1024&&N(e,"error",f[10]),m&64&&N(e,"variant",f[6])},i:k,o:k,d(f){f&&L(e),c&&c.d(),d&&d.d(),i[15](null),o=!1,le(s)}}}function Cr(i,e,t){let{mt:r=null}=e,{mr:n=null}=e,{mb:l=null}=e,{ml:a=null}=e,{leadingicon:o=null}=e,{error:s="false"}=e,{deletable:c="false"}=e,{content:d}=e,{variant:f}=e,{testid:m=""}=e,w,b=!1,v,_;function x(A){w.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),A.stopPropagation()}function z(A){ne[A?"unshift":"push"](()=>{w=A,t(8,w)})}const B=A=>_&&x(A),R=()=>t(9,b=!0),C=()=>t(9,b=!1),E=()=>t(9,b=!1),j=()=>t(9,b=!1);return i.$$set=A=>{"mt"in A&&t(0,r=A.mt),"mr"in A&&t(1,n=A.mr),"mb"in A&&t(2,l=A.mb),"ml"in A&&t(3,a=A.ml),"leadingicon"in A&&t(4,o=A.leadingicon),"error"in A&&t(13,s=A.error),"deletable"in A&&t(14,c=A.deletable),"content"in A&&t(5,d=A.content),"variant"in A&&t(6,f=A.variant),"testid"in A&&t(7,m=A.testid)},i.$$.update=()=>{i.$$.dirty&8192&&t(10,v=U(s)),i.$$.dirty&16384&&t(11,_=U(c))},[r,n,l,a,o,d,f,m,w,b,v,_,x,s,c,z,B,R,C,E,j]}class zr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--color-white);border-radius:99px;border:1px solid #949494;box-sizing:border-box;color:var(--goa-color-text);display:inline-flex;flex-direction:row;font-size:var(--chip-font-size);font-weight:var(--fw-regular);gap:0.25rem;height:2rem;justify-content:center;padding:0 0.75rem;cursor:default}.text{padding-bottom:var(--font-valign-fix)}.chip:focus{outline:2px solid var(--goa-color-interactive--focus);background-color:var(--color-white)}.chip:hover{background-color:var(--color-gray-200)}.deletable{cursor:pointer}.delete-icon{margin-right:-0.25rem}.error,.error:hover{background-color:var(--goa-color-status-emergency-light)}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Cr,Er,I,{mt:0,mr:1,mb:2,ml:3,leadingicon:4,error:13,deletable:14,content:5,variant:6,testid:7},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["mt","mr","mb","ml","leadingicon","error","deletable","content","variant","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),h()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get error(){return this.$$.ctx[13]}set error(e){this.$$set({error:e}),h()}get deletable(){return this.$$.ctx[14]}set deletable(e){this.$$set({deletable:e}),h()}get content(){return this.$$.ctx[5]}set content(e){this.$$set({content:e}),h()}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),h()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-chip",zr);function Mr(i){const e=i-1;return e*e*e+1}function Tr(i){return Math.pow(i-1,3)*(1-i)+1}function Ce(i,{delay:e=0,duration:t=400,easing:r=Me}={}){const n=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:l=>`opacity: ${l*n}`}}function Rt(i,{delay:e=0,duration:t=400,easing:r=Mr,x:n=0,y:l=0,opacity:a=0}={}){const o=getComputedStyle(i),s=+o.opacity,c=o.transform==="none"?"":o.transform,d=s*(1-a);return{delay:e,duration:t,easing:r,css:(f,m)=>`
|
|
20
20
|
transform: ${c} translate(${(1-f)*n}px, ${(1-f)*l}px);
|
|
21
|
-
opacity: ${s-d*m}`}}function Ht(i,e){let t=!1;function r(){if(!n())return;const o=a();o>0&&(t=!0,document.body.style.overflow="hidden",document.body.style.paddingRight=o+"px")}function n(){return document.body.style.overflow!=="hidden"}function l(){!t||(t=!1,setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},200))}function a(){if(document.body.clientHeight<=document.documentElement.clientHeight)return 0;const o=document.createElement("div");o.style.visibility="hidden",o.style.overflow="scroll",document.body.appendChild(o);const s=document.createElement("div");o.appendChild(s);const c=o.offsetWidth-s.offsetWidth;return o.parentNode.removeChild(o),c}return e.enable&&r(),{update(){e.enable||l()},destroy(){l()}}}function St(i){let e,t,r,n;const l=[Ar,Lr],a=[];function o(s,c){return s[3]?0:s[4]?1:-1}return~(e=o(i))&&(t=a[e]=l[e](i)),{c(){t&&t.c(),r=be()},m(s,c){~e&&a[e].m(s,c),p(s,r,c),n=!0},p(s,c){let d=e;e=o(s),e===d?~e&&a[e].p(s,c):(t&&(xe(),J(a[d],1,1,()=>{a[d]=null}),Ee()),~e?(t=a[e],t?t.p(s,c):(t=a[e]=l[e](s),t.c()),K(t,1),t.m(r.parentNode,r)):t=null)},i(s){n||(K(t),n=!0)},o(s){J(t),n=!1},d(s){~e&&a[e].d(s),s&&L(r)}}}function Lr(i){let e,t,r,n,l=i[0]&&Bt(i);return{c(){e=
|
|
21
|
+
opacity: ${s-d*m}`}}function Ht(i,e){let t=!1;function r(){if(!n())return;const o=a();o>0&&(t=!0,document.body.style.overflow="hidden",document.body.style.paddingRight=o+"px")}function n(){return document.body.style.overflow!=="hidden"}function l(){!t||(t=!1,setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},200))}function a(){if(document.body.clientHeight<=document.documentElement.clientHeight)return 0;const o=document.createElement("div");o.style.visibility="hidden",o.style.overflow="scroll",document.body.appendChild(o);const s=document.createElement("div");o.appendChild(s);const c=o.offsetWidth-s.offsetWidth;return o.parentNode.removeChild(o),c}return e.enable&&r(),{update(){e.enable||l()},destroy(){l()}}}function St(i){let e,t,r,n;const l=[Ar,Lr],a=[];function o(s,c){return s[3]?0:s[4]?1:-1}return~(e=o(i))&&(t=a[e]=l[e](i)),{c(){t&&t.c(),r=be()},m(s,c){~e&&a[e].m(s,c),p(s,r,c),n=!0},p(s,c){let d=e;e=o(s),e===d?~e&&a[e].p(s,c):(t&&(xe(),J(a[d],1,1,()=>{a[d]=null}),Ee()),~e?(t=a[e],t?t.p(s,c):(t=a[e]=l[e](s),t.c()),K(t,1),t.m(r.parentNode,r)):t=null)},i(s){n||(K(t),n=!0)},o(s){J(t),n=!1},d(s){~e&&a[e].d(s),s&&L(r)}}}function Lr(i){let e,t,r,n,l=i[0]&&Bt(i);return{c(){e=y("div"),t=y("goa-spinner"),r=H(),l&&l.c(),T(t,"size",i[2]),T(t,"progress",i[1]),u(e,"class",n="spinner-"+i[2]),N(e,"inline",i[4])},m(a,o){p(a,e,o),g(e,t),g(e,r),l&&l.m(e,null)},p(a,o){o&4&&T(t,"size",a[2]),o&2&&T(t,"progress",a[1]),a[0]?l?l.p(a,o):(l=Bt(a),l.c(),l.m(e,null)):l&&(l.d(1),l=null),o&4&&n!==(n="spinner-"+a[2])&&u(e,"class",n),o&20&&N(e,"inline",a[4])},i:k,o:k,d(a){a&&L(e),l&&l.d()}}}function Ar(i){let e,t,r,n,l,a,o,s=i[0]&&Dt(i);return{c(){e=y("div"),t=y("goa-spinner"),r=H(),s&&s.c(),T(t,"size",i[2]),T(t,"progress",i[1]),N(e,"fullscreen",i[3])},m(c,d){p(c,e,d),g(e,t),g(e,r),s&&s.m(e,null),l=!0,a||(o=ct(Ht.call(null,e,{enable:!0})),a=!0)},p(c,d){(!l||d&4)&&T(t,"size",c[2]),(!l||d&2)&&T(t,"progress",c[1]),c[0]?s?s.p(c,d):(s=Dt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!l||d&8)&&N(e,"fullscreen",c[3])},i(c){l||(ae(()=>{n||(n=Ke(e,Ce,{duration:300},!0)),n.run(1)}),l=!0)},o(c){n||(n=Ke(e,Ce,{duration:300},!1)),n.run(0),l=!1},d(c){c&&L(e),s&&s.d(),c&&n&&n.end(),a=!1,o()}}}function Bt(i){let e,t;return{c(){e=y("div"),t=V(i[0]),u(e,"class","message")},m(r,n){p(r,e,n),g(e,t)},p(r,n){n&1&&W(t,r[0])},d(r){r&&L(e)}}}function Dt(i){let e,t;return{c(){e=y("div"),t=V(i[0]),u(e,"class","message")},m(r,n){p(r,e,n),g(e,t)},p(r,n){n&1&&W(t,r[0])},d(r){r&&L(e)}}}function Rr(i){let e,t,r=i[5]&&St(i);return{c(){r&&r.c(),e=be(),this.c=k},m(n,l){r&&r.m(n,l),p(n,e,l),t=!0},p(n,[l]){n[5]?r?(r.p(n,l),l&32&&K(r,1)):(r=St(n),r.c(),K(r,1),r.m(e.parentNode,e)):r&&(xe(),J(r,1,1,()=>{r=null}),Ee())},i(n){t||(K(r),t=!0)},o(n){J(r),t=!1},d(n){r&&r.d(n),n&&L(e)}}}function Hr(i,e,t){let r;const[n,l]=Z("Circular progress variant",["fullscreen","inline"]),[a,o]=Z("Button size",["small","large"]);let{variant:s="inline"}=e,{size:c="large"}=e,{message:d=""}=e,{progress:f=-1}=e,{visible:m="false"}=e,w,b,v;return X(async()=>{l(s),o(c),t(2,w=c==="small"?"large":"xlarge"),t(3,b=s==="fullscreen"),t(4,v=s==="inline")}),i.$$set=_=>{"variant"in _&&t(6,s=_.variant),"size"in _&&t(7,c=_.size),"message"in _&&t(0,d=_.message),"progress"in _&&t(1,f=_.progress),"visible"in _&&t(8,m=_.visible)},i.$$.update=()=>{i.$$.dirty&256&&t(5,r=U(m))},[d,f,w,b,v,r,s,c,m]}class Sr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.fullscreen{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:rgba(255, 255, 255, 0.9)}.inline{margin:3.5rem;display:inline-flex;flex-direction:column;align-items:center;justify-content:center}.spinner-large .message{margin-top:1.5rem;font-size:1.2rem}.spinner-xlarge .message{margin-top:2rem;font-size:1.5rem}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Hr,Rr,I,{variant:6,size:7,message:0,progress:1,visible:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["variant","size","message","progress","visible"]}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),h()}get size(){return this.$$.ctx[7]}set size(e){this.$$set({size:e}),h()}get message(){return this.$$.ctx[0]}set message(e){this.$$set({message:e}),h()}get progress(){return this.$$.ctx[1]}set progress(e){this.$$set({progress:e}),h()}get visible(){return this.$$.ctx[8]}set visible(e){this.$$set({visible:e}),h()}}customElements.define("goa-circular-progress",Sr);function Br(i){let e,t,r,n,l,a,o,s,c,d;return{c(){e=y("div"),t=y("header"),r=y("div"),r.innerHTML='<slot name="title"></slot>',n=H(),l=y("div"),l.innerHTML='<slot name="actions"></slot>',o=H(),s=y("div"),s.innerHTML="<slot></slot>",this.c=k,u(r,"class","title"),u(l,"class","actions"),u(t,"class",a="heading--"+i[1]),u(s,"class","content"),u(e,"data-testid",i[3]),u(e,"style",c=G(i[4],i[5],i[6],i[7])),u(e,"class",d=`
|
|
22
22
|
goa-container
|
|
23
23
|
goa-container--${i[0]}
|
|
24
24
|
padding--${i[2]}
|
|
25
25
|
accent--${i[1]}
|
|
26
|
-
`)},m(f,m){p(f,e,m),g(e,t),g(t,r),g(t,n),g(t,l),g(e,o),g(e,s)},p(f,[m]){m&2&&a!==(a="heading--"+f[1])&&u(t,"class",a),m&8&&u(e,"data-testid",f[3]),m&240&&c!==(c=
|
|
26
|
+
`)},m(f,m){p(f,e,m),g(e,t),g(t,r),g(t,n),g(t,l),g(e,o),g(e,s)},p(f,[m]){m&2&&a!==(a="heading--"+f[1])&&u(t,"class",a),m&8&&u(e,"data-testid",f[3]),m&240&&c!==(c=G(f[4],f[5],f[6],f[7]))&&u(e,"style",c),m&7&&d!==(d=`
|
|
27
27
|
goa-container
|
|
28
28
|
goa-container--${f[0]}
|
|
29
29
|
padding--${f[2]}
|
|
30
30
|
accent--${f[1]}
|
|
31
|
-
`)&&u(e,"class",d)},i:k,o:k,d(f){f&&L(e)}}}function Dr(i,e,t){const[r,n]=X("Container type",["interactive","info","error","success","important","non-interactive"]),[l,a]=X("Container accent",["thick","thin","filled"]),[o,s]=X("Container padding",["relaxed","compact"]);let{type:c="interactive"}=e,{accent:d="filled"}=e,{padding:f="relaxed"}=e,{testid:m=""}=e,{mt:_=null}=e,{mr:b=null}=e,{mb:v="m"}=e,{ml:y=null}=e;return Z(()=>{n(c),a(d),s(f)}),i.$$set=x=>{"type"in x&&t(0,c=x.type),"accent"in x&&t(1,d=x.accent),"padding"in x&&t(2,f=x.padding),"testid"in x&&t(3,m=x.testid),"mt"in x&&t(4,_=x.mt),"mr"in x&&t(5,b=x.mr),"mb"in x&&t(6,v=x.mb),"ml"in x&&t(7,y=x.ml)},[c,d,f,m,_,b,v,y]}class Nr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);font-size:var(--fs-base)}.goa-container{box-sizing:border-box}.goa-container *{box-sizing:border-box}header{display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--fs-base);border-width:1px;border-style:solid;border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.content{border-bottom:1px solid var(--color-gray-200);border-left:1px solid var(--color-gray-200);border-right:1px solid var(--color-gray-200);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.goa-container--non-interactive.accent--filled .content{border-color:var(--color-gray-200);background-color:var(--color-gray-100)}.goa-container--important.accent--filled .content{border-color:var(--goa-color-status-warning);background-color:var(--goa-color-status-warning-50)}.goa-container--error.accent--filled .content{border-color:var(--goa-color-status-emergency);background-color:var(--goa-color-status-emergency-50)}.goa-container--success.accent--filled .content{border-color:var(--goa-color-status-success);background-color:var(--goa-color-status-success-50)}.goa-container--info.accent--filled .content{border-color:var(--goa-color-status-info);background-color:var(--goa-color-status-info-50)}.title,.actions{padding:0.5rem 0}.padding--relaxed header{padding:0 1.5rem}.padding--relaxed .content{padding:1.5rem}.padding--compact header,.padding--compact .content{padding:0 1rem}.padding--compact header{padding:0 1rem}.padding--compact .content{padding:1rem}@media screen and (max-width: 480px){.padding--relaxed header{padding:0 1rem}.padding--relaxed .content{padding:1rem}}.goa-container--non-interactive header{background-color:var(--color-gray-100);border-color:var(--color-gray-200);color:var(--color-black)}.goa-container--interactive header{background-color:var(--goa-color-brand);border-color:var(--goa-color-brand);color:var(--color-white)}.goa-container--info header{background-color:var(--goa-color-status-info);border-color:var(--goa-color-status-info);color:var(--color-white)}.goa-container--error header{background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);color:var(--color-white)}.goa-container--success header{background-color:var(--goa-color-status-success);border-color:var(--goa-color-status-success);color:var(--color-white)}.goa-container--important header{background-color:var(--goa-color-status-warning);border-color:var(--goa-color-status-warning);color:var(--color-white)}.heading--thick{padding:0.5rem 1.5rem;max-height:3rem;min-height:1rem}.heading--thick .title{line-height:2rem}.heading--thin{height:0.5rem}.heading--filled{display:none}.heading--filled~.content{border-top:1px solid var(--color-gray-200);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.heading--thin .title,.heading--thin .actions{display:none}.actions{display:flex;align-items:center}</style>",q(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Dr,Br,I,{type:0,accent:1,padding:2,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","accent","padding","testid","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get accent(){return this.$$.ctx[1]}set accent(e){this.$$set({accent:e}),h()}get padding(){return this.$$.ctx[2]}set padding(e){this.$$set({padding:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[4]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[5]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[6]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[7]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-container",Nr);function jr(i){let e,t;return{c(){e=w("hr"),this.c=k,u(e,"data-testid",i[0]),u(e,"style",t=V(i[1],i[2],i[3],i[4]))},m(r,n){p(r,e,n)},p(r,[n]){n&1&&u(e,"data-testid",r[0]),n&30&&t!==(t=V(r[1],r[2],r[3],r[4]))&&u(e,"style",t)},i:k,o:k,d(r){r&&L(e)}}}function Or(i,e,t){let{testid:r=""}=e,{mt:n=null}=e,{mr:l=null}=e,{mb:a=null}=e,{ml:o=null}=e;return i.$$set=s=>{"testid"in s&&t(0,r=s.testid),"mt"in s&&t(1,n=s.mt),"mr"in s&&t(2,l=s.mr),"mb"in s&&t(3,a=s.mb),"ml"in s&&t(4,o=s.ml)},[r,n,l,a,o]}class Ir extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>hr{padding:0;margin:0;height:1px;background-color:var(--color-gray-200);border:none}</style>",q(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Or,jr,I,{testid:0,mt:1,mr:2,mb:3,ml:4},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["testid","mt","mr","mb","ml"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[1]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[2]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[3]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[4]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-divider",Ir);const ze=[];function Nt(i,e=k){let t;const r=new Set;function n(o){if(I(i,o)&&(i=o,t)){const s=!ze.length;for(const c of r)c[1](),ze.push(c,i);if(s){for(let c=0;c<ze.length;c+=2)ze[c][0](ze[c+1]);ze.length=0}}}function l(o){n(o(i))}function a(o,s=k){const c=[o,s];return r.add(c),r.size===1&&(t=e(n)||k),o(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:n,update:l,subscribe:a}}const We={};class Pr{constructor(){this.store=Nt()}subscribe(e){this.store.subscribe(t=>{!t||e(t)})}notify(e){(async()=>{await ue(),this.store.update(()=>e)})()}}function Xe(i){let e=We[i];return e||(e=new Pr),We[i]=e,e}function jt(i){!We[i]||delete We[i]}function Ot(i,e,t){const r=i.slice();return r[47]=e[t],r[51]=t,r}function It(i,e,t){const r=i.slice();return r[47]=e[t],r}function Fr(i){let e,t,r,n,l,a,o,s,c,d,f,m=i[18]&&Pt(i),_=i[16],b=[];for(let v=0;v<_.length;v+=1)b[v]=Ft(Ot(i,_,v));return{c(){m&&m.c(),e=H(),t=w("goa-input"),l=H(),a=w("ul");for(let v=0;v<b.length;v+=1)b[v].c();o=H(),s=w("slot"),T(t,"error",i[8]),T(t,"disabled",i[7]),T(t,"leadingicon",i[3]),T(t,"placeholder",i[5]),T(t,"aria-controls","menu"),T(t,"aria-expanded",i[18]),T(t,"aria-label",r=i[1]||i[0]),T(t,"data-testid",n=`${i[0]}-dropdown-input`),T(t,"readonly",""),T(t,"role","combobox"),T(t,"trailingicon","chevron-down"),T(t,"type","text"),T(t,"value",i[17]),T(t,"width","100%"),u(a,"id","menu"),u(a,"role","listbox"),u(a,"aria-activedescendant",i[17]),u(a,"data-testid","dropdown-menu"),u(a,"tabindex","0"),u(a,"class","dropdown-list"),u(a,"style",c=`overflow-y: auto; max-height: ${i[4]}`),O(a,"dropdown-active",i[18])},m(v,y){m&&m.m(v,y),p(v,e,y),p(v,t,y),p(v,l,y),p(v,a,y);for(let x=0;x<b.length;x+=1)b[x].m(a,null);g(a,o),g(a,s),i[30](a),d||(f=Y(t,"click",i[22]),d=!0)},p(v,y){if(v[18]?m?m.p(v,y):(m=Pt(v),m.c(),m.m(e.parentNode,e)):m&&(m.d(1),m=null),y[0]&256&&T(t,"error",v[8]),y[0]&128&&T(t,"disabled",v[7]),y[0]&8&&T(t,"leadingicon",v[3]),y[0]&32&&T(t,"placeholder",v[5]),y[0]&262144&&T(t,"aria-expanded",v[18]),y[0]&3&&r!==(r=v[1]||v[0])&&T(t,"aria-label",r),y[0]&1&&n!==(n=`${v[0]}-dropdown-input`)&&T(t,"data-testid",n),y[0]&131072&&T(t,"value",v[17]),y[0]&17399808){_=v[16];let x;for(x=0;x<_.length;x+=1){const z=Ot(v,_,x);b[x]?b[x].p(z,y):(b[x]=Ft(z),b[x].c(),b[x].m(a,o))}for(;x<b.length;x+=1)b[x].d(1);b.length=_.length}y[0]&131072&&u(a,"aria-activedescendant",v[17]),y[0]&16&&c!==(c=`overflow-y: auto; max-height: ${v[4]}`)&&u(a,"style",c),y[0]&262144&&O(a,"dropdown-active",v[18])},d(v){m&&m.d(v),v&&L(e),v&&L(t),v&&L(l),v&&L(a),Oe(b,v),i[30](null),d=!1,f()}}}function qr(i){let e,t=[],r=new Map,n,l,a=i[16];const o=s=>s[47].value;for(let s=0;s<a.length;s+=1){let c=It(i,a,s),d=o(c);r.set(d,t[s]=qt(d,c))}return{c(){e=w("select");for(let s=0;s<t.length;s+=1)t[s].c()},m(s,c){p(s,e,c);for(let d=0;d<t.length;d+=1)t[d].m(e,null);n||(l=Y(e,"change",i[25]),n=!0)},p(s,c){c[0]&65540&&(a=s[16],t=kt(t,c,o,1,s,a,r,e,_t,qt,null,It))},d(s){s&&L(e);for(let c=0;c<t.length;c+=1)t[c].d();n=!1,l()}}}function Pt(i){let e,t,r,n;return{c(){e=w("div"),u(e,"data-testid",t=`${i[0]}-dropdown-background`),u(e,"class","dropdown-background")},m(l,a){p(l,e,a),r||(n=Y(e,"click",i[23]),r=!0)},p(l,a){a[0]&1&&t!==(t=`${l[0]}-dropdown-background`)&&u(e,"data-testid",t)},d(l){l&&L(e),r=!1,n()}}}function Ft(i){let e,t=(i[47].label||i[47].value)+"",r,n,l,a,o,s,c,d,f;function m(){return i[29](i[47])}return{c(){e=w("li"),r=G(t),u(e,"id",n=i[47].label),u(e,"role","option"),u(e,"aria-label",l=i[47].label||i[47].value),u(e,"aria-selected",a=i[15].includes(i[47].value)?"true":"false"),u(e,"class","dropdown-option"),u(e,"data-testid",o=`dropdown-item-${i[47].value}`),u(e,"data-index",s=i[51]),u(e,"style",c="display: block"),O(e,"dropdown-option--disabled",!1),O(e,"dropdown-option--tabbed",i[51]===i[19]),O(e,"dropdown-option--selected",i[15].includes(i[47].value))},m(_,b){p(_,e,b),g(e,r),d||(f=Y(e,"click",m),d=!0)},p(_,b){i=_,b[0]&65536&&t!==(t=(i[47].label||i[47].value)+"")&&W(r,t),b[0]&65536&&n!==(n=i[47].label)&&u(e,"id",n),b[0]&65536&&l!==(l=i[47].label||i[47].value)&&u(e,"aria-label",l),b[0]&98304&&a!==(a=i[15].includes(i[47].value)?"true":"false")&&u(e,"aria-selected",a),b[0]&65536&&o!==(o=`dropdown-item-${i[47].value}`)&&u(e,"data-testid",o),b[0]&524288&&O(e,"dropdown-option--tabbed",i[51]===i[19]),b[0]&98304&&O(e,"dropdown-option--selected",i[15].includes(i[47].value))},d(_){_&&L(e),d=!1,f()}}}function qt(i,e){let t,r=(e[47].label||e[47].value)+"",n,l,a,o,s;return{key:i,first:null,c(){t=w("option"),n=G(r),l=H(),t.selected=a=e[47].value===e[2],t.__value=o=e[47].value,t.value=t.__value,u(t,"aria-label",s=e[47].label||e[47].value),this.first=t},m(c,d){p(c,t,d),g(t,n),g(t,l)},p(c,d){e=c,d[0]&65536&&r!==(r=(e[47].label||e[47].value)+"")&&W(n,r),d[0]&65540&&a!==(a=e[47].value===e[2])&&(t.selected=a),d[0]&65536&&o!==(o=e[47].value)&&(t.__value=o,t.value=t.__value),d[0]&65536&&s!==(s=e[47].label||e[47].value)&&u(t,"aria-label",s)},d(c){c&&L(t)}}}function Vr(i){let e,t,r;function n(o,s){return o[14]?qr:Fr}let l=n(i),a=l(i);return{c(){e=w("div"),a.c(),this.c=k,u(e,"data-testid",t=`${i[0]}-dropdown`),u(e,"class","dropdown"),u(e,"style",r=`
|
|
32
|
-
${
|
|
31
|
+
`)&&u(e,"class",d)},i:k,o:k,d(f){f&&L(e)}}}function Dr(i,e,t){const[r,n]=Z("Container type",["interactive","info","error","success","important","non-interactive"]),[l,a]=Z("Container accent",["thick","thin","filled"]),[o,s]=Z("Container padding",["relaxed","compact"]);let{type:c="interactive"}=e,{accent:d="filled"}=e,{padding:f="relaxed"}=e,{testid:m=""}=e,{mt:w=null}=e,{mr:b=null}=e,{mb:v="m"}=e,{ml:_=null}=e;return X(()=>{n(c),a(d),s(f)}),i.$$set=x=>{"type"in x&&t(0,c=x.type),"accent"in x&&t(1,d=x.accent),"padding"in x&&t(2,f=x.padding),"testid"in x&&t(3,m=x.testid),"mt"in x&&t(4,w=x.mt),"mr"in x&&t(5,b=x.mr),"mb"in x&&t(6,v=x.mb),"ml"in x&&t(7,_=x.ml)},[c,d,f,m,w,b,v,_]}class Nr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);font-size:var(--fs-base)}.goa-container{box-sizing:border-box}.goa-container *{box-sizing:border-box}header{display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--fs-base);border-width:1px;border-style:solid;border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.content{border-bottom:1px solid var(--color-gray-200);border-left:1px solid var(--color-gray-200);border-right:1px solid var(--color-gray-200);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.goa-container--non-interactive.accent--filled .content{border-color:var(--color-gray-200);background-color:var(--color-gray-100)}.goa-container--important.accent--filled .content{border-color:var(--goa-color-status-warning);background-color:var(--goa-color-status-warning-50)}.goa-container--error.accent--filled .content{border-color:var(--goa-color-status-emergency);background-color:var(--goa-color-status-emergency-50)}.goa-container--success.accent--filled .content{border-color:var(--goa-color-status-success);background-color:var(--goa-color-status-success-50)}.goa-container--info.accent--filled .content{border-color:var(--goa-color-status-info);background-color:var(--goa-color-status-info-50)}.title,.actions{padding:0.5rem 0}.padding--relaxed header{padding:0 1.5rem}.padding--relaxed .content{padding:1.5rem}.padding--compact header,.padding--compact .content{padding:0 1rem}.padding--compact header{padding:0 1rem}.padding--compact .content{padding:1rem}@media screen and (max-width: 480px){.padding--relaxed header{padding:0 1rem}.padding--relaxed .content{padding:1rem}}.goa-container--non-interactive header{background-color:var(--color-gray-100);border-color:var(--color-gray-200);color:var(--color-black)}.goa-container--interactive header{background-color:var(--goa-color-brand);border-color:var(--goa-color-brand);color:var(--color-white)}.goa-container--info header{background-color:var(--goa-color-status-info);border-color:var(--goa-color-status-info);color:var(--color-white)}.goa-container--error header{background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);color:var(--color-white)}.goa-container--success header{background-color:var(--goa-color-status-success);border-color:var(--goa-color-status-success);color:var(--color-white)}.goa-container--important header{background-color:var(--goa-color-status-warning);border-color:var(--goa-color-status-warning);color:var(--color-white)}.heading--thick{padding:0.5rem 1.5rem;max-height:3rem;min-height:1rem}.heading--thick .title{line-height:2rem}.heading--thin{height:0.5rem}.heading--filled{display:none}.heading--filled~.content{border-top:1px solid var(--color-gray-200);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.heading--thin .title,.heading--thin .actions{display:none}.actions{display:flex;align-items:center}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Dr,Br,I,{type:0,accent:1,padding:2,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","accent","padding","testid","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get accent(){return this.$$.ctx[1]}set accent(e){this.$$set({accent:e}),h()}get padding(){return this.$$.ctx[2]}set padding(e){this.$$set({padding:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[4]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[5]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[6]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[7]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-container",Nr);function jr(i){let e,t;return{c(){e=y("hr"),this.c=k,u(e,"data-testid",i[0]),u(e,"style",t=G(i[1],i[2],i[3],i[4]))},m(r,n){p(r,e,n)},p(r,[n]){n&1&&u(e,"data-testid",r[0]),n&30&&t!==(t=G(r[1],r[2],r[3],r[4]))&&u(e,"style",t)},i:k,o:k,d(r){r&&L(e)}}}function Or(i,e,t){let{testid:r=""}=e,{mt:n=null}=e,{mr:l=null}=e,{mb:a=null}=e,{ml:o=null}=e;return i.$$set=s=>{"testid"in s&&t(0,r=s.testid),"mt"in s&&t(1,n=s.mt),"mr"in s&&t(2,l=s.mr),"mb"in s&&t(3,a=s.mb),"ml"in s&&t(4,o=s.ml)},[r,n,l,a,o]}class Ir extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>hr{padding:0;margin:0;height:1px;background-color:var(--color-gray-200);border:none}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Or,jr,I,{testid:0,mt:1,mr:2,mb:3,ml:4},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["testid","mt","mr","mb","ml"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[1]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[2]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[3]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[4]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-divider",Ir);const ze=[];function Nt(i,e=k){let t;const r=new Set;function n(o){if(I(i,o)&&(i=o,t)){const s=!ze.length;for(const c of r)c[1](),ze.push(c,i);if(s){for(let c=0;c<ze.length;c+=2)ze[c][0](ze[c+1]);ze.length=0}}}function l(o){n(o(i))}function a(o,s=k){const c=[o,s];return r.add(c),r.size===1&&(t=e(n)||k),o(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:n,update:l,subscribe:a}}const We={};class Pr{constructor(){this.store=Nt()}subscribe(e){this.store.subscribe(t=>{!t||e(t)})}notify(e){(async()=>{await ue(),this.store.update(()=>e)})()}}function Xe(i){let e=We[i];return e||(e=new Pr),We[i]=e,e}function jt(i){!We[i]||delete We[i]}function qr(i){return{c(){this.c=k},m:k,p:k,i:k,o:k,d:k}}function Fr(i,e,t){let{name:r=""}=e,{value:n=""}=e,{label:l=""}=e,a,o=!1;return i.$$set=s=>{"name"in s&&t(0,r=s.name),"value"in s&&t(1,n=s.value),"label"in s&&t(2,l=s.label)},i.$$.update=()=>{i.$$.dirty&31&&(async()=>{await ue(),o||(t(4,o=!0),t(3,a=Xe(r)),a.notify({type:"bind",name:r,label:l,value:n}))})()},[r,n,l,a,o]}class Gr extends P{constructor(e){super();F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Fr,qr,I,{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",Gr);function Ot(i,e,t){const r=i.slice();return r[47]=e[t],r[51]=t,r}function It(i,e,t){const r=i.slice();return r[47]=e[t],r}function Vr(i){let e,t,r,n,l,a,o,s,c,d,f,m=i[18]&&Pt(i),w=i[16],b=[];for(let v=0;v<w.length;v+=1)b[v]=qt(Ot(i,w,v));return{c(){m&&m.c(),e=H(),t=y("goa-input"),l=H(),a=y("ul");for(let v=0;v<b.length;v+=1)b[v].c();o=H(),s=y("slot"),T(t,"error",i[8]),T(t,"disabled",i[7]),T(t,"leadingicon",i[3]),T(t,"placeholder",i[5]),T(t,"aria-controls","menu"),T(t,"aria-expanded",i[18]),T(t,"aria-label",r=i[1]||i[0]),T(t,"data-testid",n=`${i[0]}-dropdown-input`),T(t,"readonly",""),T(t,"role","combobox"),T(t,"trailingicon","chevron-down"),T(t,"type","text"),T(t,"value",i[17]),T(t,"width","100%"),u(a,"id","menu"),u(a,"role","listbox"),u(a,"aria-activedescendant",i[17]),u(a,"data-testid","dropdown-menu"),u(a,"tabindex","0"),u(a,"class","dropdown-list"),u(a,"style",c=`overflow-y: auto; max-height: ${i[4]}`),N(a,"dropdown-active",i[18])},m(v,_){m&&m.m(v,_),p(v,e,_),p(v,t,_),p(v,l,_),p(v,a,_);for(let x=0;x<b.length;x+=1)b[x].m(a,null);g(a,o),g(a,s),i[30](a),d||(f=Y(t,"click",i[22]),d=!0)},p(v,_){if(v[18]?m?m.p(v,_):(m=Pt(v),m.c(),m.m(e.parentNode,e)):m&&(m.d(1),m=null),_[0]&256&&T(t,"error",v[8]),_[0]&128&&T(t,"disabled",v[7]),_[0]&8&&T(t,"leadingicon",v[3]),_[0]&32&&T(t,"placeholder",v[5]),_[0]&262144&&T(t,"aria-expanded",v[18]),_[0]&3&&r!==(r=v[1]||v[0])&&T(t,"aria-label",r),_[0]&1&&n!==(n=`${v[0]}-dropdown-input`)&&T(t,"data-testid",n),_[0]&131072&&T(t,"value",v[17]),_[0]&17399808){w=v[16];let x;for(x=0;x<w.length;x+=1){const z=Ot(v,w,x);b[x]?b[x].p(z,_):(b[x]=qt(z),b[x].c(),b[x].m(a,o))}for(;x<b.length;x+=1)b[x].d(1);b.length=w.length}_[0]&131072&&u(a,"aria-activedescendant",v[17]),_[0]&16&&c!==(c=`overflow-y: auto; max-height: ${v[4]}`)&&u(a,"style",c),_[0]&262144&&N(a,"dropdown-active",v[18])},d(v){m&&m.d(v),v&&L(e),v&&L(t),v&&L(l),v&&L(a),Oe(b,v),i[30](null),d=!1,f()}}}function Ur(i){let e,t=[],r=new Map,n,l,a=i[16];const o=s=>s[47].value;for(let s=0;s<a.length;s+=1){let c=It(i,a,s),d=o(c);r.set(d,t[s]=Ft(d,c))}return{c(){e=y("select");for(let s=0;s<t.length;s+=1)t[s].c()},m(s,c){p(s,e,c);for(let d=0;d<t.length;d+=1)t[d].m(e,null);n||(l=Y(e,"change",i[25]),n=!0)},p(s,c){c[0]&65540&&(a=s[16],t=kt(t,c,o,1,s,a,r,e,_t,Ft,null,It))},d(s){s&&L(e);for(let c=0;c<t.length;c+=1)t[c].d();n=!1,l()}}}function Pt(i){let e,t,r,n;return{c(){e=y("div"),u(e,"data-testid",t=`${i[0]}-dropdown-background`),u(e,"class","dropdown-background")},m(l,a){p(l,e,a),r||(n=Y(e,"click",i[23]),r=!0)},p(l,a){a[0]&1&&t!==(t=`${l[0]}-dropdown-background`)&&u(e,"data-testid",t)},d(l){l&&L(e),r=!1,n()}}}function qt(i){let e,t=(i[47].label||i[47].value)+"",r,n,l,a,o,s,c,d,f;function m(){return i[29](i[47])}return{c(){e=y("li"),r=V(t),u(e,"id",n=i[47].label),u(e,"role","option"),u(e,"aria-label",l=i[47].label||i[47].value),u(e,"aria-selected",a=i[15].includes(i[47].value)?"true":"false"),u(e,"class","dropdown-option"),u(e,"data-testid",o=`dropdown-item-${i[47].value}`),u(e,"data-index",s=i[51]),u(e,"style",c="display: block"),N(e,"dropdown-option--disabled",!1),N(e,"dropdown-option--tabbed",i[51]===i[19]),N(e,"dropdown-option--selected",i[15].includes(i[47].value))},m(w,b){p(w,e,b),g(e,r),d||(f=Y(e,"click",m),d=!0)},p(w,b){i=w,b[0]&65536&&t!==(t=(i[47].label||i[47].value)+"")&&W(r,t),b[0]&65536&&n!==(n=i[47].label)&&u(e,"id",n),b[0]&65536&&l!==(l=i[47].label||i[47].value)&&u(e,"aria-label",l),b[0]&98304&&a!==(a=i[15].includes(i[47].value)?"true":"false")&&u(e,"aria-selected",a),b[0]&65536&&o!==(o=`dropdown-item-${i[47].value}`)&&u(e,"data-testid",o),b[0]&524288&&N(e,"dropdown-option--tabbed",i[51]===i[19]),b[0]&98304&&N(e,"dropdown-option--selected",i[15].includes(i[47].value))},d(w){w&&L(e),d=!1,f()}}}function Ft(i,e){let t,r=(e[47].label||e[47].value)+"",n,l,a,o,s;return{key:i,first:null,c(){t=y("option"),n=V(r),l=H(),t.selected=a=e[47].value===e[2],t.__value=o=e[47].value,t.value=t.__value,u(t,"aria-label",s=e[47].label||e[47].value),this.first=t},m(c,d){p(c,t,d),g(t,n),g(t,l)},p(c,d){e=c,d[0]&65536&&r!==(r=(e[47].label||e[47].value)+"")&&W(n,r),d[0]&65540&&a!==(a=e[47].value===e[2])&&(t.selected=a),d[0]&65536&&o!==(o=e[47].value)&&(t.__value=o,t.value=t.__value),d[0]&65536&&s!==(s=e[47].label||e[47].value)&&u(t,"aria-label",s)},d(c){c&&L(t)}}}function Kr(i){let e,t,r;function n(o,s){return o[14]?Ur:Vr}let l=n(i),a=l(i);return{c(){e=y("div"),a.c(),this.c=k,u(e,"data-testid",t=`${i[0]}-dropdown`),u(e,"class","dropdown"),u(e,"style",r=`
|
|
32
|
+
${G(i[9],i[10],i[11],i[12])}
|
|
33
33
|
--width: ${i[6]||i[20]}
|
|
34
|
-
`),
|
|
35
|
-
${
|
|
34
|
+
`),N(e,"dropdown-native",i[14])},m(o,s){p(o,e,s),a.m(e,null),i[31](e)},p(o,s){l===(l=n(o))&&a?a.p(o,s):(a.d(1),a=l(o),a&&(a.c(),a.m(e,null))),s[0]&1&&t!==(t=`${o[0]}-dropdown`)&&u(e,"data-testid",t),s[0]&1056320&&r!==(r=`
|
|
35
|
+
${G(o[9],o[10],o[11],o[12])}
|
|
36
36
|
--width: ${o[6]||o[20]}
|
|
37
|
-
`)&&u(e,"style",r),s[0]&16384&&
|
|
37
|
+
`)&&u(e,"style",r),s[0]&16384&&N(e,"dropdown-native",o[14])},i:k,o:k,d(o){o&&L(e),a.d(),i[31](null)}}}const Wr="276px";function Xr(i,e,t){let r,n,l,{name:a}=e,{arialabel:o=""}=e,{value:s=""}=e,{leadingicon:c=null}=e,{maxheight:d=Wr}=e,{placeholder:f=""}=e,{width:m=""}=e,{disabled:w="false"}=e,{error:b="false"}=e,{multiselect:v="false"}=e,{native:_="false"}=e,{mt:x=null}=e,{mr:z=null}=e,{mb:B=null}=e,{ml:R=null}=e,C=[],E=[],j="",A=!1,M=0,O=0,we,ee,re,te,$=!1;X(()=>{xt("GoADropdown",{name:a})}),mt(()=>{Ze(),jt(a)});function He(){ee.addEventListener("focus",ki,!0),ee.addEventListener("blur",pi,!0)}function Ze(){ee.removeEventListener("focus",ki,!0),ee.removeEventListener("blur",pi,!0)}function Ye(){let S;try{S=JSON.parse(s||"[]")}catch{S=[s]}t(15,C=(typeof S=="object"?S:[S]).map(se=>`${se}`))}function Je(){te=Xe(a),te.subscribe(S=>{const ce=S,se=C.includes(ce.value),at=ce.label||ce.value;t(16,E=[...E,Object.assign(Object.assign({},ce),{selected:se})]),se&&t(17,j=at),!m&&O<at.length&&(O=at.length,t(20,we=`${Math.max(20,O+12)}ch`)),Se()})}async function _e(){r||A||(t(18,A=!0),await ue(),re.addEventListener("blur",ie),re.addEventListener("mouseover",xi))}function ie(){re.removeEventListener("blur",ie),re.removeEventListener("mouseover",xi),Se(),t(18,A=!1)}function Se(){t(19,M=E.findIndex(S=>C.includes(S.value)))}function ke(S,ce,se){r||(t(17,j=ce),n?(C.push(S),ee.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:a,values:C}}))):(t(15,C=[S]),ee.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:a,value:S}}))),se&&ie())}const D=S=>{switch(S.key){case" ":case"Enter":A?ie():_e(),S.preventDefault();break;case"Escape":A&&ie(),S.preventDefault();break;case"ArrowDown":if(S.altKey){A?ie():_e();break}Qe(),S.preventDefault();break;case"ArrowUp":if(S.altKey){A?ie():_e();break}zl(),S.preventDefault();break}};function Qe(){M<E.length-1&&(t(19,M++,M),ke(E[M].value,E[M].label,!1))}function zl(){M>0&&(t(19,M--,M),ke(E[M].value,E[M].label,!1))}function ki(){ee.addEventListener("keydown",D)}function pi(){ee.removeEventListener("keydown",D)}function xi(S){t(19,M=Number(S.target.dataset.index))}function Ml(S){const ce=S.currentTarget,se=E[ce.selectedIndex];ke(se.value,se.label,!1)}const Tl=S=>ke(S.value,S.label,!0);function Ll(S){ne[S?"unshift":"push"](()=>{re=S,t(21,re)})}function Al(S){ne[S?"unshift":"push"](()=>{ee=S,t(13,ee)})}return i.$$set=S=>{"name"in S&&t(0,a=S.name),"arialabel"in S&&t(1,o=S.arialabel),"value"in S&&t(2,s=S.value),"leadingicon"in S&&t(3,c=S.leadingicon),"maxheight"in S&&t(4,d=S.maxheight),"placeholder"in S&&t(5,f=S.placeholder),"width"in S&&t(6,m=S.width),"disabled"in S&&t(7,w=S.disabled),"error"in S&&t(8,b=S.error),"multiselect"in S&&t(26,v=S.multiselect),"native"in S&&t(27,_=S.native),"mt"in S&&t(9,x=S.mt),"mr"in S&&t(10,z=S.mr),"mb"in S&&t(11,B=S.mb),"ml"in S&&t(12,R=S.ml)},i.$$.update=()=>{i.$$.dirty[0]&128&&(r=U(w)),i.$$.dirty[0]&67108864&&(n=U(v)),i.$$.dirty[0]&134217728&&t(14,l=U(_)),i.$$.dirty[0]&268460033&&(async()=>{await ue(),a&&ee&&!$&&(t(28,$=!0),l||He(),Ye(),Je())})()},[a,o,s,c,d,f,m,w,b,x,z,B,R,ee,l,C,E,j,A,M,we,re,_e,ie,ke,Ml,v,_,$,Tl,Ll,Al]}class Zr extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.dropdown{position:relative;cursor:pointer;display:inline-block;width:100%}@media(min-width: 640px){.dropdown{width:var(--width)}}.dropdown-background{cursor:default;position:fixed;z-index:98;inset:0}.dropdown-list{position:absolute;left:0;right:0;padding:0;margin:0;margin-top:3px;list-style-type:none;background:var(--color-white);border-radius:var(--input-border-radius);outline:none;box-shadow:var(--shadow-1);z-index:99;scroll-behavior:smooth;scrollbar-width:thin;display:none}.dropdown-active{display:block}.dropdown-list::-webkit-scrollbar{width:6px}.dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.dropdown-list::-webkit-scrollbar-thumb{background:#888}.dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}.dropdown-option{margin:0;padding:0.5rem;cursor:pointer;color:var(--color-black);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-option--tabbed{background:var(--color-gray-100);color:var(--goa-color-interactive--hover)}.dropdown-option--disabled{opacity:0.5;cursor:default}.dropdown-option--disabled:hover{cursor:default;color:var(--color-gray-600)}.dropdown-option--selected{background:var(--goa-color-interactive);color:var(--color-white)}.dropdown-option--tabbed.dropdown-option--selected,.dropdown-option--selected:hover{background:var(--goa-color-interactive--hover);color:var(--color-white)}.dropdown-native{border:1px solid var(--color-gray-600);border-radius:var(--input-border-radius);background-color:var(--color-white)}select{border:none;background-color:transparent;color:var(--goa-color-text);font-size:var(--input-font-size);appearance:none;padding:calc(var(--input-padding) + 2px);padding-left:0.5rem;padding-right:2rem;outline:none;width:100%}.dropdown-native::after{content:"";position:absolute;right:0.6rem;top:0.6rem;pointer-events:none;width:1.5rem;height:1.5rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='none' stroke='%23333333' stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144' /%3E%3C/svg%3E");background-repeat:none}.dropdown-native:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}</style>`,F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Xr,Kr,I,{name:0,arialabel:1,value:2,leadingicon:3,maxheight:4,placeholder:5,width:6,disabled:7,error:8,multiselect:26,native:27,mt:9,mr:10,mb:11,ml:12},null,[-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","arialabel","value","leadingicon","maxheight","placeholder","width","disabled","error","multiselect","native","mt","mr","mb","ml"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get arialabel(){return this.$$.ctx[1]}set arialabel(e){this.$$set({arialabel:e}),h()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),h()}get leadingicon(){return this.$$.ctx[3]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get maxheight(){return this.$$.ctx[4]}set maxheight(e){this.$$set({maxheight:e}),h()}get placeholder(){return this.$$.ctx[5]}set placeholder(e){this.$$set({placeholder:e}),h()}get width(){return this.$$.ctx[6]}set width(e){this.$$set({width:e}),h()}get disabled(){return this.$$.ctx[7]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[8]}set error(e){this.$$set({error:e}),h()}get multiselect(){return this.$$.ctx[26]}set multiselect(e){this.$$set({multiselect:e}),h()}get native(){return this.$$.ctx[27]}set native(e){this.$$set({native:e}),h()}get mt(){return this.$$.ctx[9]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[10]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[11]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[12]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-dropdown",Zr);function Yr(i){let e;return{c(){e=y("div"),e.innerHTML=`<slot></slot>
|
|
38
38
|
|
|
39
|
-
<span tabindex="0"></span>`,this.c=k,u(e,"id","root")},m(t,r){p(t,e,r),i[4](e)},p:k,i:k,o:k,d(t){t&&L(e),i[4](null)}}}function Jr(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 Qr(i,e,t){let r,{active:n}=e,l=!1,a,o,s=!1;function c(){document.removeEventListener("focus",z,!0)}function d(){document.addEventListener("focus",z,!0)}function f(R){if(!R)return!1;for(const C of R)if(x(C)||f(C.childNodes)||m(C)||_(C))return!0;return!1}function m(R){if(!(R instanceof HTMLSlotElement))return!1;if(f(R.assignedNodes()))return!0}function _(R){var C;if(!(R instanceof HTMLElement))return!1;if(f((C=R.shadowRoot)===null||C===void 0?void 0:C.childNodes))return!0}function b(R){if(!R)return!1;for(let C=R.length-1;C>=0;C--){let E=R[C];if(x(E)||b(E.childNodes)||v(E)||y(E))return!0}return!1}function v(R){if(!(R instanceof HTMLSlotElement))return!1;if(b(R.assignedNodes()))return!0}function y(R){var C;if(!(R instanceof HTMLElement))return!1;if(b((C=R.shadowRoot)===null||C===void 0?void 0:C.childNodes))return!0}function x(R){if(!Jr(R))return!1;try{l=!0,R.focus()}catch{}finally{l=!1}return document.activeElement===R}function z(R){var C;if(l)return;const E=(C=o.firstChild)===null||C===void 0?void 0:C.assignedElements();if(!(E==null?void 0:E.length))return;const N=E[0];if(R.composedPath().includes(N)){a=R.target;return}f(N.childNodes),a==document.activeElement&&b(N.childNodes),a=document.activeElement}function B(R){le[R?"unshift":"push"](()=>{o=R,t(0,o)})}return i.$$set=R=>{"active"in R&&t(1,n=R.active)},i.$$.update=()=>{i.$$.dirty&2&&t(3,r=U(n)),i.$$.dirty&12&&(r&&!s&&(d(),t(2,s=!0)),!r&&s&&(c(),t(2,s=!1)))},[o,n,s,r,B]}class $r extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>#root{display:inline}</style>",q(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Qr,Yr,I,{active:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["active"]}get active(){return this.$$.ctx[1]}set active(e){this.$$set({active:e}),h()}}customElements.define("goa-focus-trap",$r);function Vt(i,e,t){const r=i.slice();return r[3]=e[t],r}function Gt(i){let e,t,r=i[3].innerHTML+"",n,l;return{c(){e=w("li"),t=w("a"),n=G(r),u(t,"href",l=i[3].href)},m(a,o){p(a,e,o),g(e,t),g(t,n)},p(a,o){o&2&&r!==(r=a[3].innerHTML+"")&&W(n,r),o&2&&l!==(l=a[3].href)&&u(t,"href",l)},d(a){a&&L(e)}}}function en(i){let e,t,r,n,l=i[1],a=[];for(let o=0;o<l.length;o+=1)a[o]=Gt(Vt(i,l,o));return{c(){e=w("section"),t=w("div"),t.innerHTML="<slot></slot>",r=H(),n=w("ul");for(let o=0;o<a.length;o+=1)a[o].c();this.c=k,u(t,"class","hidden")},m(o,s){p(o,e,s),g(e,t),g(e,r),g(e,n);for(let c=0;c<a.length;c+=1)a[c].m(n,null);i[2](e)},p(o,[s]){if(s&2){l=o[1];let c;for(c=0;c<l.length;c+=1){const d=Vt(o,l,c);a[c]?a[c].p(d,s):(a[c]=Gt(d),a[c].c(),a[c].m(n,null))}for(;c<a.length;c+=1)a[c].d(1);a.length=l.length}},i:k,o:k,d(o){o&&L(e),Oe(a,o),i[2](null)}}}function tn(i,e,t){let r,n=[];Z(async()=>{if(await ue(),t(1,n=r.querySelector("slot").assignedElements()),!n.map(o=>o.hasAttribute("href")).reduce((o,s)=>o&&s,!0)){t(1,n=[]),console.warn("GoAFooterMetaSection children must be anchor elements.");return}});function l(a){le[a?"unshift":"push"](()=>{r=a,t(0,r)})}return[r,n,l]}class rn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.hidden{display:none}ul{display:flex;flex-wrap:wrap;gap:1rem;padding-left:0}li{list-style-type:none}a{color:var(--goa-color-text);white-space:nowrap}</style>",q(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},tn,en,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-app-footer-meta-section",rn);function Ut(i,e,t){const r=i.slice();return r[5]=e[t],r}function Kt(i){let e,t,r,n;return{c(){e=w("div"),t=G(i[0]),r=H(),n=w("goa-divider"),u(e,"class","title"),T(n,"spacing","small")},m(l,a){p(l,e,a),g(e,t),p(l,r,a),p(l,n,a)},p(l,a){a&1&&W(t,l[0])},d(l){l&&L(e),l&&L(r),l&&L(n)}}}function Wt(i){let e,t,r=i[5].innerHTML+"",n,l;return{c(){e=w("li"),t=w("a"),n=G(r),u(t,"href",l=i[5].href)},m(a,o){p(a,e,o),g(e,t),g(t,n)},p(a,o){o&8&&r!==(r=a[5].innerHTML+"")&&W(n,r),o&8&&l!==(l=a[5].href)&&u(t,"href",l)},d(a){a&&L(e)}}}function nn(i){let e,t,r,n,l,a,o=i[0]&&Kt(i),s=i[3],c=[];for(let d=0;d<s.length;d+=1)c[d]=Wt(Ut(i,s,d));return{c(){e=w("section"),o&&o.c(),t=H(),r=w("div"),r.innerHTML="<slot></slot>",n=H(),l=w("ul");for(let d=0;d<c.length;d+=1)c[d].c();this.c=k,u(r,"class","hidden"),u(l,"class","links"),u(l,"style",a=`
|
|
39
|
+
<span tabindex="0"></span>`,this.c=k,u(e,"id","root")},m(t,r){p(t,e,r),i[4](e)},p:k,i:k,o:k,d(t){t&&L(e),i[4](null)}}}function Jr(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 Qr(i,e,t){let r,{active:n}=e,l=!1,a,o,s=!1;function c(){document.removeEventListener("focus",z,!0)}function d(){document.addEventListener("focus",z,!0)}function f(R){if(!R)return!1;for(const C of R)if(x(C)||f(C.childNodes)||m(C)||w(C))return!0;return!1}function m(R){if(!(R instanceof HTMLSlotElement))return!1;if(f(R.assignedNodes()))return!0}function w(R){var C;if(!(R instanceof HTMLElement))return!1;if(f((C=R.shadowRoot)===null||C===void 0?void 0:C.childNodes))return!0}function b(R){if(!R)return!1;for(let C=R.length-1;C>=0;C--){let E=R[C];if(x(E)||b(E.childNodes)||v(E)||_(E))return!0}return!1}function v(R){if(!(R instanceof HTMLSlotElement))return!1;if(b(R.assignedNodes()))return!0}function _(R){var C;if(!(R instanceof HTMLElement))return!1;if(b((C=R.shadowRoot)===null||C===void 0?void 0:C.childNodes))return!0}function x(R){if(!Jr(R))return!1;try{l=!0,R.focus()}catch{}finally{l=!1}return document.activeElement===R}function z(R){var C;if(l)return;const E=(C=o.firstChild)===null||C===void 0?void 0:C.assignedElements();if(!(E==null?void 0:E.length))return;const j=E[0];if(R.composedPath().includes(j)){a=R.target;return}f(j.childNodes),a==document.activeElement&&b(j.childNodes),a=document.activeElement}function B(R){ne[R?"unshift":"push"](()=>{o=R,t(0,o)})}return i.$$set=R=>{"active"in R&&t(1,n=R.active)},i.$$.update=()=>{i.$$.dirty&2&&t(3,r=U(n)),i.$$.dirty&12&&(r&&!s&&(d(),t(2,s=!0)),!r&&s&&(c(),t(2,s=!1)))},[o,n,s,r,B]}class $r extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>#root{display:inline}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Qr,Yr,I,{active:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["active"]}get active(){return this.$$.ctx[1]}set active(e){this.$$set({active:e}),h()}}customElements.define("goa-focus-trap",$r);function Gt(i){let e;return{c(){e=y("goa-divider"),T(e,"spacing","small")},m(t,r){p(t,e,r)},d(t){t&&L(e)}}}function en(i){let e,t,r,n,l,a,o,s,c,d,f,m,w,b=i[2]?.length&&Gt();return{c(){e=y("div"),t=y("div"),r=y("div"),r.innerHTML='<slot name="nav"></slot>',n=H(),b&&b.c(),l=H(),a=y("div"),o=y("div"),o.innerHTML='<slot name="meta"></slot>',s=H(),c=y("div"),d=y("a"),d.innerHTML='<img alt="GoA Logo" class="logo" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E"/>',f=H(),m=y("a"),m.textContent=`\xA9 ${i[4]} Government of Alberta`,this.c=k,u(r,"class","nav-links"),u(o,"class","meta-links"),u(d,"href","https://alberta.ca"),u(m,"href","https://alberta.ca"),u(m,"class","goa-copyright"),u(c,"class","abgov"),N(c,"with-meta-links",i[3]?.length),u(a,"class","meta-section"),N(a,"with-meta-links",i[3]?.length),u(t,"class","content"),u(e,"class","app-footer"),u(e,"style",w=`--max-content-width: ${i[0]||"100%"}`)},m(v,_){p(v,e,_),g(e,t),g(t,r),g(t,n),b&&b.m(t,null),g(t,l),g(t,a),g(a,o),g(a,s),g(a,c),g(c,d),g(c,f),g(c,m),i[5](e)},p(v,[_]){v[2]?.length?b||(b=Gt(),b.c(),b.m(t,l)):b&&(b.d(1),b=null),_&8&&N(c,"with-meta-links",v[3]?.length),_&8&&N(a,"with-meta-links",v[3]?.length),_&1&&w!==(w=`--max-content-width: ${v[0]||"100%"}`)&&u(e,"style",w)},i:k,o:k,d(v){v&&L(e),b&&b.d(),i[5](null)}}}function tn(i,e,t){let{maxcontentwidth:r=""}=e,n,l,a;const o=new Date().getFullYear();X(async()=>{await ue();const c=n.querySelector("slot[name=nav]"),d=n.querySelector("slot[name=meta]");t(2,l=c.assignedElements()),t(3,a=d.assignedElements())});function s(c){ne[c?"unshift":"push"](()=>{n=c,t(1,n)})}return i.$$set=c=>{"maxcontentwidth"in c&&t(0,r=c.maxcontentwidth)},[r,n,l,a,o,s]}class rn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box}.app-footer{background-color:var(--color-gray-100);border-top:2px solid var(--color-gray-200);border-bottom:1rem solid var(--goa-color-brand)}.content{padding:2rem 1rem;margin:0 auto;width:min(var(--max-content-width), 100%)}@media(min-width: 640px){.content{padding:2rem 1.5rem}}.meta-section{display:flex;flex-direction:column;padding:1rem 0}.meta-section.with-meta-links{gap:2rem;justify-content:space-between}.meta-links{display:none}.with-meta-links .meta-links{display:block}.nav-links{display:flex;flex-direction:column;gap:2rem}.abgov{display:flex;flex-direction:column;justify-content:space-between;width:100%}@media(min-width: 640px){.meta-section{flex-direction:row;gap:2rem}.nav-links{flex-direction:row}.abgov{align-items:center;flex-direction:row-reverse}}.abgov.with-meta-links{gap:1rem;flex-direction:column;width:unset}@media(min-width: 640px){.abgov.with-meta-links{align-items:flex-end}}.goa-copyright{white-space:nowrap}a{color:var(--goa-color-text-secondary)}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},tn,en,I,{maxcontentwidth:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["maxcontentwidth"]}get maxcontentwidth(){return this.$$.ctx[0]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),h()}}customElements.define("goa-app-footer",rn);function Vt(i,e,t){const r=i.slice();return r[3]=e[t],r}function Ut(i){let e,t,r=i[3].innerHTML+"",n,l;return{c(){e=y("li"),t=y("a"),n=V(r),u(t,"href",l=i[3].href)},m(a,o){p(a,e,o),g(e,t),g(t,n)},p(a,o){o&2&&r!==(r=a[3].innerHTML+"")&&W(n,r),o&2&&l!==(l=a[3].href)&&u(t,"href",l)},d(a){a&&L(e)}}}function nn(i){let e,t,r,n,l=i[1],a=[];for(let o=0;o<l.length;o+=1)a[o]=Ut(Vt(i,l,o));return{c(){e=y("section"),t=y("div"),t.innerHTML="<slot></slot>",r=H(),n=y("ul");for(let o=0;o<a.length;o+=1)a[o].c();this.c=k,u(t,"class","hidden")},m(o,s){p(o,e,s),g(e,t),g(e,r),g(e,n);for(let c=0;c<a.length;c+=1)a[c].m(n,null);i[2](e)},p(o,[s]){if(s&2){l=o[1];let c;for(c=0;c<l.length;c+=1){const d=Vt(o,l,c);a[c]?a[c].p(d,s):(a[c]=Ut(d),a[c].c(),a[c].m(n,null))}for(;c<a.length;c+=1)a[c].d(1);a.length=l.length}},i:k,o:k,d(o){o&&L(e),Oe(a,o),i[2](null)}}}function ln(i,e,t){let r,n=[];X(async()=>{if(await ue(),t(1,n=r.querySelector("slot").assignedElements()),!n.map(o=>o.hasAttribute("href")).reduce((o,s)=>o&&s,!0)){t(1,n=[]),console.warn("GoAFooterMetaSection children must be anchor elements.");return}});function l(a){ne[a?"unshift":"push"](()=>{r=a,t(0,r)})}return[r,n,l]}class an extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.hidden{display:none}ul{display:flex;flex-wrap:wrap;gap:1rem;padding-left:0}li{list-style-type:none}a{color:var(--goa-color-text);white-space:nowrap}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},ln,nn,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-app-footer-meta-section",an);function Kt(i,e,t){const r=i.slice();return r[5]=e[t],r}function Wt(i){let e,t,r,n;return{c(){e=y("div"),t=V(i[0]),r=H(),n=y("goa-divider"),u(e,"class","title"),T(n,"spacing","small")},m(l,a){p(l,e,a),g(e,t),p(l,r,a),p(l,n,a)},p(l,a){a&1&&W(t,l[0])},d(l){l&&L(e),l&&L(r),l&&L(n)}}}function Xt(i){let e,t,r=i[5].innerHTML+"",n,l;return{c(){e=y("li"),t=y("a"),n=V(r),u(t,"href",l=i[5].href)},m(a,o){p(a,e,o),g(e,t),g(t,n)},p(a,o){o&8&&r!==(r=a[5].innerHTML+"")&&W(n,r),o&8&&l!==(l=a[5].href)&&u(t,"href",l)},d(a){a&&L(e)}}}function on(i){let e,t,r,n,l,a,o=i[0]&&Wt(i),s=i[3],c=[];for(let d=0;d<s.length;d+=1)c[d]=Xt(Kt(i,s,d));return{c(){e=y("section"),o&&o.c(),t=H(),r=y("div"),r.innerHTML="<slot></slot>",n=H(),l=y("ul");for(let d=0;d<c.length;d+=1)c[d].c();this.c=k,u(r,"class","hidden"),u(l,"class","links"),u(l,"style",a=`
|
|
40
40
|
--narrow-display-type: ${Math.ceil(i[1]/2)>1?"block":"flex"};
|
|
41
41
|
--narrow-column-count: ${Math.ceil(i[1]/2)};
|
|
42
42
|
--wide-display-type: ${i[1]>1?"block":"flex"};
|
|
43
43
|
--wide-column-count: ${i[1]};
|
|
44
|
-
`)},m(d,f){p(d,e,f),o&&o.m(e,null),g(e,t),g(e,r),g(e,n),g(e,l);for(let m=0;m<c.length;m+=1)c[m].m(l,null);i[4](e)},p(d,[f]){if(d[0]?o?o.p(d,f):(o=
|
|
44
|
+
`)},m(d,f){p(d,e,f),o&&o.m(e,null),g(e,t),g(e,r),g(e,n),g(e,l);for(let m=0;m<c.length;m+=1)c[m].m(l,null);i[4](e)},p(d,[f]){if(d[0]?o?o.p(d,f):(o=Wt(d),o.c(),o.m(e,t)):o&&(o.d(1),o=null),f&8){s=d[3];let m;for(m=0;m<s.length;m+=1){const w=Kt(d,s,m);c[m]?c[m].p(w,f):(c[m]=Xt(w),c[m].c(),c[m].m(l,null))}for(;m<c.length;m+=1)c[m].d(1);c.length=s.length}f&2&&a!==(a=`
|
|
45
45
|
--narrow-display-type: ${Math.ceil(d[1]/2)>1?"block":"flex"};
|
|
46
46
|
--narrow-column-count: ${Math.ceil(d[1]/2)};
|
|
47
47
|
--wide-display-type: ${d[1]>1?"block":"flex"};
|
|
48
48
|
--wide-column-count: ${d[1]};
|
|
49
|
-
`)&&u(l,"style",a)},i:k,o:k,d(d){d&&L(e),o&&o.d(),Oe(c,d),i[4](null)}}}function ln(i,e,t){let{heading:r=""}=e,{maxcolumncount:n=1}=e,l,a=[];Z(async()=>{if(await ue(),t(3,a=l.querySelector("slot").assignedElements()),!a.map(c=>c.hasAttribute("href")).reduce((c,d)=>c&&d,!0)){t(3,a=[]),console.warn("GoAFooterNavSection children must be anchor elements.");return}pt(l,":host",{"flex-grow":n})});function o(s){le[s?"unshift":"push"](()=>{l=s,t(2,l)})}return i.$$set=s=>{"heading"in s&&t(0,r=s.heading),"maxcolumncount"in s&&t(1,n=s.maxcolumncount)},[r,n,l,a,o]}class an extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{flex:auto}.title{font-size:var(--fs-xl);line-height:var(--lh-lg)}.hidden{display:none}.links{display:block;list-style-type:none;padding-left:0}@media(min-width: 720px){.links{display:var(--narrow-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--narrow-column-count)}}@media(min-width: 1024px){.links{display:var(--wide-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--wide-column-count)}}li{padding:0.75rem 0}a{color:var(--goa-color-text)}</style>",q(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},ln,nn,I,{heading:0,maxcolumncount:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","maxcolumncount"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get maxcolumncount(){return this.$$.ctx[1]}set maxcolumncount(e){this.$$set({maxcolumncount:e}),h()}}customElements.define("goa-app-footer-nav-section",an);function Xt(i){let e;return{c(){e=w("goa-divider"),T(e,"spacing","small")},m(t,r){p(t,e,r)},d(t){t&&L(e)}}}function on(i){let e,t,r,n,l,a,o,s,c,d,f,m,_,b=i[2]?.length&&Xt();return{c(){e=w("div"),t=w("div"),r=w("div"),r.innerHTML='<slot name="nav"></slot>',n=H(),b&&b.c(),l=H(),a=w("div"),o=w("div"),o.innerHTML='<slot name="meta"></slot>',s=H(),c=w("div"),d=w("a"),d.innerHTML='<img alt="GoA Logo" class="logo" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E"/>',f=H(),m=w("a"),m.textContent=`\xA9 ${i[4]} Government of Alberta`,this.c=k,u(r,"class","nav-links"),u(o,"class","meta-links"),u(d,"href","https://alberta.ca"),u(m,"href","https://alberta.ca"),u(m,"class","goa-copyright"),u(c,"class","abgov"),O(c,"with-meta-links",i[3]?.length),u(a,"class","meta-section"),O(a,"with-meta-links",i[3]?.length),u(t,"class","content"),u(e,"class","app-footer"),u(e,"style",_=`--max-content-width: ${i[0]||"100%"}`)},m(v,y){p(v,e,y),g(e,t),g(t,r),g(t,n),b&&b.m(t,null),g(t,l),g(t,a),g(a,o),g(a,s),g(a,c),g(c,d),g(c,f),g(c,m),i[5](e)},p(v,[y]){v[2]?.length?b||(b=Xt(),b.c(),b.m(t,l)):b&&(b.d(1),b=null),y&8&&O(c,"with-meta-links",v[3]?.length),y&8&&O(a,"with-meta-links",v[3]?.length),y&1&&_!==(_=`--max-content-width: ${v[0]||"100%"}`)&&u(e,"style",_)},i:k,o:k,d(v){v&&L(e),b&&b.d(),i[5](null)}}}function sn(i,e,t){let{maxcontentwidth:r=""}=e,n,l,a;const o=new Date().getFullYear();Z(async()=>{await ue();const c=n.querySelector("slot[name=nav]"),d=n.querySelector("slot[name=meta]");t(2,l=c.assignedElements()),t(3,a=d.assignedElements())});function s(c){le[c?"unshift":"push"](()=>{n=c,t(1,n)})}return i.$$set=c=>{"maxcontentwidth"in c&&t(0,r=c.maxcontentwidth)},[r,n,l,a,o,s]}class cn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box}.app-footer{background-color:var(--color-gray-100);border-top:2px solid var(--color-gray-200);border-bottom:1rem solid var(--goa-color-brand)}.content{padding:2rem 1rem;margin:0 auto;width:min(var(--max-content-width), 100%)}@media(min-width: 640px){.content{padding:2rem 1.5rem}}.meta-section{display:flex;flex-direction:column;padding:1rem 0}.meta-section.with-meta-links{gap:2rem;justify-content:space-between}.meta-links{display:none}.with-meta-links .meta-links{display:block}.nav-links{display:flex;flex-direction:column;gap:2rem}.abgov{display:flex;flex-direction:column;justify-content:space-between;width:100%}@media(min-width: 640px){.meta-section{flex-direction:row;gap:2rem}.nav-links{flex-direction:row}.abgov{align-items:center;flex-direction:row-reverse}}.abgov.with-meta-links{gap:1rem;flex-direction:column;width:unset}@media(min-width: 640px){.abgov.with-meta-links{align-items:flex-end}}.goa-copyright{white-space:nowrap}a{color:var(--goa-color-text-secondary)}</style>",q(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},sn,on,I,{maxcontentwidth:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["maxcontentwidth"]}get maxcontentwidth(){return this.$$.ctx[0]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),h()}}customElements.define("goa-app-footer",cn);function Zt(i){let e,t,r,n=i[8]&&i[9].includes(i[8]),l=n&&Yt(i);return{c(){e=w("div"),t=G(i[5]),r=H(),l&&l.c(),u(e,"class","label")},m(a,o){p(a,e,o),g(e,t),g(e,r),l&&l.m(e,null)},p(a,o){o&32&&W(t,a[5]),o&256&&(n=a[8]&&a[9].includes(a[8])),n?l?l.p(a,o):(l=Yt(a),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},d(a){a&&L(e),l&&l.d()}}}function Yt(i){let e,t,r,n;return{c(){e=w("em"),t=G("("),r=G(i[8]),n=G(")")},m(l,a){p(l,e,a),g(e,t),g(e,r),g(e,n)},p(l,a){a&256&&W(r,l[8])},d(l){l&&L(e)}}}function Jt(i){let e,t,r,n;return{c(){e=w("div"),t=w("goa-icon"),r=H(),n=G(i[7]),T(t,"type","warning"),T(t,"size","small"),T(t,"theme","filled"),Q(t,"pointer-events","none"),u(e,"class","error-msg")},m(l,a){p(l,e,a),g(e,t),g(e,r),g(e,n)},p(l,a){a&128&&W(n,l[7])},d(l){l&&L(e)}}}function Qt(i){let e,t;return{c(){e=w("div"),t=G(i[6]),u(e,"class","help-msg")},m(r,n){p(r,e,n),g(e,t)},p(r,n){n&64&&W(t,r[6])},d(r){r&&L(e)}}}function dn(i){let e,t,r,n,l,a,o=i[5]&&Zt(i),s=i[7]&&Jt(i),c=i[6]&&Qt(i);return{c(){e=w("div"),o&&o.c(),t=H(),r=w("div"),r.innerHTML="<slot></slot>",n=H(),s&&s.c(),l=H(),c&&c.c(),this.c=k,u(r,"class","form-item-input"),u(e,"data-testid",i[0]),u(e,"style",a=V(i[1],i[2],i[3],i[4])),u(e,"class","goa-form-item")},m(d,f){p(d,e,f),o&&o.m(e,null),g(e,t),g(e,r),g(e,n),s&&s.m(e,null),g(e,l),c&&c.m(e,null)},p(d,[f]){d[5]?o?o.p(d,f):(o=Zt(d),o.c(),o.m(e,t)):o&&(o.d(1),o=null),d[7]?s?s.p(d,f):(s=Jt(d),s.c(),s.m(e,l)):s&&(s.d(1),s=null),d[6]?c?c.p(d,f):(c=Qt(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&1&&u(e,"data-testid",d[0]),f&30&&a!==(a=V(d[1],d[2],d[3],d[4]))&&u(e,"style",a)},i:k,o:k,d(d){d&&L(e),o&&o.d(),s&&s.d(),c&&c.d()}}}function un(i,e,t){const[r,n]=X("Requirement type",["optional","required"],!1);let{testid:l=""}=e,{mt:a=null}=e,{mr:o=null}=e,{mb:s=null}=e,{ml:c=null}=e,{label:d=""}=e,{helptext:f=""}=e,{error:m=""}=e,{requirement:_=""}=e;return Z(()=>{n(_)}),i.$$set=b=>{"testid"in b&&t(0,l=b.testid),"mt"in b&&t(1,a=b.mt),"mr"in b&&t(2,o=b.mr),"mb"in b&&t(3,s=b.mb),"ml"in b&&t(4,c=b.ml),"label"in b&&t(5,d=b.label),"helptext"in b&&t(6,f=b.helptext),"error"in b&&t(7,m=b.error),"requirement"in b&&t(8,_=b.requirement)},[l,a,o,s,c,d,f,m,_,r]}class fn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}.label{display:block;font-weight:var(--fw-bold);color:var(--goa-color-text);font-size:var(--fs-base);padding:0.5rem 0}.label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);line-height:var(--lh-sm);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--fs-sm);color:var(--goa-color-text);margin-right:56px}.error-msg{display:inline-flex;gap:0.25rem;font-size:var(--fs-sm);color:var(--goa-color-interactive--error);margin-bottom:0.25rem}</style>",q(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},un,dn,I,{testid:0,mt:1,mr:2,mb:3,ml:4,label:5,helptext:6,error:7,requirement:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["testid","mt","mr","mb","ml","label","helptext","error","requirement"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[1]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[2]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[3]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[4]}set ml(e){this.$$set({ml:e}),h()}get label(){return this.$$.ctx[5]}set label(e){this.$$set({label:e}),h()}get helptext(){return this.$$.ctx[6]}set helptext(e){this.$$set({helptext:e}),h()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),h()}get requirement(){return this.$$.ctx[8]}set requirement(e){this.$$set({requirement:e}),h()}}customElements.define("goa-form-item",fn);function hn(i){let e,t,r;return{c(){e=w("div"),t=w("slot"),this.c=k,u(e,"class","goa-grid"),u(e,"style",r=`
|
|
50
|
-
${
|
|
49
|
+
`)&&u(l,"style",a)},i:k,o:k,d(d){d&&L(e),o&&o.d(),Oe(c,d),i[4](null)}}}function sn(i,e,t){let{heading:r=""}=e,{maxcolumncount:n=1}=e,l,a=[];X(async()=>{if(await ue(),t(3,a=l.querySelector("slot").assignedElements()),!a.map(c=>c.hasAttribute("href")).reduce((c,d)=>c&&d,!0)){t(3,a=[]),console.warn("GoAFooterNavSection children must be anchor elements.");return}pt(l,":host",{"flex-grow":n})});function o(s){ne[s?"unshift":"push"](()=>{l=s,t(2,l)})}return i.$$set=s=>{"heading"in s&&t(0,r=s.heading),"maxcolumncount"in s&&t(1,n=s.maxcolumncount)},[r,n,l,a,o]}class cn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{flex:auto}.title{font-size:var(--fs-xl);line-height:var(--lh-lg)}.hidden{display:none}.links{display:block;list-style-type:none;padding-left:0}@media(min-width: 720px){.links{display:var(--narrow-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--narrow-column-count)}}@media(min-width: 1024px){.links{display:var(--wide-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--wide-column-count)}}li{padding:0.75rem 0}a{color:var(--goa-color-text)}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},sn,on,I,{heading:0,maxcolumncount:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","maxcolumncount"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get maxcolumncount(){return this.$$.ctx[1]}set maxcolumncount(e){this.$$set({maxcolumncount:e}),h()}}customElements.define("goa-app-footer-nav-section",cn);function Zt(i){let e,t,r,n=i[8]&&i[9].includes(i[8]),l=n&&Yt(i);return{c(){e=y("div"),t=V(i[5]),r=H(),l&&l.c(),u(e,"class","label")},m(a,o){p(a,e,o),g(e,t),g(e,r),l&&l.m(e,null)},p(a,o){o&32&&W(t,a[5]),o&256&&(n=a[8]&&a[9].includes(a[8])),n?l?l.p(a,o):(l=Yt(a),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},d(a){a&&L(e),l&&l.d()}}}function Yt(i){let e,t,r,n;return{c(){e=y("em"),t=V("("),r=V(i[8]),n=V(")")},m(l,a){p(l,e,a),g(e,t),g(e,r),g(e,n)},p(l,a){a&256&&W(r,l[8])},d(l){l&&L(e)}}}function Jt(i){let e,t,r,n;return{c(){e=y("div"),t=y("goa-icon"),r=H(),n=V(i[7]),T(t,"type","warning"),T(t,"size","small"),T(t,"theme","filled"),Q(t,"pointer-events","none"),u(e,"class","error-msg")},m(l,a){p(l,e,a),g(e,t),g(e,r),g(e,n)},p(l,a){a&128&&W(n,l[7])},d(l){l&&L(e)}}}function Qt(i){let e,t;return{c(){e=y("div"),t=V(i[6]),u(e,"class","help-msg")},m(r,n){p(r,e,n),g(e,t)},p(r,n){n&64&&W(t,r[6])},d(r){r&&L(e)}}}function dn(i){let e,t,r,n,l,a,o=i[5]&&Zt(i),s=i[7]&&Jt(i),c=i[6]&&Qt(i);return{c(){e=y("div"),o&&o.c(),t=H(),r=y("div"),r.innerHTML="<slot></slot>",n=H(),s&&s.c(),l=H(),c&&c.c(),this.c=k,u(r,"class","form-item-input"),u(e,"data-testid",i[0]),u(e,"style",a=G(i[1],i[2],i[3],i[4])),u(e,"class","goa-form-item")},m(d,f){p(d,e,f),o&&o.m(e,null),g(e,t),g(e,r),g(e,n),s&&s.m(e,null),g(e,l),c&&c.m(e,null)},p(d,[f]){d[5]?o?o.p(d,f):(o=Zt(d),o.c(),o.m(e,t)):o&&(o.d(1),o=null),d[7]?s?s.p(d,f):(s=Jt(d),s.c(),s.m(e,l)):s&&(s.d(1),s=null),d[6]?c?c.p(d,f):(c=Qt(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&1&&u(e,"data-testid",d[0]),f&30&&a!==(a=G(d[1],d[2],d[3],d[4]))&&u(e,"style",a)},i:k,o:k,d(d){d&&L(e),o&&o.d(),s&&s.d(),c&&c.d()}}}function un(i,e,t){const[r,n]=Z("Requirement type",["optional","required"],!1);let{testid:l=""}=e,{mt:a=null}=e,{mr:o=null}=e,{mb:s=null}=e,{ml:c=null}=e,{label:d=""}=e,{helptext:f=""}=e,{error:m=""}=e,{requirement:w=""}=e;return X(()=>{n(w)}),i.$$set=b=>{"testid"in b&&t(0,l=b.testid),"mt"in b&&t(1,a=b.mt),"mr"in b&&t(2,o=b.mr),"mb"in b&&t(3,s=b.mb),"ml"in b&&t(4,c=b.ml),"label"in b&&t(5,d=b.label),"helptext"in b&&t(6,f=b.helptext),"error"in b&&t(7,m=b.error),"requirement"in b&&t(8,w=b.requirement)},[l,a,o,s,c,d,f,m,w,r]}class fn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}.label{display:block;font-weight:var(--fw-bold);color:var(--goa-color-text);font-size:var(--fs-base);padding:0.5rem 0}.label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);line-height:var(--lh-sm);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--fs-sm);color:var(--goa-color-text);margin-right:56px}.error-msg{display:inline-flex;gap:0.25rem;font-size:var(--fs-sm);color:var(--goa-color-interactive--error);margin-bottom:0.25rem}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},un,dn,I,{testid:0,mt:1,mr:2,mb:3,ml:4,label:5,helptext:6,error:7,requirement:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["testid","mt","mr","mb","ml","label","helptext","error","requirement"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[1]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[2]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[3]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[4]}set ml(e){this.$$set({ml:e}),h()}get label(){return this.$$.ctx[5]}set label(e){this.$$set({label:e}),h()}get helptext(){return this.$$.ctx[6]}set helptext(e){this.$$set({helptext:e}),h()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),h()}get requirement(){return this.$$.ctx[8]}set requirement(e){this.$$set({requirement:e}),h()}}customElements.define("goa-form-item",fn);function hn(i){let e,t,r;return{c(){e=y("div"),t=y("slot"),this.c=k,u(e,"class","goa-grid"),u(e,"style",r=`
|
|
50
|
+
${G(i[2],i[3],i[4],i[5])}
|
|
51
51
|
--min-child-width: ${i[1]||0};
|
|
52
52
|
gap: var(--goa-spacing-${i[0]})
|
|
53
53
|
`)},m(n,l){p(n,e,l),g(e,t)},p(n,[l]){l&63&&r!==(r=`
|
|
54
|
-
${
|
|
54
|
+
${G(n[2],n[3],n[4],n[5])}
|
|
55
55
|
--min-child-width: ${n[1]||0};
|
|
56
56
|
gap: var(--goa-spacing-${n[0]})
|
|
57
|
-
`)&&u(e,"style",r)},i:k,o:k,d(n){n&&L(e)}}}function mn(i,e,t){let{gap:r="m"}=e,{minchildwidth:n=""}=e,{mt:l=null}=e,{mr:a=null}=e,{mb:o=null}=e,{ml:s=null}=e;return
|
|
58
|
-
${
|
|
57
|
+
`)&&u(e,"style",r)},i:k,o:k,d(n){n&&L(e)}}}function mn(i,e,t){let{gap:r="m"}=e,{minchildwidth:n=""}=e,{mt:l=null}=e,{mr:a=null}=e,{mb:o=null}=e,{ml:s=null}=e;return X(()=>{xt("Grid",{minchildwidth:n})}),i.$$set=c=>{"gap"in c&&t(0,r=c.gap),"minchildwidth"in c&&t(1,n=c.minchildwidth),"mt"in c&&t(2,l=c.mt),"mr"in c&&t(3,a=c.mr),"mb"in c&&t(4,o=c.mb),"ml"in c&&t(5,s=c.ml)},[r,n,l,a,o,s]}class gn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-grid{display:flex;flex-direction:column;gap:var(--gap)}@media(min-width: 640px){.goa-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(var(--min-child-width), 1fr))}}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},mn,hn,I,{gap:0,minchildwidth:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap","minchildwidth","mt","mr","mb","ml"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),h()}get minchildwidth(){return this.$$.ctx[1]}set minchildwidth(e){this.$$set({minchildwidth:e}),h()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-grid",gn);function bn(i){let e,t,r,n,l,a,o,s;return{c(){e=y("div"),t=y("goa-page-block"),r=y("h1"),n=V(i[0]),l=H(),a=y("div"),a.innerHTML="<slot></slot>",o=H(),s=y("slot"),this.c=k,u(a,"class","goa-hero-banner-content"),u(a,"role","note"),u(s,"name","actions"),T(t,"width","full"),u(e,"class","goa-hero"),u(e,"data-testid","background"),Q(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+i[1]+")"),Q(e,"background-size","cover"),Q(e,"background-position","center"),Q(e,"background-repeat","no-repeat"),Q(e,"min-height",i[2])},m(c,d){p(c,e,d),g(e,t),g(t,r),g(r,n),g(t,l),g(t,a),g(t,o),g(t,s)},p(c,[d]){d&1&&W(n,c[0]),d&2&&Q(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+c[1]+")"),d&4&&Q(e,"min-height",c[2])},i:k,o:k,d(c){c&&L(e)}}}function vn(i,e,t){let{heading:r}=e,{backgroundurl:n}=e,{minheight:l="600px"}=e;return i.$$set=a=>{"heading"in a&&t(0,r=a.heading),"backgroundurl"in a&&t(1,n=a.backgroundurl),"minheight"in a&&t(2,l=a.minheight)},[r,n,l]}class yn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;border-bottom:8px solid var(--goa-color-brand);color:var(--color-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--color-white);font-size:var(--fs-3xl);line-height:var(--lh-2xl);font-weight:var(--fw-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},vn,bn,I,{heading:0,backgroundurl:1,minheight:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","backgroundurl","minheight"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),h()}get minheight(){return this.$$.ctx[2]}set minheight(e){this.$$set({minheight:e}),h()}}customElements.define("goa-hero-banner",yn);function wn(i){let e,t,r,n,l;return{c(){e=y("button"),t=y("goa-icon"),this.c=k,T(t,"title",i[3]),T(t,"type",i[0]),T(t,"size",i[1]),T(t,"theme",i[2]),T(t,"inverted",i[9]),u(e,"style",r=""+(G(i[5],i[6],i[7],i[8])+"; --pading-size: "+i[10])),u(e,"title",i[3]),e.disabled=i[11],u(e,"class",i[12]),u(e,"data-testid",i[4])},m(a,o){p(a,e,o),g(e,t),n||(l=Y(e,"click",_n),n=!0)},p(a,[o]){o&8&&T(t,"title",a[3]),o&1&&T(t,"type",a[0]),o&2&&T(t,"size",a[1]),o&4&&T(t,"theme",a[2]),o&512&&T(t,"inverted",a[9]),o&1504&&r!==(r=""+(G(a[5],a[6],a[7],a[8])+"; --pading-size: "+a[10]))&&u(e,"style",r),o&8&&u(e,"title",a[3]),o&2048&&(e.disabled=a[11]),o&4096&&u(e,"class",a[12]),o&16&&u(e,"data-testid",a[4])},i:k,o:k,d(a){a&&L(e),n=!1,l()}}}function _n(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function kn(i,e,t){let r,n,l,a;const[o,s]=Z("Icon Button Variant",["color","nocolor","dark"],!0);let{icon:c}=e,{size:d="medium"}=e,{theme:f="outline"}=e,{variant:m="color"}=e,{title:w=""}=e,{testid:b=""}=e,{disabled:v="false"}=e,{inverted:_="false"}=e,{mt:x=null}=e,{mr:z=null}=e,{mb:B=null}=e,{ml:R=null}=e;return X(()=>{s(m)}),i.$$set=C=>{"icon"in C&&t(0,c=C.icon),"size"in C&&t(1,d=C.size),"theme"in C&&t(2,f=C.theme),"variant"in C&&t(13,m=C.variant),"title"in C&&t(3,w=C.title),"testid"in C&&t(4,b=C.testid),"disabled"in C&&t(14,v=C.disabled),"inverted"in C&&t(15,_=C.inverted),"mt"in C&&t(5,x=C.mt),"mr"in C&&t(6,z=C.mr),"mb"in C&&t(7,B=C.mb),"ml"in C&&t(8,R=C.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(9,l=U(_)),i.$$.dirty&8704&&t(12,r=`${m} ${l?"inverted":""}`),i.$$.dirty&16384&&t(11,n=U(v)),i.$$.dirty&2&&t(10,a={small:"0.25rem",medium:"0.25rem",large:"0.5rem"}[d])},[c,d,f,w,b,x,z,B,R,l,a,n,r,m,v,_]}class pn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:inline-flex;align-items:center;box-sizing:border-box;font-family:var(--font-family)}button,button *{box-sizing:border-box}button{display:inline-flex;align-items:center;box-sizing:border-box;justify-content:center;background:transparent;cursor:pointer;border:none;border-radius:0.5rem;padding:var(--pading-size)}.color,.dark{color:var(--goa-color-interactive);fill:var(--goa-color-interactive);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.dark:not(.inverted){color:unset}button:hover{background-color:var(--color-gray-100);border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);outline:none}button:focus,button:active{background-color:var(--color-gray-100);border-color:var(--goa-color-interactive--active);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.color.inverted:hover{background-color:var(--goa-color-primary-dark)}button:disabled{pointer-events:none;opacity:0.5;transform:none;cursor:default}button:disabled:hover{background-color:transparent}button.dark:hover{background-color:rgba(0, 0, 0, 0.3)}button.dark:focus,button.dark:active{background-color:rgba(0, 0, 0, 0.3);box-shadow:0 0 0 3px var(--color-white)}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},kn,wn,I,{icon:0,size:1,theme:2,variant:13,title:3,testid:4,disabled:14,inverted:15,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["icon","size","theme","variant","title","testid","disabled","inverted","mt","mr","mb","ml"]}get icon(){return this.$$.ctx[0]}set icon(e){this.$$set({icon:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get theme(){return this.$$.ctx[2]}set theme(e){this.$$set({theme:e}),h()}get variant(){return this.$$.ctx[13]}set variant(e){this.$$set({variant:e}),h()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),h()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),h()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),h()}get inverted(){return this.$$.ctx[15]}set inverted(e){this.$$set({inverted:e}),h()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-icon-button",pn);function $t(i){let e,t;return{c(){e=y("ion-icon"),T(e,"name",t=i[5]==="filled"||i[4].indexOf("logo")===0?i[4]:`${i[4]}-${i[5]}`)},m(r,n){p(r,e,n)},p(r,n){n&48&&t!==(t=r[5]==="filled"||r[4].indexOf("logo")===0?r[4]:`${r[4]}-${r[5]}`)&&T(e,"name",t)},d(r){r&&L(e)}}}function xn(i){let e,t,r=i[4]&&$t(i);return{c(){e=y("div"),r&&r.c(),this.c=k,u(e,"class","goa-icon"),u(e,"data-testid",i[10]),u(e,"title",i[9]),u(e,"style",t=`
|
|
58
|
+
${G(i[0],i[1],i[2],i[3])}
|
|
59
59
|
--size: ${i[11]};
|
|
60
60
|
--fill-color: ${i[6]};
|
|
61
61
|
--hover-color: ${i[7]};
|
|
62
62
|
--opacity: ${i[8]};
|
|
63
|
-
`),
|
|
64
|
-
${
|
|
63
|
+
`),N(e,"inverted",i[12])},m(n,l){p(n,e,l),r&&r.m(e,null)},p(n,[l]){n[4]?r?r.p(n,l):(r=$t(n),r.c(),r.m(e,null)):r&&(r.d(1),r=null),l&1024&&u(e,"data-testid",n[10]),l&512&&u(e,"title",n[9]),l&2511&&t!==(t=`
|
|
64
|
+
${G(n[0],n[1],n[2],n[3])}
|
|
65
65
|
--size: ${n[11]};
|
|
66
66
|
--fill-color: ${n[6]};
|
|
67
67
|
--hover-color: ${n[7]};
|
|
68
68
|
--opacity: ${n[8]};
|
|
69
|
-
`)&&u(e,"style",t),l&4096&&
|
|
69
|
+
`)&&u(e,"style",t),l&4096&&N(e,"inverted",n[12])},i:k,o:k,d(n){n&&L(e),r&&r.d()}}}function En(i,e,t){let r,n,{mt:l=null}=e,{mr:a=null}=e,{mb:o=null}=e,{ml:s=null}=e,{type:c}=e,{size:d="medium"}=e,{theme:f="outline"}=e,{inverted:m="false"}=e,{fillcolor:w=""}=e,{hovercolor:b=""}=e,{opacity:v=1}=e,{title:_=""}=e,{testid:x=""}=e;return i.$$set=z=>{"mt"in z&&t(0,l=z.mt),"mr"in z&&t(1,a=z.mr),"mb"in z&&t(2,o=z.mb),"ml"in z&&t(3,s=z.ml),"type"in z&&t(4,c=z.type),"size"in z&&t(13,d=z.size),"theme"in z&&t(5,f=z.theme),"inverted"in z&&t(14,m=z.inverted),"fillcolor"in z&&t(6,w=z.fillcolor),"hovercolor"in z&&t(7,b=z.hovercolor),"opacity"in z&&t(8,v=z.opacity),"title"in z&&t(9,_=z.title),"testid"in z&&t(10,x=z.testid)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,r=U(m)),i.$$.dirty&8192&&t(11,n={small:"1.25rem",medium:"1.5rem",large:"2rem"}[d])},[l,a,o,s,c,f,w,b,v,_,x,n,r,d,m]}class Cn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:inline-flex;align-items:center}ion-icon{pointer-events:none;width:100%;height:100%}.goa-icon{width:var(--size);height:var(--size);fill:var(--fill-color);color:var(--fill-color);opacity:var(--opacity);display:inline-flex;align-items:center;justify-content:center}.goa-icon:hover ion-icon{fill:var(--hover-color);color:var(--hover-color)}.inverted{color:#fff;fill:#fff}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},En,xn,I,{mt:0,mr:1,mb:2,ml:3,type:4,size:13,theme:5,inverted:14,fillcolor:6,hovercolor:7,opacity:8,title:9,testid:10},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["mt","mr","mb","ml","type","size","theme","inverted","fillcolor","hovercolor","opacity","title","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),h()}get type(){return this.$$.ctx[4]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[13]}set size(e){this.$$set({size:e}),h()}get theme(){return this.$$.ctx[5]}set theme(e){this.$$set({theme:e}),h()}get inverted(){return this.$$.ctx[14]}set inverted(e){this.$$set({inverted:e}),h()}get fillcolor(){return this.$$.ctx[6]}set fillcolor(e){this.$$set({fillcolor:e}),h()}get hovercolor(){return this.$$.ctx[7]}set hovercolor(e){this.$$set({hovercolor:e}),h()}get opacity(){return this.$$.ctx[8]}set opacity(e){this.$$set({opacity:e}),h()}get title(){return this.$$.ctx[9]}set title(e){this.$$set({title:e}),h()}get testid(){return this.$$.ctx[10]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-icon",Cn);function ei(i){let e,t;return{c(){e=y("div"),t=V(i[14]),u(e,"class","prefix")},m(r,n){p(r,e,n),g(e,t)},p(r,n){n[0]&16384&&W(t,r[14])},d(r){r&&L(e)}}}function ti(i){let e;return{c(){e=y("goa-icon"),T(e,"class","goa-input-leading-icon"),T(e,"data-testid","leading-icon"),T(e,"type",i[5])},m(t,r){p(t,e,r)},p(t,r){r[0]&32&&T(e,"type",t[5])},d(t){t&&L(e)}}}function ii(i){let e;return{c(){e=y("goa-icon"),T(e,"class","goa-input-trailing-icon"),T(e,"data-testid","trailing-icon"),T(e,"size","medium"),T(e,"type",i[6])},m(t,r){p(t,e,r)},p(t,r){r[0]&64&&T(e,"type",t[6])},d(t){t&&L(e)}}}function ri(i){let e,t,r;return{c(){e=y("goa-icon-button"),T(e,"disabled",i[21]),T(e,"variant","nocolor"),T(e,"size","medium"),T(e,"icon",i[6]),T(e,"data-testid","trailing-icon-button")},m(n,l){p(n,e,l),t||(r=Y(e,"click",Mn),t=!0)},p(n,l){l[0]&2097152&&T(e,"disabled",n[21]),l[0]&64&&T(e,"icon",n[6])},d(n){n&&L(e),t=!1,r()}}}function ni(i){let e,t;return{c(){e=y("span"),t=V(i[15]),u(e,"class","suffix")},m(r,n){p(r,e,n),g(e,t)},p(r,n){n[0]&32768&&W(t,r[15])},d(r){r&&L(e)}}}function zn(i){let e,t,r,n,l,a,o,s,c,d,f,m,w,b,v,_,x,z,B,R=i[14]&&ei(i),C=i[5]&&ti(i),E=i[6]&&!i[24]&&ii(i),j=i[6]&&i[24]&&ri(i),A=i[15]&&ni(i);return{c(){e=y("div"),t=y("div"),R&&R.c(),r=H(),n=y("div"),n.innerHTML='<slot name="leadingContent"></slot>',l=H(),C&&C.c(),a=H(),o=y("input"),f=H(),E&&E.c(),m=H(),j&&j.c(),w=H(),A&&A.c(),b=H(),v=y("div"),v.innerHTML='<slot name="trailingContent"></slot>',this.c=k,u(n,"class","leading-content"),u(o,"class",s=`input--${i[7]}`),u(o,"style",c=`--search-icon-offset: ${i[6]?"-0.5rem":"0"}`),o.readOnly=i[23],o.disabled=i[21],u(o,"data-testid",i[8]),u(o,"autocapitalize",i[3]),u(o,"name",i[2]),u(o,"type",i[1]),o.value=i[0],u(o,"placeholder",i[4]),u(o,"min",i[11]),u(o,"max",i[12]),u(o,"step",i[13]),u(o,"role","textbox"),u(o,"aria-label",d=i[10]||i[2]),u(v,"class","trailing-content"),u(t,"class",_=`
|
|
70
70
|
goa-input
|
|
71
71
|
${i[21]?"goa-input--disabled":""}
|
|
72
72
|
variant--${i[7]}
|
|
73
73
|
type--${i[1]}
|
|
74
|
-
`),
|
|
75
|
-
${
|
|
74
|
+
`),N(t,"error",i[22]),u(e,"class","container"),u(e,"style",x=`
|
|
75
|
+
${G(i[16],i[17],i[18],i[19])};
|
|
76
76
|
--width: ${i[9]};
|
|
77
|
-
`)},m(M,
|
|
77
|
+
`)},m(M,O){p(M,e,O),g(e,t),R&&R.m(t,null),g(t,r),g(t,n),g(t,l),C&&C.m(t,null),g(t,a),g(t,o),i[32](o),g(t,f),E&&E.m(t,null),g(t,m),j&&j.m(t,null),g(t,w),A&&A.m(t,null),g(t,b),g(t,v),z||(B=[Y(o,"keyup",i[25]),Y(o,"change",i[25])],z=!0)},p(M,O){M[14]?R?R.p(M,O):(R=ei(M),R.c(),R.m(t,r)):R&&(R.d(1),R=null),M[5]?C?C.p(M,O):(C=ti(M),C.c(),C.m(t,a)):C&&(C.d(1),C=null),O[0]&128&&s!==(s=`input--${M[7]}`)&&u(o,"class",s),O[0]&64&&c!==(c=`--search-icon-offset: ${M[6]?"-0.5rem":"0"}`)&&u(o,"style",c),O[0]&8388608&&(o.readOnly=M[23]),O[0]&2097152&&(o.disabled=M[21]),O[0]&256&&u(o,"data-testid",M[8]),O[0]&8&&u(o,"autocapitalize",M[3]),O[0]&4&&u(o,"name",M[2]),O[0]&2&&u(o,"type",M[1]),O[0]&1&&o.value!==M[0]&&(o.value=M[0]),O[0]&16&&u(o,"placeholder",M[4]),O[0]&2048&&u(o,"min",M[11]),O[0]&4096&&u(o,"max",M[12]),O[0]&8192&&u(o,"step",M[13]),O[0]&1028&&d!==(d=M[10]||M[2])&&u(o,"aria-label",d),M[6]&&!M[24]?E?E.p(M,O):(E=ii(M),E.c(),E.m(t,m)):E&&(E.d(1),E=null),M[6]&&M[24]?j?j.p(M,O):(j=ri(M),j.c(),j.m(t,w)):j&&(j.d(1),j=null),M[15]?A?A.p(M,O):(A=ni(M),A.c(),A.m(t,b)):A&&(A.d(1),A=null),O[0]&2097282&&_!==(_=`
|
|
78
78
|
goa-input
|
|
79
79
|
${M[21]?"goa-input--disabled":""}
|
|
80
80
|
variant--${M[7]}
|
|
81
81
|
type--${M[1]}
|
|
82
|
-
`)&&u(t,"class",
|
|
83
|
-
${
|
|
82
|
+
`)&&u(t,"class",_),O[0]&6291586&&N(t,"error",M[22]),O[0]&983552&&x!==(x=`
|
|
83
|
+
${G(M[16],M[17],M[18],M[19])};
|
|
84
84
|
--width: ${M[9]};
|
|
85
|
-
`)&&u(e,"style",x)},i:k,o:k,d(M){M&&L(e),R&&R.d(),C&&C.d(),i[32](null),E&&E.d(),
|
|
86
|
-
center center no-repeat}</style>`,
|
|
87
|
-
`),d&&d.c(),u(e,"data-testid","type"),u(e,"class",n="service-type service-type--"+i[0].toLowerCase()),u(s,"href","https://www.alberta.ca/index.aspx"),u(a,"data-testid","site-text"),u(a,"class","site-text")},m(f,m){p(f,e,m),g(e,r),p(f,l,m),p(f,a,m),g(a,o),g(a,s),g(a,c),d&&d.m(a,null)},p(f,m){m&1&&t!==(t=ci(f[0])+"")&&W(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=oi(f),d.c(),d.m(a,null)):d&&(d.d(1),d=null)},d(f){f&&L(e),f&&L(l),f&&L(a),d&&d.d()}}}function oi(i){let e,t,r,n;return{c(){e=w("span"),t=G("\u2014 help us improve it by giving "),r=w("a"),n=G("feedback"),u(r,"href",i[2]),u(e,"data-testid","feedback")},m(l,a){p(l,e,a),g(e,t),g(e,r),g(r,n)},p(l,a){a&4&&u(r,"href",l[2])},d(l){l&&L(e)}}}function si(i){let e,t;return{c(){e=w("div"),t=G(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&&W(t,r[1])},d(r){r&&L(e)}}}function An(i){let e,t,r=["alpha","beta"].includes(i[0]),n,l,a,o=i[0]==="live"&&li(),s=r&&ai(i),c=i[1]&&si(i);return{c(){e=w("header"),o&&o.c(),t=H(),s&&s.c(),n=H(),l=w("div"),a=H(),c&&c.c(),this.c=k,u(l,"class","spacer"),u(e,"class","goa-official-site-header")},m(d,f){p(d,e,f),o&&o.m(e,null),g(e,t),s&&s.m(e,null),g(e,n),g(e,l),g(e,a),c&&c.m(e,null)},p(d,[f]){d[0]==="live"?o||(o=li(),o.c(),o.m(e,t)):o&&(o.d(1),o=null),f&1&&(r=["alpha","beta"].includes(d[0])),r?s?s.p(d,f):(s=ai(d),s.c(),s.m(e,n)):s&&(s.d(1),s=null),d[1]?c?c.p(d,f):(c=si(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:k,o:k,d(d){d&&L(e),o&&o.d(),s&&s.d(),c&&c.d()}}}function ci(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function Rn(i,e,t){const[r,n]=X("Microsite header type",["live","alpha","beta"],!0);let{type:l}=e,{version:a=""}=e,{feedbackurl:o=""}=e;return Z(()=>{n(l)}),i.$$set=s=>{"type"in s&&t(0,l=s.type),"version"in s&&t(1,a=s.version),"feedbackurl"in s&&t(2,o=s.feedbackurl)},[l,a,o]}class Hn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}a{color:var(--goa-color-interactive);cursor:pointer}a:hover{color:var(--goa-color-interactive--hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive--hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--fs-sm);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;padding:0.25rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-type{font-weight:bold;padding:0.125rem 0.25rem;display:flex;margin-right:1rem;line-height:initial}.service-type--alpha{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.service-type--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-type--live{padding:0}.site-text{color:var(--goa-color-text);line-height:1.25rem}</style>",q(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Rn,An,I,{type:0,version:1,feedbackurl:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","version","feedbackurl"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),h()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),h()}}customElements.define("goa-microsite-header",Hn);function di(i){let e,t,r,n,l,a,o,s,c,d,f,m,_,b,v,y,x,z,B,R,C,E,N,A=i[3]!==null&&ui(i),M=i[0]&&fi(i),j=i[4]&&hi(i);function ye(te,$){return Sn}let re=ye()(i);return{c(){e=w("goa-focus-trap"),t=w("div"),r=w("div"),n=H(),l=w("div"),A&&A.c(),a=H(),o=w("div"),M&&M.c(),s=H(),j&&j.c(),c=H(),d=w("div"),re.c(),f=H(),m=w("slot"),_=H(),b=w("div"),b.innerHTML='<slot name="actions"></slot>',u(r,"data-testid","modal-overlay"),u(r,"class","modal-overlay"),u(d,"data-testid","modal-content"),u(d,"class","modal-content"),u(b,"class","modal-actions"),u(b,"data-testid","modal-actions"),u(o,"class","content"),u(l,"class","modal-pane"),u(t,"data-testid","modal"),u(t,"class","modal"),u(t,"style",x=""+((i[2]&&`--width: ${i[2]};`)+";")),T(e,"active",i[1])},m(te,$){p(te,e,$),g(e,t),g(t,r),g(t,n),g(t,l),A&&A.m(l,null),g(l,a),g(l,o),M&&M.m(o,null),g(o,s),j&&j.m(o,null),g(o,c),g(o,d),re.m(d,null),g(d,f),g(d,m),g(o,_),g(o,b),C=!0,E||(N=[Y(r,"click",i[8]),ct(z=Ht.call(null,t,{enable:i[7]}))],E=!0)},p(te,$){i=te,i[3]!==null?A?A.p(i,$):(A=ui(i),A.c(),A.m(l,a)):A&&(A.d(1),A=null),i[0]?M?M.p(i,$):(M=fi(i),M.c(),M.m(o,s)):M&&(M.d(1),M=null),i[4]?j?j.p(i,$):(j=hi(i),j.c(),j.m(o,c)):j&&(j.d(1),j=null),(!C||$&4&&x!==(x=""+((i[2]&&`--width: ${i[2]};`)+";")))&&u(t,"style",x),z&&de(z.update)&&$&128&&z.update.call(null,{enable:i[7]}),(!C||$&2)&&T(e,"active",i[1])},i(te){C||(ae(()=>{y&&y.end(1),v=wt(l,Rt,{duration:i[6],y:200}),v.start()}),ae(()=>{R&&R.end(1),B=wt(t,Ce,{duration:i[6]}),B.start()}),C=!0)},o(te){v&&v.invalidate(),y=yt(l,Rt,{delay:i[6],duration:i[6],y:-100}),B&&B.invalidate(),R=yt(t,Ce,{delay:i[6],duration:i[6]}),C=!1},d(te){te&&L(e),A&&A.d(),M&&M.d(),j&&j.d(),re.d(),te&&y&&y.end(),te&&R&&R.end(),E=!1,ne(N)}}}function ui(i){let e,t,r,n;return{c(){e=w("div"),t=w("goa-icon"),T(t,"type",i[5]),T(t,"inverted",r=i[3]==="important"?"false":"true"),u(e,"class",n="callout-bar "+i[3])},m(l,a){p(l,e,a),g(e,t)},p(l,a){a&32&&T(t,"type",l[5]),a&8&&r!==(r=l[3]==="important"?"false":"true")&&T(t,"inverted",r),a&8&&n!==(n="callout-bar "+l[3])&&u(e,"class",n)},d(l){l&&L(e)}}}function fi(i){let e,t;return{c(){e=w("div"),t=G(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&&W(t,r[0])},d(r){r&&L(e)}}}function hi(i){let e,t,r,n;return{c(){e=w("div"),t=w("goa-icon-button"),T(t,"data-testid","modal-close-button"),T(t,"icon","close"),T(t,"variant","nocolor"),u(e,"class","modal-close")},m(l,a){p(l,e,a),g(e,t),r||(n=Y(t,"click",i[8]),r=!0)},p:k,d(l){l&&L(e),r=!1,n()}}}function Sn(i){let e;return{c(){e=w("goa-scrollable"),e.innerHTML="<slot></slot>",T(e,"direction","vertical"),T(e,"height","50")},m(t,r){p(t,e,r)},d(t){t&&L(e)}}}function Bn(i){let e,t,r=i[7]&&di(i);return{c(){r&&r.c(),e=be(),this.c=k},m(n,l){r&&r.m(n,l),p(n,e,l),t=!0},p(n,[l]){n[7]?r?(r.p(n,l),l&128&&K(r,1)):(r=di(n),r.c(),K(r,1),r.m(e.parentNode,e)):r&&(xe(),J(r,1,1,()=>{r=null}),Ee())},i(n){t||(K(r),t=!0)},o(n){J(r),t=!1},d(n){r&&r.d(n),n&&L(e)}}}function Dn(i,e,t){let r,n,l,a;const[o,s]=X("Callout variant",["emergency","important","information","success","event"]),[c,d]=X("Modal transition",["fast","slow","none"]);let{heading:f=""}=e,{closable:m="false"}=e,{open:_="false"}=e,{transition:b="none"}=e,{width:v=""}=e,{calloutvariant:y=null}=e;function x(z){!r||(z.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),z.stopPropagation())}return Z(()=>{s(y),d(b)}),i.$$set=z=>{"heading"in z&&t(0,f=z.heading),"closable"in z&&t(9,m=z.closable),"open"in z&&t(1,_=z.open),"transition"in z&&t(10,b=z.transition),"width"in z&&t(2,v=z.width),"calloutvariant"in z&&t(3,y=z.calloutvariant)},i.$$.update=()=>{i.$$.dirty&512&&t(4,r=U(m)),i.$$.dirty&2&&t(7,n=U(_)),i.$$.dirty&1024&&t(6,l=b==="none"?0:b==="slow"?400:200),i.$$.dirty&8&&t(5,a=y==="emergency"?"warning":y==="important"?"alert-circle":y==="information"?"information-circle":y==="success"?"checkmark-circle":y==="event"?"calendar":"")},[f,_,v,y,r,a,l,n,x,m,b]}class Nn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.modal{font-family:var(--font-family);position:fixed;inset:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.emergency{background-color:var(--goa-color-status-emergency)}.important{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info)}.event{background-color:var(--goa-color-status-info)}.success{background-color:var(--goa-color-status-success)}.callout-bar{flex:0 0 3rem;text-align:center;padding-top:2rem;border-radius:4px 0px 0px 4px}.content{flex:1 1 auto;width:100%;margin:2rem 2rem}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:90%;display:flex;margin:1rem;box-shadow:6px 6px 6px rgba(0, 0, 0, 0.16);border-radius:4px;max-height:90%;border:1px solid var(--color-gray-600)}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch);max-height:80%}}.modal-actions ::slotted(div){margin:1.5rem 0 0}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-close{position:absolute;top:2rem;right:2rem}.modal-title{font-size:var(--fs-xl);margin:0 0 1.5rem;margin-right:40px;flex:0 0 auto}.modal-content{line-height:1.75rem}</style>",q(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Dn,Bn,I,{heading:0,closable:9,open:1,transition:10,width:2,calloutvariant:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","closable","open","transition","width","calloutvariant"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get closable(){return this.$$.ctx[9]}set closable(e){this.$$set({closable:e}),h()}get open(){return this.$$.ctx[1]}set open(e){this.$$set({open:e}),h()}get transition(){return this.$$.ctx[10]}set transition(e){this.$$set({transition:e}),h()}get width(){return this.$$.ctx[2]}set width(e){this.$$set({width:e}),h()}get calloutvariant(){return this.$$.ctx[3]}set calloutvariant(e){this.$$set({calloutvariant:e}),h()}}customElements.define("goa-modal",Nn);function mi(i){let e,t,r,n,l,a,o,s,c,d,f,m,_,b,v;return{c(){e=w("div"),t=w("div"),r=w("goa-icon"),l=H(),a=w("div"),a.innerHTML="<slot></slot>",o=H(),s=w("div"),c=w("goa-icon-button"),T(r,"type",i[2]),T(r,"inverted",n=i[0]==="important"?"false":"true"),u(t,"class","icon"),u(a,"class","content"),T(c,"icon","close"),T(c,"variant","dark"),T(c,"inverted",d=i[0]==="important"?"false":"true"),u(s,"class","close"),u(e,"class",f="notification "+i[0])},m(y,x){p(y,e,x),g(e,t),g(t,r),g(e,l),g(e,a),g(e,o),g(e,s),g(s,c),_=!0,b||(v=Y(c,"click",i[3]),b=!0)},p(y,x){(!_||x&4)&&T(r,"type",y[2]),(!_||x&1&&n!==(n=y[0]==="important"?"false":"true"))&&T(r,"inverted",n),(!_||x&1&&d!==(d=y[0]==="important"?"false":"true"))&&T(c,"inverted",d),(!_||x&1&&f!==(f="notification "+y[0]))&&u(e,"class",f)},i(y){_||(ae(()=>{m||(m=Ke(e,Ce,{},!0)),m.run(1)}),_=!0)},o(y){m||(m=Ke(e,Ce,{},!1)),m.run(0),_=!1},d(y){y&&L(e),y&&m&&m.end(),b=!1,v()}}}function jn(i){let e,t,r=i[1]&&mi(i);return{c(){r&&r.c(),e=be(),this.c=k},m(n,l){r&&r.m(n,l),p(n,e,l),t=!0},p(n,[l]){n[1]?r?(r.p(n,l),l&2&&K(r,1)):(r=mi(n),r.c(),K(r,1),r.m(e.parentNode,e)):r&&(xe(),J(r,1,1,()=>{r=null}),Ee())},i(n){t||(K(r),t=!0)},o(n){J(r),t=!1},d(n){r&&r.d(n),n&&L(e)}}}function On(i,e,t){let r;const[n,l]=X("Notification type",["emergency","important","information","event"],!0);let{type:a=""}=e,o=!0;Z(()=>{l(a)});function s(){t(1,o=!1)}return i.$$set=c=>{"type"in c&&t(0,a=c.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=a==="emergency"?"warning":a==="important"?"alert-circle":a==="information"?"information-circle":a==="event"?"calendar":"")},[a,o,r,s]}class In extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;gap:1rem}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.important{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info);color:var(--color-white)}.event{background-color:var(--goa-color-status-success);color:var(--color-white)}.icon{flex:0 0 auto}.content{flex:1 1 auto}::slotted(a){color:unset !important;outline:unset !important}.close{flex:0 0 auto}</style>",q(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},On,jn,I,{type:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}}customElements.define("goa-notification",In);const Pn=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function Fn(i){return Pn.test(i)}function qn(i){let e,t,r;return{c(){e=w("div"),t=w("slot"),this.c=k,u(e,"class","page-content"),u(e,"style",r=`--max-width: ${i[0]}`)},m(n,l){p(n,e,l),g(e,t)},p(n,[l]){l&1&&r!==(r=`--max-width: ${n[0]}`)&&u(e,"style",r)},i:k,o:k,d(n){n&&L(e)}}}function Vn(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:l}=e;function a(o){return!!(["full"].includes(n)||Fn(o))}return Z(()=>{a(n)||console.error("Invalid PageBlock width"),t(0,l=r[n]||n)}),i.$$set=o=>{"width"in o&&t(1,n=o.width),"_width"in o&&t(0,l=o._width)},[l,n]}class Gn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1.75rem}</style>",q(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Vn,qn,I,{width:1,_width:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["width","_width"]}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),h()}get _width(){return this.$$.ctx[0]}set _width(e){this.$$set({_width:e}),h()}}customElements.define("goa-page-block",Gn);function gi(i,e,t){const r=i.slice();return r[22]=e[t],r}function bi(i,e){let t,r,n,l,a,o,s,c,d,f=(e[22].label||e[22].value)+"",m,_,b,v,y;function x(){return e[18](e[22])}return{key:i,first:null,c(){t=w("label"),r=w("input"),o=H(),s=w("div"),c=H(),d=w("span"),m=G(f),_=H(),u(r,"type","radio"),u(r,"name",e[1]),r.value=n=e[22].value,r.disabled=e[12],r.checked=l=e[22].value===e[0],u(r,"aria-label",a=e[4]||e[1]),u(s,"class","goa-radio-icon"),u(d,"class","goa-radio-label"),u(t,"data-testid",b="radio-option-"+e[22].value),u(t,"class","goa-radio"),O(t,"goa-radio--disabled",e[12]),O(t,"goa-radio--error",e[10]),this.first=t},m(z,B){p(z,t,B),g(t,r),g(t,o),g(t,s),g(t,c),g(t,d),g(d,m),g(t,_),v||(y=Y(r,"change",x),v=!0)},p(z,B){e=z,B&2&&u(r,"name",e[1]),B&512&&n!==(n=e[22].value)&&(r.value=n),B&4096&&(r.disabled=e[12]),B&513&&l!==(l=e[22].value===e[0])&&(r.checked=l),B&18&&a!==(a=e[4]||e[1])&&u(r,"aria-label",a),B&512&&f!==(f=(e[22].label||e[22].value)+"")&&W(m,f),B&512&&b!==(b="radio-option-"+e[22].value)&&u(t,"data-testid",b),B&4096&&O(t,"goa-radio--disabled",e[12]),B&1024&&O(t,"goa-radio--error",e[10])},d(z){z&&L(t),v=!1,y()}}}function Un(i){let e,t,r,n=[],l=new Map,a,o,s=i[9];const c=d=>d[22].value;for(let d=0;d<s.length;d+=1){let f=gi(i,s,d),m=c(f);l.set(m,n[d]=bi(m,f))}return{c(){e=w("div"),t=w("slot"),r=H();for(let d=0;d<n.length;d+=1)n[d].c();this.c=k,u(e,"style",a=V(i[5],i[6],i[7],i[8])),u(e,"class",o=`goa-radio-group--${i[2]}`),u(e,"data-testid",i[3])},m(d,f){p(d,e,f),g(e,t),g(e,r);for(let m=0;m<n.length;m+=1)n[m].m(e,null);i[19](e)},p(d,[f]){f&13843&&(s=d[9],n=kt(n,f,c,1,d,s,l,e,_t,bi,null,gi)),f&480&&a!==(a=V(d[5],d[6],d[7],d[8]))&&u(e,"style",a),f&4&&o!==(o=`goa-radio-group--${d[2]}`)&&u(e,"class",o),f&8&&u(e,"data-testid",d[3])},i:k,o:k,d(d){d&&L(e);for(let f=0;f<n.length;f+=1)n[f].d();i[19](null)}}}function Kn(i,e,t){let r;const[n,l]=X("Radio group orientation",["vertical","horizontal"]);let{name:a}=e,{value:o}=e,{orientation:s="vertical"}=e,{disabled:c="false"}=e,{error:d="false"}=e,{testid:f=""}=e,{arialabel:m=""}=e,{mt:_=null}=e,{mr:b=null}=e,{mb:v=null}=e,{ml:y=null}=e,x=[],z,B,R=!1,C;function E(M){M!==o&&(t(0,o=M),C.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:a,value:o}})))}mt(()=>{jt(a)}),Z(()=>{l(s)});const N=M=>E(M.value);function A(M){le[M?"unshift":"push"](()=>{C=M,t(11,C)})}return i.$$set=M=>{"name"in M&&t(1,a=M.name),"value"in M&&t(0,o=M.value),"orientation"in M&&t(2,s=M.orientation),"disabled"in M&&t(14,c=M.disabled),"error"in M&&t(15,d=M.error),"testid"in M&&t(3,f=M.testid),"arialabel"in M&&t(4,m=M.arialabel),"mt"in M&&t(5,_=M.mt),"mr"in M&&t(6,b=M.mr),"mb"in M&&t(7,v=M.mb),"ml"in M&&t(8,y=M.ml)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,r=U(c)),i.$$.dirty&32768&&t(10,z=U(d)),i.$$.dirty&197122&&a&&!R&&(t(17,R=!0),t(16,B=Xe(a)),B.subscribe(M=>{!M||t(9,x=[...x,M])}))},[o,a,s,f,m,_,b,v,y,x,z,C,r,E,c,d,B,R,N,A]}class Wn extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:inline-block}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;display:inline-block;box-sizing:border-box;display:flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0;margin:0;opacity:0}input[type="radio"]:hover~.goa-radio-icon{border-color:var(--goa-color-interactive--hover)}input[type="radio"]:focus~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio-label{padding:0.5rem;font-weight:var(--fw-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out;flex:0 0 auto}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio--disabled{opacity:0.4}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid
|
|
85
|
+
`)&&u(e,"style",x)},i:k,o:k,d(M){M&&L(e),R&&R.d(),C&&C.d(),i[32](null),E&&E.d(),j&&j.d(),A&&A.d(),z=!1,le(B)}}}function Mn(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function Tn(i,e,t){let r,n,l,a,o;const[s,c]=Z("Input type",["text","number","password","email","date","datetime-local","month","range","search","tel","time","url","week"]),[d,f]=Z("Input auto capitalize",["on","off","none","sentences","words","characters"]);let{type:m="text"}=e,{name:w=""}=e,{value:b=""}=e,{autocapitalize:v="off"}=e,{placeholder:_=""}=e,{leadingicon:x=null}=e,{trailingicon:z=null}=e,{variant:B="goa"}=e,{disabled:R="false"}=e,{handletrailingiconclick:C="false"}=e,{focused:E="false"}=e,{readonly:j="false"}=e,{error:A="false"}=e,{testid:M=""}=e,{width:O="30ch"}=e,{arialabel:we=null}=e,{min:ee=null}=e,{max:re=null}=e,{step:te=null}=e,{prefix:$=""}=e,{suffix:He=""}=e,{mt:Ze=null}=e,{mr:Ye=null}=e,{mb:Je=null}=e,{ml:_e=null}=e,ie;function Se(D){const Qe=D.target;D.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:w,value:Qe.value}})),t(0,b=Qe.value)}X(()=>{c(m),f(v),($!=""||He!="")&&console.warn("GoAInput [prefix] and [suffix] properties are deprecated. Instead use leadingContent and trailingContent.")});function ke(D){ne[D?"unshift":"push"](()=>{ie=D,t(20,ie)})}return i.$$set=D=>{"type"in D&&t(1,m=D.type),"name"in D&&t(2,w=D.name),"value"in D&&t(0,b=D.value),"autocapitalize"in D&&t(3,v=D.autocapitalize),"placeholder"in D&&t(4,_=D.placeholder),"leadingicon"in D&&t(5,x=D.leadingicon),"trailingicon"in D&&t(6,z=D.trailingicon),"variant"in D&&t(7,B=D.variant),"disabled"in D&&t(26,R=D.disabled),"handletrailingiconclick"in D&&t(27,C=D.handletrailingiconclick),"focused"in D&&t(28,E=D.focused),"readonly"in D&&t(29,j=D.readonly),"error"in D&&t(30,A=D.error),"testid"in D&&t(8,M=D.testid),"width"in D&&t(9,O=D.width),"arialabel"in D&&t(10,we=D.arialabel),"min"in D&&t(11,ee=D.min),"max"in D&&t(12,re=D.max),"step"in D&&t(13,te=D.step),"prefix"in D&&t(14,$=D.prefix),"suffix"in D&&t(15,He=D.suffix),"mt"in D&&t(16,Ze=D.mt),"mr"in D&&t(17,Ye=D.mr),"mb"in D&&t(18,Je=D.mb),"ml"in D&&t(19,_e=D.ml)},i.$$.update=()=>{i.$$.dirty[0]&134217728&&t(24,r=U(C)),i.$$.dirty[0]&268435456&&t(31,n=U(E)),i.$$.dirty[0]&536870912&&t(23,l=U(j)),i.$$.dirty[0]&1073741824&&t(22,a=U(A)),i.$$.dirty[0]&67108864&&t(21,o=U(R)),i.$$.dirty[0]&1048576|i.$$.dirty[1]&1&&n&&ie&&setTimeout(()=>ie.focus(),1),i.$$.dirty[0]&1048578&&ie&&m==="search"&&ie.addEventListener("search",D=>{Se(D)})},[b,m,w,v,_,x,z,B,M,O,we,ee,re,te,$,He,Ze,Ye,Je,_e,ie,o,a,l,r,Se,R,C,E,j,A,n,ke]}class Ln extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box}.container{position:relative;width:100%;display:inline-block}@media(min-width: 640px){.container{width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:var(--input-border-radius);display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%}.goa-input:hover{border-color:var(--goa-color-interactive--hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text);font-size:var(--input-font-size);padding:var(--input-padding);line-height:calc(40px - calc(var(--input-padding) * 2));background-color:transparent;width:0;flex:1 1 auto}input[type="text"],input[type="date"],input[type="time"],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,.leading-content ::slotted(div),.trailing-content ::slotted(div){background-color:var(--color-gray-100);padding:0 0.75rem;display:flex;align-items:center}.leading-content ::slotted(div),.trailing-content ::slotted(div){padding:0.5rem 0.75rem}.prefix,.leading-content ::slotted(div){border-top-left-radius:var(--input-border-radius);border-bottom-left-radius:var(--input-border-radius);border-right:1px solid var(--color-gray-600)}.suffix,.trailing-content ::slotted(div){border-top-right-radius:var(--input-border-radius);border-bottom-right-radius:var(--input-border-radius);border-left:1px solid var(--color-gray-600)}.goa-input--disabled .prefix,.goa-input--disabled .leading-content ::slotted(div){border-right:1px solid var(--color-gray-200)}.goa-input--disabled .suffix,.goa-input--disabled .trailing-content ::slotted(div){border-left:1px solid var(--color-gray-200)}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}input[type="search" i]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
|
|
86
|
+
center center no-repeat}</style>`,F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Tn,zn,I,{type:1,name:2,value:0,autocapitalize:3,placeholder:4,leadingicon:5,trailingicon:6,variant:7,disabled:26,handletrailingiconclick:27,focused:28,readonly:29,error:30,testid:8,width:9,arialabel:10,min:11,max:12,step:13,prefix:14,suffix:15,mt:16,mr:17,mb:18,ml:19},null,[-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","name","value","autocapitalize","placeholder","leadingicon","trailingicon","variant","disabled","handletrailingiconclick","focused","readonly","error","testid","width","arialabel","min","max","step","prefix","suffix","mt","mr","mb","ml"]}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),h()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get autocapitalize(){return this.$$.ctx[3]}set autocapitalize(e){this.$$set({autocapitalize:e}),h()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),h()}get leadingicon(){return this.$$.ctx[5]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get trailingicon(){return this.$$.ctx[6]}set trailingicon(e){this.$$set({trailingicon:e}),h()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),h()}get disabled(){return this.$$.ctx[26]}set disabled(e){this.$$set({disabled:e}),h()}get handletrailingiconclick(){return this.$$.ctx[27]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),h()}get focused(){return this.$$.ctx[28]}set focused(e){this.$$set({focused:e}),h()}get readonly(){return this.$$.ctx[29]}set readonly(e){this.$$set({readonly:e}),h()}get error(){return this.$$.ctx[30]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[8]}set testid(e){this.$$set({testid:e}),h()}get width(){return this.$$.ctx[9]}set width(e){this.$$set({width:e}),h()}get arialabel(){return this.$$.ctx[10]}set arialabel(e){this.$$set({arialabel:e}),h()}get min(){return this.$$.ctx[11]}set min(e){this.$$set({min:e}),h()}get max(){return this.$$.ctx[12]}set max(e){this.$$set({max:e}),h()}get step(){return this.$$.ctx[13]}set step(e){this.$$set({step:e}),h()}get prefix(){return this.$$.ctx[14]}set prefix(e){this.$$set({prefix:e}),h()}get suffix(){return this.$$.ctx[15]}set suffix(e){this.$$set({suffix:e}),h()}get mt(){return this.$$.ctx[16]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[17]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[18]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[19]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-input",Ln);function li(i){let e,t,r;return{c(){e=y("div"),e.innerHTML='<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13 26C20.1797 26 26 20.1797 26 13C26 5.8203 20.1797 0 13 0C5.8203 0 0 5.8203 0 13C0 20.1797 5.8203 26 13 26Z" fill="#00AAD2"></path><path d="M16.9764 17.7174C15.942 17.3358 14.9325 16.8896 13.9539 16.3817C14.8446 16.0551 15.7131 15.6708 16.5539 15.2312C16.6398 16.0688 16.7831 16.8995 16.9829 17.7174H16.9764ZM22.5339 7.42143C22.1016 7.36618 22.3259 7.56931 22.2089 8.13968C21.863 9.3075 21.2806 10.3917 20.4978 11.3248C19.7151 12.258 18.7487 13.0201 17.6589 13.5639C17.3972 10.9368 17.5336 8.28529 18.0635 5.69893C18.5104 4.07393 19.0385 4.3778 18.3885 4.03818C17.6946 3.68068 16.9471 4.15356 16.3443 5.35931C14.4174 9.81946 11.7695 13.932 8.50689 17.5322C7.96404 18.2422 7.16875 18.7161 6.28592 18.8556C5.40309 18.9951 4.50044 18.7894 3.76514 18.2813C3.43039 17.9986 3.30689 18.4357 3.72289 18.8826C4.47366 19.5882 5.47211 19.9699 6.50216 19.945C7.53222 19.92 8.51102 19.4905 9.22677 18.7493C12.0405 15.3939 14.429 11.7038 16.3378 7.76268C16.1901 9.91268 16.2243 12.0713 16.4401 14.2156C15.4158 14.7181 14.3475 15.1256 13.2486 15.4327C12.6181 15.5952 12.2281 15.8552 12.2168 16.1461C12.2054 16.4711 12.6279 16.7359 13.2405 17.0252C14.3293 17.5419 17.5191 19.0499 18.3056 19.5066C18.9784 19.8966 19.3066 19.5927 19.5065 19.1702C19.7665 18.6209 19.0531 18.3041 18.369 18.0961C18.0632 16.9353 17.8555 15.7508 17.7483 14.5552C19.4404 13.5939 20.8636 12.2226 21.8871 10.5674C22.1817 9.98406 22.4001 9.36529 22.5371 8.7263C22.6338 8.3321 22.6602 7.92393 22.6151 7.52056C22.6151 7.52056 22.6038 7.43281 22.5371 7.42468" fill="white"></path></svg>',t=H(),r=y("div"),r.innerHTML='An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>',u(e,"class","service-type service-type--live"),u(r,"data-testid","type"),u(r,"class","site-text")},m(n,l){p(n,e,l),p(n,t,l),p(n,r,l)},d(n){n&&L(e),n&&L(t),n&&L(r)}}}function ai(i){let e,t=ci(i[0])+"",r,n,l,a,o,s,c,d=i[2]&&oi(i);return{c(){e=y("div"),r=V(t),l=H(),a=y("div"),o=V("This is a new "),s=y("a"),s.textContent="Alberta Government",c=V(` service
|
|
87
|
+
`),d&&d.c(),u(e,"data-testid","type"),u(e,"class",n="service-type service-type--"+i[0].toLowerCase()),u(s,"href","https://www.alberta.ca/index.aspx"),u(a,"data-testid","site-text"),u(a,"class","site-text")},m(f,m){p(f,e,m),g(e,r),p(f,l,m),p(f,a,m),g(a,o),g(a,s),g(a,c),d&&d.m(a,null)},p(f,m){m&1&&t!==(t=ci(f[0])+"")&&W(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=oi(f),d.c(),d.m(a,null)):d&&(d.d(1),d=null)},d(f){f&&L(e),f&&L(l),f&&L(a),d&&d.d()}}}function oi(i){let e,t,r,n;return{c(){e=y("span"),t=V("\u2014 help us improve it by giving "),r=y("a"),n=V("feedback"),u(r,"href",i[2]),u(e,"data-testid","feedback")},m(l,a){p(l,e,a),g(e,t),g(e,r),g(r,n)},p(l,a){a&4&&u(r,"href",l[2])},d(l){l&&L(e)}}}function si(i){let e,t;return{c(){e=y("div"),t=V(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&&W(t,r[1])},d(r){r&&L(e)}}}function An(i){let e,t,r=["alpha","beta"].includes(i[0]),n,l,a,o=i[0]==="live"&&li(),s=r&&ai(i),c=i[1]&&si(i);return{c(){e=y("header"),o&&o.c(),t=H(),s&&s.c(),n=H(),l=y("div"),a=H(),c&&c.c(),this.c=k,u(l,"class","spacer"),u(e,"class","goa-official-site-header")},m(d,f){p(d,e,f),o&&o.m(e,null),g(e,t),s&&s.m(e,null),g(e,n),g(e,l),g(e,a),c&&c.m(e,null)},p(d,[f]){d[0]==="live"?o||(o=li(),o.c(),o.m(e,t)):o&&(o.d(1),o=null),f&1&&(r=["alpha","beta"].includes(d[0])),r?s?s.p(d,f):(s=ai(d),s.c(),s.m(e,n)):s&&(s.d(1),s=null),d[1]?c?c.p(d,f):(c=si(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:k,o:k,d(d){d&&L(e),o&&o.d(),s&&s.d(),c&&c.d()}}}function ci(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function Rn(i,e,t){const[r,n]=Z("Microsite header type",["live","alpha","beta"],!0);let{type:l}=e,{version:a=""}=e,{feedbackurl:o=""}=e;return X(()=>{n(l)}),i.$$set=s=>{"type"in s&&t(0,l=s.type),"version"in s&&t(1,a=s.version),"feedbackurl"in s&&t(2,o=s.feedbackurl)},[l,a,o]}class Hn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}a{color:var(--goa-color-interactive);cursor:pointer}a:hover{color:var(--goa-color-interactive--hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive--hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--fs-sm);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;padding:0.25rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-type{font-weight:bold;padding:0.125rem 0.25rem;display:flex;margin-right:1rem;line-height:initial}.service-type--alpha{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.service-type--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-type--live{padding:0}.site-text{color:var(--goa-color-text);line-height:1.25rem}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Rn,An,I,{type:0,version:1,feedbackurl:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","version","feedbackurl"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),h()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),h()}}customElements.define("goa-microsite-header",Hn);function di(i){let e,t,r,n,l,a,o,s,c,d,f,m,w,b,v,_,x,z,B,R,C,E,j,A=i[3]!==null&&ui(i),M=i[0]&&fi(i),O=i[4]&&hi(i);function we(te,$){return Sn}let re=we()(i);return{c(){e=y("goa-focus-trap"),t=y("div"),r=y("div"),n=H(),l=y("div"),A&&A.c(),a=H(),o=y("div"),M&&M.c(),s=H(),O&&O.c(),c=H(),d=y("div"),re.c(),f=H(),m=y("slot"),w=H(),b=y("div"),b.innerHTML='<slot name="actions"></slot>',u(r,"data-testid","modal-overlay"),u(r,"class","modal-overlay"),u(d,"data-testid","modal-content"),u(d,"class","modal-content"),u(b,"class","modal-actions"),u(b,"data-testid","modal-actions"),u(o,"class","content"),u(l,"class","modal-pane"),u(t,"data-testid","modal"),u(t,"class","modal"),u(t,"style",x=""+((i[2]&&`--width: ${i[2]};`)+";")),T(e,"active",i[1])},m(te,$){p(te,e,$),g(e,t),g(t,r),g(t,n),g(t,l),A&&A.m(l,null),g(l,a),g(l,o),M&&M.m(o,null),g(o,s),O&&O.m(o,null),g(o,c),g(o,d),re.m(d,null),g(d,f),g(d,m),g(o,w),g(o,b),C=!0,E||(j=[Y(r,"click",i[8]),ct(z=Ht.call(null,t,{enable:i[7]}))],E=!0)},p(te,$){i=te,i[3]!==null?A?A.p(i,$):(A=ui(i),A.c(),A.m(l,a)):A&&(A.d(1),A=null),i[0]?M?M.p(i,$):(M=fi(i),M.c(),M.m(o,s)):M&&(M.d(1),M=null),i[4]?O?O.p(i,$):(O=hi(i),O.c(),O.m(o,c)):O&&(O.d(1),O=null),(!C||$&4&&x!==(x=""+((i[2]&&`--width: ${i[2]};`)+";")))&&u(t,"style",x),z&&de(z.update)&&$&128&&z.update.call(null,{enable:i[7]}),(!C||$&2)&&T(e,"active",i[1])},i(te){C||(ae(()=>{_&&_.end(1),v=yt(l,Rt,{duration:i[6],y:200}),v.start()}),ae(()=>{R&&R.end(1),B=yt(t,Ce,{duration:i[6]}),B.start()}),C=!0)},o(te){v&&v.invalidate(),_=wt(l,Rt,{delay:i[6],duration:i[6],y:-100}),B&&B.invalidate(),R=wt(t,Ce,{delay:i[6],duration:i[6]}),C=!1},d(te){te&&L(e),A&&A.d(),M&&M.d(),O&&O.d(),re.d(),te&&_&&_.end(),te&&R&&R.end(),E=!1,le(j)}}}function ui(i){let e,t,r,n;return{c(){e=y("div"),t=y("goa-icon"),T(t,"type",i[5]),T(t,"inverted",r=i[3]==="important"?"false":"true"),u(e,"class",n="callout-bar "+i[3])},m(l,a){p(l,e,a),g(e,t)},p(l,a){a&32&&T(t,"type",l[5]),a&8&&r!==(r=l[3]==="important"?"false":"true")&&T(t,"inverted",r),a&8&&n!==(n="callout-bar "+l[3])&&u(e,"class",n)},d(l){l&&L(e)}}}function fi(i){let e,t;return{c(){e=y("div"),t=V(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&&W(t,r[0])},d(r){r&&L(e)}}}function hi(i){let e,t,r,n;return{c(){e=y("div"),t=y("goa-icon-button"),T(t,"data-testid","modal-close-button"),T(t,"icon","close"),T(t,"variant","nocolor"),u(e,"class","modal-close")},m(l,a){p(l,e,a),g(e,t),r||(n=Y(t,"click",i[8]),r=!0)},p:k,d(l){l&&L(e),r=!1,n()}}}function Sn(i){let e;return{c(){e=y("goa-scrollable"),e.innerHTML="<slot></slot>",T(e,"direction","vertical"),T(e,"height","50")},m(t,r){p(t,e,r)},d(t){t&&L(e)}}}function Bn(i){let e,t,r=i[7]&&di(i);return{c(){r&&r.c(),e=be(),this.c=k},m(n,l){r&&r.m(n,l),p(n,e,l),t=!0},p(n,[l]){n[7]?r?(r.p(n,l),l&128&&K(r,1)):(r=di(n),r.c(),K(r,1),r.m(e.parentNode,e)):r&&(xe(),J(r,1,1,()=>{r=null}),Ee())},i(n){t||(K(r),t=!0)},o(n){J(r),t=!1},d(n){r&&r.d(n),n&&L(e)}}}function Dn(i,e,t){let r,n,l,a;const[o,s]=Z("Callout variant",["emergency","important","information","success","event"]),[c,d]=Z("Modal transition",["fast","slow","none"]);let{heading:f=""}=e,{closable:m="false"}=e,{open:w="false"}=e,{transition:b="none"}=e,{width:v=""}=e,{calloutvariant:_=null}=e;function x(z){!r||(z.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),z.stopPropagation())}return X(()=>{s(_),d(b)}),i.$$set=z=>{"heading"in z&&t(0,f=z.heading),"closable"in z&&t(9,m=z.closable),"open"in z&&t(1,w=z.open),"transition"in z&&t(10,b=z.transition),"width"in z&&t(2,v=z.width),"calloutvariant"in z&&t(3,_=z.calloutvariant)},i.$$.update=()=>{i.$$.dirty&512&&t(4,r=U(m)),i.$$.dirty&2&&t(7,n=U(w)),i.$$.dirty&1024&&t(6,l=b==="none"?0:b==="slow"?400:200),i.$$.dirty&8&&t(5,a=_==="emergency"?"warning":_==="important"?"alert-circle":_==="information"?"information-circle":_==="success"?"checkmark-circle":_==="event"?"calendar":"")},[f,w,v,_,r,a,l,n,x,m,b]}class Nn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.modal{font-family:var(--font-family);position:fixed;inset:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.emergency{background-color:var(--goa-color-status-emergency)}.important{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info)}.event{background-color:var(--goa-color-status-info)}.success{background-color:var(--goa-color-status-success)}.callout-bar{flex:0 0 3rem;text-align:center;padding-top:2rem;border-radius:4px 0px 0px 4px}.content{flex:1 1 auto;width:100%;margin:2rem 2rem}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:90%;display:flex;margin:1rem;box-shadow:6px 6px 6px rgba(0, 0, 0, 0.16);border-radius:4px;max-height:90%;border:1px solid var(--color-gray-600)}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch);max-height:80%}}.modal-actions ::slotted(div){margin:1.5rem 0 0}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-close{position:absolute;top:2rem;right:2rem}.modal-title{font-size:var(--fs-xl);margin:0 0 1.5rem;margin-right:40px;flex:0 0 auto}.modal-content{line-height:1.75rem}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Dn,Bn,I,{heading:0,closable:9,open:1,transition:10,width:2,calloutvariant:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","closable","open","transition","width","calloutvariant"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get closable(){return this.$$.ctx[9]}set closable(e){this.$$set({closable:e}),h()}get open(){return this.$$.ctx[1]}set open(e){this.$$set({open:e}),h()}get transition(){return this.$$.ctx[10]}set transition(e){this.$$set({transition:e}),h()}get width(){return this.$$.ctx[2]}set width(e){this.$$set({width:e}),h()}get calloutvariant(){return this.$$.ctx[3]}set calloutvariant(e){this.$$set({calloutvariant:e}),h()}}customElements.define("goa-modal",Nn);function mi(i){let e,t,r,n,l,a,o,s,c,d,f,m,w,b,v;return{c(){e=y("div"),t=y("div"),r=y("goa-icon"),l=H(),a=y("div"),a.innerHTML="<slot></slot>",o=H(),s=y("div"),c=y("goa-icon-button"),T(r,"type",i[2]),T(r,"inverted",n=i[0]==="important"?"false":"true"),u(t,"class","icon"),u(a,"class","content"),T(c,"icon","close"),T(c,"variant","dark"),T(c,"inverted",d=i[0]==="important"?"false":"true"),u(s,"class","close"),u(e,"class",f="notification "+i[0])},m(_,x){p(_,e,x),g(e,t),g(t,r),g(e,l),g(e,a),g(e,o),g(e,s),g(s,c),w=!0,b||(v=Y(c,"click",i[3]),b=!0)},p(_,x){(!w||x&4)&&T(r,"type",_[2]),(!w||x&1&&n!==(n=_[0]==="important"?"false":"true"))&&T(r,"inverted",n),(!w||x&1&&d!==(d=_[0]==="important"?"false":"true"))&&T(c,"inverted",d),(!w||x&1&&f!==(f="notification "+_[0]))&&u(e,"class",f)},i(_){w||(ae(()=>{m||(m=Ke(e,Ce,{},!0)),m.run(1)}),w=!0)},o(_){m||(m=Ke(e,Ce,{},!1)),m.run(0),w=!1},d(_){_&&L(e),_&&m&&m.end(),b=!1,v()}}}function jn(i){let e,t,r=i[1]&&mi(i);return{c(){r&&r.c(),e=be(),this.c=k},m(n,l){r&&r.m(n,l),p(n,e,l),t=!0},p(n,[l]){n[1]?r?(r.p(n,l),l&2&&K(r,1)):(r=mi(n),r.c(),K(r,1),r.m(e.parentNode,e)):r&&(xe(),J(r,1,1,()=>{r=null}),Ee())},i(n){t||(K(r),t=!0)},o(n){J(r),t=!1},d(n){r&&r.d(n),n&&L(e)}}}function On(i,e,t){let r;const[n,l]=Z("Notification type",["emergency","important","information","event"],!0);let{type:a=""}=e,o=!0;X(()=>{l(a)});function s(){t(1,o=!1)}return i.$$set=c=>{"type"in c&&t(0,a=c.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=a==="emergency"?"warning":a==="important"?"alert-circle":a==="information"?"information-circle":a==="event"?"calendar":"")},[a,o,r,s]}class In extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;gap:1rem}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.important{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info);color:var(--color-white)}.event{background-color:var(--goa-color-status-success);color:var(--color-white)}.icon{flex:0 0 auto}.content{flex:1 1 auto}::slotted(a){color:unset !important;outline:unset !important}.close{flex:0 0 auto}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},On,jn,I,{type:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}}customElements.define("goa-notification",In);const Pn=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function qn(i){return Pn.test(i)}function Fn(i){let e,t,r;return{c(){e=y("div"),t=y("slot"),this.c=k,u(e,"class","page-content"),u(e,"style",r=`--max-width: ${i[0]}`)},m(n,l){p(n,e,l),g(e,t)},p(n,[l]){l&1&&r!==(r=`--max-width: ${n[0]}`)&&u(e,"style",r)},i:k,o:k,d(n){n&&L(e)}}}function Gn(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:l}=e;function a(o){return!!(["full"].includes(n)||qn(o))}return X(()=>{a(n)||console.error("Invalid PageBlock width"),t(0,l=r[n]||n)}),i.$$set=o=>{"width"in o&&t(1,n=o.width),"_width"in o&&t(0,l=o._width)},[l,n]}class Vn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1.75rem}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Gn,Fn,I,{width:1,_width:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["width","_width"]}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),h()}get _width(){return this.$$.ctx[0]}set _width(e){this.$$set({_width:e}),h()}}customElements.define("goa-page-block",Vn);function gi(i,e,t){const r=i.slice();return r[22]=e[t],r}function bi(i,e){let t,r,n,l,a,o,s,c,d,f=(e[22].label||e[22].value)+"",m,w,b,v,_;function x(){return e[18](e[22])}return{key:i,first:null,c(){t=y("label"),r=y("input"),o=H(),s=y("div"),c=H(),d=y("span"),m=V(f),w=H(),u(r,"type","radio"),u(r,"name",e[1]),r.value=n=e[22].value,r.disabled=e[12],r.checked=l=e[22].value===e[0],u(r,"aria-label",a=e[4]||e[1]),u(s,"class","goa-radio-icon"),u(d,"class","goa-radio-label"),u(t,"data-testid",b="radio-option-"+e[22].value),u(t,"class","goa-radio"),N(t,"goa-radio--disabled",e[12]),N(t,"goa-radio--error",e[10]),this.first=t},m(z,B){p(z,t,B),g(t,r),g(t,o),g(t,s),g(t,c),g(t,d),g(d,m),g(t,w),v||(_=Y(r,"change",x),v=!0)},p(z,B){e=z,B&2&&u(r,"name",e[1]),B&512&&n!==(n=e[22].value)&&(r.value=n),B&4096&&(r.disabled=e[12]),B&513&&l!==(l=e[22].value===e[0])&&(r.checked=l),B&18&&a!==(a=e[4]||e[1])&&u(r,"aria-label",a),B&512&&f!==(f=(e[22].label||e[22].value)+"")&&W(m,f),B&512&&b!==(b="radio-option-"+e[22].value)&&u(t,"data-testid",b),B&4096&&N(t,"goa-radio--disabled",e[12]),B&1024&&N(t,"goa-radio--error",e[10])},d(z){z&&L(t),v=!1,_()}}}function Un(i){let e,t,r,n=[],l=new Map,a,o,s=i[9];const c=d=>d[22].value;for(let d=0;d<s.length;d+=1){let f=gi(i,s,d),m=c(f);l.set(m,n[d]=bi(m,f))}return{c(){e=y("div"),t=y("slot"),r=H();for(let d=0;d<n.length;d+=1)n[d].c();this.c=k,u(e,"style",a=G(i[5],i[6],i[7],i[8])),u(e,"class",o=`goa-radio-group--${i[2]}`),u(e,"data-testid",i[3])},m(d,f){p(d,e,f),g(e,t),g(e,r);for(let m=0;m<n.length;m+=1)n[m].m(e,null);i[19](e)},p(d,[f]){f&13843&&(s=d[9],n=kt(n,f,c,1,d,s,l,e,_t,bi,null,gi)),f&480&&a!==(a=G(d[5],d[6],d[7],d[8]))&&u(e,"style",a),f&4&&o!==(o=`goa-radio-group--${d[2]}`)&&u(e,"class",o),f&8&&u(e,"data-testid",d[3])},i:k,o:k,d(d){d&&L(e);for(let f=0;f<n.length;f+=1)n[f].d();i[19](null)}}}function Kn(i,e,t){let r;const[n,l]=Z("Radio group orientation",["vertical","horizontal"]);let{name:a}=e,{value:o}=e,{orientation:s="vertical"}=e,{disabled:c="false"}=e,{error:d="false"}=e,{testid:f=""}=e,{arialabel:m=""}=e,{mt:w=null}=e,{mr:b=null}=e,{mb:v=null}=e,{ml:_=null}=e,x=[],z,B,R=!1,C;function E(M){M!==o&&(t(0,o=M),C.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:a,value:o}})))}mt(()=>{jt(a)}),X(()=>{l(s)});const j=M=>E(M.value);function A(M){ne[M?"unshift":"push"](()=>{C=M,t(11,C)})}return i.$$set=M=>{"name"in M&&t(1,a=M.name),"value"in M&&t(0,o=M.value),"orientation"in M&&t(2,s=M.orientation),"disabled"in M&&t(14,c=M.disabled),"error"in M&&t(15,d=M.error),"testid"in M&&t(3,f=M.testid),"arialabel"in M&&t(4,m=M.arialabel),"mt"in M&&t(5,w=M.mt),"mr"in M&&t(6,b=M.mr),"mb"in M&&t(7,v=M.mb),"ml"in M&&t(8,_=M.ml)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,r=U(c)),i.$$.dirty&32768&&t(10,z=U(d)),i.$$.dirty&197122&&a&&!R&&(t(17,R=!0),t(16,B=Xe(a)),B.subscribe(M=>{!M||t(9,x=[...x,M])}))},[o,a,s,f,m,w,b,v,_,x,z,C,r,E,c,d,B,R,j,A]}class Wn extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:inline-block}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;display:inline-block;box-sizing:border-box;display:flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0;margin:0;opacity:0}input[type="radio"]:hover~.goa-radio-icon{border-color:var(--goa-color-interactive--hover)}input[type="radio"]:focus~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio-label{padding:0.5rem;font-weight:var(--fw-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out;flex:0 0 auto}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio--disabled{opacity:0.4}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid
|
|
88
88
|
var(--goa-color-interactive--active)}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid
|
|
89
|
-
var(--goa-color-interactive--active)}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-color-status-emergency)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-color-status-emergency)}</style>`,
|
|
89
|
+
var(--goa-color-interactive--active)}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-color-status-emergency)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-color-status-emergency)}</style>`,F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Kn,Un,I,{name:1,value:0,orientation:2,disabled:14,error:15,testid:3,arialabel:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","orientation","disabled","error","testid","arialabel","mt","mr","mb","ml"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get orientation(){return this.$$.ctx[2]}set orientation(e){this.$$set({orientation:e}),h()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[15]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}get arialabel(){return this.$$.ctx[4]}set arialabel(e){this.$$set({arialabel:e}),h()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-radio-group",Wn);function Xn(i){return{c(){this.c=k},m:k,p:k,i:k,o:k,d:k}}function Zn(i,e,t){let{value:r}=e,{label:n}=e,{name:l}=e,a,o=!1;return i.$$set=s=>{"value"in s&&t(0,r=s.value),"label"in s&&t(1,n=s.label),"name"in s&&t(2,l=s.name)},i.$$.update=()=>{i.$$.dirty&31&&(async()=>{await ue(),o||(t(4,o=!0),t(3,a=Xe(l)),a.notify({type:"bind",value:r,label:n}))})()},[r,n,l,a,o]}class Yn extends P{constructor(e){super();F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Zn,Xn,I,{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",Yn);function Jn(i){let e,t,r;return{c(){e=y("div"),t=y("slot"),this.c=k,u(e,"class","goa-scrollable"),u(e,"style",r=`
|
|
90
90
|
--max-height: ${i[3]};
|
|
91
91
|
overflow-y: ${i[0]==="vertical"?"auto":"hidden"};
|
|
92
92
|
overflow-x: ${i[0]==="horizontal"?"auto":"hidden"};
|
|
@@ -98,34 +98,42 @@
|
|
|
98
98
|
overflow-x: ${n[0]==="horizontal"?"auto":"hidden"};
|
|
99
99
|
margin: ${n[2]}rem 0;
|
|
100
100
|
padding: 0 ${n[1]}rem;
|
|
101
|
-
`)&&u(e,"style",r)},i:k,o:k,d(n){n&&L(e)}}}function Qn(i,e,t){let{direction:r="vertical"}=e,{hpadding:n=0}=e,{vpadding:l=0}=e,{height:a=0}=e;return i.$$set=o=>{"direction"in o&&t(0,r=o.direction),"hpadding"in o&&t(1,n=o.hpadding),"vpadding"in o&&t(2,l=o.vpadding),"height"in o&&t(3,a=o.height)},[r,n,l,a]}class $n extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.goa-scrollable{scroll-behavior:smooth;max-height:calc(100vh * var(--max-height, 100) / 100)}.goa-scrollable::-webkit-scrollbar{width:6px}.goa-scrollable::-webkit-scrollbar-track{background:#f1f1f1}.goa-scrollable::-webkit-scrollbar-thumb{background:#888}.goa-scrollable::-webkit-scrollbar-thumb:hover{background:#555}</style>",q(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Qn,Jn,I,{direction:0,hpadding:1,vpadding:2,height:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["direction","hpadding","vpadding","height"]}get direction(){return this.$$.ctx[0]}set direction(e){this.$$set({direction:e}),h()}get hpadding(){return this.$$.ctx[1]}set hpadding(e){this.$$set({hpadding:e}),h()}get vpadding(){return this.$$.ctx[2]}set vpadding(e){this.$$set({vpadding:e}),h()}get height(){return this.$$.ctx[3]}set height(e){this.$$set({height:e}),h()}}customElements.define("goa-scrollable",$n);function vi(i,e,t){const r=i.slice();return r[13]=e[t],r}function el(i){let e,t;return{c(){e=w("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:k,o:k,d(r){r&&L(e)}}}function tl(i){let e,t,r=Array(i[2]),n=[];for(let a=0;a<r.length;a+=1)n[a]=wi(vi(i,r,a));const l=a=>J(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;a<n.length;a+=1)n[a].c();e=be()},m(a,o){for(let s=0;s<n.length;s+=1)n[s].m(a,o);p(a,e,o),t=!0},p(a,o){if(o&6){r=Array(a[2]);let s;for(s=0;s<r.length;s+=1){const c=vi(a,r,s);n[s]?(n[s].p(c,o),K(n[s],1)):(n[s]=wi(c),n[s].c(),K(n[s],1),n[s].m(e.parentNode,e))}for(xe(),s=r.length;s<n.length;s+=1)l(s);Ee()}},i(a){if(!t){for(let o=0;o<r.length;o+=1)K(n[o]);t=!0}},o(a){n=n.filter(Boolean);for(let o=0;o<n.length;o+=1)J(n[o]);t=!1},d(a){Oe(n,a),a&&L(e)}}}function il(i){let e,t,r,n,l,a,o,s,c,d;return r=new me({props:{type:"avatar",size:i[1]}}),a=new me({props:{type:"title",size:i[1]}}),s=new me({props:{type:"text-small",size:i[1]}}),{c(){e=w("div"),t=w("div"),we(r.$$.fragment),n=H(),l=w("div"),we(a.$$.fragment),o=H(),we(s.$$.fragment),u(t,"class","profile-avatar"),u(l,"class","profile-name"),u(e,"class",c="profile profile-"+i[1])},m(f,m){p(f,e,m),g(e,t),fe(r,t,null),g(e,n),g(e,l),fe(a,l,null),g(l,o),fe(s,l,null),d=!0},p(f,m){const _={};m&2&&(_.size=f[1]),r.$set(_);const b={};m&2&&(b.size=f[1]),a.$set(b);const v={};m&2&&(v.size=f[1]),s.$set(v),(!d||m&2&&c!==(c="profile profile-"+f[1]))&&u(e,"class",c)},i(f){d||(K(r.$$.fragment,f),K(a.$$.fragment,f),K(s.$$.fragment,f),d=!0)},o(f){J(r.$$.fragment,f),J(a.$$.fragment,f),J(s.$$.fragment,f),d=!1},d(f){f&&L(e),he(r),he(a),he(s)}}}function rl(i){let e,t,r,n,l,a,o,s,c;return t=new me({props:{type:"image",size:i[1]}}),l=new me({props:{type:"header",size:i[1]}}),o=new me({props:{type:"lines",size:i[1],linecount:3}}),{c(){e=w("div"),we(t.$$.fragment),r=H(),n=w("div"),we(l.$$.fragment),a=H(),we(o.$$.fragment),u(n,"class","card-content"),u(e,"class",s="card card-"+i[1]),Q(e,"--max-width",i[0])},m(d,f){p(d,e,f),fe(t,e,null),g(e,r),g(e,n),fe(l,n,null),g(n,a),fe(o,n,null),c=!0},p(d,f){const m={};f&2&&(m.size=d[1]),t.$set(m);const _={};f&2&&(_.size=d[1]),l.$set(_);const b={};f&2&&(b.size=d[1]),o.$set(b),(!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||(K(t.$$.fragment,d),K(l.$$.fragment,d),K(o.$$.fragment,d),c=!0)},o(d){J(t.$$.fragment,d),J(l.$$.fragment,d),J(o.$$.fragment,d),c=!1},d(d){d&&L(e),he(t),he(l),he(o)}}}function wi(i){let e,t;return e=new me({props:{type:"text",size:i[1],linecount:i[2]}}),{c(){we(e.$$.fragment)},m(r,n){fe(e,r,n),t=!0},p(r,n){const l={};n&2&&(l.size=r[1]),n&4&&(l.linecount=r[2]),e.$set(l)},i(r){t||(K(e.$$.fragment,r),t=!0)},o(r){J(e.$$.fragment,r),t=!1},d(r){he(e,r)}}}function nl(i){let e,t,r,n,l;const a=[rl,il,tl,el],o=[];function s(c,d){return c[3]==="card"?0:c[3]==="profile"?1:c[3]==="lines"?2:3}return t=s(i),r=o[t]=a[t](i),{c(){e=w("div"),r.c(),this.c=k,u(e,"data-testid",i[4]),u(e,"style",n=""+(V(i[5],i[6],i[7],i[8])+";"))},m(c,d){p(c,e,d),o[t].m(e,null),l=!0},p(c,[d]){let f=t;t=s(c),t===f?o[t].p(c,d):(xe(),J(o[f],1,1,()=>{o[f]=null}),Ee(),r=o[t],r?r.p(c,d):(r=o[t]=a[t](c),r.c()),K(r,1),r.m(e,null)),(!l||d&16)&&u(e,"data-testid",c[4]),(!l||d&480&&n!==(n=""+(V(c[5],c[6],c[7],c[8])+";")))&&u(e,"style",n)},i(c){l||(K(r),l=!0)},o(c){J(r),l=!1},d(c){c&&L(e),o[t].d()}}}function ll(i,e,t){const[r,n]=X("Skeleton type",["image","text","title","text-small","avatar","header","paragraph","thumbnail","card","profile","lines"],!0),[l,a]=X("Skeleton size",["1","2","3","4"]);let{maxwidth:o=""}=e,{size:s="1"}=e,{linecount:c=3}=e,{type:d}=e,{testid:f=""}=e,{mt:m=null}=e,{mr:_=null}=e,{mb:b=null}=e,{ml:v=null}=e;return Z(()=>{n(d),a(s)}),i.$$set=y=>{"maxwidth"in y&&t(0,o=y.maxwidth),"size"in y&&t(1,s=y.size),"linecount"in y&&t(2,c=y.linecount),"type"in y&&t(3,d=y.type),"testid"in y&&t(4,f=y.testid),"mt"in y&&t(5,m=y.mt),"mr"in y&&t(6,_=y.mr),"mb"in y&&t(7,b=y.mb),"ml"in y&&t(8,v=y.ml)},[o,s,c,d,f,m,_,b,v]}class me extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--color-gray-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--color-gray-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-3,.text-4{width:100%;height:.75rem;border-radius:0.25rem;margin:6px 0}.title,.title-1,.title-2{width:100%;height:.75rem;border-radius:0.25rem}.title-3{height:.8rem}.title-4{height:1rem}.text-small,.text-small-1{width:30%;height:6px;border-radius:2px}.text-small-2{width:40%;height:8px;border-radius:2px}.text-small-3{width:50%;height:10px;border-radius:3px}.text-small-4{width:70%;height:12px;border-radius:4px}.paragraph{width:100%;height:70px;border-radius:4px}.header,.header-1{width:50%;height:18px;margin:12px 0;border-radius:0.25rem}.header-2{width:60%;height:20px;margin:14px 0;border-radius:0.25rem}.header-3{width:70%;height:22px;margin:16px 0;border-radius:0.25rem}.header-4{width:80%;height:24px;margin:18px 0;border-radius:0.3rem}.avatar{display:inline-block}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail{display:inline-block}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card{display:inline-block}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--color-gray-100);border-radius:4px}.card{width:100%}@media(min-width: 480px){.card{max-width:var(--max-width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>",q(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},ll,nl,I,{maxwidth:0,size:1,linecount:2,type:3,testid:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["maxwidth","size","linecount","type","testid","mt","mr","mb","ml"]}get maxwidth(){return this.$$.ctx[0]}set maxwidth(e){this.$$set({maxwidth:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get linecount(){return this.$$.ctx[2]}set linecount(e){this.$$set({linecount:e}),h()}get type(){return this.$$.ctx[3]}set type(e){this.$$set({type:e}),h()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-skeleton",me);function al(i){let e;return{c(){e=w("div"),this.c=k},m(t,r){p(t,e,r),i[3](e)},p:k,i:k,o:k,d(t){t&&L(e),i[3](null)}}}function ol(i,e,t){let{hspacing:r="none"}=e,{vspacing:n="none"}=e,l;Z(()=>{pt(l,":host",{width:`var(--goa-spacing-${r})`,height:`var(--goa-spacing-${n})`})});function a(o){le[o?"unshift":"push"](()=>{l=o,t(0,l)})}return i.$$set=o=>{"hspacing"in o&&t(1,r=o.hspacing),"vspacing"in o&&t(2,n=o.vspacing)},[l,r,n,a]}class sl extends P{constructor(e){super();q(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},ol,al,I,{hspacing:1,vspacing:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["hspacing","vspacing"]}get hspacing(){return this.$$.ctx[1]}set hspacing(e){this.$$set({hspacing:e}),h()}get vspacing(){return this.$$.ctx[2]}set vspacing(e){this.$$set({vspacing:e}),h()}}customElements.define("goa-spacer",sl);function yi(i){return Object.prototype.toString.call(i)==="[object Date]"}function lt(i,e){if(i===e||i!==i)return()=>i;const t=typeof i;if(t!==typeof e||Array.isArray(i)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(i)){const r=e.map((n,l)=>lt(i[l],n));return n=>r.map(l=>l(n))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(yi(i)&&yi(e)){i=i.getTime(),e=e.getTime();const l=e-i;return a=>new Date(i+a*l)}const r=Object.keys(e),n={};return r.forEach(l=>{n[l]=lt(i[l],e[l])}),l=>{const a={};return r.forEach(o=>{a[o]=n[o](l)}),a}}if(t==="number"){const r=e-i;return n=>i+n*r}throw new Error(`Cannot interpolate ${t} values`)}function cl(i,e={}){const t=Nt(i);let r,n=i;function l(a,o){if(i==null)return t.set(i=a),Promise.resolve();n=a;let s=r,c=!1,{delay:d=0,duration:f=400,easing:m=Me,interpolate:_=lt}=ot(ot({},e),o);if(f===0)return s&&(s.abort(),s=null),t.set(i=n),Promise.resolve();const b=Ne()+d;let v;return r=je(y=>{if(y<b)return!0;c||(v=_(i,a),typeof f=="function"&&(f=f(i,a)),c=!0),s&&(s.abort(),s=null);const x=y-b;return x>f?(t.set(i=a),!1):(t.set(i=v(m(x/f))),!0)}),r.promise}return{set:l,update:(a,o)=>l(a(n,i),o),subscribe:t.subscribe}}function _i(i){let e,t,r,n,l,a,o,s,c;return{c(){e=ge("svg"),t=ge("circle"),l=ge("path"),u(t,"cx",i[3]),u(t,"cy",i[3]),u(t,"stroke",r=i[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),u(t,"stroke-width",i[4]),u(t,"r",n=i[3]-i[4]/2),u(l,"d",a=i[9](i[7])),u(l,"stroke-width",i[4]),u(l,"stroke",o=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),u(l,"stroke-linecap","round"),u(e,"class",s=`spinner-${i[2]}`),u(e,"fill","none"),u(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),u(e,"width",i[5]),u(e,"height",i[5]),u(e,"data-testid",i[1]),u(e,"xmlns","http://www.w3.org/2000/svg")},m(d,f){p(d,e,f),g(e,t),g(e,l)},p(d,f){f&8&&u(t,"cx",d[3]),f&8&&u(t,"cy",d[3]),f&1&&r!==(r=d[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&u(t,"stroke",r),f&16&&u(t,"stroke-width",d[4]),f&24&&n!==(n=d[3]-d[4]/2)&&u(t,"r",n),f&128&&a!==(a=d[9](d[7]))&&u(l,"d",a),f&16&&u(l,"stroke-width",d[4]),f&1&&o!==(o=d[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&u(l,"stroke",o),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&&L(e)}}}function dl(i){let e,t=i[6]&&_i(i);return{c(){t&&t.c(),e=be(),this.c=k},m(r,n){t&&t.m(r,n),p(r,e,n)},p(r,[n]){r[6]?t?t.p(r,n):(t=_i(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:k,o:k,d(r){t&&t.d(r),r&&L(e)}}}function ul(i,e,t){let r,n,l,a,o,s,{size:c}=e,{invert:d=!1}=e,{progress:f=-1}=e,{testid:m=""}=e,_="infinite";const b=cl(0,{duration:500,easing:Tr});zi(i,b,x=>t(7,s=x));function v(x){const z=l+a*Math.cos(x),B=l+a*Math.sin(x);return z+" "+B}function y(x){switch(_){case"progress":{const z=v(-Math.PI/2),B=v(-Math.PI/2+2*Math.PI*(x/100)),R=x%100<50?0:1;return`M ${z} A ${a} ${a} 0 ${R} 1 ${B}`}case"infinite":{const z=v(Math.PI*1.5),B=v(0);return`M ${z} A ${a} ${a} 0 1 0 ${B}`}}}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&&(b.set(x||1),t(2,_="progress"))}i.$$.dirty&1024&&t(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,n=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,l=r/2),i.$$.dirty&24&&t(12,a=l-n/2),i.$$.dirty&6148&&t(6,o=_==="infinite"?a:a&&f)},[d,m,_,l,n,r,o,s,b,y,c,f,a]}class fl extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>",q(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},ul,dl,I,{size:10,invert:0,progress:11,testid:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["size","invert","progress","testid"]}get size(){return this.$$.ctx[10]}set size(e){this.$$set({size:e}),h()}get invert(){return this.$$.ctx[0]}set invert(e){this.$$set({invert:e}),h()}get progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),h()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-spinner",fl);function hl(i){let e,t,r,n,l,a,o;return{c(){e=w("div"),t=w("textarea"),n=H(),this.c=k,u(t,"name",i[0]),u(t,"placeholder",i[2]),t.value=i[1],u(t,"rows",i[3]),u(t,"aria-label",r=i[6]||i[0]),u(t,"class","goa-textarea"),t.disabled=i[12],t.readOnly=i[13],u(t,"data-testid",i[4]),O(t,"error",i[14]),u(e,"class","container"),u(e,"style",l=`
|
|
102
|
-
|
|
101
|
+
`)&&u(e,"style",r)},i:k,o:k,d(n){n&&L(e)}}}function Qn(i,e,t){let{direction:r="vertical"}=e,{hpadding:n=0}=e,{vpadding:l=0}=e,{height:a=0}=e;return i.$$set=o=>{"direction"in o&&t(0,r=o.direction),"hpadding"in o&&t(1,n=o.hpadding),"vpadding"in o&&t(2,l=o.vpadding),"height"in o&&t(3,a=o.height)},[r,n,l,a]}class $n extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.goa-scrollable{scroll-behavior:smooth;max-height:calc(100vh * var(--max-height, 100) / 100)}.goa-scrollable::-webkit-scrollbar{width:6px}.goa-scrollable::-webkit-scrollbar-track{background:#f1f1f1}.goa-scrollable::-webkit-scrollbar-thumb{background:#888}.goa-scrollable::-webkit-scrollbar-thumb:hover{background:#555}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Qn,Jn,I,{direction:0,hpadding:1,vpadding:2,height:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["direction","hpadding","vpadding","height"]}get direction(){return this.$$.ctx[0]}set direction(e){this.$$set({direction:e}),h()}get hpadding(){return this.$$.ctx[1]}set hpadding(e){this.$$set({hpadding:e}),h()}get vpadding(){return this.$$.ctx[2]}set vpadding(e){this.$$set({vpadding:e}),h()}get height(){return this.$$.ctx[3]}set height(e){this.$$set({height:e}),h()}}customElements.define("goa-scrollable",$n);function vi(i,e,t){const r=i.slice();return r[13]=e[t],r}function el(i){let e,t;return{c(){e=y("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:k,o:k,d(r){r&&L(e)}}}function tl(i){let e,t,r=Array(i[2]),n=[];for(let a=0;a<r.length;a+=1)n[a]=yi(vi(i,r,a));const l=a=>J(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;a<n.length;a+=1)n[a].c();e=be()},m(a,o){for(let s=0;s<n.length;s+=1)n[s].m(a,o);p(a,e,o),t=!0},p(a,o){if(o&6){r=Array(a[2]);let s;for(s=0;s<r.length;s+=1){const c=vi(a,r,s);n[s]?(n[s].p(c,o),K(n[s],1)):(n[s]=yi(c),n[s].c(),K(n[s],1),n[s].m(e.parentNode,e))}for(xe(),s=r.length;s<n.length;s+=1)l(s);Ee()}},i(a){if(!t){for(let o=0;o<r.length;o+=1)K(n[o]);t=!0}},o(a){n=n.filter(Boolean);for(let o=0;o<n.length;o+=1)J(n[o]);t=!1},d(a){Oe(n,a),a&&L(e)}}}function il(i){let e,t,r,n,l,a,o,s,c,d;return r=new me({props:{type:"avatar",size:i[1]}}),a=new me({props:{type:"title",size:i[1]}}),s=new me({props:{type:"text-small",size:i[1]}}),{c(){e=y("div"),t=y("div"),ye(r.$$.fragment),n=H(),l=y("div"),ye(a.$$.fragment),o=H(),ye(s.$$.fragment),u(t,"class","profile-avatar"),u(l,"class","profile-name"),u(e,"class",c="profile profile-"+i[1])},m(f,m){p(f,e,m),g(e,t),fe(r,t,null),g(e,n),g(e,l),fe(a,l,null),g(l,o),fe(s,l,null),d=!0},p(f,m){const w={};m&2&&(w.size=f[1]),r.$set(w);const b={};m&2&&(b.size=f[1]),a.$set(b);const v={};m&2&&(v.size=f[1]),s.$set(v),(!d||m&2&&c!==(c="profile profile-"+f[1]))&&u(e,"class",c)},i(f){d||(K(r.$$.fragment,f),K(a.$$.fragment,f),K(s.$$.fragment,f),d=!0)},o(f){J(r.$$.fragment,f),J(a.$$.fragment,f),J(s.$$.fragment,f),d=!1},d(f){f&&L(e),he(r),he(a),he(s)}}}function rl(i){let e,t,r,n,l,a,o,s,c;return t=new me({props:{type:"image",size:i[1]}}),l=new me({props:{type:"header",size:i[1]}}),o=new me({props:{type:"lines",size:i[1],linecount:3}}),{c(){e=y("div"),ye(t.$$.fragment),r=H(),n=y("div"),ye(l.$$.fragment),a=H(),ye(o.$$.fragment),u(n,"class","card-content"),u(e,"class",s="card card-"+i[1]),Q(e,"--max-width",i[0])},m(d,f){p(d,e,f),fe(t,e,null),g(e,r),g(e,n),fe(l,n,null),g(n,a),fe(o,n,null),c=!0},p(d,f){const m={};f&2&&(m.size=d[1]),t.$set(m);const w={};f&2&&(w.size=d[1]),l.$set(w);const b={};f&2&&(b.size=d[1]),o.$set(b),(!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||(K(t.$$.fragment,d),K(l.$$.fragment,d),K(o.$$.fragment,d),c=!0)},o(d){J(t.$$.fragment,d),J(l.$$.fragment,d),J(o.$$.fragment,d),c=!1},d(d){d&&L(e),he(t),he(l),he(o)}}}function yi(i){let e,t;return e=new me({props:{type:"text",size:i[1],linecount:i[2]}}),{c(){ye(e.$$.fragment)},m(r,n){fe(e,r,n),t=!0},p(r,n){const l={};n&2&&(l.size=r[1]),n&4&&(l.linecount=r[2]),e.$set(l)},i(r){t||(K(e.$$.fragment,r),t=!0)},o(r){J(e.$$.fragment,r),t=!1},d(r){he(e,r)}}}function nl(i){let e,t,r,n,l;const a=[rl,il,tl,el],o=[];function s(c,d){return c[3]==="card"?0:c[3]==="profile"?1:c[3]==="lines"?2:3}return t=s(i),r=o[t]=a[t](i),{c(){e=y("div"),r.c(),this.c=k,u(e,"data-testid",i[4]),u(e,"style",n=""+(G(i[5],i[6],i[7],i[8])+";"))},m(c,d){p(c,e,d),o[t].m(e,null),l=!0},p(c,[d]){let f=t;t=s(c),t===f?o[t].p(c,d):(xe(),J(o[f],1,1,()=>{o[f]=null}),Ee(),r=o[t],r?r.p(c,d):(r=o[t]=a[t](c),r.c()),K(r,1),r.m(e,null)),(!l||d&16)&&u(e,"data-testid",c[4]),(!l||d&480&&n!==(n=""+(G(c[5],c[6],c[7],c[8])+";")))&&u(e,"style",n)},i(c){l||(K(r),l=!0)},o(c){J(r),l=!1},d(c){c&&L(e),o[t].d()}}}function ll(i,e,t){const[r,n]=Z("Skeleton type",["image","text","title","text-small","avatar","header","paragraph","thumbnail","card","profile","lines"],!0),[l,a]=Z("Skeleton size",["1","2","3","4"]);let{maxwidth:o=""}=e,{size:s="1"}=e,{linecount:c=3}=e,{type:d}=e,{testid:f=""}=e,{mt:m=null}=e,{mr:w=null}=e,{mb:b=null}=e,{ml:v=null}=e;return X(()=>{n(d),a(s)}),i.$$set=_=>{"maxwidth"in _&&t(0,o=_.maxwidth),"size"in _&&t(1,s=_.size),"linecount"in _&&t(2,c=_.linecount),"type"in _&&t(3,d=_.type),"testid"in _&&t(4,f=_.testid),"mt"in _&&t(5,m=_.mt),"mr"in _&&t(6,w=_.mr),"mb"in _&&t(7,b=_.mb),"ml"in _&&t(8,v=_.ml)},[o,s,c,d,f,m,w,b,v]}class me extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--color-gray-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--color-gray-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-3,.text-4{width:100%;height:.75rem;border-radius:0.25rem;margin:6px 0}.title,.title-1,.title-2{width:100%;height:.75rem;border-radius:0.25rem}.title-3{height:.8rem}.title-4{height:1rem}.text-small,.text-small-1{width:30%;height:6px;border-radius:2px}.text-small-2{width:40%;height:8px;border-radius:2px}.text-small-3{width:50%;height:10px;border-radius:3px}.text-small-4{width:70%;height:12px;border-radius:4px}.paragraph{width:100%;height:70px;border-radius:4px}.header,.header-1{width:50%;height:18px;margin:12px 0;border-radius:0.25rem}.header-2{width:60%;height:20px;margin:14px 0;border-radius:0.25rem}.header-3{width:70%;height:22px;margin:16px 0;border-radius:0.25rem}.header-4{width:80%;height:24px;margin:18px 0;border-radius:0.3rem}.avatar{display:inline-block}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail{display:inline-block}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card{display:inline-block}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--color-gray-100);border-radius:4px}.card{width:100%}@media(min-width: 480px){.card{max-width:var(--max-width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},ll,nl,I,{maxwidth:0,size:1,linecount:2,type:3,testid:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["maxwidth","size","linecount","type","testid","mt","mr","mb","ml"]}get maxwidth(){return this.$$.ctx[0]}set maxwidth(e){this.$$set({maxwidth:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get linecount(){return this.$$.ctx[2]}set linecount(e){this.$$set({linecount:e}),h()}get type(){return this.$$.ctx[3]}set type(e){this.$$set({type:e}),h()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-skeleton",me);function al(i){let e;return{c(){e=y("div"),this.c=k},m(t,r){p(t,e,r),i[3](e)},p:k,i:k,o:k,d(t){t&&L(e),i[3](null)}}}function ol(i,e,t){let{hspacing:r="none"}=e,{vspacing:n="none"}=e,l;X(()=>{pt(l,":host",{width:`var(--goa-spacing-${r})`,height:`var(--goa-spacing-${n})`})});function a(o){ne[o?"unshift":"push"](()=>{l=o,t(0,l)})}return i.$$set=o=>{"hspacing"in o&&t(1,r=o.hspacing),"vspacing"in o&&t(2,n=o.vspacing)},[l,r,n,a]}class sl extends P{constructor(e){super();F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},ol,al,I,{hspacing:1,vspacing:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["hspacing","vspacing"]}get hspacing(){return this.$$.ctx[1]}set hspacing(e){this.$$set({hspacing:e}),h()}get vspacing(){return this.$$.ctx[2]}set vspacing(e){this.$$set({vspacing:e}),h()}}customElements.define("goa-spacer",sl);function wi(i){return Object.prototype.toString.call(i)==="[object Date]"}function lt(i,e){if(i===e||i!==i)return()=>i;const t=typeof i;if(t!==typeof e||Array.isArray(i)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(i)){const r=e.map((n,l)=>lt(i[l],n));return n=>r.map(l=>l(n))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(wi(i)&&wi(e)){i=i.getTime(),e=e.getTime();const l=e-i;return a=>new Date(i+a*l)}const r=Object.keys(e),n={};return r.forEach(l=>{n[l]=lt(i[l],e[l])}),l=>{const a={};return r.forEach(o=>{a[o]=n[o](l)}),a}}if(t==="number"){const r=e-i;return n=>i+n*r}throw new Error(`Cannot interpolate ${t} values`)}function cl(i,e={}){const t=Nt(i);let r,n=i;function l(a,o){if(i==null)return t.set(i=a),Promise.resolve();n=a;let s=r,c=!1,{delay:d=0,duration:f=400,easing:m=Me,interpolate:w=lt}=ot(ot({},e),o);if(f===0)return s&&(s.abort(),s=null),t.set(i=n),Promise.resolve();const b=Ne()+d;let v;return r=je(_=>{if(_<b)return!0;c||(v=w(i,a),typeof f=="function"&&(f=f(i,a)),c=!0),s&&(s.abort(),s=null);const x=_-b;return x>f?(t.set(i=a),!1):(t.set(i=v(m(x/f))),!0)}),r.promise}return{set:l,update:(a,o)=>l(a(n,i),o),subscribe:t.subscribe}}function _i(i){let e,t,r,n,l,a,o,s,c;return{c(){e=ge("svg"),t=ge("circle"),l=ge("path"),u(t,"cx",i[3]),u(t,"cy",i[3]),u(t,"stroke",r=i[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),u(t,"stroke-width",i[4]),u(t,"r",n=i[3]-i[4]/2),u(l,"d",a=i[9](i[7])),u(l,"stroke-width",i[4]),u(l,"stroke",o=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),u(l,"stroke-linecap","round"),u(e,"class",s=`spinner-${i[2]}`),u(e,"fill","none"),u(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),u(e,"width",i[5]),u(e,"height",i[5]),u(e,"data-testid",i[1]),u(e,"xmlns","http://www.w3.org/2000/svg")},m(d,f){p(d,e,f),g(e,t),g(e,l)},p(d,f){f&8&&u(t,"cx",d[3]),f&8&&u(t,"cy",d[3]),f&1&&r!==(r=d[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&u(t,"stroke",r),f&16&&u(t,"stroke-width",d[4]),f&24&&n!==(n=d[3]-d[4]/2)&&u(t,"r",n),f&128&&a!==(a=d[9](d[7]))&&u(l,"d",a),f&16&&u(l,"stroke-width",d[4]),f&1&&o!==(o=d[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&u(l,"stroke",o),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&&L(e)}}}function dl(i){let e,t=i[6]&&_i(i);return{c(){t&&t.c(),e=be(),this.c=k},m(r,n){t&&t.m(r,n),p(r,e,n)},p(r,[n]){r[6]?t?t.p(r,n):(t=_i(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:k,o:k,d(r){t&&t.d(r),r&&L(e)}}}function ul(i,e,t){let r,n,l,a,o,s,{size:c}=e,{invert:d=!1}=e,{progress:f=-1}=e,{testid:m=""}=e,w="infinite";const b=cl(0,{duration:500,easing:Tr});zi(i,b,x=>t(7,s=x));function v(x){const z=l+a*Math.cos(x),B=l+a*Math.sin(x);return z+" "+B}function _(x){switch(w){case"progress":{const z=v(-Math.PI/2),B=v(-Math.PI/2+2*Math.PI*(x/100)),R=x%100<50?0:1;return`M ${z} A ${a} ${a} 0 ${R} 1 ${B}`}case"infinite":{const z=v(Math.PI*1.5),B=v(0);return`M ${z} A ${a} ${a} 0 1 0 ${B}`}}}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&&(b.set(x||1),t(2,w="progress"))}i.$$.dirty&1024&&t(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,n=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,l=r/2),i.$$.dirty&24&&t(12,a=l-n/2),i.$$.dirty&6148&&t(6,o=w==="infinite"?a:a&&f)},[d,m,w,l,n,r,o,s,b,_,c,f,a]}class fl extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},ul,dl,I,{size:10,invert:0,progress:11,testid:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["size","invert","progress","testid"]}get size(){return this.$$.ctx[10]}set size(e){this.$$set({size:e}),h()}get invert(){return this.$$.ctx[0]}set invert(e){this.$$set({invert:e}),h()}get progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),h()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-spinner",fl);function hl(i){let e,t,r,n,l;return{c(){e=y("table"),t=y("slot"),r=H(),n=y("template"),n.innerHTML=`<thead><tr><th></th></tr></thead>
|
|
102
|
+
<tbody><tr><td></td></tr></tbody>
|
|
103
|
+
<tfoot><tr><td></td></tr></tfoot>`,this.c=k,u(e,"style",l=`
|
|
104
|
+
width: ${i[0]};
|
|
105
|
+
${G(i[1],i[2],i[3],i[4])}
|
|
106
|
+
`),N(e,"sticky",i[6])},m(a,o){p(a,e,o),g(e,t),g(e,r),g(e,n),i[8](e)},p(a,[o]){o&31&&l!==(l=`
|
|
107
|
+
width: ${a[0]};
|
|
108
|
+
${G(a[1],a[2],a[3],a[4])}
|
|
109
|
+
`)&&u(e,"style",l),o&64&&N(e,"sticky",a[6])},i:k,o:k,d(a){a&&L(e),i[8](null)}}}function ml(i,e,t){let r,{width:n=""}=e,{stickyheader:l="false"}=e,{mt:a=null}=e,{mr:o=null}=e,{mb:s=null}=e,{ml:c=null}=e,d;X(()=>{const m=d.querySelector("slot");if(m){const w=m.assignedElements()[0].querySelectorAll("template table > *");d.append(...w.length>0?w:m.assignedElements())}else return[...d.children]});function f(m){ne[m?"unshift":"push"](()=>{d=m,t(5,d)})}return i.$$set=m=>{"width"in m&&t(0,n=m.width),"stickyheader"in m&&t(7,l=m.stickyheader),"mt"in m&&t(1,a=m.mt),"mr"in m&&t(2,o=m.mr),"mb"in m&&t(3,s=m.mb),"ml"in m&&t(4,c=m.ml)},i.$$.update=()=>{i.$$.dirty&128&&t(6,r=U(l))},[n,a,o,s,c,d,r,l,f]}class gl extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>table{border-collapse:collapse}table.sticky{position:relative}table.sticky thead{position:sticky;top:0}td{padding:1rem 1.5rem;border-bottom:1px solid var(--color-gray-200);line-height:1rem}th{background-color:var(--color-white);color:var(--goa-color-text-secondary);padding:1rem;vertical-align:middle;text-align:left;border-bottom:2px solid var(--color-gray-600)}tfoot td{background-color:var(--color-gray-100)}tfoot tr:first-child td{border-top:2px solid var(--color-gray-200)}tfoot tr:last-child td{border-bottom:none}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},ml,hl,I,{width:0,stickyheader:7,mt:1,mr:2,mb:3,ml:4},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["width","stickyheader","mt","mr","mb","ml"]}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),h()}get stickyheader(){return this.$$.ctx[7]}set stickyheader(e){this.$$set({stickyheader:e}),h()}get mt(){return this.$$.ctx[1]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[2]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[3]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[4]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-table",gl);function bl(i){let e,t,r,n,l,a,o;return{c(){e=y("div"),t=y("textarea"),n=H(),this.c=k,u(t,"name",i[0]),u(t,"placeholder",i[2]),t.value=i[1],u(t,"rows",i[3]),u(t,"aria-label",r=i[6]||i[0]),u(t,"class","goa-textarea"),t.disabled=i[12],t.readOnly=i[13],u(t,"data-testid",i[4]),N(t,"error",i[14]),u(e,"class","container"),u(e,"style",l=`
|
|
110
|
+
${G(i[7],i[8],i[9],i[10])};
|
|
103
111
|
--width: ${i[5]};
|
|
104
|
-
`)},m(s,c){p(s,e,c),g(e,t),g(e,n),a||(o=Y(t,"keyup",i[15]),a=!0)},p(s,[c]){c&1&&u(t,"name",s[0]),c&4&&u(t,"placeholder",s[2]),c&2&&(t.value=s[1]),c&8&&u(t,"rows",s[3]),c&65&&r!==(r=s[6]||s[0])&&u(t,"aria-label",r),c&4096&&(t.disabled=s[12]),c&8192&&(t.readOnly=s[13]),c&16&&u(t,"data-testid",s[4]),c&16384&&
|
|
105
|
-
${
|
|
112
|
+
`)},m(s,c){p(s,e,c),g(e,t),g(e,n),a||(o=Y(t,"keyup",i[15]),a=!0)},p(s,[c]){c&1&&u(t,"name",s[0]),c&4&&u(t,"placeholder",s[2]),c&2&&(t.value=s[1]),c&8&&u(t,"rows",s[3]),c&65&&r!==(r=s[6]||s[0])&&u(t,"aria-label",r),c&4096&&(t.disabled=s[12]),c&8192&&(t.readOnly=s[13]),c&16&&u(t,"data-testid",s[4]),c&16384&&N(t,"error",s[14]),c&1952&&l!==(l=`
|
|
113
|
+
${G(s[7],s[8],s[9],s[10])};
|
|
106
114
|
--width: ${s[5]};
|
|
107
|
-
`)&&u(e,"style",l)},i:k,o:k,d(s){s&&L(e),a=!1,o()}}}function
|
|
108
|
-
}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}</style>`,
|
|
115
|
+
`)&&u(e,"style",l)},i:k,o:k,d(s){s&&L(e),a=!1,o()}}}function vl(i,e,t){let r,n,l,{name:a}=e,{value:o=""}=e,{placeholder:s=""}=e,{rows:c=3}=e,{testid:d=""}=e,{width:f="60ch"}=e,{error:m="false"}=e,{readonly:w="false"}=e,{disabled:b="false"}=e,{arialabel:v=""}=e,{mt:_=null}=e,{mr:x=null}=e,{mb:z=null}=e,{ml:B=null}=e,{maxcharcount:R=0}=e;function C(E){const A=E.target.value;n||(E.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:E,name:a,value:A}})),E.stopPropagation())}return i.$$set=E=>{"name"in E&&t(0,a=E.name),"value"in E&&t(1,o=E.value),"placeholder"in E&&t(2,s=E.placeholder),"rows"in E&&t(3,c=E.rows),"testid"in E&&t(4,d=E.testid),"width"in E&&t(5,f=E.width),"error"in E&&t(16,m=E.error),"readonly"in E&&t(17,w=E.readonly),"disabled"in E&&t(18,b=E.disabled),"arialabel"in E&&t(6,v=E.arialabel),"mt"in E&&t(7,_=E.mt),"mr"in E&&t(8,x=E.mr),"mb"in E&&t(9,z=E.mb),"ml"in E&&t(10,B=E.ml),"maxcharcount"in E&&t(11,R=E.maxcharcount)},i.$$.update=()=>{i.$$.dirty&65536&&t(14,r=U(m)),i.$$.dirty&262144&&t(12,n=U(b)),i.$$.dirty&131072&&t(13,l=U(w))},[a,o,s,c,d,f,v,_,x,z,B,R,n,l,r,C,m,w,b]}class yl extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.container{position:relative;width:100%}@media(min-width: 640px){.container{max-width:var(--width)}}.goa-textarea{display:block;width:100%;box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:3px;color:var(--color-black, #ccc);padding:var(--textarea-padding-vertical, 0.5rem) var(--textarea-padding-horizontal, 0.5rem);font-size:var(--input-font-size);font-family:var(--font-family);min-width:100%}@media(min-width: 640px){.goa-textarea{min-width:0;width:var(--width)}}.goa-textarea[readonly]{cursor:pointer}.goa-textarea:hover{border-color:var(--goa-color-interactive--hover)}.goa-textarea:active,.goa-textarea:focus,.goa-textarea:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}.goa-textarea:disabled,.goa-textarea:disabled:hover,.goa-textarea:disabled:active,.goa-textarea:disabled:focus{background-color:var(--color-gray-100);border-color:var(--color-gray-200);cursor:default;box-shadow:none}.counter{position:absolute;right:0;padding-top:0.25rem;font-size:var(--fs-sm)}.counter-error{color:var(--goa-color-interactive--error)
|
|
116
|
+
}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}</style>`,F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},vl,bl,I,{name:0,value:1,placeholder:2,rows:3,testid:4,width:5,error:16,readonly:17,disabled:18,arialabel:6,mt:7,mr:8,mb:9,ml:10,maxcharcount:11},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","placeholder","rows","testid","width","error","readonly","disabled","arialabel","mt","mr","mb","ml","maxcharcount"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),h()}get placeholder(){return this.$$.ctx[2]}set placeholder(e){this.$$set({placeholder:e}),h()}get rows(){return this.$$.ctx[3]}set rows(e){this.$$set({rows:e}),h()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),h()}get width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),h()}get error(){return this.$$.ctx[16]}set error(e){this.$$set({error:e}),h()}get readonly(){return this.$$.ctx[17]}set readonly(e){this.$$set({readonly:e}),h()}get disabled(){return this.$$.ctx[18]}set disabled(e){this.$$set({disabled:e}),h()}get arialabel(){return this.$$.ctx[6]}set arialabel(e){this.$$set({arialabel:e}),h()}get mt(){return this.$$.ctx[7]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[8]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[9]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[10]}set ml(e){this.$$set({ml:e}),h()}get maxcharcount(){return this.$$.ctx[11]}set maxcharcount(e){this.$$set({maxcharcount:e}),h()}}customElements.define("goa-textarea",yl);function wl(i){let e;return{c(){e=y("div"),e.innerHTML=`<header class="header"><slot name="header"></slot></header>
|
|
109
117
|
|
|
110
118
|
<nav class="nav"><slot name="nav"></slot></nav>
|
|
111
119
|
|
|
112
120
|
<main><slot></slot></main>
|
|
113
121
|
|
|
114
|
-
<footer class="footer"><slot name="footer"></slot></footer>`,this.c=k,u(e,"class","page")},m(t,r){p(t,e,r)},p:k,i:k,o:k,d(t){t&&L(e)}}}class
|
|
122
|
+
<footer class="footer"><slot name="footer"></slot></footer>`,this.c=k,u(e,"class","page")},m(t,r){p(t,e,r)},p:k,i:k,o:k,d(t){t&&L(e)}}}class _l extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>.page{height:100vh;grid-template-columns:auto;grid-template-rows:min-content auto min-content;grid-template-areas:"header"
|
|
115
123
|
"content"
|
|
116
124
|
"nav"
|
|
117
125
|
"footer";display:grid;place-content:stretch stretch;gap:0 0}@media(min-width: 640px){.page{grid-template-columns:300px auto;grid-template-rows:min-content auto min-content;grid-template-areas:"header header"
|
|
118
126
|
"nav content"
|
|
119
|
-
"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>`,
|
|
127
|
+
"footer footer"}}.header{grid-area:header}.footer{grid-area:footer}main{grid-area:content;justify-self:stretch;padding:1rem}.nav{grid-area:nav;padding:1rem;background-color:var(--color-gray-100)}</style>`,F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},null,wl,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-layout-full-nav",_l);function kl(i){let e;return{c(){e=y("div"),e.innerHTML=`<section class="header"><slot name="header"></slot></section>
|
|
120
128
|
|
|
121
129
|
<main><slot></slot></main>
|
|
122
130
|
|
|
123
|
-
<section class="footer"><slot name="footer"></slot></section>`,this.c=k,u(e,"class","page")},m(t,r){p(t,e,r)},p:k,i:k,o:k,d(t){t&&L(e)}}}class
|
|
131
|
+
<section class="footer"><slot name="footer"></slot></section>`,this.c=k,u(e,"class","page")},m(t,r){p(t,e,r)},p:k,i:k,o:k,d(t){t&&L(e)}}}class pl extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.page{min-height:100vh;display:flex;flex-direction:column}.header,.footer{flex:0 0 auto}main{flex:1 1 auto}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},null,kl,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-one-column-layout",pl);function xl(i){let e,t,r,n,l,a,o;return{c(){e=y("div"),t=y("header"),t.innerHTML='<slot name="header"></slot>',r=H(),n=y("section"),n.innerHTML=`<nav class="nav"><slot name="nav"></slot></nav>
|
|
124
132
|
|
|
125
|
-
<main><slot></slot></main>`,l=H(),a=
|
|
133
|
+
<main><slot></slot></main>`,l=H(),a=y("footer"),a.innerHTML='<slot name="footer"></slot>',this.c=k,u(t,"class","header"),u(n,"class","content"),u(a,"class","footer"),u(e,"class","page"),u(e,"style",o=`
|
|
126
134
|
--max-content-width: ${i[1]||"100%"};
|
|
127
135
|
--nav-column-width: ${i[0]||"var(--layout-nav-column-width)"};
|
|
128
136
|
`)},m(s,c){p(s,e,c),g(e,t),g(e,r),g(e,n),g(e,l),g(e,a)},p(s,[c]){c&3&&o!==(o=`
|
|
129
137
|
--max-content-width: ${s[1]||"100%"};
|
|
130
138
|
--nav-column-width: ${s[0]||"var(--layout-nav-column-width)"};
|
|
131
|
-
`)&&u(e,"style",o)},i:k,o:k,d(s){s&&L(e)}}}function
|
|
139
|
+
`)&&u(e,"style",o)},i:k,o:k,d(s){s&&L(e)}}}function El(i,e,t){let{navcolumnwidth:r=""}=e,{maxcontentwidth:n=""}=e;return i.$$set=l=>{"navcolumnwidth"in l&&t(0,r=l.navcolumnwidth),"maxcontentwidth"in l&&t(1,n=l.maxcontentwidth)},[r,n]}class Cl extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box}.page{min-height:100vh;display:flex;flex-direction:column;position:relative}.content{flex:1 1 auto;position:relative;display:flex;flex-direction:column;gap:2rem}.header,.footer{flex:0 0 auto}main{flex:1 1 auto;padding:0 1rem}.nav{padding:0 1rem;transition:transform 200ms ease-in-out;background-color:var(--color-white)}.nav>*{display:block;padding:0.5rem 0}@media(min-width: 640px){.page{gap:2rem}.content{display:flex;flex-direction:row;justify-content:center;width:min(var(--max-content-width), 100vw);margin:0 auto}.nav{padding:0 2rem}main{padding-right:2rem}}@media(min-width: 1300px){main{padding-right:4.5rem}}@media(min-width: 640px){.nav{transform:translateX(0);flex:0 0 var(--nav-column-width)}}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},El,xl,I,{navcolumnwidth:0,maxcontentwidth:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["navcolumnwidth","maxcontentwidth"]}get navcolumnwidth(){return this.$$.ctx[0]}set navcolumnwidth(e){this.$$set({navcolumnwidth:e}),h()}get maxcontentwidth(){return this.$$.ctx[1]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),h()}}customElements.define("goa-two-column-layout",Cl)});
|