@ganpatiinfo/gids-core-web 13.0.0 → 14.0.0

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 (195) hide show
  1. package/dist/css/index.css +912 -56
  2. package/dist/css/index.css.map +1 -1
  3. package/dist/gids-action-bar.js +1 -1
  4. package/dist/gids-activity-gauge.js +1 -1
  5. package/dist/gids-advanced-tooltip.d.ts +11 -0
  6. package/dist/gids-advanced-tooltip.js +1 -0
  7. package/dist/gids-bar-chart.js +1 -1
  8. package/dist/gids-calendar-header-panel.js +1 -1
  9. package/dist/gids-calendar-month-list.js +1 -1
  10. package/dist/gids-calendar-year-list.js +1 -1
  11. package/dist/gids-calendar.js +1 -1
  12. package/dist/gids-chart-legend-item.js +1 -1
  13. package/dist/gids-chart-legend.js +1 -1
  14. package/dist/gids-chart.js +1 -1
  15. package/dist/gids-chevron-button.js +1 -1
  16. package/dist/gids-dot.js +1 -1
  17. package/dist/gids-dropdown-field.js +1 -1
  18. package/dist/gids-dropdown-picker.js +1 -1
  19. package/dist/gids-dropdown.js +1 -1
  20. package/dist/gids-expansion-body-list-item.js +1 -1
  21. package/dist/gids-expansion-body-list.js +1 -1
  22. package/dist/gids-expansion-group.js +1 -1
  23. package/dist/gids-expansion.js +1 -1
  24. package/dist/gids-field.js +1 -1
  25. package/dist/gids-filter.js +1 -1
  26. package/dist/gids-icon.js +1 -1
  27. package/dist/gids-input.js +1 -1
  28. package/dist/gids-line-chart.js +1 -1
  29. package/dist/gids-md-table.js +1 -1
  30. package/dist/gids-overflow-container.js +1 -1
  31. package/dist/gids-overlay-provider.js +1 -1
  32. package/dist/gids-password-field.js +1 -1
  33. package/dist/gids-pie-chart.js +1 -1
  34. package/dist/gids-popover.js +1 -1
  35. package/dist/gids-scrim.js +1 -1
  36. package/dist/gids-tab-item.js +1 -1
  37. package/dist/gids-tab.js +1 -1
  38. package/dist/gids-text-field.js +1 -1
  39. package/dist/gids-toggle-button.js +1 -1
  40. package/dist/gids-tooltip.js +1 -1
  41. package/dist/{p-pSb81aE0.js → p-1fMG8D4t.js} +1 -1
  42. package/dist/p-BBszCFSA.js +1 -0
  43. package/dist/p-BKcvOO8o.js +1 -0
  44. package/dist/p-BV0jg2ix.js +1 -0
  45. package/dist/p-BVA1LAFM.js +1 -0
  46. package/dist/p-BYt-9DKT.js +1 -0
  47. package/dist/{p-C3We7Q8Q.js → p-Bab1qxsC.js} +1 -1
  48. package/dist/{p-C3w3wdCt.js → p-Bh8qYmAS.js} +1 -1
  49. package/dist/{p-BSbOhfLZ.js → p-BzzDNTlP.js} +1 -1
  50. package/dist/{p-C2O_pGky.js → p-CU5JIcEp.js} +1 -1
  51. package/dist/{p-Chqeexny.js → p-C_RW9IFo.js} +1 -1
  52. package/dist/{p-ub0GuVHb.js → p-CatvDz2b.js} +1 -1
  53. package/dist/{p-BVAtja26.js → p-CnVmK0dH.js} +1 -1
  54. package/dist/p-D5DRatg0.js +1 -0
  55. package/dist/{p-6APCjBEI.js → p-DAnkY5ik.js} +1 -1
  56. package/dist/p-DMVCMnTe.js +1 -0
  57. package/dist/p-DUUxlY-K.js +1 -0
  58. package/dist/{p-COHuQEfZ.js → p-Dan1sCNk.js} +1 -1
  59. package/dist/{p-BCVFQSjK.js → p-DslOQITw.js} +1 -1
  60. package/dist/{p-DUojHltk.js → p-_HwuS8vK.js} +1 -1
  61. package/dist/{p-4lN1OdcA.js → p-jzl-rPxB.js} +1 -1
  62. package/dist/types/components/html/GidsBasicTableBody/GidsBasicTableBody.d.ts +28 -4
  63. package/dist/types/components/html/GidsBasicTableHead/GidsBasicTableHead.d.ts +15 -0
  64. package/dist/types/components/html/GidsBasicTableHeader/GidsBasicTableHeader.d.ts +22 -3
  65. package/dist/types/components/html/GidsBasicTableRow/GidsBasicTableRow.d.ts +19 -3
  66. package/dist/types/components/html/GidsBsTable/GidsBsTable.d.ts +26 -3
  67. package/dist/types/components/html/GidsColorSwatch/GidsColorSwatch.d.ts +6 -0
  68. package/dist/types/components/html/GidsMatrixTable/GidsMatrixTable.d.ts +11 -0
  69. package/dist/types/components/html/GidsMatrixTableBody/GidsMatrixTableBody.d.ts +11 -0
  70. package/dist/types/components/html/GidsPagination/GidsPagination.d.ts +10 -0
  71. package/dist/types/components/html/GidsPaginator/GidsPaginator.d.ts +6 -0
  72. package/dist/types/components/html/GidsPaginatorItem/GidsPaginatorItem.d.ts +7 -0
  73. package/dist/types/components/html/GidsTable/GidsTable.d.ts +16 -0
  74. package/dist/types/components/html/GidsTableBody/GidsTableBody.d.ts +11 -0
  75. package/dist/types/components/html/GidsTableCell/GidsTableCell.d.ts +21 -0
  76. package/dist/types/components/html/GidsTableEntry/GidsTableEntry.d.ts +9 -0
  77. package/dist/types/components/html/GidsTableFooter/GidsTableFooter.d.ts +12 -0
  78. package/dist/types/components/html/GidsTableFooterControl/GidsTableFooterControl.d.ts +8 -0
  79. package/dist/types/components/html/GidsTableHeader/GidsTableHeader.d.ts +9 -0
  80. package/dist/types/components/html/GidsTableRow/GidsTableRow.d.ts +9 -0
  81. package/dist/types/components/html/GidsTableToolbar/GidsTableToolbar.d.ts +11 -0
  82. package/dist/types/components/html/_GidsPaginationItem/GidsPaginationItem.d.ts +10 -0
  83. package/dist/types/components/webComponents/GidsAdvancedTooltip/GidsAdvancedTooltip.d.ts +28 -0
  84. package/dist/types/components/webComponents/GidsBarChart/GidsBarChart.d.ts +7 -0
  85. package/dist/types/components/webComponents/GidsChartLegendItem/GidsChartLegendItem.d.ts +7 -0
  86. package/dist/types/components/webComponents/GidsLineChart/GidsLineChart.d.ts +7 -0
  87. package/dist/types/components/webComponents/GidsMdTable/GidsMdTable.d.ts +12 -9
  88. package/dist/types/components.d.ts +114 -17
  89. package/dist-bundled/es/gids-action-bar.js +3 -3
  90. package/dist-bundled/es/gids-activity-gauge.js +4 -4
  91. package/dist-bundled/es/gids-advanced-tooltip.js +6 -0
  92. package/dist-bundled/es/gids-bar-chart.js +1 -1
  93. package/dist-bundled/es/gids-calendar-header-panel.js +3 -3
  94. package/dist-bundled/es/gids-calendar-month-list.js +3 -3
  95. package/dist-bundled/es/gids-calendar-year-list.js +4 -4
  96. package/dist-bundled/es/gids-calendar.js +23 -23
  97. package/dist-bundled/es/gids-chart-legend-item.js +4 -4
  98. package/dist-bundled/es/gids-chart-legend.js +4 -4
  99. package/dist-bundled/es/gids-chart.js +38 -34
  100. package/dist-bundled/es/gids-chevron-button.js +7 -7
  101. package/dist-bundled/es/gids-dot.js +1 -1
  102. package/dist-bundled/es/gids-dropdown-field.js +6 -6
  103. package/dist-bundled/es/gids-dropdown-picker.js +2 -2
  104. package/dist-bundled/es/gids-dropdown.js +3 -3
  105. package/dist-bundled/es/gids-expansion-body-list-item.js +3 -3
  106. package/dist-bundled/es/gids-expansion-body-list.js +2 -2
  107. package/dist-bundled/es/gids-expansion-group.js +13 -13
  108. package/dist-bundled/es/gids-expansion.js +6 -6
  109. package/dist-bundled/es/gids-field.js +3 -3
  110. package/dist-bundled/es/gids-filter.js +4 -4
  111. package/dist-bundled/es/gids-icon.js +1 -1
  112. package/dist-bundled/es/gids-input.js +4 -4
  113. package/dist-bundled/es/gids-line-chart.js +1 -1
  114. package/dist-bundled/es/gids-md-table.js +121 -88
  115. package/dist-bundled/es/gids-overflow-container.js +1 -1
  116. package/dist-bundled/es/gids-overlay-provider.js +1 -1
  117. package/dist-bundled/es/gids-password-field.js +9 -9
  118. package/dist-bundled/es/gids-pie-chart.js +4 -4
  119. package/dist-bundled/es/gids-popover.js +2 -2
  120. package/dist-bundled/es/gids-scrim.js +7 -7
  121. package/dist-bundled/es/gids-tab-item.js +1 -1
  122. package/dist-bundled/es/gids-tab.js +1 -1
  123. package/dist-bundled/es/gids-text-field.js +9 -9
  124. package/dist-bundled/es/gids-toggle-button.js +1 -1
  125. package/dist-bundled/es/gids-tooltip.js +2 -2
  126. package/dist-bundled/es/{p-pSb81aE0-WzAszFOQ.js → p-1fMG8D4t-CIEDM74u.js} +2 -2
  127. package/dist-bundled/es/p-BBszCFSA-BN0-eWJX.js +115 -0
  128. package/dist-bundled/es/p-BKcvOO8o-L5KtCP_k.js +1024 -0
  129. package/dist-bundled/es/{p-C3xv7tfs-DHsjc3Ns.js → p-BV0jg2ix-DI0fZl_6.js} +15 -12
  130. package/dist-bundled/es/p-BVA1LAFM-DdsY_n8R.js +129 -0
  131. package/dist-bundled/es/{p-CI-sN9Lr-BvWzRJw-.js → p-BYt-9DKT-DByyhIUd.js} +13 -13
  132. package/dist-bundled/es/{p-C3We7Q8Q-2EoDLj5m.js → p-Bab1qxsC-BMbD0lEy.js} +2 -2
  133. package/dist-bundled/es/{p-C3w3wdCt-BTH-jYlI.js → p-Bh8qYmAS-DhSpwB20.js} +4 -4
  134. package/dist-bundled/es/{p-BSbOhfLZ-BdEHhmFM.js → p-BzzDNTlP-BkSyrafk.js} +8 -8
  135. package/dist-bundled/es/{p-C2O_pGky-CP4PN55D.js → p-CU5JIcEp-CuVpd-eZ.js} +10 -10
  136. package/dist-bundled/es/{p-Chqeexny-BuJ-PhNi.js → p-C_RW9IFo-DNQqJS8t.js} +5 -5
  137. package/dist-bundled/es/{p-ub0GuVHb-C9vrhXyF.js → p-CatvDz2b-C-Hlv2Xb.js} +9 -9
  138. package/dist-bundled/es/{p-BVAtja26-C16IjShX.js → p-CnVmK0dH-CbmnN-RR.js} +6 -6
  139. package/dist-bundled/es/{p-_SIWct9h-jMYFZ-VO.js → p-D5DRatg0-DtQL-DQg.js} +2 -2
  140. package/dist-bundled/es/{p-6APCjBEI-BREg63Xr.js → p-DAnkY5ik-ChPtRpOX.js} +5 -5
  141. package/dist-bundled/es/p-DMVCMnTe-D4eJKJsj.js +111 -0
  142. package/dist-bundled/es/p-DUUxlY-K-mypBhVt6.js +99 -0
  143. package/dist-bundled/es/{p-COHuQEfZ-DcUxD9TI.js → p-Dan1sCNk-mWcyyplK.js} +11 -11
  144. package/dist-bundled/es/{p-BCVFQSjK-CKrYrI4b.js → p-DslOQITw-BfwtLWqG.js} +7 -7
  145. package/dist-bundled/es/{p-DUojHltk-BQ0ryfLD.js → p-_HwuS8vK-C0w4T5rV.js} +2 -2
  146. package/dist-bundled/es/{p-4lN1OdcA-xYP8gbDc.js → p-jzl-rPxB-CC735zJp.js} +7 -7
  147. package/dist-bundled/umd/gids-action-bar.umd.js +2 -2
  148. package/dist-bundled/umd/gids-activity-gauge.umd.js +2 -2
  149. package/dist-bundled/umd/gids-advanced-tooltip.umd.js +5 -0
  150. package/dist-bundled/umd/gids-bar-chart.umd.js +8 -8
  151. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +1 -1
  152. package/dist-bundled/umd/gids-calendar-month-list.umd.js +2 -2
  153. package/dist-bundled/umd/gids-calendar-year-list.umd.js +1 -1
  154. package/dist-bundled/umd/gids-calendar.umd.js +1 -1
  155. package/dist-bundled/umd/gids-chart-legend-item.umd.js +2 -2
  156. package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
  157. package/dist-bundled/umd/gids-chart.umd.js +5 -5
  158. package/dist-bundled/umd/gids-chevron-button.umd.js +1 -1
  159. package/dist-bundled/umd/gids-dot.umd.js +1 -1
  160. package/dist-bundled/umd/gids-dropdown-field.umd.js +1 -1
  161. package/dist-bundled/umd/gids-dropdown-picker.umd.js +1 -1
  162. package/dist-bundled/umd/gids-dropdown.umd.js +1 -1
  163. package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +1 -1
  164. package/dist-bundled/umd/gids-expansion-body-list.umd.js +1 -1
  165. package/dist-bundled/umd/gids-expansion-group.umd.js +1 -1
  166. package/dist-bundled/umd/gids-expansion.umd.js +1 -1
  167. package/dist-bundled/umd/gids-field.umd.js +1 -1
  168. package/dist-bundled/umd/gids-filter.umd.js +2 -2
  169. package/dist-bundled/umd/gids-icon.umd.js +1 -1
  170. package/dist-bundled/umd/gids-input.umd.js +1 -1
  171. package/dist-bundled/umd/gids-line-chart.umd.js +2 -2
  172. package/dist-bundled/umd/gids-md-table.umd.js +2 -2
  173. package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
  174. package/dist-bundled/umd/gids-overlay-provider.umd.js +1 -1
  175. package/dist-bundled/umd/gids-password-field.umd.js +1 -1
  176. package/dist-bundled/umd/gids-pie-chart.umd.js +2 -2
  177. package/dist-bundled/umd/gids-popover.umd.js +2 -2
  178. package/dist-bundled/umd/gids-scrim.umd.js +1 -1
  179. package/dist-bundled/umd/gids-tab-item.umd.js +2 -2
  180. package/dist-bundled/umd/gids-tab.umd.js +1 -1
  181. package/dist-bundled/umd/gids-text-field.umd.js +1 -1
  182. package/dist-bundled/umd/gids-toggle-button.umd.js +2 -2
  183. package/dist-bundled/umd/gids-tooltip.umd.js +1 -1
  184. package/dist-bundled/umd-complete/gids-core-web.umd.js +8 -8
  185. package/package.json +17 -9
  186. package/dist/p-C3xv7tfs.js +0 -1
  187. package/dist/p-C56G7JRy.js +0 -1
  188. package/dist/p-CI-sN9Lr.js +0 -1
  189. package/dist/p-DO0MyFf4.js +0 -1
  190. package/dist/p-_SIWct9h.js +0 -1
  191. package/dist/p-a3JfEYJp.js +0 -1
  192. package/dist/types/components/html/GidsBasicTableCell/GidsBasicTableCell.d.ts +0 -5
  193. package/dist-bundled/es/p-C56G7JRy-BCGZG2-3.js +0 -88
  194. package/dist-bundled/es/p-DO0MyFf4-Ddg5sVMx.js +0 -115
  195. package/dist-bundled/es/p-a3JfEYJp-DyhDK6VZ.js +0 -1128
@@ -2,4 +2,4 @@
2
2
  Flattening is not supported for Stencil non-shadow slots.
3
3
  You can use \`.childNodes\` to nested slot fallback content.
4
4
  If you have a particular use case, please open an issue on the Stencil repo.
5
- `);const S=this["s-cr"].parentElement;return(S.__childNodes?S.childNodes:(x=>{const m=[];for(let y=0;y<x.length;y++){const g=x[y]["s-nr"]||void 0;g&&g.isConnected&&m.push(g)}return m})(S.childNodes)).forEach((x=>{h===z(x)&&f.push(x)})),d?f.filter((x=>x.nodeType===1)):f}).bind(p);p.assignedElements=c(!0),p.assignedNodes=c(!1)})(o),r=e&&e.m&&e.m[i],r&&r.O===n.O&&e.S&&Ne(e.S)),o},Ne=e=>{T.i|=1;const t=e.closest(A.toLowerCase());if(t!=null){const i=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of i?s.reverse():s)n["s-sh"]!=null&&(I(t,n,i??null),n["s-sh"]=void 0,q=!0)}T.i&=-2},Z=(e,t)=>{T.i|=1;const i=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===A&&i.push(s)}for(let s=i.length-1;s>=0;s--){const n=i[s];n["s-hn"]!==A&&n["s-ol"]&&(I(H(n).parentNode,n,H(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,q=!0),t&&Z(n,t)}T.i&=-2},Ie=(e,t,i,s,n,o)=>{let a,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===A&&(r=r.shadowRoot),i.O==="template"&&(r=r.content);n<=o;++n)s[n]&&(a=Y(null,i,n),a&&(s[n].S=a,I(r,a,H(t))))},Be=(e,t,i)=>{for(let s=t;s<=i;++s){const n=e[s];if(n){const o=n.S;Oe(n),o&&(G=!0,o["s-ol"]?o["s-ol"].remove():Z(o,!0),o.remove())}}},J=(e,t,i=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:i?(i&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),H=e=>e&&e["s-ol"]||e,V=(e,t,i=!1)=>{const s=t.S=e.S,n=e.m,o=t.m,a=t.O,r=t.h;let l;r==null?(E=a==="svg"||a!=="foreignObject"&&E,a!=="slot"||M||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Ne(t.S.parentElement)),ae(e,t,E),n!==null&&o!==null?((p,c,d,u,f=!1)=>{let h,S,x=0,m=0,y=0,g=0,_=c.length-1,b=c[0],L=c[_],w=u.length-1,N=u[0],B=u[w];const He=d.O==="template"?p.content:p;for(;x<=_&&m<=w;)if(b==null)b=c[++x];else if(L==null)L=c[--_];else if(N==null)N=u[++m];else if(B==null)B=u[--w];else if(J(b,N,f))V(b,N,f),b=c[++x],N=u[++m];else if(J(L,B,f))V(L,B,f),L=c[--_],B=u[--w];else if(J(b,B,f))b.O!=="slot"&&B.O!=="slot"||Z(b.S.parentNode,!1),V(b,B,f),I(He,b.S,L.S.nextSibling),b=c[++x],B=u[--w];else if(J(L,N,f))b.O!=="slot"&&B.O!=="slot"||Z(L.S.parentNode,!1),V(L,N,f),I(He,L.S,b.S),L=c[--_],N=u[++m];else{for(y=-1,g=x;g<=_;++g)if(c[g]&&c[g].$!==null&&c[g].$===N.$){y=g;break}y>=0?(S=c[y],S.O!==N.O?h=Y(c&&c[m],d,y):(V(S,N,f),c[y]=void 0,h=S.S),N=u[++m]):(h=Y(c&&c[m],d,m),N=u[++m]),h&&I(H(b.S).parentNode,h,H(b.S))}x>_?Ie(p,u[w+1]==null?null:u[w+1].S,d,u,m,w):m>w&&Be(c,x,_)})(s,n,t,o,i):o!==null?(e.h!==null&&(s.textContent=""),Ie(s,null,t,o,0,o.length-1)):!i&&n!==null&&Be(n,0,n.length-1),E&&a==="svg"&&(E=!1)):(l=s["s-cr"])?l.parentNode.textContent=r:e.h!==r&&(s.data=r)},O=[],ke=e=>{let t,i,s;const n=e.__childNodes||e.childNodes;for(const o of n){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){i=t.parentNode.__childNodes||t.parentNode.childNodes;const a=o["s-sn"];for(s=i.length-1;s>=0;s--)if(t=i[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===o["s-hn"]||t["s-sh"]&&t["s-sh"]===o["s-hn"]))if(xe(t,a)){let r=O.find((l=>l.k===t));G=!0,t["s-sn"]=t["s-sn"]||a,r?(r.k["s-sh"]=o["s-hn"],r.N=o):(t["s-sh"]=o["s-hn"],O.push({N:o,k:t})),t["s-sr"]&&O.map((l=>{xe(l.k,t["s-sn"])&&(r=O.find((p=>p.k===t)),r&&!l.N&&(l.N=r.N))}))}else O.some((r=>r.k===t))||O.push({k:t})}o.nodeType===1&&ke(o)}},Oe=e=>{e.v&&e.v.ref&&re.push((()=>e.v.ref(null))),e.m&&e.m.map(Oe)},tt=(e,t)=>{de.push((()=>e(t)))},I=(e,t,i,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,i);const{slotNode:n}=(function(o,a){var r;if(!(a=a||((r=o["s-ol"])==null?void 0:r.parentElement)))return{slotNode:null,slotName:""};const l=o["s-sn"]=z(o)||"";return{slotNode:se(ie(a,"childNodes"),a.tagName,l)[0],slotName:l}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,i):e?.insertBefore(t,i)},st=(e,t,i=!1)=>{var s,n,o,a,r;const l=e.$hostElement$,p=e.o,c=e.M||W(null,null);var d;const u=(d=t)&&d.O===le?t:C(null,null,t);if(A=l.tagName,p.C&&(u.v=u.v||{},p.C.forEach((([f,h])=>{u.v[h]=l[f]}))),i&&u.v)for(const f of Object.keys(u.v))l.hasAttribute(f)&&!["key","ref","style","class"].includes(f)&&(u.v[f]=l[f]);if(u.O=null,u.i|=4,e.M=u,u.S=c.S=l.shadowRoot||l,M=!(!(1&p.i)||128&p.i),ne=l["s-cr"],G=!1,V(c,u,i),T.i|=1,q){ke(u.S);for(const f of O){const h=f.k;if(!h["s-ol"]&&v.document){const S=v.document.createTextNode("");S["s-nr"]=h,I(h.parentNode,h["s-ol"]=S,h,i)}}for(const f of O){const h=f.k,S=f.N;if(h.nodeType===1&&i&&(h["s-ih"]=(s=h.hidden)!=null&&s),S){const x=S.parentNode;let m=S.nextSibling;if(m&&m.nodeType===1){let y=(n=h["s-ol"])==null?void 0:n.previousSibling;for(;y;){let g=(o=y["s-nr"])!=null?o:null;if(g&&g["s-sn"]===h["s-sn"]&&x===(g.__parentNode||g.parentNode)){for(g=g.nextSibling;g===h||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){m=g;break}}y=y.previousSibling}}if((!m&&x!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==m)&&h!==m){if(I(x,h,m,i),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=v.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=h["s-hn"],y["s-sn"]=h["s-sn"],y["s-sh"]=h["s-sh"],y["s-sr"]=h["s-sr"],y["s-ol"]=h["s-ol"],y["s-ol"]["s-nr"]=y,I(h.parentNode,y,h,i),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(a=h["s-ih"])!=null&&a)}h&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else h.nodeType===1&&(h.hidden=!0)}}if(G&&be(u.S),T.i&=-2,O.length=0,!M&&!(1&p.i)&&l["s-cr"]){const f=u.S.__childNodes||u.S.childNodes;for(const h of f)if(h["s-hn"]!==A&&!h["s-sh"]){if(i&&h["s-ih"]==null&&(h["s-ih"]=(r=h.hidden)!=null&&r),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const S=v.document.createComment("s-nt-"+h.nodeValue);S["s-sn"]=h["s-sn"],I(h.parentNode,S,h,i),h.parentNode.removeChild(h)}}}ne=void 0,re.forEach((f=>f())),re.length=0,de.forEach((f=>f())),de.length=0},Pe=(e,t)=>{if(t&&!e.A&&t["s-p"]){const i=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(i-1,1),s()})))}},pe=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Pe(e,e.R);const i=()=>it(e,t);if(!t)return qe(i);queueMicrotask((()=>{i()}))},it=(e,t)=>{const i=e.$hostElement$,s=i;if(!s)throw new Error(`Can't render component <${i.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=F(s,t?"componentWillLoad":"componentWillUpdate",void 0,i),n=je(n,(()=>F(s,"componentWillRender",void 0,i))),je(n,(()=>ot(e,s,t)))},je=(e,t)=>nt(e)?e.then(t).catch((i=>{console.error(i),t()})):t(),nt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",ot=async(e,t,i)=>{var s;const n=e.$hostElement$,o=n["s-rc"];i&&(a=>{const r=a.o,l=a.$hostElement$,p=r.i,c=((d,u)=>{var f,h,S;const x=Se(u),m=U.get(x);if(!v.document)return x;if(d=d.nodeType===11?d:v.document,m)if(typeof m=="string"){let y,g=P.get(d=d.head||d);if(g||P.set(d,g=new Set),!g.has(x)){y=v.document.createElement("style"),y.textContent=m;const _=(f=T._)!=null?f:(function(){var b,L,w;return(w=(L=(b=v.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:L.getAttribute("content"))!=null?w:void 0})();if(_!=null&&y.setAttribute("nonce",_),!(1&u.i))if(d.nodeName==="HEAD"){const b=d.querySelectorAll("link[rel=preconnect]"),L=b.length>0?b[b.length-1].nextSibling:d.querySelector("style");d.insertBefore(y,L?.parentNode===d?L:null)}else if("host"in d)if(K){const b=new((h=d.defaultView)!=null?h:d.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(m),Q?d.adoptedStyleSheets.unshift(b):d.adoptedStyleSheets=[b,...d.adoptedStyleSheets]}else{const b=d.querySelector("style");b?b.textContent=m+b.textContent:d.prepend(y)}else d.append(y);1&u.i&&d.insertBefore(y,null),4&u.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),g&&g.add(x)}}else{let y=P.get(d);if(y||P.set(d,y=new Set),!y.has(x)){const g=(S=d.defaultView)!=null?S:d.ownerDocument.defaultView;let _;if(m.constructor===g.CSSStyleSheet)_=m;else{_=new g.CSSStyleSheet;for(let b=0;b<m.cssRules.length;b++)_.insertRule(m.cssRules[b].cssText,b)}Q?d.adoptedStyleSheets.push(_):d.adoptedStyleSheets=[...d.adoptedStyleSheets,_],y.add(x)}}return x})(l.shadowRoot?l.shadowRoot:l.getRootNode(),r);10&p&&(l["s-sc"]=c,l.classList.add(c+"-h"))})(e),lt(e,t,n,i),o&&(o.map((a=>a())),n["s-rc"]=void 0);{const a=(s=n["s-p"])!=null?s:[],r=()=>at(e);a.length===0?r():(Promise.all(a).then(r).catch(r),e.i|=4,a.length=0)}},lt=(e,t,i,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,st(e,t,s)}catch(n){$(n,e.$hostElement$)}return null},at=e=>{const t=e.$hostElement$,i=t,s=e.R;F(i,"componentDidRender",void 0,t),64&e.i?F(i,"componentDidUpdate",void 0,t):(e.i|=64,dt(t),F(i,"componentDidLoad",void 0,t),e.L(t),s||rt()),e.A&&(e.A(),e.A=void 0),512&e.i&&te((()=>pe(e,!1))),e.i&=-517},rt=()=>{te((()=>Qe(v,"appload",{detail:{namespace:"gids-core-web"}})))},F=(e,t,i,s)=>{if(e&&e[t])try{return e[t](i)}catch(n){$(n,s)}},dt=e=>e.classList.add("hydrated"),$e=(e,t,i,s)=>{const n=k(e);if(!n)return;const o=e,a=n.l.get(t),r=n.i,l=o;i=_e(i,s.t[t][0],!!(64&s.i));const p=Number.isNaN(a)&&Number.isNaN(i);if(i!==a&&!p){if(n.l.set(t,i),s.F){const c=s.F[t];c&&c.map((d=>{try{const[[u,f]]=Object.entries(d);(128&r||1&f)&&(l?l[u](i,a,t):n.T.push((()=>{n.D[u](i,a,t)})))}catch(u){$(u,o)}}))}if(2&r){if(l.componentShouldUpdate&&l.componentShouldUpdate(i,a,t)===!1&&!(16&r))return;16&r||pe(n,!1)}}},pt=(e,t,i)=>{var s,n;const o=e.prototype;64&t.i&&1&i&&Ue.forEach((a=>{const r=o[a];Object.defineProperty(o,a,{value(...l){var p;const c=k(this),d=this;d?typeof r=="function"&&r.call(d,...l):(p=c?.H)==null||p.then((u=>{const f=u[a];typeof f=="function"&&f.call(u,...l)}))}})}));{e.watchers&&!t.F&&(t.F=Le(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const a=Object.entries((s=t.t)!=null?s:{});a.map((([r,[l]])=>{if(31&l||32&l){const{get:p,set:c}=D(o,r)||{};p&&(t.t[r][0]|=2048),c&&(t.t[r][0]|=4096),Object.defineProperty(o,r,{get(){return p?p.apply(this):(d=r,k(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(o,r,{set(d){const u=k(this);if(u){if(c)return(32&l?this[r]:u.$hostElement$[r])===void 0&&u.l.get(r)&&(d=u.l.get(r)),c.apply(this,[_e(d,l,!!(64&t.i))]),void $e(this,r,d=32&l?this[r]:u.$hostElement$[r],t);$e(this,r,d,t)}}})}}));{const r=new Map;o.attributeChangedCallback=function(l,p,c){T.jmp((()=>{var d;const u=r.get(l),f=k(this);if(this.hasOwnProperty(u),o.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const y=f?.i;if(f&&y&&!(8&y)&&c!==p){const g=this,_=(d=t.F)==null?void 0:d[l];_?.forEach((b=>{const[[L,w]]=Object.entries(b);g[L]!=null&&(128&y||1&w)&&g[L].call(g,c,p,l)}))}return}const h=a.find((([y])=>y===u)),S=h&&4&h[1][0],x=S&&c===null&&this[u]===void 0;S&&(c=c!==null&&c!=="false");const m=Object.getOwnPropertyDescriptor(o,u);x||c==this[u]||m.get&&!m.set||(this[u]=c)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...a.filter((([l,p])=>31&p[0])).map((([l,p])=>{var c;const d=p[1]||l;return r.set(d,l),512&p[0]&&((c=t.C)==null||c.push([l,d])),d}))]))}}return e},Ae=(e,t)=>{const i={i:t[0],p:t[1]};try{i.t=t[2],i.W=t[3],i.F=Le(e.F),i.P=e.P,i.U=e.U,i.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((o,a)=>{const r={i:0,$hostElement$:o,o:a,l:new Map,B:new Map};r.H=new Promise((p=>r.L=p)),o["s-p"]=[],o["s-rc"]=[];const l=r;o.__stencil__getHostRef=()=>l,512&a.i&&Fe(o,r)})(this,i)},connectedCallback(){if(!this.__hasHostListenerAttached){const o=k(this);if(!o)return;De(this,o,i.W),this.__hasHostListenerAttached=!0}(o=>{if(!(1&T.i)){const a=k(o);if(!a)return;const r=a.o;if(1&a.i)De(o,a,r.W),a?.D||a?.H&&a.H.then((()=>{}));else{a.i|=1,12&r.i&&(l=>{if(!v.document)return;const p=l["s-cr"]=v.document.createComment("");p["s-cn"]=!0,I(l,p,l.firstChild)})(o);{let l=o;for(;l=l.parentNode||l.host;)if(l["s-p"]){Pe(a,a.R=l);break}}r.t&&Object.entries(r.t).map((([l,[p]])=>{if(31&p&&Object.prototype.hasOwnProperty.call(o,l)){const c=o[l];delete o[l],o[l]=c}})),(async(l,p,c)=>{let d;try{if(!(32&p.i)&&(p.i|=32,d=l.constructor,customElements.whenDefined(l.localName).then((()=>p.i|=128)),d&&d.style)){let h;typeof d.style=="string"&&(h=d.style);const S=Se(c);U.has(S)||((x,m,y)=>{let g=U.get(x);K&&y?(g=g||new CSSStyleSheet,typeof g=="string"?g=m:g.replaceSync(m)):g=m,U.set(x,g)})(S,h,!!(1&c.i))}const u=p.R,f=()=>pe(p,!0);u&&u["s-rc"]?u["s-rc"].push(f):f()}catch(u){$(u,l),p.A&&(p.A(),p.A=void 0),p.L&&p.L(l)}})(o,a,r)}}})(this),s&&s.call(this)},disconnectedCallback(){(async o=>{if(!(1&T.i)){const a=k(o);a?.V&&(a.V.map((r=>r())),a.V=void 0)}P.has(o)&&P.delete(o),o.shadowRoot&&P.has(o.shadowRoot)&&P.delete(o.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${i.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ye.call(this,i)}}),Object.defineProperty(e,"is",{value:i.p,configurable:!0}),pt(e,i,3)}catch(s){return $(s),e}},De=(e,t,i)=>{i&&v.document&&i.map((([s,n,o])=>{const a=ut(v.document,e,s),r=ct(t,o),l=ht(s);T.ael(a,n,r,l),(t.V=t.V||[]).push((()=>T.rel(a,n,r,l)))}))},ct=(e,t)=>i=>{try{e.$hostElement$[t](i)}catch(s){$(s,e.$hostElement$)}},ut=(e,t,i)=>8&i?v:t,ht=e=>We?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Tt(e){return e}function Ve(e){var t,i,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(i=Ve(e[t]))&&(s&&(s+=" "),s+=i)}else for(i in e)e[i]&&(s&&(s+=" "),s+=i);return s}function ce(){for(var e,t,i=0,s="",n=arguments.length;i<n;i++)(e=arguments[i])&&(t=Ve(e))&&(s&&(s+=" "),s+=t);return s}const gt=Object.freeze(Object.defineProperty({__proto__:null,getGidsDisplaTagClassNames:({size:e,appearance:t,color:i},s)=>ce("gids-display-tag",{"gids-display-tag--xsmall":e==="xs","gids-display-tag--small":e==="sm","gids-display-tag--large":e==="lg","gids-display-tag--accent-1":t==="subtle"&&i==="accent-1","gids-display-tag--accent-2":t==="subtle"&&i==="accent-2","gids-display-tag--accent-3":t==="subtle"&&i==="accent-3","gids-display-tag--accent-4":t==="subtle"&&i==="accent-4","gids-display-tag--accent-5":t==="subtle"&&i==="accent-5","gids-display-tag--bold-accent-1":t==="bold"&&i==="accent-1","gids-display-tag--bold-accent-2":t==="bold"&&i==="accent-2","gids-display-tag--bold-accent-3":t==="bold"&&i==="accent-3","gids-display-tag--bold-accent-4":t==="bold"&&i==="accent-4","gids-display-tag--bold-accent-5":t==="bold"&&i==="accent-5"},s)},Symbol.toStringTag,{value:"Module"})),ft=Object.freeze(Object.defineProperty({__proto__:null,getGidsExpansionBodyListItemClassNames:e=>ce("gids-expansion-body-list-item",e)},Symbol.toStringTag,{value:"Module"})),yt=Object.freeze(Object.defineProperty({__proto__:null,getGidsExpansionBodyListClassNames:e=>ce("gids-expansion-body-list",e)},Symbol.toStringTag,{value:"Module"})),{getGidsDisplaTagClassNames:mt}=gt,bt=({label:e,appearance:t="subtle",color:i,size:s="md",icon:n,class:o,...a})=>C("span",{class:mt({size:s,appearance:t,color:i},o),...a},n,e),{getGidsExpansionBodyListItemClassNames:xt}=ft,St=Ae(class extends ge{constructor(e){super(),e!==!1&&this.__registerHost(),this.displayTagVisible=!1,this.displayTagColor="accent-5",this.displayTagSize="xs",this.displayTagAppearance="subtle",this.hasSubtitleItemListener=!1,this.hasSupportingTextItemListener=!1,this.handleSubtitleClick=t=>{this.applySubtitleSelection({listItemId:this.listItemId,label:this.label,subtitle:this.subtitle,supportingText:this.supportingText,listItemPressedType:"subtitle",originalEvent:t})},this.handleSupportingTextClick=t=>{this.applySupportingTextSelection({listItemId:this.listItemId,label:this.label,subtitle:this.subtitle,supportingText:this.supportingText,listItemPressedType:"supporting-text",originalEvent:t})}}handleDisplayTagVisibilityChange(e){this.displayTagVisible=e}handleDisplayTagColorChange(e){this.displayTagColor=e}handleDisplayTagSizeChange(e){this.displayTagSize=e}handleDisplayTagAppearanceChange(e){this.displayTagAppearance=e}connectedCallback(){this.attachSubtitleItemListener(),this.attachSupportingTextItemListener()}disconnectedCallback(){this.detachSubtitleItemListener(),this.detachSupportingTextItemListener()}applySubtitleSelection(e){this.onSubtitlePress&&this.onSubtitlePress(e)}applySupportingTextSelection(e){this.onSupportingTextPress&&this.onSupportingTextPress(e)}attachSubtitleItemListener(){this.hasSubtitleItemListener||(this.hostElement.addEventListener("onSubtitlePress",this.handleSubtitleClick),this.hasSubtitleItemListener=!0)}attachSupportingTextItemListener(){this.hasSupportingTextItemListener||(this.hostElement.addEventListener("onSupportingTextPress",this.handleSupportingTextClick),this.hasSupportingTextItemListener=!0)}detachSubtitleItemListener(){this.hasSubtitleItemListener&&(this.hostElement.removeEventListener("onSubtitlePress",this.handleSubtitleClick),this.hasSubtitleItemListener=!1)}detachSupportingTextItemListener(){this.hasSupportingTextItemListener&&(this.hostElement.removeEventListener("onSupportingTextPress",this.handleSupportingTextClick),this.hasSupportingTextItemListener=!1)}isValidLabel(){return!(!this?.label||this.label==="")}isValidSubtitle(){return!(!this?.subtitle||this.subtitle==="")}isValidSupportingText(){return!(!this?.supportingText||this.supportingText==="")}isDisplayTagVisible(){return!(!this.displayTagVisible||!this?.displayTagLabel||this.displayTagLabel==="")}convertTextToUppercase(e){return e&&e!==""?e.toUpperCase():""}render(){const e=xt(),t=this?.label,i=this?.subtitle,s=this?.supportingText,n=this.isValidLabel(),o=this.isValidSubtitle(),a=this.isValidSupportingText(),r=this.isDisplayTagVisible(),l=this?.displayTagLabel??"";return C(le,{key:"f70f03c864cc5d3fe92f7f22a1772054636c1e9c",class:e},n||o||r?C("div",{class:"gids-expansion-body-list-item__primary-container"},n||r?C("div",{class:"gids-expansion-body-list-item__primary-content"},n?C("span",{class:"gids-expansion-body-list-item__label"},this.convertTextToUppercase(t)):void 0,r?C(bt,{color:this.displayTagColor||"accent-5",label:l,size:this.displayTagSize,appearance:this.displayTagAppearance}):void 0):void 0,o?C("button",{type:"button",class:"gids-expansion-body-list-item__subtitle",onClick:this.handleSubtitleClick},i):void 0):void 0,a?C("div",{class:"gids-expansion-body-list-item__secondary-container"},C("button",{type:"button",class:"gids-expansion-body-list-item__supporting-text",onClick:this.handleSupportingTextClick},this.convertTextToUppercase(s))):void 0)}get hostElement(){return this}static get watchers(){return{displayTagVisible:[{handleDisplayTagVisibilityChange:0}],displayTagColor:[{handleDisplayTagColorChange:0}],displayTagSize:[{handleDisplayTagSizeChange:0}],displayTagAppearance:[{handleDisplayTagAppearanceChange:0}]}}static get style(){return'.gids-expansion-body-list-item{display:flex;flex:1;gap:var(--gids-gap-400);padding-bottom:var(--gids-padding-vertical-edge-to-element-300);position:relative;cursor:default}.gids-expansion-body-list-item::after{content:"";position:absolute;bottom:0;left:0;width:100%;height:1px;background-color:var(--gids-color-border-default);transition:background 0.3s ease-in-out;z-index:1}.gids-expansion-body-list-item::before{content:"";position:absolute;bottom:0;left:0;width:100%;height:2px;background:linear-gradient(to right, transparent 0%, transparent 25%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 55%, transparent 75%, transparent 100%);opacity:0;transition:opacity 0.3s ease-in-out;z-index:2}.gids-expansion-body-list-item:has(.gids-expansion-body-list-item__subtitle:hover)::after{background:linear-gradient(to right, var(--gids-color-border-default) 0%, var(--gids-color-border-default) 15%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 70%, var(--gids-color-border-default) 90%, var(--gids-color-border-default) 100%)}.gids-expansion-body-list-item:has(.gids-expansion-body-list-item__subtitle:hover)::before{opacity:1}.gids-expansion-body-list-item__primary-container{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;flex:1 0;gap:var(--gids-gap-150)}.gids-expansion-body-list-item__primary-content{display:flex;align-items:center;justify-content:center;gap:var(--gids-gap-200)}.gids-expansion-body-list-item__secondary-container{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end}.gids-expansion-body-list-item__label{font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtle);cursor:default}.gids-expansion-body-list-item__subtitle{margin:0;padding:0;appearance:none;border:none;background:none;font-family:var(--gids-typography-label-medium__font-family);font-size:var(--gids-typography-label-medium__font-size);font-weight:var(--gids-typography-label-medium__font-weight);letter-spacing:var(--gids-typography-label-medium__letter-spacing);line-height:var(--gids-typography-label-medium__line-height);text-transform:var(--gids-typography-label-medium__text-transform, inherit);font-variant-caps:var(--gids-typography-label-medium__font-variant-caps, inherit);color:var(--gids-color-text-default);cursor:pointer}.gids-expansion-body-list-item__supporting-text{margin:0;padding:0;appearance:none;border:none;background:none;font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtle);padding:var(--gids-padding-vertical-edge-to-element-050) var(--gids-padding-horizontal-edge-to-element-100);border-radius:var(--gids-border-radius-sm);cursor:pointer;transition:background-color 0.3s ease-in-out, color 0.3s ease-in-out}.gids-expansion-body-list-item__supporting-text:hover{background-color:var(--gids-color-background-brand-bold-hovered);color:var(--gids-color-text-inverse)}.gids-expansion-body-list-item__supporting-text:active{background-color:var(--gids-color-background-brand-bold-pressed);color:var(--gids-color-text-inverse)}'}},[0,"gids-expansion-body-list-item",{listItemId:[1,"list-item-id"],label:[1],subtitle:[1],supportingText:[1,"supporting-text"],displayTagVisible:[4,"display-tag-visible"],displayTagColor:[1,"display-tag-color"],displayTagSize:[1,"display-tag-size"],displayTagAppearance:[1,"display-tag-appearance"],displayTagLabel:[1,"display-tag-label"],onSubtitlePress:[16],onSupportingTextPress:[16]},void 0,{displayTagVisible:[{handleDisplayTagVisibilityChange:0}],displayTagColor:[{handleDisplayTagColorChange:0}],displayTagSize:[{handleDisplayTagSizeChange:0}],displayTagAppearance:[{handleDisplayTagAppearanceChange:0}]}]);function Re(){typeof customElements<"u"&&["gids-expansion-body-list-item"].forEach((e=>{e==="gids-expansion-body-list-item"&&(customElements.get(e)||customElements.define(e,St))}))}Re();const{getGidsExpansionBodyListClassNames:vt}=yt,ze=Ae(class extends ge{constructor(e){super(),e!==!1&&this.__registerHost(),this.expansionBodyListItems=[],this.hasExpansionBodyListSubtitleItemListener=!1,this.hasExpansionBodyListSupportingTextItemListener=!1,this.handleExpansionBodyListSubtitleClick=({detail:t,expansionBodyListItem:i})=>{this.selectedExpansionListItem={detail:t,expansionBodyListItem:i},this.applyExpansionBodyListSubtitleSelection({detail:t,expansionBodyListItem:i})},this.handleExpansionBodyListSupportingTextClick=({detail:t,expansionBodyListItem:i})=>{this.selectedExpansionListItem={detail:t,expansionBodyListItem:i},this.applyExpansionBodyListSupportingTextSelection({detail:t,expansionBodyListItem:i})},this.handleExpansionBodyListSubtitleSelect=t=>{const{listItemId:i,label:s,subtitle:n,supportingText:o,listItemPressedType:a}=t.detail;this.applyExpansionBodyListSubtitleSelection({detail:{listItemId:i,label:s,subtitle:n,supportingText:o,listItemPressedType:a,originalEvent:t},expansionBodyListItem:this.selectedExpansionListItem?.expansionBodyListItem})},this.handleExpansionBodyListSupportingTextSelect=t=>{const{listItemId:i,label:s,subtitle:n,supportingText:o,listItemPressedType:a}=t.detail;this.applyExpansionBodyListSupportingTextSelection({detail:{listItemId:i,label:s,subtitle:n,supportingText:o,listItemPressedType:a,originalEvent:t},expansionBodyListItem:this.selectedExpansionListItem?.expansionBodyListItem})}}handleExpansionBodyListItemsChange(e){this.expansionBodyListItems=e}connectedCallback(){this.attachExpansionBodyListSubtitleItemListener(),this.attachExpansionBodyListSupportingTextItemListener()}disconnectedCallback(){this.detachExpansionBodyListSubtitleItemListener(),this.detachExpansionBodyListSupportingTextItemListener()}applyExpansionBodyListSubtitleSelection({detail:e,expansionBodyListItem:t}){this.onExpansionBodyListSubtitlePress&&this.onExpansionBodyListSubtitlePress({...e,selectedExpansionBodyListItem:t})}applyExpansionBodyListSupportingTextSelection({detail:e,expansionBodyListItem:t}){this.onExpansionBodyListSupportingTextPress&&this.onExpansionBodyListSupportingTextPress({...e,selectedExpansionBodyListItem:t})}attachExpansionBodyListSubtitleItemListener(){this.hasExpansionBodyListSubtitleItemListener||(this.hostElement.addEventListener("onExpansionBodyListSubtitlePress",this.handleExpansionBodyListSubtitleSelect),this.hasExpansionBodyListSubtitleItemListener=!0)}attachExpansionBodyListSupportingTextItemListener(){this.hasExpansionBodyListSupportingTextItemListener||(this.hostElement.addEventListener("onExpansionBodyListSupportingTextPress",this.handleExpansionBodyListSupportingTextSelect),this.hasExpansionBodyListSupportingTextItemListener=!0)}detachExpansionBodyListSubtitleItemListener(){this.hasExpansionBodyListSubtitleItemListener&&(this.hostElement.removeEventListener("onExpansionBodyListSubtitlePress",this.handleExpansionBodyListSubtitleSelect),this.hasExpansionBodyListSubtitleItemListener=!1)}detachExpansionBodyListSupportingTextItemListener(){this.hasExpansionBodyListSupportingTextItemListener&&(this.hostElement.removeEventListener("onExpansionBodyListSupportingTextPress",this.handleExpansionBodyListSupportingTextSelect),this.hasExpansionBodyListSupportingTextItemListener=!1)}render(){const e=vt();return C(le,{key:"1a5870a9022eaac94b1dc42c81a661d78cffbe15",class:e},(this?.expansionBodyListItems??[]).map(((t,i)=>C("gids-expansion-body-list-item",{key:""+(i+1),...t,onSubtitlePress:s=>this.handleExpansionBodyListSubtitleClick({detail:s,expansionBodyListItem:t}),onSupportingTextPress:s=>this.handleExpansionBodyListSupportingTextClick({detail:s,expansionBodyListItem:t})}))))}get hostElement(){return this}static get watchers(){return{expansionBodyListItems:[{handleExpansionBodyListItemsChange:0}]}}static get style(){return".gids-expansion-body-list{display:flex;flex-direction:column;width:100%;gap:var(--gids-gap-400);overflow-y:scroll;overflow-x:hidden}"}},[0,"gids-expansion-body-list",{expansionBodyListItems:[16],onExpansionBodyListSubtitlePress:[16],onExpansionBodyListSupportingTextPress:[16],selectedExpansionListItem:[32]},void 0,{expansionBodyListItems:[{handleExpansionBodyListItemsChange:0}]}]);function Me(){typeof customElements<"u"&&["gids-expansion-body-list","gids-expansion-body-list-item"].forEach((e=>{switch(e){case"gids-expansion-body-list":customElements.get(e)||customElements.define(e,ze);break;case"gids-expansion-body-list-item":customElements.get(e)||Re()}}))}Me();const Lt=ze,_t=Me;j.GidsExpansionBodyList=Lt,j.defineCustomElement=_t,Object.defineProperty(j,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const S=this["s-cr"].parentElement;return(S.__childNodes?S.childNodes:(x=>{const m=[];for(let y=0;y<x.length;y++){const g=x[y]["s-nr"]||void 0;g&&g.isConnected&&m.push(g)}return m})(S.childNodes)).forEach((x=>{h===z(x)&&f.push(x)})),d?f.filter((x=>x.nodeType===1)):f}).bind(p);p.assignedElements=c(!0),p.assignedNodes=c(!1)})(o),r=e&&e.m&&e.m[i],r&&r.O===n.O&&e.S&&Ne(e.S)),o},Ne=e=>{T.i|=1;const t=e.closest(A.toLowerCase());if(t!=null){const i=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of i?s.reverse():s)n["s-sh"]!=null&&(I(t,n,i??null),n["s-sh"]=void 0,q=!0)}T.i&=-2},Z=(e,t)=>{T.i|=1;const i=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===A&&i.push(s)}for(let s=i.length-1;s>=0;s--){const n=i[s];n["s-hn"]!==A&&n["s-ol"]&&(I(H(n).parentNode,n,H(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,q=!0),t&&Z(n,t)}T.i&=-2},Ie=(e,t,i,s,n,o)=>{let a,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===A&&(r=r.shadowRoot),i.O==="template"&&(r=r.content);n<=o;++n)s[n]&&(a=Y(null,i,n),a&&(s[n].S=a,I(r,a,H(t))))},Be=(e,t,i)=>{for(let s=t;s<=i;++s){const n=e[s];if(n){const o=n.S;Oe(n),o&&(G=!0,o["s-ol"]?o["s-ol"].remove():Z(o,!0),o.remove())}}},J=(e,t,i=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:i?(i&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),H=e=>e&&e["s-ol"]||e,V=(e,t,i=!1)=>{const s=t.S=e.S,n=e.m,o=t.m,a=t.O,r=t.h;let l;r==null?(E=a==="svg"||a!=="foreignObject"&&E,a!=="slot"||M||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Ne(t.S.parentElement)),ae(e,t,E),n!==null&&o!==null?((p,c,d,u,f=!1)=>{let h,S,x=0,m=0,y=0,g=0,_=c.length-1,b=c[0],L=c[_],w=u.length-1,N=u[0],B=u[w];const He=d.O==="template"?p.content:p;for(;x<=_&&m<=w;)if(b==null)b=c[++x];else if(L==null)L=c[--_];else if(N==null)N=u[++m];else if(B==null)B=u[--w];else if(J(b,N,f))V(b,N,f),b=c[++x],N=u[++m];else if(J(L,B,f))V(L,B,f),L=c[--_],B=u[--w];else if(J(b,B,f))b.O!=="slot"&&B.O!=="slot"||Z(b.S.parentNode,!1),V(b,B,f),I(He,b.S,L.S.nextSibling),b=c[++x],B=u[--w];else if(J(L,N,f))b.O!=="slot"&&B.O!=="slot"||Z(L.S.parentNode,!1),V(L,N,f),I(He,L.S,b.S),L=c[--_],N=u[++m];else{for(y=-1,g=x;g<=_;++g)if(c[g]&&c[g].$!==null&&c[g].$===N.$){y=g;break}y>=0?(S=c[y],S.O!==N.O?h=Y(c&&c[m],d,y):(V(S,N,f),c[y]=void 0,h=S.S),N=u[++m]):(h=Y(c&&c[m],d,m),N=u[++m]),h&&I(H(b.S).parentNode,h,H(b.S))}x>_?Ie(p,u[w+1]==null?null:u[w+1].S,d,u,m,w):m>w&&Be(c,x,_)})(s,n,t,o,i):o!==null?(e.h!==null&&(s.textContent=""),Ie(s,null,t,o,0,o.length-1)):!i&&n!==null&&Be(n,0,n.length-1),E&&a==="svg"&&(E=!1)):(l=s["s-cr"])?l.parentNode.textContent=r:e.h!==r&&(s.data=r)},O=[],ke=e=>{let t,i,s;const n=e.__childNodes||e.childNodes;for(const o of n){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){i=t.parentNode.__childNodes||t.parentNode.childNodes;const a=o["s-sn"];for(s=i.length-1;s>=0;s--)if(t=i[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===o["s-hn"]||t["s-sh"]&&t["s-sh"]===o["s-hn"]))if(xe(t,a)){let r=O.find((l=>l.k===t));G=!0,t["s-sn"]=t["s-sn"]||a,r?(r.k["s-sh"]=o["s-hn"],r.N=o):(t["s-sh"]=o["s-hn"],O.push({N:o,k:t})),t["s-sr"]&&O.map((l=>{xe(l.k,t["s-sn"])&&(r=O.find((p=>p.k===t)),r&&!l.N&&(l.N=r.N))}))}else O.some((r=>r.k===t))||O.push({k:t})}o.nodeType===1&&ke(o)}},Oe=e=>{e.v&&e.v.ref&&re.push((()=>e.v.ref(null))),e.m&&e.m.map(Oe)},tt=(e,t)=>{de.push((()=>e(t)))},I=(e,t,i,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,i);const{slotNode:n}=(function(o,a){var r;if(!(a=a||((r=o["s-ol"])==null?void 0:r.parentElement)))return{slotNode:null,slotName:""};const l=o["s-sn"]=z(o)||"";return{slotNode:se(ie(a,"childNodes"),a.tagName,l)[0],slotName:l}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,i):e?.insertBefore(t,i)},st=(e,t,i=!1)=>{var s,n,o,a,r;const l=e.$hostElement$,p=e.o,c=e.M||W(null,null);var d;const u=(d=t)&&d.O===le?t:C(null,null,t);if(A=l.tagName,p.C&&(u.v=u.v||{},p.C.forEach((([f,h])=>{u.v[h]=l[f]}))),i&&u.v)for(const f of Object.keys(u.v))l.hasAttribute(f)&&!["key","ref","style","class"].includes(f)&&(u.v[f]=l[f]);if(u.O=null,u.i|=4,e.M=u,u.S=c.S=l.shadowRoot||l,M=!(!(1&p.i)||128&p.i),ne=l["s-cr"],G=!1,V(c,u,i),T.i|=1,q){ke(u.S);for(const f of O){const h=f.k;if(!h["s-ol"]&&v.document){const S=v.document.createTextNode("");S["s-nr"]=h,I(h.parentNode,h["s-ol"]=S,h,i)}}for(const f of O){const h=f.k,S=f.N;if(h.nodeType===1&&i&&(h["s-ih"]=(s=h.hidden)!=null&&s),S){const x=S.parentNode;let m=S.nextSibling;if(m&&m.nodeType===1){let y=(n=h["s-ol"])==null?void 0:n.previousSibling;for(;y;){let g=(o=y["s-nr"])!=null?o:null;if(g&&g["s-sn"]===h["s-sn"]&&x===(g.__parentNode||g.parentNode)){for(g=g.nextSibling;g===h||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){m=g;break}}y=y.previousSibling}}if((!m&&x!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==m)&&h!==m){if(I(x,h,m,i),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=v.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=h["s-hn"],y["s-sn"]=h["s-sn"],y["s-sh"]=h["s-sh"],y["s-sr"]=h["s-sr"],y["s-ol"]=h["s-ol"],y["s-ol"]["s-nr"]=y,I(h.parentNode,y,h,i),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(a=h["s-ih"])!=null&&a)}h&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else h.nodeType===1&&(h.hidden=!0)}}if(G&&be(u.S),T.i&=-2,O.length=0,!M&&!(1&p.i)&&l["s-cr"]){const f=u.S.__childNodes||u.S.childNodes;for(const h of f)if(h["s-hn"]!==A&&!h["s-sh"]){if(i&&h["s-ih"]==null&&(h["s-ih"]=(r=h.hidden)!=null&&r),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const S=v.document.createComment("s-nt-"+h.nodeValue);S["s-sn"]=h["s-sn"],I(h.parentNode,S,h,i),h.parentNode.removeChild(h)}}}ne=void 0,re.forEach((f=>f())),re.length=0,de.forEach((f=>f())),de.length=0},Pe=(e,t)=>{if(t&&!e.A&&t["s-p"]){const i=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(i-1,1),s()})))}},pe=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Pe(e,e.R);const i=()=>it(e,t);if(!t)return qe(i);queueMicrotask((()=>{i()}))},it=(e,t)=>{const i=e.$hostElement$,s=i;if(!s)throw new Error(`Can't render component <${i.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=F(s,t?"componentWillLoad":"componentWillUpdate",void 0,i),n=je(n,(()=>F(s,"componentWillRender",void 0,i))),je(n,(()=>ot(e,s,t)))},je=(e,t)=>nt(e)?e.then(t).catch((i=>{console.error(i),t()})):t(),nt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",ot=async(e,t,i)=>{var s;const n=e.$hostElement$,o=n["s-rc"];i&&(a=>{const r=a.o,l=a.$hostElement$,p=r.i,c=((d,u)=>{var f,h,S;const x=Se(u),m=U.get(x);if(!v.document)return x;if(d=d.nodeType===11?d:v.document,m)if(typeof m=="string"){let y,g=P.get(d=d.head||d);if(g||P.set(d,g=new Set),!g.has(x)){y=v.document.createElement("style"),y.textContent=m;const _=(f=T._)!=null?f:(function(){var b,L,w;return(w=(L=(b=v.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:L.getAttribute("content"))!=null?w:void 0})();if(_!=null&&y.setAttribute("nonce",_),!(1&u.i))if(d.nodeName==="HEAD"){const b=d.querySelectorAll("link[rel=preconnect]"),L=b.length>0?b[b.length-1].nextSibling:d.querySelector("style");d.insertBefore(y,L?.parentNode===d?L:null)}else if("host"in d)if(K){const b=new((h=d.defaultView)!=null?h:d.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(m),Q?d.adoptedStyleSheets.unshift(b):d.adoptedStyleSheets=[b,...d.adoptedStyleSheets]}else{const b=d.querySelector("style");b?b.textContent=m+b.textContent:d.prepend(y)}else d.append(y);1&u.i&&d.insertBefore(y,null),4&u.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),g&&g.add(x)}}else{let y=P.get(d);if(y||P.set(d,y=new Set),!y.has(x)){const g=(S=d.defaultView)!=null?S:d.ownerDocument.defaultView;let _;if(m.constructor===g.CSSStyleSheet)_=m;else{_=new g.CSSStyleSheet;for(let b=0;b<m.cssRules.length;b++)_.insertRule(m.cssRules[b].cssText,b)}Q?d.adoptedStyleSheets.push(_):d.adoptedStyleSheets=[...d.adoptedStyleSheets,_],y.add(x)}}return x})(l.shadowRoot?l.shadowRoot:l.getRootNode(),r);10&p&&(l["s-sc"]=c,l.classList.add(c+"-h"))})(e),lt(e,t,n,i),o&&(o.map((a=>a())),n["s-rc"]=void 0);{const a=(s=n["s-p"])!=null?s:[],r=()=>at(e);a.length===0?r():(Promise.all(a).then(r).catch(r),e.i|=4,a.length=0)}},lt=(e,t,i,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,st(e,t,s)}catch(n){$(n,e.$hostElement$)}return null},at=e=>{const t=e.$hostElement$,i=t,s=e.R;F(i,"componentDidRender",void 0,t),64&e.i?F(i,"componentDidUpdate",void 0,t):(e.i|=64,dt(t),F(i,"componentDidLoad",void 0,t),e.L(t),s||rt()),e.A&&(e.A(),e.A=void 0),512&e.i&&te((()=>pe(e,!1))),e.i&=-517},rt=()=>{te((()=>Qe(v,"appload",{detail:{namespace:"gids-core-web"}})))},F=(e,t,i,s)=>{if(e&&e[t])try{return e[t](i)}catch(n){$(n,s)}},dt=e=>e.classList.add("hydrated"),$e=(e,t,i,s)=>{const n=k(e);if(!n)return;const o=e,a=n.l.get(t),r=n.i,l=o;i=_e(i,s.t[t][0],!!(64&s.i));const p=Number.isNaN(a)&&Number.isNaN(i);if(i!==a&&!p){if(n.l.set(t,i),s.F){const c=s.F[t];c&&c.map((d=>{try{const[[u,f]]=Object.entries(d);(128&r||1&f)&&(l?l[u](i,a,t):n.T.push((()=>{n.D[u](i,a,t)})))}catch(u){$(u,o)}}))}if(2&r){if(l.componentShouldUpdate&&l.componentShouldUpdate(i,a,t)===!1&&!(16&r))return;16&r||pe(n,!1)}}},pt=(e,t,i)=>{var s,n;const o=e.prototype;64&t.i&&1&i&&Ue.forEach((a=>{const r=o[a];Object.defineProperty(o,a,{value(...l){var p;const c=k(this),d=this;d?typeof r=="function"&&r.call(d,...l):(p=c?.H)==null||p.then((u=>{const f=u[a];typeof f=="function"&&f.call(u,...l)}))}})}));{e.watchers&&!t.F&&(t.F=Le(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const a=Object.entries((s=t.t)!=null?s:{});a.map((([r,[l]])=>{if(31&l||32&l){const{get:p,set:c}=D(o,r)||{};p&&(t.t[r][0]|=2048),c&&(t.t[r][0]|=4096),Object.defineProperty(o,r,{get(){return p?p.apply(this):(d=r,k(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(o,r,{set(d){const u=k(this);if(u){if(c)return(32&l?this[r]:u.$hostElement$[r])===void 0&&u.l.get(r)&&(d=u.l.get(r)),c.apply(this,[_e(d,l,!!(64&t.i))]),void $e(this,r,d=32&l?this[r]:u.$hostElement$[r],t);$e(this,r,d,t)}}})}}));{const r=new Map;o.attributeChangedCallback=function(l,p,c){T.jmp((()=>{var d;const u=r.get(l),f=k(this);if(this.hasOwnProperty(u),o.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const y=f?.i;if(f&&y&&!(8&y)&&c!==p){const g=this,_=(d=t.F)==null?void 0:d[l];_?.forEach((b=>{const[[L,w]]=Object.entries(b);g[L]!=null&&(128&y||1&w)&&g[L].call(g,c,p,l)}))}return}const h=a.find((([y])=>y===u)),S=h&&4&h[1][0],x=S&&c===null&&this[u]===void 0;S&&(c=c!==null&&c!=="false");const m=Object.getOwnPropertyDescriptor(o,u);x||c==this[u]||m.get&&!m.set||(this[u]=c)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...a.filter((([l,p])=>31&p[0])).map((([l,p])=>{var c;const d=p[1]||l;return r.set(d,l),512&p[0]&&((c=t.C)==null||c.push([l,d])),d}))]))}}return e},Ae=(e,t)=>{const i={i:t[0],p:t[1]};try{i.t=t[2],i.W=t[3],i.F=Le(e.F),i.P=e.P,i.U=e.U,i.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((o,a)=>{const r={i:0,$hostElement$:o,o:a,l:new Map,B:new Map};r.H=new Promise((p=>r.L=p)),o["s-p"]=[],o["s-rc"]=[];const l=r;o.__stencil__getHostRef=()=>l,512&a.i&&Fe(o,r)})(this,i)},connectedCallback(){if(!this.__hasHostListenerAttached){const o=k(this);if(!o)return;De(this,o,i.W),this.__hasHostListenerAttached=!0}(o=>{if(!(1&T.i)){const a=k(o);if(!a)return;const r=a.o;if(1&a.i)De(o,a,r.W),a?.D||a?.H&&a.H.then((()=>{}));else{a.i|=1,12&r.i&&(l=>{if(!v.document)return;const p=l["s-cr"]=v.document.createComment("");p["s-cn"]=!0,I(l,p,l.firstChild)})(o);{let l=o;for(;l=l.parentNode||l.host;)if(l["s-p"]){Pe(a,a.R=l);break}}r.t&&Object.entries(r.t).map((([l,[p]])=>{if(31&p&&Object.prototype.hasOwnProperty.call(o,l)){const c=o[l];delete o[l],o[l]=c}})),(async(l,p,c)=>{let d;try{if(!(32&p.i)&&(p.i|=32,d=l.constructor,customElements.whenDefined(l.localName).then((()=>p.i|=128)),d&&d.style)){let h;typeof d.style=="string"&&(h=d.style);const S=Se(c);U.has(S)||((x,m,y)=>{let g=U.get(x);K&&y?(g=g||new CSSStyleSheet,typeof g=="string"?g=m:g.replaceSync(m)):g=m,U.set(x,g)})(S,h,!!(1&c.i))}const u=p.R,f=()=>pe(p,!0);u&&u["s-rc"]?u["s-rc"].push(f):f()}catch(u){$(u,l),p.A&&(p.A(),p.A=void 0),p.L&&p.L(l)}})(o,a,r)}}})(this),s&&s.call(this)},disconnectedCallback(){(async o=>{if(!(1&T.i)){const a=k(o);a?.V&&(a.V.map((r=>r())),a.V=void 0)}P.has(o)&&P.delete(o),o.shadowRoot&&P.has(o.shadowRoot)&&P.delete(o.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${i.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ye.call(this,i)}}),Object.defineProperty(e,"is",{value:i.p,configurable:!0}),pt(e,i,3)}catch(s){return $(s),e}},De=(e,t,i)=>{i&&v.document&&i.map((([s,n,o])=>{const a=ut(v.document,e,s),r=ct(t,o),l=ht(s);T.ael(a,n,r,l),(t.V=t.V||[]).push((()=>T.rel(a,n,r,l)))}))},ct=(e,t)=>i=>{try{e.$hostElement$[t](i)}catch(s){$(s,e.$hostElement$)}},ut=(e,t,i)=>8&i?v:t,ht=e=>We?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Tt(e){return e}function Ve(e){var t,i,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(i=Ve(e[t]))&&(s&&(s+=" "),s+=i)}else for(i in e)e[i]&&(s&&(s+=" "),s+=i);return s}function ce(){for(var e,t,i=0,s="",n=arguments.length;i<n;i++)(e=arguments[i])&&(t=Ve(e))&&(s&&(s+=" "),s+=t);return s}const gt=Object.freeze(Object.defineProperty({__proto__:null,getGidsDisplaTagClassNames:({size:e,appearance:t,color:i},s)=>ce("gids-display-tag",{"gids-display-tag--xsmall":e==="xs","gids-display-tag--small":e==="sm","gids-display-tag--large":e==="lg","gids-display-tag--accent-1":t==="subtle"&&i==="accent-1","gids-display-tag--accent-2":t==="subtle"&&i==="accent-2","gids-display-tag--accent-3":t==="subtle"&&i==="accent-3","gids-display-tag--accent-4":t==="subtle"&&i==="accent-4","gids-display-tag--accent-5":t==="subtle"&&i==="accent-5","gids-display-tag--bold-accent-1":t==="bold"&&i==="accent-1","gids-display-tag--bold-accent-2":t==="bold"&&i==="accent-2","gids-display-tag--bold-accent-3":t==="bold"&&i==="accent-3","gids-display-tag--bold-accent-4":t==="bold"&&i==="accent-4","gids-display-tag--bold-accent-5":t==="bold"&&i==="accent-5"},s)},Symbol.toStringTag,{value:"Module"})),ft=Object.freeze(Object.defineProperty({__proto__:null,getGidsExpansionBodyListItemClassNames:e=>ce("gids-expansion-body-list-item",e)},Symbol.toStringTag,{value:"Module"})),yt=Object.freeze(Object.defineProperty({__proto__:null,getGidsExpansionBodyListClassNames:e=>ce("gids-expansion-body-list",e)},Symbol.toStringTag,{value:"Module"})),{getGidsDisplaTagClassNames:mt}=gt,bt=({label:e,appearance:t="subtle",color:i,size:s="md",icon:n,class:o,...a})=>C("span",{class:mt({size:s,appearance:t,color:i},o),...a},n,e),{getGidsExpansionBodyListItemClassNames:xt}=ft,St=Ae(class extends ge{constructor(e){super(),e!==!1&&this.__registerHost(),this.displayTagVisible=!1,this.displayTagColor="accent-5",this.displayTagSize="xs",this.displayTagAppearance="subtle",this.hasSubtitleItemListener=!1,this.hasSupportingTextItemListener=!1,this.handleSubtitleClick=t=>{this.applySubtitleSelection({listItemId:this.listItemId,label:this.label,subtitle:this.subtitle,supportingText:this.supportingText,listItemPressedType:"subtitle",originalEvent:t})},this.handleSupportingTextClick=t=>{this.applySupportingTextSelection({listItemId:this.listItemId,label:this.label,subtitle:this.subtitle,supportingText:this.supportingText,listItemPressedType:"supporting-text",originalEvent:t})}}handleDisplayTagVisibilityChange(e){this.displayTagVisible=e}handleDisplayTagColorChange(e){this.displayTagColor=e}handleDisplayTagSizeChange(e){this.displayTagSize=e}handleDisplayTagAppearanceChange(e){this.displayTagAppearance=e}connectedCallback(){this.attachSubtitleItemListener(),this.attachSupportingTextItemListener()}disconnectedCallback(){this.detachSubtitleItemListener(),this.detachSupportingTextItemListener()}applySubtitleSelection(e){this.onSubtitlePress&&this.onSubtitlePress(e)}applySupportingTextSelection(e){this.onSupportingTextPress&&this.onSupportingTextPress(e)}attachSubtitleItemListener(){this.hasSubtitleItemListener||(this.hostElement.addEventListener("onSubtitlePress",this.handleSubtitleClick),this.hasSubtitleItemListener=!0)}attachSupportingTextItemListener(){this.hasSupportingTextItemListener||(this.hostElement.addEventListener("onSupportingTextPress",this.handleSupportingTextClick),this.hasSupportingTextItemListener=!0)}detachSubtitleItemListener(){this.hasSubtitleItemListener&&(this.hostElement.removeEventListener("onSubtitlePress",this.handleSubtitleClick),this.hasSubtitleItemListener=!1)}detachSupportingTextItemListener(){this.hasSupportingTextItemListener&&(this.hostElement.removeEventListener("onSupportingTextPress",this.handleSupportingTextClick),this.hasSupportingTextItemListener=!1)}isValidLabel(){return!(!this?.label||this.label==="")}isValidSubtitle(){return!(!this?.subtitle||this.subtitle==="")}isValidSupportingText(){return!(!this?.supportingText||this.supportingText==="")}isDisplayTagVisible(){return!(!this.displayTagVisible||!this?.displayTagLabel||this.displayTagLabel==="")}convertTextToUppercase(e){return e&&e!==""?e.toUpperCase():""}render(){const e=xt(),t=this?.label,i=this?.subtitle,s=this?.supportingText,n=this.isValidLabel(),o=this.isValidSubtitle(),a=this.isValidSupportingText(),r=this.isDisplayTagVisible(),l=this?.displayTagLabel??"";return C(le,{key:"7640b2ddb898ec2b217014a9aeacefd6887679e6",class:e},n||o||r?C("div",{class:"gids-expansion-body-list-item__primary-container"},n||r?C("div",{class:"gids-expansion-body-list-item__primary-content"},n?C("span",{class:"gids-expansion-body-list-item__label"},this.convertTextToUppercase(t)):void 0,r?C(bt,{color:this.displayTagColor||"accent-5",label:l,size:this.displayTagSize,appearance:this.displayTagAppearance}):void 0):void 0,o?C("button",{type:"button",class:"gids-expansion-body-list-item__subtitle",onClick:this.handleSubtitleClick},i):void 0):void 0,a?C("div",{class:"gids-expansion-body-list-item__secondary-container"},C("button",{type:"button",class:"gids-expansion-body-list-item__supporting-text",onClick:this.handleSupportingTextClick},this.convertTextToUppercase(s))):void 0)}get hostElement(){return this}static get watchers(){return{displayTagVisible:[{handleDisplayTagVisibilityChange:0}],displayTagColor:[{handleDisplayTagColorChange:0}],displayTagSize:[{handleDisplayTagSizeChange:0}],displayTagAppearance:[{handleDisplayTagAppearanceChange:0}]}}static get style(){return'.gids-expansion-body-list-item{display:flex;flex:1;gap:var(--gids-gap-400);padding-bottom:var(--gids-padding-vertical-edge-to-element-300);position:relative;cursor:default}.gids-expansion-body-list-item::after{content:"";position:absolute;bottom:0;left:0;width:100%;height:1px;background-color:var(--gids-color-border-default);transition:background 0.3s ease-in-out;z-index:1}.gids-expansion-body-list-item::before{content:"";position:absolute;bottom:0;left:0;width:100%;height:2px;background:linear-gradient(to right, transparent 0%, transparent 25%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 55%, transparent 75%, transparent 100%);opacity:0;transition:opacity 0.3s ease-in-out;z-index:2}.gids-expansion-body-list-item:has(.gids-expansion-body-list-item__subtitle:hover)::after{background:linear-gradient(to right, var(--gids-color-border-default) 0%, var(--gids-color-border-default) 15%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 70%, var(--gids-color-border-default) 90%, var(--gids-color-border-default) 100%)}.gids-expansion-body-list-item:has(.gids-expansion-body-list-item__subtitle:hover)::before{opacity:1}.gids-expansion-body-list-item__primary-container{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;flex:1 0;gap:var(--gids-gap-150)}.gids-expansion-body-list-item__primary-content{display:flex;align-items:center;justify-content:center;gap:var(--gids-gap-200)}.gids-expansion-body-list-item__secondary-container{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end}.gids-expansion-body-list-item__label{font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtle);cursor:default}.gids-expansion-body-list-item__subtitle{margin:0;padding:0;appearance:none;border:none;background:none;font-family:var(--gids-typography-label-medium__font-family);font-size:var(--gids-typography-label-medium__font-size);font-weight:var(--gids-typography-label-medium__font-weight);letter-spacing:var(--gids-typography-label-medium__letter-spacing);line-height:var(--gids-typography-label-medium__line-height);text-transform:var(--gids-typography-label-medium__text-transform, inherit);font-variant-caps:var(--gids-typography-label-medium__font-variant-caps, inherit);color:var(--gids-color-text-default);cursor:pointer}.gids-expansion-body-list-item__supporting-text{margin:0;padding:0;appearance:none;border:none;background:none;font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtle);padding:var(--gids-padding-vertical-edge-to-element-050) var(--gids-padding-horizontal-edge-to-element-100);border-radius:var(--gids-border-radius-sm);cursor:pointer;transition:background-color 0.3s ease-in-out, color 0.3s ease-in-out}.gids-expansion-body-list-item__supporting-text:hover{background-color:var(--gids-color-background-brand-bold-hovered);color:var(--gids-color-text-inverse)}.gids-expansion-body-list-item__supporting-text:active{background-color:var(--gids-color-background-brand-bold-pressed);color:var(--gids-color-text-inverse)}'}},[0,"gids-expansion-body-list-item",{listItemId:[1,"list-item-id"],label:[1],subtitle:[1],supportingText:[1,"supporting-text"],displayTagVisible:[4,"display-tag-visible"],displayTagColor:[1,"display-tag-color"],displayTagSize:[1,"display-tag-size"],displayTagAppearance:[1,"display-tag-appearance"],displayTagLabel:[1,"display-tag-label"],onSubtitlePress:[16],onSupportingTextPress:[16]},void 0,{displayTagVisible:[{handleDisplayTagVisibilityChange:0}],displayTagColor:[{handleDisplayTagColorChange:0}],displayTagSize:[{handleDisplayTagSizeChange:0}],displayTagAppearance:[{handleDisplayTagAppearanceChange:0}]}]);function Re(){typeof customElements<"u"&&["gids-expansion-body-list-item"].forEach((e=>{e==="gids-expansion-body-list-item"&&(customElements.get(e)||customElements.define(e,St))}))}Re();const{getGidsExpansionBodyListClassNames:vt}=yt,ze=Ae(class extends ge{constructor(e){super(),e!==!1&&this.__registerHost(),this.expansionBodyListItems=[],this.hasExpansionBodyListSubtitleItemListener=!1,this.hasExpansionBodyListSupportingTextItemListener=!1,this.handleExpansionBodyListSubtitleClick=({detail:t,expansionBodyListItem:i})=>{this.selectedExpansionListItem={detail:t,expansionBodyListItem:i},this.applyExpansionBodyListSubtitleSelection({detail:t,expansionBodyListItem:i})},this.handleExpansionBodyListSupportingTextClick=({detail:t,expansionBodyListItem:i})=>{this.selectedExpansionListItem={detail:t,expansionBodyListItem:i},this.applyExpansionBodyListSupportingTextSelection({detail:t,expansionBodyListItem:i})},this.handleExpansionBodyListSubtitleSelect=t=>{const{listItemId:i,label:s,subtitle:n,supportingText:o,listItemPressedType:a}=t.detail;this.applyExpansionBodyListSubtitleSelection({detail:{listItemId:i,label:s,subtitle:n,supportingText:o,listItemPressedType:a,originalEvent:t},expansionBodyListItem:this.selectedExpansionListItem?.expansionBodyListItem})},this.handleExpansionBodyListSupportingTextSelect=t=>{const{listItemId:i,label:s,subtitle:n,supportingText:o,listItemPressedType:a}=t.detail;this.applyExpansionBodyListSupportingTextSelection({detail:{listItemId:i,label:s,subtitle:n,supportingText:o,listItemPressedType:a,originalEvent:t},expansionBodyListItem:this.selectedExpansionListItem?.expansionBodyListItem})}}handleExpansionBodyListItemsChange(e){this.expansionBodyListItems=e}connectedCallback(){this.attachExpansionBodyListSubtitleItemListener(),this.attachExpansionBodyListSupportingTextItemListener()}disconnectedCallback(){this.detachExpansionBodyListSubtitleItemListener(),this.detachExpansionBodyListSupportingTextItemListener()}applyExpansionBodyListSubtitleSelection({detail:e,expansionBodyListItem:t}){this.onExpansionBodyListSubtitlePress&&this.onExpansionBodyListSubtitlePress({...e,selectedExpansionBodyListItem:t})}applyExpansionBodyListSupportingTextSelection({detail:e,expansionBodyListItem:t}){this.onExpansionBodyListSupportingTextPress&&this.onExpansionBodyListSupportingTextPress({...e,selectedExpansionBodyListItem:t})}attachExpansionBodyListSubtitleItemListener(){this.hasExpansionBodyListSubtitleItemListener||(this.hostElement.addEventListener("onExpansionBodyListSubtitlePress",this.handleExpansionBodyListSubtitleSelect),this.hasExpansionBodyListSubtitleItemListener=!0)}attachExpansionBodyListSupportingTextItemListener(){this.hasExpansionBodyListSupportingTextItemListener||(this.hostElement.addEventListener("onExpansionBodyListSupportingTextPress",this.handleExpansionBodyListSupportingTextSelect),this.hasExpansionBodyListSupportingTextItemListener=!0)}detachExpansionBodyListSubtitleItemListener(){this.hasExpansionBodyListSubtitleItemListener&&(this.hostElement.removeEventListener("onExpansionBodyListSubtitlePress",this.handleExpansionBodyListSubtitleSelect),this.hasExpansionBodyListSubtitleItemListener=!1)}detachExpansionBodyListSupportingTextItemListener(){this.hasExpansionBodyListSupportingTextItemListener&&(this.hostElement.removeEventListener("onExpansionBodyListSupportingTextPress",this.handleExpansionBodyListSupportingTextSelect),this.hasExpansionBodyListSupportingTextItemListener=!1)}render(){const e=vt();return C(le,{key:"e9975df4219cc0a8a2d8b3a4ae4c03234fcd39dd",class:e},(this?.expansionBodyListItems??[]).map(((t,i)=>C("gids-expansion-body-list-item",{key:""+(i+1),...t,onSubtitlePress:s=>this.handleExpansionBodyListSubtitleClick({detail:s,expansionBodyListItem:t}),onSupportingTextPress:s=>this.handleExpansionBodyListSupportingTextClick({detail:s,expansionBodyListItem:t})}))))}get hostElement(){return this}static get watchers(){return{expansionBodyListItems:[{handleExpansionBodyListItemsChange:0}]}}static get style(){return".gids-expansion-body-list{display:flex;flex-direction:column;width:100%;gap:var(--gids-gap-400);overflow-y:scroll;overflow-x:hidden}"}},[0,"gids-expansion-body-list",{expansionBodyListItems:[16],onExpansionBodyListSubtitlePress:[16],onExpansionBodyListSupportingTextPress:[16],selectedExpansionListItem:[32]},void 0,{expansionBodyListItems:[{handleExpansionBodyListItemsChange:0}]}]);function Me(){typeof customElements<"u"&&["gids-expansion-body-list","gids-expansion-body-list-item"].forEach((e=>{switch(e){case"gids-expansion-body-list":customElements.get(e)||customElements.define(e,ze);break;case"gids-expansion-body-list-item":customElements.get(e)||Re()}}))}Me();const Lt=ze,_t=Me;j.GidsExpansionBodyList=Lt,j.defineCustomElement=_t,Object.defineProperty(j,Symbol.toStringTag,{value:"Module"})}));
@@ -2,4 +2,4 @@
2
2
  Flattening is not supported for Stencil non-shadow slots.
3
3
  You can use \`.childNodes\` to nested slot fallback content.
4
4
  If you have a particular use case, please open an issue on the Stencil repo.
5
- `);const b=this["s-cr"].parentElement;return(b.__childNodes?b.childNodes:(S=>{const g=[];for(let y=0;y<S.length;y++){const p=S[y]["s-nr"]||void 0;p&&p.isConnected&&g.push(p)}return g})(b.childNodes)).forEach((S=>{h===F(S)&&m.push(S)})),a?m.filter((S=>S.nodeType===1)):m}).bind(u);u.assignedElements=d(!0),u.assignedNodes=d(!1)})(l),c=e&&e.m&&e.m[o],c&&c.O===n.O&&e.S&&je(e.S)),l},je=e=>{_.i|=1;const t=e.closest(L.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of o?s.reverse():s)n["s-sh"]!=null&&($(t,n,o??null),n["s-sh"]=void 0,Y=!0)}_.i&=-2},Z=(e,t)=>{_.i|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===L&&o.push(s)}for(let s=o.length-1;s>=0;s--){const n=o[s];n["s-hn"]!==L&&n["s-ol"]&&($(W(n).parentNode,n,W(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,Y=!0),t&&Z(n,t)}_.i&=-2},ke=(e,t,o,s,n,l)=>{let i,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===L&&(c=c.shadowRoot),o.O==="template"&&(c=c.content);n<=l;++n)s[n]&&(i=I(null,o,n),i&&(s[n].S=i,$(c,i,W(t))))},$e=(e,t,o)=>{for(let s=t;s<=o;++s){const n=e[s];if(n){const l=n.S;xe(n),l&&(z=!0,l["s-ol"]?l["s-ol"].remove():Z(l,!0),l.remove())}}},J=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),W=e=>e&&e["s-ol"]||e,M=(e,t,o=!1)=>{const s=t.S=e.S,n=e.m,l=t.m,i=t.O,c=t.h;let r;c==null?(E=i==="svg"||i!=="foreignObject"&&E,i!=="slot"||V||e.j!==t.j&&(t.S["s-sn"]=t.j||"",je(t.S.parentElement)),re(e,t,E),n!==null&&l!==null?((u,d,a,f,m=!1)=>{let h,b,S=0,g=0,y=0,p=0,O=d.length-1,v=d[0],w=d[O],j=f.length-1,k=f[0],C=f[j];const De=a.O==="template"?u.content:u;for(;S<=O&&g<=j;)if(v==null)v=d[++S];else if(w==null)w=d[--O];else if(k==null)k=f[++g];else if(C==null)C=f[--j];else if(J(v,k,m))M(v,k,m),v=d[++S],k=f[++g];else if(J(w,C,m))M(w,C,m),w=d[--O],C=f[--j];else if(J(v,C,m))v.O!=="slot"&&C.O!=="slot"||Z(v.S.parentNode,!1),M(v,C,m),$(De,v.S,w.S.nextSibling),v=d[++S],C=f[--j];else if(J(w,k,m))v.O!=="slot"&&C.O!=="slot"||Z(w.S.parentNode,!1),M(w,k,m),$(De,w.S,v.S),w=d[--O],k=f[++g];else{for(y=-1,p=S;p<=O;++p)if(d[p]&&d[p].$!==null&&d[p].$===k.$){y=p;break}y>=0?(b=d[y],b.O!==k.O?h=I(d&&d[g],a,y):(M(b,k,m),d[y]=void 0,h=b.S),k=f[++g]):(h=I(d&&d[g],a,g),k=f[++g]),h&&$(W(v.S).parentNode,h,W(v.S))}S>O?ke(u,f[j+1]==null?null:f[j+1].S,a,f,g,j):g>j&&$e(d,S,O)})(s,n,t,l,o):l!==null?(e.h!==null&&(s.textContent=""),ke(s,null,t,l,0,l.length-1)):!o&&n!==null&&$e(n,0,n.length-1),E&&i==="svg"&&(E=!1)):(r=s["s-cr"])?r.parentNode.textContent=c:e.h!==c&&(s.data=c)},A=[],Ce=e=>{let t,o,s;const n=e.__childNodes||e.childNodes;for(const l of n){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const i=l["s-sn"];for(s=o.length-1;s>=0;s--)if(t=o[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(ye(t,i)){let c=A.find((r=>r.k===t));z=!0,t["s-sn"]=t["s-sn"]||i,c?(c.k["s-sh"]=l["s-hn"],c.N=l):(t["s-sh"]=l["s-hn"],A.push({N:l,k:t})),t["s-sr"]&&A.map((r=>{ye(r.k,t["s-sn"])&&(c=A.find((u=>u.k===t)),c&&!r.N&&(r.N=c.N))}))}else A.some((c=>c.k===t))||A.push({k:t})}l.nodeType===1&&Ce(l)}},xe=e=>{e.v&&e.v.ref&&ie.push((()=>e.v.ref(null))),e.m&&e.m.map(xe)},Qe=(e,t)=>{ce.push((()=>e(t)))},$=(e,t,o,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:n}=(function(l,i){var c;if(!(i=i||((c=l["s-ol"])==null?void 0:c.parentElement)))return{slotNode:null,slotName:""};const r=l["s-sn"]=F(l)||"";return{slotNode:se(oe(i,"childNodes"),i.tagName,r)[0],slotName:r}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},Xe=(e,t,o=!1)=>{var s,n,l,i,c;const r=e.$hostElement$,u=e.o,d=e.M||q(null,null);var a;const f=(a=t)&&a.O===ve?t:U(null,null,t);if(L=r.tagName,u.C&&(f.v=f.v||{},u.C.forEach((([m,h])=>{f.v[h]=r[m]}))),o&&f.v)for(const m of Object.keys(f.v))r.hasAttribute(m)&&!["key","ref","style","class"].includes(m)&&(f.v[m]=r[m]);if(f.O=null,f.i|=4,e.M=f,f.S=d.S=r.shadowRoot||r,V=!(!(1&u.i)||128&u.i),ne=r["s-cr"],z=!1,M(d,f,o),_.i|=1,Y){Ce(f.S);for(const m of A){const h=m.k;if(!h["s-ol"]&&N.document){const b=N.document.createTextNode("");b["s-nr"]=h,$(h.parentNode,h["s-ol"]=b,h,o)}}for(const m of A){const h=m.k,b=m.N;if(h.nodeType===1&&o&&(h["s-ih"]=(s=h.hidden)!=null&&s),b){const S=b.parentNode;let g=b.nextSibling;if(g&&g.nodeType===1){let y=(n=h["s-ol"])==null?void 0:n.previousSibling;for(;y;){let p=(l=y["s-nr"])!=null?l:null;if(p&&p["s-sn"]===h["s-sn"]&&S===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===h||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){g=p;break}}y=y.previousSibling}}if((!g&&S!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==g)&&h!==g){if($(S,h,g,o),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=N.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=h["s-hn"],y["s-sn"]=h["s-sn"],y["s-sh"]=h["s-sh"],y["s-sr"]=h["s-sr"],y["s-ol"]=h["s-ol"],y["s-ol"]["s-nr"]=y,$(h.parentNode,y,h,o),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(i=h["s-ih"])!=null&&i)}h&&typeof b["s-rf"]=="function"&&b["s-rf"](b)}else h.nodeType===1&&(h.hidden=!0)}}if(z&&me(f.S),_.i&=-2,A.length=0,!V&&!(1&u.i)&&r["s-cr"]){const m=f.S.__childNodes||f.S.childNodes;for(const h of m)if(h["s-hn"]!==L&&!h["s-sh"]){if(o&&h["s-ih"]==null&&(h["s-ih"]=(c=h.hidden)!=null&&c),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const b=N.document.createComment("s-nt-"+h.nodeValue);b["s-sn"]=h["s-sn"],$(h.parentNode,b,h,o),h.parentNode.removeChild(h)}}}ne=void 0,ie.forEach((m=>m())),ie.length=0,ce.forEach((m=>m())),ce.length=0},Ae=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(o-1,1),s()})))}},ae=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Ae(e,e.R);const o=()=>et(e,t);if(!t)return Ue(o);queueMicrotask((()=>{o()}))},et=(e,t)=>{const o=e.$hostElement$,s=o;if(!s)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=B(s,t?"componentWillLoad":"componentWillUpdate",void 0,o),n=Te(n,(()=>B(s,"componentWillRender",void 0,o))),Te(n,(()=>st(e,s,t)))},Te=(e,t)=>tt(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),tt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",st=async(e,t,o)=>{var s;const n=e.$hostElement$,l=n["s-rc"];o&&(i=>{const c=i.o,r=i.$hostElement$,u=c.i,d=((a,f)=>{var m,h,b;const S=ge(f),g=G.get(S);if(!N.document)return S;if(a=a.nodeType===11?a:N.document,g)if(typeof g=="string"){let y,p=T.get(a=a.head||a);if(p||T.set(a,p=new Set),!p.has(S)){y=N.document.createElement("style"),y.textContent=g;const O=(m=_._)!=null?m:(function(){var v,w,j;return(j=(w=(v=N.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:w.getAttribute("content"))!=null?j:void 0})();if(O!=null&&y.setAttribute("nonce",O),!(1&f.i))if(a.nodeName==="HEAD"){const v=a.querySelectorAll("link[rel=preconnect]"),w=v.length>0?v[v.length-1].nextSibling:a.querySelector("style");a.insertBefore(y,w?.parentNode===a?w:null)}else if("host"in a)if(K){const v=new((h=a.defaultView)!=null?h:a.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(g),Q?a.adoptedStyleSheets.unshift(v):a.adoptedStyleSheets=[v,...a.adoptedStyleSheets]}else{const v=a.querySelector("style");v?v.textContent=g+v.textContent:a.prepend(y)}else a.append(y);1&f.i&&a.insertBefore(y,null),4&f.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(S)}}else{let y=T.get(a);if(y||T.set(a,y=new Set),!y.has(S)){const p=(b=a.defaultView)!=null?b:a.ownerDocument.defaultView;let O;if(g.constructor===p.CSSStyleSheet)O=g;else{O=new p.CSSStyleSheet;for(let v=0;v<g.cssRules.length;v++)O.insertRule(g.cssRules[v].cssText,v)}Q?a.adoptedStyleSheets.push(O):a.adoptedStyleSheets=[...a.adoptedStyleSheets,O],y.add(S)}}return S})(r.shadowRoot?r.shadowRoot:r.getRootNode(),c);10&u&&(r["s-sc"]=d,r.classList.add(d+"-h"))})(e),ot(e,t,n,o),l&&(l.map((i=>i())),n["s-rc"]=void 0);{const i=(s=n["s-p"])!=null?s:[],c=()=>nt(e);i.length===0?c():(Promise.all(i).then(c).catch(c),e.i|=4,i.length=0)}},ot=(e,t,o,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,Xe(e,t,s)}catch(n){R(n,e.$hostElement$)}return null},nt=e=>{const t=e.$hostElement$,o=t,s=e.R;B(o,"componentDidRender",void 0,t),64&e.i?B(o,"componentDidUpdate",void 0,t):(e.i|=64,rt(t),B(o,"componentDidLoad",void 0,t),e.L(t),s||lt()),e.A&&(e.A(),e.A=void 0),512&e.i&&te((()=>ae(e,!1))),e.i&=-517},lt=()=>{te((()=>Ze(N,"appload",{detail:{namespace:"gids-core-web"}})))},B=(e,t,o,s)=>{if(e&&e[t])try{return e[t](o)}catch(n){R(n,s)}},rt=e=>e.classList.add("hydrated"),Pe=(e,t,o,s)=>{const n=x(e);if(!n)return;const l=e,i=n.l.get(t),c=n.i,r=l;o=Ne(o,s.t[t][0],!!(64&s.i));const u=Number.isNaN(i)&&Number.isNaN(o);if(o!==i&&!u){if(n.l.set(t,o),s.F){const d=s.F[t];d&&d.map((a=>{try{const[[f,m]]=Object.entries(a);(128&c||1&m)&&(r?r[f](o,i,t):n.T.push((()=>{n.D[f](o,i,t)})))}catch(f){R(f,l)}}))}if(2&c){if(r.componentShouldUpdate&&r.componentShouldUpdate(o,i,t)===!1&&!(16&c))return;16&c||ae(n,!1)}}},it=(e,t,o)=>{var s,n;const l=e.prototype;64&t.i&&1&o&&Ve.forEach((i=>{const c=l[i];Object.defineProperty(l,i,{value(...r){var u;const d=x(this),a=this;a?typeof c=="function"&&c.call(a,...r):(u=d?.H)==null||u.then((f=>{const m=f[i];typeof m=="function"&&m.call(f,...r)}))}})}));{e.watchers&&!t.F&&(t.F=be(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const i=Object.entries((s=t.t)!=null?s:{});i.map((([c,[r]])=>{if(31&r||32&r){const{get:u,set:d}=H(l,c)||{};u&&(t.t[c][0]|=2048),d&&(t.t[c][0]|=4096),Object.defineProperty(l,c,{get(){return u?u.apply(this):(a=c,x(this).l.get(a));var a},configurable:!0,enumerable:!0}),Object.defineProperty(l,c,{set(a){const f=x(this);if(f){if(d)return(32&r?this[c]:f.$hostElement$[c])===void 0&&f.l.get(c)&&(a=f.l.get(c)),d.apply(this,[Ne(a,r,!!(64&t.i))]),void Pe(this,c,a=32&r?this[c]:f.$hostElement$[c],t);Pe(this,c,a,t)}}})}}));{const c=new Map;l.attributeChangedCallback=function(r,u,d){_.jmp((()=>{var a;const f=c.get(r),m=x(this);if(this.hasOwnProperty(f),l.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==d)return;if(f==null){const y=m?.i;if(m&&y&&!(8&y)&&d!==u){const p=this,O=(a=t.F)==null?void 0:a[r];O?.forEach((v=>{const[[w,j]]=Object.entries(v);p[w]!=null&&(128&y||1&j)&&p[w].call(p,d,u,r)}))}return}const h=i.find((([y])=>y===f)),b=h&&4&h[1][0],S=b&&d===null&&this[f]===void 0;b&&(d=d!==null&&d!=="false");const g=Object.getOwnPropertyDescriptor(l,f);S||d==this[f]||g.get&&!g.set||(this[f]=d)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...i.filter((([r,u])=>31&u[0])).map((([r,u])=>{var d;const a=u[1]||r;return c.set(a,r),512&u[0]&&((d=t.C)==null||d.push([r,a])),a}))]))}}return e},ct=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.W=t[3],o.F=be(e.F),o.P=e.P,o.U=e.U,o.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,i)=>{const c={i:0,$hostElement$:l,o:i,l:new Map,B:new Map};c.H=new Promise((u=>c.L=u)),l["s-p"]=[],l["s-rc"]=[];const r=c;l.__stencil__getHostRef=()=>r,512&i.i&&Fe(l,c)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=x(this);if(!l)return;Re(this,l,o.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&_.i)){const i=x(l);if(!i)return;const c=i.o;if(1&i.i)Re(l,i,c.W),i?.D||i?.H&&i.H.then((()=>{}));else{i.i|=1,12&c.i&&(r=>{if(!N.document)return;const u=r["s-cr"]=N.document.createComment("");u["s-cn"]=!0,$(r,u,r.firstChild)})(l);{let r=l;for(;r=r.parentNode||r.host;)if(r["s-p"]){Ae(i,i.R=r);break}}c.t&&Object.entries(c.t).map((([r,[u]])=>{if(31&u&&Object.prototype.hasOwnProperty.call(l,r)){const d=l[r];delete l[r],l[r]=d}})),(async(r,u,d)=>{let a;try{if(!(32&u.i)&&(u.i|=32,a=r.constructor,customElements.whenDefined(r.localName).then((()=>u.i|=128)),a&&a.style)){let h;typeof a.style=="string"&&(h=a.style);const b=ge(d);G.has(b)||((S,g,y)=>{let p=G.get(S);K&&y?(p=p||new CSSStyleSheet,typeof p=="string"?p=g:p.replaceSync(g)):p=g,G.set(S,p)})(b,h,!!(1&d.i))}const f=u.R,m=()=>ae(u,!0);f&&f["s-rc"]?f["s-rc"].push(m):m()}catch(f){R(f,r),u.A&&(u.A(),u.A=void 0),u.L&&u.L(r)}})(l,i,c)}}})(this),s&&s.call(this)},disconnectedCallback(){(async l=>{if(!(1&_.i)){const i=x(l);i?.V&&(i.V.map((c=>c())),i.V=void 0)}T.has(l)&&T.delete(l),l.shadowRoot&&T.has(l.shadowRoot)&&T.delete(l.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else qe.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),it(e,o,3)}catch(s){return R(s),e}},Re=(e,t,o)=>{o&&N.document&&o.map((([s,n,l])=>{const i=ut(N.document,e,s),c=at(t,l),r=dt(s);_.ael(i,n,c,r),(t.V=t.V||[]).push((()=>_.rel(i,n,c,r)))}))},at=(e,t)=>o=>{try{e.$hostElement$[t](o)}catch(s){R(s,e.$hostElement$)}},ut=(e,t,o)=>8&o?N:t,dt=e=>Be?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function gt(e){return e}function Le(e){var t,o,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=Le(e[t]))&&(s&&(s+=" "),s+=o)}else for(o in e)e[o]&&(s&&(s+=" "),s+=o);return s}function ft(){for(var e,t,o=0,s="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=Le(e))&&(s&&(s+=" "),s+=t);return s}const ht=Object.freeze(Object.defineProperty({__proto__:null,getGidsExpansionGroupClassNames:e=>ft("gids-expansion-group",e)},Symbol.toStringTag,{value:"Module"})),{getGidsExpansionGroupClassNames:pt}=ht,He=ct(class extends We{constructor(e){super(),e!==!1&&this.__registerHost()}render(){const e=pt();return U(ve,{key:"15cd9ad12d4c3af9ba224728362eb41530aa3cae",class:e},U("slot",{key:"b6b2831de1ec6ad5ef92afc564b9cc749927d8da"}))}static get style(){return".gids-expansion-group{display:flex;flex-direction:column;width:100%}"}},[260,"gids-expansion-group"]);function Me(){typeof customElements<"u"&&["gids-expansion-group"].forEach((e=>{e==="gids-expansion-group"&&(customElements.get(e)||customElements.define(e,He))}))}Me();const mt=He,yt=Me;P.GidsExpansionGroup=mt,P.defineCustomElement=yt,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const b=this["s-cr"].parentElement;return(b.__childNodes?b.childNodes:(S=>{const g=[];for(let y=0;y<S.length;y++){const p=S[y]["s-nr"]||void 0;p&&p.isConnected&&g.push(p)}return g})(b.childNodes)).forEach((S=>{h===F(S)&&m.push(S)})),a?m.filter((S=>S.nodeType===1)):m}).bind(u);u.assignedElements=d(!0),u.assignedNodes=d(!1)})(l),c=e&&e.m&&e.m[o],c&&c.O===n.O&&e.S&&je(e.S)),l},je=e=>{_.i|=1;const t=e.closest(L.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of o?s.reverse():s)n["s-sh"]!=null&&($(t,n,o??null),n["s-sh"]=void 0,Y=!0)}_.i&=-2},Z=(e,t)=>{_.i|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===L&&o.push(s)}for(let s=o.length-1;s>=0;s--){const n=o[s];n["s-hn"]!==L&&n["s-ol"]&&($(W(n).parentNode,n,W(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,Y=!0),t&&Z(n,t)}_.i&=-2},ke=(e,t,o,s,n,l)=>{let i,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===L&&(c=c.shadowRoot),o.O==="template"&&(c=c.content);n<=l;++n)s[n]&&(i=I(null,o,n),i&&(s[n].S=i,$(c,i,W(t))))},$e=(e,t,o)=>{for(let s=t;s<=o;++s){const n=e[s];if(n){const l=n.S;xe(n),l&&(z=!0,l["s-ol"]?l["s-ol"].remove():Z(l,!0),l.remove())}}},J=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),W=e=>e&&e["s-ol"]||e,M=(e,t,o=!1)=>{const s=t.S=e.S,n=e.m,l=t.m,i=t.O,c=t.h;let r;c==null?(E=i==="svg"||i!=="foreignObject"&&E,i!=="slot"||V||e.j!==t.j&&(t.S["s-sn"]=t.j||"",je(t.S.parentElement)),re(e,t,E),n!==null&&l!==null?((u,d,a,f,m=!1)=>{let h,b,S=0,g=0,y=0,p=0,O=d.length-1,v=d[0],w=d[O],j=f.length-1,k=f[0],C=f[j];const De=a.O==="template"?u.content:u;for(;S<=O&&g<=j;)if(v==null)v=d[++S];else if(w==null)w=d[--O];else if(k==null)k=f[++g];else if(C==null)C=f[--j];else if(J(v,k,m))M(v,k,m),v=d[++S],k=f[++g];else if(J(w,C,m))M(w,C,m),w=d[--O],C=f[--j];else if(J(v,C,m))v.O!=="slot"&&C.O!=="slot"||Z(v.S.parentNode,!1),M(v,C,m),$(De,v.S,w.S.nextSibling),v=d[++S],C=f[--j];else if(J(w,k,m))v.O!=="slot"&&C.O!=="slot"||Z(w.S.parentNode,!1),M(w,k,m),$(De,w.S,v.S),w=d[--O],k=f[++g];else{for(y=-1,p=S;p<=O;++p)if(d[p]&&d[p].$!==null&&d[p].$===k.$){y=p;break}y>=0?(b=d[y],b.O!==k.O?h=I(d&&d[g],a,y):(M(b,k,m),d[y]=void 0,h=b.S),k=f[++g]):(h=I(d&&d[g],a,g),k=f[++g]),h&&$(W(v.S).parentNode,h,W(v.S))}S>O?ke(u,f[j+1]==null?null:f[j+1].S,a,f,g,j):g>j&&$e(d,S,O)})(s,n,t,l,o):l!==null?(e.h!==null&&(s.textContent=""),ke(s,null,t,l,0,l.length-1)):!o&&n!==null&&$e(n,0,n.length-1),E&&i==="svg"&&(E=!1)):(r=s["s-cr"])?r.parentNode.textContent=c:e.h!==c&&(s.data=c)},A=[],Ce=e=>{let t,o,s;const n=e.__childNodes||e.childNodes;for(const l of n){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const i=l["s-sn"];for(s=o.length-1;s>=0;s--)if(t=o[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(ye(t,i)){let c=A.find((r=>r.k===t));z=!0,t["s-sn"]=t["s-sn"]||i,c?(c.k["s-sh"]=l["s-hn"],c.N=l):(t["s-sh"]=l["s-hn"],A.push({N:l,k:t})),t["s-sr"]&&A.map((r=>{ye(r.k,t["s-sn"])&&(c=A.find((u=>u.k===t)),c&&!r.N&&(r.N=c.N))}))}else A.some((c=>c.k===t))||A.push({k:t})}l.nodeType===1&&Ce(l)}},xe=e=>{e.v&&e.v.ref&&ie.push((()=>e.v.ref(null))),e.m&&e.m.map(xe)},Qe=(e,t)=>{ce.push((()=>e(t)))},$=(e,t,o,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:n}=(function(l,i){var c;if(!(i=i||((c=l["s-ol"])==null?void 0:c.parentElement)))return{slotNode:null,slotName:""};const r=l["s-sn"]=F(l)||"";return{slotNode:se(oe(i,"childNodes"),i.tagName,r)[0],slotName:r}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},Xe=(e,t,o=!1)=>{var s,n,l,i,c;const r=e.$hostElement$,u=e.o,d=e.M||q(null,null);var a;const f=(a=t)&&a.O===ve?t:U(null,null,t);if(L=r.tagName,u.C&&(f.v=f.v||{},u.C.forEach((([m,h])=>{f.v[h]=r[m]}))),o&&f.v)for(const m of Object.keys(f.v))r.hasAttribute(m)&&!["key","ref","style","class"].includes(m)&&(f.v[m]=r[m]);if(f.O=null,f.i|=4,e.M=f,f.S=d.S=r.shadowRoot||r,V=!(!(1&u.i)||128&u.i),ne=r["s-cr"],z=!1,M(d,f,o),_.i|=1,Y){Ce(f.S);for(const m of A){const h=m.k;if(!h["s-ol"]&&N.document){const b=N.document.createTextNode("");b["s-nr"]=h,$(h.parentNode,h["s-ol"]=b,h,o)}}for(const m of A){const h=m.k,b=m.N;if(h.nodeType===1&&o&&(h["s-ih"]=(s=h.hidden)!=null&&s),b){const S=b.parentNode;let g=b.nextSibling;if(g&&g.nodeType===1){let y=(n=h["s-ol"])==null?void 0:n.previousSibling;for(;y;){let p=(l=y["s-nr"])!=null?l:null;if(p&&p["s-sn"]===h["s-sn"]&&S===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===h||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){g=p;break}}y=y.previousSibling}}if((!g&&S!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==g)&&h!==g){if($(S,h,g,o),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=N.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=h["s-hn"],y["s-sn"]=h["s-sn"],y["s-sh"]=h["s-sh"],y["s-sr"]=h["s-sr"],y["s-ol"]=h["s-ol"],y["s-ol"]["s-nr"]=y,$(h.parentNode,y,h,o),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(i=h["s-ih"])!=null&&i)}h&&typeof b["s-rf"]=="function"&&b["s-rf"](b)}else h.nodeType===1&&(h.hidden=!0)}}if(z&&me(f.S),_.i&=-2,A.length=0,!V&&!(1&u.i)&&r["s-cr"]){const m=f.S.__childNodes||f.S.childNodes;for(const h of m)if(h["s-hn"]!==L&&!h["s-sh"]){if(o&&h["s-ih"]==null&&(h["s-ih"]=(c=h.hidden)!=null&&c),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const b=N.document.createComment("s-nt-"+h.nodeValue);b["s-sn"]=h["s-sn"],$(h.parentNode,b,h,o),h.parentNode.removeChild(h)}}}ne=void 0,ie.forEach((m=>m())),ie.length=0,ce.forEach((m=>m())),ce.length=0},Ae=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(o-1,1),s()})))}},ae=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Ae(e,e.R);const o=()=>et(e,t);if(!t)return Ue(o);queueMicrotask((()=>{o()}))},et=(e,t)=>{const o=e.$hostElement$,s=o;if(!s)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=B(s,t?"componentWillLoad":"componentWillUpdate",void 0,o),n=Te(n,(()=>B(s,"componentWillRender",void 0,o))),Te(n,(()=>st(e,s,t)))},Te=(e,t)=>tt(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),tt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",st=async(e,t,o)=>{var s;const n=e.$hostElement$,l=n["s-rc"];o&&(i=>{const c=i.o,r=i.$hostElement$,u=c.i,d=((a,f)=>{var m,h,b;const S=ge(f),g=G.get(S);if(!N.document)return S;if(a=a.nodeType===11?a:N.document,g)if(typeof g=="string"){let y,p=T.get(a=a.head||a);if(p||T.set(a,p=new Set),!p.has(S)){y=N.document.createElement("style"),y.textContent=g;const O=(m=_._)!=null?m:(function(){var v,w,j;return(j=(w=(v=N.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:w.getAttribute("content"))!=null?j:void 0})();if(O!=null&&y.setAttribute("nonce",O),!(1&f.i))if(a.nodeName==="HEAD"){const v=a.querySelectorAll("link[rel=preconnect]"),w=v.length>0?v[v.length-1].nextSibling:a.querySelector("style");a.insertBefore(y,w?.parentNode===a?w:null)}else if("host"in a)if(K){const v=new((h=a.defaultView)!=null?h:a.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(g),Q?a.adoptedStyleSheets.unshift(v):a.adoptedStyleSheets=[v,...a.adoptedStyleSheets]}else{const v=a.querySelector("style");v?v.textContent=g+v.textContent:a.prepend(y)}else a.append(y);1&f.i&&a.insertBefore(y,null),4&f.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(S)}}else{let y=T.get(a);if(y||T.set(a,y=new Set),!y.has(S)){const p=(b=a.defaultView)!=null?b:a.ownerDocument.defaultView;let O;if(g.constructor===p.CSSStyleSheet)O=g;else{O=new p.CSSStyleSheet;for(let v=0;v<g.cssRules.length;v++)O.insertRule(g.cssRules[v].cssText,v)}Q?a.adoptedStyleSheets.push(O):a.adoptedStyleSheets=[...a.adoptedStyleSheets,O],y.add(S)}}return S})(r.shadowRoot?r.shadowRoot:r.getRootNode(),c);10&u&&(r["s-sc"]=d,r.classList.add(d+"-h"))})(e),ot(e,t,n,o),l&&(l.map((i=>i())),n["s-rc"]=void 0);{const i=(s=n["s-p"])!=null?s:[],c=()=>nt(e);i.length===0?c():(Promise.all(i).then(c).catch(c),e.i|=4,i.length=0)}},ot=(e,t,o,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,Xe(e,t,s)}catch(n){R(n,e.$hostElement$)}return null},nt=e=>{const t=e.$hostElement$,o=t,s=e.R;B(o,"componentDidRender",void 0,t),64&e.i?B(o,"componentDidUpdate",void 0,t):(e.i|=64,rt(t),B(o,"componentDidLoad",void 0,t),e.L(t),s||lt()),e.A&&(e.A(),e.A=void 0),512&e.i&&te((()=>ae(e,!1))),e.i&=-517},lt=()=>{te((()=>Ze(N,"appload",{detail:{namespace:"gids-core-web"}})))},B=(e,t,o,s)=>{if(e&&e[t])try{return e[t](o)}catch(n){R(n,s)}},rt=e=>e.classList.add("hydrated"),Pe=(e,t,o,s)=>{const n=x(e);if(!n)return;const l=e,i=n.l.get(t),c=n.i,r=l;o=Ne(o,s.t[t][0],!!(64&s.i));const u=Number.isNaN(i)&&Number.isNaN(o);if(o!==i&&!u){if(n.l.set(t,o),s.F){const d=s.F[t];d&&d.map((a=>{try{const[[f,m]]=Object.entries(a);(128&c||1&m)&&(r?r[f](o,i,t):n.T.push((()=>{n.D[f](o,i,t)})))}catch(f){R(f,l)}}))}if(2&c){if(r.componentShouldUpdate&&r.componentShouldUpdate(o,i,t)===!1&&!(16&c))return;16&c||ae(n,!1)}}},it=(e,t,o)=>{var s,n;const l=e.prototype;64&t.i&&1&o&&Ve.forEach((i=>{const c=l[i];Object.defineProperty(l,i,{value(...r){var u;const d=x(this),a=this;a?typeof c=="function"&&c.call(a,...r):(u=d?.H)==null||u.then((f=>{const m=f[i];typeof m=="function"&&m.call(f,...r)}))}})}));{e.watchers&&!t.F&&(t.F=be(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const i=Object.entries((s=t.t)!=null?s:{});i.map((([c,[r]])=>{if(31&r||32&r){const{get:u,set:d}=H(l,c)||{};u&&(t.t[c][0]|=2048),d&&(t.t[c][0]|=4096),Object.defineProperty(l,c,{get(){return u?u.apply(this):(a=c,x(this).l.get(a));var a},configurable:!0,enumerable:!0}),Object.defineProperty(l,c,{set(a){const f=x(this);if(f){if(d)return(32&r?this[c]:f.$hostElement$[c])===void 0&&f.l.get(c)&&(a=f.l.get(c)),d.apply(this,[Ne(a,r,!!(64&t.i))]),void Pe(this,c,a=32&r?this[c]:f.$hostElement$[c],t);Pe(this,c,a,t)}}})}}));{const c=new Map;l.attributeChangedCallback=function(r,u,d){_.jmp((()=>{var a;const f=c.get(r),m=x(this);if(this.hasOwnProperty(f),l.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==d)return;if(f==null){const y=m?.i;if(m&&y&&!(8&y)&&d!==u){const p=this,O=(a=t.F)==null?void 0:a[r];O?.forEach((v=>{const[[w,j]]=Object.entries(v);p[w]!=null&&(128&y||1&j)&&p[w].call(p,d,u,r)}))}return}const h=i.find((([y])=>y===f)),b=h&&4&h[1][0],S=b&&d===null&&this[f]===void 0;b&&(d=d!==null&&d!=="false");const g=Object.getOwnPropertyDescriptor(l,f);S||d==this[f]||g.get&&!g.set||(this[f]=d)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...i.filter((([r,u])=>31&u[0])).map((([r,u])=>{var d;const a=u[1]||r;return c.set(a,r),512&u[0]&&((d=t.C)==null||d.push([r,a])),a}))]))}}return e},ct=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.W=t[3],o.F=be(e.F),o.P=e.P,o.U=e.U,o.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,i)=>{const c={i:0,$hostElement$:l,o:i,l:new Map,B:new Map};c.H=new Promise((u=>c.L=u)),l["s-p"]=[],l["s-rc"]=[];const r=c;l.__stencil__getHostRef=()=>r,512&i.i&&Fe(l,c)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=x(this);if(!l)return;Re(this,l,o.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&_.i)){const i=x(l);if(!i)return;const c=i.o;if(1&i.i)Re(l,i,c.W),i?.D||i?.H&&i.H.then((()=>{}));else{i.i|=1,12&c.i&&(r=>{if(!N.document)return;const u=r["s-cr"]=N.document.createComment("");u["s-cn"]=!0,$(r,u,r.firstChild)})(l);{let r=l;for(;r=r.parentNode||r.host;)if(r["s-p"]){Ae(i,i.R=r);break}}c.t&&Object.entries(c.t).map((([r,[u]])=>{if(31&u&&Object.prototype.hasOwnProperty.call(l,r)){const d=l[r];delete l[r],l[r]=d}})),(async(r,u,d)=>{let a;try{if(!(32&u.i)&&(u.i|=32,a=r.constructor,customElements.whenDefined(r.localName).then((()=>u.i|=128)),a&&a.style)){let h;typeof a.style=="string"&&(h=a.style);const b=ge(d);G.has(b)||((S,g,y)=>{let p=G.get(S);K&&y?(p=p||new CSSStyleSheet,typeof p=="string"?p=g:p.replaceSync(g)):p=g,G.set(S,p)})(b,h,!!(1&d.i))}const f=u.R,m=()=>ae(u,!0);f&&f["s-rc"]?f["s-rc"].push(m):m()}catch(f){R(f,r),u.A&&(u.A(),u.A=void 0),u.L&&u.L(r)}})(l,i,c)}}})(this),s&&s.call(this)},disconnectedCallback(){(async l=>{if(!(1&_.i)){const i=x(l);i?.V&&(i.V.map((c=>c())),i.V=void 0)}T.has(l)&&T.delete(l),l.shadowRoot&&T.has(l.shadowRoot)&&T.delete(l.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else qe.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),it(e,o,3)}catch(s){return R(s),e}},Re=(e,t,o)=>{o&&N.document&&o.map((([s,n,l])=>{const i=ut(N.document,e,s),c=at(t,l),r=dt(s);_.ael(i,n,c,r),(t.V=t.V||[]).push((()=>_.rel(i,n,c,r)))}))},at=(e,t)=>o=>{try{e.$hostElement$[t](o)}catch(s){R(s,e.$hostElement$)}},ut=(e,t,o)=>8&o?N:t,dt=e=>Be?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function gt(e){return e}function Le(e){var t,o,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=Le(e[t]))&&(s&&(s+=" "),s+=o)}else for(o in e)e[o]&&(s&&(s+=" "),s+=o);return s}function ft(){for(var e,t,o=0,s="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=Le(e))&&(s&&(s+=" "),s+=t);return s}const ht=Object.freeze(Object.defineProperty({__proto__:null,getGidsExpansionGroupClassNames:e=>ft("gids-expansion-group",e)},Symbol.toStringTag,{value:"Module"})),{getGidsExpansionGroupClassNames:pt}=ht,He=ct(class extends We{constructor(e){super(),e!==!1&&this.__registerHost()}render(){const e=pt();return U(ve,{key:"3bd92428913c3c35bdb7a639d472ff6064e62baf",class:e},U("slot",{key:"0be723a0821f0a5b80f1d042fe318da03f8d2fb6"}))}static get style(){return".gids-expansion-group{display:flex;flex-direction:column;width:100%}"}},[260,"gids-expansion-group"]);function Me(){typeof customElements<"u"&&["gids-expansion-group"].forEach((e=>{e==="gids-expansion-group"&&(customElements.get(e)||customElements.define(e,He))}))}Me();const mt=He,yt=Me;P.GidsExpansionGroup=mt,P.defineCustomElement=yt,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"})}));
@@ -2,4 +2,4 @@
2
2
  Flattening is not supported for Stencil non-shadow slots.
3
3
  You can use \`.childNodes\` to nested slot fallback content.
4
4
  If you have a particular use case, please open an issue on the Stencil repo.
5
- `);const _=this["s-cr"].parentElement;return(_.__childNodes?_.childNodes:(y=>{const v=[];for(let m=0;m<y.length;m++){const g=y[m]["s-nr"]||void 0;g&&g.isConnected&&v.push(g)}return v})(_.childNodes)).forEach((y=>{u===G(y)&&f.push(y)})),d?f.filter((y=>y.nodeType===1)):f}).bind(c);c.assignedElements=h(!0),c.assignedNodes=h(!1)})(a),l=e&&e.m&&e.m[s],l&&l.O===o.O&&e.S&&$e(e.S)),a},$e=e=>{N.i|=1;const t=e.closest(I.toLowerCase());if(t!=null){const s=Array.from(t.__childNodes||t.childNodes).find((o=>o["s-cr"])),n=Array.from(e.__childNodes||e.childNodes);for(const o of s?n.reverse():n)o["s-sh"]!=null&&(A(t,o,s??null),o["s-sh"]=void 0,U=!0)}N.i&=-2},Y=(e,t)=>{N.i|=1;const s=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let n=e;for(;n=n.nextSibling;)n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===I&&s.push(n)}for(let n=s.length-1;n>=0;n--){const o=s[n];o["s-hn"]!==I&&o["s-ol"]&&(A(V(o).parentNode,o,V(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,U=!0),t&&Y(o,t)}N.i&=-2},je=(e,t,s,n,o,a)=>{let r,l=e["s-cr"]&&e["s-cr"].parentNode||e;for(l.shadowRoot&&l.tagName===I&&(l=l.shadowRoot),s.O==="template"&&(l=l.content);o<=a;++o)n[o]&&(r=K(null,s,o),r&&(n[o].S=r,A(l,r,V(t))))},Pe=(e,t,s)=>{for(let n=t;n<=s;++n){const o=e[n];if(o){const a=o.S;Te(o),a&&(q=!0,a["s-ol"]?a["s-ol"].remove():Y(a,!0),a.remove())}}},Z=(e,t,s=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),V=e=>e&&e["s-ol"]||e,D=(e,t,s=!1)=>{const n=t.S=e.S,o=e.m,a=t.m,r=t.O,l=t.h;let i;l==null?(k=r==="svg"||r!=="foreignObject"&&k,r!=="slot"||H||e.j!==t.j&&(t.S["s-sn"]=t.j||"",$e(t.S.parentElement)),ae(e,t,k),o!==null&&a!==null?((c,h,d,p,f=!1)=>{let u,_,y=0,v=0,m=0,g=0,w=h.length-1,b=h[0],S=h[w],E=p.length-1,C=p[0],$=p[E];const Ye=d.O==="template"?c.content:c;for(;y<=w&&v<=E;)if(b==null)b=h[++y];else if(S==null)S=h[--w];else if(C==null)C=p[++v];else if($==null)$=p[--E];else if(Z(b,C,f))D(b,C,f),b=h[++y],C=p[++v];else if(Z(S,$,f))D(S,$,f),S=h[--w],$=p[--E];else if(Z(b,$,f))b.O!=="slot"&&$.O!=="slot"||Y(b.S.parentNode,!1),D(b,$,f),A(Ye,b.S,S.S.nextSibling),b=h[++y],$=p[--E];else if(Z(S,C,f))b.O!=="slot"&&$.O!=="slot"||Y(S.S.parentNode,!1),D(S,C,f),A(Ye,S.S,b.S),S=h[--w],C=p[++v];else{for(m=-1,g=y;g<=w;++g)if(h[g]&&h[g].$!==null&&h[g].$===C.$){m=g;break}m>=0?(_=h[m],_.O!==C.O?u=K(h&&h[v],d,m):(D(_,C,f),h[m]=void 0,u=_.S),C=p[++v]):(u=K(h&&h[v],d,v),C=p[++v]),u&&A(V(b.S).parentNode,u,V(b.S))}y>w?je(c,p[E+1]==null?null:p[E+1].S,d,p,v,E):v>E&&Pe(h,y,w)})(n,o,t,a,s):a!==null?(e.h!==null&&(n.textContent=""),je(n,null,t,a,0,a.length-1)):!s&&o!==null&&Pe(o,0,o.length-1),k&&r==="svg"&&(k=!1)):(i=n["s-cr"])?i.parentNode.textContent=l:e.h!==l&&(n.data=l)},P=[],Le=e=>{let t,s,n;const o=e.__childNodes||e.childNodes;for(const a of o){if(a["s-sr"]&&(t=a["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const r=a["s-sn"];for(n=s.length-1;n>=0;n--)if(t=s[n],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===a["s-hn"]||t["s-sh"]&&t["s-sh"]===a["s-hn"]))if(_e(t,r)){let l=P.find((i=>i.k===t));q=!0,t["s-sn"]=t["s-sn"]||r,l?(l.k["s-sh"]=a["s-hn"],l.N=a):(t["s-sh"]=a["s-hn"],P.push({N:a,k:t})),t["s-sr"]&&P.map((i=>{_e(i.k,t["s-sn"])&&(l=P.find((c=>c.k===t)),l&&!i.N&&(i.N=l.N))}))}else P.some((l=>l.k===t))||P.push({k:t})}a.nodeType===1&&Le(a)}},Te=e=>{e.v&&e.v.ref&&re.push((()=>e.v.ref(null))),e.m&&e.m.map(Te)},dt=(e,t)=>{le.push((()=>e(t)))},A=(e,t,s,n)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:o}=(function(a,r){var l;if(!(r=r||((l=a["s-ol"])==null?void 0:l.parentElement)))return{slotNode:null,slotName:""};const i=a["s-sn"]=G(a)||"";return{slotNode:ne(se(r,"childNodes"),r.tagName,i)[0],slotName:i}})(t);return o&&!n&&o.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},ct=(e,t,s=!1)=>{var n,o,a,r,l;const i=e.$hostElement$,c=e.o,h=e.M||W(null,null);var d;const p=(d=t)&&d.O===Se?t:O(null,null,t);if(I=i.tagName,c.C&&(p.v=p.v||{},c.C.forEach((([f,u])=>{p.v[u]=i[f]}))),s&&p.v)for(const f of Object.keys(p.v))i.hasAttribute(f)&&!["key","ref","style","class"].includes(f)&&(p.v[f]=i[f]);if(p.O=null,p.i|=4,e.M=p,p.S=h.S=i.shadowRoot||i,H=!(!(1&c.i)||128&c.i),oe=i["s-cr"],q=!1,D(h,p,s),N.i|=1,U){Le(p.S);for(const f of P){const u=f.k;if(!u["s-ol"]&&x.document){const _=x.document.createTextNode("");_["s-nr"]=u,A(u.parentNode,u["s-ol"]=_,u,s)}}for(const f of P){const u=f.k,_=f.N;if(u.nodeType===1&&s&&(u["s-ih"]=(n=u.hidden)!=null&&n),_){const y=_.parentNode;let v=_.nextSibling;if(v&&v.nodeType===1){let m=(o=u["s-ol"])==null?void 0:o.previousSibling;for(;m;){let g=(a=m["s-nr"])!=null?a:null;if(g&&g["s-sn"]===u["s-sn"]&&y===(g.__parentNode||g.parentNode)){for(g=g.nextSibling;g===u||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){v=g;break}}m=m.previousSibling}}if((!v&&y!==(u.__parentNode||u.parentNode)||(u.__nextSibling||u.nextSibling)!==v)&&u!==v){if(A(y,u,v,s),u.nodeType===8&&u.nodeValue.startsWith("s-nt-")){const m=x.document.createTextNode(u.nodeValue.replace(/^s-nt-/,""));m["s-hn"]=u["s-hn"],m["s-sn"]=u["s-sn"],m["s-sh"]=u["s-sh"],m["s-sr"]=u["s-sr"],m["s-ol"]=u["s-ol"],m["s-ol"]["s-nr"]=m,A(u.parentNode,m,u,s),u.parentNode.removeChild(u)}u.nodeType===1&&u.tagName!=="SLOT-FB"&&(u.hidden=(r=u["s-ih"])!=null&&r)}u&&typeof _["s-rf"]=="function"&&_["s-rf"](_)}else u.nodeType===1&&(u.hidden=!0)}}if(q&&ye(p.S),N.i&=-2,P.length=0,!H&&!(1&c.i)&&i["s-cr"]){const f=p.S.__childNodes||p.S.childNodes;for(const u of f)if(u["s-hn"]!==I&&!u["s-sh"]){if(s&&u["s-ih"]==null&&(u["s-ih"]=(l=u.hidden)!=null&&l),u.nodeType===1)u.hidden=!0;else if(u.nodeType===3&&u.nodeValue.trim()){const _=x.document.createComment("s-nt-"+u.nodeValue);_["s-sn"]=u["s-sn"],A(u.parentNode,_,u,s),u.parentNode.removeChild(u)}}}oe=void 0,re.forEach((f=>f())),re.length=0,le.forEach((f=>f())),le.length=0},Re=(e,t)=>{if(t&&!e.A&&t["s-p"]){const s=t["s-p"].push(new Promise((n=>e.A=()=>{t["s-p"].splice(s-1,1),n()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Re(e,e.R);const s=()=>ht(e,t);if(!t)return tt(s);queueMicrotask((()=>{s()}))},ht=(e,t)=>{const s=e.$hostElement$,n=s;if(!n)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return o=F(n,t?"componentWillLoad":"componentWillUpdate",void 0,s),o=Ie(o,(()=>F(n,"componentWillRender",void 0,s))),Ie(o,(()=>ut(e,n,t)))},Ie=(e,t)=>pt(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),pt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",ut=async(e,t,s)=>{var n;const o=e.$hostElement$,a=o["s-rc"];s&&(r=>{const l=r.o,i=r.$hostElement$,c=l.i,h=((d,p)=>{var f,u,_;const y=xe(p),v=B.get(y);if(!x.document)return y;if(d=d.nodeType===11?d:x.document,v)if(typeof v=="string"){let m,g=L.get(d=d.head||d);if(g||L.set(d,g=new Set),!g.has(y)){m=x.document.createElement("style"),m.textContent=v;const w=(f=N._)!=null?f:(function(){var b,S,E;return(E=(S=(b=x.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:S.getAttribute("content"))!=null?E:void 0})();if(w!=null&&m.setAttribute("nonce",w),!(1&p.i))if(d.nodeName==="HEAD"){const b=d.querySelectorAll("link[rel=preconnect]"),S=b.length>0?b[b.length-1].nextSibling:d.querySelector("style");d.insertBefore(m,S?.parentNode===d?S:null)}else if("host"in d)if(J){const b=new((u=d.defaultView)!=null?u:d.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(v),Q?d.adoptedStyleSheets.unshift(b):d.adoptedStyleSheets=[b,...d.adoptedStyleSheets]}else{const b=d.querySelector("style");b?b.textContent=v+b.textContent:d.prepend(m)}else d.append(m);1&p.i&&d.insertBefore(m,null),4&p.i&&(m.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),g&&g.add(y)}}else{let m=L.get(d);if(m||L.set(d,m=new Set),!m.has(y)){const g=(_=d.defaultView)!=null?_:d.ownerDocument.defaultView;let w;if(v.constructor===g.CSSStyleSheet)w=v;else{w=new g.CSSStyleSheet;for(let b=0;b<v.cssRules.length;b++)w.insertRule(v.cssRules[b].cssText,b)}Q?d.adoptedStyleSheets.push(w):d.adoptedStyleSheets=[...d.adoptedStyleSheets,w],m.add(y)}}return y})(i.shadowRoot?i.shadowRoot:i.getRootNode(),l);10&c&&(i["s-sc"]=h,i.classList.add(h+"-h"))})(e),ft(e,t,o,s),a&&(a.map((r=>r())),o["s-rc"]=void 0);{const r=(n=o["s-p"])!=null?n:[],l=()=>gt(e);r.length===0?l():(Promise.all(r).then(l).catch(l),e.i|=4,r.length=0)}},ft=(e,t,s,n)=>{try{t=t.render(),e.i&=-17,e.i|=2,ct(e,t,n)}catch(o){R(o,e.$hostElement$)}return null},gt=e=>{const t=e.$hostElement$,s=t,n=e.R;F(s,"componentDidRender",void 0,t),64&e.i?F(s,"componentDidUpdate",void 0,t):(e.i|=64,vt(t),F(s,"componentDidLoad",void 0,t),e.L(t),n||mt()),e.A&&(e.A(),e.A=void 0),512&e.i&&te((()=>de(e,!1))),e.i&=-517},mt=()=>{te((()=>at(x,"appload",{detail:{namespace:"gids-core-web"}})))},F=(e,t,s,n)=>{if(e&&e[t])try{return e[t](s)}catch(o){R(o,n)}},vt=e=>e.classList.add("hydrated"),ze=(e,t,s,n)=>{const o=j(e);if(!o)return;const a=e,r=o.l.get(t),l=o.i,i=a;s=ke(s,n.t[t][0],!!(64&n.i));const c=Number.isNaN(r)&&Number.isNaN(s);if(s!==r&&!c){if(o.l.set(t,s),n.F){const h=n.F[t];h&&h.map((d=>{try{const[[p,f]]=Object.entries(d);(128&l||1&f)&&(i?i[p](s,r,t):o.T.push((()=>{o.D[p](s,r,t)})))}catch(p){R(p,a)}}))}if(2&l){if(i.componentShouldUpdate&&i.componentShouldUpdate(s,r,t)===!1&&!(16&l))return;16&l||de(o,!1)}}},bt=(e,t,s)=>{var n,o;const a=e.prototype;64&t.i&&1&s&&Je.forEach((r=>{const l=a[r];Object.defineProperty(a,r,{value(...i){var c;const h=j(this),d=this;d?typeof l=="function"&&l.call(d,...i):(c=h?.H)==null||c.then((p=>{const f=p[r];typeof f=="function"&&f.call(p,...i)}))}})}));{e.watchers&&!t.F&&(t.F=Ne(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const r=Object.entries((n=t.t)!=null?n:{});r.map((([l,[i]])=>{if(31&i||32&i){const{get:c,set:h}=z(a,l)||{};c&&(t.t[l][0]|=2048),h&&(t.t[l][0]|=4096),Object.defineProperty(a,l,{get(){return c?c.apply(this):(d=l,j(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(a,l,{set(d){const p=j(this);if(p){if(h)return(32&i?this[l]:p.$hostElement$[l])===void 0&&p.l.get(l)&&(d=p.l.get(l)),h.apply(this,[ke(d,i,!!(64&t.i))]),void ze(this,l,d=32&i?this[l]:p.$hostElement$[l],t);ze(this,l,d,t)}}})}}));{const l=new Map;a.attributeChangedCallback=function(i,c,h){N.jmp((()=>{var d;const p=l.get(i),f=j(this);if(this.hasOwnProperty(p),a.hasOwnProperty(p)&&typeof this[p]=="number"&&this[p]==h)return;if(p==null){const m=f?.i;if(f&&m&&!(8&m)&&h!==c){const g=this,w=(d=t.F)==null?void 0:d[i];w?.forEach((b=>{const[[S,E]]=Object.entries(b);g[S]!=null&&(128&m||1&E)&&g[S].call(g,h,c,i)}))}return}const u=r.find((([m])=>m===p)),_=u&&4&u[1][0],y=_&&h===null&&this[p]===void 0;_&&(h=h!==null&&h!=="false");const v=Object.getOwnPropertyDescriptor(a,p);y||h==this[p]||v.get&&!v.set||(this[p]=h)}))},e.observedAttributes=Array.from(new Set([...Object.keys((o=t.F)!=null?o:{}),...r.filter((([i,c])=>31&c[0])).map((([i,c])=>{var h;const d=c[1]||i;return l.set(d,i),512&c[0]&&((h=t.C)==null||h.push([i,d])),d}))]))}}return e},yt=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.W=t[3],s.F=Ne(e.F),s.P=e.P,s.U=e.U,s.C=[];const n=e.prototype.connectedCallback,o=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((a,r)=>{const l={i:0,$hostElement$:a,o:r,l:new Map,B:new Map};l.H=new Promise((c=>l.L=c)),a["s-p"]=[],a["s-rc"]=[];const i=l;a.__stencil__getHostRef=()=>i,512&r.i&&Ze(a,l)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){const a=j(this);if(!a)return;De(this,a,s.W),this.__hasHostListenerAttached=!0}(a=>{if(!(1&N.i)){const r=j(a);if(!r)return;const l=r.o;if(1&r.i)De(a,r,l.W),r?.D||r?.H&&r.H.then((()=>{}));else{r.i|=1,12&l.i&&(i=>{if(!x.document)return;const c=i["s-cr"]=x.document.createComment("");c["s-cn"]=!0,A(i,c,i.firstChild)})(a);{let i=a;for(;i=i.parentNode||i.host;)if(i["s-p"]){Re(r,r.R=i);break}}l.t&&Object.entries(l.t).map((([i,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(a,i)){const h=a[i];delete a[i],a[i]=h}})),(async(i,c,h)=>{let d;try{if(!(32&c.i)&&(c.i|=32,d=i.constructor,customElements.whenDefined(i.localName).then((()=>c.i|=128)),d&&d.style)){let u;typeof d.style=="string"&&(u=d.style);const _=xe(h);B.has(_)||((y,v,m)=>{let g=B.get(y);J&&m?(g=g||new CSSStyleSheet,typeof g=="string"?g=v:g.replaceSync(v)):g=v,B.set(y,g)})(_,u,!!(1&h.i))}const p=c.R,f=()=>de(c,!0);p&&p["s-rc"]?p["s-rc"].push(f):f()}catch(p){R(p,i),c.A&&(c.A(),c.A=void 0),c.L&&c.L(i)}})(a,r,l)}}})(this),n&&n.call(this)},disconnectedCallback(){(async a=>{if(!(1&N.i)){const r=j(a);r?.V&&(r.V.map((l=>l())),r.V=void 0)}L.has(a)&&L.delete(a),a.shadowRoot&&L.has(a.shadowRoot)&&L.delete(a.shadowRoot)})(this),o&&o.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else nt.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),bt(e,s,3)}catch(n){return R(n),e}},De=(e,t,s)=>{s&&x.document&&s.map((([n,o,a])=>{const r=xt(x.document,e,n),l=_t(t,a),i=St(n);N.ael(r,o,l,i),(t.V=t.V||[]).push((()=>N.rel(r,o,l,i)))}))},_t=(e,t)=>s=>{try{e.$hostElement$[t](s)}catch(n){R(n,e.$hostElement$)}},xt=(e,t,s)=>8&s?x:t,St=e=>Xe?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Mt(e){return e}function Me(e){var t,s,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(s=Me(e[t]))&&(n&&(n+=" "),n+=s)}else for(s in e)e[s]&&(n&&(n+=" "),n+=s);return n}function Ge(){for(var e,t,s=0,n="",o=arguments.length;s<o;s++)(e=arguments[s])&&(t=Me(e))&&(n&&(n+=" "),n+=t);return n}const wt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>Ge("gids-icon",{"gids-icon--xs":e==="xs","gids-icon--sm":e==="sm","gids-icon--md":e==="md","gids-icon--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),Nt=Object.freeze(Object.defineProperty({__proto__:null,getGidsExpansionClassNames:({expanded:e},t)=>Ge("gids-expansion",{"gids-expansion--expanded":e},t)},Symbol.toStringTag,{value:"Module"})),ce=Symbol("defaultPath"),He=Symbol("pathSet"),he="gids-asset-paths-set";class kt extends EventTarget{#n=new Map;constructor(){super()}#e(t,s){this.#n.set(t,s)}#t(t){return this.#n.get(t)??null}#s=()=>{this.dispatchEvent(new Event(he))};haveAssetPathsBeenSet(){return this.#t(He)!==null}setAssetPaths(t,s){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(ce,t);else{for(const n in t)this.#e(n,t[n]);s&&this.#e(ce,s)}this.#e(He,"true"),setTimeout(this.#s,0)}}getAssetFilePath(t){const s=this.#t(t);if(s===null){const n=this.#t(ce);if(n!==null)return`${n}${n.endsWith("/")?"":"/"}${t}`}return s}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(he,t,{once:!0}),()=>{this.removeEventListener(he,t)}}}const pe=Symbol.for("GIDS"),Et=()=>(globalThis[pe]===void 0&&(globalThis[pe]={assetPaths:{}}),globalThis[pe]),Ct=e=>{const t=Et().assetPaths;return t[e]===void 0&&(t[e]=new kt),t[e]};function ue(){return Ct("@ganpatiinfo/gids-web-shared")}function Ot(){return ue().haveAssetPathsBeenSet()}function Ve(e){return ue().getAssetFilePath(e)}function At(e){return ue().onAssetPathsSet(e)}let $t=0;const jt=(e,t="gids")=>e||`${t}-${$t++}`,Fe={"icons-other.svg":["accessibility","add","remove","announcement","approval","archive","audio","backward","banking","battery","bluetooth","bookmark","bulb","calendar","camera","card","cart","chart","chat","cloud","code","compass","desktop","email","emergency","exchange","finance","fingerprint","flag","folder","forward","gift","globe","goals","happy","hashtag","headphones","history","image","insurance","investment","in-progress","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","ai","new","draft","pending","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},Be=new Map;for(const e in Fe)for(const t of Fe[e])Be.set(t,e);function Pt(e){return Be.get(e)}function We(e,t="regular",s){const n=Pt(e);let o=n??"";return s&&n&&(o=s(n)??n),`${o}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:Lt}=wt,Tt=({name:e,size:t,appearance:s,alt:n,class:o,titleId:a,src:r,...l})=>{const i=jt(a);let c=r;return c===void 0&&Ot()&&(c=We(e,s,Ve)),O("svg",{ref:h=>{c===void 0&&At((()=>{(function(d,p,f){if(!d)return;const u=document.createElementNS("http://www.w3.org/2000/svg","use");u.setAttribute("href",We(p,f,Ve)),d.appendChild(u)})(h,e,s)}))},width:"16",height:"16",class:Lt({size:t},o),role:"img","aria-hidden":n===""?"true":void 0,"aria-labelledby":n===""?void 0:i,...l},n!==""&&O("title",{id:i},n||e),c!==void 0?O("use",{href:c}):null)};function qe(e){var t,s,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(s=qe(e[t]))&&(n&&(n+=" "),n+=s)}else for(s in e)e[s]&&(n&&(n+=" "),n+=s);return n}function Rt(){for(var e,t,s=0,n="",o=arguments.length;s<o;s++)(e=arguments[s])&&(t=qe(e))&&(n&&(n+=" "),n+=t);return n}const{getGidsExpansionClassNames:It}=Nt,Ue=yt(class extends Qe{constructor(e){super(),e!==!1&&this.__registerHost(),this.labelLevel="h1",this.hasContent=!1,this.handleExpansionClick=()=>{if(this.isInteractive()){const t=!this.isExpanded();this.expanded=t,this.onExpand&&this.onExpand({expansionId:this.expansionId,expanded:t,label:this?.label,labelLevel:this?.labelLevel,disabled:this?.disabled})}}}handleDisabledChange(e){this.disabled=e}handleExpandedChange(e){this.expanded=e}handleLabelLevelChange(e){this.labelLevel=e}componentDidLoad(){this.checkSlotContent()}checkSlotContent(){const e=this.hostElement.querySelector(".gids-expansion__content");if(e){const t=e.children.length>0,s=!!e.textContent&&e.textContent.trim().length>0;this.hasContent=t||s}}isInteractive(){return!this.disabled&&this.hasContent}isExpanded(){return!!this.expanded&&this.isInteractive()}isHavingLabelValue(){return!(!this.label||this.label==="")}getIconSize(){switch(this.labelLevel){case"h2":case"h3":return"md";default:return"lg"}}getLabelClass(){switch(this.labelLevel){case"h2":return"gids-expansion__level-h2";case"h3":return"gids-expansion__level-h3";default:return"gids-expansion__level-h1"}}render(){const e=It({expanded:this.isExpanded()&&this.isInteractive()}),t=this.label;return O(Se,{key:"548d1a5398ae9800ad1cf8b24d7d02a6e4111649",class:e},O("button",{key:"31618853bbaf5b6389fbaaf008972fef5c70e6ed",onClick:this.handleExpansionClick,class:Rt("gids-expansion__container",{"gids-expansion__disabled":this.disabled}),disabled:this.disabled,type:"button"},this.isHavingLabelValue()?O("span",{class:this.getLabelClass()},t):void 0,this.isInteractive()?O(Tt,{name:"chevron-down",size:this.getIconSize(),appearance:"filled"}):void 0),O("div",{key:"2a62873503236e8f8c5f7739e5d562083ef33765",class:"gids-expansion__body","aria-hidden":this.isExpanded()?"false":"true"},O("div",{key:"52c4912088ee65ba0a4caa60c9a20f012fc85fa6",class:"gids-expansion__content"},O("slot",{key:"4d72d3b46fba3becd23d1511b941b038b9a8ee04"}))))}get hostElement(){return this}static get watchers(){return{disabled:[{handleDisabledChange:0}],expanded:[{handleExpandedChange:0}],labelLevel:[{handleLabelLevelChange:0}]}}static get style(){return'.gids-expansion{display:flex;align-items:center;position:relative;padding:var(--gids-padding-vertical-edge-to-element-300) 0}.gids-expansion:not(.gids-expansion--expanded):not([expanded])::after{content:"";position:absolute;bottom:0;left:0;width:100%;height:1px;background-color:var(--gids-color-border-default);transition:background 0.3s ease-in-out;z-index:1}.gids-expansion:not(.gids-expansion--expanded):not([expanded])::before{content:"";position:absolute;bottom:0;left:0;width:100%;height:2px;background:linear-gradient(to right, transparent 0%, transparent 25%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 55%, transparent 75%, transparent 100%);opacity:0;transition:opacity 0.3s ease-in-out;z-index:2}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled)::after{background:linear-gradient(to right, var(--gids-color-border-default) 0%, var(--gids-color-border-default) 15%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 70%, var(--gids-color-border-default) 90%, var(--gids-color-border-default) 100%)}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled)::before{opacity:1}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled) .gids-expansion__level-h1{color:var(--gids-color-background-brand-bold-default)}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled) .gids-expansion__level-h2{color:var(--gids-color-background-brand-bold-default)}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled) .gids-expansion__level-h3{color:var(--gids-color-background-brand-bold-default)}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled) .gids-icon{--gidsIcon-color:var(--gids-color-background-brand-bold-default)}.gids-expansion__container{margin:0;padding:0;appearance:none;border:none;background:none;cursor:pointer;display:flex;align-items:center;gap:var(--gids-gap-050);white-space:nowrap;color:var(--gids-color-text-default)}.gids-expansion__container gids-icon,.gids-expansion__container .gids-icon,.gids-expansion__container GidsIcon,.gids-expansion__container svg{display:inline-block;transform:rotate3d(0, 0, 1, 0deg);transition:transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);transform-origin:center center;backface-visibility:hidden}.gids-expansion__level-h1{font-family:var(--gids-typography-heading-medium__font-family);font-size:var(--gids-typography-heading-medium__font-size);font-weight:var(--gids-typography-heading-medium__font-weight);letter-spacing:var(--gids-typography-heading-medium__letter-spacing);line-height:var(--gids-typography-heading-medium__line-height);text-transform:var(--gids-typography-heading-medium__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-medium__font-variant-caps, inherit)}.gids-expansion__level-h2{font-family:var(--gids-typography-heading-small__font-family);font-size:var(--gids-typography-heading-small__font-size);font-weight:var(--gids-typography-heading-small__font-weight);letter-spacing:var(--gids-typography-heading-small__letter-spacing);line-height:var(--gids-typography-heading-small__line-height);text-transform:var(--gids-typography-heading-small__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-small__font-variant-caps, inherit)}.gids-expansion__level-h3{font-family:var(--gids-typography-heading-x-small__font-family);font-size:var(--gids-typography-heading-x-small__font-size);font-weight:var(--gids-typography-heading-x-small__font-weight);letter-spacing:var(--gids-typography-heading-x-small__letter-spacing);line-height:var(--gids-typography-heading-x-small__line-height);text-transform:var(--gids-typography-heading-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-x-small__font-variant-caps, inherit)}.gids-expansion__body{position:absolute;top:100%;left:0;width:100%;z-index:10;transform:scaleY(0);transform-origin:top center;opacity:0;visibility:hidden;transition:transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s;overflow:hidden}.gids-expansion--expanded{position:relative;display:block}.gids-expansion--expanded .gids-expansion__container gids-icon,.gids-expansion--expanded .gids-expansion__container .gids-icon,.gids-expansion--expanded .gids-expansion__container GidsIcon,.gids-expansion--expanded .gids-expansion__container svg{transform:rotate3d(0, 0, 1, -180deg)}.gids-expansion--expanded .gids-expansion__body{position:relative;top:auto;transform:scaleY(1);opacity:1;visibility:visible}.gids-expansion__content{min-height:0;padding:var(--gids-padding-vertical-edge-to-element-500) 0 var(--gids-padding-horizontal-edge-to-element-500)}.gids-expansion__disabled{color:var(--gids-color-text-disabled);cursor:not-allowed}.gids-expansion__disabled .gids-icon{--gidsIcon-color:var(--gids-color-icon-disabled)}'}},[260,"gids-expansion",{expansionId:[1,"expansion-id"],label:[1],labelLevel:[1,"label-level"],expanded:[516],disabled:[516],onExpand:[16],hasContent:[32]},void 0,{disabled:[{handleDisabledChange:0}],expanded:[{handleExpandedChange:0}],labelLevel:[{handleLabelLevelChange:0}]}]);function Ke(){typeof customElements<"u"&&["gids-expansion"].forEach((e=>{e==="gids-expansion"&&(customElements.get(e)||customElements.define(e,Ue))}))}Ke();const zt=Ue,Dt=Ke;T.GidsExpansion=zt,T.defineCustomElement=Dt,Object.defineProperty(T,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const _=this["s-cr"].parentElement;return(_.__childNodes?_.childNodes:(y=>{const v=[];for(let m=0;m<y.length;m++){const g=y[m]["s-nr"]||void 0;g&&g.isConnected&&v.push(g)}return v})(_.childNodes)).forEach((y=>{u===G(y)&&f.push(y)})),d?f.filter((y=>y.nodeType===1)):f}).bind(c);c.assignedElements=h(!0),c.assignedNodes=h(!1)})(a),l=e&&e.m&&e.m[s],l&&l.O===o.O&&e.S&&$e(e.S)),a},$e=e=>{N.i|=1;const t=e.closest(I.toLowerCase());if(t!=null){const s=Array.from(t.__childNodes||t.childNodes).find((o=>o["s-cr"])),n=Array.from(e.__childNodes||e.childNodes);for(const o of s?n.reverse():n)o["s-sh"]!=null&&(A(t,o,s??null),o["s-sh"]=void 0,U=!0)}N.i&=-2},Y=(e,t)=>{N.i|=1;const s=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let n=e;for(;n=n.nextSibling;)n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===I&&s.push(n)}for(let n=s.length-1;n>=0;n--){const o=s[n];o["s-hn"]!==I&&o["s-ol"]&&(A(V(o).parentNode,o,V(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,U=!0),t&&Y(o,t)}N.i&=-2},je=(e,t,s,n,o,a)=>{let r,l=e["s-cr"]&&e["s-cr"].parentNode||e;for(l.shadowRoot&&l.tagName===I&&(l=l.shadowRoot),s.O==="template"&&(l=l.content);o<=a;++o)n[o]&&(r=K(null,s,o),r&&(n[o].S=r,A(l,r,V(t))))},Pe=(e,t,s)=>{for(let n=t;n<=s;++n){const o=e[n];if(o){const a=o.S;Te(o),a&&(q=!0,a["s-ol"]?a["s-ol"].remove():Y(a,!0),a.remove())}}},Z=(e,t,s=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),V=e=>e&&e["s-ol"]||e,D=(e,t,s=!1)=>{const n=t.S=e.S,o=e.m,a=t.m,r=t.O,l=t.h;let i;l==null?(k=r==="svg"||r!=="foreignObject"&&k,r!=="slot"||H||e.j!==t.j&&(t.S["s-sn"]=t.j||"",$e(t.S.parentElement)),ae(e,t,k),o!==null&&a!==null?((c,h,d,p,f=!1)=>{let u,_,y=0,v=0,m=0,g=0,w=h.length-1,b=h[0],S=h[w],E=p.length-1,C=p[0],$=p[E];const Ye=d.O==="template"?c.content:c;for(;y<=w&&v<=E;)if(b==null)b=h[++y];else if(S==null)S=h[--w];else if(C==null)C=p[++v];else if($==null)$=p[--E];else if(Z(b,C,f))D(b,C,f),b=h[++y],C=p[++v];else if(Z(S,$,f))D(S,$,f),S=h[--w],$=p[--E];else if(Z(b,$,f))b.O!=="slot"&&$.O!=="slot"||Y(b.S.parentNode,!1),D(b,$,f),A(Ye,b.S,S.S.nextSibling),b=h[++y],$=p[--E];else if(Z(S,C,f))b.O!=="slot"&&$.O!=="slot"||Y(S.S.parentNode,!1),D(S,C,f),A(Ye,S.S,b.S),S=h[--w],C=p[++v];else{for(m=-1,g=y;g<=w;++g)if(h[g]&&h[g].$!==null&&h[g].$===C.$){m=g;break}m>=0?(_=h[m],_.O!==C.O?u=K(h&&h[v],d,m):(D(_,C,f),h[m]=void 0,u=_.S),C=p[++v]):(u=K(h&&h[v],d,v),C=p[++v]),u&&A(V(b.S).parentNode,u,V(b.S))}y>w?je(c,p[E+1]==null?null:p[E+1].S,d,p,v,E):v>E&&Pe(h,y,w)})(n,o,t,a,s):a!==null?(e.h!==null&&(n.textContent=""),je(n,null,t,a,0,a.length-1)):!s&&o!==null&&Pe(o,0,o.length-1),k&&r==="svg"&&(k=!1)):(i=n["s-cr"])?i.parentNode.textContent=l:e.h!==l&&(n.data=l)},P=[],Le=e=>{let t,s,n;const o=e.__childNodes||e.childNodes;for(const a of o){if(a["s-sr"]&&(t=a["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const r=a["s-sn"];for(n=s.length-1;n>=0;n--)if(t=s[n],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===a["s-hn"]||t["s-sh"]&&t["s-sh"]===a["s-hn"]))if(_e(t,r)){let l=P.find((i=>i.k===t));q=!0,t["s-sn"]=t["s-sn"]||r,l?(l.k["s-sh"]=a["s-hn"],l.N=a):(t["s-sh"]=a["s-hn"],P.push({N:a,k:t})),t["s-sr"]&&P.map((i=>{_e(i.k,t["s-sn"])&&(l=P.find((c=>c.k===t)),l&&!i.N&&(i.N=l.N))}))}else P.some((l=>l.k===t))||P.push({k:t})}a.nodeType===1&&Le(a)}},Te=e=>{e.v&&e.v.ref&&re.push((()=>e.v.ref(null))),e.m&&e.m.map(Te)},dt=(e,t)=>{le.push((()=>e(t)))},A=(e,t,s,n)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:o}=(function(a,r){var l;if(!(r=r||((l=a["s-ol"])==null?void 0:l.parentElement)))return{slotNode:null,slotName:""};const i=a["s-sn"]=G(a)||"";return{slotNode:ne(se(r,"childNodes"),r.tagName,i)[0],slotName:i}})(t);return o&&!n&&o.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},ct=(e,t,s=!1)=>{var n,o,a,r,l;const i=e.$hostElement$,c=e.o,h=e.M||W(null,null);var d;const p=(d=t)&&d.O===Se?t:O(null,null,t);if(I=i.tagName,c.C&&(p.v=p.v||{},c.C.forEach((([f,u])=>{p.v[u]=i[f]}))),s&&p.v)for(const f of Object.keys(p.v))i.hasAttribute(f)&&!["key","ref","style","class"].includes(f)&&(p.v[f]=i[f]);if(p.O=null,p.i|=4,e.M=p,p.S=h.S=i.shadowRoot||i,H=!(!(1&c.i)||128&c.i),oe=i["s-cr"],q=!1,D(h,p,s),N.i|=1,U){Le(p.S);for(const f of P){const u=f.k;if(!u["s-ol"]&&x.document){const _=x.document.createTextNode("");_["s-nr"]=u,A(u.parentNode,u["s-ol"]=_,u,s)}}for(const f of P){const u=f.k,_=f.N;if(u.nodeType===1&&s&&(u["s-ih"]=(n=u.hidden)!=null&&n),_){const y=_.parentNode;let v=_.nextSibling;if(v&&v.nodeType===1){let m=(o=u["s-ol"])==null?void 0:o.previousSibling;for(;m;){let g=(a=m["s-nr"])!=null?a:null;if(g&&g["s-sn"]===u["s-sn"]&&y===(g.__parentNode||g.parentNode)){for(g=g.nextSibling;g===u||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){v=g;break}}m=m.previousSibling}}if((!v&&y!==(u.__parentNode||u.parentNode)||(u.__nextSibling||u.nextSibling)!==v)&&u!==v){if(A(y,u,v,s),u.nodeType===8&&u.nodeValue.startsWith("s-nt-")){const m=x.document.createTextNode(u.nodeValue.replace(/^s-nt-/,""));m["s-hn"]=u["s-hn"],m["s-sn"]=u["s-sn"],m["s-sh"]=u["s-sh"],m["s-sr"]=u["s-sr"],m["s-ol"]=u["s-ol"],m["s-ol"]["s-nr"]=m,A(u.parentNode,m,u,s),u.parentNode.removeChild(u)}u.nodeType===1&&u.tagName!=="SLOT-FB"&&(u.hidden=(r=u["s-ih"])!=null&&r)}u&&typeof _["s-rf"]=="function"&&_["s-rf"](_)}else u.nodeType===1&&(u.hidden=!0)}}if(q&&ye(p.S),N.i&=-2,P.length=0,!H&&!(1&c.i)&&i["s-cr"]){const f=p.S.__childNodes||p.S.childNodes;for(const u of f)if(u["s-hn"]!==I&&!u["s-sh"]){if(s&&u["s-ih"]==null&&(u["s-ih"]=(l=u.hidden)!=null&&l),u.nodeType===1)u.hidden=!0;else if(u.nodeType===3&&u.nodeValue.trim()){const _=x.document.createComment("s-nt-"+u.nodeValue);_["s-sn"]=u["s-sn"],A(u.parentNode,_,u,s),u.parentNode.removeChild(u)}}}oe=void 0,re.forEach((f=>f())),re.length=0,le.forEach((f=>f())),le.length=0},Re=(e,t)=>{if(t&&!e.A&&t["s-p"]){const s=t["s-p"].push(new Promise((n=>e.A=()=>{t["s-p"].splice(s-1,1),n()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Re(e,e.R);const s=()=>ht(e,t);if(!t)return tt(s);queueMicrotask((()=>{s()}))},ht=(e,t)=>{const s=e.$hostElement$,n=s;if(!n)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return o=F(n,t?"componentWillLoad":"componentWillUpdate",void 0,s),o=Ie(o,(()=>F(n,"componentWillRender",void 0,s))),Ie(o,(()=>ut(e,n,t)))},Ie=(e,t)=>pt(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),pt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",ut=async(e,t,s)=>{var n;const o=e.$hostElement$,a=o["s-rc"];s&&(r=>{const l=r.o,i=r.$hostElement$,c=l.i,h=((d,p)=>{var f,u,_;const y=xe(p),v=B.get(y);if(!x.document)return y;if(d=d.nodeType===11?d:x.document,v)if(typeof v=="string"){let m,g=L.get(d=d.head||d);if(g||L.set(d,g=new Set),!g.has(y)){m=x.document.createElement("style"),m.textContent=v;const w=(f=N._)!=null?f:(function(){var b,S,E;return(E=(S=(b=x.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:S.getAttribute("content"))!=null?E:void 0})();if(w!=null&&m.setAttribute("nonce",w),!(1&p.i))if(d.nodeName==="HEAD"){const b=d.querySelectorAll("link[rel=preconnect]"),S=b.length>0?b[b.length-1].nextSibling:d.querySelector("style");d.insertBefore(m,S?.parentNode===d?S:null)}else if("host"in d)if(J){const b=new((u=d.defaultView)!=null?u:d.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(v),Q?d.adoptedStyleSheets.unshift(b):d.adoptedStyleSheets=[b,...d.adoptedStyleSheets]}else{const b=d.querySelector("style");b?b.textContent=v+b.textContent:d.prepend(m)}else d.append(m);1&p.i&&d.insertBefore(m,null),4&p.i&&(m.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),g&&g.add(y)}}else{let m=L.get(d);if(m||L.set(d,m=new Set),!m.has(y)){const g=(_=d.defaultView)!=null?_:d.ownerDocument.defaultView;let w;if(v.constructor===g.CSSStyleSheet)w=v;else{w=new g.CSSStyleSheet;for(let b=0;b<v.cssRules.length;b++)w.insertRule(v.cssRules[b].cssText,b)}Q?d.adoptedStyleSheets.push(w):d.adoptedStyleSheets=[...d.adoptedStyleSheets,w],m.add(y)}}return y})(i.shadowRoot?i.shadowRoot:i.getRootNode(),l);10&c&&(i["s-sc"]=h,i.classList.add(h+"-h"))})(e),ft(e,t,o,s),a&&(a.map((r=>r())),o["s-rc"]=void 0);{const r=(n=o["s-p"])!=null?n:[],l=()=>gt(e);r.length===0?l():(Promise.all(r).then(l).catch(l),e.i|=4,r.length=0)}},ft=(e,t,s,n)=>{try{t=t.render(),e.i&=-17,e.i|=2,ct(e,t,n)}catch(o){R(o,e.$hostElement$)}return null},gt=e=>{const t=e.$hostElement$,s=t,n=e.R;F(s,"componentDidRender",void 0,t),64&e.i?F(s,"componentDidUpdate",void 0,t):(e.i|=64,vt(t),F(s,"componentDidLoad",void 0,t),e.L(t),n||mt()),e.A&&(e.A(),e.A=void 0),512&e.i&&te((()=>de(e,!1))),e.i&=-517},mt=()=>{te((()=>at(x,"appload",{detail:{namespace:"gids-core-web"}})))},F=(e,t,s,n)=>{if(e&&e[t])try{return e[t](s)}catch(o){R(o,n)}},vt=e=>e.classList.add("hydrated"),ze=(e,t,s,n)=>{const o=j(e);if(!o)return;const a=e,r=o.l.get(t),l=o.i,i=a;s=ke(s,n.t[t][0],!!(64&n.i));const c=Number.isNaN(r)&&Number.isNaN(s);if(s!==r&&!c){if(o.l.set(t,s),n.F){const h=n.F[t];h&&h.map((d=>{try{const[[p,f]]=Object.entries(d);(128&l||1&f)&&(i?i[p](s,r,t):o.T.push((()=>{o.D[p](s,r,t)})))}catch(p){R(p,a)}}))}if(2&l){if(i.componentShouldUpdate&&i.componentShouldUpdate(s,r,t)===!1&&!(16&l))return;16&l||de(o,!1)}}},bt=(e,t,s)=>{var n,o;const a=e.prototype;64&t.i&&1&s&&Je.forEach((r=>{const l=a[r];Object.defineProperty(a,r,{value(...i){var c;const h=j(this),d=this;d?typeof l=="function"&&l.call(d,...i):(c=h?.H)==null||c.then((p=>{const f=p[r];typeof f=="function"&&f.call(p,...i)}))}})}));{e.watchers&&!t.F&&(t.F=Ne(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const r=Object.entries((n=t.t)!=null?n:{});r.map((([l,[i]])=>{if(31&i||32&i){const{get:c,set:h}=z(a,l)||{};c&&(t.t[l][0]|=2048),h&&(t.t[l][0]|=4096),Object.defineProperty(a,l,{get(){return c?c.apply(this):(d=l,j(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(a,l,{set(d){const p=j(this);if(p){if(h)return(32&i?this[l]:p.$hostElement$[l])===void 0&&p.l.get(l)&&(d=p.l.get(l)),h.apply(this,[ke(d,i,!!(64&t.i))]),void ze(this,l,d=32&i?this[l]:p.$hostElement$[l],t);ze(this,l,d,t)}}})}}));{const l=new Map;a.attributeChangedCallback=function(i,c,h){N.jmp((()=>{var d;const p=l.get(i),f=j(this);if(this.hasOwnProperty(p),a.hasOwnProperty(p)&&typeof this[p]=="number"&&this[p]==h)return;if(p==null){const m=f?.i;if(f&&m&&!(8&m)&&h!==c){const g=this,w=(d=t.F)==null?void 0:d[i];w?.forEach((b=>{const[[S,E]]=Object.entries(b);g[S]!=null&&(128&m||1&E)&&g[S].call(g,h,c,i)}))}return}const u=r.find((([m])=>m===p)),_=u&&4&u[1][0],y=_&&h===null&&this[p]===void 0;_&&(h=h!==null&&h!=="false");const v=Object.getOwnPropertyDescriptor(a,p);y||h==this[p]||v.get&&!v.set||(this[p]=h)}))},e.observedAttributes=Array.from(new Set([...Object.keys((o=t.F)!=null?o:{}),...r.filter((([i,c])=>31&c[0])).map((([i,c])=>{var h;const d=c[1]||i;return l.set(d,i),512&c[0]&&((h=t.C)==null||h.push([i,d])),d}))]))}}return e},yt=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.W=t[3],s.F=Ne(e.F),s.P=e.P,s.U=e.U,s.C=[];const n=e.prototype.connectedCallback,o=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((a,r)=>{const l={i:0,$hostElement$:a,o:r,l:new Map,B:new Map};l.H=new Promise((c=>l.L=c)),a["s-p"]=[],a["s-rc"]=[];const i=l;a.__stencil__getHostRef=()=>i,512&r.i&&Ze(a,l)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){const a=j(this);if(!a)return;De(this,a,s.W),this.__hasHostListenerAttached=!0}(a=>{if(!(1&N.i)){const r=j(a);if(!r)return;const l=r.o;if(1&r.i)De(a,r,l.W),r?.D||r?.H&&r.H.then((()=>{}));else{r.i|=1,12&l.i&&(i=>{if(!x.document)return;const c=i["s-cr"]=x.document.createComment("");c["s-cn"]=!0,A(i,c,i.firstChild)})(a);{let i=a;for(;i=i.parentNode||i.host;)if(i["s-p"]){Re(r,r.R=i);break}}l.t&&Object.entries(l.t).map((([i,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(a,i)){const h=a[i];delete a[i],a[i]=h}})),(async(i,c,h)=>{let d;try{if(!(32&c.i)&&(c.i|=32,d=i.constructor,customElements.whenDefined(i.localName).then((()=>c.i|=128)),d&&d.style)){let u;typeof d.style=="string"&&(u=d.style);const _=xe(h);B.has(_)||((y,v,m)=>{let g=B.get(y);J&&m?(g=g||new CSSStyleSheet,typeof g=="string"?g=v:g.replaceSync(v)):g=v,B.set(y,g)})(_,u,!!(1&h.i))}const p=c.R,f=()=>de(c,!0);p&&p["s-rc"]?p["s-rc"].push(f):f()}catch(p){R(p,i),c.A&&(c.A(),c.A=void 0),c.L&&c.L(i)}})(a,r,l)}}})(this),n&&n.call(this)},disconnectedCallback(){(async a=>{if(!(1&N.i)){const r=j(a);r?.V&&(r.V.map((l=>l())),r.V=void 0)}L.has(a)&&L.delete(a),a.shadowRoot&&L.has(a.shadowRoot)&&L.delete(a.shadowRoot)})(this),o&&o.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else nt.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),bt(e,s,3)}catch(n){return R(n),e}},De=(e,t,s)=>{s&&x.document&&s.map((([n,o,a])=>{const r=xt(x.document,e,n),l=_t(t,a),i=St(n);N.ael(r,o,l,i),(t.V=t.V||[]).push((()=>N.rel(r,o,l,i)))}))},_t=(e,t)=>s=>{try{e.$hostElement$[t](s)}catch(n){R(n,e.$hostElement$)}},xt=(e,t,s)=>8&s?x:t,St=e=>Xe?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Mt(e){return e}function Me(e){var t,s,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(s=Me(e[t]))&&(n&&(n+=" "),n+=s)}else for(s in e)e[s]&&(n&&(n+=" "),n+=s);return n}function Ge(){for(var e,t,s=0,n="",o=arguments.length;s<o;s++)(e=arguments[s])&&(t=Me(e))&&(n&&(n+=" "),n+=t);return n}const wt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>Ge("gids-icon",{"gids-icon--xs":e==="xs","gids-icon--sm":e==="sm","gids-icon--md":e==="md","gids-icon--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),Nt=Object.freeze(Object.defineProperty({__proto__:null,getGidsExpansionClassNames:({expanded:e},t)=>Ge("gids-expansion",{"gids-expansion--expanded":e},t)},Symbol.toStringTag,{value:"Module"})),ce=Symbol("defaultPath"),He=Symbol("pathSet"),he="gids-asset-paths-set";class kt extends EventTarget{#n=new Map;constructor(){super()}#e(t,s){this.#n.set(t,s)}#t(t){return this.#n.get(t)??null}#s=()=>{this.dispatchEvent(new Event(he))};haveAssetPathsBeenSet(){return this.#t(He)!==null}setAssetPaths(t,s){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(ce,t);else{for(const n in t)this.#e(n,t[n]);s&&this.#e(ce,s)}this.#e(He,"true"),setTimeout(this.#s,0)}}getAssetFilePath(t){const s=this.#t(t);if(s===null){const n=this.#t(ce);if(n!==null)return`${n}${n.endsWith("/")?"":"/"}${t}`}return s}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(he,t,{once:!0}),()=>{this.removeEventListener(he,t)}}}const pe=Symbol.for("GIDS"),Et=()=>(globalThis[pe]===void 0&&(globalThis[pe]={assetPaths:{}}),globalThis[pe]),Ct=e=>{const t=Et().assetPaths;return t[e]===void 0&&(t[e]=new kt),t[e]};function ue(){return Ct("@ganpatiinfo/gids-web-shared")}function Ot(){return ue().haveAssetPathsBeenSet()}function Ve(e){return ue().getAssetFilePath(e)}function At(e){return ue().onAssetPathsSet(e)}let $t=0;const jt=(e,t="gids")=>e||`${t}-${$t++}`,Fe={"icons-other.svg":["accessibility","add","remove","announcement","approval","archive","audio","backward","banking","battery","bluetooth","bookmark","bulb","calendar","camera","card","cart","chart","chat","cloud","code","compass","desktop","email","emergency","exchange","finance","fingerprint","flag","folder","forward","gift","globe","goals","happy","hashtag","headphones","history","image","insurance","investment","in-progress","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","ai","new","draft","pending","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},Be=new Map;for(const e in Fe)for(const t of Fe[e])Be.set(t,e);function Pt(e){return Be.get(e)}function We(e,t="regular",s){const n=Pt(e);let o=n??"";return s&&n&&(o=s(n)??n),`${o}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:Lt}=wt,Tt=({name:e,size:t,appearance:s,alt:n,class:o,titleId:a,src:r,...l})=>{const i=jt(a);let c=r;return c===void 0&&Ot()&&(c=We(e,s,Ve)),O("svg",{ref:h=>{c===void 0&&At((()=>{(function(d,p,f){if(!d)return;const u=document.createElementNS("http://www.w3.org/2000/svg","use");u.setAttribute("href",We(p,f,Ve)),d.appendChild(u)})(h,e,s)}))},width:"16",height:"16",class:Lt({size:t},o),role:"img","aria-hidden":n===""?"true":void 0,"aria-labelledby":n===""?void 0:i,...l},n!==""&&O("title",{id:i},n||e),c!==void 0?O("use",{href:c}):null)};function qe(e){var t,s,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(s=qe(e[t]))&&(n&&(n+=" "),n+=s)}else for(s in e)e[s]&&(n&&(n+=" "),n+=s);return n}function Rt(){for(var e,t,s=0,n="",o=arguments.length;s<o;s++)(e=arguments[s])&&(t=qe(e))&&(n&&(n+=" "),n+=t);return n}const{getGidsExpansionClassNames:It}=Nt,Ue=yt(class extends Qe{constructor(e){super(),e!==!1&&this.__registerHost(),this.labelLevel="h1",this.hasContent=!1,this.handleExpansionClick=()=>{if(this.isInteractive()){const t=!this.isExpanded();this.expanded=t,this.onExpand&&this.onExpand({expansionId:this.expansionId,expanded:t,label:this?.label,labelLevel:this?.labelLevel,disabled:this?.disabled})}}}handleDisabledChange(e){this.disabled=e}handleExpandedChange(e){this.expanded=e}handleLabelLevelChange(e){this.labelLevel=e}componentDidLoad(){this.checkSlotContent()}checkSlotContent(){const e=this.hostElement.querySelector(".gids-expansion__content");if(e){const t=e.children.length>0,s=!!e.textContent&&e.textContent.trim().length>0;this.hasContent=t||s}}isInteractive(){return!this.disabled&&this.hasContent}isExpanded(){return!!this.expanded&&this.isInteractive()}isHavingLabelValue(){return!(!this.label||this.label==="")}getIconSize(){switch(this.labelLevel){case"h2":case"h3":return"md";default:return"lg"}}getLabelClass(){switch(this.labelLevel){case"h2":return"gids-expansion__level-h2";case"h3":return"gids-expansion__level-h3";default:return"gids-expansion__level-h1"}}render(){const e=It({expanded:this.isExpanded()&&this.isInteractive()}),t=this.label;return O(Se,{key:"9b88ef922cde963c110f1161e47929cbc0039429",class:e},O("button",{key:"6a5797ed8b685365a2010aa7acf6569b11435b39",onClick:this.handleExpansionClick,class:Rt("gids-expansion__container",{"gids-expansion__disabled":this.disabled}),disabled:this.disabled,type:"button"},this.isHavingLabelValue()?O("span",{class:this.getLabelClass()},t):void 0,this.isInteractive()?O(Tt,{name:"chevron-down",size:this.getIconSize(),appearance:"filled"}):void 0),O("div",{key:"c23cd15f9f7886c331edda0990bf06c826866642",class:"gids-expansion__body","aria-hidden":this.isExpanded()?"false":"true"},O("div",{key:"4bb770ab65e0cbea3fe92593d518ef0e5f4beb11",class:"gids-expansion__content"},O("slot",{key:"5eeafc07a137a3517948e846851451f76655ff45"}))))}get hostElement(){return this}static get watchers(){return{disabled:[{handleDisabledChange:0}],expanded:[{handleExpandedChange:0}],labelLevel:[{handleLabelLevelChange:0}]}}static get style(){return'.gids-expansion{display:flex;align-items:center;position:relative;padding:var(--gids-padding-vertical-edge-to-element-300) 0}.gids-expansion:not(.gids-expansion--expanded):not([expanded])::after{content:"";position:absolute;bottom:0;left:0;width:100%;height:1px;background-color:var(--gids-color-border-default);transition:background 0.3s ease-in-out;z-index:1}.gids-expansion:not(.gids-expansion--expanded):not([expanded])::before{content:"";position:absolute;bottom:0;left:0;width:100%;height:2px;background:linear-gradient(to right, transparent 0%, transparent 25%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 55%, transparent 75%, transparent 100%);opacity:0;transition:opacity 0.3s ease-in-out;z-index:2}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled)::after{background:linear-gradient(to right, var(--gids-color-border-default) 0%, var(--gids-color-border-default) 15%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 70%, var(--gids-color-border-default) 90%, var(--gids-color-border-default) 100%)}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled)::before{opacity:1}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled) .gids-expansion__level-h1{color:var(--gids-color-background-brand-bold-default)}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled) .gids-expansion__level-h2{color:var(--gids-color-background-brand-bold-default)}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled) .gids-expansion__level-h3{color:var(--gids-color-background-brand-bold-default)}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled) .gids-icon{--gidsIcon-color:var(--gids-color-background-brand-bold-default)}.gids-expansion__container{margin:0;padding:0;appearance:none;border:none;background:none;cursor:pointer;display:flex;align-items:center;gap:var(--gids-gap-050);white-space:nowrap;color:var(--gids-color-text-default)}.gids-expansion__container gids-icon,.gids-expansion__container .gids-icon,.gids-expansion__container GidsIcon,.gids-expansion__container svg{display:inline-block;transform:rotate3d(0, 0, 1, 0deg);transition:transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);transform-origin:center center;backface-visibility:hidden}.gids-expansion__level-h1{font-family:var(--gids-typography-heading-medium__font-family);font-size:var(--gids-typography-heading-medium__font-size);font-weight:var(--gids-typography-heading-medium__font-weight);letter-spacing:var(--gids-typography-heading-medium__letter-spacing);line-height:var(--gids-typography-heading-medium__line-height);text-transform:var(--gids-typography-heading-medium__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-medium__font-variant-caps, inherit)}.gids-expansion__level-h2{font-family:var(--gids-typography-heading-small__font-family);font-size:var(--gids-typography-heading-small__font-size);font-weight:var(--gids-typography-heading-small__font-weight);letter-spacing:var(--gids-typography-heading-small__letter-spacing);line-height:var(--gids-typography-heading-small__line-height);text-transform:var(--gids-typography-heading-small__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-small__font-variant-caps, inherit)}.gids-expansion__level-h3{font-family:var(--gids-typography-heading-x-small__font-family);font-size:var(--gids-typography-heading-x-small__font-size);font-weight:var(--gids-typography-heading-x-small__font-weight);letter-spacing:var(--gids-typography-heading-x-small__letter-spacing);line-height:var(--gids-typography-heading-x-small__line-height);text-transform:var(--gids-typography-heading-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-x-small__font-variant-caps, inherit)}.gids-expansion__body{position:absolute;top:100%;left:0;width:100%;z-index:10;transform:scaleY(0);transform-origin:top center;opacity:0;visibility:hidden;transition:transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s;overflow:hidden}.gids-expansion--expanded{position:relative;display:block}.gids-expansion--expanded .gids-expansion__container gids-icon,.gids-expansion--expanded .gids-expansion__container .gids-icon,.gids-expansion--expanded .gids-expansion__container GidsIcon,.gids-expansion--expanded .gids-expansion__container svg{transform:rotate3d(0, 0, 1, -180deg)}.gids-expansion--expanded .gids-expansion__body{position:relative;top:auto;transform:scaleY(1);opacity:1;visibility:visible}.gids-expansion__content{min-height:0;padding:var(--gids-padding-vertical-edge-to-element-500) 0 var(--gids-padding-horizontal-edge-to-element-500)}.gids-expansion__disabled{color:var(--gids-color-text-disabled);cursor:not-allowed}.gids-expansion__disabled .gids-icon{--gidsIcon-color:var(--gids-color-icon-disabled)}'}},[260,"gids-expansion",{expansionId:[1,"expansion-id"],label:[1],labelLevel:[1,"label-level"],expanded:[516],disabled:[516],onExpand:[16],hasContent:[32]},void 0,{disabled:[{handleDisabledChange:0}],expanded:[{handleExpandedChange:0}],labelLevel:[{handleLabelLevelChange:0}]}]);function Ke(){typeof customElements<"u"&&["gids-expansion"].forEach((e=>{e==="gids-expansion"&&(customElements.get(e)||customElements.define(e,Ue))}))}Ke();const zt=Ue,Dt=Ke;T.GidsExpansion=zt,T.defineCustomElement=Dt,Object.defineProperty(T,Symbol.toStringTag,{value:"Module"})}));
@@ -2,4 +2,4 @@
2
2
  Flattening is not supported for Stencil non-shadow slots.
3
3
  You can use \`.childNodes\` to nested slot fallback content.
4
4
  If you have a particular use case, please open an issue on the Stencil repo.
5
- `);const S=this["s-cr"].parentElement;return(S.__childNodes?S.childNodes:(y=>{const _=[];for(let m=0;m<y.length;m++){const g=y[m]["s-nr"]||void 0;g&&g.isConnected&&_.push(g)}return _})(S.childNodes)).forEach((y=>{f===G(y)&&p.push(y)})),c?p.filter((y=>y.nodeType===1)):p}).bind(d);d.assignedElements=h(!0),d.assignedNodes=h(!1)})(i),a=e&&e.m&&e.m[o],a&&a.O===n.O&&e.S&&je(e.S)),i},je=e=>{C.i|=1;const t=e.closest(V.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of o?s.reverse():s)n["s-sh"]!=null&&($(t,n,o??null),n["s-sh"]=void 0,K=!0)}C.i&=-2},Z=(e,t)=>{C.i|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===V&&o.push(s)}for(let s=o.length-1;s>=0;s--){const n=o[s];n["s-hn"]!==V&&n["s-ol"]&&($(B(n).parentNode,n,B(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,K=!0),t&&Z(n,t)}C.i&=-2},Me=(e,t,o,s,n,i)=>{let r,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===V&&(a=a.shadowRoot),o.O==="template"&&(a=a.content);n<=i;++n)s[n]&&(r=Y(null,o,n),r&&(s[n].S=r,$(a,r,B(t))))},Pe=(e,t,o)=>{for(let s=t;s<=o;++s){const n=e[s];if(n){const i=n.S;Re(n),i&&(U=!0,i["s-ol"]?i["s-ol"].remove():Z(i,!0),i.remove())}}},J=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),B=e=>e&&e["s-ol"]||e,I=(e,t,o=!1)=>{const s=t.S=e.S,n=e.m,i=t.m,r=t.O,a=t.h;let l;a==null?(N=r==="svg"||r!=="foreignObject"&&N,r!=="slot"||D||e.j!==t.j&&(t.S["s-sn"]=t.j||"",je(t.S.parentElement)),re(e,t,N),n!==null&&i!==null?((d,h,c,u,p=!1)=>{let f,S,y=0,_=0,m=0,g=0,w=h.length-1,v=h[0],x=h[w],T=u.length-1,L=u[0],k=u[T];const Xe=c.O==="template"?d.content:d;for(;y<=w&&_<=T;)if(v==null)v=h[++y];else if(x==null)x=h[--w];else if(L==null)L=u[++_];else if(k==null)k=u[--T];else if(J(v,L,p))I(v,L,p),v=h[++y],L=u[++_];else if(J(x,k,p))I(x,k,p),x=h[--w],k=u[--T];else if(J(v,k,p))v.O!=="slot"&&k.O!=="slot"||Z(v.S.parentNode,!1),I(v,k,p),$(Xe,v.S,x.S.nextSibling),v=h[++y],k=u[--T];else if(J(x,L,p))v.O!=="slot"&&k.O!=="slot"||Z(x.S.parentNode,!1),I(x,L,p),$(Xe,x.S,v.S),x=h[--w],L=u[++_];else{for(m=-1,g=y;g<=w;++g)if(h[g]&&h[g].$!==null&&h[g].$===L.$){m=g;break}m>=0?(S=h[m],S.O!==L.O?f=Y(h&&h[_],c,m):(I(S,L,p),h[m]=void 0,f=S.S),L=u[++_]):(f=Y(h&&h[_],c,_),L=u[++_]),f&&$(B(v.S).parentNode,f,B(v.S))}y>w?Me(d,u[T+1]==null?null:u[T+1].S,c,u,_,T):_>T&&Pe(h,y,w)})(s,n,t,i,o):i!==null?(e.h!==null&&(s.textContent=""),Me(s,null,t,i,0,i.length-1)):!o&&n!==null&&Pe(n,0,n.length-1),N&&r==="svg"&&(N=!1)):(l=s["s-cr"])?l.parentNode.textContent=a:e.h!==a&&(s.data=a)},A=[],Ve=e=>{let t,o,s;const n=e.__childNodes||e.childNodes;for(const i of n){if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const r=i["s-sn"];for(s=o.length-1;s>=0;s--)if(t=o[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===i["s-hn"]||t["s-sh"]&&t["s-sh"]===i["s-hn"]))if(we(t,r)){let a=A.find((l=>l.k===t));U=!0,t["s-sn"]=t["s-sn"]||r,a?(a.k["s-sh"]=i["s-hn"],a.N=i):(t["s-sh"]=i["s-hn"],A.push({N:i,k:t})),t["s-sr"]&&A.map((l=>{we(l.k,t["s-sn"])&&(a=A.find((d=>d.k===t)),a&&!l.N&&(l.N=a.N))}))}else A.some((a=>a.k===t))||A.push({k:t})}i.nodeType===1&&Ve(i)}},Re=e=>{e.v&&e.v.ref&&ae.push((()=>e.v.ref(null))),e.m&&e.m.map(Re)},ft=(e,t)=>{ce.push((()=>e(t)))},$=(e,t,o,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:n}=(function(i,r){var a;if(!(r=r||((a=i["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const l=i["s-sn"]=G(i)||"";return{slotNode:oe(ne(r,"childNodes"),r.tagName,l)[0],slotName:l}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},pt=(e,t,o=!1)=>{var s,n,i,r,a;const l=e.$hostElement$,d=e.o,h=e.M||q(null,null);var c;const u=(c=t)&&c.O===Ee?t:E(null,null,t);if(V=l.tagName,d.C&&(u.v=u.v||{},d.C.forEach((([p,f])=>{u.v[f]=l[p]}))),o&&u.v)for(const p of Object.keys(u.v))l.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(u.v[p]=l[p]);if(u.O=null,u.i|=4,e.M=u,u.S=h.S=l.shadowRoot||l,D=!(!(1&d.i)||128&d.i),ie=l["s-cr"],U=!1,I(h,u,o),C.i|=1,K){Ve(u.S);for(const p of A){const f=p.k;if(!f["s-ol"]&&b.document){const S=b.document.createTextNode("");S["s-nr"]=f,$(f.parentNode,f["s-ol"]=S,f,o)}}for(const p of A){const f=p.k,S=p.N;if(f.nodeType===1&&o&&(f["s-ih"]=(s=f.hidden)!=null&&s),S){const y=S.parentNode;let _=S.nextSibling;if(_&&_.nodeType===1){let m=(n=f["s-ol"])==null?void 0:n.previousSibling;for(;m;){let g=(i=m["s-nr"])!=null?i:null;if(g&&g["s-sn"]===f["s-sn"]&&y===(g.__parentNode||g.parentNode)){for(g=g.nextSibling;g===f||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){_=g;break}}m=m.previousSibling}}if((!_&&y!==(f.__parentNode||f.parentNode)||(f.__nextSibling||f.nextSibling)!==_)&&f!==_){if($(y,f,_,o),f.nodeType===8&&f.nodeValue.startsWith("s-nt-")){const m=b.document.createTextNode(f.nodeValue.replace(/^s-nt-/,""));m["s-hn"]=f["s-hn"],m["s-sn"]=f["s-sn"],m["s-sh"]=f["s-sh"],m["s-sr"]=f["s-sr"],m["s-ol"]=f["s-ol"],m["s-ol"]["s-nr"]=m,$(f.parentNode,m,f,o),f.parentNode.removeChild(f)}f.nodeType===1&&f.tagName!=="SLOT-FB"&&(f.hidden=(r=f["s-ih"])!=null&&r)}f&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else f.nodeType===1&&(f.hidden=!0)}}if(U&&xe(u.S),C.i&=-2,A.length=0,!D&&!(1&d.i)&&l["s-cr"]){const p=u.S.__childNodes||u.S.childNodes;for(const f of p)if(f["s-hn"]!==V&&!f["s-sh"]){if(o&&f["s-ih"]==null&&(f["s-ih"]=(a=f.hidden)!=null&&a),f.nodeType===1)f.hidden=!0;else if(f.nodeType===3&&f.nodeValue.trim()){const S=b.document.createComment("s-nt-"+f.nodeValue);S["s-sn"]=f["s-sn"],$(f.parentNode,S,f,o),f.parentNode.removeChild(f)}}}ie=void 0,ae.forEach((p=>p())),ae.length=0,ce.forEach((p=>p())),ce.length=0},Ie=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(o-1,1),s()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Ie(e,e.R);const o=()=>gt(e,t);if(!t)return it(o);queueMicrotask((()=>{o()}))},gt=(e,t)=>{const o=e.$hostElement$,s=o;if(!s)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=W(s,t?"componentWillLoad":"componentWillUpdate",void 0,o),n=Fe(n,(()=>W(s,"componentWillRender",void 0,o))),Fe(n,(()=>_t(e,s,t)))},Fe=(e,t)=>mt(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),mt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",_t=async(e,t,o)=>{var s;const n=e.$hostElement$,i=n["s-rc"];o&&(r=>{const a=r.o,l=r.$hostElement$,d=a.i,h=((c,u)=>{var p,f,S;const y=Ce(u),_=z.get(y);if(!b.document)return y;if(c=c.nodeType===11?c:b.document,_)if(typeof _=="string"){let m,g=j.get(c=c.head||c);if(g||j.set(c,g=new Set),!g.has(y)){m=b.document.createElement("style"),m.textContent=_;const w=(p=C._)!=null?p:(function(){var v,x,T;return(T=(x=(v=b.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:x.getAttribute("content"))!=null?T:void 0})();if(w!=null&&m.setAttribute("nonce",w),!(1&u.i))if(c.nodeName==="HEAD"){const v=c.querySelectorAll("link[rel=preconnect]"),x=v.length>0?v[v.length-1].nextSibling:c.querySelector("style");c.insertBefore(m,x?.parentNode===c?x:null)}else if("host"in c)if(Q){const v=new((f=c.defaultView)!=null?f:c.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(_),X?c.adoptedStyleSheets.unshift(v):c.adoptedStyleSheets=[v,...c.adoptedStyleSheets]}else{const v=c.querySelector("style");v?v.textContent=_+v.textContent:c.prepend(m)}else c.append(m);1&u.i&&c.insertBefore(m,null),4&u.i&&(m.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),g&&g.add(y)}}else{let m=j.get(c);if(m||j.set(c,m=new Set),!m.has(y)){const g=(S=c.defaultView)!=null?S:c.ownerDocument.defaultView;let w;if(_.constructor===g.CSSStyleSheet)w=_;else{w=new g.CSSStyleSheet;for(let v=0;v<_.cssRules.length;v++)w.insertRule(_.cssRules[v].cssText,v)}X?c.adoptedStyleSheets.push(w):c.adoptedStyleSheets=[...c.adoptedStyleSheets,w],m.add(y)}}return y})(l.shadowRoot?l.shadowRoot:l.getRootNode(),a);10&d&&(l["s-sc"]=h,l.classList.add(h+"-h"))})(e),vt(e,t,n,o),i&&(i.map((r=>r())),n["s-rc"]=void 0);{const r=(s=n["s-p"])!=null?s:[],a=()=>yt(e);r.length===0?a():(Promise.all(r).then(a).catch(a),e.i|=4,r.length=0)}},vt=(e,t,o,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,pt(e,t,s)}catch(n){P(n,e.$hostElement$)}return null},yt=e=>{const t=e.$hostElement$,o=t,s=e.R;W(o,"componentDidRender",void 0,t),64&e.i?W(o,"componentDidUpdate",void 0,t):(e.i|=64,bt(t),W(o,"componentDidLoad",void 0,t),e.L(t),s||St()),e.A&&(e.A(),e.A=void 0),512&e.i&&se((()=>de(e,!1))),e.i&=-517},St=()=>{se((()=>dt(b,"appload",{detail:{namespace:"gids-core-web"}})))},W=(e,t,o,s)=>{if(e&&e[t])try{return e[t](o)}catch(n){P(n,s)}},bt=e=>e.classList.add("hydrated"),He=(e,t,o,s)=>{const n=O(e);if(!n)return;const i=e,r=n.l.get(t),a=n.i,l=i;o=Le(o,s.t[t][0],!!(64&s.i));const d=Number.isNaN(r)&&Number.isNaN(o);if(o!==r&&!d){if(n.l.set(t,o),s.F){const h=s.F[t];h&&h.map((c=>{try{const[[u,p]]=Object.entries(c);(128&a||1&p)&&(l?l[u](o,r,t):n.T.push((()=>{n.D[u](o,r,t)})))}catch(u){P(u,i)}}))}if(2&a){if(l.componentShouldUpdate&&l.componentShouldUpdate(o,r,t)===!1&&!(16&a))return;16&a||de(n,!1)}}},xt=(e,t,o)=>{var s,n;const i=e.prototype;64&t.i&&1&o&&tt.forEach((r=>{const a=i[r];Object.defineProperty(i,r,{value(...l){var d;const h=O(this),c=this;c?typeof a=="function"&&a.call(c,...l):(d=h?.H)==null||d.then((u=>{const p=u[r];typeof p=="function"&&p.call(u,...l)}))}})}));{e.watchers&&!t.F&&(t.F=Te(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const r=Object.entries((s=t.t)!=null?s:{});r.map((([a,[l]])=>{if(31&l||32&l){const{get:d,set:h}=R(i,a)||{};d&&(t.t[a][0]|=2048),h&&(t.t[a][0]|=4096),Object.defineProperty(i,a,{get(){return d?d.apply(this):(c=a,O(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(i,a,{set(c){const u=O(this);if(u){if(h)return(32&l?this[a]:u.$hostElement$[a])===void 0&&u.l.get(a)&&(c=u.l.get(a)),h.apply(this,[Le(c,l,!!(64&t.i))]),void He(this,a,c=32&l?this[a]:u.$hostElement$[a],t);He(this,a,c,t)}}})}}));{const a=new Map;i.attributeChangedCallback=function(l,d,h){C.jmp((()=>{var c;const u=a.get(l),p=O(this);if(this.hasOwnProperty(u),i.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==h)return;if(u==null){const m=p?.i;if(p&&m&&!(8&m)&&h!==d){const g=this,w=(c=t.F)==null?void 0:c[l];w?.forEach((v=>{const[[x,T]]=Object.entries(v);g[x]!=null&&(128&m||1&T)&&g[x].call(g,h,d,l)}))}return}const f=r.find((([m])=>m===u)),S=f&&4&f[1][0],y=S&&h===null&&this[u]===void 0;S&&(h=h!==null&&h!=="false");const _=Object.getOwnPropertyDescriptor(i,u);y||h==this[u]||_.get&&!_.set||(this[u]=h)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...r.filter((([l,d])=>31&d[0])).map((([l,d])=>{var h;const c=d[1]||l;return a.set(c,l),512&d[0]&&((h=t.C)==null||h.push([l,c])),c}))]))}}return e},wt=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.W=t[3],o.F=Te(e.F),o.P=e.P,o.U=e.U,o.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((i,r)=>{const a={i:0,$hostElement$:i,o:r,l:new Map,B:new Map};a.H=new Promise((d=>a.L=d)),i["s-p"]=[],i["s-rc"]=[];const l=a;i.__stencil__getHostRef=()=>l,512&r.i&&et(i,a)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const i=O(this);if(!i)return;Ge(this,i,o.W),this.__hasHostListenerAttached=!0}(i=>{if(!(1&C.i)){const r=O(i);if(!r)return;const a=r.o;if(1&r.i)Ge(i,r,a.W),r?.D||r?.H&&r.H.then((()=>{}));else{r.i|=1,12&a.i&&(l=>{if(!b.document)return;const d=l["s-cr"]=b.document.createComment("");d["s-cn"]=!0,$(l,d,l.firstChild)})(i);{let l=i;for(;l=l.parentNode||l.host;)if(l["s-p"]){Ie(r,r.R=l);break}}a.t&&Object.entries(a.t).map((([l,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(i,l)){const h=i[l];delete i[l],i[l]=h}})),(async(l,d,h)=>{let c;try{if(!(32&d.i)&&(d.i|=32,c=l.constructor,customElements.whenDefined(l.localName).then((()=>d.i|=128)),c&&c.style)){let f;typeof c.style=="string"&&(f=c.style);const S=Ce(h);z.has(S)||((y,_,m)=>{let g=z.get(y);Q&&m?(g=g||new CSSStyleSheet,typeof g=="string"?g=_:g.replaceSync(_)):g=_,z.set(y,g)})(S,f,!!(1&h.i))}const u=d.R,p=()=>de(d,!0);u&&u["s-rc"]?u["s-rc"].push(p):p()}catch(u){P(u,l),d.A&&(d.A(),d.A=void 0),d.L&&d.L(l)}})(i,r,a)}}})(this),s&&s.call(this)},disconnectedCallback(){(async i=>{if(!(1&C.i)){const r=O(i);r?.V&&(r.V.map((a=>a())),r.V=void 0)}j.has(i)&&j.delete(i),i.shadowRoot&&j.has(i.shadowRoot)&&j.delete(i.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else lt.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),xt(e,o,3)}catch(s){return P(s),e}},Ge=(e,t,o)=>{o&&b.document&&o.map((([s,n,i])=>{const r=Et(b.document,e,s),a=Ct(t,i),l=Nt(s);C.ael(r,n,a,l),(t.V=t.V||[]).push((()=>C.rel(r,n,a,l)))}))},Ct=(e,t)=>o=>{try{e.$hostElement$[t](o)}catch(s){P(s,e.$hostElement$)}},Et=(e,t,o)=>8&o?b:t,Nt=e=>ot?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Bt(e){return e}function De(e){var t,o,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=De(e[t]))&&(s&&(s+=" "),s+=o)}else for(o in e)e[o]&&(s&&(s+=" "),s+=o);return s}function Be(){for(var e,t,o=0,s="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=De(e))&&(s&&(s+=" "),s+=t);return s}const Tt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>Be("gids-icon",{"gids-icon--xs":e==="xs","gids-icon--sm":e==="sm","gids-icon--md":e==="md","gids-icon--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),Lt=Object.freeze(Object.defineProperty({__proto__:null,getGidsFieldClassNames:e=>Be("gids-field",e)},Symbol.toStringTag,{value:"Module"})),he=Symbol("defaultPath"),We=Symbol("pathSet"),ue="gids-asset-paths-set";class $t extends EventTarget{#s=new Map;constructor(){super()}#e(t,o){this.#s.set(t,o)}#t(t){return this.#s.get(t)??null}#o=()=>{this.dispatchEvent(new Event(ue))};haveAssetPathsBeenSet(){return this.#t(We)!==null}setAssetPaths(t,o){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(he,t);else{for(const s in t)this.#e(s,t[s]);o&&this.#e(he,o)}this.#e(We,"true"),setTimeout(this.#o,0)}}getAssetFilePath(t){const o=this.#t(t);if(o===null){const s=this.#t(he);if(s!==null)return`${s}${s.endsWith("/")?"":"/"}${t}`}return o}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(ue,t,{once:!0}),()=>{this.removeEventListener(ue,t)}}}const fe=Symbol.for("GIDS"),kt=()=>(globalThis[fe]===void 0&&(globalThis[fe]={assetPaths:{}}),globalThis[fe]),Ot=e=>{const t=kt().assetPaths;return t[e]===void 0&&(t[e]=new $t),t[e]};function pe(){return Ot("@ganpatiinfo/gids-web-shared")}function At(){return pe().haveAssetPathsBeenSet()}function ze(e){return pe().getAssetFilePath(e)}function jt(e){return pe().onAssetPathsSet(e)}let Mt=0;const Pt=(e,t="gids")=>e||`${t}-${Mt++}`,qe={"icons-other.svg":["accessibility","add","remove","announcement","approval","archive","audio","backward","banking","battery","bluetooth","bookmark","bulb","calendar","camera","card","cart","chart","chat","cloud","code","compass","desktop","email","emergency","exchange","finance","fingerprint","flag","folder","forward","gift","globe","goals","happy","hashtag","headphones","history","image","insurance","investment","in-progress","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","ai","new","draft","pending","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},Ue=new Map;for(const e in qe)for(const t of qe[e])Ue.set(t,e);function Vt(e){return Ue.get(e)}function Ke(e,t="regular",o){const s=Vt(e);let n=s??"";return o&&s&&(n=o(s)??s),`${n}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:Rt}=Tt,It=({name:e,size:t,appearance:o,alt:s,class:n,titleId:i,src:r,...a})=>{const l=Pt(i);let d=r;return d===void 0&&At()&&(d=Ke(e,o,ze)),E("svg",{ref:h=>{d===void 0&&jt((()=>{(function(c,u,p){if(!c)return;const f=document.createElementNS("http://www.w3.org/2000/svg","use");f.setAttribute("href",Ke(u,p,ze)),c.appendChild(f)})(h,e,o)}))},width:"16",height:"16",class:Rt({size:t},n),role:"img","aria-hidden":s===""?"true":void 0,"aria-labelledby":s===""?void 0:l,...a},s!==""&&E("title",{id:l},s||e),d!==void 0?E("use",{href:d}):null)},F=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let Ye=!1;F&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(F):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let ge=null;const me=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{Ze()})):void 0,Ze=()=>{if(F===void 0)return!1;const e=(()=>{if(F===void 0)return;const t=[];for(let o=0;o<document.styleSheets.length;o++){const s=document.styleSheets.item(o);if(s)try{let n=-1,i=0;for(let r=0;r<s.cssRules.length;r++){const a=s.cssRules.item(r);if(a?.cssText.startsWith("gids-global-styles-start"))n=r;else if(n>-1){if(a?.cssText.startsWith("gids-global-styles-end")){i=r-n+1;break}t.push(a)}}if(n>-1)return{rulesStartIndex:n,originalRulesCount:i,rules:t,styleSheet:s}}catch(n){if(!(n instanceof DOMException))throw n}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return me!==void 0&&t!==ge&&(ge&&me.disconnect(),t instanceof Element&&me.observe(t,{childList:!0,characterData:!0,subtree:!0}),ge=t),F.replaceSync((o=>o.rules.map((s=>s.cssText)).join(""))(e)),(o=>{const{rulesStartIndex:s,originalRulesCount:n,styleSheet:i}=o;for(let r=0;r<n;r++)i.deleteRule(s)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},Ft=()=>(Ye||(Ye=Ze()),F),{getGidsFieldClassNames:Ht}=Lt,Je=wt(class extends st{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.status="implicit",this._hasLabel=!1,this._controlListenerTargets=[],this._controlTouched=!1,this._handleLabelSlotChange=()=>{this._hasLabel=(this._labelSlot?.assignedElements()?.length??0)>0},this._setLabelSlot=t=>{this._labelSlot=t??void 0,this._handleLabelSlotChange()},this._setControlSlot=t=>{this._controlSlot=t??void 0,this._handleControlSlotChange()},this._handleControlSlotChange=()=>{const t=this._controlSlot?.assignedNodes({flatten:!0})??[],o=this._findTextControl(t);this._attachControlElement(o)},this._handleControlValueInput=t=>{if(!this._controlTouched){const o=t.target;o instanceof HTMLInputElement&&(o.type==="checkbox"||o.type==="radio")&&(this._controlTouched=!0)}this._updateControlValidationState()},this._handleControlBlur=()=>{this._controlTouched=!0,this._updateControlValidationState()},this._handleControlInvalid=()=>{this._controlTouched=!0,this._updateControlValidationState()},this._handleFormReset=()=>{this._controlTouched=!1,this._updateControlValidationState()},this._handleFormSubmit=()=>{this._controlTouched=!0,this._updateControlValidationState()}}_handleStatusChange(){this._isImplicitStatus()||this._controlValidationMessage===void 0?this._updateControlValidationState():this._controlValidationMessage=void 0}connectedCallback(){const e=Ft();e!==void 0&&this._el.shadowRoot?.adoptedStyleSheets.push(e)}componentDidLoad(){setTimeout((()=>{this._handleControlSlotChange(),this._handleLabelSlotChange()}))}async reScanControl(){this._handleControlSlotChange()}disconnectedCallback(){this._detachControlElement(),this._detachFormListeners()}render(){const e=this._hasStatusText(),t=this._controlValidationMessage!==void 0?this._controlValidationMessage:this._shouldRenderExplicitStatusText()?this.statusText:void 0,o=this._getCurrentStatus(),s=["gids-field__status-text"];if(e){const n=this._getStatusModifierClass(o,"gids-field__status-text");n!=null&&s.push(n)}return E(Ee,{key:"b4c75ae8db2c6a526bca9abbdefa794697f79d6e"},E("div",{key:"7f1d56122271224e78b84482bbd1aa31dee0d6b5",class:Ht()},E("div",{key:"21986a7bc03029da85eeef02af059b175c208bb9",class:"gids-field__header",hidden:!this._hasLabelContent()},E("slot",{key:"2c3e7e5e7ebc8b5b30157e755422267cffeb9333",ref:this._setLabelSlot,name:"label",onSlotchange:this._handleControlSlotChange}),E("div",{key:"db267881b537d312154b4b7b51c0816595b5c064",class:"gids-field__count","aria-live":"polite"},this.count)),E("div",{key:"34ee7450b5bce2c5ae58d151a6503f1079fdfc7e",class:"gids-field__control"},E("slot",{key:"d5a7c20818abf658fd1651d90bc7fe552ff4366e",ref:this._setControlSlot,onSlotchange:this._handleControlSlotChange})),E("p",{key:"2859a75cb1f15eb4b998a8c9d0642b3a260967bc",class:"gids-field__supporting-text",hidden:!this._shouldShowHelperText()},this.helperText),e?E("p",{class:s.join(" "),role:"status","aria-live":"polite"},this._renderStatusIcon(o),t!==void 0?E("span",null,t):null):null))}_hasLabelContent(){return this._hasLabel}_hasHelperText(){return this._hasText(this.helperText)}_shouldShowHelperText(){return!!this._hasHelperText()&&!this._hasStatusText()}_hasStatusText(){return this._isImplicitStatus()?this._controlValidationMessage!==void 0:this._shouldRenderExplicitStatusText()}_shouldRenderExplicitStatusText(){return!this._isImplicitStatus()&&this.status!=="default"&&this._hasText(this.statusText)}_renderStatusIcon(e){if(!this._hasStatusText())return;const t=this._getStatusIconName(e);if(t===void 0)return;const o=["gids-field__status-icon"],s=this._getStatusModifierClass(e,"gids-field__status-icon");s!=null&&o.push(s);let n=e;return e==="error"&&(n="danger"),e==="success"&&(n="positive"),E(It,{appearance:"filled",size:"sm",alt:"",name:t,class:o.join(" "),style:{"--gidsIcon-color":`var(--gids-color-icon-${n})`}})}_getCurrentStatus(){return this._isImplicitStatus()&&this._controlValidationMessage!=null?"error":this.status??"implicit"}_getStatusIconName(e){if(e!=="implicit")return e==="success"?"positive":e==="error"?"danger":void 0}_isImplicitStatus(){return this.status==="implicit"||this.status===void 0}_hasText(e){return typeof e=="string"&&e.trim().length>0}_getStatusModifierClass(e,t){if(e!=="implicit")return`${t}--${e}`}_attachControlElement(e){if(this._controlElement===e)return this._updateControlValidationState(),void this._attachFormListeners(e?.form??this._el.closest("form"));if(this._detachControlElement(),this._controlElement=e,this._resetControlValidationState(),this._controlListenerTargets=[],e){const t=this._getControlListenerTargets(e);this._controlListenerTargets=t,t.forEach((o=>{o.addEventListener("input",this._handleControlValueInput),o.addEventListener("change",this._handleControlValueInput),o.addEventListener("blur",this._handleControlBlur,!0),o.addEventListener("invalid",this._handleControlInvalid)})),this._attachFormListeners(e.form??this._el.closest("form"))}this._updateControlValidationState()}_detachControlElement(){this._controlListenerTargets.length>0&&(this._controlListenerTargets?.forEach((e=>{e.removeEventListener("input",this._handleControlValueInput),e.removeEventListener("change",this._handleControlValueInput),e.removeEventListener("blur",this._handleControlBlur,!0),e.removeEventListener("invalid",this._handleControlInvalid)})),this._controlListenerTargets=[]),this._controlElement=null,this._resetControlValidationState(),this._detachFormListeners()}_getControlListenerTargets(e){return e instanceof HTMLInputElement&&e.type==="radio"&&e.name!=null?this._getRadioGroupControls(e):[e]}_getRadioGroupControls(e){const t=e.form;if(t&&e.name!=null){const o=t.elements.namedItem(e.name);if(o instanceof RadioNodeList){const s=Array.from(o).filter((n=>n instanceof HTMLInputElement&&n.type==="radio"&&this._el.contains(n)));if(s.length>0)return s}}if(e.name!=null){const o=`input[type="radio"][name="${CSS.escape(e.name)}"]`,s=Array.from(this._el.querySelectorAll(o));if(s.length>0)return s}return[e]}_attachFormListeners(e){e!==void 0&&(e!==null?e!==this._formElement&&(this._detachFormListeners(),this._formElement=e,this._formElement.addEventListener("reset",this._handleFormReset),this._formElement.addEventListener("submit",this._handleFormSubmit)):this._detachFormListeners())}_detachFormListeners(){this._formElement&&(this._formElement.removeEventListener("reset",this._handleFormReset),this._formElement.removeEventListener("submit",this._handleFormSubmit),this._formElement=null)}_findTextControl(e){for(const t of e){if(t.nodeType!==Node.ELEMENT_NODE)continue;const o=t,s=this._asTextControl(o);if(s!==null)return s;const n=o.querySelector("input, textarea");if(n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement)return n}return null}_asTextControl(e){return e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement?e:null}_resetControlValidationState(){this._controlTouched=!1,this._controlValidationMessage!==void 0&&(this._controlValidationMessage=void 0)}_updateControlValidationState(){if(!this._isImplicitStatus())return void(this._controlValidationMessage!==void 0&&(this._controlValidationMessage=void 0));const e=this._controlElement;if(!e||e.disabled)return void(this._controlValidationMessage!==void 0&&(this._controlValidationMessage=void 0));const t=e.validationMessage?.trim()??"";this._controlTouched&&e.matches(":user-invalid")&&t.length>0?this._controlValidationMessage!==t&&(this._controlValidationMessage=t):this._controlValidationMessage!==void 0&&(this._controlValidationMessage=void 0)}get _el(){return this}static get watchers(){return{status:[{_handleStatusChange:0}]}}static get style(){return".gids-field{display:flex;flex-direction:column;gap:var(--gids-gap-075)}.gids-field__header{display:flex;gap:var(--gids-gap-100);align-items:flex-start}.gids-field__header[hidden]{display:none}.gids-field__count{margin-left:auto;color:var(--gids-color-text-subtle);text-align:right;white-space:nowrap;font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit)}:host([disabled]) .gids-field__count{color:var(--gids-color-text-disabled)}.gids-field__control{display:flex;flex-direction:column;gap:var(--gids-gap-050)}.gids-field__supporting-text,.gids-field__status-text{margin:0;padding-top:var(--gids-padding-vertical-edge-to-element-050);font-family:var(--gids-typography-paragraph-x-small__font-family);font-size:var(--gids-typography-paragraph-x-small__font-size);font-weight:var(--gids-typography-paragraph-x-small__font-weight);letter-spacing:var(--gids-typography-paragraph-x-small__letter-spacing);line-height:var(--gids-typography-paragraph-x-small__line-height);text-transform:var(--gids-typography-paragraph-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-paragraph-x-small__font-variant-caps, inherit)}.gids-field__supporting-text{color:var(--gids-color-text-subtlest)}.gids-field__status-text{display:flex;align-items:flex-start;gap:var(--gids-gap-050)}.gids-field__status-text .gids-field__status-icon{margin-top:max(0px, -1 * (var(--gids-size-160) - var(--gids-typograpy-paragraph-x-small__line-height) * var(--gids-typograpy-paragraph-x-small__font-size)) / 2)}.gids-field__status-text>span{margin-top:max(0px, (var(--gids-size-160) - var(--gids-typograpy-paragraph-x-small__line-height) * var(--gids-typograpy-paragraph-x-small__font-size)) / 2)}.gids-field__status-icon{flex-shrink:0}.gids-field__status-text--information{color:var(--gids-color-text-information);--gids-field-status-icon-color:$icon-color}.gids-field__status-icon--information{--gidsIcon-color:$icon-color}.gids-field__status-text--success{color:var(--gids-color-text-positive);--gids-field-status-icon-color:$icon-color}.gids-field__status-icon--success{--gidsIcon-color:$icon-color}.gids-field__status-text--warning{color:var(--gids-color-text-warning);--gids-field-status-icon-color:$icon-color}.gids-field__status-icon--warning{--gidsIcon-color:$icon-color}.gids-field__status-text--error{color:var(--gids-color-text-danger);--gids-field-status-icon-color:$icon-color}.gids-field__status-icon--error{--gidsIcon-color:$icon-color}"}},[257,"gids-field",{disabled:[516],count:[513],helperText:[513,"helper-text"],statusText:[513,"status-text"],status:[513],_controlValidationMessage:[32],_hasLabel:[32],reScanControl:[64]},void 0,{status:[{_handleStatusChange:0}]}]);function Qe(){typeof customElements<"u"&&["gids-field"].forEach((e=>{e==="gids-field"&&(customElements.get(e)||customElements.define(e,Je))}))}Qe();const Gt=Je,Dt=Qe;M.GidsField=Gt,M.defineCustomElement=Dt,Object.defineProperty(M,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const S=this["s-cr"].parentElement;return(S.__childNodes?S.childNodes:(y=>{const _=[];for(let m=0;m<y.length;m++){const g=y[m]["s-nr"]||void 0;g&&g.isConnected&&_.push(g)}return _})(S.childNodes)).forEach((y=>{f===G(y)&&p.push(y)})),c?p.filter((y=>y.nodeType===1)):p}).bind(d);d.assignedElements=h(!0),d.assignedNodes=h(!1)})(i),a=e&&e.m&&e.m[o],a&&a.O===n.O&&e.S&&je(e.S)),i},je=e=>{C.i|=1;const t=e.closest(V.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of o?s.reverse():s)n["s-sh"]!=null&&($(t,n,o??null),n["s-sh"]=void 0,K=!0)}C.i&=-2},Z=(e,t)=>{C.i|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===V&&o.push(s)}for(let s=o.length-1;s>=0;s--){const n=o[s];n["s-hn"]!==V&&n["s-ol"]&&($(B(n).parentNode,n,B(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,K=!0),t&&Z(n,t)}C.i&=-2},Me=(e,t,o,s,n,i)=>{let r,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===V&&(a=a.shadowRoot),o.O==="template"&&(a=a.content);n<=i;++n)s[n]&&(r=Y(null,o,n),r&&(s[n].S=r,$(a,r,B(t))))},Pe=(e,t,o)=>{for(let s=t;s<=o;++s){const n=e[s];if(n){const i=n.S;Re(n),i&&(U=!0,i["s-ol"]?i["s-ol"].remove():Z(i,!0),i.remove())}}},J=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),B=e=>e&&e["s-ol"]||e,I=(e,t,o=!1)=>{const s=t.S=e.S,n=e.m,i=t.m,r=t.O,a=t.h;let l;a==null?(N=r==="svg"||r!=="foreignObject"&&N,r!=="slot"||D||e.j!==t.j&&(t.S["s-sn"]=t.j||"",je(t.S.parentElement)),re(e,t,N),n!==null&&i!==null?((d,h,c,u,p=!1)=>{let f,S,y=0,_=0,m=0,g=0,w=h.length-1,v=h[0],x=h[w],T=u.length-1,L=u[0],k=u[T];const Xe=c.O==="template"?d.content:d;for(;y<=w&&_<=T;)if(v==null)v=h[++y];else if(x==null)x=h[--w];else if(L==null)L=u[++_];else if(k==null)k=u[--T];else if(J(v,L,p))I(v,L,p),v=h[++y],L=u[++_];else if(J(x,k,p))I(x,k,p),x=h[--w],k=u[--T];else if(J(v,k,p))v.O!=="slot"&&k.O!=="slot"||Z(v.S.parentNode,!1),I(v,k,p),$(Xe,v.S,x.S.nextSibling),v=h[++y],k=u[--T];else if(J(x,L,p))v.O!=="slot"&&k.O!=="slot"||Z(x.S.parentNode,!1),I(x,L,p),$(Xe,x.S,v.S),x=h[--w],L=u[++_];else{for(m=-1,g=y;g<=w;++g)if(h[g]&&h[g].$!==null&&h[g].$===L.$){m=g;break}m>=0?(S=h[m],S.O!==L.O?f=Y(h&&h[_],c,m):(I(S,L,p),h[m]=void 0,f=S.S),L=u[++_]):(f=Y(h&&h[_],c,_),L=u[++_]),f&&$(B(v.S).parentNode,f,B(v.S))}y>w?Me(d,u[T+1]==null?null:u[T+1].S,c,u,_,T):_>T&&Pe(h,y,w)})(s,n,t,i,o):i!==null?(e.h!==null&&(s.textContent=""),Me(s,null,t,i,0,i.length-1)):!o&&n!==null&&Pe(n,0,n.length-1),N&&r==="svg"&&(N=!1)):(l=s["s-cr"])?l.parentNode.textContent=a:e.h!==a&&(s.data=a)},A=[],Ve=e=>{let t,o,s;const n=e.__childNodes||e.childNodes;for(const i of n){if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const r=i["s-sn"];for(s=o.length-1;s>=0;s--)if(t=o[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===i["s-hn"]||t["s-sh"]&&t["s-sh"]===i["s-hn"]))if(we(t,r)){let a=A.find((l=>l.k===t));U=!0,t["s-sn"]=t["s-sn"]||r,a?(a.k["s-sh"]=i["s-hn"],a.N=i):(t["s-sh"]=i["s-hn"],A.push({N:i,k:t})),t["s-sr"]&&A.map((l=>{we(l.k,t["s-sn"])&&(a=A.find((d=>d.k===t)),a&&!l.N&&(l.N=a.N))}))}else A.some((a=>a.k===t))||A.push({k:t})}i.nodeType===1&&Ve(i)}},Re=e=>{e.v&&e.v.ref&&ae.push((()=>e.v.ref(null))),e.m&&e.m.map(Re)},ft=(e,t)=>{ce.push((()=>e(t)))},$=(e,t,o,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:n}=(function(i,r){var a;if(!(r=r||((a=i["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const l=i["s-sn"]=G(i)||"";return{slotNode:oe(ne(r,"childNodes"),r.tagName,l)[0],slotName:l}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},pt=(e,t,o=!1)=>{var s,n,i,r,a;const l=e.$hostElement$,d=e.o,h=e.M||q(null,null);var c;const u=(c=t)&&c.O===Ee?t:E(null,null,t);if(V=l.tagName,d.C&&(u.v=u.v||{},d.C.forEach((([p,f])=>{u.v[f]=l[p]}))),o&&u.v)for(const p of Object.keys(u.v))l.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(u.v[p]=l[p]);if(u.O=null,u.i|=4,e.M=u,u.S=h.S=l.shadowRoot||l,D=!(!(1&d.i)||128&d.i),ie=l["s-cr"],U=!1,I(h,u,o),C.i|=1,K){Ve(u.S);for(const p of A){const f=p.k;if(!f["s-ol"]&&b.document){const S=b.document.createTextNode("");S["s-nr"]=f,$(f.parentNode,f["s-ol"]=S,f,o)}}for(const p of A){const f=p.k,S=p.N;if(f.nodeType===1&&o&&(f["s-ih"]=(s=f.hidden)!=null&&s),S){const y=S.parentNode;let _=S.nextSibling;if(_&&_.nodeType===1){let m=(n=f["s-ol"])==null?void 0:n.previousSibling;for(;m;){let g=(i=m["s-nr"])!=null?i:null;if(g&&g["s-sn"]===f["s-sn"]&&y===(g.__parentNode||g.parentNode)){for(g=g.nextSibling;g===f||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){_=g;break}}m=m.previousSibling}}if((!_&&y!==(f.__parentNode||f.parentNode)||(f.__nextSibling||f.nextSibling)!==_)&&f!==_){if($(y,f,_,o),f.nodeType===8&&f.nodeValue.startsWith("s-nt-")){const m=b.document.createTextNode(f.nodeValue.replace(/^s-nt-/,""));m["s-hn"]=f["s-hn"],m["s-sn"]=f["s-sn"],m["s-sh"]=f["s-sh"],m["s-sr"]=f["s-sr"],m["s-ol"]=f["s-ol"],m["s-ol"]["s-nr"]=m,$(f.parentNode,m,f,o),f.parentNode.removeChild(f)}f.nodeType===1&&f.tagName!=="SLOT-FB"&&(f.hidden=(r=f["s-ih"])!=null&&r)}f&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else f.nodeType===1&&(f.hidden=!0)}}if(U&&xe(u.S),C.i&=-2,A.length=0,!D&&!(1&d.i)&&l["s-cr"]){const p=u.S.__childNodes||u.S.childNodes;for(const f of p)if(f["s-hn"]!==V&&!f["s-sh"]){if(o&&f["s-ih"]==null&&(f["s-ih"]=(a=f.hidden)!=null&&a),f.nodeType===1)f.hidden=!0;else if(f.nodeType===3&&f.nodeValue.trim()){const S=b.document.createComment("s-nt-"+f.nodeValue);S["s-sn"]=f["s-sn"],$(f.parentNode,S,f,o),f.parentNode.removeChild(f)}}}ie=void 0,ae.forEach((p=>p())),ae.length=0,ce.forEach((p=>p())),ce.length=0},Ie=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(o-1,1),s()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Ie(e,e.R);const o=()=>gt(e,t);if(!t)return it(o);queueMicrotask((()=>{o()}))},gt=(e,t)=>{const o=e.$hostElement$,s=o;if(!s)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=W(s,t?"componentWillLoad":"componentWillUpdate",void 0,o),n=Fe(n,(()=>W(s,"componentWillRender",void 0,o))),Fe(n,(()=>_t(e,s,t)))},Fe=(e,t)=>mt(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),mt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",_t=async(e,t,o)=>{var s;const n=e.$hostElement$,i=n["s-rc"];o&&(r=>{const a=r.o,l=r.$hostElement$,d=a.i,h=((c,u)=>{var p,f,S;const y=Ce(u),_=z.get(y);if(!b.document)return y;if(c=c.nodeType===11?c:b.document,_)if(typeof _=="string"){let m,g=j.get(c=c.head||c);if(g||j.set(c,g=new Set),!g.has(y)){m=b.document.createElement("style"),m.textContent=_;const w=(p=C._)!=null?p:(function(){var v,x,T;return(T=(x=(v=b.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:x.getAttribute("content"))!=null?T:void 0})();if(w!=null&&m.setAttribute("nonce",w),!(1&u.i))if(c.nodeName==="HEAD"){const v=c.querySelectorAll("link[rel=preconnect]"),x=v.length>0?v[v.length-1].nextSibling:c.querySelector("style");c.insertBefore(m,x?.parentNode===c?x:null)}else if("host"in c)if(Q){const v=new((f=c.defaultView)!=null?f:c.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(_),X?c.adoptedStyleSheets.unshift(v):c.adoptedStyleSheets=[v,...c.adoptedStyleSheets]}else{const v=c.querySelector("style");v?v.textContent=_+v.textContent:c.prepend(m)}else c.append(m);1&u.i&&c.insertBefore(m,null),4&u.i&&(m.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),g&&g.add(y)}}else{let m=j.get(c);if(m||j.set(c,m=new Set),!m.has(y)){const g=(S=c.defaultView)!=null?S:c.ownerDocument.defaultView;let w;if(_.constructor===g.CSSStyleSheet)w=_;else{w=new g.CSSStyleSheet;for(let v=0;v<_.cssRules.length;v++)w.insertRule(_.cssRules[v].cssText,v)}X?c.adoptedStyleSheets.push(w):c.adoptedStyleSheets=[...c.adoptedStyleSheets,w],m.add(y)}}return y})(l.shadowRoot?l.shadowRoot:l.getRootNode(),a);10&d&&(l["s-sc"]=h,l.classList.add(h+"-h"))})(e),vt(e,t,n,o),i&&(i.map((r=>r())),n["s-rc"]=void 0);{const r=(s=n["s-p"])!=null?s:[],a=()=>yt(e);r.length===0?a():(Promise.all(r).then(a).catch(a),e.i|=4,r.length=0)}},vt=(e,t,o,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,pt(e,t,s)}catch(n){P(n,e.$hostElement$)}return null},yt=e=>{const t=e.$hostElement$,o=t,s=e.R;W(o,"componentDidRender",void 0,t),64&e.i?W(o,"componentDidUpdate",void 0,t):(e.i|=64,bt(t),W(o,"componentDidLoad",void 0,t),e.L(t),s||St()),e.A&&(e.A(),e.A=void 0),512&e.i&&se((()=>de(e,!1))),e.i&=-517},St=()=>{se((()=>dt(b,"appload",{detail:{namespace:"gids-core-web"}})))},W=(e,t,o,s)=>{if(e&&e[t])try{return e[t](o)}catch(n){P(n,s)}},bt=e=>e.classList.add("hydrated"),He=(e,t,o,s)=>{const n=O(e);if(!n)return;const i=e,r=n.l.get(t),a=n.i,l=i;o=Le(o,s.t[t][0],!!(64&s.i));const d=Number.isNaN(r)&&Number.isNaN(o);if(o!==r&&!d){if(n.l.set(t,o),s.F){const h=s.F[t];h&&h.map((c=>{try{const[[u,p]]=Object.entries(c);(128&a||1&p)&&(l?l[u](o,r,t):n.T.push((()=>{n.D[u](o,r,t)})))}catch(u){P(u,i)}}))}if(2&a){if(l.componentShouldUpdate&&l.componentShouldUpdate(o,r,t)===!1&&!(16&a))return;16&a||de(n,!1)}}},xt=(e,t,o)=>{var s,n;const i=e.prototype;64&t.i&&1&o&&tt.forEach((r=>{const a=i[r];Object.defineProperty(i,r,{value(...l){var d;const h=O(this),c=this;c?typeof a=="function"&&a.call(c,...l):(d=h?.H)==null||d.then((u=>{const p=u[r];typeof p=="function"&&p.call(u,...l)}))}})}));{e.watchers&&!t.F&&(t.F=Te(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const r=Object.entries((s=t.t)!=null?s:{});r.map((([a,[l]])=>{if(31&l||32&l){const{get:d,set:h}=R(i,a)||{};d&&(t.t[a][0]|=2048),h&&(t.t[a][0]|=4096),Object.defineProperty(i,a,{get(){return d?d.apply(this):(c=a,O(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(i,a,{set(c){const u=O(this);if(u){if(h)return(32&l?this[a]:u.$hostElement$[a])===void 0&&u.l.get(a)&&(c=u.l.get(a)),h.apply(this,[Le(c,l,!!(64&t.i))]),void He(this,a,c=32&l?this[a]:u.$hostElement$[a],t);He(this,a,c,t)}}})}}));{const a=new Map;i.attributeChangedCallback=function(l,d,h){C.jmp((()=>{var c;const u=a.get(l),p=O(this);if(this.hasOwnProperty(u),i.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==h)return;if(u==null){const m=p?.i;if(p&&m&&!(8&m)&&h!==d){const g=this,w=(c=t.F)==null?void 0:c[l];w?.forEach((v=>{const[[x,T]]=Object.entries(v);g[x]!=null&&(128&m||1&T)&&g[x].call(g,h,d,l)}))}return}const f=r.find((([m])=>m===u)),S=f&&4&f[1][0],y=S&&h===null&&this[u]===void 0;S&&(h=h!==null&&h!=="false");const _=Object.getOwnPropertyDescriptor(i,u);y||h==this[u]||_.get&&!_.set||(this[u]=h)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...r.filter((([l,d])=>31&d[0])).map((([l,d])=>{var h;const c=d[1]||l;return a.set(c,l),512&d[0]&&((h=t.C)==null||h.push([l,c])),c}))]))}}return e},wt=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.W=t[3],o.F=Te(e.F),o.P=e.P,o.U=e.U,o.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((i,r)=>{const a={i:0,$hostElement$:i,o:r,l:new Map,B:new Map};a.H=new Promise((d=>a.L=d)),i["s-p"]=[],i["s-rc"]=[];const l=a;i.__stencil__getHostRef=()=>l,512&r.i&&et(i,a)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const i=O(this);if(!i)return;Ge(this,i,o.W),this.__hasHostListenerAttached=!0}(i=>{if(!(1&C.i)){const r=O(i);if(!r)return;const a=r.o;if(1&r.i)Ge(i,r,a.W),r?.D||r?.H&&r.H.then((()=>{}));else{r.i|=1,12&a.i&&(l=>{if(!b.document)return;const d=l["s-cr"]=b.document.createComment("");d["s-cn"]=!0,$(l,d,l.firstChild)})(i);{let l=i;for(;l=l.parentNode||l.host;)if(l["s-p"]){Ie(r,r.R=l);break}}a.t&&Object.entries(a.t).map((([l,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(i,l)){const h=i[l];delete i[l],i[l]=h}})),(async(l,d,h)=>{let c;try{if(!(32&d.i)&&(d.i|=32,c=l.constructor,customElements.whenDefined(l.localName).then((()=>d.i|=128)),c&&c.style)){let f;typeof c.style=="string"&&(f=c.style);const S=Ce(h);z.has(S)||((y,_,m)=>{let g=z.get(y);Q&&m?(g=g||new CSSStyleSheet,typeof g=="string"?g=_:g.replaceSync(_)):g=_,z.set(y,g)})(S,f,!!(1&h.i))}const u=d.R,p=()=>de(d,!0);u&&u["s-rc"]?u["s-rc"].push(p):p()}catch(u){P(u,l),d.A&&(d.A(),d.A=void 0),d.L&&d.L(l)}})(i,r,a)}}})(this),s&&s.call(this)},disconnectedCallback(){(async i=>{if(!(1&C.i)){const r=O(i);r?.V&&(r.V.map((a=>a())),r.V=void 0)}j.has(i)&&j.delete(i),i.shadowRoot&&j.has(i.shadowRoot)&&j.delete(i.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else lt.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),xt(e,o,3)}catch(s){return P(s),e}},Ge=(e,t,o)=>{o&&b.document&&o.map((([s,n,i])=>{const r=Et(b.document,e,s),a=Ct(t,i),l=Nt(s);C.ael(r,n,a,l),(t.V=t.V||[]).push((()=>C.rel(r,n,a,l)))}))},Ct=(e,t)=>o=>{try{e.$hostElement$[t](o)}catch(s){P(s,e.$hostElement$)}},Et=(e,t,o)=>8&o?b:t,Nt=e=>ot?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Bt(e){return e}function De(e){var t,o,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=De(e[t]))&&(s&&(s+=" "),s+=o)}else for(o in e)e[o]&&(s&&(s+=" "),s+=o);return s}function Be(){for(var e,t,o=0,s="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=De(e))&&(s&&(s+=" "),s+=t);return s}const Tt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>Be("gids-icon",{"gids-icon--xs":e==="xs","gids-icon--sm":e==="sm","gids-icon--md":e==="md","gids-icon--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),Lt=Object.freeze(Object.defineProperty({__proto__:null,getGidsFieldClassNames:e=>Be("gids-field",e)},Symbol.toStringTag,{value:"Module"})),he=Symbol("defaultPath"),We=Symbol("pathSet"),ue="gids-asset-paths-set";class $t extends EventTarget{#s=new Map;constructor(){super()}#e(t,o){this.#s.set(t,o)}#t(t){return this.#s.get(t)??null}#o=()=>{this.dispatchEvent(new Event(ue))};haveAssetPathsBeenSet(){return this.#t(We)!==null}setAssetPaths(t,o){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(he,t);else{for(const s in t)this.#e(s,t[s]);o&&this.#e(he,o)}this.#e(We,"true"),setTimeout(this.#o,0)}}getAssetFilePath(t){const o=this.#t(t);if(o===null){const s=this.#t(he);if(s!==null)return`${s}${s.endsWith("/")?"":"/"}${t}`}return o}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(ue,t,{once:!0}),()=>{this.removeEventListener(ue,t)}}}const fe=Symbol.for("GIDS"),kt=()=>(globalThis[fe]===void 0&&(globalThis[fe]={assetPaths:{}}),globalThis[fe]),Ot=e=>{const t=kt().assetPaths;return t[e]===void 0&&(t[e]=new $t),t[e]};function pe(){return Ot("@ganpatiinfo/gids-web-shared")}function At(){return pe().haveAssetPathsBeenSet()}function ze(e){return pe().getAssetFilePath(e)}function jt(e){return pe().onAssetPathsSet(e)}let Mt=0;const Pt=(e,t="gids")=>e||`${t}-${Mt++}`,qe={"icons-other.svg":["accessibility","add","remove","announcement","approval","archive","audio","backward","banking","battery","bluetooth","bookmark","bulb","calendar","camera","card","cart","chart","chat","cloud","code","compass","desktop","email","emergency","exchange","finance","fingerprint","flag","folder","forward","gift","globe","goals","happy","hashtag","headphones","history","image","insurance","investment","in-progress","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","ai","new","draft","pending","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},Ue=new Map;for(const e in qe)for(const t of qe[e])Ue.set(t,e);function Vt(e){return Ue.get(e)}function Ke(e,t="regular",o){const s=Vt(e);let n=s??"";return o&&s&&(n=o(s)??s),`${n}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:Rt}=Tt,It=({name:e,size:t,appearance:o,alt:s,class:n,titleId:i,src:r,...a})=>{const l=Pt(i);let d=r;return d===void 0&&At()&&(d=Ke(e,o,ze)),E("svg",{ref:h=>{d===void 0&&jt((()=>{(function(c,u,p){if(!c)return;const f=document.createElementNS("http://www.w3.org/2000/svg","use");f.setAttribute("href",Ke(u,p,ze)),c.appendChild(f)})(h,e,o)}))},width:"16",height:"16",class:Rt({size:t},n),role:"img","aria-hidden":s===""?"true":void 0,"aria-labelledby":s===""?void 0:l,...a},s!==""&&E("title",{id:l},s||e),d!==void 0?E("use",{href:d}):null)},F=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let Ye=!1;F&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(F):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let ge=null;const me=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{Ze()})):void 0,Ze=()=>{if(F===void 0)return!1;const e=(()=>{if(F===void 0)return;const t=[];for(let o=0;o<document.styleSheets.length;o++){const s=document.styleSheets.item(o);if(s)try{let n=-1,i=0;for(let r=0;r<s.cssRules.length;r++){const a=s.cssRules.item(r);if(a?.cssText.startsWith("gids-global-styles-start"))n=r;else if(n>-1){if(a?.cssText.startsWith("gids-global-styles-end")){i=r-n+1;break}t.push(a)}}if(n>-1)return{rulesStartIndex:n,originalRulesCount:i,rules:t,styleSheet:s}}catch(n){if(!(n instanceof DOMException))throw n}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return me!==void 0&&t!==ge&&(ge&&me.disconnect(),t instanceof Element&&me.observe(t,{childList:!0,characterData:!0,subtree:!0}),ge=t),F.replaceSync((o=>o.rules.map((s=>s.cssText)).join(""))(e)),(o=>{const{rulesStartIndex:s,originalRulesCount:n,styleSheet:i}=o;for(let r=0;r<n;r++)i.deleteRule(s)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},Ft=()=>(Ye||(Ye=Ze()),F),{getGidsFieldClassNames:Ht}=Lt,Je=wt(class extends st{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.status="implicit",this._hasLabel=!1,this._controlListenerTargets=[],this._controlTouched=!1,this._handleLabelSlotChange=()=>{this._hasLabel=(this._labelSlot?.assignedElements()?.length??0)>0},this._setLabelSlot=t=>{this._labelSlot=t??void 0,this._handleLabelSlotChange()},this._setControlSlot=t=>{this._controlSlot=t??void 0,this._handleControlSlotChange()},this._handleControlSlotChange=()=>{const t=this._controlSlot?.assignedNodes({flatten:!0})??[],o=this._findTextControl(t);this._attachControlElement(o)},this._handleControlValueInput=t=>{if(!this._controlTouched){const o=t.target;o instanceof HTMLInputElement&&(o.type==="checkbox"||o.type==="radio")&&(this._controlTouched=!0)}this._updateControlValidationState()},this._handleControlBlur=()=>{this._controlTouched=!0,this._updateControlValidationState()},this._handleControlInvalid=()=>{this._controlTouched=!0,this._updateControlValidationState()},this._handleFormReset=()=>{this._controlTouched=!1,this._updateControlValidationState()},this._handleFormSubmit=()=>{this._controlTouched=!0,this._updateControlValidationState()}}_handleStatusChange(){this._isImplicitStatus()||this._controlValidationMessage===void 0?this._updateControlValidationState():this._controlValidationMessage=void 0}connectedCallback(){const e=Ft();e!==void 0&&this._el.shadowRoot?.adoptedStyleSheets.push(e)}componentDidLoad(){setTimeout((()=>{this._handleControlSlotChange(),this._handleLabelSlotChange()}))}async reScanControl(){this._handleControlSlotChange()}disconnectedCallback(){this._detachControlElement(),this._detachFormListeners()}render(){const e=this._hasStatusText(),t=this._controlValidationMessage!==void 0?this._controlValidationMessage:this._shouldRenderExplicitStatusText()?this.statusText:void 0,o=this._getCurrentStatus(),s=["gids-field__status-text"];if(e){const n=this._getStatusModifierClass(o,"gids-field__status-text");n!=null&&s.push(n)}return E(Ee,{key:"c75e54d5682a6cab95b56861725af0722230ae44"},E("div",{key:"1ecbbae66b42c8500368ab1dfee347e12400f4ac",class:Ht()},E("div",{key:"e67b522626951f216825631772d87fcd40b59a00",class:"gids-field__header",hidden:!this._hasLabelContent()},E("slot",{key:"c6a348a5cc0f4195d964d343e380392337f90116",ref:this._setLabelSlot,name:"label",onSlotchange:this._handleControlSlotChange}),E("div",{key:"29747dd8fd31c32cee6ee23f50f08fe0f3d0dd6c",class:"gids-field__count","aria-live":"polite"},this.count)),E("div",{key:"1b24c65b26fb184862dd4aeb573de0dca9d843c7",class:"gids-field__control"},E("slot",{key:"025942655f85c705d65d3ba9a3179e9d4cd1cd83",ref:this._setControlSlot,onSlotchange:this._handleControlSlotChange})),E("p",{key:"8dda0c1f671594bcc08bfd9ba0c70496439c4730",class:"gids-field__supporting-text",hidden:!this._shouldShowHelperText()},this.helperText),e?E("p",{class:s.join(" "),role:"status","aria-live":"polite"},this._renderStatusIcon(o),t!==void 0?E("span",null,t):null):null))}_hasLabelContent(){return this._hasLabel}_hasHelperText(){return this._hasText(this.helperText)}_shouldShowHelperText(){return!!this._hasHelperText()&&!this._hasStatusText()}_hasStatusText(){return this._isImplicitStatus()?this._controlValidationMessage!==void 0:this._shouldRenderExplicitStatusText()}_shouldRenderExplicitStatusText(){return!this._isImplicitStatus()&&this.status!=="default"&&this._hasText(this.statusText)}_renderStatusIcon(e){if(!this._hasStatusText())return;const t=this._getStatusIconName(e);if(t===void 0)return;const o=["gids-field__status-icon"],s=this._getStatusModifierClass(e,"gids-field__status-icon");s!=null&&o.push(s);let n=e;return e==="error"&&(n="danger"),e==="success"&&(n="positive"),E(It,{appearance:"filled",size:"sm",alt:"",name:t,class:o.join(" "),style:{"--gidsIcon-color":`var(--gids-color-icon-${n})`}})}_getCurrentStatus(){return this._isImplicitStatus()&&this._controlValidationMessage!=null?"error":this.status??"implicit"}_getStatusIconName(e){if(e!=="implicit")return e==="success"?"positive":e==="error"?"danger":void 0}_isImplicitStatus(){return this.status==="implicit"||this.status===void 0}_hasText(e){return typeof e=="string"&&e.trim().length>0}_getStatusModifierClass(e,t){if(e!=="implicit")return`${t}--${e}`}_attachControlElement(e){if(this._controlElement===e)return this._updateControlValidationState(),void this._attachFormListeners(e?.form??this._el.closest("form"));if(this._detachControlElement(),this._controlElement=e,this._resetControlValidationState(),this._controlListenerTargets=[],e){const t=this._getControlListenerTargets(e);this._controlListenerTargets=t,t.forEach((o=>{o.addEventListener("input",this._handleControlValueInput),o.addEventListener("change",this._handleControlValueInput),o.addEventListener("blur",this._handleControlBlur,!0),o.addEventListener("invalid",this._handleControlInvalid)})),this._attachFormListeners(e.form??this._el.closest("form"))}this._updateControlValidationState()}_detachControlElement(){this._controlListenerTargets.length>0&&(this._controlListenerTargets?.forEach((e=>{e.removeEventListener("input",this._handleControlValueInput),e.removeEventListener("change",this._handleControlValueInput),e.removeEventListener("blur",this._handleControlBlur,!0),e.removeEventListener("invalid",this._handleControlInvalid)})),this._controlListenerTargets=[]),this._controlElement=null,this._resetControlValidationState(),this._detachFormListeners()}_getControlListenerTargets(e){return e instanceof HTMLInputElement&&e.type==="radio"&&e.name!=null?this._getRadioGroupControls(e):[e]}_getRadioGroupControls(e){const t=e.form;if(t&&e.name!=null){const o=t.elements.namedItem(e.name);if(o instanceof RadioNodeList){const s=Array.from(o).filter((n=>n instanceof HTMLInputElement&&n.type==="radio"&&this._el.contains(n)));if(s.length>0)return s}}if(e.name!=null){const o=`input[type="radio"][name="${CSS.escape(e.name)}"]`,s=Array.from(this._el.querySelectorAll(o));if(s.length>0)return s}return[e]}_attachFormListeners(e){e!==void 0&&(e!==null?e!==this._formElement&&(this._detachFormListeners(),this._formElement=e,this._formElement.addEventListener("reset",this._handleFormReset),this._formElement.addEventListener("submit",this._handleFormSubmit)):this._detachFormListeners())}_detachFormListeners(){this._formElement&&(this._formElement.removeEventListener("reset",this._handleFormReset),this._formElement.removeEventListener("submit",this._handleFormSubmit),this._formElement=null)}_findTextControl(e){for(const t of e){if(t.nodeType!==Node.ELEMENT_NODE)continue;const o=t,s=this._asTextControl(o);if(s!==null)return s;const n=o.querySelector("input, textarea");if(n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement)return n}return null}_asTextControl(e){return e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement?e:null}_resetControlValidationState(){this._controlTouched=!1,this._controlValidationMessage!==void 0&&(this._controlValidationMessage=void 0)}_updateControlValidationState(){if(!this._isImplicitStatus())return void(this._controlValidationMessage!==void 0&&(this._controlValidationMessage=void 0));const e=this._controlElement;if(!e||e.disabled)return void(this._controlValidationMessage!==void 0&&(this._controlValidationMessage=void 0));const t=e.validationMessage?.trim()??"";this._controlTouched&&e.matches(":user-invalid")&&t.length>0?this._controlValidationMessage!==t&&(this._controlValidationMessage=t):this._controlValidationMessage!==void 0&&(this._controlValidationMessage=void 0)}get _el(){return this}static get watchers(){return{status:[{_handleStatusChange:0}]}}static get style(){return".gids-field{display:flex;flex-direction:column;gap:var(--gids-gap-075)}.gids-field__header{display:flex;gap:var(--gids-gap-100);align-items:flex-start}.gids-field__header[hidden]{display:none}.gids-field__count{margin-left:auto;color:var(--gids-color-text-subtle);text-align:right;white-space:nowrap;font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit)}:host([disabled]) .gids-field__count{color:var(--gids-color-text-disabled)}.gids-field__control{display:flex;flex-direction:column;gap:var(--gids-gap-050)}.gids-field__supporting-text,.gids-field__status-text{margin:0;padding-top:var(--gids-padding-vertical-edge-to-element-050);font-family:var(--gids-typography-paragraph-x-small__font-family);font-size:var(--gids-typography-paragraph-x-small__font-size);font-weight:var(--gids-typography-paragraph-x-small__font-weight);letter-spacing:var(--gids-typography-paragraph-x-small__letter-spacing);line-height:var(--gids-typography-paragraph-x-small__line-height);text-transform:var(--gids-typography-paragraph-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-paragraph-x-small__font-variant-caps, inherit)}.gids-field__supporting-text{color:var(--gids-color-text-subtlest)}.gids-field__status-text{display:flex;align-items:flex-start;gap:var(--gids-gap-050)}.gids-field__status-text .gids-field__status-icon{margin-top:max(0px, -1 * (var(--gids-size-160) - var(--gids-typograpy-paragraph-x-small__line-height) * var(--gids-typograpy-paragraph-x-small__font-size)) / 2)}.gids-field__status-text>span{margin-top:max(0px, (var(--gids-size-160) - var(--gids-typograpy-paragraph-x-small__line-height) * var(--gids-typograpy-paragraph-x-small__font-size)) / 2)}.gids-field__status-icon{flex-shrink:0}.gids-field__status-text--information{color:var(--gids-color-text-information);--gids-field-status-icon-color:$icon-color}.gids-field__status-icon--information{--gidsIcon-color:$icon-color}.gids-field__status-text--success{color:var(--gids-color-text-positive);--gids-field-status-icon-color:$icon-color}.gids-field__status-icon--success{--gidsIcon-color:$icon-color}.gids-field__status-text--warning{color:var(--gids-color-text-warning);--gids-field-status-icon-color:$icon-color}.gids-field__status-icon--warning{--gidsIcon-color:$icon-color}.gids-field__status-text--error{color:var(--gids-color-text-danger);--gids-field-status-icon-color:$icon-color}.gids-field__status-icon--error{--gidsIcon-color:$icon-color}"}},[257,"gids-field",{disabled:[516],count:[513],helperText:[513,"helper-text"],statusText:[513,"status-text"],status:[513],_controlValidationMessage:[32],_hasLabel:[32],reScanControl:[64]},void 0,{status:[{_handleStatusChange:0}]}]);function Qe(){typeof customElements<"u"&&["gids-field"].forEach((e=>{e==="gids-field"&&(customElements.get(e)||customElements.define(e,Je))}))}Qe();const Gt=Je,Dt=Qe;M.GidsField=Gt,M.defineCustomElement=Dt,Object.defineProperty(M,Symbol.toStringTag,{value:"Module"})}));