(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{1415:function(e,a,t){},1700:function(e,a,t){"use strict";t.r(a);var l=t(0),r=t.n(l),n=t(24),m=t(1350);t(1415);a.default=({onAccept:e})=>{const a=n.b.get("brand"),t=n.b.get("mobile_builds");let l;const o=null==t?void 0:t.ios;null!==o&&(l=r.a.createElement(r.a.Fragment,null,r.a.createElement("p",null,r.a.createElement("strong",null,"iOS")," (iPhone or iPad)"),r.a.createElement("a",{href:o,target:"_blank",rel:"noreferrer noopener",className:"mx_ClearDecoration"},r.a.createElement("img",{height:"48",src:"themes/element/img/download/apple.svg",alt:"Apple App Store"}))));let c=[r.a.createElement("p",{className:"mx_Spacer",key:"header"},r.a.createElement("strong",null,"Android"))];const i=null==t?void 0:t.android,s=null==t?void 0:t.fdroid;null!==i&&c.push(r.a.createElement("a",{href:i,target:"_blank",rel:"noreferrer noopener",className:"mx_ClearDecoration",key:"android"},r.a.createElement("img",{height:"48",src:"themes/element/img/download/google.svg",alt:"Google Play Store"}))),null!==s&&c.push(r.a.createElement("a",{href:s,target:"_blank",rel:"noreferrer noopener",className:"mx_ClearDecoration",key:"fdroid"},r.a.createElement("img",{height:"48",src:"themes/element/img/download/fdroid.svg",alt:"F-Droid"}))),1===c.length&&(c=[]);let d=r.a.createElement("h2",{id:"step2_heading"},Object(m.b)("use_brand_on_mobile",{brand:a}));return c.length||l||(d=null),r.a.createElement("div",{className:"mx_ErrorView"},r.a.createElement("div",{className:"mx_ErrorView_container"},r.a.createElement("div",{className:"mx_HomePage_header"},r.a.createElement("span",{className:"mx_HomePage_logo"},r.a.createElement("img",{height:"42",src:"themes/element/img/logos/element-logo.svg",alt:"Element"})),r.a.createElement("h1",null,Object(m.b)("incompatible_browser|title"))),r.a.createElement("div",{className:"mx_HomePage_col"},r.a.createElement("div",{className:"mx_HomePage_row"},r.a.createElement("div",null,r.a.createElement("h2",{id:"step1_heading"},Object(m.b)("incompatible_browser|summary",{brand:a})),r.a.createElement("p",null,Object(m.b)("incompatible_browser|features",{brand:a})),r.a.createElement("p",null,Object(m.b)("incompatible_browser|browser_links",{},{chromeLink:e=>r.a.createElement("a",{href:"https://www.google.com/chrome"},e),firefoxLink:e=>r.a.createElement("a",{href:"https://firefox.com"},e),safariLink:e=>r.a.createElement("a",{href:"https://apple.com/safari"},e)})),r.a.createElement("p",null,Object(m.b)("incompatible_browser|feature_warning")),r.a.createElement("button",{onClick:e},Object(m.b)("incompatible_browser|continue_warning"))))),r.a.createElement("div",{className:"mx_HomePage_col"},r.a.createElement("div",{className:"mx_HomePage_row"},r.a.createElement("div",null,d,l,c))),r.a.createElement("div",{className:"mx_HomePage_row mx_Center mx_Spacer"},r.a.createElement("p",{className:"mx_Spacer"},r.a.createElement("a",{href:"https://element.io",target:"_blank",className:"mx_FooterLink"},Object(m.b)("go_to_element_io"))))))}}}]);
//# sourceMappingURL=compatibility-view.js.map