1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2828],{42828:(e,t,i)=>{i.r(t),i.d(t,{default:()=>d});var r=i(13693),n=i(55672),s=i(80680),a=i(14729),l=i(29088),c=i(73255),o=i(92604);let u=a.forwardRef(({subscribeStatus:e,onClick:t,className:i,children:n,...s},u)=>{let d=void 0!==e,[m,f]=(0,a.useState)(e??!1);if((0,a.useEffect)(()=>{d&&f(e)},[e,d]),2!==a.Children.count(n)||!a.Children.toArray(n).every(e=>a.isValidElement(e)&&"span"===e.type))throw Error("AnimatedSubscribeButton expects two children, both of which must be <span> elements.");let p=a.Children.toArray(n),x=p[0],h=p[1];return(0,r.jsx)(l.N,{mode:"wait",children:m?(0,r.jsx)(c.PY1.button,{ref:u,className:(0,o.cn)("bg-primary text-primary-foreground relative flex h-10 w-fit items-center justify-center overflow-hidden rounded-lg px-6",i),onClick:e=>{d||f(!1),t?.(e)},initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},...s,children:(0,r.jsxs)(c.PY1.span,{className:"relative flex h-full w-full items-center justify-center font-semibold",initial:{y:-50},animate:{y:0},children:[h," "]},"action")}):(0,r.jsx)(c.PY1.button,{ref:u,className:(0,o.cn)("bg-primary text-primary-foreground relative flex h-10 w-fit cursor-pointer items-center justify-center rounded-lg border-none px-6",i),onClick:e=>{d||f(!0),t?.(e)},initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},...s,children:(0,r.jsxs)(c.PY1.span,{className:"relative flex items-center justify-center font-semibold",initial:{x:0},exit:{x:50,transition:{duration:.1}},children:[x," "]},"reaction")})})});function d(){return(0,r.jsxs)(u,{children:[(0,r.jsxs)("span",{className:"group inline-flex items-center",children:["Subscribe ",(0,r.jsx)(n.A,{className:"ml-1 size-4 transition-transform duration-300 group-hover:translate-x-1"})]}),(0,r.jsxs)("span",{className:"group inline-flex items-center",children:[(0,r.jsx)(s.A,{className:"mr-2 size-4"})," Subscribed"]})]})}u.displayName="AnimatedSubscribeButton"}}]);
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.