PageSourceSearch

https://www.elevolt.co.ke/_next/static/chunks/5c025fa9.01404592db7374a4.js

js elevolt.co.ke collected 2026-10-04 21:45:56 UTC 239,191 bytes, 1 lines download raw bytes

1try{!function(){var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="99c6ef3d-d4d2-4019-9279-4f5066eb6c58",t._sentryDebugIdIdentifier="sentry-dbid-99c6ef3d-d4d2-4019-9279-4f5066eb6c58")}()}catch(t){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9305],{11303:function(t,e,n){var o;window,o=function(t,e,n){var o,r;return r={},i.m=o=[function(t,e,n){t.exports=n(10)()},function(e,n){e.exports=t},function(t,e,n){var o;!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var t=[],e=0;e<arguments.length;e++){var o=arguments[e];if(o){var i=typeof o;if("string"==i||"number"==i)t.push(o);else if(Array.isArray(o)&&o.length){var c=r.apply(null,o);c&&t.push(c)}else if("object"==i)for(var a in o)n.call(o,a)&&o[a]&&t.push(a)}}return t.join(" ")}t.exports?(r.default=r,t.exports=r):void 0===(o=(function(){return r}).apply(e,[]))||(t.exports=o)}()},function(t,n){t.exports=e},function(t,e,n){var o,r,i,c;function a(t){if(c[t])return c[t].exports;var e=c[t]={i:t,l:!1,exports:{}};return i[t].call(e.exports,e,e.exports,a),e.l=!0,e.exports}window,t.exports=(o=n(3),r=n(5),c={},a.m=i=[function(t,e){t.exports=o},function(t,e){t.exports=r},function(t,e,n){t.exports=n(3)},function(t,e,n){"use strict";n.r(e);var o=n(0),r=n(1);function i(t){var e=t.getSelection(),n=t.getCurrentContent(),o=e.getStartKey(),r=e.getEndKey(),i=n.getBlockMap();return i.toSeq().skipUntil(function(t,e){return e===o}).takeUntil(function(t,e){return e===r}).concat([[r,i.get(r)]])}function c(t){return i(t).toList()}function a(t){if(t)return c(t).get(0)}function l(t){if(t){var e=a(t),n=t.getCurrentContent().getBlockMap().toSeq().toList(),o=0;if(n.forEach(function(t,n){t.get("key")===e.get("key")&&(o=n-1)}),-1<o)return n.get(o)}}function s(t){return t?t.getCurrentContent().getBlockMap().toList():new r.List}function u(t){var e=c(t);if(!e.some(function(t){return t.type!==e.get(0).type}))return e.get(0).type}function p(t){var e=o.RichUtils.tryToRemoveBlockStyle(t);return e?o.EditorState.push(t,e,"change-block-type"):t}function d(t){var e="",n=t.getSelection(),o=n.getAnchorOffset(),r=n.getFocusOffset(),i=c(t);if(0<i.size){if(n.getIsBackward()){var a=o;o=r,r=a}for(var l=0;l<i.size;l+=1){var s=0===l?o:0,u=l===i.size-1?r:i.get(l).getText().length;e+=i.get(l).getText().slice(s,u)}}return e}function f(t){var e=t.getCurrentContent(),n=t.getSelection(),r=o.Modifier.removeRange(e,n,"forward"),i=r.getSelectionAfter(),c=r.getBlockForKey(i.getStartKey());return r=o.Modifier.insertText(r,i,"\n",c.getInlineStyleAt(i.getStartOffset()),null),o.EditorState.push(t,r,"insert-fragment")}function y(t){var e=o.Modifier.splitBlock(t.getCurrentContent(),t.getSelection());return p(o.EditorState.push(t,e,"split-block"))}function m(t){var e=t.getCurrentContent().getBlockMap().toList(),n=t.getSelection().merge({anchorKey:e.first().get("key"),anchorOffset:0,focusKey:e.last().get("key"),focusOffset:e.last().getLength()}),r=o.Modifier.removeRange(t.getCurrentContent(),n,"forward");return o.EditorState.push(t,r,"remove-range")}function g(t,e){var n=o.Modifier.setBlockData(t.getCurrentContent(),t.getSelection(),e);return o.EditorState.push(t,n,"change-block-data")}function b(t){var e=new r.Map({}),n=c(t);if(n&&0<n.size)for(var o=0;o<n.size&&"break"!==function(t){var o=n.get(t).getData();if(!o||0===o.size)return e=e.clear(),"break";if(0===t)e=o;else if(e.forEach(function(t,n){o.get(n)&&o.get(n)===t||(e=e.delete(n))}),0===e.size)return e=e.clear(),"break"}(o);o+=1);return e}var h=Object(r.Map)({code:{element:"pre"}}),M=o.DefaultDraftBlockRenderMap.merge(h);function j(t){if(t){var e=t.getType();return"unordered-list-item"===e||"ordered-list-item"===e}return!1}function N(t,e,n){var r,c=t.getSelection();r=c.getIsBackward()?c.getFocusKey():c.getAnchorKey();var a=t.getCurrentContent(),l=a.getBlockForKey(r),s=l.getType();if("unordered-list-item"!==s&&"ordered-list-item"!==s)return t;var u=a.getBlockBefore(r);if(!u||u.getType()!==s)return t;var p=l.getDepth();if(1===e&&p===n)return t;var d,f,y,m,g=Math.min(u.getDepth()+1,n),b=(d=t.getSelection(),y=(f=t.getCurrentContent()).getBlockMap(),m=i(t).map(function(t){var n=t.getDepth()+e;return n=Math.max(0,Math.min(n,g)),t.set("depth",n)}
vendor: 6,758 bytes, line 1
1),y=y.merge(m),f.merge({blockMap:y,selectionBefore:d,selectionAfter:d}));return o.EditorState.push(t,b,"adjust-depth")}function E(t,e){return 13===e.which&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))?t.getSelection().isCollapsed()?o.RichUtils.insertSoftNewline(t):f(t):function(t){var e=t.getSelection();if(e.isCollapsed()){var n=t.getCurrentContent(),o=e.getStartKey(),r=n.getBlockForKey(o);if(!j(r)&&"unstyled"!==r.getType()&&r.getLength()===e.getStartOffset())return y(t);if(j(r)&&0===r.getLength()){var i=r.getDepth();if(0===i)return p(t);if(0<i)return N(t,-1,i)}}}(t)}function S(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)}return n}function C(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function L(t){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(t){var e=t.getSelection();if(e.isCollapsed()){var n={},o=t.getCurrentInlineStyle().toList().toJS();if(o)return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach(function(t){n[t]=0<=o.indexOf(t)}),n}var r=e.getStartOffset(),i=e.getEndOffset(),a=c(t);if(0<a.size){var l=function(){for(var t={BOLD:!0,ITALIC:!0,UNDERLINE:!0,STRIKETHROUGH:!0,CODE:!0,SUPERSCRIPT:!0,SUBSCRIPT:!0},e=0;e<a.size;e+=1){var n=0===e?r:0,o=e===a.size-1?i:a.get(e).getText().length;n===o&&0===n?(n=1,o=2):n===o&&--n;for(var c=n;c<o;c+=1)(function(n){var o=a.get(e).getInlineStyleAt(n);["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach(function(e){t[e]=t[e]&&o.get(e)===e})})(c)}return{v:t}}();if("object"===L(l))return l.v}return{}}function D(t){var e,n=t.getSelection(),o=n.getStartOffset(),r=n.getEndOffset();o===r&&0===o?r=1:o===r&&--o;for(var i=a(t),c=o;c<r;c+=1){var l=i.getEntityAt(c);if(!l){e=void 0;break}if(c===o)e=l;else if(e!==l){e=void 0;break}}return e}function k(t,e){var n,o=a(t);return o.findEntityRanges(function(t){return t.get("entity")===e},function(t,e){n={start:t,end:e,text:o.get("text").slice(t,e)}}),n}function O(t,e,n){x[t]["".concat(t.toLowerCase(),"-").concat(n)]=C({},"".concat(e),n)}function w(){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?S(Object(n),!0).forEach(function(e){C(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},x.color,{},x.bgcolor,{},x.fontSize,{},x.fontFamily,{CODE:x.CODE,SUPERSCRIPT:x.SUPERSCRIPT,SUBSCRIPT:x.SUBSCRIPT})}var x={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(t,e,n){var r=t.getSelection(),i=Object.keys(x[e]).reduce(function(t,e){return o.Modifier.removeInlineStyle(t,r,e)},t.getCurrentContent()),c=o.EditorState.push(t,i,"changeinline-style"),a=t.getCurrentInlineStyle();if(r.isCollapsed()&&(c=a.reduce(function(t,e){return o.RichUtils.toggleInlineStyle(t,e)},c)),"SUPERSCRIPT"===e||"SUBSCRIPT"==e)a.has(n)||(c=o.RichUtils.toggleInlineStyle(c,n));else{var l="bgcolor"===e?"backgroundColor":e;a.has("".concat(l,"-").concat(n))||(c=o.RichUtils.toggleInlineStyle(c,"".concat(e.toLowerCase(),"-").concat(n)),O(e,l,n))}return c}function T(t){t&&t.getCurrentContent().getBlockMap().map(function(t){return t.get("characterList")}).toList().flatten().forEach(function(t){t&&0===t.indexOf("color-")?O("color","color",t.substr(6)):t&&0===t.indexOf("bgcolor-")?O("bgcolor","backgroundColor",t.substr(8)):t&&0===t.indexOf("fontsize-")?O("fontSize","fontSize",+t.substr(9)):t&&0===t.indexOf("fontfamily-")&&O("fontFamily","fontFamily",t.substr(11))})}function A(t,e,n){var o=t.getInlineStyleAt(n).toList().filter(function(t){return t.startsWith(e.toLowerCase())});if(o&&0<o.size)return o.get(0)}function z(t,e){if(t&&e&&0<e.length){var n=function(){var n=t.getSelection(),o={};if(n.isCollapsed())return e.forEach(function(e){o[e]=function(t,e){var n=t.getCurrentInlineStyle().toList().filter(function(t){return t.startsWith(e.toLowerCase())});if(n&&0<n.size)return n.get(0)}(t,e)}),{v:o};var r=n.getStartOffset(),i=n.getEndOffset(),a=c(t);if(0<a.size){for(var l=function(t){var n=0===t?r:0,c=t===a.size-1?i:a.get(t).getText().length;n===c&&0===n?(n=1,c=2):n===c&&--n;for(var l=function(r){r===n?e.forEach(function(e){o[e]=A(a.get(t),e,r)}):e.forEach(function(e){o[e]&&o[e]!==A(a.get(t),e,r)&&(o[e]=void 0)})},s=n;s<c;s+=1)l(s)},s=0;s<a.size;s+=1)l(s);return{v:o}}}();if("object"===L(n))return n.v}return{}}function _(t){var e=t.getCurrentInlineStyle(),n=t.getCurrentContent();return e.forEach(function(e){n=o.Modifier.removeInlineStyle(n,t.getSelection(),e)}),o.EditorState.push(t,n,"change-inline-style")}n.d(e,"isListBlock",function(){return j}),n.d(e,"changeDepth",function(){return N}),n.d(e,"handleNewLine",function(){return E}),n.d(e,"getEntityRange",function(){return k}),n.d(e,"getCustomStyleMap",function(){return w}),n.d(e,"toggleCustomInlineStyle",function(){return I}),n.d(e,"getSelectionEntity",function(){return D}),n.d(e,"extractInlineStyle",function(){return T}),n.d(e,"removeAllInlineStyles",function(){return _}),n.d(e,"getSelectionInlineStyle",function(){return v}),n.d(e,"getSelectionCustomInlineStyle",function(){return z}),n.d(e,"getSelectedBlocksMap",function(){return i}),n.d(e,"getSelectedBlocksList",function(){return c}),n.d(e,"getSelectedBlock",function(){return a}),n.d(e,"getBlockBeforeSelectedBlock",function(){return l}),n.d(e,"getAllBlocks",function(){return s}),n.d(e,"getSelectedBlocksType",function(){return u}),n.d(e,"removeSelectedBlocksStyle",function(){return p}),n.d(e,"getSelectionText",function(){return d}),n.d(e,"addLineBreakRemovingSelection",function(){return f}),n.d(e,"insertNewUnstyledBlock",function(){return y}),n.d(e,"clearEditorContent",function(){return m}),n.d(e,"setBlockData",function(){return g}),n.d(e,"getSelectedBlocksMetadata",function(){return b}),n.d(e,"blockRenderMap",function(){return M})}],a.c=c,a.d=function(t,e,n){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}
1),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e||4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)a.d(n,o,(function(e){return t[e]}).bind(null,o));return n},a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="",a(a.s=2))},function(t,e){t.exports=n},function(t,e,n){var o,r,i,c;function a(t){if(c[t])return c[t].exports;var e=c[t]={i:t,l:!1,exports:{}};return i[t].call(e.exports,e,e.exports,a),e.l=!0,e.exports}window,t.exports=(o=n(5),r=n(3),c={},a.m=i=[function(t,e){t.exports=o},function(t,e){t.exports=r},function(t,e,n){t.exports=n(3)},function(t,e,n){"use strict";n.r(e);var o=n(1),r=n(0),i=function(t,e,n){var o=t.textContent;return""===o.trim()?{chunk:{text:" ",inlines:[new r.OrderedSet],entities:[n],blocks:[]}}:{chunk:{text:o,inlines:Array(o.length).fill(e),entities:Array(o.length).fill(n),blocks:[]}}},c=function(t){return{text:"\r ",inlines:[new r.OrderedSet],entities:[t],blocks:[{type:"atomic",depth:0,data:new r.Map({})}]}},a=new r.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"]}}),l={code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",strong:"BOLD",ins:"UNDERLINE",sub:"SUBSCRIPT",sup:"SUPERSCRIPT"};function s(t){return t.style.textAlign?new r.Map({"text-align":t.style.textAlign}):t.style.marginLeft?new r.Map({"margin-left":t.style.marginLeft}):void 0}var u=function(t){var e=void 0;if(t instanceof HTMLAnchorElement){var n={};e=t.dataset&&void 0!==t.dataset.mention?(n.url=t.href,n.text=t.innerHTML,n.value=t.dataset.value,o.Entity.__create("MENTION","IMMUTABLE",n)):(n.url=t.getAttribute&&t.getAttribute("href")||t.href,n.title=t.innerHTML,n.targetOption=t.target,o.Entity.__create("LINK","MUTABLE",n))}return e};n.d(e,"default",function(){return f});var p=RegExp("&nbsp;","g"),d=!0;function f(t,e){var n,f,y,m,g=(n=t.trim().replace(p," "),y=null,document.implementation&&document.implementation.createHTMLDocument&&((f=document.implementation.createHTMLDocument("foo")).documentElement.innerHTML=n,y=f.getElementsByTagName("body")[0]),m=y)?(d=!0,{chunk:function t(e,n,p,f,y,m){var g=e.nodeName.toLowerCase();if(m){var b=m(g,e);if(b)return{chunk:c(o.Entity.__create(b.type,b.mutability,b.data||{}))}}if("#text"===g&&"\n"!==e.textContent)return i(e,n,y);if("br"===g)return{chunk:{text:"\n",inlines:[new r.OrderedSet],entities:[,],blocks:[]}};if("img"===g&&e instanceof HTMLImageElement){var h={};return h.src=e.getAttribute&&e.getAttribute("src")||e.src,h.alt=e.alt,h.height=e.style.height,h.width=e.style.width,e.style.float&&(h.alignment=e.style.float),{chunk:c(o.Entity.__create("IMAGE","MUTABLE",h))}}if("video"===g&&e instanceof HTMLVideoElement){var M={};return M.src=e.getAttribute&&e.getAttribute("src")||e.src,M.alt=e.alt,M.height=e.style.height,M.width=e.style.width,e.style.float&&(M.alignment=e.style.float),{chunk:c(o.Entity.__create("VIDEO","MUTABLE",M))}}if("iframe"===g&&e instanceof HTMLIFrameElement){var j={};return j.src=e.getAttribute&&e.getAttribute("src")||e.src,j.height=e.height,j.width=e.width,{chunk:c(o.Entity.__create("EMBEDDED_LINK","MUTABLE",j))}}var N,E=function(t,e){var n=a.filter(function(n){return n.element===t&&(!n.wrapper||n.wrapper===e)||n.wrapper===t||n.aliasedElements&&-1<n.aliasedElements.indexOf(t)}).keySeq().toSet().toArray();if(1===n.length)return n[0]}(g,f);E&&("ul"===g||"ol"===g?(f=g,p+=1):("unordered-list-item"!==E&&"ordered-list-item"!==E&&(f="",p=-1),d?(N={text:"",inlines:[],entities:[],blocks:[{type:E,depth:0,data:s(e)||new r.Map({})}]},d=!1):N={text:"\r",inlines:[],entities:[],blocks:[{type:E,depth:Math.max(0,Math.min(4,p)),data:s(e)||new r.Map({})}]})),N=N||{text:"",inlines:[],entities:[],blocks:[]},C=n,(v=l[g])?L=C.add(v).toOrderedSet():e instanceof HTMLElement&&(L=(L=C).withMutations(function(t){var n=e.style.color,o=e.style.backgroundColor,r=e.style.fontSize,i=e.style.fontFamily.replace(/^"|"$/g,""),c=e.style.fontWeight,a=e.style.textDecoration,s=e.style.fontStyle;n&&t.add("color-".concat(n.replace(/ /g,""))),o&&t.add("bgcolor-".concat(o.replace(/ /g,""))),r&&t.add("fontsize-".concat(r.replace(/px$/g,""))),i&&t.add("fontfamily-".concat(i)),"bold"===c&&t.add(l.strong),"underline"===a&&t.add(l.ins),"italic"===s&&t.add(l.em)}).toOrderedSet()),n=L;for(var S=e.firstChild;S;){var C,L,v,D,k=t(S,n,p,f,u(S)||y,m).chunk;N={text:(D=N).text+k.text,inlines:D.inlines.concat(k.inlines),entities:D.entities.concat(k.entities),blocks:D.blocks.concat(k.blocks)},S=S.nextSibling}return{chunk:N}}(m,new r.OrderedSet,-1,"",void 0,e).chunk}):null;if(g){var b=g.chunk,h=new r.OrderedMap({});
vendor: 7,293 bytes, line 1
1b.entities&&b.entities.forEach(function(t){t&&(h=h.set(t,o.Entity.__get(t)))});var M=0;return{contentBlocks:b.text.split("\r").map(function(t,e){var n=M+t.length,i=b&&b.inlines.slice(M,n),c=b&&b.entities.slice(M,n),a=new r.List(i.map(function(t,e){var n={style:t,entity:null};return c[e]&&(n.entity=c[e]),o.CharacterMetadata.create(n)}));return M=n,new o.ContentBlock({key:Object(o.genKey)(),type:b&&b.blocks[e]&&b.blocks[e].type||"unstyled",depth:b&&b.blocks[e]&&b.blocks[e].depth,data:b&&b.blocks[e]&&b.blocks[e].data||new r.Map({}),text:t,characterList:a})}),entityMap:h}}return null}}],a.c=c,a.d=function(t,e,n){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e||4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)a.d(n,o,(function(e){return t[e]}).bind(null,o));return n},a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="",a(a.s=2))},function(t,e,n){"use strict";function o(t){return Array.prototype.slice.call(arguments,1).forEach(function(e){e&&Object.keys(e).forEach(function(n){t[n]=e[n]})}),t}function r(t){return Object.prototype.toString.call(t)}function i(t){return"[object Function]"===r(t)}function c(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var a={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},l={"http:":{validate:function(t,e,n){var o=t.slice(e);return n.re.http||(n.re.http=RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(o)?o.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){var o=t.slice(e);return n.re.no_http||(n.re.no_http=RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(o)?3<=e&&":"===t[e-3]?0:3<=e&&"/"===t[e-3]?0:o.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var o=t.slice(e);return n.re.mailto||(n.re.mailto=RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(o)?o.match(n.re.mailto)[0].length:0}}},s="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function u(){return function(t,e){e.normalize(t)}}function p(t){var e=t.re=n(21)(t.__opts__),o=t.__tlds__.slice();function a(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||o.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]"),o.push(e.src_xn),e.src_tlds=o.join("|"),e.email_fuzzy=RegExp(a(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(a(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(a(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(a(e.tpl_host_fuzzy_test),"i");var l=[];function s(t,e){throw Error('(LinkifyIt) Invalid schema "'+t+'": '+e)}t.__compiled__={},Object.keys(t.__schemas__).forEach(function(e){var n=t.__schemas__[e];if(null!==n){var o,c={validate:null,link:null};if(t.__compiled__[e]=c,"[object Object]"===r(n))return"[object RegExp]"===r(n.validate)?c.validate=(o=n.validate,function(t,e){var n=t.slice(e);return o.test(n)?n.match(o)[0].length:0}):i(n.validate)?c.validate=n.validate:s(e,n),void(i(n.normalize)?c.normalize=n.normalize:n.normalize?s(e,n):c.normalize=u());"[object String]"!==r(n)?s(e,n):l.push(e)}}),l.forEach(function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)}),t.__compiled__[""]={validate:null,normalize:u()};var p=Object.keys(t.__compiled__).filter(function(e){return 0<e.length&&t.__compiled__[e]}).map(c).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+p+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+p+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),t.__index__=-1,t.__text_cache__=""}function d(t,e){var n=t.__index__,o=t.__last_index__,r=t.__text_cache__.slice(n,o);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=o+e,this.raw=r,this.text=r,this.url=r}function f(t,e){var n=new d(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function y(t,e){if(!(this instanceof y))return new y(t,e);e||Object.keys(t||{}).reduce(function(t,e){return t||a.hasOwnProperty(e)},!1)&&(e=t,t={}),this.__opts__=o({},a,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=o({},l,t),this.__compiled__={},this.__tlds__=s,this.__tlds_replaced__=!1,this.re={},p(this)}y.prototype.add=function(t,e){return this.__schemas__[t]=e,p(this),this},y.prototype.set=function(t){return this.__opts__=o(this.__opts__,t),this},y.prototype.test=function(t){var e,n,o,r,i,c,a,l;if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;if(this.re.schema_test.test(t)){for((a=this.re.schema_search).lastIndex=0;null!==(e=a.exec(t));)if(r=this.testSchemaAt(t,e[2],a.lastIndex)){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+r;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&0<=(l=t.search(this.re.host_fuzzy_test))&&(this.__index__<0||l<this.__index__)&&null!==(n=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(i=n.index+n[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&0<=t.indexOf("@")&&null!==(o=t.match(this.re.email_fuzzy))&&(i=o.index+o[1].length,c=o.index+o[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&c>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=c)),0<=this.__index__},y.prototype.pretest=function(t){return this.re.pretest.test(t)},y.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},y.prototype.match=function(t){var e=0,n=[];0<=this.__index__&&this.__text_cache__===t&&(n.push(f(this,e)),e=this.__last_index__);for(var o=e?t.slice(e):t;this.test(o);)n.push(f(this,e)),o=o.slice(this.__last_index__),e+=this.__last_index__;return n.length?n:null},y.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?this.__tlds__=this.__tlds__.concat(t).sort().filter(function(t,e,n){return t!==n[e-1]}).reverse():(this.__tlds__=t.slice(),this.__tlds_replaced__=!0),p(this),this},y.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},y.prototype.onCompile=function(){}
1,t.exports=y},function(t,e,n){t.exports=n(40)},function(t,e,n){},function(t,e,n){"use strict";var o=n(11);function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function t(t,e,n,r,i,c){if(c!==o){var a=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 a.name="Invariant Violation",a}}function e(){return t}var n={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:i,resetWarningCache:r};return n.PropTypes=n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";t.exports=function(t){var e={};return e.src_Any=n(22).source,e.src_Cc=n(23).source,e.src_Z=n(24).source,e.src_P=n(25).source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|"),e.src_pseudo_letter="(?:(?![><|]|"+e.src_ZPCc+")"+e.src_Any+")",e.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]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|[><|]|"+e.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+e.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+e.src_ZCc+").|\\!(?!"+e.src_ZCc+"|[!]).|\\?(?!"+e.src_ZCc+"|[?]).)+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.
1src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy='(^|[><|]|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}},function(t,e){t.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(t,e){t.exports=/[\0-\x1F\x7F-\x9F]/},function(t,e){t.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(t,e){t.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(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";n.r(e),n.d(e,"Editor",function(){return nP});var o,r,i,c,a,l=n(1),s=n.n(l),u=n(0),p=n.n(u),d=n(3),f=n(4),y=n(2),m=n.n(y),g=(Object.defineProperty(i=function t(){var e=this;(function(t,e){if(!(t instanceof e))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(t){e.callBacks.forEach(function(e){e(t)})},this.init=function(t){var n=document.getElementById(t);n&&n.addEventListener("click",function(){e.editorFlag=!0}),document&&(document.addEventListener("click",function(){e.editorFlag?e.editorFlag=!1:(e.closeAllModals(),e.suggestionCallback&&e.suggestionCallback())}),document.addEventListener("keydown",function(t){"Escape"===t.key&&e.closeAllModals()}))},this.onEditorClick=function(){e.closeModals(),!e.suggestionFlag&&e.suggestionCallback?e.suggestionCallback():e.suggestionFlag=!1},this.closeModals=function(t){e.closeAllModals(t)},this.registerCallBack=function(t){e.callBacks.push(t)},this.deregisterCallBack=function(t){e.callBacks=e.callBacks.filter(function(e){return e!==t})},this.setSuggestionCallback=function(t){e.suggestionCallback=t},this.removeSuggestionCallback=function(){e.suggestionCallback=void 0},this.onSuggestionClick=function(){e.suggestionFlag=!0}},"prototype",{writable:!1}),i),b=(Object.defineProperty(c=function t(){var e=this;(function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")})(this,t),this.inputFocused=!1,this.editorMouseDown=!1,this.onEditorMouseDown=function(){e.editorFocused=!0},this.onInputMouseDown=function(){e.inputFocused=!0},this.isEditorBlur=function(t){return"INPUT"!==t.target.tagName&&"LABEL"!==t.target.tagName&&"TEXTAREA"!==t.target.tagName||e.editorFocused?!("INPUT"===t.target.tagName&&"LABEL"===t.target.tagName&&"TEXTAREA"===t.target.tagName||e.
1inputFocused)&&(e.editorFocused=!1,!0):(e.inputFocused=!1,!0)},this.isEditorFocused=function(){return!e.inputFocused||(e.inputFocused=!1)},this.isToolbarFocused=function(){return!e.editorFocused||(e.editorFocused=!1)},this.isInputFocused=function(){return e.inputFocused}},"prototype",{writable:!1}),c),h=[],M=function(t){h.forEach(function(e){e(t)})},j=function(t){h.push(t)},N=function(t){h=h.filter(function(e){return e!==t})},E=function(){a=!0},S=function(){a=!1},C=function(){return a};function L(t){var e=t.getData()&&t.getData().get("text-align");return e?"rdw-".concat(e,"-aligned-block"):""}function v(t,e){if(t)for(var n in t)({}).hasOwnProperty.call(t,n)&&e(n,t[n])}function D(t,e){var n=!1;if(t){for(var o in t)if(({}).hasOwnProperty.call(t,o)&&e===o){n=!0;break}}return n}function k(t){t.stopPropagation()}function O(t){return t[t.options[0]].icon}function w(t,e){if(t&&void 0===e)return t;var n={};return v(t,function(t,o){"[object Object]"===Object.prototype.toString.call(o)?n[t]=w(o,e[t]):n[t]=void 0!==e[t]?e[t]:o}),n}var x=n(6),I=n.n(x),T=n(5);function A(t){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function z(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function P(t,e){return(P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function R(t){return(R=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n(9);var U=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&P(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=R(r);return e=t?Reflect.construct(n,arguments,R(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===A(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return(t=o.call.apply(o,[this].concat(n))).onClick=function(){var e=t.props,n=e.disabled,o=e.onClick,r=e.value;n||o(r)},t}return e=[{key:"render",value:function(){var t,e=this.props,n=e.children,o=e.className,r=e.activeClassName,i=e.active,c=e.disabled,a=e.title;return s.a.createElement("div",{className:m()("rdw-option-wrapper",o,(z(t={},"rdw-option-active ".concat(r),i),z(t,"rdw-option-disabled",c),t)),onClick:this.onClick,"aria-selected":i,title:a},n)}}],_(r.prototype,e),n&&_(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();function B(t){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function F(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Y(t,e){return(Y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function Q(t){return(Q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}U.propTypes={onClick:p.a.func.isRequired,children:p.a.any,value:p.a.string,className:p.a.string,activeClassName:p.a.string,active:p.a.bool,disabled:p.a.bool,title:p.a.string},U.defaultProps={activeClassName:""},n(12);var H=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Y(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=Q(r);return e=t?Reflect.construct(n,arguments,Q(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===B(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return(t=o.call.apply(o,[this].concat(n))).state={highlighted:-1},t.onChange=function(e){var n=t.props.onChange;n&&n(e),t.toggleExpansion()},t.setHighlighted=function(e){t.setState({highlighted:e})},t.toggleExpansion=function(){var e=t.props,n=e.doExpand,o=e.doCollapse;e.expanded?o():n()},t}return e=[{key:"componentDidUpdate",value:function(t){var e=this.props.expanded;t.expanded&&!e&&this.setState({highlighted:-1})}},{key:"render",value:function(){var t=this,e=this.props,n=e.expanded,o=e.children,r=e.className,i=e.optionWrapperClassName,c=e.ariaLabel,a=e.onExpandEvent,l=e.title,u=this.state.highlighted,p=o.slice(1,o.length);return s.a.createElement("div",{className:m()("rdw-dropdown-wrapper",r),"aria-expanded":n,"aria-label":c||"rdw-dropdown"},s.a.createElement("a",{className:"rdw-dropdown-selectedtext",onClick:a,title:l},o[0],s.a.createElement("div",{className:m()({"rdw-dropdown-carettoclose":n,"rdw-dropdown-carettoopen":!n})})),n?s.a.createElement("ul",{className:m()("rdw-dropdown-optionwrapper",i),onClick:k},s.a.Children.map(p,function(e,n){return e&&s.a.cloneElement(e,{onSelect:t.onChange,highlighted:u===n,setHighlighted:t.setHighlighted,index:n})})):void 0)}}],F(r.prototype,e),n&&F(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();function Z(t){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function W(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function G(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function J(t,e){return(J=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}
1function V(t){return(V=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}H.propTypes={children:p.a.any,onChange:p.a.func,className:p.a.string,expanded:p.a.bool,doExpand:p.a.func,doCollapse:p.a.func,onExpandEvent:p.a.func,optionWrapperClassName:p.a.string,ariaLabel:p.a.string,title:p.a.string},n(13);var q=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&J(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=V(r);return e=t?Reflect.construct(n,arguments,V(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===Z(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return(t=o.call.apply(o,[this].concat(n))).onClick=function(e){var n=t.props,o=n.onSelect,r=n.onClick,i=n.value;n.disabled||(o&&o(i),r&&(e.stopPropagation(),r(i)))},t.setHighlighted=function(){var e=t.props;(0,e.setHighlighted)(e.index)},t.resetHighlighted=function(){(0,t.props.setHighlighted)(-1)},t}return e=[{key:"render",value:function(){var t,e=this.props,n=e.children,o=e.active,r=e.disabled,i=e.highlighted,c=e.className,a=e.activeClassName,l=e.disabledClassName,u=e.highlightedClassName,p=e.title;return s.a.createElement("li",{className:m()("rdw-dropdownoption-default",c,(W(t={},"rdw-dropdownoption-active ".concat(a),o),W(t,"rdw-dropdownoption-highlighted ".concat(u),i),W(t,"rdw-dropdownoption-disabled ".concat(l),r),t)),onMouseEnter:this.setHighlighted,onMouseLeave:this.resetHighlighted,onClick:this.onClick,title:p},n)}}],G(r.prototype,e),n&&G(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();function K(t){return(K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function X(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function $(t,e){return($=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tt(t){return(tt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}q.propTypes={children:p.a.any,value:p.a.any,onClick:p.a.func,onSelect:p.a.func,setHighlighted:p.a.func,index:p.a.number,disabled:p.a.bool,active:p.a.bool,highlighted:p.a.bool,className:p.a.string,activeClassName:p.a.string,disabledClassName:p.a.string,highlightedClassName:p.a.string,title:p.a.string},q.defaultProps={activeClassName:"",disabledClassName:"",highlightedClassName:""},n(14);var te=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&$(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=tt(r);return e=t?Reflect.construct(n,arguments,tt(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===K(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(){return function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r),o.apply(this,arguments)}return e=[{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=t.currentState,o=t.onChange,r=t.translations;return s.a.createElement("div",{className:m()("rdw-inline-wrapper",e.className),"aria-label":"rdw-inline-control"},e.options.map(function(t,i){return s.a.createElement(U,{key:i,value:t,onClick:o,className:m()(e[t].className),active:!0===n[t]||"MONOSPACE"===t&&n.CODE,title:e[t].title||r["components.c
1ontrols.inline.".concat(t)]},s.a.createElement("img",{alt:"",src:e[t].icon}))}))}},{key:"renderInDropDown",value:function(){var t=this.props,e=t.config,n=t.expanded,o=t.doExpand,r=t.onExpandEvent,i=t.doCollapse,c=t.currentState,a=t.onChange,l=t.translations,u=e.className,p=e.dropdownClassName,d=e.title;return s.a.createElement(H,{className:m()("rdw-inline-dropdown",u),optionWrapperClassName:m()(p),onChange:a,expanded:n,doExpand:o,doCollapse:i,onExpandEvent:r,"aria-label":"rdw-inline-control",title:d},s.a.createElement("img",{src:O(e),alt:""}),e.options.map(function(t,n){return s.a.createElement(q,{key:n,value:t,className:m()("rdw-inline-dropdownoption",e[t].className),active:!0===c[t]||"MONOSPACE"===t&&c.CODE,title:e[t].title||l["components.controls.inline.".concat(t)]},s.a.createElement("img",{src:e[t].icon,alt:""}))}))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}],X(r.prototype,e),n&&X(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();function tn(t){return(tn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function to(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function tr(t,e){return(tr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function ti(t){return(ti=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}te.propTypes={expanded:p.a.bool,doExpand:p.a.func,doCollapse:p.a.func,onExpandEvent:p.a.func,config:p.a.object,onChange:p.a.func,currentState:p.a.object,translations:p.a.object};var tc=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&tr(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=ti(r);return e=t?Reflect.construct(n,arguments,ti(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===tn(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(t){(function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")})(this,r),(e=o.call(this,t)).onExpandEvent=function(){e.signalExpanded=!e.state.expanded},e.expandCollapse=function(){e.setState({expanded:e.signalExpanded}),e.signalExpanded=!1},e.toggleInlineStyle=function(t){var n="monospace"===t?"CODE":t.toUpperCase(),o=e.props,r=o.editorState,i=o.onChange,c=d.RichUtils.toggleInlineStyle(r,n);if("subscript"===t||"superscript"===t){var a=d.Modifier.removeInlineStyle(c.getCurrentContent(),c.getSelection(),"subscript"===t?"SUPERSCRIPT":"SUBSCRIPT");c=d.EditorState.push(c,a,"change-inline-style")}c&&i(c)},e.changeKeys=function(t){if(t){var e={};return v(t,function(t,n){e["CODE"===t?"monospace":t.toLowerCase()]=n}),e}},e.doExpand=function(){e.setState({expanded:!0})},e.doCollapse=function(){e.setState({expanded:!1})};var e,n=e.props,i=n.editorState,c=n.modalHandler;return e.state={currentStyles:i?e.changeKeys(Object(f.getSelectionInlineStyle)(i)):{}},c.registerCallBack(e.expandCollapse),e}return e=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentStyles:this.changeKeys(Object(f.getSelectionInlineStyle)(e))})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,o=this.state,r=o.expanded,i=o.currentStyles,c=e.component||te;return s.a.createElement(c,{config:e,translations:n,currentState:i,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.toggleInlineStyle})}}],to(r.prototype,e),n&&to(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();function ta(t){return(ta="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tl(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}
1function ts(t,e){return(ts=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tu(t){return(tu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}tc.propTypes={onChange:p.a.func.isRequired,editorState:p.a.object.isRequired,modalHandler:p.a.object,config:p.a.object,translations:p.a.object},n(15);var tp=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ts(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=tu(r);return e=t?Reflect.construct(n,arguments,tu(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===ta(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(t){var e;return function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r),(e=o.call(this,t)).getBlockTypes=function(t){return[{label:"Normal",displayName:t["components.controls.blocktype.normal"]},{label:"H1",displayName:t["components.controls.blocktype.h1"]},{label:"H2",displayName:t["components.controls.blocktype.h2"]},{label:"H3",displayName:t["components.controls.blocktype.h3"]},{label:"H4",displayName:t["components.controls.blocktype.h4"]},{label:"H5",displayName:t["components.controls.blocktype.h5"]},{label:"H6",displayName:t["components.controls.blocktype.h6"]},{label:"Blockquote",displayName:t["components.controls.blocktype.blockquote"]},{label:"Code",displayName:t["components.controls.blocktype.code"]}]},e.state={blockTypes:e.getBlockTypes(t.translations)},e}return e=[{key:"componentDidUpdate",value:function(t){var e=this.props.translations;e!==t.translations&&this.setState({blockTypes:this.getBlockTypes(e)})}},{key:"renderFlat",value:function(t){var e=this.props,n=e.config.className,o=e.onChange,r=e.currentState.blockType;return s.a.createElement("div",{className:m()("rdw-inline-wrapper",n)},t.map(function(t,e){return s.a.createElement(U,{key:e,value:t.label,active:r===t.label,onClick:o},t.displayName)}))}},{key:"renderInDropdown",value:function(t){var e=this.props,n=e.config,o=n.className,r=n.dropdownClassName,i=n.title,c=e.currentState.blockType,a=e.expanded,l=e.doExpand,u=e.onExpandEvent,p=e.doCollapse,d=e.onChange,f=e.translations,y=this.state.blockTypes.filter(function(t){return t.label===c}),g=y&&y[0]&&y[0].displayName;return s.a.createElement("div",{className:"rdw-block-wrapper","aria-label":"rdw-block-control"},s.a.createElement(H,{className:m()("rdw-block-dropdown",o),optionWrapperClassName:m()(r),onChange:d,expanded:a,doExpand:l,doCollapse:p,onExpandEvent:u,title:i||f["components.controls.blocktype.blocktype"]},s.a.createElement("span",null,g||f["components.controls.blocktype.blocktype"]),t.map(function(t,e){return s.a.createElement(q,{active:c===t.label,value:t.label,key:e},t.displayName)})))}},{key:"render",value:function(){var t=this.props.config,e=t.inDropdown,n=this.state.blockTypes.filter(function(e){var n=e.label;return -1<t.options.indexOf(n)});return e?this.renderInDropdown(n):this.renderFlat(n)}}],tl(r.prototype,e),n&&tl(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();function td(t){return(td="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tf(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}
1function ty(t,e){return(ty=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tm(t){return(tm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}tp.propTypes={expanded:p.a.bool,onExpandEvent:p.a.func,doExpand:p.a.func,doCollapse:p.a.func,onChange:p.a.func,config:p.a.object,currentState:p.a.object,translations:p.a.object};var tg=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ty(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=tm(r);return e=t?Reflect.construct(n,arguments,tm(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===td(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(t){(function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")})(this,r),(e=o.call(this,t)).onExpandEvent=function(){e.signalExpanded=!e.state.expanded},e.expandCollapse=function(){e.setState({expanded:e.signalExpanded}),e.signalExpanded=!1},e.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"}],e.doExpand=function(){e.setState({expanded:!0})},e.doCollapse=function(){e.setState({expanded:!1})},e.toggleBlockType=function(t){var n=e.blocksTypes.find(function(e){return e.label===t}).style,o=e.props,r=o.editorState,i=o.onChange,c=d.RichUtils.toggleBlockType(r,n);c&&i(c)};var e,n=t.editorState,i=t.modalHandler;return e.state={expanded:!1,currentBlockType:n?Object(f.getSelectedBlocksType)(n):"unstyled"},i.registerCallBack(e.expandCollapse),e}return e=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentBlockType:Object(f.getSelectedBlocksType)(e)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,o=this.state,r=o.expanded,i=o.currentBlockType,c=e.component||tp,a=this.blocksTypes.find(function(t){return t.style===i});return s.a.createElement(c,{config:e,translations:n,currentState:{blockType:a&&a.label},onChange:this.toggleBlockType,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}],tf(r.prototype,e),n&&tf(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();function tb(t){return(tb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function th(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function tM(t,e){return(tM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tj(t){return(tj=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}tg.propTypes={onChange:p.a.func.isRequired,editorState:p.a.object,modalHandler:p.a.object,config:p.a.object,translations:p.a.object},n(16);var tN=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&tM(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=tj(r);return e=t?Reflect.construct(n,arguments,tj(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===tb(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return(t=o.call.apply(o,[this].concat(n))).state={defaultFontSize:void 0},t}return e=[{key:"componentDidMount",value:function(){var t=document.getElementsByClassName("DraftEditor-root");
1if(t&&0<t.length){var e=window.getComputedStyle(t[0]).getPropertyValue("font-size");e=e.substring(0,e.length-2),this.setState({defaultFontSize:e})}}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,o=e.className,r=e.dropdownClassName,i=e.options,c=e.title,a=t.onChange,l=t.expanded,u=t.doCollapse,p=t.onExpandEvent,d=t.doExpand,f=t.translations,y=this.props.currentState.fontSize,g=this.state.defaultFontSize;return g=Number(g),y=y||i&&0<=i.indexOf(g)&&g,s.a.createElement("div",{className:"rdw-fontsize-wrapper","aria-label":"rdw-font-size-control"},s.a.createElement(H,{className:m()("rdw-fontsize-dropdown",o),optionWrapperClassName:m()(r),onChange:a,expanded:l,doExpand:d,doCollapse:u,onExpandEvent:p,title:c||f["components.controls.fontsize.fontsize"]},y?s.a.createElement("span",null,y):s.a.createElement("img",{src:n,alt:""}),i.map(function(t,e){return s.a.createElement(q,{className:"rdw-fontsize-option",active:y===t,value:t,key:e},t)})))}}],th(r.prototype,e),n&&th(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();function tE(t){return(tE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function tC(t,e){return(tC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tL(t){return(tL=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}tN.propTypes={expanded:p.a.bool,onExpandEvent:p.a.func,doExpand:p.a.func,doCollapse:p.a.func,onChange:p.a.func,config:p.a.object,currentState:p.a.object,translations:p.a.object};var tv=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&tC(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=tL(r);return e=t?Reflect.construct(n,arguments,tL(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===tE(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(t){(function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")})(this,r),(e=o.call(this,t)).onExpandEvent=function(){e.signalExpanded=!e.state.expanded},e.expandCollapse=function(){e.setState({expanded:e.signalExpanded}),e.signalExpanded=!1},e.doExpand=function(){e.setState({expanded:!0})},e.doCollapse=function(){e.setState({expanded:!1})},e.toggleFontSize=function(t){var n=e.props,o=n.editorState,r=n.onChange,i=Object(f.toggleCustomInlineStyle)(o,"fontSize",t);i&&r(i)};var e,n=t.editorState,i=t.modalHandler;return e.state={expanded:void 0,currentFontSize:n?Object(f.getSelectionCustomInlineStyle)(n,["FONTSIZE"]).FONTSIZE:void 0},i.registerCallBack(e.expandCollapse),e}return e=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentFontSize:Object(f.getSelectionCustomInlineStyle)(e,["FONTSIZE"]).FONTSIZE})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,o=this.state,r=o.expanded,i=o.currentFontSize,c=e.component||tN,a=i&&Number(i.substring(9));return s.a.createElement(c,{config:e,translations:n,currentState:{fontSize:a},onChange:this.toggleFontSize,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}],tS(r.prototype,e),n&&tS(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();function tD(t){return(tD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tk(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function tO(t,e){return(tO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}
1function tw(t){return(tw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}tv.propTypes={onChange:p.a.func.isRequired,editorState:p.a.object,modalHandler:p.a.object,config:p.a.object,translations:p.a.object},n(17);var tx=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&tO(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=tw(r);return e=t?Reflect.construct(n,arguments,tw(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===tD(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return(t=o.call.apply(o,[this].concat(n))).state={defaultFontFamily:void 0},t}return e=[{key:"componentDidMount",value:function(){var t=document.getElementsByClassName("DraftEditor-root");if(t&&0<t.length){var e=window.getComputedStyle(t[0]).getPropertyValue("font-family");this.setState({defaultFontFamily:e})}}},{key:"render",value:function(){var t=this.state.defaultFontFamily,e=this.props,n=e.config,o=n.className,r=n.dropdownClassName,i=n.options,c=n.title,a=e.translations,l=e.onChange,u=e.expanded,p=e.doCollapse,d=e.onExpandEvent,f=e.doExpand,y=this.props.currentState.fontFamily;return y=y||i&&t&&i.some(function(e){return e.toLowerCase()===t.toLowerCase()})&&t,s.a.createElement("div",{className:"rdw-fontfamily-wrapper","aria-label":"rdw-font-family-control"},s.a.createElement(H,{className:m()("rdw-fontfamily-dropdown",o),optionWrapperClassName:m()("rdw-fontfamily-optionwrapper",r),onChange:l,expanded:u,doExpand:f,doCollapse:p,onExpandEvent:d,title:c||a["components.controls.fontfamily.fontfamily"]},s.a.createElement("span",{className:"rdw-fontfamily-placeholder"},y||a["components.controls.fontfamily.fontfamily"]),i.map(function(t,e){return s.a.createElement(q,{active:y===t,value:t,key:e},t)})))}}],tk(r.prototype,e),n&&tk(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();function tI(t){return(tI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function tA(t,e){return(tA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tz(t){return(tz=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}tx.propTypes={expanded:p.a.bool,onExpandEvent:p.a.func,doExpand:p.a.func,doCollapse:p.a.func,onChange:p.a.func,config:p.a.object,currentState:p.a.object,translations:p.a.object};var t_=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&tA(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=tz(r);return e=t?Reflect.construct(n,arguments,tz(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===tI(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(t){(function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")})(this,r),(e=o.call(this,t)).onExpandEvent=function(){e.signalExpanded=!e.state.expanded},e.expandCollapse=function(){e.setState({expanded:e.signalExpanded}),e.signalExpanded=!1},e.doExpand=function(){e.setState({expanded:!0})},e.doCollapse=function(){e.setState({expanded:!1})},e.toggleFontFamily=function(t){var n=e.props,o=n.editorState,r=n.onChange,i=Object(f.toggleCustomInlineStyle)(o,"fontFamily",t);i&&r(i)};var e,n=t.editorState,i=t.modalHandler;return e.state={expanded:void 0,currentFontFamily:n?Object(f.getSelectionCustomInlineStyle)(n,["FONTFAMILY"]).FONTFAMILY:void 0},i.registerCallBack(e.expandCollapse),e}return e=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentFontFamily:Object(f.getSelectionCustomInlineStyle)(e,["FONTFAMILY"]).FONTFAMILY})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,o=this.state,r=o.expanded,i=o.currentFontFamily,c=e.component||tx,a=i&&i.substring(11);return s.a.createElement(c,{translations:n,config:e,currentState:{fontFamily:a},onChange:this.toggleFontFamily,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}
1],tT(r.prototype,e),n&&tT(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();function tP(t){return(tP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tR(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function tU(t,e){return(tU=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tB(t){return(tB=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}t_.propTypes={onChange:p.a.func.isRequired,editorState:p.a.object,modalHandler:p.a.object,config:p.a.object,translations:p.a.object},n(18);var tF=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&tU(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=tB(r);return e=t?Reflect.construct(n,arguments,tB(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===tP(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return(t=o.call.apply(o,[this].concat(n))).options=["unordered","ordered","indent","outdent"],t.toggleBlockType=function(e){(0,t.props.onChange)(e)},t.indent=function(){(0,t.props.onChange)("indent")},t.outdent=function(){(0,t.props.onChange)("outdent")},t}return e=[{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=t.currentState.listType,o=t.translations,r=t.indentDisabled,i=t.outdentDisabled,c=e.options,a=e.unordered,l=e.ordered,u=e.indent,p=e.outdent,d=e.className;return s.a.createElement("div",{className:m()("rdw-list-wrapper",d),"aria-label":"rdw-list-control"},0<=c.indexOf("unordered")&&s.a.createElement(U,{value:"unordered",onClick:this.toggleBlockType,className:m()(a.className),active:"unordered"===n,title:a.title||o["components.controls.list.unordered"]},s.a.createElement("img",{src:a.icon,alt:""})),0<=c.indexOf("ordered")&&s.a.createElement(U,{value:"ordered",onClick:this.toggleBlockType,className:m()(l.className),active:"ordered"===n,title:l.title||o["components.controls.list.ordered"]},s.a.createElement("img",{src:l.icon,alt:""})),0<=c.indexOf("indent")&&s.a.createElement(U,{onClick:this.indent,disabled:r,className:m()(u.className),title:u.title||o["components.controls.list.indent"]},s.a.createElement("img",{src:u.icon,alt:""})),0<=c.indexOf("outdent")&&s.a.createElement(U,{onClick:this.outdent,disabled:i,className:m()(p.className),title:p.title||o["components.controls.list.outdent"]},s.a.createElement("img",{src:p.icon,alt:""})))}},{key:"renderInDropDown",value:function(){var t=this,e=this.props,n=e.config,o=e.expanded,r=e.doCollapse,i=e.doExpand,c=e.onExpandEvent,a=e.onChange,l=e.currentState.listType,u=e.translations,p=n.options,d=n.className,f=n.dropdownClassName,y=n.title;return s.a.createElement(H,{className:m()("rdw-list-dropdown",d),optionWrapperClassName:m()(f),onChange:a,expanded:o,doExpand:i,doCollapse:r,onExpandEvent:c,"aria-label":"rdw-list-control",title:y||u["components.controls.list.list"]},s.a.createElement("img",{src:O(n),alt:""}),this.options.filter(function(t){return 0<=p.indexOf(t)}).map(function(e,o){return s.a.createElement(q,{key:o,value:e,disabled:t.props["".concat(e,"Disabled")],className:m()("rdw-list-dropdownOption",n[e].className),active:l===e,title:n[e].title||u["components.c
1ontrols.list.".concat(e)]},s.a.createElement("img",{src:n[e].icon,alt:""}))}))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}],tR(r.prototype,e),n&&tR(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();function tY(t){return(tY="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tQ(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function tH(t,e){return(tH=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tZ(t){return(tZ=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}tF.propTypes={expanded:p.a.bool,doExpand:p.a.func,doCollapse:p.a.func,onExpandEvent:p.a.func,config:p.a.object,onChange:p.a.func,currentState:p.a.object,translations:p.a.object,indentDisabled:p.a.bool,outdentDisabled:p.a.bool};var tW=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&tH(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=tZ(r);return e=t?Reflect.construct(n,arguments,tZ(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===tY(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(t){(function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")})(this,r),(e=o.call(this,t)).onExpandEvent=function(){e.signalExpanded=!e.state.expanded},e.onChange=function(t){"unordered"===t?e.toggleBlockType("unordered-list-item"):"ordered"===t?e.toggleBlockType("ordered-list-item"):"indent"===t?e.adjustDepth(1):e.adjustDepth(-1)},e.expandCollapse=function(){e.setState({expanded:e.signalExpanded}),e.signalExpanded=!1},e.doExpand=function(){e.setState({expanded:!0})},e.doCollapse=function(){e.setState({expanded:!1})},e.toggleBlockType=function(t){var n=e.props,o=n.onChange,r=n.editorState,i=d.RichUtils.toggleBlockType(r,t);i&&o(i)},e.adjustDepth=function(t){var n=e.props,o=n.onChange,r=n.editorState,i=Object(f.changeDepth)(r,t,4);i&&o(i)},e.isIndentDisabled=function(){var t=e.props.editorState,n=e.state.currentBlock,o=Object(f.getBlockBeforeSelectedBlock)(t);return!o||!Object(f.isListBlock)(n)||o.get("type")!==n.get("type")||o.get("depth")<n.get("depth")},e.isOutdentDisabled=function(){var t=e.state.currentBlock;return!t||!Object(f.isListBlock)(t)||0>=t.get("depth")};var e,n=e.props,i=n.editorState,c=n.modalHandler;return e.state={expanded:!1,currentBlock:i?Object(f.getSelectedBlock)(i):void 0},c.registerCallBack(e.expandCollapse),e}return e=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentBlock:Object(f.getSelectedBlock)(e)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t,e=this.props,n=e.config,o=e.translations,r=this.state,i=r.expanded,c=r.currentBlock,a=n.component||tF;"unordered-list-item"===c.get("type")?t="unordered":"ordered-list-item"===c.get("type")&&(t="ordered");var l=this.isIndentDisabled(),u=this.isOutdentDisabled();return s.a.createElement(a,{config:n,translations:o,currentState:{listType:t},expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.onChange,indentDisabled:l,outdentDisabled:u})}}],tQ(r.prototype,e),n&&tQ(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();function tG(t){return(tG="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tJ(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}
1function tV(t,e){return(tV=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tq(t){return(tq=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}tW.propTypes={onChange:p.a.func.isRequired,editorState:p.a.object.isRequired,modalHandler:p.a.object,config:p.a.object,translations:p.a.object},n(19);var tK=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&tV(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=tq(r);return e=t?Reflect.construct(n,arguments,tq(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===tG(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(){return function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r),o.apply(this,arguments)}return e=[{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=e.options,o=e.left,r=e.center,i=e.right,c=e.justify,a=e.className,l=t.onChange,u=t.currentState.textAlignment,p=t.translations;return s.a.createElement("div",{className:m()("rdw-text-align-wrapper",a),"aria-label":"rdw-textalign-control"},0<=n.indexOf("left")&&s.a.createElement(U,{value:"left",className:m()(o.className),active:"left"===u,onClick:l,title:o.title||p["components.controls.textalign.left"]},s.a.createElement("img",{src:o.icon,alt:""})),0<=n.indexOf("center")&&s.a.createElement(U,{value:"center",className:m()(r.className),active:"center"===u,onClick:l,title:r.title||p["components.controls.textalign.center"]},s.a.createElement("img",{src:r.icon,alt:""})),0<=n.indexOf("right")&&s.a.createElement(U,{value:"right",className:m()(i.className),active:"right"===u,onClick:l,title:i.title||p["components.controls.textalign.right"]},s.a.createElement("img",{src:i.icon,alt:""})),0<=n.indexOf("justify")&&s.a.createElement(U,{value:"justify",className:m()(c.className),active:"justify"===u,onClick:l,title:c.title||p["components.controls.textalign.justify"]},s.a.createElement("img",{src:c.icon,alt:""})))}},{key:"renderInDropDown",value:function(){var t=this.props,e=t.config,n=t.expanded,o=t.doExpand,r=t.onExpandEvent,i=t.doCollapse,c=t.currentState.textAlignment,a=t.onChange,l=t.translations,u=e.options,p=e.left,d=e.center,f=e.right,y=e.justify,g=e.className,b=e.dropdownClassName,h=e.title;return s.a.createElement(H,{className:m()("rdw-text-align-dropdown",g),optionWrapperClassName:m()(b),onChange:a,expanded:n,doExpand:o,doCollapse:i,onExpandEvent:r,"aria-label":"rdw-textalign-control",title:h||l["components.controls.textalign.textalign"]},s.a.createElement("img",{src:c&&e[c]&&e[c].icon||O(e),alt:""}),0<=u.indexOf("left")&&s.a.createElement(q,{value:"left",active:"left"===c,className:m()("rdw-text-align-dropdownOption",p.className),title:p.title||l["components.controls.textalign.left"]},s.a.createElement("img",{src:p.icon,alt:""})),0<=u.indexOf("center")&&s.a.createElement(q,{value:"center",active:"center"===c,className:m()("rdw-text-align-dropdownOption",d.className),title:d.title||l["components.controls.textalign.center"]},s.a.createElement("img",{src:d.icon,alt:""})),0<=u.indexOf("right")&&s.a.createElement(q,{value:"right",active:"right"===c,className:m()("rdw-text-align-dropdownOption",f.className),title:f.title||l["components.controls.textalign.right"]},s.a.createElement("img",{src:f.icon,alt:""})),0<=u.indexOf("justify")&&s.a.createElement(q,{value:"justify",active:"justify"===c,className:m()("rdw-text-align-dropdownOption",y.className),title:y.title||l["components.c
1ontrols.textalign.justify"]},s.a.createElement("img",{src:y.icon,alt:""})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}],tJ(r.prototype,e),n&&tJ(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();function tX(t){return(tX="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function t$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function t0(t,e){return(t0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function t4(t){return(t4=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}tK.propTypes={expanded:p.a.bool,doExpand:p.a.func,doCollapse:p.a.func,onExpandEvent:p.a.func,config:p.a.object,onChange:p.a.func,currentState:p.a.object,translations:p.a.object};var t1=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&t0(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=t4(r);return e=t?Reflect.construct(n,arguments,t4(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===tX(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(t){(function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")})(this,r),(e=o.call(this,t)).onExpandEvent=function(){e.signalExpanded=!e.state.expanded},e.expandCollapse=function(){e.setState({expanded:e.signalExpanded}),e.signalExpanded=!1},e.doExpand=function(){e.setState({expanded:!0})},e.doCollapse=function(){e.setState({expanded:!1})},e.addBlockAlignmentData=function(t){var n=e.props,o=n.editorState;(0,n.onChange)(e.state.currentTextAlignment!==t?Object(f.setBlockData)(o,{"text-align":t}):Object(f.setBlockData)(o,{"text-align":void 0}))};var e,n=e.props.modalHandler;return e.state={currentTextAlignment:void 0},n.registerCallBack(e.expandCollapse),e}return e=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e!==t.editorState&&this.setState({currentTextAlignment:Object(f.getSelectedBlocksMetadata)(e).get("text-align")})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,o=this.state,r=o.expanded,i=o.currentTextAlignment,c=e.component||tK;return s.a.createElement(c,{config:e,translations:n,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{textAlignment:i},onChange:this.addBlockAlignmentData})}}],t$(r.prototype,e),n&&t$(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();function t2(t){return(t2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function t3(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function t5(t,e){return(t5=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}
1function t6(t){return(t6=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}t1.propTypes={editorState:p.a.object.isRequired,onChange:p.a.func.isRequired,modalHandler:p.a.object,config:p.a.object,translations:p.a.object},n(20);var t8=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&t5(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=t6(r);return e=t?Reflect.construct(n,arguments,t6(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===t2(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return(t=o.call.apply(o,[this].concat(n))).state={currentStyle:"color"},t.onChange=function(e){(0,t.props.onChange)(t.state.currentStyle,e)},t.setCurrentStyleColor=function(){t.setState({currentStyle:"color"})},t.setCurrentStyleBgcolor=function(){t.setState({currentStyle:"bgcolor"})},t.renderModal=function(){var e=t.props,n=e.config,o=n.popupClassName,r=n.colors,i=e.currentState,c=i.color,a=i.bgColor,l=e.translations,u=t.state.currentStyle,p="color"===u?c:a;return s.a.createElement("div",{className:m()("rdw-colorpicker-modal",o),onClick:k},s.a.createElement("span",{className:"rdw-colorpicker-modal-header"},s.a.createElement("span",{className:m()("rdw-colorpicker-modal-style-label",{"rdw-colorpicker-modal-style-label-active":"color"===u}),onClick:t.setCurrentStyleColor},l["components.controls.colorpicker.text"]),s.a.createElement("span",{className:m()("rdw-colorpicker-modal-style-label",{"rdw-colorpicker-modal-style-label-active":"bgcolor"===u}),onClick:t.setCurrentStyleBgcolor},l["components.controls.colorpicker.background"])),s.a.createElement("span",{className:"rdw-colorpicker-modal-options"},r.map(function(e,n){return s.a.createElement(U,{value:e,key:n,className:"rdw-colorpicker-option",activeClassName:"rdw-colorpicker-option-active",active:p===e,onClick:t.onChange},s.a.createElement("span",{style:{backgroundColor:e},className:"rdw-colorpicker-cube"}))})))},t}return e=[{key:"componentDidUpdate",value:function(t){this.props.expanded&&!t.expanded&&this.setState({currentStyle:"color"})}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,o=e.className,r=e.title,i=t.expanded,c=t.onExpandEvent,a=t.translations;return s.a.createElement("div",{className:"rdw-colorpicker-wrapper","aria-haspopup":"true","aria-expanded":i,"aria-label":"rdw-color-picker",title:r||a["components.controls.colorpicker.colorpicker"]},s.a.createElement(U,{onClick:c,className:m()(o)},s.a.createElement("img",{src:n,alt:""})),i?this.renderModal():void 0)}}],t3(r.prototype,e),n&&t3(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();function t9(t){return(t9="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function t7(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function et(t,e){return(et=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function ee(t){return(ee=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}t8.propTypes={expanded:p.a.bool,onExpandEvent:p.a.func,onChange:p.a.func,config:p.a.object,currentState:p.a.object,translations:p.a.object};var en=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&et(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=ee(r);return e=t?Reflect.construct(n,arguments,ee(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===t9(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(t){(function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")})(this,r),(e=o.call(this,t)).state={expanded:!1,currentColor:void 0,currentBgColor:void 0},e.onExpandEvent=function(){e.signalExpanded=!e.state.expanded},e.expandCollapse=function(){e.setState({expanded:e.signalExpanded}),e.signalExpanded=!1},e.doExpand=function(){e.setState({expanded:!0})},e.doCollapse=function(){e.setState({expanded:!1})},e.toggleColor=function(t,n){var o=e.props,r=o.editorState,i=o.onChange,c=Object(f.toggleCustomInlineStyle)(r,t,n);c&&i(c),e.doCollapse()};var e,n=t.editorState,i=t.modalHandler,c={expanded:!1,currentColor:void 0,currentBgColor:void 0};return n&&(c.currentColor=Object(f.getSelectionCustomInlineStyle)(n,["COLOR"]).COLOR,
1c.currentBgColor=Object(f.getSelectionCustomInlineStyle)(n,["BGCOLOR"]).BGCOLOR),e.state=c,i.registerCallBack(e.expandCollapse),e}return e=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentColor:Object(f.getSelectionCustomInlineStyle)(e,["COLOR"]).COLOR,currentBgColor:Object(f.getSelectionCustomInlineStyle)(e,["BGCOLOR"]).BGCOLOR})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,o=this.state,r=o.currentColor,i=o.currentBgColor,c=o.expanded,a=e.component||t8,l=r&&r.substring(6),u=i&&i.substring(8);return s.a.createElement(a,{config:e,translations:n,onChange:this.toggleColor,expanded:c,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{color:l,bgColor:u}})}}],t7(r.prototype,e),n&&t7(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();en.propTypes={onChange:p.a.func.isRequired,editorState:p.a.object.isRequired,modalHandler:p.a.object,config:p.a.object,translations:p.a.object};var eo=n(7),er=n.n(eo);function ei(t){return(ei="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ec(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ea(t,e){return(ea=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function el(t){return(el=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n(26);var es=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ea(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=el(r);return e=t?Reflect.construct(n,arguments,el(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===ei(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return(t=o.call.apply(o,[this].concat(n))).state={showModal:!1,linkTarget:"",linkTitle:"",linkTargetOption:t.props.config.defaultTargetOption},t.removeLink=function(){(0,t.props.onChange)("unlink")},t.addLink=function(){var e=t.props.onChange,n=t.state;e("link",n.linkTitle,n.linkTarget,n.linkTargetOption)},t.updateValue=function(e){var n,o,r;t.setState((n={},o="".concat(e.target.name),r=e.target.value,o in n?Object.defineProperty(n,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[o]=r,n))},t.updateTargetOption=function(e){t.setState({linkTargetOption:e.target.checked?"_blank":"_self"})},t.hideModal=function(){t.setState({showModal:!1})},t.signalExpandShowModal=function(){var e=t.props,n=e.onExpandEvent,o=e.currentState,r=o.link,i=o.selectionText,c=t.state.linkTargetOption;n(),t.setState({showModal:!0,linkTarget:r&&r.target||"",linkTargetOption:r&&r.targetOption||c,linkTitle:r&&r.title||i})},t.forceExpandAndShowModal=function(){var e=t.props,n=e.doExpand,o=e.currentState,r=o.link,i=o.selectionText,c=t.state.linkTargetOption;n(),t.setState({showModal:!0,linkTarget:r&&r.target,linkTargetOption:r&&r.targetOption||c,linkTitle:r&&r.title||i})},t}return e=[{key:"componentDidUpdate",value:function(t){t.expanded&&!this.props.expanded&&this.setState({showModal:!1,linkTarget:"",linkTitle:"",linkTargetOption:this.props.config.defaultTargetOption})}},{key:"renderAddLinkModal",value:function(){var t=this.props,e=t.config.popupClassName,n=t.doCollapse,o=t.translations,r=this.state,i=r.linkTitle,c=r.linkTarget,a=r.linkTargetOption;return s.a.createElement("div",{className:m()("rdw-link-modal",e),onClick:k},s.a.createElement("label",{className:"rdw-link-modal-label",htmlFor:"linkTitle"}
vendor: 4,211 bytes, line 1
1,o["components.controls.link.linkTitle"]),s.a.createElement("input",{id:"linkTitle",className:"rdw-link-modal-input",onChange:this.updateValue,onBlur:this.updateValue,name:"linkTitle",value:i}),s.a.createElement("label",{className:"rdw-link-modal-label",htmlFor:"linkTarget"},o["components.controls.link.linkTarget"]),s.a.createElement("input",{id:"linkTarget",className:"rdw-link-modal-input",onChange:this.updateValue,onBlur:this.updateValue,name:"linkTarget",value:c}),s.a.createElement("label",{className:"rdw-link-modal-target-option",htmlFor:"openLinkInNewWindow"},s.a.createElement("input",{id:"openLinkInNewWindow",type:"checkbox",defaultChecked:"_blank"===a,value:"_blank",onChange:this.updateTargetOption}),s.a.createElement("span",null,o["components.controls.link.linkTargetOption"])),s.a.createElement("span",{className:"rdw-link-modal-buttonsection"},s.a.createElement("button",{className:"rdw-link-modal-btn",onClick:this.addLink,disabled:!c||!i},o["generic.add"]),s.a.createElement("button",{className:"rdw-link-modal-btn",onClick:n},o["generic.cancel"])))}},{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=e.options,o=e.link,r=e.unlink,i=e.className,c=t.currentState,a=t.expanded,l=t.translations,u=this.state.showModal;return s.a.createElement("div",{className:m()("rdw-link-wrapper",i),"aria-label":"rdw-link-control"},0<=n.indexOf("link")&&s.a.createElement(U,{value:"unordered-list-item",className:m()(o.className),onClick:this.signalExpandShowModal,"aria-haspopup":"true","aria-expanded":u,title:o.title||l["components.controls.link.link"]},s.a.createElement("img",{src:o.icon,alt:""})),0<=n.indexOf("unlink")&&s.a.createElement(U,{disabled:!c.link,value:"ordered-list-item",className:m()(r.className),onClick:this.removeLink,title:r.title||l["components.controls.link.unlink"]},s.a.createElement("img",{src:r.icon,alt:""})),a&&u?this.renderAddLinkModal():void 0)}},{key:"renderInDropDown",value:function(){var t=this.props,e=t.expanded,n=t.onExpandEvent,o=t.doCollapse,r=t.doExpand,i=t.onChange,c=t.config,a=t.currentState,l=t.translations,u=c.options,p=c.link,d=c.unlink,f=c.className,y=c.dropdownClassName,g=c.title,b=this.state.showModal;return s.a.createElement("div",{className:"rdw-link-wrapper","aria-haspopup":"true","aria-label":"rdw-link-control","aria-expanded":e,title:g},s.a.createElement(H,{className:m()("rdw-link-dropdown",f),optionWrapperClassName:m()(y),onChange:i,expanded:e&&!b,doExpand:r,doCollapse:o,onExpandEvent:n},s.a.createElement("img",{src:O(c),alt:""}),0<=u.indexOf("link")&&s.a.createElement(q,{onClick:this.forceExpandAndShowModal,className:m()("rdw-link-dropdownoption",p.className),title:p.title||l["components.controls.link.link"]},s.a.createElement("img",{src:p.icon,alt:""})),0<=u.indexOf("unlink")&&s.a.createElement(q,{onClick:this.removeLink,disabled:!a.link,className:m()("rdw-link-dropdownoption",d.className),title:d.title||l["components.controls.link.unlink"]},s.a.createElement("img",{src:d.icon,alt:""}))),e&&b?this.renderAddLinkModal():void 0)}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}],ec(r.prototype,e),n&&ec(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();function eu(t){return(eu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ep(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ed(t,e){return(ed=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function ef(t){return(ef=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ey(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)}return n}function em(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?ey(Object(n),!0).forEach(function(e){var o;o=n[e],e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ey(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}es.propTypes={expanded:p.a.bool,doExpand:p.a.func,doCollapse:p.a.func,onExpandEvent:p.a.func,config:p.a.object,onChange:p.a.func,currentState:p.a.object,translations:p.a.object};var eg=er()(),eb=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ed(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=ef(r);return e=t?Reflect.construct(n,arguments,ef(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===eu(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(t){(function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")})(this,r),(e=o.call(this,t)).onExpandEvent=function(){e.signalExpanded=!e.state.expanded},e.onChange=function(t,n,o,r){var i=e.props.config.linkCallback;if("link"===t){var c=(i||function(t){var e=eg.match(t.target);return em(em({},t),{},{target:e&&e[0]&&e[0].url||t.target})})({title:n,target:o,targetOption:r});e.addLink(c.title,c.target,c.targetOption)}else e.removeLink()},e.getCurrentValues=function(){var t=e.props.editorState,n=e.state.currentEntity,o=t.getCurrentContent(),r={};if(n&&"LINK"===o.getEntity(n).get("type")){r.link={};var i=n&&Object(f.getEntityRange)(t,n);r.link.target=n&&o.getEntity(n).get("data").url,r.link.targetOption=n&&o.getEntity(n).get("data").targetOption,r.link.title=i&&i.text}return r.selectionText=Object(f.getSelectionText)(t),r},e.doExpand=function(){e.setState({expanded:!0})},e.expandCollapse=function(){e.setState({expanded:e.signalExpanded}),e.signalExpanded=!1},e.doCollapse=function(){e.setState({expanded:!1})},e.removeLink=function(){var t=e.props,n=t.editorState,o=t.onChange,r=e.state.currentEntity,i=n.getSelection();if(r){var c=Object(f.getEntityRange)(n,r);i=i.getIsBackward()?i.merge({anchorOffset:c.end,focusOffset:c.start}):i.merge({anchorOffset:c.start,focusOffset:c.end}),o(d.RichUtils.toggleLink(n,i,null))}},e.addLink=function(t,n,o){var r=e.props,i=r.editorState,c=r.onChange,a=e.state.currentEntity,l=i.getSelection();if(a){var s=Object(f.getEntityRange)(i,a);l=l.getIsBackward()?l.merge({anchorOffset:s.end,focusOffset:s.start}):l.merge({anchorOffset:s.start,focusOffset:s.end})}var u=i.getCurrentContent().createEntity("LINK","MUTABLE",{url:n,targetOption:o}).getLastCreatedEntityKey(),p=d.Modifier.replaceText(i.getCurrentContent(),l,"".concat(t),i.getCurrentInlineStyle(),u),y=d.EditorState.push(i,p,"insert-characters");l=y.getSelection().merge({anchorOffset:l.get("anchorOffset")+t.length,focusOffset:l.get("anchorOffset")+t.length}),y=d.EditorState.acceptSelection(y,l),p=d.Modifier.insertText(y.getCurrentContent(),l," ",y.getCurrentInlineStyle(),void 0),c(d.EditorState.push(y,p,"insert-characters")),e.doCollapse()};var e,n=e.props,i=n.editorState,c=n.modalHandler;return e.state={expanded:!1,link:void 0,selectionText:void 0,currentEntity:i?Object(f.getSelectionEntity)(i):void 0},c.registerCallBack(e.expandCollapse),e}return e=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentEntity:Object(f.getSelectionEntity)(e)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,o=this.state.expanded,r=this.getCurrentValues(),i=r.link,c=r.selectionText,a=e.component||es;
1return s.a.createElement(a,{config:e,translations:n,expanded:o,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{link:i,selectionText:c},onChange:this.onChange})}}],ep(r.prototype,e),n&&ep(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();function eh(t){return(eh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eM(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ej(t,e){return(ej=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function eN(t){return(eN=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}eb.propTypes={editorState:p.a.object.isRequired,onChange:p.a.func.isRequired,modalHandler:p.a.object,config:p.a.object,translations:p.a.object},n(27);var eE=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ej(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=eN(r);return e=t?Reflect.construct(n,arguments,eN(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===eh(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return(t=o.call.apply(o,[this].concat(n))).state={embeddedLink:"",height:t.props.config.defaultSize.height,width:t.props.config.defaultSize.width},t.onChange=function(){var e=t.props.onChange,n=t.state;e(n.embeddedLink,n.height,n.width)},t.updateValue=function(e){var n,o,r;t.setState((n={},o="".concat(e.target.name),r=e.target.value,o in n?Object.defineProperty(n,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[o]=r,n))},t}return e=[{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.expanded,o=e.config;if(!n&&t.expanded){var r=o.defaultSize,i=r.height,c=r.width;this.setState({embeddedLink:"",height:i,width:c})}}},{key:"rendeEmbeddedLinkModal",value:function(){var t=this.state,e=t.embeddedLink,n=t.height,o=t.width,r=this.props,i=r.config.popupClassName,c=r.doCollapse,a=r.translations;return s.a.createElement("div",{className:m()("rdw-embedded-modal",i),onClick:k},s.a.createElement("div",{className:"rdw-embedded-modal-header"},s.a.createElement("span",{className:"rdw-embedded-modal-header-option"},a["components.controls.embedded.embeddedlink"],s.a.createElement("span",{className:"rdw-embedded-modal-header-label"}))),s.a.createElement("div",{className:"rdw-embedded-modal-link-section"},s.a.createElement("span",{className:"rdw-embedded-modal-link-input-wrapper"},s.a.createElement("input",{className:"rdw-embedded-modal-link-input",placeholder:a["components.controls.embedded.enterlink"],onChange:this.updateValue,onBlur:this.updateValue,value:e,name:"embeddedLink"}),s.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),s.a.createElement("div",{className:"rdw-embedded-modal-size"},s.a.createElement("span",null,s.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:n,name:"height",className:"rdw-embedded-modal-size-input",placeholder:"Height"}),s.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),s.a.createElement("span",null,s.a.createElement("input",{onChange:this.updateV
1alue,onBlur:this.updateValue,value:o,name:"width",className:"rdw-embedded-modal-size-input",placeholder:"Width"}),s.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")))),s.a.createElement("span",{className:"rdw-embedded-modal-btn-section"},s.a.createElement("button",{type:"button",className:"rdw-embedded-modal-btn",onClick:this.onChange,disabled:!e||!n||!o},a["generic.add"]),s.a.createElement("button",{type:"button",className:"rdw-embedded-modal-btn",onClick:c},a["generic.cancel"])))}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,o=e.className,r=e.title,i=t.expanded,c=t.onExpandEvent,a=t.translations;return s.a.createElement("div",{className:"rdw-embedded-wrapper","aria-haspopup":"true","aria-expanded":i,"aria-label":"rdw-embedded-control"},s.a.createElement(U,{className:m()(o),value:"unordered-list-item",onClick:c,title:r||a["components.controls.embedded.embedded"]},s.a.createElement("img",{src:n,alt:""})),i?this.rendeEmbeddedLinkModal():void 0)}}],eM(r.prototype,e),n&&eM(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();function eS(t){return(eS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eC(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function eL(t,e){return(eL=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function ev(t){return(ev=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}eE.propTypes={expanded:p.a.bool,onExpandEvent:p.a.func,onChange:p.a.func,config:p.a.object,translations:p.a.object,doCollapse:p.a.func};var eD=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&eL(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=ev(r);return e=t?Reflect.construct(n,arguments,ev(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===eS(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return(t=o.call.apply(o,[this].concat(n))).state={expanded:!1},t.onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.expandCollapse=function(){t.setState({expanded:t.signalExpanded}),t.signalExpanded=!1},t.doExpand=function(){t.setState({expanded:!0})},t.doCollapse=function(){t.setState({expanded:!1})},t.addEmbeddedLink=function(e,n,o){var r=t.props,i=r.editorState,c=r.onChange,a=r.config.embedCallback,l=a?a(e):e,s=i.getCurrentContent().createEntity("EMBEDDED_LINK","MUTABLE",{src:l,height:n,width:o}).getLastCreatedEntityKey();c(d.AtomicBlockUtils.insertAtomicBlock(i,s," ")),t.doCollapse()},t}return e=[{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 t=this.props,e=t.config,n=t.translations,o=this.state.expanded,r=e.component||eE;return s.a.createElement(r,{config:e,translations:n,onChange:this.addEmbeddedLink,expanded:o,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}],eC(r.prototype,e),n&&eC(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();function ek(t){return(ek="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}
1function ew(t,e){return(ew=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function ex(t){return(ex=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}eD.propTypes={editorState:p.a.object.isRequired,onChange:p.a.func.isRequired,modalHandler:p.a.object,config:p.a.object,translations:p.a.object},n(28);var eI=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ew(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=ex(r);return e=t?Reflect.construct(n,arguments,ex(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===ek(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return(t=o.call.apply(o,[this].concat(n))).onChange=function(e){(0,t.props.onChange)(e.target.innerHTML)},t}return e=[{key:"renderEmojiModal",value:function(){var t=this,e=this.props.config,n=e.popupClassName,o=e.emojis;return s.a.createElement("div",{className:m()("rdw-emoji-modal",n),onClick:k},o.map(function(e,n){return s.a.createElement("span",{key:n,className:"rdw-emoji-icon",alt:"",onClick:t.onChange},e)}))}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,o=e.className,r=e.title,i=t.expanded,c=t.onExpandEvent,a=t.translations;return s.a.createElement("div",{className:"rdw-emoji-wrapper","aria-haspopup":"true","aria-label":"rdw-emoji-control","aria-expanded":i,title:r||a["components.controls.emoji.emoji"]},s.a.createElement(U,{className:m()(o),value:"unordered-list-item",onClick:c},s.a.createElement("img",{src:n,alt:""})),i?this.renderEmojiModal():void 0)}}],eO(r.prototype,e),n&&eO(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();function eT(t){return(eT="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eA(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ez(t,e){return(ez=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function e_(t){return(e_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}eI.propTypes={expanded:p.a.bool,onExpandEvent:p.a.func,onChange:p.a.func,config:p.a.object,translations:p.a.object};var eP=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ez(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=e_(r);return e=t?Reflect.construct(n,arguments,e_(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===eT(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return(t=o.call.apply(o,[this].concat(n))).state={expanded:!1},t.onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.expandCollapse=function(){t.setState({expanded:t.signalExpanded}),t.signalExpanded=!1},t.doExpand=function(){t.setState({expanded:!0})},t.doCollapse=function(){t.setState({expanded:!1})},t.addEmoji=function(e){var n=t.props,o=n.editorState,r=n.onChange,i=d.Modifier.replaceText(o.getCurrentContent(),o.getSelection(),e,o.getCurrentInlineStyle());r(d.EditorState.push(o,i,"insert-characters")),t.doCollapse()},t}return e=[{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 t=this.props,e=t.config,n=t.translations,o=this.state.expanded,r=e.component||eI;return s.a.createElement(r,{config:e,translations:n,onChange:this.addEmoji,expanded:o,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onCollpase:this.closeModal})}}],eA(r.prototype,e),n&&eA(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();function eR(){return s.a.createElement("div",{className:"rdw-spinner"},s.a.createElement("div",{className:"rdw-bounce1"}),s.a.createElement("div",{className:"rdw-bounce2"}),s.a.createElement("div",{className:"rdw-bounce3"}))}function eU(t){return(eU="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eB(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}
1function eF(t,e){return(eF=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function eY(t){return(eY=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}eP.propTypes={editorState:p.a.object.isRequired,onChange:p.a.func.isRequired,modalHandler:p.a.object,config:p.a.object,translations:p.a.object},n(29),n(30);var eQ=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&eF(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=eY(r);return e=t?Reflect.construct(n,arguments,eY(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===eU(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return(t=o.call.apply(o,[this].concat(n))).state={imgSrc:"",dragEnter:!1,uploadHighlighted:t.props.config.uploadEnabled&&!!t.props.config.uploadCallback,showImageLoading:!1,height:t.props.config.defaultSize.height,width:t.props.config.defaultSize.width,alt:""},t.onDragEnter=function(e){t.stopPropagation(e),t.setState({dragEnter:!0})},t.onImageDrop=function(e){var n,o;e.preventDefault(),e.stopPropagation(),t.setState({dragEnter:!1}),o=e.dataTransfer.items?(n=e.dataTransfer.items,!0):(n=e.dataTransfer.files,!1);for(var r=0;r<n.length;r+=1)if((!o||"file"===n[r].kind)&&n[r].type.match("^image/")){var i=o?n[r].getAsFile():n[r];t.uploadImage(i)}},t.showImageUploadOption=function(){t.setState({uploadHighlighted:!0})},t.addImageFromState=function(){var e=t.state,n=e.imgSrc,o=e.alt,r=t.state,i=r.height,c=r.width,a=t.props.onChange;isNaN(i)||(i+="px"),isNaN(c)||(c+="px"),a(n,i,c,o)},t.showImageURLOption=function(){t.setState({uploadHighlighted:!1})},t.toggleShowImageLoading=function(){var e=!t.state.showImageLoading;t.setState({showImageLoading:e})},t.updateValue=function(e){var n,o,r;t.setState((n={},o="".concat(e.target.name),r=e.target.value,o in n?Object.defineProperty(n,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[o]=r,n))},t.selectImage=function(e){e.target.files&&0<e.target.files.length&&t.uploadImage(e.target.files[0])},t.uploadImage=function(e){t.toggleShowImageLoading(),(0,t.props.config.uploadCallback)(e).then(function(e){var n=e.data;t.setState({showImageLoading:!1,dragEnter:!1,imgSrc:n.link||n.url}),t.fileUpload=!1}).catch(function(){t.setState({showImageLoading:!1,dragEnter:!1})})},t.fileUploadClick=function(e){t.fileUpload=!0,e.stopPropagation()},t.stopPropagation=function(e){t.fileUpload?t.fileUpload=!1:(e.preventDefault(),e.stopPropagation())},t}return e=[{key:"componentDidUpdate",value:function(t){var e=this.props.config;t.expanded&&!this.props.expanded?this.setState({imgSrc:"",dragEnter:!1,uploadHighlighted:e.uploadEnabled&&!!e.uploadCallback,showImageLoading:!1,height:e.defaultSize.height,width:e.defaultSize.width,alt:""}):e.uploadCallback===t.config.uploadCallback&&e.uploadEnabled===t.config.uploadEnabled||this.setState({uploadHighlighted:e.uploadEnabled&&!!e.uploadCallback})}},{key:"renderAddImageModal",value:function(){var t=this.state,e=t.imgSrc,n=t.uploadHighlighted,o=t.showImageLoading,r=t.dragEnter,i=t.height,c=t.width,a=t.alt,l=this.props,u=l.config,p=u.popupClassName,d=u.uploadCallback,f=u.uploadEnabled,y=u.urlEnabled,g=u.previewImage,b=u.inputA
1ccept,h=u.alt,M=l.doCollapse,j=l.translations;return s.a.createElement("div",{className:m()("rdw-image-modal",p),onClick:this.stopPropagation},s.a.createElement("div",{className:"rdw-image-modal-header"},f&&d&&s.a.createElement("span",{onClick:this.showImageUploadOption,className:"rdw-image-modal-header-option"},j["components.controls.image.fileUpload"],s.a.createElement("span",{className:m()("rdw-image-modal-header-label",{"rdw-image-modal-header-label-highlighted":n})})),y&&s.a.createElement("span",{onClick:this.showImageURLOption,className:"rdw-image-modal-header-option"},j["components.controls.image.byURL"],s.a.createElement("span",{className:m()("rdw-image-modal-header-label",{"rdw-image-modal-header-label-highlighted":!n})}))),n?s.a.createElement("div",{onClick:this.fileUploadClick},s.a.createElement("div",{onDragEnter:this.onDragEnter,onDragOver:this.stopPropagation,onDrop:this.onImageDrop,className:m()("rdw-image-modal-upload-option",{"rdw-image-modal-upload-option-highlighted":r})},s.a.createElement("label",{htmlFor:"file",className:"rdw-image-modal-upload-option-label"},g&&e?s.a.createElement("img",{src:e,alt:e,className:"rdw-image-modal-upload-option-image-preview"}):e||j["components.controls.image.dropFileText"])),s.a.createElement("input",{type:"file",id:"file",accept:b,onChange:this.selectImage,className:"rdw-image-modal-upload-option-input"})):s.a.createElement("div",{className:"rdw-image-modal-url-section"},s.a.createElement("input",{className:"rdw-image-modal-url-input",placeholder:j["components.controls.image.enterlink"],name:"imgSrc",onChange:this.updateValue,onBlur:this.updateValue,value:e}),s.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),h.present&&s.a.createElement("div",{className:"rdw-image-modal-size"},s.a.createElement("span",{className:"rdw-image-modal-alt-lbl"},"Alt Text"),s.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:a,name:"alt",className:"rdw-image-modal-alt-input",placeholder:"alt"}),s.a.createElement("span",{className:"rdw-image-mandatory-sign"},h.mandatory&&"*")),s.a.createElement("div",{className:"rdw-image-modal-size"},"↕\xa0",s.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:i,name:"height",className:"rdw-image-modal-size-input",placeholder:"Height"}),s.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*"),"\xa0↔\xa0",s.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:c,name:"width",className:"rdw-image-modal-size-input",placeholder:"Width"}),s.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),s.a.createElement("span",{className:"rdw-image-modal-btn-section"},s.a.createElement("button",{className:"rdw-image-modal-btn",onClick:this.addImageFromState,disabled:!e||!i||!c||h.mandatory&&!a},j["generic.add"]),s.a.createElement("button",{className:"rdw-image-modal-btn",onClick:M},j["generic.cancel"])),o?s.a.createElement("div",{className:"rdw-image-modal-spinner"},s.a.createElement(eR,null)):void 0)}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,o=e.className,r=e.title,i=t.expanded,c=t.onExpandEvent,a=t.translations;return s.a.createElement("div",{className:"rdw-image-wrapper","aria-haspopup":"true","aria-expanded":i,"aria-label":"rdw-image-control"},s.a.createElement(U,{className:m()(o),value:"unordered-list-item",onClick:c,title:r||a["components.controls.image.image"]},s.a.createElement("img",{src:n,alt:""})),i?this.renderAddImageModal():void 0)}}],eB(r.prototype,e),n&&eB(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();function eH(t){return(eH="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eZ(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function eW(t,e){return(eW=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function eG(t){return(eG=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}eQ.propTypes={expanded:p.a.bool,onExpandEvent:p.a.func,doCollapse:p.a.func,onChange:p.a.func,config:p.a.object,translations:p.a.object};var eJ=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&eW(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=eG(r);return e=t?Reflect.construct(n,arguments,eG(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===eH(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(t){(function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")})(this,r),(e=o.call(this,t)).onExpandEvent=function(){e.signalExpanded=!e.state.expanded},e.doExpand=function(){e.setState({expanded:!0})},e.doCollapse=function(){e.setState({expanded:!1})},e.expandCollapse=function(){e.setState({expanded:e.signalExpanded}),e.signalExpanded=!1},e.addImage=function(t,n,o,r){var i=e.props,c=i.editorState,a=i.onChange,l={src:t,height:n,width:o};i.config.alt.present&&(l.alt=r);var s=c.getCurrentContent().createEntity("IMAGE","MUTABLE",l).getLastCreatedEntityKey();a(d.AtomicBlockUtils.insertAtomicBlock(c,s," ")),e.doCollapse()};var e,n=e.props.modalHandler;return e.state={expanded:!1},n.registerCallBack(e.expandCollapse),e}return e=[{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,o=this.state.expanded,r=e.component||eQ;return s.a.createElement(r,{config:e,translations:n,onChange:this.addImage,expanded:o,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}],eZ(r.prototype,e),n&&eZ(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();function eV(t){var e=t.config,n=t.onChange,o=t.translations,r=e.icon,i=e.className,c=e.title;return s.a.createElement("div",{className:"rdw-remove-wrapper","aria-label":"rdw-remove-control"},s.a.createElement(U,{className:m()(i),onClick:n,title:c||o["components.c
1ontrols.remove.remove"]},s.a.createElement("img",{src:r,alt:""})))}function eq(t){return(eq="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eK(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function eX(t,e){return(eX=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function e$(t){return(e$=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}eJ.propTypes={editorState:p.a.object.isRequired,onChange:p.a.func.isRequired,modalHandler:p.a.object,config:p.a.object,translations:p.a.object},n(31),eV.propTypes={onChange:p.a.func,config:p.a.object,translations:p.a.object};var e0=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&eX(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=e$(r);return e=t?Reflect.construct(n,arguments,e$(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===eq(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return(t=o.call.apply(o,[this].concat(n))).state={expanded:!1},t.onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.expandCollapse=function(){t.setState({expanded:t.signalExpanded}),t.signalExpanded=!1},t.removeInlineStyles=function(){var e=t.props,n=e.editorState;(0,e.onChange)(t.removeAllInlineStyles(n))},t.removeAllInlineStyles=function(t){var e=t.getCurrentContent();return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","MONOSPACE","SUPERSCRIPT","SUBSCRIPT"].forEach(function(n){e=d.Modifier.removeInlineStyle(e,t.getSelection(),n)}),v(Object(f.getSelectionCustomInlineStyle)(t,["FONTSIZE","FONTFAMILY","COLOR","BGCOLOR"]),function(n,o){o&&(e=d.Modifier.removeInlineStyle(e,t.getSelection(),o))}),d.EditorState.push(t,e,"change-inline-style")},t.doExpand=function(){t.setState({expanded:!0})},t.doCollapse=function(){t.setState({expanded:!1})},t}return e=[{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 t=this.props,e=t.config,n=t.translations,o=this.state.expanded,r=e.component||eV;return s.a.createElement(r,{config:e,translations:n,expanded:o,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.removeInlineStyles})}}],eK(r.prototype,e),n&&eK(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();function e4(t){return(e4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function e1(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function e2(t,e){return(e2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function e3(t){return(e3=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}e0.propTypes={onChange:p.a.func.isRequired,editorState:p.a.object.isRequired,config:p.a.object,translations:p.a.object,modalHandler:p.a.object},n(32);var e5=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&e2(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=e3(r);return e=t?Reflect.construct(n,arguments,e3(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===e4(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return(t=o.call.apply(o,[this].concat(n))).onChange=function(e){(0,t.props.onChange)(e)},t}return e=[{key:"renderInDropDown",value:function(){var t=this.props,e=t.config,n=t.expanded,o=t.doExpand,r=t.onExpandEvent,i=t.doCollapse,c=t.currentState,a=c.undoDisabled,l=c.redoDisabled,u=t.translations,p=e.options,d=e.undo,f=e.redo,y=e.className,g=e.dropdownClassName,b=e.title;return s.a.createElement(H,{className:m()("rdw-history-dropdown",y),optionWrapperClassName:m()(g),expanded:n,doExpand:o,doCollapse:i,onExpandEvent:r,"aria-label":"rdw-history-control",title:b||u["components.c
1ontrols.history.history"]},s.a.createElement("img",{src:O(e),alt:""}),0<=p.indexOf("undo")&&s.a.createElement(q,{value:"undo",onClick:this.onChange,disabled:a,className:m()("rdw-history-dropdownoption",d.className),title:d.title||u["components.controls.history.undo"]},s.a.createElement("img",{src:d.icon,alt:""})),0<=p.indexOf("redo")&&s.a.createElement(q,{value:"redo",onClick:this.onChange,disabled:l,className:m()("rdw-history-dropdownoption",f.className),title:f.title||u["components.controls.history.redo"]},s.a.createElement("img",{src:f.icon,alt:""})))}},{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=e.options,o=e.undo,r=e.redo,i=e.className,c=t.currentState,a=c.undoDisabled,l=c.redoDisabled,u=t.translations;return s.a.createElement("div",{className:m()("rdw-history-wrapper",i),"aria-label":"rdw-history-control"},0<=n.indexOf("undo")&&s.a.createElement(U,{value:"undo",onClick:this.onChange,className:m()(o.className),disabled:a,title:o.title||u["components.controls.history.undo"]},s.a.createElement("img",{src:o.icon,alt:""})),0<=n.indexOf("redo")&&s.a.createElement(U,{value:"redo",onClick:this.onChange,className:m()(r.className),disabled:l,title:r.title||u["components.controls.history.redo"]},s.a.createElement("img",{src:r.icon,alt:""})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}],e1(r.prototype,e),n&&e1(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();function e6(t){return(e6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function e8(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function e9(t,e){return(e9=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function e7(t){return(e7=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}e5.propTypes={expanded:p.a.bool,doExpand:p.a.func,doCollapse:p.a.func,onExpandEvent:p.a.func,config:p.a.object,onChange:p.a.func,currentState:p.a.object,translations:p.a.object};var nt=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&e9(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=e7(r);return e=t?Reflect.construct(n,arguments,e7(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===e6(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(t){(function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")})(this,r),(e=o.call(this,t)).onExpandEvent=function(){e.signalExpanded=!e.state.expanded},e.onChange=function(t){var n=e.props,o=n.editorState,r=n.onChange,i=d.EditorState[t](o);i&&r(i)},e.doExpand=function(){e.setState({expanded:!0})},e.doCollapse=function(){e.setState({expanded:!1})};var e,n={expanded:(e.expandCollapse=function(){e.setState({expanded:e.signalExpanded}),e.signalExpanded=!1},!1),undoDisabled:!1,redoDisabled:!1},i=t.editorState,c=t.modalHandler;return i&&(n.undoDisabled=0===i.getUndoStack().size,n.redoDisabled=0===i.getRedoStack().size),e.state=n,c.registerCallBack(e.expandCollapse),e}return e=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&t.editorState!==e&&this.setState({undoDisabled:0===e.getUndoStack().size,redoDisabled:0===e.getRedoStack().size})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,o=this.state,r=o.undoDisabled,i=o.redoDisabled,c=o.expanded,a=e.component||e5;return s.a.createElement(a,{config:e,translations:n,currentState:{undoDisabled:r,redoDisabled:i},expanded:c,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.onChange})}}],e8(r.prototype,e),n&&e8(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();nt.propTypes={onChange:p.a.func.isRequired,editorState:p.a.object,modalHandler:p.a.object,config:p.a.object,translations:p.a.object};var ne={inline:tc,blockType:tg,fontSize:tv,fontFamily:t_,list:tW,textAlign:t1,colorPicker:en,link:eb,embedded:eD,emoji:eP,image:eJ,remove:e0,history:nt},nn=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,no=/^(?:(?:https?|ftps?|mailto):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))/i;function nr(t){return String(t).replace(nn,"").match(no)?t:"#"}function ni(t){return(ni="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nc(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}
1function na(t,e){return(na=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function nl(t){return(nl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ns(t,e,n){t.findEntityRanges(function(t){var e=t.getEntity();return null!==e&&"LINK"===n.getEntity(e).getType()},e)}n(33),n(34);var nu=(Object.defineProperty(o=function t(e){var n=this;(function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")})(this,t),this.getMentionComponent=function(){function t(t){var n=t.entityKey,o=t.children,r=t.contentState.getEntity(n).getData(),i=r.url,c=r.value;return s.a.createElement("a",{href:i||c,className:m()("rdw-mention-link",e)},o)}var e=n.className;return t.propTypes={entityKey:p.a.number,children:p.a.array,contentState:p.a.object},t},this.getMentionDecorator=function(){return{strategy:n.findMentionEntities,component:n.getMentionComponent()}},this.className=e},"prototype",{writable:!1}),o);function np(t){return(np="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nd(t,e){return(nd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function nf(t){return(nf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ny(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function nm(t,e,n){return e&&ny(t.prototype,e),n&&ny(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function ng(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}nu.prototype.findMentionEntities=function(t,e,n){t.findEntityRanges(function(t){var e=t.getEntity();return null!==e&&"MENTION"===n.getEntity(e).getType()},e)},n(35);var nb=nm(function t(e){var n=this;ng(this,t),this.findSuggestionEntities=function(t,e){if(n.config.getEditorState()){var o=n.config,r=o.separator,i=o.trigger,c=o.getSuggestions,a=(0,o.getEditorState)().getSelection();if(a.get("anchorKey")===t.get("key")&&a.get("anchorKey")===a.get("focusKey")){var l=t.getText(),s=(l=l.substr(0,a.get("focusOffset")===l.length-1?l.length:a.get("focusOffset")+1)).lastIndexOf(r+i),u=r+i;if((void 0===s||s<0)&&l[0]===i&&(s=0,u=i),0<=s){var p=l.substr(s+u.length,l.length);c().some(function(t){return!!t.value&&(n.config.caseSensitive?0<=t.value.indexOf(p):0<=t.value.toLowerCase().indexOf(p&&p.toLowerCase()))})&&e(0===s?0:s+1,l.length)}}}}
1,this.getSuggestionComponent=(function(){var t,e=this.config;return(t=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&nd(t,e)}(o,l.Component);var t,n=(t=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(t){return!1}}(),function(){var e,n=nf(o);return e=t?Reflect.construct(n,arguments,nf(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===np(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function o(){var t;ng(this,o);for(var r=arguments.length,i=Array(r),c=0;c<r;c++)i[c]=arguments[c];return(t=n.call.apply(n,[this].concat(i))).state={style:{left:15},activeOption:-1,showSuggestions:!0},t.onEditorKeyDown=function(e){var n=t.state.activeOption,o={};"ArrowDown"===e.key?(e.preventDefault(),n===t.filteredSuggestions.length-1?o.activeOption=0:o.activeOption=n+1):"ArrowUp"===e.key?o.activeOption=n<=0?t.filteredSuggestions.length-1:n-1:"Escape"===e.key?(o.showSuggestions=!1,S()):"Enter"===e.key&&t.addMention(),t.setState(o)},t.onOptionMouseEnter=function(e){var n=e.target.getAttribute("data-index");t.setState({activeOption:n})},t.onOptionMouseLeave=function(){t.setState({activeOption:-1})},t.setSuggestionReference=function(e){t.suggestion=e},t.setDropdownReference=function(e){t.dropdown=e},t.closeSuggestionDropdown=function(){t.setState({showSuggestions:!1})},t.filteredSuggestions=[],t.filterSuggestions=function(n){var o=n.children[0].props.text.substr(1),r=e.getSuggestions();t.filteredSuggestions=r&&r.filter(function(t){return!o||0===o.length||(e.caseSensitive?0<=t.value.indexOf(o):0<=t.value.toLowerCase().indexOf(o&&o.toLowerCase()))})},t.addMention=function(){var n,o,r,i,c,a,l,s,u,p,y=t.state.activeOption,m=e.getEditorState(),g=e.onChange,b=e.separator,h=e.trigger,M=t.filteredSuggestions[y];M&&(n=M.value,o=M.url,r=m.getCurrentContent().createEntity("MENTION","IMMUTABLE",{text:"".concat(h).concat(n),value:n,url:o}).getLastCreatedEntityKey(),i=Object(f.getSelectedBlock)(m).getText(),c=m.getSelection().focusOffset,a=(i.lastIndexOf(b+h,c)||0)+1,l=!1,i.length===a+1&&(c=i.length)," "===i[c]&&(l=!0),s=m.getSelection().merge({anchorOffset:a,focusOffset:c}),u=d.EditorState.acceptSelection(m,s),p=d.Modifier.replaceText(u.getCurrentContent(),s,"".concat(h).concat(n),u.getCurrentInlineStyle(),r),u=d.EditorState.push(u,p,"insert-characters"),l||(s=u.getSelection().merge({anchorOffset:a+n.length+h.length,focusOffset:a+n.length+h.length}),u=d.EditorState.acceptSelection(u,s),p=d.Modifier.insertText(u.getCurrentContent(),s," ",u.getCurrentInlineStyle(),void 0)),g(d.EditorState.push(u,p,"insert-characters")))},t}return nm(o,[{key:"componentDidMount",value:function(){var t,n,o,r=e.getWrapperRef().getBoundingClientRect(),i=this.suggestion.getBoundingClientRect(),c=this.dropdown.getBoundingClientRect();r.width<i.left-r.left+c.width?n=15:t=15,r.bottom<c.bottom&&(o=0),this.setState({style:{left:t,right:n,bottom:o}}),j(this.onEditorKeyDown),E(),e.modalHandler.setSuggestionCallback(this.closeSuggestionDropdown),this.filterSuggestions(this.props)}},{key:"componentDidUpdate",value:function(t){this.props.children!==t.children&&(this.filterSuggestions(t),this.setState({showSuggestions:!0}))}},{key:"componentWillUnmount",value:function(){N(this.onEditorKeyDown),S(),e.modalHandler.removeSuggestionCallback()}},{key:"render",value:function(){var t=this,n=this.props.children,o=this.state,r=o.activeOption,i=o.showSuggestions,c=e.dropdownClassName,a=e.optionClassName;return s.a.createElement("span",{className:"rdw-suggestion-wrapper",ref:this.setSuggestionReference,onClick:e.modalHandler.onSuggestionClick,"aria-haspopup":"true","aria-label":"rdw-suggestion-popup"},s.a.createElement("span",null,n),i&&s.a.createElement("span",{className:m()("rdw-suggestion-dropdown",c),contentEditable:"false",suppressContentEditableWarning:!0,style:this.state.style,ref:this.setDropdownReference},this.filteredSuggestions.map(function(e,n){return s.a.createElement("span",{key:n,spellCheck:!1,onClick:t.addMention,"data-index":n,onMouseEnter:t.onOptionMouseEnter,onMouseLeave:t.onOptionMouseLeave,className:m()("rdw-suggestion-option",a,{"rdw-suggestion-option-active":n===r})},e.text)})))}}]),o}()).propTypes={children:p.a.array},t}
1).bind(this),this.getSuggestionDecorator=function(){return{strategy:n.findSuggestionEntities,component:n.getSuggestionComponent()}};var o=e.separator,r=e.trigger,i=e.getSuggestions,c=e.onChange,a=e.getEditorState,u=e.getWrapperRef,y=e.caseSensitive,g=e.dropdownClassName,b=e.optionClassName,h=e.modalHandler;this.config={separator:o,trigger:r,getSuggestions:i,onChange:c,getEditorState:a,getWrapperRef:u,caseSensitive:y,dropdownClassName:g,optionClassName:b,modalHandler:h}});function nh(t){var e=t.block,n=t.contentState.getEntity(e.getEntityAt(0)).getData(),o=n.src,r=n.height,i=n.width;return s.a.createElement("iframe",{height:r,width:i,src:o,frameBorder:"0",allowFullScreen:!0,title:"Wysiwyg Embedded Content"})}n(36);var nM=(Object.defineProperty(r=function t(e){var n=this;(function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")})(this,t),this.getHashtagComponent=function(){function t(t){var n=t.children,o=n[0].props.text;return s.a.createElement("a",{href:o,className:m()("rdw-hashtag-link",e)},n)}var e=n.className;return t.propTypes={children:p.a.object},t},this.findHashtagEntities=function(t,e){for(var o=t.getText(),r=0,i=0;0<o.length&&0<=r;)if(o[0]===n.hashCharacter?(i=r=0,o=o.substr(n.hashCharacter.length)):0<=(r=o.indexOf(n.separator+n.hashCharacter))&&(o=o.substr(r+(n.separator+n.hashCharacter).length),i+=r+n.separator.length),0<=r){var c=0<=o.indexOf(n.separator)?o.indexOf(n.separator):o.length,a=o.substr(0,c);a&&0<a.length&&(e(i,i+a.length+n.hashCharacter.length),i+=n.hashCharacter.length)}},this.getHashtagDecorator=function(){return{strategy:n.findHashtagEntities,component:n.getHashtagComponent()}},this.className=e.className,this.hashCharacter=e.hashCharacter||"#",this.separator=e.separator||" "},"prototype",{writable:!1}),r);function nj(t){return(nj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nN(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function nE(t,e){return(nE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function nS(t){return(nS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}nh.propTypes={block:p.a.object,contentState:p.a.object},n(37);var nC=function(t){var e;return(e=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&nE(t,e)}(i,l.Component);var e,n,o,r=(e=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(t){return!1}}(),function(){var t,n=nS(i);return t=e?Reflect.construct(n,arguments,nS(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===nj(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,t)});function i(){var e;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var n=arguments.length,o=Array(n),c=0;c<n;c++)o[c]=arguments[c];return(e=r.call.apply(r,[this].concat(o))).state={hovered:!1},e.setEntityAlignmentLeft=function(){e.setEntityAlignment("left")},e.setEntityAlignmentRight=function(){e.setEntityAlignment("right")},e.setEntityAlignmentCenter=function(){e.setEntityAlignment("none")},e.setEntityAlignment=function(n){var o=e.props,r=o.block,i=o.contentState,c=r.getEntityAt(0);i.mergeEntityData(c,{alignment:n}),t.onChange(d.EditorState.push(t.getEditorState(),i,"change-block-data")),e.setState({dummy:!0})},e.toggleHovered=function(){var t=!e.state.hovered;e.setState({hovered:t})},e}return n=[{key:"renderAlignmentOptions",value:function(t){return s.a.createElement("div",{className:m()("rdw-image-alignment-options-popup",{"rdw-image-alignment-options-popup-right":"right"===t})},s.a.createElement(U,{onClick:this.setEntityAlignmentLeft,className:"rdw-image-alignment-option"},"L"),s.a.createElement(U,{onClick:this.setEntityAlignmentCenter,className:"rdw-image-alignment-option"},"C"),s.a.createElement(U,{onClick:this.setEntityAlignmentRight,className:"rdw-image-alignment-option"},"R"))}},{key:"render",value:function(){var e=this.props,n=e.block,o=e.contentState,r=this.state.hovered,i=t.isReadOnly,c=t.isImageAlignmentEnabled,a=o.getEntity(n.getEntityAt(0)).getData(),l=a.src,u=a.alignment,p=a.height,d=a.width,f=a.alt;return s.a.createElement("span",{onMouseEnter:this.toggleHovered,onMouseLeave:this.toggleHovered,className:m()("rdw-image-alignment",{"rdw-image-left":"left"===u,"rdw-image-right":"right"===u,"rdw-image-center":!u||"none"===u})},s.a.createElement("span",{className:"rdw-image-imagewrapper"},s.a.createElement("img",{src:l,alt:f,style:{height:p,width:d}}),!i()&&r&&c()?this.renderAlignmentOptions(u):void 0))}}],nN(i.prototype,n),o&&nN(i,o),Object.defineProperty(i,"prototype",{writable:!1}),i}()).propTypes={block:p.a.object,contentState:p.a.object},e},nL
vendor: 21,677 bytes, line 1
1={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+PHBhdGggZD0iTTYuMjM2IDBjMS42NTIgMCAyLjk0LjI5OCAzLjg2Ni44OTMuOTI1LjU5NSAxLjM4OCAxLjQ4NSAxLjM4OCAyLjY2OSAwIC42MDEtLjE3MyAxLjEzOS0uNTE2IDEuNjEtLjM0My40NzQtLjg0NC44My0xLjQ5OSAxLjA2OC44NDMuMTY3IDEuNDc0LjUyMyAxLjg5NSAxLjA3MS40MTkuNTUuNjMgMS4xODMuNjMgMS45MDMgMCAxLjI0NS0uNDQ0IDIuMTg3LTEuMzMgMi44MjUtLjg4Ni42NDEtMi4xNDQuOTYxLTMuNzY5Ljk2MUgwdi0yLjE2N2gxLjQ5NFYyLjE2N0gwVjBoNi4yMzZ6TTQuMzA4IDUuNDQ2aDIuMDI0Yy43NTIgMCAxLjMzLS4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48L3N2Zz4=",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+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuOTIxIDMuMTE5YS40MjcuNDI3IDAgMCAwIC4zMzUuMTY0aC45N2EuNDI2LjQyNiAwIDAgMCAuMzA0LS4xMy40NDEuNDQxIDAgMCAwIC4xMjUtLjMxbC4wMDItMi40MWEuNDM0LjQzNCAwIDAgMC0uNDMtLjQzMkguNDNBLjQzNC40MzQgMCAwIDAgMCAuNDR2Mi40MDZjMCAuMjQyLjE5Mi40MzguNDMuNDM4aC45N2MuMTMgMCAuMjU0LS4wNi4zMzUtLjE2NWwuNzMtLjkzSDUuNTR2MTEuMzZjMCAuMjQxLjE5Mi40MzcuNDMuNDM3aDEuNzE3Yy4yMzcgMCAuNDMtLjE5Ni40My0uNDM3VjIuMTg4aDMuMDdsLjczNC45MzF6TTEzLjg5OCAxMS4yNjNhLjQyNS40MjUgMCAwIDAtLjQ4Mi0uMTQ2bC0uNTQ3LjE5NFY5LjYxN2EuNDQyLjQ0MiAwIDAgMC0uMTI2LS4zMS40MjYuNDI2IDAgMCAwLS4zMDQtLjEyN2gtLjQyOWEuNDM0LjQzNCAwIDAgMC0uNDMuNDM3djEuNjk0bC0uNTQ3LS4xOTRhLjQyNS40MjUgMCAwIDAtLjQ4MS4xNDYuNDQ0LjQ0NCAwIDAgMC0uMDE2LjUxMmwxLjMzMiAyLjAxN2EuNDI3LjQyNyAwIDAgMCAuNzEzIDBsMS4zMzMtMi4wMTdhLjQ0NC40NDQgMCAwIDAtLjAxNi0uNTEyeiIvPjwvZz48L3N2Zz4=",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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OTIgMC0uMzA3LjE0MS0uMzA3LjM3OCAwIC40My4zMTMuODg4Ljg5NS44ODguNTY0IDAgLjkwMS0uNC45MDEtMS4wN3YtLjA3NGMwLS4yNzQtLjA3NC0uNTAyLS4yMTQtLjY2Ni4wOTYtLjE2My4xNDgtLjM4LjE0OC0uNjM1eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},indent:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNS43MTYgMy4yMTFIMTd2MS4xOTdINS43MTZ6TTAgLjAyaDE3djEuMTk3SDB6TTAgMTIuNzgzaDE3djEuMTk3SDB6TTUuNzE2IDkuNTkzSDE3djEuMTk3SDUuNzE2ek01LjcxNiA2LjQwMkgxN3YxLjE5N0g1LjcxNnpNLjE4NyA5LjQ5MUwyLjUyIDcgLjE4NyA0LjUwOXoiLz48L2c+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+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuNTU2IDE0Ljg4N0gzLjM4OGEuMzI2LjMyNiAwIDAgMSAwLS42NTJoOC4xNjdhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42MTggMTAuMTYySC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUzaDE0LjI5MmEuMzI2LjMyNiAwIDAgMSAwIC42NTN6TTExLjU1NiA1LjQzNUgzLjM4OGEuMzI2LjMyNiAwIDAgMSAwLS42NTJoOC4xNjdhLjMyNi4zMjYgMCAwIDEgMCAuNj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DgtLjY1OXoiLz48L2c+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+PHBhdGggZD0iTTEzLjk2Ny45NUEzLjIyNiAzLjIyNiAwIDAgMCAxMS42Ny4wMDJjLS44NyAwLTEuNjg2LjMzNy0yLjI5Ny45NDhMNy4xMDUgMy4yMThBMy4yNDcgMy4yNDcgMCAwIDAgNi4yNCA2LjI0YTMuMjI1IDMuMjI1IDAgMCAwLTMuMDIyLjg2NUwuOTUgOS4zNzNhMy4yNTMgMy4yNTMgMCAwIDAgMCA0LjU5NCAzLjIyNiAzLjIyNiAwIDAgMCAyLjI5Ny45NDhjLjg3IDAgMS42ODYtLjMzNiAyLjI5OC0uOTQ4TDcuODEyIDExLjdhMy4yNDcgMy4yNDcgMCAwIDAgLjg2NS0zLjAyMyAzLjIyNSAzLjIyNSAwIDAgMCAzLjAyMi0uODY1bDIuMjY4LTIuMjY3YTMuMjUyIDMuMjUyIDAgMCAwIDAtNC41OTV6TTcuMTA1IDEwLjk5M0w0LjgzNyAxMy4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U2IDAgMCAxIDAgOS4yNjd6bS03LjUyNC02LjczYS45MDYuOTA2IDAgMSAxIDEuODExIDAgLjkwNi45MDYgMCAwIDEtMS44MTEgMHptNC4xMDYgMGEuOTA2LjkwNiAwIDEgMSAxLjgxMiAwIC45MDYuOTA2IDAgMCAxLTEuODEyIDB6bTIuMTQxIDMuNzA4Yy0uNTYxIDEuMjk4LTEuODc1IDIuMTM3LTMuMzQ4IDIuMTM3LTEuNTA1IDAtMi44MjctLjg0My0zLjM2OS0yLjE0N2EuNDM4LjQzOCAwIDAgMSAuODEtLjMzNmMuNDA1Ljk3NiAxLjQxIDEuNjA3IDIuNTU5IDEuNjA3IDEuMTIzIDAgMi4xMjEtLjYzMSAyLjU0NC0xLjYwOGEuNDM4LjQzOCAwIDAgMSAuODA0LjM0N3oiLz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,emojis:["
1\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,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuNzA4IDYuNjE1YS40MzYuNDM2IDAgMCAwLS41NDMuMjkxbC0xLjgzIDYuMDQ1YS40MzYuNDM2IDAgMCAwIC44MzMuMjUyTDcgNy4xNmEuNDM2LjQzNiAwIDAgMC0uMjktLjU0NHpNOC45MzEgNi42MTVhLjQzNi40MzYgMCAwIDAtLjU0My4yOTFsLTEuODMgNi4wNDVhLjQzNi40MzYgMCAwIDAgLjgzNC4yNTJsMS44My02LjA0NGEuNDM2LjQzNiAwIDAgMC0uMjktLjU0NHoiLz48cGF0aCBkPSJNMTYuNTY0IDBILjQzNkEuNDM2LjQzNiAwIDAgMCAwIC40MzZ2MTYuMTI4YzAgLjI0LjE5NS40MzYuNDM2LjQzNmgxNi4xMjhjLjI0IDAgLjQzNi0uMTk1LjQzNi0uNDM2Vi40MzZBLjQzNi40MzYgMCAwIDAgMTYuNTY0IDB6TTMuNDg3Ljg3MmgxMC4wMjZ2MS43NDNIMy40ODdWLjg3MnptLTIuNjE1IDBoMS43NDN2MS43NDNILjg3MlYuODcyem0xNS4yNTYgMTUuMjU2SC44NzJWMy40ODhoMTUuMjU2djEyLjY0em0wLTEzLjUxM2gtMS43NDNWLjg3MmgxLjc0M3YxLjc0M3oiLz48Y2lyY2xlIGN4PSI5My44NjciIGN5PSIyNDUuMDY0IiByPSIxMy4xMjgiIHRyYW5zZm9ybT0ibWF0cml4KC4wMzMyIDAgMCAuMDMzMiAwIDApIi8+PGNpcmNsZSBjeD0iOTMuODY3IiBjeT0iMzYwLjU5MiIgcj0iMTMuMTI4IiB0cmFuc2Zvcm09Im1hdHJpeCguMDMzMiAwIDAgLjAzMzIgMCAwKSIvPjxwYXRoIGQ9Ik0xNC4yNTQgMTIuNjQxSDEwLjJhLjQzNi40MzYgMCAwIDAgMCAuODcyaDQuMDU0YS40MzYuNDM2IDAgMCAwIDAtLjg3MnoiLz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,embedCallback:void 0,defaultSize:{height:"auto",width:"auto"},title:void 0},image:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0i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gMCAwLS4zNTQtLjAxM2wtNC40IDQuNTZhLjM0My4zNDMgMCAwIDAtLjAyNC40My4yNDMuMjQzIDAgMCAwIC4xOTQuMTAzeiIvPjwvZz48L3N2Zz4=",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}},nv={en:{"generic.add":"Add","generic.cancel":"Cancel","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":"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.c
1ontrols.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.controls.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.c
1ontrols.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.controls.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.c
1ontrols.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.controls.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.c
1ontrols.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.controls.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.c
1ontrols.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
1derstrepen","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
1ontrols.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
1ontrols.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
1ontrols.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
1ontrols.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 nD(t){return(nD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nk(){return(nk=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}function nO(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)}return n}function nw(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?nO(Object(n),!0).forEach(function(e){var o;o=n[e],e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):nO(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function nx(t){return function(t){if(Array.isArray(t))return nI(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return nI(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nI(t,void 0)}}(t)||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 nI(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=Array(e);n<e;n++)o[n]=t[n];return o}function nT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function nA(t,e){return(nA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function nz(t){return(nz=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n(38),n(39);var n_=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&nA(t,e)}(r,l.Component);var t,e,n,o=(t=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(t){return!1}}(),function(){var e,n=nz(r);return e=t?Reflect.construct(n,arguments,nz(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===nD(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function r(t){(function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")})(this,r),(i=o.call(this,t)).onEditorBlur=function(){i.setState({editorFocused:!1})},i.onEditorFocus=function(t){var e=i.props.onFocus;i.setState({editorFocused:!0});var n=i.focusHandler.isEditorFocused();e&&n&&e(t)},i.onEditorMouseDown=function(){i.focusHandler.onEditorMouseDown()},i.keyBindingFn=function(t){if("Tab"!==t.key)return"ArrowUp"!==t.key&&"ArrowDown"!==t.key||C()&&t.preventDefault(),Object(d.getDefaultKeyBinding)(t);var e=i.props.onTab;if(!e||!e(t)){var n=Object(f.changeDepth)(i.state.editorState,t.shiftKey?-1:1,4);n&&n!==i.state.editorState&&(i.onChange(n),t.preventDefault())}return null},i.onToolbarFocus=function(t){var e=i.props.onFocus;e&&i.focusHandler.isToolbarFocused()&&e(t)},i.onWrapperBlur=function(t){var e=i.props.onBlur;e&&i.focusHandler.isEditorBlur(t)&&e(t,i.getEditorState())},i.onChange=function(t){var e=i.props,n=e.readOnly,o=e.onEditorStateChange;n||"atomic"===Object(f.getSelectedBlocksType)(t)&&t.getSelection().isCollapsed||(o&&o(t,i.props.wrapperId),D(i.props,"editorState")?i.afterChange(t):i.setState({editorState:t},i.afterChange(t)))},i.setWrapperReference=function(t){i.wrapper=t},i.setEditorReference=function(t){i.props.editorRef&&i.props.editorRef(t),i.editor=t},i.getCompositeDecorator=function(t){var e,n,o,r=[].concat(nx(i.props.customDecorators),[{strategy:ns,component:(n=({showOpenOptionOnHover:t.link.showOpenOptionOnHover}).showOpenOptionOnHover,(e=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&na(t,e)}(i,l.Component);var t,e,o,r=(t=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(t){return!1}}(),function(){var e,n=nl(i);return e=t?Reflect.construct(n,arguments,nl(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===ni(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return(t=r.call.apply(r,[this].concat(n))).state={showPopOver:!1},t.openLink=function(){var e=t.props,n=e.entityKey,o=e.contentState.getEntity(n).getData().url,r=window.open(nr(o),"blank");r&&r.focus()},t.toggleShowPopOver=function(){var e=!t.state.showPopOver;t.setState({showPopOver:e})},t}return e=[{key:"render",value:function(){var t=this.props,e=t.children,o=t.entityKey,r
1=t.contentState.getEntity(o).getData(),i=r.url,c=r.targetOption,a=this.state.showPopOver;return s.a.createElement("span",{className:"rdw-link-decorator-wrapper",onMouseEnter:this.toggleShowPopOver,onMouseLeave:this.toggleShowPopOver},s.a.createElement("a",{href:nr(i),target:c},e),a&&n?s.a.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuMDcyIDBIOC45MTVhLjkyNS45MjUgMCAwIDAgMCAxLjg0OWgyLjkyNUw2Ljk2MSA2LjcyN2EuOTE4LjkxOCAwIDAgMC0uMjcuNjU0YzAgLjI0Ny4wOTUuNDguMjcuNjU0YS45MTguOTE4IDAgMCAwIC42NTQuMjcuOTE4LjkxOCAwIDAgMCAuNjUzLS4yN2w0Ljg4LTQuODh2Mi45MjZhLjkyNS45MjUgMCAwIDAgMS44NDggMFYuOTI0QS45MjUuOTI1IDAgMCAwIDE0LjA3MiAweiIvPjxwYXRoIGQ9Ik0xMC42MjMgMTMuNDExSDEuNTg1VjQuMzcyaDYuNzk4bDEuNTg0LTEuNTg0SC43OTJBLjc5Mi43OTIgMCAwIDAgMCAzLjU4djEwLjYyNGMwIC40MzcuMzU1Ljc5Mi43OTIuNzkyaDEwLjYyNGEuNzkyLjc5MiAwIDAgMCAuNzkyLS43OTJWNS4wMjlsLTEuNTg1IDEuNTg0djYuNzk4eiIvPjwvZz48L3N2Zz4=",alt:"",onClick:this.openLink,className:"rdw-link-decorator-icon"}):void 0)}}],nc(i.prototype,e),o&&nc(i,o),Object.defineProperty(i,"prototype",{writable:!1}),i}()).propTypes={entityKey:p.a.string.isRequired,children:p.a.array,contentState:p.a.object},e)}]);return i.props.mention&&r.push.apply(r,nx([new nu((o=nw(nw({},i.props.mention),{},{onChange:i.onChange,getEditorState:i.getEditorState,getSuggestions:i.getSuggestions,getWrapperRef:i.getWrapperRef,modalHandler:i.modalHandler})).mentionClassName).getMentionDecorator(),new nb(o).getSuggestionDecorator()])),i.props.hashtag&&r.push(new nM(i.props.hashtag).getHashtagDecorator()),new d.CompositeDecorator(r)},i.getWrapperRef=function(){return i.wrapper},i.getEditorState=function(){return i.state?i.state.editorState:null},i.getSuggestions=function(){return i.props.mention&&i.props.mention.suggestions},i.afterChange=function(t){setTimeout(function(){var e=i.props,n=e.onChange,o=e.onContentStateChange;n&&n(Object(d.convertToRaw)(t.getCurrentContent())),o&&o(Object(d.convertToRaw)(t.getCurrentContent()))})},i.isReadOnly=function(){return i.props.readOnly},i.isImageAlignmentEnabled=function(){return i.state.toolbar.image.alignmentEnabled},i.createEditorState=function(t){var e;if(D(i.props,"editorState"))i.props.editorState&&(e=d.EditorState.set(i.props.editorState,{decorator:t}));else if(D(i.props,"defaultEditorState"))i.props.defaultEditorState&&(e=d.EditorState.set(i.props.defaultEditorState,{decorator:t}));else if(D(i.props,"contentState")){if(i.props.contentState){var n=Object(d.convertFromRaw)(i.props.contentState);e=d.EditorState.createWithContent(n,t),e=d.EditorState.moveSelectionToEnd(e)}}else if(D(i.props,"defaultContentState")||D(i.props,"initialContentState")){var o=i.props.defaultContentState||i.props.initialContentState;o&&(o=Object(d.convertFromRaw)(o),e=d.EditorState.createWithContent(o,t),e=d.EditorState.moveSelectionToEnd(e))}return e||d.EditorState.createEmpty(t)},i.filterEditorProps=function(t){var e,n,o;return e=["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"],n=Object.keys(t).filter(function(t){return 0>e.indexOf(t)}),o={},n&&0<n.length&&n.forEach(function(e){o[e]=t[e]}),o},i.getStyleMap=function(t){return nw(nw({},Object(f.getCustomStyleMap)()),t.customStyleMap)},i.changeEditorState=function(t){var e=Object(d.convertFromRaw)(t),n=i.state.editorState;return n=d.EditorState.push(n,e,"insert-characters"),n=d.EditorState.moveSelectionToEnd(n)},i.focusEditor=function(){setTimeout(function(){i.editor.focus()})},i.handleKeyCommand=function(t){var e=i.state,n=e.editorState,o=e.toolbar.inline;if(o&&0<=o.options.indexOf(t)){var r=d.RichUtils.handleKeyCommand(n,t);if(r)return i.onChange(r),!0}return!1},i.handleReturn=function(t){if(C())return!0;var e=i.state.editorState,n=Object(f.handleNewLine)(e,t);return!!n&&(i.onChange(n),!0)},i.handlePastedTextFn=function(t,e){var n=i.state.editorState,o=i.props,r=o.handlePastedText,c=o.stripPastedStyles;return r?r(t,e,n,i.onChange):!c&&function(t,e,n,o){var r=Object(f.getSelectedBlock)(n);if(r&&"code"===r.type){var i=d.Modifier.replaceText(n.getCurrentContent(),n.getSelection(),t,n.getCurrentInlineStyle());return o(d.EditorState.push(n,i,"insert-characters")),!0}if(e){var c=I()(e),a=n.getCurrentContent();
vendor: 5,454 bytes, line 1
1return c.entityMap.forEach(function(t,e){a=a.mergeEntityData(e,t)}),a=d.Modifier.replaceWithFragment(a,n.getSelection(),new T.List(c.contentBlocks)),o(d.EditorState.push(n,a,"insert-characters")),!0}return!1}(t,e,n,i.onChange)},i.preventDefault=function(t){"INPUT"===t.target.tagName||"LABEL"===t.target.tagName||"TEXTAREA"===t.target.tagName?i.focusHandler.onInputMouseDown():t.preventDefault()};var e,n,i,c=w(nL,t.toolbar),a=t.wrapperId?t.wrapperId:Math.floor(1e4*Math.random());i.wrapperId="rdw-wrapper-".concat(a),i.modalHandler=new g,i.focusHandler=new b,i.blockRendererFn=(e={isReadOnly:i.isReadOnly,isImageAlignmentEnabled:i.isImageAlignmentEnabled,getEditorState:i.getEditorState,onChange:i.onChange},n=t.customBlockRenderFunc,function(t){if("function"==typeof n){var o=n(t,e,e.getEditorState);if(o)return o}if("atomic"===t.getType()){var r=e.getEditorState().getCurrentContent().getEntity(t.getEntityAt(0));if(r&&"IMAGE"===r.type)return{component:nC(e),editable:!1};if(r&&"EMBEDDED_LINK"===r.type)return{component:nh,editable:!1}}}),i.editorProps=i.filterEditorProps(t),i.customStyleMap=i.getStyleMap(t),i.compositeDecorator=i.getCompositeDecorator(c);var u=i.createEditorState(i.compositeDecorator);return Object(f.extractInlineStyle)(u),i.state={editorState:u,editorFocused:!1,toolbar:c},i}return e=[{key:"componentDidMount",value:function(){this.modalHandler.init(this.wrapperId)}},{key:"componentDidUpdate",value:function(t){if(t!==this.props){var e={},n=this.props,o=n.editorState,r=n.contentState;if(!this.state.toolbar){var i=w(nL,i);e.toolbar=i}if(D(this.props,"editorState")&&o!==t.editorState)e.editorState=o?d.EditorState.set(o,{decorator:this.compositeDecorator}):d.EditorState.createEmpty(this.compositeDecorator);else if(D(this.props,"contentState")&&r!==t.contentState){if(r){var c=this.changeEditorState(r);c&&(e.editorState=c)}else e.editorState=d.EditorState.createEmpty(this.compositeDecorator)}t.editorState===o&&t.contentState===r||Object(f.extractInlineStyle)(e.editorState),Object.keys(e).length&&this.setState(e),this.editorProps=this.filterEditorProps(this.props),this.customStyleMap=this.getStyleMap(this.props)}}},{key:"render",value:function(){var t=this.state,e=t.editorState,n=t.editorFocused,o=t.toolbar,r=this.props,i=r.locale,c=r.localization,a=c.locale,l=c.translations,u=r.toolbarCustomButtons,p=r.toolbarOnFocus,y=r.toolbarClassName,g=r.toolbarHidden,b=r.editorClassName,h=r.wrapperClassName,j=r.toolbarStyle,N=r.editorStyle,E=r.wrapperStyle,S=r.uploadCallback,C=r.ariaLabel,v={modalHandler:this.modalHandler,editorState:e,onChange:this.onChange,translations:nw(nw({},nv[i||a]),l)},D=n||this.focusHandler.isInputFocused()||!p;return s.a.createElement("div",{id:this.wrapperId,className:m()(h,"rdw-editor-wrapper"),style:E,onClick:this.modalHandler.onEditorClick,onBlur:this.onWrapperBlur,"aria-label":"rdw-wrapper"},!g&&s.a.createElement("div",{className:m()("rdw-editor-toolbar",y),style:nw({visibility:D?"visible":"hidden"},j),onMouseDown:this.preventDefault,"aria-label":"rdw-toolbar","aria-hidden":(!n&&p).toString(),onFocus:this.onToolbarFocus},o.options.map(function(t,e){var n=ne[t],r=o[t];return"image"===t&&S&&(r.uploadCallback=S),s.a.createElement(n,nk({key:e},v,{config:r}))}),u&&u.map(function(t,e){return s.a.cloneElement(t,nw({key:e},v))})),s.a.createElement("div",{ref:this.setWrapperReference,className:m()(b,"rdw-editor-main"),style:N,onClick:this.focusEditor,onFocus:this.onEditorFocus,onBlur:this.onEditorBlur,onKeyDown:M,onMouseDown:this.onEditorMouseDown},s.a.createElement(d.Editor,nk({ref:this.setEditorReference,keyBindingFn:this.keyBindingFn,editorState:e,onChange:this.onChange,blockStyleFn:L,customStyleMap:this.getStyleMap(this.props),handleReturn:this.handleReturn,handlePastedText:this.handlePastedTextFn,blockRendererFn:this.blockRendererFn,handleKeyCommand:this.handleKeyCommand,ariaLabel:C||"rdw-editor",blockRenderMap:f.blockRenderMap},this.editorProps))))}}],nT(r.prototype,e),n&&nT(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}();n_.propTypes={onChange:p.a.func,onEditorStateChange:p.a.func,onContentStateChange:p.a.func,initialContentState:p.a.object,defaultContentState:p.a.object,contentState:p.a.object,editorState:p.a.object,defaultEditorState:p.a.object,toolbarOnFocus:p.a.bool,spellCheck:p.a.bool,stripPastedStyles:p.a.bool,toolbar:p.a.object,toolbarCustomButtons:p.a.array,toolbarClassName:p.a.string,toolbarHidden:p.a.bool,locale:p.a.string,localization:p.a.object,editorClassName:p.a.string,wrapperClassName:p.a.string,toolbarStyle:p.a.object,editorStyle:p.a.object,wrapperStyle:p.a.object,uploadCallback:p.a.func,onFocus:p.a.func,onBlur:p.a.func,onTab:p.a.func,mention:p.a.object,hashtag:p.a.object,textAlignment:p.a.string,readOnly:p.a.bool,tabIndex:p.a.number,placeholder:p.a.string,ariaLabel:p.a.string,ariaOwneeID:p.a.string,ariaActiveDescendantID:p.a.string,ariaAutoComplete:p.a.string,ariaDescribedBy:p.a.string,ariaExpanded:p.a.string,ariaHasPopup:p.a.string,customBlockRenderFunc:p.a.func,wrapperId:p.a.number,customDecorators:p.a.array,editorRef:p.a.func,handlePastedText:p.a.func},n_.defaultProps={toolbarOnFocus:!1,toolbarHidden:!1,stripPastedStyles:!1,localization:{locale:"en",translations:{}},customDecorators:[]};var nP=n_}],i.c=r,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}
1),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e||4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)i.d(n,o,(function(e){return t[e]}).bind(null,o));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=8);function i(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return o[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}},t.exports=o(n(2784),n(1503),n(27623))}}]);

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.