@abgov/web-components 1.0.0-alpha.113 → 1.0.0-alpha.114
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 +1 -1
- package/web-components.umd.js +1 -1
package/package.json
CHANGED
package/web-components.es.js
CHANGED
|
@@ -6265,7 +6265,7 @@ function instance$h($$self, $$props, $$invalidate) {
|
|
|
6265
6265
|
class FormItem extends SvelteElement {
|
|
6266
6266
|
constructor(options) {
|
|
6267
6267
|
super();
|
|
6268
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}.label{display:block;font-weight:var(--fw-bold);color:var(--goa-color-text);font-size:var(--fs-base);padding:0.5rem 0
|
|
6268
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}.label{display:block;font-weight:var(--fw-bold);color:var(--goa-color-text);font-size:var(--fs-base);padding:0.5rem 0}.label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);line-height:var(--lh-sm);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--fs-sm);color:var(--goa-color-text);margin-right:56px}.error-msg{font-size:var(--fs-sm);color:var(--goa-color-interactive--error);margin-bottom:0.25rem}</style>`;
|
|
6269
6269
|
|
|
6270
6270
|
init(
|
|
6271
6271
|
this,
|
package/web-components.umd.js
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
:host {
|
|
32
32
|
flex-grow: ${n};
|
|
33
33
|
}
|
|
34
|
-
`,o.appendChild(c)});function l(s){ee[s?"unshift":"push"](()=>{o=s,t(2,o)})}return i.$$set=s=>{"heading"in s&&t(0,r=s.heading),"maxcolumncount"in s&&t(1,n=s.maxcolumncount)},[r,n,o,a,l]}class Yr extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{flex:auto}.title{font-size:var(--fs-xl);line-height:var(--lh-lg)}.hidden{display:none}.links{display:block;list-style-type:none;padding-left:0}@media(min-width: 720px){.links{display:var(--narrow-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--narrow-column-count)}}@media(min-width: 1024px){.links{display:var(--wide-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--wide-column-count)}}li{padding:0.75rem 0}a{color:var(--goa-color-text)}</style>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Xr,Kr,N,{heading:0,maxcolumncount:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","maxcolumncount"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get maxcolumncount(){return this.$$.ctx[1]}set maxcolumncount(e){this.$$set({maxcolumncount:e}),h()}}customElements.define("goa-app-footer-nav-section",Yr);function St(i){let e;return{c(){e=m("goa-divider"),C(e,"spacing","small")},m(t,r){p(t,e,r)},d(t){t&&E(e)}}}function Jr(i){let e,t,r,n,o,a,l,s,c,u,f,b,_,w=i[2]?.length&&St();return{c(){e=m("div"),t=m("div"),r=m("div"),r.innerHTML='<slot name="nav"></slot>',n=H(),w&&w.c(),o=H(),a=m("div"),l=m("div"),l.innerHTML='<slot name="meta"></slot>',s=H(),c=m("div"),u=m("a"),u.innerHTML='<img alt="GoA Logo" class="logo" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E"/>',f=H(),b=m("a"),b.textContent=`\xA9 ${i[4]} Government of Alberta`,this.c=v,d(r,"class","nav-links"),d(l,"class","meta-links"),d(u,"href","https://alberta.ca"),d(b,"href","https://alberta.ca"),d(b,"class","goa-copyright"),d(c,"class","abgov"),B(c,"with-meta-links",i[3]?.length),d(a,"class","meta-section"),B(a,"with-meta-links",i[3]?.length),d(t,"class","content"),d(e,"class","app-footer"),d(e,"style",_=`--max-content-width: ${i[0]||"100%"}`)},m(y,L){p(y,e,L),g(e,t),g(t,r),g(t,n),w&&w.m(t,null),g(t,o),g(t,a),g(a,l),g(a,s),g(a,c),g(c,u),g(c,f),g(c,b),i[5](e)},p(y,[L]){y[2]?.length?w||(w=St(),w.c(),w.m(t,o)):w&&(w.d(1),w=null),L&8&&B(c,"with-meta-links",y[3]?.length),L&8&&B(a,"with-meta-links",y[3]?.length),L&1&&_!==(_=`--max-content-width: ${y[0]||"100%"}`)&&d(e,"style",_)},i:v,o:v,d(y){y&&E(e),w&&w.d(),i[5](null)}}}function Qr(i,e,t){let{maxcontentwidth:r=""}=e,n,o,a;const l=new Date().getFullYear();Q(async()=>{await Ne();const c=n.querySelector("slot[name=nav]"),u=n.querySelector("slot[name=meta]");t(2,o=c.assignedElements()),t(3,a=u.assignedElements())});function s(c){ee[c?"unshift":"push"](()=>{n=c,t(1,n)})}return i.$$set=c=>{"maxcontentwidth"in c&&t(0,r=c.maxcontentwidth)},[r,n,o,a,l,s]}class $r extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box}.app-footer{background-color:var(--color-gray-100);border-top:2px solid var(--color-gray-200);border-bottom:1rem solid var(--goa-color-brand)}.content{padding:2rem 1rem;margin:0 auto;width:min(var(--max-content-width), 100%)}@media(min-width: 640px){.content{padding:2rem 1.5rem}}.meta-section{display:flex;flex-direction:column;padding:1rem 0}.meta-section.with-meta-links{gap:2rem;justify-content:space-between}.meta-links{display:none}.with-meta-links .meta-links{display:block}.nav-links{display:flex;flex-direction:column;gap:2rem}.abgov{display:flex;flex-direction:column;justify-content:space-between;width:100%}@media(min-width: 640px){.meta-section{flex-direction:row;gap:2rem}.nav-links{flex-direction:row}.abgov{align-items:center;flex-direction:row-reverse}}.abgov.with-meta-links{gap:1rem;flex-direction:column;width:unset}@media(min-width: 640px){.abgov.with-meta-links{align-items:flex-end}}.goa-copyright{white-space:nowrap}a{color:var(--goa-color-text-secondary)}</style>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Qr,Jr,N,{maxcontentwidth:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["maxcontentwidth"]}get maxcontentwidth(){return this.$$.ctx[0]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),h()}}customElements.define("goa-app-footer",$r);function Dt(i){let e,t,r,n=i[3]&&Bt();return{c(){e=m("div"),t=F(i[0]),r=H(),n&&n.c(),d(e,"class","label")},m(o,a){p(o,e,a),g(e,t),g(e,r),n&&n.m(e,null)},p(o,a){a&1&&q(t,o[0]),o[3]?n||(n=Bt(),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(o){o&&E(e),n&&n.d()}}}function Bt(i){let e;return{c(){e=m("em"),e.textContent="(optional)"},m(t,r){p(t,e,r)},d(t){t&&E(e)}}}function Nt(i){let e,t;return{c(){e=m("div"),t=F(i[2]),d(e,"class","error-msg")},m(r,n){p(r,e,n),g(e,t)},p(r,n){n&4&&q(t,r[2])},d(r){r&&E(e)}}}function Ot(i){let e,t;return{c(){e=m("div"),t=F(i[1]),d(e,"class","help-msg")},m(r,n){p(r,e,n),g(e,t)},p(r,n){n&2&&q(t,r[1])},d(r){r&&E(e)}}}function en(i){let e,t,r,n,o,a=i[0]&&Dt(i),l=i[2]&&Nt(i),s=i[1]&&Ot(i);return{c(){e=m("div"),a&&a.c(),t=H(),r=m("div"),r.innerHTML="<slot></slot>",n=H(),l&&l.c(),o=H(),s&&s.c(),this.c=v,d(r,"class","form-item-input"),d(e,"class","goa-form-item")},m(c,u){p(c,e,u),a&&a.m(e,null),g(e,t),g(e,r),g(e,n),l&&l.m(e,null),g(e,o),s&&s.m(e,null)},p(c,[u]){c[0]?a?a.p(c,u):(a=Dt(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[2]?l?l.p(c,u):(l=Nt(c),l.c(),l.m(e,o)):l&&(l.d(1),l=null),c[1]?s?s.p(c,u):(s=Ot(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:v,o:v,d(c){c&&E(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function tn(i,e,t){let r,{label:n=""}=e,{helptext:o=""}=e,{error:a=""}=e,{optional:l="false"}=e;return i.$$set=s=>{"label"in s&&t(0,n=s.label),"helptext"in s&&t(1,o=s.helptext),"error"in s&&t(2,a=s.error),"optional"in s&&t(4,l=s.optional)},i.$$.update=()=>{i.$$.dirty&16&&t(3,r=G(l))},[n,o,a,r,l]}class rn extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}.label{display:block;font-weight:var(--fw-bold);color:var(--goa-color-text);font-size:var(--fs-base);padding:0.5rem 0;overflow-x:hidden;white-space:nowrap;text-overflow:ellipsis}.label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);line-height:var(--lh-sm);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--fs-sm);color:var(--goa-color-text);margin-right:56px}.error-msg{font-size:var(--fs-sm);color:var(--goa-color-interactive--error);margin-bottom:0.25rem}</style>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},tn,en,N,{label:0,helptext:1,error:2,optional:4},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["label","helptext","error","optional"]}get label(){return this.$$.ctx[0]}set label(e){this.$$set({label:e}),h()}get helptext(){return this.$$.ctx[1]}set helptext(e){this.$$set({helptext:e}),h()}get error(){return this.$$.ctx[2]}set error(e){this.$$set({error:e}),h()}get optional(){return this.$$.ctx[4]}set optional(e){this.$$set({optional:e}),h()}}customElements.define("goa-form-item",rn);function nn(i){let e,t,r,n,o,a,l,s;return{c(){e=m("div"),t=m("goa-page-block"),r=m("h1"),n=F(i[0]),o=H(),a=m("div"),a.innerHTML="<slot></slot>",l=H(),s=m("slot"),this.c=v,d(a,"class","goa-hero-banner-content"),d(a,"role","note"),d(s,"name","actions"),C(t,"width","full"),d(e,"class","goa-hero"),d(e,"data-testid","background"),V(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+i[1]+")"),V(e,"background-size","cover"),V(e,"background-position","center"),V(e,"background-repeat","no-repeat")},m(c,u){p(c,e,u),g(e,t),g(t,r),g(r,n),g(t,o),g(t,a),g(t,l),g(t,s)},p(c,[u]){u&1&&q(n,c[0]),u&2&&V(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+c[1]+")")},i:v,o:v,d(c){c&&E(e)}}}function on(i,e,t){let{heading:r}=e,{backgroundurl:n}=e;return i.$$set=o=>{"heading"in o&&t(0,r=o.heading),"backgroundurl"in o&&t(1,n=o.backgroundurl)},[r,n]}class an extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;min-height:600px;border-bottom:8px solid var(--goa-color-brand);color:var(--color-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--color-white);font-size:var(--fs-3xl);line-height:var(--lh-2xl);font-weight:var(--fw-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},on,nn,N,{heading:0,backgroundurl:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","backgroundurl"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),h()}}customElements.define("goa-hero-banner",an);function ln(i){let e,t,r,n;return{c(){e=m("button"),t=m("goa-icon"),this.c=v,C(t,"title",i[3]),C(t,"type",i[0]),C(t,"size",i[1]),C(t,"theme",i[2]),C(t,"inverted",i[5]),V(e,"--size",i[6]),d(e,"title",i[3]),e.disabled=i[7],d(e,"class",i[8]),d(e,"data-testid",i[4])},m(o,a){p(o,e,a),g(e,t),r||(n=U(e,"click",sn),r=!0)},p(o,[a]){a&8&&C(t,"title",o[3]),a&1&&C(t,"type",o[0]),a&2&&C(t,"size",o[1]),a&4&&C(t,"theme",o[2]),a&32&&C(t,"inverted",o[5]),a&64&&V(e,"--size",o[6]),a&8&&d(e,"title",o[3]),a&128&&(e.disabled=o[7]),a&256&&d(e,"class",o[8]),a&16&&d(e,"data-testid",o[4])},i:v,o:v,d(o){o&&E(e),r=!1,n()}}}function sn(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function cn(i,e,t){let r,n,o,a,{icon:l}=e,{size:s="medium"}=e,{theme:c="outline"}=e,{variant:u="color"}=e,{title:f=""}=e,{testId:b=""}=e,{disabled:_}=e,{inverted:w}=e;return i.$$set=y=>{"icon"in y&&t(0,l=y.icon),"size"in y&&t(1,s=y.size),"theme"in y&&t(2,c=y.theme),"variant"in y&&t(9,u=y.variant),"title"in y&&t(3,f=y.title),"testId"in y&&t(4,b=y.testId),"disabled"in y&&t(10,_=y.disabled),"inverted"in y&&t(11,w=y.inverted)},i.$$.update=()=>{i.$$.dirty&2048&&t(5,o=G(w)),i.$$.dirty&544&&t(8,r=`${u} ${o?"inverted":""}`),i.$$.dirty&1024&&t(7,n=G(_)),i.$$.dirty&2&&t(6,a={small:"1rem",medium:"1.5rem",large:"2rem"}[s])},[l,s,c,f,b,o,a,n,r,u,_,w]}class dn extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:inline-flex;align-items:center;box-sizing:border-box;font-family:var(--font-family)}button,button *{box-sizing:border-box}button{display:inline-flex;align-items:center;box-sizing:border-box;justify-content:center;background:transparent;cursor:pointer;border:none;padding:0 0.75rem}.color{border-radius:0.5rem;padding:calc(var(--size) / 4);color:var(--goa-color-interactive);fill:var(--goa-color-interactive);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.nocolor{border-radius:0.5rem;padding:calc(var(--size) / 4)}button:hover{background-color:var(--color-gray-100);border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);outline:none}button:focus,button:active{background-color:var(--color-gray-100);border-color:var(--goa-color-interactive--active);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.color.inverted:hover{background-color:var(--goa-color-primary-dark)}button:disabled{pointer-events:none;opacity:0.5;transform:none;cursor:default}button:disabled:hover{background-color:transparent}</style>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},cn,ln,N,{icon:0,size:1,theme:2,variant:9,title:3,testId:4,disabled:10,inverted:11},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["icon","size","theme","variant","title","testId","disabled","inverted"]}get icon(){return this.$$.ctx[0]}set icon(e){this.$$set({icon:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get theme(){return this.$$.ctx[2]}set theme(e){this.$$set({theme:e}),h()}get variant(){return this.$$.ctx[9]}set variant(e){this.$$set({variant:e}),h()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),h()}get testId(){return this.$$.ctx[4]}set testId(e){this.$$set({testId:e}),h()}get disabled(){return this.$$.ctx[10]}set disabled(e){this.$$set({disabled:e}),h()}get inverted(){return this.$$.ctx[11]}set inverted(e){this.$$set({inverted:e}),h()}}customElements.define("goa-icon-button",dn);function jt(i){let e,t;return{c(){e=m("ion-icon"),C(e,"name",t=i[1]==="filled"||i[0].indexOf("logo")===0?i[0]:`${i[0]}-${i[1]}`)},m(r,n){p(r,e,n)},p(r,n){n&3&&t!==(t=r[1]==="filled"||r[0].indexOf("logo")===0?r[0]:`${r[0]}-${r[1]}`)&&C(e,"name",t)},d(r){r&&E(e)}}}function un(i){let e,t,r,n=i[0]&&jt(i);return{c(){e=m("div"),n&&n.c(),this.c=v,d(e,"class","goa-icon"),d(e,"data-testid",t=`icon-${i[0]}`),d(e,"title",i[5]),d(e,"style",r=`
|
|
34
|
+
`,o.appendChild(c)});function l(s){ee[s?"unshift":"push"](()=>{o=s,t(2,o)})}return i.$$set=s=>{"heading"in s&&t(0,r=s.heading),"maxcolumncount"in s&&t(1,n=s.maxcolumncount)},[r,n,o,a,l]}class Yr extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{flex:auto}.title{font-size:var(--fs-xl);line-height:var(--lh-lg)}.hidden{display:none}.links{display:block;list-style-type:none;padding-left:0}@media(min-width: 720px){.links{display:var(--narrow-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--narrow-column-count)}}@media(min-width: 1024px){.links{display:var(--wide-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--wide-column-count)}}li{padding:0.75rem 0}a{color:var(--goa-color-text)}</style>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Xr,Kr,N,{heading:0,maxcolumncount:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","maxcolumncount"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get maxcolumncount(){return this.$$.ctx[1]}set maxcolumncount(e){this.$$set({maxcolumncount:e}),h()}}customElements.define("goa-app-footer-nav-section",Yr);function St(i){let e;return{c(){e=m("goa-divider"),C(e,"spacing","small")},m(t,r){p(t,e,r)},d(t){t&&E(e)}}}function Jr(i){let e,t,r,n,o,a,l,s,c,u,f,b,_,w=i[2]?.length&&St();return{c(){e=m("div"),t=m("div"),r=m("div"),r.innerHTML='<slot name="nav"></slot>',n=H(),w&&w.c(),o=H(),a=m("div"),l=m("div"),l.innerHTML='<slot name="meta"></slot>',s=H(),c=m("div"),u=m("a"),u.innerHTML='<img alt="GoA Logo" class="logo" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E"/>',f=H(),b=m("a"),b.textContent=`\xA9 ${i[4]} Government of Alberta`,this.c=v,d(r,"class","nav-links"),d(l,"class","meta-links"),d(u,"href","https://alberta.ca"),d(b,"href","https://alberta.ca"),d(b,"class","goa-copyright"),d(c,"class","abgov"),B(c,"with-meta-links",i[3]?.length),d(a,"class","meta-section"),B(a,"with-meta-links",i[3]?.length),d(t,"class","content"),d(e,"class","app-footer"),d(e,"style",_=`--max-content-width: ${i[0]||"100%"}`)},m(y,L){p(y,e,L),g(e,t),g(t,r),g(t,n),w&&w.m(t,null),g(t,o),g(t,a),g(a,l),g(a,s),g(a,c),g(c,u),g(c,f),g(c,b),i[5](e)},p(y,[L]){y[2]?.length?w||(w=St(),w.c(),w.m(t,o)):w&&(w.d(1),w=null),L&8&&B(c,"with-meta-links",y[3]?.length),L&8&&B(a,"with-meta-links",y[3]?.length),L&1&&_!==(_=`--max-content-width: ${y[0]||"100%"}`)&&d(e,"style",_)},i:v,o:v,d(y){y&&E(e),w&&w.d(),i[5](null)}}}function Qr(i,e,t){let{maxcontentwidth:r=""}=e,n,o,a;const l=new Date().getFullYear();Q(async()=>{await Ne();const c=n.querySelector("slot[name=nav]"),u=n.querySelector("slot[name=meta]");t(2,o=c.assignedElements()),t(3,a=u.assignedElements())});function s(c){ee[c?"unshift":"push"](()=>{n=c,t(1,n)})}return i.$$set=c=>{"maxcontentwidth"in c&&t(0,r=c.maxcontentwidth)},[r,n,o,a,l,s]}class $r extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box}.app-footer{background-color:var(--color-gray-100);border-top:2px solid var(--color-gray-200);border-bottom:1rem solid var(--goa-color-brand)}.content{padding:2rem 1rem;margin:0 auto;width:min(var(--max-content-width), 100%)}@media(min-width: 640px){.content{padding:2rem 1.5rem}}.meta-section{display:flex;flex-direction:column;padding:1rem 0}.meta-section.with-meta-links{gap:2rem;justify-content:space-between}.meta-links{display:none}.with-meta-links .meta-links{display:block}.nav-links{display:flex;flex-direction:column;gap:2rem}.abgov{display:flex;flex-direction:column;justify-content:space-between;width:100%}@media(min-width: 640px){.meta-section{flex-direction:row;gap:2rem}.nav-links{flex-direction:row}.abgov{align-items:center;flex-direction:row-reverse}}.abgov.with-meta-links{gap:1rem;flex-direction:column;width:unset}@media(min-width: 640px){.abgov.with-meta-links{align-items:flex-end}}.goa-copyright{white-space:nowrap}a{color:var(--goa-color-text-secondary)}</style>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Qr,Jr,N,{maxcontentwidth:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["maxcontentwidth"]}get maxcontentwidth(){return this.$$.ctx[0]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),h()}}customElements.define("goa-app-footer",$r);function Dt(i){let e,t,r,n=i[3]&&Bt();return{c(){e=m("div"),t=F(i[0]),r=H(),n&&n.c(),d(e,"class","label")},m(o,a){p(o,e,a),g(e,t),g(e,r),n&&n.m(e,null)},p(o,a){a&1&&q(t,o[0]),o[3]?n||(n=Bt(),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(o){o&&E(e),n&&n.d()}}}function Bt(i){let e;return{c(){e=m("em"),e.textContent="(optional)"},m(t,r){p(t,e,r)},d(t){t&&E(e)}}}function Nt(i){let e,t;return{c(){e=m("div"),t=F(i[2]),d(e,"class","error-msg")},m(r,n){p(r,e,n),g(e,t)},p(r,n){n&4&&q(t,r[2])},d(r){r&&E(e)}}}function Ot(i){let e,t;return{c(){e=m("div"),t=F(i[1]),d(e,"class","help-msg")},m(r,n){p(r,e,n),g(e,t)},p(r,n){n&2&&q(t,r[1])},d(r){r&&E(e)}}}function en(i){let e,t,r,n,o,a=i[0]&&Dt(i),l=i[2]&&Nt(i),s=i[1]&&Ot(i);return{c(){e=m("div"),a&&a.c(),t=H(),r=m("div"),r.innerHTML="<slot></slot>",n=H(),l&&l.c(),o=H(),s&&s.c(),this.c=v,d(r,"class","form-item-input"),d(e,"class","goa-form-item")},m(c,u){p(c,e,u),a&&a.m(e,null),g(e,t),g(e,r),g(e,n),l&&l.m(e,null),g(e,o),s&&s.m(e,null)},p(c,[u]){c[0]?a?a.p(c,u):(a=Dt(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[2]?l?l.p(c,u):(l=Nt(c),l.c(),l.m(e,o)):l&&(l.d(1),l=null),c[1]?s?s.p(c,u):(s=Ot(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:v,o:v,d(c){c&&E(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function tn(i,e,t){let r,{label:n=""}=e,{helptext:o=""}=e,{error:a=""}=e,{optional:l="false"}=e;return i.$$set=s=>{"label"in s&&t(0,n=s.label),"helptext"in s&&t(1,o=s.helptext),"error"in s&&t(2,a=s.error),"optional"in s&&t(4,l=s.optional)},i.$$.update=()=>{i.$$.dirty&16&&t(3,r=G(l))},[n,o,a,r,l]}class rn extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}.label{display:block;font-weight:var(--fw-bold);color:var(--goa-color-text);font-size:var(--fs-base);padding:0.5rem 0}.label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);line-height:var(--lh-sm);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--fs-sm);color:var(--goa-color-text);margin-right:56px}.error-msg{font-size:var(--fs-sm);color:var(--goa-color-interactive--error);margin-bottom:0.25rem}</style>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},tn,en,N,{label:0,helptext:1,error:2,optional:4},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["label","helptext","error","optional"]}get label(){return this.$$.ctx[0]}set label(e){this.$$set({label:e}),h()}get helptext(){return this.$$.ctx[1]}set helptext(e){this.$$set({helptext:e}),h()}get error(){return this.$$.ctx[2]}set error(e){this.$$set({error:e}),h()}get optional(){return this.$$.ctx[4]}set optional(e){this.$$set({optional:e}),h()}}customElements.define("goa-form-item",rn);function nn(i){let e,t,r,n,o,a,l,s;return{c(){e=m("div"),t=m("goa-page-block"),r=m("h1"),n=F(i[0]),o=H(),a=m("div"),a.innerHTML="<slot></slot>",l=H(),s=m("slot"),this.c=v,d(a,"class","goa-hero-banner-content"),d(a,"role","note"),d(s,"name","actions"),C(t,"width","full"),d(e,"class","goa-hero"),d(e,"data-testid","background"),V(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+i[1]+")"),V(e,"background-size","cover"),V(e,"background-position","center"),V(e,"background-repeat","no-repeat")},m(c,u){p(c,e,u),g(e,t),g(t,r),g(r,n),g(t,o),g(t,a),g(t,l),g(t,s)},p(c,[u]){u&1&&q(n,c[0]),u&2&&V(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+c[1]+")")},i:v,o:v,d(c){c&&E(e)}}}function on(i,e,t){let{heading:r}=e,{backgroundurl:n}=e;return i.$$set=o=>{"heading"in o&&t(0,r=o.heading),"backgroundurl"in o&&t(1,n=o.backgroundurl)},[r,n]}class an extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;min-height:600px;border-bottom:8px solid var(--goa-color-brand);color:var(--color-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--color-white);font-size:var(--fs-3xl);line-height:var(--lh-2xl);font-weight:var(--fw-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},on,nn,N,{heading:0,backgroundurl:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","backgroundurl"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),h()}}customElements.define("goa-hero-banner",an);function ln(i){let e,t,r,n;return{c(){e=m("button"),t=m("goa-icon"),this.c=v,C(t,"title",i[3]),C(t,"type",i[0]),C(t,"size",i[1]),C(t,"theme",i[2]),C(t,"inverted",i[5]),V(e,"--size",i[6]),d(e,"title",i[3]),e.disabled=i[7],d(e,"class",i[8]),d(e,"data-testid",i[4])},m(o,a){p(o,e,a),g(e,t),r||(n=U(e,"click",sn),r=!0)},p(o,[a]){a&8&&C(t,"title",o[3]),a&1&&C(t,"type",o[0]),a&2&&C(t,"size",o[1]),a&4&&C(t,"theme",o[2]),a&32&&C(t,"inverted",o[5]),a&64&&V(e,"--size",o[6]),a&8&&d(e,"title",o[3]),a&128&&(e.disabled=o[7]),a&256&&d(e,"class",o[8]),a&16&&d(e,"data-testid",o[4])},i:v,o:v,d(o){o&&E(e),r=!1,n()}}}function sn(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function cn(i,e,t){let r,n,o,a,{icon:l}=e,{size:s="medium"}=e,{theme:c="outline"}=e,{variant:u="color"}=e,{title:f=""}=e,{testId:b=""}=e,{disabled:_}=e,{inverted:w}=e;return i.$$set=y=>{"icon"in y&&t(0,l=y.icon),"size"in y&&t(1,s=y.size),"theme"in y&&t(2,c=y.theme),"variant"in y&&t(9,u=y.variant),"title"in y&&t(3,f=y.title),"testId"in y&&t(4,b=y.testId),"disabled"in y&&t(10,_=y.disabled),"inverted"in y&&t(11,w=y.inverted)},i.$$.update=()=>{i.$$.dirty&2048&&t(5,o=G(w)),i.$$.dirty&544&&t(8,r=`${u} ${o?"inverted":""}`),i.$$.dirty&1024&&t(7,n=G(_)),i.$$.dirty&2&&t(6,a={small:"1rem",medium:"1.5rem",large:"2rem"}[s])},[l,s,c,f,b,o,a,n,r,u,_,w]}class dn extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:inline-flex;align-items:center;box-sizing:border-box;font-family:var(--font-family)}button,button *{box-sizing:border-box}button{display:inline-flex;align-items:center;box-sizing:border-box;justify-content:center;background:transparent;cursor:pointer;border:none;padding:0 0.75rem}.color{border-radius:0.5rem;padding:calc(var(--size) / 4);color:var(--goa-color-interactive);fill:var(--goa-color-interactive);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.nocolor{border-radius:0.5rem;padding:calc(var(--size) / 4)}button:hover{background-color:var(--color-gray-100);border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);outline:none}button:focus,button:active{background-color:var(--color-gray-100);border-color:var(--goa-color-interactive--active);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.color.inverted:hover{background-color:var(--goa-color-primary-dark)}button:disabled{pointer-events:none;opacity:0.5;transform:none;cursor:default}button:disabled:hover{background-color:transparent}</style>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},cn,ln,N,{icon:0,size:1,theme:2,variant:9,title:3,testId:4,disabled:10,inverted:11},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["icon","size","theme","variant","title","testId","disabled","inverted"]}get icon(){return this.$$.ctx[0]}set icon(e){this.$$set({icon:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get theme(){return this.$$.ctx[2]}set theme(e){this.$$set({theme:e}),h()}get variant(){return this.$$.ctx[9]}set variant(e){this.$$set({variant:e}),h()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),h()}get testId(){return this.$$.ctx[4]}set testId(e){this.$$set({testId:e}),h()}get disabled(){return this.$$.ctx[10]}set disabled(e){this.$$set({disabled:e}),h()}get inverted(){return this.$$.ctx[11]}set inverted(e){this.$$set({inverted:e}),h()}}customElements.define("goa-icon-button",dn);function jt(i){let e,t;return{c(){e=m("ion-icon"),C(e,"name",t=i[1]==="filled"||i[0].indexOf("logo")===0?i[0]:`${i[0]}-${i[1]}`)},m(r,n){p(r,e,n)},p(r,n){n&3&&t!==(t=r[1]==="filled"||r[0].indexOf("logo")===0?r[0]:`${r[0]}-${r[1]}`)&&C(e,"name",t)},d(r){r&&E(e)}}}function un(i){let e,t,r,n=i[0]&&jt(i);return{c(){e=m("div"),n&&n.c(),this.c=v,d(e,"class","goa-icon"),d(e,"data-testid",t=`icon-${i[0]}`),d(e,"title",i[5]),d(e,"style",r=`
|
|
35
35
|
--size: ${i[6]};
|
|
36
36
|
--fill-color: ${i[2]};
|
|
37
37
|
--hover-color: ${i[3]};
|