@ganpatiinfo/gids-core-web 8.2.0 → 10.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 (231) hide show
  1. package/dist/css/index.css +1919 -0
  2. package/dist/css/index.css.map +1 -1
  3. package/dist/custom-elements.json +332 -0
  4. package/dist/gids-activity-gauge.d.ts +11 -0
  5. package/dist/gids-activity-gauge.js +1 -0
  6. package/dist/gids-bar-chart.d.ts +11 -0
  7. package/dist/gids-bar-chart.js +1 -0
  8. package/dist/gids-calendar-header-panel.d.ts +11 -0
  9. package/dist/gids-calendar-header-panel.js +1 -0
  10. package/dist/gids-calendar-month-list.d.ts +11 -0
  11. package/dist/gids-calendar-month-list.js +1 -0
  12. package/dist/gids-calendar-year-list.d.ts +11 -0
  13. package/dist/gids-calendar-year-list.js +1 -0
  14. package/dist/gids-calendar.d.ts +11 -0
  15. package/dist/gids-calendar.js +1 -0
  16. package/dist/gids-chart-legend-item.d.ts +11 -0
  17. package/dist/gids-chart-legend-item.js +1 -0
  18. package/dist/gids-chart-legend.d.ts +11 -0
  19. package/dist/gids-chart-legend.js +1 -0
  20. package/dist/gids-chart.d.ts +11 -0
  21. package/dist/gids-chart.js +1 -0
  22. package/dist/gids-chevron-button.d.ts +11 -0
  23. package/dist/gids-chevron-button.js +1 -0
  24. package/dist/gids-dot.d.ts +11 -0
  25. package/dist/gids-dot.js +1 -0
  26. package/dist/gids-dropdown-field.d.ts +11 -0
  27. package/dist/gids-dropdown-field.js +1 -0
  28. package/dist/gids-dropdown-picker.d.ts +11 -0
  29. package/dist/gids-dropdown-picker.js +1 -0
  30. package/dist/gids-dropdown.d.ts +11 -0
  31. package/dist/gids-dropdown.js +1 -0
  32. package/dist/gids-field.d.ts +1 -1
  33. package/dist/gids-field.js +1 -1
  34. package/dist/gids-icon.d.ts +1 -1
  35. package/dist/gids-icon.js +1 -1
  36. package/dist/gids-input.d.ts +1 -1
  37. package/dist/gids-input.js +1 -1
  38. package/dist/gids-level-gauge.d.ts +11 -0
  39. package/dist/gids-level-gauge.js +1 -0
  40. package/dist/gids-line-chart.d.ts +11 -0
  41. package/dist/gids-line-chart.js +1 -0
  42. package/dist/gids-notification.d.ts +1 -1
  43. package/dist/gids-notification.js +1 -1
  44. package/dist/gids-overflow-container.d.ts +1 -1
  45. package/dist/gids-overflow-container.js +1 -1
  46. package/dist/gids-overlay-provider.d.ts +1 -1
  47. package/dist/gids-overlay-provider.js +1 -1
  48. package/dist/gids-password-field.d.ts +1 -1
  49. package/dist/gids-password-field.js +1 -1
  50. package/dist/gids-pie-chart.d.ts +11 -0
  51. package/dist/gids-pie-chart.js +1 -0
  52. package/dist/gids-popover.d.ts +11 -0
  53. package/dist/gids-popover.js +1 -0
  54. package/dist/gids-progress-circle.d.ts +11 -0
  55. package/dist/gids-progress-circle.js +1 -0
  56. package/dist/gids-scrim.d.ts +1 -1
  57. package/dist/gids-scrim.js +1 -1
  58. package/dist/gids-snackbar.d.ts +1 -1
  59. package/dist/gids-snackbar.js +1 -1
  60. package/dist/gids-text-field.d.ts +1 -1
  61. package/dist/gids-text-field.js +1 -1
  62. package/dist/gids-toggle-button.d.ts +1 -1
  63. package/dist/gids-toggle-button.js +1 -1
  64. package/dist/gids-tooltip.d.ts +11 -0
  65. package/dist/gids-tooltip.js +1 -0
  66. package/dist/index.js +1 -1
  67. package/dist/p-9_mrQ7ac.js +1 -0
  68. package/dist/p-B81J5HCC.js +1 -0
  69. package/dist/p-B8kX8Vqv.js +1 -0
  70. package/dist/p-BFHWXEeg.js +1 -0
  71. package/dist/p-B_HaXpJZ.js +1 -0
  72. package/dist/p-BaO-kEWS.js +1 -0
  73. package/dist/p-BiPAgxAQ.js +1 -0
  74. package/dist/p-Bmb-HiXg.js +1 -0
  75. package/dist/{p-veoOgDXg.js → p-BnL97lOW.js} +1 -1
  76. package/dist/{p-DjvDBWCb.js → p-BvYnawkJ.js} +1 -1
  77. package/dist/p-CIP0xyhD.js +1 -0
  78. package/dist/p-CJzporPT.js +1 -0
  79. package/dist/p-CPSHPtGE.js +1 -0
  80. package/dist/p-CRngHsR7.js +1 -0
  81. package/dist/p-Ct3Ixgvf.js +1 -0
  82. package/dist/p-D93TNeOt.js +1 -0
  83. package/dist/p-DKsrt7dx.js +1 -0
  84. package/dist/p-DZWWuJac.js +1 -0
  85. package/dist/p-D_wcwB7E.js +1 -0
  86. package/dist/p-Dehss-X0.js +1 -0
  87. package/dist/{p-Bg3lw2Ae.js → p-DfFqFdmS.js} +1 -1
  88. package/dist/p-KxRqlvSh.js +1 -0
  89. package/dist/p-MgTlrSP_.js +1 -0
  90. package/dist/p-a3JfEYJp.js +1 -0
  91. package/dist/p-h6alWGT8.js +1 -0
  92. package/dist/p-quZYWCxU.js +1 -0
  93. package/dist/p-tyIgTtUC.js +1 -0
  94. package/dist/p-uqSjmNkw.js +1 -0
  95. package/dist/types/components/html/GidsButton/GidsButton.d.ts +1 -1
  96. package/dist/types/components/html/GidsCalendarCell/GidsCalendarCell.d.ts +7 -0
  97. package/dist/types/components/html/GidsCalendarDayCell/GidsCalendarDayCell.d.ts +4 -0
  98. package/dist/types/components/html/GidsDropdownItem/GidsDropdownItem.d.ts +9 -0
  99. package/dist/types/components/html/GidsDropdownMenu/GidsDropdownMenu.d.ts +6 -0
  100. package/dist/types/components/html/GidsDropdownMenuGroup/GidsDropdownMenuGroup.d.ts +5 -0
  101. package/dist/types/components/html/GidsEditButton/GidsEditButton.d.ts +7 -0
  102. package/dist/types/components/html/GidsListItem/GidsListItem.d.ts +11 -0
  103. package/dist/types/components/html/GidsMenu/GidsMenu.d.ts +6 -0
  104. package/dist/types/components/html/GidsMenuGroup/GidsMenuGroup.d.ts +5 -0
  105. package/dist/types/components/html/GidsPageTitle/GidsPageTitle.d.ts +4 -0
  106. package/dist/types/components/shared/GidsFloatingElementManager.d.ts +57 -0
  107. package/dist/types/components/shared/GidsFloatingElementTypes.d.ts +4 -0
  108. package/dist/types/components/webComponents/GidsActivityGauge/GidsActivityGauge.d.ts +23 -0
  109. package/dist/types/components/webComponents/GidsBarChart/GidsBarChart.d.ts +27 -0
  110. package/dist/types/components/webComponents/GidsCalendar/GidsCalendar.d.ts +34 -0
  111. package/dist/types/components/webComponents/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.d.ts +67 -0
  112. package/dist/types/components/webComponents/GidsCalendarMonthList/GidsCalendarMonthList.d.ts +26 -0
  113. package/dist/types/components/webComponents/GidsCalendarYearList/GidsCalendarYearList.d.ts +31 -0
  114. package/dist/types/components/webComponents/GidsChart/GidsChart.d.ts +19 -0
  115. package/dist/types/components/webComponents/GidsChartLegend/GidsChartLegend.d.ts +7 -0
  116. package/dist/types/components/webComponents/GidsChartLegendItem/GidsChartLegendItem.d.ts +9 -0
  117. package/dist/types/components/webComponents/GidsChevronButton/GidsChevronButton.d.ts +21 -0
  118. package/dist/types/components/webComponents/GidsDot/GidsDot.d.ts +17 -0
  119. package/dist/types/components/webComponents/GidsDropdown/GidsDropdown.d.ts +78 -0
  120. package/dist/types/components/webComponents/GidsDropdownField/GidsDropdownField.d.ts +37 -0
  121. package/dist/types/components/webComponents/GidsDropdownPicker/GidsDropdownPicker.d.ts +52 -0
  122. package/dist/types/components/webComponents/GidsLevelGauge/GidsLevelGauge.d.ts +22 -0
  123. package/dist/types/components/webComponents/GidsLineChart/GidsLineChart.d.ts +27 -0
  124. package/dist/types/components/webComponents/GidsPieChart/GidsPieChart.d.ts +23 -0
  125. package/dist/types/components/webComponents/GidsPopover/GidsPopover.d.ts +24 -0
  126. package/dist/types/components/webComponents/GidsProgressCircle/GidsProgressCircle.d.ts +24 -0
  127. package/dist/types/components/webComponents/GidsTooltip/GidsTooltip.d.ts +23 -0
  128. package/dist/types/components.d.ts +1420 -64
  129. package/dist/types/index.d.ts +2 -0
  130. package/dist/types/utils/childrenValidityUtils.d.ts +8 -0
  131. package/dist-bundled/es/gids-activity-gauge.js +6 -0
  132. package/dist-bundled/es/gids-bar-chart.js +6 -0
  133. package/dist-bundled/es/gids-calendar-header-panel.js +6 -0
  134. package/dist-bundled/es/gids-calendar-month-list.js +6 -0
  135. package/dist-bundled/es/gids-calendar-year-list.js +6 -0
  136. package/dist-bundled/es/gids-calendar.js +153 -0
  137. package/dist-bundled/es/gids-chart-legend-item.js +6 -0
  138. package/dist-bundled/es/gids-chart-legend.js +6 -0
  139. package/dist-bundled/es/gids-chart.js +108 -0
  140. package/dist-bundled/es/gids-chevron-button.js +56 -0
  141. package/dist-bundled/es/gids-dot.js +6 -0
  142. package/dist-bundled/es/gids-dropdown-field.js +88 -0
  143. package/dist-bundled/es/gids-dropdown-picker.js +6 -0
  144. package/dist-bundled/es/gids-dropdown.js +6 -0
  145. package/dist-bundled/es/gids-field.js +1 -1
  146. package/dist-bundled/es/gids-icon.js +4 -30
  147. package/dist-bundled/es/gids-input.js +4 -4
  148. package/dist-bundled/es/gids-level-gauge.js +6 -0
  149. package/dist-bundled/es/gids-line-chart.js +6 -0
  150. package/dist-bundled/es/gids-notification.js +1 -1
  151. package/dist-bundled/es/gids-overflow-container.js +9 -9
  152. package/dist-bundled/es/gids-overlay-provider.js +17 -17
  153. package/dist-bundled/es/gids-password-field.js +21 -20
  154. package/dist-bundled/es/gids-pie-chart.js +6 -0
  155. package/dist-bundled/es/gids-popover.js +110 -0
  156. package/dist-bundled/es/gids-progress-circle.js +6 -0
  157. package/dist-bundled/es/gids-scrim.js +7 -7
  158. package/dist-bundled/es/gids-snackbar.js +1 -1
  159. package/dist-bundled/es/gids-text-field.js +14 -13
  160. package/dist-bundled/es/gids-toggle-button.js +8 -8
  161. package/dist-bundled/es/gids-tooltip.js +66 -0
  162. package/dist-bundled/es/index.js +33 -19
  163. package/dist-bundled/es/p-9_mrQ7ac-If6e6cvJ.js +71 -0
  164. package/dist-bundled/es/p-B81J5HCC-Bkt2yXKi.js +47 -0
  165. package/dist-bundled/es/p-B8kX8Vqv-trBz4jdS.js +7 -0
  166. package/dist-bundled/es/p-BFHWXEeg-ByjSjz8i.js +133 -0
  167. package/dist-bundled/es/p-B_HaXpJZ-a2SDgQ0E.js +37 -0
  168. package/dist-bundled/es/p-BaO-kEWS-ZITkeP-j.js +241 -0
  169. package/dist-bundled/es/p-BiPAgxAQ-BtMBQpJY.js +31 -0
  170. package/dist-bundled/es/p-Bmb-HiXg-MyHWdhpw.js +80 -0
  171. package/dist-bundled/es/{p-veoOgDXg-DElc87c0.js → p-BnL97lOW-BO0p4EdC.js} +20 -13
  172. package/dist-bundled/es/{p-DjvDBWCb-C9js0PPL.js → p-BvYnawkJ-DohV9UNG.js} +10 -10
  173. package/dist-bundled/es/p-CIP0xyhD-D6y5soLj.js +180 -0
  174. package/dist-bundled/es/p-CJzporPT-I_OdjJsQ.js +92 -0
  175. package/dist-bundled/es/p-CPSHPtGE-C7baJgXR.js +115 -0
  176. package/dist-bundled/es/p-CRngHsR7-DL9wz3Z3.js +25 -0
  177. package/dist-bundled/es/p-Ct3Ixgvf-CNP_PKwP.js +646 -0
  178. package/dist-bundled/es/p-D93TNeOt-Vvshbux8.js +88 -0
  179. package/dist-bundled/es/{p-DybsMR13-DpmsG3Q1.js → p-DKsrt7dx-ImYLc4xz.js} +1 -1
  180. package/dist-bundled/es/p-DZWWuJac-DNQvnHAr.js +15 -0
  181. package/dist-bundled/es/p-D_wcwB7E-d3jYxfod.js +20 -0
  182. package/dist-bundled/es/p-Dehss-X0-Di5vMgvd.js +29 -0
  183. package/dist-bundled/es/{p-Bg3lw2Ae-CkC8nUqv.js → p-DfFqFdmS-DjI2pk-0.js} +6 -6
  184. package/dist-bundled/es/p-KxRqlvSh-JOFDmT0B.js +25 -0
  185. package/dist-bundled/es/p-MgTlrSP_-DifRVv94.js +70 -0
  186. package/dist-bundled/es/p-a3JfEYJp-DyhDK6VZ.js +1128 -0
  187. package/dist-bundled/es/p-h6alWGT8-CSY2g3c8.js +67 -0
  188. package/dist-bundled/es/p-quZYWCxU-CPyWW0nv.js +56 -0
  189. package/dist-bundled/es/p-tyIgTtUC-C8jR4A5G.js +71 -0
  190. package/dist-bundled/es/p-uqSjmNkw-Cz2T86sC.js +55 -0
  191. package/dist-bundled/umd/gids-activity-gauge.umd.js +5 -0
  192. package/dist-bundled/umd/gids-bar-chart.umd.js +13 -0
  193. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +5 -0
  194. package/dist-bundled/umd/gids-calendar-month-list.umd.js +5 -0
  195. package/dist-bundled/umd/gids-calendar-year-list.umd.js +5 -0
  196. package/dist-bundled/umd/gids-calendar.umd.js +5 -0
  197. package/dist-bundled/umd/gids-chart-legend-item.umd.js +5 -0
  198. package/dist-bundled/umd/gids-chart-legend.umd.js +5 -0
  199. package/dist-bundled/umd/gids-chart.umd.js +13 -0
  200. package/dist-bundled/umd/gids-chevron-button.umd.js +5 -0
  201. package/dist-bundled/umd/gids-dot.umd.js +5 -0
  202. package/dist-bundled/umd/gids-dropdown-field.umd.js +5 -0
  203. package/dist-bundled/umd/gids-dropdown-picker.umd.js +5 -0
  204. package/dist-bundled/umd/gids-dropdown.umd.js +5 -0
  205. package/dist-bundled/umd/gids-field.umd.js +2 -2
  206. package/dist-bundled/umd/gids-icon.umd.js +2 -2
  207. package/dist-bundled/umd/gids-input.umd.js +2 -2
  208. package/dist-bundled/umd/gids-level-gauge.umd.js +5 -0
  209. package/dist-bundled/umd/gids-line-chart.umd.js +5 -0
  210. package/dist-bundled/umd/gids-notification.umd.js +2 -2
  211. package/dist-bundled/umd/gids-overflow-container.umd.js +2 -2
  212. package/dist-bundled/umd/gids-overlay-provider.umd.js +2 -2
  213. package/dist-bundled/umd/gids-password-field.umd.js +2 -2
  214. package/dist-bundled/umd/gids-pie-chart.umd.js +5 -0
  215. package/dist-bundled/umd/gids-popover.umd.js +5 -0
  216. package/dist-bundled/umd/gids-progress-circle.umd.js +5 -0
  217. package/dist-bundled/umd/gids-scrim.umd.js +2 -2
  218. package/dist-bundled/umd/gids-snackbar.umd.js +2 -2
  219. package/dist-bundled/umd/gids-text-field.umd.js +2 -2
  220. package/dist-bundled/umd/gids-toggle-button.umd.js +3 -3
  221. package/dist-bundled/umd/gids-tooltip.umd.js +5 -0
  222. package/dist-bundled/umd/index.umd.js +2 -2
  223. package/dist-bundled/umd-complete/gids-core-web.umd.js +11 -3
  224. package/package.json +422 -262
  225. package/dist/p-CWdkmFbc.js +0 -1
  226. package/dist/p-DijVkS9b.js +0 -1
  227. package/dist/p-DybsMR13.js +0 -1
  228. package/dist/p-ibikYq-w.js +0 -1
  229. package/dist-bundled/es/p-CWdkmFbc-D89ZE8Mi.js +0 -24
  230. package/dist-bundled/es/p-DijVkS9b-CtFkEtlE.js +0 -35
  231. package/dist-bundled/es/p-ibikYq-w-BsGxk8ro.js +0 -635
@@ -0,0 +1,5 @@
1
+ (function(A,R){typeof exports=="object"&&typeof module<"u"?R(exports):typeof define=="function"&&define.amd?define(["exports"],R):(A=typeof globalThis<"u"?globalThis:A||self,R(A.gidsCoreWebGidsLevelGauge={}))})(this,(function(A){"use strict";function R(e,t,l){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const i=Object.getOwnPropertyDescriptor(e,t);if(i&&(!l||i.get))return i;e=Object.getPrototypeOf(e)}}var F,Ie=(e,t)=>{var l;Object.entries((l=t.o.t)!=null?l:{}).map((([s,[i]])=>{if(31&i||32&i){const a=e[s],r=R(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);r&&Object.defineProperty(e,s,{get(){return r.get.call(this)},set(n){r.set.call(this,n)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):a!==void 0&&(e[s]=a)}}))},L=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ue=(e,t)=>t in e,M=(e,t)=>(0,console.error)(e,t),I=new Map,fe="http://www.w3.org/1999/xlink",We=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],w=typeof window<"u"?window:{},qe=w.HTMLElement||class{},N={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,l,s)=>e.addEventListener(t,l,s),rel:(e,t,l,s)=>e.removeEventListener(t,l,s),ce:(e,t)=>new CustomEvent(e,t)},ee=(()=>{try{return!!w.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),te=!!ee&&!!w.document&&Object.getOwnPropertyDescriptor(w.document.adoptedStyleSheets,"length").writable,se=!1,me=[],ye=[],Xe=(e,t)=>l=>{e.push(l),se||(se=!0,4&N.i?ie(le):N.raf(le))},ve=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(l){M(l)}e.length=0},le=()=>{ve(me),ve(ye),(se=me.length>0)&&N.raf(le)},ie=e=>Promise.resolve(void 0).then(e),Ye=Xe(ye);function Ze(){const e=this.attachShadow({mode:"open"});F===void 0&&(F=null),F&&(te?e.adoptedStyleSheets.push(F):e.adoptedStyleSheets=[...e.adoptedStyleSheets,F])}var _e=e=>{const t=oe(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&ae(t,e.tagName).forEach((s=>{s.nodeType===1&&s.tagName==="SLOT-FB"&&(s.hidden=!!Je(s,G(s),!1).length)}));let l=0;for(l=0;l<t.length;l++){const s=t[l];s.nodeType===1&&oe(s,"childNodes").length&&_e(s)}};function ae(e,t,l){let s,i=0,a=[];for(;i<e.length;i++){if(s=e[i],s["s-sr"]&&(!t||s["s-hn"]===t)&&(l===void 0||G(s)===l)&&(a.push(s),l!==void 0))return a;a=[...a,...ae(s.childNodes,t,l)]}return a}var Je=(e,t,l=!0)=>{const s=[];(l&&e["s-sr"]||!e["s-sr"])&&s.push(e);let i=e;for(;i=i.nextSibling;)G(i)!==t||!l&&i["s-sr"]||s.push(i);return s},be=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",G=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function oe(e,t){if("__"+t in e){const l=e["__"+t];return typeof l!="function"?l:l.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var ne,P,z=new WeakMap,xe=e=>"sc-"+e.p,re=e=>(e=typeof e)=="object"||e==="function",_=(e,t,...l)=>{let s=null,i=null,a=null,r=!1,n=!1;const o=[],d=c=>{for(let p=0;p<c.length;p++)s=c[p],Array.isArray(s)?d(s):s!=null&&typeof s!="boolean"&&((r=typeof e!="function"&&!re(s))&&(s=String(s)),r&&n?o[o.length-1].h+=s:o.push(r?W(null,s):s),n=r)};if(d(l),t){t.key&&(i=t.key),t.name&&(a=t.name);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter((p=>c[p])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,o,Qe);const g=W(e,null);return g.v=t,o.length>0&&(g.m=o),g.$=i,g.j=a,g},W=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),Ke={},Qe={forEach:(e,t)=>e.map(Se).forEach(t),map:(e,t)=>e.map(Se).map(t).map(et)},Se=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),et=e=>{if(typeof e.vtag=="function"){const l={...e.vattrs};return e.vkey&&(l.key=e.vkey),e.vname&&(l.name=e.vname),_(e.vtag,l,...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},we=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let l=!1;for(const i of t){if(l)break;for(const a of e[i])if(typeof a=="string"){l=!0;break}}if(!l)return e;const s={};for(const i of t)s[i]=e[i].map((a=>typeof a=="string"?{[a]:0}:a));return s},ke=(e,t,l)=>e==null||re(e)?e:4&t?(l&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,tt=(e,t,l)=>{const s=N.ce(t,l);return e.dispatchEvent(s),s},Ne=(e,t,l,s,i,a)=>{if(l===s)return;let r=ue(e,t),n=t.toLowerCase();if(t==="class"){const o=e.classList,d=Oe(l);let g=Oe(s);o.remove(...d.filter((c=>c&&!g.includes(c)))),o.add(...g.filter((c=>c&&!d.includes(c))))}else if(t==="style"){for(const o in l)s&&s[o]!=null||(o.includes("-")?e.style.removeProperty(o):e.style[o]="");for(const o in s)l&&s[o]===l[o]||(o.includes("-")?e.style.setProperty(o,s[o]):e.style[o]=s[o])}else if(t!=="key"){if(t==="ref")s&&it(s,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const o=t.slice(5);let d;{const g=L(e);if(g&&g.o&&g.o.t){const c=g.o.t[o];c&&c[1]&&(d=c[1])}}return d||(d=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(s==null||s===!1?s===!1&&e.getAttribute(d)!==""||e.removeAttribute(d):e.setAttribute(d,s===!0?"":s))}if(t[0]==="p"&&t.startsWith("prop:")){const o=t.slice(5);try{e[o]=s}catch{}return}{const o=re(s);if((r||o&&s!==null)&&!i)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const g=s??"";t==="list"?r=!1:l!=null&&e[t]===g||(typeof e.__lookupSetter__(t)=="function"?e[t]=g:e.setAttribute(t,g))}}catch{}let d=!1;n!==(n=n.replace(/^xlink\:?/,""))&&(t=n,d=!0),s==null||s===!1?s===!1&&e.getAttribute(t)!==""||(d?e.removeAttributeNS(fe,t):e.removeAttribute(t)):(!r||4&a||i)&&!o&&e.nodeType===1&&(s=s===!0?"":s,d?e.setAttributeNS(fe,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):ue(w,n)?n.slice(2):n[2]+t.slice(3),l||s){const o=t.endsWith(Ce);t=t.replace(lt,""),l&&N.rel(e,t,l,o),s&&N.ael(e,t,s,o)}}},st=/\s/,Oe=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(st):[]),Ce="Capture",lt=new RegExp(Ce+"$"),ce=(e,t,l)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,i=e&&e.v||{},a=t.v||{};for(const r of $e(Object.keys(i)))r in a||Ne(s,r,i[r],void 0,l,t.i);for(const r of $e(Object.keys(a)))Ne(s,r,i[r],a[r],l,t.i)};function $e(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var B=!1,q=!1,X=!1,O=!1,de=[],ge=[],Y=(e,t,l)=>{var s;const i=t.m[l];let a,r,n,o=0;if(B||(X=!0,i.O==="slot"&&(i.i|=i.m?2:1)),i.h!=null)a=i.S=w.document.createTextNode(i.h);else if(1&i.i)a=i.S=w.document.createTextNode(""),ce(null,i,O);else{if(O||(O=i.O==="svg"),!w.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(a=i.S=w.document.createElementNS(O?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!B&&2&i.i?"slot-fb":i.O),O&&i.O==="foreignObject"&&(O=!1),ce(null,i,O),i.m){const d=i.O==="template"?a.content:a;for(o=0;o<i.m.length;++o)r=Y(e,i,o),r&&d.appendChild(r)}i.O==="svg"?O=!1:a.tagName==="foreignObject"&&(O=!0)}return a["s-hn"]=P,3&i.i&&(a["s-sr"]=!0,a["s-cr"]=ne,a["s-sn"]=i.j||"",a["s-rf"]=(s=i.v)==null?void 0:s.ref,(function(d){if(d.assignedElements||d.assignedNodes||!d["s-sr"])return;const g=c=>(function(p){const f=[],h=this["s-sn"];p?.flatten&&console.error(`
2
+ Flattening is not supported for Stencil non-shadow slots.
3
+ You can use \`.childNodes\` to nested slot fallback content.
4
+ If you have a particular use case, please open an issue on the Stencil repo.
5
+ `);const x=this["s-cr"].parentElement;return(x.__childNodes?x.childNodes:(b=>{const y=[];for(let m=0;m<b.length;m++){const u=b[m]["s-nr"]||void 0;u&&u.isConnected&&y.push(u)}return y})(x.childNodes)).forEach((b=>{h===G(b)&&f.push(b)})),c?f.filter((b=>b.nodeType===1)):f}).bind(d);d.assignedElements=g(!0),d.assignedNodes=g(!1)})(a),n=e&&e.m&&e.m[l],n&&n.O===i.O&&e.S&&je(e.S)),a},je=e=>{N.i|=1;const t=e.closest(P.toLowerCase());if(t!=null){const l=Array.from(t.__childNodes||t.childNodes).find((i=>i["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const i of l?s.reverse():s)i["s-sh"]!=null&&(j(t,i,l??null),i["s-sh"]=void 0,X=!0)}N.i&=-2},Z=(e,t)=>{N.i|=1;const l=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"]===P&&l.push(s)}for(let s=l.length-1;s>=0;s--){const i=l[s];i["s-hn"]!==P&&i["s-ol"]&&(j(V(i).parentNode,i,V(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,X=!0),t&&Z(i,t)}N.i&=-2},Ee=(e,t,l,s,i,a)=>{let r,n=e["s-cr"]&&e["s-cr"].parentNode||e;for(n.shadowRoot&&n.tagName===P&&(n=n.shadowRoot),l.O==="template"&&(n=n.content);i<=a;++i)s[i]&&(r=Y(null,l,i),r&&(s[i].S=r,j(n,r,V(t))))},Le=(e,t,l)=>{for(let s=t;s<=l;++s){const i=e[s];if(i){const a=i.S;ze(i),a&&(q=!0,a["s-ol"]?a["s-ol"].remove():Z(a,!0),a.remove())}}},J=(e,t,l=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:l?(l&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),V=e=>e&&e["s-ol"]||e,D=(e,t,l=!1)=>{const s=t.S=e.S,i=e.m,a=t.m,r=t.O,n=t.h;let o;n==null?(O=r==="svg"||r!=="foreignObject"&&O,r!=="slot"||B||e.j!==t.j&&(t.S["s-sn"]=t.j||"",je(t.S.parentElement)),ce(e,t,O),i!==null&&a!==null?((d,g,c,p,f=!1)=>{let h,x,b=0,y=0,m=0,u=0,k=g.length-1,v=g[0],S=g[k],C=p.length-1,$=p[0],E=p[C];const Ue=c.O==="template"?d.content:d;for(;b<=k&&y<=C;)if(v==null)v=g[++b];else if(S==null)S=g[--k];else if($==null)$=p[++y];else if(E==null)E=p[--C];else if(J(v,$,f))D(v,$,f),v=g[++b],$=p[++y];else if(J(S,E,f))D(S,E,f),S=g[--k],E=p[--C];else if(J(v,E,f))v.O!=="slot"&&E.O!=="slot"||Z(v.S.parentNode,!1),D(v,E,f),j(Ue,v.S,S.S.nextSibling),v=g[++b],E=p[--C];else if(J(S,$,f))v.O!=="slot"&&E.O!=="slot"||Z(S.S.parentNode,!1),D(S,$,f),j(Ue,S.S,v.S),S=g[--k],$=p[++y];else{for(m=-1,u=b;u<=k;++u)if(g[u]&&g[u].$!==null&&g[u].$===$.$){m=u;break}m>=0?(x=g[m],x.O!==$.O?h=Y(g&&g[y],c,m):(D(x,$,f),g[m]=void 0,h=x.S),$=p[++y]):(h=Y(g&&g[y],c,y),$=p[++y]),h&&j(V(v.S).parentNode,h,V(v.S))}b>k?Ee(d,p[C+1]==null?null:p[C+1].S,c,p,y,C):y>C&&Le(g,b,k)})(s,i,t,a,l):a!==null?(e.h!==null&&(s.textContent=""),Ee(s,null,t,a,0,a.length-1)):!l&&i!==null&&Le(i,0,i.length-1),O&&r==="svg"&&(O=!1)):(o=s["s-cr"])?o.parentNode.textContent=n:e.h!==n&&(s.data=n)},T=[],Te=e=>{let t,l,s;const i=e.__childNodes||e.childNodes;for(const a of i){if(a["s-sr"]&&(t=a["s-cr"])&&t.parentNode){l=t.parentNode.__childNodes||t.parentNode.childNodes;const r=a["s-sn"];for(s=l.length-1;s>=0;s--)if(t=l[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===a["s-hn"]||t["s-sh"]&&t["s-sh"]===a["s-hn"]))if(be(t,r)){let n=T.find((o=>o.k===t));q=!0,t["s-sn"]=t["s-sn"]||r,n?(n.k["s-sh"]=a["s-hn"],n.N=a):(t["s-sh"]=a["s-hn"],T.push({N:a,k:t})),t["s-sr"]&&T.map((o=>{be(o.k,t["s-sn"])&&(n=T.find((d=>d.k===t)),n&&!o.N&&(o.N=n.N))}))}else T.some((n=>n.k===t))||T.push({k:t})}a.nodeType===1&&Te(a)}},ze=e=>{e.v&&e.v.ref&&de.push((()=>e.v.ref(null))),e.m&&e.m.map(ze)},it=(e,t)=>{ge.push((()=>e(t)))},j=(e,t,l,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,l);const{slotNode:i}=(function(a,r){var n;if(!(r=r||((n=a["s-ol"])==null?void 0:n.parentElement)))return{slotNode:null,slotName:""};const o=a["s-sn"]=G(a)||"";return{slotNode:ae(oe(r,"childNodes"),r.tagName,o)[0],slotName:o}})(t);return i&&!s&&i.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,l):e?.insertBefore(t,l)},at=(e,t,l=!1)=>{var s,i,a,r,n;const o=e.$hostElement$,d=e.o,g=e.M||W(null,null);var c;const p=(c=t)&&c.O===Ke?t:_(null,null,t);if(P=o.tagName,d.C&&(p.v=p.v||{},d.C.forEach((([f,h])=>{p.v[h]=o[f]}))),l&&p.v)for(const f of Object.keys(p.v))o.hasAttribute(f)&&!["key","ref","style","class"].includes(f)&&(p.v[f]=o[f]);if(p.O=null,p.i|=4,e.M=p,p.S=g.S=o.shadowRoot||o,B=!(!(1&d.i)||128&d.i),ne=o["s-cr"],q=!1,D(g,p,l),N.i|=1,X){Te(p.S);for(const f of T){const h=f.k;if(!h["s-ol"]&&w.document){const x=w.document.createTextNode("");x["s-nr"]=h,j(h.parentNode,h["s-ol"]=x,h,l)}}for(const f of T){const h=f.k,x=f.N;if(h.nodeType===1&&l&&(h["s-ih"]=(s=h.hidden)!=null&&s),x){const b=x.parentNode;let y=x.nextSibling;if(y&&y.nodeType===1){let m=(i=h["s-ol"])==null?void 0:i.previousSibling;for(;m;){let u=(a=m["s-nr"])!=null?a:null;if(u&&u["s-sn"]===h["s-sn"]&&b===(u.__parentNode||u.parentNode)){for(u=u.nextSibling;u===h||u?.["s-sr"];)u=u?.nextSibling;if(!u||!u["s-nr"]){y=u;break}}m=m.previousSibling}}if((!y&&b!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==y)&&h!==y){if(j(b,h,y,l),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const m=w.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));m["s-hn"]=h["s-hn"],m["s-sn"]=h["s-sn"],m["s-sh"]=h["s-sh"],m["s-sr"]=h["s-sr"],m["s-ol"]=h["s-ol"],m["s-ol"]["s-nr"]=m,j(h.parentNode,m,h,l),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(r=h["s-ih"])!=null&&r)}h&&typeof x["s-rf"]=="function"&&x["s-rf"](x)}else h.nodeType===1&&(h.hidden=!0)}}if(q&&_e(p.S),N.i&=-2,T.length=0,!B&&!(1&d.i)&&o["s-cr"]){const f=p.S.__childNodes||p.S.childNodes;for(const h of f)if(h["s-hn"]!==P&&!h["s-sh"]){if(l&&h["s-ih"]==null&&(h["s-ih"]=(n=h.hidden)!=null&&n),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const x=w.document.createComment("s-nt-"+h.nodeValue);x["s-sn"]=h["s-sn"],j(h.parentNode,x,h,l),h.parentNode.removeChild(h)}}}ne=void 0,de.forEach((f=>f())),de.length=0,ge.forEach((f=>f())),ge.length=0},Ae=(e,t)=>{if(t&&!e.A&&t["s-p"]){const l=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(l-1,1),s()})))}},pe=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Ae(e,e.R);const l=()=>ot(e,t);if(!t)return Ye(l);queueMicrotask((()=>{l()}))},ot=(e,t)=>{const l=e.$hostElement$,s=l;if(!s)throw new Error(`Can't render component <${l.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return i=H(s,t?"componentWillLoad":"componentWillUpdate",void 0,l),i=Pe(i,(()=>H(s,"componentWillRender",void 0,l))),Pe(i,(()=>rt(e,s,t)))},Pe=(e,t)=>nt(e)?e.then(t).catch((l=>{console.error(l),t()})):t(),nt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",rt=async(e,t,l)=>{var s;const i=e.$hostElement$,a=i["s-rc"];l&&(r=>{const n=r.o,o=r.$hostElement$,d=n.i,g=((c,p)=>{var f,h,x;const b=xe(p),y=I.get(b);if(!w.document)return b;if(c=c.nodeType===11?c:w.document,y)if(typeof y=="string"){let m,u=z.get(c=c.head||c);if(u||z.set(c,u=new Set),!u.has(b)){m=w.document.createElement("style"),m.textContent=y;const k=(f=N._)!=null?f:(function(){var v,S,C;return(C=(S=(v=w.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:S.getAttribute("content"))!=null?C:void 0})();if(k!=null&&m.setAttribute("nonce",k),!(1&p.i))if(c.nodeName==="HEAD"){const v=c.querySelectorAll("link[rel=preconnect]"),S=v.length>0?v[v.length-1].nextSibling:c.querySelector("style");c.insertBefore(m,S?.parentNode===c?S:null)}else if("host"in c)if(ee){const v=new((h=c.defaultView)!=null?h:c.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(y),te?c.adoptedStyleSheets.unshift(v):c.adoptedStyleSheets=[v,...c.adoptedStyleSheets]}else{const v=c.querySelector("style");v?v.textContent=y+v.textContent:c.prepend(m)}else c.append(m);1&p.i&&c.insertBefore(m,null),4&p.i&&(m.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),u&&u.add(b)}}else{let m=z.get(c);if(m||z.set(c,m=new Set),!m.has(b)){const u=(x=c.defaultView)!=null?x:c.ownerDocument.defaultView;let k;if(y.constructor===u.CSSStyleSheet)k=y;else{k=new u.CSSStyleSheet;for(let v=0;v<y.cssRules.length;v++)k.insertRule(y.cssRules[v].cssText,v)}te?c.adoptedStyleSheets.push(k):c.adoptedStyleSheets=[...c.adoptedStyleSheets,k],m.add(b)}}return b})(o.shadowRoot?o.shadowRoot:o.getRootNode(),n);10&d&&(o["s-sc"]=g,o.classList.add(g+"-h"))})(e),ct(e,t,i,l),a&&(a.map((r=>r())),i["s-rc"]=void 0);{const r=(s=i["s-p"])!=null?s:[],n=()=>dt(e);r.length===0?n():(Promise.all(r).then(n).catch(n),e.i|=4,r.length=0)}},ct=(e,t,l,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,at(e,t,s)}catch(i){M(i,e.$hostElement$)}return null},dt=e=>{const t=e.$hostElement$,l=t,s=e.R;H(l,"componentDidRender",void 0,t),64&e.i?H(l,"componentDidUpdate",void 0,t):(e.i|=64,pt(t),H(l,"componentDidLoad",void 0,t),e.L(t),s||gt()),e.A&&(e.A(),e.A=void 0),512&e.i&&ie((()=>pe(e,!1))),e.i&=-517},gt=()=>{ie((()=>tt(w,"appload",{detail:{namespace:"gids-core-web"}})))},H=(e,t,l,s)=>{if(e&&e[t])try{return e[t](l)}catch(i){M(i,s)}},pt=e=>e.classList.add("hydrated"),Re=(e,t,l,s)=>{const i=L(e);if(!i)return;const a=e,r=i.l.get(t),n=i.i,o=a;l=ke(l,s.t[t][0],!!(64&s.i));const d=Number.isNaN(r)&&Number.isNaN(l);if(l!==r&&!d){if(i.l.set(t,l),s.F){const g=s.F[t];g&&g.map((c=>{try{const[[p,f]]=Object.entries(c);(128&n||1&f)&&(o?o[p](l,r,t):i.T.push((()=>{i.D[p](l,r,t)})))}catch(p){M(p,a)}}))}if(2&n){if(o.componentShouldUpdate&&o.componentShouldUpdate(l,r,t)===!1&&!(16&n))return;16&n||pe(i,!1)}}},ht=(e,t,l)=>{var s,i;const a=e.prototype;64&t.i&&1&l&&We.forEach((r=>{const n=a[r];Object.defineProperty(a,r,{value(...o){var d;const g=L(this),c=this;c?typeof n=="function"&&n.call(c,...o):(d=g?.H)==null||d.then((p=>{const f=p[r];typeof f=="function"&&f.call(p,...o)}))}})}));{e.watchers&&!t.F&&(t.F=we(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((([n,[o]])=>{if(31&o||32&o){const{get:d,set:g}=R(a,n)||{};d&&(t.t[n][0]|=2048),g&&(t.t[n][0]|=4096),Object.defineProperty(a,n,{get(){return d?d.apply(this):(c=n,L(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(a,n,{set(c){const p=L(this);if(p){if(g)return(32&o?this[n]:p.$hostElement$[n])===void 0&&p.l.get(n)&&(c=p.l.get(n)),g.apply(this,[ke(c,o,!!(64&t.i))]),void Re(this,n,c=32&o?this[n]:p.$hostElement$[n],t);Re(this,n,c,t)}}})}}));{const n=new Map;a.attributeChangedCallback=function(o,d,g){N.jmp((()=>{var c;const p=n.get(o),f=L(this);if(this.hasOwnProperty(p),a.hasOwnProperty(p)&&typeof this[p]=="number"&&this[p]==g)return;if(p==null){const m=f?.i;if(f&&m&&!(8&m)&&g!==d){const u=this,k=(c=t.F)==null?void 0:c[o];k?.forEach((v=>{const[[S,C]]=Object.entries(v);u[S]!=null&&(128&m||1&C)&&u[S].call(u,g,d,o)}))}return}const h=r.find((([m])=>m===p)),x=h&&4&h[1][0],b=x&&g===null&&this[p]===void 0;x&&(g=g!==null&&g!=="false");const y=Object.getOwnPropertyDescriptor(a,p);b||g==this[p]||y.get&&!y.set||(this[p]=g)}))},e.observedAttributes=Array.from(new Set([...Object.keys((i=t.F)!=null?i:{}),...r.filter((([o,d])=>31&d[0])).map((([o,d])=>{var g;const c=d[1]||o;return n.set(c,o),512&d[0]&&((g=t.C)==null||g.push([o,c])),c}))]))}}return e},ut=(e,t)=>{const l={i:t[0],p:t[1]};try{l.t=t[2],l.F=we(e.F),l.P=e.P,l.U=e.U,l.C=[];const s=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((a,r)=>{const n={i:0,$hostElement$:a,o:r,l:new Map,W:new Map};n.H=new Promise((d=>n.L=d)),a["s-p"]=[],a["s-rc"]=[];const o=n;a.__stencil__getHostRef=()=>o,512&r.i&&Ie(a,n)})(this,l)},connectedCallback(){if(!this.__hasHostListenerAttached){if(!L(this))return;this.__hasHostListenerAttached=!0}(a=>{if(!(1&N.i)){const r=L(a);if(!r)return;const n=r.o;if(1&r.i)r?.D||r?.H&&r.H.then((()=>{}));else{r.i|=1,12&n.i&&(o=>{if(!w.document)return;const d=o["s-cr"]=w.document.createComment("");d["s-cn"]=!0,j(o,d,o.firstChild)})(a);{let o=a;for(;o=o.parentNode||o.host;)if(o["s-p"]){Ae(r,r.R=o);break}}n.t&&Object.entries(n.t).map((([o,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(a,o)){const g=a[o];delete a[o],a[o]=g}})),(async(o,d,g)=>{let c;try{if(!(32&d.i)&&(d.i|=32,c=o.constructor,customElements.whenDefined(o.localName).then((()=>d.i|=128)),c&&c.style)){let h;typeof c.style=="string"&&(h=c.style);const x=xe(g);I.has(x)||((b,y,m)=>{let u=I.get(b);ee&&m?(u=u||new CSSStyleSheet,typeof u=="string"?u=y:u.replaceSync(y)):u=y,I.set(b,u)})(x,h,!!(1&g.i))}const p=d.R,f=()=>pe(d,!0);p&&p["s-rc"]?p["s-rc"].push(f):f()}catch(p){M(p,o),d.A&&(d.A(),d.A=void 0),d.L&&d.L(o)}})(a,r,n)}}})(this),s&&s.call(this)},disconnectedCallback(){(async a=>{1&N.i||L(a),z.has(a)&&z.delete(a),a.shadowRoot&&z.has(a.shadowRoot)&&z.delete(a.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 ${l.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ze.call(this,l)}}),Object.defineProperty(e,"is",{value:l.p,configurable:!0}),ht(e,l,3)}catch(s){return M(s),e}};function Bt(e){return e}function Me(e){var t,l,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]&&(l=Me(e[t]))&&(s&&(s+=" "),s+=l)}else for(l in e)e[l]&&(s&&(s+=" "),s+=l);return s}function U(){for(var e,t,l=0,s="",i=arguments.length;l<i;l++)(e=arguments[l])&&(t=Me(e))&&(s&&(s+=" "),s+=t);return s}const ft=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:l},s)=>U("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},l,s)},Symbol.toStringTag,{value:"Module"})),mt=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerClassNames:({size:e},t)=>U("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"})),yt=Object.freeze(Object.defineProperty({__proto__:null,getElementVisibility:e=>{const{label:t,supportingText:l}=e,s=typeof t=="string"&&t.trim().length>0,i=typeof l=="string"&&l.trim().length>0;return{hasLabel:s,hasSupportingText:i}}},Symbol.toStringTag,{value:"Module"})),K=64,De=10,Fe=K/2-De/2,vt=K/2,he=2*Math.PI*Fe,_t=`0 0 ${K} ${K}`,bt=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const l=typeof t=="number"&&t>0?t:1,i=Math.max(0,Math.min(l,e))/l*100,a=(he*i/100).toFixed(2),r=(he-parseFloat(a)).toFixed(2);return`${a} ${r}`},centerPosition:vt,circumference:he,radius:Fe,thickness:De,viewBox:_t},Symbol.toStringTag,{value:"Module"})),xt=100,St="Invalid Progress Value!",wt=e=>`The provided progress value is invalid or exceeds the maximum(${e}%) allowed capacity configuration bounds for this specific layout shape profile.`,kt=Object.freeze(Object.defineProperty({__proto__:null,getGidsButtonDockClassNames:e=>U("gids-button-dock",e)},Symbol.toStringTag,{value:"Module"})),Nt=Object.freeze(Object.defineProperty({__proto__:null,getGidsFeedbackBlockClassNames:e=>U("gids-feedback-block",e)},Symbol.toStringTag,{value:"Module"})),Ot=Object.freeze(Object.defineProperty({__proto__:null,getGidsLevelGaugeClassNames:({breakpoint:e},t)=>U("gids-level-gauge",{"gids-level-gauge--breakpoint-mobile":e==="mobile"},t)},Symbol.toStringTag,{value:"Module"})),{getGidsButtonDockClassNames:Ct}=kt,$t=({class:e,primaryChildren:t,secondaryChildren:l,...s})=>_("div",{class:Ct(e),...s},_("div",{class:"gids-button-dock__secondary-area"},l),_("div",{class:"gids-button-dock__primary-area"},t)),{getGidsFeedbackBlockClassNames:jt}=Nt,Et=({title:e,supportingText:t,image:l,children:s})=>_("div",{class:jt()},_("div",{class:"gids-feedback-block__inner-container"},l&&_("div",{class:"gids-feedback-block__image-container"},l),_("p",{class:"gids-feedback-block__title"},_("strong",null,e)),_("div",{class:"gids-feedback-block__supporting-text"},t),s&&_($t,{primaryChildren:s}))),{getGidsSpinnerControlClassNames:Lt}=ft,{calculateStrokeDasharray:Tt,thickness:Ge,radius:Be,centerPosition:Q,viewBox:zt}=bt,At=({size:e,indeterminate:t,value:l,max:s,...i})=>{let a;return t||(a={strokeDashArray:Tt(l,s||0),strokeDashoffset:"0"}),_("svg",{class:Lt({size:e,indeterminate:t,value:l}),viewBox:zt,...i},_("circle",{class:"gids-spinner-control__track",cx:Q,cy:Q,r:Be,"stroke-width":Ge}),_("circle",{style:a,class:"gids-spinner-control__progress",cx:Q,cy:Q,r:Be,"stroke-width":Ge}))},{getGidsSpinnerClassNames:Pt}=mt,{getElementVisibility:Rt}=yt,Mt=({label:e,supportingText:t,size:l,indeterminate:s,value:i,max:a,class:r,...n})=>{const{hasLabel:o,hasSupportingText:d}=Rt({label:e,supportingText:t});return _("span",{class:Pt({size:l},r),...n},_(At,{size:l,indeterminate:s,value:i,max:a}),o&&_("span",{class:"gids-spinner__label"},e),d&&_("span",{class:"gids-spinner__supporting-text"},t))},{getGidsLevelGaugeClassNames:Dt}=Ot,Ve=ut(class extends qe{constructor(e){super(),e!==!1&&this.__registerHost(),this.breakpoint="desktop",this.value=0,this.label="Completed",this.size="xxs",this.color="amber",this.chartLoaderSize="lg",this.chartLoading=!1,this.width=0,this.height=0}valueChanged(){this.updateDimensions()}componentDidLoad(){this.updateDimensions(),this.resizeObserver=new ResizeObserver((()=>this.updateDimensions())),this.hostElement.parentElement&&this.resizeObserver.observe(this.hostElement.parentElement)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.disconnect()}updateDimensions(){const e=this.hostElement.getBoundingClientRect();this.width=e.width,this.height=e.height>0?e.height:240}render(){if(this.chartLoading)return _("div",{class:"gids-level-gauge__no-data"},_(Mt,{label:this.chartLoadingTitle,supportingText:this.chartLoadingSupportingText,size:this?.chartLoaderSize??"lg"}));let e=0;typeof this.value=="number"&&!isNaN(this.value)&&(e=this.value);const t=xt;if(!(typeof this.value=="number"&&!isNaN(this.value)&&this.value<=t&&this.value>=0))return _("div",{class:"gids-level-gauge__no-data"},_(Et,{title:St,supportingText:wt(100),image:_("slot",{name:"chartFeedbackBlockImage"})}));const l=Math.min(Math.max(e/t,0),1),s=`${Math.round(100*l)}%`,i=Dt({breakpoint:this.breakpoint}),a=2*Math.PI*40,r=`${l*a} ${a}`,n=this.size==="xxs";return _("div",{class:i},_("div",{class:`gids-level-gauge__main-container gids-level-gauge__main-container--variant-${this.color}`},_("div",{class:`gids-level-gauge__svg-wrapper gids-level-gauge__svg-wrapper--size-${this.size}`},_("svg",{viewBox:"0 0 100 100",class:"gids-level-gauge__chart-vector"},_("circle",{cx:"50",cy:"50",r:40,class:"gids-level-gauge__track-background"}),_("circle",{cx:"50",cy:"50",r:40,class:`gids-level-gauge__segment gids-level-gauge__segment--variant-${this.color}`,"stroke-dasharray":r,"stroke-dashoffset":"0",transform:"rotate(-90 50 50)"})),_("div",{class:"gids-level-gauge__center-content"},n?null:_("span",{class:`gids-level-gauge__label-common gids-level-gauge__label-${this.size}`},this.label),_("span",{class:`gids-level-gauge__percentage-common gids-level-gauge__percentage-${this.size}`},s))),n?_("div",{class:"gids-level-gauge__bottom-content"},_("span",{class:`gids-level-gauge__label-common gids-level-gauge__label-${this.size}`},this.label)):null))}get hostElement(){return this}static get watchers(){return{value:[{valueChanged:0}],max:[{valueChanged:0}]}}static get style(){return":host{display:block;box-sizing:border-box}.gids-level-gauge{display:block;box-sizing:border-box}.gids-level-gauge--breakpoint-mobile{max-width:var(--gids-width-xs)}.gids-level-gauge__main-container{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%}.gids-level-gauge{}.gids-level-gauge__svg-wrapper{position:relative;display:block;flex-shrink:0}.gids-level-gauge__svg-wrapper--size-xxs{width:180px;height:180px}.gids-level-gauge__svg-wrapper--size-xs{width:220px;height:220px}.gids-level-gauge__svg-wrapper--size-sm{width:260px;height:260px}.gids-level-gauge__svg-wrapper--size-md{width:300px;height:300px}.gids-level-gauge__svg-wrapper--size-lg{width:340px;height:340px}.gids-level-gauge__chart-vector{display:block;width:100%;height:100%}.gids-level-gauge{}.gids-level-gauge__main-container{display:flex;flex-direction:column;gap:var(--gids-gap-050)}.gids-level-gauge__main-container--variant-amber .gids-level-gauge__track-background{stroke:rgb(248, 248, 248)}.gids-level-gauge__main-container--variant-burgundy .gids-level-gauge__track-background{stroke:rgb(246, 243, 243)}.gids-level-gauge__main-container--variant-teal .gids-level-gauge__track-background{stroke:rgb(232, 245, 250)}.gids-level-gauge__track-background{fill:none;stroke-width:6}.gids-level-gauge__segment{fill:none;stroke-width:6;stroke-linecap:round;transition:stroke-dasharray 0.4s ease-out}.gids-level-gauge__segment--variant-amber{stroke:rgb(80, 82, 88)}.gids-level-gauge__segment--variant-burgundy{stroke:rgb(132, 84, 95)}.gids-level-gauge__segment--variant-teal{stroke:rgb(23, 60, 102)}.gids-level-gauge{}.gids-level-gauge__center-content{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;pointer-events:none;gap:var(--gids-gap-025)}.gids-level-gauge__label-xxs{font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit)}.gids-level-gauge__label-xs{font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit)}.gids-level-gauge__label-sm{font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit)}.gids-level-gauge__label-md{font-family:var(--gids-typography-label-small__font-family);font-size:var(--gids-typography-label-small__font-size);font-weight:var(--gids-typography-label-small__font-weight);letter-spacing:var(--gids-typography-label-small__letter-spacing);line-height:var(--gids-typography-label-small__line-height);text-transform:var(--gids-typography-label-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-small__font-variant-caps, inherit)}.gids-level-gauge__label-lg{font-family:var(--gids-typography-label-small__font-family);font-size:var(--gids-typography-label-small__font-size);font-weight:var(--gids-typography-label-small__font-weight);letter-spacing:var(--gids-typography-label-small__letter-spacing);line-height:var(--gids-typography-label-small__line-height);text-transform:var(--gids-typography-label-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-small__font-variant-caps, inherit)}.gids-level-gauge__label-common{color:var(--gids-color-text-subtlest)}.gids-level-gauge__percentage-xxs{font-family:var(--gids-typography-label-small__font-family);font-size:var(--gids-typography-label-small__font-size);font-weight:var(--gids-typography-label-small__font-weight);letter-spacing:var(--gids-typography-label-small__letter-spacing);line-height:var(--gids-typography-label-small__line-height);text-transform:var(--gids-typography-label-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-small__font-variant-caps, inherit)}.gids-level-gauge__percentage-xs{font-family:var(--gids-typography-display-x-small__font-family);font-size:var(--gids-typography-display-x-small__font-size);font-weight:var(--gids-typography-display-x-small__font-weight);letter-spacing:var(--gids-typography-display-x-small__letter-spacing);line-height:var(--gids-typography-display-x-small__line-height);text-transform:var(--gids-typography-display-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-display-x-small__font-variant-caps, inherit)}.gids-level-gauge__percentage-sm{font-family:var(--gids-typography-display-x-small__font-family);font-size:var(--gids-typography-display-x-small__font-size);font-weight:var(--gids-typography-display-x-small__font-weight);letter-spacing:var(--gids-typography-display-x-small__letter-spacing);line-height:var(--gids-typography-display-x-small__line-height);text-transform:var(--gids-typography-display-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-display-x-small__font-variant-caps, inherit)}.gids-level-gauge__percentage-md{font-family:var(--gids-typography-display-small__font-family);font-size:var(--gids-typography-display-small__font-size);font-weight:var(--gids-typography-display-small__font-weight);letter-spacing:var(--gids-typography-display-small__letter-spacing);line-height:var(--gids-typography-display-small__line-height);text-transform:var(--gids-typography-display-small__text-transform, inherit);font-variant-caps:var(--gids-typography-display-small__font-variant-caps, inherit)}.gids-level-gauge__percentage-lg{font-family:var(--gids-typography-display-small__font-family);font-size:var(--gids-typography-display-small__font-size);font-weight:var(--gids-typography-display-small__font-weight);letter-spacing:var(--gids-typography-display-small__letter-spacing);line-height:var(--gids-typography-display-small__line-height);text-transform:var(--gids-typography-display-small__text-transform, inherit);font-variant-caps:var(--gids-typography-display-small__font-variant-caps, inherit)}.gids-level-gauge__percentage-common{color:var(--gids-color-text-default)}.gids-level-gauge{}.gids-level-gauge__bottom-content{display:flex;justify-content:center;text-align:center}.gids-level-gauge__no-data{display:flex;align-items:center;justify-content:center;padding:var(--gids-padding-vertical-edge-to-element-300) var(--gids-padding-horizontal-edge-to-element-100);width:100%;height:100%;min-height:200px;color:var(--gids-color-text-subtlest);border:var(--gids-border-width-thin) dashed var(--gids-color-border-default);border-radius:var(--gids-border-radius-md)}"}},[260,"gids-level-gauge",{breakpoint:[1],value:[2],label:[1],size:[1],color:[1],chartLoaderSize:[1,"chart-loader-size"],chartLoading:[4,"chart-loading"],chartLoadingTitle:[1,"chart-loading-title"],chartLoadingSupportingText:[1,"chart-loading-supporting-text"],width:[32],height:[32]},void 0,{value:[{valueChanged:0}],max:[{valueChanged:0}]}]);function He(){typeof customElements<"u"&&["gids-level-gauge"].forEach((e=>{e==="gids-level-gauge"&&(customElements.get(e)||customElements.define(e,Ve))}))}He();const Ft=Ve,Gt=He;A.GidsLevelGauge=Ft,A.defineCustomElement=Gt,Object.defineProperty(A,Symbol.toStringTag,{value:"Module"})}));
@@ -0,0 +1,5 @@
1
+ (function(T,D){typeof exports=="object"&&typeof module<"u"?D(exports):typeof define=="function"&&define.amd?define(["exports"],D):(T=typeof globalThis<"u"?globalThis:T||self,D(T.gidsCoreWebGidsLineChart={}))})(this,(function(T){"use strict";function D(e,t,i){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const n=Object.getOwnPropertyDescriptor(e,t);if(n&&(!i||n.get))return n;e=Object.getPrototypeOf(e)}}var R,nt=(e,t)=>{var i;Object.entries((i=t.o.t)!=null?i:{}).map((([s,[n]])=>{if(31&n||32&n){const r=e[s],l=D(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);l&&Object.defineProperty(e,s,{get(){return l.get.call(this)},set(d){l.set.call(this,d)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):r!==void 0&&(e[s]=r)}}))},P=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},_e=(e,t)=>t in e,M=(e,t)=>(0,console.error)(e,t),W=new Map,xe="http://www.w3.org/1999/xlink",rt=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],w=typeof window<"u"?window:{},ee=w.HTMLElement||class{},C={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,i,s)=>e.addEventListener(t,i,s),rel:(e,t,i,s)=>e.removeEventListener(t,i,s),ce:(e,t)=>new CustomEvent(e,t)},te=(()=>{try{return!!w.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),se=!!te&&!!w.document&&Object.getOwnPropertyDescriptor(w.document.adoptedStyleSheets,"length").writable,ie=!1,Se=[],we=[],ot=(e,t)=>i=>{e.push(i),ie||(ie=!0,4&C.i?re(ne):C.raf(ne))},ke=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(i){M(i)}e.length=0},ne=()=>{ke(Se),ke(we),(ie=Se.length>0)&&C.raf(ne)},re=e=>Promise.resolve(void 0).then(e),at=ot(we);function lt(){const e=this.attachShadow({mode:"open"});R===void 0&&(R=null),R&&(se?e.adoptedStyleSheets.push(R):e.adoptedStyleSheets=[...e.adoptedStyleSheets,R])}var Ce=e=>{const t=ae(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=!!dt(s,V(s),!1).length)}));let i=0;for(i=0;i<t.length;i++){const s=t[i];s.nodeType===1&&ae(s,"childNodes").length&&Ce(s)}};function oe(e,t,i){let s,n=0,r=[];for(;n<e.length;n++){if(s=e[n],s["s-sr"]&&(!t||s["s-hn"]===t)&&(i===void 0||V(s)===i)&&(r.push(s),i!==void 0))return r;r=[...r,...oe(s.childNodes,t,i)]}return r}var dt=(e,t,i=!0)=>{const s=[];(i&&e["s-sr"]||!e["s-sr"])&&s.push(e);let n=e;for(;n=n.nextSibling;)V(n)!==t||!i&&n["s-sr"]||s.push(n);return s},Ne=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",V=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function ae(e,t){if("__"+t in e){const i=e["__"+t];return typeof i!="function"?i:i.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var le,z,L=new WeakMap,$e=e=>"sc-"+e.p,de=e=>(e=typeof e)=="object"||e==="function",m=(e,t,...i)=>{let s=null,n=null,r=null,l=!1,d=!1;const o=[],h=c=>{for(let a=0;a<c.length;a++)s=c[a],Array.isArray(s)?h(s):s!=null&&typeof s!="boolean"&&((l=typeof e!="function"&&!de(s))&&(s=String(s)),l&&d?o[o.length-1].h+=s:o.push(l?U(null,s):s),d=l)};if(h(i),t){t.key&&(n=t.key),t.name&&(r=t.name);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter((a=>c[a])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,o,ht);const p=U(e,null);return p.v=t,o.length>0&&(p.m=o),p.$=n,p.j=r,p},U=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),ct={},ht={forEach:(e,t)=>e.map(Oe).forEach(t),map:(e,t)=>e.map(Oe).map(t).map(gt)},Oe=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),gt=e=>{if(typeof e.vtag=="function"){const i={...e.vattrs};return e.vkey&&(i.key=e.vkey),e.vname&&(i.name=e.vname),m(e.vtag,i,...e.vchildren||[])}const t=U(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Ae=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let i=!1;for(const n of t){if(i)break;for(const r of e[n])if(typeof r=="string"){i=!0;break}}if(!i)return e;const s={};for(const n of t)s[n]=e[n].map((r=>typeof r=="string"?{[r]:0}:r));return s},Ee=(e,t,i)=>e==null||de(e)?e:4&t?(i&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,pt=(e,t,i)=>{const s=C.ce(t,i);return e.dispatchEvent(s),s},Pe=(e,t,i,s,n,r)=>{if(i===s)return;let l=_e(e,t),d=t.toLowerCase();if(t==="class"){const o=e.classList,h=je(i);let p=je(s);o.remove(...h.filter((c=>c&&!p.includes(c)))),o.add(...p.filter((c=>c&&!h.includes(c))))}else if(t==="style"){for(const o in i)s&&s[o]!=null||(o.includes("-")?e.style.removeProperty(o):e.style[o]="");for(const o in s)i&&s[o]===i[o]||(o.includes("-")?e.style.setProperty(o,s[o]):e.style[o]=s[o])}else if(t!=="key"){if(t==="ref")s&&mt(s,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const o=t.slice(5);let h;{const p=P(e);if(p&&p.o&&p.o.t){const c=p.o.t[o];c&&c[1]&&(h=c[1])}}return h||(h=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(s==null||s===!1?s===!1&&e.getAttribute(h)!==""||e.removeAttribute(h):e.setAttribute(h,s===!0?"":s))}if(t[0]==="p"&&t.startsWith("prop:")){const o=t.slice(5);try{e[o]=s}catch{}return}{const o=de(s);if((l||o&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const p=s??"";t==="list"?l=!1:i!=null&&e[t]===p||(typeof e.__lookupSetter__(t)=="function"?e[t]=p:e.setAttribute(t,p))}}catch{}let h=!1;d!==(d=d.replace(/^xlink\:?/,""))&&(t=d,h=!0),s==null||s===!1?s===!1&&e.getAttribute(t)!==""||(h?e.removeAttributeNS(xe,t):e.removeAttribute(t)):(!l||4&r||n)&&!o&&e.nodeType===1&&(s=s===!0?"":s,h?e.setAttributeNS(xe,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):_e(w,d)?d.slice(2):d[2]+t.slice(3),i||s){const o=t.endsWith(Le);t=t.replace(ft,""),i&&C.rel(e,t,i,o),s&&C.ael(e,t,s,o)}}},ut=/\s/,je=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(ut):[]),Le="Capture",ft=new RegExp(Le+"$"),ce=(e,t,i)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,n=e&&e.v||{},r=t.v||{};for(const l of Te(Object.keys(n)))l in r||Pe(s,l,n[l],void 0,i,t.i);for(const l of Te(Object.keys(r)))Pe(s,l,n[l],r[l],i,t.i)};function Te(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var B=!1,q=!1,K=!1,N=!1,he=[],ge=[],Y=(e,t,i)=>{var s;const n=t.m[i];let r,l,d,o=0;if(B||(K=!0,n.O==="slot"&&(n.i|=n.m?2:1)),n.h!=null)r=n.S=w.document.createTextNode(n.h);else if(1&n.i)r=n.S=w.document.createTextNode(""),ce(null,n,N);else{if(N||(N=n.O==="svg"),!w.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(r=n.S=w.document.createElementNS(N?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!B&&2&n.i?"slot-fb":n.O),N&&n.O==="foreignObject"&&(N=!1),ce(null,n,N),n.m){const h=n.O==="template"?r.content:r;for(o=0;o<n.m.length;++o)l=Y(e,n,o),l&&h.appendChild(l)}n.O==="svg"?N=!1:r.tagName==="foreignObject"&&(N=!0)}return r["s-hn"]=z,3&n.i&&(r["s-sr"]=!0,r["s-cr"]=le,r["s-sn"]=n.j||"",r["s-rf"]=(s=n.v)==null?void 0:s.ref,(function(h){if(h.assignedElements||h.assignedNodes||!h["s-sr"])return;const p=c=>(function(a){const u=[],g=this["s-sn"];a?.flatten&&console.error(`
2
+ Flattening is not supported for Stencil non-shadow slots.
3
+ You can use \`.childNodes\` to nested slot fallback content.
4
+ If you have a particular use case, please open an issue on the Stencil repo.
5
+ `);const x=this["s-cr"].parentElement;return(x.__childNodes?x.childNodes:(_=>{const v=[];for(let y=0;y<_.length;y++){const f=_[y]["s-nr"]||void 0;f&&f.isConnected&&v.push(f)}return v})(x.childNodes)).forEach((_=>{g===V(_)&&u.push(_)})),c?u.filter((_=>_.nodeType===1)):u}).bind(h);h.assignedElements=p(!0),h.assignedNodes=p(!1)})(r),d=e&&e.m&&e.m[i],d&&d.O===n.O&&e.S&&ze(e.S)),r},ze=e=>{C.i|=1;const t=e.closest(z.toLowerCase());if(t!=null){const i=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of i?s.reverse():s)n["s-sh"]!=null&&(A(t,n,i??null),n["s-sh"]=void 0,K=!0)}C.i&=-2},Z=(e,t)=>{C.i|=1;const i=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===z&&i.push(s)}for(let s=i.length-1;s>=0;s--){const n=i[s];n["s-hn"]!==z&&n["s-ol"]&&(A(F(n).parentNode,n,F(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,K=!0),t&&Z(n,t)}C.i&=-2},De=(e,t,i,s,n,r)=>{let l,d=e["s-cr"]&&e["s-cr"].parentNode||e;for(d.shadowRoot&&d.tagName===z&&(d=d.shadowRoot),i.O==="template"&&(d=d.content);n<=r;++n)s[n]&&(l=Y(null,i,n),l&&(s[n].S=l,A(d,l,F(t))))},Me=(e,t,i)=>{for(let s=t;s<=i;++s){const n=e[s];if(n){const r=n.S;Ie(n),r&&(q=!0,r["s-ol"]?r["s-ol"].remove():Z(r,!0),r.remove())}}},J=(e,t,i=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:i?(i&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),F=e=>e&&e["s-ol"]||e,G=(e,t,i=!1)=>{const s=t.S=e.S,n=e.m,r=t.m,l=t.O,d=t.h;let o;d==null?(N=l==="svg"||l!=="foreignObject"&&N,l!=="slot"||B||e.j!==t.j&&(t.S["s-sn"]=t.j||"",ze(t.S.parentElement)),ce(e,t,N),n!==null&&r!==null?((h,p,c,a,u=!1)=>{let g,x,_=0,v=0,y=0,f=0,k=p.length-1,b=p[0],S=p[k],$=a.length-1,O=a[0],E=a[$];const it=c.O==="template"?h.content:h;for(;_<=k&&v<=$;)if(b==null)b=p[++_];else if(S==null)S=p[--k];else if(O==null)O=a[++v];else if(E==null)E=a[--$];else if(J(b,O,u))G(b,O,u),b=p[++_],O=a[++v];else if(J(S,E,u))G(S,E,u),S=p[--k],E=a[--$];else if(J(b,E,u))b.O!=="slot"&&E.O!=="slot"||Z(b.S.parentNode,!1),G(b,E,u),A(it,b.S,S.S.nextSibling),b=p[++_],E=a[--$];else if(J(S,O,u))b.O!=="slot"&&E.O!=="slot"||Z(S.S.parentNode,!1),G(S,O,u),A(it,S.S,b.S),S=p[--k],O=a[++v];else{for(y=-1,f=_;f<=k;++f)if(p[f]&&p[f].$!==null&&p[f].$===O.$){y=f;break}y>=0?(x=p[y],x.O!==O.O?g=Y(p&&p[v],c,y):(G(x,O,u),p[y]=void 0,g=x.S),O=a[++v]):(g=Y(p&&p[v],c,v),O=a[++v]),g&&A(F(b.S).parentNode,g,F(b.S))}_>k?De(h,a[$+1]==null?null:a[$+1].S,c,a,v,$):v>$&&Me(p,_,k)})(s,n,t,r,i):r!==null?(e.h!==null&&(s.textContent=""),De(s,null,t,r,0,r.length-1)):!i&&n!==null&&Me(n,0,n.length-1),N&&l==="svg"&&(N=!1)):(o=s["s-cr"])?o.parentNode.textContent=d:e.h!==d&&(s.data=d)},j=[],Ge=e=>{let t,i,s;const n=e.__childNodes||e.childNodes;for(const r of n){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){i=t.parentNode.__childNodes||t.parentNode.childNodes;const l=r["s-sn"];for(s=i.length-1;s>=0;s--)if(t=i[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===r["s-hn"]||t["s-sh"]&&t["s-sh"]===r["s-hn"]))if(Ne(t,l)){let d=j.find((o=>o.k===t));q=!0,t["s-sn"]=t["s-sn"]||l,d?(d.k["s-sh"]=r["s-hn"],d.N=r):(t["s-sh"]=r["s-hn"],j.push({N:r,k:t})),t["s-sr"]&&j.map((o=>{Ne(o.k,t["s-sn"])&&(d=j.find((h=>h.k===t)),d&&!o.N&&(o.N=d.N))}))}else j.some((d=>d.k===t))||j.push({k:t})}r.nodeType===1&&Ge(r)}},Ie=e=>{e.v&&e.v.ref&&he.push((()=>e.v.ref(null))),e.m&&e.m.map(Ie)},mt=(e,t)=>{ge.push((()=>e(t)))},A=(e,t,i,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,i);const{slotNode:n}=(function(r,l){var d;if(!(l=l||((d=r["s-ol"])==null?void 0:d.parentElement)))return{slotNode:null,slotName:""};const o=r["s-sn"]=V(r)||"";return{slotNode:oe(ae(l,"childNodes"),l.tagName,o)[0],slotName:o}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,i):e?.insertBefore(t,i)},yt=(e,t,i=!1)=>{var s,n,r,l,d;const o=e.$hostElement$,h=e.o,p=e.M||U(null,null);var c;const a=(c=t)&&c.O===ct?t:m(null,null,t);if(z=o.tagName,h.C&&(a.v=a.v||{},h.C.forEach((([u,g])=>{a.v[g]=o[u]}))),i&&a.v)for(const u of Object.keys(a.v))o.hasAttribute(u)&&!["key","ref","style","class"].includes(u)&&(a.v[u]=o[u]);if(a.O=null,a.i|=4,e.M=a,a.S=p.S=o.shadowRoot||o,B=!(!(1&h.i)||128&h.i),le=o["s-cr"],q=!1,G(p,a,i),C.i|=1,K){Ge(a.S);for(const u of j){const g=u.k;if(!g["s-ol"]&&w.document){const x=w.document.createTextNode("");x["s-nr"]=g,A(g.parentNode,g["s-ol"]=x,g,i)}}for(const u of j){const g=u.k,x=u.N;if(g.nodeType===1&&i&&(g["s-ih"]=(s=g.hidden)!=null&&s),x){const _=x.parentNode;let v=x.nextSibling;if(v&&v.nodeType===1){let y=(n=g["s-ol"])==null?void 0:n.previousSibling;for(;y;){let f=(r=y["s-nr"])!=null?r:null;if(f&&f["s-sn"]===g["s-sn"]&&_===(f.__parentNode||f.parentNode)){for(f=f.nextSibling;f===g||f?.["s-sr"];)f=f?.nextSibling;if(!f||!f["s-nr"]){v=f;break}}y=y.previousSibling}}if((!v&&_!==(g.__parentNode||g.parentNode)||(g.__nextSibling||g.nextSibling)!==v)&&g!==v){if(A(_,g,v,i),g.nodeType===8&&g.nodeValue.startsWith("s-nt-")){const y=w.document.createTextNode(g.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=g["s-hn"],y["s-sn"]=g["s-sn"],y["s-sh"]=g["s-sh"],y["s-sr"]=g["s-sr"],y["s-ol"]=g["s-ol"],y["s-ol"]["s-nr"]=y,A(g.parentNode,y,g,i),g.parentNode.removeChild(g)}g.nodeType===1&&g.tagName!=="SLOT-FB"&&(g.hidden=(l=g["s-ih"])!=null&&l)}g&&typeof x["s-rf"]=="function"&&x["s-rf"](x)}else g.nodeType===1&&(g.hidden=!0)}}if(q&&Ce(a.S),C.i&=-2,j.length=0,!B&&!(1&h.i)&&o["s-cr"]){const u=a.S.__childNodes||a.S.childNodes;for(const g of u)if(g["s-hn"]!==z&&!g["s-sh"]){if(i&&g["s-ih"]==null&&(g["s-ih"]=(d=g.hidden)!=null&&d),g.nodeType===1)g.hidden=!0;else if(g.nodeType===3&&g.nodeValue.trim()){const x=w.document.createComment("s-nt-"+g.nodeValue);x["s-sn"]=g["s-sn"],A(g.parentNode,x,g,i),g.parentNode.removeChild(g)}}}le=void 0,he.forEach((u=>u())),he.length=0,ge.forEach((u=>u())),ge.length=0},Re=(e,t)=>{if(t&&!e.A&&t["s-p"]){const i=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(i-1,1),s()})))}},pe=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Re(e,e.R);const i=()=>vt(e,t);if(!t)return at(i);queueMicrotask((()=>{i()}))},vt=(e,t)=>{const i=e.$hostElement$,s=i;if(!s)throw new Error(`Can't render component <${i.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=H(s,t?"componentWillLoad":"componentWillUpdate",void 0,i),n=Ve(n,(()=>H(s,"componentWillRender",void 0,i))),Ve(n,(()=>_t(e,s,t)))},Ve=(e,t)=>bt(e)?e.then(t).catch((i=>{console.error(i),t()})):t(),bt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",_t=async(e,t,i)=>{var s;const n=e.$hostElement$,r=n["s-rc"];i&&(l=>{const d=l.o,o=l.$hostElement$,h=d.i,p=((c,a)=>{var u,g,x;const _=$e(a),v=W.get(_);if(!w.document)return _;if(c=c.nodeType===11?c:w.document,v)if(typeof v=="string"){let y,f=L.get(c=c.head||c);if(f||L.set(c,f=new Set),!f.has(_)){y=w.document.createElement("style"),y.textContent=v;const k=(u=C._)!=null?u:(function(){var b,S,$;return($=(S=(b=w.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:S.getAttribute("content"))!=null?$:void 0})();if(k!=null&&y.setAttribute("nonce",k),!(1&a.i))if(c.nodeName==="HEAD"){const b=c.querySelectorAll("link[rel=preconnect]"),S=b.length>0?b[b.length-1].nextSibling:c.querySelector("style");c.insertBefore(y,S?.parentNode===c?S:null)}else if("host"in c)if(te){const b=new((g=c.defaultView)!=null?g:c.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(v),se?c.adoptedStyleSheets.unshift(b):c.adoptedStyleSheets=[b,...c.adoptedStyleSheets]}else{const b=c.querySelector("style");b?b.textContent=v+b.textContent:c.prepend(y)}else c.append(y);1&a.i&&c.insertBefore(y,null),4&a.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),f&&f.add(_)}}else{let y=L.get(c);if(y||L.set(c,y=new Set),!y.has(_)){const f=(x=c.defaultView)!=null?x:c.ownerDocument.defaultView;let k;if(v.constructor===f.CSSStyleSheet)k=v;else{k=new f.CSSStyleSheet;for(let b=0;b<v.cssRules.length;b++)k.insertRule(v.cssRules[b].cssText,b)}se?c.adoptedStyleSheets.push(k):c.adoptedStyleSheets=[...c.adoptedStyleSheets,k],y.add(_)}}return _})(o.shadowRoot?o.shadowRoot:o.getRootNode(),d);10&h&&(o["s-sc"]=p,o.classList.add(p+"-h"))})(e),xt(e,t,n,i),r&&(r.map((l=>l())),n["s-rc"]=void 0);{const l=(s=n["s-p"])!=null?s:[],d=()=>St(e);l.length===0?d():(Promise.all(l).then(d).catch(d),e.i|=4,l.length=0)}},xt=(e,t,i,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,yt(e,t,s)}catch(n){M(n,e.$hostElement$)}return null},St=e=>{const t=e.$hostElement$,i=t,s=e.R;H(i,"componentDidRender",void 0,t),64&e.i?H(i,"componentDidUpdate",void 0,t):(e.i|=64,kt(t),H(i,"componentDidLoad",void 0,t),e.L(t),s||wt()),e.A&&(e.A(),e.A=void 0),512&e.i&&re((()=>pe(e,!1))),e.i&=-517},wt=()=>{re((()=>pt(w,"appload",{detail:{namespace:"gids-core-web"}})))},H=(e,t,i,s)=>{if(e&&e[t])try{return e[t](i)}catch(n){M(n,s)}},kt=e=>e.classList.add("hydrated"),Be=(e,t,i,s)=>{const n=P(e);if(!n)return;const r=e,l=n.l.get(t),d=n.i,o=r;i=Ee(i,s.t[t][0],!!(64&s.i));const h=Number.isNaN(l)&&Number.isNaN(i);if(i!==l&&!h){if(n.l.set(t,i),s.F){const p=s.F[t];p&&p.map((c=>{try{const[[a,u]]=Object.entries(c);(128&d||1&u)&&(o?o[a](i,l,t):n.T.push((()=>{n.D[a](i,l,t)})))}catch(a){M(a,r)}}))}if(2&d){if(o.componentShouldUpdate&&o.componentShouldUpdate(i,l,t)===!1&&!(16&d))return;16&d||pe(n,!1)}}},Ct=(e,t,i)=>{var s,n;const r=e.prototype;64&t.i&&1&i&&rt.forEach((l=>{const d=r[l];Object.defineProperty(r,l,{value(...o){var h;const p=P(this),c=this;c?typeof d=="function"&&d.call(c,...o):(h=p?.H)==null||h.then((a=>{const u=a[l];typeof u=="function"&&u.call(a,...o)}))}})}));{e.watchers&&!t.F&&(t.F=Ae(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const l=Object.entries((s=t.t)!=null?s:{});l.map((([d,[o]])=>{if(31&o||32&o){const{get:h,set:p}=D(r,d)||{};h&&(t.t[d][0]|=2048),p&&(t.t[d][0]|=4096),Object.defineProperty(r,d,{get(){return h?h.apply(this):(c=d,P(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(r,d,{set(c){const a=P(this);if(a){if(p)return(32&o?this[d]:a.$hostElement$[d])===void 0&&a.l.get(d)&&(c=a.l.get(d)),p.apply(this,[Ee(c,o,!!(64&t.i))]),void Be(this,d,c=32&o?this[d]:a.$hostElement$[d],t);Be(this,d,c,t)}}})}}));{const d=new Map;r.attributeChangedCallback=function(o,h,p){C.jmp((()=>{var c;const a=d.get(o),u=P(this);if(this.hasOwnProperty(a),r.hasOwnProperty(a)&&typeof this[a]=="number"&&this[a]==p)return;if(a==null){const y=u?.i;if(u&&y&&!(8&y)&&p!==h){const f=this,k=(c=t.F)==null?void 0:c[o];k?.forEach((b=>{const[[S,$]]=Object.entries(b);f[S]!=null&&(128&y||1&$)&&f[S].call(f,p,h,o)}))}return}const g=l.find((([y])=>y===a)),x=g&&4&g[1][0],_=x&&p===null&&this[a]===void 0;x&&(p=p!==null&&p!=="false");const v=Object.getOwnPropertyDescriptor(r,a);_||p==this[a]||v.get&&!v.set||(this[a]=p)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...l.filter((([o,h])=>31&h[0])).map((([o,h])=>{var p;const c=h[1]||o;return d.set(c,o),512&h[0]&&((p=t.C)==null||p.push([o,c])),c}))]))}}return e},ue=(e,t)=>{const i={i:t[0],p:t[1]};try{i.t=t[2],i.F=Ae(e.F),i.P=e.P,i.U=e.U,i.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((r,l)=>{const d={i:0,$hostElement$:r,o:l,l:new Map,W:new Map};d.H=new Promise((h=>d.L=h)),r["s-p"]=[],r["s-rc"]=[];const o=d;r.__stencil__getHostRef=()=>o,512&l.i&&nt(r,d)})(this,i)},connectedCallback(){if(!this.__hasHostListenerAttached){if(!P(this))return;this.__hasHostListenerAttached=!0}(r=>{if(!(1&C.i)){const l=P(r);if(!l)return;const d=l.o;if(1&l.i)l?.D||l?.H&&l.H.then((()=>{}));else{l.i|=1,12&d.i&&(o=>{if(!w.document)return;const h=o["s-cr"]=w.document.createComment("");h["s-cn"]=!0,A(o,h,o.firstChild)})(r);{let o=r;for(;o=o.parentNode||o.host;)if(o["s-p"]){Re(l,l.R=o);break}}d.t&&Object.entries(d.t).map((([o,[h]])=>{if(31&h&&Object.prototype.hasOwnProperty.call(r,o)){const p=r[o];delete r[o],r[o]=p}})),(async(o,h,p)=>{let c;try{if(!(32&h.i)&&(h.i|=32,c=o.constructor,customElements.whenDefined(o.localName).then((()=>h.i|=128)),c&&c.style)){let g;typeof c.style=="string"&&(g=c.style);const x=$e(p);W.has(x)||((_,v,y)=>{let f=W.get(_);te&&y?(f=f||new CSSStyleSheet,typeof f=="string"?f=v:f.replaceSync(v)):f=v,W.set(_,f)})(x,g,!!(1&p.i))}const a=h.R,u=()=>pe(h,!0);a&&a["s-rc"]?a["s-rc"].push(u):u()}catch(a){M(a,o),h.A&&(h.A(),h.A=void 0),h.L&&h.L(o)}})(r,l,d)}}})(this),s&&s.call(this)},disconnectedCallback(){(async r=>{1&C.i||P(r),L.has(r)&&L.delete(r),r.shadowRoot&&L.has(r.shadowRoot)&&L.delete(r.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${i.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else lt.call(this,i)}}),Object.defineProperty(e,"is",{value:i.p,configurable:!0}),Ct(e,i,3)}catch(s){return M(s),e}};function os(e){return e}function Fe(e){var t,i,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(i=Fe(e[t]))&&(s&&(s+=" "),s+=i)}else for(i in e)e[i]&&(s&&(s+=" "),s+=i);return s}function I(){for(var e,t,i=0,s="",n=arguments.length;i<n;i++)(e=arguments[i])&&(t=Fe(e))&&(s&&(s+=" "),s+=t);return s}const Nt=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:i},s)=>I("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},i,s)},Symbol.toStringTag,{value:"Module"})),$t=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerClassNames:({size:e},t)=>I("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"})),Ot=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>I("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"})),At=Object.freeze(Object.defineProperty({__proto__:null,getElementVisibility:e=>{const{label:t,supportingText:i}=e,s=typeof t=="string"&&t.trim().length>0,n=typeof i=="string"&&i.trim().length>0;return{hasLabel:s,hasSupportingText:n}}},Symbol.toStringTag,{value:"Module"})),Q=64,He=10,We=Q/2-He/2,Et=Q/2,fe=2*Math.PI*We,Pt=`0 0 ${Q} ${Q}`,jt=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const i=typeof t=="number"&&t>0?t:1,n=Math.max(0,Math.min(i,e))/i*100,r=(fe*n/100).toFixed(2),l=(fe-parseFloat(r)).toFixed(2);return`${r} ${l}`},centerPosition:Et,circumference:fe,radius:We,thickness:He,viewBox:Pt},Symbol.toStringTag,{value:"Module"})),Lt=Object.freeze(Object.defineProperty({__proto__:null,getGidsChartLegendItemClassNames:({seriesType:e,orientation:t},i)=>I("gids-chart-legend-item",{"gids-chart-legend-item--series-2":e==="2","gids-chart-legend-item--series-3":e==="3","gids-chart-legend-item--series-4":e==="4","gids-chart-legend-item--series-5":e==="5","gids-chart-legend-item--series-6":e==="6","gids-chart-legend-item--orientation-vertical":t==="vertical"},i)},Symbol.toStringTag,{value:"Module"})),Tt=Object.freeze(Object.defineProperty({__proto__:null,getGidsChartLegendClassNames:({orientation:e},t)=>I("gids-chart-legend",{"gids-chart-legend--orientation-vertical":e==="vertical"},t)},Symbol.toStringTag,{value:"Module"})),zt=Object.freeze(Object.defineProperty({__proto__:null,getGidsLineChartClassNames:({breakpoint:e},t)=>I("gids-line-chart",{"gids-line-chart--breakpoint-mobile":e==="mobile"},t)},Symbol.toStringTag,{value:"Module"})),me=Symbol("defaultPath"),Ue=Symbol("pathSet"),ye="gids-asset-paths-set";class Dt extends EventTarget{#s=new Map;constructor(){super()}#e(t,i){this.#s.set(t,i)}#t(t){return this.#s.get(t)??null}#i=()=>{this.dispatchEvent(new Event(ye))};haveAssetPathsBeenSet(){return this.#t(Ue)!==null}setAssetPaths(t,i){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(me,t);else{for(const s in t)this.#e(s,t[s]);i&&this.#e(me,i)}this.#e(Ue,"true"),setTimeout(this.#i,0)}}getAssetFilePath(t){const i=this.#t(t);if(i===null){const s=this.#t(me);if(s!==null)return`${s}${s.endsWith("/")?"":"/"}${t}`}return i}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(ye,t,{once:!0}),()=>{this.removeEventListener(ye,t)}}}const ve=Symbol.for("GIDS"),Mt=()=>(globalThis[ve]===void 0&&(globalThis[ve]={assetPaths:{}}),globalThis[ve]),Gt=e=>{const t=Mt().assetPaths;return t[e]===void 0&&(t[e]=new Dt),t[e]};function be(){return Gt("@ganpatiinfo/gids-web-shared")}function It(){return be().haveAssetPathsBeenSet()}function qe(e){return be().getAssetFilePath(e)}function Rt(e){return be().onAssetPathsSet(e)}let Vt=0;const Bt=(e,t="gids")=>e||`${t}-${Vt++}`,{getGidsSpinnerControlClassNames:Ft}=Nt,{calculateStrokeDasharray:Ht,thickness:Ke,radius:Ye,centerPosition:X,viewBox:Wt}=jt,Ut=({size:e,indeterminate:t,value:i,max:s,...n})=>{let r;return t||(r={strokeDashArray:Ht(i,s||0),strokeDashoffset:"0"}),m("svg",{class:Ft({size:e,indeterminate:t,value:i}),viewBox:Wt,...n},m("circle",{class:"gids-spinner-control__track",cx:X,cy:X,r:Ye,"stroke-width":Ke}),m("circle",{style:r,class:"gids-spinner-control__progress",cx:X,cy:X,r:Ye,"stroke-width":Ke}))},{getGidsSpinnerClassNames:qt}=$t,{getElementVisibility:Kt}=At,Yt=({label:e,supportingText:t,size:i,indeterminate:s,value:n,max:r,class:l,...d})=>{const{hasLabel:o,hasSupportingText:h}=Kt({label:e,supportingText:t});return m("span",{class:qt({size:i},l),...d},m(Ut,{size:i,indeterminate:s,value:n,max:r}),o&&m("span",{class:"gids-spinner__label"},e),h&&m("span",{class:"gids-spinner__supporting-text"},t))},{getGidsChartLegendClassNames:Zt}=Tt,Jt=ue(class extends ee{constructor(e){super(),e!==!1&&this.__registerHost(),this.orientation="horizontal"}handleOrientationChange(e){this.orientation=e}render(){const e=Zt({orientation:this.orientation});return m("div",{key:"cf7740304d4b3616d7bc15d2a2009c537665bbc7",class:e},m("slot",{key:"940d3744a6ea0da0684ff2d16c9734e8d265b485"}))}static get watchers(){return{orientation:[{handleOrientationChange:0}]}}static get style(){return".gids-chart-legend{display:inline-flex;align-items:flex-start;gap:var(--gids-gap-150)}.gids-chart-legend--orientation-vertical{flex-direction:column;gap:var(--gids-gap-050)}"}},[260,"gids-chart-legend",{orientation:[1]},void 0,{orientation:[{handleOrientationChange:0}]}]);function Ze(){typeof customElements<"u"&&["gids-chart-legend"].forEach((e=>{e==="gids-chart-legend"&&(customElements.get(e)||customElements.define(e,Jt))}))}Ze();const 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 Qt(e){return Qe.get(e)}function Xe(e,t="regular",i){const s=Qt(e);let n=s??"";return i&&s&&(n=i(s)??s),`${n}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:Xt}=Ot,es=({name:e,size:t,appearance:i,alt:s,class:n,titleId:r,src:l,...d})=>{const o=Bt(r);let h=l;return h===void 0&&It()&&(h=Xe(e,i,qe)),m("svg",{ref:p=>{h===void 0&&Rt((()=>{(function(c,a,u){if(!c)return;const g=document.createElementNS("http://www.w3.org/2000/svg","use");g.setAttribute("href",Xe(a,u,qe)),c.appendChild(g)})(p,e,i)}))},width:"16",height:"16",class:Xt({size:t},n),role:"img","aria-hidden":s===""?"true":void 0,"aria-labelledby":s===""?void 0:o,...d},s!==""&&m("title",{id:o},s||e),h!==void 0?m("use",{href:h}):null)},{getGidsChartLegendItemClassNames:ts}=Lt,ss=ue(class extends ee{constructor(e){super(),e!==!1&&this.__registerHost(),this.orientation="horizontal",this.seriesType="1"}handleOrientationChange(e){this.orientation=e}handleSeriesTypeChange(e){this.seriesType=e}render(){const e=ts({seriesType:this.seriesType,orientation:this.orientation});return m("div",{key:"8878b090e147405a847be15581708ec707a806b1",class:e},m("div",{key:"8ac35d56d1e31cbc613490bec5e5d5a698c5aa7c",class:this.orientation==="vertical"?"gids-chart-legend-item__dot-wrapper-vertical":"gids-chart-legend-item__dot-wrapper-horizontal"},m(es,{key:"2edad86b9fd18809923775308e580f39688a7f47",name:"new",alt:"new_icon",appearance:"filled"})),m("span",{key:"db1611c5d945b5e470623d0ac1c93a3bfd24f1e7",class:"gids-chart-legend-item__label"},m("slot",{key:"e3ad93df0b136e4f80a214131caf77c01dac9049"})))}static get watchers(){return{orientation:[{handleOrientationChange:0}],seriesType:[{handleSeriesTypeChange:0}]}}static get style(){return".gids-chart-legend-item{display:flex;align-items:center;gap:var(--gids-gap-100);--gidsChartLegendItemIcon-color:var(--gids-color-icon-subtle);--gidsIcon-color:var(--gidsChartLegendItemIcon-color);--gidsIcon-height:var(--gids-size-080)}.gids-chart-legend-item--orientation-vertical{display:flex}.gids-chart-legend-item--series-2{--gidsChartLegendItemIcon-color:var(--gids-color-icon-warning)}.gids-chart-legend-item--series-3{--gidsChartLegendItemIcon-color:var(--gids-color-icon-danger)}.gids-chart-legend-item--series-4{--gidsChartLegendItemIcon-color:var(--gids-color-background-positive-bold-hovered)}.gids-chart-legend-item--series-5{--gidsChartLegendItemIcon-color:var(--gids-color-background-information-bold-default)}.gids-chart-legend-item--series-6{--gidsChartLegendItemIcon-color:rgb(238, 70, 188)}.gids-chart-legend-item__label{font-family:var(--gids-typography-label-small__font-family);font-size:var(--gids-typography-label-small__font-size);font-weight:var(--gids-typography-label-small__font-weight);letter-spacing:var(--gids-typography-label-small__letter-spacing);line-height:var(--gids-typography-label-small__line-height);text-transform:var(--gids-typography-label-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-small__font-variant-caps, inherit);text-align:left;color:var(--gids-color-text-subtlest)}.gids-chart-legend-item__dot-wrapper-vertical{display:flex;padding-top:var(--gids-padding-vertical-edge-to-element-075)}.gids-chart-legend-item__dot-wrapper-horizontal{display:flex;align-items:center}"}},[260,"gids-chart-legend-item",{orientation:[1],seriesType:[1,"series-type"]},void 0,{orientation:[{handleOrientationChange:0}],seriesType:[{handleSeriesTypeChange:0}]}]);function et(){typeof customElements<"u"&&["gids-chart-legend-item"].forEach((e=>{e==="gids-chart-legend-item"&&(customElements.get(e)||customElements.define(e,ss))}))}et();const{getGidsLineChartClassNames:is}=zt,tt=ue(class extends ee{constructor(e){super(),e!==!1&&this.__registerHost(),this.breakpoint="desktop",this.legend="none",this.chartData=[],this.yAxisVisible=!1,this.dataPoints=[],this.chartLoaderSize="lg",this.chartLoading=!1,this.width=0,this.height=0}chartDataChanged(){this.updateDimensions()}dataPointsChanged(e){this.dataPoints=e}legendChanged(e){this.legend=e}yAxisVisibilityChanged(e){this.yAxisVisible=e}componentDidLoad(){this.updateDimensions(),this.resizeObserver=new ResizeObserver((()=>this.updateDimensions())),this.hostElement.parentElement&&this.resizeObserver.observe(this.hostElement.parentElement)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.disconnect()}updateDimensions(){const e=this.hostElement.getBoundingClientRect();this.width=e.width,this.height=e.height>0?e.height:300}render(){if(this.chartLoading)return m("div",{class:"gids-line-chart__no-data"},m(Yt,{label:this.chartLoadingTitle,supportingText:this.chartLoadingSupportingText,size:this?.chartLoaderSize??"lg"}));const e=this.chartData.flatMap((a=>Array.isArray(a?.data)?a.data.map((u=>u.value)):[])),t=e.length>0?Math.max(...e):10,i=Math.pow(10,Math.floor(Math.log10(t||1)));let s=i;t/i<=2?s=i/5:t/i<=5&&(s=i/2);const n=Math.ceil(t/s)*s;let r=[];if(Array.isArray(this.dataPoints)&&this.dataPoints.length>0)r=[...this.dataPoints].sort(((a,u)=>a-u));else{const u=n/4;for(let g=0;g<5;g++)r.push(Math.round(0+g*u))}const l=Math.max(...r,n)-0||1,d=this?.chartData?.[0]?.data?.map((a=>a.label))??[],o=d.length,h=is({breakpoint:this.breakpoint});let p=!1,c=!1;return this.breakpoint==="mobile"?this.legend!=="none"&&(p=!0):this.legend==="top"?p=!0:this.legend==="right"&&(c=!0),m("div",{class:h},p?m("div",{class:"gids-line-chart__header"},m("gids-chart-legend",{orientation:"horizontal"},this.chartData.map(((a,u)=>m("gids-chart-legend-item",{key:a.label,seriesType:`${u+1}`,orientation:"horizontal"},a.label))))):null,m("div",{class:"gids-line-chart__main-container"},m("div",{class:"gids-line-chart__grid-layout"},m("span",{class:"gids-line-chart__y-axis-label"},this.yAxisLabel),m("div",{class:"gids-line-chart__chart-stage-container"},this.yAxisVisible?m("div",{class:"gids-line-chart__y-axis-scale-container"},r.map((a=>m("span",{class:"gids-line-chart__scale-text gids-line-chart__y-axis-scale-value",key:a,style:{bottom:(a-0)/l*100+"%"}},a)))):null,m("div",{class:"gids-line-chart__chart-stage"},m("svg",{viewBox:"0 0 100 100",class:"gids-line-chart__chart-vector",preserveAspectRatio:"none"},m("defs",null,this.chartData.map(((a,u)=>m("linearGradient",{id:`areaGradient-${u}`,x1:"0",y1:"0",x2:"0",y2:"1",key:u},m("stop",{offset:"0%",class:`gids-line-chart__gradient-start-${u}`}),m("stop",{offset:"100%",class:`gids-line-chart__gradient-end-${u}`}))))),r.map((a=>{const u=100-(a-0)/l*100;return m("line",{x1:"0",y1:u,x2:"100",y2:u,class:"gids-line-chart__grid-line",key:a})})),this.chartData.map(((a,u)=>{if(!Array.isArray(a.data)||a.data.length<2)return null;const g=a.data.map(((x,_)=>`${_===0?"M":"L"} ${_/(o-1)*100} ${100-(x.value-0)/l*100}`)).join(" ");return m("g",{key:a.label||u},m("path",{d:`${g} L 100 100 L 0 100 Z`,fill:`url(#areaGradient-${u})`,class:"gids-line-chart__chart-area"}),m("path",{d:g,class:`gids-line-chart__chart-line gids-line-chart__series-line-${u+1}`}))}))))),m("div",{class:"gids-line-chart__x-axis-scale-container"},d.map(((a,u)=>m("span",{class:"gids-line-chart__scale-text",key:u},a)))),m("span",{class:"gids-line-chart__x-axis-label"},this.xAxisLabel)),c?m("gids-chart-legend",{orientation:"vertical"},this.chartData.map(((a,u)=>m("gids-chart-legend-item",{key:a.label,seriesType:`${u+1}`,orientation:"vertical"},a.label)))):null))}get hostElement(){return this}static get watchers(){return{chartData:[{chartDataChanged:0}],dataPoints:[{dataPointsChanged:0}],legend:[{legendChanged:0}],yAxisVisible:[{yAxisVisibilityChanged:0}]}}static get style(){return":host{display:block;width:100%;height:100%;box-sizing:border-box}.gids-line-chart{display:flex;flex-direction:column;width:100%;height:100%;box-sizing:border-box}.gids-line-chart--breakpoint-mobile{max-width:var(--gids-width-xs)}.gids-line-chart__main-container{display:flex;gap:var(--gids-gap-200)}.gids-line-chart__header{display:flex;justify-content:flex-end;align-items:center;width:100%;margin-bottom:var(--gids-padding-vertical-edge-to-element-200)}.gids-line-chart__grid-layout{display:grid;grid-template-columns:auto 1fr;grid-template-rows:minmax(180px, 280px) auto auto;flex:1;width:100%;height:100%;box-sizing:border-box}.gids-line-chart__y-axis-label{grid-column:1;grid-row:1;display:flex;align-items:center;justify-content:center;margin-right:var(--gids-padding-horizontal-edge-to-element-150);font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtlest);writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap}.gids-line-chart__chart-stage-container{grid-column:2;grid-row:1;position:relative;width:100%;height:100%;padding-left:var(--gids-container-padding-desktop);box-sizing:border-box}.gids-line-chart__y-axis-scale-container{position:absolute;top:0;bottom:0;left:0;width:calc(var(--gids-container-padding-desktop) - var(--gids-padding-horizontal-edge-to-element-100));pointer-events:none}.gids-line-chart__y-axis-scale-value{position:absolute;right:0;transform:translateY(50%)}.gids-line-chart__chart-stage{position:relative;width:100%;height:100%;border-bottom:var(--gids-border-width-thin) solid var(--gids-color-border-default);box-sizing:border-box}.gids-line-chart__chart-vector{display:block;width:100%;height:100%;overflow:visible}.gids-line-chart__grid-line{stroke:var(--gids-color-border-default);stroke-width:0.5;fill:none}.gids-line-chart__chart-area{stroke:none}.gids-line-chart__chart-line{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.gids-line-chart__chart-line.gids-line-chart__series-line-1{stroke:var(--gids-color-icon-subtle)}.gids-line-chart__chart-line.gids-line-chart__series-line-2{stroke:var(--gids-color-icon-warning)}.gids-line-chart__chart-line.gids-line-chart__series-line-3{stroke:var(--gids-color-icon-danger)}.gids-line-chart__gradient-start-0{stop-color:rgba(127, 86, 217, 0.09);stop-opacity:1}.gids-line-chart__gradient-end-0{stop-color:rgba(127, 86, 217, 0.09);stop-opacity:0}.gids-line-chart__gradient-start-1{stop-color:rgba(127, 86, 217, 0.1);stop-opacity:1}.gids-line-chart__gradient-end-1{stop-color:rgba(127, 86, 217, 0.1);stop-opacity:0}.gids-line-chart__gradient-start-2{stop-color:rgba(127, 86, 217, 0.12);stop-opacity:1}.gids-line-chart__gradient-end-2{stop-color:rgba(127, 86, 217, 0.12);stop-opacity:0}.gids-line-chart__x-axis-scale-container{display:flex;grid-column:2;grid-row:2;justify-content:space-between;align-items:center;padding-left:var(--gids-container-padding-desktop);padding-top:var(--gids-padding-vertical-edge-to-element-100);box-sizing:border-box}.gids-line-chart__x-axis-label{grid-column:2;grid-row:3;display:flex;justify-content:center;align-items:center;padding-top:var(--gids-padding-vertical-edge-to-element-100);font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtlest);white-space:nowrap}.gids-line-chart__scale-text{font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtlest);user-select:none;white-space:nowrap}.gids-line-chart__no-data{display:flex;align-items:center;justify-content:center;padding:var(--gids-padding-vertical-edge-to-element-300) var(--gids-padding-horizontal-edge-to-element-100);width:100%;height:100%;min-height:200px;color:var(--gids-color-text-subtlest);border:var(--gids-border-width-thin) dashed var(--gids-color-border-default);border-radius:var(--gids-border-radius-md)}"}},[0,"gids-line-chart",{breakpoint:[1],legend:[1],chartData:[16],yAxisVisible:[4,"y-axis-visible"],xAxisLabel:[1,"x-axis-label"],yAxisLabel:[1,"y-axis-label"],dataPoints:[16],chartLoaderSize:[1,"chart-loader-size"],chartLoading:[4,"chart-loading"],chartLoadingTitle:[1,"chart-loading-title"],chartLoadingSupportingText:[1,"chart-loading-supporting-text"],width:[32],height:[32]},void 0,{chartData:[{chartDataChanged:0}],dataPoints:[{dataPointsChanged:0}],legend:[{legendChanged:0}],yAxisVisible:[{yAxisVisibilityChanged:0}]}]);function st(){typeof customElements<"u"&&["gids-line-chart","gids-chart-legend","gids-chart-legend-item"].forEach((e=>{switch(e){case"gids-line-chart":customElements.get(e)||customElements.define(e,tt);break;case"gids-chart-legend":customElements.get(e)||Ze();break;case"gids-chart-legend-item":customElements.get(e)||et()}}))}st();const ns=tt,rs=st;T.GidsLineChart=ns,T.defineCustomElement=rs,Object.defineProperty(T,Symbol.toStringTag,{value:"Module"})}));
@@ -1,5 +1,5 @@
1
- (function(R,P){typeof exports=="object"&&typeof module<"u"?P(exports):typeof define=="function"&&define.amd?define(["exports"],P):(R=typeof globalThis<"u"?globalThis:R||self,P(R.gidsCoreWebGidsNotification={}))})(this,(function(R){"use strict";function P(e,t,s){const o=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==o;){const n=Object.getOwnPropertyDescriptor(e,t);if(n&&(!s||n.get))return n;e=Object.getPrototypeOf(e)}}var D,Le=(e,t)=>{var s;Object.entries((s=t.o.t)!=null?s:{}).map((([o,[n]])=>{if(31&n||32&n){const i=e[o],r=P(Object.getPrototypeOf(e),o,!0)||Object.getOwnPropertyDescriptor(e,o);r&&Object.defineProperty(e,o,{get(){return r.get.call(this)},set(c){r.set.call(this,c)},configurable:!0,enumerable:!0}),t.l.has(o)?e[o]=t.l.get(o):i!==void 0&&(e[o]=i)}}))},T=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ae=(e,t)=>t in e,M=(e,t)=>(0,console.error)(e,t),q=new Map,ue="http://www.w3.org/1999/xlink",N=typeof window<"u"?window:{},Pe=N.HTMLElement||class{},O={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,o)=>e.addEventListener(t,s,o),rel:(e,t,s,o)=>e.removeEventListener(t,s,o),ce:(e,t)=>new CustomEvent(e,t)},Y=(()=>{try{return!!N.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),Z=!!Y&&!!N.document&&Object.getOwnPropertyDescriptor(N.document.adoptedStyleSheets,"length").writable,J=!1,de=[],fe=[],Me=(e,t)=>s=>{e.push(s),J||(J=!0,4&O.i?X(K):O.raf(K))},he=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){M(s)}e.length=0},K=()=>{he(de),he(fe),(J=de.length>0)&&O.raf(K)},X=e=>Promise.resolve(void 0).then(e),He=Me(fe);function De(){const e=this.attachShadow({mode:"open"});D===void 0&&(D=null),D&&(Z?e.adoptedStyleSheets.push(D):e.adoptedStyleSheets=[...e.adoptedStyleSheets,D])}var pe=e=>{const t=te(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&ee(t,e.tagName).forEach((o=>{o.nodeType===1&&o.tagName==="SLOT-FB"&&(o.hidden=!!Be(o,B(o),!1).length)}));let s=0;for(s=0;s<t.length;s++){const o=t[s];o.nodeType===1&&te(o,"childNodes").length&&pe(o)}};function ee(e,t,s){let o,n=0,i=[];for(;n<e.length;n++){if(o=e[n],o["s-sr"]&&(!t||o["s-hn"]===t)&&(s===void 0||B(o)===s)&&(i.push(o),s!==void 0))return i;i=[...i,...ee(o.childNodes,t,s)]}return i}var Be=(e,t,s=!0)=>{const o=[];(s&&e["s-sr"]||!e["s-sr"])&&o.push(e);let n=e;for(;n=n.nextSibling;)B(n)!==t||!s&&n["s-sr"]||o.push(n);return o},me=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",B=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function te(e,t){if("__"+t in e){const s=e["__"+t];return typeof s!="function"?s:s.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var oe,L,x=new WeakMap,ge=e=>"sc-"+e.p,se=e=>(e=typeof e)=="object"||e==="function",We=(e,t,...s)=>{let o=null,n=null,i=null,r=!1,c=!1;const l=[],a=u=>{for(let h=0;h<u.length;h++)o=u[h],Array.isArray(o)?a(o):o!=null&&typeof o!="boolean"&&((r=!se(o))&&(o=String(o)),r&&c?l[l.length-1].h+=o:l.push(r?ne(null,o):o),c=r)};a(s);const f=ne(e,null);return f.v=t,l.length>0&&(f.m=l),f.$=n,f.j=i,f},ne=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),Fe={},ye=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let s=!1;for(const n of t){if(s)break;for(const i of e[n])if(typeof i=="string"){s=!0;break}}if(!s)return e;const o={};for(const n of t)o[n]=e[n].map((i=>typeof i=="string"?{[i]:0}:i));return o},Se=(e,t)=>e==null||se(e)?e:4&t?e!=="false"&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,Ve=(e,t,s)=>{const o=O.ce(t,s);return e.dispatchEvent(o),o},ve=(e,t,s,o,n,i)=>{if(s===o)return;let r=ae(e,t),c=t.toLowerCase();if(t==="class"){const l=e.classList,a=be(s);let f=be(o);l.remove(...a.filter((u=>u&&!f.includes(u)))),l.add(...f.filter((u=>u&&!a.includes(u))))}else if(t==="style"){for(const l in s)o&&o[l]!=null||(l.includes("-")?e.style.removeProperty(l):e.style[l]="");for(const l in o)s&&o[l]===s[l]||(l.includes("-")?e.style.setProperty(l,o[l]):e.style[l]=o[l])}else if(t!=="key"){if(t==="ref")o&&Ue(o,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 a;{const f=T(e);if(f&&f.o&&f.o.t){const u=f.o.t[l];u&&u[1]&&(a=u[1])}}return a||(a=l.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(o==null||o===!1?o===!1&&e.getAttribute(a)!==""||e.removeAttribute(a):e.setAttribute(a,o===!0?"":o))}if(t[0]==="p"&&t.startsWith("prop:")){const l=t.slice(5);try{e[l]=o}catch{}return}{const l=se(o);if((r||l&&o!==null)&&!n)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const f=o??"";t==="list"?r=!1:s!=null&&e[t]===f||(typeof e.__lookupSetter__(t)=="function"?e[t]=f:e.setAttribute(t,f))}}catch{}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,a=!0),o==null||o===!1?o===!1&&e.getAttribute(t)!==""||(a?e.removeAttributeNS(ue,t):e.removeAttribute(t)):(!r||4&i||n)&&!l&&e.nodeType===1&&(o=o===!0?"":o,a?e.setAttributeNS(ue,t,o):e.setAttribute(t,o))}}else if(t=t[2]==="-"?t.slice(3):ae(N,c)?c.slice(2):c[2]+t.slice(3),s||o){const l=t.endsWith(Ne);t=t.replace(ze,""),s&&O.rel(e,t,s,l),o&&O.ael(e,t,o,l)}}},qe=/\s/,be=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(qe):[]),Ne="Capture",ze=new RegExp(Ne+"$"),le=(e,t,s)=>{const o=t.S.nodeType===11&&t.S.host?t.S.host:t.S,n=e&&e.v||{},i=t.v||{};for(const r of we(Object.keys(n)))r in i||ve(o,r,n[r],void 0,s,t.i);for(const r of we(Object.keys(i)))ve(o,r,n[r],i[r],s,t.i)};function we(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var W=!1,z=!1,U=!1,C=!1,ie=[],re=[],I=(e,t,s)=>{var o;const n=t.m[s];let i,r,c,l=0;if(W||(U=!0,n.O==="slot"&&(n.i|=n.m?2:1)),n.h!=null)i=n.S=N.document.createTextNode(n.h);else if(1&n.i)i=n.S=N.document.createTextNode(""),le(null,n,C);else{if(C||(C=n.O==="svg"),!N.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(i=n.S=N.document.createElementNS(C?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!W&&2&n.i?"slot-fb":n.O),C&&n.O==="foreignObject"&&(C=!1),le(null,n,C),n.m){const a=n.O==="template"?i.content:i;for(l=0;l<n.m.length;++l)r=I(e,n,l),r&&a.appendChild(r)}n.O==="svg"?C=!1:i.tagName==="foreignObject"&&(C=!0)}return i["s-hn"]=L,3&n.i&&(i["s-sr"]=!0,i["s-cr"]=oe,i["s-sn"]=n.j||"",i["s-rf"]=(o=n.v)==null?void 0:o.ref,(function(a){if(a.assignedElements||a.assignedNodes||!a["s-sr"])return;const f=u=>(function(h){const g=[],d=this["s-sn"];h?.flatten&&console.error(`
1
+ (function(R,P){typeof exports=="object"&&typeof module<"u"?P(exports):typeof define=="function"&&define.amd?define(["exports"],P):(R=typeof globalThis<"u"?globalThis:R||self,P(R.gidsCoreWebGidsNotification={}))})(this,(function(R){"use strict";function P(e,t,s){const o=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==o;){const n=Object.getOwnPropertyDescriptor(e,t);if(n&&(!s||n.get))return n;e=Object.getPrototypeOf(e)}}var D,Le=(e,t)=>{var s;Object.entries((s=t.o.t)!=null?s:{}).map((([o,[n]])=>{if(31&n||32&n){const i=e[o],c=P(Object.getPrototypeOf(e),o,!0)||Object.getOwnPropertyDescriptor(e,o);c&&Object.defineProperty(e,o,{get(){return c.get.call(this)},set(r){c.set.call(this,r)},configurable:!0,enumerable:!0}),t.l.has(o)?e[o]=t.l.get(o):i!==void 0&&(e[o]=i)}}))},A=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ae=(e,t)=>t in e,M=(e,t)=>(0,console.error)(e,t),U=new Map,ue="http://www.w3.org/1999/xlink",Pe=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],w=typeof window<"u"?window:{},Me=w.HTMLElement||class{},O={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,o)=>e.addEventListener(t,s,o),rel:(e,t,s,o)=>e.removeEventListener(t,s,o),ce:(e,t)=>new CustomEvent(e,t)},Y=(()=>{try{return!!w.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),Z=!!Y&&!!w.document&&Object.getOwnPropertyDescriptor(w.document.adoptedStyleSheets,"length").writable,J=!1,de=[],fe=[],He=(e,t)=>s=>{e.push(s),J||(J=!0,4&O.i?X(K):O.raf(K))},he=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){M(s)}e.length=0},K=()=>{he(de),he(fe),(J=de.length>0)&&O.raf(K)},X=e=>Promise.resolve(void 0).then(e),De=He(fe);function Fe(){const e=this.attachShadow({mode:"open"});D===void 0&&(D=null),D&&(Z?e.adoptedStyleSheets.push(D):e.adoptedStyleSheets=[...e.adoptedStyleSheets,D])}var pe=e=>{const t=te(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&ee(t,e.tagName).forEach((o=>{o.nodeType===1&&o.tagName==="SLOT-FB"&&(o.hidden=!!Be(o,F(o),!1).length)}));let s=0;for(s=0;s<t.length;s++){const o=t[s];o.nodeType===1&&te(o,"childNodes").length&&pe(o)}};function ee(e,t,s){let o,n=0,i=[];for(;n<e.length;n++){if(o=e[n],o["s-sr"]&&(!t||o["s-hn"]===t)&&(s===void 0||F(o)===s)&&(i.push(o),s!==void 0))return i;i=[...i,...ee(o.childNodes,t,s)]}return i}var Be=(e,t,s=!0)=>{const o=[];(s&&e["s-sr"]||!e["s-sr"])&&o.push(e);let n=e;for(;n=n.nextSibling;)F(n)!==t||!s&&n["s-sr"]||o.push(n);return o},me=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",F=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function te(e,t){if("__"+t in e){const s=e["__"+t];return typeof s!="function"?s:s.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var oe,L,x=new WeakMap,ge=e=>"sc-"+e.p,se=e=>(e=typeof e)=="object"||e==="function",Ve=(e,t,...s)=>{let o=null,n=null,i=null,c=!1,r=!1;const l=[],u=a=>{for(let f=0;f<a.length;f++)o=a[f],Array.isArray(o)?u(o):o!=null&&typeof o!="boolean"&&((c=!se(o))&&(o=String(o)),c&&r?l[l.length-1].h+=o:l.push(c?ne(null,o):o),r=c)};u(s);const d=ne(e,null);return d.v=t,l.length>0&&(d.m=l),d.$=n,d.j=i,d},ne=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),We={},ye=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let s=!1;for(const n of t){if(s)break;for(const i of e[n])if(typeof i=="string"){s=!0;break}}if(!s)return e;const o={};for(const n of t)o[n]=e[n].map((i=>typeof i=="string"?{[i]:0}:i));return o},Se=(e,t,s)=>e==null||se(e)?e:4&t?(s&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,Ue=(e,t,s)=>{const o=O.ce(t,s);return e.dispatchEvent(o),o},be=(e,t,s,o,n,i)=>{if(s===o)return;let c=ae(e,t),r=t.toLowerCase();if(t==="class"){const l=e.classList,u=ve(s);let d=ve(o);l.remove(...u.filter((a=>a&&!d.includes(a)))),l.add(...d.filter((a=>a&&!u.includes(a))))}else if(t==="style"){for(const l in s)o&&o[l]!=null||(l.includes("-")?e.style.removeProperty(l):e.style[l]="");for(const l in o)s&&o[l]===s[l]||(l.includes("-")?e.style.setProperty(l,o[l]):e.style[l]=o[l])}else if(t!=="key"){if(t==="ref")o&&Ie(o,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 u;{const d=A(e);if(d&&d.o&&d.o.t){const a=d.o.t[l];a&&a[1]&&(u=a[1])}}return u||(u=l.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(o==null||o===!1?o===!1&&e.getAttribute(u)!==""||e.removeAttribute(u):e.setAttribute(u,o===!0?"":o))}if(t[0]==="p"&&t.startsWith("prop:")){const l=t.slice(5);try{e[l]=o}catch{}return}{const l=se(o);if((c||l&&o!==null)&&!n)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const d=o??"";t==="list"?c=!1:s!=null&&e[t]===d||(typeof e.__lookupSetter__(t)=="function"?e[t]=d:e.setAttribute(t,d))}}catch{}let u=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,u=!0),o==null||o===!1?o===!1&&e.getAttribute(t)!==""||(u?e.removeAttributeNS(ue,t):e.removeAttribute(t)):(!c||4&i||n)&&!l&&e.nodeType===1&&(o=o===!0?"":o,u?e.setAttributeNS(ue,t,o):e.setAttribute(t,o))}}else if(t=t[2]==="-"?t.slice(3):ae(w,r)?r.slice(2):r[2]+t.slice(3),s||o){const l=t.endsWith(Ne);t=t.replace(ze,""),s&&O.rel(e,t,s,l),o&&O.ael(e,t,o,l)}}},qe=/\s/,ve=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(qe):[]),Ne="Capture",ze=new RegExp(Ne+"$"),le=(e,t,s)=>{const o=t.S.nodeType===11&&t.S.host?t.S.host:t.S,n=e&&e.v||{},i=t.v||{};for(const c of we(Object.keys(n)))c in i||be(o,c,n[c],void 0,s,t.i);for(const c of we(Object.keys(i)))be(o,c,n[c],i[c],s,t.i)};function we(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var B=!1,q=!1,z=!1,C=!1,ie=[],re=[],I=(e,t,s)=>{var o;const n=t.m[s];let i,c,r,l=0;if(B||(z=!0,n.O==="slot"&&(n.i|=n.m?2:1)),n.h!=null)i=n.S=w.document.createTextNode(n.h);else if(1&n.i)i=n.S=w.document.createTextNode(""),le(null,n,C);else{if(C||(C=n.O==="svg"),!w.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(i=n.S=w.document.createElementNS(C?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!B&&2&n.i?"slot-fb":n.O),C&&n.O==="foreignObject"&&(C=!1),le(null,n,C),n.m){const u=n.O==="template"?i.content:i;for(l=0;l<n.m.length;++l)c=I(e,n,l),c&&u.appendChild(c)}n.O==="svg"?C=!1:i.tagName==="foreignObject"&&(C=!0)}return i["s-hn"]=L,3&n.i&&(i["s-sr"]=!0,i["s-cr"]=oe,i["s-sn"]=n.j||"",i["s-rf"]=(o=n.v)==null?void 0:o.ref,(function(u){if(u.assignedElements||u.assignedNodes||!u["s-sr"])return;const d=a=>(function(f){const m=[],h=this["s-sn"];f?.flatten&&console.error(`
2
2
  Flattening is not supported for Stencil non-shadow slots.
3
3
  You can use \`.childNodes\` to nested slot fallback content.
4
4
  If you have a particular use case, please open an issue on the Stencil repo.
5
- `);const b=this["s-cr"].parentElement;return(b.__childNodes?b.childNodes:(v=>{const y=[];for(let m=0;m<v.length;m++){const p=v[m]["s-nr"]||void 0;p&&p.isConnected&&y.push(p)}return y})(b.childNodes)).forEach((v=>{d===B(v)&&g.push(v)})),u?g.filter((v=>v.nodeType===1)):g}).bind(a);a.assignedElements=f(!0),a.assignedNodes=f(!1)})(i),c=e&&e.m&&e.m[s],c&&c.O===n.O&&e.S&&_e(e.S)),i},_e=e=>{O.i|=1;const t=e.closest(L.toLowerCase());if(t!=null){const s=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),o=Array.from(e.__childNodes||e.childNodes);for(const n of s?o.reverse():o)n["s-sh"]!=null&&(j(t,n,s??null),n["s-sh"]=void 0,U=!0)}O.i&=-2},Q=(e,t)=>{O.i|=1;const s=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let o=e;for(;o=o.nextSibling;)o&&o["s-sn"]===e["s-sn"]&&o["s-sh"]===L&&s.push(o)}for(let o=s.length-1;o>=0;o--){const n=s[o];n["s-hn"]!==L&&n["s-ol"]&&(j(F(n).parentNode,n,F(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,U=!0),t&&Q(n,t)}O.i&=-2},Oe=(e,t,s,o,n,i)=>{let r,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===L&&(c=c.shadowRoot),s.O==="template"&&(c=c.content);n<=i;++n)o[n]&&(r=I(null,s,n),r&&(o[n].S=r,j(c,r,F(t))))},Ce=(e,t,s)=>{for(let o=t;o<=s;++o){const n=e[o];if(n){const i=n.S;$e(n),i&&(z=!0,i["s-ol"]?i["s-ol"].remove():Q(i,!0),i.remove())}}},G=(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,H=(e,t,s=!1)=>{const o=t.S=e.S,n=e.m,i=t.m,r=t.O,c=t.h;let l;c==null?(C=r==="svg"||r!=="foreignObject"&&C,r!=="slot"||W||e.j!==t.j&&(t.S["s-sn"]=t.j||"",_e(t.S.parentElement)),le(e,t,C),n!==null&&i!==null?((a,f,u,h,g=!1)=>{let d,b,v=0,y=0,m=0,p=0,_=f.length-1,S=f[0],w=f[_],$=h.length-1,E=h[0],k=h[$];const Re=u.O==="template"?a.content:a;for(;v<=_&&y<=$;)if(S==null)S=f[++v];else if(w==null)w=f[--_];else if(E==null)E=h[++y];else if(k==null)k=h[--$];else if(G(S,E,g))H(S,E,g),S=f[++v],E=h[++y];else if(G(w,k,g))H(w,k,g),w=f[--_],k=h[--$];else if(G(S,k,g))S.O!=="slot"&&k.O!=="slot"||Q(S.S.parentNode,!1),H(S,k,g),j(Re,S.S,w.S.nextSibling),S=f[++v],k=h[--$];else if(G(w,E,g))S.O!=="slot"&&k.O!=="slot"||Q(w.S.parentNode,!1),H(w,E,g),j(Re,w.S,S.S),w=f[--_],E=h[++y];else{for(m=-1,p=v;p<=_;++p)if(f[p]&&f[p].$!==null&&f[p].$===E.$){m=p;break}m>=0?(b=f[m],b.O!==E.O?d=I(f&&f[y],u,m):(H(b,E,g),f[m]=void 0,d=b.S),E=h[++y]):(d=I(f&&f[y],u,y),E=h[++y]),d&&j(F(S.S).parentNode,d,F(S.S))}v>_?Oe(a,h[$+1]==null?null:h[$+1].S,u,h,y,$):y>$&&Ce(f,v,_)})(o,n,t,i,s):i!==null?(e.h!==null&&(o.textContent=""),Oe(o,null,t,i,0,i.length-1)):!s&&n!==null&&Ce(n,0,n.length-1),C&&r==="svg"&&(C=!1)):(l=o["s-cr"])?l.parentNode.textContent=c:e.h!==c&&(o.data=c)},A=[],Ee=e=>{let t,s,o;const n=e.__childNodes||e.childNodes;for(const i of n){if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const r=i["s-sn"];for(o=s.length-1;o>=0;o--)if(t=s[o],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===i["s-hn"]||t["s-sh"]&&t["s-sh"]===i["s-hn"]))if(me(t,r)){let c=A.find((l=>l.k===t));z=!0,t["s-sn"]=t["s-sn"]||r,c?(c.k["s-sh"]=i["s-hn"],c.N=i):(t["s-sh"]=i["s-hn"],A.push({N:i,k:t})),t["s-sr"]&&A.map((l=>{me(l.k,t["s-sn"])&&(c=A.find((a=>a.k===t)),c&&!l.N&&(l.N=c.N))}))}else A.some((c=>c.k===t))||A.push({k:t})}i.nodeType===1&&Ee(i)}},$e=e=>{e.v&&e.v.ref&&ie.push((()=>e.v.ref(null))),e.m&&e.m.map($e)},Ue=(e,t)=>{re.push((()=>e(t)))},j=(e,t,s,o)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:n}=(function(i,r){var c;if(!(r=r||((c=i["s-ol"])==null?void 0:c.parentElement)))return{slotNode:null,slotName:""};const l=i["s-sn"]=B(i)||"";return{slotNode:ee(te(r,"childNodes"),r.tagName,l)[0],slotName:l}})(t);return n&&!o&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},Ie=(e,t,s=!1)=>{var o,n,i,r,c;const l=e.$hostElement$,a=e.o,f=e.M||ne(null,null);var u;const h=(u=t)&&u.O===Fe?t:We(null,null,t);if(L=l.tagName,a._&&(h.v=h.v||{},a._.forEach((([g,d])=>{h.v[d]=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=f.S=l.shadowRoot||l,W=!(!(1&a.i)||128&a.i),oe=l["s-cr"],z=!1,H(f,h,s),O.i|=1,U){Ee(h.S);for(const g of A){const d=g.k;if(!d["s-ol"]&&N.document){const b=N.document.createTextNode("");b["s-nr"]=d,j(d.parentNode,d["s-ol"]=b,d,s)}}for(const g of A){const d=g.k,b=g.N;if(d.nodeType===1&&s&&(d["s-ih"]=(o=d.hidden)!=null&&o),b){const v=b.parentNode;let y=b.nextSibling;if(y&&y.nodeType===1){let m=(n=d["s-ol"])==null?void 0:n.previousSibling;for(;m;){let p=(i=m["s-nr"])!=null?i:null;if(p&&p["s-sn"]===d["s-sn"]&&v===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===d||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){y=p;break}}m=m.previousSibling}}if((!y&&v!==(d.__parentNode||d.parentNode)||(d.__nextSibling||d.nextSibling)!==y)&&d!==y){if(j(v,d,y,s),d.nodeType===8&&d.nodeValue.startsWith("s-nt-")){const m=N.document.createTextNode(d.nodeValue.replace(/^s-nt-/,""));m["s-hn"]=d["s-hn"],m["s-sn"]=d["s-sn"],m["s-sh"]=d["s-sh"],m["s-sr"]=d["s-sr"],m["s-ol"]=d["s-ol"],m["s-ol"]["s-nr"]=m,j(d.parentNode,m,d,s),d.parentNode.removeChild(d)}d.nodeType===1&&d.tagName!=="SLOT-FB"&&(d.hidden=(r=d["s-ih"])!=null&&r)}d&&typeof b["s-rf"]=="function"&&b["s-rf"](b)}else d.nodeType===1&&(d.hidden=!0)}}if(z&&pe(h.S),O.i&=-2,A.length=0,!W&&!(1&a.i)&&l["s-cr"]){const g=h.S.__childNodes||h.S.childNodes;for(const d of g)if(d["s-hn"]!==L&&!d["s-sh"]){if(s&&d["s-ih"]==null&&(d["s-ih"]=(c=d.hidden)!=null&&c),d.nodeType===1)d.hidden=!0;else if(d.nodeType===3&&d.nodeValue.trim()){const b=N.document.createComment("s-nt-"+d.nodeValue);b["s-sn"]=d["s-sn"],j(d.parentNode,b,d,s),d.parentNode.removeChild(d)}}}oe=void 0,ie.forEach((g=>g())),ie.length=0,re.forEach((g=>g())),re.length=0},je=(e,t)=>{if(t&&!e.A&&t["s-p"]){const s=t["s-p"].push(new Promise((o=>e.A=()=>{t["s-p"].splice(s-1,1),o()})))}},ce=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);je(e,e.C);const s=()=>Qe(e,t);if(!t)return He(s);queueMicrotask((()=>{s()}))},Qe=(e,t)=>{const s=e.$hostElement$,o=s;if(!o)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 n;return n=V(o,t?"componentWillLoad":"componentWillUpdate",void 0,s),n=ke(n,(()=>V(o,"componentWillRender",void 0,s))),ke(n,(()=>Ye(e,o,t)))},ke=(e,t)=>Ge(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),Ge=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ye=async(e,t,s)=>{var o;const n=e.$hostElement$,i=n["s-rc"];s&&(r=>{const c=r.o,l=r.$hostElement$,a=c.i,f=((u,h)=>{var g,d,b;const v=ge(h),y=q.get(v);if(!N.document)return v;if(u=u.nodeType===11?u:N.document,y)if(typeof y=="string"){let m,p=x.get(u=u.head||u);if(p||x.set(u,p=new Set),!p.has(v)){m=N.document.createElement("style"),m.textContent=y;const _=(g=O.L)!=null?g:(function(){var S,w,$;return($=(w=(S=N.document.head)==null?void 0:S.querySelector('meta[name="csp-nonce"]'))==null?void 0:w.getAttribute("content"))!=null?$:void 0})();if(_!=null&&m.setAttribute("nonce",_),!(1&h.i))if(u.nodeName==="HEAD"){const S=u.querySelectorAll("link[rel=preconnect]"),w=S.length>0?S[S.length-1].nextSibling:u.querySelector("style");u.insertBefore(m,w?.parentNode===u?w:null)}else if("host"in u)if(Y){const S=new((d=u.defaultView)!=null?d:u.ownerDocument.defaultView).CSSStyleSheet;S.replaceSync(y),Z?u.adoptedStyleSheets.unshift(S):u.adoptedStyleSheets=[S,...u.adoptedStyleSheets]}else{const S=u.querySelector("style");S?S.textContent=y+S.textContent:u.prepend(m)}else u.append(m);1&h.i&&u.insertBefore(m,null),4&h.i&&(m.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(v)}}else{let m=x.get(u);if(m||x.set(u,m=new Set),!m.has(v)){const p=(b=u.defaultView)!=null?b:u.ownerDocument.defaultView;let _;if(y.constructor===p.CSSStyleSheet)_=y;else{_=new p.CSSStyleSheet;for(let S=0;S<y.cssRules.length;S++)_.insertRule(y.cssRules[S].cssText,S)}Z?u.adoptedStyleSheets.push(_):u.adoptedStyleSheets=[...u.adoptedStyleSheets,_],m.add(v)}}return v})(l.shadowRoot?l.shadowRoot:l.getRootNode(),c);10&a&&(l["s-sc"]=f,l.classList.add(f+"-h"))})(e),Ze(e,t,n,s),i&&(i.map((r=>r())),n["s-rc"]=void 0);{const r=(o=n["s-p"])!=null?o:[],c=()=>Je(e);r.length===0?c():(Promise.all(r).then(c).catch(c),e.i|=4,r.length=0)}},Ze=(e,t,s,o)=>{try{t=t.render(),e.i&=-17,e.i|=2,Ie(e,t,o)}catch(n){M(n,e.$hostElement$)}return null},Je=e=>{const t=e.$hostElement$,s=t,o=e.C;V(s,"componentDidRender",void 0,t),64&e.i?V(s,"componentDidUpdate",void 0,t):(e.i|=64,Xe(t),V(s,"componentDidLoad",void 0,t),e.F(t),o||Ke()),e.A&&(e.A(),e.A=void 0),512&e.i&&X((()=>ce(e,!1))),e.i&=-517},Ke=()=>{X((()=>Ve(N,"appload",{detail:{namespace:"gids-core-web"}})))},V=(e,t,s,o)=>{if(e&&e[t])try{return e[t](s)}catch(n){M(n,o)}},Xe=e=>e.classList.add("hydrated"),Ae=(e,t,s,o)=>{const n=T(e);if(!n)return;const i=e,r=n.l.get(t),c=n.i,l=i;s=Se(s,o.t[t][0]);const a=Number.isNaN(r)&&Number.isNaN(s);if(s!==r&&!a){if(n.l.set(t,s),o.R){const f=o.R[t];f&&f.map((u=>{try{const[[h,g]]=Object.entries(u);(128&c||1&g)&&(l?l[h](s,r,t):n.T.push((()=>{n.D[h](s,r,t)})))}catch(h){M(h,i)}}))}if(2&c){if(l.componentShouldUpdate&&l.componentShouldUpdate(s,r,t)===!1&&!(16&c))return;16&c||ce(n,!1)}}},et=(e,t)=>{var s,o;const n=e.prototype;{e.watchers&&!t.R&&(t.R=ye(e.watchers)),e.deserializers&&!t.H&&(t.H=e.deserializers),e.serializers&&!t.P&&(t.P=e.serializers);const i=Object.entries((s=t.t)!=null?s:{});i.map((([r,[c]])=>{if(31&c||32&c){const{get:l,set:a}=P(n,r)||{};l&&(t.t[r][0]|=2048),a&&(t.t[r][0]|=4096),Object.defineProperty(n,r,{get(){return l?l.apply(this):(f=r,T(this).l.get(f));var f},configurable:!0,enumerable:!0}),Object.defineProperty(n,r,{set(f){const u=T(this);if(u){if(a)return(32&c?this[r]:u.$hostElement$[r])===void 0&&u.l.get(r)&&(f=u.l.get(r)),a.apply(this,[Se(f,c)]),void Ae(this,r,f=32&c?this[r]:u.$hostElement$[r],t);Ae(this,r,f,t)}}})}}));{const r=new Map;n.attributeChangedCallback=function(c,l,a){O.jmp((()=>{var f;const u=r.get(c),h=T(this);if(this.hasOwnProperty(u),n.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==a)return;if(u==null){const y=h?.i;if(h&&y&&!(8&y)&&a!==l){const m=this,p=(f=t.R)==null?void 0:f[c];p?.forEach((_=>{const[[S,w]]=Object.entries(_);m[S]!=null&&(128&y||1&w)&&m[S].call(m,a,l,c)}))}return}const g=i.find((([y])=>y===u)),d=g&&4&g[1][0],b=d&&a===null&&this[u]===void 0;d&&(a=a!==null&&a!=="false");const v=Object.getOwnPropertyDescriptor(n,u);b||a==this[u]||v.get&&!v.set||(this[u]=a)}))},e.observedAttributes=Array.from(new Set([...Object.keys((o=t.R)!=null?o:{}),...i.filter((([c,l])=>31&l[0])).map((([c,l])=>{var a;const f=l[1]||c;return r.set(f,c),512&l[0]&&((a=t._)==null||a.push([c,f])),f}))]))}}return e},tt=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.R=ye(e.R),s.H=e.H,s.P=e.P,s._=[];const o=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((i,r)=>{const c={i:0,$hostElement$:i,o:r,l:new Map,U:new Map};c.W=new Promise((a=>c.F=a)),i["s-p"]=[],i["s-rc"]=[];const l=c;i.__stencil__getHostRef=()=>l,512&r.i&&Le(i,c)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){if(!T(this))return;this.__hasHostListenerAttached=!0}(i=>{if(!(1&O.i)){const r=T(i);if(!r)return;const c=r.o;if(1&r.i)r?.D||r?.W&&r.W.then((()=>{}));else{r.i|=1,12&c.i&&(l=>{if(!N.document)return;const a=l["s-cr"]=N.document.createComment("");a["s-cn"]=!0,j(l,a,l.firstChild)})(i);{let l=i;for(;l=l.parentNode||l.host;)if(l["s-p"]){je(r,r.C=l);break}}c.t&&Object.entries(c.t).map((([l,[a]])=>{if(31&a&&Object.prototype.hasOwnProperty.call(i,l)){const f=i[l];delete i[l],i[l]=f}})),(async(l,a,f)=>{let u;try{if(!(32&a.i)&&(a.i|=32,u=l.constructor,customElements.whenDefined(l.localName).then((()=>a.i|=128)),u&&u.style)){let d;typeof u.style=="string"&&(d=u.style);const b=ge(f);q.has(b)||((v,y,m)=>{let p=q.get(v);Y&&m?(p=p||new CSSStyleSheet,typeof p=="string"?p=y:p.replaceSync(y)):p=y,q.set(v,p)})(b,d,!!(1&f.i))}const h=a.C,g=()=>ce(a,!0);h&&h["s-rc"]?h["s-rc"].push(g):g()}catch(h){M(h,l),a.A&&(a.A(),a.A=void 0),a.F&&a.F(l)}})(i,r,c)}}})(this),o&&o.call(this)},disconnectedCallback(){(async i=>{1&O.i||T(i),x.has(i)&&x.delete(i),i.shadowRoot&&x.has(i.shadowRoot)&&x.delete(i.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else De.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),et(e,s)}catch(o){return M(o),e}};function lt(e){return e}const ot=e=>e===null?null:e?.parentElement?.closest("gids-overlay-provider")||null,Te=tt(class extends Pe{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.pronunciation="standard",this.appearance="default",this.show=!1,this.position="top-right"}async showNotification(){const e=ot(this._el);e&&this.show&&e.queueComponent({notificationTitle:this.notificationTitle,message:this.message,pronunciation:this.pronunciation,appearance:this.appearance,buttonLabel:this.buttonLabel,onButtonClick:this.onButtonClick,position:this.position,componentName:"notification",timerInMs:this.timerInMs}),this.onQueueNotification&&this.onQueueNotification(),this.show=!1}render(){return null}get _el(){return this}static get watchers(){return{show:[{showNotification:0}]}}},[1,"gids-notification",{notificationTitle:[513,"notification-title"],message:[513],pronunciation:[513],appearance:[513],show:[516],onQueueNotification:[16],buttonLabel:[513,"button-label"],position:[513],timerInMs:[514,"timer-in-ms"],onButtonClick:[16]},void 0,{show:[{showNotification:0}]}]);function xe(){typeof customElements<"u"&&["gids-notification"].forEach((e=>{e==="gids-notification"&&(customElements.get(e)||customElements.define(e,Te))}))}xe();const st=Te,nt=xe;R.GidsNotification=st,R.defineCustomElement=nt,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const v=this["s-cr"].parentElement;return(v.__childNodes?v.childNodes:(b=>{const y=[];for(let g=0;g<b.length;g++){const p=b[g]["s-nr"]||void 0;p&&p.isConnected&&y.push(p)}return y})(v.childNodes)).forEach((b=>{h===F(b)&&m.push(b)})),a?m.filter((b=>b.nodeType===1)):m}).bind(u);u.assignedElements=d(!0),u.assignedNodes=d(!1)})(i),r=e&&e.m&&e.m[s],r&&r.O===n.O&&e.S&&_e(e.S)),i},_e=e=>{O.i|=1;const t=e.closest(L.toLowerCase());if(t!=null){const s=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),o=Array.from(e.__childNodes||e.childNodes);for(const n of s?o.reverse():o)n["s-sh"]!=null&&(j(t,n,s??null),n["s-sh"]=void 0,z=!0)}O.i&=-2},Q=(e,t)=>{O.i|=1;const s=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let o=e;for(;o=o.nextSibling;)o&&o["s-sn"]===e["s-sn"]&&o["s-sh"]===L&&s.push(o)}for(let o=s.length-1;o>=0;o--){const n=s[o];n["s-hn"]!==L&&n["s-ol"]&&(j(V(n).parentNode,n,V(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,z=!0),t&&Q(n,t)}O.i&=-2},Oe=(e,t,s,o,n,i)=>{let c,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===L&&(r=r.shadowRoot),s.O==="template"&&(r=r.content);n<=i;++n)o[n]&&(c=I(null,s,n),c&&(o[n].S=c,j(r,c,V(t))))},Ce=(e,t,s)=>{for(let o=t;o<=s;++o){const n=e[o];if(n){const i=n.S;ke(n),i&&(q=!0,i["s-ol"]?i["s-ol"].remove():Q(i,!0),i.remove())}}},G=(e,t,s=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),V=e=>e&&e["s-ol"]||e,H=(e,t,s=!1)=>{const o=t.S=e.S,n=e.m,i=t.m,c=t.O,r=t.h;let l;r==null?(C=c==="svg"||c!=="foreignObject"&&C,c!=="slot"||B||e.j!==t.j&&(t.S["s-sn"]=t.j||"",_e(t.S.parentElement)),le(e,t,C),n!==null&&i!==null?((u,d,a,f,m=!1)=>{let h,v,b=0,y=0,g=0,p=0,_=d.length-1,S=d[0],N=d[_],E=f.length-1,k=f[0],$=f[E];const Re=a.O==="template"?u.content:u;for(;b<=_&&y<=E;)if(S==null)S=d[++b];else if(N==null)N=d[--_];else if(k==null)k=f[++y];else if($==null)$=f[--E];else if(G(S,k,m))H(S,k,m),S=d[++b],k=f[++y];else if(G(N,$,m))H(N,$,m),N=d[--_],$=f[--E];else if(G(S,$,m))S.O!=="slot"&&$.O!=="slot"||Q(S.S.parentNode,!1),H(S,$,m),j(Re,S.S,N.S.nextSibling),S=d[++b],$=f[--E];else if(G(N,k,m))S.O!=="slot"&&$.O!=="slot"||Q(N.S.parentNode,!1),H(N,k,m),j(Re,N.S,S.S),N=d[--_],k=f[++y];else{for(g=-1,p=b;p<=_;++p)if(d[p]&&d[p].$!==null&&d[p].$===k.$){g=p;break}g>=0?(v=d[g],v.O!==k.O?h=I(d&&d[y],a,g):(H(v,k,m),d[g]=void 0,h=v.S),k=f[++y]):(h=I(d&&d[y],a,y),k=f[++y]),h&&j(V(S.S).parentNode,h,V(S.S))}b>_?Oe(u,f[E+1]==null?null:f[E+1].S,a,f,y,E):y>E&&Ce(d,b,_)})(o,n,t,i,s):i!==null?(e.h!==null&&(o.textContent=""),Oe(o,null,t,i,0,i.length-1)):!s&&n!==null&&Ce(n,0,n.length-1),C&&c==="svg"&&(C=!1)):(l=o["s-cr"])?l.parentNode.textContent=r:e.h!==r&&(o.data=r)},T=[],Ee=e=>{let t,s,o;const n=e.__childNodes||e.childNodes;for(const i of n){if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const c=i["s-sn"];for(o=s.length-1;o>=0;o--)if(t=s[o],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===i["s-hn"]||t["s-sh"]&&t["s-sh"]===i["s-hn"]))if(me(t,c)){let r=T.find((l=>l.k===t));q=!0,t["s-sn"]=t["s-sn"]||c,r?(r.k["s-sh"]=i["s-hn"],r.N=i):(t["s-sh"]=i["s-hn"],T.push({N:i,k:t})),t["s-sr"]&&T.map((l=>{me(l.k,t["s-sn"])&&(r=T.find((u=>u.k===t)),r&&!l.N&&(l.N=r.N))}))}else T.some((r=>r.k===t))||T.push({k:t})}i.nodeType===1&&Ee(i)}},ke=e=>{e.v&&e.v.ref&&ie.push((()=>e.v.ref(null))),e.m&&e.m.map(ke)},Ie=(e,t)=>{re.push((()=>e(t)))},j=(e,t,s,o)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:n}=(function(i,c){var r;if(!(c=c||((r=i["s-ol"])==null?void 0:r.parentElement)))return{slotNode:null,slotName:""};const l=i["s-sn"]=F(i)||"";return{slotNode:ee(te(c,"childNodes"),c.tagName,l)[0],slotName:l}})(t);return n&&!o&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},Qe=(e,t,s=!1)=>{var o,n,i,c,r;const l=e.$hostElement$,u=e.o,d=e.M||ne(null,null);var a;const f=(a=t)&&a.O===We?t:Ve(null,null,t);if(L=l.tagName,u.C&&(f.v=f.v||{},u.C.forEach((([m,h])=>{f.v[h]=l[m]}))),s&&f.v)for(const m of Object.keys(f.v))l.hasAttribute(m)&&!["key","ref","style","class"].includes(m)&&(f.v[m]=l[m]);if(f.O=null,f.i|=4,e.M=f,f.S=d.S=l.shadowRoot||l,B=!(!(1&u.i)||128&u.i),oe=l["s-cr"],q=!1,H(d,f,s),O.i|=1,z){Ee(f.S);for(const m of T){const h=m.k;if(!h["s-ol"]&&w.document){const v=w.document.createTextNode("");v["s-nr"]=h,j(h.parentNode,h["s-ol"]=v,h,s)}}for(const m of T){const h=m.k,v=m.N;if(h.nodeType===1&&s&&(h["s-ih"]=(o=h.hidden)!=null&&o),v){const b=v.parentNode;let y=v.nextSibling;if(y&&y.nodeType===1){let g=(n=h["s-ol"])==null?void 0:n.previousSibling;for(;g;){let p=(i=g["s-nr"])!=null?i:null;if(p&&p["s-sn"]===h["s-sn"]&&b===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===h||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){y=p;break}}g=g.previousSibling}}if((!y&&b!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==y)&&h!==y){if(j(b,h,y,s),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const g=w.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));g["s-hn"]=h["s-hn"],g["s-sn"]=h["s-sn"],g["s-sh"]=h["s-sh"],g["s-sr"]=h["s-sr"],g["s-ol"]=h["s-ol"],g["s-ol"]["s-nr"]=g,j(h.parentNode,g,h,s),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(c=h["s-ih"])!=null&&c)}h&&typeof v["s-rf"]=="function"&&v["s-rf"](v)}else h.nodeType===1&&(h.hidden=!0)}}if(q&&pe(f.S),O.i&=-2,T.length=0,!B&&!(1&u.i)&&l["s-cr"]){const m=f.S.__childNodes||f.S.childNodes;for(const h of m)if(h["s-hn"]!==L&&!h["s-sh"]){if(s&&h["s-ih"]==null&&(h["s-ih"]=(r=h.hidden)!=null&&r),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const v=w.document.createComment("s-nt-"+h.nodeValue);v["s-sn"]=h["s-sn"],j(h.parentNode,v,h,s),h.parentNode.removeChild(h)}}}oe=void 0,ie.forEach((m=>m())),ie.length=0,re.forEach((m=>m())),re.length=0},je=(e,t)=>{if(t&&!e.A&&t["s-p"]){const s=t["s-p"].push(new Promise((o=>e.A=()=>{t["s-p"].splice(s-1,1),o()})))}},ce=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);je(e,e.R);const s=()=>Ge(e,t);if(!t)return De(s);queueMicrotask((()=>{s()}))},Ge=(e,t)=>{const s=e.$hostElement$,o=s;if(!o)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 n;return n=W(o,t?"componentWillLoad":"componentWillUpdate",void 0,s),n=$e(n,(()=>W(o,"componentWillRender",void 0,s))),$e(n,(()=>Ze(e,o,t)))},$e=(e,t)=>Ye(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),Ye=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ze=async(e,t,s)=>{var o;const n=e.$hostElement$,i=n["s-rc"];s&&(c=>{const r=c.o,l=c.$hostElement$,u=r.i,d=((a,f)=>{var m,h,v;const b=ge(f),y=U.get(b);if(!w.document)return b;if(a=a.nodeType===11?a:w.document,y)if(typeof y=="string"){let g,p=x.get(a=a.head||a);if(p||x.set(a,p=new Set),!p.has(b)){g=w.document.createElement("style"),g.textContent=y;const _=(m=O._)!=null?m:(function(){var S,N,E;return(E=(N=(S=w.document.head)==null?void 0:S.querySelector('meta[name="csp-nonce"]'))==null?void 0:N.getAttribute("content"))!=null?E:void 0})();if(_!=null&&g.setAttribute("nonce",_),!(1&f.i))if(a.nodeName==="HEAD"){const S=a.querySelectorAll("link[rel=preconnect]"),N=S.length>0?S[S.length-1].nextSibling:a.querySelector("style");a.insertBefore(g,N?.parentNode===a?N:null)}else if("host"in a)if(Y){const S=new((h=a.defaultView)!=null?h:a.ownerDocument.defaultView).CSSStyleSheet;S.replaceSync(y),Z?a.adoptedStyleSheets.unshift(S):a.adoptedStyleSheets=[S,...a.adoptedStyleSheets]}else{const S=a.querySelector("style");S?S.textContent=y+S.textContent:a.prepend(g)}else a.append(g);1&f.i&&a.insertBefore(g,null),4&f.i&&(g.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(b)}}else{let g=x.get(a);if(g||x.set(a,g=new Set),!g.has(b)){const p=(v=a.defaultView)!=null?v:a.ownerDocument.defaultView;let _;if(y.constructor===p.CSSStyleSheet)_=y;else{_=new p.CSSStyleSheet;for(let S=0;S<y.cssRules.length;S++)_.insertRule(y.cssRules[S].cssText,S)}Z?a.adoptedStyleSheets.push(_):a.adoptedStyleSheets=[...a.adoptedStyleSheets,_],g.add(b)}}return b})(l.shadowRoot?l.shadowRoot:l.getRootNode(),r);10&u&&(l["s-sc"]=d,l.classList.add(d+"-h"))})(e),Je(e,t,n,s),i&&(i.map((c=>c())),n["s-rc"]=void 0);{const c=(o=n["s-p"])!=null?o:[],r=()=>Ke(e);c.length===0?r():(Promise.all(c).then(r).catch(r),e.i|=4,c.length=0)}},Je=(e,t,s,o)=>{try{t=t.render(),e.i&=-17,e.i|=2,Qe(e,t,o)}catch(n){M(n,e.$hostElement$)}return null},Ke=e=>{const t=e.$hostElement$,s=t,o=e.R;W(s,"componentDidRender",void 0,t),64&e.i?W(s,"componentDidUpdate",void 0,t):(e.i|=64,et(t),W(s,"componentDidLoad",void 0,t),e.L(t),o||Xe()),e.A&&(e.A(),e.A=void 0),512&e.i&&X((()=>ce(e,!1))),e.i&=-517},Xe=()=>{X((()=>Ue(w,"appload",{detail:{namespace:"gids-core-web"}})))},W=(e,t,s,o)=>{if(e&&e[t])try{return e[t](s)}catch(n){M(n,o)}},et=e=>e.classList.add("hydrated"),Ae=(e,t,s,o)=>{const n=A(e);if(!n)return;const i=e,c=n.l.get(t),r=n.i,l=i;s=Se(s,o.t[t][0],!!(64&o.i));const u=Number.isNaN(c)&&Number.isNaN(s);if(s!==c&&!u){if(n.l.set(t,s),o.F){const d=o.F[t];d&&d.map((a=>{try{const[[f,m]]=Object.entries(a);(128&r||1&m)&&(l?l[f](s,c,t):n.T.push((()=>{n.D[f](s,c,t)})))}catch(f){M(f,i)}}))}if(2&r){if(l.componentShouldUpdate&&l.componentShouldUpdate(s,c,t)===!1&&!(16&r))return;16&r||ce(n,!1)}}},tt=(e,t,s)=>{var o,n;const i=e.prototype;64&t.i&&1&s&&Pe.forEach((c=>{const r=i[c];Object.defineProperty(i,c,{value(...l){var u;const d=A(this),a=this;a?typeof r=="function"&&r.call(a,...l):(u=d?.H)==null||u.then((f=>{const m=f[c];typeof m=="function"&&m.call(f,...l)}))}})}));{e.watchers&&!t.F&&(t.F=ye(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const c=Object.entries((o=t.t)!=null?o:{});c.map((([r,[l]])=>{if(31&l||32&l){const{get:u,set:d}=P(i,r)||{};u&&(t.t[r][0]|=2048),d&&(t.t[r][0]|=4096),Object.defineProperty(i,r,{get(){return u?u.apply(this):(a=r,A(this).l.get(a));var a},configurable:!0,enumerable:!0}),Object.defineProperty(i,r,{set(a){const f=A(this);if(f){if(d)return(32&l?this[r]:f.$hostElement$[r])===void 0&&f.l.get(r)&&(a=f.l.get(r)),d.apply(this,[Se(a,l,!!(64&t.i))]),void Ae(this,r,a=32&l?this[r]:f.$hostElement$[r],t);Ae(this,r,a,t)}}})}}));{const r=new Map;i.attributeChangedCallback=function(l,u,d){O.jmp((()=>{var a;const f=r.get(l),m=A(this);if(this.hasOwnProperty(f),i.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==d)return;if(f==null){const g=m?.i;if(m&&g&&!(8&g)&&d!==u){const p=this,_=(a=t.F)==null?void 0:a[l];_?.forEach((S=>{const[[N,E]]=Object.entries(S);p[N]!=null&&(128&g||1&E)&&p[N].call(p,d,u,l)}))}return}const h=c.find((([g])=>g===f)),v=h&&4&h[1][0],b=v&&d===null&&this[f]===void 0;v&&(d=d!==null&&d!=="false");const y=Object.getOwnPropertyDescriptor(i,f);b||d==this[f]||y.get&&!y.set||(this[f]=d)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...c.filter((([l,u])=>31&u[0])).map((([l,u])=>{var d;const a=u[1]||l;return r.set(a,l),512&u[0]&&((d=t.C)==null||d.push([l,a])),a}))]))}}return e},ot=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.F=ye(e.F),s.P=e.P,s.U=e.U,s.C=[];const o=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((i,c)=>{const r={i:0,$hostElement$:i,o:c,l:new Map,W:new Map};r.H=new Promise((u=>r.L=u)),i["s-p"]=[],i["s-rc"]=[];const l=r;i.__stencil__getHostRef=()=>l,512&c.i&&Le(i,r)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){if(!A(this))return;this.__hasHostListenerAttached=!0}(i=>{if(!(1&O.i)){const c=A(i);if(!c)return;const r=c.o;if(1&c.i)c?.D||c?.H&&c.H.then((()=>{}));else{c.i|=1,12&r.i&&(l=>{if(!w.document)return;const u=l["s-cr"]=w.document.createComment("");u["s-cn"]=!0,j(l,u,l.firstChild)})(i);{let l=i;for(;l=l.parentNode||l.host;)if(l["s-p"]){je(c,c.R=l);break}}r.t&&Object.entries(r.t).map((([l,[u]])=>{if(31&u&&Object.prototype.hasOwnProperty.call(i,l)){const d=i[l];delete i[l],i[l]=d}})),(async(l,u,d)=>{let a;try{if(!(32&u.i)&&(u.i|=32,a=l.constructor,customElements.whenDefined(l.localName).then((()=>u.i|=128)),a&&a.style)){let h;typeof a.style=="string"&&(h=a.style);const v=ge(d);U.has(v)||((b,y,g)=>{let p=U.get(b);Y&&g?(p=p||new CSSStyleSheet,typeof p=="string"?p=y:p.replaceSync(y)):p=y,U.set(b,p)})(v,h,!!(1&d.i))}const f=u.R,m=()=>ce(u,!0);f&&f["s-rc"]?f["s-rc"].push(m):m()}catch(f){M(f,l),u.A&&(u.A(),u.A=void 0),u.L&&u.L(l)}})(i,c,r)}}})(this),o&&o.call(this)},disconnectedCallback(){(async i=>{1&O.i||A(i),x.has(i)&&x.delete(i),i.shadowRoot&&x.has(i.shadowRoot)&&x.delete(i.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Fe.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),tt(e,s,3)}catch(o){return M(o),e}};function it(e){return e}const st=e=>e===null?null:e?.parentElement?.closest("gids-overlay-provider")||null,Te=ot(class extends Me{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.pronunciation="standard",this.appearance="default",this.show=!1,this.position="top-right"}async showNotification(){const e=st(this._el);e&&this.show&&e.queueComponent({notificationTitle:this.notificationTitle,message:this.message,pronunciation:this.pronunciation,appearance:this.appearance,buttonLabel:this.buttonLabel,onButtonClick:this.onButtonClick,position:this.position,componentName:"notification",timerInMs:this.timerInMs}),this.onQueueNotification&&this.onQueueNotification(),this.show=!1}render(){return null}get _el(){return this}static get watchers(){return{show:[{showNotification:0}]}}},[1,"gids-notification",{notificationTitle:[513,"notification-title"],message:[513],pronunciation:[513],appearance:[513],show:[516],onQueueNotification:[16],buttonLabel:[513,"button-label"],position:[513],timerInMs:[514,"timer-in-ms"],onButtonClick:[16]},void 0,{show:[{showNotification:0}]}]);function xe(){typeof customElements<"u"&&["gids-notification"].forEach((e=>{e==="gids-notification"&&(customElements.get(e)||customElements.define(e,Te))}))}xe();const nt=Te,lt=xe;R.GidsNotification=nt,R.defineCustomElement=lt,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})}));
@@ -1,5 +1,5 @@
1
- (function(R,L){typeof exports=="object"&&typeof module<"u"?L(exports):typeof define=="function"&&define.amd?define(["exports"],L):(R=typeof globalThis<"u"?globalThis:R||self,L(R.gidsCoreWebGidsOverflowContainer={}))})(this,(function(R){"use strict";function L(e,t,s){const o=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==o;){const n=Object.getOwnPropertyDescriptor(e,t);if(n&&(!s||n.get))return n;e=Object.getPrototypeOf(e)}}var W,Ge=(e,t)=>{var s;Object.entries((s=t.o.t)!=null?s:{}).map((([o,[n]])=>{if(31&n||32&n){const l=e[o],i=L(Object.getPrototypeOf(e),o,!0)||Object.getOwnPropertyDescriptor(e,o);i&&Object.defineProperty(e,o,{get(){return i.get.call(this)},set(a){i.set.call(this,a)},configurable:!0,enumerable:!0}),t.l.has(o)?e[o]=t.l.get(o):l!==void 0&&(e[o]=l)}}))},E=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},he=(e,t)=>t in e,H=(e,t)=>(0,console.error)(e,t),q=new Map,pe="http://www.w3.org/1999/xlink",b=typeof window<"u"?window:{},Ve=b.HTMLElement||class{},O={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,o)=>e.addEventListener(t,s,o),rel:(e,t,s,o)=>e.removeEventListener(t,s,o),ce:(e,t)=>new CustomEvent(e,t)},Q=(()=>{try{return!!b.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),X=!!Q&&!!b.document&&Object.getOwnPropertyDescriptor(b.document.adoptedStyleSheets,"length").writable,ee=!1,me=[],ye=[],qe=(e,t)=>s=>{e.push(s),ee||(ee=!0,4&O.i?oe(te):O.raf(te))},ge=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){H(s)}e.length=0},te=()=>{ge(me),ge(ye),(ee=me.length>0)&&O.raf(te)},oe=e=>Promise.resolve(void 0).then(e),ze=qe(ye);function Ue(){const e=this.attachShadow({mode:"open"});W===void 0&&(W=null),W&&(X?e.adoptedStyleSheets.push(W):e.adoptedStyleSheets=[...e.adoptedStyleSheets,W])}var Se=e=>{const t=ne(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&se(t,e.tagName).forEach((o=>{o.nodeType===1&&o.tagName==="SLOT-FB"&&(o.hidden=!!Ie(o,B(o),!1).length)}));let s=0;for(s=0;s<t.length;s++){const o=t[s];o.nodeType===1&&ne(o,"childNodes").length&&Se(o)}};function se(e,t,s){let o,n=0,l=[];for(;n<e.length;n++){if(o=e[n],o["s-sr"]&&(!t||o["s-hn"]===t)&&(s===void 0||B(o)===s)&&(l.push(o),s!==void 0))return l;l=[...l,...se(o.childNodes,t,s)]}return l}var Ie=(e,t,s=!0)=>{const o=[];(s&&e["s-sr"]||!e["s-sr"])&&o.push(e);let n=e;for(;n=n.nextSibling;)B(n)!==t||!s&&n["s-sr"]||o.push(n);return o},ve=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",B=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function ne(e,t){if("__"+t in e){const s=e["__"+t];return typeof s!="function"?s:s.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var le,P,T=new WeakMap,we=e=>"sc-"+e.p,re=e=>(e=typeof e)=="object"||e==="function",z=(e,t,...s)=>{let o=null,n=null,l=null,i=!1,a=!1;const r=[],d=c=>{for(let h=0;h<c.length;h++)o=c[h],Array.isArray(o)?d(o):o!=null&&typeof o!="boolean"&&((i=typeof e!="function"&&!re(o))&&(o=String(o)),i&&a?r[r.length-1].h+=o:r.push(i?U(null,o):o),a=i)};if(d(s),t){t.key&&(n=t.key),t.name&&(l=t.name);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter((h=>c[h])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,r,Ze);const u=U(e,null);return u.v=t,r.length>0&&(u.m=r),u.$=n,u.j=l,u},U=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),Ye={},Ze={forEach:(e,t)=>e.map(be).forEach(t),map:(e,t)=>e.map(be).map(t).map(Je)},be=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),Je=e=>{if(typeof e.vtag=="function"){const s={...e.vattrs};return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),z(e.vtag,s,...e.vchildren||[])}const t=U(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},_e=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let s=!1;for(const n of t){if(s)break;for(const l of e[n])if(typeof l=="string"){s=!0;break}}if(!s)return e;const o={};for(const n of t)o[n]=e[n].map((l=>typeof l=="string"?{[l]:0}:l));return o},Ne=(e,t)=>e==null||re(e)?e:4&t?e!=="false"&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,Ke=(e,t,s)=>{const o=O.ce(t,s);return e.dispatchEvent(o),o},Oe=(e,t,s,o,n,l)=>{if(s===o)return;let i=he(e,t),a=t.toLowerCase();if(t==="class"){const r=e.classList,d=Ce(s);let u=Ce(o);r.remove(...d.filter((c=>c&&!u.includes(c)))),r.add(...u.filter((c=>c&&!d.includes(c))))}else if(t==="style"){for(const r in s)o&&o[r]!=null||(r.includes("-")?e.style.removeProperty(r):e.style[r]="");for(const r in o)s&&o[r]===s[r]||(r.includes("-")?e.style.setProperty(r,o[r]):e.style[r]=o[r])}else if(t!=="key"){if(t==="ref")o&&et(o,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const r=t.slice(5);let d;{const u=E(e);if(u&&u.o&&u.o.t){const c=u.o.t[r];c&&c[1]&&(d=c[1])}}return d||(d=r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(o==null||o===!1?o===!1&&e.getAttribute(d)!==""||e.removeAttribute(d):e.setAttribute(d,o===!0?"":o))}if(t[0]==="p"&&t.startsWith("prop:")){const r=t.slice(5);try{e[r]=o}catch{}return}{const r=re(o);if((i||r&&o!==null)&&!n)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const u=o??"";t==="list"?i=!1:s!=null&&e[t]===u||(typeof e.__lookupSetter__(t)=="function"?e[t]=u:e.setAttribute(t,u))}}catch{}let d=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,d=!0),o==null||o===!1?o===!1&&e.getAttribute(t)!==""||(d?e.removeAttributeNS(pe,t):e.removeAttribute(t)):(!i||4&l||n)&&!r&&e.nodeType===1&&(o=o===!0?"":o,d?e.setAttributeNS(pe,t,o):e.setAttribute(t,o))}}else if(t=t[2]==="-"?t.slice(3):he(b,a)?a.slice(2):a[2]+t.slice(3),s||o){const r=t.endsWith(xe);t=t.replace(Xe,""),s&&O.rel(e,t,s,r),o&&O.ael(e,t,o,r)}}},Qe=/\s/,Ce=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(Qe):[]),xe="Capture",Xe=new RegExp(xe+"$"),ie=(e,t,s)=>{const o=t.S.nodeType===11&&t.S.host?t.S.host:t.S,n=e&&e.v||{},l=t.v||{};for(const i of $e(Object.keys(n)))i in l||Oe(o,i,n[i],void 0,s,t.i);for(const i of $e(Object.keys(l)))Oe(o,i,n[i],l[i],s,t.i)};function $e(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var F=!1,I=!1,Y=!1,C=!1,ae=[],ce=[],Z=(e,t,s)=>{var o;const n=t.m[s];let l,i,a,r=0;if(F||(Y=!0,n.O==="slot"&&(n.i|=n.m?2:1)),n.h!=null)l=n.S=b.document.createTextNode(n.h);else if(1&n.i)l=n.S=b.document.createTextNode(""),ie(null,n,C);else{if(C||(C=n.O==="svg"),!b.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=n.S=b.document.createElementNS(C?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!F&&2&n.i?"slot-fb":n.O),C&&n.O==="foreignObject"&&(C=!1),ie(null,n,C),n.m){const d=n.O==="template"?l.content:l;for(r=0;r<n.m.length;++r)i=Z(e,n,r),i&&d.appendChild(i)}n.O==="svg"?C=!1:l.tagName==="foreignObject"&&(C=!0)}return l["s-hn"]=P,3&n.i&&(l["s-sr"]=!0,l["s-cr"]=le,l["s-sn"]=n.j||"",l["s-rf"]=(o=n.v)==null?void 0:o.ref,(function(d){if(d.assignedElements||d.assignedNodes||!d["s-sr"])return;const u=c=>(function(h){const y=[],f=this["s-sn"];h?.flatten&&console.error(`
1
+ (function(R,L){typeof exports=="object"&&typeof module<"u"?L(exports):typeof define=="function"&&define.amd?define(["exports"],L):(R=typeof globalThis<"u"?globalThis:R||self,L(R.gidsCoreWebGidsOverflowContainer={}))})(this,(function(R){"use strict";function L(e,t,s){const o=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==o;){const n=Object.getOwnPropertyDescriptor(e,t);if(n&&(!s||n.get))return n;e=Object.getPrototypeOf(e)}}var F,Ge=(e,t)=>{var s;Object.entries((s=t.o.t)!=null?s:{}).map((([o,[n]])=>{if(31&n||32&n){const l=e[o],i=L(Object.getPrototypeOf(e),o,!0)||Object.getOwnPropertyDescriptor(e,o);i&&Object.defineProperty(e,o,{get(){return i.get.call(this)},set(a){i.set.call(this,a)},configurable:!0,enumerable:!0}),t.l.has(o)?e[o]=t.l.get(o):l!==void 0&&(e[o]=l)}}))},j=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},he=(e,t)=>t in e,H=(e,t)=>(0,console.error)(e,t),U=new Map,pe="http://www.w3.org/1999/xlink",Ve=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],_=typeof window<"u"?window:{},Ue=_.HTMLElement||class{},O={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,o)=>e.addEventListener(t,s,o),rel:(e,t,s,o)=>e.removeEventListener(t,s,o),ce:(e,t)=>new CustomEvent(e,t)},Q=(()=>{try{return!!_.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),X=!!Q&&!!_.document&&Object.getOwnPropertyDescriptor(_.document.adoptedStyleSheets,"length").writable,ee=!1,me=[],ye=[],qe=(e,t)=>s=>{e.push(s),ee||(ee=!0,4&O.i?oe(te):O.raf(te))},ge=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){H(s)}e.length=0},te=()=>{ge(me),ge(ye),(ee=me.length>0)&&O.raf(te)},oe=e=>Promise.resolve(void 0).then(e),ze=qe(ye);function Ie(){const e=this.attachShadow({mode:"open"});F===void 0&&(F=null),F&&(X?e.adoptedStyleSheets.push(F):e.adoptedStyleSheets=[...e.adoptedStyleSheets,F])}var ve=e=>{const t=ne(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&se(t,e.tagName).forEach((o=>{o.nodeType===1&&o.tagName==="SLOT-FB"&&(o.hidden=!!Ye(o,B(o),!1).length)}));let s=0;for(s=0;s<t.length;s++){const o=t[s];o.nodeType===1&&ne(o,"childNodes").length&&ve(o)}};function se(e,t,s){let o,n=0,l=[];for(;n<e.length;n++){if(o=e[n],o["s-sr"]&&(!t||o["s-hn"]===t)&&(s===void 0||B(o)===s)&&(l.push(o),s!==void 0))return l;l=[...l,...se(o.childNodes,t,s)]}return l}var Ye=(e,t,s=!0)=>{const o=[];(s&&e["s-sr"]||!e["s-sr"])&&o.push(e);let n=e;for(;n=n.nextSibling;)B(n)!==t||!s&&n["s-sr"]||o.push(n);return o},Se=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",B=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function ne(e,t){if("__"+t in e){const s=e["__"+t];return typeof s!="function"?s:s.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var le,P,T=new WeakMap,be=e=>"sc-"+e.p,re=e=>(e=typeof e)=="object"||e==="function",q=(e,t,...s)=>{let o=null,n=null,l=null,i=!1,a=!1;const r=[],d=c=>{for(let u=0;u<c.length;u++)o=c[u],Array.isArray(o)?d(o):o!=null&&typeof o!="boolean"&&((i=typeof e!="function"&&!re(o))&&(o=String(o)),i&&a?r[r.length-1].h+=o:r.push(i?z(null,o):o),a=i)};if(d(s),t){t.key&&(n=t.key),t.name&&(l=t.name);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter((u=>c[u])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,r,Je);const f=z(e,null);return f.v=t,r.length>0&&(f.m=r),f.$=n,f.j=l,f},z=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),Ze={},Je={forEach:(e,t)=>e.map(we).forEach(t),map:(e,t)=>e.map(we).map(t).map(Ke)},we=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),Ke=e=>{if(typeof e.vtag=="function"){const s={...e.vattrs};return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),q(e.vtag,s,...e.vchildren||[])}const t=z(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},_e=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let s=!1;for(const n of t){if(s)break;for(const l of e[n])if(typeof l=="string"){s=!0;break}}if(!s)return e;const o={};for(const n of t)o[n]=e[n].map((l=>typeof l=="string"?{[l]:0}:l));return o},Ne=(e,t,s)=>e==null||re(e)?e:4&t?(s&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,Qe=(e,t,s)=>{const o=O.ce(t,s);return e.dispatchEvent(o),o},Oe=(e,t,s,o,n,l)=>{if(s===o)return;let i=he(e,t),a=t.toLowerCase();if(t==="class"){const r=e.classList,d=Ce(s);let f=Ce(o);r.remove(...d.filter((c=>c&&!f.includes(c)))),r.add(...f.filter((c=>c&&!d.includes(c))))}else if(t==="style"){for(const r in s)o&&o[r]!=null||(r.includes("-")?e.style.removeProperty(r):e.style[r]="");for(const r in o)s&&o[r]===s[r]||(r.includes("-")?e.style.setProperty(r,o[r]):e.style[r]=o[r])}else if(t!=="key"){if(t==="ref")o&&tt(o,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const r=t.slice(5);let d;{const f=j(e);if(f&&f.o&&f.o.t){const c=f.o.t[r];c&&c[1]&&(d=c[1])}}return d||(d=r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(o==null||o===!1?o===!1&&e.getAttribute(d)!==""||e.removeAttribute(d):e.setAttribute(d,o===!0?"":o))}if(t[0]==="p"&&t.startsWith("prop:")){const r=t.slice(5);try{e[r]=o}catch{}return}{const r=re(o);if((i||r&&o!==null)&&!n)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const f=o??"";t==="list"?i=!1:s!=null&&e[t]===f||(typeof e.__lookupSetter__(t)=="function"?e[t]=f:e.setAttribute(t,f))}}catch{}let d=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,d=!0),o==null||o===!1?o===!1&&e.getAttribute(t)!==""||(d?e.removeAttributeNS(pe,t):e.removeAttribute(t)):(!i||4&l||n)&&!r&&e.nodeType===1&&(o=o===!0?"":o,d?e.setAttributeNS(pe,t,o):e.setAttribute(t,o))}}else if(t=t[2]==="-"?t.slice(3):he(_,a)?a.slice(2):a[2]+t.slice(3),s||o){const r=t.endsWith(ke);t=t.replace(et,""),s&&O.rel(e,t,s,r),o&&O.ael(e,t,o,r)}}},Xe=/\s/,Ce=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(Xe):[]),ke="Capture",et=new RegExp(ke+"$"),ie=(e,t,s)=>{const o=t.S.nodeType===11&&t.S.host?t.S.host:t.S,n=e&&e.v||{},l=t.v||{};for(const i of xe(Object.keys(n)))i in l||Oe(o,i,n[i],void 0,s,t.i);for(const i of xe(Object.keys(l)))Oe(o,i,n[i],l[i],s,t.i)};function xe(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var W=!1,I=!1,Y=!1,C=!1,ae=[],ce=[],Z=(e,t,s)=>{var o;const n=t.m[s];let l,i,a,r=0;if(W||(Y=!0,n.O==="slot"&&(n.i|=n.m?2:1)),n.h!=null)l=n.S=_.document.createTextNode(n.h);else if(1&n.i)l=n.S=_.document.createTextNode(""),ie(null,n,C);else{if(C||(C=n.O==="svg"),!_.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=n.S=_.document.createElementNS(C?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!W&&2&n.i?"slot-fb":n.O),C&&n.O==="foreignObject"&&(C=!1),ie(null,n,C),n.m){const d=n.O==="template"?l.content:l;for(r=0;r<n.m.length;++r)i=Z(e,n,r),i&&d.appendChild(i)}n.O==="svg"?C=!1:l.tagName==="foreignObject"&&(C=!0)}return l["s-hn"]=P,3&n.i&&(l["s-sr"]=!0,l["s-cr"]=le,l["s-sn"]=n.j||"",l["s-rf"]=(o=n.v)==null?void 0:o.ref,(function(d){if(d.assignedElements||d.assignedNodes||!d["s-sr"])return;const f=c=>(function(u){const m=[],h=this["s-sn"];u?.flatten&&console.error(`
2
2
  Flattening is not supported for Stencil non-shadow slots.
3
3
  You can use \`.childNodes\` to nested slot fallback content.
4
4
  If you have a particular use case, please open an issue on the Stencil repo.
5
- `);const w=this["s-cr"].parentElement;return(w.__childNodes?w.childNodes:(v=>{const g=[];for(let m=0;m<v.length;m++){const p=v[m]["s-nr"]||void 0;p&&p.isConnected&&g.push(p)}return g})(w.childNodes)).forEach((v=>{f===B(v)&&y.push(v)})),c?y.filter((v=>v.nodeType===1)):y}).bind(d);d.assignedElements=u(!0),d.assignedNodes=u(!1)})(l),a=e&&e.m&&e.m[s],a&&a.O===n.O&&e.S&&Ae(e.S)),l},Ae=e=>{O.i|=1;const t=e.closest(P.toLowerCase());if(t!=null){const s=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),o=Array.from(e.__childNodes||e.childNodes);for(const n of s?o.reverse():o)n["s-sh"]!=null&&(A(t,n,s??null),n["s-sh"]=void 0,Y=!0)}O.i&=-2},J=(e,t)=>{O.i|=1;const s=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let o=e;for(;o=o.nextSibling;)o&&o["s-sn"]===e["s-sn"]&&o["s-sh"]===P&&s.push(o)}for(let o=s.length-1;o>=0;o--){const n=s[o];n["s-hn"]!==P&&n["s-ol"]&&(A(G(n).parentNode,n,G(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,Y=!0),t&&J(n,t)}O.i&=-2},je=(e,t,s,o,n,l)=>{let i,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===P&&(a=a.shadowRoot),s.O==="template"&&(a=a.content);n<=l;++n)o[n]&&(i=Z(null,s,n),i&&(o[n].S=i,A(a,i,G(t))))},ke=(e,t,s)=>{for(let o=t;o<=s;++o){const n=e[o];if(n){const l=n.S;Te(n),l&&(I=!0,l["s-ol"]?l["s-ol"].remove():J(l,!0),l.remove())}}},K=(e,t,s=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),G=e=>e&&e["s-ol"]||e,M=(e,t,s=!1)=>{const o=t.S=e.S,n=e.m,l=t.m,i=t.O,a=t.h;let r;a==null?(C=i==="svg"||i!=="foreignObject"&&C,i!=="slot"||F||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Ae(t.S.parentElement)),ie(e,t,C),n!==null&&l!==null?((d,u,c,h,y=!1)=>{let f,w,v=0,g=0,m=0,p=0,N=u.length-1,S=u[0],_=u[N],$=h.length-1,x=h[0],j=h[$];const Fe=c.O==="template"?d.content:d;for(;v<=N&&g<=$;)if(S==null)S=u[++v];else if(_==null)_=u[--N];else if(x==null)x=h[++g];else if(j==null)j=h[--$];else if(K(S,x,y))M(S,x,y),S=u[++v],x=h[++g];else if(K(_,j,y))M(_,j,y),_=u[--N],j=h[--$];else if(K(S,j,y))S.O!=="slot"&&j.O!=="slot"||J(S.S.parentNode,!1),M(S,j,y),A(Fe,S.S,_.S.nextSibling),S=u[++v],j=h[--$];else if(K(_,x,y))S.O!=="slot"&&j.O!=="slot"||J(_.S.parentNode,!1),M(_,x,y),A(Fe,_.S,S.S),_=u[--N],x=h[++g];else{for(m=-1,p=v;p<=N;++p)if(u[p]&&u[p].$!==null&&u[p].$===x.$){m=p;break}m>=0?(w=u[m],w.O!==x.O?f=Z(u&&u[g],c,m):(M(w,x,y),u[m]=void 0,f=w.S),x=h[++g]):(f=Z(u&&u[g],c,g),x=h[++g]),f&&A(G(S.S).parentNode,f,G(S.S))}v>N?je(d,h[$+1]==null?null:h[$+1].S,c,h,g,$):g>$&&ke(u,v,N)})(o,n,t,l,s):l!==null?(e.h!==null&&(o.textContent=""),je(o,null,t,l,0,l.length-1)):!s&&n!==null&&ke(n,0,n.length-1),C&&i==="svg"&&(C=!1)):(r=o["s-cr"])?r.parentNode.textContent=a:e.h!==a&&(o.data=a)},k=[],Ee=e=>{let t,s,o;const n=e.__childNodes||e.childNodes;for(const l of n){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const i=l["s-sn"];for(o=s.length-1;o>=0;o--)if(t=s[o],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(ve(t,i)){let a=k.find((r=>r.k===t));I=!0,t["s-sn"]=t["s-sn"]||i,a?(a.k["s-sh"]=l["s-hn"],a.N=l):(t["s-sh"]=l["s-hn"],k.push({N:l,k:t})),t["s-sr"]&&k.map((r=>{ve(r.k,t["s-sn"])&&(a=k.find((d=>d.k===t)),a&&!r.N&&(r.N=a.N))}))}else k.some((a=>a.k===t))||k.push({k:t})}l.nodeType===1&&Ee(l)}},Te=e=>{e.v&&e.v.ref&&ae.push((()=>e.v.ref(null))),e.m&&e.m.map(Te)},et=(e,t)=>{ce.push((()=>e(t)))},A=(e,t,s,o)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:n}=(function(l,i){var a;if(!(i=i||((a=l["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const r=l["s-sn"]=B(l)||"";return{slotNode:se(ne(i,"childNodes"),i.tagName,r)[0],slotName:r}})(t);return n&&!o&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},tt=(e,t,s=!1)=>{var o,n,l,i,a;const r=e.$hostElement$,d=e.o,u=e.M||U(null,null);var c;const h=(c=t)&&c.O===Ye?t:z(null,null,t);if(P=r.tagName,d._&&(h.v=h.v||{},d._.forEach((([y,f])=>{h.v[f]=r[y]}))),s&&h.v)for(const y of Object.keys(h.v))r.hasAttribute(y)&&!["key","ref","style","class"].includes(y)&&(h.v[y]=r[y]);if(h.O=null,h.i|=4,e.M=h,h.S=u.S=r.shadowRoot||r,F=!(!(1&d.i)||128&d.i),le=r["s-cr"],I=!1,M(u,h,s),O.i|=1,Y){Ee(h.S);for(const y of k){const f=y.k;if(!f["s-ol"]&&b.document){const w=b.document.createTextNode("");w["s-nr"]=f,A(f.parentNode,f["s-ol"]=w,f,s)}}for(const y of k){const f=y.k,w=y.N;if(f.nodeType===1&&s&&(f["s-ih"]=(o=f.hidden)!=null&&o),w){const v=w.parentNode;let g=w.nextSibling;if(g&&g.nodeType===1){let m=(n=f["s-ol"])==null?void 0:n.previousSibling;for(;m;){let p=(l=m["s-nr"])!=null?l:null;if(p&&p["s-sn"]===f["s-sn"]&&v===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===f||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){g=p;break}}m=m.previousSibling}}if((!g&&v!==(f.__parentNode||f.parentNode)||(f.__nextSibling||f.nextSibling)!==g)&&f!==g){if(A(v,f,g,s),f.nodeType===8&&f.nodeValue.startsWith("s-nt-")){const m=b.document.createTextNode(f.nodeValue.replace(/^s-nt-/,""));m["s-hn"]=f["s-hn"],m["s-sn"]=f["s-sn"],m["s-sh"]=f["s-sh"],m["s-sr"]=f["s-sr"],m["s-ol"]=f["s-ol"],m["s-ol"]["s-nr"]=m,A(f.parentNode,m,f,s),f.parentNode.removeChild(f)}f.nodeType===1&&f.tagName!=="SLOT-FB"&&(f.hidden=(i=f["s-ih"])!=null&&i)}f&&typeof w["s-rf"]=="function"&&w["s-rf"](w)}else f.nodeType===1&&(f.hidden=!0)}}if(I&&Se(h.S),O.i&=-2,k.length=0,!F&&!(1&d.i)&&r["s-cr"]){const y=h.S.__childNodes||h.S.childNodes;for(const f of y)if(f["s-hn"]!==P&&!f["s-sh"]){if(s&&f["s-ih"]==null&&(f["s-ih"]=(a=f.hidden)!=null&&a),f.nodeType===1)f.hidden=!0;else if(f.nodeType===3&&f.nodeValue.trim()){const w=b.document.createComment("s-nt-"+f.nodeValue);w["s-sn"]=f["s-sn"],A(f.parentNode,w,f,s),f.parentNode.removeChild(f)}}}le=void 0,ae.forEach((y=>y())),ae.length=0,ce.forEach((y=>y())),ce.length=0},Re=(e,t)=>{if(t&&!e.A&&t["s-p"]){const s=t["s-p"].push(new Promise((o=>e.A=()=>{t["s-p"].splice(s-1,1),o()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Re(e,e.C);const s=()=>ot(e,t);if(!t)return ze(s);queueMicrotask((()=>{s()}))},ot=(e,t)=>{const s=e.$hostElement$,o=s;if(!o)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 n;return n=V(o,t?"componentWillLoad":"componentWillUpdate",void 0,s),n=Pe(n,(()=>V(o,"componentWillRender",void 0,s))),Pe(n,(()=>nt(e,o,t)))},Pe=(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",nt=async(e,t,s)=>{var o;const n=e.$hostElement$,l=n["s-rc"];s&&(i=>{const a=i.o,r=i.$hostElement$,d=a.i,u=((c,h)=>{var y,f,w;const v=we(h),g=q.get(v);if(!b.document)return v;if(c=c.nodeType===11?c:b.document,g)if(typeof g=="string"){let m,p=T.get(c=c.head||c);if(p||T.set(c,p=new Set),!p.has(v)){m=b.document.createElement("style"),m.textContent=g;const N=(y=O.L)!=null?y:(function(){var S,_,$;return($=(_=(S=b.document.head)==null?void 0:S.querySelector('meta[name="csp-nonce"]'))==null?void 0:_.getAttribute("content"))!=null?$:void 0})();if(N!=null&&m.setAttribute("nonce",N),!(1&h.i))if(c.nodeName==="HEAD"){const S=c.querySelectorAll("link[rel=preconnect]"),_=S.length>0?S[S.length-1].nextSibling:c.querySelector("style");c.insertBefore(m,_?.parentNode===c?_:null)}else if("host"in c)if(Q){const S=new((f=c.defaultView)!=null?f:c.ownerDocument.defaultView).CSSStyleSheet;S.replaceSync(g),X?c.adoptedStyleSheets.unshift(S):c.adoptedStyleSheets=[S,...c.adoptedStyleSheets]}else{const S=c.querySelector("style");S?S.textContent=g+S.textContent:c.prepend(m)}else c.append(m);1&h.i&&c.insertBefore(m,null),4&h.i&&(m.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(v)}}else{let m=T.get(c);if(m||T.set(c,m=new Set),!m.has(v)){const p=(w=c.defaultView)!=null?w:c.ownerDocument.defaultView;let N;if(g.constructor===p.CSSStyleSheet)N=g;else{N=new p.CSSStyleSheet;for(let S=0;S<g.cssRules.length;S++)N.insertRule(g.cssRules[S].cssText,S)}X?c.adoptedStyleSheets.push(N):c.adoptedStyleSheets=[...c.adoptedStyleSheets,N],m.add(v)}}return v})(r.shadowRoot?r.shadowRoot:r.getRootNode(),a);10&d&&(r["s-sc"]=u,r.classList.add(u+"-h"))})(e),lt(e,t,n,s),l&&(l.map((i=>i())),n["s-rc"]=void 0);{const i=(o=n["s-p"])!=null?o:[],a=()=>rt(e);i.length===0?a():(Promise.all(i).then(a).catch(a),e.i|=4,i.length=0)}},lt=(e,t,s,o)=>{try{t=t.render(),e.i&=-17,e.i|=2,tt(e,t,o)}catch(n){H(n,e.$hostElement$)}return null},rt=e=>{const t=e.$hostElement$,s=t,o=e.C;V(s,"componentDidRender",void 0,t),64&e.i?V(s,"componentDidUpdate",void 0,t):(e.i|=64,at(t),V(s,"componentDidLoad",void 0,t),e.F(t),o||it()),e.A&&(e.A(),e.A=void 0),512&e.i&&oe((()=>de(e,!1))),e.i&=-517},it=()=>{oe((()=>Ke(b,"appload",{detail:{namespace:"gids-core-web"}})))},V=(e,t,s,o)=>{if(e&&e[t])try{return e[t](s)}catch(n){H(n,o)}},at=e=>e.classList.add("hydrated"),Le=(e,t,s,o)=>{const n=E(e);if(!n)return;const l=e,i=n.l.get(t),a=n.i,r=l;s=Ne(s,o.t[t][0]);const d=Number.isNaN(i)&&Number.isNaN(s);if(s!==i&&!d){if(n.l.set(t,s),o.R){const u=o.R[t];u&&u.map((c=>{try{const[[h,y]]=Object.entries(c);(128&a||1&y)&&(r?r[h](s,i,t):n.T.push((()=>{n.D[h](s,i,t)})))}catch(h){H(h,l)}}))}if(2&a){if(r.componentShouldUpdate&&r.componentShouldUpdate(s,i,t)===!1&&!(16&a))return;16&a||de(n,!1)}}},ct=(e,t)=>{var s,o;const n=e.prototype;{e.watchers&&!t.R&&(t.R=_e(e.watchers)),e.deserializers&&!t.H&&(t.H=e.deserializers),e.serializers&&!t.P&&(t.P=e.serializers);const l=Object.entries((s=t.t)!=null?s:{});l.map((([i,[a]])=>{if(31&a||32&a){const{get:r,set:d}=L(n,i)||{};r&&(t.t[i][0]|=2048),d&&(t.t[i][0]|=4096),Object.defineProperty(n,i,{get(){return r?r.apply(this):(u=i,E(this).l.get(u));var u},configurable:!0,enumerable:!0}),Object.defineProperty(n,i,{set(u){const c=E(this);if(c){if(d)return(32&a?this[i]:c.$hostElement$[i])===void 0&&c.l.get(i)&&(u=c.l.get(i)),d.apply(this,[Ne(u,a)]),void Le(this,i,u=32&a?this[i]:c.$hostElement$[i],t);Le(this,i,u,t)}}})}}));{const i=new Map;n.attributeChangedCallback=function(a,r,d){O.jmp((()=>{var u;const c=i.get(a),h=E(this);if(this.hasOwnProperty(c),n.hasOwnProperty(c)&&typeof this[c]=="number"&&this[c]==d)return;if(c==null){const g=h?.i;if(h&&g&&!(8&g)&&d!==r){const m=this,p=(u=t.R)==null?void 0:u[a];p?.forEach((N=>{const[[S,_]]=Object.entries(N);m[S]!=null&&(128&g||1&_)&&m[S].call(m,d,r,a)}))}return}const y=l.find((([g])=>g===c)),f=y&&4&y[1][0],w=f&&d===null&&this[c]===void 0;f&&(d=d!==null&&d!=="false");const v=Object.getOwnPropertyDescriptor(n,c);w||d==this[c]||v.get&&!v.set||(this[c]=d)}))},e.observedAttributes=Array.from(new Set([...Object.keys((o=t.R)!=null?o:{}),...l.filter((([a,r])=>31&r[0])).map((([a,r])=>{var d;const u=r[1]||a;return i.set(u,a),512&r[0]&&((d=t._)==null||d.push([a,u])),u}))]))}}return e},dt=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.R=_e(e.R),s.H=e.H,s.P=e.P,s._=[];const o=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,i)=>{const a={i:0,$hostElement$:l,o:i,l:new Map,U:new Map};a.W=new Promise((d=>a.F=d)),l["s-p"]=[],l["s-rc"]=[];const r=a;l.__stencil__getHostRef=()=>r,512&i.i&&Ge(l,a)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){if(!E(this))return;this.__hasHostListenerAttached=!0}(l=>{if(!(1&O.i)){const i=E(l);if(!i)return;const a=i.o;if(1&i.i)i?.D||i?.W&&i.W.then((()=>{}));else{i.i|=1,12&a.i&&(r=>{if(!b.document)return;const d=r["s-cr"]=b.document.createComment("");d["s-cn"]=!0,A(r,d,r.firstChild)})(l);{let r=l;for(;r=r.parentNode||r.host;)if(r["s-p"]){Re(i,i.C=r);break}}a.t&&Object.entries(a.t).map((([r,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(l,r)){const u=l[r];delete l[r],l[r]=u}})),(async(r,d,u)=>{let c;try{if(!(32&d.i)&&(d.i|=32,c=r.constructor,customElements.whenDefined(r.localName).then((()=>d.i|=128)),c&&c.style)){let f;typeof c.style=="string"&&(f=c.style);const w=we(u);q.has(w)||((v,g,m)=>{let p=q.get(v);Q&&m?(p=p||new CSSStyleSheet,typeof p=="string"?p=g:p.replaceSync(g)):p=g,q.set(v,p)})(w,f,!!(1&u.i))}const h=d.C,y=()=>de(d,!0);h&&h["s-rc"]?h["s-rc"].push(y):y()}catch(h){H(h,r),d.A&&(d.A(),d.A=void 0),d.F&&d.F(r)}})(l,i,a)}}})(this),o&&o.call(this)},disconnectedCallback(){(async l=>{1&O.i||E(l),T.has(l)&&T.delete(l),l.shadowRoot&&T.has(l.shadowRoot)&&T.delete(l.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ue.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),ct(e,s)}catch(o){return H(o),e}};function yt(e){return e}const D=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let He=!1;D&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(D):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let fe=null;const ue=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{Me()})):void 0,Me=()=>{if(D===void 0)return!1;const e=(()=>{if(D===void 0)return;const t=[];for(let s=0;s<document.styleSheets.length;s++){const o=document.styleSheets.item(s);if(o)try{let n=-1,l=0;for(let i=0;i<o.cssRules.length;i++){const a=o.cssRules.item(i);if(a?.cssText.startsWith("gids-global-styles-start"))n=i;else if(n>-1){if(a?.cssText.startsWith("gids-global-styles-end")){l=i-n+1;break}t.push(a)}}if(n>-1)return{rulesStartIndex:n,originalRulesCount:l,rules:t,styleSheet:o}}catch(n){if(!(n instanceof DOMException))throw n}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return ue!==void 0&&t!==fe&&(fe&&ue.disconnect(),t instanceof Element&&ue.observe(t,{childList:!0,characterData:!0,subtree:!0}),fe=t),D.replaceSync((s=>s.rules.map((o=>o.cssText)).join(""))(e)),(s=>{const{rulesStartIndex:o,originalRulesCount:n,styleSheet:l}=s;for(let i=0;i<n;i++)l.deleteRule(o)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},ft=()=>(He||(He=Me()),D),ut=Object.freeze(Object.defineProperty({__proto__:null,showGidsOverflowContainerBottomShadow:e=>e==="bottom"||e==="top-bottom",showGidsOverflowContainerTopShadow:e=>e==="top"||e==="top-bottom"},Symbol.toStringTag,{value:"Module"})),{showGidsOverflowContainerBottomShadow:De,showGidsOverflowContainerTopShadow:ht}=ut,We=dt(class extends Ve{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.shadowLocation="bottom"}connectedCallback(){const e=ft();e!==void 0&&this._el.shadowRoot?.adoptedStyleSheets.push(e)}componentDidLoad(){this._textArea=this._el.shadowRoot?.querySelector(".gids-overflow-container__text-area"),De(this.shadowLocation)&&this._textArea.scrollHeight>this._textArea.offsetHeight&&this._el.style.setProperty("--gidsOverflowContainer-after-opacity","1")}calculateShadows(){const e=this._textArea.scrollTop<=0?0:this._textArea.scrollTop;this._textArea.scrollTop+this._textArea.offsetHeight>=this._textArea.scrollHeight?this._el.style.setProperty("--gidsOverflowContainer-after-opacity","0"):e!==0?e>0&&(ht(this.shadowLocation)&&this._el.style.setProperty("--gidsOverflowContainer-before-opacity",""+Math.min(e/20,1)),De(this.shadowLocation)&&this._el.style.setProperty("--gidsOverflowContainer-after-opacity",""+Math.min((this._textArea.scrollHeight-(this._textArea.scrollTop+this._textArea.offsetHeight))/20,1))):this._el.style.setProperty("--gidsOverflowContainer-after-opacity","0")}render(){return z("div",{key:"6ec89d7178cf344a3127aa5913df8ff65c523592",class:"gids-overflow-container__text-area",onScroll:this.calculateShadows.bind(this)},z("slot",{key:"0cf9630efe8337aa0c7a239fa5f09ca30d368513"}))}get _el(){return this}},[257,"gids-overflow-container",{shadowLocation:[513,"shadow-location"]}]);function Be(){typeof customElements<"u"&&["gids-overflow-container"].forEach((e=>{e==="gids-overflow-container"&&(customElements.get(e)||customElements.define(e,We))}))}Be();const pt=We,mt=Be;R.GidsOverflowContainer=pt,R.defineCustomElement=mt,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const b=this["s-cr"].parentElement;return(b.__childNodes?b.childNodes:(S=>{const g=[];for(let y=0;y<S.length;y++){const p=S[y]["s-nr"]||void 0;p&&p.isConnected&&g.push(p)}return g})(b.childNodes)).forEach((S=>{h===B(S)&&m.push(S)})),c?m.filter((S=>S.nodeType===1)):m}).bind(d);d.assignedElements=f(!0),d.assignedNodes=f(!1)})(l),a=e&&e.m&&e.m[s],a&&a.O===n.O&&e.S&&$e(e.S)),l},$e=e=>{O.i|=1;const t=e.closest(P.toLowerCase());if(t!=null){const s=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),o=Array.from(e.__childNodes||e.childNodes);for(const n of s?o.reverse():o)n["s-sh"]!=null&&($(t,n,s??null),n["s-sh"]=void 0,Y=!0)}O.i&=-2},J=(e,t)=>{O.i|=1;const s=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let o=e;for(;o=o.nextSibling;)o&&o["s-sn"]===e["s-sn"]&&o["s-sh"]===P&&s.push(o)}for(let o=s.length-1;o>=0;o--){const n=s[o];n["s-hn"]!==P&&n["s-ol"]&&($(G(n).parentNode,n,G(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,Y=!0),t&&J(n,t)}O.i&=-2},Ae=(e,t,s,o,n,l)=>{let i,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===P&&(a=a.shadowRoot),s.O==="template"&&(a=a.content);n<=l;++n)o[n]&&(i=Z(null,s,n),i&&(o[n].S=i,$(a,i,G(t))))},je=(e,t,s)=>{for(let o=t;o<=s;++o){const n=e[o];if(n){const l=n.S;Te(n),l&&(I=!0,l["s-ol"]?l["s-ol"].remove():J(l,!0),l.remove())}}},K=(e,t,s=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),G=e=>e&&e["s-ol"]||e,M=(e,t,s=!1)=>{const o=t.S=e.S,n=e.m,l=t.m,i=t.O,a=t.h;let r;a==null?(C=i==="svg"||i!=="foreignObject"&&C,i!=="slot"||W||e.j!==t.j&&(t.S["s-sn"]=t.j||"",$e(t.S.parentElement)),ie(e,t,C),n!==null&&l!==null?((d,f,c,u,m=!1)=>{let h,b,S=0,g=0,y=0,p=0,N=f.length-1,v=f[0],w=f[N],k=u.length-1,x=u[0],A=u[k];const We=c.O==="template"?d.content:d;for(;S<=N&&g<=k;)if(v==null)v=f[++S];else if(w==null)w=f[--N];else if(x==null)x=u[++g];else if(A==null)A=u[--k];else if(K(v,x,m))M(v,x,m),v=f[++S],x=u[++g];else if(K(w,A,m))M(w,A,m),w=f[--N],A=u[--k];else if(K(v,A,m))v.O!=="slot"&&A.O!=="slot"||J(v.S.parentNode,!1),M(v,A,m),$(We,v.S,w.S.nextSibling),v=f[++S],A=u[--k];else if(K(w,x,m))v.O!=="slot"&&A.O!=="slot"||J(w.S.parentNode,!1),M(w,x,m),$(We,w.S,v.S),w=f[--N],x=u[++g];else{for(y=-1,p=S;p<=N;++p)if(f[p]&&f[p].$!==null&&f[p].$===x.$){y=p;break}y>=0?(b=f[y],b.O!==x.O?h=Z(f&&f[g],c,y):(M(b,x,m),f[y]=void 0,h=b.S),x=u[++g]):(h=Z(f&&f[g],c,g),x=u[++g]),h&&$(G(v.S).parentNode,h,G(v.S))}S>N?Ae(d,u[k+1]==null?null:u[k+1].S,c,u,g,k):g>k&&je(f,S,N)})(o,n,t,l,s):l!==null?(e.h!==null&&(o.textContent=""),Ae(o,null,t,l,0,l.length-1)):!s&&n!==null&&je(n,0,n.length-1),C&&i==="svg"&&(C=!1)):(r=o["s-cr"])?r.parentNode.textContent=a:e.h!==a&&(o.data=a)},E=[],Ee=e=>{let t,s,o;const n=e.__childNodes||e.childNodes;for(const l of n){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const i=l["s-sn"];for(o=s.length-1;o>=0;o--)if(t=s[o],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(Se(t,i)){let a=E.find((r=>r.k===t));I=!0,t["s-sn"]=t["s-sn"]||i,a?(a.k["s-sh"]=l["s-hn"],a.N=l):(t["s-sh"]=l["s-hn"],E.push({N:l,k:t})),t["s-sr"]&&E.map((r=>{Se(r.k,t["s-sn"])&&(a=E.find((d=>d.k===t)),a&&!r.N&&(r.N=a.N))}))}else E.some((a=>a.k===t))||E.push({k:t})}l.nodeType===1&&Ee(l)}},Te=e=>{e.v&&e.v.ref&&ae.push((()=>e.v.ref(null))),e.m&&e.m.map(Te)},tt=(e,t)=>{ce.push((()=>e(t)))},$=(e,t,s,o)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:n}=(function(l,i){var a;if(!(i=i||((a=l["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const r=l["s-sn"]=B(l)||"";return{slotNode:se(ne(i,"childNodes"),i.tagName,r)[0],slotName:r}})(t);return n&&!o&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},ot=(e,t,s=!1)=>{var o,n,l,i,a;const r=e.$hostElement$,d=e.o,f=e.M||z(null,null);var c;const u=(c=t)&&c.O===Ze?t:q(null,null,t);if(P=r.tagName,d.C&&(u.v=u.v||{},d.C.forEach((([m,h])=>{u.v[h]=r[m]}))),s&&u.v)for(const m of Object.keys(u.v))r.hasAttribute(m)&&!["key","ref","style","class"].includes(m)&&(u.v[m]=r[m]);if(u.O=null,u.i|=4,e.M=u,u.S=f.S=r.shadowRoot||r,W=!(!(1&d.i)||128&d.i),le=r["s-cr"],I=!1,M(f,u,s),O.i|=1,Y){Ee(u.S);for(const m of E){const h=m.k;if(!h["s-ol"]&&_.document){const b=_.document.createTextNode("");b["s-nr"]=h,$(h.parentNode,h["s-ol"]=b,h,s)}}for(const m of E){const h=m.k,b=m.N;if(h.nodeType===1&&s&&(h["s-ih"]=(o=h.hidden)!=null&&o),b){const S=b.parentNode;let g=b.nextSibling;if(g&&g.nodeType===1){let y=(n=h["s-ol"])==null?void 0:n.previousSibling;for(;y;){let p=(l=y["s-nr"])!=null?l:null;if(p&&p["s-sn"]===h["s-sn"]&&S===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===h||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){g=p;break}}y=y.previousSibling}}if((!g&&S!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==g)&&h!==g){if($(S,h,g,s),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=_.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=h["s-hn"],y["s-sn"]=h["s-sn"],y["s-sh"]=h["s-sh"],y["s-sr"]=h["s-sr"],y["s-ol"]=h["s-ol"],y["s-ol"]["s-nr"]=y,$(h.parentNode,y,h,s),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(i=h["s-ih"])!=null&&i)}h&&typeof b["s-rf"]=="function"&&b["s-rf"](b)}else h.nodeType===1&&(h.hidden=!0)}}if(I&&ve(u.S),O.i&=-2,E.length=0,!W&&!(1&d.i)&&r["s-cr"]){const m=u.S.__childNodes||u.S.childNodes;for(const h of m)if(h["s-hn"]!==P&&!h["s-sh"]){if(s&&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 b=_.document.createComment("s-nt-"+h.nodeValue);b["s-sn"]=h["s-sn"],$(h.parentNode,b,h,s),h.parentNode.removeChild(h)}}}le=void 0,ae.forEach((m=>m())),ae.length=0,ce.forEach((m=>m())),ce.length=0},Re=(e,t)=>{if(t&&!e.A&&t["s-p"]){const s=t["s-p"].push(new Promise((o=>e.A=()=>{t["s-p"].splice(s-1,1),o()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Re(e,e.R);const s=()=>st(e,t);if(!t)return ze(s);queueMicrotask((()=>{s()}))},st=(e,t)=>{const s=e.$hostElement$,o=s;if(!o)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 n;return n=V(o,t?"componentWillLoad":"componentWillUpdate",void 0,s),n=Pe(n,(()=>V(o,"componentWillRender",void 0,s))),Pe(n,(()=>lt(e,o,t)))},Pe=(e,t)=>nt(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),nt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",lt=async(e,t,s)=>{var o;const n=e.$hostElement$,l=n["s-rc"];s&&(i=>{const a=i.o,r=i.$hostElement$,d=a.i,f=((c,u)=>{var m,h,b;const S=be(u),g=U.get(S);if(!_.document)return S;if(c=c.nodeType===11?c:_.document,g)if(typeof g=="string"){let y,p=T.get(c=c.head||c);if(p||T.set(c,p=new Set),!p.has(S)){y=_.document.createElement("style"),y.textContent=g;const N=(m=O._)!=null?m:(function(){var v,w,k;return(k=(w=(v=_.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:w.getAttribute("content"))!=null?k:void 0})();if(N!=null&&y.setAttribute("nonce",N),!(1&u.i))if(c.nodeName==="HEAD"){const v=c.querySelectorAll("link[rel=preconnect]"),w=v.length>0?v[v.length-1].nextSibling:c.querySelector("style");c.insertBefore(y,w?.parentNode===c?w:null)}else if("host"in c)if(Q){const v=new((h=c.defaultView)!=null?h:c.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(g),X?c.adoptedStyleSheets.unshift(v):c.adoptedStyleSheets=[v,...c.adoptedStyleSheets]}else{const v=c.querySelector("style");v?v.textContent=g+v.textContent:c.prepend(y)}else c.append(y);1&u.i&&c.insertBefore(y,null),4&u.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(S)}}else{let y=T.get(c);if(y||T.set(c,y=new Set),!y.has(S)){const p=(b=c.defaultView)!=null?b:c.ownerDocument.defaultView;let N;if(g.constructor===p.CSSStyleSheet)N=g;else{N=new p.CSSStyleSheet;for(let v=0;v<g.cssRules.length;v++)N.insertRule(g.cssRules[v].cssText,v)}X?c.adoptedStyleSheets.push(N):c.adoptedStyleSheets=[...c.adoptedStyleSheets,N],y.add(S)}}return S})(r.shadowRoot?r.shadowRoot:r.getRootNode(),a);10&d&&(r["s-sc"]=f,r.classList.add(f+"-h"))})(e),rt(e,t,n,s),l&&(l.map((i=>i())),n["s-rc"]=void 0);{const i=(o=n["s-p"])!=null?o:[],a=()=>it(e);i.length===0?a():(Promise.all(i).then(a).catch(a),e.i|=4,i.length=0)}},rt=(e,t,s,o)=>{try{t=t.render(),e.i&=-17,e.i|=2,ot(e,t,o)}catch(n){H(n,e.$hostElement$)}return null},it=e=>{const t=e.$hostElement$,s=t,o=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),o||at()),e.A&&(e.A(),e.A=void 0),512&e.i&&oe((()=>de(e,!1))),e.i&=-517},at=()=>{oe((()=>Qe(_,"appload",{detail:{namespace:"gids-core-web"}})))},V=(e,t,s,o)=>{if(e&&e[t])try{return e[t](s)}catch(n){H(n,o)}},ct=e=>e.classList.add("hydrated"),Le=(e,t,s,o)=>{const n=j(e);if(!n)return;const l=e,i=n.l.get(t),a=n.i,r=l;s=Ne(s,o.t[t][0],!!(64&o.i));const d=Number.isNaN(i)&&Number.isNaN(s);if(s!==i&&!d){if(n.l.set(t,s),o.F){const f=o.F[t];f&&f.map((c=>{try{const[[u,m]]=Object.entries(c);(128&a||1&m)&&(r?r[u](s,i,t):n.T.push((()=>{n.D[u](s,i,t)})))}catch(u){H(u,l)}}))}if(2&a){if(r.componentShouldUpdate&&r.componentShouldUpdate(s,i,t)===!1&&!(16&a))return;16&a||de(n,!1)}}},dt=(e,t,s)=>{var o,n;const l=e.prototype;64&t.i&&1&s&&Ve.forEach((i=>{const a=l[i];Object.defineProperty(l,i,{value(...r){var d;const f=j(this),c=this;c?typeof a=="function"&&a.call(c,...r):(d=f?.H)==null||d.then((u=>{const m=u[i];typeof m=="function"&&m.call(u,...r)}))}})}));{e.watchers&&!t.F&&(t.F=_e(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const i=Object.entries((o=t.t)!=null?o:{});i.map((([a,[r]])=>{if(31&r||32&r){const{get:d,set:f}=L(l,a)||{};d&&(t.t[a][0]|=2048),f&&(t.t[a][0]|=4096),Object.defineProperty(l,a,{get(){return d?d.apply(this):(c=a,j(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(l,a,{set(c){const u=j(this);if(u){if(f)return(32&r?this[a]:u.$hostElement$[a])===void 0&&u.l.get(a)&&(c=u.l.get(a)),f.apply(this,[Ne(c,r,!!(64&t.i))]),void Le(this,a,c=32&r?this[a]:u.$hostElement$[a],t);Le(this,a,c,t)}}})}}));{const a=new Map;l.attributeChangedCallback=function(r,d,f){O.jmp((()=>{var c;const u=a.get(r),m=j(this);if(this.hasOwnProperty(u),l.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==f)return;if(u==null){const y=m?.i;if(m&&y&&!(8&y)&&f!==d){const p=this,N=(c=t.F)==null?void 0:c[r];N?.forEach((v=>{const[[w,k]]=Object.entries(v);p[w]!=null&&(128&y||1&k)&&p[w].call(p,f,d,r)}))}return}const h=i.find((([y])=>y===u)),b=h&&4&h[1][0],S=b&&f===null&&this[u]===void 0;b&&(f=f!==null&&f!=="false");const g=Object.getOwnPropertyDescriptor(l,u);S||f==this[u]||g.get&&!g.set||(this[u]=f)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...i.filter((([r,d])=>31&d[0])).map((([r,d])=>{var f;const c=d[1]||r;return a.set(c,r),512&d[0]&&((f=t.C)==null||f.push([r,c])),c}))]))}}return e},ft=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.F=_e(e.F),s.P=e.P,s.U=e.U,s.C=[];const o=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,i)=>{const a={i:0,$hostElement$:l,o:i,l:new Map,W:new Map};a.H=new Promise((d=>a.L=d)),l["s-p"]=[],l["s-rc"]=[];const r=a;l.__stencil__getHostRef=()=>r,512&i.i&&Ge(l,a)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){if(!j(this))return;this.__hasHostListenerAttached=!0}(l=>{if(!(1&O.i)){const i=j(l);if(!i)return;const a=i.o;if(1&i.i)i?.D||i?.H&&i.H.then((()=>{}));else{i.i|=1,12&a.i&&(r=>{if(!_.document)return;const d=r["s-cr"]=_.document.createComment("");d["s-cn"]=!0,$(r,d,r.firstChild)})(l);{let r=l;for(;r=r.parentNode||r.host;)if(r["s-p"]){Re(i,i.R=r);break}}a.t&&Object.entries(a.t).map((([r,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(l,r)){const f=l[r];delete l[r],l[r]=f}})),(async(r,d,f)=>{let c;try{if(!(32&d.i)&&(d.i|=32,c=r.constructor,customElements.whenDefined(r.localName).then((()=>d.i|=128)),c&&c.style)){let h;typeof c.style=="string"&&(h=c.style);const b=be(f);U.has(b)||((S,g,y)=>{let p=U.get(S);Q&&y?(p=p||new CSSStyleSheet,typeof p=="string"?p=g:p.replaceSync(g)):p=g,U.set(S,p)})(b,h,!!(1&f.i))}const u=d.R,m=()=>de(d,!0);u&&u["s-rc"]?u["s-rc"].push(m):m()}catch(u){H(u,r),d.A&&(d.A(),d.A=void 0),d.L&&d.L(r)}})(l,i,a)}}})(this),o&&o.call(this)},disconnectedCallback(){(async l=>{1&O.i||j(l),T.has(l)&&T.delete(l),l.shadowRoot&&T.has(l.shadowRoot)&&T.delete(l.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ie.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),dt(e,s,3)}catch(o){return H(o),e}};function gt(e){return e}const D=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let He=!1;D&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(D):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let fe=null;const ue=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{Me()})):void 0,Me=()=>{if(D===void 0)return!1;const e=(()=>{if(D===void 0)return;const t=[];for(let s=0;s<document.styleSheets.length;s++){const o=document.styleSheets.item(s);if(o)try{let n=-1,l=0;for(let i=0;i<o.cssRules.length;i++){const a=o.cssRules.item(i);if(a?.cssText.startsWith("gids-global-styles-start"))n=i;else if(n>-1){if(a?.cssText.startsWith("gids-global-styles-end")){l=i-n+1;break}t.push(a)}}if(n>-1)return{rulesStartIndex:n,originalRulesCount:l,rules:t,styleSheet:o}}catch(n){if(!(n instanceof DOMException))throw n}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return ue!==void 0&&t!==fe&&(fe&&ue.disconnect(),t instanceof Element&&ue.observe(t,{childList:!0,characterData:!0,subtree:!0}),fe=t),D.replaceSync((s=>s.rules.map((o=>o.cssText)).join(""))(e)),(s=>{const{rulesStartIndex:o,originalRulesCount:n,styleSheet:l}=s;for(let i=0;i<n;i++)l.deleteRule(o)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},ut=()=>(He||(He=Me()),D),ht=Object.freeze(Object.defineProperty({__proto__:null,showGidsOverflowContainerBottomShadow:e=>e==="bottom"||e==="top-bottom",showGidsOverflowContainerTopShadow:e=>e==="top"||e==="top-bottom"},Symbol.toStringTag,{value:"Module"})),{showGidsOverflowContainerBottomShadow:De,showGidsOverflowContainerTopShadow:pt}=ht,Fe=ft(class extends Ue{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.shadowLocation="bottom"}connectedCallback(){const e=ut();e!==void 0&&this._el.shadowRoot?.adoptedStyleSheets.push(e)}componentDidLoad(){this._textArea=this._el.shadowRoot?.querySelector(".gids-overflow-container__text-area"),De(this.shadowLocation)&&this._textArea.scrollHeight>this._textArea.offsetHeight&&this._el.style.setProperty("--gidsOverflowContainer-after-opacity","1")}calculateShadows(){const e=this._textArea.scrollTop<=0?0:this._textArea.scrollTop;this._textArea.scrollTop+this._textArea.offsetHeight>=this._textArea.scrollHeight?this._el.style.setProperty("--gidsOverflowContainer-after-opacity","0"):e!==0?e>0&&(pt(this.shadowLocation)&&this._el.style.setProperty("--gidsOverflowContainer-before-opacity",""+Math.min(e/20,1)),De(this.shadowLocation)&&this._el.style.setProperty("--gidsOverflowContainer-after-opacity",""+Math.min((this._textArea.scrollHeight-(this._textArea.scrollTop+this._textArea.offsetHeight))/20,1))):this._el.style.setProperty("--gidsOverflowContainer-after-opacity","0")}render(){return q("div",{key:"fbc4a9851c77e92b2261392c6d8f00664f8adb94",class:"gids-overflow-container__text-area",onScroll:this.calculateShadows.bind(this)},q("slot",{key:"a825b7f435064d06a22f751e507c8a765817abec"}))}get _el(){return this}},[257,"gids-overflow-container",{shadowLocation:[513,"shadow-location"]}]);function Be(){typeof customElements<"u"&&["gids-overflow-container"].forEach((e=>{e==="gids-overflow-container"&&(customElements.get(e)||customElements.define(e,Fe))}))}Be();const mt=Fe,yt=Be;R.GidsOverflowContainer=mt,R.defineCustomElement=yt,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})}));