(window.webpackJsonp_1c6c9123_7aac_41f3_a376_3caea41ed83f_1_13_0=window.webpackJsonp_1c6c9123_7aac_41f3_a376_3caea41ed83f_1_13_0||[]).push([[1],{IS8z:function(e){e.exports=JSON.parse('{"e":"debugManifestErrorDetail","t":"debugManifestErrorDismissButtonText"}')},bEFm:function(e,t,n){"use strict";n.r(t),n.d(t,"showDebugPrompt",function(){return D}),n.d(t,"showError",function(){return I});var a=n("QQjj"),i=n("bUvs"),r=n("B599"),o=n("ZrIQ"),s=n("314x"),c=n("Xhtr"),d=n("P/Dz"),l=n("z6yk"),u=n("74aD"),f=n("AMO1"),p=n("tJuL"),m=n("UWqr"),_=n("wrZQ"),h=n("jOlS");h.loadStyles(".n_f_77a7cb2f{min-width:500px!important;max-width:50vw}",!0),h.loadStyles(".o_g_77a7cb2f{color:#e81123;-webkit-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.p_g_77a7cb2f{opacity:1!important;transform:ms-translate3d(0,0,0)!important}div .q_g_77a7cb2f{max-width:200px;-webkit-user-select:none;-ms-user-select:none;user-select:none;cursor:default;opacity:0;transform:ms-translate3d(0,20px,0);transition:opacity .2s,transform .2s;animation:none}.r_g_77a7cb2f{padding:18px 24px 12px;margin:0;font-size:21px;font-weight:100;color:#323130;font-weight:300}",!0);var b=function(e){function t(t){var n=e.call(this,t)||this;return n._handleCancelClick=function(){n._handleButtonClick(!1)},n._handleConfirmClick=function(){n._handleButtonClick(!0)},n._handleButtonClick=function(e){n._timeouts.push(setTimeout(function(){return n.setState({dismissed:!0})},200)),n.setState({showCallout:!1,showDialog:!1}),n.props.callback(e)},n.state={showDialog:!0,showCallout:!1,dismissed:!1},n._calloutRef=a.createRef(),n._timeouts=[],n}return Object(r.n)(t,e),t.prototype.componentDidMount=function(){var e=this;this._timeouts.push(setTimeout(function(){return e.setState({showCallout:e.state.showDialog})},5e3))},t.prototype.componentWillUnmount=function(){for(var e=0,t=this._timeouts;e<t.length;e++){var n=t[e];clearTimeout(n)}this._timeouts=[]},t.prototype.render=function(){var e;return this.state.dismissed?null:a.createElement("div",{role:"dialog","data-automation-id":"debugManifestPromptDialog","aria-labelledby":"manifestWarningLabel"},a.createElement(o.e,{dialogContentProps:{type:s.e.largeHeader,title:this.props.title},hidden:!this.state.showDialog,modalProps:{isBlocking:!0,containerClassName:"n_f_77a7cb2f"}},a.createElement("p",{className:"o_g_77a7cb2f"},_.o),a.createElement("p",{className:"o_g_77a7cb2f"},m.Text.format(_.s,_.i)),a.createElement(c.e,null,a.createElement(d.e,{"data-automation-id":"debugManifestConfirmButton",onClick:this._handleConfirmClick},_.r),a.createElement(l.e,{"data-automation-id":"debugManifestCancelButton",onClick:this._handleCancelClick},a.createElement("div",{ref:this._calloutRef},_.i)))),a.createElement(u.e,{className:Object(p.e)("q_g_77a7cb2f",(e={},e.p_g_77a7cb2f=!!this.state.showCallout,e)),target:this._calloutRef,directionalHint:f.e.bottomCenter,gapSpace:10},a.createElement("div",{className:"r_g_77a7cb2f"},_.a)))},t}(a.Component);h.loadStyles(".s_h_77a7cb2f{-webkit-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.t_h_77a7cb2f{font-family:monospace;-webkit-user-select:text;-ms-user-select:text;user-select:text}",!0);var g,v=n("IS8z"),y=function(e){function t(t){var n=e.call(this,t)||this;return n._handleDismissClick=function(){n.setState({isShown:!1})},n.state={isShown:!0},n}return Object(r.n)(t,e),t.prototype.render=function(){return a.createElement("div",{"data-automation-id":"debugManifestErrorDialog",role:"dialog"},a.createElement(o.e,{hidden:!this.state.isShown,dialogContentProps:{type:s.e.largeHeader,title:this.props.title},modalProps:{isBlocking:!0,containerClassName:"n_f_77a7cb2f"}},a.createElement("p",{className:"s_h_77a7cb2f"},this.props.errorText||v.e),a.createElement("p",{className:"t_h_77a7cb2f"},this.props.innerError.toString()),a.createElement(c.e,null,a.createElement(l.e,{"data-automation-id":"debugManifestErrorDismissButton",onClick:this._handleDismissClick},v.t))))},t}(a.Component),S=!1;function D(e){return new Promise(function(t){var n=e.loaderRequested&&e.manifestsRequested?_.e:e.loaderRequested?_.t:_.n;i.render(a.createElement(b,{title:n,callback:t}),x())})}function I(e,t,n){S||(S=!0,i.render(a.createElement(y,{innerError:e,errorText:t,title:n}),x()))}function x(){return g||(g=document.createElement("div"),document.body.appendChild(g)),g}},wrZQ:function(e){e.exports=JSON.parse('{"n":"allowDebugManifestsTitle","t":"allowDebugLoaderTitle","e":"allowDebugLoaderAndManifestsTitle","o":"debugManifestLoadingWarning","s":"debugManifestLoadingWarning2","r":"debugManifestLoadingConfirm","i":"debugManifestLoadingCancel","a":"debugManifestLoadingCalloutText"}')}}]);