1import{e as a,m as L}from"./app-BW7s7uyW.js";var O=Object.defineProperty,b=(e,t)=>O(e,"name",{value:t,configurable:!0});function y(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}b(y,"setRef");function g(...e){return t=>{let r=!1;const n=e.map(o=>{const i=y(o,t);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():y(e[o],null)}}}}b(g,"composeRefs");function _(...e){return a.useCallback(g(...e),e)}b(_,"useComposedRefs");var I=Object.defineProperty,s=(e,t)=>I(e,"name",{value:t,configurable:!0});function R(e){const t=a.forwardRef((r,n)=>{let{children:o,...i}=r,l=null,c=!1;const f=[];S(o)&&typeof d=="function"&&(o=d(o._payload)),a.Children.forEach(o,m=>{if($(m)){c=!0;const p=m;let u="child"in p.props?p.props.child:p.props.children;S(u)&&typeof d=="function"&&(u=d(u._payload)),l=T(p,u),f.push(l?.props?.children)}else f.push(m)}),l?l=a.cloneElement(l,void 0,f):!c&&a.Children.count(o)===1&&a.isValidElement(o)&&(l=o);const E=l?C(l):void 0,j=_(n,E);if(!l){if(o||o===0)throw new Error(c?F(e):A(e));return o}const h=P(i,l.props??{});return l.type!==a.Fragment&&(h.ref=n?j:E),a.cloneElement(l,h)});return t.displayName=`${e}.Slot`,t}s(R,"createSlot");var w=R("Slot"),v=Symbol.for("radix.slottable");function V(e){const t=s(r=>"child"in r?r.children(r.child):r.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=v,t}s(V,"createSlottable");var T=s((e,t)=>{if("child"in e.props){const r=e.props.child;return a.isValidElement(r)?a.cloneElement(r,void 0,e.props.children(r.props.children)):null}return a.isValidElement(t)?t:null},"getSlottableElementFromSlottable");function P(e,t){const r={...t};for(const n in t){const o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...c)=>{const f=i(...c);return o(...c),f}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}s(P,"mergeProps");function C(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}s(C,"getElementRef");function $(e){return a.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===v}s($,"isSlottable");var W=Symbol.for("react.lazy");function S(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===W&&"_payload"in e&&x(e._payload)}s(S,"isLazyComponent");function x(e){return typeof e=="object"&&e!==null&&"then"in e}s(x,"isPromiseLike");var A=s(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),F=s(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),d=L[" use ".trim().toString()];export{w as S,g as a,V as b,R as c,_ as u};
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.