Build 541864stable
Module 881328
568 characters · in no known chunkDependencies
Source Raw
function(e,t,n){"use strict";n.d(t,{A:()=>h});var i=n(439372),r=n(952818),s=n(760751),a=n(38405),o=n(636537),l=n(845584),u=n(652215);async function c(e,t){try{await o.Bo.patch({url:u.Rsh.MY_CONTENT_INVENTORY_APPLICATION(e),body:t,rejectWithError:!1})}catch(e){throw new l.LG(e)}}async function d(e,t){try{await c(e,{is_sharing:t})}catch(e){a.A.captureException(e)}}function _(e){let{game:t}=e,n=r.Ay.isDetectionEnabled(t),i=t.id??s.A.findGame(t)?.id;null!=i&&d(i,n)}class f extends i.A{actions={RUNNING_GAME_TOGGLE_DETECTION:_,RUNNING_GAME_DELETE_ENTRY:_}}let h=new f}