@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
@@ -2,4 +2,4 @@
2
2
  Flattening is not supported for Stencil non-shadow slots.
3
3
  You can use \`.childNodes\` to nested slot fallback content.
4
4
  If you have a particular use case, please open an issue on the Stencil repo.
5
- `);const S=this["s-cr"].parentElement;return(S.__childNodes?S.childNodes:(_=>{const b=[];for(let y=0;y<_.length;y++){const m=_[y]["s-nr"]||void 0;m&&m.isConnected&&b.push(m)}return b})(S.childNodes)).forEach((_=>{p===H(_)&&g.push(_)})),d?g.filter((_=>_.nodeType===1)):g}).bind(c);c.assignedElements=u(!0),c.assignedNodes=u(!1)})(i),a=e&&e.m&&e.m[s],a&&a.O===o.O&&e.S&&Te(e.S)),i},Te=e=>{O.i|=1;const t=e.closest(G.toLowerCase());if(t!=null){const s=Array.from(t.__childNodes||t.childNodes).find((o=>o["s-cr"])),n=Array.from(e.__childNodes||e.childNodes);for(const o of s?n.reverse():n)o["s-sh"]!=null&&(j(t,o,s??null),o["s-sh"]=void 0,K=!0)}O.i&=-2},Z=(e,t)=>{O.i|=1;const s=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let n=e;for(;n=n.nextSibling;)n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===G&&s.push(n)}for(let n=s.length-1;n>=0;n--){const o=s[n];o["s-hn"]!==G&&o["s-ol"]&&(j(F(o).parentNode,o,F(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,K=!0),t&&Z(o,t)}O.i&=-2},Ie=(e,t,s,n,o,i)=>{let r,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===G&&(a=a.shadowRoot),s.O==="template"&&(a=a.content);o<=i;++o)n[o]&&(r=Y(null,s,o),r&&(n[o].S=r,j(a,r,F(t))))},Le=(e,t,s)=>{for(let n=t;n<=s;++n){const o=e[n];if(o){const i=o.S;De(o),i&&(U=!0,i["s-ol"]?i["s-ol"].remove():Z(i,!0),i.remove())}}},J=(e,t,s=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),F=e=>e&&e["s-ol"]||e,B=(e,t,s=!1)=>{const n=t.S=e.S,o=e.m,i=t.m,r=t.O,a=t.h;let l;a==null?(P=r==="svg"||r!=="foreignObject"&&P,r!=="slot"||z||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Te(t.S.parentElement)),de(e,t,P),o!==null&&i!==null?((c,u,d,h,g=!1)=>{let p,S,_=0,b=0,y=0,m=0,C=u.length-1,v=u[0],w=u[C],$=h.length-1,x=h[0],E=h[$];const st=d.O==="template"?c.content:c;for(;_<=C&&b<=$;)if(v==null)v=u[++_];else if(w==null)w=u[--C];else if(x==null)x=h[++b];else if(E==null)E=h[--$];else if(J(v,x,g))B(v,x,g),v=u[++_],x=h[++b];else if(J(w,E,g))B(w,E,g),w=u[--C],E=h[--$];else if(J(v,E,g))v.O!=="slot"&&E.O!=="slot"||Z(v.S.parentNode,!1),B(v,E,g),j(st,v.S,w.S.nextSibling),v=u[++_],E=h[--$];else if(J(w,x,g))v.O!=="slot"&&E.O!=="slot"||Z(w.S.parentNode,!1),B(w,x,g),j(st,w.S,v.S),w=u[--C],x=h[++b];else{for(y=-1,m=_;m<=C;++m)if(u[m]&&u[m].$!==null&&u[m].$===x.$){y=m;break}y>=0?(S=u[y],S.O!==x.O?p=Y(u&&u[b],d,y):(B(S,x,g),u[y]=void 0,p=S.S),x=h[++b]):(p=Y(u&&u[b],d,b),x=h[++b]),p&&j(F(v.S).parentNode,p,F(v.S))}_>C?Ie(c,h[$+1]==null?null:h[$+1].S,d,h,b,$):b>$&&Le(u,_,C)})(n,o,t,i,s):i!==null?(e.h!==null&&(n.textContent=""),Ie(n,null,t,i,0,i.length-1)):!s&&o!==null&&Le(o,0,o.length-1),P&&r==="svg"&&(P=!1)):(l=n["s-cr"])?l.parentNode.textContent=a:e.h!==a&&(n.data=a)},M=[],Ge=e=>{let t,s,n;const o=e.__childNodes||e.childNodes;for(const i of o){if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const r=i["s-sn"];for(n=s.length-1;n>=0;n--)if(t=s[n],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===i["s-hn"]||t["s-sh"]&&t["s-sh"]===i["s-hn"]))if(Ce(t,r)){let a=M.find((l=>l.k===t));U=!0,t["s-sn"]=t["s-sn"]||r,a?(a.k["s-sh"]=i["s-hn"],a.N=i):(t["s-sh"]=i["s-hn"],M.push({N:i,k:t})),t["s-sr"]&&M.map((l=>{Ce(l.k,t["s-sn"])&&(a=M.find((c=>c.k===t)),a&&!l.N&&(l.N=a.N))}))}else M.some((a=>a.k===t))||M.push({k:t})}i.nodeType===1&&Ge(i)}},De=e=>{e.v&&e.v.ref&&ce.push((()=>e.v.ref(null))),e.m&&e.m.map(De)},yt=(e,t)=>{ue.push((()=>e(t)))},j=(e,t,s,n)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:o}=(function(i,r){var a;if(!(r=r||((a=i["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const l=i["s-sn"]=H(i)||"";return{slotNode:ie(le(r,"childNodes"),r.tagName,l)[0],slotName:l}})(t);return o&&!n&&o.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},bt=(e,t,s=!1)=>{var n,o,i,r,a;const l=e.$hostElement$,c=e.o,u=e.M||q(null,null);var d;const h=(d=t)&&d.O===ut?t:f(null,null,t);if(G=l.tagName,c.C&&(h.v=h.v||{},c.C.forEach((([g,p])=>{h.v[p]=l[g]}))),s&&h.v)for(const g of Object.keys(h.v))l.hasAttribute(g)&&!["key","ref","style","class"].includes(g)&&(h.v[g]=l[g]);if(h.O=null,h.i|=4,e.M=h,h.S=u.S=l.shadowRoot||l,z=!(!(1&c.i)||128&c.i),re=l["s-cr"],U=!1,B(u,h,s),O.i|=1,K){Ge(h.S);for(const g of M){const p=g.k;if(!p["s-ol"]&&N.document){const S=N.document.createTextNode("");S["s-nr"]=p,j(p.parentNode,p["s-ol"]=S,p,s)}}for(const g of M){const p=g.k,S=g.N;if(p.nodeType===1&&s&&(p["s-ih"]=(n=p.hidden)!=null&&n),S){const _=S.parentNode;let b=S.nextSibling;if(b&&b.nodeType===1){let y=(o=p["s-ol"])==null?void 0:o.previousSibling;for(;y;){let m=(i=y["s-nr"])!=null?i:null;if(m&&m["s-sn"]===p["s-sn"]&&_===(m.__parentNode||m.parentNode)){for(m=m.nextSibling;m===p||m?.["s-sr"];)m=m?.nextSibling;if(!m||!m["s-nr"]){b=m;break}}y=y.previousSibling}}if((!b&&_!==(p.__parentNode||p.parentNode)||(p.__nextSibling||p.nextSibling)!==b)&&p!==b){if(j(_,p,b,s),p.nodeType===8&&p.nodeValue.startsWith("s-nt-")){const y=N.document.createTextNode(p.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=p["s-hn"],y["s-sn"]=p["s-sn"],y["s-sh"]=p["s-sh"],y["s-sr"]=p["s-sr"],y["s-ol"]=p["s-ol"],y["s-ol"]["s-nr"]=y,j(p.parentNode,y,p,s),p.parentNode.removeChild(p)}p.nodeType===1&&p.tagName!=="SLOT-FB"&&(p.hidden=(r=p["s-ih"])!=null&&r)}p&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else p.nodeType===1&&(p.hidden=!0)}}if(U&&xe(h.S),O.i&=-2,M.length=0,!z&&!(1&c.i)&&l["s-cr"]){const g=h.S.__childNodes||h.S.childNodes;for(const p of g)if(p["s-hn"]!==G&&!p["s-sh"]){if(s&&p["s-ih"]==null&&(p["s-ih"]=(a=p.hidden)!=null&&a),p.nodeType===1)p.hidden=!0;else if(p.nodeType===3&&p.nodeValue.trim()){const S=N.document.createComment("s-nt-"+p.nodeValue);S["s-sn"]=p["s-sn"],j(p.parentNode,S,p,s),p.parentNode.removeChild(p)}}}re=void 0,ce.forEach((g=>g())),ce.length=0,ue.forEach((g=>g())),ue.length=0},Be=(e,t)=>{if(t&&!e.A&&t["s-p"]){const s=t["s-p"].push(new Promise((n=>e.A=()=>{t["s-p"].splice(s-1,1),n()})))}},he=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Be(e,e.R);const s=()=>vt(e,t);if(!t)return at(s);queueMicrotask((()=>{s()}))},vt=(e,t)=>{const s=e.$hostElement$,n=s;if(!n)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return o=V(n,t?"componentWillLoad":"componentWillUpdate",void 0,s),o=Re(o,(()=>V(n,"componentWillRender",void 0,s))),Re(o,(()=>_t(e,n,t)))},Re=(e,t)=>St(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),St=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",_t=async(e,t,s)=>{var n;const o=e.$hostElement$,i=o["s-rc"];s&&(r=>{const a=r.o,l=r.$hostElement$,c=a.i,u=((d,h)=>{var g,p,S;const _=$e(h),b=W.get(_);if(!N.document)return _;if(d=d.nodeType===11?d:N.document,b)if(typeof b=="string"){let y,m=T.get(d=d.head||d);if(m||T.set(d,m=new Set),!m.has(_)){y=N.document.createElement("style"),y.textContent=b;const C=(g=O._)!=null?g:(function(){var v,w,$;return($=(w=(v=N.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:w.getAttribute("content"))!=null?$:void 0})();if(C!=null&&y.setAttribute("nonce",C),!(1&h.i))if(d.nodeName==="HEAD"){const v=d.querySelectorAll("link[rel=preconnect]"),w=v.length>0?v[v.length-1].nextSibling:d.querySelector("style");d.insertBefore(y,w?.parentNode===d?w:null)}else if("host"in d)if(ee){const v=new((p=d.defaultView)!=null?p:d.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(b),te?d.adoptedStyleSheets.unshift(v):d.adoptedStyleSheets=[v,...d.adoptedStyleSheets]}else{const v=d.querySelector("style");v?v.textContent=b+v.textContent:d.prepend(y)}else d.append(y);1&h.i&&d.insertBefore(y,null),4&h.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),m&&m.add(_)}}else{let y=T.get(d);if(y||T.set(d,y=new Set),!y.has(_)){const m=(S=d.defaultView)!=null?S:d.ownerDocument.defaultView;let C;if(b.constructor===m.CSSStyleSheet)C=b;else{C=new m.CSSStyleSheet;for(let v=0;v<b.cssRules.length;v++)C.insertRule(b.cssRules[v].cssText,v)}te?d.adoptedStyleSheets.push(C):d.adoptedStyleSheets=[...d.adoptedStyleSheets,C],y.add(_)}}return _})(l.shadowRoot?l.shadowRoot:l.getRootNode(),a);10&c&&(l["s-sc"]=u,l.classList.add(u+"-h"))})(e),wt(e,t,o,s),i&&(i.map((r=>r())),o["s-rc"]=void 0);{const r=(n=o["s-p"])!=null?n:[],a=()=>Nt(e);r.length===0?a():(Promise.all(r).then(a).catch(a),e.i|=4,r.length=0)}},wt=(e,t,s,n)=>{try{t=t.render(),e.i&=-17,e.i|=2,bt(e,t,n)}catch(o){L(o,e.$hostElement$)}return null},Nt=e=>{const t=e.$hostElement$,s=t,n=e.R;V(s,"componentDidRender",void 0,t),64&e.i?V(s,"componentDidUpdate",void 0,t):(e.i|=64,Ct(t),V(s,"componentDidLoad",void 0,t),e.L(t),n||xt()),e.A&&(e.A(),e.A=void 0),512&e.i&&oe((()=>he(e,!1))),e.i&=-517},xt=()=>{oe((()=>ft(N,"appload",{detail:{namespace:"gids-core-web"}})))},V=(e,t,s,n)=>{if(e&&e[t])try{return e[t](s)}catch(o){L(o,n)}},Ct=e=>e.classList.add("hydrated"),He=(e,t,s,n)=>{const o=A(e);if(!o)return;const i=e,r=o.l.get(t),a=o.i,l=i;s=ke(s,n.t[t][0],!!(64&n.i));const c=Number.isNaN(r)&&Number.isNaN(s);if(s!==r&&!c){if(o.l.set(t,s),n.F){const u=n.F[t];u&&u.map((d=>{try{const[[h,g]]=Object.entries(d);(128&a||1&g)&&(l?l[h](s,r,t):o.T.push((()=>{o.D[h](s,r,t)})))}catch(h){L(h,i)}}))}if(2&a){if(l.componentShouldUpdate&&l.componentShouldUpdate(s,r,t)===!1&&!(16&a))return;16&a||he(o,!1)}}},$t=(e,t,s)=>{var n,o;const i=e.prototype;64&t.i&&1&s&&ot.forEach((r=>{const a=i[r];Object.defineProperty(i,r,{value(...l){var c;const u=A(this),d=this;d?typeof a=="function"&&a.call(d,...l):(c=u?.H)==null||c.then((h=>{const g=h[r];typeof g=="function"&&g.call(h,...l)}))}})}));{e.watchers&&!t.F&&(t.F=Pe(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const r=Object.entries((n=t.t)!=null?n:{});r.map((([a,[l]])=>{if(31&l||32&l){const{get:c,set:u}=D(i,a)||{};c&&(t.t[a][0]|=2048),u&&(t.t[a][0]|=4096),Object.defineProperty(i,a,{get(){return c?c.apply(this):(d=a,A(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(i,a,{set(d){const h=A(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,[ke(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;i.attributeChangedCallback=function(l,c,u){O.jmp((()=>{var d;const h=a.get(l),g=A(this);if(this.hasOwnProperty(h),i.hasOwnProperty(h)&&typeof this[h]=="number"&&this[h]==u)return;if(h==null){const y=g?.i;if(g&&y&&!(8&y)&&u!==c){const m=this,C=(d=t.F)==null?void 0:d[l];C?.forEach((v=>{const[[w,$]]=Object.entries(v);m[w]!=null&&(128&y||1&$)&&m[w].call(m,u,c,l)}))}return}const p=r.find((([y])=>y===h)),S=p&&4&p[1][0],_=S&&u===null&&this[h]===void 0;S&&(u=u!==null&&u!=="false");const b=Object.getOwnPropertyDescriptor(i,h);_||u==this[h]||b.get&&!b.set||(this[h]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((o=t.F)!=null?o:{}),...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},Ot=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.W=t[3],s.F=Pe(e.F),s.P=e.P,s.U=e.U,s.C=[];const n=e.prototype.connectedCallback,o=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((i,r)=>{const a={i:0,$hostElement$:i,o:r,l:new Map,B:new Map};a.H=new Promise((c=>a.L=c)),i["s-p"]=[],i["s-rc"]=[];const l=a;i.__stencil__getHostRef=()=>l,512&r.i&&nt(i,a)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){const i=A(this);if(!i)return;Fe(this,i,s.W),this.__hasHostListenerAttached=!0}(i=>{if(!(1&O.i)){const r=A(i);if(!r)return;const a=r.o;if(1&r.i)Fe(i,r,a.W),r?.D||r?.H&&r.H.then((()=>{}));else{r.i|=1,12&a.i&&(l=>{if(!N.document)return;const c=l["s-cr"]=N.document.createComment("");c["s-cn"]=!0,j(l,c,l.firstChild)})(i);{let l=i;for(;l=l.parentNode||l.host;)if(l["s-p"]){Be(r,r.R=l);break}}a.t&&Object.entries(a.t).map((([l,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(i,l)){const u=i[l];delete i[l],i[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 p;typeof d.style=="string"&&(p=d.style);const S=$e(u);W.has(S)||((_,b,y)=>{let m=W.get(_);ee&&y?(m=m||new CSSStyleSheet,typeof m=="string"?m=b:m.replaceSync(b)):m=b,W.set(_,m)})(S,p,!!(1&u.i))}const h=c.R,g=()=>he(c,!0);h&&h["s-rc"]?h["s-rc"].push(g):g()}catch(h){L(h,l),c.A&&(c.A(),c.A=void 0),c.L&&c.L(l)}})(i,r,a)}}})(this),n&&n.call(this)},disconnectedCallback(){(async i=>{if(!(1&O.i)){const r=A(i);r?.V&&(r.V.map((a=>a())),r.V=void 0)}T.has(i)&&T.delete(i),i.shadowRoot&&T.has(i.shadowRoot)&&T.delete(i.shadowRoot)})(this),o&&o.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else dt.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),$t(e,s,3)}catch(n){return L(n),e}},ze=(e,t)=>t,Fe=(e,t,s)=>{s&&N.document&&s.map((([n,o,i])=>{const r=kt(N.document,e,n),a=Pt(t,i),l=Et(n);O.ael(r,o,a,l),(t.V=t.V||[]).push((()=>O.rel(r,o,a,l)))}))},Pt=(e,t)=>s=>{try{e.$hostElement$[t](s)}catch(n){L(n,e.$hostElement$)}},kt=(e,t,s)=>8&s?N:t,Et=e=>lt?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Es(e){return e}function Ve(e){var t,s,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(s=Ve(e[t]))&&(n&&(n+=" "),n+=s)}else for(s in e)e[s]&&(n&&(n+=" "),n+=s);return n}function k(){for(var e,t,s=0,n="",o=arguments.length;s<o;s++)(e=arguments[s])&&(t=Ve(e))&&(n&&(n+=" "),n+=t);return n}const jt=Object.freeze(Object.defineProperty({__proto__:null,getGidsDividerClassNames:({orientation:e},t)=>k("gids-divider",{"gids-divider--vertical":e==="vertical"},t)},Symbol.toStringTag,{value:"Module"})),At=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:s},n)=>k("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},s,n)},Symbol.toStringTag,{value:"Module"})),Mt=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerClassNames:({size:e},t)=>k("gids-spinner",{"gids-spinner--xs":e==="xs","gids-spinner--sm":e==="sm","gids-spinner--lg":e==="lg","gids-spinner--xl":e==="xl","gids-spinner--2xl":e==="2xl"},t)},Symbol.toStringTag,{value:"Module"})),Tt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>k("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"})),It=Object.freeze(Object.defineProperty({__proto__:null,getElementVisibility:e=>{const{label:t,supportingText:s}=e,n=typeof t=="string"&&t.trim().length>0,o=typeof s=="string"&&s.trim().length>0;return{hasLabel:n,hasSupportingText:o}}},Symbol.toStringTag,{value:"Module"})),Q=64,We=10,qe=Q/2-We/2,Lt=Q/2,pe=2*Math.PI*qe,Gt=`0 0 ${Q} ${Q}`,Dt=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const s=typeof t=="number"&&t>0?t:1,o=Math.max(0,Math.min(s,e))/s*100,i=(pe*o/100).toFixed(2),r=(pe-parseFloat(i)).toFixed(2);return`${i} ${r}`},centerPosition:Lt,circumference:pe,radius:qe,thickness:We,viewBox:Gt},Symbol.toStringTag,{value:"Module"})),Bt=Object.freeze(Object.defineProperty({__proto__:null,getGidsButtonGroupClassNames:({layout:e},t)=>k("gids-button-group",{"gids-button-group--scroll":e==="scroll"},t)},Symbol.toStringTag,{value:"Module"})),Rt=Object.freeze(Object.defineProperty({__proto__:null,getGidsHeadingClassNames:e=>k("gids-heading",e),getGidsHeadingSupportingTextTypographyClass:e=>e&&e.toString()!==""&&e!=="(none)"?`gids-typography-${e}`:""},Symbol.toStringTag,{value:"Module"})),Ht=Object.freeze(Object.defineProperty({__proto__:null,getGidsEditButtonClassNames:({size:e},t)=>k("gids-edit-button",{"gids-edit-button--xs":e==="xs","gids-edit-button--sm":e==="sm","gids-edit-button--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),zt=Object.freeze(Object.defineProperty({__proto__:null,getGidsListItemClassNames:({disabled:e,selected:t},s)=>k("gids-list-item",{"gids-list-item--selected":t,"gids-list-item--disabled":e},s)},Symbol.toStringTag,{value:"Module"})),Ft=Object.freeze(Object.defineProperty({__proto__:null,getGidsDropdownItemClassNames:e=>k("gids-dropdown-item",e)},Symbol.toStringTag,{value:"Module"})),Vt=Object.freeze(Object.defineProperty({__proto__:null,getGidsDropdownMenuClassNames:e=>k("gids-dropdown-menu",e)},Symbol.toStringTag,{value:"Module"})),Wt=Object.freeze(Object.defineProperty({__proto__:null,getGidsDropdownMenuGroupClassNames:({type:e},t)=>k("gids-dropdown-menu-group",{"gids-dropdown-menu-group--default":e==="default","gids-dropdown-menu-group--no-options":e==="no-options","gids-dropdown-menu-group--loading":e==="loading"},t)},Symbol.toStringTag,{value:"Module"})),qt=Object.freeze(Object.defineProperty({__proto__:null,getGidsCalendarMonthListClassNames:e=>k("gids-calendar-month-list",e),getGidsCalendarMonthListMonths:()=>{const e=[],t=new Intl.DateTimeFormat("en-US",{month:"long"});for(let s=1;s<=12;s+=1){const n=new Date(2e3,s-1,1),o=t.format(n);e.push({id:`${s}`,title:o,value:s})}return e}},Symbol.toStringTag,{value:"Module"})),fe=Symbol("defaultPath"),Ue=Symbol("pathSet"),ge="gids-asset-paths-set";class Ut extends EventTarget{#s=new Map;constructor(){super()}#e(t,s){this.#s.set(t,s)}#t(t){return this.#s.get(t)??null}#n=()=>{this.dispatchEvent(new Event(ge))};haveAssetPathsBeenSet(){return this.#t(Ue)!==null}setAssetPaths(t,s){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(fe,t);else{for(const n in t)this.#e(n,t[n]);s&&this.#e(fe,s)}this.#e(Ue,"true"),setTimeout(this.#n,0)}}getAssetFilePath(t){const s=this.#t(t);if(s===null){const n=this.#t(fe);if(n!==null)return`${n}${n.endsWith("/")?"":"/"}${t}`}return s}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(ge,t,{once:!0}),()=>{this.removeEventListener(ge,t)}}}const me=Symbol.for("GIDS"),Kt=()=>(globalThis[me]===void 0&&(globalThis[me]={assetPaths:{}}),globalThis[me]),Yt=e=>{const t=Kt().assetPaths;return t[e]===void 0&&(t[e]=new Ut),t[e]};function ye(){return Yt("@ganpatiinfo/gids-web-shared")}function Zt(){return ye().haveAssetPathsBeenSet()}function Ke(e){return ye().getAssetFilePath(e)}function Jt(e){return ye().onAssetPathsSet(e)}let Qt=0;const Xt=(e,t="gids")=>e||`${t}-${Qt++}`,{getGidsSpinnerControlClassNames:es}=At,{calculateStrokeDasharray:ts,thickness:Ye,radius:Ze,centerPosition:X,viewBox:ss}=Dt,ns=({size:e,indeterminate:t,value:s,max:n,...o})=>{let i;return t||(i={strokeDashArray:ts(s,n||0),strokeDashoffset:"0"}),f("svg",{class:es({size:e,indeterminate:t,value:s}),viewBox:ss,...o},f("circle",{class:"gids-spinner-control__track",cx:X,cy:X,r:Ze,"stroke-width":Ye}),f("circle",{style:i,class:"gids-spinner-control__progress",cx:X,cy:X,r:Ze,"stroke-width":Ye}))},{getGidsSpinnerClassNames:os}=Mt,{getElementVisibility:is}=It,ls=({label:e,supportingText:t,size:s,indeterminate:n,value:o,max:i,class:r,...a})=>{const{hasLabel:l,hasSupportingText:c}=is({label:e,supportingText:t});return f("span",{class:os({size:s},r),...a},f(ns,{size:s,indeterminate:n,value:o,max:i}),l&&f("span",{class:"gids-spinner__label"},e),c&&f("span",{class:"gids-spinner__supporting-text"},t))},Je={"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"]},Qe=new Map;for(const e in Je)for(const t of Je[e])Qe.set(t,e);function rs(e){return Qe.get(e)}function Xe(e,t="regular",s){const n=rs(e);let o=n??"";return s&&n&&(o=s(n)??n),`${o}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:as}=Tt,be=({name:e,size:t,appearance:s,alt:n,class:o,titleId:i,src:r,...a})=>{const l=Xt(i);let c=r;return c===void 0&&Zt()&&(c=Xe(e,s,Ke)),f("svg",{ref:u=>{c===void 0&&Jt((()=>{(function(d,h,g){if(!d)return;const p=document.createElementNS("http://www.w3.org/2000/svg","use");p.setAttribute("href",Xe(h,g,Ke)),d.appendChild(p)})(u,e,s)}))},width:"16",height:"16",class:as({size:t},o),role:"img","aria-hidden":n===""?"true":void 0,"aria-labelledby":n===""?void 0:l,...a},n!==""&&f("title",{id:l},n||e),c!==void 0?f("use",{href:c}):null)},{getGidsButtonGroupClassNames:ds}=Bt,cs=({layout:e,class:t},s)=>f("span",{class:ds({layout:e},t)},s),{getGidsDropdownMenuGroupClassNames:us}=Wt,hs=({type:e="no-options",supportingText:t="No options",class:s,...n},o)=>f("div",{class:us({type:e},s),...n},e==="loading"?f(ls,{indeterminate:!0,size:"md"}):null,e==="no-options"?f("span",null,t):null,e==="default"&&o!=null?o:null),{getGidsHeadingClassNames:ps,getGidsHeadingSupportingTextTypographyClass:fs}=Rt,gs=({heading:e,supportingText:t,level:s="section",children:n,supportingTextTypography:o,class:i})=>f("div",{class:ps(i)},f("div",{class:"gids-heading__content-container"},e!=null&&e!==""?typeof e=="string"?e!==""?f("span",{class:s==="section"?"gids-heading__heading-text-section":"gids-heading__heading-text-group"},e):null:e:null,t!=null&&t!==""?typeof t=="string"?t!==""?f("span",{class:`${s==="section"?"gids-heading__supporting-text-section":"gids-heading__supporting-text-group"} ${fs(o)}`},t):null:t:null),n?f(cs,{layout:"wrap"},n):null),{getGidsDropdownMenuClassNames:ms}=Vt,ys=({sectionLabel:e,class:t,...s},n)=>f("div",{class:ms(t),...s},e!=null&&e!==""?f(gs,{supportingText:e,supportingTextTypography:"eyebrow-medium"}):null,n!=null?f("div",{class:"gids-dropdown-menu__children"},n):null),{getGidsEditButtonClassNames:bs}=Ht,vs=({disabled:e,children:t,size:s="md",editButtonType:n="add",onPressEditButton:o,class:i,...r})=>f("button",{class:bs({size:s},i),...r,onClick:o,disabled:e},n==="custom"&&t?f("div",null,t):n==="add"?f("div",{class:e?"gids-edit-button__add gids-edit-button__disabled":"gids-edit-button__add"},f(be,{name:"add",appearance:"filled",size:s})):n==="remove"?f("div",{class:e?"gids-edit-button__remove gids-edit-button__disabled":"gids-edit-button__remove"},f(be,{appearance:"filled",name:"remove",size:s})):void 0),{getGidsDividerClassNames:Ss}=jt,_s=({orientation:e})=>f("hr",{class:Ss({orientation:e})}),{getGidsListItemClassNames:ws}=zt,Ns=({id:e,value:t,index:s,defaultSelected:n,disabled:o,selected:i,editButton:r,onPressEditButton:a,onPressListItem:l,leadingAccessory:c,leadingSupport:u,leadingParagraph:d,trailingContent:h,trailingAccessory:g,trailingSupport:p,trailingParagraph:S,divider:_,role:b="list-item-option",isPlaceholderItem:y,class:m,...C},v)=>{const w=i||n;return f("button",{type:"button",id:e,class:ws({selected:w,disabled:o},m),role:b,"aria-selected":w?"true":"false",disabled:o,value:(()=>{if(typeof t=="string"&&t.trim()!=="")return t;const $=v;return $?(Array.isArray($)?$:[$]).map((x=>typeof x=="string"||typeof x=="number"?String(x):x&&typeof x=="object"&&"text"in x?x.text??"":"")).join("").trim():""})(),tabIndex:s,onClick:$=>{const x=$.currentTarget;if(!x||$.defaultPrevented||x.disabled)return;const E=new CustomEvent("onPressListItem",{bubbles:!0,composed:!0,detail:{selectedIndex:s,defaultSelected:n,isPlaceholderItem:y}});l?.(E)},"is-placeholder-item":y?"true":"false",...C},f("div",{class:"gids-list-item__main-container"},r==null||r==="none"||o?null:f(vs,{size:"md",editButtonType:r,onPressEditButton:a}),c!=null?f("div",{class:o?"gids-list-item__leading-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__leading-accessory-container"},c):null,f("div",{class:"gids-list-item__middle-content-container"},f("div",{class:"gids-list-item__leading-content-container"},f(ze,null,v!=null?f("span",{class:o?"gids-list-item__leading-content-label gids-list-item__text-content-disabled":"gids-list-item__leading-content-label"},v):null,f("div",{class:"gids-list-item__leading-support-content"},u!=null?typeof u=="string"?f("p",{class:o?"gids-list-item__leading-content-supporting-text gids-list-item__text-content-disabled":"gids-list-item__leading-content-supporting-text"},u):u:null,d!=null?typeof d=="string"?f("p",{class:o?"gids-list-item__leading-content-paragraph-text gids-list-item__text-content-disabled":"gids-list-item__leading-content-paragraph-text"},d):d:null))),f("div",{class:"gids-list-item__trailing-content-container"},f(ze,null,h!=null?typeof h=="string"?f("span",{class:o?"gids-list-item__trailing-content-label gids-list-item__text-content-disabled":"gids-list-item__trailing-content-label"},h):h:null,f("div",{class:"gids-list-item__trailing-support-content"},p!=null?typeof p=="string"?f("p",{class:o?"gids-list-item__trailing-content-supporting-text gids-list-item__text-content-disabled":"gids-list-item__trailing-content-supporting-text"},p):p:null,S!=null?typeof S=="string"?f("p",{class:o?"gids-list-item__trailing-content-paragraph-text gids-list-item__text-content-disabled":"gids-list-item__trailing-content-paragraph-text"},S):S:null)))),w?f("div",{class:o?"gids-list-item__trailing-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__trailing-accessory-container"},f(be,{name:"checkmark",size:"md",appearance:"regular"})):null,w||g==null?null:f("div",{class:o?"gids-list-item__trailing-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__trailing-accessory-container"},g)),_&&!w?f("div",{class:"gids-list-item__divider"},f(_s,{orientation:"horizontal"})):null)},{getGidsDropdownItemClassNames:xs}=Ft,Cs=({id:e,title:t,class:s,selected:n=!1,disabled:o=!1,role:i="list-item-option",value:r,name:a,onPressDropdownItem:l,index:c,defaultSelected:u,leadingAccessory:d,divider:h,isPlaceholderItem:g,...p})=>{const S=xs(typeof s=="string"?s:void 0);return f(Ns,{id:e,index:c??0,defaultSelected:u,selected:n,disabled:o,role:i,value:r,name:a,leadingAccessory:d,class:S,onPressListItem:_=>{if(_.defaultPrevented)return;const b=new CustomEvent("onPressDropdownItem",{bubbles:!0,composed:!0,detail:{id:e,title:t,value:r,disabled:o,selectedIndex:c,defaultSelected:u,isPlaceholderItem:g}});l?.(b)},divider:h,isPlaceholderItem:g,...p},t)},{getGidsCalendarMonthListClassNames:$s,getGidsCalendarMonthListMonths:Os}=qt,et=Ot(class extends it{constructor(e){super(),e!==!1&&this.__registerHost(),this.type="default",this.disabledIndices=[],this.divider=!1,this.hasItemListener=!1,this.suppressNextMenuClickSelection=!1,this.handleCalendarMenuItemSelect=t=>{const{title:s,value:n,selectedIndex:o,disabled:i,id:r}=t.detail;i||typeof s!="string"||(this.suppressNextMenuClickSelection=!0,queueMicrotask((()=>{this.suppressNextMenuClickSelection=!1})),this.applySelection({id:r,month:s,monthInNumber:Number(n),disabled:!1,selectedIndex:o}))},this.handleMenuClick=t=>{if(this.suppressNextMenuClickSelection)return;const s=t?.detail;this.applySelection({id:s.id,monthInNumber:Number(s.value),month:s.title,disabled:!1,selectedIndex:s.selectedIndex})},this.monthsList=()=>Os(),this.getSelectedItem=()=>{const t=this.selectedMonthNumber,s=this.monthsList(),n=s.findIndex((i=>i.value===t));let o;return n!=null&&n!==-1&&(o=s[n]),{foundItem:o,foundIndex:n}},this.isItemSelected=t=>{const{foundIndex:s}=this.getSelectedItem();return s===t}}connectedCallback(){this.attachItemListener()}disconnectedCallback(){this.detachItemListener()}getItemElements(){return Array.from(this.hostElement.querySelectorAll(".gids-dropdown-item"))}attachItemListener(){this.hasItemListener||(this.hostElement.addEventListener("onPressDropdownItem",this.handleCalendarMenuItemSelect),this.hasItemListener=!0)}detachItemListener(){this.hasItemListener&&(this.hostElement.removeEventListener("onPressDropdownItem",this.handleCalendarMenuItemSelect),this.hasItemListener=!1)}applySelection(e){this.clearActive(),this.onSelectionMonthChange?.(e),this.hostElement.dispatchEvent(new CustomEvent("gidsCalendarMonthChange",{bubbles:!0,composed:!0,detail:e}))}clearActive(){this.getItemElements().forEach((e=>e.classList.remove("gids-dropdown-item--active")))}render(){const e=$s();return f("div",{key:"edfe08732e3f5a916c9c4b20d45aa60ee435bafb",class:e},f(hs,{key:"745227860a28c875576b70e5cbc8676bb4966ae2",type:this.type,supportingText:this.noOptionsText},f(ys,{key:"e428a8ff2525a0e2815d96938ef8e852b9275ba9",sectionLabel:"Months"},this.monthsList().map(((t,s)=>{const n=`${s+1}`,o=this.disabledIndices?.includes(s);return f(Cs,{title:t.title,value:`${t.value}`,key:`${s.toString()}`,index:s,id:n,selected:this.isItemSelected(s),onPressDropdownItem:this.handleMenuClick,disabled:o,divider:this.divider,isPlaceholderItem:!1})})))))}get hostElement(){return this}},[0,"gids-calendar-month-list",{type:[1],noOptionsText:[1,"no-options-text"],disabledIndices:[16],divider:[4],selectedMonthNumber:[2,"selected-month-number"],onSelectionMonthChange:[16]}]);function tt(){typeof customElements<"u"&&["gids-calendar-month-list"].forEach((e=>{e==="gids-calendar-month-list"&&(customElements.get(e)||customElements.define(e,et))}))}tt();const Ps=et,ks=tt;I.GidsCalendarMonthList=Ps,I.defineCustomElement=ks,Object.defineProperty(I,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const S=this["s-cr"].parentElement;return(S.__childNodes?S.childNodes:(_=>{const b=[];for(let y=0;y<_.length;y++){const m=_[y]["s-nr"]||void 0;m&&m.isConnected&&b.push(m)}return b})(S.childNodes)).forEach((_=>{p===H(_)&&g.push(_)})),d?g.filter((_=>_.nodeType===1)):g}).bind(c);c.assignedElements=u(!0),c.assignedNodes=u(!1)})(i),a=e&&e.m&&e.m[s],a&&a.O===o.O&&e.S&&Te(e.S)),i},Te=e=>{O.i|=1;const t=e.closest(G.toLowerCase());if(t!=null){const s=Array.from(t.__childNodes||t.childNodes).find((o=>o["s-cr"])),n=Array.from(e.__childNodes||e.childNodes);for(const o of s?n.reverse():n)o["s-sh"]!=null&&(j(t,o,s??null),o["s-sh"]=void 0,K=!0)}O.i&=-2},Z=(e,t)=>{O.i|=1;const s=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let n=e;for(;n=n.nextSibling;)n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===G&&s.push(n)}for(let n=s.length-1;n>=0;n--){const o=s[n];o["s-hn"]!==G&&o["s-ol"]&&(j(F(o).parentNode,o,F(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,K=!0),t&&Z(o,t)}O.i&=-2},Ie=(e,t,s,n,o,i)=>{let r,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===G&&(a=a.shadowRoot),s.O==="template"&&(a=a.content);o<=i;++o)n[o]&&(r=Y(null,s,o),r&&(n[o].S=r,j(a,r,F(t))))},Le=(e,t,s)=>{for(let n=t;n<=s;++n){const o=e[n];if(o){const i=o.S;De(o),i&&(U=!0,i["s-ol"]?i["s-ol"].remove():Z(i,!0),i.remove())}}},J=(e,t,s=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),F=e=>e&&e["s-ol"]||e,B=(e,t,s=!1)=>{const n=t.S=e.S,o=e.m,i=t.m,r=t.O,a=t.h;let l;a==null?(P=r==="svg"||r!=="foreignObject"&&P,r!=="slot"||z||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Te(t.S.parentElement)),de(e,t,P),o!==null&&i!==null?((c,u,d,h,g=!1)=>{let p,S,_=0,b=0,y=0,m=0,C=u.length-1,v=u[0],w=u[C],$=h.length-1,x=h[0],E=h[$];const st=d.O==="template"?c.content:c;for(;_<=C&&b<=$;)if(v==null)v=u[++_];else if(w==null)w=u[--C];else if(x==null)x=h[++b];else if(E==null)E=h[--$];else if(J(v,x,g))B(v,x,g),v=u[++_],x=h[++b];else if(J(w,E,g))B(w,E,g),w=u[--C],E=h[--$];else if(J(v,E,g))v.O!=="slot"&&E.O!=="slot"||Z(v.S.parentNode,!1),B(v,E,g),j(st,v.S,w.S.nextSibling),v=u[++_],E=h[--$];else if(J(w,x,g))v.O!=="slot"&&E.O!=="slot"||Z(w.S.parentNode,!1),B(w,x,g),j(st,w.S,v.S),w=u[--C],x=h[++b];else{for(y=-1,m=_;m<=C;++m)if(u[m]&&u[m].$!==null&&u[m].$===x.$){y=m;break}y>=0?(S=u[y],S.O!==x.O?p=Y(u&&u[b],d,y):(B(S,x,g),u[y]=void 0,p=S.S),x=h[++b]):(p=Y(u&&u[b],d,b),x=h[++b]),p&&j(F(v.S).parentNode,p,F(v.S))}_>C?Ie(c,h[$+1]==null?null:h[$+1].S,d,h,b,$):b>$&&Le(u,_,C)})(n,o,t,i,s):i!==null?(e.h!==null&&(n.textContent=""),Ie(n,null,t,i,0,i.length-1)):!s&&o!==null&&Le(o,0,o.length-1),P&&r==="svg"&&(P=!1)):(l=n["s-cr"])?l.parentNode.textContent=a:e.h!==a&&(n.data=a)},M=[],Ge=e=>{let t,s,n;const o=e.__childNodes||e.childNodes;for(const i of o){if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const r=i["s-sn"];for(n=s.length-1;n>=0;n--)if(t=s[n],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===i["s-hn"]||t["s-sh"]&&t["s-sh"]===i["s-hn"]))if(Ce(t,r)){let a=M.find((l=>l.k===t));U=!0,t["s-sn"]=t["s-sn"]||r,a?(a.k["s-sh"]=i["s-hn"],a.N=i):(t["s-sh"]=i["s-hn"],M.push({N:i,k:t})),t["s-sr"]&&M.map((l=>{Ce(l.k,t["s-sn"])&&(a=M.find((c=>c.k===t)),a&&!l.N&&(l.N=a.N))}))}else M.some((a=>a.k===t))||M.push({k:t})}i.nodeType===1&&Ge(i)}},De=e=>{e.v&&e.v.ref&&ce.push((()=>e.v.ref(null))),e.m&&e.m.map(De)},yt=(e,t)=>{ue.push((()=>e(t)))},j=(e,t,s,n)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:o}=(function(i,r){var a;if(!(r=r||((a=i["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const l=i["s-sn"]=H(i)||"";return{slotNode:ie(le(r,"childNodes"),r.tagName,l)[0],slotName:l}})(t);return o&&!n&&o.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},bt=(e,t,s=!1)=>{var n,o,i,r,a;const l=e.$hostElement$,c=e.o,u=e.M||q(null,null);var d;const h=(d=t)&&d.O===ut?t:f(null,null,t);if(G=l.tagName,c.C&&(h.v=h.v||{},c.C.forEach((([g,p])=>{h.v[p]=l[g]}))),s&&h.v)for(const g of Object.keys(h.v))l.hasAttribute(g)&&!["key","ref","style","class"].includes(g)&&(h.v[g]=l[g]);if(h.O=null,h.i|=4,e.M=h,h.S=u.S=l.shadowRoot||l,z=!(!(1&c.i)||128&c.i),re=l["s-cr"],U=!1,B(u,h,s),O.i|=1,K){Ge(h.S);for(const g of M){const p=g.k;if(!p["s-ol"]&&N.document){const S=N.document.createTextNode("");S["s-nr"]=p,j(p.parentNode,p["s-ol"]=S,p,s)}}for(const g of M){const p=g.k,S=g.N;if(p.nodeType===1&&s&&(p["s-ih"]=(n=p.hidden)!=null&&n),S){const _=S.parentNode;let b=S.nextSibling;if(b&&b.nodeType===1){let y=(o=p["s-ol"])==null?void 0:o.previousSibling;for(;y;){let m=(i=y["s-nr"])!=null?i:null;if(m&&m["s-sn"]===p["s-sn"]&&_===(m.__parentNode||m.parentNode)){for(m=m.nextSibling;m===p||m?.["s-sr"];)m=m?.nextSibling;if(!m||!m["s-nr"]){b=m;break}}y=y.previousSibling}}if((!b&&_!==(p.__parentNode||p.parentNode)||(p.__nextSibling||p.nextSibling)!==b)&&p!==b){if(j(_,p,b,s),p.nodeType===8&&p.nodeValue.startsWith("s-nt-")){const y=N.document.createTextNode(p.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=p["s-hn"],y["s-sn"]=p["s-sn"],y["s-sh"]=p["s-sh"],y["s-sr"]=p["s-sr"],y["s-ol"]=p["s-ol"],y["s-ol"]["s-nr"]=y,j(p.parentNode,y,p,s),p.parentNode.removeChild(p)}p.nodeType===1&&p.tagName!=="SLOT-FB"&&(p.hidden=(r=p["s-ih"])!=null&&r)}p&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else p.nodeType===1&&(p.hidden=!0)}}if(U&&xe(h.S),O.i&=-2,M.length=0,!z&&!(1&c.i)&&l["s-cr"]){const g=h.S.__childNodes||h.S.childNodes;for(const p of g)if(p["s-hn"]!==G&&!p["s-sh"]){if(s&&p["s-ih"]==null&&(p["s-ih"]=(a=p.hidden)!=null&&a),p.nodeType===1)p.hidden=!0;else if(p.nodeType===3&&p.nodeValue.trim()){const S=N.document.createComment("s-nt-"+p.nodeValue);S["s-sn"]=p["s-sn"],j(p.parentNode,S,p,s),p.parentNode.removeChild(p)}}}re=void 0,ce.forEach((g=>g())),ce.length=0,ue.forEach((g=>g())),ue.length=0},Be=(e,t)=>{if(t&&!e.A&&t["s-p"]){const s=t["s-p"].push(new Promise((n=>e.A=()=>{t["s-p"].splice(s-1,1),n()})))}},he=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Be(e,e.R);const s=()=>vt(e,t);if(!t)return at(s);queueMicrotask((()=>{s()}))},vt=(e,t)=>{const s=e.$hostElement$,n=s;if(!n)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return o=V(n,t?"componentWillLoad":"componentWillUpdate",void 0,s),o=Re(o,(()=>V(n,"componentWillRender",void 0,s))),Re(o,(()=>_t(e,n,t)))},Re=(e,t)=>St(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),St=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",_t=async(e,t,s)=>{var n;const o=e.$hostElement$,i=o["s-rc"];s&&(r=>{const a=r.o,l=r.$hostElement$,c=a.i,u=((d,h)=>{var g,p,S;const _=$e(h),b=W.get(_);if(!N.document)return _;if(d=d.nodeType===11?d:N.document,b)if(typeof b=="string"){let y,m=T.get(d=d.head||d);if(m||T.set(d,m=new Set),!m.has(_)){y=N.document.createElement("style"),y.textContent=b;const C=(g=O._)!=null?g:(function(){var v,w,$;return($=(w=(v=N.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:w.getAttribute("content"))!=null?$:void 0})();if(C!=null&&y.setAttribute("nonce",C),!(1&h.i))if(d.nodeName==="HEAD"){const v=d.querySelectorAll("link[rel=preconnect]"),w=v.length>0?v[v.length-1].nextSibling:d.querySelector("style");d.insertBefore(y,w?.parentNode===d?w:null)}else if("host"in d)if(ee){const v=new((p=d.defaultView)!=null?p:d.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(b),te?d.adoptedStyleSheets.unshift(v):d.adoptedStyleSheets=[v,...d.adoptedStyleSheets]}else{const v=d.querySelector("style");v?v.textContent=b+v.textContent:d.prepend(y)}else d.append(y);1&h.i&&d.insertBefore(y,null),4&h.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),m&&m.add(_)}}else{let y=T.get(d);if(y||T.set(d,y=new Set),!y.has(_)){const m=(S=d.defaultView)!=null?S:d.ownerDocument.defaultView;let C;if(b.constructor===m.CSSStyleSheet)C=b;else{C=new m.CSSStyleSheet;for(let v=0;v<b.cssRules.length;v++)C.insertRule(b.cssRules[v].cssText,v)}te?d.adoptedStyleSheets.push(C):d.adoptedStyleSheets=[...d.adoptedStyleSheets,C],y.add(_)}}return _})(l.shadowRoot?l.shadowRoot:l.getRootNode(),a);10&c&&(l["s-sc"]=u,l.classList.add(u+"-h"))})(e),wt(e,t,o,s),i&&(i.map((r=>r())),o["s-rc"]=void 0);{const r=(n=o["s-p"])!=null?n:[],a=()=>Nt(e);r.length===0?a():(Promise.all(r).then(a).catch(a),e.i|=4,r.length=0)}},wt=(e,t,s,n)=>{try{t=t.render(),e.i&=-17,e.i|=2,bt(e,t,n)}catch(o){L(o,e.$hostElement$)}return null},Nt=e=>{const t=e.$hostElement$,s=t,n=e.R;V(s,"componentDidRender",void 0,t),64&e.i?V(s,"componentDidUpdate",void 0,t):(e.i|=64,Ct(t),V(s,"componentDidLoad",void 0,t),e.L(t),n||xt()),e.A&&(e.A(),e.A=void 0),512&e.i&&oe((()=>he(e,!1))),e.i&=-517},xt=()=>{oe((()=>ft(N,"appload",{detail:{namespace:"gids-core-web"}})))},V=(e,t,s,n)=>{if(e&&e[t])try{return e[t](s)}catch(o){L(o,n)}},Ct=e=>e.classList.add("hydrated"),He=(e,t,s,n)=>{const o=A(e);if(!o)return;const i=e,r=o.l.get(t),a=o.i,l=i;s=ke(s,n.t[t][0],!!(64&n.i));const c=Number.isNaN(r)&&Number.isNaN(s);if(s!==r&&!c){if(o.l.set(t,s),n.F){const u=n.F[t];u&&u.map((d=>{try{const[[h,g]]=Object.entries(d);(128&a||1&g)&&(l?l[h](s,r,t):o.T.push((()=>{o.D[h](s,r,t)})))}catch(h){L(h,i)}}))}if(2&a){if(l.componentShouldUpdate&&l.componentShouldUpdate(s,r,t)===!1&&!(16&a))return;16&a||he(o,!1)}}},$t=(e,t,s)=>{var n,o;const i=e.prototype;64&t.i&&1&s&&ot.forEach((r=>{const a=i[r];Object.defineProperty(i,r,{value(...l){var c;const u=A(this),d=this;d?typeof a=="function"&&a.call(d,...l):(c=u?.H)==null||c.then((h=>{const g=h[r];typeof g=="function"&&g.call(h,...l)}))}})}));{e.watchers&&!t.F&&(t.F=Pe(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const r=Object.entries((n=t.t)!=null?n:{});r.map((([a,[l]])=>{if(31&l||32&l){const{get:c,set:u}=D(i,a)||{};c&&(t.t[a][0]|=2048),u&&(t.t[a][0]|=4096),Object.defineProperty(i,a,{get(){return c?c.apply(this):(d=a,A(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(i,a,{set(d){const h=A(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,[ke(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;i.attributeChangedCallback=function(l,c,u){O.jmp((()=>{var d;const h=a.get(l),g=A(this);if(this.hasOwnProperty(h),i.hasOwnProperty(h)&&typeof this[h]=="number"&&this[h]==u)return;if(h==null){const y=g?.i;if(g&&y&&!(8&y)&&u!==c){const m=this,C=(d=t.F)==null?void 0:d[l];C?.forEach((v=>{const[[w,$]]=Object.entries(v);m[w]!=null&&(128&y||1&$)&&m[w].call(m,u,c,l)}))}return}const p=r.find((([y])=>y===h)),S=p&&4&p[1][0],_=S&&u===null&&this[h]===void 0;S&&(u=u!==null&&u!=="false");const b=Object.getOwnPropertyDescriptor(i,h);_||u==this[h]||b.get&&!b.set||(this[h]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((o=t.F)!=null?o:{}),...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},Ot=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.W=t[3],s.F=Pe(e.F),s.P=e.P,s.U=e.U,s.C=[];const n=e.prototype.connectedCallback,o=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((i,r)=>{const a={i:0,$hostElement$:i,o:r,l:new Map,B:new Map};a.H=new Promise((c=>a.L=c)),i["s-p"]=[],i["s-rc"]=[];const l=a;i.__stencil__getHostRef=()=>l,512&r.i&&nt(i,a)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){const i=A(this);if(!i)return;Fe(this,i,s.W),this.__hasHostListenerAttached=!0}(i=>{if(!(1&O.i)){const r=A(i);if(!r)return;const a=r.o;if(1&r.i)Fe(i,r,a.W),r?.D||r?.H&&r.H.then((()=>{}));else{r.i|=1,12&a.i&&(l=>{if(!N.document)return;const c=l["s-cr"]=N.document.createComment("");c["s-cn"]=!0,j(l,c,l.firstChild)})(i);{let l=i;for(;l=l.parentNode||l.host;)if(l["s-p"]){Be(r,r.R=l);break}}a.t&&Object.entries(a.t).map((([l,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(i,l)){const u=i[l];delete i[l],i[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 p;typeof d.style=="string"&&(p=d.style);const S=$e(u);W.has(S)||((_,b,y)=>{let m=W.get(_);ee&&y?(m=m||new CSSStyleSheet,typeof m=="string"?m=b:m.replaceSync(b)):m=b,W.set(_,m)})(S,p,!!(1&u.i))}const h=c.R,g=()=>he(c,!0);h&&h["s-rc"]?h["s-rc"].push(g):g()}catch(h){L(h,l),c.A&&(c.A(),c.A=void 0),c.L&&c.L(l)}})(i,r,a)}}})(this),n&&n.call(this)},disconnectedCallback(){(async i=>{if(!(1&O.i)){const r=A(i);r?.V&&(r.V.map((a=>a())),r.V=void 0)}T.has(i)&&T.delete(i),i.shadowRoot&&T.has(i.shadowRoot)&&T.delete(i.shadowRoot)})(this),o&&o.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else dt.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),$t(e,s,3)}catch(n){return L(n),e}},ze=(e,t)=>t,Fe=(e,t,s)=>{s&&N.document&&s.map((([n,o,i])=>{const r=kt(N.document,e,n),a=Pt(t,i),l=Et(n);O.ael(r,o,a,l),(t.V=t.V||[]).push((()=>O.rel(r,o,a,l)))}))},Pt=(e,t)=>s=>{try{e.$hostElement$[t](s)}catch(n){L(n,e.$hostElement$)}},kt=(e,t,s)=>8&s?N:t,Et=e=>lt?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Es(e){return e}function Ve(e){var t,s,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(s=Ve(e[t]))&&(n&&(n+=" "),n+=s)}else for(s in e)e[s]&&(n&&(n+=" "),n+=s);return n}function k(){for(var e,t,s=0,n="",o=arguments.length;s<o;s++)(e=arguments[s])&&(t=Ve(e))&&(n&&(n+=" "),n+=t);return n}const jt=Object.freeze(Object.defineProperty({__proto__:null,getGidsDividerClassNames:({orientation:e},t)=>k("gids-divider",{"gids-divider--vertical":e==="vertical"},t)},Symbol.toStringTag,{value:"Module"})),At=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:s},n)=>k("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},s,n)},Symbol.toStringTag,{value:"Module"})),Mt=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerClassNames:({size:e},t)=>k("gids-spinner",{"gids-spinner--xs":e==="xs","gids-spinner--sm":e==="sm","gids-spinner--lg":e==="lg","gids-spinner--xl":e==="xl","gids-spinner--2xl":e==="2xl"},t)},Symbol.toStringTag,{value:"Module"})),Tt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>k("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"})),It=Object.freeze(Object.defineProperty({__proto__:null,getElementVisibility:e=>{const{label:t,supportingText:s}=e,n=typeof t=="string"&&t.trim().length>0,o=typeof s=="string"&&s.trim().length>0;return{hasLabel:n,hasSupportingText:o}}},Symbol.toStringTag,{value:"Module"})),Q=64,We=10,qe=Q/2-We/2,Lt=Q/2,pe=2*Math.PI*qe,Gt=`0 0 ${Q} ${Q}`,Dt=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const s=typeof t=="number"&&t>0?t:1,o=Math.max(0,Math.min(s,e))/s*100,i=(pe*o/100).toFixed(2),r=(pe-parseFloat(i)).toFixed(2);return`${i} ${r}`},centerPosition:Lt,circumference:pe,radius:qe,thickness:We,viewBox:Gt},Symbol.toStringTag,{value:"Module"})),Bt=Object.freeze(Object.defineProperty({__proto__:null,getGidsButtonGroupClassNames:({layout:e},t)=>k("gids-button-group",{"gids-button-group--scroll":e==="scroll"},t)},Symbol.toStringTag,{value:"Module"})),Rt=Object.freeze(Object.defineProperty({__proto__:null,getGidsHeadingClassNames:e=>k("gids-heading",e),getGidsHeadingSupportingTextTypographyClass:e=>e&&e.toString()!==""&&e!=="(none)"?`gids-typography-${e}`:""},Symbol.toStringTag,{value:"Module"})),Ht=Object.freeze(Object.defineProperty({__proto__:null,getGidsEditButtonClassNames:({size:e},t)=>k("gids-edit-button",{"gids-edit-button--xs":e==="xs","gids-edit-button--sm":e==="sm","gids-edit-button--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),zt=Object.freeze(Object.defineProperty({__proto__:null,getGidsListItemClassNames:({disabled:e,selected:t},s)=>k("gids-list-item",{"gids-list-item--selected":t,"gids-list-item--disabled":e},s)},Symbol.toStringTag,{value:"Module"})),Ft=Object.freeze(Object.defineProperty({__proto__:null,getGidsDropdownItemClassNames:e=>k("gids-dropdown-item",e)},Symbol.toStringTag,{value:"Module"})),Vt=Object.freeze(Object.defineProperty({__proto__:null,getGidsDropdownMenuClassNames:e=>k("gids-dropdown-menu",e)},Symbol.toStringTag,{value:"Module"})),Wt=Object.freeze(Object.defineProperty({__proto__:null,getGidsDropdownMenuGroupClassNames:({type:e},t)=>k("gids-dropdown-menu-group",{"gids-dropdown-menu-group--default":e==="default","gids-dropdown-menu-group--no-options":e==="no-options","gids-dropdown-menu-group--loading":e==="loading"},t)},Symbol.toStringTag,{value:"Module"})),qt=Object.freeze(Object.defineProperty({__proto__:null,getGidsCalendarMonthListClassNames:e=>k("gids-calendar-month-list",e),getGidsCalendarMonthListMonths:()=>{const e=[],t=new Intl.DateTimeFormat("en-US",{month:"long"});for(let s=1;s<=12;s+=1){const n=new Date(2e3,s-1,1),o=t.format(n);e.push({id:`${s}`,title:o,value:s})}return e}},Symbol.toStringTag,{value:"Module"})),fe=Symbol("defaultPath"),Ue=Symbol("pathSet"),ge="gids-asset-paths-set";class Ut extends EventTarget{#s=new Map;constructor(){super()}#e(t,s){this.#s.set(t,s)}#t(t){return this.#s.get(t)??null}#n=()=>{this.dispatchEvent(new Event(ge))};haveAssetPathsBeenSet(){return this.#t(Ue)!==null}setAssetPaths(t,s){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(fe,t);else{for(const n in t)this.#e(n,t[n]);s&&this.#e(fe,s)}this.#e(Ue,"true"),setTimeout(this.#n,0)}}getAssetFilePath(t){const s=this.#t(t);if(s===null){const n=this.#t(fe);if(n!==null)return`${n}${n.endsWith("/")?"":"/"}${t}`}return s}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(ge,t,{once:!0}),()=>{this.removeEventListener(ge,t)}}}const me=Symbol.for("GIDS"),Kt=()=>(globalThis[me]===void 0&&(globalThis[me]={assetPaths:{}}),globalThis[me]),Yt=e=>{const t=Kt().assetPaths;return t[e]===void 0&&(t[e]=new Ut),t[e]};function ye(){return Yt("@ganpatiinfo/gids-web-shared")}function Zt(){return ye().haveAssetPathsBeenSet()}function Ke(e){return ye().getAssetFilePath(e)}function Jt(e){return ye().onAssetPathsSet(e)}let Qt=0;const Xt=(e,t="gids")=>e||`${t}-${Qt++}`,{getGidsSpinnerControlClassNames:es}=At,{calculateStrokeDasharray:ts,thickness:Ye,radius:Ze,centerPosition:X,viewBox:ss}=Dt,ns=({size:e,indeterminate:t,value:s,max:n,...o})=>{let i;return t||(i={strokeDashArray:ts(s,n||0),strokeDashoffset:"0"}),f("svg",{class:es({size:e,indeterminate:t,value:s}),viewBox:ss,...o},f("circle",{class:"gids-spinner-control__track",cx:X,cy:X,r:Ze,"stroke-width":Ye}),f("circle",{style:i,class:"gids-spinner-control__progress",cx:X,cy:X,r:Ze,"stroke-width":Ye}))},{getGidsSpinnerClassNames:os}=Mt,{getElementVisibility:is}=It,ls=({label:e,supportingText:t,size:s,indeterminate:n,value:o,max:i,class:r,...a})=>{const{hasLabel:l,hasSupportingText:c}=is({label:e,supportingText:t});return f("span",{class:os({size:s},r),...a},f(ns,{size:s,indeterminate:n,value:o,max:i}),l&&f("span",{class:"gids-spinner__label"},e),c&&f("span",{class:"gids-spinner__supporting-text"},t))},Je={"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"]},Qe=new Map;for(const e in Je)for(const t of Je[e])Qe.set(t,e);function rs(e){return Qe.get(e)}function Xe(e,t="regular",s){const n=rs(e);let o=n??"";return s&&n&&(o=s(n)??n),`${o}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:as}=Tt,be=({name:e,size:t,appearance:s,alt:n,class:o,titleId:i,src:r,...a})=>{const l=Xt(i);let c=r;return c===void 0&&Zt()&&(c=Xe(e,s,Ke)),f("svg",{ref:u=>{c===void 0&&Jt((()=>{(function(d,h,g){if(!d)return;const p=document.createElementNS("http://www.w3.org/2000/svg","use");p.setAttribute("href",Xe(h,g,Ke)),d.appendChild(p)})(u,e,s)}))},width:"16",height:"16",class:as({size:t},o),role:"img","aria-hidden":n===""?"true":void 0,"aria-labelledby":n===""?void 0:l,...a},n!==""&&f("title",{id:l},n||e),c!==void 0?f("use",{href:c}):null)},{getGidsButtonGroupClassNames:ds}=Bt,cs=({layout:e,class:t},s)=>f("span",{class:ds({layout:e},t)},s),{getGidsDropdownMenuGroupClassNames:us}=Wt,hs=({type:e="no-options",supportingText:t="No options",class:s,...n},o)=>f("div",{class:us({type:e},s),...n},e==="loading"?f(ls,{indeterminate:!0,size:"md"}):null,e==="no-options"?f("span",null,t):null,e==="default"&&o!=null?o:null),{getGidsHeadingClassNames:ps,getGidsHeadingSupportingTextTypographyClass:fs}=Rt,gs=({heading:e,supportingText:t,level:s="section",children:n,supportingTextTypography:o,class:i})=>f("div",{class:ps(i)},f("div",{class:"gids-heading__content-container"},e!=null&&e!==""?typeof e=="string"?e!==""?f("span",{class:s==="section"?"gids-heading__heading-text-section":"gids-heading__heading-text-group"},e):null:e:null,t!=null&&t!==""?typeof t=="string"?t!==""?f("span",{class:`${s==="section"?"gids-heading__supporting-text-section":"gids-heading__supporting-text-group"} ${fs(o)}`},t):null:t:null),n?f(cs,{layout:"wrap"},n):null),{getGidsDropdownMenuClassNames:ms}=Vt,ys=({sectionLabel:e,class:t,...s},n)=>f("div",{class:ms(t),...s},e!=null&&e!==""?f(gs,{supportingText:e,supportingTextTypography:"eyebrow-medium"}):null,n!=null?f("div",{class:"gids-dropdown-menu__children"},n):null),{getGidsEditButtonClassNames:bs}=Ht,vs=({disabled:e,children:t,size:s="md",editButtonType:n="add",onPressEditButton:o,class:i,...r})=>f("button",{class:bs({size:s},i),...r,onClick:o,disabled:e},n==="custom"&&t?f("div",null,t):n==="add"?f("div",{class:e?"gids-edit-button__add gids-edit-button__disabled":"gids-edit-button__add"},f(be,{name:"add",appearance:"filled",size:s})):n==="remove"?f("div",{class:e?"gids-edit-button__remove gids-edit-button__disabled":"gids-edit-button__remove"},f(be,{appearance:"filled",name:"remove",size:s})):void 0),{getGidsDividerClassNames:Ss}=jt,_s=({orientation:e})=>f("hr",{class:Ss({orientation:e})}),{getGidsListItemClassNames:ws}=zt,Ns=({id:e,value:t,index:s,defaultSelected:n,disabled:o,selected:i,editButton:r,onPressEditButton:a,onPressListItem:l,leadingAccessory:c,leadingSupport:u,leadingParagraph:d,trailingContent:h,trailingAccessory:g,trailingSupport:p,trailingParagraph:S,divider:_,role:b="list-item-option",isPlaceholderItem:y,class:m,...C},v)=>{const w=i||n;return f("button",{type:"button",id:e,class:ws({selected:w,disabled:o},m),role:b,"aria-selected":w?"true":"false",disabled:o,value:(()=>{if(typeof t=="string"&&t.trim()!=="")return t;const $=v;return $?(Array.isArray($)?$:[$]).map((x=>typeof x=="string"||typeof x=="number"?String(x):x&&typeof x=="object"&&"text"in x?x.text??"":"")).join("").trim():""})(),tabIndex:s,onClick:$=>{const x=$.currentTarget;if(!x||$.defaultPrevented||x.disabled)return;const E=new CustomEvent("onPressListItem",{bubbles:!0,composed:!0,detail:{selectedIndex:s,defaultSelected:n,isPlaceholderItem:y}});l?.(E)},"is-placeholder-item":y?"true":"false",...C},f("div",{class:"gids-list-item__main-container"},r==null||r==="none"||o?null:f(vs,{size:"md",editButtonType:r,onPressEditButton:a}),c!=null?f("div",{class:o?"gids-list-item__leading-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__leading-accessory-container"},c):null,f("div",{class:"gids-list-item__middle-content-container"},f("div",{class:"gids-list-item__leading-content-container"},f(ze,null,v!=null?f("span",{class:o?"gids-list-item__leading-content-label gids-list-item__text-content-disabled":"gids-list-item__leading-content-label"},v):null,f("div",{class:"gids-list-item__leading-support-content"},u!=null?typeof u=="string"?f("p",{class:o?"gids-list-item__leading-content-supporting-text gids-list-item__text-content-disabled":"gids-list-item__leading-content-supporting-text"},u):u:null,d!=null?typeof d=="string"?f("p",{class:o?"gids-list-item__leading-content-paragraph-text gids-list-item__text-content-disabled":"gids-list-item__leading-content-paragraph-text"},d):d:null))),f("div",{class:"gids-list-item__trailing-content-container"},f(ze,null,h!=null?typeof h=="string"?f("span",{class:o?"gids-list-item__trailing-content-label gids-list-item__text-content-disabled":"gids-list-item__trailing-content-label"},h):h:null,f("div",{class:"gids-list-item__trailing-support-content"},p!=null?typeof p=="string"?f("p",{class:o?"gids-list-item__trailing-content-supporting-text gids-list-item__text-content-disabled":"gids-list-item__trailing-content-supporting-text"},p):p:null,S!=null?typeof S=="string"?f("p",{class:o?"gids-list-item__trailing-content-paragraph-text gids-list-item__text-content-disabled":"gids-list-item__trailing-content-paragraph-text"},S):S:null)))),w?f("div",{class:o?"gids-list-item__trailing-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__trailing-accessory-container"},f(be,{name:"checkmark",size:"md",appearance:"regular"})):null,w||g==null?null:f("div",{class:o?"gids-list-item__trailing-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__trailing-accessory-container"},g)),_&&!w?f("div",{class:"gids-list-item__divider"},f(_s,{orientation:"horizontal"})):null)},{getGidsDropdownItemClassNames:xs}=Ft,Cs=({id:e,title:t,class:s,selected:n=!1,disabled:o=!1,role:i="list-item-option",value:r,name:a,onPressDropdownItem:l,index:c,defaultSelected:u,leadingAccessory:d,divider:h,isPlaceholderItem:g,...p})=>{const S=xs(typeof s=="string"?s:void 0);return f(Ns,{id:e,index:c??0,defaultSelected:u,selected:n,disabled:o,role:i,value:r,name:a,leadingAccessory:d,class:S,onPressListItem:_=>{if(_.defaultPrevented)return;const b=new CustomEvent("onPressDropdownItem",{bubbles:!0,composed:!0,detail:{id:e,title:t,value:r,disabled:o,selectedIndex:c,defaultSelected:u,isPlaceholderItem:g}});l?.(b)},divider:h,isPlaceholderItem:g,...p},t)},{getGidsCalendarMonthListClassNames:$s,getGidsCalendarMonthListMonths:Os}=qt,et=Ot(class extends it{constructor(e){super(),e!==!1&&this.__registerHost(),this.type="default",this.disabledIndices=[],this.divider=!1,this.hasItemListener=!1,this.suppressNextMenuClickSelection=!1,this.handleCalendarMenuItemSelect=t=>{const{title:s,value:n,selectedIndex:o,disabled:i,id:r}=t.detail;i||typeof s!="string"||(this.suppressNextMenuClickSelection=!0,queueMicrotask((()=>{this.suppressNextMenuClickSelection=!1})),this.applySelection({id:r,month:s,monthInNumber:Number(n),disabled:!1,selectedIndex:o}))},this.handleMenuClick=t=>{if(this.suppressNextMenuClickSelection)return;const s=t?.detail;this.applySelection({id:s.id,monthInNumber:Number(s.value),month:s.title,disabled:!1,selectedIndex:s.selectedIndex})},this.monthsList=()=>Os(),this.getSelectedItem=()=>{const t=this.selectedMonthNumber,s=this.monthsList(),n=s.findIndex((i=>i.value===t));let o;return n!=null&&n!==-1&&(o=s[n]),{foundItem:o,foundIndex:n}},this.isItemSelected=t=>{const{foundIndex:s}=this.getSelectedItem();return s===t}}connectedCallback(){this.attachItemListener()}disconnectedCallback(){this.detachItemListener()}getItemElements(){return Array.from(this.hostElement.querySelectorAll(".gids-dropdown-item"))}attachItemListener(){this.hasItemListener||(this.hostElement.addEventListener("onPressDropdownItem",this.handleCalendarMenuItemSelect),this.hasItemListener=!0)}detachItemListener(){this.hasItemListener&&(this.hostElement.removeEventListener("onPressDropdownItem",this.handleCalendarMenuItemSelect),this.hasItemListener=!1)}applySelection(e){this.clearActive(),this.onSelectionMonthChange?.(e),this.hostElement.dispatchEvent(new CustomEvent("gidsCalendarMonthChange",{bubbles:!0,composed:!0,detail:e}))}clearActive(){this.getItemElements().forEach((e=>e.classList.remove("gids-dropdown-item--active")))}render(){const e=$s();return f("div",{key:"03c81c7b6d2fb6a1439f4a51a91817661b208175",class:e},f(hs,{key:"218015b22be3ab5dc1257ab99710759fcc91a60f",type:this.type,supportingText:this.noOptionsText},f(ys,{key:"63be7405e6ec2c1e658429832c3a484aa149880b",sectionLabel:"Months"},this.monthsList().map(((t,s)=>{const n=`${s+1}`,o=this.disabledIndices?.includes(s);return f(Cs,{title:t.title,value:`${t.value}`,key:`${s.toString()}`,index:s,id:n,selected:this.isItemSelected(s),onPressDropdownItem:this.handleMenuClick,disabled:o,divider:this.divider,isPlaceholderItem:!1})})))))}get hostElement(){return this}},[0,"gids-calendar-month-list",{type:[1],noOptionsText:[1,"no-options-text"],disabledIndices:[16],divider:[4],selectedMonthNumber:[2,"selected-month-number"],onSelectionMonthChange:[16]}]);function tt(){typeof customElements<"u"&&["gids-calendar-month-list"].forEach((e=>{e==="gids-calendar-month-list"&&(customElements.get(e)||customElements.define(e,et))}))}tt();const Ps=et,ks=tt;I.GidsCalendarMonthList=Ps,I.defineCustomElement=ks,Object.defineProperty(I,Symbol.toStringTag,{value:"Module"})}));
@@ -1,5 +1,5 @@
1
- (function(L,M){typeof exports=="object"&&typeof module<"u"?M(exports):typeof define=="function"&&define.amd?define(["exports"],M):(L=typeof globalThis<"u"?globalThis:L||self,M(L.gidsCoreWebGidsCalendarYearList={}))})(this,(function(L){"use strict";function M(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 B,it=(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=M(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)}}))},A=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},be=(e,t)=>t in e,G=(e,t)=>(0,console.error)(e,t),z=new Map,Se="http://www.w3.org/1999/xlink",ot=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],N=typeof window<"u"?window:{},lt=N.HTMLElement||class{},O={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)},rt=(()=>{var e;let t=!1;try{(e=N.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),ee=(()=>{try{return!!N.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),te=!!ee&&!!N.document&&Object.getOwnPropertyDescriptor(N.document.adoptedStyleSheets,"length").writable,se=!1,_e=[],we=[],at=(e,t)=>n=>{e.push(n),se||(se=!0,4&O.i?ie(ne):O.raf(ne))},Ne=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){G(n)}e.length=0},ne=()=>{Ne(_e),Ne(we),(se=_e.length>0)&&O.raf(ne)},ie=e=>Promise.resolve(void 0).then(e),dt=at(we);function ct(){const e=this.attachShadow({mode:"open"});B===void 0&&(B=null),B&&(te?e.adoptedStyleSheets.push(B):e.adoptedStyleSheets=[...e.adoptedStyleSheets,B])}var xe=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,R(s),!1).length)}));let n=0;for(n=0;n<t.length;n++){const s=t[n];s.nodeType===1&&le(s,"childNodes").length&&xe(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||R(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;)R(i)!==t||!n&&i["s-sr"]||s.push(i);return s},Ce=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",R=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,Y,I=new WeakMap,$e=e=>"sc-"+e.p,ae=e=>(e=typeof e)=="object"||e==="function",f=(e,t,...n)=>{let s=null,i=null,o=null,r=!1,a=!1;const l=[],c=d=>{for(let p=0;p<d.length;p++)s=d[p],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((p=>d[p])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,l,ht);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}),pt={},ht={forEach:(e,t)=>e.map(Oe).forEach(t),map:(e,t)=>e.map(Oe).map(t).map(ft)},Oe=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),ft=e=>{if(typeof e.vtag=="function"){const n={...e.vattrs};return e.vkey&&(n.key=e.vkey),e.vname&&(n.name=e.vname),f(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},Ee=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},Pe=(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=O.ce(t,n);return e.dispatchEvent(s),s},ke=(e,t,n,s,i,o)=>{if(n===s)return;let r=be(e,t),a=t.toLowerCase();if(t==="class"){const l=e.classList,c=je(n);let u=je(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&&vt(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=A(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(Se,t):e.removeAttribute(t)):(!r||4&o||i)&&!l&&e.nodeType===1&&(s=s===!0?"":s,c?e.setAttributeNS(Se,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):be(N,a)?a.slice(2):a[2]+t.slice(3),n||s){const l=t.endsWith(Ae);t=t.replace(yt,""),n&&O.rel(e,t,n,l),s&&O.ael(e,t,s,l)}}},mt=/\s/,je=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(mt):[]),Ae="Capture",yt=new RegExp(Ae+"$"),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||ke(s,r,i[r],void 0,n,t.i);for(const r of Te(Object.keys(o)))ke(s,r,i[r],o[r],n,t.i)};function Te(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var F=!1,q=!1,U=!1,E=!1,ce=[],ue=[],K=(e,t,n)=>{var s;const i=t.m[n];let o,r,a,l=0;if(F||(U=!0,i.O==="slot"&&(i.i|=i.m?2:1)),i.h!=null)o=i.S=N.document.createTextNode(i.h);else if(1&i.i)o=i.S=N.document.createTextNode(""),de(null,i,E);else{if(E||(E=i.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(o=i.S=N.document.createElementNS(E?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!F&&2&i.i?"slot-fb":i.O),E&&i.O==="foreignObject"&&(E=!1),de(null,i,E),i.m){const c=i.O==="template"?o.content:o;for(l=0;l<i.m.length;++l)r=K(e,i,l),r&&c.appendChild(r)}i.O==="svg"?E=!1:o.tagName==="foreignObject"&&(E=!0)}return o["s-hn"]=Y,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(p){const g=[],h=this["s-sn"];p?.flatten&&console.error(`
1
+ (function(L,M){typeof exports=="object"&&typeof module<"u"?M(exports):typeof define=="function"&&define.amd?define(["exports"],M):(L=typeof globalThis<"u"?globalThis:L||self,M(L.gidsCoreWebGidsCalendarYearList={}))})(this,(function(L){"use strict";function M(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 B,it=(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=M(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)}}))},A=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ve=(e,t)=>t in e,G=(e,t)=>(0,console.error)(e,t),z=new Map,Se="http://www.w3.org/1999/xlink",ot=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],N=typeof window<"u"?window:{},lt=N.HTMLElement||class{},O={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)},rt=(()=>{var e;let t=!1;try{(e=N.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),ee=(()=>{try{return!!N.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),te=!!ee&&!!N.document&&Object.getOwnPropertyDescriptor(N.document.adoptedStyleSheets,"length").writable,se=!1,_e=[],we=[],at=(e,t)=>n=>{e.push(n),se||(se=!0,4&O.i?ie(ne):O.raf(ne))},Ne=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){G(n)}e.length=0},ne=()=>{Ne(_e),Ne(we),(se=_e.length>0)&&O.raf(ne)},ie=e=>Promise.resolve(void 0).then(e),dt=at(we);function ct(){const e=this.attachShadow({mode:"open"});B===void 0&&(B=null),B&&(te?e.adoptedStyleSheets.push(B):e.adoptedStyleSheets=[...e.adoptedStyleSheets,B])}var xe=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,R(s),!1).length)}));let n=0;for(n=0;n<t.length;n++){const s=t[n];s.nodeType===1&&le(s,"childNodes").length&&xe(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||R(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;)R(i)!==t||!n&&i["s-sr"]||s.push(i);return s},Ce=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",R=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,Y,I=new WeakMap,$e=e=>"sc-"+e.p,ae=e=>(e=typeof e)=="object"||e==="function",f=(e,t,...n)=>{let s=null,i=null,o=null,r=!1,a=!1;const l=[],c=d=>{for(let p=0;p<d.length;p++)s=d[p],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((p=>d[p])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,l,ht);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}),pt={},ht={forEach:(e,t)=>e.map(Oe).forEach(t),map:(e,t)=>e.map(Oe).map(t).map(ft)},Oe=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),ft=e=>{if(typeof e.vtag=="function"){const n={...e.vattrs};return e.vkey&&(n.key=e.vkey),e.vname&&(n.name=e.vname),f(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},Ee=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},Pe=(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=O.ce(t,n);return e.dispatchEvent(s),s},ke=(e,t,n,s,i,o)=>{if(n===s)return;let r=ve(e,t),a=t.toLowerCase();if(t==="class"){const l=e.classList,c=je(n);let u=je(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=A(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(Se,t):e.removeAttribute(t)):(!r||4&o||i)&&!l&&e.nodeType===1&&(s=s===!0?"":s,c?e.setAttributeNS(Se,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):ve(N,a)?a.slice(2):a[2]+t.slice(3),n||s){const l=t.endsWith(Ae);t=t.replace(yt,""),n&&O.rel(e,t,n,l),s&&O.ael(e,t,s,l)}}},mt=/\s/,je=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(mt):[]),Ae="Capture",yt=new RegExp(Ae+"$"),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||ke(s,r,i[r],void 0,n,t.i);for(const r of Te(Object.keys(o)))ke(s,r,i[r],o[r],n,t.i)};function Te(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var F=!1,q=!1,U=!1,E=!1,ce=[],ue=[],K=(e,t,n)=>{var s;const i=t.m[n];let o,r,a,l=0;if(F||(U=!0,i.O==="slot"&&(i.i|=i.m?2:1)),i.h!=null)o=i.S=N.document.createTextNode(i.h);else if(1&i.i)o=i.S=N.document.createTextNode(""),de(null,i,E);else{if(E||(E=i.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(o=i.S=N.document.createElementNS(E?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!F&&2&i.i?"slot-fb":i.O),E&&i.O==="foreignObject"&&(E=!1),de(null,i,E),i.m){const c=i.O==="template"?o.content:o;for(l=0;l<i.m.length;++l)r=K(e,i,l),r&&c.appendChild(r)}i.O==="svg"?E=!1:o.tagName==="foreignObject"&&(E=!0)}return o["s-hn"]=Y,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(p){const g=[],h=this["s-sn"];p?.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:(_=>{const v=[];for(let y=0;y<_.length;y++){const m=_[y]["s-nr"]||void 0;m&&m.isConnected&&v.push(m)}return v})(S.childNodes)).forEach((_=>{h===R(_)&&g.push(_)})),d?g.filter((_=>_.nodeType===1)):g}).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&&Ie(e.S)),o},Ie=e=>{O.i|=1;const t=e.closest(Y.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&&(j(t,i,n??null),i["s-sh"]=void 0,U=!0)}O.i&=-2},Z=(e,t)=>{O.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"]===Y&&n.push(s)}for(let s=n.length-1;s>=0;s--){const i=n[s];i["s-hn"]!==Y&&i["s-ol"]&&(j(H(i).parentNode,i,H(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,U=!0),t&&Z(i,t)}O.i&=-2},Le=(e,t,n,s,i,o)=>{let r,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===Y&&(a=a.shadowRoot),n.O==="template"&&(a=a.content);i<=o;++i)s[i]&&(r=K(null,n,i),r&&(s[i].S=r,j(a,r,H(t))))},Ge=(e,t,n)=>{for(let s=t;s<=n;++s){const i=e[s];if(i){const o=i.S;Me(i),o&&(q=!0,o["s-ol"]?o["s-ol"].remove():Z(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.$),H=e=>e&&e["s-ol"]||e,D=(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?(E=r==="svg"||r!=="foreignObject"&&E,r!=="slot"||F||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Ie(t.S.parentElement)),de(e,t,E),i!==null&&o!==null?((c,u,d,p,g=!1)=>{let h,S,_=0,v=0,y=0,m=0,C=u.length-1,b=u[0],w=u[C],$=p.length-1,x=p[0],k=p[$];const nt=d.O==="template"?c.content:c;for(;_<=C&&v<=$;)if(b==null)b=u[++_];else if(w==null)w=u[--C];else if(x==null)x=p[++v];else if(k==null)k=p[--$];else if(J(b,x,g))D(b,x,g),b=u[++_],x=p[++v];else if(J(w,k,g))D(w,k,g),w=u[--C],k=p[--$];else if(J(b,k,g))b.O!=="slot"&&k.O!=="slot"||Z(b.S.parentNode,!1),D(b,k,g),j(nt,b.S,w.S.nextSibling),b=u[++_],k=p[--$];else if(J(w,x,g))b.O!=="slot"&&k.O!=="slot"||Z(w.S.parentNode,!1),D(w,x,g),j(nt,w.S,b.S),w=u[--C],x=p[++v];else{for(y=-1,m=_;m<=C;++m)if(u[m]&&u[m].$!==null&&u[m].$===x.$){y=m;break}y>=0?(S=u[y],S.O!==x.O?h=K(u&&u[v],d,y):(D(S,x,g),u[y]=void 0,h=S.S),x=p[++v]):(h=K(u&&u[v],d,v),x=p[++v]),h&&j(H(b.S).parentNode,h,H(b.S))}_>C?Le(c,p[$+1]==null?null:p[$+1].S,d,p,v,$):v>$&&Ge(u,_,C)})(s,i,t,o,n):o!==null?(e.h!==null&&(s.textContent=""),Le(s,null,t,o,0,o.length-1)):!n&&i!==null&&Ge(i,0,i.length-1),E&&r==="svg"&&(E=!1)):(l=s["s-cr"])?l.parentNode.textContent=a:e.h!==a&&(s.data=a)},T=[],Ye=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(Ce(t,r)){let a=T.find((l=>l.k===t));q=!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"],T.push({N:o,k:t})),t["s-sr"]&&T.map((l=>{Ce(l.k,t["s-sn"])&&(a=T.find((c=>c.k===t)),a&&!l.N&&(l.N=a.N))}))}else T.some((a=>a.k===t))||T.push({k:t})}o.nodeType===1&&Ye(o)}},Me=e=>{e.v&&e.v.ref&&ce.push((()=>e.v.ref(null))),e.m&&e.m.map(Me)},vt=(e,t)=>{ue.push((()=>e(t)))},j=(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"]=R(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)},bt=(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 p=(d=t)&&d.O===pt?t:f(null,null,t);if(Y=l.tagName,c.C&&(p.v=p.v||{},c.C.forEach((([g,h])=>{p.v[h]=l[g]}))),n&&p.v)for(const g of Object.keys(p.v))l.hasAttribute(g)&&!["key","ref","style","class"].includes(g)&&(p.v[g]=l[g]);if(p.O=null,p.i|=4,e.M=p,p.S=u.S=l.shadowRoot||l,F=!(!(1&c.i)||128&c.i),re=l["s-cr"],q=!1,D(u,p,n),O.i|=1,U){Ye(p.S);for(const g of T){const h=g.k;if(!h["s-ol"]&&N.document){const S=N.document.createTextNode("");S["s-nr"]=h,j(h.parentNode,h["s-ol"]=S,h,n)}}for(const g of T){const h=g.k,S=g.N;if(h.nodeType===1&&n&&(h["s-ih"]=(s=h.hidden)!=null&&s),S){const _=S.parentNode;let v=S.nextSibling;if(v&&v.nodeType===1){let y=(i=h["s-ol"])==null?void 0:i.previousSibling;for(;y;){let m=(o=y["s-nr"])!=null?o:null;if(m&&m["s-sn"]===h["s-sn"]&&_===(m.__parentNode||m.parentNode)){for(m=m.nextSibling;m===h||m?.["s-sr"];)m=m?.nextSibling;if(!m||!m["s-nr"]){v=m;break}}y=y.previousSibling}}if((!v&&_!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==v)&&h!==v){if(j(_,h,v,n),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,j(h.parentNode,y,h,n),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(r=h["s-ih"])!=null&&r)}h&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else h.nodeType===1&&(h.hidden=!0)}}if(q&&xe(p.S),O.i&=-2,T.length=0,!F&&!(1&c.i)&&l["s-cr"]){const g=p.S.__childNodes||p.S.childNodes;for(const h of g)if(h["s-hn"]!==Y&&!h["s-sh"]){if(n&&h["s-ih"]==null&&(h["s-ih"]=(a=h.hidden)!=null&&a),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const S=N.document.createComment("s-nt-"+h.nodeValue);S["s-sn"]=h["s-sn"],j(h.parentNode,S,h,n),h.parentNode.removeChild(h)}}}re=void 0,ce.forEach((g=>g())),ce.length=0,ue.forEach((g=>g())),ue.length=0},De=(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()})))}},pe=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);De(e,e.R);const n=()=>St(e,t);if(!t)return dt(n);queueMicrotask((()=>{n()}))},St=(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=V(s,t?"componentWillLoad":"componentWillUpdate",void 0,n),i=Be(i,(()=>V(s,"componentWillRender",void 0,n))),Be(i,(()=>wt(e,s,t)))},Be=(e,t)=>_t(e)?e.then(t).catch((n=>{console.error(n),t()})):t(),_t=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",wt=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,p)=>{var g,h,S;const _=$e(p),v=z.get(_);if(!N.document)return _;if(d=d.nodeType===11?d:N.document,v)if(typeof v=="string"){let y,m=I.get(d=d.head||d);if(m||I.set(d,m=new Set),!m.has(_)){y=N.document.createElement("style"),y.textContent=v;const C=(g=O._)!=null?g:(function(){var b,w,$;return($=(w=(b=N.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:w.getAttribute("content"))!=null?$:void 0})();if(C!=null&&y.setAttribute("nonce",C),!(1&p.i))if(d.nodeName==="HEAD"){const b=d.querySelectorAll("link[rel=preconnect]"),w=b.length>0?b[b.length-1].nextSibling:d.querySelector("style");d.insertBefore(y,w?.parentNode===d?w:null)}else if("host"in d)if(ee){const b=new((h=d.defaultView)!=null?h:d.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(v),te?d.adoptedStyleSheets.unshift(b):d.adoptedStyleSheets=[b,...d.adoptedStyleSheets]}else{const b=d.querySelector("style");b?b.textContent=v+b.textContent:d.prepend(y)}else d.append(y);1&p.i&&d.insertBefore(y,null),4&p.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),m&&m.add(_)}}else{let y=I.get(d);if(y||I.set(d,y=new Set),!y.has(_)){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 b=0;b<v.cssRules.length;b++)C.insertRule(v.cssRules[b].cssText,b)}te?d.adoptedStyleSheets.push(C):d.adoptedStyleSheets=[...d.adoptedStyleSheets,C],y.add(_)}}return _})(l.shadowRoot?l.shadowRoot:l.getRootNode(),a);10&c&&(l["s-sc"]=u,l.classList.add(u+"-h"))})(e),Nt(e,t,i,n),o&&(o.map((r=>r())),i["s-rc"]=void 0);{const r=(s=i["s-p"])!=null?s:[],a=()=>xt(e);r.length===0?a():(Promise.all(r).then(a).catch(a),e.i|=4,r.length=0)}},Nt=(e,t,n,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,bt(e,t,s)}catch(i){G(i,e.$hostElement$)}return null},xt=e=>{const t=e.$hostElement$,n=t,s=e.R;V(n,"componentDidRender",void 0,t),64&e.i?V(n,"componentDidUpdate",void 0,t):(e.i|=64,$t(t),V(n,"componentDidLoad",void 0,t),e.L(t),s||Ct()),e.A&&(e.A(),e.A=void 0),512&e.i&&ie((()=>pe(e,!1))),e.i&=-517},Ct=()=>{ie((()=>gt(N,"appload",{detail:{namespace:"gids-core-web"}})))},V=(e,t,n,s)=>{if(e&&e[t])try{return e[t](n)}catch(i){G(i,s)}},$t=e=>e.classList.add("hydrated"),Re=(e,t,n,s)=>{const i=A(e);if(!i)return;const o=e,r=i.l.get(t),a=i.i,l=o;n=Pe(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[[p,g]]=Object.entries(d);(128&a||1&g)&&(l?l[p](n,r,t):i.T.push((()=>{i.D[p](n,r,t)})))}catch(p){G(p,o)}}))}if(2&a){if(l.componentShouldUpdate&&l.componentShouldUpdate(n,r,t)===!1&&!(16&a))return;16&a||pe(i,!1)}}},Ot=(e,t,n)=>{var s,i;const o=e.prototype;64&t.i&&1&n&&ot.forEach((r=>{const a=o[r];Object.defineProperty(o,r,{value(...l){var c;const u=A(this),d=this;d?typeof a=="function"&&a.call(d,...l):(c=u?.H)==null||c.then((p=>{const g=p[r];typeof g=="function"&&g.call(p,...l)}))}})}));{e.watchers&&!t.F&&(t.F=Ee(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}=M(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,A(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(o,a,{set(d){const p=A(this);if(p){if(u)return(32&l?this[a]:p.$hostElement$[a])===void 0&&p.l.get(a)&&(d=p.l.get(a)),u.apply(this,[Pe(d,l,!!(64&t.i))]),void Re(this,a,d=32&l?this[a]:p.$hostElement$[a],t);Re(this,a,d,t)}}})}}));{const a=new Map;o.attributeChangedCallback=function(l,c,u){O.jmp((()=>{var d;const p=a.get(l),g=A(this);if(this.hasOwnProperty(p),o.hasOwnProperty(p)&&typeof this[p]=="number"&&this[p]==u)return;if(p==null){const y=g?.i;if(g&&y&&!(8&y)&&u!==c){const m=this,C=(d=t.F)==null?void 0:d[l];C?.forEach((b=>{const[[w,$]]=Object.entries(b);m[w]!=null&&(128&y||1&$)&&m[w].call(m,u,c,l)}))}return}const h=r.find((([y])=>y===p)),S=h&&4&h[1][0],_=S&&u===null&&this[p]===void 0;S&&(u=u!==null&&u!=="false");const v=Object.getOwnPropertyDescriptor(o,p);_||u==this[p]||v.get&&!v.set||(this[p]=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},Et=(e,t)=>{const n={i:t[0],p:t[1]};try{n.t=t[2],n.W=t[3],n.F=Ee(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&&it(o,a)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const o=A(this);if(!o)return;He(this,o,n.W),this.__hasHostListenerAttached=!0}(o=>{if(!(1&O.i)){const r=A(o);if(!r)return;const a=r.o;if(1&r.i)He(o,r,a.W),r?.D||r?.H&&r.H.then((()=>{}));else{r.i|=1,12&a.i&&(l=>{if(!N.document)return;const c=l["s-cr"]=N.document.createComment("");c["s-cn"]=!0,j(l,c,l.firstChild)})(o);{let l=o;for(;l=l.parentNode||l.host;)if(l["s-p"]){De(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 h;typeof d.style=="string"&&(h=d.style);const S=$e(u);z.has(S)||((_,v,y)=>{let m=z.get(_);ee&&y?(m=m||new CSSStyleSheet,typeof m=="string"?m=v:m.replaceSync(v)):m=v,z.set(_,m)})(S,h,!!(1&u.i))}const p=c.R,g=()=>pe(c,!0);p&&p["s-rc"]?p["s-rc"].push(g):g()}catch(p){G(p,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&O.i)){const r=A(o);r?.V&&(r.V.map((a=>a())),r.V=void 0)}I.has(o)&&I.delete(o),o.shadowRoot&&I.has(o.shadowRoot)&&I.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 ct.call(this,n)}}),Object.defineProperty(e,"is",{value:n.p,configurable:!0}),Ot(e,n,3)}catch(s){return G(s),e}},Fe=(e,t)=>t,He=(e,t,n)=>{n&&N.document&&n.map((([s,i,o])=>{const r=kt(N.document,e,s),a=Pt(t,o),l=jt(s);O.ael(r,i,a,l),(t.V=t.V||[]).push((()=>O.rel(r,i,a,l)))}))},Pt=(e,t)=>n=>{try{e.$hostElement$[t](n)}catch(s){G(s,e.$hostElement$)}},kt=(e,t,n)=>8&n?N:t,jt=e=>rt?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function js(e){return e}function Ve(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=Ve(e[t]))&&(s&&(s+=" "),s+=n)}else for(n in e)e[n]&&(s&&(s+=" "),s+=n);return s}function P(){for(var e,t,n=0,s="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Ve(e))&&(s&&(s+=" "),s+=t);return s}const At=Object.freeze(Object.defineProperty({__proto__:null,getGidsDividerClassNames:({orientation:e},t)=>P("gids-divider",{"gids-divider--vertical":e==="vertical"},t)},Symbol.toStringTag,{value:"Module"})),Tt=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:n},s)=>P("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"})),It=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerClassNames:({size:e},t)=>P("gids-spinner",{"gids-spinner--xs":e==="xs","gids-spinner--sm":e==="sm","gids-spinner--lg":e==="lg","gids-spinner--xl":e==="xl","gids-spinner--2xl":e==="2xl"},t)},Symbol.toStringTag,{value:"Module"})),Lt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>P("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"})),Gt=Object.freeze(Object.defineProperty({__proto__:null,getElementVisibility:e=>{const{label:t,supportingText:n}=e,s=typeof t=="string"&&t.trim().length>0,i=typeof n=="string"&&n.trim().length>0;return{hasLabel:s,hasSupportingText:i}}},Symbol.toStringTag,{value:"Module"})),Q=64,ze=10,We=Q/2-ze/2,Yt=Q/2,he=2*Math.PI*We,Mt=`0 0 ${Q} ${Q}`,Dt=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=(he*i/100).toFixed(2),r=(he-parseFloat(o)).toFixed(2);return`${o} ${r}`},centerPosition:Yt,circumference:he,radius:We,thickness:ze,viewBox:Mt},Symbol.toStringTag,{value:"Module"})),Bt=Object.freeze(Object.defineProperty({__proto__:null,getGidsButtonGroupClassNames:({layout:e},t)=>P("gids-button-group",{"gids-button-group--scroll":e==="scroll"},t)},Symbol.toStringTag,{value:"Module"})),Rt=Object.freeze(Object.defineProperty({__proto__:null,getGidsHeadingClassNames:e=>P("gids-heading",e),getGidsHeadingSupportingTextTypographyClass:e=>e&&e.toString()!==""&&e!=="(none)"?`gids-typography-${e}`:""},Symbol.toStringTag,{value:"Module"})),Ft=Object.freeze(Object.defineProperty({__proto__:null,getGidsEditButtonClassNames:({size:e},t)=>P("gids-edit-button",{"gids-edit-button--xs":e==="xs","gids-edit-button--sm":e==="sm","gids-edit-button--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),Ht=Object.freeze(Object.defineProperty({__proto__:null,getGidsListItemClassNames:({disabled:e,selected:t},n)=>P("gids-list-item",{"gids-list-item--selected":t,"gids-list-item--disabled":e},n)},Symbol.toStringTag,{value:"Module"})),Vt=Object.freeze(Object.defineProperty({__proto__:null,getGidsDropdownItemClassNames:e=>P("gids-dropdown-item",e)},Symbol.toStringTag,{value:"Module"})),zt=Object.freeze(Object.defineProperty({__proto__:null,getGidsDropdownMenuClassNames:e=>P("gids-dropdown-menu",e)},Symbol.toStringTag,{value:"Module"})),Wt=Object.freeze(Object.defineProperty({__proto__:null,getGidsDropdownMenuGroupClassNames:({type:e},t)=>P("gids-dropdown-menu-group",{"gids-dropdown-menu-group--default":e==="default","gids-dropdown-menu-group--no-options":e==="no-options","gids-dropdown-menu-group--loading":e==="loading"},t)},Symbol.toStringTag,{value:"Module"})),qt=Object.freeze(Object.defineProperty({__proto__:null,getGidsCalendarYearListClassNames:e=>P("gids-calendar-year-list",e),getGidsCalendarYearListYears:({startYear:e,endYear:t})=>{const n=[];let s=1;for(let i=e;i<=t;i+=1)n.push({id:`${s}_${i}`,title:`${i}`,value:i}),s=s+1;return n},isValidFourDigitYear:e=>{const t=e.toString().trim();if(!/^\d{4}$/.test(t))return!1;const s=parseInt(t,10);return s>=1e3&&s<=9999}},Symbol.toStringTag,{value:"Module"})),fe=Symbol("defaultPath"),qe=Symbol("pathSet"),ge="gids-asset-paths-set";class Ut extends EventTarget{#s=new Map;constructor(){super()}#e(t,n){this.#s.set(t,n)}#t(t){return this.#s.get(t)??null}#n=()=>{this.dispatchEvent(new Event(ge))};haveAssetPathsBeenSet(){return this.#t(qe)!==null}setAssetPaths(t,n){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(fe,t);else{for(const s in t)this.#e(s,t[s]);n&&this.#e(fe,n)}this.#e(qe,"true"),setTimeout(this.#n,0)}}getAssetFilePath(t){const n=this.#t(t);if(n===null){const s=this.#t(fe);if(s!==null)return`${s}${s.endsWith("/")?"":"/"}${t}`}return n}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(ge,t,{once:!0}),()=>{this.removeEventListener(ge,t)}}}const me=Symbol.for("GIDS"),Kt=()=>(globalThis[me]===void 0&&(globalThis[me]={assetPaths:{}}),globalThis[me]),Zt=e=>{const t=Kt().assetPaths;return t[e]===void 0&&(t[e]=new Ut),t[e]};function ye(){return Zt("@ganpatiinfo/gids-web-shared")}function Jt(){return ye().haveAssetPathsBeenSet()}function Ue(e){return ye().getAssetFilePath(e)}function Qt(e){return ye().onAssetPathsSet(e)}let Xt=0;const es=(e,t="gids")=>e||`${t}-${Xt++}`,{getGidsSpinnerControlClassNames:ts}=Tt,{calculateStrokeDasharray:ss,thickness:Ke,radius:Ze,centerPosition:X,viewBox:ns}=Dt,is=({size:e,indeterminate:t,value:n,max:s,...i})=>{let o;return t||(o={strokeDashArray:ss(n,s||0),strokeDashoffset:"0"}),f("svg",{class:ts({size:e,indeterminate:t,value:n}),viewBox:ns,...i},f("circle",{class:"gids-spinner-control__track",cx:X,cy:X,r:Ze,"stroke-width":Ke}),f("circle",{style:o,class:"gids-spinner-control__progress",cx:X,cy:X,r:Ze,"stroke-width":Ke}))},{getGidsSpinnerClassNames:os}=It,{getElementVisibility:ls}=Gt,rs=({label:e,supportingText:t,size:n,indeterminate:s,value:i,max:o,class:r,...a})=>{const{hasLabel:l,hasSupportingText:c}=ls({label:e,supportingText:t});return f("span",{class:os({size:n},r),...a},f(is,{size:n,indeterminate:s,value:i,max:o}),l&&f("span",{class:"gids-spinner__label"},e),c&&f("span",{class:"gids-spinner__supporting-text"},t))},Je={"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"]},Qe=new Map;for(const e in Je)for(const t of Je[e])Qe.set(t,e);function as(e){return Qe.get(e)}function Xe(e,t="regular",n){const s=as(e);let i=s??"";return n&&s&&(i=n(s)??s),`${i}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:ds}=Lt,ve=({name:e,size:t,appearance:n,alt:s,class:i,titleId:o,src:r,...a})=>{const l=es(o);let c=r;return c===void 0&&Jt()&&(c=Xe(e,n,Ue)),f("svg",{ref:u=>{c===void 0&&Qt((()=>{(function(d,p,g){if(!d)return;const h=document.createElementNS("http://www.w3.org/2000/svg","use");h.setAttribute("href",Xe(p,g,Ue)),d.appendChild(h)})(u,e,n)}))},width:"16",height:"16",class:ds({size:t},i),role:"img","aria-hidden":s===""?"true":void 0,"aria-labelledby":s===""?void 0:l,...a},s!==""&&f("title",{id:l},s||e),c!==void 0?f("use",{href:c}):null)},{getGidsButtonGroupClassNames:cs}=Bt,us=({layout:e,class:t},n)=>f("span",{class:cs({layout:e},t)},n),{getGidsDropdownMenuGroupClassNames:ps}=Wt,hs=({type:e="no-options",supportingText:t="No options",class:n,...s},i)=>f("div",{class:ps({type:e},n),...s},e==="loading"?f(rs,{indeterminate:!0,size:"md"}):null,e==="no-options"?f("span",null,t):null,e==="default"&&i!=null?i:null),{getGidsHeadingClassNames:fs,getGidsHeadingSupportingTextTypographyClass:gs}=Rt,ms=({heading:e,supportingText:t,level:n="section",children:s,supportingTextTypography:i,class:o})=>f("div",{class:fs(o)},f("div",{class:"gids-heading__content-container"},e!=null&&e!==""?typeof e=="string"?e!==""?f("span",{class:n==="section"?"gids-heading__heading-text-section":"gids-heading__heading-text-group"},e):null:e:null,t!=null&&t!==""?typeof t=="string"?t!==""?f("span",{class:`${n==="section"?"gids-heading__supporting-text-section":"gids-heading__supporting-text-group"} ${gs(i)}`},t):null:t:null),s?f(us,{layout:"wrap"},s):null),{getGidsDropdownMenuClassNames:ys}=zt,vs=({sectionLabel:e,class:t,...n},s)=>f("div",{class:ys(t),...n},e!=null&&e!==""?f(ms,{supportingText:e,supportingTextTypography:"eyebrow-medium"}):null,s!=null?f("div",{class:"gids-dropdown-menu__children"},s):null),{getGidsEditButtonClassNames:bs}=Ft,Ss=({disabled:e,children:t,size:n="md",editButtonType:s="add",onPressEditButton:i,class:o,...r})=>f("button",{class:bs({size:n},o),...r,onClick:i,disabled:e},s==="custom"&&t?f("div",null,t):s==="add"?f("div",{class:e?"gids-edit-button__add gids-edit-button__disabled":"gids-edit-button__add"},f(ve,{name:"add",appearance:"filled",size:n})):s==="remove"?f("div",{class:e?"gids-edit-button__remove gids-edit-button__disabled":"gids-edit-button__remove"},f(ve,{appearance:"filled",name:"remove",size:n})):void 0),{getGidsDividerClassNames:_s}=At,ws=({orientation:e})=>f("hr",{class:_s({orientation:e})}),{getGidsListItemClassNames:Ns}=Ht,xs=({id:e,value:t,index:n,defaultSelected:s,disabled:i,selected:o,editButton:r,onPressEditButton:a,onPressListItem:l,leadingAccessory:c,leadingSupport:u,leadingParagraph:d,trailingContent:p,trailingAccessory:g,trailingSupport:h,trailingParagraph:S,divider:_,role:v="list-item-option",isPlaceholderItem:y,class:m,...C},b)=>{const w=o||s;return f("button",{type:"button",id:e,class:Ns({selected:w,disabled:i},m),role:v,"aria-selected":w?"true":"false",disabled:i,value:(()=>{if(typeof t=="string"&&t.trim()!=="")return t;const $=b;return $?(Array.isArray($)?$:[$]).map((x=>typeof x=="string"||typeof x=="number"?String(x):x&&typeof x=="object"&&"text"in x?x.text??"":"")).join("").trim():""})(),tabIndex:n,onClick:$=>{const x=$.currentTarget;if(!x||$.defaultPrevented||x.disabled)return;const k=new CustomEvent("onPressListItem",{bubbles:!0,composed:!0,detail:{selectedIndex:n,defaultSelected:s,isPlaceholderItem:y}});l?.(k)},"is-placeholder-item":y?"true":"false",...C},f("div",{class:"gids-list-item__main-container"},r==null||r==="none"||i?null:f(Ss,{size:"md",editButtonType:r,onPressEditButton:a}),c!=null?f("div",{class:i?"gids-list-item__leading-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__leading-accessory-container"},c):null,f("div",{class:"gids-list-item__middle-content-container"},f("div",{class:"gids-list-item__leading-content-container"},f(Fe,null,b!=null?f("span",{class:i?"gids-list-item__leading-content-label gids-list-item__text-content-disabled":"gids-list-item__leading-content-label"},b):null,f("div",{class:"gids-list-item__leading-support-content"},u!=null?typeof u=="string"?f("p",{class:i?"gids-list-item__leading-content-supporting-text gids-list-item__text-content-disabled":"gids-list-item__leading-content-supporting-text"},u):u:null,d!=null?typeof d=="string"?f("p",{class:i?"gids-list-item__leading-content-paragraph-text gids-list-item__text-content-disabled":"gids-list-item__leading-content-paragraph-text"},d):d:null))),f("div",{class:"gids-list-item__trailing-content-container"},f(Fe,null,p!=null?typeof p=="string"?f("span",{class:i?"gids-list-item__trailing-content-label gids-list-item__text-content-disabled":"gids-list-item__trailing-content-label"},p):p:null,f("div",{class:"gids-list-item__trailing-support-content"},h!=null?typeof h=="string"?f("p",{class:i?"gids-list-item__trailing-content-supporting-text gids-list-item__text-content-disabled":"gids-list-item__trailing-content-supporting-text"},h):h:null,S!=null?typeof S=="string"?f("p",{class:i?"gids-list-item__trailing-content-paragraph-text gids-list-item__text-content-disabled":"gids-list-item__trailing-content-paragraph-text"},S):S:null)))),w?f("div",{class:i?"gids-list-item__trailing-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__trailing-accessory-container"},f(ve,{name:"checkmark",size:"md",appearance:"regular"})):null,w||g==null?null:f("div",{class:i?"gids-list-item__trailing-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__trailing-accessory-container"},g)),_&&!w?f("div",{class:"gids-list-item__divider"},f(ws,{orientation:"horizontal"})):null)},{getGidsDropdownItemClassNames:Cs}=Vt,$s=({id:e,title:t,class:n,selected:s=!1,disabled:i=!1,role:o="list-item-option",value:r,name:a,onPressDropdownItem:l,index:c,defaultSelected:u,leadingAccessory:d,divider:p,isPlaceholderItem:g,...h})=>{const S=Cs(typeof n=="string"?n:void 0);return f(xs,{id:e,index:c??0,defaultSelected:u,selected:s,disabled:i,role:o,value:r,name:a,leadingAccessory:d,class:S,onPressListItem:_=>{if(_.defaultPrevented)return;const v=new CustomEvent("onPressDropdownItem",{bubbles:!0,composed:!0,detail:{id:e,title:t,value:r,disabled:i,selectedIndex:c,defaultSelected:u,isPlaceholderItem:g}});l?.(v)},divider:p,isPlaceholderItem:g,...h},t)},{getGidsCalendarYearListClassNames:Os,getGidsCalendarYearListYears:Es,isValidFourDigitYear:et}=qt,tt=Et(class extends lt{constructor(e){super(),e!==!1&&this.__registerHost(),this.type="default",this.disabledIndices=[],this.divider=!1,this.newStartYear=new Date().getFullYear(),this.newEndYear=new Date().getFullYear()+100,this.hasItemListener=!1,this.suppressNextMenuClickSelection=!1,this.handleCalendarMenuItemSelect=t=>{const{title:n,value:s,selectedIndex:i,disabled:o,id:r}=t.detail;o||typeof n!="string"||(this.suppressNextMenuClickSelection=!0,queueMicrotask((()=>{this.suppressNextMenuClickSelection=!1})),this.applySelection({id:r,year:Number(s),disabled:!1,selectedIndex:i,startYear:this.newStartYear,endYear:this.newEndYear}))},this.handleMenuClick=t=>{if(this.suppressNextMenuClickSelection)return;const n=t?.detail;this.applySelection({id:n.id,year:Number(n.value),disabled:!1,selectedIndex:n.selectedIndex,startYear:this.newStartYear,endYear:this.newEndYear})},this.yearsList=()=>Es({startYear:this.newStartYear,endYear:this.newEndYear}),this.getSelectedItem=()=>{const t=this.selectedYear,n=this.yearsList(),s=n.findIndex((o=>o.value===t));let i;return s!=null&&s!==-1&&(i=n[s]),{foundItem:i,foundIndex:s}},this.isItemSelected=t=>{const{foundIndex:n}=this.getSelectedItem();return n===t}}connectedCallback(){this.attachItemListener(),this.handleStartAndEndYear()}disconnectedCallback(){this.detachItemListener()}getItemElements(){return Array.from(this.hostElement.querySelectorAll(".gids-dropdown-item"))}attachItemListener(){this.hasItemListener||(this.hostElement.addEventListener("onPressDropdownItem",this.handleCalendarMenuItemSelect),this.hasItemListener=!0)}detachItemListener(){this.hasItemListener&&(this.hostElement.removeEventListener("onPressDropdownItem",this.handleCalendarMenuItemSelect),this.hasItemListener=!1)}handleStartAndEndYear(){const e=this.startYear,t=this.endYear;return this.newStartYear=e&&e>0&&et(e)?e:new Date().getFullYear(),this.newEndYear=t&&t>0&&et(t)?t:this.newStartYear+100,{newStartYear:this.newStartYear,newEndYear:this.newEndYear}}applySelection(e){this.clearActive(),this.onSelectionYearChange?.(e),this.hostElement.dispatchEvent(new CustomEvent("gidsCalendarYearChange",{bubbles:!0,composed:!0,detail:e}))}clearActive(){this.getItemElements().forEach((e=>e.classList.remove("gids-dropdown-item--active")))}render(){const e=Os();return f("div",{key:"bfcd01860c33d9e76df2050ea70a1f3b2bfaf46c",class:e},f(hs,{key:"159e5afcf58334206f70bd5dde34d9d4aa8373f7",type:this.type,supportingText:this.noOptionsText},f(vs,{key:"8ba8e9441574b35f00faad1ccf151cdd543dab90",sectionLabel:"Years"},this.yearsList().map(((t,n)=>{const s=`${n+1}`,i=this.disabledIndices?.includes(t.value);return f($s,{title:t.title,value:`${t.value}`,key:`${n.toString()}`,index:n,id:s,selected:this.isItemSelected(n),onPressDropdownItem:this.handleMenuClick,disabled:i,divider:this.divider,isPlaceholderItem:!1})})))))}get hostElement(){return this}},[0,"gids-calendar-year-list",{type:[1],noOptionsText:[1,"no-options-text"],disabledIndices:[16],divider:[4],selectedYear:[2,"selected-year"],startYear:[2,"start-year"],endYear:[2,"end-year"],onSelectionYearChange:[16],newStartYear:[32],newEndYear:[32]}]);function st(){typeof customElements<"u"&&["gids-calendar-year-list"].forEach((e=>{e==="gids-calendar-year-list"&&(customElements.get(e)||customElements.define(e,tt))}))}st();const Ps=tt,ks=st;L.GidsCalendarYearList=Ps,L.defineCustomElement=ks,Object.defineProperty(L,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const S=this["s-cr"].parentElement;return(S.__childNodes?S.childNodes:(_=>{const b=[];for(let y=0;y<_.length;y++){const m=_[y]["s-nr"]||void 0;m&&m.isConnected&&b.push(m)}return b})(S.childNodes)).forEach((_=>{h===R(_)&&g.push(_)})),d?g.filter((_=>_.nodeType===1)):g}).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&&Ie(e.S)),o},Ie=e=>{O.i|=1;const t=e.closest(Y.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&&(j(t,i,n??null),i["s-sh"]=void 0,U=!0)}O.i&=-2},Z=(e,t)=>{O.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"]===Y&&n.push(s)}for(let s=n.length-1;s>=0;s--){const i=n[s];i["s-hn"]!==Y&&i["s-ol"]&&(j(H(i).parentNode,i,H(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,U=!0),t&&Z(i,t)}O.i&=-2},Le=(e,t,n,s,i,o)=>{let r,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===Y&&(a=a.shadowRoot),n.O==="template"&&(a=a.content);i<=o;++i)s[i]&&(r=K(null,n,i),r&&(s[i].S=r,j(a,r,H(t))))},Ge=(e,t,n)=>{for(let s=t;s<=n;++s){const i=e[s];if(i){const o=i.S;Me(i),o&&(q=!0,o["s-ol"]?o["s-ol"].remove():Z(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.$),H=e=>e&&e["s-ol"]||e,D=(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?(E=r==="svg"||r!=="foreignObject"&&E,r!=="slot"||F||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Ie(t.S.parentElement)),de(e,t,E),i!==null&&o!==null?((c,u,d,p,g=!1)=>{let h,S,_=0,b=0,y=0,m=0,C=u.length-1,v=u[0],w=u[C],$=p.length-1,x=p[0],k=p[$];const nt=d.O==="template"?c.content:c;for(;_<=C&&b<=$;)if(v==null)v=u[++_];else if(w==null)w=u[--C];else if(x==null)x=p[++b];else if(k==null)k=p[--$];else if(J(v,x,g))D(v,x,g),v=u[++_],x=p[++b];else if(J(w,k,g))D(w,k,g),w=u[--C],k=p[--$];else if(J(v,k,g))v.O!=="slot"&&k.O!=="slot"||Z(v.S.parentNode,!1),D(v,k,g),j(nt,v.S,w.S.nextSibling),v=u[++_],k=p[--$];else if(J(w,x,g))v.O!=="slot"&&k.O!=="slot"||Z(w.S.parentNode,!1),D(w,x,g),j(nt,w.S,v.S),w=u[--C],x=p[++b];else{for(y=-1,m=_;m<=C;++m)if(u[m]&&u[m].$!==null&&u[m].$===x.$){y=m;break}y>=0?(S=u[y],S.O!==x.O?h=K(u&&u[b],d,y):(D(S,x,g),u[y]=void 0,h=S.S),x=p[++b]):(h=K(u&&u[b],d,b),x=p[++b]),h&&j(H(v.S).parentNode,h,H(v.S))}_>C?Le(c,p[$+1]==null?null:p[$+1].S,d,p,b,$):b>$&&Ge(u,_,C)})(s,i,t,o,n):o!==null?(e.h!==null&&(s.textContent=""),Le(s,null,t,o,0,o.length-1)):!n&&i!==null&&Ge(i,0,i.length-1),E&&r==="svg"&&(E=!1)):(l=s["s-cr"])?l.parentNode.textContent=a:e.h!==a&&(s.data=a)},T=[],Ye=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(Ce(t,r)){let a=T.find((l=>l.k===t));q=!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"],T.push({N:o,k:t})),t["s-sr"]&&T.map((l=>{Ce(l.k,t["s-sn"])&&(a=T.find((c=>c.k===t)),a&&!l.N&&(l.N=a.N))}))}else T.some((a=>a.k===t))||T.push({k:t})}o.nodeType===1&&Ye(o)}},Me=e=>{e.v&&e.v.ref&&ce.push((()=>e.v.ref(null))),e.m&&e.m.map(Me)},bt=(e,t)=>{ue.push((()=>e(t)))},j=(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"]=R(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)},vt=(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 p=(d=t)&&d.O===pt?t:f(null,null,t);if(Y=l.tagName,c.C&&(p.v=p.v||{},c.C.forEach((([g,h])=>{p.v[h]=l[g]}))),n&&p.v)for(const g of Object.keys(p.v))l.hasAttribute(g)&&!["key","ref","style","class"].includes(g)&&(p.v[g]=l[g]);if(p.O=null,p.i|=4,e.M=p,p.S=u.S=l.shadowRoot||l,F=!(!(1&c.i)||128&c.i),re=l["s-cr"],q=!1,D(u,p,n),O.i|=1,U){Ye(p.S);for(const g of T){const h=g.k;if(!h["s-ol"]&&N.document){const S=N.document.createTextNode("");S["s-nr"]=h,j(h.parentNode,h["s-ol"]=S,h,n)}}for(const g of T){const h=g.k,S=g.N;if(h.nodeType===1&&n&&(h["s-ih"]=(s=h.hidden)!=null&&s),S){const _=S.parentNode;let b=S.nextSibling;if(b&&b.nodeType===1){let y=(i=h["s-ol"])==null?void 0:i.previousSibling;for(;y;){let m=(o=y["s-nr"])!=null?o:null;if(m&&m["s-sn"]===h["s-sn"]&&_===(m.__parentNode||m.parentNode)){for(m=m.nextSibling;m===h||m?.["s-sr"];)m=m?.nextSibling;if(!m||!m["s-nr"]){b=m;break}}y=y.previousSibling}}if((!b&&_!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==b)&&h!==b){if(j(_,h,b,n),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,j(h.parentNode,y,h,n),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(r=h["s-ih"])!=null&&r)}h&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else h.nodeType===1&&(h.hidden=!0)}}if(q&&xe(p.S),O.i&=-2,T.length=0,!F&&!(1&c.i)&&l["s-cr"]){const g=p.S.__childNodes||p.S.childNodes;for(const h of g)if(h["s-hn"]!==Y&&!h["s-sh"]){if(n&&h["s-ih"]==null&&(h["s-ih"]=(a=h.hidden)!=null&&a),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const S=N.document.createComment("s-nt-"+h.nodeValue);S["s-sn"]=h["s-sn"],j(h.parentNode,S,h,n),h.parentNode.removeChild(h)}}}re=void 0,ce.forEach((g=>g())),ce.length=0,ue.forEach((g=>g())),ue.length=0},De=(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()})))}},pe=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);De(e,e.R);const n=()=>St(e,t);if(!t)return dt(n);queueMicrotask((()=>{n()}))},St=(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=V(s,t?"componentWillLoad":"componentWillUpdate",void 0,n),i=Be(i,(()=>V(s,"componentWillRender",void 0,n))),Be(i,(()=>wt(e,s,t)))},Be=(e,t)=>_t(e)?e.then(t).catch((n=>{console.error(n),t()})):t(),_t=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",wt=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,p)=>{var g,h,S;const _=$e(p),b=z.get(_);if(!N.document)return _;if(d=d.nodeType===11?d:N.document,b)if(typeof b=="string"){let y,m=I.get(d=d.head||d);if(m||I.set(d,m=new Set),!m.has(_)){y=N.document.createElement("style"),y.textContent=b;const C=(g=O._)!=null?g:(function(){var v,w,$;return($=(w=(v=N.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:w.getAttribute("content"))!=null?$:void 0})();if(C!=null&&y.setAttribute("nonce",C),!(1&p.i))if(d.nodeName==="HEAD"){const v=d.querySelectorAll("link[rel=preconnect]"),w=v.length>0?v[v.length-1].nextSibling:d.querySelector("style");d.insertBefore(y,w?.parentNode===d?w:null)}else if("host"in d)if(ee){const v=new((h=d.defaultView)!=null?h:d.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(b),te?d.adoptedStyleSheets.unshift(v):d.adoptedStyleSheets=[v,...d.adoptedStyleSheets]}else{const v=d.querySelector("style");v?v.textContent=b+v.textContent:d.prepend(y)}else d.append(y);1&p.i&&d.insertBefore(y,null),4&p.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),m&&m.add(_)}}else{let y=I.get(d);if(y||I.set(d,y=new Set),!y.has(_)){const m=(S=d.defaultView)!=null?S:d.ownerDocument.defaultView;let C;if(b.constructor===m.CSSStyleSheet)C=b;else{C=new m.CSSStyleSheet;for(let v=0;v<b.cssRules.length;v++)C.insertRule(b.cssRules[v].cssText,v)}te?d.adoptedStyleSheets.push(C):d.adoptedStyleSheets=[...d.adoptedStyleSheets,C],y.add(_)}}return _})(l.shadowRoot?l.shadowRoot:l.getRootNode(),a);10&c&&(l["s-sc"]=u,l.classList.add(u+"-h"))})(e),Nt(e,t,i,n),o&&(o.map((r=>r())),i["s-rc"]=void 0);{const r=(s=i["s-p"])!=null?s:[],a=()=>xt(e);r.length===0?a():(Promise.all(r).then(a).catch(a),e.i|=4,r.length=0)}},Nt=(e,t,n,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,vt(e,t,s)}catch(i){G(i,e.$hostElement$)}return null},xt=e=>{const t=e.$hostElement$,n=t,s=e.R;V(n,"componentDidRender",void 0,t),64&e.i?V(n,"componentDidUpdate",void 0,t):(e.i|=64,$t(t),V(n,"componentDidLoad",void 0,t),e.L(t),s||Ct()),e.A&&(e.A(),e.A=void 0),512&e.i&&ie((()=>pe(e,!1))),e.i&=-517},Ct=()=>{ie((()=>gt(N,"appload",{detail:{namespace:"gids-core-web"}})))},V=(e,t,n,s)=>{if(e&&e[t])try{return e[t](n)}catch(i){G(i,s)}},$t=e=>e.classList.add("hydrated"),Re=(e,t,n,s)=>{const i=A(e);if(!i)return;const o=e,r=i.l.get(t),a=i.i,l=o;n=Pe(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[[p,g]]=Object.entries(d);(128&a||1&g)&&(l?l[p](n,r,t):i.T.push((()=>{i.D[p](n,r,t)})))}catch(p){G(p,o)}}))}if(2&a){if(l.componentShouldUpdate&&l.componentShouldUpdate(n,r,t)===!1&&!(16&a))return;16&a||pe(i,!1)}}},Ot=(e,t,n)=>{var s,i;const o=e.prototype;64&t.i&&1&n&&ot.forEach((r=>{const a=o[r];Object.defineProperty(o,r,{value(...l){var c;const u=A(this),d=this;d?typeof a=="function"&&a.call(d,...l):(c=u?.H)==null||c.then((p=>{const g=p[r];typeof g=="function"&&g.call(p,...l)}))}})}));{e.watchers&&!t.F&&(t.F=Ee(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}=M(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,A(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(o,a,{set(d){const p=A(this);if(p){if(u)return(32&l?this[a]:p.$hostElement$[a])===void 0&&p.l.get(a)&&(d=p.l.get(a)),u.apply(this,[Pe(d,l,!!(64&t.i))]),void Re(this,a,d=32&l?this[a]:p.$hostElement$[a],t);Re(this,a,d,t)}}})}}));{const a=new Map;o.attributeChangedCallback=function(l,c,u){O.jmp((()=>{var d;const p=a.get(l),g=A(this);if(this.hasOwnProperty(p),o.hasOwnProperty(p)&&typeof this[p]=="number"&&this[p]==u)return;if(p==null){const y=g?.i;if(g&&y&&!(8&y)&&u!==c){const m=this,C=(d=t.F)==null?void 0:d[l];C?.forEach((v=>{const[[w,$]]=Object.entries(v);m[w]!=null&&(128&y||1&$)&&m[w].call(m,u,c,l)}))}return}const h=r.find((([y])=>y===p)),S=h&&4&h[1][0],_=S&&u===null&&this[p]===void 0;S&&(u=u!==null&&u!=="false");const b=Object.getOwnPropertyDescriptor(o,p);_||u==this[p]||b.get&&!b.set||(this[p]=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},Et=(e,t)=>{const n={i:t[0],p:t[1]};try{n.t=t[2],n.W=t[3],n.F=Ee(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&&it(o,a)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const o=A(this);if(!o)return;He(this,o,n.W),this.__hasHostListenerAttached=!0}(o=>{if(!(1&O.i)){const r=A(o);if(!r)return;const a=r.o;if(1&r.i)He(o,r,a.W),r?.D||r?.H&&r.H.then((()=>{}));else{r.i|=1,12&a.i&&(l=>{if(!N.document)return;const c=l["s-cr"]=N.document.createComment("");c["s-cn"]=!0,j(l,c,l.firstChild)})(o);{let l=o;for(;l=l.parentNode||l.host;)if(l["s-p"]){De(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 h;typeof d.style=="string"&&(h=d.style);const S=$e(u);z.has(S)||((_,b,y)=>{let m=z.get(_);ee&&y?(m=m||new CSSStyleSheet,typeof m=="string"?m=b:m.replaceSync(b)):m=b,z.set(_,m)})(S,h,!!(1&u.i))}const p=c.R,g=()=>pe(c,!0);p&&p["s-rc"]?p["s-rc"].push(g):g()}catch(p){G(p,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&O.i)){const r=A(o);r?.V&&(r.V.map((a=>a())),r.V=void 0)}I.has(o)&&I.delete(o),o.shadowRoot&&I.has(o.shadowRoot)&&I.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 ct.call(this,n)}}),Object.defineProperty(e,"is",{value:n.p,configurable:!0}),Ot(e,n,3)}catch(s){return G(s),e}},Fe=(e,t)=>t,He=(e,t,n)=>{n&&N.document&&n.map((([s,i,o])=>{const r=kt(N.document,e,s),a=Pt(t,o),l=jt(s);O.ael(r,i,a,l),(t.V=t.V||[]).push((()=>O.rel(r,i,a,l)))}))},Pt=(e,t)=>n=>{try{e.$hostElement$[t](n)}catch(s){G(s,e.$hostElement$)}},kt=(e,t,n)=>8&n?N:t,jt=e=>rt?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function js(e){return e}function Ve(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=Ve(e[t]))&&(s&&(s+=" "),s+=n)}else for(n in e)e[n]&&(s&&(s+=" "),s+=n);return s}function P(){for(var e,t,n=0,s="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Ve(e))&&(s&&(s+=" "),s+=t);return s}const At=Object.freeze(Object.defineProperty({__proto__:null,getGidsDividerClassNames:({orientation:e},t)=>P("gids-divider",{"gids-divider--vertical":e==="vertical"},t)},Symbol.toStringTag,{value:"Module"})),Tt=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:n},s)=>P("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"})),It=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerClassNames:({size:e},t)=>P("gids-spinner",{"gids-spinner--xs":e==="xs","gids-spinner--sm":e==="sm","gids-spinner--lg":e==="lg","gids-spinner--xl":e==="xl","gids-spinner--2xl":e==="2xl"},t)},Symbol.toStringTag,{value:"Module"})),Lt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>P("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"})),Gt=Object.freeze(Object.defineProperty({__proto__:null,getElementVisibility:e=>{const{label:t,supportingText:n}=e,s=typeof t=="string"&&t.trim().length>0,i=typeof n=="string"&&n.trim().length>0;return{hasLabel:s,hasSupportingText:i}}},Symbol.toStringTag,{value:"Module"})),Q=64,ze=10,We=Q/2-ze/2,Yt=Q/2,he=2*Math.PI*We,Mt=`0 0 ${Q} ${Q}`,Dt=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=(he*i/100).toFixed(2),r=(he-parseFloat(o)).toFixed(2);return`${o} ${r}`},centerPosition:Yt,circumference:he,radius:We,thickness:ze,viewBox:Mt},Symbol.toStringTag,{value:"Module"})),Bt=Object.freeze(Object.defineProperty({__proto__:null,getGidsButtonGroupClassNames:({layout:e},t)=>P("gids-button-group",{"gids-button-group--scroll":e==="scroll"},t)},Symbol.toStringTag,{value:"Module"})),Rt=Object.freeze(Object.defineProperty({__proto__:null,getGidsHeadingClassNames:e=>P("gids-heading",e),getGidsHeadingSupportingTextTypographyClass:e=>e&&e.toString()!==""&&e!=="(none)"?`gids-typography-${e}`:""},Symbol.toStringTag,{value:"Module"})),Ft=Object.freeze(Object.defineProperty({__proto__:null,getGidsEditButtonClassNames:({size:e},t)=>P("gids-edit-button",{"gids-edit-button--xs":e==="xs","gids-edit-button--sm":e==="sm","gids-edit-button--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),Ht=Object.freeze(Object.defineProperty({__proto__:null,getGidsListItemClassNames:({disabled:e,selected:t},n)=>P("gids-list-item",{"gids-list-item--selected":t,"gids-list-item--disabled":e},n)},Symbol.toStringTag,{value:"Module"})),Vt=Object.freeze(Object.defineProperty({__proto__:null,getGidsDropdownItemClassNames:e=>P("gids-dropdown-item",e)},Symbol.toStringTag,{value:"Module"})),zt=Object.freeze(Object.defineProperty({__proto__:null,getGidsDropdownMenuClassNames:e=>P("gids-dropdown-menu",e)},Symbol.toStringTag,{value:"Module"})),Wt=Object.freeze(Object.defineProperty({__proto__:null,getGidsDropdownMenuGroupClassNames:({type:e},t)=>P("gids-dropdown-menu-group",{"gids-dropdown-menu-group--default":e==="default","gids-dropdown-menu-group--no-options":e==="no-options","gids-dropdown-menu-group--loading":e==="loading"},t)},Symbol.toStringTag,{value:"Module"})),qt=Object.freeze(Object.defineProperty({__proto__:null,getGidsCalendarYearListClassNames:e=>P("gids-calendar-year-list",e),getGidsCalendarYearListYears:({startYear:e,endYear:t})=>{const n=[];let s=1;for(let i=e;i<=t;i+=1)n.push({id:`${s}_${i}`,title:`${i}`,value:i}),s=s+1;return n},isValidFourDigitYear:e=>{const t=e.toString().trim();if(!/^\d{4}$/.test(t))return!1;const s=parseInt(t,10);return s>=1e3&&s<=9999}},Symbol.toStringTag,{value:"Module"})),fe=Symbol("defaultPath"),qe=Symbol("pathSet"),ge="gids-asset-paths-set";class Ut extends EventTarget{#s=new Map;constructor(){super()}#e(t,n){this.#s.set(t,n)}#t(t){return this.#s.get(t)??null}#n=()=>{this.dispatchEvent(new Event(ge))};haveAssetPathsBeenSet(){return this.#t(qe)!==null}setAssetPaths(t,n){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(fe,t);else{for(const s in t)this.#e(s,t[s]);n&&this.#e(fe,n)}this.#e(qe,"true"),setTimeout(this.#n,0)}}getAssetFilePath(t){const n=this.#t(t);if(n===null){const s=this.#t(fe);if(s!==null)return`${s}${s.endsWith("/")?"":"/"}${t}`}return n}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(ge,t,{once:!0}),()=>{this.removeEventListener(ge,t)}}}const me=Symbol.for("GIDS"),Kt=()=>(globalThis[me]===void 0&&(globalThis[me]={assetPaths:{}}),globalThis[me]),Zt=e=>{const t=Kt().assetPaths;return t[e]===void 0&&(t[e]=new Ut),t[e]};function ye(){return Zt("@ganpatiinfo/gids-web-shared")}function Jt(){return ye().haveAssetPathsBeenSet()}function Ue(e){return ye().getAssetFilePath(e)}function Qt(e){return ye().onAssetPathsSet(e)}let Xt=0;const es=(e,t="gids")=>e||`${t}-${Xt++}`,{getGidsSpinnerControlClassNames:ts}=Tt,{calculateStrokeDasharray:ss,thickness:Ke,radius:Ze,centerPosition:X,viewBox:ns}=Dt,is=({size:e,indeterminate:t,value:n,max:s,...i})=>{let o;return t||(o={strokeDashArray:ss(n,s||0),strokeDashoffset:"0"}),f("svg",{class:ts({size:e,indeterminate:t,value:n}),viewBox:ns,...i},f("circle",{class:"gids-spinner-control__track",cx:X,cy:X,r:Ze,"stroke-width":Ke}),f("circle",{style:o,class:"gids-spinner-control__progress",cx:X,cy:X,r:Ze,"stroke-width":Ke}))},{getGidsSpinnerClassNames:os}=It,{getElementVisibility:ls}=Gt,rs=({label:e,supportingText:t,size:n,indeterminate:s,value:i,max:o,class:r,...a})=>{const{hasLabel:l,hasSupportingText:c}=ls({label:e,supportingText:t});return f("span",{class:os({size:n},r),...a},f(is,{size:n,indeterminate:s,value:i,max:o}),l&&f("span",{class:"gids-spinner__label"},e),c&&f("span",{class:"gids-spinner__supporting-text"},t))},Je={"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"]},Qe=new Map;for(const e in Je)for(const t of Je[e])Qe.set(t,e);function as(e){return Qe.get(e)}function Xe(e,t="regular",n){const s=as(e);let i=s??"";return n&&s&&(i=n(s)??s),`${i}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:ds}=Lt,be=({name:e,size:t,appearance:n,alt:s,class:i,titleId:o,src:r,...a})=>{const l=es(o);let c=r;return c===void 0&&Jt()&&(c=Xe(e,n,Ue)),f("svg",{ref:u=>{c===void 0&&Qt((()=>{(function(d,p,g){if(!d)return;const h=document.createElementNS("http://www.w3.org/2000/svg","use");h.setAttribute("href",Xe(p,g,Ue)),d.appendChild(h)})(u,e,n)}))},width:"16",height:"16",class:ds({size:t},i),role:"img","aria-hidden":s===""?"true":void 0,"aria-labelledby":s===""?void 0:l,...a},s!==""&&f("title",{id:l},s||e),c!==void 0?f("use",{href:c}):null)},{getGidsButtonGroupClassNames:cs}=Bt,us=({layout:e,class:t},n)=>f("span",{class:cs({layout:e},t)},n),{getGidsDropdownMenuGroupClassNames:ps}=Wt,hs=({type:e="no-options",supportingText:t="No options",class:n,...s},i)=>f("div",{class:ps({type:e},n),...s},e==="loading"?f(rs,{indeterminate:!0,size:"md"}):null,e==="no-options"?f("span",null,t):null,e==="default"&&i!=null?i:null),{getGidsHeadingClassNames:fs,getGidsHeadingSupportingTextTypographyClass:gs}=Rt,ms=({heading:e,supportingText:t,level:n="section",children:s,supportingTextTypography:i,class:o})=>f("div",{class:fs(o)},f("div",{class:"gids-heading__content-container"},e!=null&&e!==""?typeof e=="string"?e!==""?f("span",{class:n==="section"?"gids-heading__heading-text-section":"gids-heading__heading-text-group"},e):null:e:null,t!=null&&t!==""?typeof t=="string"?t!==""?f("span",{class:`${n==="section"?"gids-heading__supporting-text-section":"gids-heading__supporting-text-group"} ${gs(i)}`},t):null:t:null),s?f(us,{layout:"wrap"},s):null),{getGidsDropdownMenuClassNames:ys}=zt,bs=({sectionLabel:e,class:t,...n},s)=>f("div",{class:ys(t),...n},e!=null&&e!==""?f(ms,{supportingText:e,supportingTextTypography:"eyebrow-medium"}):null,s!=null?f("div",{class:"gids-dropdown-menu__children"},s):null),{getGidsEditButtonClassNames:vs}=Ft,Ss=({disabled:e,children:t,size:n="md",editButtonType:s="add",onPressEditButton:i,class:o,...r})=>f("button",{class:vs({size:n},o),...r,onClick:i,disabled:e},s==="custom"&&t?f("div",null,t):s==="add"?f("div",{class:e?"gids-edit-button__add gids-edit-button__disabled":"gids-edit-button__add"},f(be,{name:"add",appearance:"filled",size:n})):s==="remove"?f("div",{class:e?"gids-edit-button__remove gids-edit-button__disabled":"gids-edit-button__remove"},f(be,{appearance:"filled",name:"remove",size:n})):void 0),{getGidsDividerClassNames:_s}=At,ws=({orientation:e})=>f("hr",{class:_s({orientation:e})}),{getGidsListItemClassNames:Ns}=Ht,xs=({id:e,value:t,index:n,defaultSelected:s,disabled:i,selected:o,editButton:r,onPressEditButton:a,onPressListItem:l,leadingAccessory:c,leadingSupport:u,leadingParagraph:d,trailingContent:p,trailingAccessory:g,trailingSupport:h,trailingParagraph:S,divider:_,role:b="list-item-option",isPlaceholderItem:y,class:m,...C},v)=>{const w=o||s;return f("button",{type:"button",id:e,class:Ns({selected:w,disabled:i},m),role:b,"aria-selected":w?"true":"false",disabled:i,value:(()=>{if(typeof t=="string"&&t.trim()!=="")return t;const $=v;return $?(Array.isArray($)?$:[$]).map((x=>typeof x=="string"||typeof x=="number"?String(x):x&&typeof x=="object"&&"text"in x?x.text??"":"")).join("").trim():""})(),tabIndex:n,onClick:$=>{const x=$.currentTarget;if(!x||$.defaultPrevented||x.disabled)return;const k=new CustomEvent("onPressListItem",{bubbles:!0,composed:!0,detail:{selectedIndex:n,defaultSelected:s,isPlaceholderItem:y}});l?.(k)},"is-placeholder-item":y?"true":"false",...C},f("div",{class:"gids-list-item__main-container"},r==null||r==="none"||i?null:f(Ss,{size:"md",editButtonType:r,onPressEditButton:a}),c!=null?f("div",{class:i?"gids-list-item__leading-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__leading-accessory-container"},c):null,f("div",{class:"gids-list-item__middle-content-container"},f("div",{class:"gids-list-item__leading-content-container"},f(Fe,null,v!=null?f("span",{class:i?"gids-list-item__leading-content-label gids-list-item__text-content-disabled":"gids-list-item__leading-content-label"},v):null,f("div",{class:"gids-list-item__leading-support-content"},u!=null?typeof u=="string"?f("p",{class:i?"gids-list-item__leading-content-supporting-text gids-list-item__text-content-disabled":"gids-list-item__leading-content-supporting-text"},u):u:null,d!=null?typeof d=="string"?f("p",{class:i?"gids-list-item__leading-content-paragraph-text gids-list-item__text-content-disabled":"gids-list-item__leading-content-paragraph-text"},d):d:null))),f("div",{class:"gids-list-item__trailing-content-container"},f(Fe,null,p!=null?typeof p=="string"?f("span",{class:i?"gids-list-item__trailing-content-label gids-list-item__text-content-disabled":"gids-list-item__trailing-content-label"},p):p:null,f("div",{class:"gids-list-item__trailing-support-content"},h!=null?typeof h=="string"?f("p",{class:i?"gids-list-item__trailing-content-supporting-text gids-list-item__text-content-disabled":"gids-list-item__trailing-content-supporting-text"},h):h:null,S!=null?typeof S=="string"?f("p",{class:i?"gids-list-item__trailing-content-paragraph-text gids-list-item__text-content-disabled":"gids-list-item__trailing-content-paragraph-text"},S):S:null)))),w?f("div",{class:i?"gids-list-item__trailing-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__trailing-accessory-container"},f(be,{name:"checkmark",size:"md",appearance:"regular"})):null,w||g==null?null:f("div",{class:i?"gids-list-item__trailing-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__trailing-accessory-container"},g)),_&&!w?f("div",{class:"gids-list-item__divider"},f(ws,{orientation:"horizontal"})):null)},{getGidsDropdownItemClassNames:Cs}=Vt,$s=({id:e,title:t,class:n,selected:s=!1,disabled:i=!1,role:o="list-item-option",value:r,name:a,onPressDropdownItem:l,index:c,defaultSelected:u,leadingAccessory:d,divider:p,isPlaceholderItem:g,...h})=>{const S=Cs(typeof n=="string"?n:void 0);return f(xs,{id:e,index:c??0,defaultSelected:u,selected:s,disabled:i,role:o,value:r,name:a,leadingAccessory:d,class:S,onPressListItem:_=>{if(_.defaultPrevented)return;const b=new CustomEvent("onPressDropdownItem",{bubbles:!0,composed:!0,detail:{id:e,title:t,value:r,disabled:i,selectedIndex:c,defaultSelected:u,isPlaceholderItem:g}});l?.(b)},divider:p,isPlaceholderItem:g,...h},t)},{getGidsCalendarYearListClassNames:Os,getGidsCalendarYearListYears:Es,isValidFourDigitYear:et}=qt,tt=Et(class extends lt{constructor(e){super(),e!==!1&&this.__registerHost(),this.type="default",this.disabledIndices=[],this.divider=!1,this.newStartYear=new Date().getFullYear(),this.newEndYear=new Date().getFullYear()+100,this.hasItemListener=!1,this.suppressNextMenuClickSelection=!1,this.handleCalendarMenuItemSelect=t=>{const{title:n,value:s,selectedIndex:i,disabled:o,id:r}=t.detail;o||typeof n!="string"||(this.suppressNextMenuClickSelection=!0,queueMicrotask((()=>{this.suppressNextMenuClickSelection=!1})),this.applySelection({id:r,year:Number(s),disabled:!1,selectedIndex:i,startYear:this.newStartYear,endYear:this.newEndYear}))},this.handleMenuClick=t=>{if(this.suppressNextMenuClickSelection)return;const n=t?.detail;this.applySelection({id:n.id,year:Number(n.value),disabled:!1,selectedIndex:n.selectedIndex,startYear:this.newStartYear,endYear:this.newEndYear})},this.yearsList=()=>Es({startYear:this.newStartYear,endYear:this.newEndYear}),this.getSelectedItem=()=>{const t=this.selectedYear,n=this.yearsList(),s=n.findIndex((o=>o.value===t));let i;return s!=null&&s!==-1&&(i=n[s]),{foundItem:i,foundIndex:s}},this.isItemSelected=t=>{const{foundIndex:n}=this.getSelectedItem();return n===t}}connectedCallback(){this.attachItemListener(),this.handleStartAndEndYear()}disconnectedCallback(){this.detachItemListener()}getItemElements(){return Array.from(this.hostElement.querySelectorAll(".gids-dropdown-item"))}attachItemListener(){this.hasItemListener||(this.hostElement.addEventListener("onPressDropdownItem",this.handleCalendarMenuItemSelect),this.hasItemListener=!0)}detachItemListener(){this.hasItemListener&&(this.hostElement.removeEventListener("onPressDropdownItem",this.handleCalendarMenuItemSelect),this.hasItemListener=!1)}handleStartAndEndYear(){const e=this.startYear,t=this.endYear;return this.newStartYear=e&&e>0&&et(e)?e:new Date().getFullYear(),this.newEndYear=t&&t>0&&et(t)?t:this.newStartYear+100,{newStartYear:this.newStartYear,newEndYear:this.newEndYear}}applySelection(e){this.clearActive(),this.onSelectionYearChange?.(e),this.hostElement.dispatchEvent(new CustomEvent("gidsCalendarYearChange",{bubbles:!0,composed:!0,detail:e}))}clearActive(){this.getItemElements().forEach((e=>e.classList.remove("gids-dropdown-item--active")))}render(){const e=Os();return f("div",{key:"af9ef0437dbeba878bb5d09b0dcb4339ab819efd",class:e},f(hs,{key:"8083aa3b6a0160923f514bf067475cc835c3256b",type:this.type,supportingText:this.noOptionsText},f(bs,{key:"d9c7ec1df68bd2e67e236e7135927f27dd7bc328",sectionLabel:"Years"},this.yearsList().map(((t,n)=>{const s=`${n+1}`,i=this.disabledIndices?.includes(t.value);return f($s,{title:t.title,value:`${t.value}`,key:`${n.toString()}`,index:n,id:s,selected:this.isItemSelected(n),onPressDropdownItem:this.handleMenuClick,disabled:i,divider:this.divider,isPlaceholderItem:!1})})))))}get hostElement(){return this}},[0,"gids-calendar-year-list",{type:[1],noOptionsText:[1,"no-options-text"],disabledIndices:[16],divider:[4],selectedYear:[2,"selected-year"],startYear:[2,"start-year"],endYear:[2,"end-year"],onSelectionYearChange:[16],newStartYear:[32],newEndYear:[32]}]);function st(){typeof customElements<"u"&&["gids-calendar-year-list"].forEach((e=>{e==="gids-calendar-year-list"&&(customElements.get(e)||customElements.define(e,tt))}))}st();const Ps=tt,ks=st;L.GidsCalendarYearList=Ps,L.defineCustomElement=ks,Object.defineProperty(L,Symbol.toStringTag,{value:"Module"})}));