PageSourceSearch

https://webcatalog.io/assets/CrXclq6b.js

js webcatalog.io collected 2026-10-01 09:17:58 UTC 11,078 bytes, 2 lines download raw bytes

1import{n as e,o as t,r as n,t as r}from"./D_vZfn79.js";import{r as i}from"./Ce2p0ZBo.js";import{E as a,f as o,l as s,n as c}from"./CfPA1cCL.js";import{t as l}from"./DuLxksy6.js";import{A as u,Tt as d,_ as f,at as p,b as m,c as h,d as g,g as _,i as v,l as y,n as b,p as x,r as S,rt as C,t as w,u as T,v as E,wt as D,y as O}from"./CS8k5rTI.js";import{l as k,r as A,t as j}from"./RiJL6Q12.js";import{t as M}from"./COgoKp7c.js";import{St as N,_t as P,at as F,bt as ee,dt as te,ft as ne,it as re,ot as ie,pt as ae,ut as oe,xt as se}from"./index-CAp-TVwW.js";import{t as ce}from"./DxaT4nss.js";function I(e,t,n,r){return{left:e,top:t,right:n,bottom:r,x:e,y:t,width:n-e,height:r-t}}function le(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom,width:e.width,height:e.height}}function L(e){let t=[],n,r=1/0,i=1/0,a=-1/0,o=-1/0;for(let s of Array.from(e).sort((e,t)=>e.top-t.top)){if(r=Math.min(r,s.left),i=Math.min(i,s.top),a=Math.max(a,s.right),o=Math.max(o,s.bottom),!n||s.top-n.top>n.height/2)t.push(le(s));else{let e=t[t.length-1];e.left=Math.min(e.left,s.left),e.right=Math.max(e.right,s.right),e.bottom=Math.max(e.bottom,s.bottom),e.width=e.right-e.left,e.height=e.bottom-e.top}n=s}return{lines:t,fallback:I(r,i,a,o)}}function R(e,t,n){return e.findIndex(e=>t>e.left-2&&t<e.right+2&&n>e.top-2&&n<e.bottom+2)}function z(e){return I(e.left,e.top,e.right,e.bottom)}function B(e,t,n){let{lines:r}=L(e.getClientRects());if(r.length<2)return;let i=R(r,t,n);return{x:t,y:n,lineIndex:i===-1?void 0:i,element:e}}function V(e,t,n){let{lines:r,fallback:i}=L(e.getClientRects());if(r.length<2)return null;let a=n?.x,o=n?.y,s=t[0];if(n?.lineIndex!=null&&r[n.lineIndex])return z(r[n.lineIndex]);if(a!=null&&o!=null){let e=R(r,a,o);if(e!==-1)return z(r[e])}if(r.length===2&&r[0].left>r[1].right&&a!=null&&o!=null)return i;if(s===`t`||s===`b`){let e=r[0],t=r[r.length-1],n=s===`t`?e:t;return I(n.left,e.top,n.right,t.bottom)}let c=s===`l`,l=r[0].left,u=r[0].right,d=c?1/0:-1/0,f=r[0],p=r[0];for(let e of r){l=Math.min(l,e.left),u=Math.max(u,e.right);let t=c?e.left:e.right;c&&t<d||!c&&t>d?(d=t,f=e,p=e):t===d&&(p=e)}return I(l,f.top,u,p.bottom)}function H(e){return`contextElement`in e&&e.contextElement?e.contextElement:a(e)?e:void 0}function U(e,t){function n(t){W(e,t.currentTarget,t.clientX,t.clientY)}function r(e){t||n(e)}return{onFocus(){e.current=void 0},onMouseEnter:r,onMouseMove:r}}function W(e,t,n,r){let i=B(t,n,r);return e.current=i,i}function ue(e){return{name:`inline`,async fn(t){let n=t.elements.reference;if(typeof n?.getClientRects!=`function`)return{};let r=H(n),i=e.current,a=i?.element===n||i?.element===r?i:void 0,o=V(n,t.placement,a);if(!o||typeof t.platform.getElementRects!=`function`)return{};let s=await t.platform.getElementRects({reference:{contextElement:r,getBoundingClientRect(){return o}},floating:t.elements.floating,strategy:t.strategy});return t.rects.reference.x===s.reference.x&&t.rects.reference.y===s.reference.y&&t.rects.reference.width===s.reference.width&&t.rects.reference.height===s.reference.height?{}:{reset:{rects:s}}}}}var G=t(n(),1),K=G.createContext(void 0);function q(e){let t=G.useContext(K);if(t===void 0&&!e)throw Error(s(50));return t}var de={...N,instantType:e=>e.instantType,adaptiveOrigin:e=>e.adaptiveOrigin,closeDelay:e=>e.closeDelay},fe=class extends _{constructor(e,t,n){let r=new w;super(pe(e,r,t,n),me(r),de)}setOpen=(e,t)=>{let{inlineRectCoordsRef:n}=this.context;v(this,e,t,{onBeforeDispatch(){let r=t.event;e&&t.reason===`trigger-hover`&&t.trigger&&`clientX`in r&&`clientY`in r&&n.current?.element!==t.trigger&&W(n,t.trigger,r.clientX,r.clientY)}})}};function pe(e,t,n,r=!1){return{...se(t,n,r),instantType:void 0,adaptiveOrigin:void 0,closeDelay:300,...e}}function me(e){return{popupRef:G.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:e,inlineRectCoordsRef:{current:void 0}}}var J=e();function Y(e){let{open:t,defaultOpen:n=!1,onOpenChange:r,onOpenChangeComplete:i,actionsRef:a,handle:s,triggerId:c,defaultTriggerId:l=null,children:u}=e,d=g((e,r)=>new fe({open:n,openProp:t,activeTriggerId:l,triggerIdProp:c},e,r));d.useControlledProp(`openProp`,t),d.useControlledProp(`triggerIdProp`,c),d.useContextCallback(`onOpenChange`,r),d.useContextCallback(`onOpenChangeComplete`,i);let f=d.useState(`open`),p=d.useState(`activeTriggerId`),m=d.useState(`mounted`),_=d.useState(`payload`);h(d,{closeOnActiveTriggerUnmount:!0});let{forceUnmount:v}=y(f,d,()=>
1{d.context.inlineRectCoordsRef.current=void 0});o(()=>{f&&(p??d.set(`payload`,void 0))},[d,p,f]),G.useImperativeHandle(a,()=>({unmount:v,close:()=>d.setOpen(!1,A(k))}),[v,d]);let b=f||m;return(0,J.jsxs)(K.Provider,{value:d,children:[s&&(0,J.jsx)(S,{handle:s,store:d}),b&&(0,J.jsx)(he,{store:d}),typeof u==`function`?u({payload:_}):u]})}function he({store:e}){let t=e.useState(`floatingRootContext`),n=f(t);return T(e,{activeTriggerProps:n.reference,inactiveTriggerProps:n.trigger,popupProps:n.floating}),null}var ge=D(function(e){return q(!0)?(0,J.jsx)(Y,{...e}):(0,J.jsx)(O,{children:(0,J.jsx)(Y,{...e})})}),X=G.createContext(void 0);function _e(){let e=G.useContext(X);if(e===void 0)throw Error(s(48));return e}var ve=G.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e;return q().useState(`mounted`)||n?(0,J.jsx)(X.Provider,{value:n,children:(0,J.jsx)(oe,{ref:t,...r})}):null}),ye=d(function(e,t){let{render:n,className:r,delay:i,closeDelay:a,id:o,payload:l,handle:u,style:d,...f}=e,m=q(!0),h=ee(u)??m;if(!h)throw Error(s(89));let g=j(o),_=h.useState(`isTriggerActive`,g),v=h.useState(`isOpenedByTrigger`,g),y=h.useState(`floatingRootContext`),b=h.context.inlineRectCoordsRef,S=G.useRef(null),C=i??600,w=a??300,{registerTrigger:T,isMountedByThisTrigger:E}=x(g,S,h,{payload:l,closeDelay:w}),D=ne(y,{mouseOnly:!0,move:!1,handleClose:te(),delay:()=>({open:C,close:w}),triggerElementRef:S,isActiveTrigger:_,isClosing:()=>h.select(`transitionStatus`)===`ending`}),O=P(y,{delay:C}),k={open:v},A=h.useState(`triggerProps`,E),M=U(b,v);return c(`a`,e,{state:k,ref:[t,T,S],props:[D,O.reference,A,M,{id:g},f],stateAttributesMapping:p})}),Z=G.createContext(void 0);function be(){let e=G.useContext(Z);if(e===void 0)throw Error(s(49));return e}var xe=G.forwardRef(function(e,t){let{render:n,className:r,anchor:i,positionMethod:a=`absolute`,side:s=`bottom`,align:c=`center`,sideOffset:l=0,alignOffset:d=0,collisionBoundary:f=`clipping-ancestors`,collisionPadding:p=5,arrowPadding:h=5,sticky:g=!1,disableAnchorTracking:_=!1,collisionAvoidance:v=u,style:y,...b}=e,x=q(),S=_e(),C=m(),w=x.useState(`open`),T=x.useState(`mounted`),D=x.useState(`floatingRootContext`),O=x.useState(`instantType`),k=x.useState(`transitionStatus`),A=x.useState(`adaptiveOrigin`),j=x.context.inlineRectCoordsRef,M=ie({anchor:i,floatingRootContext:D,positionMethod:a,mounted:T,side:s,sideOffset:l,align:c,alignOffset:d,arrowPadding:h,collisionBoundary:f,collisionPadding:p,sticky:g,disableAnchorTracking:_,keepMounted:S,nodeId:C,collisionAvoidance:v,adaptiveOrigin:A,inline:ue(j)}),N=M.update;o(()=>{w&&T&&N()},[w,T,N]);let P={open:w,side:M.side,align:M.align,anchorHidden:M.anchorHidden,instant:O},F=re(e,P,{styles:M.positionerStyles,transitionStatus:k,props:b,refs:[t,x.useStateSetter(`positionerElement`)],hidden:!T,inert:!w});return(0,J.jsx)(Z.Provider,{value:M,children:(0,J.jsx)(E,{id:C,children:F})})}),Q=G.forwardRef(function(e,t){let{className:n,render:r,style:i,...a}=e,o=q(),{side:s,align:l}=be(),u=o.useState(`open`),d=o.useState(`instantType`),f=o.useState(`transitionStatus`),p=o.useState(`popupProps`),m=o.useState(`floatingRootContext`),h=o.useState(`closeDelay`);return M({open:u,ref:o.context.popupRef,onComplete(){u&&o.context.onOpenChangeComplete?.(!0)}}),ae(m,{closeDelay:h}),c(`div`,e,{state:{open:u,side:s,align:l,instant:d,transitionStatus:f},ref:[t,o.context.popupRef,o.useStateSetter(`popupElement`)],props:[b,p,F(f),a],stateAttributesMapping:C})}),$=r();function Se(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,J.jsx)(ge,{"data-slot":`hover-card`,...n}),t[2]=n,t[3]=r),r}function Ce(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,J.jsx)(ye,{"data-slot":`hover-card-trigger`,...n}),t[2]=n,t[3]=r),r}function we(e){let t=(0,$.c)(18),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({className:n,side:i,sideOffset:a,align:o,alignOffset:s,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=i===void 0?`bottom`:i,u=a===void 0?4:a,d=o===void 0?`center`:o,f=s===void 0?4:s,p;t[7]===n?p=t[8]:(p=l(`z-50 w-64 origin-(--transform-origin) rounded-lg bg-popover p-2.5 text-sm text-popover-foreground shadow-md ring-1 ring-foreground
1/10 outline-hidden duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-start-2 data-[side=inline-start]:slide-in-from-end-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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95`,n),t[7]=n,t[8]=p);let m;t[9]!==r||t[10]!==p?(m=(0,J.jsx)(Q,{"data-slot":`hover-card-content`,className:p,...r}),t[9]=r,t[10]=p,t[11]=m):m=t[11];let h;return t[12]!==d||t[13]!==f||t[14]!==c||t[15]!==u||t[16]!==m?(h=(0,J.jsx)(ve,{"data-slot":`hover-card-portal`,children:(0,J.jsx)(xe,{align:d,alignOffset:f,side:c,sideOffset:u,className:`isolate z-50`,children:m})}),t[12]=d,t[13]=f,t[14]=c,t[15]=u,t[16]=m,t[17]=h):h=t[17],h}var Te=e=>{let t=(0,$.c)(36),{size:n,showLabel:r,className:a}=e,o=n===void 0?`sm`:n,s=r!==void 0&&r,c=i(),u;t[0]===c?u=t[1]:(u=c(`verifiedApp`),t[0]=c,t[1]=u);let d;t[2]===u?d=t[3]:(d=(0,J.jsx)(`span`,{"aria-label":u}),t[2]=u,t[3]=d);let f;t[4]===a?f=t[5]:(f=l(`inline-flex shrink-0 items-center gap-1`,a),t[4]=a,t[5]=f);let p=o===`lg`?`size-7`:`size-4`,m;t[6]===p?m=t[7]:(m=l(`shrink-0 fill-primary text-primary-foreground`,p),t[6]=p,t[7]=m);let h;t[8]===m?h=t[9]:(h=(0,J.jsx)(ce,{className:m}),t[8]=m,t[9]=h);let g;t[10]!==s||t[11]!==c?(g=s&&(0,J.jsx)(`span`,{children:c(`verified`)}),t[10]=s,t[11]=c,t[12]=g):g=t[12];let _;t[13]!==d||t[14]!==f||t[15]!==h||t[16]!==g?(_=(0,J.jsxs)(Ce,{delay:0,closeDelay:0,render:d,className:f,children:[h,g]}),t[13]=d,t[14]=f,t[15]=h,t[16]=g,t[17]=_):_=t[17];let v=o===`lg`?`text-sm`:`text-xs`,y;t[18]===v?y=t[19]:(y=l(`w-72`,v),t[18]=v,t[19]=y);let b=o===`lg`?`text-base`:`text-sm`,x;t[20]===c?x=t[21]:(x=c(`verifiedApp`),t[20]=c,t[21]=x);let S;t[22]!==b||t[23]!==x?(S=(0,J.jsx)(`p`,{className:b,children:x}),t[22]=b,t[23]=x,t[24]=S):S=t[24];let C;t[25]===c?C=t[26]:(C=c(`verifiedAppDesc`),t[25]=c,t[26]=C);let w;t[27]===C?w=t[28]:(w=(0,J.jsx)(`p`,{className:`mt-2 text-muted-foreground`,children:C}),t[27]=C,t[28]=w);let T;t[29]!==y||t[30]!==S||t[31]!==w?(T=(0,J.jsxs)(we,{align:`start`,className:y,children:[S,w]}),t[29]=y,t[30]=S,t[31]=w,t[32]=T):T=t[32];let E;return t[33]!==_||t[34]!==T?(E=(0,J.jsxs)(Se,{children:[_,T]}),t[33]=_,t[34]=T,t[35]=E):E=t[35],E};export{Te as t};
2//# sourceMappingURL=CrXclq6b.js.map

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.