import{az as t,bu as i,dK as m,bN as c,bO as u,bP as p,ao as a,L as l,gT as g,gU as b}from"./app-k0jcl5PQ.js";import{u as f}from"./CAxN5LKv.chunk.js";import{E}from"./CaJ4Zmva.chunk.js";import{E as L}from"./zAC9fV2a.chunk.js";import"./DIAJ896Y.chunk.js";import"./CovOloHp.chunk.js";const R="embed.embeddedLcsLogin",h={forbidden:!0};function H(n){const s=t(i.config()),e=t(m.publicVideo(n.videoId));c(u.getVideoMetadata({content:e.data,canonicalLink:p.getCanonicalLink()}));function d(){g.renderSignInPopup({customerId:n.customerId,consumerKey:null,shareId:null,onComplete:o=>b.applyToken(o==null?void 0:o.embedToken)})}if(f(e,L,h),!s.data||!e.hasCompleted)return a.jsx(a.Fragment,{});let r=e.data;return e.hasError&&(r={name:l.getPhrase(R,"privateVideo")}),a.jsx(E,{onClick:d,video:r})}export{H as EmbeddedLcsLoginView};
//# sourceMappingURL=BlybHE9s.chunk.js.map
