1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[33346],{8565:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/en/topup/greidsla",function(){return r(12871)}])},12871:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>d,default:()=>f});var a=r(33736),n=r(91844),l=r(95466),u=r(16766),o=r(7119),i=r(10316),s=r(63043),c=r(83234),d=!0;let f=e=>{let{navbar:t,footer:r,radioSchedules:d}=e,f=(0,l.useRouter)(),m=f.query,[p]=(0,u.fp)(s.GA),[_,h]=(0,n.useState)(null),[y,w]=(0,n.useState)(!0),[g,N]=(0,n.useState)(null),[S,b]=(0,n.useState)({});(0,n.useEffect)(()=>{if(!f.isReady)return;let e={};Object.entries(m).forEach(t=>{let[r,a]=t;e[r]=Array.isArray(a)?a.join(","):String(a)}),b(e)},[f.isReady,m]);let E=S.LocalRef;return(0,n.useEffect)(()=>{(async()=>{if(E)try{let e=await fetch("/api/store/get-refill-amount?referenceNumber=".concat(E));if(!e.ok)return void c.t.error("â Failed to fetch refill amount:",await e.text());let t=await e.json(),r=Number(t.amount)||0;N(r);let a={orderStatus:"pending",products:[{productName:"Topup",productId:S.Product_1_Description||"unknown",quantity:1,productPrice:r,totalPrice:r}]};h(a)}catch(e){c.t.error("Error fetching refill amount:",e)}finally{w(!1)}})()},[E,S]),(0,a.jsx)(o.A,{title:"S\xfdn | Payment",metaTags:{title:"S\xfdn Payment",url:"https://www.syn.is/en/topup/greidsla",image:{url:"/android-chrome-192x192.png"}},navbar:t,footer:r,radioSchedules:d,children:(0,a.jsx)("div",{className:"col-span-full mx-24 mb-24 py-128 md:col-span-12 md:col-start-2 md:mx-0 lg:mb-64",children:(0,a.jsx)(i.A,{orderId:E,orderData:_,customer:p,loading:y,frelsi:!0,totalAmount:null!=g?g:0,paymentParams:S,referenceNumber:E})})})}}},e=>{e.O(0,[6371,27931,95611,64661,10316,90636,46593,38792],()=>e(e.s=8565)),_N_E=e.O()}]); 2//# sourceMappingURL=greidsla-7b6185664f46818e.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.