(this["webpackJsonp@factor/webapp"]=this["webpackJsonp@factor/webapp"]||[]).push([[36],{1043:function(e,t,a){"use strict";var r=a(95),n=a(0),c=a.n(n),o=a(273),s=["children","title"],i=Object(n.forwardRef)((function(e,t){var a=e.children,n=e.title,i=void 0===n?"":n,l=Object(r.a)(e,s);return c.a.createElement("div",Object.assign({ref:t},l),c.a.createElement(o.a,null,c.a.createElement("title",null,i)),a)}));i.displayName="Page",t.a=i},964:function(e,t,a){"use strict";a.r(t);var r=a(0),n=a.n(r),c=a(1043),o=a(561),s=a(83);a(575);var i=function(e){var t=e.secure,a=e.wsLocation;return n.a.createElement("iframe",{style:{height:"calc(100vh - 68px)",flexGrow:1,overflow:"hidden"},src:"/devtools/inspector/inspector.html?".concat(t?"wss":"ws","=").concat(a)})},l=a(87),u=a(162),d=a(167);t.default=function(){var e=s.a.EditRecording.useParams(),t=Object(l.d)(),a=t.token,r=t.error,m=t.loadState;if(!/chrom(e|ium)/.test(navigator.userAgent.toLowerCase()))return n.a.createElement(o.a,{mt:3},"Recording currently only supports chromium based browsers");if(m===l.a.NOT_STARTED||m===l.a.STARTED)return n.a.createElement(u.a,null);if(m===l.a.FAILED)return n.a.createElement(o.a,{mt:3},"Error: ".concat(JSON.stringify(r)));var f=Object(d.a)(e.testId,a),p=f.devtoolsPath,E=f.secure;return n.a.createElement(c.a,{title:"Record"},n.a.createElement(o.a,{display:"flex"},n.a.createElement(i,{secure:E,wsLocation:p})))}}}]);