this.wp=this.wp||{},this.wp.editor=function(t){vare={};functionn(r){if(e[r])returne[r].exports;varo=e[r]={i:r,l:!1,exports:{}};returnt[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}returnn.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)returnt;if(4&e&&"object"==typeoft&&t&&t.__esModule)returnt;varr=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeoft)for(varoint)n.d(r,o,function(e){returnt[e]}.bind(null,o));returnr},n.n=function(t){vare=t&&t.__esModule?function(){returnt.default}:function(){returnt};returnn.d(e,"a",e),e},n.o=function(t,e){returnObject.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=358)}({0:function(t,e){!function(){t.exports=this.wp.element}()},1:function(t,e){!function(){t.exports=this.wp.i18n}()},10:function(t,e,n){"use strict";functionr(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}n.d(e,"a",function(){returnr})},109:function(t,e){"function"==typeofObject.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;varn=function(){};n.prototype=e.prototype,t.prototype=newn,t.prototype.constructor=t}},11:function(t,e,n){"use strict";n.d(e,"a",function(){returni});varr=n(32),o=n(3);functioni(t,e){return!e||"object"!==Object(r.a)(e)&&"function"!=typeofe?Object(o.a)(t):e}},111:function(t,e,n){"use strict";varr,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceofArray&&function(t,e){t.__proto__=e}||function(t,e){for(varnine)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){functionn(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,newn)}),i=this&&this.__assign||Object.assign||function(t){for(vare,n=1,r=arguments.length;n<r;n++)for(varoine=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);returnt},s=this&&this.__rest||function(t,e){varn={};for(varrint)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeofObject.getOwnPropertySymbols){varo=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&(n[r[o]]=t[r[o]])}returnn};e.__esModule=!0;vara=n(27),c=n(31),u=n(112),l=n(113),d=function(t){functione(){vare=null!==t&&t.apply(this,arguments)||this;returne.state={lineHeight:null},e.dispatchEvent=function(t){varn=document.createEvent("Event");n.initEvent(t,!0,!1),e.textarea.dispatchEvent(n)},e.updateLineHeight=function(){e.setState({lineHeight:l(e.textarea)})},e.onChange=function(t){varn=e.props.onChange;e.currentValue=t.currentTarget.value,n&&n(t)},e.saveDOMNodeRef=function(t){varn=e.props.innerRef;n&&n(t),e.textarea=t},e.getLocals=function(){vart=e,n=t.props,r=(n.onResize,n.maxRows),o=(n.onChange,n.style),a=(n.innerRef,s(n,["onResize","maxRows","onChange","style","innerRef"])),c=t.state.lineHeight,u=t.saveDOMNodeRef,l=r&&c?c*r:null;returni({},a,{saveDOMNodeRef:u,style:l?i({},o,{maxHeight:l}):o,onChange:e.onChange})},e}returno(e,t),e.prototype.componentDidMount=function(){vart=this,e=this.props,n=e.onResize;"number"==typeofe.maxRows&&this.updateLineHeight(),setTimeout(function(){returnu(t.textarea)}),n&&this.textarea.addEventListener("autosize:resized",n)},e.prototype.componentWillUnmount=function(){vart=this.props.onResize;t&&this.textarea.removeEventListener("autosize:resized",t),this.dispatchEvent("autosize:destroy")},e.prototype.render=function(){vart=this.getLocals(),e=t.children,n=t.saveDOMNodeRef,r=s(t,["children","saveDOMNodeRef"]);returna.createElement("textarea",i({},r,{ref:n}),e)},e.prototype.componentDidUpdate=function(t){this.props.value===this.currentValue&&this.props.rows===t.rows||this.dispatchEvent("autosize:update")},