1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4917],{84917:function(e,n,t){t.r(n),t.d(n,{default:function(){return L}});var r=t(50029),i=t(87794),s=t.n(i),a=t(86010),l=t(49089),c=t(41664),o=t.n(c),d=t(1216),x=t(62425),h=t(11163),p=t(17563),u=t(26925),f=t(67294),m=t(94253),j=t(15861),b=t(21214),g=t(86886),y=t(63149),Z=t(59499),C=t(45522),F=t(34631),S=(0,C.Z)((function(e){return{grayColor:{color:F.lH,fontFamily:"Lato",textAlign:"left"},title:{fontSize:34,color:F.n6,textAlign:"center"},secondaryColor:{color:F.l$,fontFamily:"Lato",textAlign:"left",display:"flex",alignItems:"baseline",gap:4},month:{fontSize:18},priceCard:(0,Z.Z)({marginBottom:e.spacing(4),borderRadius:16,backgroundColor:e.palette.common.white,boxShadow:"0px 4px 6px -2px rgba(16, 24, 40, 0.03), 0px 12px 16px -4px rgba(16, 24, 40, 0.08)",border:"1px solid #E0E0E0","& p, & > span":{fontFamily:"Lato"},"& a":{marginTop:e.spacing(1),marginBottom:e.spacing(2)}},e.breakpoints.up("md"),{marginBottom:0}),priceCardActiveSecondary:{position:"relative",border:"1px solid ".concat(F.l$),boxShadow:"0px 4px 6px -2px rgba(16, 24, 40, 0.03), 0px 12px 16px -4px rgba(16, 24, 40, 0.08)"},cardTitle:{color:F.lH,fontSize:18,fontWeight:700,fontFamily:"Lato"},cardTitleEmphasis:{color:F.l$},tagMostPopular:{display:"block",color:F.l$,fontSize:14,fontWeight:700,fontFamily:"Lato",background:"#FDF2FA",padding:"2px 8px",border:"1px solid #FCCEEE",borderRadius:6,width:"fit-content"},discountText:{color:"#D6246E",fontSize:16,fontFamily:"Lato"},textBannerLocale:{color:e.palette.common.white,fontSize:23,"& .extra":{display:"inline",textDecoration:"underline",fontSize:23},"& span":{fontSize:40,fontWeight:900}},freeDays:{fontSize:14,color:F.lH,fontFamily:"Lato",lineHeight:"19px"},textPrice:{color:F.lH,fontSize:11,fontFamily:"Lato",lineHeight:"19px",textAlign:"left"},line:{backgroundColor:F.l$,height:1,minWidth:100,flexGrow:1,flexBasis:0},priceCardActiveGray:{position:"relative",border:"1px solid ".concat(F.zD),boxShadow:"0px 4px 6px -2px rgba(16, 24, 40, 0.03), 0px 12px 16px -4px rgba(16, 24, 40, 0.08)"},benefitsList:(0,Z.Z)({minWidth:613,lineHeight:"8px","& div":{display:"flex",alignItems:"center"},"& svg":{color:F.l$},"& p":{color:F.lH,fontSize:16,fontFamily:"Lato",marginLeft:8}},e.breakpoints.down("lg"),{minWidth:"100%",lineHeight:"20px"}),allFeatures:{color:F.l$,textDecoration:"underline",fontSize:14,"&:hover":{cursor:"pointer"}}}})),v=t(74069),R={currency:"US$",researcherMonth:"19",totalResearcherMonth:null,researcherYear:"12",totalResearcherYear:null,totalYear:"144",promotion:null,locale:"en"},E={currency:"R$",researcherMonth:"53",totalResearcherMonth:"106",researcherYear:"33",totalResearcherYear:"66",totalYear:"403",promotion:"brl_discount",locale:"br"},N={currency:"\u20b9",researcherMonth:"708",totalResearcherMonth:"1416",researcherYear:"447",totalResearcherYear:"894",totalYear:"5366",promotion:"inr_discount",locale:"in"},w=t(83657),k=t(847),A=t(54011),P=t(53497),T=t(97839),H=t(85893);function L(e){var n=e.title,t=e.bgColorProp,i=S(),c=(0,h.useRouter)(),Z=(0,T.fC)(),C=Z.user,F=Z.isAuthenticated,L=(0,f.useState)("US"),z=L[0],M=L[1],I=(0,f.useState)(R),Y=I[0],D=I[1],U=Y.promotion,_=["BR","IN"].includes(z),B=new k.Z,G=(0,f.useState)(null),$=G[0],W=G[1],O=(0,f.useState)(5),q=O[0],J=O[1],K=(0,P.Z)();function Q(){return(Q=(0,r.Z)(s().mark((function e(){var n,t;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!F){e.next=6;break}return e.next=3,B.getLastInvoice();case 3:n=e.sent,t=n.data,W(t);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function V(e,n){var t=p.stringify({plan:e,billingInterval:n});return Y.promotion&&(t+="&promotion=".concat(U)),F&&!$&&(t+="&trial=true"),F?"/pricing?".concat(t):"/auth/login-register?".concat(p.stringify({from_url:c.basePath+c.pathname,redirect:"".concat((0,x.dU)("MTG_URL_APP"),"/pricing?").concat(t)}))}function X(e,n){switch(e){case y.fu.TRIAL:"beginner";break;case y.fu.STUDENT:"junior";break;case y.fu.RESEARCHER:"senior";break;case y.fu.LAB_RESEARCHER:"proTeams";break;default:console.error("Failed to resolve plan label for plan [".concat(e,"]"))}l.ZP.event({category:"pricing",action:"card_clicked",label:'Click button "Start Now" or "Subscribe" or "Subscribe Now" or "or Subscribe"',value:C.id}),K.event.push("Clicks to view information detail",{Product:"MTG",Email:C.email,URL:c.asPath,"Country code":C.country_code,Description:"Clicked CTA Start Now",Locale:"pricing"})}return(0,f.useEffect)((function(){function e(){return e=(0,r.Z)(s().mark((function e(){var n;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,w.uM.getUserCountry(C);case 2:n=e.sent,M(n);case 4:case"end":return e.stop()}}),e)}))),e.apply(this,arguments)}!function(){e.apply(this,arguments)}(),function(){Q.apply(this,arguments)}()}),[C,null===C||void 0===C?void 0:C.country_code]),(0,f.useEffect)((function(){!function(e){var n;switch(e){case"BR":n=E;break;case"IN":n=N;break;default:n=R}D(n)}(z)}),[z]),(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(m.Z,{pt:5.625,bgcolor:t,children:(0,H.jsx)(d.ZP,{children:(0,H.jsx)(b.Z,{children:(0,H.jsx)(j.Z,{className:i.title,children:(0,H.jsx)("b",{children:n})})})})}),function(){if(Y===E||Y===N){var e=Y===E?"Brazilian":"Indian";return(0,H.jsx)(m.Z,{bgcolor:"#5F29CC",textAlign:"center",px:2,py:3,mb:6,children:(0,H.jsxs)(j.Z,{className:i.textBannerLocale,children:["Only for ",(0,H.jsxs)("b",{children:[e," customers"]})," - enjoy a ",(0,H.jsx)("span",{children:"50%"})," ",(0,H.jsx)("span",{className:"extra",children:(0,H.jsx)("b",{children:"extra"})})," ","discount!"]})})}}(),(0,H.jsx)(m.Z,{bgcolor:t,pb:8,children:(0,H.jsx)(d.ZP,{children:(0,H.jsxs)(b.Z,{children:[(0,H.jsxs)(g.ZP,{container:!0,spacing:2,justifyContent:"center",children:[(0,H.jsx)(g.ZP,{item:!0,xs:12,md:3,children:(0,H.jsxs)(m.Z,{p:"en"===Y.locale?4:3,className:(0,a.default)(i.priceCard,i.priceCardActiveGray),children:[(0,H.jsx)(j.Z,{className:(0,a.default)(i.cardTitle,i.cardTitleEmphasis),children:"Monthly plan"}),(0,H.jsx)(j.Z,{className:i.freeDays,children:"7 days free, then"}),["in","br"].includes(Y.locale)&&(0,H.jsx)(m.Z,{pt:2,mb:-3,children:(0,H.jsx)(j.Z,{className:i.discountText,children:(0,H.jsxs)("del",{children:[Y.currency,Y.totalResearcherMonth]})})}),(0,H.jsxs)(m.Z,{pt:3,textAlign:"center",children:[(0,H.jsxs)(m.Z,{mb:5.25,children:[(0,H.jsxs)(j.Z,{className:i.secondaryColor,component:"span",children:[(0,H.jsx)(j.Z,{component:"p",variant:"h6",display:"inline",children:(0,H.jsx)("b",{children:Y.currency})})," ",(0,H.jsx)(j.Z,{component:"p",variant:"h3",display:"inline",children:(0,H.jsx)("b",{children:Y.researcherMonth})})," ",(0,H.jsx)(j.Z,{display:"inline",className:(0,a.default)(i.grayColor,i.month),children:"/Month"})]}),(0,H.jsx)(j.Z,{className:i.textPrice,children:"Cancel anytime"})]}),(0,H.jsx)("div",{className:_?"ab-test-pricing":"",children:(0,H.jsx)(o(),{passHref:!0,href:V(y.fu.RESEARCHER,y.oz.MONTH),children:(0,H.jsx)(u.Z,{style:{width:"100%"},variant:"buttonSecondary",onClick:function(){return X(y.fu.RESEARCHER,y.oz.MONTH)},children:"Get started"})})})]})]})}),(0,H.jsx)(g.ZP,{item:!0,xs:12,md:3,children:(0,H.jsxs)(m.Z,{p:"en"===Y.locale?4:3,className:(0,a.default)(i.priceCard,i.priceCardActiveSecondary),children:[(0,H.jsxs)(m.Z,{display:"flex",alignItems:"center",justifyContent:"space-between",children:[(0,H.jsx)(j.Z,{className:(0,a.default)(i.cardTitle,i.cardTitleEmphasis),children:"Yearly plan"}),(0,H.jsx)("span",{className:i.tagMostPopular,children:"Save 38%"})]}),(0,H.jsx)(j.Z,{className:i.freeDays,children:"7 days free, then"}),["in","br"].includes(Y.locale)&&(0,H.jsx)(m.Z,{pt:2,mb:-3,children:(0,H.jsx)(j.Z,{className:i.discountText,children:(0,H.jsxs)("del",{children:[Y.currency,Y.totalResearcherYear]})})}),(0,H.jsxs)(m.Z,{pt:3,textAlign:"center",children:[(0,H.jsxs)(m.Z,{mb:3,children:[(0,H.jsxs)(j.Z,{className:i.secondaryColor,component:"span",children:[(0,H.jsx)(j.Z,{component:"p",variant:"h6",display:"inline",children:(0,H.jsx)("b",{children:Y.currency})})," ",(0,H.jsx)(j.Z,{component:"p",variant:"h3",display:"inline",children:(0,H.jsx)("b",{children:Y.researcherYear})})," ",(0,H.jsx)(j.Z,{display:"inline",className:(0,a.default)(i.grayColor,i.month),children:"/Month"})]}),(0,H.jsxs)(j.Z,{className:i.textPrice,children:[Y.currency," ",Y.totalYear," charged yearly"]}),(0,H.jsx)(j.Z,{className:i.textPrice,children:"Cancel anytime"})]}),(0,H.jsx)("div",{className:_?"ab-test-pricing":"",children:(0,H.jsx)(o(),{passHref:!0,href:V(y.fu.RESEARCHER,y.oz.YEAR),children:(0,H.jsx)(u.Z,{style:{width:"100%"},variant:"buttonSecondary",onClick:function(){return X(y.fu.RESEARCHER,y.oz.YEAR)},children:"Get started"})})})]})]})})]}),(0,H.jsx)(m.Z,{display:"flex",justifyContent:"center",width:"100%",children:(0,H.jsxs)(m.Z,{display:"flex",alignItems:"center",pt:4,justifyContent:"space-between",width:"600px",children:[(0,H.jsx)("div",{className:i.line}),(0,H.jsx)(j.Z,{style:{color:"#D6246E",fontSize:18,padding:"6px"},children:(0,H.jsx)("b",{children:"What you\u2019ll get"})}),(0,H.jsx)("div",{className:i.line})]})}),(0,H.jsx)(m.Z,{display:"flex",justifyContent:"center",children:(0,H.jsxs)(m.Z,{className:i.benefitsList,children:[A.b.slice(0,q).map((function(e){return(0,H.jsxs)("div",{children:[(0,H.jsx)(v.P.done,{}),(0,H.jsx)("p",{children:e.text})]},e.id)})),(0,H.jsx)(m.Z,{pt:2,children:5===q?(0,H.jsx)(j.Z,{className:i.allFeatures,component:"p",onClick:function(){return J(17)},children:"See All Features"}):(0,H.jsx)(j.Z,{className:i.allFeatures,component:"p",onClick:function(){return J(5)},children:"See less features"})})]})})]})})})]})}L.defaultProps={bgColorProp:"#FFF"}},54011:function(e,n,t){t.d(n,{b:function(){return i}});var r=t(85893),i=[{text:(0,r.jsx)("b",{children:"Cancel Anytime"}),id:1},{text:(0,r.jsxs)(r.Fragment,{children:["High-resolution exports in ",(0,r.jsx)("b",{children:"PNG, PDF,"})," and ",(0,r.jsx)("b",{children:"TIFF"})]}),id:2},{text:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("b",{children:"Unlimited"})," Scientific Illustrations"]}),id:3},{text:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("b",{children:"Unlimited"})," Creations"]}),id:4},{text:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("b",{children:"Full access"})," to the world's largest gallery of scientifically accurate Illustrations"]}),id:5},{text:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("b",{children:"Graphical Abstracts, Infographics"})," and ",(0,r.jsx)("b",{children:"Posters"})," formats"]}),id:6},{text:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("b",{children:"Unlimited"})," External File Upload"]}),id:7},{text:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("b",{children:"Unlimited "}),"downloads"]}),id:8},{text:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("b",{children:"6 different"})," illustration versions"]}),id:9},{text:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("b",{children:"Free use "})," of ",(0,r.jsx)("b",{children:"no watermarks "}),"illustrations"]}),id:10},{text:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("b",{children:"Permission"})," for professional publications"]}),id:11},{text:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("b",{children:"Restore"})," deleted files"]}),id:12},{text:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("b",{children:"Unlimited"})," start-from Templates"]}),id:13},{text:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("b",{children:"Request new Template "}),"styles"]}),id:14},{text:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("b",{children:"Slides"})," and ",(0,r.jsx)("b",{children:"Presentations"})," feature"]}),id:15},{text:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("b",{children:"Tips"})," and ",(0,r.jsx)("b",{children:"support"})," from our Design and Infographic team"]}),id:16},{text:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("b",{children:"Priority"})," Customer Support"]}),id:17}]}}]); 2//# sourceMappingURL=4917-85422fced2aca6ac.js.map
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.