@ganpatiinfo/gids-core-web 10.2.0 → 12.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 (209) hide show
  1. package/dist/css/index.css +525 -3
  2. package/dist/css/index.css.map +1 -1
  3. package/dist/gids-action-bar.d.ts +1 -1
  4. package/dist/gids-action-bar.js +1 -1
  5. package/dist/gids-activity-gauge.d.ts +1 -1
  6. package/dist/gids-activity-gauge.js +1 -1
  7. package/dist/gids-bar-chart.d.ts +1 -1
  8. package/dist/gids-bar-chart.js +1 -1
  9. package/dist/gids-calendar-header-panel.d.ts +1 -1
  10. package/dist/gids-calendar-header-panel.js +1 -1
  11. package/dist/gids-calendar-month-list.d.ts +1 -1
  12. package/dist/gids-calendar-month-list.js +1 -1
  13. package/dist/gids-calendar-year-list.d.ts +1 -1
  14. package/dist/gids-calendar-year-list.js +1 -1
  15. package/dist/gids-calendar.d.ts +1 -1
  16. package/dist/gids-calendar.js +1 -1
  17. package/dist/gids-chart-legend-item.d.ts +1 -1
  18. package/dist/gids-chart-legend-item.js +1 -1
  19. package/dist/gids-chart-legend.d.ts +1 -1
  20. package/dist/gids-chart-legend.js +1 -1
  21. package/dist/gids-chart.d.ts +1 -1
  22. package/dist/gids-chart.js +1 -1
  23. package/dist/gids-chevron-button.d.ts +1 -1
  24. package/dist/gids-chevron-button.js +1 -1
  25. package/dist/gids-dot.d.ts +1 -1
  26. package/dist/gids-dot.js +1 -1
  27. package/dist/gids-dropdown-field.d.ts +1 -1
  28. package/dist/gids-dropdown-field.js +1 -1
  29. package/dist/gids-dropdown-picker.d.ts +1 -1
  30. package/dist/gids-dropdown-picker.js +1 -1
  31. package/dist/gids-dropdown.d.ts +1 -1
  32. package/dist/gids-dropdown.js +1 -1
  33. package/dist/gids-expansion-body-list-item.d.ts +11 -0
  34. package/dist/gids-expansion-body-list-item.js +1 -0
  35. package/dist/gids-expansion-body-list.d.ts +11 -0
  36. package/dist/gids-expansion-body-list.js +1 -0
  37. package/dist/gids-expansion-group.d.ts +11 -0
  38. package/dist/gids-expansion-group.js +1 -0
  39. package/dist/gids-expansion.d.ts +11 -0
  40. package/dist/gids-expansion.js +1 -0
  41. package/dist/gids-field.d.ts +1 -1
  42. package/dist/gids-field.js +1 -1
  43. package/dist/gids-filter.d.ts +1 -1
  44. package/dist/gids-filter.js +1 -1
  45. package/dist/gids-icon.d.ts +1 -1
  46. package/dist/gids-icon.js +1 -1
  47. package/dist/gids-input.d.ts +1 -1
  48. package/dist/gids-input.js +1 -1
  49. package/dist/gids-level-gauge.d.ts +1 -1
  50. package/dist/gids-line-chart.d.ts +1 -1
  51. package/dist/gids-line-chart.js +1 -1
  52. package/dist/gids-md-table.d.ts +11 -0
  53. package/dist/gids-md-table.js +1 -0
  54. package/dist/gids-notification.d.ts +1 -1
  55. package/dist/gids-overflow-container.d.ts +1 -1
  56. package/dist/gids-overflow-container.js +1 -1
  57. package/dist/gids-overlay-provider.d.ts +1 -1
  58. package/dist/gids-overlay-provider.js +1 -1
  59. package/dist/gids-password-field.d.ts +1 -1
  60. package/dist/gids-password-field.js +1 -1
  61. package/dist/gids-pie-chart.d.ts +1 -1
  62. package/dist/gids-pie-chart.js +1 -1
  63. package/dist/gids-popover.d.ts +1 -1
  64. package/dist/gids-popover.js +1 -1
  65. package/dist/gids-progress-circle.d.ts +1 -1
  66. package/dist/gids-scrim.d.ts +1 -1
  67. package/dist/gids-scrim.js +1 -1
  68. package/dist/gids-snackbar.d.ts +1 -1
  69. package/dist/gids-tab-item.d.ts +1 -1
  70. package/dist/gids-tab-item.js +1 -1
  71. package/dist/gids-tab.d.ts +1 -1
  72. package/dist/gids-tab.js +1 -1
  73. package/dist/gids-text-field.d.ts +1 -1
  74. package/dist/gids-text-field.js +1 -1
  75. package/dist/gids-toggle-button.d.ts +1 -1
  76. package/dist/gids-toggle-button.js +1 -1
  77. package/dist/gids-tooltip.d.ts +1 -1
  78. package/dist/gids-tooltip.js +1 -1
  79. package/dist/{p-Jdpe4Sgj.js → p-6APCjBEI.js} +1 -1
  80. package/dist/{p-qb1aWgjh.js → p-BCVFQSjK.js} +1 -1
  81. package/dist/{p-Ciw-O9qN.js → p-BSbOhfLZ.js} +1 -1
  82. package/dist/{p-Doi8Yizl.js → p-BVAtja26.js} +1 -1
  83. package/dist/{p-8tOn5SjU.js → p-C2O_pGky.js} +1 -1
  84. package/dist/{p-BfnzH6wp.js → p-C3We7Q8Q.js} +1 -1
  85. package/dist/p-C3w3wdCt.js +1 -0
  86. package/dist/{p-BYDimyG-.js → p-C3xv7tfs.js} +1 -1
  87. package/dist/{p-DoPuGtJd.js → p-C56G7JRy.js} +1 -1
  88. package/dist/p-CI-sN9Lr.js +1 -0
  89. package/dist/{p-B1Jgtjhu.js → p-COHuQEfZ.js} +1 -1
  90. package/dist/p-ChV9xqsO.js +1 -0
  91. package/dist/{p-C-cUL-aA.js → p-Chqeexny.js} +1 -1
  92. package/dist/{p-bPPm7cuw.js → p-DO0MyFf4.js} +1 -1
  93. package/dist/p-DUojHltk.js +1 -0
  94. package/dist/p-VJAcf53T.js +1 -0
  95. package/dist/p-_SIWct9h.js +1 -0
  96. package/dist/{p-5VIPb1eU.js → p-pSb81aE0.js} +1 -1
  97. package/dist/{p-C7ifjRCE.js → p-ub0GuVHb.js} +1 -1
  98. package/dist/types/components/html/GidsBasicTableBody/GidsBasicTableBody.d.ts +6 -0
  99. package/dist/types/components/html/GidsBasicTableCell/GidsBasicTableCell.d.ts +4 -0
  100. package/dist/types/components/html/GidsBasicTableHead/GidsBasicTableHead.d.ts +11 -0
  101. package/dist/types/components/html/GidsBasicTableHeader/GidsBasicTableHeader.d.ts +4 -0
  102. package/dist/types/components/html/GidsBasicTableRow/GidsBasicTableRow.d.ts +4 -0
  103. package/dist/types/components/html/GidsBsTable/GidsBsTable.d.ts +11 -0
  104. package/dist/types/components/webComponents/GidsActionBar/GidsActionBar.d.ts +15 -2
  105. package/dist/types/components/webComponents/GidsExpansion/GidsExpansion.d.ts +24 -0
  106. package/dist/types/components/webComponents/GidsExpansionBodyList/GidsExpansionBodyList.d.ts +25 -0
  107. package/dist/types/components/webComponents/GidsExpansionBodyListItem/GidsExpansionBodyListItem.d.ts +38 -0
  108. package/dist/types/components/webComponents/GidsExpansionGroup/GidsExpansionGroup.d.ts +4 -0
  109. package/dist/types/components/webComponents/GidsFilter/GidsFilter.d.ts +5 -0
  110. package/dist/types/components/webComponents/GidsMdTable/GidsMdTable.d.ts +40 -0
  111. package/dist/types/components.d.ts +323 -6
  112. package/dist-bundled/es/gids-action-bar.js +168 -126
  113. package/dist-bundled/es/gids-activity-gauge.js +4 -4
  114. package/dist-bundled/es/gids-bar-chart.js +3 -3
  115. package/dist-bundled/es/gids-calendar-header-panel.js +4 -4
  116. package/dist-bundled/es/gids-calendar-month-list.js +1 -1
  117. package/dist-bundled/es/gids-calendar-year-list.js +3 -3
  118. package/dist-bundled/es/gids-calendar.js +7 -7
  119. package/dist-bundled/es/gids-chart-legend-item.js +1 -1
  120. package/dist-bundled/es/gids-chart-legend.js +4 -4
  121. package/dist-bundled/es/gids-chart.js +50 -50
  122. package/dist-bundled/es/gids-chevron-button.js +7 -7
  123. package/dist-bundled/es/gids-dot.js +3 -3
  124. package/dist-bundled/es/gids-dropdown-field.js +4 -4
  125. package/dist-bundled/es/gids-dropdown-picker.js +2 -2
  126. package/dist-bundled/es/gids-dropdown.js +1 -1
  127. package/dist-bundled/es/gids-expansion-body-list-item.js +6 -0
  128. package/dist-bundled/es/gids-expansion-body-list.js +78 -0
  129. package/dist-bundled/es/gids-expansion-group.js +28 -0
  130. package/dist-bundled/es/gids-expansion.js +90 -0
  131. package/dist-bundled/es/gids-field.js +1 -1
  132. package/dist-bundled/es/gids-filter.js +4 -4
  133. package/dist-bundled/es/gids-icon.js +3 -3
  134. package/dist-bundled/es/gids-input.js +3 -3
  135. package/dist-bundled/es/gids-line-chart.js +4 -4
  136. package/dist-bundled/es/gids-md-table.js +165 -0
  137. package/dist-bundled/es/gids-overflow-container.js +6 -6
  138. package/dist-bundled/es/gids-overlay-provider.js +1 -1
  139. package/dist-bundled/es/gids-password-field.js +18 -18
  140. package/dist-bundled/es/gids-pie-chart.js +4 -4
  141. package/dist-bundled/es/gids-popover.js +1 -1
  142. package/dist-bundled/es/gids-scrim.js +7 -7
  143. package/dist-bundled/es/gids-tab-item.js +6 -6
  144. package/dist-bundled/es/gids-tab.js +6 -6
  145. package/dist-bundled/es/gids-text-field.js +12 -12
  146. package/dist-bundled/es/gids-toggle-button.js +1 -1
  147. package/dist-bundled/es/gids-tooltip.js +4 -4
  148. package/dist-bundled/es/{p-Jdpe4Sgj-acwaxLtK.js → p-6APCjBEI-roDSyEYu.js} +5 -5
  149. package/dist-bundled/es/{p-qb1aWgjh-CzmMPIME.js → p-BCVFQSjK-CKrYrI4b.js} +5 -5
  150. package/dist-bundled/es/{p-Ciw-O9qN-DkWfirFu.js → p-BSbOhfLZ-ByjjVMqG.js} +7 -7
  151. package/dist-bundled/es/{p-Doi8Yizl-BszWK5Dq.js → p-BVAtja26-Xjd4_b4e.js} +5 -5
  152. package/dist-bundled/es/{p-8tOn5SjU-D9rZ28cf.js → p-C2O_pGky-C_30AJ3m.js} +7 -7
  153. package/dist-bundled/es/{p-BfnzH6wp-BfLC7Nak.js → p-C3We7Q8Q-DT_NDg87.js} +2 -2
  154. package/dist-bundled/es/{p-DiNad9Px-uOCMHqAq.js → p-C3w3wdCt-I6zwuecb.js} +24 -37
  155. package/dist-bundled/es/{p-BYDimyG--DBCLrqDJ.js → p-C3xv7tfs-RodXvmql.js} +3 -3
  156. package/dist-bundled/es/{p-DoPuGtJd-DYlbhh57.js → p-C56G7JRy-B3HO4aVF.js} +2 -2
  157. package/dist-bundled/es/{p-xITwQAMz-BMXjOAAQ.js → p-CI-sN9Lr-DHC9DyS8.js} +19 -18
  158. package/dist-bundled/es/{p-B1Jgtjhu-B_VYp-ZP.js → p-COHuQEfZ-C_POuXNC.js} +9 -9
  159. package/dist-bundled/es/p-ChV9xqsO-CJSPCx6p.js +16 -0
  160. package/dist-bundled/es/{p-C-cUL-aA-2jsvw-Lr.js → p-Chqeexny-C4hlPbBP.js} +11 -11
  161. package/dist-bundled/es/{p-bPPm7cuw-B-dtPJF9.js → p-DO0MyFf4-D7XItX1k.js} +5 -5
  162. package/dist-bundled/es/p-DUojHltk-GyvsWoCM.js +172 -0
  163. package/dist-bundled/es/p-VJAcf53T-2X0vBJ1A.js +106 -0
  164. package/dist-bundled/es/{p-Bj28yqMD-Dz1SWSqM.js → p-_SIWct9h-jMYFZ-VO.js} +4 -4
  165. package/dist-bundled/es/{p-5VIPb1eU-MCAo8JCp.js → p-pSb81aE0-CNrq7SQW.js} +2 -2
  166. package/dist-bundled/es/{p-C7ifjRCE-CRlorwoN.js → p-ub0GuVHb-C_PFTi1_.js} +9 -9
  167. package/dist-bundled/umd/gids-action-bar.umd.js +3 -3
  168. package/dist-bundled/umd/gids-activity-gauge.umd.js +1 -1
  169. package/dist-bundled/umd/gids-bar-chart.umd.js +1 -1
  170. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +1 -1
  171. package/dist-bundled/umd/gids-calendar-month-list.umd.js +1 -1
  172. package/dist-bundled/umd/gids-calendar-year-list.umd.js +2 -2
  173. package/dist-bundled/umd/gids-calendar.umd.js +1 -1
  174. package/dist-bundled/umd/gids-chart-legend-item.umd.js +1 -1
  175. package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
  176. package/dist-bundled/umd/gids-chart.umd.js +2 -2
  177. package/dist-bundled/umd/gids-chevron-button.umd.js +1 -1
  178. package/dist-bundled/umd/gids-dot.umd.js +1 -1
  179. package/dist-bundled/umd/gids-dropdown-field.umd.js +2 -2
  180. package/dist-bundled/umd/gids-dropdown-picker.umd.js +1 -1
  181. package/dist-bundled/umd/gids-dropdown.umd.js +2 -2
  182. package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +5 -0
  183. package/dist-bundled/umd/gids-expansion-body-list.umd.js +5 -0
  184. package/dist-bundled/umd/gids-expansion-group.umd.js +5 -0
  185. package/dist-bundled/umd/gids-expansion.umd.js +5 -0
  186. package/dist-bundled/umd/gids-field.umd.js +1 -1
  187. package/dist-bundled/umd/gids-filter.umd.js +3 -3
  188. package/dist-bundled/umd/gids-icon.umd.js +1 -1
  189. package/dist-bundled/umd/gids-input.umd.js +2 -2
  190. package/dist-bundled/umd/gids-line-chart.umd.js +1 -1
  191. package/dist-bundled/umd/gids-md-table.umd.js +5 -0
  192. package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
  193. package/dist-bundled/umd/gids-overlay-provider.umd.js +1 -1
  194. package/dist-bundled/umd/gids-password-field.umd.js +1 -1
  195. package/dist-bundled/umd/gids-pie-chart.umd.js +2 -2
  196. package/dist-bundled/umd/gids-popover.umd.js +1 -1
  197. package/dist-bundled/umd/gids-scrim.umd.js +1 -1
  198. package/dist-bundled/umd/gids-tab-item.umd.js +2 -2
  199. package/dist-bundled/umd/gids-tab.umd.js +2 -2
  200. package/dist-bundled/umd/gids-text-field.umd.js +2 -2
  201. package/dist-bundled/umd/gids-toggle-button.umd.js +2 -2
  202. package/dist-bundled/umd/gids-tooltip.umd.js +1 -1
  203. package/dist-bundled/umd-complete/gids-core-web.umd.js +9 -9
  204. package/package.json +44 -4
  205. package/dist/p-Bj28yqMD.js +0 -1
  206. package/dist/p-DiNad9Px.js +0 -1
  207. package/dist/p-qrjEbv6g.js +0 -1
  208. package/dist/p-xITwQAMz.js +0 -1
  209. package/dist-bundled/es/p-qrjEbv6g-ITSp3ky_.js +0 -152
@@ -1,5 +1,5 @@
1
- (function($,V){typeof exports=="object"&&typeof module<"u"?V(exports):typeof define=="function"&&define.amd?define(["exports"],V):($=typeof globalThis<"u"?globalThis:$||self,V($.gidsCoreWebGidsDropdown={}))})(this,(function($){"use strict";function V(e,t,n){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const i=Object.getOwnPropertyDescriptor(e,t);if(i&&(!n||i.get))return i;e=Object.getPrototypeOf(e)}}var M,lt=(e,t)=>{var n;Object.entries((n=t.o.t)!=null?n:{}).map((([s,[i]])=>{if(31&i||32&i){const o=e[s],r=V(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);r&&Object.defineProperty(e,s,{get(){return r.get.call(this)},set(a){r.set.call(this,a)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):o!==void 0&&(e[s]=o)}}))},O=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},Se=(e,t)=>t in e,T=(e,t)=>(0,console.error)(e,t),q=new Map,we="http://www.w3.org/1999/xlink",rt=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],E=typeof window<"u"?window:{},Ee=E.HTMLElement||class{},I={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},at=(()=>{var e;let t=!1;try{(e=E.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),ee=(()=>{try{return!!E.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),te=!!ee&&!!E.document&&Object.getOwnPropertyDescriptor(E.document.adoptedStyleSheets,"length").writable,se=!1,xe=[],Ce=[],dt=(e,t)=>n=>{e.push(n),se||(se=!0,4&I.i?ie(ne):I.raf(ne))},Ie=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){T(n)}e.length=0},ne=()=>{Ie(xe),Ie(Ce),(se=xe.length>0)&&I.raf(ne)},ie=e=>Promise.resolve(void 0).then(e),ct=dt(Ce);function ut(){const e=this.attachShadow({mode:"open"});M===void 0&&(M=null),M&&(te?e.adoptedStyleSheets.push(M):e.adoptedStyleSheets=[...e.adoptedStyleSheets,M])}var _e=e=>{const t=le(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&oe(t,e.tagName).forEach((s=>{s.nodeType===1&&s.tagName==="SLOT-FB"&&(s.hidden=!!ht(s,B(s),!1).length)}));let n=0;for(n=0;n<t.length;n++){const s=t[n];s.nodeType===1&&le(s,"childNodes").length&&_e(s)}};function oe(e,t,n){let s,i=0,o=[];for(;i<e.length;i++){if(s=e[i],s["s-sr"]&&(!t||s["s-hn"]===t)&&(n===void 0||B(s)===n)&&(o.push(s),n!==void 0))return o;o=[...o,...oe(s.childNodes,t,n)]}return o}var ht=(e,t,n=!0)=>{const s=[];(n&&e["s-sr"]||!e["s-sr"])&&s.push(e);let i=e;for(;i=i.nextSibling;)B(i)!==t||!n&&i["s-sr"]||s.push(i);return s},ke=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",B=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function le(e,t){if("__"+t in e){const n=e["__"+t];return typeof n!="function"?n:n.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var re,F,D=new WeakMap,Ae=e=>"sc-"+e.p,ae=e=>(e=typeof e)=="object"||e==="function",w=(e,t,...n)=>{let s=null,i=null,o=null,r=!1,a=!1;const l=[],c=d=>{for(let h=0;h<d.length;h++)s=d[h],Array.isArray(s)?c(s):s!=null&&typeof s!="boolean"&&((r=typeof e!="function"&&!ae(s))&&(s=String(s)),r&&a?l[l.length-1].h+=s:l.push(r?W(null,s):s),a=r)};if(c(n),t){t.key&&(i=t.key),t.name&&(o=t.name);{const d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter((h=>d[h])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,l,pt);const u=W(e,null);return u.v=t,l.length>0&&(u.m=l),u.$=i,u.j=o,u},W=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),ft={},pt={forEach:(e,t)=>e.map(Ne).forEach(t),map:(e,t)=>e.map(Ne).map(t).map(mt)},Ne=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),mt=e=>{if(typeof e.vtag=="function"){const n={...e.vattrs};return e.vkey&&(n.key=e.vkey),e.vname&&(n.name=e.vname),w(e.vtag,n,...e.vchildren||[])}const t=W(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Le=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let n=!1;for(const i of t){if(n)break;for(const o of e[i])if(typeof o=="string"){n=!0;break}}if(!n)return e;const s={};for(const i of t)s[i]=e[i].map((o=>typeof o=="string"?{[o]:0}:o));return s},Oe=(e,t,n)=>e==null||ae(e)?e:4&t?(n&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,gt=(e,t,n)=>{const s=I.ce(t,n);return e.dispatchEvent(s),s},Pe=(e,t,n,s,i,o)=>{if(n===s)return;let r=Se(e,t),a=t.toLowerCase();if(t==="class"){const l=e.classList,c=De(n);let u=De(s);l.remove(...c.filter((d=>d&&!u.includes(d)))),l.add(...u.filter((d=>d&&!c.includes(d))))}else if(t==="style"){for(const l in n)s&&s[l]!=null||(l.includes("-")?e.style.removeProperty(l):e.style[l]="");for(const l in s)n&&s[l]===n[l]||(l.includes("-")?e.style.setProperty(l,s[l]):e.style[l]=s[l])}else if(t!=="key"){if(t==="ref")s&&bt(s,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const l=t.slice(5);let c;{const u=O(e);if(u&&u.o&&u.o.t){const d=u.o.t[l];d&&d[1]&&(c=d[1])}}return c||(c=l.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(s==null||s===!1?s===!1&&e.getAttribute(c)!==""||e.removeAttribute(c):e.setAttribute(c,s===!0?"":s))}if(t[0]==="p"&&t.startsWith("prop:")){const l=t.slice(5);try{e[l]=s}catch{}return}{const l=ae(s);if((r||l&&s!==null)&&!i)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const u=s??"";t==="list"?r=!1:n!=null&&e[t]===u||(typeof e.__lookupSetter__(t)=="function"?e[t]=u:e.setAttribute(t,u))}}catch{}let c=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,c=!0),s==null||s===!1?s===!1&&e.getAttribute(t)!==""||(c?e.removeAttributeNS(we,t):e.removeAttribute(t)):(!r||4&o||i)&&!l&&e.nodeType===1&&(s=s===!0?"":s,c?e.setAttributeNS(we,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):Se(E,a)?a.slice(2):a[2]+t.slice(3),n||s){const l=t.endsWith($e);t=t.replace(yt,""),n&&I.rel(e,t,n,l),s&&I.ael(e,t,s,l)}}},vt=/\s/,De=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(vt):[]),$e="Capture",yt=new RegExp($e+"$"),de=(e,t,n)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,i=e&&e.v||{},o=t.v||{};for(const r of Te(Object.keys(i)))r in o||Pe(s,r,i[r],void 0,n,t.i);for(const r of Te(Object.keys(o)))Pe(s,r,i[r],o[r],n,t.i)};function Te(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var R=!1,K=!1,U=!1,_=!1,ce=[],ue=[],z=(e,t,n)=>{var s;const i=t.m[n];let o,r,a,l=0;if(R||(U=!0,i.O==="slot"&&(i.i|=i.m?2:1)),i.h!=null)o=i.S=E.document.createTextNode(i.h);else if(1&i.i)o=i.S=E.document.createTextNode(""),de(null,i,_);else{if(_||(_=i.O==="svg"),!E.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(o=i.S=E.document.createElementNS(_?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!R&&2&i.i?"slot-fb":i.O),_&&i.O==="foreignObject"&&(_=!1),de(null,i,_),i.m){const c=i.O==="template"?o.content:o;for(l=0;l<i.m.length;++l)r=z(e,i,l),r&&c.appendChild(r)}i.O==="svg"?_=!1:o.tagName==="foreignObject"&&(_=!0)}return o["s-hn"]=F,3&i.i&&(o["s-sr"]=!0,o["s-cr"]=re,o["s-sn"]=i.j||"",o["s-rf"]=(s=i.v)==null?void 0:s.ref,(function(c){if(c.assignedElements||c.assignedNodes||!c["s-sr"])return;const u=d=>(function(h){const p=[],f=this["s-sn"];h?.flatten&&console.error(`
1
+ (function($,V){typeof exports=="object"&&typeof module<"u"?V(exports):typeof define=="function"&&define.amd?define(["exports"],V):($=typeof globalThis<"u"?globalThis:$||self,V($.gidsCoreWebGidsDropdown={}))})(this,(function($){"use strict";function V(e,t,n){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const i=Object.getOwnPropertyDescriptor(e,t);if(i&&(!n||i.get))return i;e=Object.getPrototypeOf(e)}}var M,lt=(e,t)=>{var n;Object.entries((n=t.o.t)!=null?n:{}).map((([s,[i]])=>{if(31&i||32&i){const o=e[s],r=V(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);r&&Object.defineProperty(e,s,{get(){return r.get.call(this)},set(a){r.set.call(this,a)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):o!==void 0&&(e[s]=o)}}))},O=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},Se=(e,t)=>t in e,T=(e,t)=>(0,console.error)(e,t),q=new Map,we="http://www.w3.org/1999/xlink",rt=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],E=typeof window<"u"?window:{},Ee=E.HTMLElement||class{},I={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},at=(()=>{var e;let t=!1;try{(e=E.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),ee=(()=>{try{return!!E.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),te=!!ee&&!!E.document&&Object.getOwnPropertyDescriptor(E.document.adoptedStyleSheets,"length").writable,se=!1,xe=[],Ce=[],dt=(e,t)=>n=>{e.push(n),se||(se=!0,4&I.i?ie(ne):I.raf(ne))},Ie=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){T(n)}e.length=0},ne=()=>{Ie(xe),Ie(Ce),(se=xe.length>0)&&I.raf(ne)},ie=e=>Promise.resolve(void 0).then(e),ct=dt(Ce);function ht(){const e=this.attachShadow({mode:"open"});M===void 0&&(M=null),M&&(te?e.adoptedStyleSheets.push(M):e.adoptedStyleSheets=[...e.adoptedStyleSheets,M])}var ke=e=>{const t=le(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&oe(t,e.tagName).forEach((s=>{s.nodeType===1&&s.tagName==="SLOT-FB"&&(s.hidden=!!ut(s,B(s),!1).length)}));let n=0;for(n=0;n<t.length;n++){const s=t[n];s.nodeType===1&&le(s,"childNodes").length&&ke(s)}};function oe(e,t,n){let s,i=0,o=[];for(;i<e.length;i++){if(s=e[i],s["s-sr"]&&(!t||s["s-hn"]===t)&&(n===void 0||B(s)===n)&&(o.push(s),n!==void 0))return o;o=[...o,...oe(s.childNodes,t,n)]}return o}var ut=(e,t,n=!0)=>{const s=[];(n&&e["s-sr"]||!e["s-sr"])&&s.push(e);let i=e;for(;i=i.nextSibling;)B(i)!==t||!n&&i["s-sr"]||s.push(i);return s},_e=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",B=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function le(e,t){if("__"+t in e){const n=e["__"+t];return typeof n!="function"?n:n.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var re,F,D=new WeakMap,Ae=e=>"sc-"+e.p,ae=e=>(e=typeof e)=="object"||e==="function",w=(e,t,...n)=>{let s=null,i=null,o=null,r=!1,a=!1;const l=[],c=d=>{for(let u=0;u<d.length;u++)s=d[u],Array.isArray(s)?c(s):s!=null&&typeof s!="boolean"&&((r=typeof e!="function"&&!ae(s))&&(s=String(s)),r&&a?l[l.length-1].h+=s:l.push(r?W(null,s):s),a=r)};if(c(n),t){t.key&&(i=t.key),t.name&&(o=t.name);{const d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter((u=>d[u])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,l,pt);const h=W(e,null);return h.v=t,l.length>0&&(h.m=l),h.$=i,h.j=o,h},W=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),ft={},pt={forEach:(e,t)=>e.map(Ne).forEach(t),map:(e,t)=>e.map(Ne).map(t).map(mt)},Ne=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),mt=e=>{if(typeof e.vtag=="function"){const n={...e.vattrs};return e.vkey&&(n.key=e.vkey),e.vname&&(n.name=e.vname),w(e.vtag,n,...e.vchildren||[])}const t=W(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Le=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let n=!1;for(const i of t){if(n)break;for(const o of e[i])if(typeof o=="string"){n=!0;break}}if(!n)return e;const s={};for(const i of t)s[i]=e[i].map((o=>typeof o=="string"?{[o]:0}:o));return s},Oe=(e,t,n)=>e==null||ae(e)?e:4&t?(n&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,gt=(e,t,n)=>{const s=I.ce(t,n);return e.dispatchEvent(s),s},Pe=(e,t,n,s,i,o)=>{if(n===s)return;let r=Se(e,t),a=t.toLowerCase();if(t==="class"){const l=e.classList,c=De(n);let h=De(s);l.remove(...c.filter((d=>d&&!h.includes(d)))),l.add(...h.filter((d=>d&&!c.includes(d))))}else if(t==="style"){for(const l in n)s&&s[l]!=null||(l.includes("-")?e.style.removeProperty(l):e.style[l]="");for(const l in s)n&&s[l]===n[l]||(l.includes("-")?e.style.setProperty(l,s[l]):e.style[l]=s[l])}else if(t!=="key"){if(t==="ref")s&&bt(s,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const l=t.slice(5);let c;{const h=O(e);if(h&&h.o&&h.o.t){const d=h.o.t[l];d&&d[1]&&(c=d[1])}}return c||(c=l.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(s==null||s===!1?s===!1&&e.getAttribute(c)!==""||e.removeAttribute(c):e.setAttribute(c,s===!0?"":s))}if(t[0]==="p"&&t.startsWith("prop:")){const l=t.slice(5);try{e[l]=s}catch{}return}{const l=ae(s);if((r||l&&s!==null)&&!i)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const h=s??"";t==="list"?r=!1:n!=null&&e[t]===h||(typeof e.__lookupSetter__(t)=="function"?e[t]=h:e.setAttribute(t,h))}}catch{}let c=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,c=!0),s==null||s===!1?s===!1&&e.getAttribute(t)!==""||(c?e.removeAttributeNS(we,t):e.removeAttribute(t)):(!r||4&o||i)&&!l&&e.nodeType===1&&(s=s===!0?"":s,c?e.setAttributeNS(we,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):Se(E,a)?a.slice(2):a[2]+t.slice(3),n||s){const l=t.endsWith($e);t=t.replace(yt,""),n&&I.rel(e,t,n,l),s&&I.ael(e,t,s,l)}}},vt=/\s/,De=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(vt):[]),$e="Capture",yt=new RegExp($e+"$"),de=(e,t,n)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,i=e&&e.v||{},o=t.v||{};for(const r of Te(Object.keys(i)))r in o||Pe(s,r,i[r],void 0,n,t.i);for(const r of Te(Object.keys(o)))Pe(s,r,i[r],o[r],n,t.i)};function Te(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var R=!1,K=!1,U=!1,k=!1,ce=[],he=[],z=(e,t,n)=>{var s;const i=t.m[n];let o,r,a,l=0;if(R||(U=!0,i.O==="slot"&&(i.i|=i.m?2:1)),i.h!=null)o=i.S=E.document.createTextNode(i.h);else if(1&i.i)o=i.S=E.document.createTextNode(""),de(null,i,k);else{if(k||(k=i.O==="svg"),!E.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(o=i.S=E.document.createElementNS(k?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!R&&2&i.i?"slot-fb":i.O),k&&i.O==="foreignObject"&&(k=!1),de(null,i,k),i.m){const c=i.O==="template"?o.content:o;for(l=0;l<i.m.length;++l)r=z(e,i,l),r&&c.appendChild(r)}i.O==="svg"?k=!1:o.tagName==="foreignObject"&&(k=!0)}return o["s-hn"]=F,3&i.i&&(o["s-sr"]=!0,o["s-cr"]=re,o["s-sn"]=i.j||"",o["s-rf"]=(s=i.v)==null?void 0:s.ref,(function(c){if(c.assignedElements||c.assignedNodes||!c["s-sr"])return;const h=d=>(function(u){const p=[],f=this["s-sn"];u?.flatten&&console.error(`
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:(b=>{const v=[];for(let g=0;g<b.length;g++){const m=b[g]["s-nr"]||void 0;m&&m.isConnected&&v.push(m)}return v})(S.childNodes)).forEach((b=>{f===B(b)&&p.push(b)})),d?p.filter((b=>b.nodeType===1)):p}).bind(c);c.assignedElements=u(!0),c.assignedNodes=u(!1)})(o),a=e&&e.m&&e.m[n],a&&a.O===i.O&&e.S&&Fe(e.S)),o},Fe=e=>{I.i|=1;const t=e.closest(F.toLowerCase());if(t!=null){const n=Array.from(t.__childNodes||t.childNodes).find((i=>i["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const i of n?s.reverse():s)i["s-sh"]!=null&&(N(t,i,n??null),i["s-sh"]=void 0,U=!0)}I.i&=-2},Y=(e,t)=>{I.i|=1;const n=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"]===F&&n.push(s)}for(let s=n.length-1;s>=0;s--){const i=n[s];i["s-hn"]!==F&&i["s-ol"]&&(N(G(i).parentNode,i,G(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,U=!0),t&&Y(i,t)}I.i&=-2},Ve=(e,t,n,s,i,o)=>{let r,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===F&&(a=a.shadowRoot),n.O==="template"&&(a=a.content);i<=o;++i)s[i]&&(r=z(null,n,i),r&&(s[i].S=r,N(a,r,G(t))))},je=(e,t,n)=>{for(let s=t;s<=n;++s){const i=e[s];if(i){const o=i.S;Be(i),o&&(K=!0,o["s-ol"]?o["s-ol"].remove():Y(o,!0),o.remove())}}},J=(e,t,n=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:n?(n&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),G=e=>e&&e["s-ol"]||e,j=(e,t,n=!1)=>{const s=t.S=e.S,i=e.m,o=t.m,r=t.O,a=t.h;let l;a==null?(_=r==="svg"||r!=="foreignObject"&&_,r!=="slot"||R||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Fe(t.S.parentElement)),de(e,t,_),i!==null&&o!==null?((c,u,d,h,p=!1)=>{let f,S,b=0,v=0,g=0,m=0,C=u.length-1,y=u[0],x=u[C],k=h.length-1,A=h[0],L=h[k];const ot=d.O==="template"?c.content:c;for(;b<=C&&v<=k;)if(y==null)y=u[++b];else if(x==null)x=u[--C];else if(A==null)A=h[++v];else if(L==null)L=h[--k];else if(J(y,A,p))j(y,A,p),y=u[++b],A=h[++v];else if(J(x,L,p))j(x,L,p),x=u[--C],L=h[--k];else if(J(y,L,p))y.O!=="slot"&&L.O!=="slot"||Y(y.S.parentNode,!1),j(y,L,p),N(ot,y.S,x.S.nextSibling),y=u[++b],L=h[--k];else if(J(x,A,p))y.O!=="slot"&&L.O!=="slot"||Y(x.S.parentNode,!1),j(x,A,p),N(ot,x.S,y.S),x=u[--C],A=h[++v];else{for(g=-1,m=b;m<=C;++m)if(u[m]&&u[m].$!==null&&u[m].$===A.$){g=m;break}g>=0?(S=u[g],S.O!==A.O?f=z(u&&u[v],d,g):(j(S,A,p),u[g]=void 0,f=S.S),A=h[++v]):(f=z(u&&u[v],d,v),A=h[++v]),f&&N(G(y.S).parentNode,f,G(y.S))}b>C?Ve(c,h[k+1]==null?null:h[k+1].S,d,h,v,k):v>k&&je(u,b,C)})(s,i,t,o,n):o!==null?(e.h!==null&&(s.textContent=""),Ve(s,null,t,o,0,o.length-1)):!n&&i!==null&&je(i,0,i.length-1),_&&r==="svg"&&(_=!1)):(l=s["s-cr"])?l.parentNode.textContent=a:e.h!==a&&(s.data=a)},P=[],Me=e=>{let t,n,s;const i=e.__childNodes||e.childNodes;for(const o of i){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const r=o["s-sn"];for(s=n.length-1;s>=0;s--)if(t=n[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===o["s-hn"]||t["s-sh"]&&t["s-sh"]===o["s-hn"]))if(ke(t,r)){let a=P.find((l=>l.k===t));K=!0,t["s-sn"]=t["s-sn"]||r,a?(a.k["s-sh"]=o["s-hn"],a.N=o):(t["s-sh"]=o["s-hn"],P.push({N:o,k:t})),t["s-sr"]&&P.map((l=>{ke(l.k,t["s-sn"])&&(a=P.find((c=>c.k===t)),a&&!l.N&&(l.N=a.N))}))}else P.some((a=>a.k===t))||P.push({k:t})}o.nodeType===1&&Me(o)}},Be=e=>{e.v&&e.v.ref&&ce.push((()=>e.v.ref(null))),e.m&&e.m.map(Be)},bt=(e,t)=>{ue.push((()=>e(t)))},N=(e,t,n,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,n);const{slotNode:i}=(function(o,r){var a;if(!(r=r||((a=o["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const l=o["s-sn"]=B(o)||"";return{slotNode:oe(le(r,"childNodes"),r.tagName,l)[0],slotName:l}})(t);return i&&!s&&i.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,n):e?.insertBefore(t,n)},St=(e,t,n=!1)=>{var s,i,o,r,a;const l=e.$hostElement$,c=e.o,u=e.M||W(null,null);var d;const h=(d=t)&&d.O===ft?t:w(null,null,t);if(F=l.tagName,c.C&&(h.v=h.v||{},c.C.forEach((([p,f])=>{h.v[f]=l[p]}))),n&&h.v)for(const p of Object.keys(h.v))l.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(h.v[p]=l[p]);if(h.O=null,h.i|=4,e.M=h,h.S=u.S=l.shadowRoot||l,R=!(!(1&c.i)||128&c.i),re=l["s-cr"],K=!1,j(u,h,n),I.i|=1,U){Me(h.S);for(const p of P){const f=p.k;if(!f["s-ol"]&&E.document){const S=E.document.createTextNode("");S["s-nr"]=f,N(f.parentNode,f["s-ol"]=S,f,n)}}for(const p of P){const f=p.k,S=p.N;if(f.nodeType===1&&n&&(f["s-ih"]=(s=f.hidden)!=null&&s),S){const b=S.parentNode;let v=S.nextSibling;if(v&&v.nodeType===1){let g=(i=f["s-ol"])==null?void 0:i.previousSibling;for(;g;){let m=(o=g["s-nr"])!=null?o:null;if(m&&m["s-sn"]===f["s-sn"]&&b===(m.__parentNode||m.parentNode)){for(m=m.nextSibling;m===f||m?.["s-sr"];)m=m?.nextSibling;if(!m||!m["s-nr"]){v=m;break}}g=g.previousSibling}}if((!v&&b!==(f.__parentNode||f.parentNode)||(f.__nextSibling||f.nextSibling)!==v)&&f!==v){if(N(b,f,v,n),f.nodeType===8&&f.nodeValue.startsWith("s-nt-")){const g=E.document.createTextNode(f.nodeValue.replace(/^s-nt-/,""));g["s-hn"]=f["s-hn"],g["s-sn"]=f["s-sn"],g["s-sh"]=f["s-sh"],g["s-sr"]=f["s-sr"],g["s-ol"]=f["s-ol"],g["s-ol"]["s-nr"]=g,N(f.parentNode,g,f,n),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(K&&_e(h.S),I.i&=-2,P.length=0,!R&&!(1&c.i)&&l["s-cr"]){const p=h.S.__childNodes||h.S.childNodes;for(const f of p)if(f["s-hn"]!==F&&!f["s-sh"]){if(n&&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=E.document.createComment("s-nt-"+f.nodeValue);S["s-sn"]=f["s-sn"],N(f.parentNode,S,f,n),f.parentNode.removeChild(f)}}}re=void 0,ce.forEach((p=>p())),ce.length=0,ue.forEach((p=>p())),ue.length=0},Re=(e,t)=>{if(t&&!e.A&&t["s-p"]){const n=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(n-1,1),s()})))}},he=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Re(e,e.R);const n=()=>wt(e,t);if(!t)return ct(n);queueMicrotask((()=>{n()}))},wt=(e,t)=>{const n=e.$hostElement$,s=n;if(!s)throw new Error(`Can't render component <${n.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 i;return i=H(s,t?"componentWillLoad":"componentWillUpdate",void 0,n),i=Ge(i,(()=>H(s,"componentWillRender",void 0,n))),Ge(i,(()=>xt(e,s,t)))},Ge=(e,t)=>Et(e)?e.then(t).catch((n=>{console.error(n),t()})):t(),Et=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",xt=async(e,t,n)=>{var s;const i=e.$hostElement$,o=i["s-rc"];n&&(r=>{const a=r.o,l=r.$hostElement$,c=a.i,u=((d,h)=>{var p,f,S;const b=Ae(h),v=q.get(b);if(!E.document)return b;if(d=d.nodeType===11?d:E.document,v)if(typeof v=="string"){let g,m=D.get(d=d.head||d);if(m||D.set(d,m=new Set),!m.has(b)){g=E.document.createElement("style"),g.textContent=v;const C=(p=I._)!=null?p:(function(){var y,x,k;return(k=(x=(y=E.document.head)==null?void 0:y.querySelector('meta[name="csp-nonce"]'))==null?void 0:x.getAttribute("content"))!=null?k:void 0})();if(C!=null&&g.setAttribute("nonce",C),!(1&h.i))if(d.nodeName==="HEAD"){const y=d.querySelectorAll("link[rel=preconnect]"),x=y.length>0?y[y.length-1].nextSibling:d.querySelector("style");d.insertBefore(g,x?.parentNode===d?x:null)}else if("host"in d)if(ee){const y=new((f=d.defaultView)!=null?f:d.ownerDocument.defaultView).CSSStyleSheet;y.replaceSync(v),te?d.adoptedStyleSheets.unshift(y):d.adoptedStyleSheets=[y,...d.adoptedStyleSheets]}else{const y=d.querySelector("style");y?y.textContent=v+y.textContent:d.prepend(g)}else d.append(g);1&h.i&&d.insertBefore(g,null),4&h.i&&(g.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),m&&m.add(b)}}else{let g=D.get(d);if(g||D.set(d,g=new Set),!g.has(b)){const m=(S=d.defaultView)!=null?S:d.ownerDocument.defaultView;let C;if(v.constructor===m.CSSStyleSheet)C=v;else{C=new m.CSSStyleSheet;for(let y=0;y<v.cssRules.length;y++)C.insertRule(v.cssRules[y].cssText,y)}te?d.adoptedStyleSheets.push(C):d.adoptedStyleSheets=[...d.adoptedStyleSheets,C],g.add(b)}}return b})(l.shadowRoot?l.shadowRoot:l.getRootNode(),a);10&c&&(l["s-sc"]=u,l.classList.add(u+"-h"))})(e),Ct(e,t,i,n),o&&(o.map((r=>r())),i["s-rc"]=void 0);{const r=(s=i["s-p"])!=null?s:[],a=()=>It(e);r.length===0?a():(Promise.all(r).then(a).catch(a),e.i|=4,r.length=0)}},Ct=(e,t,n,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,St(e,t,s)}catch(i){T(i,e.$hostElement$)}return null},It=e=>{const t=e.$hostElement$,n=t,s=e.R;H(n,"componentDidRender",void 0,t),64&e.i?H(n,"componentDidUpdate",void 0,t):(e.i|=64,kt(t),H(n,"componentDidLoad",void 0,t),e.L(t),s||_t()),e.A&&(e.A(),e.A=void 0),512&e.i&&ie((()=>he(e,!1))),e.i&=-517},_t=()=>{ie((()=>gt(E,"appload",{detail:{namespace:"gids-core-web"}})))},H=(e,t,n,s)=>{if(e&&e[t])try{return e[t](n)}catch(i){T(i,s)}},kt=e=>e.classList.add("hydrated"),He=(e,t,n,s)=>{const i=O(e);if(!i)return;const o=e,r=i.l.get(t),a=i.i,l=o;n=Oe(n,s.t[t][0],!!(64&s.i));const c=Number.isNaN(r)&&Number.isNaN(n);if(n!==r&&!c){if(i.l.set(t,n),s.F){const u=s.F[t];u&&u.map((d=>{try{const[[h,p]]=Object.entries(d);(128&a||1&p)&&(l?l[h](n,r,t):i.T.push((()=>{i.D[h](n,r,t)})))}catch(h){T(h,o)}}))}if(2&a){if(l.componentShouldUpdate&&l.componentShouldUpdate(n,r,t)===!1&&!(16&a))return;16&a||he(i,!1)}}},At=(e,t,n)=>{var s,i;const o=e.prototype;64&t.i&&1&n&&rt.forEach((r=>{const a=o[r];Object.defineProperty(o,r,{value(...l){var c;const u=O(this),d=this;d?typeof a=="function"&&a.call(d,...l):(c=u?.H)==null||c.then((h=>{const p=h[r];typeof p=="function"&&p.call(h,...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 r=Object.entries((s=t.t)!=null?s:{});r.map((([a,[l]])=>{if(31&l||32&l){const{get:c,set:u}=V(o,a)||{};c&&(t.t[a][0]|=2048),u&&(t.t[a][0]|=4096),Object.defineProperty(o,a,{get(){return c?c.apply(this):(d=a,O(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(o,a,{set(d){const h=O(this);if(h){if(u)return(32&l?this[a]:h.$hostElement$[a])===void 0&&h.l.get(a)&&(d=h.l.get(a)),u.apply(this,[Oe(d,l,!!(64&t.i))]),void He(this,a,d=32&l?this[a]:h.$hostElement$[a],t);He(this,a,d,t)}}})}}));{const a=new Map;o.attributeChangedCallback=function(l,c,u){I.jmp((()=>{var d;const h=a.get(l),p=O(this);if(this.hasOwnProperty(h),o.hasOwnProperty(h)&&typeof this[h]=="number"&&this[h]==u)return;if(h==null){const g=p?.i;if(p&&g&&!(8&g)&&u!==c){const m=this,C=(d=t.F)==null?void 0:d[l];C?.forEach((y=>{const[[x,k]]=Object.entries(y);m[x]!=null&&(128&g||1&k)&&m[x].call(m,u,c,l)}))}return}const f=r.find((([g])=>g===h)),S=f&&4&f[1][0],b=S&&u===null&&this[h]===void 0;S&&(u=u!==null&&u!=="false");const v=Object.getOwnPropertyDescriptor(o,h);b||u==this[h]||v.get&&!v.set||(this[h]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((i=t.F)!=null?i:{}),...r.filter((([l,c])=>31&c[0])).map((([l,c])=>{var u;const d=c[1]||l;return a.set(d,l),512&c[0]&&((u=t.C)==null||u.push([l,d])),d}))]))}}return e},qe=(e,t)=>{const n={i:t[0],p:t[1]};try{n.t=t[2],n.W=t[3],n.F=Le(e.F),n.P=e.P,n.U=e.U,n.C=[];const s=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((o,r)=>{const a={i:0,$hostElement$:o,o:r,l:new Map,B:new Map};a.H=new Promise((c=>a.L=c)),o["s-p"]=[],o["s-rc"]=[];const l=a;o.__stencil__getHostRef=()=>l,512&r.i&&lt(o,a)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const o=O(this);if(!o)return;We(this,o,n.W),this.__hasHostListenerAttached=!0}(o=>{if(!(1&I.i)){const r=O(o);if(!r)return;const a=r.o;if(1&r.i)We(o,r,a.W),r?.D||r?.H&&r.H.then((()=>{}));else{r.i|=1,12&a.i&&(l=>{if(!E.document)return;const c=l["s-cr"]=E.document.createComment("");c["s-cn"]=!0,N(l,c,l.firstChild)})(o);{let l=o;for(;l=l.parentNode||l.host;)if(l["s-p"]){Re(r,r.R=l);break}}a.t&&Object.entries(a.t).map((([l,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(o,l)){const u=o[l];delete o[l],o[l]=u}})),(async(l,c,u)=>{let d;try{if(!(32&c.i)&&(c.i|=32,d=l.constructor,customElements.whenDefined(l.localName).then((()=>c.i|=128)),d&&d.style)){let f;typeof d.style=="string"&&(f=d.style);const S=Ae(u);q.has(S)||((b,v,g)=>{let m=q.get(b);ee&&g?(m=m||new CSSStyleSheet,typeof m=="string"?m=v:m.replaceSync(v)):m=v,q.set(b,m)})(S,f,!!(1&u.i))}const h=c.R,p=()=>he(c,!0);h&&h["s-rc"]?h["s-rc"].push(p):p()}catch(h){T(h,l),c.A&&(c.A(),c.A=void 0),c.L&&c.L(l)}})(o,r,a)}}})(this),s&&s.call(this)},disconnectedCallback(){(async o=>{if(!(1&I.i)){const r=O(o);r?.V&&(r.V.map((a=>a())),r.V=void 0)}D.has(o)&&D.delete(o),o.shadowRoot&&D.has(o.shadowRoot)&&D.delete(o.shadowRoot)})(this),i&&i.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${n.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else ut.call(this,n)}}),Object.defineProperty(e,"is",{value:n.p,configurable:!0}),At(e,n,3)}catch(s){return T(s),e}},Nt=(e,t)=>t,We=(e,t,n)=>{n&&E.document&&n.map((([s,i,o])=>{const r=Ot(E.document,e,s),a=Lt(t,o),l=Pt(s);I.ael(r,i,a,l),(t.V=t.V||[]).push((()=>I.rel(r,i,a,l)))}))},Lt=(e,t)=>n=>{try{e.$hostElement$[t](n)}catch(s){T(s,e.$hostElement$)}},Ot=(e,t,n)=>8&n?E:t,Pt=e=>at?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function os(e){return e}function Ke(e){var t,n,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Ke(e[t]))&&(s&&(s+=" "),s+=n)}else for(n in e)e[n]&&(s&&(s+=" "),s+=n);return s}function X(){for(var e,t,n=0,s="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Ke(e))&&(s&&(s+=" "),s+=t);return s}const Dt=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:n},s)=>X("gids-spinner-control",{"gids-spinner-control--xs":e==="xs","gids-spinner-control--sm":e==="sm","gids-spinner-control--lg":e==="lg","gids-spinner-control--xl":e==="xl","gids-spinner-control--2xl":e==="2xl","gids-spinner-control--determinate":t===!1},n,s)},Symbol.toStringTag,{value:"Module"})),$t=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>X("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"})),Z=64,Ue=10,ze=Z/2-Ue/2,Tt=Z/2,fe=2*Math.PI*ze,Ft=`0 0 ${Z} ${Z}`,Vt=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const n=typeof t=="number"&&t>0?t:1,i=Math.max(0,Math.min(n,e))/n*100,o=(fe*i/100).toFixed(2),r=(fe-parseFloat(o)).toFixed(2);return`${o} ${r}`},centerPosition:Tt,circumference:fe,radius:ze,thickness:Ue,viewBox:Ft},Symbol.toStringTag,{value:"Module"})),jt=Object.freeze(Object.defineProperty({__proto__:null,getGidsChevronButtonControlClassNames:({size:e},t)=>X("gids-chevron-button-control",{"gids-chevron-button-control--small":e==="sm","gids-chevron-button-control--large":e==="lg"},t),getGidsDropdownClassNames:({expanded:e},t)=>X("gids-dropdown",{"gids-dropdown--expanded":e},t)},Symbol.toStringTag,{value:"Module"})),pe=Symbol("defaultPath"),Ye=Symbol("pathSet"),me="gids-asset-paths-set";class Mt extends EventTarget{#t=new Map;constructor(){super()}#e(t,n){this.#t.set(t,n)}#s(t){return this.#t.get(t)??null}#n=()=>{this.dispatchEvent(new Event(me))};haveAssetPathsBeenSet(){return this.#s(Ye)!==null}setAssetPaths(t,n){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(pe,t);else{for(const s in t)this.#e(s,t[s]);n&&this.#e(pe,n)}this.#e(Ye,"true"),setTimeout(this.#n,0)}}getAssetFilePath(t){const n=this.#s(t);if(n===null){const s=this.#s(pe);if(s!==null)return`${s}${s.endsWith("/")?"":"/"}${t}`}return n}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(me,t,{once:!0}),()=>{this.removeEventListener(me,t)}}}const ge=Symbol.for("GIDS"),Bt=()=>(globalThis[ge]===void 0&&(globalThis[ge]={assetPaths:{}}),globalThis[ge]),Rt=e=>{const t=Bt().assetPaths;return t[e]===void 0&&(t[e]=new Mt),t[e]};function ve(){return Rt("@ganpatiinfo/gids-web-shared")}function Gt(){return ve().haveAssetPathsBeenSet()}function Je(e){return ve().getAssetFilePath(e)}function Ht(e){return ve().onAssetPathsSet(e)}let qt=0;const Wt=(e,t="gids")=>e||`${t}-${qt++}`,Kt=e=>e.type==="hidden",Ut=e=>{if(!(e instanceof HTMLElement))return!1;const{nodeName:t}=e;return!!(["BUTTON","DETAILS","EMBED","IFRAME","KEYGEN","LABEL","SELECT","TEXTAREA"].includes(t)||t==="A"&&e.hasAttribute("href")||e instanceof HTMLInputElement&&!Kt(e)||["AUDIO","VIDEO"].includes(t)&&e.hasAttribute("controls")||["IMG","OBJECT"].includes(t)&&e.hasAttribute("usemap")||e.hasAttribute("tabindex")&&e.tabIndex>-1)},Xe={"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","syncing","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},Ze=new Map;for(const e in Xe)for(const t of Xe[e])Ze.set(t,e);function zt(e){return Ze.get(e)}function Qe(e,t="regular",n){const s=zt(e);let i=s??"";return n&&s&&(i=n(s)??s),`${i}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:Yt}=$t,ye=({name:e,size:t,appearance:n,alt:s,class:i,titleId:o,src:r,...a})=>{const l=Wt(o);let c=r;return c===void 0&&Gt()&&(c=Qe(e,n,Je)),w("svg",{ref:u=>{c===void 0&&Ht((()=>{(function(d,h,p){if(!d)return;const f=document.createElementNS("http://www.w3.org/2000/svg","use");f.setAttribute("href",Qe(h,p,Je)),d.appendChild(f)})(u,e,n)}))},width:"16",height:"16",class:Yt({size:t},i),role:"img","aria-hidden":s===""?"true":void 0,"aria-labelledby":s===""?void 0:l,...a},s!==""&&w("title",{id:l},s||e),c!==void 0?w("use",{href:c}):null)},{getGidsSpinnerControlClassNames:Jt}=Dt,{calculateStrokeDasharray:Xt,thickness:et,radius:tt,centerPosition:Q,viewBox:Zt}=Vt,Qt=({size:e,indeterminate:t,value:n,max:s,...i})=>{let o;return t||(o={strokeDashArray:Xt(n,s||0),strokeDashoffset:"0"}),w("svg",{class:Jt({size:e,indeterminate:t,value:n}),viewBox:Zt,...i},w("circle",{class:"gids-spinner-control__track",cx:Q,cy:Q,r:tt,"stroke-width":et}),w("circle",{style:o,class:"gids-spinner-control__progress",cx:Q,cy:Q,r:tt,"stroke-width":et}))},es=qe(class extends Ee{constructor(e){super(),e!==!1&&this.__registerHost(),this.#e={},this._focusInput=t=>{const n=t.target;n===this.#t||this._isWithinInteractiveElement(n)||this.#t?.focus()},this._handleInputFocusAndBlur=t=>{this._el.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))}}get defaultValue(){return this.#t?.defaultValue??this.#e.defaultValue??""}set defaultValue(e){this.#t?this.#t.defaultValue=e:this.#e.defaultValue=e}get value(){return this.#t?.value??this.#e.value??this.#e.defaultValue??""}set value(e){this.#t?this.#t.value=e:this.#e.value=e}#t;#e;_isWithinInteractiveElement(e){if(e===null||e===this._el||!this._el.contains(e))return!1;if(Ut(e))return!0;{const t=e.parentElement;if(t)return this._isWithinInteractiveElement(t)}return!1}connectedCallback(){this._el.addEventListener("click",this._focusInput)}disconnectedCallback(){this._el.removeEventListener("click",this._focusInput)}render(){return w(Nt,{key:"94b08611da249786439b37e6ea7961ea3e5ee851"},w("slot",{key:"d334ee7f99214b10ddecafcbc9a8a851723eba89",name:"leadingIcon"}),this.leadingLabel&&w("span",{key:"8c650986f8a51f563f2499d9f68704702d67d3d6",class:"gids-input__label"},this.leadingLabel),w("slot",{key:"d6f6f0f53e0af2b3de306fbb4bda2b4199567060",name:"leadingAccessory"}),w("input",{key:"8429cdabbbc2034cac2d76cc72fa5e40298d5ec7",...this.inputProps,ref:e=>{this.#t=e,this.#e.value!==void 0&&(this.#t.value=this.#e.value,delete this.#e.value),this.#e.defaultValue!==void 0&&(this.#t.defaultValue=this.#e.defaultValue,delete this.#e.defaultValue)},class:"gids-input__control",name:this.name,disabled:this.disabled,readOnly:this.readOnly,required:this.required,onFocus:this._handleInputFocusAndBlur,onBlur:this._handleInputFocusAndBlur}),w("slot",{key:"aa7a6d1b0551a88801ef75da893ecf41e1eaafa8",name:"trailingAccessory"}),this.trailingLabel&&w("span",{key:"5f683d6c71ef3802c3749959b921b9046c168437",class:"gids-input__label"},this.trailingLabel),w("slot",{key:"b7d26fe16f35c0147b7b1a34dd41cd0f85ed5ab5",name:"trailingIcon"}),this.status==="incomplete"&&w(ye,{key:"66f1da3df7907675feace05c11e2e31e892d6251",name:"warning",appearance:"filled",class:"gids-input__warning-icon"}),this.status==="complete"&&w(ye,{key:"3fc74b5623174d2a321a5367854ff180bde2cd9f",name:"positive",appearance:"filled",class:"gids-input__positive-icon"}),this.loading&&w(Qt,{key:"ceb78121856acade2513cffcae16170d91a3fb74",size:"md",indeterminate:!0}))}get _el(){return this}},[260,"gids-input",{appearance:[513],defaultValue:[6657,"default-value"],disabled:[516],inputProps:[16],leadingLabel:[513,"leading-label"],trailingLabel:[513,"trailing-label"],loading:[516],name:[513],readOnly:[516,"readonly"],required:[516],status:[513],value:[6145]}]);function st(){typeof customElements<"u"&&["gids-input"].forEach((e=>{e==="gids-input"&&(customElements.get(e)||customElements.define(e,es))}))}st();const{getGidsDropdownClassNames:ts,getGidsChevronButtonControlClassNames:ss}=jt,be="gids-dropdown-item--active",nt=qe(class extends Ee{constructor(e){super(),e!==!1&&this.__registerHost(),this.appearance="default",this.expanded=!1,this.filterValue="",this.isFilterEditing=!1,this.hasLeadingIcon=!1,this.hasLeadingAccessory=!1,this.activeIndex=-1,this.hasItemListener=!1,this.suppressNextMenuClickSelection=!1,this.hasDocumentListeners=!1,this.hasPendingControlRevalidation=!1,this.handleDropdownItemSelect=t=>{const{value:n,title:s,disabled:i,id:o,isPlaceholderItem:r}=t.detail;i||typeof n!="string"||(this.suppressNextMenuClickSelection=!0,queueMicrotask((()=>{this.suppressNextMenuClickSelection=!1})),this.applySelection({id:o,value:n,title:s,disabled:!1,originalEvent:t,isPlaceholderItem:r}))},this.handleMenuClick=t=>{if(this.suppressNextMenuClickSelection)return;const n=t.target;if(!(n instanceof Element))return;const s=n.closest(".gids-dropdown-item");if(!s||!this.hostElement.contains(s)||s.hasAttribute("disabled")||s.getAttribute("aria-disabled")==="true")return;const i=s instanceof HTMLButtonElement?s.value:s.getAttribute("value")??"";if(typeof i!="string"||i.length===0)return;const o=s instanceof HTMLButtonElement?s.id:s.getAttribute("id")??"";if(typeof o!="string"||o.length===0)return;const r=s.getAttribute("is-placeholder-item")??"";this.applySelection({id:o,value:i,title:s.textContent?.trim()??"",disabled:!1,originalEvent:t,isPlaceholderItem:!(!r||r!=="true")})},this.handleFilterInput=t=>{const n=t.target;this.filterValue=n?.value??"",this.isFilterEditing=!0,this.clearActive(),this.expanded||this.setExpandedState(!0,t),this.applyFilter()},this.handleInputKeyDown=t=>{if(!this.isInteractive())return;const n=t.key,s=n==="ArrowDown";if((s||n==="ArrowUp")&&!t.metaKey&&!t.ctrlKey)return t.preventDefault(),this.expanded||this.setExpandedState(!0,t),void this.moveActive(s?1:-1);if(n==="Home"&&this.expanded)return t.preventDefault(),void this.setActiveByIndex(0);if(n==="End"&&this.expanded)return t.preventDefault(),void this.setActiveByIndex(this.getVisibleEnabledItems().length-1);if(n==="Enter"){if(!this.expanded)return t.preventDefault(),this.setExpandedState(!0,t),void this.setActiveByIndex(0);this.selectActive()&&t.preventDefault()}},this.handleTriggerToggle=t=>{this.isInteractive()&&this.setExpandedState(!this.expanded,t)},this.handleInputFocusAndBlur=t=>{this.hostElement.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))},this.handleInputClickToggle=t=>{t.defaultPrevented||this.handleTriggerToggle(t)},this.handleChevronClickToggle=t=>{t.defaultPrevented||(t.stopPropagation(),this.handleTriggerToggle(t))},this.handleDocumentPointerDown=t=>{t.button!==2&&this.expanded&&((typeof t.composedPath=="function"?t.composedPath():[]).includes(this.hostElement)||this.hostElement.contains(t.target)||this.setExpandedState(!1,t))},this.handleDocumentKeyDown=t=>{if(!this.expanded)return;const n=t.key;if(n==="Escape"||n==="Esc")return t.preventDefault(),void this.setExpandedState(!1,t);n==="Tab"&&this.setExpandedState(!1,t)},this.handleFormReset=()=>{this.value=this.initialValue,this.selectedItemTitle=void 0,this.isFilterEditing=!1,this.filterValue="",this.setExpandedState(!1)}}handleExpandedChange(e){e&&!this.isInteractive()&&(this.expanded=!1)}handleInteractivityChange(){!this.isInteractive()&&this.expanded&&this.setExpandedState(!1)}connectedCallback(){this.initialValue=this.value,this.attachItemListener(),this.attachDocumentListeners(),this.attachFormListener()}disconnectedCallback(){this.detachItemListener(),this.detachDocumentListeners(),this.detachFormListener()}componentWillLoad(){this.checkSlots()}componentWillUpdate(){this.checkSlots()}checkSlots(){this.hasLeadingIcon=!!this.hostElement.querySelector('[slot="leadingIconDropdown"]'),this.hasLeadingAccessory=!!this.hostElement.querySelector('[slot="leadingAccessoryDropdown"]')}getItemElements(){return Array.from(this.hostElement.querySelectorAll(".gids-dropdown-item"))}getVisibleEnabledItems(){return this.getItemElements().filter((e=>e.style.display!=="none"&&!e.hasAttribute("disabled")&&e.getAttribute("aria-disabled")!=="true"))}attachItemListener(){this.hasItemListener||(this.hostElement.addEventListener("onPressDropdownItem",this.handleDropdownItemSelect),this.hasItemListener=!0)}detachItemListener(){this.hasItemListener&&(this.hostElement.removeEventListener("onPressDropdownItem",this.handleDropdownItemSelect),this.hasItemListener=!1)}applySelection(e){this.value=e.value,this.selectedItemTitle=typeof e.title=="string"?e.title:void 0,this.isFilterEditing=!1,this.filterValue="",this.clearActive(),this.emitNativeSelectionEvents(this.selectedItemTitle??""),this.setExpandedState(!1,this.coerceEvent(e.originalEvent)),this.onSelectionChange?.(e),this.hostElement.dispatchEvent(new CustomEvent("gidsDropdownChange",{bubbles:!0,composed:!0,detail:e}))}getInputControl(){return this.hostElement.querySelector(".gids-input__control")}emitNativeSelectionEvents(e){const t=this.getInputControl();t&&(t.value=e,t.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),t.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}clearActive(){this.activeIndex=-1,this.getItemElements().forEach((e=>e.classList.remove(be))),this.setActiveDescendant(void 0)}setActiveByIndex(e){const t=this.getVisibleEnabledItems();if(this.getItemElements().forEach((i=>i.classList.remove(be))),t.length===0)return this.activeIndex=-1,void this.setActiveDescendant(void 0);const n=Math.max(0,Math.min(e,t.length-1)),s=t[n];if(!s)return this.activeIndex=-1,void this.setActiveDescendant(void 0);this.activeIndex=n,s.classList.add(be),s.scrollIntoView({block:"nearest"}),this.setActiveDescendant(s.id||void 0)}moveActive(e){const t=this.getVisibleEnabledItems();t.length!==0?this.setActiveByIndex(this.activeIndex===-1?e>0?0:t.length-1:(this.activeIndex+e+t.length)%t.length):this.clearActive()}selectActive(){const e=this.getVisibleEnabledItems();if(e.length===0)return!1;const t=this.activeIndex>=0?e[this.activeIndex]:e[0];return!!t&&(t.click(),this.getInputControl()?.focus(),!0)}applyFilter(){const e=this.filterValue.trim().toLowerCase();this.getItemElements().forEach((t=>{const n=(t.textContent??"").toLowerCase(),s=e.length===0||n.includes(e);t.style.display=s?"":"none"}))}setActiveDescendant(e){const t=this.getInputControl();t&&(e?t.setAttribute("aria-activedescendant",e):t.removeAttribute("aria-activedescendant"))}setExpandedState(e,t){const n=!!e;n&&!this.isInteractive()||this.expanded!==n&&(this.expanded=n,n||(this.isFilterEditing=!1,this.filterValue="",this.clearActive(),this.applyFilter(),this.syncInputDisplayValue()),this.hostElement.dispatchEvent(new CustomEvent("gidsDropdownToggle",{bubbles:!0,composed:!0,detail:{expanded:n,originalEvent:t}})))}syncInputDisplayValue(){const e=this.getInputControl();e&&e.value!==(this.selectedItemTitle??"")&&(e.value=this.selectedItemTitle??"")}attachDocumentListeners(){this.hasDocumentListeners||typeof document>"u"||(document.addEventListener("pointerdown",this.handleDocumentPointerDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.hasDocumentListeners=!0)}detachDocumentListeners(){this.hasDocumentListeners&&typeof document<"u"&&(document.removeEventListener("pointerdown",this.handleDocumentPointerDown),document.removeEventListener("keydown",this.handleDocumentKeyDown),this.hasDocumentListeners=!1)}attachFormListener(){const e=this.hostElement.closest("form");this.patternForm!==e&&(this.patternForm&&this.patternForm.removeEventListener("reset",this.handleFormReset),this.patternForm=e??void 0,this.patternForm?.addEventListener("reset",this.handleFormReset))}detachFormListener(){this.patternForm&&(this.patternForm.removeEventListener("reset",this.handleFormReset),this.patternForm=void 0)}get form(){return this.getInputControl()?.form??this.patternForm??null}get validity(){return this.getInputControl()?.validity??{}}get validationMessage(){return this.getInputControl()?.validationMessage??""}get willValidate(){return this.getInputControl()?.willValidate??!1}async checkValidity(){return this.getInputControl()?.checkValidity()??!0}async reportValidity(){return this.getInputControl()?.reportValidity()??!0}async setCustomValidity(e){return this.getInputControl()?.setCustomValidity(e)}isInteractive(){return!(this.disabled||this.readOnly)}coerceEvent(e){if(typeof Event<"u"&&e!==null)return e instanceof Event?e:void 0}scheduleControlRevalidation(){if(this.hasPendingControlRevalidation)return;this.hasPendingControlRevalidation=!0;const e=()=>{this.hasPendingControlRevalidation=!1,this.checkValidity()};typeof requestAnimationFrame!="function"?e():requestAnimationFrame(e)}getEnhancedInputProps(){const e={...this.inputProps??{}};typeof e.autoComplete=="string"&&e?.autoComplete?.trim?.()?.length!==0||(e.autoComplete="off");const t=e.onInput;e.onInput=i=>{t?.(i),this.handleFilterInput(i)};const n=e.onBlur;e.onBlur=i=>{n?.(i),this.scheduleControlRevalidation()};const s=e.onKeyDown;return e.onKeyDown=i=>{s?.(i),i.defaultPrevented||this.handleInputKeyDown(i)},e}render(){const e=this.expanded&&this.isInteractive(),t=ts({expanded:e}),n=this.getEnhancedInputProps(),s=typeof n.id=="string"?n.id:void 0,i=s?`${s}__menu`:void 0;n.role="combobox",n["aria-expanded"]=e?"true":"false",n["aria-haspopup"]="listbox",n["aria-autocomplete"]="list",i&&(n["aria-controls"]=i);const o=this.isFilterEditing?this.filterValue:this.selectedItemTitle??this.value??"",r=e?"true":"false",a=w("button",{key:"c4482da12927a1e47e6ef8aeaa8948d928f44c82",class:ss({size:"lg"}),slot:"trailingAccessory",type:"button",onClick:this.handleChevronClickToggle,"aria-label":e?"Collapse options":"Expanded options","aria-expanded":r,"aria-haspopup":"listbox","aria-controls":i,disabled:this.disabled||this.readOnly,tabIndex:-1},w("span",{key:"19b889b60ea764f63f885092201e950b35d78a45",class:"gids-button__content"},w(ye,{key:"0ac5ccbd16fc7bd223f45107ede23aa698c1f4b1",name:"chevron-vertical",alt:""})));return w("div",{key:"5e1ecfa73b2790753739dfb374a4220b9470dc5b",class:t},w("gids-input",{key:"945e19939a10b6c3415c6794f6d594d8c6e4288e",appearance:this.appearance,loading:this.loading,disabled:this.disabled,readOnly:this.readOnly,required:this.required,value:o,name:this.name,inputProps:n,onClick:this.handleInputClickToggle,onFocus:this.handleInputFocusAndBlur,onBlur:this.handleInputFocusAndBlur},this.hasLeadingIcon&&w("slot",{key:"3f73972a3e445cb40bfdb1a319e7f2094a100ec6",name:"leadingIconDropdown",slot:"leadingIcon"}),this.hasLeadingAccessory&&w("slot",{key:"2c53bfbd7fa8dd1cb03295bf6994c5ebabfd4c3b",name:"leadingAccessoryDropdown",slot:"leadingAccessory"}),a),w("div",{key:"b09e3a03faba23b1fa1b641543803322d05d6cc6",class:"gids-dropdown__menu",id:i,role:"listbox",onClick:this.handleMenuClick},w("slot",{key:"90acae2dad52ae43ddada1acc294d8b5291ab668"})))}get hostElement(){return this}static get watchers(){return{expanded:[{handleExpandedChange:0}],disabled:[{handleInteractivityChange:0}],readOnly:[{handleInteractivityChange:0}]}}static get style(){return'@charset "UTF-8";.gids-dropdown{position:relative}.gids-dropdown__menu{position:absolute;inset-inline:0;top:calc(100% + var(--gids-gap-050));z-index:3;display:none;flex-direction:column;min-height:55px;max-height:20rem;overflow-x:hidden;overflow-y:auto;background-color:var(--gids-elevation-surface-overlay-default);box-shadow:var(--gids-elevation-shadow-overlay);border-radius:var(--gids-border-radius-lg)}.gids-dropdown__menu>*{flex-shrink:0}.gids-dropdown--expanded .gids-dropdown__menu{display:flex}.gids-dropdown__leading-icon{display:flex;align-items:center}.gids-dropdown__accessory{display:flex;align-items:center}'}},[260,"gids-dropdown",{appearance:[1],expanded:[1540],inputProps:[16],disabled:[516],readOnly:[516,"read-only"],loading:[516],value:[513],name:[1],onSelectionChange:[16],required:[4],filterValue:[32],isFilterEditing:[32],selectedItemTitle:[32],hasLeadingIcon:[32],hasLeadingAccessory:[32],checkValidity:[64],reportValidity:[64],setCustomValidity:[64]},void 0,{expanded:[{handleExpandedChange:0}],disabled:[{handleInteractivityChange:0}],readOnly:[{handleInteractivityChange:0}]}]);function it(){typeof customElements<"u"&&["gids-dropdown","gids-input"].forEach((e=>{switch(e){case"gids-dropdown":customElements.get(e)||customElements.define(e,nt);break;case"gids-input":customElements.get(e)||st()}}))}it();const ns=nt,is=it;$.GidsDropdown=ns,$.defineCustomElement=is,Object.defineProperty($,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const S=this["s-cr"].parentElement;return(S.__childNodes?S.childNodes:(b=>{const v=[];for(let g=0;g<b.length;g++){const m=b[g]["s-nr"]||void 0;m&&m.isConnected&&v.push(m)}return v})(S.childNodes)).forEach((b=>{f===B(b)&&p.push(b)})),d?p.filter((b=>b.nodeType===1)):p}).bind(c);c.assignedElements=h(!0),c.assignedNodes=h(!1)})(o),a=e&&e.m&&e.m[n],a&&a.O===i.O&&e.S&&Fe(e.S)),o},Fe=e=>{I.i|=1;const t=e.closest(F.toLowerCase());if(t!=null){const n=Array.from(t.__childNodes||t.childNodes).find((i=>i["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const i of n?s.reverse():s)i["s-sh"]!=null&&(N(t,i,n??null),i["s-sh"]=void 0,U=!0)}I.i&=-2},Y=(e,t)=>{I.i|=1;const n=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"]===F&&n.push(s)}for(let s=n.length-1;s>=0;s--){const i=n[s];i["s-hn"]!==F&&i["s-ol"]&&(N(G(i).parentNode,i,G(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,U=!0),t&&Y(i,t)}I.i&=-2},Ve=(e,t,n,s,i,o)=>{let r,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===F&&(a=a.shadowRoot),n.O==="template"&&(a=a.content);i<=o;++i)s[i]&&(r=z(null,n,i),r&&(s[i].S=r,N(a,r,G(t))))},je=(e,t,n)=>{for(let s=t;s<=n;++s){const i=e[s];if(i){const o=i.S;Be(i),o&&(K=!0,o["s-ol"]?o["s-ol"].remove():Y(o,!0),o.remove())}}},J=(e,t,n=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:n?(n&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),G=e=>e&&e["s-ol"]||e,j=(e,t,n=!1)=>{const s=t.S=e.S,i=e.m,o=t.m,r=t.O,a=t.h;let l;a==null?(k=r==="svg"||r!=="foreignObject"&&k,r!=="slot"||R||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Fe(t.S.parentElement)),de(e,t,k),i!==null&&o!==null?((c,h,d,u,p=!1)=>{let f,S,b=0,v=0,g=0,m=0,C=h.length-1,y=h[0],x=h[C],_=u.length-1,A=u[0],L=u[_];const ot=d.O==="template"?c.content:c;for(;b<=C&&v<=_;)if(y==null)y=h[++b];else if(x==null)x=h[--C];else if(A==null)A=u[++v];else if(L==null)L=u[--_];else if(J(y,A,p))j(y,A,p),y=h[++b],A=u[++v];else if(J(x,L,p))j(x,L,p),x=h[--C],L=u[--_];else if(J(y,L,p))y.O!=="slot"&&L.O!=="slot"||Y(y.S.parentNode,!1),j(y,L,p),N(ot,y.S,x.S.nextSibling),y=h[++b],L=u[--_];else if(J(x,A,p))y.O!=="slot"&&L.O!=="slot"||Y(x.S.parentNode,!1),j(x,A,p),N(ot,x.S,y.S),x=h[--C],A=u[++v];else{for(g=-1,m=b;m<=C;++m)if(h[m]&&h[m].$!==null&&h[m].$===A.$){g=m;break}g>=0?(S=h[g],S.O!==A.O?f=z(h&&h[v],d,g):(j(S,A,p),h[g]=void 0,f=S.S),A=u[++v]):(f=z(h&&h[v],d,v),A=u[++v]),f&&N(G(y.S).parentNode,f,G(y.S))}b>C?Ve(c,u[_+1]==null?null:u[_+1].S,d,u,v,_):v>_&&je(h,b,C)})(s,i,t,o,n):o!==null?(e.h!==null&&(s.textContent=""),Ve(s,null,t,o,0,o.length-1)):!n&&i!==null&&je(i,0,i.length-1),k&&r==="svg"&&(k=!1)):(l=s["s-cr"])?l.parentNode.textContent=a:e.h!==a&&(s.data=a)},P=[],Me=e=>{let t,n,s;const i=e.__childNodes||e.childNodes;for(const o of i){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const r=o["s-sn"];for(s=n.length-1;s>=0;s--)if(t=n[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===o["s-hn"]||t["s-sh"]&&t["s-sh"]===o["s-hn"]))if(_e(t,r)){let a=P.find((l=>l.k===t));K=!0,t["s-sn"]=t["s-sn"]||r,a?(a.k["s-sh"]=o["s-hn"],a.N=o):(t["s-sh"]=o["s-hn"],P.push({N:o,k:t})),t["s-sr"]&&P.map((l=>{_e(l.k,t["s-sn"])&&(a=P.find((c=>c.k===t)),a&&!l.N&&(l.N=a.N))}))}else P.some((a=>a.k===t))||P.push({k:t})}o.nodeType===1&&Me(o)}},Be=e=>{e.v&&e.v.ref&&ce.push((()=>e.v.ref(null))),e.m&&e.m.map(Be)},bt=(e,t)=>{he.push((()=>e(t)))},N=(e,t,n,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,n);const{slotNode:i}=(function(o,r){var a;if(!(r=r||((a=o["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const l=o["s-sn"]=B(o)||"";return{slotNode:oe(le(r,"childNodes"),r.tagName,l)[0],slotName:l}})(t);return i&&!s&&i.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,n):e?.insertBefore(t,n)},St=(e,t,n=!1)=>{var s,i,o,r,a;const l=e.$hostElement$,c=e.o,h=e.M||W(null,null);var d;const u=(d=t)&&d.O===ft?t:w(null,null,t);if(F=l.tagName,c.C&&(u.v=u.v||{},c.C.forEach((([p,f])=>{u.v[f]=l[p]}))),n&&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,R=!(!(1&c.i)||128&c.i),re=l["s-cr"],K=!1,j(h,u,n),I.i|=1,U){Me(u.S);for(const p of P){const f=p.k;if(!f["s-ol"]&&E.document){const S=E.document.createTextNode("");S["s-nr"]=f,N(f.parentNode,f["s-ol"]=S,f,n)}}for(const p of P){const f=p.k,S=p.N;if(f.nodeType===1&&n&&(f["s-ih"]=(s=f.hidden)!=null&&s),S){const b=S.parentNode;let v=S.nextSibling;if(v&&v.nodeType===1){let g=(i=f["s-ol"])==null?void 0:i.previousSibling;for(;g;){let m=(o=g["s-nr"])!=null?o:null;if(m&&m["s-sn"]===f["s-sn"]&&b===(m.__parentNode||m.parentNode)){for(m=m.nextSibling;m===f||m?.["s-sr"];)m=m?.nextSibling;if(!m||!m["s-nr"]){v=m;break}}g=g.previousSibling}}if((!v&&b!==(f.__parentNode||f.parentNode)||(f.__nextSibling||f.nextSibling)!==v)&&f!==v){if(N(b,f,v,n),f.nodeType===8&&f.nodeValue.startsWith("s-nt-")){const g=E.document.createTextNode(f.nodeValue.replace(/^s-nt-/,""));g["s-hn"]=f["s-hn"],g["s-sn"]=f["s-sn"],g["s-sh"]=f["s-sh"],g["s-sr"]=f["s-sr"],g["s-ol"]=f["s-ol"],g["s-ol"]["s-nr"]=g,N(f.parentNode,g,f,n),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(K&&ke(u.S),I.i&=-2,P.length=0,!R&&!(1&c.i)&&l["s-cr"]){const p=u.S.__childNodes||u.S.childNodes;for(const f of p)if(f["s-hn"]!==F&&!f["s-sh"]){if(n&&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=E.document.createComment("s-nt-"+f.nodeValue);S["s-sn"]=f["s-sn"],N(f.parentNode,S,f,n),f.parentNode.removeChild(f)}}}re=void 0,ce.forEach((p=>p())),ce.length=0,he.forEach((p=>p())),he.length=0},Re=(e,t)=>{if(t&&!e.A&&t["s-p"]){const n=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(n-1,1),s()})))}},ue=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Re(e,e.R);const n=()=>wt(e,t);if(!t)return ct(n);queueMicrotask((()=>{n()}))},wt=(e,t)=>{const n=e.$hostElement$,s=n;if(!s)throw new Error(`Can't render component <${n.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 i;return i=H(s,t?"componentWillLoad":"componentWillUpdate",void 0,n),i=Ge(i,(()=>H(s,"componentWillRender",void 0,n))),Ge(i,(()=>xt(e,s,t)))},Ge=(e,t)=>Et(e)?e.then(t).catch((n=>{console.error(n),t()})):t(),Et=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",xt=async(e,t,n)=>{var s;const i=e.$hostElement$,o=i["s-rc"];n&&(r=>{const a=r.o,l=r.$hostElement$,c=a.i,h=((d,u)=>{var p,f,S;const b=Ae(u),v=q.get(b);if(!E.document)return b;if(d=d.nodeType===11?d:E.document,v)if(typeof v=="string"){let g,m=D.get(d=d.head||d);if(m||D.set(d,m=new Set),!m.has(b)){g=E.document.createElement("style"),g.textContent=v;const C=(p=I._)!=null?p:(function(){var y,x,_;return(_=(x=(y=E.document.head)==null?void 0:y.querySelector('meta[name="csp-nonce"]'))==null?void 0:x.getAttribute("content"))!=null?_:void 0})();if(C!=null&&g.setAttribute("nonce",C),!(1&u.i))if(d.nodeName==="HEAD"){const y=d.querySelectorAll("link[rel=preconnect]"),x=y.length>0?y[y.length-1].nextSibling:d.querySelector("style");d.insertBefore(g,x?.parentNode===d?x:null)}else if("host"in d)if(ee){const y=new((f=d.defaultView)!=null?f:d.ownerDocument.defaultView).CSSStyleSheet;y.replaceSync(v),te?d.adoptedStyleSheets.unshift(y):d.adoptedStyleSheets=[y,...d.adoptedStyleSheets]}else{const y=d.querySelector("style");y?y.textContent=v+y.textContent:d.prepend(g)}else d.append(g);1&u.i&&d.insertBefore(g,null),4&u.i&&(g.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),m&&m.add(b)}}else{let g=D.get(d);if(g||D.set(d,g=new Set),!g.has(b)){const m=(S=d.defaultView)!=null?S:d.ownerDocument.defaultView;let C;if(v.constructor===m.CSSStyleSheet)C=v;else{C=new m.CSSStyleSheet;for(let y=0;y<v.cssRules.length;y++)C.insertRule(v.cssRules[y].cssText,y)}te?d.adoptedStyleSheets.push(C):d.adoptedStyleSheets=[...d.adoptedStyleSheets,C],g.add(b)}}return b})(l.shadowRoot?l.shadowRoot:l.getRootNode(),a);10&c&&(l["s-sc"]=h,l.classList.add(h+"-h"))})(e),Ct(e,t,i,n),o&&(o.map((r=>r())),i["s-rc"]=void 0);{const r=(s=i["s-p"])!=null?s:[],a=()=>It(e);r.length===0?a():(Promise.all(r).then(a).catch(a),e.i|=4,r.length=0)}},Ct=(e,t,n,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,St(e,t,s)}catch(i){T(i,e.$hostElement$)}return null},It=e=>{const t=e.$hostElement$,n=t,s=e.R;H(n,"componentDidRender",void 0,t),64&e.i?H(n,"componentDidUpdate",void 0,t):(e.i|=64,_t(t),H(n,"componentDidLoad",void 0,t),e.L(t),s||kt()),e.A&&(e.A(),e.A=void 0),512&e.i&&ie((()=>ue(e,!1))),e.i&=-517},kt=()=>{ie((()=>gt(E,"appload",{detail:{namespace:"gids-core-web"}})))},H=(e,t,n,s)=>{if(e&&e[t])try{return e[t](n)}catch(i){T(i,s)}},_t=e=>e.classList.add("hydrated"),He=(e,t,n,s)=>{const i=O(e);if(!i)return;const o=e,r=i.l.get(t),a=i.i,l=o;n=Oe(n,s.t[t][0],!!(64&s.i));const c=Number.isNaN(r)&&Number.isNaN(n);if(n!==r&&!c){if(i.l.set(t,n),s.F){const h=s.F[t];h&&h.map((d=>{try{const[[u,p]]=Object.entries(d);(128&a||1&p)&&(l?l[u](n,r,t):i.T.push((()=>{i.D[u](n,r,t)})))}catch(u){T(u,o)}}))}if(2&a){if(l.componentShouldUpdate&&l.componentShouldUpdate(n,r,t)===!1&&!(16&a))return;16&a||ue(i,!1)}}},At=(e,t,n)=>{var s,i;const o=e.prototype;64&t.i&&1&n&&rt.forEach((r=>{const a=o[r];Object.defineProperty(o,r,{value(...l){var c;const h=O(this),d=this;d?typeof a=="function"&&a.call(d,...l):(c=h?.H)==null||c.then((u=>{const p=u[r];typeof p=="function"&&p.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 r=Object.entries((s=t.t)!=null?s:{});r.map((([a,[l]])=>{if(31&l||32&l){const{get:c,set:h}=V(o,a)||{};c&&(t.t[a][0]|=2048),h&&(t.t[a][0]|=4096),Object.defineProperty(o,a,{get(){return c?c.apply(this):(d=a,O(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(o,a,{set(d){const u=O(this);if(u){if(h)return(32&l?this[a]:u.$hostElement$[a])===void 0&&u.l.get(a)&&(d=u.l.get(a)),h.apply(this,[Oe(d,l,!!(64&t.i))]),void He(this,a,d=32&l?this[a]:u.$hostElement$[a],t);He(this,a,d,t)}}})}}));{const a=new Map;o.attributeChangedCallback=function(l,c,h){I.jmp((()=>{var d;const u=a.get(l),p=O(this);if(this.hasOwnProperty(u),o.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==h)return;if(u==null){const g=p?.i;if(p&&g&&!(8&g)&&h!==c){const m=this,C=(d=t.F)==null?void 0:d[l];C?.forEach((y=>{const[[x,_]]=Object.entries(y);m[x]!=null&&(128&g||1&_)&&m[x].call(m,h,c,l)}))}return}const f=r.find((([g])=>g===u)),S=f&&4&f[1][0],b=S&&h===null&&this[u]===void 0;S&&(h=h!==null&&h!=="false");const v=Object.getOwnPropertyDescriptor(o,u);b||h==this[u]||v.get&&!v.set||(this[u]=h)}))},e.observedAttributes=Array.from(new Set([...Object.keys((i=t.F)!=null?i:{}),...r.filter((([l,c])=>31&c[0])).map((([l,c])=>{var h;const d=c[1]||l;return a.set(d,l),512&c[0]&&((h=t.C)==null||h.push([l,d])),d}))]))}}return e},qe=(e,t)=>{const n={i:t[0],p:t[1]};try{n.t=t[2],n.W=t[3],n.F=Le(e.F),n.P=e.P,n.U=e.U,n.C=[];const s=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((o,r)=>{const a={i:0,$hostElement$:o,o:r,l:new Map,B:new Map};a.H=new Promise((c=>a.L=c)),o["s-p"]=[],o["s-rc"]=[];const l=a;o.__stencil__getHostRef=()=>l,512&r.i&&lt(o,a)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const o=O(this);if(!o)return;We(this,o,n.W),this.__hasHostListenerAttached=!0}(o=>{if(!(1&I.i)){const r=O(o);if(!r)return;const a=r.o;if(1&r.i)We(o,r,a.W),r?.D||r?.H&&r.H.then((()=>{}));else{r.i|=1,12&a.i&&(l=>{if(!E.document)return;const c=l["s-cr"]=E.document.createComment("");c["s-cn"]=!0,N(l,c,l.firstChild)})(o);{let l=o;for(;l=l.parentNode||l.host;)if(l["s-p"]){Re(r,r.R=l);break}}a.t&&Object.entries(a.t).map((([l,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(o,l)){const h=o[l];delete o[l],o[l]=h}})),(async(l,c,h)=>{let d;try{if(!(32&c.i)&&(c.i|=32,d=l.constructor,customElements.whenDefined(l.localName).then((()=>c.i|=128)),d&&d.style)){let f;typeof d.style=="string"&&(f=d.style);const S=Ae(h);q.has(S)||((b,v,g)=>{let m=q.get(b);ee&&g?(m=m||new CSSStyleSheet,typeof m=="string"?m=v:m.replaceSync(v)):m=v,q.set(b,m)})(S,f,!!(1&h.i))}const u=c.R,p=()=>ue(c,!0);u&&u["s-rc"]?u["s-rc"].push(p):p()}catch(u){T(u,l),c.A&&(c.A(),c.A=void 0),c.L&&c.L(l)}})(o,r,a)}}})(this),s&&s.call(this)},disconnectedCallback(){(async o=>{if(!(1&I.i)){const r=O(o);r?.V&&(r.V.map((a=>a())),r.V=void 0)}D.has(o)&&D.delete(o),o.shadowRoot&&D.has(o.shadowRoot)&&D.delete(o.shadowRoot)})(this),i&&i.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${n.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else ht.call(this,n)}}),Object.defineProperty(e,"is",{value:n.p,configurable:!0}),At(e,n,3)}catch(s){return T(s),e}},Nt=(e,t)=>t,We=(e,t,n)=>{n&&E.document&&n.map((([s,i,o])=>{const r=Ot(E.document,e,s),a=Lt(t,o),l=Pt(s);I.ael(r,i,a,l),(t.V=t.V||[]).push((()=>I.rel(r,i,a,l)))}))},Lt=(e,t)=>n=>{try{e.$hostElement$[t](n)}catch(s){T(s,e.$hostElement$)}},Ot=(e,t,n)=>8&n?E:t,Pt=e=>at?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function os(e){return e}function Ke(e){var t,n,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Ke(e[t]))&&(s&&(s+=" "),s+=n)}else for(n in e)e[n]&&(s&&(s+=" "),s+=n);return s}function X(){for(var e,t,n=0,s="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Ke(e))&&(s&&(s+=" "),s+=t);return s}const Dt=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:n},s)=>X("gids-spinner-control",{"gids-spinner-control--xs":e==="xs","gids-spinner-control--sm":e==="sm","gids-spinner-control--lg":e==="lg","gids-spinner-control--xl":e==="xl","gids-spinner-control--2xl":e==="2xl","gids-spinner-control--determinate":t===!1},n,s)},Symbol.toStringTag,{value:"Module"})),$t=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>X("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"})),Z=64,Ue=10,ze=Z/2-Ue/2,Tt=Z/2,fe=2*Math.PI*ze,Ft=`0 0 ${Z} ${Z}`,Vt=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const n=typeof t=="number"&&t>0?t:1,i=Math.max(0,Math.min(n,e))/n*100,o=(fe*i/100).toFixed(2),r=(fe-parseFloat(o)).toFixed(2);return`${o} ${r}`},centerPosition:Tt,circumference:fe,radius:ze,thickness:Ue,viewBox:Ft},Symbol.toStringTag,{value:"Module"})),jt=Object.freeze(Object.defineProperty({__proto__:null,getGidsChevronButtonControlClassNames:({size:e},t)=>X("gids-chevron-button-control",{"gids-chevron-button-control--small":e==="sm","gids-chevron-button-control--large":e==="lg"},t),getGidsDropdownClassNames:({expanded:e},t)=>X("gids-dropdown",{"gids-dropdown--expanded":e},t)},Symbol.toStringTag,{value:"Module"})),pe=Symbol("defaultPath"),Ye=Symbol("pathSet"),me="gids-asset-paths-set";class Mt extends EventTarget{#t=new Map;constructor(){super()}#e(t,n){this.#t.set(t,n)}#s(t){return this.#t.get(t)??null}#n=()=>{this.dispatchEvent(new Event(me))};haveAssetPathsBeenSet(){return this.#s(Ye)!==null}setAssetPaths(t,n){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(pe,t);else{for(const s in t)this.#e(s,t[s]);n&&this.#e(pe,n)}this.#e(Ye,"true"),setTimeout(this.#n,0)}}getAssetFilePath(t){const n=this.#s(t);if(n===null){const s=this.#s(pe);if(s!==null)return`${s}${s.endsWith("/")?"":"/"}${t}`}return n}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(me,t,{once:!0}),()=>{this.removeEventListener(me,t)}}}const ge=Symbol.for("GIDS"),Bt=()=>(globalThis[ge]===void 0&&(globalThis[ge]={assetPaths:{}}),globalThis[ge]),Rt=e=>{const t=Bt().assetPaths;return t[e]===void 0&&(t[e]=new Mt),t[e]};function ve(){return Rt("@ganpatiinfo/gids-web-shared")}function Gt(){return ve().haveAssetPathsBeenSet()}function Je(e){return ve().getAssetFilePath(e)}function Ht(e){return ve().onAssetPathsSet(e)}let qt=0;const Wt=(e,t="gids")=>e||`${t}-${qt++}`,Kt=e=>e.type==="hidden",Ut=e=>{if(!(e instanceof HTMLElement))return!1;const{nodeName:t}=e;return!!(["BUTTON","DETAILS","EMBED","IFRAME","KEYGEN","LABEL","SELECT","TEXTAREA"].includes(t)||t==="A"&&e.hasAttribute("href")||e instanceof HTMLInputElement&&!Kt(e)||["AUDIO","VIDEO"].includes(t)&&e.hasAttribute("controls")||["IMG","OBJECT"].includes(t)&&e.hasAttribute("usemap")||e.hasAttribute("tabindex")&&e.tabIndex>-1)},Xe={"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","syncing","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},Ze=new Map;for(const e in Xe)for(const t of Xe[e])Ze.set(t,e);function zt(e){return Ze.get(e)}function Qe(e,t="regular",n){const s=zt(e);let i=s??"";return n&&s&&(i=n(s)??s),`${i}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:Yt}=$t,ye=({name:e,size:t,appearance:n,alt:s,class:i,titleId:o,src:r,...a})=>{const l=Wt(o);let c=r;return c===void 0&&Gt()&&(c=Qe(e,n,Je)),w("svg",{ref:h=>{c===void 0&&Ht((()=>{(function(d,u,p){if(!d)return;const f=document.createElementNS("http://www.w3.org/2000/svg","use");f.setAttribute("href",Qe(u,p,Je)),d.appendChild(f)})(h,e,n)}))},width:"16",height:"16",class:Yt({size:t},i),role:"img","aria-hidden":s===""?"true":void 0,"aria-labelledby":s===""?void 0:l,...a},s!==""&&w("title",{id:l},s||e),c!==void 0?w("use",{href:c}):null)},{getGidsSpinnerControlClassNames:Jt}=Dt,{calculateStrokeDasharray:Xt,thickness:et,radius:tt,centerPosition:Q,viewBox:Zt}=Vt,Qt=({size:e,indeterminate:t,value:n,max:s,...i})=>{let o;return t||(o={strokeDashArray:Xt(n,s||0),strokeDashoffset:"0"}),w("svg",{class:Jt({size:e,indeterminate:t,value:n}),viewBox:Zt,...i},w("circle",{class:"gids-spinner-control__track",cx:Q,cy:Q,r:tt,"stroke-width":et}),w("circle",{style:o,class:"gids-spinner-control__progress",cx:Q,cy:Q,r:tt,"stroke-width":et}))},es=qe(class extends Ee{constructor(e){super(),e!==!1&&this.__registerHost(),this.#e={},this._focusInput=t=>{const n=t.target;n===this.#t||this._isWithinInteractiveElement(n)||this.#t?.focus()},this._handleInputFocusAndBlur=t=>{this._el.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))}}get defaultValue(){return this.#t?.defaultValue??this.#e.defaultValue??""}set defaultValue(e){this.#t?this.#t.defaultValue=e:this.#e.defaultValue=e}get value(){return this.#t?.value??this.#e.value??this.#e.defaultValue??""}set value(e){this.#t?this.#t.value=e:this.#e.value=e}#t;#e;_isWithinInteractiveElement(e){if(e===null||e===this._el||!this._el.contains(e))return!1;if(Ut(e))return!0;{const t=e.parentElement;if(t)return this._isWithinInteractiveElement(t)}return!1}connectedCallback(){this._el.addEventListener("click",this._focusInput)}disconnectedCallback(){this._el.removeEventListener("click",this._focusInput)}render(){return w(Nt,{key:"afdbc2c51c4a1f688534c76757ef7cdfb27d1cd0"},w("slot",{key:"83781fe23a5648cdd8345326e88e235c03cf60bc",name:"leadingIcon"}),this.leadingLabel&&w("span",{key:"b457d5343b714096c80ffebce6abd9e62fc57664",class:"gids-input__label"},this.leadingLabel),w("slot",{key:"e156f0f311bd7b662eb56c07c101b673c0945d14",name:"leadingAccessory"}),w("input",{key:"34d77865f743fab2e85d154b966c90b1434d212d",...this.inputProps,ref:e=>{this.#t=e,this.#e.value!==void 0&&(this.#t.value=this.#e.value,delete this.#e.value),this.#e.defaultValue!==void 0&&(this.#t.defaultValue=this.#e.defaultValue,delete this.#e.defaultValue)},class:"gids-input__control",name:this.name,disabled:this.disabled,readOnly:this.readOnly,required:this.required,onFocus:this._handleInputFocusAndBlur,onBlur:this._handleInputFocusAndBlur}),w("slot",{key:"fafb91d6e965e33b40577a10475e9a69a83e7a98",name:"trailingAccessory"}),this.trailingLabel&&w("span",{key:"3d673d4b05b850c165817615145e629f39b5859c",class:"gids-input__label"},this.trailingLabel),w("slot",{key:"ee39bb2e061ace41b7192f0fd2eae7edb35918e2",name:"trailingIcon"}),this.status==="incomplete"&&w(ye,{key:"5d2faed6c95395d82a2ae1e72483fd15599f14b6",name:"warning",appearance:"filled",class:"gids-input__warning-icon"}),this.status==="complete"&&w(ye,{key:"106200c1b025e3ee1467ffed2f246962933d42d0",name:"positive",appearance:"filled",class:"gids-input__positive-icon"}),this.loading&&w(Qt,{key:"9125ce5ef482066da33b9429e0cb544e1a646cca",size:"md",indeterminate:!0}))}get _el(){return this}},[260,"gids-input",{appearance:[513],defaultValue:[6657,"default-value"],disabled:[516],inputProps:[16],leadingLabel:[513,"leading-label"],trailingLabel:[513,"trailing-label"],loading:[516],name:[513],readOnly:[516,"readonly"],required:[516],status:[513],value:[6145]}]);function st(){typeof customElements<"u"&&["gids-input"].forEach((e=>{e==="gids-input"&&(customElements.get(e)||customElements.define(e,es))}))}st();const{getGidsDropdownClassNames:ts,getGidsChevronButtonControlClassNames:ss}=jt,be="gids-dropdown-item--active",nt=qe(class extends Ee{constructor(e){super(),e!==!1&&this.__registerHost(),this.appearance="default",this.expanded=!1,this.filterValue="",this.isFilterEditing=!1,this.hasLeadingIcon=!1,this.hasLeadingAccessory=!1,this.activeIndex=-1,this.hasItemListener=!1,this.suppressNextMenuClickSelection=!1,this.hasDocumentListeners=!1,this.hasPendingControlRevalidation=!1,this.handleDropdownItemSelect=t=>{const{value:n,title:s,disabled:i,id:o,isPlaceholderItem:r}=t.detail;i||typeof n!="string"||(this.suppressNextMenuClickSelection=!0,queueMicrotask((()=>{this.suppressNextMenuClickSelection=!1})),this.applySelection({id:o,value:n,title:s,disabled:!1,originalEvent:t,isPlaceholderItem:r}))},this.handleMenuClick=t=>{if(this.suppressNextMenuClickSelection)return;const n=t.target;if(!(n instanceof Element))return;const s=n.closest(".gids-dropdown-item");if(!s||!this.hostElement.contains(s)||s.hasAttribute("disabled")||s.getAttribute("aria-disabled")==="true")return;const i=s instanceof HTMLButtonElement?s.value:s.getAttribute("value")||"";if(typeof i!="string"||i.length===0)return;const o=s instanceof HTMLButtonElement?s.id:s.getAttribute("id")??"";if(typeof o!="string"||o.length===0)return;const r=s.getAttribute("is-placeholder-item")??"";let a=s.textContent?.trim()??"";a.endsWith("checkmark")&&(a=a.slice(0,-9).trim()),console.log("cleanTitle",a),this.applySelection({id:o,value:i,title:a.trim(),disabled:!1,originalEvent:t,isPlaceholderItem:!(!r||r!=="true")})},this.handleFilterInput=t=>{const n=t.target;this.filterValue=n?.value??"",this.isFilterEditing=!0,this.clearActive(),this.expanded||this.setExpandedState(!0,t),this.applyFilter()},this.handleInputKeyDown=t=>{if(!this.isInteractive())return;const n=t.key,s=n==="ArrowDown";if((s||n==="ArrowUp")&&!t.metaKey&&!t.ctrlKey)return t.preventDefault(),this.expanded||this.setExpandedState(!0,t),void this.moveActive(s?1:-1);if(n==="Home"&&this.expanded)return t.preventDefault(),void this.setActiveByIndex(0);if(n==="End"&&this.expanded)return t.preventDefault(),void this.setActiveByIndex(this.getVisibleEnabledItems().length-1);if(n==="Enter"){if(!this.expanded)return t.preventDefault(),this.setExpandedState(!0,t),void this.setActiveByIndex(0);this.selectActive()&&t.preventDefault()}},this.handleTriggerToggle=t=>{this.isInteractive()&&this.setExpandedState(!this.expanded,t)},this.handleInputFocusAndBlur=t=>{this.hostElement.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))},this.handleInputClickToggle=t=>{t.defaultPrevented||this.handleTriggerToggle(t)},this.handleChevronClickToggle=t=>{t.defaultPrevented||(t.stopPropagation(),this.handleTriggerToggle(t))},this.handleDocumentPointerDown=t=>{t.button!==2&&this.expanded&&((typeof t.composedPath=="function"?t.composedPath():[]).includes(this.hostElement)||this.hostElement.contains(t.target)||this.setExpandedState(!1,t))},this.handleDocumentKeyDown=t=>{if(!this.expanded)return;const n=t.key;if(n==="Escape"||n==="Esc")return t.preventDefault(),void this.setExpandedState(!1,t);n==="Tab"&&this.setExpandedState(!1,t)},this.handleFormReset=()=>{this.value=this.initialValue,this.selectedItemTitle=void 0,this.isFilterEditing=!1,this.filterValue="",this.setExpandedState(!1)}}handleExpandedChange(e){e&&!this.isInteractive()&&(this.expanded=!1)}handleInteractivityChange(){!this.isInteractive()&&this.expanded&&this.setExpandedState(!1)}connectedCallback(){this.initialValue=this.value,this.attachItemListener(),this.attachDocumentListeners(),this.attachFormListener()}disconnectedCallback(){this.detachItemListener(),this.detachDocumentListeners(),this.detachFormListener()}componentWillLoad(){this.checkSlots()}componentWillUpdate(){this.checkSlots()}checkSlots(){this.hasLeadingIcon=!!this.hostElement.querySelector('[slot="leadingIconDropdown"]'),this.hasLeadingAccessory=!!this.hostElement.querySelector('[slot="leadingAccessoryDropdown"]')}getItemElements(){return Array.from(this.hostElement.querySelectorAll(".gids-dropdown-item"))}getVisibleEnabledItems(){return this.getItemElements().filter((e=>e.style.display!=="none"&&!e.hasAttribute("disabled")&&e.getAttribute("aria-disabled")!=="true"))}attachItemListener(){this.hasItemListener||(this.hostElement.addEventListener("onPressDropdownItem",this.handleDropdownItemSelect),this.hasItemListener=!0)}detachItemListener(){this.hasItemListener&&(this.hostElement.removeEventListener("onPressDropdownItem",this.handleDropdownItemSelect),this.hasItemListener=!1)}applySelection(e){this.value=e.value,this.selectedItemTitle=typeof e.title=="string"?e.title:void 0,this.isFilterEditing=!1,this.filterValue="",this.clearActive(),this.emitNativeSelectionEvents(this.selectedItemTitle??""),this.setExpandedState(!1,this.coerceEvent(e.originalEvent)),this.onSelectionChange?.(e),this.hostElement.dispatchEvent(new CustomEvent("gidsDropdownChange",{bubbles:!0,composed:!0,detail:e}))}getInputControl(){return this.hostElement.querySelector(".gids-input__control")}emitNativeSelectionEvents(e){const t=this.getInputControl();t&&(t.value=e,t.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),t.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}clearActive(){this.activeIndex=-1,this.getItemElements().forEach((e=>e.classList.remove(be))),this.setActiveDescendant(void 0)}setActiveByIndex(e){const t=this.getVisibleEnabledItems();if(this.getItemElements().forEach((i=>i.classList.remove(be))),t.length===0)return this.activeIndex=-1,void this.setActiveDescendant(void 0);const n=Math.max(0,Math.min(e,t.length-1)),s=t[n];if(!s)return this.activeIndex=-1,void this.setActiveDescendant(void 0);this.activeIndex=n,s.classList.add(be),s.scrollIntoView({block:"nearest"}),this.setActiveDescendant(s.id||void 0)}moveActive(e){const t=this.getVisibleEnabledItems();t.length!==0?this.setActiveByIndex(this.activeIndex===-1?e>0?0:t.length-1:(this.activeIndex+e+t.length)%t.length):this.clearActive()}selectActive(){const e=this.getVisibleEnabledItems();if(e.length===0)return!1;const t=this.activeIndex>=0?e[this.activeIndex]:e[0];return!!t&&(t.click(),this.getInputControl()?.focus(),!0)}applyFilter(){const e=this.filterValue.trim().toLowerCase();this.getItemElements().forEach((t=>{const n=(t.textContent??"").toLowerCase(),s=e.length===0||n.includes(e);t.style.display=s?"":"none"}))}setActiveDescendant(e){const t=this.getInputControl();t&&(e?t.setAttribute("aria-activedescendant",e):t.removeAttribute("aria-activedescendant"))}setExpandedState(e,t){const n=!!e;n&&!this.isInteractive()||this.expanded!==n&&(this.expanded=n,n||(this.isFilterEditing=!1,this.filterValue="",this.clearActive(),this.applyFilter(),this.syncInputDisplayValue()),this.hostElement.dispatchEvent(new CustomEvent("gidsDropdownToggle",{bubbles:!0,composed:!0,detail:{expanded:n,originalEvent:t}})))}syncInputDisplayValue(){const e=this.getInputControl();e&&e.value!==(this.selectedItemTitle??"")&&(e.value=this.selectedItemTitle??"")}attachDocumentListeners(){this.hasDocumentListeners||typeof document>"u"||(document.addEventListener("pointerdown",this.handleDocumentPointerDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.hasDocumentListeners=!0)}detachDocumentListeners(){this.hasDocumentListeners&&typeof document<"u"&&(document.removeEventListener("pointerdown",this.handleDocumentPointerDown),document.removeEventListener("keydown",this.handleDocumentKeyDown),this.hasDocumentListeners=!1)}attachFormListener(){const e=this.hostElement.closest("form");this.patternForm!==e&&(this.patternForm&&this.patternForm.removeEventListener("reset",this.handleFormReset),this.patternForm=e??void 0,this.patternForm?.addEventListener("reset",this.handleFormReset))}detachFormListener(){this.patternForm&&(this.patternForm.removeEventListener("reset",this.handleFormReset),this.patternForm=void 0)}get form(){return this.getInputControl()?.form??this.patternForm??null}get validity(){return this.getInputControl()?.validity??{}}get validationMessage(){return this.getInputControl()?.validationMessage??""}get willValidate(){return this.getInputControl()?.willValidate??!1}async checkValidity(){return this.getInputControl()?.checkValidity()??!0}async reportValidity(){return this.getInputControl()?.reportValidity()??!0}async setCustomValidity(e){return this.getInputControl()?.setCustomValidity(e)}isInteractive(){return!(this.disabled||this.readOnly)}coerceEvent(e){if(typeof Event<"u"&&e!==null)return e instanceof Event?e:void 0}scheduleControlRevalidation(){if(this.hasPendingControlRevalidation)return;this.hasPendingControlRevalidation=!0;const e=()=>{this.hasPendingControlRevalidation=!1,this.checkValidity()};typeof requestAnimationFrame!="function"?e():requestAnimationFrame(e)}getEnhancedInputProps(){const e={...this.inputProps??{}};typeof e.autoComplete=="string"&&e?.autoComplete?.trim?.()?.length!==0||(e.autoComplete="off");const t=e.onInput;e.onInput=i=>{t?.(i),this.handleFilterInput(i)};const n=e.onBlur;e.onBlur=i=>{n?.(i),this.scheduleControlRevalidation()};const s=e.onKeyDown;return e.onKeyDown=i=>{s?.(i),i.defaultPrevented||this.handleInputKeyDown(i)},e}render(){const e=this.expanded&&this.isInteractive(),t=ts({expanded:e}),n=this.getEnhancedInputProps(),s=typeof n.id=="string"?n.id:void 0,i=s?`${s}__menu`:void 0;n.role="combobox",n["aria-expanded"]=e?"true":"false",n["aria-haspopup"]="listbox",n["aria-autocomplete"]="list",i&&(n["aria-controls"]=i);const o=this.isFilterEditing?this.filterValue:this.selectedItemTitle??this.value??"",r=e?"true":"false",a=w("button",{key:"3c948278bf289c4fd943e4bff51c8e44e73ba6c9",class:ss({size:"lg"}),slot:"trailingAccessory",type:"button",onClick:this.handleChevronClickToggle,"aria-label":e?"Collapse options":"Expanded options","aria-expanded":r,"aria-haspopup":"listbox","aria-controls":i,disabled:this.disabled||this.readOnly,tabIndex:-1},w("span",{key:"284f2a2141baa75624fcd9eeee21e6c98fd1e86e",class:"gids-button__content"},w(ye,{key:"1e6567b3d5aefedfef1697f59d79de1a0635f86b",name:"chevron-vertical",alt:""})));return w("div",{key:"82b234b661a97f00fbfb69b1c24d3b1f468521dc",class:t},w("gids-input",{key:"6068c25be9fc8533a26525083c6082bfdfffbbfa",appearance:this.appearance,loading:this.loading,disabled:this.disabled,readOnly:this.readOnly,required:this.required,value:o,name:this.name,inputProps:n,onClick:this.handleInputClickToggle,onFocus:this.handleInputFocusAndBlur,onBlur:this.handleInputFocusAndBlur},this.hasLeadingIcon&&w("slot",{key:"8230d44f492a98c05c5830fa984270122f0963ca",name:"leadingIconDropdown",slot:"leadingIcon"}),this.hasLeadingAccessory&&w("slot",{key:"3a80369ad171bc0e37dfccbb9661d0db93dd55c1",name:"leadingAccessoryDropdown",slot:"leadingAccessory"}),a),w("div",{key:"2cad6d5213802acf9b673971a748bd16c06b986a",class:"gids-dropdown__menu",id:i,role:"listbox",onClick:this.handleMenuClick},w("slot",{key:"90e9298103623d8a87677470c0f7e9b8655be880"})))}get hostElement(){return this}static get watchers(){return{expanded:[{handleExpandedChange:0}],disabled:[{handleInteractivityChange:0}],readOnly:[{handleInteractivityChange:0}]}}static get style(){return'@charset "UTF-8";.gids-dropdown{position:relative}.gids-dropdown__menu{position:absolute;inset-inline:0;top:calc(100% + var(--gids-gap-050));z-index:3;display:none;flex-direction:column;min-height:55px;max-height:20rem;overflow-x:hidden;overflow-y:auto;background-color:var(--gids-elevation-surface-overlay-default);box-shadow:var(--gids-elevation-shadow-overlay);border-radius:var(--gids-border-radius-lg)}.gids-dropdown__menu>*{flex-shrink:0}.gids-dropdown--expanded .gids-dropdown__menu{display:flex}.gids-dropdown__leading-icon{display:flex;align-items:center}.gids-dropdown__accessory{display:flex;align-items:center}'}},[260,"gids-dropdown",{appearance:[1],expanded:[1540],inputProps:[16],disabled:[516],readOnly:[516,"read-only"],loading:[516],value:[513],name:[1],onSelectionChange:[16],required:[4],filterValue:[32],isFilterEditing:[32],selectedItemTitle:[32],hasLeadingIcon:[32],hasLeadingAccessory:[32],checkValidity:[64],reportValidity:[64],setCustomValidity:[64]},void 0,{expanded:[{handleExpandedChange:0}],disabled:[{handleInteractivityChange:0}],readOnly:[{handleInteractivityChange:0}]}]);function it(){typeof customElements<"u"&&["gids-dropdown","gids-input"].forEach((e=>{switch(e){case"gids-dropdown":customElements.get(e)||customElements.define(e,nt);break;case"gids-input":customElements.get(e)||st()}}))}it();const ns=nt,is=it;$.GidsDropdown=ns,$.defineCustomElement=is,Object.defineProperty($,Symbol.toStringTag,{value:"Module"})}));
@@ -0,0 +1,5 @@
1
+ (function(P,V){typeof exports=="object"&&typeof module<"u"?V(exports):typeof define=="function"&&define.amd?define(["exports"],V):(P=typeof globalThis<"u"?globalThis:P||self,V(P.gidsCoreWebGidsExpansionBodyListItem={}))})(this,(function(P){"use strict";function V(e,t,i){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const o=Object.getOwnPropertyDescriptor(e,t);if(o&&(!i||o.get))return o;e=Object.getPrototypeOf(e)}}var z,Me=(e,t)=>{var i;Object.entries((i=t.o.t)!=null?i:{}).map((([s,[o]])=>{if(31&o||32&o){const l=e[s],a=V(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);a&&Object.defineProperty(e,s,{get(){return a.get.call(this)},set(r){a.set.call(this,r)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):l!==void 0&&(e[s]=l)}}))},j=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ce=(e,t)=>t in e,I=(e,t)=>(0,console.error)(e,t),U=new Map,pe="http://www.w3.org/1999/xlink",He=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],x=typeof window<"u"?window:{},Be=x.HTMLElement||class{},N={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,i,s)=>e.addEventListener(t,i,s),rel:(e,t,i,s)=>e.removeEventListener(t,i,s),ce:(e,t)=>new CustomEvent(e,t)},Fe=(()=>{var e;let t=!1;try{(e=x.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),K=(()=>{try{return!!x.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),Q=!!K&&!!x.document&&Object.getOwnPropertyDescriptor(x.document.adoptedStyleSheets,"length").writable,X=!1,ue=[],he=[],Ue=(e,t)=>i=>{e.push(i),X||(X=!0,4&N.i?te(ee):N.raf(ee))},ge=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(i){I(i)}e.length=0},ee=()=>{ge(ue),ge(he),(X=ue.length>0)&&N.raf(ee)},te=e=>Promise.resolve(void 0).then(e),We=Ue(he);function Ge(){const e=this.attachShadow({mode:"open"});z===void 0&&(z=null),z&&(Q?e.adoptedStyleSheets.push(z):e.adoptedStyleSheets=[...e.adoptedStyleSheets,z])}var fe=e=>{const t=ie(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&se(t,e.tagName).forEach((s=>{s.nodeType===1&&s.tagName==="SLOT-FB"&&(s.hidden=!!qe(s,M(s),!1).length)}));let i=0;for(i=0;i<t.length;i++){const s=t[i];s.nodeType===1&&ie(s,"childNodes").length&&fe(s)}};function se(e,t,i){let s,o=0,l=[];for(;o<e.length;o++){if(s=e[o],s["s-sr"]&&(!t||s["s-hn"]===t)&&(i===void 0||M(s)===i)&&(l.push(s),i!==void 0))return l;l=[...l,...se(s.childNodes,t,i)]}return l}var qe=(e,t,i=!0)=>{const s=[];(i&&e["s-sr"]||!e["s-sr"])&&s.push(e);let o=e;for(;o=o.nextSibling;)M(o)!==t||!i&&o["s-sr"]||s.push(o);return s},ye=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",M=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function ie(e,t){if("__"+t in e){const i=e["__"+t];return typeof i!="function"?i:i.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var oe,D,A=new WeakMap,me=e=>"sc-"+e.p,le=e=>(e=typeof e)=="object"||e==="function",O=(e,t,...i)=>{let s=null,o=null,l=null,a=!1,r=!1;const n=[],c=d=>{for(let u=0;u<d.length;u++)s=d[u],Array.isArray(s)?c(s):s!=null&&typeof s!="boolean"&&((a=typeof e!="function"&&!le(s))&&(s=String(s)),a&&r?n[n.length-1].h+=s:n.push(a?W(null,s):s),r=a)};if(c(i),t){t.key&&(o=t.key),t.name&&(l=t.name);{const d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter((u=>d[u])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,n,Ye);const p=W(e,null);return p.v=t,n.length>0&&(p.m=n),p.$=o,p.j=l,p},W=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),be={},Ye={forEach:(e,t)=>e.map(ve).forEach(t),map:(e,t)=>e.map(ve).map(t).map(Ze)},ve=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),Ze=e=>{if(typeof e.vtag=="function"){const i={...e.vattrs};return e.vkey&&(i.key=e.vkey),e.vname&&(i.name=e.vname),O(e.vtag,i,...e.vchildren||[])}const t=W(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Se=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let i=!1;for(const o of t){if(i)break;for(const l of e[o])if(typeof l=="string"){i=!0;break}}if(!i)return e;const s={};for(const o of t)s[o]=e[o].map((l=>typeof l=="string"?{[l]:0}:l));return s},xe=(e,t,i)=>e==null||le(e)?e:4&t?(i&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,Je=(e,t,i)=>{const s=N.ce(t,i);return e.dispatchEvent(s),s},_e=(e,t,i,s,o,l)=>{if(i===s)return;let a=ce(e,t),r=t.toLowerCase();if(t==="class"){const n=e.classList,c=Te(i);let p=Te(s);n.remove(...c.filter((d=>d&&!p.includes(d)))),n.add(...p.filter((d=>d&&!c.includes(d))))}else if(t==="style"){for(const n in i)s&&s[n]!=null||(n.includes("-")?e.style.removeProperty(n):e.style[n]="");for(const n in s)i&&s[n]===i[n]||(n.includes("-")?e.style.setProperty(n,s[n]):e.style[n]=s[n])}else if(t!=="key"){if(t==="ref")s&&Xe(s,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const n=t.slice(5);let c;{const p=j(e);if(p&&p.o&&p.o.t){const d=p.o.t[n];d&&d[1]&&(c=d[1])}}return c||(c=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(s==null||s===!1?s===!1&&e.getAttribute(c)!==""||e.removeAttribute(c):e.setAttribute(c,s===!0?"":s))}if(t[0]==="p"&&t.startsWith("prop:")){const n=t.slice(5);try{e[n]=s}catch{}return}{const n=le(s);if((a||n&&s!==null)&&!o)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const p=s??"";t==="list"?a=!1:i!=null&&e[t]===p||(typeof e.__lookupSetter__(t)=="function"?e[t]=p:e.setAttribute(t,p))}}catch{}let c=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,c=!0),s==null||s===!1?s===!1&&e.getAttribute(t)!==""||(c?e.removeAttributeNS(pe,t):e.removeAttribute(t)):(!a||4&l||o)&&!n&&e.nodeType===1&&(s=s===!0?"":s,c?e.setAttributeNS(pe,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):ce(x,r)?r.slice(2):r[2]+t.slice(3),i||s){const n=t.endsWith(Ne);t=t.replace(Qe,""),i&&N.rel(e,t,i,n),s&&N.ael(e,t,s,n)}}},Ke=/\s/,Te=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(Ke):[]),Ne="Capture",Qe=new RegExp(Ne+"$"),ne=(e,t,i)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,o=e&&e.v||{},l=t.v||{};for(const a of we(Object.keys(o)))a in l||_e(s,a,o[a],void 0,i,t.i);for(const a of we(Object.keys(l)))_e(s,a,o[a],l[a],i,t.i)};function we(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var H=!1,G=!1,q=!1,w=!1,ae=[],re=[],Y=(e,t,i)=>{var s;const o=t.m[i];let l,a,r,n=0;if(H||(q=!0,o.O==="slot"&&(o.i|=o.m?2:1)),o.h!=null)l=o.S=x.document.createTextNode(o.h);else if(1&o.i)l=o.S=x.document.createTextNode(""),ne(null,o,w);else{if(w||(w=o.O==="svg"),!x.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=o.S=x.document.createElementNS(w?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!H&&2&o.i?"slot-fb":o.O),w&&o.O==="foreignObject"&&(w=!1),ne(null,o,w),o.m){const c=o.O==="template"?l.content:l;for(n=0;n<o.m.length;++n)a=Y(e,o,n),a&&c.appendChild(a)}o.O==="svg"?w=!1:l.tagName==="foreignObject"&&(w=!0)}return l["s-hn"]=D,3&o.i&&(l["s-sr"]=!0,l["s-cr"]=oe,l["s-sn"]=o.j||"",l["s-rf"]=(s=o.v)==null?void 0:s.ref,(function(c){if(c.assignedElements||c.assignedNodes||!c["s-sr"])return;const p=d=>(function(u){const f=[],h=this["s-sn"];u?.flatten&&console.error(`
2
+ Flattening is not supported for Stencil non-shadow slots.
3
+ You can use \`.childNodes\` to nested slot fallback content.
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:(v=>{const m=[];for(let y=0;y<v.length;y++){const g=v[y]["s-nr"]||void 0;g&&g.isConnected&&m.push(g)}return m})(S.childNodes)).forEach((v=>{h===M(v)&&f.push(v)})),d?f.filter((v=>v.nodeType===1)):f}).bind(c);c.assignedElements=p(!0),c.assignedNodes=p(!1)})(l),r=e&&e.m&&e.m[i],r&&r.O===o.O&&e.S&&Ce(e.S)),l},Ce=e=>{N.i|=1;const t=e.closest(D.toLowerCase());if(t!=null){const i=Array.from(t.__childNodes||t.childNodes).find((o=>o["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const o of i?s.reverse():s)o["s-sh"]!=null&&(E(t,o,i??null),o["s-sh"]=void 0,q=!0)}N.i&=-2},Z=(e,t)=>{N.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"]===D&&i.push(s)}for(let s=i.length-1;s>=0;s--){const o=i[s];o["s-hn"]!==D&&o["s-ol"]&&(E(B(o).parentNode,o,B(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,q=!0),t&&Z(o,t)}N.i&=-2},ke=(e,t,i,s,o,l)=>{let a,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===D&&(r=r.shadowRoot),i.O==="template"&&(r=r.content);o<=l;++o)s[o]&&(a=Y(null,i,o),a&&(s[o].S=a,E(r,a,B(t))))},Oe=(e,t,i)=>{for(let s=t;s<=i;++s){const o=e[s];if(o){const l=o.S;Le(o),l&&(G=!0,l["s-ol"]?l["s-ol"].remove():Z(l,!0),l.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.$),B=e=>e&&e["s-ol"]||e,R=(e,t,i=!1)=>{const s=t.S=e.S,o=e.m,l=t.m,a=t.O,r=t.h;let n;r==null?(w=a==="svg"||a!=="foreignObject"&&w,a!=="slot"||H||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Ce(t.S.parentElement)),ne(e,t,w),o!==null&&l!==null?((c,p,d,u,f=!1)=>{let h,S,v=0,m=0,y=0,g=0,T=p.length-1,b=p[0],_=p[T],C=u.length-1,k=u[0],L=u[C];const ze=d.O==="template"?c.content:c;for(;v<=T&&m<=C;)if(b==null)b=p[++v];else if(_==null)_=p[--T];else if(k==null)k=u[++m];else if(L==null)L=u[--C];else if(J(b,k,f))R(b,k,f),b=p[++v],k=u[++m];else if(J(_,L,f))R(_,L,f),_=p[--T],L=u[--C];else if(J(b,L,f))b.O!=="slot"&&L.O!=="slot"||Z(b.S.parentNode,!1),R(b,L,f),E(ze,b.S,_.S.nextSibling),b=p[++v],L=u[--C];else if(J(_,k,f))b.O!=="slot"&&L.O!=="slot"||Z(_.S.parentNode,!1),R(_,k,f),E(ze,_.S,b.S),_=p[--T],k=u[++m];else{for(y=-1,g=v;g<=T;++g)if(p[g]&&p[g].$!==null&&p[g].$===k.$){y=g;break}y>=0?(S=p[y],S.O!==k.O?h=Y(p&&p[m],d,y):(R(S,k,f),p[y]=void 0,h=S.S),k=u[++m]):(h=Y(p&&p[m],d,m),k=u[++m]),h&&E(B(b.S).parentNode,h,B(b.S))}v>T?ke(c,u[C+1]==null?null:u[C+1].S,d,u,m,C):m>C&&Oe(p,v,T)})(s,o,t,l,i):l!==null?(e.h!==null&&(s.textContent=""),ke(s,null,t,l,0,l.length-1)):!i&&o!==null&&Oe(o,0,o.length-1),w&&a==="svg"&&(w=!1)):(n=s["s-cr"])?n.parentNode.textContent=r:e.h!==r&&(s.data=r)},$=[],Ee=e=>{let t,i,s;const o=e.__childNodes||e.childNodes;for(const l of o){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){i=t.parentNode.__childNodes||t.parentNode.childNodes;const a=l["s-sn"];for(s=i.length-1;s>=0;s--)if(t=i[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,a)){let r=$.find((n=>n.k===t));G=!0,t["s-sn"]=t["s-sn"]||a,r?(r.k["s-sh"]=l["s-hn"],r.N=l):(t["s-sh"]=l["s-hn"],$.push({N:l,k:t})),t["s-sr"]&&$.map((n=>{ye(n.k,t["s-sn"])&&(r=$.find((c=>c.k===t)),r&&!n.N&&(n.N=r.N))}))}else $.some((r=>r.k===t))||$.push({k:t})}l.nodeType===1&&Ee(l)}},Le=e=>{e.v&&e.v.ref&&ae.push((()=>e.v.ref(null))),e.m&&e.m.map(Le)},Xe=(e,t)=>{re.push((()=>e(t)))},E=(e,t,i,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,i);const{slotNode:o}=(function(l,a){var r;if(!(a=a||((r=l["s-ol"])==null?void 0:r.parentElement)))return{slotNode:null,slotName:""};const n=l["s-sn"]=M(l)||"";return{slotNode:se(ie(a,"childNodes"),a.tagName,n)[0],slotName:n}})(t);return o&&!s&&o.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,i):e?.insertBefore(t,i)},et=(e,t,i=!1)=>{var s,o,l,a,r;const n=e.$hostElement$,c=e.o,p=e.M||W(null,null);var d;const u=(d=t)&&d.O===be?t:O(null,null,t);if(D=n.tagName,c.C&&(u.v=u.v||{},c.C.forEach((([f,h])=>{u.v[h]=n[f]}))),i&&u.v)for(const f of Object.keys(u.v))n.hasAttribute(f)&&!["key","ref","style","class"].includes(f)&&(u.v[f]=n[f]);if(u.O=null,u.i|=4,e.M=u,u.S=p.S=n.shadowRoot||n,H=!(!(1&c.i)||128&c.i),oe=n["s-cr"],G=!1,R(p,u,i),N.i|=1,q){Ee(u.S);for(const f of $){const h=f.k;if(!h["s-ol"]&&x.document){const S=x.document.createTextNode("");S["s-nr"]=h,E(h.parentNode,h["s-ol"]=S,h,i)}}for(const f of $){const h=f.k,S=f.N;if(h.nodeType===1&&i&&(h["s-ih"]=(s=h.hidden)!=null&&s),S){const v=S.parentNode;let m=S.nextSibling;if(m&&m.nodeType===1){let y=(o=h["s-ol"])==null?void 0:o.previousSibling;for(;y;){let g=(l=y["s-nr"])!=null?l:null;if(g&&g["s-sn"]===h["s-sn"]&&v===(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&&v!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==m)&&h!==m){if(E(v,h,m,i),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=x.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,E(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&&fe(u.S),N.i&=-2,$.length=0,!H&&!(1&c.i)&&n["s-cr"]){const f=u.S.__childNodes||u.S.childNodes;for(const h of f)if(h["s-hn"]!==D&&!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=x.document.createComment("s-nt-"+h.nodeValue);S["s-sn"]=h["s-sn"],E(h.parentNode,S,h,i),h.parentNode.removeChild(h)}}}oe=void 0,ae.forEach((f=>f())),ae.length=0,re.forEach((f=>f())),re.length=0},je=(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()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);je(e,e.R);const i=()=>tt(e,t);if(!t)return We(i);queueMicrotask((()=>{i()}))},tt=(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 o;return o=F(s,t?"componentWillLoad":"componentWillUpdate",void 0,i),o=$e(o,(()=>F(s,"componentWillRender",void 0,i))),$e(o,(()=>it(e,s,t)))},$e=(e,t)=>st(e)?e.then(t).catch((i=>{console.error(i),t()})):t(),st=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",it=async(e,t,i)=>{var s;const o=e.$hostElement$,l=o["s-rc"];i&&(a=>{const r=a.o,n=a.$hostElement$,c=r.i,p=((d,u)=>{var f,h,S;const v=me(u),m=U.get(v);if(!x.document)return v;if(d=d.nodeType===11?d:x.document,m)if(typeof m=="string"){let y,g=A.get(d=d.head||d);if(g||A.set(d,g=new Set),!g.has(v)){y=x.document.createElement("style"),y.textContent=m;const T=(f=N._)!=null?f:(function(){var b,_,C;return(C=(_=(b=x.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:_.getAttribute("content"))!=null?C:void 0})();if(T!=null&&y.setAttribute("nonce",T),!(1&u.i))if(d.nodeName==="HEAD"){const b=d.querySelectorAll("link[rel=preconnect]"),_=b.length>0?b[b.length-1].nextSibling:d.querySelector("style");d.insertBefore(y,_?.parentNode===d?_: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(v)}}else{let y=A.get(d);if(y||A.set(d,y=new Set),!y.has(v)){const g=(S=d.defaultView)!=null?S:d.ownerDocument.defaultView;let T;if(m.constructor===g.CSSStyleSheet)T=m;else{T=new g.CSSStyleSheet;for(let b=0;b<m.cssRules.length;b++)T.insertRule(m.cssRules[b].cssText,b)}Q?d.adoptedStyleSheets.push(T):d.adoptedStyleSheets=[...d.adoptedStyleSheets,T],y.add(v)}}return v})(n.shadowRoot?n.shadowRoot:n.getRootNode(),r);10&c&&(n["s-sc"]=p,n.classList.add(p+"-h"))})(e),ot(e,t,o,i),l&&(l.map((a=>a())),o["s-rc"]=void 0);{const a=(s=o["s-p"])!=null?s:[],r=()=>lt(e);a.length===0?r():(Promise.all(a).then(r).catch(r),e.i|=4,a.length=0)}},ot=(e,t,i,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,et(e,t,s)}catch(o){I(o,e.$hostElement$)}return null},lt=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,at(t),F(i,"componentDidLoad",void 0,t),e.L(t),s||nt()),e.A&&(e.A(),e.A=void 0),512&e.i&&te((()=>de(e,!1))),e.i&=-517},nt=()=>{te((()=>Je(x,"appload",{detail:{namespace:"gids-core-web"}})))},F=(e,t,i,s)=>{if(e&&e[t])try{return e[t](i)}catch(o){I(o,s)}},at=e=>e.classList.add("hydrated"),Ae=(e,t,i,s)=>{const o=j(e);if(!o)return;const l=e,a=o.l.get(t),r=o.i,n=l;i=xe(i,s.t[t][0],!!(64&s.i));const c=Number.isNaN(a)&&Number.isNaN(i);if(i!==a&&!c){if(o.l.set(t,i),s.F){const p=s.F[t];p&&p.map((d=>{try{const[[u,f]]=Object.entries(d);(128&r||1&f)&&(n?n[u](i,a,t):o.T.push((()=>{o.D[u](i,a,t)})))}catch(u){I(u,l)}}))}if(2&r){if(n.componentShouldUpdate&&n.componentShouldUpdate(i,a,t)===!1&&!(16&r))return;16&r||de(o,!1)}}},rt=(e,t,i)=>{var s,o;const l=e.prototype;64&t.i&&1&i&&He.forEach((a=>{const r=l[a];Object.defineProperty(l,a,{value(...n){var c;const p=j(this),d=this;d?typeof r=="function"&&r.call(d,...n):(c=p?.H)==null||c.then((u=>{const f=u[a];typeof f=="function"&&f.call(u,...n)}))}})}));{e.watchers&&!t.F&&(t.F=Se(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,[n]])=>{if(31&n||32&n){const{get:c,set:p}=V(l,r)||{};c&&(t.t[r][0]|=2048),p&&(t.t[r][0]|=4096),Object.defineProperty(l,r,{get(){return c?c.apply(this):(d=r,j(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(l,r,{set(d){const u=j(this);if(u){if(p)return(32&n?this[r]:u.$hostElement$[r])===void 0&&u.l.get(r)&&(d=u.l.get(r)),p.apply(this,[xe(d,n,!!(64&t.i))]),void Ae(this,r,d=32&n?this[r]:u.$hostElement$[r],t);Ae(this,r,d,t)}}})}}));{const r=new Map;l.attributeChangedCallback=function(n,c,p){N.jmp((()=>{var d;const u=r.get(n),f=j(this);if(this.hasOwnProperty(u),l.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==p)return;if(u==null){const y=f?.i;if(f&&y&&!(8&y)&&p!==c){const g=this,T=(d=t.F)==null?void 0:d[n];T?.forEach((b=>{const[[_,C]]=Object.entries(b);g[_]!=null&&(128&y||1&C)&&g[_].call(g,p,c,n)}))}return}const h=a.find((([y])=>y===u)),S=h&&4&h[1][0],v=S&&p===null&&this[u]===void 0;S&&(p=p!==null&&p!=="false");const m=Object.getOwnPropertyDescriptor(l,u);v||p==this[u]||m.get&&!m.set||(this[u]=p)}))},e.observedAttributes=Array.from(new Set([...Object.keys((o=t.F)!=null?o:{}),...a.filter((([n,c])=>31&c[0])).map((([n,c])=>{var p;const d=c[1]||n;return r.set(d,n),512&c[0]&&((p=t.C)==null||p.push([n,d])),d}))]))}}return e},dt=(e,t)=>{const i={i:t[0],p:t[1]};try{i.t=t[2],i.W=t[3],i.F=Se(e.F),i.P=e.P,i.U=e.U,i.C=[];const s=e.prototype.connectedCallback,o=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,a)=>{const r={i:0,$hostElement$:l,o:a,l:new Map,B:new Map};r.H=new Promise((c=>r.L=c)),l["s-p"]=[],l["s-rc"]=[];const n=r;l.__stencil__getHostRef=()=>n,512&a.i&&Me(l,r)})(this,i)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=j(this);if(!l)return;Pe(this,l,i.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&N.i)){const a=j(l);if(!a)return;const r=a.o;if(1&a.i)Pe(l,a,r.W),a?.D||a?.H&&a.H.then((()=>{}));else{a.i|=1,12&r.i&&(n=>{if(!x.document)return;const c=n["s-cr"]=x.document.createComment("");c["s-cn"]=!0,E(n,c,n.firstChild)})(l);{let n=l;for(;n=n.parentNode||n.host;)if(n["s-p"]){je(a,a.R=n);break}}r.t&&Object.entries(r.t).map((([n,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(l,n)){const p=l[n];delete l[n],l[n]=p}})),(async(n,c,p)=>{let d;try{if(!(32&c.i)&&(c.i|=32,d=n.constructor,customElements.whenDefined(n.localName).then((()=>c.i|=128)),d&&d.style)){let h;typeof d.style=="string"&&(h=d.style);const S=me(p);U.has(S)||((v,m,y)=>{let g=U.get(v);K&&y?(g=g||new CSSStyleSheet,typeof g=="string"?g=m:g.replaceSync(m)):g=m,U.set(v,g)})(S,h,!!(1&p.i))}const u=c.R,f=()=>de(c,!0);u&&u["s-rc"]?u["s-rc"].push(f):f()}catch(u){I(u,n),c.A&&(c.A(),c.A=void 0),c.L&&c.L(n)}})(l,a,r)}}})(this),s&&s.call(this)},disconnectedCallback(){(async l=>{if(!(1&N.i)){const a=j(l);a?.V&&(a.V.map((r=>r())),a.V=void 0)}A.has(l)&&A.delete(l),l.shadowRoot&&A.has(l.shadowRoot)&&A.delete(l.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 ${i.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ge.call(this,i)}}),Object.defineProperty(e,"is",{value:i.p,configurable:!0}),rt(e,i,3)}catch(s){return I(s),e}},Pe=(e,t,i)=>{i&&x.document&&i.map((([s,o,l])=>{const a=pt(x.document,e,s),r=ct(t,l),n=ut(s);N.ael(a,o,r,n),(t.V=t.V||[]).push((()=>N.rel(a,o,r,n)))}))},ct=(e,t)=>i=>{try{e.$hostElement$[t](i)}catch(s){I(s,e.$hostElement$)}},pt=(e,t,i)=>8&i?x:t,ut=e=>Fe?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function St(e){return e}function Ie(e){var t,i,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(i=Ie(e[t]))&&(s&&(s+=" "),s+=i)}else for(i in e)e[i]&&(s&&(s+=" "),s+=i);return s}function De(){for(var e,t,i=0,s="",o=arguments.length;i<o;i++)(e=arguments[i])&&(t=Ie(e))&&(s&&(s+=" "),s+=t);return s}const ht=Object.freeze(Object.defineProperty({__proto__:null,getGidsDisplaTagClassNames:({size:e,appearance:t,color:i},s)=>De("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"})),gt=Object.freeze(Object.defineProperty({__proto__:null,getGidsExpansionBodyListItemClassNames:e=>De("gids-expansion-body-list-item",e)},Symbol.toStringTag,{value:"Module"})),{getGidsDisplaTagClassNames:ft}=ht,yt=({label:e,appearance:t="subtle",color:i,size:s="md",icon:o,class:l,...a})=>O("span",{class:ft({size:s,appearance:t,color:i},l),...a},o,e),{getGidsExpansionBodyListItemClassNames:mt}=gt,Ve=dt(class extends Be{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=mt(),t=this?.label,i=this?.subtitle,s=this?.supportingText,o=this.isValidLabel(),l=this.isValidSubtitle(),a=this.isValidSupportingText(),r=this.isDisplayTagVisible(),n=this?.displayTagLabel??"";return O(be,{key:"f70f03c864cc5d3fe92f7f22a1772054636c1e9c",class:e},o||l||r?O("div",{class:"gids-expansion-body-list-item__primary-container"},o||r?O("div",{class:"gids-expansion-body-list-item__primary-content"},o?O("span",{class:"gids-expansion-body-list-item__label"},this.convertTextToUppercase(t)):void 0,r?O(yt,{color:this.displayTagColor||"accent-5",label:n,size:this.displayTagSize,appearance:this.displayTagAppearance}):void 0):void 0,l?O("button",{type:"button",class:"gids-expansion-body-list-item__subtitle",onClick:this.handleSubtitleClick},i):void 0):void 0,a?O("div",{class:"gids-expansion-body-list-item__secondary-container"},O("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,Ve))}))}Re();const bt=Ve,vt=Re;P.GidsExpansionBodyListItem=bt,P.defineCustomElement=vt,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"})}));
@@ -0,0 +1,5 @@
1
+ (function(j,D){typeof exports=="object"&&typeof module<"u"?D(exports):typeof define=="function"&&define.amd?define(["exports"],D):(j=typeof globalThis<"u"?globalThis:j||self,D(j.gidsCoreWebGidsExpansionBodyList={}))})(this,(function(j){"use strict";function D(e,t,i){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const n=Object.getOwnPropertyDescriptor(e,t);if(n&&(!i||n.get))return n;e=Object.getPrototypeOf(e)}}var R,Fe=(e,t)=>{var i;Object.entries((i=t.o.t)!=null?i:{}).map((([s,[n]])=>{if(31&n||32&n){const o=e[s],a=D(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);a&&Object.defineProperty(e,s,{get(){return a.get.call(this)},set(r){a.set.call(this,r)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):o!==void 0&&(e[s]=o)}}))},k=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ue=(e,t)=>t in e,$=(e,t)=>(0,console.error)(e,t),U=new Map,he="http://www.w3.org/1999/xlink",Ue=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],v=typeof window<"u"?window:{},ge=v.HTMLElement||class{},T={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,i,s)=>e.addEventListener(t,i,s),rel:(e,t,i,s)=>e.removeEventListener(t,i,s),ce:(e,t)=>new CustomEvent(e,t)},We=(()=>{var e;let t=!1;try{(e=v.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),K=(()=>{try{return!!v.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),Q=!!K&&!!v.document&&Object.getOwnPropertyDescriptor(v.document.adoptedStyleSheets,"length").writable,X=!1,fe=[],ye=[],Ge=(e,t)=>i=>{e.push(i),X||(X=!0,4&T.i?te(ee):T.raf(ee))},me=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(i){$(i)}e.length=0},ee=()=>{me(fe),me(ye),(X=fe.length>0)&&T.raf(ee)},te=e=>Promise.resolve(void 0).then(e),qe=Ge(ye);function Ye(){const e=this.attachShadow({mode:"open"});R===void 0&&(R=null),R&&(Q?e.adoptedStyleSheets.push(R):e.adoptedStyleSheets=[...e.adoptedStyleSheets,R])}var be=e=>{const t=ie(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&se(t,e.tagName).forEach((s=>{s.nodeType===1&&s.tagName==="SLOT-FB"&&(s.hidden=!!Ze(s,z(s),!1).length)}));let i=0;for(i=0;i<t.length;i++){const s=t[i];s.nodeType===1&&ie(s,"childNodes").length&&be(s)}};function se(e,t,i){let s,n=0,o=[];for(;n<e.length;n++){if(s=e[n],s["s-sr"]&&(!t||s["s-hn"]===t)&&(i===void 0||z(s)===i)&&(o.push(s),i!==void 0))return o;o=[...o,...se(s.childNodes,t,i)]}return o}var Ze=(e,t,i=!0)=>{const s=[];(i&&e["s-sr"]||!e["s-sr"])&&s.push(e);let n=e;for(;n=n.nextSibling;)z(n)!==t||!i&&n["s-sr"]||s.push(n);return s},xe=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",z=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function ie(e,t){if("__"+t in e){const i=e["__"+t];return typeof i!="function"?i:i.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var ne,A,P=new WeakMap,Se=e=>"sc-"+e.p,oe=e=>(e=typeof e)=="object"||e==="function",C=(e,t,...i)=>{let s=null,n=null,o=null,a=!1,r=!1;const l=[],p=d=>{for(let u=0;u<d.length;u++)s=d[u],Array.isArray(s)?p(s):s!=null&&typeof s!="boolean"&&((a=typeof e!="function"&&!oe(s))&&(s=String(s)),a&&r?l[l.length-1].h+=s:l.push(a?W(null,s):s),r=a)};if(p(i),t){t.key&&(n=t.key),t.name&&(o=t.name);{const d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter((u=>d[u])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,l,Je);const c=W(e,null);return c.v=t,l.length>0&&(c.m=l),c.$=n,c.j=o,c},W=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),le={},Je={forEach:(e,t)=>e.map(ve).forEach(t),map:(e,t)=>e.map(ve).map(t).map(Ke)},ve=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),Ke=e=>{if(typeof e.vtag=="function"){const i={...e.vattrs};return e.vkey&&(i.key=e.vkey),e.vname&&(i.name=e.vname),C(e.vtag,i,...e.vchildren||[])}const t=W(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Le=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let i=!1;for(const n of t){if(i)break;for(const o of e[n])if(typeof o=="string"){i=!0;break}}if(!i)return e;const s={};for(const n of t)s[n]=e[n].map((o=>typeof o=="string"?{[o]:0}:o));return s},_e=(e,t,i)=>e==null||oe(e)?e:4&t?(i&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,Qe=(e,t,i)=>{const s=T.ce(t,i);return e.dispatchEvent(s),s},Te=(e,t,i,s,n,o)=>{if(i===s)return;let a=ue(e,t),r=t.toLowerCase();if(t==="class"){const l=e.classList,p=Ee(i);let c=Ee(s);l.remove(...p.filter((d=>d&&!c.includes(d)))),l.add(...c.filter((d=>d&&!p.includes(d))))}else if(t==="style"){for(const l in i)s&&s[l]!=null||(l.includes("-")?e.style.removeProperty(l):e.style[l]="");for(const l in s)i&&s[l]===i[l]||(l.includes("-")?e.style.setProperty(l,s[l]):e.style[l]=s[l])}else if(t!=="key"){if(t==="ref")s&&tt(s,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const l=t.slice(5);let p;{const c=k(e);if(c&&c.o&&c.o.t){const d=c.o.t[l];d&&d[1]&&(p=d[1])}}return p||(p=l.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(s==null||s===!1?s===!1&&e.getAttribute(p)!==""||e.removeAttribute(p):e.setAttribute(p,s===!0?"":s))}if(t[0]==="p"&&t.startsWith("prop:")){const l=t.slice(5);try{e[l]=s}catch{}return}{const l=oe(s);if((a||l&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const c=s??"";t==="list"?a=!1:i!=null&&e[t]===c||(typeof e.__lookupSetter__(t)=="function"?e[t]=c:e.setAttribute(t,c))}}catch{}let p=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,p=!0),s==null||s===!1?s===!1&&e.getAttribute(t)!==""||(p?e.removeAttributeNS(he,t):e.removeAttribute(t)):(!a||4&o||n)&&!l&&e.nodeType===1&&(s=s===!0?"":s,p?e.setAttributeNS(he,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):ue(v,r)?r.slice(2):r[2]+t.slice(3),i||s){const l=t.endsWith(we);t=t.replace(et,""),i&&T.rel(e,t,i,l),s&&T.ael(e,t,s,l)}}},Xe=/\s/,Ee=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(Xe):[]),we="Capture",et=new RegExp(we+"$"),ae=(e,t,i)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,n=e&&e.v||{},o=t.v||{};for(const a of Ce(Object.keys(n)))a in o||Te(s,a,n[a],void 0,i,t.i);for(const a of Ce(Object.keys(o)))Te(s,a,n[a],o[a],i,t.i)};function Ce(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var M=!1,G=!1,q=!1,E=!1,re=[],de=[],Y=(e,t,i)=>{var s;const n=t.m[i];let o,a,r,l=0;if(M||(q=!0,n.O==="slot"&&(n.i|=n.m?2:1)),n.h!=null)o=n.S=v.document.createTextNode(n.h);else if(1&n.i)o=n.S=v.document.createTextNode(""),ae(null,n,E);else{if(E||(E=n.O==="svg"),!v.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(o=n.S=v.document.createElementNS(E?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!M&&2&n.i?"slot-fb":n.O),E&&n.O==="foreignObject"&&(E=!1),ae(null,n,E),n.m){const p=n.O==="template"?o.content:o;for(l=0;l<n.m.length;++l)a=Y(e,n,l),a&&p.appendChild(a)}n.O==="svg"?E=!1:o.tagName==="foreignObject"&&(E=!0)}return o["s-hn"]=A,3&n.i&&(o["s-sr"]=!0,o["s-cr"]=ne,o["s-sn"]=n.j||"",o["s-rf"]=(s=n.v)==null?void 0:s.ref,(function(p){if(p.assignedElements||p.assignedNodes||!p["s-sr"])return;const c=d=>(function(u){const f=[],h=this["s-sn"];u?.flatten&&console.error(`
2
+ Flattening is not supported for Stencil non-shadow slots.
3
+ You can use \`.childNodes\` to nested slot fallback content.
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"})}));
@@ -0,0 +1,5 @@
1
+ (function(P,H){typeof exports=="object"&&typeof module<"u"?H(exports):typeof define=="function"&&define.amd?define(["exports"],H):(P=typeof globalThis<"u"?globalThis:P||self,H(P.gidsCoreWebGidsExpansionGroup={}))})(this,(function(P){"use strict";function H(e,t,o){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const n=Object.getOwnPropertyDescriptor(e,t);if(n&&(!o||n.get))return n;e=Object.getPrototypeOf(e)}}var D,Fe=(e,t)=>{var o;Object.entries((o=t.o.t)!=null?o:{}).map((([s,[n]])=>{if(31&n||32&n){const l=e[s],i=H(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);i&&Object.defineProperty(e,s,{get(){return i.get.call(this)},set(c){i.set.call(this,c)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):l!==void 0&&(e[s]=l)}}))},x=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ue=(e,t)=>t in e,R=(e,t)=>(0,console.error)(e,t),G=new Map,de="http://www.w3.org/1999/xlink",Ve=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],N=typeof window<"u"?window:{},We=N.HTMLElement||class{},_={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,o,s)=>e.addEventListener(t,o,s),rel:(e,t,o,s)=>e.removeEventListener(t,o,s),ce:(e,t)=>new CustomEvent(e,t)},Be=(()=>{var e;let t=!1;try{(e=N.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),K=(()=>{try{return!!N.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),Q=!!K&&!!N.document&&Object.getOwnPropertyDescriptor(N.document.adoptedStyleSheets,"length").writable,X=!1,fe=[],he=[],Ge=(e,t)=>o=>{e.push(o),X||(X=!0,4&_.i?te(ee):_.raf(ee))},pe=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(o){R(o)}e.length=0},ee=()=>{pe(fe),pe(he),(X=fe.length>0)&&_.raf(ee)},te=e=>Promise.resolve(void 0).then(e),Ue=Ge(he);function qe(){const e=this.attachShadow({mode:"open"});D===void 0&&(D=null),D&&(Q?e.adoptedStyleSheets.push(D):e.adoptedStyleSheets=[...e.adoptedStyleSheets,D])}var me=e=>{const t=oe(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&se(t,e.tagName).forEach((s=>{s.nodeType===1&&s.tagName==="SLOT-FB"&&(s.hidden=!!ze(s,F(s),!1).length)}));let o=0;for(o=0;o<t.length;o++){const s=t[o];s.nodeType===1&&oe(s,"childNodes").length&&me(s)}};function se(e,t,o){let s,n=0,l=[];for(;n<e.length;n++){if(s=e[n],s["s-sr"]&&(!t||s["s-hn"]===t)&&(o===void 0||F(s)===o)&&(l.push(s),o!==void 0))return l;l=[...l,...se(s.childNodes,t,o)]}return l}var ze=(e,t,o=!0)=>{const s=[];(o&&e["s-sr"]||!e["s-sr"])&&s.push(e);let n=e;for(;n=n.nextSibling;)F(n)!==t||!o&&n["s-sr"]||s.push(n);return s},ye=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",F=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function oe(e,t){if("__"+t in e){const o=e["__"+t];return typeof o!="function"?o:o.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var ne,L,T=new WeakMap,ge=e=>"sc-"+e.p,le=e=>(e=typeof e)=="object"||e==="function",U=(e,t,...o)=>{let s=null,n=null,l=null,i=!1,c=!1;const r=[],u=a=>{for(let f=0;f<a.length;f++)s=a[f],Array.isArray(s)?u(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!le(s))&&(s=String(s)),i&&c?r[r.length-1].h+=s:r.push(i?q(null,s):s),c=i)};if(u(o),t){t.key&&(n=t.key),t.name&&(l=t.name);{const a=t.className||t.class;a&&(t.class=typeof a!="object"?a:Object.keys(a).filter((f=>a[f])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,r,Ye);const d=q(e,null);return d.v=t,r.length>0&&(d.m=r),d.$=n,d.j=l,d},q=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),ve={},Ye={forEach:(e,t)=>e.map(Se).forEach(t),map:(e,t)=>e.map(Se).map(t).map(Ie)},Se=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),Ie=e=>{if(typeof e.vtag=="function"){const o={...e.vattrs};return e.vkey&&(o.key=e.vkey),e.vname&&(o.name=e.vname),U(e.vtag,o,...e.vchildren||[])}const t=q(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},be=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let o=!1;for(const n of t){if(o)break;for(const l of e[n])if(typeof l=="string"){o=!0;break}}if(!o)return e;const s={};for(const n of t)s[n]=e[n].map((l=>typeof l=="string"?{[l]:0}:l));return s},Ne=(e,t,o)=>e==null||le(e)?e:4&t?(o&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,Ze=(e,t,o)=>{const s=_.ce(t,o);return e.dispatchEvent(s),s},we=(e,t,o,s,n,l)=>{if(o===s)return;let i=ue(e,t),c=t.toLowerCase();if(t==="class"){const r=e.classList,u=Oe(o);let d=Oe(s);r.remove(...u.filter((a=>a&&!d.includes(a)))),r.add(...d.filter((a=>a&&!u.includes(a))))}else if(t==="style"){for(const r in o)s&&s[r]!=null||(r.includes("-")?e.style.removeProperty(r):e.style[r]="");for(const r in s)o&&s[r]===o[r]||(r.includes("-")?e.style.setProperty(r,s[r]):e.style[r]=s[r])}else if(t!=="key"){if(t==="ref")s&&Qe(s,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const r=t.slice(5);let u;{const d=x(e);if(d&&d.o&&d.o.t){const a=d.o.t[r];a&&a[1]&&(u=a[1])}}return u||(u=r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(s==null||s===!1?s===!1&&e.getAttribute(u)!==""||e.removeAttribute(u):e.setAttribute(u,s===!0?"":s))}if(t[0]==="p"&&t.startsWith("prop:")){const r=t.slice(5);try{e[r]=s}catch{}return}{const r=le(s);if((i||r&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const d=s??"";t==="list"?i=!1:o!=null&&e[t]===d||(typeof e.__lookupSetter__(t)=="function"?e[t]=d:e.setAttribute(t,d))}}catch{}let u=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,u=!0),s==null||s===!1?s===!1&&e.getAttribute(t)!==""||(u?e.removeAttributeNS(de,t):e.removeAttribute(t)):(!i||4&l||n)&&!r&&e.nodeType===1&&(s=s===!0?"":s,u?e.setAttributeNS(de,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):ue(N,c)?c.slice(2):c[2]+t.slice(3),o||s){const r=t.endsWith(_e);t=t.replace(Ke,""),o&&_.rel(e,t,o,r),s&&_.ael(e,t,s,r)}}},Je=/\s/,Oe=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(Je):[]),_e="Capture",Ke=new RegExp(_e+"$"),re=(e,t,o)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,n=e&&e.v||{},l=t.v||{};for(const i of Ee(Object.keys(n)))i in l||we(s,i,n[i],void 0,o,t.i);for(const i of Ee(Object.keys(l)))we(s,i,n[i],l[i],o,t.i)};function Ee(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var V=!1,z=!1,Y=!1,E=!1,ie=[],ce=[],I=(e,t,o)=>{var s;const n=t.m[o];let l,i,c,r=0;if(V||(Y=!0,n.O==="slot"&&(n.i|=n.m?2:1)),n.h!=null)l=n.S=N.document.createTextNode(n.h);else if(1&n.i)l=n.S=N.document.createTextNode(""),re(null,n,E);else{if(E||(E=n.O==="svg"),!N.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=n.S=N.document.createElementNS(E?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!V&&2&n.i?"slot-fb":n.O),E&&n.O==="foreignObject"&&(E=!1),re(null,n,E),n.m){const u=n.O==="template"?l.content:l;for(r=0;r<n.m.length;++r)i=I(e,n,r),i&&u.appendChild(i)}n.O==="svg"?E=!1:l.tagName==="foreignObject"&&(E=!0)}return l["s-hn"]=L,3&n.i&&(l["s-sr"]=!0,l["s-cr"]=ne,l["s-sn"]=n.j||"",l["s-rf"]=(s=n.v)==null?void 0:s.ref,(function(u){if(u.assignedElements||u.assignedNodes||!u["s-sr"])return;const d=a=>(function(f){const m=[],h=this["s-sn"];f?.flatten&&console.error(`
2
+ Flattening is not supported for Stencil non-shadow slots.
3
+ You can use \`.childNodes\` to nested slot fallback content.
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"})}));