"use strict";(globalThis.webpackChunk_plex_client_qt=globalThis.webpackChunk_plex_client_qt||[]).push([["packages_app_screens_hdrToneMappingUpsellModal_HdrToneMappingUpsellModal_tsx-packages_app_ima-3d9223"],{223:(e,t,n)=>{n.r(t),n.d(t,{default:()=>u});var o=n(36725),l=n(63810),a=n(4322),i=n(13496),r=n(11381),s=n(99346),c=n(9855);const p=n.p+"images/hdr-tone-mapping-upsell-modal-background.703257dec70df4ca3571.png";var d=function(e,t,n,o){var l,a=arguments.length,i=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var r=e.length-1;r>=0;r--)(l=e[r])&&(i=(a<3?l(i):a>3?l(t,n,i):l(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i};let g=class extends r.Z{static _template(){const{screenWidth:e,screenHeight:t}=s.default,{sizeHeading1:n,sizeMedium:r,lineHeightHeading1:d}=c.default,{surfaceForeground100:g}=(0,l.rS)().colors;return{UnnamedChild1:{w:e,h:t,y:30,src:p},Container:{w:e,h:t,y:40,flex:{direction:"column",wrap:!0},TitleText:{type:a.Z,label:(0,o.ZP)("HDR Tone Mapping"),fontSize:n,lineHeight:d,maxLines:1,textAlign:"center",w:e,textColor:g,flexItem:{marginTop:30}},UnnamedChild0:{w:e,flex:{direction:"column"},MessageText:{type:a.Z,label:(0,o.ZP)("This video needs to be converted for playback and contains High Dynamic Range (HDR) content. Colors will appear distorted on this device."),fontSize:r,textColor:g,textAlign:"center",w:e,x:e/2,mountX:.5},MessageText2:{type:a.Z,label:(0,o.ZP)('With a Plex Pass, you can preview the new "HDR tone mapping" feature to correct colors during conversion!'),fontSize:r,textColor:g,textAlign:"center",w:e,x:e/2,mountX:.5,flexItem:{marginBottom:10}},MessageText3:{type:a.Z,label:(0,o.ZP)("Find out more at plex.tv"),fontSize:r,textColor:g,textAlign:"center",w:e,x:e/2,mountX:.5}}},ContinueButton:{type:i.Z,label:(0,o.ZP)("OK"),w:321,h:81,x:e/2,y:t-140,mountX:.5}}}_init(){this.tag("ContinueButton").onPress=this.close}_getFocused(){return this.tag("ContinueButton")}onClosed(){var e,t;null===(e=this.initialData)||void 0===e||null===(t=e.onClosed)||void 0===t||t.call(e)}themeChanged(){const{surfaceForeground100:e}=(0,l.rS)().colors;this.patch({Container:{TitleText:{type:a.Z,textColor:e},UnnamedChild2:{MessageText:{type:a.Z,textColor:e},MessageText2:{type:a.Z,textColor:e},MessageText3:{type:a.Z,textColor:e}}}})}};g=d([l.y9],g);const u=g}}]);