@abgov/web-components 1.0.0-alpha.124 → 1.0.0-alpha.126
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 +5 -5
- package/web-components.umd.js +1 -1
package/package.json
CHANGED
package/web-components.es.js
CHANGED
|
@@ -8228,7 +8228,7 @@ function create_if_block$4(ctx) {
|
|
|
8228
8228
|
let current;
|
|
8229
8229
|
let mounted;
|
|
8230
8230
|
let dispose;
|
|
8231
|
-
let if_block0 = /*calloutvariant*/ ctx[3] !==
|
|
8231
|
+
let if_block0 = /*calloutvariant*/ ctx[3] !== null && create_if_block_4(ctx);
|
|
8232
8232
|
let if_block1 = /*heading*/ ctx[0] && create_if_block_3(ctx);
|
|
8233
8233
|
let if_block2 = /*isClosable*/ ctx[4] && create_if_block_2$1(ctx);
|
|
8234
8234
|
|
|
@@ -8306,7 +8306,7 @@ function create_if_block$4(ctx) {
|
|
|
8306
8306
|
p(new_ctx, dirty) {
|
|
8307
8307
|
ctx = new_ctx;
|
|
8308
8308
|
|
|
8309
|
-
if (/*calloutvariant*/ ctx[3] !==
|
|
8309
|
+
if (/*calloutvariant*/ ctx[3] !== null) {
|
|
8310
8310
|
if (if_block0) {
|
|
8311
8311
|
if_block0.p(ctx, dirty);
|
|
8312
8312
|
} else {
|
|
@@ -8409,7 +8409,7 @@ function create_if_block$4(ctx) {
|
|
|
8409
8409
|
};
|
|
8410
8410
|
}
|
|
8411
8411
|
|
|
8412
|
-
// (65:8) {#if calloutvariant !==
|
|
8412
|
+
// (65:8) {#if calloutvariant !== null}
|
|
8413
8413
|
function create_if_block_4(ctx) {
|
|
8414
8414
|
let div;
|
|
8415
8415
|
let goa_icon;
|
|
@@ -8669,7 +8669,7 @@ function instance$b($$self, $$props, $$invalidate) {
|
|
|
8669
8669
|
class Modal extends SvelteElement {
|
|
8670
8670
|
constructor(options) {
|
|
8671
8671
|
super();
|
|
8672
|
-
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}.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:
|
|
8672
|
+
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-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>`;
|
|
8673
8673
|
|
|
8674
8674
|
init(
|
|
8675
8675
|
this,
|
|
@@ -8962,7 +8962,7 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
|
8962
8962
|
class Notification extends SvelteElement {
|
|
8963
8963
|
constructor(options) {
|
|
8964
8964
|
super();
|
|
8965
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;gap:1rem
|
|
8965
|
+
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>`;
|
|
8966
8966
|
|
|
8967
8967
|
init(
|
|
8968
8968
|
this,
|
package/web-components.umd.js
CHANGED
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
--width: ${T[9]};
|
|
60
60
|
`)&&d(e,"style",k)},i:v,o:v,d(T){T&&z(e),w&&w.d(),E&&E.d(),i[28](null),p&&p.d(),M&&M.d(),L&&L.d(),_=!1,ee(x)}}}function hn(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function gn(i,e,t){let r,n,o,a,l,{type:s="text"}=e,{name:c=""}=e,{value:u=""}=e,{autocapitalize:f="off"}=e,{placeholder:m=""}=e,{leadingicon:k=null}=e,{trailingicon:_=null}=e,{variant:x="goa"}=e,{disabled:w="false"}=e,{handletrailingiconclick:E="false"}=e,{focused:p="false"}=e,{readonly:M="false"}=e,{error:L="false"}=e,{testid:T=""}=e,{width:A="30ch"}=e,{arialabel:q=null}=e,{min:P=null}=e,{max:W=null}=e,{step:Z=null}=e,{prefix:ye=""}=e,{suffix:ze=""}=e,Q;function K(I){const Me=I.target;I.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:c,value:Me.value}})),t(0,u=Me.value)}function $(I){te[I?"unshift":"push"](()=>{Q=I,t(16,Q)})}return i.$$set=I=>{"type"in I&&t(1,s=I.type),"name"in I&&t(2,c=I.name),"value"in I&&t(0,u=I.value),"autocapitalize"in I&&t(3,f=I.autocapitalize),"placeholder"in I&&t(4,m=I.placeholder),"leadingicon"in I&&t(5,k=I.leadingicon),"trailingicon"in I&&t(6,_=I.trailingicon),"variant"in I&&t(7,x=I.variant),"disabled"in I&&t(22,w=I.disabled),"handletrailingiconclick"in I&&t(23,E=I.handletrailingiconclick),"focused"in I&&t(24,p=I.focused),"readonly"in I&&t(25,M=I.readonly),"error"in I&&t(26,L=I.error),"testid"in I&&t(8,T=I.testid),"width"in I&&t(9,A=I.width),"arialabel"in I&&t(10,q=I.arialabel),"min"in I&&t(11,P=I.min),"max"in I&&t(12,W=I.max),"step"in I&&t(13,Z=I.step),"prefix"in I&&t(14,ye=I.prefix),"suffix"in I&&t(15,ze=I.suffix)},i.$$.update=()=>{i.$$.dirty&8388608&&t(20,r=G(E)),i.$$.dirty&16777216&&t(27,n=G(p)),i.$$.dirty&33554432&&t(19,o=G(M)),i.$$.dirty&67108864&&t(18,a=G(L)),i.$$.dirty&4194304&&t(17,l=G(w)),i.$$.dirty&134283264&&n&&Q&&setTimeout(()=>Q.focus(),1),i.$$.dirty&65538&&Q&&s==="search"&&Q.addEventListener("search",I=>{K(I)})},[u,s,c,f,m,k,_,x,T,A,q,P,W,Z,ye,ze,Q,l,a,o,r,K,w,E,p,M,L,n,$]}class mn extends D{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box}.container{position:relative;width:100%}@media(min-width: 640px){.container{width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:var(--input-border-radius);background:white;display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%}.goa-input:hover{border-color:var(--goa-color-interactive--hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text);font-size:var(--input-font-size);padding:var(--input-padding);line-height:calc(40px - calc(var(--input-padding) * 2));background-color:transparent;width:0;flex:1 1 auto}input[type=text],input[type=date],input[type="datetime-local"],input[type=number]{font-family:var(--font-family)}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--color-gray-100);border-color:var(--color-gray-200);cursor:default;box-shadow:none}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}.prefix,.suffix{background-color:var(--color-gray-100);padding:0 0.75rem;display:flex;align-items:center}.prefix{border-top-left-radius:var(--input-border-radius);border-bottom-left-radius:var(--input-border-radius);border-right:1px solid var(--color-gray-600)}.suffix{border-top-right-radius:var(--input-border-radius);border-bottom-right-radius:var(--input-border-radius);border-left:1px solid var(--color-gray-600)}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}input[type="search" i]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
|
|
61
61
|
center center no-repeat}</style>`,O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},gn,fn,S,{type:1,name:2,value:0,autocapitalize:3,placeholder:4,leadingicon:5,trailingicon:6,variant:7,disabled:22,handletrailingiconclick:23,focused:24,readonly:25,error:26,testid:8,width:9,arialabel:10,min:11,max:12,step:13,prefix:14,suffix:15},null),e&&(e.target&&y(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","name","value","autocapitalize","placeholder","leadingicon","trailingicon","variant","disabled","handletrailingiconclick","focused","readonly","error","testid","width","arialabel","min","max","step","prefix","suffix"]}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),h()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get autocapitalize(){return this.$$.ctx[3]}set autocapitalize(e){this.$$set({autocapitalize:e}),h()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),h()}get leadingicon(){return this.$$.ctx[5]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get trailingicon(){return this.$$.ctx[6]}set trailingicon(e){this.$$set({trailingicon:e}),h()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),h()}get disabled(){return this.$$.ctx[22]}set disabled(e){this.$$set({disabled:e}),h()}get handletrailingiconclick(){return this.$$.ctx[23]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),h()}get focused(){return this.$$.ctx[24]}set focused(e){this.$$set({focused:e}),h()}get readonly(){return this.$$.ctx[25]}set readonly(e){this.$$set({readonly:e}),h()}get error(){return this.$$.ctx[26]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[8]}set testid(e){this.$$set({testid:e}),h()}get width(){return this.$$.ctx[9]}set width(e){this.$$set({width:e}),h()}get arialabel(){return this.$$.ctx[10]}set arialabel(e){this.$$set({arialabel:e}),h()}get min(){return this.$$.ctx[11]}set min(e){this.$$set({min:e}),h()}get max(){return this.$$.ctx[12]}set max(e){this.$$set({max:e}),h()}get step(){return this.$$.ctx[13]}set step(e){this.$$set({step:e}),h()}get prefix(){return this.$$.ctx[14]}set prefix(e){this.$$set({prefix:e}),h()}get suffix(){return this.$$.ctx[15]}set suffix(e){this.$$set({suffix:e}),h()}}customElements.define("goa-input",mn);function Vt(i){let e,t,r;return{c(){e=b("div"),e.innerHTML='<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13 26C20.1797 26 26 20.1797 26 13C26 5.8203 20.1797 0 13 0C5.8203 0 0 5.8203 0 13C0 20.1797 5.8203 26 13 26Z" fill="#00AAD2"></path><path d="M16.9764 17.7174C15.942 17.3358 14.9325 16.8896 13.9539 16.3817C14.8446 16.0551 15.7131 15.6708 16.5539 15.2312C16.6398 16.0688 16.7831 16.8995 16.9829 17.7174H16.9764ZM22.5339 7.42143C22.1016 7.36618 22.3259 7.56931 22.2089 8.13968C21.863 9.3075 21.2806 10.3917 20.4978 11.3248C19.7151 12.258 18.7487 13.0201 17.6589 13.5639C17.3972 10.9368 17.5336 8.28529 18.0635 5.69893C18.5104 4.07393 19.0385 4.3778 18.3885 4.03818C17.6946 3.68068 16.9471 4.15356 16.3443 5.35931C14.4174 9.81946 11.7695 13.932 8.50689 17.5322C7.96404 18.2422 7.16875 18.7161 6.28592 18.8556C5.40309 18.9951 4.50044 18.7894 3.76514 18.2813C3.43039 17.9986 3.30689 18.4357 3.72289 18.8826C4.47366 19.5882 5.47211 19.9699 6.50216 19.945C7.53222 19.92 8.51102 19.4905 9.22677 18.7493C12.0405 15.3939 14.429 11.7038 16.3378 7.76268C16.1901 9.91268 16.2243 12.0713 16.4401 14.2156C15.4158 14.7181 14.3475 15.1256 13.2486 15.4327C12.6181 15.5952 12.2281 15.8552 12.2168 16.1461C12.2054 16.4711 12.6279 16.7359 13.2405 17.0252C14.3293 17.5419 17.5191 19.0499 18.3056 19.5066C18.9784 19.8966 19.3066 19.5927 19.5065 19.1702C19.7665 18.6209 19.0531 18.3041 18.369 18.0961C18.0632 16.9353 17.8555 15.7508 17.7483 14.5552C19.4404 13.5939 20.8636 12.2226 21.8871 10.5674C22.1817 9.98406 22.4001 9.36529 22.5371 8.7263C22.6338 8.3321 22.6602 7.92393 22.6151 7.52056C22.6151 7.52056 22.6038 7.43281 22.5371 7.42468" fill="white"></path></svg>',t=R(),r=b("div"),r.innerHTML='An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>',d(e,"class","service-type service-type--live"),d(r,"data-testid","type"),d(r,"class","site-text")},m(n,o){y(n,e,o),y(n,t,o),y(n,r,o)},d(n){n&&z(e),n&&z(t),n&&z(r)}}}function Ut(i){let e,t=Xt(i[0])+"",r,n,o,a,l,s,c,u=i[2]&&Wt(i);return{c(){e=b("div"),r=j(t),o=R(),a=b("div"),l=j("This is a new "),s=b("a"),s.textContent="Alberta Government",c=j(` service
|
|
62
|
-
`),u&&u.c(),d(e,"data-testid","type"),d(e,"class",n="service-type service-type--"+i[0].toLowerCase()),d(s,"href","https://www.alberta.ca/index.aspx"),d(a,"data-testid","site-text"),d(a,"class","site-text")},m(f,m){y(f,e,m),g(e,r),y(f,o,m),y(f,a,m),g(a,l),g(a,s),g(a,c),u&&u.m(a,null)},p(f,m){m&1&&t!==(t=Xt(f[0])+"")&&U(r,t),m&1&&n!==(n="service-type service-type--"+f[0].toLowerCase())&&d(e,"class",n),f[2]?u?u.p(f,m):(u=Wt(f),u.c(),u.m(a,null)):u&&(u.d(1),u=null)},d(f){f&&z(e),f&&z(o),f&&z(a),u&&u.d()}}}function Wt(i){let e,t,r,n;return{c(){e=b("span"),t=j("\u2014 help us improve it by giving "),r=b("a"),n=j("feedback"),d(r,"href",i[2]),d(e,"data-testid","feedback")},m(o,a){y(o,e,a),g(e,t),g(e,r),g(r,n)},p(o,a){a&4&&d(r,"href",o[2])},d(o){o&&z(e)}}}function Kt(i){let e,t;return{c(){e=b("div"),t=j(i[1]),d(e,"data-testid","version"),d(e,"class","version")},m(r,n){y(r,e,n),g(e,t)},p(r,n){n&2&&U(t,r[1])},d(r){r&&z(e)}}}function bn(i){let e,t,r=["alpha","beta"].includes(i[0]),n,o,a,l=i[0]==="live"&&Vt(),s=r&&Ut(i),c=i[1]&&Kt(i);return{c(){e=b("header"),l&&l.c(),t=R(),s&&s.c(),n=R(),o=b("div"),a=R(),c&&c.c(),this.c=v,d(o,"class","spacer"),d(e,"class","goa-official-site-header")},m(u,f){y(u,e,f),l&&l.m(e,null),g(e,t),s&&s.m(e,null),g(e,n),g(e,o),g(e,a),c&&c.m(e,null)},p(u,[f]){u[0]==="live"?l||(l=Vt(),l.c(),l.m(e,t)):l&&(l.d(1),l=null),f&1&&(r=["alpha","beta"].includes(u[0])),r?s?s.p(u,f):(s=Ut(u),s.c(),s.m(e,n)):s&&(s.d(1),s=null),u[1]?c?c.p(u,f):(c=Kt(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:v,o:v,d(u){u&&z(e),l&&l.d(),s&&s.d(),c&&c.d()}}}function Xt(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function vn(i,e,t){let{type:r}=e,{version:n=""}=e,{feedbackurl:o=""}=e;return i.$$set=a=>{"type"in a&&t(0,r=a.type),"version"in a&&t(1,n=a.version),"feedbackurl"in a&&t(2,o=a.feedbackurl)},[r,n,o]}class pn extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}a{color:var(--goa-color-interactive);cursor:pointer}a:hover{color:var(--goa-color-interactive--hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive--hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--fs-sm);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;padding:0.5rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-type{font-weight:bold;padding:0.25rem;display:flex;margin-right:1rem;line-height:initial}.service-type--alpha{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.service-type--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-type--live{padding:0}.site-text{color:var(--goa-color-text);line-height:1.25rem}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},vn,bn,S,{type:0,version:1,feedbackurl:2},null),e&&(e.target&&y(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",pn);function Yt(i){let e,t,r,n,o,a,l,s,c,u,f,m,k,_,x,w,E,p,M,L,T,A,q,P=i[3]!==""&&Zt(i),W=i[0]&&Jt(i),Z=i[4]&&Qt(i);function ye(K,$){return wn}let Q=ye()(i);return{c(){e=b("goa-focus-trap"),t=b("div"),r=b("div"),n=R(),o=b("div"),P&&P.c(),a=R(),l=b("div"),W&&W.c(),s=R(),Z&&Z.c(),c=R(),u=b("div"),Q.c(),f=R(),m=b("slot"),k=R(),_=b("div"),_.innerHTML='<slot name="actions"></slot>',d(r,"data-testid","modal-overlay"),d(r,"class","modal-overlay"),d(u,"data-testid","modal-content"),d(u,"class","modal-content"),d(_,"class","modal-actions"),d(_,"data-testid","modal-actions"),d(l,"class","content"),d(o,"class","modal-pane"),d(t,"data-testid","modal"),d(t,"class","modal"),d(t,"style",E=""+((i[2]&&`--width: ${i[2]};`)+";")),C(e,"active",i[1])},m(K,$){y(K,e,$),g(e,t),g(t,r),g(t,n),g(t,o),P&&P.m(o,null),g(o,a),g(o,l),W&&W.m(l,null),g(l,s),Z&&Z.m(l,null),g(l,c),g(l,u),Q.m(u,null),g(u,f),g(u,m),g(l,k),g(l,_),T=!0,A||(q=[X(r,"click",i[8]),Qe(p=bt.call(null,t,{enable:i[7]}))],A=!0)},p(K,$){i=K,i[3]!==""?P?P.p(i,$):(P=Zt(i),P.c(),P.m(o,a)):P&&(P.d(1),P=null),i[0]?W?W.p(i,$):(W=Jt(i),W.c(),W.m(l,s)):W&&(W.d(1),W=null),i[4]?Z?Z.p(i,$):(Z=Qt(i),Z.c(),Z.m(l,c)):Z&&(Z.d(1),Z=null),(!T||$&4&&E!==(E=""+((i[2]&&`--width: ${i[2]};`)+";")))&&d(t,"style",E),p&&ae(p.update)&&$&128&&p.update.call(null,{enable:i[7]}),(!T||$&2)&&C(e,"active",i[1])},i(K){T||(re(()=>{w&&w.end(1),x=lt(o,mt,{duration:i[6],y:200}),x.start()}),re(()=>{L&&L.end(1),M=lt(t,pe,{duration:i[6]}),M.start()}),T=!0)},o(K){x&&x.invalidate(),w=st(o,mt,{delay:i[6],duration:i[6],y:-100}),M&&M.invalidate(),L=st(t,pe,{delay:i[6],duration:i[6]}),T=!1},d(K){K&&z(e),P&&P.d(),W&&W.d(),Z&&Z.d(),Q.d(),K&&w&&w.end(),K&&L&&L.end(),A=!1,ee(q)}}}function Zt(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon"),C(t,"type",i[5]),C(t,"inverted",r=i[3]==="important"?"false":"true"),d(e,"class",n="callout-bar "+i[3])},m(o,a){y(o,e,a),g(e,t)},p(o,a){a&32&&C(t,"type",o[5]),a&8&&r!==(r=o[3]==="important"?"false":"true")&&C(t,"inverted",r),a&8&&n!==(n="callout-bar "+o[3])&&d(e,"class",n)},d(o){o&&z(e)}}}function Jt(i){let e,t;return{c(){e=b("div"),t=j(i[0]),d(e,"data-testid","modal-title"),d(e,"class","modal-title")},m(r,n){y(r,e,n),g(e,t)},p(r,n){n&1&&U(t,r[0])},d(r){r&&z(e)}}}function Qt(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon-button"),C(t,"data-testid","modal-close-button"),C(t,"icon","close"),C(t,"variant","nocolor"),d(e,"class","modal-close")},m(o,a){y(o,e,a),g(e,t),r||(n=X(t,"click",i[8]),r=!0)},p:v,d(o){o&&z(e),r=!1,n()}}}function wn(i){let e;return{c(){e=b("goa-scrollable"),e.innerHTML="<slot></slot>",C(e,"direction","vertical"),C(e,"height","50")},m(t,r){y(t,e,r)},d(t){t&&z(e)}}}function yn(i){let e,t,r=i[7]&&Yt(i);return{c(){r&&r.c(),e=le(),this.c=v},m(n,o){r&&r.m(n,o),y(n,e,o),t=!0},p(n,[o]){n[7]?r?(r.p(n,o),o&128&&V(r,1)):(r=Yt(n),r.c(),V(r,1),r.m(e.parentNode,e)):r&&(me(),Y(r,1,1,()=>{r=null}),be())},i(n){t||(V(r),t=!0)},o(n){Y(r),t=!1},d(n){r&&r.d(n),n&&z(e)}}}function _n(i,e,t){let r,n,o,a;const[l,s]=ve("Callout variant",["emergency","important","information","success","event"]);let{heading:c=""}=e,{closable:u="false"}=e,{open:f="false"}=e,{transition:m="none"}=e,{width:k=""}=e,{calloutvariant:_=null}=e;function x(w){!r||(w.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),w.stopPropagation())}return J(()=>{s(_)}),i.$$set=w=>{"heading"in w&&t(0,c=w.heading),"closable"in w&&t(9,u=w.closable),"open"in w&&t(1,f=w.open),"transition"in w&&t(10,m=w.transition),"width"in w&&t(2,k=w.width),"calloutvariant"in w&&t(3,_=w.calloutvariant)},i.$$.update=()=>{i.$$.dirty&512&&t(4,r=G(u)),i.$$.dirty&2&&t(7,n=G(f)),i.$$.dirty&1024&&t(6,o=m==="none"?0:m==="slow"?400:200),i.$$.dirty&8&&t(5,a=_==="emergency"?"warning":_==="important"?"alert-circle":_==="information"?"information-circle":_==="success"?"checkmark-circle":_==="event"?"calendar":"")},[c,f,k,_,r,a,o,n,x,u,m]}class kn extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.modal{font-family:var(--font-family);position:fixed;inset:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.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}.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:var(--shadow-2);border-radius:4px;max-height:90%}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch);max-height:80%}}.modal-actions{margin:1.5rem 0 0}.modal-actions:empty{margin:0}.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>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},_n,yn,S,{heading:0,closable:9,open:1,transition:10,width:2,calloutvariant:3},null),e&&(e.target&&y(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",kn);function $t(i){let e,t,r,n,o,a,l,s,c,u,f,m,k,_,x;return{c(){e=b("div"),t=b("div"),r=b("goa-icon"),o=R(),a=b("div"),a.innerHTML="<slot></slot>",l=R(),s=b("div"),c=b("goa-icon-button"),C(r,"type",i[2]),C(r,"inverted",n=i[0]==="important"?"false":"true"),d(t,"class","icon"),d(a,"class","content"),C(c,"icon","close"),C(c,"variant","dark"),C(c,"inverted",u=i[0]==="important"?"false":"true"),d(s,"class","close"),d(e,"class",f="notification "+i[0])},m(w,E){y(w,e,E),g(e,t),g(t,r),g(e,o),g(e,a),g(e,l),g(e,s),g(s,c),k=!0,_||(x=X(c,"click",i[3]),_=!0)},p(w,E){(!k||E&4)&&C(r,"type",w[2]),(!k||E&1&&n!==(n=w[0]==="important"?"false":"true"))&&C(r,"inverted",n),(!k||E&1&&u!==(u=w[0]==="important"?"false":"true"))&&C(c,"inverted",u),(!k||E&1&&f!==(f="notification "+w[0]))&&d(e,"class",f)},i(w){k||(re(()=>{m||(m=Fe(e,pe,{},!0)),m.run(1)}),k=!0)},o(w){m||(m=Fe(e,pe,{},!1)),m.run(0),k=!1},d(w){w&&z(e),w&&m&&m.end(),_=!1,x()}}}function xn(i){let e,t,r=i[1]&&$t(i);return{c(){r&&r.c(),e=le(),this.c=v},m(n,o){r&&r.m(n,o),y(n,e,o),t=!0},p(n,[o]){n[1]?r?(r.p(n,o),o&2&&V(r,1)):(r=$t(n),r.c(),V(r,1),r.m(e.parentNode,e)):r&&(me(),Y(r,1,1,()=>{r=null}),be())},i(n){t||(V(r),t=!0)},o(n){Y(r),t=!1},d(n){r&&r.d(n),n&&z(e)}}}function En(i,e,t){let r,{type:n=""}=e;const o=["emergency","important","information","event"];function a(c){return o.includes(c)}let l=!0;J(()=>{a(n)||console.error("Invalid notification type")});function s(){t(1,l=!1)}return i.$$set=c=>{"type"in c&&t(0,n=c.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=n==="emergency"?"warning":n==="important"?"alert-circle":n==="information"?"information-circle":n==="event"?"calendar":"")},[n,l,r,s]}class Cn extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;gap:1rem;border-radius:3px}.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>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},En,xn,S,{type:0},null),e&&(e.target&&y(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",Cn);const zn=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function Mn(i){return zn.test(i)}function Ln(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=v,d(e,"class","page-content"),d(e,"style",r=`--max-width: ${i[0]}`)},m(n,o){y(n,e,o),g(e,t)},p(n,[o]){o&1&&r!==(r=`--max-width: ${n[0]}`)&&d(e,"style",r)},i:v,o:v,d(n){n&&z(e)}}}function Tn(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:o}=e;function a(l){return!!(["full"].includes(n)||Mn(l))}return J(()=>{a(n)||console.error("Invalid PageBlock width"),t(0,o=r[n]||n)}),i.$$set=l=>{"width"in l&&t(1,n=l.width),"_width"in l&&t(0,o=l._width)},[o,n]}class An extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1.75rem}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Tn,Ln,S,{width:1,_width:0},null),e&&(e.target&&y(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",An);const ei="bind";function ti(i,e,t){const r=i.slice();return r[14]=e[t],r}function ii(i,e){let t,r,n,o,a,l,s,c,u=(e[14].label||e[14].value)+"",f,m,k,_,x;function w(){return e[11](e[14])}return{key:i,first:null,c(){t=b("label"),r=b("input"),a=R(),l=b("div"),s=R(),c=b("span"),f=j(u),m=R(),d(r,"type","radio"),d(r,"name",e[1]),r.value=n=e[14].value,r.disabled=e[7],r.checked=o=e[14].value===e[0],d(l,"class","goa-radio-icon"),d(c,"class","goa-radio-label"),d(t,"data-testid",k="radio-option-"+e[14].value),d(t,"class","goa-radio"),B(t,"goa-radio--disabled",e[7]),B(t,"goa-radio--error",e[5]),this.first=t},m(E,p){y(E,t,p),g(t,r),g(t,a),g(t,l),g(t,s),g(t,c),g(c,f),g(t,m),_||(x=X(r,"change",w),_=!0)},p(E,p){e=E,p&2&&d(r,"name",e[1]),p&16&&n!==(n=e[14].value)&&(r.value=n),p&128&&(r.disabled=e[7]),p&17&&o!==(o=e[14].value===e[0])&&(r.checked=o),p&16&&u!==(u=(e[14].label||e[14].value)+"")&&U(f,u),p&16&&k!==(k="radio-option-"+e[14].value)&&d(t,"data-testid",k),p&128&&B(t,"goa-radio--disabled",e[7]),p&32&&B(t,"goa-radio--error",e[5])},d(E){E&&z(t),_=!1,x()}}}function Rn(i){let e,t,r,n=[],o=new Map,a,l=i[4];const s=c=>c[14].value;for(let c=0;c<l.length;c+=1){let u=ti(i,l,c),f=s(u);o.set(f,n[c]=ii(f,u))}return{c(){e=b("div"),t=b("slot"),r=R();for(let c=0;c<n.length;c+=1)n[c].c();this.c=v,d(e,"class",a=`goa-radio-group--${i[2]}`),d(e,"data-testid",i[3])},m(c,u){y(c,e,u),g(e,t),g(e,r);for(let f=0;f<n.length;f+=1)n[f].m(e,null);i[12](e)},p(c,[u]){u&435&&(l=c[4],n=Ei(n,u,s,1,c,l,o,e,xi,ii,null,ti)),u&4&&a!==(a=`goa-radio-group--${c[2]}`)&&d(e,"class",a),u&8&&d(e,"data-testid",c[3])},i:v,o:v,d(c){c&&z(e);for(let u=0;u<n.length;u+=1)n[u].d();i[12](null)}}}function Hn(i,e,t){let r,{name:n}=e,{value:o}=e,{orientation:a="vertical"}=e,{disabled:l="false"}=e,{error:s="false"}=e,{testid:c=""}=e,u=[],f,m,k;J(()=>{const E=10;let p=0;const M=setInterval(async()=>{p++,n&&(m=_t(n),m.subscribe(L=>{switch(L==null?void 0:L.type){case ei:t(4,u=[...u,L])}}),clearInterval(M)),p>E&&(console.error("goa-radio: missing the required `name` attribute. It must match the children's name attribute."),clearInterval(M))},10)});function _(E){E!==o&&(t(0,o=E),k.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:n,value:o}})))}rt(()=>{xt(n)});const x=E=>_(E.value);function w(E){te[E?"unshift":"push"](()=>{k=E,t(6,k)})}return i.$$set=E=>{"name"in E&&t(1,n=E.name),"value"in E&&t(0,o=E.value),"orientation"in E&&t(2,a=E.orientation),"disabled"in E&&t(9,l=E.disabled),"error"in E&&t(10,s=E.error),"testid"in E&&t(3,c=E.testid)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=G(l)),i.$$.dirty&1024&&t(5,f=G(s))},[o,n,a,c,u,f,k,r,_,l,s,x,w]}class In extends D{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:inline-block}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;display:inline-block;box-sizing:border-box;display:flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0;margin:0;opacity:0}input[type="radio"]:hover~.goa-radio-icon{border-color:var(--goa-color-interactive--hover)}input[type="radio"]:focus~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio-label{padding:0.5rem;font-weight:var(--fw-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out;flex:0 0 auto}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio--disabled{opacity:0.4}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active)}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active)}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-color-status-emergency)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-color-status-emergency)}</style>',O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Hn,Rn,S,{name:1,value:0,orientation:2,disabled:9,error:10,testid:3},null),e&&(e.target&&y(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","orientation","disabled","error","testid"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get orientation(){return this.$$.ctx[2]}set orientation(e){this.$$set({orientation:e}),h()}get disabled(){return this.$$.ctx[9]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[10]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-radio-group",In);function Sn(i){return{c(){this.c=v},m:v,p:v,i:v,o:v,d:v}}function Bn(i,e,t){let{value:r}=e,{label:n}=e,{name:o}=e,a;return J(()=>{const l=10;let s=0;const c=setInterval(()=>{if(s++,o){if(a=kt(o),!a)return;a.notify({type:ei,value:r,label:n}),clearInterval(c)}s>l&&(console.error("goa-radio-item: missing the required `name` attribute. It must match the parent's name attribute."),clearInterval(c))},10)}),i.$$set=l=>{"value"in l&&t(0,r=l.value),"label"in l&&t(1,n=l.label),"name"in l&&t(2,o=l.name)},[r,n,o]}class Dn extends D{constructor(e){super();O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Bn,Sn,S,{value:0,label:1,name:2},null),e&&(e.target&&y(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",Dn);function Nn(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=v,d(e,"class","goa-scrollable"),d(e,"style",r=`
|
|
62
|
+
`),u&&u.c(),d(e,"data-testid","type"),d(e,"class",n="service-type service-type--"+i[0].toLowerCase()),d(s,"href","https://www.alberta.ca/index.aspx"),d(a,"data-testid","site-text"),d(a,"class","site-text")},m(f,m){y(f,e,m),g(e,r),y(f,o,m),y(f,a,m),g(a,l),g(a,s),g(a,c),u&&u.m(a,null)},p(f,m){m&1&&t!==(t=Xt(f[0])+"")&&U(r,t),m&1&&n!==(n="service-type service-type--"+f[0].toLowerCase())&&d(e,"class",n),f[2]?u?u.p(f,m):(u=Wt(f),u.c(),u.m(a,null)):u&&(u.d(1),u=null)},d(f){f&&z(e),f&&z(o),f&&z(a),u&&u.d()}}}function Wt(i){let e,t,r,n;return{c(){e=b("span"),t=j("\u2014 help us improve it by giving "),r=b("a"),n=j("feedback"),d(r,"href",i[2]),d(e,"data-testid","feedback")},m(o,a){y(o,e,a),g(e,t),g(e,r),g(r,n)},p(o,a){a&4&&d(r,"href",o[2])},d(o){o&&z(e)}}}function Kt(i){let e,t;return{c(){e=b("div"),t=j(i[1]),d(e,"data-testid","version"),d(e,"class","version")},m(r,n){y(r,e,n),g(e,t)},p(r,n){n&2&&U(t,r[1])},d(r){r&&z(e)}}}function bn(i){let e,t,r=["alpha","beta"].includes(i[0]),n,o,a,l=i[0]==="live"&&Vt(),s=r&&Ut(i),c=i[1]&&Kt(i);return{c(){e=b("header"),l&&l.c(),t=R(),s&&s.c(),n=R(),o=b("div"),a=R(),c&&c.c(),this.c=v,d(o,"class","spacer"),d(e,"class","goa-official-site-header")},m(u,f){y(u,e,f),l&&l.m(e,null),g(e,t),s&&s.m(e,null),g(e,n),g(e,o),g(e,a),c&&c.m(e,null)},p(u,[f]){u[0]==="live"?l||(l=Vt(),l.c(),l.m(e,t)):l&&(l.d(1),l=null),f&1&&(r=["alpha","beta"].includes(u[0])),r?s?s.p(u,f):(s=Ut(u),s.c(),s.m(e,n)):s&&(s.d(1),s=null),u[1]?c?c.p(u,f):(c=Kt(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:v,o:v,d(u){u&&z(e),l&&l.d(),s&&s.d(),c&&c.d()}}}function Xt(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function vn(i,e,t){let{type:r}=e,{version:n=""}=e,{feedbackurl:o=""}=e;return i.$$set=a=>{"type"in a&&t(0,r=a.type),"version"in a&&t(1,n=a.version),"feedbackurl"in a&&t(2,o=a.feedbackurl)},[r,n,o]}class pn extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}a{color:var(--goa-color-interactive);cursor:pointer}a:hover{color:var(--goa-color-interactive--hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive--hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--fs-sm);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;padding:0.5rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-type{font-weight:bold;padding:0.25rem;display:flex;margin-right:1rem;line-height:initial}.service-type--alpha{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.service-type--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-type--live{padding:0}.site-text{color:var(--goa-color-text);line-height:1.25rem}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},vn,bn,S,{type:0,version:1,feedbackurl:2},null),e&&(e.target&&y(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",pn);function Yt(i){let e,t,r,n,o,a,l,s,c,u,f,m,k,_,x,w,E,p,M,L,T,A,q,P=i[3]!==null&&Zt(i),W=i[0]&&Jt(i),Z=i[4]&&Qt(i);function ye(K,$){return wn}let Q=ye()(i);return{c(){e=b("goa-focus-trap"),t=b("div"),r=b("div"),n=R(),o=b("div"),P&&P.c(),a=R(),l=b("div"),W&&W.c(),s=R(),Z&&Z.c(),c=R(),u=b("div"),Q.c(),f=R(),m=b("slot"),k=R(),_=b("div"),_.innerHTML='<slot name="actions"></slot>',d(r,"data-testid","modal-overlay"),d(r,"class","modal-overlay"),d(u,"data-testid","modal-content"),d(u,"class","modal-content"),d(_,"class","modal-actions"),d(_,"data-testid","modal-actions"),d(l,"class","content"),d(o,"class","modal-pane"),d(t,"data-testid","modal"),d(t,"class","modal"),d(t,"style",E=""+((i[2]&&`--width: ${i[2]};`)+";")),C(e,"active",i[1])},m(K,$){y(K,e,$),g(e,t),g(t,r),g(t,n),g(t,o),P&&P.m(o,null),g(o,a),g(o,l),W&&W.m(l,null),g(l,s),Z&&Z.m(l,null),g(l,c),g(l,u),Q.m(u,null),g(u,f),g(u,m),g(l,k),g(l,_),T=!0,A||(q=[X(r,"click",i[8]),Qe(p=bt.call(null,t,{enable:i[7]}))],A=!0)},p(K,$){i=K,i[3]!==null?P?P.p(i,$):(P=Zt(i),P.c(),P.m(o,a)):P&&(P.d(1),P=null),i[0]?W?W.p(i,$):(W=Jt(i),W.c(),W.m(l,s)):W&&(W.d(1),W=null),i[4]?Z?Z.p(i,$):(Z=Qt(i),Z.c(),Z.m(l,c)):Z&&(Z.d(1),Z=null),(!T||$&4&&E!==(E=""+((i[2]&&`--width: ${i[2]};`)+";")))&&d(t,"style",E),p&&ae(p.update)&&$&128&&p.update.call(null,{enable:i[7]}),(!T||$&2)&&C(e,"active",i[1])},i(K){T||(re(()=>{w&&w.end(1),x=lt(o,mt,{duration:i[6],y:200}),x.start()}),re(()=>{L&&L.end(1),M=lt(t,pe,{duration:i[6]}),M.start()}),T=!0)},o(K){x&&x.invalidate(),w=st(o,mt,{delay:i[6],duration:i[6],y:-100}),M&&M.invalidate(),L=st(t,pe,{delay:i[6],duration:i[6]}),T=!1},d(K){K&&z(e),P&&P.d(),W&&W.d(),Z&&Z.d(),Q.d(),K&&w&&w.end(),K&&L&&L.end(),A=!1,ee(q)}}}function Zt(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon"),C(t,"type",i[5]),C(t,"inverted",r=i[3]==="important"?"false":"true"),d(e,"class",n="callout-bar "+i[3])},m(o,a){y(o,e,a),g(e,t)},p(o,a){a&32&&C(t,"type",o[5]),a&8&&r!==(r=o[3]==="important"?"false":"true")&&C(t,"inverted",r),a&8&&n!==(n="callout-bar "+o[3])&&d(e,"class",n)},d(o){o&&z(e)}}}function Jt(i){let e,t;return{c(){e=b("div"),t=j(i[0]),d(e,"data-testid","modal-title"),d(e,"class","modal-title")},m(r,n){y(r,e,n),g(e,t)},p(r,n){n&1&&U(t,r[0])},d(r){r&&z(e)}}}function Qt(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon-button"),C(t,"data-testid","modal-close-button"),C(t,"icon","close"),C(t,"variant","nocolor"),d(e,"class","modal-close")},m(o,a){y(o,e,a),g(e,t),r||(n=X(t,"click",i[8]),r=!0)},p:v,d(o){o&&z(e),r=!1,n()}}}function wn(i){let e;return{c(){e=b("goa-scrollable"),e.innerHTML="<slot></slot>",C(e,"direction","vertical"),C(e,"height","50")},m(t,r){y(t,e,r)},d(t){t&&z(e)}}}function yn(i){let e,t,r=i[7]&&Yt(i);return{c(){r&&r.c(),e=le(),this.c=v},m(n,o){r&&r.m(n,o),y(n,e,o),t=!0},p(n,[o]){n[7]?r?(r.p(n,o),o&128&&V(r,1)):(r=Yt(n),r.c(),V(r,1),r.m(e.parentNode,e)):r&&(me(),Y(r,1,1,()=>{r=null}),be())},i(n){t||(V(r),t=!0)},o(n){Y(r),t=!1},d(n){r&&r.d(n),n&&z(e)}}}function _n(i,e,t){let r,n,o,a;const[l,s]=ve("Callout variant",["emergency","important","information","success","event"]);let{heading:c=""}=e,{closable:u="false"}=e,{open:f="false"}=e,{transition:m="none"}=e,{width:k=""}=e,{calloutvariant:_=null}=e;function x(w){!r||(w.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),w.stopPropagation())}return J(()=>{s(_)}),i.$$set=w=>{"heading"in w&&t(0,c=w.heading),"closable"in w&&t(9,u=w.closable),"open"in w&&t(1,f=w.open),"transition"in w&&t(10,m=w.transition),"width"in w&&t(2,k=w.width),"calloutvariant"in w&&t(3,_=w.calloutvariant)},i.$$.update=()=>{i.$$.dirty&512&&t(4,r=G(u)),i.$$.dirty&2&&t(7,n=G(f)),i.$$.dirty&1024&&t(6,o=m==="none"?0:m==="slow"?400:200),i.$$.dirty&8&&t(5,a=_==="emergency"?"warning":_==="important"?"alert-circle":_==="information"?"information-circle":_==="success"?"checkmark-circle":_==="event"?"calendar":"")},[c,f,k,_,r,a,o,n,x,u,m]}class kn extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.modal{font-family:var(--font-family);position:fixed;inset:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.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-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>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},_n,yn,S,{heading:0,closable:9,open:1,transition:10,width:2,calloutvariant:3},null),e&&(e.target&&y(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",kn);function $t(i){let e,t,r,n,o,a,l,s,c,u,f,m,k,_,x;return{c(){e=b("div"),t=b("div"),r=b("goa-icon"),o=R(),a=b("div"),a.innerHTML="<slot></slot>",l=R(),s=b("div"),c=b("goa-icon-button"),C(r,"type",i[2]),C(r,"inverted",n=i[0]==="important"?"false":"true"),d(t,"class","icon"),d(a,"class","content"),C(c,"icon","close"),C(c,"variant","dark"),C(c,"inverted",u=i[0]==="important"?"false":"true"),d(s,"class","close"),d(e,"class",f="notification "+i[0])},m(w,E){y(w,e,E),g(e,t),g(t,r),g(e,o),g(e,a),g(e,l),g(e,s),g(s,c),k=!0,_||(x=X(c,"click",i[3]),_=!0)},p(w,E){(!k||E&4)&&C(r,"type",w[2]),(!k||E&1&&n!==(n=w[0]==="important"?"false":"true"))&&C(r,"inverted",n),(!k||E&1&&u!==(u=w[0]==="important"?"false":"true"))&&C(c,"inverted",u),(!k||E&1&&f!==(f="notification "+w[0]))&&d(e,"class",f)},i(w){k||(re(()=>{m||(m=Fe(e,pe,{},!0)),m.run(1)}),k=!0)},o(w){m||(m=Fe(e,pe,{},!1)),m.run(0),k=!1},d(w){w&&z(e),w&&m&&m.end(),_=!1,x()}}}function xn(i){let e,t,r=i[1]&&$t(i);return{c(){r&&r.c(),e=le(),this.c=v},m(n,o){r&&r.m(n,o),y(n,e,o),t=!0},p(n,[o]){n[1]?r?(r.p(n,o),o&2&&V(r,1)):(r=$t(n),r.c(),V(r,1),r.m(e.parentNode,e)):r&&(me(),Y(r,1,1,()=>{r=null}),be())},i(n){t||(V(r),t=!0)},o(n){Y(r),t=!1},d(n){r&&r.d(n),n&&z(e)}}}function En(i,e,t){let r,{type:n=""}=e;const o=["emergency","important","information","event"];function a(c){return o.includes(c)}let l=!0;J(()=>{a(n)||console.error("Invalid notification type")});function s(){t(1,l=!1)}return i.$$set=c=>{"type"in c&&t(0,n=c.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=n==="emergency"?"warning":n==="important"?"alert-circle":n==="information"?"information-circle":n==="event"?"calendar":"")},[n,l,r,s]}class Cn extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;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>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},En,xn,S,{type:0},null),e&&(e.target&&y(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",Cn);const zn=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function Mn(i){return zn.test(i)}function Ln(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=v,d(e,"class","page-content"),d(e,"style",r=`--max-width: ${i[0]}`)},m(n,o){y(n,e,o),g(e,t)},p(n,[o]){o&1&&r!==(r=`--max-width: ${n[0]}`)&&d(e,"style",r)},i:v,o:v,d(n){n&&z(e)}}}function Tn(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:o}=e;function a(l){return!!(["full"].includes(n)||Mn(l))}return J(()=>{a(n)||console.error("Invalid PageBlock width"),t(0,o=r[n]||n)}),i.$$set=l=>{"width"in l&&t(1,n=l.width),"_width"in l&&t(0,o=l._width)},[o,n]}class An extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1.75rem}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Tn,Ln,S,{width:1,_width:0},null),e&&(e.target&&y(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",An);const ei="bind";function ti(i,e,t){const r=i.slice();return r[14]=e[t],r}function ii(i,e){let t,r,n,o,a,l,s,c,u=(e[14].label||e[14].value)+"",f,m,k,_,x;function w(){return e[11](e[14])}return{key:i,first:null,c(){t=b("label"),r=b("input"),a=R(),l=b("div"),s=R(),c=b("span"),f=j(u),m=R(),d(r,"type","radio"),d(r,"name",e[1]),r.value=n=e[14].value,r.disabled=e[7],r.checked=o=e[14].value===e[0],d(l,"class","goa-radio-icon"),d(c,"class","goa-radio-label"),d(t,"data-testid",k="radio-option-"+e[14].value),d(t,"class","goa-radio"),B(t,"goa-radio--disabled",e[7]),B(t,"goa-radio--error",e[5]),this.first=t},m(E,p){y(E,t,p),g(t,r),g(t,a),g(t,l),g(t,s),g(t,c),g(c,f),g(t,m),_||(x=X(r,"change",w),_=!0)},p(E,p){e=E,p&2&&d(r,"name",e[1]),p&16&&n!==(n=e[14].value)&&(r.value=n),p&128&&(r.disabled=e[7]),p&17&&o!==(o=e[14].value===e[0])&&(r.checked=o),p&16&&u!==(u=(e[14].label||e[14].value)+"")&&U(f,u),p&16&&k!==(k="radio-option-"+e[14].value)&&d(t,"data-testid",k),p&128&&B(t,"goa-radio--disabled",e[7]),p&32&&B(t,"goa-radio--error",e[5])},d(E){E&&z(t),_=!1,x()}}}function Rn(i){let e,t,r,n=[],o=new Map,a,l=i[4];const s=c=>c[14].value;for(let c=0;c<l.length;c+=1){let u=ti(i,l,c),f=s(u);o.set(f,n[c]=ii(f,u))}return{c(){e=b("div"),t=b("slot"),r=R();for(let c=0;c<n.length;c+=1)n[c].c();this.c=v,d(e,"class",a=`goa-radio-group--${i[2]}`),d(e,"data-testid",i[3])},m(c,u){y(c,e,u),g(e,t),g(e,r);for(let f=0;f<n.length;f+=1)n[f].m(e,null);i[12](e)},p(c,[u]){u&435&&(l=c[4],n=Ei(n,u,s,1,c,l,o,e,xi,ii,null,ti)),u&4&&a!==(a=`goa-radio-group--${c[2]}`)&&d(e,"class",a),u&8&&d(e,"data-testid",c[3])},i:v,o:v,d(c){c&&z(e);for(let u=0;u<n.length;u+=1)n[u].d();i[12](null)}}}function Hn(i,e,t){let r,{name:n}=e,{value:o}=e,{orientation:a="vertical"}=e,{disabled:l="false"}=e,{error:s="false"}=e,{testid:c=""}=e,u=[],f,m,k;J(()=>{const E=10;let p=0;const M=setInterval(async()=>{p++,n&&(m=_t(n),m.subscribe(L=>{switch(L==null?void 0:L.type){case ei:t(4,u=[...u,L])}}),clearInterval(M)),p>E&&(console.error("goa-radio: missing the required `name` attribute. It must match the children's name attribute."),clearInterval(M))},10)});function _(E){E!==o&&(t(0,o=E),k.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:n,value:o}})))}rt(()=>{xt(n)});const x=E=>_(E.value);function w(E){te[E?"unshift":"push"](()=>{k=E,t(6,k)})}return i.$$set=E=>{"name"in E&&t(1,n=E.name),"value"in E&&t(0,o=E.value),"orientation"in E&&t(2,a=E.orientation),"disabled"in E&&t(9,l=E.disabled),"error"in E&&t(10,s=E.error),"testid"in E&&t(3,c=E.testid)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=G(l)),i.$$.dirty&1024&&t(5,f=G(s))},[o,n,a,c,u,f,k,r,_,l,s,x,w]}class In extends D{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:inline-block}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;display:inline-block;box-sizing:border-box;display:flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0;margin:0;opacity:0}input[type="radio"]:hover~.goa-radio-icon{border-color:var(--goa-color-interactive--hover)}input[type="radio"]:focus~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio-label{padding:0.5rem;font-weight:var(--fw-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out;flex:0 0 auto}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio--disabled{opacity:0.4}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active)}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active)}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-color-status-emergency)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-color-status-emergency)}</style>',O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Hn,Rn,S,{name:1,value:0,orientation:2,disabled:9,error:10,testid:3},null),e&&(e.target&&y(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","orientation","disabled","error","testid"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get orientation(){return this.$$.ctx[2]}set orientation(e){this.$$set({orientation:e}),h()}get disabled(){return this.$$.ctx[9]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[10]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-radio-group",In);function Sn(i){return{c(){this.c=v},m:v,p:v,i:v,o:v,d:v}}function Bn(i,e,t){let{value:r}=e,{label:n}=e,{name:o}=e,a;return J(()=>{const l=10;let s=0;const c=setInterval(()=>{if(s++,o){if(a=kt(o),!a)return;a.notify({type:ei,value:r,label:n}),clearInterval(c)}s>l&&(console.error("goa-radio-item: missing the required `name` attribute. It must match the parent's name attribute."),clearInterval(c))},10)}),i.$$set=l=>{"value"in l&&t(0,r=l.value),"label"in l&&t(1,n=l.label),"name"in l&&t(2,o=l.name)},[r,n,o]}class Dn extends D{constructor(e){super();O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Bn,Sn,S,{value:0,label:1,name:2},null),e&&(e.target&&y(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",Dn);function Nn(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=v,d(e,"class","goa-scrollable"),d(e,"style",r=`
|
|
63
63
|
--max-height: ${i[3]};
|
|
64
64
|
overflow-y: ${i[0]==="vertical"?"auto":"hidden"};
|
|
65
65
|
overflow-x: ${i[0]==="horizontal"?"auto":"hidden"};
|