PageSourceSearch

https://www.magepulse.com/build/assets/button-7rtzMWwU.js

js magepulse.com collected 2026-10-04 19:33:01 UTC 3,186 bytes, 1 lines download raw bytes

1import{r as i,j as u,k as g,s as v}from"./app-CYUWr88y.js";import{c as b}from"./index-CA46NP_U.js";function m(e){const r=x(e),n=i.forwardRef((s,t)=>{const{children:o,...l}=s,a=i.Children.toArray(o),c=a.find(E);if(c){const d=c.props.children,f=a.map(p=>p===c?i.Children.count(d)>1?i.Children.only(null):i.isValidElement(d)?d.props.children:null:p);return u.jsx(r,{...l,ref:t,children:i.isValidElement(d)?i.cloneElement(d,void 0,f):null})}return u.jsx(r,{...l,ref:t,children:o})});return n.displayName=`${e}.Slot`,n}var h=m("Slot");function x(e){const r=i.forwardRef((n,s)=>{const{children:t,...o}=n;if(i.isValidElement(t)){const l=k(t),a=S(o,t.props);return t.type!==i.Fragment&&(a.ref=s?g(s,l):l),i.cloneElement(t,a)}return i.Children.count(t)>1?i.Children.only(null):null});return r.displayName=`${e}.SlotClone`,r}var y=Symbol("radix.slottable");function E(e){return i.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===y}function S(e,r){const n={...r};for(const s in r){const t=e[s],o=r[s];/^on[A-Z]/.test(s)?t&&o?n[s]=(...a)=>{const c=o(...a);return t(...a),c}:t&&(n[s]=t):s==="style"?n[s]={...t,...o}:s==="className"&&(n[s]=[t,o].filter(Boolean).join(" "))}return{...e,...n}}function k(e){let r=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=r&&"isReactWarning"in r&&r.isReactWarning;return n?e.ref:(r=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=r&&"isReactWarning"in r&&r.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}const z=b("inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-all outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",xs:"h-6 gap-1 rounded-md px-2 text-xs has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-8 gap-1.5 rounded-md px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-xs":"size-6 rounded-md [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function j({className:e,variant:r="default",size:n="default",asChild:s=!1,...t}){const o=s?h:"button";return u.jsx(o,{"data-slot":"button","data-variant":r,"data-size":n,className:v(z({variant:r,size:n,className:e})),...t})}export{j as B,h as S,z as b};

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.