@noctuatech/uswds 0.0.18 → 0.0.19
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/assets/uswds.min.js +1 -1
- package/package.json +1 -1
- package/src/lib/side-nav/side-nav.element.ts +3 -2
- package/src/lib/step-indicator/step/step.element.ts +2 -1
- package/src/lib/step-indicator/step-indicator.element.ts +3 -2
- package/target/lib/side-nav/side-nav.element.d.ts +1 -1
- package/target/lib/side-nav/side-nav.element.js +13 -3
- package/target/lib/side-nav/side-nav.element.js.map +1 -1
package/assets/uswds.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){"use strict";function e(e,t,a,n,s,o){function i(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var l,r=n.kind,c="getter"===r?"get":"setter"===r?"set":"value",d=!t&&e?n.static?e:e.prototype:null,h=t||(d?Object.getOwnPropertyDescriptor(d,n.name):{}),u=!1,m=a.length-1;m>=0;m--){var f={};for(var p in n)f[p]="access"===p?{}:n[p];for(var p in n.access)f.access[p]=n.access[p];f.addInitializer=function(e){if(u)throw new TypeError("Cannot add initializers after decoration has completed");o.push(i(e||null))};var b=(0,a[m])("accessor"===r?{get:h.get,set:h.set}:h[c],f);if("accessor"===r){if(void 0===b)continue;if(null===b||"object"!=typeof b)throw new TypeError("Object expected");(l=i(b.get))&&(h.get=l),(l=i(b.set))&&(h.set=l),(l=i(b.init))&&s.unshift(l)}else(l=i(b))&&("field"===r?s.unshift(l):h[c]=l)}d&&Object.defineProperty(d,n.name,h),u=!0}function t(e,t,a){for(var n=arguments.length>2,s=0;s<t.length;s++)a=n?t[s].call(e,a):t[s].call(e);return n?a:void 0}function a(e,t,a){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:a?"".concat(a," ",t):t})}function n(e,t,a,n){if("a"===a&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===a?n:"a"===a?n.call(e):n?n.value:t.get(e)}function s(e,t,a,n,s){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?s.call(e,a):s?s.value=a:t.set(e,a),a}function o(e){return e[Symbol.metadata]}"function"==typeof SuppressedError&&SuppressedError;class i{#e;#t;get name(){return this.#e}get factory(){return this.#t}constructor(e,t){this.#e=e,this.#t=t}}const l=new WeakMap;class r{#a=new WeakMap;parent;providers;constructor(e=[],t){this.parent=t,this.providers=e}inject(e){if(this.#a.has(e)){const t=this.#a.get(e),a=o(e);return a&&c(t,a.onInjected),t}const t=this.#n(e);if(t){if(t.use){const a=t.use;return this.#s(e,(()=>new a))}if(t.factory){const a=t.factory;return this.#s(e,a)}throw new Error(`Provider for ${e.name} found but is missing either 'use' or 'factory'`)}if(this.parent)return this.parent.inject(e);if(e instanceof i){if(!e.factory)throw new Error(`Provider not found for "${e.name}"`);return this.#s(e,e.factory)}return this.#s(e,(()=>new e))}setParent(e){this.parent=e}clear(){this.#a=new WeakMap}#s(e,t){const a=t(this);if(this.#a.set(e,a),"object"==typeof a&&null!==a){const t=l.get(a);t&&t.setParent(this);const n=o(e);n&&(c(a,n.onCreated),c(a,n.onInjected))}return a}#n(e){if(this.providers)for(let t=0;t<this.providers.length;t++)if(this.providers[t].provide===e)return this.providers[t]}}function c(e,t){if(Array.isArray(t))for(let a of t)"function"==typeof a&&a.call(e)}function d(e,t){return{[e.name]:class extends e{constructor(...e){super(),this.addEventListener("finddiroot",(e=>{e.stopPropagation();const t=function(e){const t=e.composedPath();for(let e=1;e<t.length;e++){const a=t[e],n=l.get(a);if(n)return n;if(a===document.body)return null}return null}(e);t&&l.get(this)?.setParent(t)}))}connectedCallback(){this.isConnected&&(this.dispatchEvent(new Event("finddiroot",{bubbles:!0,composed:!0})),super.connectedCallback&&super.connectedCallback())}disconnectedCallback(){l.get(this)?.setParent(void 0),super.disconnectedCallback&&super.disconnectedCallback()}}}[e.name]}function h(e){return function(t,a){const n={[t.name]:class extends t{constructor(...t){super(...t);const a=new r(e?.providers);a.providers.push({provide:r,factory:()=>a}),l.set(this,a)}}};return"HTMLElement"in globalThis&&HTMLElement.prototype.isPrototypeOf(t.prototype)?d(n[t.name]):n[t.name]}}function u(e){return function(){const t=l.get(this);if(void 0===t){const e=this.constructor.name;throw new Error(`${e} is either not injectable or a service is being called in the constructor. \n Either add the @injectable() to your class or use the @injected callback method.`)}return t.inject(e)}}Symbol.metadata??=Symbol("Symbol.metadata");class m{#o;constructor(e,...t){this.#o=document.createElement("template"),this.#o.innerHTML=g(e)}apply(e){e.shadowRoot&&e.shadowRoot.append(this.#o.content.cloneNode(!0))}}function f(e,...t){return new m(e,...t)}class p{#i;constructor(e,...t){this.#i=new CSSStyleSheet,this.#i.replaceSync(g(e))}apply(e){e.shadowRoot&&(e.shadowRoot.adoptedStyleSheets=[...e.shadowRoot.adoptedStyleSheets,this.#i])}}function b(e){return new p(e)}function g(e){let t="";for(let a=0;a<e.length;a++)t+=e[a];return t}Symbol.metadata??=Symbol("Symbol.metadata");class v extends Map{}class y extends Map{}class k{attrs=new v;attrChanges=new y;listeners=[];onReady=new Set}class w extends WeakMap{read(e){return this.has(e)||this.set(e,new k),this.get(e)}}const S=new w;function x(e){return function({get:t,set:a},n){const s=e?.name??function(e){let t;if("symbol"==typeof e){if(!e.description)throw new Error("Cannot handle Symbol property without description");t=e.description}else t=e;return t.toLowerCase().replaceAll(" ","-")}(n.name),o=S.read(n.metadata),i=e?.reflect??!0;return o.attrs.set(s,{propName:n.name,observe:e?.observed??!0,reflect:i,getPropValue:t,setPropValue:a}),{set(e){if(i)if(!0===e)this.hasAttribute(s)||this.setAttribute(s,"");else if(!1===e)this.hasAttribute(s)&&this.removeAttribute(s);else{const t=String(e);this.getAttribute(s)!==t&&this.setAttribute(s,t)}a.call(this,e)}}}}function C(e,t){return function(a,n){const s=S.read(n.metadata);let o=e=>e.shadowRoot??e;t&&(o="string"==typeof t?e=>e.shadowRoot?e.shadowRoot.querySelector(t):e.querySelector(t):t),s.listeners.push({event:e,cb:a,selector:o})}}function M(e){return function(t,a){const n=S.read(a.metadata);a.addInitializer((function(){e?.tagName&&(customElements.get(e.tagName)||customElements.define(e.tagName,this))}));const s={[t.name]:class extends t{static observedAttributes=Array.from(n.attrs.keys());#l=new Set;constructor(...t){if(super(...t),e?.shadowDom){this.shadowRoot||this.attachShadow(e.shadowDomOpts??{mode:"open"});for(let t of e.shadowDom)t.apply(this)}for(let e of n.onReady)e.call(this)}attributeChangedCallback(e,t,a){const s=n.attrs.get(e),o=n.attrChanges.get(e);if(s){if(t!==a){const e=s.getPropValue.call(this);""===a?s.setPropValue.call(this,!0):"number"==typeof e?s.setPropValue.call(this,Number(a)):s.setPropValue.call(this,a)}if(o)for(let e of o)e.call(this,t,a);super.attributeChangedCallback&&super.attributeChangedCallback(e,t,a)}}connectedCallback(){if(this.isConnected){for(let{event:e,cb:t,selector:a}of n.listeners){const n=a(this);if(!n)throw new Error(`could not add listener to ${n}`);{const a=t.bind(this);n.addEventListener(e,a),this.#l.add((()=>{n.removeEventListener(e,a)}))}}!function(e,t){for(let[a,{getPropValue:n,reflect:s}]of t)if(s){const t=n.call(e);if(null!=t&&""!==t)if("boolean"==typeof t)!0===t&&(e.hasAttribute(a)||e.setAttribute(a,""));else{const n=String(t);e.getAttribute(a)!==n&&e.setAttribute(a,n)}}}(this,n.attrs),super.connectedCallback&&super.connectedCallback()}}disconnectedCallback(){for(let e of this.#l)e();super.disconnectedCallback&&super.disconnectedCallback()}}};return s[t.name]}}function A(e){let t=null;return function(){if(t)return t;if(t=this.shadowRoot?this.shadowRoot.querySelector(e):this.querySelector(e),!t)throw new Error("could not find element");return t}}function E(){return function(e,t){S.read(t.metadata).onReady.add(e)}}class W{constructor(){this.iconPath=""}}(()=>{var o,i;let l,c,d,m=[M({tagName:"usa-config",shadowDom:[b`:host{display:contents}`,f`<slot></slot>`]}),h()],p=[],g=HTMLElement,v=[],y=[];c=class extends g{constructor(){super(...arguments),i.set(this,t(this,v,"/assets/usa-icons/")),o.set(this,(t(this,y),u(r)))}get iconPath(){return n(this,i,"f")}set iconPath(e){s(this,i,e,"f")}connectedCallback(){const{providers:e}=n(this,o,"f").call(this);e.push({provide:W,factory:()=>this})}},o=new WeakMap,i=new WeakMap,a(c,"USAConfigElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(g[Symbol.metadata]??null):void 0;d=[x({name:"icon-path"})],e(c,null,d,{kind:"accessor",name:"iconPath",static:!1,private:!1,access:{has:e=>"iconPath"in e,get:e=>e.iconPath,set:(e,t)=>{e.iconPath=t}},metadata:a},v,y),e(null,l={value:c},m,{kind:"class",name:c.name,metadata:a},null,p),c=l.value,a&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(c,p)})()})();const j={info:{icon:"info"},warning:{icon:"warning"},success:{icon:"check_circle"},error:{icon:"error"},emergency:{icon:"error"}};(()=>{var o,i;let l,r,c,d=[M({tagName:"usa-alert",shadowDom:[b`:host{display:block;border-left:.5rem solid #adadad;padding:1rem 1.2rem;color:#1b1b1b;margin-bottom:1rem}:host([type=info]){border-left-color:#00bde3;background-color:#e7f6f8}:host([type=warning]){background-color:#faf3d1;border-left-color:#ffbe2e}:host([type=success]){background-color:#ecf3ec;border-left-color:#00a91c}:host([type=error]){background-color:#f4e3db;border-left-color:#d54309}:host([type=emergency]){background-color:#9c3d10;border-left-color:#9c3d10;color:#fff}:host([type=emergency]) ::slotted(*){color:#fff}.alert-heading{display:grid;grid-template-columns:auto 1fr;align-items:center}usa-icon{margin:-.28rem .75rem 0 0}#heading::slotted(*){font-family:Source Sans Pro Web,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-size:1.33rem;line-height:.9;margin-top:0;margin-bottom:.5rem}`,f`<div class="alert-heading"><usa-icon icon="check_circle"></usa-icon><div><slot id="heading" name="heading"></slot></div><div class="spacer"></div><div><slot></slot></div></div>`]})],h=[],u=HTMLElement,m=[],p=[];r=class extends u{constructor(){super(...arguments),i.set(this,t(this,m,"info")),o.set(this,(t(this,p),A("usa-icon")))}get type(){return n(this,i,"f")}set type(e){s(this,i,e,"f")}attributeChangedCallback(){n(this,o,"f").call(this).icon=j[this.type].icon}},o=new WeakMap,i=new WeakMap,a(r,"USAAlertElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(u[Symbol.metadata]??null):void 0;c=[x()],e(r,null,c,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:e=>"type"in e,get:e=>e.type,set:(e,t)=>{e.type=t}},metadata:a},m,p),e(null,l={value:r},d,{kind:"class",name:r.name,metadata:a},null,h),r=l.value,a&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(r,h)})()})(),(()=>{var o,i,l,r,c,d,h,u,m;let p,g,v,y,k,w,S,W,j,O=[M({tagName:"usa-button",shadowDomOpts:{mode:"open",delegatesFocus:!0},shadowDom:[b`:host{display:contents}.usa-button{box-sizing:border-box;font-family:Source Sans Pro Web,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-size:1.06rem;line-height:.9;color:#fff;background-color:#005ea2;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-items:center;border:0;border-radius:.25rem;cursor:pointer;-moz-column-gap:.5rem;column-gap:.5rem;display:inline-flex;font-weight:700;justify-content:center;padding:.75rem 1.25rem;text-align:center;text-decoration:none;width:100%;cursor:pointer}@media all and (min-width:30em){.usa-button{width:auto}}.usa-button:visited{color:#fff}.usa-button:hover{color:#fff;background-color:#1a4480;border-bottom:0;text-decoration:none}.usa-button:active{color:#fff;background-color:#162e51}.usa-button:not([disabled]):focus{outline-offset:.25rem}.usa-button:disabled{color:#454545;background-color:#c9c9c9;cursor:not-allowed;opacity:1}.usa-button:disabled:active,.usa-button:disabled:focus,.usa-button:disabled:hover{color:#454545;background-color:#c9c9c9}.usa-button:focus{outline:.25rem solid #2491ff;outline-offset:0}:host([variant=secondary]) .usa-button{color:#fff;background-color:#d83933}:host([variant=secondary]) .usa-button:hover{background-color:#b50909}:host([variant=secondary]) .usa-button:active{background-color:#8b0a03}:host([variant=cool]) .usa-button{color:#1b1b1b;background-color:#00bde3}:host([variant=cool]) .usa-button:hover{background-color:#28a0cb}:host([variant=cool]) .usa-button:active{color:#fff;background-color:#07648d}:host([variant=warm]) .usa-button{color:#1b1b1b;background-color:#fa9441}:host([variant=warm]) .usa-button:hover{color:#fff;background-color:#c05600}:host([variant=warm]) .usa-button:active{color:#fff;background-color:#775540}:host([variant=outline]) .usa-button{background-color:transparent;box-shadow:inset 0 0 0 2px #005ea2;color:#005ea2}:host([variant=outline]) .usa-button:hover{box-shadow:inset 0 0 0 2px #1a4480;color:#1a4480}:host([variant=outline]) .usa-button:active{box-shadow:inset 0 0 0 2px #162e51;color:#162e51}`,f`<button class="usa-button"><slot></slot></button>`]})],P=[],N=HTMLElement,T=[],D=[],L=[],H=[],z=[],R=[],I=[],U=[],V=[];g=class extends N{constructor(){super(...arguments),o.add(this),c.set(this,(t(this,T),t(this,D,"button"))),d.set(this,(t(this,L),t(this,H,!1))),h.set(this,(t(this,z),t(this,R,"primary"))),u.set(this,(t(this,I),t(this,U,""))),m.set(this,(t(this,V),0)),i.set(this,this.attachInternals()),l.set(this,A("button"))}get type(){return n(this,c,"f")}set type(e){s(this,c,e,"f")}get disabled(){return n(this,d,"f")}set disabled(e){s(this,d,e,"f")}get variant(){return n(this,h,"f")}set variant(e){s(this,h,e,"f")}get value(){return n(this,u,"f")}set value(e){s(this,u,e,"f")}get tabIndex(){return n(this,m,"f")}set tabIndex(e){s(this,m,e,"f")}onReady(){n(this,l,"f").call(this).autofocus=this.autofocus}onKeyDown(e){"submit"===this.type&&"ENTER"===e.key.toUpperCase()&&n(this,o,"m",r).call(this)}onInternalClick(){n(this,o,"m",r).call(this)}attributeChangedCallback(){const e=n(this,l,"f").call(this);e.type=this.type,e.disabled=this.disabled}},i=new WeakMap,l=new WeakMap,o=new WeakSet,c=new WeakMap,d=new WeakMap,h=new WeakMap,u=new WeakMap,m=new WeakMap,r=function(){const{form:e}=n(this,i,"f");if(e)if("submit"===this.type){const t=document.createElement("button");t.type="submit",e.append(t),t.click(),t.remove()}else"reset"===this.type&&e.reset()},a(g,"USAButtonElement"),(()=>{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(N[Symbol.metadata]??null):void 0;v=[x()],y=[x()],k=[x()],w=[x()],S=[E()],W=[C("keydown",(()=>document.body))],j=[C("click")],e(g,null,v,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:e=>"type"in e,get:e=>e.type,set:(e,t)=>{e.type=t}},metadata:t},D,L),e(g,null,y,{kind:"accessor",name:"disabled",static:!1,private:!1,access:{has:e=>"disabled"in e,get:e=>e.disabled,set:(e,t)=>{e.disabled=t}},metadata:t},H,z),e(g,null,k,{kind:"accessor",name:"variant",static:!1,private:!1,access:{has:e=>"variant"in e,get:e=>e.variant,set:(e,t)=>{e.variant=t}},metadata:t},R,I),e(g,null,w,{kind:"accessor",name:"value",static:!1,private:!1,access:{has:e=>"value"in e,get:e=>e.value,set:(e,t)=>{e.value=t}},metadata:t},U,V),e(g,null,S,{kind:"method",name:"onReady",static:!1,private:!1,access:{has:e=>"onReady"in e,get:e=>e.onReady},metadata:t},null,T),e(g,null,W,{kind:"method",name:"onKeyDown",static:!1,private:!1,access:{has:e=>"onKeyDown"in e,get:e=>e.onKeyDown},metadata:t},null,T),e(g,null,j,{kind:"method",name:"onInternalClick",static:!1,private:!1,access:{has:e=>"onInternalClick"in e,get:e=>e.onInternalClick},metadata:t},null,T),e(null,p={value:g},O,{kind:"class",name:g.name,metadata:t},null,P),g=p.value,t&&Object.defineProperty(g,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})})(),g.formAssociated=!0,t(g,P)})(),(()=>{var o,i,l,r,c,d;let h,u,m,p,g,v,y,k=[M({tagName:"usa-checkbox",shadowDom:[b`*{box-sizing:border-box}:host{display:inline-block;font-family:Source Sans Pro Web,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;max-width:30rem}:host([tiled]) label{background-color:#fff;border:2px solid #c9c9c9;border-radius:.25rem;color:#1b1b1b;padding:.75rem 1rem .75rem .75rem}label{display:inline-flex;cursor:pointer;font-size:1.06rem;line-height:1.3;flex-wrap:wrap}.checkbox{background:#fff;box-shadow:0 0 0 2px #1b1b1b;display:flex;align-items:center;justify-content:center;height:1.25rem;width:1.25rem;border-radius:2px;position:relative;margin-right:.75rem}input:checked+.checkbox{background-color:#005ea2;box-shadow:0 0 0 2px #005ea2}input:checked+.checkbox::after{content:" ";display:block;height:1rem;width:.5rem;border-right:4px solid #fff;border-bottom:4px solid #fff;transform:rotate(45deg) scale(.65)}input{height:0;width:0;position:absolute;left:-999em;right:auto}input:focus+.checkbox{outline:.25rem solid #2491ff;outline-offset:.25rem}.description{display:block;font-size:.93rem;margin-top:.5rem}.break{flex-basis:100%;height:0}.spacer{height:1.25rem;width:1.25rem;margin-right:.75rem}:host([tiled]) label:has(input:checked){background-color:rgba(0,94,162,.1);border-color:#005ea2}`,f`<label><input type="checkbox"><div class="checkbox"></div><div class="title"><slot></slot></div></label>`]})],w=[],S=HTMLElement,E=[],W=[],j=[],O=[],P=[],N=[],T=[],D=[],L=[];u=class extends S{constructor(){super(...arguments),l.set(this,(t(this,E),t(this,W,!1))),r.set(this,(t(this,j),t(this,O,""))),c.set(this,(t(this,P),t(this,N,""))),d.set(this,(t(this,T),t(this,D,!1))),o.set(this,(t(this,L),A("input"))),i.set(this,this.attachInternals())}get checked(){return n(this,l,"f")}set checked(e){s(this,l,e,"f")}get name(){return n(this,r,"f")}set name(e){s(this,r,e,"f")}get value(){return n(this,c,"f")}set value(e){s(this,c,e,"f")}get tiled(){return n(this,d,"f")}set tiled(e){s(this,d,e,"f")}connectedCallback(){const e=n(this,o,"f").call(this);this.checked&&n(this,i,"f").setFormValue(this.value),e.checked=this.checked,e.name=this.name}attributeChangedCallback(){const e=n(this,o,"f").call(this);e.checked=this.checked,e.name=this.name}onCheckboxChange(){n(this,o,"f").call(this).checked?n(this,i,"f").setFormValue(this.value):n(this,i,"f").setFormValue(null)}},o=new WeakMap,i=new WeakMap,l=new WeakMap,r=new WeakMap,c=new WeakMap,d=new WeakMap,a(u,"USACheckboxElement"),(()=>{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(S[Symbol.metadata]??null):void 0;m=[x()],p=[x()],g=[x()],v=[x({observed:!1})],y=[C("change","input[type=checkbox]")],e(u,null,m,{kind:"accessor",name:"checked",static:!1,private:!1,access:{has:e=>"checked"in e,get:e=>e.checked,set:(e,t)=>{e.checked=t}},metadata:t},W,j),e(u,null,p,{kind:"accessor",name:"name",static:!1,private:!1,access:{has:e=>"name"in e,get:e=>e.name,set:(e,t)=>{e.name=t}},metadata:t},O,P),e(u,null,g,{kind:"accessor",name:"value",static:!1,private:!1,access:{has:e=>"value"in e,get:e=>e.value,set:(e,t)=>{e.value=t}},metadata:t},N,T),e(u,null,v,{kind:"accessor",name:"tiled",static:!1,private:!1,access:{has:e=>"tiled"in e,get:e=>e.tiled,set:(e,t)=>{e.tiled=t}},metadata:t},D,L),e(u,null,y,{kind:"method",name:"onCheckboxChange",static:!1,private:!1,access:{has:e=>"onCheckboxChange"in e,get:e=>e.onCheckboxChange},metadata:t},null,E),e(null,h={value:u},k,{kind:"class",name:u.name,metadata:t},null,w),u=h.value,t&&Object.defineProperty(u,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})})(),u.formAssociated=!0,t(u,w)})(),(()=>{let n,s,o=[M({tagName:"usa-description",shadowDom:[b`:host{display:block;font-size:.93rem;margin-top:.5rem}`,f`<slot></slot>`]})],i=[],l=HTMLElement;s=class extends l{},a(s,"USADescriptionElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(l[Symbol.metadata]??null):void 0;e(null,n={value:s},o,{kind:"class",name:s.name,metadata:a},null,i),s=n.value,a&&Object.defineProperty(s,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(s,i)})()})(),Symbol.metadata??=Symbol("Symbol.metadata");class O extends Map{}class P{scheduler=null;changes=new O}class N extends WeakMap{read(e){let t=this.get(e);return t||(t=new P,this.set(e,t)),t}}class T{effects=new Set}class D extends WeakMap{read(e){let t=this.get(e);return t||(t=new T,this.set(e,t)),t}}const L=new N,H=new D;function z(){return function(e,t){const a=H.read(t.metadata);return{init(e){let a=null;try{a=t.access.get(this)}catch{}return a?(Reflect.deleteProperty(this,t.name),a):e},set(n){const s=L.read(this);null===s.scheduler&&(s.scheduler=Promise.resolve().then((()=>{for(let e of a.effects)e.call(this,s.changes);s.scheduler=null,s.changes.clear()}))),s.changes.set(t.name,{oldValue:e.get.call(this),newValue:n}),e.set.call(this,n)}}}}function R(){return function(e,t){H.read(t.metadata).effects.add(e)}}(()=>{var o,i,l,r,c,d,h,u;let m,p,g,v,y,k,w,S,E=[M({tagName:"usa-file-input",shadowDom:[b`*{box-sizing:border-box}:host{display:block;max-width:30rem;position:relative;margin-bottom:1.5rem}label{display:block}input{cursor:pointer;left:0;margin:0;max-width:none;position:absolute;text-indent:-999em;width:100%;z-index:1;bottom:0;top:0}input:focus{outline:.25rem solid #2491ff;outline-offset:0}label slot.label{font-size:1.06rem;line-height:1.3;display:block;font-weight:400;margin-bottom:.5rem}.box{border:1px dashed #adadad;display:flex;font-size:.93rem;position:relative;text-align:center;width:100%;max-width:30rem;height:5.2rem;align-items:center;justify-content:center}.container{position:relative}`,f`<label><slot class="label"></slot><div class="container"><input type="file"><div class="box"><slot name="description">Drag file here or<usa-link>choose from folder</usa-link></slot></div><usa-file-input-preview>Selected file<usa-link>Change file</usa-link></usa-file-input-preview></div></label>`]})],W=[],j=HTMLElement,O=[],P=[],N=[],T=[],D=[],L=[],H=[],I=[],U=[];p=class extends j{constructor(){super(...arguments),c.set(this,(t(this,O),t(this,P,""))),d.set(this,(t(this,N),t(this,T,!0))),h.set(this,(t(this,D),t(this,L,""))),u.set(this,(t(this,H),t(this,I,null))),o.set(this,(t(this,U),this.attachInternals())),i.set(this,A("input")),l.set(this,A(".box")),r.set(this,A("usa-file-input-preview"))}get name(){return n(this,c,"f")}set name(e){s(this,c,e,"f")}get multiple(){return n(this,d,"f")}set multiple(e){s(this,d,e,"f")}get accept(){return n(this,h,"f")}set accept(e){s(this,h,e,"f")}get files(){return n(this,u,"f")}set files(e){s(this,u,e,"f")}onChange(){const e=n(this,i,"f").call(this);this.files&&(e.files=this.files,this.onInputChange())}attributeChangedCallback(){const e=n(this,i,"f").call(this);e.name=this.name,e.multiple=this.multiple,e.accept=this.accept}onInputChange(){const e=n(this,i,"f").call(this),t=n(this,l,"f").call(this);n(this,r,"f").call(this).files=e.files;const a=new FormData;if(e.files&&e.files.length){t.style.display="none";for(let t of e.files)a.append(this.name,t)}else t.style.display="flex";n(this,o,"f").setFormValue(a)}},o=new WeakMap,i=new WeakMap,l=new WeakMap,r=new WeakMap,c=new WeakMap,d=new WeakMap,h=new WeakMap,u=new WeakMap,a(p,"USAFileInputElement"),(()=>{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(j[Symbol.metadata]??null):void 0;g=[x()],v=[x()],y=[x()],k=[z()],w=[R()],S=[C("change")],e(p,null,g,{kind:"accessor",name:"name",static:!1,private:!1,access:{has:e=>"name"in e,get:e=>e.name,set:(e,t)=>{e.name=t}},metadata:t},P,N),e(p,null,v,{kind:"accessor",name:"multiple",static:!1,private:!1,access:{has:e=>"multiple"in e,get:e=>e.multiple,set:(e,t)=>{e.multiple=t}},metadata:t},T,D),e(p,null,y,{kind:"accessor",name:"accept",static:!1,private:!1,access:{has:e=>"accept"in e,get:e=>e.accept,set:(e,t)=>{e.accept=t}},metadata:t},L,H),e(p,null,k,{kind:"accessor",name:"files",static:!1,private:!1,access:{has:e=>"files"in e,get:e=>e.files,set:(e,t)=>{e.files=t}},metadata:t},I,U),e(p,null,w,{kind:"method",name:"onChange",static:!1,private:!1,access:{has:e=>"onChange"in e,get:e=>e.onChange},metadata:t},null,O),e(p,null,S,{kind:"method",name:"onInputChange",static:!1,private:!1,access:{has:e=>"onInputChange"in e,get:e=>e.onInputChange},metadata:t},null,O),e(null,m={value:p},E,{kind:"class",name:p.name,metadata:t},null,W),p=m.value,t&&Object.defineProperty(p,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})})(),p.formAssociated=!0,t(p,W)})(),(()=>{var o,i,l;let r,c,d,h,u=[M({tagName:"usa-file-input-preview",shadowDom:[b`*{box-sizing:border-box}:host{display:block;font-size:.87rem;pointer-events:none;position:relative;text-align:left;word-wrap:anywhere;z-index:3}:host([hidden]){display:none}img{border:0;display:block;height:2.5rem;margin-right:.5rem;-o-object-fit:contain;object-fit:contain;width:2.5rem}.preview-heading{align-items:center;background:#d9e8f6;display:flex;pointer-events:none;position:relative;z-index:3;font-weight:700;justify-content:space-between;padding:.5rem;text-align:left}.preview-item{align-items:center;background:#d9e8f6;display:flex;padding:.5rem;width:100%;margin-top:1px}`,f`<template><div class="preview-item"><img height="40" width="40" aria-hidden="true"></div></template><slot class="preview-heading"></slot>`]})],m=[],p=HTMLElement,g=[],v=[],y=[];c=class extends p{constructor(){super(...arguments),l.set(this,(t(this,g),t(this,v,null))),o.set(this,(t(this,y),new Map)),i.set(this,A("template"))}get files(){return n(this,l,"f")}set files(e){s(this,l,e,"f")}connectedCallback(){this.onChange()}onChange(){const e=n(this,i,"f").call(this);if(this.files&&this.files.length){this.hidden=!1;let t=new Set;for(let a of this.files)if(t.add(a.name),!n(this,o,"f").has(a.name)){const t=e.content.cloneNode(!0).childNodes[1];t.id=a.name,t.append(document.createTextNode(a.name));t.querySelector("img").src=URL.createObjectURL(a),this.shadowRoot.append(t),n(this,o,"f").set(a.name,t)}for(let[e,a]of n(this,o,"f"))t.has(e)||(a.remove(),n(this,o,"f").delete(e))}else this.hidden=!0}},o=new WeakMap,i=new WeakMap,l=new WeakMap,a(c,"USAFileInputPreviewElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(p[Symbol.metadata]??null):void 0;d=[z()],h=[R()],e(c,null,d,{kind:"accessor",name:"files",static:!1,private:!1,access:{has:e=>"files"in e,get:e=>e.files,set:(e,t)=>{e.files=t}},metadata:a},v,y),e(c,null,h,{kind:"method",name:"onChange",static:!1,private:!1,access:{has:e=>"onChange"in e,get:e=>e.onChange},metadata:a},null,g),e(null,r={value:c},u,{kind:"class",name:c.name,metadata:a},null,m),c=r.value,a&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(c,m)})()})();const I=new Map;var U;(()=>{var o,i,l,r,c,d;let m,f,p,g=[M({tagName:"usa-icon",shadowDom:[b`:host{display:inline-block;height:2rem;position:relative;width:2rem}svg{fill:currentColor;height:100%;width:100%}`]}),h()],v=[],y=HTMLElement,k=[],w=[];f=class extends y{constructor(){super(...arguments),o.add(this),d.set(this,t(this,k,"accessibility_new")),this.ariaHidden=(t(this,w),"true"),i.set(this,this.attachShadow({mode:"open"})),l.set(this,u(W)),r.set(this,!1)}get icon(){return n(this,d,"f")}set icon(e){s(this,d,e,"f")}connectedCallback(){s(this,r,!0,"f"),n(this,o,"m",c).call(this)}attributeChangedCallback(){n(this,r,"f")&&n(this,o,"m",c).call(this)}async fetchIcon(){const e=I.get(this.icon);if(e)return e;const t=n(this,l,"f").call(this),a=fetch(`${t.iconPath}/${this.icon}.svg`).then((e=>e.text()));return I.set(this.icon,a),a}},i=new WeakMap,l=new WeakMap,r=new WeakMap,o=new WeakSet,d=new WeakMap,c=async function(){n(this,i,"f").innerHTML=await this.fetchIcon()},a(f,"USAIconElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(y[Symbol.metadata]??null):void 0;p=[x()],e(f,null,p,{kind:"accessor",name:"icon",static:!1,private:!1,access:{has:e=>"icon"in e,get:e=>e.icon,set:(e,t)=>{e.icon=t}},metadata:a},k,w),e(null,m={value:f},g,{kind:"class",name:f.name,metadata:a},null,v),f=m.value,a&&Object.defineProperty(f,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(f,v)})()})(),(()=>{var o,i,l,r,c,d;let h,u,m,p,g,v,y,k,w,S=[M({tagName:"usa-input",shadowDomOpts:{mode:"open",delegatesFocus:!0},shadowDom:[b`*{box-sizing:border-box}:host{font-size:1.06rem;line-height:1.3;display:block;font-weight:400;max-width:30rem;margin-bottom:1.5rem}input{border-width:1px;border-color:#5c5c5c;border-style:solid;border-radius:0;color:#1b1b1b;display:block;height:2.5rem;line-height:1.3;font-size:1.06rem;margin-top:.5rem;padding:.5rem;width:100%}input:not(:disabled):focus{outline:.25rem solid #2491ff;outline-offset:0}`,f`<label><slot></slot><input></label>`]})],W=[],j=HTMLElement,O=[],P=[],N=[],T=[],D=[],L=[],H=[],I=[],U=[];u=class extends j{constructor(){super(...arguments),l.set(this,(t(this,O),t(this,P,""))),r.set(this,(t(this,N),t(this,T,"on"))),c.set(this,(t(this,D),t(this,L,""))),d.set(this,(t(this,H),t(this,I,""))),o.set(this,(t(this,U),this.attachInternals())),i.set(this,A("input"))}get name(){return n(this,l,"f")}set name(e){s(this,l,e,"f")}get autocomplete(){return n(this,r,"f")}set autocomplete(e){s(this,r,e,"f")}get placeholder(){return n(this,c,"f")}set placeholder(e){s(this,c,e,"f")}get value(){return n(this,d,"f")}set value(e){s(this,d,e,"f")}get selectionStart(){const{selectionStart:e}=n(this,i,"f").call(this);return e}setSelectionRange(e,t){n(this,i,"f").call(this).setSelectionRange(e,t)}onReady(){n(this,i,"f").call(this).autofocus=this.autofocus}onChange(){n(this,i,"f").call(this).value=this.value}onInputChange(){const e=n(this,i,"f").call(this);n(this,o,"f").setFormValue(e.value),this.value=e.value}attributeChangedCallback(e){const t=n(this,i,"f").call(this);switch(e){case"autocomplete":t.autocomplete=this.autocomplete;break;case"placeholder":t.placeholder=this.placeholder;break;case"name":t.name=this.name;break;case"value":t.value=this.value,n(this,o,"f").setFormValue(this.value)}}},o=new WeakMap,i=new WeakMap,l=new WeakMap,r=new WeakMap,c=new WeakMap,d=new WeakMap,a(u,"USATextInputElement"),(()=>{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(j[Symbol.metadata]??null):void 0;m=[x()],p=[x()],g=[x()],v=[x({reflect:!1}),z()],y=[E()],k=[R()],w=[C("input")],e(u,null,m,{kind:"accessor",name:"name",static:!1,private:!1,access:{has:e=>"name"in e,get:e=>e.name,set:(e,t)=>{e.name=t}},metadata:t},P,N),e(u,null,p,{kind:"accessor",name:"autocomplete",static:!1,private:!1,access:{has:e=>"autocomplete"in e,get:e=>e.autocomplete,set:(e,t)=>{e.autocomplete=t}},metadata:t},T,D),e(u,null,g,{kind:"accessor",name:"placeholder",static:!1,private:!1,access:{has:e=>"placeholder"in e,get:e=>e.placeholder,set:(e,t)=>{e.placeholder=t}},metadata:t},L,H),e(u,null,v,{kind:"accessor",name:"value",static:!1,private:!1,access:{has:e=>"value"in e,get:e=>e.value,set:(e,t)=>{e.value=t}},metadata:t},I,U),e(u,null,y,{kind:"method",name:"onReady",static:!1,private:!1,access:{has:e=>"onReady"in e,get:e=>e.onReady},metadata:t},null,O),e(u,null,k,{kind:"method",name:"onChange",static:!1,private:!1,access:{has:e=>"onChange"in e,get:e=>e.onChange},metadata:t},null,O),e(u,null,w,{kind:"method",name:"onInputChange",static:!1,private:!1,access:{has:e=>"onInputChange"in e,get:e=>e.onInputChange},metadata:t},null,O),e(null,h={value:u},S,{kind:"class",name:u.name,metadata:t},null,W),u=h.value,t&&Object.defineProperty(u,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})})(),u.formAssociated=!0,t(u,W)})(),function(e){e.Any="*",e.Number="9",e.Letter="A"}(U||(U={}));const V=Object.values(U),F={Letters:/^[a-z]/i,Numbers:/^[0-9]/i};function K(e,t){const a=e.replace(/[^a-z0-9]/gi,""),n=a.split("");let s=0,o="";for(var i=0;i<t.length;i++){const e=t[i],a=n[s];a&&e&&(e===U.Any?(o+=a,s++):e===U.Number?(/^[0-9]/i.test(a)&&(o+=a),s++):e===U.Letter?(/^[a-z]/i.test(a)&&(o+=a),s++):o+=e)}return{raw:a,formatted:o}}(()=>{var o,i,l;let r,c,d,h,u,m=[M({tagName:"usa-input-mask",shadowDom:[b`:host{display:contents}`,f`<slot></slot>`]})],p=[],g=HTMLElement,v=[],y=[],k=[];c=class extends g{get mask(){return n(this,l,"f")}set mask(e){s(this,l,e,"f")}connectedCallback(){for(let e of this.querySelectorAll("[mask]")){const{formatted:t}=K(e.value,n(this,o,"m",i).call(this,e));e.value=t}}async onInput(e){const t=e.target,a=t.selectionStart||0,s=t.value,l=n(this,o,"m",i).call(this,t),{formatted:r}=K(t.value,l);t.value=r;const c=t.value.length-s.length,d=l[a-1];await Promise.resolve(),d&&!V.includes(d)&&c>0?t.setSelectionRange(a+c,a+c):t.setSelectionRange(a,a),s!==t.value&&t.dispatchEvent(new Event("input",{bubbles:!0}))}onKeyDown(e){const t=e.target,a=n(this,o,"m",i).call(this,t),s=a[t.selectionStart||0];1===e.key.length&&/^[a-z0-9]/i.test(e.key)&&(t.value.length>=a.length?e.preventDefault():s===U.Number?F.Numbers.test(e.key)||e.preventDefault():s===U.Letter&&(F.Letters.test(e.key)||e.preventDefault()))}constructor(){super(...arguments),o.add(this),l.set(this,(t(this,v),t(this,y,""))),t(this,k)}},o=new WeakSet,l=new WeakMap,i=function(e){return this.mask||e.getAttribute("mask")||""},a(c,"USAInputMaskElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(g[Symbol.metadata]??null):void 0;d=[x()],h=[C("input")],u=[C("keydown")],e(c,null,d,{kind:"accessor",name:"mask",static:!1,private:!1,access:{has:e=>"mask"in e,get:e=>e.mask,set:(e,t)=>{e.mask=t}},metadata:a},y,k),e(c,null,h,{kind:"method",name:"onInput",static:!1,private:!1,access:{has:e=>"onInput"in e,get:e=>e.onInput},metadata:a},null,v),e(c,null,u,{kind:"method",name:"onKeyDown",static:!1,private:!1,access:{has:e=>"onKeyDown"in e,get:e=>e.onKeyDown},metadata:a},null,v),e(null,r={value:c},m,{kind:"class",name:c.name,metadata:a},null,p),c=r.value,a&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(c,p)})()})(),(()=>{var o,i,l,r,c;let d,h,u,m,p,g,v=[M({tagName:"usa-link",shadowDom:[b`:host{display:inline-flex;color:#005ea2;text-decoration:underline}a{color:inherit;text-decoration:inherit;display:inherit}`,f`<a><slot></slot></a>`]})],y=[],k=HTMLElement,w=[],S=[],C=[],E=[],W=[],j=[],O=[],P=[];h=class extends k{constructor(){super(...arguments),i.set(this,t(this,w,"")),l.set(this,(t(this,S),t(this,C,""))),r.set(this,(t(this,E),t(this,W,""))),c.set(this,(t(this,j),t(this,O,!1))),o.set(this,(t(this,P),A("a")))}get href(){return n(this,i,"f")}set href(e){s(this,i,e,"f")}get target(){return n(this,l,"f")}set target(e){s(this,l,e,"f")}get title(){return n(this,r,"f")}set title(e){s(this,r,e,"f")}get disabled(){return n(this,c,"f")}set disabled(e){s(this,c,e,"f")}attributeChangedCallback(e){const t=n(this,o,"f").call(this);switch(e){case"href":t.href=this.href;break;case"target":t.target=this.target;break;case"title":t.target=this.title}}},o=new WeakMap,i=new WeakMap,l=new WeakMap,r=new WeakMap,c=new WeakMap,a(h,"USALinkElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(k[Symbol.metadata]??null):void 0;u=[x()],m=[x()],p=[x()],g=[x({observed:!1})],e(h,null,u,{kind:"accessor",name:"href",static:!1,private:!1,access:{has:e=>"href"in e,get:e=>e.href,set:(e,t)=>{e.href=t}},metadata:a},w,S),e(h,null,m,{kind:"accessor",name:"target",static:!1,private:!1,access:{has:e=>"target"in e,get:e=>e.target,set:(e,t)=>{e.target=t}},metadata:a},C,E),e(h,null,p,{kind:"accessor",name:"title",static:!1,private:!1,access:{has:e=>"title"in e,get:e=>e.title,set:(e,t)=>{e.title=t}},metadata:a},W,j),e(h,null,g,{kind:"accessor",name:"disabled",static:!1,private:!1,access:{has:e=>"disabled"in e,get:e=>e.disabled,set:(e,t)=>{e.disabled=t}},metadata:a},O,P),e(null,d={value:h},v,{kind:"class",name:h.name,metadata:a},null,y),h=d.value,a&&Object.defineProperty(h,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(h,y)})()})(),(()=>{var o,i,l,r;let c,d,h,u,m,p,g,v=[M({tagName:"usa-radio",shadowDom:[b`:host{display:flex;flex-direction:column;gap:1rem;max-width:30rem;margin-bottom:1.5rem}label{display:flex;cursor:pointer;gap:.5rem}input{position:absolute;left:-999em;right:auto}label::before{content:" ";display:block;left:0;height:1.25rem;border-radius:99rem;width:1.25rem;background:#fff;box-shadow:0 0 0 2px #1b1b1b;flex:0 0 1.25rem}label:has(input:checked)::before{background-color:#005ea2;box-shadow:0 0 0 2px #005ea2,inset 0 0 0 2px #fff}label:has(input:focus)::before{outline:.25rem solid #2491ff;outline-offset:.25rem}:host([tiled]){gap:.5rem}:host([tiled]) label{background-color:#fff;border:2px solid #c9c9c9;color:#1b1b1b;border-radius:.25rem;padding:.75rem 1rem .75rem .75rem}:host([tiled]) label:has(input:checked){background-color:rgba(0,94,162,.1);border-color:#005ea2}slot{display:flex}`,f`<slot id="main"></slot>`]})],y=[],k=HTMLElement,w=[],S=[],A=[],E=[],W=[],j=[],O=[];d=class extends k{constructor(){super(...arguments),i.set(this,(t(this,w),t(this,S,""))),l.set(this,(t(this,A),t(this,E,""))),r.set(this,(t(this,W),t(this,j,!1))),o.set(this,(t(this,O),this.attachInternals()))}get value(){return n(this,i,"f")}set value(e){s(this,i,e,"f")}get name(){return n(this,l,"f")}set name(e){s(this,l,e,"f")}get tiled(){return n(this,r,"f")}set tiled(e){s(this,r,e,"f")}get shadow(){return this.shadowRoot}onChange(e){e.target instanceof HTMLInputElement&&e.target.checked&&(this.value=e.target.value,n(this,o,"f").setFormValue(e.target.value))}connectedCallback(){this.value&&n(this,o,"f").setFormValue(this.value)}attributeChangedCallback(){for(let e of this.shadow.querySelectorAll("usa-radio-option"))e.checked=e.value===this.value,e.name=this.name}onOptionAdded(e){e.stopPropagation();const t=e.target;t.checked=t.value===this.value,t.name=this.name,this.shadow.append(t.radio)}},o=new WeakMap,i=new WeakMap,l=new WeakMap,r=new WeakMap,a(d,"USARadioElement"),(()=>{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(k[Symbol.metadata]??null):void 0;h=[x()],u=[x()],m=[x({observed:!1})],p=[C("change")],g=[C("usa::radio::option::added",(e=>e))],e(d,null,h,{kind:"accessor",name:"value",static:!1,private:!1,access:{has:e=>"value"in e,get:e=>e.value,set:(e,t)=>{e.value=t}},metadata:t},S,A),e(d,null,u,{kind:"accessor",name:"name",static:!1,private:!1,access:{has:e=>"name"in e,get:e=>e.name,set:(e,t)=>{e.name=t}},metadata:t},E,W),e(d,null,m,{kind:"accessor",name:"tiled",static:!1,private:!1,access:{has:e=>"tiled"in e,get:e=>e.tiled,set:(e,t)=>{e.tiled=t}},metadata:t},j,O),e(d,null,p,{kind:"method",name:"onChange",static:!1,private:!1,access:{has:e=>"onChange"in e,get:e=>e.onChange},metadata:t},null,w),e(d,null,g,{kind:"method",name:"onOptionAdded",static:!1,private:!1,access:{has:e=>"onOptionAdded"in e,get:e=>e.onOptionAdded},metadata:t},null,w),e(null,c={value:d},v,{kind:"class",name:d.name,metadata:t},null,y),d=c.value,t&&Object.defineProperty(d,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})})(),d.formAssociated=!0,t(d,y)})(),(()=>{var o,i,l,r,c;let d,h,u,m,p,g=[M({tagName:"usa-radio-option",shadowDom:[b`:host{display:flex;flex-direction:column;margin-top:.05rem}`,f`<slot></slot>`]})],v=[],y=HTMLElement,k=[],w=[],S=[],C=[],A=[],E=[];h=class extends y{get value(){return n(this,l,"f")}set value(e){s(this,l,e,"f")}get name(){return n(this,r,"f")}set name(e){s(this,r,e,"f")}get checked(){return n(this,c,"f")}set checked(e){s(this,c,e,"f")}constructor(){super(),l.set(this,t(this,k,"")),r.set(this,(t(this,w),t(this,S,""))),c.set(this,(t(this,C),t(this,A,!1))),this.radio=(t(this,E),document.createElement("label")),o.set(this,document.createElement("input")),i.set(this,document.createElement("slot")),n(this,o,"f").type="radio",this.radio.append(n(this,o,"f"),n(this,i,"f"))}attributeChangedCallback(){this.slot=this.value,n(this,o,"f").name=this.name,n(this,o,"f").value=this.value,n(this,o,"f").checked=this.checked,n(this,i,"f").name=this.value}connectedCallback(){this.dispatchEvent(new Event("usa::radio::option::added",{bubbles:!0}))}disconnectedCallback(){this.radio.remove()}},o=new WeakMap,i=new WeakMap,l=new WeakMap,r=new WeakMap,c=new WeakMap,a(h,"USARadioOptionElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(y[Symbol.metadata]??null):void 0;u=[x()],m=[x()],p=[x()],e(h,null,u,{kind:"accessor",name:"value",static:!1,private:!1,access:{has:e=>"value"in e,get:e=>e.value,set:(e,t)=>{e.value=t}},metadata:a},k,w),e(h,null,m,{kind:"accessor",name:"name",static:!1,private:!1,access:{has:e=>"name"in e,get:e=>e.name,set:(e,t)=>{e.name=t}},metadata:a},S,C),e(h,null,p,{kind:"accessor",name:"checked",static:!1,private:!1,access:{has:e=>"checked"in e,get:e=>e.checked,set:(e,t)=>{e.checked=t}},metadata:a},A,E),e(null,d={value:h},g,{kind:"class",name:h.name,metadata:a},null,v),h=d.value,a&&Object.defineProperty(h,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(h,v)})()})(),(()=>{var o,i,l,r;let c,d,h,u,m,p,g=[M({tagName:"usa-select",shadowDom:[b`:host{display:block;font-family:Source Sans Pro Web,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;line-height:1.3;position:relative;width:100%;max-width:30rem;margin-bottom:1.5rem}select{font-size:1.06rem;appearance:none;border-width:1px;border-color:#5c5c5c;border-style:solid;border-radius:0;color:#1b1b1b;display:block;height:2.5rem;margin-top:.5rem;padding:.5rem;width:100%}select:not(:disabled):focus{outline:.25rem solid #2491ff;outline-offset:0}usa-icon{position:absolute;right:.5rem;bottom:12%;height:1.5rem;width:1.5rem}`,f`<usa-icon icon="unfold_more"></usa-icon><label><div class="label"><slot></slot></div><select></select></label>`]})],v=[],y=HTMLElement,k=[],w=[],S=[],E=[],W=[];d=class extends y{constructor(){super(...arguments),l.set(this,(t(this,k),t(this,w,""))),r.set(this,(t(this,S),t(this,E,""))),o.set(this,(t(this,W),A("select"))),i.set(this,this.attachInternals())}get value(){return n(this,l,"f")}set value(e){s(this,l,e,"f")}get name(){return n(this,r,"f")}set name(e){s(this,r,e,"f")}connectedCallback(){const e=n(this,o,"f").call(this);e.value=this.value,e.name=this.name,n(this,i,"f").setFormValue(this.value)}onSelectChange(){const e=n(this,o,"f").call(this);n(this,i,"f").setFormValue(e.value)}onOptionAdded(e){const t=e.target;e.stopPropagation();n(this,o,"f").call(this).append(t.option)}},o=new WeakMap,i=new WeakMap,l=new WeakMap,r=new WeakMap,a(d,"USASelectElement"),(()=>{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(y[Symbol.metadata]??null):void 0;h=[x()],u=[x()],m=[C("change")],p=[C("usa::select::option::added")],e(d,null,h,{kind:"accessor",name:"value",static:!1,private:!1,access:{has:e=>"value"in e,get:e=>e.value,set:(e,t)=>{e.value=t}},metadata:t},w,S),e(d,null,u,{kind:"accessor",name:"name",static:!1,private:!1,access:{has:e=>"name"in e,get:e=>e.name,set:(e,t)=>{e.name=t}},metadata:t},E,W),e(d,null,m,{kind:"method",name:"onSelectChange",static:!1,private:!1,access:{has:e=>"onSelectChange"in e,get:e=>e.onSelectChange},metadata:t},null,k),e(d,null,p,{kind:"method",name:"onOptionAdded",static:!1,private:!1,access:{has:e=>"onOptionAdded"in e,get:e=>e.onOptionAdded},metadata:t},null,k),e(null,c={value:d},g,{kind:"class",name:d.name,metadata:t},null,v),d=c.value,t&&Object.defineProperty(d,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})})(),d.formAssociated=!0,t(d,v)})(),(()=>{var o;let i,l,r,c,d=[M({tagName:"usa-select-option",shadowDom:[b`:host{display:none}`,f`<slot></slot>`]})],h=[],u=HTMLElement,m=[],p=[],g=[];l=class extends u{constructor(){super(...arguments),o.set(this,(t(this,m),t(this,p,""))),this.option=(t(this,g),document.createElement("option"))}get value(){return n(this,o,"f")}set value(e){s(this,o,e,"f")}attributeChangedCallback(){this.option.value=this.value}connectedCallback(){this.dispatchEvent(new Event("usa::select::option::added",{bubbles:!0}))}onSlotChange(){this.option.textContent=this.textContent}disconnectedCallback(){this.option.remove()}},o=new WeakMap,a(l,"USASelecOptionElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(u[Symbol.metadata]??null):void 0;r=[x()],c=[C("slotchange")],e(l,null,r,{kind:"accessor",name:"value",static:!1,private:!1,access:{has:e=>"value"in e,get:e=>e.value,set:(e,t)=>{e.value=t}},metadata:a},p,g),e(l,null,c,{kind:"method",name:"onSlotChange",static:!1,private:!1,access:{has:e=>"onSlotChange"in e,get:e=>e.onSlotChange},metadata:a},null,m),e(null,i={value:l},d,{kind:"class",name:l.name,metadata:a},null,h),l=i.value,a&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(l,h)})()})(),(()=>{var o;let i,l,r,c=[M({tagName:"usa-tag",shadowDom:[b`:host{font-family:Source Sans Pro Web,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-size:.93rem;color:#fff;text-transform:uppercase;background-color:#5c5c5c;border-radius:2px;margin-right:.25rem;padding:1px .5rem}:host([variant=big]){padding-left:.5rem;padding-right:.5rem;font-size:1.06rem}`,f`<slot></slot>`]})],d=[],h=HTMLElement,u=[],m=[];l=class extends h{get variant(){return n(this,o,"f")}set variant(e){s(this,o,e,"f")}constructor(){super(...arguments),o.set(this,t(this,u,"default")),t(this,m)}},o=new WeakMap,a(l,"USATagElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(h[Symbol.metadata]??null):void 0;r=[x()],e(l,null,r,{kind:"accessor",name:"variant",static:!1,private:!1,access:{has:e=>"variant"in e,get:e=>e.variant,set:(e,t)=>{e.variant=t}},metadata:a},u,m),e(null,i={value:l},c,{kind:"class",name:l.name,metadata:a},null,d),l=i.value,a&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(l,d)})()})(),(()=>{var o,i,l;let r,c,d,h,u,m,p=[M({tagName:"usa-accordion",shadowDomOpts:{mode:"open",delegatesFocus:!0},shadowDom:[b`*{box-sizing:border-box}:host{display:block}:host(:not(:first-child)) summary{margin-top:.5rem}summary{align-items:center;border:0;border-radius:0;box-shadow:none;justify-content:normal;text-align:left;padding:0;color:#1b1b1b;background-color:#f0f0f0;cursor:pointer;display:flex;font-weight:700;margin:0;padding:1rem 1.25rem 1rem 1.25rem;text-decoration:none;width:100%}summary::-webkit-details-marker{display:none}slot[name=heading]{display:block;flex:1 1 auto}slot[name=heading]::slotted(*){margin:0}.content{padding-bottom:1.5rem;padding-left:1rem;padding-top:1.5rem}usa-icon[icon=remove]{display:none}details[open] usa-icon[icon=add]{display:none}details[open] usa-icon[icon=remove]{display:block}summary:hover{background-color:#e6e6e6}summary:focus{outline:.25rem solid #2491ff;outline-offset:0}`,f`<details><summary><slot name="heading"></slot><usa-icon icon="add"></usa-icon><usa-icon icon="remove"></usa-icon></summary><div class="content"><slot></slot></div></details>`]})],g=[],v=HTMLElement,y=[],k=[],w=[],S=[],E=[];c=class extends v{constructor(){super(...arguments),i.set(this,(t(this,y),t(this,k,""))),l.set(this,(t(this,w),t(this,S,!1))),o.set(this,(t(this,E),A("details")))}get name(){return n(this,i,"f")}set name(e){s(this,i,e,"f")}get open(){return n(this,l,"f")}set open(e){s(this,l,e,"f")}attributeChangedCallback(){n(this,o,"f").call(this).open=this.open}onClick(e){e.preventDefault(),this.dispatchEvent(new q(!this.open))}onAccordionToggle(e){e.target.name===this.name?this.open=e.target===this&&e.open:e.target===this&&(this.open=e.open)}},o=new WeakMap,i=new WeakMap,l=new WeakMap,a(c,"USAAccordionElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(v[Symbol.metadata]??null):void 0;d=[x()],h=[x()],u=[C("click","summary")],m=[C("usa::accordion::toggle",(()=>document.body))],e(c,null,d,{kind:"accessor",name:"name",static:!1,private:!1,access:{has:e=>"name"in e,get:e=>e.name,set:(e,t)=>{e.name=t}},metadata:a},k,w),e(c,null,h,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:e=>"open"in e,get:e=>e.open,set:(e,t)=>{e.open=t}},metadata:a},S,E),e(c,null,u,{kind:"method",name:"onClick",static:!1,private:!1,access:{has:e=>"onClick"in e,get:e=>e.onClick},metadata:a},null,y),e(c,null,m,{kind:"method",name:"onAccordionToggle",static:!1,private:!1,access:{has:e=>"onAccordionToggle"in e,get:e=>e.onAccordionToggle},metadata:a},null,y),e(null,r={value:c},p,{kind:"class",name:c.name,metadata:a},null,g),c=r.value,a&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(c,g)})()})();class q extends Event{get target(){return super.target}constructor(e){super("usa::accordion::toggle",{bubbles:!0}),this.open=e}}(()=>{let n,s,o=[M({tagName:"usa-side-nav",shadowDom:[b`:host{display:block;font-size:1.06rem;line-height:1.3;border-bottom:1px solid #e6e6e6}`,f`<slot></slot>`]})],i=[],l=HTMLElement;s=class extends l{constructor(){super(...arguments),this.role="navigation"}},a(s,"USASideNavElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(l[Symbol.metadata]??null):void 0;e(null,n={value:s},o,{kind:"class",name:s.name,metadata:a},null,i),s=n.value,a&&Object.defineProperty(s,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(s,i)})()})(),(()=>{var o;let i,l,r,c=[M({tagName:"usa-side-nav-item",shadowDom:[b`:host{--usa-nav-item-padding-left:2rem;display:block;border-top:1px solid #e6e6e6}.side-nav-item{display:flex;padding:.5rem 1rem;text-decoration:none;position:relative}.side-nav-item:hover{background-color:#f0f0f0;color:#005ea2}::slotted(*){color:#5c5c5c;text-decoration:none;display:block;width:100%}:host(:hover) ::slotted(*){color:#005ea2}:host([current]) ::slotted(:not(usa-side-nav-item)){color:#005ea2;font-weight:700}:host([current]) .side-nav-item::after{background-color:#005ea2;border-radius:99rem;content:"";display:block;position:absolute;bottom:.25rem;top:.25rem;width:.25rem;left:0}:host([slot=children]) .side-nav-item{padding-left:var(--usa-nav-item-padding-left)}:host([slot=children]) ::slotted(usa-side-nav-item){--usa-nav-item-padding-left:3rem}:host([slot=children]) .side-nav-item::after{display:none}`,f`<div class="side-nav-item"><slot></slot></div><slot name="children"></slot>`]})],d=[],h=HTMLElement,u=[],m=[];l=class extends h{get current(){return n(this,o,"f")}set current(e){s(this,o,e,"f")}constructor(){super(...arguments),o.set(this,t(this,u,!1)),t(this,m)}},o=new WeakMap,a(l,"USASideNavItemElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(h[Symbol.metadata]??null):void 0;r=[x({observed:!1})],e(l,null,r,{kind:"accessor",name:"current",static:!1,private:!1,access:{has:e=>"current"in e,get:e=>e.current,set:(e,t)=>{e.current=t}},metadata:a},u,m),e(null,i={value:l},c,{kind:"class",name:l.name,metadata:a},null,d),l=i.value,a&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(l,d)})()})(),(()=>{let n,s,o=[M({tagName:"usa-summary-box",shadowDom:[b`:host{font-family:Source Sans Pro Web,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-size:1.06rem;line-height:1.5;color:#1b1b1b;background-color:#e7f6f8;border-radius:.25rem;border:1px #99deea solid;padding:1.5rem;position:relative;display:block}`,f`<slot></slot>`]})],i=[],l=HTMLElement;s=class extends l{},a(s,"USASummaryBoxElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(l[Symbol.metadata]??null):void 0;e(null,n={value:s},o,{kind:"class",name:s.name,metadata:a},null,i),s=n.value,a&&Object.defineProperty(s,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(s,i)})()})(),(()=>{let n,s,o=[M({tagName:"usa-step-indicator",shadowDom:[b`:host{display:flex;gap:2px;counter-reset:usa-step-indicator;padding-top:1rem;margin-bottom:1rem}`,f`<slot></slot>`]})],i=[],l=HTMLElement;s=class extends l{constructor(){super(...arguments),this.role="list"}},a(s,"USAStepIndicatorElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(l[Symbol.metadata]??null):void 0;e(null,n={value:s},o,{kind:"class",name:s.name,metadata:a},null,i),s=n.value,a&&Object.defineProperty(s,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(s,i)})()})(),(()=>{var o;let i,l,r,c,d=[M({tagName:"usa-step",shadowDom:[b`:host{color:#5c5c5c;display:block;flex:1 1 0%;position:relative;counter-increment:usa-step-indicator}:host([state=complete]){color:#162e51}:host([state=complete])::before{background-color:#162e51}:host([state=current]){color:#005ea2;font-weight:700}:host([state=current])::before{background-color:#005ea2}:host:before{background-color:#919191;content:"";display:block;height:.5rem}.label{display:block;font-size:1.06rem;margin-top:.5rem;padding-right:2rem;text-align:left}:host([counter]) .label{margin-top:1.5rem}:host([counter]) .counter:after{content:counter(usa-step-indicator);height:2.5rem;border-radius:99rem;width:2.5rem;background-color:#fff;box-shadow:inset 0 0 0 .25rem #919191,0 0 0 .25rem #fff;color:#5c5c5c;display:flex;align-items:center;justify-content:center;font-weight:700;left:0;line-height:.9;padding:calc((2.5rem - 2ex * .9) * .5);position:absolute;z-index:100;top:0;transform:translateY(-40%);box-sizing:border-box}:host([counter][state=complete]) .counter::after{background-color:#162e51;box-shadow:0 0 0 .25rem #fff;color:#fff}:host([counter][state=current]) .counter::after{background-color:#005ea2;box-shadow:0 0 0 .25rem #fff;color:#fff}:host([counter=small]) .counter:after{height:1.5rem;width:1.5rem;font-size:.93rem}:host([counter]:last-child):before{width:0}`,f`<div class="counter" aria-hidden="true"></div><div class="label"><slot></slot></div>`]})],h=[],u=HTMLElement,m=[],p=[],g=[];l=class extends u{constructor(){super(...arguments),o.set(this,(t(this,m),t(this,p,""))),this.role=(t(this,g),"listitem")}get state(){return n(this,o,"f")}set state(e){s(this,o,e,"f")}onStateAttrChanged(){"current"===this.state&&(this.ariaCurrent="step")}},o=new WeakMap,a(l,"USAStepIndicatorStepElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(u[Symbol.metadata]??null):void 0;var n;r=[x()],c=[(n="state",function(e,t){const a=S.read(t.metadata),s=a.attrChanges.get(n)??new Set;s.add(e),a.attrChanges.set(n,s)})],e(l,null,r,{kind:"accessor",name:"state",static:!1,private:!1,access:{has:e=>"state"in e,get:e=>e.state,set:(e,t)=>{e.state=t}},metadata:a},p,g),e(l,null,c,{kind:"method",name:"onStateAttrChanged",static:!1,private:!1,access:{has:e=>"onStateAttrChanged"in e,get:e=>e.onStateAttrChanged},metadata:a},null,m),e(null,i={value:l},d,{kind:"class",name:l.name,metadata:a},null,h),l=i.value,a&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(l,h)})()})(),(()=>{var s;let o,i,l,r,c=[M({tagName:"usa-modal",shadowDom:[b`*{box-sizing:border-box}:host{display:contents}dialog{border:none;font-size:1.06rem;line-height:1.5;border-radius:.5rem;background:#fff;color:#1b1b1b;max-width:30rem;padding-top:4rem;padding-left:4rem;padding-right:4rem;padding-bottom:2rem;width:100%}::backdrop{background:rgba(0,0,0,.7)}`,f`<dialog><slot></slot></dialog>`]})],d=[],h=HTMLElement,u=[];i=class extends h{constructor(){super(...arguments),this.modalAction=(t(this,u),null),s.set(this,A("dialog"))}openModal(){n(this,s,"f").call(this).showModal()}closeModal(){n(this,s,"f").call(this).close()}onGlobalModalAction(e){if(e.target instanceof Element){e.target.getAttribute("modal-target")===this.id&&this.openModal()}}onModalAction(e){e.target instanceof Element&&(this.modalAction=e.target.getAttribute("modal-action"),this.closeModal(),this.dispatchEvent(new Event("usa::modal::close")))}},s=new WeakMap,a(i,"USAModalElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(h[Symbol.metadata]??null):void 0;l=[C("click",(()=>document.body))],r=[C("click",(e=>e))],e(i,null,l,{kind:"method",name:"onGlobalModalAction",static:!1,private:!1,access:{has:e=>"onGlobalModalAction"in e,get:e=>e.onGlobalModalAction},metadata:a},null,u),e(i,null,r,{kind:"method",name:"onModalAction",static:!1,private:!1,access:{has:e=>"onModalAction"in e,get:e=>e.onModalAction},metadata:a},null,u),e(null,o={value:i},c,{kind:"class",name:i.name,metadata:a},null,d),i=o.value,a&&Object.defineProperty(i,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(i,d)})()})(),(()=>{var o;let i,l,r,c=[M({tagName:"usa-modal-close",shadowDom:[b`*{box-sizing:border-box}:host{display:block;position:absolute;top:1rem;right:1rem}button{display:flex;align-items:center;justify-content:center;background:0 0;border:none;cursor:pointer;height:100%;width:100%;border-radius:100%;padding:0;margin:0}button:focus{outline:.25rem solid #2491ff;outline-offset:0}`,f`<button aria-label="close modal"><usa-icon icon="close"></usa-icon></button>`]})],d=[],h=HTMLElement,u=[],m=[];l=class extends h{get modalAction(){return n(this,o,"f")}set modalAction(e){s(this,o,e,"f")}constructor(){super(...arguments),o.set(this,t(this,u,"close")),t(this,m)}},o=new WeakMap,a(l,"USAModalCloseElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(h[Symbol.metadata]??null):void 0;r=[x({name:"modal-action"})],e(l,null,r,{kind:"accessor",name:"modalAction",static:!1,private:!1,access:{has:e=>"modalAction"in e,get:e=>e.modalAction,set:(e,t)=>{e.modalAction=t}},metadata:a},u,m),e(null,i={value:l},c,{kind:"class",name:l.name,metadata:a},null,d),l=i.value,a&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(l,d)})()})(),(()=>{let n,s,o=[M({tagName:"usa-modal-heading",shadowDom:[b`:host{font-family:Merriweather Web,Georgia,Cambria,Times New Roman,Times,serif!important;font-size:1.22rem}h2{margin-top:0;line-height:1.4;font-size:1.45rem}`,f`<h2><slot></slot></h2>`]})],i=[],l=HTMLElement;s=class extends l{},a(s,"USAModalHeadingElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(l[Symbol.metadata]??null):void 0;e(null,n={value:s},o,{kind:"class",name:s.name,metadata:a},null,i),s=n.value,a&&Object.defineProperty(s,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(s,i)})()})()}();
|
|
1
|
+
!function(){"use strict";function e(e,t,a,n,s,o){function i(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var l,r=n.kind,c="getter"===r?"get":"setter"===r?"set":"value",d=!t&&e?n.static?e:e.prototype:null,h=t||(d?Object.getOwnPropertyDescriptor(d,n.name):{}),u=!1,m=a.length-1;m>=0;m--){var f={};for(var p in n)f[p]="access"===p?{}:n[p];for(var p in n.access)f.access[p]=n.access[p];f.addInitializer=function(e){if(u)throw new TypeError("Cannot add initializers after decoration has completed");o.push(i(e||null))};var b=(0,a[m])("accessor"===r?{get:h.get,set:h.set}:h[c],f);if("accessor"===r){if(void 0===b)continue;if(null===b||"object"!=typeof b)throw new TypeError("Object expected");(l=i(b.get))&&(h.get=l),(l=i(b.set))&&(h.set=l),(l=i(b.init))&&s.unshift(l)}else(l=i(b))&&("field"===r?s.unshift(l):h[c]=l)}d&&Object.defineProperty(d,n.name,h),u=!0}function t(e,t,a){for(var n=arguments.length>2,s=0;s<t.length;s++)a=n?t[s].call(e,a):t[s].call(e);return n?a:void 0}function a(e,t,a){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:a?"".concat(a," ",t):t})}function n(e,t,a,n){if("a"===a&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===a?n:"a"===a?n.call(e):n?n.value:t.get(e)}function s(e,t,a,n,s){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?s.call(e,a):s?s.value=a:t.set(e,a),a}function o(e){return e[Symbol.metadata]}"function"==typeof SuppressedError&&SuppressedError;class i{#e;#t;get name(){return this.#e}get factory(){return this.#t}constructor(e,t){this.#e=e,this.#t=t}}const l=new WeakMap;class r{#a=new WeakMap;parent;providers;constructor(e=[],t){this.parent=t,this.providers=e}inject(e){if(this.#a.has(e)){const t=this.#a.get(e),a=o(e);return a&&c(t,a.onInjected),t}const t=this.#n(e);if(t){if(t.use){const a=t.use;return this.#s(e,(()=>new a))}if(t.factory){const a=t.factory;return this.#s(e,a)}throw new Error(`Provider for ${e.name} found but is missing either 'use' or 'factory'`)}if(this.parent)return this.parent.inject(e);if(e instanceof i){if(!e.factory)throw new Error(`Provider not found for "${e.name}"`);return this.#s(e,e.factory)}return this.#s(e,(()=>new e))}setParent(e){this.parent=e}clear(){this.#a=new WeakMap}#s(e,t){const a=t(this);if(this.#a.set(e,a),"object"==typeof a&&null!==a){const t=l.get(a);t&&t.setParent(this);const n=o(e);n&&(c(a,n.onCreated),c(a,n.onInjected))}return a}#n(e){if(this.providers)for(let t=0;t<this.providers.length;t++)if(this.providers[t].provide===e)return this.providers[t]}}function c(e,t){if(Array.isArray(t))for(let a of t)"function"==typeof a&&a.call(e)}function d(e,t){return{[e.name]:class extends e{constructor(...e){super(),this.addEventListener("finddiroot",(e=>{e.stopPropagation();const t=function(e){const t=e.composedPath();for(let e=1;e<t.length;e++){const a=t[e],n=l.get(a);if(n)return n;if(a===document.body)return null}return null}(e);t&&l.get(this)?.setParent(t)}))}connectedCallback(){this.isConnected&&(this.dispatchEvent(new Event("finddiroot",{bubbles:!0,composed:!0})),super.connectedCallback&&super.connectedCallback())}disconnectedCallback(){l.get(this)?.setParent(void 0),super.disconnectedCallback&&super.disconnectedCallback()}}}[e.name]}function h(e){return function(t,a){const n={[t.name]:class extends t{constructor(...t){super(...t);const a=new r(e?.providers);a.providers.push({provide:r,factory:()=>a}),l.set(this,a)}}};return"HTMLElement"in globalThis&&HTMLElement.prototype.isPrototypeOf(t.prototype)?d(n[t.name]):n[t.name]}}function u(e){return function(){const t=l.get(this);if(void 0===t){const e=this.constructor.name;throw new Error(`${e} is either not injectable or a service is being called in the constructor. \n Either add the @injectable() to your class or use the @injected callback method.`)}return t.inject(e)}}Symbol.metadata??=Symbol("Symbol.metadata");class m{#o;constructor(e,...t){this.#o=document.createElement("template"),this.#o.innerHTML=g(e)}apply(e){e.shadowRoot&&e.shadowRoot.append(this.#o.content.cloneNode(!0))}}function f(e,...t){return new m(e,...t)}class p{#i;constructor(e,...t){this.#i=new CSSStyleSheet,this.#i.replaceSync(g(e))}apply(e){e.shadowRoot&&(e.shadowRoot.adoptedStyleSheets=[...e.shadowRoot.adoptedStyleSheets,this.#i])}}function b(e){return new p(e)}function g(e){let t="";for(let a=0;a<e.length;a++)t+=e[a];return t}Symbol.metadata??=Symbol("Symbol.metadata");class v extends Map{}class y extends Map{}class k{attrs=new v;attrChanges=new y;listeners=[];onReady=new Set}class w extends WeakMap{read(e){return this.has(e)||this.set(e,new k),this.get(e)}}const S=new w;function x(e){return function({get:t,set:a},n){const s=e?.name??function(e){let t;if("symbol"==typeof e){if(!e.description)throw new Error("Cannot handle Symbol property without description");t=e.description}else t=e;return t.toLowerCase().replaceAll(" ","-")}(n.name),o=S.read(n.metadata),i=e?.reflect??!0;return o.attrs.set(s,{propName:n.name,observe:e?.observed??!0,reflect:i,getPropValue:t,setPropValue:a}),{set(e){if(i)if(!0===e)this.hasAttribute(s)||this.setAttribute(s,"");else if(!1===e)this.hasAttribute(s)&&this.removeAttribute(s);else{const t=String(e);this.getAttribute(s)!==t&&this.setAttribute(s,t)}a.call(this,e)}}}}function C(e,t){return function(a,n){const s=S.read(n.metadata);let o=e=>e.shadowRoot??e;t&&(o="string"==typeof t?e=>e.shadowRoot?e.shadowRoot.querySelector(t):e.querySelector(t):t),s.listeners.push({event:e,cb:a,selector:o})}}function M(e){return function(t,a){const n=S.read(a.metadata);a.addInitializer((function(){e?.tagName&&(customElements.get(e.tagName)||customElements.define(e.tagName,this))}));const s={[t.name]:class extends t{static observedAttributes=Array.from(n.attrs.keys());#l=new Set;constructor(...t){if(super(...t),e?.shadowDom){this.shadowRoot||this.attachShadow(e.shadowDomOpts??{mode:"open"});for(let t of e.shadowDom)t.apply(this)}for(let e of n.onReady)e.call(this)}attributeChangedCallback(e,t,a){const s=n.attrs.get(e),o=n.attrChanges.get(e);if(s){if(t!==a){const e=s.getPropValue.call(this);""===a?s.setPropValue.call(this,!0):"number"==typeof e?s.setPropValue.call(this,Number(a)):s.setPropValue.call(this,a)}if(o)for(let e of o)e.call(this,t,a);super.attributeChangedCallback&&super.attributeChangedCallback(e,t,a)}}connectedCallback(){if(this.isConnected){for(let{event:e,cb:t,selector:a}of n.listeners){const n=a(this);if(!n)throw new Error(`could not add listener to ${n}`);{const a=t.bind(this);n.addEventListener(e,a),this.#l.add((()=>{n.removeEventListener(e,a)}))}}!function(e,t){for(let[a,{getPropValue:n,reflect:s}]of t)if(s){const t=n.call(e);if(null!=t&&""!==t)if("boolean"==typeof t)!0===t&&(e.hasAttribute(a)||e.setAttribute(a,""));else{const n=String(t);e.getAttribute(a)!==n&&e.setAttribute(a,n)}}}(this,n.attrs),super.connectedCallback&&super.connectedCallback()}}disconnectedCallback(){for(let e of this.#l)e();super.disconnectedCallback&&super.disconnectedCallback()}}};return s[t.name]}}function A(e){let t=null;return function(){if(t)return t;if(t=this.shadowRoot?this.shadowRoot.querySelector(e):this.querySelector(e),!t)throw new Error("could not find element");return t}}function E(){return function(e,t){S.read(t.metadata).onReady.add(e)}}class W{constructor(){this.iconPath=""}}(()=>{var o,i;let l,c,d,m=[M({tagName:"usa-config",shadowDom:[b`:host{display:contents}`,f`<slot></slot>`]}),h()],p=[],g=HTMLElement,v=[],y=[];c=class extends g{constructor(){super(...arguments),i.set(this,t(this,v,"/assets/usa-icons/")),o.set(this,(t(this,y),u(r)))}get iconPath(){return n(this,i,"f")}set iconPath(e){s(this,i,e,"f")}connectedCallback(){const{providers:e}=n(this,o,"f").call(this);e.push({provide:W,factory:()=>this})}},o=new WeakMap,i=new WeakMap,a(c,"USAConfigElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(g[Symbol.metadata]??null):void 0;d=[x({name:"icon-path"})],e(c,null,d,{kind:"accessor",name:"iconPath",static:!1,private:!1,access:{has:e=>"iconPath"in e,get:e=>e.iconPath,set:(e,t)=>{e.iconPath=t}},metadata:a},v,y),e(null,l={value:c},m,{kind:"class",name:c.name,metadata:a},null,p),c=l.value,a&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(c,p)})()})();const j={info:{icon:"info"},warning:{icon:"warning"},success:{icon:"check_circle"},error:{icon:"error"},emergency:{icon:"error"}};(()=>{var o,i;let l,r,c,d=[M({tagName:"usa-alert",shadowDom:[b`:host{display:block;border-left:.5rem solid #adadad;padding:1rem 1.2rem;color:#1b1b1b;margin-bottom:1rem}:host([type=info]){border-left-color:#00bde3;background-color:#e7f6f8}:host([type=warning]){background-color:#faf3d1;border-left-color:#ffbe2e}:host([type=success]){background-color:#ecf3ec;border-left-color:#00a91c}:host([type=error]){background-color:#f4e3db;border-left-color:#d54309}:host([type=emergency]){background-color:#9c3d10;border-left-color:#9c3d10;color:#fff}:host([type=emergency]) ::slotted(*){color:#fff}.alert-heading{display:grid;grid-template-columns:auto 1fr;align-items:center}usa-icon{margin:-.28rem .75rem 0 0}#heading::slotted(*){font-family:Source Sans Pro Web,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-size:1.33rem;line-height:.9;margin-top:0;margin-bottom:.5rem}`,f`<div class="alert-heading"><usa-icon icon="check_circle"></usa-icon><div><slot id="heading" name="heading"></slot></div><div class="spacer"></div><div><slot></slot></div></div>`]})],h=[],u=HTMLElement,m=[],p=[];r=class extends u{constructor(){super(...arguments),i.set(this,t(this,m,"info")),o.set(this,(t(this,p),A("usa-icon")))}get type(){return n(this,i,"f")}set type(e){s(this,i,e,"f")}attributeChangedCallback(){n(this,o,"f").call(this).icon=j[this.type].icon}},o=new WeakMap,i=new WeakMap,a(r,"USAAlertElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(u[Symbol.metadata]??null):void 0;c=[x()],e(r,null,c,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:e=>"type"in e,get:e=>e.type,set:(e,t)=>{e.type=t}},metadata:a},m,p),e(null,l={value:r},d,{kind:"class",name:r.name,metadata:a},null,h),r=l.value,a&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(r,h)})()})(),(()=>{var o,i,l,r,c,d,h,u,m;let p,g,v,y,k,w,S,W,j,O=[M({tagName:"usa-button",shadowDomOpts:{mode:"open",delegatesFocus:!0},shadowDom:[b`:host{display:contents}.usa-button{box-sizing:border-box;font-family:Source Sans Pro Web,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-size:1.06rem;line-height:.9;color:#fff;background-color:#005ea2;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-items:center;border:0;border-radius:.25rem;cursor:pointer;-moz-column-gap:.5rem;column-gap:.5rem;display:inline-flex;font-weight:700;justify-content:center;padding:.75rem 1.25rem;text-align:center;text-decoration:none;width:100%;cursor:pointer}@media all and (min-width:30em){.usa-button{width:auto}}.usa-button:visited{color:#fff}.usa-button:hover{color:#fff;background-color:#1a4480;border-bottom:0;text-decoration:none}.usa-button:active{color:#fff;background-color:#162e51}.usa-button:not([disabled]):focus{outline-offset:.25rem}.usa-button:disabled{color:#454545;background-color:#c9c9c9;cursor:not-allowed;opacity:1}.usa-button:disabled:active,.usa-button:disabled:focus,.usa-button:disabled:hover{color:#454545;background-color:#c9c9c9}.usa-button:focus{outline:.25rem solid #2491ff;outline-offset:0}:host([variant=secondary]) .usa-button{color:#fff;background-color:#d83933}:host([variant=secondary]) .usa-button:hover{background-color:#b50909}:host([variant=secondary]) .usa-button:active{background-color:#8b0a03}:host([variant=cool]) .usa-button{color:#1b1b1b;background-color:#00bde3}:host([variant=cool]) .usa-button:hover{background-color:#28a0cb}:host([variant=cool]) .usa-button:active{color:#fff;background-color:#07648d}:host([variant=warm]) .usa-button{color:#1b1b1b;background-color:#fa9441}:host([variant=warm]) .usa-button:hover{color:#fff;background-color:#c05600}:host([variant=warm]) .usa-button:active{color:#fff;background-color:#775540}:host([variant=outline]) .usa-button{background-color:transparent;box-shadow:inset 0 0 0 2px #005ea2;color:#005ea2}:host([variant=outline]) .usa-button:hover{box-shadow:inset 0 0 0 2px #1a4480;color:#1a4480}:host([variant=outline]) .usa-button:active{box-shadow:inset 0 0 0 2px #162e51;color:#162e51}`,f`<button class="usa-button"><slot></slot></button>`]})],P=[],N=HTMLElement,T=[],D=[],L=[],H=[],z=[],R=[],I=[],U=[],V=[];g=class extends N{constructor(){super(...arguments),o.add(this),c.set(this,(t(this,T),t(this,D,"button"))),d.set(this,(t(this,L),t(this,H,!1))),h.set(this,(t(this,z),t(this,R,"primary"))),u.set(this,(t(this,I),t(this,U,""))),m.set(this,(t(this,V),0)),i.set(this,this.attachInternals()),l.set(this,A("button"))}get type(){return n(this,c,"f")}set type(e){s(this,c,e,"f")}get disabled(){return n(this,d,"f")}set disabled(e){s(this,d,e,"f")}get variant(){return n(this,h,"f")}set variant(e){s(this,h,e,"f")}get value(){return n(this,u,"f")}set value(e){s(this,u,e,"f")}get tabIndex(){return n(this,m,"f")}set tabIndex(e){s(this,m,e,"f")}onReady(){n(this,l,"f").call(this).autofocus=this.autofocus}onKeyDown(e){"submit"===this.type&&"ENTER"===e.key.toUpperCase()&&n(this,o,"m",r).call(this)}onInternalClick(){n(this,o,"m",r).call(this)}attributeChangedCallback(){const e=n(this,l,"f").call(this);e.type=this.type,e.disabled=this.disabled}},i=new WeakMap,l=new WeakMap,o=new WeakSet,c=new WeakMap,d=new WeakMap,h=new WeakMap,u=new WeakMap,m=new WeakMap,r=function(){const{form:e}=n(this,i,"f");if(e)if("submit"===this.type){const t=document.createElement("button");t.type="submit",e.append(t),t.click(),t.remove()}else"reset"===this.type&&e.reset()},a(g,"USAButtonElement"),(()=>{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(N[Symbol.metadata]??null):void 0;v=[x()],y=[x()],k=[x()],w=[x()],S=[E()],W=[C("keydown",(()=>document.body))],j=[C("click")],e(g,null,v,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:e=>"type"in e,get:e=>e.type,set:(e,t)=>{e.type=t}},metadata:t},D,L),e(g,null,y,{kind:"accessor",name:"disabled",static:!1,private:!1,access:{has:e=>"disabled"in e,get:e=>e.disabled,set:(e,t)=>{e.disabled=t}},metadata:t},H,z),e(g,null,k,{kind:"accessor",name:"variant",static:!1,private:!1,access:{has:e=>"variant"in e,get:e=>e.variant,set:(e,t)=>{e.variant=t}},metadata:t},R,I),e(g,null,w,{kind:"accessor",name:"value",static:!1,private:!1,access:{has:e=>"value"in e,get:e=>e.value,set:(e,t)=>{e.value=t}},metadata:t},U,V),e(g,null,S,{kind:"method",name:"onReady",static:!1,private:!1,access:{has:e=>"onReady"in e,get:e=>e.onReady},metadata:t},null,T),e(g,null,W,{kind:"method",name:"onKeyDown",static:!1,private:!1,access:{has:e=>"onKeyDown"in e,get:e=>e.onKeyDown},metadata:t},null,T),e(g,null,j,{kind:"method",name:"onInternalClick",static:!1,private:!1,access:{has:e=>"onInternalClick"in e,get:e=>e.onInternalClick},metadata:t},null,T),e(null,p={value:g},O,{kind:"class",name:g.name,metadata:t},null,P),g=p.value,t&&Object.defineProperty(g,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})})(),g.formAssociated=!0,t(g,P)})(),(()=>{var o,i,l,r,c,d;let h,u,m,p,g,v,y,k=[M({tagName:"usa-checkbox",shadowDom:[b`*{box-sizing:border-box}:host{display:inline-block;font-family:Source Sans Pro Web,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;max-width:30rem}:host([tiled]) label{background-color:#fff;border:2px solid #c9c9c9;border-radius:.25rem;color:#1b1b1b;padding:.75rem 1rem .75rem .75rem}label{display:inline-flex;cursor:pointer;font-size:1.06rem;line-height:1.3;flex-wrap:wrap}.checkbox{background:#fff;box-shadow:0 0 0 2px #1b1b1b;display:flex;align-items:center;justify-content:center;height:1.25rem;width:1.25rem;border-radius:2px;position:relative;margin-right:.75rem}input:checked+.checkbox{background-color:#005ea2;box-shadow:0 0 0 2px #005ea2}input:checked+.checkbox::after{content:" ";display:block;height:1rem;width:.5rem;border-right:4px solid #fff;border-bottom:4px solid #fff;transform:rotate(45deg) scale(.65)}input{height:0;width:0;position:absolute;left:-999em;right:auto}input:focus+.checkbox{outline:.25rem solid #2491ff;outline-offset:.25rem}.description{display:block;font-size:.93rem;margin-top:.5rem}.break{flex-basis:100%;height:0}.spacer{height:1.25rem;width:1.25rem;margin-right:.75rem}:host([tiled]) label:has(input:checked){background-color:rgba(0,94,162,.1);border-color:#005ea2}`,f`<label><input type="checkbox"><div class="checkbox"></div><div class="title"><slot></slot></div></label>`]})],w=[],S=HTMLElement,E=[],W=[],j=[],O=[],P=[],N=[],T=[],D=[],L=[];u=class extends S{constructor(){super(...arguments),l.set(this,(t(this,E),t(this,W,!1))),r.set(this,(t(this,j),t(this,O,""))),c.set(this,(t(this,P),t(this,N,""))),d.set(this,(t(this,T),t(this,D,!1))),o.set(this,(t(this,L),A("input"))),i.set(this,this.attachInternals())}get checked(){return n(this,l,"f")}set checked(e){s(this,l,e,"f")}get name(){return n(this,r,"f")}set name(e){s(this,r,e,"f")}get value(){return n(this,c,"f")}set value(e){s(this,c,e,"f")}get tiled(){return n(this,d,"f")}set tiled(e){s(this,d,e,"f")}connectedCallback(){const e=n(this,o,"f").call(this);this.checked&&n(this,i,"f").setFormValue(this.value),e.checked=this.checked,e.name=this.name}attributeChangedCallback(){const e=n(this,o,"f").call(this);e.checked=this.checked,e.name=this.name}onCheckboxChange(){n(this,o,"f").call(this).checked?n(this,i,"f").setFormValue(this.value):n(this,i,"f").setFormValue(null)}},o=new WeakMap,i=new WeakMap,l=new WeakMap,r=new WeakMap,c=new WeakMap,d=new WeakMap,a(u,"USACheckboxElement"),(()=>{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(S[Symbol.metadata]??null):void 0;m=[x()],p=[x()],g=[x()],v=[x({observed:!1})],y=[C("change","input[type=checkbox]")],e(u,null,m,{kind:"accessor",name:"checked",static:!1,private:!1,access:{has:e=>"checked"in e,get:e=>e.checked,set:(e,t)=>{e.checked=t}},metadata:t},W,j),e(u,null,p,{kind:"accessor",name:"name",static:!1,private:!1,access:{has:e=>"name"in e,get:e=>e.name,set:(e,t)=>{e.name=t}},metadata:t},O,P),e(u,null,g,{kind:"accessor",name:"value",static:!1,private:!1,access:{has:e=>"value"in e,get:e=>e.value,set:(e,t)=>{e.value=t}},metadata:t},N,T),e(u,null,v,{kind:"accessor",name:"tiled",static:!1,private:!1,access:{has:e=>"tiled"in e,get:e=>e.tiled,set:(e,t)=>{e.tiled=t}},metadata:t},D,L),e(u,null,y,{kind:"method",name:"onCheckboxChange",static:!1,private:!1,access:{has:e=>"onCheckboxChange"in e,get:e=>e.onCheckboxChange},metadata:t},null,E),e(null,h={value:u},k,{kind:"class",name:u.name,metadata:t},null,w),u=h.value,t&&Object.defineProperty(u,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})})(),u.formAssociated=!0,t(u,w)})(),(()=>{let n,s,o=[M({tagName:"usa-description",shadowDom:[b`:host{display:block;font-size:.93rem;margin-top:.5rem}`,f`<slot></slot>`]})],i=[],l=HTMLElement;s=class extends l{},a(s,"USADescriptionElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(l[Symbol.metadata]??null):void 0;e(null,n={value:s},o,{kind:"class",name:s.name,metadata:a},null,i),s=n.value,a&&Object.defineProperty(s,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(s,i)})()})(),Symbol.metadata??=Symbol("Symbol.metadata");class O extends Map{}class P{scheduler=null;changes=new O}class N extends WeakMap{read(e){let t=this.get(e);return t||(t=new P,this.set(e,t)),t}}class T{effects=new Set}class D extends WeakMap{read(e){let t=this.get(e);return t||(t=new T,this.set(e,t)),t}}const L=new N,H=new D;function z(){return function(e,t){const a=H.read(t.metadata);return{init(e){let a=null;try{a=t.access.get(this)}catch{}return a?(Reflect.deleteProperty(this,t.name),a):e},set(n){const s=L.read(this);null===s.scheduler&&(s.scheduler=Promise.resolve().then((()=>{for(let e of a.effects)e.call(this,s.changes);s.scheduler=null,s.changes.clear()}))),s.changes.set(t.name,{oldValue:e.get.call(this),newValue:n}),e.set.call(this,n)}}}}function R(){return function(e,t){H.read(t.metadata).effects.add(e)}}(()=>{var o,i,l,r,c,d,h,u;let m,p,g,v,y,k,w,S,E=[M({tagName:"usa-file-input",shadowDom:[b`*{box-sizing:border-box}:host{display:block;max-width:30rem;position:relative;margin-bottom:1.5rem}label{display:block}input{cursor:pointer;left:0;margin:0;max-width:none;position:absolute;text-indent:-999em;width:100%;z-index:1;bottom:0;top:0}input:focus{outline:.25rem solid #2491ff;outline-offset:0}label slot.label{font-size:1.06rem;line-height:1.3;display:block;font-weight:400;margin-bottom:.5rem}.box{border:1px dashed #adadad;display:flex;font-size:.93rem;position:relative;text-align:center;width:100%;max-width:30rem;height:5.2rem;align-items:center;justify-content:center}.container{position:relative}`,f`<label><slot class="label"></slot><div class="container"><input type="file"><div class="box"><slot name="description">Drag file here or<usa-link>choose from folder</usa-link></slot></div><usa-file-input-preview>Selected file<usa-link>Change file</usa-link></usa-file-input-preview></div></label>`]})],W=[],j=HTMLElement,O=[],P=[],N=[],T=[],D=[],L=[],H=[],I=[],U=[];p=class extends j{constructor(){super(...arguments),c.set(this,(t(this,O),t(this,P,""))),d.set(this,(t(this,N),t(this,T,!0))),h.set(this,(t(this,D),t(this,L,""))),u.set(this,(t(this,H),t(this,I,null))),o.set(this,(t(this,U),this.attachInternals())),i.set(this,A("input")),l.set(this,A(".box")),r.set(this,A("usa-file-input-preview"))}get name(){return n(this,c,"f")}set name(e){s(this,c,e,"f")}get multiple(){return n(this,d,"f")}set multiple(e){s(this,d,e,"f")}get accept(){return n(this,h,"f")}set accept(e){s(this,h,e,"f")}get files(){return n(this,u,"f")}set files(e){s(this,u,e,"f")}onChange(){const e=n(this,i,"f").call(this);this.files&&(e.files=this.files,this.onInputChange())}attributeChangedCallback(){const e=n(this,i,"f").call(this);e.name=this.name,e.multiple=this.multiple,e.accept=this.accept}onInputChange(){const e=n(this,i,"f").call(this),t=n(this,l,"f").call(this);n(this,r,"f").call(this).files=e.files;const a=new FormData;if(e.files&&e.files.length){t.style.display="none";for(let t of e.files)a.append(this.name,t)}else t.style.display="flex";n(this,o,"f").setFormValue(a)}},o=new WeakMap,i=new WeakMap,l=new WeakMap,r=new WeakMap,c=new WeakMap,d=new WeakMap,h=new WeakMap,u=new WeakMap,a(p,"USAFileInputElement"),(()=>{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(j[Symbol.metadata]??null):void 0;g=[x()],v=[x()],y=[x()],k=[z()],w=[R()],S=[C("change")],e(p,null,g,{kind:"accessor",name:"name",static:!1,private:!1,access:{has:e=>"name"in e,get:e=>e.name,set:(e,t)=>{e.name=t}},metadata:t},P,N),e(p,null,v,{kind:"accessor",name:"multiple",static:!1,private:!1,access:{has:e=>"multiple"in e,get:e=>e.multiple,set:(e,t)=>{e.multiple=t}},metadata:t},T,D),e(p,null,y,{kind:"accessor",name:"accept",static:!1,private:!1,access:{has:e=>"accept"in e,get:e=>e.accept,set:(e,t)=>{e.accept=t}},metadata:t},L,H),e(p,null,k,{kind:"accessor",name:"files",static:!1,private:!1,access:{has:e=>"files"in e,get:e=>e.files,set:(e,t)=>{e.files=t}},metadata:t},I,U),e(p,null,w,{kind:"method",name:"onChange",static:!1,private:!1,access:{has:e=>"onChange"in e,get:e=>e.onChange},metadata:t},null,O),e(p,null,S,{kind:"method",name:"onInputChange",static:!1,private:!1,access:{has:e=>"onInputChange"in e,get:e=>e.onInputChange},metadata:t},null,O),e(null,m={value:p},E,{kind:"class",name:p.name,metadata:t},null,W),p=m.value,t&&Object.defineProperty(p,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})})(),p.formAssociated=!0,t(p,W)})(),(()=>{var o,i,l;let r,c,d,h,u=[M({tagName:"usa-file-input-preview",shadowDom:[b`*{box-sizing:border-box}:host{display:block;font-size:.87rem;pointer-events:none;position:relative;text-align:left;word-wrap:anywhere;z-index:3}:host([hidden]){display:none}img{border:0;display:block;height:2.5rem;margin-right:.5rem;-o-object-fit:contain;object-fit:contain;width:2.5rem}.preview-heading{align-items:center;background:#d9e8f6;display:flex;pointer-events:none;position:relative;z-index:3;font-weight:700;justify-content:space-between;padding:.5rem;text-align:left}.preview-item{align-items:center;background:#d9e8f6;display:flex;padding:.5rem;width:100%;margin-top:1px}`,f`<template><div class="preview-item"><img height="40" width="40" aria-hidden="true"></div></template><slot class="preview-heading"></slot>`]})],m=[],p=HTMLElement,g=[],v=[],y=[];c=class extends p{constructor(){super(...arguments),l.set(this,(t(this,g),t(this,v,null))),o.set(this,(t(this,y),new Map)),i.set(this,A("template"))}get files(){return n(this,l,"f")}set files(e){s(this,l,e,"f")}connectedCallback(){this.onChange()}onChange(){const e=n(this,i,"f").call(this);if(this.files&&this.files.length){this.hidden=!1;let t=new Set;for(let a of this.files)if(t.add(a.name),!n(this,o,"f").has(a.name)){const t=e.content.cloneNode(!0).childNodes[1];t.id=a.name,t.append(document.createTextNode(a.name));t.querySelector("img").src=URL.createObjectURL(a),this.shadowRoot.append(t),n(this,o,"f").set(a.name,t)}for(let[e,a]of n(this,o,"f"))t.has(e)||(a.remove(),n(this,o,"f").delete(e))}else this.hidden=!0}},o=new WeakMap,i=new WeakMap,l=new WeakMap,a(c,"USAFileInputPreviewElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(p[Symbol.metadata]??null):void 0;d=[z()],h=[R()],e(c,null,d,{kind:"accessor",name:"files",static:!1,private:!1,access:{has:e=>"files"in e,get:e=>e.files,set:(e,t)=>{e.files=t}},metadata:a},v,y),e(c,null,h,{kind:"method",name:"onChange",static:!1,private:!1,access:{has:e=>"onChange"in e,get:e=>e.onChange},metadata:a},null,g),e(null,r={value:c},u,{kind:"class",name:c.name,metadata:a},null,m),c=r.value,a&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(c,m)})()})();const I=new Map;var U;(()=>{var o,i,l,r,c,d;let m,f,p,g=[M({tagName:"usa-icon",shadowDom:[b`:host{display:inline-block;height:2rem;position:relative;width:2rem}svg{fill:currentColor;height:100%;width:100%}`]}),h()],v=[],y=HTMLElement,k=[],w=[];f=class extends y{constructor(){super(...arguments),o.add(this),d.set(this,t(this,k,"accessibility_new")),this.ariaHidden=(t(this,w),"true"),i.set(this,this.attachShadow({mode:"open"})),l.set(this,u(W)),r.set(this,!1)}get icon(){return n(this,d,"f")}set icon(e){s(this,d,e,"f")}connectedCallback(){s(this,r,!0,"f"),n(this,o,"m",c).call(this)}attributeChangedCallback(){n(this,r,"f")&&n(this,o,"m",c).call(this)}async fetchIcon(){const e=I.get(this.icon);if(e)return e;const t=n(this,l,"f").call(this),a=fetch(`${t.iconPath}/${this.icon}.svg`).then((e=>e.text()));return I.set(this.icon,a),a}},i=new WeakMap,l=new WeakMap,r=new WeakMap,o=new WeakSet,d=new WeakMap,c=async function(){n(this,i,"f").innerHTML=await this.fetchIcon()},a(f,"USAIconElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(y[Symbol.metadata]??null):void 0;p=[x()],e(f,null,p,{kind:"accessor",name:"icon",static:!1,private:!1,access:{has:e=>"icon"in e,get:e=>e.icon,set:(e,t)=>{e.icon=t}},metadata:a},k,w),e(null,m={value:f},g,{kind:"class",name:f.name,metadata:a},null,v),f=m.value,a&&Object.defineProperty(f,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(f,v)})()})(),(()=>{var o,i,l,r,c,d;let h,u,m,p,g,v,y,k,w,S=[M({tagName:"usa-input",shadowDomOpts:{mode:"open",delegatesFocus:!0},shadowDom:[b`*{box-sizing:border-box}:host{font-size:1.06rem;line-height:1.3;display:block;font-weight:400;max-width:30rem;margin-bottom:1.5rem}input{border-width:1px;border-color:#5c5c5c;border-style:solid;border-radius:0;color:#1b1b1b;display:block;height:2.5rem;line-height:1.3;font-size:1.06rem;margin-top:.5rem;padding:.5rem;width:100%}input:not(:disabled):focus{outline:.25rem solid #2491ff;outline-offset:0}`,f`<label><slot></slot><input></label>`]})],W=[],j=HTMLElement,O=[],P=[],N=[],T=[],D=[],L=[],H=[],I=[],U=[];u=class extends j{constructor(){super(...arguments),l.set(this,(t(this,O),t(this,P,""))),r.set(this,(t(this,N),t(this,T,"on"))),c.set(this,(t(this,D),t(this,L,""))),d.set(this,(t(this,H),t(this,I,""))),o.set(this,(t(this,U),this.attachInternals())),i.set(this,A("input"))}get name(){return n(this,l,"f")}set name(e){s(this,l,e,"f")}get autocomplete(){return n(this,r,"f")}set autocomplete(e){s(this,r,e,"f")}get placeholder(){return n(this,c,"f")}set placeholder(e){s(this,c,e,"f")}get value(){return n(this,d,"f")}set value(e){s(this,d,e,"f")}get selectionStart(){const{selectionStart:e}=n(this,i,"f").call(this);return e}setSelectionRange(e,t){n(this,i,"f").call(this).setSelectionRange(e,t)}onReady(){n(this,i,"f").call(this).autofocus=this.autofocus}onChange(){n(this,i,"f").call(this).value=this.value}onInputChange(){const e=n(this,i,"f").call(this);n(this,o,"f").setFormValue(e.value),this.value=e.value}attributeChangedCallback(e){const t=n(this,i,"f").call(this);switch(e){case"autocomplete":t.autocomplete=this.autocomplete;break;case"placeholder":t.placeholder=this.placeholder;break;case"name":t.name=this.name;break;case"value":t.value=this.value,n(this,o,"f").setFormValue(this.value)}}},o=new WeakMap,i=new WeakMap,l=new WeakMap,r=new WeakMap,c=new WeakMap,d=new WeakMap,a(u,"USATextInputElement"),(()=>{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(j[Symbol.metadata]??null):void 0;m=[x()],p=[x()],g=[x()],v=[x({reflect:!1}),z()],y=[E()],k=[R()],w=[C("input")],e(u,null,m,{kind:"accessor",name:"name",static:!1,private:!1,access:{has:e=>"name"in e,get:e=>e.name,set:(e,t)=>{e.name=t}},metadata:t},P,N),e(u,null,p,{kind:"accessor",name:"autocomplete",static:!1,private:!1,access:{has:e=>"autocomplete"in e,get:e=>e.autocomplete,set:(e,t)=>{e.autocomplete=t}},metadata:t},T,D),e(u,null,g,{kind:"accessor",name:"placeholder",static:!1,private:!1,access:{has:e=>"placeholder"in e,get:e=>e.placeholder,set:(e,t)=>{e.placeholder=t}},metadata:t},L,H),e(u,null,v,{kind:"accessor",name:"value",static:!1,private:!1,access:{has:e=>"value"in e,get:e=>e.value,set:(e,t)=>{e.value=t}},metadata:t},I,U),e(u,null,y,{kind:"method",name:"onReady",static:!1,private:!1,access:{has:e=>"onReady"in e,get:e=>e.onReady},metadata:t},null,O),e(u,null,k,{kind:"method",name:"onChange",static:!1,private:!1,access:{has:e=>"onChange"in e,get:e=>e.onChange},metadata:t},null,O),e(u,null,w,{kind:"method",name:"onInputChange",static:!1,private:!1,access:{has:e=>"onInputChange"in e,get:e=>e.onInputChange},metadata:t},null,O),e(null,h={value:u},S,{kind:"class",name:u.name,metadata:t},null,W),u=h.value,t&&Object.defineProperty(u,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})})(),u.formAssociated=!0,t(u,W)})(),function(e){e.Any="*",e.Number="9",e.Letter="A"}(U||(U={}));const V=Object.values(U),F={Letters:/^[a-z]/i,Numbers:/^[0-9]/i};function K(e,t){const a=e.replace(/[^a-z0-9]/gi,""),n=a.split("");let s=0,o="";for(var i=0;i<t.length;i++){const e=t[i],a=n[s];a&&e&&(e===U.Any?(o+=a,s++):e===U.Number?(/^[0-9]/i.test(a)&&(o+=a),s++):e===U.Letter?(/^[a-z]/i.test(a)&&(o+=a),s++):o+=e)}return{raw:a,formatted:o}}(()=>{var o,i,l;let r,c,d,h,u,m=[M({tagName:"usa-input-mask",shadowDom:[b`:host{display:contents}`,f`<slot></slot>`]})],p=[],g=HTMLElement,v=[],y=[],k=[];c=class extends g{get mask(){return n(this,l,"f")}set mask(e){s(this,l,e,"f")}connectedCallback(){for(let e of this.querySelectorAll("[mask]")){const{formatted:t}=K(e.value,n(this,o,"m",i).call(this,e));e.value=t}}async onInput(e){const t=e.target,a=t.selectionStart||0,s=t.value,l=n(this,o,"m",i).call(this,t),{formatted:r}=K(t.value,l);t.value=r;const c=t.value.length-s.length,d=l[a-1];await Promise.resolve(),d&&!V.includes(d)&&c>0?t.setSelectionRange(a+c,a+c):t.setSelectionRange(a,a),s!==t.value&&t.dispatchEvent(new Event("input",{bubbles:!0}))}onKeyDown(e){const t=e.target,a=n(this,o,"m",i).call(this,t),s=a[t.selectionStart||0];1===e.key.length&&/^[a-z0-9]/i.test(e.key)&&(t.value.length>=a.length?e.preventDefault():s===U.Number?F.Numbers.test(e.key)||e.preventDefault():s===U.Letter&&(F.Letters.test(e.key)||e.preventDefault()))}constructor(){super(...arguments),o.add(this),l.set(this,(t(this,v),t(this,y,""))),t(this,k)}},o=new WeakSet,l=new WeakMap,i=function(e){return this.mask||e.getAttribute("mask")||""},a(c,"USAInputMaskElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(g[Symbol.metadata]??null):void 0;d=[x()],h=[C("input")],u=[C("keydown")],e(c,null,d,{kind:"accessor",name:"mask",static:!1,private:!1,access:{has:e=>"mask"in e,get:e=>e.mask,set:(e,t)=>{e.mask=t}},metadata:a},y,k),e(c,null,h,{kind:"method",name:"onInput",static:!1,private:!1,access:{has:e=>"onInput"in e,get:e=>e.onInput},metadata:a},null,v),e(c,null,u,{kind:"method",name:"onKeyDown",static:!1,private:!1,access:{has:e=>"onKeyDown"in e,get:e=>e.onKeyDown},metadata:a},null,v),e(null,r={value:c},m,{kind:"class",name:c.name,metadata:a},null,p),c=r.value,a&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(c,p)})()})(),(()=>{var o,i,l,r,c;let d,h,u,m,p,g,v=[M({tagName:"usa-link",shadowDom:[b`:host{display:inline-flex;color:#005ea2;text-decoration:underline}a{color:inherit;text-decoration:inherit;display:inherit}`,f`<a><slot></slot></a>`]})],y=[],k=HTMLElement,w=[],S=[],C=[],E=[],W=[],j=[],O=[],P=[];h=class extends k{constructor(){super(...arguments),i.set(this,t(this,w,"")),l.set(this,(t(this,S),t(this,C,""))),r.set(this,(t(this,E),t(this,W,""))),c.set(this,(t(this,j),t(this,O,!1))),o.set(this,(t(this,P),A("a")))}get href(){return n(this,i,"f")}set href(e){s(this,i,e,"f")}get target(){return n(this,l,"f")}set target(e){s(this,l,e,"f")}get title(){return n(this,r,"f")}set title(e){s(this,r,e,"f")}get disabled(){return n(this,c,"f")}set disabled(e){s(this,c,e,"f")}attributeChangedCallback(e){const t=n(this,o,"f").call(this);switch(e){case"href":t.href=this.href;break;case"target":t.target=this.target;break;case"title":t.target=this.title}}},o=new WeakMap,i=new WeakMap,l=new WeakMap,r=new WeakMap,c=new WeakMap,a(h,"USALinkElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(k[Symbol.metadata]??null):void 0;u=[x()],m=[x()],p=[x()],g=[x({observed:!1})],e(h,null,u,{kind:"accessor",name:"href",static:!1,private:!1,access:{has:e=>"href"in e,get:e=>e.href,set:(e,t)=>{e.href=t}},metadata:a},w,S),e(h,null,m,{kind:"accessor",name:"target",static:!1,private:!1,access:{has:e=>"target"in e,get:e=>e.target,set:(e,t)=>{e.target=t}},metadata:a},C,E),e(h,null,p,{kind:"accessor",name:"title",static:!1,private:!1,access:{has:e=>"title"in e,get:e=>e.title,set:(e,t)=>{e.title=t}},metadata:a},W,j),e(h,null,g,{kind:"accessor",name:"disabled",static:!1,private:!1,access:{has:e=>"disabled"in e,get:e=>e.disabled,set:(e,t)=>{e.disabled=t}},metadata:a},O,P),e(null,d={value:h},v,{kind:"class",name:h.name,metadata:a},null,y),h=d.value,a&&Object.defineProperty(h,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(h,y)})()})(),(()=>{var o,i,l,r;let c,d,h,u,m,p,g,v=[M({tagName:"usa-radio",shadowDom:[b`:host{display:flex;flex-direction:column;gap:1rem;max-width:30rem;margin-bottom:1.5rem}label{display:flex;cursor:pointer;gap:.5rem}input{position:absolute;left:-999em;right:auto}label::before{content:" ";display:block;left:0;height:1.25rem;border-radius:99rem;width:1.25rem;background:#fff;box-shadow:0 0 0 2px #1b1b1b;flex:0 0 1.25rem}label:has(input:checked)::before{background-color:#005ea2;box-shadow:0 0 0 2px #005ea2,inset 0 0 0 2px #fff}label:has(input:focus)::before{outline:.25rem solid #2491ff;outline-offset:.25rem}:host([tiled]){gap:.5rem}:host([tiled]) label{background-color:#fff;border:2px solid #c9c9c9;color:#1b1b1b;border-radius:.25rem;padding:.75rem 1rem .75rem .75rem}:host([tiled]) label:has(input:checked){background-color:rgba(0,94,162,.1);border-color:#005ea2}slot{display:flex}`,f`<slot id="main"></slot>`]})],y=[],k=HTMLElement,w=[],S=[],A=[],E=[],W=[],j=[],O=[];d=class extends k{constructor(){super(...arguments),i.set(this,(t(this,w),t(this,S,""))),l.set(this,(t(this,A),t(this,E,""))),r.set(this,(t(this,W),t(this,j,!1))),o.set(this,(t(this,O),this.attachInternals()))}get value(){return n(this,i,"f")}set value(e){s(this,i,e,"f")}get name(){return n(this,l,"f")}set name(e){s(this,l,e,"f")}get tiled(){return n(this,r,"f")}set tiled(e){s(this,r,e,"f")}get shadow(){return this.shadowRoot}onChange(e){e.target instanceof HTMLInputElement&&e.target.checked&&(this.value=e.target.value,n(this,o,"f").setFormValue(e.target.value))}connectedCallback(){this.value&&n(this,o,"f").setFormValue(this.value)}attributeChangedCallback(){for(let e of this.shadow.querySelectorAll("usa-radio-option"))e.checked=e.value===this.value,e.name=this.name}onOptionAdded(e){e.stopPropagation();const t=e.target;t.checked=t.value===this.value,t.name=this.name,this.shadow.append(t.radio)}},o=new WeakMap,i=new WeakMap,l=new WeakMap,r=new WeakMap,a(d,"USARadioElement"),(()=>{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(k[Symbol.metadata]??null):void 0;h=[x()],u=[x()],m=[x({observed:!1})],p=[C("change")],g=[C("usa::radio::option::added",(e=>e))],e(d,null,h,{kind:"accessor",name:"value",static:!1,private:!1,access:{has:e=>"value"in e,get:e=>e.value,set:(e,t)=>{e.value=t}},metadata:t},S,A),e(d,null,u,{kind:"accessor",name:"name",static:!1,private:!1,access:{has:e=>"name"in e,get:e=>e.name,set:(e,t)=>{e.name=t}},metadata:t},E,W),e(d,null,m,{kind:"accessor",name:"tiled",static:!1,private:!1,access:{has:e=>"tiled"in e,get:e=>e.tiled,set:(e,t)=>{e.tiled=t}},metadata:t},j,O),e(d,null,p,{kind:"method",name:"onChange",static:!1,private:!1,access:{has:e=>"onChange"in e,get:e=>e.onChange},metadata:t},null,w),e(d,null,g,{kind:"method",name:"onOptionAdded",static:!1,private:!1,access:{has:e=>"onOptionAdded"in e,get:e=>e.onOptionAdded},metadata:t},null,w),e(null,c={value:d},v,{kind:"class",name:d.name,metadata:t},null,y),d=c.value,t&&Object.defineProperty(d,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})})(),d.formAssociated=!0,t(d,y)})(),(()=>{var o,i,l,r,c;let d,h,u,m,p,g=[M({tagName:"usa-radio-option",shadowDom:[b`:host{display:flex;flex-direction:column;margin-top:.05rem}`,f`<slot></slot>`]})],v=[],y=HTMLElement,k=[],w=[],S=[],C=[],A=[],E=[];h=class extends y{get value(){return n(this,l,"f")}set value(e){s(this,l,e,"f")}get name(){return n(this,r,"f")}set name(e){s(this,r,e,"f")}get checked(){return n(this,c,"f")}set checked(e){s(this,c,e,"f")}constructor(){super(),l.set(this,t(this,k,"")),r.set(this,(t(this,w),t(this,S,""))),c.set(this,(t(this,C),t(this,A,!1))),this.radio=(t(this,E),document.createElement("label")),o.set(this,document.createElement("input")),i.set(this,document.createElement("slot")),n(this,o,"f").type="radio",this.radio.append(n(this,o,"f"),n(this,i,"f"))}attributeChangedCallback(){this.slot=this.value,n(this,o,"f").name=this.name,n(this,o,"f").value=this.value,n(this,o,"f").checked=this.checked,n(this,i,"f").name=this.value}connectedCallback(){this.dispatchEvent(new Event("usa::radio::option::added",{bubbles:!0}))}disconnectedCallback(){this.radio.remove()}},o=new WeakMap,i=new WeakMap,l=new WeakMap,r=new WeakMap,c=new WeakMap,a(h,"USARadioOptionElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(y[Symbol.metadata]??null):void 0;u=[x()],m=[x()],p=[x()],e(h,null,u,{kind:"accessor",name:"value",static:!1,private:!1,access:{has:e=>"value"in e,get:e=>e.value,set:(e,t)=>{e.value=t}},metadata:a},k,w),e(h,null,m,{kind:"accessor",name:"name",static:!1,private:!1,access:{has:e=>"name"in e,get:e=>e.name,set:(e,t)=>{e.name=t}},metadata:a},S,C),e(h,null,p,{kind:"accessor",name:"checked",static:!1,private:!1,access:{has:e=>"checked"in e,get:e=>e.checked,set:(e,t)=>{e.checked=t}},metadata:a},A,E),e(null,d={value:h},g,{kind:"class",name:h.name,metadata:a},null,v),h=d.value,a&&Object.defineProperty(h,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(h,v)})()})(),(()=>{var o,i,l,r;let c,d,h,u,m,p,g=[M({tagName:"usa-select",shadowDom:[b`:host{display:block;font-family:Source Sans Pro Web,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;line-height:1.3;position:relative;width:100%;max-width:30rem;margin-bottom:1.5rem}select{font-size:1.06rem;appearance:none;border-width:1px;border-color:#5c5c5c;border-style:solid;border-radius:0;color:#1b1b1b;display:block;height:2.5rem;margin-top:.5rem;padding:.5rem;width:100%}select:not(:disabled):focus{outline:.25rem solid #2491ff;outline-offset:0}usa-icon{position:absolute;right:.5rem;bottom:12%;height:1.5rem;width:1.5rem}`,f`<usa-icon icon="unfold_more"></usa-icon><label><div class="label"><slot></slot></div><select></select></label>`]})],v=[],y=HTMLElement,k=[],w=[],S=[],E=[],W=[];d=class extends y{constructor(){super(...arguments),l.set(this,(t(this,k),t(this,w,""))),r.set(this,(t(this,S),t(this,E,""))),o.set(this,(t(this,W),A("select"))),i.set(this,this.attachInternals())}get value(){return n(this,l,"f")}set value(e){s(this,l,e,"f")}get name(){return n(this,r,"f")}set name(e){s(this,r,e,"f")}connectedCallback(){const e=n(this,o,"f").call(this);e.value=this.value,e.name=this.name,n(this,i,"f").setFormValue(this.value)}onSelectChange(){const e=n(this,o,"f").call(this);n(this,i,"f").setFormValue(e.value)}onOptionAdded(e){const t=e.target;e.stopPropagation();n(this,o,"f").call(this).append(t.option)}},o=new WeakMap,i=new WeakMap,l=new WeakMap,r=new WeakMap,a(d,"USASelectElement"),(()=>{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(y[Symbol.metadata]??null):void 0;h=[x()],u=[x()],m=[C("change")],p=[C("usa::select::option::added")],e(d,null,h,{kind:"accessor",name:"value",static:!1,private:!1,access:{has:e=>"value"in e,get:e=>e.value,set:(e,t)=>{e.value=t}},metadata:t},w,S),e(d,null,u,{kind:"accessor",name:"name",static:!1,private:!1,access:{has:e=>"name"in e,get:e=>e.name,set:(e,t)=>{e.name=t}},metadata:t},E,W),e(d,null,m,{kind:"method",name:"onSelectChange",static:!1,private:!1,access:{has:e=>"onSelectChange"in e,get:e=>e.onSelectChange},metadata:t},null,k),e(d,null,p,{kind:"method",name:"onOptionAdded",static:!1,private:!1,access:{has:e=>"onOptionAdded"in e,get:e=>e.onOptionAdded},metadata:t},null,k),e(null,c={value:d},g,{kind:"class",name:d.name,metadata:t},null,v),d=c.value,t&&Object.defineProperty(d,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})})(),d.formAssociated=!0,t(d,v)})(),(()=>{var o;let i,l,r,c,d=[M({tagName:"usa-select-option",shadowDom:[b`:host{display:none}`,f`<slot></slot>`]})],h=[],u=HTMLElement,m=[],p=[],g=[];l=class extends u{constructor(){super(...arguments),o.set(this,(t(this,m),t(this,p,""))),this.option=(t(this,g),document.createElement("option"))}get value(){return n(this,o,"f")}set value(e){s(this,o,e,"f")}attributeChangedCallback(){this.option.value=this.value}connectedCallback(){this.dispatchEvent(new Event("usa::select::option::added",{bubbles:!0}))}onSlotChange(){this.option.textContent=this.textContent}disconnectedCallback(){this.option.remove()}},o=new WeakMap,a(l,"USASelecOptionElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(u[Symbol.metadata]??null):void 0;r=[x()],c=[C("slotchange")],e(l,null,r,{kind:"accessor",name:"value",static:!1,private:!1,access:{has:e=>"value"in e,get:e=>e.value,set:(e,t)=>{e.value=t}},metadata:a},p,g),e(l,null,c,{kind:"method",name:"onSlotChange",static:!1,private:!1,access:{has:e=>"onSlotChange"in e,get:e=>e.onSlotChange},metadata:a},null,m),e(null,i={value:l},d,{kind:"class",name:l.name,metadata:a},null,h),l=i.value,a&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(l,h)})()})(),(()=>{var o;let i,l,r,c=[M({tagName:"usa-tag",shadowDom:[b`:host{font-family:Source Sans Pro Web,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-size:.93rem;color:#fff;text-transform:uppercase;background-color:#5c5c5c;border-radius:2px;margin-right:.25rem;padding:1px .5rem}:host([variant=big]){padding-left:.5rem;padding-right:.5rem;font-size:1.06rem}`,f`<slot></slot>`]})],d=[],h=HTMLElement,u=[],m=[];l=class extends h{get variant(){return n(this,o,"f")}set variant(e){s(this,o,e,"f")}constructor(){super(...arguments),o.set(this,t(this,u,"default")),t(this,m)}},o=new WeakMap,a(l,"USATagElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(h[Symbol.metadata]??null):void 0;r=[x()],e(l,null,r,{kind:"accessor",name:"variant",static:!1,private:!1,access:{has:e=>"variant"in e,get:e=>e.variant,set:(e,t)=>{e.variant=t}},metadata:a},u,m),e(null,i={value:l},c,{kind:"class",name:l.name,metadata:a},null,d),l=i.value,a&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(l,d)})()})(),(()=>{var o,i,l;let r,c,d,h,u,m,p=[M({tagName:"usa-accordion",shadowDomOpts:{mode:"open",delegatesFocus:!0},shadowDom:[b`*{box-sizing:border-box}:host{display:block}:host(:not(:first-child)) summary{margin-top:.5rem}summary{align-items:center;border:0;border-radius:0;box-shadow:none;justify-content:normal;text-align:left;padding:0;color:#1b1b1b;background-color:#f0f0f0;cursor:pointer;display:flex;font-weight:700;margin:0;padding:1rem 1.25rem 1rem 1.25rem;text-decoration:none;width:100%}summary::-webkit-details-marker{display:none}slot[name=heading]{display:block;flex:1 1 auto}slot[name=heading]::slotted(*){margin:0}.content{padding-bottom:1.5rem;padding-left:1rem;padding-top:1.5rem}usa-icon[icon=remove]{display:none}details[open] usa-icon[icon=add]{display:none}details[open] usa-icon[icon=remove]{display:block}summary:hover{background-color:#e6e6e6}summary:focus{outline:.25rem solid #2491ff;outline-offset:0}`,f`<details><summary><slot name="heading"></slot><usa-icon icon="add"></usa-icon><usa-icon icon="remove"></usa-icon></summary><div class="content"><slot></slot></div></details>`]})],g=[],v=HTMLElement,y=[],k=[],w=[],S=[],E=[];c=class extends v{constructor(){super(...arguments),i.set(this,(t(this,y),t(this,k,""))),l.set(this,(t(this,w),t(this,S,!1))),o.set(this,(t(this,E),A("details")))}get name(){return n(this,i,"f")}set name(e){s(this,i,e,"f")}get open(){return n(this,l,"f")}set open(e){s(this,l,e,"f")}attributeChangedCallback(){n(this,o,"f").call(this).open=this.open}onClick(e){e.preventDefault(),this.dispatchEvent(new q(!this.open))}onAccordionToggle(e){e.target.name===this.name?this.open=e.target===this&&e.open:e.target===this&&(this.open=e.open)}},o=new WeakMap,i=new WeakMap,l=new WeakMap,a(c,"USAAccordionElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(v[Symbol.metadata]??null):void 0;d=[x()],h=[x()],u=[C("click","summary")],m=[C("usa::accordion::toggle",(()=>document.body))],e(c,null,d,{kind:"accessor",name:"name",static:!1,private:!1,access:{has:e=>"name"in e,get:e=>e.name,set:(e,t)=>{e.name=t}},metadata:a},k,w),e(c,null,h,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:e=>"open"in e,get:e=>e.open,set:(e,t)=>{e.open=t}},metadata:a},S,E),e(c,null,u,{kind:"method",name:"onClick",static:!1,private:!1,access:{has:e=>"onClick"in e,get:e=>e.onClick},metadata:a},null,y),e(c,null,m,{kind:"method",name:"onAccordionToggle",static:!1,private:!1,access:{has:e=>"onAccordionToggle"in e,get:e=>e.onAccordionToggle},metadata:a},null,y),e(null,r={value:c},p,{kind:"class",name:c.name,metadata:a},null,g),c=r.value,a&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(c,g)})()})();class q extends Event{get target(){return super.target}constructor(e){super("usa::accordion::toggle",{bubbles:!0}),this.open=e}}(()=>{var o;let i,l,r,c=[M({tagName:"usa-side-nav",shadowDom:[b`:host{display:block;font-size:1.06rem;line-height:1.3;border-bottom:1px solid #e6e6e6}`,f`<slot></slot>`]})],d=[],h=HTMLElement,u=[],m=[];l=class extends h{get role(){return n(this,o,"f")}set role(e){s(this,o,e,"f")}constructor(){super(...arguments),o.set(this,t(this,u,"navigation")),t(this,m)}},o=new WeakMap,a(l,"USASideNavElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(h[Symbol.metadata]??null):void 0;r=[x()],e(l,null,r,{kind:"accessor",name:"role",static:!1,private:!1,access:{has:e=>"role"in e,get:e=>e.role,set:(e,t)=>{e.role=t}},metadata:a},u,m),e(null,i={value:l},c,{kind:"class",name:l.name,metadata:a},null,d),l=i.value,a&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(l,d)})()})(),(()=>{var o;let i,l,r,c=[M({tagName:"usa-side-nav-item",shadowDom:[b`:host{--usa-nav-item-padding-left:2rem;display:block;border-top:1px solid #e6e6e6}.side-nav-item{display:flex;padding:.5rem 1rem;text-decoration:none;position:relative}.side-nav-item:hover{background-color:#f0f0f0;color:#005ea2}::slotted(*){color:#5c5c5c;text-decoration:none;display:block;width:100%}:host(:hover) ::slotted(*){color:#005ea2}:host([current]) ::slotted(:not(usa-side-nav-item)){color:#005ea2;font-weight:700}:host([current]) .side-nav-item::after{background-color:#005ea2;border-radius:99rem;content:"";display:block;position:absolute;bottom:.25rem;top:.25rem;width:.25rem;left:0}:host([slot=children]) .side-nav-item{padding-left:var(--usa-nav-item-padding-left)}:host([slot=children]) ::slotted(usa-side-nav-item){--usa-nav-item-padding-left:3rem}:host([slot=children]) .side-nav-item::after{display:none}`,f`<div class="side-nav-item"><slot></slot></div><slot name="children"></slot>`]})],d=[],h=HTMLElement,u=[],m=[];l=class extends h{get current(){return n(this,o,"f")}set current(e){s(this,o,e,"f")}constructor(){super(...arguments),o.set(this,t(this,u,!1)),t(this,m)}},o=new WeakMap,a(l,"USASideNavItemElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(h[Symbol.metadata]??null):void 0;r=[x({observed:!1})],e(l,null,r,{kind:"accessor",name:"current",static:!1,private:!1,access:{has:e=>"current"in e,get:e=>e.current,set:(e,t)=>{e.current=t}},metadata:a},u,m),e(null,i={value:l},c,{kind:"class",name:l.name,metadata:a},null,d),l=i.value,a&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(l,d)})()})(),(()=>{let n,s,o=[M({tagName:"usa-summary-box",shadowDom:[b`:host{font-family:Source Sans Pro Web,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-size:1.06rem;line-height:1.5;color:#1b1b1b;background-color:#e7f6f8;border-radius:.25rem;border:1px #99deea solid;padding:1.5rem;position:relative;display:block}`,f`<slot></slot>`]})],i=[],l=HTMLElement;s=class extends l{},a(s,"USASummaryBoxElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(l[Symbol.metadata]??null):void 0;e(null,n={value:s},o,{kind:"class",name:s.name,metadata:a},null,i),s=n.value,a&&Object.defineProperty(s,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(s,i)})()})(),(()=>{let n,s,o=[M({tagName:"usa-step-indicator",shadowDom:[b`:host{display:flex;gap:2px;counter-reset:usa-step-indicator;padding-top:1rem;margin-bottom:1rem}`,f`<slot></slot>`]})],i=[],l=HTMLElement;s=class extends l{constructor(){super(...arguments),this.role="list"}},a(s,"USAStepIndicatorElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(l[Symbol.metadata]??null):void 0;e(null,n={value:s},o,{kind:"class",name:s.name,metadata:a},null,i),s=n.value,a&&Object.defineProperty(s,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(s,i)})()})(),(()=>{var o;let i,l,r,c,d=[M({tagName:"usa-step",shadowDom:[b`:host{color:#5c5c5c;display:block;flex:1 1 0%;position:relative;counter-increment:usa-step-indicator}:host([state=complete]){color:#162e51}:host([state=complete])::before{background-color:#162e51}:host([state=current]){color:#005ea2;font-weight:700}:host([state=current])::before{background-color:#005ea2}:host:before{background-color:#919191;content:"";display:block;height:.5rem}.label{display:block;font-size:1.06rem;margin-top:.5rem;padding-right:2rem;text-align:left}:host([counter]) .label{margin-top:1.5rem}:host([counter]) .counter:after{content:counter(usa-step-indicator);height:2.5rem;border-radius:99rem;width:2.5rem;background-color:#fff;box-shadow:inset 0 0 0 .25rem #919191,0 0 0 .25rem #fff;color:#5c5c5c;display:flex;align-items:center;justify-content:center;font-weight:700;left:0;line-height:.9;padding:calc((2.5rem - 2ex * .9) * .5);position:absolute;z-index:100;top:0;transform:translateY(-40%);box-sizing:border-box}:host([counter][state=complete]) .counter::after{background-color:#162e51;box-shadow:0 0 0 .25rem #fff;color:#fff}:host([counter][state=current]) .counter::after{background-color:#005ea2;box-shadow:0 0 0 .25rem #fff;color:#fff}:host([counter=small]) .counter:after{height:1.5rem;width:1.5rem;font-size:.93rem}:host([counter]:last-child):before{width:0}`,f`<div class="counter" aria-hidden="true"></div><div class="label"><slot></slot></div>`]})],h=[],u=HTMLElement,m=[],p=[],g=[];l=class extends u{constructor(){super(...arguments),o.set(this,(t(this,m),t(this,p,""))),this.role=(t(this,g),"listitem")}get state(){return n(this,o,"f")}set state(e){s(this,o,e,"f")}onStateAttrChanged(){"current"===this.state&&(this.ariaCurrent="step")}},o=new WeakMap,a(l,"USAStepIndicatorStepElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(u[Symbol.metadata]??null):void 0;var n;r=[x()],c=[(n="state",function(e,t){const a=S.read(t.metadata),s=a.attrChanges.get(n)??new Set;s.add(e),a.attrChanges.set(n,s)})],e(l,null,r,{kind:"accessor",name:"state",static:!1,private:!1,access:{has:e=>"state"in e,get:e=>e.state,set:(e,t)=>{e.state=t}},metadata:a},p,g),e(l,null,c,{kind:"method",name:"onStateAttrChanged",static:!1,private:!1,access:{has:e=>"onStateAttrChanged"in e,get:e=>e.onStateAttrChanged},metadata:a},null,m),e(null,i={value:l},d,{kind:"class",name:l.name,metadata:a},null,h),l=i.value,a&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(l,h)})()})(),(()=>{var s;let o,i,l,r,c=[M({tagName:"usa-modal",shadowDom:[b`*{box-sizing:border-box}:host{display:contents}dialog{border:none;font-size:1.06rem;line-height:1.5;border-radius:.5rem;background:#fff;color:#1b1b1b;max-width:30rem;padding-top:4rem;padding-left:4rem;padding-right:4rem;padding-bottom:2rem;width:100%}::backdrop{background:rgba(0,0,0,.7)}`,f`<dialog><slot></slot></dialog>`]})],d=[],h=HTMLElement,u=[];i=class extends h{constructor(){super(...arguments),this.modalAction=(t(this,u),null),s.set(this,A("dialog"))}openModal(){n(this,s,"f").call(this).showModal()}closeModal(){n(this,s,"f").call(this).close()}onGlobalModalAction(e){if(e.target instanceof Element){e.target.getAttribute("modal-target")===this.id&&this.openModal()}}onModalAction(e){e.target instanceof Element&&(this.modalAction=e.target.getAttribute("modal-action"),this.closeModal(),this.dispatchEvent(new Event("usa::modal::close")))}},s=new WeakMap,a(i,"USAModalElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(h[Symbol.metadata]??null):void 0;l=[C("click",(()=>document.body))],r=[C("click",(e=>e))],e(i,null,l,{kind:"method",name:"onGlobalModalAction",static:!1,private:!1,access:{has:e=>"onGlobalModalAction"in e,get:e=>e.onGlobalModalAction},metadata:a},null,u),e(i,null,r,{kind:"method",name:"onModalAction",static:!1,private:!1,access:{has:e=>"onModalAction"in e,get:e=>e.onModalAction},metadata:a},null,u),e(null,o={value:i},c,{kind:"class",name:i.name,metadata:a},null,d),i=o.value,a&&Object.defineProperty(i,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(i,d)})()})(),(()=>{var o;let i,l,r,c=[M({tagName:"usa-modal-close",shadowDom:[b`*{box-sizing:border-box}:host{display:block;position:absolute;top:1rem;right:1rem}button{display:flex;align-items:center;justify-content:center;background:0 0;border:none;cursor:pointer;height:100%;width:100%;border-radius:100%;padding:0;margin:0}button:focus{outline:.25rem solid #2491ff;outline-offset:0}`,f`<button aria-label="close modal"><usa-icon icon="close"></usa-icon></button>`]})],d=[],h=HTMLElement,u=[],m=[];l=class extends h{get modalAction(){return n(this,o,"f")}set modalAction(e){s(this,o,e,"f")}constructor(){super(...arguments),o.set(this,t(this,u,"close")),t(this,m)}},o=new WeakMap,a(l,"USAModalCloseElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(h[Symbol.metadata]??null):void 0;r=[x({name:"modal-action"})],e(l,null,r,{kind:"accessor",name:"modalAction",static:!1,private:!1,access:{has:e=>"modalAction"in e,get:e=>e.modalAction,set:(e,t)=>{e.modalAction=t}},metadata:a},u,m),e(null,i={value:l},c,{kind:"class",name:l.name,metadata:a},null,d),l=i.value,a&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(l,d)})()})(),(()=>{let n,s,o=[M({tagName:"usa-modal-heading",shadowDom:[b`:host{font-family:Merriweather Web,Georgia,Cambria,Times New Roman,Times,serif!important;font-size:1.22rem}h2{margin-top:0;line-height:1.4;font-size:1.45rem}`,f`<h2><slot></slot></h2>`]})],i=[],l=HTMLElement;s=class extends l{},a(s,"USAModalHeadingElement"),(()=>{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(l[Symbol.metadata]??null):void 0;e(null,n={value:s},o,{kind:"class",name:s.name,metadata:a},null,i),s=n.value,a&&Object.defineProperty(s,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(s,i)})()})()}();
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { css, element, html } from "@joist/element";
|
|
1
|
+
import { css, element, html, attr } from "@joist/element";
|
|
2
2
|
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
@@ -21,5 +21,6 @@ declare global {
|
|
|
21
21
|
],
|
|
22
22
|
})
|
|
23
23
|
export class USASideNavElement extends HTMLElement {
|
|
24
|
-
|
|
24
|
+
@attr()
|
|
25
|
+
accessor role = "navigation";
|
|
25
26
|
}
|
|
@@ -113,7 +113,8 @@ export class USAStepIndicatorStepElement extends HTMLElement {
|
|
|
113
113
|
@attr()
|
|
114
114
|
accessor state: "complete" | "current" | "" = "";
|
|
115
115
|
|
|
116
|
-
|
|
116
|
+
@attr()
|
|
117
|
+
accessor role = "listitem";
|
|
117
118
|
|
|
118
119
|
@attrChanged("state")
|
|
119
120
|
onStateAttrChanged() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { css, element, html } from "@joist/element";
|
|
1
|
+
import { attr, css, element, html } from "@joist/element";
|
|
2
2
|
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
@@ -22,5 +22,6 @@ declare global {
|
|
|
22
22
|
],
|
|
23
23
|
})
|
|
24
24
|
export class USAStepIndicatorElement extends HTMLElement {
|
|
25
|
-
|
|
25
|
+
@attr()
|
|
26
|
+
accessor role = "list";
|
|
26
27
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { __esDecorate, __runInitializers, __setFunctionName } from "tslib";
|
|
2
|
-
import { css, element, html } from "@joist/element";
|
|
1
|
+
import { __classPrivateFieldGet, __classPrivateFieldSet, __esDecorate, __runInitializers, __setFunctionName } from "tslib";
|
|
2
|
+
import { css, element, html, attr } from "@joist/element";
|
|
3
3
|
let USASideNavElement = (() => {
|
|
4
|
+
var _USASideNavElement_role_accessor_storage;
|
|
4
5
|
let _classDecorators = [element({
|
|
5
6
|
tagName: "usa-side-nav",
|
|
6
7
|
shadowDom: [
|
|
@@ -19,15 +20,24 @@ let USASideNavElement = (() => {
|
|
|
19
20
|
let _classExtraInitializers = [];
|
|
20
21
|
let _classThis;
|
|
21
22
|
let _classSuper = HTMLElement;
|
|
23
|
+
let _role_decorators;
|
|
24
|
+
let _role_initializers = [];
|
|
25
|
+
let _role_extraInitializers = [];
|
|
22
26
|
var USASideNavElement = _classThis = class extends _classSuper {
|
|
27
|
+
get role() { return __classPrivateFieldGet(this, _USASideNavElement_role_accessor_storage, "f"); }
|
|
28
|
+
set role(value) { __classPrivateFieldSet(this, _USASideNavElement_role_accessor_storage, value, "f"); }
|
|
23
29
|
constructor() {
|
|
24
30
|
super(...arguments);
|
|
25
|
-
this
|
|
31
|
+
_USASideNavElement_role_accessor_storage.set(this, __runInitializers(this, _role_initializers, "navigation"));
|
|
32
|
+
__runInitializers(this, _role_extraInitializers);
|
|
26
33
|
}
|
|
27
34
|
};
|
|
35
|
+
_USASideNavElement_role_accessor_storage = new WeakMap();
|
|
28
36
|
__setFunctionName(_classThis, "USASideNavElement");
|
|
29
37
|
(() => {
|
|
30
38
|
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
39
|
+
_role_decorators = [attr()];
|
|
40
|
+
__esDecorate(_classThis, null, _role_decorators, { kind: "accessor", name: "role", static: false, private: false, access: { has: obj => "role" in obj, get: obj => obj.role, set: (obj, value) => { obj.role = value; } }, metadata: _metadata }, _role_initializers, _role_extraInitializers);
|
|
31
41
|
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
32
42
|
USASideNavElement = _classThis = _classDescriptor.value;
|
|
33
43
|
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"side-nav.element.js","sourceRoot":"","sources":["../../../src/lib/side-nav/side-nav.element.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"side-nav.element.js","sourceRoot":"","sources":["../../../src/lib/side-nav/side-nav.element.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;IAsB7C,iBAAiB;;4BAd7B,OAAO,CAAC;YACP,OAAO,EAAE,cAAc;YACvB,SAAS,EAAE;gBACT,GAAG,CAAA;;;;;;;KAOF;gBACD,IAAI,CAAA,eAAe;aACpB;SACF,CAAC;;;;sBACqC,WAAW;;;;8CAAnB,SAAQ,WAAW;QAEhD,IAAS,IAAI,0FAAgB;QAA7B,IAAS,IAAI,+FAAgB;;;YAApB,+FAAO,YAAY,GAAC;;;;;;;;4BAD5B,IAAI,EAAE;QACP,uKAAS,IAAI,6BAAJ,IAAI,mFAAgB;QAF/B,6KAGC;;;QAHY,uDAAiB;;;;SAAjB,iBAAiB"}
|