1import{$ as e,$t as t,Ct as n,Dt as r,G as i,Gt as a,J as o,K as s,Kt as c,M as l,Mt as u,N as d,St as f,W as p,a as m,g as h,gt as g,it as _,kt as v,nn as y,o as b,q as x,s as S,v as C,wt as w,xt as T,z as E}from"./BKku2mO4.js";import"./xihTtKlq2.js";import"./Y2x9buRo2.js";import{D,E as O,F as k,I as A,J as j,N as M,S as N,W as P,k as F,n as I,r as L,t as R,v as z}from"./I1MvH0tm2.js";import{t as B}from"./ClF75mwh.js";import{D as V,L as H,M as U,R as W,j as G,n as K}from"./CqQqXHC0.js";import{t as q}from"./DSP3CoxZ.js";import{a as ee,n as te,o as J,r as ne,t as re}from"./El6tFtYN.js";var ie=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`children`,`child`,`width`,`height`]),ae=x(`<svg viewBox="0 0 30 10" preserveAspectRatio="none" data-arrow=""><polygon points="0,0 30,0 15,10" fill="currentColor"></polygon></svg>`),oe=s(`<span><!></span>`);function se(e,n){c(n,!0);let r=m(n,`id`,19,K),o=m(n,`width`,3,10),s=m(n,`height`,3,5),l=b(n,ie),v=u(()=>A(l,{id:r()}));var x=i(),S=f(x),w=e=>{var t=i(),r=f(t);d(r,()=>n.child,()=>({props:_(v)})),p(e,t)},D=e=>{var r=oe();h(r,()=>({..._(v)}));var a=T(r),c=e=>{var t=i(),r=f(t);d(r,()=>n.children??y),p(e,t)},l=e=>{var t=ae();g(()=>{C(t,`width`,o()),C(t,`height`,s())}),p(e,t)};E(a,e=>{n.children?e(c):e(l,-1)}),t(r),p(e,r)};E(S,e=>{n.child?e(w):e(D,-1)}),p(e,x),a()}var ce=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`ref`]);function le(e,t){c(t,!0);let n=m(t,`id`,19,K),r=m(t,`ref`,15,null),i=b(t,ce),o=ee.create({id:P(()=>n()),ref:P(()=>r(),e=>r(e))}),s=u(()=>A(i,o.props));se(e,S(()=>_(s))),a()}function Y(e,t){let[n,r]=e,i=!1,a=t.length;for(let e=0,o=a-1;e<a;o=e++){let[a,s]=t[e]??[0,0],[c,l]=t[o]??[0,0];s>=r!=l>=r&&n<=(c-a)*(r-s)/(l-s)+a&&(i=!i)}return i}function X(e,t){return e[0]>=t.left&&e[0]<=t.right&&e[1]>=t.top&&e[1]<=t.bottom}function Z(e,t){let n=e.left+e.width/2,r=e.top+e.height/2,i=t.left+t.width/2,a=t.top+t.height/2,o=i-n,s=a-r;return Math.abs(o)>Math.abs(s)?o>0?`right`:`left`:s>0?`bottom`:`top`}var ue=class{#e;#t;#n;#r=null;#i=null;#a=[];#o=null;#s=null;#c=null;#l(){this.#s!==null&&(cancelAnimationFrame(this.#s),this.#s=null)}#u(){this.#l(),this.#s=requestAnimationFrame(()=>{this.#s=null,!(!this.#r||!this.#i)&&(this.#m(),this.#e.onPointerExit())})}#d(){this.#c!==null&&(clearTimeout(this.#c),this.#c=null)}#f(){this.#n!==null&&(this.#d(),this.#c=window.setTimeout(()=>{this.#c=null,!(!this.#r||!this.#i)&&(this.#m(),this.#e.onPointerExit())},this.#n))}constructor(t){this.#e=t,this.#t=t.buffer??1;let n=t.transitIntentTimeout;this.#n=typeof n==`number`&&n>0?n:null,M([t.triggerNode,t.contentNode,t.enabled],([t,n,r])=>{if(!t||!n||!r){this.#o=null,this.#m();return}this.#o&&this.#o!==t&&this.#m(),this.#o=t;let i=W(t);return[e(i,`pointermove`,e=>{this.#p([e.clientX,e.clientY],t,n)}),e(t,`pointerleave`,e=>{let t=e.relatedTarget;if(G(t)&&n.contains(t))return;let r=this.#e.ignoredTargets?.()??[];G(t)&&r.some(e=>e===t||e.contains(t))||(this.#a=G(t)&&r.length>0?r.filter(e=>t.contains(e)):[],this.#r=[e.clientX,e.clientY],this.#i=`content`,this.#u())}),e(t,`pointerenter`,()=>{this.#m()}),e(n,`pointerenter`,()=>{this.#m()}),e(n,`pointerleave`,e=>{let n=e.relatedTarget;G(n)&&t.contains(n)||(this.#r=[e.clientX,e.clientY],this.#i=`trigger`,this.#u())})].reduce((e,t)=>()=>{e(),t()},()=>{})})}#p(e,t,n){if(!this.#r||!this.#i)return;this.#l(),this.#f();let r=t.getBoundingClientRect(),i=n.getBoundingClientRect();if(this.#i===`content`&&X(e,i)){this.#m();return}if(this.#i===`trigger`&&X(e,r)){this.#m();return}if(this.#i===`content`&&this.#a.length>0)for(let t of this.#a){let n=t.getBoundingClientRect();if(X(e,n))return;let i=Z(r,n),a=this.#h(r,n,i);if(a&&Y(e,a))return}let a=Z(r,i),o=this.#h(r,i,a);if(o&&Y(e,o))return;let s=this.#i===`content`?i:r;Y(e,this.#g(this.#r,s,a,this.#i))||(this.#m(),this.#e.onPointerExit())}#m(){this.#r=null,this.#i=null,this.#a=[],this.#l(),this.#d()}#h(e,t,n){let r=this.#t;switch(n){case`top`:return[[Math.min(e.left,t.left)-r,e.top],[Math.min(e.left,t.left)-r,t.bottom],[Math.max(e.right,t.right)+r,t.bottom],[Math.max(e.right,t.right)+r,e.top]];case`bottom`:return[[Math.min(e.left,t.left)-r,e.bottom],[Math.min(e.left,t.left)-r,t.top],[Math.max(e.right,t.right)+r,t.top],[Math.max(e.right,t.right)+r,e.bottom]];case`left`:return[[e.left,Math.min(e.top,t.top)-r],[t.right,Math.min(e.top,t.top)-r],[t.right,Math.max(e.bottom,t.bottom)+r],[e.left,Math.max(e.bottom,t.bottom)+r]];case`right`:return[[e.right,Math.min(e.top,t.top)-r],[t.left,Math.min(e.top,t.top)-r],[t.left,Math.max(e.bottom,t.bottom)+r],[e.right,Math.max(e.bottom,t.bottom)+r]]}}#g(e,t,n,r){let i=this.#t*4,[a,o]=e;switch(r===`trigger`?this.#_(n):n){case`top`:return[[a-i,o+i],[a+i,o+i],[t.right+i,t.bottom],[t.right+i,t.top],[t.left-i,t.top],[t.left-i,t.bottom]];case`bottom`:return[[a-i,o-i],[a+i,o-i],[t.right+i,t.top],[t.right+i,t.bottom],[t.left-i,t.bottom],[t.left-i,t.top]];case`left`:return[[a+i,o-i],[a+i,o+i],[t.right,t.bottom+i],[t.left,t.bottom+i],[t.left,t.top-i],[t.right,t.top-i]];case`right`:return[[a-i,o-i],[a-i,o+i],[t.left,t.bottom+i],[t.right,t.bottom+i],[t.right,t.top-i],[t.left,t.top-i]]}}#_(e){switch(e){case`top`:return`bottom`;case`bottom`:return`top`;case`left`:return`right`;case`right`:return`left`}}},Q=class{#e;#t;#n=null;constructor(e,t){this.#t=e,this.#e=t,this.stop=this.stop.bind(this),this.start=this.start.bind(this),F(this.stop)}#r(){this.#n!==null&&(window.clearTimeout(this.#n),this.#n=null)}stop(){this.#r()}start(...e){this.#r(),this.#n=window.setTimeout(()=>{this.#n=null,this.#t(...e)},this.#e)}},de=N({component:`tooltip`,parts:[`content`,`trigger`]}
1),fe=new k(`Tooltip.Provider`),$=new k(`Tooltip.Root`),pe=class{#e=v(w(new Map));get triggers(){return _(this.#e)}set triggers(e){r(this.#e,e,!0)}#t=v(null);get activeTriggerId(){return _(this.#t)}set activeTriggerId(e){r(this.#t,e,!0)}#n=u(()=>{let e=this.activeTriggerId;return e===null?null:this.triggers.get(e)?.node??null});get activeTriggerNode(){return _(this.#n)}set activeTriggerNode(e){r(this.#n,e)}#r=u(()=>{let e=this.activeTriggerId;return e===null?null:this.triggers.get(e)?.payload??null});get activePayload(){return _(this.#r)}set activePayload(e){r(this.#r,e)}register=e=>{let t=new Map(this.triggers);t.set(e.id,e),this.triggers=t,this.#i()};update=e=>{let t=new Map(this.triggers);t.set(e.id,e),this.triggers=t,this.#i()};unregister=e=>{if(!this.triggers.has(e))return;let t=new Map(this.triggers);t.delete(e),this.triggers=t,this.activeTriggerId===e&&(this.activeTriggerId=null)};setActiveTrigger=e=>{if(e===null){this.activeTriggerId=null;return}if(!this.triggers.has(e)){this.activeTriggerId=null;return}this.activeTriggerId=e};get=e=>this.triggers.get(e);has=e=>this.triggers.has(e);getFirstTriggerId=()=>
1{let e=this.triggers.entries().next();return e.done?null:e.value[0]};#i=()=>{let e=this.activeTriggerId;e!==null&&(this.triggers.has(e)||(this.activeTriggerId=null))}},me=class t{static create(e){return fe.set(new t(e))}opts;#e=v(!0);get isOpenDelayed(){return _(this.#e)}set isOpenDelayed(e){r(this.#e,e,!0)}isPointerInTransit=j(!1);#t;#n=v(null);constructor(t){this.opts=t,this.#t=new Q(()=>{this.isOpenDelayed=!0},this.opts.skipDelayDuration.current),q(()=>e(window,`scroll`,e=>{let t=_(this.#n);if(!t)return;let n=t.triggerNode;if(!n)return;let r=e.target;(r instanceof Element||r instanceof Document)&&r.contains(n)&&t.handleClose()}))}#r=()=>{if(this.opts.skipDelayDuration.current===0){this.isOpenDelayed=!0;return}this.#t.start()};#i=()=>{this.#t.stop()};onOpen=e=>{_(this.#n)&&_(this.#n)!==e&&_(this.#n).handleClose(),this.#i(),this.isOpenDelayed=!1,r(this.#n,e,!0)};onClose=e=>{_(this.#n)===e&&(r(this.#n,null),this.#r())};isTooltipOpen=e=>_(this.#n)===e},he=class e{static create(t){return $.set(new e(t,fe.get()))}opts;provider;#e=u(()=>this.opts.delayDuration.current??this.provider.opts.delayDuration.current);get delayDuration(){return _(this.#e)}set delayDuration(e){r(this.#e,e)}#t=u(()=>this.opts.disableHoverableContent.current??this.provider.opts.disableHoverableContent.current);get disableHoverableContent(){return _(this.#t)}set disableHoverableContent(e){r(this.#t,e)}#n=u(()=>this.opts.disableCloseOnTriggerClick.current??this.provider.opts.disableCloseOnTriggerClick.current);get disableCloseOnTriggerClick(){return _(this.#n)}set disableCloseOnTriggerClick(e){r(this.#n,e)}#r=u(()=>this.opts.disabled.current??this.provider.opts.disabled.current);get disabled(){return _(this.#r)}set disabled(e){r(this.#r,e)}#i=u(()=>this.opts.ignoreNonKeyboardFocus.current??this.provider.opts.ignoreNonKeyboardFocus.current);get ignoreNonKeyboardFocus(){return _(this.#i)}set ignoreNonKeyboardFocus(e){r(this.#i,e)}registry;tether;#a=v(null);get contentNode(){return _(this.#a)}set contentNode(e){r(this.#a,e,!0)}contentPresence;#o=v(!1);#s;#c=u(()=>this.opts.open.current?_(this.#o)?`delayed-open`:`instant-open`:`closed`);get stateAttr(){return _(this.#c)}set stateAttr(e){r(this.#c,e)}constructor(e,t){this.opts=e,this.provider=t,this.tether=e.tether.current?.state??null,this.registry=this.tether?.registry??new pe,this.#s=new Q(()=>{r(this.#o,!0),this.opts.open.current=!0},this.delayDuration??0),this.tether&&(this.tether.root=this,q(()=>()=>{this.tether?.root===this&&(this.tether.root=null)})),this.contentPresence=new L({open:this.opts.open,ref:P(()=>this.contentNode),onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),M(()=>this.delayDuration,()=>{this.delayDuration!==void 0&&(this.#s=new Q(()=>{r(this.#o,!0),this.opts.open.current=!0},this.delayDuration))}),M(()=>this.opts.open.current,e=>{e?(this.ensureActiveTrigger(),this.provider.onOpen(this)):this.provider.onClose(this)},{lazy:!0}),M(()=>this.opts.triggerId.current,e=>{e!==this.registry.activeTriggerId&&this.registry.setActiveTrigger(e)}),M(()=>this.registry.activeTriggerId,e=>{this.opts.triggerId.current!==e&&(this.opts.triggerId.current=e)})}handleOpen=()=>{this.#s.stop(),r(this.#o,!1),this.ensureActiveTrigger(),this.opts.open.current=!0};handleClose=()=>{this.#s.stop(),this.opts.open.current=!1};#l=()=>{this.#s.stop();let e=!this.provider.isOpenDelayed,t=this.delayDuration??0;e||t===0?(r(this.#o,!1),this.opts.open.current=!0):this.#s.start()};onTriggerEnter=e=>{this.setActiveTrigger(e),this.#l()};onTriggerLeave=()=>{this.disableHoverableContent?this.handleClose():this.#s.stop()};ensureActiveTrigger=()=>{if(this.registry.activeTriggerId!==null&&this.registry.has(this.registry.activeTriggerId))return;if(this.opts.triggerId.current!==null&&this.registry.has(this.opts.triggerId.current)){this.registry.setActiveTrigger(this.opts.triggerId.current);return}let e=this.registry.getFirstTriggerId();this.registry.setActiveTrigger(e)};setActiveTrigger=e=>{this.registry.setActiveTrigger(e)};registerTrigger=e=>{this.registry.register(e),e.disabled&&this.registry.activeTriggerId===e.id&&this.opts.open.current&&this.handleClose()};updateTrigger=e=>{this.registry.update(e),e.disabled&&this.registry.activeTriggerId===e.id&&this.opts.open.current&&this.handleClose()};unregisterTrigger=e=>{let t=this.registry.activeTriggerId===e;this.registry.unregister(e),t&&this.opts.open.current&&this.handleClose()};isActiveTrigger=e=>this.registry.activeTriggerId===e;get triggerNode(){return this.registry.activeTriggerNode}get activePayload(){return this.registry.activePayload}get activeTriggerId(){return this.registry.activeTriggerId}},ge=class e{static create(t){return t.tether.current?new e(t,null,t.tether.current.state):new e(t,$.get(),null)}opts;root;tether;attachment;#e=j(!1);#t=v(!1);domContext;#n=null;#r=!1;#i=null;constructor(e,t,n){this.opts=e,this.root=t,this.tether=n,this.domContext=new H(e.ref),this.attachment=D(this.opts.ref,e=>this.#s(e)),M(()=>this.opts.id.current,()=>{this.#s(this.opts.ref.current)}),M(()=>this.opts.payload.current,()=>{this.#s(this.opts.ref.current)}),M(()=>this.opts.disabled.current,()=>{this.#s(this.opts.ref.current)}),q(()=>(this.#r=!0,this.#s(this.opts.ref.current),()=>{let e=this.#a(),t=this.#i;t&&(this.tether?this.tether.registry.unregister(t):e?.unregisterTrigger(t)),this.#i=null,this.#r=!1}))}#a=()=>this.tether?.root??this.root;#o=()=>{let e=this.#a();return this.opts.disabled.current||!!e?.disabled};#s=e=>{if(!this.#r)return;let t=this.opts.id.current,n=this.opts.payload.current,r=this.opts.disabled.current;if(this.#i&&this.#i!==t){let e=this.#a();this.tether?this.tether.registry.unregister(this.#i):e?.unregisterTrigger(this.#i)}let i={id:t,node:e,payload:n,disabled:r},a=this.#a();this.tether?(this.tether.registry.has(t)?this.tether.registry.update(i):this.tether.registry.register(i),r&&this.tether.registry.activeTriggerId===t&&a?.opts.open.current&&a.handleClose()):a?.registry.has(t)?a.updateTrigger(i):a?.registerTrigger(i),this.#i=t};#c=()=>{this.#n!==null&&(clearTimeout(this.#n),this.#n=null)};handlePointerUp=()=>{this.#e.current=!1};#l=()=>{this.#o()||(this.#e.current=!1)};#u=()=>{this.#o()||(this.#e.current=!0,this.domContext.getDocument().addEventListener(`pointerup`,()=>{this.handlePointerUp()},{once:!0}))};#d=e=>{let t=this.#a();if(t){if(this.#o()){t.opts.open.current&&t.handleClose();return}if(e.pointerType!==`touch`){if(t.provider.isPointerInTransit.current){this.#c(),this.#n=window.setTimeout(()=>{t.provider.isPointerInTransit.current&&(t.provider.isPointerInTransit.current=!1,t.onTriggerEnter(this.opts.id.current),r(this.#t,!0))},250);return}t.onTriggerEnter(this.opts.id.current),r(this.#t,!0)}}};#f=e=>{let t=this.#a();if(t){if(this.#o()){t.opts.open.current&&t.handleClose();return}e.pointerType!==`touch`&&(_(this.#t)||(this.#c(),t.provider.isPointerInTransit.current=!1,t.onTriggerEnter(this.opts.id.current),r(this.#t,!0)))}};#p=e=>{let t=this.#a();if(!t||this.#o())return;if(this.#c(),!t.isActiveTrigger(this.opts.id.current)){r(this.#t,!1);return}let n=e.relatedTarget;if(G(n)){for(let e of t.registry.triggers.values())if(e.node===n){if(t.provider.opts.skipDelayDuration.current>0){r(this.#t,!1);return}t.handleClose(),r(this.#t,!1);return}}t.onTriggerLeave(),r(this.#t,!1)};#m=e=>{let t=this.#a();if(t&&!this.#e.current){if(this.#o()){t.opts.open.current&&t.handleClose();return}t.ignoreNonKeyboardFocus&&!U(e.currentTarget)||(t.setActiveTrigger(this.opts.id.current),t.handleOpen())}};#h=()=>{let e=this.#a();!e||this.#o()||e.handleClose()};#g=()=>{let e=this.#a();!e||e.disableCloseOnTriggerClick||this.#o()||e.handleClose()};#_=u(()=>
1{let e=this.#a(),t=!!(e?.opts.open.current&&e.isActiveTrigger(this.opts.id.current)),n=this.#o();return{id:this.opts.id.current,"aria-describedby":t?e?.contentNode?.id:void 0,"data-state":t?e?.stateAttr:`closed`,"data-disabled":z(n),"data-delay-duration":`${e?.delayDuration??0}`,[de.trigger]:``,tabindex:n?void 0:this.opts.tabindex.current,disabled:this.opts.disabled.current,onpointerup:this.#l,onpointerdown:this.#u,onpointerenter:this.#d,onpointermove:this.#f,onpointerleave:this.#p,onfocus:this.#m,onblur:this.#h,onclick:this.#g,...this.attachment}});get props(){return _(this.#_)}set props(e){r(this.#_,e)}},_e=class e{static create(t){return new e(t,$.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=D(this.opts.ref,e=>this.root.contentNode=e),new ue({triggerNode:()=>this.root.triggerNode,contentNode:()=>this.root.contentNode,enabled:()=>this.root.opts.open.current&&!this.root.disableHoverableContent,transitIntentTimeout:180,ignoredTargets:()=>{if(this.root.provider.opts.skipDelayDuration.current===0)return[];let e=[],t=this.root.triggerNode;for(let n of this.root.registry.triggers.values())n.node&&n.node!==t&&e.push(n.node);return e},onPointerExit:()=>{this.root.provider.isTooltipOpen(this.root)&&this.root.handleClose()}})}onInteractOutside=e=>{if(G(e.target)&&this.root.triggerNode?.contains(e.target)&&this.root.disableCloseOnTriggerClick){e.preventDefault();return}this.opts.onInteractOutside.current(e),!e.defaultPrevented&&this.root.handleClose()};onEscapeKeydown=e=>{this.opts.onEscapeKeydown.current?.(e),!e.defaultPrevented&&this.root.handleClose()};onOpenAutoFocus=e=>{e.preventDefault()};onCloseAutoFocus=e=>{e.preventDefault()};get shouldRender(){return this.root.contentPresence.shouldRender}#e=u(()=>({open:this.root.opts.open.current}));get snippetProps(){return _(this.#e)}set snippetProps(e){r(this.#e,e)}#t=u(()=>({id:this.opts.id.current,"data-state":this.root.stateAttr,"data-disabled":z(this.root.disabled),...O(this.root.contentPresence.transitionStatus),style:{outline:`none`},[de.content]:``,...this.attachment}));get props(){return _(this.#t)}set props(e){r(this.#t,e)}popperProps={onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown,onOpenAutoFocus:this.onOpenAutoFocus,onCloseAutoFocus:this.onCloseAutoFocus}};function ve(e,t){c(t,!0);let n=m(t,`open`,15,!1),r=m(t,`triggerId`,15,null),o=m(t,`onOpenChange`,3,I),s=m(t,`onOpenChangeComplete`,3,I),l=he.create({open:P(()=>n(),e=>{n(e),o()(e)}),triggerId:P(()=>r(),e=>{r(e)}),delayDuration:P(()=>t.delayDuration),disableCloseOnTriggerClick:P(()=>t.disableCloseOnTriggerClick),disableHoverableContent:P(()=>t.disableHoverableContent),ignoreNonKeyboardFocus:P(()=>t.ignoreNonKeyboardFocus),disabled:P(()=>t.disabled),onOpenChangeComplete:P(()=>s()),tether:P(()=>t.tether)});ne(e,{tooltip:!0,children:(e,n)=>{var r=i(),a=f(r);d(a,()=>t.children??y,()=>({open:l.opts.open.current,triggerId:l.activeTriggerId,payload:l.activePayload})),p(e,r)},$$slots:{default:!0}}),a()}var ye=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`id`,`ref`,`side`,`sideOffset`,`align`,`avoidCollisions`,`arrowPadding`,`sticky`,`strategy`,`hideWhenDetached`,`customAnchor`,`collisionPadding`,`onInteractOutside`,`onEscapeKeydown`,`forceMount`,`style`]),be=s(`<div><div><!></div></div>`);function xe(e,n){let r=o();c(n,!0);let s=m(n,`id`,19,()=>R(r)),l=m(n,`ref`,15,null),g=m(n,`side`,3,`top`),v=m(n,`sideOffset`,3,0),x=m(n,`align`,3,`center`),C=m(n,`avoidCollisions`,3,!0),w=m(n,`arrowPadding`,3,0),D=m(n,`sticky`,3,`partial`),O=m(n,`hideWhenDetached`,3,!1),k=m(n,`collisionPadding`,3,0),j=m(n,`onInteractOutside`,3,I),M=m(n,`onEscapeKeydown`,3,I),N=m(n,`forceMount`,3,!1),F=b(n,ye),L=_e.create({id:P(()=>s()),ref:P(()=>l(),e=>l(e)),onInteractOutside:P(()=>j()),onEscapeKeydown:P(()=>M())}),z=u(()=>({side:g(),sideOffset:v(),align:x(),avoidCollisions:C(),arrowPadding:w(),sticky:D(),hideWhenDetached:O(),collisionPadding:k(),strategy:n.strategy,customAnchor:n.customAnchor??L.root.triggerNode})),B=u(()=>A(F,_(z),L.props));var V=i(),H=f(V),U=e=>{{let r=(e,r)=>{let a=()=>(r?.()).props,o=()=>(r?.()).wrapperProps,s=u(()=>A(a(),{style:J(`tooltip`)},{style:n.style}));var c=i(),l=f(c),m=e=>{var t=i(),r=f(t);{let e=u(()=>({props:_(s),wrapperProps:o(),...L.snippetProps}));d(r,()=>n.child,()=>_(e))}p(e,t)},g=e=>{var r=be();h(r,()=>({...o()}));var i=T(r);h(i,()=>({..._(s)}));var a=T(i);d(a,()=>n.children??y),t(i),t(r),p(e,r)};E(l,e=>{n.child?e(m):e(g,-1)}),p(e,c)},a=u(()=>L.root.disableHoverableContent?`none`:`auto`);re(e,S(()=>_(B),()=>L.popperProps,{get enabled(){return L.root.opts.open.current},get id(){return s()},trapFocus:!1,loop:!1,preventScroll:!1,forceMount:!0,get ref(){return L.opts.ref},tooltip:!0,get shouldRender(){return L.shouldRender},get contentPointerEvents(){return _(a)},popper:r,$$slots:{popper:!0}}
1))}},W=e=>{{let r=(e,r)=>{let a=()=>(r?.()).props,o=()=>(r?.()).wrapperProps,s=u(()=>A(a(),{style:J(`tooltip`)},{style:n.style}));var c=i(),l=f(c),m=e=>{var t=i(),r=f(t);{let e=u(()=>({props:_(s),wrapperProps:o(),...L.snippetProps}));d(r,()=>n.child,()=>_(e))}p(e,t)},g=e=>{var r=be();h(r,()=>({...o()}));var i=T(r);h(i,()=>({..._(s)}));var a=T(i);d(a,()=>n.children??y),t(i),t(r),p(e,r)};E(l,e=>{n.child?e(m):e(g,-1)}),p(e,c)},a=u(()=>L.root.disableHoverableContent?`none`:`auto`);te(e,S(()=>_(B),()=>L.popperProps,{get open(){return L.root.opts.open.current},get id(){return s()},trapFocus:!1,loop:!1,preventScroll:!1,forceMount:!1,get ref(){return L.opts.ref},tooltip:!0,get shouldRender(){return L.shouldRender},get contentPointerEvents(){return _(a)},popper:r,$$slots:{popper:!0}}))}};E(H,e=>{N()?e(U):N()||e(W,1)}),p(e,V),a()}var Se=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`id`,`disabled`,`payload`,`tether`,`type`,`tabindex`,`ref`]),Ce=s(`<button><!></button>`);function we(e,n){let r=o();c(n,!0);let s=m(n,`id`,19,()=>R(r)),l=m(n,`disabled`,3,!1),g=m(n,`type`,3,`button`),v=m(n,`tabindex`,3,0),x=m(n,`ref`,15,null),S=b(n,Se),C=ge.create({id:P(()=>s()),disabled:P(()=>l()??!1),tabindex:P(()=>v()??0),payload:P(()=>n.payload),tether:P(()=>n.tether),ref:P(()=>x(),e=>x(e))}),w=u(()=>A(S,C.props,{type:g()}));var D=i(),O=f(D),k=e=>{var t=i(),r=f(t);d(r,()=>n.child,()=>({props:_(w)})),p(e,t)},j=e=>{var r=Ce();h(r,()=>({..._(w)}));var i=T(r);d(i,()=>n.children??y),t(r),p(e,r)};E(O,e=>{n.child?e(k):e(j,-1)}),p(e,D),a()}var Te=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`]);function Ee(e,t){c(t,!0);let n=m(t,`ref`,15,null),r=b(t,Te);le(e,S(()=>r,{get ref(){return n()},set ref(e){n(e)}})),a()}function De(e,t){c(t,!0);let n=m(t,`delayDuration`,3,700),r=m(t,`disableCloseOnTriggerClick`,3,!1),o=m(t,`disableHoverableContent`,3,!1),s=m(t,`disabled`,3,!1),l=m(t,`ignoreNonKeyboardFocus`,3,!1),u=m(t,`skipDelayDuration`,3,300);me.create({delayDuration:P(()=>n()),disableCloseOnTriggerClick:P(()=>r()),disableHoverableContent:P(()=>o()),disabled:P(()=>s()),ignoreNonKeyboardFocus:P(()=>l()),skipDelayDuration:P(()=>u())});var h=i(),g=f(h);d(g,()=>t.children??y),p(e,h),a()}var Oe=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`]);function ke(e,t){c(t,!0);let n=m(t,`ref`,15,null),r=b(t,Oe);var o=i(),s=f(o);l(s,()=>we,(e,t)=>{t(e,S({"data-slot":`tooltip-trigger`},()=>r,{get ref(){return n()},set ref(e){n(e)}}))}),p(e,o),a()}var Ae=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`sideOffset`,`side`,`children`,`arrowClasses`]),je=s(`<div></div>`),Me=s(`<!> <!>`,1);function Ne(e,t){c(t,!0);let r=m(t,`ref`,15,null),o=m(t,`sideOffset`,3,0),s=m(t,`side`,3,`top`),g=b(t,Ae);var v=i(),x=f(v);l(x,()=>V,(e,a)=>{a(e,{children:(e,a)=>{var c=i(),m=f(c);{let e=u(()=>B(`bg-card text-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-[100000] w-fit origin-(--bits-tooltip-content-transform-origin) rounded border px-3 py-1.5 text-xs text-balance shadow-xl dark:text-white`,t.class));l(m,()=>xe,(i,a)=>{a(i,S({"data-slot":`tooltip-content`,get sideOffset(){return o()},get side(){return s()},get class(){return _(e)}},()=>g,{get ref(){return r()},set ref(e){r(e)},children:(e,r)=>{var i=Me(),a=f(i);d(a,()=>t.children??y);var o=n(a,2);{let e=(e,n)=>{let r=()=>(n?.()).props;var i=je();h(i,e=>({class:e,...r()}),[()=>B(`bg-card z-50 size-2.5 rotate-45 rounded-[2px] border-r border-b`,`data-[side=top]:translate-x-1/2 data-[side=top]:translate-y-[calc(-50%_+_2px)]`,`data-[side=bottom]:-translate-x-1/2 data-[side=bottom]:-translate-y-[calc(-50%_+_1px)]`,`data-[side=right]:translate-x-[calc(50%_+_2px)] data-[side=right]:translate-y-1/2`,`data-[side=left]:-translate-y-[calc(50%_-_3px)]`,t.arrowClasses)]),p(e,i)};l(o,()=>Ee,(t,n)=>{n(t,{child:e,$$slots:{child:!0}})})}p(e,i)},$$slots:{default:!0}}))})}p(e,c)},$$slots:{default:!0}})}),p(e,v),a()}var Pe=ve,Fe=De;export{ue as a,ke as i,Pe as n,Ne as r,Fe as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.