@ganpatiinfo/gids-core-web 10.2.0 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/index.css +525 -3
- package/dist/css/index.css.map +1 -1
- package/dist/gids-action-bar.d.ts +1 -1
- package/dist/gids-action-bar.js +1 -1
- package/dist/gids-activity-gauge.d.ts +1 -1
- package/dist/gids-activity-gauge.js +1 -1
- package/dist/gids-bar-chart.d.ts +1 -1
- package/dist/gids-bar-chart.js +1 -1
- package/dist/gids-calendar-header-panel.d.ts +1 -1
- package/dist/gids-calendar-header-panel.js +1 -1
- package/dist/gids-calendar-month-list.d.ts +1 -1
- package/dist/gids-calendar-month-list.js +1 -1
- package/dist/gids-calendar-year-list.d.ts +1 -1
- package/dist/gids-calendar-year-list.js +1 -1
- package/dist/gids-calendar.d.ts +1 -1
- package/dist/gids-calendar.js +1 -1
- package/dist/gids-chart-legend-item.d.ts +1 -1
- package/dist/gids-chart-legend-item.js +1 -1
- package/dist/gids-chart-legend.d.ts +1 -1
- package/dist/gids-chart-legend.js +1 -1
- package/dist/gids-chart.d.ts +1 -1
- package/dist/gids-chart.js +1 -1
- package/dist/gids-chevron-button.d.ts +1 -1
- package/dist/gids-chevron-button.js +1 -1
- package/dist/gids-dot.d.ts +1 -1
- package/dist/gids-dot.js +1 -1
- package/dist/gids-dropdown-field.d.ts +1 -1
- package/dist/gids-dropdown-field.js +1 -1
- package/dist/gids-dropdown-picker.d.ts +1 -1
- package/dist/gids-dropdown-picker.js +1 -1
- package/dist/gids-dropdown.d.ts +1 -1
- package/dist/gids-dropdown.js +1 -1
- package/dist/gids-expansion-body-list-item.d.ts +11 -0
- package/dist/gids-expansion-body-list-item.js +1 -0
- package/dist/gids-expansion-body-list.d.ts +11 -0
- package/dist/gids-expansion-body-list.js +1 -0
- package/dist/gids-expansion-group.d.ts +11 -0
- package/dist/gids-expansion-group.js +1 -0
- package/dist/gids-expansion.d.ts +11 -0
- package/dist/gids-expansion.js +1 -0
- package/dist/gids-field.d.ts +1 -1
- package/dist/gids-field.js +1 -1
- package/dist/gids-filter.d.ts +1 -1
- package/dist/gids-filter.js +1 -1
- package/dist/gids-icon.d.ts +1 -1
- package/dist/gids-icon.js +1 -1
- package/dist/gids-input.d.ts +1 -1
- package/dist/gids-input.js +1 -1
- package/dist/gids-level-gauge.d.ts +1 -1
- package/dist/gids-line-chart.d.ts +1 -1
- package/dist/gids-line-chart.js +1 -1
- package/dist/gids-md-table.d.ts +11 -0
- package/dist/gids-md-table.js +1 -0
- package/dist/gids-notification.d.ts +1 -1
- package/dist/gids-overflow-container.d.ts +1 -1
- package/dist/gids-overflow-container.js +1 -1
- package/dist/gids-overlay-provider.d.ts +1 -1
- package/dist/gids-overlay-provider.js +1 -1
- package/dist/gids-password-field.d.ts +1 -1
- package/dist/gids-password-field.js +1 -1
- package/dist/gids-pie-chart.d.ts +1 -1
- package/dist/gids-pie-chart.js +1 -1
- package/dist/gids-popover.d.ts +1 -1
- package/dist/gids-popover.js +1 -1
- package/dist/gids-progress-circle.d.ts +1 -1
- package/dist/gids-scrim.d.ts +1 -1
- package/dist/gids-scrim.js +1 -1
- package/dist/gids-snackbar.d.ts +1 -1
- package/dist/gids-tab-item.d.ts +1 -1
- package/dist/gids-tab-item.js +1 -1
- package/dist/gids-tab.d.ts +1 -1
- package/dist/gids-tab.js +1 -1
- package/dist/gids-text-field.d.ts +1 -1
- package/dist/gids-text-field.js +1 -1
- package/dist/gids-toggle-button.d.ts +1 -1
- package/dist/gids-toggle-button.js +1 -1
- package/dist/gids-tooltip.d.ts +1 -1
- package/dist/gids-tooltip.js +1 -1
- package/dist/{p-Jdpe4Sgj.js → p-6APCjBEI.js} +1 -1
- package/dist/{p-qb1aWgjh.js → p-BCVFQSjK.js} +1 -1
- package/dist/{p-Ciw-O9qN.js → p-BSbOhfLZ.js} +1 -1
- package/dist/{p-Doi8Yizl.js → p-BVAtja26.js} +1 -1
- package/dist/{p-8tOn5SjU.js → p-C2O_pGky.js} +1 -1
- package/dist/{p-BfnzH6wp.js → p-C3We7Q8Q.js} +1 -1
- package/dist/p-C3w3wdCt.js +1 -0
- package/dist/{p-BYDimyG-.js → p-C3xv7tfs.js} +1 -1
- package/dist/{p-DoPuGtJd.js → p-C56G7JRy.js} +1 -1
- package/dist/p-CI-sN9Lr.js +1 -0
- package/dist/{p-B1Jgtjhu.js → p-COHuQEfZ.js} +1 -1
- package/dist/p-ChV9xqsO.js +1 -0
- package/dist/{p-C-cUL-aA.js → p-Chqeexny.js} +1 -1
- package/dist/{p-bPPm7cuw.js → p-DO0MyFf4.js} +1 -1
- package/dist/p-DUojHltk.js +1 -0
- package/dist/p-VJAcf53T.js +1 -0
- package/dist/p-_SIWct9h.js +1 -0
- package/dist/{p-5VIPb1eU.js → p-pSb81aE0.js} +1 -1
- package/dist/{p-C7ifjRCE.js → p-ub0GuVHb.js} +1 -1
- package/dist/types/components/html/GidsBasicTableBody/GidsBasicTableBody.d.ts +6 -0
- package/dist/types/components/html/GidsBasicTableCell/GidsBasicTableCell.d.ts +4 -0
- package/dist/types/components/html/GidsBasicTableHead/GidsBasicTableHead.d.ts +11 -0
- package/dist/types/components/html/GidsBasicTableHeader/GidsBasicTableHeader.d.ts +4 -0
- package/dist/types/components/html/GidsBasicTableRow/GidsBasicTableRow.d.ts +4 -0
- package/dist/types/components/html/GidsBsTable/GidsBsTable.d.ts +11 -0
- package/dist/types/components/webComponents/GidsActionBar/GidsActionBar.d.ts +15 -2
- package/dist/types/components/webComponents/GidsExpansion/GidsExpansion.d.ts +24 -0
- package/dist/types/components/webComponents/GidsExpansionBodyList/GidsExpansionBodyList.d.ts +25 -0
- package/dist/types/components/webComponents/GidsExpansionBodyListItem/GidsExpansionBodyListItem.d.ts +38 -0
- package/dist/types/components/webComponents/GidsExpansionGroup/GidsExpansionGroup.d.ts +4 -0
- package/dist/types/components/webComponents/GidsFilter/GidsFilter.d.ts +5 -0
- package/dist/types/components/webComponents/GidsMdTable/GidsMdTable.d.ts +40 -0
- package/dist/types/components.d.ts +323 -6
- package/dist-bundled/es/gids-action-bar.js +168 -126
- package/dist-bundled/es/gids-activity-gauge.js +4 -4
- package/dist-bundled/es/gids-bar-chart.js +3 -3
- package/dist-bundled/es/gids-calendar-header-panel.js +4 -4
- package/dist-bundled/es/gids-calendar-month-list.js +1 -1
- package/dist-bundled/es/gids-calendar-year-list.js +3 -3
- package/dist-bundled/es/gids-calendar.js +7 -7
- package/dist-bundled/es/gids-chart-legend-item.js +1 -1
- package/dist-bundled/es/gids-chart-legend.js +4 -4
- package/dist-bundled/es/gids-chart.js +50 -50
- package/dist-bundled/es/gids-chevron-button.js +7 -7
- package/dist-bundled/es/gids-dot.js +3 -3
- package/dist-bundled/es/gids-dropdown-field.js +4 -4
- package/dist-bundled/es/gids-dropdown-picker.js +2 -2
- package/dist-bundled/es/gids-dropdown.js +1 -1
- package/dist-bundled/es/gids-expansion-body-list-item.js +6 -0
- package/dist-bundled/es/gids-expansion-body-list.js +78 -0
- package/dist-bundled/es/gids-expansion-group.js +28 -0
- package/dist-bundled/es/gids-expansion.js +90 -0
- package/dist-bundled/es/gids-field.js +1 -1
- package/dist-bundled/es/gids-filter.js +4 -4
- package/dist-bundled/es/gids-icon.js +3 -3
- package/dist-bundled/es/gids-input.js +3 -3
- package/dist-bundled/es/gids-line-chart.js +4 -4
- package/dist-bundled/es/gids-md-table.js +165 -0
- package/dist-bundled/es/gids-overflow-container.js +6 -6
- package/dist-bundled/es/gids-overlay-provider.js +1 -1
- package/dist-bundled/es/gids-password-field.js +18 -18
- package/dist-bundled/es/gids-pie-chart.js +4 -4
- package/dist-bundled/es/gids-popover.js +1 -1
- package/dist-bundled/es/gids-scrim.js +7 -7
- package/dist-bundled/es/gids-tab-item.js +6 -6
- package/dist-bundled/es/gids-tab.js +6 -6
- package/dist-bundled/es/gids-text-field.js +12 -12
- package/dist-bundled/es/gids-toggle-button.js +1 -1
- package/dist-bundled/es/gids-tooltip.js +4 -4
- package/dist-bundled/es/{p-Jdpe4Sgj-acwaxLtK.js → p-6APCjBEI-roDSyEYu.js} +5 -5
- package/dist-bundled/es/{p-qb1aWgjh-CzmMPIME.js → p-BCVFQSjK-CKrYrI4b.js} +5 -5
- package/dist-bundled/es/{p-Ciw-O9qN-DkWfirFu.js → p-BSbOhfLZ-ByjjVMqG.js} +7 -7
- package/dist-bundled/es/{p-Doi8Yizl-BszWK5Dq.js → p-BVAtja26-Xjd4_b4e.js} +5 -5
- package/dist-bundled/es/{p-8tOn5SjU-D9rZ28cf.js → p-C2O_pGky-C_30AJ3m.js} +7 -7
- package/dist-bundled/es/{p-BfnzH6wp-BfLC7Nak.js → p-C3We7Q8Q-DT_NDg87.js} +2 -2
- package/dist-bundled/es/{p-DiNad9Px-uOCMHqAq.js → p-C3w3wdCt-I6zwuecb.js} +24 -37
- package/dist-bundled/es/{p-BYDimyG--DBCLrqDJ.js → p-C3xv7tfs-RodXvmql.js} +3 -3
- package/dist-bundled/es/{p-DoPuGtJd-DYlbhh57.js → p-C56G7JRy-B3HO4aVF.js} +2 -2
- package/dist-bundled/es/{p-xITwQAMz-BMXjOAAQ.js → p-CI-sN9Lr-DHC9DyS8.js} +19 -18
- package/dist-bundled/es/{p-B1Jgtjhu-B_VYp-ZP.js → p-COHuQEfZ-C_POuXNC.js} +9 -9
- package/dist-bundled/es/p-ChV9xqsO-CJSPCx6p.js +16 -0
- package/dist-bundled/es/{p-C-cUL-aA-2jsvw-Lr.js → p-Chqeexny-C4hlPbBP.js} +11 -11
- package/dist-bundled/es/{p-bPPm7cuw-B-dtPJF9.js → p-DO0MyFf4-D7XItX1k.js} +5 -5
- package/dist-bundled/es/p-DUojHltk-GyvsWoCM.js +172 -0
- package/dist-bundled/es/p-VJAcf53T-2X0vBJ1A.js +106 -0
- package/dist-bundled/es/{p-Bj28yqMD-Dz1SWSqM.js → p-_SIWct9h-jMYFZ-VO.js} +4 -4
- package/dist-bundled/es/{p-5VIPb1eU-MCAo8JCp.js → p-pSb81aE0-CNrq7SQW.js} +2 -2
- package/dist-bundled/es/{p-C7ifjRCE-CRlorwoN.js → p-ub0GuVHb-C_PFTi1_.js} +9 -9
- package/dist-bundled/umd/gids-action-bar.umd.js +3 -3
- package/dist-bundled/umd/gids-activity-gauge.umd.js +1 -1
- package/dist-bundled/umd/gids-bar-chart.umd.js +1 -1
- package/dist-bundled/umd/gids-calendar-header-panel.umd.js +1 -1
- package/dist-bundled/umd/gids-calendar-month-list.umd.js +1 -1
- package/dist-bundled/umd/gids-calendar-year-list.umd.js +2 -2
- package/dist-bundled/umd/gids-calendar.umd.js +1 -1
- package/dist-bundled/umd/gids-chart-legend-item.umd.js +1 -1
- package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
- package/dist-bundled/umd/gids-chart.umd.js +2 -2
- package/dist-bundled/umd/gids-chevron-button.umd.js +1 -1
- package/dist-bundled/umd/gids-dot.umd.js +1 -1
- package/dist-bundled/umd/gids-dropdown-field.umd.js +2 -2
- package/dist-bundled/umd/gids-dropdown-picker.umd.js +1 -1
- package/dist-bundled/umd/gids-dropdown.umd.js +2 -2
- package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +5 -0
- package/dist-bundled/umd/gids-expansion-body-list.umd.js +5 -0
- package/dist-bundled/umd/gids-expansion-group.umd.js +5 -0
- package/dist-bundled/umd/gids-expansion.umd.js +5 -0
- package/dist-bundled/umd/gids-field.umd.js +1 -1
- package/dist-bundled/umd/gids-filter.umd.js +3 -3
- package/dist-bundled/umd/gids-icon.umd.js +1 -1
- package/dist-bundled/umd/gids-input.umd.js +2 -2
- package/dist-bundled/umd/gids-line-chart.umd.js +1 -1
- package/dist-bundled/umd/gids-md-table.umd.js +5 -0
- package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
- package/dist-bundled/umd/gids-overlay-provider.umd.js +1 -1
- package/dist-bundled/umd/gids-password-field.umd.js +1 -1
- package/dist-bundled/umd/gids-pie-chart.umd.js +2 -2
- package/dist-bundled/umd/gids-popover.umd.js +1 -1
- package/dist-bundled/umd/gids-scrim.umd.js +1 -1
- package/dist-bundled/umd/gids-tab-item.umd.js +2 -2
- package/dist-bundled/umd/gids-tab.umd.js +2 -2
- package/dist-bundled/umd/gids-text-field.umd.js +2 -2
- package/dist-bundled/umd/gids-toggle-button.umd.js +2 -2
- package/dist-bundled/umd/gids-tooltip.umd.js +1 -1
- package/dist-bundled/umd-complete/gids-core-web.umd.js +9 -9
- package/package.json +44 -4
- package/dist/p-Bj28yqMD.js +0 -1
- package/dist/p-DiNad9Px.js +0 -1
- package/dist/p-qrjEbv6g.js +0 -1
- package/dist/p-xITwQAMz.js +0 -1
- package/dist-bundled/es/p-qrjEbv6g-ITSp3ky_.js +0 -152
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
Flattening is not supported for Stencil non-shadow slots.
|
|
3
3
|
You can use \`.childNodes\` to nested slot fallback content.
|
|
4
4
|
If you have a particular use case, please open an issue on the Stencil repo.
|
|
5
|
-
`);const v=this["s-cr"].parentElement;return(v.__childNodes?v.childNodes:(w=>{const g=[];for(let y=0;y<w.length;y++){const m=w[y]["s-nr"]||void 0;m&&m.isConnected&&g.push(m)}return g})(v.childNodes)).forEach((w=>{h===de(w)&&p.push(w)})),a?p.filter((w=>w.nodeType===1)):p}).bind(f);f.assignedElements=u(!0),f.assignedNodes=u(!1)})(s),c=e&&e.m&&e.m[o],c&&c.O===i.O&&e.S&&At(e.S)),s},At=e=>{N.i|=1;const t=e.closest(G.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((i=>i["s-cr"])),n=Array.from(e.__childNodes||e.childNodes);for(const i of o?n.reverse():n)i["s-sh"]!=null&&(_(t,i,o??null),i["s-sh"]=void 0,Ne=!0)}N.i&=-2},Re=(e,t)=>{N.i|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let n=e;for(;n=n.nextSibling;)n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===G&&o.push(n)}for(let n=o.length-1;n>=0;n--){const i=o[n];i["s-hn"]!==G&&i["s-ol"]&&(_(pe(i).parentNode,i,pe(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,Ne=!0),t&&Re(i,t)}N.i&=-2},Rt=(e,t,o,n,i,s)=>{let r,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===G&&(c=c.shadowRoot),o.O==="template"&&(c=c.content);i<=s;++i)n[i]&&(r=Ae(null,o,i),r&&(n[i].S=r,_(c,r,pe(t))))},Pt=(e,t,o)=>{for(let n=t;n<=o;++n){const i=e[n];if(i){const s=i.S;kt(i),s&&(Ce=!0,s["s-ol"]?s["s-ol"].remove():Re(s,!0),s.remove())}}},Pe=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),pe=e=>e&&e["s-ol"]||e,se=(e,t,o=!1)=>{const n=t.S=e.S,i=e.m,s=t.m,r=t.O,c=t.h;let l;c==null?(P=r==="svg"||r!=="foreignObject"&&P,r!=="slot"||he||e.j!==t.j&&(t.S["s-sn"]=t.j||"",At(t.S.parentElement)),Xe(e,t,P),i!==null&&s!==null?((f,u,a,d,p=!1)=>{let h,v,w=0,g=0,y=0,m=0,E=u.length-1,b=u[0],x=u[E],S=d.length-1,C=d[0],A=d[S];const k=a.O==="template"?f.content:f;for(;w<=E&&g<=S;)if(b==null)b=u[++w];else if(x==null)x=u[--E];else if(C==null)C=d[++g];else if(A==null)A=d[--S];else if(Pe(b,C,p))se(b,C,p),b=u[++w],C=d[++g];else if(Pe(x,A,p))se(x,A,p),x=u[--E],A=d[--S];else if(Pe(b,A,p))b.O!=="slot"&&A.O!=="slot"||Re(b.S.parentNode,!1),se(b,A,p),_(k,b.S,x.S.nextSibling),b=u[++w],A=d[--S];else if(Pe(x,C,p))b.O!=="slot"&&A.O!=="slot"||Re(x.S.parentNode,!1),se(x,C,p),_(k,x.S,b.S),x=u[--E],C=d[++g];else{for(y=-1,m=w;m<=E;++m)if(u[m]&&u[m].$!==null&&u[m].$===C.$){y=m;break}y>=0?(v=u[y],v.O!==C.O?h=Ae(u&&u[g],a,y):(se(v,C,p),u[y]=void 0,h=v.S),C=d[++g]):(h=Ae(u&&u[g],a,g),C=d[++g]),h&&_(pe(b.S).parentNode,h,pe(b.S))}w>E?Rt(f,d[S+1]==null?null:d[S+1].S,a,d,g,S):g>S&&Pt(u,w,E)})(n,i,t,s,o):s!==null?(e.h!==null&&(n.textContent=""),Rt(n,null,t,s,0,s.length-1)):!o&&i!==null&&Pt(i,0,i.length-1),P&&r==="svg"&&(P=!1)):(l=n["s-cr"])?l.parentNode.textContent=c:e.h!==c&&(n.data=c)},V=[],Tt=e=>{let t,o,n;const i=e.__childNodes||e.childNodes;for(const s of i){if(s["s-sr"]&&(t=s["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const r=s["s-sn"];for(n=o.length-1;n>=0;n--)if(t=o[n],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===s["s-hn"]||t["s-sh"]&&t["s-sh"]===s["s-hn"]))if(vt(t,r)){let c=V.find((l=>l.k===t));Ce=!0,t["s-sn"]=t["s-sn"]||r,c?(c.k["s-sh"]=s["s-hn"],c.N=s):(t["s-sh"]=s["s-hn"],V.push({N:s,k:t})),t["s-sr"]&&V.map((l=>{vt(l.k,t["s-sn"])&&(c=V.find((f=>f.k===t)),c&&!l.N&&(l.N=c.N))}))}else V.some((c=>c.k===t))||V.push({k:t})}s.nodeType===1&&Tt(s)}},kt=e=>{e.v&&e.v.ref&&Ye.push((()=>e.v.ref(null))),e.m&&e.m.map(kt)},vn=(e,t)=>{Ke.push((()=>e(t)))},_=(e,t,o,n)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:i}=(function(s,r){var c;if(!(r=r||((c=s["s-ol"])==null?void 0:c.parentElement)))return{slotNode:null,slotName:""};const l=s["s-sn"]=de(s)||"";return{slotNode:Be(ze(r,"childNodes"),r.tagName,l)[0],slotName:l}})(t);return i&&!n&&i.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},wn=(e,t,o=!1)=>{var n,i,s,r,c;const l=e.$hostElement$,f=e.o,u=e.M||Oe(null,null);var a;const d=(a=t)&&a.O===dn?t:z(null,null,t);if(G=l.tagName,f.C&&(d.v=d.v||{},f.C.forEach((([p,h])=>{d.v[h]=l[p]}))),o&&d.v)for(const p of Object.keys(d.v))l.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(d.v[p]=l[p]);if(d.O=null,d.i|=4,e.M=d,d.S=u.S=l.shadowRoot||l,he=!(!(1&f.i)||128&f.i),Ue=l["s-cr"],Ce=!1,se(u,d,o),N.i|=1,Ne){Tt(d.S);for(const p of V){const h=p.k;if(!h["s-ol"]&&O.document){const v=O.document.createTextNode("");v["s-nr"]=h,_(h.parentNode,h["s-ol"]=v,h,o)}}for(const p of V){const h=p.k,v=p.N;if(h.nodeType===1&&o&&(h["s-ih"]=(n=h.hidden)!=null&&n),v){const w=v.parentNode;let g=v.nextSibling;if(g&&g.nodeType===1){let y=(i=h["s-ol"])==null?void 0:i.previousSibling;for(;y;){let m=(s=y["s-nr"])!=null?s:null;if(m&&m["s-sn"]===h["s-sn"]&&w===(m.__parentNode||m.parentNode)){for(m=m.nextSibling;m===h||m?.["s-sr"];)m=m?.nextSibling;if(!m||!m["s-nr"]){g=m;break}}y=y.previousSibling}}if((!g&&w!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==g)&&h!==g){if(_(w,h,g,o),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=O.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=h["s-hn"],y["s-sn"]=h["s-sn"],y["s-sh"]=h["s-sh"],y["s-sr"]=h["s-sr"],y["s-ol"]=h["s-ol"],y["s-ol"]["s-nr"]=y,_(h.parentNode,y,h,o),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(r=h["s-ih"])!=null&&r)}h&&typeof v["s-rf"]=="function"&&v["s-rf"](v)}else h.nodeType===1&&(h.hidden=!0)}}if(Ce&&yt(d.S),N.i&=-2,V.length=0,!he&&!(1&f.i)&&l["s-cr"]){const p=d.S.__childNodes||d.S.childNodes;for(const h of p)if(h["s-hn"]!==G&&!h["s-sh"]){if(o&&h["s-ih"]==null&&(h["s-ih"]=(c=h.hidden)!=null&&c),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const v=O.document.createComment("s-nt-"+h.nodeValue);v["s-sn"]=h["s-sn"],_(h.parentNode,v,h,o),h.parentNode.removeChild(h)}}}Ue=void 0,Ye.forEach((p=>p())),Ye.length=0,Ke.forEach((p=>p())),Ke.length=0},_t=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((n=>e.A=()=>{t["s-p"].splice(o-1,1),n()})))}},Ge=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);_t(e,e.R);const o=()=>bn(e,t);if(!t)return an(o);queueMicrotask((()=>{o()}))},bn=(e,t)=>{const o=e.$hostElement$,n=o;if(!n)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 i;return i=me(n,t?"componentWillLoad":"componentWillUpdate",void 0,o),i=Lt(i,(()=>me(n,"componentWillRender",void 0,o))),Lt(i,(()=>xn(e,n,t)))},Lt=(e,t)=>En(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),En=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",xn=async(e,t,o)=>{var n;const i=e.$hostElement$,s=i["s-rc"];o&&(r=>{const c=r.o,l=r.$hostElement$,f=c.i,u=((a,d)=>{var p,h,v;const w=wt(d),g=Se.get(w);if(!O.document)return w;if(a=a.nodeType===11?a:O.document,g)if(typeof g=="string"){let y,m=B.get(a=a.head||a);if(m||B.set(a,m=new Set),!m.has(w)){y=O.document.createElement("style"),y.textContent=g;const E=(p=N._)!=null?p:(function(){var b,x,S;return(S=(x=(b=O.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:x.getAttribute("content"))!=null?S:void 0})();if(E!=null&&y.setAttribute("nonce",E),!(1&d.i))if(a.nodeName==="HEAD"){const b=a.querySelectorAll("link[rel=preconnect]"),x=b.length>0?b[b.length-1].nextSibling:a.querySelector("style");a.insertBefore(y,x?.parentNode===a?x:null)}else if("host"in a)if(je){const b=new((h=a.defaultView)!=null?h:a.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(g),We?a.adoptedStyleSheets.unshift(b):a.adoptedStyleSheets=[b,...a.adoptedStyleSheets]}else{const b=a.querySelector("style");b?b.textContent=g+b.textContent:a.prepend(y)}else a.append(y);1&d.i&&a.insertBefore(y,null),4&d.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),m&&m.add(w)}}else{let y=B.get(a);if(y||B.set(a,y=new Set),!y.has(w)){const m=(v=a.defaultView)!=null?v:a.ownerDocument.defaultView;let E;if(g.constructor===m.CSSStyleSheet)E=g;else{E=new m.CSSStyleSheet;for(let b=0;b<g.cssRules.length;b++)E.insertRule(g.cssRules[b].cssText,b)}We?a.adoptedStyleSheets.push(E):a.adoptedStyleSheets=[...a.adoptedStyleSheets,E],y.add(w)}}return w})(l.shadowRoot?l.shadowRoot:l.getRootNode(),c);10&f&&(l["s-sc"]=u,l.classList.add(u+"-h"))})(e),Sn(e,t,i,o),s&&(s.map((r=>r())),i["s-rc"]=void 0);{const r=(n=i["s-p"])!=null?n:[],c=()=>On(e);r.length===0?c():(Promise.all(r).then(c).catch(c),e.i|=4,r.length=0)}},Sn=(e,t,o,n)=>{try{t=t.render(),e.i&=-17,e.i|=2,wn(e,t,n)}catch(i){K(i,e.$hostElement$)}return null},On=e=>{const t=e.$hostElement$,o=t,n=e.R;me(o,"componentDidRender",void 0,t),64&e.i?me(o,"componentDidUpdate",void 0,t):(e.i|=64,Nn(t),me(o,"componentDidLoad",void 0,t),e.L(t),n||Cn()),e.A&&(e.A(),e.A=void 0),512&e.i&&He((()=>Ge(e,!1))),e.i&=-517},Cn=()=>{He((()=>mn(O,"appload",{detail:{namespace:"gids-core-web"}})))},me=(e,t,o,n)=>{if(e&&e[t])try{return e[t](o)}catch(i){K(i,n)}},Nn=e=>e.classList.add("hydrated"),Ft=(e,t,o,n)=>{const i=W(e);if(!i)return;const s=e,r=i.l.get(t),c=i.i,l=s;o=xt(o,n.t[t][0],!!(64&n.i));const f=Number.isNaN(r)&&Number.isNaN(o);if(o!==r&&!f){if(i.l.set(t,o),n.F){const u=n.F[t];u&&u.map((a=>{try{const[[d,p]]=Object.entries(a);(128&c||1&p)&&(l?l[d](o,r,t):i.T.push((()=>{i.D[d](o,r,t)})))}catch(d){K(d,s)}}))}if(2&c){if(l.componentShouldUpdate&&l.componentShouldUpdate(o,r,t)===!1&&!(16&c))return;16&c||Ge(i,!1)}}},An=(e,t,o)=>{var n,i;const s=e.prototype;64&t.i&&1&o&&rn.forEach((r=>{const c=s[r];Object.defineProperty(s,r,{value(...l){var f;const u=W(this),a=this;a?typeof c=="function"&&c.call(a,...l):(f=u?.H)==null||f.then((d=>{const p=d[r];typeof p=="function"&&p.call(d,...l)}))}})}));{e.watchers&&!t.F&&(t.F=Et(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((([c,[l]])=>{if(31&l||32&l){const{get:f,set:u}=ie(s,c)||{};f&&(t.t[c][0]|=2048),u&&(t.t[c][0]|=4096),Object.defineProperty(s,c,{get(){return f?f.apply(this):(a=c,W(this).l.get(a));var a},configurable:!0,enumerable:!0}),Object.defineProperty(s,c,{set(a){const d=W(this);if(d){if(u)return(32&l?this[c]:d.$hostElement$[c])===void 0&&d.l.get(c)&&(a=d.l.get(c)),u.apply(this,[xt(a,l,!!(64&t.i))]),void Ft(this,c,a=32&l?this[c]:d.$hostElement$[c],t);Ft(this,c,a,t)}}})}}));{const c=new Map;s.attributeChangedCallback=function(l,f,u){N.jmp((()=>{var a;const d=c.get(l),p=W(this);if(this.hasOwnProperty(d),s.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==u)return;if(d==null){const y=p?.i;if(p&&y&&!(8&y)&&u!==f){const m=this,E=(a=t.F)==null?void 0:a[l];E?.forEach((b=>{const[[x,S]]=Object.entries(b);m[x]!=null&&(128&y||1&S)&&m[x].call(m,u,f,l)}))}return}const h=r.find((([y])=>y===d)),v=h&&4&h[1][0],w=v&&u===null&&this[d]===void 0;v&&(u=u!==null&&u!=="false");const g=Object.getOwnPropertyDescriptor(s,d);w||u==this[d]||g.get&&!g.set||(this[d]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((i=t.F)!=null?i:{}),...r.filter((([l,f])=>31&f[0])).map((([l,f])=>{var u;const a=f[1]||l;return c.set(a,l),512&f[0]&&((u=t.C)==null||u.push([l,a])),a}))]))}}return e},Rn=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.W=t[3],o.F=Et(e.F),o.P=e.P,o.U=e.U,o.C=[];const n=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((s,r)=>{const c={i:0,$hostElement$:s,o:r,l:new Map,B:new Map};c.H=new Promise((f=>c.L=f)),s["s-p"]=[],s["s-rc"]=[];const l=c;s.__stencil__getHostRef=()=>l,512&r.i&&sn(s,c)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const s=W(this);if(!s)return;$t(this,s,o.W),this.__hasHostListenerAttached=!0}(s=>{if(!(1&N.i)){const r=W(s);if(!r)return;const c=r.o;if(1&r.i)$t(s,r,c.W),r?.D||r?.H&&r.H.then((()=>{}));else{r.i|=1,12&c.i&&(l=>{if(!O.document)return;const f=l["s-cr"]=O.document.createComment("");f["s-cn"]=!0,_(l,f,l.firstChild)})(s);{let l=s;for(;l=l.parentNode||l.host;)if(l["s-p"]){_t(r,r.R=l);break}}c.t&&Object.entries(c.t).map((([l,[f]])=>{if(31&f&&Object.prototype.hasOwnProperty.call(s,l)){const u=s[l];delete s[l],s[l]=u}})),(async(l,f,u)=>{let a;try{if(!(32&f.i)&&(f.i|=32,a=l.constructor,customElements.whenDefined(l.localName).then((()=>f.i|=128)),a&&a.style)){let h;typeof a.style=="string"&&(h=a.style);const v=wt(u);Se.has(v)||((w,g,y)=>{let m=Se.get(w);je&&y?(m=m||new CSSStyleSheet,typeof m=="string"?m=g:m.replaceSync(g)):m=g,Se.set(w,m)})(v,h,!!(1&u.i))}const d=f.R,p=()=>Ge(f,!0);d&&d["s-rc"]?d["s-rc"].push(p):p()}catch(d){K(d,l),f.A&&(f.A(),f.A=void 0),f.L&&f.L(l)}})(s,r,c)}}})(this),n&&n.call(this)},disconnectedCallback(){(async s=>{if(!(1&N.i)){const r=W(s);r?.V&&(r.V.map((c=>c())),r.V=void 0)}B.has(s)&&B.delete(s),s.shadowRoot&&B.has(s.shadowRoot)&&B.delete(s.shadowRoot)})(this),i&&i.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else fn.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),An(e,o,3)}catch(n){return K(n),e}},Pn=(e,t)=>t,$t=(e,t,o)=>{o&&O.document&&o.map((([n,i,s])=>{const r=kn(O.document,e,n),c=Tn(t,s),l=_n(n);N.ael(r,i,c,l),(t.V=t.V||[]).push((()=>N.rel(r,i,c,l)))}))},Tn=(e,t)=>o=>{try{e.$hostElement$[t](o)}catch(n){K(n,e.$hostElement$)}},kn=(e,t,o)=>8&o?O:t,_n=e=>ln?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Ro(e){return e}const re=Math.min,Z=Math.max,Te=Math.round,ke=Math.floor,M=e=>({x:e,y:e}),Ln={left:"right",right:"left",bottom:"top",top:"bottom"};function Ze(e,t,o){return Z(e,re(t,o))}function ge(e,t){return typeof e=="function"?e(t):e}function J(e){return e.split("-")[0]}function ye(e){return e.split("-")[1]}function Dt(e){return e==="x"?"y":"x"}function Je(e){return e==="y"?"height":"width"}function U(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Qe(e){return Dt(U(e))}function Fn(e,t,o){o===void 0&&(o=!1);const n=ye(e),i=Qe(e),s=Je(i);let r=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(r=_e(r)),[r,_e(r)]}function $n(e){const t=_e(e);return[et(e),t,et(t)]}function et(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Mt=["left","right"],jt=["right","left"],Dn=["top","bottom"],Mn=["bottom","top"];function jn(e,t,o){switch(e){case"top":case"bottom":return o?t?jt:Mt:t?Mt:jt;case"left":case"right":return t?Dn:Mn;default:return[]}}function Wn(e,t,o,n){const i=ye(e);let s=jn(J(e),o==="start",n);return i&&(s=s.map(r=>r+"-"+i),t&&(s=s.concat(s.map(et)))),s}function _e(e){const t=J(e);return Ln[t]+e.slice(t.length)}function Vn(e){return{top:0,right:0,bottom:0,left:0,...e}}function Wt(e){return typeof e!="number"?Vn(e):{top:e,right:e,bottom:e,left:e}}function Le(e){const{x:t,y:o,width:n,height:i}=e;return{width:n,height:i,top:o,left:t,right:t+n,bottom:o+i,x:t,y:o}}function Vt(e,t,o){let{reference:n,floating:i}=e;const s=U(t),r=Qe(t),c=Je(r),l=J(t),f=s==="y",u=n.x+n.width/2-i.width/2,a=n.y+n.height/2-i.height/2,d=n[c]/2-i[c]/2;let p;switch(l){case"top":p={x:u,y:n.y-i.height};break;case"bottom":p={x:u,y:n.y+n.height};break;case"right":p={x:n.x+n.width,y:a};break;case"left":p={x:n.x-i.width,y:a};break;default:p={x:n.x,y:n.y}}switch(ye(t)){case"start":p[r]-=d*(o&&f?-1:1);break;case"end":p[r]+=d*(o&&f?-1:1);break}return p}async function In(e,t){var o;t===void 0&&(t={});const{x:n,y:i,platform:s,rects:r,elements:c,strategy:l}=e,{boundary:f="clippingAncestors",rootBoundary:u="viewport",elementContext:a="floating",altBoundary:d=!1,padding:p=0}=ge(t,e),h=Wt(p),w=c[d?a==="floating"?"reference":"floating":a],g=Le(await s.getClippingRect({element:(o=await(s.isElement==null?void 0:s.isElement(w)))==null||o?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:f,rootBoundary:u,strategy:l})),y=a==="floating"?{x:n,y:i,width:r.floating.width,height:r.floating.height}:r.reference,m=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),E=await(s.isElement==null?void 0:s.isElement(m))?await(s.getScale==null?void 0:s.getScale(m))||{x:1,y:1}:{x:1,y:1},b=Le(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:y,offsetParent:m,strategy:l}):y);return{top:(g.top-b.top+h.top)/E.y,bottom:(b.bottom-g.bottom+h.bottom)/E.y,left:(g.left-b.left+h.left)/E.x,right:(b.right-g.right+h.right)/E.x}}const Hn=50,Bn=async(e,t,o)=>{const{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:r}=o,c=r.detectOverflow?r:{...r,detectOverflow:In},l=await(r.isRTL==null?void 0:r.isRTL(t));let f=await r.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:a}=Vt(f,n,l),d=n,p=0;const h={};for(let v=0;v<s.length;v++){const w=s[v];if(!w)continue;const{name:g,fn:y}=w,{x:m,y:E,data:b,reset:x}=await y({x:u,y:a,initialPlacement:n,placement:d,strategy:i,middlewareData:h,rects:f,platform:c,elements:{reference:e,floating:t}});u=m??u,a=E??a,h[g]={...h[g],...b},x&&p<Hn&&(p++,typeof x=="object"&&(x.placement&&(d=x.placement),x.rects&&(f=x.rects===!0?await r.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:a}=Vt(f,d,l)),v=-1)}return{x:u,y:a,placement:d,strategy:i,middlewareData:h}},zn=e=>({name:"arrow",options:e,async fn(t){const{x:o,y:n,placement:i,rects:s,platform:r,elements:c,middlewareData:l}=t,{element:f,padding:u=0}=ge(e,t)||{};if(f==null)return{};const a=Wt(u),d={x:o,y:n},p=Qe(i),h=Je(p),v=await r.getDimensions(f),w=p==="y",g=w?"top":"left",y=w?"bottom":"right",m=w?"clientHeight":"clientWidth",E=s.reference[h]+s.reference[p]-d[p]-s.floating[h],b=d[p]-s.reference[p],x=await(r.getOffsetParent==null?void 0:r.getOffsetParent(f));let S=x?x[m]:0;(!S||!await(r.isElement==null?void 0:r.isElement(x)))&&(S=c.floating[m]||s.floating[h]);const C=E/2-b/2,A=S/2-v[h]/2-1,k=re(a[g],A),Ee=re(a[y],A),ne=k,xe=S-v[h]-Ee,R=S/2-v[h]/2+C,oe=Ze(ne,R,xe),H=!l.arrow&&ye(i)!=null&&R!==oe&&s.reference[h]/2-(R<ne?k:Ee)-v[h]/2<0,$=H?R<ne?R-ne:R-xe:0;return{[p]:d[p]+$,data:{[p]:oe,centerOffset:R-oe-$,...H&&{alignmentOffset:$}},reset:H}}}),Un=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,n;const{placement:i,middlewareData:s,rects:r,initialPlacement:c,platform:l,elements:f}=t,{mainAxis:u=!0,crossAxis:a=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:v=!0,...w}=ge(e,t);if((o=s.arrow)!=null&&o.alignmentOffset)return{};const g=J(i),y=U(c),m=J(c)===c,E=await(l.isRTL==null?void 0:l.isRTL(f.floating)),b=d||(m||!v?[_e(c)]:$n(c)),x=h!=="none";!d&&x&&b.push(...Wn(c,v,h,E));const S=[c,...b],C=await l.detectOverflow(t,w),A=[];let k=((n=s.flip)==null?void 0:n.overflows)||[];if(u&&A.push(C[g]),a){const R=Fn(i,r,E);A.push(C[R[0]],C[R[1]])}if(k=[...k,{placement:i,overflows:A}],!A.every(R=>R<=0)){var Ee,ne;const R=(((Ee=s.flip)==null?void 0:Ee.index)||0)+1,oe=S[R];if(oe&&(!(a==="alignment"?y!==U(oe):!1)||k.every(D=>U(D.placement)===y?D.overflows[0]>0:!0)))return{data:{index:R,overflows:k},reset:{placement:oe}};let H=(ne=k.filter($=>$.overflows[0]<=0).sort(($,D)=>$.overflows[1]-D.overflows[1])[0])==null?void 0:ne.placement;if(!H)switch(p){case"bestFit":{var xe;const $=(xe=k.filter(D=>{if(x){const X=U(D.placement);return X===y||X==="y"}return!0}).map(D=>[D.placement,D.overflows.filter(X=>X>0).reduce((X,Ao)=>X+Ao,0)]).sort((D,X)=>D[1]-X[1])[0])==null?void 0:xe[0];$&&(H=$);break}case"initialPlacement":H=c;break}if(i!==H)return{reset:{placement:H}}}return{}}}},qn=new Set(["left","top"]);async function Xn(e,t){const{placement:o,platform:n,elements:i}=e,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),r=J(o),c=ye(o),l=U(o)==="y",f=qn.has(r)?-1:1,u=s&&l?-1:1,a=ge(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:h}=typeof a=="number"?{mainAxis:a,crossAxis:0,alignmentAxis:null}:{mainAxis:a.mainAxis||0,crossAxis:a.crossAxis||0,alignmentAxis:a.alignmentAxis};return c&&typeof h=="number"&&(p=c==="end"?h*-1:h),l?{x:p*u,y:d*f}:{x:d*f,y:p*u}}const Yn=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,n;const{x:i,y:s,placement:r,middlewareData:c}=t,l=await Xn(t,e);return r===((o=c.offset)==null?void 0:o.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+l.x,y:s+l.y,data:{...l,placement:r}}}}},Kn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:n,placement:i,platform:s}=t,{mainAxis:r=!0,crossAxis:c=!1,limiter:l={fn:g=>{let{x:y,y:m}=g;return{x:y,y:m}}},...f}=ge(e,t),u={x:o,y:n},a=await s.detectOverflow(t,f),d=U(J(i)),p=Dt(d);let h=u[p],v=u[d];if(r){const g=p==="y"?"top":"left",y=p==="y"?"bottom":"right",m=h+a[g],E=h-a[y];h=Ze(m,h,E)}if(c){const g=d==="y"?"top":"left",y=d==="y"?"bottom":"right",m=v+a[g],E=v-a[y];v=Ze(m,v,E)}const w=l.fn({...t,[p]:h,[d]:v});return{...w,data:{x:w.x-o,y:w.y-n,enabled:{[p]:r,[d]:c}}}}}};function Fe(){return typeof window<"u"}function le(e){return It(e)?(e.nodeName||"").toLowerCase():"#document"}function T(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function j(e){var t;return(t=(It(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function It(e){return Fe()?e instanceof Node||e instanceof T(e).Node:!1}function L(e){return Fe()?e instanceof Element||e instanceof T(e).Element:!1}function I(e){return Fe()?e instanceof HTMLElement||e instanceof T(e).HTMLElement:!1}function Ht(e){return!Fe()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof T(e).ShadowRoot}function ve(e){const{overflow:t,overflowX:o,overflowY:n,display:i}=F(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&i!=="inline"&&i!=="contents"}function Gn(e){return/^(table|td|th)$/.test(le(e))}function $e(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Zn=/transform|translate|scale|rotate|perspective|filter/,Jn=/paint|layout|strict|content/,Q=e=>!!e&&e!=="none";let tt;function nt(e){const t=L(e)?F(e):e;return Q(t.transform)||Q(t.translate)||Q(t.scale)||Q(t.rotate)||Q(t.perspective)||!ot()&&(Q(t.backdropFilter)||Q(t.filter))||Zn.test(t.willChange||"")||Jn.test(t.contain||"")}function Qn(e){let t=q(e);for(;I(t)&&!ce(t);){if(nt(t))return t;if($e(t))return null;t=q(t)}return null}function ot(){return tt==null&&(tt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),tt}function ce(e){return/^(html|body|#document)$/.test(le(e))}function F(e){return T(e).getComputedStyle(e)}function De(e){return L(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function q(e){if(le(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ht(e)&&e.host||j(e);return Ht(t)?t.host:t}function Bt(e){const t=q(e);return ce(t)?e.ownerDocument?e.ownerDocument.body:e.body:I(t)&&ve(t)?t:Bt(t)}function we(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);const i=Bt(e),s=i===((n=e.ownerDocument)==null?void 0:n.body),r=T(i);if(s){const c=it(r);return t.concat(r,r.visualViewport||[],ve(i)?i:[],c&&o?we(c):[])}else return t.concat(i,we(i,[],o))}function it(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function zt(e){const t=F(e);let o=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const i=I(e),s=i?e.offsetWidth:o,r=i?e.offsetHeight:n,c=Te(o)!==s||Te(n)!==r;return c&&(o=s,n=r),{width:o,height:n,$:c}}function st(e){return L(e)?e:e.contextElement}function ae(e){const t=st(e);if(!I(t))return M(1);const o=t.getBoundingClientRect(),{width:n,height:i,$:s}=zt(t);let r=(s?Te(o.width):o.width)/n,c=(s?Te(o.height):o.height)/i;return(!r||!Number.isFinite(r))&&(r=1),(!c||!Number.isFinite(c))&&(c=1),{x:r,y:c}}const eo=M(0);function Ut(e){const t=T(e);return!ot()||!t.visualViewport?eo:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function to(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==T(e)?!1:t}function ee(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);const i=e.getBoundingClientRect(),s=st(e);let r=M(1);t&&(n?L(n)&&(r=ae(n)):r=ae(e));const c=to(s,o,n)?Ut(s):M(0);let l=(i.left+c.x)/r.x,f=(i.top+c.y)/r.y,u=i.width/r.x,a=i.height/r.y;if(s){const d=T(s),p=n&&L(n)?T(n):n;let h=d,v=it(h);for(;v&&n&&p!==h;){const w=ae(v),g=v.getBoundingClientRect(),y=F(v),m=g.left+(v.clientLeft+parseFloat(y.paddingLeft))*w.x,E=g.top+(v.clientTop+parseFloat(y.paddingTop))*w.y;l*=w.x,f*=w.y,u*=w.x,a*=w.y,l+=m,f+=E,h=T(v),v=it(h)}}return Le({width:u,height:a,x:l,y:f})}function Me(e,t){const o=De(e).scrollLeft;return t?t.left+o:ee(j(e)).left+o}function qt(e,t){const o=e.getBoundingClientRect(),n=o.left+t.scrollLeft-Me(e,o),i=o.top+t.scrollTop;return{x:n,y:i}}function no(e){let{elements:t,rect:o,offsetParent:n,strategy:i}=e;const s=i==="fixed",r=j(n),c=t?$e(t.floating):!1;if(n===r||c&&s)return o;let l={scrollLeft:0,scrollTop:0},f=M(1);const u=M(0),a=I(n);if((a||!a&&!s)&&((le(n)!=="body"||ve(r))&&(l=De(n)),a)){const p=ee(n);f=ae(n),u.x=p.x+n.clientLeft,u.y=p.y+n.clientTop}const d=r&&!a&&!s?qt(r,l):M(0);return{width:o.width*f.x,height:o.height*f.y,x:o.x*f.x-l.scrollLeft*f.x+u.x+d.x,y:o.y*f.y-l.scrollTop*f.y+u.y+d.y}}function oo(e){return Array.from(e.getClientRects())}function io(e){const t=j(e),o=De(e),n=e.ownerDocument.body,i=Z(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=Z(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let r=-o.scrollLeft+Me(e);const c=-o.scrollTop;return F(n).direction==="rtl"&&(r+=Z(t.clientWidth,n.clientWidth)-i),{width:i,height:s,x:r,y:c}}const Xt=25;function so(e,t){const o=T(e),n=j(e),i=o.visualViewport;let s=n.clientWidth,r=n.clientHeight,c=0,l=0;if(i){s=i.width,r=i.height;const u=ot();(!u||u&&t==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}const f=Me(n);if(f<=0){const u=n.ownerDocument,a=u.body,d=getComputedStyle(a),p=u.compatMode==="CSS1Compat"&&parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0,h=Math.abs(n.clientWidth-a.clientWidth-p);h<=Xt&&(s-=h)}else f<=Xt&&(s+=f);return{width:s,height:r,x:c,y:l}}function ro(e,t){const o=ee(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,s=I(e)?ae(e):M(1),r=e.clientWidth*s.x,c=e.clientHeight*s.y,l=i*s.x,f=n*s.y;return{width:r,height:c,x:l,y:f}}function Yt(e,t,o){let n;if(t==="viewport")n=so(e,o);else if(t==="document")n=io(j(e));else if(L(t))n=ro(t,o);else{const i=Ut(e);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Le(n)}function Kt(e,t){const o=q(e);return o===t||!L(o)||ce(o)?!1:F(o).position==="fixed"||Kt(o,t)}function lo(e,t){const o=t.get(e);if(o)return o;let n=we(e,[],!1).filter(c=>L(c)&&le(c)!=="body"),i=null;const s=F(e).position==="fixed";let r=s?q(e):e;for(;L(r)&&!ce(r);){const c=F(r),l=nt(r);!l&&c.position==="fixed"&&(i=null),(s?!l&&!i:!l&&c.position==="static"&&!!i&&(i.position==="absolute"||i.position==="fixed")||ve(r)&&!l&&Kt(e,r))?n=n.filter(u=>u!==r):i=c,r=q(r)}return t.set(e,n),n}function co(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e;const r=[...o==="clippingAncestors"?$e(t)?[]:lo(t,this._c):[].concat(o),n],c=Yt(t,r[0],i);let l=c.top,f=c.right,u=c.bottom,a=c.left;for(let d=1;d<r.length;d++){const p=Yt(t,r[d],i);l=Z(p.top,l),f=re(p.right,f),u=re(p.bottom,u),a=Z(p.left,a)}return{width:f-a,height:u-l,x:a,y:l}}function ao(e){const{width:t,height:o}=zt(e);return{width:t,height:o}}function fo(e,t,o){const n=I(t),i=j(t),s=o==="fixed",r=ee(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const l=M(0);function f(){l.x=Me(i)}if(n||!n&&!s)if((le(t)!=="body"||ve(i))&&(c=De(t)),n){const p=ee(t,!0,s,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else i&&f();s&&!n&&i&&f();const u=i&&!n&&!s?qt(i,c):M(0),a=r.left+c.scrollLeft-l.x-u.x,d=r.top+c.scrollTop-l.y-u.y;return{x:a,y:d,width:r.width,height:r.height}}function rt(e){return F(e).position==="static"}function Gt(e,t){if(!I(e)||F(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return j(e)===o&&(o=o.ownerDocument.body),o}function Zt(e,t){const o=T(e);if($e(e))return o;if(!I(e)){let i=q(e);for(;i&&!ce(i);){if(L(i)&&!rt(i))return i;i=q(i)}return o}let n=Gt(e,t);for(;n&&Gn(n)&&rt(n);)n=Gt(n,t);return n&&ce(n)&&rt(n)&&!nt(n)?o:n||Qn(e)||o}const uo=async function(e){const t=this.getOffsetParent||Zt,o=this.getDimensions,n=await o(e.floating);return{reference:fo(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function ho(e){return F(e).direction==="rtl"}const lt={convertOffsetParentRelativeRectToViewportRelativeRect:no,getDocumentElement:j,getClippingRect:co,getOffsetParent:Zt,getElementRects:uo,getClientRects:oo,getDimensions:ao,getScale:ae,isElement:L,isRTL:ho};function Jt(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function po(e,t){let o=null,n;const i=j(e);function s(){var c;clearTimeout(n),(c=o)==null||c.disconnect(),o=null}function r(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),s();const f=e.getBoundingClientRect(),{left:u,top:a,width:d,height:p}=f;if(c||t(),!d||!p)return;const h=ke(a),v=ke(i.clientWidth-(u+d)),w=ke(i.clientHeight-(a+p)),g=ke(u),m={rootMargin:-h+"px "+-v+"px "+-w+"px "+-g+"px",threshold:Z(0,re(1,l))||1};let E=!0;function b(x){const S=x[0].intersectionRatio;if(S!==l){if(!E)return r();S?r(!1,S):n=setTimeout(()=>{r(!1,1e-7)},1e3)}S===1&&!Jt(f,e.getBoundingClientRect())&&r(),E=!1}try{o=new IntersectionObserver(b,{...m,root:i.ownerDocument})}catch{o=new IntersectionObserver(b,m)}o.observe(e)}return r(!0),s}function mo(e,t,o,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,f=st(e),u=i||s?[...f?we(f):[],...t?we(t):[]]:[];u.forEach(g=>{i&&g.addEventListener("scroll",o,{passive:!0}),s&&g.addEventListener("resize",o)});const a=f&&c?po(f,o):null;let d=-1,p=null;r&&(p=new ResizeObserver(g=>{let[y]=g;y&&y.target===f&&p&&t&&(p.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var m;(m=p)==null||m.observe(t)})),o()}),f&&!l&&p.observe(f),t&&p.observe(t));let h,v=l?ee(e):null;l&&w();function w(){const g=ee(e);v&&!Jt(v,g)&&o(),v=g,h=requestAnimationFrame(w)}return o(),()=>{var g;u.forEach(y=>{i&&y.removeEventListener("scroll",o),s&&y.removeEventListener("resize",o)}),a?.(),(g=p)==null||g.disconnect(),p=null,l&&cancelAnimationFrame(h)}}const go=Yn,yo=Kn,vo=Un,wo=zn,bo=(e,t,o)=>{const n=new Map,i={platform:lt,...o},s={...i.platform,_c:n};return Bn(e,t,{...i,platform:s})};var be;(function(e){e.TOOLTIP="tooltip",e.POPOVER="popover"})(be||(be={}));function Qt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}const Eo=/transform|translate|scale|rotate|perspective|filter/,xo=/paint|layout|strict|content/,te=e=>!!e&&e!=="none";let ct;function So(e){const t=(o=e,typeof window<"u"&&(o instanceof Element||o instanceof Qt(o).Element)?Qt(n=e).getComputedStyle(n):e);var o,n;return te(t.transform)||te(t.translate)||te(t.scale)||te(t.rotate)||te(t.perspective)||(ct==null&&(ct=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),!ct&&(te(t.backdropFilter)||te(t.filter)))||Eo.test(t.willChange||"")||xo.test(t.contain||"")}function Oo(e){return(function(t){for(let o=t;o;o=at(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=at(t);o;o=at(o)){if(!(o instanceof Element))continue;const n=getComputedStyle(o);if(n.display!=="contents"&&(n.position!=="static"||So(n)||o.tagName==="BODY"))return o}return null})(e)}function at(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}const fe=class fe{constructor(t,o){this.el=t,this.config=o,this.offset=10,this.timeDelayBeforeFadingOut=50,this.popoverMainAxisEnabled=!0,this.currentPlacement=o.placement,this.cleanup=null}setCommonTimingConfig(){this.timeBeforeElementShows=this.config.showWithoutDelay?50:500,this.timeOfAnimation=this.config.showWithoutDelay?50:250}initialize(){this.setCommonTimingConfig(),this.floatingElement=this.el.shadowRoot?.querySelector(this.config.floatingElementSelector),this.floatingElement&&this.applyViewportMaxWidth(),this.arrowEl=this.config.showArrow!==!1&&this.config.arrowElementSelector?this.el.shadowRoot?.querySelector(this.config.arrowElementSelector):null,this.anchorElement=this.config.htmlFor?.length>0?document.getElementById(this.config.htmlFor):this.config.getAnchorElementFromSlot(this.el.shadowRoot),this.anchorElement?this.setupPositioning():console.warn("Could not determine the element associated with this floating element."+(this.config.htmlFor?.length>0?`Element with id=${this.config.htmlFor} could not be found on the DOM.`:""))}getAnchorElement(){return this.anchorElement}updateConfig(t){this.config={...this.config,...t},"showWithoutDelay"in t&&this.setCommonTimingConfig(),this.forceUpdate()}getConfig(){return this.config}getCurrentPlacement(){return this.currentPlacement||this.config.placement}reposition(){this.forceUpdate()}forceUpdate(){this.anchorElement&&this.floatingElement&&this.updatePosition()}setupPositioning(){this.anchorElement&&this.updatePosition()}setupAutoUpdate(){!this.cleanup&&this.anchorElement&&(this.cleanup=mo(this.anchorElement,this.floatingElement,(()=>{this.updatePosition()}),{ancestorScroll:!0,ancestorResize:!1,elementResize:!0,layoutShift:!0,animationFrame:!1}))}cleanupAutoUpdate(){this.cleanup&&(this.cleanup(),this.cleanup=null)}updatePosition(){if(!this.anchorElement)return;const t=[go(this.offset)],o=vo({mainAxis:!0,crossAxis:!this.config.lockToMainAxis&&"alignment",fallbackAxisSideDirection:"end",padding:this.offset}),n=this.config.elementType===be.POPOVER,i=yo({padding:this.offset,mainAxis:this.config.elementType===be.TOOLTIP||n&&this.popoverMainAxisEnabled,crossAxis:!1});this.config.placement.includes("-")?t.push(o,i):t.push(i,o),this.config.showArrow!==!1&&this.arrowEl&&t.push(wo({element:this.arrowEl,padding:this.offset})),bo(this.anchorElement,this.floatingElement,{placement:this.config.placement,strategy:"fixed",middleware:t,platform:{...lt,getOffsetParent:s=>lt.getOffsetParent(s,Oo)}}).then((({x:s,y:r,middlewareData:c,placement:l})=>{if(n){const d=l.startsWith("left")||l.startsWith("right"),p=l.startsWith("top")||l.startsWith("bottom"),h=this.isAnchorInViewport(),v=!!p||(d?h:this.popoverMainAxisEnabled);if(v!==this.popoverMainAxisEnabled)return this.popoverMainAxisEnabled=v,void this.updatePosition()}this.currentPlacement=l,Object.assign(this.floatingElement.style,{left:`${s}px`,top:`${r}px`,position:"fixed",transition:`opacity ${this.timeOfAnimation}ms ease`});const f=l.split("-")[0]??"bottom",u={top:"bottom",right:"left",bottom:"top",left:"right"}[f],{arrowZIndex:a}=this.normalizeFloatingElementStacking();if(c.arrow&&this.arrowEl){const d=this.arrowEl.offsetWidth,{x:p,y:h}=c.arrow;this.arrowEl.style.borderRadius=`${["left","right"].includes(f)?"0 ":""}var(--gidsFloatingElement-tip-border-radius, 2px)${["top","bottom"].includes(f)?" 0":""}`,Object.assign(this.arrowEl.style,{left:p!==null?`${p}px`:"",top:h!==null?`${h}px`:"",right:"",bottom:"",[u]:-d/2+"px",transform:"rotate(45deg)",zIndex:`${a}`,background:"var(--gidsFloatingElement-background)"})}}))}applyViewportMaxWidth(){const t=`calc(100vw - ${2*this.offset}px)`;this.floatingElement?.style.maxWidth!==t&&(this.floatingElement.style.maxWidth=t)}normalizeFloatingElementStacking(){const t=this.floatingElement.style.zIndex||(window.getComputedStyle?.(this.floatingElement).zIndex??""),o=Number.parseInt(t,10),n=Number.isNaN(o)?-1:o-1,i=Number.isNaN(o)?n+1:o;return Number.isNaN(i)||(this.floatingElement.style.zIndex=`${i}`),Array.from(this.floatingElement.children).forEach((s=>{if(!(s instanceof HTMLElement)||s===this.arrowEl)return;const r=s.style.zIndex||(window.getComputedStyle?.(s).zIndex??""),c=Number.parseInt(r,10),l=window.getComputedStyle?.(s).position??"";(r===""||r==="auto"||Number.isNaN(c)||c<i)&&(s.style.zIndex=`${i}`,l!==""&&l!=="static"||(s.style.position="relative"))})),{contentZIndex:i,arrowZIndex:n}}hideFloatingElement(){this.floatingElement.classList.remove(this.config.visibilityClass),fe.currentFloatingElements.delete(this.config.elementType)}showFloatingElement(){const t=fe.currentFloatingElements.get(this.config.elementType);t&&t.hideFloatingElement(),this.floatingElement.classList.add(this.config.visibilityClass),fe.currentFloatingElements.set(this.config.elementType,this)}isVisible(){return this.floatingElement.classList.contains(this.config.visibilityClass)}show(){this.setupAutoUpdate(),this.showFloatingElement()}hide(){this.cleanupAutoUpdate(),this.hideFloatingElement()}toggle(){this.isVisible()?this.hide():this.show()}showAfterDelay(){clearTimeout(this.hoverOutTimeout),this.hoverTimeout=setTimeout((()=>{this.show()}),this.timeBeforeElementShows)}hideAfterDelay(){clearTimeout(this.hoverTimeout),this.hoverOutTimeout=setTimeout((()=>{this.hide()}),this.timeDelayBeforeFadingOut)}cancelDelayedActions(){clearTimeout(this.hoverTimeout),clearTimeout(this.hoverOutTimeout)}destroy(){this.cleanupAutoUpdate(),this.cancelDelayedActions()}isAnchorInViewport(){if(!(this.anchorElement&&this.anchorElement instanceof Element))return!1;const t=this.anchorElement.getBoundingClientRect(),o=window.innerHeight||document.documentElement?.clientHeight||0,n=window.innerWidth||document.documentElement?.clientWidth||0,i=t.height/2+2*this.offset;return t.bottom>=i&&t.top<=o-i&&t.right>=0&&t.left<=n}};fe.currentFloatingElements=new Map;let ft=fe;const en=Rn(class extends ht{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.placement="bottom",this.previouslyFocusedElement=null,this.focusableElements=[],this.handleToggleEvent=t=>{t.stopPropagation();const o=this.floatingElementManager.isVisible();this.floatingElementManager.toggle(),!o&&this.floatingElementManager.isVisible()?this.onPopoverShow():o&&!this.floatingElementManager.isVisible()&&this.onPopoverHide()},this.handleDocumentClick=t=>{this.floatingElementManager.isVisible()&&!this._el.contains(t.target)&&(this.floatingElementManager.hide(),this.onPopoverHide())},this.handleKeyDown=t=>{if(this.floatingElementManager.isVisible())return t.key==="Escape"?(t.preventDefault(),this.floatingElementManager.hide(),void this.onPopoverHide()):void(t.key==="Tab"&&this.trapFocus(t))}}componentDidLoad(){this.floatingElementManager=new ft(this._el,{htmlFor:this.htmlFor,placement:this.placement,showWithoutDelay:!0,floatingElementSelector:"#popover",arrowElementSelector:"#arrow",visibilityClass:"gids-popover--visible",elementType:be.POPOVER,getAnchorElementFromSlot:e=>e.querySelector('slot[name="anchor"]')?.assignedElements()[0]||null}),this.floatingElementManager.initialize(),this.setupEventListeners()}setupEventListeners(){const e=this.floatingElementManager.getAnchorElement();e&&(e.addEventListener("click",this.handleToggleEvent),document.addEventListener("click",this.handleDocumentClick),document.addEventListener("keydown",this.handleKeyDown))}onPopoverShow(){this.previouslyFocusedElement=document.activeElement,this.updateFocusableElements(),setTimeout((()=>{this.focusableElements.length>0&&this.focusableElements[0]&&this.focusableElements[0].focus()}),50)}onPopoverHide(){this.previouslyFocusedElement&&(this.previouslyFocusedElement.focus(),this.previouslyFocusedElement=null)}updateFocusableElements(){const e=this._el.shadowRoot?.querySelector("#popover");if(!e)return;const t=[],o=nn(e);t.push(...o);const n=this._el.shadowRoot?.querySelector("slot:not([name])");n&&n.assignedElements({flatten:!0}).forEach((i=>{const s=nn(i);t.push(...s)})),this.focusableElements=t.sort(((i,s)=>{const r=i.compareDocumentPosition(s),c=!!(r&Node.DOCUMENT_POSITION_FOLLOWING),l=!!(r&Node.DOCUMENT_POSITION_PRECEDING);return c?-1:l?1:0}))}trapFocus(e){if(this.focusableElements.length===0)return;const t=this.focusableElements[0],o=this.focusableElements[this.focusableElements.length-1];let n=document.activeElement;if(n===this._el){const s=this._el.shadowRoot?.activeElement;s!==null&&(n=s)}const i=this.focusableElements.indexOf(n)!==-1;e.shiftKey?n!==t&&i||(e.preventDefault(),o&&o.focus()):n!==o&&i||(e.preventDefault(),t&&t.focus())}placementChanged(e){this.floatingElementManager?.updateConfig({placement:e}),this.floatingElementManager?.isVisible()&&this.floatingElementManager?.reposition()}htmlForChanged(e){this.floatingElementManager?.updateConfig({htmlFor:e}),this.cleanupEventListeners(),this.floatingElementManager?.initialize(),this.setupEventListeners()}cleanupEventListeners(){const e=this.floatingElementManager?.getAnchorElement();e&&e.removeEventListener("click",this.handleToggleEvent),document.removeEventListener("click",this.handleDocumentClick),document.removeEventListener("keydown",this.handleKeyDown)}render(){return z(Pn,{key:"da99dff29f34b163522c42a2a17bf4556dd9ba02"},z("slot",{key:"776a6ca0c9379f9059f8522feda55210476e0cd1",name:"anchor"}),z("div",{key:"1a73966a626ae553e28dca105f9b567312362497",id:"popover",part:"popover",role:"dialog","aria-modal":"true",tabindex:"-1"},z("span",{key:"06f5ddfd7795fa4f7a8c6fc7106e128d0ec51e54",id:"arrow"}),z("div",{key:"aed89418ee2297532a0655fca1a0d1bc8d24c06b"},z("slot",{key:"2474edda5a80075dabc0b19af54ea2585e62ca1d"}))))}disconnectedCallback(){this.cleanupEventListeners(),this.floatingElementManager?.destroy()}get _el(){return this}static get watchers(){return{placement:[{placementChanged:0}],htmlFor:[{htmlForChanged:0}]}}static get style(){return"gids-popover{--gidsPopover-background:var(--gids-elevation-surface-overlay-default);--gidsPopover-text-color:var(--gids-color-text-default);--gidsPopover-padding:var(--gids-padding-vertical-edge-to-element-200) var(--gids-padding-horizontal-edge-to-element-300);--gidsPopover-border-radius:var(--gids-border-radius-lg);--gidsPopover-tip-border-radius:2px;--gidsPopover-tip-size:12px;--gidsPopover-shadow:var(--gids-elevation-shadow-overlay);--gidsFloatingElement-background:var(--gidsPopover-background);--gidsFloatingElement-tip-border-radius:var(--gidsPopover-tip-border-radius)}[part=popover]{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);position:absolute;display:inline-block;background-color:var(--gidsPopover-background);color:var(--gidsPopover-text-color);border-radius:var(--gidsPopover-border-radius);box-shadow:var(--gidsPopover-shadow);z-index:1000;opacity:0;pointer-events:none;outline:none}[part=popover]:focus{outline:none}[part=popover].gids-popover--visible{pointer-events:initial;opacity:1}[part=popover] span#arrow{position:absolute;height:var(--gidsPopover-tip-size);width:var(--gidsPopover-tip-size);background-color:var(--gidsPopover-background)}"}},[257,"gids-popover",{htmlFor:[513,"for"],placement:[513]},void 0,{placement:[{placementChanged:0}],htmlFor:[{htmlForChanged:0}]}]),tn=e=>{if(!(e instanceof ht)||e.tabIndex===-1||e.hasAttribute("disabled"))return!1;const t=getComputedStyle(e);if(t.display==="none"||t.visibility==="hidden"||e.hidden)return!1;try{const o=e.tabIndex;e.tabIndex=-1,e.focus();const n=document.activeElement===e;return e.tabIndex=o,n&&e.blur(),n}catch{return!1}},nn=e=>{const t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>tn(i)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),o=[];tn(e)&&o.push(e);let n=t.nextNode();for(;n!==null;)o.push(n),n=t.nextNode();return o};function on(){typeof customElements<"u"&&["gids-popover"].forEach((e=>{e==="gids-popover"&&(customElements.get(e)||customElements.define(e,en))}))}on();const Co=en,No=on;Y.GidsPopover=Co,Y.defineCustomElement=No,Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"})}));
|
|
5
|
+
`);const v=this["s-cr"].parentElement;return(v.__childNodes?v.childNodes:(w=>{const g=[];for(let y=0;y<w.length;y++){const m=w[y]["s-nr"]||void 0;m&&m.isConnected&&g.push(m)}return g})(v.childNodes)).forEach((w=>{h===de(w)&&p.push(w)})),a?p.filter((w=>w.nodeType===1)):p}).bind(f);f.assignedElements=u(!0),f.assignedNodes=u(!1)})(s),c=e&&e.m&&e.m[o],c&&c.O===i.O&&e.S&&At(e.S)),s},At=e=>{N.i|=1;const t=e.closest(G.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((i=>i["s-cr"])),n=Array.from(e.__childNodes||e.childNodes);for(const i of o?n.reverse():n)i["s-sh"]!=null&&(_(t,i,o??null),i["s-sh"]=void 0,Ne=!0)}N.i&=-2},Re=(e,t)=>{N.i|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let n=e;for(;n=n.nextSibling;)n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===G&&o.push(n)}for(let n=o.length-1;n>=0;n--){const i=o[n];i["s-hn"]!==G&&i["s-ol"]&&(_(pe(i).parentNode,i,pe(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,Ne=!0),t&&Re(i,t)}N.i&=-2},Rt=(e,t,o,n,i,s)=>{let r,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===G&&(c=c.shadowRoot),o.O==="template"&&(c=c.content);i<=s;++i)n[i]&&(r=Ae(null,o,i),r&&(n[i].S=r,_(c,r,pe(t))))},Pt=(e,t,o)=>{for(let n=t;n<=o;++n){const i=e[n];if(i){const s=i.S;kt(i),s&&(Ce=!0,s["s-ol"]?s["s-ol"].remove():Re(s,!0),s.remove())}}},Pe=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),pe=e=>e&&e["s-ol"]||e,se=(e,t,o=!1)=>{const n=t.S=e.S,i=e.m,s=t.m,r=t.O,c=t.h;let l;c==null?(P=r==="svg"||r!=="foreignObject"&&P,r!=="slot"||he||e.j!==t.j&&(t.S["s-sn"]=t.j||"",At(t.S.parentElement)),Xe(e,t,P),i!==null&&s!==null?((f,u,a,d,p=!1)=>{let h,v,w=0,g=0,y=0,m=0,E=u.length-1,b=u[0],x=u[E],S=d.length-1,C=d[0],A=d[S];const k=a.O==="template"?f.content:f;for(;w<=E&&g<=S;)if(b==null)b=u[++w];else if(x==null)x=u[--E];else if(C==null)C=d[++g];else if(A==null)A=d[--S];else if(Pe(b,C,p))se(b,C,p),b=u[++w],C=d[++g];else if(Pe(x,A,p))se(x,A,p),x=u[--E],A=d[--S];else if(Pe(b,A,p))b.O!=="slot"&&A.O!=="slot"||Re(b.S.parentNode,!1),se(b,A,p),_(k,b.S,x.S.nextSibling),b=u[++w],A=d[--S];else if(Pe(x,C,p))b.O!=="slot"&&A.O!=="slot"||Re(x.S.parentNode,!1),se(x,C,p),_(k,x.S,b.S),x=u[--E],C=d[++g];else{for(y=-1,m=w;m<=E;++m)if(u[m]&&u[m].$!==null&&u[m].$===C.$){y=m;break}y>=0?(v=u[y],v.O!==C.O?h=Ae(u&&u[g],a,y):(se(v,C,p),u[y]=void 0,h=v.S),C=d[++g]):(h=Ae(u&&u[g],a,g),C=d[++g]),h&&_(pe(b.S).parentNode,h,pe(b.S))}w>E?Rt(f,d[S+1]==null?null:d[S+1].S,a,d,g,S):g>S&&Pt(u,w,E)})(n,i,t,s,o):s!==null?(e.h!==null&&(n.textContent=""),Rt(n,null,t,s,0,s.length-1)):!o&&i!==null&&Pt(i,0,i.length-1),P&&r==="svg"&&(P=!1)):(l=n["s-cr"])?l.parentNode.textContent=c:e.h!==c&&(n.data=c)},V=[],Tt=e=>{let t,o,n;const i=e.__childNodes||e.childNodes;for(const s of i){if(s["s-sr"]&&(t=s["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const r=s["s-sn"];for(n=o.length-1;n>=0;n--)if(t=o[n],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===s["s-hn"]||t["s-sh"]&&t["s-sh"]===s["s-hn"]))if(vt(t,r)){let c=V.find((l=>l.k===t));Ce=!0,t["s-sn"]=t["s-sn"]||r,c?(c.k["s-sh"]=s["s-hn"],c.N=s):(t["s-sh"]=s["s-hn"],V.push({N:s,k:t})),t["s-sr"]&&V.map((l=>{vt(l.k,t["s-sn"])&&(c=V.find((f=>f.k===t)),c&&!l.N&&(l.N=c.N))}))}else V.some((c=>c.k===t))||V.push({k:t})}s.nodeType===1&&Tt(s)}},kt=e=>{e.v&&e.v.ref&&Ye.push((()=>e.v.ref(null))),e.m&&e.m.map(kt)},vn=(e,t)=>{Ke.push((()=>e(t)))},_=(e,t,o,n)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:i}=(function(s,r){var c;if(!(r=r||((c=s["s-ol"])==null?void 0:c.parentElement)))return{slotNode:null,slotName:""};const l=s["s-sn"]=de(s)||"";return{slotNode:Be(ze(r,"childNodes"),r.tagName,l)[0],slotName:l}})(t);return i&&!n&&i.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},wn=(e,t,o=!1)=>{var n,i,s,r,c;const l=e.$hostElement$,f=e.o,u=e.M||Oe(null,null);var a;const d=(a=t)&&a.O===dn?t:z(null,null,t);if(G=l.tagName,f.C&&(d.v=d.v||{},f.C.forEach((([p,h])=>{d.v[h]=l[p]}))),o&&d.v)for(const p of Object.keys(d.v))l.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(d.v[p]=l[p]);if(d.O=null,d.i|=4,e.M=d,d.S=u.S=l.shadowRoot||l,he=!(!(1&f.i)||128&f.i),Ue=l["s-cr"],Ce=!1,se(u,d,o),N.i|=1,Ne){Tt(d.S);for(const p of V){const h=p.k;if(!h["s-ol"]&&O.document){const v=O.document.createTextNode("");v["s-nr"]=h,_(h.parentNode,h["s-ol"]=v,h,o)}}for(const p of V){const h=p.k,v=p.N;if(h.nodeType===1&&o&&(h["s-ih"]=(n=h.hidden)!=null&&n),v){const w=v.parentNode;let g=v.nextSibling;if(g&&g.nodeType===1){let y=(i=h["s-ol"])==null?void 0:i.previousSibling;for(;y;){let m=(s=y["s-nr"])!=null?s:null;if(m&&m["s-sn"]===h["s-sn"]&&w===(m.__parentNode||m.parentNode)){for(m=m.nextSibling;m===h||m?.["s-sr"];)m=m?.nextSibling;if(!m||!m["s-nr"]){g=m;break}}y=y.previousSibling}}if((!g&&w!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==g)&&h!==g){if(_(w,h,g,o),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=O.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=h["s-hn"],y["s-sn"]=h["s-sn"],y["s-sh"]=h["s-sh"],y["s-sr"]=h["s-sr"],y["s-ol"]=h["s-ol"],y["s-ol"]["s-nr"]=y,_(h.parentNode,y,h,o),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(r=h["s-ih"])!=null&&r)}h&&typeof v["s-rf"]=="function"&&v["s-rf"](v)}else h.nodeType===1&&(h.hidden=!0)}}if(Ce&&yt(d.S),N.i&=-2,V.length=0,!he&&!(1&f.i)&&l["s-cr"]){const p=d.S.__childNodes||d.S.childNodes;for(const h of p)if(h["s-hn"]!==G&&!h["s-sh"]){if(o&&h["s-ih"]==null&&(h["s-ih"]=(c=h.hidden)!=null&&c),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const v=O.document.createComment("s-nt-"+h.nodeValue);v["s-sn"]=h["s-sn"],_(h.parentNode,v,h,o),h.parentNode.removeChild(h)}}}Ue=void 0,Ye.forEach((p=>p())),Ye.length=0,Ke.forEach((p=>p())),Ke.length=0},_t=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((n=>e.A=()=>{t["s-p"].splice(o-1,1),n()})))}},Ge=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);_t(e,e.R);const o=()=>bn(e,t);if(!t)return an(o);queueMicrotask((()=>{o()}))},bn=(e,t)=>{const o=e.$hostElement$,n=o;if(!n)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 i;return i=me(n,t?"componentWillLoad":"componentWillUpdate",void 0,o),i=Lt(i,(()=>me(n,"componentWillRender",void 0,o))),Lt(i,(()=>xn(e,n,t)))},Lt=(e,t)=>En(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),En=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",xn=async(e,t,o)=>{var n;const i=e.$hostElement$,s=i["s-rc"];o&&(r=>{const c=r.o,l=r.$hostElement$,f=c.i,u=((a,d)=>{var p,h,v;const w=wt(d),g=Se.get(w);if(!O.document)return w;if(a=a.nodeType===11?a:O.document,g)if(typeof g=="string"){let y,m=B.get(a=a.head||a);if(m||B.set(a,m=new Set),!m.has(w)){y=O.document.createElement("style"),y.textContent=g;const E=(p=N._)!=null?p:(function(){var b,x,S;return(S=(x=(b=O.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:x.getAttribute("content"))!=null?S:void 0})();if(E!=null&&y.setAttribute("nonce",E),!(1&d.i))if(a.nodeName==="HEAD"){const b=a.querySelectorAll("link[rel=preconnect]"),x=b.length>0?b[b.length-1].nextSibling:a.querySelector("style");a.insertBefore(y,x?.parentNode===a?x:null)}else if("host"in a)if(je){const b=new((h=a.defaultView)!=null?h:a.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(g),We?a.adoptedStyleSheets.unshift(b):a.adoptedStyleSheets=[b,...a.adoptedStyleSheets]}else{const b=a.querySelector("style");b?b.textContent=g+b.textContent:a.prepend(y)}else a.append(y);1&d.i&&a.insertBefore(y,null),4&d.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),m&&m.add(w)}}else{let y=B.get(a);if(y||B.set(a,y=new Set),!y.has(w)){const m=(v=a.defaultView)!=null?v:a.ownerDocument.defaultView;let E;if(g.constructor===m.CSSStyleSheet)E=g;else{E=new m.CSSStyleSheet;for(let b=0;b<g.cssRules.length;b++)E.insertRule(g.cssRules[b].cssText,b)}We?a.adoptedStyleSheets.push(E):a.adoptedStyleSheets=[...a.adoptedStyleSheets,E],y.add(w)}}return w})(l.shadowRoot?l.shadowRoot:l.getRootNode(),c);10&f&&(l["s-sc"]=u,l.classList.add(u+"-h"))})(e),Sn(e,t,i,o),s&&(s.map((r=>r())),i["s-rc"]=void 0);{const r=(n=i["s-p"])!=null?n:[],c=()=>On(e);r.length===0?c():(Promise.all(r).then(c).catch(c),e.i|=4,r.length=0)}},Sn=(e,t,o,n)=>{try{t=t.render(),e.i&=-17,e.i|=2,wn(e,t,n)}catch(i){K(i,e.$hostElement$)}return null},On=e=>{const t=e.$hostElement$,o=t,n=e.R;me(o,"componentDidRender",void 0,t),64&e.i?me(o,"componentDidUpdate",void 0,t):(e.i|=64,Nn(t),me(o,"componentDidLoad",void 0,t),e.L(t),n||Cn()),e.A&&(e.A(),e.A=void 0),512&e.i&&He((()=>Ge(e,!1))),e.i&=-517},Cn=()=>{He((()=>mn(O,"appload",{detail:{namespace:"gids-core-web"}})))},me=(e,t,o,n)=>{if(e&&e[t])try{return e[t](o)}catch(i){K(i,n)}},Nn=e=>e.classList.add("hydrated"),Ft=(e,t,o,n)=>{const i=W(e);if(!i)return;const s=e,r=i.l.get(t),c=i.i,l=s;o=xt(o,n.t[t][0],!!(64&n.i));const f=Number.isNaN(r)&&Number.isNaN(o);if(o!==r&&!f){if(i.l.set(t,o),n.F){const u=n.F[t];u&&u.map((a=>{try{const[[d,p]]=Object.entries(a);(128&c||1&p)&&(l?l[d](o,r,t):i.T.push((()=>{i.D[d](o,r,t)})))}catch(d){K(d,s)}}))}if(2&c){if(l.componentShouldUpdate&&l.componentShouldUpdate(o,r,t)===!1&&!(16&c))return;16&c||Ge(i,!1)}}},An=(e,t,o)=>{var n,i;const s=e.prototype;64&t.i&&1&o&&rn.forEach((r=>{const c=s[r];Object.defineProperty(s,r,{value(...l){var f;const u=W(this),a=this;a?typeof c=="function"&&c.call(a,...l):(f=u?.H)==null||f.then((d=>{const p=d[r];typeof p=="function"&&p.call(d,...l)}))}})}));{e.watchers&&!t.F&&(t.F=Et(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((([c,[l]])=>{if(31&l||32&l){const{get:f,set:u}=ie(s,c)||{};f&&(t.t[c][0]|=2048),u&&(t.t[c][0]|=4096),Object.defineProperty(s,c,{get(){return f?f.apply(this):(a=c,W(this).l.get(a));var a},configurable:!0,enumerable:!0}),Object.defineProperty(s,c,{set(a){const d=W(this);if(d){if(u)return(32&l?this[c]:d.$hostElement$[c])===void 0&&d.l.get(c)&&(a=d.l.get(c)),u.apply(this,[xt(a,l,!!(64&t.i))]),void Ft(this,c,a=32&l?this[c]:d.$hostElement$[c],t);Ft(this,c,a,t)}}})}}));{const c=new Map;s.attributeChangedCallback=function(l,f,u){N.jmp((()=>{var a;const d=c.get(l),p=W(this);if(this.hasOwnProperty(d),s.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==u)return;if(d==null){const y=p?.i;if(p&&y&&!(8&y)&&u!==f){const m=this,E=(a=t.F)==null?void 0:a[l];E?.forEach((b=>{const[[x,S]]=Object.entries(b);m[x]!=null&&(128&y||1&S)&&m[x].call(m,u,f,l)}))}return}const h=r.find((([y])=>y===d)),v=h&&4&h[1][0],w=v&&u===null&&this[d]===void 0;v&&(u=u!==null&&u!=="false");const g=Object.getOwnPropertyDescriptor(s,d);w||u==this[d]||g.get&&!g.set||(this[d]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((i=t.F)!=null?i:{}),...r.filter((([l,f])=>31&f[0])).map((([l,f])=>{var u;const a=f[1]||l;return c.set(a,l),512&f[0]&&((u=t.C)==null||u.push([l,a])),a}))]))}}return e},Rn=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.W=t[3],o.F=Et(e.F),o.P=e.P,o.U=e.U,o.C=[];const n=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((s,r)=>{const c={i:0,$hostElement$:s,o:r,l:new Map,B:new Map};c.H=new Promise((f=>c.L=f)),s["s-p"]=[],s["s-rc"]=[];const l=c;s.__stencil__getHostRef=()=>l,512&r.i&&sn(s,c)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const s=W(this);if(!s)return;$t(this,s,o.W),this.__hasHostListenerAttached=!0}(s=>{if(!(1&N.i)){const r=W(s);if(!r)return;const c=r.o;if(1&r.i)$t(s,r,c.W),r?.D||r?.H&&r.H.then((()=>{}));else{r.i|=1,12&c.i&&(l=>{if(!O.document)return;const f=l["s-cr"]=O.document.createComment("");f["s-cn"]=!0,_(l,f,l.firstChild)})(s);{let l=s;for(;l=l.parentNode||l.host;)if(l["s-p"]){_t(r,r.R=l);break}}c.t&&Object.entries(c.t).map((([l,[f]])=>{if(31&f&&Object.prototype.hasOwnProperty.call(s,l)){const u=s[l];delete s[l],s[l]=u}})),(async(l,f,u)=>{let a;try{if(!(32&f.i)&&(f.i|=32,a=l.constructor,customElements.whenDefined(l.localName).then((()=>f.i|=128)),a&&a.style)){let h;typeof a.style=="string"&&(h=a.style);const v=wt(u);Se.has(v)||((w,g,y)=>{let m=Se.get(w);je&&y?(m=m||new CSSStyleSheet,typeof m=="string"?m=g:m.replaceSync(g)):m=g,Se.set(w,m)})(v,h,!!(1&u.i))}const d=f.R,p=()=>Ge(f,!0);d&&d["s-rc"]?d["s-rc"].push(p):p()}catch(d){K(d,l),f.A&&(f.A(),f.A=void 0),f.L&&f.L(l)}})(s,r,c)}}})(this),n&&n.call(this)},disconnectedCallback(){(async s=>{if(!(1&N.i)){const r=W(s);r?.V&&(r.V.map((c=>c())),r.V=void 0)}B.has(s)&&B.delete(s),s.shadowRoot&&B.has(s.shadowRoot)&&B.delete(s.shadowRoot)})(this),i&&i.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else fn.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),An(e,o,3)}catch(n){return K(n),e}},Pn=(e,t)=>t,$t=(e,t,o)=>{o&&O.document&&o.map((([n,i,s])=>{const r=kn(O.document,e,n),c=Tn(t,s),l=_n(n);N.ael(r,i,c,l),(t.V=t.V||[]).push((()=>N.rel(r,i,c,l)))}))},Tn=(e,t)=>o=>{try{e.$hostElement$[t](o)}catch(n){K(n,e.$hostElement$)}},kn=(e,t,o)=>8&o?O:t,_n=e=>ln?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Ro(e){return e}const re=Math.min,Z=Math.max,Te=Math.round,ke=Math.floor,M=e=>({x:e,y:e}),Ln={left:"right",right:"left",bottom:"top",top:"bottom"};function Ze(e,t,o){return Z(e,re(t,o))}function ge(e,t){return typeof e=="function"?e(t):e}function J(e){return e.split("-")[0]}function ye(e){return e.split("-")[1]}function Dt(e){return e==="x"?"y":"x"}function Je(e){return e==="y"?"height":"width"}function U(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Qe(e){return Dt(U(e))}function Fn(e,t,o){o===void 0&&(o=!1);const n=ye(e),i=Qe(e),s=Je(i);let r=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(r=_e(r)),[r,_e(r)]}function $n(e){const t=_e(e);return[et(e),t,et(t)]}function et(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Mt=["left","right"],jt=["right","left"],Dn=["top","bottom"],Mn=["bottom","top"];function jn(e,t,o){switch(e){case"top":case"bottom":return o?t?jt:Mt:t?Mt:jt;case"left":case"right":return t?Dn:Mn;default:return[]}}function Wn(e,t,o,n){const i=ye(e);let s=jn(J(e),o==="start",n);return i&&(s=s.map(r=>r+"-"+i),t&&(s=s.concat(s.map(et)))),s}function _e(e){const t=J(e);return Ln[t]+e.slice(t.length)}function Vn(e){return{top:0,right:0,bottom:0,left:0,...e}}function Wt(e){return typeof e!="number"?Vn(e):{top:e,right:e,bottom:e,left:e}}function Le(e){const{x:t,y:o,width:n,height:i}=e;return{width:n,height:i,top:o,left:t,right:t+n,bottom:o+i,x:t,y:o}}function Vt(e,t,o){let{reference:n,floating:i}=e;const s=U(t),r=Qe(t),c=Je(r),l=J(t),f=s==="y",u=n.x+n.width/2-i.width/2,a=n.y+n.height/2-i.height/2,d=n[c]/2-i[c]/2;let p;switch(l){case"top":p={x:u,y:n.y-i.height};break;case"bottom":p={x:u,y:n.y+n.height};break;case"right":p={x:n.x+n.width,y:a};break;case"left":p={x:n.x-i.width,y:a};break;default:p={x:n.x,y:n.y}}switch(ye(t)){case"start":p[r]-=d*(o&&f?-1:1);break;case"end":p[r]+=d*(o&&f?-1:1);break}return p}async function In(e,t){var o;t===void 0&&(t={});const{x:n,y:i,platform:s,rects:r,elements:c,strategy:l}=e,{boundary:f="clippingAncestors",rootBoundary:u="viewport",elementContext:a="floating",altBoundary:d=!1,padding:p=0}=ge(t,e),h=Wt(p),w=c[d?a==="floating"?"reference":"floating":a],g=Le(await s.getClippingRect({element:(o=await(s.isElement==null?void 0:s.isElement(w)))==null||o?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:f,rootBoundary:u,strategy:l})),y=a==="floating"?{x:n,y:i,width:r.floating.width,height:r.floating.height}:r.reference,m=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),E=await(s.isElement==null?void 0:s.isElement(m))?await(s.getScale==null?void 0:s.getScale(m))||{x:1,y:1}:{x:1,y:1},b=Le(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:y,offsetParent:m,strategy:l}):y);return{top:(g.top-b.top+h.top)/E.y,bottom:(b.bottom-g.bottom+h.bottom)/E.y,left:(g.left-b.left+h.left)/E.x,right:(b.right-g.right+h.right)/E.x}}const Hn=50,Bn=async(e,t,o)=>{const{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:r}=o,c=r.detectOverflow?r:{...r,detectOverflow:In},l=await(r.isRTL==null?void 0:r.isRTL(t));let f=await r.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:a}=Vt(f,n,l),d=n,p=0;const h={};for(let v=0;v<s.length;v++){const w=s[v];if(!w)continue;const{name:g,fn:y}=w,{x:m,y:E,data:b,reset:x}=await y({x:u,y:a,initialPlacement:n,placement:d,strategy:i,middlewareData:h,rects:f,platform:c,elements:{reference:e,floating:t}});u=m??u,a=E??a,h[g]={...h[g],...b},x&&p<Hn&&(p++,typeof x=="object"&&(x.placement&&(d=x.placement),x.rects&&(f=x.rects===!0?await r.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:a}=Vt(f,d,l)),v=-1)}return{x:u,y:a,placement:d,strategy:i,middlewareData:h}},zn=e=>({name:"arrow",options:e,async fn(t){const{x:o,y:n,placement:i,rects:s,platform:r,elements:c,middlewareData:l}=t,{element:f,padding:u=0}=ge(e,t)||{};if(f==null)return{};const a=Wt(u),d={x:o,y:n},p=Qe(i),h=Je(p),v=await r.getDimensions(f),w=p==="y",g=w?"top":"left",y=w?"bottom":"right",m=w?"clientHeight":"clientWidth",E=s.reference[h]+s.reference[p]-d[p]-s.floating[h],b=d[p]-s.reference[p],x=await(r.getOffsetParent==null?void 0:r.getOffsetParent(f));let S=x?x[m]:0;(!S||!await(r.isElement==null?void 0:r.isElement(x)))&&(S=c.floating[m]||s.floating[h]);const C=E/2-b/2,A=S/2-v[h]/2-1,k=re(a[g],A),Ee=re(a[y],A),ne=k,xe=S-v[h]-Ee,R=S/2-v[h]/2+C,oe=Ze(ne,R,xe),H=!l.arrow&&ye(i)!=null&&R!==oe&&s.reference[h]/2-(R<ne?k:Ee)-v[h]/2<0,$=H?R<ne?R-ne:R-xe:0;return{[p]:d[p]+$,data:{[p]:oe,centerOffset:R-oe-$,...H&&{alignmentOffset:$}},reset:H}}}),Un=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,n;const{placement:i,middlewareData:s,rects:r,initialPlacement:c,platform:l,elements:f}=t,{mainAxis:u=!0,crossAxis:a=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:v=!0,...w}=ge(e,t);if((o=s.arrow)!=null&&o.alignmentOffset)return{};const g=J(i),y=U(c),m=J(c)===c,E=await(l.isRTL==null?void 0:l.isRTL(f.floating)),b=d||(m||!v?[_e(c)]:$n(c)),x=h!=="none";!d&&x&&b.push(...Wn(c,v,h,E));const S=[c,...b],C=await l.detectOverflow(t,w),A=[];let k=((n=s.flip)==null?void 0:n.overflows)||[];if(u&&A.push(C[g]),a){const R=Fn(i,r,E);A.push(C[R[0]],C[R[1]])}if(k=[...k,{placement:i,overflows:A}],!A.every(R=>R<=0)){var Ee,ne;const R=(((Ee=s.flip)==null?void 0:Ee.index)||0)+1,oe=S[R];if(oe&&(!(a==="alignment"?y!==U(oe):!1)||k.every(D=>U(D.placement)===y?D.overflows[0]>0:!0)))return{data:{index:R,overflows:k},reset:{placement:oe}};let H=(ne=k.filter($=>$.overflows[0]<=0).sort(($,D)=>$.overflows[1]-D.overflows[1])[0])==null?void 0:ne.placement;if(!H)switch(p){case"bestFit":{var xe;const $=(xe=k.filter(D=>{if(x){const X=U(D.placement);return X===y||X==="y"}return!0}).map(D=>[D.placement,D.overflows.filter(X=>X>0).reduce((X,Ao)=>X+Ao,0)]).sort((D,X)=>D[1]-X[1])[0])==null?void 0:xe[0];$&&(H=$);break}case"initialPlacement":H=c;break}if(i!==H)return{reset:{placement:H}}}return{}}}},qn=new Set(["left","top"]);async function Xn(e,t){const{placement:o,platform:n,elements:i}=e,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),r=J(o),c=ye(o),l=U(o)==="y",f=qn.has(r)?-1:1,u=s&&l?-1:1,a=ge(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:h}=typeof a=="number"?{mainAxis:a,crossAxis:0,alignmentAxis:null}:{mainAxis:a.mainAxis||0,crossAxis:a.crossAxis||0,alignmentAxis:a.alignmentAxis};return c&&typeof h=="number"&&(p=c==="end"?h*-1:h),l?{x:p*u,y:d*f}:{x:d*f,y:p*u}}const Yn=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,n;const{x:i,y:s,placement:r,middlewareData:c}=t,l=await Xn(t,e);return r===((o=c.offset)==null?void 0:o.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+l.x,y:s+l.y,data:{...l,placement:r}}}}},Kn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:n,placement:i,platform:s}=t,{mainAxis:r=!0,crossAxis:c=!1,limiter:l={fn:g=>{let{x:y,y:m}=g;return{x:y,y:m}}},...f}=ge(e,t),u={x:o,y:n},a=await s.detectOverflow(t,f),d=U(J(i)),p=Dt(d);let h=u[p],v=u[d];if(r){const g=p==="y"?"top":"left",y=p==="y"?"bottom":"right",m=h+a[g],E=h-a[y];h=Ze(m,h,E)}if(c){const g=d==="y"?"top":"left",y=d==="y"?"bottom":"right",m=v+a[g],E=v-a[y];v=Ze(m,v,E)}const w=l.fn({...t,[p]:h,[d]:v});return{...w,data:{x:w.x-o,y:w.y-n,enabled:{[p]:r,[d]:c}}}}}};function Fe(){return typeof window<"u"}function le(e){return It(e)?(e.nodeName||"").toLowerCase():"#document"}function T(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function j(e){var t;return(t=(It(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function It(e){return Fe()?e instanceof Node||e instanceof T(e).Node:!1}function L(e){return Fe()?e instanceof Element||e instanceof T(e).Element:!1}function I(e){return Fe()?e instanceof HTMLElement||e instanceof T(e).HTMLElement:!1}function Ht(e){return!Fe()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof T(e).ShadowRoot}function ve(e){const{overflow:t,overflowX:o,overflowY:n,display:i}=F(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&i!=="inline"&&i!=="contents"}function Gn(e){return/^(table|td|th)$/.test(le(e))}function $e(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Zn=/transform|translate|scale|rotate|perspective|filter/,Jn=/paint|layout|strict|content/,Q=e=>!!e&&e!=="none";let tt;function nt(e){const t=L(e)?F(e):e;return Q(t.transform)||Q(t.translate)||Q(t.scale)||Q(t.rotate)||Q(t.perspective)||!ot()&&(Q(t.backdropFilter)||Q(t.filter))||Zn.test(t.willChange||"")||Jn.test(t.contain||"")}function Qn(e){let t=q(e);for(;I(t)&&!ce(t);){if(nt(t))return t;if($e(t))return null;t=q(t)}return null}function ot(){return tt==null&&(tt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),tt}function ce(e){return/^(html|body|#document)$/.test(le(e))}function F(e){return T(e).getComputedStyle(e)}function De(e){return L(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function q(e){if(le(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ht(e)&&e.host||j(e);return Ht(t)?t.host:t}function Bt(e){const t=q(e);return ce(t)?e.ownerDocument?e.ownerDocument.body:e.body:I(t)&&ve(t)?t:Bt(t)}function we(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);const i=Bt(e),s=i===((n=e.ownerDocument)==null?void 0:n.body),r=T(i);if(s){const c=it(r);return t.concat(r,r.visualViewport||[],ve(i)?i:[],c&&o?we(c):[])}else return t.concat(i,we(i,[],o))}function it(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function zt(e){const t=F(e);let o=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const i=I(e),s=i?e.offsetWidth:o,r=i?e.offsetHeight:n,c=Te(o)!==s||Te(n)!==r;return c&&(o=s,n=r),{width:o,height:n,$:c}}function st(e){return L(e)?e:e.contextElement}function ae(e){const t=st(e);if(!I(t))return M(1);const o=t.getBoundingClientRect(),{width:n,height:i,$:s}=zt(t);let r=(s?Te(o.width):o.width)/n,c=(s?Te(o.height):o.height)/i;return(!r||!Number.isFinite(r))&&(r=1),(!c||!Number.isFinite(c))&&(c=1),{x:r,y:c}}const eo=M(0);function Ut(e){const t=T(e);return!ot()||!t.visualViewport?eo:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function to(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==T(e)?!1:t}function ee(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);const i=e.getBoundingClientRect(),s=st(e);let r=M(1);t&&(n?L(n)&&(r=ae(n)):r=ae(e));const c=to(s,o,n)?Ut(s):M(0);let l=(i.left+c.x)/r.x,f=(i.top+c.y)/r.y,u=i.width/r.x,a=i.height/r.y;if(s){const d=T(s),p=n&&L(n)?T(n):n;let h=d,v=it(h);for(;v&&n&&p!==h;){const w=ae(v),g=v.getBoundingClientRect(),y=F(v),m=g.left+(v.clientLeft+parseFloat(y.paddingLeft))*w.x,E=g.top+(v.clientTop+parseFloat(y.paddingTop))*w.y;l*=w.x,f*=w.y,u*=w.x,a*=w.y,l+=m,f+=E,h=T(v),v=it(h)}}return Le({width:u,height:a,x:l,y:f})}function Me(e,t){const o=De(e).scrollLeft;return t?t.left+o:ee(j(e)).left+o}function qt(e,t){const o=e.getBoundingClientRect(),n=o.left+t.scrollLeft-Me(e,o),i=o.top+t.scrollTop;return{x:n,y:i}}function no(e){let{elements:t,rect:o,offsetParent:n,strategy:i}=e;const s=i==="fixed",r=j(n),c=t?$e(t.floating):!1;if(n===r||c&&s)return o;let l={scrollLeft:0,scrollTop:0},f=M(1);const u=M(0),a=I(n);if((a||!a&&!s)&&((le(n)!=="body"||ve(r))&&(l=De(n)),a)){const p=ee(n);f=ae(n),u.x=p.x+n.clientLeft,u.y=p.y+n.clientTop}const d=r&&!a&&!s?qt(r,l):M(0);return{width:o.width*f.x,height:o.height*f.y,x:o.x*f.x-l.scrollLeft*f.x+u.x+d.x,y:o.y*f.y-l.scrollTop*f.y+u.y+d.y}}function oo(e){return Array.from(e.getClientRects())}function io(e){const t=j(e),o=De(e),n=e.ownerDocument.body,i=Z(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=Z(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let r=-o.scrollLeft+Me(e);const c=-o.scrollTop;return F(n).direction==="rtl"&&(r+=Z(t.clientWidth,n.clientWidth)-i),{width:i,height:s,x:r,y:c}}const Xt=25;function so(e,t){const o=T(e),n=j(e),i=o.visualViewport;let s=n.clientWidth,r=n.clientHeight,c=0,l=0;if(i){s=i.width,r=i.height;const u=ot();(!u||u&&t==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}const f=Me(n);if(f<=0){const u=n.ownerDocument,a=u.body,d=getComputedStyle(a),p=u.compatMode==="CSS1Compat"&&parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0,h=Math.abs(n.clientWidth-a.clientWidth-p);h<=Xt&&(s-=h)}else f<=Xt&&(s+=f);return{width:s,height:r,x:c,y:l}}function ro(e,t){const o=ee(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,s=I(e)?ae(e):M(1),r=e.clientWidth*s.x,c=e.clientHeight*s.y,l=i*s.x,f=n*s.y;return{width:r,height:c,x:l,y:f}}function Yt(e,t,o){let n;if(t==="viewport")n=so(e,o);else if(t==="document")n=io(j(e));else if(L(t))n=ro(t,o);else{const i=Ut(e);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Le(n)}function Kt(e,t){const o=q(e);return o===t||!L(o)||ce(o)?!1:F(o).position==="fixed"||Kt(o,t)}function lo(e,t){const o=t.get(e);if(o)return o;let n=we(e,[],!1).filter(c=>L(c)&&le(c)!=="body"),i=null;const s=F(e).position==="fixed";let r=s?q(e):e;for(;L(r)&&!ce(r);){const c=F(r),l=nt(r);!l&&c.position==="fixed"&&(i=null),(s?!l&&!i:!l&&c.position==="static"&&!!i&&(i.position==="absolute"||i.position==="fixed")||ve(r)&&!l&&Kt(e,r))?n=n.filter(u=>u!==r):i=c,r=q(r)}return t.set(e,n),n}function co(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e;const r=[...o==="clippingAncestors"?$e(t)?[]:lo(t,this._c):[].concat(o),n],c=Yt(t,r[0],i);let l=c.top,f=c.right,u=c.bottom,a=c.left;for(let d=1;d<r.length;d++){const p=Yt(t,r[d],i);l=Z(p.top,l),f=re(p.right,f),u=re(p.bottom,u),a=Z(p.left,a)}return{width:f-a,height:u-l,x:a,y:l}}function ao(e){const{width:t,height:o}=zt(e);return{width:t,height:o}}function fo(e,t,o){const n=I(t),i=j(t),s=o==="fixed",r=ee(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const l=M(0);function f(){l.x=Me(i)}if(n||!n&&!s)if((le(t)!=="body"||ve(i))&&(c=De(t)),n){const p=ee(t,!0,s,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else i&&f();s&&!n&&i&&f();const u=i&&!n&&!s?qt(i,c):M(0),a=r.left+c.scrollLeft-l.x-u.x,d=r.top+c.scrollTop-l.y-u.y;return{x:a,y:d,width:r.width,height:r.height}}function rt(e){return F(e).position==="static"}function Gt(e,t){if(!I(e)||F(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return j(e)===o&&(o=o.ownerDocument.body),o}function Zt(e,t){const o=T(e);if($e(e))return o;if(!I(e)){let i=q(e);for(;i&&!ce(i);){if(L(i)&&!rt(i))return i;i=q(i)}return o}let n=Gt(e,t);for(;n&&Gn(n)&&rt(n);)n=Gt(n,t);return n&&ce(n)&&rt(n)&&!nt(n)?o:n||Qn(e)||o}const uo=async function(e){const t=this.getOffsetParent||Zt,o=this.getDimensions,n=await o(e.floating);return{reference:fo(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function ho(e){return F(e).direction==="rtl"}const lt={convertOffsetParentRelativeRectToViewportRelativeRect:no,getDocumentElement:j,getClippingRect:co,getOffsetParent:Zt,getElementRects:uo,getClientRects:oo,getDimensions:ao,getScale:ae,isElement:L,isRTL:ho};function Jt(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function po(e,t){let o=null,n;const i=j(e);function s(){var c;clearTimeout(n),(c=o)==null||c.disconnect(),o=null}function r(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),s();const f=e.getBoundingClientRect(),{left:u,top:a,width:d,height:p}=f;if(c||t(),!d||!p)return;const h=ke(a),v=ke(i.clientWidth-(u+d)),w=ke(i.clientHeight-(a+p)),g=ke(u),m={rootMargin:-h+"px "+-v+"px "+-w+"px "+-g+"px",threshold:Z(0,re(1,l))||1};let E=!0;function b(x){const S=x[0].intersectionRatio;if(S!==l){if(!E)return r();S?r(!1,S):n=setTimeout(()=>{r(!1,1e-7)},1e3)}S===1&&!Jt(f,e.getBoundingClientRect())&&r(),E=!1}try{o=new IntersectionObserver(b,{...m,root:i.ownerDocument})}catch{o=new IntersectionObserver(b,m)}o.observe(e)}return r(!0),s}function mo(e,t,o,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,f=st(e),u=i||s?[...f?we(f):[],...t?we(t):[]]:[];u.forEach(g=>{i&&g.addEventListener("scroll",o,{passive:!0}),s&&g.addEventListener("resize",o)});const a=f&&c?po(f,o):null;let d=-1,p=null;r&&(p=new ResizeObserver(g=>{let[y]=g;y&&y.target===f&&p&&t&&(p.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var m;(m=p)==null||m.observe(t)})),o()}),f&&!l&&p.observe(f),t&&p.observe(t));let h,v=l?ee(e):null;l&&w();function w(){const g=ee(e);v&&!Jt(v,g)&&o(),v=g,h=requestAnimationFrame(w)}return o(),()=>{var g;u.forEach(y=>{i&&y.removeEventListener("scroll",o),s&&y.removeEventListener("resize",o)}),a?.(),(g=p)==null||g.disconnect(),p=null,l&&cancelAnimationFrame(h)}}const go=Yn,yo=Kn,vo=Un,wo=zn,bo=(e,t,o)=>{const n=new Map,i={platform:lt,...o},s={...i.platform,_c:n};return Bn(e,t,{...i,platform:s})};var be;(function(e){e.TOOLTIP="tooltip",e.POPOVER="popover"})(be||(be={}));function Qt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}const Eo=/transform|translate|scale|rotate|perspective|filter/,xo=/paint|layout|strict|content/,te=e=>!!e&&e!=="none";let ct;function So(e){const t=(o=e,typeof window<"u"&&(o instanceof Element||o instanceof Qt(o).Element)?Qt(n=e).getComputedStyle(n):e);var o,n;return te(t.transform)||te(t.translate)||te(t.scale)||te(t.rotate)||te(t.perspective)||(ct==null&&(ct=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),!ct&&(te(t.backdropFilter)||te(t.filter)))||Eo.test(t.willChange||"")||xo.test(t.contain||"")}function Oo(e){return(function(t){for(let o=t;o;o=at(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=at(t);o;o=at(o)){if(!(o instanceof Element))continue;const n=getComputedStyle(o);if(n.display!=="contents"&&(n.position!=="static"||So(n)||o.tagName==="BODY"))return o}return null})(e)}function at(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}const fe=class fe{constructor(t,o){this.el=t,this.config=o,this.offset=10,this.timeDelayBeforeFadingOut=50,this.popoverMainAxisEnabled=!0,this.currentPlacement=o.placement,this.cleanup=null}setCommonTimingConfig(){this.timeBeforeElementShows=this.config.showWithoutDelay?50:500,this.timeOfAnimation=this.config.showWithoutDelay?50:250}initialize(){this.setCommonTimingConfig(),this.floatingElement=this.el.shadowRoot?.querySelector(this.config.floatingElementSelector),this.floatingElement&&this.applyViewportMaxWidth(),this.arrowEl=this.config.showArrow!==!1&&this.config.arrowElementSelector?this.el.shadowRoot?.querySelector(this.config.arrowElementSelector):null,this.anchorElement=this.config.htmlFor?.length>0?document.getElementById(this.config.htmlFor):this.config.getAnchorElementFromSlot(this.el.shadowRoot),this.anchorElement?this.setupPositioning():console.warn("Could not determine the element associated with this floating element."+(this.config.htmlFor?.length>0?`Element with id=${this.config.htmlFor} could not be found on the DOM.`:""))}getAnchorElement(){return this.anchorElement}updateConfig(t){this.config={...this.config,...t},"showWithoutDelay"in t&&this.setCommonTimingConfig(),this.forceUpdate()}getConfig(){return this.config}getCurrentPlacement(){return this.currentPlacement||this.config.placement}reposition(){this.forceUpdate()}forceUpdate(){this.anchorElement&&this.floatingElement&&this.updatePosition()}setupPositioning(){this.anchorElement&&this.updatePosition()}setupAutoUpdate(){!this.cleanup&&this.anchorElement&&(this.cleanup=mo(this.anchorElement,this.floatingElement,(()=>{this.updatePosition()}),{ancestorScroll:!0,ancestorResize:!1,elementResize:!0,layoutShift:!0,animationFrame:!1}))}cleanupAutoUpdate(){this.cleanup&&(this.cleanup(),this.cleanup=null)}updatePosition(){if(!this.anchorElement)return;const t=[go(this.offset)],o=vo({mainAxis:!0,crossAxis:!this.config.lockToMainAxis&&"alignment",fallbackAxisSideDirection:"end",padding:this.offset}),n=this.config.elementType===be.POPOVER,i=yo({padding:this.offset,mainAxis:this.config.elementType===be.TOOLTIP||n&&this.popoverMainAxisEnabled,crossAxis:!1});this.config.placement.includes("-")?t.push(o,i):t.push(i,o),this.config.showArrow!==!1&&this.arrowEl&&t.push(wo({element:this.arrowEl,padding:this.offset})),bo(this.anchorElement,this.floatingElement,{placement:this.config.placement,strategy:"fixed",middleware:t,platform:{...lt,getOffsetParent:s=>lt.getOffsetParent(s,Oo)}}).then((({x:s,y:r,middlewareData:c,placement:l})=>{if(n){const d=l.startsWith("left")||l.startsWith("right"),p=l.startsWith("top")||l.startsWith("bottom"),h=this.isAnchorInViewport(),v=!!p||(d?h:this.popoverMainAxisEnabled);if(v!==this.popoverMainAxisEnabled)return this.popoverMainAxisEnabled=v,void this.updatePosition()}this.currentPlacement=l,Object.assign(this.floatingElement.style,{left:`${s}px`,top:`${r}px`,position:"fixed",transition:`opacity ${this.timeOfAnimation}ms ease`});const f=l.split("-")[0]??"bottom",u={top:"bottom",right:"left",bottom:"top",left:"right"}[f],{arrowZIndex:a}=this.normalizeFloatingElementStacking();if(c.arrow&&this.arrowEl){const d=this.arrowEl.offsetWidth,{x:p,y:h}=c.arrow;this.arrowEl.style.borderRadius=`${["left","right"].includes(f)?"0 ":""}var(--gidsFloatingElement-tip-border-radius, 2px)${["top","bottom"].includes(f)?" 0":""}`,Object.assign(this.arrowEl.style,{left:p!==null?`${p}px`:"",top:h!==null?`${h}px`:"",right:"",bottom:"",[u]:-d/2+"px",transform:"rotate(45deg)",zIndex:`${a}`,background:"var(--gidsFloatingElement-background)"})}}))}applyViewportMaxWidth(){const t=`calc(100vw - ${2*this.offset}px)`;this.floatingElement?.style.maxWidth!==t&&(this.floatingElement.style.maxWidth=t)}normalizeFloatingElementStacking(){const t=this.floatingElement.style.zIndex||(window.getComputedStyle?.(this.floatingElement).zIndex??""),o=Number.parseInt(t,10),n=Number.isNaN(o)?-1:o-1,i=Number.isNaN(o)?n+1:o;return Number.isNaN(i)||(this.floatingElement.style.zIndex=`${i}`),Array.from(this.floatingElement.children).forEach((s=>{if(!(s instanceof HTMLElement)||s===this.arrowEl)return;const r=s.style.zIndex||(window.getComputedStyle?.(s).zIndex??""),c=Number.parseInt(r,10),l=window.getComputedStyle?.(s).position??"";(r===""||r==="auto"||Number.isNaN(c)||c<i)&&(s.style.zIndex=`${i}`,l!==""&&l!=="static"||(s.style.position="relative"))})),{contentZIndex:i,arrowZIndex:n}}hideFloatingElement(){this.floatingElement.classList.remove(this.config.visibilityClass),fe.currentFloatingElements.delete(this.config.elementType)}showFloatingElement(){const t=fe.currentFloatingElements.get(this.config.elementType);t&&t.hideFloatingElement(),this.floatingElement.classList.add(this.config.visibilityClass),fe.currentFloatingElements.set(this.config.elementType,this)}isVisible(){return this.floatingElement.classList.contains(this.config.visibilityClass)}show(){this.setupAutoUpdate(),this.showFloatingElement()}hide(){this.cleanupAutoUpdate(),this.hideFloatingElement()}toggle(){this.isVisible()?this.hide():this.show()}showAfterDelay(){clearTimeout(this.hoverOutTimeout),this.hoverTimeout=setTimeout((()=>{this.show()}),this.timeBeforeElementShows)}hideAfterDelay(){clearTimeout(this.hoverTimeout),this.hoverOutTimeout=setTimeout((()=>{this.hide()}),this.timeDelayBeforeFadingOut)}cancelDelayedActions(){clearTimeout(this.hoverTimeout),clearTimeout(this.hoverOutTimeout)}destroy(){this.cleanupAutoUpdate(),this.cancelDelayedActions()}isAnchorInViewport(){if(!(this.anchorElement&&this.anchorElement instanceof Element))return!1;const t=this.anchorElement.getBoundingClientRect(),o=window.innerHeight||document.documentElement?.clientHeight||0,n=window.innerWidth||document.documentElement?.clientWidth||0,i=t.height/2+2*this.offset;return t.bottom>=i&&t.top<=o-i&&t.right>=0&&t.left<=n}};fe.currentFloatingElements=new Map;let ft=fe;const en=Rn(class extends ht{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.placement="bottom",this.previouslyFocusedElement=null,this.focusableElements=[],this.handleToggleEvent=t=>{t.stopPropagation();const o=this.floatingElementManager.isVisible();this.floatingElementManager.toggle(),!o&&this.floatingElementManager.isVisible()?this.onPopoverShow():o&&!this.floatingElementManager.isVisible()&&this.onPopoverHide()},this.handleDocumentClick=t=>{this.floatingElementManager.isVisible()&&!this._el.contains(t.target)&&(this.floatingElementManager.hide(),this.onPopoverHide())},this.handleKeyDown=t=>{if(this.floatingElementManager.isVisible())return t.key==="Escape"?(t.preventDefault(),this.floatingElementManager.hide(),void this.onPopoverHide()):void(t.key==="Tab"&&this.trapFocus(t))}}componentDidLoad(){this.floatingElementManager=new ft(this._el,{htmlFor:this.htmlFor,placement:this.placement,showWithoutDelay:!0,floatingElementSelector:"#popover",arrowElementSelector:"#arrow",visibilityClass:"gids-popover--visible",elementType:be.POPOVER,getAnchorElementFromSlot:e=>e.querySelector('slot[name="anchor"]')?.assignedElements()[0]||null}),this.floatingElementManager.initialize(),this.setupEventListeners()}setupEventListeners(){const e=this.floatingElementManager.getAnchorElement();e&&(e.addEventListener("click",this.handleToggleEvent),document.addEventListener("click",this.handleDocumentClick),document.addEventListener("keydown",this.handleKeyDown))}onPopoverShow(){this.previouslyFocusedElement=document.activeElement,this.updateFocusableElements(),setTimeout((()=>{this.focusableElements.length>0&&this.focusableElements[0]&&this.focusableElements[0].focus()}),50)}onPopoverHide(){this.previouslyFocusedElement&&(this.previouslyFocusedElement.focus(),this.previouslyFocusedElement=null)}updateFocusableElements(){const e=this._el.shadowRoot?.querySelector("#popover");if(!e)return;const t=[],o=nn(e);t.push(...o);const n=this._el.shadowRoot?.querySelector("slot:not([name])");n&&n.assignedElements({flatten:!0}).forEach((i=>{const s=nn(i);t.push(...s)})),this.focusableElements=t.sort(((i,s)=>{const r=i.compareDocumentPosition(s),c=!!(r&Node.DOCUMENT_POSITION_FOLLOWING),l=!!(r&Node.DOCUMENT_POSITION_PRECEDING);return c?-1:l?1:0}))}trapFocus(e){if(this.focusableElements.length===0)return;const t=this.focusableElements[0],o=this.focusableElements[this.focusableElements.length-1];let n=document.activeElement;if(n===this._el){const s=this._el.shadowRoot?.activeElement;s!==null&&(n=s)}const i=this.focusableElements.indexOf(n)!==-1;e.shiftKey?n!==t&&i||(e.preventDefault(),o&&o.focus()):n!==o&&i||(e.preventDefault(),t&&t.focus())}placementChanged(e){this.floatingElementManager?.updateConfig({placement:e}),this.floatingElementManager?.isVisible()&&this.floatingElementManager?.reposition()}htmlForChanged(e){this.floatingElementManager?.updateConfig({htmlFor:e}),this.cleanupEventListeners(),this.floatingElementManager?.initialize(),this.setupEventListeners()}cleanupEventListeners(){const e=this.floatingElementManager?.getAnchorElement();e&&e.removeEventListener("click",this.handleToggleEvent),document.removeEventListener("click",this.handleDocumentClick),document.removeEventListener("keydown",this.handleKeyDown)}render(){return z(Pn,{key:"8ba926923396baba700ffdd150285e2b1d5fdadb"},z("slot",{key:"f6f2124fa92e77a40d9ef3daad50746d7c19d525",name:"anchor"}),z("div",{key:"e38abaca1c99ae58185684dec56372aac6cdf169",id:"popover",part:"popover",role:"dialog","aria-modal":"true",tabindex:"-1"},z("span",{key:"6eaef30f452a72b3221d2c5ddef5ac21aab3ba62",id:"arrow"}),z("div",{key:"cd3bb7bf24a8f2a8273bcb891df314c50a3d00ce"},z("slot",{key:"18e66983483c84164787fc2f999dbb93bee6f929"}))))}disconnectedCallback(){this.cleanupEventListeners(),this.floatingElementManager?.destroy()}get _el(){return this}static get watchers(){return{placement:[{placementChanged:0}],htmlFor:[{htmlForChanged:0}]}}static get style(){return"gids-popover{--gidsPopover-background:var(--gids-elevation-surface-overlay-default);--gidsPopover-text-color:var(--gids-color-text-default);--gidsPopover-padding:var(--gids-padding-vertical-edge-to-element-200) var(--gids-padding-horizontal-edge-to-element-300);--gidsPopover-border-radius:var(--gids-border-radius-lg);--gidsPopover-tip-border-radius:2px;--gidsPopover-tip-size:12px;--gidsPopover-shadow:var(--gids-elevation-shadow-overlay);--gidsFloatingElement-background:var(--gidsPopover-background);--gidsFloatingElement-tip-border-radius:var(--gidsPopover-tip-border-radius)}[part=popover]{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);position:absolute;display:inline-block;background-color:var(--gidsPopover-background);color:var(--gidsPopover-text-color);border-radius:var(--gidsPopover-border-radius);box-shadow:var(--gidsPopover-shadow);z-index:1000;opacity:0;pointer-events:none;outline:none}[part=popover]:focus{outline:none}[part=popover].gids-popover--visible{pointer-events:initial;opacity:1}[part=popover] span#arrow{position:absolute;height:var(--gidsPopover-tip-size);width:var(--gidsPopover-tip-size);background-color:var(--gidsPopover-background)}"}},[257,"gids-popover",{htmlFor:[513,"for"],placement:[513]},void 0,{placement:[{placementChanged:0}],htmlFor:[{htmlForChanged:0}]}]),tn=e=>{if(!(e instanceof ht)||e.tabIndex===-1||e.hasAttribute("disabled"))return!1;const t=getComputedStyle(e);if(t.display==="none"||t.visibility==="hidden"||e.hidden)return!1;try{const o=e.tabIndex;e.tabIndex=-1,e.focus();const n=document.activeElement===e;return e.tabIndex=o,n&&e.blur(),n}catch{return!1}},nn=e=>{const t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>tn(i)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),o=[];tn(e)&&o.push(e);let n=t.nextNode();for(;n!==null;)o.push(n),n=t.nextNode();return o};function on(){typeof customElements<"u"&&["gids-popover"].forEach((e=>{e==="gids-popover"&&(customElements.get(e)||customElements.define(e,en))}))}on();const Co=en,No=on;Y.GidsPopover=Co,Y.defineCustomElement=No,Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"})}));
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
Flattening is not supported for Stencil non-shadow slots.
|
|
3
3
|
You can use \`.childNodes\` to nested slot fallback content.
|
|
4
4
|
If you have a particular use case, please open an issue on the Stencil repo.
|
|
5
|
-
`);const b=this["s-cr"].parentElement;return(b.__childNodes?b.childNodes:(S=>{const g=[];for(let y=0;y<S.length;y++){const p=S[y]["s-nr"]||void 0;p&&p.isConnected&&g.push(p)}return g})(b.childNodes)).forEach((S=>{h===V(S)&&m.push(S)})),a?m.filter((S=>S.nodeType===1)):m}).bind(d);d.assignedElements=u(!0),d.assignedNodes=u(!1)})(l),c=e&&e.m&&e.m[o],c&&c.O===n.O&&e.S&&Ee(e.S)),l},Ee=e=>{_.i|=1;const t=e.closest(L.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of o?s.reverse():s)n["s-sh"]!=null&&(E(t,n,o??null),n["s-sh"]=void 0,Y=!0)}_.i&=-2},J=(e,t)=>{_.i|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===L&&o.push(s)}for(let s=o.length-1;s>=0;s--){const n=o[s];n["s-hn"]!==L&&n["s-ol"]&&(E(B(n).parentNode,n,B(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,Y=!0),t&&J(n,t)}_.i&=-2},je=(e,t,o,s,n,l)=>{let i,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===L&&(c=c.shadowRoot),o.O==="template"&&(c=c.content);n<=l;++n)s[n]&&(i=Z(null,o,n),i&&(s[n].S=i,E(c,i,B(t))))},xe=(e,t,o)=>{for(let s=t;s<=o;++s){const n=e[s];if(n){const l=n.S;Te(n),l&&(I=!0,l["s-ol"]?l["s-ol"].remove():J(l,!0),l.remove())}}},K=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),B=e=>e&&e["s-ol"]||e,D=(e,t,o=!1)=>{const s=t.S=e.S,n=e.m,l=t.m,i=t.O,c=t.h;let r;c==null?(C=i==="svg"||i!=="foreignObject"&&C,i!=="slot"||W||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Ee(t.S.parentElement)),ie(e,t,C),n!==null&&l!==null?((d,u,a,f,m=!1)=>{let h,b,S=0,g=0,y=0,p=0,O=u.length-1,v=u[0],N=u[O],k=f.length-1,$=f[0],j=f[k];const Ue=a.O==="template"?d.content:d;for(;S<=O&&g<=k;)if(v==null)v=u[++S];else if(N==null)N=u[--O];else if($==null)$=f[++g];else if(j==null)j=f[--k];else if(K(v,$,m))D(v,$,m),v=u[++S],$=f[++g];else if(K(N,j,m))D(N,j,m),N=u[--O],j=f[--k];else if(K(v,j,m))v.O!=="slot"&&j.O!=="slot"||J(v.S.parentNode,!1),D(v,j,m),E(Ue,v.S,N.S.nextSibling),v=u[++S],j=f[--k];else if(K(N,$,m))v.O!=="slot"&&j.O!=="slot"||J(N.S.parentNode,!1),D(N,$,m),E(Ue,N.S,v.S),N=u[--O],$=f[++g];else{for(y=-1,p=S;p<=O;++p)if(u[p]&&u[p].$!==null&&u[p].$===$.$){y=p;break}y>=0?(b=u[y],b.O!==$.O?h=Z(u&&u[g],a,y):(D(b,$,m),u[y]=void 0,h=b.S),$=f[++g]):(h=Z(u&&u[g],a,g),$=f[++g]),h&&E(B(v.S).parentNode,h,B(v.S))}S>O?je(d,f[k+1]==null?null:f[k+1].S,a,f,g,k):g>k&&xe(u,S,O)})(s,n,t,l,o):l!==null?(e.h!==null&&(s.textContent=""),je(s,null,t,l,0,l.length-1)):!o&&n!==null&&xe(n,0,n.length-1),C&&i==="svg"&&(C=!1)):(r=s["s-cr"])?r.parentNode.textContent=c:e.h!==c&&(s.data=c)},A=[],Ae=e=>{let t,o,s;const n=e.__childNodes||e.childNodes;for(const l of n){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const i=l["s-sn"];for(s=o.length-1;s>=0;s--)if(t=o[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(Se(t,i)){let c=A.find((r=>r.k===t));I=!0,t["s-sn"]=t["s-sn"]||i,c?(c.k["s-sh"]=l["s-hn"],c.N=l):(t["s-sh"]=l["s-hn"],A.push({N:l,k:t})),t["s-sr"]&&A.map((r=>{Se(r.k,t["s-sn"])&&(c=A.find((d=>d.k===t)),c&&!r.N&&(r.N=c.N))}))}else A.some((c=>c.k===t))||A.push({k:t})}l.nodeType===1&&Ae(l)}},Te=e=>{e.v&&e.v.ref&&ce.push((()=>e.v.ref(null))),e.m&&e.m.map(Te)},nt=(e,t)=>{ae.push((()=>e(t)))},E=(e,t,o,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:n}=(function(l,i){var c;if(!(i=i||((c=l["s-ol"])==null?void 0:c.parentElement)))return{slotNode:null,slotName:""};const r=l["s-sn"]=V(l)||"";return{slotNode:oe(ne(i,"childNodes"),i.tagName,r)[0],slotName:r}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},lt=(e,t,o=!1)=>{var s,n,l,i,c;const r=e.$hostElement$,d=e.o,u=e.M||z(null,null);var a;const f=(a=t)&&a.O===Qe?t:G(null,null,t);if(L=r.tagName,d.C&&(f.v=f.v||{},d.C.forEach((([m,h])=>{f.v[h]=r[m]}))),o&&f.v)for(const m of Object.keys(f.v))r.hasAttribute(m)&&!["key","ref","style","class"].includes(m)&&(f.v[m]=r[m]);if(f.O=null,f.i|=4,e.M=f,f.S=u.S=r.shadowRoot||r,W=!(!(1&d.i)||128&d.i),le=r["s-cr"],I=!1,D(u,f,o),_.i|=1,Y){Ae(f.S);for(const m of A){const h=m.k;if(!h["s-ol"]&&w.document){const b=w.document.createTextNode("");b["s-nr"]=h,E(h.parentNode,h["s-ol"]=b,h,o)}}for(const m of A){const h=m.k,b=m.N;if(h.nodeType===1&&o&&(h["s-ih"]=(s=h.hidden)!=null&&s),b){const S=b.parentNode;let g=b.nextSibling;if(g&&g.nodeType===1){let y=(n=h["s-ol"])==null?void 0:n.previousSibling;for(;y;){let p=(l=y["s-nr"])!=null?l:null;if(p&&p["s-sn"]===h["s-sn"]&&S===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===h||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){g=p;break}}y=y.previousSibling}}if((!g&&S!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==g)&&h!==g){if(E(S,h,g,o),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=w.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=h["s-hn"],y["s-sn"]=h["s-sn"],y["s-sh"]=h["s-sh"],y["s-sr"]=h["s-sr"],y["s-ol"]=h["s-ol"],y["s-ol"]["s-nr"]=y,E(h.parentNode,y,h,o),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(i=h["s-ih"])!=null&&i)}h&&typeof b["s-rf"]=="function"&&b["s-rf"](b)}else h.nodeType===1&&(h.hidden=!0)}}if(I&&ve(f.S),_.i&=-2,A.length=0,!W&&!(1&d.i)&&r["s-cr"]){const m=f.S.__childNodes||f.S.childNodes;for(const h of m)if(h["s-hn"]!==L&&!h["s-sh"]){if(o&&h["s-ih"]==null&&(h["s-ih"]=(c=h.hidden)!=null&&c),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const b=w.document.createComment("s-nt-"+h.nodeValue);b["s-sn"]=h["s-sn"],E(h.parentNode,b,h,o),h.parentNode.removeChild(h)}}}le=void 0,ce.forEach((m=>m())),ce.length=0,ae.forEach((m=>m())),ae.length=0},Re=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(o-1,1),s()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Re(e,e.R);const o=()=>rt(e,t);if(!t)return Ze(o);queueMicrotask((()=>{o()}))},rt=(e,t)=>{const o=e.$hostElement$,s=o;if(!s)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=U(s,t?"componentWillLoad":"componentWillUpdate",void 0,o),n=Pe(n,(()=>U(s,"componentWillRender",void 0,o))),Pe(n,(()=>ct(e,s,t)))},Pe=(e,t)=>it(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),it=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",ct=async(e,t,o)=>{var s;const n=e.$hostElement$,l=n["s-rc"];o&&(i=>{const c=i.o,r=i.$hostElement$,d=c.i,u=((a,f)=>{var m,h,b;const S=be(f),g=q.get(S);if(!w.document)return S;if(a=a.nodeType===11?a:w.document,g)if(typeof g=="string"){let y,p=T.get(a=a.head||a);if(p||T.set(a,p=new Set),!p.has(S)){y=w.document.createElement("style"),y.textContent=g;const O=(m=_._)!=null?m:(function(){var v,N,k;return(k=(N=(v=w.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:N.getAttribute("content"))!=null?k:void 0})();if(O!=null&&y.setAttribute("nonce",O),!(1&f.i))if(a.nodeName==="HEAD"){const v=a.querySelectorAll("link[rel=preconnect]"),N=v.length>0?v[v.length-1].nextSibling:a.querySelector("style");a.insertBefore(y,N?.parentNode===a?N:null)}else if("host"in a)if(Q){const v=new((h=a.defaultView)!=null?h:a.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(g),X?a.adoptedStyleSheets.unshift(v):a.adoptedStyleSheets=[v,...a.adoptedStyleSheets]}else{const v=a.querySelector("style");v?v.textContent=g+v.textContent:a.prepend(y)}else a.append(y);1&f.i&&a.insertBefore(y,null),4&f.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(S)}}else{let y=T.get(a);if(y||T.set(a,y=new Set),!y.has(S)){const p=(b=a.defaultView)!=null?b:a.ownerDocument.defaultView;let O;if(g.constructor===p.CSSStyleSheet)O=g;else{O=new p.CSSStyleSheet;for(let v=0;v<g.cssRules.length;v++)O.insertRule(g.cssRules[v].cssText,v)}X?a.adoptedStyleSheets.push(O):a.adoptedStyleSheets=[...a.adoptedStyleSheets,O],y.add(S)}}return S})(r.shadowRoot?r.shadowRoot:r.getRootNode(),c);10&d&&(r["s-sc"]=u,r.classList.add(u+"-h"))})(e),at(e,t,n,o),l&&(l.map((i=>i())),n["s-rc"]=void 0);{const i=(s=n["s-p"])!=null?s:[],c=()=>dt(e);i.length===0?c():(Promise.all(i).then(c).catch(c),e.i|=4,i.length=0)}},at=(e,t,o,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,lt(e,t,s)}catch(n){P(n,e.$hostElement$)}return null},dt=e=>{const t=e.$hostElement$,o=t,s=e.R;U(o,"componentDidRender",void 0,t),64&e.i?U(o,"componentDidUpdate",void 0,t):(e.i|=64,ft(t),U(o,"componentDidLoad",void 0,t),e.L(t),s||ut()),e.A&&(e.A(),e.A=void 0),512&e.i&&se((()=>de(e,!1))),e.i&=-517},ut=()=>{se((()=>tt(w,"appload",{detail:{namespace:"gids-core-web"}})))},U=(e,t,o,s)=>{if(e&&e[t])try{return e[t](o)}catch(n){P(n,s)}},ft=e=>e.classList.add("hydrated"),Le=(e,t,o,s)=>{const n=x(e);if(!n)return;const l=e,i=n.l.get(t),c=n.i,r=l;o=Oe(o,s.t[t][0],!!(64&s.i));const d=Number.isNaN(i)&&Number.isNaN(o);if(o!==i&&!d){if(n.l.set(t,o),s.F){const u=s.F[t];u&&u.map((a=>{try{const[[f,m]]=Object.entries(a);(128&c||1&m)&&(r?r[f](o,i,t):n.T.push((()=>{n.D[f](o,i,t)})))}catch(f){P(f,l)}}))}if(2&c){if(r.componentShouldUpdate&&r.componentShouldUpdate(o,i,t)===!1&&!(16&c))return;16&c||de(n,!1)}}},ht=(e,t,o)=>{var s,n;const l=e.prototype;64&t.i&&1&o&&Ge.forEach((i=>{const c=l[i];Object.defineProperty(l,i,{value(...r){var d;const u=x(this),a=this;a?typeof c=="function"&&c.call(a,...r):(d=u?.H)==null||d.then((f=>{const m=f[i];typeof m=="function"&&m.call(f,...r)}))}})}));{e.watchers&&!t.F&&(t.F=Ne(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const i=Object.entries((s=t.t)!=null?s:{});i.map((([c,[r]])=>{if(31&r||32&r){const{get:d,set:u}=M(l,c)||{};d&&(t.t[c][0]|=2048),u&&(t.t[c][0]|=4096),Object.defineProperty(l,c,{get(){return d?d.apply(this):(a=c,x(this).l.get(a));var a},configurable:!0,enumerable:!0}),Object.defineProperty(l,c,{set(a){const f=x(this);if(f){if(u)return(32&r?this[c]:f.$hostElement$[c])===void 0&&f.l.get(c)&&(a=f.l.get(c)),u.apply(this,[Oe(a,r,!!(64&t.i))]),void Le(this,c,a=32&r?this[c]:f.$hostElement$[c],t);Le(this,c,a,t)}}})}}));{const c=new Map;l.attributeChangedCallback=function(r,d,u){_.jmp((()=>{var a;const f=c.get(r),m=x(this);if(this.hasOwnProperty(f),l.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==u)return;if(f==null){const y=m?.i;if(m&&y&&!(8&y)&&u!==d){const p=this,O=(a=t.F)==null?void 0:a[r];O?.forEach((v=>{const[[N,k]]=Object.entries(v);p[N]!=null&&(128&y||1&k)&&p[N].call(p,u,d,r)}))}return}const h=i.find((([y])=>y===f)),b=h&&4&h[1][0],S=b&&u===null&&this[f]===void 0;b&&(u=u!==null&&u!=="false");const g=Object.getOwnPropertyDescriptor(l,f);S||u==this[f]||g.get&&!g.set||(this[f]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...i.filter((([r,d])=>31&d[0])).map((([r,d])=>{var u;const a=d[1]||r;return c.set(a,r),512&d[0]&&((u=t.C)==null||u.push([r,a])),a}))]))}}return e},pt=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.W=t[3],o.F=Ne(e.F),o.P=e.P,o.U=e.U,o.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,i)=>{const c={i:0,$hostElement$:l,o:i,l:new Map,B:new Map};c.H=new Promise((d=>c.L=d)),l["s-p"]=[],l["s-rc"]=[];const r=c;l.__stencil__getHostRef=()=>r,512&i.i&&qe(l,c)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=x(this);if(!l)return;Me(this,l,o.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&_.i)){const i=x(l);if(!i)return;const c=i.o;if(1&i.i)Me(l,i,c.W),i?.D||i?.H&&i.H.then((()=>{}));else{i.i|=1,12&c.i&&(r=>{if(!w.document)return;const d=r["s-cr"]=w.document.createComment("");d["s-cn"]=!0,E(r,d,r.firstChild)})(l);{let r=l;for(;r=r.parentNode||r.host;)if(r["s-p"]){Re(i,i.R=r);break}}c.t&&Object.entries(c.t).map((([r,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(l,r)){const u=l[r];delete l[r],l[r]=u}})),(async(r,d,u)=>{let a;try{if(!(32&d.i)&&(d.i|=32,a=r.constructor,customElements.whenDefined(r.localName).then((()=>d.i|=128)),a&&a.style)){let h;typeof a.style=="string"&&(h=a.style);const b=be(u);q.has(b)||((S,g,y)=>{let p=q.get(S);Q&&y?(p=p||new CSSStyleSheet,typeof p=="string"?p=g:p.replaceSync(g)):p=g,q.set(S,p)})(b,h,!!(1&u.i))}const f=d.R,m=()=>de(d,!0);f&&f["s-rc"]?f["s-rc"].push(m):m()}catch(f){P(f,r),d.A&&(d.A(),d.A=void 0),d.L&&d.L(r)}})(l,i,c)}}})(this),s&&s.call(this)},disconnectedCallback(){(async l=>{if(!(1&_.i)){const i=x(l);i?.V&&(i.V.map((c=>c())),i.V=void 0)}T.has(l)&&T.delete(l),l.shadowRoot&&T.has(l.shadowRoot)&&T.delete(l.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Je.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),ht(e,o,3)}catch(s){return P(s),e}},Me=(e,t,o)=>{o&&w.document&&o.map((([s,n,l])=>{const i=yt(w.document,e,s),c=mt(t,l),r=gt(s);_.ael(i,n,c,r),(t.V=t.V||[]).push((()=>_.rel(i,n,c,r)))}))},mt=(e,t)=>o=>{try{e.$hostElement$[t](o)}catch(s){P(s,e.$hostElement$)}},yt=(e,t,o)=>8&o?w:t,gt=e=>Ie?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Ot(e){return e}const H=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let De=!1;H&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(H):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let ue=null;const fe=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{He()})):void 0,He=()=>{if(H===void 0)return!1;const e=(()=>{if(H===void 0)return;const t=[];for(let o=0;o<document.styleSheets.length;o++){const s=document.styleSheets.item(o);if(s)try{let n=-1,l=0;for(let i=0;i<s.cssRules.length;i++){const c=s.cssRules.item(i);if(c?.cssText.startsWith("gids-global-styles-start"))n=i;else if(n>-1){if(c?.cssText.startsWith("gids-global-styles-end")){l=i-n+1;break}t.push(c)}}if(n>-1)return{rulesStartIndex:n,originalRulesCount:l,rules:t,styleSheet:s}}catch(n){if(!(n instanceof DOMException))throw n}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return fe!==void 0&&t!==ue&&(ue&&fe.disconnect(),t instanceof Element&&fe.observe(t,{childList:!0,characterData:!0,subtree:!0}),ue=t),H.replaceSync((o=>o.rules.map((s=>s.cssText)).join(""))(e)),(o=>{const{rulesStartIndex:s,originalRulesCount:n,styleSheet:l}=o;for(let i=0;i<n;i++)l.deleteRule(s)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},vt=()=>(De||(De=He()),H);function Fe(e){var t,o,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=Fe(e[t]))&&(s&&(s+=" "),s+=o)}else for(o in e)e[o]&&(s&&(s+=" "),s+=o);return s}function St(){for(var e,t,o=0,s="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=Fe(e))&&(s&&(s+=" "),s+=t);return s}const bt=Object.freeze(Object.defineProperty({__proto__:null,getGidsScrimClassNames:e=>St("gids-scrim",e)},Symbol.toStringTag,{value:"Module"})),{getGidsScrimClassNames:Ve}=bt,We=pt(class extends ze{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.activeClasses=""}handleExtraClassesChange(e){this.activeClasses=Ve(e)}connectedCallback(){const e=vt();e!==void 0&&this._el.shadowRoot?.adoptedStyleSheets.push(e),this.activeClasses=Ve(this.extraClasses)}render(){return G("div",{key:"f9bf11077e7b7141816116d1cace7a87d9dfa652",class:this.activeClasses,part:"root"},G("slot",{key:"221cacbb0a57c9c356d20988b02e7730e74b4430"}))}get _el(){return this}static get watchers(){return{extraClasses:[{handleExtraClassesChange:0}]}}static get style(){return".gids-scrim{display:flex;flex-direction:column;background-color:var(--gids-color-background-scrim);height:100vh !important;position:absolute;top:0;bottom:0;left:0;right:0;z-index:1001;align-items:center;justify-content:center;backdrop-filter:blur(12)}"}},[257,"gids-scrim",{extraClasses:[513,"extra-classes"],activeClasses:[32]},void 0,{extraClasses:[{handleExtraClassesChange:0}]}]);function Be(){typeof customElements<"u"&&["gids-scrim"].forEach((e=>{e==="gids-scrim"&&(customElements.get(e)||customElements.define(e,We))}))}Be();const wt=We,Nt=Be;R.GidsScrim=wt,R.defineCustomElement=Nt,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})}));
|
|
5
|
+
`);const b=this["s-cr"].parentElement;return(b.__childNodes?b.childNodes:(S=>{const g=[];for(let y=0;y<S.length;y++){const p=S[y]["s-nr"]||void 0;p&&p.isConnected&&g.push(p)}return g})(b.childNodes)).forEach((S=>{h===V(S)&&m.push(S)})),a?m.filter((S=>S.nodeType===1)):m}).bind(d);d.assignedElements=u(!0),d.assignedNodes=u(!1)})(l),c=e&&e.m&&e.m[o],c&&c.O===n.O&&e.S&&Ee(e.S)),l},Ee=e=>{_.i|=1;const t=e.closest(L.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of o?s.reverse():s)n["s-sh"]!=null&&(E(t,n,o??null),n["s-sh"]=void 0,Y=!0)}_.i&=-2},J=(e,t)=>{_.i|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===L&&o.push(s)}for(let s=o.length-1;s>=0;s--){const n=o[s];n["s-hn"]!==L&&n["s-ol"]&&(E(B(n).parentNode,n,B(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,Y=!0),t&&J(n,t)}_.i&=-2},je=(e,t,o,s,n,l)=>{let i,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===L&&(c=c.shadowRoot),o.O==="template"&&(c=c.content);n<=l;++n)s[n]&&(i=Z(null,o,n),i&&(s[n].S=i,E(c,i,B(t))))},xe=(e,t,o)=>{for(let s=t;s<=o;++s){const n=e[s];if(n){const l=n.S;Te(n),l&&(I=!0,l["s-ol"]?l["s-ol"].remove():J(l,!0),l.remove())}}},K=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),B=e=>e&&e["s-ol"]||e,D=(e,t,o=!1)=>{const s=t.S=e.S,n=e.m,l=t.m,i=t.O,c=t.h;let r;c==null?(C=i==="svg"||i!=="foreignObject"&&C,i!=="slot"||W||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Ee(t.S.parentElement)),ie(e,t,C),n!==null&&l!==null?((d,u,a,f,m=!1)=>{let h,b,S=0,g=0,y=0,p=0,O=u.length-1,v=u[0],N=u[O],k=f.length-1,$=f[0],j=f[k];const Ue=a.O==="template"?d.content:d;for(;S<=O&&g<=k;)if(v==null)v=u[++S];else if(N==null)N=u[--O];else if($==null)$=f[++g];else if(j==null)j=f[--k];else if(K(v,$,m))D(v,$,m),v=u[++S],$=f[++g];else if(K(N,j,m))D(N,j,m),N=u[--O],j=f[--k];else if(K(v,j,m))v.O!=="slot"&&j.O!=="slot"||J(v.S.parentNode,!1),D(v,j,m),E(Ue,v.S,N.S.nextSibling),v=u[++S],j=f[--k];else if(K(N,$,m))v.O!=="slot"&&j.O!=="slot"||J(N.S.parentNode,!1),D(N,$,m),E(Ue,N.S,v.S),N=u[--O],$=f[++g];else{for(y=-1,p=S;p<=O;++p)if(u[p]&&u[p].$!==null&&u[p].$===$.$){y=p;break}y>=0?(b=u[y],b.O!==$.O?h=Z(u&&u[g],a,y):(D(b,$,m),u[y]=void 0,h=b.S),$=f[++g]):(h=Z(u&&u[g],a,g),$=f[++g]),h&&E(B(v.S).parentNode,h,B(v.S))}S>O?je(d,f[k+1]==null?null:f[k+1].S,a,f,g,k):g>k&&xe(u,S,O)})(s,n,t,l,o):l!==null?(e.h!==null&&(s.textContent=""),je(s,null,t,l,0,l.length-1)):!o&&n!==null&&xe(n,0,n.length-1),C&&i==="svg"&&(C=!1)):(r=s["s-cr"])?r.parentNode.textContent=c:e.h!==c&&(s.data=c)},A=[],Ae=e=>{let t,o,s;const n=e.__childNodes||e.childNodes;for(const l of n){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const i=l["s-sn"];for(s=o.length-1;s>=0;s--)if(t=o[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(Se(t,i)){let c=A.find((r=>r.k===t));I=!0,t["s-sn"]=t["s-sn"]||i,c?(c.k["s-sh"]=l["s-hn"],c.N=l):(t["s-sh"]=l["s-hn"],A.push({N:l,k:t})),t["s-sr"]&&A.map((r=>{Se(r.k,t["s-sn"])&&(c=A.find((d=>d.k===t)),c&&!r.N&&(r.N=c.N))}))}else A.some((c=>c.k===t))||A.push({k:t})}l.nodeType===1&&Ae(l)}},Te=e=>{e.v&&e.v.ref&&ce.push((()=>e.v.ref(null))),e.m&&e.m.map(Te)},nt=(e,t)=>{ae.push((()=>e(t)))},E=(e,t,o,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:n}=(function(l,i){var c;if(!(i=i||((c=l["s-ol"])==null?void 0:c.parentElement)))return{slotNode:null,slotName:""};const r=l["s-sn"]=V(l)||"";return{slotNode:oe(ne(i,"childNodes"),i.tagName,r)[0],slotName:r}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},lt=(e,t,o=!1)=>{var s,n,l,i,c;const r=e.$hostElement$,d=e.o,u=e.M||z(null,null);var a;const f=(a=t)&&a.O===Qe?t:G(null,null,t);if(L=r.tagName,d.C&&(f.v=f.v||{},d.C.forEach((([m,h])=>{f.v[h]=r[m]}))),o&&f.v)for(const m of Object.keys(f.v))r.hasAttribute(m)&&!["key","ref","style","class"].includes(m)&&(f.v[m]=r[m]);if(f.O=null,f.i|=4,e.M=f,f.S=u.S=r.shadowRoot||r,W=!(!(1&d.i)||128&d.i),le=r["s-cr"],I=!1,D(u,f,o),_.i|=1,Y){Ae(f.S);for(const m of A){const h=m.k;if(!h["s-ol"]&&w.document){const b=w.document.createTextNode("");b["s-nr"]=h,E(h.parentNode,h["s-ol"]=b,h,o)}}for(const m of A){const h=m.k,b=m.N;if(h.nodeType===1&&o&&(h["s-ih"]=(s=h.hidden)!=null&&s),b){const S=b.parentNode;let g=b.nextSibling;if(g&&g.nodeType===1){let y=(n=h["s-ol"])==null?void 0:n.previousSibling;for(;y;){let p=(l=y["s-nr"])!=null?l:null;if(p&&p["s-sn"]===h["s-sn"]&&S===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===h||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){g=p;break}}y=y.previousSibling}}if((!g&&S!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==g)&&h!==g){if(E(S,h,g,o),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=w.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=h["s-hn"],y["s-sn"]=h["s-sn"],y["s-sh"]=h["s-sh"],y["s-sr"]=h["s-sr"],y["s-ol"]=h["s-ol"],y["s-ol"]["s-nr"]=y,E(h.parentNode,y,h,o),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(i=h["s-ih"])!=null&&i)}h&&typeof b["s-rf"]=="function"&&b["s-rf"](b)}else h.nodeType===1&&(h.hidden=!0)}}if(I&&ve(f.S),_.i&=-2,A.length=0,!W&&!(1&d.i)&&r["s-cr"]){const m=f.S.__childNodes||f.S.childNodes;for(const h of m)if(h["s-hn"]!==L&&!h["s-sh"]){if(o&&h["s-ih"]==null&&(h["s-ih"]=(c=h.hidden)!=null&&c),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const b=w.document.createComment("s-nt-"+h.nodeValue);b["s-sn"]=h["s-sn"],E(h.parentNode,b,h,o),h.parentNode.removeChild(h)}}}le=void 0,ce.forEach((m=>m())),ce.length=0,ae.forEach((m=>m())),ae.length=0},Re=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(o-1,1),s()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Re(e,e.R);const o=()=>rt(e,t);if(!t)return Ze(o);queueMicrotask((()=>{o()}))},rt=(e,t)=>{const o=e.$hostElement$,s=o;if(!s)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=U(s,t?"componentWillLoad":"componentWillUpdate",void 0,o),n=Pe(n,(()=>U(s,"componentWillRender",void 0,o))),Pe(n,(()=>ct(e,s,t)))},Pe=(e,t)=>it(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),it=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",ct=async(e,t,o)=>{var s;const n=e.$hostElement$,l=n["s-rc"];o&&(i=>{const c=i.o,r=i.$hostElement$,d=c.i,u=((a,f)=>{var m,h,b;const S=be(f),g=q.get(S);if(!w.document)return S;if(a=a.nodeType===11?a:w.document,g)if(typeof g=="string"){let y,p=T.get(a=a.head||a);if(p||T.set(a,p=new Set),!p.has(S)){y=w.document.createElement("style"),y.textContent=g;const O=(m=_._)!=null?m:(function(){var v,N,k;return(k=(N=(v=w.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:N.getAttribute("content"))!=null?k:void 0})();if(O!=null&&y.setAttribute("nonce",O),!(1&f.i))if(a.nodeName==="HEAD"){const v=a.querySelectorAll("link[rel=preconnect]"),N=v.length>0?v[v.length-1].nextSibling:a.querySelector("style");a.insertBefore(y,N?.parentNode===a?N:null)}else if("host"in a)if(Q){const v=new((h=a.defaultView)!=null?h:a.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(g),X?a.adoptedStyleSheets.unshift(v):a.adoptedStyleSheets=[v,...a.adoptedStyleSheets]}else{const v=a.querySelector("style");v?v.textContent=g+v.textContent:a.prepend(y)}else a.append(y);1&f.i&&a.insertBefore(y,null),4&f.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(S)}}else{let y=T.get(a);if(y||T.set(a,y=new Set),!y.has(S)){const p=(b=a.defaultView)!=null?b:a.ownerDocument.defaultView;let O;if(g.constructor===p.CSSStyleSheet)O=g;else{O=new p.CSSStyleSheet;for(let v=0;v<g.cssRules.length;v++)O.insertRule(g.cssRules[v].cssText,v)}X?a.adoptedStyleSheets.push(O):a.adoptedStyleSheets=[...a.adoptedStyleSheets,O],y.add(S)}}return S})(r.shadowRoot?r.shadowRoot:r.getRootNode(),c);10&d&&(r["s-sc"]=u,r.classList.add(u+"-h"))})(e),at(e,t,n,o),l&&(l.map((i=>i())),n["s-rc"]=void 0);{const i=(s=n["s-p"])!=null?s:[],c=()=>dt(e);i.length===0?c():(Promise.all(i).then(c).catch(c),e.i|=4,i.length=0)}},at=(e,t,o,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,lt(e,t,s)}catch(n){P(n,e.$hostElement$)}return null},dt=e=>{const t=e.$hostElement$,o=t,s=e.R;U(o,"componentDidRender",void 0,t),64&e.i?U(o,"componentDidUpdate",void 0,t):(e.i|=64,ft(t),U(o,"componentDidLoad",void 0,t),e.L(t),s||ut()),e.A&&(e.A(),e.A=void 0),512&e.i&&se((()=>de(e,!1))),e.i&=-517},ut=()=>{se((()=>tt(w,"appload",{detail:{namespace:"gids-core-web"}})))},U=(e,t,o,s)=>{if(e&&e[t])try{return e[t](o)}catch(n){P(n,s)}},ft=e=>e.classList.add("hydrated"),Le=(e,t,o,s)=>{const n=x(e);if(!n)return;const l=e,i=n.l.get(t),c=n.i,r=l;o=Oe(o,s.t[t][0],!!(64&s.i));const d=Number.isNaN(i)&&Number.isNaN(o);if(o!==i&&!d){if(n.l.set(t,o),s.F){const u=s.F[t];u&&u.map((a=>{try{const[[f,m]]=Object.entries(a);(128&c||1&m)&&(r?r[f](o,i,t):n.T.push((()=>{n.D[f](o,i,t)})))}catch(f){P(f,l)}}))}if(2&c){if(r.componentShouldUpdate&&r.componentShouldUpdate(o,i,t)===!1&&!(16&c))return;16&c||de(n,!1)}}},ht=(e,t,o)=>{var s,n;const l=e.prototype;64&t.i&&1&o&&Ge.forEach((i=>{const c=l[i];Object.defineProperty(l,i,{value(...r){var d;const u=x(this),a=this;a?typeof c=="function"&&c.call(a,...r):(d=u?.H)==null||d.then((f=>{const m=f[i];typeof m=="function"&&m.call(f,...r)}))}})}));{e.watchers&&!t.F&&(t.F=Ne(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const i=Object.entries((s=t.t)!=null?s:{});i.map((([c,[r]])=>{if(31&r||32&r){const{get:d,set:u}=M(l,c)||{};d&&(t.t[c][0]|=2048),u&&(t.t[c][0]|=4096),Object.defineProperty(l,c,{get(){return d?d.apply(this):(a=c,x(this).l.get(a));var a},configurable:!0,enumerable:!0}),Object.defineProperty(l,c,{set(a){const f=x(this);if(f){if(u)return(32&r?this[c]:f.$hostElement$[c])===void 0&&f.l.get(c)&&(a=f.l.get(c)),u.apply(this,[Oe(a,r,!!(64&t.i))]),void Le(this,c,a=32&r?this[c]:f.$hostElement$[c],t);Le(this,c,a,t)}}})}}));{const c=new Map;l.attributeChangedCallback=function(r,d,u){_.jmp((()=>{var a;const f=c.get(r),m=x(this);if(this.hasOwnProperty(f),l.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==u)return;if(f==null){const y=m?.i;if(m&&y&&!(8&y)&&u!==d){const p=this,O=(a=t.F)==null?void 0:a[r];O?.forEach((v=>{const[[N,k]]=Object.entries(v);p[N]!=null&&(128&y||1&k)&&p[N].call(p,u,d,r)}))}return}const h=i.find((([y])=>y===f)),b=h&&4&h[1][0],S=b&&u===null&&this[f]===void 0;b&&(u=u!==null&&u!=="false");const g=Object.getOwnPropertyDescriptor(l,f);S||u==this[f]||g.get&&!g.set||(this[f]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...i.filter((([r,d])=>31&d[0])).map((([r,d])=>{var u;const a=d[1]||r;return c.set(a,r),512&d[0]&&((u=t.C)==null||u.push([r,a])),a}))]))}}return e},pt=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.W=t[3],o.F=Ne(e.F),o.P=e.P,o.U=e.U,o.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,i)=>{const c={i:0,$hostElement$:l,o:i,l:new Map,B:new Map};c.H=new Promise((d=>c.L=d)),l["s-p"]=[],l["s-rc"]=[];const r=c;l.__stencil__getHostRef=()=>r,512&i.i&&qe(l,c)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=x(this);if(!l)return;Me(this,l,o.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&_.i)){const i=x(l);if(!i)return;const c=i.o;if(1&i.i)Me(l,i,c.W),i?.D||i?.H&&i.H.then((()=>{}));else{i.i|=1,12&c.i&&(r=>{if(!w.document)return;const d=r["s-cr"]=w.document.createComment("");d["s-cn"]=!0,E(r,d,r.firstChild)})(l);{let r=l;for(;r=r.parentNode||r.host;)if(r["s-p"]){Re(i,i.R=r);break}}c.t&&Object.entries(c.t).map((([r,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(l,r)){const u=l[r];delete l[r],l[r]=u}})),(async(r,d,u)=>{let a;try{if(!(32&d.i)&&(d.i|=32,a=r.constructor,customElements.whenDefined(r.localName).then((()=>d.i|=128)),a&&a.style)){let h;typeof a.style=="string"&&(h=a.style);const b=be(u);q.has(b)||((S,g,y)=>{let p=q.get(S);Q&&y?(p=p||new CSSStyleSheet,typeof p=="string"?p=g:p.replaceSync(g)):p=g,q.set(S,p)})(b,h,!!(1&u.i))}const f=d.R,m=()=>de(d,!0);f&&f["s-rc"]?f["s-rc"].push(m):m()}catch(f){P(f,r),d.A&&(d.A(),d.A=void 0),d.L&&d.L(r)}})(l,i,c)}}})(this),s&&s.call(this)},disconnectedCallback(){(async l=>{if(!(1&_.i)){const i=x(l);i?.V&&(i.V.map((c=>c())),i.V=void 0)}T.has(l)&&T.delete(l),l.shadowRoot&&T.has(l.shadowRoot)&&T.delete(l.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Je.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),ht(e,o,3)}catch(s){return P(s),e}},Me=(e,t,o)=>{o&&w.document&&o.map((([s,n,l])=>{const i=yt(w.document,e,s),c=mt(t,l),r=gt(s);_.ael(i,n,c,r),(t.V=t.V||[]).push((()=>_.rel(i,n,c,r)))}))},mt=(e,t)=>o=>{try{e.$hostElement$[t](o)}catch(s){P(s,e.$hostElement$)}},yt=(e,t,o)=>8&o?w:t,gt=e=>Ie?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Ot(e){return e}const H=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let De=!1;H&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(H):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let ue=null;const fe=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{He()})):void 0,He=()=>{if(H===void 0)return!1;const e=(()=>{if(H===void 0)return;const t=[];for(let o=0;o<document.styleSheets.length;o++){const s=document.styleSheets.item(o);if(s)try{let n=-1,l=0;for(let i=0;i<s.cssRules.length;i++){const c=s.cssRules.item(i);if(c?.cssText.startsWith("gids-global-styles-start"))n=i;else if(n>-1){if(c?.cssText.startsWith("gids-global-styles-end")){l=i-n+1;break}t.push(c)}}if(n>-1)return{rulesStartIndex:n,originalRulesCount:l,rules:t,styleSheet:s}}catch(n){if(!(n instanceof DOMException))throw n}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return fe!==void 0&&t!==ue&&(ue&&fe.disconnect(),t instanceof Element&&fe.observe(t,{childList:!0,characterData:!0,subtree:!0}),ue=t),H.replaceSync((o=>o.rules.map((s=>s.cssText)).join(""))(e)),(o=>{const{rulesStartIndex:s,originalRulesCount:n,styleSheet:l}=o;for(let i=0;i<n;i++)l.deleteRule(s)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},vt=()=>(De||(De=He()),H);function Fe(e){var t,o,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=Fe(e[t]))&&(s&&(s+=" "),s+=o)}else for(o in e)e[o]&&(s&&(s+=" "),s+=o);return s}function St(){for(var e,t,o=0,s="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=Fe(e))&&(s&&(s+=" "),s+=t);return s}const bt=Object.freeze(Object.defineProperty({__proto__:null,getGidsScrimClassNames:e=>St("gids-scrim",e)},Symbol.toStringTag,{value:"Module"})),{getGidsScrimClassNames:Ve}=bt,We=pt(class extends ze{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.activeClasses=""}handleExtraClassesChange(e){this.activeClasses=Ve(e)}connectedCallback(){const e=vt();e!==void 0&&this._el.shadowRoot?.adoptedStyleSheets.push(e),this.activeClasses=Ve(this.extraClasses)}render(){return G("div",{key:"8167fdb99ddda2dd4db8e27f9dc188586652385d",class:this.activeClasses,part:"root"},G("slot",{key:"e93770f7b43713b32c964fc00492c31de9474e6e"}))}get _el(){return this}static get watchers(){return{extraClasses:[{handleExtraClassesChange:0}]}}static get style(){return".gids-scrim{display:flex;flex-direction:column;background-color:var(--gids-color-background-scrim);height:100vh !important;position:absolute;top:0;bottom:0;left:0;right:0;z-index:1001;align-items:center;justify-content:center;backdrop-filter:blur(12)}"}},[257,"gids-scrim",{extraClasses:[513,"extra-classes"],activeClasses:[32]},void 0,{extraClasses:[{handleExtraClassesChange:0}]}]);function Be(){typeof customElements<"u"&&["gids-scrim"].forEach((e=>{e==="gids-scrim"&&(customElements.get(e)||customElements.define(e,We))}))}Be();const wt=We,Nt=Be;R.GidsScrim=wt,R.defineCustomElement=Nt,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(P,V){typeof exports=="object"&&typeof module<"u"?V(exports):typeof define=="function"&&define.amd?define(["exports"],V):(P=typeof globalThis<"u"?globalThis:P||self,V(P.gidsCoreWebGidsTabItem={}))})(this,(function(P){"use strict";function V(e,t,s){const o=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==o;){const r=Object.getOwnPropertyDescriptor(e,t);if(r&&(!s||r.get))return r;e=Object.getPrototypeOf(e)}}var D,Fe=(e,t)=>{var s;Object.entries((s=t.o.t)!=null?s:{}).map((([o,[r]])=>{if(31&r||32&r){const i=e[o],l=V(Object.getPrototypeOf(e),o,!0)||Object.getOwnPropertyDescriptor(e,o);l&&Object.defineProperty(e,o,{get(){return l.get.call(this)},set(a){l.set.call(this,a)},configurable:!0,enumerable:!0}),t.l.has(o)?e[o]=t.l.get(o):i!==void 0&&(e[o]=i)}}))},$=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ue=(e,t)=>t in e,L=(e,t)=>(0,console.error)(e,t),G=new Map,ge="http://www.w3.org/1999/xlink",Ge=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],k=typeof window<"u"?window:{},ze=k.HTMLElement||class{},_={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,o)=>e.addEventListener(t,s,o),rel:(e,t,s,o)=>e.removeEventListener(t,s,o),ce:(e,t)=>new CustomEvent(e,t)},Ue=(()=>{var e;let t=!1;try{(e=k.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),Q=(()=>{try{return!!k.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),X=!!Q&&!!k.document&&Object.getOwnPropertyDescriptor(k.document.adoptedStyleSheets,"length").writable,ee=!1,he=[],fe=[],qe=(e,t)=>s=>{e.push(s),ee||(ee=!0,4&_.i?oe(te):_.raf(te))},be=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){L(s)}e.length=0},te=()=>{be(he),be(fe),(ee=he.length>0)&&_.raf(te)},oe=e=>Promise.resolve(void 0).then(e),Ye=qe(fe);function Ze(){const e=this.attachShadow({mode:"open"});D===void 0&&(D=null),D&&(X?e.adoptedStyleSheets.push(D):e.adoptedStyleSheets=[...e.adoptedStyleSheets,D])}var pe=e=>{const t=re(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&se(t,e.tagName).forEach((o=>{o.nodeType===1&&o.tagName==="SLOT-FB"&&(o.hidden=!!Je(o,H(o),!1).length)}));let s=0;for(s=0;s<t.length;s++){const o=t[s];o.nodeType===1&&re(o,"childNodes").length&&pe(o)}};function se(e,t,s){let o,r=0,i=[];for(;r<e.length;r++){if(o=e[r],o["s-sr"]&&(!t||o["s-hn"]===t)&&(s===void 0||H(o)===s)&&(i.push(o),s!==void 0))return i;i=[...i,...se(o.childNodes,t,s)]}return i}var Je=(e,t,s=!0)=>{const o=[];(s&&e["s-sr"]||!e["s-sr"])&&o.push(e);let r=e;for(;r=r.nextSibling;)H(r)!==t||!s&&r["s-sr"]||o.push(r);return o},me=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",H=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function re(e,t){if("__"+t in e){const s=e["__"+t];return typeof s!="function"?s:s.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var ie,R,I=new WeakMap,ve=e=>"sc-"+e.p,ne=e=>(e=typeof e)=="object"||e==="function",
|
|
1
|
+
(function(P,V){typeof exports=="object"&&typeof module<"u"?V(exports):typeof define=="function"&&define.amd?define(["exports"],V):(P=typeof globalThis<"u"?globalThis:P||self,V(P.gidsCoreWebGidsTabItem={}))})(this,(function(P){"use strict";function V(e,t,s){const o=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==o;){const r=Object.getOwnPropertyDescriptor(e,t);if(r&&(!s||r.get))return r;e=Object.getPrototypeOf(e)}}var D,Fe=(e,t)=>{var s;Object.entries((s=t.o.t)!=null?s:{}).map((([o,[r]])=>{if(31&r||32&r){const i=e[o],l=V(Object.getPrototypeOf(e),o,!0)||Object.getOwnPropertyDescriptor(e,o);l&&Object.defineProperty(e,o,{get(){return l.get.call(this)},set(a){l.set.call(this,a)},configurable:!0,enumerable:!0}),t.l.has(o)?e[o]=t.l.get(o):i!==void 0&&(e[o]=i)}}))},$=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ue=(e,t)=>t in e,L=(e,t)=>(0,console.error)(e,t),G=new Map,ge="http://www.w3.org/1999/xlink",Ge=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],k=typeof window<"u"?window:{},ze=k.HTMLElement||class{},_={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,o)=>e.addEventListener(t,s,o),rel:(e,t,s,o)=>e.removeEventListener(t,s,o),ce:(e,t)=>new CustomEvent(e,t)},Ue=(()=>{var e;let t=!1;try{(e=k.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),Q=(()=>{try{return!!k.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),X=!!Q&&!!k.document&&Object.getOwnPropertyDescriptor(k.document.adoptedStyleSheets,"length").writable,ee=!1,he=[],fe=[],qe=(e,t)=>s=>{e.push(s),ee||(ee=!0,4&_.i?oe(te):_.raf(te))},be=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){L(s)}e.length=0},te=()=>{be(he),be(fe),(ee=he.length>0)&&_.raf(te)},oe=e=>Promise.resolve(void 0).then(e),Ye=qe(fe);function Ze(){const e=this.attachShadow({mode:"open"});D===void 0&&(D=null),D&&(X?e.adoptedStyleSheets.push(D):e.adoptedStyleSheets=[...e.adoptedStyleSheets,D])}var pe=e=>{const t=re(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&se(t,e.tagName).forEach((o=>{o.nodeType===1&&o.tagName==="SLOT-FB"&&(o.hidden=!!Je(o,H(o),!1).length)}));let s=0;for(s=0;s<t.length;s++){const o=t[s];o.nodeType===1&&re(o,"childNodes").length&&pe(o)}};function se(e,t,s){let o,r=0,i=[];for(;r<e.length;r++){if(o=e[r],o["s-sr"]&&(!t||o["s-hn"]===t)&&(s===void 0||H(o)===s)&&(i.push(o),s!==void 0))return i;i=[...i,...se(o.childNodes,t,s)]}return i}var Je=(e,t,s=!0)=>{const o=[];(s&&e["s-sr"]||!e["s-sr"])&&o.push(e);let r=e;for(;r=r.nextSibling;)H(r)!==t||!s&&r["s-sr"]||o.push(r);return o},me=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",H=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function re(e,t){if("__"+t in e){const s=e["__"+t];return typeof s!="function"?s:s.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var ie,R,I=new WeakMap,ve=e=>"sc-"+e.p,ne=e=>(e=typeof e)=="object"||e==="function",A=(e,t,...s)=>{let o=null,r=null,i=null,l=!1,a=!1;const n=[],c=d=>{for(let g=0;g<d.length;g++)o=d[g],Array.isArray(o)?c(o):o!=null&&typeof o!="boolean"&&((l=typeof e!="function"&&!ne(o))&&(o=String(o)),l&&a?n[n.length-1].h+=o:n.push(l?z(null,o):o),a=l)};if(c(s),t){t.key&&(r=t.key),t.name&&(i=t.name);{const d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter((g=>d[g])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,n,Ke);const u=z(e,null);return u.v=t,n.length>0&&(u.m=n),u.$=r,u.j=i,u},z=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),ye={},Ke={forEach:(e,t)=>e.map(Se).forEach(t),map:(e,t)=>e.map(Se).map(t).map(Qe)},Se=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),Qe=e=>{if(typeof e.vtag=="function"){const s={...e.vattrs};return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),A(e.vtag,s,...e.vchildren||[])}const t=z(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},ke=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let s=!1;for(const r of t){if(s)break;for(const i of e[r])if(typeof i=="string"){s=!0;break}}if(!s)return e;const o={};for(const r of t)o[r]=e[r].map((i=>typeof i=="string"?{[i]:0}:i));return o},we=(e,t,s)=>e==null||ne(e)?e:4&t?(s&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,Xe=(e,t,s)=>{const o=_.ce(t,s);return e.dispatchEvent(o),o},Ne=(e,t,s,o,r,i)=>{if(s===o)return;let l=ue(e,t),a=t.toLowerCase();if(t==="class"){const n=e.classList,c=_e(s);let u=_e(o);n.remove(...c.filter((d=>d&&!u.includes(d)))),n.add(...u.filter((d=>d&&!c.includes(d))))}else if(t==="style"){for(const n in s)o&&o[n]!=null||(n.includes("-")?e.style.removeProperty(n):e.style[n]="");for(const n in o)s&&o[n]===s[n]||(n.includes("-")?e.style.setProperty(n,o[n]):e.style[n]=o[n])}else if(t!=="key"){if(t==="ref")o&&ot(o,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const n=t.slice(5);let c;{const u=$(e);if(u&&u.o&&u.o.t){const d=u.o.t[n];d&&d[1]&&(c=d[1])}}return c||(c=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(o==null||o===!1?o===!1&&e.getAttribute(c)!==""||e.removeAttribute(c):e.setAttribute(c,o===!0?"":o))}if(t[0]==="p"&&t.startsWith("prop:")){const n=t.slice(5);try{e[n]=o}catch{}return}{const n=ne(o);if((l||n&&o!==null)&&!r)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const u=o??"";t==="list"?l=!1:s!=null&&e[t]===u||(typeof e.__lookupSetter__(t)=="function"?e[t]=u:e.setAttribute(t,u))}}catch{}let c=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,c=!0),o==null||o===!1?o===!1&&e.getAttribute(t)!==""||(c?e.removeAttributeNS(ge,t):e.removeAttribute(t)):(!l||4&i||r)&&!n&&e.nodeType===1&&(o=o===!0?"":o,c?e.setAttributeNS(ge,t,o):e.setAttribute(t,o))}}else if(t=t[2]==="-"?t.slice(3):ue(k,a)?a.slice(2):a[2]+t.slice(3),s||o){const n=t.endsWith(Ce);t=t.replace(tt,""),s&&_.rel(e,t,s,n),o&&_.ael(e,t,o,n)}}},et=/\s/,_e=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(et):[]),Ce="Capture",tt=new RegExp(Ce+"$"),ae=(e,t,s)=>{const o=t.S.nodeType===11&&t.S.host?t.S.host:t.S,r=e&&e.v||{},i=t.v||{};for(const l of Oe(Object.keys(r)))l in i||Ne(o,l,r[l],void 0,s,t.i);for(const l of Oe(Object.keys(i)))Ne(o,l,r[l],i[l],s,t.i)};function Oe(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var M=!1,U=!1,q=!1,C=!1,le=[],de=[],Y=(e,t,s)=>{var o;const r=t.m[s];let i,l,a,n=0;if(M||(q=!0,r.O==="slot"&&(r.i|=r.m?2:1)),r.h!=null)i=r.S=k.document.createTextNode(r.h);else if(1&r.i)i=r.S=k.document.createTextNode(""),ae(null,r,C);else{if(C||(C=r.O==="svg"),!k.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(i=r.S=k.document.createElementNS(C?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!M&&2&r.i?"slot-fb":r.O),C&&r.O==="foreignObject"&&(C=!1),ae(null,r,C),r.m){const c=r.O==="template"?i.content:i;for(n=0;n<r.m.length;++n)l=Y(e,r,n),l&&c.appendChild(l)}r.O==="svg"?C=!1:i.tagName==="foreignObject"&&(C=!0)}return i["s-hn"]=R,3&r.i&&(i["s-sr"]=!0,i["s-cr"]=ie,i["s-sn"]=r.j||"",i["s-rf"]=(o=r.v)==null?void 0:o.ref,(function(c){if(c.assignedElements||c.assignedNodes||!c["s-sr"])return;const u=d=>(function(g){const b=[],h=this["s-sn"];g?.flatten&&console.error(`
|
|
2
2
|
Flattening is not supported for Stencil non-shadow slots.
|
|
3
3
|
You can use \`.childNodes\` to nested slot fallback content.
|
|
4
4
|
If you have a particular use case, please open an issue on the Stencil repo.
|
|
5
|
-
`);const S=this["s-cr"].parentElement;return(S.__childNodes?S.childNodes:(y=>{const m=[];for(let p=0;p<y.length;p++){const f=y[p]["s-nr"]||void 0;f&&f.isConnected&&m.push(f)}return m})(S.childNodes)).forEach((y=>{h===H(y)&&b.push(y)})),d?b.filter((y=>y.nodeType===1)):b}).bind(c);c.assignedElements=u(!0),c.assignedNodes=u(!1)})(i),a=e&&e.m&&e.m[s],a&&a.O===r.O&&e.S&&Te(e.S)),i},Te=e=>{_.i|=1;const t=e.closest(R.toLowerCase());if(t!=null){const s=Array.from(t.__childNodes||t.childNodes).find((r=>r["s-cr"])),o=Array.from(e.__childNodes||e.childNodes);for(const r of s?o.reverse():o)r["s-sh"]!=null&&(A(t,r,s??null),r["s-sh"]=void 0,q=!0)}_.i&=-2},Z=(e,t)=>{_.i|=1;const s=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let o=e;for(;o=o.nextSibling;)o&&o["s-sn"]===e["s-sn"]&&o["s-sh"]===R&&s.push(o)}for(let o=s.length-1;o>=0;o--){const r=s[o];r["s-hn"]!==R&&r["s-ol"]&&(A(W(r).parentNode,r,W(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,q=!0),t&&Z(r,t)}_.i&=-2},Ae=(e,t,s,o,r,i)=>{let l,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===R&&(a=a.shadowRoot),s.O==="template"&&(a=a.content);r<=i;++r)o[r]&&(l=Y(null,s,r),l&&(o[r].S=l,A(a,l,W(t))))},xe=(e,t,s)=>{for(let o=t;o<=s;++o){const r=e[o];if(r){const i=r.S;$e(r),i&&(U=!0,i["s-ol"]?i["s-ol"].remove():Z(i,!0),i.remove())}}},J=(e,t,s=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),W=e=>e&&e["s-ol"]||e,B=(e,t,s=!1)=>{const o=t.S=e.S,r=e.m,i=t.m,l=t.O,a=t.h;let n;a==null?(C=l==="svg"||l!=="foreignObject"&&C,l!=="slot"||M||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Te(t.S.parentElement)),ae(e,t,C),r!==null&&i!==null?((c,u,d,g,b=!1)=>{let h,S,y=0,m=0,p=0,f=0,N=u.length-1,v=u[0],w=u[N],O=g.length-1,T=g[0],j=g[O];const We=d.O==="template"?c.content:c;for(;y<=N&&m<=O;)if(v==null)v=u[++y];else if(w==null)w=u[--N];else if(T==null)T=g[++m];else if(j==null)j=g[--O];else if(J(v,T,b))B(v,T,b),v=u[++y],T=g[++m];else if(J(w,j,b))B(w,j,b),w=u[--N],j=g[--O];else if(J(v,j,b))v.O!=="slot"&&j.O!=="slot"||Z(v.S.parentNode,!1),B(v,j,b),A(We,v.S,w.S.nextSibling),v=u[++y],j=g[--O];else if(J(w,T,b))v.O!=="slot"&&j.O!=="slot"||Z(w.S.parentNode,!1),B(w,T,b),A(We,w.S,v.S),w=u[--N],T=g[++m];else{for(p=-1,f=y;f<=N;++f)if(u[f]&&u[f].$!==null&&u[f].$===T.$){p=f;break}p>=0?(S=u[p],S.O!==T.O?h=Y(u&&u[m],d,p):(B(S,T,b),u[p]=void 0,h=S.S),T=g[++m]):(h=Y(u&&u[m],d,m),T=g[++m]),h&&A(W(v.S).parentNode,h,W(v.S))}y>N?Ae(c,g[O+1]==null?null:g[O+1].S,d,g,m,O):m>O&&xe(u,y,N)})(o,r,t,i,s):i!==null?(e.h!==null&&(o.textContent=""),Ae(o,null,t,i,0,i.length-1)):!s&&r!==null&&xe(r,0,r.length-1),C&&l==="svg"&&(C=!1)):(n=o["s-cr"])?n.parentNode.textContent=a:e.h!==a&&(o.data=a)},E=[],je=e=>{let t,s,o;const r=e.__childNodes||e.childNodes;for(const i of r){if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const l=i["s-sn"];for(o=s.length-1;o>=0;o--)if(t=s[o],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===i["s-hn"]||t["s-sh"]&&t["s-sh"]===i["s-hn"]))if(me(t,l)){let a=E.find((n=>n.k===t));U=!0,t["s-sn"]=t["s-sn"]||l,a?(a.k["s-sh"]=i["s-hn"],a.N=i):(t["s-sh"]=i["s-hn"],E.push({N:i,k:t})),t["s-sr"]&&E.map((n=>{me(n.k,t["s-sn"])&&(a=E.find((c=>c.k===t)),a&&!n.N&&(n.N=a.N))}))}else E.some((a=>a.k===t))||E.push({k:t})}i.nodeType===1&&je(i)}},$e=e=>{e.v&&e.v.ref&&le.push((()=>e.v.ref(null))),e.m&&e.m.map($e)},ot=(e,t)=>{de.push((()=>e(t)))},A=(e,t,s,o)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:r}=(function(i,l){var a;if(!(l=l||((a=i["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const n=i["s-sn"]=H(i)||"";return{slotNode:se(re(l,"childNodes"),l.tagName,n)[0],slotName:n}})(t);return r&&!o&&r.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},st=(e,t,s=!1)=>{var o,r,i,l,a;const n=e.$hostElement$,c=e.o,u=e.M||z(null,null);var d;const g=(d=t)&&d.O===ye?t:x(null,null,t);if(R=n.tagName,c.C&&(g.v=g.v||{},c.C.forEach((([b,h])=>{g.v[h]=n[b]}))),s&&g.v)for(const b of Object.keys(g.v))n.hasAttribute(b)&&!["key","ref","style","class"].includes(b)&&(g.v[b]=n[b]);if(g.O=null,g.i|=4,e.M=g,g.S=u.S=n.shadowRoot||n,M=!(!(1&c.i)||128&c.i),ie=n["s-cr"],U=!1,B(u,g,s),_.i|=1,q){je(g.S);for(const b of E){const h=b.k;if(!h["s-ol"]&&k.document){const S=k.document.createTextNode("");S["s-nr"]=h,A(h.parentNode,h["s-ol"]=S,h,s)}}for(const b of E){const h=b.k,S=b.N;if(h.nodeType===1&&s&&(h["s-ih"]=(o=h.hidden)!=null&&o),S){const y=S.parentNode;let m=S.nextSibling;if(m&&m.nodeType===1){let p=(r=h["s-ol"])==null?void 0:r.previousSibling;for(;p;){let f=(i=p["s-nr"])!=null?i:null;if(f&&f["s-sn"]===h["s-sn"]&&y===(f.__parentNode||f.parentNode)){for(f=f.nextSibling;f===h||f?.["s-sr"];)f=f?.nextSibling;if(!f||!f["s-nr"]){m=f;break}}p=p.previousSibling}}if((!m&&y!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==m)&&h!==m){if(A(y,h,m,s),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const p=k.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));p["s-hn"]=h["s-hn"],p["s-sn"]=h["s-sn"],p["s-sh"]=h["s-sh"],p["s-sr"]=h["s-sr"],p["s-ol"]=h["s-ol"],p["s-ol"]["s-nr"]=p,A(h.parentNode,p,h,s),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(l=h["s-ih"])!=null&&l)}h&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else h.nodeType===1&&(h.hidden=!0)}}if(U&&pe(g.S),_.i&=-2,E.length=0,!M&&!(1&c.i)&&n["s-cr"]){const b=g.S.__childNodes||g.S.childNodes;for(const h of b)if(h["s-hn"]!==R&&!h["s-sh"]){if(s&&h["s-ih"]==null&&(h["s-ih"]=(a=h.hidden)!=null&&a),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const S=k.document.createComment("s-nt-"+h.nodeValue);S["s-sn"]=h["s-sn"],A(h.parentNode,S,h,s),h.parentNode.removeChild(h)}}}ie=void 0,le.forEach((b=>b())),le.length=0,de.forEach((b=>b())),de.length=0},Ee=(e,t)=>{if(t&&!e.A&&t["s-p"]){const s=t["s-p"].push(new Promise((o=>e.A=()=>{t["s-p"].splice(s-1,1),o()})))}},ce=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Ee(e,e.R);const s=()=>rt(e,t);if(!t)return Ye(s);queueMicrotask((()=>{s()}))},rt=(e,t)=>{const s=e.$hostElement$,o=s;if(!o)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let r;return r=F(o,t?"componentWillLoad":"componentWillUpdate",void 0,s),r=Ie(r,(()=>F(o,"componentWillRender",void 0,s))),Ie(r,(()=>nt(e,o,t)))},Ie=(e,t)=>it(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),it=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",nt=async(e,t,s)=>{var o;const r=e.$hostElement$,i=r["s-rc"];s&&(l=>{const a=l.o,n=l.$hostElement$,c=a.i,u=((d,g)=>{var b,h,S;const y=ve(g),m=G.get(y);if(!k.document)return y;if(d=d.nodeType===11?d:k.document,m)if(typeof m=="string"){let p,f=I.get(d=d.head||d);if(f||I.set(d,f=new Set),!f.has(y)){p=k.document.createElement("style"),p.textContent=m;const N=(b=_._)!=null?b:(function(){var v,w,O;return(O=(w=(v=k.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:w.getAttribute("content"))!=null?O:void 0})();if(N!=null&&p.setAttribute("nonce",N),!(1&g.i))if(d.nodeName==="HEAD"){const v=d.querySelectorAll("link[rel=preconnect]"),w=v.length>0?v[v.length-1].nextSibling:d.querySelector("style");d.insertBefore(p,w?.parentNode===d?w:null)}else if("host"in d)if(Q){const v=new((h=d.defaultView)!=null?h:d.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(m),X?d.adoptedStyleSheets.unshift(v):d.adoptedStyleSheets=[v,...d.adoptedStyleSheets]}else{const v=d.querySelector("style");v?v.textContent=m+v.textContent:d.prepend(p)}else d.append(p);1&g.i&&d.insertBefore(p,null),4&g.i&&(p.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),f&&f.add(y)}}else{let p=I.get(d);if(p||I.set(d,p=new Set),!p.has(y)){const f=(S=d.defaultView)!=null?S:d.ownerDocument.defaultView;let N;if(m.constructor===f.CSSStyleSheet)N=m;else{N=new f.CSSStyleSheet;for(let v=0;v<m.cssRules.length;v++)N.insertRule(m.cssRules[v].cssText,v)}X?d.adoptedStyleSheets.push(N):d.adoptedStyleSheets=[...d.adoptedStyleSheets,N],p.add(y)}}return y})(n.shadowRoot?n.shadowRoot:n.getRootNode(),a);10&c&&(n["s-sc"]=u,n.classList.add(u+"-h"))})(e),at(e,t,r,s),i&&(i.map((l=>l())),r["s-rc"]=void 0);{const l=(o=r["s-p"])!=null?o:[],a=()=>lt(e);l.length===0?a():(Promise.all(l).then(a).catch(a),e.i|=4,l.length=0)}},at=(e,t,s,o)=>{try{t=t.render(),e.i&=-17,e.i|=2,st(e,t,o)}catch(r){L(r,e.$hostElement$)}return null},lt=e=>{const t=e.$hostElement$,s=t,o=e.R;F(s,"componentDidRender",void 0,t),64&e.i?F(s,"componentDidUpdate",void 0,t):(e.i|=64,ct(t),F(s,"componentDidLoad",void 0,t),e.L(t),o||dt()),e.A&&(e.A(),e.A=void 0),512&e.i&&oe((()=>ce(e,!1))),e.i&=-517},dt=()=>{oe((()=>Xe(k,"appload",{detail:{namespace:"gids-core-web"}})))},F=(e,t,s,o)=>{if(e&&e[t])try{return e[t](s)}catch(r){L(r,o)}},ct=e=>e.classList.add("hydrated"),Pe=(e,t,s,o)=>{const r=$(e);if(!r)return;const i=e,l=r.l.get(t),a=r.i,n=i;s=we(s,o.t[t][0],!!(64&o.i));const c=Number.isNaN(l)&&Number.isNaN(s);if(s!==l&&!c){if(r.l.set(t,s),o.F){const u=o.F[t];u&&u.map((d=>{try{const[[g,b]]=Object.entries(d);(128&a||1&b)&&(n?n[g](s,l,t):r.T.push((()=>{r.D[g](s,l,t)})))}catch(g){L(g,i)}}))}if(2&a){if(n.componentShouldUpdate&&n.componentShouldUpdate(s,l,t)===!1&&!(16&a))return;16&a||ce(r,!1)}}},ut=(e,t,s)=>{var o,r;const i=e.prototype;64&t.i&&1&s&&Ge.forEach((l=>{const a=i[l];Object.defineProperty(i,l,{value(...n){var c;const u=$(this),d=this;d?typeof a=="function"&&a.call(d,...n):(c=u?.H)==null||c.then((g=>{const b=g[l];typeof b=="function"&&b.call(g,...n)}))}})}));{e.watchers&&!t.F&&(t.F=ke(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const l=Object.entries((o=t.t)!=null?o:{});l.map((([a,[n]])=>{if(31&n||32&n){const{get:c,set:u}=V(i,a)||{};c&&(t.t[a][0]|=2048),u&&(t.t[a][0]|=4096),Object.defineProperty(i,a,{get(){return c?c.apply(this):(d=a,$(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(i,a,{set(d){const g=$(this);if(g){if(u)return(32&n?this[a]:g.$hostElement$[a])===void 0&&g.l.get(a)&&(d=g.l.get(a)),u.apply(this,[we(d,n,!!(64&t.i))]),void Pe(this,a,d=32&n?this[a]:g.$hostElement$[a],t);Pe(this,a,d,t)}}})}}));{const a=new Map;i.attributeChangedCallback=function(n,c,u){_.jmp((()=>{var d;const g=a.get(n),b=$(this);if(this.hasOwnProperty(g),i.hasOwnProperty(g)&&typeof this[g]=="number"&&this[g]==u)return;if(g==null){const p=b?.i;if(b&&p&&!(8&p)&&u!==c){const f=this,N=(d=t.F)==null?void 0:d[n];N?.forEach((v=>{const[[w,O]]=Object.entries(v);f[w]!=null&&(128&p||1&O)&&f[w].call(f,u,c,n)}))}return}const h=l.find((([p])=>p===g)),S=h&&4&h[1][0],y=S&&u===null&&this[g]===void 0;S&&(u=u!==null&&u!=="false");const m=Object.getOwnPropertyDescriptor(i,g);y||u==this[g]||m.get&&!m.set||(this[g]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.F)!=null?r:{}),...l.filter((([n,c])=>31&c[0])).map((([n,c])=>{var u;const d=c[1]||n;return a.set(d,n),512&c[0]&&((u=t.C)==null||u.push([n,d])),d}))]))}}return e},gt=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.W=t[3],s.F=ke(e.F),s.P=e.P,s.U=e.U,s.C=[];const o=e.prototype.connectedCallback,r=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((i,l)=>{const a={i:0,$hostElement$:i,o:l,l:new Map,B:new Map};a.H=new Promise((c=>a.L=c)),i["s-p"]=[],i["s-rc"]=[];const n=a;i.__stencil__getHostRef=()=>n,512&l.i&&Fe(i,a)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){const i=$(this);if(!i)return;Le(this,i,s.W),this.__hasHostListenerAttached=!0}(i=>{if(!(1&_.i)){const l=$(i);if(!l)return;const a=l.o;if(1&l.i)Le(i,l,a.W),l?.D||l?.H&&l.H.then((()=>{}));else{l.i|=1,12&a.i&&(n=>{if(!k.document)return;const c=n["s-cr"]=k.document.createComment("");c["s-cn"]=!0,A(n,c,n.firstChild)})(i);{let n=i;for(;n=n.parentNode||n.host;)if(n["s-p"]){Ee(l,l.R=n);break}}a.t&&Object.entries(a.t).map((([n,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(i,n)){const u=i[n];delete i[n],i[n]=u}})),(async(n,c,u)=>{let d;try{if(!(32&c.i)&&(c.i|=32,d=n.constructor,customElements.whenDefined(n.localName).then((()=>c.i|=128)),d&&d.style)){let h;typeof d.style=="string"&&(h=d.style);const S=ve(u);G.has(S)||((y,m,p)=>{let f=G.get(y);Q&&p?(f=f||new CSSStyleSheet,typeof f=="string"?f=m:f.replaceSync(m)):f=m,G.set(y,f)})(S,h,!!(1&u.i))}const g=c.R,b=()=>ce(c,!0);g&&g["s-rc"]?g["s-rc"].push(b):b()}catch(g){L(g,n),c.A&&(c.A(),c.A=void 0),c.L&&c.L(n)}})(i,l,a)}}})(this),o&&o.call(this)},disconnectedCallback(){(async i=>{if(!(1&_.i)){const l=$(i);l?.V&&(l.V.map((a=>a())),l.V=void 0)}I.has(i)&&I.delete(i),i.shadowRoot&&I.has(i.shadowRoot)&&I.delete(i.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 ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ze.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),ut(e,s,3)}catch(o){return L(o),e}},Le=(e,t,s)=>{s&&k.document&&s.map((([o,r,i])=>{const l=ft(k.document,e,o),a=ht(t,i),n=bt(o);_.ael(l,r,a,n),(t.V=t.V||[]).push((()=>_.rel(l,r,a,n)))}))},ht=(e,t)=>s=>{try{e.$hostElement$[t](s)}catch(o){L(o,e.$hostElement$)}},ft=(e,t,s)=>8&s?k:t,bt=e=>Ue?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Ct(e){return e}function Re(e){var t,s,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(s=Re(e[t]))&&(o&&(o+=" "),o+=s)}else for(s in e)e[s]&&(o&&(o+=" "),o+=s);return o}function Ve(){for(var e,t,s=0,o="",r=arguments.length;s<r;s++)(e=arguments[s])&&(t=Re(e))&&(o&&(o+=" "),o+=t);return o}const pt=Object.freeze(Object.defineProperty({__proto__:null,getGidsBadgeClassNames:({appearance:e,type:t,outline:s},o)=>Ve("gids-badge",{"gids-badge--danger":e==="danger","gids-badge--positive":e==="positive","gids-badge--warning":e==="warning","gids-badge--inverse":e==="inverse"},{"gids-badge--dot":t==="dot"},{"gids-badge--outline":s},o)},Symbol.toStringTag,{value:"Module"})),K=99,mt=Object.freeze(Object.defineProperty({__proto__:null,getDisplayContent:(e,t)=>e===void 0?t??"":e>K?`${K}+`:e.toString(),maxCount:K,shouldIncludeA11yText:(e,t,s)=>e==="dot"||t!==void 0&&t>K||s},Symbol.toStringTag,{value:"Module"})),vt=Object.freeze(Object.defineProperty({__proto__:null,getGidsTabItemClassNames:({appearance:e,width:t="intrinsic",active:s},o)=>Ve("gids-tab-item",{"gids-tab-item--full":t==="full","gids-tab-item--active-default":e==="default"&&s,"gids-tab-item--active-primary":e==="primary"&&s,"gids-tab-item--active-bordered":e==="bordered"&&s,"gids-tab-item--active-underlined":e==="underlined"&&s,"gids-tab-item--active-subtle":e==="subtle"&&s,"gids-tab-item--default":e==="default"&&!s,"gids-tab-item--primary":e==="primary"&&!s,"gids-tab-item--bordered":e==="bordered"&&!s,"gids-tab-item--underlined":e==="underlined"&&!s,"gids-tab-item--subtle":e==="subtle"&&!s},o)},Symbol.toStringTag,{value:"Module"})),Be=e=>e!==void 0&&(!Array.isArray(e)||e.length>0),{getDisplayContent:De,shouldIncludeA11yText:yt}=mt,{getGidsBadgeClassNames:St}=pt,kt=({appearance:e,type:t,count:s,accessibleText:o,outline:r,class:i,...l})=>{const a=yt(t,s,Be(o));return x("span",{class:St({appearance:e,type:t,outline:r},i),...l},a&&x("span",{class:"gids-visually-hidden"},Be(o)?o:s),t==="notification"?a?x("span",{"aria-hidden":"true"},De(s,o)):De(s,o):null)},{getGidsTabItemClassNames:wt}=vt,He=gt(class extends ze{constructor(e){super(),e!==!1&&this.__registerHost(),this.active=!1,this.width="intrinsic",this.appearance="default",this.badgeVisible=!1,this.badgeAppearance="information",this.badgeType="dot",this.hasLeadingIcon=!1,this.hasTrailingIcon=!1,this.handleHostClick=()=>{this.onPressGidsTabItem&&this.onPressGidsTabItem({itemId:this.itemId,label:this?.label??"",active:this?.active??!1,appearance:this?.appearance??"default",name:this?.name,badgeCount:this?.badgeCount??0})}}handleWidthChange(e){this.width=e}handleAppearanceChange(e){this.appearance=e}handleBadgeVisibilityChange(e){this.badgeVisible=e}handleBadgeAppearanceChange(e){this.badgeAppearance=e}handleBadgeTypeChange(e){this.badgeType=e}handleActiveChange(e){this.active=e}componentWillLoad(){this.checkSlots()}componentWillUpdate(){this.checkSlots()}checkSlots(){this.hasLeadingIcon=!!this.hostElement.querySelector('[slot="leadingIconTabItem"]'),this.hasTrailingIcon=!!this.hostElement.querySelector('[slot="trailingIconTabItem"]')}render(){const e=wt({appearance:this.appearance,width:this.width,active:this.active}),t=this.hasTrailingIcon,s=this.badgeVisible,o=this.appearance==="primary"&&this.active?"inverse":this.badgeAppearance??"information",r=this.label;return x(ye,{key:"111117f9953d07da3af26834ab19352c9334a36a",class:e,onClick:this.handleHostClick},this.hasLeadingIcon?x("slot",{name:"leadingIconTabItem"}):void 0,r&&r!==""?x("span",{class:"gids-tab-item__label"},r&&r!==""?r:void 0,s?x(kt,{appearance:o,type:this.badgeType,count:this.badgeCount}):void 0):void 0,t?x("slot",{name:"trailingIconTabItem"}):void 0)}get hostElement(){return this}static get watchers(){return{width:[{handleWidthChange:0}],appearance:[{handleAppearanceChange:0}],badgeVisible:[{handleBadgeVisibilityChange:0}],badgeAppearance:[{handleBadgeAppearanceChange:0}],badgeType:[{handleBadgeTypeChange:0}],active:[{handleActiveChange:0}]}}static get style(){return".gids-tab-item{margin:0;padding:0;appearance:none;border:none;background:none;display:inline-flex;justify-content:center;align-items:center;gap:var(--gids-gap-100);padding:var(--gids-padding-vertical-edge-to-element-150) var(--gids-padding-horizontal-edge-to-element-150);color:var(--gids-color-text-accent-5);cursor:pointer}.gids-tab-item .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-5)}.gids-tab-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);display:flex;justify-content:center;align-items:center;gap:var(--gids-gap-150)}.gids-tab-item--full{display:flex}.gids-tab-item--default{border-radius:var(--gids-border-radius-md)}.gids-tab-item--default:hover{background-color:var(--gids-color-background-accent-4-subtler-hovered);color:var(--gids-color-text-accent-4)}.gids-tab-item--default:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--default:active{background-color:var(--gids-color-background-accent-4-subtler-pressed);color:var(--gids-color-text-accent-4)}.gids-tab-item--default:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--primary{border-radius:var(--gids-border-radius-md)}.gids-tab-item--primary:hover{background-color:var(--gids-color-background-accent-4-bolder-hovered);color:var(--gids-color-text-inverse)}.gids-tab-item--primary:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-inverse)}.gids-tab-item--primary:active{background-color:var(--gids-color-background-accent-4-bolder-pressed);color:var(--gids-color-text-inverse)}.gids-tab-item--primary:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-inverse)}.gids-tab-item--bordered{border-radius:var(--gids-border-radius-full)}.gids-tab-item--bordered:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered);color:var(--gids-color-text-accent-4);border:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4)}.gids-tab-item--bordered:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--bordered:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed);color:var(--gids-color-text-accent-4);border:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4)}.gids-tab-item--bordered:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--underlined{border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-input)}.gids-tab-item--underlined:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered);border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);border-top-left-radius:var(--gids-border-radius-md);border-top-right-radius:var(--gids-border-radius-md);color:var(--gids-color-text-accent-4)}.gids-tab-item--underlined:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed);border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);border-top-left-radius:var(--gids-border-radius-md);border-top-right-radius:var(--gids-border-radius-md);color:var(--gids-color-text-accent-4)}.gids-tab-item--subtle:hover{color:var(--gids-color-text-accent-4)}.gids-tab-item--subtle:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--subtle:active{color:var(--gids-color-text-accent-4)}.gids-tab-item--subtle:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-default{border-radius:var(--gids-border-radius-md);background-color:var(--gids-color-background-accent-4-subtler-default);color:var(--gids-color-text-accent-4)}.gids-tab-item--active-default .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-default:hover{background-color:var(--gids-color-background-accent-4-subtler-hovered)}.gids-tab-item--active-default:active{background-color:var(--gids-color-background-accent-4-subtler-pressed)}.gids-tab-item--active-primary{border-radius:var(--gids-border-radius-md);background-color:var(--gids-color-background-accent-4-bolder-default);color:var(--gids-color-text-inverse)}.gids-tab-item--active-primary .gids-icon{--gidsIcon-color:var(--gids-color-icon-inverse)}.gids-tab-item--active-primary:hover{background-color:var(--gids-color-background-accent-4-bolder-hovered)}.gids-tab-item--active-primary:active{background-color:var(--gids-color-background-accent-4-bolder-pressed)}.gids-tab-item--active-bordered{border-radius:var(--gids-border-radius-full);border:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);background-color:var(--gids-color-background-accent-4-subtlest-default);color:var(--gids-color-text-accent-4)}.gids-tab-item--active-bordered .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-bordered:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered)}.gids-tab-item--active-bordered:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed)}.gids-tab-item--active-underlined{border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);border-top-left-radius:var(--gids-border-radius-md);border-top-right-radius:var(--gids-border-radius-md);color:var(--gids-color-text-accent-4);background-color:var(--gids-color-background-accent-4-subtlest-default)}.gids-tab-item--active-underlined .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-underlined:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered)}.gids-tab-item--active-underlined:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed)}.gids-tab-item--active-subtle{color:var(--gids-color-text-accent-4)}.gids-tab-item--active-subtle .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}"}},[260,"gids-tab-item",{itemId:[1,"item-id"],label:[1],active:[4],name:[1],width:[1],appearance:[1],badgeVisible:[4,"badge-visible"],badgeAppearance:[1,"badge-appearance"],badgeCount:[2,"badge-count"],badgeType:[1,"badge-type"],onPressGidsTabItem:[16],hasLeadingIcon:[32],hasTrailingIcon:[32]},void 0,{width:[{handleWidthChange:0}],appearance:[{handleAppearanceChange:0}],badgeVisible:[{handleBadgeVisibilityChange:0}],badgeAppearance:[{handleBadgeAppearanceChange:0}],badgeType:[{handleBadgeTypeChange:0}],active:[{handleActiveChange:0}]}]);function Me(){typeof customElements<"u"&&["gids-tab-item"].forEach((e=>{e==="gids-tab-item"&&(customElements.get(e)||customElements.define(e,He))}))}Me();const Nt=He,_t=Me;P.GidsTabItem=Nt,P.defineCustomElement=_t,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"})}));
|
|
5
|
+
`);const S=this["s-cr"].parentElement;return(S.__childNodes?S.childNodes:(y=>{const m=[];for(let p=0;p<y.length;p++){const f=y[p]["s-nr"]||void 0;f&&f.isConnected&&m.push(f)}return m})(S.childNodes)).forEach((y=>{h===H(y)&&b.push(y)})),d?b.filter((y=>y.nodeType===1)):b}).bind(c);c.assignedElements=u(!0),c.assignedNodes=u(!1)})(i),a=e&&e.m&&e.m[s],a&&a.O===r.O&&e.S&&Te(e.S)),i},Te=e=>{_.i|=1;const t=e.closest(R.toLowerCase());if(t!=null){const s=Array.from(t.__childNodes||t.childNodes).find((r=>r["s-cr"])),o=Array.from(e.__childNodes||e.childNodes);for(const r of s?o.reverse():o)r["s-sh"]!=null&&(x(t,r,s??null),r["s-sh"]=void 0,q=!0)}_.i&=-2},Z=(e,t)=>{_.i|=1;const s=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let o=e;for(;o=o.nextSibling;)o&&o["s-sn"]===e["s-sn"]&&o["s-sh"]===R&&s.push(o)}for(let o=s.length-1;o>=0;o--){const r=s[o];r["s-hn"]!==R&&r["s-ol"]&&(x(W(r).parentNode,r,W(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,q=!0),t&&Z(r,t)}_.i&=-2},xe=(e,t,s,o,r,i)=>{let l,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===R&&(a=a.shadowRoot),s.O==="template"&&(a=a.content);r<=i;++r)o[r]&&(l=Y(null,s,r),l&&(o[r].S=l,x(a,l,W(t))))},Ae=(e,t,s)=>{for(let o=t;o<=s;++o){const r=e[o];if(r){const i=r.S;$e(r),i&&(U=!0,i["s-ol"]?i["s-ol"].remove():Z(i,!0),i.remove())}}},J=(e,t,s=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),W=e=>e&&e["s-ol"]||e,B=(e,t,s=!1)=>{const o=t.S=e.S,r=e.m,i=t.m,l=t.O,a=t.h;let n;a==null?(C=l==="svg"||l!=="foreignObject"&&C,l!=="slot"||M||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Te(t.S.parentElement)),ae(e,t,C),r!==null&&i!==null?((c,u,d,g,b=!1)=>{let h,S,y=0,m=0,p=0,f=0,N=u.length-1,v=u[0],w=u[N],O=g.length-1,T=g[0],j=g[O];const We=d.O==="template"?c.content:c;for(;y<=N&&m<=O;)if(v==null)v=u[++y];else if(w==null)w=u[--N];else if(T==null)T=g[++m];else if(j==null)j=g[--O];else if(J(v,T,b))B(v,T,b),v=u[++y],T=g[++m];else if(J(w,j,b))B(w,j,b),w=u[--N],j=g[--O];else if(J(v,j,b))v.O!=="slot"&&j.O!=="slot"||Z(v.S.parentNode,!1),B(v,j,b),x(We,v.S,w.S.nextSibling),v=u[++y],j=g[--O];else if(J(w,T,b))v.O!=="slot"&&j.O!=="slot"||Z(w.S.parentNode,!1),B(w,T,b),x(We,w.S,v.S),w=u[--N],T=g[++m];else{for(p=-1,f=y;f<=N;++f)if(u[f]&&u[f].$!==null&&u[f].$===T.$){p=f;break}p>=0?(S=u[p],S.O!==T.O?h=Y(u&&u[m],d,p):(B(S,T,b),u[p]=void 0,h=S.S),T=g[++m]):(h=Y(u&&u[m],d,m),T=g[++m]),h&&x(W(v.S).parentNode,h,W(v.S))}y>N?xe(c,g[O+1]==null?null:g[O+1].S,d,g,m,O):m>O&&Ae(u,y,N)})(o,r,t,i,s):i!==null?(e.h!==null&&(o.textContent=""),xe(o,null,t,i,0,i.length-1)):!s&&r!==null&&Ae(r,0,r.length-1),C&&l==="svg"&&(C=!1)):(n=o["s-cr"])?n.parentNode.textContent=a:e.h!==a&&(o.data=a)},E=[],je=e=>{let t,s,o;const r=e.__childNodes||e.childNodes;for(const i of r){if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const l=i["s-sn"];for(o=s.length-1;o>=0;o--)if(t=s[o],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===i["s-hn"]||t["s-sh"]&&t["s-sh"]===i["s-hn"]))if(me(t,l)){let a=E.find((n=>n.k===t));U=!0,t["s-sn"]=t["s-sn"]||l,a?(a.k["s-sh"]=i["s-hn"],a.N=i):(t["s-sh"]=i["s-hn"],E.push({N:i,k:t})),t["s-sr"]&&E.map((n=>{me(n.k,t["s-sn"])&&(a=E.find((c=>c.k===t)),a&&!n.N&&(n.N=a.N))}))}else E.some((a=>a.k===t))||E.push({k:t})}i.nodeType===1&&je(i)}},$e=e=>{e.v&&e.v.ref&&le.push((()=>e.v.ref(null))),e.m&&e.m.map($e)},ot=(e,t)=>{de.push((()=>e(t)))},x=(e,t,s,o)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:r}=(function(i,l){var a;if(!(l=l||((a=i["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const n=i["s-sn"]=H(i)||"";return{slotNode:se(re(l,"childNodes"),l.tagName,n)[0],slotName:n}})(t);return r&&!o&&r.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},st=(e,t,s=!1)=>{var o,r,i,l,a;const n=e.$hostElement$,c=e.o,u=e.M||z(null,null);var d;const g=(d=t)&&d.O===ye?t:A(null,null,t);if(R=n.tagName,c.C&&(g.v=g.v||{},c.C.forEach((([b,h])=>{g.v[h]=n[b]}))),s&&g.v)for(const b of Object.keys(g.v))n.hasAttribute(b)&&!["key","ref","style","class"].includes(b)&&(g.v[b]=n[b]);if(g.O=null,g.i|=4,e.M=g,g.S=u.S=n.shadowRoot||n,M=!(!(1&c.i)||128&c.i),ie=n["s-cr"],U=!1,B(u,g,s),_.i|=1,q){je(g.S);for(const b of E){const h=b.k;if(!h["s-ol"]&&k.document){const S=k.document.createTextNode("");S["s-nr"]=h,x(h.parentNode,h["s-ol"]=S,h,s)}}for(const b of E){const h=b.k,S=b.N;if(h.nodeType===1&&s&&(h["s-ih"]=(o=h.hidden)!=null&&o),S){const y=S.parentNode;let m=S.nextSibling;if(m&&m.nodeType===1){let p=(r=h["s-ol"])==null?void 0:r.previousSibling;for(;p;){let f=(i=p["s-nr"])!=null?i:null;if(f&&f["s-sn"]===h["s-sn"]&&y===(f.__parentNode||f.parentNode)){for(f=f.nextSibling;f===h||f?.["s-sr"];)f=f?.nextSibling;if(!f||!f["s-nr"]){m=f;break}}p=p.previousSibling}}if((!m&&y!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==m)&&h!==m){if(x(y,h,m,s),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const p=k.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));p["s-hn"]=h["s-hn"],p["s-sn"]=h["s-sn"],p["s-sh"]=h["s-sh"],p["s-sr"]=h["s-sr"],p["s-ol"]=h["s-ol"],p["s-ol"]["s-nr"]=p,x(h.parentNode,p,h,s),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(l=h["s-ih"])!=null&&l)}h&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else h.nodeType===1&&(h.hidden=!0)}}if(U&&pe(g.S),_.i&=-2,E.length=0,!M&&!(1&c.i)&&n["s-cr"]){const b=g.S.__childNodes||g.S.childNodes;for(const h of b)if(h["s-hn"]!==R&&!h["s-sh"]){if(s&&h["s-ih"]==null&&(h["s-ih"]=(a=h.hidden)!=null&&a),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const S=k.document.createComment("s-nt-"+h.nodeValue);S["s-sn"]=h["s-sn"],x(h.parentNode,S,h,s),h.parentNode.removeChild(h)}}}ie=void 0,le.forEach((b=>b())),le.length=0,de.forEach((b=>b())),de.length=0},Ee=(e,t)=>{if(t&&!e.A&&t["s-p"]){const s=t["s-p"].push(new Promise((o=>e.A=()=>{t["s-p"].splice(s-1,1),o()})))}},ce=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Ee(e,e.R);const s=()=>rt(e,t);if(!t)return Ye(s);queueMicrotask((()=>{s()}))},rt=(e,t)=>{const s=e.$hostElement$,o=s;if(!o)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let r;return r=F(o,t?"componentWillLoad":"componentWillUpdate",void 0,s),r=Ie(r,(()=>F(o,"componentWillRender",void 0,s))),Ie(r,(()=>nt(e,o,t)))},Ie=(e,t)=>it(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),it=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",nt=async(e,t,s)=>{var o;const r=e.$hostElement$,i=r["s-rc"];s&&(l=>{const a=l.o,n=l.$hostElement$,c=a.i,u=((d,g)=>{var b,h,S;const y=ve(g),m=G.get(y);if(!k.document)return y;if(d=d.nodeType===11?d:k.document,m)if(typeof m=="string"){let p,f=I.get(d=d.head||d);if(f||I.set(d,f=new Set),!f.has(y)){p=k.document.createElement("style"),p.textContent=m;const N=(b=_._)!=null?b:(function(){var v,w,O;return(O=(w=(v=k.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:w.getAttribute("content"))!=null?O:void 0})();if(N!=null&&p.setAttribute("nonce",N),!(1&g.i))if(d.nodeName==="HEAD"){const v=d.querySelectorAll("link[rel=preconnect]"),w=v.length>0?v[v.length-1].nextSibling:d.querySelector("style");d.insertBefore(p,w?.parentNode===d?w:null)}else if("host"in d)if(Q){const v=new((h=d.defaultView)!=null?h:d.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(m),X?d.adoptedStyleSheets.unshift(v):d.adoptedStyleSheets=[v,...d.adoptedStyleSheets]}else{const v=d.querySelector("style");v?v.textContent=m+v.textContent:d.prepend(p)}else d.append(p);1&g.i&&d.insertBefore(p,null),4&g.i&&(p.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),f&&f.add(y)}}else{let p=I.get(d);if(p||I.set(d,p=new Set),!p.has(y)){const f=(S=d.defaultView)!=null?S:d.ownerDocument.defaultView;let N;if(m.constructor===f.CSSStyleSheet)N=m;else{N=new f.CSSStyleSheet;for(let v=0;v<m.cssRules.length;v++)N.insertRule(m.cssRules[v].cssText,v)}X?d.adoptedStyleSheets.push(N):d.adoptedStyleSheets=[...d.adoptedStyleSheets,N],p.add(y)}}return y})(n.shadowRoot?n.shadowRoot:n.getRootNode(),a);10&c&&(n["s-sc"]=u,n.classList.add(u+"-h"))})(e),at(e,t,r,s),i&&(i.map((l=>l())),r["s-rc"]=void 0);{const l=(o=r["s-p"])!=null?o:[],a=()=>lt(e);l.length===0?a():(Promise.all(l).then(a).catch(a),e.i|=4,l.length=0)}},at=(e,t,s,o)=>{try{t=t.render(),e.i&=-17,e.i|=2,st(e,t,o)}catch(r){L(r,e.$hostElement$)}return null},lt=e=>{const t=e.$hostElement$,s=t,o=e.R;F(s,"componentDidRender",void 0,t),64&e.i?F(s,"componentDidUpdate",void 0,t):(e.i|=64,ct(t),F(s,"componentDidLoad",void 0,t),e.L(t),o||dt()),e.A&&(e.A(),e.A=void 0),512&e.i&&oe((()=>ce(e,!1))),e.i&=-517},dt=()=>{oe((()=>Xe(k,"appload",{detail:{namespace:"gids-core-web"}})))},F=(e,t,s,o)=>{if(e&&e[t])try{return e[t](s)}catch(r){L(r,o)}},ct=e=>e.classList.add("hydrated"),Pe=(e,t,s,o)=>{const r=$(e);if(!r)return;const i=e,l=r.l.get(t),a=r.i,n=i;s=we(s,o.t[t][0],!!(64&o.i));const c=Number.isNaN(l)&&Number.isNaN(s);if(s!==l&&!c){if(r.l.set(t,s),o.F){const u=o.F[t];u&&u.map((d=>{try{const[[g,b]]=Object.entries(d);(128&a||1&b)&&(n?n[g](s,l,t):r.T.push((()=>{r.D[g](s,l,t)})))}catch(g){L(g,i)}}))}if(2&a){if(n.componentShouldUpdate&&n.componentShouldUpdate(s,l,t)===!1&&!(16&a))return;16&a||ce(r,!1)}}},ut=(e,t,s)=>{var o,r;const i=e.prototype;64&t.i&&1&s&&Ge.forEach((l=>{const a=i[l];Object.defineProperty(i,l,{value(...n){var c;const u=$(this),d=this;d?typeof a=="function"&&a.call(d,...n):(c=u?.H)==null||c.then((g=>{const b=g[l];typeof b=="function"&&b.call(g,...n)}))}})}));{e.watchers&&!t.F&&(t.F=ke(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const l=Object.entries((o=t.t)!=null?o:{});l.map((([a,[n]])=>{if(31&n||32&n){const{get:c,set:u}=V(i,a)||{};c&&(t.t[a][0]|=2048),u&&(t.t[a][0]|=4096),Object.defineProperty(i,a,{get(){return c?c.apply(this):(d=a,$(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(i,a,{set(d){const g=$(this);if(g){if(u)return(32&n?this[a]:g.$hostElement$[a])===void 0&&g.l.get(a)&&(d=g.l.get(a)),u.apply(this,[we(d,n,!!(64&t.i))]),void Pe(this,a,d=32&n?this[a]:g.$hostElement$[a],t);Pe(this,a,d,t)}}})}}));{const a=new Map;i.attributeChangedCallback=function(n,c,u){_.jmp((()=>{var d;const g=a.get(n),b=$(this);if(this.hasOwnProperty(g),i.hasOwnProperty(g)&&typeof this[g]=="number"&&this[g]==u)return;if(g==null){const p=b?.i;if(b&&p&&!(8&p)&&u!==c){const f=this,N=(d=t.F)==null?void 0:d[n];N?.forEach((v=>{const[[w,O]]=Object.entries(v);f[w]!=null&&(128&p||1&O)&&f[w].call(f,u,c,n)}))}return}const h=l.find((([p])=>p===g)),S=h&&4&h[1][0],y=S&&u===null&&this[g]===void 0;S&&(u=u!==null&&u!=="false");const m=Object.getOwnPropertyDescriptor(i,g);y||u==this[g]||m.get&&!m.set||(this[g]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.F)!=null?r:{}),...l.filter((([n,c])=>31&c[0])).map((([n,c])=>{var u;const d=c[1]||n;return a.set(d,n),512&c[0]&&((u=t.C)==null||u.push([n,d])),d}))]))}}return e},gt=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.W=t[3],s.F=ke(e.F),s.P=e.P,s.U=e.U,s.C=[];const o=e.prototype.connectedCallback,r=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((i,l)=>{const a={i:0,$hostElement$:i,o:l,l:new Map,B:new Map};a.H=new Promise((c=>a.L=c)),i["s-p"]=[],i["s-rc"]=[];const n=a;i.__stencil__getHostRef=()=>n,512&l.i&&Fe(i,a)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){const i=$(this);if(!i)return;Le(this,i,s.W),this.__hasHostListenerAttached=!0}(i=>{if(!(1&_.i)){const l=$(i);if(!l)return;const a=l.o;if(1&l.i)Le(i,l,a.W),l?.D||l?.H&&l.H.then((()=>{}));else{l.i|=1,12&a.i&&(n=>{if(!k.document)return;const c=n["s-cr"]=k.document.createComment("");c["s-cn"]=!0,x(n,c,n.firstChild)})(i);{let n=i;for(;n=n.parentNode||n.host;)if(n["s-p"]){Ee(l,l.R=n);break}}a.t&&Object.entries(a.t).map((([n,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(i,n)){const u=i[n];delete i[n],i[n]=u}})),(async(n,c,u)=>{let d;try{if(!(32&c.i)&&(c.i|=32,d=n.constructor,customElements.whenDefined(n.localName).then((()=>c.i|=128)),d&&d.style)){let h;typeof d.style=="string"&&(h=d.style);const S=ve(u);G.has(S)||((y,m,p)=>{let f=G.get(y);Q&&p?(f=f||new CSSStyleSheet,typeof f=="string"?f=m:f.replaceSync(m)):f=m,G.set(y,f)})(S,h,!!(1&u.i))}const g=c.R,b=()=>ce(c,!0);g&&g["s-rc"]?g["s-rc"].push(b):b()}catch(g){L(g,n),c.A&&(c.A(),c.A=void 0),c.L&&c.L(n)}})(i,l,a)}}})(this),o&&o.call(this)},disconnectedCallback(){(async i=>{if(!(1&_.i)){const l=$(i);l?.V&&(l.V.map((a=>a())),l.V=void 0)}I.has(i)&&I.delete(i),i.shadowRoot&&I.has(i.shadowRoot)&&I.delete(i.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 ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ze.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),ut(e,s,3)}catch(o){return L(o),e}},Le=(e,t,s)=>{s&&k.document&&s.map((([o,r,i])=>{const l=ft(k.document,e,o),a=ht(t,i),n=bt(o);_.ael(l,r,a,n),(t.V=t.V||[]).push((()=>_.rel(l,r,a,n)))}))},ht=(e,t)=>s=>{try{e.$hostElement$[t](s)}catch(o){L(o,e.$hostElement$)}},ft=(e,t,s)=>8&s?k:t,bt=e=>Ue?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Ct(e){return e}function Re(e){var t,s,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(s=Re(e[t]))&&(o&&(o+=" "),o+=s)}else for(s in e)e[s]&&(o&&(o+=" "),o+=s);return o}function Ve(){for(var e,t,s=0,o="",r=arguments.length;s<r;s++)(e=arguments[s])&&(t=Re(e))&&(o&&(o+=" "),o+=t);return o}const pt=Object.freeze(Object.defineProperty({__proto__:null,getGidsBadgeClassNames:({appearance:e,type:t,outline:s},o)=>Ve("gids-badge",{"gids-badge--danger":e==="danger","gids-badge--positive":e==="positive","gids-badge--warning":e==="warning","gids-badge--inverse":e==="inverse"},{"gids-badge--dot":t==="dot"},{"gids-badge--outline":s},o)},Symbol.toStringTag,{value:"Module"})),K=99,mt=Object.freeze(Object.defineProperty({__proto__:null,getDisplayContent:(e,t)=>e===void 0?t??"":e>K?`${K}+`:e.toString(),maxCount:K,shouldIncludeA11yText:(e,t,s)=>e==="dot"||t!==void 0&&t>K||s},Symbol.toStringTag,{value:"Module"})),vt=Object.freeze(Object.defineProperty({__proto__:null,getGidsTabItemClassNames:({appearance:e,width:t="intrinsic",active:s},o)=>Ve("gids-tab-item",{"gids-tab-item--full":t==="full","gids-tab-item--active-default":e==="default"&&s,"gids-tab-item--active-primary":e==="primary"&&s,"gids-tab-item--active-bordered":e==="bordered"&&s,"gids-tab-item--active-underlined":e==="underlined"&&s,"gids-tab-item--active-subtle":e==="subtle"&&s,"gids-tab-item--default":e==="default"&&!s,"gids-tab-item--primary":e==="primary"&&!s,"gids-tab-item--bordered":e==="bordered"&&!s,"gids-tab-item--underlined":e==="underlined"&&!s,"gids-tab-item--subtle":e==="subtle"&&!s},o)},Symbol.toStringTag,{value:"Module"})),Be=e=>e!==void 0&&(!Array.isArray(e)||e.length>0),{getDisplayContent:De,shouldIncludeA11yText:yt}=mt,{getGidsBadgeClassNames:St}=pt,kt=({appearance:e,type:t,count:s,accessibleText:o,outline:r,class:i,...l})=>{const a=yt(t,s,Be(o));return A("span",{class:St({appearance:e,type:t,outline:r},i),...l},a&&A("span",{class:"gids-visually-hidden"},Be(o)?o:s),t==="notification"?a?A("span",{"aria-hidden":"true"},De(s,o)):De(s,o):null)},{getGidsTabItemClassNames:wt}=vt,He=gt(class extends ze{constructor(e){super(),e!==!1&&this.__registerHost(),this.active=!1,this.width="intrinsic",this.appearance="default",this.badgeVisible=!1,this.badgeAppearance="information",this.badgeType="dot",this.hasLeadingIcon=!1,this.hasTrailingIcon=!1,this.handleHostClick=()=>{this.onPressGidsTabItem&&this.onPressGidsTabItem({itemId:this.itemId,label:this?.label??"",active:this?.active??!1,appearance:this?.appearance??"default",name:this?.name,badgeCount:this?.badgeCount??0})}}handleWidthChange(e){this.width=e}handleAppearanceChange(e){this.appearance=e}handleBadgeVisibilityChange(e){this.badgeVisible=e}handleBadgeAppearanceChange(e){this.badgeAppearance=e}handleBadgeTypeChange(e){this.badgeType=e}handleActiveChange(e){this.active=e}componentWillLoad(){this.checkSlots()}componentWillUpdate(){this.checkSlots()}checkSlots(){this.hasLeadingIcon=!!this.hostElement.querySelector('[slot="leadingIconTabItem"]'),this.hasTrailingIcon=!!this.hostElement.querySelector('[slot="trailingIconTabItem"]')}render(){const e=wt({appearance:this.appearance,width:this.width,active:this.active}),t=this.hasTrailingIcon,s=this.badgeVisible,o=this.appearance==="primary"&&this.active?"inverse":this.badgeAppearance??"information",r=this.label;return A(ye,{key:"df04041b0085eba54f6347803d7dd5795cdcd412",class:e,onClick:this.handleHostClick},this.hasLeadingIcon?A("slot",{name:"leadingIconTabItem"}):void 0,r&&r!==""?A("span",{class:"gids-tab-item__label"},r&&r!==""?r:void 0,s?A(kt,{appearance:o,type:this.badgeType,count:this.badgeCount}):void 0):void 0,t?A("slot",{name:"trailingIconTabItem"}):void 0)}get hostElement(){return this}static get watchers(){return{width:[{handleWidthChange:0}],appearance:[{handleAppearanceChange:0}],badgeVisible:[{handleBadgeVisibilityChange:0}],badgeAppearance:[{handleBadgeAppearanceChange:0}],badgeType:[{handleBadgeTypeChange:0}],active:[{handleActiveChange:0}]}}static get style(){return".gids-tab-item{margin:0;padding:0;appearance:none;border:none;background:none;display:inline-flex;justify-content:center;align-items:center;gap:var(--gids-gap-100);padding:var(--gids-padding-vertical-edge-to-element-150) var(--gids-padding-horizontal-edge-to-element-150);color:var(--gids-color-text-accent-5);white-space:nowrap;flex-shrink:0;cursor:pointer}.gids-tab-item .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-5)}.gids-tab-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);display:flex;justify-content:center;align-items:center;flex:1;gap:var(--gids-gap-150)}.gids-tab-item--full{display:flex}.gids-tab-item--default{border-radius:var(--gids-border-radius-md)}.gids-tab-item--default:hover{background-color:var(--gids-color-background-accent-4-subtler-hovered);color:var(--gids-color-text-accent-4)}.gids-tab-item--default:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--default:active{background-color:var(--gids-color-background-accent-4-subtler-pressed);color:var(--gids-color-text-accent-4)}.gids-tab-item--default:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--primary{border-radius:var(--gids-border-radius-md)}.gids-tab-item--primary:hover{background-color:var(--gids-color-background-accent-4-bolder-hovered);color:var(--gids-color-text-inverse)}.gids-tab-item--primary:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-inverse)}.gids-tab-item--primary:active{background-color:var(--gids-color-background-accent-4-bolder-pressed);color:var(--gids-color-text-inverse)}.gids-tab-item--primary:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-inverse)}.gids-tab-item--bordered{border-radius:var(--gids-border-radius-full)}.gids-tab-item--bordered:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered);color:var(--gids-color-text-accent-4);border:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4)}.gids-tab-item--bordered:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--bordered:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed);color:var(--gids-color-text-accent-4);border:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4)}.gids-tab-item--bordered:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--underlined{border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-input)}.gids-tab-item--underlined:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered);border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);border-top-left-radius:var(--gids-border-radius-md);border-top-right-radius:var(--gids-border-radius-md);color:var(--gids-color-text-accent-4)}.gids-tab-item--underlined:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed);border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);border-top-left-radius:var(--gids-border-radius-md);border-top-right-radius:var(--gids-border-radius-md);color:var(--gids-color-text-accent-4)}.gids-tab-item--subtle:hover{color:var(--gids-color-text-accent-4)}.gids-tab-item--subtle:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--subtle:active{color:var(--gids-color-text-accent-4)}.gids-tab-item--subtle:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-default{border-radius:var(--gids-border-radius-md);background-color:var(--gids-color-background-accent-4-subtler-default);color:var(--gids-color-text-accent-4)}.gids-tab-item--active-default .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-default:hover{background-color:var(--gids-color-background-accent-4-subtler-hovered)}.gids-tab-item--active-default:active{background-color:var(--gids-color-background-accent-4-subtler-pressed)}.gids-tab-item--active-primary{border-radius:var(--gids-border-radius-md);background-color:var(--gids-color-background-accent-4-bolder-default);color:var(--gids-color-text-inverse)}.gids-tab-item--active-primary .gids-icon{--gidsIcon-color:var(--gids-color-icon-inverse)}.gids-tab-item--active-primary:hover{background-color:var(--gids-color-background-accent-4-bolder-hovered)}.gids-tab-item--active-primary:active{background-color:var(--gids-color-background-accent-4-bolder-pressed)}.gids-tab-item--active-bordered{border-radius:var(--gids-border-radius-full);border:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);background-color:var(--gids-color-background-accent-4-subtlest-default);color:var(--gids-color-text-accent-4)}.gids-tab-item--active-bordered .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-bordered:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered)}.gids-tab-item--active-bordered:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed)}.gids-tab-item--active-underlined{border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);border-top-left-radius:var(--gids-border-radius-md);border-top-right-radius:var(--gids-border-radius-md);color:var(--gids-color-text-accent-4);background-color:var(--gids-color-background-accent-4-subtlest-default)}.gids-tab-item--active-underlined .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-underlined:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered)}.gids-tab-item--active-underlined:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed)}.gids-tab-item--active-subtle{color:var(--gids-color-text-accent-4)}.gids-tab-item--active-subtle .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}"}},[260,"gids-tab-item",{itemId:[1,"item-id"],label:[1],active:[4],name:[1],width:[1],appearance:[1],badgeVisible:[4,"badge-visible"],badgeAppearance:[1,"badge-appearance"],badgeCount:[2,"badge-count"],badgeType:[1,"badge-type"],onPressGidsTabItem:[16],hasLeadingIcon:[32],hasTrailingIcon:[32]},void 0,{width:[{handleWidthChange:0}],appearance:[{handleAppearanceChange:0}],badgeVisible:[{handleBadgeVisibilityChange:0}],badgeAppearance:[{handleBadgeAppearanceChange:0}],badgeType:[{handleBadgeTypeChange:0}],active:[{handleActiveChange:0}]}]);function Me(){typeof customElements<"u"&&["gids-tab-item"].forEach((e=>{e==="gids-tab-item"&&(customElements.get(e)||customElements.define(e,He))}))}Me();const Nt=He,_t=Me;P.GidsTabItem=Nt,P.defineCustomElement=_t,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"})}));
|