vendor: 2,700 bytes, line 1
1import{r as s,e as j}from"./chunk-UIGDSWPH-Djcsa-7T.js";import{c as x}from"./index-DQazNLlR.js";import{j as C}from"./jsx-runtime-OAcbhNt1.js";import{c as g}from"./clsx-DTptNCFb.js";var h=Symbol.for("react.lazy"),m=j[" use ".trim().toString()];function N(t){return typeof t=="object"&&t!==null&&"then"in t}function V(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===h&&"_payload"in t&&N(t._payload)}function R(t){const e=O(t),n=s.forwardRef((o,r)=>{let{children:i,...u}=o;V(i)&&typeof m=="function"&&(i=m(i._payload));const a=s.Children.toArray(i),f=a.find(A);if(f){const l=f.props.children,c=a.map(d=>d===f?s.Children.count(l)>1?s.Children.only(null):s.isValidElement(l)?l.props.children:null:d);return C.jsx(e,{...u,ref:r,children:s.isValidElement(l)?s.cloneElement(l,void 0,c):null})}return C.jsx(e,{...u,ref:r,children:i})});return n.displayName=`${t}.Slot`,n}var w=R("Slot");function O(t){const e=s.forwardRef((n,o)=>{let{children:r,...i}=n;if(V(r)&&typeof m=="function"&&(r=m(r._payload)),s.isValidElement(r)){const u=T(r),a=$(i,r.props);return r.type!==s.Fragment&&(a.ref=o?x(o,u):u),s.cloneElement(r,a)}return s.Children.count(r)>1?s.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var P=Symbol("radix.slottable");function A(t){return s.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===P}function $(t,e){const n={...e};for(const o in e){const r=t[o],i=e[o];/^on[A-Z]/.test(o)?r&&i?n[o]=(...a)=>{const f=i(...a);return r(...a),f}:r&&(n[o]=r):o==="style"?n[o]={...r,...i}:o==="className"&&(n[o]=[r,i].filter(Boolean).join(" "))}return{...t,...n}}function T(t){var o,r;let e=(o=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:o.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=(r=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:r.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}const S=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,E=g,D=(t,e)=>n=>{var o;if((e==null?void 0:e.variants)==null)return E(t,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:r,defaultVariants:i}=e,u=Object.keys(r).map(l=>{const c=n==null?void 0:n[l],d=i==null?void 0:i[l];if(c===null)return null;const y=S(c)||S(d);return r[l][y]}),a=n&&Object.entries(n).reduce((l,c)=>{let[d,y]=c;return y===void 0||(l[d]=y),l},{}),f=e==null||(o=e.compoundVariants)===null||o===void 0?void 0:o.reduce((l,c)=>{let{class:d,className:y,..._}=c;return Object.entries(_).every(b=>{let[v,p]=b;return Array.isArray(p)?p.includes({...i,...a}[v]):{...i,...a}[v]===p})?[...l,d,y]:l},[]);return E(t,u,f,n==null?void 0:n.class,n==null?void 0:n.className)};export{w as S,R as a,D as c};
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.