Build 613334stable
Module 855187
1,181 characters · in 94bd0239cf44c143.jsDependencies
Source Raw
function(e,a,l){l.d(a,{A:()=>v});var t=l(477900);l(582128);var n=l(17928),i=l(638495),c=l(192308),o=l(477782),d=l(635739),r=l(39623),s=l(952572),u=l(280450),A=l(544576),p=l(731854),h=l(375708);function v(e,a){let v=(0,i.k)(),{videoEnabled:y,hasVideoDevice:f,videoSupported:b}=(0,n.cf)([A.Ay],()=>({videoEnabled:A.Ay.isVideoEnabled(),hasVideoDevice:A.Ay.isVideoAvailable(),videoSupported:A.Ay.supports(p.O5.VIDEO)})),g=(0,n.bG)([u.default],()=>u.default.getId()===e),M=(0,s.A)();return b&&(!y||M)&&g&&f?(0,t.jsx)(o.Dr,{id:"change-video-background",label:y?h.intl.string(h.t.mZKxHb):h.intl.string(h.t["vkV93/"]),action:function(){(0,c.openModalLazy)(async()=>{let{default:e}=await Promise.all([l.e("775417"),l.e("932696"),l.e("25839"),l.e("683084"),l.e("650100"),l.e("264236"),l.e("631644"),l.e("809915"),l.e("858337"),l.e("220287"),l.e("820683"),l.e("428367"),l.e("706809"),l.e("480436"),l.e("59778"),l.e("195782"),l.e("655212"),l.e("410534")]).then(l.bind(l,308229));return a=>(0,t.jsx)(e,{...a,videoEnabled:y})},{modalKey:"camera-preview",contextKey:null!=a?(0,c.modalContextFromAppContext)(a):v})},icon:y?d.f:r.EyeIcon,leadingAccessory:{type:"icon",icon:y?d.f:r.EyeIcon}}):null}}