"use strict";(globalThis.webpackChunk_plex_client_qt=globalThis.webpackChunk_plex_client_qt||[]).push([["packages_app_screens_signInScreen_AnonymousUserFullSignInScreen_tsx","packages_app_screens_signInScreen_AnonymousUserSignInScreen_tsx"],{25929:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});var r=n(29039);class i extends r.default{constructor(){super(...arguments),this.allowSidebar=!1,this.showBackground=!0}}},29039:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var r=n(88271),i=n(36725),o=n(11381),a=n(98053);class c extends o.Z{static _template(){return{Upsell:{type:a.Z}}}_init(){return this.patch({Upsell:{type:a.Z,title:(0,i.ZP)("Create your FREE Plex account"),subTitle:(0,i.ZP)("No credit card required"),disclaimer:(0,i.ZP)("By creating an account or continuing to use a Plex application, website, or software, you acknowledge and agree that you have accepted the Terms of Service and have reviewed the Privacy Policy. See settings for more information."),upsellFeatures:[{get title(){return(0,i.ZP)("Save items to your Watchlist for future viewing")},icon:r.eG.BookmarkFilled},{get title(){return(0,i.ZP)("Watch your content on one app, and on any device")},icon:r.eG.Devices},{get title(){return(0,i.ZP)("Favorite Live TV channels for quick and easy access")},icon:r.eG.Heart}],actions:[{label:(0,i.ZP)("Continue"),action:()=>{this._navigation.navigate("LinkQrScreen",{restorePreviousScreen:!0,screenToClose:this})}}]}})}_getFocused(){return this.tag("Upsell")}}},98053:(e,t,n)=>{n.d(t,{Z:()=>y});var r=n(56228),i=n(3493),o=n(44776),a=n(88271),c=n(63810),l=n(21767),s=n(99346),d=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var c=e.length-1;c>=0;c--)(i=e[c])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},u=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};const p=300;class g extends r.Z.Component{constructor(){super(...arguments),this.upsellFeature={title:""}}static _template(){const e=(0,c.rS)().font.heading2.lineHeight;return{w:364,h:385,Background:{type:i.k_,w:364,h:385,colorName:"backgroundCard",radius:"l"},Container:{x:32,y:32,w:p,h:321,Icon:{type:a.JO,y:24,colorName:"textAccent",sizeName:"xxxl"},TitleContainer:{y:224-2*e,h:2*e,flex:{direction:"column-reverse"},Title:{type:i.ij,fontName:"heading2",wordWrapWidth:p,colorName:"primaryForeground100"}},Description:{type:i.ij,y:224,fontName:"body3",wordWrapWidth:p,colorName:"primaryForeground80"}}}}_onUpsellFeatureChanged(e){const{title:t,description:n,icon:r}=e,o=n?0:90;this.patch({Container:{Icon:{type:a.JO,icon:r},TitleContainer:{Title:{type:i.ij,y:o,content:t}},Description:{type:i.ij,content:n}}})}}d([o.q,u("design:type",Object)],g.prototype,"upsellFeature",void 0);class y extends r.Z.Component{constructor(){super(...arguments),this.upsellFeatures=[]}static _template(){return{Container:{w:s.default.screenWidth,h:s.default.screenHeight,Background:{w:s.default.screenWidth,h:s.default.screenHeight},Content:{type:i.sg,fixedWidth:s.default.screenWidth,fixedHeight:s.default.screenHeight,verticalAlign:"middle",align:"center",TitleText:{type:i.ij,w:s.default.screenWidth-2*s.default.screenHorizontalMargin,fontName:"heading1",colorName:"surfaceForeground100",textAlign:"center",flexItem:{marginBottom:24},maxLines:1},SubTitleText:{type:i.ij,w:s.default.screenWidth-2*s.default.screenHorizontalMargin,fontName:"heading3",colorName:"surfaceForeground80",textAlign:"center",flexItem:{marginBottom:64},maxLines:1},Features:{type:i.X2,gap:"xxl",flexItem:{marginBottom:64}},Actions:{type:i.X2,gap:"xxxl",flexItem:{marginBottom:48}},DisclaimerText:{type:i.ij,w:s.default.screenWidth-400,fontName:"body1",colorName:"surfaceForeground60",textAlign:"center"}}}}}_getFocused(){var e;return null===(e=this.tag("Content.Actions").children)||void 0===e?void 0:e[0]}}d([(0,l.BA)("Content.TitleText",(e=>({content:e}))),u("design:type",String)],y.prototype,"title",void 0),d([(0,l.BA)("Content.SubTitleText",(e=>({content:e,visible:!!e}))),u("design:type",String)],y.prototype,"subTitle",void 0),d([(0,l.BA)("Content.DisclaimerText",(e=>({content:e,visible:!!e}))),u("design:type",String)],y.prototype,"disclaimer",void 0),d([(0,l.BA)("Content.Features",(e=>({children:e.map((e=>({type:g,upsellFeature:e})))}))),u("design:type",Array)],y.prototype,"upsellFeatures",void 0),d([(0,l.BA)("Background",(e=>({src:e,visible:!!e}))),u("design:type",String)],y.prototype,"background",void 0),d([(0,l.BA)("Content.Actions",(e=>({children:e.map((({label:e,action:t})=>({type:i.zx,label:e,onPress:t}))),visible:!(null==e||!e.length)}))),u("design:type",Array)],y.prototype,"actions",void 0)}}]);