@atomic-ui/ui 0.7.1 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/README.md +8 -8
  2. package/custom-elements.json +460 -28
  3. package/dist/base/FieldElement.d.ts +4 -0
  4. package/dist/{chunk-TRZO5CHU.js → chunk-26BO3W56.js} +8 -4
  5. package/dist/chunk-26BO3W56.js.map +1 -0
  6. package/dist/{chunk-4ZQTXTPA.js → chunk-2EP3IV3G.js} +8 -4
  7. package/dist/chunk-2EP3IV3G.js.map +1 -0
  8. package/dist/{chunk-NU34ZQFR.js → chunk-2ZF3J7OO.js} +8 -5
  9. package/dist/chunk-2ZF3J7OO.js.map +1 -0
  10. package/dist/{chunk-WP5WJ4V5.js → chunk-3NEWOO2P.js} +3 -3
  11. package/dist/chunk-3NEWOO2P.js.map +1 -0
  12. package/dist/{chunk-AMDTBUUL.js → chunk-3T7J66Z2.js} +16 -4
  13. package/dist/chunk-3T7J66Z2.js.map +1 -0
  14. package/dist/{chunk-XU2XODVH.js → chunk-5OJAJA3U.js} +3 -3
  15. package/dist/chunk-5OJAJA3U.js.map +1 -0
  16. package/dist/{chunk-3EF4T242.js → chunk-6PMA6NHE.js} +8 -4
  17. package/dist/chunk-6PMA6NHE.js.map +1 -0
  18. package/dist/{chunk-HNBG2POR.js → chunk-7C56LPNJ.js} +2 -2
  19. package/dist/{chunk-HNBG2POR.js.map → chunk-7C56LPNJ.js.map} +1 -1
  20. package/dist/{chunk-EJSX4WCD.js → chunk-7UWJXPR3.js} +12 -8
  21. package/dist/chunk-7UWJXPR3.js.map +1 -0
  22. package/dist/{chunk-WH43U4IY.js → chunk-A4M3A4SZ.js} +4 -4
  23. package/dist/{chunk-WH43U4IY.js.map → chunk-A4M3A4SZ.js.map} +1 -1
  24. package/dist/{chunk-I54DOEZB.js → chunk-AG4EP3OY.js} +3 -3
  25. package/dist/{chunk-I54DOEZB.js.map → chunk-AG4EP3OY.js.map} +1 -1
  26. package/dist/{chunk-WS4AYRSL.js → chunk-AL4IUSML.js} +7 -4
  27. package/dist/{chunk-WS4AYRSL.js.map → chunk-AL4IUSML.js.map} +1 -1
  28. package/dist/{chunk-ZQBEFP2O.js → chunk-APQEXM4I.js} +8 -4
  29. package/dist/chunk-APQEXM4I.js.map +1 -0
  30. package/dist/{chunk-YYYQPKQ7.js → chunk-AURT72IC.js} +2 -2
  31. package/dist/{chunk-KFAGXPIK.js → chunk-AVDSYLOY.js} +3 -3
  32. package/dist/{chunk-KFAGXPIK.js.map → chunk-AVDSYLOY.js.map} +1 -1
  33. package/dist/{chunk-GJPHQLLN.js → chunk-AYKYHZGQ.js} +2 -2
  34. package/dist/{chunk-GJPHQLLN.js.map → chunk-AYKYHZGQ.js.map} +1 -1
  35. package/dist/{chunk-QBORJTS4.js → chunk-D3JWVMJE.js} +55 -19
  36. package/dist/chunk-D3JWVMJE.js.map +1 -0
  37. package/dist/{chunk-RXX4CN5J.js → chunk-EGJZDKMW.js} +2 -2
  38. package/dist/{chunk-RXX4CN5J.js.map → chunk-EGJZDKMW.js.map} +1 -1
  39. package/dist/{chunk-UPOTBKKK.js → chunk-FU3CEHBS.js} +2 -2
  40. package/dist/{chunk-UPOTBKKK.js.map → chunk-FU3CEHBS.js.map} +1 -1
  41. package/dist/{chunk-FWR6SEIA.js → chunk-HA6OJRVI.js} +17 -6
  42. package/dist/chunk-HA6OJRVI.js.map +1 -0
  43. package/dist/{chunk-XZQH2M5I.js → chunk-HURHKQTJ.js} +18 -8
  44. package/dist/chunk-HURHKQTJ.js.map +1 -0
  45. package/dist/{chunk-UF6KCRNT.js → chunk-JNLKM3JT.js} +29 -13
  46. package/dist/chunk-JNLKM3JT.js.map +1 -0
  47. package/dist/{chunk-2HWO5TFV.js → chunk-KAQJVGYW.js} +14 -9
  48. package/dist/{chunk-2HWO5TFV.js.map → chunk-KAQJVGYW.js.map} +1 -1
  49. package/dist/{chunk-BMJFSUP3.js → chunk-MLKNZL5J.js} +26 -10
  50. package/dist/chunk-MLKNZL5J.js.map +1 -0
  51. package/dist/{chunk-PYVUQNFQ.js → chunk-MOO63SHZ.js} +2 -2
  52. package/dist/{chunk-PYVUQNFQ.js.map → chunk-MOO63SHZ.js.map} +1 -1
  53. package/dist/{chunk-A7YBFS4H.js → chunk-NKMJMVZP.js} +2 -2
  54. package/dist/{chunk-5ZQVL3V2.js → chunk-ONED3PUB.js} +8 -7
  55. package/dist/{chunk-5ZQVL3V2.js.map → chunk-ONED3PUB.js.map} +1 -1
  56. package/dist/{chunk-MLRTPQQO.js → chunk-OZGKK3N5.js} +11 -6
  57. package/dist/chunk-OZGKK3N5.js.map +1 -0
  58. package/dist/{chunk-RZWRAJCD.js → chunk-P6HG5RB2.js} +71 -29
  59. package/dist/chunk-P6HG5RB2.js.map +1 -0
  60. package/dist/{chunk-ON3QWAFV.js → chunk-TE3CBEJQ.js} +31 -12
  61. package/dist/chunk-TE3CBEJQ.js.map +1 -0
  62. package/dist/{chunk-YR6T73GY.js → chunk-V7EB7Q2M.js} +1 -1
  63. package/dist/chunk-V7EB7Q2M.js.map +1 -0
  64. package/dist/{chunk-OE6O3XQB.js → chunk-VYYY5DDZ.js} +3 -3
  65. package/dist/chunk-VYYY5DDZ.js.map +1 -0
  66. package/dist/{chunk-DE3INTHZ.js → chunk-YWP2Z3JN.js} +3 -3
  67. package/dist/{chunk-DE3INTHZ.js.map → chunk-YWP2Z3JN.js.map} +1 -1
  68. package/dist/{chunk-WS5AUJ35.js → chunk-Z2EWQMTR.js} +7 -4
  69. package/dist/chunk-Z2EWQMTR.js.map +1 -0
  70. package/dist/{chunk-INA53XXW.js → chunk-ZL3JFUIE.js} +3 -3
  71. package/dist/chunk-ZL3JFUIE.js.map +1 -0
  72. package/dist/components/accordion.js +2 -2
  73. package/dist/components/alert.js +2 -2
  74. package/dist/components/app-ui.d.ts +13 -0
  75. package/dist/components/app-ui.js +4 -4
  76. package/dist/components/badge.js +3 -3
  77. package/dist/components/blocks.js +4 -4
  78. package/dist/components/button.js +3 -3
  79. package/dist/components/checkbox-group.js +3 -3
  80. package/dist/components/checkbox.js +3 -3
  81. package/dist/components/chip.js +2 -2
  82. package/dist/components/date-input.js +3 -3
  83. package/dist/components/dialog.js +2 -2
  84. package/dist/components/fieldset.js +2 -2
  85. package/dist/components/grid.js +2 -2
  86. package/dist/components/help.js +2 -2
  87. package/dist/components/icon.js +2 -2
  88. package/dist/components/journey.js +3 -3
  89. package/dist/components/layout.js +2 -2
  90. package/dist/components/link.js +3 -3
  91. package/dist/components/list.js +2 -2
  92. package/dist/components/media.js +2 -2
  93. package/dist/components/navigation.js +3 -3
  94. package/dist/components/page.js +2 -2
  95. package/dist/components/price.js +2 -2
  96. package/dist/components/progress.d.ts +12 -0
  97. package/dist/components/progress.js +2 -2
  98. package/dist/components/radio-group.js +3 -3
  99. package/dist/components/rows.js +3 -3
  100. package/dist/components/select.d.ts +11 -0
  101. package/dist/components/select.js +3 -3
  102. package/dist/components/shell.js +3 -3
  103. package/dist/components/summary-list.js +2 -2
  104. package/dist/components/switch.d.ts +17 -0
  105. package/dist/components/switch.js +3 -3
  106. package/dist/components/table.js +3 -3
  107. package/dist/components/text-input.js +4 -4
  108. package/dist/components/textarea.js +3 -3
  109. package/dist/index.d.ts +2 -2
  110. package/dist/index.js +35 -35
  111. package/dist/standalone/atomic-ui.js +90 -71
  112. package/dist/standalone/atomic-ui.js.map +3 -3
  113. package/dist/standalone/index.html +189 -150
  114. package/package.json +2 -2
  115. package/scripts/copy-to-product.mjs +8 -7
  116. package/specimen/index.html +189 -150
  117. package/dist/chunk-3EF4T242.js.map +0 -1
  118. package/dist/chunk-4ZQTXTPA.js.map +0 -1
  119. package/dist/chunk-AMDTBUUL.js.map +0 -1
  120. package/dist/chunk-BMJFSUP3.js.map +0 -1
  121. package/dist/chunk-EJSX4WCD.js.map +0 -1
  122. package/dist/chunk-FWR6SEIA.js.map +0 -1
  123. package/dist/chunk-INA53XXW.js.map +0 -1
  124. package/dist/chunk-MLRTPQQO.js.map +0 -1
  125. package/dist/chunk-NU34ZQFR.js.map +0 -1
  126. package/dist/chunk-OE6O3XQB.js.map +0 -1
  127. package/dist/chunk-ON3QWAFV.js.map +0 -1
  128. package/dist/chunk-QBORJTS4.js.map +0 -1
  129. package/dist/chunk-RZWRAJCD.js.map +0 -1
  130. package/dist/chunk-TRZO5CHU.js.map +0 -1
  131. package/dist/chunk-UF6KCRNT.js.map +0 -1
  132. package/dist/chunk-WP5WJ4V5.js.map +0 -1
  133. package/dist/chunk-WS5AUJ35.js.map +0 -1
  134. package/dist/chunk-XU2XODVH.js.map +0 -1
  135. package/dist/chunk-XZQH2M5I.js.map +0 -1
  136. package/dist/chunk-YR6T73GY.js.map +0 -1
  137. package/dist/chunk-ZQBEFP2O.js.map +0 -1
  138. /package/dist/{chunk-YYYQPKQ7.js.map → chunk-AURT72IC.js.map} +0 -0
  139. /package/dist/{chunk-A7YBFS4H.js.map → chunk-NKMJMVZP.js.map} +0 -0
@@ -1,7 +1,7 @@
1
- /* @atomic-ui/ui version 0.7.1, standalone. */
2
- var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,$t=Symbol(),qt=new WeakMap,Y=class{constructor(e,i,r){if(this._$cssResult$=!0,r!==$t)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=i}get styleSheet(){let e=this.o,i=this.t;if(pe&&e===void 0){let r=i!==void 0&&i.length===1;r&&(e=qt.get(i)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),r&&qt.set(i,e))}return e}toString(){return this.cssText}},C=n=>new Y(typeof n=="string"?n:n+"",void 0,$t),p=(n,...e)=>{let i=n.length===1?n[0]:e.reduce((r,o,d)=>r+(h=>{if(h._$cssResult$===!0)return h.cssText;if(typeof h=="number")return h;throw Error("Value passed to 'css' function must be a 'css' function result: "+h+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+n[d+1],n[0]);return new Y(i,n,$t)},Pt=(n,e)=>{if(pe)n.adoptedStyleSheets=e.map(i=>i instanceof CSSStyleSheet?i:i.styleSheet);else for(let i of e){let r=document.createElement("style"),o=ce.litNonce;o!==void 0&&r.setAttribute("nonce",o),r.textContent=i.cssText,n.appendChild(r)}},yt=pe?n=>n:n=>n instanceof CSSStyleSheet?(e=>{let i="";for(let r of e.cssRules)i+=r.cssText;return C(i)})(n):n;var{is:ni,defineProperty:li,getOwnPropertyDescriptor:di,getOwnPropertyNames:ci,getOwnPropertySymbols:pi,getPrototypeOf:hi}=Object,he=globalThis,Dt=he.trustedTypes,ui=Dt?Dt.emptyScript:"",mi=he.reactiveElementPolyfillSupport,G=(n,e)=>n,xt={toAttribute(n,e){switch(e){case Boolean:n=n?ui:null;break;case Object:case Array:n=n==null?n:JSON.stringify(n)}return n},fromAttribute(n,e){let i=n;switch(e){case Boolean:i=n!==null;break;case Number:i=n===null?null:Number(n);break;case Object:case Array:try{i=JSON.parse(n)}catch{i=null}}return i}},jt=(n,e)=>!ni(n,e),Ft={attribute:!0,type:String,converter:xt,reflect:!1,useDefault:!1,hasChanged:jt};Symbol.metadata??=Symbol("metadata"),he.litPropertyMetadata??=new WeakMap;var B=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,i=Ft){if(i.state&&(i.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((i=Object.create(i)).wrapped=!0),this.elementProperties.set(e,i),!i.noAccessor){let r=Symbol(),o=this.getPropertyDescriptor(e,r,i);o!==void 0&&li(this.prototype,e,o)}}static getPropertyDescriptor(e,i,r){let{get:o,set:d}=di(this.prototype,e)??{get(){return this[i]},set(h){this[i]=h}};return{get:o,set(h){let k=o?.call(this);d?.call(this,h),this.requestUpdate(e,k,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ft}static _$Ei(){if(this.hasOwnProperty(G("elementProperties")))return;let e=hi(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(G("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(G("properties"))){let i=this.properties,r=[...ci(i),...pi(i)];for(let o of r)this.createProperty(o,i[o])}let e=this[Symbol.metadata];if(e!==null){let i=litPropertyMetadata.get(e);if(i!==void 0)for(let[r,o]of i)this.elementProperties.set(r,o)}this._$Eh=new Map;for(let[i,r]of this.elementProperties){let o=this._$Eu(i,r);o!==void 0&&this._$Eh.set(o,i)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let i=[];if(Array.isArray(e)){let r=new Set(e.flat(1/0).reverse());for(let o of r)i.unshift(yt(o))}else e!==void 0&&i.push(yt(e));return i}static _$Eu(e,i){let r=i.attribute;return r===!1?void 0:typeof r=="string"?r:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,i=this.constructor.elementProperties;for(let r of i.keys())this.hasOwnProperty(r)&&(e.set(r,this[r]),delete this[r]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Pt(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,i,r){this._$AK(e,r)}_$ET(e,i){let r=this.constructor.elementProperties.get(e),o=this.constructor._$Eu(e,r);if(o!==void 0&&r.reflect===!0){let d=(r.converter?.toAttribute!==void 0?r.converter:xt).toAttribute(i,r.type);this._$Em=e,d==null?this.removeAttribute(o):this.setAttribute(o,d),this._$Em=null}}_$AK(e,i){let r=this.constructor,o=r._$Eh.get(e);if(o!==void 0&&this._$Em!==o){let d=r.getPropertyOptions(o),h=typeof d.converter=="function"?{fromAttribute:d.converter}:d.converter?.fromAttribute!==void 0?d.converter:xt;this._$Em=o;let k=h.fromAttribute(i,d.type);this[o]=k??this._$Ej?.get(o)??k,this._$Em=null}}requestUpdate(e,i,r,o=!1,d){if(e!==void 0){let h=this.constructor;if(o===!1&&(d=this[e]),r??=h.getPropertyOptions(e),!((r.hasChanged??jt)(d,i)||r.useDefault&&r.reflect&&d===this._$Ej?.get(e)&&!this.hasAttribute(h._$Eu(e,r))))return;this.C(e,i,r)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,i,{useDefault:r,reflect:o,wrapped:d},h){r&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,h??i??this[e]),d!==!0||h!==void 0)||(this._$AL.has(e)||(this.hasUpdated||r||(i=void 0),this._$AL.set(e,i)),o===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(i){Promise.reject(i)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[o,d]of this._$Ep)this[o]=d;this._$Ep=void 0}let r=this.constructor.elementProperties;if(r.size>0)for(let[o,d]of r){let{wrapped:h}=d,k=this[o];h!==!0||this._$AL.has(o)||k===void 0||this.C(o,void 0,d,k)}}let e=!1,i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),this._$EO?.forEach(r=>r.hostUpdate?.()),this.update(i)):this._$EM()}catch(r){throw e=!1,this._$EM(),r}e&&this._$AE(i)}willUpdate(e){}_$AE(e){this._$EO?.forEach(i=>i.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(i=>this._$ET(i,this[i])),this._$EM()}updated(e){}firstUpdated(e){}};B.elementStyles=[],B.shadowRootOptions={mode:"open"},B[G("elementProperties")]=new Map,B[G("finalized")]=new Map,mi?.({ReactiveElement:B}),(he.reactiveElementVersions??=[]).push("2.1.2");var Mt=globalThis,Ut=n=>n,ue=Mt.trustedTypes,Wt=ue?ue.createPolicy("lit-html",{createHTML:n=>n}):void 0,Zt="$lit$",q=`lit$${Math.random().toFixed(9).slice(2)}$`,Jt="?"+q,gi=`<${Jt}>`,U=document,J=()=>U.createComment(""),Q=n=>n===null||typeof n!="object"&&typeof n!="function",Et=Array.isArray,bi=n=>Et(n)||typeof n?.[Symbol.iterator]=="function",kt=`[
1
+ /* @atomic-ui/ui version 0.7.2, standalone. */
2
+ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,$t=Symbol(),qt=new WeakMap,Y=class{constructor(e,i,r){if(this._$cssResult$=!0,r!==$t)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=i}get styleSheet(){let e=this.o,i=this.t;if(pe&&e===void 0){let r=i!==void 0&&i.length===1;r&&(e=qt.get(i)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),r&&qt.set(i,e))}return e}toString(){return this.cssText}},L=n=>new Y(typeof n=="string"?n:n+"",void 0,$t),p=(n,...e)=>{let i=n.length===1?n[0]:e.reduce((r,o,d)=>r+(h=>{if(h._$cssResult$===!0)return h.cssText;if(typeof h=="number")return h;throw Error("Value passed to 'css' function must be a 'css' function result: "+h+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+n[d+1],n[0]);return new Y(i,n,$t)},Pt=(n,e)=>{if(pe)n.adoptedStyleSheets=e.map(i=>i instanceof CSSStyleSheet?i:i.styleSheet);else for(let i of e){let r=document.createElement("style"),o=ce.litNonce;o!==void 0&&r.setAttribute("nonce",o),r.textContent=i.cssText,n.appendChild(r)}},yt=pe?n=>n:n=>n instanceof CSSStyleSheet?(e=>{let i="";for(let r of e.cssRules)i+=r.cssText;return L(i)})(n):n;var{is:ni,defineProperty:li,getOwnPropertyDescriptor:di,getOwnPropertyNames:ci,getOwnPropertySymbols:pi,getPrototypeOf:hi}=Object,he=globalThis,Dt=he.trustedTypes,ui=Dt?Dt.emptyScript:"",mi=he.reactiveElementPolyfillSupport,G=(n,e)=>n,xt={toAttribute(n,e){switch(e){case Boolean:n=n?ui:null;break;case Object:case Array:n=n==null?n:JSON.stringify(n)}return n},fromAttribute(n,e){let i=n;switch(e){case Boolean:i=n!==null;break;case Number:i=n===null?null:Number(n);break;case Object:case Array:try{i=JSON.parse(n)}catch{i=null}}return i}},jt=(n,e)=>!ni(n,e),Ft={attribute:!0,type:String,converter:xt,reflect:!1,useDefault:!1,hasChanged:jt};Symbol.metadata??=Symbol("metadata"),he.litPropertyMetadata??=new WeakMap;var B=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,i=Ft){if(i.state&&(i.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((i=Object.create(i)).wrapped=!0),this.elementProperties.set(e,i),!i.noAccessor){let r=Symbol(),o=this.getPropertyDescriptor(e,r,i);o!==void 0&&li(this.prototype,e,o)}}static getPropertyDescriptor(e,i,r){let{get:o,set:d}=di(this.prototype,e)??{get(){return this[i]},set(h){this[i]=h}};return{get:o,set(h){let k=o?.call(this);d?.call(this,h),this.requestUpdate(e,k,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ft}static _$Ei(){if(this.hasOwnProperty(G("elementProperties")))return;let e=hi(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(G("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(G("properties"))){let i=this.properties,r=[...ci(i),...pi(i)];for(let o of r)this.createProperty(o,i[o])}let e=this[Symbol.metadata];if(e!==null){let i=litPropertyMetadata.get(e);if(i!==void 0)for(let[r,o]of i)this.elementProperties.set(r,o)}this._$Eh=new Map;for(let[i,r]of this.elementProperties){let o=this._$Eu(i,r);o!==void 0&&this._$Eh.set(o,i)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let i=[];if(Array.isArray(e)){let r=new Set(e.flat(1/0).reverse());for(let o of r)i.unshift(yt(o))}else e!==void 0&&i.push(yt(e));return i}static _$Eu(e,i){let r=i.attribute;return r===!1?void 0:typeof r=="string"?r:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,i=this.constructor.elementProperties;for(let r of i.keys())this.hasOwnProperty(r)&&(e.set(r,this[r]),delete this[r]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Pt(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,i,r){this._$AK(e,r)}_$ET(e,i){let r=this.constructor.elementProperties.get(e),o=this.constructor._$Eu(e,r);if(o!==void 0&&r.reflect===!0){let d=(r.converter?.toAttribute!==void 0?r.converter:xt).toAttribute(i,r.type);this._$Em=e,d==null?this.removeAttribute(o):this.setAttribute(o,d),this._$Em=null}}_$AK(e,i){let r=this.constructor,o=r._$Eh.get(e);if(o!==void 0&&this._$Em!==o){let d=r.getPropertyOptions(o),h=typeof d.converter=="function"?{fromAttribute:d.converter}:d.converter?.fromAttribute!==void 0?d.converter:xt;this._$Em=o;let k=h.fromAttribute(i,d.type);this[o]=k??this._$Ej?.get(o)??k,this._$Em=null}}requestUpdate(e,i,r,o=!1,d){if(e!==void 0){let h=this.constructor;if(o===!1&&(d=this[e]),r??=h.getPropertyOptions(e),!((r.hasChanged??jt)(d,i)||r.useDefault&&r.reflect&&d===this._$Ej?.get(e)&&!this.hasAttribute(h._$Eu(e,r))))return;this.C(e,i,r)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,i,{useDefault:r,reflect:o,wrapped:d},h){r&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,h??i??this[e]),d!==!0||h!==void 0)||(this._$AL.has(e)||(this.hasUpdated||r||(i=void 0),this._$AL.set(e,i)),o===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(i){Promise.reject(i)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[o,d]of this._$Ep)this[o]=d;this._$Ep=void 0}let r=this.constructor.elementProperties;if(r.size>0)for(let[o,d]of r){let{wrapped:h}=d,k=this[o];h!==!0||this._$AL.has(o)||k===void 0||this.C(o,void 0,d,k)}}let e=!1,i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),this._$EO?.forEach(r=>r.hostUpdate?.()),this.update(i)):this._$EM()}catch(r){throw e=!1,this._$EM(),r}e&&this._$AE(i)}willUpdate(e){}_$AE(e){this._$EO?.forEach(i=>i.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(i=>this._$ET(i,this[i])),this._$EM()}updated(e){}firstUpdated(e){}};B.elementStyles=[],B.shadowRootOptions={mode:"open"},B[G("elementProperties")]=new Map,B[G("finalized")]=new Map,mi?.({ReactiveElement:B}),(he.reactiveElementVersions??=[]).push("2.1.2");var Mt=globalThis,Ut=n=>n,ue=Mt.trustedTypes,Wt=ue?ue.createPolicy("lit-html",{createHTML:n=>n}):void 0,Zt="$lit$",q=`lit$${Math.random().toFixed(9).slice(2)}$`,Jt="?"+q,gi=`<${Jt}>`,U=document,J=()=>U.createComment(""),Q=n=>n===null||typeof n!="object"&&typeof n!="function",Et=Array.isArray,bi=n=>Et(n)||typeof n?.[Symbol.iterator]=="function",kt=`[
3
3
  \f\r]`,Z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,Kt=/>/g,F=RegExp(`>|${kt}(?:([^\\s"'>=/]+)(${kt}*=${kt}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Xt=/'/g,Yt=/"/g,Qt=/^(?:script|style|textarea|title)$/i,At=n=>(e,...i)=>({_$litType$:n,strings:e,values:i}),a=At(1),f=At(2),Pi=At(3),P=Symbol.for("lit-noChange"),l=Symbol.for("lit-nothing"),Gt=new WeakMap,j=U.createTreeWalker(U,129);function ei(n,e){if(!Et(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wt!==void 0?Wt.createHTML(e):e}var fi=(n,e)=>{let i=n.length-1,r=[],o,d=e===2?"<svg>":e===3?"<math>":"",h=Z;for(let k=0;k<i;k++){let y=n[k],T,A,M=-1,H=0;for(;H<y.length&&(h.lastIndex=H,A=h.exec(y),A!==null);)H=h.lastIndex,h===Z?A[1]==="!--"?h=Vt:A[1]!==void 0?h=Kt:A[2]!==void 0?(Qt.test(A[2])&&(o=RegExp("</"+A[2],"g")),h=F):A[3]!==void 0&&(h=F):h===F?A[0]===">"?(h=o??Z,M=-1):A[1]===void 0?M=-2:(M=h.lastIndex-A[2].length,T=A[1],h=A[3]===void 0?F:A[3]==='"'?Yt:Xt):h===Yt||h===Xt?h=F:h===Vt||h===Kt?h=Z:(h=F,o=void 0);let O=h===F&&n[k+1].startsWith("/>")?" ":"";d+=h===Z?y+gi:M>=0?(r.push(T),y.slice(0,M)+Zt+y.slice(M)+q+O):y+q+(M===-2?k:O)}return[ei(n,d+(n[i]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),r]},ee=class n{constructor({strings:e,_$litType$:i},r){let o;this.parts=[];let d=0,h=0,k=e.length-1,y=this.parts,[T,A]=fi(e,i);if(this.el=n.createElement(T,r),j.currentNode=this.el.content,i===2||i===3){let M=this.el.content.firstChild;M.replaceWith(...M.childNodes)}for(;(o=j.nextNode())!==null&&y.length<k;){if(o.nodeType===1){if(o.hasAttributes())for(let M of o.getAttributeNames())if(M.endsWith(Zt)){let H=A[h++],O=o.getAttribute(M).split(q),de=/([.?@])?(.*)/.exec(H);y.push({type:1,index:d,name:de[2],strings:O,ctor:de[1]==="."?wt:de[1]==="?"?St:de[1]==="@"?Tt:X}),o.removeAttribute(M)}else M.startsWith(q)&&(y.push({type:6,index:d}),o.removeAttribute(M));if(Qt.test(o.tagName)){let M=o.textContent.split(q),H=M.length-1;if(H>0){o.textContent=ue?ue.emptyScript:"";for(let O=0;O<H;O++)o.append(M[O],J()),j.nextNode(),y.push({type:2,index:++d});o.append(M[H],J())}}}else if(o.nodeType===8)if(o.data===Jt)y.push({type:2,index:d});else{let M=-1;for(;(M=o.data.indexOf(q,M+1))!==-1;)y.push({type:7,index:d}),M+=q.length-1}d++}}static createElement(e,i){let r=U.createElement("template");return r.innerHTML=e,r}};function K(n,e,i=n,r){if(e===P)return e;let o=r!==void 0?i._$Co?.[r]:i._$Cl,d=Q(e)?void 0:e._$litDirective$;return o?.constructor!==d&&(o?._$AO?.(!1),d===void 0?o=void 0:(o=new d(n),o._$AT(n,i,r)),r!==void 0?(i._$Co??=[])[r]=o:i._$Cl=o),o!==void 0&&(e=K(n,o._$AS(n,e.values),o,r)),e}var vt=class{constructor(e,i){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:i},parts:r}=this._$AD,o=(e?.creationScope??U).importNode(i,!0);j.currentNode=o;let d=j.nextNode(),h=0,k=0,y=r[0];for(;y!==void 0;){if(h===y.index){let T;y.type===2?T=new te(d,d.nextSibling,this,e):y.type===1?T=new y.ctor(d,y.name,y.strings,this,e):y.type===6&&(T=new zt(d,this,e)),this._$AV.push(T),y=r[++k]}h!==y?.index&&(d=j.nextNode(),h++)}return j.currentNode=U,o}p(e){let i=0;for(let r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(e,r,i),i+=r.strings.length-2):r._$AI(e[i])),i++}},te=class n{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,i,r,o){this.type=2,this._$AH=l,this._$AN=void 0,this._$AA=e,this._$AB=i,this._$AM=r,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,i=this._$AM;return i!==void 0&&e?.nodeType===11&&(e=i.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,i=this){e=K(this,e,i),Q(e)?e===l||e==null||e===""?(this._$AH!==l&&this._$AR(),this._$AH=l):e!==this._$AH&&e!==P&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):bi(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==l&&Q(this._$AH)?this._$AA.nextSibling.data=e:this.T(U.createTextNode(e)),this._$AH=e}$(e){let{values:i,_$litType$:r}=e,o=typeof r=="number"?this._$AC(e):(r.el===void 0&&(r.el=ee.createElement(ei(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===o)this._$AH.p(i);else{let d=new vt(o,this),h=d.u(this.options);d.p(i),this.T(h),this._$AH=d}}_$AC(e){let i=Gt.get(e.strings);return i===void 0&&Gt.set(e.strings,i=new ee(e)),i}k(e){Et(this._$AH)||(this._$AH=[],this._$AR());let i=this._$AH,r,o=0;for(let d of e)o===i.length?i.push(r=new n(this.O(J()),this.O(J()),this,this.options)):r=i[o],r._$AI(d),o++;o<i.length&&(this._$AR(r&&r._$AB.nextSibling,o),i.length=o)}_$AR(e=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);e!==this._$AB;){let r=Ut(e).nextSibling;Ut(e).remove(),e=r}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},X=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,i,r,o,d){this.type=1,this._$AH=l,this._$AN=void 0,this.element=e,this.name=i,this._$AM=o,this.options=d,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=l}_$AI(e,i=this,r,o){let d=this.strings,h=!1;if(d===void 0)e=K(this,e,i,0),h=!Q(e)||e!==this._$AH&&e!==P,h&&(this._$AH=e);else{let k=e,y,T;for(e=d[0],y=0;y<d.length-1;y++)T=K(this,k[r+y],i,y),T===P&&(T=this._$AH[y]),h||=!Q(T)||T!==this._$AH[y],T===l?e=l:e!==l&&(e+=(T??"")+d[y+1]),this._$AH[y]=T}h&&!o&&this.j(e)}j(e){e===l?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},wt=class extends X{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===l?void 0:e}},St=class extends X{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==l)}},Tt=class extends X{constructor(e,i,r,o,d){super(e,i,r,o,d),this.type=5}_$AI(e,i=this){if((e=K(this,e,i,0)??l)===P)return;let r=this._$AH,o=e===l&&r!==l||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,d=e!==l&&(r===l||o);o&&this.element.removeEventListener(this.name,this,r),d&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},zt=class{constructor(e,i,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=i,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){K(this,e)}};var $i=Mt.litHtmlPolyfillSupport;$i?.(ee,te),(Mt.litHtmlVersions??=[]).push("3.3.3");var Ct=(n,e,i)=>{let r=i?.renderBefore??e,o=r._$litPart$;if(o===void 0){let d=i?.renderBefore??null;r._$litPart$=o=new te(e.insertBefore(J(),d),d,void 0,i??{})}return o._$AI(n),o};var Lt=globalThis,N=class extends B{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Ct(i,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return P}};N._$litElement$=!0,N.finalized=!0,Lt.litElementHydrateSupport?.({LitElement:N});var yi=Lt.litElementPolyfillSupport;yi?.({LitElement:N});(Lt.litElementVersions??=[]).push("4.2.2");var u=(n,e)=>C(`var(--impakt-${n.replace(/\./g,"-")}, ${e})`),t={brand:u("color.brand.default","#1f4ed8"),brandHover:u("color.brand.hover","#1b45be"),brandActive:u("color.brand.active","#183ba4"),brandSubtle:u("color.brand.subtle","#e4eafa"),onBrand:u("color.text.on-brand","#ffffff"),surfaceCard:u("color.surface.card","#ffffff"),surfaceInset:u("color.surface.inset","#f4f4f4"),surfaceSubtle:u("color.surface.subtle","#e4eafa"),text:u("color.text.default","#1a1a1a"),textMuted:u("color.text.muted","#717171"),textPlaceholder:u("color.text.placeholder","#767676"),textHeading:u("color.text.heading","#1f4ed8"),link:u("color.text.link","#1f4ed8"),linkHover:u("color.text.link-hover","#193ead"),border:u("color.border.default","#929292"),borderStrong:u("color.border.strong","#818181"),danger:u("color.status.danger.default","#c8102e"),dangerText:u("color.status.danger.text","#c8102e"),dangerSubtle:u("color.status.danger.subtle","#f8e2e6"),warning:u("color.status.warning.default","#b45309"),warningText:u("color.status.warning.text","#b45309"),warningSubtle:u("color.status.warning.subtle","#f6eae1"),success:u("color.status.success.default","#047857"),successText:u("color.status.success.text","#047857"),successSubtle:u("color.status.success.subtle","#e0f0ea"),info:u("color.status.info.default","#1f4ed8"),infoText:u("color.status.info.text","#1f4ed8"),infoSubtle:u("color.status.info.subtle","#e4eafa"),fontBody:u("font.family.body","system-ui, sans-serif"),fontHeading:u("font.family.heading","system-ui, sans-serif"),fontMono:u("font.family.mono","ui-monospace, SFMono-Regular, Menlo, Consolas, monospace"),fontEyebrow:u("font.family.eyebrow","inherit"),focusShadow:u("focus.ring.shadow","0 0 0 2px #ffffff, 0 0 0 4px #1a1a1a"),focusOffset:u("focus.ring.offset","2px"),targetMin:u("target.min","24px"),radiusSm:u("radius.sm","2px"),radius:u("radius.md","4px"),radiusLg:u("radius.lg","8px"),borderThin:u("border.width.thin","1px"),borderThick:u("border.width.thick","2px"),radiusXs:u("radius.xs","2px"),radiusXl:u("radius.xl","12px"),radius2xl:u("radius.2xl","16px"),hairline:C("color-mix(in srgb, var(--impakt-color-text-default, #1a1a1a) 10%, transparent)"),rule:C("color-mix(in srgb, var(--impakt-color-text-default, #1a1a1a) 15%, transparent)"),wash:C("color-mix(in srgb, var(--impakt-color-text-default, #1a1a1a) 5%, transparent)"),brandHalo:C("color-mix(in srgb, var(--impakt-color-brand-default, #1f4ed8) 22%, transparent)"),shadowXs:u("shadow.xs","0 1px 2px 0 rgb(0 0 0 / 0.05)"),shadowSm:u("shadow.sm","0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)"),shadowMd:u("shadow.md","0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)"),shadowLg:u("shadow.lg","0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)"),shadowXl:u("shadow.xl","0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)"),trackingTight:u("font.tracking.tight","-0.02em"),trackingWide:u("font.tracking.wide","0.06em")},$=n=>C(`font-size: var(--impakt-font-size-${n}, 1rem); line-height: var(--impakt-font-leading-${n}, 1.5);`),s=n=>u(`space.${String(n).replace(".","-")}`,`${n*4}px`),g=n=>u(`font.size.${n}`,"1rem"),R=n=>u(`font.line-height.${n}`,"1.5"),m=n=>u(`font.weight.${n}`,"400"),L=p`
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Xt=/'/g,Yt=/"/g,Qt=/^(?:script|style|textarea|title)$/i,At=n=>(e,...i)=>({_$litType$:n,strings:e,values:i}),a=At(1),f=At(2),Pi=At(3),P=Symbol.for("lit-noChange"),l=Symbol.for("lit-nothing"),Gt=new WeakMap,j=U.createTreeWalker(U,129);function ei(n,e){if(!Et(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wt!==void 0?Wt.createHTML(e):e}var fi=(n,e)=>{let i=n.length-1,r=[],o,d=e===2?"<svg>":e===3?"<math>":"",h=Z;for(let k=0;k<i;k++){let y=n[k],z,A,M=-1,H=0;for(;H<y.length&&(h.lastIndex=H,A=h.exec(y),A!==null);)H=h.lastIndex,h===Z?A[1]==="!--"?h=Vt:A[1]!==void 0?h=Kt:A[2]!==void 0?(Qt.test(A[2])&&(o=RegExp("</"+A[2],"g")),h=F):A[3]!==void 0&&(h=F):h===F?A[0]===">"?(h=o??Z,M=-1):A[1]===void 0?M=-2:(M=h.lastIndex-A[2].length,z=A[1],h=A[3]===void 0?F:A[3]==='"'?Yt:Xt):h===Yt||h===Xt?h=F:h===Vt||h===Kt?h=Z:(h=F,o=void 0);let O=h===F&&n[k+1].startsWith("/>")?" ":"";d+=h===Z?y+gi:M>=0?(r.push(z),y.slice(0,M)+Zt+y.slice(M)+q+O):y+q+(M===-2?k:O)}return[ei(n,d+(n[i]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),r]},ee=class n{constructor({strings:e,_$litType$:i},r){let o;this.parts=[];let d=0,h=0,k=e.length-1,y=this.parts,[z,A]=fi(e,i);if(this.el=n.createElement(z,r),j.currentNode=this.el.content,i===2||i===3){let M=this.el.content.firstChild;M.replaceWith(...M.childNodes)}for(;(o=j.nextNode())!==null&&y.length<k;){if(o.nodeType===1){if(o.hasAttributes())for(let M of o.getAttributeNames())if(M.endsWith(Zt)){let H=A[h++],O=o.getAttribute(M).split(q),de=/([.?@])?(.*)/.exec(H);y.push({type:1,index:d,name:de[2],strings:O,ctor:de[1]==="."?wt:de[1]==="?"?St:de[1]==="@"?Tt:X}),o.removeAttribute(M)}else M.startsWith(q)&&(y.push({type:6,index:d}),o.removeAttribute(M));if(Qt.test(o.tagName)){let M=o.textContent.split(q),H=M.length-1;if(H>0){o.textContent=ue?ue.emptyScript:"";for(let O=0;O<H;O++)o.append(M[O],J()),j.nextNode(),y.push({type:2,index:++d});o.append(M[H],J())}}}else if(o.nodeType===8)if(o.data===Jt)y.push({type:2,index:d});else{let M=-1;for(;(M=o.data.indexOf(q,M+1))!==-1;)y.push({type:7,index:d}),M+=q.length-1}d++}}static createElement(e,i){let r=U.createElement("template");return r.innerHTML=e,r}};function K(n,e,i=n,r){if(e===P)return e;let o=r!==void 0?i._$Co?.[r]:i._$Cl,d=Q(e)?void 0:e._$litDirective$;return o?.constructor!==d&&(o?._$AO?.(!1),d===void 0?o=void 0:(o=new d(n),o._$AT(n,i,r)),r!==void 0?(i._$Co??=[])[r]=o:i._$Cl=o),o!==void 0&&(e=K(n,o._$AS(n,e.values),o,r)),e}var vt=class{constructor(e,i){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:i},parts:r}=this._$AD,o=(e?.creationScope??U).importNode(i,!0);j.currentNode=o;let d=j.nextNode(),h=0,k=0,y=r[0];for(;y!==void 0;){if(h===y.index){let z;y.type===2?z=new te(d,d.nextSibling,this,e):y.type===1?z=new y.ctor(d,y.name,y.strings,this,e):y.type===6&&(z=new zt(d,this,e)),this._$AV.push(z),y=r[++k]}h!==y?.index&&(d=j.nextNode(),h++)}return j.currentNode=U,o}p(e){let i=0;for(let r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(e,r,i),i+=r.strings.length-2):r._$AI(e[i])),i++}},te=class n{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,i,r,o){this.type=2,this._$AH=l,this._$AN=void 0,this._$AA=e,this._$AB=i,this._$AM=r,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,i=this._$AM;return i!==void 0&&e?.nodeType===11&&(e=i.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,i=this){e=K(this,e,i),Q(e)?e===l||e==null||e===""?(this._$AH!==l&&this._$AR(),this._$AH=l):e!==this._$AH&&e!==P&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):bi(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==l&&Q(this._$AH)?this._$AA.nextSibling.data=e:this.T(U.createTextNode(e)),this._$AH=e}$(e){let{values:i,_$litType$:r}=e,o=typeof r=="number"?this._$AC(e):(r.el===void 0&&(r.el=ee.createElement(ei(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===o)this._$AH.p(i);else{let d=new vt(o,this),h=d.u(this.options);d.p(i),this.T(h),this._$AH=d}}_$AC(e){let i=Gt.get(e.strings);return i===void 0&&Gt.set(e.strings,i=new ee(e)),i}k(e){Et(this._$AH)||(this._$AH=[],this._$AR());let i=this._$AH,r,o=0;for(let d of e)o===i.length?i.push(r=new n(this.O(J()),this.O(J()),this,this.options)):r=i[o],r._$AI(d),o++;o<i.length&&(this._$AR(r&&r._$AB.nextSibling,o),i.length=o)}_$AR(e=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);e!==this._$AB;){let r=Ut(e).nextSibling;Ut(e).remove(),e=r}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},X=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,i,r,o,d){this.type=1,this._$AH=l,this._$AN=void 0,this.element=e,this.name=i,this._$AM=o,this.options=d,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=l}_$AI(e,i=this,r,o){let d=this.strings,h=!1;if(d===void 0)e=K(this,e,i,0),h=!Q(e)||e!==this._$AH&&e!==P,h&&(this._$AH=e);else{let k=e,y,z;for(e=d[0],y=0;y<d.length-1;y++)z=K(this,k[r+y],i,y),z===P&&(z=this._$AH[y]),h||=!Q(z)||z!==this._$AH[y],z===l?e=l:e!==l&&(e+=(z??"")+d[y+1]),this._$AH[y]=z}h&&!o&&this.j(e)}j(e){e===l?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},wt=class extends X{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===l?void 0:e}},St=class extends X{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==l)}},Tt=class extends X{constructor(e,i,r,o,d){super(e,i,r,o,d),this.type=5}_$AI(e,i=this){if((e=K(this,e,i,0)??l)===P)return;let r=this._$AH,o=e===l&&r!==l||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,d=e!==l&&(r===l||o);o&&this.element.removeEventListener(this.name,this,r),d&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},zt=class{constructor(e,i,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=i,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){K(this,e)}};var $i=Mt.litHtmlPolyfillSupport;$i?.(ee,te),(Mt.litHtmlVersions??=[]).push("3.3.3");var Lt=(n,e,i)=>{let r=i?.renderBefore??e,o=r._$litPart$;if(o===void 0){let d=i?.renderBefore??null;r._$litPart$=o=new te(e.insertBefore(J(),d),d,void 0,i??{})}return o._$AI(n),o};var Ct=globalThis,N=class extends B{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Lt(i,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return P}};N._$litElement$=!0,N.finalized=!0,Ct.litElementHydrateSupport?.({LitElement:N});var yi=Ct.litElementPolyfillSupport;yi?.({LitElement:N});(Ct.litElementVersions??=[]).push("4.2.2");var u=(n,e)=>L(`var(--impakt-${n.replace(/\./g,"-")}, ${e})`),t={brand:u("color.brand.default","#1f4ed8"),brandHover:u("color.brand.hover","#1b45be"),brandActive:u("color.brand.active","#183ba4"),brandSubtle:u("color.brand.subtle","#e4eafa"),onBrand:u("color.text.on-brand","#ffffff"),surfaceCard:u("color.surface.card","#ffffff"),surfaceInset:u("color.surface.inset","#f4f4f4"),surfaceSubtle:u("color.surface.subtle","#e4eafa"),text:u("color.text.default","#1a1a1a"),textMuted:u("color.text.muted","#717171"),textPlaceholder:u("color.text.placeholder","#767676"),textHeading:u("color.text.heading","#1f4ed8"),link:u("color.text.link","#1f4ed8"),linkHover:u("color.text.link-hover","#193ead"),border:u("color.border.default","#929292"),borderStrong:u("color.border.strong","#818181"),danger:u("color.status.danger.default","#c8102e"),dangerText:u("color.status.danger.text","#c8102e"),dangerSubtle:u("color.status.danger.subtle","#f8e2e6"),warning:u("color.status.warning.default","#b45309"),warningText:u("color.status.warning.text","#b45309"),warningSubtle:u("color.status.warning.subtle","#f6eae1"),success:u("color.status.success.default","#047857"),successText:u("color.status.success.text","#047857"),successSubtle:u("color.status.success.subtle","#e0f0ea"),info:u("color.status.info.default","#1f4ed8"),infoText:u("color.status.info.text","#1f4ed8"),infoSubtle:u("color.status.info.subtle","#e4eafa"),fontBody:u("font.family.body","system-ui, sans-serif"),fontHeading:u("font.family.heading","system-ui, sans-serif"),fontMono:u("font.family.mono","ui-monospace, SFMono-Regular, Menlo, Consolas, monospace"),fontEyebrow:u("font.family.eyebrow","inherit"),focusShadow:u("focus.ring.shadow","0 0 0 2px #ffffff, 0 0 0 4px #1a1a1a"),focusOffset:u("focus.ring.offset","2px"),targetMin:u("target.min","24px"),radiusSm:u("radius.sm","2px"),radius:u("radius.md","4px"),radiusLg:u("radius.lg","8px"),borderThin:u("border.width.thin","1px"),borderThick:u("border.width.thick","2px"),radiusXs:u("radius.xs","2px"),radiusXl:u("radius.xl","12px"),radius2xl:u("radius.2xl","16px"),hairline:L("color-mix(in srgb, var(--impakt-color-text-default, #1a1a1a) 10%, transparent)"),rule:L("color-mix(in srgb, var(--impakt-color-text-default, #1a1a1a) 15%, transparent)"),wash:L("color-mix(in srgb, var(--impakt-color-text-default, #1a1a1a) 5%, transparent)"),brandHalo:L("color-mix(in srgb, var(--impakt-color-brand-default, #1f4ed8) 22%, transparent)"),shadowXs:u("shadow.xs","0 1px 2px 0 rgb(0 0 0 / 0.05)"),shadowSm:u("shadow.sm","0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)"),shadowMd:u("shadow.md","0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)"),shadowLg:u("shadow.lg","0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)"),shadowXl:u("shadow.xl","0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)"),trackingTight:u("font.tracking.tight","-0.02em"),trackingWide:u("font.tracking.wide","0.06em")},$=n=>L(`font-size: var(--impakt-font-size-${n}, 1rem); line-height: var(--impakt-font-leading-${n}, 1.5);`),s=n=>u(`space.${String(n).replace(".","-")}`,`${n*4}px`),g=n=>u(`font.size.${n}`,"1rem"),R=n=>u(`font.line-height.${n}`,"1.5"),m=n=>u(`font.weight.${n}`,"400"),C=p`
5
5
  :host([space-above='sm']) { margin-block-start: ${s(2)}; }
6
6
  :host([space-above='md']) { margin-block-start: ${s(4)}; }
7
7
  :host([space-above='lg']) { margin-block-start: ${s(6)}; }
@@ -22,7 +22,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
22
22
  `,w=p`
23
23
  min-block-size: ${t.targetMin};
24
24
  min-inline-size: ${t.targetMin};
25
- `,z=p`
25
+ `,S=p`
26
26
  position: absolute;
27
27
  inline-size: 1px;
28
28
  block-size: 1px;
@@ -58,15 +58,15 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
58
58
  *::after {
59
59
  box-sizing: inherit;
60
60
  }
61
- `,E=n=>C(`@media (pointer: coarse) { :host :is(${n}) { min-block-size: 44px; min-inline-size: 44px; } }`),ri=p`
61
+ `,E=n=>L(`@media (pointer: coarse) { :host :is(${n}) { min-block-size: 44px; min-inline-size: 44px; } }`),ri=p`
62
62
  @media (max-width: 40rem) { :host([hide-on='phone']) { display: none !important; } }
63
63
  @media (min-width: 40.0625rem) { :host([hide-on='wide']) { display: none !important; } }
64
- `;var xi=Symbol.for("strata.wording");function v(n,e){let r=globalThis[xi]?.words?.[n],o=typeof r=="string"&&r.trim()?r:n;return e?o.replace(/\{(\w+)\}/g,(d,h)=>h in e?String(e[h]):d):o}var ki=0,c=class extends N{constructor(){super(...arguments);this.uid=`impakt-${ki+=1}`}static{this.styles=[ii,ti,p``]}id_(i){return`${this.uid}-${i}`}connectedCallback(){super.connectedCallback(),this.sayDefaults()}sayDefaults(){let i=this.constructor.elementProperties,r=this;for(let o of i.keys()){let d=r[o];if(typeof d!="string"||!d)continue;let h=v(d);h!==d&&(r[o]=h)}}};var Rt={"arrow-right":f`<path d="M5 12h14M13 6l6 6-6 6"/>`,"arrow-left":f`<path d="M19 12H5M11 6l-6 6 6 6"/>`,"chevron-right":f`<path d="M9 6l6 6-6 6"/>`,"chevron-down":f`<path d="M6 9l6 6 6-6"/>`,check:f`<path d="M5 12.5l4.5 4.5L19 7"/>`,close:f`<path d="M6 6l12 12M18 6L6 18"/>`,menu:f`<path d="M4 7h16M4 12h16M4 17h16"/>`,"menu-two":f`<path d="M5 9.5h14M5 14.5h14"/>`,plus:f`<path d="M12 5v14M5 12h14"/>`,minus:f`<path d="M5 12h14"/>`,search:f`<circle cx="11" cy="11" r="6.5"/><path d="M16 16l4 4"/>`,external:f`<path d="M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5"/>`,download:f`<path d="M12 4v11M7 10l5 5 5-5M5 20h14"/>`,home:f`<path d="M4 11l8-7 8 7M6 9.5V20h12V9.5"/><path d="M10 20v-6h4v6"/>`,phone:f`<path d="M7 3.5h3l1.5 4-2 1.5a11 11 0 0 0 5.5 5.5l1.5-2 4 1.5v3a2 2 0 0 1-2 2A16 16 0 0 1 5 5.5a2 2 0 0 1 2-2z"/>`,mail:f`<rect x="3.5" y="5.5" width="17" height="13" rx="1.5"/><path d="M4 7l8 6 8-6"/>`,"map-pin":f`<path d="M12 21s-6.5-6-6.5-11a6.5 6.5 0 0 1 13 0c0 5-6.5 11-6.5 11z"/><circle cx="12" cy="10" r="2.5"/>`,calendar:f`<rect x="4" y="5.5" width="16" height="14.5" rx="1.5"/><path d="M4 10h16M8.5 3.5v4M15.5 3.5v4"/>`,clock:f`<circle cx="12" cy="12" r="8.5"/><path d="M12 7.5V12l3 2"/>`,user:f`<circle cx="12" cy="8.5" r="3.5"/><path d="M5 20a7 7 0 0 1 14 0"/>`,star:f`<path d="M12 4l2.4 5 5.4.6-4 3.7 1.1 5.4L12 16l-4.9 2.7 1.1-5.4-4-3.7 5.4-.6z"/>`,heart:f`<path d="M12 19.5s-7.5-4.6-7.5-10A4 4 0 0 1 12 7a4 4 0 0 1 7.5 2.5c0 5.4-7.5 10-7.5 10z"/>`,shield:f`<path d="M12 3.5l7 2.5v5.5c0 4.5-3 7.8-7 9-4-1.2-7-4.5-7-9V6z"/><path d="M9 12l2 2 4-4"/>`,leaf:f`<path d="M5 19c0-8 5-13 14-14 0 9-5 14-13 14z"/><path d="M5 19l7-7"/>`,sun:f`<circle cx="12" cy="12" r="3.5"/><path d="M12 3v2M12 19v2M3 12h2M19 12h2M5.6 5.6L7 7M17 17l1.4 1.4M5.6 18.4L7 17M17 7l1.4-1.4"/>`,bolt:f`<path d="M13 3L5 13.5h6L10 21l8-10.5h-6z"/>`,key:f`<circle cx="8" cy="15" r="3.5"/><path d="M10.5 12.5L19 4M16 7l2.5 2.5M14 9l2 2"/>`,info:f`<circle cx="12" cy="12" r="8.5"/><path d="M12 11v5.5M12 7.5v.5"/>`,warning:f`<path d="M12 4l9 15.5H3z"/><path d="M12 10v4M12 16.5v.5"/>`,document:f`<path d="M6 3.5h8l4 4V20a.5.5 0 0 1-.5.5h-11A.5.5 0 0 1 6 20z"/><path d="M14 3.5V8h4M9 13h6M9 16.5h6"/>`,pound:f`<path d="M16 6.5a3.5 3.5 0 0 0-6.5 1.8V20M7 13h7M7 20h10"/>`,chat:f`<path d="M4.5 5.5h15v10h-9l-4 3.5v-3.5h-2z"/>`,grid:f`<rect x="3" y="3" width="7" height="7" rx="1"/><rect x="14" y="3" width="7" height="7" rx="1"/><rect x="14" y="14" width="7" height="7" rx="1"/><rect x="3" y="14" width="7" height="7" rx="1"/>`,clipboard:f`<rect x="8" y="2" width="8" height="4" rx="1"/><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2M12 11h4M12 16h4M8 11h.01M8 16h.01"/>`,"map-pinned":f`<path d="M18 8c0 3.6-3.9 7.4-5.4 8.8a1 1 0 0 1-1.2 0C9.9 15.4 6 11.6 6 8a6 6 0 0 1 12 0"/><circle cx="12" cy="8" r="2"/><path d="M8.7 14H5a1 1 0 0 0-.9.7l-2 6A1 1 0 0 0 3 22h18a1 1 0 0 0 .9-1.3l-2-6a1 1 0 0 0-.9-.7h-3.7"/>`,users:f`<path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M22 21v-2a4 4 0 0 0-3-3.9M16 3.1a4 4 0 0 1 0 7.8"/>`,radio:f`<path d="M4.9 19.1C1 15.2 1 8.8 4.9 4.9M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5M19.1 4.9C23 8.8 23 15.1 19.1 19"/><circle cx="12" cy="12" r="2"/>`,settings:f`<path d="M12.2 2h-.4a2 2 0 0 0-2 2v.2a2 2 0 0 1-1 1.7l-.4.3a2 2 0 0 1-2 0l-.2-.1a2 2 0 0 0-2.7.7l-.2.4a2 2 0 0 0 .7 2.7l.2.1a2 2 0 0 1 1 1.7v.5a2 2 0 0 1-1 1.8l-.2.1a2 2 0 0 0-.7 2.7l.2.4a2 2 0 0 0 2.7.7l.2-.1a2 2 0 0 1 2 0l.4.3a2 2 0 0 1 1 1.7v.2a2 2 0 0 0 2 2h.4a2 2 0 0 0 2-2v-.2a2 2 0 0 1 1-1.7l.4-.3a2 2 0 0 1 2 0l.2.1a2 2 0 0 0 2.7-.7l.2-.4a2 2 0 0 0-.7-2.7l-.2-.1a2 2 0 0 1-1-1.8v-.5a2 2 0 0 1 1-1.7l.2-.1a2 2 0 0 0 .7-2.7l-.2-.4a2 2 0 0 0-2.7-.7l-.2.1a2 2 0 0 1-2 0l-.4-.3a2 2 0 0 1-1-1.7V4a2 2 0 0 0-2-2z"/><circle cx="12" cy="12" r="3"/>`,"log-out":f`<path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4M16 17l5-5-5-5M21 12H9"/>`,"arrow-up-right":f`<path d="M7 7h10v10M7 17L17 7"/>`,more:f`<circle cx="5" cy="12" r="1"/><circle cx="12" cy="12" r="1"/><circle cx="19" cy="12" r="1"/>`,upload:f`<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M17 8l-5-5-5 5M12 3v12"/>`,image:f`<rect x="3" y="3" width="18" height="18" rx="2"/><circle cx="9" cy="9" r="2"/><path d="M21 15l-3.1-3.1a2 2 0 0 0-2.8 0L6 21"/>`,lock:f`<rect x="3" y="11" width="18" height="11" rx="2"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/>`,eye:f`<path d="M2.1 12.3a1 1 0 0 1 0-.7 10.8 10.8 0 0 1 19.8 0 1 1 0 0 1 0 .7 10.8 10.8 0 0 1-19.8 0"/><circle cx="12" cy="12" r="3"/>`,trash:f`<path d="M3 6h18M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2M10 11v6M14 11v6"/>`,pencil:f`<path d="M21.2 6.8a1 1 0 0 0-4-4L3.8 16.2a2 2 0 0 0-.5.8L2 21.4a.5.5 0 0 0 .6.6l4.4-1.3a2 2 0 0 0 .8-.5zM15 5l4 4"/>`,"qr-code":f`<rect x="3" y="3" width="5" height="5" rx="1"/><rect x="16" y="3" width="5" height="5" rx="1"/><rect x="3" y="16" width="5" height="5" rx="1"/><path d="M21 16h-3a2 2 0 0 0-2 2v3M21 21v.01M12 7v3a2 2 0 0 1-2 2H7M3 12h.01M12 3h.01M12 16v.01M16 12h1M21 12v.01M12 21v-1"/>`,battery:f`<rect x="2" y="7" width="16" height="10" rx="2"/><path d="M22 11v2M6 11v2M10 11v2"/>`},vi=Object.keys(Rt);function S(n,e="1.25em"){let i=n?Rt[n]:void 0;return i?a`<svg class="icon" viewBox="0 0 24 24" width=${e} height=${e} fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false">${i}</svg>`:l}var me=class extends c{static{this.properties={name:{type:String,reflect:!0},label:{type:String},size:{type:String,reflect:!0},tone:{type:String,reflect:!0}}}constructor(){super(),this.name="star",this.label="",this.size="md",this.tone="inherit"}static{this.styles=[...c.styles,p`
64
+ `;var xi=Symbol.for("strata.wording");function v(n,e){let r=globalThis[xi]?.words?.[n],o=typeof r=="string"&&r.trim()?r:n;return e?o.replace(/\{(\w+)\}/g,(d,h)=>h in e?String(e[h]):d):o}var ki=0,c=class extends N{constructor(){super(...arguments);this.uid=`impakt-${ki+=1}`}static{this.styles=[ii,ti,p``]}id_(i){return`${this.uid}-${i}`}connectedCallback(){super.connectedCallback(),this.sayDefaults()}sayDefaults(){let i=this.constructor.elementProperties,r=this;for(let o of i.keys()){let d=r[o];if(typeof d!="string"||!d)continue;let h=v(d);h!==d&&(r[o]=h)}}};var Rt={"arrow-right":f`<path d="M5 12h14M13 6l6 6-6 6"/>`,"arrow-left":f`<path d="M19 12H5M11 6l-6 6 6 6"/>`,"chevron-right":f`<path d="M9 6l6 6-6 6"/>`,"chevron-down":f`<path d="M6 9l6 6 6-6"/>`,check:f`<path d="M5 12.5l4.5 4.5L19 7"/>`,close:f`<path d="M6 6l12 12M18 6L6 18"/>`,menu:f`<path d="M4 7h16M4 12h16M4 17h16"/>`,"menu-two":f`<path d="M5 9.5h14M5 14.5h14"/>`,plus:f`<path d="M12 5v14M5 12h14"/>`,minus:f`<path d="M5 12h14"/>`,search:f`<circle cx="11" cy="11" r="6.5"/><path d="M16 16l4 4"/>`,external:f`<path d="M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5"/>`,download:f`<path d="M12 4v11M7 10l5 5 5-5M5 20h14"/>`,home:f`<path d="M4 11l8-7 8 7M6 9.5V20h12V9.5"/><path d="M10 20v-6h4v6"/>`,phone:f`<path d="M7 3.5h3l1.5 4-2 1.5a11 11 0 0 0 5.5 5.5l1.5-2 4 1.5v3a2 2 0 0 1-2 2A16 16 0 0 1 5 5.5a2 2 0 0 1 2-2z"/>`,mail:f`<rect x="3.5" y="5.5" width="17" height="13" rx="1.5"/><path d="M4 7l8 6 8-6"/>`,"map-pin":f`<path d="M12 21s-6.5-6-6.5-11a6.5 6.5 0 0 1 13 0c0 5-6.5 11-6.5 11z"/><circle cx="12" cy="10" r="2.5"/>`,calendar:f`<rect x="4" y="5.5" width="16" height="14.5" rx="1.5"/><path d="M4 10h16M8.5 3.5v4M15.5 3.5v4"/>`,clock:f`<circle cx="12" cy="12" r="8.5"/><path d="M12 7.5V12l3 2"/>`,user:f`<circle cx="12" cy="8.5" r="3.5"/><path d="M5 20a7 7 0 0 1 14 0"/>`,star:f`<path d="M12 4l2.4 5 5.4.6-4 3.7 1.1 5.4L12 16l-4.9 2.7 1.1-5.4-4-3.7 5.4-.6z"/>`,heart:f`<path d="M12 19.5s-7.5-4.6-7.5-10A4 4 0 0 1 12 7a4 4 0 0 1 7.5 2.5c0 5.4-7.5 10-7.5 10z"/>`,shield:f`<path d="M12 3.5l7 2.5v5.5c0 4.5-3 7.8-7 9-4-1.2-7-4.5-7-9V6z"/><path d="M9 12l2 2 4-4"/>`,leaf:f`<path d="M5 19c0-8 5-13 14-14 0 9-5 14-13 14z"/><path d="M5 19l7-7"/>`,sun:f`<circle cx="12" cy="12" r="3.5"/><path d="M12 3v2M12 19v2M3 12h2M19 12h2M5.6 5.6L7 7M17 17l1.4 1.4M5.6 18.4L7 17M17 7l1.4-1.4"/>`,bolt:f`<path d="M13 3L5 13.5h6L10 21l8-10.5h-6z"/>`,key:f`<circle cx="8" cy="15" r="3.5"/><path d="M10.5 12.5L19 4M16 7l2.5 2.5M14 9l2 2"/>`,info:f`<circle cx="12" cy="12" r="8.5"/><path d="M12 11v5.5M12 7.5v.5"/>`,warning:f`<path d="M12 4l9 15.5H3z"/><path d="M12 10v4M12 16.5v.5"/>`,document:f`<path d="M6 3.5h8l4 4V20a.5.5 0 0 1-.5.5h-11A.5.5 0 0 1 6 20z"/><path d="M14 3.5V8h4M9 13h6M9 16.5h6"/>`,pound:f`<path d="M16 6.5a3.5 3.5 0 0 0-6.5 1.8V20M7 13h7M7 20h10"/>`,chat:f`<path d="M4.5 5.5h15v10h-9l-4 3.5v-3.5h-2z"/>`,grid:f`<rect x="3" y="3" width="7" height="7" rx="1"/><rect x="14" y="3" width="7" height="7" rx="1"/><rect x="14" y="14" width="7" height="7" rx="1"/><rect x="3" y="14" width="7" height="7" rx="1"/>`,clipboard:f`<rect x="8" y="2" width="8" height="4" rx="1"/><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2M12 11h4M12 16h4M8 11h.01M8 16h.01"/>`,"map-pinned":f`<path d="M18 8c0 3.6-3.9 7.4-5.4 8.8a1 1 0 0 1-1.2 0C9.9 15.4 6 11.6 6 8a6 6 0 0 1 12 0"/><circle cx="12" cy="8" r="2"/><path d="M8.7 14H5a1 1 0 0 0-.9.7l-2 6A1 1 0 0 0 3 22h18a1 1 0 0 0 .9-1.3l-2-6a1 1 0 0 0-.9-.7h-3.7"/>`,users:f`<path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M22 21v-2a4 4 0 0 0-3-3.9M16 3.1a4 4 0 0 1 0 7.8"/>`,radio:f`<path d="M4.9 19.1C1 15.2 1 8.8 4.9 4.9M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5M19.1 4.9C23 8.8 23 15.1 19.1 19"/><circle cx="12" cy="12" r="2"/>`,settings:f`<path d="M12.2 2h-.4a2 2 0 0 0-2 2v.2a2 2 0 0 1-1 1.7l-.4.3a2 2 0 0 1-2 0l-.2-.1a2 2 0 0 0-2.7.7l-.2.4a2 2 0 0 0 .7 2.7l.2.1a2 2 0 0 1 1 1.7v.5a2 2 0 0 1-1 1.8l-.2.1a2 2 0 0 0-.7 2.7l.2.4a2 2 0 0 0 2.7.7l.2-.1a2 2 0 0 1 2 0l.4.3a2 2 0 0 1 1 1.7v.2a2 2 0 0 0 2 2h.4a2 2 0 0 0 2-2v-.2a2 2 0 0 1 1-1.7l.4-.3a2 2 0 0 1 2 0l.2.1a2 2 0 0 0 2.7-.7l.2-.4a2 2 0 0 0-.7-2.7l-.2-.1a2 2 0 0 1-1-1.8v-.5a2 2 0 0 1 1-1.7l.2-.1a2 2 0 0 0 .7-2.7l-.2-.4a2 2 0 0 0-2.7-.7l-.2.1a2 2 0 0 1-2 0l-.4-.3a2 2 0 0 1-1-1.7V4a2 2 0 0 0-2-2z"/><circle cx="12" cy="12" r="3"/>`,"log-out":f`<path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4M16 17l5-5-5-5M21 12H9"/>`,"arrow-up-right":f`<path d="M7 7h10v10M7 17L17 7"/>`,more:f`<circle cx="5" cy="12" r="1"/><circle cx="12" cy="12" r="1"/><circle cx="19" cy="12" r="1"/>`,upload:f`<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M17 8l-5-5-5 5M12 3v12"/>`,image:f`<rect x="3" y="3" width="18" height="18" rx="2"/><circle cx="9" cy="9" r="2"/><path d="M21 15l-3.1-3.1a2 2 0 0 0-2.8 0L6 21"/>`,lock:f`<rect x="3" y="11" width="18" height="11" rx="2"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/>`,eye:f`<path d="M2.1 12.3a1 1 0 0 1 0-.7 10.8 10.8 0 0 1 19.8 0 1 1 0 0 1 0 .7 10.8 10.8 0 0 1-19.8 0"/><circle cx="12" cy="12" r="3"/>`,trash:f`<path d="M3 6h18M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2M10 11v6M14 11v6"/>`,pencil:f`<path d="M21.2 6.8a1 1 0 0 0-4-4L3.8 16.2a2 2 0 0 0-.5.8L2 21.4a.5.5 0 0 0 .6.6l4.4-1.3a2 2 0 0 0 .8-.5zM15 5l4 4"/>`,"qr-code":f`<rect x="3" y="3" width="5" height="5" rx="1"/><rect x="16" y="3" width="5" height="5" rx="1"/><rect x="3" y="16" width="5" height="5" rx="1"/><path d="M21 16h-3a2 2 0 0 0-2 2v3M21 21v.01M12 7v3a2 2 0 0 1-2 2H7M3 12h.01M12 3h.01M12 16v.01M16 12h1M21 12v.01M12 21v-1"/>`,battery:f`<rect x="2" y="7" width="16" height="10" rx="2"/><path d="M22 11v2M6 11v2M10 11v2"/>`},vi=Object.keys(Rt);function T(n,e="1.25em"){let i=n?Rt[n]:void 0;return i?a`<svg class="icon" viewBox="0 0 24 24" width=${e} height=${e} fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false">${i}</svg>`:l}var me=class extends c{static{this.properties={name:{type:String,reflect:!0},label:{type:String},size:{type:String,reflect:!0},tone:{type:String,reflect:!0}}}constructor(){super(),this.name="star",this.label="",this.size="md",this.tone="inherit"}static{this.styles=[...c.styles,p`
65
65
  :host { display: inline-flex; vertical-align: middle; line-height: 0; }
66
66
  :host([tone='brand']) { color: ${t.brand}; }
67
67
  :host([tone='muted']) { color: ${t.textMuted}; }
68
68
  @media (forced-colors: active) { :host { color: CanvasText; } }
69
- `]}render(){let e={sm:"16px",md:"24px",lg:"32px",xl:"48px"}[this.size]??"24px",i=S(this.name,e);return this.label?a`<span role="img" aria-label=${this.label}>${i}</span>`:a`${i}`}};customElements.define("impakt-icon",me);var ge=class extends c{constructor(){super();this.internals=null;this.hideOn="never",this.variant="primary",this.type="button",this.disabled=!1,this.busy=!1,this.busyLabel="Working",this.full=!1,this.fullOnPhone=!1,this.size="md",this.iconBefore="none",this.iconAfter="none",this.href="",this.icon="none",this.label="";try{this.internals=this.attachInternals()}catch{this.internals=null}}static{this.formAssociated=!0}static{this.properties={hideOn:{type:String,reflect:!0,attribute:"hide-on"},variant:{type:String,reflect:!0},type:{type:String},disabled:{type:Boolean,reflect:!0},busy:{type:Boolean,reflect:!0},busyLabel:{type:String,attribute:"busy-label"},full:{type:Boolean,reflect:!0},fullOnPhone:{type:Boolean,attribute:"full-on-phone",reflect:!0},size:{type:String,reflect:!0},iconBefore:{type:String,attribute:"icon-before"},iconAfter:{type:String,attribute:"icon-after"},href:{type:String},icon:{type:String},label:{type:String}}}static{this.styles=[...c.styles,x,E("button, a"),p`
69
+ `]}render(){let e={sm:"16px",md:"24px",lg:"32px",xl:"48px"}[this.size]??"24px",i=T(this.name,e);return this.label?a`<span role="img" aria-label=${this.label}>${i}</span>`:a`${i}`}};customElements.define("impakt-icon",me);var ge=class extends c{constructor(){super();this.internals=null;this.hideOn="never",this.variant="primary",this.type="button",this.disabled=!1,this.busy=!1,this.busyLabel="Working",this.full=!1,this.fullOnPhone=!1,this.size="md",this.iconBefore="none",this.iconAfter="none",this.href="",this.icon="none",this.label="";try{this.internals=this.attachInternals()}catch{this.internals=null}}static{this.formAssociated=!0}static{this.properties={hideOn:{type:String,reflect:!0,attribute:"hide-on"},variant:{type:String,reflect:!0},type:{type:String},disabled:{type:Boolean,reflect:!0},busy:{type:Boolean,reflect:!0},busyLabel:{type:String,attribute:"busy-label"},full:{type:Boolean,reflect:!0},fullOnPhone:{type:Boolean,attribute:"full-on-phone",reflect:!0},size:{type:String,reflect:!0},iconBefore:{type:String,attribute:"icon-before"},iconAfter:{type:String,attribute:"icon-after"},href:{type:String},icon:{type:String},label:{type:String}}}static{this.styles=[...c.styles,x,E("button, a"),p`
70
70
  @media (max-width: 40rem) { :host([hide-on='phone']) { display: none; } }
71
71
  :host {
72
72
  display: inline-block;
@@ -195,7 +195,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
195
195
  :host([size='lg']) .icon-only { inline-size: 48px; min-inline-size: 48px; block-size: 48px; min-block-size: 48px; padding: 0; }
196
196
 
197
197
  .sr-only {
198
- ${z}
198
+ ${S}
199
199
  }
200
200
 
201
201
  /* Windows High Contrast Mode drops background and border colours, so a
@@ -206,7 +206,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
206
206
  border-color: ButtonBorder;
207
207
  }
208
208
  }
209
- `]}onClick(i){if(this.disabled||this.busy){i.preventDefault(),i.stopImmediatePropagation();return}this.type==="submit"&&this.internals?.form?.requestSubmit(),this.type==="reset"&&this.internals?.form?.reset()}render(){let i=!!(this.icon&&this.icon!=="none"&&this.label),r=i?`${this.variant} icon-only`:this.variant;if(i){let d=S(this.icon);return this.href&&!this.disabled?a`<a class=${r} href=${this.href} part="button" aria-label=${this.label}>${d}</a>`:a`
209
+ `]}onClick(i){if(this.disabled||this.busy){i.preventDefault(),i.stopImmediatePropagation();return}this.type==="submit"&&this.internals?.form?.requestSubmit(),this.type==="reset"&&this.internals?.form?.reset()}render(){let i=!!(this.icon&&this.icon!=="none"&&this.label),r=i?`${this.variant} icon-only`:this.variant;if(i){let d=T(this.icon);return this.href&&!this.disabled?a`<a class=${r} href=${this.href} part="button" aria-label=${this.label}>${d}</a>`:a`
210
210
  <button
211
211
  class=${r}
212
212
  type="button"
@@ -220,7 +220,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
220
220
  ${d}
221
221
  ${this.busy?a`<span class="sr-only">${this.busyLabel}</span>`:l}
222
222
  </button>
223
- `}let o=a`${S(this.iconBefore)}<slot></slot>${this.iconAfter&&this.iconAfter!=="none"?a`<span class="after" aria-hidden="true">${S(this.iconAfter)}</span>`:l}`;return this.href&&!this.disabled?a`<a class=${this.variant} href=${this.href} part="button">${o}</a>`:a`
223
+ `}let o=a`${T(this.iconBefore)}<slot></slot>${this.iconAfter&&this.iconAfter!=="none"?a`<span class="after" aria-hidden="true">${T(this.iconAfter)}</span>`:l}`;return this.href&&!this.disabled?a`<a class=${this.variant} href=${this.href} part="button">${o}</a>`:a`
224
224
  <button
225
225
  class=${this.variant}
226
226
  type="button"
@@ -274,7 +274,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
274
274
  display: none;
275
275
  }
276
276
  .visually-hidden {
277
- ${z}
277
+ ${S}
278
278
  }
279
279
  /*
280
280
  * Only the control is dimmed. Dimming the whole host took the question,
@@ -311,7 +311,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
311
311
  >
312
312
  ${this.error||l}
313
313
  </div>
314
- `}setFormValue(i){this.value=i,this.internals?.setFormValue(i),this.dispatchEvent(new CustomEvent("impakt-change",{detail:{value:i},bubbles:!0,composed:!0}))}};var be=class extends b{static{this.properties={...b.properties,width:{type:String,reflect:!0},type:{type:String},placeholder:{type:String},autocomplete:{type:String},inputmode:{type:String},maxlength:{type:Number},hideLabel:{type:Boolean,attribute:"hide-label",reflect:!0}}}constructor(){super(),this.width="full",this.type="text",this.placeholder="",this.autocomplete="",this.inputmode="",this.maxlength=void 0,this.hideLabel=!1}static{this.styles=[...b.styles,I,p`
314
+ `}setFormValue(i){this.value=i,this.internals?.setFormValue(i),this.dispatchEvent(new CustomEvent("impakt-change",{detail:this.changeDetail(i),bubbles:!0,composed:!0}))}changeDetail(i){return{value:i}}};var be=class extends b{static{this.properties={...b.properties,width:{type:String,reflect:!0},type:{type:String},placeholder:{type:String},autocomplete:{type:String},inputmode:{type:String},maxlength:{type:Number},hideLabel:{type:Boolean,attribute:"hide-label",reflect:!0}}}constructor(){super(),this.width="full",this.type="text",this.placeholder="",this.autocomplete="",this.inputmode="",this.maxlength=void 0,this.hideLabel=!1}static{this.styles=[...b.styles,I,p`
315
315
  input {
316
316
  inline-size: min(100%, var(--impakt-field-width));
317
317
  min-block-size: 44px;
@@ -372,7 +372,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
372
372
  border-color: ${t.danger};
373
373
  border-width: ${t.borderThick};
374
374
  }
375
- `]}renderControl(){let e=this.renderInput();return this.type==="search"?a`<span class="search" part="search">${S("search","20px")}${e}</span>`:e}renderInput(){return a`
375
+ `]}renderControl(){let e=this.renderInput();return this.type==="search"?a`<span class="search" part="search">${T("search","20px")}${e}</span>`:e}renderInput(){return a`
376
376
  <input
377
377
  id=${this.controlId}
378
378
  part="input"
@@ -390,7 +390,10 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
390
390
  aria-invalid=${this.error?"true":l}
391
391
  @input=${e=>this.setFormValue(e.target.value)}
392
392
  />
393
- `}updated(e){e.has("error")&&this.toggleAttribute("invalid",!!this.error)}};customElements.define("impakt-text-input",be);var fe=class extends b{static{this.properties={...b.properties,width:{type:String,reflect:!0},options:{type:Array},placeholder:{type:String}}}constructor(){super(),this.width="full",this.options=[],this.placeholder="Choose an option"}static{this.styles=[...b.styles,I,p`
393
+ `}updated(e){e.has("error")&&this.toggleAttribute("invalid",!!this.error)}};customElements.define("impakt-text-input",be);var fe=class extends b{static{this.properties={...b.properties,width:{type:String,reflect:!0},options:{type:Array},placeholder:{type:String},hideLabel:{type:Boolean,attribute:"hide-label",reflect:!0}}}constructor(){super(),this.width="full",this.options=[],this.placeholder="Choose an option",this.hideLabel=!1}static{this.styles=[...b.styles,I,p`
394
+ :host([hide-label]) .label {
395
+ ${S}
396
+ }
394
397
  select {
395
398
  inline-size: min(100%, var(--impakt-field-width));
396
399
  min-block-size: 44px;
@@ -473,7 +476,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
473
476
  ${this.label}${this.required?a`<span class="required"> (${this.requiredText})</span>`:l}
474
477
  </span>
475
478
  </label>
476
- `}renderLabel(){return a`${l}`}updated(e){e.has("error")&&this.toggleAttribute("invalid",!!this.error)}};customElements.define("impakt-checkbox",$e);var wi=C("48rem");function si(n){if(!n||n.startsWith("#"))return null;try{let e=typeof location>"u"?"http://localhost/":location.href;return new URL(n,e).pathname.replace(/\/$/,"")||"/"}catch{return null}}function _t(n,e){let i=si(n);if(!i)return!1;let r=si(e||(typeof location>"u"?"":location.pathname));return r?i===r?!0:i!=="/"&&r.startsWith(`${i}/`):!1}function ie(n,e,i){if(e.defaultPrevented||e.button!==0||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return;let r=new CustomEvent("impakt-navigate",{detail:{href:i.href,id:i.id??i.href},bubbles:!0,composed:!0,cancelable:!0});n.dispatchEvent(r)||e.preventDefault()}var ye=class extends c{constructor(){super();this.footerFilled=!1;this.items=[],this.label="Main",this.current=""}static{this.properties={items:{type:Array},label:{type:String},current:{type:String}}}static{this.styles=[...c.styles,x,p`
479
+ `}renderLabel(){return a`${l}`}updated(e){e.has("error")&&this.toggleAttribute("invalid",!!this.error)}};customElements.define("impakt-checkbox",$e);var wi=L("48rem");function si(n){if(!n||n.startsWith("#"))return null;try{let e=typeof location>"u"?"http://localhost/":location.href;return new URL(n,e).pathname.replace(/\/$/,"")||"/"}catch{return null}}function _t(n,e){let i=si(n);if(!i)return!1;let r=si(e||(typeof location>"u"?"":location.pathname));return r?i===r?!0:i!=="/"&&r.startsWith(`${i}/`):!1}function ie(n,e,i){if(e.defaultPrevented||e.button!==0||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return;let r=new CustomEvent("impakt-navigate",{detail:{href:i.href,id:i.id??i.href},bubbles:!0,composed:!0,cancelable:!0});n.dispatchEvent(r)||e.preventDefault()}var ye=class extends c{constructor(){super();this.footerFilled=!1;this.items=[],this.label="Main",this.current=""}static{this.properties={items:{type:Array},label:{type:String},current:{type:String}}}static{this.styles=[...c.styles,x,p`
477
480
  :host { display: flex; flex-direction: column; gap: ${s(5)}; block-size: 100%; }
478
481
  .card { padding: ${s(2)}; border-radius: ${t.radiusXl}; background: ${t.surfaceCard}; }
479
482
  ul { list-style: none; margin: 0; padding: 0; display: grid; gap: ${s(.5)}; }
@@ -508,7 +511,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
508
511
  part="link"
509
512
  aria-current=${_t(i.href,this.current)?"page":l}
510
513
  @click=${r=>ie(this,r,i)}
511
- >${S(i.icon,"20px")}<span>${i.label}</span></a>
514
+ >${T(i.icon,"20px")}<span>${i.label}</span></a>
512
515
  </li>
513
516
  `)}
514
517
  </ul>
@@ -550,7 +553,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
550
553
  part="link"
551
554
  aria-current=${_t(e.href,this.current)?"page":l}
552
555
  @click=${i=>ie(this,i,e)}
553
- >${S(e.icon,"22px")}<span class="word">${e.label}</span></a>
556
+ >${T(e.icon,"22px")}<span class="word">${e.label}</span></a>
554
557
  </li>
555
558
  `)}
556
559
  </ul>
@@ -709,7 +712,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
709
712
  :host([tone='plain']) time { background: ${t.surfaceInset}; color: ${t.text}; }
710
713
  .month { font-size: 10px; font-weight: ${m("medium")}; letter-spacing: ${t.trackingWide}; text-transform: uppercase; }
711
714
  .day { margin-block-start: ${s(1)}; font-size: 20px; font-weight: ${m("medium")}; font-variant-numeric: tabular-nums; }
712
- .sr-only { ${z} }
715
+ .sr-only { ${S} }
713
716
  @media (forced-colors: active) { time { border: 1px solid CanvasText; } }
714
717
  `]}parts(){let e=/^(\d{4})-(\d{2})-(\d{2})$/.exec(this.date??"");if(!e)return null;let i=new Date(Date.UTC(Number(e[1]),Number(e[2])-1,Number(e[3]),12));if(Number.isNaN(i.getTime()))return null;let r=_(this),o=d=>new Intl.DateTimeFormat(r,{...d,timeZone:"UTC"}).format(i);return{month:o({month:"short"}).replace(".",""),day:o({day:"numeric"}),full:o({day:"numeric",month:"long",year:"numeric"})}}render(){let e=this.parts();return e?a`<time datetime=${this.date} part="tile">
715
718
  <span class="month" aria-hidden="true">${e.month}</span>
@@ -738,7 +741,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
738
741
  <div class="start ${this.filled.start?"":"empty"}"><slot name="start" @slotchange=${this.onSlot}></slot></div>
739
742
  <div class="text">${i}${this.meta?a`<span class="meta" part="meta">${this.meta}</span>`:l}</div>
740
743
  <div class="end ${this.filled.end?"":"empty"}"><slot name="end" @slotchange=${this.onSlot}></slot></div>
741
- ${this.href?a`<span class="chevron" aria-hidden="true">${S("chevron-right","20px")}</span>`:l}
744
+ ${this.href?a`<span class="chevron" aria-hidden="true">${T("chevron-right","20px")}</span>`:l}
742
745
  </div>`}},Te=class extends c{static{this.properties={label:{type:String},count:{type:Number},countLabel:{type:String,attribute:"count-label"},pressed:{type:Boolean,reflect:!0},disabled:{type:Boolean,reflect:!0}}}constructor(){super(),this.label="",this.count=void 0,this.countLabel="",this.pressed=!1,this.disabled=!1}static{this.styles=[...c.styles,x,E("button"),p`
743
746
  :host { display: inline-block; }
744
747
  /* The containing block for the words kept for screen readers, so a control scrolled out of a row cannot widen the page. */
@@ -765,12 +768,12 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
765
768
  button:disabled { cursor: not-allowed; opacity: 0.5; }
766
769
  .count { font-variant-numeric: tabular-nums; color: ${t.textMuted}; }
767
770
  button[aria-pressed='true'] .count { color: inherit; opacity: 0.8; }
768
- .sr-only { ${z} }
771
+ .sr-only { ${S} }
769
772
  @media (forced-colors: active) { button[aria-pressed='true'] { border: 2px solid Highlight; } }
770
773
  `]}toggle(){this.disabled||(this.pressed=!this.pressed,this.dispatchEvent(new CustomEvent("impakt-change",{detail:{pressed:this.pressed},bubbles:!0,composed:!0})))}render(){let e=typeof this.count=="number"&&!Number.isNaN(this.count);return a`<button type="button" part="button" aria-pressed=${this.pressed?"true":"false"} ?disabled=${this.disabled} @click=${this.toggle}>
771
774
  <span>${this.label}</span>
772
775
  ${e?this.countLabel?a`<span class="count" aria-hidden="true">${this.count}</span><span class="sr-only">${this.countLabel}</span>`:a`<span class="count">${this.count}</span>`:l}
773
- </button>`}};customElements.define("impakt-stat-tile",ve);customElements.define("impakt-date-tile",we);customElements.define("impakt-row",Se);customElements.define("impakt-filter-chip",Te);var ze=class extends b{static{this.properties={...b.properties,checked:{type:Boolean,reflect:!0}}}constructor(){super(),this.checked=!1}static{this.styles=[...b.styles,E(".row"),p`
776
+ </button>`}};customElements.define("impakt-stat-tile",ve);customElements.define("impakt-date-tile",we);customElements.define("impakt-row",Se);customElements.define("impakt-filter-chip",Te);var ze=class extends b{static{this.properties={...b.properties,checked:{type:Boolean,reflect:!0},hideLabel:{type:Boolean,attribute:"hide-label",reflect:!0}}}constructor(){super(),this.checked=!1,this.hideLabel=!1}static{this.styles=[...b.styles,E(".row"),p`
774
777
  .row {
775
778
  display: flex;
776
779
  align-items: center;
@@ -781,6 +784,12 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
781
784
  .text {
782
785
  font-size: ${g("md")};
783
786
  }
787
+ :host([hide-label]) .row {
788
+ justify-content: flex-start;
789
+ }
790
+ :host([hide-label]) .text {
791
+ ${S}
792
+ }
784
793
  .control {
785
794
  position: relative;
786
795
  flex: none;
@@ -865,7 +874,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
865
874
  <span class="track" part="track"><span class="knob" part="knob"></span></span>
866
875
  </span>
867
876
  </label>
868
- `}renderLabel(){return a`${l}`}updated(e){e.has("error")&&this.toggleAttribute("invalid",!!this.error)}},Me=class extends b{static{this.properties={...b.properties,options:{type:Array},hideLabel:{type:Boolean,attribute:"hide-label",reflect:!0},full:{type:Boolean,reflect:!0}}}constructor(){super(),this.options=[],this.hideLabel=!1,this.full=!1}static{this.styles=[...b.styles,p`
877
+ `}changeDetail(e){return{value:e,checked:this.checked}}renderLabel(){return a`${l}`}updated(e){e.has("error")&&this.toggleAttribute("invalid",!!this.error)}},Me=class extends b{static{this.properties={...b.properties,options:{type:Array},hideLabel:{type:Boolean,attribute:"hide-label",reflect:!0},full:{type:Boolean,reflect:!0}}}constructor(){super(),this.options=[],this.hideLabel=!1,this.full=!1}static{this.styles=[...b.styles,p`
869
878
  fieldset {
870
879
  border: 0;
871
880
  margin: 0;
@@ -876,7 +885,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
876
885
  padding: 0;
877
886
  }
878
887
  :host([hide-label]) legend {
879
- ${z}
888
+ ${S}
880
889
  }
881
890
  .segments {
882
891
  display: inline-flex;
@@ -1115,7 +1124,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
1115
1124
  </div>`:l}
1116
1125
  <slot></slot>
1117
1126
  </div>
1118
- `}};customElements.define("impakt-alert",Ae);var Ce=class extends c{static{this.properties={gap:{type:String,reflect:!0},align:{type:String,reflect:!0},direction:{type:String,reflect:!0},justify:{type:String,reflect:!0},spaceAbove:{type:String,reflect:!0,attribute:"space-above"},spaceBelow:{type:String,reflect:!0,attribute:"space-below"}}}constructor(){super(),this.gap="md",this.align="stretch",this.direction="vertical",this.justify="start",this.spaceAbove="none",this.spaceBelow="none"}static{this.styles=[...c.styles,L,p`
1127
+ `}};customElements.define("impakt-alert",Ae);var Le=class extends c{static{this.properties={gap:{type:String,reflect:!0},align:{type:String,reflect:!0},direction:{type:String,reflect:!0},justify:{type:String,reflect:!0},spaceAbove:{type:String,reflect:!0,attribute:"space-above"},spaceBelow:{type:String,reflect:!0,attribute:"space-below"}}}constructor(){super(),this.gap="md",this.align="stretch",this.direction="vertical",this.justify="start",this.spaceAbove="none",this.spaceBelow="none"}static{this.styles=[...c.styles,C,p`
1119
1128
  :host {
1120
1129
  display: flex;
1121
1130
  flex-direction: column;
@@ -1136,7 +1145,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
1136
1145
  :host([gap='md']) { gap: ${s(4)}; }
1137
1146
  :host([gap='lg']) { gap: ${s(6)}; }
1138
1147
  :host([gap='xl']) { gap: ${s(8)}; }
1139
- `]}render(){return a`<slot></slot>`}},Le=class extends c{static{this.properties={tone:{type:String,reflect:!0},padding:{type:String,reflect:!0},imageSrc:{type:String,attribute:"image-src"},imageAlt:{type:String,attribute:"image-alt"},ratio:{type:String,reflect:!0},badge:{type:String},raised:{type:Boolean,reflect:!0},spaceAbove:{type:String,reflect:!0,attribute:"space-above"},spaceBelow:{type:String,reflect:!0,attribute:"space-below"}}}constructor(){super(),this.tone="default",this.padding="lg",this.imageSrc="",this.imageAlt="",this.ratio="16:9",this.badge="",this.raised=!1,this.spaceAbove="none",this.spaceBelow="none"}static{this.styles=[...c.styles,L,p`
1148
+ `]}render(){return a`<slot></slot>`}},Ce=class extends c{static{this.properties={tone:{type:String,reflect:!0},padding:{type:String,reflect:!0},imageSrc:{type:String,attribute:"image-src"},imageAlt:{type:String,attribute:"image-alt"},ratio:{type:String,reflect:!0},badge:{type:String},raised:{type:Boolean,reflect:!0},spaceAbove:{type:String,reflect:!0,attribute:"space-above"},spaceBelow:{type:String,reflect:!0,attribute:"space-below"}}}constructor(){super(),this.tone="default",this.padding="lg",this.imageSrc="",this.imageAlt="",this.ratio="16:9",this.badge="",this.raised=!1,this.spaceAbove="none",this.spaceBelow="none"}static{this.styles=[...c.styles,C,p`
1140
1149
  :host {
1141
1150
  display: flex;
1142
1151
  flex-direction: column;
@@ -1188,8 +1197,8 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
1188
1197
  }
1189
1198
  :host([align='center']) { text-align: center; }
1190
1199
  /* Only the words go: an eyebrow over a heading drawn as a picture still shows. */
1191
- :host([screen-reader-only]) .words { ${z} }
1192
- :host([screen-reader-only]:not([eyebrow])) { ${z} }
1200
+ :host([screen-reader-only]) .words { ${S} }
1201
+ :host([screen-reader-only]:not([eyebrow])) { ${S} }
1193
1202
  .eyebrow {
1194
1203
  display: block;
1195
1204
  margin-block-end: ${s(2)};
@@ -1224,7 +1233,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
1224
1233
  p {
1225
1234
  margin: 0;
1226
1235
  }
1227
- `]}render(){return a`<p part="text"><slot></slot></p>`}};customElements.define("impakt-stack",Ce);customElements.define("impakt-card",Le);customElements.define("impakt-heading",Re);customElements.define("impakt-text",_e);var Ie=class extends c{static{this.properties={href:{type:String},external:{type:Boolean,reflect:!0},externalText:{type:String,attribute:"external-text"},variant:{type:String,reflect:!0},icon:{type:String}}}constructor(){super(),this.href="",this.external=!1,this.externalText="opens in a new tab",this.variant="inline",this.icon="none"}static{this.styles=[...c.styles,x,p`
1236
+ `]}render(){return a`<p part="text"><slot></slot></p>`}};customElements.define("impakt-stack",Le);customElements.define("impakt-card",Ce);customElements.define("impakt-heading",Re);customElements.define("impakt-text",_e);var Ie=class extends c{static{this.properties={href:{type:String},external:{type:Boolean,reflect:!0},externalText:{type:String,attribute:"external-text"},variant:{type:String,reflect:!0},icon:{type:String}}}constructor(){super(),this.href="",this.external=!1,this.externalText="opens in a new tab",this.variant="inline",this.icon="none"}static{this.styles=[...c.styles,x,p`
1228
1237
  :host {
1229
1238
  display: inline;
1230
1239
  }
@@ -1242,7 +1251,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
1242
1251
  :host([variant='standalone']) a:hover .icon { transform: translateX(2px); }
1243
1252
  .icon { flex: none; transition: transform 120ms ease-in-out; }
1244
1253
  .sr-only {
1245
- ${z}
1254
+ ${S}
1246
1255
  }
1247
1256
  `]}render(){return a`
1248
1257
  <a
@@ -1251,7 +1260,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
1251
1260
  target=${this.external?"_blank":l}
1252
1261
  rel=${this.external?"noopener noreferrer":l}
1253
1262
  >
1254
- <slot></slot>${S(this.icon!=="none"?this.icon:this.variant==="standalone"?this.external?"external":"arrow-right":void 0,"1em")}${this.external?a`<span class="sr-only"> (${this.externalText})</span>`:l}
1263
+ <slot></slot>${T(this.icon!=="none"?this.icon:this.variant==="standalone"?this.external?"external":"arrow-right":void 0,"1em")}${this.external?a`<span class="sr-only"> (${this.externalText})</span>`:l}
1255
1264
  </a>
1256
1265
  `}};customElements.define("impakt-link",Ie);var He=class extends c{static{this.properties={src:{type:String},alt:{type:String},decorative:{type:Boolean,reflect:!0},width:{type:Number},height:{type:Number},focalX:{type:Number,attribute:"focal-x"},focalY:{type:Number,attribute:"focal-y"},loading:{type:String},ratio:{type:String,reflect:!0},rounded:{type:String,reflect:!0},hideOn:{type:String,reflect:!0,attribute:"hide-on"}}}constructor(){super(),this.hideOn="never",this.ratio="natural",this.rounded="none",this.src="",this.alt="",this.decorative=!1,this.width=void 0,this.height=void 0,this.focalX=.5,this.focalY=.5,this.loading="lazy"}static{this.styles=[...c.styles,p`
1257
1266
  @media (max-width: 40rem) { :host([hide-on='phone']) { display: none; } }
@@ -1523,7 +1532,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
1523
1532
  display: none;
1524
1533
  }
1525
1534
  .visually-hidden {
1526
- ${z}
1535
+ ${S}
1527
1536
  }
1528
1537
  /* Stacked: each row a card, each value under its column's name. */
1529
1538
  @container (max-width: 36rem) {
@@ -1601,8 +1610,8 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
1601
1610
  border: 0;
1602
1611
  }
1603
1612
  }
1604
- `]}keyOf(e,i){let r=e?.[this.rowKey];return r==null||r===""?String(i):String(r)}ordered(){let e=(this.rows??[]).map((h,k)=>({row:h,key:this.keyOf(h,k)})),i=(this.columns??[]).find(h=>h.key===this.sortKey&&h.sortable);if(!i||this.manualSort)return e;let r=this.sortDirection==="descending"?-1:1,o=_(this),d=h=>Number(String(h??"").replace(/[^\d.-]/g,""))||0;return e.sort((h,k)=>{let y=h.row[i.key]??"",T=k.row[i.key]??"";return(i.numeric?d(y)-d(T):String(y).localeCompare(String(T),o,{numeric:!0,sensitivity:"base"}))*r})}sortBy(e){let i=this.sortKey===e&&this.sortDirection==="ascending"?"descending":"ascending";this.sortKey=e,this.sortDirection=i,this.dispatchEvent(new CustomEvent("impakt-sort",{detail:{key:e,direction:i},bubbles:!0,composed:!0}))}choose(e,i){let r=new Set(this.selected??[]);for(let o of e)i?r.add(o):r.delete(o);this.selected=[...r],this.dispatchEvent(new CustomEvent("impakt-selection",{detail:{selected:this.selected},bubbles:!0,composed:!0}))}heading(e){let i=e.sortable&&e.key===this.sortKey,r=[e.numeric?"numeric":"",e.sortable?"sortable":""].filter(Boolean).join(" ");return e.sortable?a`<th scope="col" role="columnheader" class=${r} aria-sort=${i?this.sortDirection:l}>
1605
- <button class="sort" type="button" part="sort" @click=${()=>this.sortBy(e.key)}>${e.label}<span class="arrow" aria-hidden="true">${S("chevron-down","16px")}</span></button>
1613
+ `]}keyOf(e,i){let r=e?.[this.rowKey];return r==null||r===""?String(i):String(r)}ordered(){let e=(this.rows??[]).map((h,k)=>({row:h,key:this.keyOf(h,k)})),i=(this.columns??[]).find(h=>h.key===this.sortKey&&h.sortable);if(!i||this.manualSort)return e;let r=this.sortDirection==="descending"?-1:1,o=_(this),d=h=>Number(String(h??"").replace(/[^\d.-]/g,""))||0;return e.sort((h,k)=>{let y=h.row[i.key]??"",z=k.row[i.key]??"";return(i.numeric?d(y)-d(z):String(y).localeCompare(String(z),o,{numeric:!0,sensitivity:"base"}))*r})}sortBy(e){let i=this.sortKey===e&&this.sortDirection==="ascending"?"descending":"ascending";this.sortKey=e,this.sortDirection=i,this.dispatchEvent(new CustomEvent("impakt-sort",{detail:{key:e,direction:i},bubbles:!0,composed:!0}))}choose(e,i){let r=new Set(this.selected??[]);for(let o of e)i?r.add(o):r.delete(o);this.selected=[...r],this.dispatchEvent(new CustomEvent("impakt-selection",{detail:{selected:this.selected},bubbles:!0,composed:!0}))}heading(e){let i=e.sortable&&e.key===this.sortKey,r=[e.numeric?"numeric":"",e.sortable?"sortable":""].filter(Boolean).join(" ");return e.sortable?a`<th scope="col" role="columnheader" class=${r} aria-sort=${i?this.sortDirection:l}>
1614
+ <button class="sort" type="button" part="sort" @click=${()=>this.sortBy(e.key)}>${e.label}<span class="arrow" aria-hidden="true">${T("chevron-down","16px")}</span></button>
1606
1615
  </th>`:a`<th scope="col" role="columnheader" class=${r}>${e.label}</th>`}render(){let e=this.columns??[],i=this.ordered(),r=new Set(this.selected??[]),o=i.length>0&&i.every(h=>r.has(h.key)),d=!o&&i.some(h=>r.has(h.key));return a`
1607
1616
  <div class="scroller" part="scroller" tabindex="0" role="region" aria-label=${this.caption||l}>
1608
1617
  <table part="table" role="table">
@@ -1618,8 +1627,8 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
1618
1627
  ${i.length?i.map(({row:h,key:k},y)=>a`
1619
1628
  <tr role="row" class=${r.has(k)?"chosen":""} part="row">
1620
1629
  ${this.selectable?a`<td role="cell" class="pick"><label><input type="checkbox" aria-label=${this.selectRowText.replace("{row}",String(h[e[0]?.key??""]??k))} .checked=${r.has(k)}
1621
- @change=${T=>this.choose([k],T.target.checked)} /></label></td>`:l}
1622
- ${e.map((T,A)=>{let M=a`<span class="label" aria-hidden="true">${T.label}</span><span class="value"><slot name=${`cell:${k}:${T.key}`}>${h[T.key]??""}</slot></span>`;return A===0?a`<th scope="row" role="rowheader" id=${`${this.uid}-r${y}`}>${M}</th>`:a`<td role="cell" class=${T.numeric?"numeric":""}>${M}</td>`})}
1630
+ @change=${z=>this.choose([k],z.target.checked)} /></label></td>`:l}
1631
+ ${e.map((z,A)=>{let M=a`<span class="label" aria-hidden="true">${z.label}</span><span class="value"><slot name=${`cell:${k}:${z.key}`}>${h[z.key]??""}</slot></span>`;return A===0?a`<th scope="row" role="rowheader" id=${`${this.uid}-r${y}`}>${M}</th>`:a`<td role="cell" class=${z.numeric?"numeric":""}>${M}</td>`})}
1623
1632
  </tr>
1624
1633
  `):a`<tr role="row"><td role="cell" class="empty" colspan=${e.length+(this.selectable?1:0)||1}><slot name="empty">${this.emptyText}</slot></td></tr>`}
1625
1634
  </tbody>
@@ -1692,7 +1701,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
1692
1701
  </div>
1693
1702
  `})}
1694
1703
  ${this.items.length===0?l:l}
1695
- `}};customElements.define("impakt-accordion",De);var Fe=class extends c{static{this.properties={steps:{type:Array},current:{type:String},label:{type:String},look:{type:String,reflect:!0}}}constructor(){super(),this.steps=[],this.current="",this.label="Progress",this.look="steps"}static{this.styles=[...c.styles,p`
1704
+ `}};customElements.define("impakt-accordion",De);var Fe=class extends c{static{this.properties={steps:{type:Array},current:{type:String},label:{type:String},look:{type:String,reflect:!0},hideLabels:{type:Boolean,attribute:"hide-labels",reflect:!0}}}constructor(){super(),this.steps=[],this.current="",this.label="Progress",this.look="steps",this.hideLabels=!1}static{this.styles=[...c.styles,p`
1696
1705
  :host {
1697
1706
  display: block;
1698
1707
  margin-block-end: ${s(5)};
@@ -1721,7 +1730,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
1721
1730
  border-block-start-color: ${t.brand};
1722
1731
  }
1723
1732
  .sr-only {
1724
- ${z}
1733
+ ${S}
1725
1734
  }
1726
1735
  :host([look='bars']) {
1727
1736
  margin-block-end: 0;
@@ -1758,21 +1767,24 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
1758
1767
  :host([look='bars']) li::before { background: GrayText; }
1759
1768
  :host([look='bars']) li[data-state='done']::before, :host([look='bars']) li[data-state='current']::before { background: CanvasText; }
1760
1769
  }
1770
+ :host([hide-labels]) .name {
1771
+ ${S}
1772
+ }
1761
1773
  /* Below 30rem the labels stop fitting; the position in words is the part
1762
1774
  that has to survive, so the list collapses to bars and the current
1763
1775
  step's name. */
1764
1776
  @media (max-width: 30rem) {
1765
- li:not([data-state='current']) span:not(.sr-only) {
1766
- ${z}
1777
+ li:not([data-state='current']) .name {
1778
+ ${S}
1767
1779
  }
1768
1780
  }
1769
1781
  `]}render(){let e=this.steps.findIndex(i=>i.id===this.current);return a`
1770
1782
  <nav part="nav" aria-label=${this.label}>
1771
1783
  <ol part="list">
1772
1784
  ${this.steps.map((i,r)=>{let o=r<e?"done":r===e?"current":"todo";return a`
1773
- <li data-state=${o} aria-current=${o==="current"?"step":l}>
1785
+ <li part="step step-${o}" data-state=${o} aria-current=${o==="current"?"step":l}>
1774
1786
  ${o==="current"?a`<span class="sr-only">${v("Step {step} of {steps}:",{step:r+1,steps:this.steps.length})} </span>`:l}
1775
- <span>${i.label}</span>
1787
+ <span class="name" part="step-label">${i.label}</span>
1776
1788
  </li>
1777
1789
  `})}
1778
1790
  </ol>
@@ -1798,7 +1810,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
1798
1810
  :host([tone='inverse']) span { background: ${t.text}; color: ${t.surfaceCard}; box-shadow: none; }
1799
1811
  :host([tone='solid']) span { background: ${t.brand}; color: ${t.onBrand}; box-shadow: none; }
1800
1812
  @media (forced-colors: active) { span { border-color: CanvasText; } }
1801
- `]}render(){return a`<span part="badge">${S(this.icon,"1em")}<slot></slot></span>`}};customElements.define("impakt-badge",Ue);var We=class extends b{constructor(){super();this.filled=!1;this.filledText="";this.width="full",this.rows=4,this.maxlength=void 0,this.fillFrom="none"}static{this.properties={...b.properties,width:{type:String,reflect:!0},rows:{type:Number},maxlength:{type:Number},fillFrom:{type:String,attribute:"fill-from"}}}static{this.styles=[...b.styles,I,p`
1813
+ `]}render(){return a`<span part="badge">${T(this.icon,"1em")}<slot></slot></span>`}};customElements.define("impakt-badge",Ue);var We=class extends b{constructor(){super();this.filled=!1;this.filledText="";this.width="full",this.rows=4,this.maxlength=void 0,this.fillFrom="none"}static{this.properties={...b.properties,width:{type:String,reflect:!0},rows:{type:Number},maxlength:{type:Number},fillFrom:{type:String,attribute:"fill-from"}}}static{this.styles=[...b.styles,I,p`
1802
1814
  textarea {
1803
1815
  inline-size: min(100%, var(--impakt-field-width));
1804
1816
  padding: ${s(2.5)} ${s(3)};
@@ -2056,7 +2068,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
2056
2068
  </div>
2057
2069
  <div class="body" part="body"><slot></slot></div>
2058
2070
  </dialog>
2059
- `}};customElements.define("impakt-dialog",Xe);var Ye=class extends c{static{this.properties={items:{type:Array},look:{type:String,reflect:!0},size:{type:String,reflect:!0},spaceAbove:{type:String,reflect:!0,attribute:"space-above"},spaceBelow:{type:String,reflect:!0,attribute:"space-below"}}}constructor(){super(),this.items=[],this.look="bullet",this.size="md",this.spaceAbove="none",this.spaceBelow="none"}static{this.styles=[...c.styles,L,p`
2071
+ `}};customElements.define("impakt-dialog",Xe);var Ye=class extends c{static{this.properties={items:{type:Array},look:{type:String,reflect:!0},size:{type:String,reflect:!0},spaceAbove:{type:String,reflect:!0,attribute:"space-above"},spaceBelow:{type:String,reflect:!0,attribute:"space-below"}}}constructor(){super(),this.items=[],this.look="bullet",this.size="md",this.spaceAbove="none",this.spaceBelow="none"}static{this.styles=[...c.styles,C,p`
2060
2072
  :host { display: block; }
2061
2073
  ul, ol { list-style: none; margin: 0; padding: 0; display: grid; gap: ${s(3)}; counter-reset: point; }
2062
2074
  li { position: relative; padding-inline-start: ${s(7)}; ${$("md")} text-wrap: pretty; counter-increment: point; }
@@ -2066,7 +2078,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
2066
2078
  :host([look='check']) li::before { content: '✓'; inset-inline-start: 0; inset-block-start: 0; inline-size: auto; block-size: auto; background: none; color: ${t.success}; font-weight: ${m("bold")}; }
2067
2079
  :host([look='number']) li::before { content: counter(point, decimal-leading-zero); inset-inline-start: 0; inset-block-start: 0.2em; inline-size: auto; block-size: auto; background: none; font-family: ${t.fontMono}; font-size: 0.75em; color: ${t.textMuted}; }
2068
2080
  @media (forced-colors: active) { li::before { background: CanvasText; } :host([look='check']) li::before, :host([look='number']) li::before { background: none; color: CanvasText; } }
2069
- `]}render(){let e=(this.items??[]).map(i=>a`<li part="item">${i}</li>`);return this.look==="number"?a`<ol part="list">${e}</ol>`:a`<ul part="list" role="list">${e}</ul>`}};customElements.define("impakt-list",Ye);var zi={"2:1":"2fr 1fr","1:2":"1fr 2fr","3:1":"3fr 1fr","1:3":"1fr 3fr","1:2:1":"1fr 2fr 1fr","2:1:1":"2fr 1fr 1fr","1:1:2":"1fr 1fr 2fr"},Ge=class extends c{static{this.properties={columns:{type:String,reflect:!0},widths:{type:String,reflect:!0},gap:{type:String,reflect:!0},stackOn:{type:String,reflect:!0,attribute:"stack-on"},align:{type:String,reflect:!0},spaceAbove:{type:String,reflect:!0,attribute:"space-above"},spaceBelow:{type:String,reflect:!0,attribute:"space-below"}}}constructor(){super(),this.columns="two",this.widths="equal",this.gap="md",this.stackOn="phone",this.align="stretch",this.spaceAbove="none",this.spaceBelow="none"}static{this.styles=[...c.styles,L,p`
2081
+ `]}render(){let e=(this.items??[]).map(i=>a`<li part="item">${i}</li>`);return this.look==="number"?a`<ol part="list">${e}</ol>`:a`<ul part="list" role="list">${e}</ul>`}};customElements.define("impakt-list",Ye);var zi={"2:1":"2fr 1fr","1:2":"1fr 2fr","3:1":"3fr 1fr","1:3":"1fr 3fr","1:2:1":"1fr 2fr 1fr","2:1:1":"2fr 1fr 1fr","1:1:2":"1fr 1fr 2fr"},Ge=class extends c{static{this.properties={columns:{type:String,reflect:!0},widths:{type:String,reflect:!0},gap:{type:String,reflect:!0},stackOn:{type:String,reflect:!0,attribute:"stack-on"},align:{type:String,reflect:!0},spaceAbove:{type:String,reflect:!0,attribute:"space-above"},spaceBelow:{type:String,reflect:!0,attribute:"space-below"}}}constructor(){super(),this.columns="two",this.widths="equal",this.gap="md",this.stackOn="phone",this.align="stretch",this.spaceAbove="none",this.spaceBelow="none"}static{this.styles=[...c.styles,C,p`
2070
2082
  :host { display: block; min-inline-size: 0; container-type: inline-size; }
2071
2083
  .columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: ${u("layout.gutter.md","16px")}; align-items: stretch; }
2072
2084
  :host([gap='none']) .columns { gap: 0; }
@@ -2129,7 +2141,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
2129
2141
  ${i?a`<header part="header"><div class="inner"><slot name="header"></slot></div></header>`:l}
2130
2142
  <main id="content" tabindex="-1" part="main"><div class="inner"><slot></slot></div></main>
2131
2143
  ${r?a`<footer part="footer"><div class="inner"><slot name="footer"></slot></div></footer>`:l}
2132
- </div>`}opensOn(i){for(let r of Array.from(this.querySelectorAll("*"))){if(r===i)return!0;if(!r.closest('[slot="header"],[slot="footer"]')&&r.tagName.startsWith("IMPAKT-")&&!/^IMPAKT-(STACK|SECTION|GRID|ANNOUNCEMENT)$/.test(r.tagName))return!1}return!1}connectedCallback(){super.connectedCallback(),this.observer=new MutationObserver(()=>this.requestUpdate()),this.observer.observe(this,{childList:!0,attributes:!0,subtree:!1,attributeFilter:["slot"]}),this.watcher=new MutationObserver(this.place),this.watcher.observe(this,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["treatment"]}),typeof ResizeObserver=="function"&&(this.resize=new ResizeObserver(this.place),this.resize.observe(this))}disconnectedCallback(){super.disconnectedCallback(),this.observer?.disconnect(),this.watcher?.disconnect(),this.resize?.disconnect()}firstUpdated(){this.place()}},Qe=class extends c{static{this.properties={tone:{type:String,reflect:!0},padding:{type:String,reflect:!0},width:{type:String,reflect:!0},bleed:{type:Boolean,reflect:!0},label:{type:String},spaceAbove:{type:String,reflect:!0,attribute:"space-above"},spaceBelow:{type:String,reflect:!0,attribute:"space-below"}}}constructor(){super(),this.tone="none",this.padding="lg",this.width="standard",this.bleed=!0,this.label="",this.spaceAbove="none",this.spaceBelow="none"}static{this.styles=[...c.styles,L,ai,p`
2144
+ </div>`}opensOn(i){for(let r of Array.from(this.querySelectorAll("*"))){if(r===i)return!0;if(!r.closest('[slot="header"],[slot="footer"]')&&r.tagName.startsWith("IMPAKT-")&&!/^IMPAKT-(STACK|SECTION|GRID|ANNOUNCEMENT)$/.test(r.tagName))return!1}return!1}connectedCallback(){super.connectedCallback(),this.observer=new MutationObserver(()=>this.requestUpdate()),this.observer.observe(this,{childList:!0,attributes:!0,subtree:!1,attributeFilter:["slot"]}),this.watcher=new MutationObserver(this.place),this.watcher.observe(this,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["treatment"]}),typeof ResizeObserver=="function"&&(this.resize=new ResizeObserver(this.place),this.resize.observe(this))}disconnectedCallback(){super.disconnectedCallback(),this.observer?.disconnect(),this.watcher?.disconnect(),this.resize?.disconnect()}firstUpdated(){this.place()}},Qe=class extends c{static{this.properties={tone:{type:String,reflect:!0},padding:{type:String,reflect:!0},width:{type:String,reflect:!0},bleed:{type:Boolean,reflect:!0},label:{type:String},spaceAbove:{type:String,reflect:!0,attribute:"space-above"},spaceBelow:{type:String,reflect:!0,attribute:"space-below"}}}constructor(){super(),this.tone="none",this.padding="lg",this.width="standard",this.bleed=!0,this.label="",this.spaceAbove="none",this.spaceBelow="none"}static{this.styles=[...c.styles,C,ai,p`
2133
2145
  :host { display: block; --impakt-page-margin: inherit; }
2134
2146
  /* What a solid card on a brand band goes back to, since the band repaints these for its own text. */
2135
2147
  :host([tone='brand']) { --impakt-solid-card: ${t.surfaceCard}; --impakt-solid-text: ${t.text}; --impakt-solid-heading: var(--impakt-color-text-heading, ${t.text}); --impakt-solid-muted: ${t.textMuted}; }
@@ -2172,7 +2184,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
2172
2184
  :host([folded]) li { text-align: start; }
2173
2185
  :host([folded]) a { display: flex; padding: ${s(3)} ${s(3)}; }
2174
2186
  `]}fit(){let i=this.getBoundingClientRect().width;if(i<=0)return;if(!this.needs){this.removeAttribute("folded");let o=Array.from(this.renderRoot.querySelectorAll("li")),d=Number.parseFloat(getComputedStyle(this.renderRoot.querySelector("ul")).columnGap)||0;this.needs=o.reduce((h,k)=>h+k.getBoundingClientRect().width,0)+d*Math.max(0,o.length-1)}let r=this.needs>i;this.toggleAttribute("folded",r),!r&&this.menuOpen&&(this.open=!1)}updated(i){i.has("links")&&(this.needs=0,this.fit())}connectedCallback(){super.connectedCallback(),typeof ResizeObserver=="function"&&(this.resize=new ResizeObserver(()=>this.fit()),this.resize.observe(this))}disconnectedCallback(){super.disconnectedCallback(),this.resize?.disconnect()}toggle(){this.open=!this.open}onKey(i){i.key!=="Escape"||!this.open||(this.open=!1,this.renderRoot.querySelector(".toggle")?.focus())}render(){let i=this.id_("links");return a`<nav aria-label=${this.label||l} part="nav" @keydown=${this.onKey}>
2175
- <button class="toggle" type="button" aria-expanded=${this.open?"true":"false"} aria-controls=${i} @click=${this.toggle}>${S(this.open?"close":this.menuLook==="icon"?"menu-two":"menu")}<span class="words">${this.menuText}</span></button>
2187
+ <button class="toggle" type="button" aria-expanded=${this.open?"true":"false"} aria-controls=${i} @click=${this.toggle}>${T(this.open?"close":this.menuLook==="icon"?"menu-two":"menu")}<span class="words">${this.menuText}</span></button>
2176
2188
  <ul id=${i} class=${this.open?"open":""} part="list">
2177
2189
  ${(this.links??[]).map(r=>{let o=Ai(r.href);return a`<li><a href=${r.href} aria-current=${o==="page"?"page":o==="section"?"true":l} part="link">${r.label}</a></li>`})}
2178
2190
  </ul>
@@ -2184,7 +2196,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
2184
2196
  a { color: ${t.link}; text-decoration: underline; text-underline-offset: 0.2em; border-radius: ${t.radiusSm}; }
2185
2197
  a:hover { color: ${t.linkHover}; }
2186
2198
  [aria-current] { color: ${t.textMuted}; }
2187
- .sr-only { ${z} }
2199
+ .sr-only { ${S} }
2188
2200
  `]}render(){let e=this.items??[];return a`<nav aria-label=${this.label} part="nav"><ol>
2189
2201
  ${e.map((i,r)=>a`<li>${r===e.length-1?a`<span aria-current="page">${i.label}</span>`:a`<a href=${i.href} part="link">${i.label}</a>`}</li>`)}
2190
2202
  </ol></nav>`}};customElements.define("impakt-nav",et);customElements.define("impakt-breadcrumbs",tt);var it=class extends c{static{this.properties={spacing:{type:String,reflect:!0},tone:{type:String,reflect:!0}}}constructor(){super(),this.spacing="md",this.tone="subtle"}static{this.styles=[...c.styles,p`
@@ -2200,8 +2212,13 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
2200
2212
  :host([size='lg']) { block-size: ${s(8)}; }
2201
2213
  :host([size='xl']) { block-size: ${s(12)}; }
2202
2214
  :host([size='2xl']) { block-size: ${s(16)}; }
2203
- `]}render(){return a``}},st=class extends c{static{this.styles=[...c.styles,p`:host { ${z} }`]}render(){return a`<slot></slot>`}},at=class extends c{static{this.properties={items:{type:Array},selected:{type:String,reflect:!0},label:{type:String},twoRows:{type:Boolean,reflect:!0,attribute:"two-rows"},look:{type:String,reflect:!0}}}constructor(){super(),this.items=[],this.selected="",this.label="",this.twoRows=!1,this.look="line"}static{this.styles=[...c.styles,x,E("[role='tab']"),p`
2204
- :host { display: block; container-type: inline-size; }
2215
+ `]}render(){return a``}},st=class extends c{static{this.styles=[...c.styles,p`:host { ${S} }`]}render(){return a`<slot></slot>`}},at=class extends c{static{this.properties={items:{type:Array},selected:{type:String,reflect:!0},label:{type:String},twoRows:{type:Boolean,reflect:!0,attribute:"two-rows"},look:{type:String,reflect:!0}}}constructor(){super(),this.items=[],this.selected="",this.label="",this.twoRows=!1,this.look="line"}static{this.styles=[...c.styles,x,E("[role='tab']"),p`
2216
+ /* Only the two-row layout needs a size container. Making every tab set one
2217
+ would take its width from its parent alone, so in a flex row, with no
2218
+ width given, it would shrink to nothing. In a row it may still shrink
2219
+ below its tabs, which then scroll, rather than widen the page. */
2220
+ :host { display: block; min-inline-size: 0; }
2221
+ :host([two-rows]) { container-type: inline-size; }
2205
2222
  [role='tablist'] { display: flex; gap: ${s(1)}; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; border-block-end: ${t.borderThin} solid ${t.border}; }
2206
2223
  [role='tab'] { ${w} position: relative; flex: none; padding: ${s(3)} ${s(4)}; font: inherit; font-weight: ${m("semibold")}; white-space: nowrap; color: ${t.textMuted}; background: transparent; border: 0; border-block-end: 3px solid transparent; margin-block-end: -1px; cursor: pointer; border-radius: ${t.radius} ${t.radius} 0 0; }
2207
2224
  /* Inside a box that scrolls the ring would be clipped, so it is drawn inside the tab. */
@@ -2217,7 +2234,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
2217
2234
  }
2218
2235
  @media (forced-colors: active) { [role='tab'][aria-selected='true'] { border-block-end-color: Highlight; } }
2219
2236
  .count { display: inline-flex; align-items: center; justify-content: center; min-inline-size: 20px; block-size: 20px; margin-inline-start: ${s(2)}; padding: 0 ${s(1.5)}; border-radius: 999px; font-size: 12px; font-weight: ${m("semibold")}; background: ${t.brand}; color: ${t.onBrand}; font-variant-numeric: tabular-nums; }
2220
- .sr-only { ${z} }
2237
+ .sr-only { ${S} }
2221
2238
  /* Links drawn as tabs. */
2222
2239
  nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: ${s(1)}; overflow-x: auto; scrollbar-width: thin; border-block-end: ${t.borderThin} solid ${t.border}; }
2223
2240
  nav a { ${w} position: relative; display: inline-flex; align-items: center; flex: none; padding: ${s(3)} ${s(4)}; font-weight: ${m("semibold")}; white-space: nowrap; color: ${t.textMuted}; text-decoration: none; border-block-end: 3px solid transparent; margin-block-end: -1px; border-radius: ${t.radius} ${t.radius} 0 0; }
@@ -2275,11 +2292,11 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
2275
2292
  @click=${i=>{i.target===this.dialog&&this.close()}}>
2276
2293
  <div class="head">
2277
2294
  ${this.heading?a`<h2 id=${this.id_("heading")}>${this.heading}</h2>`:a`<span></span>`}
2278
- <button class="close" type="button" aria-label=${this.closeLabel} @click=${this.close}>${S("close","20px")}</button>
2295
+ <button class="close" type="button" aria-label=${this.closeLabel} @click=${this.close}>${T("close","20px")}</button>
2279
2296
  </div>
2280
2297
  <div class="body" part="body"><slot></slot></div>
2281
2298
  <div class="foot" part="footer" ?hidden=${!this.hasFooter}><slot name="footer" @slotchange=${this.footerChanged}></slot></div>
2282
- </dialog>`}},Ci={neutral:"info",success:"check",warning:"warning",danger:"warning"},lt=class extends c{static{this.properties={open:{type:Boolean,reflect:!0},message:{type:String},tone:{type:String,reflect:!0},duration:{type:Number},actionText:{type:String,attribute:"action-text"},closeLabel:{type:String,attribute:"close-label"}}}constructor(){super(),this.open=!1,this.message="",this.tone="neutral",this.duration=6,this.actionText="",this.closeLabel="Dismiss"}static{this.styles=[...c.styles,x,p`
2299
+ </dialog>`}},Li={neutral:"info",success:"check",warning:"warning",danger:"warning"},lt=class extends c{static{this.properties={open:{type:Boolean,reflect:!0},message:{type:String},tone:{type:String,reflect:!0},duration:{type:Number},actionText:{type:String,attribute:"action-text"},closeLabel:{type:String,attribute:"close-label"}}}constructor(){super(),this.open=!1,this.message="",this.tone="neutral",this.duration=6,this.actionText="",this.closeLabel="Dismiss"}static{this.styles=[...c.styles,x,p`
2283
2300
  .region { position: fixed; inset-block-end: calc(${s(4)} + env(safe-area-inset-bottom, 0px) + var(--impakt-bottom-bar, 0px)); inset-inline-end: ${s(4)}; z-index: 1000; inline-size: min(24rem, calc(100vw - ${s(8)})); pointer-events: none; }
2284
2301
  @media (max-width: 40rem) { .region { inset-inline: ${s(3)}; inline-size: auto; inset-block-end: calc(${s(3)} + env(safe-area-inset-bottom, 0px) + var(--impakt-bottom-bar, 0px)); } }
2285
2302
  .toast { pointer-events: auto; max-block-size: 40vh; overflow: auto; display: flex; align-items: flex-start; gap: ${s(3)}; padding: ${s(3)} ${s(3)} ${s(3)} ${s(4)}; color: ${t.text}; background: ${t.surfaceCard}; border-radius: ${t.radiusXl}; box-shadow: ${t.shadowXl}, 0 0 0 1px color-mix(in srgb, ${t.text} 8%, transparent); animation: rise 220ms cubic-bezier(0.16, 1, 0.3, 1); }
@@ -2296,10 +2313,10 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
2296
2313
  `,E(".action, .close")]}disconnectedCallback(){super.disconnectedCallback(),this.stop()}updated(e){(e.has("open")||e.has("duration"))&&(this.stop(),this.open&&this.start())}start(){this.stop(),this.duration>0&&!this.actionText&&(this.timer=setTimeout(()=>this.close(),this.duration*1e3))}stop(){this.timer&&clearTimeout(this.timer),this.timer=void 0}close(){this.stop(),this.open&&(this.open=!1,this.dispatchEvent(new CustomEvent("impakt-close",{bubbles:!0,composed:!0})))}action(){this.dispatchEvent(new CustomEvent("impakt-action",{bubbles:!0,composed:!0})),this.close()}render(){return a`<div class="region" role="status" aria-live="polite">
2297
2314
  ${this.open?a`<div class="toast" part="toast" @mouseenter=${this.stop} @mouseleave=${this.start} @focusin=${this.stop} @focusout=${this.start}
2298
2315
  @keydown=${e=>{e.key==="Escape"&&(e.preventDefault(),this.close())}}>
2299
- <span class="mark">${S(Ci[this.tone]??"info","20px")}</span>
2316
+ <span class="mark">${T(Li[this.tone]??"info","20px")}</span>
2300
2317
  <p class="message">${this.message}</p>
2301
2318
  ${this.actionText?a`<button class="action" type="button" @click=${this.action}>${this.actionText}</button>`:l}
2302
- <button class="close" type="button" aria-label=${this.closeLabel} @click=${this.close}>${S("close","16px")}</button>
2319
+ <button class="close" type="button" aria-label=${this.closeLabel} @click=${this.close}>${T("close","16px")}</button>
2303
2320
  </div>`:l}
2304
2321
  </div>`}},dt=class extends c{constructor(){super();this.outside=i=>{i.composedPath().includes(this)||this.toggle(!1)};this.label="Menu",this.icon="",this.items=[],this.edge="start",this.open=!1}static{this.properties={label:{type:String},icon:{type:String},items:{type:Array},edge:{type:String,reflect:!0},open:{type:Boolean,reflect:!0}}}static{this.styles=[...c.styles,x,E(".trigger, .item"),p`
2305
2322
  :host { position: relative; display: inline-block; }
@@ -2307,19 +2324,21 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
2307
2324
  .trigger:hover { background: ${t.surfaceSubtle}; }
2308
2325
  .chev { display: inline-flex; color: ${t.textMuted}; transition: transform 120ms ease-in-out; }
2309
2326
  :host([open]) .chev { transform: rotate(180deg); }
2310
- .list { position: absolute; z-index: 100; inset-block-start: calc(100% + ${s(1.5)}); inset-inline-start: 0; box-sizing: border-box; min-inline-size: 13rem; max-inline-size: min(20rem, 90vw); margin: 0; padding: ${s(1.5)}; list-style: none; background: ${t.surfaceCard}; border-radius: ${t.radiusXl}; box-shadow: ${t.shadowLg}, 0 0 0 1px color-mix(in srgb, ${t.text} 8%, transparent); animation: pop 120ms ease-out; }
2311
- :host([edge='end']) .list, .list.flip-end { inset-inline: auto 0; }
2312
- :host([edge='end']) .list.flip-start { inset-inline: 0 auto; }
2327
+ .panel { position: absolute; z-index: 100; inset-block-start: calc(100% + ${s(1.5)}); inset-inline-start: 0; box-sizing: border-box; min-inline-size: 13rem; max-inline-size: min(20rem, 90vw); padding: ${s(1.5)}; background: ${t.surfaceCard}; border-radius: ${t.radiusXl}; box-shadow: ${t.shadowLg}, 0 0 0 1px color-mix(in srgb, ${t.text} 8%, transparent); animation: pop 120ms ease-out; }
2328
+ .list { margin: 0; padding: 0; list-style: none; }
2329
+ .header { padding: ${s(2)} ${s(2.5)} ${s(2.5)}; margin-block-end: ${s(1.5)}; border-block-end: ${t.borderThin} solid ${t.border}; ${$("sm")} color: ${t.textMuted}; overflow-wrap: anywhere; }
2330
+ :host([edge='end']) .panel, .panel.flip-end { inset-inline: auto 0; }
2331
+ :host([edge='end']) .panel.flip-start { inset-inline: 0 auto; }
2313
2332
  @keyframes pop { from { opacity: 0; transform: translateY(-${s(1)}); } }
2314
2333
  .item { ${w} box-sizing: border-box; display: flex; align-items: center; gap: ${s(2.5)}; inline-size: 100%; padding: ${s(2)} ${s(2.5)}; font: inherit; ${$("sm")} text-align: start; color: ${t.text}; text-decoration: none; background: none; border: 0; border-radius: ${t.radius}; cursor: pointer; }
2315
2334
  .item:hover, .item:focus { background: ${t.surfaceSubtle}; }
2316
2335
  .item.danger { color: ${t.dangerText}; }
2317
2336
  .item svg { flex: none; }
2318
- `]}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.outside)}get entries(){return Array.from(this.renderRoot.querySelectorAll(".item"))}get trigger(){return this.renderRoot.querySelector(".trigger")}toggle(i,r){this.open=i,i?(document.addEventListener("click",this.outside),this.updateComplete.then(()=>{this.keepOnScreen(),this.entries[r==="last"?this.entries.length-1:0]?.focus()})):document.removeEventListener("click",this.outside)}keepOnScreen(){let i=this.renderRoot.querySelector(".list");if(!i)return;i.classList.remove("flip-start","flip-end");let r=i.getBoundingClientRect(),o=document.documentElement.clientWidth;r.right>o-8?i.classList.add("flip-end"):r.left<8&&i.classList.add("flip-start")}triggerKey(i){(i.key==="ArrowDown"||i.key==="ArrowUp")&&(i.preventDefault(),this.toggle(!0,i.key==="ArrowUp"?"last":"first"))}listKey(i){let r=this.entries,o=r.indexOf(this.renderRoot.activeElement),d={ArrowDown:(o+1)%r.length,ArrowUp:(o-1+r.length)%r.length,Home:0,End:r.length-1};if(i.key in d)i.preventDefault(),r[d[i.key]]?.focus();else if(i.key.length===1&&/\S/.test(i.key)&&!i.ctrlKey&&!i.metaKey&&!i.altKey){let h=i.key.toLowerCase();[...r.slice(o+1),...r.slice(0,o+1)].find(y=>(y.textContent??"").trim().toLowerCase().startsWith(h))?.focus()}else i.key==="Escape"?(i.preventDefault(),this.toggle(!1),this.trigger?.focus()):i.key==="Tab"&&this.toggle(!1)}choose(i){this.toggle(!1),this.trigger?.focus(),i.href||this.dispatchEvent(new CustomEvent("impakt-select",{detail:{value:i.value??i.text},bubbles:!0,composed:!0}))}render(){let i=r=>a`${S(r.icon,"18px")}<span>${r.text}</span>`;return a`<button class="trigger" part="trigger" type="button" aria-haspopup="menu" aria-expanded=${String(this.open)} aria-controls=${this.id_("list")}
2319
- @click=${()=>this.toggle(!this.open)} @keydown=${this.triggerKey}>${S(this.icon,"18px")}${this.label}<span class="chev">${S("chevron-down","16px")}</span></button>
2320
- ${this.open?a`<ul class="list" part="list" id=${this.id_("list")} role="menu" aria-label=${this.label} @keydown=${this.listKey}>
2337
+ `]}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.outside)}get entries(){return Array.from(this.renderRoot.querySelectorAll(".item"))}get trigger(){return this.renderRoot.querySelector(".trigger")}toggle(i,r){this.open=i,i?(document.addEventListener("click",this.outside),this.updateComplete.then(()=>{this.keepOnScreen(),this.entries[r==="last"?this.entries.length-1:0]?.focus()})):document.removeEventListener("click",this.outside)}keepOnScreen(){let i=this.renderRoot.querySelector(".panel");if(!i)return;i.classList.remove("flip-start","flip-end");let r=i.getBoundingClientRect(),o=document.documentElement.clientWidth;r.right>o-8?i.classList.add("flip-end"):r.left<8&&i.classList.add("flip-start")}triggerKey(i){(i.key==="ArrowDown"||i.key==="ArrowUp")&&(i.preventDefault(),this.toggle(!0,i.key==="ArrowUp"?"last":"first"))}listKey(i){let r=this.entries,o=r.indexOf(this.renderRoot.activeElement),d={ArrowDown:(o+1)%r.length,ArrowUp:(o-1+r.length)%r.length,Home:0,End:r.length-1};if(i.key in d)i.preventDefault(),r[d[i.key]]?.focus();else if(i.key.length===1&&/\S/.test(i.key)&&!i.ctrlKey&&!i.metaKey&&!i.altKey){let h=i.key.toLowerCase();[...r.slice(o+1),...r.slice(0,o+1)].find(y=>(y.textContent??"").trim().toLowerCase().startsWith(h))?.focus()}else i.key==="Escape"?(i.preventDefault(),this.toggle(!1),this.trigger?.focus()):i.key==="Tab"&&this.toggle(!1)}choose(i){this.toggle(!1),this.trigger?.focus(),i.href||this.dispatchEvent(new CustomEvent("impakt-select",{detail:{value:i.value??i.text},bubbles:!0,composed:!0}))}render(){let i=r=>a`${T(r.icon,"18px")}<span>${r.text}</span>`;return a`<button class="trigger" part="trigger" type="button" aria-haspopup="menu" aria-expanded=${String(this.open)} aria-controls=${this.id_("list")}
2338
+ @click=${()=>this.toggle(!this.open)} @keydown=${this.triggerKey}><slot name="trigger">${T(this.icon,"18px")}${this.label}</slot><span class="chev" part="chevron">${T("chevron-down","16px")}</span></button>
2339
+ ${this.open?a`<div class="panel" part="panel">${this.querySelector(':scope > [slot="header"]')?a`<div class="header" part="header"><slot name="header"></slot></div>`:l}<ul class="list" part="list" id=${this.id_("list")} role="menu" aria-label=${this.label} @keydown=${this.listKey}>
2321
2340
  ${this.items.map(r=>a`<li role="none">${r.href?a`<a class="item ${r.tone==="danger"?"danger":""}" role="menuitem" tabindex="-1" href=${r.href} @click=${()=>this.choose(r)}>${i(r)}</a>`:a`<button class="item ${r.tone==="danger"?"danger":""}" role="menuitem" tabindex="-1" type="button" @click=${()=>this.choose(r)}>${i(r)}</button>`}</li>`)}
2322
- </ul>`:l}`}};function Li(n,e){let i=[...new Set([1,n-1,n,n+1,e])].filter(r=>r>=1&&r<=e).sort((r,o)=>r-o);return i.flatMap((r,o)=>{let d=i[o-1];return d===void 0||r===d+1?[r]:r===d+2?[d+1,r]:["gap",r]})}var ct=class extends c{static{this.properties={page:{type:Number},pages:{type:Number},hrefPattern:{type:String,attribute:"href-pattern"},label:{type:String},previousText:{type:String,attribute:"previous-text"},nextText:{type:String,attribute:"next-text"}}}constructor(){super(),this.page=1,this.pages=1,this.hrefPattern="",this.label="Pages",this.previousText="Previous",this.nextText="Next"}static{this.styles=[...c.styles,x,E(".n, .step"),p`
2341
+ </ul></div>`:l}`}};function Ci(n,e){let i=[...new Set([1,n-1,n,n+1,e])].filter(r=>r>=1&&r<=e).sort((r,o)=>r-o);return i.flatMap((r,o)=>{let d=i[o-1];return d===void 0||r===d+1?[r]:r===d+2?[d+1,r]:["gap",r]})}var ct=class extends c{static{this.properties={page:{type:Number},pages:{type:Number},hrefPattern:{type:String,attribute:"href-pattern"},label:{type:String},previousText:{type:String,attribute:"previous-text"},nextText:{type:String,attribute:"next-text"}}}constructor(){super(),this.page=1,this.pages=1,this.hrefPattern="",this.label="Pages",this.previousText="Previous",this.nextText="Next"}static{this.styles=[...c.styles,x,E(".n, .step"),p`
2323
2342
  :host { display: block; container-type: inline-size; }
2324
2343
  nav { display: flex; align-items: center; justify-content: space-between; gap: ${s(2)}; }
2325
2344
  ul { display: flex; align-items: center; gap: ${s(1)}; margin: 0; padding: 0; list-style: none; }
@@ -2330,9 +2349,9 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
2330
2349
  .gap { color: ${t.textMuted}; padding: 0 ${s(1)}; }
2331
2350
  .count { display: none; ${$("sm")} color: ${t.textMuted}; }
2332
2351
  @container (max-width: 34rem) { ul { display: none; } .count { display: block; } }
2333
- `]}go(e,i){this.hrefPattern||(i.preventDefault(),this.page=e,this.dispatchEvent(new CustomEvent("impakt-page",{detail:{page:e},bubbles:!0,composed:!0})))}link(e,i,r,o,d){return this.hrefPattern?a`<a class=${i} href=${this.hrefPattern.replace("{page}",String(e))} aria-label=${o} aria-current=${d?"page":l}>${r}</a>`:a`<button class=${i} type="button" aria-label=${o} aria-current=${d?"page":l} @click=${h=>this.go(e,h)}>${r}</button>`}step(e,i,r,o){let d=r==="arrow-left"?a`${S(r,"16px")}${i}`:a`${i}${S(r,"16px")}`;return o?a`<span class="step" aria-disabled="true">${d}</span>`:this.link(e,"step",d,i,!1)}render(){let e=Math.min(Math.max(this.page,1),Math.max(this.pages,1));return a`<nav aria-label=${this.label} part="nav">
2352
+ `]}go(e,i){this.hrefPattern||(i.preventDefault(),this.page=e,this.dispatchEvent(new CustomEvent("impakt-page",{detail:{page:e},bubbles:!0,composed:!0})))}link(e,i,r,o,d){return this.hrefPattern?a`<a class=${i} href=${this.hrefPattern.replace("{page}",String(e))} aria-label=${o} aria-current=${d?"page":l}>${r}</a>`:a`<button class=${i} type="button" aria-label=${o} aria-current=${d?"page":l} @click=${h=>this.go(e,h)}>${r}</button>`}step(e,i,r,o){let d=r==="arrow-left"?a`${T(r,"16px")}${i}`:a`${i}${T(r,"16px")}`;return o?a`<span class="step" aria-disabled="true">${d}</span>`:this.link(e,"step",d,i,!1)}render(){let e=Math.min(Math.max(this.page,1),Math.max(this.pages,1));return a`<nav aria-label=${this.label} part="nav">
2334
2353
  ${this.step(e-1,this.previousText,"arrow-left",e<=1)}
2335
- <ul>${Li(e,this.pages).map(i=>a`<li>${i==="gap"?a`<span class="gap" aria-hidden="true">…</span>`:this.link(i,"n",i,v("Page {page}",{page:i}),i===e)}</li>`)}</ul>
2354
+ <ul>${Ci(e,this.pages).map(i=>a`<li>${i==="gap"?a`<span class="gap" aria-hidden="true">…</span>`:this.link(i,"n",i,v("Page {page}",{page:i}),i===e)}</li>`)}</ul>
2336
2355
  <span class="count">${v("Page {page} of {pages}",{page:e,pages:this.pages})}</span>
2337
2356
  ${this.step(e+1,this.nextText,"arrow-right",e>=this.pages)}
2338
2357
  </nav>`}},Ri=n=>{let e=n.trim().split(/\s+/).filter(Boolean);return((e[0]?.[0]??"")+(e.length>1?e[e.length-1][0]:"")).toUpperCase()},pt=class extends c{constructor(){super();this.failed=!1;this.fullName="",this.src="",this.size="md"}static{this.properties={fullName:{type:String,attribute:"full-name"},src:{type:String},size:{type:String,reflect:!0}}}static{this.styles=[...c.styles,p`
@@ -2342,18 +2361,18 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
2342
2361
  :host([size='xl']) { --size: 80px; }
2343
2362
  .face { display: flex; align-items: center; justify-content: center; inline-size: 100%; block-size: 100%; overflow: hidden; color: ${t.brand}; background: ${t.brandSubtle}; border-radius: 50%; font-size: calc(var(--size) * 0.38); font-weight: ${m("semibold")}; }
2344
2363
  img { inline-size: 100%; block-size: 100%; object-fit: cover; }
2345
- `]}willUpdate(i){i.has("src")&&(this.failed=!1)}render(){return this.src&&!this.failed?a`<div class="face"><img src=${this.src} alt=${this.fullName} @error=${()=>{this.failed=!0,this.requestUpdate()}} /></div>`:a`<div class="face" role="img" aria-label=${this.fullName||v("Person")}>${Ri(this.fullName)||S("user","55%")}</div>`}},ht=class extends c{static{this.properties={items:{type:Array},max:{type:Number},size:{type:String,reflect:!0},moreLabel:{type:String,attribute:"more-label"}}}constructor(){super(),this.items=[],this.max=4,this.size="md",this.moreLabel="more people"}static{this.styles=[...c.styles,p`
2364
+ `]}willUpdate(i){i.has("src")&&(this.failed=!1)}render(){return this.src&&!this.failed?a`<div class="face"><img src=${this.src} alt=${this.fullName} @error=${()=>{this.failed=!0,this.requestUpdate()}} /></div>`:a`<div class="face" role="img" aria-label=${this.fullName||v("Person")}>${Ri(this.fullName)||T("user","55%")}</div>`}},ht=class extends c{static{this.properties={items:{type:Array},max:{type:Number},size:{type:String,reflect:!0},moreLabel:{type:String,attribute:"more-label"}}}constructor(){super(),this.items=[],this.max=4,this.size="md",this.moreLabel="more people"}static{this.styles=[...c.styles,p`
2346
2365
  ul { display: flex; margin: 0; padding: 0; list-style: none; }
2347
2366
  li { margin-inline-start: -${s(2.5)}; border-radius: 50%; box-shadow: 0 0 0 2px ${t.surfaceCard}; line-height: 0; }
2348
2367
  li:first-child { margin-inline-start: 0; }
2349
2368
  .more { display: flex; align-items: center; justify-content: center; inline-size: 40px; block-size: 40px; ${$("xs")} line-height: 1; font-weight: ${m("semibold")}; color: ${t.text}; background: ${t.surfaceSubtle}; border-radius: 50%; }
2350
2369
  :host([size='sm']) .more { inline-size: 32px; block-size: 32px; }
2351
2370
  :host([size='lg']) .more { inline-size: 56px; block-size: 56px; }
2352
- .sr { ${z} }
2371
+ .sr { ${S} }
2353
2372
  `]}render(){let e=this.items.slice(0,this.max),i=this.items.length-e.length;return a`<ul part="list">
2354
2373
  ${e.map(r=>a`<li><impakt-avatar full-name=${r.name} src=${r.src??""} size=${this.size}></impakt-avatar></li>`)}
2355
2374
  ${i>0?a`<li><span class="more"><span aria-hidden="true">+${i}</span><span class="sr">${i} ${this.moreLabel}</span></span></li>`:l}
2356
- </ul>`}},ut=class extends c{static{this.properties={icon:{type:String},heading:{type:String},lead:{type:String},framed:{type:Boolean,reflect:!0},headingLevel:{type:Number,attribute:"heading-level"},spaceAbove:{type:String,reflect:!0,attribute:"space-above"},spaceBelow:{type:String,reflect:!0,attribute:"space-below"}}}constructor(){super(),this.icon="search",this.heading="",this.lead="",this.framed=!1,this.headingLevel=2,this.spaceAbove="none",this.spaceBelow="none"}static{this.styles=[...c.styles,L,p`
2375
+ </ul>`}},ut=class extends c{static{this.properties={icon:{type:String},heading:{type:String},lead:{type:String},framed:{type:Boolean,reflect:!0},headingLevel:{type:Number,attribute:"heading-level"},spaceAbove:{type:String,reflect:!0,attribute:"space-above"},spaceBelow:{type:String,reflect:!0,attribute:"space-below"}}}constructor(){super(),this.icon="search",this.heading="",this.lead="",this.framed=!1,this.headingLevel=2,this.spaceAbove="none",this.spaceBelow="none"}static{this.styles=[...c.styles,C,p`
2357
2376
  .wrap { display: flex; flex-direction: column; align-items: center; gap: ${s(2)}; padding: ${s(12)} ${s(6)}; text-align: center; }
2358
2377
  :host([framed]) .wrap { border: ${t.borderThin} dashed ${t.border}; border-radius: ${t.radiusXl}; }
2359
2378
  .mark { display: inline-flex; align-items: center; justify-content: center; inline-size: 56px; block-size: 56px; margin-block-end: ${s(2)}; color: ${t.brand}; background: ${t.brandSubtle}; border-radius: 50%; }
@@ -2361,7 +2380,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
2361
2380
  p { margin: 0; max-inline-size: 42ch; color: ${t.textMuted}; text-wrap: pretty; }
2362
2381
  .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: ${s(3)}; margin-block-start: ${s(3)}; }
2363
2382
  `]}render(){return a`<div class="wrap" part="wrap">
2364
- <span class="mark">${S(this.icon,"26px")}</span>
2383
+ <span class="mark">${T(this.icon,"26px")}</span>
2365
2384
  ${this.heading?a`<div class="h" role="heading" aria-level=${this.headingLevel}>${this.heading}</div>`:l}
2366
2385
  ${this.lead?a`<p>${this.lead}</p>`:l}
2367
2386
  <div class="actions"><slot name="actions"></slot></div>
@@ -2425,7 +2444,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
2425
2444
  }
2426
2445
  .btn:hover { background: ${t.brandHover}; }
2427
2446
  .quiet { display: inline-flex; align-items: center; min-block-size: ${t.targetMin}; padding: 0; font: inherit; color: ${t.link}; text-decoration: underline; text-underline-offset: 0.2em; background: none; border: 0; cursor: pointer; }
2428
- .visually-hidden { ${z} }
2447
+ .visually-hidden { ${S} }
2429
2448
  `,D=class extends b{static{this.properties={...b.properties,postcodeLabel:{type:String,attribute:"postcode-label"},findText:{type:String,attribute:"find-text"},chooseLabel:{type:String,attribute:"choose-label"},manualText:{type:String,attribute:"manual-text"},notFoundText:{type:String,attribute:"not-found-text"},lookupUrl:{type:String,attribute:"lookup-url"},addresses:{type:Array}}}constructor(){super(),this.label="Your address",this.postcodeLabel="Postcode",this.findText="Find address",this.chooseLabel="Choose your address",this.manualText="Enter the address yourself",this.notFoundText="No addresses found for that postcode. Check it, or enter the address yourself.",this.lookupUrl="",this.addresses=[],this.manual=!1,this.postcode="",this.searched=!1,this.busy=!1}static{this.styles=[...b.styles,I,Ot,p`
2430
2449
  .row { display: flex; flex-wrap: wrap; gap: ${s(2)}; align-items: flex-end; }
2431
2450
  .row label { display: block; ${$("sm")} font-weight: ${m("semibold")}; margin-block-end: ${s(1)}; }
@@ -2457,7 +2476,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
2457
2476
  ${this.addresses.map(e=>a`<option value=${e.line} ?selected=${e.line===this.value}>${e.line}</option>`)}
2458
2477
  </select></div>`:this.searched&&!this.busy?a`<p class="note" role="status">${this.notFoundText}</p>`:l}
2459
2478
  <button class="quiet switch" type="button" @click=${()=>{this.manual=!0}}>${this.manualText}</button>
2460
- `}updated(e){e.has("error")&&this.toggleAttribute("invalid",!!this.error)}},gt=class extends c{static{this.properties={heading:{type:String},items:{type:Array},spaceAbove:{type:String,reflect:!0,attribute:"space-above"},spaceBelow:{type:String,reflect:!0,attribute:"space-below"}}}constructor(){super(),this.heading="There is a problem",this.items=[],this.spaceAbove="none",this.spaceBelow="md"}static{this.styles=[...c.styles,x,L,E("a"),p`
2479
+ `}updated(e){e.has("error")&&this.toggleAttribute("invalid",!!this.error)}},gt=class extends c{static{this.properties={heading:{type:String},items:{type:Array},spaceAbove:{type:String,reflect:!0,attribute:"space-above"},spaceBelow:{type:String,reflect:!0,attribute:"space-below"}}}constructor(){super(),this.heading="There is a problem",this.items=[],this.spaceAbove="none",this.spaceBelow="md"}static{this.styles=[...c.styles,x,C,E("a"),p`
2461
2480
  :host { display: block; }
2462
2481
  .box { padding: ${s(5)}; border: ${t.borderThick} solid ${t.danger}; border-inline-start-width: 6px; border-radius: ${t.radiusLg}; background: ${t.surfaceCard}; }
2463
2482
  .box:focus { outline: 3px solid ${t.danger}; outline-offset: 2px; }
@@ -2514,7 +2533,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
2514
2533
  <div class="error" id=${this.id_("error")} aria-live="polite">${this.error||l}</div>
2515
2534
  `}renderControl(){return a`<input id=${this.controlId} type="range" min=${this.lowest} max=${this.highest} step=${this.step} .value=${this.value} ?disabled=${this.disabled}
2516
2535
  aria-valuetext=${this.shownAs(Number(this.value)||0)} aria-describedby=${this.describedBy}
2517
- @input=${e=>this.setFormValue(e.target.value)} />`}},oi={done:"Completed","in-progress":"In progress","not-started":"Not started","cannot-start":"Cannot start yet"},ft=class extends c{static{this.properties={heading:{type:String},items:{type:Array},headingLevel:{type:Number,attribute:"heading-level"},spaceAbove:{type:String,reflect:!0,attribute:"space-above"},spaceBelow:{type:String,reflect:!0,attribute:"space-below"}}}constructor(){super(),this.heading="Your application",this.items=[],this.headingLevel=2,this.spaceAbove="none",this.spaceBelow="none"}static{this.styles=[...c.styles,x,L,E("a"),p`
2536
+ @input=${e=>this.setFormValue(e.target.value)} />`}},oi={done:"Completed","in-progress":"In progress","not-started":"Not started","cannot-start":"Cannot start yet"},ft=class extends c{static{this.properties={heading:{type:String},items:{type:Array},headingLevel:{type:Number,attribute:"heading-level"},spaceAbove:{type:String,reflect:!0,attribute:"space-above"},spaceBelow:{type:String,reflect:!0,attribute:"space-below"}}}constructor(){super(),this.heading="Your application",this.items=[],this.headingLevel=2,this.spaceAbove="none",this.spaceBelow="none"}static{this.styles=[...c.styles,x,C,E("a"),p`
2518
2537
  :host { display: block; }
2519
2538
  .h { margin: 0 0 ${s(2)}; ${$("xl")} font-weight: ${m("bold")}; color: ${t.textHeading}; }
2520
2539
  .count { margin: 0 0 ${s(4)}; color: ${t.textMuted}; }
@@ -2534,7 +2553,7 @@ var ce=globalThis,pe=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeSha
2534
2553
  <span>${i.href&&i.status!=="cannot-start"?a`<a href=${i.href} aria-describedby=${this.id_(`s-${i.id}`)}>${i.title}</a>`:a`<span class="title">${i.title}</span>`}
2535
2554
  ${i.hint?a`<span class="hint">${i.hint}</span>`:l}</span>
2536
2555
  <span class="tag" data-status=${i.status} id=${this.id_(`s-${i.id}`)}>${oi[i.status]?v(oi[i.status]):i.status}</span>
2537
- </li>`)}</ul>`}};D.createProperty("manual",{state:!0});D.createProperty("postcode",{state:!0});D.createProperty("searched",{state:!0});D.createProperty("busy",{state:!0});V.createProperty("files",{state:!0});V.createProperty("over",{state:!0});V.createProperty("said",{state:!0});le.createProperty("shown",{state:!0});customElements.define("impakt-address-lookup",D);customElements.define("impakt-error-summary",gt);customElements.define("impakt-file-upload",V);customElements.define("impakt-money-input",le);customElements.define("impakt-range-input",bt);customElements.define("impakt-task-list",ft);export{se as CYCLE,b as FieldElement,Rt as ICONS,vi as ICON_NAMES,De as ImpaktAccordion,D as ImpaktAddressLookup,Ae as ImpaktAlert,ke as ImpaktAppShell,pt as ImpaktAvatar,ht as ImpaktAvatarGroup,Ue as ImpaktBadge,tt as ImpaktBreadcrumbs,ge as ImpaktButton,Le as ImpaktCard,$e as ImpaktCheckbox,Ve as ImpaktCheckboxGroup,je as ImpaktChip,Ke as ImpaktDateInput,we as ImpaktDateTile,Xe as ImpaktDialog,it as ImpaktDivider,Ne as ImpaktDocumentLink,nt as ImpaktDrawer,c as ImpaktElement,ut as ImpaktEmptyState,gt as ImpaktErrorSummary,ot as ImpaktFieldset,V as ImpaktFileUpload,Te as ImpaktFilterChip,Ge as ImpaktGrid,Re as ImpaktHeading,Ze as ImpaktHelp,me as ImpaktIcon,He as ImpaktImage,Ie as ImpaktLink,Ye as ImpaktList,Be as ImpaktLogo,dt as ImpaktMenu,le as ImpaktMoneyInput,et as ImpaktNav,Je as ImpaktPage,ct as ImpaktPagination,Oe as ImpaktPrice,Fe as ImpaktProgress,Ee as ImpaktRadioGroup,bt as ImpaktRangeInput,Se as ImpaktRow,Qe as ImpaktSection,Me as ImpaktSegmentedControl,fe as ImpaktSelect,ye as ImpaktSideNav,mt as ImpaktSlotPicker,rt as ImpaktSpacer,Ce as ImpaktStack,ve as ImpaktStatTile,qe as ImpaktSummaryList,ze as ImpaktSwitch,xe as ImpaktTabBar,Pe as ImpaktTable,at as ImpaktTabs,ft as ImpaktTaskList,_e as ImpaktText,be as ImpaktTextInput,We as ImpaktTextarea,lt as ImpaktToast,st as ImpaktVisuallyHidden,N as LitElement,re as TONE,ie as announceNavigate,ii as base,p as css,I as fieldWidths,x as focusRing,g as fontSize,m as fontWeight,Nt as groupDigits,ri as hideOn,a as html,S as iconSvg,_t as isCurrent,R as lineHeight,ne as lockScroll,P as noChange,l as nothing,_ as pageLocale,ti as reducedMotion,Ct as render,v as say,s as space,L as spaceAround,f as svg,t,w as targetSize,u as token,It as toneOf,E as touchTarget,$ as type,W as unlockScroll,C as unsafeCSS,z as visuallyHidden};
2556
+ </li>`)}</ul>`}};D.createProperty("manual",{state:!0});D.createProperty("postcode",{state:!0});D.createProperty("searched",{state:!0});D.createProperty("busy",{state:!0});V.createProperty("files",{state:!0});V.createProperty("over",{state:!0});V.createProperty("said",{state:!0});le.createProperty("shown",{state:!0});customElements.define("impakt-address-lookup",D);customElements.define("impakt-error-summary",gt);customElements.define("impakt-file-upload",V);customElements.define("impakt-money-input",le);customElements.define("impakt-range-input",bt);customElements.define("impakt-task-list",ft);export{se as CYCLE,b as FieldElement,Rt as ICONS,vi as ICON_NAMES,De as ImpaktAccordion,D as ImpaktAddressLookup,Ae as ImpaktAlert,ke as ImpaktAppShell,pt as ImpaktAvatar,ht as ImpaktAvatarGroup,Ue as ImpaktBadge,tt as ImpaktBreadcrumbs,ge as ImpaktButton,Ce as ImpaktCard,$e as ImpaktCheckbox,Ve as ImpaktCheckboxGroup,je as ImpaktChip,Ke as ImpaktDateInput,we as ImpaktDateTile,Xe as ImpaktDialog,it as ImpaktDivider,Ne as ImpaktDocumentLink,nt as ImpaktDrawer,c as ImpaktElement,ut as ImpaktEmptyState,gt as ImpaktErrorSummary,ot as ImpaktFieldset,V as ImpaktFileUpload,Te as ImpaktFilterChip,Ge as ImpaktGrid,Re as ImpaktHeading,Ze as ImpaktHelp,me as ImpaktIcon,He as ImpaktImage,Ie as ImpaktLink,Ye as ImpaktList,Be as ImpaktLogo,dt as ImpaktMenu,le as ImpaktMoneyInput,et as ImpaktNav,Je as ImpaktPage,ct as ImpaktPagination,Oe as ImpaktPrice,Fe as ImpaktProgress,Ee as ImpaktRadioGroup,bt as ImpaktRangeInput,Se as ImpaktRow,Qe as ImpaktSection,Me as ImpaktSegmentedControl,fe as ImpaktSelect,ye as ImpaktSideNav,mt as ImpaktSlotPicker,rt as ImpaktSpacer,Le as ImpaktStack,ve as ImpaktStatTile,qe as ImpaktSummaryList,ze as ImpaktSwitch,xe as ImpaktTabBar,Pe as ImpaktTable,at as ImpaktTabs,ft as ImpaktTaskList,_e as ImpaktText,be as ImpaktTextInput,We as ImpaktTextarea,lt as ImpaktToast,st as ImpaktVisuallyHidden,N as LitElement,re as TONE,ie as announceNavigate,ii as base,p as css,I as fieldWidths,x as focusRing,g as fontSize,m as fontWeight,Nt as groupDigits,ri as hideOn,a as html,T as iconSvg,_t as isCurrent,R as lineHeight,ne as lockScroll,P as noChange,l as nothing,_ as pageLocale,ti as reducedMotion,Lt as render,v as say,s as space,C as spaceAround,f as svg,t,w as targetSize,u as token,It as toneOf,E as touchTarget,$ as type,W as unlockScroll,L as unsafeCSS,S as visuallyHidden};
2538
2557
  /*! Bundled license information:
2539
2558
 
2540
2559
  @lit/reactive-element/css-tag.js: