PageSourceSearch

https://www.tataplay.com/build/3247.b22bcddd24b265cb826f.js

js tataplay.com collected 2026-09-24 08:56:32 UTC 5,480 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunktataplay_getconnection=self.webpackChunktataplay_getconnection||[]).push([[3247],{48016(t,e,i){const s=()=>{try{const e=document.getElementById("confettiAnimate"),i=document.getElementById("canvas"),s=i.getContext("2d");i.width=window.innerWidth,i.height=window.innerHeight;let o=s.canvas.width/2,n=s.canvas.height/2;const a=[],r=[],c=20,h=10,l=.3,d=.55,f=.075,m=.02,y=3,x=[{front:"#220046",back:"#6B00DD"},{front:"#6B00DD",back:"#E10092"},{front:"#E10092",back:"#220046"}],p=(t,e)=>Math.random()*(e-t)+t,u=(t,e)=>{const i=p(t[0],t[1]),s=e[1]-e[0]+1;let o=e[1]-Math.abs(p(0,s)+p(0,s)-s);return o>=e[1]-1&&(o+=Math.random()<.25?p(1,3):0),{x:i,y:-o}};function v(){this.randomModifier=p(0,99),this.color=x[Math.floor(p(0,x.length))],this.dimensions={x:p(5,9),y:p(8,15)},this.position={x:p(i.width/2-e.offsetWidth/4,i.width/2+e.offsetWidth/4),y:p(i.height/2+e.offsetHeight/2+8,i.height/2+1.5*e.offsetHeight-8)},this.rotation=p(0,2*Math.PI),this.scale={x:1,y:1},this.velocity=u([-9,9],[6,11])}function w(){this.color=x[Math.floor(p(0,x.length))].back,this.radius=p(1,2),this.position={x:p(i.width/2-e.offsetWidth/3,i.width/2+e.offsetWidth/3),y:p(i.height/2+e.offsetHeight/2+0,i.height/2+1.5*e.offsetHeight-8)},this.velocity={x:p(-6,6),y:p(-8,-12)}}v.prototype.update=function(){this.velocity.x-=this.velocity.x*f,this.velocity.y=Math.min(this.velocity.y+l,y),this.velocity.x+=Math.random()>.5?Math.random():-Math.random(),this.position.x+=this.velocity.x,this.position.y+=this.velocity.y,this.scale.y=Math.cos(.09*(this.position.y+this.randomModifier))},w.prototype.update=function(){this.velocity.x-=this.velocity.x*m,this.velocity.y=this.velocity.y+d,this.position.x+=this.velocity.x,this.position.y+=this.velocity.y},window.initBurst=()=>{for(let t=0;t<c;t++)a.push(new v);for(let t=0;t<h;t++)r.push(new w)},setTimeout(()=>{window.initBurst()},1e3);var t=()=>{s.clearRect(0,0,i.width,i.height),a.forEach((t,e)=>{const i=t.dimensions.x*t.scale.x,o=t.dimensions.y*t.scale.y;s.translate(t.position.x,t.position.y),s.rotate(t.rotation),t.update(),s.fillStyle=t.scale.y>0?t.color.front:t.color.back,s.fillRect(-i/2,-o/2,i,o),s.setTransform(1,0,0,1,0,0)}),window.requestAnimationFrame(t)};const g=()=>{i.width=window.innerWidth,i.height=window.innerHeight,o=s.canvas.width/2,n=s.canvas.height/2};window.addEventListener("resize",()=>{g()}),t()}catch(j){console.log(j)}};i.d(e,["A",0,s])},43247(t,e,i){i.r(e);var s=i(96540),o=i(79168),n=i(88827),a=i(21439),r=i(49862),c=i(48016),h=i(44979),l=i(97965),d=i(14644),f=i(52852),m=i(74191),y=i(70581),x=i(74848);const p=(0,l.Ng)(t=>({manifest:t.commonReducer.manifest,errorCode:t.commonReducer.errorCode}),t=>({setApiError:(0,d.zH)(h.x8,t)}))(t=>{const{location:{state:{transId:e}}}=t;e||history.push("/");
1const[i,h]=(0,s.useState)(!0),[l,d]=(0,s.useState)(null);(0,s.useEffect)(()=>{(0,c.A)(),p()},[]);const p=async()=>{const{manifest:e,setApiError:i}=t,s=(0,a.th)("refund_successful",e);h(!1);const o={apiPath:s};try{const t=(await f.n.fetchData(o)).data;t.status===r.A.MESSAGES_TYPES.S3_SUCCESS?t.data&&(h(!0),d(t.data),(0,c.A)()):(i(r.A.serverError,!0),h(!0))}catch(t){i(r.A.serverError,!0),h(!0)}};return i?(0,x.jsxs)("div",{className:"inner-page refund-success-page inner-page-logo",children:[(0,x.jsx)(o.A,{headerType:"rewards",isShadow:!1,isLogo:!0,stickyHeader:!1}),(0,x.jsx)("div",{className:"content-container refund-success",children:(0,x.jsx)("div",{className:"container",children:(0,x.jsxs)("div",{className:"main-container",children:[(0,x.jsxs)("div",{className:"animation mB30 wyze-wrap",children:[(0,x.jsx)("canvas",{id:"canvas",width:"1390",height:"969"}),(0,x.jsx)("div",{id:"confettiAnimate",className:"ready",children:(0,x.jsx)("div",{className:"message",children:(0,x.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13 11",children:(0,x.jsx)("polyline",{stroke:"currentColor",points:"1.4,5.8 5.1,9.5 11.6,2.1 "})})})}),(0,x.jsx)("div",{className:"svg-icon-right",children:(0,x.jsxs)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 130.2 130.2",className:"",style:{position:"relative",top:"10px",left:"-10px",marginBottom:"20px"},"data-wow-delay":"0.8s",children:[(0,x.jsx)("circle",{className:"path circle",fill:"#ffffff",stroke:"#009822",strokeWidth:"6",strokeMiterlimit:"10",cx:"65.1",cy:"65.1",r:"62.1"}),(0,x.jsx)("polyline",{className:"path check",fill:"none",stroke:"#009822",strokeWidth:"6",strokeLinecap:"round",strokeMiterlimit:"10",points:"100.2,40.2 51.5,88.8 29.8,67.5 "})]})})]}),(0,x.jsxs)("div",{className:"heading-sm text-center mT10 mB10",children:[l&&l.title&&(0,x.jsx)("h1",{className:"heading1 gradient",children:l.title}),l&&l.field_sub_title&&(0,x.jsx)("h2",{className:"heading2",children:l.field_sub_title}),(0,x.jsxs)("div",{class:"id-text bold txt-darkBlue mT20",children:["Transaction ID: ",e]})]}),(0,x.jsx)("div",{class:"body-container innercontainer-sm pB0 mT20",children:l&&l.body&&(0,x.jsx)(y.A,{htmlContent:l&&l.body})}),l&&l.field_json_data&&l.field_json_data.primaryBtnLabel&&(0,x.jsx)("div",{className:"footer-contr text-center mT32",children:(0,x.jsx)(n.A,{config:{type:"submit",class:"white"},content:l.field_json_data.primaryBtnLabel,onClick:()=>(e=>{const{subId:i}=!r.A.isServer()&&(JSON.parse(localStorage.getItem(r.A.localStorageNames.userAuth))||"");(0,a.Sw)({event:"Refund Details - Go to Tata Play Website","Sub ID":i.id||null}),t.history.push(e)})("/")})})]})})})]}):(0,x.jsx)(m.A,{})});i.d(e,["default",0,p])}}]);

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.