(self.webpackChunkplex_web_client=self.webpackChunkplex_web_client||[]).push([[45],{23310:(e,s,a)=>{const t=a(90999).A,r=a(70261);e.exports=r(t)},60045:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>c});var t=a(96540),r=a(3467),p=a(59632),n=a(26551),l=a(55731),o=a.n(l);const i=p.A.ItemView.extend({template:o(),initialize:function(){const e=r.hd("appModel");this.listenTo(e,"change:primaryServer",this.render),this.listenTo(e.get("user"),"change:signedIn",this.render)},serializeData:function(){const e=r.hd("appModel"),s=e.get("user"),a=s.isNinja()?"4.142.2-9276f74":"4.142.2",t=e.get("primaryServer"),p={host:window.location.host,userAgent:window.navigator.userAgent,browser:n.A,version:a,user:s.toJSON(),hasPlexPass:s.get("hasPlexSubscription"),cloudServer:s.server.toJSON(),cloudServerUrl:s.server.url()};return t&&(p.primaryServer=t.toJSON(),p.primaryServerUrl=t.url()),p}});var u=a(6236);function c(){return t.createElement(u.A,{key:"InfoView",view:i})}},55731:(e,s,a)=>{var t=a(93633);function r(e){return e&&(e.__esModule?e.default:e)}e.exports=(t.default||t).template((function(e,s,t,p,n){this.compilerInfo=[4,">= 1.0.0"],t=this.merge(t,e.helpers),n=n||{};var l,o="",i="function",u=this.escapeExpression,c=this;return o+=' <h3>Plex Web</h3> <p><span class="text-muted">Version:</span> '+u(typeof(l=s&&s.version)===i?l.apply(s):l)+"</p> <h3>Plex Media Server</h3> ",l=t.if.call(s,s&&s.primaryServer,{hash:{},inverse:c.program(3,(function(e,s){return' <p><span class="text-muted">none</span></p> '}),n),fn:c.program(1,(function(e,s){var a;return""+' <p><span class="text-muted">Name:</span> '+u(typeof(a=null==(a=e&&e.primaryServer)||!1===a?a:a.friendlyName)===i?a.apply(e):a)+'</p> <p><span class="text-muted">Version:</span> '+u(typeof(a=null==(a=e&&e.primaryServer)||!1===a?a:a.version)===i?a.apply(e):a)+"</p> "}),n),data:n}),(l||0===l)&&(o+=l),o+=' <h3>Browser</h3> <p><span class="text-muted">Host:</span> '+u(typeof(l=s&&s.host)===i?l.apply(s):l)+'</p> <p><span class="text-muted">User Agent:</span> '+u(typeof(l=s&&s.userAgent)===i?l.apply(s):l)+'</p> <p><span class="text-muted">Name:</span> '+u(typeof(l=null==(l=s&&s.browser)||!1===l?l:l.name)===i?l.apply(s):l)+'</p> <p><span class="text-muted">Version:</span> '+u(typeof(l=null==(l=s&&s.browser)||!1===l?l:l.version)===i?l.apply(s):l)+'</p> <p><span class="text-muted">Platform:</span> '+u(typeof(l=null==(l=s&&s.browser)||!1===l?l:l.platform)===i?l.apply(s):l)+'</p> <p><span class="text-muted">Mobile:</span> '+u(r(a(23310)).call(s,null==(l=s&&s.browser)||!1===l?l:l.mobile,{hash:{},data:n}))+'</p> <h3>User</h3> <p><span class="text-muted">Username:</span> '+u(typeof(l=null==(l=s&&s.user)||!1===l?l:l.username)===i?l.apply(s):l)+" ",((l=t.if.call(s,s&&s.hasPlexPass,{hash:{},inverse:c.noop,fn:c.program(5,(function(e,s){return"(Plex Pass)"}),n),data:n}))||0===l)&&(o+=l),o+'</p> <h3>plex.tv</h3> <p><span class="text-muted">URL:</span> '+u(typeof(l=s&&s.cloudServerUrl)===i?l.apply(s):l)+'</p> <p><span class="text-muted">Available:</span> '+u(r(a(23310)).call(s,null==(l=s&&s.cloudServer)||!1===l?l:l.available,{hash:{},data:n}))+'</p> <p><span class="text-muted">Authorized:</span> '+u(r(a(23310)).call(s,null==(l=s&&s.cloudServer)||!1===l?l:l.authorized,{hash:{},data:n}))+"</p> "}))}}]);