"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("tippy.js"),s=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],i=[!0,!1,"reference","popper"],c=(t,e)=>{const{contentElement:r}={...e};return delete e.contentElement,n(t,{...e,plugins:[n.sticky],render:()=>p(r)})},a=(t,e)=>n(t,{...e,plugins:[n.sticky]}),l=({boundary:t="clippingParents",fallbackPlacements:e=[],hasHideModifierEnabled:r=!1,tether:o=!0}={})=>({modifiers:[{name:"flip",options:{fallbackPlacements:e,boundary:t}},{name:"hide",enabled:r},{name:"preventOverflow",options:{altAxis:!o,tether:o}}]}),d=t=>{const e=document.createElement("span");return e.innerText=t.innerText||"",t.innerText="",t.appendChild(e),e},u=t=>{if(!t){console.warn("No anchor wrapper provided. This may cause issues with the popover.");return}const e=t.children[0];return e||d(t)},p=t=>{const e=document.createElement("div");return e.className="tippy-box d-ps-absolute",e.appendChild(t),{popper:e}};exports.BASE_TIPPY_DIRECTIONS=s;exports.TIPPY_STICKY_VALUES=i;exports.createTippy=a;exports.createTippyPopover=c;exports.getAnchor=u;exports.getContentWrapper=p;exports.getPopperOptions=l;
//# sourceMappingURL=tippy-utils.cjs.map
