PageSourceSearch

https://myfave.com/_next/static/chunks/pages/profile/receipts/voucher/[id]-0981814eb3d4532b.js

js myfave.com collected 2026-10-02 03:19:05 UTC 2,600 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1819],{79498:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/profile/receipts/voucher/[id]",function(){return t(33625)}])},25212:function(e,n,t){"use strict";t.d(n,{$k:function(){return i},GF:function(){return s},ve:function(){return l}});var r=t(95591),c=t(44334),a=t(25598),u=t(11201),o=t(56948);function s(e,n){let{city:t}=(0,u.qR)(),{id:c,...o}=e;return(0,r.ZP)(t&&c?"/v5/".concat(null==t?void 0:t.country_code,"/vouchers/").concat(c).concat((0,a.V)({...o})):void 0,{revalidateIfStale:!1,...n})}function i(e,n){let{city:t}=(0,u.qR)(),{id:c,countryCode:o,...s}=e;return(0,r.ZP)(t&&c?"/v5/".concat(null!=o?o:null==t?void 0:t.country_code,"/vouchers/receipt/").concat(c).concat((0,a.V)({...s})):void 0,{revalidateIfStale:!1,...n})}function l(e){let{city:n}=(0,u.qR)();return(0,c.Z)("/vouchers",async(e,t)=>{let{arg:r}=t;return(0,o.Z)("/v5/".concat(null==n?void 0:n.country_code,"/vouchers"),{method:"POST",data:r})},{throwOnError:!1,revalidate:!1,...e})}},33625:function(e,n,t){"use strict";t.r(n);var r=t(85893),c=t(11163),a=t(25609),u=t(2962),o=t(25212),s=t(10693);let i=()=>{var e;let n=(0,c.useRouter)(),{id:t,countryCode:i}=n.query,{data:l,isLoading:d}=(0,o.$k)({id:t,countryCode:i}),m=function(e){switch(e){case"successful":case"redeemed":return"Purchase Successful";case"confirmed":return"Payment Confirmed";case"pending_payment":return"Payment Pending";case"payment_processing":return"Payment Processing";case"atm_pending":return"ATM Payment Pending";case"indomaret_pending":return"Indomaret Payment Pending";case"cancelled":return"Payment Cancelled";case"voided":return"Payment Voided";case"rejected":return"Payment Failed";case"expired":return"Purchase Expired"}return null!=e?e:"Loading..."}(null==l?void 0:l.status);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u.PB,{nofollow:!0,noindex:!0,title:"Receipt - ".concat(null==l?void 0:null===(e=l.outlet)||void 0===e?void 0:e.name)}),(0,r.jsx)(a.aG,{crumbsList:[],goBack:{href:"/profile/receipts"},pageTitle:m,className:"mt-[64px] md:mt-[74px] lg:mt-[82px]",contentWidth:"max-w-screen-lg"}),(0,r.jsx)(a.W2,{className:"!mt-10 max-w-screen-lg",children:!d&&l?(0,r.jsx)(s.A6,{className:"mx-4 sm:mx-auto sm:max-w-lg",data:l}):(0,r.jsx)(s.ej,{className:"mx-4 sm:mx-auto sm:max-w-lg"})})]})};n.default=i,i.authOnly=!0,i.getLayout=function(e){return(0,r.jsx)(a.Zn,{Header:(0,r.jsx)(a.h4,{hideSearch:!0}),Footer:(0,r.jsx)(a.$_,{showFullFooter:!1}),children:e})}}},function(e){e.O(0,[8730,2986,9039,2996,5609,693,9774,2888,179],function(){return e(e.s=79498)}),_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.