@abgov/web-components 1.0.0-alpha.97 → 1.0.0-alpha.98

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.0.0-alpha.97",
3
+ "version": "1.0.0-alpha.98",
4
4
  "description": "Government of Alberta - UI Web components",
5
5
  "bugs": {
6
6
  "url": "https://github.com/GovAlta/ui-components/issues"
@@ -6131,7 +6131,7 @@ function instance$g($$self, $$props, $$invalidate) {
6131
6131
  let { label = "" } = $$props;
6132
6132
  let { helptext = "" } = $$props;
6133
6133
  let { error = "" } = $$props;
6134
- let { optional = "" } = $$props;
6134
+ let { optional = "false" } = $$props;
6135
6135
 
6136
6136
  $$self.$$set = $$props => {
6137
6137
  if ('label' in $$props) $$invalidate(0, label = $$props.label);
@@ -29,7 +29,7 @@
29
29
  :host {
30
30
  flex-grow: ${n};
31
31
  }
32
- `,o.appendChild(c)});function l(s){te[s?"unshift":"push"](()=>{o=s,t(2,o)})}return i.$$set=s=>{"name"in s&&t(0,r=s.name),"maxcolumncount"in s&&t(1,n=s.maxcolumncount)},[r,n,o,a,l]}class Xr 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},Kr,Zr,N,{name:0,maxcolumncount:1},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","maxcolumncount"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get maxcolumncount(){return this.$$.ctx[1]}set maxcolumncount(e){this.$$set({maxcolumncount:e}),h()}}customElements.define("goa-app-footer-nav-section",Xr);function It(i){let e;return{c(){e=b("goa-divider"),C(e,"spacing","small")},m(t,r){v(t,e,r)},d(t){t&&z(e)}}}function Yr(i){let e,t,r,n,o,a,l,s,c,d,f,g=i[1]?.length&&It();return{c(){e=b("div"),t=b("div"),t.innerHTML='<slot name="nav"></slot>',r=H(),g&&g.c(),n=H(),o=b("div"),a=b("div"),a.innerHTML='<slot name="meta"></slot>',l=H(),s=b("div"),c=b("a"),c.innerHTML='<img alt="GoA Logo" class="logo" src="data:image/svg+xml,%3Csvg xmlns=&#39;http://www.w3.org/2000/svg&#39; xmlns:xlink=&#39;http://www.w3.org/1999/xlink&#39; width=&#39;149.351&#39; height=&#39;42&#39; viewBox=&#39;0 0 149.351 42&#39;%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=&#39;a&#39;%3E%3Crect class=&#39;a&#39; width=&#39;149.351&#39; height=&#39;42&#39;/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class=&#39;b&#39;%3E%3Crect class=&#39;c&#39; width=&#39;13.555&#39; height=&#39;13.555&#39; transform=&#39;translate(135.796 21.524)&#39;/%3E%3Cpath class=&#39;d&#39; d=&#39;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&#39; transform=&#39;translate(-0.038 0.124)&#39;/%3E%3C/g%3E%3C/svg%3E"/>',d=H(),f=b("a"),f.textContent=`\xA9 ${i[3]} Government of Alberta`,this.c=p,u(t,"class","nav-links"),u(a,"class","meta-links"),u(c,"href","https://alberta.ca"),u(f,"href","https://alberta.ca"),u(f,"class","goa-copyright"),u(s,"class","abgov"),B(s,"with-meta-links",i[2]?.length),u(o,"class","meta-section"),B(o,"with-meta-links",i[2]?.length),u(e,"class","app-footer")},m(w,_){v(w,e,_),m(e,t),m(e,r),g&&g.m(e,null),m(e,n),m(e,o),m(o,a),m(o,l),m(o,s),m(s,c),m(s,d),m(s,f),i[4](e)},p(w,[_]){w[1]?.length?g||(g=It(),g.c(),g.m(e,n)):g&&(g.d(1),g=null),_&4&&B(s,"with-meta-links",w[2]?.length),_&4&&B(o,"with-meta-links",w[2]?.length)},i:p,o:p,d(w){w&&z(e),g&&g.d(),i[4](null)}}}function Jr(i,e,t){let r,n,o;const a=new Date().getFullYear();Y(async()=>{await Oe();const s=r.querySelector("slot[name=nav]"),c=r.querySelector("slot[name=meta]");t(1,n=s.assignedElements()),t(2,o=c.assignedElements())});function l(s){te[s?"unshift":"push"](()=>{r=s,t(0,r)})}return[r,n,o,a,l]}class Qr extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>.app-footer{background-color:var(--color-gray-100);padding:2rem;border-top:2px solid var(--color-gray-200);border-bottom:1rem solid var(--goa-color-brand)}.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},Jr,Yr,N,{},null),e&&e.target&&v(e.target,this,e.anchor)}}customElements.define("goa-app-footer",Qr);function St(i){let e,t,r,n=i[3]&&Dt();return{c(){e=b("div"),t=F(i[0]),r=H(),n&&n.c(),u(e,"class","label")},m(o,a){v(o,e,a),m(e,t),m(e,r),n&&n.m(e,null)},p(o,a){a&1&&q(t,o[0]),o[3]?n||(n=Dt(),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(o){o&&z(e),n&&n.d()}}}function Dt(i){let e;return{c(){e=b("em"),e.textContent="(optional)"},m(t,r){v(t,e,r)},d(t){t&&z(e)}}}function Bt(i){let e,t;return{c(){e=b("div"),t=F(i[2]),u(e,"class","error-msg")},m(r,n){v(r,e,n),m(e,t)},p(r,n){n&4&&q(t,r[2])},d(r){r&&z(e)}}}function Nt(i){let e,t;return{c(){e=b("div"),t=F(i[1]),u(e,"class","help-msg")},m(r,n){v(r,e,n),m(e,t)},p(r,n){n&2&&q(t,r[1])},d(r){r&&z(e)}}}function $r(i){let e,t,r,n,o,a=i[0]&&St(i),l=i[2]&&Bt(i),s=i[1]&&Nt(i);return{c(){e=b("div"),a&&a.c(),t=H(),r=b("div"),r.innerHTML="<slot></slot>",n=H(),l&&l.c(),o=H(),s&&s.c(),this.c=p,u(r,"class","form-item-input"),u(e,"class","goa-form-item")},m(c,d){v(c,e,d),a&&a.m(e,null),m(e,t),m(e,r),m(e,n),l&&l.m(e,null),m(e,o),s&&s.m(e,null)},p(c,[d]){c[0]?a?a.p(c,d):(a=St(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[2]?l?l.p(c,d):(l=Bt(c),l.c(),l.m(e,o)):l&&(l.d(1),l=null),c[1]?s?s.p(c,d):(s=Nt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:p,o:p,d(c){c&&z(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function en(i,e,t){let r,{label:n=""}=e,{helptext:o=""}=e,{error:a=""}=e,{optional:l=""}=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 tn 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)}.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},en,$r,N,{label:0,helptext:1,error:2,optional:4},null),e&&(e.target&&v(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",tn);function rn(i){let e,t,r,n,o,a,l,s;return{c(){e=b("div"),t=b("goa-page-block"),r=b("h1"),n=F(i[0]),o=H(),a=b("div"),a.innerHTML="<slot></slot>",l=H(),s=b("slot"),this.c=p,u(a,"class","goa-hero-banner-content"),u(a,"role","note"),u(s,"name","actions"),C(t,"width","full"),u(e,"class","goa-hero"),u(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,d){v(c,e,d),m(e,t),m(t,r),m(r,n),m(t,o),m(t,a),m(t,l),m(t,s)},p(c,[d]){d&1&&q(n,c[0]),d&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:p,o:p,d(c){c&&z(e)}}}function nn(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 on 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},nn,rn,N,{heading:0,backgroundurl:1},null),e&&(e.target&&v(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",on);function an(i){let e,t,r,n;return{c(){e=b("button"),t=b("goa-icon"),this.c=p,C(t,"title",i[3]),C(t,"type",i[0]),C(t,"size",i[1]),C(t,"theme",i[2]),C(t,"inverted",i[5]),V(e,"--size",i[6]),u(e,"title",i[3]),e.disabled=i[7],u(e,"class",i[8]),u(e,"data-testid",i[4])},m(o,a){v(o,e,a),m(e,t),r||(n=U(e,"click",ln),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&&u(e,"title",o[3]),a&128&&(e.disabled=o[7]),a&256&&u(e,"class",o[8]),a&16&&u(e,"data-testid",o[4])},i:p,o:p,d(o){o&&z(e),r=!1,n()}}}function ln(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function sn(i,e,t){let r,n,o,a,{type:l}=e,{size:s="medium"}=e,{theme:c="outline"}=e,{variant:d="color"}=e,{title:f=""}=e,{testId:g=""}=e,{disabled:w}=e,{inverted:_}=e;return i.$$set=k=>{"type"in k&&t(0,l=k.type),"size"in k&&t(1,s=k.size),"theme"in k&&t(2,c=k.theme),"variant"in k&&t(9,d=k.variant),"title"in k&&t(3,f=k.title),"testId"in k&&t(4,g=k.testId),"disabled"in k&&t(10,w=k.disabled),"inverted"in k&&t(11,_=k.inverted)},i.$$.update=()=>{i.$$.dirty&2048&&t(5,o=G(_)),i.$$.dirty&544&&t(8,r=`${d} ${o?"inverted":""}`),i.$$.dirty&1024&&t(7,n=G(w)),i.$$.dirty&2&&t(6,a={small:"1rem",medium:"1.5rem",large:"2rem"}[s])},[l,s,c,f,g,o,a,n,r,d,w,_]}class cn 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;justify-content:center;background:transparent;cursor:pointer;border:none}.color{border-radius:0.5rem;padding:calc(var(--size) / 4)}.color{border-radius:0.5rem;color:var(--goa-color-interactive);fill:var(--goa-color-interactive);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.color:active,.nocolor:active{transform:scale(0.9);border:none}.color:hover{background-color:var(--goa-color-primary-light)}.color.inverted:hover{background-color:var(--goa-color-primary-dark)}button:disabled{color:var(--color-gray-200);fill:var(--color-gray-200);transform:none;cursor:default}button:disabled:hover{background-color:transparent}</style>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},sn,an,N,{type:0,size:1,theme:2,variant:9,title:3,testId:4,disabled:10,inverted:11},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","theme","variant","title","testId","disabled","inverted"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get 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",cn);function Ot(i){let e,t;return{c(){e=b("ion-icon"),C(e,"name",t=i[1]==="filled"||i[0].indexOf("logo")===0?i[0]:`${i[0]}-${i[1]}`)},m(r,n){v(r,e,n)},p(r,n){n&3&&t!==(t=r[1]==="filled"||r[0].indexOf("logo")===0?r[0]:`${r[0]}-${r[1]}`)&&C(e,"name",t)},d(r){r&&z(e)}}}function dn(i){let e,t,r,n=i[0]&&Ot(i);return{c(){e=b("div"),n&&n.c(),this.c=p,u(e,"class","goa-icon"),u(e,"data-testid",t=`icon-${i[0]}`),u(e,"title",i[5]),u(e,"style",r=`
32
+ `,o.appendChild(c)});function l(s){te[s?"unshift":"push"](()=>{o=s,t(2,o)})}return i.$$set=s=>{"name"in s&&t(0,r=s.name),"maxcolumncount"in s&&t(1,n=s.maxcolumncount)},[r,n,o,a,l]}class Xr 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},Kr,Zr,N,{name:0,maxcolumncount:1},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","maxcolumncount"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get maxcolumncount(){return this.$$.ctx[1]}set maxcolumncount(e){this.$$set({maxcolumncount:e}),h()}}customElements.define("goa-app-footer-nav-section",Xr);function It(i){let e;return{c(){e=b("goa-divider"),C(e,"spacing","small")},m(t,r){v(t,e,r)},d(t){t&&z(e)}}}function Yr(i){let e,t,r,n,o,a,l,s,c,d,f,g=i[1]?.length&&It();return{c(){e=b("div"),t=b("div"),t.innerHTML='<slot name="nav"></slot>',r=H(),g&&g.c(),n=H(),o=b("div"),a=b("div"),a.innerHTML='<slot name="meta"></slot>',l=H(),s=b("div"),c=b("a"),c.innerHTML='<img alt="GoA Logo" class="logo" src="data:image/svg+xml,%3Csvg xmlns=&#39;http://www.w3.org/2000/svg&#39; xmlns:xlink=&#39;http://www.w3.org/1999/xlink&#39; width=&#39;149.351&#39; height=&#39;42&#39; viewBox=&#39;0 0 149.351 42&#39;%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=&#39;a&#39;%3E%3Crect class=&#39;a&#39; width=&#39;149.351&#39; height=&#39;42&#39;/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class=&#39;b&#39;%3E%3Crect class=&#39;c&#39; width=&#39;13.555&#39; height=&#39;13.555&#39; transform=&#39;translate(135.796 21.524)&#39;/%3E%3Cpath class=&#39;d&#39; d=&#39;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&#39; transform=&#39;translate(-0.038 0.124)&#39;/%3E%3C/g%3E%3C/svg%3E"/>',d=H(),f=b("a"),f.textContent=`\xA9 ${i[3]} Government of Alberta`,this.c=p,u(t,"class","nav-links"),u(a,"class","meta-links"),u(c,"href","https://alberta.ca"),u(f,"href","https://alberta.ca"),u(f,"class","goa-copyright"),u(s,"class","abgov"),B(s,"with-meta-links",i[2]?.length),u(o,"class","meta-section"),B(o,"with-meta-links",i[2]?.length),u(e,"class","app-footer")},m(w,_){v(w,e,_),m(e,t),m(e,r),g&&g.m(e,null),m(e,n),m(e,o),m(o,a),m(o,l),m(o,s),m(s,c),m(s,d),m(s,f),i[4](e)},p(w,[_]){w[1]?.length?g||(g=It(),g.c(),g.m(e,n)):g&&(g.d(1),g=null),_&4&&B(s,"with-meta-links",w[2]?.length),_&4&&B(o,"with-meta-links",w[2]?.length)},i:p,o:p,d(w){w&&z(e),g&&g.d(),i[4](null)}}}function Jr(i,e,t){let r,n,o;const a=new Date().getFullYear();Y(async()=>{await Oe();const s=r.querySelector("slot[name=nav]"),c=r.querySelector("slot[name=meta]");t(1,n=s.assignedElements()),t(2,o=c.assignedElements())});function l(s){te[s?"unshift":"push"](()=>{r=s,t(0,r)})}return[r,n,o,a,l]}class Qr extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>.app-footer{background-color:var(--color-gray-100);padding:2rem;border-top:2px solid var(--color-gray-200);border-bottom:1rem solid var(--goa-color-brand)}.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},Jr,Yr,N,{},null),e&&e.target&&v(e.target,this,e.anchor)}}customElements.define("goa-app-footer",Qr);function St(i){let e,t,r,n=i[3]&&Dt();return{c(){e=b("div"),t=F(i[0]),r=H(),n&&n.c(),u(e,"class","label")},m(o,a){v(o,e,a),m(e,t),m(e,r),n&&n.m(e,null)},p(o,a){a&1&&q(t,o[0]),o[3]?n||(n=Dt(),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(o){o&&z(e),n&&n.d()}}}function Dt(i){let e;return{c(){e=b("em"),e.textContent="(optional)"},m(t,r){v(t,e,r)},d(t){t&&z(e)}}}function Bt(i){let e,t;return{c(){e=b("div"),t=F(i[2]),u(e,"class","error-msg")},m(r,n){v(r,e,n),m(e,t)},p(r,n){n&4&&q(t,r[2])},d(r){r&&z(e)}}}function Nt(i){let e,t;return{c(){e=b("div"),t=F(i[1]),u(e,"class","help-msg")},m(r,n){v(r,e,n),m(e,t)},p(r,n){n&2&&q(t,r[1])},d(r){r&&z(e)}}}function $r(i){let e,t,r,n,o,a=i[0]&&St(i),l=i[2]&&Bt(i),s=i[1]&&Nt(i);return{c(){e=b("div"),a&&a.c(),t=H(),r=b("div"),r.innerHTML="<slot></slot>",n=H(),l&&l.c(),o=H(),s&&s.c(),this.c=p,u(r,"class","form-item-input"),u(e,"class","goa-form-item")},m(c,d){v(c,e,d),a&&a.m(e,null),m(e,t),m(e,r),m(e,n),l&&l.m(e,null),m(e,o),s&&s.m(e,null)},p(c,[d]){c[0]?a?a.p(c,d):(a=St(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[2]?l?l.p(c,d):(l=Bt(c),l.c(),l.m(e,o)):l&&(l.d(1),l=null),c[1]?s?s.p(c,d):(s=Nt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:p,o:p,d(c){c&&z(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function en(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 tn 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)}.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},en,$r,N,{label:0,helptext:1,error:2,optional:4},null),e&&(e.target&&v(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",tn);function rn(i){let e,t,r,n,o,a,l,s;return{c(){e=b("div"),t=b("goa-page-block"),r=b("h1"),n=F(i[0]),o=H(),a=b("div"),a.innerHTML="<slot></slot>",l=H(),s=b("slot"),this.c=p,u(a,"class","goa-hero-banner-content"),u(a,"role","note"),u(s,"name","actions"),C(t,"width","full"),u(e,"class","goa-hero"),u(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,d){v(c,e,d),m(e,t),m(t,r),m(r,n),m(t,o),m(t,a),m(t,l),m(t,s)},p(c,[d]){d&1&&q(n,c[0]),d&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:p,o:p,d(c){c&&z(e)}}}function nn(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 on 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},nn,rn,N,{heading:0,backgroundurl:1},null),e&&(e.target&&v(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",on);function an(i){let e,t,r,n;return{c(){e=b("button"),t=b("goa-icon"),this.c=p,C(t,"title",i[3]),C(t,"type",i[0]),C(t,"size",i[1]),C(t,"theme",i[2]),C(t,"inverted",i[5]),V(e,"--size",i[6]),u(e,"title",i[3]),e.disabled=i[7],u(e,"class",i[8]),u(e,"data-testid",i[4])},m(o,a){v(o,e,a),m(e,t),r||(n=U(e,"click",ln),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&&u(e,"title",o[3]),a&128&&(e.disabled=o[7]),a&256&&u(e,"class",o[8]),a&16&&u(e,"data-testid",o[4])},i:p,o:p,d(o){o&&z(e),r=!1,n()}}}function ln(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function sn(i,e,t){let r,n,o,a,{type:l}=e,{size:s="medium"}=e,{theme:c="outline"}=e,{variant:d="color"}=e,{title:f=""}=e,{testId:g=""}=e,{disabled:w}=e,{inverted:_}=e;return i.$$set=k=>{"type"in k&&t(0,l=k.type),"size"in k&&t(1,s=k.size),"theme"in k&&t(2,c=k.theme),"variant"in k&&t(9,d=k.variant),"title"in k&&t(3,f=k.title),"testId"in k&&t(4,g=k.testId),"disabled"in k&&t(10,w=k.disabled),"inverted"in k&&t(11,_=k.inverted)},i.$$.update=()=>{i.$$.dirty&2048&&t(5,o=G(_)),i.$$.dirty&544&&t(8,r=`${d} ${o?"inverted":""}`),i.$$.dirty&1024&&t(7,n=G(w)),i.$$.dirty&2&&t(6,a={small:"1rem",medium:"1.5rem",large:"2rem"}[s])},[l,s,c,f,g,o,a,n,r,d,w,_]}class cn 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;justify-content:center;background:transparent;cursor:pointer;border:none}.color{border-radius:0.5rem;padding:calc(var(--size) / 4)}.color{border-radius:0.5rem;color:var(--goa-color-interactive);fill:var(--goa-color-interactive);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.color:active,.nocolor:active{transform:scale(0.9);border:none}.color:hover{background-color:var(--goa-color-primary-light)}.color.inverted:hover{background-color:var(--goa-color-primary-dark)}button:disabled{color:var(--color-gray-200);fill:var(--color-gray-200);transform:none;cursor:default}button:disabled:hover{background-color:transparent}</style>",P(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},sn,an,N,{type:0,size:1,theme:2,variant:9,title:3,testId:4,disabled:10,inverted:11},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","theme","variant","title","testId","disabled","inverted"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get 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",cn);function Ot(i){let e,t;return{c(){e=b("ion-icon"),C(e,"name",t=i[1]==="filled"||i[0].indexOf("logo")===0?i[0]:`${i[0]}-${i[1]}`)},m(r,n){v(r,e,n)},p(r,n){n&3&&t!==(t=r[1]==="filled"||r[0].indexOf("logo")===0?r[0]:`${r[0]}-${r[1]}`)&&C(e,"name",t)},d(r){r&&z(e)}}}function dn(i){let e,t,r,n=i[0]&&Ot(i);return{c(){e=b("div"),n&&n.c(),this.c=p,u(e,"class","goa-icon"),u(e,"data-testid",t=`icon-${i[0]}`),u(e,"title",i[5]),u(e,"style",r=`
33
33
  --size: ${i[6]};
34
34
  --fill-color: ${i[2]};
35
35
  --hover-color: ${i[3]};