import{fe as g,p as u,az as L,fi as h,ao as i,L as I,bS as k,gY as x,M as f,df as S,cm as y,bT as j,hf as b}from"./app-k0jcl5PQ.js";import{u as C,A}from"./ClXKCv7P.chunk.js";import{L as T}from"./CIOPWeNI.chunk.js";import{S as w}from"./BvU2qa66.chunk.js";import{u as z}from"./BDd2EAdq.chunk.js";import{u as _}from"./CZ0F-BpO.chunk.js";import"./BCKXZxoz.chunk.js";const D="_logo_1igrz_1",U="_container_1igrz_5",o={logo:D,container:U},V="launchpad.shareLinkSignIn";function v(t,n){return{id:n==null?void 0:n.id,app:b(n==null?void 0:n.typeId),shareId:t}}function q(t){const{shareId:n,redirectUrl:p,customerId:r}=t,e=z(n),{deepLink:c,showDeepLink:l,onClickDeepLink:m}=g(v(n,e),u.Launchpad),{trialAppLinkString:d}=_(),a=C(),s=L((a==null?void 0:a.countryCode)&&A.globalIdps(a.countryCode,h.Primary));return!e||!s.hasCompleted?i.jsx(i.Fragment,{}):i.jsx(T,{title:e.name,imageUrl:k.createUrl(y.getImageUrl(e),{size:j.Large}),objectType:e.typeId,links:[{text:I.getPhrase(V,"openInApp"),url:c,hide:!l,onClick:m}],children:i.jsxs("div",{className:`${o.container} m-auto`,children:[i.jsx("div",{className:`${o.logo} mb-4 mx-auto`,children:i.jsx(x,{})}),!!e.name&&i.jsxs("h1",{className:"h3",children:[e.typeId===f.Video&&i.jsx(S,{type:"series",video:e,analyticsOptions:{},size:"sm"}),e.name]}),"description"in e&&i.jsx("p",{className:"mb-0 clamp-3",children:e.description}),i.jsx(w,{globalIdps:s.data,customerId:r,redirectUrl:p,skipPrompt:!1,showJoinCode:!1,pageAppLinkString:d,showSignUp:!0})]})})}export{q as ShareLinkSignInView};
//# sourceMappingURL=Dd5BZtJ4.chunk.js.map
