(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{93974:(e,t,r)=>{Promise.resolve().then(r.bind(r,79927)),Promise.resolve().then(r.t.bind(r,51442,23)),Promise.resolve().then(r.t.bind(r,97546,23)),Promise.resolve().then(r.t.bind(r,49939,23)),Promise.resolve().then(r.t.bind(r,89259,23)),Promise.resolve().then(r.bind(r,66807)),Promise.resolve().then(r.bind(r,89103)),Promise.resolve().then(r.bind(r,17458))},35470:(e,t,r)=>{"use strict";r.d(t,{d:()=>d,z:()=>c});var a=r(42294),n=r(66877),o=r(31615),s=r(46212),i=r(73797),l=r(17458);let d=(0,o.j)("transition-all",{variants:{variant:{primary:"border-black bg-black text-white hover:bg-gray-800 hover:ring-4 hover:ring-gray-200",secondary:(0,n.a)("border-gray-200 bg-white text-gray-900 hover:bg-gray-50 focus-visible:border-gray-500 outline-none","data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200"),outline:"border-transparent text-gray-500 duration-75 hover:bg-gray-100",success:"border-blue-500 bg-blue-500 text-white hover:bg-blue-600 hover:ring-4 hover:ring-blue-100",danger:"border-red-500 bg-red-500 text-white hover:bg-red-600 hover:ring-4 hover:ring-red-100","danger-outline":"border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white"}},defaultVariants:{variant:"primary"}}),c=(0,s.forwardRef)((e,t)=>{let{text:r,variant:o="primary",className:s,textWrapperClassName:c,loading:u,icon:b,shortcut:g,disabledTooltip:p,...x}=e;return p?(0,a.jsx)(l.u,{content:p,children:(0,a.jsxs)("div",{className:(0,n.a)("flex h-10 w-full cursor-not-allowed items-center justify-center gap-x-2 rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",{"border-transparent bg-transparent":null==o?void 0:o.endsWith("outline")},s),children:[b,r&&(0,a.jsx)("div",{className:(0,n.a)("min-w-0 truncate",g&&"flex-1 text-left",c),children:r}),g&&(0,a.jsx)("kbd",{className:(0,n.a)("hidden rounded border border-gray-200 bg-gray-100 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",{"bg-gray-100":null==o?void 0:o.endsWith("outline")}),children:g})]})}):(0,a.jsxs)("button",{ref:t,type:x.onClick?"button":"submit",className:(0,n.a)("group flex h-10 w-full items-center justify-center gap-2 whitespace-nowrap rounded-md border px-4 text-sm",x.disabled||u?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400 outline-none":d({variant:o}),s),disabled:x.disabled||u,...x,children:[u?(0,a.jsx)(i.T,{}):b||null,r&&(0,a.jsx)("div",{className:(0,n.a)("min-w-0 truncate",g&&"flex-1 text-left",c),children:r}),g&&(0,a.jsx)("kbd",{className:(0,n.a)("hidden rounded px-2 py-0.5 text-xs font-light transition-all duration-75 md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-600 group-hover:text-gray-300":"primary"===o,"bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":"secondary"===o,"bg-gray-100 text-gray-500 group-hover:bg-gray-200":"outline"===o,"bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":"danger-outline"===o}),children:g})]})});c.displayName="Button"},73797:(e,t,r)=>{"use strict";r.d(t,{T:()=>o});var a=r(42294),n=r(66877);function o(e){let{className:t}=e;return(0,a.jsx)("div",{className:(0,n.a)("h-5 w-5",t),children:(0,a.jsx)("div",{style:{position:"relative",top:"50%",left:"50%"},className:(0,n.a)("loading-spinner","h-5 w-5",t),children:[...Array(12)].map((e,t)=>(0,a.jsx)("div",{style:{animationDelay:"".concat(-1.2+.1*t,"s"),background:"gray",position:"absolute",borderRadius:"1rem",width:"30%",height:"8%",left:"-10%",top:"-4%",transform:"rotate(".concat(30*t,"deg) translate(120%)")},className:"animate-spinner"},t))})})}},17458:(e,t,r)=>{"use strict";r.d(t,{LN:()=>p,TooltipProvider:()=>u,_v:()=>g,bE:()=>h,cN:()=>x,u:()=>b,uD:()=>y});var a=r(42294),n=r(66877),o=r(57233),s=r(2909),i=r(90022),l=r(94014),d=r(46212),c=r(35470);function u(e){let{children:t}=e;return(0,a.jsx)(o.zt,{delayDuration:150,children:t})}function b(e){let{children:t,content:r,side:n="top",disableHoverableContent:s,...i}=e,[l,c]=(0,d.useState)(!1);return(0,a.jsxs)(o.fC,{open:l,onOpenChange:c,delayDuration:0,disableHoverableContent:s,children:[(0,a.jsx)(o.xz,{asChild:!0,onClick:()=>{c(!0)},onBlur:()=>{c(!1)},children:t}),(0,a.jsx)(o.h_,{children:(0,a.jsx)(o.VY,{sideOffset:8,side:n,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-xl border border-gray-200 bg-white shadow-sm",collisionPadding:0,...i,children:"string"==typeof r?(0,a.jsx)("span",{className:"block max-w-xs text-pretty px-4 py-2 text-center text-sm text-gray-700",children:r}):"function"==typeof r?r({setOpen:c}):r})})]})}function g(e){let{title:t,cta:r,href:o,target:s,onClick:i}=e;return(0,a.jsxs)("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[(0,a.jsx)("p",{className:"text-sm text-gray-700",children:t}),r&&(o?(0,a.jsx)(l.default,{href:o,...s?{target:s}:{},className:(0,n.a)((0,c.d)({variant:"primary"}),"flex h-9 w-full items-center justify-center whitespace-nowrap rounded-lg border px-4 text-sm"),children:r}):i?(0,a.jsx)(c.z,{onClick:i,text:r,variant:"primary",className:"h-9"}):null)]})}function p(e){let{title:t,cta:r,href:n}=e;return(0,a.jsxs)("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[t," ",(0,a.jsx)("a",{href:n,target:"_blank",rel:"noopener noreferrer",onClick:e=>e.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:r})]})}function x(e){let{children:t}=e;return(0,a.jsx)("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:(0,a.jsx)(s.Z,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:t})})}function h(e){return(0,a.jsx)(b,{...e,children:(0,a.jsx)(i.Z,{className:"h-4 w-4 text-gray-500"})})}function y(e){let{children:t,tooltipProps:r,...o}=e;return(0,a.jsx)(b,{...r,children:(0,a.jsx)("button",{type:"button",...o,className:(0,n.a)("flex h-6 w-6 items-center justify-center rounded-md text-gray-500 transition-colors duration-75 hover:bg-gray-100 active:bg-gray-200 disabled:cursor-not-allowed disabled:hover:bg-transparent",o.className),children:t})})}},89259:()=>{},97546:e=>{e.exports={style:{fontFamily:"'__Inter_d65c78', '__Inter_Fallback_d65c78'",fontStyle:"normal"},className:"__className_d65c78",variable:"__variable_d65c78"}},49939:e=>{e.exports={style:{fontFamily:"'__GeistMono_c1e5c9', ui-monospace, SFMono-Regular, Roboto Mono, Menlo, Monaco, Liberation Mono, DejaVu Sans Mono, Courier New, monospace"},className:"__className_c1e5c9",variable:"__variable_c1e5c9"}},51442:e=>{e.exports={style:{fontFamily:"'__satoshi_7dbc08', '__satoshi_Fallback_7dbc08'",fontStyle:"normal"},className:"__className_7dbc08",variable:"__variable_7dbc08"}},79927:(e,t,r)=>{"use strict";r.d(t,{Analytics:()=>n});var a=r(46212);function n(e){return(0,a.useEffect)(()=>{!function(e){var t,r;if(!("undefined"!=typeof window))return;let a=(null==(t=e.scriptProps)?void 0:t.src)||"https://www.dubcdn.com/analytics/script.js";if(document.head.querySelector('script[src*="'.concat(a,'"]')))return;let n=document.createElement("script");n.src=a,n.defer=(null==(r=e.scriptProps)?void 0:r.defer)||!0,n.setAttribute("data-sdkn","@dub/analytics"),n.setAttribute("data-sdkv","0.0.21"),e.apiHost&&n.setAttribute("data-api-host",e.apiHost),e.apiKey&&n.setAttribute("data-api-key",e.apiKey),e.attributionModel&&n.setAttribute("data-attribution-model",e.attributionModel),e.cookieOptions&&Object.keys(e.cookieOptions).length>0&&n.setAttribute("data-cookie-options",JSON.stringify(e.cookieOptions)),e.queryParam&&n.setAttribute("data-query-param",e.queryParam),e.scriptProps&&Object.assign(n,e.scriptProps),n.onerror=()=>{console.log("[Dub Web Analytics] failed to load script from ".concat(a,"."))},document.head.appendChild(n)}(e)},[e]),null}},66877:(e,t,r)=>{"use strict";r.d(t,{a:()=>o});var a=r(56254),n=r(54069);function o(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,n.m6)((0,a.W)(t))}}},e=>{var t=t=>e(e.s=t);e.O(0,[7622,726,8176,7232,334,6807,4717,5084,8773,7737,4868,7754,6433,229,3061,6877,5842,9282,7631,2296,4476,1744],()=>t(93974)),_N_E=e.O()}]);