1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5257,1163,8902],{78500:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/creator-plus",function(){return r(54241)}])},44061:function(e,n,r){"use strict";r.d(n,{A2:function(){return p},AP:function(){return C},Ch:function(){return k},Mq:function(){return c},Pj:function(){return j},TC:function(){return l},Z$:function(){return P},cA:function(){return s},fl:function(){return u},kH:function(){return h},p1:function(){return x},ps:function(){return m},t_:function(){return d},wo:function(){return y}});var o=r(15103),t=r(48583),i=r(95495);let l=(0,i.O4)("user-logged-in",!1),a=(0,i.O4)("user-profile-data",null,void 0,{getOnInit:!0}),d=(0,o.cn)([]),s=()=>(0,t.b9)(d),u=()=>(0,t.Dv)(d),c=()=>(0,t.b9)(l),p=()=>(0,t.Dv)(l),m=()=>(0,t.b9)(a),h=()=>(0,t.Dv)(a),f=(0,o.cn)(e=>{var n;return null===(n=e(a))||void 0===n?void 0:n.id}),v=(0,o.cn)(e=>{var n;return null===(n=e(a))||void 0===n?void 0:n.gems}),b=(0,o.cn)(e=>{var n;return null===(n=e(a))||void 0===n?void 0:n.name});(0,o.cn)(e=>{var n;return null===(n=e(a))||void 0===n?void 0:n.totalPoints});let g=(0,o.cn)(e=>{let n=e(l),r=e(d);return n?r&&"string"!=typeof r?null==r?void 0:r.some(e=>{if(1===e.typeId)return!0}):void 0:null}),x=()=>(0,t.Dv)(g),w=(0,o.cn)(e=>{let n=e(l),r=e(d);return n?r&&"string"!=typeof r?null==r?void 0:r.some(e=>{if(2===e.typeId)return!0}):void 0:null}),P=()=>(0,t.Dv)(w),k=()=>(0,t.Dv)(f),y=()=>(0,t.Dv)(v),j=()=>{let e=h(),n=m();return r=>{r&&n({...e,gems:r})}},C=()=>(0,t.Dv)(b)},38902:function(e,n,r){"use strict";r.r(n),r.d(n,{default:function(){return O}});var o=r(85893),t=r(67294),i=r(44061),l=r(57128),a=r(71570),d=r(53708),s=r(27484),u=r.n(s),c=r(84110),p=r.n(c),m=r(5152),h=r.n(m),f=r(11163),v=r(4298),b=r.n(v),g=r(93754),x=r(52454),w=r(60752),P=r(31041),k=r(78137),y=r(46447),j=r(63119),C=r(25895),M=(0,j.kc)((e,n)=>({modalRoot:{borderRadius:"2rem"},modalBody:{position:"relative",display:"flex",height:"100%",borderRadius:"2rem",background:"".concat(e.other.paletteNew.darkModeInclinedBlack2," !important"),flexDirection:"row",[C.AE.tablet]:{padding:(null==n?void 0:n.alreadyPlus)?"0.1rem":"2rem"},[C.AE.mobile]:{height:"fit-content",flexDirection:"column"}},modalInner:{[C.AE.mobile]:{overflow:"scroll"}},modalContent:{background:"".concat(e.other.paletteNew.darkModeInclinedBlack2," !important"),borderRadius:"2rem",flexBasis:(null==n?void 0:n.alreadyPlus)?"min(450px, 100%)":"min(1000px, 100%)",height:"min(800px, 80vh)",transform:"scale(1)",[C.AE.desktop]:{padding:(null==n?void 0:n.alreadyPlus)?"0.1rem":"2rem"},[C.AE.mobile]:{height:"100dvh",borderRadius:"0rem !important"},padding:"0.2rem",overflow:"hidden !important"},proBorder:{":after":{content:"' '",position:"absolute",left:"50%",top:"50%",height:"1200px",width:"1200px",zIndex:"-1",transform:"translate(-50%, -50%)",animation:"rotateProChip 10s linear infinite","@keyframes rotateProChip":{"0%":{transform:"translate(-50%, -50%) rotate(0deg)"},"100%":{transform:"translate(-50%, -50%) rotate(360deg)"}}}},errorTitle:{fontWeight:"500",padding:"1rem"},errorSubtitle:{color:e.other.colors.text.secondary},errorModalBody:{padding:"2rem 3rem"},errorModalClose:{position:"absolute",right:"0",top:"0",margin:"1.5rem",cursor:"pointer"},errorModalContent:{flexBasis:"auto",backgroundColor:e.other.colors.dialog.secondary},qrImage:{height:"120px",width:"120px",margin:"1rem",marginTop:"2rem",borderRadius:"1rem"},errorDrawerBody:{background:e.other.paletteNew.darkModeInclinedBlack2,borderRadius:"1rem 1rem 0 0"},errorDrawerContent:{borderRadius:"1rem 1rem 0 0",overflow:"hidden",padding:"2rem",height:"fit-content",position:"relative"},downloadAppBtn:{marginTop:"2rem",marginBottom:"1rem"},modalRootNew:{borderRadius:"2rem",width:"498px !important"},modalBodyNew:{position:"relative",display:"flex",flexDirection:"column",background:"".concat(e.other.paletteNew.darkModeInclinedBlack2," !important"),maxWidth:"498px",overflowX:"hidden",[C.AE.tablet]:{padding:(null==n?void 0:n.alreadyPlus)?"0.1rem":"2rem"},[C.AE.mobile]:{height:"fit-content",flexDirection:"column",maxWidth:"100%"}},modalInnerNew:{},modalInnerWrapper:{maxWidth:"100%",overflowX:"hidden",display:"flex",flexDirection:"column",gap:"2rem",height:"100%",maxHeight:"100%"},modalContentNew:{background:"".concat(e.other.paletteNew.darkModeInclinedBlack2," !important"),flexBasis:"auto",height:"min(800px, 80vh)",maxHeight:"80vh",width:"49.8rem !important",maxWidth:"49.8rem !important",overflowY:"hidden",overflowX:"hidden",display:"flex",flexDirection:"column",[C.AE.desktop]:{padding:"0"},[C.AE.mobile]:{height:"fit-content",maxHeight:"100dvh",borderRadius:"0rem !important",maxWidth:"100%"},padding:"0.2rem"}}));let I=h()(()=>Promise.all([r.e(3824),r.e(5508),r.e(3087)]).then(r.bind(r,53087)),{loadableGenerated:{webpack:()=>[53087]}}),N=h()(()=>Promise.all([r.e(8388),r.e(3824),r.e(5614)]).then(r.bind(r,78855)),{loadableGenerated:{webpack:()=>[78855]}}),B=h()(()=>Promise.all([r.e(8388),r.e(3824),r.e(772)]).then(r.bind(r,6691)),{loadableGenerated:{webpack:()=>[6691]}}),D=h()(()=>r.e(1248).then(r.bind(r,51248)),{loadableGenerated:{webpack:()=>[51248]}}),E=h()(()=>Promise.all([r.e(8388),r.e(5927)]).then(r.bind(r,15927)),{loadableGenerated:{webpack:()=>[15927]}}),S=e=>{let n=null==e?void 0:e.find(e=>e.defaultSelected);return{...n,finalAmount:(null==n?void 0:n.discountedAmount)||(null==n?void 0:n.recurringAmount)}};function A(e){let{userPlan:n,isMobile:r,hasHighestSubscription:t,isPro:i,plusPacks:l,errorPage:a,defaultPack:d,isAlreadyPlus:s,hasSubscription:u}=e,{classes:c,cx:p}=M({alreadyPlus:s}),{theme:m}=M(),h=(0,g.jM)();return a?(0,o.jsxs)("div",{style:{height:"100vh",width:"100%",background:m.other.paletteNew.darkModeInclinedBlack2},children:[(0,o.jsx)(w.Z,{condition:r,children:(0,o.jsx)(E,{changeColor:!0})}),(0,o.jsx)(P.Z,{onClick:()=>{window.location.reload()}})]}):(0,o.jsx)(x.Z,{centered:!0,classNames:{body:c.modalBodyNew,content:p(c.modalContentNew,s?c.proBorder:void 0),root:c.modalRootNew,inner:c.modalInnerNew},closeOnClickOutside:!0,closeOnEscape:!1,fullWidth:!0,lockScroll:!0,onClose:()=>h("plusModal"),opened:!0,size:"60%",transitionProps:r?{transition:"slide-up"}:{transition:"fade"},withCloseButton:!1,zIndex:1200,children:(0,o.jsx)("div",{className:c.modalInnerWrapper,children:s?(0,o.jsx)(N,{hasHighestSubscription:t,hasSubscription:u,isMobile:r,userPlan:n}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(B,{expiringTime:null==n?void 0:n.endTime,isMobile:r,isPro:i}),(0,o.jsx)(D,{defaultPack:d,hasSubscription:u,isPro:i,plusPacks:l})]})})})}function _(e){let{userPlan:n,isMobile:r,hasHighestSubscription:t,isPro:i,plusPacks:l,errorPage:a,defaultPack:d,isAlreadyPlus:s,hasSubscription:u}=e,{classes:c,cx:p}=M({alreadyPlus:s}),{theme:m}=M();return a?(0,o.jsxs)("div",{style:{height:"100vh",width:"100%",background:m.other.paletteNew.darkModeInclinedBlack2},children:[(0,o.jsx)(w.Z,{condition:r,children:(0,o.jsx)(E,{changeColor:!0})}),(0,o.jsx)(P.Z,{onClick:()=>{window.location.reload()}})]}):(0,o.jsx)("div",{style:{backgroundColor:"#1a1a1a"},children:s?(0,o.jsx)(N,{hasHighestSubscription:t,hasSubscription:u,isMobile:r,userPlan:n}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(B,{expiringTime:null==n?void 0:n.endTime,isMobile:r,isPro:i}),(0,o.jsx)(D,{defaultPack:d,hasSubscription:u,isPro:i,plusPacks:l})]})})}var R=function(e){let{from:n,plusPacks:r,isMobile:t,initialOpen:a,userPlan:d,isProServer:s,emotionCache:c,error:m,isWebView:h,hasSubscription:v}=e;u().extend(p());let x=(0,f.useRouter)(),w=(0,i.p1)(),P=(0,g.jM)();x.query.proModal;let j=x.query.purchaseHistory,C=(0,l.nE)(),M="ProPage"===n?s:w,N=!!x.query.alreadyPlus,B=S(r);return(0,o.jsxs)(o.Fragment,{children:[h?null:(0,o.jsx)(b(),{crossOrigin:"anonymous",src:"https://securegw.paytm.in/merchantpgpui/checkoutjs/merchants/".concat("Rooter33775918767224",".js"),type:"application/javascript"}),(0,o.jsx)(k.ZP,{}),(0,o.jsxs)(y.Z,{emotionCache:c,type:"dark",children:["mobile"!==C?(0,o.jsx)(A,{defaultPack:B,errorPage:m,hasHighestSubscription:!1,hasSubscription:v,isAlreadyPlus:N,isMobile:t,isPro:M,plusPacks:r,userPlan:d}):(0,o.jsx)(_,{defaultPack:B,errorPage:m,hasHighestSubscription:!1,hasSubscription:v,isAlreadyPlus:N,isMobile:t,isPro:M,plusPacks:r,userPlan:d}),(0,o.jsx)(I,{onClose:()=>P("purchaseHistory"),opened:j,userPlan:d})]})]})},W=r(11808);let H=e=>{var n;return null==e?void 0:null===(n=e.plans)||void 0===n?void 0:n.map((e,n)=>({packId:e.id,day:e.validity,amount:e.amount,currency:e.currency,defaultSelected:0===n,variationId:e.variationId,metadata:e.metadata||{},showDownloadBtn:!!e.app_installs,currencyIcon:e.currency_icon||"â¹",isPopular:!1,type:null==e?void 0:e.design,wallet:null==e?void 0:e.wallet,discountedAmount:e.amount,isSubscriptionPlan:!1}))};var O=e=>{var n;
1let{initialOpen:r,plans:s=[],from:u,isProStatus:c,proDetails:p,emotionCache:m,error:h,isWebView:f}=e,[v,b]=(0,t.useState)([]),[g,x]=(0,t.useState)(p),w=(0,W.Db)(),P=(0,l.nE)(),k=(0,l.c3)(),y=(0,i.A2)();(0,t.useEffect)(()=>{if(p||!y){w(p);return}j()},[]),(0,t.useEffect)(()=>{null!=s&&s.length||C()},[]);let j=async()=>{try{let e=await (0,d.Kr)();x(e),w(e)}catch(e){a.Z.error(e.displayMsg)}},C=async()=>{try{let e=await (0,d.p4)({countryCode:k,screen:"plusModalPage"});b(e)}catch(e){a.Z.error(e.displayMsg)}},M=H((null==s?void 0:null===(n=s.plans)||void 0===n?void 0:n.length)>0?s:v);return(0,o.jsx)(R,{emotionCache:m,error:h,from:u,hasSubscription:!1,initialOpen:r,isMobile:"mobile"===P,isProServer:c,isWebView:f,plusPacks:M,userPlan:g})}},11808:function(e,n,r){"use strict";r.d(n,{Db:function(){return a},EB:function(){return s},HG:function(){return d}});var o=r(15103),t=r(48583);(0,o.cn)({open:!1,orderId:void 0});let i=(0,o.cn)(null),l=(0,o.cn)(!1),a=()=>(0,t.b9)(i),d=()=>(0,t.Dv)(l),s=()=>(0,t.b9)(l)},54241:function(e,n,r){"use strict";r.r(n),r.d(n,{__N_SSP:function(){return d}});
1var o=r(85893),t=r(67294),i=r(44061),l=r(38902),a=r(46216);r(96485);var d=!0;n.default=function(e){let n=(0,i.ps)(),r=(0,a.lE)();return(0,t.useEffect)(()=>{r(e.previousPath),(null==e?void 0:e.isWebview)&&(null==e?void 0:e.profile)!==null&&n(null==e?void 0:e.profile)},[e.previousPath]),(0,o.jsx)(l.default,{emotionCache:e.emotionCache,error:null==e?void 0:e.error,from:"ProPage",initialOpen:!0,isProStatus:null==e?void 0:e.isPlus,isWebView:null==e?void 0:e.isWebview,plans:null==e?void 0:e.plans,proDetails:null==e?void 0:e.proDetails})}},11163:function(e,n,r){e.exports=r(37253)}},function(e){e.O(0,[6342,3122,2983,7659,3119,4920,479,7423,2054,745,214,5063,8100,2195,1032,6721,2102,6322,5704,1965,6863,8476,2440,6972,7127,8137,2888,9774,179],function(){return e(e.s=78500)}),_N_E=e.O()}]); 2//# sourceMappingURL=creator-plus-7ea69802f6d1e1a7.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.