PageSourceSearch

https://rentok.com/_next/static/chunks/pages/_sites/payment-pages/p2/demo/upi-52dba1b5e2d1cf21.js

js rentok.com collected 2026-10-01 23:43:33 UTC 2,611 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="57284eeb-762d-4ca4-9982-179d93805c3c",e._sentryDebugIdIdentifier="sentry-dbid-57284eeb-762d-4ca4-9982-179d93805c3c")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2207],{99192:function(e,n,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_sites/payment-pages/p2/demo/upi",function(){return a(90419)}])},90419:function(e,n,a){"use strict";a.r(n),a.d(n,{__N_SSP:function(){return p},default:function(){return PretendUpi}});var t=a(85893),s=a(9008),i=a.n(s),r=a(11163),o=a(67294),c=a(48316),d=a(21485),l=a(73927);let u=[["paid",e=>"Pay ".concat(e),"You land on the paid screen, with a receipt."],["slow",()=>"Pay, but the bank is slow","The page checks for a few seconds, then shows it paid."],["failed",()=>"Payment fails","The page says it could not confirm the payment. Nothing is marked paid."],["cancel",()=>"Go back without paying","Like closing the UPI app before the PIN."]];var p=!0;function PretendUpi(e){let{ok:n}=e,a=(0,r.useRouter)(),[s,p]=(0,o.useState)(null),h=a.query;if(!n)return null;let y=(0,l.kk)(Number(h.amount)||0),choose=async e=>{if(s)return;p(e),await (0,d.pW)("order",{orderId:h.orderId,outcome:e,bills:h.bills,gross:h.gross,meter:h.meter},h.code);let n=String(h.back||"");window.location.replace(/^\/p2\/demo-[a-z-]+(\/|\?|$)/.test(n)?n:"/p2/".concat(h.code))};return(0,t.jsxs)(c.Z,{children:[(0,t.jsxs)(i(),{children:[(0,t.jsx)("title",{children:"Pretend UPI app"}),(0,t.jsx)("meta",{name:"robots",content:"noindex"})]}),(0,t.jsxs)("main",{className:"pay-upi",children:[(0,t.jsx)("p",{className:"pay-upi-kicker",children:"Pretend UPI app"}),(0,t.jsx)("h1",{className:"pay-money",children:y}),(0,t.jsx)("p",{className:"pay-upi-lede",children:"This stands in for PhonePe, Google Pay or Paytm. No money moves. Pick what happens."}),(0,t.jsx)("ul",{className:"pay-upi-ways",children:u.map((e,n)=>{let[a,i,r]=e;return(0,t.jsx)("li",{children:(0,t.jsxs)("button",{type:"button",className:0===n?"is-main":void 0,onClick:()=>choose(a),disabled:!!s,"aria-busy":s===a,children:[(0,t.jsx)("b",{children:s===a?"Sending you back…":i(y)}),(0,t.jsx)("small",{children:r})]})},a)})})]})]})}},62538:function(e){e.exports={style:{fontFamily:"'__Figtree_8cbda3', '__Figtree_Fallback_8cbda3'",fontStyle:"normal"},className:"__className_8cbda3",variable:"__variable_8cbda3"}}},function(e){e.O(0,[1664,8316,9774,2888,179],function(){return e(e.s=99192)}),_N_E=e.O()}]);

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.