PageSourceSearch

https://www.nuestrocine.mx/_next/static/chunks/pages/payment/success-639228b9bd3bbdea.js

js nuestrocine.mx collected 2026-10-04 02:15:53 UTC 2,858 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7638],{1331:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/payment/success",function(){return n(8221)}])},6699:function(t,e,n){"use strict";n.d(e,{Cb:function(){return x},Hx:function(){return m},cw:function(){return w},fW:function(){return y},jJ:function(){return f},om:function(){return j}});var a=n(9564),r=n(9161);let{payment_api:o,imcine_endpoint:c,organization_id:s}=a.config,{listPlans:i,paymentPopup:u,newsubscription:l,cancelsubscription:d,rentcheckout:p,successonrent:h}=o,f=async()=>{let t=new FormData;t.append("organization",s);let{data:e}=await r.Z.post("".concat(c,"/").concat(i),t);return e},m=async t=>{let{data:e}=await r.Z.get("".concat(c,"/").concat(u),{headers:{Authorization:"Bearer ".concat(t),"Content-Type":"application/json"}});return e},w=async(t,e)=>{let n=new FormData;n.append("plan",t);let{data:a}=await r.Z.post("".concat(c,"/").concat(l),n,{headers:{Authorization:"Bearer ".concat(e),"Content-Type":"multipart/form-data"}});return a},x=async(t,e)=>{let n=new FormData;n.append("plan",t);let{data:a}=await r.Z.post("".concat(c,"/").concat(d),n,{headers:{Authorization:"Bearer ".concat(e),"Content-Type":"multipart/form-data"}});return a},y=async(t,e)=>{let n=new FormData;n.append("contentmetdata",t);let{data:a}=await r.Z.post("".concat(c,"/").concat(p),n,{headers:{Authorization:"Bearer ".concat(e),"Content-Type":"multipart/form-data"}});return a},j=async(t,e)=>{let n=new FormData;n.append("checkout",t),n.append("order",e);let{data:a}=await r.Z.post("".concat(c,"/").concat(h),n,{headers:{"Content-Type":"multipart/form-data"}});return a}},8221:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return i}});var a=n(5893),r=n(1163),o=n(7294),c=n(6699),s=n(812);function i(){let t=(0,r.useRouter)(),e=(0,o.useContext)(s.Z),[n,i]=(0,o.useState)("loading");return(0,o.useEffect)(()=>{let{checkout_id:e,order_id:n}=t.query;e&&n&&(0,c.om)(e,n).then(t=>{t&&"Success"===t.status&&(i("success"),window.setTimeout(()=>{window.close()},2e4))})},[t.isReady,t.query]),(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"loginContainer",children:(0,a.jsx)("div",{className:"accountForm",children:(0,a.jsx)("div",{className:"content",children:(0,a.jsx)("div",{className:"info",children:"success"===n?(e.user?e.user.lastPage?t.push(e.user.lastPage):t.push("/"):t.push("/login"),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h1",{children:"El pago ha sido recibido"}),(0,a.jsx)("p",{children:"Ya pudes cerrar esta ventana."})]})):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h1",{children:"Pago fallido"}),(0,a.jsxs)("p",{children:["No hemos podido realziar el cobro.",(0,a.jsx)("br",{}),"Intentalo nuevamente."]})]})})})})})})}},1163:function(t,e,n){t.exports=n(8355)}},function(t){t.O(0,[9774,2888,179],function(){return t(t.s=1331)}),_N_E=t.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.