You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
3.1 KiB
1 line
3.1 KiB
{"version":3,"sources":["webpack:///./node_modules/matrix-react-sdk/src/effects/fireworks/index.ts"],"names":["DefaultOptions","maxCount","gravity","Fireworks","constructor","options","window","requestAnimationFrame","async","canvas","timeout","this","isRunning","context","getContext","supportsAnimationFrame","call","updateWorld","setTimeout","stop","particles","length","update","paint","createFirework","alive","i","move","push","globalCompositeOperation","fillStyle","fillRect","width","height","drawParticle","xPoint","Math","random","yPoint","nFire","color","particle","w","h","x","y","vx","vy","alpha","sqrt","abs","save","beginPath","translate","arc","PI","globalAlpha","closePath","fill","restore","screen"],"mappings":"8wBAwDO,MAAMA,EAAmC,CAC5CC,SAAU,IACVC,QAAS,KAGE,MAAMC,EAGjBC,YAAYC,GAAiC,8CAIM,MAJN,kCAKZC,OAAOC,uBALK,qBAMC,IAND,8CAS9BC,MAAOC,EAA2BC,EAAU,OAClDD,IAGLE,KAAKC,WAAY,EACjBD,KAAKE,QAAUJ,EAAOK,WAAW,MACjCH,KAAKI,uBAAuBC,KAAKV,OAAQK,KAAKM,aAC1CP,GACAJ,OAAOY,WAAWP,KAAKQ,KAAMT,MAjBQ,uBAqBvB,MACbC,KAAKC,WAAuC,IAA1BD,KAAKS,UAAUC,UACtCV,KAAKW,SACLX,KAAKY,QACLZ,KAAKI,uBAAuBC,KAAKV,OAAQK,KAAKM,gBAzBL,kBA4B5B,KACTN,KAAKS,UAAUC,OAASV,KAAKN,QAAQJ,UAAYU,KAAKC,WACtDD,KAAKa,iBAET,MAAMC,EAAQ,GACd,IAAK,IAAIC,EAAE,EAAGA,EAAEf,KAAKS,UAAUC,OAAQK,IAC/Bf,KAAKgB,KAAKhB,KAAKS,UAAUM,KACzBD,EAAMG,KAAKjB,KAAKS,UAAUM,IAGlCf,KAAKS,UAAYK,IAtCwB,iBAyC7B,KACZ,GAAKd,KAAKE,SAAYF,KAAKE,QAAQJ,OAAnC,CAC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