Build 602393stable
Module 256693
588 characters · in 4ee042754f3ce057.jsDependencies
Source Raw
function(e,t,i){i.d(t,{Ri:()=>r,aQ:()=>o,fS:()=>a});var n=i(795816),s=i(933958);let l="activity:";function r(e){let{applicationId:t,location:i}=e;return`activity:${t}:${i.id}`}function a(e){return e.startsWith(l)}function o(e){let t=function(e){let t=e.indexOf(":",l.length);if(-1===t)return null;let i=e.slice(l.length,t),n=e.slice(t+1);return""===i||""===n?null:{applicationId:i,locationId:n}}(e);if(null==t)return;let{applicationId:i,locationId:r}=t,a=s.Ay.getSelfEmbeddedActivities().get(i);null!=a&&a.location.id===r&&(0,n._H)({location:a.location,applicationId:i,showFeedback:!1})}}