(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{1826:function(e,a,t){e.exports=t.p+"files/b0b27c154c6bcece35d9a2e5a6d8520b.png"},1827:function(e,a,t){e.exports=t.p+"files/deb733e8ae657e1813261ce18d4aec46.png"},1860:function(e,a,t){"use strict";t.r(a);var n=t(224),s=t(15),r=(t(110),t(8),t(570),t(5)),o=t.n(r),p=t(28),c=t(16),i=t.n(c),l=t(160),m=t(1826),g=t.n(m),d=t(1827),u=t.n(d);function h({iosAppDownloadLink:e,history:a,location:t}){return o.a.createElement("div",{className:"get-app get-ios-app"},o.a.createElement("h1",{className:"get-app__header"},o.a.createElement(p.c,{id:"get_app.iosHeader",defaultMessage:"Mattermost works best if you switch to our iPhone app"})),o.a.createElement("hr",null),o.a.createElement("a",{className:"get-ios-app__app-store-link",href:Object(l.g)(e),rel:"noopener noreferrer"},o.a.createElement("img",{alt:"app store button",src:g.a})),o.a.createElement("img",{alt:"get app screenshot",className:"get-app__screenshot",src:u.a}),o.a.createElement("h2",{className:"get-ios-app__already-have-it"},o.a.createElement(p.c,{id:"get_app.alreadyHaveIt",defaultMessage:"Already have it?"})),o.a.createElement("a",{className:"btn btn-primary get-ios-app__open-mattermost",href:"mattermost://"},o.a.createElement(p.c,{id:"get_app.openMattermost",defaultMessage:"Open Mattermost"})),o.a.createElement("span",{className:"get-app__continue-with-browser"},o.a.createElement(p.c,{id:"get_app.continueWithBrowser",defaultMessage:"Or {link}",values:{link:o.a.createElement("a",{onClick:e=>{e.preventDefault();const n=new URLSearchParams(t.search).get("redirect_to");n?a.push(n):a.push("/")},className:"get-ios-app__continue"},o.a.createElement(p.c,{id:"get_app.continueWithBrowserLink",defaultMessage:"continue with browser"}))}})))}h.propTypes={iosAppDownloadLink:i.a.string};a.default=Object(n.connect)(function(e){return{iosAppDownloadLink:Object(s.getConfig)(e).IosAppDownloadLink}})(h)}}]);
//# sourceMappingURL=20.3cf74ef407efd7368ab1.js.map