PageSourceSearch

https://www.theprose.com/_next/static/chunks/pages/signup-old-09dc98a482c0c27b6af7.js

js theprose.com collected 2026-09-24 09:26:53 UTC 6,990 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[382],{3383:function(e,n,o){"use strict";o.r(n),o.d(n,{default:function(){return D}});var t=o(1717),r=o(6952),l=o(38566),i=o(88742),a=o.n(i),s=o(38054),d=o.n(s),c=o(27378),u=o(40384),m=o(16974),p=o(30112),f=o(74300),v=o(44786),h=o(86677),_=o(30481),g=o(52077),y=o(99135),w=o(1595),b=o(50301),x=o(98725),j=o(57268),O=o(24246);function k(e,n){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),o.push.apply(o,t)}return o}var S={"7f3a9b12c6d8":{plan:"D-$1.99-monthly-payment-for-access",title:"Write, comment, and send messages for $1.99/month.",duration:"monthly",planId:{prod:"price_1Q910JGLZYAn3Miplmpk0awn",dev:"price_1Q9LV3GLZYAn3MipyD0dyc1X"},amount:"$1.99/month",am:1.99}},P=function(e){var n,o,i,s=e.onConfirm,P=(0,f.km)(),C=P.isRunningInMobileApp,N=P.platformOS,I=C&&"ios"===N,D=(0,c.useState)(!1),E=D[0],A=D[1],Z=(0,c.useState)(!1),R=Z[0],T=Z[1],B=(0,c.useState)({email:"",password:"",username:""}),L=B[0],G=B[1],M=(0,b.bq)(),U=_.Z.isProd,W=(0,h.useRouter)(),Y=W.query.refId,J=(0,g.O2)(y.mB),Q=(0,l.Z)(J,1)[0],$=(0,g.e)(),V=(0,l.Z)($,1)[0],K=new j.ClientAnalytics;(0,c.useEffect)((function(){if(window){var e=(0,w.Ip)();e&&G(e),null!==e&&void 0!==e&&e.email&&null!==e&&void 0!==e&&e.username&&null!==e&&void 0!==e&&e.password||W.push("/")}return function(){(0,w.c2)()}}),[Y,W]);var X=function(){var e=(0,r.Z)(a().mark((function e(n){var o,t,r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,V({stripe_token_id:n,email:null===L||void 0===L?void 0:L.email,username:null===L||void 0===L?void 0:L.username});case 2:if(!(o=e.sent)){e.next=7;break}return e.next=6,Q({email:null===L||void 0===L?void 0:L.email,username:null===L||void 0===L?void 0:L.username,password:null===L||void 0===L?void 0:L.password,stripeCustomerId:o,signupPlan:null===S||void 0===S||null===(t=S[Y])||void 0===t||null===(r=t.planId)||void 0===r?void 0:r[U?"prod":"dev"]});case 6:return e.abrupt("return");case 7:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),q=function(){var e=(0,r.Z)(a().mark((function e(n){var o,t;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!I){e.next=6;break}A(!0),K.event(x.s.STARTSUBSCRIBE,{planId:Y,plan:S[Y].plan,price:S[Y].amount,value:S[Y].am,platform:"ios"}),null===(o=window)||void 0===o||null===(t=o.ReactNativeWebView)||void 0===t||t.postMessage(JSON.stringify({type:"iap"})),e.next=16;break;case 6:return e.prev=6,K.event(x.s.STARTSUBSCRIBE,{planId:Y,plan:S[Y].plan,price:S[Y].amount,value:S[Y].am,platform:"web"}),e.next=10,X(n);case 10:s(Y),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(6),M(e.t0);case 16:case"end":return e.stop()}}),e,null,[[6,13]])})));return function(n){return e.apply(this,arguments)}}(),F=function(){try{var e,n;if(I)A(!0),null===(e=window)||void 0===e||null===(n=e.ReactNativeWebView)||void 0===n||n.postMessage(JSON.stringify(function(e){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?k(Object(o),!0).forEach((function(n){(0,t.Z)(e,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):k(Object(o)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))}))}return e}({type:"testGroup"},{email:null===L||void 0===L?void 0:L.email,username:null===L||void 0===L?void 0:L.username,details:null===S||void 0===S?void 0:S[Y]})));else console.log("\ud83d\ude80 else condition"),T(!0)}catch(o){console.log("\ud83d\ude80 ~ onTestGroupClicked ~ error:",o),M(o)}};return(0,O.jsx)(O.Fragment,{children:(0,O.jsx)(p.Rj,{noPadding:!0,handleBackButton:function(){(0,w.c2)(),W.push("/")},forSignup:!0,children:R?(0,O.jsx)(v.o,{purchaseType:"signup",tempUser:L,forSignup:!0,onComplete:q}):(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("div",{className:d()["modal-gold-header"],children:(0,O.jsx)(m.K7,{className:d()["modal-gold-header-logo"]})}),(0,O.jsxs)(p.GC,{children:[(0,O.jsx)(p.TU,{title:"Welcome to Prose.",text:(0,O.jsxs)(O.Fragment,{children:[null===S||void 0===S||null===(n=S[Y])||void 0===n?void 0:n.title," Email"," ",(0,O.jsx)("a",{href:"mailto:[email protected]",style:{color:"blue",textDecoration:"underline",fontWeight:"normal"},children:"[email protected]"})," ","within 7 days for a full refund. Cancel any time."]})}),(0,O.jsx)(u.Kk,{title:"Join Prose. for ".concat(null===S||void 0===S||null===(o=S[Y])||void 0===o?void 0:o.amount),type:u.m5.GOLD,loading:E,onClick:function(){F()}}),(0,O.jsxs)("div",{className:d()["modal-gold-benefit"],children:["lifeTime"!==(null===S||void 0===S||null===(i=S[Y])||void 0===i?void 0:i.duration)&&"* Subscription auto-renews every month until cancelled, by proceeding you agree to our",(0,O.jsxs)("a",{className:d()["modal-gold-link"],href:"https://www.theprose.com/p/legal/terms",children:[" ","Terms"]})," and ",(0,O.jsxs)("a",{className:d()["modal-gold-link"],href:"https://www.theprose.com/p/legal/privacy",children:[" ","Privacy Policy"]})]})]})]})})})},C=o(42569),N=o(93256),I={"7f3a9b12c6d8":{plan:"D-$1.99-monthly-payment-for-access",title:"Write, comment, and send messages for $1.99/month.",duration:"monthly",planId:{prod:"price_1Q910JGLZYAn3Miplmpk0awn",dev:"price_1Q9LV3GLZYAn3MipyD0dyc1X"},amount:"$1.99/month",am:1.99}},D=function(){var e=new j.ClientAnalytics,n=(0,h.useRouter)().push;return(0,C.Yz)(!0,null,{from:{opacity:0,transform:"scale(0.7)"},enter:{opacity:1,transform:"scale(1.0)"},leave:{opacity:0,transform:"scale(0.7)"},config:{tension:400,friction:28}}).map((function(o){var t=o.item,r=o.key,l=o.props;return t&&(0,O.jsx)(N.Z,{animation:l,children:(0,O.jsx)(P,{onConfirm:function(o){e.event(x.s.ADCONVERSION,{send_to:"AW-961673751/qKvsCLL-sdAZEJf0x8oD",value:I[o].am,currency:"USD"}),e.event(x.s.SUBSCRIBE,{planId:o,plan:I[o].plan,price:I[o].amount,value:I[o].am}),(0,w.c2)(),n("/p/intro")}})},r)}))}},72894:function(e,n,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/signup-old",function(){return o(3383)}])}
1,38054:function(e){e.exports={"modal-gold-header":"style_modal-gold-header__QmPxm",slide:"style_slide__33ftm","modal-gold-header--platinum":"style_modal-gold-header--platinum__bGc_g","modal-gold-header-logo":"style_modal-gold-header-logo__cwIQ_","modal-gold-benefit":"style_modal-gold-benefit__3m8KU","modal-gold-link":"style_modal-gold-link__3D0i1","modal-gold-benefit__coin":"style_modal-gold-benefit__coin__Tn02e","modal-gold-benefit__icon":"style_modal-gold-benefit__icon__eAoLY","gold-modal-price":"style_gold-modal-price__20BOS",strikethrough:"style_strikethrough__1MdZu",small:"style_small__semYc"}}},function(e){e.O(0,[1915,935,1024,2482,3448,5170,8050,848,2319,5275,7064,2354,5511,6939,6605,9832,1414,4317,4984,6376,2849,4633,9774,2182,4245,6530,8480,5748,7987,2436,5629,5621,9046,9563,2947,2888,2183,179],(function(){return n=72894,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

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.