webpackJsonp([371],{1000:function(e,t,n){"use strict";e.exports=function(){var e=n(4);var t=n(107);var o=n(1033);var i=n(1001);var r=n(19);var a=n(54);var s=n(16);var p=n(524);var c=n(522);function u(e){if(!e)throw new Error("[ReactAdapterView] No initialization options found.")}function d(e){if(!e.reactView)throw new Error('[ReactAdapterView] No "reactView" option found on initialization options.')}return t.View.extend({initialize:function t(n){u(n);d(n);this.options=n;e.defaults(this.options,{reactProps:{},needsBaseTemplate:true})},setBaseTemplate:function e(){r.setProperty("baseTemplate",c);a.sendEvent(s.EVENT_CHANGE_BASE_VIEW)},renderReactComponent:function e(){o.render(i.createElement(this.options.reactView,this.options.reactProps),this.el)},remove:function e(){o.unmountComponentAtNode(this.el)},render:function e(){var t=this;if(this.options.needsBaseTemplate){this.setBaseTemplate();document.getElementById("wrapper").innerHTML=c();t.setElement("#content");t.renderReactComponent()}else t.renderReactComponent()}})}()}});
//# sourceMappingURL=ReactAdapterView.ab4e28a3de.js.map