@ganpatiinfo/gids-core-web 21.0.0 → 22.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 (103) hide show
  1. package/dist/gids-header-navigation.js +1 -1
  2. package/dist-bundled/es/gids-action-bar.js +5 -5
  3. package/dist-bundled/es/gids-activity-gauge.js +1 -1
  4. package/dist-bundled/es/gids-advanced-tooltip.js +1 -1
  5. package/dist-bundled/es/gids-bar-chart.js +1 -1
  6. package/dist-bundled/es/gids-calendar-header-panel.js +1 -1
  7. package/dist-bundled/es/gids-calendar-month-list.js +1 -1
  8. package/dist-bundled/es/gids-calendar-year-list.js +1 -1
  9. package/dist-bundled/es/gids-calendar.js +6 -6
  10. package/dist-bundled/es/gids-carousel.js +1 -1
  11. package/dist-bundled/es/gids-chart-legend-item.js +1 -1
  12. package/dist-bundled/es/gids-chart.js +6 -6
  13. package/dist-bundled/es/gids-chevron-button.js +1 -1
  14. package/dist-bundled/es/gids-dot.js +1 -1
  15. package/dist-bundled/es/gids-dropdown-field.js +4 -4
  16. package/dist-bundled/es/gids-dropdown-picker.js +1 -1
  17. package/dist-bundled/es/gids-dropdown.js +1 -1
  18. package/dist-bundled/es/gids-expansion.js +1 -1
  19. package/dist-bundled/es/gids-field.js +1 -1
  20. package/dist-bundled/es/gids-filter.js +1 -1
  21. package/dist-bundled/es/gids-header-navigation-item.js +1 -1
  22. package/dist-bundled/es/gids-header-navigation.js +48 -61
  23. package/dist-bundled/es/gids-icon.js +1 -1
  24. package/dist-bundled/es/gids-input.js +1 -1
  25. package/dist-bundled/es/gids-line-chart.js +1 -1
  26. package/dist-bundled/es/gids-md-table.js +1 -1
  27. package/dist-bundled/es/gids-overlay-provider.js +1 -1
  28. package/dist-bundled/es/gids-password-field.js +4 -4
  29. package/dist-bundled/es/gids-pie-chart.js +1 -1
  30. package/dist-bundled/es/gids-profile-menu-header.js +1 -1
  31. package/dist-bundled/es/gids-profile-menu.js +1 -1
  32. package/dist-bundled/es/gids-profile.js +3 -3
  33. package/dist-bundled/es/gids-sidebar-item.js +1 -1
  34. package/dist-bundled/es/gids-sidebar-menu.js +1 -1
  35. package/dist-bundled/es/gids-sidebar.js +3 -3
  36. package/dist-bundled/es/gids-text-field.js +4 -4
  37. package/dist-bundled/es/gids-transfer-list.js +3 -3
  38. package/dist-bundled/es/{p--kh67-_Z-BBhYy4ZX.js → p--kh67-_Z-B-vf_gng.js} +3 -3
  39. package/dist-bundled/es/{p-B2flLE0s-UXdlvRVr.js → p-B2flLE0s-SMg7vg1a.js} +1 -1
  40. package/dist-bundled/es/{p-BAqWcL0K-DRjKDzoa.js → p-BAqWcL0K-DNkV1R_C.js} +1 -1
  41. package/dist-bundled/es/{p-BCbovLBE-DfkhIEts.js → p-BCbovLBE-CDxKiOtS.js} +1 -1
  42. package/dist-bundled/es/{p-BIxBMTG9-Bs6G0Wvv.js → p-BIxBMTG9-Ctr342ff.js} +2 -2
  43. package/dist-bundled/es/{p-BQT5yy5L-DhdgFXTM.js → p-BQT5yy5L-C1C_zTi-.js} +1 -1
  44. package/dist-bundled/es/{p-B_FEFM5I-WvEFe7I_.js → p-B_FEFM5I-JoBieRfG.js} +1 -1
  45. package/dist-bundled/es/{p-B_St7yaX-Dq9UwiaA.js → p-B_St7yaX-Da4DWjGh.js} +3 -3
  46. package/dist-bundled/es/{p-CAjDiWIc-BieYBjHk.js → p-CAjDiWIc-C9dOa7FT.js} +1 -1
  47. package/dist-bundled/es/{p-CV1-78HB-DGkn3SPO.js → p-CV1-78HB-C0k_l_CT.js} +1 -1
  48. package/dist-bundled/es/{p-D0RJMGGj-DSjGfUhB.js → p-D0RJMGGj-BflZ9l8y.js} +1 -1
  49. package/dist-bundled/es/{p-DKSnGphd-EpxzqjUA.js → p-DKSnGphd-CZSPfB-N.js} +3 -3
  50. package/dist-bundled/es/{p-DLRj-mUX-B_ACFGx6.js → p-DLRj-mUX-BapdQYpI.js} +1 -1
  51. package/dist-bundled/es/{p-DMxvWIj1-DPw-ITMY.js → p-DMxvWIj1-BxbvrlFL.js} +1 -1
  52. package/dist-bundled/es/{p-DZ1ZcTMe-tnPOECry.js → p-DZ1ZcTMe-W8kofPko.js} +1 -1
  53. package/dist-bundled/es/{p-Do_VlNHg-_g7lcvwR.js → p-Do_VlNHg-Ck03dQOR.js} +1 -1
  54. package/dist-bundled/es/{p-DrxfD2yZ-Juydw__6.js → p-DrxfD2yZ-Cetyr3S9.js} +2 -2
  55. package/dist-bundled/es/{p-Ds5IzXj3-BC_F0-JJ.js → p-Ds5IzXj3-B2o0ML2C.js} +2 -2
  56. package/dist-bundled/es/{p-DzOOjiNH-Wm7KbI3O.js → p-DzOOjiNH-CqI4E-mj.js} +1 -1
  57. package/dist-bundled/es/{p-E13ycS5K-D-yK6pqz.js → p-E13ycS5K-BBDydae3.js} +1 -1
  58. package/dist-bundled/es/{p-TfH966_e-tyxLyzL3.js → p-TfH966_e-BzZRV8Rj.js} +4 -4
  59. package/dist-bundled/es/{p-_W77iniK-DZ9pVDuI.js → p-_W77iniK-ChKfEOp3.js} +1 -1
  60. package/dist-bundled/es/{p-bfWlRsx_-B9hzkHIt.js → p-bfWlRsx_-CNZjBYOE.js} +2 -2
  61. package/dist-bundled/es/p-iQRr_fAH-Dvv1n8QD.js +1650 -0
  62. package/dist-bundled/es/{p-kWyyLyT3-DhHcKhR9.js → p-kWyyLyT3-VhX9LNzT.js} +2 -2
  63. package/dist-bundled/es/{p-mv_7K1EM-lPgJqpPI.js → p-mv_7K1EM-U3yKC45e.js} +1 -1
  64. package/dist-bundled/es/{p-tEbUT3n3-CWq8ErgN.js → p-tEbUT3n3-Byef6fQN.js} +2 -2
  65. package/dist-bundled/umd/gids-action-bar.umd.js +3 -3
  66. package/dist-bundled/umd/gids-activity-gauge.umd.js +2 -2
  67. package/dist-bundled/umd/gids-advanced-tooltip.umd.js +2 -2
  68. package/dist-bundled/umd/gids-bar-chart.umd.js +8 -8
  69. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +2 -2
  70. package/dist-bundled/umd/gids-calendar-month-list.umd.js +2 -2
  71. package/dist-bundled/umd/gids-calendar-year-list.umd.js +2 -2
  72. package/dist-bundled/umd/gids-calendar.umd.js +2 -2
  73. package/dist-bundled/umd/gids-carousel.umd.js +2 -2
  74. package/dist-bundled/umd/gids-chart-legend-item.umd.js +2 -2
  75. package/dist-bundled/umd/gids-chart.umd.js +5 -5
  76. package/dist-bundled/umd/gids-chevron-button.umd.js +2 -2
  77. package/dist-bundled/umd/gids-dot.umd.js +2 -2
  78. package/dist-bundled/umd/gids-dropdown-field.umd.js +2 -2
  79. package/dist-bundled/umd/gids-dropdown-picker.umd.js +2 -2
  80. package/dist-bundled/umd/gids-dropdown.umd.js +2 -2
  81. package/dist-bundled/umd/gids-expansion.umd.js +2 -2
  82. package/dist-bundled/umd/gids-field.umd.js +2 -2
  83. package/dist-bundled/umd/gids-filter.umd.js +3 -3
  84. package/dist-bundled/umd/gids-header-navigation-item.umd.js +2 -2
  85. package/dist-bundled/umd/gids-header-navigation.umd.js +2 -2
  86. package/dist-bundled/umd/gids-icon.umd.js +2 -2
  87. package/dist-bundled/umd/gids-input.umd.js +2 -2
  88. package/dist-bundled/umd/gids-line-chart.umd.js +2 -2
  89. package/dist-bundled/umd/gids-md-table.umd.js +2 -2
  90. package/dist-bundled/umd/gids-overlay-provider.umd.js +2 -2
  91. package/dist-bundled/umd/gids-password-field.umd.js +2 -2
  92. package/dist-bundled/umd/gids-pie-chart.umd.js +2 -2
  93. package/dist-bundled/umd/gids-profile-menu-header.umd.js +2 -2
  94. package/dist-bundled/umd/gids-profile-menu.umd.js +2 -2
  95. package/dist-bundled/umd/gids-profile.umd.js +2 -2
  96. package/dist-bundled/umd/gids-sidebar-item.umd.js +2 -2
  97. package/dist-bundled/umd/gids-sidebar-menu.umd.js +2 -2
  98. package/dist-bundled/umd/gids-sidebar.umd.js +2 -2
  99. package/dist-bundled/umd/gids-text-field.umd.js +2 -2
  100. package/dist-bundled/umd/gids-transfer-list.umd.js +2 -2
  101. package/dist-bundled/umd-complete/gids-core-web.umd.js +4 -4
  102. package/package.json +5 -5
  103. package/dist-bundled/es/p-iQRr_fAH-ClfWEu03.js +0 -198
@@ -1,5 +1,5 @@
1
- (function(X,oe){typeof exports=="object"&&typeof module<"u"?oe(exports):typeof define=="function"&&define.amd?define(["exports"],oe):(X=typeof globalThis<"u"?globalThis:X||self,oe(X.gidsCoreWebGidsLineChart={}))})(this,(function(X){"use strict";function oe(e,t,i){const n=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==n;){const s=Object.getOwnPropertyDescriptor(e,t);if(s&&(!i||s.get))return s;e=Object.getPrototypeOf(e)}}var fe,Nn=(e,t)=>{var i;Object.entries((i=t.o.t)!=null?i:{}).map((([n,[s]])=>{if(31&s||32&s){const o=e[n],r=oe(Object.getPrototypeOf(e),n,!0)||Object.getOwnPropertyDescriptor(e,n);r&&Object.defineProperty(e,n,{get(){return r.get.call(this)},set(a){r.set.call(this,a)},configurable:!0,enumerable:!0}),t.l.has(n)?e[n]=t.l.get(n):o!==void 0&&(e[n]=o)}}))},V=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},_t=(e,t)=>t in e,Y=(e,t)=>(0,console.error)(e,t),Ce=new Map,St="http://www.w3.org/1999/xlink",$n=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],O=typeof window<"u"?window:{},ue=O.HTMLElement||class{},k={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,i,n)=>e.addEventListener(t,i,n),rel:(e,t,i,n)=>e.removeEventListener(t,i,n),ce:(e,t)=>new CustomEvent(e,t)},Pn=(()=>{var e;let t=!1;try{(e=O.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),Be=(()=>{try{return!!O.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),We=!!Be&&!!O.document&&Object.getOwnPropertyDescriptor(O.document.adoptedStyleSheets,"length").writable,Ge=!1,Ct=[],Ot=[],Rn=(e,t)=>i=>{e.push(i),Ge||(Ge=!0,4&k.i?Ue(He):k.raf(He))},At=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(i){Y(i)}e.length=0},He=()=>{At(Ct),At(Ot),(Ge=Ct.length>0)&&k.raf(He)},Ue=e=>Promise.resolve(void 0).then(e),Tn=Rn(Ot);function Ln(){const e=this.attachShadow({mode:"open"});fe===void 0&&(fe=null),fe&&(We?e.adoptedStyleSheets.push(fe):e.adoptedStyleSheets=[...e.adoptedStyleSheets,fe])}var kt=e=>{const t=Xe(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&qe(t,e.tagName).forEach((n=>{n.nodeType===1&&n.tagName==="SLOT-FB"&&(n.hidden=!!Dn(n,ge(n),!1).length)}));let i=0;for(i=0;i<t.length;i++){const n=t[i];n.nodeType===1&&Xe(n,"childNodes").length&&kt(n)}};function qe(e,t,i){let n,s=0,o=[];for(;s<e.length;s++){if(n=e[s],n["s-sr"]&&(!t||n["s-hn"]===t)&&(i===void 0||ge(n)===i)&&(o.push(n),i!==void 0))return o;o=[...o,...qe(n.childNodes,t,i)]}return o}var Dn=(e,t,i=!0)=>{const n=[];(i&&e["s-sr"]||!e["s-sr"])&&n.push(e);let s=e;for(;s=s.nextSibling;)ge(s)!==t||!i&&s["s-sr"]||n.push(s);return n},Et=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",ge=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function Xe(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 Ye,K,G=new WeakMap,Nt=e=>"sc-"+e.p,Ke=e=>(e=typeof e)=="object"||e==="function",x=(e,t,...i)=>{let n=null,s=null,o=null,r=!1,a=!1;const l=[],h=d=>{for(let c=0;c<d.length;c++)n=d[c],Array.isArray(n)?h(n):n!=null&&typeof n!="boolean"&&((r=typeof e!="function"&&!Ke(n))&&(n=String(n)),r&&a?l[l.length-1].h+=n:l.push(r?Oe(null,n):n),a=r)};if(h(i),t){t.key&&(s=t.key),t.name&&(o=t.name);{const d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter((c=>d[c])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,l,jn);const g=Oe(e,null);return g.v=t,l.length>0&&(g.m=l),g.$=s,g.j=o,g},Oe=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),$t={},jn={forEach:(e,t)=>e.map(Pt).forEach(t),map:(e,t)=>e.map(Pt).map(t).map(Mn)},Pt=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),Mn=e=>{if(typeof e.vtag=="function"){const i={...e.vattrs};return e.vkey&&(i.key=e.vkey),e.vname&&(i.name=e.vname),x(e.vtag,i,...e.vchildren||[])}const t=Oe(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Rt=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let i=!1;for(const s of t){if(i)break;for(const o of e[s])if(typeof o=="string"){i=!0;break}}if(!i)return e;const n={};for(const s of t)n[s]=e[s].map((o=>typeof o=="string"?{[o]:0}:o));return n},Tt=(e,t,i)=>e==null||Ke(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,zn=(e,t,i)=>{const n=k.ce(t,i);return e.dispatchEvent(n),n},Lt=(e,t,i,n,s,o)=>{if(i===n)return;let r=_t(e,t),a=t.toLowerCase();if(t==="class"){const l=e.classList,h=Dt(i);let g=Dt(n);l.remove(...h.filter((d=>d&&!g.includes(d)))),l.add(...g.filter((d=>d&&!h.includes(d))))}else if(t==="style"){for(const l in i)n&&n[l]!=null||(l.includes("-")?e.style.removeProperty(l):e.style[l]="");for(const l in n)i&&n[l]===i[l]||(l.includes("-")?e.style.setProperty(l,n[l]):e.style[l]=n[l])}else if(t!=="key"){if(t==="ref")n&&Fn(n,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 h;{const g=V(e);if(g&&g.o&&g.o.t){const d=g.o.t[l];d&&d[1]&&(h=d[1])}}return h||(h=l.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(n==null||n===!1?n===!1&&e.getAttribute(h)!==""||e.removeAttribute(h):e.setAttribute(h,n===!0?"":n))}if(t[0]==="p"&&t.startsWith("prop:")){const l=t.slice(5);try{e[l]=n}catch{}return}{const l=Ke(n);if((r||l&&n!==null)&&!s)try{if(e.tagName.includes("-"))e[t]!==n&&(e[t]=n);else{const g=n??"";t==="list"?r=!1:i!=null&&e[t]===g||(typeof e.__lookupSetter__(t)=="function"?e[t]=g:e.setAttribute(t,g))}}catch{}let h=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,h=!0),n==null||n===!1?n===!1&&e.getAttribute(t)!==""||(h?e.removeAttributeNS(St,t):e.removeAttribute(t)):(!r||4&o||s)&&!l&&e.nodeType===1&&(n=n===!0?"":n,h?e.setAttributeNS(St,t,n):e.setAttribute(t,n))}}else if(t=t[2]==="-"?t.slice(3):_t(O,a)?a.slice(2):a[2]+t.slice(3),i||n){const l=t.endsWith(jt);t=t.replace(Vn,""),i&&k.rel(e,t,i,l),n&&k.ael(e,t,n,l)}}},In=/\s/,Dt=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(In):[]),jt="Capture",Vn=new RegExp(jt+"$"),Ze=(e,t,i)=>{const n=t.S.nodeType===11&&t.S.host?t.S.host:t.S,s=e&&e.v||{},o=t.v||{};for(const r of Mt(Object.keys(s)))r in o||Lt(n,r,s[r],void 0,i,t.i);for(const r of Mt(Object.keys(o)))Lt(n,r,s[r],o[r],i,t.i)};function Mt(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var pe=!1,Ae=!1,ke=!1,$=!1,Je=[],Qe=[],Ee=(e,t,i)=>{var n;const s=t.m[i];let o,r,a,l=0;if(pe||(ke=!0,s.O==="slot"&&(s.i|=s.m?2:1)),s.h!=null)o=s.S=O.document.createTextNode(s.h);else if(1&s.i)o=s.S=O.document.createTextNode(""),Ze(null,s,$);else{if($||($=s.O==="svg"),!O.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(o=s.S=O.document.createElementNS($?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!pe&&2&s.i?"slot-fb":s.O),$&&s.O==="foreignObject"&&($=!1),Ze(null,s,$),s.m){const h=s.O==="template"?o.content:o;for(l=0;l<s.m.length;++l)r=Ee(e,s,l),r&&h.appendChild(r)}s.O==="svg"?$=!1:o.tagName==="foreignObject"&&($=!0)}return o["s-hn"]=K,3&s.i&&(o["s-sr"]=!0,o["s-cr"]=Ye,o["s-sn"]=s.j||"",o["s-rf"]=(n=s.v)==null?void 0:n.ref,(function(h){if(h.assignedElements||h.assignedNodes||!h["s-sr"])return;const g=d=>(function(c){const u=[],f=this["s-sn"];c?.flatten&&console.error(`
1
+ (function(X,se){typeof exports=="object"&&typeof module<"u"?se(exports):typeof define=="function"&&define.amd?define(["exports"],se):(X=typeof globalThis<"u"?globalThis:X||self,se(X.gidsCoreWebGidsLineChart={}))})(this,(function(X){"use strict";function se(e,t,o){const i=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==i;){const r=Object.getOwnPropertyDescriptor(e,t);if(r&&(!o||r.get))return r;e=Object.getPrototypeOf(e)}}var ue,Ei=(e,t)=>{var o;Object.entries((o=t.o.t)!=null?o:{}).map((([i,[r]])=>{if(31&r||32&r){const s=e[i],n=se(Object.getPrototypeOf(e),i,!0)||Object.getOwnPropertyDescriptor(e,i);n&&Object.defineProperty(e,i,{get(){return n.get.call(this)},set(a){n.set.call(this,a)},configurable:!0,enumerable:!0}),t.l.has(i)?e[i]=t.l.get(i):s!==void 0&&(e[i]=s)}}))},I=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},kt=(e,t)=>t in e,Y=(e,t)=>(0,console.error)(e,t),Se=new Map,_t="http://www.w3.org/1999/xlink",Ni=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],C=typeof window<"u"?window:{},pe=C.HTMLElement||class{},A={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,o,i)=>e.addEventListener(t,o,i),rel:(e,t,o,i)=>e.removeEventListener(t,o,i),ce:(e,t)=>new CustomEvent(e,t)},$i=(()=>{var e;let t=!1;try{(e=C.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),Fe=(()=>{try{return!!C.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),Be=!!Fe&&!!C.document&&Object.getOwnPropertyDescriptor(C.document.adoptedStyleSheets,"length").writable,We=!1,St=[],Ct=[],Pi=(e,t)=>o=>{e.push(o),We||(We=!0,4&A.i?He(Ge):A.raf(Ge))},Ot=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(o){Y(o)}e.length=0},Ge=()=>{Ot(St),Ot(Ct),(We=St.length>0)&&A.raf(Ge)},He=e=>Promise.resolve(void 0).then(e),Ri=Pi(Ct);function Ti(){const e=this.attachShadow({mode:"open"});ue===void 0&&(ue=null),ue&&(Be?e.adoptedStyleSheets.push(ue):e.adoptedStyleSheets=[...e.adoptedStyleSheets,ue])}var At=e=>{const t=Xe(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&Ue(t,e.tagName).forEach((i=>{i.nodeType===1&&i.tagName==="SLOT-FB"&&(i.hidden=!!Li(i,ge(i),!1).length)}));let o=0;for(o=0;o<t.length;o++){const i=t[o];i.nodeType===1&&Xe(i,"childNodes").length&&At(i)}};function Ue(e,t,o){let i,r=0,s=[];for(;r<e.length;r++){if(i=e[r],i["s-sr"]&&(!t||i["s-hn"]===t)&&(o===void 0||ge(i)===o)&&(s.push(i),o!==void 0))return s;s=[...s,...Ue(i.childNodes,t,o)]}return s}var Li=(e,t,o=!0)=>{const i=[];(o&&e["s-sr"]||!e["s-sr"])&&i.push(e);let r=e;for(;r=r.nextSibling;)ge(r)!==t||!o&&r["s-sr"]||i.push(r);return i},Et=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",ge=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function Xe(e,t){if("__"+t in e){const o=e["__"+t];return typeof o!="function"?o:o.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var Ye,K,W=new WeakMap,Nt=e=>"sc-"+e.p,Ke=e=>(e=typeof e)=="object"||e==="function",w=(e,t,...o)=>{let i=null,r=null,s=null,n=!1,a=!1;const l=[],h=d=>{for(let c=0;c<d.length;c++)i=d[c],Array.isArray(i)?h(i):i!=null&&typeof i!="boolean"&&((n=typeof e!="function"&&!Ke(i))&&(i=String(i)),n&&a?l[l.length-1].h+=i:l.push(n?Ce(null,i):i),a=n)};if(h(o),t){t.key&&(r=t.key),t.name&&(s=t.name);{const d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter((c=>d[c])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,l,zi);const g=Ce(e,null);return g.v=t,l.length>0&&(g.m=l),g.$=r,g.j=s,g},Ce=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),$t={},zi={forEach:(e,t)=>e.map(Pt).forEach(t),map:(e,t)=>e.map(Pt).map(t).map(ji)},Pt=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),ji=e=>{if(typeof e.vtag=="function"){const o={...e.vattrs};return e.vkey&&(o.key=e.vkey),e.vname&&(o.name=e.vname),w(e.vtag,o,...e.vchildren||[])}const t=Ce(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Rt=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let o=!1;for(const r of t){if(o)break;for(const s of e[r])if(typeof s=="string"){o=!0;break}}if(!o)return e;const i={};for(const r of t)i[r]=e[r].map((s=>typeof s=="string"?{[s]:0}:s));return i},Tt=(e,t,o)=>e==null||Ke(e)?e:4&t?(o&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,Di=(e,t,o)=>{const i=A.ce(t,o);return e.dispatchEvent(i),i},Lt=(e,t,o,i,r,s)=>{if(o===i)return;let n=kt(e,t),a=t.toLowerCase();if(t==="class"){const l=e.classList,h=zt(o);let g=zt(i);l.remove(...h.filter((d=>d&&!g.includes(d)))),l.add(...g.filter((d=>d&&!h.includes(d))))}else if(t==="style"){for(const l in o)i&&i[l]!=null||(l.includes("-")?e.style.removeProperty(l):e.style[l]="");for(const l in i)o&&i[l]===o[l]||(l.includes("-")?e.style.setProperty(l,i[l]):e.style[l]=i[l])}else if(t!=="key"){if(t==="ref")i&&Ii(i,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 h;{const g=I(e);if(g&&g.o&&g.o.t){const d=g.o.t[l];d&&d[1]&&(h=d[1])}}return h||(h=l.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(i==null||i===!1?i===!1&&e.getAttribute(h)!==""||e.removeAttribute(h):e.setAttribute(h,i===!0?"":i))}if(t[0]==="p"&&t.startsWith("prop:")){const l=t.slice(5);try{e[l]=i}catch{}return}{const l=Ke(i);if((n||l&&i!==null)&&!r)try{if(e.tagName.includes("-"))e[t]!==i&&(e[t]=i);else{const g=i??"";t==="list"?n=!1:o!=null&&e[t]===g||(typeof e.__lookupSetter__(t)=="function"?e[t]=g:e.setAttribute(t,g))}}catch{}let h=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,h=!0),i==null||i===!1?i===!1&&e.getAttribute(t)!==""||(h?e.removeAttributeNS(_t,t):e.removeAttribute(t)):(!n||4&s||r)&&!l&&e.nodeType===1&&(i=i===!0?"":i,h?e.setAttributeNS(_t,t,i):e.setAttribute(t,i))}}else if(t=t[2]==="-"?t.slice(3):kt(C,a)?a.slice(2):a[2]+t.slice(3),o||i){const l=t.endsWith(jt);t=t.replace(qi,""),o&&A.rel(e,t,o,l),i&&A.ael(e,t,i,l)}}},Mi=/\s/,zt=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(Mi):[]),jt="Capture",qi=new RegExp(jt+"$"),Ze=(e,t,o)=>{const i=t.S.nodeType===11&&t.S.host?t.S.host:t.S,r=e&&e.v||{},s=t.v||{};for(const n of Dt(Object.keys(r)))n in s||Lt(i,n,r[n],void 0,o,t.i);for(const n of Dt(Object.keys(s)))Lt(i,n,r[n],s[n],o,t.i)};function Dt(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var fe=!1,Oe=!1,Ae=!1,$=!1,Je=[],Qe=[],Ee=(e,t,o)=>{var i;const r=t.m[o];let s,n,a,l=0;if(fe||(Ae=!0,r.O==="slot"&&(r.i|=r.m?2:1)),r.h!=null)s=r.S=C.document.createTextNode(r.h);else if(1&r.i)s=r.S=C.document.createTextNode(""),Ze(null,r,$);else{if($||($=r.O==="svg"),!C.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=r.S=C.document.createElementNS($?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!fe&&2&r.i?"slot-fb":r.O),$&&r.O==="foreignObject"&&($=!1),Ze(null,r,$),r.m){const h=r.O==="template"?s.content:s;for(l=0;l<r.m.length;++l)n=Ee(e,r,l),n&&h.appendChild(n)}r.O==="svg"?$=!1:s.tagName==="foreignObject"&&($=!0)}return s["s-hn"]=K,3&r.i&&(s["s-sr"]=!0,s["s-cr"]=Ye,s["s-sn"]=r.j||"",s["s-rf"]=(i=r.v)==null?void 0:i.ref,(function(h){if(h.assignedElements||h.assignedNodes||!h["s-sr"])return;const g=d=>(function(c){const p=[],u=this["s-sn"];c?.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 v=this["s-cr"].parentElement;return(v.__childNodes?v.childNodes:(b=>{const m=[];for(let y=0;y<b.length;y++){const p=b[y]["s-nr"]||void 0;p&&p.isConnected&&m.push(p)}return m})(v.childNodes)).forEach((b=>{f===ge(b)&&u.push(b)})),d?u.filter((b=>b.nodeType===1)):u}).bind(h);h.assignedElements=g(!0),h.assignedNodes=g(!1)})(o),a=e&&e.m&&e.m[i],a&&a.O===s.O&&e.S&&zt(e.S)),o},zt=e=>{k.i|=1;const t=e.closest(K.toLowerCase());if(t!=null){const i=Array.from(t.__childNodes||t.childNodes).find((s=>s["s-cr"])),n=Array.from(e.__childNodes||e.childNodes);for(const s of i?n.reverse():n)s["s-sh"]!=null&&(T(t,s,i??null),s["s-sh"]=void 0,ke=!0)}k.i&=-2},Ne=(e,t)=>{k.i|=1;const i=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let n=e;for(;n=n.nextSibling;)n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===K&&i.push(n)}for(let n=i.length-1;n>=0;n--){const s=i[n];s["s-hn"]!==K&&s["s-ol"]&&(T(me(s).parentNode,s,me(s)),s["s-ol"].remove(),s["s-ol"]=void 0,s["s-sh"]=void 0,ke=!0),t&&Ne(s,t)}k.i&=-2},It=(e,t,i,n,s,o)=>{let r,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===K&&(a=a.shadowRoot),i.O==="template"&&(a=a.content);s<=o;++s)n[s]&&(r=Ee(null,i,s),r&&(n[s].S=r,T(a,r,me(t))))},Vt=(e,t,i)=>{for(let n=t;n<=i;++n){const s=e[n];if(s){const o=s.S;Bt(s),o&&(Ae=!0,o["s-ol"]?o["s-ol"].remove():Ne(o,!0),o.remove())}}},$e=(e,t,i=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:i?(i&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),me=e=>e&&e["s-ol"]||e,re=(e,t,i=!1)=>{const n=t.S=e.S,s=e.m,o=t.m,r=t.O,a=t.h;let l;a==null?($=r==="svg"||r!=="foreignObject"&&$,r!=="slot"||pe||e.j!==t.j&&(t.S["s-sn"]=t.j||"",zt(t.S.parentElement)),Ze(e,t,$),s!==null&&o!==null?((h,g,d,c,u=!1)=>{let f,v,b=0,m=0,y=0,p=0,_=g.length-1,w=g[0],S=g[_],C=c.length-1,A=c[0],E=c[C];const R=d.O==="template"?h.content:h;for(;b<=_&&m<=C;)if(w==null)w=g[++b];else if(S==null)S=g[--_];else if(A==null)A=c[++m];else if(E==null)E=c[--C];else if($e(w,A,u))re(w,A,u),w=g[++b],A=c[++m];else if($e(S,E,u))re(S,E,u),S=g[--_],E=c[--C];else if($e(w,E,u))w.O!=="slot"&&E.O!=="slot"||Ne(w.S.parentNode,!1),re(w,E,u),T(R,w.S,S.S.nextSibling),w=g[++b],E=c[--C];else if($e(S,A,u))w.O!=="slot"&&E.O!=="slot"||Ne(S.S.parentNode,!1),re(S,A,u),T(R,S.S,w.S),S=g[--_],A=c[++m];else{for(y=-1,p=b;p<=_;++p)if(g[p]&&g[p].$!==null&&g[p].$===A.$){y=p;break}y>=0?(v=g[y],v.O!==A.O?f=Ee(g&&g[m],d,y):(re(v,A,u),g[y]=void 0,f=v.S),A=c[++m]):(f=Ee(g&&g[m],d,m),A=c[++m]),f&&T(me(w.S).parentNode,f,me(w.S))}b>_?It(h,c[C+1]==null?null:c[C+1].S,d,c,m,C):m>C&&Vt(g,b,_)})(n,s,t,o,i):o!==null?(e.h!==null&&(n.textContent=""),It(n,null,t,o,0,o.length-1)):!i&&s!==null&&Vt(s,0,s.length-1),$&&r==="svg"&&($=!1)):(l=n["s-cr"])?l.parentNode.textContent=a:e.h!==a&&(n.data=a)},F=[],Ft=e=>{let t,i,n;const s=e.__childNodes||e.childNodes;for(const o of s){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){i=t.parentNode.__childNodes||t.parentNode.childNodes;const r=o["s-sn"];for(n=i.length-1;n>=0;n--)if(t=i[n],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===o["s-hn"]||t["s-sh"]&&t["s-sh"]===o["s-hn"]))if(Et(t,r)){let a=F.find((l=>l.k===t));Ae=!0,t["s-sn"]=t["s-sn"]||r,a?(a.k["s-sh"]=o["s-hn"],a.N=o):(t["s-sh"]=o["s-hn"],F.push({N:o,k:t})),t["s-sr"]&&F.map((l=>{Et(l.k,t["s-sn"])&&(a=F.find((h=>h.k===t)),a&&!l.N&&(l.N=a.N))}))}else F.some((a=>a.k===t))||F.push({k:t})}o.nodeType===1&&Ft(o)}},Bt=e=>{e.v&&e.v.ref&&Je.push((()=>e.v.ref(null))),e.m&&e.m.map(Bt)},Fn=(e,t)=>{Qe.push((()=>e(t)))},T=(e,t,i,n)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,i);const{slotNode:s}=(function(o,r){var a;if(!(r=r||((a=o["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const l=o["s-sn"]=ge(o)||"";return{slotNode:qe(Xe(r,"childNodes"),r.tagName,l)[0],slotName:l}})(t);return s&&!n&&s.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,i):e?.insertBefore(t,i)},Bn=(e,t,i=!1)=>{var n,s,o,r,a;const l=e.$hostElement$,h=e.o,g=e.M||Oe(null,null);var d;const c=(d=t)&&d.O===$t?t:x(null,null,t);if(K=l.tagName,h.C&&(c.v=c.v||{},h.C.forEach((([u,f])=>{c.v[f]=l[u]}))),i&&c.v)for(const u of Object.keys(c.v))l.hasAttribute(u)&&!["key","ref","style","class"].includes(u)&&(c.v[u]=l[u]);if(c.O=null,c.i|=4,e.M=c,c.S=g.S=l.shadowRoot||l,pe=!(!(1&h.i)||128&h.i),Ye=l["s-cr"],Ae=!1,re(g,c,i),k.i|=1,ke){Ft(c.S);for(const u of F){const f=u.k;if(!f["s-ol"]&&O.document){const v=O.document.createTextNode("");v["s-nr"]=f,T(f.parentNode,f["s-ol"]=v,f,i)}}for(const u of F){const f=u.k,v=u.N;if(f.nodeType===1&&i&&(f["s-ih"]=(n=f.hidden)!=null&&n),v){const b=v.parentNode;let m=v.nextSibling;if(m&&m.nodeType===1){let y=(s=f["s-ol"])==null?void 0:s.previousSibling;for(;y;){let p=(o=y["s-nr"])!=null?o:null;if(p&&p["s-sn"]===f["s-sn"]&&b===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===f||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){m=p;break}}y=y.previousSibling}}if((!m&&b!==(f.__parentNode||f.parentNode)||(f.__nextSibling||f.nextSibling)!==m)&&f!==m){if(T(b,f,m,i),f.nodeType===8&&f.nodeValue.startsWith("s-nt-")){const y=O.document.createTextNode(f.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=f["s-hn"],y["s-sn"]=f["s-sn"],y["s-sh"]=f["s-sh"],y["s-sr"]=f["s-sr"],y["s-ol"]=f["s-ol"],y["s-ol"]["s-nr"]=y,T(f.parentNode,y,f,i),f.parentNode.removeChild(f)}f.nodeType===1&&f.tagName!=="SLOT-FB"&&(f.hidden=(r=f["s-ih"])!=null&&r)}f&&typeof v["s-rf"]=="function"&&v["s-rf"](v)}else f.nodeType===1&&(f.hidden=!0)}}if(Ae&&kt(c.S),k.i&=-2,F.length=0,!pe&&!(1&h.i)&&l["s-cr"]){const u=c.S.__childNodes||c.S.childNodes;for(const f of u)if(f["s-hn"]!==K&&!f["s-sh"]){if(i&&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 v=O.document.createComment("s-nt-"+f.nodeValue);v["s-sn"]=f["s-sn"],T(f.parentNode,v,f,i),f.parentNode.removeChild(f)}}}Ye=void 0,Je.forEach((u=>u())),Je.length=0,Qe.forEach((u=>u())),Qe.length=0},Wt=(e,t)=>{if(t&&!e.A&&t["s-p"]){const i=t["s-p"].push(new Promise((n=>e.A=()=>{t["s-p"].splice(i-1,1),n()})))}},et=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Wt(e,e.R);const i=()=>Wn(e,t);if(!t)return Tn(i);queueMicrotask((()=>{i()}))},Wn=(e,t)=>{const i=e.$hostElement$,n=i;if(!n)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 s;return s=ye(n,t?"componentWillLoad":"componentWillUpdate",void 0,i),s=Gt(s,(()=>ye(n,"componentWillRender",void 0,i))),Gt(s,(()=>Hn(e,n,t)))},Gt=(e,t)=>Gn(e)?e.then(t).catch((i=>{console.error(i),t()})):t(),Gn=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Hn=async(e,t,i)=>{var n;const s=e.$hostElement$,o=s["s-rc"];i&&(r=>{const a=r.o,l=r.$hostElement$,h=a.i,g=((d,c)=>{var u,f,v;const b=Nt(c),m=Ce.get(b);if(!O.document)return b;if(d=d.nodeType===11?d:O.document,m)if(typeof m=="string"){let y,p=G.get(d=d.head||d);if(p||G.set(d,p=new Set),!p.has(b)){y=O.document.createElement("style"),y.textContent=m;const _=(u=k._)!=null?u:(function(){var w,S,C;return(C=(S=(w=O.document.head)==null?void 0:w.querySelector('meta[name="csp-nonce"]'))==null?void 0:S.getAttribute("content"))!=null?C:void 0})();if(_!=null&&y.setAttribute("nonce",_),!(1&c.i))if(d.nodeName==="HEAD"){const w=d.querySelectorAll("link[rel=preconnect]"),S=w.length>0?w[w.length-1].nextSibling:d.querySelector("style");d.insertBefore(y,S?.parentNode===d?S:null)}else if("host"in d)if(Be){const w=new((f=d.defaultView)!=null?f:d.ownerDocument.defaultView).CSSStyleSheet;w.replaceSync(m),We?d.adoptedStyleSheets.unshift(w):d.adoptedStyleSheets=[w,...d.adoptedStyleSheets]}else{const w=d.querySelector("style");w?w.textContent=m+w.textContent:d.prepend(y)}else d.append(y);1&c.i&&d.insertBefore(y,null),4&c.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(b)}}else{let y=G.get(d);if(y||G.set(d,y=new Set),!y.has(b)){const p=(v=d.defaultView)!=null?v:d.ownerDocument.defaultView;let _;if(m.constructor===p.CSSStyleSheet)_=m;else{_=new p.CSSStyleSheet;for(let w=0;w<m.cssRules.length;w++)_.insertRule(m.cssRules[w].cssText,w)}We?d.adoptedStyleSheets.push(_):d.adoptedStyleSheets=[...d.adoptedStyleSheets,_],y.add(b)}}return b})(l.shadowRoot?l.shadowRoot:l.getRootNode(),a);10&h&&(l["s-sc"]=g,l.classList.add(g+"-h"))})(e),Un(e,t,s,i),o&&(o.map((r=>r())),s["s-rc"]=void 0);{const r=(n=s["s-p"])!=null?n:[],a=()=>qn(e);r.length===0?a():(Promise.all(r).then(a).catch(a),e.i|=4,r.length=0)}},Un=(e,t,i,n)=>{try{t=t.render(),e.i&=-17,e.i|=2,Bn(e,t,n)}catch(s){Y(s,e.$hostElement$)}return null},qn=e=>{const t=e.$hostElement$,i=t,n=e.R;ye(i,"componentDidRender",void 0,t),64&e.i?ye(i,"componentDidUpdate",void 0,t):(e.i|=64,Yn(t),ye(i,"componentDidLoad",void 0,t),e.L(t),n||Xn()),e.A&&(e.A(),e.A=void 0),512&e.i&&Ue((()=>et(e,!1))),e.i&=-517},Xn=()=>{Ue((()=>zn(O,"appload",{detail:{namespace:"gids-core-web"}})))},ye=(e,t,i,n)=>{if(e&&e[t])try{return e[t](i)}catch(s){Y(s,n)}},Yn=e=>e.classList.add("hydrated"),Ht=(e,t,i,n)=>{const s=V(e);if(!s)return;const o=e,r=s.l.get(t),a=s.i,l=o;i=Tt(i,n.t[t][0],!!(64&n.i));const h=Number.isNaN(r)&&Number.isNaN(i);if(i!==r&&!h){if(s.l.set(t,i),n.F){const g=n.F[t];g&&g.map((d=>{try{const[[c,u]]=Object.entries(d);(128&a||1&u)&&(l?l[c](i,r,t):s.T.push((()=>{s.D[c](i,r,t)})))}catch(c){Y(c,o)}}))}if(2&a){if(l.componentShouldUpdate&&l.componentShouldUpdate(i,r,t)===!1&&!(16&a))return;16&a||et(s,!1)}}},Kn=(e,t,i)=>{var n,s;const o=e.prototype;64&t.i&&1&i&&$n.forEach((r=>{const a=o[r];Object.defineProperty(o,r,{value(...l){var h;const g=V(this),d=this;d?typeof a=="function"&&a.call(d,...l):(h=g?.H)==null||h.then((c=>{const u=c[r];typeof u=="function"&&u.call(c,...l)}))}})}));{e.watchers&&!t.F&&(t.F=Rt(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const r=Object.entries((n=t.t)!=null?n:{});r.map((([a,[l]])=>{if(31&l||32&l){const{get:h,set:g}=oe(o,a)||{};h&&(t.t[a][0]|=2048),g&&(t.t[a][0]|=4096),Object.defineProperty(o,a,{get(){return h?h.apply(this):(d=a,V(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(o,a,{set(d){const c=V(this);if(c){if(g)return(32&l?this[a]:c.$hostElement$[a])===void 0&&c.l.get(a)&&(d=c.l.get(a)),g.apply(this,[Tt(d,l,!!(64&t.i))]),void Ht(this,a,d=32&l?this[a]:c.$hostElement$[a],t);Ht(this,a,d,t)}}})}}));{const a=new Map;o.attributeChangedCallback=function(l,h,g){k.jmp((()=>{var d;const c=a.get(l),u=V(this);if(this.hasOwnProperty(c),o.hasOwnProperty(c)&&typeof this[c]=="number"&&this[c]==g)return;if(c==null){const y=u?.i;if(u&&y&&!(8&y)&&g!==h){const p=this,_=(d=t.F)==null?void 0:d[l];_?.forEach((w=>{const[[S,C]]=Object.entries(w);p[S]!=null&&(128&y||1&C)&&p[S].call(p,g,h,l)}))}return}const f=r.find((([y])=>y===c)),v=f&&4&f[1][0],b=v&&g===null&&this[c]===void 0;v&&(g=g!==null&&g!=="false");const m=Object.getOwnPropertyDescriptor(o,c);b||g==this[c]||m.get&&!m.set||(this[c]=g)}))},e.observedAttributes=Array.from(new Set([...Object.keys((s=t.F)!=null?s:{}),...r.filter((([l,h])=>31&h[0])).map((([l,h])=>{var g;const d=h[1]||l;return a.set(d,l),512&h[0]&&((g=t.C)==null||g.push([l,d])),d}))]))}}return e},Pe=(e,t)=>{const i={i:t[0],p:t[1]};try{i.t=t[2],i.W=t[3],i.F=Rt(e.F),i.P=e.P,i.U=e.U,i.C=[];const n=e.prototype.connectedCallback,s=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((o,r)=>{const a={i:0,$hostElement$:o,o:r,l:new Map,B:new Map};a.H=new Promise((h=>a.L=h)),o["s-p"]=[],o["s-rc"]=[];const l=a;o.__stencil__getHostRef=()=>l,512&r.i&&Nn(o,a)})(this,i)},connectedCallback(){if(!this.__hasHostListenerAttached){const o=V(this);if(!o)return;Ut(this,o,i.W),this.__hasHostListenerAttached=!0}(o=>{if(!(1&k.i)){const r=V(o);if(!r)return;const a=r.o;if(1&r.i)Ut(o,r,a.W),r?.D||r?.H&&r.H.then((()=>{}));else{r.i|=1,12&a.i&&(l=>{if(!O.document)return;const h=l["s-cr"]=O.document.createComment("");h["s-cn"]=!0,T(l,h,l.firstChild)})(o);{let l=o;for(;l=l.parentNode||l.host;)if(l["s-p"]){Wt(r,r.R=l);break}}a.t&&Object.entries(a.t).map((([l,[h]])=>{if(31&h&&Object.prototype.hasOwnProperty.call(o,l)){const g=o[l];delete o[l],o[l]=g}})),(async(l,h,g)=>{let d;try{if(!(32&h.i)&&(h.i|=32,d=l.constructor,customElements.whenDefined(l.localName).then((()=>h.i|=128)),d&&d.style)){let f;typeof d.style=="string"&&(f=d.style);const v=Nt(g);Ce.has(v)||((b,m,y)=>{let p=Ce.get(b);Be&&y?(p=p||new CSSStyleSheet,typeof p=="string"?p=m:p.replaceSync(m)):p=m,Ce.set(b,p)})(v,f,!!(1&g.i))}const c=h.R,u=()=>et(h,!0);c&&c["s-rc"]?c["s-rc"].push(u):u()}catch(c){Y(c,l),h.A&&(h.A(),h.A=void 0),h.L&&h.L(l)}})(o,r,a)}}})(this),n&&n.call(this)},disconnectedCallback(){(async o=>{if(!(1&k.i)){const r=V(o);r?.V&&(r.V.map((a=>a())),r.V=void 0)}G.has(o)&&G.delete(o),o.shadowRoot&&G.has(o.shadowRoot)&&G.delete(o.shadowRoot)})(this),s&&s.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 Ln.call(this,i)}}),Object.defineProperty(e,"is",{value:i.p,configurable:!0}),Kn(e,i,3)}catch(n){return Y(n),e}},Ut=(e,t,i)=>{i&&O.document&&i.map((([n,s,o])=>{const r=Jn(O.document,e,n),a=Zn(t,o),l=Qn(n);k.ael(r,s,a,l),(t.V=t.V||[]).push((()=>k.rel(r,s,a,l)))}))},Zn=(e,t)=>i=>{try{e.$hostElement$[t](i)}catch(n){Y(n,e.$hostElement$)}},Jn=(e,t,i)=>8&i?O:t,Qn=e=>Pn?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Ns(e){return e}function qt(e){var t,i,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(i=qt(e[t]))&&(n&&(n+=" "),n+=i)}else for(i in e)e[i]&&(n&&(n+=" "),n+=i);return n}function Z(){for(var e,t,i=0,n="",s=arguments.length;i<s;i++)(e=arguments[i])&&(t=qt(e))&&(n&&(n+=" "),n+=t);return n}const ei=Object.freeze(Object.defineProperty({__proto__:null,getGidsAdvancedTooltipClassNames:({visible:e},t)=>Z("gids-advanced-tooltip",{"gids-advanced-tooltip--visible":e},t)},Symbol.toStringTag,{value:"Module"})),ti=Object.freeze(Object.defineProperty({__proto__:null,getElementVisibility:e=>{const{label:t,supportingText:i}=e,n=typeof t=="string"&&t.trim().length>0,s=typeof i=="string"&&i.trim().length>0;return{hasLabel:n,hasSupportingText:s}}},Symbol.toStringTag,{value:"Module"})),Re=64,Xt=10,Yt=Re/2-Xt/2,ni=Re/2,tt=2*Math.PI*Yt,ii=`0 0 ${Re} ${Re}`,si=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const i=typeof t=="number"&&t>0?t:1,s=Math.max(0,Math.min(i,e))/i*100,o=(tt*s/100).toFixed(2),r=(tt-parseFloat(o)).toFixed(2);return`${o} ${r}`},centerPosition:ni,circumference:tt,radius:Yt,thickness:Xt,viewBox:ii},Symbol.toStringTag,{value:"Module"})),oi=Object.freeze(Object.defineProperty({__proto__:null,getGidsChartLegendItemClassNames:({seriesType:e,orientation:t},i)=>Z("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"})),ri=Object.freeze(Object.defineProperty({__proto__:null,getGidsChartLegendClassNames:({orientation:e},t)=>Z("gids-chart-legend",{"gids-chart-legend--orientation-vertical":e==="vertical"},t)},Symbol.toStringTag,{value:"Module"})),li=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>Z("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"})),ai=Object.freeze(Object.defineProperty({__proto__:null,getGidsLineChartClassNames:({breakpoint:e},t)=>Z("gids-line-chart",{"gids-line-chart--breakpoint-mobile":e==="mobile"},t)},Symbol.toStringTag,{value:"Module"})),ci=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:i},n)=>Z("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,n)},Symbol.toStringTag,{value:"Module"})),di=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerClassNames:({size:e},t)=>Z("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"})),nt=Symbol("defaultPath"),Kt=Symbol("pathSet"),it="gids-asset-paths-set";class hi extends EventTarget{#n=new Map;constructor(){super()}#e(t,i){this.#n.set(t,i)}#t(t){return this.#n.get(t)??null}#i=()=>{this.dispatchEvent(new Event(it))};haveAssetPathsBeenSet(){return this.#t(Kt)!==null}setAssetPaths(t,i){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(nt,t);else{for(const n in t)this.#e(n,t[n]);i&&this.#e(nt,i)}this.#e(Kt,"true"),setTimeout(this.#i,0)}}getAssetFilePath(t){const i=this.#t(t);if(i===null){const n=this.#t(nt);if(n!==null)return`${n}${n.endsWith("/")?"":"/"}${t}`}return i}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(it,t,{once:!0}),()=>{this.removeEventListener(it,t)}}}const st=Symbol.for("GIDS"),fi=()=>(globalThis[st]===void 0&&(globalThis[st]={assetPaths:{}}),globalThis[st]),ui=e=>{const t=fi().assetPaths;return t[e]===void 0&&(t[e]=new hi),t[e]};function ot(){return ui("@ganpatiinfo/gids-web-shared")}function gi(){return ot().haveAssetPathsBeenSet()}function Zt(e){return ot().getAssetFilePath(e)}function pi(e){return ot().onAssetPathsSet(e)}let mi=0;const yi=(e,t="gids")=>e||`${t}-${mi++}`,{getGidsSpinnerControlClassNames:vi}=ci,{calculateStrokeDasharray:bi,thickness:Jt,radius:Qt,centerPosition:Te,viewBox:xi}=si,wi=({size:e,indeterminate:t,value:i,max:n,...s})=>{let o;return t||(o={strokeDashArray:bi(i,n||0),strokeDashoffset:"0"}),x("svg",{class:vi({size:e,indeterminate:t,value:i}),viewBox:xi,...s},x("circle",{class:"gids-spinner-control__track",cx:Te,cy:Te,r:Qt,"stroke-width":Jt}),x("circle",{style:o,class:"gids-spinner-control__progress",cx:Te,cy:Te,r:Qt,"stroke-width":Jt}))},{getGidsSpinnerClassNames:_i}=di,{getElementVisibility:Si}=ti,Ci=({label:e,supportingText:t,size:i,indeterminate:n,value:s,max:o,class:r,...a})=>{const{hasLabel:l,hasSupportingText:h}=Si({label:e,supportingText:t});return x("span",{class:_i({size:i},r),...a},x(wi,{size:i,indeterminate:n,value:s,max:o}),l&&x("span",{class:"gids-spinner__label"},e),h&&x("span",{class:"gids-spinner__supporting-text"},t))},en={"icons-other.svg":["accessibility","add","remove","announcement","approval","archive","audio","backward","banking","battery","bluetooth","bookmark","bulb","calendar","camera","card","cart","chart","chat","cloud","code","compass","desktop","email","emergency","exchange","finance","fingerprint","flag","folder","forward","gift","globe","goals","happy","hashtag","headphones","history","image","insurance","investment","in-progress","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","ai","new","draft","pending","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},tn=new Map;for(const e in en)for(const t of en[e])tn.set(t,e);function Oi(e){return tn.get(e)}function nn(e,t="regular",i){const n=Oi(e);let s=n??"";return i&&n&&(s=i(n)??n),`${s}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:Ai}=li,rt=({name:e,size:t,appearance:i,alt:n,class:s,titleId:o,src:r,...a})=>{const l=yi(o);let h=r;return h===void 0&&gi()&&(h=nn(e,i,Zt)),x("svg",{ref:g=>{h===void 0&&pi((()=>{(function(d,c,u){if(!d)return;const f=document.createElementNS("http://www.w3.org/2000/svg","use");f.setAttribute("href",nn(c,u,Zt)),d.appendChild(f)})(g,e,i)}))},width:"16",height:"16",class:Ai({size:t},s),role:"img","aria-hidden":n===""?"true":void 0,"aria-labelledby":n===""?void 0:l,...a},n!==""&&x("title",{id:l},n||e),h!==void 0?x("use",{href:h}):null)},le=Math.min,J=Math.max,Le=Math.round,De=Math.floor,z=e=>({x:e,y:e}),ki={left:"right",right:"left",bottom:"top",top:"bottom"};function lt(e,t,i){return J(e,le(t,i))}function ve(e,t){return typeof e=="function"?e(t):e}function Q(e){return e.split("-")[0]}function be(e){return e.split("-")[1]}function sn(e){return e==="x"?"y":"x"}function at(e){return e==="y"?"height":"width"}function H(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function ct(e){return sn(H(e))}function Ei(e,t,i){i===void 0&&(i=!1);const n=be(e),s=ct(e),o=at(s);let r=s==="x"?n===(i?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(r=je(r)),[r,je(r)]}function Ni(e){const t=je(e);return[dt(e),t,dt(t)]}function dt(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const on=["left","right"],rn=["right","left"],$i=["top","bottom"],Pi=["bottom","top"];function Ri(e,t,i){switch(e){case"top":case"bottom":return i?t?rn:on:t?on:rn;case"left":case"right":return t?$i:Pi;default:return[]}}function Ti(e,t,i,n){const s=be(e);let o=Ri(Q(e),i==="start",n);return s&&(o=o.map(r=>r+"-"+s),t&&(o=o.concat(o.map(dt)))),o}function je(e){const t=Q(e);return ki[t]+e.slice(t.length)}function Li(e){return{top:0,right:0,bottom:0,left:0,...e}}function ln(e){return typeof e!="number"?Li(e):{top:e,right:e,bottom:e,left:e}}function Me(e){const{x:t,y:i,width:n,height:s}=e;return{width:n,height:s,top:i,left:t,right:t+n,bottom:i+s,x:t,y:i}}function an(e,t,i){let{reference:n,floating:s}=e;const o=H(t),r=ct(t),a=at(r),l=Q(t),h=o==="y",g=n.x+n.width/2-s.width/2,d=n.y+n.height/2-s.height/2,c=n[a]/2-s[a]/2;let u;switch(l){case"top":u={x:g,y:n.y-s.height};break;case"bottom":u={x:g,y:n.y+n.height};break;case"right":u={x:n.x+n.width,y:d};break;case"left":u={x:n.x-s.width,y:d};break;default:u={x:n.x,y:n.y}}switch(be(t)){case"start":u[r]-=c*(i&&h?-1:1);break;case"end":u[r]+=c*(i&&h?-1:1);break}return u}async function Di(e,t){var i;t===void 0&&(t={});const{x:n,y:s,platform:o,rects:r,elements:a,strategy:l}=e,{boundary:h="clippingAncestors",rootBoundary:g="viewport",elementContext:d="floating",altBoundary:c=!1,padding:u=0}=ve(t,e),f=ln(u),b=a[c?d==="floating"?"reference":"floating":d],m=Me(await o.getClippingRect({element:(i=await(o.isElement==null?void 0:o.isElement(b)))==null||i?b:b.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:h,rootBoundary:g,strategy:l})),y=d==="floating"?{x:n,y:s,width:r.floating.width,height:r.floating.height}:r.reference,p=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),_=await(o.isElement==null?void 0:o.isElement(p))?await(o.getScale==null?void 0:o.getScale(p))||{x:1,y:1}:{x:1,y:1},w=Me(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:p,strategy:l}):y);return{top:(m.top-w.top+f.top)/_.y,bottom:(w.bottom-m.bottom+f.bottom)/_.y,left:(m.left-w.left+f.left)/_.x,right:(w.right-m.right+f.right)/_.x}}const ji=50,Mi=async(e,t,i)=>{const{placement:n="bottom",strategy:s="absolute",middleware:o=[],platform:r}=i,a=r.detectOverflow?r:{...r,detectOverflow:Di},l=await(r.isRTL==null?void 0:r.isRTL(t));let h=await r.getElementRects({reference:e,floating:t,strategy:s}),{x:g,y:d}=an(h,n,l),c=n,u=0;const f={};for(let v=0;v<o.length;v++){const b=o[v];if(!b)continue;const{name:m,fn:y}=b,{x:p,y:_,data:w,reset:S}=await y({x:g,y:d,initialPlacement:n,placement:c,strategy:s,middlewareData:f,rects:h,platform:a,elements:{reference:e,floating:t}});g=p??g,d=_??d,f[m]={...f[m],...w},S&&u<ji&&(u++,typeof S=="object"&&(S.placement&&(c=S.placement),S.rects&&(h=S.rects===!0?await r.getElementRects({reference:e,floating:t,strategy:s}):S.rects),{x:g,y:d}=an(h,c,l)),v=-1)}return{x:g,y:d,placement:c,strategy:s,middlewareData:f}},zi=e=>({name:"arrow",options:e,async fn(t){const{x:i,y:n,placement:s,rects:o,platform:r,elements:a,middlewareData:l}=t,{element:h,padding:g=0}=ve(e,t)||{};if(h==null)return{};const d=ln(g),c={x:i,y:n},u=ct(s),f=at(u),v=await r.getDimensions(h),b=u==="y",m=b?"top":"left",y=b?"bottom":"right",p=b?"clientHeight":"clientWidth",_=o.reference[f]+o.reference[u]-c[u]-o.floating[f],w=c[u]-o.reference[u],S=await(r.getOffsetParent==null?void 0:r.getOffsetParent(h));let C=S?S[p]:0;(!C||!await(r.isElement==null?void 0:r.isElement(S)))&&(C=a.floating[p]||o.floating[f]);const A=_/2-w/2,E=C/2-v[f]/2-1,R=le(d[m],E),_e=le(d[y],E),ie=R,Se=C-v[f]-_e,N=C/2-v[f]/2+A,se=lt(ie,N,Se),W=!l.arrow&&be(s)!=null&&N!==se&&o.reference[f]/2-(N<ie?R:_e)-v[f]/2<0,j=W?N<ie?N-ie:N-Se:0;return{[u]:c[u]+j,data:{[u]:se,centerOffset:N-se-j,...W&&{alignmentOffset:j}},reset:W}}}),Ii=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var i,n;const{placement:s,middlewareData:o,rects:r,initialPlacement:a,platform:l,elements:h}=t,{mainAxis:g=!0,crossAxis:d=!0,fallbackPlacements:c,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:v=!0,...b}=ve(e,t);if((i=o.arrow)!=null&&i.alignmentOffset)return{};const m=Q(s),y=H(a),p=Q(a)===a,_=await(l.isRTL==null?void 0:l.isRTL(h.floating)),w=c||(p||!v?[je(a)]:Ni(a)),S=f!=="none";!c&&S&&w.push(...Ti(a,v,f,_));const C=[a,...w],A=await l.detectOverflow(t,b),E=[];let R=((n=o.flip)==null?void 0:n.overflows)||[];if(g&&E.push(A[m]),d){const N=Ei(s,r,_);E.push(A[N[0]],A[N[1]])}if(R=[...R,{placement:s,overflows:E}],!E.every(N=>N<=0)){var _e,ie;const N=(((_e=o.flip)==null?void 0:_e.index)||0)+1,se=C[N];if(se&&(!(d==="alignment"?y!==H(se):!1)||R.every(M=>H(M.placement)===y?M.overflows[0]>0:!0)))return{data:{index:N,overflows:R},reset:{placement:se}};let W=(ie=R.filter(j=>j.overflows[0]<=0).sort((j,M)=>j.overflows[1]-M.overflows[1])[0])==null?void 0:ie.placement;if(!W)switch(u){case"bestFit":{var Se;const j=(Se=R.filter(M=>{if(S){const q=H(M.placement);return q===y||q==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(q=>q>0).reduce((q,Es)=>q+Es,0)]).sort((M,q)=>M[1]-q[1])[0])==null?void 0:Se[0];j&&(W=j);break}case"initialPlacement":W=a;break}if(s!==W)return{reset:{placement:W}}}return{}}}},Vi=new Set(["left","top"]);async function Fi(e,t){const{placement:i,platform:n,elements:s}=e,o=await(n.isRTL==null?void 0:n.isRTL(s.floating)),r=Q(i),a=be(i),l=H(i)==="y",h=Vi.has(r)?-1:1,g=o&&l?-1:1,d=ve(t,e);let{mainAxis:c,crossAxis:u,alignmentAxis:f}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof f=="number"&&(u=a==="end"?f*-1:f),l?{x:u*g,y:c*h}:{x:c*h,y:u*g}}const Bi=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var i,n;const{x:s,y:o,placement:r,middlewareData:a}=t,l=await Fi(t,e);return r===((i=a.offset)==null?void 0:i.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:s+l.x,y:o+l.y,data:{...l,placement:r}}}}},Wi=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:i,y:n,placement:s,platform:o}=t,{mainAxis:r=!0,crossAxis:a=!1,limiter:l={fn:m=>{let{x:y,y:p}=m;return{x:y,y:p}}},...h}=ve(e,t),g={x:i,y:n},d=await o.detectOverflow(t,h),c=H(Q(s)),u=sn(c);let f=g[u],v=g[c];if(r){const m=u==="y"?"top":"left",y=u==="y"?"bottom":"right",p=f+d[m],_=f-d[y];f=lt(p,f,_)}if(a){const m=c==="y"?"top":"left",y=c==="y"?"bottom":"right",p=v+d[m],_=v-d[y];v=lt(p,v,_)}const b=l.fn({...t,[u]:f,[c]:v});return{...b,data:{x:b.x-i,y:b.y-n,enabled:{[u]:r,[c]:a}}}}}};function ze(){return typeof window<"u"}function ae(e){return cn(e)?(e.nodeName||"").toLowerCase():"#document"}function P(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function I(e){var t;return(t=(cn(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function cn(e){return ze()?e instanceof Node||e instanceof P(e).Node:!1}function L(e){return ze()?e instanceof Element||e instanceof P(e).Element:!1}function B(e){return ze()?e instanceof HTMLElement||e instanceof P(e).HTMLElement:!1}function dn(e){return!ze()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof P(e).ShadowRoot}function xe(e){const{overflow:t,overflowX:i,overflowY:n,display:s}=D(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+i)&&s!=="inline"&&s!=="contents"}function Gi(e){return/^(table|td|th)$/.test(ae(e))}function Ie(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Hi=/transform|translate|scale|rotate|perspective|filter/,Ui=/paint|layout|strict|content/,ee=e=>!!e&&e!=="none";let ht;function ft(e){const t=L(e)?D(e):e;return ee(t.transform)||ee(t.translate)||ee(t.scale)||ee(t.rotate)||ee(t.perspective)||!ut()&&(ee(t.backdropFilter)||ee(t.filter))||Hi.test(t.willChange||"")||Ui.test(t.contain||"")}function qi(e){let t=U(e);for(;B(t)&&!ce(t);){if(ft(t))return t;if(Ie(t))return null;t=U(t)}return null}function ut(){return ht==null&&(ht=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ht}function ce(e){return/^(html|body|#document)$/.test(ae(e))}function D(e){return P(e).getComputedStyle(e)}function Ve(e){return L(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function U(e){if(ae(e)==="html")return e;const t=e.assignedSlot||e.parentNode||dn(e)&&e.host||I(e);return dn(t)?t.host:t}function hn(e){const t=U(e);return ce(t)?e.ownerDocument?e.ownerDocument.body:e.body:B(t)&&xe(t)?t:hn(t)}function we(e,t,i){var n;t===void 0&&(t=[]),i===void 0&&(i=!0);const s=hn(e),o=s===((n=e.ownerDocument)==null?void 0:n.body),r=P(s);if(o){const a=gt(r);return t.concat(r,r.visualViewport||[],xe(s)?s:[],a&&i?we(a):[])}else return t.concat(s,we(s,[],i))}function gt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function fn(e){const t=D(e);let i=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const s=B(e),o=s?e.offsetWidth:i,r=s?e.offsetHeight:n,a=Le(i)!==o||Le(n)!==r;return a&&(i=o,n=r),{width:i,height:n,$:a}}function pt(e){return L(e)?e:e.contextElement}function de(e){const t=pt(e);if(!B(t))return z(1);const i=t.getBoundingClientRect(),{width:n,height:s,$:o}=fn(t);let r=(o?Le(i.width):i.width)/n,a=(o?Le(i.height):i.height)/s;return(!r||!Number.isFinite(r))&&(r=1),(!a||!Number.isFinite(a))&&(a=1),{x:r,y:a}}const Xi=z(0);function un(e){const t=P(e);return!ut()||!t.visualViewport?Xi:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Yi(e,t,i){return t===void 0&&(t=!1),!i||t&&i!==P(e)?!1:t}function te(e,t,i,n){t===void 0&&(t=!1),i===void 0&&(i=!1);const s=e.getBoundingClientRect(),o=pt(e);let r=z(1);t&&(n?L(n)&&(r=de(n)):r=de(e));const a=Yi(o,i,n)?un(o):z(0);let l=(s.left+a.x)/r.x,h=(s.top+a.y)/r.y,g=s.width/r.x,d=s.height/r.y;if(o){const c=P(o),u=n&&L(n)?P(n):n;let f=c,v=gt(f);for(;v&&n&&u!==f;){const b=de(v),m=v.getBoundingClientRect(),y=D(v),p=m.left+(v.clientLeft+parseFloat(y.paddingLeft))*b.x,_=m.top+(v.clientTop+parseFloat(y.paddingTop))*b.y;l*=b.x,h*=b.y,g*=b.x,d*=b.y,l+=p,h+=_,f=P(v),v=gt(f)}}return Me({width:g,height:d,x:l,y:h})}function Fe(e,t){const i=Ve(e).scrollLeft;return t?t.left+i:te(I(e)).left+i}function gn(e,t){const i=e.getBoundingClientRect(),n=i.left+t.scrollLeft-Fe(e,i),s=i.top+t.scrollTop;return{x:n,y:s}}function Ki(e){let{elements:t,rect:i,offsetParent:n,strategy:s}=e;const o=s==="fixed",r=I(n),a=t?Ie(t.floating):!1;if(n===r||a&&o)return i;let l={scrollLeft:0,scrollTop:0},h=z(1);const g=z(0),d=B(n);if((d||!d&&!o)&&((ae(n)!=="body"||xe(r))&&(l=Ve(n)),d)){const u=te(n);h=de(n),g.x=u.x+n.clientLeft,g.y=u.y+n.clientTop}const c=r&&!d&&!o?gn(r,l):z(0);return{width:i.width*h.x,height:i.height*h.y,x:i.x*h.x-l.scrollLeft*h.x+g.x+c.x,y:i.y*h.y-l.scrollTop*h.y+g.y+c.y}}function Zi(e){return Array.from(e.getClientRects())}function Ji(e){const t=I(e),i=Ve(e),n=e.ownerDocument.body,s=J(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=J(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let r=-i.scrollLeft+Fe(e);const a=-i.scrollTop;return D(n).direction==="rtl"&&(r+=J(t.clientWidth,n.clientWidth)-s),{width:s,height:o,x:r,y:a}}const pn=25;function Qi(e,t){const i=P(e),n=I(e),s=i.visualViewport;let o=n.clientWidth,r=n.clientHeight,a=0,l=0;if(s){o=s.width,r=s.height;const g=ut();(!g||g&&t==="fixed")&&(a=s.offsetLeft,l=s.offsetTop)}const h=Fe(n);if(h<=0){const g=n.ownerDocument,d=g.body,c=getComputedStyle(d),u=g.compatMode==="CSS1Compat"&&parseFloat(c.marginLeft)+parseFloat(c.marginRight)||0,f=Math.abs(n.clientWidth-d.clientWidth-u);f<=pn&&(o-=f)}else h<=pn&&(o+=h);return{width:o,height:r,x:a,y:l}}function es(e,t){const i=te(e,!0,t==="fixed"),n=i.top+e.clientTop,s=i.left+e.clientLeft,o=B(e)?de(e):z(1),r=e.clientWidth*o.x,a=e.clientHeight*o.y,l=s*o.x,h=n*o.y;return{width:r,height:a,x:l,y:h}}function mn(e,t,i){let n;if(t==="viewport")n=Qi(e,i);else if(t==="document")n=Ji(I(e));else if(L(t))n=es(t,i);else{const s=un(e);n={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return Me(n)}function yn(e,t){const i=U(e);return i===t||!L(i)||ce(i)?!1:D(i).position==="fixed"||yn(i,t)}function ts(e,t){const i=t.get(e);if(i)return i;let n=we(e,[],!1).filter(a=>L(a)&&ae(a)!=="body"),s=null;const o=D(e).position==="fixed";let r=o?U(e):e;for(;L(r)&&!ce(r);){const a=D(r),l=ft(r);!l&&a.position==="fixed"&&(s=null),(o?!l&&!s:!l&&a.position==="static"&&!!s&&(s.position==="absolute"||s.position==="fixed")||xe(r)&&!l&&yn(e,r))?n=n.filter(g=>g!==r):s=a,r=U(r)}return t.set(e,n),n}function ns(e){let{element:t,boundary:i,rootBoundary:n,strategy:s}=e;const r=[...i==="clippingAncestors"?Ie(t)?[]:ts(t,this._c):[].concat(i),n],a=mn(t,r[0],s);let l=a.top,h=a.right,g=a.bottom,d=a.left;for(let c=1;c<r.length;c++){const u=mn(t,r[c],s);l=J(u.top,l),h=le(u.right,h),g=le(u.bottom,g),d=J(u.left,d)}return{width:h-d,height:g-l,x:d,y:l}}function is(e){const{width:t,height:i}=fn(e);return{width:t,height:i}}function ss(e,t,i){const n=B(t),s=I(t),o=i==="fixed",r=te(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const l=z(0);function h(){l.x=Fe(s)}if(n||!n&&!o)if((ae(t)!=="body"||xe(s))&&(a=Ve(t)),n){const u=te(t,!0,o,t);l.x=u.x+t.clientLeft,l.y=u.y+t.clientTop}else s&&h();o&&!n&&s&&h();const g=s&&!n&&!o?gn(s,a):z(0),d=r.left+a.scrollLeft-l.x-g.x,c=r.top+a.scrollTop-l.y-g.y;return{x:d,y:c,width:r.width,height:r.height}}function mt(e){return D(e).position==="static"}function vn(e,t){if(!B(e)||D(e).position==="fixed")return null;if(t)return t(e);let i=e.offsetParent;return I(e)===i&&(i=i.ownerDocument.body),i}function bn(e,t){const i=P(e);if(Ie(e))return i;if(!B(e)){let s=U(e);for(;s&&!ce(s);){if(L(s)&&!mt(s))return s;s=U(s)}return i}let n=vn(e,t);for(;n&&Gi(n)&&mt(n);)n=vn(n,t);return n&&ce(n)&&mt(n)&&!ft(n)?i:n||qi(e)||i}const os=async function(e){const t=this.getOffsetParent||bn,i=this.getDimensions,n=await i(e.floating);return{reference:ss(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function rs(e){return D(e).direction==="rtl"}const yt={convertOffsetParentRelativeRectToViewportRelativeRect:Ki,getDocumentElement:I,getClippingRect:ns,getOffsetParent:bn,getElementRects:os,getClientRects:Zi,getDimensions:is,getScale:de,isElement:L,isRTL:rs};function xn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ls(e,t){let i=null,n;const s=I(e);function o(){var a;clearTimeout(n),(a=i)==null||a.disconnect(),i=null}function r(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),o();const h=e.getBoundingClientRect(),{left:g,top:d,width:c,height:u}=h;if(a||t(),!c||!u)return;const f=De(d),v=De(s.clientWidth-(g+c)),b=De(s.clientHeight-(d+u)),m=De(g),p={rootMargin:-f+"px "+-v+"px "+-b+"px "+-m+"px",threshold:J(0,le(1,l))||1};let _=!0;function w(S){const C=S[0].intersectionRatio;if(C!==l){if(!_)return r();C?r(!1,C):n=setTimeout(()=>{r(!1,1e-7)},1e3)}C===1&&!xn(h,e.getBoundingClientRect())&&r(),_=!1}try{i=new IntersectionObserver(w,{...p,root:s.ownerDocument})}catch{i=new IntersectionObserver(w,p)}i.observe(e)}return r(!0),o}function as(e,t,i,n){n===void 0&&(n={});const{ancestorScroll:s=!0,ancestorResize:o=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,h=pt(e),g=s||o?[...h?we(h):[],...t?we(t):[]]:[];g.forEach(m=>{s&&m.addEventListener("scroll",i,{passive:!0}),o&&m.addEventListener("resize",i)});const d=h&&a?ls(h,i):null;let c=-1,u=null;r&&(u=new ResizeObserver(m=>{let[y]=m;y&&y.target===h&&u&&t&&(u.unobserve(t),cancelAnimationFrame(c),c=requestAnimationFrame(()=>{var p;(p=u)==null||p.observe(t)})),i()}),h&&!l&&u.observe(h),t&&u.observe(t));let f,v=l?te(e):null;l&&b();function b(){const m=te(e);v&&!xn(v,m)&&i(),v=m,f=requestAnimationFrame(b)}return i(),()=>{var m;g.forEach(y=>{s&&y.removeEventListener("scroll",i),o&&y.removeEventListener("resize",i)}),d?.(),(m=u)==null||m.disconnect(),u=null,l&&cancelAnimationFrame(f)}}const cs=Bi,ds=Wi,hs=Ii,fs=zi,us=(e,t,i)=>{const n=new Map,s={platform:yt,...i},o={...s.platform,_c:n};return Mi(e,t,{...s,platform:o})};function wn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}const gs=/transform|translate|scale|rotate|perspective|filter/,ps=/paint|layout|strict|content/,ne=e=>!!e&&e!=="none";let vt;function ms(e){const t=(i=e,typeof window<"u"&&(i instanceof Element||i instanceof wn(i).Element)?wn(n=e).getComputedStyle(n):e);var i,n;return ne(t.transform)||ne(t.translate)||ne(t.scale)||ne(t.rotate)||ne(t.perspective)||(vt==null&&(vt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),!vt&&(ne(t.backdropFilter)||ne(t.filter)))||gs.test(t.willChange||"")||ps.test(t.contain||"")}function ys(e){return(function(t){for(let i=t;i;i=bt(i))if(i instanceof Element&&getComputedStyle(i).display==="none")return null;for(let i=bt(t);i;i=bt(i)){if(!(i instanceof Element))continue;const n=getComputedStyle(i);if(n.display!=="contents"&&(n.position!=="static"||ms(n)||i.tagName==="BODY"))return i}return null})(e)}function bt(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}const he=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let _n=!1;he&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(he):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let xt=null;const wt=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{Sn()})):void 0,Sn=()=>{if(he===void 0)return!1;const e=(()=>{if(he===void 0)return;const t=[];for(let i=0;i<document.styleSheets.length;i++){const n=document.styleSheets.item(i);if(n)try{let s=-1,o=0;for(let r=0;r<n.cssRules.length;r++){const a=n.cssRules.item(r);if(a?.cssText.startsWith("gids-global-styles-start"))s=r;else if(s>-1){if(a?.cssText.startsWith("gids-global-styles-end")){o=r-s+1;break}t.push(a)}}if(s>-1)return{rulesStartIndex:s,originalRulesCount:o,rules:t,styleSheet:n}}catch(s){if(!(s instanceof DOMException))throw s}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return wt!==void 0&&t!==xt&&(xt&&wt.disconnect(),t instanceof Element&&wt.observe(t,{childList:!0,characterData:!0,subtree:!0}),xt=t),he.replaceSync((i=>i.rules.map((n=>n.cssText)).join(""))(e)),(i=>{const{rulesStartIndex:n,originalRulesCount:s,styleSheet:o}=i;for(let r=0;r<s;r++)o.deleteRule(n)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},vs=()=>(_n||(_n=Sn()),he),{getGidsAdvancedTooltipClassNames:bs}=ei,xs=Pe(class extends ue{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.visible=!1,this.x=0,this.y=0,this.offset=12,this.placement="top",this.items=[],this.currentPlacement="top"}connectedCallback(){const e=vs();e&&this.host.shadowRoot?.adoptedStyleSheets.push(e)}componentDidLoad(){const e=this.host.shadowRoot;if(!e)return;const t=e.querySelector(".gids-advanced-tooltip__arrow");t instanceof ue&&(this.tooltipElement=this.host,this.arrowElement=t,this.createVirtualReference(),this.startAutoUpdate(),this.updatePosition())}disconnectedCallback(){this.cleanupAutoUpdate?.()}visibleChanged(){this.updatePosition()}positionChanged(){this.updatePosition()}placementChanged(){this.updatePosition()}itemsChanged(){this.updatePosition()}createVirtualReference(){this.virtualReference||(this.virtualReference={getBoundingClientRect:()=>new DOMRect(this.x,this.y,0,0)})}startAutoUpdate(){this.cleanupAutoUpdate?.(),this.cleanupAutoUpdate=as(this.virtualReference,this.tooltipElement,(()=>{this.updatePosition()}),{ancestorScroll:!0,ancestorResize:!1,elementResize:!0,layoutShift:!0,animationFrame:!0})}getMiddleware(){return[cs(this.offset),hs({padding:this.offset}),ds({padding:this.offset}),fs({element:this.arrowElement,padding:this.offset})]}async updatePosition(){if(this.tooltipElement)try{const{x:e,y:t,placement:i,middlewareData:n}=await us(this.virtualReference,this.tooltipElement,{placement:this.placement,strategy:"fixed",middleware:this.getMiddleware(),platform:{...yt,getOffsetParent:s=>yt.getOffsetParent(s,ys)}});if(this.currentPlacement=i,Object.assign(this.tooltipElement.style,{left:`${e}px`,top:`${t}px`,position:"fixed"}),n.arrow&&this.arrowElement){const{x:s,y:o}=n.arrow;let r;switch(i.split("-")[0]??"top"){case"top":r="bottom";break;case"right":r="left";break;case"bottom":r="top";break;default:r="right"}Object.assign(this.arrowElement.style,{left:s!=null?`${s}px`:"",top:o!=null?`${o}px`:"",right:"",bottom:"",[r]:"-5px",transform:"rotate(45deg)"})}}catch(e){console.error("computePosition failed",e)}}render(){const e=bs({visible:this.visible});return x($t,{key:"13bb6a794c624327216a1cc03550a9afc6f7d9cb",class:e,role:"tooltip",part:"tooltip"},x("div",{key:"1edafa4de30dc67dece07b8283e6233e26f71986",class:"gids-advanced-tooltip__arrow",part:"arrow"}),x("div",{key:"8b4b08220a7d2c444cca9f62eb4ed2d367b79a13",class:"gids-advanced-tooltip__content"},this.items.map((t=>x("div",{class:"gids-advanced-tooltip__item",key:`${t.label}-${t.value}`},x("div",{class:"gids-advanced-tooltip__left"},x(rt,{name:"new",size:"xs",appearance:"filled",style:{"--gidsIcon-color":t.seriesIndicatorColor}}),x("span",{class:"gids-advanced-tooltip__label"},t.label)),x("span",{class:"gids-advanced-tooltip__value"},t.value))))))}get host(){return this}static get watchers(){return{visible:[{visibleChanged:0}],x:[{positionChanged:0}],y:[{positionChanged:0}],placement:[{placementChanged:0}],items:[{itemsChanged:0}]}}static get style(){return".gids-advanced-tooltip{position:fixed;display:inline-flex;width:fit-content;height:fit-content;z-index:1001;--gidsAdvancedTooltip-background:var( --gids-color-background-neutral-bold-default );--gidsAdvancedTooltip-label-color:var(--gids-color-text-inverse);--gidsAdvancedTooltip-value-color:var(--gids-color-text-inverse)}.gids-advanced-tooltip--visible{opacity:1}.gids-advanced-tooltip__content{box-shadow:var(--gids-elevation-shadow-overlay);background:var(--gidsAdvancedTooltip-background);border-radius:var(--gids-border-radius-md);padding:var(--gids-padding-vertical-edge-to-element-150) var(--gids-padding-horizontal-edge-to-element-150);min-width:140px}.gids-advanced-tooltip__item{display:flex;justify-content:space-between;align-items:center;gap:var(--gids-gap-200)}.gids-advanced-tooltip__item+.gids-advanced-tooltip__item{margin-top:var(--gids-padding-vertical-edge-to-element-075)}.gids-advanced-tooltip__left{display:flex;align-items:center;gap:var(--gids-gap-100)}.gids-advanced-tooltip__arrow{position:absolute;width:10px;height:10px;background:var(--gidsAdvancedTooltip-background);backdrop-filter:calc(var(--gids-backdrop-blur-2-xl));transform:rotate(45deg)}.gids-advanced-tooltip__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);color:var(--gidsAdvancedTooltip-label-color)}.gids-advanced-tooltip__value{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);color:var(--gidsAdvancedTooltip-value-color);white-space:nowrap}"}},[1,"gids-advanced-tooltip",{visible:[516],x:[2],y:[2],offset:[2],placement:[1],items:[16],currentPlacement:[32]},void 0,{visible:[{visibleChanged:0}],x:[{positionChanged:0}],y:[{positionChanged:0}],placement:[{placementChanged:0}],items:[{itemsChanged:0}]}]);function Cn(){typeof customElements<"u"&&["gids-advanced-tooltip"].forEach((e=>{e==="gids-advanced-tooltip"&&(customElements.get(e)||customElements.define(e,xs))}))}Cn();const{getGidsChartLegendClassNames:ws}=ri,_s=Pe(class extends ue{constructor(e){super(),e!==!1&&this.__registerHost(),this.orientation="horizontal"}handleOrientationChange(e){this.orientation=e}render(){const e=ws({orientation:this.orientation});return x("div",{key:"c57dbe65422b2c4588d18bf36a28e4e54ca4259e",class:e},x("slot",{key:"1055b41640de135243f5d912f7245a8d7b282c98"}))}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 On(){typeof customElements<"u"&&["gids-chart-legend"].forEach((e=>{e==="gids-chart-legend"&&(customElements.get(e)||customElements.define(e,_s))}))}On();const{getGidsChartLegendItemClassNames:Ss}=oi,Cs=Pe(class extends ue{constructor(e){super(),e!==!1&&this.__registerHost(),this.orientation="horizontal",this.seriesType="1"}handleOrientationChange(e){this.orientation=e}handleSeriesTypeChange(e){this.seriesType=e}handleSeriesColorChange(e){this.seriesColor=e}render(){const e=this.seriesColor,t=e&&e!=="",i=Ss({seriesType:t?"none":this.seriesType,orientation:this.orientation});return x("div",{key:"4d501b81b39c42c60d7f85cdf8e1227015126c13",class:i},x("div",{key:"0d310b54a5ae0ea0f9519f57cac51ec04b822c29",class:this.orientation==="vertical"?"gids-chart-legend-item__dot-wrapper-vertical":"gids-chart-legend-item__dot-wrapper-horizontal"},x(rt,{key:"ca0436979deffdbdc0c57c567684863049736aa1",name:"new",alt:"new_icon",appearance:"filled",style:t?{"--gidsIcon-color":e}:{}})),x("span",{key:"351452aa92a56b612b036e213879758448718e19",class:"gids-chart-legend-item__label"},x("slot",{key:"6a9156e4054f8857208e8bf6159567ae6694de8b"})))}static get watchers(){return{orientation:[{handleOrientationChange:0}],seriesType:[{handleSeriesTypeChange:0}],seriesColor:[{handleSeriesColorChange: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"],seriesColor:[1,"series-color"]},void 0,{orientation:[{handleOrientationChange:0}],seriesType:[{handleSeriesTypeChange:0}],seriesColor:[{handleSeriesColorChange:0}]}]);function An(){typeof customElements<"u"&&["gids-chart-legend-item"].forEach((e=>{e==="gids-chart-legend-item"&&(customElements.get(e)||customElements.define(e,Cs))}))}An();const{getGidsLineChartClassNames:Os}=ai,kn=Pe(class extends ue{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,this.hoveredIndex=null,this.tooltip={visible:!1,x:0,y: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}getTooltipItems(e){return this.chartData.reduce(((t,i)=>{const n=i.data[e];return n&&t.push({label:i?.label??"",value:String(n.value),seriesIndicatorColor:i?.seriesColor??""}),t}),[])}render(){if(this.chartLoading)return x("div",{class:"gids-line-chart__no-data"},x(Ci,{label:this.chartLoadingTitle,supportingText:this.chartLoadingSupportingText,size:this?.chartLoaderSize??"lg"}));const e=this.chartData.flatMap((c=>Array.isArray(c?.data)?c.data.map((u=>u.value)):[])),t=e.length>0?Math.max(...e):10,i=Math.pow(10,Math.floor(Math.log10(t||1)));let n=i;t/i<=2?n=i/5:t/i<=5&&(n=i/2);const s=Math.ceil(t/n)*n;let o=[];if(Array.isArray(this.dataPoints)&&this.dataPoints.length>0)o=[...this.dataPoints].sort(((c,u)=>c-u));else{const u=s/4;for(let f=0;f<5;f++)o.push(Math.round(0+f*u))}const r=Math.max(...o,s)-0||1,a=this?.chartData?.[0]?.data?.map((c=>c.label))??[],l=a.length,h=Os({breakpoint:this.breakpoint});let g=!1,d=!1;return this.breakpoint==="mobile"?this.legend!=="none"&&(g=!0):this.legend==="top"?g=!0:this.legend==="right"&&(d=!0),x("div",{class:h},g?x("div",{class:"gids-line-chart__header"},x("gids-chart-legend",{orientation:"horizontal"},this.chartData.map((c=>x("gids-chart-legend-item",{key:c.label,seriesColor:c?.seriesColor,orientation:"horizontal"},c.label))))):null,x("div",{class:"gids-line-chart__main-container"},x("div",{class:"gids-line-chart__grid-layout"},x("span",{class:"gids-line-chart__y-axis-label"},this.yAxisLabel),x("div",{class:"gids-line-chart__chart-stage-container"},this.yAxisVisible?x("div",{class:"gids-line-chart__y-axis-scale-container"},o.map((c=>x("span",{id:"y-value",class:"gids-line-chart__scale-text gids-line-chart__y-axis-scale-value",key:c,style:{bottom:(c-0)/r*100+"%"}},c)))):null,x("div",{class:"gids-line-chart__chart-stage"},x("svg",{viewBox:"0 0 100 100",class:"gids-line-chart__chart-vector",preserveAspectRatio:"none"},x("defs",null,this.chartData.map(((c,u)=>{const f=c?.fillGradientStartColor,v=c?.fillGradientEndColor;return x("linearGradient",{id:`areaGradient-${u}`,x1:"0",y1:"0",x2:"0",y2:"1",key:u},x("stop",{offset:"0%",style:{stopColor:f,stopOpacity:"1"}}),x("stop",{offset:"100%",style:{stopColor:v,stopOpacity:"0"}}))}))),o.map((c=>{const u=100-(c-0)/r*100;return x("line",{x1:"0",y1:u,x2:"100",y2:u,class:"gids-line-chart__grid-line",key:c})})),this.chartData.map(((c,u)=>{if(!Array.isArray(c.data)||c.data.length<2)return null;const f=c.data.map(((v,b)=>`${b===0?"M":"L"} ${b/(l-1)*100} ${100-(v.value-0)/r*100}`)).join(" ");return x("g",{key:c.label||u},x("path",{d:`${f} L 100 100 L 0 100 Z`,fill:`url(#areaGradient-${u})`,opacity:c?.fillOpacity??"0.1",class:"gids-line-chart__chart-area"}),x("path",{d:f,class:"gids-line-chart__chart-line",fill:"none",style:{stroke:c?.seriesColor,strokeWidth:"2px"}}))})),x("rect",{x:"0",y:"0",width:"100",height:"100",fill:"transparent","pointer-events":"all",onMouseMove:c=>{const u=c.currentTarget.getBoundingClientRect(),f=Math.round((c.clientX-u.left)/u.width*(l-1));this.hoveredIndex=f,this.tooltip={visible:!0,x:c.clientX,y:c.clientY}},onMouseLeave:()=>{this.hoveredIndex=null,this.tooltip={...this.tooltip,visible:!1}}})),this.hoveredIndex!==null&&this.chartData.map(((c,u)=>{if(this.hoveredIndex===null)return;const f=this.hoveredIndex,v=c.data[f];return v?x("div",{id:`chart-dot-${u}`,class:"gids-line-chart__hover-dot",style:{left:f/(l-1)*100+"%",top:100-(v.value-0)/r*100+"%"}},x(rt,{name:"new",size:"xs",appearance:"filled",style:{"--gidsIcon-color":c.seriesColor}})):null})),x("gids-advanced-tooltip",{visible:this.tooltip.visible,x:this.tooltip.x,y:this.tooltip.y,items:this.hoveredIndex!==null?this.getTooltipItems(this.hoveredIndex):[]}))),x("div",{class:"gids-line-chart__x-axis-scale-container"},a.map(((c,u)=>x("span",{class:"gids-line-chart__scale-text",key:u},c)))),x("span",{class:"gids-line-chart__x-axis-label"},this.xAxisLabel)),d?x("gids-chart-legend",{orientation:"vertical"},this.chartData.map((c=>x("gids-chart-legend-item",{key:c.label,seriesColor:c?.seriesColor,orientation:"vertical"},c.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-600);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%);margin-right:var(--gids-padding-horizontal-edge-to-element-100)}.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__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-200);gap:var(--gids-gap-050);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)}.gids-line-chart__hover-dot{position:absolute;transform:translate(-50%, -50%);pointer-events:none;z-index:20}"}},[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],hoveredIndex:[32],tooltip:[32]},void 0,{chartData:[{chartDataChanged:0}],dataPoints:[{dataPointsChanged:0}],legend:[{legendChanged:0}],yAxisVisible:[{yAxisVisibilityChanged:0}]}]);function En(){typeof customElements<"u"&&["gids-line-chart","gids-advanced-tooltip","gids-chart-legend","gids-chart-legend-item"].forEach((e=>{switch(e){case"gids-line-chart":customElements.get(e)||customElements.define(e,kn);break;case"gids-advanced-tooltip":customElements.get(e)||Cn();break;case"gids-chart-legend":customElements.get(e)||On();break;case"gids-chart-legend-item":customElements.get(e)||An()}}))}En();const As=kn,ks=En;X.GidsLineChart=As,X.defineCustomElement=ks,Object.defineProperty(X,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const y=this["s-cr"].parentElement;return(y.__childNodes?y.childNodes:(v=>{const m=[];for(let b=0;b<v.length;b++){const f=v[b]["s-nr"]||void 0;f&&f.isConnected&&m.push(f)}return m})(y.childNodes)).forEach((v=>{u===ge(v)&&p.push(v)})),d?p.filter((v=>v.nodeType===1)):p}).bind(h);h.assignedElements=g(!0),h.assignedNodes=g(!1)})(s),a=e&&e.m&&e.m[o],a&&a.O===r.O&&e.S&&Mt(e.S)),s},Mt=e=>{A.i|=1;const t=e.closest(K.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((r=>r["s-cr"])),i=Array.from(e.__childNodes||e.childNodes);for(const r of o?i.reverse():i)r["s-sh"]!=null&&(T(t,r,o??null),r["s-sh"]=void 0,Ae=!0)}A.i&=-2},Ne=(e,t)=>{A.i|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let i=e;for(;i=i.nextSibling;)i&&i["s-sn"]===e["s-sn"]&&i["s-sh"]===K&&o.push(i)}for(let i=o.length-1;i>=0;i--){const r=o[i];r["s-hn"]!==K&&r["s-ol"]&&(T(me(r).parentNode,r,me(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,Ae=!0),t&&Ne(r,t)}A.i&=-2},qt=(e,t,o,i,r,s)=>{let n,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===K&&(a=a.shadowRoot),o.O==="template"&&(a=a.content);r<=s;++r)i[r]&&(n=Ee(null,o,r),n&&(i[r].S=n,T(a,n,me(t))))},It=(e,t,o)=>{for(let i=t;i<=o;++i){const r=e[i];if(r){const s=r.S;Ft(r),s&&(Oe=!0,s["s-ol"]?s["s-ol"].remove():Ne(s,!0),s.remove())}}},$e=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),me=e=>e&&e["s-ol"]||e,ne=(e,t,o=!1)=>{const i=t.S=e.S,r=e.m,s=t.m,n=t.O,a=t.h;let l;a==null?($=n==="svg"||n!=="foreignObject"&&$,n!=="slot"||fe||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Mt(t.S.parentElement)),Ze(e,t,$),r!==null&&s!==null?((h,g,d,c,p=!1)=>{let u,y,v=0,m=0,b=0,f=0,k=g.length-1,x=g[0],_=g[k],S=c.length-1,O=c[0],E=c[S];const R=d.O==="template"?h.content:h;for(;v<=k&&m<=S;)if(x==null)x=g[++v];else if(_==null)_=g[--k];else if(O==null)O=c[++m];else if(E==null)E=c[--S];else if($e(x,O,p))ne(x,O,p),x=g[++v],O=c[++m];else if($e(_,E,p))ne(_,E,p),_=g[--k],E=c[--S];else if($e(x,E,p))x.O!=="slot"&&E.O!=="slot"||Ne(x.S.parentNode,!1),ne(x,E,p),T(R,x.S,_.S.nextSibling),x=g[++v],E=c[--S];else if($e(_,O,p))x.O!=="slot"&&E.O!=="slot"||Ne(_.S.parentNode,!1),ne(_,O,p),T(R,_.S,x.S),_=g[--k],O=c[++m];else{for(b=-1,f=v;f<=k;++f)if(g[f]&&g[f].$!==null&&g[f].$===O.$){b=f;break}b>=0?(y=g[b],y.O!==O.O?u=Ee(g&&g[m],d,b):(ne(y,O,p),g[b]=void 0,u=y.S),O=c[++m]):(u=Ee(g&&g[m],d,m),O=c[++m]),u&&T(me(x.S).parentNode,u,me(x.S))}v>k?qt(h,c[S+1]==null?null:c[S+1].S,d,c,m,S):m>S&&It(g,v,k)})(i,r,t,s,o):s!==null?(e.h!==null&&(i.textContent=""),qt(i,null,t,s,0,s.length-1)):!o&&r!==null&&It(r,0,r.length-1),$&&n==="svg"&&($=!1)):(l=i["s-cr"])?l.parentNode.textContent=a:e.h!==a&&(i.data=a)},V=[],Vt=e=>{let t,o,i;const r=e.__childNodes||e.childNodes;for(const s of r){if(s["s-sr"]&&(t=s["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const n=s["s-sn"];for(i=o.length-1;i>=0;i--)if(t=o[i],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===s["s-hn"]||t["s-sh"]&&t["s-sh"]===s["s-hn"]))if(Et(t,n)){let a=V.find((l=>l.k===t));Oe=!0,t["s-sn"]=t["s-sn"]||n,a?(a.k["s-sh"]=s["s-hn"],a.N=s):(t["s-sh"]=s["s-hn"],V.push({N:s,k:t})),t["s-sr"]&&V.map((l=>{Et(l.k,t["s-sn"])&&(a=V.find((h=>h.k===t)),a&&!l.N&&(l.N=a.N))}))}else V.some((a=>a.k===t))||V.push({k:t})}s.nodeType===1&&Vt(s)}},Ft=e=>{e.v&&e.v.ref&&Je.push((()=>e.v.ref(null))),e.m&&e.m.map(Ft)},Ii=(e,t)=>{Qe.push((()=>e(t)))},T=(e,t,o,i)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:r}=(function(s,n){var a;if(!(n=n||((a=s["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const l=s["s-sn"]=ge(s)||"";return{slotNode:Ue(Xe(n,"childNodes"),n.tagName,l)[0],slotName:l}})(t);return r&&!i&&r.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},Vi=(e,t,o=!1)=>{var i,r,s,n,a;const l=e.$hostElement$,h=e.o,g=e.M||Ce(null,null);var d;const c=(d=t)&&d.O===$t?t:w(null,null,t);if(K=l.tagName,h.C&&(c.v=c.v||{},h.C.forEach((([p,u])=>{c.v[u]=l[p]}))),o&&c.v)for(const p of Object.keys(c.v))l.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(c.v[p]=l[p]);if(c.O=null,c.i|=4,e.M=c,c.S=g.S=l.shadowRoot||l,fe=!(!(1&h.i)||128&h.i),Ye=l["s-cr"],Oe=!1,ne(g,c,o),A.i|=1,Ae){Vt(c.S);for(const p of V){const u=p.k;if(!u["s-ol"]&&C.document){const y=C.document.createTextNode("");y["s-nr"]=u,T(u.parentNode,u["s-ol"]=y,u,o)}}for(const p of V){const u=p.k,y=p.N;if(u.nodeType===1&&o&&(u["s-ih"]=(i=u.hidden)!=null&&i),y){const v=y.parentNode;let m=y.nextSibling;if(m&&m.nodeType===1){let b=(r=u["s-ol"])==null?void 0:r.previousSibling;for(;b;){let f=(s=b["s-nr"])!=null?s:null;if(f&&f["s-sn"]===u["s-sn"]&&v===(f.__parentNode||f.parentNode)){for(f=f.nextSibling;f===u||f?.["s-sr"];)f=f?.nextSibling;if(!f||!f["s-nr"]){m=f;break}}b=b.previousSibling}}if((!m&&v!==(u.__parentNode||u.parentNode)||(u.__nextSibling||u.nextSibling)!==m)&&u!==m){if(T(v,u,m,o),u.nodeType===8&&u.nodeValue.startsWith("s-nt-")){const b=C.document.createTextNode(u.nodeValue.replace(/^s-nt-/,""));b["s-hn"]=u["s-hn"],b["s-sn"]=u["s-sn"],b["s-sh"]=u["s-sh"],b["s-sr"]=u["s-sr"],b["s-ol"]=u["s-ol"],b["s-ol"]["s-nr"]=b,T(u.parentNode,b,u,o),u.parentNode.removeChild(u)}u.nodeType===1&&u.tagName!=="SLOT-FB"&&(u.hidden=(n=u["s-ih"])!=null&&n)}u&&typeof y["s-rf"]=="function"&&y["s-rf"](y)}else u.nodeType===1&&(u.hidden=!0)}}if(Oe&&At(c.S),A.i&=-2,V.length=0,!fe&&!(1&h.i)&&l["s-cr"]){const p=c.S.__childNodes||c.S.childNodes;for(const u of p)if(u["s-hn"]!==K&&!u["s-sh"]){if(o&&u["s-ih"]==null&&(u["s-ih"]=(a=u.hidden)!=null&&a),u.nodeType===1)u.hidden=!0;else if(u.nodeType===3&&u.nodeValue.trim()){const y=C.document.createComment("s-nt-"+u.nodeValue);y["s-sn"]=u["s-sn"],T(u.parentNode,y,u,o),u.parentNode.removeChild(u)}}}Ye=void 0,Je.forEach((p=>p())),Je.length=0,Qe.forEach((p=>p())),Qe.length=0},Bt=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((i=>e.A=()=>{t["s-p"].splice(o-1,1),i()})))}},et=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Bt(e,e.R);const o=()=>Fi(e,t);if(!t)return Ri(o);queueMicrotask((()=>{o()}))},Fi=(e,t)=>{const o=e.$hostElement$,i=o;if(!i)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let r;return r=be(i,t?"componentWillLoad":"componentWillUpdate",void 0,o),r=Wt(r,(()=>be(i,"componentWillRender",void 0,o))),Wt(r,(()=>Wi(e,i,t)))},Wt=(e,t)=>Bi(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),Bi=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Wi=async(e,t,o)=>{var i;const r=e.$hostElement$,s=r["s-rc"];o&&(n=>{const a=n.o,l=n.$hostElement$,h=a.i,g=((d,c)=>{var p,u,y;const v=Nt(c),m=Se.get(v);if(!C.document)return v;if(d=d.nodeType===11?d:C.document,m)if(typeof m=="string"){let b,f=W.get(d=d.head||d);if(f||W.set(d,f=new Set),!f.has(v)){b=C.document.createElement("style"),b.textContent=m;const k=(p=A._)!=null?p:(function(){var x,_,S;return(S=(_=(x=C.document.head)==null?void 0:x.querySelector('meta[name="csp-nonce"]'))==null?void 0:_.getAttribute("content"))!=null?S:void 0})();if(k!=null&&b.setAttribute("nonce",k),!(1&c.i))if(d.nodeName==="HEAD"){const x=d.querySelectorAll("link[rel=preconnect]"),_=x.length>0?x[x.length-1].nextSibling:d.querySelector("style");d.insertBefore(b,_?.parentNode===d?_:null)}else if("host"in d)if(Fe){const x=new((u=d.defaultView)!=null?u:d.ownerDocument.defaultView).CSSStyleSheet;x.replaceSync(m),Be?d.adoptedStyleSheets.unshift(x):d.adoptedStyleSheets=[x,...d.adoptedStyleSheets]}else{const x=d.querySelector("style");x?x.textContent=m+x.textContent:d.prepend(b)}else d.append(b);1&c.i&&d.insertBefore(b,null),4&c.i&&(b.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),f&&f.add(v)}}else{let b=W.get(d);if(b||W.set(d,b=new Set),!b.has(v)){const f=(y=d.defaultView)!=null?y:d.ownerDocument.defaultView;let k;if(m.constructor===f.CSSStyleSheet)k=m;else{k=new f.CSSStyleSheet;for(let x=0;x<m.cssRules.length;x++)k.insertRule(m.cssRules[x].cssText,x)}Be?d.adoptedStyleSheets.push(k):d.adoptedStyleSheets=[...d.adoptedStyleSheets,k],b.add(v)}}return v})(l.shadowRoot?l.shadowRoot:l.getRootNode(),a);10&h&&(l["s-sc"]=g,l.classList.add(g+"-h"))})(e),Gi(e,t,r,o),s&&(s.map((n=>n())),r["s-rc"]=void 0);{const n=(i=r["s-p"])!=null?i:[],a=()=>Hi(e);n.length===0?a():(Promise.all(n).then(a).catch(a),e.i|=4,n.length=0)}},Gi=(e,t,o,i)=>{try{t=t.render(),e.i&=-17,e.i|=2,Vi(e,t,i)}catch(r){Y(r,e.$hostElement$)}return null},Hi=e=>{const t=e.$hostElement$,o=t,i=e.R;be(o,"componentDidRender",void 0,t),64&e.i?be(o,"componentDidUpdate",void 0,t):(e.i|=64,Xi(t),be(o,"componentDidLoad",void 0,t),e.L(t),i||Ui()),e.A&&(e.A(),e.A=void 0),512&e.i&&He((()=>et(e,!1))),e.i&=-517},Ui=()=>{He((()=>Di(C,"appload",{detail:{namespace:"gids-core-web"}})))},be=(e,t,o,i)=>{if(e&&e[t])try{return e[t](o)}catch(r){Y(r,i)}},Xi=e=>e.classList.add("hydrated"),Gt=(e,t,o,i)=>{const r=I(e);if(!r)return;const s=e,n=r.l.get(t),a=r.i,l=s;o=Tt(o,i.t[t][0],!!(64&i.i));const h=Number.isNaN(n)&&Number.isNaN(o);if(o!==n&&!h){if(r.l.set(t,o),i.F){const g=i.F[t];g&&g.map((d=>{try{const[[c,p]]=Object.entries(d);(128&a||1&p)&&(l?l[c](o,n,t):r.T.push((()=>{r.D[c](o,n,t)})))}catch(c){Y(c,s)}}))}if(2&a){if(l.componentShouldUpdate&&l.componentShouldUpdate(o,n,t)===!1&&!(16&a))return;16&a||et(r,!1)}}},Yi=(e,t,o)=>{var i,r;const s=e.prototype;64&t.i&&1&o&&Ni.forEach((n=>{const a=s[n];Object.defineProperty(s,n,{value(...l){var h;const g=I(this),d=this;d?typeof a=="function"&&a.call(d,...l):(h=g?.H)==null||h.then((c=>{const p=c[n];typeof p=="function"&&p.call(c,...l)}))}})}));{e.watchers&&!t.F&&(t.F=Rt(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const n=Object.entries((i=t.t)!=null?i:{});n.map((([a,[l]])=>{if(31&l||32&l){const{get:h,set:g}=se(s,a)||{};h&&(t.t[a][0]|=2048),g&&(t.t[a][0]|=4096),Object.defineProperty(s,a,{get(){return h?h.apply(this):(d=a,I(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(s,a,{set(d){const c=I(this);if(c){if(g)return(32&l?this[a]:c.$hostElement$[a])===void 0&&c.l.get(a)&&(d=c.l.get(a)),g.apply(this,[Tt(d,l,!!(64&t.i))]),void Gt(this,a,d=32&l?this[a]:c.$hostElement$[a],t);Gt(this,a,d,t)}}})}}));{const a=new Map;s.attributeChangedCallback=function(l,h,g){A.jmp((()=>{var d;const c=a.get(l),p=I(this);if(this.hasOwnProperty(c),s.hasOwnProperty(c)&&typeof this[c]=="number"&&this[c]==g)return;if(c==null){const b=p?.i;if(p&&b&&!(8&b)&&g!==h){const f=this,k=(d=t.F)==null?void 0:d[l];k?.forEach((x=>{const[[_,S]]=Object.entries(x);f[_]!=null&&(128&b||1&S)&&f[_].call(f,g,h,l)}))}return}const u=n.find((([b])=>b===c)),y=u&&4&u[1][0],v=y&&g===null&&this[c]===void 0;y&&(g=g!==null&&g!=="false");const m=Object.getOwnPropertyDescriptor(s,c);v||g==this[c]||m.get&&!m.set||(this[c]=g)}))},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.F)!=null?r:{}),...n.filter((([l,h])=>31&h[0])).map((([l,h])=>{var g;const d=h[1]||l;return a.set(d,l),512&h[0]&&((g=t.C)==null||g.push([l,d])),d}))]))}}return e},Pe=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.W=t[3],o.F=Rt(e.F),o.P=e.P,o.U=e.U,o.C=[];const i=e.prototype.connectedCallback,r=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((s,n)=>{const a={i:0,$hostElement$:s,o:n,l:new Map,B:new Map};a.H=new Promise((h=>a.L=h)),s["s-p"]=[],s["s-rc"]=[];const l=a;s.__stencil__getHostRef=()=>l,512&n.i&&Ei(s,a)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const s=I(this);if(!s)return;Ht(this,s,o.W),this.__hasHostListenerAttached=!0}(s=>{if(!(1&A.i)){const n=I(s);if(!n)return;const a=n.o;if(1&n.i)Ht(s,n,a.W),n?.D||n?.H&&n.H.then((()=>{}));else{n.i|=1,12&a.i&&(l=>{if(!C.document)return;const h=l["s-cr"]=C.document.createComment("");h["s-cn"]=!0,T(l,h,l.firstChild)})(s);{let l=s;for(;l=l.parentNode||l.host;)if(l["s-p"]){Bt(n,n.R=l);break}}a.t&&Object.entries(a.t).map((([l,[h]])=>{if(31&h&&Object.prototype.hasOwnProperty.call(s,l)){const g=s[l];delete s[l],s[l]=g}})),(async(l,h,g)=>{let d;try{if(!(32&h.i)&&(h.i|=32,d=l.constructor,customElements.whenDefined(l.localName).then((()=>h.i|=128)),d&&d.style)){let u;typeof d.style=="string"&&(u=d.style);const y=Nt(g);Se.has(y)||((v,m,b)=>{let f=Se.get(v);Fe&&b?(f=f||new CSSStyleSheet,typeof f=="string"?f=m:f.replaceSync(m)):f=m,Se.set(v,f)})(y,u,!!(1&g.i))}const c=h.R,p=()=>et(h,!0);c&&c["s-rc"]?c["s-rc"].push(p):p()}catch(c){Y(c,l),h.A&&(h.A(),h.A=void 0),h.L&&h.L(l)}})(s,n,a)}}})(this),i&&i.call(this)},disconnectedCallback(){(async s=>{if(!(1&A.i)){const n=I(s);n?.V&&(n.V.map((a=>a())),n.V=void 0)}W.has(s)&&W.delete(s),s.shadowRoot&&W.has(s.shadowRoot)&&W.delete(s.shadowRoot)})(this),r&&r.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ti.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),Yi(e,o,3)}catch(i){return Y(i),e}},Ht=(e,t,o)=>{o&&C.document&&o.map((([i,r,s])=>{const n=Zi(C.document,e,i),a=Ki(t,s),l=Ji(i);A.ael(n,r,a,l),(t.V=t.V||[]).push((()=>A.rel(n,r,a,l)))}))},Ki=(e,t)=>o=>{try{e.$hostElement$[t](o)}catch(i){Y(i,e.$hostElement$)}},Zi=(e,t,o)=>8&o?C:t,Ji=e=>$i?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Nr(e){return e}function Ut(e){var t,o,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(o=Ut(e[t]))&&(i&&(i+=" "),i+=o)}else for(o in e)e[o]&&(i&&(i+=" "),i+=o);return i}function Z(){for(var e,t,o=0,i="",r=arguments.length;o<r;o++)(e=arguments[o])&&(t=Ut(e))&&(i&&(i+=" "),i+=t);return i}const Qi=Object.freeze(Object.defineProperty({__proto__:null,getGidsAdvancedTooltipClassNames:({visible:e},t)=>Z("gids-advanced-tooltip",{"gids-advanced-tooltip--visible":e},t)},Symbol.toStringTag,{value:"Module"})),eo=Object.freeze(Object.defineProperty({__proto__:null,getElementVisibility:e=>{const{label:t,supportingText:o}=e,i=typeof t=="string"&&t.trim().length>0,r=typeof o=="string"&&o.trim().length>0;return{hasLabel:i,hasSupportingText:r}}},Symbol.toStringTag,{value:"Module"})),Re=64,Xt=10,Yt=Re/2-Xt/2,to=Re/2,tt=2*Math.PI*Yt,io=`0 0 ${Re} ${Re}`,oo=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const o=typeof t=="number"&&t>0?t:1,r=Math.max(0,Math.min(o,e))/o*100,s=(tt*r/100).toFixed(2),n=(tt-parseFloat(s)).toFixed(2);return`${s} ${n}`},centerPosition:to,circumference:tt,radius:Yt,thickness:Xt,viewBox:io},Symbol.toStringTag,{value:"Module"})),ro=Object.freeze(Object.defineProperty({__proto__:null,getGidsChartLegendItemClassNames:({seriesType:e,orientation:t},o)=>Z("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"},o)},Symbol.toStringTag,{value:"Module"})),so=Object.freeze(Object.defineProperty({__proto__:null,getGidsChartLegendClassNames:({orientation:e},t)=>Z("gids-chart-legend",{"gids-chart-legend--orientation-vertical":e==="vertical"},t)},Symbol.toStringTag,{value:"Module"})),no=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>Z("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"})),lo=Object.freeze(Object.defineProperty({__proto__:null,getGidsLineChartClassNames:({breakpoint:e},t)=>Z("gids-line-chart",{"gids-line-chart--breakpoint-mobile":e==="mobile"},t)},Symbol.toStringTag,{value:"Module"})),ao=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:o},i)=>Z("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},o,i)},Symbol.toStringTag,{value:"Module"})),co=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerClassNames:({size:e},t)=>Z("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"})),it=Symbol("defaultPath"),Kt=Symbol("pathSet"),ot="gids-asset-paths-set";class ho extends EventTarget{#i=new Map;constructor(){super()}#e(t,o){this.#i.set(t,o)}#t(t){return this.#i.get(t)??null}#o=()=>{this.dispatchEvent(new Event(ot))};haveAssetPathsBeenSet(){return this.#t(Kt)!==null}setAssetPaths(t,o){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(it,t);else{for(const i in t)this.#e(i,t[i]);o&&this.#e(it,o)}this.#e(Kt,"true"),setTimeout(this.#o,0)}}getAssetFilePath(t){const o=this.#t(t);if(o===null){const i=this.#t(it);if(i!==null)return`${i}${i.endsWith("/")?"":"/"}${t}`}return o}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(ot,t,{once:!0}),()=>{this.removeEventListener(ot,t)}}}const rt=Symbol.for("GIDS"),uo=()=>(globalThis[rt]===void 0&&(globalThis[rt]={assetPaths:{}}),globalThis[rt]),po=e=>{const t=uo().assetPaths;return t[e]===void 0&&(t[e]=new ho),t[e]};function st(){return po("@ganpatiinfo/gids-web-shared")}function go(){return st().haveAssetPathsBeenSet()}function Zt(e){return st().getAssetFilePath(e)}function fo(e){return st().onAssetPathsSet(e)}let mo=0;const bo=(e,t="gids")=>e||`${t}-${mo++}`,{getGidsSpinnerControlClassNames:yo}=ao,{calculateStrokeDasharray:vo,thickness:Jt,radius:Qt,centerPosition:Te,viewBox:wo}=oo,xo=({size:e,indeterminate:t,value:o,max:i,...r})=>{let s;return t||(s={strokeDashArray:vo(o,i||0),strokeDashoffset:"0"}),w("svg",{class:yo({size:e,indeterminate:t,value:o}),viewBox:wo,...r},w("circle",{class:"gids-spinner-control__track",cx:Te,cy:Te,r:Qt,"stroke-width":Jt}),w("circle",{style:s,class:"gids-spinner-control__progress",cx:Te,cy:Te,r:Qt,"stroke-width":Jt}))},{getGidsSpinnerClassNames:ko}=co,{getElementVisibility:_o}=eo,So=({label:e,supportingText:t,size:o,indeterminate:i,value:r,max:s,class:n,...a})=>{const{hasLabel:l,hasSupportingText:h}=_o({label:e,supportingText:t});return w("span",{class:ko({size:o},n),...a},w(xo,{size:o,indeterminate:i,value:r,max:s}),l&&w("span",{class:"gids-spinner__label"},e),h&&w("span",{class:"gids-spinner__supporting-text"},t))},ei={"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","acorn","address-book","address-book-tabs","air-traffic-control","airplane","airplane-in-flight","airplane-landing","airplane-takeoff","airplane-taxiing","airplane-tilt","airplay","alarm","alien","align-bottom","align-bottom-simple","align-center-horizontal","align-center-horizontal-simple","align-center-vertical","align-center-vertical-simple","align-left","align-left-simple","align-right","align-right-simple","align-top","align-top-simple","amazon-logo","ambulance","anchor","anchor-simple","android-logo","angle","angular-logo","aperture","app-store-logo","app-window","apple-logo","apple-podcasts-logo","approximate-equals","armchair","arrow-arc-left","arrow-arc-right","arrow-bend-double-up-left","arrow-bend-double-up-right","arrow-bend-down-left","arrow-bend-down-right","arrow-bend-left-down","arrow-bend-left-up","arrow-bend-right-down","arrow-bend-right-up","arrow-bend-up-left","arrow-bend-up-right","arrow-circle-down","arrow-circle-down-left","arrow-circle-down-right","arrow-circle-left","arrow-circle-right","arrow-circle-up","arrow-circle-up-left","arrow-circle-up-right","arrow-clockwise","arrow-counter-clockwise","arrow-down-left","arrow-down-right","arrow-elbow-down-left","arrow-elbow-down-right","arrow-elbow-left","arrow-elbow-left-down","arrow-elbow-left-up","arrow-elbow-right","arrow-elbow-right-down","arrow-elbow-right-up","arrow-elbow-up-left","arrow-elbow-up-right","arrow-fat-down","arrow-fat-left","arrow-fat-line-down","arrow-fat-line-left","arrow-fat-line-right","arrow-fat-line-up","arrow-fat-lines-down","arrow-fat-lines-left","arrow-fat-lines-right","arrow-fat-lines-up","arrow-fat-right","arrow-fat-up","arrow-line-down","arrow-line-down-left","arrow-line-down-right","arrow-line-left","arrow-line-right","arrow-line-up","arrow-line-up-left","arrow-line-up-right","arrow-square-down","arrow-square-down-left","arrow-square-down-right","arrow-square-in","arrow-square-left","arrow-square-out","arrow-square-right","arrow-square-up","arrow-square-up-left","arrow-square-up-right","arrow-u-down-left","arrow-u-down-right","arrow-u-left-down","arrow-u-left-up","arrow-u-right-down","arrow-u-right-up","arrow-u-up-left","arrow-u-up-right","arrow-up-left","arrow-up-right","arrows-clockwise","arrows-counter-clockwise","arrows-down-up","arrows-horizontal","arrows-in","arrows-in-cardinal","arrows-in-line-horizontal","arrows-in-line-vertical","arrows-in-simple","arrows-left-right","arrows-merge","arrows-out","arrows-out-cardinal","arrows-out-line-horizontal","arrows-out-line-vertical","arrows-out-simple","arrows-split","arrows-vertical","article","article-medium","article-ny-times","asclepius","asterisk","asterisk-simple","at","atom","avocado","axe","baby","baby-carriage","backpack","backspace","bag","bag-simple","balloon","bandaids","bank","barbell","barcode","barn","barricade","baseball","baseball-cap","baseball-helmet","basket","basketball","bathtub","battery-charging","battery-charging-vertical","battery-empty","battery-full","battery-high","battery-low","battery-medium","battery-plus","battery-plus-vertical","battery-vertical-empty","battery-vertical-full","battery-vertical-high","battery-vertical-low","battery-vertical-medium","battery-warning","battery-warning-vertical","beach-ball","beanie","bed","beer-bottle","beer-stein","behance-logo","bell","bell-ringing","bell-simple","bell-simple-ringing","bell-simple-slash","bell-simple-z","bell-slash","bell-z","belt","bezier-curve","bicycle","binary","binoculars","biohazard","bird","blueprint","bluetooth-connected","bluetooth-slash","bluetooth-x","boat","bomb","bone","book","book-bookmark","book-open","book-open-text","book-open-user","bookmark-simple","bookmarks","bookmarks-simple","books","boot","boules","bounding-box","bowl-food","bowl-steam","bowling-ball","box-arrow-down","box-arrow-up","boxing-glove","brackets-angle","brackets-curly","brackets-round","brackets-square","brain","brandy","bread","bridge","briefcase","briefcase-metal","broadcast","broom","browser","browsers","bug","bug-beetle","bug-droid","building","building-apartment","building-office","buildings","bulldozer","bus","butterfly","cable-car","cactus","cake","calculator","calendar-blank","calendar-check","calendar-dot","calendar-dots","calendar-heart","calendar-minus","calendar-plus","calendar-slash","calendar-star","calendar-x","call-bell","camera-plus","camera-rotate","camera-slash","campfire","car","car-battery","car-profile","car-simple","cardholder","cards","cards-three","caret-circle-double-down","caret-circle-double-left","caret-circle-double-right","caret-circle-double-up","caret-circle-down","caret-circle-left","caret-circle-right","caret-circle-up","caret-circle-up-down","caret-double-down","caret-double-left","caret-double-right","caret-double-up","caret-down","caret-left","caret-line-down","caret-line-left","caret-line-right","caret-line-up","caret-right","caret-up","caret-up-down","carrot","cash-register","cassette-tape","castle-turret","cat","cell-signal-full","cell-signal-high","cell-signal-low","cell-signal-medium","cell-signal-none","cell-signal-slash","cell-signal-x","cell-tower","certificate","chair","chalkboard","chalkboard-simple","chalkboard-teacher","champagne","charging-station","chart-bar","chart-bar-horizontal","chart-donut","chart-line","chart-line-down","chart-line-up","chart-pie","chart-pie-slice","chart-polar","chart-scatter","chat-centered","chat-centered-dots","chat-centered-slash","chat-centered-text","chat-circle","chat-circle-dots","chat-circle-slash","chat-circle-text","chat-dots","chat-slash","chat-teardrop","chat-teardrop-dots","chat-teardrop-slash","chat-teardrop-text","chat-text","chats","chats-circle","chats-teardrop","check","check-circle","check-fat","check-square","check-square-offset","checkerboard","checks","cheers","cheese","chef-hat","cherries","church","cigarette","cigarette-slash","circle","circle-dashed","circle-half","circle-half-tilt","circle-notch","circles-four","circles-three","circles-three-plus","circuitry","city","clipboard","clipboard-text","clock","clock-afternoon","clock-clockwise","clock-countdown","clock-counter-clockwise","clock-user","closed-captioning","cloud-arrow-down","cloud-arrow-up","cloud-check","cloud-fog","cloud-lightning","cloud-moon","cloud-rain","cloud-slash","cloud-snow","cloud-sun","cloud-warning","cloud-x","clover","club","coat-hanger","coda-logo","code-block","code-simple","codepen-logo","codesandbox-logo","coffee","coffee-bean","coin","coin-vertical","coins","columns","columns-plus-left","columns-plus-right","command","compass-rose","compass-tool","computer-tower","confetti","contactless-payment","control","cookie","cooking-pot","copy-simple","copyleft","copyright","corners-in","corners-out","couch","court-basketball","cow","cowboy-hat","cpu","crane","crane-tower","credit-card","cricket","crop","crosshair","crosshair-simple","crown","crown-cross","crown-simple","cube","cube-focus","cube-transparent","currency-btc","currency-circle-dollar","currency-cny","currency-dollar","currency-dollar-simple","currency-eth","currency-eur","currency-gbp","currency-inr","currency-jpy","currency-krw","currency-kzt","currency-ngn","currency-rub","cursor","cursor-click","cursor-text","cylinder","database","desk","desktop-tower","detective","dev-to-logo","device-mobile","device-mobile-camera","device-mobile-slash","device-mobile-speaker","device-rotate","device-tablet","device-tablet-camera","device-tablet-speaker","devices","diamond","diamonds-four","dice-five","dice-four","dice-one","dice-six","dice-three","dice-two","disc","disco-ball","discord-logo","divide","dna","dog","door","door-open","dot","dot-outline","dots-nine","dots-six","dots-six-vertical","dots-three","dots-three-circle","dots-three-circle-vertical","dots-three-outline","dots-three-outline-vertical","dots-three-vertical","download-simple","dress","dresser","dribbble-logo","drone","drop","drop-half","drop-half-bottom","drop-simple","drop-slash","dropbox-logo","ear","ear-slash","egg","egg-crack","eject","eject-simple","elevator","empty","engine","envelope","envelope-open","envelope-simple","envelope-simple-open","equalizer","equals","eraser","escalator-down","escalator-up","exam","exclamation-mark","exclude","exclude-square","export","eye-closed","eye-slash","eyedropper","eyedropper-sample","eyeglasses","eyes","face-mask","facebook-logo","factory","faders","faders-horizontal","fallout-shelter","fan","farm","fast-forward","fast-forward-circle","feather","fediverse-logo","figma-logo","file","file-archive","file-arrow-down","file-arrow-up","file-audio","file-c","file-c-sharp","file-cloud","file-code","file-cpp","file-css","file-csv","file-dashed","file-doc","file-html","file-image","file-ini","file-jpg","file-js","file-jsx","file-lock","file-magnifying-glass","file-md","file-minus","file-pdf","file-plus","file-png","file-ppt","file-py","file-rs","file-sql","file-svg","file-text","file-ts","file-tsx","file-txt","file-video","file-vue","file-x","file-xls","file-zip","files","film-reel","film-script","film-slate","film-strip","fingerprint-simple","finn-the-human","fire","fire-extinguisher","fire-simple","fire-truck","first-aid","first-aid-kit","fish","fish-simple","flag-banner","flag-banner-fold","flag-checkered","flag-pennant","flame","flashlight","flask","flip-horizontal","flip-vertical","floppy-disk","floppy-disk-back","flow-arrow","flower","flower-lotus","flower-tulip","flying-saucer","folder-dashed","folder-lock","folder-minus","folder-open","folder-plus","folder-simple","folder-simple-dashed","folder-simple-lock","folder-simple-minus","folder-simple-plus","folder-simple-star","folder-simple-user","folder-star","folder-user","folders","football","football-helmet","footprints","fork-knife","four-k","frame-corners","framer-logo","function","funnel","funnel-simple","funnel-simple-x","funnel-x","game-controller","garage","gas-can","gas-pump","gauge","gavel","gear","gear-fine","gear-six","gender-female","gender-intersex","gender-male","gender-neuter","gender-nonbinary","gender-transgender","ghost","gif","git-branch","git-commit","git-diff","git-fork","git-merge","git-pull-request","github-logo","gitlab-logo","gitlab-logo-simple","globe-hemisphere-east","globe-hemisphere-west","globe-simple","globe-simple-x","globe-stand","globe-x","goggles","golf","goodreads-logo","google-cardboard-logo","google-chrome-logo","google-drive-logo","google-logo","google-photos-logo","google-play-logo","google-podcasts-logo","gps","gps-fix","gps-slash","gradient","graduation-cap","grains","grains-slash","graph","graphics-card","greater-than","greater-than-or-equal","grid-four","grid-nine","guitar","hair-dryer","hamburger","hammer","hand","hand-arrow-down","hand-arrow-up","hand-coins","hand-deposit","hand-eye","hand-fist","hand-grabbing","hand-heart","hand-palm","hand-peace","hand-pointing","hand-soap","hand-swipe-left","hand-swipe-right","hand-tap","hand-waving","hand-withdraw","handbag","handbag-simple","hands-clapping","hands-praying","handshake","hard-drive","hard-drives","hard-hat","hash","hash-straight","head-circuit","headlights","headset","heart","heart-break","heart-half","heart-straight","heart-straight-break","heartbeat","hexagon","high-definition","high-heel","highlighter","highlighter-circle","hockey","hoodie","horse","hospital","hourglass","hourglass-high","hourglass-low","hourglass-medium","hourglass-simple","hourglass-simple-high","hourglass-simple-low","hourglass-simple-medium","house","house-line","house-simple","hurricane","ice-cream","identification-badge","identification-card","image-broken","image-square","images","images-square","infinity","info","instagram-logo","intersect","intersect-square","intersect-three","intersection","invoice","island","jar","jar-label","jeep","joystick","kanban","key-return","keyboard","keyhole","knife","ladder","ladder-simple","lamp","lamp-pendant","laptop","lasso","lastfm-logo","layout","leaf","lectern","lego","lego-smiley","less-than","less-than-or-equal","letter-circle-h","letter-circle-p","letter-circle-v","lifebuoy","lightbulb","lightbulb-filament","lighthouse","lightning","lightning-a","lightning-slash","line-segment","line-segments","line-vertical","link-break","link-simple","link-simple-break","link-simple-horizontal","link-simple-horizontal-break","linkedin-logo","linktree-logo","linux-logo","list-bullets","list-checks","list-dashes","list-heart","list-magnifying-glass","list-numbers","list-plus","list-star","lock-key","lock-key-open","lock-laminated","lock-laminated-open","lock-open","lock-simple","lock-simple-open","lockers","log","magic-wand","magnet","magnet-straight","magnifying-glass","magnifying-glass-minus","magnifying-glass-plus","mailbox","map-pin","map-pin-area","map-pin-line","map-pin-plus","map-pin-simple","map-pin-simple-area","map-pin-simple-line","map-trifold","markdown-logo","marker-circle","martini","mask-happy","mask-sad","mastodon-logo","math-operations","matrix-logo","medal","medal-military","medium-logo","megaphone","megaphone-simple","member-of","memory","messenger-logo","meta-logo","meteor","metronome","microphone-slash","microphone-stage","microscope","microsoft-excel-logo","microsoft-outlook-logo","microsoft-powerpoint-logo","microsoft-teams-logo","microsoft-word-logo","minus-circle","minus-square","money","money-wavy","monitor","monitor-arrow-up","monitor-play","moon-stars","moped","moped-front","mosque","motorcycle","mountains","mouse","mouse-left-click","mouse-middle-click","mouse-right-click","mouse-scroll","mouse-simple","music-note","music-note-simple","music-notes","music-notes-minus","music-notes-plus","music-notes-simple","navigation-arrow","needle","network-slash","network-x","newspaper","newspaper-clipping","not-equals","not-member-of","not-subset-of","not-superset-of","notches","note","note-blank","note-pencil","notebook","notepad","notification","notion-logo","nuclear-plant","number-circle-eight","number-circle-five","number-circle-four","number-circle-nine","number-circle-one","number-circle-seven","number-circle-six","number-circle-three","number-circle-two","number-circle-zero","number-eight","number-five","number-four","number-nine","number-one","number-seven","number-six","number-square-eight","number-square-five","number-square-four","number-square-nine","number-square-one","number-square-seven","number-square-six","number-square-three","number-square-two","number-square-zero","number-three","number-two","number-zero","numpad","nut","ny-times-logo","octagon","office-chair","onigiri","open-ai-logo","option","orange","orange-slice","oven","package","paint-brush","paint-brush-broad","paint-brush-household","paint-bucket","paint-roller","palette","panorama","pants","paper-plane","paper-plane-right","paper-plane-tilt","paperclip","paperclip-horizontal","parachute","paragraph","parallelogram","park","password","path","patreon-logo","pause-circle","paw-print","paypal-logo","peace","pen","pen-nib","pen-nib-straight","pencil","pencil-circle","pencil-line","pencil-ruler","pencil-simple","pencil-simple-line","pencil-simple-slash","pencil-slash","pentagon","pentagram","pepper","person","person-arms-spread","person-simple","person-simple-bike","person-simple-circle","person-simple-hike","person-simple-run","person-simple-ski","person-simple-snowboard","person-simple-swim","person-simple-tai-chi","person-simple-throw","person-simple-walk","perspective","phone-call","phone-disconnect","phone-incoming","phone-list","phone-outgoing","phone-pause","phone-plus","phone-slash","phone-transfer","phone-x","phosphor-logo","pi","piano-keys","picnic-table","picture-in-picture","piggy-bank","pill","ping-pong","pint-glass","pinterest-logo","pinwheel","pipe","pipe-wrench","pix-logo","pizza","planet","plant","play-circle","play-pause","playlist","plug","plug-charging","plugs","plugs-connected","plus-circle","plus-minus","plus-square","poker-chip","police-car","polygon","popcorn","popsicle","potted-plant","prescription","presentation","presentation-chart","prohibit","prohibit-inset","projector-screen","projector-screen-chart","pulse","push-pin","push-pin-simple","push-pin-simple-slash","push-pin-slash","puzzle-piece","qr-code","question-mark","queue","quotes","rabbit","racquet","radical","radio","radio-button","radioactive","rainbow","rainbow-cloud","ranking","read-cv-logo","receipt","receipt-x","record","rectangle","rectangle-dashed","recycle","reddit-logo","repeat-once","replit-logo","resize","rewind","rewind-circle","road-horizon","robot","rocket","rocket-launch","rows","rows-plus-bottom","rows-plus-top","rss","rss-simple","rug","ruler","sailboat","scales","scan","scan-smiley","scissors","scooter","screencast","screwdriver","scribble","scribble-loop","scroll","seal","seal-check","seal-percent","seal-question","seal-warning","seat","seatbelt","security-camera","selection","selection-all","selection-background","selection-foreground","selection-inverse","selection-plus","selection-slash","shapes","share-fat","share-network","shield-check","shield-checkered","shield-chevron","shield-plus","shield-slash","shield-star","shield-warning","shipping-container","shirt-folded","shooting-star","shopping-bag","shopping-bag-open","shopping-cart","shopping-cart-simple","shovel","shower","shrimp","shuffle-angular","shuffle-simple","sidebar","sidebar-simple","sigma","sign-in","sign-out","signature","signpost","sim-card","siren","sketch-logo","skip-back","skip-back-circle","skip-forward","skip-forward-circle","skull","skype-logo","slack-logo","sliders","sliders-horizontal","slideshow","smiley","smiley-angry","smiley-blank","smiley-meh","smiley-melting","smiley-nervous","smiley-sad","smiley-sticker","smiley-wink","smiley-x-eyes","snapchat-logo","sneaker","sneaker-move","snowflake","soccer-ball","sock","solar-panel","solar-roof","sort-ascending","sort-descending","soundcloud-logo","spade","sparkle","speaker-hifi","speaker-high","speaker-low","speaker-none","speaker-simple-high","speaker-simple-low","speaker-simple-none","speaker-simple-slash","speaker-simple-x","speaker-slash","speaker-x","speedometer","sphere","spinner","spinner-ball","spinner-gap","spiral","split-horizontal","split-vertical","spotify-logo","spray-bottle","square","square-half","square-half-bottom","square-logo","square-split-horizontal","square-split-vertical","squares-four","stack","stack-minus","stack-overflow-logo","stack-plus","stack-simple","stairs","stamp","standard-definition","star-and-crescent","star-four","star-half","star-of-david","steam-logo","steering-wheel","steps","stethoscope","sticker","stool","stop-circle","storefront","strategy","stripe-logo","student","subset-of","subset-proper-of","subtitles","subtitles-slash","subtract","subtract-square","subway","suitcase","suitcase-rolling","suitcase-simple","sun-dim","sun-horizon","sunglasses","superset-of","superset-proper-of","swap","swatches","swimming-pool","sword","synagogue","syringe","t-shirt","table","tabs","tag","tag-chevron","tag-simple","target","taxi","tea-bag","telegram-logo","television","television-simple","tennis-ball","tent","terminal","terminal-window","test-tube","text-a-underline","text-aa","text-align-center","text-align-justify","text-align-left","text-align-right","text-b","text-columns","text-h","text-h-five","text-h-four","text-h-one","text-h-six","text-h-three","text-h-two","text-indent","text-italic","text-outdent","text-strikethrough","text-subscript","text-superscript","text-t","text-t-slash","text-underline","textbox","thermometer","thermometer-cold","thermometer-hot","thermometer-simple","threads-logo","three-d","ticket","tidal-logo","tiktok-logo","tilde","timer","tip-jar","tipi","tire","toggle-left","toggle-right","toilet","toilet-paper","toolbox","tooth","tornado","tote","tote-simple","towel","tractor","trademark","trademark-registered","traffic-cone","traffic-sign","traffic-signal","train","train-regional","train-simple","tram","translate","trash","trash-simple","tray","tray-arrow-down","tray-arrow-up","treasure-chest","tree","tree-evergreen","tree-palm","tree-structure","tree-view","triangle","triangle-dashed","trolley","trolley-suitcase","trophy","truck","truck-trailer","tumblr-logo","twitch-logo","twitter-logo","umbrella","umbrella-simple","union","unite","unite-square","upload-simple","usb","user-check","user-circle","user-circle-check","user-circle-dashed","user-circle-gear","user-circle-minus","user-circle-plus","user-focus","user-gear","user-list","user-minus","user-plus","user-rectangle","user-sound","user-square","user-switch","users-four","users-three","van","vault","vector-three","vector-two","vibrate","video-camera","video-camera-slash","video-conference","vignette","vinyl-record","virtual-reality","virus","visor","voicemail","volleyball","wall","warehouse","warning-circle","warning-diamond","warning-octagon","washing-machine","watch","wave-sawtooth","wave-sine","wave-square","wave-triangle","waveform","waveform-slash","waves","webcam","webcam-slash","webhooks-logo","wechat-logo","whatsapp-logo","wheelchair","wheelchair-motion","wifi-high","wifi-low","wifi-medium","wifi-none","wifi-slash","wifi-x","windmill","windows-logo","wine","wrench","x","x-circle","x-logo","x-square","yarn","yin-yang","youtube-logo"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},ti=new Map;for(const e in ei)for(const t of ei[e])ti.set(t,e);function Co(e){return ti.get(e)}function ii(e,t="regular",o){const i=Co(e);let r=i??"";return o&&i&&(r=o(i)??i),`${r}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:Oo}=no,nt=({name:e,size:t,appearance:o,alt:i,class:r,titleId:s,src:n,...a})=>{const l=bo(s);let h=n;return h===void 0&&go()&&(h=ii(e,o,Zt)),w("svg",{ref:g=>{h===void 0&&fo((()=>{(function(d,c,p){if(!d)return;const u=document.createElementNS("http://www.w3.org/2000/svg","use");u.setAttribute("href",ii(c,p,Zt)),d.appendChild(u)})(g,e,o)}))},width:"16",height:"16",class:Oo({size:t},r),role:"img","aria-hidden":i===""?"true":void 0,"aria-labelledby":i===""?void 0:l,...a},i!==""&&w("title",{id:l},i||e),h!==void 0?w("use",{href:h}):null)},le=Math.min,J=Math.max,Le=Math.round,ze=Math.floor,M=e=>({x:e,y:e}),Ao={left:"right",right:"left",bottom:"top",top:"bottom"};function lt(e,t,o){return J(e,le(t,o))}function ye(e,t){return typeof e=="function"?e(t):e}function Q(e){return e.split("-")[0]}function ve(e){return e.split("-")[1]}function oi(e){return e==="x"?"y":"x"}function at(e){return e==="y"?"height":"width"}function G(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function ct(e){return oi(G(e))}function Eo(e,t,o){o===void 0&&(o=!1);const i=ve(e),r=ct(e),s=at(r);let n=r==="x"?i===(o?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(n=je(n)),[n,je(n)]}function No(e){const t=je(e);return[dt(e),t,dt(t)]}function dt(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const ri=["left","right"],si=["right","left"],$o=["top","bottom"],Po=["bottom","top"];function Ro(e,t,o){switch(e){case"top":case"bottom":return o?t?si:ri:t?ri:si;case"left":case"right":return t?$o:Po;default:return[]}}function To(e,t,o,i){const r=ve(e);let s=Ro(Q(e),o==="start",i);return r&&(s=s.map(n=>n+"-"+r),t&&(s=s.concat(s.map(dt)))),s}function je(e){const t=Q(e);return Ao[t]+e.slice(t.length)}function Lo(e){return{top:0,right:0,bottom:0,left:0,...e}}function ni(e){return typeof e!="number"?Lo(e):{top:e,right:e,bottom:e,left:e}}function De(e){const{x:t,y:o,width:i,height:r}=e;return{width:i,height:r,top:o,left:t,right:t+i,bottom:o+r,x:t,y:o}}function li(e,t,o){let{reference:i,floating:r}=e;const s=G(t),n=ct(t),a=at(n),l=Q(t),h=s==="y",g=i.x+i.width/2-r.width/2,d=i.y+i.height/2-r.height/2,c=i[a]/2-r[a]/2;let p;switch(l){case"top":p={x:g,y:i.y-r.height};break;case"bottom":p={x:g,y:i.y+i.height};break;case"right":p={x:i.x+i.width,y:d};break;case"left":p={x:i.x-r.width,y:d};break;default:p={x:i.x,y:i.y}}switch(ve(t)){case"start":p[n]-=c*(o&&h?-1:1);break;case"end":p[n]+=c*(o&&h?-1:1);break}return p}async function zo(e,t){var o;t===void 0&&(t={});const{x:i,y:r,platform:s,rects:n,elements:a,strategy:l}=e,{boundary:h="clippingAncestors",rootBoundary:g="viewport",elementContext:d="floating",altBoundary:c=!1,padding:p=0}=ye(t,e),u=ni(p),v=a[c?d==="floating"?"reference":"floating":d],m=De(await s.getClippingRect({element:(o=await(s.isElement==null?void 0:s.isElement(v)))==null||o?v:v.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:h,rootBoundary:g,strategy:l})),b=d==="floating"?{x:i,y:r,width:n.floating.width,height:n.floating.height}:n.reference,f=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),k=await(s.isElement==null?void 0:s.isElement(f))?await(s.getScale==null?void 0:s.getScale(f))||{x:1,y:1}:{x:1,y:1},x=De(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:b,offsetParent:f,strategy:l}):b);return{top:(m.top-x.top+u.top)/k.y,bottom:(x.bottom-m.bottom+u.bottom)/k.y,left:(m.left-x.left+u.left)/k.x,right:(x.right-m.right+u.right)/k.x}}const jo=50,Do=async(e,t,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:s=[],platform:n}=o,a=n.detectOverflow?n:{...n,detectOverflow:zo},l=await(n.isRTL==null?void 0:n.isRTL(t));let h=await n.getElementRects({reference:e,floating:t,strategy:r}),{x:g,y:d}=li(h,i,l),c=i,p=0;const u={};for(let y=0;y<s.length;y++){const v=s[y];if(!v)continue;const{name:m,fn:b}=v,{x:f,y:k,data:x,reset:_}=await b({x:g,y:d,initialPlacement:i,placement:c,strategy:r,middlewareData:u,rects:h,platform:a,elements:{reference:e,floating:t}});g=f??g,d=k??d,u[m]={...u[m],...x},_&&p<jo&&(p++,typeof _=="object"&&(_.placement&&(c=_.placement),_.rects&&(h=_.rects===!0?await n.getElementRects({reference:e,floating:t,strategy:r}):_.rects),{x:g,y:d}=li(h,c,l)),y=-1)}return{x:g,y:d,placement:c,strategy:r,middlewareData:u}},Mo=e=>({name:"arrow",options:e,async fn(t){const{x:o,y:i,placement:r,rects:s,platform:n,elements:a,middlewareData:l}=t,{element:h,padding:g=0}=ye(e,t)||{};if(h==null)return{};const d=ni(g),c={x:o,y:i},p=ct(r),u=at(p),y=await n.getDimensions(h),v=p==="y",m=v?"top":"left",b=v?"bottom":"right",f=v?"clientHeight":"clientWidth",k=s.reference[u]+s.reference[p]-c[p]-s.floating[u],x=c[p]-s.reference[p],_=await(n.getOffsetParent==null?void 0:n.getOffsetParent(h));let S=_?_[f]:0;(!S||!await(n.isElement==null?void 0:n.isElement(_)))&&(S=a.floating[f]||s.floating[u]);const O=k/2-x/2,E=S/2-y[u]/2-1,R=le(d[m],E),ke=le(d[b],E),oe=R,_e=S-y[u]-ke,N=S/2-y[u]/2+O,re=lt(oe,N,_e),B=!l.arrow&&ve(r)!=null&&N!==re&&s.reference[u]/2-(N<oe?R:ke)-y[u]/2<0,j=B?N<oe?N-oe:N-_e:0;return{[p]:c[p]+j,data:{[p]:re,centerOffset:N-re-j,...B&&{alignmentOffset:j}},reset:B}}}),qo=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,i;const{placement:r,middlewareData:s,rects:n,initialPlacement:a,platform:l,elements:h}=t,{mainAxis:g=!0,crossAxis:d=!0,fallbackPlacements:c,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:u="none",flipAlignment:y=!0,...v}=ye(e,t);if((o=s.arrow)!=null&&o.alignmentOffset)return{};const m=Q(r),b=G(a),f=Q(a)===a,k=await(l.isRTL==null?void 0:l.isRTL(h.floating)),x=c||(f||!y?[je(a)]:No(a)),_=u!=="none";!c&&_&&x.push(...To(a,y,u,k));const S=[a,...x],O=await l.detectOverflow(t,v),E=[];let R=((i=s.flip)==null?void 0:i.overflows)||[];if(g&&E.push(O[m]),d){const N=Eo(r,n,k);E.push(O[N[0]],O[N[1]])}if(R=[...R,{placement:r,overflows:E}],!E.every(N=>N<=0)){var ke,oe;const N=(((ke=s.flip)==null?void 0:ke.index)||0)+1,re=S[N];if(re&&(!(d==="alignment"?b!==G(re):!1)||R.every(D=>G(D.placement)===b?D.overflows[0]>0:!0)))return{data:{index:N,overflows:R},reset:{placement:re}};let B=(oe=R.filter(j=>j.overflows[0]<=0).sort((j,D)=>j.overflows[1]-D.overflows[1])[0])==null?void 0:oe.placement;if(!B)switch(p){case"bestFit":{var _e;const j=(_e=R.filter(D=>{if(_){const U=G(D.placement);return U===b||U==="y"}return!0}).map(D=>[D.placement,D.overflows.filter(U=>U>0).reduce((U,Er)=>U+Er,0)]).sort((D,U)=>D[1]-U[1])[0])==null?void 0:_e[0];j&&(B=j);break}case"initialPlacement":B=a;break}if(r!==B)return{reset:{placement:B}}}return{}}}},Io=new Set(["left","top"]);async function Vo(e,t){const{placement:o,platform:i,elements:r}=e,s=await(i.isRTL==null?void 0:i.isRTL(r.floating)),n=Q(o),a=ve(o),l=G(o)==="y",h=Io.has(n)?-1:1,g=s&&l?-1:1,d=ye(t,e);let{mainAxis:c,crossAxis:p,alignmentAxis:u}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof u=="number"&&(p=a==="end"?u*-1:u),l?{x:p*g,y:c*h}:{x:c*h,y:p*g}}const Fo=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,i;const{x:r,y:s,placement:n,middlewareData:a}=t,l=await Vo(t,e);return n===((o=a.offset)==null?void 0:o.placement)&&(i=a.arrow)!=null&&i.alignmentOffset?{}:{x:r+l.x,y:s+l.y,data:{...l,placement:n}}}}},Bo=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:i,placement:r,platform:s}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:m=>{let{x:b,y:f}=m;return{x:b,y:f}}},...h}=ye(e,t),g={x:o,y:i},d=await s.detectOverflow(t,h),c=G(Q(r)),p=oi(c);let u=g[p],y=g[c];if(n){const m=p==="y"?"top":"left",b=p==="y"?"bottom":"right",f=u+d[m],k=u-d[b];u=lt(f,u,k)}if(a){const m=c==="y"?"top":"left",b=c==="y"?"bottom":"right",f=y+d[m],k=y-d[b];y=lt(f,y,k)}const v=l.fn({...t,[p]:u,[c]:y});return{...v,data:{x:v.x-o,y:v.y-i,enabled:{[p]:n,[c]:a}}}}}};function Me(){return typeof window<"u"}function ae(e){return ai(e)?(e.nodeName||"").toLowerCase():"#document"}function P(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function q(e){var t;return(t=(ai(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ai(e){return Me()?e instanceof Node||e instanceof P(e).Node:!1}function L(e){return Me()?e instanceof Element||e instanceof P(e).Element:!1}function F(e){return Me()?e instanceof HTMLElement||e instanceof P(e).HTMLElement:!1}function ci(e){return!Me()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof P(e).ShadowRoot}function we(e){const{overflow:t,overflowX:o,overflowY:i,display:r}=z(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+o)&&r!=="inline"&&r!=="contents"}function Wo(e){return/^(table|td|th)$/.test(ae(e))}function qe(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Go=/transform|translate|scale|rotate|perspective|filter/,Ho=/paint|layout|strict|content/,ee=e=>!!e&&e!=="none";let ht;function ut(e){const t=L(e)?z(e):e;return ee(t.transform)||ee(t.translate)||ee(t.scale)||ee(t.rotate)||ee(t.perspective)||!pt()&&(ee(t.backdropFilter)||ee(t.filter))||Go.test(t.willChange||"")||Ho.test(t.contain||"")}function Uo(e){let t=H(e);for(;F(t)&&!ce(t);){if(ut(t))return t;if(qe(t))return null;t=H(t)}return null}function pt(){return ht==null&&(ht=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ht}function ce(e){return/^(html|body|#document)$/.test(ae(e))}function z(e){return P(e).getComputedStyle(e)}function Ie(e){return L(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function H(e){if(ae(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ci(e)&&e.host||q(e);return ci(t)?t.host:t}function di(e){const t=H(e);return ce(t)?e.ownerDocument?e.ownerDocument.body:e.body:F(t)&&we(t)?t:di(t)}function xe(e,t,o){var i;t===void 0&&(t=[]),o===void 0&&(o=!0);const r=di(e),s=r===((i=e.ownerDocument)==null?void 0:i.body),n=P(r);if(s){const a=gt(n);return t.concat(n,n.visualViewport||[],we(r)?r:[],a&&o?xe(a):[])}else return t.concat(r,xe(r,[],o))}function gt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function hi(e){const t=z(e);let o=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const r=F(e),s=r?e.offsetWidth:o,n=r?e.offsetHeight:i,a=Le(o)!==s||Le(i)!==n;return a&&(o=s,i=n),{width:o,height:i,$:a}}function ft(e){return L(e)?e:e.contextElement}function de(e){const t=ft(e);if(!F(t))return M(1);const o=t.getBoundingClientRect(),{width:i,height:r,$:s}=hi(t);let n=(s?Le(o.width):o.width)/i,a=(s?Le(o.height):o.height)/r;return(!n||!Number.isFinite(n))&&(n=1),(!a||!Number.isFinite(a))&&(a=1),{x:n,y:a}}const Xo=M(0);function ui(e){const t=P(e);return!pt()||!t.visualViewport?Xo:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Yo(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==P(e)?!1:t}function te(e,t,o,i){t===void 0&&(t=!1),o===void 0&&(o=!1);const r=e.getBoundingClientRect(),s=ft(e);let n=M(1);t&&(i?L(i)&&(n=de(i)):n=de(e));const a=Yo(s,o,i)?ui(s):M(0);let l=(r.left+a.x)/n.x,h=(r.top+a.y)/n.y,g=r.width/n.x,d=r.height/n.y;if(s){const c=P(s),p=i&&L(i)?P(i):i;let u=c,y=gt(u);for(;y&&i&&p!==u;){const v=de(y),m=y.getBoundingClientRect(),b=z(y),f=m.left+(y.clientLeft+parseFloat(b.paddingLeft))*v.x,k=m.top+(y.clientTop+parseFloat(b.paddingTop))*v.y;l*=v.x,h*=v.y,g*=v.x,d*=v.y,l+=f,h+=k,u=P(y),y=gt(u)}}return De({width:g,height:d,x:l,y:h})}function Ve(e,t){const o=Ie(e).scrollLeft;return t?t.left+o:te(q(e)).left+o}function pi(e,t){const o=e.getBoundingClientRect(),i=o.left+t.scrollLeft-Ve(e,o),r=o.top+t.scrollTop;return{x:i,y:r}}function Ko(e){let{elements:t,rect:o,offsetParent:i,strategy:r}=e;const s=r==="fixed",n=q(i),a=t?qe(t.floating):!1;if(i===n||a&&s)return o;let l={scrollLeft:0,scrollTop:0},h=M(1);const g=M(0),d=F(i);if((d||!d&&!s)&&((ae(i)!=="body"||we(n))&&(l=Ie(i)),d)){const p=te(i);h=de(i),g.x=p.x+i.clientLeft,g.y=p.y+i.clientTop}const c=n&&!d&&!s?pi(n,l):M(0);return{width:o.width*h.x,height:o.height*h.y,x:o.x*h.x-l.scrollLeft*h.x+g.x+c.x,y:o.y*h.y-l.scrollTop*h.y+g.y+c.y}}function Zo(e){return Array.from(e.getClientRects())}function Jo(e){const t=q(e),o=Ie(e),i=e.ownerDocument.body,r=J(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),s=J(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let n=-o.scrollLeft+Ve(e);const a=-o.scrollTop;return z(i).direction==="rtl"&&(n+=J(t.clientWidth,i.clientWidth)-r),{width:r,height:s,x:n,y:a}}const gi=25;function Qo(e,t){const o=P(e),i=q(e),r=o.visualViewport;let s=i.clientWidth,n=i.clientHeight,a=0,l=0;if(r){s=r.width,n=r.height;const g=pt();(!g||g&&t==="fixed")&&(a=r.offsetLeft,l=r.offsetTop)}const h=Ve(i);if(h<=0){const g=i.ownerDocument,d=g.body,c=getComputedStyle(d),p=g.compatMode==="CSS1Compat"&&parseFloat(c.marginLeft)+parseFloat(c.marginRight)||0,u=Math.abs(i.clientWidth-d.clientWidth-p);u<=gi&&(s-=u)}else h<=gi&&(s+=h);return{width:s,height:n,x:a,y:l}}function er(e,t){const o=te(e,!0,t==="fixed"),i=o.top+e.clientTop,r=o.left+e.clientLeft,s=F(e)?de(e):M(1),n=e.clientWidth*s.x,a=e.clientHeight*s.y,l=r*s.x,h=i*s.y;return{width:n,height:a,x:l,y:h}}function fi(e,t,o){let i;if(t==="viewport")i=Qo(e,o);else if(t==="document")i=Jo(q(e));else if(L(t))i=er(t,o);else{const r=ui(e);i={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return De(i)}function mi(e,t){const o=H(e);return o===t||!L(o)||ce(o)?!1:z(o).position==="fixed"||mi(o,t)}function tr(e,t){const o=t.get(e);if(o)return o;let i=xe(e,[],!1).filter(a=>L(a)&&ae(a)!=="body"),r=null;const s=z(e).position==="fixed";let n=s?H(e):e;for(;L(n)&&!ce(n);){const a=z(n),l=ut(n);!l&&a.position==="fixed"&&(r=null),(s?!l&&!r:!l&&a.position==="static"&&!!r&&(r.position==="absolute"||r.position==="fixed")||we(n)&&!l&&mi(e,n))?i=i.filter(g=>g!==n):r=a,n=H(n)}return t.set(e,i),i}function ir(e){let{element:t,boundary:o,rootBoundary:i,strategy:r}=e;const n=[...o==="clippingAncestors"?qe(t)?[]:tr(t,this._c):[].concat(o),i],a=fi(t,n[0],r);let l=a.top,h=a.right,g=a.bottom,d=a.left;for(let c=1;c<n.length;c++){const p=fi(t,n[c],r);l=J(p.top,l),h=le(p.right,h),g=le(p.bottom,g),d=J(p.left,d)}return{width:h-d,height:g-l,x:d,y:l}}function or(e){const{width:t,height:o}=hi(e);return{width:t,height:o}}function rr(e,t,o){const i=F(t),r=q(t),s=o==="fixed",n=te(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=M(0);function h(){l.x=Ve(r)}if(i||!i&&!s)if((ae(t)!=="body"||we(r))&&(a=Ie(t)),i){const p=te(t,!0,s,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else r&&h();s&&!i&&r&&h();const g=r&&!i&&!s?pi(r,a):M(0),d=n.left+a.scrollLeft-l.x-g.x,c=n.top+a.scrollTop-l.y-g.y;return{x:d,y:c,width:n.width,height:n.height}}function mt(e){return z(e).position==="static"}function bi(e,t){if(!F(e)||z(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return q(e)===o&&(o=o.ownerDocument.body),o}function yi(e,t){const o=P(e);if(qe(e))return o;if(!F(e)){let r=H(e);for(;r&&!ce(r);){if(L(r)&&!mt(r))return r;r=H(r)}return o}let i=bi(e,t);for(;i&&Wo(i)&&mt(i);)i=bi(i,t);return i&&ce(i)&&mt(i)&&!ut(i)?o:i||Uo(e)||o}const sr=async function(e){const t=this.getOffsetParent||yi,o=this.getDimensions,i=await o(e.floating);return{reference:rr(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function nr(e){return z(e).direction==="rtl"}const bt={convertOffsetParentRelativeRectToViewportRelativeRect:Ko,getDocumentElement:q,getClippingRect:ir,getOffsetParent:yi,getElementRects:sr,getClientRects:Zo,getDimensions:or,getScale:de,isElement:L,isRTL:nr};function vi(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function lr(e,t){let o=null,i;const r=q(e);function s(){var a;clearTimeout(i),(a=o)==null||a.disconnect(),o=null}function n(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const h=e.getBoundingClientRect(),{left:g,top:d,width:c,height:p}=h;if(a||t(),!c||!p)return;const u=ze(d),y=ze(r.clientWidth-(g+c)),v=ze(r.clientHeight-(d+p)),m=ze(g),f={rootMargin:-u+"px "+-y+"px "+-v+"px "+-m+"px",threshold:J(0,le(1,l))||1};let k=!0;function x(_){const S=_[0].intersectionRatio;if(S!==l){if(!k)return n();S?n(!1,S):i=setTimeout(()=>{n(!1,1e-7)},1e3)}S===1&&!vi(h,e.getBoundingClientRect())&&n(),k=!1}try{o=new IntersectionObserver(x,{...f,root:r.ownerDocument})}catch{o=new IntersectionObserver(x,f)}o.observe(e)}return n(!0),s}function ar(e,t,o,i){i===void 0&&(i={});const{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:n=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=i,h=ft(e),g=r||s?[...h?xe(h):[],...t?xe(t):[]]:[];g.forEach(m=>{r&&m.addEventListener("scroll",o,{passive:!0}),s&&m.addEventListener("resize",o)});const d=h&&a?lr(h,o):null;let c=-1,p=null;n&&(p=new ResizeObserver(m=>{let[b]=m;b&&b.target===h&&p&&t&&(p.unobserve(t),cancelAnimationFrame(c),c=requestAnimationFrame(()=>{var f;(f=p)==null||f.observe(t)})),o()}),h&&!l&&p.observe(h),t&&p.observe(t));let u,y=l?te(e):null;l&&v();function v(){const m=te(e);y&&!vi(y,m)&&o(),y=m,u=requestAnimationFrame(v)}return o(),()=>{var m;g.forEach(b=>{r&&b.removeEventListener("scroll",o),s&&b.removeEventListener("resize",o)}),d?.(),(m=p)==null||m.disconnect(),p=null,l&&cancelAnimationFrame(u)}}const cr=Fo,dr=Bo,hr=qo,ur=Mo,pr=(e,t,o)=>{const i=new Map,r={platform:bt,...o},s={...r.platform,_c:i};return Do(e,t,{...r,platform:s})};function wi(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}const gr=/transform|translate|scale|rotate|perspective|filter/,fr=/paint|layout|strict|content/,ie=e=>!!e&&e!=="none";let yt;function mr(e){const t=(o=e,typeof window<"u"&&(o instanceof Element||o instanceof wi(o).Element)?wi(i=e).getComputedStyle(i):e);var o,i;return ie(t.transform)||ie(t.translate)||ie(t.scale)||ie(t.rotate)||ie(t.perspective)||(yt==null&&(yt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),!yt&&(ie(t.backdropFilter)||ie(t.filter)))||gr.test(t.willChange||"")||fr.test(t.contain||"")}function br(e){return(function(t){for(let o=t;o;o=vt(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=vt(t);o;o=vt(o)){if(!(o instanceof Element))continue;const i=getComputedStyle(o);if(i.display!=="contents"&&(i.position!=="static"||mr(i)||o.tagName==="BODY"))return o}return null})(e)}function vt(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}const he=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let xi=!1;he&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(he):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let wt=null;const xt=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{ki()})):void 0,ki=()=>{if(he===void 0)return!1;const e=(()=>{if(he===void 0)return;const t=[];for(let o=0;o<document.styleSheets.length;o++){const i=document.styleSheets.item(o);if(i)try{let r=-1,s=0;for(let n=0;n<i.cssRules.length;n++){const a=i.cssRules.item(n);if(a?.cssText.startsWith("gids-global-styles-start"))r=n;else if(r>-1){if(a?.cssText.startsWith("gids-global-styles-end")){s=n-r+1;break}t.push(a)}}if(r>-1)return{rulesStartIndex:r,originalRulesCount:s,rules:t,styleSheet:i}}catch(r){if(!(r instanceof DOMException))throw r}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return xt!==void 0&&t!==wt&&(wt&&xt.disconnect(),t instanceof Element&&xt.observe(t,{childList:!0,characterData:!0,subtree:!0}),wt=t),he.replaceSync((o=>o.rules.map((i=>i.cssText)).join(""))(e)),(o=>{const{rulesStartIndex:i,originalRulesCount:r,styleSheet:s}=o;for(let n=0;n<r;n++)s.deleteRule(i)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},yr=()=>(xi||(xi=ki()),he),{getGidsAdvancedTooltipClassNames:vr}=Qi,wr=Pe(class extends pe{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.visible=!1,this.x=0,this.y=0,this.offset=12,this.placement="top",this.items=[],this.currentPlacement="top"}connectedCallback(){const e=yr();e&&this.host.shadowRoot?.adoptedStyleSheets.push(e)}componentDidLoad(){const e=this.host.shadowRoot;if(!e)return;const t=e.querySelector(".gids-advanced-tooltip__arrow");t instanceof pe&&(this.tooltipElement=this.host,this.arrowElement=t,this.createVirtualReference(),this.startAutoUpdate(),this.updatePosition())}disconnectedCallback(){this.cleanupAutoUpdate?.()}visibleChanged(){this.updatePosition()}positionChanged(){this.updatePosition()}placementChanged(){this.updatePosition()}itemsChanged(){this.updatePosition()}createVirtualReference(){this.virtualReference||(this.virtualReference={getBoundingClientRect:()=>new DOMRect(this.x,this.y,0,0)})}startAutoUpdate(){this.cleanupAutoUpdate?.(),this.cleanupAutoUpdate=ar(this.virtualReference,this.tooltipElement,(()=>{this.updatePosition()}),{ancestorScroll:!0,ancestorResize:!1,elementResize:!0,layoutShift:!0,animationFrame:!0})}getMiddleware(){return[cr(this.offset),hr({padding:this.offset}),dr({padding:this.offset}),ur({element:this.arrowElement,padding:this.offset})]}async updatePosition(){if(this.tooltipElement)try{const{x:e,y:t,placement:o,middlewareData:i}=await pr(this.virtualReference,this.tooltipElement,{placement:this.placement,strategy:"fixed",middleware:this.getMiddleware(),platform:{...bt,getOffsetParent:r=>bt.getOffsetParent(r,br)}});if(this.currentPlacement=o,Object.assign(this.tooltipElement.style,{left:`${e}px`,top:`${t}px`,position:"fixed"}),i.arrow&&this.arrowElement){const{x:r,y:s}=i.arrow;let n;switch(o.split("-")[0]??"top"){case"top":n="bottom";break;case"right":n="left";break;case"bottom":n="top";break;default:n="right"}Object.assign(this.arrowElement.style,{left:r!=null?`${r}px`:"",top:s!=null?`${s}px`:"",right:"",bottom:"",[n]:"-5px",transform:"rotate(45deg)"})}}catch(e){console.error("computePosition failed",e)}}render(){const e=vr({visible:this.visible});return w($t,{key:"13bb6a794c624327216a1cc03550a9afc6f7d9cb",class:e,role:"tooltip",part:"tooltip"},w("div",{key:"1edafa4de30dc67dece07b8283e6233e26f71986",class:"gids-advanced-tooltip__arrow",part:"arrow"}),w("div",{key:"8b4b08220a7d2c444cca9f62eb4ed2d367b79a13",class:"gids-advanced-tooltip__content"},this.items.map((t=>w("div",{class:"gids-advanced-tooltip__item",key:`${t.label}-${t.value}`},w("div",{class:"gids-advanced-tooltip__left"},w(nt,{name:"new",size:"xs",appearance:"filled",style:{"--gidsIcon-color":t.seriesIndicatorColor}}),w("span",{class:"gids-advanced-tooltip__label"},t.label)),w("span",{class:"gids-advanced-tooltip__value"},t.value))))))}get host(){return this}static get watchers(){return{visible:[{visibleChanged:0}],x:[{positionChanged:0}],y:[{positionChanged:0}],placement:[{placementChanged:0}],items:[{itemsChanged:0}]}}static get style(){return".gids-advanced-tooltip{position:fixed;display:inline-flex;width:fit-content;height:fit-content;z-index:1001;--gidsAdvancedTooltip-background:var( --gids-color-background-neutral-bold-default );--gidsAdvancedTooltip-label-color:var(--gids-color-text-inverse);--gidsAdvancedTooltip-value-color:var(--gids-color-text-inverse)}.gids-advanced-tooltip--visible{opacity:1}.gids-advanced-tooltip__content{box-shadow:var(--gids-elevation-shadow-overlay);background:var(--gidsAdvancedTooltip-background);border-radius:var(--gids-border-radius-md);padding:var(--gids-padding-vertical-edge-to-element-150) var(--gids-padding-horizontal-edge-to-element-150);min-width:140px}.gids-advanced-tooltip__item{display:flex;justify-content:space-between;align-items:center;gap:var(--gids-gap-200)}.gids-advanced-tooltip__item+.gids-advanced-tooltip__item{margin-top:var(--gids-padding-vertical-edge-to-element-075)}.gids-advanced-tooltip__left{display:flex;align-items:center;gap:var(--gids-gap-100)}.gids-advanced-tooltip__arrow{position:absolute;width:10px;height:10px;background:var(--gidsAdvancedTooltip-background);backdrop-filter:calc(var(--gids-backdrop-blur-2-xl));transform:rotate(45deg)}.gids-advanced-tooltip__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);color:var(--gidsAdvancedTooltip-label-color)}.gids-advanced-tooltip__value{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);color:var(--gidsAdvancedTooltip-value-color);white-space:nowrap}"}},[1,"gids-advanced-tooltip",{visible:[516],x:[2],y:[2],offset:[2],placement:[1],items:[16],currentPlacement:[32]},void 0,{visible:[{visibleChanged:0}],x:[{positionChanged:0}],y:[{positionChanged:0}],placement:[{placementChanged:0}],items:[{itemsChanged:0}]}]);function _i(){typeof customElements<"u"&&["gids-advanced-tooltip"].forEach((e=>{e==="gids-advanced-tooltip"&&(customElements.get(e)||customElements.define(e,wr))}))}_i();const{getGidsChartLegendClassNames:xr}=so,kr=Pe(class extends pe{constructor(e){super(),e!==!1&&this.__registerHost(),this.orientation="horizontal"}handleOrientationChange(e){this.orientation=e}render(){const e=xr({orientation:this.orientation});return w("div",{key:"c57dbe65422b2c4588d18bf36a28e4e54ca4259e",class:e},w("slot",{key:"1055b41640de135243f5d912f7245a8d7b282c98"}))}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 Si(){typeof customElements<"u"&&["gids-chart-legend"].forEach((e=>{e==="gids-chart-legend"&&(customElements.get(e)||customElements.define(e,kr))}))}Si();const{getGidsChartLegendItemClassNames:_r}=ro,Sr=Pe(class extends pe{constructor(e){super(),e!==!1&&this.__registerHost(),this.orientation="horizontal",this.seriesType="1"}handleOrientationChange(e){this.orientation=e}handleSeriesTypeChange(e){this.seriesType=e}handleSeriesColorChange(e){this.seriesColor=e}render(){const e=this.seriesColor,t=e&&e!=="",o=_r({seriesType:t?"none":this.seriesType,orientation:this.orientation});return w("div",{key:"4d501b81b39c42c60d7f85cdf8e1227015126c13",class:o},w("div",{key:"0d310b54a5ae0ea0f9519f57cac51ec04b822c29",class:this.orientation==="vertical"?"gids-chart-legend-item__dot-wrapper-vertical":"gids-chart-legend-item__dot-wrapper-horizontal"},w(nt,{key:"ca0436979deffdbdc0c57c567684863049736aa1",name:"new",alt:"new_icon",appearance:"filled",style:t?{"--gidsIcon-color":e}:{}})),w("span",{key:"351452aa92a56b612b036e213879758448718e19",class:"gids-chart-legend-item__label"},w("slot",{key:"6a9156e4054f8857208e8bf6159567ae6694de8b"})))}static get watchers(){return{orientation:[{handleOrientationChange:0}],seriesType:[{handleSeriesTypeChange:0}],seriesColor:[{handleSeriesColorChange: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"],seriesColor:[1,"series-color"]},void 0,{orientation:[{handleOrientationChange:0}],seriesType:[{handleSeriesTypeChange:0}],seriesColor:[{handleSeriesColorChange:0}]}]);function Ci(){typeof customElements<"u"&&["gids-chart-legend-item"].forEach((e=>{e==="gids-chart-legend-item"&&(customElements.get(e)||customElements.define(e,Sr))}))}Ci();const{getGidsLineChartClassNames:Cr}=lo,Oi=Pe(class extends pe{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,this.hoveredIndex=null,this.tooltip={visible:!1,x:0,y: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}getTooltipItems(e){return this.chartData.reduce(((t,o)=>{const i=o.data[e];return i&&t.push({label:o?.label??"",value:String(i.value),seriesIndicatorColor:o?.seriesColor??""}),t}),[])}render(){if(this.chartLoading)return w("div",{class:"gids-line-chart__no-data"},w(So,{label:this.chartLoadingTitle,supportingText:this.chartLoadingSupportingText,size:this?.chartLoaderSize??"lg"}));const e=this.chartData.flatMap((c=>Array.isArray(c?.data)?c.data.map((p=>p.value)):[])),t=e.length>0?Math.max(...e):10,o=Math.pow(10,Math.floor(Math.log10(t||1)));let i=o;t/o<=2?i=o/5:t/o<=5&&(i=o/2);const r=Math.ceil(t/i)*i;let s=[];if(Array.isArray(this.dataPoints)&&this.dataPoints.length>0)s=[...this.dataPoints].sort(((c,p)=>c-p));else{const p=r/4;for(let u=0;u<5;u++)s.push(Math.round(0+u*p))}const n=Math.max(...s,r)-0||1,a=this?.chartData?.[0]?.data?.map((c=>c.label))??[],l=a.length,h=Cr({breakpoint:this.breakpoint});let g=!1,d=!1;return this.breakpoint==="mobile"?this.legend!=="none"&&(g=!0):this.legend==="top"?g=!0:this.legend==="right"&&(d=!0),w("div",{class:h},g?w("div",{class:"gids-line-chart__header"},w("gids-chart-legend",{orientation:"horizontal"},this.chartData.map((c=>w("gids-chart-legend-item",{key:c.label,seriesColor:c?.seriesColor,orientation:"horizontal"},c.label))))):null,w("div",{class:"gids-line-chart__main-container"},w("div",{class:"gids-line-chart__grid-layout"},w("span",{class:"gids-line-chart__y-axis-label"},this.yAxisLabel),w("div",{class:"gids-line-chart__chart-stage-container"},this.yAxisVisible?w("div",{class:"gids-line-chart__y-axis-scale-container"},s.map((c=>w("span",{id:"y-value",class:"gids-line-chart__scale-text gids-line-chart__y-axis-scale-value",key:c,style:{bottom:(c-0)/n*100+"%"}},c)))):null,w("div",{class:"gids-line-chart__chart-stage"},w("svg",{viewBox:"0 0 100 100",class:"gids-line-chart__chart-vector",preserveAspectRatio:"none"},w("defs",null,this.chartData.map(((c,p)=>{const u=c?.fillGradientStartColor,y=c?.fillGradientEndColor;return w("linearGradient",{id:`areaGradient-${p}`,x1:"0",y1:"0",x2:"0",y2:"1",key:p},w("stop",{offset:"0%",style:{stopColor:u,stopOpacity:"1"}}),w("stop",{offset:"100%",style:{stopColor:y,stopOpacity:"0"}}))}))),s.map((c=>{const p=100-(c-0)/n*100;return w("line",{x1:"0",y1:p,x2:"100",y2:p,class:"gids-line-chart__grid-line",key:c})})),this.chartData.map(((c,p)=>{if(!Array.isArray(c.data)||c.data.length<2)return null;const u=c.data.map(((y,v)=>`${v===0?"M":"L"} ${v/(l-1)*100} ${100-(y.value-0)/n*100}`)).join(" ");return w("g",{key:c.label||p},w("path",{d:`${u} L 100 100 L 0 100 Z`,fill:`url(#areaGradient-${p})`,opacity:c?.fillOpacity??"0.1",class:"gids-line-chart__chart-area"}),w("path",{d:u,class:"gids-line-chart__chart-line",fill:"none",style:{stroke:c?.seriesColor,strokeWidth:"2px"}}))})),w("rect",{x:"0",y:"0",width:"100",height:"100",fill:"transparent","pointer-events":"all",onMouseMove:c=>{const p=c.currentTarget.getBoundingClientRect(),u=Math.round((c.clientX-p.left)/p.width*(l-1));this.hoveredIndex=u,this.tooltip={visible:!0,x:c.clientX,y:c.clientY}},onMouseLeave:()=>{this.hoveredIndex=null,this.tooltip={...this.tooltip,visible:!1}}})),this.hoveredIndex!==null&&this.chartData.map(((c,p)=>{if(this.hoveredIndex===null)return;const u=this.hoveredIndex,y=c.data[u];return y?w("div",{id:`chart-dot-${p}`,class:"gids-line-chart__hover-dot",style:{left:u/(l-1)*100+"%",top:100-(y.value-0)/n*100+"%"}},w(nt,{name:"new",size:"xs",appearance:"filled",style:{"--gidsIcon-color":c.seriesColor}})):null})),w("gids-advanced-tooltip",{visible:this.tooltip.visible,x:this.tooltip.x,y:this.tooltip.y,items:this.hoveredIndex!==null?this.getTooltipItems(this.hoveredIndex):[]}))),w("div",{class:"gids-line-chart__x-axis-scale-container"},a.map(((c,p)=>w("span",{class:"gids-line-chart__scale-text",key:p},c)))),w("span",{class:"gids-line-chart__x-axis-label"},this.xAxisLabel)),d?w("gids-chart-legend",{orientation:"vertical"},this.chartData.map((c=>w("gids-chart-legend-item",{key:c.label,seriesColor:c?.seriesColor,orientation:"vertical"},c.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-600);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%);margin-right:var(--gids-padding-horizontal-edge-to-element-100)}.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__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-200);gap:var(--gids-gap-050);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)}.gids-line-chart__hover-dot{position:absolute;transform:translate(-50%, -50%);pointer-events:none;z-index:20}"}},[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],hoveredIndex:[32],tooltip:[32]},void 0,{chartData:[{chartDataChanged:0}],dataPoints:[{dataPointsChanged:0}],legend:[{legendChanged:0}],yAxisVisible:[{yAxisVisibilityChanged:0}]}]);function Ai(){typeof customElements<"u"&&["gids-line-chart","gids-advanced-tooltip","gids-chart-legend","gids-chart-legend-item"].forEach((e=>{switch(e){case"gids-line-chart":customElements.get(e)||customElements.define(e,Oi);break;case"gids-advanced-tooltip":customElements.get(e)||_i();break;case"gids-chart-legend":customElements.get(e)||Si();break;case"gids-chart-legend-item":customElements.get(e)||Ci()}}))}Ai();const Or=Oi,Ar=Ai;X.GidsLineChart=Or,X.defineCustomElement=Ar,Object.defineProperty(X,Symbol.toStringTag,{value:"Module"})}));