(window.webpackJsonp=window.webpackJsonp||[]).push([["SGM"],{5933:function(t,e,s){},8200:function(t,e,s){"use strict";var n=s("288e");s("ac4d"),s("8a81"),s("5df3"),s("1c4c"),s("7f7f"),s("6b54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,s("ac6a");var o=n(s("e6fd")),i=n(s("4a7d")),c=n(s("149f")),r=s("1728"),a=n(s("03fc"));function u(t,e){var s="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!s){if(Array.isArray(t)||(s=function(t,e){if(t){if("string"==typeof t)return d(t,e);var s={}.toString.call(t).slice(8,-1);return"Object"===s&&t.constructor&&(s=t.constructor.name),"Map"===s||"Set"===s?Array.from(t):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?d(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){s&&(t=s);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,r=!1;return{s:function(){s=s.call(t)},n:function(){var t=s.next();return c=t.done,t},e:function(t){r=!0,i=t},f:function(){try{c||null==s.return||s.return()}finally{if(r)throw i}}}}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,n=Array(e);s<e;s++)n[s]=t[s];return n}e.default={name:"SGMSystemCheck",components:{StyledButton:function(){return s.e("styled-button").then(s.bind(null,"d361"))},SystemCheckIcon:c.default},computed:{systemCheckStatus:function(){return this.isTestCompleted?"System check completed.":this.testStarted?"System check in progress...":"Check your system for compatibility."},isTestCompleted:function(){return this.testExecutedCount===this.tests.length},isAllTestPassed:function(){return this.testExecutedCount===this.testPassedCount}},data:function(){return{tests:o.default.SystemCheckTests.sgm,isTestRunning:!1,systemCheckState:o.default.SystemCheckState,testExecutedCount:0,testPassedCount:0,showResult:!1,isZoomAppInstalled:null,zoomNotInstalledMessage:o.default.ErrorMessages.ZoomNotInstalled,zoomTestState:{state:o.default.SystemCheckState.InIt},testCompletedOn:null,timeouts:[],testStarted:!1,systemCheckButtonText:"START"}},methods:{getAllTests:function(){return this.tests},runTests:function(){var t=this;if(!this.isTestRunning){this.$emit("syscheck-countdown-over",!1),this.isTestRunning=!0,this.testStarted=!0,this.systemCheckButtonText="RUN AGAIN";var e,s=u(this.timeouts);try{for(s.s();!(e=s.n()).done;){var n=e.value;clearTimeout(n)}}catch(t){s.e(t)}finally{s.f()}this.testExecutedCount=0;var o=Promise.resolve();this.timeouts.push(setTimeout((function(){t.isTestRunning=!1,t.$emit("syscheck-countdown-over",!0)}),15e3));var c=a.default.getBrowserFamily();a.default.createAdditionalWindow(c),this.tests.forEach((function(e){var s,n;o=o.then((function(){return e.state=t.systemCheckState.Running,new Promise((function(t){setTimeout(t,750)}))})).then((function(){return i.default.runTest(e,c)})).then((function(e){s=!0,n=e,t.testPassedCount++})).catch((function(t){s=!1,n=t})).then((function(){t.testExecutedCount++,e.passed=s,e.log=n,t.testCompletedOn=new Date,e.state=t.systemCheckState.Completed,t.testExecutedCount>=2&&(t.isTestRunning=!1,t.$emit("syscheck-countdown-over",!0)),window.scrollTo(0,document.body.scrollHeight)}))}))}}},watch:{isTestCompleted:function(t){t&&this.isAllTestPassed&&this.$emit("syscheck-pass",!0)},isAllTestPassed:function(t){t&&this.isTestCompleted&&(this.$emit("syscheck-pass",!0),(0,r.SetBrowserCookie)(o.default.Cookies.SysCheckPassed,!0,30))}}}},8297:function(t,e,s){"use strict";var n=s("cb1f");s.o(n,"render")&&s.d(e,"render",(function(){return n.render})),s.o(n,"staticRenderFns")&&s.d(e,"staticRenderFns",(function(){return n.staticRenderFns}))},"8a51":function(t,e,s){"use strict";s.r(e);var n=s("8200"),o=s.n(n);for(var i in n)["default"].indexOf(i)<0&&function(t){s.d(e,t,(function(){return n[t]}))}(i);e.default=o.a},9419:function(t,e,s){t.exports=s.p+"img/system-check-icon.dc57b25e.svg"},a99e:function(t,e,s){"use strict";s("5933")},ba45:function(t,e,s){"use strict";s("c3c6")},c3c6:function(t,e,s){},cb1f:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.staticRenderFns=e.render=void 0,s("7f7f");e.render=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sgm-syscheck-container"},[e("div",{staticClass:"sgm-syscheck-content"},[e("div",{staticClass:"sgm-syscheck-group"},[e("div",{staticClass:"sgm-syscheck-header"},[e("img",{staticClass:"sgm-syscheck-header-icon",attrs:{alt:"system check logo",src:s("9419")}}),t._v("\n          "+t._s(t.systemCheckStatus)+"\n      ")]),t.isTestRunning?t._e():e("StyledButton",{staticClass:"sgm-syscheck-button",class:{disabled:t.isTestRunning},attrs:{id:"sysCheckButton",buttonText:t.systemCheckButtonText},on:{click:t.runTests}})],1),t.showResult?t._e():e("div",{staticClass:"sgm-syscheck-body"},[e("div",{staticClass:"sgm-syscheck-card-body"},t._l(t.tests,(function(s){return e("div",{key:s.name,staticClass:"sgm-syscheck-row-container"},[e("div",{staticClass:"sgm-syscheck-row"},[e("span",{staticClass:"sgm-syscheck-row-name"},[t._v(t._s(s.name))]),e("SystemCheckIcon",{attrs:{test:s,type:"sgm"}})],1),s.passed||s.state!==t.systemCheckState.Completed?t._e():e("div",{staticClass:"sgm-syscheck-row-error"},["ZOOM installation"!==s.name?e("span",[t._v(t._s(s.message.title))]):t._e(),"ZOOM installation"==s.name?e("span",[t._v("Zoom client not detected. Download\n              "),e("a",{attrs:{href:"https://zoom.us/download#client_4meeting"}},[t._v(" Zoom for Meetings")]),t._v("\n              for meetings and log in with your existing account.'")]):t._e()])])})),0)])])])},e.staticRenderFns=[]},ea15:function(t,e,s){"use strict";s.r(e);var n=s("8297"),o=s("8a51");for(var i in o)["default"].indexOf(i)<0&&function(t){s.d(e,t,(function(){return o[t]}))}(i);s("a99e"),s("ba45");var c=s("2877"),r=Object(c.a)(o.default,n.render,n.staticRenderFns,!1,null,"56ca14c9",null);e.default=r.exports}}]);