PageSourceSearch

https://www.grameenphone.com/_next/static/chunks/pages/myoffers/buymyoffers/[...slug]-66f97f578b6d61c4.js

js grameenphone.com collected 2026-10-01 11:44:54 UTC 13,712 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5240],{94976:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/myoffers/buymyoffers/[...slug]",function(){return t(11349)}])},93516:function(e,n,t){"use strict";var o=t(85893),r=t(67294),i=t(66161),l=t(73220);n.Z=(0,r.memo)(function(e){let{children:n}=e,{isBackToBKashButtonVisible:t}=(0,i.Z)({channelNameApiValue:void 0,loggedInUserInfo:{show_header:void 0,show_footer:void 0}});return(0,o.jsxs)(o.Fragment,{children:[n,t&&(0,o.jsx)(l.Z,{})]})})},96764:function(e,n,t){"use strict";t.d(n,{o:function(){return h}});var o=t(85893),r=t(57747),i=t(71293),l=t(31955),s=t(11163),a=t(67294),c=t(59157),x=t(55135),p=function(e){let{className:n}=e,{currentLang:t,toggleLanguage:r,router:i,isRedirected:l}=(0,x.Z)();return(0,o.jsx)("button",{className:n,type:"button",onClick:r,children:"en"==t?"বাংলা":"English"})},d=t(20755);let h=e=>{let{showBackIcon:n=!0}=e,{router:t,pathname:x,asPath:h,locale:u}=(0,s.useRouter)(),[f,g]=(0,a.useState)({position:"relative",borderBottom:{base:"1px solid rgba(0, 0, 0, 0.06)",md:"none"},transition:!1}),[m,b]=(0,a.useState)("");(0,a.useEffect)(()=>(window.addEventListener("scroll",v),()=>window.removeEventListener("scroll",v)));let v=()=>{b(window.scrollY)};(0,a.useEffect)(()=>{m>=80?g({position:"fixed",borderBottom:"1px solid rgba(0, 0, 0, 0.06)",transition:"background 0.1s"}):g({position:"fixed",borderBottom:{base:"1px solid rgba(0, 0, 0, 0.06)",md:"none"}})},[m]);let j=(0,a.useMemo)(()=>{var e;return!!(null==h?void 0:null===(e=h.includes)||void 0===e?void 0:e.call(h,"/cfs"))},[h]);return(0,o.jsx)(o.Fragment,{children:"bKash"==l.Z.get("channelName")||"Citybank"==l.Z.get("channelName")?(0,o.jsx)(o.Fragment,{}):(0,o.jsx)(r.xu,{position:f.position,top:"0",borderBottom:f.borderBottom,width:"100%",zIndex:"99",backgroundColor:"#ededed",children:(0,o.jsxs)(r.xu,{maxWidth:"1920px",mx:"auto",py:"16px",px:"24px",display:"flex",alignItems:"center",justifyContent:"space-between",backgroundColor:"#ffffff",children:[n&&(0,o.jsx)(r.xu,{cursor:"pointer",onClick:()=>t.back(),children:(0,o.jsx)(c.p,{})}),j&&(0,o.jsx)(r.xu,{textAlign:"center",width:{base:"60px",md:"100px"}}),(0,o.jsx)(r.xu,{left:"0",right:"0",mx:"auto",children:(0,o.jsx)(d.T,{})}),j&&(0,o.jsx)(r.xu,{textAlign:"center",width:{base:"60px",md:"100px"},children:(0,o.jsx)(p,{})}),(0,o.jsxs)(r.xu,{children:["/internet-package-activation/step-1/[slug]"==x||"/offer-purchase/step-1/[slug]"==x?(0,o.jsx)(i.x,{fontSize:"13px",lineHeight:"15px",fontWeight:"400",color:"#979797",mb:0,children:"Step 1/2"}):"","/internet-package-activation/[slug]"==x?(0,o.jsx)(i.x,{fontSize:"13px",lineHeight:"15px",fontWeight:"400",color:"#979797",mb:0,children:"Step 2/2"}):""]})]})})})}},49803:function(e,n,t){"use strict";t.d(n,{A:function(){return r}});let o="https://cdn01da.grameenphone.com",r={cdnBaseUrl:o,icons:{invalidImageIconUrl:"".concat(o,"/sites/all/themes/gpc_myoffers/assets/images/invalid.png"),successImageIconUrl:"".concat(o,"/sites/all/themes/gpc_myoffers/assets/images/success.png")}}},55135:function(e,n,t){"use strict";var o=t(11163),r=t(67294);let i=["en","bn"],l={en:!0,default:!0,"":!0};function s(e){var n;return null!==(n=null==l?void 0:l[null!=e?e:""])&&void 0!==n&&n}n.Z=function(){let e=(0,r.useRef)(!0),[n,t]=(0,r.useState)(!1),l=(0,o.useRouter)(),[a,c]=(0,r.useState)(()=>{var n;return e.current||void 0===(null==l?void 0:l.locale)?"bn":s(null==l?void 0:l.locale)?"en":"string"!=typeof(null==l?void 0:l.locale)?"bn":(null==i?void 0:null===(n=i.includes)||void 0===n?void 0:n.call(i,null==l?void 0:l.locale))?null==l?void 0:l.locale:"bn"});return(0,r.useEffect)(()=>{if(null==e?void 0:e.current){var n,o;e.current=!1,c("bn"),console.log("\uD83D\uDE80 ~ useReverseDefaultLang ~ router?.locale:",null==l?void 0:l.locale),(null==l?void 0:null===(o=l.locale)||void 0===o?void 0:null===(n=o.toLowerCase())||void 0===n?void 0:n.trim())!=="bn"?l.replace("/bn".concat(null==l?void 0:l.asPath),void 0,{locale:"bn"}):t(!0)}else(null==e?void 0:e.current)||(null==l?void 0:l.locale)!=="bn"||t(!0)},[l]),{currentLang:a,toggleLanguage:(0,r.useCallback)(()=>{var e;let n=s(null==l?void 0:l.locale),t=null!==(e=i.findIndex(e=>n?"en"===e:e===(null==l?void 0:l.locale)))&&void 0!==e?e:-1,o=(null==i?void 0:i.length)-1;-1!==t&&(o=(t+1)%i.length);let r=null==i?void 0:i[o],a="".concat("en"===r?"":"/".concat(r)).concat(null==l?void 0:l.asPath);c(r),l.replace(a,void 0,{locale:r})},[l]),router:l,isRedirected:n}}},3078:function(e,n,t){"use strict";t.d(n,{e:function(){return r}});var o=t(85893);let r=e=>{let{fill:n="#007AD0"}=e;
1return(0,o.jsx)("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M2.08317 0.416626C1.74984 0.0832926 1.24984 0.0832926 0.916504 0.416626C0.583171 0.749959 0.583171 1.24996 0.916504 1.58329L5.33317 5.99996L0.916504 10.4166C0.749837 10.5833 0.666504 10.75 0.666504 11C0.666504 11.25 0.749837 11.4166 0.916504 11.5833C1.08317 11.75 1.24984 11.8333 1.49984 11.8333C1.74984 11.8333 1.9165 11.75 2.08317 11.5833L7.08317 6.58329C7.24984 6.41663 7.33317 6.24996 7.33317 5.99996C7.33317 5.74996 7.24984 5.58329 7.08317 5.41663L2.08317 0.416626Z",fill:n})})}},59157:function(e,n,t){"use strict";t.d(n,{p:function(){return r}});var o=t(85893);let r=()=>(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",children:(0,o.jsx)("path",{d:"M12.9999 7.00002H3.3999L7.6999 2.70002C7.9999 2.40002 8.0999 2.10002 7.9999 1.70002C7.8999 1.40002 7.5999 1.10002 7.2999 1.00002C6.9999 0.900024 6.5999 1.00002 6.2999 1.30002L0.299903 7.30002C0.199903 7.40002 0.0999023 7.50002 0.0999023 7.60002C-9.76548e-05 7.80002 -9.76548e-05 8.10002 0.0999023 8.40002C0.0999023 8.50002 0.199903 8.60002 0.299903 8.70002L6.2999 14.7C6.4999 14.9 6.6999 15 6.9999 15C7.2999 15 7.4999 14.9 7.6999 14.7C7.8999 14.5 7.9999 14.3 7.9999 14C7.9999 13.7 7.8999 13.5 7.6999 13.3L3.3999 9.00002H12.9999C13.5999 9.00002 13.9999 8.60002 13.9999 8.00002C13.9999 7.40002 13.5999 7.00002 12.9999 7.00002Z",fill:"black"})})},11349:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return y},default:function(){return w}});var o=t(85893),r=t(9008),i=t.n(r),l=t(11163),s=t(57747),a=t(71293),c=t(96764),x=t(6089),p=t(32883),d=t(79078),h=t(29259),u=t(41664),f=t.n(u),g=t(49803),m=t(3078),b=t(70887);let v=e=>{let{status:n,offers_you_may_like_data:t,price:r}=e;return(0,o.jsx)(s.xu,{pt:"94px",pb:"132px",backgroundColor:{base:"white",md:"#F5F5F5"},children:(0,o.jsxs)(s.xu,{maxW:"416px",background:"#fff",p:{base:"0 15px",md:"32px"},mx:"auto",textAlign:"center",children:["success"==n&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(a.x,{pb:"20px",mb:"0",fontSize:{base:"24px",md:"32px"},lineHeight:{base:"32px",md:"40px"},fontWeight:"700",children:"Request Received"}),(0,o.jsx)(x.E,{src:g.A.icons.successImageIconUrl,mx:"auto",pb:"20px",alt:""}),(0,o.jsx)(a.x,{fontSize:"18px",lineHeight:"26px",pb:"16px",mb:0,children:"You will shortly receive a confirmation SMS"}),(0,o.jsx)(f(),{href:"/",passHref:!0,legacyBehavior:!0,children:(0,o.jsx)(p.r,{_hover:{textDecor:"none"},py:"12px",px:"20px",bg:"#007AD0",color:"#fff",mt:"16px",borderRadius:".25rem",fontSize:"18px",lineHeight:"26px",display:"block",children:"Go to home"})}),(0,o.jsx)(s.xu,{py:"12px",px:"20px",border:"1px solid #1a1a1a",color:"#1a1a1a",mt:"16px",borderRadius:".25rem",fontSize:"18px",lineHeight:"26px",children:(0,o.jsx)(b.Z,{py:0,justifyContent:"center",variant:""})}),(0,o.jsx)(a.x,{pt:"30px",mb:"20px !important",fontSize:"18px",fontWeight:"700",lineHeight:"26px",children:"Other offers you may like"}),(0,o.jsx)(d.r,{gridTemplateColumns:"repeat(1,1fr)",children:t&&t.data.length&&t.data.map((e,n)=>(0,o.jsx)(f(),{href:e.metatag.canonical_url||"/",passHref:!0,legacyBehavior:!0,children:(0,o.jsx)(p.r,{_hover:{textDecoration:"none"},children:(0,o.jsx)(h.P,{colSpan:1,mb:"16px",children:(0,o.jsxs)(s.xu,{justifyContent:"center",m:"auto",children:[(0,o.jsx)(s.xu,{display:"block",justifyContent:"center",overflow:"hidden",children:(0,o.jsx)(x.E,{src:e.f
1ield_thumb_image,w:"full",h:"200px",alt:""})}),(0,o.jsxs)(s.xu,{background:"#f5f5f5",py:"24px",pr:"24px",display:"flex",justifyContent:"space-between",textAlign:"center",alignItems:"center",children:[(0,o.jsx)(a.x,{fontSize:"18px",pl:"10px",mr:"15px",mb:"0",children:e.title}),(0,o.jsx)(s.xu,{children:(0,o.jsx)(m.e,{fill:"black"})})]})]})})})},n))})]}),"failed"==n&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(a.x,{pb:"20px",mb:"0",fontSize:{base:"24px",md:"32px"},lineHeight:{base:"32px",md:"40px"},fontWeight:"700",children:"Purchase failed"}),(0,o.jsx)(x.E,{src:g.A.icons.invalidImageIconUrl,mx:"auto",alt:"",pb:"20px"}),(0,o.jsxs)(a.x,{fontSize:"18px",lineHeight:"26px",pb:"16px",mb:0,children:["Please try again with at least TK ",r," balance in your account"]}),(0,o.jsx)(f(),{href:"#",passHref:!0,legacyBehavior:!0,children:(0,o.jsx)(p.r,{_hover:{textDecor:"none"},py:"12px",px:"20px",bg:"#007AD0",color:"#fff",mt:"16px",borderRadius:".25rem",fontSize:"18px",lineHeight:"26px",display:"block",children:"Try again"})}),(0,o.jsx)(s.xu,{py:"12px",px:"20px",border:"1px solid #1a1a1a",color:"#1a1a1a",mt:"16px",borderRadius:".25rem",fontSize:"18px",lineHeight:"26px",children:(0,o.jsx)(b.Z,{py:0,justifyContent:"center",variant:""})}),(0,o.jsx)(f(),{href:"/",passHref:!0,legacyBehavior:!0,children:(0,o.jsx)(p.r,{_hover:{textDecor:"none"},py:"12px",px:"20px",border:"1px solid #1a1a1a",color:"#1a1a1a",mt:"16px",borderRadius:".25rem",fontSize:"18px",lineHeight:"26px",display:"block",children:"Go to home"})}),(0,o.jsxs)(s.xu,{pt:"20px",children:[(0,o.jsx)(a.x,{fontSize:"18px",lineHeight:"26px",mb:0,children:"Need help?"}),(0,o.jsx)(f(),{href:"https://chat.mevrik.com:4213/?channel=gp-website&utm_source=localhost:3000",passHref:!0,legacyBehavior:!0,children:(0,o.jsx)(p.r,{fontSize:"18px",lineHeight:"26px",color:"#007AD0",mt:"12px",_hover:{textDecor:"none"},display:"block",children:"Get live web chat support"})}),(0,o.jsx)(f(),{href:"/contact-us",passHref:!0,legacyBehavior:!0,children:(0,o.jsx)(p.r,{display:"block",fontSize:"18px",lineHeight:"26px",color:"#007AD0",mt:"12px",_hover:{textDecor:"none"},children:"Contact Us"})})]})]}),"insufficient"==n&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(a.x,{pb:"20px",mb:"0",fontSize:{base:"24px",md:"32px"},lineHeight:{base:"32px",md:"40px"},fontWeight:"700",children:"Not enough balance"}),(0,o.jsx)(x.E,{src:g.A.icons.invalidImageIconUrl,mx:"auto",pb:"20px",alt:""}),(0,o.jsxs)(a.x,{fontSize:"18px",lineHeight:"26px",mb:"32px",children:["Please recharge your number with at least ",(0,o.jsxs)("strong",{children:["TK ",r]})," and then buy this offer"]}),(0,o.jsx)(f(),{href:"#",passHref:!0,legacyBehavior:!0,children:(0,o.jsx)(p.r,{_hover:{textDecor:"none"},py:"12px",px:"20px",bg:"#007AD0",color:"#fff",mt:"16px",borderRadius:".25rem",fontSize:"18px",lineHeight:"26px",display:"block",children:"Recharge and buy"})}),(0,o.jsx)(f(),{href:"/personal/plans-offers/offers",passHref:!0,legacyBehavior:!0,children:(0,o.jsx)(p.r,{_hover:{textDecor:"none"},py:"12px",px:"20px",border:"1px solid #1a1a1a",color:"#1a1a1a",mt:"16px",borderRadius:".25rem",fontSize:"18px",lineHeight:"26px",display:"block",children:"Browse regular offers"})}),(0,o.jsx)(f(),{href:"/",passHref:!0,legacyBehavior:!0,children:(0,o.jsx)(p.r,{_hover:{textDecor:"none"},py:"12px",px:"20px",border:"1px solid #1a1a1a",color:"#1a1a1a",mt:"16px",borderRadius:".25rem",fontSize:"18px",lineHeight:"26px",display:"block",children:"Go to home"})}),(0,o.jsxs)(s.xu,{pt:"20px",children:[(0,o.jsx)(a.x,{fontSize:"18px",lineHeight:"26px",mb:0,children:"Need help?"}),(0,o.jsx)(f(),{href:"https://chat.mevrik.com:4213/?channel=gp-website&utm_source=localhost:3000",passHref:!0,legacyBehavior:!0,children:(0,o.jsx)(p.r,{fontSize:"18px",lineHeight:"26px",color:"#007AD0",mt:"12px",_hover:{textDecor:"none"},display:"block",children:"Get live web chat support"})}),(0,o.jsx)(f(),{href:"/contact-us",passHref:!0,legacyBehavior:!0,children:(0,o.jsx)(p.r,{display:"block",fontSize:"18px",lineHeight:"26px",color:"#007AD0",mt:"12px",_hover:{textDecor:"none"},children:"Contact Us"})})]})]})]})})};var j=t(93516),y=!0,w=e=>{let{page_query:n,offers_you_may_like_data:t}=e,{locale:r,asPath:x}=(0,l.useRouter)(),p=new Date().getFullYear();
1return(0,o.jsxs)(s.xu,{backgroundColor:{base:"white",md:"#F5F5F5"},height:"100vh",children:[(0,o.jsxs)(i(),{children:[(0,o.jsx)("title",{children:"en"==r?"My Offers Buy | Grameenphone":"My Offers Buy | গ্রামীণফোন"}),(0,o.jsx)("meta",{property:"og:title",content:"en"==r?"My Offers Buy | Grameenphone":"My Offers Buy | গ্রামীণফোন"}),(0,o.jsx)("meta",{property:"og:url",content:"".concat("https://www.grameenphone.com").concat("en"==r?"":"/bn").concat(x)}),(0,o.jsx)("meta",{name:"keywords",content:"gp, grameenphone, best telecom, 4G"}),(0,o.jsx)("meta",{name:"description",content:"Grameenphone is the leading telecom operator with highest number of subscribers & widest network in Bangladesh, providing best 4G internet service nationwide."})]}),(0,o.jsxs)(j.Z,{children:[(0,o.jsx)(c.o,{}),(0,o.jsx)(v,{offers_you_may_like_data:t,status:n.status,price:n.price}),(0,o.jsx)(s.xu,{width:"100%",position:"fixed",bottom:0,backgroundColor:"white",height:"98px",justifyContent:"center",display:"flex",textAlign:"center",borderTop:{base:"1px solid #F5F5F5",md:"0px"},children:(0,o.jsx)(a.x,{fontWeight:"400",fontSize:"13px",lineHeight:"98px",color:"rgb(118, 118, 118)",textAlign:"center",children:"\xa9 ".concat(p," Grameenphone Limited | Part of Telenor Group")})})]})]})}}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=94976)}),_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.