https://nlyapp.web.app/_next/static/chunks/pages/media/components/FavouriteMedia-92f32f496ca6b24d.js
1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d5b94eb8-8723-45fc-96fc-e1907c92827b",e._sentryDebugIdIdentifier="sentry-dbid-d5b94eb8-8723-45fc-96fc-e1907c92827b")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5360],{85963:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/media/components/FavouriteMedia",function(){return i(76815)}])},76815:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return f}});var n=i(85893),r=i(88949),d=i(40417),s=i(80158),c=i(92022),a=i(33367),o={src:"/_next/static/media/filledHeartIcon.90d22ce3.svg",height:17,width:16,blurWidth:0,blurHeight:0},l={src:"/_next/static/media/heartIcon.695e9853.svg",height:17,width:16,blurWidth:0,blurHeight:0};i(67294);var u=i(25675),h=i.n(u),f=e=>{let{isFavorite:t,uid:i,docId:u,postCall:f}=e,b=(0,s.TL)(),w=async()=>{let e=await (0,r.qk)({userId:i,wait:!0});b((0,d.xs)(e))};return(0,n.jsx)(c.Z,{sx:{backgroundColor:"rgba(0, 0, 0, 0.1)",border:"0.98px solid white",height:"32px",width:"32px"},children:(0,n.jsx)(a.Z,{"aria-label":"like",onClick:async()=>{try{t?(0,r.D8)({userId:i,mediaId:u}).then(()=>{w()}):(0,r.lU)({userId:i,mediaId:u}).then(()=>{w()}),f()}catch(e){f(),console.log("Failed to update favorite, ",e)}},children:t?(0,n.jsx)(h(),{src:o,alt:"fav",style:{height:"16px",width:"16px",color:"white"}}):(0,n.jsx)(h(),{src:l,alt:"fav",style:{height:"16px",width:"16px",color:"white"}})})})}}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=85963)}),_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.