You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
3.6 KiB

(window.webpackJsonp=window.webpackJsonp||[]).push([[11,5],{1463:function(e,t,r){"use strict";r.r(t),r.d(t,"components",(function(){return k}));var a=r(711),o=r(3),n=r.n(o),s=r(383),l=r(281),i=r.n(l),c=r(34);class m extends s.a{translate(e){return e=(e=i()(Object(c.a)(e))).replace(/\[matrix\]/,'<a href="https://matrix.org" target="_blank" rel="noreferrer noopener"><img width="79" height="34" alt="[matrix]" style="padding-left: 1px;vertical-align: middle" src="welcome/images/matrix.svg"/></a>')}}n()(m,"replaces","EmbeddedPage");var u=r(33),g=r.n(u),d=r(45);const h=()=>{const e=d.a.get().branding;let t=[{text:"blog",url:"https://blog.riot.im"},{text:"twitter",url:"https://twitter.com/@RiotChat"},{text:"github",url:"https://github.com/vector-im/riot-web"}];e&&e.authFooterLinks&&(t=e.authFooterLinks);const r=[];for(const e of t)r.push(g.a.createElement("a",{href:e.url,key:e.text,target:"_blank",rel:"noreferrer noopener"},e.text));return g.a.createElement("div",{className:"mx_AuthFooter"},r,g.a.createElement("a",{href:"https://matrix.org",target:"_blank",rel:"noreferrer noopener"},Object(c.a)("powered by Matrix")))};h.replaces="AuthFooter";var p=h,b=r(35),v=r.n(b);class x extends g.a.PureComponent{render(){const e=d.a.get().branding;let t="themes/riot/img/logos/riot-im-logo-black-text.svg";return e&&e.authHeaderLogoUrl&&(t=e.authHeaderLogoUrl),g.a.createElement("div",{className:"mx_AuthHeaderLogo"},g.a.createElement("img",{src:t,alt:"Riot"}))}}n()(x,"replaces","AuthHeaderLogo"),n()(x,"propTypes",{icon:v.a.string});var E=r(36);class f extends g.a.PureComponent{render(){const e=E.getComponent("auth.AuthFooter"),t=d.a.get().branding;let r="themes/riot/img/backgrounds/valley.jpg";t&&t.welcomeBackgroundUrl&&(r=t.welcomeBackgroundUrl);const a={background:"center/cover fixed url(".concat(r,")")},o={position:"absolute",top:0,right:0,bottom:0,left:0,filter:"blur(10px)",background:a.background};return g.a.createElement("div",{className:"mx_AuthPage",style:a},g.a.createElement("div",{className:"mx_AuthPage_modal",style:{position:"relative",background:"initial"}},g.a.createElement("div",{className:"mx_AuthPage_modalBlur",style:o}),g.a.createElement("div",{className:"mx_AuthPage_modalContent",style:{display:"flex",zIndex:1,background:"rgba(255, 255, 255, 0.59)",borderRadius:"4px"}},this.props.children)),g.a.createElement(e,null))}}n()(f,"replaces","AuthPage");const _=({onFinished:e})=>g.a.createElement("div",{className:"mx_ErrorDialog"},g.a.createElement("div",{className:"mx_Dialog_title"},Object(c.a)("Custom Server Options")),g.a.createElement("div",{className:"mx_Dialog_content"},g.a.createElement("p",null,Object(c.a)("You can use the custom server options to sign into other Matrix servers by specifying a different homeserver URL. This allows you to use Riot with an existing Matrix account on a different homeserver."))),g.a.createElement("div",{className:"mx_Dialog_buttons"},g.a.createElement("button",{onClick:e,autoFocus:!0},Object(c.a)("Dismiss"))));_.replaces="CustomServerDialog";var w=_;let k={};a.default&&(k["structures.ErrorView"]=a.default),m&&(k["structures.VectorEmbeddedPage"]=m),p&&(k["views.auth.VectorAuthFooter"]=p),x&&(k["views.auth.VectorAuthHeaderLogo"]=x),f&&(k["views.auth.VectorAuthPage"]=f),w&&(k["views.auth.VectorCustomServerDialog"]=w)},711:function(e,t,r){"use strict";r.r(t);var a=r(33),o=r(35),n=r(34);const s=({title:e,messages:t})=>a.createElement("div",{className:"mx_GenericErrorPage"},a.createElement("div",{className:"mx_GenericErrorPage_box"},a.createElement("h1",null,e),a.createElement("div",null,t&&t.map(e=>a.createElement("p",{key:e},Object(n.a)(e))))));s.propTypes={title:o.string.isRequired,messages:o.arrayOf(o.string.isRequired)},t.default=s}}]);