PageSourceSearch

https://loio.com/_next/static/chunks/3236-4f609186fafdcbac.js

js loio.com collected 2026-10-03 20:13:58 UTC 61,461 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(null!=n)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:loio-ui":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="38110780-1cc7-4ce0-ab7e-beff7cfaf3e5",e._sentryDebugIdIdentifier="sentry-dbid-38110780-1cc7-4ce0-ab7e-beff7cfaf3e5")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3236],{77932:function(e,t,n){n.d(t,{B:function(){return d}});var r=n(27573),a=n(60523),i=n(57902),o=n(22973);function l(e){var t=e.className;return(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:t,"aria-hidden":"true","data-sentry-element":"svg","data-sentry-component":"ArrowRightIcon","data-sentry-source-file":"arrow-right.tsx",children:(0,r.jsx)("path",{d:"M16.172 10.9998L10.808 5.63583L12.222 4.22183L20 11.9998L12.222 19.7778L10.808 18.3638L16.172 12.9998L4 12.9998L4 10.9998L16.172 10.9998Z","data-sentry-element":"path","data-sentry-source-file":"arrow-right.tsx"})})}var s=n(85424),u=n(76197),c=n(36394),d=function(e){var t=e.callback,n=void 0===t?function(){}:t,d=e.useContactUsDialog,m=void 0===d||d,f=e.classes,p=void 0===f?{}:f;return(0,r.jsxs)("div",{className:(0,c.cn)("mt-8 flex items-center justify-between gap-44 rounded-2lg bg-paper-100 px-7 py-12 max-lg:gap-39.25 max-lg:p-6 max-md:mt-5 max-md:items-start max-sm:flex-col max-sm:gap-5 max-sm:p-4",p.wrapper),"data-sentry-component":"BillingContactUs","data-sentry-source-file":"billing-contact-us.tsx",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-0.5 max-sm:w-full",children:[(0,r.jsx)("h5",{className:"text-sm font-medium text-dark-700",children:"Need more?"}),(0,r.jsx)("h4",{className:"text-2xl font-semibold text-dark-700 max-lg:hidden",children:"Let's talk"}),(0,r.jsx)("h4",{className:"hidden text-xl font-semibold text-dark-700 max-lg:block",children:"Contact us"})]}),(0,r.jsxs)("div",{className:"flex flex-1 max-lg:flex-col",children:[(0,r.jsxs)("div",{className:"flex flex-1 flex-col justify-center",children:[(0,r.jsx)("p",{className:"hidden pt-0.5 text-sm leading-6 font-regular text-dark-500 max-lg:block",children:"Contact us to get all in Pro and individual limits for your need. Custom invites, custom templates, custom pricing."}),(0,r.jsxs)("p",{className:"text-sm font-regular text-dark-500 max-lg:hidden",children:["Looking for a plan tailored to your needs? ",(0,r.jsx)("br",{}),"Contact us for custom usage limits, templates, and pricing"," ",(0,r.jsx)(l,{className:"inline size-4 [&>path]:fill-dark-500","data-sentry-element":"ArrowRightIcon","data-sentry-source-file":"billing-contact-us.tsx"})]})]}),m?(0,r.jsx)(u.n,{callback:n,children:(0,r.jsx)(a.Button,{className:(0,c.cn)("h-12 w-80.5 text-base max-lg:mt-5 max-lg:w-full max-md:text-sm max-md:font-medium max-xs:mt-4 max-xs:h-10",p.button),variant:"ghost",size:"lg",children:"Contact us"})}):(0,r.jsx)(a.Button,{className:(0,c.cn)("h-12 w-80.5 text-base max-lg:mt-5 max-lg:w-full max-md:text-sm max-md:font-medium max-xs:mt-4 max-xs:h-10",p.button),variant:"ghost",size:"lg",asChild:!0,children:(0,r.jsx)(i.Z,{href:(0,s.R)("/contact-us/",o.S.Portal),children:"Contact us"})})]})]})}},76197:function(e,t,n){n.d(t,{n:function(){return L}});var r=n(96490),a=n(28535),i=n(83484),o=n(27266),l=n(62652),s=n(44308),u=n(27573),c=n(7653),d=n(14617),m=n(92434),f=n(73105),p=n(67707),x=n(2831),v=n(29442),g=n(10803),h=n(60523),y=n(2486),b=n(88364),w=n(54753),_=n(14842),j=n(71696),C=n(30741),N=n(61246),k=n(66055),P=n(11743),T=n(81520),B=n(74779),M=n(23840),S=n(50842),I=1e3,E=(0,M.Ry)({message:(0,M.Z_)().required("Field is required").max(I,"Request is too long")}),L=function(e){var t,n=e.children,M=e.callback,L=(0,l._)((0,c.useState)(!1),2),D=L[0],z=L[1],F=(0,l._)((0,c.useState)(!1),2),R=F[0],U=F[1],A=(0,B.cI)({defaultValues:{message:""},resolver:(0,d.X)(E)}),V=A.handleSubmit((t=(0,r._)(function(e){var t;return(0,s.__generator)(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,3,4]),U(!0),[4,S.YJ.createCustomRequest
1(e)];case 1:return n.sent(),z(!1),M(),[3,4];case 2:return t=n.sent(),console.error("Error during creating custom request",t),[3,4];case 3:return U(!1),[7];case 4:return[2]}})}),function(e){return t.apply(this,arguments)}));return(0,u.jsxs)(f.V,{open:D,onOpenChange:z,"data-sentry-element":"Dialog","data-sentry-component":"BillingCustomProductRequestDialog","data-sentry-source-file":"billing-custom-product-request-dialog.tsx",children:[(0,u.jsx)(p.h,{asChild:!0,"data-sentry-element":"DialogTrigger","data-sentry-source-file":"billing-custom-product-request-dialog.tsx",children:n}),(0,u.jsxs)(x.cZ,{className:"top-20 flex h-160.75 max-h-full w-150 max-w-full translate-y-0 flex-col gap-12 px-25 py-12 max-sm:flex max-sm:h-full max-sm:max-h-full max-sm:w-full max-sm:flex-col max-sm:gap-10 max-sm:rounded-none max-sm:border-0 max-sm:px-4 max-sm:py-4","data-sentry-element":"DialogContent","data-sentry-source-file":"billing-custom-product-request-dialog.tsx",children:[(0,u.jsxs)(v.f,{className:"gap-1","data-sentry-element":"DialogHeader","data-sentry-source-file":"billing-custom-product-request-dialog.tsx",children:[(0,u.jsxs)("div",{className:"mb-2 flex items-center justify-between",children:[(0,u.jsx)("div",{className:"text-bg-white flex size-6 items-center justify-center self-start rounded-full bg-celtic-blue-100",children:(0,u.jsx)(m.r,{className:"size-4 rotate-180",color:"white","data-sentry-element":"ArrowDownLine","data-sentry-source-file":"billing-custom-product-request-dialog.tsx"})}),(0,u.jsx)(g.G,{asChild:!0,"data-sentry-element":"DialogClose","data-sentry-source-file":"billing-custom-product-request-dialog.tsx",children:(0,u.jsx)(h.Button,{size:"icon-xs",variant:"ghost",className:"absolute top-5 right-5 max-md:size-7 max-md:rounded-full max-md:bg-black-50 max-sm:static","data-sentry-element":"Button","data-sentry-source-file":"billing-custom-product-request-dialog.tsx",children:(0,u.jsx)(y.R,{"data-sentry-element":"BaseCloseIcon","data-sentry-source-file":"billing-custom-product-request-dialog.tsx"})})})]}),(0,u.jsx)(b.$,{className:"text-xl","data-sentry-element":"DialogTitle","data-sentry-source-file":"billing-custom-product-request-dialog.tsx",children:"Custom plan"}),(0,u.jsx)(w.B,{"data-sentry-element":"DialogDescription","data-sentry-source-file":"billing-custom-product-request-dialog.tsx",children:"Contact us for custom usage limits, templates, and pricing."})]}),(0,u.jsx)(_.l,(0,i._)((0,a._)({},A),{"data-sentry-element":"Form","data-sentry-source-file":"billing-custom-product-request-dialog.tsx",children:(0,u.jsxs)("form",{onSubmit:V,children:[(0,u.jsx)(j.W,{control:A.control,name:"message",render:function(e){var t=e.field.onChange,n=(0,o._)(e.field,["onChange"]);return(0,u.jsxs)(C.x,{className:"mt-6 gap-3",children:[(0,u.jsxs)("div",{className:"flex items-center justify-between",children:[(0,u.jsx)(N._,{className:"text-sm font-medium text-dark-800",children:"You request"}),(0,u.jsxs)("span",{className:"text-sm text-dark-300",children:[I-n.value.length," characters"]})]}),(0,u.jsx)(k.N,{children:(0,u.jsx)(P.g,(0,i._)((0,a._)({},n),{onChange:function(e){var n=e.target;return t(n.value.slice(0,I))},className:"h-23 resize-none"}))})]})},"data-sentry-element":"FormField","data-sentry-source-file":"billing-custom-product-request-dialog.tsx"}),(0,u.jsx)(T.c,{className:"mt-5","data-sentry-element":"DialogFooter","data-sentry-source-file":"billing-custom-product-request-dialog.tsx",children:(0,u.jsx)(h.Button,{className:"w-full",size:"lg",loading:R,"data-sentry-element":"Button","data-sentry-source-file":"billing-custom-product-request-dialog.tsx",children:"Send"})})]})}))]})]})}},12068:function(e,t,n){n.d(t,{n:function(){return d}});var r=n(27573),a=n(94298),i=n(57457),o=n(8267),l=n(7653),s=n(7135),u=function(e){var t=e.product,n=(0,s.J)({plans:t.plans,promoCode:null}),a=n.annualPrice,i=n.monthlyPrice,o=(0,l.useMemo)(function(){if(!a||!i)return 0;var e=1-a.actual/i.actual;return Math.floor(100*e).toFixed(0)},[a,i]);return o?(0,r.jsxs)("span",{className:"h-5 rounded-sm border border-sky-300 bg-white px-1 py-0.5 text-xs font-medium text-celtic-blue-100 max-xs:rounded-xs-2 max-xs:px-1.5","data-sentry-component":"BillingIntervalTabsDiscount","data-sentry-source-file":"billing-interval-tabs-discount.tsx",children:["Save ",o,"%"]}):null},c=n(36394),d=function(e){var t=e.interval,n=e.setInterval,l=e.className,s=e.referenceProduct;return(0,r.jsx)(a.Tabs,{value:t,onValueChange:function(e){n(e)},"data-sentry-element":"Tabs","data-sentry-component":"BillingIntervalTabs","data-sentry-source-file":"billing-interval-tabs.tsx",children:(0,r.jsxs)(i.d,{className:(0,
1c.cn)("mx-auto bg-grey-300 p-0",l),"data-sentry-element":"TabsList","data-sentry-source-file":"billing-interval-tabs.tsx",children:[(0,r.jsxs)(o.S,{className:"group flex h-7 w-33 items-center gap-2 border-1 border-transparent pr-1 hover:bg-grey-300 data-[state=active]:border-grey-600 data-[state=active]:hover:bg-white",value:"year","data-sentry-element":"TabsTrigger","data-sentry-source-file":"billing-interval-tabs.tsx",children:[(0,r.jsx)("span",{className:"text-dark-800 opacity-50 transition-opacity group-hover:opacity-100 group-data-[state=active]:opacity-100",children:"Yearly"}),s&&(0,r.jsx)(u,{product:s})]}),(0,r.jsx)(o.S,{className:"group h-7 w-21 border-1 border-transparent hover:bg-grey-300 data-[state=active]:border-grey-600 data-[state=active]:hover:bg-white",value:"month","data-sentry-element":"TabsTrigger","data-sentry-source-file":"billing-interval-tabs.tsx",children:(0,r.jsx)("span",{className:"text-dark-800 opacity-50 transition-opacity group-hover:opacity-100 group-data-[state=active]:opacity-100",children:"Monthly"})})]})})}},12115:function(e,t,n){n.d(t,{d:function(){return s}});var r=n(27573),a=n(68424),i=n(73168),o=n(82907),l=n(36394),s=function(e){var t=e.title,n=e.description,s=e.hasUnderline,u=void 0!==s&&s,c=e.isActive;return(0,r.jsxs)(a.u,{"data-sentry-element":"Tooltip","data-sentry-component":"BillingPlanFeature","data-sentry-source-file":"billing-plan-feature.tsx",children:[(0,r.jsxs)("li",{className:"flex items-baseline gap-3",children:[(0,r.jsx)("span",{className:"inline-flex size-4 items-center justify-center",children:(0,r.jsx)("span",{className:(0,l.cn)("size-2.5 origin-center rotate-45 rounded-xs bg-grey-800",c&&"bg-sunset-100")})}),(0,r.jsx)(i.a,{asChild:!0,disabled:!n,"data-sentry-element":"TooltipTrigger","data-sentry-source-file":"billing-plan-feature.tsx",children:(0,r.jsx)("span",{className:(0,l.cn)("text-sm font-regular text-dark-500",{"underline decoration-dark-100 decoration-dotted transition-colors hover:decoration-inherit":u}),style:{textUnderlinePosition:u?"from-font":"auto"},children:t})})]}),(0,r.jsx)(o._,{sideOffset:8,side:"right",hidden:!n,hasArrow:!1,className:"z-600 max-w-50 text-wrap","data-sentry-element":"TooltipContent","data-sentry-source-file":"billing-plan-feature.tsx",children:n})]})}},93030:function(e,t,n){n.d(t,{P:function(){return w}});var r,a,i=n(27573),o=n(36394),l=n(7135),s=n(28535),u=n(83484),c=n(27266),d=n(62652),m=n(7653),f=n(27614),p=n(50906);!function(e){e.Lg="lg",e.Md="md",e.Sm="sm"}(r||(r={}));var x=(a={},(0,p._)(a,r.Lg,{fontSize:30,lineHeight:36,className:"text-3xl max-md:text-2xl",originalClassName:"text-base max-md:text-sm max-md:pb-[1.5px]"}),(0,p._)(a,r.Md,{fontSize:24,lineHeight:32,className:"text-2xl max-md:text-xl",originalClassName:"text-sm pb-[1.5px]"}),(0,p._)(a,r.Sm,{fontSize:20,lineHeight:24,className:"text-xl",originalClassName:"text-sm"}),a),v=n(30546),g=function(e){var t=e.shouldNotTruncate;return(0,i.jsxs)(i.Fragment,{children:["mo",(0,i.jsx)("span",{className:(0,o.cn)("max-2md:hidden",t&&"max-2md:inline"),children:"nth"})]})},h=function(e){var t=e.annual,n=e.interval,r=e.monthly,a=e.classes,l=e.size,s=e.shouldNotTruncate,u=(0,m.useMemo)(function(){return 1===[t,r].filter(Boolean).length},[t,r]),c=x[l];return(0,i.jsxs)("span",{className:(0,o.cn)("relative flex items-center justify-center font-semibold text-dark-100",c.originalClassName,null==a?void 0:a.crossed),"data-sentry-component":"Original","data-sentry-source-file":"animated-prices.tsx",children:[!!t&&(0,i.jsxs)("span",{className:(0,o.cn)("absolute left-0 block -translate-x-1/2 line-through opacity-0 transition-all delay-850 duration-250",u&&"static",n===f.BillingSubscriptionInterval.Year&&"static translate-x-0 opacity-100"),children:["$",t,"/",(0,i.jsx)(g,{amount:t,shouldNotTruncate:s})]}),!!r&&(0,i.jsxs)("span",{className:(0,o.cn)("absolute left-0 block translate-x-1/2 line-through opacity-0 transition-all delay-850 duration-250",u&&"static",n===f.BillingSubscriptionInterval.Month&&"static translate-x-0 opacity-100"),children:["$",r,"/",(0,i.jsx)(g,{amount:r,shouldNotTruncate:s})]})]})},y=function(e){var t=e.interval,n=e.annual,r=void 0===n?0:n,a=e.classes,l=e.monthly,s=void 0===l?0:l,u=e.size,c=e.shouldNotTruncate,p=(0,m.useRef)(null),h=(0,m.useRef)(null),y=(0,d._)((0,m.useState)(!1),2),b=y[0],w=y[1],_=(0,m.useMemo)(function(){var e=r>=s,t=e?r:s,n=e?s:r,a=Math.ceil((t-n)/5*100)/100;if(t===n)return[0];for(var i=[],o=n;o<=t;o+=a)i.push((0,v.QD)(100*o));return i[0]=n,i[i.length-1]=t,e?i.reverse():i},[r,s]),j=(0,m.useMemo)(function(){return{highestPlan:r>=s?f.BillingSubscriptionInterval.Year:f.BillingSubscriptionInterval.Month,lowestPlan:r<s?f.BillingSubscriptionInterval.Year:f.BillingSubscriptionInterval.Month}},[r,s]),C=j.highestPlan,N=j.lowestPlan,k=(0,m.useMemo)(function(){return{isLowestPlanCurrent:N===t,isHighestPlanCurrent:C===t}},[N,C,t]),P=k.isHighestPlanCurrent,T=k.isLowestPlanCurrent,B=(0,m.useCallback)(function(e,t){return e&&T||P&&t},[P,T]),M=x[u],S=(0,m.useCallback)(function(e){return f.BillingSubscriptionInterval.Year,T?C===f.BillingSubscriptionInterval.Year?-(_.length-e-1)*M.lineHeight:e*M.lineHeight:C===f.BillingSubscriptionInterval.Year?e*M.lineHeight:-(_.length-e-1)*M.lineHeight},[M,_,T,N]),I=(0,m.useMemo)(function(){if(b){var e,t;if(P)return null===(e=p.current)||void 0===e?void 0:e.offsetWidth;if(T)return null===(t=h.current)||void 0===t?void 0:t.offsetWidth}},[P,T,b]);(0,m.useEffect)(function(){w(!0)},[]);var E=(0,m.useMemo)(function(){return t===f.BillingSubscriptionInterval.Month?s:t===f.BillingSubscriptionInterval.Year?r:0},[t,r,s]);return(0,i.jsxs)("span",{className:(0,o.cn)("flex font-semibold text-dark-700",null==a?void 0:a.current,[M.className]),"data-sentry-component":"Actual","data-sentry-source-file":"animated-prices.tsx",children:[(0,i.jsx)("span",{className:"relative flex flex-col overflow-hidden transition-[width] delay-250 duration-850 ease-[
1cubic-bezier(0.68,-0.6,0.32,1.6)]",style:{width:void 0!==I?"".concat(I,"px"):void 0},children:_.map(function(e,t){var n=_.length-1===t,r=!t;return(0,i.jsxs)("span",{ref:r?h:n?p:void 0,className:(0,o.cn)("absolute translate-y-[var(--y)] transition-transform delay-250 duration-850 ease-[cubic-bezier(0.68,-0.6,0.32,1.6)]",B(r,n)&&"static"),style:{"--y":"".concat(S(t),"px")},children:["$",e]},e)})}),(0,i.jsxs)("span",{className:"self-end text-base",children:["/",(0,i.jsx)(g,{amount:E,shouldNotTruncate:c,"data-sentry-element":"Month","data-sentry-source-file":"animated-prices.tsx"})]})]})},b=function(e){var t=e.annual,n=e.monthly,r=(0,c._)(e,["annual","monthly"]),a=(0,m.useMemo)(function(){return"".concat(n.actual,"-").concat(t.actual)},[n,t]);return(0,i.jsxs)(i.Fragment,{children:[(0,m.createElement)(y,(0,u._)((0,s._)({},r),{annual:t.actual,monthly:n.actual,key:a,"data-sentry-element":"Actual","data-sentry-source-file":"animated-prices.tsx"})),(0,i.jsx)(h,(0,u._)((0,s._)({},r),{annual:t.original,monthly:n.original,"data-sentry-element":"Original","data-sentry-source-file":"animated-prices.tsx"}))]})},w=function(e){var t=e.interval,n=e.plans,a=e.promoCode,s=e.classes,u=e.size,c=void 0===u?r.Md:u,d=e.shouldNotTruncate,m=(0,l.J)({plans:n,promoCode:a}),f=m.annualPrice,p=m.monthlyPrice;return f&&p?(0,i.jsx)("p",{className:(0,o.cn)("mt-6 flex h-8 items-baseline gap-2 text-base font-semibold text-dark-700",null==s?void 0:s.wrapper),"data-sentry-component":"BillingProductPrice","data-sentry-source-file":"billing-product-price.tsx",children:(0,i.jsx)(b,{annual:f,interval:t,monthly:p,size:c,classes:null==s?void 0:s.price,shouldNotTruncate:d,"data-sentry-element":"AnimatedPrice","data-sentry-source-file":"billing-product-price.tsx"})}):(0,i.jsx)("p",{className:(0,o.cn)("mt-6 flex h-8 items-end gap-2 text-base font-semibold text-dark-700",null==s?void 0:s.wrapper),children:(0,i.jsx)("span",{className:(0,o.cn)("font-semibold text-dark-700",x[c].className,null==s?void 0:s.actualPrice),children:"$0"})})}},91610:function(e,t,n){n.d(t,{R:function(){return o}});var r=n(27573),a=n(7653),i=n(27614),o=function(e){var t=e.promoCode,n=(0,a.useMemo)(function(){return t&&t.type!==i.PromocodeType.FreeTemplate?t.type===i.PromocodeType.AmountOff?"-$".concat(t.value):"-".concat(t.value,"%"):null},[t]);if(n)return(0,r.jsx)("span",{className:"text-sm font-semibold text-celtic-blue-100","data-sentry-component":"BillingProductPromoCodeDiscount","data-sentry-source-file":"billing-product-promo-code-discount.tsx",children:n})}},95233:function(e,t,n){n.d(t,{D:function(){return P}});var r=n(28535),a=n(83484),i=n(27266),o=n(27573),l=n(7653),s=n(88723),u=n(12068),c=n(96490),d=n(62652),m=n(44308),f=n(60523),p=n(27614),x=n(12115),v=n(93030),g=n(91610),h=n(36769),y=n(8370),b=n(8273),w=n(6207),_=n(95828),j=n(36394),C=function(e){var t=e.product,n=e.onStart,r=e.interval,a=e.checkIfIsCurrent,i=void 0===a?function(){return!1}:a,u=e.trialUsed,C=void 0!==u&&u,N=e.checkIfBenefitActive,k=void 0===N?function(){return!1}:N,P=e.checkIfIsUnavailable,T=void 0===P?function(){return!1}:P,B=e.subscription,M=e.buttonClassName,S=e.hasLargePrice,I=e.className,E=e.promoCode,L=void 0===E?null:E,D=e.thereIsNoPlus,z=e.shouldBeAdaptive,F=e.shouldNotTruncate,R=e.paywallVariation,U=(0,d._)((0,l.useState)(!1),2),A=U[0],V=U[1],q=(0,l.useMemo)(function(){return i(t)},[i,t]),O=(0,y.D)({product:t,thereIsNoPlus:D,paywallVariation:R}),H=O.benefitTitle,K=O.benefits,Y=(0,b.l)({product:t,isCurrent:q,trialUsed:C,subscription:B,paywallVariation:R}),W=Y.title,$=Y.variant,Z=(0,_.$)({product:t}).isPopular,Q=(0,w.v)({product:t}
1).isBestValue,G=R===p.PaywallVariation.Meta,J=T(t),X=(0,l.useCallback)((0,c._)(function(){var e;return(0,m.__generator)(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,3,4]),V(!0),[4,n()];case 1:return t.sent(),[3,4];case 2:return e=t.sent(),console.error("Error during proceeding onClickStart",e),[3,4];case 3:return V(!1),[7];case 4:return[2]}})}),[n]);return(0,o.jsxs)("li",{className:(0,j.cn)("min-w-59.5 flex-1 rounded-2lg border border-grey-600 p-6 pb-7 max-lg:min-w-44.75 max-2md:first:flex-[1_0_100%] max-md:px-6",I,(Z&&!q&&!J&&!G||Q&&G)&&"border-periwinkle-100",!q&&!J&&"bg-white",z&&"max-2md:grid max-2md:grid-cols-2 max-2md:gap-17 max-sm:block"),"data-sentry-component":"ProductCard","data-sentry-source-file":"product-card.tsx",children:[(0,o.jsxs)("div",{className:(0,j.cn)("contents",z&&"max-sm flex-col justify-between max-2md:flex max-sm:contents"),children:[(0,o.jsxs)("div",{className:"flex items-center justify-between",children:[(0,o.jsxs)("h3",{className:"flex items-center gap-1.5 text-base font-medium text-dark-700",children:[t.name," ",t.key!==s.B.Free&&(0,o.jsx)(g.R,{promoCode:L})]}),Z&&!q&&!J&&!R&&(0,o.jsx)(h.v,{type:"popular"}),q&&(0,o.jsx)(h.v,{type:"current"}),Q&&R&&(0,o.jsx)(h.v,{type:"best"})]}),(0,o.jsx)(v.P,{interval:r,plans:t.plans,promoCode:L,size:S?"lg":"md",classes:{wrapper:"flex-1 "},shouldNotTruncate:F,"data-sentry-element":"BillingProductPrice","data-sentry-source-file":"product-card.tsx"}),(0,o.jsx)(f.Button,{variant:$,className:(0,j.cn)("mt-4 h-10 w-full py-3 text-sm font-medium max-md:py-2",M,(q||J)&&"border-grey-500 bg-transparent text-dark-300",J&&"cursor-not-allowed hover:bg-transparent",z&&"max-2md:mt-8 max-sm:mt-4"),onClick:J?function(){}:X,size:"lg",loading:A,"data-sentry-element":"Button","data-sentry-source-file":"product-card.tsx",children:W})]}),(0,o.jsx)("div",{className:(0,j.cn)("my-7 h-0.25 w-full bg-grey-500",z&&"max-2md:hidden max-sm:block")}),(0,o.jsxs)("div",{className:(0,j.cn)("contents",z&&"max-2md:block"),children:[(0,o.jsx)("h4",{className:"text-sm font-semibold text-dark-500",children:H}),(0,o.jsx)("ul",{className:"mt-6 flex flex-col gap-6",children:K.map(function(e){var n=e.title,r=e.tooltip,a=e.limits;return(0,o.jsx)(x.d,{title:n,description:r,isActive:k(a)&&!i(t)&&!T(t)},n)})})]})]})},N=n(76197),k=function(e){var t=e.className,n=(0,i._)(e,["className"]),l=(0,y.D)({product:null,isCustomProduct:!0}).benefits;return(0,o.jsxs)("li",{className:(0,j.cn)("min-w-59.5 flex-1 rounded-2lg border border-grey-600 bg-white p-7 pt-6 max-md:px-6",t),"data-sentry-component":"CustomProductCard","data-sentry-source-file":"custom-product-card.tsx",children:[(0,o.jsx)("h3",{className:"text-base font-medium text-dark-700",children:"Need more?"}),(0,o.jsx)("h2",{className:"mt-6 text-2xl font-semibold text-dark-700",children:"Custom"}),(0,o.jsx)(N.n,(0,a._)((0,r._)({},n),{"data-sentry-element":"BillingCustomProductRequestDialog","data-sentry-source-file":"custom-product-card.tsx",children:(0,o.jsx)(f.Button,{variant:"dark",size:"lg",className:"mt-4 h-10 w-full py-3 text-sm font-medium max-md:py-2","data-sentry-element":"Button","data-sentry-source-file":"custom-product-card.tsx",children:"Contact us"})})),(0,o.jsx)("div",{className:"my-7 h-px w-full bg-grey-500"}),(0,o.jsx)("ul",{className:"mt-6 flex flex-col gap-6",children:l.map(function(e){var t=e.title,n=e.active;return(0,o.jsx)(x.d,{title:t,isActive:n},t)})})]})},P=function(e){var t=e.products,n=e.listClassName,c=e.tabsClassName,d=e.onStart,m=e.interval,f=e.setInterval,p=e.showCustomProduct,x=e.callbackWhenSubmittedCustomProduct,v=void 0===x?function(){}:x,g=e.showIntervalTabs,h=void 0===g||g,y=e.subscription,b=void 0===y?null:y,w=e.productCardClassName,_=e.paywallVariation,N=(0,i._)(e,["products","listClassName","tabsClassName","onStart","interval","setInterval","showCustomProduct","callbackWhenSubmittedCustomProduct","showIntervalTabs","subscription","productCardClassName","paywallVariation"]),P=(0,l.useMemo)(function(){return t.find(function(e){return e.plans.some(function(e){return e.amount>0})})},[t]),T=(0,l.useMemo)(function(){return!t.some(function(e){return e.key===s.B.Plus})},[t]);return(0,o.jsxs)(o.Fragment,{children:[h&&(0,o.jsx)(u.n,{interval:m,setInterval:f,referenceProduct:P,className:c}),(0,o.jsxs)("ul",{className:(0,j.cn)("flex w-full flex-wrap gap-5 max-md:gap-5",n),children:[t.map(function(e,n){return(0,l.createElement)(C,(0,a._)((0,r._)({},N),{subscription:b,product:e,onStart:function(){return null==d?void 0:d(e)},key:e.id,interval:m,className:w,thereIsNoPlus:T,shouldBeAdaptive:(p||t.length>2)&&!n,paywallVariation:_}))}),p&&(0,o.jsx)(k,{callback:v,className:w})]})]})}},88540:function(e,t,n){n.d(t,{$:function(){return E}});var r,a,i=n(28535),o=n(83484),l=n(27573),s=n(7653),u=n(79281),c=n(73006),d=n(60523),m=n(27614),f=n(93030),p=n(36769),x=n(8273),v=n(6207),g=n(95828),h=n(88723),y=n(36394),b=function(e){var t,n=e.product,r=e.onClick,a=e.interval,i=e.isCurrent,o=e.trialUsed,u=e.isLanding,c=e.subscription,b=e.showHeaderActions,w=e.classes,_=e.promoCode,j=e.paywallVariation,C=(0,x.l)({product:n,isCurrent:i,trialUsed:o,subscription:c}),N=C.title,k=C.variant,P=C.isTrialAvailable,T=(0,g.$)({product:n}).isPopular,B=(0,v.v)({product:n}).isBestValue,M=(0,s.useMemo)(function(){var e,t,a,i,o,s;return u?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(d.Button,{variant:k,className:(0,y.cn)("mt-2 max-sm:hidden",null==w||null===(e=w.buttons)||void 0===e?void 0:e.desktop),onClick:r,children:n.key===h.B.Free?"Get started":(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"max-md:hidden",children:(null===(t=n.trial)||void 0===t?void 0:t.days)?"Start free ".concat(null===(a=n.trial)||void 0===a?void 0:a.days,"-day trial"):"Start free trial"}),(0,l.jsx)("span",{className:"hidden max-md:inline",children:"Start free trial"})]})}),(0,l.jsx)(d.Button,{variant:"outline"===k?"default":k,className:(0,y.cn)("mt-2 hidden max-sm:flex",null==w||null===(i=w.buttons)||void 0===i?void 0:i.mobile),onClick:r,children:"Start"})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(d.Button,{variant:k,className:(0,y.cn)("mt-2",P&&"max-sm:hidden",null==w||null===(o=w.buttons)||void 0===o?void 0:o.desktop),onClick:r,children:N}),P&&(0,l.jsx)(d.Button,{variant:"outline"===k?"default":k,className:(0,y.cn)("mt-2 hidden max-sm:flex",null==w||null===(s=w.buttons)||void 0===s?void 0:s.desktop),onClick:r,children:"Start"})]})}
1,[u,P,r,n.key,null===(t=n.trial)||void 0===t?void 0:t.days,N,k]);return(0,l.jsx)("td",{"data-sentry-component":"HeadCell","data-sentry-source-file":"head-cell.tsx",children:(0,l.jsxs)("div",{className:"px-6 pb-7",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("h3",{className:"text-base font-medium text-dark-700",children:n.name}),j===m.PaywallVariation.Meta?B&&(0,l.jsx)(p.v,{type:"best"}):T&&(0,l.jsx)(p.v,{type:"popular",className:"min-w-22.5"})]}),(0,l.jsx)(f.P,{interval:a,plans:n.plans,promoCode:null!=_?_:null,classes:{price:{crossed:"hidden"}},size:"sm",shouldNotTruncate:!0,"data-sentry-element":"BillingProductPrice","data-sentry-source-file":"head-cell.tsx"}),b&&M]})})},w=n(27266),_=n(84187),j=n(95395),C=function(e){var t=e.type,n=(0,w._)(e,["type"]),r=(0,s.useMemo)(function(){if("boolean"===t)return n.value?(0,l.jsx)(j.n,{className:"size-3.5 text-dark-700"}):(0,l.jsx)(_.r,{className:"size-3.5 text-dark-100"});if("text"===t){var e=n.title,r=n.subtitle,a=n.tooltip,i=n.hasUnderline;return(0,l.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,l.jsx)("h4",{className:"text-sm font-regular text-dark-700",children:(0,l.jsx)(u.R,{content:a,tooltip:{content:{hidden:!a,className:"z-1000",side:"right",sideOffset:0}},popover:{content:{hidden:!a,className:"z-1000 max-w-50",side:"right",sideOffset:0}},children:(0,l.jsx)("span",{className:(0,y.cn)("whitespace-nowrap",i&&"underline decoration-dark-100 decoration-dotted"),style:{textUnderlinePosition:"from-font"},children:e})})}),r&&(0,l.jsx)("p",{className:"text-xs font-regular whitespace-nowrap text-dark-400",children:r})]})}return(0,l.jsx)(l.Fragment,{})},[n,t]);return(0,l.jsx)("td",{"data-sentry-component":"BodyCell","data-sentry-source-file":"body-cell.tsx",children:(0,l.jsx)("div",{className:"px-6 py-7.5 max-xs:px-5",children:r})})},N=n(50906),k=n(51667),P=n(30546),T=[{title:"Upload unlimited documents",tooltip:"Add unlimited files to your account without worrying about storage caps.",values:(r={},(0,N._)(r,h.B.Free,{type:"boolean",value:!0}),(0,N._)(r,h.B.Plus,{type:"boolean",value:!0}),(0,N._)(r,h.B.Pro,{type:"boolean",value:!0}),r)},{title:"Store files safely in the cloud",tooltip:"Keep your documents secure, backed up, and accessible from any device.",values:(a={},(0,N._)(a,h.B.Free,{type:"boolean",value:!0}),(0,N._)(a,h.B.Plus,{type:"boolean",value:!0}),(0,N._)(a,h.B.Pro,{type:"boolean",value:!0}),a)}],B={type:"text",title:"Unlimited"},M=function(e){return{type:"boolean",value:e}},S=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return{type:"text",title:(0,P.fE)(e,t,n),subtitle:"per month"}},I=function(e){return Intl.NumberFormat("en-US").format(e)},E=function(e){var t=e.products,n=e.headerClassName,r=e.wrapperClassName,a=e.labelCellClassName,d=e.onClick,m=e.interval,f=e.checkIfIsCurrent,p=void 0===f?function(){return!1}:f,x=e.trialUsed,v=void 0!==x&&x,g=e.isLanding,w=e.tableWrapperClassName,_=e.subscription,j=void 0===_?null:_,E=e.showHeaderActions,L=void 0!==E&&E,D=e.classes,z=e.promoCode,F=e.paywallVariation,R=function(e){var t=e.products,n=(0,s.useMemo)(function(){return t.length?Object.fromEntries(t.map(function(e){return[e.key,e.features]})):null},[t]),r=(0,s.useMemo)(function(){var e,t,r,a,i,o,l,s,u,c,d,m,f,p,x,v,g,y,b,w,_,j,C;if(!n)return[];var E,L,D,z,F,R,U,A,V,q,O,H,K,Y,W,$,Z,Q=n[h.B.Free],G=n[h.B.Pro],J=n[h.B.Plus],X=(0,P.fE)(null!==(E=null==J||null===(t=J.sign)||void 0===t||null===(e=t.requests)||void 0===e?void 0:e.limit)&&void 0!==E?E:0,"request");return(0,k._)(T).concat([{title:"Sign securely and legally",tooltip:"Apply your legally binding electronic signature to any document.",values:(O={},(0,N._)(O,h.B.Free,S(null==Q||null===(a=Q.sign)||void 0===a||null===(r=a.selfSign)||void 0===r?void 0:r.limit,"document")),(0,N._)(O,h.B.Plus,B),(0,N._)(O,h.B.Pro,B),O)},{title:"Edit and prepare PDFs for signing",tooltip:"Tweak your agreements and insert fillable fields for signers to complete.",values:(H={},(0,N._)(H,h.B.Free,M(!1)),(0,N._)(H,h.B.Plus,M(!0)),(0,N._)(H,h.B.Pro,M(!0)),H)},{title:"Request eSignatures",tooltip:"Send documents to others to collect their legally binding signatures.",values:(K={},(0,N._)(K,h.B.Free,M(!1)),(0,N._)(K,h.B.Plus,{type:"text",title:X,subtitle:"per month",tooltip:"Up to ".concat(X," per document."),hasUnderline:!0}),(0,N._)(K,h.B.Pro,{type:"text",title:(0,P.fE)(null!==(L=null==G||null===(o=G.sign)||void 0===o||null===(i=o.requests)||void 0===i?void 0:i.limit)&&void 0!==L?L:0,"request"),subtitle:"per month",tooltip:"Up to ".concat((0,P.fE)(null!==(D=null==G||null===(s=G.sign)||void 0===s||null===(l=s.signers)||void 0===l?void 0:l.limit)&&void 0!==D?D:0,"signer")," per document."),hasUnderline:!0}),K)},{title:"Access legal templates",tooltip:"Browse and customize professionally drafted agreements and legal documents.",values:(Y={},(0,N._)(Y,h.B.Free,{type:"text",title:"".concat(I(null==Q||null===(u=Q.templates)||void 0===u?void 0:u.librarySize),"+ templates"),subtitle:"".concat((0,P.fE)(null!==(z=null==Q||null===(d=Q.templates)||void 0===d||null===(c=d.usages)||void 0===c?void 0:c.limit)&&void 0!==z?z:0,"template")," per month"),tooltip:"Free Loio templates only.",hasUnderline:!0}),(0,N._)(Y,h.B.Plus,{type:"text",title:"".concat(I(null!==(F=null==J||null===(m=J.templates)||void 0===m?void 0:m.librarySize)&&void 0!==F?F:0),"+ templates"),subtitle:"".concat((0,P.fE)(null!==(R=null==J||null===(p=J.templates)||void 0===p||null===(f=p.usages)||void 0===f?void 0:f.limit)&&void 0!==R?R:0,"template")," per month"),tooltip:"Free and Plus-tier templates.",hasUnderline:!0}),(0,N._)(Y,h.B.Pro,{type:"text",title:"".concat(I(null!==(U=null==G||null===(x=G.templates)||void 0===x?void 0:x.librarySize)&&void 0!==U?U:0),"+ templates"),subtitle:"".concat((0,P.fE)(null!==(A=null==G||null===(g=G.templates)||void 0===g||null===(v=g.usages)||void 0===v?void 0:v.limit)&&void 0!==A?A:0,"template")," per month"),tooltip:"Free, Plus, and Pro-tier templates.",hasUnderline:!0}),Y)},{title:"Summarize incoming files with AI",tooltip:"Instantly understand agreements sent to you without reading every page.",values:(W={},(0,N._)(W,h.B.Free,B),(0,N._)(W,h.B.Plus,B),(0,N._)(W,h.B.Pro,B),W)},{title:"Summarize uploaded files with AI",tooltip:"Upload agreements and let AI summarize key clauses and pinpoint legal r
1isks.",values:($={},(0,N._)($,h.B.Free,S(null==Q||null===(b=Q.ai)||void 0===b||null===(y=b.summaries)||void 0===y?void 0:y.limit,"summary","summaries")),(0,N._)($,h.B.Plus,S(null!==(V=null==J||null===(_=J.ai)||void 0===_||null===(w=_.summaries)||void 0===w?void 0:w.limit)&&void 0!==V?V:0,"summary","summaries")),(0,N._)($,h.B.Pro,S(null!==(q=null==G||null===(C=G.ai)||void 0===C||null===(j=C.summaries)||void 0===j?void 0:j.limit)&&void 0!==q?q:0,"summary","summaries")),$)},{title:"Get support via Live Chat",tooltip:"Get quick responses without waiting for emails.",values:(Z={},(0,N._)(Z,h.B.Free,M(!1)),(0,N._)(Z,h.B.Plus,M(!0)),(0,N._)(Z,h.B.Pro,{type:"text",title:"Priority support"}),Z)}])},[n]);return{benefits:r}}({products:t}).benefits;return(0,l.jsx)("div",{className:(0,y.cn)("mx-auto mt-10 max-w-300 max-md:mt-5",r),"data-sentry-component":"BillingProductsComparison","data-sentry-source-file":"billing-products-comparison.tsx",children:(0,l.jsx)("div",{className:(0,y.cn)("pt-10 max-md:px-10 max-xs:overflow-x-auto max-xs:px-5",w),children:(0,l.jsxs)("table",{className:"w-full",children:[(0,l.jsx)("thead",{className:(0,y.cn)("sticky top-16 bg-white-1000 max-xs:top-0",n),children:(0,l.jsxs)("tr",{className:"border-b border-b-grey-400",children:[(0,l.jsx)("td",{}),t.map(function(e){return(0,l.jsx)(b,{product:e,onClick:function(){return null==d?void 0:d(e)},interval:m,isCurrent:p(e),trialUsed:v,isLanding:g,subscription:j,showHeaderActions:L,classes:null==D?void 0:D.headCell,promoCode:z,paywallVariation:F},e.key)})]})}),(0,l.jsx)("tbody",{children:R.map(function(e){var n=e.title,r=e.values,d=e.tooltip;return(0,l.jsxs)("tr",{className:"border-b border-b-grey-400 last:border-b-0",children:[(0,l.jsx)("td",{children:(0,l.jsxs)("h3",{className:(0,y.cn)("flex min-w-39 items-start gap-2 pr-6 text-sm font-medium text-dark-700 max-xs:pr-5",a),children:[n,!!d&&(0,l.jsx)(u.R,{content:d,tooltip:{trigger:{className:"py-0.5"},content:{className:"z-1000",side:"right",sideOffset:0}},popover:{trigger:{className:"py-0.5"},content:{className:"z-1000 max-w-50",side:"right",sideOffset:0}},children:(0,l.jsx)("span",{className:"size-4",children:(0,l.jsx)(c.z,{className:"size-4 text-dark-100"})})})]})}),t.map(function(e){var t=e.key;return(0,s.createElement)(C,(0,o._)((0,i._)({},r[t]),{key:t}))})]},n)})})]})})})}},36769:function(e,t,n){n.d(t,{v:function(){return o}});var r=n(27573),a=n(7653),i=n(36394),o=function(e){var t=e.type,n=e.className,o=(0,a.useMemo)(function(){switch(t){case"current":return"Current plan";case"popular":return"Most popular";case"best":return"Best value"}},[t]);return(0,r.jsx)("span",{className:(0,i.cn)("rounded-full bg-roles-mauve-pale-purple-2 px-2 py-1 text-xs font-semibold text-roles-mauve-dark-purple",{"bg-grey-500 text-dark-500":"current"===t},n),"data-sentry-component":"PlanLabel","data-sentry-source-file":"plan-label.tsx",children:o})}},8370:function(e,t,n){n.d(t,{D:function(){return f}});var r=n(51667),a=n(7653),i=n(27614),o=n(30546),l=n(88723),s=n(26236),u=function(e){return{title:"".concat((0,o.fE)(e,"AI summary","AI summaries")," per month"),tooltip:"Upload agreements and let AI summarize key clauses and pinpoint legal risks.",limits:[i.BillingLimitUsageKey.AiSummaries]}},c=function(e){return{title:"Everything in ".concat((t=e,String(t).charAt(0).toUpperCase()+String(t).slice(1)))};var t},d=function(e){return Intl.NumberFormat("en-US").format(e)},m=function(e,t){var n=t?" (".concat((0,o.fE)(t,"recipient")," on a free trial)"):"";return"Send documents for signing to up to ".concat((0,o.fE)(e,"recipient")).concat(n,".")},f=function(e){var t=e.product,n=e.isCustomProduct,f=e.thereIsNoPlus,p=e.paywallVariation===i.PaywallVariation.Meta,x=(0,a.useMemo)(function(){if(n)return[{title:"Tailored solution for your business"},{title:"Custom pricing"},{title:"Custom usage limits and features",active:!0}];if(!t)return[];var e=t.features;switch(t.key){case l.B.Free:var a,x,v,g,h,y=null!==(g=null===(x=e.sign)||void 0===x||null===(a=x.selfSign)||void 0===a?void 0:a.limit)&&void 0!==g?g:0;return[{title:"".concat((0,o.fE)(y,"signed document")," per month"),tooltip:"Sign one document every month.",limits:[i.BillingLimitUsageKey.SignSelfSign]},{title:"Basic legal templates",tooltip:"Access and customize essential agreements handcrafted by lawyers."},u(null!==(h=null===(v=e.ai.summaries)||void 0===v?void 0:v.limit)&&void 0!==h?h:0)];case l.B.Plus:var b,w,_,j,C,N,k,P,T,B,M,S,I,E,L,D;return p?s.I6:[c(l.B.Free),{title:"".concat(d(null!==(S=null===(b=e.templates)||void 0===b?void 0:b.librarySize)&&void 0!==S?S:0),"+ premium templates"),tooltip:"Unlock advanced agreements covering a wide range of use cases.",limits:[i.BillingLimitUsageKey.TemplatesUsages]},{title:"Unlimited signing & PDF editing",tooltip:"Quickly sign and tweak documents in one place.",limits:[i.BillingLimitUsageKey.PdfContentEdit,i.BillingLimitUsageKey.SignSelfSign]},{title:"".concat((0,o.fE)(null!==(I=null===(_=e.sign)||void 0===_||null===(w=_.requests)||void 0===w?void 0:w.limit)&&void 0!==I?I:0,"eSign request")," per month, ").concat((0,o.fE)(null!==(E=null===(C=e.sign)||void 0===C||null===(j=C.signers)||void 0===j?void 0:j.limit)&&void 0!==E?E:0,"signer")," max"),tooltip:m(null!==(L=null===(k=e.sign)||void 0===k||null===(N=k.signers)||void 0===N?void 0:N.limit)&&void 0!==L?L:0,null===(T=e.sign)||void 0===T||null===(P=T.signers)||void 0===P?void 0:P.limitTrial),limits:[i.BillingLimitUsageKey.SignRequests]},u(null!==(D=null===(M=e.ai)||void 0===M||null===(B=M.summaries)||void 0===B?void 0:B.limit)&&void 0!==D?D:0),{title:"Live chat support",tooltip:"Get quick help while you work."}];case l.B.Pro:var z,F,R,U,A,V,q,O,H,K,Y,W,$,Z,Q,G;return p?s.g5:(0,r._)(f?[]:[c(l.B.Plus)]).concat([{title:"".concat(d(null!==(W=null===(z=e.templates)||void 0===z?void 0:z.librarySize)&&void 0!==W?W:0),"+ templates for any task"),tooltip:"Access our entire library of handcrafted legal documents.",limits:[i.BillingLimitUsageKey.TemplatesUsages]}],(0,r._)(f?[{title:"Unlimited signing & PDF editing",tooltip:"Quickly sign and tweak documents in one place.",limits:[i.BillingLimitUsageKey.PdfContentEdit,i.BillingLimitUsageKey.SignSelfSign]}]:[]),[{title:"".concat((0,o.fE)(null!==($=null===(R=e.sign)||void 0===R||null===(F=R.requests)||void 0===F?void 0:F.limit)&&void 0!==$?$:0,"eSign request")," per month, ").concat((0,o.fE)(null!==(Z=null===(A=e.sign)||void 0===A||null===(U=A.signers)||void 0===U?void 0:U.limit)&&void 0!==Z?Z:0,"signer")," max"),tooltip:m(null!==(Q=null===(q=e.sign)||void 0===q||null===(V=q.signers)||void 0===V?void 0:V.limit)&&void 0!==Q?Q:0,null===(H=e.sign)||void 0===H||null===(O=H.signers)||void 0===O?void 0:O.limitTrial),limits:[i.BillingLimitUsageKey.SignRequests]},u(null!==(G=null===(Y=e.ai)||void 0===Y||null===(K=Y.summaries)||void 0===K?void 0:K.limit)&&void 0!==G?G:0),{title:"Priority support",tooltip:"Skip the queue and get faster responses."}]);default:return[]}},[n,t,f,p]);return{benefitTitle:(0,a.useMemo)(function(){if(!t)return"";switch(t.key){case l.B.Free:return"Create and sign documents";case l.B.Plus:return p?"Create, edit, review & sign":"Edit and send for signatures";case l.B.Pro:return"Unlock everything, do more";default:return""}}
1,[t,p]),benefits:x}}},8273:function(e,t,n){n.d(t,{l:function(){return s}});var r=n(7653),a=n(27614),i=n(88723),o=n(36269),l=n(30546),s=function(e){var t,n=e.product,s=e.isCurrent,u=e.trialUsed,c=e.subscription,d=e.paywallVariation,m=(0,r.useMemo)(function(){return(0,l.z6)(c)},[c]),f=m.subscription,p=m.isCanceled,x=(0,o.L)({days:null==n||null===(t=n.trial)||void 0===t?void 0:t.days,ignoreWeekNotation:d===a.PaywallVariation.Meta}).durationForButton,v=(0,r.useMemo)(function(){if(s)return"outline";if(d===a.PaywallVariation.Meta)switch(null==n?void 0:n.key){case i.B.Plus:return"default";case i.B.Pro:return"mauve"}switch(null==n?void 0:n.key){case i.B.Free:return"secondary";case i.B.Plus:return"mauve";case i.B.Pro:default:return"default"}},[n,s,d]),g=(0,r.useMemo)(function(){if(!n)return{title:""};if(s)return{title:"Stay on ".concat(n.name)};if(!f)return n.key===i.B.Free?{title:"Get started"}:!u&&n.trial?{title:n.trial.days?d===a.PaywallVariation.Meta?"Start ".concat(x," free trial"):"Start free ".concat(x," trial"):"Start free trial",isTrialAvailable:!0}:{title:"Choose ".concat(n.name)};var e=(0,l.oL)({currentProductKey:null==f?void 0:f.productKey,targetProductKey:n.key,currentTier:null==c?void 0:c.productTier,targetTier:n.tier});return"upgrade"!==e||p?"downgrade"!==e||p?{title:"Choose ".concat(n.name)}:{title:"Downgrade to ".concat(n.name)}:{title:"Upgrade to ".concat(n.name)}},[f,s,n,null==c?void 0:c.productTier,u,p,x,d]),h=g.title,y=g.isTrialAvailable;return{variant:v,title:h,isTrialAvailable:void 0!==y&&y}}},7135:function(e,t,n){n.d(t,{J:function(){return o}});var r=n(7653),a=n(27614),i=n(30546),o=function(e){var t=e.plans,n=e.promoCode,o=(0,r.useMemo)(function(){return!!n&&n.type!==a.PromocodeType.FreeTemplate},[n]),l=(0,r.useMemo)(function(){return Object.fromEntries(t.map(function(e){return[e.interval,e]}))},[t]),s=(0,r.useMemo)(function(){var e=l[a.BillingSubscriptionInterval.Month],t=0,r=0;return e?(t=(0,i.QD)(e.amount),o&&(r=t,t=(0,i.QD)((0,i.Et)(n,e.amount))),{actual:t,original:r}):null},[o,l,n]),u=(0,r.useMemo)(function(){var e=l[a.BillingSubscriptionInterval.Year],t=l[a.BillingSubscriptionInterval.Month],r=0,s=0;return t&&e?(s=(0,i.QD)(t.amount),r=(0,i.QD)(e.amount/12),o&&(s=r,r=(0,i.QD)((0,i.Et)(n,e.amount)/12)),{actual:r,original:s}):null},[o,l,n]);return{shouldApplyPromoCode:o,annualPrice:u,monthlyPrice:s}}},36269:function(e,t,n){n.d(t,{L:function(){return o}});var r=n(7653),a=n(55651),i=n(50275),o=function(e){var t=e.days,n=void 0===t?0:t,o=e.ignoreWeekNotation,l=void 0!==o&&o;return{trialEnds:(0,r.useMemo)(function(){var e=(0,a.Z)(new Date,n||0);return(0,i.p6)(e,"MMMM d, yyyy")},[n]),duration:(0,r.useMemo)(function(){var e=n||0;if(1===e)return"1 day";if(e<7)return"".concat(e," days");if(e<30){if(l)return"".concat(e," days");var t=Math.floor(e/7);return 1===t?"1 week":"".concat(t," weeks")}var r=Math.floor(e/30);return 1===r?"1 month":"".concat(r," months")},[n]),durationForButton:(0,r.useMemo)(function(){var e=n||0;if(1===e)return"1-day";if(e<=7)return"".concat(e,"-day");if(e<=30){if(l)return"".concat(e,"-day");var t=Math.floor(e/7);return"".concat(t,"-week")}var r=Math.floor(e/30);return"".concat(r,"-month")},[n,l])}}},6207:function(e,t,n){n.d(t,{v:function(){return i}});var r=n(7653),a=n(88723),i=function(e){var t=e.product;return{isBestValue:(0,r.useMemo)(function(){return t.key===a.B.Pro},[t.key])}}},95828:function(e,t,n){n.d(t,{$:function(){return i}});var r=n(7653),a=n(88723),i=function(e){var t=e.product;return{isPopular:(0,r.useMemo)(function(){return t.key===a.B.Plus},[t.key])}}},92434:function(e,t,n){n.d(t,{r:function(){return l}});var r=n(28535),a=n(83484),i=n(27266),o=n(27573),l=function(e){var t=e.title,n=e.titleId,l=(0,i._)(e,["title","titleId"]);return(0,o.jsxs)("svg",(0,a._)((0,r._)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",fill:"currentColor","aria-labelledby":n},l),{children:[t?(0,o.jsx)("title",{id:n,children:t}):null,(0,o.jsx)("path",{d:"m13 16.172 5.364-5.364 1.414 1.414L12 20l-7.778-7.778 1.414-1.414L11 16.172V4h2z"})]}))}},84187:function(e,t,n){n.d(t,{r:function(){return l}});var r=n(28535),a=n(83484),i=n(27266),o=n(27573),l=function(e){var t=e.title,n=e.titleId,l=(0,i._)(e,["title","titleId"]);return(0,o.jsxs)("svg",(0,a._)((0,r._)({viewBox:"0 0 14 14",fill:"
1currentColor",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em","aria-labelledby":n},l),{children:[t?(0,o.jsx)("title",{id:n,children:t}):null,(0,o.jsx)("path",{d:"M2.917 7h8.166",stroke:"currentColor",strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round"})]}))}},57457:function(e,t,n){n.d(t,{d:function(){return s}});var r=n(28535),a=n(27266),i=n(27573),o=n(35476),l=(n(7653),n(43556)),s=function(e){var t=e.className,n=(0,a._)(e,["className"]);return(0,i.jsx)(o.List,(0,r._)({"data-slot":"tabs-list",className:(0,l.cn)("bg-grey-300 inline-flex w-fit items-center justify-center gap-1 rounded-lg","data-[orientation=vertical]:h-fit data-[orientation=vertical]:flex-col",t)},n))}},8267:function(e,t,n){n.d(t,{S:function(){return s}});var r=n(28535),a=n(27266),i=n(27573),o=(n(7653),n(35476)),l=n(43556),s=function(e){var t=e.className,n=(0,a._)(e,["className"]);return(0,i.jsx)(o.Trigger,(0,r._)({"data-slot":"tabs-trigger",className:(0,l.cn)("flex flex-1 cursor-pointer items-center justify-center gap-1.5","px-3 py-1 text-sm font-medium whitespace-nowrap","rounded-md border border-transparent transition-colors","text-dark-800/50","data-[state=active]:text-dark-800 data-[state=active]:border-grey-600 data-[state=active]:border data-[state=active]:bg-white","hover:bg-grey-100","focus-visible:border-dark-600 focus-visible:ring-grey-700 focus-visible:ring-[1px]","disabled:pointer-events-none disabled:opacity-50",t)},n))}},94298:function(e,t,n){n.r(t),n.d(t,{Tabs:function(){return s}});var r=n(28535),a=n(27266),i=n(27573),o=n(35476),l=n(43556),s=(n(7653),function(e){var t=e.className,n=(0,a._)(e,["className"]);return(0,i.jsx)(o.Root,(0,r._)({"data-slot":"tabs",className:(0,l.cn)("flex flex-col gap-2 data-[orientation=vertical]:flex-row",t)},n))})},82907:function(e,t,n){n.d(t,{_:function(){return u}});var r=n(28535),a=n(83484),i=n(27266),o=n(27573),l=n(43356),s=n(43556),u=function(e){var t=e.className,n=e.children,u=e.sideOffset,c=void 0===u?10:u,d=e.hasArrow,m=void 0===d||d,f=e.portalProps,p=(0,i._)(e,["className","children","sideOffset","hasArrow","portalProps"]);return(0,o.jsx)(l.h_,(0,a._)((0,r._)({},f),{children:(0,o.jsxs)(l.VY,(0,a._)((0,r._)({"data-slot":"tooltip-content",sideOffset:c,className:(0,s.cn)("font-main text-xs bg-dark-700 text-white animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-balance",t)},p),{children:[n,m&&(0,o.jsx)(l.Eh,{className:"bg-dark-700 fill-dark-700 z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]"})]}))}))}},43763:function(e,t,n){n.d(t,{p:function(){return l}});var r=n(28535),a=n(27266),i=n(27573),o=n(43356),l=function(e){var t=e.delayDuration,n=void 0===t?0:t,l=(0,a._)(e,["delayDuration"]);return(0,i.jsx)(o.zt,(0,r._)({"data-slot":"tooltip-provider",delayDuration:n},l))}},73168:function(e,t,n){n.d(t,{a:function(){return o}});var r=n(28535),a=n(27573),i=n(43356),o=function(e){return(0,a.jsx)(i.xz,(0,r._)({"data-slot":"tooltip-trigger"},e))}},68424:function(e,t,n){n.d(t,{u:function(){return l}});var r=n(28535),a=n(27573),i=n(43356),o=n(43763),l=function(e){return(0,a.jsx)(o.p,{children:(0,a.jsx)(i.fC,(0,r._)({"data-slot":"tooltip"},e))})}},79281:function(e,t,n){n.d(t,{R:function(){return f}});var r=n(28535),a=n(83484),i=n(27573),o=n(43556),l=n(68424),s=n(73168),u=n(82907),c=n(79248),d=n(35147),m=n(10100),f=function(e){var t,n,f,p=e.content,x=e.tooltip,v=void 0===x?{content:{},root:{},trigger:{}}:x,g=e.children,h=e.popover,y=void 0===h?{content:{},root:{},trigger:{}}:h;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(l.u,(0,a._)((0,r._)({},v.root),{children:[g&&(0,i.jsx)(s.a,(0,a._)((0,r._)({},v.trigger),{className:(0,o.cn)(null===(t=v.trigger)||void 0===t?void 0:t.className,"max-md:hidden"),children:g})),(0,i.jsx)(u._,(0,a._)((0,r._)({},v.content),{className:(0,o.cn)(null===(n=v.content)||void 0===n?void 0:n.className,"max-md:hidden"),children:p}))]})),(0,i.jsxs)(c.J,(0,a._)((0,r._)({},y.root),{children:[g&&(0,i.jsx)(d.x,(0,a._)((0,r._)({asChild:!0},y.trigger),{className:"hidden max-md:block",children:g})),(0,i.jsx)(m.y,(0,a._)((0,r._)({},y.content),{className:(0,o.cn)("font-main bg-dark-700 z-50 hidden w-fit roun
1ded-md px-3 py-1.5 text-xs text-balance text-white max-md:block",null===(f=y.content)||void 0===f?void 0:f.className),children:p}))]}))]})}},35476:function(e,t,n){n.r(t),n.d(t,{Content:function(){return z},List:function(){return L},Root:function(){return E},Tabs:function(){return P},TabsContent:function(){return M},TabsList:function(){return T},TabsTrigger:function(){return B},Trigger:function(){return D},createTabsScope:function(){return _}});var r=n(28535),a=n(83484),i=n(27266),o=n(62652),l=n(7653),s=n(36529),u=n(67229),c=n(85891),d=n(41826),m=n(50996),f=n(4639),p=n(30560),x=n(83027),v=n(27573),g=Object.defineProperty,h=function(e,t){return g(e,"name",{value:t,configurable:!0})},y="Tabs",b=(0,o._)((0,u.b)(y,[c.Pc]),2),w=b[0],_=b[1],j=(0,c.Pc)(),C=(0,o._)(w(y),2),N=C[0],k=C[1],P=l.forwardRef(h(function(e,t){var n=e.__scopeTabs,l=e.value,s=e.onValueChange,u=e.defaultValue,c=e.orientation,d=void 0===c?"horizontal":c,g=e.dir,h=e.activationMode,b=void 0===h?"automatic":h,w=(0,i._)(e,["__scopeTabs","value","onValueChange","defaultValue","orientation","dir","activationMode"]),_=(0,f.g)(g),j=(0,o._)((0,p.T)({prop:l,onChange:s,defaultProp:null!=u?u:"",caller:y}),2),C=j[0],k=j[1];return(0,v.jsx)(N,{scope:n,baseId:(0,x.M)(),value:C,onValueChange:k,orientation:d,dir:_,activationMode:b,children:(0,v.jsx)(m.W.div,(0,a._)((0,r._)({dir:_,"data-orientation":d},w),{ref:t}))})},"Tabs")),T=l.forwardRef(h(function(e,t){var n=e.__scopeTabs,o=e.loop,l=void 0===o||o,s=(0,i._)(e,["__scopeTabs","loop"]),u=k("TabsList",n),d=j(n);return(0,v.jsx)(c.fC,(0,a._)((0,r._)({asChild:!0},d),{orientation:u.orientation,dir:u.dir,loop:l,children:(0,v.jsx)(m.W.div,(0,a._)((0,r._)({role:"tablist","aria-orientation":u.orientation},s),{ref:t}))}))},"TabsList")),B=l.forwardRef(h(function(e,t){var n=e.__scopeTabs,o=e.value,l=e.disabled,u=void 0!==l&&l,d=(0,i._)(e,["__scopeTabs","value","disabled"]),f=k("TabsTrigger",n),p=j(n),x=S(f.baseId,o),g=I(f.baseId,o),h=o===f.value;return(0,v.jsx)(c.ck,(0,a._)((0,r._)({asChild:!0},p),{focusable:!u,active:h,children:(0,v.jsx)(m.W.button,(0,a._)((0,r._)({type:"button",role:"tab","aria-selected":h,"aria-controls":g,"data-state":h?"active":"inactive","data-disabled":u?"":void 0,disabled:u,id:x},d),{ref:t,onMouseDown:(0,s.Mj)(e.onMouseDown,function(e){u||0!==e.button||!1!==e.ctrlKey?e.preventDefault():f.onValueChange(o)}),onKeyDown:(0,s.Mj)(e.onKeyDown,function(e){u||e.target!==e.currentTarget||[" ","Enter"].includes(e.key)&&f.onValueChange(o)}),onFocus:(0,s.Mj)(e.onFocus,function(){var e="manual"!==f.activationMode;h||u||!e||f.onValueChange(o)})}))}))},"TabsTrigger")),M=l.forwardRef(h(function(e,t){var n=e.__scopeTabs,o=e.value,s=e.forceMount,u=e.children,c=(0,i._)(e,["__scopeTabs","value","forceMount","children"]),f=k("TabsContent",n),p=S(f.baseId,o),x=I(f.baseId,o),g=o===f.value,h=l.useRef(g);return l.useEffect(function(){var e=requestAnimationFrame(function(){return h.current=!1});return function(){return cancelAnimationFrame(e)}},[]),(0,v.jsx)(d.z,{present:s||g,children:function(n){var i=n.present;return(0,v.jsx)(m.W.div,(0,a._)((0,r._)({"data-state":g?"active":"inactive","data-orientation":f.orientation,role:"tabpanel","aria-labelledby":p,hidden:!i,id:x,tabIndex:0},c),{ref:t,style:(0,a._)((0,r._)({},e.style),{animationDuration:h.current?"0s":void 0}),children:i&&u}))}})},"TabsContent"));function S(e,t){return"".concat(e,"-trigger-").concat(t)}function I(e,t){return"".concat(e,"-content-").concat(t)}h(S,"makeTriggerId"),h(I,"makeContentId");var E=P,L=T,D=B,z=M},43356:function(e,t,n){n.d(t,{Eh:function(){return se},VY:function(){return le},fC:function(){return ae},h_:function(){return oe},xz:function(){return ie},zt:function(){return re}});var r=n(28535),a=n(83484),i=n(27266),o=n(62652),l=n(51667),s=n(7653),u=n(36529),c=n(38074),d=n(34966),m=n(85191),f=n(62778),p=n(16223),x=n(3744),v=n(41826),g=n(86778),h=n(1043),y=n(22746),b=n(35537),w=n(59034),_=n(27573),j=Object.defineProperty,C=function(e,t){return j(e,"name",{value:t,configurable:!0})},N=(0,o._)((0,d.b)("Tooltip",[p.D7]),2),k=N[0],P=(N[1],(0,p.D7)()),T="tooltip.open",B=(0,o._)(k("TooltipProvider"),2),M=B[0],S=B[1],I=C(function(e){var t=e.__scopeTooltip,n=e.delayDuration,r=void 0===n?700:n,a=e.skipDelayDuration,i=void 0===a?300:a,o=e.disableHoverableContent,l=void 0!==o&&o,u=e.children,c=s.useRef(!0),d=s.useRef(!1),m=s.useRef(0);return s.useEffect(function(){var e=m.current;return function(){return window.clearTimeout(e)}},[]),(0,_.jsx)(M,{scope:t,isOpenDelayedRef:c,delayDuration:r,onOpen:s.useCallback(function(){i<=0||(window.clearTimeout(m.current),c.current=!1)},[i]),onClose:s.useCallback(function(){i<=0||(window.clearTimeout(m.current),m.current=window.setTimeout(function(){return c.current=!0},i))},[i]),isPointerInTransitRef:d,onPointerInTransitChange:s.useCallback(function(e){d.current=e},[]),disableHoverableContent:l,children:u})},"TooltipProvider"),E="Tooltip",L=(0,o._)(k(E),2),D=L[0],z=L[1],F=C(function(e){var t=e.__scopeTooltip,n=e.children,i=e.open,l=e.defaultOpen,u=e.onOpenChange,c=e.disableHoverableContent,d=e.delayDuration,m=S(E,e.__scopeTooltip),x=P(t),v=(0,o._)(s.useState(null),2),g=v[0],h=v[1],b=(0,o._)(s.useState(void 0),2),w=b[0],j=b[1],N=(0,f.M)(),k=s.useRef(0),B=null!=c?c:m.disableHoverableContent,M=null!=d?d:m.delayDuration,I=s.useRef(!1),L=(0,o._)((0,y.T)({prop:i,defaultProp:null!=l&&l,onChange:C(function(e){e?(m.onOpen(),document.dispatchEvent(new CustomEvent(T))):m.onClose(),null==u||u(e)}
1,"onChange"),caller:E}),2),z=L[0],F=L[1],R=s.useMemo(function(){return z?I.current?"delayed-open":"instant-open":"closed"},[z]),U=s.useCallback(function(){window.clearTimeout(k.current),k.current=0,I.current=!1,F(!0)},[F]),A=s.useCallback(function(){window.clearTimeout(k.current),k.current=0,F(!1)},[F]),V=s.useCallback(function(){window.clearTimeout(k.current),k.current=window.setTimeout(function(){I.current=!0,F(!0),k.current=0},M)},[M,F]);s.useEffect(function(){return function(){k.current&&(window.clearTimeout(k.current),k.current=0)}},[]);var q=null!=w?w:N;return(0,_.jsx)(p.fC,(0,a._)((0,r._)({},x),{children:(0,_.jsx)(D,{scope:t,contentId:q,setContentId:j,open:z,stateAttribute:R,trigger:g,onTriggerChange:h,onTriggerEnter:s.useCallback(function(){m.isOpenDelayedRef.current?V():U()},[m.isOpenDelayedRef,V,U]),onTriggerLeave:s.useCallback(function(){B?A():(window.clearTimeout(k.current),k.current=0)},[A,B]),onOpen:U,onClose:A,disableHoverableContent:B,children:n})}))},"Tooltip"),R="TooltipTrigger",U=s.forwardRef(C(function(e,t){var n=e.__scopeTooltip,o=(0,i._)(e,["__scopeTooltip"]),l=z(R,n),d=S(R,n),m=P(n),f=s.useRef(null),x=(0,c.e)(t,f,l.onTriggerChange),v=s.useRef(!1),h=s.useRef(!1),y=s.useCallback(function(){return v.current=!1},[]);return s.useEffect(function(){return function(){return document.removeEventListener("pointerup",y)}},[y]),(0,_.jsx)(p.ee,(0,a._)((0,r._)({asChild:!0},m),{children:(0,_.jsx)(g.W.button,(0,a._)((0,r._)({"aria-describedby":l.open?l.contentId:void 0,"data-state":l.stateAttribute},o),{ref:x,onPointerMove:(0,u.Mj)(e.onPointerMove,function(e){"touch"!==e.pointerType&&(h.current||d.isPointerInTransitRef.current||(l.onTriggerEnter(),h.current=!0))}),onPointerLeave:(0,u.Mj)(e.onPointerLeave,function(){l.onTriggerLeave(),h.current=!1}),onPointerDown:(0,u.Mj)(e.onPointerDown,function(){l.open&&l.onClose(),v.current=!0,document.addEventListener("pointerup",y,{once:!0})}),onFocus:(0,u.Mj)(e.onFocus,function(){v.current||l.onOpen()}),onBlur:(0,u.Mj)(e.onBlur,l.onClose),onClick:(0,u.Mj)(e.onClick,l.onClose)}))}))},"TooltipTrigger")),A="TooltipPortal",V=(0,o._)(k(A,{forceMount:void 0}),2),q=V[0],O=V[1],H=C(function(e){var t=e.__scopeTooltip,n=e.forceMount,r=e.children,a=e.container,i=z(A,t);return(0,_.jsx)(q,{scope:t,forceMount:n,children:(0,_.jsx)(v.z,{present:n||i.open,children:(0,_.jsx)(x.h,{asChild:!0,container:a,children:r})})})},"TooltipPortal"),K="TooltipContent",Y=s.forwardRef(C(function(e,t){var n=O(K,e.__scopeTooltip),o=e.forceMount,l=void 0===o?n.forceMount:o,s=e.side,u=void 0===s?"top":s,c=(0,i._)(e,["forceMount","side"]),d=z(K,e.__scopeTooltip);return(0,_.jsx)(v.z,{present:l||d.open,children:d.disableHoverableContent?(0,_.jsx)(Z,(0,a._)((0,r._)({side:u},c),{ref:t})):(0,_.jsx)(W,(0,a._)((0,r._)({side:u},c),{ref:t}))})},"TooltipContent")),W=s.forwardRef(C(function(e,t){var n=z(K,e.__scopeTooltip),i=S(K,e.__scopeTooltip),u=s.useRef(null),d=(0,c.e)(t,u),m=(0,o._)(s.useState(null),2),f=m[0],p=m[1],x=n.trigger,v=n.onClose,g=u.current,h=i.onPointerInTransitChange,y=s.useCallback(function(){p(null),h(!1)},[h]),b=s.useCallback(function(e,t){var n=e.currentTarget,r={x:e.clientX,y:e.clientY},a=J(r,G(r,n.getBoundingClientRect())),i=X(t.getBoundingClientRect()),o=te((0,l._)(a).concat((0,l._)(i)));p(o),h(!0)},[h]);return s.useEffect(function(){return function(){return y()}},[y]),s.useEffect(function(){if(x&&g){var e=C(function(e){return b(e,g)},"handleTriggerLeave"),t=C(function(e){return b(e,x)},"handleContentLeave");return x.addEventListener("pointerleave",e),g.addEventListener("pointerleave",t),function(){x.removeEventListener("pointerleave",e),g.removeEventListener("pointerleave",t)}}},[x,g,b,y]),s.useEffect(function(){if(f){var e=C(function(e){var t=e.target,n={x:e.clientX,y:e.clientY},r=(null==x?void 0:x.contains(t))||(null==g?void 0:g.contains(t)),a=!ee(n,f);r?y():a&&(y(),v())},"handleTrackPointerGrace");return document.addEventListener("pointermove",e),function(){return document.removeEventListener("pointermove",e)}}},[x,g,f,v,y]),(0,_.jsx)(Z,(0,a._)((0,r._)({},e),{ref:d}))},"TooltipContentHoverable")),$=(0,h.s)("TooltipContent"),Z=s.forwardRef(C(function(e,t){var n=e.__scopeTooltip,o=e.children,l=e["aria-label"],u=e.id,c=e.onEscapeKeyDown,d=e.onPointerDownOutside,f=(0,i._)(e,["__scopeTooltip","children","aria-label","id","onEscapeKeyDown","onPointerDownOutside"]),x=z(K,n),v=P(n),g=x.onClose;s.useEffect(function(){return document.addEventListener(T,g),function(){return document.removeEventListener(T,g)}},[g]),s.useEffect(function(){if(x.trigger){var e=C(function(e){e.target instanceof Node&&e.target.contains(x.trigger)&&g()},"handleScroll");return window.addEventListener("scroll",e,{capture:!0}),function(){return window.removeEventListener("scroll",e,{capture:!0})}}},[x.trigger,g]);var h=x.setContentId;return(0,b.b)(function(){return h(u),function(){h(void 0)}},[u,h]),(0,_.jsx)(m.X,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:function(e){return e.preventDefault()},onDismiss:g,children:(0,_.jsxs)(p.VY,(0,a._)((0,r._)({"data-state":x.stateAttribute,role:l?void 0:"tooltip",id:l?void 0:x.contentId},v,f),{ref:t,style:(0,r._)({},f.style,{"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}),children:[(0,_.jsx)($,{children:o}),l?(0,_.jsx)(w.fC,{id:x.contentId,role:"tooltip",children:l}):null]}))})},"TooltipContentImpl")),Q=s.forwardRef(C(function(e,t){var n=e.__scopeTooltip,o=(0,i._)(e,["__scopeTooltip"]),l=P(n);return(0,_.jsx)(p.Eh,(0,a._)((0,r._)({},l,o),{ref:t}))},"TooltipArrow"));function G(e,t){var n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),a=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,a,i)){case i:return"left";case a:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function J(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}function X(e){var t=e.top,n=e.right,r=e.bottom,a=e.left;return[{x:a,y:t},{x:n,y:t},{x:n,y:r},{x:a,y:r}]}function ee(e,t){for(var n=e.x,r=e.y,a=!1,i=0,o=t.length-1;i<t.length;o=i++){var l=t[i],s=t[o],u=l.x,c=l.y,d=s.x,m=s.y;c>r!=m>r&&n<(d-u)*(r-c)/(m-c)+u&&(a=!a)}return a}function te(e){var t=e.slice();return t.sort(function(e,t){return e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0}),ne(t)}function ne(e){if(e.length<=1)return e.slice();for(var t=[],n=0;n<e.length;n++){for(var r=e[n];t.length>=2;){var a=t[t.length-1],i=t[t.length-2];if(!((a.x-i.x)*(r.y-i.y)>=(a.y-i.y)*(r.x-i.x)))break;t.pop()}t.push(r)}t.pop();for(var o=[],l=e.length-1;l>=0;l--){for(var s=e[l];o.length>=2;){var u=o[o.length-1],c=o[o.length-2];if(!((u.x-c.x)*(s.y-c.y)>=(u.y-c.y)*(s.x-c.x)))break;o.pop()}o.push(s)}return o.pop(),1===t.length&&1===o.length&&t[0].x===o[0].x&&t[0].y===o[0].y?t:t.concat(o)}C(G,"getExitSideFromRect"),C(J,"getPaddedExitPoints"),C(X,"getPointsFromRect"),C(ee,"isPointInPolygon"),C(te,"getHull"),C(ne,"getHullPresorted");var re=I,ae=F,ie=U,oe=H,le=Y,se=Q},73006:function(e,t,n){n.d(t,{z:function(){return l}});var r=n(28535),a=n(83484),i=n(27266),o=n(27573),l=function(e){var t=e.color,n=void 0===t?"currentColor":t,l=(0,i._)(e,["color"]);return(0,o.jsxs)("svg",(0,a._)((0,r._)({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),{children:[(0,o.jsx)("g",{clipPath:"url(#clip0_14_6165)",children:(0,o.jsx)("path",{d:"M12 22C6.477 22 2 17.523 2 12C2 6.477 6.477 2 12 2C17.523 2 22 6.477 22 12C22 17.523 17.523 22 12 22ZM12 20C14.1217 20 16.1566 19.1571 17.6569 
117.6569C19.1571 16.1566 20 14.1217 20 12C20 9.87827 19.1571 7.84344 17.6569 6.34315C16.1566 4.84285 14.1217 4 12 4C9.87827 4 7.84344 4.84285 6.34315 6.34315C4.84285 7.84344 4 9.87827 4 12C4 14.1217 4.84285 16.1566 6.34315 17.6569C7.84344 19.1571 9.87827 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z",fill:n})}),(0,o.jsx)("defs",{children:(0,o.jsx)("clipPath",{id:"clip0_14_6165",children:(0,o.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]}))}}}]);

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.