PageSourceSearch

https://whisperweb.dev/_next/static/chunks/7686-da67c6eb82b0f861.js

js whisperweb.dev collected 2026-09-25 02:56:52 UTC 12,859 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7686],{53471:(e,t,r)=>{r.d(t,{default:()=>l});var s=r(63053),i=r(98345),n=r(20370),a=r(44966);function l(e){var t=e.locale,r=(0,i._)(e,["locale"]);if(!t)throw Error(void 0);return(0,a.jsx)(n.Dk,(0,s._)({locale:t},r))}},57102:(e,t,r)=>{r.d(t,{$:()=>n});var s=r(44966),i=r(16420);function n(e){var t=e.children,r=e.className,n=e.id,a=e.variant,l=e.lazyRender;return(0,s.jsx)("section",{id:n,className:(0,i.cn)("py-20 md:py-32","muted"===(void 0===a?"white":a)?"bg-muted/50":"bg-background",r),style:void 0!==l&&l?{contentVisibility:"auto",containIntrinsicSize:"auto 500px"}:void 0,children:(0,s.jsx)("div",{className:"container mx-auto px-4 md:px-6",children:t})})}},79513:(e,t,r)=>{r.d(t,{c:()=>n});var s=r(20370);function i(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let n=i(0,s.c3);i(0,s.kc)},86436:(e,t,r)=>{r.d(t,{PricingSection:()=>f});var s=r(842),i=r(44966),n=r(23174),a=r(79513),l=r(20370),c=r(57102),o=r(16420),d=r(78857),x=r(68423),m=(0,r(58193).A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]),u=r(53060);function h(e){var t=e.text,r=(0,s._)((0,n.useState)(!1),2),a=r[0],l=r[1];return(0,i.jsxs)("span",{className:"relative inline-flex items-center",children:[(0,i.jsx)("button",{type:"button",className:"text-primary-foreground/40 hover:text-primary-foreground/70 transition-colors",onMouseEnter:function(){return l(!0)},onMouseLeave:function(){return l(!1)},onClick:function(){return l(function(e){return!e})},"aria-label":"Currency info",children:(0,i.jsx)(m,{className:"h-4 w-4"})}),a&&(0,i.jsxs)("div",{className:"absolute bottom-full left-1/2 -translate-x-1/2 mb-2 w-56 p-3 rounded-lg bg-card text-card-foreground text-xs shadow-lg border border-border z-10",children:[(0,i.jsx)("div",{className:"text-left leading-relaxed",children:t}),(0,i.jsx)("div",{className:"absolute top-full left-1/2 -translate-x-1/2 -mt-px w-0 h-0 border-x-[6px] border-x-transparent border-t-[6px] border-t-border"})]})]})}function f(e){var t,r,m,f=e.className,p=e.variant,g=(0,a.c)("Pricing"),b=(0,a.c)("Dashboard"),v=(0,l.Ym)(),y=(0,x.u)(),j=y.startCheckout,N=y.startCreemCheckout,w=y.checkoutLoading,k=y.checkoutError,_=y.creemFallbackAvailable,C=(0,s._)((0,n.useState)(!0),2),I=C[0],S=C[1],D=(r=(t=(0,s._)((0,n.useState)(null),2))[0],m=t[1],((0,n.useEffect)(function(){try{var e,t,r,i=localStorage.getItem("fx_data");if(i){var n=JSON.parse(i),a=n.currency,l=n.rate,c=n.ts;if(Date.now()-c<864e5){if("USD"===a)return;m({currency:a,rate:l});return}}}catch(e){}var o=new AbortController,d=!1,x=function(){d||(d=!0,null==r||r.disconnect(),void 0!==t&&"function"==typeof window.cancelIdleCallback&&window.cancelIdleCallback(t),e=window.setTimeout(function(){return o.abort()},8e3),Promise.all([fetch("https://ipapi.co/json/",{signal:o.signal}).then(function(e){return e.json()}),fetch("https://cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@latest/v1/currencies/usd.json",{signal:o.signal}).then(function(e){return e.json()})]).then(function(e){var t,r=(0,s._)(e,2),i=r[0],n=r[1],a=null==i?void 0:i.currency;
1if(!a||"USD"===a)return void localStorage.setItem("fx_data",JSON.stringify({currency:"USD",rate:1,ts:Date.now()}));var l=null==n||null==(t=n.usd)?void 0:t[a.toLowerCase()];l&&(localStorage.setItem("fx_data",JSON.stringify({currency:a,rate:l,ts:Date.now()})),m({currency:a,rate:l}))}).catch(function(){}))},u=document.getElementById("pricing");return u&&"function"==typeof IntersectionObserver&&(r=new IntersectionObserver(function(e){e.some(function(e){return e.isIntersecting})&&x()},{rootMargin:"200px"})).observe(u),t="function"==typeof window.requestIdleCallback?window.requestIdleCallback(x,{timeout:8e3}):window.setTimeout(x,8e3),function(){o.abort(),void 0!==e&&window.clearTimeout(e),null==r||r.disconnect(),void 0!==t&&("function"==typeof window.cancelIdleCallback?window.cancelIdleCallback(t):window.clearTimeout(t))}},[]),r)?{currency:r.currency,rate:r.rate,format:function(e){return new Intl.NumberFormat(void 0,{style:"currency",currency:r.currency,minimumFractionDigits:2,maximumFractionDigits:2}).format(e*r.rate)}}:null),P=I?"yearly":"monthly",z=I?"pricing_yearly":"pricing_monthly",E=(0,d.aK)(v,P,{source_id:z,source_page_type:"pricing",cta_placement:"pricing_card",reason:"plan_upgrade"}),M=(0,n.useCallback)(function(e){e.preventDefault(),j({billing:I?"yearly":"monthly",sourceId:I?"pricing_yearly":"pricing_monthly",sourcePageType:"pricing",ctaPlacement:"pricing_card",reason:"plan_upgrade",processingMode:"cloud"})},[I,j]),T=(0,i.jsxs)("div",{className:"inline-flex rounded-full bg-card ring-1 ring-border p-1 shadow-sm",children:[(0,i.jsx)("button",{onClick:function(){return S(!1)},className:(0,o.cn)("px-6 py-2 rounded-full text-sm font-medium transition-all duration-500 ease-[cubic-bezier(0.32,0.72,0,1)]",I?"text-muted-foreground hover:text-foreground":"bg-primary text-primary-foreground shadow-md shadow-primary/20"),children:g("toggle.monthly")}),(0,i.jsxs)("button",{onClick:function(){return S(!0)},className:(0,o.cn)("px-6 py-2 rounded-full text-sm font-medium transition-all duration-500 ease-[cubic-bezier(0.32,0.72,0,1)] flex items-center gap-2",I?"bg-primary text-primary-foreground shadow-md shadow-primary/20":"text-muted-foreground hover:text-foreground"),children:[g("toggle.yearly"),(0,i.jsx)("span",{className:"px-2 py-0.5 rounded-full text-[10px] font-bold bg-emerald-500 text-white leading-tight",children:g("toggle.save")})]})]});return(0,i.jsxs)(c.$,{id:"pricing",variant:"white",lazyRender:!0,className:f,children:["page"===(void 0===p?"section":p)?(0,i.jsxs)("div",{className:"relative mb-8",children:[(0,i.jsx)("h1",{className:"text-3xl sm:text-4xl font-bold tracking-tight text-foreground mb-6 md:mb-0 md:absolute md:left-0 md:top-1/2 md:-translate-y-1/2",children:g("badge")}),(0,i.jsx)("div",{className:"flex justify-center",children:T})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"text-center mb-16",children:[(0,i.jsx)("span",{className:"inline-block rounded-full px-4 py-1.5 text-[11px] uppercase tracking-[0.15em] font-medium bg-primary/10 text-primary mb-6",children:g("badge")}),(0,i.jsx)("h2",{id:"pricing-heading",className:"text-3xl sm:text-4xl md:text-5xl font-bold tracking-tight text-foreground",children:g("title")}),(0,i.jsx)("p",{className:"mt-4 text-muted-foreground text-base max-w-lg mx-auto",children:g("description")})]}),(0,i.jsx)("div",{className:"flex justify-center mb-16",children:T})]}),(0,i.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-[1fr_1.2fr] gap-6 md:gap-8 max-w-3xl mx-auto items-center",children:[(0,i.jsx)("div",{className:"flex items-center",children:(0,i.jsxs)("div",{className:"w-full rounded-2xl bg-gradient-to-b from-stone-700 to-stone-800 p-6 shadow-xl shadow-stone-900/20 text-white flex flex-col gap-4 transition-all duration-500 ease-[cubic-bezier(0.32,0.72,0,1)] md:hover:scale-[1.03] md:hover:shadow-2xl md:hover:shadow-stone-900/30 motion-reduce:hover:scale-100",children:[(0,i.jsx)("h3",{className:"text-lg font-bold text-center text-white/90",children:g("free.name")}),(0,i.jsx)("hr",{className:"border-white/10"}),(0,i.jsxs)("div",{className:"text-center py-2",children:[(0,i.jsx)("div",{className:"text-5xl font-bold tracking-tight",children:g("free.price")}),(0,i.jsx)("div",{className:"text-sm text-white/50 mt-1",children:g("free.subtitle")})]}),(0,i.jsxs)("div",{className:"flex items-start gap-3",children:[(0,i.jsx)("span",{className:"text-2xl shrink-0","aria-hidden":!0,
1children:"\uD83D\uDCBB"}),(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"text-sm font-semibold",children:g("free.f1")}),(0,i.jsx)("div",{className:"text-xs text-white/50",children:g("free.f2")})]})]}),(0,i.jsxs)("div",{className:"flex items-start gap-3",children:[(0,i.jsx)("span",{className:"text-2xl shrink-0 grayscale opacity-60","aria-hidden":!0,children:"\uD83D\uDD12"}),(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"text-sm font-semibold",children:g("free.f3")}),(0,i.jsx)("div",{className:"text-xs text-white/50",children:g("free.f4")})]})]}),(0,i.jsxs)("div",{className:"flex items-start gap-3",children:[(0,i.jsx)("span",{className:"text-2xl shrink-0 grayscale opacity-60","aria-hidden":!0,children:"\uD83D\uDC64"}),(0,i.jsx)("div",{children:(0,i.jsx)("div",{className:"text-sm font-semibold",children:g("free.f5")})})]}),(0,i.jsx)("button",{disabled:!0,className:"w-full py-3 rounded-xl bg-white/5 text-white/40 font-semibold cursor-not-allowed uppercase tracking-wider text-xs mt-2",children:g("free.currentPlan")})]})}),(0,i.jsx)("div",{className:"rounded-[1.25rem] bg-primary/10 ring-1 ring-primary/15 p-1.5 shadow-xl shadow-primary/10 transition-all duration-500 ease-[cubic-bezier(0.32,0.72,0,1)] md:hover:scale-[1.03] md:hover:shadow-2xl md:hover:shadow-primary/20 motion-reduce:hover:scale-100",children:(0,i.jsxs)("div",{className:"rounded-[calc(1.25rem-0.375rem)] bg-gradient-to-b from-primary to-primary/90 p-8 text-primary-foreground flex flex-col gap-5 shadow-[inset_0_1px_1px_rgba(255,255,255,0.1)]",children:[(0,i.jsx)("h3",{className:"text-lg font-bold text-center",children:g("pro.name")}),(0,i.jsx)("hr",{className:"border-primary-foreground/15"}),(0,i.jsxs)("div",{className:"text-center py-3",children:[(0,i.jsxs)("h4",{className:"text-6xl font-bold tracking-tight",children:[g(I?"pro.yearlyPrice":"pro.price")," ",(0,i.jsxs)("span",{className:"text-lg font-normal",children:["/ ",g("pro.period")]})]}),(0,i.jsxs)("div",{className:"text-lg text-primary-foreground/70 mt-2 flex items-center justify-center gap-2 flex-wrap",children:[(0,i.jsx)("span",{children:g(I?"pro.yearlySubtitle":"pro.subtitle")}),I&&(0,i.jsx)("span",{className:"inline-flex px-2 py-0.5 rounded text-xs font-bold bg-gradient-to-r from-emerald-500 to-green-600 text-white whitespace-nowrap",children:g("toggle.save")})]}),(0,i.jsx)("div",{className:"text-sm text-primary-foreground/40 mt-1 min-h-[1.25rem]",children:D&&(0,i.jsxs)("span",{className:"inline-flex items-center gap-1",children:["≈ ",I?"".concat(D.format(120)," billed yearly"):"".concat(D.format(20)," billed monthly"),(0,i.jsx)(h,{text:g("currencyTooltip")})]})})]}),(0,i.jsxs)("div",{className:"flex items-start gap-3",children:[(0,i.jsx)("span",{className:"text-2xl shrink-0","aria-hidden":!0,children:"☁️"}),(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"text-sm font-semibold",children:g("pro.f1title")}),(0,i.jsx)("div",{className:"text-xs text-primary-foreground/60",children:g("pro.f1desc")})]})]}),(0,i.jsxs)("div",{className:"flex items-start gap-3",children:[(0,i.jsx)("span",{className:"text-2xl shrink-0","aria-hidden":!0,children:"\uD83D\uDE80"}),(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"text-sm font-semibold",children:g("pro.f2title")}),(0,i.jsx)("div",{className:"text-xs text-primary-foreground/60",children:g("pro.f2desc")})]})]}),(0,i.jsxs)("div",{className:"flex items-start gap-3",children:[(0,i.jsx)("span",{className:"text-2xl shrink-0","aria-hidden":!0,children:"\uD83C\uDF10"}),(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"text-sm font-semibold",children:g("pro.f3title")}),(0,i.jsx)("div",{className:"text-xs text-primary-foreground/60",children:g("pro.f3desc")})]})]}),(0,i.jsxs)("div",{className:"flex items-start gap-3",children:[(0,i.jsx)("span",{className:"text-2xl shrink-0","aria-hidden":!0,children:"⚡"}),(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"text-sm font-semibold",children:g("pro.f4title")}),(0,i.jsx)("div",{className:"text-xs text-primary-foreground/60",children:g("pro.f4desc")})]})]}),(0,i.jsx)("a",{href:E,onClick:M,"aria-disabled":w,className:(0,o.cn)("w-full inline-flex items-center justify-center py-3.5 rounded-xl bg-primary-foreground text-primary text-sm font-bold mt-2 transition-colors hover:bg-primary-foreground
1/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-foreground/40",w&&"opacity-60 pointer-events-none"),children:w?"Redirecting…":g("pro.cta")}),k&&(0,i.jsxs)("div",{className:"mt-3 rounded-xl bg-white p-3 text-destructive text-xs font-semibold text-center shadow-lg border border-destructive/20 animate-in fade-in slide-in-from-top-1 duration-200",children:[(0,i.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[(0,i.jsx)(u.A,{className:"w-4 h-4 shrink-0 text-destructive"}),(0,i.jsx)("span",{children:k})]}),_&&(0,i.jsx)("button",{type:"button",disabled:w,onClick:function(){N({billing:P,sourceId:z,sourcePageType:"pricing",ctaPlacement:"pricing_card",reason:"plan_upgrade",processingMode:"cloud"})},className:"mt-3 w-full rounded-lg border border-destructive/25 px-3 py-2 text-destructive transition-colors hover:bg-destructive/5 disabled:opacity-60",children:b("tryCreemPayments")})]})]})})]})]})}}}]);

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.