1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6925],{35108:function(R,Y,H){window,R.exports=function(R,Y,H){var V,K;return K={},i.m=V=[function(R,Y,H){R.exports=H(10)()},function(Y,H){Y.exports=R},function(R,Y,H){var V;/*! 2 Copyright (c) 2017 Jed Watson. 3 Licensed under the MIT License (MIT), see 4 http://jedwatson.github.io/classnames 5*/!function(){"use strict";var H={}.hasOwnProperty;function a(){for(var R=[],Y=0;Y<arguments.length;Y++){var V=arguments[Y];if(V){var K=typeof V;if("string"==K||"number"==K)R.push(V);else if(Array.isArray(V)&&V.length){var te=a.apply(null,V);te&&R.push(te)}else if("object"==K)for(var to in V)H.call(V,to)&&V[to]&&R.push(to)}}return R.join(" ")}R.exports?(a.default=a,R.exports=a):void 0===(V=(function(){return a}).apply(Y,[]))||(R.exports=V)}()},function(R,H){R.exports=Y},function(R,Y,H){var V,K,te,to;function r(R){if(to[R])return to[R].exports;var Y=to[R]={i:R,l:!1,exports:{}};return te[R].call(Y.exports,Y,Y.exports,r),Y.l=!0,Y.exports}window,R.exports=(V=H(3),K=H(5),to={},r.m=te=[function(R,Y){R.exports=V},function(R,Y){R.exports=K},function(R,Y,H){R.exports=H(3)},function(R,Y,H){"use strict";H.r(Y);var V=H(0),K=H(1);function j(R){var Y=R.getSelection(),H=R.getCurrentContent(),V=Y.getStartKey(),K=Y.getEndKey(),te=H.getBlockMap();return te.toSeq().skipUntil(function(R,Y){return Y===V}).takeUntil(function(R,Y){return Y===K}).concat([[K,te.get(K)]])}function u(R){return j(R).toList()}function l(R){if(R)return u(R).get(0)}function o(R){if(R){var Y=l(R),H=R.getCurrentContent().getBlockMap().toSeq().toList(),V=0;if(H.forEach(function(R,H){R.get("key")===Y.get("key")&&(V=H-1)}),-1<V)return H.get(V)}}function r(R){return R?R.getCurrentContent().getBlockMap().toList():new K.List}function c(R){var Y=u(R);if(!Y.some(function(R){return R.type!==Y.get(0).type}))return Y.get(0).type}function a(R){var Y=V.RichUtils.tryToRemoveBlockStyle(R);return Y?V.EditorState.push(R,Y,"change-block-type"):R}function s(R){var Y="",H=R.getSelection(),V=H.getAnchorOffset(),K=H.getFocusOffset(),te=u(R);if(0<te.size){if(H.getIsBackward()){var to=V;V=K,K=to}for(var ti=0;ti<te.size;ti+=1){var tc=0===ti?V:0,ta=ti===te.size-1?K:te.get(ti).getText().length;Y+=te.get(ti).getText().slice(tc,ta)}}return Y}function p(R){var Y=R.getCurrentContent(),H=R.getSelection(),K=V.Modifier.removeRange(Y,H,"forward"),te=K.getSelectionAfter(),to=K.getBlockForKey(te.getStartKey());return K=V.Modifier.insertText(K,te,"\n",to.getInlineStyleAt(te.getStartOffset()),null),V.EditorState.push(R,K,"insert-fragment")}function d(R){var Y=V.Modifier.splitBlock(R.getCurrentContent(),R.getSelection());return a(V.EditorState.push(R,Y,"split-block"))}function f(R){var Y=R.getCurrentContent().getBlockMap().toList(),H=R.getSelection().merge({anchorKey:Y.first().get("key"),anchorOffset:0,focusKey:Y.last().get("key"),focusOffset:Y.last().getLength()}),K=V.Modifier.removeRange(R.getCurrentContent(),H,"forward");return V.EditorState.push(R,K,"remove-range")}function y(R,Y){var H=V.Modifier.setBlockData(R.getCurrentContent(),R.getSelection(),Y);return V.EditorState.push(R,H,"change-block-data")}function m(R){var Y=new K.Map({}),H=u(R);if(H&&0<H.size)for(var V=0;V<H.size&&"break"!==function(R){var V=H.get(R).getData();if(!V||0===V.size)return Y=Y.clear(),"break";if(0===R)Y=V;else if(Y.forEach(function(R,H){V.get(H)&&V.get(H)===R||(Y=Y.delete(H))}),0===Y.size)return Y=Y.clear(),"break"}(V);V+=1);return Y}var te=Object(K.Map)({code:{element:"pre"}}),to=V.DefaultDraftBlockRenderMap.merge(te);function h(R){if(R){var Y=R.getType();return"unordered-list-item"===Y||"ordered-list-item"===Y}return!1}function v(R,Y,H){var K,te=R.getSelection();K=te.getIsBackward()?te.getFocusKey():te.getAnchorKey();var to=R.getCurrentContent(),ti=to.getBlockForKey(K),tc=ti.getType();if("unordered-list-item"!==tc&&"ordered-list-item"!==tc)return R;var ta=to.getBlockBefore(K);if(!ta||ta.getType()!==tc)return R;var tl=ti.getDepth();if(1===Y&&tl===H)return R;var ts,tu,tp,td,tf=Math.min(ta.getDepth()+1,H),ty=(ts=R.getSelection(),tp=(tu=R.getCurrentContent()).getBlockMap(),td=j(R).map(function(R){var H=R.getDepth()+Y;return H=Math.max(0,Math.min(H,tf)),R.set("depth",H)}
vendor: 6,128 bytes, line 5
5),tp=tp.merge(td),tu.merge({blockMap:tp,selectionBefore:ts,selectionAfter:ts}));return V.EditorState.push(R,ty,"adjust-depth")}function N(R,Y){return 13===Y.which&&(Y.getModifierState("Shift")||Y.getModifierState("Alt")||Y.getModifierState("Control"))?R.getSelection().isCollapsed()?V.RichUtils.insertSoftNewline(R):p(R):function(R){var Y=R.getSelection();if(Y.isCollapsed()){var H=R.getCurrentContent(),V=Y.getStartKey(),K=H.getBlockForKey(V);if(!h(K)&&"unstyled"!==K.getType()&&K.getLength()===Y.getStartOffset())return d(R);if(h(K)&&0===K.getLength()){var te=K.getDepth();if(0===te)return a(R);if(0<te)return v(R,-1,te)}}}(R)}function E(R,Y){var H=Object.keys(R);if(Object.getOwnPropertySymbols){var V=Object.getOwnPropertySymbols(R);Y&&(V=V.filter(function(Y){return Object.getOwnPropertyDescriptor(R,Y).enumerable})),H.push.apply(H,V)}return H}function S(R,Y,H){return Y in R?Object.defineProperty(R,Y,{value:H,enumerable:!0,configurable:!0,writable:!0}):R[Y]=H,R}function w(R){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function C(R){var Y=R.getSelection();if(Y.isCollapsed()){var H={},V=R.getCurrentInlineStyle().toList().toJS();if(V)return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach(function(R){H[R]=0<=V.indexOf(R)}),H}var K=Y.getStartOffset(),te=Y.getEndOffset(),to=u(R);if(0<to.size){var ti=function(){for(var R={BOLD:!0,ITALIC:!0,UNDERLINE:!0,STRIKETHROUGH:!0,CODE:!0,SUPERSCRIPT:!0,SUBSCRIPT:!0},Y=0;Y<to.size;Y+=1){var H=0===Y?K:0,V=Y===to.size-1?te:to.get(Y).getText().length;H===V&&0===H?(H=1,V=2):H===V&&--H;for(var ti=H;ti<V;ti+=1)(function(H){var V=to.get(Y).getInlineStyleAt(H);["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach(function(Y){R[Y]=R[Y]&&V.get(Y)===Y})})(ti)}return{v:R}}();if("object"===w(ti))return ti.v}return{}}function L(R){var Y,H=R.getSelection(),V=H.getStartOffset(),K=H.getEndOffset();V===K&&0===V?K=1:V===K&&--V;for(var te=l(R),to=V;to<K;to+=1){var ti=te.getEntityAt(to);if(!ti){Y=void 0;break}if(to===V)Y=ti;else if(Y!==ti){Y=void 0;break}}return Y}function D(R,Y){var H,V=l(R);return V.findEntityRanges(function(R){return R.get("entity")===Y},function(R,Y){H={start:R,end:Y,text:V.get("text").slice(R,Y)}}),H}function k(R,Y,H){ti[R]["".concat(R.toLowerCase(),"-").concat(H)]=S({},"".concat(Y),H)}function O(){return function(R){for(var Y=1;Y<arguments.length;Y++){var H=null!=arguments[Y]?arguments[Y]:{};Y%2?E(Object(H),!0).forEach(function(Y){S(R,Y,H[Y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(H)):E(Object(H)).forEach(function(Y){Object.defineProperty(R,Y,Object.getOwnPropertyDescriptor(H,Y))})}return R}({},ti.color,{},ti.bgcolor,{},ti.fontSize,{},ti.fontFamily,{CODE:ti.CODE,SUPERSCRIPT:ti.SUPERSCRIPT,SUBSCRIPT:ti.SUBSCRIPT})}var ti={color:{},bgcolor:{},fontSize:{},fontFamily:{},CODE:{fontFamily:"monospace",wordWrap:"break-word",background:"#f1f1f1",borderRadius:3,padding:"1px 3px"},SUPERSCRIPT:{fontSize:11,position:"relative",top:-8,display:"inline-flex"},SUBSCRIPT:{fontSize:11,position:"relative",bottom:-8,display:"inline-flex"}};function I(R,Y,H){var K=R.getSelection(),te=Object.keys(ti[Y]).reduce(function(R,Y){return V.Modifier.removeInlineStyle(R,K,Y)},R.getCurrentContent()),to=V.EditorState.push(R,te,"changeinline-style"),tc=R.getCurrentInlineStyle();if(K.isCollapsed()&&(to=tc.reduce(function(R,Y){return V.RichUtils.toggleInlineStyle(R,Y)},to)),"SUPERSCRIPT"===Y||"SUBSCRIPT"==Y)tc.has(H)||(to=V.RichUtils.toggleInlineStyle(to,H));else{var ta="bgcolor"===Y?"backgroundColor":Y;tc.has("".concat(ta,"-").concat(H))||(to=V.RichUtils.toggleInlineStyle(to,"".concat(Y.toLowerCase(),"-").concat(H)),k(Y,ta,H))}return to}function T(R){R&&R.getCurrentContent().getBlockMap().map(function(R){return R.get("characterList")}).toList().flatten().forEach(function(R){R&&0===R.indexOf("color-")?k("color","color",R.substr(6)):R&&0===R.indexOf("bgcolor-")?k("bgcolor","backgroundColor",R.substr(8)):R&&0===R.indexOf("fontsize-")?k("fontSize","fontSize",+R.substr(9)):R&&0===R.indexOf("fontfamily-")&&k("fontFamily","fontFamily",R.substr(11))})}function A(R,Y,H){var V=R.getInlineStyleAt(H).toList().filter(function(R){return R.startsWith(Y.toLowerCase())});if(V&&0<V.size)return V.get(0)}function z(R,Y){if(R&&Y&&0<Y.length){var H=function(){var H=R.getSelection(),V={};if(H.isCollapsed())return Y.forEach(function(Y){V[Y]=function(R,Y){var H=R.getCurrentInlineStyle().toList().filter(function(R){return R.startsWith(Y.toLowerCase())});if(H&&0<H.size)return H.get(0)}(R,Y)}),{v:V};var K=H.getStartOffset(),te=H.getEndOffset(),to=u(R);if(0<to.size){for(var e=function(R){var H=0===R?K:0,ti=R===to.size-1?te:to.get(R).getText().length;H===ti&&0===H?(H=1,ti=2):H===ti&&--H;for(var o=function(K){K===H?Y.forEach(function(Y){V[Y]=A(to.get(R),Y,K)}):Y.forEach(function(Y){V[Y]&&V[Y]!==A(to.get(R),Y,K)&&(V[Y]=void 0)})},tc=H;tc<ti;tc+=1)o(tc)},ti=0;ti<to.size;ti+=1)e(ti);return{v:V}}}();if("object"===w(H))return H.v}return{}}function _(R){var Y=R.getCurrentInlineStyle(),H=R.getCurrentContent();return Y.forEach(function(Y){H=V.Modifier.removeInlineStyle(H,R.getSelection(),Y)}),V.EditorState.push(R,H,"change-inline-style")}H.d(Y,"isListBlock",function(){return h}),H.d(Y,"changeDepth",function(){return v}),H.d(Y,"handleNewLine",function(){return N}),H.d(Y,"getEntityRange",function(){return D}),H.d(Y,"getCustomStyleMap",function(){return O}),H.d(Y,"toggleCustomInlineStyle",function(){return I}),H.d(Y,"getSelectionEntity",function(){return L}),H.d(Y,"extractInlineStyle",function(){return T}),H.d(Y,"removeAllInlineStyles",function(){return _}),H.d(Y,"getSelectionInlineStyle",function(){return C}),H.d(Y,"getSelectionCustomInlineStyle",function(){return z}),H.d(Y,"getSelectedBlocksMap",function(){return j}),H.d(Y,"getSelectedBlocksList",function(){return u}),H.d(Y,"getSelectedBlock",function(){return l}),H.d(Y,"getBlockBeforeSelectedBlock",function(){return o}
5),H.d(Y,"getAllBlocks",function(){return r}),H.d(Y,"getSelectedBlocksType",function(){return c}),H.d(Y,"removeSelectedBlocksStyle",function(){return a}),H.d(Y,"getSelectionText",function(){return s}),H.d(Y,"addLineBreakRemovingSelection",function(){return p}),H.d(Y,"insertNewUnstyledBlock",function(){return d}),H.d(Y,"clearEditorContent",function(){return f}),H.d(Y,"setBlockData",function(){return y}),H.d(Y,"getSelectedBlocksMetadata",function(){return m}),H.d(Y,"blockRenderMap",function(){return to})}],r.c=to,r.d=function(R,Y,H){r.o(R,Y)||Object.defineProperty(R,Y,{enumerable:!0,get:H})},r.r=function(R){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(R,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(R,"__esModule",{value:!0})},r.t=function(R,Y){if(1&Y&&(R=r(R)),8&Y||4&Y&&"object"==typeof R&&R&&R.__esModule)return R;var H=Object.create(null);if(r.r(H),Object.defineProperty(H,"default",{enumerable:!0,value:R}),2&Y&&"string"!=typeof R)for(var V in R)r.d(H,V,(function(Y){return R[Y]}).bind(null,V));return H},r.n=function(R){var Y=R&&R.__esModule?function(){return R.default}:function(){return R};return r.d(Y,"a",Y),Y},r.o=function(R,Y){return Object.prototype.hasOwnProperty.call(R,Y)},r.p="",r(r.s=2))},function(R,Y){R.exports=H},function(R,Y,H){var V,K,te,to;function r(R){if(to[R])return to[R].exports;var Y=to[R]={i:R,l:!1,exports:{}};return te[R].call(Y.exports,Y,Y.exports,r),Y.l=!0,Y.exports}window,R.exports=(V=H(5),K=H(3),to={},r.m=te=[function(R,Y){R.exports=V},function(R,Y){R.exports=K},function(R,Y,H){R.exports=H(3)},function(R,Y,H){"use strict";H.r(Y);var V=H(1),K=H(0),v=function(R,Y,H){var V=R.textContent;return""===V.trim()?{chunk:{text:" ",inlines:[new K.OrderedSet],entities:[H],blocks:[]}}:{chunk:{text:V,inlines:Array(V.length).fill(Y),entities:Array(V.length).fill(H),blocks:[]}}},C=function(R){return{text:"\r ",inlines:[new K.OrderedSet],entities:[R],blocks:[{type:"atomic",depth:0,data:new K.Map({})}]}},te=new K.Map({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},"unordered-list-item":{element:"li",wrapper:"ul"},"ordered-list-item":{element:"li",wrapper:"ol"},blockquote:{element:"blockquote"},code:{element:"pre"},atomic:{element:"figure"},unstyled:{element:"p",aliasedElements:["div"]}}),to={code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",strong:"BOLD",ins:"UNDERLINE",sub:"SUBSCRIPT",sup:"SUPERSCRIPT"};function O(R){return R.style.textAlign?new K.Map({"text-align":R.style.textAlign}):R.style.marginLeft?new K.Map({"margin-left":R.style.marginLeft}):void 0}var x=function(R){var Y=void 0;if(R instanceof HTMLAnchorElement){var H={};Y=R.dataset&&void 0!==R.dataset.mention?(H.url=R.href,H.text=R.innerHTML,H.value=R.dataset.value,V.Entity.__create("MENTION","IMMUTABLE",H)):(H.url=R.getAttribute&&R.getAttribute("href")||R.href,H.title=R.innerHTML,H.targetOption=R.target,V.Entity.__create("LINK","MUTABLE",H))}return Y};H.d(Y,"default",function(){return o});var ti=RegExp(" ","g"),tc=!0;function o(R,Y){var H,ta,tl,ts,tu=(H=R.trim().replace(ti," "),tl=null,document.implementation&&document.implementation.createHTMLDocument&&((ta=document.implementation.createHTMLDocument("foo")).documentElement.innerHTML=H,tl=ta.getElementsByTagName("body")[0]),ts=tl)?(tc=!0,{chunk:function t(R,Y,H,ti,ta,tl){var ts=R.nodeName.toLowerCase();if(tl){var tu=tl(ts,R);if(tu)return{chunk:C(V.Entity.__create(tu.type,tu.mutability,tu.data||{}))}}if("#text"===ts&&"\n"!==R.textContent)return v(R,Y,ta);if("br"===ts)return{chunk:{text:"\n",inlines:[new K.OrderedSet],entities:[,],blocks:[]}};if("img"===ts&&R instanceof HTMLImageElement){var tp={};return tp.src=R.getAttribute&&R.getAttribute("src")||R.src,tp.alt=R.alt,tp.height=R.style.height,tp.width=R.style.width,R.style.float&&(tp.alignment=R.style.float),{chunk:C(V.Entity.__create("IMAGE","MUTABLE",tp))}}if("video"===ts&&R instanceof HTMLVideoElement){var td={};return td.src=R.getAttribute&&R.getAttribute("src")||R.src,td.alt=R.alt,td.height=R.style.height,td.width=R.style.width,R.style.float&&(td.alignment=R.style.float),{chunk:C(V.Entity.__create("VIDEO","MUTABLE",td))}}if("iframe"===ts&&R instanceof HTMLIFrameElement){var tf={};return tf.src=R.getAttribute&&R.getAttribute("src")||R.src,tf.height=R.height,tf.width=R.width,{chunk:C(V.Entity.__create("EMBEDDED_LINK","MUTABLE",tf))}}var ty,tm=function(R,Y){var H=te.filter(function(H){return H.element===R&&(!H.wrapper||H.wrapper===Y)||H.wrapper===R||H.aliasedElements&&-1<H.aliasedElements.indexOf(R)}).keySeq().toSet().toArray();if(1===H.length)return H[0]}(ts,ti);tm&&("ul"===ts||"ol"===ts?(ti=ts,H+=1):("unordered-list-item"!==tm&&"ordered-list-item"!==tm&&(ti="",H=-1),tc?(ty={text:"",inlines:[],entities:[],blocks:[{type:tm,depth:0,data:O(R)||new K.Map({})}]},tc=!1):ty={text:"\r",inlines:[],entities:[],blocks:[{type:tm,depth:Math.max(0,Math.min(4,H)),data:O(R)||new K.Map({})}]})),ty=ty||{text:"",inlines:[],entities:[],blocks:[]},tb=Y,(tM=to[ts])?th=tb.add(tM).toOrderedSet():R instanceof HTMLElement&&(th=(th=tb).withMutations(function(Y){var H=R.style.color,V=R.style.backgroundColor,K=R.style.fontSize,te=R.style.fontFamily.replace(/^"|"$/g,""),ti=R.style.fontWeight,tc=R.style.textDecoration,ta=R.style.fontStyle;H&&Y.add("color-".concat(H.replace(/ /g,""))),V&&Y.add("bgcolor-".concat(V.replace(/ /g,""))),K&&Y.add("fontsize-".concat(K.replace(/px$/g,""))),te&&Y.add("fontfamily-".concat(te)),"bold"===ti&&Y.add(to.strong),"underline"===tc&&Y.add(to.ins),"italic"===ta&&Y.add(to.em)}).toOrderedSet()),Y=th;for(var tg=R.firstChild;tg;){var tb,th,tM,tj,tN=t(tg,Y,H,ti,x(tg)||ta,tl).chunk;ty={text:(tj=ty).text+tN.text,inlines:tj.inlines.concat(tN.inlines),entities:tj.entities.concat(tN.entities),blocks:tj.blocks.concat(tN.blocks)},tg=tg.nextSibling}return{chunk:ty}}(ts,new K.OrderedSet,-1,"",void 0,Y).chunk}):null;if(tu){var tp=tu.chunk,td=new K.OrderedMap({});
5tp.entities&&tp.entities.forEach(function(R){R&&(td=td.set(R,V.Entity.__get(R)))});var tf=0;return{contentBlocks:tp.text.split("\r").map(function(R,Y){var H=tf+R.length,te=tp&&tp.inlines.slice(tf,H),to=tp&&tp.entities.slice(tf,H),ti=new K.List(te.map(function(R,Y){var H={style:R,entity:null};return to[Y]&&(H.entity=to[Y]),V.CharacterMetadata.create(H)}));return tf=H,new V.ContentBlock({key:Object(V.genKey)(),type:tp&&tp.blocks[Y]&&tp.blocks[Y].type||"unstyled",depth:tp&&tp.blocks[Y]&&tp.blocks[Y].depth,data:tp&&tp.blocks[Y]&&tp.blocks[Y].data||new K.Map({}),text:R,characterList:ti})}),entityMap:td}}return null}}],r.c=to,r.d=function(R,Y,H){r.o(R,Y)||Object.defineProperty(R,Y,{enumerable:!0,get:H})},r.r=function(R){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(R,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(R,"__esModule",{value:!0})},r.t=function(R,Y){if(1&Y&&(R=r(R)),8&Y||4&Y&&"object"==typeof R&&R&&R.__esModule)return R;var H=Object.create(null);if(r.r(H),Object.defineProperty(H,"default",{enumerable:!0,value:R}),2&Y&&"string"!=typeof R)for(var V in R)r.d(H,V,(function(Y){return R[Y]}).bind(null,V));return H},r.n=function(R){var Y=R&&R.__esModule?function(){return R.default}:function(){return R};return r.d(Y,"a",Y),Y},r.o=function(R,Y){return Object.prototype.hasOwnProperty.call(R,Y)},r.p="",r(r.s=2))},function(R,Y,H){"use strict";function o(R){return Array.prototype.slice.call(arguments,1).forEach(function(Y){Y&&Object.keys(Y).forEach(function(H){R[H]=Y[H]})}),R}function s(R){return Object.prototype.toString.call(R)}function u(R){return"[object Function]"===s(R)}function p(R){return R.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var V={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},K={"http:":{validate:function(R,Y,H){var V=R.slice(Y);return H.re.http||(H.re.http=RegExp("^\\/\\/"+H.re.src_auth+H.re.src_host_port_strict+H.re.src_path,"i")),H.re.http.test(V)?V.match(H.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(R,Y,H){var V=R.slice(Y);return H.re.no_http||(H.re.no_http=RegExp("^"+H.re.src_auth+"(?:localhost|(?:(?:"+H.re.src_domain+")\\.)+"+H.re.src_domain_root+")"+H.re.src_port+H.re.src_host_terminator+H.re.src_path,"i")),H.re.no_http.test(V)?3<=Y&&":"===R[Y-3]?0:3<=Y&&"/"===R[Y-3]?0:V.match(H.re.no_http)[0].length:0}},"mailto:":{validate:function(R,Y,H){var V=R.slice(Y);return H.re.mailto||(H.re.mailto=RegExp("^"+H.re.src_email_name+"@"+H.re.src_host_strict,"i")),H.re.mailto.test(V)?V.match(H.re.mailto)[0].length:0}}},te="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|ÑÑ".split("|");function f(){return function(R,Y){Y.normalize(R)}}function a(R){var Y=R.re=H(21)(R.__opts__),V=R.__tlds__.slice();function n(R){return R.replace("%TLDS%",Y.src_tlds)}R.onCompile(),R.__tlds_replaced__||V.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),V.push(Y.src_xn),Y.src_tlds=V.join("|"),Y.email_fuzzy=RegExp(n(Y.tpl_email_fuzzy),"i"),Y.link_fuzzy=RegExp(n(Y.tpl_link_fuzzy),"i"),Y.link_no_ip_fuzzy=RegExp(n(Y.tpl_link_no_ip_fuzzy),"i"),Y.host_fuzzy_test=RegExp(n(Y.tpl_host_fuzzy_test),"i");var K=[];function c(R,Y){throw Error('(LinkifyIt) Invalid schema "'+R+'": '+Y)}R.__compiled__={},Object.keys(R.__schemas__).forEach(function(Y){var H=R.__schemas__[Y];if(null!==H){var V,te={validate:null,link:null};if(R.__compiled__[Y]=te,"[object Object]"===s(H))return"[object RegExp]"===s(H.validate)?te.validate=(V=H.validate,function(R,Y){var H=R.slice(Y);return V.test(H)?H.match(V)[0].length:0}):u(H.validate)?te.validate=H.validate:c(Y,H),void(u(H.normalize)?te.normalize=H.normalize:H.normalize?c(Y,H):te.normalize=f());"[object String]"!==s(H)?c(Y,H):K.push(Y)}}),K.forEach(function(Y){R.__compiled__[R.__schemas__[Y]]&&(R.__compiled__[Y].validate=R.__compiled__[R.__schemas__[Y]].validate,R.__compiled__[Y].normalize=R.__compiled__[R.__schemas__[Y]].normalize)}),R.__compiled__[""]={validate:null,normalize:f()};var te=Object.keys(R.__compiled__).filter(function(Y){return 0<Y.length&&R.__compiled__[Y]}).map(p).join("|");R.re.schema_test=RegExp("(^|(?!_)(?:[><ï½]|"+Y.src_ZPCc+"))("+te+")","i"),R.re.schema_search=RegExp("(^|(?!_)(?:[><ï½]|"+Y.src_ZPCc+"))("+te+")","ig"),R.re.pretest=RegExp("("+R.re.schema_test.source+")|("+R.re.host_fuzzy_test.source+")|@","i"),R.__index__=-1,R.__text_cache__=""}function y(R,Y){var H=R.__index__,V=R.__last_index__,K=R.__text_cache__.slice(H,V);this.schema=R.__schema__.toLowerCase(),this.index=H+Y,this.lastIndex=V+Y,this.raw=K,this.text=K,this.url=K}function m(R,Y){var H=new y(R,Y);return R.__compiled__[H.schema].normalize(H,R),H}function g(R,Y){if(!(this instanceof g))return new g(R,Y);Y||Object.keys(R||{}).reduce(function(R,Y){return R||V.hasOwnProperty(Y)},!1)&&(Y=R,R={}),this.__opts__=o({},V,Y),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=o({},K,R),this.__compiled__={},this.__tlds__=te,this.__tlds_replaced__=!1,this.re={},a(this)}g.prototype.add=function(R,Y){return this.__schemas__[R]=Y,a(this),this},g.prototype.set=function(R){return this.__opts__=o(this.__opts__,R),this},g.prototype.test=function(R){var Y,H,V,K,te,to,ti,tc;
vendor: 4,274 bytes, line 5
5if(this.__text_cache__=R,this.__index__=-1,!R.length)return!1;if(this.re.schema_test.test(R)){for((ti=this.re.schema_search).lastIndex=0;null!==(Y=ti.exec(R));)if(K=this.testSchemaAt(R,Y[2],ti.lastIndex)){this.__schema__=Y[2],this.__index__=Y.index+Y[1].length,this.__last_index__=Y.index+Y[0].length+K;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&0<=(tc=R.search(this.re.host_fuzzy_test))&&(this.__index__<0||tc<this.__index__)&&null!==(H=R.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(te=H.index+H[1].length,(this.__index__<0||te<this.__index__)&&(this.__schema__="",this.__index__=te,this.__last_index__=H.index+H[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&0<=R.indexOf("@")&&null!==(V=R.match(this.re.email_fuzzy))&&(te=V.index+V[1].length,to=V.index+V[0].length,(this.__index__<0||te<this.__index__||te===this.__index__&&to>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=te,this.__last_index__=to)),0<=this.__index__},g.prototype.pretest=function(R){return this.re.pretest.test(R)},g.prototype.testSchemaAt=function(R,Y,H){return this.__compiled__[Y.toLowerCase()]?this.__compiled__[Y.toLowerCase()].validate(R,H,this):0},g.prototype.match=function(R){var Y=0,H=[];0<=this.__index__&&this.__text_cache__===R&&(H.push(m(this,Y)),Y=this.__last_index__);for(var V=Y?R.slice(Y):R;this.test(V);)H.push(m(this,Y)),V=V.slice(this.__last_index__),Y+=this.__last_index__;return H.length?H:null},g.prototype.tlds=function(R,Y){return R=Array.isArray(R)?R:[R],Y?this.__tlds__=this.__tlds__.concat(R).sort().filter(function(R,Y,H){return R!==H[Y-1]}).reverse():(this.__tlds__=R.slice(),this.__tlds_replaced__=!0),a(this),this},g.prototype.normalize=function(R){R.schema||(R.url="http://"+R.url),"mailto:"!==R.schema||/^mailto:/i.test(R.url)||(R.url="mailto:"+R.url)},g.prototype.onCompile=function(){},R.exports=g},function(R,Y,H){R.exports=H(40)},function(R,Y,H){},function(R,Y,H){"use strict";var V=H(11);function o(){}function r(){}r.resetWarningCache=o,R.exports=function(){function t(R,Y,H,K,te,to){if(to!==V){var ti=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw ti.name="Invariant Violation",ti}}function e(){return t}var R={array:t.isRequired=t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:r,resetWarningCache:o};return R.PropTypes=R}},function(R,Y,H){"use strict";R.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(R,Y,H){},function(R,Y,H){},function(R,Y,H){},function(R,Y,H){},function(R,Y,H){},function(R,Y,H){},function(R,Y,H){},function(R,Y,H){},function(R,Y,H){},function(R,Y,H){"use strict";R.exports=function(R){var Y={};return Y.src_Any=H(22).source,Y.src_Cc=H(23).source,Y.src_Z=H(24).source,Y.src_P=H(25).source,Y.src_ZPCc=[Y.src_Z,Y.src_P,Y.src_Cc].join("|"),Y.src_ZCc=[Y.src_Z,Y.src_Cc].join("|"),Y.src_pseudo_letter="(?:(?![><ï½]|"+Y.src_ZPCc+")"+Y.src_Any+")",Y.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",Y.src_auth="(?:(?:(?!"+Y.src_ZCc+"|[@/\\[\\]()]).)+@)?",Y.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",Y.src_host_terminator="(?=$|[><ï½]|"+Y.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+Y.src_ZPCc+"))",Y.src_path="(?:[/?#](?:(?!"+Y.src_ZCc+"|[><ï½]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+Y.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+Y.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+Y.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+Y.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+Y.src_ZCc+"|[']).)+\\'|\\'(?="+Y.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+Y.src_ZCc+"|[.]).|"+(R&&R["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+Y.src_ZCc+").|\\!(?!"+Y.src_ZCc+"|[!]).|\\?(?!"+Y.src_ZCc+"|[?]).)+|\\/)?",Y.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',Y.src_xn="xn--[a-z0-9\\-]{1,59}",Y.src_domain_root="(?:"+Y.src_xn+"|"+Y.src_pseudo_letter+"{1,63})",Y.src_domain="(?:"+Y.src_xn+"|(?:"+Y.src_pseudo_letter+")|(?:"+Y.src_pseudo_letter+"(?:-|"+Y.src_pseudo_letter+"){0,61}
5"+Y.src_pseudo_letter+"))",Y.src_host="(?:(?:(?:(?:"+Y.src_domain+")\\.)*"+Y.src_domain+"))",Y.tpl_host_fuzzy="(?:"+Y.src_ip4+"|(?:(?:(?:"+Y.src_domain+")\\.)+(?:%TLDS%)))",Y.tpl_host_no_ip_fuzzy="(?:(?:(?:"+Y.src_domain+")\\.)+(?:%TLDS%))",Y.src_host_strict=Y.src_host+Y.src_host_terminator,Y.tpl_host_fuzzy_strict=Y.tpl_host_fuzzy+Y.src_host_terminator,Y.src_host_port_strict=Y.src_host+Y.src_port+Y.src_host_terminator,Y.tpl_host_port_fuzzy_strict=Y.tpl_host_fuzzy+Y.src_port+Y.src_host_terminator,Y.tpl_host_port_no_ip_fuzzy_strict=Y.tpl_host_no_ip_fuzzy+Y.src_port+Y.src_host_terminator,Y.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+Y.src_ZPCc+"|>|$))",Y.tpl_email_fuzzy='(^|[><ï½]|"|\\(|'+Y.src_ZCc+")("+Y.src_email_name+"@"+Y.tpl_host_fuzzy_strict+")",Y.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|ï½]|"+Y.src_ZPCc+"))((?![$+<=>^`|ï½])"+Y.tpl_host_port_fuzzy_strict+Y.src_path+")",Y.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|ï½]|"+Y.src_ZPCc+"))((?![$+<=>^`|ï½])"+Y.tpl_host_port_no_ip_fuzzy_strict+Y.src_path+")",Y}},function(R,Y){R.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(R,Y){R.exports=/[\0-\x1F\x7F-\x9F]/},function(R,Y){R.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(R,Y){R.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(R,Y,H){},function(R,Y,H){},function(R,Y,H){},function(R,Y,H){},function(R,Y,H){},function(R,Y,H){},function(R,Y,H){},function(R,Y,H){},function(R,Y,H){},function(R,Y,H){},function(R,Y,H){},function(R,Y,H){},function(R,Y,H){},function(R,Y,H){},function(R,Y,H){"use strict";H.r(Y),H.d(Y,"Editor",function(){return es});var V,K,te,to,ti,tc,ta=H(1),tl=H.n(ta),ts=H(0),tu=H.n(ts),tp=H(3),td=H(4),tf=H(2),ty=H.n(tf);function i(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V)}}var tm=(tg=function t(){var R=this;(function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")})(this,t),this.callBacks=[],this.suggestionCallback=void 0,this.editorFlag=!1,this.suggestionFlag=!1,this.closeAllModals=function(Y){R.callBacks.forEach(function(R){R(Y)})},this.init=function(Y){var H=document.getElementById(Y);H&&H.addEventListener("click",function(){R.editorFlag=!0}),document&&(document.addEventListener("click",function(){R.editorFlag?R.editorFlag=!1:(R.closeAllModals(),R.suggestionCallback&&R.suggestionCallback())}),document.addEventListener("keydown",function(Y){"Escape"===Y.key&&R.closeAllModals()}))},this.onEditorClick=function(){R.closeModals(),!R.suggestionFlag&&R.suggestionCallback?R.suggestionCallback():R.suggestionFlag=!1},this.closeModals=function(Y){R.closeAllModals(Y)},this.registerCallBack=function(Y){R.callBacks.push(Y)},this.deregisterCallBack=function(Y){R.callBacks=R.callBacks.filter(function(R){return R!==Y})},this.setSuggestionCallback=function(Y){R.suggestionCallback=Y},this.removeSuggestionCallback=function(){R.suggestionCallback=void 0},this.onSuggestionClick=function(){R.suggestionFlag=!0}},tb&&i(tg.prototype,tb),th&&i(tg,th),Object.defineProperty(tg,"prototype",{writable:!1}),tg);function l(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V
5)}}var tg,tb,th,tM,tj,tN,tE,tS=(tM=function t(){var R=this;(function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")})(this,t),this.inputFocused=!1,this.editorMouseDown=!1,this.onEditorMouseDown=function(){R.editorFocused=!0},this.onInputMouseDown=function(){R.inputFocused=!0},this.isEditorBlur=function(Y){return"INPUT"!==Y.target.tagName&&"LABEL"!==Y.target.tagName&&"TEXTAREA"!==Y.target.tagName||R.editorFocused?!("INPUT"===Y.target.tagName&&"LABEL"===Y.target.tagName&&"TEXTAREA"===Y.target.tagName||R.inputFocused)&&(R.editorFocused=!1,!0):(R.inputFocused=!1,!0)},this.isEditorFocused=function(){return!R.inputFocused||(R.inputFocused=!1)},this.isToolbarFocused=function(){return!R.editorFocused||(R.editorFocused=!1)},this.isInputFocused=function(){return R.inputFocused}},tj&&l(tM.prototype,tj),tN&&l(tM,tN),Object.defineProperty(tM,"prototype",{writable:!1}),tM),tv=[],tC={onKeyDown:function(R){tv.forEach(function(Y){Y(R)})},registerCallBack:function(R){tv.push(R)},deregisterCallBack:function(R){tv=tv.filter(function(Y){return Y!==R})}},m=function(){tE=!0},g=function(){tE=!1},b=function(){return tE};function L(R){var Y=R.getData()&&R.getData().get("text-align");return Y?"rdw-".concat(Y,"-aligned-block"):""}function h(R,Y){if(R)for(var H in R)({}).hasOwnProperty.call(R,H)&&Y(H,R[H])}function M(R,Y){var H=!1;if(R){for(var V in R)if(({}).hasOwnProperty.call(R,V)&&Y===V){H=!0;break}}return H}function j(R){R.stopPropagation()}function v(R){return R[R.options[0]].icon}function D(R,Y){if(R&&void 0===Y)return R;var H={};return h(R,function(R,V){"[object Object]"===Object.prototype.toString.call(V)?H[R]=D(V,Y[R]):H[R]=void 0!==Y[R]?Y[R]:V}),H}var tL=H(6),tD=H.n(tL),tk=H(5);function I(R){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function T(R,Y,H){return Y in R?Object.defineProperty(R,Y,{value:H,enumerable:!0,configurable:!0,writable:!0}):R[Y]=H,R}function A(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V)}}function z(R,Y){return(z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function P(R){return(P=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}H(9);var tx=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&z(R,Y)}(i,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=P(i);if(R){var V=P(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===I(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function i(){var R;!function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")}(this,i);for(var Y=arguments.length,H=Array(Y),K=0;K<Y;K++)H[K]=arguments[K];return(R=V.call.apply(V,[this].concat(H))).onClick=function(){var Y=R.props,H=Y.disabled,V=Y.onClick,K=Y.value;H||V(K)},R}return Y=[{key:"render",value:function(){var R,Y=this.props,H=Y.children,V=Y.className,K=Y.activeClassName,te=Y.active,to=Y.disabled,ti=Y.title;return tl.a.createElement("div",{className:ty()("rdw-option-wrapper",V,(T(R={},"rdw-option-active ".concat(K),te),T(R,"rdw-option-disabled",to),R)),onClick:this.onClick,"aria-selected":te,title:ti},H)}}],A(i.prototype,Y),H&&A(i,H),Object.defineProperty(i,"prototype",{writable:!1}),i}();function U(R){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function B(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V
5)}}function F(R,Y){return(F=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function Q(R){return(Q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}tx.propTypes={onClick:tu.a.func.isRequired,children:tu.a.any,value:tu.a.string,className:tu.a.string,activeClassName:tu.a.string,active:tu.a.bool,disabled:tu.a.bool,title:tu.a.string},tx.defaultProps={activeClassName:""},H(12);var tO=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&F(R,Y)}(i,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=Q(i);if(R){var V=Q(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===U(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function i(){var R;!function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")}(this,i);for(var Y=arguments.length,H=Array(Y),K=0;K<Y;K++)H[K]=arguments[K];return(R=V.call.apply(V,[this].concat(H))).state={highlighted:-1},R.onChange=function(Y){var H=R.props.onChange;H&&H(Y),R.toggleExpansion()},R.setHighlighted=function(Y){R.setState({highlighted:Y})},R.toggleExpansion=function(){var Y=R.props,H=Y.doExpand,V=Y.doCollapse;Y.expanded?V():H()},R}return Y=[{key:"componentDidUpdate",value:function(R){var Y=this.props.expanded;R.expanded&&!Y&&this.setState({highlighted:-1})}},{key:"render",value:function(){var R=this,Y=this.props,H=Y.expanded,V=Y.children,K=Y.className,te=Y.optionWrapperClassName,to=Y.ariaLabel,ti=Y.onExpandEvent,tc=Y.title,ta=this.state.highlighted,ts=V.slice(1,V.length);return tl.a.createElement("div",{className:ty()("rdw-dropdown-wrapper",K),"aria-expanded":H,"aria-label":to||"rdw-dropdown"},tl.a.createElement("a",{className:"rdw-dropdown-selectedtext",onClick:ti,title:tc},V[0],tl.a.createElement("div",{className:ty()({"rdw-dropdown-carettoclose":H,"rdw-dropdown-carettoopen":!H})})),H?tl.a.createElement("ul",{className:ty()("rdw-dropdown-optionwrapper",te),onClick:j},tl.a.Children.map(ts,function(Y,H){return Y&&tl.a.cloneElement(Y,{onSelect:R.onChange,highlighted:ta===H,setHighlighted:R.setHighlighted,index:H})})):void 0)}}],B(i.prototype,Y),H&&B(i,H),Object.defineProperty(i,"prototype",{writable:!1}),i}();function Z(R){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function W(R,Y,H){return Y in R?Object.defineProperty(R,Y,{value:H,enumerable:!0,configurable:!0,writable:!0}):R[Y]=H,R}function G(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V)}}function J(R,Y){return(J=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function q(R){return(q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}tO.propTypes={children:tu.a.any,onChange:tu.a.func,className:tu.a.string,expanded:tu.a.bool,doExpand:tu.a.func,doCollapse:tu.a.func,onExpandEvent:tu.a.func,optionWrapperClassName:tu.a.string,ariaLabel:tu.a.string,title:tu.a.string},H(13);var tw=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&J(R,Y)}(r,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=q(r);if(R){var V=q(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===Z(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function r(){var R;!function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")}(this,r);for(var Y=arguments.length,H=Array(Y),K=0;K<Y;K++)H[K]=arguments[K];return(R=V.call.apply(V,[this].concat(H))).onClick=function(Y){var H=R.props,V=H.onSelect,K=H.onClick,te=H.value;H.disabled||(V&&V(te),K&&(Y.stopPropagation(),K(te)))},R.setHighlighted=function(){var Y=R.props;(0,Y.setHighlighted)(Y.index)},R.resetHighlighted=function(){(0,R.props.setHighlighted)(-1)},R}return Y=[{key:"render",value:function(){var R,Y=this.props,H=Y.children,V=Y.active,K=Y.disabled,te=Y.highlighted,to=Y.className,ti=Y.activeClassName,tc=Y.disabledClassName,ta=Y.highlightedClassName,ts=Y.title;return tl.a.createElement("li",{className:ty()("rdw-dropdownoption-default",to,(W(R={},"rdw-dropdownoption-active ".concat(ti),V),W(R,"rdw-dropdownoption-highlighted ".concat(ta),te),W(R,"rdw-dropdownoption-disabled ".concat(tc),K),R)),onMouseEnter:this.setHighlighted,onMouseLeave:this.resetHighlighted,onClick:this.onClick,title:ts},H)}}],G(r.prototype,Y),H&&G(r,H),Object.defineProperty(r,"prototype",{writable:!1}),r}();function X(R){return(X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function $(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V
5)}}function tt(R,Y){return(tt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function nt(R){return(nt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}tw.propTypes={children:tu.a.any,value:tu.a.any,onClick:tu.a.func,onSelect:tu.a.func,setHighlighted:tu.a.func,index:tu.a.number,disabled:tu.a.bool,active:tu.a.bool,highlighted:tu.a.bool,className:tu.a.string,activeClassName:tu.a.string,disabledClassName:tu.a.string,highlightedClassName:tu.a.string,title:tu.a.string},tw.defaultProps={activeClassName:"",disabledClassName:"",highlightedClassName:""},H(14);var tI=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&tt(R,Y)}(r,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=nt(r);if(R){var V=nt(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===X(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function r(){return function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")}(this,r),V.apply(this,arguments)}return Y=[{key:"renderInFlatList",value:function(){var R=this.props,Y=R.config,H=R.currentState,V=R.onChange,K=R.translations;return tl.a.createElement("div",{className:ty()("rdw-inline-wrapper",Y.className),"aria-label":"rdw-inline-control"},Y.options.map(function(R,te){return tl.a.createElement(tx,{key:te,value:R,onClick:V,className:ty()(Y[R].className),active:!0===H[R]||"MONOSPACE"===R&&H.CODE,title:Y[R].title||K["components.controls.inline.".concat(R)]},tl.a.createElement("img",{alt:"",src:Y[R].icon}))}))}},{key:"renderInDropDown",value:function(){var R=this.props,Y=R.config,H=R.expanded,V=R.doExpand,K=R.onExpandEvent,te=R.doCollapse,to=R.currentState,ti=R.onChange,tc=R.translations,ta=Y.className,ts=Y.dropdownClassName,tu=Y.title;return tl.a.createElement(tO,{className:ty()("rdw-inline-dropdown",ta),optionWrapperClassName:ty()(ts),onChange:ti,expanded:H,doExpand:V,doCollapse:te,onExpandEvent:K,"aria-label":"rdw-inline-control",title:tu},tl.a.createElement("img",{src:v(Y),alt:""}),Y.options.map(function(R,H){return tl.a.createElement(tw,{key:H,value:R,className:ty()("rdw-inline-dropdownoption",Y[R].className),active:!0===to[R]||"MONOSPACE"===R&&to.CODE,title:Y[R].title||tc["components.controls.inline.".concat(R)]},tl.a.createElement("img",{src:Y[R].icon,alt:""}))}))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}],$(r.prototype,Y),H&&$(r,H),Object.defineProperty(r,"prototype",{writable:!1}),r}();function rt(R){return(rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function it(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V)}}function ct(R,Y){return(ct=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function lt(R){return(lt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}tI.propTypes={expanded:tu.a.bool,doExpand:tu.a.func,doCollapse:tu.a.func,onExpandEvent:tu.a.func,config:tu.a.object,onChange:tu.a.func,currentState:tu.a.object,translations:tu.a.object};var tT=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&ct(R,Y)}(i,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=lt(i);if(R){var V=lt(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===rt(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function i(R){(function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")})(this,i),(Y=V.call(this,R)).onExpandEvent=function(){Y.signalExpanded=!Y.state.expanded},Y.expandCollapse=function(){Y.setState({expanded:Y.signalExpanded}),Y.signalExpanded=!1},Y.toggleInlineStyle=function(R){var H="monospace"===R?"CODE":R.toUpperCase(),V=Y.props,K=V.editorState,te=V.onChange,to=tp.RichUtils.toggleInlineStyle(K,H);if("subscript"===R||"superscript"===R){var ti=tp.Modifier.removeInlineStyle(to.getCurrentContent(),to.getSelection(),"subscript"===R?"SUPERSCRIPT":"SUBSCRIPT");to=tp.EditorState.push(to,ti,"change-inline-style")}to&&te(to)},Y.changeKeys=function(R){if(R){var Y={};return h(R,function(R,H){Y["CODE"===R?"monospace":R.toLowerCase()]=H}),Y}},Y.doExpand=function(){Y.setState({expanded:!0})},Y.doCollapse=function(){Y.setState({expanded:!1})};var Y,H=Y.props,K=H.editorState,te=H.modalHandler;return Y.state={currentStyles:K?Y.changeKeys(Object(td.getSelectionInlineStyle)(K)):{}},te.registerCallBack(Y.expandCollapse),Y}return Y=[{key:"componentDidUpdate",value:function(R){var Y=this.props.editorState;Y&&Y!==R.editorState&&this.setState({currentStyles:this.changeKeys(Object(td.getSelectionInlineStyle)(Y))})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var R=this.props,Y=R.config,H=R.translations,V=this.state,K=V.expanded,te=V.currentStyles,to=Y.component||tI;return tl.a.createElement(to,{config:Y,translations:H,currentState:te,expanded:K,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.toggleInlineStyle})}}],it(i.prototype,Y),H&&it(i,H),Object.defineProperty(i,"prototype",{writable:!1}),i}();function ut(R){return(ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function pt(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V
5)}}function dt(R,Y){return(dt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function yt(R){return(yt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}tT.propTypes={onChange:tu.a.func.isRequired,editorState:tu.a.object.isRequired,modalHandler:tu.a.object,config:tu.a.object,translations:tu.a.object},H(15);var tA=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&dt(R,Y)}(r,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=yt(r);if(R){var V=yt(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===ut(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function r(R){var Y;return function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")}(this,r),(Y=V.call(this,R)).getBlockTypes=function(R){return[{label:"Normal",displayName:R["components.controls.blocktype.normal"]},{label:"H1",displayName:R["components.controls.blocktype.h1"]},{label:"H2",displayName:R["components.controls.blocktype.h2"]},{label:"H3",displayName:R["components.controls.blocktype.h3"]},{label:"H4",displayName:R["components.controls.blocktype.h4"]},{label:"H5",displayName:R["components.controls.blocktype.h5"]},{label:"H6",displayName:R["components.controls.blocktype.h6"]},{label:"Blockquote",displayName:R["components.controls.blocktype.blockquote"]},{label:"Code",displayName:R["components.controls.blocktype.code"]}]},Y.state={blockTypes:Y.getBlockTypes(R.translations)},Y}return Y=[{key:"componentDidUpdate",value:function(R){var Y=this.props.translations;Y!==R.translations&&this.setState({blockTypes:this.getBlockTypes(Y)})}},{key:"renderFlat",value:function(R){var Y=this.props,H=Y.config.className,V=Y.onChange,K=Y.currentState.blockType;return tl.a.createElement("div",{className:ty()("rdw-inline-wrapper",H)},R.map(function(R,Y){return tl.a.createElement(tx,{key:Y,value:R.label,active:K===R.label,onClick:V},R.displayName)}))}},{key:"renderInDropdown",value:function(R){var Y=this.props,H=Y.config,V=H.className,K=H.dropdownClassName,te=H.title,to=Y.currentState.blockType,ti=Y.expanded,tc=Y.doExpand,ta=Y.onExpandEvent,ts=Y.doCollapse,tu=Y.onChange,tp=Y.translations,td=this.state.blockTypes.filter(function(R){return R.label===to}),tf=td&&td[0]&&td[0].displayName;return tl.a.createElement("div",{className:"rdw-block-wrapper","aria-label":"rdw-block-control"},tl.a.createElement(tO,{className:ty()("rdw-block-dropdown",V),optionWrapperClassName:ty()(K),onChange:tu,expanded:ti,doExpand:tc,doCollapse:ts,onExpandEvent:ta,title:te||tp["components.controls.blocktype.blocktype"]},tl.a.createElement("span",null,tf||tp["components.controls.blocktype.blocktype"]),R.map(function(R,Y){return tl.a.createElement(tw,{active:to===R.label,value:R.label,key:Y},R.displayName)})))}},{key:"render",value:function(){var R=this.props.config,Y=R.inDropdown,H=this.state.blockTypes.filter(function(Y){var H=Y.label;return -1<R.options.indexOf(H)});return Y?this.renderInDropdown(H):this.renderFlat(H)}}],pt(r.prototype,Y),H&&pt(r,H),Object.defineProperty(r,"prototype",{writable:!1}),r}();function bt(R){return(bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function ht(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V
5)}}function Mt(R,Y){return(Mt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function vt(R){return(vt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}tA.propTypes={expanded:tu.a.bool,onExpandEvent:tu.a.func,doExpand:tu.a.func,doCollapse:tu.a.func,onChange:tu.a.func,config:tu.a.object,currentState:tu.a.object,translations:tu.a.object};var tz=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&Mt(R,Y)}(r,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=vt(r);if(R){var V=vt(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===bt(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function r(R){(function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")})(this,r),(Y=V.call(this,R)).onExpandEvent=function(){Y.signalExpanded=!Y.state.expanded},Y.expandCollapse=function(){Y.setState({expanded:Y.signalExpanded}),Y.signalExpanded=!1},Y.blocksTypes=[{label:"Normal",style:"unstyled"},{label:"H1",style:"header-one"},{label:"H2",style:"header-two"},{label:"H3",style:"header-three"},{label:"H4",style:"header-four"},{label:"H5",style:"header-five"},{label:"H6",style:"header-six"},{label:"Blockquote",style:"blockquote"},{label:"Code",style:"code"}],Y.doExpand=function(){Y.setState({expanded:!0})},Y.doCollapse=function(){Y.setState({expanded:!1})},Y.toggleBlockType=function(R){var H=Y.blocksTypes.find(function(Y){return Y.label===R}).style,V=Y.props,K=V.editorState,te=V.onChange,to=tp.RichUtils.toggleBlockType(K,H);to&&te(to)};var Y,H=R.editorState,K=R.modalHandler;return Y.state={expanded:!1,currentBlockType:H?Object(td.getSelectedBlocksType)(H):"unstyled"},K.registerCallBack(Y.expandCollapse),Y}return Y=[{key:"componentDidUpdate",value:function(R){var Y=this.props.editorState;Y&&Y!==R.editorState&&this.setState({currentBlockType:Object(td.getSelectedBlocksType)(Y)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var R=this.props,Y=R.config,H=R.translations,V=this.state,K=V.expanded,te=V.currentBlockType,to=Y.component||tA,ti=this.blocksTypes.find(function(R){return R.style===te});return tl.a.createElement(to,{config:Y,translations:H,currentState:{blockType:ti&&ti.label},onChange:this.toggleBlockType,expanded:K,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}],ht(r.prototype,Y),H&&ht(r,H),Object.defineProperty(r,"prototype",{writable:!1}),r}();function St(R){return(St="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function wt(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V)}}function Ct(R,Y){return(Ct=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function Dt(R){return(Dt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}tz.propTypes={onChange:tu.a.func.isRequired,editorState:tu.a.object,modalHandler:tu.a.object,config:tu.a.object,translations:tu.a.object},H(16);var t_=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}
5),Y&&Ct(R,Y)}(i,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=Dt(i);if(R){var V=Dt(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===St(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function i(){var R;!function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")}(this,i);for(var Y=arguments.length,H=Array(Y),K=0;K<Y;K++)H[K]=arguments[K];return(R=V.call.apply(V,[this].concat(H))).state={defaultFontSize:void 0},R}return Y=[{key:"componentDidMount",value:function(){var R=document.getElementsByClassName("DraftEditor-root");if(R&&0<R.length){var Y=window.getComputedStyle(R[0]).getPropertyValue("font-size");Y=Y.substring(0,Y.length-2),this.setState({defaultFontSize:Y})}}},{key:"render",value:function(){var R=this.props,Y=R.config,H=Y.icon,V=Y.className,K=Y.dropdownClassName,te=Y.options,to=Y.title,ti=R.onChange,tc=R.expanded,ta=R.doCollapse,ts=R.onExpandEvent,tu=R.doExpand,tp=R.translations,td=this.props.currentState.fontSize,tf=this.state.defaultFontSize;return tf=Number(tf),td=td||te&&0<=te.indexOf(tf)&&tf,tl.a.createElement("div",{className:"rdw-fontsize-wrapper","aria-label":"rdw-font-size-control"},tl.a.createElement(tO,{className:ty()("rdw-fontsize-dropdown",V),optionWrapperClassName:ty()(K),onChange:ti,expanded:tc,doExpand:tu,doCollapse:ta,onExpandEvent:ts,title:to||tp["components.controls.fontsize.fontsize"]},td?tl.a.createElement("span",null,td):tl.a.createElement("img",{src:H,alt:""}),te.map(function(R,Y){return tl.a.createElement(tw,{className:"rdw-fontsize-option",active:td===R,value:R,key:Y},R)})))}}],wt(i.prototype,Y),H&&wt(i,H),Object.defineProperty(i,"prototype",{writable:!1}),i}();function Ot(R){return(Ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function xt(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V)}}function It(R,Y){return(It=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function At(R){return(At=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}t_.propTypes={expanded:tu.a.bool,onExpandEvent:tu.a.func,doExpand:tu.a.func,doCollapse:tu.a.func,onChange:tu.a.func,config:tu.a.object,currentState:tu.a.object,translations:tu.a.object};var tP=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&It(R,Y)}(r,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=At(r);if(R){var V=At(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===Ot(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function r(R){(function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")})(this,r),(Y=V.call(this,R)).onExpandEvent=function(){Y.signalExpanded=!Y.state.expanded},Y.expandCollapse=function(){Y.setState({expanded:Y.signalExpanded}),Y.signalExpanded=!1},Y.doExpand=function(){Y.setState({expanded:!0})},Y.doCollapse=function(){Y.setState({expanded:!1})},Y.toggleFontSize=function(R){var H=Y.props,V=H.editorState,K=H.onChange,te=Object(td.toggleCustomInlineStyle)(V,"fontSize",R);te&&K(te)};var Y,H=R.editorState,K=R.modalHandler;return Y.state={expanded:void 0,currentFontSize:H?Object(td.getSelectionCustomInlineStyle)(H,["FONTSIZE"]).FONTSIZE:void 0},K.registerCallBack(Y.expandCollapse),Y}return Y=[{key:"componentDidUpdate",value:function(R){var Y=this.props.editorState;Y&&Y!==R.editorState&&this.setState({currentFontSize:Object(td.getSelectionCustomInlineStyle)(Y,["FONTSIZE"]).FONTSIZE})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var R=this.props,Y=R.config,H=R.translations,V=this.state,K=V.expanded,te=V.currentFontSize,to=Y.component||t_,ti=te&&Number(te.substring(9));return tl.a.createElement(to,{config:Y,translations:H,currentState:{fontSize:ti},onChange:this.toggleFontSize,expanded:K,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}],xt(r.prototype,Y),H&&xt(r,H),Object.defineProperty(r,"prototype",{writable:!1}),r}();function _t(R){return(_t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function Pt(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V
5)}}function Rt(R,Y){return(Rt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function Bt(R){return(Bt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}tP.propTypes={onChange:tu.a.func.isRequired,editorState:tu.a.object,modalHandler:tu.a.object,config:tu.a.object,translations:tu.a.object},H(17);var tR=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&Rt(R,Y)}(i,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=Bt(i);if(R){var V=Bt(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===_t(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function i(){var R;!function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")}(this,i);for(var Y=arguments.length,H=Array(Y),K=0;K<Y;K++)H[K]=arguments[K];return(R=V.call.apply(V,[this].concat(H))).state={defaultFontFamily:void 0},R}return Y=[{key:"componentDidMount",value:function(){var R=document.getElementsByClassName("DraftEditor-root");if(R&&0<R.length){var Y=window.getComputedStyle(R[0]).getPropertyValue("font-family");this.setState({defaultFontFamily:Y})}}},{key:"render",value:function(){var R=this.state.defaultFontFamily,Y=this.props,H=Y.config,V=H.className,K=H.dropdownClassName,te=H.options,to=H.title,ti=Y.translations,tc=Y.onChange,ta=Y.expanded,ts=Y.doCollapse,tu=Y.onExpandEvent,tp=Y.doExpand,td=this.props.currentState.fontFamily;return td=td||te&&R&&te.some(function(Y){return Y.toLowerCase()===R.toLowerCase()})&&R,tl.a.createElement("div",{className:"rdw-fontfamily-wrapper","aria-label":"rdw-font-family-control"},tl.a.createElement(tO,{className:ty()("rdw-fontfamily-dropdown",V),optionWrapperClassName:ty()("rdw-fontfamily-optionwrapper",K),onChange:tc,expanded:ta,doExpand:tp,doCollapse:ts,onExpandEvent:tu,title:to||ti["components.controls.fontfamily.fontfamily"]},tl.a.createElement("span",{className:"rdw-fontfamily-placeholder"},td||ti["components.controls.fontfamily.fontfamily"]),te.map(function(R,Y){return tl.a.createElement(tw,{active:td===R,value:R,key:Y},R)})))}}],Pt(i.prototype,Y),H&&Pt(i,H),Object.defineProperty(i,"prototype",{writable:!1}),i}();function Qt(R){return(Qt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function Ht(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V)}}function Zt(R,Y){return(Zt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function Gt(R){return(Gt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}tR.propTypes={expanded:tu.a.bool,onExpandEvent:tu.a.func,doExpand:tu.a.func,doCollapse:tu.a.func,onChange:tu.a.func,config:tu.a.object,currentState:tu.a.object,translations:tu.a.object};var tU=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&Zt(R,Y)}(r,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=Gt(r);if(R){var V=Gt(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===Qt(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});
5function r(R){(function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")})(this,r),(Y=V.call(this,R)).onExpandEvent=function(){Y.signalExpanded=!Y.state.expanded},Y.expandCollapse=function(){Y.setState({expanded:Y.signalExpanded}),Y.signalExpanded=!1},Y.doExpand=function(){Y.setState({expanded:!0})},Y.doCollapse=function(){Y.setState({expanded:!1})},Y.toggleFontFamily=function(R){var H=Y.props,V=H.editorState,K=H.onChange,te=Object(td.toggleCustomInlineStyle)(V,"fontFamily",R);te&&K(te)};var Y,H=R.editorState,K=R.modalHandler;return Y.state={expanded:void 0,currentFontFamily:H?Object(td.getSelectionCustomInlineStyle)(H,["FONTFAMILY"]).FONTFAMILY:void 0},K.registerCallBack(Y.expandCollapse),Y}return Y=[{key:"componentDidUpdate",value:function(R){var Y=this.props.editorState;Y&&Y!==R.editorState&&this.setState({currentFontFamily:Object(td.getSelectionCustomInlineStyle)(Y,["FONTFAMILY"]).FONTFAMILY})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var R=this.props,Y=R.config,H=R.translations,V=this.state,K=V.expanded,te=V.currentFontFamily,to=Y.component||tR,ti=te&&te.substring(11);return tl.a.createElement(to,{translations:H,config:Y,currentState:{fontFamily:ti},onChange:this.toggleFontFamily,expanded:K,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}],Ht(r.prototype,Y),H&&Ht(r,H),Object.defineProperty(r,"prototype",{writable:!1}),r}();function Vt(R){return(Vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function qt(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V)}}function Kt(R,Y){return(Kt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function $t(R){return($t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}tU.propTypes={onChange:tu.a.func.isRequired,editorState:tu.a.object,modalHandler:tu.a.object,config:tu.a.object,translations:tu.a.object},H(18);var tB=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&Kt(R,Y)}(i,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=$t(i);if(R){var V=$t(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===Vt(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function i(){var R;!function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")}(this,i);for(var Y=arguments.length,H=Array(Y),K=0;K<Y;K++)H[K]=arguments[K];return(R=V.call.apply(V,[this].concat(H))).options=["unordered","ordered","indent","outdent"],R.toggleBlockType=function(Y){(0,R.props.onChange)(Y)},R.indent=function(){(0,R.props.onChange)("indent")},R.outdent=function(){(0,R.props.onChange)("outdent")},R}return Y=[{key:"renderInFlatList",value:function(){var R=this.props,Y=R.config,H=R.currentState.listType,V=R.translations,K=R.indentDisabled,te=R.outdentDisabled,to=Y.options,ti=Y.unordered,tc=Y.ordered,ta=Y.indent,ts=Y.outdent,tu=Y.className;return tl.a.createElement("div",{className:ty()("rdw-list-wrapper",tu),"aria-label":"rdw-list-control"},0<=to.indexOf("unordered")&&tl.a.createElement(tx,{value:"unordered",onClick:this.toggleBlockType,className:ty()(ti.className),active:"unordered"===H,title:ti.title||V["components.c
5ontrols.list.unordered"]},tl.a.createElement("img",{src:ti.icon,alt:""})),0<=to.indexOf("ordered")&&tl.a.createElement(tx,{value:"ordered",onClick:this.toggleBlockType,className:ty()(tc.className),active:"ordered"===H,title:tc.title||V["components.controls.list.ordered"]},tl.a.createElement("img",{src:tc.icon,alt:""})),0<=to.indexOf("indent")&&tl.a.createElement(tx,{onClick:this.indent,disabled:K,className:ty()(ta.className),title:ta.title||V["components.controls.list.indent"]},tl.a.createElement("img",{src:ta.icon,alt:""})),0<=to.indexOf("outdent")&&tl.a.createElement(tx,{onClick:this.outdent,disabled:te,className:ty()(ts.className),title:ts.title||V["components.controls.list.outdent"]},tl.a.createElement("img",{src:ts.icon,alt:""})))}},{key:"renderInDropDown",value:function(){var R=this,Y=this.props,H=Y.config,V=Y.expanded,K=Y.doCollapse,te=Y.doExpand,to=Y.onExpandEvent,ti=Y.onChange,tc=Y.currentState.listType,ta=Y.translations,ts=H.options,tu=H.className,tp=H.dropdownClassName,td=H.title;return tl.a.createElement(tO,{className:ty()("rdw-list-dropdown",tu),optionWrapperClassName:ty()(tp),onChange:ti,expanded:V,doExpand:te,doCollapse:K,onExpandEvent:to,"aria-label":"rdw-list-control",title:td||ta["components.controls.list.list"]},tl.a.createElement("img",{src:v(H),alt:""}),this.options.filter(function(R){return 0<=ts.indexOf(R)}).map(function(Y,V){return tl.a.createElement(tw,{key:V,value:Y,disabled:R.props["".concat(Y,"Disabled")],className:ty()("rdw-list-dropdownOption",H[Y].className),active:tc===Y,title:H[Y].title||ta["components.controls.list.".concat(Y)]},tl.a.createElement("img",{src:H[Y].icon,alt:""}))}))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}],qt(i.prototype,Y),H&&qt(i,H),Object.defineProperty(i,"prototype",{writable:!1}),i}();function ee(R){return(ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function ne(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V)}}function oe(R,Y){return(oe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function ie(R){return(ie=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}tB.propTypes={expanded:tu.a.bool,doExpand:tu.a.func,doCollapse:tu.a.func,onExpandEvent:tu.a.func,config:tu.a.object,onChange:tu.a.func,currentState:tu.a.object,translations:tu.a.object,indentDisabled:tu.a.bool,outdentDisabled:tu.a.bool};var tF=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&oe(R,Y)}(c,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=ie(c);if(R){var V=ie(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===ee(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function c(R){(function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")})(this,c),(Y=V.call(this,R)).onExpandEvent=function(){Y.signalExpanded=!Y.state.expanded},Y.onChange=function(R){"unordered"===R?Y.toggleBlockType("unordered-list-item"):"ordered"===R?Y.toggleBlockType("ordered-list-item"):"indent"===R?Y.adjustDepth(1):Y.adjustDepth(-1)},Y.expandCollapse=function(){Y.setState({expanded:Y.signalExpanded}),Y.signalExpanded=!1},Y.doExpand=function(){Y.setState({expanded:!0})},Y.doCollapse=function(){Y.setState({expanded:!1})},Y.toggleBlockType=function(R){var H=Y.props,V=H.onChange,K=H.editorState,te=tp.RichUtils.toggleBlockType(K,R);te&&V(te)},Y.adjustDepth=function(R){var H=Y.props,V=H.onChange,K=H.editorState,te=Object(td.changeDepth)(K,R,4);te&&V(te)},Y.isIndentDisabled=function(){var R=Y.props.editorState,H=Y.state.currentBlock,V=Object(td.getBlockBeforeSelectedBlock)(R);return!V||!Object(td.isListBlock)(H)||V.get("type")!==H.get("type")||V.get("depth")<H.get("depth")},Y.isOutdentDisabled=function(){var R=Y.state.currentBlock;
5return!R||!Object(td.isListBlock)(R)||0>=R.get("depth")};var Y,H=Y.props,K=H.editorState,te=H.modalHandler;return Y.state={expanded:!1,currentBlock:K?Object(td.getSelectedBlock)(K):void 0},te.registerCallBack(Y.expandCollapse),Y}return Y=[{key:"componentDidUpdate",value:function(R){var Y=this.props.editorState;Y&&Y!==R.editorState&&this.setState({currentBlock:Object(td.getSelectedBlock)(Y)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var R,Y=this.props,H=Y.config,V=Y.translations,K=this.state,te=K.expanded,to=K.currentBlock,ti=H.component||tB;"unordered-list-item"===to.get("type")?R="unordered":"ordered-list-item"===to.get("type")&&(R="ordered");var tc=this.isIndentDisabled(),ta=this.isOutdentDisabled();return tl.a.createElement(ti,{config:H,translations:V,currentState:{listType:R},expanded:te,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.onChange,indentDisabled:tc,outdentDisabled:ta})}}],ne(c.prototype,Y),H&&ne(c,H),Object.defineProperty(c,"prototype",{writable:!1}),c}();function ae(R){return(ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function le(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V)}}function se(R,Y){return(se=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function pe(R){return(pe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}tF.propTypes={onChange:tu.a.func.isRequired,editorState:tu.a.object.isRequired,modalHandler:tu.a.object,config:tu.a.object,translations:tu.a.object},H(19);var tY=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&se(R,Y)}(r,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=pe(r);if(R){var V=pe(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===ae(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function r(){return function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")}(this,r),V.apply(this,arguments)}return Y=[{key:"renderInFlatList",value:function(){var R=this.props,Y=R.config,H=Y.options,V=Y.left,K=Y.center,te=Y.right,to=Y.justify,ti=Y.className,tc=R.onChange,ta=R.currentState.textAlignment,ts=R.translations;return tl.a.createElement("div",{className:ty()("rdw-text-align-wrapper",ti),"aria-label":"rdw-textalign-control"},0<=H.indexOf("left")&&tl.a.createElement(tx,{value:"left",className:ty()(V.className),active:"left"===ta,onClick:tc,title:V.title||ts["components.controls.textalign.left"]},tl.a.createElement("img",{src:V.icon,alt:""})),0<=H.indexOf("center")&&tl.a.createElement(tx,{value:"center",className:ty()(K.className),active:"center"===ta,onClick:tc,title:K.title||ts["components.controls.textalign.center"]},tl.a.createElement("img",{src:K.icon,alt:""})),0<=H.indexOf("right")&&tl.a.createElement(tx,{value:"right",className:ty()(te.className),active:"right"===ta,onClick:tc,title:te.title||ts["components.controls.textalign.right"]},tl.a.createElement("img",{src:te.icon,alt:""})),0<=H.indexOf("justify")&&tl.a.createElement(tx,{value:"justify",className:ty()(to.className),active:"justify"===ta,onClick:tc,title:to.title||ts["components.c
5ontrols.textalign.justify"]},tl.a.createElement("img",{src:to.icon,alt:""})))}},{key:"renderInDropDown",value:function(){var R=this.props,Y=R.config,H=R.expanded,V=R.doExpand,K=R.onExpandEvent,te=R.doCollapse,to=R.currentState.textAlignment,ti=R.onChange,tc=R.translations,ta=Y.options,ts=Y.left,tu=Y.center,tp=Y.right,td=Y.justify,tf=Y.className,tm=Y.dropdownClassName,tg=Y.title;return tl.a.createElement(tO,{className:ty()("rdw-text-align-dropdown",tf),optionWrapperClassName:ty()(tm),onChange:ti,expanded:H,doExpand:V,doCollapse:te,onExpandEvent:K,"aria-label":"rdw-textalign-control",title:tg||tc["components.controls.textalign.textalign"]},tl.a.createElement("img",{src:to&&Y[to]&&Y[to].icon||v(Y),alt:""}),0<=ta.indexOf("left")&&tl.a.createElement(tw,{value:"left",active:"left"===to,className:ty()("rdw-text-align-dropdownOption",ts.className),title:ts.title||tc["components.controls.textalign.left"]},tl.a.createElement("img",{src:ts.icon,alt:""})),0<=ta.indexOf("center")&&tl.a.createElement(tw,{value:"center",active:"center"===to,className:ty()("rdw-text-align-dropdownOption",tu.className),title:tu.title||tc["components.controls.textalign.center"]},tl.a.createElement("img",{src:tu.icon,alt:""})),0<=ta.indexOf("right")&&tl.a.createElement(tw,{value:"right",active:"right"===to,className:ty()("rdw-text-align-dropdownOption",tp.className),title:tp.title||tc["components.controls.textalign.right"]},tl.a.createElement("img",{src:tp.icon,alt:""})),0<=ta.indexOf("justify")&&tl.a.createElement(tw,{value:"justify",active:"justify"===to,className:ty()("rdw-text-align-dropdownOption",td.className),title:td.title||tc["components.controls.textalign.justify"]},tl.a.createElement("img",{src:td.icon,alt:""})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}],le(r.prototype,Y),H&&le(r,H),Object.defineProperty(r,"prototype",{writable:!1}),r}();function fe(R){return(fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function ye(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V)}}function me(R,Y){return(me=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function be(R){return(be=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}tY.propTypes={expanded:tu.a.bool,doExpand:tu.a.func,doCollapse:tu.a.func,onExpandEvent:tu.a.func,config:tu.a.object,onChange:tu.a.func,currentState:tu.a.object,translations:tu.a.object};var tQ=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&me(R,Y)}(i,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=be(i);if(R){var V=be(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===fe(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function i(R){(function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")})(this,i),(Y=V.call(this,R)).onExpandEvent=function(){Y.signalExpanded=!Y.state.expanded},Y.expandCollapse=function(){Y.setState({expanded:Y.signalExpanded}),Y.signalExpanded=!1},Y.doExpand=function(){Y.setState({expanded:!0})},Y.doCollapse=function(){Y.setState({expanded:!1})},Y.addBlockAlignmentData=function(R){var H=Y.props,V=H.editorState;(0,H.onChange)(Y.state.currentTextAlignment!==R?Object(td.setBlockData)(V,{"text-align":R}):Object(td.setBlockData)(V,{"text-align":void 0}))};var Y,H=Y.props.modalHandler;return Y.state={currentTextAlignment:void 0},H.registerCallBack(Y.expandCollapse),Y}return Y=[{key:"componentDidUpdate",value:function(R){var Y=this.props.editorState;Y!==R.editorState&&this.setState({currentTextAlignment:Object(td.getSelectedBlocksMetadata)(Y).get("text-align")})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var R=this.props,Y=R.config,H=R.translations,V=this.state,K=V.expanded,te=V.currentTextAlignment,to=Y.component||tY;return tl.a.createElement(to,{config:Y,translations:H,expanded:K,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{textAlignment:te},onChange:this.addBlockAlignmentData})}}],ye(i.prototype,Y),H&&ye(i,H),Object.defineProperty(i,"prototype",{writable:!1}),i}();function Me(R){return(Me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function je(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V
5)}}function ve(R,Y){return(ve=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function Ee(R){return(Ee=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}tQ.propTypes={editorState:tu.a.object.isRequired,onChange:tu.a.func.isRequired,modalHandler:tu.a.object,config:tu.a.object,translations:tu.a.object},H(20);var tH=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&ve(R,Y)}(r,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=Ee(r);if(R){var V=Ee(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===Me(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function r(){var R;!function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")}(this,r);for(var Y=arguments.length,H=Array(Y),K=0;K<Y;K++)H[K]=arguments[K];return(R=V.call.apply(V,[this].concat(H))).state={currentStyle:"color"},R.onChange=function(Y){(0,R.props.onChange)(R.state.currentStyle,Y)},R.setCurrentStyleColor=function(){R.setState({currentStyle:"color"})},R.setCurrentStyleBgcolor=function(){R.setState({currentStyle:"bgcolor"})},R.renderModal=function(){var Y=R.props,H=Y.config,V=H.popupClassName,K=H.colors,te=Y.currentState,to=te.color,ti=te.bgColor,tc=Y.translations,ta=R.state.currentStyle,ts="color"===ta?to:ti;return tl.a.createElement("div",{className:ty()("rdw-colorpicker-modal",V),onClick:j},tl.a.createElement("span",{className:"rdw-colorpicker-modal-header"},tl.a.createElement("span",{className:ty()("rdw-colorpicker-modal-style-label",{"rdw-colorpicker-modal-style-label-active":"color"===ta}),onClick:R.setCurrentStyleColor},tc["components.controls.colorpicker.text"]),tl.a.createElement("span",{className:ty()("rdw-colorpicker-modal-style-label",{"rdw-colorpicker-modal-style-label-active":"bgcolor"===ta}),onClick:R.setCurrentStyleBgcolor},tc["components.controls.colorpicker.background"])),tl.a.createElement("span",{className:"rdw-colorpicker-modal-options"},K.map(function(Y,H){return tl.a.createElement(tx,{value:Y,key:H,className:"rdw-colorpicker-option",activeClassName:"rdw-colorpicker-option-active",active:ts===Y,onClick:R.onChange},tl.a.createElement("span",{style:{backgroundColor:Y},className:"rdw-colorpicker-cube"}))})))},R}return Y=[{key:"componentDidUpdate",value:function(R){this.props.expanded&&!R.expanded&&this.setState({currentStyle:"color"})}},{key:"render",value:function(){var R=this.props,Y=R.config,H=Y.icon,V=Y.className,K=Y.title,te=R.expanded,to=R.onExpandEvent,ti=R.translations;return tl.a.createElement("div",{className:"rdw-colorpicker-wrapper","aria-haspopup":"true","aria-expanded":te,"aria-label":"rdw-color-picker",title:K||ti["components.controls.colorpicker.colorpicker"]},tl.a.createElement(tx,{onClick:to,className:ty()(V)},tl.a.createElement("img",{src:H,alt:""})),te?this.renderModal():void 0)}}],je(r.prototype,Y),H&&je(r,H),Object.defineProperty(r,"prototype",{writable:!1}),r}();function Ce(R){return(Ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function Le(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V)}}function De(R,Y){return(De=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function Oe(R){return(Oe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}tH.propTypes={expanded:tu.a.bool,onExpandEvent:tu.a.func,onChange:tu.a.func,config:tu.a.object,currentState:tu.a.object,translations:tu.a.object};var tZ=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&De(R,Y)}(i,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=Oe(i);if(R){var V=Oe(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===Ce(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function i(R){(function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")})(this,i),(Y=V.call(this,R)).state={expanded:!1,currentColor:void 0,currentBgColor:void 0},Y.onExpandEvent=function(){Y.signalExpanded=!Y.state.expanded},Y.expandCollapse=function(){Y.setState({expanded:Y.signalExpanded}),Y.signalExpanded=!1},Y.doExpand=function(){Y.setState({expanded:!0})},Y.doCollapse=function(){Y.setState({expanded:!1})},Y.toggleColor=function(R,H){var V=Y.props,K=V.editorState,te=V.onChange,to=Object(td.toggleCustomInlineStyle)(K,R,H);to&&te(to),Y.doCollapse()};var Y,H=R.editorState,K=R.modalHandler,te={expanded:!1,currentColor:void 0,currentBgColor:void 0};return H&&(te.currentColor=Object(td.getSelectionCustomInlineStyle)(H,["COLOR"]).COLOR,te.currentBgColor=Object(td.getSelectionCustomInlineStyle)(H,["BGCOLOR"]).BGCOLOR),Y.state=te,K.registerCallBack(Y.expandCollapse),Y}return Y=[{key:"componentDidUpdate",value:function(R){var Y=this.props.editorState;Y&&Y!==R.editorState&&this.setState({currentColor:Object(td.getSelectionCustomInlineStyle)(Y,["COLOR"]).COLOR,
5currentBgColor:Object(td.getSelectionCustomInlineStyle)(Y,["BGCOLOR"]).BGCOLOR})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var R=this.props,Y=R.config,H=R.translations,V=this.state,K=V.currentColor,te=V.currentBgColor,to=V.expanded,ti=Y.component||tH,tc=K&&K.substring(6),ta=te&&te.substring(8);return tl.a.createElement(ti,{config:Y,translations:H,onChange:this.toggleColor,expanded:to,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{color:tc,bgColor:ta}})}}],Le(i.prototype,Y),H&&Le(i,H),Object.defineProperty(i,"prototype",{writable:!1}),i}();tZ.propTypes={onChange:tu.a.func.isRequired,editorState:tu.a.object.isRequired,modalHandler:tu.a.object,config:tu.a.object,translations:tu.a.object};var tW=H(7),tG=H.n(tW);function ze(R){return(ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function _e(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V)}}function Pe(R,Y){return(Pe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function Ue(R){return(Ue=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}H(26);var tJ=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&Pe(R,Y)}(r,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=Ue(r);if(R){var V=Ue(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===ze(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function r(){var R;!function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")}(this,r);for(var Y=arguments.length,H=Array(Y),K=0;K<Y;K++)H[K]=arguments[K];return(R=V.call.apply(V,[this].concat(H))).state={showModal:!1,linkTarget:"",linkTitle:"",linkTargetOption:R.props.config.defaultTargetOption},R.removeLink=function(){(0,R.props.onChange)("unlink")},R.addLink=function(){var Y=R.props.onChange,H=R.state;Y("link",H.linkTitle,H.linkTarget,H.linkTargetOption)},R.updateValue=function(Y){var H,V,K;R.setState((H={},V="".concat(Y.target.name),K=Y.target.value,V in H?Object.defineProperty(H,V,{value:K,enumerable:!0,configurable:!0,writable:!0}):H[V]=K,H))},R.updateTargetOption=function(Y){R.setState({linkTargetOption:Y.target.checked?"_blank":"_self"})},R.hideModal=function(){R.setState({showModal:!1})},R.signalExpandShowModal=function(){var Y=R.props,H=Y.onExpandEvent,V=Y.currentState,K=V.link,te=V.selectionText,to=R.state.linkTargetOption;H(),R.setState({showModal:!0,linkTarget:K&&K.target||"",linkTargetOption:K&&K.targetOption||to,linkTitle:K&&K.title||te})},R.forceExpandAndShowModal=function(){var Y=R.props,H=Y.doExpand,V=Y.currentState,K=V.link,te=V.selectionText,to=R.state.linkTargetOption;H(),R.setState({showModal:!0,linkTarget:K&&K.target,linkTargetOption:K&&K.targetOption||to,linkTitle:K&&K.title||te})},R}return Y=[{key:"componentDidUpdate",value:function(R){R.expanded&&!this.props.expanded&&this.setState({showModal:!1,linkTarget:"",linkTitle:"",linkTargetOption:this.props.config.defaultTargetOption})}},{key:"renderAddLinkModal",value:function(){var R=this.props,Y=R.config.popupClassName,H=R.doCollapse,V=R.translations,K=this.state,te=K.linkTitle,to=K.linkTarget,ti=K.linkTargetOption;return tl.a.createElement("div",{className:ty()("rdw-link-modal",Y),onClick:j},tl.a.createElement("label",{className:"rdw-link-modal-label",htmlFor:"linkTitle"}
vendor: 4,296 bytes, line 5
5,V["components.controls.link.linkTitle"]),tl.a.createElement("input",{id:"linkTitle",className:"rdw-link-modal-input",onChange:this.updateValue,onBlur:this.updateValue,name:"linkTitle",value:te}),tl.a.createElement("label",{className:"rdw-link-modal-label",htmlFor:"linkTarget"},V["components.controls.link.linkTarget"]),tl.a.createElement("input",{id:"linkTarget",className:"rdw-link-modal-input",onChange:this.updateValue,onBlur:this.updateValue,name:"linkTarget",value:to}),tl.a.createElement("label",{className:"rdw-link-modal-target-option",htmlFor:"openLinkInNewWindow"},tl.a.createElement("input",{id:"openLinkInNewWindow",type:"checkbox",defaultChecked:"_blank"===ti,value:"_blank",onChange:this.updateTargetOption}),tl.a.createElement("span",null,V["components.controls.link.linkTargetOption"])),tl.a.createElement("span",{className:"rdw-link-modal-buttonsection"},tl.a.createElement("button",{className:"rdw-link-modal-btn",onClick:this.addLink,disabled:!to||!te},V["generic.add"]),tl.a.createElement("button",{className:"rdw-link-modal-btn",onClick:H},V["generic.cancel"])))}},{key:"renderInFlatList",value:function(){var R=this.props,Y=R.config,H=Y.options,V=Y.link,K=Y.unlink,te=Y.className,to=R.currentState,ti=R.expanded,tc=R.translations,ta=this.state.showModal;return tl.a.createElement("div",{className:ty()("rdw-link-wrapper",te),"aria-label":"rdw-link-control"},0<=H.indexOf("link")&&tl.a.createElement(tx,{value:"unordered-list-item",className:ty()(V.className),onClick:this.signalExpandShowModal,"aria-haspopup":"true","aria-expanded":ta,title:V.title||tc["components.controls.link.link"]},tl.a.createElement("img",{src:V.icon,alt:""})),0<=H.indexOf("unlink")&&tl.a.createElement(tx,{disabled:!to.link,value:"ordered-list-item",className:ty()(K.className),onClick:this.removeLink,title:K.title||tc["components.controls.link.unlink"]},tl.a.createElement("img",{src:K.icon,alt:""})),ti&&ta?this.renderAddLinkModal():void 0)}},{key:"renderInDropDown",value:function(){var R=this.props,Y=R.expanded,H=R.onExpandEvent,V=R.doCollapse,K=R.doExpand,te=R.onChange,to=R.config,ti=R.currentState,tc=R.translations,ta=to.options,ts=to.link,tu=to.unlink,tp=to.className,td=to.dropdownClassName,tf=to.title,tm=this.state.showModal;return tl.a.createElement("div",{className:"rdw-link-wrapper","aria-haspopup":"true","aria-label":"rdw-link-control","aria-expanded":Y,title:tf},tl.a.createElement(tO,{className:ty()("rdw-link-dropdown",tp),optionWrapperClassName:ty()(td),onChange:te,expanded:Y&&!tm,doExpand:K,doCollapse:V,onExpandEvent:H},tl.a.createElement("img",{src:v(to),alt:""}),0<=ta.indexOf("link")&&tl.a.createElement(tw,{onClick:this.forceExpandAndShowModal,className:ty()("rdw-link-dropdownoption",ts.className),title:ts.title||tc["components.controls.link.link"]},tl.a.createElement("img",{src:ts.icon,alt:""})),0<=ta.indexOf("unlink")&&tl.a.createElement(tw,{onClick:this.removeLink,disabled:!ti.link,className:ty()("rdw-link-dropdownoption",tu.className),title:tu.title||tc["components.controls.link.unlink"]},tl.a.createElement("img",{src:tu.icon,alt:""}))),Y&&tm?this.renderAddLinkModal():void 0)}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}],_e(r.prototype,Y),H&&_e(r,H),Object.defineProperty(r,"prototype",{writable:!1}),r}();function Ye(R){return(Ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function Qe(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V)}}function He(R,Y){return(He=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function We(R){return(We=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}function Ge(R,Y){var H=Object.keys(R);if(Object.getOwnPropertySymbols){var V=Object.getOwnPropertySymbols(R);Y&&(V=V.filter(function(Y){return Object.getOwnPropertyDescriptor(R,Y).enumerable})),H.push.apply(H,V)}return H}function Je(R){for(var Y=1;Y<arguments.length;Y++){var H=null!=arguments[Y]?arguments[Y]:{};
5Y%2?Ge(Object(H),!0).forEach(function(Y){var V;V=H[Y],Y in R?Object.defineProperty(R,Y,{value:V,enumerable:!0,configurable:!0,writable:!0}):R[Y]=V}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(H)):Ge(Object(H)).forEach(function(Y){Object.defineProperty(R,Y,Object.getOwnPropertyDescriptor(H,Y))})}return R}tJ.propTypes={expanded:tu.a.bool,doExpand:tu.a.func,doCollapse:tu.a.func,onExpandEvent:tu.a.func,config:tu.a.object,onChange:tu.a.func,currentState:tu.a.object,translations:tu.a.object};var tV=tG()(),tq=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&He(R,Y)}(i,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=We(i);if(R){var V=We(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===Ye(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function i(R){(function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")})(this,i),(Y=V.call(this,R)).onExpandEvent=function(){Y.signalExpanded=!Y.state.expanded},Y.onChange=function(R,H,V,K){var te=Y.props.config.linkCallback;if("link"===R){var to=(te||function(R){var Y=tV.match(R.target);return Je(Je({},R),{},{target:Y&&Y[0]&&Y[0].url||R.target})})({title:H,target:V,targetOption:K});Y.addLink(to.title,to.target,to.targetOption)}else Y.removeLink()},Y.getCurrentValues=function(){var R=Y.props.editorState,H=Y.state.currentEntity,V=R.getCurrentContent(),K={};if(H&&"LINK"===V.getEntity(H).get("type")){K.link={};var te=H&&Object(td.getEntityRange)(R,H);K.link.target=H&&V.getEntity(H).get("data").url,K.link.targetOption=H&&V.getEntity(H).get("data").targetOption,K.link.title=te&&te.text}return K.selectionText=Object(td.getSelectionText)(R),K},Y.doExpand=function(){Y.setState({expanded:!0})},Y.expandCollapse=function(){Y.setState({expanded:Y.signalExpanded}),Y.signalExpanded=!1},Y.doCollapse=function(){Y.setState({expanded:!1})},Y.removeLink=function(){var R=Y.props,H=R.editorState,V=R.onChange,K=Y.state.currentEntity,te=H.getSelection();if(K){var to=Object(td.getEntityRange)(H,K);te=te.getIsBackward()?te.merge({anchorOffset:to.end,focusOffset:to.start}):te.merge({anchorOffset:to.start,focusOffset:to.end}),V(tp.RichUtils.toggleLink(H,te,null))}},Y.addLink=function(R,H,V){var K=Y.props,te=K.editorState,to=K.onChange,ti=Y.state.currentEntity,tc=te.getSelection();if(ti){var ta=Object(td.getEntityRange)(te,ti);tc=tc.getIsBackward()?tc.merge({anchorOffset:ta.end,focusOffset:ta.start}):tc.merge({anchorOffset:ta.start,focusOffset:ta.end})}var tl=te.getCurrentContent().createEntity("LINK","MUTABLE",{url:H,targetOption:V}).getLastCreatedEntityKey(),ts=tp.Modifier.replaceText(te.getCurrentContent(),tc,"".concat(R),te.getCurrentInlineStyle(),tl),tu=tp.EditorState.push(te,ts,"insert-characters");tc=tu.getSelection().merge({anchorOffset:tc.get("anchorOffset")+R.length,focusOffset:tc.get("anchorOffset")+R.length}),tu=tp.EditorState.acceptSelection(tu,tc),ts=tp.Modifier.insertText(tu.getCurrentContent(),tc," ",tu.getCurrentInlineStyle(),void 0),to(tp.EditorState.push(tu,ts,"insert-characters")),Y.doCollapse()};var Y,H=Y.props,K=H.editorState,te=H.modalHandler;return Y.state={expanded:!1,link:void 0,selectionText:void 0,currentEntity:K?Object(td.getSelectionEntity)(K):void 0},te.registerCallBack(Y.expandCollapse),Y}return Y=[{key:"componentDidUpdate",value:function(R){var Y=this.props.editorState;Y&&Y!==R.editorState&&this.setState({currentEntity:Object(td.getSelectionEntity)(Y)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var R=this.props,Y=R.config,H=R.translations,V=this.state.expanded,K=this.getCurrentValues(),te=K.link,to=K.selectionText,ti=Y.component||tJ;return tl.a.createElement(ti,{config:Y,translations:H,expanded:V,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{link:te,selectionText:to},onChange:this.onChange})}}],Qe(i.prototype,Y),H&&Qe(i,H),Object.defineProperty(i,"prototype",{writable:!1}),i}();function tn(R){return(tn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function en(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V
5)}}function nn(R,Y){return(nn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function rn(R){return(rn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}tq.propTypes={editorState:tu.a.object.isRequired,onChange:tu.a.func.isRequired,modalHandler:tu.a.object,config:tu.a.object,translations:tu.a.object},H(27);var tK=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&nn(R,Y)}(i,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=rn(i);if(R){var V=rn(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===tn(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function i(){var R;!function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")}(this,i);for(var Y=arguments.length,H=Array(Y),K=0;K<Y;K++)H[K]=arguments[K];return(R=V.call.apply(V,[this].concat(H))).state={embeddedLink:"",height:R.props.config.defaultSize.height,width:R.props.config.defaultSize.width},R.onChange=function(){var Y=R.props.onChange,H=R.state;Y(H.embeddedLink,H.height,H.width)},R.updateValue=function(Y){var H,V,K;R.setState((H={},V="".concat(Y.target.name),K=Y.target.value,V in H?Object.defineProperty(H,V,{value:K,enumerable:!0,configurable:!0,writable:!0}):H[V]=K,H))},R}return Y=[{key:"componentDidUpdate",value:function(R){var Y=this.props,H=Y.expanded,V=Y.config;if(!H&&R.expanded){var K=V.defaultSize,te=K.height,to=K.width;this.setState({embeddedLink:"",height:te,width:to})}}},{key:"rendeEmbeddedLinkModal",value:function(){var R=this.state,Y=R.embeddedLink,H=R.height,V=R.width,K=this.props,te=K.config.popupClassName,to=K.doCollapse,ti=K.translations;return tl.a.createElement("div",{className:ty()("rdw-embedded-modal",te),onClick:j},tl.a.createElement("div",{className:"rdw-embedded-modal-header"},tl.a.createElement("span",{className:"rdw-embedded-modal-header-option"},ti["components.controls.embedded.embeddedlink"],tl.a.createElement("span",{className:"rdw-embedded-modal-header-label"}))),tl.a.createElement("div",{className:"rdw-embedded-modal-link-section"},tl.a.createElement("span",{className:"rdw-embedded-modal-link-input-wrapper"},tl.a.createElement("input",{className:"rdw-embedded-modal-link-input",placeholder:ti["components.controls.embedded.enterlink"],onChange:this.updateValue,onBlur:this.updateValue,value:Y,name:"embeddedLink"}),tl.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),tl.a.createElement("div",{className:"rdw-embedded-modal-size"},tl.a.createElement("span",null,tl.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:H,name:"height",className:"rdw-embedded-modal-size-input",placeholder:"Height"}),tl.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),tl.a.createElement("span",null,tl.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:V,name:"width",className:"rdw-embedded-modal-size-input",placeholder:"Width"}),tl.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")))),tl.a.createElement("span",{className:"rdw-embedded-modal-btn-section"},tl.a.createElement("button",{type:"button",className:"rdw-embedded-modal-btn",onClick:this.onChange,disabled:!Y||!H||!V},ti["generic.add"]),tl.a.createElement("button",{type:"button",className:"rdw-embedded-modal-btn",onClick:to},ti["generic.cancel"])))}},{key:"render",value:function(){var R=this.props,Y=R.config,H=Y.icon,V=Y.className,K=Y.title,te=R.expanded,to=R.onExpandEvent,ti=R.translations;return tl.a.createElement("div",{className:"rdw-embedded-wrapper","aria-haspopup":"true","aria-expanded":te,"aria-label":"rdw-embedded-control"},tl.a.createElement(tx,{className:ty()(V),value:"unordered-list-item",onClick:to,title:K||ti["components.c
5ontrols.embedded.embedded"]},tl.a.createElement("img",{src:H,alt:""})),te?this.rendeEmbeddedLinkModal():void 0)}}],en(i.prototype,Y),H&&en(i,H),Object.defineProperty(i,"prototype",{writable:!1}),i}();function ln(R){return(ln="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function sn(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V)}}function un(R,Y){return(un=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function dn(R){return(dn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}tK.propTypes={expanded:tu.a.bool,onExpandEvent:tu.a.func,onChange:tu.a.func,config:tu.a.object,translations:tu.a.object,doCollapse:tu.a.func};var tX=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&un(R,Y)}(r,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=dn(r);if(R){var V=dn(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===ln(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function r(){var R;!function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")}(this,r);for(var Y=arguments.length,H=Array(Y),K=0;K<Y;K++)H[K]=arguments[K];return(R=V.call.apply(V,[this].concat(H))).state={expanded:!1},R.onExpandEvent=function(){R.signalExpanded=!R.state.expanded},R.expandCollapse=function(){R.setState({expanded:R.signalExpanded}),R.signalExpanded=!1},R.doExpand=function(){R.setState({expanded:!0})},R.doCollapse=function(){R.setState({expanded:!1})},R.addEmbeddedLink=function(Y,H,V){var K=R.props,te=K.editorState,to=K.onChange,ti=K.config.embedCallback,tc=ti?ti(Y):Y,ta=te.getCurrentContent().createEntity("EMBEDDED_LINK","MUTABLE",{src:tc,height:H,width:V}).getLastCreatedEntityKey();to(tp.AtomicBlockUtils.insertAtomicBlock(te,ta," ")),R.doCollapse()},R}return Y=[{key:"componentDidMount",value:function(){this.props.modalHandler.registerCallBack(this.expandCollapse)}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var R=this.props,Y=R.config,H=R.translations,V=this.state.expanded,K=Y.component||tK;return tl.a.createElement(K,{config:Y,translations:H,onChange:this.addEmbeddedLink,expanded:V,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}],sn(r.prototype,Y),H&&sn(r,H),Object.defineProperty(r,"prototype",{writable:!1}),r}();function mn(R){return(mn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function gn(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V)}}function bn(R,Y){return(bn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function Mn(R){return(Mn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}tX.propTypes={editorState:tu.a.object.isRequired,onChange:tu.a.func.isRequired,modalHandler:tu.a.object,config:tu.a.object,translations:tu.a.object},H(28);var t$=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&bn(R,Y)}(i,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=Mn(i);if(R){var V=Mn(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===mn(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function i(){var R;!function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")}(this,i);for(var Y=arguments.length,H=Array(Y),K=0;K<Y;K++)H[K]=arguments[K];return(R=V.call.apply(V,[this].concat(H))).onChange=function(Y){(0,R.props.onChange)(Y.target.innerHTML)},R}return Y=[{key:"renderEmojiModal",value:function(){var R=this,Y=this.props.config,H=Y.popupClassName,V=Y.emojis;return tl.a.createElement("div",{className:ty()("rdw-emoji-modal",H),onClick:j},V.map(function(Y,H){return tl.a.createElement("span",{key:H,className:"rdw-emoji-icon",alt:"",onClick:R.onChange},Y)}))}},{key:"render",value:function(){var R=this.props,Y=R.config,H=Y.icon,V=Y.className,K=Y.title,te=R.expanded,to=R.onExpandEvent,ti=R.translations;return tl.a.createElement("div",{className:"rdw-emoji-wrapper","aria-haspopup":"true","aria-label":"rdw-emoji-control","aria-expanded":te,title:K||ti["components.c
5ontrols.emoji.emoji"]},tl.a.createElement(tx,{className:ty()(V),value:"unordered-list-item",onClick:to},tl.a.createElement("img",{src:H,alt:""})),te?this.renderEmojiModal():void 0)}}],gn(i.prototype,Y),H&&gn(i,H),Object.defineProperty(i,"prototype",{writable:!1}),i}();function Nn(R){return(Nn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function En(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V)}}function Sn(R,Y){return(Sn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function Cn(R){return(Cn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}t$.propTypes={expanded:tu.a.bool,onExpandEvent:tu.a.func,onChange:tu.a.func,config:tu.a.object,translations:tu.a.object};var t0=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&Sn(R,Y)}(r,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=Cn(r);if(R){var V=Cn(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===Nn(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function r(){var R;!function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")}(this,r);for(var Y=arguments.length,H=Array(Y),K=0;K<Y;K++)H[K]=arguments[K];return(R=V.call.apply(V,[this].concat(H))).state={expanded:!1},R.onExpandEvent=function(){R.signalExpanded=!R.state.expanded},R.expandCollapse=function(){R.setState({expanded:R.signalExpanded}),R.signalExpanded=!1},R.doExpand=function(){R.setState({expanded:!0})},R.doCollapse=function(){R.setState({expanded:!1})},R.addEmoji=function(Y){var H=R.props,V=H.editorState,K=H.onChange,te=tp.Modifier.replaceText(V.getCurrentContent(),V.getSelection(),Y,V.getCurrentInlineStyle());K(tp.EditorState.push(V,te,"insert-characters")),R.doCollapse()},R}return Y=[{key:"componentDidMount",value:function(){this.props.modalHandler.registerCallBack(this.expandCollapse)}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var R=this.props,Y=R.config,H=R.translations,V=this.state.expanded,K=Y.component||t$;return tl.a.createElement(K,{config:Y,translations:H,onChange:this.addEmoji,expanded:V,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onCollpase:this.closeModal})}}],En(r.prototype,Y),H&&En(r,H),Object.defineProperty(r,"prototype",{writable:!1}),r}();function Dn(){return tl.a.createElement("div",{className:"rdw-spinner"},tl.a.createElement("div",{className:"rdw-bounce1"}),tl.a.createElement("div",{className:"rdw-bounce2"}),tl.a.createElement("div",{className:"rdw-bounce3"}))}function kn(R){return(kn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function On(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V)}}function xn(R,Y){return(xn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}
5function Tn(R){return(Tn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}t0.propTypes={editorState:tu.a.object.isRequired,onChange:tu.a.func.isRequired,modalHandler:tu.a.object,config:tu.a.object,translations:tu.a.object},H(29),H(30);var t4=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&xn(R,Y)}(r,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=Tn(r);if(R){var V=Tn(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===kn(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function r(){var R;!function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")}(this,r);for(var Y=arguments.length,H=Array(Y),K=0;K<Y;K++)H[K]=arguments[K];return(R=V.call.apply(V,[this].concat(H))).state={imgSrc:"",dragEnter:!1,uploadHighlighted:R.props.config.uploadEnabled&&!!R.props.config.uploadCallback,showImageLoading:!1,height:R.props.config.defaultSize.height,width:R.props.config.defaultSize.width,alt:""},R.onDragEnter=function(Y){R.stopPropagation(Y),R.setState({dragEnter:!0})},R.onImageDrop=function(Y){var H,V;Y.preventDefault(),Y.stopPropagation(),R.setState({dragEnter:!1}),V=Y.dataTransfer.items?(H=Y.dataTransfer.items,!0):(H=Y.dataTransfer.files,!1);for(var K=0;K<H.length;K+=1)if((!V||"file"===H[K].kind)&&H[K].type.match("^image/")){var te=V?H[K].getAsFile():H[K];R.uploadImage(te)}},R.showImageUploadOption=function(){R.setState({uploadHighlighted:!0})},R.addImageFromState=function(){var Y=R.state,H=Y.imgSrc,V=Y.alt,K=R.state,te=K.height,to=K.width,ti=R.props.onChange;isNaN(te)||(te+="px"),isNaN(to)||(to+="px"),ti(H,te,to,V)},R.showImageURLOption=function(){R.setState({uploadHighlighted:!1})},R.toggleShowImageLoading=function(){var Y=!R.state.showImageLoading;R.setState({showImageLoading:Y})},R.updateValue=function(Y){var H,V,K;R.setState((H={},V="".concat(Y.target.name),K=Y.target.value,V in H?Object.defineProperty(H,V,{value:K,enumerable:!0,configurable:!0,writable:!0}):H[V]=K,H))},R.selectImage=function(Y){Y.target.files&&0<Y.target.files.length&&R.uploadImage(Y.target.files[0])},R.uploadImage=function(Y){R.toggleShowImageLoading(),(0,R.props.config.uploadCallback)(Y).then(function(Y){var H=Y.data;R.setState({showImageLoading:!1,dragEnter:!1,imgSrc:H.link||H.url}),R.fileUpload=!1}).catch(function(){R.setState({showImageLoading:!1,dragEnter:!1})})},R.fileUploadClick=function(Y){R.fileUpload=!0,Y.stopPropagation()},R.stopPropagation=function(Y){R.fileUpload?R.fileUpload=!1:(Y.preventDefault(),Y.stopPropagation())},R}return Y=[{key:"componentDidUpdate",value:function(R){var Y=this.props.config;R.expanded&&!this.props.expanded?this.setState({imgSrc:"",dragEnter:!1,uploadHighlighted:Y.uploadEnabled&&!!Y.uploadCallback,showImageLoading:!1,height:Y.defaultSize.height,width:Y.defaultSize.width,alt:""}):Y.uploadCallback===R.config.uploadCallback&&Y.uploadEnabled===R.config.uploadEnabled||this.setState({uploadHighlighted:Y.uploadEnabled&&!!Y.uploadCallback})}},{key:"renderAddImageModal",value:function(){var R=this.state,Y=R.imgSrc,H=R.uploadHighlighted,V=R.showImageLoading,K=R.dragEnter,te=R.height,to=R.width,ti=R.alt,tc=this.props,ta=tc.config,ts=ta.popupClassName,tu=ta.uploadCallback,tp=ta.uploadEnabled,td=ta.urlEnabled,tf=ta.previewImage,tm=ta.inputAccept,tg=ta.alt,tb=tc.doCollapse,th=tc.translations;return tl.a.createElement("div",{className:ty()("rdw-image-modal",ts),onClick:this.stopPropagation},tl.a.createElement("div",{className:"rdw-image-modal-header"},tp&&tu&&tl.a.createElement("span",{onClick:this.showImageUploadOption,className:"rdw-image-modal-header-option"}
5,th["components.controls.image.fileUpload"],tl.a.createElement("span",{className:ty()("rdw-image-modal-header-label",{"rdw-image-modal-header-label-highlighted":H})})),td&&tl.a.createElement("span",{onClick:this.showImageURLOption,className:"rdw-image-modal-header-option"},th["components.controls.image.byURL"],tl.a.createElement("span",{className:ty()("rdw-image-modal-header-label",{"rdw-image-modal-header-label-highlighted":!H})}))),H?tl.a.createElement("div",{onClick:this.fileUploadClick},tl.a.createElement("div",{onDragEnter:this.onDragEnter,onDragOver:this.stopPropagation,onDrop:this.onImageDrop,className:ty()("rdw-image-modal-upload-option",{"rdw-image-modal-upload-option-highlighted":K})},tl.a.createElement("label",{htmlFor:"file",className:"rdw-image-modal-upload-option-label"},tf&&Y?tl.a.createElement("img",{src:Y,alt:Y,className:"rdw-image-modal-upload-option-image-preview"}):Y||th["components.controls.image.dropFileText"])),tl.a.createElement("input",{type:"file",id:"file",accept:tm,onChange:this.selectImage,className:"rdw-image-modal-upload-option-input"})):tl.a.createElement("div",{className:"rdw-image-modal-url-section"},tl.a.createElement("input",{className:"rdw-image-modal-url-input",placeholder:th["components.controls.image.enterlink"],name:"imgSrc",onChange:this.updateValue,onBlur:this.updateValue,value:Y}),tl.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),tg.present&&tl.a.createElement("div",{className:"rdw-image-modal-size"},tl.a.createElement("span",{className:"rdw-image-modal-alt-lbl"},"Alt Text"),tl.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:ti,name:"alt",className:"rdw-image-modal-alt-input",placeholder:"alt"}),tl.a.createElement("span",{className:"rdw-image-mandatory-sign"},tg.mandatory&&"*")),tl.a.createElement("div",{className:"rdw-image-modal-size"},"â\xa0",tl.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:te,name:"height",className:"rdw-image-modal-size-input",placeholder:"Height"}),tl.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*"),"\xa0â\xa0",tl.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:to,name:"width",className:"rdw-image-modal-size-input",placeholder:"Width"}),tl.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),tl.a.createElement("span",{className:"rdw-image-modal-btn-section"},tl.a.createElement("button",{className:"rdw-image-modal-btn",onClick:this.addImageFromState,disabled:!Y||!te||!to||tg.mandatory&&!ti},th["generic.add"]),tl.a.createElement("button",{className:"rdw-image-modal-btn",onClick:tb},th["generic.cancel"])),V?tl.a.createElement("div",{className:"rdw-image-modal-spinner"},tl.a.createElement(Dn,null)):void 0)}},{key:"render",value:function(){var R=this.props,Y=R.config,H=Y.icon,V=Y.className,K=Y.title,te=R.expanded,to=R.onExpandEvent,ti=R.translations;return tl.a.createElement("div",{className:"rdw-image-wrapper","aria-haspopup":"true","aria-expanded":te,"aria-label":"rdw-image-control"},tl.a.createElement(tx,{className:ty()(V),value:"unordered-list-item",onClick:to,title:K||ti["components.controls.image.image"]},tl.a.createElement("img",{src:H,alt:""})),te?this.renderAddImageModal():void 0)}}],On(r.prototype,Y),H&&On(r,H),Object.defineProperty(r,"prototype",{writable:!1}),r}();function _n(R){return(_n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function Pn(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V)}}function Rn(R,Y){return(Rn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function Bn(R){return(Bn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}t4.propTypes={expanded:tu.a.bool,onExpandEvent:tu.a.func,doCollapse:tu.a.func,onChange:tu.a.func,config:tu.a.object,translations:tu.a.object};var t1=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&Rn(R,Y)}(r,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=Bn(r);if(R){var V=Bn(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===_n(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});
5function r(R){(function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")})(this,r),(Y=V.call(this,R)).onExpandEvent=function(){Y.signalExpanded=!Y.state.expanded},Y.doExpand=function(){Y.setState({expanded:!0})},Y.doCollapse=function(){Y.setState({expanded:!1})},Y.expandCollapse=function(){Y.setState({expanded:Y.signalExpanded}),Y.signalExpanded=!1},Y.addImage=function(R,H,V,K){var te=Y.props,to=te.editorState,ti=te.onChange,tc={src:R,height:H,width:V};te.config.alt.present&&(tc.alt=K);var ta=to.getCurrentContent().createEntity("IMAGE","MUTABLE",tc).getLastCreatedEntityKey();ti(tp.AtomicBlockUtils.insertAtomicBlock(to,ta," ")),Y.doCollapse()};var Y,H=Y.props.modalHandler;return Y.state={expanded:!1},H.registerCallBack(Y.expandCollapse),Y}return Y=[{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var R=this.props,Y=R.config,H=R.translations,V=this.state.expanded,K=Y.component||t4;return tl.a.createElement(K,{config:Y,translations:H,onChange:this.addImage,expanded:V,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}],Pn(r.prototype,Y),H&&Pn(r,H),Object.defineProperty(r,"prototype",{writable:!1}),r}();function Yn(R){var Y=R.config,H=R.onChange,V=R.translations,K=Y.icon,te=Y.className,to=Y.title;return tl.a.createElement("div",{className:"rdw-remove-wrapper","aria-label":"rdw-remove-control"},tl.a.createElement(tx,{className:ty()(te),onClick:H,title:to||V["components.controls.remove.remove"]},tl.a.createElement("img",{src:K,alt:""})))}function Zn(R){return(Zn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function Wn(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V)}}function Gn(R,Y){return(Gn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function Vn(R){return(Vn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}t1.propTypes={editorState:tu.a.object.isRequired,onChange:tu.a.func.isRequired,modalHandler:tu.a.object,config:tu.a.object,translations:tu.a.object},H(31),Yn.propTypes={onChange:tu.a.func,config:tu.a.object,translations:tu.a.object};var t2=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&Gn(R,Y)}(i,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=Vn(i);if(R){var V=Vn(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===Zn(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function i(){var R;!function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")}(this,i);for(var Y=arguments.length,H=Array(Y),K=0;K<Y;K++)H[K]=arguments[K];return(R=V.call.apply(V,[this].concat(H))).state={expanded:!1},R.onExpandEvent=function(){R.signalExpanded=!R.state.expanded},R.expandCollapse=function(){R.setState({expanded:R.signalExpanded}),R.signalExpanded=!1},R.removeInlineStyles=function(){var Y=R.props,H=Y.editorState;(0,Y.onChange)(R.removeAllInlineStyles(H))},R.removeAllInlineStyles=function(R){var Y=R.getCurrentContent();return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","MONOSPACE","SUPERSCRIPT","SUBSCRIPT"].forEach(function(H){Y=tp.Modifier.removeInlineStyle(Y,R.getSelection(),H)}),h(Object(td.getSelectionCustomInlineStyle)(R,["FONTSIZE","FONTFAMILY","COLOR","BGCOLOR"]),function(H,V){V&&(Y=tp.Modifier.removeInlineStyle(Y,R.getSelection(),V))}),tp.EditorState.push(R,Y,"change-inline-style")},R.doExpand=function(){R.setState({expanded:!0})},R.doCollapse=function(){R.setState({expanded:!1})},R}return Y=[{key:"componentDidMount",value:function(){this.props.modalHandler.registerCallBack(this.expandCollapse)}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var R=this.props,Y=R.config,H=R.translations,V=this.state.expanded,K=Y.component||Yn;return tl.a.createElement(K,{config:Y,translations:H,expanded:V,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.removeInlineStyles})}}],Wn(i.prototype,Y),H&&Wn(i,H),Object.defineProperty(i,"prototype",{writable:!1}),i}();function Kn(R){return(Kn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function Xn(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V
5)}}function $n(R,Y){return($n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function eo(R){return(eo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}t2.propTypes={onChange:tu.a.func.isRequired,editorState:tu.a.object.isRequired,config:tu.a.object,translations:tu.a.object,modalHandler:tu.a.object},H(32);var t3=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&$n(R,Y)}(i,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=eo(i);if(R){var V=eo(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===Kn(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function i(){var R;!function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")}(this,i);for(var Y=arguments.length,H=Array(Y),K=0;K<Y;K++)H[K]=arguments[K];return(R=V.call.apply(V,[this].concat(H))).onChange=function(Y){(0,R.props.onChange)(Y)},R}return Y=[{key:"renderInDropDown",value:function(){var R=this.props,Y=R.config,H=R.expanded,V=R.doExpand,K=R.onExpandEvent,te=R.doCollapse,to=R.currentState,ti=to.undoDisabled,tc=to.redoDisabled,ta=R.translations,ts=Y.options,tu=Y.undo,tp=Y.redo,td=Y.className,tf=Y.dropdownClassName,tm=Y.title;return tl.a.createElement(tO,{className:ty()("rdw-history-dropdown",td),optionWrapperClassName:ty()(tf),expanded:H,doExpand:V,doCollapse:te,onExpandEvent:K,"aria-label":"rdw-history-control",title:tm||ta["components.controls.history.history"]},tl.a.createElement("img",{src:v(Y),alt:""}),0<=ts.indexOf("undo")&&tl.a.createElement(tw,{value:"undo",onClick:this.onChange,disabled:ti,className:ty()("rdw-history-dropdownoption",tu.className),title:tu.title||ta["components.controls.history.undo"]},tl.a.createElement("img",{src:tu.icon,alt:""})),0<=ts.indexOf("redo")&&tl.a.createElement(tw,{value:"redo",onClick:this.onChange,disabled:tc,className:ty()("rdw-history-dropdownoption",tp.className),title:tp.title||ta["components.controls.history.redo"]},tl.a.createElement("img",{src:tp.icon,alt:""})))}},{key:"renderInFlatList",value:function(){var R=this.props,Y=R.config,H=Y.options,V=Y.undo,K=Y.redo,te=Y.className,to=R.currentState,ti=to.undoDisabled,tc=to.redoDisabled,ta=R.translations;return tl.a.createElement("div",{className:ty()("rdw-history-wrapper",te),"aria-label":"rdw-history-control"},0<=H.indexOf("undo")&&tl.a.createElement(tx,{value:"undo",onClick:this.onChange,className:ty()(V.className),disabled:ti,title:V.title||ta["components.controls.history.undo"]},tl.a.createElement("img",{src:V.icon,alt:""})),0<=H.indexOf("redo")&&tl.a.createElement(tx,{value:"redo",onClick:this.onChange,className:ty()(K.className),disabled:tc,title:K.title||ta["components.controls.history.redo"]},tl.a.createElement("img",{src:K.icon,alt:""})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}],Xn(i.prototype,Y),H&&Xn(i,H),Object.defineProperty(i,"prototype",{writable:!1}),i}();function oo(R){return(oo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function ro(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V
5)}}function io(R,Y){return(io=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function ao(R){return(ao=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}t3.propTypes={expanded:tu.a.bool,doExpand:tu.a.func,doCollapse:tu.a.func,onExpandEvent:tu.a.func,config:tu.a.object,onChange:tu.a.func,currentState:tu.a.object,translations:tu.a.object};var t5=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&io(R,Y)}(c,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=ao(c);if(R){var V=ao(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===oo(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function c(R){(function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")})(this,c),(Y=V.call(this,R)).onExpandEvent=function(){Y.signalExpanded=!Y.state.expanded},Y.onChange=function(R){var H=Y.props,V=H.editorState,K=H.onChange,te=tp.EditorState[R](V);te&&K(te)},Y.doExpand=function(){Y.setState({expanded:!0})},Y.doCollapse=function(){Y.setState({expanded:!1})};var Y,H={expanded:(Y.expandCollapse=function(){Y.setState({expanded:Y.signalExpanded}),Y.signalExpanded=!1},!1),undoDisabled:!1,redoDisabled:!1},K=R.editorState,te=R.modalHandler;return K&&(H.undoDisabled=0===K.getUndoStack().size,H.redoDisabled=0===K.getRedoStack().size),Y.state=H,te.registerCallBack(Y.expandCollapse),Y}return Y=[{key:"componentDidUpdate",value:function(R){var Y=this.props.editorState;Y&&R.editorState!==Y&&this.setState({undoDisabled:0===Y.getUndoStack().size,redoDisabled:0===Y.getRedoStack().size})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var R=this.props,Y=R.config,H=R.translations,V=this.state,K=V.undoDisabled,te=V.redoDisabled,to=V.expanded,ti=Y.component||t3;return tl.a.createElement(ti,{config:Y,translations:H,currentState:{undoDisabled:K,redoDisabled:te},expanded:to,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.onChange})}}],ro(c.prototype,Y),H&&ro(c,H),Object.defineProperty(c,"prototype",{writable:!1}),c}();t5.propTypes={onChange:tu.a.func.isRequired,editorState:tu.a.object,modalHandler:tu.a.object,config:tu.a.object,translations:tu.a.object};var t6={inline:tT,blockType:tz,fontSize:tP,fontFamily:tU,list:tF,textAlign:tQ,colorPicker:tZ,link:tq,embedded:tX,emoji:t0,image:t1,remove:t2,history:t5},t8=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,t9=/^(?:(?:https?|ftps?|mailto):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))/i;function fo(R){return String(R).replace(t8,"").match(t9)?R:"#"}function yo(R){return(yo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function mo(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V)}}function go(R,Y){return(go=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function ho(R){return(ho=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}function Mo(R,Y,H){R.findEntityRanges(function(R){var Y=R.getEntity();return null!==Y&&"LINK"===H.getEntity(Y).getType()},Y)}function vo(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V
5)}}H(33),H(34);var t7=(V=function t(R){var Y=this;(function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")})(this,t),this.getMentionComponent=function(){function t(Y){var H=Y.entityKey,V=Y.children,K=Y.contentState.getEntity(H).getData(),te=K.url,to=K.value;return tl.a.createElement("a",{href:te||to,className:ty()("rdw-mention-link",R)},V)}var R=Y.className;return t.propTypes={entityKey:tu.a.number,children:tu.a.array,contentState:tu.a.object},t},this.getMentionDecorator=function(){return{strategy:Y.findMentionEntities,component:Y.getMentionComponent()}},this.className=R},K&&vo(V.prototype,K),te&&vo(V,te),Object.defineProperty(V,"prototype",{writable:!1}),V);function wo(R){return(wo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function Co(R,Y){return(Co=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function Do(R){return(Do=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}function ko(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V)}}function Oo(R,Y,H){return Y&&ko(R.prototype,Y),H&&ko(R,H),Object.defineProperty(R,"prototype",{writable:!1}),R}function xo(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")}t7.prototype.findMentionEntities=function(R,Y,H){R.findEntityRanges(function(R){var Y=R.getEntity();return null!==Y&&"MENTION"===H.getEntity(Y).getType()},Y)},H(35);var et=Oo(function t(R){var Y=this;xo(this,t),this.findSuggestionEntities=function(R,H){if(Y.config.getEditorState()){var V=Y.config,K=V.separator,te=V.trigger,to=V.getSuggestions,ti=(0,V.getEditorState)().getSelection();if(ti.get("anchorKey")===R.get("key")&&ti.get("anchorKey")===ti.get("focusKey")){var tc=R.getText(),ta=(tc=tc.substr(0,ti.get("focusOffset")===tc.length-1?tc.length:ti.get("focusOffset")+1)).lastIndexOf(K+te),tl=K+te;if((void 0===ta||ta<0)&&tc[0]===te&&(ta=0,tl=te),0<=ta){var ts=tc.substr(ta+tl.length,tc.length);to().some(function(R){return!!R.value&&(Y.config.caseSensitive?0<=R.value.indexOf(ts):0<=R.value.toLowerCase().indexOf(ts&&ts.toLowerCase()))})&&H(0===ta?0:ta+1,tc.length)}}}}
5,this.getSuggestionComponent=(function(){var R,Y=this.config;return(R=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&Co(R,Y)}(r,ta.Component);var R,H=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=Do(r);if(R){var V=Do(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===wo(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function r(){var R;xo(this,r);for(var V=arguments.length,K=Array(V),te=0;te<V;te++)K[te]=arguments[te];return(R=H.call.apply(H,[this].concat(K))).state={style:{left:15},activeOption:-1,showSuggestions:!0},R.onEditorKeyDown=function(Y){var H=R.state.activeOption,V={};"ArrowDown"===Y.key?(Y.preventDefault(),H===R.filteredSuggestions.length-1?V.activeOption=0:V.activeOption=H+1):"ArrowUp"===Y.key?V.activeOption=H<=0?R.filteredSuggestions.length-1:H-1:"Escape"===Y.key?(V.showSuggestions=!1,g()):"Enter"===Y.key&&R.addMention(),R.setState(V)},R.onOptionMouseEnter=function(Y){var H=Y.target.getAttribute("data-index");R.setState({activeOption:H})},R.onOptionMouseLeave=function(){R.setState({activeOption:-1})},R.setSuggestionReference=function(Y){R.suggestion=Y},R.setDropdownReference=function(Y){R.dropdown=Y},R.closeSuggestionDropdown=function(){R.setState({showSuggestions:!1})},R.filteredSuggestions=[],R.filterSuggestions=function(H){var V=H.children[0].props.text.substr(1),K=Y.getSuggestions();R.filteredSuggestions=K&&K.filter(function(R){return!V||0===V.length||(Y.caseSensitive?0<=R.value.indexOf(V):0<=R.value.toLowerCase().indexOf(V&&V.toLowerCase()))})},R.addMention=function(){var H,V,K,te,to,ti,tc,ta,tl,ts,tu=R.state.activeOption,tf=Y.getEditorState(),ty=Y.onChange,tm=Y.separator,tg=Y.trigger,tb=R.filteredSuggestions[tu];tb&&(H=tb.value,V=tb.url,K=tf.getCurrentContent().createEntity("MENTION","IMMUTABLE",{text:"".concat(tg).concat(H),value:H,url:V}).getLastCreatedEntityKey(),te=Object(td.getSelectedBlock)(tf).getText(),to=tf.getSelection().focusOffset,ti=(te.lastIndexOf(tm+tg,to)||0)+1,tc=!1,te.length===ti+1&&(to=te.length)," "===te[to]&&(tc=!0),ta=tf.getSelection().merge({anchorOffset:ti,focusOffset:to}),tl=tp.EditorState.acceptSelection(tf,ta),ts=tp.Modifier.replaceText(tl.getCurrentContent(),ta,"".concat(tg).concat(H),tl.getCurrentInlineStyle(),K),tl=tp.EditorState.push(tl,ts,"insert-characters"),tc||(ta=tl.getSelection().merge({anchorOffset:ti+H.length+tg.length,focusOffset:ti+H.length+tg.length}),tl=tp.EditorState.acceptSelection(tl,ta),ts=tp.Modifier.insertText(tl.getCurrentContent(),ta," ",tl.getCurrentInlineStyle(),void 0)),ty(tp.EditorState.push(tl,ts,"insert-characters")))},R}return Oo(r,[{key:"componentDidMount",value:function(){var R,H,V,K=Y.getWrapperRef().getBoundingClientRect(),te=this.suggestion.getBoundingClientRect(),to=this.dropdown.getBoundingClientRect();K.width<te.left-K.left+to.width?H=15:R=15,K.bottom<to.bottom&&(V=0),this.setState({style:{left:R,right:H,bottom:V}}),tC.registerCallBack(this.onEditorKeyDown),m(),Y.modalHandler.setSuggestionCallback(this.closeSuggestionDropdown),this.filterSuggestions(this.props)}},{key:"componentDidUpdate",value:function(R){this.props.children!==R.children&&(this.filterSuggestions(R),this.setState({showSuggestions:!0}))}},{key:"componentWillUnmount",value:function(){tC.deregisterCallBack(this.onEditorKeyDown),g(),Y.modalHandler.removeSuggestionCallback()}},{key:"render",value:function(){var R=this,H=this.props.children,V=this.state,K=V.activeOption,te=V.showSuggestions,to=Y.dropdownClassName,ti=Y.optionClassName;return tl.a.createElement("span",{className:"rdw-suggestion-wrapper",ref:this.setSuggestionReference,onClick:Y.modalHandler.onSuggestionClick,"aria-haspopup":"true","aria-label":"rdw-suggestion-popup"},tl.a.createElement("span",null,H),te&&tl.a.createElement("span",{className:ty()("rdw-suggestion-dropdown",to),contentEditable:"false",suppressContentEditableWarning:!0,style:this.state.style,ref:this.setDropdownReference},this.filteredSuggestions.map(function(Y,H){return tl.a.createElement("span",{key:H,spellCheck:!1,onClick:R.addMention,"data-index":H,onMouseEnter:R.onOptionMouseEnter,onMouseLeave:R.onOptionMouseLeave,className:ty()("rdw-suggestion-option",ti,{"rdw-suggestion-option-active":H===K})},Y.text)})))}}]),r}()).propTypes={children:tu.a.array},R}
5).bind(this),this.getSuggestionDecorator=function(){return{strategy:Y.findSuggestionEntities,component:Y.getSuggestionComponent()}};var H=R.separator,V=R.trigger,K=R.getSuggestions,te=R.onChange,to=R.getEditorState,ti=R.getWrapperRef,tc=R.caseSensitive,ts=R.dropdownClassName,tf=R.optionClassName,tm=R.modalHandler;this.config={separator:H,trigger:V,getSuggestions:K,onChange:te,getEditorState:to,getWrapperRef:ti,caseSensitive:tc,dropdownClassName:ts,optionClassName:tf,modalHandler:tm}});function Ao(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V)}}function _o(R){var Y=R.block,H=R.contentState.getEntity(Y.getEntityAt(0)).getData(),V=H.src,K=H.height,te=H.width;return tl.a.createElement("iframe",{height:K,width:te,src:V,frameBorder:"0",allowFullScreen:!0,title:"Wysiwyg Embedded Content"})}H(36);var ei=(to=function t(R){var Y=this;(function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")})(this,t),this.getHashtagComponent=function(){function t(Y){var H=Y.children,V=H[0].props.text;return tl.a.createElement("a",{href:V,className:ty()("rdw-hashtag-link",R)},H)}var R=Y.className;return t.propTypes={children:tu.a.object},t},this.findHashtagEntities=function(R,H){for(var V=R.getText(),K=0,te=0;0<V.length&&0<=K;)if(V[0]===Y.hashCharacter?(te=K=0,V=V.substr(Y.hashCharacter.length)):0<=(K=V.indexOf(Y.separator+Y.hashCharacter))&&(V=V.substr(K+(Y.separator+Y.hashCharacter).length),te+=K+Y.separator.length),0<=K){var to=0<=V.indexOf(Y.separator)?V.indexOf(Y.separator):V.length,ti=V.substr(0,to);ti&&0<ti.length&&(H(te,te+ti.length+Y.hashCharacter.length),te+=Y.hashCharacter.length)}},this.getHashtagDecorator=function(){return{strategy:Y.findHashtagEntities,component:Y.getHashtagComponent()}},this.className=R.className,this.hashCharacter=R.hashCharacter||"#",this.separator=R.separator||" "},ti&&Ao(to.prototype,ti),tc&&Ao(to,tc),Object.defineProperty(to,"prototype",{writable:!1}),to);function Bo(R){return(Bo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function Fo(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V)}}function Yo(R,Y){return(Yo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function Ho(R){return(Ho=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}_o.propTypes={block:tu.a.object,contentState:tu.a.object},H(37);var Zo=function(R){var Y;return(Y=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&Yo(R,Y)}(r,ta.Component);var Y,H,V,K=(Y=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var R,H=Ho(r);if(Y){var V=Ho(this).constructor;R=Reflect.construct(H,arguments,V)}else R=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===Bo(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,R)});function r(){var Y;!function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")}(this,r);for(var H=arguments.length,V=Array(H),te=0;te<H;te++)V[te]=arguments[te];return(Y=K.call.apply(K,[this].concat(V))).state={hovered:!1},Y.setEntityAlignmentLeft=function(){Y.setEntityAlignment("left")},Y.setEntityAlignmentRight=function(){Y.setEntityAlignment("right")},Y.setEntityAlignmentCenter=function(){Y.setEntityAlignment("none")},Y.setEntityAlignment=function(H){var V=Y.props,K=V.block,te=V.contentState,to=K.getEntityAt(0);te.mergeEntityData(to,{alignment:H}),R.onChange(tp.EditorState.push(R.getEditorState(),te,"change-block-data")),Y.setState({dummy:!0})},Y.toggleHovered=function(){var R=!Y.state.hovered;Y.setState({hovered:R})},Y}return H=[{key:"renderAlignmentOptions",value:function(R){return tl.a.createElement("div",{className:ty()("rdw-image-alignment-options-popup",{"rdw-image-alignment-options-popup-right":"right"===R})},tl.a.createElement(tx,{onClick:this.setEntityAlignmentLeft,className:"rdw-image-alignment-option"},"L"),tl.a.createElement(tx,{onClick:this.setEntityAlignmentCenter,className:"rdw-image-alignment-option"},"C"),tl.a.createElement(tx,{onClick:this.setEntityAlignmentRight,className:"rdw-image-alignment-option"},"R"))}},{key:"render",value:function(){var Y=this.props,H=Y.block,V=Y.contentState,K=this.state.hovered,te=R.isReadOnly,to=R.isImageAlignmentEnabled,ti=V.getEntity(H.getEntityAt(0)).getData(),tc=ti.src,ta=ti.alignment,ts=ti.height,tu=ti.width,tp=ti.alt;return tl.a.createElement("span",{onMouseEnter:this.toggleHovered,onMouseLeave:this.toggleHovered,className:ty()("rdw-image-alignment",{"rdw-image-left":"left"===ta,"rdw-image-right":"right"===ta,"rdw-image-center":!ta||"none"===ta})},tl.a.createElement("span",{className:"rdw-image-imagewrapper"},tl.a.createElement("img",{src:tc,alt:tp,style:{height:ts,width:tu}}
5),!te()&&K&&to()?this.renderAlignmentOptions(ta):void 0))}}],Fo(r.prototype,H),V&&Fo(r,V),Object.defineProperty(r,"prototype",{writable:!1}),r}()).propTypes={block:tu.a.object,contentState:tu.a.object},Y},ec={options:["inline","blockType","fontSize","fontFamily","list","textAlign","colorPicker","link","embedded","emoji","image","remove","history"],inline:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["bold","italic","underline","strikethrough","monospace","superscript","subscript"],bold:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuMjM2IDBjMS42NTIgMCAyLjk0LjI5OCAzLjg2Ni44OTMuOTI1LjU5NSAxLjM4OCAxLjQ4NSAxLjM4OCAyLjY2OSAwIC42MDEtLjE3MyAxLjEzOS0uNTE2IDEuNjEtLjM0My40NzQtLjg0NC44My0xLjQ5OSAxLjA2OC44NDMuMTY3IDEuNDc0LjUyMyAxLjg5NSAxLjA3MS40MTkuNTUuNjMgMS4xODMuNjMgMS45MDMgMCAxLjI0NS0uNDQ0IDIuMTg3LTEuMzMgMi44MjUtLjg4Ni42NDEtMi4xNDQuOTYxLTMuNzY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4LTEuNDc5IDEuMTg0Yy0uNjkxLjQ3Ny0xLjYyNy45MjctMS45MDggMS4zNWwuMDE0IDEuNTY5SDE3VjYuODk2aC0zLjQ2MXoiLz48L3N2Zz4=",className:void 0,title:void 0},subscript:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjg2NiAxMS42NDZIOS4wNkw1Ljg2NyA3Ljk0MmwtMy4xMjEgMy43MDRIMGw0LjUyNC01LjA2NEwuMjE4IDEuODA0aDIuNzdsMyAzLjQ2NCAzLjAyMy0zLjQ2NGgyLjY1TDcuMzA2IDYuNTgybDQuNTYgNS4wNjR6bTEuNzI1IDIuMDU4bDEuODI3LTEuMzY4Yy42NC0uNDM1IDEuMDYyLS44NCAxLjI2NC0xLjIxMi4yMDItLjM3Mi4zMDItLjc3My4zMDItMS4yMDIgMC0uNy0uMjM3LTEuMjY2LS43MS0xLjY5Ni0uNDc0LS40MzEtMS4wOTctLjY0Ni0xLjg2OS0uNjQ2LS43NDQgMC0xLjM0LjIxOC0xLjc4NS42NTMtLjQ0Ni40MzYtLjY3IDEuMDkyLS42NyAxLjk3aDEuNDM2YzAtLjUyNC4wOTQtLjg4Ni4yODEtMS4wODcuMTg4LS4yLjQ0NS0uMzAxLjc3Mi0uMzAxcy41ODYuMTAyLjc3Ny4zMDZjLjE5LjIwNC4yODYuNDU4LjI4Ni43NiAwIC4zMDMtLjA4OC41NzctLjI2Ni44MjItLjE3Ny4yNDUtLjY3LjY1OC0xLjQ3OCAxLjI0LS42OTIuNS0xLjYyOC45NzEtMS45MSAxLjQxM0wxMS44NjQgMTVIMTd2LTEuMjk2aC0zLjQxeiIvPjwvc3ZnPg==",className:void 0,title:void 0}},blockType:{inDropdown:!0,options:["Normal","H1","H2","H3","H4","H5","H6","Blockquote","Code"],className:void 0,component:void 0,dropdownClassName:void 0,title:void 0},fontSize:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuOTIxIDMuMTE5YS40MjcuNDI3IDAgMCAwIC4zMzUuMTY0aC45N2EuNDI2LjQyNiAwIDAgMCAuMzA0LS4xMy40NDEuNDQxIDAgMCAwIC4xMjUtLjMxbC4wMDItMi40MWEuNDM0LjQzNCAwIDAgMC0uNDMtLjQzMkguNDNBLjQzNC40MzQgMCAwIDAgMCAuNDR2Mi40MDZjMCAuMjQyLjE5Mi40MzguNDMuNDM4aC45N2MuMTMgMCAuMjU0LS4wNi4zMzUtLjE2NWwuNzMtLjkzSDUuNTR2MTEuMzZjMCAuMjQxLjE5Mi40MzcuNDMuNDM3aDEuNzE3Yy4yMzcgMCAuNDMtLjE5Ni40My0uNDM3VjIuMTg4aDMuMDdsLjczNC45MzF6TTEzLjg5OCAxMS4yNjNhLjQyNS40MjUgMCAwIDAtLjQ4Mi0uMTQ2bC0uNTQ3LjE5NFY5LjYxN2EuNDQyLjQ0MiAwIDAgMC0uMTI2LS4zMS40MjYuNDI2IDAgMCAwLS4zMDQtLjEyN2gtLjQyOWEuNDM0LjQzNCAwIDAgMC0uNDMuNDM3djEuNjk0bC0uNTQ3LS4xOTRhLjQyNS40MjUgMCAwIDAtLjQ4MS4xNDYuNDQ0LjQ0NCAwIDAgMC0uMDE2LjUxMmwxLjMzMiAyLjAxN2EuNDI3LjQyNyAwIDAgMCAuNzEzIDBsMS4zMzMtMi4wMTdhLjQ0NC40NDQgMCAwIDAtLjAxNi0uNTEye
5iIvPjwvZz48L3N2Zz4=",options:[8,9,10,11,12,14,16,18,24,30,36,48,60,72,96],className:void 0,component:void 0,dropdownClassName:void 0,title:void 0},fontFamily:{options:["Arial","Georgia","Impact","Tahoma","Times New Roman","Verdana"],className:void 0,component:void 0,dropdownClassName:void 0,title:void 0},list:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["unordered","ordered","indent","outdent"],unordered:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMS43MiAzLjQyN2MuOTUxIDAgMS43MjItLjc2OCAxLjcyMi0xLjcwOFMyLjY3LjAxIDEuNzIuMDFDLjc3LjAwOCAwIC43NzUgMCAxLjcxNWMwIC45NC43NzQgMS43MTEgMS43MiAxLjcxMXptMC0yLjYyNWMuNTEgMCAuOTIyLjQxMi45MjIuOTE0YS45Mi45MiAwIDAgMS0xLjg0MiAwIC45Mi45MiAwIDAgMSAuOTItLjkxNHpNMS43MiA4LjcwM2MuOTUxIDAgMS43MjItLjc2OCAxLjcyMi0xLjcwOFMyLjY3IDUuMjg3IDEuNzIgNS4yODdDLjc3IDUuMjg3IDAgNi4wNTIgMCA2Ljk5NXMuNzc0IDEuNzA4IDEuNzIgMS43MDh6bTAtMi42MjJjLjUxIDAgLjkyMi40MTIuOTIyLjkxNGEuOTIuOTIgMCAwIDEtMS44NDIgMGMwLS41MDUuNDE1LS45MTQuOTItLjkxNHpNMS43MiAxMy45ODJjLjk1MSAwIDEuNzIyLS43NjggMS43MjItMS43MDggMC0uOTQzLS43NzQtMS43MDgtMS43MjEtMS43MDgtLjk0NyAwLTEuNzIxLjc2OC0xLjcyMSAxLjcwOHMuNzc0IDEuNzA4IDEuNzIgMS43MDh6bTAtMi42MjVjLjUxIDAgLjkyMi40MTIuOTIyLjkxNGEuOTIuOTIgMCAxIDEtMS44NDIgMCAuOTIuOTIgMCAwIDEgLjkyLS45MTR6TTUuNzQ0IDIuMTE1aDkuODQ1YS40LjQgMCAwIDAgLjQwMS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IC4yOTQtLjA5Ny4zNS0uMjc3LjM1LS4yNDggMC0uMjY3LS4xNS0uMjY3LS4xOTcgMC0uMTc0LS4wOTgtLjM1LS4zMTctLjM1LS4xOTIgMC0uMzA3LjE0MS0uMzA3LjM3OCAwIC40My4zMTMuODg4Ljg5NS44ODguNTY0IDAgLjkwMS0uNC45MDEtMS4wN3YtLjA3NGMwLS4yNzQtLjA3NC0uNTAyLS4yMTQtLjY2Ni4wOTYtLjE2My4xNDgtLjM4LjE0OC0uNjM1eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},indent:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNS43MTYgMy4yMTFI
5MTd2MS4xOTdINS43MTZ6TTAgLjAyaDE3djEuMTk3SDB6TTAgMTIuNzgzaDE3djEuMTk3SDB6TTUuNzE2IDkuNTkzSDE3djEuMTk3SDUuNzE2ek01LjcxNiA2LjQwMkgxN3YxLjE5N0g1LjcxNnpNLjE4NyA5LjQ5MUwyLjUyIDcgLjE4NyA0LjUwOXoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},outdent:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNS4zOTYgMy4xOTNoMTAuNTczVjQuMzlINS4zOTZ6TS4wMzkuMDAzaDE1LjkzVjEuMkguMDM5ek0uMDM5IDEyLjc2NmgxNS45M3YxLjE5N0guMDM5ek01LjM5NiA5LjU3NWgxMC41NzN2MS4xOTdINS4zOTZ6TTUuMzk2IDYuMzg0aDEwLjU3M3YxLjE5N0g1LjM5NnpNMi4xODcgNC40OTFMMCA2Ljk4M2wyLjE4NyAyLjQ5MXoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},title:void 0},textAlign:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["left","center","right","justify"],left:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNOC40OTMgMTQuODg3SC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUyaDguMTY3YS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjE4IDEwLjE2MkguMzI2YS4zMjYuMzI2IDAgMCAxIDAtLjY1M2gxNC4yOTJhLjMyNi4zMjYgMCAwIDEgMCAuNjUzek04LjQ5MyA1LjQzNUguMzI2YS4zMjYuMzI2IDAgMCAxIDAtLjY1Mmg4LjE2N2EuMzI2LjMyNiAwIDAgMSAwIC42NTJ6TTE0LjYxOC43MDlILjMyNmEuMzI2LjMyNiAwIDAgMSAwLS42NTJoMTQuMjkyYS4zMjYuMzI2IDAgMCAxIDAgLjY1MnoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},center:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuNTU2IDE0Ljg4N0gzLjM4OGEuMzI2LjMyNiAwIDAgMSAwLS42NTJoOC4xNjdhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42MTggMTAuMTYySC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUzaDE0LjI5MmEuMzI2LjMyNiAwID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Mjk1LTIuMDguNjYgMCAuMzYzLjkzMi42NTggMi4wOC42NTggMS4xNSAwIDIuMDgtLjI5NCAyLjA4LS42NTkgMC0uMzY0LS45My0uNjU5LTIuMDgtLjY1OXoiLz48L2c+PC9zdmc+",className:void 0,component:void 0,popupClassName:void 0,colors:["rgb(97,189,109)","rgb(26,188,156)","rgb(84,172,210)","rgb(44,130,201)","rgb(147,101,184)","rgb(71,85,119)","rgb(204,204,204)","rgb(65,168,95)","rgb(0,168,133)","rgb(61,142,185)","rgb(41,105,176)","rgb(85,57,130)","rgb(40,50,78)","rgb(0,0,0)","rgb(247,218,100)","rgb(251,160,38)","rgb(235,107,86)","rgb(226,80,65)","rgb(163,143,132)","rgb(239,239,239)","rgb(255,255,255)","rgb(250,197,28)","rgb(243,121,52)","rgb(209,72,65)","rgb(184,49,47)","rgb(124,112,107)","rgb(209,213,216)"],title:void 0},link:{inDropdown:!1,className:void 0,component:void 0,popupClassName:void 0,dropdownClassName:void 0,showOpenOptionOnHover:!0,defaultTargetOption:"_self",options:["link","unlink"],link:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEzLjk2Ny45NUEzLjIyNiAzLjIyNiAwIDAgMCAxMS42Ny4wMDJjLS44NyAwLTEuNjg2LjMzNy0yLjI5Ny45NDh
5MNy4xMDUgMy4yMThBMy4yNDcgMy4yNDcgMCAwIDAgNi4yNCA2LjI0YTMuMjI1IDMuMjI1IDAgMCAwLTMuMDIyLjg2NUwuOTUgOS4zNzNhMy4yNTMgMy4yNTMgMCAwIDAgMCA0LjU5NCAzLjIyNiAzLjIyNiAwIDAgMCAyLjI5Ny45NDhjLjg3IDAgMS42ODYtLjMzNiAyLjI5OC0uOTQ4TDcuODEyIDExLjdhMy4yNDcgMy4yNDcgMCAwIDAgLjg2NS0zLjAyMyAzLjIyNSAzLjIyNS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hNi41NiA2LjU2IDAgMCAxLTkuMjY4IDAgNi41NiA2LjU2IDAgMCAxIDAtOS4yNjcgNi41NiA2LjU2IDAgMCAxIDkuMjY4IDAgNi41NiA2LjU2IDAgMCAxIDAgOS4yNjd6bS03LjUyNC02LjczYS45MDYuOTA2IDAgMSAxIDEuODExIDAgLjkwNi45MDYgMCAwIDEtMS44MTEgMHptNC4xMDYgMGEuOTA2LjkwNiAwIDEgMSAxLjgxMiAwIC45MDYuOTA2IDAgMCAxLTEuODEyIDB6bTIuMTQxIDMuNzA4Yy0uNTYxIDEuMjk4LTEuODc1IDIuMTM3LTMuMzQ4IDIuMTM3LTEuNTA1IDAtMi44MjctLjg0My0zLjM2OS0yLjE0N2EuNDM4LjQzOCAwIDAgMSAuODEtLjMzNmMuNDA1Ljk3NiAxLjQxIDEuNjA3IDIuNTU5IDEuNjA3IDEuMTIzIDAgMi4xMjEtLjYzMSAyLjU0NC0xLjYwOGEuNDM4LjQzOCAwIDAgMSAuODA0LjM0N3oiLz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,emojis:["\uD83D\uDE00","\uD83D\uDE01","\uD83D\uDE02","\uD83D\uDE03","\uD83D\uDE09","\uD83D\uDE0B","\uD83D\uDE0E","\uD83D\uDE0D","\uD83D\uDE17","\uD83E\uDD17","\uD83E\uDD14","\uD83D\uDE23","\uD83D\uDE2B","\uD83D\uDE34","\uD83D\uDE0C","\uD83E\uDD13","\uD83D\uDE1B","\uD83D\uDE1C","\uD83D\uDE20","\uD83D\uDE07","\uD83D\uDE37","\uD83D\uDE08","\uD83D\uDC7B","\uD83D\uDE3A","\uD83D\uDE38","\uD83D\uDE39","\uD83D\uDE3B","\uD83D\uDE3C","\uD83D\uDE3D","\uD83D\uDE40","\uD83D\uDE48","\uD83D\uDE49","\uD83D\uDE4A","\uD83D\uDC7C","\uD83D\uDC6E","\uD83D\uDD75","\uD83D\uDC82","\uD83D\uDC73","\uD83C\uDF85","\uD83D\uDC78","\uD83D\uDC70","\uD83D\uDC72","\uD83D\uDE4D","\uD83D\uDE47","\uD83D\uDEB6","\uD83C\uDFC3","\uD83D\uDC83","â·","\uD83C\uDFC2","\uD83C\uDFCC","\uD83C\uDFC4","\uD83D\uDEA3","\uD83C\uDFCA","â¹","\uD83C\uDFCB","\uD83D\uDEB4","\uD83D\uDC6B","\uD83D\uDCAA","\uD83D\uDC48","\uD83D\uDC49","\uD83D\uDC46","\uD83D\uDD95","\uD83D\uDC47","\uD83D\uDD96","\uD83E\uDD18","\uD83D\uDD90","\uD83D\uDC4C","\uD83D\uDC4D","\uD83D\uDC4E","â","\uD83D\uDC4A","\uD83D\uDC4F","\uD83D\uDE4C","\uD83D\uDE4F","\uD83D\uDC35","\uD83D\uDC36","\uD83D\uDC07","\uD83D\uDC25","\uD83D\uDC38","\uD83D\uDC0C","\uD83D\uDC1B","\uD83D\uDC1C","\uD83D\uDC1D","\uD83C\uDF49","\uD83C\uDF44","\uD83C\uDF54","\uD83C\uDF64","\uD83C\uDF68","\uD83C\uDF6A","\uD83C\uDF82","\uD83C\uDF70","\uD83C\uDF7E","\uD83C\uDF77","\uD83C\uDF78","\uD83C\uDF7A","\uD83C\uDF0D","\uD83D\uDE91","â°","\uD83C\uDF19","\uD83C\uDF1D","\uD83C\uDF1E","â","\uD83C\uDF1F","\uD83C\uDF20","\uD83C\uDF28","\uD83C\uDF29","â","\uD83D\uDD25","\uD83C\uDF84","\uD83C\uDF88","\uD83C\uDF89","\uD83C\uDF8A","\uD83C\uDF81","\uD83C\uDF97","\uD83C\uDFC0","\uD83C\uDFC8","\uD83C\uDFB2","\uD83D\uDD07","\uD83D\uDD08","\uD83D\uDCE3","\uD83D\uDD14","\uD83C\uDFB5","\uD83C\uDFB7","\uD83D\uDCB0","\uD83D\uDD8A","\uD83D\uDCC5","â
","â","\uD83D\uDCAF"],title:void 0},embedded:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTciIHhtbG5zPSJodHRwOi8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AwIDAgMC0uMTg2LS4wOC4yNDUuMjQ1IDAgMCAwLS4xOC4xTDcuNjIyIDguNTM3IDYuMzk0IDcuMDk0YS4yMzIuMjMyIDAgMCAwLS4zNTQtLjAxM2wtNC40IDQuNTZhLjM0My4zNDMgMCAwIDAtLjAyNC40My4yNDMuMjQzIDAgMCAwIC4xOTQuMTAzeiIvPjwvZz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,urlEnabled:!0,uploadEnabled:!0,previewImage:!1,alignmentEnabled:!0,uploadCallback:void 0,inputAccept:"image/gif,image/jpeg,image/jpg,image/png,image/svg",alt:{present:!1,mandatory:!1},defaultSize:{height:"auto",width:"auto"},title:void 0},remove:{icon:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNSIgaGVpZ2h0PSIxNSIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBkPSJNOC4xIDE0bDYuNC03LjJjLjYtLjcuNi0xLjgtLjEtMi41bC0yLjctMi43Yy0uMy0uNC0uOC0uNi0xLjMtLjZIOC42Yy0uNSAwLTEgLjItMS40LjZMLjUgOS4yYy0uNi43LS42IDEuOS4xIDIuNWwyLjcgMi43Yy4zLjQuOC42IDEuMy42SDE2di0xSDguMXptLTEuMy0uMXMwLS4xIDAgMGwtMi43LTIuN2MtLjQtLjQtLjQtLjkgMC0xLjNMNy41IDZoLTFsLTMgMy4zYy0uNi43LS42IDEuNy4xIDIuNEw1LjkgMTRINC42Yy0uMiAwLS40LS4xLS42LS4yTDEuMiAxMWMtLjMtLjMtLjMtLjggMC0xLjFMNC43IDZoMS44TDEwIDJoMUw3LjUgNmwzLjEgMy43LTMuNSA0Yy0uMS4xLS4yLjEtLjMuMnoiLz48L3N2Zz4=",className:void 0,component:void 0,title:void 0},history:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["undo","redo"],undo:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcgMTQuODc1YzIuNjcyIDAgNC44NDYtMi4xNDUgNC44NDYtNC43ODEgMC0yLjYzNy0yLjE3NC00Ljc4MS00Ljg0Ni00Ljc4MVY4LjVMMS42MTUgNC4yNSA3IDB2My4xODhjMy44NiAwIDcgMy4wOTggNyA2LjkwNlMxMC44NiAxNyA3IDE3cy03LTMuMDk4LTctNi45MDZoMi4xNTRjMCAyLjYzNiAyLjE3NCA0Ljc4MSA0Ljg0NiA0Ljc4MXoiIGZpbGw9IiMwMDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==",className:void 0,title:void 0},redo:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuNTA0IDEzLjk3N2E0LjQ5NyA0LjQ5NyAwIDAgMS00LjQ5Mi00LjQ5MiA0LjQ5NyA0LjQ5NyAwIDAgMSA0LjQ5Mi00LjQ5M3YyLjk5NWw0Ljk5LTMuOTkzTDYuNTA0IDB2Mi45OTVhNi40OTYgNi40OTYgMCAwIDAtNi40ODggNi40OWMwIDMuNTc4IDIuOTEgNi40OSA2LjQ4OCA2LjQ5YTYuNDk2IDYuNDk2IDAgMCAwIDYuNDg3LTYuNDloLTEuOTk2YTQuNDk3IDQuNDk3IDAgMCAxLTQuNDkxIDQuNDkyeiIgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+",className:void 0,title:void 0},title:void 0}},ea={en:{"generic.add":"Add","generic.cancel":"Cancel","components.c
5ontrols.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Blockquote","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Block Type","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Color Picker","components.controls.colorpicker.text":"Text","components.controls.colorpicker.background":"Highlight","components.controls.embedded.embedded":"Embedded","components.controls.embedded.embeddedlink":"Embedded Link","components.controls.embedded.enterlink":"Enter link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Font","components.controls.fontsize.fontsize":"Font Size","components.controls.history.history":"History","components.controls.history.undo":"Undo","components.controls.history.redo":"Redo","components.controls.image.image":"Image","components.controls.image.fileUpload":"File Upload","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Drop the file or click to upload","components.controls.inline.bold":"Bold","components.controls.inline.italic":"Italic","components.controls.inline.underline":"Underline","components.controls.inline.strikethrough":"Strikethrough","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Superscript","components.controls.inline.subscript":"Subscript","components.controls.link.linkTitle":"Link Title","components.controls.link.linkTarget":"Link Target","components.controls.link.linkTargetOption":"Open link in new window","components.controls.link.link":"Link","components.controls.link.unlink":"Unlink","components.controls.list.list":"List","components.controls.list.unordered":"Unordered","components.controls.list.ordered":"Ordered","components.controls.list.indent":"Indent","components.controls.list.outdent":"Outdent","components.controls.remove.remove":"Remove","components.controls.textalign.textalign":"Text Align","components.controls.textalign.left":"Left","components.controls.textalign.center":"Center","components.controls.textalign.right":"Right","components.controls.textalign.justify":"Justify"},fr:{"generic.add":"Ok","generic.cancel":"Annuler","components.controls.blocktype.h1":"Titre 1","components.controls.blocktype.h2":"Titre 2","components.controls.blocktype.h3":"Titre 3","components.controls.blocktype.h4":"Titre 4","components.controls.blocktype.h5":"Titre 5","components.controls.blocktype.h6":"Titre 6","components.controls.blocktype.blockquote":"Citation","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Type bloc","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Palette de couleur","components.controls.colorpicker.text":"Texte","components.controls.colorpicker.background":"Fond","components.controls.embedded.embedded":"Embedded","components.controls.embedded.embeddedlink":"Lien iFrame","components.controls.embedded.enterlink":"Entrer le lien","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Police","components.controls.fontsize.fontsize":"Taille de police","components.controls.history.history":"Historique","components.controls.history.undo":"Pr\xe9c\xe9dent","components.controls.history.redo":"Suivant","components.controls.image.image":"Image","components.controls.image.fileUpload":"T\xe9l\xe9chargement","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Glisser une image ou cliquer pour t\xe9l\xe9charger","components.controls.inline.bold":"Gras","components.controls.inline.italic":"Italique","components.controls.inline.underline":"Souligner","components.controls.inline.strikethrough":"Barrer","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Exposant","components.controls.inline.subscript":"Indice","components.c
5ontrols.link.linkTitle":"Titre du lien","components.controls.link.linkTarget":"Cible du lien","components.controls.link.linkTargetOption":"Ouvrir le lien dans une nouvelle fen\xeatre","components.controls.link.link":"Lier","components.controls.link.unlink":"D\xe9lier","components.controls.list.list":"Liste","components.controls.list.unordered":"D\xe9sordonn\xe9e","components.controls.list.ordered":"Ordonn\xe9e","components.controls.list.indent":"Augmenter le retrait","components.controls.list.outdent":"Diminuer le retrait","components.controls.remove.remove":"Supprimer","components.controls.textalign.textalign":"Alignement du texte","components.controls.textalign.left":"Gauche","components.controls.textalign.center":"Centre","components.controls.textalign.right":"Droite","components.controls.textalign.justify":"Justifier"},zh:{"generic.add":"æ·»å ","generic.cancel":"åæ¶","components.controls.blocktype.h1":"æ é¢1","components.controls.blocktype.h2":"æ é¢2","components.controls.blocktype.h3":"æ é¢3","components.controls.blocktype.h4":"æ é¢4","components.controls.blocktype.h5":"æ é¢5","components.controls.blocktype.h6":"æ é¢6","components.controls.blocktype.blockquote":"å¼ç¨","components.controls.blocktype.code":"æºç ","components.controls.blocktype.blocktype":"æ ·å¼","components.controls.blocktype.normal":"æ£æ","components.controls.colorpicker.colorpicker":"éè²å¨","components.controls.colorpicker.text":"æå","components.controls.colorpicker.background":"èæ¯","components.controls.embedded.embedded":"å
åµ","components.controls.embedded.embeddedlink":"å
åµç½é¡µ","components.controls.embedded.enterlink":"è¾å
¥ç½é¡µå°å","components.controls.emoji.emoji":"表æ
符å·","components.controls.fontfamily.fontfamily":"åä½","components.controls.fontsize.fontsize":"åå·","components.controls.history.history":"åå²","components.controls.history.undo":"æ¤é","components.controls.history.redo":"æ¢å¤","components.controls.image.image":"å¾ç","components.controls.image.fileUpload":"æ¥èªæä»¶","components.controls.image.byURL":"å¨çº¿å¾ç","components.controls.image.dropFileText":"ç¹å»æè
ææ½æä»¶ä¸ä¼ ","components.controls.inline.bold":"ç²ä½","components.controls.inline.italic":"æä½","components.controls.inline.underline":"ä¸å线","components.controls.inline.strikethrough":"å é¤çº¿","components.controls.inline.monospace":"ç宽åä½","components.controls.inline.superscript":"䏿 ","components.controls.inline.subscript":"䏿 ","components.controls.link.linkTitle":"è¶
龿¥","components.controls.link.linkTarget":"è¾å
¥é¾æ¥å°å","components.controls.link.linkTargetOption":"卿°çªå£ä¸æå¼é¾æ¥","components.controls.link.link":"龿¥","components.controls.link.unlink":"å é¤é¾æ¥","components.controls.list.list":"å表","components.controls.list.unordered":"项ç®ç¬¦å·","components.controls.list.ordered":"ç¼å·","components.controls.list.indent":"å¢å 缩è¿é","components.controls.list.outdent":"åå°ç¼©è¿é","components.controls.remove.remove":"æ¸
餿 ¼å¼","components.controls.textalign.textalign":"ææ¬å¯¹é½","components.controls.textalign.left":"ææ¬å·¦å¯¹é½","components.controls.textalign.center":"å±
ä¸","components.controls.textalign.right":"ææ¬å³å¯¹é½","components.controls.textalign.justify":"两端对é½"},ru:{"generic.add":"ÐобавиÑÑ","generic.cancel":"ÐÑмениÑÑ","components.controls.blocktype.h1":"Ðаголовок 1","components.controls.blocktype.h2":"Ðаголовок 2","components.controls.blocktype.h3":"Ðаголовок 3","components.controls.blocktype.h4":"Ðаголовок 4","components.controls.blocktype.h5":"Ðаголовок 5","components.controls.blocktype.h6":"Ðаголовок 6","components.controls.blocktype.blockquote":"ЦиÑаÑа","components.controls.blocktype.code":"Ðод","components.controls.blocktype.blocktype":"ФоÑмаÑиÑование","components.controls.blocktype.normal":"ÐбÑÑнÑй","components.controls.colorpicker.colorpicker":"ÐÑÐ±Ð¾Ñ ÑвеÑа","components.c
5ontrols.colorpicker.text":"ТекÑÑ","components.controls.colorpicker.background":"Фон","components.controls.embedded.embedded":"ÐÑÑÑаивание","components.controls.embedded.embeddedlink":"СÑÑлка в iFrame","components.controls.embedded.enterlink":"ÐÑÑавÑÑе ÑÑÑлкÑ","components.controls.emoji.emoji":"Ðмодзи","components.controls.fontfamily.fontfamily":"ШÑиÑÑ","components.controls.fontsize.fontsize":"Ð Ð°Ð·Ð¼ÐµÑ ÑÑиÑÑа","components.controls.history.history":"ÐÑÑоÑиÑ","components.controls.history.undo":"ÐÑмениÑÑ","components.controls.history.redo":"ÐеÑнÑÑÑ","components.controls.image.image":"ÐзобÑажение","components.controls.image.fileUpload":"ФайлÑ","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"ÐеÑемеÑÑиÑе в ÑÑÑ Ð¾Ð±Ð»Ð°ÑÑÑ ÑÐ°Ð¹Ð»Ñ Ð¸Ð»Ð¸ кликниÑе Ð´Ð»Ñ Ð·Ð°Ð³ÑÑзки","components.controls.inline.bold":"ÐиÑнÑй","components.controls.inline.italic":"ÐÑÑÑив","components.controls.inline.underline":"ÐодÑеÑкивание","components.controls.inline.strikethrough":"ÐаÑеÑкивание","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"ÐеÑÑ
ний индекÑ","components.controls.inline.subscript":"Ðижний индекÑ","components.controls.link.linkTitle":"ТекÑÑ","components.controls.link.linkTarget":"ÐдÑÐµÑ ÑÑÑлки","components.controls.link.linkTargetOption":"ÐÑкÑÑваÑÑ Ð² новом окне","components.controls.link.link":"СÑÑлка","components.controls.link.unlink":"УбÑаÑÑ ÑÑÑлкÑ","components.controls.list.list":"СпиÑок","components.controls.list.unordered":"ÐеÑпоÑÑдоÑеннÑй","components.controls.list.ordered":"УпоÑÑдоÑеннÑй","components.controls.list.indent":"ÐÑÑÑÑп","components.controls.list.outdent":"ÐÑÑÑÑп","components.controls.remove.remove":"УдалиÑÑ","components.controls.textalign.textalign":"ÐÑÑавнивание ÑекÑÑа","components.controls.textalign.left":"Слева","components.controls.textalign.center":"Ðо ÑенÑÑÑ","components.controls.textalign.right":"СпÑава","components.controls.textalign.justify":"ÐÑÑавниÑÑ"},pt:{"generic.add":"Ok","generic.cancel":"Cancelar","components.controls.blocktype.h1":"T\xedtulo 1","components.controls.blocktype.h2":"T\xedtulo 2","components.controls.blocktype.h3":"T\xedtulo 3","components.controls.blocktype.h4":"T\xedtulo 4","components.controls.blocktype.h5":"T\xedtulo 5","components.controls.blocktype.h6":"T\xedtulo 6","components.controls.blocktype.blockquote":"Cita\xe7\xe3o","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Estilo","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Paleta de cores","components.controls.colorpicker.text":"Texto","components.controls.colorpicker.background":"Fundo","components.controls.embedded.embedded":"Embarcado","components.controls.embedded.embeddedlink":"Link embarcado","components.controls.embedded.enterlink":"Coloque o link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Fonte","components.controls.fontsize.fontsize":"Tamanho da Fonte","components.controls.history.history":"Hist\xf3rico","components.controls.history.undo":"Desfazer","components.controls.history.redo":"Refazer","components.controls.image.image":"Imagem","components.controls.image.fileUpload":"Carregar arquivo","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Arraste uma imagem aqui ou clique para carregar","components.controls.inline.bold":"Negrito","components.controls.inline.italic":"It\xe1lico","components.controls.inline.underline":"Sublinhado","components.controls.inline.strikethrough":"Strikethrough","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Sobrescrito","components.controls.inline.subscript":"Subscrito","components.c
5ontrols.link.linkTitle":"T\xedtulo do link","components.controls.link.linkTarget":"Alvo do link","components.controls.link.linkTargetOption":"Abrir link em outra janela","components.controls.link.link":"Adicionar Link","components.controls.link.unlink":"Remover link","components.controls.list.list":"Lista","components.controls.list.unordered":"Sem orden\xe7\xe3o","components.controls.list.ordered":"Ordenada","components.controls.list.indent":"Aumentar recuo","components.controls.list.outdent":"Diminuir recuo","components.controls.remove.remove":"Remover","components.controls.textalign.textalign":"Alinhamento do texto","components.controls.textalign.left":"\xc0 Esquerda","components.controls.textalign.center":"Centralizado","components.controls.textalign.right":"\xc0 Direita","components.controls.textalign.justify":"Justificado"},ko:{"generic.add":"ì
ë ¥","generic.cancel":"ì·¨ì","components.controls.blocktype.h1":"ì 목1","components.controls.blocktype.h2":"ì 목2","components.controls.blocktype.h3":"ì 목3","components.controls.blocktype.h4":"ì 목4","components.controls.blocktype.h5":"ì 목5","components.controls.blocktype.h6":"ì 목6","components.controls.blocktype.blockquote":"ì¸ì©","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"ë¸ë¡","components.controls.blocktype.normal":"íì¤","components.controls.colorpicker.colorpicker":"ìì ì í","components.controls.colorpicker.text":"ê¸ê¼´ì","components.controls.colorpicker.background":"ë°°ê²½ì","components.controls.embedded.embedded":"ìë² ë","components.controls.embedded.embeddedlink":"ìë² ë ë§í¬","components.controls.embedded.enterlink":"주ì를 ì
ë ¥íì¸ì","components.controls.emoji.emoji":"ì´ëª¨ì§","components.controls.fontfamily.fontfamily":"ê¸ê¼´","components.controls.fontsize.fontsize":"ê¸ê¼´ í¬ê¸°","components.controls.history.history":"íì¤í 리","components.controls.history.undo":"ì¤í ì·¨ì","components.controls.history.redo":"ë¤ì ì¤í","components.controls.image.image":"ì´ë¯¸ì§","components.controls.image.fileUpload":"íì¼ ì
ë¡ë","components.controls.image.byURL":"주ì","components.controls.image.dropFileText":"í´ë¦íê±°ë íì¼ì ëë¡íì¬ ì
ë¡ëíì¸ì","components.controls.inline.bold":"êµµê²","components.controls.inline.italic":"기ì¸ìê¼´","components.controls.inline.underline":"ë°ì¤","components.controls.inline.strikethrough":"ì·¨ìì ","components.controls.inline.monospace":"ê³ ì ëë¹","components.controls.inline.superscript":"ì 첨ì","components.controls.inline.subscript":"ìë 첨ì","components.controls.link.linkTitle":"ë§í¬ ì 목","components.controls.link.linkTarget":"ë§í¬ íê²","components.controls.link.linkTargetOption":"ìì°½ì¼ë¡ ì´ê¸°","components.controls.link.link":"ë§í¬","components.controls.link.unlink":"ë§í¬ ì ê±°","components.controls.list.list":"리ì¤í¸","components.controls.list.unordered":"ì¼ë° 리ì¤í¸","components.controls.list.ordered":"ìì 리ì¤í¸","components.controls.list.indent":"ë¤ì¬ì°ê¸°","components.controls.list.outdent":"ë´ì´ì°ê¸°","components.controls.remove.remove":"ìì ","components.controls.textalign.textalign":"í
ì¤í¸ ì ë ¬","components.controls.textalign.left":"ì¼ìª½","components.controls.textalign.center":"ì¤ì","components.controls.textalign.right":"ì¤ë¥¸ìª½","components.controls.textalign.justify":"ì쪽"},it:{"generic.add":"Aggiungi","generic.cancel":"Annulla","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Citazione","components.controls.blocktype.code":"Codice","components.controls.blocktype.blocktype":"Stili","components.controls.blocktype.normal":"Normale","components.controls.colorpicker.colorpicker":"Colore testo","components.controls.colorpicker.text":"Testo","components.controls.colorpicker.background":"Evidenziazione","components.c
5ontrols.embedded.embedded":"Incorpora","components.controls.embedded.embeddedlink":"Incorpora link","components.controls.embedded.enterlink":"Inserisci link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Carattere","components.controls.fontsize.fontsize":"Dimensione carattere","components.controls.history.history":"Modifiche","components.controls.history.undo":"Annulla","components.controls.history.redo":"Ripristina","components.controls.image.image":"Immagine","components.controls.image.fileUpload":"Carica immagine","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Trascina il file o clicca per caricare","components.controls.inline.bold":"Grassetto","components.controls.inline.italic":"Corsivo","components.controls.inline.underline":"Sottolineato","components.controls.inline.strikethrough":"Barrato","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Apice","components.controls.inline.subscript":"Pedice","components.controls.link.linkTitle":"Testo","components.controls.link.linkTarget":"Link","components.controls.link.linkTargetOption":"Apri link in una nuova finestra","components.controls.link.link":"Inserisci link","components.controls.link.unlink":"Rimuovi link","components.controls.list.list":"Lista","components.controls.list.unordered":"Elenco puntato","components.controls.list.ordered":"Elenco numerato","components.controls.list.indent":"Indent","components.controls.list.outdent":"Outdent","components.controls.remove.remove":"Rimuovi formattazione","components.controls.textalign.textalign":"Allineamento del testo","components.controls.textalign.left":"Allinea a sinistra","components.controls.textalign.center":"Allinea al centro","components.controls.textalign.right":"Allinea a destra","components.controls.textalign.justify":"Giustifica"},nl:{"generic.add":"Toevoegen","generic.cancel":"Annuleren","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Blockquote","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Blocktype","components.controls.blocktype.normal":"Normaal","components.controls.colorpicker.colorpicker":"Kleurkiezer","components.controls.colorpicker.text":"Tekst","components.controls.colorpicker.background":"Achtergrond","components.controls.embedded.embedded":"Ingevoegd","components.controls.embedded.embeddedlink":"Ingevoegde link","components.controls.embedded.enterlink":"Voeg link toe","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Lettertype","components.controls.fontsize.fontsize":"Lettergrootte","components.controls.history.history":"Geschiedenis","components.controls.history.undo":"Ongedaan maken","components.controls.history.redo":"Opnieuw","components.controls.image.image":"Afbeelding","components.controls.image.fileUpload":"Bestand uploaden","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Drop het bestand hier of klik om te uploaden","components.controls.inline.bold":"Dikgedrukt","components.controls.inline.italic":"Schuingedrukt","components.controls.inline.underline":"On
5derstrepen","components.controls.inline.strikethrough":"Doorstrepen","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Superscript","components.controls.inline.subscript":"Subscript","components.controls.link.linkTitle":"Linktitel","components.controls.link.linkTarget":"Link bestemming","components.controls.link.linkTargetOption":"Open link in een nieuw venster","components.controls.link.link":"Link","components.controls.link.unlink":"Unlink","components.controls.list.list":"Lijst","components.controls.list.unordered":"Ongeordend","components.controls.list.ordered":"Geordend","components.controls.list.indent":"Inspringen","components.controls.list.outdent":"Inspringen verkleinen","components.controls.remove.remove":"Verwijderen","components.controls.textalign.textalign":"Tekst uitlijnen","components.controls.textalign.left":"Links","components.controls.textalign.center":"Gecentreerd","components.controls.textalign.right":"Rechts","components.controls.textalign.justify":"Uitgelijnd"},de:{"generic.add":"Hinzuf\xfcgen","generic.cancel":"Abbrechen","components.controls.blocktype.h1":"\xdcberschrift 1","components.controls.blocktype.h2":"\xdcberschrift 2","components.controls.blocktype.h3":"\xdcberschrift 3","components.controls.blocktype.h4":"\xdcberschrift 4","components.controls.blocktype.h5":"\xdcberschrift 5","components.controls.blocktype.h6":"\xdcberschrift 6","components.controls.blocktype.blockquote":"Zitat","components.controls.blocktype.code":"Quellcode","components.controls.blocktype.blocktype":"Blocktyp","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Farbauswahl","components.controls.colorpicker.text":"Text","components.controls.colorpicker.background":"Hintergrund","components.controls.embedded.embedded":"Eingebettet","components.controls.embedded.embeddedlink":"Eingebetteter Link","components.controls.embedded.enterlink":"Link eingeben","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Schriftart","components.controls.fontsize.fontsize":"Schriftgr\xf6\xdfe","components.controls.history.history":"Historie","components.controls.history.undo":"Zur\xfccknehmen","components.controls.history.redo":"Wiederholen","components.controls.image.image":"Bild","components.controls.image.fileUpload":"Datei-Upload","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Dateien ziehen und ablegen, oder klicken zum Hochladen","components.controls.inline.bold":"Fett","components.controls.inline.italic":"Kursiv","components.controls.inline.underline":"Unterstreichen","components.controls.inline.strikethrough":"Durchstreichen","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Hochgestellt","components.controls.inline.subscript":"Tiefgestellt","components.controls.link.linkTitle":"Link-Titel","components.controls.link.linkTarget":"Link-Ziel","components.controls.link.linkTargetOption":"Link in neuem Fenster \xf6ffnen","components.controls.link.link":"Link","components.controls.link.unlink":"Aufheben","components.controls.list.list":"Liste","components.controls.list.unordered":"Aufz\xe4hlung","components.controls.list.ordered":"Nummerierte Liste","components.controls.list.indent":"Einzug vergr\xf6\xdfern","components.controls.list.outdent":"Einzug reduzieren","components.controls.remove.remove":"Entfernen","components.controls.textalign.textalign":"Textausrichtung","components.controls.textalign.left":"Linksb\xfcndig","components.controls.textalign.center":"Zentrieren","components.controls.textalign.right":"Rechtsb\xfcndig","components.controls.textalign.justify":"Blocksatz"},da:{"generic.add":"Tilf\xf8j","generic.cancel":"Annuller","components.controls.blocktype.h1":"Overskrift 1","components.controls.blocktype.h2":"Overskrift 2","components.controls.blocktype.h3":"Overskrift 3","components.controls.blocktype.h4":"Overskrift 4","components.controls.blocktype.h5":"Overskrift 5","components.controls.blocktype.h6":"Overskrift 6","components.c
5ontrols.blocktype.blockquote":"Blokcitat","components.controls.blocktype.code":"Kode","components.controls.blocktype.blocktype":"Blok Type","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Farver","components.controls.colorpicker.text":"Tekst","components.controls.colorpicker.background":"Baggrund","components.controls.embedded.embedded":"Indlejre","components.controls.embedded.embeddedlink":"Indlejre Link","components.controls.embedded.enterlink":"Indtast link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Fonttype","components.controls.fontsize.fontsize":"Fontst\xf8rrelser","components.controls.history.history":"Historie","components.controls.history.undo":"Fortryd","components.controls.history.redo":"Gendan","components.controls.image.image":"Billede","components.controls.image.fileUpload":"Filoverf\xf8rsel","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Drop filen eller klik for at uploade","components.controls.inline.bold":"Fed","components.controls.inline.italic":"Kursiv","components.controls.inline.underline":"Understrege","components.controls.inline.strikethrough":"Gennemstreget","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"H\xe6vet","components.controls.inline.subscript":"S\xe6nket","components.controls.link.linkTitle":"Link Titel","components.controls.link.linkTarget":"Link M\xe5l","components.controls.link.linkTargetOption":"\xc5bn link i nyt vindue","components.controls.link.link":"Link","components.controls.link.unlink":"Fjern link","components.controls.list.list":"Liste","components.controls.list.unordered":"Uordnet","components.controls.list.ordered":"Ordnet","components.controls.list.indent":"Indrykning","components.controls.list.outdent":"Udrykning","components.controls.remove.remove":"Fjern","components.controls.textalign.textalign":"Tekstjustering","components.controls.textalign.left":"Venstre","components.controls.textalign.center":"Center","components.controls.textalign.right":"H\xf8jre","components.controls.textalign.justify":"Margener"},zh_tw:{"generic.add":"æ°å¢","generic.cancel":"åæ¶","components.controls.blocktype.h1":"æ¨é¡1","components.controls.blocktype.h2":"æ¨é¡2","components.controls.blocktype.h3":"æ¨é¡3","components.controls.blocktype.h4":"æ¨é¡4","components.controls.blocktype.h5":"æ¨é¡5","components.controls.blocktype.h6":"æ¨é¡6","components.controls.blocktype.blockquote":"å¼ç¨","components.controls.blocktype.code":"ç¨å¼ç¢¼","components.controls.blocktype.blocktype":"樣å¼","components.controls.blocktype.normal":"æ£æ","components.controls.colorpicker.colorpicker":"é¸è²å¨","components.controls.colorpicker.text":"æå","components.controls.colorpicker.background":"èæ¯","components.controls.embedded.embedded":"å
§åµ","components.controls.embedded.embeddedlink":"å
§åµç¶²é ","components.controls.embedded.enterlink":"輸å
¥ç¶²é å°å","components.controls.emoji.emoji":"表æ
符è","components.controls.fontfamily.fontfamily":"åé«","components.controls.fontsize.fontsize":"åé«å¤§å°","components.controls.history.history":"æ·å²ç´é","components.controls.history.undo":"復å","components.controls.history.redo":"éå","components.controls.image.image":"åç","components.controls.image.fileUpload":"æªæ¡ä¸å³","components.controls.image.byURL":"ç¶²å","components.controls.image.dropFileText":"é»ææææ³æªæ¡ä¸å³","components.controls.inline.bold":"ç²é«","components.controls.inline.italic":"æé«","components.controls.inline.underline":"åºç·","components.controls.inline.strikethrough":"åªé¤ç·","components.controls.inline.monospace":"ç寬åé«","components.controls.inline.superscript":"䏿¨","components.controls.inline.subscript":"䏿¨","components.controls.link.linkTitle":"è¶
é£çµ","components.controls.link.linkTarget":"輸å
¥é£çµä½å","components.controls.link.linkTargetOption":"卿°è¦çªæéé£çµ","components.controls.link.link":"é£çµ","components.c
5ontrols.link.unlink":"åªé¤é£çµ","components.controls.list.list":"å表","components.controls.list.unordered":"é
ç®ç¬¦è","components.controls.list.ordered":"ç·¨è","components.controls.list.indent":"å¢å 縮æ","components.controls.list.outdent":"æ¸å°ç¸®æ","components.controls.remove.remove":"æ¸
餿 ¼å¼","components.controls.textalign.textalign":"æåå°é½","components.controls.textalign.left":"æååå·¦å°é½","components.controls.textalign.center":"æåç½®ä¸","components.controls.textalign.right":"æååå³å°é½","components.controls.textalign.justify":"å
©ç«¯å°é½"},pl:{"generic.add":"Dodaj","generic.cancel":"Anuluj","components.controls.blocktype.h1":"NagÅ\xf3wek 1","components.controls.blocktype.h2":"NagÅ\xf3wek 2","components.controls.blocktype.h3":"NagÅ\xf3wek 3","components.controls.blocktype.h4":"NagÅ\xf3wek 4","components.controls.blocktype.h5":"NagÅ\xf3wek 5","components.controls.blocktype.h6":"NagÅ\xf3wek 6","components.controls.blocktype.blockquote":"Cytat","components.controls.blocktype.code":"Kod","components.controls.blocktype.blocktype":"Format","components.controls.blocktype.normal":"Normalny","components.controls.colorpicker.colorpicker":"Kolor","components.controls.colorpicker.text":"Tekst","components.controls.colorpicker.background":"TÅo","components.controls.embedded.embedded":"Osadź","components.controls.embedded.embeddedlink":"Osadź odnoÅnik","components.controls.embedded.enterlink":"Wprowadź odnoÅnik","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Kr\xf3j czcionki","components.controls.fontsize.fontsize":"Rozmiar czcionki","components.controls.history.history":"Historia","components.controls.history.undo":"Cofnij","components.controls.history.redo":"Pon\xf3w","components.controls.image.image":"Obrazek","components.controls.image.fileUpload":"PrzeÅlij plik","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"UpuÅÄ plik lub kliknij, aby przesÅaÄ","components.controls.inline.bold":"Pogrubienie","components.controls.inline.italic":"Kursywa","components.controls.inline.underline":"PodkreÅlenie","components.controls.inline.strikethrough":"PrzekreÅlenie","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Indeks g\xf3rny","components.controls.inline.subscript":"Indeks dolny","components.controls.link.linkTitle":"TytuÅ odnoÅnika","components.controls.link.linkTarget":"Adres odnoÅnika","components.controls.link.linkTargetOption":"Otw\xf3rz odnoÅnik w nowej karcie","components.controls.link.link":"Wstaw odnoÅnik","components.controls.link.unlink":"UsuÅ odnoÅnik","components.controls.list.list":"Lista","components.controls.list.unordered":"Lista nieuporzÄ
dkowana","components.controls.list.ordered":"Lista uporzÄ
dkowana","components.controls.list.indent":"ZwiÄksz wciÄcie","components.controls.list.outdent":"Zmniejsz wciÄcie","components.controls.remove.remove":"UsuÅ","components.controls.textalign.textalign":"Wyr\xf3wnaj tekst","components.controls.textalign.left":"Do lewej","components.controls.textalign.center":"Do Årodka","components.controls.textalign.right":"Do prawej","components.controls.textalign.justify":"Wyjustuj"},es:{"generic.add":"A\xf1adir","generic.cancel":"Cancelar","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Blockquote","components.controls.blocktype.code":"C\xf3digo","components.controls.blocktype.blocktype":"Tipo de bloque","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Seleccionar color","components.controls.colorpicker.text":"Texto","components.controls.colorpicker.background":"Subrayado","components.controls.embedded.embedded":"Adjuntar","components.controls.embedded.embeddedlink":"Adjuntar Link","components.controls.embedded.enterlink":"Introducir link","components.c
5ontrols.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Fuente","components.controls.fontsize.fontsize":"Tama\xf1o de fuente","components.controls.history.history":"Hist\xf3rico","components.controls.history.undo":"Deshacer","components.controls.history.redo":"Rehacer","components.controls.image.image":"Imagen","components.controls.image.fileUpload":"Subir archivo","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Arrastra el archivo o haz click para subirlo","components.controls.inline.bold":"Negrita","components.controls.inline.italic":"Cursiva","components.controls.inline.underline":"Subrayado","components.controls.inline.strikethrough":"Tachado","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Sobre\xedndice","components.controls.inline.subscript":"Sub\xedndice","components.controls.link.linkTitle":"T\xedtulo del enlace","components.controls.link.linkTarget":"Objetivo del enlace","components.controls.link.linkTargetOption":"Abrir en nueva ventana","components.controls.link.link":"Enlazar","components.controls.link.unlink":"Desenlazar","components.controls.list.list":"Lista","components.controls.list.unordered":"Desordenada","components.controls.list.ordered":"Ordenada","components.controls.list.indent":"Indentada","components.controls.list.outdent":"Dentada","components.controls.remove.remove":"Eliminar","components.controls.textalign.textalign":"Alineaci\xf3n del texto","components.controls.textalign.left":"Izquierda","components.controls.textalign.center":"Centrado","components.controls.textalign.right":"Derecha","components.controls.textalign.justify":"Justificado"},ja:{"generic.add":"追å ","generic.cancel":"ãã£ã³ã»ã«","components.controls.blocktype.h1":"è¦åºã1","components.controls.blocktype.h2":"è¦åºã2","components.controls.blocktype.h3":"è¦åºã3","components.controls.blocktype.h4":"è¦åºã4","components.controls.blocktype.h5":"è¦åºã5","components.controls.blocktype.h6":"è¦åºã6","components.controls.blocktype.blockquote":"å¼ç¨","components.controls.blocktype.code":"ã³ã¼ã","components.controls.blocktype.blocktype":"ã¹ã¿ã¤ã«","components.controls.blocktype.normal":"æ¨æºããã¹ã","components.controls.colorpicker.colorpicker":"ããã¹ãã®è²","components.controls.colorpicker.text":"ããã¹ã","components.controls.colorpicker.background":"ãã¤ã©ã¤ã","components.controls.embedded.embedded":"åãè¾¼ã¿","components.controls.embedded.embeddedlink":"åãè¾¼ã¿ãªã³ã¯","components.controls.embedded.enterlink":"ãªã³ã¯ãå
¥åãã¦ãã ãã","components.controls.emoji.emoji":"çµµæå","components.controls.fontfamily.fontfamily":"ãã©ã³ã","components.controls.fontsize.fontsize":"ãã©ã³ããµã¤ãº","components.controls.history.history":"å±¥æ´","components.controls.history.undo":"å
ã«æ»ã","components.controls.history.redo":"ããç´ã","components.controls.image.image":"ç»å","components.controls.image.fileUpload":"ãã¡ã¤ã«ãã¢ãããã¼ã","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"ããã«ç»åããã©ãã°ããããã¯ãªãã¯ãã¦ãã ãã","components.controls.inline.bold":"太å","components.controls.inline.italic":"æä½","components.controls.inline.underline":"ä¸ç·","components.controls.inline.strikethrough":"åãæ¶ãç·","components.controls.inline.monospace":"çå¹
ãã©ã³ã","components.controls.inline.superscript":"ä¸ä»ãæå","components.controls.inline.subscript":"ä¸ä»ãæå","components.controls.link.linkTitle":"ãªã³ã¯ã¿ã¤ãã«","components.controls.link.linkTarget":"ãªã³ã¯å¯¾è±¡","components.controls.link.linkTargetOption":"æ°ããã¦ã£ã³ãã¦ã§éã","components.controls.link.link":"ãªã³ã¯","components.controls.link.unlink":"ãªã³ã¯ãè§£é¤","components.controls.list.list":"ãªã¹ã","components.controls.list.unordered":"ç®æ¡æ¸ã","components.controls.list.ordered":"çªå·ä»ã","components.controls.list.indent":"ã¤ã³ãã³ãå¢","components.c
5ontrols.list.outdent":"ã¤ã³ãã³ãæ¸","components.controls.remove.remove":"æ¸å¼ãã¯ãªã¢","components.controls.textalign.textalign":"æ´å","components.controls.textalign.left":"å·¦æã","components.controls.textalign.center":"ä¸å¤®æã","components.controls.textalign.right":"峿ã","components.controls.textalign.justify":"両端æã"}};function Vo(R){return(Vo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(R)}function qo(){return(qo=Object.assign?Object.assign.bind():function(R){for(var Y=1;Y<arguments.length;Y++){var H=arguments[Y];for(var V in H)Object.prototype.hasOwnProperty.call(H,V)&&(R[V]=H[V])}return R}).apply(this,arguments)}function Ko(R,Y){var H=Object.keys(R);if(Object.getOwnPropertySymbols){var V=Object.getOwnPropertySymbols(R);Y&&(V=V.filter(function(Y){return Object.getOwnPropertyDescriptor(R,Y).enumerable})),H.push.apply(H,V)}return H}function Xo(R){for(var Y=1;Y<arguments.length;Y++){var H=null!=arguments[Y]?arguments[Y]:{};Y%2?Ko(Object(H),!0).forEach(function(Y){var V;V=H[Y],Y in R?Object.defineProperty(R,Y,{value:V,enumerable:!0,configurable:!0,writable:!0}):R[Y]=V}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(H)):Ko(Object(H)).forEach(function(Y){Object.defineProperty(R,Y,Object.getOwnPropertyDescriptor(H,Y))})}return R}function tr(R){return function(R){if(Array.isArray(R))return er(R)}(R)||function(R){if("undefined"!=typeof Symbol&&null!=R[Symbol.iterator]||null!=R["@@iterator"])return Array.from(R)}(R)||function(R,Y){if(R){if("string"==typeof R)return er(R,Y);var H=Object.prototype.toString.call(R).slice(8,-1);if("Object"===H&&R.constructor&&(H=R.constructor.name),"Map"===H||"Set"===H)return Array.from(R);if("Arguments"===H||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(H))return er(R,Y)}}(R)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function er(R,Y){(null==Y||Y>R.length)&&(Y=R.length);for(var H=0,V=Array(Y);H<Y;H++)V[H]=R[H];return V}function nr(R,Y){for(var H=0;H<Y.length;H++){var V=Y[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(R,V.key,V)}}function or(R,Y){return(or=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,Y){return R.__proto__=Y,R})(R,Y)}function ir(R){return(ir=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}H(38),H(39);var el=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&or(R,Y)}(i,ta.Component);var R,Y,H,V=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=ir(i);if(R){var V=ir(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===Vo(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function i(R){(function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")})(this,i),(K=V.call(this,R)).onEditorBlur=function(){K.setState({editorFocused:!1})},K.onEditorFocus=function(R){var Y=K.props.onFocus;K.setState({editorFocused:!0});var H=K.focusHandler.isEditorFocused();Y&&H&&Y(R)},K.onEditorMouseDown=function(){K.focusHandler.onEditorMouseDown()},K.keyBindingFn=function(R){if("Tab"!==R.key)return"ArrowUp"!==R.key&&"ArrowDown"!==R.key||b()&&R.preventDefault(),Object(tp.getDefaultKeyBinding)(R);var Y=K.props.onTab;if(!Y||!Y(R)){var H=Object(td.changeDepth)(K.state.editorState,R.shiftKey?-1:1,4);H&&H!==K.state.editorState&&(K.onChange(H),R.preventDefault())}return null},K.onToolbarFocus=function(R){var Y=K.props.onFocus;Y&&K.focusHandler.isToolbarFocused()&&Y(R)},K.onWrapperBlur=function(R){var Y=K.props.onBlur;Y&&K.focusHandler.isEditorBlur(R)&&Y(R,K.getEditorState())},K.onChange=function(R){var Y=K.props,H=Y.readOnly,V=Y.onEditorStateChange;H||"atomic"===Object(td.getSelectedBlocksType)(R)&&R.getSelection().isCollapsed||(V&&V(R,K.props.wrapperId),M(K.props,"editorState")?K.afterChange(R):K.setState({editorState:R},K.afterChange(R)))},K.setWrapperReference=function(R){K.wrapper=R},K.setEditorReference=function(R){K.props.editorRef&&K.props.editorRef(R),K.editor=R},K.getCompositeDecorator=function(R){var Y,H,V,te,to=[].concat(tr(K.props.customDecorators),[{strategy:Mo,c
5omponent:(H=({showOpenOptionOnHover:R.link.showOpenOptionOnHover}).showOpenOptionOnHover,(Y=function(){!function(R,Y){if("function"!=typeof Y&&null!==Y)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(Y&&Y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Y&&go(R,Y)}(i,ta.Component);var R,Y,V,K=(R=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}(),function(){var Y,H=ho(i);if(R){var V=ho(this).constructor;Y=Reflect.construct(H,arguments,V)}else Y=H.apply(this,arguments);return function(R,Y){if(Y&&("object"===yo(Y)||"function"==typeof Y))return Y;if(void 0!==Y)throw TypeError("Derived constructors may only return object or undefined");return function(R){if(void 0!==R)return R;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(R)}(this,Y)});function i(){var R;!function(R,Y){if(!(R instanceof Y))throw TypeError("Cannot call a class as a function")}(this,i);for(var Y=arguments.length,H=Array(Y),V=0;V<Y;V++)H[V]=arguments[V];return(R=K.call.apply(K,[this].concat(H))).state={showPopOver:!1},R.openLink=function(){var Y=R.props,H=Y.entityKey,V=Y.contentState.getEntity(H).getData().url,K=window.open(fo(V),"blank");K&&K.focus()},R.toggleShowPopOver=function(){var Y=!R.state.showPopOver;R.setState({showPopOver:Y})},R}return Y=[{key:"render",value:function(){var R=this.props,Y=R.children,V=R.entityKey,K=R.contentState.getEntity(V).getData(),te=K.url,to=K.targetOption,ti=this.state.showPopOver;return tl.a.createElement("span",{className:"rdw-link-decorator-wrapper",onMouseEnter:this.toggleShowPopOver,onMouseLeave:this.toggleShowPopOver},tl.a.createElement("a",{href:fo(te),target:to},Y),ti&&H?tl.a.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuMDcyIDBIOC45MTVhLjkyNS45MjUgMCAwIDAgMCAxLjg0OWgyLjkyNUw2Ljk2MSA2LjcyN2EuOTE4LjkxOCAwIDAgMC0uMjcuNjU0YzAgLjI0Ny4wOTUuNDguMjcuNjU0YS45MTguOTE4IDAgMCAwIC42NTQuMjcuOTE4LjkxOCAwIDAgMCAuNjUzLS4yN2w0Ljg4LTQuODh2Mi45MjZhLjkyNS45MjUgMCAwIDAgMS44NDggMFYuOTI0QS45MjUuOTI1IDAgMCAwIDE0LjA3MiAweiIvPjxwYXRoIGQ9Ik0xMC42MjMgMTMuNDExSDEuNTg1VjQuMzcyaDYuNzk4bDEuNTg0LTEuNTg0SC43OTJBLjc5Mi43OTIgMCAwIDAgMCAzLjU4djEwLjYyNGMwIC40MzcuMzU1Ljc5Mi43OTIuNzkyaDEwLjYyNGEuNzkyLjc5MiAwIDAgMCAuNzkyLS43OTJWNS4wMjlsLTEuNTg1IDEuNTg0djYuNzk4eiIvPjwvZz48L3N2Zz4=",alt:"",onClick:this.openLink,className:"rdw-link-decorator-icon"}):void 0)}}],mo(i.prototype,Y),V&&mo(i,V),Object.defineProperty(i,"prototype",{writable:!1}),i}()).propTypes={entityKey:tu.a.string.isRequired,children:tu.a.array,contentState:tu.a.object},Y)}]);return K.props.mention&&to.push.apply(to,tr((V=Xo(Xo({},K.props.mention),{},{onChange:K.onChange,getEditorState:K.getEditorState,getSuggestions:K.getSuggestions,getWrapperRef:K.getWrapperRef,modalHandler:K.modalHandler}),[new t7(V.mentionClassName).getMentionDecorator(),new et(V).getSuggestionDecorator()]))),K.props.hashtag&&to.push((te=K.props.hashtag,new ei(te).getHashtagDecorator())),new tp.CompositeDecorator(to)},K.getWrapperRef=function(){return K.wrapper},K.getEditorState=function(){return K.state?K.state.editorState:null},K.getSuggestions=function(){return K.props.mention&&K.props.mention.suggestions},K.afterChange=function(R){setTimeout(function(){var Y=K.props,H=Y.onChange,V=Y.onContentStateChange;H&&H(Object(tp.convertToRaw)(R.getCurrentContent())),V&&V(Object(tp.convertToRaw)(R.getCurrentContent()))})},K.isReadOnly=function(){return K.props.readOnly},K.isImageAlignmentEnabled=function(){return K.state.toolbar.image.alignmentEnabled},K.createEditorState=function(R){var Y;if(M(K.props,"editorState"))K.props.editorState&&(Y=tp.EditorState.set(K.props.editorState,{decorator:R}));else if(M(K.props,"defaultEditorState"))K.props.defaultEditorState&&(Y=tp.EditorState.set(K.props.defaultEditorState,{decorator:R}));else if(M(K.props,"contentState")){if(K.props.contentState){var H=Object(tp.convertFromRaw)(K.props.contentState);Y=tp.EditorState.createWithContent(H,R),Y=tp.EditorState.moveSelectionToEnd(Y)}}else if(M(K.props,"defaultContentState")||M(K.props,"initialContentState")){var V=K.props.defaultContentState||K.props.initialContentState;V&&(V=Object(tp.convertFromRaw)(V),Y=tp.EditorState.createWithContent(V,R),Y=tp.EditorState.moveSelectionToEnd(Y))}return Y||tp.EditorState.createEmpty(R)},K.filterEditorProps=function(R){var Y,H,V;return Y=["onChange","onEditorStateChange","onContentStateChange","initialContentState","defaultContentState","contentState","editorState","defaultEditorState","locale","localization","toolbarOnFocus","toolbar","toolbarCustomButtons","toolbarClassName","editorClassName","toolbarHidden","wrapperClassName","toolbarStyle","editorStyle","wrapperStyle","uploadCallback","onFocus","onBlur","onTab","mention","hashtag","ariaLabel","customBlockRenderFunc","customDecorators","handlePastedText","customStyleMap"],H=Object.keys(R).filter(function(R){return 0>Y.indexOf(R)}),V={},H&&0<H.length&&H.forEach(function(Y){V[Y]=R[Y]}),V},K.getStyleMap=function(R){return Xo(Xo({},Object(td.getCustomStyleMap)()),R.customStyleMap)},K.changeEditorState=function(R){var Y=Object(tp.convertFromRaw)(R),H=K.state.editorState;return H=tp.EditorState.push(H,Y,"insert-characters"),H=tp.EditorState.moveSelectionToEnd(H)},K.focusEditor=function(){setTimeout(function(){K.editor.focus()})},K.handleKeyCommand=function(R){var Y=K.state,H=Y.editorState,V=Y.toolbar.inline;if(V&&0<=V.options.indexOf(R)){var te=tp.RichUtils.handleKeyCommand(H,R);if(te)return K.onChange(te),!0}return!1},K.handleReturn=function(R){if(b())return!0;var Y=K.state.editorState,H=Object(td.handleNewLine)(Y,R);return!!H&&(K.onChange(H),!0)},K.handlePastedTextFn=function(R,Y){var H=K.state.editorState,V=K.props,te=V.handlePastedText,to=V.stripPastedStyles;return te?te(R,Y,H,K.onChange):!to&&function(R,Y,H,V){var K=Object(td.getSelectedBlock)(H);if(K&&"code"===K.type){var te=tp.Modifier.replaceText(H.getCurrentContent(),H.getSelection(),R,H.getCurrentInlineStyle());return V(tp.EditorState.push(H,te,"insert-characters")),!0}if(Y){var to=tD()(Y),ti=H.getCurrentContent();
5return to.entityMap.forEach(function(R,Y){ti=ti.mergeEntityData(Y,R)}),ti=tp.Modifier.replaceWithFragment(ti,H.getSelection(),new tk.List(to.contentBlocks)),V(tp.EditorState.push(H,ti,"insert-characters")),!0}return!1}(R,Y,H,K.onChange)},K.preventDefault=function(R){"INPUT"===R.target.tagName||"LABEL"===R.target.tagName||"TEXTAREA"===R.target.tagName?K.focusHandler.onInputMouseDown():R.preventDefault()};var Y,H,K,te=D(ec,R.toolbar),to=R.wrapperId?R.wrapperId:Math.floor(1e4*Math.random());K.wrapperId="rdw-wrapper-".concat(to),K.modalHandler=new tm,K.focusHandler=new tS,K.blockRendererFn=(Y={isReadOnly:K.isReadOnly,isImageAlignmentEnabled:K.isImageAlignmentEnabled,getEditorState:K.getEditorState,onChange:K.onChange},H=R.customBlockRenderFunc,function(R){if("function"==typeof H){var V=H(R,Y,Y.getEditorState);if(V)return V}if("atomic"===R.getType()){var K=Y.getEditorState().getCurrentContent().getEntity(R.getEntityAt(0));if(K&&"IMAGE"===K.type)return{component:Zo(Y),editable:!1};if(K&&"EMBEDDED_LINK"===K.type)return{component:_o,editable:!1}}}),K.editorProps=K.filterEditorProps(R),K.customStyleMap=K.getStyleMap(R),K.compositeDecorator=K.getCompositeDecorator(te);var ti=K.createEditorState(K.compositeDecorator);return Object(td.extractInlineStyle)(ti),K.state={editorState:ti,editorFocused:!1,toolbar:te},K}return Y=[{key:"componentDidMount",value:function(){this.modalHandler.init(this.wrapperId)}},{key:"componentDidUpdate",value:function(R){if(R!==this.props){var Y={},H=this.props,V=H.editorState,K=H.contentState;if(!this.state.toolbar){var te=D(ec,te);Y.toolbar=te}if(M(this.props,"editorState")&&V!==R.editorState)Y.editorState=V?tp.EditorState.set(V,{decorator:this.compositeDecorator}):tp.EditorState.createEmpty(this.compositeDecorator);else if(M(this.props,"contentState")&&K!==R.contentState){if(K){var to=this.changeEditorState(K);to&&(Y.editorState=to)}else Y.editorState=tp.EditorState.createEmpty(this.compositeDecorator)}R.editorState===V&&R.contentState===K||Object(td.extractInlineStyle)(Y.editorState),Object.keys(Y).length&&this.setState(Y),this.editorProps=this.filterEditorProps(this.props),this.customStyleMap=this.getStyleMap(this.props)}}},{key:"render",value:function(){var R=this.state,Y=R.editorState,H=R.editorFocused,V=R.toolbar,K=this.props,te=K.locale,to=K.localization,ti=to.locale,tc=to.translations,ta=K.toolbarCustomButtons,ts=K.toolbarOnFocus,tu=K.toolbarClassName,tf=K.toolbarHidden,tm=K.editorClassName,tg=K.wrapperClassName,tb=K.toolbarStyle,th=K.editorStyle,tM=K.wrapperStyle,tj=K.uploadCallback,tN=K.ariaLabel,tE={modalHandler:this.modalHandler,editorState:Y,onChange:this.onChange,translations:Xo(Xo({},ea[te||ti]),tc)},tS=H||this.focusHandler.isInputFocused()||!ts;return tl.a.createElement("div",{id:this.wrapperId,className:ty()(tg,"rdw-editor-wrapper"),style:tM,onClick:this.modalHandler.onEditorClick,onBlur:this.onWrapperBlur,"aria-label":"rdw-wrapper"},!tf&&tl.a.createElement("div",{className:ty()("rdw-editor-toolbar",tu),style:Xo({visibility:tS?"visible":"hidden"},tb),onMouseDown:this.preventDefault,"aria-label":"rdw-toolbar","aria-hidden":(!H&&ts).toString(),onFocus:this.onToolbarFocus},V.options.map(function(R,Y){var H=t6[R],K=V[R];return"image"===R&&tj&&(K.uploadCallback=tj),tl.a.createElement(H,qo({key:Y},tE,{config:K}))}),ta&&ta.map(function(R,Y){return tl.a.cloneElement(R,Xo({key:Y},tE))})),tl.a.createElement("div",{ref:this.setWrapperReference,className:ty()(tm,"rdw-editor-main"),style:th,onClick:this.focusEditor,onFocus:this.onEditorFocus,onBlur:this.onEditorBlur,onKeyDown:tC.onKeyDown,onMouseDown:this.onEditorMouseDown},tl.a.createElement(tp.Editor,qo({ref:this.setEditorReference,keyBindingFn:this.keyBindingFn,editorState:Y,onChange:this.onChange,blockStyleFn:L,customStyleMap:this.getStyleMap(this.props),handleReturn:this.handleReturn,handlePastedText:this.handlePastedTextFn,blockRendererFn:this.blockRendererFn,handleKeyCommand:this.handleKeyCommand,ariaLabel:tN||"rdw-editor",blockRenderMap:td.blockRenderMap},this.editorProps))))}}],nr(i.prototype,Y),H&&nr(i,H),Object.defineProperty(i,"prototype",{writable:!1}),i}();el.propTypes={onChange:tu.a.func,onEditorStateChange:tu.a.func,onContentStateChange:tu.a.func,initialContentState:tu.a.object,defaultContentState:tu.a.object,contentState:tu.a.object,editorState:tu.a.object,defaultEditorState:tu.a.object,toolbarOnFocus:tu.a.bool,spellCheck:tu.a.bool,stripPastedStyles:tu.a.bool,toolbar:tu.a.object,toolbarCustomButtons:tu.a.array,toolbarClassName:tu.a.string,toolbarHidden:tu.a.bool,locale:tu.a.string,localization:tu.a.object,editorClassName:tu.a.string,wrapperClassName:tu.a.string,toolbarStyle:tu.a.object,editorStyle:tu.a.object,wrapperStyle:tu.a.object,uploadCallback:tu.a.func,onFocus:tu.a.func,onBlur:tu.a.func,onTab:tu.a.func,mention:tu.a.object,hashtag:tu.a.object,textAlignment:tu.a.string,readOnly:tu.a.bool,tabIndex:tu.a.number,placeholder:tu.a.string,ariaLabel:tu.a.string,ariaOwneeID:tu.a.string,ariaActiveDescendantID:tu.a.string,ariaAutoComplete:tu.a.string,ariaDescribedBy:tu.a.string,ariaExpanded:tu.a.string,ariaHasPopup:tu.a.string,customBlockRenderFunc:tu.a.func,wrapperId:tu.a.number,customDecorators:tu.a.array,editorRef:tu.a.func,handlePastedText:tu.a.func},el.defaultProps={toolbarOnFocus:!1,toolbarHidden:!1,stripPastedStyles:!1,localization:{locale:"en",translations:{}},customDecorators:[]};var es=el}],i.c=K,i.d=function(R,Y,H){i.o(R,Y)||Object.defineProperty(R,Y,{enumerable:!0,get:H})},i.r=function(R){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(R,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(R,"__esModule",{value:!0})},i.t=function(R,Y){if(1&Y&&(R=i(R)),8&Y||4&Y&&"object"==typeof R&&R&&R.__esModule)return R;var H=Object.create(null);if(i.r(H),Object.defineProperty(H,"default",{enumerable:!0,value:R}),2&Y&&"string"!=typeof R)for(var V in R)i.d(H,V,(function(Y){return R[Y]}).bind(null,V));return H},i.n=function(R){var Y=R&&R.__esModule?function(){return R.default}:function(){return R};return i.d(Y,"a",Y),Y},i.o=function(R,Y){return Object.prototype.hasOwnProperty.call(R,Y)},i.p="",i(i.s=8);function i(R){if(K[R])return K[R].exports;var Y=K[R]={i:R,l:!1,exports:{}};return V[R].call(Y.exports,Y,Y.exports,i),Y.l=!0,Y.exports}}(H(67294),H(9041),H(43393))}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.