Module 768088

842 characters · in no known chunk
Dependencies
Required by (2)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){"use strict";n.d(t,{A:()=>_});var i=n(627968);n(64700);var r=n(459838),s=n(37965),a=n(487329),o=n(338771),l=n(975571),u=n(200749),c=n(652215),d=n(375708);function _(e){let{stream:t,width:n,avError:_,avErrorContext:f,selected:h=!1,noArt:p=!1}=e,E=function(e){switch(e?.type){case a.iy.SCREENSHARE_OS_ERROR:return d.intl.format(d.t.e9LMuh,{errorMessage:e.errorMessage});case a.iy.STREAM_FAILED_TO_START:default:return d.intl.string(d.t.rSlOep)}}(f),m=(0,a.B1)(_??a.iy.STREAM_FAILED_TO_START)?.errorCode;return(0,i.jsx)(u.A,{header:E,size:(0,u.J)(n),noArt:p,selected:h,description:d.intl.format(d.t.sXsgsP,{helpUrl:l.A.getArticleURL(c.MVz.STREAM_FAILED)}),errorCodeMessage:d.intl.formatToPlainString(d.t.ejOT95,{errorCode:m}),onCTAClick:()=>{(0,s.W)(r.x.STREAM,t.ownerId),(0,o.A)(t)},callToAction:d.intl.string(d.t["4EGMWL"])})}}