try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a6448966-b1aa-480c-983a-9e0a44caa859",e._sentryDebugIdIdentifier="sentry-dbid-a6448966-b1aa-480c-983a-9e0a44caa859")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5610],{591:(e,t,r)=>{"use strict";r.d(t,{m:()=>h});var a=r(73088),s=r(66601),n=r(64358),l=r(82603),o=r(11304),i=r(11872),d=r(28437),u=r(94316),c=r(38735),f=r(60174),p=r(68820),b=r(86326),m=r(6115);function h(e){var t,r,h,v;let x=(0,u.o)(),[g,y]=(0,c.rE)(e,a.N.variantKeys),{ref:k,as:w,children:j,onClick:N,onPress:C,autoFocus:P,className:A,classNames:L,allowTextSelectionOnPress:D=!0,...E}=g,T=(0,b.zD)(k),_=w||(e.isPressable?"button":"div"),I="string"==typeof _,M=null!=(r=null!=(t=e.disableAnimation)?t:null==x?void 0:x.disableAnimation)&&r,B=null!=(v=null!=(h=e.disableRipple)?h:null==x?void 0:x.disableRipple)&&v,z=(0,f.$z)(null==L?void 0:L.base,A),{onClear:U,onPress:H,ripples:R}=(0,m.k)(),O=(0,s.useCallback)(e=>{B||M||T.current&&H(e)},[B,M,T,H]),{buttonProps:S,isPressed:$}=(0,d.l)({onPress:(0,n.c)(C,O),elementType:w,isDisabled:!e.isPressable,onClick:N,allowTextSelectionOnPress:D,...E},T),{hoverProps:K,isHovered:W}=(0,i.M)({isDisabled:!e.isHoverable,...E}),{isFocusVisible:F,isFocused:Z,focusProps:V}=(0,o.o)({autoFocus:P}),q=(0,s.useMemo)(()=>(0,a.N)({...y,disableAnimation:M}),[(0,f.t6)(y),M]),Y=(0,s.useMemo)(()=>({slots:q,classNames:L,disableAnimation:M,isDisabled:e.isDisabled,isFooterBlurred:e.isFooterBlurred,fullWidth:e.fullWidth}),[q,L,e.isDisabled,e.isFooterBlurred,M,e.fullWidth]),G=(0,s.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:T,className:q.base({class:z}),tabIndex:e.isPressable?0:-1,"data-hover":(0,f.sE)(W),"data-pressed":(0,f.sE)($),"data-focus":(0,f.sE)(Z),"data-focus-visible":(0,f.sE)(F),"data-disabled":(0,f.sE)(e.isDisabled),...(0,l.v)(e.isPressable?{...S,...V,role:"button"}:{},e.isHoverable?K:{},(0,p.$)(E,{enabled:I}),(0,p.$)(t))}},[T,q,z,I,e.isPressable,e.isHoverable,e.isDisabled,W,$,F,S,V,K,E]),J=(0,s.useCallback)(()=>({ripples:R,onClear:U}),[R,U]);return{context:Y,domRef:T,Component:_,classNames:L,children:j,isHovered:W,isPressed:$,disableAnimation:M,isPressable:e.isPressable,isHoverable:e.isHoverable,disableRipple:B,handlePress:O,isFocusVisible:F,getCardProps:G,getRippleProps:J}}},962:(e,t,r)=>{"use strict";r.d(t,{A:()=>l,n:()=>n});var a=r(99353),s=r(76155),n=(0,a.tv)({base:["relative inline-flex items-center outline-none tap-highlight-transparent",...s.zb],variants:{size:{sm:"text-small",md:"text-medium",lg:"text-large"},color:{foreground:"text-foreground",primary:"text-primary",secondary:"text-secondary",success:"text-success",warning:"text-warning",danger:"text-danger"},underline:{none:"no-underline",hover:"hover:underline",always:"underline",active:"active:underline",focus:"focus:underline"},isBlock:{true:["px-2","py-1","hover:after:opacity-100","after:content-['']","after:inset-0","after:opacity-0","after:w-full","after:h-full","after:rounded-xl","after:transition-background","after:absolute"],false:"hover:opacity-80 active:opacity-disabled transition-opacity"},isDisabled:{true:"opacity-disabled cursor-default pointer-events-none"},disableAnimation:{true:"after:transition-none transition-none"}},compoundVariants:[{isBlock:!0,color:"foreground",class:"hover:after:bg-foreground/10"},{isBlock:!0,color:"primary",class:"hover:after:bg-primary/20"},{isBlock:!0,color:"secondary",class:"hover:after:bg-secondary/20"},{isBlock:!0,color:"success",class:"hover:after:bg-success/20"},{isBlock:!0,color:"warning",class:"hover:after:bg-warning/20"},{isBlock:!0,color:"danger",class:"hover:after:bg-danger/20"},{underline:["hover","always","active","focus"],class:"underline-offset-4"}],defaultVariants:{color:"primary",size:"md",isBlock:!1,underline:"none",isDisabled:!1}}),l="flex mx-1 text-current self-center"},3911:(e,t,r)=>{"use strict";r.d(t,{h:()=>d});var a=r(77444),s=r(38735),n=r(84573),l=e=>(0,n.jsxs)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",shapeRendering:"geometricPrecision",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",viewBox:"0 0 24 24",width:"1em",...e,children:[(0,n.jsx)("path",{d:"M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"}),(0,n.jsx)("path",{d:"M15 3h6v6"}),(0,n.jsx)("path",{d:"M10 14L21 3"})]}),o=r(962),i=(0,s.Rf)((e,t)=>{let{Component:r,children:s,showAnchorIcon:i,anchorIcon:d=(0,n.jsx)(l,{className:o.A}),getLinkProps:u}=(0,a.i)({ref:t,...e});return(0,n.jsx)(r,{...u(),children:(0,n.jsxs)(n.Fragment,{children:[s,i&&d]})})});i.displayName="HeroUI.Link";var d=i},13514:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},13615:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(64049).A)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]])},21061:(e,t,r)=>{"use strict";r.d(t,{Z:()=>d});var a=r(30903),s=r(38735),n=r(86326),l=r(60174),o=r(84573),i=(0,s.Rf)((e,t)=>{var r;let{as:s,className:i,children:d,...u}=e,c=(0,n.zD)(t),{slots:f,classNames:p}=(0,a.f)(),b=(0,l.$z)(null==p?void 0:p.footer,i);return(0,o.jsx)(s||"div",{ref:c,className:null==(r=f.footer)?void 0:r.call(f,{class:b}),...u,children:d})});i.displayName="HeroUI.CardFooter";var d=i},24716:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return h},useLinkStatus:function(){return x}});let a=r(88364),s=r(84573),n=a._(r(66601)),l=r(19907),o=r(41813),i=r(77824),d=r(23868),u=r(20065),c=r(50919);r(10908);let f=r(65188),p=r(22518),b=r(62596);function m(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}function h(e){let t,r,a,[l,h]=(0,n.useOptimistic)(f.IDLE_LINK_STATUS),x=(0,n.useRef)(null),{href:g,as:y,children:k,prefetch:w=null,passHref:j,replace:N,shallow:C,scroll:P,onClick:A,onMouseEnter:L,onTouchStart:D,legacyBehavior:E=!1,onNavigate:T,ref:_,unstable_dynamicOnHover:I,...M}=e;t=k,E&&("string"==typeof t||"number"==typeof t)&&(t=(0,s.jsx)("a",{children:t}));let B=n.default.useContext(o.AppRouterContext),z=!1!==w,U=null===w?i.PrefetchKind.AUTO:i.PrefetchKind.FULL,{href:H,as:R}=n.default.useMemo(()=>{let e=m(g);return{href:e,as:y?m(y):e}},[g,y]);E&&(r=n.default.Children.only(t));let O=E?r&&"object"==typeof r&&r.ref:_,S=n.default.useCallback(e=>(null!==B&&(x.current=(0,f.mountLinkInstance)(e,H,B,U,z,h)),()=>{x.current&&((0,f.unmountLinkForCurrentNavigation)(x.current),x.current=null),(0,f.unmountPrefetchableInstance)(e)}),[z,H,B,U,h]),$={ref:(0,d.useMergedRef)(S,O),onClick(e){E||"function"!=typeof A||A(e),E&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),B&&(e.defaultPrevented||function(e,t,r,a,s,l,o){let{nodeName:i}=e.currentTarget;if(!("A"===i.toUpperCase()&&function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))){if(!(0,p.isLocalURL)(t)){s&&(e.preventDefault(),location.replace(t));return}e.preventDefault(),n.default.startTransition(()=>{if(o){let e=!1;if(o({preventDefault:()=>{e=!0}}),e)return}(0,b.dispatchNavigateAction)(r||t,s?"replace":"push",null==l||l,a.current)})}}(e,H,R,x,N,P,T))},onMouseEnter(e){E||"function"!=typeof L||L(e),E&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),B&&z&&(0,f.onNavigationIntent)(e.currentTarget,!0===I)},onTouchStart:function(e){E||"function"!=typeof D||D(e),E&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),B&&z&&(0,f.onNavigationIntent)(e.currentTarget,!0===I)}};return(0,u.isAbsoluteUrl)(R)?$.href=R:E&&!j&&("a"!==r.type||"href"in r.props)||($.href=(0,c.addBasePath)(R)),a=E?n.default.cloneElement(r,$):(0,s.jsx)("a",{...M,...$,children:t}),(0,s.jsx)(v.Provider,{value:l,children:a})}r(13514);let v=(0,n.createContext)(f.IDLE_LINK_STATUS),x=()=>(0,n.useContext)(v);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},26512:(e,t,r)=>{"use strict";r.d(t,{d:()=>d});var a=r(30903),s=r(38735),n=r(86326),l=r(60174),o=r(84573),i=(0,s.Rf)((e,t)=>{var r;let{as:s,className:i,children:d,...u}=e,c=(0,n.zD)(t),{slots:f,classNames:p}=(0,a.f)(),b=(0,l.$z)(null==p?void 0:p.header,i);return(0,o.jsx)(s||"div",{ref:c,className:null==(r=f.header)?void 0:r.call(f,{class:b}),...u,children:d})});i.displayName="HeroUI.CardHeader";var d=i},30903:(e,t,r)=>{"use strict";r.d(t,{f:()=>s,u:()=>a});var[a,s]=(0,r(87580).q)({name:"CardContext",strict:!0,errorMessage:"useCardContext: `context` is undefined. Seems you forgot to wrap component within "})},41675:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,24716,23)),Promise.resolve().then(r.t.bind(r,34445,23)),Promise.resolve().then(r.bind(r,55682))},45682:(e,t,r)=>{"use strict";function a(e){if(!(null==e?void 0:e.trim()))throw Error("Non-empty string is required for slugify");return e.trim().toLowerCase().replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-").replace(/^-+|-+$/g,"")}r.d(t,{Y:()=>a})},55682:(e,t,r)=>{"use strict";r.d(t,{default:()=>g});var a=r(84573),s=r(64495),n=r(13615),l=r(24716),o=r.n(l),i=r(71687),d=r(26512),u=r(66806),c=r(21061),f=r(3911),p=r(66601);let b={container:"mx-auto w-full md:max-w-[48%] 2xl:max-w-[31%]",card:"no-button-style z-0 p-2 w-full min-w-64 cursor-pointer",header:"py-1 md:py-2 lg:py-3",title:"text-left text-balance font-semibold",badgeContainer:"flex justify-end mt-1 ml-2",popularBadge:"text-tiny rounded-md px-1 py-0.5 text-nowrap",mostPopular:"text-rose-600 border border-rose-600",popular:"text-orange-500 border border-orange-500",description:"text-sm text-gray-500",footer:"flex justify-between items-center py-1 md:py-2 lg:py-3",date:"text-tiny text-gray-400 min-w-20",linkContainer:"flex flex-wrap space-x-1 justify-end",link:"text-tiny"},m=(0,p.memo)(e=>{let{episode:t,index:r}=e,s=t.stars>=2.5,n=t.stars>=1.5&&t.stars<2.5||0===r&&t.stars<1&&t.stars>0,l=t.stars<2&&0===r,o=(e,t)=>(0,a.jsx)("span",{className:"".concat(b.popularBadge," ").concat(t),children:e});return(0,a.jsx)("div",{className:b.container,children:(0,a.jsxs)(i.Z,{classNames:{base:b.card},children:[(0,a.jsx)(d.d,{className:b.header,children:(0,a.jsxs)("div",{className:"w-full flex justify-between items-start",children:[(0,a.jsx)("span",{className:b.title,children:t.title}),(0,a.jsxs)("div",{className:b.badgeContainer,children:[s&&o("Most popular",b.mostPopular),n&&o("Popular",b.popular),l&&o("Most recent",b.popular)]})]})}),(0,a.jsx)(u.U,{className:"py-2",children:(0,a.jsx)("span",{className:b.description,children:t.description})}),(0,a.jsxs)(c.Z,{className:b.footer,children:[(0,a.jsx)("span",{className:b.date,children:t.date}),(0,a.jsx)("div",{className:b.linkContainer,children:t.links.map((e,r)=>(0,a.jsxs)("span",{className:b.link,children:[(0,a.jsx)(f.h,{href:e.url,className:b.link,children:e.name}),r"container mx-4 ".concat("cards"===e?"my-4":"my-0"," mx-auto flex flex-wrap gap-4 justify-center"),nakedList:"flex flex-col gap-2",nakedItem:"flex flex-row items-center my-0",nakedLink:"flex flex-row items-center text-gray-600 hover:scale-100 no-underline",star:"w-4 h-4 mr-2 text-yellow-500 fill-yellow-500",linkIcon:"w-4 h-4 ml-2 text-gray-600",footer:"flex flex-col gap-2",footerText:"text-tiny text-gray-400 text-center text-balance !my-0"},x=(0,p.memo)(e=>{let{episode:t}=e;return(0,a.jsxs)("div",{className:v.nakedItem,children:[t.stars>2&&(0,a.jsx)(s.A,{className:v.star}),(0,a.jsxs)(o(),{href:t.links[0].url,className:v.nakedLink,children:[t.title,(0,a.jsx)(n.A,{className:v.linkIcon})]})]},(0,h.Y)(t.title))});x.displayName="NakedEpisode";let g=(0,p.memo)(e=>{let{episodes:t,style:r="cards",forceSubscribeInvite:s=!1}=e,n=s||t.length<3;return(0,a.jsxs)("div",{className:v.container,children:[(0,a.jsx)("div",{className:v.episodesContainer(r),children:"cards"===r?t.map((e,t)=>(0,a.jsx)(m,{episode:e,index:t},(0,h.Y)(e.title))):(0,a.jsx)("div",{className:v.nakedList,children:t.map(e=>(0,a.jsx)(x,{episode:e},(0,h.Y)(e.title)))})}),(0,a.jsxs)("footer",{className:v.footer,children:[n&&(0,a.jsxs)("p",{className:v.footerText,children:["Subscribe to ",(0,a.jsx)("a",{href:"/newsletter",children:"my newsletter"})," to be notified of new episodes."]}),(0,a.jsxs)("p",{className:v.footerText,children:["Click ",(0,a.jsx)("a",{href:"/blog",children:"here"})," to view all of my podcast episodes."]})]})]})})},64049:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var a=r(66601);let s=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),n=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase()),l=e=>{let t=n(e);return t.charAt(0).toUpperCase()+t.slice(1)},o=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()},i=e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0};var d={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let u=(0,a.forwardRef)((e,t)=>{let{color:r="currentColor",size:s=24,strokeWidth:n=2,absoluteStrokeWidth:l,className:u="",children:c,iconNode:f,...p}=e;return(0,a.createElement)("svg",{ref:t,...d,width:s,height:s,stroke:r,strokeWidth:l?24*Number(n)/Number(s):n,className:o("lucide",u),...!c&&!i(p)&&{"aria-hidden":"true"},...p},[...f.map(e=>{let[t,r]=e;return(0,a.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),c=(e,t)=>{let r=(0,a.forwardRef)((r,n)=>{let{className:i,...d}=r;return(0,a.createElement)(u,{ref:n,iconNode:t,className:o("lucide-".concat(s(l(e))),"lucide-".concat(e),i),...d})});return r.displayName=l(e),r}},64495:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(64049).A)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]])},66806:(e,t,r)=>{"use strict";r.d(t,{U:()=>d});var a=r(30903),s=r(38735),n=r(86326),l=r(60174),o=r(84573),i=(0,s.Rf)((e,t)=>{var r;let{as:s,className:i,children:d,...u}=e,c=(0,n.zD)(t),{slots:f,classNames:p}=(0,a.f)(),b=(0,l.$z)(null==p?void 0:p.body,i);return(0,o.jsx)(s||"div",{ref:c,className:null==(r=f.body)?void 0:r.call(f,{class:b}),...u,children:d})});i.displayName="HeroUI.CardBody";var d=i},71687:(e,t,r)=>{"use strict";r.d(t,{Z:()=>d});var a=r(30903),s=r(591),n=r(38735),l=r(93049),o=r(84573),i=(0,n.Rf)((e,t)=>{let{children:r,context:n,Component:i,isPressable:d,disableAnimation:u,disableRipple:c,getCardProps:f,getRippleProps:p}=(0,s.m)({...e,ref:t});return(0,o.jsxs)(i,{...f(),children:[(0,o.jsx)(a.u,{value:n,children:r}),d&&!u&&!c&&(0,o.jsx)(l.j,{...p()})]})});i.displayName="HeroUI.Card";var d=i},73088:(e,t,r)=>{"use strict";r.d(t,{N:()=>n});var a=r(99353),s=r(76155),n=(0,a.tv)({slots:{base:["flex","flex-col","relative","overflow-hidden","h-auto","outline-none","text-foreground","box-border","bg-content1",...s.zb],header:["flex","p-3","z-10","w-full","justify-start","items-center","shrink-0","overflow-inherit","color-inherit","subpixel-antialiased"],body:["relative","flex","flex-1","w-full","p-3","flex-auto","flex-col","place-content-inherit","align-items-inherit","h-auto","break-words","text-left","overflow-y-auto","subpixel-antialiased"],footer:["p-3","h-auto","flex","w-full","items-center","overflow-hidden","color-inherit","subpixel-antialiased"]},variants:{shadow:{none:{base:"shadow-none"},sm:{base:"shadow-small"},md:{base:"shadow-medium"},lg:{base:"shadow-large"}},radius:{none:{base:"rounded-none",header:"rounded-none",footer:"rounded-none"},sm:{base:"rounded-small",header:"rounded-t-small",footer:"rounded-b-small"},md:{base:"rounded-medium",header:"rounded-t-medium",footer:"rounded-b-medium"},lg:{base:"rounded-large",header:"rounded-t-large",footer:"rounded-b-large"}},fullWidth:{true:{base:"w-full"}},isHoverable:{true:{base:"data-[hover=true]:bg-content2 dark:data-[hover=true]:bg-content2"}},isPressable:{true:{base:"cursor-pointer"}},isBlurred:{true:{base:["bg-background/80","dark:bg-background/20","backdrop-blur-md","backdrop-saturate-150"]}},isFooterBlurred:{true:{footer:["bg-background/10","backdrop-blur","backdrop-saturate-150"]}},isDisabled:{true:{base:"opacity-disabled cursor-not-allowed"}},disableAnimation:{true:"",false:{base:"transition-transform-background motion-reduce:transition-none"}}},compoundVariants:[{isPressable:!0,class:"data-[pressed=true]:scale-[0.97] tap-highlight-transparent"}],defaultVariants:{radius:"lg",shadow:"md",fullWidth:!1,isHoverable:!1,isPressable:!1,isDisabled:!1,isFooterBlurred:!1}})},77444:(e,t,r)=>{"use strict";r.d(t,{i:()=>h});var a=r(962),s=r(15752),n=r(70817),l=r(82603),o=r(64317),i=r(60174),d=r(95218),u=r(8739),c=r(94316),f=r(38735),p=r(86326),b=r(11304),m=r(66601);function h(e){var t,r,h,v;let x=(0,c.o)(),[g,y]=(0,f.rE)(e,a.n.variantKeys),{ref:k,as:w,children:j,anchorIcon:N,isExternal:C=!1,showAnchorIcon:P=!1,autoFocus:A=!1,className:L,onPress:D,onPressStart:E,onPressEnd:T,onClick:_,...I}=g,M=(0,p.zD)(k),B=null!=(r=null!=(t=null==e?void 0:e.disableAnimation)?t:null==x?void 0:x.disableAnimation)&&r,{linkProps:z}=function(e,t){let{elementType:r="a",onPress:a,onPressStart:c,onPressEnd:f,onClick:p,role:b,isDisabled:m,type:h,...v}=e,x={};"a"!==r&&(x={role:"link",tabIndex:m?void 0:0});let g=(0,s.un)()||(0,s.m0)();p&&"function"==typeof p&&"button"!==h&&"button"!==b&&(0,i.R8)("onClick is deprecated, please use onPress instead. See: https://github.com/heroui-inc/heroui/issues/4292","useLink");let{focusableProps:y}=(0,d.Wc)(e,t),{pressProps:k,isPressed:w}=(0,u.d)({onPress:e=>{g&&(null==p||p(e)),null==a||a(e)},onPressStart:c,onPressEnd:f,isDisabled:m,ref:t}),j=(0,n.$)(v,{labelable:!0,isLink:"a"===r}),N=(0,l.v)(y,k),C=(0,o.rd)(),P=(0,o._h)(e);return{isPressed:w,linkProps:(0,l.v)(j,P,{...N,...x,"aria-disabled":m||void 0,"aria-current":e["aria-current"],onClick:t=>{var r;null==(r=k.onClick)||r.call(k,t),!g&&p&&p(t),!C.isNative&&t.currentTarget instanceof HTMLAnchorElement&&t.currentTarget.href&&!t.isDefaultPrevented()&&(0,o.sU)(t.currentTarget,t)&&e.href&&(t.preventDefault(),C.open(t.currentTarget,t,e.href,e.routerOptions))}})}}({...I,onPress:D,onPressStart:E,onPressEnd:T,onClick:_,isDisabled:e.isDisabled,elementType:"".concat(w)},M),{isFocused:U,isFocusVisible:H,focusProps:R}=(0,b.o)({autoFocus:A});C&&(I.rel=null!=(h=I.rel)?h:"noopener noreferrer",I.target=null!=(v=I.target)?v:"_blank");let O=(0,m.useMemo)(()=>(0,a.n)({...y,disableAnimation:B,className:L}),[(0,i.t6)(y),B,L]);return{Component:w||"a",children:j,anchorIcon:N,showAnchorIcon:P,getLinkProps:(0,m.useCallback)(()=>({ref:M,className:O,"data-focus":(0,i.sE)(U),"data-disabled":(0,i.sE)(e.isDisabled),"data-focus-visible":(0,i.sE)(H),...(0,l.v)(R,z,I)}),[O,U,H,R,z,I])}}}},e=>{var t=t=>e(e.s=t);e.O(0,[915,7194,4445,1004,2111,7358],()=>t(41675)),_N_E=e.O()}]);