1"use strict"; 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="bb0f529c-d77f-56d9-9fc6-1b1a64957413")}catch(e){}}(); 3(self.webpackChunkclient=self.webpackChunkclient||[]).push([["3038"],{68813(e,n,a){a.d(n,{CheersBonusAnimation:()=>x});var s=a(42062),t=a(33366),i=a(62612),o=a(99870),r=a.n(o),c=a(23893),u=a(99027),l=a(31085),m=(0,u.Pe)("gift_sparks"),h=(0,u.Pe)("line_out");let d=(0,s.memo)(e=>{var{amount:n,visible:a,onGiftAnimationEvent:s,onLineAnimationEvent:o}=e,u=r()("cheers-bonus-animation__creditInfo",{"cheers-bonus-animation__visible":a});return(0,l.jsxs)("div",{className:"cheers-bonus-animation__container",children:[(0,l.jsx)(t.f,{src:m,autoplay:!0,onEvent:s,className:"cheers-bonus-animation__giftAnimation"}),(0,l.jsxs)("div",{className:"cheers-bonus-animation__creditAnimationContainer",children:[a&&(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(t.f,{src:h,autoplay:!0,onEvent:o,className:"cheers-bonus-animation__lineAnimation"})}),(0,l.jsxs)("div",{className:u,children:[(0,l.jsx)("img",{src:c,className:"cheers-bonus-animation__spark",alt:"spark"}),(0,l.jsx)(i.E,{variant:"h3",content:"+"+n,color:"warning"})]})]})]})});var v=a(66382),_=a(66691),b=a(54191),p=a(75841),f=a(23486),j=a(88332),k=a(64651),x=e=>{var{onComplete:n,amount:a}=e,[t,i]=(0,s.useState)(!1),o=(0,s.useRef)(!1),r=(0,s.useCallback)(e=>{"play"===e&&(o.current=!0,f.o.shared().setStatus("active")),"complete"===e&&i(!0)},[]),c=(0,s.useCallback)(e=>{"complete"===e&&(i(!1),setTimeout(n,300),o.current=!1,f.o.shared().setStatus("idle"))},[n]);(0,k.Fd)(()=>{o.current&&(o.current=!1,f.o.shared().setStatus("idle"))},[]);var u=(0,_.J2)(()=>v.j.shared().chatAttendee,[]),m=(0,_.J2)(()=>u?b.Q.shared().get(u):(0,p.of)(!1),[u],!1);return(0,j.G)({source:{uri:"/sounds/cheer-bonus-animation.mp3",remote:!1},autoPlay:!0,volume:.15,muted:m}),(0,j.G)({source:{uri:"/sounds/bonus-amount-animation.mp3",remote:!1},autoPlay:t,volume:.15,muted:m}),(0,l.jsx)(d,{amount:a,visible:t,onGiftAnimationEvent:r,onLineAnimationEvent:c})}}}]); 4//# sourceMappingURL=sourcemaps/44a380e1d7f92967.js.map 5//# debugId=bb0f529c-d77f-56d9-9fc6-1b1a64957413
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.