import{L as e}from"./p-6e1ab235.js";const a=["vega-flex-grow","vega-flex-shrink","vega-flex-grow-0","vega-flex-shrink-0","vega-flex-basis-0","v-flex-1","v-min-w-min","disabled","v-text-black","v-text-white","v-hidden","vega-page-notification-fade-out","v-h-full","v-h-screen"];function n(n,t){return function(n,t){var i,o,s;const r=["hydrated"].concat((null===(o=null===(i=n.t)||void 0===i?void 0:i.class)||void 0===o?void 0:o.split(/\s+/).filter(Boolean))||[]),l=(null===(s=t.dataset.verifiedClasses)||void 0===s?void 0:s.split(" "))||[],d=new Set([...r,...l,...a]),v=Array.from(t.classList).filter(Boolean).filter((e=>{const a=e.replace(/(S|M|L|XL):/,"");return!d.has(a)})).filter((e=>!e.startsWith("ng-")));v.length&&e.warn(`Found class(es) ${v} added to component:`,t," which is anti vega design pattern and we will forbid this behavior in the future release."," for more details, please refer to: https://heartlandpayments.github.io/Vega/?path=/docs/best-practice--page"),"hydrated"!==r.join()&&(t.dataset.verifiedClasses=r.join(" "))}(n,t),function(a){a.children&&Array.from(a.children).forEach((n=>{n.hasAttribute("data-shrink")&&e.warn("Found attribute [data-shrink='0'] inside component:",a," which will be deprecated, please use classes of vega-flex-shrink, vega-flex-grow, vega-flex-shrink-0, vega-flex-grow-0, vega-flex-basis-0 instead.")}))}(t),n}const t=(e=document)=>{const a=e.activeElement;return(null==a?void 0:a.shadowRoot)?t(a.shadowRoot):a||null};export{t as g,n as s}