1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9885],{28359:e=>{e.exports={offerHeroTextSection:"offer_offerHeroTextSection__Gz1Wt",offerHeroMediaSection:"offer_offerHeroMediaSection__ZP0JB",offerHeroHeading:"offer_offerHeroHeading__ECCfD",offerHeroContent:"offer_offerHeroContent__AE5M0",offerHeroGrammarlyProSection1:"offer_offerHeroGrammarlyProSection1__yNxRA",offerHeroGrammarlyPro:"offer_offerHeroGrammarlyPro__IlqGo",offerHeroDiscountHighlight:"offer_offerHeroDiscountHighlight__l_Dof",offerHeroDiscountPercentageHighlight:"offer_offerHeroDiscountPercentageHighlight__AbQWt",offerHeroDiscountTextHighlight:"offer_offerHeroDiscountTextHighlight__lvqjd",offerSection:"offer_offerSection__lIHyq",discountContainer:"offer_discountContainer__uTf3D",offerHeading:"offer_offerHeading__ez3aq",limitedBadge:"offer_limitedBadge__UlIwz",offerImageContainer:"offer_offerImageContainer__BwVrB",badge:"offer_badge__E9bLJ",badgePriceOnly:"offer_badgePriceOnly__YuIP8",badgeDiscountedPrice:"offer_badgeDiscountedPrice__fWiDL",badgePrice:"offer_badgePrice___h8zd"}},32652:(e,t,n)=>{"use strict";function r(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.formatNumber(t.value,{style:"currency",currency:t.currency,...n})}n.d(t,{P:()=>r})},39733:(e,t,n)=>{"use strict";n.d(t,{Am:()=>C,oS:()=>p});var r=n(23798),a=n(21462),s=n(5110),i=n.n(s),o=n(69834),l=n(80147),c=n.n(l),d=n(42574),g=n(55926),_=n(32635);let f=i()(()=>n.e(4184).then(n.bind(n,4184)),{loadableGenerated:{webpack:()=>[4184]},ssr:!1}),u=[{id:"citation-finder",title:"Citation Finder",description:"Check facts and find sources for your claims",icon:"citation-finder"},{id:"ai-detector",title:"AI Detector",description:"Identify Al-generated content in your writing and fix it",icon:"ai-detector"},{id:"ai-grader",title:"AI Grader",description:"Predict your grade based on your rubric and instructor",icon:"ai-grader"},{id:"reader-reactions",title:"Reader Reactions",description:"Predict people's reactions and questions before sharing",icon:"reader-reactions"},{id:"ai-proofreader",title:"Proofreader",description:"Get edits for clarity, flow, structure, and mistakes",icon:"proofreader"},{id:"plagiarism-checker",title:"Plagiarism Checker",description:"Detect non-original content and add proper citations",icon:"plagiarism-checker"},{id:"ai-chat",title:"AI Chat",description:"Chat with AI to brainstorm or refine your writing",icon:"ai-chat"},{id:"paraphraser",title:"Paraphraser",description:"Rewrite text in a specific tone or voice",icon:"paraphraser"}],b=e=>{let{iconName:t}=e,n=(0,o.A)();return(0,r.jsx)("div",{className:c().iconContainer,children:(0,r.jsx)("img",{src:(0,d.Xn)("bts-hero/overlay-card-".concat(t,".svg")),alt:n.formatMessage({id:"btsAgents25.icon.altText",description:'Alt text for an SVG icon in the back-to-school agents section. {iconName} is the name of the icon (e.g. "checkmark"). Placeholders can be reordered.',defaultMessage:"{iconName} icon"},{iconName:t}),width:"32",height:"32",style:{display:"block"}})})},m=e=>{let{card:t,isVisible:n}=e;return(0,r.jsx)("div",{className:"".concat(c().overlayCard," ").concat(n?c().visible:""),"data-agent":t.id,children:(0,r.jsxs)("div",{className:c().cardContent,children:[(0,r.jsx)(b,{iconName:t.icon}),(0,r.jsxs)("div",{className:c().textContent,children:[(0,r.jsx)("h3",{className:c().title,children:t.title}),(0,r.jsx)("p",{className:c().description,children:t.description})]})]})})},h=e=>{let{hoveredAgentId:t,setHoveredAgentId:n}=e,a=(0,o.A)();return(0,r.jsx)("div",{className:c().mainContainer,children:(0,r.jsxs)("div",{className:c().splineAbsoluteContainer,children:[u.map((e,s)=>{let i=t&&t!==e.id;return(0,r.jsx)("img",{src:(0,d.Xn)("bts-hero/agent-".concat(e.icon,".png")),alt:a.formatMessage({id:"btsAgents25.pngFallbackComponent.image.altText",description:'Alt text for an AI writing assistant image. {title} is the agent name (e.g. "Humanizer"). Placeholders can be reordered.',defaultMessage:"{title} AI writing assistant"},{title:e.title}),className:"".concat(c().pngAgent," ").concat(i?c().dimmed:""),"data-agent":e.id,style:{cursor:"pointer","--delay":"".concat(.2*s+.1,"s")},onMouseEnter:()=>n(e.id),onMouseLeave:()=>n(null)},"agent-png-".concat(e.id))}),u.map(e=>{let n=t===e.id;return(0,r.jsx)(m,{card:e,isVisible:n},"png-card-".concat(e.id))})]})})},p=()=>{let e=(0,o.A)(),[t,n]=(0,a.useState)(0),s=u[t];return(0,r.jsxs)("div",{className:c().mobileContainer,children:[(0,r.jsx)("div",{className:c().mobileImageContainer,children:(0,r.jsx)("img",{src:(0,d.Xn)("bts-hero/agent-".concat(s.icon,".png")),alt:e.formatMessage({id:"btsAgents25.mobileAgentDisplay.image.altText",description:'Alt text for a mobile AI writing assistant image. {title} is the agent name (e.g. "Humanizer"). Placeholders can be reordered.',defaultMessage:"{title}
1 AI writing assistant"},{title:s.title}),className:c().mobileAgentImage})}),(0,r.jsxs)("div",{className:c().mobileNavigationContainer,children:[(0,r.jsx)("button",{className:c().navButtonLeft,onClick:()=>{n(0===t?u.length-1:t-1)},"aria-label":e.formatMessage({id:"btsAgents25.mobileAgentDisplay.previous.ctaText",description:"Accessible label for the left arrow button that navigates to the previous agent card on mobile. ~18 characters.",defaultMessage:"Previous agent"}),children:(0,r.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M10 12L6 8L10 4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,r.jsx)("button",{className:c().navButtonRight,onClick:()=>{n(t===u.length-1?0:t+1)},"aria-label":e.formatMessage({id:"btsAgents25.mobileAgentDisplay.next.ctaText",description:"Accessible label for the right arrow button that navigates to the next agent card on mobile. ~15 characters.",defaultMessage:"Next agent"}),children:(0,r.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M6 4L10 8L6 12",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),(0,r.jsxs)("div",{className:c().mobileTextContent,children:[(0,r.jsx)("h3",{className:c().mobileTitle,children:s.title}),(0,r.jsx)("p",{className:c().mobileDescription,children:s.description})]})]})},v=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[t,n]=(0,a.useState)(!1),[r,s]=(0,a.useState)(!1),i=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let t=i.current;if(!t)return;let a=new IntersectionObserver(e=>{let[t]=e;n(t.isIntersecting),t.isIntersecting&&!r&&s(!0)},{threshold:.1,rootMargin:"50px",...e});return a.observe(t),()=>{a.unobserve(t)}},[r,e]),{elementRef:i,isIntersecting:t,hasIntersected:r}},x=()=>{let e=(0,o.A)(),[t,n]=(0,a.useState)(null),[s,i]=(0,a.useState)(!1),{elementRef:l,hasIntersected:b,isIntersecting:p}=v(),x=(0,a.useRef)(null);(0,a.useEffect)(()=>()=>{x.current&&clearTimeout(x.current)},[]);let C=b&&s&&p,y=(0,_.iA)(),P=e.formatMessage({id:"btsAgents25.inner.image.altText",description:"Alt text for the hero image showing all AI writing assistant agents in a 3D environment.",defaultMessage:"Collection of AI writing assistants floating in a digital environment"});return y?(0,r.jsxs)("div",{ref:l,className:c().mainContainer,children:[(0,r.jsx)("div",{className:c().mobileOnly,children:(0,r.jsx)("img",{src:(0,d.Xn)("bts-hero/hero-blur.png"),alt:P,style:{width:"100%",height:"auto",maxWidth:"600px",margin:"0 auto",display:"block"}})}),(0,r.jsxs)("div",{className:c().splineAbsoluteContainer,children:[(!b||!C)&&(0,r.jsx)("img",{src:(0,d.Xn)("bts-hero/hero-blur.png"),alt:P,style:{position:"absolute",width:"100%",height:"100%",objectFit:"contain",transform:"scale(1.1)",zIndex:2,opacity:+!C,transition:"opacity 0.8s ease-out"}}),b&&(0,r.jsx)(g.r,{children:(0,r.jsx)(f,{onLoad:()=>{i(!0)},shouldLoad:b,isVisible:C})}),b&&(0,r.jsx)("div",{className:c().hoverZonesContainer,children:u.map(e=>(0,r.jsx)("div",{className:c().hoverZone,"data-agent":e.id,style:{position:"absolute",zIndex:25,backgroundColor:"transparent",transition:"all 0.2s ease"},onMouseEnter:()=>{x.current&&clearTimeout(x.current),x.current=setTimeout(()=>{n(e.id)},100)},onMouseLeave:()=>{x.current&&(clearTimeout(x.current),x.current=null),t===e.id&&n(null)}},"hover-zone-".concat(e.id)))}),b&&u.map(e=>{let n=t===e.id;return(0,r.jsx)(m,{card:e,isVisible:n},e.id)})]})]}):(0,r.jsx)(h,{hoveredAgentId:t,setHoveredAgentId:n})},C=()=>(0,r.jsx)(x,{})},65857:(e,t,n)=>{"use strict";n.d(t,{ur:()=>w,Mk:()=>H,Ft:()=>N,P$:()=>A});var r=n(23798),a=n(21462),s=n(66449),i=n(69834),o=n(46001),l=n.n(o),c=n(69646),d=n(37575),g=n(97561),_=n(43731),f=n(32635),u=n(34451),b=n(42574),m=n(74682),h=n(32652),p=n(98168),v=n(50217),x=n(22747),C=n(87443),y=n(28359),P=n.n(y);let j=(0,v.z)(),w=e=>{let{discountValue:t,isHero:n}=e,{isAnonymous:i}=(0,f.Or)().currentUser,{pageId:o,slug:g}=(0,a.useContext)(C.N),_=(0,p.o1)(j.paths.funnel.llamaDownloadFirst,u.q.currentQueryParams),b=(0,p.o1)(j.paths.funnel.signup,u.q.currentQueryParams),m=(0,p.o1)(j.paths.funnel.upgrade,u.q.currentQueryParams),h=i?b:m;return(0,r.jsx)(c.$,{className:l()(d.t.GreenButtonWhiteText),onClick:()=>{x.a2.offerDiscountButtonClick(n,o,g,h,t),i&&window.open(_,"_blank"),u.q.navigateUrl(h)},children:t?(0,r.jsx)(s.A,{id:"offer.discountButton.unlockDiscount",description:"CTA button text. {discountPercent} is a fraction (e.g. 0.25 for 25% off). ICU renders the % sign per locale (e.g. '25%' en-US, '25 %' fr-FR). 'Pro' refers to 'Grammarly Pro' (brand name).",defaultMessage:"Unlock {discountPercent, number, ::percent} off Pro now",values:{discountPercent:t/100}}):(0,r.jsx)(s.A,{id:"offer.discountButton.unlockProNow",description:"CTA button text when no discount is available. 'Pro' refers to 'Grammarly Pro' â do not translate.",defaultMessage:"Unlock Pro now"})})},A=()=>{let{discountValue:e}=(0,m.r)();return(0,r.jsxs)("div",{className:P().offerHeroMediaSection,children:[(0,r.jsxs)("div",{className:P().offerHeroGrammarlyProSection1,children:[(0,r.jsx)("div",{className:P().offerHeroGrammarlyPro,children:(0,r.jsx)(s.A,{id:"offer.hero.productName",description:"Product name displayed above the hero offer section. 'Grammarly Pro' is a brand name â do not translate.",defaultMessage:"Grammarly Pro"})}),(0,r.jsx)("img",{src:"".concat((0,b.Xn)("offer/grammarly-upgrade.svg")),alt:""})]}),(0,r.jsx)(g.Xl,{multiplier:1}),e&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(_.o.C1,{as:"p",className:P().offerHeroDiscountHighlight,children:(0,r.jsx)(s.A,{id:"offer.hero.discount",description:"Discount badge rendered as two adjacent pills: a <percentage> pill showing the numeric value (e.g. '25%') and a <label> pill showing the word 'Off'. {discountPercent} is a fraction (e.g. 0.25 for 25% off); ICU renders the % sign per locale. Translators may reorder, resize, or rephrase the contents of each tag (e.g. French splits as '25 %' + 'de r\xe9duction'), but both <percentage> and <label> tags must be present.",defaultMessage:"<percentage>{discountPercent, number, ::percent}</percentage><label>Off</label>",values:{discountPercent:e/100,percentage:e=>(0,r.jsx)("div",{className:P().offerHeroDiscountPercentageHighlight,children:e}),label:e=>(0,r.jsx)("div",{className:P().offerHeroDiscountTextHighlight,children:e})}})}),(0,r.jsx)(g.Xl,{multiplier:2})]}),(0,r.jsx)("img",{src:"".concat((0,b.Xn)("offer/offer-hero-promo.png")),alt:""})]})},H=()=>{let{discountValue:e,affiliateName:t}=(0,m.r)(),n=e&&t&&e>0;return(0,r.jsxs)("div",{className:P().discountContainer,children:[n?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(_.o.TS,{as:"p",className:P().limitedBadge,children:(0,r.jsx)(s.A,{id:"offer.discount.limited",description:"Badge text indicating that the discount offer is time-limited. ~25 characters.",defaultMessage:"Limited time offer"})}),(0,r.jsx)(g.Xl,{multiplier:3}),(0,r.jsx)(_.o.HXL,{as:"h2",className:P().offerHeading,children:(0,r.jsx)(s.A,{id:"offer.discount.exclusiveOffer",description:"Heading for an exclusive affiliate discount. {discountPercent} is a fraction (e.g. 0.25 for 25% off); ICU renders the % sign per locale. {affiliateName} is the affiliate partner name (e.g. 'StudentBeans'). Placeholders can be reordered.",defaultMessage:"Exclusive {discountPercent, number, ::percent} off for {affiliateName}'s audience",values:{discountPercent:e/100,affiliateName:t}})})]}):(0,r.jsx)(_.o.HXL,{as:"h2",className:P().offerHeading,children:(0,r.jsx)(s.A,{id:"offer.discount.proFeatures",description:"Heading when no affiliate discount is available. 'Pro' refers to 'Grammarly Pro' â do not translate.",defaultMessage:"Pro gives you full access to our most powerful features."})}),(0,r.jsx)(g.Xl,{multiplier:5}),(0,r.jsx)(w,{discountValue:e,isHero:!1})]})},N=()=>{let e,t=(0,i.A)(),{subscriptionService:n}=(0,f.v$)(),{proPlan:s}=n,{discountValue:o=0}=(0,m.r)(),l=Math.ceil((e=12*s.monthlyPrice)*(1-o/100));e=Math.ceil(e);
1let c=s.currency,d=(0,h.P)(t,{value:e,currency:c}),g=(0,h.P)(t,{value:l,currency:c}),_=o&&o>0,[u,p]=function(e,t){let n=(0,a.useRef)(null),[r,s]=(0,a.useState)(60);return(0,a.useEffect)(()=>{var t;let r=()=>{if(!n.current)return;let t=n.current.offsetWidth;t<=0||s(function(e,t,n){let{targetWidthRatio:r=.9,charWidthInEm:a=.6,paddingInEm:s=1.98,minFontSize:i=20,maxFontSize:o=60}=null!=n?n:{};return Math.max(i,Math.min(o,e*r/(t*a+s)))}(t,Array.isArray(e)?e.join("").length:e.length,void 0))};(null==(t=n.current)?void 0:t.complete)&&r();let a=n.current;return null==a||a.addEventListener("load",r),window.addEventListener("resize",r),()=>{null==a||a.removeEventListener("load",r),window.removeEventListener("resize",r)}},[e,t]),[n,r]}(_?[d,g]:[d]);return(0,r.jsxs)("div",{className:P().offerImageContainer,children:[(0,r.jsx)("img",{ref:u,src:"".concat((0,b.Xn)("offer/grammarly-discount-bg.png")),alt:""}),(0,r.jsx)("span",{className:P().badge,style:{fontSize:"".concat(p,"px")},children:_?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:P().badgePrice,children:d}),(0,r.jsx)("div",{className:P().badgeDiscountedPrice,children:g})]}):(0,r.jsx)("div",{className:P().badgePriceOnly,children:d})})]})}},80147:e=>{e.exports={splineAbsoluteContainer:"bts-agents-25_splineAbsoluteContainer__w_jPC",mainContainer:"bts-agents-25_mainContainer__mgoIE",mobileOnly:"bts-agents-25_mobileOnly__XXz0b",staticHeroImage:"bts-agents-25_staticHeroImage__CKcRx",groupedSplineContainer:"bts-agents-25_groupedSplineContainer__kn1gO",splineEntranceReady:"bts-agents-25_splineEntranceReady__N5mQt","spline-cascade-entrance":"bts-agents-25_spline-cascade-entrance__4ufvE",groupedSplineEmbed:"bts-agents-25_groupedSplineEmbed__6DlVE",placeholderGrid:"bts-agents-25_placeholderGrid__PqUtF",toolPreview:"bts-agents-25_toolPreview__clpMk",toolPreviewImage:"bts-agents-25_toolPreviewImage__6Smko",groupedPlaceholderOverlay:"bts-agents-25_groupedPlaceholderOverlay__FLs8m",groupedSplinePlaceholder:"bts-agents-25_groupedSplinePlaceholder__rf_UL",groupedPlaceholderText:"bts-agents-25_groupedPlaceholderText___kALy",loadSceneButton:"bts-agents-25_loadSceneButton__KmaSN",tempPlaceholder:"bts-agents-25_tempPlaceholder__aEwhM",tempPlaceholderContent:"bts-agents-25_tempPlaceholderContent__v4atM",loadingIndicator:"bts-agents-25_loadingIndicator__E1lv_",spinner:"bts-agents-25_spinner__b_7au",spin:"bts-agents-25_spin__ZO0b3",progressBar:"bts-agents-25_progressBar__Kw53u",progressFill:"bts-agents-25_progressFill__nzkbL",sparkleOverlay:"bts-agents-25_sparkleOverlay__iDBOb",splineEmbed:"bts-agents-25_splineEmbed__3oAhl",splineIframe:"bts-agents-25_splineIframe__dlC5I",hoverCard:"bts-agents-25_hoverCard__Mr98f",pngLoadingContainer:"bts-agents-25_pngLoadingContainer__tBFus",pngAgent:"bts-agents-25_pngAgent__860FU","png-agent-animate-in":"bts-agents-25_png-agent-animate-in__HzRnH","png-agent-float":"bts-agents-25_png-agent-float__NJDEp",dimmed:"bts-agents-25_dimmed__9Z6vo",hoverZonesContainer:"bts-agents-25_hoverZonesContainer__BI6NK",hoverZone:"bts-agents-25_hoverZone__jMouL",overlayCard:"bts-agents-25_overlayCard__9ueex",visible:"bts-agents-25_visible__8HQnx",cardContent:"bts-agents-25_cardContent__i4HbF",iconContainer:"bts-agents-25_iconContainer__v66g3",cardIcon:"bts-agents-25_cardIcon__OHh9E",citationIcon:"bt
1s-agents-25_citationIcon__Xe_OQ",textContent:"bts-agents-25_textContent__9enrG",title:"bts-agents-25_title__twcDV",description:"bts-agents-25_description__WekLi",overlayToggle:"bts-agents-25_overlayToggle__wCDTZ",mobileContainer:"bts-agents-25_mobileContainer__MadeQ",mobileImageContainer:"bts-agents-25_mobileImageContainer__BSPZG",mobileNavigationContainer:"bts-agents-25_mobileNavigationContainer__thzpe",mobileAgentImage:"bts-agents-25_mobileAgentImage__efV7b","fade-in-scale":"bts-agents-25_fade-in-scale__BHlAp",mobileTextContent:"bts-agents-25_mobileTextContent__dB176",mobileTitle:"bts-agents-25_mobileTitle__ZA7Yv",mobileDescription:"bts-agents-25_mobileDescription__vcqiu",navButtonLeft:"bts-agents-25_navButtonLeft__7K60q",navButtonRight:"bts-agents-25_navButtonRight__H2bxU",mobileAgentsOnly:"bts-agents-25_mobileAgentsOnly__Y4JkF",btsHeroEyebrow:"bts-agents-25_btsHeroEyebrow__lPIPd",btsHeroTitle:"bts-agents-25_btsHeroTitle__TWUKv",btsHeroDescription:"bts-agents-25_btsHeroDescription__vy8nJ",animate:"bts-agents-25_animate__i9_E7","bts-eyebrow-expand-reveal":"bts-agents-25_bts-eyebrow-expand-reveal__g2wTz",btsHeroBadge:"bts-agents-25_btsHeroBadge__nE53h",btsHeroEyebrowText:"bts-agents-25_btsHeroEyebrowText__ry_F_","bts-eyebrow-content-reveal":"bts-agents-25_bts-eyebrow-content-reveal__7wbpr",btsHeroSubtitle:"bts-agents-25_btsHeroSubtitle__gUAat",btsTitleContent:"bts-agents-25_btsTitleContent__PG9vB","bts-headline-mask-reveal":"bts-agents-25_bts-headline-mask-reveal__0v_EF",fadeIn:"bts-agents-25_fadeIn__y2mue","bts-fade-in":"bts-agents-25_bts-fade-in__lyOou",hiddenBeforeAnimate:"bts-agents-25_hiddenBeforeAnimate__N8Gdv",btsCtaContainer:"bts-agents-25_btsCtaContainer__Iy_qz",btsCtaDescriptionsContainer:"bts-agents-25_btsCtaDescriptionsContainer___BP3R","fade-in":"bts-agents-25_fade-in__eR7tE","fade-in-up":"bts-agents-25_fade-in-up___AdfU"}}}]);
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.