@ganpatiinfo/gids-core-web 8.1.0 → 9.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 +696 -0
- package/dist/css/index.css.map +1 -1
- package/dist/custom-elements.json +332 -0
- package/dist/gids-field.js +1 -1
- package/dist/gids-icon.js +1 -1
- package/dist/gids-input.js +1 -1
- package/dist/gids-overflow-container.d.ts +11 -0
- package/dist/gids-overflow-container.js +1 -0
- package/dist/gids-overlay-provider.js +1 -1
- package/dist/gids-password-field.js +1 -1
- package/dist/gids-popover.d.ts +11 -0
- package/dist/gids-popover.js +1 -0
- package/dist/gids-scrim.js +1 -1
- package/dist/gids-text-field.js +1 -1
- package/dist/gids-toggle-button.js +1 -1
- package/dist/gids-tooltip.d.ts +11 -0
- package/dist/gids-tooltip.js +1 -0
- package/dist/index.js +1 -1
- package/dist/p-B8kX8Vqv.js +1 -0
- package/dist/p-CFw4_-5A.js +1 -0
- package/dist/{p-BVh4zbX4.js → p-DvoHLz_5.js} +1 -1
- package/dist/p-a3JfEYJp.js +1 -0
- package/dist/{p-BplPYg8z.js → p-iCAclJND.js} +1 -1
- package/dist/types/components/html/GidsAccordionItem/GidsAccordionItem.d.ts +4 -0
- package/dist/types/components/html/GidsAccordionItemContent/GidsAccordionItemContent.d.ts +5 -0
- package/dist/types/components/html/GidsAccordionItemHeader/GidsAccordionItemHeader.d.ts +4 -0
- package/dist/types/components/html/GidsButton/GidsButton.d.ts +1 -1
- package/dist/types/components/html/GidsDropdownItem/GidsDropdownItem.d.ts +9 -0
- package/dist/types/components/html/GidsDropdownMenu/GidsDropdownMenu.d.ts +6 -0
- package/dist/types/components/html/GidsDropdownMenuGroup/GidsDropdownMenuGroup.d.ts +5 -0
- package/dist/types/components/html/GidsEditButton/GidsEditButton.d.ts +7 -0
- package/dist/types/components/html/GidsFeedbackBlock/GidsFeedbackBlock.d.ts +4 -0
- package/dist/types/components/html/GidsListItem/GidsListItem.d.ts +11 -0
- package/dist/types/components/html/GidsMenu/GidsMenu.d.ts +6 -0
- package/dist/types/components/html/GidsMenuGroup/GidsMenuGroup.d.ts +5 -0
- package/dist/types/components/html/GidsProgressBar/GidsProgressBar.d.ts +4 -0
- package/dist/types/components/shared/GidsFloatingElementManager.d.ts +57 -0
- package/dist/types/components/shared/GidsFloatingElementTypes.d.ts +4 -0
- package/dist/types/components/webComponents/GidsOverflowContainer/GidsOverflowContainer.d.ts +10 -0
- package/dist/types/components/webComponents/GidsPopover/GidsPopover.d.ts +24 -0
- package/dist/types/components/webComponents/GidsTooltip/GidsTooltip.d.ts +23 -0
- package/dist/types/components.d.ts +101 -2
- package/dist/types/index.d.ts +2 -0
- package/dist/types/utils/childrenValidityUtils.d.ts +8 -0
- package/dist-bundled/es/gids-field.js +2 -2
- package/dist-bundled/es/gids-icon.js +9 -9
- package/dist-bundled/es/gids-input.js +1 -1
- package/dist-bundled/es/gids-overflow-container.js +39 -0
- package/dist-bundled/es/gids-overlay-provider.js +3 -3
- package/dist-bundled/es/gids-password-field.js +14 -14
- package/dist-bundled/es/gids-popover.js +110 -0
- package/dist-bundled/es/gids-scrim.js +5 -5
- package/dist-bundled/es/gids-text-field.js +13 -13
- package/dist-bundled/es/gids-toggle-button.js +5 -5
- package/dist-bundled/es/gids-tooltip.js +66 -0
- package/dist-bundled/es/index.js +33 -19
- package/dist-bundled/es/p-B8kX8Vqv-trBz4jdS.js +7 -0
- package/dist-bundled/es/p-CFw4_-5A-Dzvju3VE.js +25 -0
- package/dist-bundled/es/{p-DijVkS9b-CtFkEtlE.js → p-DijVkS9b-CeV1i4T-.js} +1 -1
- package/dist-bundled/es/{p-BVh4zbX4-C4UJ8LPX.js → p-DvoHLz_5-C5EvA91N.js} +6 -6
- package/dist-bundled/es/p-a3JfEYJp-DyhDK6VZ.js +1128 -0
- package/dist-bundled/es/{p-BplPYg8z-B8uAAfo4.js → p-iCAclJND-Bmsvd-W1.js} +2 -2
- package/dist-bundled/es/{p-veoOgDXg-DElc87c0.js → p-veoOgDXg-fRinub-C.js} +12 -5
- package/dist-bundled/umd/gids-field.umd.js +1 -1
- package/dist-bundled/umd/gids-icon.umd.js +2 -2
- package/dist-bundled/umd/gids-input.umd.js +1 -1
- package/dist-bundled/umd/gids-overflow-container.umd.js +5 -0
- package/dist-bundled/umd/gids-overlay-provider.umd.js +2 -2
- package/dist-bundled/umd/gids-password-field.umd.js +2 -2
- package/dist-bundled/umd/gids-popover.umd.js +5 -0
- package/dist-bundled/umd/gids-scrim.umd.js +2 -2
- package/dist-bundled/umd/gids-text-field.umd.js +2 -2
- package/dist-bundled/umd/gids-toggle-button.umd.js +3 -3
- package/dist-bundled/umd/gids-tooltip.umd.js +5 -0
- package/dist-bundled/umd/index.umd.js +2 -2
- package/dist-bundled/umd-complete/gids-core-web.umd.js +3 -3
- package/package.json +278 -254
- package/dist/p-CWdkmFbc.js +0 -1
- package/dist-bundled/es/p-CWdkmFbc-D89ZE8Mi.js +0 -24
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
(function(X,ne){typeof exports=="object"&&typeof module<"u"?ne(exports):typeof define=="function"&&define.amd?define(["exports"],ne):(X=typeof globalThis<"u"?globalThis:X||self,ne(X.gidsCoreWebGidsTooltip={}))})(this,(function(X){"use strict";function ne(e,t,o){const n=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==n;){const i=Object.getOwnPropertyDescriptor(e,t);if(i&&(!o||i.get))return i;e=Object.getPrototypeOf(e)}}var de,ln=(e,t)=>{var o;Object.entries((o=t.o.t)!=null?o:{}).map((([n,[i]])=>{if(31&i||32&i){const s=e[n],l=ne(Object.getPrototypeOf(e),n,!0)||Object.getOwnPropertyDescriptor(e,n);l&&Object.defineProperty(e,n,{get(){return l.get.call(this)},set(c){l.set.call(this,c)},configurable:!0,enumerable:!0}),t.l.has(n)?e[n]=t.l.get(n):s!==void 0&&(e[n]=s)}}))},z=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},pt=(e,t)=>t in e,oe=(e,t)=>(0,console.error)(e,t),Oe=new Map,mt="http://www.w3.org/1999/xlink",O=typeof window<"u"?window:{},rn=O.HTMLElement||class{},T={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,o,n)=>e.addEventListener(t,o,n),rel:(e,t,o,n)=>e.removeEventListener(t,o,n),ce:(e,t)=>new CustomEvent(e,t)},je=(()=>{try{return!!O.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),He=!!je&&!!O.document&&Object.getOwnPropertyDescriptor(O.document.adoptedStyleSheets,"length").writable,Ve=!1,gt=[],yt=[],cn=(e,t)=>o=>{e.push(o),Ve||(Ve=!0,4&T.i?Be(ze):T.raf(ze))},wt=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(o){oe(o)}e.length=0},ze=()=>{wt(gt),wt(yt),(Ve=gt.length>0)&&T.raf(ze)},Be=e=>Promise.resolve(void 0).then(e),an=cn(yt);function fn(){const e=this.attachShadow({mode:"open"});de===void 0&&(de=null),de&&(He?e.adoptedStyleSheets.push(de):e.adoptedStyleSheets=[...e.adoptedStyleSheets,de])}var vt=e=>{const t=Ue(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&Ie(t,e.tagName).forEach((n=>{n.nodeType===1&&n.tagName==="SLOT-FB"&&(n.hidden=!!un(n,he(n),!1).length)}));let o=0;for(o=0;o<t.length;o++){const n=t[o];n.nodeType===1&&Ue(n,"childNodes").length&&vt(n)}};function Ie(e,t,o){let n,i=0,s=[];for(;i<e.length;i++){if(n=e[i],n["s-sr"]&&(!t||n["s-hn"]===t)&&(o===void 0||he(n)===o)&&(s.push(n),o!==void 0))return s;s=[...s,...Ie(n.childNodes,t,o)]}return s}var un=(e,t,o=!0)=>{const n=[];(o&&e["s-sr"]||!e["s-sr"])&&n.push(e);let i=e;for(;i=i.nextSibling;)he(i)!==t||!o&&i["s-sr"]||n.push(i);return n},bt=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",he=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function Ue(e,t){if("__"+t in e){const o=e["__"+t];return typeof o!="function"?o:o.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var qe,Y,B=new WeakMap,xt=e=>"sc-"+e.p,Xe=e=>(e=typeof e)=="object"||e==="function",ie=(e,t,...o)=>{let n=null,i=null,s=null,l=!1,c=!1;const r=[],a=f=>{for(let h=0;h<f.length;h++)n=f[h],Array.isArray(n)?a(n):n!=null&&typeof n!="boolean"&&((l=typeof e!="function"&&!Xe(n))&&(n=String(n)),l&&c?r[r.length-1].h+=n:r.push(l?Ae(null,n):n),c=l)};if(a(o),t){t.key&&(i=t.key),t.name&&(s=t.name);{const f=t.className||t.class;f&&(t.class=typeof f!="object"?f:Object.keys(f).filter((h=>f[h])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,r,hn);const u=Ae(e,null);return u.v=t,r.length>0&&(u.m=r),u.$=i,u.j=s,u},Ae=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),dn={},hn={forEach:(e,t)=>e.map(St).forEach(t),map:(e,t)=>e.map(St).map(t).map(pn)},St=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),pn=e=>{if(typeof e.vtag=="function"){const o={...e.vattrs};return e.vkey&&(o.key=e.vkey),e.vname&&(o.name=e.vname),ie(e.vtag,o,...e.vchildren||[])}const t=Ae(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Et=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let o=!1;for(const i of t){if(o)break;for(const s of e[i])if(typeof s=="string"){o=!0;break}}if(!o)return e;const n={};for(const i of t)n[i]=e[i].map((s=>typeof s=="string"?{[s]:0}:s));return n},Ot=(e,t)=>e==null||Xe(e)?e:4&t?e!=="false"&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,mn=(e,t,o)=>{const n=T.ce(t,o);return e.dispatchEvent(n),n},At=(e,t,o,n,i,s)=>{if(o===n)return;let l=pt(e,t),c=t.toLowerCase();if(t==="class"){const r=e.classList,a=Ct(o);let u=Ct(n);r.remove(...a.filter((f=>f&&!u.includes(f)))),r.add(...u.filter((f=>f&&!a.includes(f))))}else if(t==="style"){for(const r in o)n&&n[r]!=null||(r.includes("-")?e.style.removeProperty(r):e.style[r]="");for(const r in n)o&&n[r]===o[r]||(r.includes("-")?e.style.setProperty(r,n[r]):e.style[r]=n[r])}else if(t!=="key"){if(t==="ref")n&&wn(n,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const r=t.slice(5);let a;{const u=z(e);if(u&&u.o&&u.o.t){const f=u.o.t[r];f&&f[1]&&(a=f[1])}}return a||(a=r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(n==null||n===!1?n===!1&&e.getAttribute(a)!==""||e.removeAttribute(a):e.setAttribute(a,n===!0?"":n))}if(t[0]==="p"&&t.startsWith("prop:")){const r=t.slice(5);try{e[r]=n}catch{}return}{const r=Xe(n);if((l||r&&n!==null)&&!i)try{if(e.tagName.includes("-"))e[t]!==n&&(e[t]=n);else{const u=n??"";t==="list"?l=!1:o!=null&&e[t]===u||(typeof e.__lookupSetter__(t)=="function"?e[t]=u:e.setAttribute(t,u))}}catch{}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,a=!0),n==null||n===!1?n===!1&&e.getAttribute(t)!==""||(a?e.removeAttributeNS(mt,t):e.removeAttribute(t)):(!l||4&s||i)&&!r&&e.nodeType===1&&(n=n===!0?"":n,a?e.setAttributeNS(mt,t,n):e.setAttribute(t,n))}}else if(t=t[2]==="-"?t.slice(3):pt(O,c)?c.slice(2):c[2]+t.slice(3),o||n){const r=t.endsWith(Tt);t=t.replace(yn,""),o&&T.rel(e,t,o,r),n&&T.ael(e,t,n,r)}}},gn=/\s/,Ct=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(gn):[]),Tt="Capture",yn=new RegExp(Tt+"$"),Ye=(e,t,o)=>{const n=t.S.nodeType===11&&t.S.host?t.S.host:t.S,i=e&&e.v||{},s=t.v||{};for(const l of Nt(Object.keys(i)))l in s||At(n,l,i[l],void 0,o,t.i);for(const l of Nt(Object.keys(s)))At(n,l,i[l],s[l],o,t.i)};function Nt(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var pe=!1,Ce=!1,Te=!1,R=!1,Ge=[],Ze=[],Ne=(e,t,o)=>{var n;const i=t.m[o];let s,l,c,r=0;if(pe||(Te=!0,i.O==="slot"&&(i.i|=i.m?2:1)),i.h!=null)s=i.S=O.document.createTextNode(i.h);else if(1&i.i)s=i.S=O.document.createTextNode(""),Ye(null,i,R);else{if(R||(R=i.O==="svg"),!O.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=i.S=O.document.createElementNS(R?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!pe&&2&i.i?"slot-fb":i.O),R&&i.O==="foreignObject"&&(R=!1),Ye(null,i,R),i.m){const a=i.O==="template"?s.content:s;for(r=0;r<i.m.length;++r)l=Ne(e,i,r),l&&a.appendChild(l)}i.O==="svg"?R=!1:s.tagName==="foreignObject"&&(R=!0)}return s["s-hn"]=Y,3&i.i&&(s["s-sr"]=!0,s["s-cr"]=qe,s["s-sn"]=i.j||"",s["s-rf"]=(n=i.v)==null?void 0:n.ref,(function(a){if(a.assignedElements||a.assignedNodes||!a["s-sr"])return;const u=f=>(function(h){const p=[],d=this["s-sn"];h?.flatten&&console.error(`
|
|
2
|
+
Flattening is not supported for Stencil non-shadow slots.
|
|
3
|
+
You can use \`.childNodes\` to nested slot fallback content.
|
|
4
|
+
If you have a particular use case, please open an issue on the Stencil repo.
|
|
5
|
+
`);const w=this["s-cr"].parentElement;return(w.__childNodes?w.childNodes:(v=>{const m=[];for(let y=0;y<v.length;y++){const g=v[y]["s-nr"]||void 0;g&&g.isConnected&&m.push(g)}return m})(w.childNodes)).forEach((v=>{d===he(v)&&p.push(v)})),f?p.filter((v=>v.nodeType===1)):p}).bind(a);a.assignedElements=u(!0),a.assignedNodes=u(!1)})(s),c=e&&e.m&&e.m[o],c&&c.O===i.O&&e.S&&Rt(e.S)),s},Rt=e=>{T.i|=1;const t=e.closest(Y.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&&(L(t,i,o??null),i["s-sh"]=void 0,Te=!0)}T.i&=-2},Re=(e,t)=>{T.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"]===Y&&o.push(n)}for(let n=o.length-1;n>=0;n--){const i=o[n];i["s-hn"]!==Y&&i["s-ol"]&&(L(me(i).parentNode,i,me(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,Te=!0),t&&Re(i,t)}T.i&=-2},kt=(e,t,o,n,i,s)=>{let l,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===Y&&(c=c.shadowRoot),o.O==="template"&&(c=c.content);i<=s;++i)n[i]&&(l=Ne(null,o,i),l&&(n[i].S=l,L(c,l,me(t))))},_t=(e,t,o)=>{for(let n=t;n<=o;++n){const i=e[n];if(i){const s=i.S;$t(i),s&&(Ce=!0,s["s-ol"]?s["s-ol"].remove():Re(s,!0),s.remove())}}},ke=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),me=e=>e&&e["s-ol"]||e,se=(e,t,o=!1)=>{const n=t.S=e.S,i=e.m,s=t.m,l=t.O,c=t.h;let r;c==null?(R=l==="svg"||l!=="foreignObject"&&R,l!=="slot"||pe||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Rt(t.S.parentElement)),Ye(e,t,R),i!==null&&s!==null?((a,u,f,h,p=!1)=>{let d,w,v=0,m=0,y=0,g=0,x=u.length-1,b=u[0],S=u[x],E=h.length-1,A=h[0],C=h[E];const _=f.O==="template"?a.content:a;for(;v<=x&&m<=E;)if(b==null)b=u[++v];else if(S==null)S=u[--x];else if(A==null)A=h[++m];else if(C==null)C=h[--E];else if(ke(b,A,p))se(b,A,p),b=u[++v],A=h[++m];else if(ke(S,C,p))se(S,C,p),S=u[--x],C=h[--E];else if(ke(b,C,p))b.O!=="slot"&&C.O!=="slot"||Re(b.S.parentNode,!1),se(b,C,p),L(_,b.S,S.S.nextSibling),b=u[++v],C=h[--E];else if(ke(S,A,p))b.O!=="slot"&&C.O!=="slot"||Re(S.S.parentNode,!1),se(S,A,p),L(_,S.S,b.S),S=u[--x],A=h[++m];else{for(y=-1,g=v;g<=x;++g)if(u[g]&&u[g].$!==null&&u[g].$===A.$){y=g;break}y>=0?(w=u[y],w.O!==A.O?d=Ne(u&&u[m],f,y):(se(w,A,p),u[y]=void 0,d=w.S),A=h[++m]):(d=Ne(u&&u[m],f,m),A=h[++m]),d&&L(me(b.S).parentNode,d,me(b.S))}v>x?kt(a,h[E+1]==null?null:h[E+1].S,f,h,m,E):m>E&&_t(u,v,x)})(n,i,t,s,o):s!==null?(e.h!==null&&(n.textContent=""),kt(n,null,t,s,0,s.length-1)):!o&&i!==null&&_t(i,0,i.length-1),R&&l==="svg"&&(R=!1)):(r=n["s-cr"])?r.parentNode.textContent=c:e.h!==c&&(n.data=c)},j=[],Lt=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 l=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(bt(t,l)){let c=j.find((r=>r.k===t));Ce=!0,t["s-sn"]=t["s-sn"]||l,c?(c.k["s-sh"]=s["s-hn"],c.N=s):(t["s-sh"]=s["s-hn"],j.push({N:s,k:t})),t["s-sr"]&&j.map((r=>{bt(r.k,t["s-sn"])&&(c=j.find((a=>a.k===t)),c&&!r.N&&(r.N=c.N))}))}else j.some((c=>c.k===t))||j.push({k:t})}s.nodeType===1&&Lt(s)}},$t=e=>{e.v&&e.v.ref&&Ge.push((()=>e.v.ref(null))),e.m&&e.m.map($t)},wn=(e,t)=>{Ze.push((()=>e(t)))},L=(e,t,o,n)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:i}=(function(s,l){var c;if(!(l=l||((c=s["s-ol"])==null?void 0:c.parentElement)))return{slotNode:null,slotName:""};const r=s["s-sn"]=he(s)||"";return{slotNode:Ie(Ue(l,"childNodes"),l.tagName,r)[0],slotName:r}})(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)},vn=(e,t,o=!1)=>{var n,i,s,l,c;const r=e.$hostElement$,a=e.o,u=e.M||Ae(null,null);var f;const h=(f=t)&&f.O===dn?t:ie(null,null,t);if(Y=r.tagName,a._&&(h.v=h.v||{},a._.forEach((([p,d])=>{h.v[d]=r[p]}))),o&&h.v)for(const p of Object.keys(h.v))r.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(h.v[p]=r[p]);if(h.O=null,h.i|=4,e.M=h,h.S=u.S=r.shadowRoot||r,pe=!(!(1&a.i)||128&a.i),qe=r["s-cr"],Ce=!1,se(u,h,o),T.i|=1,Te){Lt(h.S);for(const p of j){const d=p.k;if(!d["s-ol"]&&O.document){const w=O.document.createTextNode("");w["s-nr"]=d,L(d.parentNode,d["s-ol"]=w,d,o)}}for(const p of j){const d=p.k,w=p.N;if(d.nodeType===1&&o&&(d["s-ih"]=(n=d.hidden)!=null&&n),w){const v=w.parentNode;let m=w.nextSibling;if(m&&m.nodeType===1){let y=(i=d["s-ol"])==null?void 0:i.previousSibling;for(;y;){let g=(s=y["s-nr"])!=null?s:null;if(g&&g["s-sn"]===d["s-sn"]&&v===(g.__parentNode||g.parentNode)){for(g=g.nextSibling;g===d||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){m=g;break}}y=y.previousSibling}}if((!m&&v!==(d.__parentNode||d.parentNode)||(d.__nextSibling||d.nextSibling)!==m)&&d!==m){if(L(v,d,m,o),d.nodeType===8&&d.nodeValue.startsWith("s-nt-")){const y=O.document.createTextNode(d.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=d["s-hn"],y["s-sn"]=d["s-sn"],y["s-sh"]=d["s-sh"],y["s-sr"]=d["s-sr"],y["s-ol"]=d["s-ol"],y["s-ol"]["s-nr"]=y,L(d.parentNode,y,d,o),d.parentNode.removeChild(d)}d.nodeType===1&&d.tagName!=="SLOT-FB"&&(d.hidden=(l=d["s-ih"])!=null&&l)}d&&typeof w["s-rf"]=="function"&&w["s-rf"](w)}else d.nodeType===1&&(d.hidden=!0)}}if(Ce&&vt(h.S),T.i&=-2,j.length=0,!pe&&!(1&a.i)&&r["s-cr"]){const p=h.S.__childNodes||h.S.childNodes;for(const d of p)if(d["s-hn"]!==Y&&!d["s-sh"]){if(o&&d["s-ih"]==null&&(d["s-ih"]=(c=d.hidden)!=null&&c),d.nodeType===1)d.hidden=!0;else if(d.nodeType===3&&d.nodeValue.trim()){const w=O.document.createComment("s-nt-"+d.nodeValue);w["s-sn"]=d["s-sn"],L(d.parentNode,w,d,o),d.parentNode.removeChild(d)}}}qe=void 0,Ge.forEach((p=>p())),Ge.length=0,Ze.forEach((p=>p())),Ze.length=0},Pt=(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()})))}},Ke=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Pt(e,e.C);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=ge(n,t?"componentWillLoad":"componentWillUpdate",void 0,o),i=Dt(i,(()=>ge(n,"componentWillRender",void 0,o))),Dt(i,(()=>Sn(e,n,t)))},Dt=(e,t)=>xn(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),xn=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Sn=async(e,t,o)=>{var n;const i=e.$hostElement$,s=i["s-rc"];o&&(l=>{const c=l.o,r=l.$hostElement$,a=c.i,u=((f,h)=>{var p,d,w;const v=xt(h),m=Oe.get(v);if(!O.document)return v;if(f=f.nodeType===11?f:O.document,m)if(typeof m=="string"){let y,g=B.get(f=f.head||f);if(g||B.set(f,g=new Set),!g.has(v)){y=O.document.createElement("style"),y.textContent=m;const x=(p=T.L)!=null?p:(function(){var b,S,E;return(E=(S=(b=O.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:S.getAttribute("content"))!=null?E:void 0})();if(x!=null&&y.setAttribute("nonce",x),!(1&h.i))if(f.nodeName==="HEAD"){const b=f.querySelectorAll("link[rel=preconnect]"),S=b.length>0?b[b.length-1].nextSibling:f.querySelector("style");f.insertBefore(y,S?.parentNode===f?S:null)}else if("host"in f)if(je){const b=new((d=f.defaultView)!=null?d:f.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(m),He?f.adoptedStyleSheets.unshift(b):f.adoptedStyleSheets=[b,...f.adoptedStyleSheets]}else{const b=f.querySelector("style");b?b.textContent=m+b.textContent:f.prepend(y)}else f.append(y);1&h.i&&f.insertBefore(y,null),4&h.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),g&&g.add(v)}}else{let y=B.get(f);if(y||B.set(f,y=new Set),!y.has(v)){const g=(w=f.defaultView)!=null?w:f.ownerDocument.defaultView;let x;if(m.constructor===g.CSSStyleSheet)x=m;else{x=new g.CSSStyleSheet;for(let b=0;b<m.cssRules.length;b++)x.insertRule(m.cssRules[b].cssText,b)}He?f.adoptedStyleSheets.push(x):f.adoptedStyleSheets=[...f.adoptedStyleSheets,x],y.add(v)}}return v})(r.shadowRoot?r.shadowRoot:r.getRootNode(),c);10&a&&(r["s-sc"]=u,r.classList.add(u+"-h"))})(e),En(e,t,i,o),s&&(s.map((l=>l())),i["s-rc"]=void 0);{const l=(n=i["s-p"])!=null?n:[],c=()=>On(e);l.length===0?c():(Promise.all(l).then(c).catch(c),e.i|=4,l.length=0)}},En=(e,t,o,n)=>{try{t=t.render(),e.i&=-17,e.i|=2,vn(e,t,n)}catch(i){oe(i,e.$hostElement$)}return null},On=e=>{const t=e.$hostElement$,o=t,n=e.C;ge(o,"componentDidRender",void 0,t),64&e.i?ge(o,"componentDidUpdate",void 0,t):(e.i|=64,Cn(t),ge(o,"componentDidLoad",void 0,t),e.F(t),n||An()),e.A&&(e.A(),e.A=void 0),512&e.i&&Be((()=>Ke(e,!1))),e.i&=-517},An=()=>{Be((()=>mn(O,"appload",{detail:{namespace:"gids-core-web"}})))},ge=(e,t,o,n)=>{if(e&&e[t])try{return e[t](o)}catch(i){oe(i,n)}},Cn=e=>e.classList.add("hydrated"),Mt=(e,t,o,n)=>{const i=z(e);if(!i)return;const s=e,l=i.l.get(t),c=i.i,r=s;o=Ot(o,n.t[t][0]);const a=Number.isNaN(l)&&Number.isNaN(o);if(o!==l&&!a){if(i.l.set(t,o),n.R){const u=n.R[t];u&&u.map((f=>{try{const[[h,p]]=Object.entries(f);(128&c||1&p)&&(r?r[h](o,l,t):i.T.push((()=>{i.D[h](o,l,t)})))}catch(h){oe(h,s)}}))}if(2&c){if(r.componentShouldUpdate&&r.componentShouldUpdate(o,l,t)===!1&&!(16&c))return;16&c||Ke(i,!1)}}},Tn=(e,t)=>{var o,n;const i=e.prototype;{e.watchers&&!t.R&&(t.R=Et(e.watchers)),e.deserializers&&!t.H&&(t.H=e.deserializers),e.serializers&&!t.P&&(t.P=e.serializers);const s=Object.entries((o=t.t)!=null?o:{});s.map((([l,[c]])=>{if(31&c||32&c){const{get:r,set:a}=ne(i,l)||{};r&&(t.t[l][0]|=2048),a&&(t.t[l][0]|=4096),Object.defineProperty(i,l,{get(){return r?r.apply(this):(u=l,z(this).l.get(u));var u},configurable:!0,enumerable:!0}),Object.defineProperty(i,l,{set(u){const f=z(this);if(f){if(a)return(32&c?this[l]:f.$hostElement$[l])===void 0&&f.l.get(l)&&(u=f.l.get(l)),a.apply(this,[Ot(u,c)]),void Mt(this,l,u=32&c?this[l]:f.$hostElement$[l],t);Mt(this,l,u,t)}}})}}));{const l=new Map;i.attributeChangedCallback=function(c,r,a){T.jmp((()=>{var u;const f=l.get(c),h=z(this);if(this.hasOwnProperty(f),i.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==a)return;if(f==null){const m=h?.i;if(h&&m&&!(8&m)&&a!==r){const y=this,g=(u=t.R)==null?void 0:u[c];g?.forEach((x=>{const[[b,S]]=Object.entries(x);y[b]!=null&&(128&m||1&S)&&y[b].call(y,a,r,c)}))}return}const p=s.find((([m])=>m===f)),d=p&&4&p[1][0],w=d&&a===null&&this[f]===void 0;d&&(a=a!==null&&a!=="false");const v=Object.getOwnPropertyDescriptor(i,f);w||a==this[f]||v.get&&!v.set||(this[f]=a)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.R)!=null?n:{}),...s.filter((([c,r])=>31&r[0])).map((([c,r])=>{var a;const u=r[1]||c;return l.set(u,c),512&r[0]&&((a=t._)==null||a.push([c,u])),u}))]))}}return e},Nn=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.R=Et(e.R),o.H=e.H,o.P=e.P,o._=[];const n=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((s,l)=>{const c={i:0,$hostElement$:s,o:l,l:new Map,U:new Map};c.W=new Promise((a=>c.F=a)),s["s-p"]=[],s["s-rc"]=[];const r=c;s.__stencil__getHostRef=()=>r,512&l.i&&ln(s,c)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){if(!z(this))return;this.__hasHostListenerAttached=!0}(s=>{if(!(1&T.i)){const l=z(s);if(!l)return;const c=l.o;if(1&l.i)l?.D||l?.W&&l.W.then((()=>{}));else{l.i|=1,12&c.i&&(r=>{if(!O.document)return;const a=r["s-cr"]=O.document.createComment("");a["s-cn"]=!0,L(r,a,r.firstChild)})(s);{let r=s;for(;r=r.parentNode||r.host;)if(r["s-p"]){Pt(l,l.C=r);break}}c.t&&Object.entries(c.t).map((([r,[a]])=>{if(31&a&&Object.prototype.hasOwnProperty.call(s,r)){const u=s[r];delete s[r],s[r]=u}})),(async(r,a,u)=>{let f;try{if(!(32&a.i)&&(a.i|=32,f=r.constructor,customElements.whenDefined(r.localName).then((()=>a.i|=128)),f&&f.style)){let d;typeof f.style=="string"&&(d=f.style);const w=xt(u);Oe.has(w)||((v,m,y)=>{let g=Oe.get(v);je&&y?(g=g||new CSSStyleSheet,typeof g=="string"?g=m:g.replaceSync(m)):g=m,Oe.set(v,g)})(w,d,!!(1&u.i))}const h=a.C,p=()=>Ke(a,!0);h&&h["s-rc"]?h["s-rc"].push(p):p()}catch(h){oe(h,r),a.A&&(a.A(),a.A=void 0),a.F&&a.F(r)}})(s,l,c)}}})(this),n&&n.call(this)},disconnectedCallback(){(async s=>{1&T.i||z(s),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}),Tn(e,o)}catch(n){return oe(n),e}},Rn=(e,t)=>t;function Co(e){return e}const le=Math.min,G=Math.max,_e=Math.round,Le=Math.floor,F=e=>({x:e,y:e}),kn={left:"right",right:"left",bottom:"top",top:"bottom"};function Je(e,t,o){return G(e,le(t,o))}function ye(e,t){return typeof e=="function"?e(t):e}function Z(e){return e.split("-")[0]}function we(e){return e.split("-")[1]}function Ft(e){return e==="x"?"y":"x"}function Qe(e){return e==="y"?"height":"width"}function I(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function et(e){return Ft(I(e))}function _n(e,t,o){o===void 0&&(o=!1);const n=we(e),i=et(e),s=Qe(i);let l=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(l=$e(l)),[l,$e(l)]}function Ln(e){const t=$e(e);return[tt(e),t,tt(t)]}function tt(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Wt=["left","right"],jt=["right","left"],$n=["top","bottom"],Pn=["bottom","top"];function Dn(e,t,o){switch(e){case"top":case"bottom":return o?t?jt:Wt:t?Wt:jt;case"left":case"right":return t?$n:Pn;default:return[]}}function Mn(e,t,o,n){const i=we(e);let s=Dn(Z(e),o==="start",n);return i&&(s=s.map(l=>l+"-"+i),t&&(s=s.concat(s.map(tt)))),s}function $e(e){const t=Z(e);return kn[t]+e.slice(t.length)}function Fn(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ht(e){return typeof e!="number"?Fn(e):{top:e,right:e,bottom:e,left:e}}function Pe(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=I(t),l=et(t),c=Qe(l),r=Z(t),a=s==="y",u=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,h=n[c]/2-i[c]/2;let p;switch(r){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:f};break;case"left":p={x:n.x-i.width,y:f};break;default:p={x:n.x,y:n.y}}switch(we(t)){case"start":p[l]-=h*(o&&a?-1:1);break;case"end":p[l]+=h*(o&&a?-1:1);break}return p}async function Wn(e,t){var o;t===void 0&&(t={});const{x:n,y:i,platform:s,rects:l,elements:c,strategy:r}=e,{boundary:a="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:h=!1,padding:p=0}=ye(t,e),d=Ht(p),v=c[h?f==="floating"?"reference":"floating":f],m=Pe(await s.getClippingRect({element:(o=await(s.isElement==null?void 0:s.isElement(v)))==null||o?v:v.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:a,rootBoundary:u,strategy:r})),y=f==="floating"?{x:n,y:i,width:l.floating.width,height:l.floating.height}:l.reference,g=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),x=await(s.isElement==null?void 0:s.isElement(g))?await(s.getScale==null?void 0:s.getScale(g))||{x:1,y:1}:{x:1,y:1},b=Pe(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:y,offsetParent:g,strategy:r}):y);return{top:(m.top-b.top+d.top)/x.y,bottom:(b.bottom-m.bottom+d.bottom)/x.y,left:(m.left-b.left+d.left)/x.x,right:(b.right-m.right+d.right)/x.x}}const jn=50,Hn=async(e,t,o)=>{const{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:l}=o,c=l.detectOverflow?l:{...l,detectOverflow:Wn},r=await(l.isRTL==null?void 0:l.isRTL(t));let a=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:f}=Vt(a,n,r),h=n,p=0;const d={};for(let w=0;w<s.length;w++){const v=s[w];if(!v)continue;const{name:m,fn:y}=v,{x:g,y:x,data:b,reset:S}=await y({x:u,y:f,initialPlacement:n,placement:h,strategy:i,middlewareData:d,rects:a,platform:c,elements:{reference:e,floating:t}});u=g??u,f=x??f,d[m]={...d[m],...b},S&&p<jn&&(p++,typeof S=="object"&&(S.placement&&(h=S.placement),S.rects&&(a=S.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:i}):S.rects),{x:u,y:f}=Vt(a,h,r)),w=-1)}return{x:u,y:f,placement:h,strategy:i,middlewareData:d}},Vn=e=>({name:"arrow",options:e,async fn(t){const{x:o,y:n,placement:i,rects:s,platform:l,elements:c,middlewareData:r}=t,{element:a,padding:u=0}=ye(e,t)||{};if(a==null)return{};const f=Ht(u),h={x:o,y:n},p=et(i),d=Qe(p),w=await l.getDimensions(a),v=p==="y",m=v?"top":"left",y=v?"bottom":"right",g=v?"clientHeight":"clientWidth",x=s.reference[d]+s.reference[p]-h[p]-s.floating[d],b=h[p]-s.reference[p],S=await(l.getOffsetParent==null?void 0:l.getOffsetParent(a));let E=S?S[g]:0;(!E||!await(l.isElement==null?void 0:l.isElement(S)))&&(E=c.floating[g]||s.floating[d]);const A=x/2-b/2,C=E/2-w[d]/2-1,_=le(f[m],C),Se=le(f[y],C),ee=_,Ee=E-w[d]-Se,N=E/2-w[d]/2+A,te=Je(ee,N,Ee),V=!r.arrow&&we(i)!=null&&N!==te&&s.reference[d]/2-(N<ee?_:Se)-w[d]/2<0,D=V?N<ee?N-ee:N-Ee:0;return{[p]:h[p]+D,data:{[p]:te,centerOffset:N-te-D,...V&&{alignmentOffset:D}},reset:V}}}),zn=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,n;const{placement:i,middlewareData:s,rects:l,initialPlacement:c,platform:r,elements:a}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:d="none",flipAlignment:w=!0,...v}=ye(e,t);if((o=s.arrow)!=null&&o.alignmentOffset)return{};const m=Z(i),y=I(c),g=Z(c)===c,x=await(r.isRTL==null?void 0:r.isRTL(a.floating)),b=h||(g||!w?[$e(c)]:Ln(c)),S=d!=="none";!h&&S&&b.push(...Mn(c,w,d,x));const E=[c,...b],A=await r.detectOverflow(t,v),C=[];let _=((n=s.flip)==null?void 0:n.overflows)||[];if(u&&C.push(A[m]),f){const N=_n(i,l,x);C.push(A[N[0]],A[N[1]])}if(_=[..._,{placement:i,overflows:C}],!C.every(N=>N<=0)){var Se,ee;const N=(((Se=s.flip)==null?void 0:Se.index)||0)+1,te=E[N];if(te&&(!(f==="alignment"?y!==I(te):!1)||_.every(M=>I(M.placement)===y?M.overflows[0]>0:!0)))return{data:{index:N,overflows:_},reset:{placement:te}};let V=(ee=_.filter(D=>D.overflows[0]<=0).sort((D,M)=>D.overflows[1]-M.overflows[1])[0])==null?void 0:ee.placement;if(!V)switch(p){case"bestFit":{var Ee;const D=(Ee=_.filter(M=>{if(S){const q=I(M.placement);return q===y||q==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(q=>q>0).reduce((q,Ao)=>q+Ao,0)]).sort((M,q)=>M[1]-q[1])[0])==null?void 0:Ee[0];D&&(V=D);break}case"initialPlacement":V=c;break}if(i!==V)return{reset:{placement:V}}}return{}}}},Bn=new Set(["left","top"]);async function In(e,t){const{placement:o,platform:n,elements:i}=e,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),l=Z(o),c=we(o),r=I(o)==="y",a=Bn.has(l)?-1:1,u=s&&r?-1:1,f=ye(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:d}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return c&&typeof d=="number"&&(p=c==="end"?d*-1:d),r?{x:p*u,y:h*a}:{x:h*a,y:p*u}}const Un=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,n;const{x:i,y:s,placement:l,middlewareData:c}=t,r=await In(t,e);return l===((o=c.offset)==null?void 0:o.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+r.x,y:s+r.y,data:{...r,placement:l}}}}},qn=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:l=!0,crossAxis:c=!1,limiter:r={fn:m=>{let{x:y,y:g}=m;return{x:y,y:g}}},...a}=ye(e,t),u={x:o,y:n},f=await s.detectOverflow(t,a),h=I(Z(i)),p=Ft(h);let d=u[p],w=u[h];if(l){const m=p==="y"?"top":"left",y=p==="y"?"bottom":"right",g=d+f[m],x=d-f[y];d=Je(g,d,x)}if(c){const m=h==="y"?"top":"left",y=h==="y"?"bottom":"right",g=w+f[m],x=w-f[y];w=Je(g,w,x)}const v=r.fn({...t,[p]:d,[h]:w});return{...v,data:{x:v.x-o,y:v.y-n,enabled:{[p]:l,[h]:c}}}}}};function De(){return typeof window<"u"}function re(e){return zt(e)?(e.nodeName||"").toLowerCase():"#document"}function k(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function W(e){var t;return(t=(zt(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function zt(e){return De()?e instanceof Node||e instanceof k(e).Node:!1}function $(e){return De()?e instanceof Element||e instanceof k(e).Element:!1}function H(e){return De()?e instanceof HTMLElement||e instanceof k(e).HTMLElement:!1}function Bt(e){return!De()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof k(e).ShadowRoot}function ve(e){const{overflow:t,overflowX:o,overflowY:n,display:i}=P(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&i!=="inline"&&i!=="contents"}function Xn(e){return/^(table|td|th)$/.test(re(e))}function Me(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Yn=/transform|translate|scale|rotate|perspective|filter/,Gn=/paint|layout|strict|content/,K=e=>!!e&&e!=="none";let nt;function ot(e){const t=$(e)?P(e):e;return K(t.transform)||K(t.translate)||K(t.scale)||K(t.rotate)||K(t.perspective)||!it()&&(K(t.backdropFilter)||K(t.filter))||Yn.test(t.willChange||"")||Gn.test(t.contain||"")}function Zn(e){let t=U(e);for(;H(t)&&!ce(t);){if(ot(t))return t;if(Me(t))return null;t=U(t)}return null}function it(){return nt==null&&(nt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),nt}function ce(e){return/^(html|body|#document)$/.test(re(e))}function P(e){return k(e).getComputedStyle(e)}function Fe(e){return $(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function U(e){if(re(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Bt(e)&&e.host||W(e);return Bt(t)?t.host:t}function It(e){const t=U(e);return ce(t)?e.ownerDocument?e.ownerDocument.body:e.body:H(t)&&ve(t)?t:It(t)}function be(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);const i=It(e),s=i===((n=e.ownerDocument)==null?void 0:n.body),l=k(i);if(s){const c=st(l);return t.concat(l,l.visualViewport||[],ve(i)?i:[],c&&o?be(c):[])}else return t.concat(i,be(i,[],o))}function st(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ut(e){const t=P(e);let o=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const i=H(e),s=i?e.offsetWidth:o,l=i?e.offsetHeight:n,c=_e(o)!==s||_e(n)!==l;return c&&(o=s,n=l),{width:o,height:n,$:c}}function lt(e){return $(e)?e:e.contextElement}function ae(e){const t=lt(e);if(!H(t))return F(1);const o=t.getBoundingClientRect(),{width:n,height:i,$:s}=Ut(t);let l=(s?_e(o.width):o.width)/n,c=(s?_e(o.height):o.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}const Kn=F(0);function qt(e){const t=k(e);return!it()||!t.visualViewport?Kn:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Jn(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==k(e)?!1:t}function J(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);const i=e.getBoundingClientRect(),s=lt(e);let l=F(1);t&&(n?$(n)&&(l=ae(n)):l=ae(e));const c=Jn(s,o,n)?qt(s):F(0);let r=(i.left+c.x)/l.x,a=(i.top+c.y)/l.y,u=i.width/l.x,f=i.height/l.y;if(s){const h=k(s),p=n&&$(n)?k(n):n;let d=h,w=st(d);for(;w&&n&&p!==d;){const v=ae(w),m=w.getBoundingClientRect(),y=P(w),g=m.left+(w.clientLeft+parseFloat(y.paddingLeft))*v.x,x=m.top+(w.clientTop+parseFloat(y.paddingTop))*v.y;r*=v.x,a*=v.y,u*=v.x,f*=v.y,r+=g,a+=x,d=k(w),w=st(d)}}return Pe({width:u,height:f,x:r,y:a})}function We(e,t){const o=Fe(e).scrollLeft;return t?t.left+o:J(W(e)).left+o}function Xt(e,t){const o=e.getBoundingClientRect(),n=o.left+t.scrollLeft-We(e,o),i=o.top+t.scrollTop;return{x:n,y:i}}function Qn(e){let{elements:t,rect:o,offsetParent:n,strategy:i}=e;const s=i==="fixed",l=W(n),c=t?Me(t.floating):!1;if(n===l||c&&s)return o;let r={scrollLeft:0,scrollTop:0},a=F(1);const u=F(0),f=H(n);if((f||!f&&!s)&&((re(n)!=="body"||ve(l))&&(r=Fe(n)),f)){const p=J(n);a=ae(n),u.x=p.x+n.clientLeft,u.y=p.y+n.clientTop}const h=l&&!f&&!s?Xt(l,r):F(0);return{width:o.width*a.x,height:o.height*a.y,x:o.x*a.x-r.scrollLeft*a.x+u.x+h.x,y:o.y*a.y-r.scrollTop*a.y+u.y+h.y}}function eo(e){return Array.from(e.getClientRects())}function to(e){const t=W(e),o=Fe(e),n=e.ownerDocument.body,i=G(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=G(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let l=-o.scrollLeft+We(e);const c=-o.scrollTop;return P(n).direction==="rtl"&&(l+=G(t.clientWidth,n.clientWidth)-i),{width:i,height:s,x:l,y:c}}const Yt=25;function no(e,t){const o=k(e),n=W(e),i=o.visualViewport;let s=n.clientWidth,l=n.clientHeight,c=0,r=0;if(i){s=i.width,l=i.height;const u=it();(!u||u&&t==="fixed")&&(c=i.offsetLeft,r=i.offsetTop)}const a=We(n);if(a<=0){const u=n.ownerDocument,f=u.body,h=getComputedStyle(f),p=u.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,d=Math.abs(n.clientWidth-f.clientWidth-p);d<=Yt&&(s-=d)}else a<=Yt&&(s+=a);return{width:s,height:l,x:c,y:r}}function oo(e,t){const o=J(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,s=H(e)?ae(e):F(1),l=e.clientWidth*s.x,c=e.clientHeight*s.y,r=i*s.x,a=n*s.y;return{width:l,height:c,x:r,y:a}}function Gt(e,t,o){let n;if(t==="viewport")n=no(e,o);else if(t==="document")n=to(W(e));else if($(t))n=oo(t,o);else{const i=qt(e);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Pe(n)}function Zt(e,t){const o=U(e);return o===t||!$(o)||ce(o)?!1:P(o).position==="fixed"||Zt(o,t)}function io(e,t){const o=t.get(e);if(o)return o;let n=be(e,[],!1).filter(c=>$(c)&&re(c)!=="body"),i=null;const s=P(e).position==="fixed";let l=s?U(e):e;for(;$(l)&&!ce(l);){const c=P(l),r=ot(l);!r&&c.position==="fixed"&&(i=null),(s?!r&&!i:!r&&c.position==="static"&&!!i&&(i.position==="absolute"||i.position==="fixed")||ve(l)&&!r&&Zt(e,l))?n=n.filter(u=>u!==l):i=c,l=U(l)}return t.set(e,n),n}function so(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e;const l=[...o==="clippingAncestors"?Me(t)?[]:io(t,this._c):[].concat(o),n],c=Gt(t,l[0],i);let r=c.top,a=c.right,u=c.bottom,f=c.left;for(let h=1;h<l.length;h++){const p=Gt(t,l[h],i);r=G(p.top,r),a=le(p.right,a),u=le(p.bottom,u),f=G(p.left,f)}return{width:a-f,height:u-r,x:f,y:r}}function lo(e){const{width:t,height:o}=Ut(e);return{width:t,height:o}}function ro(e,t,o){const n=H(t),i=W(t),s=o==="fixed",l=J(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const r=F(0);function a(){r.x=We(i)}if(n||!n&&!s)if((re(t)!=="body"||ve(i))&&(c=Fe(t)),n){const p=J(t,!0,s,t);r.x=p.x+t.clientLeft,r.y=p.y+t.clientTop}else i&&a();s&&!n&&i&&a();const u=i&&!n&&!s?Xt(i,c):F(0),f=l.left+c.scrollLeft-r.x-u.x,h=l.top+c.scrollTop-r.y-u.y;return{x:f,y:h,width:l.width,height:l.height}}function rt(e){return P(e).position==="static"}function Kt(e,t){if(!H(e)||P(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return W(e)===o&&(o=o.ownerDocument.body),o}function Jt(e,t){const o=k(e);if(Me(e))return o;if(!H(e)){let i=U(e);for(;i&&!ce(i);){if($(i)&&!rt(i))return i;i=U(i)}return o}let n=Kt(e,t);for(;n&&Xn(n)&&rt(n);)n=Kt(n,t);return n&&ce(n)&&rt(n)&&!ot(n)?o:n||Zn(e)||o}const co=async function(e){const t=this.getOffsetParent||Jt,o=this.getDimensions,n=await o(e.floating);return{reference:ro(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function ao(e){return P(e).direction==="rtl"}const ct={convertOffsetParentRelativeRectToViewportRelativeRect:Qn,getDocumentElement:W,getClippingRect:so,getOffsetParent:Jt,getElementRects:co,getClientRects:eo,getDimensions:lo,getScale:ae,isElement:$,isRTL:ao};function Qt(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function fo(e,t){let o=null,n;const i=W(e);function s(){var c;clearTimeout(n),(c=o)==null||c.disconnect(),o=null}function l(c,r){c===void 0&&(c=!1),r===void 0&&(r=1),s();const a=e.getBoundingClientRect(),{left:u,top:f,width:h,height:p}=a;if(c||t(),!h||!p)return;const d=Le(f),w=Le(i.clientWidth-(u+h)),v=Le(i.clientHeight-(f+p)),m=Le(u),g={rootMargin:-d+"px "+-w+"px "+-v+"px "+-m+"px",threshold:G(0,le(1,r))||1};let x=!0;function b(S){const E=S[0].intersectionRatio;if(E!==r){if(!x)return l();E?l(!1,E):n=setTimeout(()=>{l(!1,1e-7)},1e3)}E===1&&!Qt(a,e.getBoundingClientRect())&&l(),x=!1}try{o=new IntersectionObserver(b,{...g,root:i.ownerDocument})}catch{o=new IntersectionObserver(b,g)}o.observe(e)}return l(!0),s}function uo(e,t,o,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:r=!1}=n,a=lt(e),u=i||s?[...a?be(a):[],...t?be(t):[]]:[];u.forEach(m=>{i&&m.addEventListener("scroll",o,{passive:!0}),s&&m.addEventListener("resize",o)});const f=a&&c?fo(a,o):null;let h=-1,p=null;l&&(p=new ResizeObserver(m=>{let[y]=m;y&&y.target===a&&p&&t&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var g;(g=p)==null||g.observe(t)})),o()}),a&&!r&&p.observe(a),t&&p.observe(t));let d,w=r?J(e):null;r&&v();function v(){const m=J(e);w&&!Qt(w,m)&&o(),w=m,d=requestAnimationFrame(v)}return o(),()=>{var m;u.forEach(y=>{i&&y.removeEventListener("scroll",o),s&&y.removeEventListener("resize",o)}),f?.(),(m=p)==null||m.disconnect(),p=null,r&&cancelAnimationFrame(d)}}const ho=Un,po=qn,mo=zn,go=Vn,yo=(e,t,o)=>{const n=new Map,i={platform:ct,...o},s={...i.platform,_c:n};return Hn(e,t,{...i,platform:s})};var xe;(function(e){e.TOOLTIP="tooltip",e.POPOVER="popover"})(xe||(xe={}));function en(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}const wo=/transform|translate|scale|rotate|perspective|filter/,vo=/paint|layout|strict|content/,Q=e=>!!e&&e!=="none";let at;function bo(e){const t=(o=e,typeof window<"u"&&(o instanceof Element||o instanceof en(o).Element)?en(n=e).getComputedStyle(n):e);var o,n;return Q(t.transform)||Q(t.translate)||Q(t.scale)||Q(t.rotate)||Q(t.perspective)||(at==null&&(at=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),!at&&(Q(t.backdropFilter)||Q(t.filter)))||wo.test(t.willChange||"")||vo.test(t.contain||"")}function xo(e){return(function(t){for(let o=t;o;o=ft(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=ft(t);o;o=ft(o)){if(!(o instanceof Element))continue;const n=getComputedStyle(o);if(n.display!=="contents"&&(n.position!=="static"||bo(n)||o.tagName==="BODY"))return o}return null})(e)}function ft(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}const ue=class ue{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=uo(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=[ho(this.offset)],o=mo({mainAxis:!0,crossAxis:!this.config.lockToMainAxis&&"alignment",fallbackAxisSideDirection:"end",padding:this.offset}),n=this.config.elementType===xe.POPOVER,i=po({padding:this.offset,mainAxis:this.config.elementType===xe.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(go({element:this.arrowEl,padding:this.offset})),yo(this.anchorElement,this.floatingElement,{placement:this.config.placement,strategy:"fixed",middleware:t,platform:{...ct,getOffsetParent:s=>ct.getOffsetParent(s,xo)}}).then((({x:s,y:l,middlewareData:c,placement:r})=>{if(n){const h=r.startsWith("left")||r.startsWith("right"),p=r.startsWith("top")||r.startsWith("bottom"),d=this.isAnchorInViewport(),w=!!p||(h?d:this.popoverMainAxisEnabled);if(w!==this.popoverMainAxisEnabled)return this.popoverMainAxisEnabled=w,void this.updatePosition()}this.currentPlacement=r,Object.assign(this.floatingElement.style,{left:`${s}px`,top:`${l}px`,position:"fixed",transition:`opacity ${this.timeOfAnimation}ms ease`});const a=r.split("-")[0]??"bottom",u={top:"bottom",right:"left",bottom:"top",left:"right"}[a],{arrowZIndex:f}=this.normalizeFloatingElementStacking();if(c.arrow&&this.arrowEl){const h=this.arrowEl.offsetWidth,{x:p,y:d}=c.arrow;this.arrowEl.style.borderRadius=`${["left","right"].includes(a)?"0 ":""}var(--gidsFloatingElement-tip-border-radius, 2px)${["top","bottom"].includes(a)?" 0":""}`,Object.assign(this.arrowEl.style,{left:p!==null?`${p}px`:"",top:d!==null?`${d}px`:"",right:"",bottom:"",[u]:-h/2+"px",transform:"rotate(45deg)",zIndex:`${f}`,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 l=s.style.zIndex||(window.getComputedStyle?.(s).zIndex??""),c=Number.parseInt(l,10),r=window.getComputedStyle?.(s).position??"";(l===""||l==="auto"||Number.isNaN(c)||c<i)&&(s.style.zIndex=`${i}`,r!==""&&r!=="static"||(s.style.position="relative"))})),{contentZIndex:i,arrowZIndex:n}}hideFloatingElement(){this.floatingElement.classList.remove(this.config.visibilityClass),ue.currentFloatingElements.delete(this.config.elementType)}showFloatingElement(){const t=ue.currentFloatingElements.get(this.config.elementType);t&&t.hideFloatingElement(),this.floatingElement.classList.add(this.config.visibilityClass),ue.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}};ue.currentFloatingElements=new Map;let ut=ue;const fe=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let tn=!1;fe&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(fe):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let dt=null;const ht=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{nn()})):void 0,nn=()=>{if(fe===void 0)return!1;const e=(()=>{if(fe===void 0)return;const t=[];for(let o=0;o<document.styleSheets.length;o++){const n=document.styleSheets.item(o);if(n)try{let i=-1,s=0;for(let l=0;l<n.cssRules.length;l++){const c=n.cssRules.item(l);if(c?.cssText.startsWith("gids-global-styles-start"))i=l;else if(i>-1){if(c?.cssText.startsWith("gids-global-styles-end")){s=l-i+1;break}t.push(c)}}if(i>-1)return{rulesStartIndex:i,originalRulesCount:s,rules:t,styleSheet:n}}catch(i){if(!(i instanceof DOMException))throw i}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return ht!==void 0&&t!==dt&&(dt&&ht.disconnect(),t instanceof Element&&ht.observe(t,{childList:!0,characterData:!0,subtree:!0}),dt=t),fe.replaceSync((o=>o.rules.map((n=>n.cssText)).join(""))(e)),(o=>{const{rulesStartIndex:n,originalRulesCount:i,styleSheet:s}=o;for(let l=0;l<i;l++)s.deleteRule(n)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},So=()=>(tn||(tn=nn()),fe),on=Nn(class extends rn{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.placement="bottom",this.showWithoutDelay=!1,this.lockToMainAxis=!1,this.handleShowEvent=()=>{this.floatingElementManager.showAfterDelay()},this.handleHideEvent=()=>{this.floatingElementManager.hideAfterDelay()}}connectedCallback(){const e=So();e!==void 0&&this._el.shadowRoot?.adoptedStyleSheets.push(e)}componentDidLoad(){this.floatingElementManager=new ut(this._el,{htmlFor:this.htmlFor,placement:this.placement,showWithoutDelay:this.showWithoutDelay,lockToMainAxis:this.lockToMainAxis,floatingElementSelector:"#tooltip",arrowElementSelector:"#arrow",visibilityClass:"gids-tooltip--visible",elementType:xe.TOOLTIP,getAnchorElementFromSlot:e=>e.querySelector("slot")?.assignedElements()[0]||null}),this.floatingElementManager.initialize(),this.setupEventListeners()}setupEventListeners(){const e=this.floatingElementManager.getAnchorElement();e&&(e.addEventListener("mouseenter",this.handleShowEvent),e.addEventListener("focus",this.handleShowEvent),e.addEventListener("mouseleave",this.handleHideEvent),e.addEventListener("blur",this.handleHideEvent))}placementChanged(e){this.floatingElementManager?.updateConfig({placement:e}),this.floatingElementManager?.isVisible()&&this.floatingElementManager?.reposition()}showWithoutDelayChanged(e){this.floatingElementManager?.updateConfig({showWithoutDelay:e})}lockToMainAxisChanged(e){this.floatingElementManager?.updateConfig({lockToMainAxis:e})}htmlForChanged(e){this.floatingElementManager?.updateConfig({htmlFor:e}),this.cleanupEventListeners(),this.floatingElementManager?.initialize(),this.setupEventListeners()}cleanupEventListeners(){const e=this.floatingElementManager?.getAnchorElement();e&&(e.removeEventListener("mouseenter",this.handleShowEvent),e.removeEventListener("focus",this.handleShowEvent),e.removeEventListener("mouseleave",this.handleHideEvent),e.removeEventListener("blur",this.handleHideEvent))}render(){return ie(Rn,{key:"49747828eaa09ead2d1e2f6d9d28b66c2db76103"},ie("slot",{key:"9ad53320553f1377f01f026a95f7cb894d91c98a"}),ie("span",{key:"6116e418faa09d82975a3830f7e0bedcbdd8e87f",id:"tooltip",part:"tooltip",role:"tooltip"},ie("span",{key:"677d275b2e161441d76315c50a60a941d6dd010a",id:"arrow"}),this.tooltipText))}disconnectedCallback(){this.cleanupEventListeners(),this.floatingElementManager?.destroy()}get _el(){return this}static get watchers(){return{placement:[{placementChanged:0}],showWithoutDelay:[{showWithoutDelayChanged:0}],lockToMainAxis:[{lockToMainAxisChanged:0}],htmlFor:[{htmlForChanged:0}]}}static get style(){return"gids-tooltip{--gidsTooltip-background:var(--gids-color-background-neutral-bold-default);--gidsTooltip-text-color:var(--gids-color-text-inverse);--gidsTooltip-padding:var(--gids-padding-vertical-edge-to-element-100) var(--gids-padding-horizontal-edge-to-element-200);--gidsTooltip-border-radius:var(--gids-border-radius-sm);--gidsTooltip-tip-border-radius:2px;--gidsTooltip-tip-size:12px;--gidsFloatingElement-background:var(--gidsTooltip-background);--gidsFloatingElement-tip-border-radius:var(--gidsTooltip-tip-border-radius)}[part=tooltip]{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;hyphens:auto;background-color:var(--gidsTooltip-background);color:var(--gidsTooltip-text-color);padding:var(--gidsTooltip-padding);border-radius:var(--gidsTooltip-border-radius);z-index:1000;opacity:0;pointer-events:none}[part=tooltip].gids-tooltip--visible{pointer-events:initial;opacity:1}[part=tooltip] span#arrow{position:absolute;height:var(--gidsTooltip-tip-size);width:var(--gidsTooltip-tip-size)}"}},[257,"gids-tooltip",{htmlFor:[513,"for"],tooltipText:[513,"tooltip-text"],placement:[513],showWithoutDelay:[516,"show-without-delay"],lockToMainAxis:[4,"lock-to-main-axis"]},void 0,{placement:[{placementChanged:0}],showWithoutDelay:[{showWithoutDelayChanged:0}],lockToMainAxis:[{lockToMainAxisChanged:0}],htmlFor:[{htmlForChanged:0}]}]);function sn(){typeof customElements<"u"&&["gids-tooltip"].forEach((e=>{e==="gids-tooltip"&&(customElements.get(e)||customElements.define(e,on))}))}sn();const Eo=on,Oo=sn;X.GidsTooltip=Eo,X.defineCustomElement=Oo,Object.defineProperty(X,Symbol.toStringTag,{value:"Module"})}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(y,x){typeof exports=="object"&&typeof module<"u"?x(exports):typeof define=="function"&&define.amd?define(["exports"],x):(y=typeof globalThis<"u"?globalThis:y||self,x(y.gidsCoreWebIndex={}))})(this,(function(y){"use strict";var x=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},oe=(e,t)=>t in e,le="http://www.w3.org/1999/xlink",A=typeof window<"u"?window:{},w={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)};(()=>{try{return!!A.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})();var _e=e=>{const t=new URL(e,w.u);return t.origin!==A.location.origin?t.href:t.pathname},Te=e=>w.u=e,ie=e=>{const t=K(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&H(t,e.tagName).forEach((s=>{s.nodeType===1&&s.tagName==="SLOT-FB"&&(s.hidden=!!we(s,L(s),!1).length)}));let n=0;for(n=0;n<t.length;n++){const s=t[n];s.nodeType===1&&K(s,"childNodes").length&&ie(s)}};function H(e,t,n){let s,o=0,l=[];for(;o<e.length;o++){if(s=e[o],s["s-sr"]&&(!t||s["s-hn"]===t)&&(n===void 0||L(s)===n)&&(l.push(s),n!==void 0))return l;l=[...l,...H(s.childNodes,t,n)]}return l}var we=(e,t,n=!0)=>{const s=[];(n&&e["s-sr"]||!e["s-sr"])&&s.push(e);let o=e;for(;o=o.nextSibling;)L(o)!==t||!n&&o["s-sr"]||s.push(o);return s},re=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",L=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function K(e,t){if("__"+t in e){const n=e["__"+t];return typeof n!="function"?n:n.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var J,k,ae=e=>(e=typeof e)=="object"||e==="function",Ae=(e,t,...n)=>{let s=null,o=null,l=null,a=!1,d=!1;const r=[],u=S=>{for(let f=0;f<S.length;f++)s=S[f],Array.isArray(s)?u(s):s!=null&&typeof s!="boolean"&&((a=!ae(s))&&(s=String(s)),a&&d?r[r.length-1].h+=s:r.push(a?X(null,s):s),d=a)};u(n);const c=X(e,null);return c.v=t,r.length>0&&(c.m=r),c.$=o,c.j=l,c},X=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),Oe={},de=(e,t,n,s,o,l)=>{if(n===s)return;let a=oe(e,t),d=t.toLowerCase();if(t==="class"){const r=e.classList,u=ce(n);let c=ce(s);r.remove(...u.filter((S=>S&&!c.includes(S)))),r.add(...c.filter((S=>S&&!u.includes(S))))}else if(t==="style"){for(const r in n)s&&s[r]!=null||(r.includes("-")?e.style.removeProperty(r):e.style[r]="");for(const r in s)n&&s[r]===n[r]||(r.includes("-")?e.style.setProperty(r,s[r]):e.style[r]=s[r])}else if(t!=="key"){if(t==="ref")s&&Pe(s,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const r=t.slice(5);let u;{const c=x(e);if(c&&c.o&&c.o.t){const S=c.o.t[r];S&&S[1]&&(u=S[1])}}return u||(u=r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(s==null||s===!1?s===!1&&e.getAttribute(u)!==""||e.removeAttribute(u):e.setAttribute(u,s===!0?"":s))}if(t[0]==="p"&&t.startsWith("prop:")){const r=t.slice(5);try{e[r]=s}catch{}return}{const r=ae(s);if((a||r&&s!==null)&&!o)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const c=s??"";t==="list"?a=!1:n!=null&&e[t]===c||(typeof e.__lookupSetter__(t)=="function"?e[t]=c:e.setAttribute(t,c))}}catch{}let u=!1;d!==(d=d.replace(/^xlink\:?/,""))&&(t=d,u=!0),s==null||s===!1?s===!1&&e.getAttribute(t)!==""||(u?e.removeAttributeNS(le,t):e.removeAttribute(t)):(!a||4&l||o)&&!r&&e.nodeType===1&&(s=s===!0?"":s,u?e.setAttributeNS(le,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):oe(A,d)?d.slice(2):d[2]+t.slice(3),n||s){const r=t.endsWith(ue);t=t.replace($e,""),n&&w.rel(e,t,n,r),s&&w.ael(e,t,s,r)}}},Ee=/\s/,ce=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(Ee):[]),ue="Capture",$e=new RegExp(ue+"$"),Y=(e,t,n)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,o=e&&e.v||{},l=t.v||{};for(const a of fe(Object.keys(o)))a in l||de(s,a,o[a],void 0,n,t.i);for(const a of fe(Object.keys(l)))de(s,a,o[a],l[a],n,t.i)};function fe(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var B=!1,I=!1,V=!1,_=!1,z=[],Z=[],W=(e,t,n)=>{var s;const o=t.m[n];let l,a,d,r=0;if(B||(V=!0,o.O==="slot"&&(o.i|=o.m?2:1)),o.h!=null)l=o.S=A.document.createTextNode(o.h);else if(1&o.i)l=o.S=A.document.createTextNode(""),Y(null,o,_);else{if(_||(_=o.O==="svg"),!A.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=o.S=A.document.createElementNS(_?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!B&&2&o.i?"slot-fb":o.O),_&&o.O==="foreignObject"&&(_=!1),Y(null,o,_),o.m){const u=o.O==="template"?l.content:l;for(r=0;r<o.m.length;++r)a=W(e,o,r),a&&u.appendChild(a)}o.O==="svg"?_=!1:l.tagName==="foreignObject"&&(_=!0)}return l["s-hn"]=k,3&o.i&&(l["s-sr"]=!0,l["s-cr"]=J,l["s-sn"]=o.j||"",l["s-rf"]=(s=o.v)==null?void 0:s.ref,(function(u){if(u.assignedElements||u.assignedNodes||!u["s-sr"])return;const c=S=>(function(f){const h=[],i=this["s-sn"];f?.flatten&&console.error(`
|
|
2
2
|
Flattening is not supported for Stencil non-shadow slots.
|
|
3
3
|
You can use \`.childNodes\` to nested slot fallback content.
|
|
4
4
|
If you have a particular use case, please open an issue on the Stencil repo.
|
|
5
|
-
`);const v=this["s-cr"].parentElement;return(v.__childNodes?v.childNodes:(
|
|
5
|
+
`);const v=this["s-cr"].parentElement;return(v.__childNodes?v.childNodes:(b=>{const m=[];for(let g=0;g<b.length;g++){const p=b[g]["s-nr"]||void 0;p&&p.isConnected&&m.push(p)}return m})(v.childNodes)).forEach((b=>{i===L(b)&&h.push(b)})),S?h.filter((b=>b.nodeType===1)):h}).bind(u);u.assignedElements=c(!0),u.assignedNodes=c(!1)})(l),d=e&&e.m&&e.m[n],d&&d.O===o.O&&e.S&&he(e.S)),l},he=e=>{w.i|=1;const t=e.closest(k.toLowerCase());if(t!=null){const n=Array.from(t.__childNodes||t.childNodes).find((o=>o["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const o of n?s.reverse():s)o["s-sh"]!=null&&(E(t,o,n??null),o["s-sh"]=void 0,V=!0)}w.i&=-2},F=(e,t)=>{w.i|=1;const n=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===k&&n.push(s)}for(let s=n.length-1;s>=0;s--){const o=n[s];o["s-hn"]!==k&&o["s-ol"]&&(E(M(o).parentNode,o,M(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,V=!0),t&&F(o,t)}w.i&=-2},pe=(e,t,n,s,o,l)=>{let a,d=e["s-cr"]&&e["s-cr"].parentNode||e;for(d.shadowRoot&&d.tagName===k&&(d=d.shadowRoot),n.O==="template"&&(d=d.content);o<=l;++o)s[o]&&(a=W(null,n,o),a&&(s[o].S=a,E(d,a,M(t))))},ge=(e,t,n)=>{for(let s=t;s<=n;++s){const o=e[s];if(o){const l=o.S;me(o),l&&(I=!0,l["s-ol"]?l["s-ol"].remove():F(l,!0),l.remove())}}},D=(e,t,n=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:n?(n&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),M=e=>e&&e["s-ol"]||e,G=(e,t,n=!1)=>{const s=t.S=e.S,o=e.m,l=t.m,a=t.O,d=t.h;let r;d==null?(_=a==="svg"||a!=="foreignObject"&&_,a!=="slot"||B||e.j!==t.j&&(t.S["s-sn"]=t.j||"",he(t.S.parentElement)),Y(e,t,_),o!==null&&l!==null?((u,c,S,f,h=!1)=>{let i,v,b=0,m=0,g=0,p=0,j=c.length-1,N=c[0],O=c[j],C=f.length-1,T=f[0],$=f[C];const Ne=S.O==="template"?u.content:u;for(;b<=j&&m<=C;)if(N==null)N=c[++b];else if(O==null)O=c[--j];else if(T==null)T=f[++m];else if($==null)$=f[--C];else if(D(N,T,h))G(N,T,h),N=c[++b],T=f[++m];else if(D(O,$,h))G(O,$,h),O=c[--j],$=f[--C];else if(D(N,$,h))N.O!=="slot"&&$.O!=="slot"||F(N.S.parentNode,!1),G(N,$,h),E(Ne,N.S,O.S.nextSibling),N=c[++b],$=f[--C];else if(D(O,T,h))N.O!=="slot"&&$.O!=="slot"||F(O.S.parentNode,!1),G(O,T,h),E(Ne,O.S,N.S),O=c[--j],T=f[++m];else{for(g=-1,p=b;p<=j;++p)if(c[p]&&c[p].$!==null&&c[p].$===T.$){g=p;break}g>=0?(v=c[g],v.O!==T.O?i=W(c&&c[m],S,g):(G(v,T,h),c[g]=void 0,i=v.S),T=f[++m]):(i=W(c&&c[m],S,m),T=f[++m]),i&&E(M(N.S).parentNode,i,M(N.S))}b>j?pe(u,f[C+1]==null?null:f[C+1].S,S,f,m,C):m>C&&ge(c,b,j)})(s,o,t,l,n):l!==null?(e.h!==null&&(s.textContent=""),pe(s,null,t,l,0,l.length-1)):!n&&o!==null&&ge(o,0,o.length-1),_&&a==="svg"&&(_=!1)):(r=s["s-cr"])?r.parentNode.textContent=d:e.h!==d&&(s.data=d)},P=[],Se=e=>{let t,n,s;const o=e.__childNodes||e.childNodes;for(const l of o){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const a=l["s-sn"];for(s=n.length-1;s>=0;s--)if(t=n[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(re(t,a)){let d=P.find((r=>r.k===t));I=!0,t["s-sn"]=t["s-sn"]||a,d?(d.k["s-sh"]=l["s-hn"],d.N=l):(t["s-sh"]=l["s-hn"],P.push({N:l,k:t})),t["s-sr"]&&P.map((r=>{re(r.k,t["s-sn"])&&(d=P.find((u=>u.k===t)),d&&!r.N&&(r.N=d.N))}))}else P.some((d=>d.k===t))||P.push({k:t})}l.nodeType===1&&Se(l)}},me=e=>{e.v&&e.v.ref&&z.push((()=>e.v.ref(null))),e.m&&e.m.map(me)},Pe=(e,t)=>{Z.push((()=>e(t)))},E=(e,t,n,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,n);const{slotNode:o}=(function(l,a){var d;if(!(a=a||((d=l["s-ol"])==null?void 0:d.parentElement)))return{slotNode:null,slotName:""};const r=l["s-sn"]=L(l)||"";return{slotNode:H(K(a,"childNodes"),a.tagName,r)[0],slotName:r}})(t);return o&&!s&&o.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,n):e?.insertBefore(t,n)},Ce=(e,t,n=!1)=>{var s,o,l,a,d;const r=e.$hostElement$,u=e.o,c=e.M||X(null,null);var S;const f=(S=t)&&S.O===Oe?t:Ae(null,null,t);if(k=r.tagName,u._&&(f.v=f.v||{},u._.forEach((([h,i])=>{f.v[i]=r[h]}))),n&&f.v)for(const h of Object.keys(f.v))r.hasAttribute(h)&&!["key","ref","style","class"].includes(h)&&(f.v[h]=r[h]);if(f.O=null,f.i|=4,e.M=f,f.S=c.S=r.shadowRoot||r,B=!(!(1&u.i)||128&u.i),J=r["s-cr"],I=!1,G(c,f,n),w.i|=1,V){Se(f.S);for(const h of P){const i=h.k;if(!i["s-ol"]&&A.document){const v=A.document.createTextNode("");v["s-nr"]=i,E(i.parentNode,i["s-ol"]=v,i,n)}}for(const h of P){const i=h.k,v=h.N;if(i.nodeType===1&&n&&(i["s-ih"]=(s=i.hidden)!=null&&s),v){const b=v.parentNode;let m=v.nextSibling;if(m&&m.nodeType===1){let g=(o=i["s-ol"])==null?void 0:o.previousSibling;for(;g;){let p=(l=g["s-nr"])!=null?l:null;if(p&&p["s-sn"]===i["s-sn"]&&b===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===i||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){m=p;break}}g=g.previousSibling}}if((!m&&b!==(i.__parentNode||i.parentNode)||(i.__nextSibling||i.nextSibling)!==m)&&i!==m){if(E(b,i,m,n),i.nodeType===8&&i.nodeValue.startsWith("s-nt-")){const g=A.document.createTextNode(i.nodeValue.replace(/^s-nt-/,""));g["s-hn"]=i["s-hn"],g["s-sn"]=i["s-sn"],g["s-sh"]=i["s-sh"],g["s-sr"]=i["s-sr"],g["s-ol"]=i["s-ol"],g["s-ol"]["s-nr"]=g,E(i.parentNode,g,i,n),i.parentNode.removeChild(i)}i.nodeType===1&&i.tagName!=="SLOT-FB"&&(i.hidden=(a=i["s-ih"])!=null&&a)}i&&typeof v["s-rf"]=="function"&&v["s-rf"](v)}else i.nodeType===1&&(i.hidden=!0)}}if(I&&ie(f.S),w.i&=-2,P.length=0,!B&&!(1&u.i)&&r["s-cr"]){const h=f.S.__childNodes||f.S.childNodes;for(const i of h)if(i["s-hn"]!==k&&!i["s-sh"]){if(n&&i["s-ih"]==null&&(i["s-ih"]=(d=i.hidden)!=null&&d),i.nodeType===1)i.hidden=!0;else if(i.nodeType===3&&i.nodeValue.trim()){const v=A.document.createComment("s-nt-"+i.nodeValue);v["s-sn"]=i["s-sn"],E(i.parentNode,v,i,n),i.parentNode.removeChild(i)}}}J=void 0,z.forEach((h=>h())),z.length=0,Z.forEach((h=>h())),Z.length=0},je=e=>w.L=e,ke=e=>Object.assign(w,e),ve=new WeakMap;function Ge(e,t){let n=ve.get(t);n||(n={i:0,o:{i:0,p:t.tagName},$hostElement$:t},ve.set(t,n)),Ce(n,e)}const R=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let ye=!1;R&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(R):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let q=null;const Q=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{U()})):void 0,U=()=>{if(R===void 0)return!1;const e=(()=>{if(R===void 0)return;const t=[];for(let n=0;n<document.styleSheets.length;n++){const s=document.styleSheets.item(n);if(s)try{let o=-1,l=0;for(let a=0;a<s.cssRules.length;a++){const d=s.cssRules.item(a);if(d?.cssText.startsWith("gids-global-styles-start"))o=a;else if(o>-1){if(d?.cssText.startsWith("gids-global-styles-end")){l=a-o+1;break}t.push(d)}}if(o>-1)return{rulesStartIndex:o,originalRulesCount:l,rules:t,styleSheet:s}}catch(o){if(!(o instanceof DOMException))throw o}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return Q!==void 0&&t!==q&&(q&&Q.disconnect(),t instanceof Element&&Q.observe(t,{childList:!0,characterData:!0,subtree:!0}),q=t),R.replaceSync((n=>n.rules.map((s=>s.cssText)).join(""))(e)),(n=>{const{rulesStartIndex:s,originalRulesCount:o,styleSheet:l}=n;for(let a=0;a<o;a++)l.deleteRule(s)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},Re=()=>(ye||(ye=U()),R),ee=Symbol("defaultPath"),be=Symbol("pathSet"),te="gids-asset-paths-set";class xe extends EventTarget{#s=new Map;constructor(){super()}#e(t,n){this.#s.set(t,n)}#t(t){return this.#s.get(t)??null}#n=()=>{this.dispatchEvent(new Event(te))};haveAssetPathsBeenSet(){return this.#t(be)!==null}setAssetPaths(t,n){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(ee,t);else{for(const s in t)this.#e(s,t[s]);n&&this.#e(ee,n)}this.#e(be,"true"),setTimeout(this.#n,0)}}getAssetFilePath(t){const n=this.#t(t);if(n===null){const s=this.#t(ee);if(s!==null)return`${s}${s.endsWith("/")?"":"/"}${t}`}return n}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(te,t,{once:!0}),()=>{this.removeEventListener(te,t)}}}const se=Symbol.for("GIDS"),Le=()=>(globalThis[se]===void 0&&(globalThis[se]={assetPaths:{}}),globalThis[se]),Be=e=>{const t=Le().assetPaths;return t[e]===void 0&&(t[e]=new xe),t[e]};function Me(){return Be("@ganpatiinfo/gids-web-shared")}function Ie(e,t){Me().setAssetPaths(e,t)}y.GidsFloatingElementType=void 0,(function(e){e.TOOLTIP="tooltip",e.POPOVER="popover"})(y.GidsFloatingElementType||(y.GidsFloatingElementType={}));function ne(e,t){Ie(e,t)}const Ve=e=>{ne(e)},We=e=>{ne(e)},Fe=({children:e,classNameToBeValidated:t,childrenToBeValidated:n,currentComponentName:s})=>{if(e!=null){const o=Array.isArray(e)?e:[e];for(const l of o){if(!l||typeof l!="object"||!("vtag"in l))throw Error(`HTML/JSX Render Error: Invalid child type passed to ${s}. Expected ${n}.`);{const a=l.vtag;if(a!==t&&a!==n)throw Error(`HTML/JSX Render Error: <${s}> only accepts <${n}> as direct children. Received element tag: "${typeof a=="function"?a.name:a}".`)}}}};y.getAssetPath=_e,y.getConstructedGidsStylesheet=Re,y.refreshConstructedGidsStylesheet=U,y.render=Ge,y.setAssetPath=Te,y.setGidsAssetFilePaths=Ve,y.setGidsAssetPaths=ne,y.setGidsDefaultAssetDirPath=We,y.setNonce=je,y.setPlatformOptions=ke,y.testHtmlChildrenValidity=Fe,Object.defineProperty(y,Symbol.toStringTag,{value:"Module"})}));
|