@abgov/web-components 1.17.0-alpha.1 → 1.17.0-alpha.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/web-components",
3
- "version": "1.17.0-alpha.1",
3
+ "version": "1.17.0-alpha.2",
4
4
  "description": "Government of Alberta - UI Web components",
5
5
  "bugs": {
6
6
  "url": "https://github.com/GovAlta/ui-components/issues"
@@ -13460,7 +13460,6 @@ function create_if_block$f(ctx) {
13460
13460
  t5 = text(/*_pageCount*/ ctx[8]);
13461
13461
  attr(input, "type", "hidden");
13462
13462
  set_custom_element_data(goa_dropdown, "value", /*pagenumber*/ ctx[0]);
13463
- set_custom_element_data(goa_dropdown, "width", "70px");
13464
13463
  set_custom_element_data(goa_block, "data-testid", "page-selector");
13465
13464
  set_custom_element_data(goa_block, "alignment", "center");
13466
13465
  set_custom_element_data(goa_block, "gap", "s");
@@ -88,7 +88,7 @@ var __vite_style__=document.createElement("style");__vite_style__.innerHTML=`@im
88
88
  center center no-repeat}`,this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:Q(this.attributes),customElement:!0},$o,Qo,K,{type:1,name:2,value:0,autocapitalize:3,placeholder:4,leadingicon:5,trailingicon:6,variant:7,disabled:34,handletrailingiconclick:35,focused:36,readonly:37,error:38,testid:8,width:9,arialabel:10,arialabelledby:11,min:12,max:13,step:14,prefix:15,suffix:16,debounce:39,maxlength:17,id:18,mt:19,mr:20,mb:21,ml:22},null,[-1,-1]),e&&(e.target&&C(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type","name","value","autocapitalize","placeholder","leadingicon","trailingicon","variant","disabled","handletrailingiconclick","focused","readonly","error","testid","width","arialabel","arialabelledby","min","max","step","prefix","suffix","debounce","maxlength","id","mt","mr","mb","ml"]}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),m()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),m()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),m()}get autocapitalize(){return this.$$.ctx[3]}set autocapitalize(e){this.$$set({autocapitalize:e}),m()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),m()}get leadingicon(){return this.$$.ctx[5]}set leadingicon(e){this.$$set({leadingicon:e}),m()}get trailingicon(){return this.$$.ctx[6]}set trailingicon(e){this.$$set({trailingicon:e}),m()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),m()}get disabled(){return this.$$.ctx[34]}set disabled(e){this.$$set({disabled:e}),m()}get handletrailingiconclick(){return this.$$.ctx[35]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),m()}get focused(){return this.$$.ctx[36]}set focused(e){this.$$set({focused:e}),m()}get readonly(){return this.$$.ctx[37]}set readonly(e){this.$$set({readonly:e}),m()}get error(){return this.$$.ctx[38]}set error(e){this.$$set({error:e}),m()}get testid(){return this.$$.ctx[8]}set testid(e){this.$$set({testid:e}),m()}get width(){return this.$$.ctx[9]}set width(e){this.$$set({width:e}),m()}get arialabel(){return this.$$.ctx[10]}set arialabel(e){this.$$set({arialabel:e}),m()}get arialabelledby(){return this.$$.ctx[11]}set arialabelledby(e){this.$$set({arialabelledby:e}),m()}get min(){return this.$$.ctx[12]}set min(e){this.$$set({min:e}),m()}get max(){return this.$$.ctx[13]}set max(e){this.$$set({max:e}),m()}get step(){return this.$$.ctx[14]}set step(e){this.$$set({step:e}),m()}get prefix(){return this.$$.ctx[15]}set prefix(e){this.$$set({prefix:e}),m()}get suffix(){return this.$$.ctx[16]}set suffix(e){this.$$set({suffix:e}),m()}get debounce(){return this.$$.ctx[39]}set debounce(e){this.$$set({debounce:e}),m()}get maxlength(){return this.$$.ctx[17]}set maxlength(e){this.$$set({maxlength:e}),m()}get id(){return this.$$.ctx[18]}set id(e){this.$$set({id:e}),m()}get mt(){return this.$$.ctx[19]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[20]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[21]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[22]}set ml(e){this.$$set({ml:e}),m()}}customElements.define("goa-input",el);function ar(i){let e,t,r,n,a;return{c(){e=_("div"),t=Z("An official site of the "),r=_("a"),n=Z("Alberta Government"),u(r,"href","https://www.alberta.ca/index.aspx"),u(r,"target",a=`_${i[4]}`),u(e,"data-testid","type"),u(e,"class","site-text")},m(o,l){C(o,e,l),v(e,t),v(e,r),v(r,n)},p(o,l){l&16&&a!==(a=`_${o[4]}`)&&u(r,"target",a)},d(o){o&&L(e)}}}function or(i){let e,t=cr(i[0])+"",r,n,a,o,l,s,c,d,f,g=i[2]&&lr(i);return{c(){e=_("div"),r=Z(t),a=R(),o=_("div"),l=Z("This is a new "),s=_("a"),c=Z("Alberta Government"),f=Z(` service
89
89
  `),g&&g.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(s,"target",d=`_${i[4]}`),u(o,"data-testid","site-text"),u(o,"class","site-text")},m(h,b){C(h,e,b),v(e,r),C(h,a,b),C(h,o,b),v(o,l),v(o,s),v(s,c),v(o,f),g&&g.m(o,null)},p(h,b){b&1&&t!==(t=cr(h[0])+"")&&re(r,t),b&1&&n!==(n="service-type service-type--"+h[0].toLowerCase())&&u(e,"class",n),b&16&&d!==(d=`_${h[4]}`)&&u(s,"target",d),h[2]?g?g.p(h,b):(g=lr(h),g.c(),g.m(o,null)):g&&(g.d(1),g=null)},d(h){h&&L(e),h&&L(a),h&&L(o),g&&g.d()}}}function lr(i){let e,t,r,n,a;return{c(){e=_("span"),t=Z("\u2014 help us improve it by giving "),r=_("a"),n=Z("feedback"),u(r,"href",i[2]),u(r,"target",a=`_${i[5]}`),u(e,"data-testid","feedback")},m(o,l){C(o,e,l),v(e,t),v(e,r),v(r,n)},p(o,l){l&4&&u(r,"href",o[2]),l&32&&a!==(a=`_${o[5]}`)&&u(r,"target",a)},d(o){o&&L(e)}}}function sr(i){let e,t;return{c(){e=_("div"),t=Z(i[1]),u(e,"data-testid","version"),u(e,"class","version")},m(r,n){C(r,e,n),v(e,t)},p(r,n){n&2&&re(t,r[1])},d(r){r&&L(e)}}}function tl(i){let e,t,r,n=["alpha","beta"].includes(i[0]),a,o,l,s,c=i[0]==="live"&&ar(i),d=n&&or(i),f=i[1]&&sr(i);return{c(){e=_("header"),t=_("div"),c&&c.c(),r=R(),d&&d.c(),a=R(),o=_("div"),l=R(),f&&f.c(),this.c=z,u(o,"class","spacer"),u(t,"class","content-container"),u(e,"class","goa-official-site-header"),u(e,"style",s=`--max-content-width: ${i[3]}`)},m(g,h){C(g,e,h),v(e,t),c&&c.m(t,null),v(t,r),d&&d.m(t,null),v(t,a),v(t,o),v(t,l),f&&f.m(t,null)},p(g,[h]){g[0]==="live"?c?c.p(g,h):(c=ar(g),c.c(),c.m(t,r)):c&&(c.d(1),c=null),h&1&&(n=["alpha","beta"].includes(g[0])),n?d?d.p(g,h):(d=or(g),d.c(),d.m(t,a)):d&&(d.d(1),d=null),g[1]?f?f.p(g,h):(f=sr(g),f.c(),f.m(t,null)):f&&(f.d(1),f=null),h&8&&s!==(s=`--max-content-width: ${g[3]}`)&&u(e,"style",s)},i:z,o:z,d(g){g&&L(e),c&&c.d(),d&&d.d(),f&&f.d()}}}function cr(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function il(i,e,t){const[r,n]=fe("Microsite header type",["live","alpha","beta"],!0);let{type:a}=e,{version:o=""}=e,{feedbackurl:l=""}=e,{maxcontentwidth:s="100%"}=e,{headerurltarget:c="blank"}=e,{feedbackurltarget:d="blank"}=e;const[f,g]=fe("URL target values",["self","blank"]);return ae(()=>{setTimeout(()=>n(a),1),g(c),g(d)}),i.$$set=h=>{"type"in h&&t(0,a=h.type),"version"in h&&t(1,o=h.version),"feedbackurl"in h&&t(2,l=h.feedbackurl),"maxcontentwidth"in h&&t(3,s=h.maxcontentwidth),"headerurltarget"in h&&t(4,c=h.headerurltarget),"feedbackurltarget"in h&&t(5,d=h.feedbackurltarget)},[a,o,l,s,c,d]}class rl extends X{constructor(e){super();const t=document.createElement("style");t.textContent=`:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}a{color:var(--goa-color-interactive-default);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}a[target="_blank"]::after{content:"";width:var(--goa-icon-size-s);height:var(--goa-icon-size-s);background-color:var(--goa-color-interactive-default);display:inline-block;margin-left:var(--goa-space-2xs);vertical-align:sub;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20class%3D%22ionicon%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20d%3D%22M384%20224v184a40%2040%200%200%201-40%2040H104a40%2040%200%200%201-40-40V168a40%2040%200%200%201%2040-40h167.48M336%2064h112v112M224%20288%20440%2072%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%2232%22%2F%3E%3C%2Fsvg%3E")
90
90
  center bottom no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20class%3D%22ionicon%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20d%3D%22M384%20224v184a40%2040%200%200%201-40%2040H104a40%2040%200%200%201-40-40V168a40%2040%200%200%201%2040-40h167.48M336%2064h112v112M224%20288%20440%2072%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%2232%22%2F%3E%3C%2Fsvg%3E")
91
- center bottom no-repeat}a[target="_blank"]:hover:after{background-color:var(--goa-color-interactive-hover)}.goa-official-site-header{font-size:var(--goa-font-size-2);background-color:var(--goa-color-greyscale-100);padding:0.5rem 1rem}.content-container{display:flex;align-items:start;justify-content:space-between;max-width:min(var(--max-content-width), 100%);margin:0 auto}@media screen and (max-width: 623px){@media not (max-color:2147477350){.goa-official-site-header{padding:0.25rem 2rem}.content-container{align-items:center}}}@media not screen and (max-width: 623px){@media not (color:2147477350){.goa-official-site-header{padding:0.25rem 2rem}.content-container{align-items:center}}}@media screen and (min-width: 1024px){.goa-official-site-header{padding:0.25rem 4.5rem}}.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-warning-default);color:var(--goa-color-text-default)}.service-type--beta{background-color:var(--goa-color-brand-default);color:var(--goa-color-text-light)}.site-text{color:var(--goa-color-text-default);line-height:1.25rem}`,this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:Q(this.attributes),customElement:!0},il,tl,K,{type:0,version:1,feedbackurl:2,maxcontentwidth:3,headerurltarget:4,feedbackurltarget:5},null),e&&(e.target&&C(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type","version","feedbackurl","maxcontentwidth","headerurltarget","feedbackurltarget"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),m()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),m()}get maxcontentwidth(){return this.$$.ctx[3]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),m()}get headerurltarget(){return this.$$.ctx[4]}set headerurltarget(e){this.$$set({headerurltarget:e}),m()}get feedbackurltarget(){return this.$$.ctx[5]}set feedbackurltarget(e){this.$$set({feedbackurltarget:e}),m()}}customElements.define("goa-microsite-header",rl);function dr(i){let e,t,r,n,a,o,l,s,c,d,f,g,h,b,y,p,w,H,S,P,E,x,T,M,A=i[3]!==null&&ur(i);function O(D,V){return D[1]?al:nl}let W=O(i),oe=W(i),$=i[9]&&fr(i);return{c(){e=_("goa-focus-trap"),t=_("div"),r=_("div"),n=R(),a=_("div"),A&&A.c(),o=R(),l=_("div"),s=_("header"),c=_("div"),oe.c(),d=R(),$&&$.c(),f=R(),g=_("div"),h=_("goa-scrollable"),h.innerHTML="<slot></slot>",b=R(),y=_("div"),y.innerHTML='<slot name="actions"></slot>',u(r,"data-testid","modal-overlay"),u(r,"class","modal-overlay"),u(c,"data-testid","modal-title"),u(c,"class","modal-title"),k(h,"direction","vertical"),k(h,"hpadding","1.9rem"),k(h,"maxheight","70vh"),u(g,"data-testid","modal-content"),u(g,"class","modal-content"),u(y,"class","modal-actions"),u(y,"data-testid","modal-actions"),u(l,"class","content"),u(a,"class","modal-pane"),u(t,"data-testid","modal"),u(t,"class","modal"),u(t,"style",H=`--maxwidth: ${i[0]};`),k(e,"open",i[2])},m(D,V){C(D,e,V),v(e,t),v(t,r),v(t,n),v(t,a),A&&A.m(a,null),v(a,o),v(a,l),v(l,s),v(s,c),oe.m(c,null),v(s,d),$&&$.m(s,null),i[17](s),v(l,f),v(l,g),v(g,h),i[18](h),i[19](g),v(l,b),v(l,y),i[20](t),x=!0,T||(M=[j(r,"click",i[12]),j(h,"_scroll",i[13]),ei(S=Ai.call(null,t,{enable:i[7]}))],T=!0)},p(D,V){i=D,i[3]!==null?A?A.p(i,V):(A=ur(i),A.c(),A.m(a,o)):A&&(A.d(1),A=null),W===(W=O(i))&&oe?oe.p(i,V):(oe.d(1),oe=W(i),oe&&(oe.c(),oe.m(c,null))),i[9]?$?$.p(i,V):($=fr(i),$.c(),$.m(s,null)):$&&($.d(1),$=null),(!x||V&1&&H!==(H=`--maxwidth: ${i[0]};`))&&u(t,"style",H),S&&Ze(S.update)&&V&128&&S.update.call(null,{enable:i[7]}),(!x||V&4)&&k(e,"open",i[2])},i(D){x||(De(()=>{!x||(w&&w.end(1),p=ui(a,Si,{duration:i[11],y:200}),p.start())}),De(()=>{!x||(E&&E.end(1),P=ui(t,ot,{duration:i[11]}),P.start())}),x=!0)},o(D){p&&p.invalidate(),w=fi(a,Si,{delay:i[11],duration:i[11],y:-100}),P&&P.invalidate(),E=fi(t,ot,{delay:i[11],duration:i[11]}),x=!1},d(D){D&&L(e),A&&A.d(),oe.d(),$&&$.d(),i[17](null),i[18](null),i[19](null),D&&w&&w.end(),i[20](null),D&&E&&E.end(),T=!1,Ce(M)}}}function ur(i){let e,t,r,n;return{c(){e=_("div"),t=_("goa-icon"),k(t,"type",i[10]),k(t,"inverted",r=i[3]==="important"?"false":"true"),u(e,"class",n="callout-bar "+i[3])},m(a,o){C(a,e,o),v(e,t)},p(a,o){o&1024&&k(t,"type",a[10]),o&8&&r!==(r=a[3]==="important"?"false":"true")&&k(t,"inverted",r),o&8&&n!==(n="callout-bar "+a[3])&&u(e,"class",n)},d(a){a&&L(e)}}}function nl(i){let e;return{c(){e=_("slot"),u(e,"name","heading")},m(t,r){C(t,e,r)},p:z,d(t){t&&L(e)}}}function al(i){let e;return{c(){e=Z(i[1])},m(t,r){C(t,e,r)},p(t,r){r&2&&re(e,t[1])},d(t){t&&L(e)}}}function fr(i){let e,t,r,n;return{c(){e=_("div"),t=_("goa-icon-button"),k(t,"data-testid","modal-close-button"),k(t,"icon","close"),k(t,"variant","nocolor"),u(e,"class","modal-close")},m(a,o){C(a,e,o),v(e,t),r||(n=j(t,"click",i[12]),r=!0)},p:z,d(a){a&&L(e),r=!1,n()}}}function ol(i){let e,t,r=i[7]&&dr(i);return{c(){r&&r.c(),e=He(),this.c=z},m(n,a){r&&r.m(n,a),C(n,e,a),t=!0},p(n,[a]){n[7]?r?(r.p(n,a),a&128&&ce(r,1)):(r=dr(n),r.c(),ce(r,1),r.m(e.parentNode,e)):r&&(Ge(),pe(r,1,1,()=>{r=null}),Ke())},i(n){t||(ce(r),t=!0)},o(n){pe(r),t=!1},d(n){r&&r.d(n),n&&L(e)}}}function ll(i,e,t){let r,n,a,{heading:o=""}=e,{closable:l="false"}=e,{open:s="false"}=e,{transition:c="none"}=e,{calloutvariant:d=null}=e,{maxwidth:f="60ch"}=e,{width:g=""}=e,h=null,b=null,y=null,p=null;const[w,H]=fe("Callout variant",["emergency","important","information","success","event"]),[S,P]=fe("Modal transition",["fast","slow","none"]);let E=!1;ae(async()=>{await xe(),H(d),P(c),g&&(t(0,f=g),console.warn("`width` is deprecated. Please use `maxwidth` instead."))});function x(D){!r||(h?.dispatchEvent(new CustomEvent("_close",{composed:!0})),D.stopPropagation())}const T=D=>{switch(D.key){case"Escape":x(D),D.preventDefault();break}};function M(D){const V=D.detail.scrollHeight>D.detail.offsetHeight;if(E&&V){const q=D.detail.scrollTop==0,le=Math.abs(D.detail.scrollHeight-D.detail.scrollTop-D.detail.offsetHeight)<1;b.classList.remove("scroll-top","scroll-bottom","scroll-middle"),q?b.classList.add("scroll-top"):le?b.classList.add("scroll-bottom"):b.classList.add("scroll-middle")}}function A(){const D=p.querySelector("slot");return D?[...D.assignedElements()]:[...p.children]}function O(D){ee[D?"unshift":"push"](()=>{p=D,t(6,p),t(7,E),t(2,s)})}function W(D){ee[D?"unshift":"push"](()=>{y=D,t(5,y),t(7,E),t(2,s)})}function oe(D){ee[D?"unshift":"push"](()=>{b=D,t(4,b),t(7,E),t(2,s)})}function $(D){ee[D?"unshift":"push"](()=>{h=D,t(8,h),t(7,E),t(2,s)})}return i.$$set=D=>{"heading"in D&&t(1,o=D.heading),"closable"in D&&t(14,l=D.closable),"open"in D&&t(2,s=D.open),"transition"in D&&t(15,c=D.transition),"calloutvariant"in D&&t(3,d=D.calloutvariant),"maxwidth"in D&&t(0,f=D.maxwidth),"width"in D&&t(16,g=D.width)},i.$$.update=()=>{if(i.$$.dirty&16384&&t(9,r=se(l)),i.$$.dirty&4&&setTimeout(()=>t(7,E=se(s)),1),i.$$.dirty&128&&(E||(t(4,b=t(5,y=t(8,h=t(6,p=null)))),window.removeEventListener("keydown",T))),i.$$.dirty&176&&E&&y&&b&&y.scrollHeight>y.offsetHeight&&b.classList.add("scroll-top"),i.$$.dirty&208&&E&&b){window.addEventListener("keydown",T);const D=A();(p.querySelector("div.modal-title").textContent||p.querySelector("div.modal-close")||D.length)&&p.classList.add("has-content")}i.$$.dirty&32768&&t(11,n=c==="none"?0:c==="slow"?400:200),i.$$.dirty&8&&t(10,a=d==="emergency"?"warning":d==="important"?"alert-circle":d==="information"?"information-circle":d==="success"?"checkmark-circle":d==="event"?"calendar":"")},[f,o,s,d,b,y,p,E,h,r,a,n,x,M,l,c,g,O,W,oe,$]}class sl extends X{constructor(e){super();const t=document.createElement("style");t.textContent=":host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}:host *{box-sizing:border-box}.modal{font-family:var(--goa-font-family-sans);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-emergency-default)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default)}.event{background-color:var(--goa-color-info-default)}.success{background-color:var(--goa-color-success-default)}.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:var(--goa-space-xl)}.content header{display:flex;justify-content:space-between}.content header.has-content{margin-bottom:var(--goa-space-l)}@media screen and (max-width: 623px){.content{margin:var(--goa-space-l)}.content header.has-content{margin-bottom:var(--goa-space-m)}.modal-actions ::slotted(*){padding:var(--goa-space-l) 0 0}}@media screen and (min-width: 1024px){.modal-pane{max-width:var(--maxwidth)}}.modal-pane{background-color:#fff;z-index:1001;width:90%;display:flex;box-shadow:var(--goa-shadow-modal);border-radius:4px;border:1px solid var(--goa-color-greyscale-700)}.modal-actions ::slotted(*){padding:var(--goa-space-xl) 0 0}.modal-content{margin:0 -2rem;line-height:1.75rem}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-title{font:var(--goa-typography-heading-m)}.modal-close{padding-left:var(--goa-space-m);margin-top:var(--goa-space-2xs)}.scroll-top{box-shadow:inset 0px -8px 6px -6px rgba(0, 0, 0, 0.1)}.scroll-middle{box-shadow:inset 0px -8px 6px -6px rgba(0, 0, 0, 0.1), inset 0px 8px 6px -6px rgba(0, 0, 0, 0.1)}.scroll-bottom{box-shadow:inset 0px 8px 6px -6px rgba(0, 0, 0, 0.1)}",this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:Q(this.attributes),customElement:!0},ll,ol,K,{heading:1,closable:14,open:2,transition:15,calloutvariant:3,maxwidth:0,width:16},null),e&&(e.target&&C(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["heading","closable","open","transition","calloutvariant","maxwidth","width"]}get heading(){return this.$$.ctx[1]}set heading(e){this.$$set({heading:e}),m()}get closable(){return this.$$.ctx[14]}set closable(e){this.$$set({closable:e}),m()}get open(){return this.$$.ctx[2]}set open(e){this.$$set({open:e}),m()}get transition(){return this.$$.ctx[15]}set transition(e){this.$$set({transition:e}),m()}get calloutvariant(){return this.$$.ctx[3]}set calloutvariant(e){this.$$set({calloutvariant:e}),m()}get maxwidth(){return this.$$.ctx[0]}set maxwidth(e){this.$$set({maxwidth:e}),m()}get width(){return this.$$.ctx[16]}set width(e){this.$$set({width:e}),m()}}customElements.define("goa-modal",sl);function gr(i){let e,t,r,n,a,o,l,s,c,d,f,g,h,b,y,p,w,H;return{c(){e=_("div"),t=_("div"),r=_("div"),n=_("goa-icon"),o=R(),l=_("div"),l.innerHTML="<slot></slot>",s=R(),c=_("div"),d=_("button"),f=_("goa-icon"),k(n,"type",i[4]),k(n,"inverted",a=i[0]==="important"?"false":"true"),u(r,"class","icon"),u(l,"class","content"),k(f,"type","close"),k(f,"inverted",g=i[0]==="important"?"false":"true"),u(d,"class",i[0]),u(c,"class","close"),u(t,"class","content-container"),u(t,"role","alert"),u(t,"aria-live",i[2]),u(t,"aria-atomic","true"),u(e,"class",h="notification "+i[0]),u(e,"style",b=`--max-content-width: ${i[1]}`)},m(S,P){C(S,e,P),v(e,t),v(t,r),v(r,n),v(t,o),v(t,l),v(t,s),v(t,c),v(c,d),v(d,f),p=!0,w||(H=j(d,"click",i[5]),w=!0)},p(S,P){(!p||P&16)&&k(n,"type",S[4]),(!p||P&1&&a!==(a=S[0]==="important"?"false":"true"))&&k(n,"inverted",a),(!p||P&1&&g!==(g=S[0]==="important"?"false":"true"))&&k(f,"inverted",g),(!p||P&1)&&u(d,"class",S[0]),(!p||P&4)&&u(t,"aria-live",S[2]),(!p||P&1&&h!==(h="notification "+S[0]))&&u(e,"class",h),(!p||P&2&&b!==(b=`--max-content-width: ${S[1]}`))&&u(e,"style",b)},i(S){p||(De(()=>{!p||(y||(y=St(e,ot,{},!0)),y.run(1))}),p=!0)},o(S){y||(y=St(e,ot,{},!1)),y.run(0),p=!1},d(S){S&&L(e),S&&y&&y.end(),w=!1,H()}}}function cl(i){let e,t,r=i[3]&&gr(i);return{c(){r&&r.c(),e=He(),this.c=z},m(n,a){r&&r.m(n,a),C(n,e,a),t=!0},p(n,[a]){n[3]?r?(r.p(n,a),a&8&&ce(r,1)):(r=gr(n),r.c(),ce(r,1),r.m(e.parentNode,e)):r&&(Ge(),pe(r,1,1,()=>{r=null}),Ke())},i(n){t||(ce(r),t=!0)},o(n){pe(r),t=!1},d(n){r&&r.d(n),n&&L(e)}}}function dl(i,e,t){let r;const[n,a]=fe("Notification type",["emergency","important","information","event"],!0),[o,l]=fe("Aria-Live type",["assertive","off","polite"],!0);let{type:s=""}=e,{maxcontentwidth:c="100%"}=e,{arialive:d="polite"}=e,f=!0;ae(()=>{l(d),setTimeout(()=>a(s),1)});function g(h){t(3,f=!1),h.target.dispatchEvent(new CustomEvent("_dismiss",{composed:!0})),h.stopPropagation()}return i.$$set=h=>{"type"in h&&t(0,s=h.type),"maxcontentwidth"in h&&t(1,c=h.maxcontentwidth),"arialive"in h&&t(2,d=h.arialive)},i.$$.update=()=>{i.$$.dirty&1&&t(4,r=s==="emergency"?"warning":s==="important"?"alert-circle":s==="information"?"information-circle":s==="event"?"calendar":"")},[s,c,d,f,r,g]}class ul extends X{constructor(e){super();const t=document.createElement("style");t.textContent=":host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{padding:var(--goa-space-l) var(--goa-space-m);display:flex}@media screen and (max-width: 623px){@media not (max-color:2147477350){.notification{padding:var(--goa-space-l) var(--goa-space-xl)}}}@media not screen and (max-width: 623px){@media not (color:2147477350){.notification{padding:var(--goa-space-l) var(--goa-space-xl)}}}@media screen and (min-width: 1024px){.notification{padding:var(--goa-space-l) calc(3 * var(--goa-space-l))}}.emergency{background-color:var(--goa-color-emergency-default);color:var(--goa-color-text-light)}.important{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.information,.event{background-color:var(--goa-color-info-default);color:var(--goa-color-text-light)}.icon{flex:0 0 auto}.content-container{display:flex;flex-direction:row;flex:1 1 auto;gap:var(--goa-space-m);margin:0 auto;max-width:min(var(--max-content-width), 100%)}.content{flex:1 1 auto}::slotted(a){color:unset !important;outline:unset !important}::slotted(a:focus){outline:auto!important;border-radius:var(--goa-border-radius-m)}.notification.important ::slotted(a:focus){outline:unset!important;box-shadow:0 0 0 3px var(--goa-color-greyscale-black);border-radius:var(--goa-border-radius-m)}.close{flex:0 0 auto}.close button{background-color:transparent;border:none;cursor:pointer;padding:var(--goa-space-2xs);margin:0;outline:none;border-radius:var(--goa-border-radius-m);display:inline-flex}.close button.information:hover,.close button.information:focus,.close button.event:hover,.close button.event:focus{background-color:var(--goa-color-info-dark)}.close button.information:focus,.close button.event:focus{box-shadow:0 0 0 3px var(--goa-color-greyscale-white)}.close button.important:hover,.close button.important:focus{background-color:var(--goa-color-warning-dark)}.close button.important:focus{box-shadow:0 0 0 3px var(--goa-color-greyscale-black)}.close button.emergency:hover,.close button.emergency:focus{background-color:var(--goa-color-emergency-dark)}.close button.emergency:focus{box-shadow:0 0 0 3px var(--goa-color-greyscale-white)}",this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:Q(this.attributes),customElement:!0},dl,cl,K,{type:0,maxcontentwidth:1,arialive:2},null),e&&(e.target&&C(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type","maxcontentwidth","arialive"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get maxcontentwidth(){return this.$$.ctx[1]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),m()}get arialive(){return this.$$.ctx[2]}set arialive(e){this.$$set({arialive:e}),m()}}customElements.define("goa-notification",ul);const fl=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function gl(i){return fl.test(i)}function hl(i){let e,t,r;return{c(){e=_("div"),t=_("slot"),this.c=z,u(e,"class","page-content"),u(e,"style",r=`--max-width: ${i[0]}`)},m(n,a){C(n,e,a),v(e,t)},p(n,[a]){a&1&&r!==(r=`--max-width: ${n[0]}`)&&u(e,"style",r)},i:z,o:z,d(n){n&&L(e)}}}function ml(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:a}=e;function o(l){return!!(["full"].includes(n)||gl(l))}return ae(()=>{o(n)||console.error("Invalid PageBlock width"),t(0,a=r[n]||n)}),i.$$set=l=>{"width"in l&&t(1,n=l.width),"_width"in l&&t(0,a=l._width)},[a,n]}class bl extends X{constructor(e){super();const t=document.createElement("style");t.textContent=":host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1rem}@media screen and (max-width: 623px){@media not (max-color:2147477350){.page-content{padding:0 2rem}}}@media not screen and (max-width: 623px){@media not (color:2147477350){.page-content{padding:0 2rem}}}@media screen and (min-width: 1024px){.page-content{padding:0 4.5rem}}",this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:Q(this.attributes),customElement:!0},ml,hl,K,{width:1,_width:0},null),e&&(e.target&&C(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["width","_width"]}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),m()}get _width(){return this.$$.ctx[0]}set _width(e){this.$$set({_width:e}),m()}}customElements.define("goa-page-block",bl);function hr(i,e,t){const r=i.slice();return r[18]=e[t],r[20]=t,r}function mr(i){let e,t,r,n,a,o,l,s,c,d,f={length:i[8]},g=[];for(let h=0;h<f.length;h+=1)g[h]=br(hr(i,f,h));return{c(){e=_("goa-block"),t=_("span"),t.textContent="Page",r=R(),n=_("input"),a=R(),o=_("goa-dropdown");for(let h=0;h<g.length;h+=1)g[h].c();l=R(),s=_("span"),c=Z("of "),d=Z(i[8]),u(n,"type","hidden"),k(o,"value",i[0]),k(o,"width","70px"),k(e,"data-testid","page-selector"),k(e,"alignment","center"),k(e,"gap","s")},m(h,b){C(h,e,b),v(e,t),v(e,r),v(e,n),i[12](n),v(e,a),v(e,o);for(let y=0;y<g.length;y+=1)g[y]&&g[y].m(o,null);i[13](o),v(e,l),v(e,s),v(s,c),v(s,d)},p(h,b){if(b&256){f={length:h[8]};let y;for(y=0;y<f.length;y+=1){const p=hr(h,f,y);g[y]?g[y].p(p,b):(g[y]=br(p),g[y].c(),g[y].m(o,null))}for(;y<g.length;y+=1)g[y].d(1);g.length=f.length}b&1&&k(o,"value",h[0]),b&256&&re(d,h[8])},d(h){h&&L(e),i[12](null),Fe(g,h),i[13](null)}}}function br(i){let e;return{c(){e=_("goa-dropdown-item"),k(e,"value",i[20]+1),k(e,"label",i[20]+1)},m(t,r){C(t,e,r)},p:z,d(t){t&&L(e)}}}function vl(i){let e,t,r,n,a,o,l,s,c,d,f,g,h,b=i[1]==="all"&&mr(i);return{c(){e=_("goa-block"),t=_("div"),b&&b.c(),r=R(),n=_("goa-block"),a=_("goa-button"),o=Z("Previous"),s=R(),c=_("goa-button"),d=Z("Next"),this.c=z,k(a,"type","tertiary"),k(a,"leadingicon","arrow-back"),k(a,"disabled",l=i[0]==1?"true":"false"),k(c,"type","tertiary"),k(c,"trailingicon","arrow-forward"),k(c,"disabled",f=i[0]==i[8]?"true":"false"),k(n,"alignment","center"),k(n,"gap","m"),k(n,"data-testid","page-links"),u(t,"class","controls"),k(e,"id","root"),k(e,"ml",i[5]),k(e,"mr",i[3]),k(e,"mb",i[4]),k(e,"mt",i[2])},m(y,p){C(y,e,p),v(e,t),b&&b.m(t,null),v(t,r),v(t,n),v(n,a),v(a,o),v(n,s),v(n,c),v(c,d),g||(h=[j(a,"click",i[14]),j(c,"click",i[15])],g=!0)},p(y,[p]){y[1]==="all"?b?b.p(y,p):(b=mr(y),b.c(),b.m(t,r)):b&&(b.d(1),b=null),p&1&&l!==(l=y[0]==1?"true":"false")&&k(a,"disabled",l),p&257&&f!==(f=y[0]==y[8]?"true":"false")&&k(c,"disabled",f),p&32&&k(e,"ml",y[5]),p&8&&k(e,"mr",y[3]),p&16&&k(e,"mb",y[4]),p&4&&k(e,"mt",y[2])},i:z,o:z,d(y){y&&L(e),b&&b.d(),g=!1,Ce(h)}}}function pl(i,e,t){let r;const[n,a]=fe("Pagination variant",["all","links-only"]);let{pagenumber:o}=e,{itemcount:l}=e,{perpagecount:s=10}=e,{variant:c="all"}=e,{mt:d=null}=e,{mr:f=null}=e,{mb:g="m"}=e,{ml:h=null}=e,b=null,y=null;ae(async()=>{await xe(),vt("GoAPagination",{itemcount:l,pagenumber:o}),a(c),b&&b.addEventListener("_change",E=>{const x=Number.parseInt(E.detail.value);E.stopPropagation(),y.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:x}}))})});function p(E,x){const T=Number.parseInt(o+"")+x;T>0&&T<=r&&E.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:T}})),E.preventDefault()}function w(E){ee[E?"unshift":"push"](()=>{y=E,t(7,y)})}function H(E){ee[E?"unshift":"push"](()=>{b=E,t(6,b)})}const S=E=>p(E,-1),P=E=>p(E,1);return i.$$set=E=>{"pagenumber"in E&&t(0,o=E.pagenumber),"itemcount"in E&&t(10,l=E.itemcount),"perpagecount"in E&&t(11,s=E.perpagecount),"variant"in E&&t(1,c=E.variant),"mt"in E&&t(2,d=E.mt),"mr"in E&&t(3,f=E.mr),"mb"in E&&t(4,g=E.mb),"ml"in E&&t(5,h=E.ml)},i.$$.update=()=>{i.$$.dirty&3072&&t(8,r=Math.ceil(l/s))},[o,c,d,f,g,h,b,y,r,p,l,s,w,H,S,P]}class vr extends X{constructor(e){super();const t=document.createElement("style");t.textContent="span{white-space:nowrap}.controls{display:flex;gap:1rem;flex-direction:column;align-items:center;width:100%}@media screen and (max-width: 623px){@media not (max-color:2147477350){.controls{flex-direction:row;justify-content:space-between}}}@media not screen and (max-width: 623px){@media not (color:2147477350){.controls{flex-direction:row;justify-content:space-between}}}",this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:Q(this.attributes),customElement:!0},pl,vl,K,{pagenumber:0,itemcount:10,perpagecount:11,variant:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&C(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["pagenumber","itemcount","perpagecount","variant","mt","mr","mb","ml"]}get pagenumber(){return this.$$.ctx[0]}set pagenumber(e){this.$$set({pagenumber:e}),m()}get itemcount(){return this.$$.ctx[10]}set itemcount(e){this.$$set({itemcount:e}),m()}get perpagecount(){return this.$$.ctx[11]}set perpagecount(e){this.$$set({perpagecount:e}),m()}get variant(){return this.$$.ctx[1]}set variant(e){this.$$set({variant:e}),m()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),m()}}customElements.define("goa-pagination",vr);function pr(i){let e,t,r,n,a,o,l,s,c,d;return{c(){e=_("div"),t=R(),r=_("div"),n=_("section"),a=_("goa-focus-trap"),o=_("div"),o.innerHTML="<slot></slot>",u(e,"data-testid","popover-background"),u(e,"class","popover-background"),k(a,"open","true"),u(n,"data-testid","popover-content"),u(n,"class","popover-content"),u(n,"style",l=`
91
+ center bottom no-repeat}a[target="_blank"]:hover:after{background-color:var(--goa-color-interactive-hover)}.goa-official-site-header{font-size:var(--goa-font-size-2);background-color:var(--goa-color-greyscale-100);padding:0.5rem 1rem}.content-container{display:flex;align-items:start;justify-content:space-between;max-width:min(var(--max-content-width), 100%);margin:0 auto}@media screen and (max-width: 623px){@media not (max-color:2147477350){.goa-official-site-header{padding:0.25rem 2rem}.content-container{align-items:center}}}@media not screen and (max-width: 623px){@media not (color:2147477350){.goa-official-site-header{padding:0.25rem 2rem}.content-container{align-items:center}}}@media screen and (min-width: 1024px){.goa-official-site-header{padding:0.25rem 4.5rem}}.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-warning-default);color:var(--goa-color-text-default)}.service-type--beta{background-color:var(--goa-color-brand-default);color:var(--goa-color-text-light)}.site-text{color:var(--goa-color-text-default);line-height:1.25rem}`,this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:Q(this.attributes),customElement:!0},il,tl,K,{type:0,version:1,feedbackurl:2,maxcontentwidth:3,headerurltarget:4,feedbackurltarget:5},null),e&&(e.target&&C(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type","version","feedbackurl","maxcontentwidth","headerurltarget","feedbackurltarget"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),m()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),m()}get maxcontentwidth(){return this.$$.ctx[3]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),m()}get headerurltarget(){return this.$$.ctx[4]}set headerurltarget(e){this.$$set({headerurltarget:e}),m()}get feedbackurltarget(){return this.$$.ctx[5]}set feedbackurltarget(e){this.$$set({feedbackurltarget:e}),m()}}customElements.define("goa-microsite-header",rl);function dr(i){let e,t,r,n,a,o,l,s,c,d,f,g,h,b,y,p,w,H,S,P,E,x,T,M,A=i[3]!==null&&ur(i);function O(D,V){return D[1]?al:nl}let W=O(i),oe=W(i),$=i[9]&&fr(i);return{c(){e=_("goa-focus-trap"),t=_("div"),r=_("div"),n=R(),a=_("div"),A&&A.c(),o=R(),l=_("div"),s=_("header"),c=_("div"),oe.c(),d=R(),$&&$.c(),f=R(),g=_("div"),h=_("goa-scrollable"),h.innerHTML="<slot></slot>",b=R(),y=_("div"),y.innerHTML='<slot name="actions"></slot>',u(r,"data-testid","modal-overlay"),u(r,"class","modal-overlay"),u(c,"data-testid","modal-title"),u(c,"class","modal-title"),k(h,"direction","vertical"),k(h,"hpadding","1.9rem"),k(h,"maxheight","70vh"),u(g,"data-testid","modal-content"),u(g,"class","modal-content"),u(y,"class","modal-actions"),u(y,"data-testid","modal-actions"),u(l,"class","content"),u(a,"class","modal-pane"),u(t,"data-testid","modal"),u(t,"class","modal"),u(t,"style",H=`--maxwidth: ${i[0]};`),k(e,"open",i[2])},m(D,V){C(D,e,V),v(e,t),v(t,r),v(t,n),v(t,a),A&&A.m(a,null),v(a,o),v(a,l),v(l,s),v(s,c),oe.m(c,null),v(s,d),$&&$.m(s,null),i[17](s),v(l,f),v(l,g),v(g,h),i[18](h),i[19](g),v(l,b),v(l,y),i[20](t),x=!0,T||(M=[j(r,"click",i[12]),j(h,"_scroll",i[13]),ei(S=Ai.call(null,t,{enable:i[7]}))],T=!0)},p(D,V){i=D,i[3]!==null?A?A.p(i,V):(A=ur(i),A.c(),A.m(a,o)):A&&(A.d(1),A=null),W===(W=O(i))&&oe?oe.p(i,V):(oe.d(1),oe=W(i),oe&&(oe.c(),oe.m(c,null))),i[9]?$?$.p(i,V):($=fr(i),$.c(),$.m(s,null)):$&&($.d(1),$=null),(!x||V&1&&H!==(H=`--maxwidth: ${i[0]};`))&&u(t,"style",H),S&&Ze(S.update)&&V&128&&S.update.call(null,{enable:i[7]}),(!x||V&4)&&k(e,"open",i[2])},i(D){x||(De(()=>{!x||(w&&w.end(1),p=ui(a,Si,{duration:i[11],y:200}),p.start())}),De(()=>{!x||(E&&E.end(1),P=ui(t,ot,{duration:i[11]}),P.start())}),x=!0)},o(D){p&&p.invalidate(),w=fi(a,Si,{delay:i[11],duration:i[11],y:-100}),P&&P.invalidate(),E=fi(t,ot,{delay:i[11],duration:i[11]}),x=!1},d(D){D&&L(e),A&&A.d(),oe.d(),$&&$.d(),i[17](null),i[18](null),i[19](null),D&&w&&w.end(),i[20](null),D&&E&&E.end(),T=!1,Ce(M)}}}function ur(i){let e,t,r,n;return{c(){e=_("div"),t=_("goa-icon"),k(t,"type",i[10]),k(t,"inverted",r=i[3]==="important"?"false":"true"),u(e,"class",n="callout-bar "+i[3])},m(a,o){C(a,e,o),v(e,t)},p(a,o){o&1024&&k(t,"type",a[10]),o&8&&r!==(r=a[3]==="important"?"false":"true")&&k(t,"inverted",r),o&8&&n!==(n="callout-bar "+a[3])&&u(e,"class",n)},d(a){a&&L(e)}}}function nl(i){let e;return{c(){e=_("slot"),u(e,"name","heading")},m(t,r){C(t,e,r)},p:z,d(t){t&&L(e)}}}function al(i){let e;return{c(){e=Z(i[1])},m(t,r){C(t,e,r)},p(t,r){r&2&&re(e,t[1])},d(t){t&&L(e)}}}function fr(i){let e,t,r,n;return{c(){e=_("div"),t=_("goa-icon-button"),k(t,"data-testid","modal-close-button"),k(t,"icon","close"),k(t,"variant","nocolor"),u(e,"class","modal-close")},m(a,o){C(a,e,o),v(e,t),r||(n=j(t,"click",i[12]),r=!0)},p:z,d(a){a&&L(e),r=!1,n()}}}function ol(i){let e,t,r=i[7]&&dr(i);return{c(){r&&r.c(),e=He(),this.c=z},m(n,a){r&&r.m(n,a),C(n,e,a),t=!0},p(n,[a]){n[7]?r?(r.p(n,a),a&128&&ce(r,1)):(r=dr(n),r.c(),ce(r,1),r.m(e.parentNode,e)):r&&(Ge(),pe(r,1,1,()=>{r=null}),Ke())},i(n){t||(ce(r),t=!0)},o(n){pe(r),t=!1},d(n){r&&r.d(n),n&&L(e)}}}function ll(i,e,t){let r,n,a,{heading:o=""}=e,{closable:l="false"}=e,{open:s="false"}=e,{transition:c="none"}=e,{calloutvariant:d=null}=e,{maxwidth:f="60ch"}=e,{width:g=""}=e,h=null,b=null,y=null,p=null;const[w,H]=fe("Callout variant",["emergency","important","information","success","event"]),[S,P]=fe("Modal transition",["fast","slow","none"]);let E=!1;ae(async()=>{await xe(),H(d),P(c),g&&(t(0,f=g),console.warn("`width` is deprecated. Please use `maxwidth` instead."))});function x(D){!r||(h?.dispatchEvent(new CustomEvent("_close",{composed:!0})),D.stopPropagation())}const T=D=>{switch(D.key){case"Escape":x(D),D.preventDefault();break}};function M(D){const V=D.detail.scrollHeight>D.detail.offsetHeight;if(E&&V){const q=D.detail.scrollTop==0,le=Math.abs(D.detail.scrollHeight-D.detail.scrollTop-D.detail.offsetHeight)<1;b.classList.remove("scroll-top","scroll-bottom","scroll-middle"),q?b.classList.add("scroll-top"):le?b.classList.add("scroll-bottom"):b.classList.add("scroll-middle")}}function A(){const D=p.querySelector("slot");return D?[...D.assignedElements()]:[...p.children]}function O(D){ee[D?"unshift":"push"](()=>{p=D,t(6,p),t(7,E),t(2,s)})}function W(D){ee[D?"unshift":"push"](()=>{y=D,t(5,y),t(7,E),t(2,s)})}function oe(D){ee[D?"unshift":"push"](()=>{b=D,t(4,b),t(7,E),t(2,s)})}function $(D){ee[D?"unshift":"push"](()=>{h=D,t(8,h),t(7,E),t(2,s)})}return i.$$set=D=>{"heading"in D&&t(1,o=D.heading),"closable"in D&&t(14,l=D.closable),"open"in D&&t(2,s=D.open),"transition"in D&&t(15,c=D.transition),"calloutvariant"in D&&t(3,d=D.calloutvariant),"maxwidth"in D&&t(0,f=D.maxwidth),"width"in D&&t(16,g=D.width)},i.$$.update=()=>{if(i.$$.dirty&16384&&t(9,r=se(l)),i.$$.dirty&4&&setTimeout(()=>t(7,E=se(s)),1),i.$$.dirty&128&&(E||(t(4,b=t(5,y=t(8,h=t(6,p=null)))),window.removeEventListener("keydown",T))),i.$$.dirty&176&&E&&y&&b&&y.scrollHeight>y.offsetHeight&&b.classList.add("scroll-top"),i.$$.dirty&208&&E&&b){window.addEventListener("keydown",T);const D=A();(p.querySelector("div.modal-title").textContent||p.querySelector("div.modal-close")||D.length)&&p.classList.add("has-content")}i.$$.dirty&32768&&t(11,n=c==="none"?0:c==="slow"?400:200),i.$$.dirty&8&&t(10,a=d==="emergency"?"warning":d==="important"?"alert-circle":d==="information"?"information-circle":d==="success"?"checkmark-circle":d==="event"?"calendar":"")},[f,o,s,d,b,y,p,E,h,r,a,n,x,M,l,c,g,O,W,oe,$]}class sl extends X{constructor(e){super();const t=document.createElement("style");t.textContent=":host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}:host *{box-sizing:border-box}.modal{font-family:var(--goa-font-family-sans);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-emergency-default)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default)}.event{background-color:var(--goa-color-info-default)}.success{background-color:var(--goa-color-success-default)}.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:var(--goa-space-xl)}.content header{display:flex;justify-content:space-between}.content header.has-content{margin-bottom:var(--goa-space-l)}@media screen and (max-width: 623px){.content{margin:var(--goa-space-l)}.content header.has-content{margin-bottom:var(--goa-space-m)}.modal-actions ::slotted(*){padding:var(--goa-space-l) 0 0}}@media screen and (min-width: 1024px){.modal-pane{max-width:var(--maxwidth)}}.modal-pane{background-color:#fff;z-index:1001;width:90%;display:flex;box-shadow:var(--goa-shadow-modal);border-radius:4px;border:1px solid var(--goa-color-greyscale-700)}.modal-actions ::slotted(*){padding:var(--goa-space-xl) 0 0}.modal-content{margin:0 -2rem;line-height:1.75rem}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-title{font:var(--goa-typography-heading-m)}.modal-close{padding-left:var(--goa-space-m);margin-top:var(--goa-space-2xs)}.scroll-top{box-shadow:inset 0px -8px 6px -6px rgba(0, 0, 0, 0.1)}.scroll-middle{box-shadow:inset 0px -8px 6px -6px rgba(0, 0, 0, 0.1), inset 0px 8px 6px -6px rgba(0, 0, 0, 0.1)}.scroll-bottom{box-shadow:inset 0px 8px 6px -6px rgba(0, 0, 0, 0.1)}",this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:Q(this.attributes),customElement:!0},ll,ol,K,{heading:1,closable:14,open:2,transition:15,calloutvariant:3,maxwidth:0,width:16},null),e&&(e.target&&C(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["heading","closable","open","transition","calloutvariant","maxwidth","width"]}get heading(){return this.$$.ctx[1]}set heading(e){this.$$set({heading:e}),m()}get closable(){return this.$$.ctx[14]}set closable(e){this.$$set({closable:e}),m()}get open(){return this.$$.ctx[2]}set open(e){this.$$set({open:e}),m()}get transition(){return this.$$.ctx[15]}set transition(e){this.$$set({transition:e}),m()}get calloutvariant(){return this.$$.ctx[3]}set calloutvariant(e){this.$$set({calloutvariant:e}),m()}get maxwidth(){return this.$$.ctx[0]}set maxwidth(e){this.$$set({maxwidth:e}),m()}get width(){return this.$$.ctx[16]}set width(e){this.$$set({width:e}),m()}}customElements.define("goa-modal",sl);function gr(i){let e,t,r,n,a,o,l,s,c,d,f,g,h,b,y,p,w,H;return{c(){e=_("div"),t=_("div"),r=_("div"),n=_("goa-icon"),o=R(),l=_("div"),l.innerHTML="<slot></slot>",s=R(),c=_("div"),d=_("button"),f=_("goa-icon"),k(n,"type",i[4]),k(n,"inverted",a=i[0]==="important"?"false":"true"),u(r,"class","icon"),u(l,"class","content"),k(f,"type","close"),k(f,"inverted",g=i[0]==="important"?"false":"true"),u(d,"class",i[0]),u(c,"class","close"),u(t,"class","content-container"),u(t,"role","alert"),u(t,"aria-live",i[2]),u(t,"aria-atomic","true"),u(e,"class",h="notification "+i[0]),u(e,"style",b=`--max-content-width: ${i[1]}`)},m(S,P){C(S,e,P),v(e,t),v(t,r),v(r,n),v(t,o),v(t,l),v(t,s),v(t,c),v(c,d),v(d,f),p=!0,w||(H=j(d,"click",i[5]),w=!0)},p(S,P){(!p||P&16)&&k(n,"type",S[4]),(!p||P&1&&a!==(a=S[0]==="important"?"false":"true"))&&k(n,"inverted",a),(!p||P&1&&g!==(g=S[0]==="important"?"false":"true"))&&k(f,"inverted",g),(!p||P&1)&&u(d,"class",S[0]),(!p||P&4)&&u(t,"aria-live",S[2]),(!p||P&1&&h!==(h="notification "+S[0]))&&u(e,"class",h),(!p||P&2&&b!==(b=`--max-content-width: ${S[1]}`))&&u(e,"style",b)},i(S){p||(De(()=>{!p||(y||(y=St(e,ot,{},!0)),y.run(1))}),p=!0)},o(S){y||(y=St(e,ot,{},!1)),y.run(0),p=!1},d(S){S&&L(e),S&&y&&y.end(),w=!1,H()}}}function cl(i){let e,t,r=i[3]&&gr(i);return{c(){r&&r.c(),e=He(),this.c=z},m(n,a){r&&r.m(n,a),C(n,e,a),t=!0},p(n,[a]){n[3]?r?(r.p(n,a),a&8&&ce(r,1)):(r=gr(n),r.c(),ce(r,1),r.m(e.parentNode,e)):r&&(Ge(),pe(r,1,1,()=>{r=null}),Ke())},i(n){t||(ce(r),t=!0)},o(n){pe(r),t=!1},d(n){r&&r.d(n),n&&L(e)}}}function dl(i,e,t){let r;const[n,a]=fe("Notification type",["emergency","important","information","event"],!0),[o,l]=fe("Aria-Live type",["assertive","off","polite"],!0);let{type:s=""}=e,{maxcontentwidth:c="100%"}=e,{arialive:d="polite"}=e,f=!0;ae(()=>{l(d),setTimeout(()=>a(s),1)});function g(h){t(3,f=!1),h.target.dispatchEvent(new CustomEvent("_dismiss",{composed:!0})),h.stopPropagation()}return i.$$set=h=>{"type"in h&&t(0,s=h.type),"maxcontentwidth"in h&&t(1,c=h.maxcontentwidth),"arialive"in h&&t(2,d=h.arialive)},i.$$.update=()=>{i.$$.dirty&1&&t(4,r=s==="emergency"?"warning":s==="important"?"alert-circle":s==="information"?"information-circle":s==="event"?"calendar":"")},[s,c,d,f,r,g]}class ul extends X{constructor(e){super();const t=document.createElement("style");t.textContent=":host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{padding:var(--goa-space-l) var(--goa-space-m);display:flex}@media screen and (max-width: 623px){@media not (max-color:2147477350){.notification{padding:var(--goa-space-l) var(--goa-space-xl)}}}@media not screen and (max-width: 623px){@media not (color:2147477350){.notification{padding:var(--goa-space-l) var(--goa-space-xl)}}}@media screen and (min-width: 1024px){.notification{padding:var(--goa-space-l) calc(3 * var(--goa-space-l))}}.emergency{background-color:var(--goa-color-emergency-default);color:var(--goa-color-text-light)}.important{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.information,.event{background-color:var(--goa-color-info-default);color:var(--goa-color-text-light)}.icon{flex:0 0 auto}.content-container{display:flex;flex-direction:row;flex:1 1 auto;gap:var(--goa-space-m);margin:0 auto;max-width:min(var(--max-content-width), 100%)}.content{flex:1 1 auto}::slotted(a){color:unset !important;outline:unset !important}::slotted(a:focus){outline:auto!important;border-radius:var(--goa-border-radius-m)}.notification.important ::slotted(a:focus){outline:unset!important;box-shadow:0 0 0 3px var(--goa-color-greyscale-black);border-radius:var(--goa-border-radius-m)}.close{flex:0 0 auto}.close button{background-color:transparent;border:none;cursor:pointer;padding:var(--goa-space-2xs);margin:0;outline:none;border-radius:var(--goa-border-radius-m);display:inline-flex}.close button.information:hover,.close button.information:focus,.close button.event:hover,.close button.event:focus{background-color:var(--goa-color-info-dark)}.close button.information:focus,.close button.event:focus{box-shadow:0 0 0 3px var(--goa-color-greyscale-white)}.close button.important:hover,.close button.important:focus{background-color:var(--goa-color-warning-dark)}.close button.important:focus{box-shadow:0 0 0 3px var(--goa-color-greyscale-black)}.close button.emergency:hover,.close button.emergency:focus{background-color:var(--goa-color-emergency-dark)}.close button.emergency:focus{box-shadow:0 0 0 3px var(--goa-color-greyscale-white)}",this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:Q(this.attributes),customElement:!0},dl,cl,K,{type:0,maxcontentwidth:1,arialive:2},null),e&&(e.target&&C(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type","maxcontentwidth","arialive"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get maxcontentwidth(){return this.$$.ctx[1]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),m()}get arialive(){return this.$$.ctx[2]}set arialive(e){this.$$set({arialive:e}),m()}}customElements.define("goa-notification",ul);const fl=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function gl(i){return fl.test(i)}function hl(i){let e,t,r;return{c(){e=_("div"),t=_("slot"),this.c=z,u(e,"class","page-content"),u(e,"style",r=`--max-width: ${i[0]}`)},m(n,a){C(n,e,a),v(e,t)},p(n,[a]){a&1&&r!==(r=`--max-width: ${n[0]}`)&&u(e,"style",r)},i:z,o:z,d(n){n&&L(e)}}}function ml(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:a}=e;function o(l){return!!(["full"].includes(n)||gl(l))}return ae(()=>{o(n)||console.error("Invalid PageBlock width"),t(0,a=r[n]||n)}),i.$$set=l=>{"width"in l&&t(1,n=l.width),"_width"in l&&t(0,a=l._width)},[a,n]}class bl extends X{constructor(e){super();const t=document.createElement("style");t.textContent=":host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1rem}@media screen and (max-width: 623px){@media not (max-color:2147477350){.page-content{padding:0 2rem}}}@media not screen and (max-width: 623px){@media not (color:2147477350){.page-content{padding:0 2rem}}}@media screen and (min-width: 1024px){.page-content{padding:0 4.5rem}}",this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:Q(this.attributes),customElement:!0},ml,hl,K,{width:1,_width:0},null),e&&(e.target&&C(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["width","_width"]}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),m()}get _width(){return this.$$.ctx[0]}set _width(e){this.$$set({_width:e}),m()}}customElements.define("goa-page-block",bl);function hr(i,e,t){const r=i.slice();return r[18]=e[t],r[20]=t,r}function mr(i){let e,t,r,n,a,o,l,s,c,d,f={length:i[8]},g=[];for(let h=0;h<f.length;h+=1)g[h]=br(hr(i,f,h));return{c(){e=_("goa-block"),t=_("span"),t.textContent="Page",r=R(),n=_("input"),a=R(),o=_("goa-dropdown");for(let h=0;h<g.length;h+=1)g[h].c();l=R(),s=_("span"),c=Z("of "),d=Z(i[8]),u(n,"type","hidden"),k(o,"value",i[0]),k(e,"data-testid","page-selector"),k(e,"alignment","center"),k(e,"gap","s")},m(h,b){C(h,e,b),v(e,t),v(e,r),v(e,n),i[12](n),v(e,a),v(e,o);for(let y=0;y<g.length;y+=1)g[y]&&g[y].m(o,null);i[13](o),v(e,l),v(e,s),v(s,c),v(s,d)},p(h,b){if(b&256){f={length:h[8]};let y;for(y=0;y<f.length;y+=1){const p=hr(h,f,y);g[y]?g[y].p(p,b):(g[y]=br(p),g[y].c(),g[y].m(o,null))}for(;y<g.length;y+=1)g[y].d(1);g.length=f.length}b&1&&k(o,"value",h[0]),b&256&&re(d,h[8])},d(h){h&&L(e),i[12](null),Fe(g,h),i[13](null)}}}function br(i){let e;return{c(){e=_("goa-dropdown-item"),k(e,"value",i[20]+1),k(e,"label",i[20]+1)},m(t,r){C(t,e,r)},p:z,d(t){t&&L(e)}}}function vl(i){let e,t,r,n,a,o,l,s,c,d,f,g,h,b=i[1]==="all"&&mr(i);return{c(){e=_("goa-block"),t=_("div"),b&&b.c(),r=R(),n=_("goa-block"),a=_("goa-button"),o=Z("Previous"),s=R(),c=_("goa-button"),d=Z("Next"),this.c=z,k(a,"type","tertiary"),k(a,"leadingicon","arrow-back"),k(a,"disabled",l=i[0]==1?"true":"false"),k(c,"type","tertiary"),k(c,"trailingicon","arrow-forward"),k(c,"disabled",f=i[0]==i[8]?"true":"false"),k(n,"alignment","center"),k(n,"gap","m"),k(n,"data-testid","page-links"),u(t,"class","controls"),k(e,"id","root"),k(e,"ml",i[5]),k(e,"mr",i[3]),k(e,"mb",i[4]),k(e,"mt",i[2])},m(y,p){C(y,e,p),v(e,t),b&&b.m(t,null),v(t,r),v(t,n),v(n,a),v(a,o),v(n,s),v(n,c),v(c,d),g||(h=[j(a,"click",i[14]),j(c,"click",i[15])],g=!0)},p(y,[p]){y[1]==="all"?b?b.p(y,p):(b=mr(y),b.c(),b.m(t,r)):b&&(b.d(1),b=null),p&1&&l!==(l=y[0]==1?"true":"false")&&k(a,"disabled",l),p&257&&f!==(f=y[0]==y[8]?"true":"false")&&k(c,"disabled",f),p&32&&k(e,"ml",y[5]),p&8&&k(e,"mr",y[3]),p&16&&k(e,"mb",y[4]),p&4&&k(e,"mt",y[2])},i:z,o:z,d(y){y&&L(e),b&&b.d(),g=!1,Ce(h)}}}function pl(i,e,t){let r;const[n,a]=fe("Pagination variant",["all","links-only"]);let{pagenumber:o}=e,{itemcount:l}=e,{perpagecount:s=10}=e,{variant:c="all"}=e,{mt:d=null}=e,{mr:f=null}=e,{mb:g="m"}=e,{ml:h=null}=e,b=null,y=null;ae(async()=>{await xe(),vt("GoAPagination",{itemcount:l,pagenumber:o}),a(c),b&&b.addEventListener("_change",E=>{const x=Number.parseInt(E.detail.value);E.stopPropagation(),y.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:x}}))})});function p(E,x){const T=Number.parseInt(o+"")+x;T>0&&T<=r&&E.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:T}})),E.preventDefault()}function w(E){ee[E?"unshift":"push"](()=>{y=E,t(7,y)})}function H(E){ee[E?"unshift":"push"](()=>{b=E,t(6,b)})}const S=E=>p(E,-1),P=E=>p(E,1);return i.$$set=E=>{"pagenumber"in E&&t(0,o=E.pagenumber),"itemcount"in E&&t(10,l=E.itemcount),"perpagecount"in E&&t(11,s=E.perpagecount),"variant"in E&&t(1,c=E.variant),"mt"in E&&t(2,d=E.mt),"mr"in E&&t(3,f=E.mr),"mb"in E&&t(4,g=E.mb),"ml"in E&&t(5,h=E.ml)},i.$$.update=()=>{i.$$.dirty&3072&&t(8,r=Math.ceil(l/s))},[o,c,d,f,g,h,b,y,r,p,l,s,w,H,S,P]}class vr extends X{constructor(e){super();const t=document.createElement("style");t.textContent="span{white-space:nowrap}.controls{display:flex;gap:1rem;flex-direction:column;align-items:center;width:100%}@media screen and (max-width: 623px){@media not (max-color:2147477350){.controls{flex-direction:row;justify-content:space-between}}}@media not screen and (max-width: 623px){@media not (color:2147477350){.controls{flex-direction:row;justify-content:space-between}}}",this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:Q(this.attributes),customElement:!0},pl,vl,K,{pagenumber:0,itemcount:10,perpagecount:11,variant:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&C(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["pagenumber","itemcount","perpagecount","variant","mt","mr","mb","ml"]}get pagenumber(){return this.$$.ctx[0]}set pagenumber(e){this.$$set({pagenumber:e}),m()}get itemcount(){return this.$$.ctx[10]}set itemcount(e){this.$$set({itemcount:e}),m()}get perpagecount(){return this.$$.ctx[11]}set perpagecount(e){this.$$set({perpagecount:e}),m()}get variant(){return this.$$.ctx[1]}set variant(e){this.$$set({variant:e}),m()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),m()}}customElements.define("goa-pagination",vr);function pr(i){let e,t,r,n,a,o,l,s,c,d;return{c(){e=_("div"),t=R(),r=_("div"),n=_("section"),a=_("goa-focus-trap"),o=_("div"),o.innerHTML="<slot></slot>",u(e,"data-testid","popover-background"),u(e,"class","popover-background"),k(a,"open","true"),u(n,"data-testid","popover-content"),u(n,"class","popover-content"),u(n,"style",l=`
92
92
  ${Ee("width",i[2])}
93
93
  max-width: ${i[1]};
94
94
  padding: ${i[19]?"var(--goa-space-m)":"0"};