pixel-react-excel-sheet 1.0.78 → 1.0.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.esm.js CHANGED
@@ -52,10 +52,10 @@ var mm={};void 0!==mm.asn1&&mm.asn1||(mm.asn1={}),mm.asn1.ASN1Util=new function(
52
52
  Copyright (c) 2017 Jed Watson.
53
53
  Licensed under the MIT License (MIT), see
54
54
  http://jedwatson.github.io/classnames
55
- */!function(){var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var A=typeof r;if("string"===A||"number"===A)e.push(r);else if(Array.isArray(r)&&r.length){var i=o.apply(null,r);i&&e.push(i)}else if("object"===A)for(var a in r)n.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){(function(t){var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,A=/^0o[0-7]+$/i,i=parseInt,a="object"==typeof t&&t&&t.Object===Object&&t,l="object"==typeof self&&self&&self.Object===Object&&self,c=a||l||Function("return this")(),s=Object.prototype.toString,f=c.Symbol,d=f?f.prototype:void 0,C=d?d.toString:void 0;function u(e){if("string"==typeof e)return e;if(g(e))return C?C.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function p(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==s.call(e)}function h(e){return e?(e=function(e){if("number"==typeof e)return e;if(g(e))return NaN;if(p(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=p(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var a=o.test(e);return a||A.test(e)?i(e.slice(2),a?2:8):r.test(e)?NaN:+e}(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}e.exports=function(e,t,n){var r,o,A;return e=null==(r=e)?"":u(r),o=function(e){var t=h(e),n=t%1;return t==t?n?t-n:t:0}(n),A=e.length,o==o&&(void 0!==A&&(o=o<=A?o:A),o=o>=0?o:0),n=o,t=u(t),e.slice(n,n+t.length)==t}}).call(this,n(3))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){(function(t){var n,r=/^\[object .+?Constructor\]$/,o="object"==typeof t&&t&&t.Object===Object&&t,A="object"==typeof self&&self&&self.Object===Object&&self,i=o||A||Function("return this")(),a=Array.prototype,l=Function.prototype,c=Object.prototype,s=i["__core-js_shared__"],f=(n=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",d=l.toString,C=c.hasOwnProperty,u=c.toString,p=RegExp("^"+d.call(C).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),g=a.splice,h=M(i,"Map"),m=M(Object,"create");function E(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function b(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function w(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function v(e,t){for(var n,r,o=e.length;o--;)if((n=e[o][0])===(r=t)||n!=n&&r!=r)return o;return-1}function B(e){return!(!L(e)||(t=e,f&&f in t))&&(function(e){var t=L(e)?u.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?p:r).test(function(e){if(null!=e){try{return d.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}function I(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function M(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return B(n)?n:void 0}function y(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],A=n.cache;if(A.has(o))return A.get(o);var i=e.apply(this,r);return n.cache=A.set(o,i),i};return n.cache=new(y.Cache||w),n}function L(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}E.prototype.clear=function(){this.__data__=m?m(null):{}},E.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},E.prototype.get=function(e){var t=this.__data__;if(m){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return C.call(t,e)?t[e]:void 0},E.prototype.has=function(e){var t=this.__data__;return m?void 0!==t[e]:C.call(t,e)},E.prototype.set=function(e,t){return this.__data__[e]=m&&void 0===t?"__lodash_hash_undefined__":t,this},b.prototype.clear=function(){this.__data__=[]},b.prototype.delete=function(e){var t=this.__data__,n=v(t,e);return!(n<0||(n==t.length-1?t.pop():g.call(t,n,1),0))},b.prototype.get=function(e){var t=this.__data__,n=v(t,e);return n<0?void 0:t[n][1]},b.prototype.has=function(e){return v(this.__data__,e)>-1},b.prototype.set=function(e,t){var n=this.__data__,r=v(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},w.prototype.clear=function(){this.__data__={hash:new E,map:new(h||b),string:new E}},w.prototype.delete=function(e){return I(this,e).delete(e)},w.prototype.get=function(e){return I(this,e).get(e)},w.prototype.has=function(e){return I(this,e).has(e)},w.prototype.set=function(e,t){return I(this,e).set(e,t),this},y.Cache=w,e.exports=y}).call(this,n(3))},function(e,t,n){(function(t){var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,A=/^0o[0-7]+$/i,i=parseInt,a="object"==typeof t&&t&&t.Object===Object&&t,l="object"==typeof self&&self&&self.Object===Object&&self,c=a||l||Function("return this")(),s=Object.prototype.toString,f=Math.max,d=Math.min,C=function(){return c.Date.now()};function u(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function p(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==s.call(e)}(e))return NaN;if(u(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=u(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var a=o.test(e);return a||A.test(e)?i(e.slice(2),a?2:8):r.test(e)?NaN:+e}e.exports=function(e,t,n){var r,o,A,i,a,l,c=0,s=!1,g=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function m(t){var n=r,A=o;return r=o=void 0,c=t,i=e.apply(A,n)}function E(e){var n=e-l;return void 0===l||n>=t||n<0||g&&e-c>=A}function b(){var e=C();if(E(e))return w(e);a=setTimeout(b,function(e){var n=t-(e-l);return g?d(n,A-(e-c)):n}(e))}function w(e){return a=void 0,h&&r?m(e):(r=o=void 0,i)}function v(){var e=C(),n=E(e);if(r=arguments,o=this,l=e,n){if(void 0===a)return function(e){return c=e,a=setTimeout(b,t),s?m(e):i}(l);if(g)return a=setTimeout(b,t),m(l)}return void 0===a&&(a=setTimeout(b,t)),i}return t=p(t)||0,u(n)&&(s=!!n.leading,A=(g="maxWait"in n)?f(p(n.maxWait)||0,t):A,h="trailing"in n?!!n.trailing:h),v.cancel=function(){void 0!==a&&clearTimeout(a),c=0,r=l=o=a=void 0},v.flush=function(){return void 0===a?i:w(C())},v}}).call(this,n(3))},function(e,t,n){(function(e,n){var r="[object Arguments]",o="[object Map]",A="[object Object]",i="[object Set]",a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l=/^\w*$/,c=/^\./,s=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f=/\\(\\)?/g,d=/^\[object .+?Constructor\]$/,C=/^(?:0|[1-9]\d*)$/,u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u[r]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u["[object Function]"]=u[o]=u["[object Number]"]=u[A]=u["[object RegExp]"]=u[i]=u["[object String]"]=u["[object WeakMap]"]=!1;var p="object"==typeof e&&e&&e.Object===Object&&e,g="object"==typeof self&&self&&self.Object===Object&&self,h=p||g||Function("return this")(),m=t&&!t.nodeType&&t,E=m&&"object"==typeof n&&n&&!n.nodeType&&n,b=E&&E.exports===m&&p.process,w=function(){try{return b&&b.binding("util")}catch(e){}}(),v=w&&w.isTypedArray;function B(e,t,n,r){var o=-1,A=e?e.length:0;for(r&&A&&(n=e[++o]);++o<A;)n=t(n,e[o],o,e);return n}function I(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function M(e,t,n,r,o){return o(e,(function(e,o,A){n=r?(r=!1,e):t(n,e,o,A)})),n}function y(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function L(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Q(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var x,H,D,k=Array.prototype,V=Function.prototype,Z=Object.prototype,N=h["__core-js_shared__"],z=(x=/[^.]+$/.exec(N&&N.keys&&N.keys.IE_PROTO||""))?"Symbol(src)_1."+x:"",P=V.toString,O=Z.hasOwnProperty,S=Z.toString,j=RegExp("^"+P.call(O).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),F=h.Symbol,T=h.Uint8Array,R=Z.propertyIsEnumerable,G=k.splice,X=(H=Object.keys,D=Object,function(e){return H(D(e))}),Y=we(h,"DataView"),U=we(h,"Map"),K=we(h,"Promise"),W=we(h,"Set"),q=we(h,"WeakMap"),J=we(Object,"create"),_=xe(Y),$=xe(U),ee=xe(K),te=xe(W),ne=xe(q),re=F?F.prototype:void 0,oe=re?re.valueOf:void 0,Ae=re?re.toString:void 0;function ie(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ae(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function le(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ce(e){var t=-1,n=e?e.length:0;for(this.__data__=new le;++t<n;)this.add(e[t])}function se(e){this.__data__=new ae(e)}function fe(e,t){for(var n=e.length;n--;)if(De(e[n][0],t))return n;return-1}ie.prototype.clear=function(){this.__data__=J?J(null):{}},ie.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},ie.prototype.get=function(e){var t=this.__data__;if(J){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return O.call(t,e)?t[e]:void 0},ie.prototype.has=function(e){var t=this.__data__;return J?void 0!==t[e]:O.call(t,e)},ie.prototype.set=function(e,t){return this.__data__[e]=J&&void 0===t?"__lodash_hash_undefined__":t,this},ae.prototype.clear=function(){this.__data__=[]},ae.prototype.delete=function(e){var t=this.__data__,n=fe(t,e);return!(n<0||(n==t.length-1?t.pop():G.call(t,n,1),0))},ae.prototype.get=function(e){var t=this.__data__,n=fe(t,e);return n<0?void 0:t[n][1]},ae.prototype.has=function(e){return fe(this.__data__,e)>-1},ae.prototype.set=function(e,t){var n=this.__data__,r=fe(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},le.prototype.clear=function(){this.__data__={hash:new ie,map:new(U||ae),string:new ie}},le.prototype.delete=function(e){return be(this,e).delete(e)},le.prototype.get=function(e){return be(this,e).get(e)},le.prototype.has=function(e){return be(this,e).has(e)},le.prototype.set=function(e,t){return be(this,e).set(e,t),this},ce.prototype.add=ce.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},ce.prototype.has=function(e){return this.__data__.has(e)},se.prototype.clear=function(){this.__data__=new ae},se.prototype.delete=function(e){return this.__data__.delete(e)},se.prototype.get=function(e){return this.__data__.get(e)},se.prototype.has=function(e){return this.__data__.has(e)},se.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ae){var r=n.__data__;if(!U||r.length<199)return r.push([e,t]),this;n=this.__data__=new le(r)}return n.set(e,t),this};var de,Ce=(de=function(e,t){return e&&ue(e,t,Fe)},function(e,t){if(null==e)return e;if(!Ze(e))return de(e,t);for(var n=e.length,r=-1,o=Object(e);++r<n&&!1!==t(o[r],r,o););return e}),ue=function(e,t,n){for(var r=-1,o=Object(e),A=n(e),i=A.length;i--;){var a=A[++r];if(!1===t(o[a],a,o))break}return e};function pe(e,t){for(var n=0,r=(t=Ie(t,e)?[t]:me(t)).length;null!=e&&n<r;)e=e[Qe(t[n++])];return n&&n==r?e:void 0}function ge(e,t){return null!=e&&t in Object(e)}function he(e,t,n,a,l){return e===t||(null==e||null==t||!Pe(e)&&!Oe(t)?e!=e&&t!=t:function(e,t,n,a,l,c){var s=Ve(e),f=Ve(t),d="[object Array]",C="[object Array]";s||(d=(d=ve(e))==r?A:d),f||(C=(C=ve(t))==r?A:C);var u=d==A&&!y(e),p=C==A&&!y(t),g=d==C;if(g&&!u)return c||(c=new se),s||je(e)?Ee(e,t,n,a,l,c):function(e,t,n,r,A,a,l){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!r(new T(e),new T(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return De(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case o:var c=L;case i:var s=2&a;if(c||(c=Q),e.size!=t.size&&!s)return!1;var f=l.get(e);if(f)return f==t;a|=1,l.set(e,t);var d=Ee(c(e),c(t),r,A,a,l);return l.delete(e),d;case"[object Symbol]":if(oe)return oe.call(e)==oe.call(t)}return!1}(e,t,d,n,a,l,c);if(!(2&l)){var h=u&&O.call(e,"__wrapped__"),m=p&&O.call(t,"__wrapped__");if(h||m){var E=h?e.value():e,b=m?t.value():t;return c||(c=new se),n(E,b,a,l,c)}}return!!g&&(c||(c=new se),function(e,t,n,r,o,A){var i=2&o,a=Fe(e),l=a.length;if(l!=Fe(t).length&&!i)return!1;for(var c=l;c--;){var s=a[c];if(!(i?s in t:O.call(t,s)))return!1}var f=A.get(e);if(f&&A.get(t))return f==t;var d=!0;A.set(e,t),A.set(t,e);for(var C=i;++c<l;){var u=e[s=a[c]],p=t[s];if(r)var g=i?r(p,u,s,t,e,A):r(u,p,s,e,t,A);if(!(void 0===g?u===p||n(u,p,r,o,A):g)){d=!1;break}C||(C="constructor"==s)}if(d&&!C){var h=e.constructor,m=t.constructor;h==m||!("constructor"in e)||!("constructor"in t)||"function"==typeof h&&h instanceof h&&"function"==typeof m&&m instanceof m||(d=!1)}return A.delete(e),A.delete(t),d}(e,t,n,a,l,c))}(e,t,he,n,a,l))}function me(e){return Ve(e)?e:Le(e)}function Ee(e,t,n,r,o,A){var i=2&o,a=e.length,l=t.length;if(a!=l&&!(i&&l>a))return!1;var c=A.get(e);if(c&&A.get(t))return c==t;var s=-1,f=!0,d=1&o?new ce:void 0;for(A.set(e,t),A.set(t,e);++s<a;){var C=e[s],u=t[s];if(r)var p=i?r(u,C,s,t,e,A):r(C,u,s,e,t,A);if(void 0!==p){if(p)continue;f=!1;break}if(d){if(!I(t,(function(e,t){if(!d.has(t)&&(C===e||n(C,e,r,o,A)))return d.add(t)}))){f=!1;break}}else if(C!==u&&!n(C,u,r,o,A)){f=!1;break}}return A.delete(e),A.delete(t),f}function be(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function we(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Pe(e)||function(e){return!!z&&z in e}(e))&&(Ne(e)||y(e)?j:d).test(xe(e))}(n)?n:void 0}var ve=function(e){return S.call(e)};function Be(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||C.test(e))&&e>-1&&e%1==0&&e<t}function Ie(e,t){if(Ve(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Se(e))||l.test(e)||!a.test(e)||null!=t&&e in Object(t)}function Me(e){return e==e&&!Pe(e)}function ye(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}(Y&&"[object DataView]"!=ve(new Y(new ArrayBuffer(1)))||U&&ve(new U)!=o||K&&"[object Promise]"!=ve(K.resolve())||W&&ve(new W)!=i||q&&"[object WeakMap]"!=ve(new q))&&(ve=function(e){var t=S.call(e),n=t==A?e.constructor:void 0,r=n?xe(n):void 0;if(r)switch(r){case _:return"[object DataView]";case $:return o;case ee:return"[object Promise]";case te:return i;case ne:return"[object WeakMap]"}return t});var Le=He((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(Se(e))return Ae?Ae.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return c.test(e)&&n.push(""),e.replace(s,(function(e,t,r,o){n.push(r?o.replace(f,"$1"):t||e)})),n}));function Qe(e){if("string"==typeof e||Se(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function xe(e){if(null!=e){try{return P.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function He(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],A=n.cache;if(A.has(o))return A.get(o);var i=e.apply(this,r);return n.cache=A.set(o,i),i};return n.cache=new(He.Cache||le),n}function De(e,t){return e===t||e!=e&&t!=t}function ke(e){return function(e){return Oe(e)&&Ze(e)}(e)&&O.call(e,"callee")&&(!R.call(e,"callee")||S.call(e)==r)}He.Cache=le;var Ve=Array.isArray;function Ze(e){return null!=e&&ze(e.length)&&!Ne(e)}function Ne(e){var t=Pe(e)?S.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function ze(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Pe(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Oe(e){return!!e&&"object"==typeof e}function Se(e){return"symbol"==typeof e||Oe(e)&&"[object Symbol]"==S.call(e)}var je=v?function(e){return function(t){return e(t)}}(v):function(e){return Oe(e)&&ze(e.length)&&!!u[S.call(e)]};function Fe(e){return Ze(e)?function(e){var t=Ve(e)||ke(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],n=t.length,r=!!n;for(var o in e)!O.call(e,o)||r&&("length"==o||Be(o,n))||t.push(o);return t}(e):function(e){if(n=(t=e)&&t.constructor,t!==("function"==typeof n&&n.prototype||Z))return X(e);var t,n,r=[];for(var o in Object(e))O.call(e,o)&&"constructor"!=o&&r.push(o);return r}(e)}function Te(e){return e}n.exports=function(e,t,n){var r=Ve(e)?B:M,o=arguments.length<3;return r(e,function(e){return"function"==typeof e?e:null==e?Te:"object"==typeof e?Ve(e)?function(e,t){return Ie(e)&&Me(t)?ye(Qe(e),t):function(n){var r=function(e,t){var n=null==e?void 0:pe(e,t);return void 0===n?void 0:n}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&function(e,t,n){for(var r,o=-1,A=(t=Ie(t,e)?[t]:me(t)).length;++o<A;){var i=Qe(t[o]);if(!(r=null!=e&&n(e,i)))break;e=e[i]}return r||!!(A=e?e.length:0)&&ze(A)&&Be(i,A)&&(Ve(e)||ke(e))}(e,t,ge)}(n,e):he(t,r,void 0,3)}}(e[0],e[1]):function(e){var t=function(e){for(var t=Fe(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Me(o)]}return t}(e);return 1==t.length&&t[0][2]?ye(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n){var r=n.length,o=r;if(null==e)return!o;for(e=Object(e);r--;){var A=n[r];if(A[2]?A[1]!==e[A[0]]:!(A[0]in e))return!1}for(;++r<o;){var i=(A=n[r])[0],a=e[i],l=A[1];if(A[2]){if(void 0===a&&!(i in e))return!1}else if(!he(l,a,void 0,3,new se))return!1}return!0}(n,0,t)}}(e):Ie(t=e)?(n=Qe(t),function(e){return null==e?void 0:e[n]}):function(e){return function(t){return pe(t,e)}}(t);var t,n}(t),n,o,Ce)}}).call(this,n(3),n(7)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){String.prototype.padEnd||(String.prototype.padEnd=function(e,t){return e>>=0,t=String(void 0!==t?t:" "),this.length>e?String(this):((e-=this.length)>t.length&&(t+=t.repeat(e/t.length)),String(this)+t.slice(0,e))})},function(e,t,n){function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function A(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||o(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function i(e){if(Array.isArray(e))return e}function a(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e){return(s="function"==typeof Symbol&&"symbol"===c(Symbol.iterator)?function(e){return c(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":c(e)})(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n.r(t);var u=n(0),p=n.n(u),g=n(5),h=n.n(g),m=n(4),E=n.n(m),b=n(6),w=n.n(b),v=n(2),B=n.n(v),I=n(1),M=n.n(I);function y(e,t){return i(e)||function(e,t){var n=[],r=!0,o=!1,A=void 0;try{for(var i,a=e[Symbol.iterator]();!(r=(i=a.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,A=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw A}}return n}(e,t)||a()}n(8);var L=[["Afghanistan",["asia"],"af","93"],["Albania",["europe"],"al","355"],["Algeria",["africa","north-africa"],"dz","213"],["Andorra",["europe"],"ad","376"],["Angola",["africa"],"ao","244"],["Antigua and Barbuda",["america","carribean"],"ag","1268"],["Argentina",["america","south-america"],"ar","54","(..) ........",0,["11","221","223","261","264","2652","280","2905","291","2920","2966","299","341","342","343","351","376","379","381","3833","385","387","388"]],["Armenia",["asia","ex-ussr"],"am","374",".. ......"],["Aruba",["america","carribean"],"aw","297"],["Australia",["oceania"],"au","61","(..) .... ....",0,["2","3","4","7","8","02","03","04","07","08"]],["Austria",["europe","eu-union"],"at","43"],["Azerbaijan",["asia","ex-ussr"],"az","994","(..) ... .. .."],["Bahamas",["america","carribean"],"bs","1242"],["Bahrain",["middle-east"],"bh","973"],["Bangladesh",["asia"],"bd","880"],["Barbados",["america","carribean"],"bb","1246"],["Belarus",["europe","ex-ussr"],"by","375","(..) ... .. .."],["Belgium",["europe","eu-union"],"be","32","... .. .. .."],["Belize",["america","central-america"],"bz","501"],["Benin",["africa"],"bj","229"],["Bhutan",["asia"],"bt","975"],["Bolivia",["america","south-america"],"bo","591"],["Bosnia and Herzegovina",["europe","ex-yugos"],"ba","387"],["Botswana",["africa"],"bw","267"],["Brazil",["america","south-america"],"br","55","(..) ........."],["British Indian Ocean Territory",["asia"],"io","246"],["Brunei",["asia"],"bn","673"],["Bulgaria",["europe","eu-union"],"bg","359"],["Burkina Faso",["africa"],"bf","226"],["Burundi",["africa"],"bi","257"],["Cambodia",["asia"],"kh","855"],["Cameroon",["africa"],"cm","237"],["Canada",["america","north-america"],"ca","1","(...) ...-....",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde",["africa"],"cv","238"],["Caribbean Netherlands",["america","carribean"],"bq","599","",1],["Central African Republic",["africa"],"cf","236"],["Chad",["africa"],"td","235"],["Chile",["america","south-america"],"cl","56"],["China",["asia"],"cn","86","..-........."],["Colombia",["america","south-america"],"co","57","... ... ...."],["Comoros",["africa"],"km","269"],["Congo",["africa"],"cd","243"],["Congo",["africa"],"cg","242"],["Costa Rica",["america","central-america"],"cr","506","....-...."],["Côte d’Ivoire",["africa"],"ci","225",".. .. .. .."],["Croatia",["europe","eu-union","ex-yugos"],"hr","385"],["Cuba",["america","carribean"],"cu","53"],["Curaçao",["america","carribean"],"cw","599","",0],["Cyprus",["europe","eu-union"],"cy","357",".. ......"],["Czech Republic",["europe","eu-union"],"cz","420","... ... ..."],["Denmark",["europe","eu-union","baltic"],"dk","45",".. .. .. .."],["Djibouti",["africa"],"dj","253"],["Dominica",["america","carribean"],"dm","1767"],["Dominican Republic",["america","carribean"],"do","1","",2,["809","829","849"]],["Ecuador",["america","south-america"],"ec","593"],["Egypt",["africa","north-africa"],"eg","20"],["El Salvador",["america","central-america"],"sv","503","....-...."],["Equatorial Guinea",["africa"],"gq","240"],["Eritrea",["africa"],"er","291"],["Estonia",["europe","eu-union","ex-ussr","baltic"],"ee","372",".... ......"],["Ethiopia",["africa"],"et","251"],["Fiji",["oceania"],"fj","679"],["Finland",["europe","eu-union","baltic"],"fi","358",".. ... .. .."],["France",["europe","eu-union"],"fr","33",". .. .. .. .."],["French Guiana",["america","south-america"],"gf","594"],["French Polynesia",["oceania"],"pf","689"],["Gabon",["africa"],"ga","241"],["Gambia",["africa"],"gm","220"],["Georgia",["asia","ex-ussr"],"ge","995"],["Germany",["europe","eu-union","baltic"],"de","49",".... ........"],["Ghana",["africa"],"gh","233"],["Greece",["europe","eu-union"],"gr","30"],["Grenada",["america","carribean"],"gd","1473"],["Guadeloupe",["america","carribean"],"gp","590","",0],["Guam",["oceania"],"gu","1671"],["Guatemala",["america","central-america"],"gt","502","....-...."],["Guinea",["africa"],"gn","224"],["Guinea-Bissau",["africa"],"gw","245"],["Guyana",["america","south-america"],"gy","592"],["Haiti",["america","carribean"],"ht","509","....-...."],["Honduras",["america","central-america"],"hn","504"],["Hong Kong",["asia"],"hk","852",".... ...."],["Hungary",["europe","eu-union"],"hu","36"],["Iceland",["europe"],"is","354","... ...."],["India",["asia"],"in","91",".....-....."],["Indonesia",["asia"],"id","62"],["Iran",["middle-east"],"ir","98","... ... ...."],["Iraq",["middle-east"],"iq","964"],["Ireland",["europe","eu-union"],"ie","353",".. ......."],["Israel",["middle-east"],"il","972","... ... ...."],["Italy",["europe","eu-union"],"it","39","... .......",0],["Jamaica",["america","carribean"],"jm","1876"],["Japan",["asia"],"jp","81",".. .... ...."],["Jordan",["middle-east"],"jo","962"],["Kazakhstan",["asia","ex-ussr"],"kz","7","... ...-..-..",1,["310","311","312","313","315","318","321","324","325","326","327","336","7172","73622"]],["Kenya",["africa"],"ke","254"],["Kiribati",["oceania"],"ki","686"],["Kosovo",["europe","ex-yugos"],"xk","383"],["Kuwait",["middle-east"],"kw","965"],["Kyrgyzstan",["asia","ex-ussr"],"kg","996","... ... ..."],["Laos",["asia"],"la","856"],["Latvia",["europe","eu-union","ex-ussr","baltic"],"lv","371",".. ... ..."],["Lebanon",["middle-east"],"lb","961"],["Lesotho",["africa"],"ls","266"],["Liberia",["africa"],"lr","231"],["Libya",["africa","north-africa"],"ly","218"],["Liechtenstein",["europe"],"li","423"],["Lithuania",["europe","eu-union","ex-ussr","baltic"],"lt","370"],["Luxembourg",["europe","eu-union"],"lu","352"],["Macau",["asia"],"mo","853"],["Macedonia",["europe","ex-yugos"],"mk","389"],["Madagascar",["africa"],"mg","261"],["Malawi",["africa"],"mw","265"],["Malaysia",["asia"],"my","60","..-....-...."],["Maldives",["asia"],"mv","960"],["Mali",["africa"],"ml","223"],["Malta",["europe","eu-union"],"mt","356"],["Marshall Islands",["oceania"],"mh","692"],["Martinique",["america","carribean"],"mq","596"],["Mauritania",["africa"],"mr","222"],["Mauritius",["africa"],"mu","230"],["Mexico",["america","central-america"],"mx","52","... ... ....",0,["55","81","33","656","664","998","774","229"]],["Micronesia",["oceania"],"fm","691"],["Moldova",["europe"],"md","373","(..) ..-..-.."],["Monaco",["europe"],"mc","377"],["Mongolia",["asia"],"mn","976"],["Montenegro",["europe","ex-yugos"],"me","382"],["Morocco",["africa","north-africa"],"ma","212"],["Mozambique",["africa"],"mz","258"],["Myanmar",["asia"],"mm","95"],["Namibia",["africa"],"na","264"],["Nauru",["africa"],"nr","674"],["Nepal",["asia"],"np","977"],["Netherlands",["europe","eu-union"],"nl","31",".. ........"],["New Caledonia",["oceania"],"nc","687"],["New Zealand",["oceania"],"nz","64","...-...-...."],["Nicaragua",["america","central-america"],"ni","505"],["Niger",["africa"],"ne","227"],["Nigeria",["africa"],"ng","234"],["North Korea",["asia"],"kp","850"],["Norway",["europe","baltic"],"no","47","... .. ..."],["Oman",["middle-east"],"om","968"],["Pakistan",["asia"],"pk","92","...-......."],["Palau",["oceania"],"pw","680"],["Palestine",["middle-east"],"ps","970"],["Panama",["america","central-america"],"pa","507"],["Papua New Guinea",["oceania"],"pg","675"],["Paraguay",["america","south-america"],"py","595"],["Peru",["america","south-america"],"pe","51"],["Philippines",["asia"],"ph","63",".... ......."],["Poland",["europe","eu-union","baltic"],"pl","48","...-...-..."],["Portugal",["europe","eu-union"],"pt","351"],["Puerto Rico",["america","carribean"],"pr","1","",3,["787","939"]],["Qatar",["middle-east"],"qa","974"],["Réunion",["africa"],"re","262"],["Romania",["europe","eu-union"],"ro","40"],["Russia",["europe","asia","ex-ussr","baltic"],"ru","7","(...) ...-..-..",0],["Rwanda",["africa"],"rw","250"],["Saint Kitts and Nevis",["america","carribean"],"kn","1869"],["Saint Lucia",["america","carribean"],"lc","1758"],["Saint Vincent and the Grenadines",["america","carribean"],"vc","1784"],["Samoa",["oceania"],"ws","685"],["San Marino",["europe"],"sm","378"],["São Tomé and Príncipe",["africa"],"st","239"],["Saudi Arabia",["middle-east"],"sa","966"],["Senegal",["africa"],"sn","221"],["Serbia",["europe","ex-yugos"],"rs","381"],["Seychelles",["africa"],"sc","248"],["Sierra Leone",["africa"],"sl","232"],["Singapore",["asia"],"sg","65","....-...."],["Slovakia",["europe","eu-union"],"sk","421"],["Slovenia",["europe","eu-union","ex-yugos"],"si","386"],["Solomon Islands",["oceania"],"sb","677"],["Somalia",["africa"],"so","252"],["South Africa",["africa"],"za","27"],["South Korea",["asia"],"kr","82","... .... ...."],["South Sudan",["africa","north-africa"],"ss","211"],["Spain",["europe","eu-union"],"es","34","... ... ..."],["Sri Lanka",["asia"],"lk","94"],["Sudan",["africa"],"sd","249"],["Suriname",["america","south-america"],"sr","597"],["Swaziland",["africa"],"sz","268"],["Sweden",["europe","eu-union","baltic"],"se","46","(...) ...-..."],["Switzerland",["europe"],"ch","41",".. ... .. .."],["Syria",["middle-east"],"sy","963"],["Taiwan",["asia"],"tw","886"],["Tajikistan",["asia","ex-ussr"],"tj","992"],["Tanzania",["africa"],"tz","255"],["Thailand",["asia"],"th","66"],["Timor-Leste",["asia"],"tl","670"],["Togo",["africa"],"tg","228"],["Tonga",["oceania"],"to","676"],["Trinidad and Tobago",["america","carribean"],"tt","1868"],["Tunisia",["africa","north-africa"],"tn","216"],["Turkey",["europe"],"tr","90","... ... .. .."],["Turkmenistan",["asia","ex-ussr"],"tm","993"],["Tuvalu",["asia"],"tv","688"],["Uganda",["africa"],"ug","256"],["Ukraine",["europe","ex-ussr"],"ua","380","(..) ... .. .."],["United Arab Emirates",["middle-east"],"ae","971"],["United Kingdom",["europe","eu-union"],"gb","44",".... ......"],["United States",["america","north-america"],"us","1","(...) ...-....",0,["907","205","251","256","334","479","501","870","480","520","602","623","928","209","213","310","323","408","415","510","530","559","562","619","626","650","661","707","714","760","805","818","831","858","909","916","925","949","951","303","719","970","203","860","202","302","239","305","321","352","386","407","561","727","772","813","850","863","904","941","954","229","404","478","706","770","912","808","319","515","563","641","712","208","217","309","312","618","630","708","773","815","847","219","260","317","574","765","812","316","620","785","913","270","502","606","859","225","318","337","504","985","413","508","617","781","978","301","410","207","231","248","269","313","517","586","616","734","810","906","989","218","320","507","612","651","763","952","314","417","573","636","660","816","228","601","662","406","252","336","704","828","910","919","701","308","402","603","201","609","732","856","908","973","505","575","702","775","212","315","516","518","585","607","631","716","718","845","914","216","330","419","440","513","614","740","937","405","580","918","503","541","215","412","570","610","717","724","814","401","803","843","864","605","423","615","731","865","901","931","210","214","254","281","325","361","409","432","512","713","806","817","830","903","915","936","940","956","972","979","435","801","276","434","540","703","757","804","802","206","253","360","425","509","262","414","608","715","920","304","307"]],["Uruguay",["america","south-america"],"uy","598"],["Uzbekistan",["asia","ex-ussr"],"uz","998",".. ... .. .."],["Vanuatu",["oceania"],"vu","678"],["Vatican City",["europe"],"va","39",".. .... ....",1],["Venezuela",["america","south-america"],"ve","58"],["Vietnam",["asia"],"vn","84"],["Yemen",["middle-east"],"ye","967"],["Zambia",["africa"],"zm","260"],["Zimbabwe",["africa"],"zw","263"]],Q=[["American Samoa",["oceania"],"as","1684"],["Anguilla",["america","carribean"],"ai","1264"],["Bermuda",["america","north-america"],"bm","1441"],["British Virgin Islands",["america","carribean"],"vg","1284"],["Cayman Islands",["america","carribean"],"ky","1345"],["Cook Islands",["oceania"],"ck","682"],["Falkland Islands",["america","south-america"],"fk","500"],["Faroe Islands",["europe"],"fo","298"],["Gibraltar",["europe"],"gi","350"],["Greenland",["america"],"gl","299"],["Jersey",["europe","eu-union"],"je","44",".... ......"],["Montserrat",["america","carribean"],"ms","1664"],["Niue",["asia"],"nu","683"],["Norfolk Island",["oceania"],"nf","672"],["Northern Mariana Islands",["oceania"],"mp","1670"],["Saint Barthélemy",["america","carribean"],"bl","590","",1],["Saint Helena",["africa"],"sh","290"],["Saint Martin",["america","carribean"],"mf","590","",2],["Saint Pierre and Miquelon",["america","north-america"],"pm","508"],["Sint Maarten",["america","carribean"],"sx","1721"],["Tokelau",["oceania"],"tk","690"],["Turks and Caicos Islands",["america","carribean"],"tc","1649"],["U.S. Virgin Islands",["america","carribean"],"vi","1340"],["Wallis and Futuna",["oceania"],"wf","681"]];function x(e,t,n,r,o){return!n||o?e+"".padEnd(t.length,".")+" "+r:e+"".padEnd(t.length,".")+" "+n}function H(e,t,n,o,i){var a,l,c=[];return l=!0===t,[(a=[]).concat.apply(a,A(e.map((function(e){var A={name:e[0],regions:e[1],iso2:e[2],countryCode:e[3],dialCode:e[3],format:x(n,e[3],e[4],o,i),priority:e[5]||0},a=[];return e[6]&&e[6].map((function(t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}({},A);n.dialCode=e[3]+t,n.isAreaCode=!0,n.areaCodeLength=t.length,a.push(n)})),a.length>0?(A.mainCode=!0,l||"Array"===t.constructor.name&&t.includes(e[2])?(A.hasAreaCodes=!0,[A].concat(a)):(c=c.concat(a),[A])):[A]})))),c]}function D(e,t,n,r){if(null!==n){var o=Object.keys(n),A=Object.values(n);o.forEach((function(n,o){if(r)return e.push([n,A[o]]);var i=e.findIndex((function(e){return e[0]===n}));if(-1===i){var a=[n];a[t]=A[o],e.push(a)}else e[i][t]=A[o]}))}}function k(e,t){return 0===t.length?e:e.map((function(e){var n=t.findIndex((function(t){return t[0]===e[2]}));if(-1===n)return e;var r=t[n];return r[1]&&(e[4]=r[1]),r[3]&&(e[5]=r[3]),r[2]&&(e[6]=r[2]),e}))}var V=function e(t,n,r,o,i,a,c,s,f,d,C,u,p,g){l(this,e),this.filterRegions=function(e,t){if("string"==typeof e){var n=e;return t.filter((function(e){return e.regions.some((function(e){return e===n}))}))}return t.filter((function(t){return e.map((function(e){return t.regions.some((function(t){return t===e}))})).some((function(e){return e}))}))},this.sortTerritories=function(e,t){var n=[].concat(A(e),A(t));return n.sort((function(e,t){return e.name<t.name?-1:e.name>t.name?1:0})),n},this.getFilteredCountryList=function(e,t,n){return 0===e.length?t:n?e.map((function(e){var n=t.find((function(t){return t.iso2===e}));if(n)return n})).filter((function(e){return e})):t.filter((function(t){return e.some((function(e){return e===t.iso2}))}))},this.localizeCountries=function(e,t,n){for(var r=0;r<e.length;r++)void 0!==t[e[r].iso2]?e[r].localName=t[e[r].iso2]:void 0!==t[e[r].name]&&(e[r].localName=t[e[r].name]);return n||e.sort((function(e,t){return e.localName<t.localName?-1:e.localName>t.localName?1:0})),e},this.getCustomAreas=function(e,t){for(var n=[],r=0;r<t.length;r++){var o=JSON.parse(JSON.stringify(e));o.dialCode+=t[r],n.push(o)}return n},this.excludeCountries=function(e,t){return 0===t.length?e:e.filter((function(e){return!t.includes(e.iso2)}))};var h=function(e,t,n){var r=[];return D(r,1,e,!0),D(r,3,t),D(r,2,n),r}(s,f,d),m=k(JSON.parse(JSON.stringify(L)),h),E=k(JSON.parse(JSON.stringify(Q)),h),b=y(H(m,t,u,p,g),2),w=b[0],v=b[1];if(n){var B=y(H(E,t,u,p,g),2),I=B[0];B[1],w=this.sortTerritories(I,w)}r&&(w=this.filterRegions(r,w)),this.onlyCountries=this.localizeCountries(this.excludeCountries(this.getFilteredCountryList(o,w,c.includes("onlyCountries")),a),C,c.includes("onlyCountries")),this.preferredCountries=0===i.length?[]:this.localizeCountries(this.getFilteredCountryList(i,w,c.includes("preferredCountries")),C,c.includes("preferredCountries")),this.hiddenAreaCodes=this.excludeCountries(this.getFilteredCountryList(o,v),a)},Z=function(e){function t(e){var n;l(this,t),(n=function(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?f(e):t}(this,d(t).call(this,e))).getProbableCandidate=E()((function(e){return e&&0!==e.length?n.state.onlyCountries.filter((function(t){return B()(t.name.toLowerCase(),e.toLowerCase())}),f(f(n)))[0]:null})),n.guessSelectedCountry=E()((function(e,t,r,o){var A;if(!1===n.props.enableAreaCodes&&(o.some((function(t){if(B()(e,t.dialCode))return r.some((function(e){if(t.iso2===e.iso2&&e.mainCode)return A=e,!0})),!0})),A))return A;var i=r.find((function(e){return e.iso2==t}));if(""===e.trim())return i;var a=r.reduce((function(t,n){if(B()(e,n.dialCode)){if(n.dialCode.length>t.dialCode.length)return n;if(n.dialCode.length===t.dialCode.length&&n.priority<t.priority)return n}return t}),{dialCode:"",priority:10001},f(f(n)));return a.name?a:i})),n.updateCountry=function(e){var t,r=n.state.onlyCountries;(t=e.indexOf(0)>="0"&&e.indexOf(0)<="9"?r.find((function(t){return t.dialCode==+e})):r.find((function(t){return t.iso2==e})))&&t.dialCode&&n.setState({selectedCountry:t,formattedNumber:n.props.disableCountryCode?"":n.formatNumber(t.dialCode,t)})},n.scrollTo=function(e,t){if(e){var r=n.dropdownRef;if(r&&document.body){var o=r.offsetHeight,A=r.getBoundingClientRect().top+document.body.scrollTop,i=A+o,a=e,l=a.getBoundingClientRect(),c=a.offsetHeight,s=l.top+document.body.scrollTop,f=s+c,d=s-A+r.scrollTop,C=o/2-c/2;if(n.props.enableSearch?s<A+32:s<A)t&&(d-=C),r.scrollTop=d;else if(f>i){t&&(d+=C);var u=o-c;r.scrollTop=d-u}}}},n.scrollToTop=function(){var e=n.dropdownRef;e&&document.body&&(e.scrollTop=0)},n.formatNumber=function(e,t){if(!t)return e;var r,A=t.format,l=n.props,c=l.disableCountryCode,s=l.enableAreaCodeStretch,f=l.enableLongNumbers,d=l.autoFormat;if(c?((r=A.split(" ")).shift(),r=r.join(" ")):s&&t.isAreaCode?((r=A.split(" "))[1]=r[1].replace(/\.+/,"".padEnd(t.areaCodeLength,".")),r=r.join(" ")):r=A,!e||0===e.length)return c?"":n.props.prefix;if(e&&e.length<2||!r||!d)return c?e:n.props.prefix+e;var C,u=w()(r,(function(e,t){if(0===e.remainingText.length)return e;if("."!==t)return{formattedText:e.formattedText+t,remainingText:e.remainingText};var n,r=i(n=e.remainingText)||o(n)||a(),A=r[0],l=r.slice(1);return{formattedText:e.formattedText+A,remainingText:l}}),{formattedText:"",remainingText:e.split("")});return(C=f?u.formattedText+u.remainingText.join(""):u.formattedText).includes("(")&&!C.includes(")")&&(C+=")"),C},n.cursorToEnd=function(){var e=n.numberInputRef;if(document.activeElement===e){e.focus();var t=e.value.length;")"===e.value.charAt(t-1)&&(t-=1),e.setSelectionRange(t,t)}},n.getElement=function(e){return n["flag_no_".concat(e)]},n.getCountryData=function(){return n.state.selectedCountry?{name:n.state.selectedCountry.name||"",dialCode:n.state.selectedCountry.dialCode||"",countryCode:n.state.selectedCountry.iso2||"",format:n.state.selectedCountry.format||""}:{}},n.handleFlagDropdownClick=function(e){if(e.preventDefault(),n.state.showDropdown||!n.props.disabled){var t=n.state,r=t.preferredCountries,o=t.onlyCountries,A=t.selectedCountry,i=n.concatPreferredCountries(r,o).findIndex((function(e){return e.dialCode===A.dialCode&&e.iso2===A.iso2}));n.setState({showDropdown:!n.state.showDropdown,highlightCountryIndex:i},(function(){n.state.showDropdown&&n.scrollTo(n.getElement(n.state.highlightCountryIndex))}))}},n.handleInput=function(e){var t=e.target.value,r=n.props,o=r.prefix,A=r.onChange,i=n.props.disableCountryCode?"":o,a=n.state.selectedCountry,l=n.state.freezeSelection;if(!n.props.countryCodeEditable){var c=o+(a.hasAreaCodes?n.state.onlyCountries.find((function(e){return e.iso2===a.iso2&&e.mainCode})).dialCode:a.dialCode);if(t.slice(0,c.length)!==c)return}if(t===o)return A&&A("",n.getCountryData(),e,""),n.setState({formattedNumber:""});if(t.replace(/\D/g,"").length>15){if(!1===n.props.enableLongNumbers)return;if("number"==typeof n.props.enableLongNumbers&&t.replace(/\D/g,"").length>n.props.enableLongNumbers)return}if(t!==n.state.formattedNumber){e.preventDefault?e.preventDefault():e.returnValue=!1;var s=n.props.country,f=n.state,d=f.onlyCountries,C=f.selectedCountry,u=f.hiddenAreaCodes;if(A&&e.persist(),t.length>0){var p=t.replace(/\D/g,"");(!n.state.freezeSelection||C&&C.dialCode.length>p.length)&&(a=n.props.disableCountryGuess?C:n.guessSelectedCountry(p.substring(0,6),s,d,u)||C,l=!1),i=n.formatNumber(p,a),a=a.dialCode?a:C}var g=e.target.selectionStart,h=e.target.selectionStart,m=n.state.formattedNumber,E=i.length-m.length;n.setState({formattedNumber:i,freezeSelection:l,selectedCountry:a},(function(){E>0&&(h-=E),")"==i.charAt(i.length-1)?n.numberInputRef.setSelectionRange(i.length-1,i.length-1):h>0&&m.length>=i.length?n.numberInputRef.setSelectionRange(h,h):g<m.length&&n.numberInputRef.setSelectionRange(g,g),A&&A(i.replace(/[^0-9]+/g,""),n.getCountryData(),e,i)}))}},n.handleInputClick=function(e){n.setState({showDropdown:!1}),n.props.onClick&&n.props.onClick(e,n.getCountryData())},n.handleDoubleClick=function(e){var t=e.target.value.length;e.target.setSelectionRange(0,t)},n.handleFlagItemClick=function(e,t){var r=n.state.selectedCountry,o=n.state.onlyCountries.find((function(t){return t==e}));if(o){var A=n.state.formattedNumber.replace(" ","").replace("(","").replace(")","").replace("-",""),i=A.length>1?A.replace(r.dialCode,o.dialCode):o.dialCode,a=n.formatNumber(i.replace(/\D/g,""),o);n.setState({showDropdown:!1,selectedCountry:o,freezeSelection:!0,formattedNumber:a,searchValue:""},(function(){n.cursorToEnd(),n.props.onChange&&n.props.onChange(a.replace(/[^0-9]+/g,""),n.getCountryData(),t,a)}))}},n.handleInputFocus=function(e){n.numberInputRef&&n.numberInputRef.value===n.props.prefix&&n.state.selectedCountry&&!n.props.disableCountryCode&&n.setState({formattedNumber:n.props.prefix+n.state.selectedCountry.dialCode},(function(){n.props.jumpCursorToEnd&&setTimeout(n.cursorToEnd,0)})),n.setState({placeholder:""}),n.props.onFocus&&n.props.onFocus(e,n.getCountryData()),n.props.jumpCursorToEnd&&setTimeout(n.cursorToEnd,0)},n.handleInputBlur=function(e){e.target.value||n.setState({placeholder:n.props.placeholder}),n.props.onBlur&&n.props.onBlur(e,n.getCountryData())},n.handleInputCopy=function(e){if(n.props.copyNumbersOnly){var t=window.getSelection().toString().replace(/[^0-9]+/g,"");e.clipboardData.setData("text/plain",t),e.preventDefault()}},n.getHighlightCountryIndex=function(e){var t=n.state.highlightCountryIndex+e;return t<0||t>=n.state.onlyCountries.length+n.state.preferredCountries.length?t-e:n.props.enableSearch&&t>n.getSearchFilteredCountries().length?0:t},n.searchCountry=function(){var e=n.getProbableCandidate(n.state.queryString)||n.state.onlyCountries[0],t=n.state.onlyCountries.findIndex((function(t){return t==e}))+n.state.preferredCountries.length;n.scrollTo(n.getElement(t),!0),n.setState({queryString:"",highlightCountryIndex:t})},n.handleKeydown=function(e){var t=n.props.keys,r=e.target.className;if(r.includes("selected-flag")&&e.which===t.ENTER&&!n.state.showDropdown)return n.handleFlagDropdownClick(e);if(r.includes("form-control")&&(e.which===t.ENTER||e.which===t.ESC))return e.target.blur();if(n.state.showDropdown&&!n.props.disabled&&(!r.includes("search-box")||e.which===t.UP||e.which===t.DOWN||e.which===t.ENTER||e.which===t.ESC&&""===e.target.value)){e.preventDefault?e.preventDefault():e.returnValue=!1;var o=function(e){n.setState({highlightCountryIndex:n.getHighlightCountryIndex(e)},(function(){n.scrollTo(n.getElement(n.state.highlightCountryIndex),!0)}))};switch(e.which){case t.DOWN:o(1);break;case t.UP:o(-1);break;case t.ENTER:n.props.enableSearch?n.handleFlagItemClick(n.getSearchFilteredCountries()[n.state.highlightCountryIndex]||n.getSearchFilteredCountries()[0],e):n.handleFlagItemClick([].concat(A(n.state.preferredCountries),A(n.state.onlyCountries))[n.state.highlightCountryIndex],e);break;case t.ESC:case t.TAB:n.setState({showDropdown:!1},n.cursorToEnd);break;default:(e.which>=t.A&&e.which<=t.Z||e.which===t.SPACE)&&n.setState({queryString:n.state.queryString+String.fromCharCode(e.which)},n.state.debouncedQueryStingSearcher)}}},n.handleInputKeyDown=function(e){var t=n.props,r=t.keys,o=t.onEnterKeyPress,A=t.onKeyDown;e.which===r.ENTER&&o&&o(e),A&&A(e)},n.handleClickOutside=function(e){n.dropdownRef&&!n.dropdownContainerRef.contains(e.target)&&n.state.showDropdown&&n.setState({showDropdown:!1})},n.handleSearchChange=function(e){var t=e.currentTarget.value,r=n.state,o=r.preferredCountries,A=r.selectedCountry,i=0;if(""===t&&A){var a=n.state.onlyCountries;i=n.concatPreferredCountries(o,a).findIndex((function(e){return e==A})),setTimeout((function(){return n.scrollTo(n.getElement(i))}),100)}n.setState({searchValue:t,highlightCountryIndex:i})},n.concatPreferredCountries=function(e,t){return e.length>0?A(new Set(e.concat(t))):t},n.getDropdownCountryName=function(e){return e.localName||e.name},n.getSearchFilteredCountries=function(){var e=n.state,t=e.preferredCountries,r=e.onlyCountries,o=e.searchValue,i=n.props.enableSearch,a=n.concatPreferredCountries(t,r),l=o.trim().toLowerCase().replace("+","");if(i&&l){if(/^\d+$/.test(l))return a.filter((function(e){var t=e.dialCode;return["".concat(t)].some((function(e){return e.toLowerCase().includes(l)}))}));var c=a.filter((function(e){var t=e.iso2;return["".concat(t)].some((function(e){return e.toLowerCase().includes(l)}))})),s=a.filter((function(e){var t=e.name,n=e.localName;return e.iso2,["".concat(t),"".concat(n||"")].some((function(e){return e.toLowerCase().includes(l)}))}));return n.scrollToTop(),A(new Set([].concat(c,s)))}return a},n.getCountryDropdownList=function(){var e=n.state,t=e.preferredCountries,o=e.highlightCountryIndex,A=e.showDropdown,i=e.searchValue,a=n.props,l=a.disableDropdown,c=a.prefix,s=n.props,f=s.enableSearch,d=s.searchNotFound,C=s.disableSearchIcon,u=s.searchClass,g=s.searchStyle,h=s.searchPlaceholder,m=s.autocompleteSearch,E=n.getSearchFilteredCountries().map((function(e,t){var r=o===t,A=M()({country:!0,preferred:"us"===e.iso2||"gb"===e.iso2,active:"us"===e.iso2,highlight:r}),i="flag ".concat(e.iso2);return p.a.createElement("li",Object.assign({ref:function(e){return n["flag_no_".concat(t)]=e},key:"flag_no_".concat(t),"data-flag-key":"flag_no_".concat(t),className:A,"data-dial-code":"1",tabIndex:l?"-1":"0","data-country-code":e.iso2,onClick:function(t){return n.handleFlagItemClick(e,t)},role:"option"},r?{"aria-selected":!0}:{}),p.a.createElement("div",{className:i}),p.a.createElement("span",{className:"country-name"},n.getDropdownCountryName(e)),p.a.createElement("span",{className:"dial-code"},e.format?n.formatNumber(e.dialCode,e):c+e.dialCode))})),b=p.a.createElement("li",{key:"dashes",className:"divider"});t.length>0&&(!f||f&&!i.trim())&&E.splice(t.length,0,b);var w=M()(r({"country-list":!0,hide:!A},n.props.dropdownClass,!0));return p.a.createElement("ul",{ref:function(e){return!f&&e&&e.focus(),n.dropdownRef=e},className:w,style:n.props.dropdownStyle,role:"listbox",tabIndex:"0"},f&&p.a.createElement("li",{className:M()(r({search:!0},u,u))},!C&&p.a.createElement("span",{className:M()(r({"search-emoji":!0},"".concat(u,"-emoji"),u)),role:"img","aria-label":"Magnifying glass"},"🔎"),p.a.createElement("input",{className:M()(r({"search-box":!0},"".concat(u,"-box"),u)),style:g,type:"search",placeholder:h,autoFocus:!0,autoComplete:m?"on":"off",value:i,onChange:n.handleSearchChange})),E.length>0?E:p.a.createElement("li",{className:"no-entries-message"},p.a.createElement("span",null,d)))};var c,C=new V(e.enableAreaCodes,e.enableTerritories,e.regions,e.onlyCountries,e.preferredCountries,e.excludeCountries,e.preserveOrder,e.masks,e.priority,e.areaCodes,e.localization,e.prefix,e.defaultMask,e.alwaysDefaultMask),u=C.onlyCountries,g=C.preferredCountries,m=C.hiddenAreaCodes,b=e.value?e.value.replace(/\D/g,""):"";c=e.disableInitialCountryGuess?0:b.length>1?n.guessSelectedCountry(b.substring(0,6),e.country,u,m)||0:e.country&&u.find((function(t){return t.iso2==e.country}))||0;var v,I=b.length<2&&c&&!B()(b,c.dialCode)?c.dialCode:"";v=""===b&&0===c?"":n.formatNumber((e.disableCountryCode?"":I)+b,c.name?c:void 0);var y=u.findIndex((function(e){return e==c}));return n.state={showDropdown:e.showDropdown,formattedNumber:v,onlyCountries:u,preferredCountries:g,hiddenAreaCodes:m,selectedCountry:c,highlightCountryIndex:y,queryString:"",freezeSelection:!1,debouncedQueryStingSearcher:h()(n.searchCountry,250),searchValue:""},n}var n;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C(e,t)}(t,e),(n=[{key:"componentDidMount",value:function(){document.addEventListener&&this.props.enableClickOutside&&document.addEventListener("mousedown",this.handleClickOutside),this.props.onMount&&this.props.onMount(this.state.formattedNumber.replace(/[^0-9]+/g,""),this.getCountryData(),this.state.formattedNumber)}},{key:"componentWillUnmount",value:function(){document.removeEventListener&&this.props.enableClickOutside&&document.removeEventListener("mousedown",this.handleClickOutside)}},{key:"componentDidUpdate",value:function(e,t,n){e.country!==this.props.country?this.updateCountry(this.props.country):e.value!==this.props.value&&this.updateFormattedNumber(this.props.value)}},{key:"updateFormattedNumber",value:function(e){if(null===e)return this.setState({selectedCountry:0,formattedNumber:""});var t=this.state,n=t.onlyCountries,r=t.selectedCountry,o=t.hiddenAreaCodes,A=this.props,i=A.country,a=A.prefix;if(""===e)return this.setState({selectedCountry:r,formattedNumber:""});var l,c,s=e.replace(/\D/g,"");if(r&&B()(e,a+r.dialCode))c=this.formatNumber(s,r),this.setState({formattedNumber:c});else{var f=(l=this.props.disableCountryGuess?r:this.guessSelectedCountry(s.substring(0,6),i,n,o)||r)&&B()(s,a+l.dialCode)?l.dialCode:"";c=this.formatNumber((this.props.disableCountryCode?"":f)+s,l||void 0),this.setState({selectedCountry:l,formattedNumber:c})}}},{key:"render",value:function(){var e,t,n,o=this,A=this.state,i=A.onlyCountries,a=A.selectedCountry,l=A.showDropdown,c=A.formattedNumber,s=A.hiddenAreaCodes,f=this.props,d=f.disableDropdown,C=f.renderStringAsFlag,u=f.isValid,g=f.defaultErrorMessage,h=f.specialLabel;if("boolean"==typeof u)t=u;else{var m=u(c.replace(/\D/g,""),a,i,s);"boolean"==typeof m?!1===(t=m)&&(n=g):(t=!1,n=m)}var E=M()((r(e={},this.props.containerClass,!0),r(e,"react-tel-input",!0),e)),b=M()({arrow:!0,up:l}),w=M()(r({"form-control":!0,"invalid-number":!t,open:l},this.props.inputClass,!0)),v=M()({"selected-flag":!0,open:l}),B=M()(r({"flag-dropdown":!0,"invalid-number":!t,open:l},this.props.buttonClass,!0)),I="flag ".concat(a&&a.iso2);return p.a.createElement("div",{className:"".concat(E," ").concat(this.props.className),style:this.props.style||this.props.containerStyle,onKeyDown:this.handleKeydown},h&&p.a.createElement("div",{className:"special-label"},h),n&&p.a.createElement("div",{className:"invalid-number-message"},n),p.a.createElement("input",Object.assign({className:w,style:this.props.inputStyle,onChange:this.handleInput,onClick:this.handleInputClick,onDoubleClick:this.handleDoubleClick,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur,onCopy:this.handleInputCopy,value:c,onKeyDown:this.handleInputKeyDown,placeholder:this.props.placeholder,disabled:this.props.disabled,type:"tel"},this.props.inputProps,{ref:function(e){o.numberInputRef=e,"function"==typeof o.props.inputProps.ref?o.props.inputProps.ref(e):"object"==typeof o.props.inputProps.ref&&(o.props.inputProps.ref.current=e)}})),p.a.createElement("div",{className:B,style:this.props.buttonStyle,ref:function(e){return o.dropdownContainerRef=e}},C?p.a.createElement("div",{className:v},C):p.a.createElement("div",{onClick:d?void 0:this.handleFlagDropdownClick,className:v,title:a?"".concat(a.localName||a.name,": + ").concat(a.dialCode):"",tabIndex:d?"-1":"0",role:"button","aria-haspopup":"listbox","aria-expanded":!!l||void 0},p.a.createElement("div",{className:I},!d&&p.a.createElement("div",{className:b}))),l&&this.getCountryDropdownList()))}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,n),t}(p.a.Component);Z.defaultProps={country:"",value:"",onlyCountries:[],preferredCountries:[],excludeCountries:[],placeholder:"1 (702) 123-4567",searchPlaceholder:"search",searchNotFound:"No entries to show",flagsImagePath:"./flags.png",disabled:!1,containerStyle:{},inputStyle:{},buttonStyle:{},dropdownStyle:{},searchStyle:{},containerClass:"",inputClass:"",buttonClass:"",dropdownClass:"",searchClass:"",className:"",autoFormat:!0,enableAreaCodes:!1,enableTerritories:!1,disableCountryCode:!1,disableDropdown:!1,enableLongNumbers:!1,countryCodeEditable:!0,enableSearch:!1,disableSearchIcon:!1,disableInitialCountryGuess:!1,disableCountryGuess:!1,regions:"",inputProps:{},localization:{},masks:null,priority:null,areaCodes:null,preserveOrder:[],defaultMask:"... ... ... ... ..",alwaysDefaultMask:!1,prefix:"+",copyNumbersOnly:!0,renderStringAsFlag:"",autocompleteSearch:!1,jumpCursorToEnd:!0,enableAreaCodeStretch:!1,enableClickOutside:!0,showDropdown:!1,isValid:!0,defaultErrorMessage:"",specialLabel:"Phone",onEnterKeyPress:null,keys:{UP:38,DOWN:40,RIGHT:39,LEFT:37,ENTER:13,ESC:27,PLUS:43,A:65,Z:90,SPACE:32,TAB:9}},t.default=Z}])),iw),cw=Q(lw);y('.error {\n margin-top: 5px;\n}\n\n.react-tel-input {\n font-family: "Roboto", sans-serif;\n font-size: 15px;\n position: relative;\n width: 100%;\n}\n\n.react-tel-input :disabled {\n cursor: not-allowed;\n}\n\n.react-tel-input .flag {\n width: 16px;\n height: 11px;\n background-image: url(data:image/png;base64,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);\n}\n\n.react-tel-input .ad {\n background-position: -16px 0;\n}\n\n.react-tel-input .ae {\n background-position: -32px 0;\n}\n\n.react-tel-input .af {\n background-position: -48px 0;\n}\n\n.react-tel-input .ag {\n background-position: -64px 0;\n}\n\n.react-tel-input .ai {\n background-position: -80px 0;\n}\n\n.react-tel-input .al {\n background-position: -96px 0;\n}\n\n.react-tel-input .am {\n background-position: -112px 0;\n}\n\n.react-tel-input .ao {\n background-position: -128px 0;\n}\n\n.react-tel-input .ar {\n background-position: -144px 0;\n}\n\n.react-tel-input .as {\n background-position: -160px 0;\n}\n\n.react-tel-input .at {\n background-position: -176px 0;\n}\n\n.react-tel-input .au {\n background-position: -192px 0;\n}\n\n.react-tel-input .aw {\n background-position: -208px 0;\n}\n\n.react-tel-input .az {\n background-position: -224px 0;\n}\n\n.react-tel-input .ba {\n background-position: -240px 0;\n}\n\n.react-tel-input .bb {\n background-position: 0 -11px;\n}\n\n.react-tel-input .bd {\n background-position: -16px -11px;\n}\n\n.react-tel-input .be {\n background-position: -32px -11px;\n}\n\n.react-tel-input .bf {\n background-position: -48px -11px;\n}\n\n.react-tel-input .bg {\n background-position: -64px -11px;\n}\n\n.react-tel-input .bh {\n background-position: -80px -11px;\n}\n\n.react-tel-input .bi {\n background-position: -96px -11px;\n}\n\n.react-tel-input .bj {\n background-position: -112px -11px;\n}\n\n.react-tel-input .bm {\n background-position: -128px -11px;\n}\n\n.react-tel-input .bn {\n background-position: -144px -11px;\n}\n\n.react-tel-input .bo {\n background-position: -160px -11px;\n}\n\n.react-tel-input .br {\n background-position: -176px -11px;\n}\n\n.react-tel-input .bs {\n background-position: -192px -11px;\n}\n\n.react-tel-input .bt {\n background-position: -208px -11px;\n}\n\n.react-tel-input .bw {\n background-position: -224px -11px;\n}\n\n.react-tel-input .by {\n background-position: -240px -11px;\n}\n\n.react-tel-input .bz {\n background-position: 0 -22px;\n}\n\n.react-tel-input .ca {\n background-position: -16px -22px;\n}\n\n.react-tel-input .cd {\n background-position: -32px -22px;\n}\n\n.react-tel-input .cf {\n background-position: -48px -22px;\n}\n\n.react-tel-input .cg {\n background-position: -64px -22px;\n}\n\n.react-tel-input .ch {\n background-position: -80px -22px;\n}\n\n.react-tel-input .ci {\n background-position: -96px -22px;\n}\n\n.react-tel-input .ck {\n background-position: -112px -22px;\n}\n\n.react-tel-input .cl {\n background-position: -128px -22px;\n}\n\n.react-tel-input .cm {\n background-position: -144px -22px;\n}\n\n.react-tel-input .cn {\n background-position: -160px -22px;\n}\n\n.react-tel-input .co {\n background-position: -176px -22px;\n}\n\n.react-tel-input .cr {\n background-position: -192px -22px;\n}\n\n.react-tel-input .cu {\n background-position: -208px -22px;\n}\n\n.react-tel-input .cv {\n background-position: -224px -22px;\n}\n\n.react-tel-input .cw {\n background-position: -240px -22px;\n}\n\n.react-tel-input .cy {\n background-position: 0 -33px;\n}\n\n.react-tel-input .cz {\n background-position: -16px -33px;\n}\n\n.react-tel-input .de {\n background-position: -32px -33px;\n}\n\n.react-tel-input .dj {\n background-position: -48px -33px;\n}\n\n.react-tel-input .dk {\n background-position: -64px -33px;\n}\n\n.react-tel-input .dm {\n background-position: -80px -33px;\n}\n\n.react-tel-input .do {\n background-position: -96px -33px;\n}\n\n.react-tel-input .dz {\n background-position: -112px -33px;\n}\n\n.react-tel-input .ec {\n background-position: -128px -33px;\n}\n\n.react-tel-input .ee {\n background-position: -144px -33px;\n}\n\n.react-tel-input .eg {\n background-position: -160px -33px;\n}\n\n.react-tel-input .er {\n background-position: -176px -33px;\n}\n\n.react-tel-input .es {\n background-position: -192px -33px;\n}\n\n.react-tel-input .et {\n background-position: -208px -33px;\n}\n\n.react-tel-input .fi {\n background-position: -224px -33px;\n}\n\n.react-tel-input .fj {\n background-position: -240px -33px;\n}\n\n.react-tel-input .fk {\n background-position: 0 -44px;\n}\n\n.react-tel-input .fm {\n background-position: -16px -44px;\n}\n\n.react-tel-input .fo {\n background-position: -32px -44px;\n}\n\n.react-tel-input .fr,\n.react-tel-input .bl,\n.react-tel-input .mf {\n background-position: -48px -44px;\n}\n\n.react-tel-input .ga {\n background-position: -64px -44px;\n}\n\n.react-tel-input .gb {\n background-position: -80px -44px;\n}\n\n.react-tel-input .gd {\n background-position: -96px -44px;\n}\n\n.react-tel-input .ge {\n background-position: -112px -44px;\n}\n\n.react-tel-input .gf {\n background-position: -128px -44px;\n}\n\n.react-tel-input .gh {\n background-position: -144px -44px;\n}\n\n.react-tel-input .gi {\n background-position: -160px -44px;\n}\n\n.react-tel-input .gl {\n background-position: -176px -44px;\n}\n\n.react-tel-input .gm {\n background-position: -192px -44px;\n}\n\n.react-tel-input .gn {\n background-position: -208px -44px;\n}\n\n.react-tel-input .gp {\n background-position: -224px -44px;\n}\n\n.react-tel-input .gq {\n background-position: -240px -44px;\n}\n\n.react-tel-input .gr {\n background-position: 0 -55px;\n}\n\n.react-tel-input .gt {\n background-position: -16px -55px;\n}\n\n.react-tel-input .gu {\n background-position: -32px -55px;\n}\n\n.react-tel-input .gw {\n background-position: -48px -55px;\n}\n\n.react-tel-input .gy {\n background-position: -64px -55px;\n}\n\n.react-tel-input .hk {\n background-position: -80px -55px;\n}\n\n.react-tel-input .hn {\n background-position: -96px -55px;\n}\n\n.react-tel-input .hr {\n background-position: -112px -55px;\n}\n\n.react-tel-input .ht {\n background-position: -128px -55px;\n}\n\n.react-tel-input .hu {\n background-position: -144px -55px;\n}\n\n.react-tel-input .id {\n background-position: -160px -55px;\n}\n\n.react-tel-input .ie {\n background-position: -176px -55px;\n}\n\n.react-tel-input .il {\n background-position: -192px -55px;\n}\n\n.react-tel-input .in {\n background-position: -208px -55px;\n}\n\n.react-tel-input .io {\n background-position: -224px -55px;\n}\n\n.react-tel-input .iq {\n background-position: -240px -55px;\n}\n\n.react-tel-input .ir {\n background-position: 0 -66px;\n}\n\n.react-tel-input .is {\n background-position: -16px -66px;\n}\n\n.react-tel-input .it {\n background-position: -32px -66px;\n}\n\n.react-tel-input .je {\n background-position: -144px -154px;\n}\n\n.react-tel-input .jm {\n background-position: -48px -66px;\n}\n\n.react-tel-input .jo {\n background-position: -64px -66px;\n}\n\n.react-tel-input .jp {\n background-position: -80px -66px;\n}\n\n.react-tel-input .ke {\n background-position: -96px -66px;\n}\n\n.react-tel-input .kg {\n background-position: -112px -66px;\n}\n\n.react-tel-input .kh {\n background-position: -128px -66px;\n}\n\n.react-tel-input .ki {\n background-position: -144px -66px;\n}\n\n.react-tel-input .xk {\n background-position: -128px -154px;\n}\n\n.react-tel-input .km {\n background-position: -160px -66px;\n}\n\n.react-tel-input .kn {\n background-position: -176px -66px;\n}\n\n.react-tel-input .kp {\n background-position: -192px -66px;\n}\n\n.react-tel-input .kr {\n background-position: -208px -66px;\n}\n\n.react-tel-input .kw {\n background-position: -224px -66px;\n}\n\n.react-tel-input .ky {\n background-position: -240px -66px;\n}\n\n.react-tel-input .kz {\n background-position: 0 -77px;\n}\n\n.react-tel-input .la {\n background-position: -16px -77px;\n}\n\n.react-tel-input .lb {\n background-position: -32px -77px;\n}\n\n.react-tel-input .lc {\n background-position: -48px -77px;\n}\n\n.react-tel-input .li {\n background-position: -64px -77px;\n}\n\n.react-tel-input .lk {\n background-position: -80px -77px;\n}\n\n.react-tel-input .lr {\n background-position: -96px -77px;\n}\n\n.react-tel-input .ls {\n background-position: -112px -77px;\n}\n\n.react-tel-input .lt {\n background-position: -128px -77px;\n}\n\n.react-tel-input .lu {\n background-position: -144px -77px;\n}\n\n.react-tel-input .lv {\n background-position: -160px -77px;\n}\n\n.react-tel-input .ly {\n background-position: -176px -77px;\n}\n\n.react-tel-input .ma {\n background-position: -192px -77px;\n}\n\n.react-tel-input .mc {\n background-position: -208px -77px;\n}\n\n.react-tel-input .md {\n background-position: -224px -77px;\n}\n\n.react-tel-input .me {\n background-position: -112px -154px;\n height: 12px;\n}\n\n.react-tel-input .mg {\n background-position: 0 -88px;\n}\n\n.react-tel-input .mh {\n background-position: -16px -88px;\n}\n\n.react-tel-input .mk {\n background-position: -32px -88px;\n}\n\n.react-tel-input .ml {\n background-position: -48px -88px;\n}\n\n.react-tel-input .mm {\n background-position: -64px -88px;\n}\n\n.react-tel-input .mn {\n background-position: -80px -88px;\n}\n\n.react-tel-input .mo {\n background-position: -96px -88px;\n}\n\n.react-tel-input .mp {\n background-position: -112px -88px;\n}\n\n.react-tel-input .mq {\n background-position: -128px -88px;\n}\n\n.react-tel-input .mr {\n background-position: -144px -88px;\n}\n\n.react-tel-input .ms {\n background-position: -160px -88px;\n}\n\n.react-tel-input .mt {\n background-position: -176px -88px;\n}\n\n.react-tel-input .mu {\n background-position: -192px -88px;\n}\n\n.react-tel-input .mv {\n background-position: -208px -88px;\n}\n\n.react-tel-input .mw {\n background-position: -224px -88px;\n}\n\n.react-tel-input .mx {\n background-position: -240px -88px;\n}\n\n.react-tel-input .my {\n background-position: 0 -99px;\n}\n\n.react-tel-input .mz {\n background-position: -16px -99px;\n}\n\n.react-tel-input .na {\n background-position: -32px -99px;\n}\n\n.react-tel-input .nc {\n background-position: -48px -99px;\n}\n\n.react-tel-input .ne {\n background-position: -64px -99px;\n}\n\n.react-tel-input .nf {\n background-position: -80px -99px;\n}\n\n.react-tel-input .ng {\n background-position: -96px -99px;\n}\n\n.react-tel-input .ni {\n background-position: -112px -99px;\n}\n\n.react-tel-input .nl,\n.react-tel-input .bq {\n background-position: -128px -99px;\n}\n\n.react-tel-input .no {\n background-position: -144px -99px;\n}\n\n.react-tel-input .np {\n background-position: -160px -99px;\n}\n\n.react-tel-input .nr {\n background-position: -176px -99px;\n}\n\n.react-tel-input .nu {\n background-position: -192px -99px;\n}\n\n.react-tel-input .nz {\n background-position: -208px -99px;\n}\n\n.react-tel-input .om {\n background-position: -224px -99px;\n}\n\n.react-tel-input .pa {\n background-position: -240px -99px;\n}\n\n.react-tel-input .pe {\n background-position: 0 -110px;\n}\n\n.react-tel-input .pf {\n background-position: -16px -110px;\n}\n\n.react-tel-input .pg {\n background-position: -32px -110px;\n}\n\n.react-tel-input .ph {\n background-position: -48px -110px;\n}\n\n.react-tel-input .pk {\n background-position: -64px -110px;\n}\n\n.react-tel-input .pl {\n background-position: -80px -110px;\n}\n\n.react-tel-input .pm {\n background-position: -96px -110px;\n}\n\n.react-tel-input .pr {\n background-position: -112px -110px;\n}\n\n.react-tel-input .ps {\n background-position: -128px -110px;\n}\n\n.react-tel-input .pt {\n background-position: -144px -110px;\n}\n\n.react-tel-input .pw {\n background-position: -160px -110px;\n}\n\n.react-tel-input .py {\n background-position: -176px -110px;\n}\n\n.react-tel-input .qa {\n background-position: -192px -110px;\n}\n\n.react-tel-input .re {\n background-position: -208px -110px;\n}\n\n.react-tel-input .ro {\n background-position: -224px -110px;\n}\n\n.react-tel-input .rs {\n background-position: -240px -110px;\n}\n\n.react-tel-input .ru {\n background-position: 0 -121px;\n}\n\n.react-tel-input .rw {\n background-position: -16px -121px;\n}\n\n.react-tel-input .sa {\n background-position: -32px -121px;\n}\n\n.react-tel-input .sb {\n background-position: -48px -121px;\n}\n\n.react-tel-input .sc {\n background-position: -64px -121px;\n}\n\n.react-tel-input .sd {\n background-position: -80px -121px;\n}\n\n.react-tel-input .se {\n background-position: -96px -121px;\n}\n\n.react-tel-input .sg {\n background-position: -112px -121px;\n}\n\n.react-tel-input .sh {\n background-position: -128px -121px;\n}\n\n.react-tel-input .si {\n background-position: -144px -121px;\n}\n\n.react-tel-input .sk {\n background-position: -160px -121px;\n}\n\n.react-tel-input .sl {\n background-position: -176px -121px;\n}\n\n.react-tel-input .sm {\n background-position: -192px -121px;\n}\n\n.react-tel-input .sn {\n background-position: -208px -121px;\n}\n\n.react-tel-input .so {\n background-position: -224px -121px;\n}\n\n.react-tel-input .sr {\n background-position: -240px -121px;\n}\n\n.react-tel-input .ss {\n background-position: 0 -132px;\n}\n\n.react-tel-input .st {\n background-position: -16px -132px;\n}\n\n.react-tel-input .sv {\n background-position: -32px -132px;\n}\n\n.react-tel-input .sx {\n background-position: -48px -132px;\n}\n\n.react-tel-input .sy {\n background-position: -64px -132px;\n}\n\n.react-tel-input .sz {\n background-position: -80px -132px;\n}\n\n.react-tel-input .tc {\n background-position: -96px -132px;\n}\n\n.react-tel-input .td {\n background-position: -112px -132px;\n}\n\n.react-tel-input .tg {\n background-position: -128px -132px;\n}\n\n.react-tel-input .th {\n background-position: -144px -132px;\n}\n\n.react-tel-input .tj {\n background-position: -160px -132px;\n}\n\n.react-tel-input .tk {\n background-position: -176px -132px;\n}\n\n.react-tel-input .tl {\n background-position: -192px -132px;\n}\n\n.react-tel-input .tm {\n background-position: -208px -132px;\n}\n\n.react-tel-input .tn {\n background-position: -224px -132px;\n}\n\n.react-tel-input .to {\n background-position: -240px -132px;\n}\n\n.react-tel-input .tr {\n background-position: 0 -143px;\n}\n\n.react-tel-input .tt {\n background-position: -16px -143px;\n}\n\n.react-tel-input .tv {\n background-position: -32px -143px;\n}\n\n.react-tel-input .tw {\n background-position: -48px -143px;\n}\n\n.react-tel-input .tz {\n background-position: -64px -143px;\n}\n\n.react-tel-input .ua {\n background-position: -80px -143px;\n}\n\n.react-tel-input .ug {\n background-position: -96px -143px;\n}\n\n.react-tel-input .us {\n background-position: -112px -143px;\n}\n\n.react-tel-input .uy {\n background-position: -128px -143px;\n}\n\n.react-tel-input .uz {\n background-position: -144px -143px;\n}\n\n.react-tel-input .va {\n background-position: -160px -143px;\n}\n\n.react-tel-input .vc {\n background-position: -176px -143px;\n}\n\n.react-tel-input .ve {\n background-position: -192px -143px;\n}\n\n.react-tel-input .vg {\n background-position: -208px -143px;\n}\n\n.react-tel-input .vi {\n background-position: -224px -143px;\n}\n\n.react-tel-input .vn {\n background-position: -240px -143px;\n}\n\n.react-tel-input .vu {\n background-position: 0 -154px;\n}\n\n.react-tel-input .wf {\n background-position: -16px -154px;\n}\n\n.react-tel-input .ws {\n background-position: -32px -154px;\n}\n\n.react-tel-input .ye {\n background-position: -48px -154px;\n}\n\n.react-tel-input .za {\n background-position: -64px -154px;\n}\n\n.react-tel-input .zm {\n background-position: -80px -154px;\n}\n\n.react-tel-input .zw {\n background-position: -96px -154px;\n}\n\n.react-tel-input * {\n box-sizing: border-box;\n -moz-box-sizing: border-box;\n}\n\n.react-tel-input .hide {\n display: none;\n}\n\n.react-tel-input .v-hide {\n visibility: hidden;\n}\n\n.react-tel-input .form-control {\n position: relative;\n font-size: 14px;\n letter-spacing: 0.01rem;\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n padding-left: 48px;\n margin-left: 0;\n background: #ffffff;\n border: 1px solid #cacaca;\n border-radius: 5px;\n line-height: 25px;\n height: 35px;\n width: 300px;\n outline: none;\n}\n\n.react-tel-input .form-control.invalid-number {\n border: 1px solid #d79f9f;\n background-color: #faf0f0;\n border-left-color: #cacaca;\n}\n\n.react-tel-input .form-control.invalid-number:focus {\n border: 1px solid #d79f9f;\n border-left-color: #cacaca;\n background-color: #faf0f0;\n}\n\n.react-tel-input .flag-dropdown {\n position: absolute;\n top: 0;\n bottom: 0;\n padding: 0;\n background-color: #f5f5f5;\n border: 1px solid #cacaca;\n border-radius: 3px 0 0 3px;\n}\n\n.react-tel-input .flag-dropdown:hover,\n.react-tel-input .flag-dropdown:focus {\n cursor: pointer;\n}\n\n.react-tel-input .flag-dropdown.invalid-number {\n border-color: #d79f9f;\n}\n\n.react-tel-input .flag-dropdown.open {\n z-index: 2;\n background: #fff;\n border-radius: 3px 0 0 0;\n}\n\n.react-tel-input .flag-dropdown.open .selected-flag {\n background: #fff;\n border-radius: 3px 0 0 0;\n}\n\n.react-tel-input input[disabled] + .flag-dropdown:hover {\n cursor: default;\n}\n\n.react-tel-input input[disabled] + .flag-dropdown:hover .selected-flag {\n background-color: transparent;\n}\n\n.react-tel-input .selected-flag {\n outline: none;\n position: relative;\n width: 38px;\n height: 100%;\n padding: 0 0 0 8px;\n border-radius: 3px 0 0 3px;\n}\n\n.react-tel-input .selected-flag:hover,\n.react-tel-input .selected-flag:focus {\n background-color: #fff;\n}\n\n.react-tel-input .selected-flag .flag {\n position: absolute;\n top: 50%;\n margin-top: -5px;\n}\n\n.react-tel-input .selected-flag .arrow {\n position: relative;\n top: 50%;\n margin-top: -2px;\n left: 20px;\n width: 0;\n height: 0;\n border-left: 3px solid transparent;\n border-right: 3px solid transparent;\n border-top: 4px solid #555;\n}\n\n.react-tel-input .selected-flag .arrow.up {\n border-top: none;\n border-bottom: 4px solid #555;\n}\n\n.react-tel-input .country-list {\n outline: none;\n z-index: 1;\n list-style: none;\n position: absolute;\n padding: 0;\n margin: 10px 0 10px -1px;\n box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.35);\n background-color: white;\n width: 300px;\n max-height: 200px;\n overflow-y: scroll;\n border-radius: 0 0 3px 3px;\n}\n\n.react-tel-input .country-list .flag {\n display: inline-block;\n}\n\n.react-tel-input .country-list .divider {\n padding-bottom: 5px;\n margin-bottom: 5px;\n border-bottom: 1px solid #ccc;\n}\n\n.react-tel-input .country-list .country {\n padding: 7px 9px;\n}\n\n.react-tel-input .country-list .country .dial-code {\n color: #6b6b6b;\n}\n\n.react-tel-input .country-list .country:hover {\n background-color: #f1f1f1;\n}\n\n.react-tel-input .country-list .country.highlight {\n background-color: #f1f1f1;\n}\n\n.react-tel-input .country-list .flag {\n margin-right: 7px;\n margin-top: 2px;\n}\n\n.react-tel-input .country-list .country-name {\n margin-right: 6px;\n}\n\n.react-tel-input .country-list .search {\n position: sticky;\n top: 0;\n background-color: #fff;\n padding: 10px 0 6px 10px;\n}\n\n.react-tel-input .country-list .search-emoji {\n font-size: 15px;\n}\n\n.react-tel-input .country-list .search-box {\n border: 1px solid #cacaca;\n border-radius: 3px;\n font-size: 15px;\n line-height: 15px;\n margin-left: 6px;\n padding: 3px 8px 5px;\n outline: none;\n}\n\n.react-tel-input .country-list .no-entries-message {\n padding: 7px 10px 11px;\n opacity: 0.7;\n}\n\n.react-tel-input .invalid-number-message {\n position: absolute;\n z-index: 1;\n font-size: 13px;\n left: 46px;\n top: -8px;\n background: #fff;\n padding: 0 2px;\n color: #de0000;\n}\n\n.react-tel-input .special-label {\n display: none;\n position: absolute;\n z-index: 1;\n font-size: 13px;\n left: 46px;\n top: -8px;\n background: #fff;\n padding: 0 2px;\n white-space: nowrap;\n}');const sw={US:/^\+1\d{10}$/,CA:/^\+1\d{10}$/,UK:/^\+44\d{10}$/,FR:/^\+33\d{9}$/,DE:/^\+49\d{10}$/,IN:/^\+91\d{10}$/,AU:/^\+61\d{9}$/,BR:/^\+55\d{11}$/,RU:/^\+7\d{10}$/,IT:/^\+39\d{10}$/,ES:/^\+34\d{9}$/,ZA:/^\+27\d{9}$/,MX:/^\+52\d{10}$/,JP:/^\+81\d{10}$/,CN:/^\+86\d{11}$/,NG:/^\+234\d{10}$/,EG:/^\+20\d{9}$/,KR:/^\+82\d{9,10}$/},fw=({country:t,value:r,onChange:o,width:A="100%",placeholder:i="Enter phone number",onFocus:c,onBlur:s,id:f,dropdownStyle:d={},enableAreaCodeStretch:C=!1,disabled:u=!1,isValid:p=!0})=>{const[g,h]=l(r),[m,E]=l(!1),[b,w]=l(p);a((()=>{if(r){let e=r;e.startsWith("+")||(e=`+${e}`),h(e)}}),[r]);const v=e=>{const n=sw[t];if(!n)return!1;let r=e;return r.startsWith("+")||(r=`+${r}`),n.test(r)};return n("div",{id:f,children:[e(cw,{specialLabel:"",countryCodeEditable:!1,country:t,value:g,onChange:e=>{const t=e.replace(/[^0-9+]/g,"");h(t),o(t);const n=v(t);w(n)},inputStyle:{width:A,height:"32px",border:m?"1px solid var(--brand-color)":b?"1px solid var(--default-color)":"1px solid var(--error_light)",borderRadius:"4px",fontSize:"14px",transition:"border-color 0.3s ease"},enableSearch:!0,placeholder:i,onFocus:e=>{E(!0),c&&c(e)},onBlur:e=>{E(!1),s&&s(e);const t=v(g);w(t)},dropdownStyle:d,enableAreaCodeStretch:C,disabled:u}),!b&&!m&&e(T,{color:"var(--error_light)",className:"error",children:"Invalid phone number format"})]})},dw=(e,t,n)=>{const r=[...e],o=r[t];return r.splice(t,1),r.splice(n,0,o),r},Cw=e=>{const t={};return e.forEach(((e,n)=>{t[n]?t[n]=Array.isArray(t[n])?[...t[n],e]:[t[n],e]:t[n]=e})),t},uw=(e,t,n,r)=>{let o,A;const i=()=>{if(r){const e=((e,t)=>e.findIndex((e=>e.key===t)))(t,r);if(-1===e)throw new Error(`Key "${r}" not found in oldData.`);return e}return 0};switch(e){case"above":o=[...n,...t].slice(0,100);break;case"below":o=[...t,...n].slice(-100);break;case"expand":case"expandAll":case"collapse":const r=i();if(void 0===r)throw new Error("Both sourceId and index are required for 'expand' or 'collapse' actions.");o=[...t.slice(0,r),...n].slice(-40);break;case"addAbove":const a=i();if(void 0===a)throw new Error("Both sourceId and index are required for 'addAbove' action.");o=[...t.slice(0,a),...n,...t.slice(a)];break;case"addBelow":const l=i();if(void 0===l)throw new Error("Both sourceId and index are required for 'addBelow' action.");o=[...t.slice(0,l+1),...n,...t.slice(l+1)];break;case"start":if(K(n))throw new Error("Tree data list is empty, cannot determine root.");A=n[0],o=n.slice(1);break;default:throw new Error(`Invalid action: ${e}`)}if(K(o)&&"start"!==e)throw new Error("Tree data list is empty.");const a=o[0]||A,l=o[o.length-1]||{lastResource:!0,key:""};return{treeDataList:o,next:!l?.lastResource,previous:!a?.lastResource,startId:a?.key,endId:l?.key,root:A}},pw=(e,t,n,r)=>{if(!t)throw new Error("Key is required");const o=new Map,A=new Map,i=new Set;let a=[...e];n&&!K(n)&&(a=[n,...e]),a.forEach((e=>{o.set(e.key,e),e.parentId&&(A.has(e.parentId)||A.set(e.parentId,[]),A.get(e.parentId).push(e))}));const l=o.get(t);return l&&(l.selectedStatus=r?"completely":"none",function e(t,n){if(i.has(t))throw new Error(`Cycle detected at node: ${t}`);i.add(t),(A.get(t)||[]).forEach((t=>{t.selectedStatus=n,e(t.key,n)})),i.delete(t)}(t,l.selectedStatus),function e(t){if(i.has(t))throw new Error(`Cycle detected at node: ${t}`);i.add(t);const n=o.get(t);if(n&&n.parentId){const t=o.get(n.parentId);t&&(t.selectedStatus=function(e){const t=o.get(e);if(!t)return"none";const n=(t.resourceCount??0)+(t.subContainerCount??0);if(0===n)return t.selectedStatus??"none";const r=A.get(e)||[];let i=0,a=!1;for(const e of r)"completely"===e.selectedStatus?i++:"partially"===e.selectedStatus&&(a=!0);return i===n?"completely":a||i>0?"partially":"none"}(t.key),e(t.key))}i.delete(t)}(t)),K(n)?{data:a}:{rootNode:a[0],data:a.slice(1)}},gw=(e,t,n,r)=>{if(!t)throw new Error("Key is required");const o=new Map,A=new Map,i=new Set;let a=[...e];n&&!K(n)&&(a=[n,...e]),a.forEach((e=>{o.set(e.key,e),e.parentId&&(A.has(e.parentId)||A.set(e.parentId,[]),A.get(e.parentId).push(e))}));const l=o.get(t);if(l)if(l.expanded=r,r){(A.get(t)||[]).forEach((e=>e.hide=!1))}else!function e(t,n){if(i.has(t))throw new Error(`Cycle detected at node: ${t}`);i.add(t),(A.get(t)||[]).forEach((t=>{t.hide=n,e(t.key,!0)})),i.delete(t)}(t,!0);return K(n)?{data:a}:{rootNode:a[0],data:a.slice(1)}},hw=e=>`${e.getDate().toString().padStart(2,"0")}/${(e.getMonth()+1).toString().padStart(2,"0")}/${e.getFullYear()}`,mw=(e,t,n)=>e.map((e=>e.stepId===t&&["Group","PRE","POST","Script"].includes(e.type)?{...e,data:[...n||[]]}:e.data?{...e,data:mw(e.data,t,n)}:e)),Ew=(e,t,n,r)=>e.map((e=>e.title===t?{...e,data:mw(e.data,n,r)}:e));y(".ff-add-variable-container {\n width: 100%;\n display: flex;\n flex-direction: column;\n gap: 8px;\n position: relative;\n}\n.ff-add-variable-container .ff-add-variable-input {\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 8px;\n}\n\n.ff-variable-dropdown {\n scrollbar-width: none;\n padding: 4px;\n width: auto;\n}");const bw=({onSelectVariable:t,dropdownPosition:n,filteredOptions:r=[],position:o="relative",width:A="100%",zIndex:i,truncateTextValue:a=34})=>e("div",{className:Z(`ff-variable-dropdown ${o}`),style:n?{top:n.top+30,left:n.left-30,width:A,zIndex:i}:{width:A,zIndex:i},children:K(r)?e("div",{className:"ff-variable-option",children:e(T,{as:"div",children:"No Option",fontSize:14})}):r?.map((n=>e("div",{className:"ff-variable-option",onClick:()=>t(n),children:e(T,{as:"span",fontSize:14,children:$(n?.name,a)})},n?.id)))}),ww=A((({label:r="",hashInputValue:o="",setHashInputValue:A,variableList:c=[],placeholder:s="Enter text",onChange:f,onCreateVariableClick:d,handleClearInput:C,value:u="",dropdownWidth:p="100%",dropdownHeight:g="150px",isHash:h=!1,dataFiles:m=[],showAddVariableIcon:E=!0,helperText:w="",error:v,autoComplete:B="off",required:I=!1,zIndex:M=9999,truncateTextValue:y=34,formProps:L={},getSelectedVariable:Q=()=>{},symbol:x="$",type:H="text",...D},k)=>{const[V,Z]=l(!1),[N,z]=l(!1),[P,O]=l(!1),[S,j]=l(null),[T,R]=l(0),[G,X]=l(!1),[Y,U]=l([]),W=i(null);b(k,(()=>W.current)),a((()=>{null!==S&&W.current&&(W.current.setSelectionRange(S,S),W.current.focus())}),[S]),a((()=>{if(h?Z(u.startsWith("#")):X(!u?.includes(x)),u.startsWith("#")&&h){const e=u.slice(1).toLowerCase(),t=m.filter((t=>t.name.toLowerCase().includes(e)));U(t),Z(!0)}}),[u]);const q=()=>{W.current&&R(W.current.selectionStart||0)},J=q,_=q;a((()=>{W.current&&R(W.current.selectionStart||0)}),[u]);const $=e=>{if(W.current){const{selectionStart:t,selectionEnd:n}=W.current,r=`${e.name}`;let o;if(o=h&&"#"===u[0]?e.name+u.slice(n||1):e.name,f){f({target:{value:o}},e),Q(e.name)}W.current.value=o,A?.(e),j((t||0)+r.length),Z(!1),z(!0)}};const ee=function(e,t,n){let r=!1,o="";const A="}"===u[t-1];if(t<0||t>e.length)return{showDropdown:r,searchString:o};const i=e.lastIndexOf(x,t-1),a=e.indexOf(x,t);if(-1!==i&&(t===i+1?(r=!0,o=""):(o=e.slice(i+1,-1===a?void 0:a),t>i+1&&(o=e.slice(i+1,t)),r=!0),N&&A&&(r=!1),(/[{}]/.test(o)||0===t)&&(r=!1,o=""),o)){n.some((e=>e.name.toLowerCase().includes(o.toLowerCase())))||(n=[])}return{showDropdown:r,searchString:o}}(u,T,c);return n("div",{className:"ff-add-variable-container",children:[n("div",{className:"ff-add-variable-input",children:[e(de,{...D,name:"add_variable",ref:W,type:H,value:u,onChange:f,variant:"primary",label:r,placeholder:s,onClick:J,onKeyUp:_,onFocus:()=>O(!0),onBlur:e=>(e=>{e.relatedTarget&&e.relatedTarget.closest(".dropdown-container")||O(!1)})(e),autoComplete:B,helperText:w,error:v,required:I,...L}),!K(u)&&!h&&G&&E&&n(t,{children:[e(F,{onClick:C,name:"close",height:16,width:16,hoverEffect:!0}),e(F,{onClick:d,name:"variable",height:16,width:16,hoverEffect:!0})]})]}),ee?.showDropdown&&P&&e(qg,{position:"absolute",zIndex:M,truncateTextValue:y,width:p,height:g,optionsList:c.filter((e=>e.name.toLowerCase().includes(ee?.searchString))),onSelectVariable:$}),V&&h&&e(bw,{position:"relative",zIndex:M,truncateTextValue:y,width:p,filteredOptions:Y,onSelectVariable:$})]})}));y(".pre-fixed-header-table {\n overflow-y: auto;\n scrollbar-width: none;\n overflow-x: hidden;\n}\n.pre-fixed-header-table .ff-table-pre-post {\n width: 100%;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-thead {\n position: sticky !important;\n top: 0;\n z-index: 99;\n background-color: Var(--file-details-bg);\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-thead tr th {\n padding: 7px 8px;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody {\n overflow-y: auto;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr:hover,\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr.hover {\n background-color: var(--hover-color);\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr:hover .icon-container,\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr.hover .icon-container {\n opacity: 1;\n transform: translateX(0);\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr:hover .ff-table-drag,\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr:hover .ff-table-drag-icon,\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr.hover .ff-table-drag,\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr.hover .ff-table-drag-icon {\n opacity: 1 !important;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody .pre-edit-row > td {\n padding: 0px;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody .pre-edit-row:hover {\n background-color: transparent;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr .action-column {\n opacity: 0;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr .icon-container {\n padding-left: 8px;\n opacity: 0;\n display: flex;\n justify-content: flex-end;\n transition: opacity 0.3s ease, transform 0.3s ease;\n transform: translateX(20px);\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr .ff-data-checkbox-container {\n display: flex;\n align-items: center;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr .ff-data-checkbox-container .ff-table-checkbox {\n padding-right: 8px;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr .ff-data-checkbox-container .ff-table-drag {\n opacity: 0;\n transition: opacity 0.3s ease, transform 0.3s ease;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr .ff-data-checkbox-container .ff-table-drag-icon {\n opacity: 0;\n transition: opacity 0.3s ease, transform 0.3s ease;\n cursor: grab;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr td {\n position: relative;\n color: var(--table-column-text-color);\n padding: 4px 8px;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr td.clickable-cell {\n cursor: pointer;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr .edit_depends_on_script {\n border-radius: 8px;\n margin: 8px;\n border: 1px solid var(--ff-select-option-wrapper-box-shadow);\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr .edit_depends_on_script__header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-radius: 8px 8px 0 0;\n background: var(--slider-table-color);\n min-height: 32px;\n padding: 0 8px;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr .edit_depends_on_script__header__link {\n text-decoration: underline;\n cursor: pointer;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr .edit_depends_on_script__form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n padding: 8px;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr .edit_depends_on_script__form__button {\n display: flex;\n justify-content: end;\n gap: 8px;\n}\n.pre-fixed-header-table .ff-table-pre-post .primary-bg {\n background-color: var(--brand-color);\n}\n.pre-fixed-header-table .ff-table-pre-post .secondary-bg {\n background-color: var(--slider-table-color);\n}\n.pre-fixed-header-table .ff-table-pre-post .tertiary-bg {\n background-color: var(--custom-table-header-bg-color);\n}\n.pre-fixed-header-table .ff-table-pre-post .default-bg {\n background-color: transparent;\n}\n.pre-fixed-header-table .ff-table-pre-post .default-color {\n color: var(--table-header-text-color);\n}\n.pre-fixed-header-table .ff-table-pre-post .primary-color {\n color: var(--brand-color);\n}\n.pre-fixed-header-table .pre-border-borderRadius {\n border: 1px solid var(--slider-table-color);\n border-radius: 5px;\n border-collapse: none !important;\n}\n.pre-fixed-header-table .pre-no-data-content {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n.pre-fixed-header-table .pre-accordion-arrow {\n margin-left: 4px;\n transition: transform 0.25s ease-in-out;\n cursor: pointer;\n}\n.pre-fixed-header-table .pre-accordion-arrow .pre-arrow-svg > svg:hover {\n color: var(--text-color) !important;\n}\n.pre-fixed-header-table .pre-accordion-arrow.expanded {\n transform: rotate(90deg);\n}");const vw=(e,t)=>{const{action:n,sourceIndex:r}=t;if(!n)return e;const o=[...e];let A={stepId:"stepId-9745-9745",isNew:!0,name:"new-Nlp",disabled:!1};switch(n){case"addBelow":void 0!==r&&o.splice(r+1,0,A);break;case"replaceNlp":case"EditNlp":void 0!==r&&(o.splice(r,1),o.splice(r,0,A));break;case"addLast":o.push(A)}return o},Bw=({data:r,level:o=3,columnCount:A=1,viewModeId:i,ViewComponent:a,handleClick:l,handleStepGroupExpand:c,isStepGroupExpanded:s})=>{const f=8*o+"px",C=d((e=>["PRE","POST"].includes(e)?"4px 8px":"7px 8px"),[]);return e(t,{children:r?.map((t=>{const r=i===t.stepId,d=s?.(t.stepId),u=C(t.type);return n(v,{children:[e("tr",r?{className:"pre-edit-row",children:e("td",{colSpan:A,children:e("div",{style:{marginLeft:f},children:a&&e(a,{})})})}:{children:e("td",{colSpan:A,style:{padding:u},children:n("div",{style:{marginLeft:f,display:"flex",alignItems:"center"},children:[e(W,{title:t?.name,children:n(T,{as:"div",color:"var(--brand-color)",lineHeight:"18px",onClick:()=>l?.(t),children:[t.displayOrder,".",$(t.name,40)]})}),["PRE","POST"].includes(t.type)&&e("div",{className:"pre-accordion-arrow "+(d?"expanded":""),children:e(F,{name:"arrow_right",className:"pre-arrow-svg",color:d?"var(--brand-color)":"var(--default-color)",width:16,height:16,onClick:()=>c?.(t)})})]})})}),d&&e(Bw,{data:t.data,level:o+1,columnCount:A,viewModeId:i,handleClick:l,ViewComponent:a,handleStepGroupExpand:c,isStepGroupExpanded:s})]},t.stepId)}))})},Iw=({row:r,columns:o,tableBodyRowClass:A,handleOnclick:i,tableDataTextColor:a,withCheckbox:l,onSelectClick:c,draggable:s,indexNumber:d,dataLength:C=0,viewModeId:u,ViewComponent:p,handleClick:g,handleStepGroupExpand:h,isStepGroupExpanded:m})=>{const E=r?.isDisabled,b=r?._id||r?.stepId,w=E||C<=1||"cascaded"===r.cascaded,{attributes:v,listeners:B,setNodeRef:I,transform:M,transition:y}=Ro({id:b,disabled:w}),L=f((()=>({transform:gn.Transform.toString(M),transition:y})),[M,y]),Q=m?.(r.stepId),x={opacity:w?"0":"1",cursor:w?"default":"grab"};return n(t,{children:[e("tr",{ref:I,style:L,className:Z(A,{"disabled-row":E}),children:o.map(((t,o)=>{const A=0===o;return e("td",{style:{paddingLeft:A&&s?"0px":"8px"},onClick:()=>i(t,r,o),className:Z(t.className,{"clickable-cell":t.onClick}),children:n(T,{as:"div",color:a,className:"ff-data-checkbox-container",children:[A&&l&&e("span",{className:"ff-table-checkbox",children:e(_,{onChange:e=>c(e,r),checked:r.checked,disabled:!!E})}),A&&s&&e("div",{className:E?"ff-table-drag":"ff-table-drag-icon",...B,...v,children:e("span",{style:x,children:e(F,{name:"drag"})})}),Rt(r,t,d),A&&["PRE","POST"].includes(r.type)&&e("div",{className:"pre-accordion-arrow "+(Q?"expanded":""),children:e(F,{name:"arrow_right",color:Q?"var(--brand-color)":"var(--default-color)",width:16,height:16,className:"pre-arrow-svg",onClick:()=>h?.(r)})}),t.extraInfo&&t.extraInfo({row:r,indexNumber:d})]})},`${t.accessor}${o}`)}))},b),Q&&e(Bw,{data:r.data,columnCount:o.length,viewModeId:u,ViewComponent:p,handleClick:g,handleStepGroupExpand:h,isStepGroupExpanded:m})]})},Mw=({data:t=[],columns:r=[],headerType:o,withCheckbox:A=!1,onSelect:c,allSelected:s,partialSelected:f=!1,withFixedHeader:d=!0,borderWithRadius:C=!1,headerCheckboxDisabled:u=!1,noDataContent:p,height:m="100%",className:E="",tableHeadClass:b="",tableBodyRowClass:w="",headerTextColor:v,tableDataTextColor:B,draggable:I=!1,onDragEnd:M,loadMore:y=()=>{},editMode:L="",editComponent:Q,NlpComponent:x,AddNlp:H,handleDragStart:D,handelViewComponent:k,handleAccordion:V,loading:N})=>{const z=i(null),[P,O]=l(null),[S,j]=l(null),F=e=>{j((t=>t===e?.stepId?null:e?.stepId))},R=e=>{F(e);const t=k(e,F);t?O((()=>t)):F(null)},[G,X]=l(new Map),Y=e=>G.has(e),U=e=>{Y(e?.stepId)||V?.(e),N||X((t=>{const n=new Map(t);return n.has(e?.stepId)?n.delete(e?.stepId):n.set(e?.stepId,!0),n}))};a((()=>{const e=document.getElementById("ff-table-scroll-container"),n=document.getElementById("ff-table-first-node"),r=document.getElementById("ff-table-last-node");if(e&&n&&r&&t?.length)return z.current=new IntersectionObserver((e=>{e.forEach((e=>{if(e.isIntersecting){const t="ff-table-last-node"===e.target.id?"below":"above";y(t)}}))}),{root:e,rootMargin:"8px",threshold:.1}),z.current.observe(n),z.current.observe(r),()=>{z.current?.disconnect()}}),[t,y]);const K=(e,t,n)=>{let{onClick:r,accessor:o}=e;r&&jt(r)&&r(o,t,n)},W=(e,t)=>{c&&c(e,t)};return e(io,{collisionDetection:On,onDragStart:()=>{D?.(),G.clear()},onDragEnd:e=>{const{active:n,over:r}=e;if(!r||n.id===r.id)return;const o=t.findIndex((e=>e._id===n.id||e.stepId===n.id)),A=t.findIndex((e=>e._id===r.id||e.stepId===r.id));-1!==o&&-1!==A&&M&&M(o,A)},children:e(zo,{disabled:!I,items:t?.map((e=>e.stepId||e._id)),strategy:Vo,children:n("div",{style:{height:m,position:"relative"},id:"ff-table-scroll-container",className:Z(E,{"pre-fixed-header-table":d,"pre-border-borderRadius":C}),children:[n("table",{className:Z("ff-table-pre-post"),cellSpacing:0,children:[e("thead",{className:Z({"pre-table-thead":d},b),children:e("tr",{children:r.map(((t,r)=>e("th",{className:Z(`${o&&`${o}-bg`}`,`${v&&`${v}-color`}`),style:{width:t?.width},children:n(T,{as:"div",fontWeight:"semi-bold",className:"ff-label-checkbox-container",lineHeight:"18px",color:"var(--drawer-title-color)",children:[0===r&&A&&e("span",{className:"ff-table-checkbox",children:e(_,{onChange:e=>{W(e,{allSelected:e.target.checked})},checked:void 0!==s&&s,partial:!!f,disabled:u})}),t.header]})},t.header)))})}),n("tbody",{className:"pre-table-tbody",children:[e("tr",{id:"ff-table-first-node"}),vw(t,H??{})?.map(((o,i)=>{const a=L===o.stepId;return a||o.isNew?n("tr",{className:"pre-edit-row",children:[a&&h(Q)&&e("td",{colSpan:r.length,children:g(Q,{rowData:o,rowIndex:i+1})}),o.isNew&&!a&&h(x)&&e("td",{colSpan:r.length,children:g(x,{rowIndex:i,stepId:o.stepId})})]},o.stepId||i):e(Iw,{row:o,indexNumber:i,columns:r,tableBodyRowClass:w,handleOnclick:K,tableDataTextColor:B,withCheckbox:A,onSelectClick:W,draggable:I,dataLength:t?.length,viewModeId:S,ViewComponent:P,handleClick:R,handleStepGroupExpand:U,isStepGroupExpanded:Y})})),e("tr",{id:"ff-table-last-node"})]})]}),t?.length<=0&&e("div",{className:"ff-no-data-content",style:{height:`calc(${m} - 50px)`},children:p})]})})})};y(".ff-accordion-table-container-steps {\n overflow-y: auto;\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n.ff-accordion-table-container-steps::-webkit-scrollbar {\n display: none;\n}\n.ff-accordion-table-container-steps .ff-accordion-table {\n width: 100%;\n flex-shrink: 0;\n}\n.ff-accordion-table-container-steps .ff-accordion-table .ff-table-header {\n text-align: left;\n padding: 7px 8px;\n color: var(--text-color);\n background-color: var(--border-color);\n}\n.ff-accordion-table-container-steps .ff-accordion-table--primary-bg {\n background-color: var(--table-with-accordion-header-primary-bg);\n}\n.ff-accordion-table-container-steps .ff-accordion-table--secondary-bg {\n background-color: var(--secondary-bg);\n}\n.ff-accordion-table-container-steps .ff-accordion-table--default-bg {\n background-color: var(--default-bg);\n}\n.ff-accordion-table-container-steps .ff-accordion-fixed-header {\n position: sticky;\n top: 0;\n z-index: 99;\n background-color: var(--file-details-bg);\n}\n.ff-accordion-table-container-steps .ff-accordion-table-body {\n flex-grow: 1;\n overflow-y: auto;\n overflow: scroll;\n}\n.ff-accordion-table-container-steps .ff-accordion-table-body::-webkit-scrollbar {\n display: none;\n}\n.ff-accordion-table-container-steps .ff-accordion-table-body {\n scrollbar-width: none;\n}\n.ff-accordion-table-container-steps .column-table-accordion {\n width: 100%;\n}\n.ff-accordion-table-container-steps .column-table-accordion .accordion-header {\n display: flex;\n align-items: center;\n padding: 4px 8px 4px 24px;\n position: relative;\n z-index: 99;\n}\n.ff-accordion-table-container-steps .column-table-accordion .accordion-header .accordion-arrow {\n margin-left: 4px;\n transition: transform 0.2s ease-in-out;\n cursor: pointer;\n}\n.ff-accordion-table-container-steps .column-table-accordion .accordion-header .accordion-arrow .steps-arrow-svg > svg:hover {\n color: var(--text-color) !important;\n}\n.ff-accordion-table-container-steps .column-table-accordion .accordion-header .accordion-arrow img {\n height: 30px;\n width: 35px;\n}\n.ff-accordion-table-container-steps .column-table-accordion .accordion-header .accordion-arrow.expanded {\n transform: rotate(90deg);\n}");y(".ff-fixed-header-steps-table {\n overflow-y: auto;\n scrollbar-width: none;\n}\n.ff-fixed-header-steps-table .ff-table-steps {\n width: 100%;\n}\n.ff-fixed-header-steps-table .ff-table-steps .steps-inner-thead tr th {\n visibility: hidden;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody {\n overflow-y: auto;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr:hover,\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr.hover {\n background-color: var(--hover-color);\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr:hover .icon-container,\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr.hover .icon-container {\n opacity: 1;\n transform: translateX(0);\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr:hover .ff-table-drag,\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr:hover .ff-table-drag-icon,\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr:hover .ff-table-checkbox,\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr.hover .ff-table-drag,\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr.hover .ff-table-drag-icon,\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr.hover .ff-table-checkbox {\n opacity: 1 !important;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody .steps-edit-row > td {\n padding: 0px;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody .steps-edit-row:hover {\n background-color: transparent;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .action-column {\n opacity: 0;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .icon-container {\n padding-left: 4px;\n opacity: 0;\n display: flex;\n justify-content: flex-end;\n transition: opacity 0.3s ease, transform 0.3s ease;\n transform: translateX(20px);\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .ff-data-checkbox-container {\n display: flex;\n align-items: center;\n overflow: hidden;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .ff-data-checkbox-container .ff-table-checkbox {\n opacity: 0;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .ff-data-checkbox-container .ff-table-drag {\n opacity: 0;\n transition: opacity 0.3s ease, transform 0.3s ease;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .ff-data-checkbox-container .ff-table-drag-icon {\n opacity: 0;\n transition: opacity 0.3s ease, transform 0.3s ease;\n cursor: grab;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .ff-data-checkbox-container .ff-margin-container {\n display: flex;\n align-items: center;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr td {\n position: relative;\n color: var(--table-column-text-color);\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr td.clickable-cell {\n cursor: pointer;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .step-detail-cell {\n padding: 4px;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .other-detail-cell {\n padding: 7px 8px;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .edit_depends_on_script {\n border-radius: 8px;\n margin: 8px;\n border: 1px solid var(--ff-select-option-wrapper-box-shadow);\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .edit_depends_on_script__header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-radius: 8px 8px 0 0;\n background: var(--slider-table-color);\n min-height: 32px;\n padding: 0 8px;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .edit_depends_on_script__header__link {\n border-bottom: 2px solid var(--nlp-color);\n cursor: pointer;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .edit_depends_on_script__form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n padding: 8px;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .edit_depends_on_script__form__button {\n display: flex;\n justify-content: end;\n gap: 8px;\n}\n.ff-fixed-header-steps-table .steps-border-borderRadius {\n border: 1px solid var(--slider-table-color);\n border-radius: 5px;\n border-collapse: none !important;\n}\n.ff-fixed-header-steps-table .steps-no-data-content {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n.ff-fixed-header-steps-table .ff-accordion-arrow {\n margin-left: 4px;\n transition: transform 0.25s ease-in-out;\n cursor: pointer;\n}\n.ff-fixed-header-steps-table .ff-accordion-arrow .steps-arrow-svg > svg:hover {\n color: var(--text-color) !important;\n}\n.ff-fixed-header-steps-table .ff-accordion-arrow.expanded {\n transform: rotate(90deg);\n}");const yw=(e,t)=>{const{action:n,sourceIndex:r}=t;if(!n)return e;const o=[...e];let A={stepId:"stepId-9745-9745",isNew:!0,name:"new-Nlp",disabled:!1};switch(n){case"addBelow":void 0!==r&&o.splice(r+1,0,A);break;case"replaceNlp":case"EditNlp":void 0!==r&&(o.splice(r,1),o.splice(r,0,A));break;case"addLast":o.push(A)}return o},Lw=({data:r,level:o=6,columnCount:A=1,viewModeId:i,ViewComponent:a,handleClick:l,tableType:c,handleStepGroupExpand:s,isStepGroupExpanded:f})=>{const d=e=>["Group","PRE","POST","Script"].includes(e.type)?"4px 8px":"7px 8px";return e(t,{children:r?.map((t=>n(v,{children:[i===t.stepId?e("tr",{className:"steps-edit-row",children:e("td",{colSpan:A,children:e("div",{style:{marginLeft:8*o+"px"},children:a&&e(a,{})})})}):e("tr",{children:e("td",{colSpan:A,children:n("div",{style:{marginLeft:8*o+"px",display:"flex",alignItems:"center",padding:`${d(t)}`},children:[e(W,{title:t?.name,children:n(T,{as:"div",color:"var(--brand-color)",lineHeight:"18px",onClick:()=>l?.({...t,tableType:c}),children:[t.displayOrder,".",$(t.name,40)]})}),["Group","PRE","POST","Script"].includes(t.type)&&e("div",{className:"ff-accordion-arrow "+(f?.(t.stepId)?"expanded":""),children:e(F,{name:"arrow_right",color:f?.(t.stepId)?"var(--brand-color)":"var(--default-color)",className:"steps-arrow-svg",width:16,height:16,onClick:()=>s&&s({...t,tableType:c})})})]})})}),f?.(t.stepId)&&e(Lw,{data:t.data,level:o+1,columnCount:A,viewModeId:i,handleClick:l,ViewComponent:a,tableType:c,handleStepGroupExpand:s,isStepGroupExpanded:f})]},t.stepId)))})},Qw=({row:r,columns:o,tableBodyRowClass:A,handleOnclick:i,tableDataTextColor:a,withCheckbox:l,onSelectClick:c,draggable:s,indexNumber:d,tableType:C="",viewModeId:u,ViewComponent:p,handleClick:g,selectedRows:h,handleStepGroupExpand:m,isStepGroupExpanded:E,dataLength:b})=>{const w=f((()=>r?.isDisabled||(b??0)<=1||r.isSpecialNlp),[r,b]),{attributes:v,listeners:B,setNodeRef:I,transform:M,transition:y}=Ro({id:r?._id||r?.stepId,disabled:w}),L=f((()=>({transform:gn.Transform.toString(M),transition:y})),[M,y]),Q=r._id||r.stepId,x=e=>0!==e?"Steps"===C?"4px 8px":"7px 8px":"Steps"===C&&s?"4px 8px 4px 0px":"4px 8px 4px 24px";return n(t,{children:[e("tr",{ref:I,style:L,className:Z(A,{"disabled-inner-row":w}),children:o?.map(((o,A)=>e(t,{children:e("td",{style:{padding:x(A),maxWidth:o.width},onClick:()=>i(o,r,d),children:n(T,{as:"div",color:a,className:"ff-data-checkbox-container",children:[0===A&&s&&e("div",{className:w?"ff-table-drag":"ff-table-drag-icon",...B,...v,children:e("span",{style:{opacity:w?"0":"",cursor:w?"default":"grab"},children:e(F,{name:"drag"})})}),0===A&&l&&e("span",{className:C&&h[C]?.has(r.stepId)?"":"ff-table-checkbox",children:e(_,{onChange:e=>c(C,r,e.target.checked),checked:!!h[C]?.has(r.stepId)})}),n("div",{className:"ff-margin-container",style:{marginLeft:0===A?r.marginLeft:0},children:[Rt(r,o,d,C),["Group","PRE","POST","Script"].includes(r.type)&&0===A&&e("div",{className:"ff-accordion-arrow "+(E?.(r?.stepId)?"expanded":""),children:e(F,{name:"arrow_right",className:"steps-arrow-svg",color:E?.(r?.stepId)?"var(--brand-color)":"var(--default-color)",width:16,height:16,onClick:()=>m?.({...r,tableType:C})})}),o.extraInfo?.({row:r,indexNumber:d,tableType:C})]})]})},`${o.accessor}-${aC()}`)})))},Q),E?.(r?.stepId)&&e(Lw,{data:r.data,columnCount:o.length,viewModeId:u,ViewComponent:p,handleClick:g,tableType:C,handleStepGroupExpand:m,isStepGroupExpanded:E})]})},xw=({data:t=[],columns:r=[],headerType:o,withCheckbox:A=!1,onSelect:l,withFixedHeader:c=!0,borderWithRadius:s=!1,noDataContent:f,height:d="100%",className:C="",tableBodyRowClass:u="",headerTextColor:p,tableDataTextColor:m,draggable:E=!1,onDragEnd:b,loadMore:w=()=>{},editMode:v="",editComponent:B,NlpComponent:I,AddNlp:M,handleDragStart:y,tableType:L,viewModeId:Q,ViewComponent:x,handleClick:H,selectedRows:D,handleStepGroupExpand:k,isStepGroupExpanded:V})=>{const N=i(null);a((()=>{const e=document.getElementById("ff-table-scroll-container"),n=document.getElementById("ff-table-first-node"),r=document.getElementById("ff-table-last-node");if(e&&n&&r&&t?.length)return N.current=new IntersectionObserver((e=>{e.forEach((e=>{if(e.isIntersecting){const t="ff-table-last-node"===e.target.id?"below":"above";w(t)}}))}),{root:e,rootMargin:"8px",threshold:.1}),N.current.observe(n),N.current.observe(r),()=>{N.current?.disconnect()}}),[t,w]);const z=(e,t,n)=>{let{onClick:r,accessor:o}=e;r&&jt(r)&&r(o,t,n)},P=(e,t,n)=>{l&&l(e,t,n)};return e(io,{collisionDetection:On,onDragStart:y,onDragEnd:e=>{const{active:n,over:r}=e;if(!r||n.id===r.id)return;const o=t.findIndex((e=>e._id===n.id||e.stepId===n.id)),A=t.findIndex((e=>e._id===r.id||e.stepId===r.id));-1!==o&&-1!==A&&b&&b(o,A)},children:e(zo,{disabled:!E,items:t?.map((e=>e._id||e.stepId)),strategy:Vo,children:n("div",{style:{height:d,position:"relative"},id:"ff-table-scroll-container",className:Z(C,{"ff-fixed-header-steps-table":c,"steps-border-borderRadius":s}),children:[n("table",{className:Z("ff-table-steps"),cellSpacing:0,children:[e("thead",{className:"steps-inner-thead",children:e("tr",{children:r?.map((t=>e("th",{className:Z(`${o&&`${o}-bg`}`,`${p&&`${p}-color`}`),style:{width:t?.width}},`${t.header}-${aC()}`)))})}),n("tbody",{className:"ff-steps-tbody",children:[e("tr",{id:"ff-table-first-node"}),yw(t,M??{})?.map(((o,i)=>{const a=v===o.stepId;return a||o.isNew?n("tr",{className:"steps-edit-row",children:[a&&h(B)&&e("td",{colSpan:r.length,children:g(B,{rowData:o,rowIndex:i+1})}),o.isNew&&!a&&h(I)&&e("td",{colSpan:r.length,children:g(I,{rowIndex:i,stepId:o.stepId})})]},o.stepId||i):e(Qw,{row:o,indexNumber:i,columns:r,tableBodyRowClass:u,handleOnclick:z,tableDataTextColor:m,withCheckbox:A,onSelectClick:P,draggable:E,tableType:L,viewModeId:Q,ViewComponent:x,handleClick:H,selectedRows:D,handleStepGroupExpand:k,isStepGroupExpanded:V,dataLength:t?.length})})),e("tr",{id:"ff-table-last-node"})]})]}),t?.length<=0&&e("div",{className:"steps-no-data-content",style:{height:`calc(${d} - 50px)`},children:f})]})})})},Hw=({tableMeta:t=[],tableData:r=[],noDataContent:o,height:A="100%",withFixedHeader:i=!1,headerType:c,handleDragStart:s,onDragEnd:d,editMode:C,editComponent:u,NlpComponent:p,AddNlp:g,handleAccordion:h,handelViewComponent:m,onSelectClick:E,loading:b=!1,isViewPrivilegeMode:w=!1})=>{const[v,B]=l(null),[I,M]=l(null),[y,L]=l({});a((()=>{L((e=>{const t={};return r.forEach((n=>{t[n.title]=n.title in e?e[n.title]??!1:"Steps"===n.title})),t}))}),[r]);const Q=f((()=>e=>y[e]??!1),[y]),x=e=>{M((t=>t===e?.stepId?null:e?.stepId))},H=e=>{x(e);const t=m?.(e,x);t?B((()=>t)):x(null)},[D,k]=l(Object.fromEntries(r.map((e=>[e.title,new Set]))));a((()=>{var e;e=D,Object.values(e).some((e=>e.size>0))?E?.(D):E?.(null)}),[D]);const V=(e,t,n)=>{k((r=>{const o=new Set(r[e]);return n?o.add(t.stepId):o.delete(t.stepId),{...r,[e]:o}}))},N=(e,t)=>t>0&&D[e]?.size===t,z=(e,t)=>{const n=D[e]?.size||0;return n>0&&n<t},[P,O]=l(new Map),S=e=>P.has(e),j=e=>{S(e?.stepId)||h?.(e),b||O((t=>{const n=new Map(t);return n.has(e?.stepId)?n.delete(e?.stepId):n.set(e?.stepId,!0),n}))};return n("div",{className:Z("ff-accordion-table-container-steps",{"ff-accordion-fixed-header-table":i}),children:[e("table",{cellSpacing:0,className:Z("ff-accordion-table",{"ff-accordion-fixed-header":i}),children:e("thead",{className:"table-thead",children:e("tr",{className:"ff-table-row",children:t.map(((t,n)=>e("th",{style:{width:t?.width},className:Z("ff-table-header",c&&`ff-accordion-table--${c}-bg`),children:e(T,{as:"div",fontWeight:"semi-bold",lineHeight:"18px",color:"var(--drawer-title-color)",children:t.header})},`${t.header}-${n}`)))})})}),e("div",{className:"ff-accordion-table-body",style:{height:A},children:r.map((A=>{const{title:i,data:a,actionCell:l}=A,f=a.length,h=Q(i),m=(D[i]?.size??0)>0&&f>0&&l;return n("div",{className:"column-table-accordion",children:[e("div",{className:"ff-display-flex",children:n("div",{className:"accordion-header",children:[e("div",{children:e(_,{onChange:e=>((e,t)=>{const n=r.find((t=>t.title===e))?.data.map((e=>e.stepId));n&&k((r=>({...r,[e]:t?new Set(n):new Set})))})(i,e.target.checked),checked:N(i,f),partial:z(i,f),disabled:0===f})}),e("div",{className:"header-title",children:e(T,{as:"div",fontWeight:"semi-bold",color:"var(--nlp-option-color)",cursor:"default",lineHeight:"18px",children:i})}),e("div",{className:"accordion-arrow "+(h?"expanded":""),onClick:()=>(e=>{L((t=>({...t,[e]:!t[e]})))})(i),children:e(F,{name:"arrow_right",color:h?"var(--brand-color)":"var(--default-color)",width:16,height:16,className:"steps-arrow-svg"})}),m&&e("div",{children:l(A)})]})}),h&&(E=A,"Steps"===E.title?e(xw,{draggable:!w,columns:t,onDragEnd:d,data:E.data,headerType:c,withCheckbox:!0,editMode:C,editComponent:u,noDataContent:o,NlpComponent:p,AddNlp:g,tableType:E.title,handleDragStart:()=>{P.clear(),s?.()},onSelect:V,selectedRows:D,viewModeId:I,ViewComponent:v,handleClick:H,handleStepGroupExpand:j,isStepGroupExpanded:S}):e(xw,{editMode:C,withCheckbox:!0,editComponent:u,columns:t,data:E.data,headerType:c,noDataContent:void 0,tableType:E.title,onSelect:V,selectedRows:D,viewModeId:I,ViewComponent:v,handleClick:H,handleStepGroupExpand:j,isStepGroupExpanded:S}))]},i);var E}))})]})};var Dw,kw,Vw,Zw,Nw,zw,Pw,Ow,Sw,jw,Fw,Tw,Rw,Gw,Xw,Yw,Uw,Kw,Ww,qw,Jw,_w,$w,ev,tv,nv,rv,ov,Av,iv,av,lv,cv,sv,fv,dv,Cv,uv,pv,gv,hv,mv,Ev,bv,wv,vv,Bv,Iv,Mv,yv,Lv,Qv,xv,Hv,Dv,kv,Vv,Zv,Nv,zv,Pv,Ov,Sv,jv,Fv,Tv,Rv,Gv,Xv,Yv,Uv,Kv,Wv,qv,Jv,_v,$v,eB,tB,nB,rB,oB,AB,iB,aB,lB,cB,sB,fB,dB,CB,uB={exports:{}};function pB(){return Dw||(Dw=1,uB.exports=function(){var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return i(e)?e:U(e)}function r(e){return a(e)?e:K(e)}function o(e){return l(e)?e:W(e)}function A(e){return i(e)&&!c(e)?e:q(e)}function i(e){return!(!e||!e[f])}function a(e){return!(!e||!e[d])}function l(e){return!(!e||!e[C])}function c(e){return a(e)||l(e)}function s(e){return!(!e||!e[u])}t(r,n),t(o,n),t(A,n),n.isIterable=i,n.isKeyed=a,n.isIndexed=l,n.isAssociative=c,n.isOrdered=s,n.Keyed=r,n.Indexed=o,n.Set=A;var f="@@__IMMUTABLE_ITERABLE__@@",d="@@__IMMUTABLE_KEYED__@@",C="@@__IMMUTABLE_INDEXED__@@",u="@@__IMMUTABLE_ORDERED__@@",p="delete",g=5,h=1<<g,m=h-1,E={},b={value:!1},w={value:!1};function v(e){return e.value=!1,e}function B(e){e&&(e.value=!0)}function I(){}function M(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),o=0;o<n;o++)r[o]=e[o+t];return r}function y(e){return void 0===e.size&&(e.size=e.__iterate(Q)),e.size}function L(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?y(e)+t:t}function Q(){return!0}function x(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function H(e,t){return k(e,t,0)}function D(e,t){return k(e,t,t)}function k(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var V=0,Z=1,N=2,z="function"==typeof Symbol&&Symbol.iterator,P="@@iterator",O=z||P;function S(e){this.next=e}function j(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function F(){return{value:void 0,done:!0}}function T(e){return!!X(e)}function R(e){return e&&"function"==typeof e.next}function G(e){var t=X(e);return t&&t.call(e)}function X(e){var t=e&&(z&&e[z]||e[P]);if("function"==typeof t)return t}function Y(e){return e&&"number"==typeof e.length}function U(e){return null==e?ie():i(e)?e.toSeq():ce(e)}function K(e){return null==e?ie().toKeyedSeq():i(e)?a(e)?e.toSeq():e.fromEntrySeq():ae(e)}function W(e){return null==e?ie():i(e)?a(e)?e.entrySeq():e.toIndexedSeq():le(e)}function q(e){return(null==e?ie():i(e)?a(e)?e.entrySeq():e:le(e)).toSetSeq()}S.prototype.toString=function(){return"[Iterator]"},S.KEYS=V,S.VALUES=Z,S.ENTRIES=N,S.prototype.inspect=S.prototype.toSource=function(){return this.toString()},S.prototype[O]=function(){return this},t(U,n),U.of=function(){return U(arguments)},U.prototype.toSeq=function(){return this},U.prototype.toString=function(){return this.__toString("Seq {","}")},U.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},U.prototype.__iterate=function(e,t){return fe(this,e,t,!0)},U.prototype.__iterator=function(e,t){return de(this,e,t,!0)},t(K,U),K.prototype.toKeyedSeq=function(){return this},t(W,U),W.of=function(){return W(arguments)},W.prototype.toIndexedSeq=function(){return this},W.prototype.toString=function(){return this.__toString("Seq [","]")},W.prototype.__iterate=function(e,t){return fe(this,e,t,!1)},W.prototype.__iterator=function(e,t){return de(this,e,t,!1)},t(q,U),q.of=function(){return q(arguments)},q.prototype.toSetSeq=function(){return this},U.isSeq=Ae,U.Keyed=K,U.Set=q,U.Indexed=W;var J,_,$,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function re(e){this._iterable=e,this.size=e.length||e.size}function oe(e){this._iterator=e,this._iteratorCache=[]}function Ae(e){return!(!e||!e[ee])}function ie(){return J||(J=new te([]))}function ae(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():R(e)?new oe(e).fromEntrySeq():T(e)?new re(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function le(e){var t=se(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=se(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function se(e){return Y(e)?new te(e):R(e)?new oe(e):T(e)?new re(e):void 0}function fe(e,t,n,r){var o=e._cache;if(o){for(var A=o.length-1,i=0;i<=A;i++){var a=o[n?A-i:i];if(!1===t(a[1],r?a[0]:i,e))return i+1}return i}return e.__iterateUncached(t,n)}function de(e,t,n,r){var o=e._cache;if(o){var A=o.length-1,i=0;return new S((function(){var e=o[n?A-i:i];return i++>A?F():j(t,r?e[0]:i-1,e[1])}))}return e.__iteratorUncached(t,n)}function Ce(e,t){return t?ue(t,e,"",{"":e}):pe(e)}function ue(e,t,n,r){return Array.isArray(t)?e.call(r,n,W(t).map((function(n,r){return ue(e,n,r,t)}))):ge(t)?e.call(r,n,K(t).map((function(n,r){return ue(e,n,r,t)}))):t}function pe(e){return Array.isArray(e)?W(e).map(pe).toList():ge(e)?K(e).map(pe).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function he(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function me(e,t){if(e===t)return!0;if(!i(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||a(e)!==a(t)||l(e)!==l(t)||s(e)!==s(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(s(e)){var r=e.entries();return t.every((function(e,t){var o=r.next().value;return o&&he(o[1],e)&&(n||he(o[0],t))}))&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var A=e;e=t,t=A}var f=!0,d=t.__iterate((function(t,r){if(n?!e.has(t):o?!he(t,e.get(r,E)):!he(e.get(r,E),t))return f=!1,!1}));return f&&e.size===d}function Ee(e,t){if(!(this instanceof Ee))return new Ee(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(_)return _;_=this}}function be(e,t){if(!e)throw new Error(t)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);if(be(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if($)return $;$=this}}function ve(){throw TypeError("Abstract")}function Be(){}function Ie(){}function Me(){}U.prototype[ee]=!0,t(te,W),te.prototype.get=function(e,t){return this.has(e)?this._array[L(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,o=0;o<=r;o++)if(!1===e(n[t?r-o:o],o,this))return o+1;return o},te.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,o=0;return new S((function(){return o>r?F():j(e,o,n[t?r-o++:o++])}))},t(ne,K),ne.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length-1,A=0;A<=o;A++){var i=r[t?o-A:A];if(!1===e(n[i],i,this))return A+1}return A},ne.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,A=0;return new S((function(){var i=r[t?o-A:A];return A++>o?F():j(e,i,n[i])}))},ne.prototype[u]=!0,t(re,W),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=G(this._iterable),r=0;if(R(n))for(var o;!(o=n.next()).done&&!1!==e(o.value,r++,this););return r},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=G(this._iterable);if(!R(n))return new S(F);var r=0;return new S((function(){var t=n.next();return t.done?t:j(e,r++,t.value)}))},t(oe,W),oe.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,o=this._iteratorCache,A=0;A<o.length;)if(!1===e(o[A],A++,this))return A;for(;!(n=r.next()).done;){var i=n.value;if(o[A]=i,!1===e(i,A++,this))break}return A},oe.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,o=0;return new S((function(){if(o>=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return j(e,o,r[o++])}))},t(Ee,W),Ee.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Ee.prototype.get=function(e,t){return this.has(e)?this._value:t},Ee.prototype.includes=function(e){return he(this._value,e)},Ee.prototype.slice=function(e,t){var n=this.size;return x(e,t,n)?this:new Ee(this._value,D(t,n)-H(e,n))},Ee.prototype.reverse=function(){return this},Ee.prototype.indexOf=function(e){return he(this._value,e)?0:-1},Ee.prototype.lastIndexOf=function(e){return he(this._value,e)?this.size:-1},Ee.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},Ee.prototype.__iterator=function(e,t){var n=this,r=0;return new S((function(){return r<n.size?j(e,r++,n._value):F()}))},Ee.prototype.equals=function(e){return e instanceof Ee?he(this._value,e._value):me(e)},t(we,W),we.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},we.prototype.get=function(e,t){return this.has(e)?this._start+L(this,e)*this._step:t},we.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},we.prototype.slice=function(e,t){return x(e,t,this.size)?this:(e=H(e,this.size),(t=D(t,this.size))<=e?new we(0,0):new we(this.get(e,this._end),this.get(t,this._end),this._step))},we.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},we.prototype.lastIndexOf=function(e){return this.indexOf(e)},we.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,A=0;A<=n;A++){if(!1===e(o,A,this))return A+1;o+=t?-r:r}return A},we.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,A=0;return new S((function(){var i=o;return o+=t?-r:r,A>n?F():j(e,A++,i)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:me(this,e)},t(ve,n),t(Be,ve),t(Ie,ve),t(Me,ve),ve.Keyed=Be,ve.Indexed=Ie,ve.Set=Me;var ye="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Le(e){return e>>>1&1073741824|3221225471&e}function Qe(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Le(n)}if("string"===t)return e.length>Se?xe(e):He(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return De(e);if("function"==typeof e.toString)return He(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function xe(e){var t=Te[e];return void 0===t&&(t=He(e),Fe===je&&(Fe=0,Te={}),Fe++,Te[e]=t),t}function He(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Le(t)}function De(e){var t;if(ze&&void 0!==(t=Ne.get(e)))return t;if(void 0!==(t=e[Oe]))return t;if(!Ve){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Oe]))return t;if(void 0!==(t=Ze(e)))return t}if(t=++Pe,1073741824&Pe&&(Pe=0),ze)Ne.set(e,t);else{if(void 0!==ke&&!1===ke(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ve)Object.defineProperty(e,Oe,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Oe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Oe]=t}}return t}var ke=Object.isExtensible,Ve=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Ze(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Ne,ze="function"==typeof WeakMap;ze&&(Ne=new WeakMap);var Pe=0,Oe="__immutablehash__";"function"==typeof Symbol&&(Oe=Symbol(Oe));var Se=16,je=255,Fe=0,Te={};function Re(e){be(e!==1/0,"Cannot perform this action with an infinite size.")}function Ge(e){return null==e?ot():Xe(e)&&!s(e)?e:ot().withMutations((function(t){var n=r(e);Re(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Xe(e){return!(!e||!e[Ue])}t(Ge,Be),Ge.prototype.toString=function(){return this.__toString("Map {","}")},Ge.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Ge.prototype.set=function(e,t){return At(this,e,t)},Ge.prototype.setIn=function(e,t){return this.updateIn(e,E,(function(){return t}))},Ge.prototype.remove=function(e){return At(this,e,E)},Ge.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return E}))},Ge.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Ge.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=gt(this,vn(e),t,n);return r===E?void 0:r},Ge.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):ot()},Ge.prototype.merge=function(){return dt(this,void 0,arguments)},Ge.prototype.mergeWith=function(t){return dt(this,t,e.call(arguments,1))},Ge.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,ot(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},Ge.prototype.mergeDeep=function(){return dt(this,Ct,arguments)},Ge.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return dt(this,ut(t),n)},Ge.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,ot(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},Ge.prototype.sort=function(e){return Tt(fn(this,e))},Ge.prototype.sortBy=function(e,t){return Tt(fn(this,t,e))},Ge.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Ge.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new I)},Ge.prototype.asImmutable=function(){return this.__ensureOwner()},Ge.prototype.wasAltered=function(){return this.__altered},Ge.prototype.__iterator=function(e,t){return new et(this,e,t)},Ge.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},Ge.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?rt(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Ge.isMap=Xe;var Ye,Ue="@@__IMMUTABLE_MAP__@@",Ke=Ge.prototype;function We(e,t){this.ownerID=e,this.entries=t}function qe(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Je(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function _e(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function $e(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return j(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function rt(e,t,n,r){var o=Object.create(Ke);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function ot(){return Ye||(Ye=rt(0))}function At(e,t,n){var r,o;if(e._root){var A=v(b),i=v(w);if(r=it(e._root,e.__ownerID,0,void 0,t,n,A,i),!i.value)return e;o=e.size+(A.value?n===E?-1:1:0)}else{if(n===E)return e;o=1,r=new We(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?rt(o,r):ot()}function it(e,t,n,r,o,A,i,a){return e?e.update(t,n,r,o,A,i,a):A===E?e:(B(a),B(i),new $e(t,r,[o,A]))}function at(e){return e.constructor===$e||e.constructor===_e}function lt(e,t,n,r,o){if(e.keyHash===r)return new _e(t,r,[e.entry,o]);var A,i=(0===n?e.keyHash:e.keyHash>>>n)&m,a=(0===n?r:r>>>n)&m;return new qe(t,1<<i|1<<a,i===a?[lt(e,t,n+g,r,o)]:(A=new $e(t,r,o),i<a?[e,A]:[A,e]))}function ct(e,t,n,r){e||(e=new I);for(var o=new $e(e,Qe(n),[n,r]),A=0;A<t.length;A++){var i=t[A];o=o.update(e,0,void 0,i[0],i[1])}return o}function st(e,t,n,r){for(var o=0,A=0,i=new Array(n),a=0,l=1,c=t.length;a<c;a++,l<<=1){var s=t[a];void 0!==s&&a!==r&&(o|=l,i[A++]=s)}return new qe(e,o,i)}function ft(e,t,n,r,o){for(var A=0,i=new Array(h),a=0;0!==n;a++,n>>>=1)i[a]=1&n?t[A++]:void 0;return i[r]=o,new Je(e,A+1,i)}function dt(e,t,n){for(var o=[],A=0;A<n.length;A++){var a=n[A],l=r(a);i(a)||(l=l.map((function(e){return Ce(e)}))),o.push(l)}return pt(e,t,o)}function Ct(e,t,n){return e&&e.mergeDeep&&i(t)?e.mergeDeep(t):he(e,t)?e:t}function ut(e){return function(t,n,r){if(t&&t.mergeDeepWith&&i(n))return t.mergeDeepWith(e,n);var o=e(t,n,r);return he(t,o)?t:o}}function pt(e,t,n){return 0===(n=n.filter((function(e){return 0!==e.size}))).length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var r=t?function(n,r){e.update(r,E,(function(e){return e===E?n:t(e,n,r)}))}:function(t,n){e.set(n,t)},o=0;o<n.length;o++)n[o].forEach(r)})):e.constructor(n[0])}function gt(e,t,n,r){var o=e===E,A=t.next();if(A.done){var i=o?n:e,a=r(i);return a===i?e:a}be(o||e&&e.set,"invalid keyPath");var l=A.value,c=o?E:e.get(l,E),s=gt(c,t,n,r);return s===c?e:s===E?e.remove(l):(o?ot():e).set(l,s)}function ht(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function mt(e,t,n,r){var o=r?e:M(e);return o[t]=n,o}function Et(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var A=new Array(o),i=0,a=0;a<o;a++)a===t?(A[a]=n,i=-1):A[a]=e[a+i];return A}function bt(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var o=new Array(r),A=0,i=0;i<r;i++)i===t&&(A=1),o[i]=e[i+A];return o}Ke[Ue]=!0,Ke[p]=Ke.remove,Ke.removeIn=Ke.deleteIn,We.prototype.get=function(e,t,n,r){for(var o=this.entries,A=0,i=o.length;A<i;A++)if(he(n,o[A][0]))return o[A][1];return r},We.prototype.update=function(e,t,n,r,o,A,i){for(var a=o===E,l=this.entries,c=0,s=l.length;c<s&&!he(r,l[c][0]);c++);var f=c<s;if(f?l[c][1]===o:a)return this;if(B(i),(a||!f)&&B(A),!a||1!==l.length){if(!f&&!a&&l.length>=wt)return ct(e,l,r,o);var d=e&&e===this.ownerID,C=d?l:M(l);return f?a?c===s-1?C.pop():C[c]=C.pop():C[c]=[r,o]:C.push([r,o]),d?(this.entries=C,this):new We(e,C)}},qe.prototype.get=function(e,t,n,r){void 0===t&&(t=Qe(n));var o=1<<((0===e?t:t>>>e)&m),A=this.bitmap;return A&o?this.nodes[ht(A&o-1)].get(e+g,t,n,r):r},qe.prototype.update=function(e,t,n,r,o,A,i){void 0===n&&(n=Qe(r));var a=(0===t?n:n>>>t)&m,l=1<<a,c=this.bitmap,s=!!(c&l);if(!s&&o===E)return this;var f=ht(c&l-1),d=this.nodes,C=s?d[f]:void 0,u=it(C,e,t+g,n,r,o,A,i);if(u===C)return this;if(!s&&u&&d.length>=vt)return ft(e,d,c,a,u);if(s&&!u&&2===d.length&&at(d[1^f]))return d[1^f];if(s&&u&&1===d.length&&at(u))return u;var p=e&&e===this.ownerID,h=s?u?c:c^l:c|l,b=s?u?mt(d,f,u,p):bt(d,f,p):Et(d,f,u,p);return p?(this.bitmap=h,this.nodes=b,this):new qe(e,h,b)},Je.prototype.get=function(e,t,n,r){void 0===t&&(t=Qe(n));var o=(0===e?t:t>>>e)&m,A=this.nodes[o];return A?A.get(e+g,t,n,r):r},Je.prototype.update=function(e,t,n,r,o,A,i){void 0===n&&(n=Qe(r));var a=(0===t?n:n>>>t)&m,l=o===E,c=this.nodes,s=c[a];if(l&&!s)return this;var f=it(s,e,t+g,n,r,o,A,i);if(f===s)return this;var d=this.count;if(s){if(!f&&--d<Bt)return st(e,c,d,a)}else d++;var C=e&&e===this.ownerID,u=mt(c,a,f,C);return C?(this.count=d,this.nodes=u,this):new Je(e,d,u)},_e.prototype.get=function(e,t,n,r){for(var o=this.entries,A=0,i=o.length;A<i;A++)if(he(n,o[A][0]))return o[A][1];return r},_e.prototype.update=function(e,t,n,r,o,A,i){void 0===n&&(n=Qe(r));var a=o===E;if(n!==this.keyHash)return a?this:(B(i),B(A),lt(this,e,t,n,[r,o]));for(var l=this.entries,c=0,s=l.length;c<s&&!he(r,l[c][0]);c++);var f=c<s;if(f?l[c][1]===o:a)return this;if(B(i),(a||!f)&&B(A),a&&2===s)return new $e(e,this.keyHash,l[1^c]);var d=e&&e===this.ownerID,C=d?l:M(l);return f?a?c===s-1?C.pop():C[c]=C.pop():C[c]=[r,o]:C.push([r,o]),d?(this.entries=C,this):new _e(e,this.keyHash,C)},$e.prototype.get=function(e,t,n,r){return he(n,this.entry[0])?this.entry[1]:r},$e.prototype.update=function(e,t,n,r,o,A,i){var a=o===E,l=he(r,this.entry[0]);return(l?o===this.entry[1]:a)?this:(B(i),a?void B(A):l?e&&e===this.ownerID?(this.entry[1]=o,this):new $e(e,this.keyHash,[r,o]):(B(A),lt(this,e,t,Qe(r),[r,o])))},We.prototype.iterate=_e.prototype.iterate=function(e,t){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===e(n[t?o-r:r]))return!1},qe.prototype.iterate=Je.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var A=n[t?o-r:r];if(A&&!1===A.iterate(e,t))return!1}},$e.prototype.iterate=function(e,t){return e(this.entry)},t(et,S),et.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,r=t.node,o=t.index++;if(r.entry){if(0===o)return tt(e,r.entry)}else if(r.entries){if(o<=(n=r.entries.length-1))return tt(e,r.entries[this._reverse?n-o:o])}else if(o<=(n=r.nodes.length-1)){var A=r.nodes[this._reverse?n-o:o];if(A){if(A.entry)return tt(e,A.entry);t=this._stack=nt(A,t)}continue}t=this._stack=this._stack.__prev}return F()};var wt=h/4,vt=h/2,Bt=h/4;function It(e){var t=Zt();if(null==e)return t;if(Mt(e))return e;var n=o(e),r=n.size;return 0===r?t:(Re(r),r>0&&r<h?Vt(0,r,g,null,new Qt(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function Mt(e){return!(!e||!e[yt])}t(It,Ie),It.of=function(){return this(arguments)},It.prototype.toString=function(){return this.__toString("List [","]")},It.prototype.get=function(e,t){if((e=L(this,e))>=0&&e<this.size){var n=Ot(this,e+=this._origin);return n&&n.array[e&m]}return t},It.prototype.set=function(e,t){return Nt(this,e,t)},It.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},It.prototype.insert=function(e,t){return this.splice(e,0,t)},It.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Zt()},It.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){St(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},It.prototype.pop=function(){return St(this,0,-1)},It.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){St(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},It.prototype.shift=function(){return St(this,1)},It.prototype.merge=function(){return jt(this,void 0,arguments)},It.prototype.mergeWith=function(t){return jt(this,t,e.call(arguments,1))},It.prototype.mergeDeep=function(){return jt(this,Ct,arguments)},It.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return jt(this,ut(t),n)},It.prototype.setSize=function(e){return St(this,0,e)},It.prototype.slice=function(e,t){var n=this.size;return x(e,t,n)?this:St(this,H(e,n),D(t,n))},It.prototype.__iterator=function(e,t){var n=0,r=kt(this,t);return new S((function(){var t=r();return t===Dt?F():j(e,n++,t)}))},It.prototype.__iterate=function(e,t){for(var n,r=0,o=kt(this,t);(n=o())!==Dt&&!1!==e(n,r++,this););return r},It.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Vt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},It.isList=Mt;var yt="@@__IMMUTABLE_LIST__@@",Lt=It.prototype;function Qt(e,t){this.array=e,this.ownerID=t}Lt[yt]=!0,Lt[p]=Lt.remove,Lt.setIn=Ke.setIn,Lt.deleteIn=Lt.removeIn=Ke.removeIn,Lt.update=Ke.update,Lt.updateIn=Ke.updateIn,Lt.mergeIn=Ke.mergeIn,Lt.mergeDeepIn=Ke.mergeDeepIn,Lt.withMutations=Ke.withMutations,Lt.asMutable=Ke.asMutable,Lt.asImmutable=Ke.asImmutable,Lt.wasAltered=Ke.wasAltered,Qt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&m;if(r>=this.array.length)return new Qt([],e);var o,A=0===r;if(t>0){var i=this.array[r];if((o=i&&i.removeBefore(e,t-g,n))===i&&A)return this}if(A&&!o)return this;var a=Pt(this,e);if(!A)for(var l=0;l<r;l++)a.array[l]=void 0;return o&&(a.array[r]=o),a},Qt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,o=n-1>>>t&m;if(o>=this.array.length)return this;if(t>0){var A=this.array[o];if((r=A&&A.removeAfter(e,t-g,n))===A&&o===this.array.length-1)return this}var i=Pt(this,e);return i.array.splice(o+1),r&&(i.array[o]=r),i};var xt,Ht,Dt={};function kt(e,t){var n=e._origin,r=e._capacity,o=Ft(r),A=e._tail;return i(e._root,e._level,0);function i(e,t,n){return 0===t?a(e,n):l(e,t,n)}function a(e,i){var a=i===o?A&&A.array:e&&e.array,l=i>n?0:n-i,c=r-i;return c>h&&(c=h),function(){if(l===c)return Dt;var e=t?--c:l++;return a&&a[e]}}function l(e,o,A){var a,l=e&&e.array,c=A>n?0:n-A>>o,s=1+(r-A>>o);return s>h&&(s=h),function(){for(;;){if(a){var e=a();if(e!==Dt)return e;a=null}if(c===s)return Dt;var n=t?--s:c++;a=i(l&&l[n],o-g,A+(n<<o))}}}}function Vt(e,t,n,r,o,A,i){var a=Object.create(Lt);return a.size=t-e,a._origin=e,a._capacity=t,a._level=n,a._root=r,a._tail=o,a.__ownerID=A,a.__hash=i,a.__altered=!1,a}function Zt(){return xt||(xt=Vt(0,0,g))}function Nt(e,t,n){if((t=L(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?St(e,t).set(0,n):St(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,o=e._root,A=v(w);return t>=Ft(e._capacity)?r=zt(r,e.__ownerID,0,t,n,A):o=zt(o,e.__ownerID,e._level,t,n,A),A.value?e.__ownerID?(e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e):Vt(e._origin,e._capacity,e._level,o,r):e}function zt(e,t,n,r,o,A){var i,a=r>>>n&m,l=e&&a<e.array.length;if(!l&&void 0===o)return e;if(n>0){var c=e&&e.array[a],s=zt(c,t,n-g,r,o,A);return s===c?e:((i=Pt(e,t)).array[a]=s,i)}return l&&e.array[a]===o?e:(B(A),i=Pt(e,t),void 0===o&&a===i.array.length-1?i.array.pop():i.array[a]=o,i)}function Pt(e,t){return t&&e&&t===e.ownerID?e:new Qt(e?e.array.slice():[],t)}function Ot(e,t){if(t>=Ft(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&m],r-=g;return n}}function St(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new I,o=e._origin,A=e._capacity,i=o+t,a=void 0===n?A:n<0?A+n:o+n;if(i===o&&a===A)return e;if(i>=a)return e.clear();for(var l=e._level,c=e._root,s=0;i+s<0;)c=new Qt(c&&c.array.length?[void 0,c]:[],r),s+=1<<(l+=g);s&&(i+=s,o+=s,a+=s,A+=s);for(var f=Ft(A),d=Ft(a);d>=1<<l+g;)c=new Qt(c&&c.array.length?[c]:[],r),l+=g;var C=e._tail,u=d<f?Ot(e,a-1):d>f?new Qt([],r):C;if(C&&d>f&&i<A&&C.array.length){for(var p=c=Pt(c,r),h=l;h>g;h-=g){var E=f>>>h&m;p=p.array[E]=Pt(p.array[E],r)}p.array[f>>>g&m]=C}if(a<A&&(u=u&&u.removeAfter(r,0,a)),i>=d)i-=d,a-=d,l=g,c=null,u=u&&u.removeBefore(r,0,i);else if(i>o||d<f){for(s=0;c;){var b=i>>>l&m;if(b!==d>>>l&m)break;b&&(s+=(1<<l)*b),l-=g,c=c.array[b]}c&&i>o&&(c=c.removeBefore(r,l,i-s)),c&&d<f&&(c=c.removeAfter(r,l,d-s)),s&&(i-=s,a-=s)}return e.__ownerID?(e.size=a-i,e._origin=i,e._capacity=a,e._level=l,e._root=c,e._tail=u,e.__hash=void 0,e.__altered=!0,e):Vt(i,a,l,c,u)}function jt(e,t,n){for(var r=[],A=0,a=0;a<n.length;a++){var l=n[a],c=o(l);c.size>A&&(A=c.size),i(l)||(c=c.map((function(e){return Ce(e)}))),r.push(c)}return A>e.size&&(e=e.setSize(A)),pt(e,t,r)}function Ft(e){return e<h?0:e-1>>>g<<g}function Tt(e){return null==e?Xt():Rt(e)?e:Xt().withMutations((function(t){var n=r(e);Re(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Rt(e){return Xe(e)&&s(e)}function Gt(e,t,n,r){var o=Object.create(Tt.prototype);return o.size=e?e.size:0,o._map=e,o._list=t,o.__ownerID=n,o.__hash=r,o}function Xt(){return Ht||(Ht=Gt(ot(),Zt()))}function Yt(e,t,n){var r,o,A=e._map,i=e._list,a=A.get(t),l=void 0!==a;if(n===E){if(!l)return e;i.size>=h&&i.size>=2*A.size?(r=(o=i.filter((function(e,t){return void 0!==e&&a!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=A.remove(t),o=a===i.size-1?i.pop():i.set(a,void 0))}else if(l){if(n===i.get(a)[1])return e;r=A,o=i.set(a,[t,n])}else r=A.set(t,i.size),o=i.set(i.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):Gt(r,o)}function Ut(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Kt(e){this._iter=e,this.size=e.size}function Wt(e){this._iter=e,this.size=e.size}function qt(e){this._iter=e,this.size=e.size}function Jt(e){var t=En(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=bn,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===N){var r=e.__iterator(t,n);return new S((function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===Z?V:Z,n)},t}function _t(e,t,n){var r=En(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var A=e.get(r,E);return A===E?o:t.call(n,A,r,e)},r.__iterateUncached=function(r,o){var A=this;return e.__iterate((function(e,o,i){return!1!==r(t.call(n,e,o,i),o,A)}),o)},r.__iteratorUncached=function(r,o){var A=e.__iterator(N,o);return new S((function(){var o=A.next();if(o.done)return o;var i=o.value,a=i[0];return j(r,a,t.call(n,i[1],a,e),o)}))},r}function $t(e,t){var n=En(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Jt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=bn,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,r){var o=En(e);return r&&(o.has=function(r){var o=e.get(r,E);return o!==E&&!!t.call(n,o,r,e)},o.get=function(r,o){var A=e.get(r,E);return A!==E&&t.call(n,A,r,e)?A:o}),o.__iterateUncached=function(o,A){var i=this,a=0;return e.__iterate((function(e,A,l){if(t.call(n,e,A,l))return a++,o(e,r?A:a-1,i)}),A),a},o.__iteratorUncached=function(o,A){var i=e.__iterator(N,A),a=0;return new S((function(){for(;;){var A=i.next();if(A.done)return A;var l=A.value,c=l[0],s=l[1];if(t.call(n,s,c,e))return j(o,r?c:a++,s,A)}}))},o}function tn(e,t,n){var r=Ge().asMutable();return e.__iterate((function(o,A){r.update(t.call(n,o,A,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=a(e),o=(s(e)?Tt():Ge()).asMutable();e.__iterate((function(A,i){o.update(t.call(n,A,i,e),(function(e){return(e=e||[]).push(r?[i,A]:A),e}))}));var A=mn(e);return o.map((function(t){return pn(e,A(t))}))}function rn(e,t,n,r){var o=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),x(t,n,o))return e;var A=H(t,o),i=D(n,o);if(A!=A||i!=i)return rn(e.toSeq().cacheResult(),t,n,r);var a,l=i-A;l==l&&(a=l<0?0:l);var c=En(e);return c.size=0===a?a:e.size&&a||void 0,!r&&Ae(e)&&a>=0&&(c.get=function(t,n){return(t=L(this,t))>=0&&t<a?e.get(t+A,n):n}),c.__iterateUncached=function(t,n){var o=this;if(0===a)return 0;if(n)return this.cacheResult().__iterate(t,n);var i=0,l=!0,c=0;return e.__iterate((function(e,n){if(!l||!(l=i++<A))return c++,!1!==t(e,r?n:c-1,o)&&c!==a})),c},c.__iteratorUncached=function(t,n){if(0!==a&&n)return this.cacheResult().__iterator(t,n);var o=0!==a&&e.__iterator(t,n),i=0,l=0;return new S((function(){for(;i++<A;)o.next();if(++l>a)return F();var e=o.next();return r||t===Z?e:j(t,l-1,t===V?void 0:e.value[1],e)}))},c}function on(e,t,n){var r=En(e);return r.__iterateUncached=function(r,o){var A=this;if(o)return this.cacheResult().__iterate(r,o);var i=0;return e.__iterate((function(e,o,a){return t.call(n,e,o,a)&&++i&&r(e,o,A)})),i},r.__iteratorUncached=function(r,o){var A=this;if(o)return this.cacheResult().__iterator(r,o);var i=e.__iterator(N,o),a=!0;return new S((function(){if(!a)return F();var e=i.next();if(e.done)return e;var o=e.value,l=o[0],c=o[1];return t.call(n,c,l,A)?r===N?e:j(r,l,c,e):(a=!1,F())}))},r}function An(e,t,n,r){var o=En(e);return o.__iterateUncached=function(o,A){var i=this;if(A)return this.cacheResult().__iterate(o,A);var a=!0,l=0;return e.__iterate((function(e,A,c){if(!a||!(a=t.call(n,e,A,c)))return l++,o(e,r?A:l-1,i)})),l},o.__iteratorUncached=function(o,A){var i=this;if(A)return this.cacheResult().__iterator(o,A);var a=e.__iterator(N,A),l=!0,c=0;return new S((function(){var e,A,s;do{if((e=a.next()).done)return r||o===Z?e:j(o,c++,o===V?void 0:e.value[1],e);var f=e.value;A=f[0],s=f[1],l&&(l=t.call(n,s,A,i))}while(l);return o===N?e:j(o,A,s,e)}))},o}function an(e,t){var n=a(e),o=[e].concat(t).map((function(e){return i(e)?n&&(e=r(e)):e=n?ae(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===o.length)return e;if(1===o.length){var A=o[0];if(A===e||n&&a(A)||l(e)&&l(A))return A}var c=new te(o);return n?c=c.toKeyedSeq():l(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=o.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function ln(e,t,n){var r=En(e);return r.__iterateUncached=function(r,o){var A=0,a=!1;function l(e,c){var s=this;e.__iterate((function(e,o){return(!t||c<t)&&i(e)?l(e,c+1):!1===r(e,n?o:A++,s)&&(a=!0),!a}),o)}return l(e,0),A},r.__iteratorUncached=function(r,o){var A=e.__iterator(r,o),a=[],l=0;return new S((function(){for(;A;){var e=A.next();if(!1===e.done){var c=e.value;if(r===N&&(c=c[1]),t&&!(a.length<t)||!i(c))return n?e:j(r,l++,c,e);a.push(A),A=c.__iterator(r,o)}else A=a.pop()}return F()}))},r}function cn(e,t,n){var r=mn(e);return e.toSeq().map((function(o,A){return r(t.call(n,o,A,e))})).flatten(!0)}function sn(e,t){var n=En(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var o=this,A=0;return e.__iterate((function(e,r){return(!A||!1!==n(t,A++,o))&&!1!==n(e,A++,o)}),r),A},n.__iteratorUncached=function(n,r){var o,A=e.__iterator(Z,r),i=0;return new S((function(){return(!o||i%2)&&(o=A.next()).done?o:i%2?j(n,i++,t):j(n,i++,o.value,o)}))},n}function fn(e,t,n){t||(t=wn);var r=a(e),o=0,A=e.toSeq().map((function(t,r){return[r,t,o++,n?n(t,r,e):t]})).toArray();return A.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){A[t].length=2}:function(e,t){A[t]=e[1]}),r?K(A):l(e)?W(A):q(A)}function dn(e,t,n){if(t||(t=wn),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return Cn(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return Cn(t,e,n)?n:e}))}function Cn(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function un(e,t,r){var o=En(e);return o.size=new te(r).map((function(e){return e.size})).min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(Z,t),o=0;!(n=r.next()).done&&!1!==e(n.value,o++,this););return o},o.__iteratorUncached=function(e,o){var A=r.map((function(e){return e=n(e),G(o?e.reverse():e)})),i=0,a=!1;return new S((function(){var n;return a||(n=A.map((function(e){return e.next()})),a=n.some((function(e){return e.done}))),a?F():j(e,i++,t.apply(null,n.map((function(e){return e.value}))))}))},o}function pn(e,t){return Ae(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function hn(e){return Re(e.size),y(e)}function mn(e){return a(e)?r:l(e)?o:A}function En(e){return Object.create((a(e)?K:l(e)?W:q).prototype)}function bn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):U.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e<t?-1:0}function vn(e){var t=G(e);if(!t){if(!Y(e))throw new TypeError("Expected iterable or array-like: "+e);t=G(n(e))}return t}function Bn(e,t){var n,r=function(A){if(A instanceof r)return A;if(!(this instanceof r))return new r(A);if(!n){n=!0;var i=Object.keys(e);Ln(o,i),o.size=i.length,o._name=t,o._keys=i,o._defaultValues=e}this._map=Ge(A)},o=r.prototype=Object.create(In);return o.constructor=r,r}t(Tt,Ge),Tt.of=function(){return this(arguments)},Tt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Tt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Tt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Xt()},Tt.prototype.set=function(e,t){return Yt(this,e,t)},Tt.prototype.remove=function(e){return Yt(this,e,E)},Tt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Tt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Tt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Tt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Gt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Tt.isOrderedMap=Rt,Tt.prototype[u]=!0,Tt.prototype[p]=Tt.prototype.remove,t(Ut,K),Ut.prototype.get=function(e,t){return this._iter.get(e,t)},Ut.prototype.has=function(e){return this._iter.has(e)},Ut.prototype.valueSeq=function(){return this._iter.valueSeq()},Ut.prototype.reverse=function(){var e=this,t=$t(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Ut.prototype.map=function(e,t){var n=this,r=_t(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Ut.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?hn(this):0,function(o){return e(o,t?--n:n++,r)}),t)},Ut.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(Z,t),r=t?hn(this):0;return new S((function(){var o=n.next();return o.done?o:j(e,t?--r:r++,o.value,o)}))},Ut.prototype[u]=!0,t(Kt,W),Kt.prototype.includes=function(e){return this._iter.includes(e)},Kt.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Kt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(Z,t),r=0;return new S((function(){var t=n.next();return t.done?t:j(e,r++,t.value,t)}))},t(Wt,q),Wt.prototype.has=function(e){return this._iter.includes(e)},Wt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Wt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(Z,t);return new S((function(){var t=n.next();return t.done?t:j(e,t.value,t.value,t)}))},t(qt,K),qt.prototype.entrySeq=function(){return this._iter.toSeq()},qt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var r=i(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},qt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(Z,t);return new S((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){gn(r);var o=i(r);return j(e,o?r.get(0):r[0],o?r.get(1):r[1],t)}}}))},Kt.prototype.cacheResult=Ut.prototype.cacheResult=Wt.prototype.cacheResult=qt.prototype.cacheResult=bn,t(Bn,Be),Bn.prototype.toString=function(){return this.__toString(yn(this)+" {","}")},Bn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Bn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},Bn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Mn(this,ot()))},Bn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+yn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Mn(this,n)},Bn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Mn(this,t)},Bn.prototype.wasAltered=function(){return this._map.wasAltered()},Bn.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},Bn.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},Bn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Mn(this,t,e):(this.__ownerID=e,this._map=t,this)};var In=Bn.prototype;function Mn(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function yn(e){return e._name||e.constructor.name||"Record"}function Ln(e,t){try{t.forEach(Qn.bind(void 0,e))}catch(e){}}function Qn(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){be(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function xn(e){return null==e?zn():Hn(e)&&!s(e)?e:zn().withMutations((function(t){var n=A(e);Re(n.size),n.forEach((function(e){return t.add(e)}))}))}function Hn(e){return!(!e||!e[kn])}In[p]=In.remove,In.deleteIn=In.removeIn=Ke.removeIn,In.merge=Ke.merge,In.mergeWith=Ke.mergeWith,In.mergeIn=Ke.mergeIn,In.mergeDeep=Ke.mergeDeep,In.mergeDeepWith=Ke.mergeDeepWith,In.mergeDeepIn=Ke.mergeDeepIn,In.setIn=Ke.setIn,In.update=Ke.update,In.updateIn=Ke.updateIn,In.withMutations=Ke.withMutations,In.asMutable=Ke.asMutable,In.asImmutable=Ke.asImmutable,t(xn,Me),xn.of=function(){return this(arguments)},xn.fromKeys=function(e){return this(r(e).keySeq())},xn.prototype.toString=function(){return this.__toString("Set {","}")},xn.prototype.has=function(e){return this._map.has(e)},xn.prototype.add=function(e){return Zn(this,this._map.set(e,!0))},xn.prototype.remove=function(e){return Zn(this,this._map.remove(e))},xn.prototype.clear=function(){return Zn(this,this._map.clear())},xn.prototype.union=function(){var t=e.call(arguments,0);return 0===(t=t.filter((function(e){return 0!==e.size}))).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)A(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},xn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return A(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},xn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return A(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},xn.prototype.merge=function(){return this.union.apply(this,arguments)},xn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},xn.prototype.sort=function(e){return Pn(fn(this,e))},xn.prototype.sortBy=function(e,t){return Pn(fn(this,t,e))},xn.prototype.wasAltered=function(){return this._map.wasAltered()},xn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},xn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},xn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},xn.isSet=Hn;var Dn,kn="@@__IMMUTABLE_SET__@@",Vn=xn.prototype;function Zn(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function Nn(e,t){var n=Object.create(Vn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function zn(){return Dn||(Dn=Nn(ot()))}function Pn(e){return null==e?Tn():On(e)?e:Tn().withMutations((function(t){var n=A(e);Re(n.size),n.forEach((function(e){return t.add(e)}))}))}function On(e){return Hn(e)&&s(e)}Vn[kn]=!0,Vn[p]=Vn.remove,Vn.mergeDeep=Vn.merge,Vn.mergeDeepWith=Vn.mergeWith,Vn.withMutations=Ke.withMutations,Vn.asMutable=Ke.asMutable,Vn.asImmutable=Ke.asImmutable,Vn.__empty=zn,Vn.__make=Nn,t(Pn,xn),Pn.of=function(){return this(arguments)},Pn.fromKeys=function(e){return this(r(e).keySeq())},Pn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Pn.isOrderedSet=On;var Sn,jn=Pn.prototype;function Fn(e,t){var n=Object.create(jn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Tn(){return Sn||(Sn=Fn(Xt()))}function Rn(e){return null==e?Wn():Gn(e)?e:Wn().unshiftAll(e)}function Gn(e){return!(!e||!e[Yn])}jn[u]=!0,jn.__empty=Tn,jn.__make=Fn,t(Rn,Ie),Rn.of=function(){return this(arguments)},Rn.prototype.toString=function(){return this.__toString("Stack [","]")},Rn.prototype.get=function(e,t){var n=this._head;for(e=L(this,e);n&&e--;)n=n.next;return n?n.value:t},Rn.prototype.peek=function(){return this._head&&this._head.value},Rn.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Kn(e,t)},Rn.prototype.pushAll=function(e){if(0===(e=o(e)).size)return this;Re(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Kn(t,n)},Rn.prototype.pop=function(){return this.slice(1)},Rn.prototype.unshift=function(){return this.push.apply(this,arguments)},Rn.prototype.unshiftAll=function(e){return this.pushAll(e)},Rn.prototype.shift=function(){return this.pop.apply(this,arguments)},Rn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Wn()},Rn.prototype.slice=function(e,t){if(x(e,t,this.size))return this;var n=H(e,this.size);if(D(t,this.size)!==this.size)return Ie.prototype.slice.call(this,e,t);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Kn(r,o)},Rn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Kn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Rn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Rn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new S((function(){if(r){var t=r.value;return r=r.next,j(e,n++,t)}return F()}))},Rn.isStack=Gn;var Xn,Yn="@@__IMMUTABLE_STACK__@@",Un=Rn.prototype;function Kn(e,t,n,r){var o=Object.create(Un);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Wn(){return Xn||(Xn=Kn(0))}function qn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Un[Yn]=!0,Un.withMutations=Ke.withMutations,Un.asMutable=Ke.asMutable,Un.asImmutable=Ke.asImmutable,Un.wasAltered=Ke.wasAltered,n.Iterator=S,qn(n,{toArray:function(){Re(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Kt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Ut(this,!0)},toMap:function(){return Ge(this.toKeyedSeq())},toObject:function(){Re(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Tt(this.toKeyedSeq())},toOrderedSet:function(){return Pn(a(this)?this.valueSeq():this)},toSet:function(){return xn(a(this)?this.valueSeq():this)},toSetSeq:function(){return new Wt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Rn(a(this)?this.valueSeq():this)},toList:function(){return It(a(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return pn(this,an(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return he(t,e)}))},entries:function(){return this.__iterator(N)},every:function(e,t){Re(this.size);var n=!0;return this.__iterate((function(r,o,A){if(!e.call(t,r,o,A))return n=!1,!1})),n},filter:function(e,t){return pn(this,en(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(r,o,A){if(e.call(t,r,o,A))return n=[o,r],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Re(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Re(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(V)},map:function(e,t){return pn(this,_t(this,e,t))},reduce:function(e,t,n){var r,o;return Re(this.size),arguments.length<2?o=!0:r=t,this.__iterate((function(t,A,i){o?(o=!1,r=t):r=e.call(n,r,t,A,i)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return pn(this,$t(this,!0))},slice:function(e,t){return pn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(tr(e),t)},sort:function(e){return pn(this,fn(this,e))},values:function(){return this.__iterator(Z)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return y(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return me(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(er).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(tr(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(Q)},flatMap:function(e,t){return pn(this,cn(this,e,t))},flatten:function(e){return pn(this,ln(this,e,!0))},fromEntrySeq:function(){return new qt(this)},get:function(e,t){return this.find((function(t,n){return he(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,o=vn(e);!(n=o.next()).done;){var A=n.value;if((r=r&&r.get?r.get(A,E):E)===E)return t}return r},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,E)!==E},hasIn:function(e){return this.getIn(e,E)!==E},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map($n).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return dn(this,e)},maxBy:function(e,t){return dn(this,t,e)},min:function(e){return dn(this,e?nr(e):Ar)},minBy:function(e,t){return dn(this,t?nr(t):Ar,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return pn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return pn(this,An(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(tr(e),t)},sortBy:function(e,t){return pn(this,fn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return pn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return pn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(tr(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ir(this))}});var Jn=n.prototype;Jn[f]=!0,Jn[O]=Jn.values,Jn.__toJS=Jn.toArray,Jn.__toStringMapper=rr,Jn.inspect=Jn.toSource=function(){return this.toString()},Jn.chain=Jn.flatMap,Jn.contains=Jn.includes,function(){try{Object.defineProperty(Jn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),qn(r,{flip:function(){return pn(this,Jt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return he(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return he(t,e)}))},mapEntries:function(e,t){var n=this,r=0;return pn(this,this.toSeq().map((function(o,A){return e.call(t,[A,o],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return pn(this,this.toSeq().flip().map((function(r,o){return e.call(t,r,o,n)})).flip())}});var _n=r.prototype;function $n(e,t){return t}function er(e,t){return[t,e]}function tr(e){return function(){return!e.apply(this,arguments)}}function nr(e){return function(){return-e.apply(this,arguments)}}function rr(e){return"string"==typeof e?JSON.stringify(e):e}function or(){return M(arguments)}function Ar(e,t){return e<t?1:e>t?-1:0}function ir(e){if(e.size===1/0)return 0;var t=s(e),n=a(e),r=t?1:0,o=e.__iterate(n?t?function(e,t){r=31*r+lr(Qe(e),Qe(t))|0}:function(e,t){r=r+lr(Qe(e),Qe(t))|0}:t?function(e){r=31*r+Qe(e)|0}:function(e){r=r+Qe(e)|0});return ar(o,r)}function ar(e,t){return t=ye(t,3432918353),t=ye(t<<15|t>>>-15,461845907),t=ye(t<<13|t>>>-13,5),t=ye((t=t+3864292196^e)^t>>>16,2246822507),t=Le((t=ye(t^t>>>13,3266489909))^t>>>16)}function lr(e,t){return e^t+2654435769+(e<<6)+(e>>2)}_n[d]=!0,_n[O]=Jn.entries,_n.__toJS=Jn.toObject,_n.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},qn(o,{toKeyedSeq:function(){return new Ut(this,!1)},filter:function(e,t){return pn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return pn(this,$t(this,!1))},slice:function(e,t){return pn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=H(e,e<0?this.count():this.size);var r=this.slice(0,e);return pn(this,1===n?r:r.concat(M(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return pn(this,ln(this,e,!1))},get:function(e,t){return(e=L(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=L(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return pn(this,sn(this,e))},interleave:function(){var e=[this].concat(M(arguments)),t=un(this.toSeq(),W.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),pn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return pn(this,An(this,e,t,!1))},zip:function(){return pn(this,un(this,or,[this].concat(M(arguments))))},zipWith:function(e){var t=M(arguments);return t[0]=this,pn(this,un(this,e,t))}}),o.prototype[C]=!0,o.prototype[u]=!0,qn(A,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),A.prototype.has=Jn.includes,qn(K,r.prototype),qn(W,o.prototype),qn(q,A.prototype),qn(Be,r.prototype),qn(Ie,o.prototype),qn(Me,A.prototype);var cr={Iterable:n,Seq:U,Collection:ve,Map:Ge,OrderedMap:Tt,List:It,Stack:Rn,Set:xn,OrderedSet:Pn,Record:Bn,Range:we,Repeat:Ee,is:he,fromJS:Ce};return cr}()),uB.exports}function gB(){if(Vw)return kw;Vw=1;var e=pB().OrderedMap;return kw={createFromArray:function(t){return e(t.map((function(e){return[e.getKey(),e]})))}}}function hB(){if(Nw)return Zw;Nw=1;var e=pB(),t=e.Map,n=e.OrderedSet,r=e.Record,o=n(),A={style:o,entity:null},i=function(e){var r,A;function i(){return e.apply(this,arguments)||this}A=e,(r=i).prototype=Object.create(A.prototype),r.prototype.constructor=r,r.__proto__=A;var c=i.prototype;return c.getStyle=function(){return this.get("style")},c.getEntity=function(){return this.get("entity")},c.hasStyle=function(e){return this.getStyle().includes(e)},i.applyStyle=function(e,t){var n=e.set("style",e.getStyle().add(t));return i.create(n)},i.removeStyle=function(e,t){var n=e.set("style",e.getStyle().remove(t));return i.create(n)},i.applyEntity=function(e,t){var n=e.getEntity()===t?e:e.set("entity",t);return i.create(n)},i.create=function(e){if(!e)return a;var n=t({style:o,entity:null}).merge(e),r=l.get(n);if(r)return r;var A=new i(n);return l=l.set(n,A),A},i.fromJS=function(e){var t=e.style,r=e.entity;return new i({style:Array.isArray(t)?n(t):t,entity:Array.isArray(r)?n(r):r})},i}(r(A)),a=new i,l=t([[t(A),a]]);return i.EMPTY=a,Zw=i}function mB(){if(Pw)return zw;return Pw=1,zw=function(e,t,n,r){if(e.size){var o=0;e.reduce((function(e,A,i){return t(e,A)||(n(e)&&r(o,i),o=i),A})),n(e.last())&&r(o,e.count())}}}function EB(){if(Sw)return Ow;Sw=1;var e=hB(),t=mB(),n=pB(),r=n.List,o=n.Map,A=n.OrderedSet,i=n.Record,a=n.Repeat,l=A(),c=i({key:"",type:"unstyled",text:"",characterList:r(),depth:0,data:o()}),s=function(n){var o,A;function i(t){return n.call(this,function(t){if(!t)return t;var n=t.characterList,o=t.text;return o&&!n&&(t.characterList=r(a(e.EMPTY,o.length))),t}(t))||this}A=n,(o=i).prototype=Object.create(A.prototype),o.prototype.constructor=o,o.__proto__=A;var c=i.prototype;return c.getKey=function(){return this.get("key")},c.getType=function(){return this.get("type")},c.getText=function(){return this.get("text")},c.getCharacterList=function(){return this.get("characterList")},c.getLength=function(){return this.getText().length},c.getDepth=function(){return this.get("depth")},c.getData=function(){return this.get("data")},c.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():l},c.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},c.findStyleRanges=function(e,n){t(this.getCharacterList(),f,e,n)},c.findEntityRanges=function(e,n){t(this.getCharacterList(),d,e,n)},i}(c);function f(e,t){return e.getStyle()===t.getStyle()}function d(e,t){return e.getEntity()===t.getEntity()}return Ow=s}function bB(){if(Fw)return jw;Fw=1;var e=hB(),t=mB(),n=pB(),r=n.List,o=n.Map,A=n.OrderedSet,i=n.Record,a=n.Repeat,l=A(),c={parent:null,characterList:r(),data:o(),depth:0,key:"",text:"",type:"unstyled",children:r(),prevSibling:null,nextSibling:null},s=function(e,t){return e.getStyle()===t.getStyle()},f=function(e,t){return e.getEntity()===t.getEntity()},d=function(n){var o,A;function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;return n.call(this,function(t){if(!t)return t;var n=t.characterList,o=t.text;return o&&!n&&(t.characterList=r(a(e.EMPTY,o.length))),t}(t))||this}A=n,(o=i).prototype=Object.create(A.prototype),o.prototype.constructor=o,o.__proto__=A;var d=i.prototype;return d.getKey=function(){return this.get("key")},d.getType=function(){return this.get("type")},d.getText=function(){return this.get("text")},d.getCharacterList=function(){return this.get("characterList")},d.getLength=function(){return this.getText().length},d.getDepth=function(){return this.get("depth")},d.getData=function(){return this.get("data")},d.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():l},d.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},d.getChildKeys=function(){return this.get("children")},d.getParentKey=function(){return this.get("parent")},d.getPrevSiblingKey=function(){return this.get("prevSibling")},d.getNextSiblingKey=function(){return this.get("nextSibling")},d.findStyleRanges=function(e,n){t(this.getCharacterList(),s,e,n)},d.findEntityRanges=function(e,n){t(this.getCharacterList(),f,e,n)},i}(i(c));return jw=d}function wB(){if(Uw)return Yw;Uw=1;var e=function(){if(Xw)return Gw;Xw=1;var e=hB();return Gw=function(t,n,r,o){for(var A=n,i=t.getCharacterList();A<r;)i=i.set(A,e.applyEntity(i.get(A),o)),A++;return t.set("characterList",i)}}(),t=pB();return Yw=function(n,r,o){var A=n.getBlockMap(),i=r.getStartKey(),a=r.getStartOffset(),l=r.getEndKey(),c=r.getEndOffset(),s=A.skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===l})).toOrderedMap().merge(t.OrderedMap([[l,A.get(l)]])).map((function(t,n){var r=n===i?a:0,A=n===l?c:t.getLength();return e(t,r,A,o)}));return n.merge({blockMap:A.merge(s),selectionBefore:r,selectionAfter:r})},Yw}function vB(){if(Jw)return qw;Jw=1;var e="production"!==process.env.NODE_ENV?function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")}:function(e){};return qw=function(t,n){for(var r=arguments.length,o=new Array(r>2?r-2:0),A=2;A<r;A++)o[A-2]=arguments[A];if(e(n),!t){var i;if(void 0===n)i=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(i=new Error(n.replace(/%s/g,(function(){return String(o[a++])})))).name="Invariant Violation"}throw i.framesToPop=1,i}},qw}function BB(){if(tv)return ev;tv=1;var e=Ww?Kw:(Ww=1,Kw={getRemovalRange:function(e,t,n,r,o){var A=n.split(" ");A=A.map((function(e,t){if("forward"===o){if(t>0)return" "+e}else if(t<A.length-1)return e+" ";return e}));for(var i,a=r,l=null,c=null,s=0;s<A.length;s++){if(e<(i=a+A[s].length)&&a<t)null!==l||(l=a),c=i;else if(null!==l)break;a=i}var f=r+n.length,d=l===r,C=c===f;return(!d&&C||d&&!C)&&("forward"===o?c!==f&&c++:l!==r&&l--),{start:l,end:c}}}),t=function(){if($w)return _w;$w=1;var e=vB();return _w=function(t,n){var r=[];return t.findEntityRanges((function(e){return e.getEntity()===n}),(function(e,t){r.push({start:e,end:t})})),r.length||("production"!==process.env.NODE_ENV?e(!1,"Entity key not found in this range."):e(!1)),r},_w}(),n=vB();function r(r,o,A,i,a,l,c){var s=A.getStartOffset(),f=A.getEndOffset(),d=r.__get(a).getMutability(),C=c?s:f;if("MUTABLE"===d)return A;var u=t(o,a).filter((function(e){return C<=e.end&&C>=e.start}));1!=u.length&&("production"!==process.env.NODE_ENV?n(!1,"There should only be one entity range within this removal range."):n(!1));var p=u[0];if("IMMUTABLE"===d)return A.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1});l||(c?f=p.end:s=p.start);var g=e.getRemovalRange(s,f,o.getText().slice(p.start,p.end),p.start,i);return A.merge({anchorOffset:g.start,focusOffset:g.end,isBackward:!1})}return ev=function(e,t,n,o,A){var i=o.getStartOffset(),a=o.getEndOffset(),l=t.getEntityAt(i),c=n.getEntityAt(a-1);if(!l&&!c)return o;var s=o;if(l&&l===c)s=r(e,t,s,A,l,!0,!0);else if(l&&c){var f=r(e,t,s,A,l,!1,!0),d=r(e,n,s,A,c,!1,!1);s=s.merge({anchorOffset:f.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(l){var C=r(e,t,s,A,l,!1,!0);s=s.merge({anchorOffset:C.getStartOffset(),isBackward:!1})}else if(c){var u=r(e,n,s,A,c,!1,!1);s=s.merge({focusOffset:u.getEndOffset(),isBackward:!1})}return s}}function IB(){if(rv)return nv;rv=1;var e={},t=Math.pow(2,24);return nv=function(){for(var n;void 0===n||e.hasOwnProperty(n)||!isNaN(+n);)n=Math.floor(Math.random()*t).toString(32);return e[n]=!0,n},nv}function MB(){if(Av)return ov;Av=1;var e=bB(),t=IB(),n=pB().OrderedMap;return ov=function(r){return r.first()instanceof e?function(e){var r,o={};return n(e.withMutations((function(e){e.forEach((function(n,A){var i=n.getKey(),a=n.getNextSiblingKey(),l=n.getPrevSiblingKey(),c=n.getChildKeys(),s=n.getParentKey(),f=t();if(o[i]=f,a&&(e.get(a)?e.setIn([a,"prevSibling"],f):e.setIn([i,"nextSibling"],null)),l&&(e.get(l)?e.setIn([l,"nextSibling"],f):e.setIn([i,"prevSibling"],null)),s&&e.get(s)){var d=e.get(s).getChildKeys();e.setIn([s,"children"],d.set(d.indexOf(n.getKey()),f))}else e.setIn([i,"parent"],null),r&&(e.setIn([r.getKey(),"nextSibling"],f),e.setIn([i,"prevSibling"],o[r.getKey()])),r=e.get(i);c.forEach((function(t){e.get(t)?e.setIn([t,"parent"],f):e.setIn([i,"children"],n.getChildKeys().filter((function(e){return e!==t})))}))}))})).toArray().map((function(e){return[o[e.getKey()],e.set("key",o[e.getKey()])]})))}(r):function(e){return n(e.toArray().map((function(e){var n=t();return[n,e.set("key",n)]})))}(r)},ov}function yB(){if(av)return iv;av=1;var e=hB(),t=mB(),n=vB();function r(r,o,A){var i=o.getCharacterList(),a=A>0?i.get(A-1):void 0,l=A<i.count()?i.get(A):void 0,c=a?a.getEntity():void 0,s=l?l.getEntity():void 0;if(s&&s===c&&"MUTABLE"!==r.__get(s).getMutability()){for(var f,d=function(e,r,o){var A;return t(e,(function(e,t){return e.getEntity()===t.getEntity()}),(function(e){return e.getEntity()===r}),(function(e,t){e<=o&&t>=o&&(A={start:e,end:t})})),"object"!=typeof A&&("production"!==process.env.NODE_ENV?n(!1,"Removal range must exist within character list."):n(!1)),A}(i,s,A),C=d.start,u=d.end;C<u;)f=i.get(C),i=i.set(C,e.applyEntity(f,null)),C++;return o.set("characterList",i)}return o}return iv=function(e,t){var n=e.getBlockMap(),o=e.getEntityMap(),A={},i=t.getStartKey(),a=t.getStartOffset(),l=n.get(i),c=r(o,l,a);c!==l&&(A[i]=c);var s=t.getEndKey(),f=t.getEndOffset(),d=n.get(s);i===s&&(d=c);var C=r(o,d,f);return C!==d&&(A[s]=C),Object.keys(A).length?e.merge({blockMap:n.merge(A),selectionAfter:t}):e.set("selectionAfter",t)}}function LB(){if(cv)return lv;cv=1;var e=MB(),t=yB();return lv=function(n,r){var o=r.getStartKey(),A=r.getStartOffset(),i=r.getEndKey(),a=r.getEndOffset(),l=t(n,r).getBlockMap(),c=l.keySeq(),s=c.indexOf(o),f=c.indexOf(i)+1;return e(l.slice(s,f).map((function(e,t){var n=e.getText(),r=e.getCharacterList();return o===i?e.merge({text:n.slice(A,a),characterList:r.slice(A,a)}):t===o?e.merge({text:n.slice(A),characterList:r.slice(A)}):t===i?e.merge({text:n.slice(0,a),characterList:r.slice(0,a)}):e})))}}function QB(){if(fv)return sv;return fv=1,sv=function(e,t,n){var r=e;if(n===r.count())t.forEach((function(e){r=r.push(e)}));else if(0===n)t.reverse().forEach((function(e){r=r.unshift(e)}));else{var o=r.slice(0,n),A=r.slice(n);r=o.concat(t,A).toList()}return r}}function xB(){if(Cv)return dv;Cv=1;var e=gB(),t=bB(),n=pB(),r=QB(),o=vB(),A=MB(),i=n.List,a=function(n,r,o,A,a,l){var c=o.first()instanceof t,s=[],f=A.size,d=o.get(a),C=A.first(),u=A.last(),p=u.getLength(),g=u.getKey(),h=c&&(!d.getChildKeys().isEmpty()||!C.getChildKeys().isEmpty());o.forEach((function(e,t){t===a?(h?s.push(e):s.push(function(e,t,n){var r=e.getText(),o=e.getCharacterList(),A=r.slice(0,t),i=o.slice(0,t),a=n.first();return e.merge({text:A+a.getText(),characterList:i.concat(a.getCharacterList()),type:A?e.getType():a.getType(),data:a.getData()})}(e,l,A)),A.slice(h?0:1,f-1).forEach((function(e){return s.push(e)})),s.push(function(e,t,n){var r=e.getText(),o=e.getCharacterList(),A=r.length,i=r.slice(t,A),a=o.slice(t,A),l=n.last();return l.merge({text:l.getText()+i,characterList:l.getCharacterList().concat(a),data:l.getData()})}(e,l,A))):s.push(e)}));var m=e.createFromArray(s);return c&&(m=function(e,t,n,r){return e.withMutations((function(t){var o=n.getKey(),A=r.getKey(),a=n.getNextSiblingKey(),l=n.getParentKey(),c=function(e,t){var n=e.getKey(),r=e,o=[];for(t.get(n)&&o.push(n);r&&r.getNextSiblingKey();){var A=r.getNextSiblingKey();if(!A)break;o.push(A),r=t.get(A)}return o}(r,e),s=c[c.length-1];if(t.get(A)?(t.setIn([o,"nextSibling"],A),t.setIn([A,"prevSibling"],o)):(t.setIn([o,"nextSibling"],r.getNextSiblingKey()),t.setIn([r.getNextSiblingKey(),"prevSibling"],o)),t.setIn([s,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],s),c.forEach((function(e){return t.setIn([e,"parent"],l)})),l){var f=e.get(l).getChildKeys(),d=f.indexOf(o)+1,C=f.toArray();C.splice.apply(C,[d,0].concat(c)),t.setIn([l,"children"],i(C))}}))}(m,0,d,C)),n.merge({blockMap:m,selectionBefore:r,selectionAfter:r.merge({anchorKey:g,anchorOffset:p,focusKey:g,focusOffset:p,isBackward:!1})})};return dv=function(e,n,i){var l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";n.isCollapsed()||("production"!==process.env.NODE_ENV?o(!1,"`insertFragment` should only be called with a collapsed selection state."):o(!1));var c=e.getBlockMap(),s=A(i),f=n.getStartKey(),d=n.getStartOffset(),C=c.get(f);return C instanceof t&&(C.getChildKeys().isEmpty()||("production"!==process.env.NODE_ENV?o(!1,"`insertFragment` should not be called when a container node is selected."):o(!1))),1===s.size?function(e,t,n,o,A,i){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",l=n.get(A),c=l.getText(),s=l.getCharacterList(),f=A,d=i+o.getText().length,C=null;switch(a){case"MERGE_OLD_DATA_TO_NEW_DATA":C=o.getData().merge(l.getData());break;case"REPLACE_WITH_NEW_DATA":C=o.getData()}var u=l.getType();c&&"unstyled"===u&&(u=o.getType());var p=l.merge({text:c.slice(0,i)+o.getText()+c.slice(i),characterList:r(s,o.getCharacterList(),i),type:u,data:C});return e.merge({blockMap:n.set(A,p),selectionBefore:t,selectionAfter:t.merge({anchorKey:f,anchorOffset:d,focusKey:f,focusOffset:d,isBackward:!1})})}(e,n,c,s.first(),f,d,l):a(e,n,c,s,f,d)},dv}function HB(){if(hv)return gv;hv=1;var e=pB().Map;return gv=function(t,n,r){var o=n.getStartKey(),A=n.getEndKey(),i=t.getBlockMap(),a=i.toSeq().skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===A})).concat(e([[A,i.get(A)]])).map(r);return t.merge({blockMap:i.merge(a),selectionBefore:n,selectionAfter:n})},gv}function DB(){if(Ev)return mv;Ev=1;var e=bB();return mv=function(t,n){if(!(t instanceof e))return null;var r=t.getNextSiblingKey();if(r)return r;var o=t.getParentKey();if(!o)return null;for(var A=n.get(o);A&&!A.getNextSiblingKey();){var i=A.getParentKey();A=i?n.get(i):null}return A?A.getNextSiblingKey():null}}function kB(){if(wv)return bv;wv=1;var e=bB(),t=DB(),n=pB();n.List;var r=n.Map,o=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},A=function(e,t){var n=[];if(!e)return n;for(var r=t.get(e);r&&r.getParentKey();){var o=r.getParentKey();o&&n.push(o),r=o?t.get(o):null}return n},i=function(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getNextSiblingKey();r&&!t.get(r);)r=n.get(r).getNextSiblingKey()||null;return r},a=function(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getPrevSiblingKey();r&&!t.get(r);)r=n.get(r).getPrevSiblingKey()||null;return r},l=function(e,n,r,l){return e.withMutations((function(c){if(o(n.getKey(),c,(function(e){return e.merge({nextSibling:i(e,c,l),prevSibling:a(e,c,l)})})),o(r.getKey(),c,(function(e){return e.merge({nextSibling:i(e,c,l),prevSibling:a(e,c,l)})})),A(n.getKey(),l).forEach((function(e){return o(e,c,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return c.get(e)})),nextSibling:i(e,c,l),prevSibling:a(e,c,l)})}))})),o(n.getNextSiblingKey(),c,(function(e){return e.merge({prevSibling:n.getPrevSiblingKey()})})),o(n.getPrevSiblingKey(),c,(function(e){return e.merge({nextSibling:i(e,c,l)})})),o(r.getNextSiblingKey(),c,(function(e){return e.merge({prevSibling:a(e,c,l)})})),o(r.getPrevSiblingKey(),c,(function(e){return e.merge({nextSibling:r.getNextSiblingKey()})})),A(r.getKey(),l).forEach((function(e){o(e,c,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return c.get(e)})),nextSibling:i(e,c,l),prevSibling:a(e,c,l)})}))})),function(e,n){var r=[];if(!e)return r;for(var o=t(e,n);o&&n.get(o);){var A=n.get(o);r.push(o),o=A.getParentKey()?t(A,n):null}return r}(r,l).forEach((function(e){return o(e,c,(function(e){return e.merge({nextSibling:i(e,c,l),prevSibling:a(e,c,l)})}))})),null==e.get(n.getKey())&&null!=e.get(r.getKey())&&r.getParentKey()===n.getKey()&&null==r.getPrevSiblingKey()){var s=n.getPrevSiblingKey();o(r.getKey(),c,(function(e){return e.merge({prevSibling:s})})),o(s,c,(function(e){return e.merge({nextSibling:r.getKey()})}));var f=s?e.get(s):null,d=f?f.getParentKey():null;if(n.getChildKeys().forEach((function(e){o(e,c,(function(e){return e.merge({parent:d})}))})),null!=d){var C=e.get(d);o(d,c,(function(e){return e.merge({children:C.getChildKeys().concat(n.getChildKeys())})}))}o(n.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),c,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})}))}}))},c=function(e,t,n){if(0===t)for(;t<n;)e=e.shift(),t++;else if(n===e.count())for(;n>t;)e=e.pop(),n--;else{var r=e.slice(0,t),o=e.slice(n);e=r.concat(o).toList()}return e};return bv=function(n,o){if(o.isCollapsed())return n;var i,a=n.getBlockMap(),s=o.getStartKey(),f=o.getStartOffset(),d=o.getEndKey(),C=o.getEndOffset(),u=a.get(s),p=a.get(d),g=u instanceof e,h=[];if(g){var m=p.getChildKeys(),E=A(d,a);p.getNextSiblingKey()&&(h=h.concat(E)),m.isEmpty()||(h=h.concat(E.concat([d]))),h=h.concat(A(t(p,a),a))}i=u===p?c(u.getCharacterList(),f,C):u.getCharacterList().slice(0,f).concat(p.getCharacterList().slice(C));var b=u.merge({text:u.getText().slice(0,f)+p.getText().slice(C),characterList:i}),w=g&&0===f&&0===C&&p.getParentKey()===s&&null==p.getPrevSiblingKey()?r([[s,null]]):a.toSeq().skipUntil((function(e,t){return t===s})).takeUntil((function(e,t){return t===d})).filter((function(e,t){return-1===h.indexOf(t)})).concat(r([[d,null]])).map((function(e,t){return t===s?b:null})),v=a.merge(w).filter((function(e){return!!e}));return g&&u!==p&&(v=l(v,u,p,a)),n.merge({blockMap:v,selectionBefore:o,selectionAfter:o.merge({anchorKey:s,anchorOffset:f,focusKey:s,focusOffset:f,isBackward:!1})})},bv}function VB(){if(Bv)return vv;Bv=1;var e=bB(),t=IB(),n=pB(),r=vB(),o=HB(),A=n.List,i=n.Map,a=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}};return vv=function(n,l){l.isCollapsed()||("production"!==process.env.NODE_ENV?r(!1,"Selection range must be collapsed."):r(!1));var c=l.getAnchorKey(),s=n.getBlockMap(),f=s.get(c),d=f.getText();if(!d){var C=f.getType();if("unordered-list-item"===C||"ordered-list-item"===C)return o(n,l,(function(e){return e.merge({type:"unstyled",depth:0})}))}var u=l.getAnchorOffset(),p=f.getCharacterList(),g=t(),h=f instanceof e,m=f.merge({text:d.slice(0,u),characterList:p.slice(0,u)}),E=m.merge({key:g,text:d.slice(u),characterList:p.slice(u),data:i()}),b=s.toSeq().takeUntil((function(e){return e===f})),w=s.toSeq().skipUntil((function(e){return e===f})).rest(),v=b.concat([[c,m],[g,E]],w).toOrderedMap();return h&&(f.getChildKeys().isEmpty()||("production"!==process.env.NODE_ENV?r(!1,"ContentBlockNode must not have children"):r(!1)),v=function(e,t,n){return e.withMutations((function(e){var r=t.getKey(),o=n.getKey();a(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(r)+1,i=t.toArray();return i.splice(n,0,o),e.merge({children:A(i)})})),a(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:o})})),a(r,e,(function(e){return e.merge({nextSibling:o})})),a(o,e,(function(e){return e.merge({prevSibling:r})}))}))}(v,m,E)),n.merge({blockMap:v,selectionBefore:l,selectionAfter:l.merge({anchorKey:g,anchorOffset:0,focusKey:g,focusOffset:0,isBackward:!1})})},vv}function ZB(){if(Mv)return Iv;Mv=1;var e=hB(),t=function(){if(Rw)return Tw;Rw=1;var e=hB(),t=pB().Map;function n(n,r,o,A){var i=n.getBlockMap(),a=r.getStartKey(),l=r.getStartOffset(),c=r.getEndKey(),s=r.getEndOffset(),f=i.skipUntil((function(e,t){return t===a})).takeUntil((function(e,t){return t===c})).concat(t([[c,i.get(c)]])).map((function(t,n){var r,i;a===c?(r=l,i=s):(r=n===a?l:0,i=n===c?s:t.getLength());for(var f,d=t.getCharacterList();r<i;)f=d.get(r),d=d.set(r,A?e.applyStyle(f,o):e.removeStyle(f,o)),r++;return t.set("characterList",d)}));return n.merge({blockMap:i.merge(f),selectionBefore:r,selectionAfter:r})}return Tw={add:function(e,t,r){return n(e,t,r,!0)},remove:function(e,t,r){return n(e,t,r,!1)}}}(),n=wB(),r=BB(),o=LB(),A=pB(),i=xB(),a=function(){if(pv)return uv;pv=1;var e=pB(),t=QB(),n=vB(),r=e.Repeat;return uv=function(e,o,A,i){o.isCollapsed()||("production"!==process.env.NODE_ENV?n(!1,"`insertText` should only be called with a collapsed range."):n(!1));var a=null;if(null!=A&&(a=A.length),null==a||0===a)return e;var l=e.getBlockMap(),c=o.getStartKey(),s=o.getStartOffset(),f=l.get(c),d=f.getText(),C=f.merge({text:d.slice(0,s)+A+d.slice(s,f.getLength()),characterList:t(f.getCharacterList(),r(i,a).toList(),s)}),u=s+a;return e.merge({blockMap:l.set(c,C),selectionAfter:o.merge({anchorOffset:u,focusOffset:u})})},uv}(),l=vB(),c=HB(),s=yB(),f=kB(),d=VB(),C=A.OrderedSet,u={replaceText:function(t,n,r,o,A){var i=s(t,n),l=f(i,n),c=e.create({style:o||C(),entity:A||null});return a(l,l.getSelectionAfter(),r,c)},insertText:function(e,t,n,r,o){return t.isCollapsed()||("production"!==process.env.NODE_ENV?l(!1,"Target range must be collapsed for `insertText`."):l(!1)),u.replaceText(e,t,n,r,o)},moveText:function(e,t,n){var r=o(e,t),A=u.removeRange(e,t,"backward");return u.replaceWithFragment(A,n,r)},replaceWithFragment:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",o=s(e,t),A=f(o,t);return i(A,A.getSelectionAfter(),n,r)},removeRange:function(e,t,n){var o,A,i,a;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),o=t.getAnchorKey(),A=t.getFocusKey(),i=e.getBlockForKey(o),a=e.getBlockForKey(A);var l=t.getStartOffset(),c=t.getEndOffset(),d=i.getEntityAt(l),C=a.getEntityAt(c-1);if(o===A&&d&&d===C){var u=r(e.getEntityMap(),i,a,t,n);return f(e,u)}var p=s(e,t);return f(p,t)},splitBlock:function(e,t){var n=s(e,t),r=f(n,t);return d(r,r.getSelectionAfter())},applyInlineStyle:function(e,n,r){return t.add(e,n,r)},removeInlineStyle:function(e,n,r){return t.remove(e,n,r)},setBlockType:function(e,t,n){return c(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return c(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return c(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,r){var o=s(e,t);return n(o,t,r)}};return Iv=u}function NB(){if(Lv)return yv;return Lv=1,yv=function(e){return Object.keys(e).map((function(t){return e[t]}))},yv}function zB(){if(xv)return Qv;function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}xv=1;var t=mB(),n=NB(),r=pB(),o=r.List,A=r.Repeat,i=r.Record,a=function(){return!0},l=i({start:null,end:null}),c=i({start:null,end:null,decoratorKey:null,leaves:null}),s={generate:function(e,n,r){var i=n.getLength();if(!i)return o.of(new c({start:0,end:0,decoratorKey:null,leaves:o.of(new l({start:0,end:0}))}));var s=[],C=r?r.getDecorations(n,e):o(A(null,i)),u=n.getCharacterList();return t(C,d,a,(function(e,t){s.push(new c({start:e,end:t,decoratorKey:C.get(e),leaves:f(u.slice(e,t).toList(),e)}))})),o(s)},fromJS:function(t){var r=t.leaves,A=function(e,t){if(null==e)return{};var n,r,o={},A=Object.keys(e);for(r=0;r<A.length;r++)n=A[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["leaves"]);return new c(function(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(n){e(t,n,r[n])}))}return t}({},A,{leaves:null!=r?o(Array.isArray(r)?r:n(r)).map((function(e){return l(e)})):null}))}};function f(e,n){var r=[],A=e.map((function(e){return e.getStyle()})).toList();return t(A,d,a,(function(e,t){r.push(new l({start:e+n,end:t+n}))})),o(r)}function d(e,t){return e===t}return Qv=s}function PB(){if(Dv)return Hv;Dv=1;var e=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.getType=function(){return this.get("type")},o.getMutability=function(){return this.get("mutability")},o.getData=function(){return this.get("data")},r}((0,pB().Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object}));return Hv=e}function OB(){if(Nv)return Zv;function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Nv=1;var t=PB(),n=pB(),r=vB(),o=Vv?kv:(Vv=1,kv=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}),A=(0,n.Map)(),i=o();function a(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var l={getLastCreatedEntityKey:function(){return a("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),l.__getLastCreatedEntityKey()},create:function(e,t,n){return a("DraftEntity.create","contentState.createEntity"),l.__create(e,t,n)},add:function(e){return a("DraftEntity.add","contentState.addEntity"),l.__add(e)},get:function(e){return a("DraftEntity.get","contentState.getEntity"),l.__get(e)},__getAll:function(){return A},__loadWithEntities:function(e){A=e,i=o()},mergeData:function(e,t){return a("DraftEntity.mergeData","contentState.mergeEntityData"),l.__mergeData(e,t)},replaceData:function(e,t){return a("DraftEntity.replaceData","contentState.replaceEntityData"),l.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return i},__create:function(e,n,r){return l.__add(new t({type:e,mutability:n,data:r||{}}))},__add:function(e){return i=o(),A=A.set(i,e),i},__get:function(e){var t=A.get(e);return t||("production"!==process.env.NODE_ENV?r(!1,"Unknown DraftEntity key: %s.",e):r(!1)),t},__mergeData:function(t,n){var r=l.__get(t),o=function(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(n){e(t,n,r[n])}))}return t}({},r.getData(),n),i=r.set("data",o);return A=A.set(t,i),i},__replaceData:function(e,t){var n=l.__get(e).set("data",t);return A=A.set(e,n),n}};return Zv=l}function SB(){if(Pv)return zv;Pv=1;var e=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},o.getAnchorKey=function(){return this.get("anchorKey")},o.getAnchorOffset=function(){return this.get("anchorOffset")},o.getFocusKey=function(){return this.get("focusKey")},o.getFocusOffset=function(){return this.get("focusOffset")},o.getIsBackward=function(){return this.get("isBackward")},o.getHasFocus=function(){return this.get("hasFocus")},o.hasEdgeWithin=function(e,t,n){var r=this.getAnchorKey(),o=this.getFocusKey();if(r===o&&r===e){var A=this.getStartOffset(),i=this.getEndOffset();return t<=A&&A<=n||t<=i&&i<=n}if(e!==r&&e!==o)return!1;var a=e===r?this.getAnchorOffset():this.getFocusOffset();return t<=a&&n>=a},o.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},o.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},o.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},o.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},o.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},r.createEmpty=function(e){return new r({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},r}((0,pB().Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1}));return zv=e}function jB(){return Sv?Ov:(Sv=1,Ov=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]})}function FB(){if(Fv)return jv;Fv=1;var e=new RegExp("\r","g");return jv=function(t){return t.replace(e,"")}}function TB(){if(Rv)return Tv;function e(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(n){t(e,n,r[n])}))}return e}function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Rv=1;var n=gB(),r=hB(),o=EB(),A=bB(),i=OB(),a=SB(),l=IB(),c=NB(),s=jB(),f=pB(),d=FB(),C=f.List,u=f.Record,p=f.Repeat,g=f.Map,h=f.OrderedMap,m=u({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),E=s("draft_tree_data_support")?A:o,b=function(t){var o,A;function s(){return t.apply(this,arguments)||this}A=t,(o=s).prototype=Object.create(A.prototype),o.prototype.constructor=o,o.__proto__=A;var f=s.prototype;return f.getEntityMap=function(){return i},f.getBlockMap=function(){return this.get("blockMap")},f.getSelectionBefore=function(){return this.get("selectionBefore")},f.getSelectionAfter=function(){return this.get("selectionAfter")},f.getBlockForKey=function(e){return this.getBlockMap().get(e)},f.getKeyBefore=function(e){return this.getBlockMap().reverse().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},f.getKeyAfter=function(e){return this.getBlockMap().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},f.getBlockAfter=function(e){return this.getBlockMap().skipUntil((function(t,n){return n===e})).skip(1).first()},f.getBlockBefore=function(e){return this.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).first()},f.getBlocksAsArray=function(){return this.getBlockMap().toArray()},f.getFirstBlock=function(){return this.getBlockMap().first()},f.getLastBlock=function(){return this.getBlockMap().last()},f.getPlainText=function(e){return this.getBlockMap().map((function(e){return e?e.getText():""})).join(e||"\n")},f.getLastCreatedEntityKey=function(){return i.__getLastCreatedEntityKey()},f.hasText=function(){var e=this.getBlockMap();return e.size>1||escape(e.first().getText()).replace(/%u200B/g,"").length>0},f.createEntity=function(e,t,n){return i.__create(e,t,n),this},f.mergeEntityData=function(e,t){return i.__mergeData(e,t),this},f.replaceEntityData=function(e,t){return i.__replaceData(e,t),this},f.addEntity=function(e){return i.__add(e),this},f.getEntity=function(e){return i.__get(e)},f.getAllEntities=function(){return i.__getAll()},f.loadWithEntities=function(e){return i.__loadWithEntities(e)},s.createFromBlockArray=function(e,t){var r=Array.isArray(e)?e:e.contentBlocks,o=n.createFromArray(r),A=o.isEmpty()?new a:a.createEmpty(o.first().getKey());return new s({blockMap:o,entityMap:t||i,selectionBefore:A,selectionAfter:A})},s.createFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=e.split(t).map((function(e){return e=d(e),new E({key:l(),text:e,type:"unstyled",characterList:C(p(r.EMPTY,e.length))})}));return s.createFromBlockArray(n)},s.fromJS=function(t){return new s(e({},t,{blockMap:h(t.blockMap).map(s.createContentBlockFromJS),selectionBefore:new a(t.selectionBefore),selectionAfter:new a(t.selectionAfter)}))},s.createContentBlockFromJS=function(t){var n=t.characterList;return new E(e({},t,{data:g(t.data),characterList:null!=n?C((Array.isArray(n)?n:c(n)).map((function(e){return r.fromJS(e)}))):void 0}))},s}(m);return Tv=b}function RB(){if(Xv)return Gv;Xv=1;var e=vB(),t="LTR",n=null;function r(e){return e===t||"RTL"===e}function o(n){return r(n)||("production"!==process.env.NODE_ENV?e(!1,"`dir` must be a strong direction to be converted to HTML Direction"):e(!1)),n===t?"ltr":"rtl"}function A(e){n=e}return Gv={NEUTRAL:"NEUTRAL",LTR:t,RTL:"RTL",isStrong:r,getHTMLDir:o,getHTMLDirIfDifferent:function(t,n){return r(t)||("production"!==process.env.NODE_ENV?e(!1,"`dir` must be a strong direction to be converted to HTML Direction"):e(!1)),r(n)||("production"!==process.env.NODE_ENV?e(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):e(!1)),t===n?null:o(t)},setGlobalDir:A,initGlobalDir:function(){A(t)},getGlobalDir:function(){return n||this.initGlobalDir(),n||("production"!==process.env.NODE_ENV?e(!1,"Global direction not set."):e(!1)),n}}}function GB(){if(Uv)return Yv;Uv=1;var e=RB(),t=vB(),n="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",r="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",o=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+n+r+"]"),A=new RegExp("["+n+r+"]");function i(e){var t=o.exec(e);return null==t?null:t[0]}function a(t){var n=i(t);return null==n?e.NEUTRAL:A.exec(n)?e.RTL:e.LTR}function l(t,n){if(n=n||e.NEUTRAL,!t.length)return n;var r=a(t);return r===e.NEUTRAL?n:r}function c(n,r){return r||(r=e.getGlobalDir()),e.isStrong(r)||("production"!==process.env.NODE_ENV?t(!1,"Fallback direction must be a strong direction"):t(!1)),l(n,r)}return Yv={firstStrongChar:i,firstStrongCharDir:a,resolveBlockDir:l,getDirection:c,isDirectionLTR:function(t,n){return c(t,n)===e.LTR},isDirectionRTL:function(t,n){return c(t,n)===e.RTL}}}function XB(){if(Jv)return qv;Jv=1;return qv=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")}}function YB(){if($v)return _v;$v=1;var e,t=function(){if(Wv)return Kv;function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Wv=1;var t=GB(),n=RB(),r=vB();return Kv=function(){function o(t){e(this,"_defaultDir",void 0),e(this,"_lastDir",void 0),t?n.isStrong(t)||("production"!==process.env.NODE_ENV?r(!1,"Default direction must be a strong direction (LTR or RTL)"):r(!1)):t=n.getGlobalDir(),this._defaultDir=t,this.reset()}var A=o.prototype;return A.reset=function(){this._lastDir=this._defaultDir},A.getDirection=function(e){return this._lastDir=t.getDirection(e,this._lastDir),this._lastDir},o}()}(),n=pB(),r=XB(),o=n.OrderedMap;return _v={getDirectionMap:function(A,i){e?e.reset():e=new t;var a=A.getBlockMap(),l=a.valueSeq().map((function(t){return r(e).getDirection(t.getText())})),c=o(a.keySeq().zip(l));return null!=i&&n.is(i,c)?i:c}}}function UB(){if(tB)return eB;function e(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(n){t(e,n,r[n])}))}return e}function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}tB=1;var n=zB(),r=TB(),o=YB(),A=SB(),i=pB(),a=i.OrderedSet,l=i.Record,c=i.Stack,s=i.OrderedMap,f=i.List,d=l({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:c(),selection:null,treeMap:null,undoStack:c()}),C=function(){l.createEmpty=function(e){return this.createWithText("",e)},l.createWithText=function(e,t){return l.createWithContent(r.createFromText(e),t)},l.createWithContent=function(e,t){if(0===e.getBlockMap().count())return l.createEmpty(t);var n=e.getBlockMap().first().getKey();return l.create({currentContent:e,undoStack:c(),redoStack:c(),decorator:t||null,selection:A.createEmpty(n)})},l.create=function(t){var n=t.currentContent,r=e({},t,{treeMap:p(n,t.decorator),directionMap:o.getDirectionMap(n)});return new l(new d(r))},l.fromJS=function(t){return new l(new d(e({},t,{directionMap:null!=t.directionMap?s(t.directionMap):t.directionMap,inlineStyleOverride:null!=t.inlineStyleOverride?a(t.inlineStyleOverride):t.inlineStyleOverride,nativelyRenderedContent:null!=t.nativelyRenderedContent?r.fromJS(t.nativelyRenderedContent):t.nativelyRenderedContent,redoStack:null!=t.redoStack?c(t.redoStack.map((function(e){return r.fromJS(e)}))):t.redoStack,selection:null!=t.selection?new A(t.selection):t.selection,treeMap:null!=t.treeMap?s(t.treeMap).map((function(e){return f(e).map((function(e){return n.fromJS(e)}))})):t.treeMap,undoStack:null!=t.undoStack?c(t.undoStack.map((function(e){return r.fromJS(e)}))):t.undoStack,currentContent:r.fromJS(t.currentContent)})))},l.set=function(e,t){var r=e.getImmutable().withMutations((function(r){var o=r.get("decorator"),A=o;null===t.decorator?A=null:t.decorator&&(A=t.decorator);var i=t.currentContent||e.getCurrentContent();if(A!==o){var a,l=r.get("treeMap");return a=A&&o?function(e,t,r,o,A){return r.merge(t.toSeq().filter((function(t){return o.getDecorations(t,e)!==A.getDecorations(t,e)})).map((function(t){return n.generate(e,t,o)})))}(i,i.getBlockMap(),l,A,o):p(i,A),void r.merge({decorator:A,treeMap:a,nativelyRenderedContent:null})}i!==e.getCurrentContent()&&r.set("treeMap",function(e,t,r,o){var A=e.getCurrentContent().set("entityMap",r),i=A.getBlockMap(),a=e.getImmutable().get("treeMap");return a.merge(t.toSeq().filter((function(e,t){return e!==i.get(t)})).map((function(e){return n.generate(A,e,o)})))}(e,i.getBlockMap(),i.getEntityMap(),A)),r.merge(t)}));return new l(r)};var i=l.prototype;function l(e){t(this,"_immutable",void 0),this._immutable=e}return i.toJS=function(){return this.getImmutable().toJS()},i.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},i.getCurrentContent=function(){return this.getImmutable().get("currentContent")},i.getUndoStack=function(){return this.getImmutable().get("undoStack")},i.getRedoStack=function(){return this.getImmutable().get("redoStack")},i.getSelection=function(){return this.getImmutable().get("selection")},i.getDecorator=function(){return this.getImmutable().get("decorator")},i.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},i.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},i.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},i.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},i.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},l.setInlineStyleOverride=function(e,t){return l.set(e,{inlineStyleOverride:t})},i.getCurrentInlineStyle=function(){var e=this.getInlineStyleOverride();if(null!=e)return e;var t=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),o=e.getBlockForKey(n);if(r>0)return o.getInlineStyleAt(r-1);if(o.getLength())return o.getInlineStyleAt(0);return g(e,n)}(t,n):function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),o=e.getBlockForKey(n);if(r<o.getLength())return o.getInlineStyleAt(r);if(r>0)return o.getInlineStyleAt(r-1);return g(e,n)}(t,n)},i.getBlockTree=function(e){return this.getImmutable().getIn(["treeMap",e])},i.isSelectionAtStartOfContent=function(){var e=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(e,0,0)},i.isSelectionAtEndOfContent=function(){var e=this.getCurrentContent().getBlockMap().last(),t=e.getLength();return this.getSelection().hasEdgeWithin(e.getKey(),t,t)},i.getDirectionMap=function(){return this.getImmutable().get("directionMap")},l.acceptSelection=function(e,t){return u(e,t,!1)},l.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),u(e,t,!0)},l.moveSelectionToEnd=function(e){var t=e.getCurrentContent().getLastBlock(),n=t.getKey(),r=t.getLength();return l.acceptSelection(e,new A({anchorKey:n,anchorOffset:r,focusKey:n,focusOffset:r,isBackward:!1}))},l.moveFocusToEnd=function(e){var t=l.moveSelectionToEnd(e);return l.forceSelection(t,t.getSelection())},l.push=function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.getCurrentContent()===t)return e;var A=o.getDirectionMap(t,e.getDirectionMap());if(!e.getAllowUndo())return l.set(e,{currentContent:t,directionMap:A,lastChangeType:n,selection:t.getSelectionAfter(),forceSelection:r,inlineStyleOverride:null});var i=e.getSelection(),a=e.getCurrentContent(),s=e.getUndoStack(),f=t;i!==a.getSelectionAfter()||function(e,t){var n=e.getLastChangeType();return t!==n||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}(e,n)?(s=s.push(a),f=f.set("selectionBefore",i)):"insert-characters"!==n&&"backspace-character"!==n&&"delete-character"!==n||(f=f.set("selectionBefore",a.getSelectionBefore()));var d=e.getInlineStyleOverride();-1===["adjust-depth","change-block-type","split-block"].indexOf(n)&&(d=null);var C={currentContent:f,directionMap:A,undoStack:s,redoStack:c(),lastChangeType:n,selection:t.getSelectionAfter(),forceSelection:r,inlineStyleOverride:d};return l.set(e,C)},l.undo=function(e){if(!e.getAllowUndo())return e;var t=e.getUndoStack(),n=t.peek();if(!n)return e;var r=e.getCurrentContent(),A=o.getDirectionMap(n,e.getDirectionMap());return l.set(e,{currentContent:n,directionMap:A,undoStack:t.shift(),redoStack:e.getRedoStack().push(r),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:r.getSelectionBefore()})},l.redo=function(e){if(!e.getAllowUndo())return e;var t=e.getRedoStack(),n=t.peek();if(!n)return e;var r=e.getCurrentContent(),A=o.getDirectionMap(n,e.getDirectionMap());return l.set(e,{currentContent:n,directionMap:A,undoStack:e.getUndoStack().push(r),redoStack:t.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:n.getSelectionAfter()})},i.getImmutable=function(){return this._immutable},l}();function u(e,t,n){return C.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function p(e,t){return e.getBlockMap().map((function(r){return n.generate(e,r,t)})).toOrderedMap()}function g(e,t){var n=e.getBlockMap().reverse().skipUntil((function(e,n){return n===t})).skip(1).skipUntil((function(e,t){return e.getLength()})).first();return n?n.getInlineStyleAt(n.getLength()-1):a()}return eB=C}function KB(){if(AB)return oB;function e(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(n){t(e,n,r[n])}))}return e}function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}AB=1;var n=gB(),r=hB(),o=EB(),A=bB(),i=ZB(),a=UB(),l=IB(),c=jB(),s=pB(),f=function(){if(rB)return nB;rB=1;var e=bB(),t=DB(),n=pB(),r=vB(),o=n.OrderedMap,A=n.List,i=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},a=function(e,t,n,r,o){if(!o)return e;var a="after"===r,l=t.getKey(),c=n.getKey(),s=t.getParentKey(),f=t.getNextSiblingKey(),d=t.getPrevSiblingKey(),C=n.getParentKey(),u=a?n.getNextSiblingKey():c,p=a?c:n.getPrevSiblingKey();return e.withMutations((function(e){i(s,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(l))})})),i(d,e,(function(e){return e.merge({nextSibling:f})})),i(f,e,(function(e){return e.merge({prevSibling:d})})),i(u,e,(function(e){return e.merge({prevSibling:l})})),i(p,e,(function(e){return e.merge({nextSibling:l})})),i(C,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(c),r=a?n+1:0!==n?n-1:0,o=t.toArray();return o.splice(r,0,l),e.merge({children:A(o)})})),i(l,e,(function(e){return e.merge({nextSibling:u,prevSibling:p,parent:C})}))}))};return nB=function(n,A,i,l){"replace"===l&&("production"!==process.env.NODE_ENV?r(!1,"Replacing blocks is not supported."):r(!1));var c=i.getKey(),s=A.getKey();s===c&&("production"!==process.env.NODE_ENV?r(!1,"Block cannot be moved next to itself."):r(!1));var f=n.getBlockMap(),d=A instanceof e,C=[A],u=f.delete(s);d&&(C=[],u=f.withMutations((function(e){var n=A.getNextSiblingKey(),r=t(A,e);e.toSeq().skipUntil((function(e){return e.getKey()===s})).takeWhile((function(e){var t=e.getKey(),o=t===s,A=n&&t!==n,i=!n&&e.getParentKey()&&(!r||t!==r);return!!(o||A||i)})).forEach((function(t){C.push(t),e.delete(t.getKey())}))})));var p=u.toSeq().takeUntil((function(e){return e===i})),g=u.toSeq().skipUntil((function(e){return e===i})).skip(1),h=C.map((function(e){return[e.getKey(),e]})),m=o();if("before"===l){var E=n.getBlockBefore(c);E&&E.getKey()===A.getKey()&&("production"!==process.env.NODE_ENV?r(!1,"Block cannot be moved next to itself."):r(!1)),m=p.concat([].concat(h,[[c,i]]),g).toOrderedMap()}else if("after"===l){var b=n.getBlockAfter(c);b&&b.getKey()===s&&("production"!==process.env.NODE_ENV?r(!1,"Block cannot be moved next to itself."):r(!1)),m=p.concat([[c,i]].concat(h),g).toOrderedMap()}return n.merge({blockMap:a(m,A,i,l,d),selectionBefore:n.getSelectionAfter(),selectionAfter:n.getSelectionAfter().merge({anchorKey:s,focusKey:s})})},nB}(),d=c("draft_tree_data_support"),C=d?A:o,u=s.List,p=s.Repeat;return oB={insertAtomicBlock:function(t,o,A){var c=t.getCurrentContent(),s=t.getSelection(),f=i.removeRange(c,s,"backward"),g=f.getSelectionAfter(),h=i.splitBlock(f,g),m=h.getSelectionAfter(),E=i.setBlockType(h,m,"atomic"),b=r.create({entity:o}),w={key:l(),type:"atomic",text:A,characterList:u(p(b,A.length))},v={key:l(),type:"unstyled"};d&&(w=e({},w,{nextSibling:v.key}),v=e({},v,{prevSibling:w.key}));var B=[new C(w),new C(v)],I=n.createFromArray(B),M=i.replaceWithFragment(E,m,I),y=M.merge({selectionBefore:s,selectionAfter:M.getSelectionAfter().set("hasFocus",!0)});return a.push(t,y,"insert-fragment")},moveAtomicBlock:function(e,t,n,r){var o,A=e.getCurrentContent(),l=e.getSelection();if("before"===r||"after"===r){var c=A.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());o=f(A,t,c,r)}else{var s=i.removeRange(A,n,"backward"),d=s.getSelectionAfter(),C=s.getBlockForKey(d.getFocusKey());if(0===d.getStartOffset())o=f(s,t,C,"before");else if(d.getEndOffset()===C.getLength())o=f(s,t,C,"after");else{var u=i.splitBlock(s,d),p=u.getSelectionAfter(),g=u.getBlockForKey(p.getFocusKey());o=f(u,t,g,"before")}}var h=o.merge({selectionBefore:l,selectionAfter:o.getSelectionAfter().set("hasFocus",!0)});return a.push(e,h,"move-block")}}}function WB(){if(aB)return iB;aB=1;var e=pB().List,t=function(){function t(e){!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"_decorators",void 0),this._decorators=e.slice()}var n=t.prototype;return n.getDecorations=function(t,n){var r=Array(t.getText().length).fill(null);return this._decorators.forEach((function(e,o){var A=0;(0,e.strategy)(t,(function(e,t){(function(e,t,n){for(var r=t;r<n;r++)if(null!=e[r])return!1;return!0})(r,e,t)&&(!function(e,t,n,r){for(var o=t;o<n;o++)e[o]=r}(r,e,t,o+"."+A),A++)}),n)})),e(r)},n.getComponentForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].component},n.getPropsForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].props},t}();return iB=t}function qB(){if(cB)return lB;function e(e){return e.replace(/\//g,"-")}return cB=1,lB=function(t){return"object"==typeof t?Object.keys(t).filter((function(e){return t[e]})).map(e).join(" "):Array.prototype.map.call(arguments,e).join(" ")},lB}function JB(){if(fB)return sB;fB=1;var e=o,t=qB(),n=(0,pB().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"},section:{element:"section"},article:{element:"article"},"unordered-list-item":{element:"li",wrapper:e.createElement("ul",{className:t("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:e.createElement("ol",{className:t("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:e.createElement("pre",{className:t("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}});return sB=n}function _B(){return CB?dB:(CB=1,dB={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}})}var $B,eI,tI,nI,rI,oI,AI,iI,aI,lI,cI,sI,fI,dI,CI,uI,pI,gI,hI,mI,EI,bI,wI,vI,BI,II,MI,yI,LI,QI,xI,HI,DI,kI,VI,ZI,NI,zI,PI,OI,SI,jI,FI,TI,RI,GI,XI,YI,UI,KI,WI,qI,JI,_I,$I,eM,tM,nM,rM,oM,AM,iM,aM,lM,cM,sM,fM,dM,CM,uM,pM,gM,hM,mM,EM,bM,wM,vM,BM,IM,MM,yM,LM,QM,xM,HM,DM,kM,VM,ZM,NM,zM,PM,OM,SM,jM,FM,TM,RM,GM,XM,YM,UM,KM,WM,qM,JM,_M,$M,ey,ty,ny,ry,oy,Ay,iy,ay,ly,cy,sy={exports:{}},fy=sy.exports;function dy(){return $B||($B=1,function(e,t){!function(n,r){var o="function",A="undefined",i="object",a="string",l="major",c="model",s="name",f="type",d="vendor",C="version",u="architecture",p="console",g="mobile",h="tablet",m="smarttv",E="wearable",b="embedded",w="Amazon",v="Apple",B="ASUS",I="BlackBerry",M="Browser",y="Chrome",L="Firefox",Q="Google",x="Huawei",H="LG",D="Microsoft",k="Motorola",V="Opera",Z="Samsung",N="Sharp",z="Sony",P="Xiaomi",O="Zebra",S="Facebook",j="Chromium OS",F="Mac OS",T=" Browser",R=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},G=function(e,t){return typeof e===a&&-1!==X(t).indexOf(X(e))},X=function(e){return e.toLowerCase()},Y=function(e,t){if(typeof e===a)return e=e.replace(/^\s\s*/,""),typeof t===A?e:e.substring(0,500)},U=function(e,t){for(var n,A,a,l,c,s,f=0;f<t.length&&!c;){var d=t[f],C=t[f+1];for(n=A=0;n<d.length&&!c&&d[n];)if(c=d[n++].exec(e))for(a=0;a<C.length;a++)s=c[++A],typeof(l=C[a])===i&&l.length>0?2===l.length?typeof l[1]==o?this[l[0]]=l[1].call(this,s):this[l[0]]=l[1]:3===l.length?typeof l[1]!==o||l[1].exec&&l[1].test?this[l[0]]=s?s.replace(l[1],l[2]):r:this[l[0]]=s?l[1].call(this,s,l[2]):r:4===l.length&&(this[l[0]]=s?l[3].call(this,s.replace(l[1],l[2])):r):this[l]=s||r;f+=2}},K=function(e,t){for(var n in t)if(typeof t[n]===i&&t[n].length>0){for(var o=0;o<t[n].length;o++)if(G(t[n][o],e))return"?"===n?r:n}else if(G(t[n],e))return"?"===n?r:n;return t.hasOwnProperty("*")?t["*"]:e},W={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},q={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[C,[s,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[C,[s,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[s,C],[/opios[\/ ]+([\w\.]+)/i],[C,[s,V+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[C,[s,V+" GX"]],[/\bopr\/([\w\.]+)/i],[C,[s,V]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[C,[s,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[C,[s,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[s,C],[/quark(?:pc)?\/([-\w\.]+)/i],[C,[s,"Quark"]],[/\bddg\/([\w\.]+)/i],[C,[s,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[C,[s,"UC"+M]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[C,[s,"WeChat"]],[/konqueror\/([\w\.]+)/i],[C,[s,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[C,[s,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[C,[s,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[C,[s,"Smart Lenovo "+M]],[/(avast|avg)\/([\w\.]+)/i],[[s,/(.+)/,"$1 Secure "+M],C],[/\bfocus\/([\w\.]+)/i],[C,[s,L+" Focus"]],[/\bopt\/([\w\.]+)/i],[C,[s,V+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[C,[s,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[C,[s,"Dolphin"]],[/coast\/([\w\.]+)/i],[C,[s,V+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[C,[s,"MIUI"+T]],[/fxios\/([\w\.-]+)/i],[C,[s,L]],[/\bqihoobrowser\/?([\w\.]*)/i],[C,[s,"360"]],[/\b(qq)\/([\w\.]+)/i],[[s,/(.+)/,"$1Browser"],C],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[s,/(.+)/,"$1"+T],C],[/samsungbrowser\/([\w\.]+)/i],[C,[s,Z+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[C,[s,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[s,"Sogou Mobile"],C],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[s,C],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[s],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[C,s],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[s,S],C],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[s,C],[/\bgsa\/([\w\.]+) .*safari\//i],[C,[s,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[C,[s,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[C,[s,y+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[s,y+" WebView"],C],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[C,[s,"Android "+M]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[s,C],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[C,[s,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[C,s],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[s,[C,K,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[s,C],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[s,"Netscape"],C],[/(wolvic|librewolf)\/([\w\.]+)/i],[s,C],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[C,[s,L+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[s,[C,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[s,[C,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[u,"amd64"]],[/(ia32(?=;))/i],[[u,X]],[/((?:i[346]|x)86)[;\)]/i],[[u,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[u,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[u,"armhf"]],[/windows (ce|mobile); ppc;/i],[[u,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[u,/ower/,"",X]],[/(sun4\w)[;\)]/i],[[u,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[u,X]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[c,[d,Z],[f,h]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[c,[d,Z],[f,g]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[c,[d,v],[f,g]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[c,[d,v],[f,h]],[/(macintosh);/i],[c,[d,v]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[c,[d,N],[f,g]],[/(?:honor)([-\w ]+)[;\)]/i],[c,[d,"Honor"],[f,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[c,[d,x],[f,h]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[c,[d,x],[f,g]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[c,/_/g," "],[d,P],[f,g]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[c,/_/g," "],[d,P],[f,h]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[c,[d,"OPPO"],[f,g]],[/\b(opd2\d{3}a?) bui/i],[c,[d,"OPPO"],[f,h]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[c,[d,"Vivo"],[f,g]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[c,[d,"Realme"],[f,g]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[c,[d,k],[f,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[c,[d,k],[f,h]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[c,[d,H],[f,h]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[c,[d,H],[f,g]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[c,[d,"Lenovo"],[f,h]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[c,/_/g," "],[d,"Nokia"],[f,g]],[/(pixel c)\b/i],[c,[d,Q],[f,h]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[c,[d,Q],[f,g]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[c,[d,z],[f,g]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[c,"Xperia Tablet"],[d,z],[f,h]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[c,[d,"OnePlus"],[f,g]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[c,[d,w],[f,h]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[c,/(.+)/g,"Fire Phone $1"],[d,w],[f,g]],[/(playbook);[-\w\),; ]+(rim)/i],[c,d,[f,h]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[c,[d,I],[f,g]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[c,[d,B],[f,h]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[c,[d,B],[f,g]],[/(nexus 9)/i],[c,[d,"HTC"],[f,h]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[d,[c,/_/g," "],[f,g]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[c,[d,"TCL"],[f,h]],[/(itel) ((\w+))/i],[[d,X],c,[f,K,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[c,[d,"Acer"],[f,h]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[c,[d,"Meizu"],[f,g]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[c,[d,"Ulefone"],[f,g]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[c,[d,"Energizer"],[f,g]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[c,[d,"Cat"],[f,g]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[c,[d,"Smartfren"],[f,g]],[/droid.+; (a(?:015|06[35]|142p?))/i],[c,[d,"Nothing"],[f,g]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (imo) ((?!tab)[\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,c,[f,g]],[/(imo) (tab \w+)/i,/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,c,[f,h]],[/(surface duo)/i],[c,[d,D],[f,h]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[c,[d,"Fairphone"],[f,g]],[/(u304aa)/i],[c,[d,"AT&T"],[f,g]],[/\bsie-(\w*)/i],[c,[d,"Siemens"],[f,g]],[/\b(rct\w+) b/i],[c,[d,"RCA"],[f,h]],[/\b(venue[\d ]{2,7}) b/i],[c,[d,"Dell"],[f,h]],[/\b(q(?:mv|ta)\w+) b/i],[c,[d,"Verizon"],[f,h]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[c,[d,"Barnes & Noble"],[f,h]],[/\b(tm\d{3}\w+) b/i],[c,[d,"NuVision"],[f,h]],[/\b(k88) b/i],[c,[d,"ZTE"],[f,h]],[/\b(nx\d{3}j) b/i],[c,[d,"ZTE"],[f,g]],[/\b(gen\d{3}) b.+49h/i],[c,[d,"Swiss"],[f,g]],[/\b(zur\d{3}) b/i],[c,[d,"Swiss"],[f,h]],[/\b((zeki)?tb.*\b) b/i],[c,[d,"Zeki"],[f,h]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],c,[f,h]],[/\b(ns-?\w{0,9}) b/i],[c,[d,"Insignia"],[f,h]],[/\b((nxa|next)-?\w{0,9}) b/i],[c,[d,"NextBook"],[f,h]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],c,[f,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],c,[f,g]],[/\b(ph-1) /i],[c,[d,"Essential"],[f,g]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[c,[d,"Envizen"],[f,h]],[/\b(trio[-\w\. ]+) b/i],[c,[d,"MachSpeed"],[f,h]],[/\btu_(1491) b/i],[c,[d,"Rotor"],[f,h]],[/(shield[\w ]+) b/i],[c,[d,"Nvidia"],[f,h]],[/(sprint) (\w+)/i],[d,c,[f,g]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[d,D],[f,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[c,[d,O],[f,h]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[c,[d,O],[f,g]],[/smart-tv.+(samsung)/i],[d,[f,m]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[d,Z],[f,m]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,H],[f,m]],[/(apple) ?tv/i],[d,[c,v+" TV"],[f,m]],[/crkey/i],[[c,y+"cast"],[d,Q],[f,m]],[/droid.+aft(\w+)( bui|\))/i],[c,[d,w],[f,m]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[c,[d,N],[f,m]],[/(bravia[\w ]+)( bui|\))/i],[c,[d,z],[f,m]],[/(mitv-\w{5}) bui/i],[c,[d,P],[f,m]],[/Hbbtv.*(technisat) (.*);/i],[d,c,[f,m]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[d,Y],[c,Y],[f,m]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[f,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,c,[f,p]],[/droid.+; (shield) bui/i],[c,[d,"Nvidia"],[f,p]],[/(playstation [345portablevi]+)/i],[c,[d,z],[f,p]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[c,[d,D],[f,p]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[c,[d,Z],[f,E]],[/((pebble))app/i],[d,c,[f,E]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[c,[d,v],[f,E]],[/droid.+; (glass) \d/i],[c,[d,Q],[f,E]],[/droid.+; (wt63?0{2,3})\)/i],[c,[d,O],[f,E]],[/droid.+; (glass) \d/i],[c,[d,Q],[f,E]],[/(pico) (4|neo3(?: link|pro)?)/i],[d,c,[f,E]],[/; (quest( \d| pro)?)/i],[c,[d,S],[f,E]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[f,b]],[/(aeobc)\b/i],[c,[d,w],[f,b]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[c,[f,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[c,[f,h]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[f,h]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[f,g]],[/(android[-\w\. ]{0,9});.+buil/i],[c,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[C,[s,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[s,C],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[C,[s,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[s,C],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[C,s]],os:[[/microsoft (windows) (vista|xp)/i],[s,C],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[s,[C,K,W]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[C,K,W],[s,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[C,/_/g,"."],[s,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[s,F],[C,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[C,s],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[s,C],[/\(bb(10);/i],[C,[s,I]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[C,[s,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[C,[s,L+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[C,[s,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[C,[s,"watchOS"]],[/crkey\/([\d\.]+)/i],[C,[s,y+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[s,j],C],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[s,C],[/(sunos) ?([\w\.\d]*)/i],[[s,"Solaris"],C],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[s,C]]},J=function(e,t){if(typeof e===i&&(t=e,e=r),!(this instanceof J))return new J(e,t).getResult();var p=typeof n!==A&&n.navigator?n.navigator:r,m=e||(p&&p.userAgent?p.userAgent:""),E=p&&p.userAgentData?p.userAgentData:r,b=t?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(q,t):q,w=p&&p.userAgent==m;return this.getBrowser=function(){var e={};return e[s]=r,e[C]=r,U.call(e,m,b.browser),e[l]=function(e){return typeof e===a?e.replace(/[^\d\.]/g,"").split(".")[0]:r}(e[C]),w&&p&&p.brave&&typeof p.brave.isBrave==o&&(e[s]="Brave"),e},this.getCPU=function(){var e={};return e[u]=r,U.call(e,m,b.cpu),e},this.getDevice=function(){var e={};return e[d]=r,e[c]=r,e[f]=r,U.call(e,m,b.device),w&&!e[f]&&E&&E.mobile&&(e[f]=g),w&&"Macintosh"==e[c]&&p&&typeof p.standalone!==A&&p.maxTouchPoints&&p.maxTouchPoints>2&&(e[c]="iPad",e[f]=h),e},this.getEngine=function(){var e={};return e[s]=r,e[C]=r,U.call(e,m,b.engine),e},this.getOS=function(){var e={};return e[s]=r,e[C]=r,U.call(e,m,b.os),w&&!e[s]&&E&&E.platform&&"Unknown"!=E.platform&&(e[s]=E.platform.replace(/chrome os/i,j).replace(/macos/i,F)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return m},this.setUA=function(e){return m=typeof e===a&&e.length>500?Y(e,500):e,this},this.setUA(m),this};J.VERSION="0.7.40",J.BROWSER=R([s,C,l]),J.CPU=R([u]),J.DEVICE=R([c,d,f,p,g,m,h,E,b]),J.ENGINE=J.OS=R([s,C]),e.exports&&(t=e.exports=J),t.UAParser=J;var _=typeof n!==A&&(n.jQuery||n.Zepto);if(_&&!_.ua){var $=new J;_.ua=$.getResult(),_.ua.get=function(){return $.getUA()},_.ua.set=function(e){$.setUA(e);var t=$.getResult();for(var n in t)_.ua[n]=t[n]}}}("object"==typeof window?window:fy)}(sy,sy.exports)),sy.exports}function Cy(){if(tI)return eI;tI=1;var e=dy(),t="Unknown",n={"Mac OS":"Mac OS X"};var r,o=(new e).getResult(),A=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(o.browser.version),i={browserArchitecture:o.cpu.architecture||t,browserFullVersion:o.browser.version||t,browserMinorVersion:A.minor||t,browserName:o.browser.name||t,browserVersion:o.browser.major||t,deviceName:o.device.model||t,engineName:o.engine.name||t,engineVersion:o.engine.version||t,platformArchitecture:o.cpu.architecture||t,platformName:(r=o.os.name,n[r]||r||t),platformVersion:o.os.version||t,platformFullVersion:o.os.version||t};return eI=i}function uy(){if(rI)return nI;rI=1;var e=vB(),t=/\./,n=/\|\|/,r=/\s+\-\s+/,o=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,A=/^(\d*)(.*)/;function i(t,o){var A=t.split(n);return A.length>1?A.some((function(e){return h.contains(e,o)})):function(t,n){var o=t.split(r);if(o.length>0&&o.length<=2||("production"!==process.env.NODE_ENV?e(!1,'the "-" operator expects exactly 2 operands'):e(!1)),1===o.length)return a(o[0],n);var A=o[0],i=o[1];return d(A)&&d(i)||("production"!==process.env.NODE_ENV?e(!1,'operands to the "-" operator must be simple (no modifiers)'):e(!1)),a(">="+A,n)&&a("<="+i,n)}(t=A[0].trim(),o)}function a(e,n){if(""===(e=e.trim()))return!0;var r,o=n.split(t),A=s(e),i=A.modifier,a=A.rangeComponents;switch(i){case"<":return l(o,a);case"<=":return-1===(r=g(o,a))||0===r;case">=":return c(o,a);case">":return function(e,t){return 1===g(e,t)}(o,a);case"~":case"~>":return function(e,t){var n=t.slice(),r=t.slice();r.length>1&&r.pop();var o=r.length-1,A=parseInt(r[o],10);f(A)&&(r[o]=A+1+"");return c(e,n)&&l(e,r)}(o,a);default:return function(e,t){return 0===g(e,t)}(o,a)}}function l(e,t){return-1===g(e,t)}function c(e,t){var n=g(e,t);return 1===n||0===n}function s(n){var r=n.split(t),A=r[0].match(o);return A||("production"!==process.env.NODE_ENV?e(!1,"expected regex to match but it did not"):e(!1)),{modifier:A[1],rangeComponents:[A[2]].concat(r.slice(1))}}function f(e){return!isNaN(e)&&isFinite(e)}function d(e){return!s(e).modifier}function C(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function u(e,t){var n=e.match(A)[1],r=t.match(A)[1],o=parseInt(n,10),i=parseInt(r,10);return f(o)&&f(i)&&o!==i?p(o,i):p(e,t)}function p(t,n){return typeof t!=typeof n&&("production"!==process.env.NODE_ENV?e(!1,'"a" and "b" must be of the same type'):e(!1)),t>n?1:t<n?-1:0}function g(e,t){for(var n=function(e,t){C(e=e.slice(),(t=t.slice()).length);for(var n=0;n<t.length;n++){var r=t[n].match(/^[x*]$/i);if(r&&(t[n]=e[n]="0","*"===r[0]&&n===t.length-1))for(var o=n;o<e.length;o++)e[o]="0"}return C(t,e.length),[e,t]}(e,t),r=n[0],o=n[1],A=0;A<o.length;A++){var i=u(r[A],o[A]);if(i)return i}return 0}var h={contains:function(e,t){return i(e.trim(),t.trim())}};return nI=h}function py(){if(cI)return lI;cI=1;var e=Cy(),t=uy(),n=function(){if(AI)return oI;AI=1;var e=Object.prototype.hasOwnProperty;return oI=function(t,n,r){if(!t)return null;var o={};for(var A in t)e.call(t,A)&&(o[A]=n.call(r,t[A],A,t));return o},oI}(),r=aI?iI:(aI=1,iI=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}});function o(e,n,r,o){if(e===r)return!0;if(!r.startsWith(e))return!1;var A=r.slice(e.length);return!!n&&(A=o?o(A):A,t.contains(A,n))}function A(t){return"Windows"===e.platformName?t.replace(/^\s*NT/,""):t}return lI=n({isBrowser:function(t){return o(e.browserName,e.browserFullVersion,t)},isBrowserArchitecture:function(t){return o(e.browserArchitecture,null,t)},isDevice:function(t){return o(e.deviceName,null,t)},isEngine:function(t){return o(e.engineName,e.engineVersion,t)},isPlatform:function(t){return o(e.platformName,e.platformFullVersion,t,A)},isPlatformArchitecture:function(t){return o(e.platformArchitecture,null,t)}},r)}function gy(){if(fI)return sI;return fI=1,sI=function(e){return e&&e.ownerDocument?e.ownerDocument:document}}function hy(){if(CI)return dI;return CI=1,dI=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE}}function my(){if(pI)return uI;pI=1;var e=hy();return uI=function t(n){if(e(n)){var r=n,o=r.getAttribute("data-offset-key");if(o)return o;for(var A=0;A<r.childNodes.length;A++){var i=t(r.childNodes[A]);if(i)return i}}return null},uI}function Ey(){if(hI)return gI;hI=1;var e=gy(),t=my();return gI=function(n){for(var r=n;r&&r!==e(n).documentElement;){var o=t(r);if(null!=o)return o;r=r.parentNode}return null},gI}function by(){if(EI)return mI;return EI=1,mI=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}}function wy(){if(BI)return vI;BI=1;var e="-";return vI={encode:function(t,n,r){return t+e+n+e+r},decode:function(t){var n=t.split(e).reverse(),r=n[0],o=n[1];return{blockKey:n.slice(2).reverse().join(e),decoratorKey:parseInt(o,10),leafKey:parseInt(r,10)}}}}function vy(){return MI?II:(MI=1,II={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105})}function By(){return LI?yI:(LI=1,yI={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}})}function Iy(){if(xI)return QI;return xI=1,QI=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)}}function My(){if(DI)return HI;DI=1;var e=vB(),t=Iy();return HI=function(n){var r=n.editorContainer;return r||("production"!==process.env.NODE_ENV?e(!1,"Missing editorNode"):e(!1)),t(r.firstChild)||("production"!==process.env.NODE_ENV?e(!1,"editorNode.firstChild is not an HTMLElement"):e(!1)),r.firstChild}}function yy(){if(VI)return kI;VI=1;var e=wy(),t=XB();return kI=function(n,r,o,A,i){var a=t(n.getSelection());if(!r||!A)return"production"!==process.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,n.toJS()),a;var l=e.decode(r),c=l.blockKey,s=n.getBlockTree(c),f=s&&s.getIn([l.decoratorKey,"leaves",l.leafKey]),d=e.decode(A),C=d.blockKey,u=n.getBlockTree(C),p=u&&u.getIn([d.decoratorKey,"leaves",d.leafKey]);if(!f||!p)return"production"!==process.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,n.toJS()),a;var g=f.get("start"),h=p.get("start"),m=f?g+o:null,E=p?h+i:null;if(a.getAnchorKey()===c&&a.getAnchorOffset()===m&&a.getFocusKey()===C&&a.getFocusOffset()===E)return a;var b=!1;if(c===C){var w=f.get("end"),v=p.get("end");b=h===g&&v===w?i<o:h<g}else{var B=n.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===c||e===C})).first();b=B===C}return a.merge({anchorKey:c,anchorOffset:m,focusKey:C,focusOffset:E,isBackward:b})},kI}function Ly(){if(NI)return ZI;NI=1;var e=Ey(),t=my(),n=yy(),r=vB(),o=hy(),A=XB();function i(n,i,l){var c=i,s=e(c);(null!=s||n&&(n===c||n.firstChild===c)||("production"!==process.env.NODE_ENV?r(!1,"Unknown node in selection range."):r(!1)),n===c)&&(c=c.firstChild,o(c)||("production"!==process.env.NODE_ENV?r(!1,"Invalid DraftEditorContents node."):r(!1)),"true"!==(c=c).getAttribute("data-contents")&&("production"!==process.env.NODE_ENV?r(!1,"Invalid DraftEditorContents structure."):r(!1)),l>0&&(l=c.childNodes.length));if(0===l){var f=null;if(null!=s)f=s;else{var d=function(e){for(;e.firstChild&&(o(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||t(e.firstChild));)e=e.firstChild;return e}(c);f=A(t(d))}return{key:f,offset:0}}var C=c.childNodes[l-1],u=null,p=null;if(t(C)){var g=function(e){for(;e.lastChild&&(o(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||t(e.lastChild));)e=e.lastChild;return e}(C);u=A(t(g)),p=a(g)}else u=A(s),p=a(C);return{key:u,offset:p}}function a(e){var t=e.textContent;return"\n"===t?0:t.length}return ZI=function(t,r,o,a,l,c){var s=o.nodeType===Node.TEXT_NODE,f=l.nodeType===Node.TEXT_NODE;if(s&&f)return{selectionState:n(t,A(e(o)),a,A(e(l)),c),needsRecovery:!1};var d=null,C=null,u=!0;return s?(d={key:A(e(o)),offset:a},C=i(r,l,c)):f?(C={key:A(e(l)),offset:c},d=i(r,o,a)):(d=i(r,o,a),C=i(r,l,c),o===l&&a===c&&(u=!!o.firstChild&&"BR"!==o.firstChild.nodeName)),{selectionState:n(t,d.key,d.offset,C.key,C.offset),needsRecovery:u}}}function Qy(){if(PI)return zI;PI=1;var e=Ly();return zI=function(t,n){var r=n.ownerDocument.defaultView.getSelection(),o=r.anchorNode,A=r.anchorOffset,i=r.focusNode,a=r.focusOffset;return 0===r.rangeCount||null==o||null==i?{selectionState:t.getSelection().set("hasFocus",!1),needsRecovery:!1}:e(t,n,o,A,i,a)}}function xy(){if(SI)return OI;SI=1;var e=By(),t=UB(),n=My(),r=Qy();return OI=function(o){if(o._blockSelectEvents||o._latestEditorState!==o.props.editorState){if(o._blockSelectEvents){var A=o.props.editorState.getSelection();e.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(A.toJS())})}}else{var i=o.props.editorState,a=r(i,n(o)),l=a.selectionState;l!==i.getSelection()&&(i=a.needsRecovery?t.forceSelection(i,l):t.acceptSelection(i,l),o.update(i))}}}function Hy(){if(FI)return jI;return FI=1,jI={notEmptyKey:function(e){return null!=e&&""!=e}},jI}function Dy(){if(RI)return TI;RI=1;var e=Hy().notEmptyKey;function t(t,n){return e(n)&&"MUTABLE"===t.__get(n).getMutability()?n:null}return TI=function(e,n){var r;if(n.isCollapsed()){var o=n.getAnchorKey(),A=n.getAnchorOffset();return A>0?(r=e.getBlockForKey(o).getEntityAt(A-1))!==e.getBlockForKey(o).getEntityAt(A)?null:t(e.getEntityMap(),r):null}var i=n.getStartKey(),a=n.getStartOffset(),l=e.getBlockForKey(i);return r=a===l.getLength()?null:l.getEntityAt(a),t(e.getEntityMap(),r)},TI}function ky(){if(XI)return GI;XI=1;var e=function(){if(wI)return bI;function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wI=1;var t=py(),n=Ey(),r=by(),o=pB(),A=vB(),i=XB(),a=o.Map,l={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},c=t.isBrowser("IE <= 11"),s=function(){function t(t){var n=this;e(this,"observer",void 0),e(this,"container",void 0),e(this,"mutations",void 0),e(this,"onCharData",void 0),this.container=t,this.mutations=a();var o=r(t);o.MutationObserver&&!c?this.observer=new o.MutationObserver((function(e){return n.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==process.env.NODE_ENV?A(!1,"Expected target to be an instance of Node"):A(!1)),n.registerMutation({type:"characterData",target:e.target})}}var o=t.prototype;return o.start=function(){this.observer?this.observer.observe(this.container,l):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},o.stopAndFlushMutations=function(){var e=this.observer;e?(this.registerMutations(e.takeRecords()),e.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var t=this.mutations;return this.mutations=a(),t},o.registerMutations=function(e){for(var t=0;t<e.length;t++)this.registerMutation(e[t])},o.getMutationTextContent=function(e){var t=e.type,n=e.target,r=e.removedNodes;if("characterData"===t){if(""!==n.textContent)return c?n.textContent.replace("\n",""):n.textContent}else if("childList"===t){if(r&&r.length)return"";if(""!==n.textContent)return n.textContent}return null},o.registerMutation=function(e){var t=this.getMutationTextContent(e);if(null!=t){var r=i(n(e.target));this.mutations=this.mutations.set(r,t)}},t}();return bI=s}(),t=ZB(),n=wy(),r=UB(),o=vy(),A=py(),i=xy(),a=My(),l=Qy(),c=Dy(),s=XB(),f=A.isBrowser("IE"),d=!1,C=!1,u=null;var p={onCompositionStart:function(t){C=!0,function(t){u||(u=new e(a(t))).start()}(t)},onCompositionEnd:function(e){d=!1,C=!1,setTimeout((function(){d||p.resolveComposition(e)}),20)},onSelect:i,onKeyDown:function(e,t){if(!C)return p.resolveComposition(e),void e._onKeyDown(t);t.which!==o.RIGHT&&t.which!==o.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===o.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!C){var o=s(u).stopAndFlushMutations();u=null,d=!0;var A=r.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),o.size){var i=A.getCurrentContent();o.forEach((function(e,o){var a=n.decode(o),l=a.blockKey,s=a.decoratorKey,f=a.leafKey,d=A.getBlockTree(l).getIn([s,"leaves",f]),C=d.start,u=d.end,p=A.getSelection().merge({anchorKey:l,focusKey:l,anchorOffset:C,focusOffset:u,isBackward:!1}),g=c(i,p),h=i.getBlockForKey(l).getInlineStyleAt(C);i=t.replaceText(i,p,e,h,g),A=r.set(A,{currentContent:i})}));var p=l(A,a(e)).selectionState;e.restoreEditorDOM();var g=f?r.forceSelection(A,p):r.acceptSelection(A,p);e.update(r.push(g,i,"insert-characters"))}else e.update(A)}}};return GI=p}function Vy(){if(UI)return YI;UI=1;var e=vd();function t(){return t=e||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t.apply(this,arguments)}var n=wy(),r=o,A=GB(),i=RB(),a=function(e){var o,a;function l(){return e.apply(this,arguments)||this}return a=e,(o=l).prototype=Object.create(a.prototype),o.prototype.constructor=o,o.__proto__=a,l.prototype.render=function(){var e=this.props,o=e.block,a=e.children,l=e.contentState,c=e.decorator,s=e.decoratorKey,f=e.direction,d=e.leafSet,C=e.text,u=o.getKey(),p=d.get("leaves"),g=c.getComponentForKey(s),h=c.getPropsForKey(s),m=n.encode(u,parseInt(s,10),0),E=C.slice(p.first().get("start"),p.last().get("end")),b=i.getHTMLDirIfDifferent(A.getDirection(E),f);return r.createElement(g,t({},h,{contentState:l,decoratedText:E,dir:b,key:m,entityKey:o.getEntityAt(d.get("start")),offsetKey:m}),a)},l}(r.Component);return YI=a}function Zy(){if(WI)return KI;function e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}WI=1;var n=o,r=py(),A=vB(),i=hy(),a=r.isBrowser("IE <= 11");var l=function(r){var o,l;function c(n){var o;return t(e(o=r.call(this,n)||this),"_forceFlag",void 0),t(e(o),"_node",void 0),o._forceFlag=!1,o}l=r,(o=c).prototype=Object.create(l.prototype),o.prototype.constructor=o,o.__proto__=l;var s=c.prototype;return s.shouldComponentUpdate=function(e){var t=this._node,n=""===e.children;i(t)||("production"!==process.env.NODE_ENV?A(!1,"node is not an Element"):A(!1));var r=t;return n?!function(e){return a?"\n"===e.textContent:"BR"===e.tagName}(r):r.textContent!==e.children},s.componentDidMount=function(){this._forceFlag=!this._forceFlag},s.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},s.render=function(){var e,t=this;return""===this.props.children?this._forceFlag?(e=function(e){return t._node=e},a?n.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):n.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return a?n.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):n.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):n.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},c}(n.Component);return KI=l}function Ny(){if(JI)return qI;JI=1;var e=hy();return qI=function(t){return!(!t||!t.ownerDocument)&&(e(t)&&"BR"===t.nodeName)}}function zy(){return $I?_I:($I=1,_I={initODS:function(){},handleExtensionCausedError:function(){}})}function Py(){if(rM)return nM;rM=1;var e=tM?eM:(tM=1,eM=function(e){var t=(e?e.ownerDocument||e:document).defaultView||window;return!(!e||!("function"==typeof t.Node?e instanceof t.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))});return nM=function(t){return e(t)&&3==t.nodeType}}function Oy(){if(AM)return oM;AM=1;var e=Py();return oM=function t(n,r){return!(!n||!r)&&(n===r||!e(n)&&(e(r)?t(n,r.parentNode):"contains"in n?n.contains(r):!!n.compareDocumentPosition&&!!(16&n.compareDocumentPosition(r))))},oM}function Sy(){if(aM)return iM;return aM=1,iM=function(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}}function jy(){if(cM)return lM;cM=1;var e=zy(),t=By(),n=py(),r=Oy(),o=Sy(),A=gy(),i=vB(),a=hy(),l=n.isBrowser("IE");function c(e,t){if(!e)return"[empty]";var n=s(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(a(n)||("production"!==process.env.NODE_ENV?i(!1,"Node must be an Element if it is not a text node."):i(!1)),n.outerHTML)}function s(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var r=e.textContent.length;return A(e).createTextNode("[text "+r+(n.length?" | "+n.join(", "):"")+"]")}var o=e.cloneNode();1===o.nodeType&&n.length&&o.setAttribute("data-labels",n.join(", "));for(var i=e.childNodes,a=0;a<i.length;a++)o.appendChild(s(i[a],t));return o}function f(e,t){for(var n=e,r=n;n;){if(a(n)&&r.hasAttribute("contenteditable"))return c(n,t);r=n=n.parentNode}return"Could not find contentEditable parent of node"}function d(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function C(e,n,A,i){var a=o();if(e.extend&&null!=n&&r(a,n)){A>d(n)&&t.logSelectionStateFailure({anonymizedDom:f(n),extraParams:JSON.stringify({offset:A}),selectionState:JSON.stringify(i.toJS())});var l=n===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(n,A)}catch(r){throw t.logSelectionStateFailure({anonymizedDom:f(n,(function(t){var n=[];return t===a&&n.push("active element"),t===e.anchorNode&&n.push("selection anchor node"),t===e.focusNode&&n.push("selection focus node"),n})),extraParams:JSON.stringify({activeElementName:a?a.nodeName:null,nodeIsFocus:n===e.focusNode,nodeWasFocus:l,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:r?""+r:null,offset:A},null,2),selectionState:JSON.stringify(i.toJS(),null,2)}),r}}else if(n&&e.rangeCount>0){var c=e.getRangeAt(0);c.setEnd(n,A),e.addRange(c.cloneRange())}}function u(n,r,o,i){var a=A(r).createRange();if(o>d(r)&&(t.logSelectionStateFailure({anonymizedDom:f(r),extraParams:JSON.stringify({offset:o}),selectionState:JSON.stringify(i.toJS())}),e.handleExtensionCausedError()),a.setStart(r,o),l)try{n.addRange(a)}catch(e){"production"!==process.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else n.addRange(a)}return lM={setDraftEditorSelection:function(e,t,n,o,i){var a=A(t);if(r(a.documentElement,t)){var l=a.defaultView.getSelection(),c=e.getAnchorKey(),s=e.getAnchorOffset(),f=e.getFocusKey(),d=e.getFocusOffset(),p=e.getIsBackward();if(!l.extend&&p){var g=c,h=s;c=f,s=d,f=g,d=h,p=!1}var m=c===n&&o<=s&&i>=s,E=f===n&&o<=d&&i>=d;if(m&&E)return l.removeAllRanges(),u(l,t,s-o,e),void C(l,t,d-o,e);if(p){if(E&&(l.removeAllRanges(),u(l,t,d-o,e)),m){var b=l.focusNode,w=l.focusOffset;l.removeAllRanges(),u(l,t,s-o,e),C(l,b,w,e)}}else m&&(l.removeAllRanges(),u(l,t,s-o,e)),E&&C(l,t,d-o,e)}},addFocusToSelection:C}}function Fy(){if(fM)return sM;fM=1;var e=vd();var t=Zy(),n=o,r=vB(),A=Ny(),i=jy().setDraftEditorSelection,a=function(o){var a,l;function c(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e=o.call.apply(o,[this].concat(n))||this),"leaf",void 0),e}l=o,(a=c).prototype=Object.create(l.prototype),a.prototype.constructor=a,a.__proto__=l;var s=c.prototype;return s._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,o=t.start,a=t.text,l=n.getKey(),c=o+a.length;if(e.hasEdgeWithin(l,o,c)){var s=this.leaf;s||("production"!==process.env.NODE_ENV?r(!1,"Missing node"):r(!1));var f,d=s.firstChild;d||("production"!==process.env.NODE_ENV?r(!1,"Missing child"):r(!1)),d.nodeType===Node.TEXT_NODE?f=d:A(d)?f=s:(f=d.firstChild)||("production"!==process.env.NODE_ENV?r(!1,"Missing targetNode"):r(!1)),i(e,f,l,o,c)}}},s.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==process.env.NODE_ENV?r(!1,"Missing leafNode"):r(!1)),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},s.componentDidUpdate=function(){this._setSelection()},s.componentDidMount=function(){this._setSelection()},s.render=function(){var r=this,o=this.props.block,A=this.props.text;A.endsWith("\n")&&this.props.isLast&&(A+="\n");var i=this.props,a=i.customStyleMap,l=i.customStyleFn,c=i.offsetKey,s=i.styleSet,f=s.reduce((function(t,n){var r={},o=a[n];return void 0!==o&&t.textDecoration!==o.textDecoration&&(r.textDecoration=[t.textDecoration,o.textDecoration].join(" ").trim()),e(t,o,r)}),{});if(l){var d=l(s,o);f=e(f,d)}return n.createElement("span",{"data-offset-key":c,ref:function(e){return r.leaf=e},style:f},n.createElement(t,null,A))},c}(n.Component);return sM=a}function Ty(){if(CM)return dM;CM=1;var e=Vy(),t=Fy(),n=wy(),r=pB(),A=o,i=qB();r.List;var a=function(r){var o,a;function l(){return r.apply(this,arguments)||this}return a=r,(o=l).prototype=Object.create(a.prototype),o.prototype.constructor=o,o.__proto__=a,l.prototype.render=function(){var r=this.props,o=r.block,a=r.contentState,l=r.customStyleFn,c=r.customStyleMap,s=r.decorator,f=r.direction,d=r.forceSelection,C=r.hasSelection,u=r.selection,p=r.tree,g=o.getKey(),h=o.getText(),m=p.size-1,E=this.props.children||p.map((function(r,i){var p=r.get("decoratorKey"),E=r.get("leaves"),b=E.size-1,w=E.map((function(e,r){var a=n.encode(g,i,r),s=e.get("start"),f=e.get("end");return A.createElement(t,{key:a,offsetKey:a,block:o,start:s,selection:C?u:null,forceSelection:d,text:h.slice(s,f),styleSet:o.getInlineStyleAt(s),customStyleMap:c,customStyleFn:l,isLast:p===m&&r===b})})).toArray();return p&&s?A.createElement(e,{block:o,children:w,contentState:a,decorator:s,decoratorKey:p,direction:f,leafSet:r,text:h,key:i}):w})).toArray();return A.createElement("div",{"data-offset-key":n.encode(g,0,0),className:i({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===f,"public/DraftStyleDefault/rtl":"RTL"===f})},E)},l}(A.Component);return dM=a}function Ry(){if(pM)return uM;function e(e,t){return!!t&&(e===t.documentElement||e===t.body)}return pM=1,uM={getTop:function(t){var n=t.ownerDocument;return e(t,n)?n.body.scrollTop||n.documentElement.scrollTop:t.scrollTop},setTop:function(t,n){var r=t.ownerDocument;e(t,r)?r.body.scrollTop=r.documentElement.scrollTop=n:t.scrollTop=n},getLeft:function(t){var n=t.ownerDocument;return e(t,n)?n.body.scrollLeft||n.documentElement.scrollLeft:t.scrollLeft},setLeft:function(t,n){var r=t.ownerDocument;e(t,r)?r.body.scrollLeft=r.documentElement.scrollLeft=n:t.scrollLeft=n}}}function Gy(){if(wM)return bM;wM=1;var e=function(){if(hM)return gM;hM=1;var e=/-(.)/g;return gM=function(t){return t.replace(e,(function(e,t){return t.toUpperCase()}))}}(),t=function(){if(EM)return mM;EM=1;var e=/([A-Z])/g;return mM=function(t){return t.replace(e,"-$1").toLowerCase()}}();function n(e){return null==e?e:String(e)}return bM=function(r,o){var A;if(window.getComputedStyle&&(A=window.getComputedStyle(r,null)))return n(A.getPropertyValue(t(o)));if(document.defaultView&&document.defaultView.getComputedStyle){if(A=document.defaultView.getComputedStyle(r,null))return n(A.getPropertyValue(t(o)));if("display"===o)return"none"}return r.currentStyle?n("float"===o?r.currentStyle.cssFloat||r.currentStyle.styleFloat:r.currentStyle[e(o)]):n(r.style&&r.style[e(o)])}}function Xy(){if(BM)return vM;function e(e,n){var r=t.get(e,n);return"auto"===r||"scroll"===r}BM=1;var t={get:Gy(),getScrollParent:function(t){if(!t)return null;for(var n=t.ownerDocument;t&&t!==n.body;){if(e(t,"overflow")||e(t,"overflowY")||e(t,"overflowX"))return t;t=t.parentNode}return n.defaultView||n.parentWindow}};return vM=t}function Yy(){if(LM)return yM;LM=1;var e=function(){if(MM)return IM;MM=1;var e=Oy();return IM=function(t){var n=t.ownerDocument.documentElement;if(!("getBoundingClientRect"in t)||!e(n,t))return{left:0,right:0,top:0,bottom:0};var r=t.getBoundingClientRect();return{left:Math.round(r.left)-n.clientLeft,right:Math.round(r.right)-n.clientLeft,top:Math.round(r.top)-n.clientTop,bottom:Math.round(r.bottom)-n.clientTop}}}();return yM=function(t){var n=e(t);return{x:n.left,y:n.top,width:n.right-n.left,height:n.bottom-n.top}}}function Uy(){if(VM)return kM;VM=1;var e=function(){if(xM)return QM;xM=1;var e="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;return QM=function(t){return(t=t||document).scrollingElement?t.scrollingElement:e||"CSS1Compat"!==t.compatMode?t.body:t.documentElement}}(),t=DM?HM:(DM=1,HM=function(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}});return kM=function(n){var r=e(n.ownerDocument||n.document);n.Window&&n instanceof n.Window&&(n=r);var o=t(n),A=n===r?n.ownerDocument.documentElement:n,i=n.scrollWidth-A.clientWidth,a=n.scrollHeight-A.clientHeight;return o.x=Math.max(0,Math.min(o.x,i)),o.y=Math.max(0,Math.min(o.y,a)),o}}function Ky(){if(NM)return ZM;function e(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function t(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function n(){return{width:window.innerWidth||e(),height:window.innerHeight||t()}}return NM=1,n.withoutScrollbars=function(){return{width:e(),height:t()}},ZM=n}function Wy(){if(PM)return zM;PM=1;var e=vd();function t(){return t=e||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t.apply(this,arguments)}function n(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var A=Ty(),i=wy(),a=o,l=Ry(),c=Xy(),s=Yy(),f=Uy(),d=Ky(),C=pB(),u=vB(),p=Iy();C.List;var g=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},h=function(e,t){var n=t.get(e.getType())||t.get("unstyled"),r=n.wrapper;return{Element:n.element||t.get("unstyled").element,wrapperTemplate:r}},m=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},E=function(e,t,r,o,A,i){var a={"data-block":!0,"data-editor":t,"data-offset-key":r,key:e.getKey(),ref:i},l=o(e);return l&&(a.className=l),void 0!==A.customEditable&&(a=n({},a,{contentEditable:A.customEditable,suppressContentEditableWarning:!0})),a},b=function(e){var o,C;function b(){for(var t,n=arguments.length,o=new Array(n),A=0;A<n;A++)o[A]=arguments[A];return r(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t=e.call.apply(e,[this].concat(o))||this),"wrapperRef",a.createRef()),t}C=e,(o=b).prototype=Object.create(C.prototype),o.prototype.constructor=o,o.__proto__=C;var w=b.prototype;return w.shouldComponentUpdate=function(e){var t=this.props,n=t.block,r=t.direction,o=t.tree,A=!n.getChildKeys().isEmpty(),i=n!==e.block||o!==e.tree||r!==e.direction||g(e.selection,e.block.getKey())&&e.forceSelection;return A||i},w.componentDidMount=function(){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this.wrapperRef.current;if(n){var r,o=c.getScrollParent(n),A=f(o);if(o===window){var i=s(n);(r=i.y+i.height-d().height)>0&&window.scrollTo(A.x,A.y+r+10)}else{p(n)||("production"!==process.env.NODE_ENV?u(!1,"blockNode is not an HTMLElement"):u(!1));var a=n;(r=a.offsetHeight+a.offsetTop-(o.offsetHeight+A.y))>0&&l.setTop(o,l.getTop(o)+r+10)}}}},w.render=function(){var e=this,r=this.props,o=r.block,l=r.blockRenderMap,c=r.blockRendererFn,s=r.blockStyleFn,f=r.contentState,d=r.decorator,C=r.editorKey,u=r.editorState,p=r.customStyleFn,w=r.customStyleMap,v=r.direction,B=r.forceSelection,I=r.selection,M=r.tree,y=null;o.children.size&&(y=o.children.reduce((function(t,r){var o=i.encode(r,0,0),A=f.getBlockForKey(r),d=m(A,c),p=d.CustomComponent||b,g=h(A,l),w=g.Element,v=g.wrapperTemplate,B=E(A,C,o,s,d,null),I=n({},e.props,{tree:u.getBlockTree(r),blockProps:d.customProps,offsetKey:o,block:A});return t.push(a.createElement(w,B,a.createElement(p,I))),!v||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(A,f)||function(e,t,n){var r=[],o=!0,A=!1,l=void 0;try{for(var c,s=n.reverse()[Symbol.iterator]();!(o=(c=s.next()).done);o=!0){var f=c.value;if(f.type!==t)break;r.push(f)}}catch(e){A=!0,l=e}finally{try{o||null==s.return||s.return()}finally{if(A)throw l}}n.splice(n.indexOf(r[0]),r.length+1);var d=r.reverse(),C=d[0].key;n.push(a.cloneElement(e,{key:"".concat(C,"-wrap"),"data-offset-key":i.encode(C,0,0)},d))}(v,w,t),t}),[]));var L=o.getKey(),Q=i.encode(L,0,0),x=m(o,c),H=x.CustomComponent,D=null!=H?a.createElement(H,t({},this.props,{tree:u.getBlockTree(L),blockProps:x.customProps,offsetKey:Q,block:o})):a.createElement(A,{block:o,children:y,contentState:f,customStyleFn:p,customStyleMap:w,decorator:d,direction:v,forceSelection:B,hasSelection:g(I,L),selection:I,tree:M});if(o.getParentKey())return D;var k=h(o,l).Element,V=E(o,C,Q,s,x,this.wrapperRef);return a.createElement(k,V,D)},b}(a.Component);return zM=b}function qy(){if(SM)return OM;SM=1;var e=vd();function t(){return t=e||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t.apply(this,arguments)}var n=Wy(),r=wy(),A=o,i=XB(),a=function(e){var o,a;function l(){return e.apply(this,arguments)||this}a=e,(o=l).prototype=Object.create(a.prototype),o.prototype.constructor=o,o.__proto__=a;var c=l.prototype;return c.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),o=t.isInCompositionMode(),A=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||o&&A)return!1;var i=t.getCurrentContent(),a=n.getCurrentContent(),l=t.getDecorator(),c=n.getDecorator();return o!==A||i!==a||l!==c||n.mustForceSelection()},c.render=function(){for(var e=this.props,o=e.blockRenderMap,a=e.blockRendererFn,l=e.blockStyleFn,c=e.customStyleMap,s=e.customStyleFn,f=e.editorState,d=e.editorKey,C=e.textDirectionality,u=f.getCurrentContent(),p=f.getSelection(),g=f.mustForceSelection(),h=f.getDecorator(),m=i(f.getDirectionMap()),E=[],b=u.getBlocksAsArray()[0];b;){var w=b.getKey(),v={blockRenderMap:o,blockRendererFn:a,blockStyleFn:l,contentState:u,customStyleFn:s,customStyleMap:c,decorator:h,editorKey:d,editorState:f,forceSelection:g,selection:p,block:b,direction:C||m.get(w),tree:f.getBlockTree(w)},B=(o.get(b.getType())||o.get("unstyled")).wrapper;E.push({block:A.createElement(n,t({key:w},v)),wrapperTemplate:B,key:w,offsetKey:r.encode(w,0,0)});var I=b.getNextSiblingKey();b=I?u.getBlockForKey(I):null}for(var M=[],y=0;y<E.length;){var L=E[y];if(L.wrapperTemplate){var Q=[];do{Q.push(E[y].block),y++}while(y<E.length&&E[y].wrapperTemplate===L.wrapperTemplate);var x=A.cloneElement(L.wrapperTemplate,{key:L.key+"-wrap","data-offset-key":L.offsetKey},Q);M.push(x)}else M.push(L.block),y++}return A.createElement("div",{"data-contents":"true"},M)},l}(A.Component);return OM=a}function Jy(){if(FM)return jM;FM=1;var e=vd();function t(){return t=e||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t.apply(this,arguments)}var n=Fy(),r=wy(),A=o,i=Ry(),a=Xy(),l=GB(),c=RB(),s=qB(),f=Yy(),d=Uy(),C=Ky(),u=vB(),p=Iy(),g=XB(),h=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},m=function(e){var o,m;function E(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t=e.call.apply(e,[this].concat(r))||this),"_node",void 0),t}m=e,(o=E).prototype=Object.create(m.prototype),o.prototype.constructor=o,o.__proto__=m;var b=E.prototype;return b.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||h(e.selection,e.block.getKey())&&e.forceSelection},b.componentDidMount=function(){if(!this.props.preventScroll){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this._node;if(null!=n){var r,o=a.getScrollParent(n),A=d(o);if(o===window){var l=f(n);(r=l.y+l.height-C().height)>0&&window.scrollTo(A.x,A.y+r+10)}else{p(n)||("production"!==process.env.NODE_ENV?u(!1,"blockNode is not an HTMLElement"):u(!1)),(r=n.offsetHeight+n.offsetTop-(o.offsetTop+o.offsetHeight+A.y))>0&&i.setTop(o,i.getTop(o)+r+10)}}}}},b._renderChildren=function(){var e=this,o=this.props.block,i=o.getKey(),a=o.getText(),s=this.props.tree.size-1,f=h(this.props.selection,i);return this.props.tree.map((function(d,C){var u=d.get("leaves");if(0===u.size)return null;var p=u.size-1,h=u.map((function(t,l){var c=r.encode(i,C,l),d=t.get("start"),u=t.get("end");return A.createElement(n,{key:c,offsetKey:c,block:o,start:d,selection:f?e.props.selection:null,forceSelection:e.props.forceSelection,text:a.slice(d,u),styleSet:o.getInlineStyleAt(d),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:C===s&&l===p})})).toArray(),m=d.get("decoratorKey");if(null==m)return h;if(!e.props.decorator)return h;var E=g(e.props.decorator),b=E.getComponentForKey(m);if(!b)return h;var w=E.getPropsForKey(m),v=r.encode(i,C,0),B=u.first().get("start"),I=u.last().get("end"),M=a.slice(B,I),y=o.getEntityAt(d.get("start")),L=c.getHTMLDirIfDifferent(l.getDirection(M),e.props.direction),Q={contentState:e.props.contentState,decoratedText:M,dir:L,start:B,end:I,blockKey:i,entityKey:y,offsetKey:v};return A.createElement(b,t({},w,Q,{key:v}),h)})).toArray()},b.render=function(){var e=this,t=this.props,n=t.direction,r=t.offsetKey,o=s({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return A.createElement("div",{"data-offset-key":r,className:o,ref:function(t){return e._node=t}},this._renderChildren())},E}(A.Component);return jM=m}function _y(){if(XM)return GM;XM=1;var e=vd();function t(){return t=e||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t.apply(this,arguments)}function n(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var A=Jy(),i=wy(),a=o,l=qB(),c=(RM||(RM=1,TM=function(e){var t=e||"",n=arguments.length;if(n>1)for(var r=1;r<n;r++){var o=arguments[r];o&&(t=(t?t+" ":"")+o)}return t}),TM),s=XB(),f=function(e,t,n,r){return l({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===e,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===e,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===t,"public/DraftStyleDefault/depth1":1===t,"public/DraftStyleDefault/depth2":2===t,"public/DraftStyleDefault/depth3":3===t,"public/DraftStyleDefault/depth4":t>=4,"public/DraftStyleDefault/listLTR":"LTR"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})},d=function(e){var r,o;function l(){return e.apply(this,arguments)||this}o=e,(r=l).prototype=Object.create(o.prototype),r.prototype.constructor=r,r.__proto__=o;var d=l.prototype;return d.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),o=t.isInCompositionMode(),A=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||o&&A)return!1;var i=t.getCurrentContent(),a=n.getCurrentContent(),l=t.getDecorator(),c=n.getDecorator();return o!==A||i!==a||l!==c||n.mustForceSelection()},d.render=function(){for(var e=this.props,r=e.blockRenderMap,o=e.blockRendererFn,l=e.blockStyleFn,d=e.customStyleMap,C=e.customStyleFn,u=e.editorState,p=e.editorKey,g=e.preventScroll,h=e.textDirectionality,m=u.getCurrentContent(),E=u.getSelection(),b=u.mustForceSelection(),w=u.getDecorator(),v=s(u.getDirectionMap()),B=m.getBlocksAsArray(),I=[],M=null,y=null,L=0;L<B.length;L++){var Q=B[L],x=Q.getKey(),H=Q.getType(),D=o(Q),k=void 0,V=void 0,Z=void 0;D&&(k=D.component,V=D.props,Z=D.editable);var N=h||v.get(x),z=i.encode(x,0,0),P={contentState:m,block:Q,blockProps:V,blockStyleFn:l,customStyleMap:d,customStyleFn:C,decorator:w,direction:N,forceSelection:b,offsetKey:z,preventScroll:g,selection:E,tree:u.getBlockTree(x)},O=r.get(H)||r.get("unstyled"),S=O.wrapper,j=O.element||r.get("unstyled").element,F=Q.getDepth(),T="";if(l&&(T=l(Q)),"li"===j)T=c(T,f(H,F,y!==S||null===M||F>M,N));var R=k||A,G={className:T,"data-block":!0,"data-editor":p,"data-offset-key":z,key:x};void 0!==Z&&(G=n({},G,{contentEditable:Z,suppressContentEditableWarning:!0}));var X=a.createElement(j,G,a.createElement(R,t({},P,{key:x})));I.push({block:X,wrapperTemplate:S,key:x,offsetKey:z}),M=S?Q.getDepth():null,y=S}for(var Y=[],U=0;U<I.length;){var K=I[U];if(K.wrapperTemplate){var W=[];do{W.push(I[U].block),U++}while(U<I.length&&I[U].wrapperTemplate===K.wrapperTemplate);var q=a.cloneElement(K.wrapperTemplate,{key:K.key+"-wrap","data-offset-key":K.offsetKey},W);Y.push(q)}else Y.push(K.block),U++}return a.createElement("div",{"data-contents":"true"},Y)},l}(a.Component);return GM=d}function $y(){if(JM)return qM;JM=1;var e=vB();return qM=function(t){return function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}(t)?Array.isArray(t)?t.slice():function(t){var n=t.length;if((Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t)&&("production"!==process.env.NODE_ENV?e(!1,"toArray: Array-like object expected"):e(!1)),"number"!=typeof n&&("production"!==process.env.NODE_ENV?e(!1,"toArray: Object needs a length property"):e(!1)),0===n||n-1 in t||("production"!==process.env.NODE_ENV?e(!1,"toArray: Object should have keys for indices"):e(!1)),"function"==typeof t.callee&&("production"!==process.env.NODE_ENV?e(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):e(!1)),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(e){}for(var r=Array(n),o=0;o<n;o++)r[o]=t[o];return r}(t):[t]}}function eL(){if($M)return _M;function e(e){return function(){return e}}$M=1;var t=function(){};return t.thatReturns=e,t.thatReturnsFalse=e(!1),t.thatReturnsTrue=e(!0),t.thatReturnsNull=e(null),t.thatReturnsThis=function(){return this},t.thatReturnsArgument=function(e){return e},_M=t}function tL(){if(ty)return ey;ty=1;var e=function(){if(WM)return KM;WM=1;var e={isImage:function(e){return"image"===t(e)[0]},isJpeg:function(n){var r=t(n);return e.isImage(n)&&("jpeg"===r[1]||"pjpeg"===r[1])}};function t(e){return e.split("/")}return KM=e}(),t=$y(),n=eL(),r=new RegExp("\r\n","g"),o={"text/rtf":1,"text/html":1};function A(e){if("file"==e.kind)return e.getAsFile()}var i=function(){function i(e){this.data=e,this.types=e.types?t(e.types):[]}var a=i.prototype;return a.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return o[e]}))},a.getText=function(){var e;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(e=this.data.getData("text/plain")):e=this.data.getData("Text")),e?e.replace(r,"\n"):null},a.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},a.isLink=function(){return this.types.some((function(e){return-1!=e.indexOf("Url")||-1!=e.indexOf("text/uri-list")||e.indexOf("text/x-moz-url")}))},a.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},a.isImage=function(){var t=this.types.some((function(e){return-1!=e.indexOf("application/x-moz-file")}));if(t)return!0;for(var n=this.getFiles(),r=0;r<n.length;r++){var o=n[r].type;if(!e.isImage(o))return!1}return!0},a.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},a.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(A).filter(n.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},a.hasFiles=function(){return this.getFiles().length>0},i}();return ey=i}function nL(){if(ry)return ny;ry=1;var e=vB(),t=/\.textClipping$/,n={"text/plain":!0,"text/html":!0,"text/rtf":!0};return ny=function(r,o){var A=0,i=[];r.forEach((function(a){!function(r,o){if(!L.FileReader||r.type&&!(r.type in n))return void o("");if(""===r.type){var A="";return t.test(r.name)&&(A=r.name.replace(t,"")),void o(A)}var i=new FileReader;i.onload=function(){var t=i.result;"string"!=typeof t&&("production"!==process.env.NODE_ENV?e(!1,'We should be calling "FileReader.readAsText" which returns a string'):e(!1)),o(t)},i.onerror=function(){o("")},i.readAsText(r)}(a,(function(e){A++,e&&i.push(e.slice(0,5e3)),A==r.length&&o(i.join("\r"))}))}))}}function rL(){if(Ay)return oy;return Ay=1,oy=function(e){return"handled"===e||!0===e}}function oL(){if(ay)return iy;ay=1;var e=tL(),t=ZB(),n=UB(),r=Ey(),o=gy(),A=nL(),i=yy(),a=by(),l=rL(),c=XB();var s={onDragEnd:function(e){e.exitCurrentMode(),f(e)},onDrop:function(a,s){var C=new e(s.nativeEvent.dataTransfer),u=a._latestEditorState,p=function(e,t){var n=null,A=null,a=o(e.currentTarget);if("function"==typeof a.caretRangeFromPoint){var l=a.caretRangeFromPoint(e.x,e.y);n=l.startContainer,A=l.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,A=e.rangeOffset}n=c(n),A=c(A);var s=c(r(n));return i(t,s,A,s,A)}(s.nativeEvent,u);if(s.preventDefault(),a._dragCount=0,a.exitCurrentMode(),null!=p){var g=C.getFiles();if(g.length>0){if(a.props.handleDroppedFiles&&l(a.props.handleDroppedFiles(p,g)))return;A(g,(function(e){e&&a.update(d(u,p,e))}))}else{var h=a._internalDrag?"internal":"external";a.props.handleDrop&&l(a.props.handleDrop(p,C,h))||(a._internalDrag?a.update(function(e,r){var o=t.moveText(e.getCurrentContent(),e.getSelection(),r);return n.push(e,o,"insert-fragment")}(u,p)):a.update(d(u,p,C.getText()))),f(a)}}}};function f(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:a(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function d(e,r,o){var A=t.insertText(e.getCurrentContent(),r,o,e.getCurrentInlineStyle());return n.push(e,A,"insert-fragment")}return iy=s}var AL,iL,aL,lL,cL,sL,fL,dL,CL,uL,pL,gL,hL,mL,EL,bL,wL,vL,BL,IL,ML,yL,LL,QL,xL,HL,DL,kL,VL,ZL,NL,zL,PL,OL,SL,jL,FL,TL,RL,GL,XL,YL,UL,KL,WL,qL,JL,_L,$L,eQ,tQ,nQ,rQ,oQ,AQ,iQ,aQ,lQ,cQ,sQ,fQ,dQ,CQ,uQ,pQ,gQ,hQ,mQ,EQ,bQ,wQ,vQ,BQ,IQ,MQ,yQ,LQ,QQ,xQ,HQ,DQ,kQ,VQ,ZQ,NQ,zQ,PQ,OQ,SQ,jQ,FQ,TQ,RQ,GQ,XQ,YQ,UQ,KQ,WQ,qQ,JQ,_Q={};function $Q(){return aL?iL:(aL=1,AL||(AL=1,function(e){if(!e.setImmediate){var t,n,r,o,A=1,i={},a=!1,l=e.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(e);c=c&&c.setTimeout?c:e,"[object process]"==={}.toString.call(e.process)?t=function(e){process.nextTick((function(){f(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(r="setImmediate$"+Math.random()+"$",o=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(r)&&f(+t.data.slice(r.length))},e.addEventListener?e.addEventListener("message",o,!1):e.attachEvent("onmessage",o),t=function(t){e.postMessage(r+t,"*")}):e.MessageChannel?((n=new MessageChannel).port1.onmessage=function(e){f(e.data)},t=function(e){n.port2.postMessage(e)}):l&&"onreadystatechange"in l.createElement("script")?function(){var e=l.documentElement;t=function(t){var n=l.createElement("script");n.onreadystatechange=function(){f(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():t=function(e){setTimeout(f,0,e)},c.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var n=new Array(arguments.length-1),r=0;r<n.length;r++)n[r]=arguments[r+1];var o={callback:e,args:n};return i[A]=o,t(A),A++},c.clearImmediate=s}function s(e){delete i[e]}function f(e){if(a)setTimeout(f,0,e);else{var t=i[e];if(t){a=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{s(e),a=!1}}}}}("undefined"==typeof self?void 0===L?_Q:L:self)),iL=L.setImmediate)}function ex(){if(cL)return lL;cL=1;var e=ZB(),t=UB(),n=py(),r=Dy(),o=rL(),A=cy?ly:(cy=1,ly=function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=e.getBlockTree(n),o=t.getStartOffset(),A=!1;return r.some((function(e){return o===e.get("start")?(A=!0,!0):o<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return o===t&&(A=!0,!0)}))})),A}),i=XB(),a=$Q(),l=n.isBrowser("Firefox");function c(n,r,o,A,i){var a=e.replaceText(n.getCurrentContent(),n.getSelection(),r,o,A);return t.push(n,a,"insert-characters",i)}return lL=function(e,n){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var s=e._latestEditorState,f=n.data;if(f)if(e.props.handleBeforeInput&&o(e.props.handleBeforeInput(f,s,n.timeStamp)))n.preventDefault();else{var d=s.getSelection(),C=d.getStartOffset(),u=d.getAnchorKey();if(!d.isCollapsed())return n.preventDefault(),void e.update(c(s,f,s.getCurrentInlineStyle(),r(s.getCurrentContent(),s.getSelection()),!0));var p,g=c(s,f,s.getCurrentInlineStyle(),r(s.getCurrentContent(),s.getSelection()),!1),h=!1;if(h||(h=A(e._latestCommittedEditorState)),!h){var m=s.getBlockTree(u),E=g.getBlockTree(u);h=m.size!==E.size||m.zip(E).some((function(e){var t=e[0],n=e[1],r=t.get("start"),o=r+(r>=C?f.length:0),A=t.get("end"),i=A+(A>=C?f.length:0),a=n.get("start"),l=n.get("end"),c=n.get("decoratorKey");return t.get("decoratorKey")!==c||t.get("leaves").size!==n.get("leaves").size||o!==a||i!==l||null!=c&&l-a!=A-r}))}if(h||(p=f,h=l&&("'"==p||"/"==p)),h||(h=i(g.getDirectionMap()).get(u)!==i(s.getDirectionMap()).get(u)),h)return n.preventDefault(),g=t.set(g,{forceSelection:!0}),void e.update(g);g=t.set(g,{nativelyRenderedContent:g.getCurrentContent()}),e._pendingStateFromBeforeInput=g,a((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},lL}function tx(){if(pL)return uL;pL=1;var e=LB();return uL=function(t){var n=t.getSelection();return n.isCollapsed()?null:e(t.getCurrentContent(),n)}}function nx(){if(wL)return bL;wL=1;var e=ZB(),t=UB(),n=Xy(),r=tx(),o=Uy(),A=EL?mL:(EL=1,mL=function(e){if(!e||!("ownerDocument"in e))return!1;if("ownerDocument"in e){var t=e;if(!t.ownerDocument.defaultView)return t instanceof Node;if(t instanceof t.ownerDocument.defaultView.Node)return!0}return!1});return bL=function(i,a){var l,c=i._latestEditorState,s=c.getSelection(),f=a.target;if(s.isCollapsed())a.preventDefault();else{if(A(f)){var d=f;l=o(n.getScrollParent(d))}var C=r(c);i.setClipboard(C),i.setMode("cut"),setTimeout((function(){i.restoreEditorDOM(l),i.exitCurrentMode(),i.update(function(n){var r=e.removeRange(n.getCurrentContent(),n.getSelection(),"forward");return t.push(n,r,"remove-range")}(c))}),0)}},bL}function rx(){if(xL)return QL;xL=1;var e=vB(),t=/[\uD800-\uDFFF]/;function n(e){return 55296<=e&&e<=57343}function r(e){return t.test(e)}function o(e,t){return 1+n(e.charCodeAt(t))}function A(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!r(e))return e.substr(t,n);var A=e.length;if(A<=0||t>A||n<=0)return"";var i=0;if(t>0){for(;t>0&&i<A;t--)i+=o(e,i);if(i>=A)return""}else if(t<0){for(i=A;t<0&&0<i;t++)i-=o(e,i-1);i<0&&(i=0)}var a=A;if(n<A)for(a=i;n>0&&a<A;n--)a+=o(e,a);return e.substring(i,a)}var i={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=o(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:o,hasSurrogateUnit:r,isCodeUnitInSurrogateRange:n,isSurrogatePair:function(t,n){if(0<=n&&n<t.length||("production"!==process.env.NODE_ENV?e(!1,"isSurrogatePair: Invalid index %s for string length %s.",n,t.length):e(!1)),n+1===t.length)return!1;var r=t.charCodeAt(n),o=t.charCodeAt(n+1);return 55296<=r&&r<=56319&&56320<=o&&o<=57343},strlen:function(e){if(!r(e))return e.length;for(var t=0,n=0;n<e.length;n+=o(e,n))t++;return t},substring:function(e,t,n){(t=t||0)<0&&(t=0),(n=void 0===n?1/0:n||0)<0&&(n=0);var r=Math.abs(n-t);return A(e,t=t<n?t:n,r)},substr:A};return QL=i}function ox(){if(DL)return HL;DL=1;var e=eL();function t(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,A="Warning: "+e.replace(/%s/g,(function(){return n[o++]}));"undefined"!=typeof console&&console.error(A);try{throw new Error(A)}catch(e){}}var n="production"!==process.env.NODE_ENV?function(e,n){if(void 0===n)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!e){for(var r=arguments.length,o=new Array(r>2?r-2:0),A=2;A<r;A++)o[A-2]=arguments[A];t.apply(void 0,[n].concat(o))}}:e;return HL=n}function Ax(){if(VL)return kL;VL=1;var e=ox();return kL=function(t,n){var r=t.getSelection();"production"!==process.env.NODE_ENV&&e(r.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");var o=t.getCurrentContent(),A=r.getStartKey(),i=r.getStartOffset(),a=A,l=0;if(n>i){var c=o.getKeyBefore(A);if(null==c)a=A;else a=c,l=o.getBlockForKey(c).getText().length}else l=i-n;return r.merge({focusKey:a,focusOffset:l,isBackward:!0})},kL}function ix(){if(NL)return ZL;NL=1;var e=ZB(),t=jB()("draft_tree_data_support");return ZL=function(n,r,o){var A=n.getSelection(),i=n.getCurrentContent(),a=A,l=A.getAnchorKey(),c=A.getFocusKey(),s=i.getBlockForKey(l);if(t&&"forward"===o&&l!==c)return i;if(A.isCollapsed()){if("forward"===o){if(n.isSelectionAtEndOfContent())return i;if(t)if(A.getAnchorOffset()===i.getBlockForKey(l).getLength()){var f=i.getBlockForKey(s.nextSibling);if(!f||0===f.getLength())return i}}else if(n.isSelectionAtStartOfContent())return i;if((a=r(n))===A)return i}return e.removeRange(i,a,o)}}function ax(){if(PL)return zL;PL=1;var e=UB(),t=rx(),n=Ax(),r=ix();return zL=function(o){var A=r(o,(function(e){var r=e.getSelection(),o=e.getCurrentContent(),A=r.getAnchorKey(),i=r.getAnchorOffset(),a=o.getBlockForKey(A).getText()[i-1];return n(e,a?t.getUTF16Length(a,0):1)}),"backward");if(A===o.getCurrentContent())return o;var i=o.getSelection();return e.push(o,A.set("selectionBefore",i),i.isCollapsed()?"backspace-character":"remove-range")},zL}function lx(){if(SL)return OL;SL=1;var e=ZB(),t=wy(),n=UB(),r=py(),o=Hy().notEmptyKey,A=Ey(),i=ax(),a=XB(),l=r.isEngine("Gecko");return OL=function(r,c){void 0!==r._pendingStateFromBeforeInput&&(r.update(r._pendingStateFromBeforeInput),r._pendingStateFromBeforeInput=void 0);var s=r.editor.ownerDocument.defaultView.getSelection(),f=s.anchorNode,d=s.isCollapsed,C=(null==f?void 0:f.nodeType)!==Node.TEXT_NODE&&(null==f?void 0:f.nodeType)!==Node.ELEMENT_NODE;if(null!=f&&!C){if(f.nodeType===Node.TEXT_NODE&&(null!==f.previousSibling||null!==f.nextSibling)){var u=f.parentNode;if(null==u)return;f.nodeValue=u.textContent;for(var p=u.firstChild;null!=p;p=p.nextSibling)p!==f&&u.removeChild(p)}var g=f.textContent,h=r._latestEditorState,m=a(A(f)),E=t.decode(m),b=E.blockKey,w=E.decoratorKey,v=E.leafKey,B=h.getBlockTree(b).getIn([w,"leaves",v]),I=B.start,M=B.end,y=h.getCurrentContent(),L=y.getBlockForKey(b),Q=L.getText().slice(I,M);if(g.endsWith("\n\n")&&(g=g.slice(0,-1)),g!==Q){var x,H,D,k,V=h.getSelection(),Z=V.merge({anchorOffset:I,focusOffset:M,isBackward:!1}),N=L.getEntityAt(I),z=o(N)?y.getEntity(N):null,P="MUTABLE"===(null!=z?z.getMutability():null),O=P?"spellcheck-change":"apply-entity",S=e.replaceText(y,Z,g,L.getInlineStyleAt(I),P?L.getEntityAt(I):null);if(l)x=s.anchorOffset,H=s.focusOffset,k=(D=I+Math.min(x,H))+Math.abs(x-H),x=D,H=k;else{var j=g.length-Q.length;D=V.getStartOffset(),k=V.getEndOffset(),x=d?k+j:D,H=k+j}var F=S.merge({selectionBefore:y.getSelectionAfter(),selectionAfter:V.merge({anchorOffset:x,focusOffset:H})});r.update(n.push(h,F,O))}else{var T=c.nativeEvent.inputType;if(T){var R=function(e,t){return"deleteContentBackward"===e?i(t):t}(T,h);if(R!==h)return r.restoreEditorDOM(),void r.update(R)}}}},OL}function cx(){if(RL)return TL;RL=1;var e=py(),t=function(){if(FL)return jL;FL=1;var e=vy();return jL=function(t){return t.which===e.RETURN&&(t.getModifierState("Shift")||t.getModifierState("Alt")||t.getModifierState("Control"))},jL}(),n=e.isPlatform("Mac OS X"),r={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return n&&e.altKey},usesMacOSHeuristics:function(){return n},hasCommandModifier:function(e){return n?!!e.metaKey&&!e.altKey:r.isCtrlKeyCommand(e)},isSoftNewlineEvent:t};return TL=r}function sx(){if(UL)return YL;UL=1;var e=py(),t=vB();var n=e.isBrowser("Chrome")?function(e){for(var n=e.cloneRange(),r=[],o=e.endContainer;null!=o;o=o.parentNode){var A=o===e.commonAncestorContainer;A?n.setStart(e.startContainer,e.startOffset):n.setStart(n.endContainer,0);var i,a=Array.from(n.getClientRects());if(r.push(a),A)return r.reverse(),(i=[]).concat.apply(i,r);n.setEndBefore(o)}"production"!==process.env.NODE_ENV?t(!1,"Found an unexpected detached subtree when getting range client rects."):t(!1)}:function(e){return Array.from(e.getClientRects())};return YL=n}function fx(){if(WL)return KL;WL=1;var e=rx(),t=gy(),n=sx(),r=vB();function o(e,t){for(var n=1/0,r=1/0,o=-1/0,A=-1/0,i=0;i<e.length;i++){var a=e[i];0!==a.width&&1!==a.width&&(n=Math.min(n,a.top),r=Math.min(r,a.bottom),o=Math.max(o,a.top),A=Math.max(A,a.bottom))}return o<=r&&o-n<t&&A-r<t}function A(e){switch(e.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return e.length;default:return e.childNodes.length}}return KL=function(i){i.collapsed||("production"!==process.env.NODE_ENV?r(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):r(!1));var a=(i=i.cloneRange()).startContainer;1!==a.nodeType&&(a=a.parentNode);var l=function(e){var n=getComputedStyle(e),o=t(e),A=o.createElement("div");A.style.fontFamily=n.fontFamily,A.style.fontSize=n.fontSize,A.style.fontStyle=n.fontStyle,A.style.fontWeight=n.fontWeight,A.style.lineHeight=n.lineHeight,A.style.position="absolute",A.textContent="M";var i=o.body;i||("production"!==process.env.NODE_ENV?r(!1,"Missing document.body"):r(!1)),i.appendChild(A);var a=A.getBoundingClientRect();return i.removeChild(A),a.height}(a),c=i.endContainer,s=i.endOffset;for(i.setStart(i.startContainer,0);o(n(i),l)&&(c=i.startContainer,s=i.startOffset,c.parentNode||("production"!==process.env.NODE_ENV?r(!1,"Found unexpected detached subtree when traversing."):r(!1)),i.setStartBefore(c),1!==c.nodeType||"inline"===getComputedStyle(c).display););for(var f=c,d=s-1;;){for(var C=f.nodeValue,u=d;u>=0;u--)if(!(null!=C&&u>0&&e.isSurrogatePair(C,u-1))){if(i.setStart(f,u),!o(n(i),l))break;c=f,s=u}if(-1===u||0===f.childNodes.length)break;d=A(f=f.childNodes[u])}return i.setStart(c,s),i},KL}function dx(){if($L)return _L;$L=1;return _L={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}}function Cx(){if(tQ)return eQ;tQ=1;var e="['‘’]",t="\\s|(?![_])"+dx().getPunctuation(),n=new RegExp("^(?:"+t+")*(?:"+e+"|(?!"+t+").)*(?:(?!"+t+").)"),r=new RegExp("(?:(?!"+t+").)(?:"+e+"|(?!"+t+").)*(?:"+t+")*$");function o(e,t){var o=t?r.exec(e):n.exec(e);return o?o[0]:e}return eQ={getBackward:function(e){return o(e,!0)},getForward:function(e){return o(e,!1)}}}function ux(){if(AQ)return oQ;AQ=1;var e=ox();return oQ=function(t,n){var r=t.getSelection();"production"!==process.env.NODE_ENV&&e(r.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var o,A=r.getStartKey(),i=r.getStartOffset(),a=t.getCurrentContent(),l=A;return n>a.getBlockForKey(A).getText().length-i?(l=a.getKeyAfter(A),o=0):o=i+n,r.merge({focusKey:l,focusOffset:o})},oQ}function px(){if(wQ)return bQ;wQ=1;var e=ZB(),t=UB(),n=cx(),r=vy(),o=function(){if(XL)return GL;XL=1;var e=ZB(),t=UB(),n=LB(),r=XB(),o=null;return GL={cut:function(A){var i=A.getCurrentContent(),a=A.getSelection(),l=null;if(a.isCollapsed()){var c=a.getAnchorKey(),s=i.getBlockForKey(c).getLength();if(s===a.getAnchorOffset()){var f=i.getKeyAfter(c);if(null==f)return A;l=a.set("focusKey",f).set("focusOffset",0)}else l=a.set("focusOffset",s)}else l=a;l=r(l),o=n(i,l);var d=e.removeRange(i,l,"forward");return d===i?A:t.push(A,d,"remove-range")},paste:function(n){if(!o)return n;var r=e.replaceWithFragment(n.getCurrentContent(),n.getSelection(),o);return t.push(n,r,"insert-fragment")}}}(),A=py(),i=rL(),a=function(){if(JL)return qL;JL=1;var e=UB(),t=fx(),n=Ly(),r=Ax(),o=ix();return qL=function(A,i){var a=o(A,(function(e){var o=e.getSelection();if(o.isCollapsed()&&0===o.getAnchorOffset())return r(e,1);var A=i.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return A=t(A),n(e,null,A.endContainer,A.endOffset,A.startContainer,A.startOffset).selectionState}),"backward");return a===A.getCurrentContent()?A:e.push(A,a,"remove-range")},qL}(),l=function(){if(rQ)return nQ;rQ=1;var e=Cx(),t=UB(),n=Ax(),r=ix();return nQ=function(o){var A=r(o,(function(t){var r=t.getSelection(),o=r.getStartOffset();if(0===o)return n(t,1);var A=r.getStartKey(),i=t.getCurrentContent().getBlockForKey(A).getText().slice(0,o),a=e.getBackward(i);return n(t,a.length||1)}),"backward");return A===o.getCurrentContent()?o:t.push(o,A,"remove-range")},nQ}(),c=function(){if(aQ)return iQ;aQ=1;var e=Cx(),t=UB(),n=ux(),r=ix();return iQ=function(o){var A=r(o,(function(t){var r=t.getSelection(),o=r.getStartOffset(),A=r.getStartKey(),i=t.getCurrentContent().getBlockForKey(A).getText().slice(o),a=e.getForward(i);return n(t,a.length||1)}),"forward");return A===o.getCurrentContent()?o:t.push(o,A,"remove-range")},iQ}(),s=function(){if(cQ)return lQ;cQ=1;var e=ZB(),t=UB();return lQ=function(n){var r=e.splitBlock(n.getCurrentContent(),n.getSelection());return t.push(n,r,"split-block")}}(),f=function(){if(fQ)return sQ;fQ=1;var e=UB();return sQ=function(t){var n=t.getSelection(),r=n.getEndKey(),o=t.getCurrentContent().getBlockForKey(r).getLength();return e.set(t,{selection:n.merge({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1}),forceSelection:!0})}}(),d=function(){if(CQ)return dQ;CQ=1;var e=UB();return dQ=function(t){var n=t.getSelection(),r=n.getStartKey();return e.set(t,{selection:n.merge({anchorKey:r,anchorOffset:0,focusKey:r,focusOffset:0,isBackward:!1}),forceSelection:!0})}}(),C=ax(),u=function(){if(pQ)return uQ;pQ=1;var e=UB(),t=rx(),n=ux(),r=ix();return uQ=function(o){var A=r(o,(function(e){var r=e.getSelection(),o=e.getCurrentContent(),A=r.getAnchorKey(),i=r.getAnchorOffset(),a=o.getBlockForKey(A).getText()[i];return n(e,a?t.getUTF16Length(a,0):1)}),"forward");if(A===o.getCurrentContent())return o;var i=o.getSelection();return e.push(o,A.set("selectionBefore",i),i.isCollapsed()?"delete-character":"remove-range")},uQ}(),p=function(){if(hQ)return gQ;hQ=1;var e=ZB(),t=UB(),n=LB();return gQ=function(r){var o=r.getSelection();if(!o.isCollapsed())return r;var A=o.getAnchorOffset();if(0===A)return r;var i,a,l=o.getAnchorKey(),c=r.getCurrentContent(),s=c.getBlockForKey(l).getLength();if(s<=1)return r;A===s?(i=o.set("anchorOffset",A-1),a=o):a=(i=o.set("focusOffset",A+1)).set("anchorOffset",A+1);var f=n(c,i),d=e.removeRange(c,i,"backward"),C=d.getSelectionAfter(),u=C.getAnchorOffset()-1,p=C.merge({anchorOffset:u,focusOffset:u}),g=e.replaceWithFragment(d,p,f),h=t.push(r,g,"insert-fragment");return t.acceptSelection(h,a)}}(),g=function(){if(EQ)return mQ;EQ=1;var e=UB();return mQ=function(t,n,r){var o=e.undo(n);if("spellcheck-change"!==n.getLastChangeType())t.preventDefault(),n.getNativelyRenderedContent()?(r(e.set(n,{nativelyRenderedContent:null})),setTimeout((function(){r(o)}),0)):r(o);else{var A=o.getCurrentContent();r(e.set(o,{nativelyRenderedContent:A}))}},mQ}(),h=n.isOptionKeyCommand,m=A.isBrowser("Chrome");return bQ=function(n,A){var E=A.which,b=n._latestEditorState;function w(e){var t=n.props[e];return!!t&&(t(A),!0)}switch(E){case r.RETURN:if(A.preventDefault(),n.props.handleReturn&&i(n.props.handleReturn(A,b)))return;break;case r.ESC:if(A.preventDefault(),w("onEscape"))return;break;case r.TAB:if(w("onTab"))return;break;case r.UP:if(w("onUpArrow"))return;break;case r.RIGHT:if(w("onRightArrow"))return;break;case r.DOWN:if(w("onDownArrow"))return;break;case r.LEFT:if(w("onLeftArrow"))return;break;case r.SPACE:m&&h(A)&&A.preventDefault()}var v=n.props.keyBindingFn(A);if(null!=v&&""!==v)if("undo"!==v){if(A.preventDefault(),!n.props.handleKeyCommand||!i(n.props.handleKeyCommand(v,b,A.timeStamp))){var B=function(e,n,r){switch(e){case"redo":return t.redo(n);case"delete":return u(n);case"delete-word":return c(n);case"backspace":return C(n);case"backspace-word":return l(n);case"backspace-to-start-of-line":return a(n,r);case"split-block":return s(n);case"transpose-characters":return p(n);case"move-selection-to-start-of-block":return d(n);case"move-selection-to-end-of-block":return f(n);case"secondary-cut":return o.cut(n);case"secondary-paste":return o.paste(n);default:return n}}(v,b,A);B!==b&&n.update(B)}}else g(A,b,n.update);else if(E===r.SPACE&&m&&h(A)){var I=e.replaceText(b.getCurrentContent(),b.getSelection()," ");n.update(t.push(b,I,"insert-characters"))}},bQ}function gx(){if(BQ)return vQ;BQ=1;var e=function(){function e(e){!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"_uri",void 0),this._uri=e}return e.prototype.toString=function(){return this._uri},e}();return vQ=e}function hx(){if(MQ)return IQ;MQ=1;var e=py(),t=vB(),n=e.isBrowser("IE <= 9");return IQ=function(e){var r,o=null;return!n&&document.implementation&&document.implementation.createHTMLDocument&&((r=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==process.env.NODE_ENV?t(!1,"Missing doc.documentElement"):t(!1)),r.documentElement.innerHTML=e,o=r.getElementsByTagName("body")[0]),o},IQ}function mx(){if(DQ)return HQ;var e;function t(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(t){n(e,t,r[t])}))}return e}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}DQ=1;var r=hB(),o=EB(),A=bB(),i=JB(),a=OB(),l=gx(),c=qB(),s=IB(),f=hx(),d=jB(),C=pB(),u=C.List,p=C.Map,g=C.OrderedSet,h=function(){if(LQ)return yQ;LQ=1;var e=hy();return yQ=function(t){return!(!t||!t.ownerDocument)&&e(t)&&"A"===t.nodeName}}(),m=Ny(),E=Iy(),b=function(){if(xQ)return QQ;xQ=1;var e=hy();return QQ=function(t){return!(!t||!t.ownerDocument)&&e(t)&&"IMG"===t.nodeName}}(),w=d("draft_tree_data_support"),v=new RegExp("\r","g"),B=new RegExp("\n","g"),I=new RegExp("^\n","g"),M=new RegExp("&nbsp;","g"),y=new RegExp("&#13;?","g"),L=new RegExp("&#8203;?","g"),Q=["bold","bolder","500","600","700","800","900"],x=["light","lighter","normal","100","200","300","400"],H=["className","href","rel","target","title"],D=["alt","className","height","src","width"],k=(n(e={},c("public/DraftStyleDefault/depth0"),0),n(e,c("public/DraftStyleDefault/depth1"),1),n(e,c("public/DraftStyleDefault/depth2"),2),n(e,c("public/DraftStyleDefault/depth3"),3),n(e,c("public/DraftStyleDefault/depth4"),4),e),V=p({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),Z=function(e){if(E(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},N=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(k).some((function(n){e.classList.contains(n)&&(t=k[n])})),t},z=function(e){if(!h(e))return!1;var t=e;if(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)return!1;try{new l(t.href);return!0}catch(e){return!1}},P=function(e){if(!b(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},O=function(e,t){if(!E(e))return t;var n=e,r=n.style.fontWeight,o=n.style.fontStyle,A=n.style.textDecoration;return t.withMutations((function(e){Q.indexOf(r)>=0?e.add("BOLD"):x.indexOf(r)>=0&&e.remove("BOLD"),"italic"===o?e.add("ITALIC"):"normal"===o&&e.remove("ITALIC"),"underline"===A&&e.add("UNDERLINE"),"line-through"===A&&e.add("STRIKETHROUGH"),"none"===A&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},S=function(e){return"ul"===e||"ol"===e},j=function(){function e(e,t){n(this,"characterList",u()),n(this,"currentBlockType","unstyled"),n(this,"currentDepth",0),n(this,"currentEntity",null),n(this,"currentText",""),n(this,"wrapper",null),n(this,"blockConfigs",[]),n(this,"contentBlocks",[]),n(this,"entityMap",a),n(this,"blockTypeMap",void 0),n(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var i=e.prototype;return i.clear=function(){this.characterList=u(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=a,this.wrapper=null,this.contentBlocks=[]},i.addDOMNode=function(e){var t;return this.contentBlocks=[],this.currentDepth=0,(t=this.blockConfigs).push.apply(t,this._toBlockConfigs([e],g())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},i.getContentBlocks=function(){return 0===this.contentBlocks.length&&(w?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},i._makeBlockConfig=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t({key:e.key||s(),type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:u(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=u(),this.currentBlockType="unstyled",this.currentText="",n},i._toBlockConfigs=function(e,t){for(var n=[],r=0;r<e.length;r++){var o=e[r],A=o.nodeName.toLowerCase();if("body"===A||S(A)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var i=this.currentDepth,a=this.wrapper;S(A)&&(this.wrapper=A,S(a)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(o.childNodes),t)),this.currentDepth=i,this.wrapper=a}else{var l=this.blockTypeMap.get(A);if(void 0===l)if("#text"!==A)if("br"!==A)if(P(o))this._addImgNode(o,t);else if(z(o))this._addAnchorNode(o,n,t);else{var c=t;V.has(A)&&(c=c.add(V.get(A))),c=O(o,c);var f=Z(o);null!=f&&(c=c.add(f)),n.push.apply(n,this._toBlockConfigs(Array.from(o.childNodes),c))}else this._addBreakNode(o,t);else this._addTextNode(o,t);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var d=this.currentDepth,C=this.wrapper;if(this.wrapper="pre"===A?"pre":this.wrapper,"string"!=typeof l&&(l=this.disambiguate(A,this.wrapper)||l[0]||"unstyled"),!w&&E(o)&&("unordered-list-item"===l||"ordered-list-item"===l)){var u=o;this.currentDepth=N(u,this.currentDepth)}var p=s(),g=this._toBlockConfigs(Array.from(o.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:p,childConfigs:g,type:l})),this.currentDepth=d,this.wrapper=C}}}return n},i._appendText=function(e,t){var n;this.currentText+=e;var o=r.create({style:t,entity:this.currentEntity});this.characterList=(n=this.characterList).push.apply(n,Array(e.length).fill(o))},i._trimCurrentText=function(){var e=this.currentText.length,t=e-this.currentText.trimLeft().length,n=this.currentText.trimRight().length,r=this.characterList.findEntry((function(e){return null!==e.getEntity()}));(t=void 0!==r?Math.min(t,r[0]):t)>(n=void 0!==(r=this.characterList.reverse().findEntry((function(e){return null!==e.getEntity()})))?Math.max(n,e-r[0]):n)?(this.currentText="",this.characterList=u()):(this.currentText=this.currentText.slice(t,n),this.characterList=this.characterList.slice(t,n))},i._addTextNode=function(e,t){var n=e.textContent;""===n.trim()&&"pre"!==this.wrapper&&(n=" "),"pre"!==this.wrapper&&(n=(n=n.replace(I,"")).replace(B," ")),this._appendText(n,t)},i._addBreakNode=function(e,t){m(e)&&this._appendText("\n",t)},i._addImgNode=function(e,t){if(b(e)){var n=e,r={};D.forEach((function(e){var t=n.getAttribute(e);t&&(r[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),d("draftjs_fix_paste_for_img")?"presentation"!==n.getAttribute("role")&&this._appendText("📷",t):this._appendText("📷",t),this.currentEntity=null}},i._addAnchorNode=function(e,t,n){if(h(e)){var r=e,o={};H.forEach((function(e){var t=r.getAttribute(e);t&&(o[e]=t)})),o.url=new l(r.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",o||{}),t.push.apply(t,this._toBlockConfigs(Array.from(e.childNodes),n)),this.currentEntity=null}},i._toContentBlocks=function(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=e.length-1,o=0;o<=r;o++){var i=e[o];i.parent=n,i.prevSibling=o>0?e[o-1].key:null,i.nextSibling=o<r?e[o+1].key:null,i.children=u(i.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new A(t({},i))),this._toContentBlocks(i.childConfigs,i.key)}},i._hoistContainersInBlockConfigs=function(e){var t=this;return u(e).flatMap((function(e){return"unstyled"!==e.type||""!==e.text?[e]:t._hoistContainersInBlockConfigs(e.childConfigs)}))},i._toFlatContentBlocks=function(e){var n=this;this._hoistContainersInBlockConfigs(e).forEach((function(e){var r=n._extractTextFromBlockConfigs(e.childConfigs),A=r.text,i=r.characterList;n.contentBlocks.push(new o(t({},e,{text:e.text+A,characterList:e.characterList.concat(i)})))}))},i._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",r=u(),o=0;o<=t;o++){var A=e[o];n+=A.text,r=r.concat(A.characterList),""!==n&&"unstyled"!==A.type&&(n+="\n",r=r.push(r.last()));var i=this._extractTextFromBlockConfigs(A.childConfigs);n+=i.text,r=r.concat(i.characterList)}return{text:n,characterList:r}},e}();return HQ=function(e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:f)(e=e.trim().replace(v,"").replace(M," ").replace(y,"").replace(L,""));if(!n)return null;var r=function(e){var t={};return e.mapKeys((function(e,n){var r=[n.element];void 0!==n.aliasedElements&&r.push.apply(r,n.aliasedElements),r.forEach((function(n){void 0===t[n]?t[n]=e:"string"==typeof t[n]?t[n]=[t[n],e]:t[n].push(e)}))})),p(t)}(t);return new j(r,(function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null})).addDOMNode(n).getContentBlocks()},HQ}function Ex(){if(VQ)return kQ;function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}VQ=1;var t=EB(),n=bB(),r=mx(),o=IB(),A=hx(),i=jB(),a=pB(),l=FB(),c=a.List,s=a.Repeat,f=i("draft_tree_data_support"),d=f?n:t,C={processHTML:function(e,t){return r(e,A,t)},processText:function(t,n,r){return t.reduce((function(t,A,i){A=l(A);var a=o(),C={key:a,type:r,text:A,characterList:c(s(n,A.length))};if(f&&0!==i){var u=i-1;C=function(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(n){e(t,n,r[n])}))}return t}({},C,{prevSibling:(t[u]=t[u].merge({nextSibling:a})).getKey()})}return t.push(new d(C)),t}),[])}};return kQ=C}function bx(){if(PQ)return zQ;PQ=1;var e=ZB(),t=UB(),n=(NQ||(NQ=1,ZQ=function(e,t,n,r){var o=t.getStartKey(),A=t.getEndKey(),i=e.getBlockMap(),a=i.toSeq().skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===A})).concat([[A,i.get(A)]]).map((function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,r)),e.set("depth",t)}));return i=i.merge(a),e.merge({blockMap:i,selectionBefore:t,selectionAfter:t})}),ZQ),r=XB(),o={currentBlockContainsLink:function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=n.getEntityMap();return n.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some((function(e){var t=e.getEntity();return!!t&&"LINK"===r.__get(t).getType()}))},getCurrentBlockType:function(e){var t=e.getSelection();return e.getCurrentContent().getBlockForKey(t.getStartKey()).getType()},getDataObjectForLinkURL:function(e){return{url:e.toString()}},handleKeyCommand:function(e,t,n){switch(t){case"bold":return o.toggleInlineStyle(e,"BOLD");case"italic":return o.toggleInlineStyle(e,"ITALIC");case"underline":return o.toggleInlineStyle(e,"UNDERLINE");case"code":return o.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return o.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return o.onDelete(e);default:return null}},insertSoftNewline:function(n){var r=e.insertText(n.getCurrentContent(),n.getSelection(),"\n",n.getCurrentInlineStyle(),null),o=t.push(n,r,"insert-characters");return t.forceSelection(o,r.getSelectionAfter())},onBackspace:function(e){var n=e.getSelection();if(!n.isCollapsed()||n.getAnchorOffset()||n.getFocusOffset())return null;var r=e.getCurrentContent(),A=n.getStartKey(),i=r.getBlockBefore(A);if(i&&"atomic"===i.getType()){var a=r.getBlockMap().delete(i.getKey()),l=r.merge({blockMap:a,selectionAfter:n});if(l!==r)return t.push(e,l,"remove-range")}var c=o.tryToRemoveBlockStyle(e);return c?t.push(e,c,"change-block-type"):null},onDelete:function(n){var r=n.getSelection();if(!r.isCollapsed())return null;var o=n.getCurrentContent(),A=r.getStartKey(),i=o.getBlockForKey(A).getLength();if(r.getStartOffset()<i)return null;var a=o.getBlockAfter(A);if(!a||"atomic"!==a.getType())return null;var l=r.merge({focusKey:a.getKey(),focusOffset:a.getLength()}),c=e.removeRange(o,l,"forward");return c!==o?t.push(n,c,"remove-range"):null},onTab:function(e,r,o){var A=r.getSelection(),i=A.getAnchorKey();if(i!==A.getFocusKey())return r;var a=r.getCurrentContent(),l=a.getBlockForKey(i),c=l.getType();if("unordered-list-item"!==c&&"ordered-list-item"!==c)return r;e.preventDefault();var s=l.getDepth();if(!e.shiftKey&&s===o)return r;var f=n(a,A,e.shiftKey?-1:1,o);return t.push(r,f,"adjust-depth")},toggleBlockType:function(n,o){var A=n.getSelection(),i=A.getStartKey(),a=A.getEndKey(),l=n.getCurrentContent(),c=A;if(i!==a&&0===A.getEndOffset()){var s=r(l.getBlockBefore(a));a=s.getKey(),c=c.merge({anchorKey:i,anchorOffset:A.getStartOffset(),focusKey:a,focusOffset:s.getLength(),isBackward:!1})}var f=l.getBlockMap().skipWhile((function(e,t){return t!==i})).reverse().skipWhile((function(e,t){return t!==a})).some((function(e){return"atomic"===e.getType()}));if(f)return n;var d=l.getBlockForKey(i).getType()===o?"unstyled":o;return t.push(n,e.setBlockType(l,c,d),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=t.getFocusKey();return t.isCollapsed()||n!==r?o.toggleBlockType(e,"code-block"):o.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(n,r){var o=n.getSelection(),A=n.getCurrentInlineStyle();if(o.isCollapsed())return t.setInlineStyleOverride(n,A.has(r)?A.remove(r):A.add(r));var i,a=n.getCurrentContent();return i=A.has(r)?e.removeInlineStyle(a,o,r):e.applyInlineStyle(a,o,r),t.push(n,i,"change-inline-style")},toggleLink:function(n,r,o){var A=e.applyEntity(n.getCurrentContent(),r,o);return t.push(n,A,"apply-entity")},tryToRemoveBlockStyle:function(t){var n=t.getSelection(),r=n.getAnchorOffset();if(n.isCollapsed()&&0===r){var o=n.getAnchorKey(),A=t.getCurrentContent(),i=A.getBlockForKey(o).getType(),a=A.getBlockBefore(o);if("code-block"===i&&a&&"code-block"===a.getType()&&0!==a.getLength())return null;if("unstyled"!==i)return e.setBlockType(A,n,"unstyled")}return null}};return zQ=o}function wx(){if(FQ)return jQ;FQ=1;var e=gB(),t=hB(),n=tL(),r=ZB(),o=Ex(),A=UB(),i=bx(),a=Dy(),l=nL(),c=rL(),s=function(){if(SQ)return OQ;SQ=1;var e=/\r\n?|\n/g;return OQ=function(t){return t.split(e)}}();function f(e,t,n){var o=r.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return A.push(e,o.set("entityMap",n),"insert-fragment")}return jQ=function(d,C){C.preventDefault();var u=new n(C.clipboardData);if(!u.isRichText()){var p=u.getFiles(),g=u.getText();if(p.length>0){if(d.props.handlePastedFiles&&c(d.props.handlePastedFiles(p)))return;return void l(p,(function(n){if(n=n||g){var l=d._latestEditorState,c=s(n),f=t.create({style:l.getCurrentInlineStyle(),entity:a(l.getCurrentContent(),l.getSelection())}),C=i.getCurrentBlockType(l),u=o.processText(c,f,C),p=e.createFromArray(u),h=r.replaceWithFragment(l.getCurrentContent(),l.getSelection(),p);d.update(A.push(l,h,"insert-fragment"))}}))}}var h=[],m=u.getText(),E=u.getHTML(),b=d._latestEditorState;if(d.props.formatPastedText){var w=d.props.formatPastedText(m,E);m=w.text,E=w.html}if(!d.props.handlePastedText||!c(d.props.handlePastedText(m,E,b))){if(m&&(h=s(m)),!d.props.stripPastedStyles){var v,B=d.getClipboard();if(!d.props.formatPastedText&&u.isRichText()&&B){if(-1!==(null===(v=E)||void 0===v?void 0:v.indexOf(d.getEditorKey()))||1===h.length&&1===B.size&&B.first().getText()===m)return void d.update(f(d._latestEditorState,B))}else if(B&&u.types.includes("com.apple.webarchive")&&!u.types.includes("text/html")&&function(e,t){return e.length===t.size&&t.valueSeq().every((function(t,n){return t.getText()===e[n]}))}(h,B))return void d.update(f(d._latestEditorState,B));if(E){var I=o.processHTML(E,d.props.blockRenderMap);if(I){var M=I.contentBlocks,y=I.entityMap;if(M){var L=e.createFromArray(M);return void d.update(f(d._latestEditorState,L,y))}}}d.setClipboard(null)}if(h.length){var Q=t.create({style:b.getCurrentInlineStyle(),entity:a(b.getCurrentContent(),b.getSelection())}),x=i.getCurrentBlockType(b),H=o.processText(h,Q,x),D=e.createFromArray(H);d.update(f(d._latestEditorState,D))}}},jQ}function vx(){if(RQ)return TQ;RQ=1;var e=py(),t=ex(),n=function(){if(fL)return sL;fL=1;var e=UB(),t=Oy(),n=Sy();return sL=function(r,o){var A=o.currentTarget.ownerDocument;if(!Boolean(r.props.preserveSelectionOnBlur)&&n(A)===A.body){var i=A.defaultView.getSelection(),a=r.editor;1===i.rangeCount&&t(a,i.anchorNode)&&t(a,i.focusNode)&&i.removeAllRanges()}var l=r._latestEditorState,c=l.getSelection();if(c.getHasFocus()){var s=c.set("hasFocus",!1);r.props.onBlur&&r.props.onBlur(o),r.update(e.acceptSelection(l,s))}},sL}(),r=function(){if(CL)return dL;CL=1;var e=UB();return dL=function(t,n){t.setMode("composite"),t.update(e.set(t._latestEditorState,{inCompositionMode:!0})),t._onCompositionStart(n)},dL}(),o=function(){if(hL)return gL;hL=1;var e=tx();return gL=function(t,n){t._latestEditorState.getSelection().isCollapsed()?n.preventDefault():t.setClipboard(e(t._latestEditorState))},gL}(),A=nx(),i=(BL||(BL=1,vL=function(e,t){e.setMode("drag"),t.preventDefault()}),vL),a=ML?IL:(ML=1,IL=function(e){e._internalDrag=!0,e.setMode("drag")}),l=function(){if(LL)return yL;LL=1;var e=UB(),t=py();return yL=function(n,r){var o=n._latestEditorState,A=o.getSelection();if(!A.getHasFocus()){var i=A.set("hasFocus",!0);n.props.onFocus&&n.props.onFocus(r),t.isBrowser("Chrome < 60.0.3081.0")?n.update(e.forceSelection(o,i)):n.update(e.acceptSelection(o,i))}},yL}(),c=lx(),s=px(),f=wx(),d=xy(),C=e.isBrowser("Chrome"),u=e.isBrowser("Firefox"),p=C||u?d:function(e){};return TQ={onBeforeInput:t,onBlur:n,onCompositionStart:r,onCopy:o,onCut:A,onDragOver:i,onDragStart:a,onFocus:l,onInput:c,onKeyDown:s,onPaste:f,onSelect:d,onMouseUp:p,onKeyUp:p}}function Bx(){if(UQ)return YQ;UQ=1;var e=o,t=qB(),n=function(n){var r,o;function A(){return n.apply(this,arguments)||this}o=n,(r=A).prototype=Object.create(o.prototype),r.prototype.constructor=r,r.__proto__=o;var i=A.prototype;return i.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},i.render=function(){var n=this.props.editorState.getSelection().getHasFocus(),r=t({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":n});return e.createElement("div",{className:r},e.createElement("div",{className:t("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},A}(e.Component);return YQ=n}function Ix(){if(WQ)return KQ;WQ=1;var e=cx(),t=vy(),n=py(),r=n.isPlatform("Mac OS X"),o=r&&n.isBrowser("Firefox < 29"),A=e.hasCommandModifier,i=e.isCtrlKeyCommand;function a(e){return r&&e.altKey||i(e)}return KQ=function(e){switch(e.keyCode){case 66:return A(e)?"bold":null;case 68:return i(e)?"delete":null;case 72:return i(e)?"backspace":null;case 73:return A(e)?"italic":null;case 74:return A(e)?"code":null;case 75:return r&&i(e)?"secondary-cut":null;case 77:case 79:return i(e)?"split-block":null;case 84:return r&&i(e)?"transpose-characters":null;case 85:return A(e)?"underline":null;case 87:return r&&i(e)?"backspace-word":null;case 89:return i(e)?r?"secondary-paste":"redo":null;case 90:return function(e){return A(e)?e.shiftKey?"redo":"undo":null}(e)||null;case t.RETURN:return"split-block";case t.DELETE:return function(e){return!r&&e.shiftKey?null:a(e)?"delete-word":"delete"}(e);case t.BACKSPACE:return function(e){return A(e)&&r?"backspace-to-start-of-line":a(e)?"backspace-word":"backspace"}(e);case t.LEFT:return o&&A(e)?"move-selection-to-start-of-block":null;case t.RIGHT:return o&&A(e)?"move-selection-to-end-of-block":null;default:return null}},KQ}function Mx(){if(JQ)return qQ;JQ=1;var e=vd();function t(){return t=e||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t.apply(this,arguments)}function n(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){A(e,t,n[t])}))}return e}function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var a=JB(),l=_B(),c=ky(),s=function(){if(UM)return YM;UM=1;var e=jB()("draft_tree_data_support");return YM=e?qy():_y()}(),f=oL(),d=vx(),C=function(){if(XQ)return GQ;XQ=1;var e=B.unstable_flushControlled;return GQ=e}(),u=Bx(),p=zy(),g=UB(),h=o,m=Ry(),E=Xy(),b=py(),w=qB(),v=IB(),I=Ix(),M=Uy(),y=jB(),Q=vB(),x=Iy(),H=XB(),D=b.isBrowser("IE"),k=!D,V={edit:d,composite:c,drag:f,cut:null,render:null},Z=!1,N=function(e){function t(){return e.apply(this,arguments)||this}i(t,e);var n=t.prototype;return n.render=function(){return null},n.componentDidMount=function(){this._update()},n.componentDidUpdate=function(){this._update()},n._update=function(){var e=this.props.editor;e._latestEditorState=this.props.editorState,e._blockSelectEvents=!0},t}(h.Component),z=function(e){function o(t){var o;return A(r(o=e.call(this,t)||this),"_blockSelectEvents",void 0),A(r(o),"_clipboard",void 0),A(r(o),"_handler",void 0),A(r(o),"_dragCount",void 0),A(r(o),"_internalDrag",void 0),A(r(o),"_editorKey",void 0),A(r(o),"_placeholderAccessibilityID",void 0),A(r(o),"_latestEditorState",void 0),A(r(o),"_latestCommittedEditorState",void 0),A(r(o),"_pendingStateFromBeforeInput",void 0),A(r(o),"_onBeforeInput",void 0),A(r(o),"_onBlur",void 0),A(r(o),"_onCharacterData",void 0),A(r(o),"_onCompositionEnd",void 0),A(r(o),"_onCompositionStart",void 0),A(r(o),"_onCopy",void 0),A(r(o),"_onCut",void 0),A(r(o),"_onDragEnd",void 0),A(r(o),"_onDragOver",void 0),A(r(o),"_onDragStart",void 0),A(r(o),"_onDrop",void 0),A(r(o),"_onInput",void 0),A(r(o),"_onFocus",void 0),A(r(o),"_onKeyDown",void 0),A(r(o),"_onKeyPress",void 0),A(r(o),"_onKeyUp",void 0),A(r(o),"_onMouseDown",void 0),A(r(o),"_onMouseUp",void 0),A(r(o),"_onPaste",void 0),A(r(o),"_onSelect",void 0),A(r(o),"editor",void 0),A(r(o),"editorContainer",void 0),A(r(o),"focus",void 0),A(r(o),"blur",void 0),A(r(o),"setMode",void 0),A(r(o),"exitCurrentMode",void 0),A(r(o),"restoreEditorDOM",void 0),A(r(o),"setClipboard",void 0),A(r(o),"getClipboard",void 0),A(r(o),"getEditorKey",void 0),A(r(o),"update",void 0),A(r(o),"onDragEnter",void 0),A(r(o),"onDragLeave",void 0),A(r(o),"_handleEditorContainerRef",(function(e){o.editorContainer=e,o.editor=null!==e?e.firstChild:null})),A(r(o),"focus",(function(e){var t=o.props.editorState,n=t.getSelection().getHasFocus(),r=o.editor;if(r){var A=E.getScrollParent(r),i=e||M(A),a=i.x,l=i.y;x(r)||("production"!==process.env.NODE_ENV?Q(!1,"editorNode is not an HTMLElement"):Q(!1)),r.focus(),A===window?window.scrollTo(a,l):m.setTop(A,l),n||o.update(g.forceSelection(t,t.getSelection()))}})),A(r(o),"blur",(function(){var e=o.editor;e&&(x(e)||("production"!==process.env.NODE_ENV?Q(!1,"editorNode is not an HTMLElement"):Q(!1)),e.blur())})),A(r(o),"setMode",(function(e){var t=o.props,r=t.onPaste,A=t.onCut,i=t.onCopy,a=n({},V.edit);r&&(a.onPaste=r),A&&(a.onCut=A),i&&(a.onCopy=i);var l=n({},V,{edit:a});o._handler=l[e]})),A(r(o),"exitCurrentMode",(function(){o.setMode("edit")})),A(r(o),"restoreEditorDOM",(function(e){o.setState({contentsKey:o.state.contentsKey+1},(function(){o.focus(e)}))})),A(r(o),"setClipboard",(function(e){o._clipboard=e})),A(r(o),"getClipboard",(function(){return o._clipboard})),A(r(o),"update",(function(e){o._latestEditorState=e,o.props.onChange(e)})),A(r(o),"onDragEnter",(function(){o._dragCount++})),A(r(o),"onDragLeave",(function(){o._dragCount--,0===o._dragCount&&o.exitCurrentMode()})),o._blockSelectEvents=!1,o._clipboard=null,o._handler=null,o._dragCount=0,o._editorKey=t.editorKey||v(),o._placeholderAccessibilityID="placeholder-"+o._editorKey,o._latestEditorState=t.editorState,o._latestCommittedEditorState=t.editorState,o._onBeforeInput=o._buildHandler("onBeforeInput"),o._onBlur=o._buildHandler("onBlur"),o._onCharacterData=o._buildHandler("onCharacterData"),o._onCompositionEnd=o._buildHandler("onCompositionEnd"),o._onCompositionStart=o._buildHandler("onCompositionStart"),o._onCopy=o._buildHandler("onCopy"),o._onCut=o._buildHandler("onCut"),o._onDragEnd=o._buildHandler("onDragEnd"),o._onDragOver=o._buildHandler("onDragOver"),o._onDragStart=o._buildHandler("onDragStart"),o._onDrop=o._buildHandler("onDrop"),o._onInput=o._buildHandler("onInput"),o._onFocus=o._buildHandler("onFocus"),o._onKeyDown=o._buildHandler("onKeyDown"),o._onKeyPress=o._buildHandler("onKeyPress"),o._onKeyUp=o._buildHandler("onKeyUp"),o._onMouseDown=o._buildHandler("onMouseDown"),o._onMouseUp=o._buildHandler("onMouseUp"),o._onPaste=o._buildHandler("onPaste"),o._onSelect=o._buildHandler("onSelect"),o.getEditorKey=function(){return o._editorKey},"production"!==process.env.NODE_ENV&&["onDownArrow","onEscape","onLeftArrow","onRightArrow","onTab","onUpArrow"].forEach((function(e){t.hasOwnProperty(e)&&console.warn("Supplying an `".concat(e,"` prop to `DraftEditor` has ")+"been deprecated. If your handler needs access to the keyboard event, supply a custom `keyBindingFn` prop that falls back to the default one (eg. https://is.gd/wHKQ3W).")})),o.state={contentsKey:0},o}i(o,e);var a=o.prototype;return a._buildHandler=function(e){var t=this;return function(n){if(!t.props.readOnly){var r=t._handler&&t._handler[e];r&&(C?C((function(){return r(t,n)})):r(t,n))}}},a._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},a._renderPlaceholder=function(){if(this._showPlaceholder()){var e={text:H(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return h.createElement(u,e)}return null},a._renderARIADescribedBy=function(){var e=this.props.ariaDescribedBy||"",t=this._showPlaceholder()?this._placeholderAccessibilityID:"";return e.replace("{{editor_id_placeholder}}",t)||void 0},a.render=function(){var e=this.props,r=e.blockRenderMap,o=e.blockRendererFn,A=e.blockStyleFn,i=e.customStyleFn,a=e.customStyleMap,c=e.editorState,f=e.preventScroll,d=e.readOnly,C=e.textAlignment,u=e.textDirectionality,p=w({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===C,"DraftEditor/alignRight":"right"===C,"DraftEditor/alignCenter":"center"===C}),g=this.props.role||"textbox",m="combobox"===g?!!this.props.ariaExpanded:null,E={blockRenderMap:r,blockRendererFn:o,blockStyleFn:A,customStyleMap:n({},l,a),customStyleFn:i,editorKey:this._editorKey,editorState:c,preventScroll:f,textDirectionality:u};return h.createElement("div",{className:p},this._renderPlaceholder(),h.createElement("div",{className:w("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},h.createElement("div",{"aria-activedescendant":d?null:this.props.ariaActiveDescendantID,"aria-autocomplete":d?null:this.props.ariaAutoComplete,"aria-controls":d?null:this.props.ariaControls,"aria-describedby":this._renderARIADescribedBy(),"aria-expanded":d?null:m,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":d?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:w({notranslate:!d,"public/DraftEditor/content":!0}),contentEditable:!d,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:d?null:g,spellCheck:k&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},h.createElement(N,{editor:this,editorState:c}),h.createElement(s,t({},E,{key:"contents"+this.state.contentsKey})))))},a.componentDidMount=function(){this._blockSelectEvents=!1,!Z&&y("draft_ods_enabled")&&(Z=!0,p.initODS()),this.setMode("edit"),D&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):L.execCommand("AutoUrlDetect",!1,!1))},a.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},o}(h.Component);return A(z,"defaultProps",{ariaDescribedBy:"{{editor_id_placeholder}}",blockRenderMap:a,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:I,readOnly:!1,spellCheck:!1,stripPastedStyles:!1}),qQ=z}var yx,Lx,Qx,xx,Hx,Dx,kx,Vx,Zx,Nx,zx,Px,Ox,Sx,jx,Fx,Tx,Rx,Gx,Xx,Yx,Ux,Kx,Wx,qx,Jx,_x,$x={};function eH(){return yx||(yx=1),$x}function tH(){if(Qx)return Lx;Qx=1;var e={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}};return Lx=e}function nH(){if(kx)return Dx;kx=1;var e=rx(),t=mB(),n=function(e,t){return e===t},r=function(e){return!!e},o=[];return Dx=function(A){var i=A.getCharacterList().map((function(e){return e.getStyle()})).toList(),a=i.flatten().toSet().map((function(o){return function(o,A,i){var a=[],l=A.map((function(e){return e.has(i)})).toList();return t(l,n,r,(function(t,n){var r=o.getText();a.push({offset:e.strlen(r.slice(0,t)),length:e.strlen(r.slice(t,n)),style:i})})),a}(A,i,o)}));return Array.prototype.concat.apply(o,a.toJS())}}function rH(){if(Zx)return Vx;function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Zx=1;var t=EB(),n=bB(),r=tH(),o=function(){if(Hx)return xx;Hx=1;var e=tH(),t=rx().strlen;return xx=function(n,r){var o=[];return n.findEntityRanges((function(e){return!!e.getEntity()}),(function(A,i){var a=n.getText(),l=n.getEntityAt(A);o.push({offset:t(a.slice(0,A)),length:t(a.slice(A,i)),key:Number(r[e.stringify(l)])})})),o},xx}(),A=nH(),i=vB(),a=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:A(e),entityRanges:o(e,t),data:e.getData().toObject()}},l=function(r,o,A,l){if(r instanceof t)A.push(a(r,o));else{r instanceof n||("production"!==process.env.NODE_ENV?i(!1,"block is not a BlockNode"):i(!1));var c=r.getParentKey(),s=l[r.getKey()]=function(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(n){e(t,n,r[n])}))}return t}({},a(r,o),{children:[]});c?l[c].children.push(s):A.push(s)}};return Vx=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,o=[],A={},i={},a=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var o=e.getEntityAt(t),A=r.stringify(o);i[A]||(i[A]=o,n[A]="".concat(a),a++)})),l(e,n,o,A)})),{blocks:o,entityMap:n}}(e,t),t=function(e,t){var n=t.blocks,o=t.entityMap,A={};return Object.keys(o).forEach((function(t,n){var o=e.getEntity(r.unstringify(t));A[n]={type:o.getType(),mutability:o.getMutability(),data:o.getData()}})),{blocks:n,entityMap:A}}(e,t),t},Vx}function oH(){if(zx)return Nx;function e(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(n){t(e,n,r[n])}))}return e}function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}zx=1;var n=IB(),r=vB(),o=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},A={fromRawTreeStateToRawState:function(t){var n=t.blocks,A=[];return Array.isArray(n)||("production"!==process.env.NODE_ENV?r(!1,"Invalid raw state"):r(!1)),Array.isArray(n)&&n.length?(function(e,t){for(var n=[].concat(e).reverse();n.length;){var o=n.pop();t(o);var A=o.children;Array.isArray(A)||("production"!==process.env.NODE_ENV?r(!1,"Invalid tree raw block"):r(!1)),n=n.concat([].concat(A.reverse()))}}(n,(function(t){var n=e({},t);o(t)&&(n.depth=n.depth||0,function(t){Array.isArray(t.children)&&(t.children=t.children.map((function(n){return n.type===t.type?e({},n,{depth:(t.depth||0)+1}):n})))}(t),null!=t.children&&t.children.length>0)||(delete n.children,A.push(n))})),t.blocks=A,e({},t,{blocks:A})):t},fromRawStateToRawTreeState:function(t){var r=[],A=[];return t.blocks.forEach((function(t){var i=o(t),a=t.depth||0,l=e({},t,{children:[]});if(i){var c=A[0];if(null==c&&0===a)r.push(l);else if(null==c||c.depth<a-1){var s={key:n(),text:"",depth:a-1,type:t.type,children:[],entityRanges:[],inlineStyleRanges:[]};A.unshift(s),1===a?r.push(s):null!=c&&c.children.push(s),s.children.push(l)}else if(c.depth===a-1)c.children.push(l);else{for(;null!=c&&c.depth>=a;)A.shift(),c=A[0];a>0?c.children.push(l):r.push(l)}}else r.push(l)})),e({},t,{blocks:r})}};return Nx=A}function AH(){if(Yx)return Xx;function e(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(n){t(e,n,r[n])}))}return e}function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Yx=1;var n=EB(),r=bB(),o=TB(),A=OB(),i=oH(),a=function(){if(Ox)return Px;Ox=1;var e=ox(),t={isValidBlock:function(t,n){var r=t.getKey(),o=t.getParentKey();if(null!=o&&!n.get(o).getChildKeys().includes(r))return"production"!==process.env.NODE_ENV&&e(!0,"Tree is missing parent -> child pointer on %s",r),!1;var A=t.getChildKeys().map((function(e){return n.get(e)}));if(!A.every((function(e){return e.getParentKey()===r})))return"production"!==process.env.NODE_ENV&&e(!0,"Tree is missing child -> parent pointer on %s",r),!1;var i=t.getPrevSiblingKey();if(null!=i&&n.get(i).getNextSiblingKey()!==r)return"production"!==process.env.NODE_ENV&&e(!0,"Tree is missing nextSibling pointer on %s's prevSibling",r),!1;var a=t.getNextSiblingKey();return null!=a&&n.get(a).getPrevSiblingKey()!==r?("production"!==process.env.NODE_ENV&&e(!0,"Tree is missing prevSibling pointer on %s's nextSibling",r),!1):null!==a&&null!==i&&i===a?("production"!==process.env.NODE_ENV&&e(!0,"Tree has a two-node cycle at %s",r),!1):!(""!=t.text&&t.getChildKeys().size>0&&("production"!==process.env.NODE_ENV&&e(!0,"Leaf node %s has children",r),1))},isConnectedTree:function(t){var n=t.toArray().filter((function(e){return null==e.getParentKey()&&null==e.getPrevSiblingKey()}));if(1!==n.length)return"production"!==process.env.NODE_ENV&&e(!0,"Tree is not connected. More or less than one first node"),!1;for(var r=0,o=n.shift().getKey(),A=[];null!=o;){var i=t.get(o),a=i.getChildKeys(),l=i.getNextSiblingKey();if(a.size>0){null!=l&&A.unshift(l);var c=a.map((function(e){return t.get(e)})),s=c.find((function(e){return null==e.getPrevSiblingKey()}));if(null==s)return"production"!==process.env.NODE_ENV&&e(!0,"%s has no first child",o),!1;o=s.getKey()}else o=null!=i.getNextSiblingKey()?i.getNextSiblingKey():A.shift();r++}return r===t.size||("production"!==process.env.NODE_ENV&&e(!0,"Tree is not connected. %s nodes were seen instead of %s",r,t.size),!1)},isValidTree:function(e){var t=this;return!!e.toArray().every((function(n){return t.isValidBlock(n,e)}))&&this.isConnectedTree(e)}};return Px=t}(),l=SB(),c=function(){if(jx)return Sx;jx=1;var e=hB(),t=pB().List;return Sx=function(n,r){var o=n.map((function(t,n){var o=r[n];return e.create({style:t,entity:o})}));return t(o)}}(),s=function(){if(Tx)return Fx;Tx=1;var e=rx().substr;return Fx=function(t,n){var r=Array(t.length).fill(null);return n&&n.forEach((function(n){for(var o=e(t,0,n.offset).length,A=o+e(t,n.offset,n.length).length,i=o;i<A;i++)r[i]=n.key})),r},Fx}(),f=function(){if(Gx)return Rx;Gx=1;var e=rx(),t=pB().OrderedSet,n=e.substr,r=t();return Rx=function(e,t){var o=Array(e.length).fill(r);return t&&t.forEach((function(t){for(var r=n(e,0,t.offset).length,A=r+n(e,t.offset,t.length).length;r<A;)o[r]=o[r].add(t.style),r++})),o},Rx}(),d=IB(),C=jB(),u=pB(),p=vB(),g=C("draft_tree_data_support"),h=u.List,m=u.Map,E=u.OrderedMap,b=function(e,t){var n=e.key,r=e.type,o=e.data;return{text:e.text,depth:e.depth||0,type:r||"unstyled",key:n||d(),data:m(o),characterList:w(e,t)}},w=function(t,n){var r=t.text,o=t.entityRanges,A=t.inlineStyleRanges,i=o||[];return c(f(r,A||[]),s(r,i.filter((function(e){return n.hasOwnProperty(e.key)})).map((function(t){return e({},t,{key:n[t.key]})}))))},v=function(t){return e({},t,{key:t.key||d()})},B=function(t,n,r){var o=n.map((function(t){return e({},t,{parentRef:r})}));return t.concat(o.reverse())},I=function(t,o){var A=t.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),l=g&&!A?i.fromRawStateToRawTreeState(t).blocks:t.blocks;if(!g)return function(e,t){return E(e.map((function(e){var r=new n(b(e,t));return[r.getKey(),r]})))}(A?i.fromRawTreeStateToRawState(t).blocks:l,o);var c=function(t,n){return t.map(v).reduce((function(o,A,i){Array.isArray(A.children)||("production"!==process.env.NODE_ENV?p(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):p(!1));var a=A.children.map(v),l=new r(e({},b(A,n),{prevSibling:0===i?null:t[i-1].key,nextSibling:i===t.length-1?null:t[i+1].key,children:h(a.map((function(e){return e.key})))}));o=o.set(l.getKey(),l);for(var c=B([],a,l);c.length>0;){var s=c.pop(),f=s.parentRef,d=f.getChildKeys(),C=d.indexOf(s.key),u=Array.isArray(s.children);if(!u){u||("production"!==process.env.NODE_ENV?p(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):p(!1));break}var g=s.children.map(v),m=new r(e({},b(s,n),{parent:f.getKey(),children:h(g.map((function(e){return e.key}))),prevSibling:0===C?null:d.get(C-1),nextSibling:C===d.size-1?null:d.get(C+1)}));o=o.set(m.getKey(),m),c=B(c,g,m)}return o}),E())}(l,o);return"production"!==process.env.NODE_ENV&&(a.isValidTree(c)||("production"!==process.env.NODE_ENV?p(!1,"Should be a valid tree"):p(!1))),c};return Xx=function(e){Array.isArray(e.blocks)||("production"!==process.env.NODE_ENV?p(!1,"invalid RawDraftContentState"):p(!1));var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var r=t[e],o=r.type,i=r.mutability,a=r.data;n[e]=A.__create(o,i,a||{})})),n}(e),n=I(e,t),r=n.isEmpty()?new l:l.createEmpty(n.first().getKey());return new o({blockMap:n,entityMap:t,selectionBefore:r,selectionAfter:r})}}function iH(){if(qx)return Wx;qx=1;var e=function(){if(Kx)return Ux;Kx=1;var e=sx();return Ux=function(t){var n=e(t),r=0,o=0,A=0,i=0;if(n.length){if(n.length>1&&0===n[0].width){var a=n[1];r=a.top,o=a.right,A=a.bottom,i=a.left}else{var l=n[0];r=l.top,o=l.right,A=l.bottom,i=l.left}for(var c=1;c<n.length;c++){var s=n[c];0!==s.height&&0!==s.width&&(r=Math.min(r,s.top),o=Math.max(o,s.right),A=Math.max(A,s.bottom),i=Math.min(i,s.left))}}return{top:r,right:o,bottom:A,left:i,width:o-i,height:A-r}},Ux}();return Wx=function(t){var n=t.getSelection();if(!n.rangeCount)return null;var r=n.getRangeAt(0),o=e(r),A=o.top,i=o.right,a=o.bottom,l=o.left;return 0===A&&0===i&&0===a&&0===l?null:o},Wx}function aH(){if(_x)return Jx;_x=1;var e=KB(),t=gB(),n=hB(),r=WB(),o=EB(),A=TB(),i=JB(),a=_B(),l=Mx(),c=Jy(),s=OB(),f=ZB(),d=PB(),C=UB(),u=cx(),p=eH(),g=bx(),h=SB(),m=rH(),E=AH(),b=IB(),w=Ix(),v=iH(),B=mx();return Jx={Editor:l,EditorBlock:c,EditorState:C,CompositeDecorator:r,Entity:s,EntityInstance:d,BlockMapBuilder:t,CharacterMetadata:n,ContentBlock:o,ContentState:A,RawDraftContentState:p,SelectionState:h,AtomicBlockUtils:e,KeyBindingUtil:u,Modifier:f,RichUtils:g,DefaultDraftBlockRenderMap:i,DefaultDraftInlineStyle:a,convertFromHTML:B,convertFromRaw:E,convertToRaw:m,genKey:b,getDefaultKeyBinding:w,getVisibleSelectionRect:v}}var lH=aH(),cH={exports:{}},sH="delete",fH=32,dH=31,CH={};function uH(e){e&&(e.value=!0)}function pH(){}function gH(e){return void 0===e.size&&(e.size=e.__iterate(mH)),e.size}function hH(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?gH(e)+t:t}function mH(){return!0}function EH(e,t,n){return(0===e&&!BH(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function bH(e,t){return vH(e,t,0)}function wH(e,t){return vH(e,t,t)}function vH(e,t,n){return void 0===e?n:BH(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function BH(e){return e<0||0===e&&1/e==-1/0}var IH="@@__IMMUTABLE_ITERABLE__@@";function MH(e){return Boolean(e&&e[IH])}var yH="@@__IMMUTABLE_KEYED__@@";function LH(e){return Boolean(e&&e[yH])}var QH="@@__IMMUTABLE_INDEXED__@@";function xH(e){return Boolean(e&&e[QH])}function HH(e){return LH(e)||xH(e)}var DH=function(e){return MH(e)?e:eD(e)},kH=function(e){function t(e){return LH(e)?e:tD(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(DH),VH=function(e){function t(e){return xH(e)?e:nD(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(DH),ZH=function(e){function t(e){return MH(e)&&!HH(e)?e:rD(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(DH);DH.Keyed=kH,DH.Indexed=VH,DH.Set=ZH;var NH="@@__IMMUTABLE_SEQ__@@";function zH(e){return Boolean(e&&e[NH])}var PH="@@__IMMUTABLE_RECORD__@@";function OH(e){return Boolean(e&&e[PH])}function SH(e){return MH(e)||OH(e)}var jH="@@__IMMUTABLE_ORDERED__@@";function FH(e){return Boolean(e&&e[jH])}var TH="function"==typeof Symbol&&Symbol.iterator,RH="@@iterator",GH=TH||RH,XH=function(e){this.next=e};function YH(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function UH(){return{value:void 0,done:!0}}function KH(e){return!!Array.isArray(e)||!!JH(e)}function WH(e){return e&&"function"==typeof e.next}function qH(e){var t=JH(e);return t&&t.call(e)}function JH(e){var t=e&&(TH&&e[TH]||e[RH]);if("function"==typeof t)return t}XH.prototype.toString=function(){return"[Iterator]"},XH.KEYS=0,XH.VALUES=1,XH.ENTRIES=2,XH.prototype.inspect=XH.prototype.toSource=function(){return this.toString()},XH.prototype[GH]=function(){return this};var _H=Object.prototype.hasOwnProperty;function $H(e){return!(!Array.isArray(e)&&"string"!=typeof e)||e&&"object"==typeof e&&Number.isInteger(e.length)&&e.length>=0&&(0===e.length?1===Object.keys(e).length:e.hasOwnProperty(e.length-1))}var eD=function(e){function t(e){return null==e?lD():SH(e)?e.toSeq():function(e){var t=fD(e);if(t)return(r=JH(n=e))&&r===n.entries?t.fromEntrySeq():function(e){var t=JH(e);return t&&t===e.keys}(e)?t.toSetSeq():t;var n,r;if("object"==typeof e)return new AD(e);throw new TypeError("Expected Array or collection object of values, or keyed object: "+e)}(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq {","}")},t.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},t.prototype.__iterate=function(e,t){var n=this._cache;if(n){for(var r=n.length,o=0;o!==r;){var A=n[t?r-++o:o++];if(!1===e(A[1],A[0],this))break}return o}return this.__iterateUncached(e,t)},t.prototype.__iterator=function(e,t){var n=this._cache;if(n){var r=n.length,o=0;return new XH((function(){if(o===r)return{value:void 0,done:!0};var A=n[t?r-++o:o++];return YH(e,A[0],A[1])}))}return this.__iteratorUncached(e,t)},t}(DH),tD=function(e){function t(e){return null==e?lD().toKeyedSeq():MH(e)?LH(e)?e.toSeq():e.fromEntrySeq():OH(e)?e.toSeq():cD(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(eD),nD=function(e){function t(e){return null==e?lD():MH(e)?LH(e)?e.entrySeq():e.toIndexedSeq():OH(e)?e.toSeq().entrySeq():sD(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toIndexedSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq [","]")},t}(eD),rD=function(e){function t(e){return(MH(e)&&!HH(e)?e:nD(e)).toSetSeq()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toSetSeq=function(){return this},t}(eD);eD.isSeq=zH,eD.Keyed=tD,eD.Set=rD,eD.Indexed=nD,eD.prototype[NH]=!0;var oD=function(e){function t(e){this._array=e,this.size=e.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return this.has(e)?this._array[hH(this,e)]:t},t.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length,o=0;o!==r;){var A=t?r-++o:o++;if(!1===e(n[A],A,this))break}return o},t.prototype.__iterator=function(e,t){var n=this._array,r=n.length,o=0;return new XH((function(){if(o===r)return{value:void 0,done:!0};var A=t?r-++o:o++;return YH(e,A,n[A])}))},t}(nD),AD=function(e){function t(e){var t=Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[]);this._object=e,this._keys=t,this.size=t.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},t.prototype.has=function(e){return _H.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length,A=0;A!==o;){var i=r[t?o-++A:A++];if(!1===e(n[i],i,this))break}return A},t.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length,A=0;return new XH((function(){if(A===o)return{value:void 0,done:!0};var i=r[t?o-++A:A++];return YH(e,i,n[i])}))},t}(tD);AD.prototype[jH]=!0;var iD,aD=function(e){function t(e){this._collection=e,this.size=e.length||e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=qH(this._collection),r=0;if(WH(n))for(var o;!(o=n.next()).done&&!1!==e(o.value,r++,this););return r},t.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=qH(this._collection);if(!WH(n))return new XH(UH);var r=0;return new XH((function(){var t=n.next();return t.done?t:YH(e,r++,t.value)}))},t}(nD);function lD(){return iD||(iD=new oD([]))}function cD(e){var t=fD(e);if(t)return t.fromEntrySeq();if("object"==typeof e)return new AD(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function sD(e){var t=fD(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function fD(e){return $H(e)?new oD(e):KH(e)?new aD(e):void 0}var dD="@@__IMMUTABLE_MAP__@@";function CD(e){return Boolean(e&&e[dD])}function uD(e){return CD(e)&&FH(e)}function pD(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function gD(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!!(pD(e)&&pD(t)&&e.equals(t))}var hD="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function mD(e){return e>>>1&1073741824|3221225471&e}var ED=Object.prototype.valueOf;function bD(e){if(null==e)return wD(e);if("function"==typeof e.hashCode)return mD(e.hashCode(e));var t,n=(t=e).valueOf!==ED&&"function"==typeof t.valueOf?t.valueOf(t):t;if(null==n)return wD(n);switch(typeof n){case"boolean":return n?1108378657:1108378656;case"number":return function(e){if(e!=e||e===1/0)return 0;var t=0|e;t!==e&&(t^=4294967295*e);for(;e>4294967295;)t^=e/=4294967295;return mD(t)}(n);case"string":return n.length>DD?function(e){var t=ZD[e];void 0===t&&(t=vD(e),VD===kD&&(VD=0,ZD={}),VD++,ZD[e]=t);return t}(n):vD(n);case"object":case"function":return function(e){var t;if(LD&&void 0!==(t=yD.get(e)))return t;if(t=e[HD],void 0!==t)return t;if(!ID){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[HD]))return t;if(void 0!==(t=function(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}(e)))return t}if(t=MD(),LD)yD.set(e,t);else{if(void 0!==BD&&!1===BD(e))throw new Error("Non-extensible objects are not allowed as keys.");if(ID)Object.defineProperty(e,HD,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[HD]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[HD]=t}}return t}(n);case"symbol":return function(e){var t=QD[e];if(void 0!==t)return t;return t=MD(),QD[e]=t,t}(n);default:if("function"==typeof n.toString)return vD(n.toString());throw new Error("Value type "+typeof n+" cannot be hashed.")}}function wD(e){return null===e?1108378658:1108378659}function vD(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return mD(t)}var BD=Object.isExtensible,ID=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function MD(){var e=++xD;return 1073741824&xD&&(xD=0),e}var yD,LD="function"==typeof WeakMap;LD&&(yD=new WeakMap);var QD=Object.create(null),xD=0,HD="__immutablehash__";"function"==typeof Symbol&&(HD=Symbol(HD));var DD=16,kD=255,VD=0,ZD={},ND=function(e){function t(e,t){this._iter=e,this._useKeys=t,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return this._iter.get(e,t)},t.prototype.has=function(e){return this._iter.has(e)},t.prototype.valueSeq=function(){return this._iter.valueSeq()},t.prototype.reverse=function(){var e=this,t=FD(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,r=jD(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t,r){return e(t,r,n)}),t)},t.prototype.__iterator=function(e,t){return this._iter.__iterator(e,t)},t}(tD);ND.prototype[jH]=!0;var zD=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.includes=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var n=this,r=0;return t&&gH(this),this._iter.__iterate((function(o){return e(o,t?n.size-++r:r++,n)}),t)},t.prototype.__iterator=function(e,t){var n=this,r=this._iter.__iterator(1,t),o=0;return t&&gH(this),new XH((function(){var A=r.next();return A.done?A:YH(e,t?n.size-++o:o++,A.value,A)}))},t}(nD),PD=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.has=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new XH((function(){var t=n.next();return t.done?t:YH(e,t.value,t.value,t)}))},t}(rD),OD=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.entrySeq=function(){return this._iter.toSeq()},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){JD(t);var r=MH(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new XH((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){JD(r);var o=MH(r);return YH(e,o?r.get(0):r[0],o?r.get(1):r[1],t)}}}))},t}(tD);function SD(e){var t=$D(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=ek,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(2===t){var r=e.__iterator(t,n);return new XH((function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(1===t?0:1,n)},t}function jD(e,t,n){var r=$D(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var A=e.get(r,CH);return A===CH?o:t.call(n,A,r,e)},r.__iterateUncached=function(r,o){var A=this;return e.__iterate((function(e,o,i){return!1!==r(t.call(n,e,o,i),o,A)}),o)},r.__iteratorUncached=function(r,o){var A=e.__iterator(2,o);return new XH((function(){var o=A.next();if(o.done)return o;var i=o.value,a=i[0];return YH(r,a,t.call(n,i[1],a,e),o)}))},r}function FD(e,t){var n=this,r=$D(e);return r._iter=e,r.size=e.size,r.reverse=function(){return e},e.flip&&(r.flip=function(){var t=SD(e);return t.reverse=function(){return e.flip()},t}),r.get=function(n,r){return e.get(t?n:-1-n,r)},r.has=function(n){return e.has(t?n:-1-n)},r.includes=function(t){return e.includes(t)},r.cacheResult=ek,r.__iterate=function(n,r){var o=this,A=0;return r&&gH(e),e.__iterate((function(e,i){return n(e,t?i:r?o.size-++A:A++,o)}),!r)},r.__iterator=function(r,o){var A=0;o&&gH(e);var i=e.__iterator(2,!o);return new XH((function(){var e=i.next();if(e.done)return e;var a=e.value;return YH(r,t?a[0]:o?n.size-++A:A++,a[1],e)}))},r}function TD(e,t,n,r){var o=$D(e);return r&&(o.has=function(r){var o=e.get(r,CH);return o!==CH&&!!t.call(n,o,r,e)},o.get=function(r,o){var A=e.get(r,CH);return A!==CH&&t.call(n,A,r,e)?A:o}),o.__iterateUncached=function(o,A){var i=this,a=0;return e.__iterate((function(e,A,l){if(t.call(n,e,A,l))return a++,o(e,r?A:a-1,i)}),A),a},o.__iteratorUncached=function(o,A){var i=e.__iterator(2,A),a=0;return new XH((function(){for(;;){var A=i.next();if(A.done)return A;var l=A.value,c=l[0],s=l[1];if(t.call(n,s,c,e))return YH(o,r?c:a++,s,A)}}))},o}function RD(e,t,n,r){var o=e.size;if(EH(t,n,o))return e;if(void 0===o&&(t<0||n<0))return RD(e.toSeq().cacheResult(),t,n,r);var A,i=bH(t,o),a=wH(n,o)-i;a==a&&(A=a<0?0:a);var l=$D(e);return l.size=0===A?A:e.size&&A||void 0,!r&&zH(e)&&A>=0&&(l.get=function(t,n){return(t=hH(this,t))>=0&&t<A?e.get(t+i,n):n}),l.__iterateUncached=function(t,n){var o=this;if(0===A)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,c=0;return e.__iterate((function(e,n){if(!l||!(l=a++<i))return c++,!1!==t(e,r?n:c-1,o)&&c!==A})),c},l.__iteratorUncached=function(t,n){if(0!==A&&n)return this.cacheResult().__iterator(t,n);if(0===A)return new XH(UH);var o=e.__iterator(t,n),a=0,l=0;return new XH((function(){for(;a++<i;)o.next();if(++l>A)return{value:void 0,done:!0};var e=o.next();return r||1===t||e.done?e:YH(t,l-1,0===t?void 0:e.value[1],e)}))},l}function GD(e,t,n,r){var o=$D(e);return o.__iterateUncached=function(o,A){var i=this;if(A)return this.cacheResult().__iterate(o,A);var a=!0,l=0;return e.__iterate((function(e,A,c){if(!a||!(a=t.call(n,e,A,c)))return l++,o(e,r?A:l-1,i)})),l},o.__iteratorUncached=function(o,A){var i=this;if(A)return this.cacheResult().__iterator(o,A);var a=e.__iterator(2,A),l=!0,c=0;return new XH((function(){var e,A,s;do{if((e=a.next()).done)return r||1===o?e:YH(o,c++,0===o?void 0:e.value[1],e);var f=e.value;A=f[0],s=f[1],l&&(l=t.call(n,s,A,i))}while(l);return 2===o?e:YH(o,A,s,e)}))},o}function XD(e,t,n){var r=$D(e);return r.__iterateUncached=function(o,A){if(A)return this.cacheResult().__iterate(o,A);var i=0,a=!1;return function e(l,c){l.__iterate((function(A,l){return(!t||c<t)&&MH(A)?e(A,c+1):(i++,!1===o(A,n?l:i-1,r)&&(a=!0)),!a}),A)}(e,0),i},r.__iteratorUncached=function(r,o){if(o)return this.cacheResult().__iterator(r,o);var A=e.__iterator(r,o),i=[],a=0;return new XH((function(){for(;A;){var e=A.next();if(!1===e.done){var l=e.value;if(2===r&&(l=l[1]),t&&!(i.length<t)||!MH(l))return n?e:YH(r,a++,l,e);i.push(A),A=l.__iterator(r,o)}else A=i.pop()}return{value:void 0,done:!0}}))},r}function YD(e,t,n){t||(t=tk);var r=LH(e),o=0,A=e.toSeq().map((function(t,r){return[r,t,o++,n?n(t,r,e):t]})).valueSeq().toArray();return A.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){A[t].length=2}:function(e,t){A[t]=e[1]}),r?tD(A):xH(e)?nD(A):rD(A)}function UD(e,t,n){if(t||(t=tk),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return KD(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return KD(t,e,n)?n:e}))}function KD(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function WD(e,t,n,r){var o=$D(e),A=new oD(n).map((function(e){return e.size}));return o.size=r?A.max():A.min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(1,t),o=0;!(n=r.next()).done&&!1!==e(n.value,o++,this););return o},o.__iteratorUncached=function(e,o){var A=n.map((function(e){return e=DH(e),qH(o?e.reverse():e)})),i=0,a=!1;return new XH((function(){var n;return a||(n=A.map((function(e){return e.next()})),a=r?n.every((function(e){return e.done})):n.some((function(e){return e.done}))),a?{value:void 0,done:!0}:YH(e,i++,t.apply(null,n.map((function(e){return e.value}))))}))},o}function qD(e,t){return e===t?e:zH(e)?t:e.constructor(t)}function JD(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function _D(e){return LH(e)?kH:xH(e)?VH:ZH}function $D(e){return Object.create((LH(e)?tD:xH(e)?nD:rD).prototype)}function ek(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):eD.prototype.cacheResult.call(this)}function tk(e,t){return void 0===e&&void 0===t?0:void 0===e?1:void 0===t?-1:e>t?1:e<t?-1:0}function nk(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),o=0;o<n;o++)r[o]=e[o+t];return r}function rk(e,t){if(!e)throw new Error(t)}function ok(e){rk(e!==1/0,"Cannot perform this action with an infinite size.")}function Ak(e){if($H(e)&&"string"!=typeof e)return e;if(FH(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}zD.prototype.cacheResult=ND.prototype.cacheResult=PD.prototype.cacheResult=OD.prototype.cacheResult=ek;var ik=Object.prototype.toString;function ak(e){if(!e||"object"!=typeof e||"[object Object]"!==ik.call(e))return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var n=t,r=Object.getPrototypeOf(t);null!==r;)n=r,r=Object.getPrototypeOf(n);return n===t}function lk(e){return"object"==typeof e&&(SH(e)||Array.isArray(e)||ak(e))}function ck(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function sk(e,t){return SH(e)?e.has(t):lk(e)&&_H.call(e,t)}function fk(e,t,n){return SH(e)?e.get(t,n):sk(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function dk(e){if(Array.isArray(e))return nk(e);var t={};for(var n in e)_H.call(e,n)&&(t[n]=e[n]);return t}function Ck(e,t){if(!lk(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(SH(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!_H.call(e,t))return e;var n=dk(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}function uk(e,t,n){if(!lk(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(SH(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(_H.call(e,t)&&n===e[t])return e;var r=dk(e);return r[t]=n,r}function pk(e,t,n,r){r||(r=n,n=void 0);var o=gk(SH(e),e,Ak(t),0,n,r);return o===CH?n:o}function gk(e,t,n,r,o,A){var i=t===CH;if(r===n.length){var a=i?o:t,l=A(a);return l===a?t:l}if(!i&&!lk(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,r).map(ck)+"]: "+t);var c=n[r],s=i?CH:fk(t,c,CH),f=gk(s===CH?e:SH(s),s,n,r+1,o,A);return f===s?t:f===CH?Ck(t,c):uk(i?e?$k():{}:t,c,f)}function hk(e,t,n){return pk(e,t,CH,(function(){return n}))}function mk(e,t){return hk(this,e,t)}function Ek(e,t){return pk(e,t,(function(){return CH}))}function bk(e){return Ek(this,e)}function wk(e,t,n,r){return pk(e,[t],n,r)}function vk(e,t,n){return 1===arguments.length?e(this):wk(this,e,t,n)}function Bk(e,t,n){return pk(this,e,t,n)}function Ik(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return yk(this,e)}function Mk(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if("function"!=typeof e)throw new TypeError("Invalid merger function: "+e);return yk(this,t,e)}function yk(e,t,n){for(var r=[],o=0;o<t.length;o++){var A=kH(t[o]);0!==A.size&&r.push(A)}return 0===r.length?e:0!==e.toSeq().size||e.__ownerID||1!==r.length?e.withMutations((function(e){for(var t=n?function(t,r){wk(e,r,CH,(function(e){return e===CH?t:n(e,t,r)}))}:function(t,n){e.set(n,t)},o=0;o<r.length;o++)r[o].forEach(t)})):e.constructor(r[0])}function Lk(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return kk(e,t)}function Qk(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return kk(t,n,e)}function xk(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return Dk(e,t)}function Hk(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return Dk(t,n,e)}function Dk(e,t,n){return kk(e,t,function(e){function t(n,r,o){return lk(n)&&lk(r)&&(A=r,i=eD(n),a=eD(A),xH(i)===xH(a)&&LH(i)===LH(a))?kk(n,[r],t):e?e(n,r,o):r;var A,i,a}return t}(n))}function kk(e,t,n){if(!lk(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(SH(e))return"function"==typeof n&&e.mergeWith?e.mergeWith.apply(e,[n].concat(t)):e.merge?e.merge.apply(e,t):e.concat.apply(e,t);for(var r=Array.isArray(e),o=e,A=r?VH:kH,i=r?function(t){o===e&&(o=dk(o)),o.push(t)}:function(t,r){var A=_H.call(o,r),i=A&&n?n(o[r],t,r):t;A&&i===o[r]||(o===e&&(o=dk(o)),o[r]=i)},a=0;a<t.length;a++)A(t[a]).forEach(i);return o}function Vk(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return Dk(this,e)}function Zk(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return Dk(this,t,e)}function Nk(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return pk(this,e,$k(),(function(e){return kk(e,t)}))}function zk(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return pk(this,e,$k(),(function(e){return Dk(e,t)}))}function Pk(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function Ok(){return this.__ownerID?this:this.__ensureOwner(new pH)}function Sk(){return this.__ensureOwner()}function jk(){return this.__altered}var Fk=function(e){function t(t){return null==t?$k():CD(t)&&!FH(t)?t:$k().withMutations((function(n){var r=e(t);ok(r.size),r.forEach((function(e,t){return n.set(t,e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return $k().withMutations((function(t){for(var n=0;n<e.length;n+=2){if(n+1>=e.length)throw new Error("Missing value for key: "+e[n]);t.set(e[n],e[n+1])}}))},t.prototype.toString=function(){return this.__toString("Map {","}")},t.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},t.prototype.set=function(e,t){return eV(this,e,t)},t.prototype.remove=function(e){return eV(this,e,CH)},t.prototype.deleteAll=function(e){var t=DH(e);return 0===t.size?this:this.withMutations((function(e){t.forEach((function(t){return e.remove(t)}))}))},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):$k()},t.prototype.sort=function(e){return MV(YD(this,e))},t.prototype.sortBy=function(e,t){return MV(YD(this,t,e))},t.prototype.map=function(e,t){var n=this;return this.withMutations((function(r){r.forEach((function(o,A){r.set(A,e.call(t,o,A,n))}))}))},t.prototype.__iterator=function(e,t){return new Wk(this,e,t)},t.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?_k(this.size,this._root,e,this.__hash):0===this.size?$k():(this.__ownerID=e,this.__altered=!1,this)},t}(kH);Fk.isMap=CD;var Tk=Fk.prototype;Tk[dD]=!0,Tk[sH]=Tk.remove,Tk.removeAll=Tk.deleteAll,Tk.setIn=mk,Tk.removeIn=Tk.deleteIn=bk,Tk.update=vk,Tk.updateIn=Bk,Tk.merge=Tk.concat=Ik,Tk.mergeWith=Mk,Tk.mergeDeep=Vk,Tk.mergeDeepWith=Zk,Tk.mergeIn=Nk,Tk.mergeDeepIn=zk,Tk.withMutations=Pk,Tk.wasAltered=jk,Tk.asImmutable=Sk,Tk["@@transducer/init"]=Tk.asMutable=Ok,Tk["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},Tk["@@transducer/result"]=function(e){return e.asImmutable()};var Rk=function(e,t){this.ownerID=e,this.entries=t};Rk.prototype.get=function(e,t,n,r){for(var o=this.entries,A=0,i=o.length;A<i;A++)if(gD(n,o[A][0]))return o[A][1];return r},Rk.prototype.update=function(e,t,n,r,o,A,i){for(var a=o===CH,l=this.entries,c=0,s=l.length;c<s&&!gD(r,l[c][0]);c++);var f=c<s;if(f?l[c][1]===o:a)return this;if(uH(i),(a||!f)&&uH(A),!a||1!==l.length){if(!f&&!a&&l.length>=iV)return function(e,t,n,r){e||(e=new pH);for(var o=new Uk(e,bD(n),[n,r]),A=0;A<t.length;A++){var i=t[A];o=o.update(e,0,void 0,i[0],i[1])}return o}(e,l,r,o);var d=e&&e===this.ownerID,C=d?l:nk(l);return f?a?c===s-1?C.pop():C[c]=C.pop():C[c]=[r,o]:C.push([r,o]),d?(this.entries=C,this):new Rk(e,C)}};var Gk=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};Gk.prototype.get=function(e,t,n,r){void 0===t&&(t=bD(n));var o=1<<((0===e?t:t>>>e)&dH),A=this.bitmap;return A&o?this.nodes[oV(A&o-1)].get(e+5,t,n,r):r},Gk.prototype.update=function(e,t,n,r,o,A,i){void 0===n&&(n=bD(r));var a=(0===t?n:n>>>t)&dH,l=1<<a,c=this.bitmap,s=!!(c&l);if(!s&&o===CH)return this;var f=oV(c&l-1),d=this.nodes,C=s?d[f]:void 0,u=tV(C,e,t+5,n,r,o,A,i);if(u===C)return this;if(!s&&u&&d.length>=aV)return function(e,t,n,r,o){for(var A=0,i=new Array(fH),a=0;0!==n;a++,n>>>=1)i[a]=1&n?t[A++]:void 0;return i[r]=o,new Xk(e,A+1,i)}(e,d,c,a,u);if(s&&!u&&2===d.length&&nV(d[1^f]))return d[1^f];if(s&&u&&1===d.length&&nV(u))return u;var p=e&&e===this.ownerID,g=s?u?c:c^l:c|l,h=s?u?AV(d,f,u,p):function(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var o=new Array(r),A=0,i=0;i<r;i++)i===t&&(A=1),o[i]=e[i+A];return o}(d,f,p):function(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var A=new Array(o),i=0,a=0;a<o;a++)a===t?(A[a]=n,i=-1):A[a]=e[a+i];return A}(d,f,u,p);return p?(this.bitmap=g,this.nodes=h,this):new Gk(e,g,h)};var Xk=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};Xk.prototype.get=function(e,t,n,r){void 0===t&&(t=bD(n));var o=(0===e?t:t>>>e)&dH,A=this.nodes[o];return A?A.get(e+5,t,n,r):r},Xk.prototype.update=function(e,t,n,r,o,A,i){void 0===n&&(n=bD(r));var a=(0===t?n:n>>>t)&dH,l=o===CH,c=this.nodes,s=c[a];if(l&&!s)return this;var f=tV(s,e,t+5,n,r,o,A,i);if(f===s)return this;var d=this.count;if(s){if(!f&&--d<lV)return function(e,t,n,r){for(var o=0,A=0,i=new Array(n),a=0,l=1,c=t.length;a<c;a++,l<<=1){var s=t[a];void 0!==s&&a!==r&&(o|=l,i[A++]=s)}return new Gk(e,o,i)}(e,c,d,a)}else d++;var C=e&&e===this.ownerID,u=AV(c,a,f,C);return C?(this.count=d,this.nodes=u,this):new Xk(e,d,u)};var Yk=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};Yk.prototype.get=function(e,t,n,r){for(var o=this.entries,A=0,i=o.length;A<i;A++)if(gD(n,o[A][0]))return o[A][1];return r},Yk.prototype.update=function(e,t,n,r,o,A,i){void 0===n&&(n=bD(r));var a=o===CH;if(n!==this.keyHash)return a?this:(uH(i),uH(A),rV(this,e,t,n,[r,o]));for(var l=this.entries,c=0,s=l.length;c<s&&!gD(r,l[c][0]);c++);var f=c<s;if(f?l[c][1]===o:a)return this;if(uH(i),(a||!f)&&uH(A),a&&2===s)return new Uk(e,this.keyHash,l[1^c]);var d=e&&e===this.ownerID,C=d?l:nk(l);return f?a?c===s-1?C.pop():C[c]=C.pop():C[c]=[r,o]:C.push([r,o]),d?(this.entries=C,this):new Yk(e,this.keyHash,C)};var Uk=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};Uk.prototype.get=function(e,t,n,r){return gD(n,this.entry[0])?this.entry[1]:r},Uk.prototype.update=function(e,t,n,r,o,A,i){var a=o===CH,l=gD(r,this.entry[0]);return(l?o===this.entry[1]:a)?this:(uH(i),a?void uH(A):l?e&&e===this.ownerID?(this.entry[1]=o,this):new Uk(e,this.keyHash,[r,o]):(uH(A),rV(this,e,t,bD(r),[r,o])))},Rk.prototype.iterate=Yk.prototype.iterate=function(e,t){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===e(n[t?o-r:r]))return!1},Gk.prototype.iterate=Xk.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var A=n[t?o-r:r];if(A&&!1===A.iterate(e,t))return!1}},Uk.prototype.iterate=function(e,t){return e(this.entry)};var Kk,Wk=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&Jk(e._root)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n=t.node,r=t.index++,o=void 0;if(n.entry){if(0===r)return qk(e,n.entry)}else if(n.entries){if(r<=(o=n.entries.length-1))return qk(e,n.entries[this._reverse?o-r:r])}else if(r<=(o=n.nodes.length-1)){var A=n.nodes[this._reverse?o-r:r];if(A){if(A.entry)return qk(e,A.entry);t=this._stack=Jk(A,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(XH);function qk(e,t){return YH(e,t[0],t[1])}function Jk(e,t){return{node:e,index:0,__prev:t}}function _k(e,t,n,r){var o=Object.create(Tk);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function $k(){return Kk||(Kk=_k(0))}function eV(e,t,n){var r,o;if(e._root){var A={value:!1},i={value:!1};if(r=tV(e._root,e.__ownerID,0,void 0,t,n,A,i),!i.value)return e;o=e.size+(A.value?n===CH?-1:1:0)}else{if(n===CH)return e;o=1,r=new Rk(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?_k(o,r):$k()}function tV(e,t,n,r,o,A,i,a){return e?e.update(t,n,r,o,A,i,a):A===CH?e:(uH(a),uH(i),new Uk(t,r,[o,A]))}function nV(e){return e.constructor===Uk||e.constructor===Yk}function rV(e,t,n,r,o){if(e.keyHash===r)return new Yk(t,r,[e.entry,o]);var A,i=(0===n?e.keyHash:e.keyHash>>>n)&dH,a=(0===n?r:r>>>n)&dH,l=i===a?[rV(e,t,n+5,r,o)]:(A=new Uk(t,r,o),i<a?[e,A]:[A,e]);return new Gk(t,1<<i|1<<a,l)}function oV(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function AV(e,t,n,r){var o=r?e:nk(e);return o[t]=n,o}var iV=8,aV=16,lV=8,cV="@@__IMMUTABLE_LIST__@@";function sV(e){return Boolean(e&&e[cV])}var fV=function(e){function t(t){var n=mV();if(null==t)return n;if(sV(t))return t;var r=e(t),o=r.size;return 0===o?n:(ok(o),o>0&&o<fH?hV(0,o,5,null,new CV(r.toArray())):n.withMutations((function(e){e.setSize(o),r.forEach((function(t,n){return e.set(n,t)}))})))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("List [","]")},t.prototype.get=function(e,t){if((e=hH(this,e))>=0&&e<this.size){var n=wV(this,e+=this._origin);return n&&n.array[e&dH]}return t},t.prototype.set=function(e,t){return function(e,t,n){if(t=hH(e,t),t!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?vV(e,t).set(0,n):vV(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,o=e._root,A={value:!1};t>=BV(e._capacity)?r=EV(r,e.__ownerID,0,t,n,A):o=EV(o,e.__ownerID,e._level,t,n,A);if(!A.value)return e;if(e.__ownerID)return e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e;return hV(e._origin,e._capacity,e._level,o,r)}(this,e,t)},t.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},t.prototype.insert=function(e,t){return this.splice(e,0,t)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=this.__hash=void 0,this.__altered=!0,this):mV()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){vV(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},t.prototype.pop=function(){return vV(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){vV(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return vV(this,1)},t.prototype.concat=function(){for(var t=arguments,n=[],r=0;r<arguments.length;r++){var o=t[r],A=e("string"!=typeof o&&KH(o)?o:[o]);0!==A.size&&n.push(A)}return 0===n.length?this:0!==this.size||this.__ownerID||1!==n.length?this.withMutations((function(e){n.forEach((function(t){return t.forEach((function(t){return e.push(t)}))}))})):this.constructor(n[0])},t.prototype.setSize=function(e){return vV(this,0,e)},t.prototype.map=function(e,t){var n=this;return this.withMutations((function(r){for(var o=0;o<n.size;o++)r.set(o,e.call(t,r.get(o),o,n))}))},t.prototype.slice=function(e,t){var n=this.size;return EH(e,t,n)?this:vV(this,bH(e,n),wH(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,r=gV(this,t);return new XH((function(){var o=r();return o===pV?{value:void 0,done:!0}:YH(e,t?--n:n++,o)}))},t.prototype.__iterate=function(e,t){for(var n,r=t?this.size:0,o=gV(this,t);(n=o())!==pV&&!1!==e(n,t?--r:r++,this););return r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?hV(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?mV():(this.__ownerID=e,this.__altered=!1,this)},t}(VH);fV.isList=sV;var dV=fV.prototype;dV[cV]=!0,dV[sH]=dV.remove,dV.merge=dV.concat,dV.setIn=mk,dV.deleteIn=dV.removeIn=bk,dV.update=vk,dV.updateIn=Bk,dV.mergeIn=Nk,dV.mergeDeepIn=zk,dV.withMutations=Pk,dV.wasAltered=jk,dV.asImmutable=Sk,dV["@@transducer/init"]=dV.asMutable=Ok,dV["@@transducer/step"]=function(e,t){return e.push(t)},dV["@@transducer/result"]=function(e){return e.asImmutable()};var CV=function(e,t){this.array=e,this.ownerID=t};CV.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&dH;if(r>=this.array.length)return new CV([],e);var o,A=0===r;if(t>0){var i=this.array[r];if((o=i&&i.removeBefore(e,t-5,n))===i&&A)return this}if(A&&!o)return this;var a=bV(this,e);if(!A)for(var l=0;l<r;l++)a.array[l]=void 0;return o&&(a.array[r]=o),a},CV.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,o=n-1>>>t&dH;if(o>=this.array.length)return this;if(t>0){var A=this.array[o];if((r=A&&A.removeAfter(e,t-5,n))===A&&o===this.array.length-1)return this}var i=bV(this,e);return i.array.splice(o+1),r&&(i.array[o]=r),i};var uV,pV={};function gV(e,t){var n=e._origin,r=e._capacity,o=BV(r),A=e._tail;return i(e._root,e._level,0);function i(e,a,l){return 0===a?function(e,i){var a=i===o?A&&A.array:e&&e.array,l=i>n?0:n-i,c=r-i;c>fH&&(c=fH);return function(){if(l===c)return pV;var e=t?--c:l++;return a&&a[e]}}(e,l):function(e,o,A){var a,l=e&&e.array,c=A>n?0:n-A>>o,s=1+(r-A>>o);s>fH&&(s=fH);return function(){for(;;){if(a){var e=a();if(e!==pV)return e;a=null}if(c===s)return pV;var n=t?--s:c++;a=i(l&&l[n],o-5,A+(n<<o))}}}(e,a,l)}}function hV(e,t,n,r,o,A,i){var a=Object.create(dV);return a.size=t-e,a._origin=e,a._capacity=t,a._level=n,a._root=r,a._tail=o,a.__ownerID=A,a.__hash=i,a.__altered=!1,a}function mV(){return uV||(uV=hV(0,0,5))}function EV(e,t,n,r,o,A){var i,a=r>>>n&dH,l=e&&a<e.array.length;if(!l&&void 0===o)return e;if(n>0){var c=e&&e.array[a],s=EV(c,t,n-5,r,o,A);return s===c?e:((i=bV(e,t)).array[a]=s,i)}return l&&e.array[a]===o?e:(A&&uH(A),i=bV(e,t),void 0===o&&a===i.array.length-1?i.array.pop():i.array[a]=o,i)}function bV(e,t){return t&&e&&t===e.ownerID?e:new CV(e?e.array.slice():[],t)}function wV(e,t){if(t>=BV(e._capacity))return e._tail;if(t<1<<e._level+5){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&dH],r-=5;return n}}function vV(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new pH,o=e._origin,A=e._capacity,i=o+t,a=void 0===n?A:n<0?A+n:o+n;if(i===o&&a===A)return e;if(i>=a)return e.clear();for(var l=e._level,c=e._root,s=0;i+s<0;)c=new CV(c&&c.array.length?[void 0,c]:[],r),s+=1<<(l+=5);s&&(i+=s,o+=s,a+=s,A+=s);for(var f=BV(A),d=BV(a);d>=1<<l+5;)c=new CV(c&&c.array.length?[c]:[],r),l+=5;var C=e._tail,u=d<f?wV(e,a-1):d>f?new CV([],r):C;if(C&&d>f&&i<A&&C.array.length){for(var p=c=bV(c,r),g=l;g>5;g-=5){var h=f>>>g&dH;p=p.array[h]=bV(p.array[h],r)}p.array[f>>>5&dH]=C}if(a<A&&(u=u&&u.removeAfter(r,0,a)),i>=d)i-=d,a-=d,l=5,c=null,u=u&&u.removeBefore(r,0,i);else if(i>o||d<f){for(s=0;c;){var m=i>>>l&dH;if(m!==d>>>l&dH)break;m&&(s+=(1<<l)*m),l-=5,c=c.array[m]}c&&i>o&&(c=c.removeBefore(r,l,i-s)),c&&d<f&&(c=c.removeAfter(r,l,d-s)),s&&(i-=s,a-=s)}return e.__ownerID?(e.size=a-i,e._origin=i,e._capacity=a,e._level=l,e._root=c,e._tail=u,e.__hash=void 0,e.__altered=!0,e):hV(i,a,l,c,u)}function BV(e){return e<fH?0:e-1>>>5<<5}var IV,MV=function(e){function t(e){return null==e?LV():uD(e)?e:LV().withMutations((function(t){var n=kH(e);ok(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("OrderedMap {","}")},t.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this.__altered=!0,this):LV()},t.prototype.set=function(e,t){return QV(this,e,t)},t.prototype.remove=function(e){return QV(this,e,CH)},t.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},t.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?yV(t,n,e,this.__hash):0===this.size?LV():(this.__ownerID=e,this.__altered=!1,this._map=t,this._list=n,this)},t}(Fk);function yV(e,t,n,r){var o=Object.create(MV.prototype);return o.size=e?e.size:0,o._map=e,o._list=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function LV(){return IV||(IV=yV($k(),mV()))}function QV(e,t,n){var r,o,A=e._map,i=e._list,a=A.get(t),l=void 0!==a;if(n===CH){if(!l)return e;i.size>=fH&&i.size>=2*A.size?(r=(o=i.filter((function(e,t){return void 0!==e&&a!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=A.remove(t),o=a===i.size-1?i.pop():i.set(a,void 0))}else if(l){if(n===i.get(a)[1])return e;r=A,o=i.set(a,[t,n])}else r=A.set(t,i.size),o=i.set(i.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e.__altered=!0,e):yV(r,o)}MV.isOrderedMap=uD,MV.prototype[jH]=!0,MV.prototype[sH]=MV.prototype.remove;var xV="@@__IMMUTABLE_STACK__@@";function HV(e){return Boolean(e&&e[xV])}var DV=function(e){function t(e){return null==e?NV():HV(e)?e:NV().pushAll(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("Stack [","]")},t.prototype.get=function(e,t){var n=this._head;for(e=hH(this,e);n&&e--;)n=n.next;return n?n.value:t},t.prototype.peek=function(){return this._head&&this._head.value},t.prototype.push=function(){var e=arguments;if(0===arguments.length)return this;for(var t=this.size+arguments.length,n=this._head,r=arguments.length-1;r>=0;r--)n={value:e[r],next:n};return this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):ZV(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&HV(t))return t;ok(t.size);var n=this.size,r=this._head;return t.__iterate((function(e){n++,r={value:e,next:r}}),!0),this.__ownerID?(this.size=n,this._head=r,this.__hash=void 0,this.__altered=!0,this):ZV(n,r)},t.prototype.pop=function(){return this.slice(1)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):NV()},t.prototype.slice=function(t,n){if(EH(t,n,this.size))return this;var r=bH(t,this.size);if(wH(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var o=this.size-r,A=this._head;r--;)A=A.next;return this.__ownerID?(this.size=o,this._head=A,this.__hash=void 0,this.__altered=!0,this):ZV(o,A)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?ZV(this.size,this._head,e,this.__hash):0===this.size?NV():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new oD(this.toArray()).__iterate((function(t,r){return e(t,r,n)}),t);for(var r=0,o=this._head;o&&!1!==e(o.value,r++,this);)o=o.next;return r},t.prototype.__iterator=function(e,t){if(t)return new oD(this.toArray()).__iterator(e,t);var n=0,r=this._head;return new XH((function(){if(r){var t=r.value;return r=r.next,YH(e,n++,t)}return{value:void 0,done:!0}}))},t}(VH);DV.isStack=HV;var kV,VV=DV.prototype;function ZV(e,t,n,r){var o=Object.create(VV);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function NV(){return kV||(kV=ZV(0))}VV[xV]=!0,VV.shift=VV.pop,VV.unshift=VV.push,VV.unshiftAll=VV.pushAll,VV.withMutations=Pk,VV.wasAltered=jk,VV.asImmutable=Sk,VV["@@transducer/init"]=VV.asMutable=Ok,VV["@@transducer/step"]=function(e,t){return e.unshift(t)},VV["@@transducer/result"]=function(e){return e.asImmutable()};var zV="@@__IMMUTABLE_SET__@@";function PV(e){return Boolean(e&&e[zV])}function OV(e){return PV(e)&&FH(e)}function SV(e,t){if(e===t)return!0;if(!MH(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||LH(e)!==LH(t)||xH(e)!==xH(t)||FH(e)!==FH(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!HH(e);if(FH(e)){var r=e.entries();return t.every((function(e,t){var o=r.next().value;return o&&gD(o[1],e)&&(n||gD(o[0],t))}))&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var A=e;e=t,t=A}var i=!0,a=t.__iterate((function(t,r){if(n?!e.has(t):o?!gD(t,e.get(r,CH)):!gD(e.get(r,CH),t))return i=!1,!1}));return i&&e.size===a}function jV(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}function FV(e){if(!e||"object"!=typeof e)return e;if(!MH(e)){if(!lk(e))return e;e=eD(e)}if(LH(e)){var t={};return e.__iterate((function(e,n){t[n]=FV(e)})),t}var n=[];return e.__iterate((function(e){n.push(FV(e))})),n}var TV=function(e){function t(t){return null==t?UV():PV(t)&&!FH(t)?t:UV().withMutations((function(n){var r=e(t);ok(r.size),r.forEach((function(e){return n.add(e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(kH(e).keySeq())},t.intersect=function(e){return(e=DH(e).toArray()).length?GV.intersect.apply(t(e.pop()),e):UV()},t.union=function(e){return(e=DH(e).toArray()).length?GV.union.apply(t(e.pop()),e):UV()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return XV(this,this._map.set(e,e))},t.prototype.remove=function(e){return XV(this,this._map.remove(e))},t.prototype.clear=function(){return XV(this,this._map.clear())},t.prototype.map=function(e,t){var n=this,r=!1,o=XV(this,this._map.mapEntries((function(o){var A=o[1],i=e.call(t,A,A,n);return i!==A&&(r=!0),[i,i]}),t));return r?o:this},t.prototype.union=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return 0===(t=t.filter((function(e){return 0!==e.size}))).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(n){for(var r=0;r<t.length;r++)"string"==typeof t[r]?n.add(t[r]):e(t[r]).forEach((function(e){return n.add(e)}))})):this.constructor(t[0])},t.prototype.intersect=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var r=[];return this.forEach((function(e){t.every((function(t){return t.includes(e)}))||r.push(e)})),this.withMutations((function(e){r.forEach((function(t){e.remove(t)}))}))},t.prototype.subtract=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var r=[];return this.forEach((function(e){t.some((function(t){return t.includes(e)}))&&r.push(e)})),this.withMutations((function(e){r.forEach((function(t){e.remove(t)}))}))},t.prototype.sort=function(e){return dZ(YD(this,e))},t.prototype.sortBy=function(e,t){return dZ(YD(this,t,e))},t.prototype.wasAltered=function(){return this._map.wasAltered()},t.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t){return e(t,t,n)}),t)},t.prototype.__iterator=function(e,t){return this._map.__iterator(e,t)},t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):0===this.size?this.__empty():(this.__ownerID=e,this._map=t,this)},t}(ZH);TV.isSet=PV;var RV,GV=TV.prototype;function XV(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function YV(e,t){var n=Object.create(GV);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function UV(){return RV||(RV=YV($k()))}GV[zV]=!0,GV[sH]=GV.remove,GV.merge=GV.concat=GV.union,GV.withMutations=Pk,GV.asImmutable=Sk,GV["@@transducer/init"]=GV.asMutable=Ok,GV["@@transducer/step"]=function(e,t){return e.add(t)},GV["@@transducer/result"]=function(e){return e.asImmutable()},GV.__empty=UV,GV.__make=YV;var KV,WV=function(e){function t(e,n,r){if(!(this instanceof t))return new t(e,n,r);if(rk(0!==r,"Cannot step a Range by 0"),e=e||0,void 0===n&&(n=1/0),r=void 0===r?1:Math.abs(r),n<e&&(r=-r),this._start=e,this._end=n,this._step=r,this.size=Math.max(0,Math.ceil((n-e)/r-1)+1),0===this.size){if(KV)return KV;KV=this}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},t.prototype.get=function(e,t){return this.has(e)?this._start+hH(this,e)*this._step:t},t.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},t.prototype.slice=function(e,n){return EH(e,n,this.size)?this:(e=bH(e,this.size),(n=wH(n,this.size))<=e?new t(0,0):new t(this.get(e,this._end),this.get(n,this._end),this._step))},t.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},t.prototype.lastIndexOf=function(e){return this.indexOf(e)},t.prototype.__iterate=function(e,t){for(var n=this.size,r=this._step,o=t?this._start+(n-1)*r:this._start,A=0;A!==n&&!1!==e(o,t?n-++A:A++,this);)o+=t?-r:r;return A},t.prototype.__iterator=function(e,t){var n=this.size,r=this._step,o=t?this._start+(n-1)*r:this._start,A=0;return new XH((function(){if(A===n)return{value:void 0,done:!0};var i=o;return o+=t?-r:r,YH(e,t?n-++A:A++,i)}))},t.prototype.equals=function(e){return e instanceof t?this._start===e._start&&this._end===e._end&&this._step===e._step:SV(this,e)},t}(nD);function qV(e,t,n){for(var r=Ak(t),o=0;o!==r.length;)if((e=fk(e,r[o++],CH))===CH)return n;return e}function JV(e,t){return qV(this,e,t)}function _V(e,t){return qV(e,t,CH)!==CH}function $V(){ok(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}DH.isIterable=MH,DH.isKeyed=LH,DH.isIndexed=xH,DH.isAssociative=HH,DH.isOrdered=FH,DH.Iterator=XH,jV(DH,{toArray:function(){ok(this.size);var e=new Array(this.size||0),t=LH(this),n=0;return this.__iterate((function(r,o){e[n++]=t?[o,r]:r})),e},toIndexedSeq:function(){return new zD(this)},toJS:function(){return FV(this)},toKeyedSeq:function(){return new ND(this,!0)},toMap:function(){return Fk(this.toKeyedSeq())},toObject:$V,toOrderedMap:function(){return MV(this.toKeyedSeq())},toOrderedSet:function(){return dZ(LH(this)?this.valueSeq():this)},toSet:function(){return TV(LH(this)?this.valueSeq():this)},toSetSeq:function(){return new PD(this)},toSeq:function(){return xH(this)?this.toIndexedSeq():LH(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return DV(LH(this)?this.valueSeq():this)},toList:function(){return fV(LH(this)?this.valueSeq():this)},toString:function(){return"[Collection]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return qD(this,function(e,t){var n=LH(e),r=[e].concat(t).map((function(e){return MH(e)?n&&(e=kH(e)):e=n?cD(e):sD(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var o=r[0];if(o===e||n&&LH(o)||xH(e)&&xH(o))return o}var A=new oD(r);return n?A=A.toKeyedSeq():xH(e)||(A=A.toSetSeq()),(A=A.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),A}(this,e))},includes:function(e){return this.some((function(t){return gD(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){ok(this.size);var n=!0;return this.__iterate((function(r,o,A){if(!e.call(t,r,o,A))return n=!1,!1})),n},filter:function(e,t){return qD(this,TD(this,e,t,!0))},partition:function(e,t){return function(e,t,n){var r=LH(e),o=[[],[]];e.__iterate((function(A,i){o[t.call(n,A,i,e)?1:0].push(r?[i,A]:A)}));var A=_D(e);return o.map((function(t){return qD(e,A(t))}))}(this,e,t)},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},forEach:function(e,t){return ok(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){ok(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(0)},map:function(e,t){return qD(this,jD(this,e,t))},reduce:function(e,t,n){return oZ(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return oZ(this,e,t,n,arguments.length<2,!0)},reverse:function(){return qD(this,FD(this,!0))},slice:function(e,t){return qD(this,RD(this,e,t,!0))},some:function(e,t){ok(this.size);var n=!1;return this.__iterate((function(r,o,A){if(e.call(t,r,o,A))return n=!0,!1})),n},sort:function(e){return qD(this,YD(this,e))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return gH(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var r=Fk().asMutable();return e.__iterate((function(o,A){r.update(t.call(n,o,A,e),0,(function(e){return e+1}))})),r.asImmutable()}(this,e,t)},equals:function(e){return SV(this,e)},entrySeq:function(){var e=this;if(e._cache)return new oD(e._cache);var t=e.toSeq().map(iZ).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(aZ(e),t)},findEntry:function(e,t,n){var r=n;return this.__iterate((function(n,o,A){if(e.call(t,n,o,A))return r=[o,n],!1})),r},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(e){return this.find(mH,null,e)},flatMap:function(e,t){return qD(this,function(e,t,n){var r=_D(e);return e.toSeq().map((function(o,A){return r(t.call(n,o,A,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return qD(this,XD(this,e,!0))},fromEntrySeq:function(){return new OD(this)},get:function(e,t){return this.find((function(t,n){return gD(n,e)}),void 0,t)},getIn:JV,groupBy:function(e,t){return function(e,t,n){var r=LH(e),o=(FH(e)?MV():Fk()).asMutable();e.__iterate((function(A,i){o.update(t.call(n,A,i,e),(function(e){return(e=e||[]).push(r?[i,A]:A),e}))}));var A=_D(e);return o.map((function(t){return qD(e,A(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,CH)!==CH},hasIn:function(e){return _V(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:DH(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:DH(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return gD(t,e)}))},keySeq:function(){return this.toSeq().map(AZ).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return UD(this,e)},maxBy:function(e,t){return UD(this,t,e)},min:function(e){return UD(this,e?lZ(e):sZ)},minBy:function(e,t){return UD(this,t?lZ(t):sZ,e)},rest:function(){return this.slice(1)},skip:function(e){return 0===e?this:this.slice(Math.max(0,e))},skipLast:function(e){return 0===e?this:this.slice(0,-Math.max(0,e))},skipWhile:function(e,t){return qD(this,GD(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(aZ(e),t)},sortBy:function(e,t){return qD(this,YD(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return this.slice(-Math.max(0,e))},takeWhile:function(e,t){return qD(this,function(e,t,n){var r=$D(e);return r.__iterateUncached=function(r,o){var A=this;if(o)return this.cacheResult().__iterate(r,o);var i=0;return e.__iterate((function(e,o,a){return t.call(n,e,o,a)&&++i&&r(e,o,A)})),i},r.__iteratorUncached=function(r,o){var A=this;if(o)return this.cacheResult().__iterator(r,o);var i=e.__iterator(2,o),a=!0;return new XH((function(){if(!a)return{value:void 0,done:!0};var e=i.next();if(e.done)return e;var o=e.value,l=o[0],c=o[1];return t.call(n,c,l,A)?2===r?e:YH(r,l,c,e):(a=!1,{value:void 0,done:!0})}))},r}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(aZ(e),t)},update:function(e){return e(this)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(e){if(e.size===1/0)return 0;var t=FH(e),n=LH(e),r=t?1:0,o=e.__iterate(n?t?function(e,t){r=31*r+fZ(bD(e),bD(t))|0}:function(e,t){r=r+fZ(bD(e),bD(t))|0}:t?function(e){r=31*r+bD(e)|0}:function(e){r=r+bD(e)|0});return function(e,t){return t=hD(t,3432918353),t=hD(t<<15|t>>>-15,461845907),t=hD(t<<13|t>>>-13,5),t=t+3864292196^e,t=hD(t^t>>>16,2246822507),t=hD(t^t>>>13,3266489909),t=mD(t^t>>>16),t}(o,r)}(this))}});var eZ=DH.prototype;eZ[IH]=!0,eZ[GH]=eZ.values,eZ.toJSON=eZ.toArray,eZ.__toStringMapper=ck,eZ.inspect=eZ.toSource=function(){return this.toString()},eZ.chain=eZ.flatMap,eZ.contains=eZ.includes,jV(kH,{flip:function(){return qD(this,SD(this))},mapEntries:function(e,t){var n=this,r=0;return qD(this,this.toSeq().map((function(o,A){return e.call(t,[A,o],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return qD(this,this.toSeq().flip().map((function(r,o){return e.call(t,r,o,n)})).flip())}});var tZ=kH.prototype;tZ[yH]=!0,tZ[GH]=eZ.entries,tZ.toJSON=$V,tZ.__toStringMapper=function(e,t){return ck(t)+": "+ck(e)},jV(VH,{toKeyedSeq:function(){return new ND(this,!1)},filter:function(e,t){return qD(this,TD(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return qD(this,FD(this,!1))},slice:function(e,t){return qD(this,RD(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(t||0,0),0===n||2===n&&!t)return this;e=bH(e,e<0?this.count():this.size);var r=this.slice(0,e);return qD(this,1===n?r:r.concat(nk(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(e){return this.get(0,e)},flatten:function(e){return qD(this,XD(this,e,!1))},get:function(e,t){return(e=hH(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=hH(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return qD(this,function(e,t){var n=$D(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var o=this,A=0;return e.__iterate((function(e){return(!A||!1!==n(t,A++,o))&&!1!==n(e,A++,o)}),r),A},n.__iteratorUncached=function(n,r){var o,A=e.__iterator(1,r),i=0;return new XH((function(){return(!o||i%2)&&(o=A.next()).done?o:i%2?YH(n,i++,t):YH(n,i++,o.value,o)}))},n}(this,e))},interleave:function(){var e=[this].concat(nk(arguments)),t=WD(this.toSeq(),nD.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),qD(this,n)},keySeq:function(){return WV(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return qD(this,GD(this,e,t,!1))},zip:function(){return qD(this,WD(this,cZ,[this].concat(nk(arguments))))},zipAll:function(){return qD(this,WD(this,cZ,[this].concat(nk(arguments)),!0))},zipWith:function(e){var t=nk(arguments);return t[0]=this,qD(this,WD(this,e,t))}});var nZ=VH.prototype;nZ[QH]=!0,nZ[jH]=!0,jV(ZH,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}});var rZ=ZH.prototype;function oZ(e,t,n,r,o,A){return ok(e.size),e.__iterate((function(e,A,i){o?(o=!1,n=e):n=t.call(r,n,e,A,i)}),A),n}function AZ(e,t){return t}function iZ(e,t){return[t,e]}function aZ(e){return function(){return!e.apply(this,arguments)}}function lZ(e){return function(){return-e.apply(this,arguments)}}function cZ(){return nk(arguments)}function sZ(e,t){return e<t?1:e>t?-1:0}function fZ(e,t){return e^t+2654435769+(e<<6)+(e>>2)}rZ.has=eZ.includes,rZ.contains=rZ.includes,rZ.keys=rZ.values,jV(tD,tZ),jV(nD,nZ),jV(rD,rZ);var dZ=function(e){function t(e){return null==e?gZ():OV(e)?e:gZ().withMutations((function(t){var n=ZH(e);ok(n.size),n.forEach((function(e){return t.add(e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(kH(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(TV);dZ.isOrderedSet=OV;var CZ,uZ=dZ.prototype;function pZ(e,t){var n=Object.create(uZ);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function gZ(){return CZ||(CZ=pZ(LV()))}uZ[jH]=!0,uZ.zip=nZ.zip,uZ.zipWith=nZ.zipWith,uZ.zipAll=nZ.zipAll,uZ.__empty=gZ,uZ.__make=pZ;var hZ={LeftThenRight:-1,RightThenLeft:1};var mZ=function(e,t){var n;!function(e){if(OH(e))throw new Error("Can not call `Record` with an immutable Record as default values. Use a plain javascript object instead.");if(SH(e))throw new Error("Can not call `Record` with an immutable Collection as default values. Use a plain javascript object instead.");if(null===e||"object"!=typeof e)throw new Error("Can not call `Record` with a non-object as default values. Use a plain javascript object instead.")}(e);var r=function(A){var i=this;if(A instanceof r)return A;if(!(this instanceof r))return new r(A);if(!n){n=!0;var a=Object.keys(e),l=o._indices={};o._name=t,o._keys=a,o._defaultValues=e;for(var c=0;c<a.length;c++){var s=a[c];l[s]=c,o[s]?"object"==typeof console&&console.warn&&console.warn("Cannot define "+wZ(this)+' with property "'+s+'" since that property name is part of the Record API.'):BZ(o,s)}}return this.__ownerID=void 0,this._values=fV().withMutations((function(e){e.setSize(i._keys.length),kH(A).forEach((function(t,n){e.set(i._indices[n],t===i._defaultValues[n]?void 0:t)}))})),this},o=r.prototype=Object.create(EZ);return o.constructor=r,t&&(r.displayName=t),r};mZ.prototype.toString=function(){for(var e,t=wZ(this)+" { ",n=this._keys,r=0,o=n.length;r!==o;r++)t+=(r?", ":"")+(e=n[r])+": "+ck(this.get(e));return t+" }"},mZ.prototype.equals=function(e){return this===e||OH(e)&&vZ(this).equals(vZ(e))},mZ.prototype.hashCode=function(){return vZ(this).hashCode()},mZ.prototype.has=function(e){return this._indices.hasOwnProperty(e)},mZ.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._indices[e],r=this._values.get(n);return void 0===r?this._defaultValues[e]:r},mZ.prototype.set=function(e,t){if(this.has(e)){var n=this._values.set(this._indices[e],t===this._defaultValues[e]?void 0:t);if(n!==this._values&&!this.__ownerID)return bZ(this,n)}return this},mZ.prototype.remove=function(e){return this.set(e)},mZ.prototype.clear=function(){var e=this._values.clear().setSize(this._keys.length);return this.__ownerID?this:bZ(this,e)},mZ.prototype.wasAltered=function(){return this._values.wasAltered()},mZ.prototype.toSeq=function(){return vZ(this)},mZ.prototype.toJS=function(){return FV(this)},mZ.prototype.entries=function(){return this.__iterator(2)},mZ.prototype.__iterator=function(e,t){return vZ(this).__iterator(e,t)},mZ.prototype.__iterate=function(e,t){return vZ(this).__iterate(e,t)},mZ.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._values.__ensureOwner(e);return e?bZ(this,t,e):(this.__ownerID=e,this._values=t,this)},mZ.isRecord=OH,mZ.getDescriptiveName=wZ;var EZ=mZ.prototype;function bZ(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._values=t,r.__ownerID=n,r}function wZ(e){return e.constructor.displayName||e.constructor.name||"Record"}function vZ(e){return cD(e._keys.map((function(t){return[t,e.get(t)]})))}function BZ(e,t){try{Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){rk(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}catch(e){}}EZ[PH]=!0,EZ[sH]=EZ.remove,EZ.deleteIn=EZ.removeIn=bk,EZ.getIn=JV,EZ.hasIn=eZ.hasIn,EZ.merge=Ik,EZ.mergeWith=Mk,EZ.mergeIn=Nk,EZ.mergeDeep=Vk,EZ.mergeDeepWith=Zk,EZ.mergeDeepIn=zk,EZ.setIn=mk,EZ.update=vk,EZ.updateIn=Bk,EZ.withMutations=Pk,EZ.asMutable=Ok,EZ.asImmutable=Sk,EZ[GH]=EZ.entries,EZ.toJSON=EZ.toObject=eZ.toObject,EZ.inspect=EZ.toSource=function(){return this.toString()};var IZ,MZ=function(e){function t(e,n){if(!(this instanceof t))return new t(e,n);if(this._value=e,this.size=void 0===n?1/0:Math.max(0,n),0===this.size){if(IZ)return IZ;IZ=this}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},t.prototype.get=function(e,t){return this.has(e)?this._value:t},t.prototype.includes=function(e){return gD(this._value,e)},t.prototype.slice=function(e,n){var r=this.size;return EH(e,n,r)?this:new t(this._value,wH(n,r)-bH(e,r))},t.prototype.reverse=function(){return this},t.prototype.indexOf=function(e){return gD(this._value,e)?0:-1},t.prototype.lastIndexOf=function(e){return gD(this._value,e)?this.size:-1},t.prototype.__iterate=function(e,t){for(var n=this.size,r=0;r!==n&&!1!==e(this._value,t?n-++r:r++,this););return r},t.prototype.__iterator=function(e,t){var n=this,r=this.size,o=0;return new XH((function(){return o===r?{value:void 0,done:!0}:YH(e,t?r-++o:o++,n._value)}))},t.prototype.equals=function(e){return e instanceof t?gD(this._value,e._value):SV(this,e)},t}(nD);function yZ(e,t){return LZ([],t||QZ,e,"",t&&t.length>2?[]:void 0,{"":e})}function LZ(e,t,n,r,o,A){if("string"!=typeof n&&!SH(n)&&($H(n)||KH(n)||ak(n))){if(~e.indexOf(n))throw new TypeError("Cannot convert circular structure to Immutable");e.push(n),o&&""!==r&&o.push(r);var i=t.call(A,r,eD(n).map((function(r,A){return LZ(e,t,r,A,o,n)})),o&&o.slice());return e.pop(),o&&o.pop(),i}return n}function QZ(e,t){return xH(t)?t.toList():LH(t)?t.toMap():t.toSet()}var xZ,HZ="4.3.7",DZ={version:HZ,Collection:DH,Iterable:DH,Seq:eD,Map:Fk,OrderedMap:MV,List:fV,Stack:DV,Set:TV,OrderedSet:dZ,PairSorting:hZ,Record:mZ,Range:WV,Repeat:MZ,is:gD,fromJS:yZ,hash:bD,isImmutable:SH,isCollection:MH,isKeyed:LH,isIndexed:xH,isAssociative:HH,isOrdered:FH,isValueObject:pD,isPlainObject:ak,isSeq:zH,isList:sV,isMap:CD,isOrderedMap:uD,isStack:HV,isSet:PV,isOrderedSet:OV,isRecord:OH,get:fk,getIn:qV,has:sk,hasIn:_V,merge:Lk,mergeDeep:xk,mergeWith:Qk,mergeDeepWith:Hk,remove:Ck,removeIn:Ek,set:uk,setIn:hk,update:wk,updateIn:pk},kZ=DH,VZ=x(Object.freeze({__proto__:null,Collection:DH,Iterable:kZ,List:fV,Map:Fk,OrderedMap:MV,OrderedSet:dZ,PairSorting:hZ,Range:WV,Record:mZ,Repeat:MZ,Seq:eD,Set:TV,Stack:DV,default:DZ,fromJS:yZ,get:fk,getIn:qV,has:sk,hasIn:_V,hash:bD,is:gD,isAssociative:HH,isCollection:MH,isImmutable:SH,isIndexed:xH,isKeyed:LH,isList:sV,isMap:CD,isOrdered:FH,isOrderedMap:uD,isOrderedSet:OV,isPlainObject:ak,isRecord:OH,isSeq:zH,isSet:PV,isStack:HV,isValueObject:pD,merge:Lk,mergeDeep:xk,mergeDeepWith:Hk,mergeWith:Qk,remove:Ck,removeIn:Ek,set:uk,setIn:hk,update:wk,updateIn:pk,version:HZ}));var ZZ=(xZ||(xZ=1,window,cH.exports=function(e,t,n){return A={},r.m=o=[function(e,t,n){e.exports=n(10)()},function(t,n){t.exports=e},function(e,t,n){var r;
55
+ */!function(){var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var A=typeof r;if("string"===A||"number"===A)e.push(r);else if(Array.isArray(r)&&r.length){var i=o.apply(null,r);i&&e.push(i)}else if("object"===A)for(var a in r)n.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){(function(t){var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,A=/^0o[0-7]+$/i,i=parseInt,a="object"==typeof t&&t&&t.Object===Object&&t,l="object"==typeof self&&self&&self.Object===Object&&self,c=a||l||Function("return this")(),s=Object.prototype.toString,f=c.Symbol,d=f?f.prototype:void 0,C=d?d.toString:void 0;function u(e){if("string"==typeof e)return e;if(g(e))return C?C.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function p(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==s.call(e)}function h(e){return e?(e=function(e){if("number"==typeof e)return e;if(g(e))return NaN;if(p(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=p(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var a=o.test(e);return a||A.test(e)?i(e.slice(2),a?2:8):r.test(e)?NaN:+e}(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}e.exports=function(e,t,n){var r,o,A;return e=null==(r=e)?"":u(r),o=function(e){var t=h(e),n=t%1;return t==t?n?t-n:t:0}(n),A=e.length,o==o&&(void 0!==A&&(o=o<=A?o:A),o=o>=0?o:0),n=o,t=u(t),e.slice(n,n+t.length)==t}}).call(this,n(3))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){(function(t){var n,r=/^\[object .+?Constructor\]$/,o="object"==typeof t&&t&&t.Object===Object&&t,A="object"==typeof self&&self&&self.Object===Object&&self,i=o||A||Function("return this")(),a=Array.prototype,l=Function.prototype,c=Object.prototype,s=i["__core-js_shared__"],f=(n=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",d=l.toString,C=c.hasOwnProperty,u=c.toString,p=RegExp("^"+d.call(C).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),g=a.splice,h=M(i,"Map"),m=M(Object,"create");function E(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function b(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function w(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function v(e,t){for(var n,r,o=e.length;o--;)if((n=e[o][0])===(r=t)||n!=n&&r!=r)return o;return-1}function B(e){return!(!L(e)||(t=e,f&&f in t))&&(function(e){var t=L(e)?u.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?p:r).test(function(e){if(null!=e){try{return d.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}function I(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function M(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return B(n)?n:void 0}function y(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],A=n.cache;if(A.has(o))return A.get(o);var i=e.apply(this,r);return n.cache=A.set(o,i),i};return n.cache=new(y.Cache||w),n}function L(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}E.prototype.clear=function(){this.__data__=m?m(null):{}},E.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},E.prototype.get=function(e){var t=this.__data__;if(m){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return C.call(t,e)?t[e]:void 0},E.prototype.has=function(e){var t=this.__data__;return m?void 0!==t[e]:C.call(t,e)},E.prototype.set=function(e,t){return this.__data__[e]=m&&void 0===t?"__lodash_hash_undefined__":t,this},b.prototype.clear=function(){this.__data__=[]},b.prototype.delete=function(e){var t=this.__data__,n=v(t,e);return!(n<0||(n==t.length-1?t.pop():g.call(t,n,1),0))},b.prototype.get=function(e){var t=this.__data__,n=v(t,e);return n<0?void 0:t[n][1]},b.prototype.has=function(e){return v(this.__data__,e)>-1},b.prototype.set=function(e,t){var n=this.__data__,r=v(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},w.prototype.clear=function(){this.__data__={hash:new E,map:new(h||b),string:new E}},w.prototype.delete=function(e){return I(this,e).delete(e)},w.prototype.get=function(e){return I(this,e).get(e)},w.prototype.has=function(e){return I(this,e).has(e)},w.prototype.set=function(e,t){return I(this,e).set(e,t),this},y.Cache=w,e.exports=y}).call(this,n(3))},function(e,t,n){(function(t){var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,A=/^0o[0-7]+$/i,i=parseInt,a="object"==typeof t&&t&&t.Object===Object&&t,l="object"==typeof self&&self&&self.Object===Object&&self,c=a||l||Function("return this")(),s=Object.prototype.toString,f=Math.max,d=Math.min,C=function(){return c.Date.now()};function u(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function p(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==s.call(e)}(e))return NaN;if(u(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=u(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var a=o.test(e);return a||A.test(e)?i(e.slice(2),a?2:8):r.test(e)?NaN:+e}e.exports=function(e,t,n){var r,o,A,i,a,l,c=0,s=!1,g=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function m(t){var n=r,A=o;return r=o=void 0,c=t,i=e.apply(A,n)}function E(e){var n=e-l;return void 0===l||n>=t||n<0||g&&e-c>=A}function b(){var e=C();if(E(e))return w(e);a=setTimeout(b,function(e){var n=t-(e-l);return g?d(n,A-(e-c)):n}(e))}function w(e){return a=void 0,h&&r?m(e):(r=o=void 0,i)}function v(){var e=C(),n=E(e);if(r=arguments,o=this,l=e,n){if(void 0===a)return function(e){return c=e,a=setTimeout(b,t),s?m(e):i}(l);if(g)return a=setTimeout(b,t),m(l)}return void 0===a&&(a=setTimeout(b,t)),i}return t=p(t)||0,u(n)&&(s=!!n.leading,A=(g="maxWait"in n)?f(p(n.maxWait)||0,t):A,h="trailing"in n?!!n.trailing:h),v.cancel=function(){void 0!==a&&clearTimeout(a),c=0,r=l=o=a=void 0},v.flush=function(){return void 0===a?i:w(C())},v}}).call(this,n(3))},function(e,t,n){(function(e,n){var r="[object Arguments]",o="[object Map]",A="[object Object]",i="[object Set]",a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l=/^\w*$/,c=/^\./,s=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f=/\\(\\)?/g,d=/^\[object .+?Constructor\]$/,C=/^(?:0|[1-9]\d*)$/,u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u[r]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u["[object Function]"]=u[o]=u["[object Number]"]=u[A]=u["[object RegExp]"]=u[i]=u["[object String]"]=u["[object WeakMap]"]=!1;var p="object"==typeof e&&e&&e.Object===Object&&e,g="object"==typeof self&&self&&self.Object===Object&&self,h=p||g||Function("return this")(),m=t&&!t.nodeType&&t,E=m&&"object"==typeof n&&n&&!n.nodeType&&n,b=E&&E.exports===m&&p.process,w=function(){try{return b&&b.binding("util")}catch(e){}}(),v=w&&w.isTypedArray;function B(e,t,n,r){var o=-1,A=e?e.length:0;for(r&&A&&(n=e[++o]);++o<A;)n=t(n,e[o],o,e);return n}function I(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function M(e,t,n,r,o){return o(e,(function(e,o,A){n=r?(r=!1,e):t(n,e,o,A)})),n}function y(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function L(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Q(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var x,H,D,k=Array.prototype,V=Function.prototype,Z=Object.prototype,N=h["__core-js_shared__"],z=(x=/[^.]+$/.exec(N&&N.keys&&N.keys.IE_PROTO||""))?"Symbol(src)_1."+x:"",P=V.toString,O=Z.hasOwnProperty,S=Z.toString,j=RegExp("^"+P.call(O).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),F=h.Symbol,T=h.Uint8Array,R=Z.propertyIsEnumerable,G=k.splice,X=(H=Object.keys,D=Object,function(e){return H(D(e))}),Y=we(h,"DataView"),U=we(h,"Map"),K=we(h,"Promise"),W=we(h,"Set"),q=we(h,"WeakMap"),J=we(Object,"create"),_=xe(Y),$=xe(U),ee=xe(K),te=xe(W),ne=xe(q),re=F?F.prototype:void 0,oe=re?re.valueOf:void 0,Ae=re?re.toString:void 0;function ie(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ae(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function le(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ce(e){var t=-1,n=e?e.length:0;for(this.__data__=new le;++t<n;)this.add(e[t])}function se(e){this.__data__=new ae(e)}function fe(e,t){for(var n=e.length;n--;)if(De(e[n][0],t))return n;return-1}ie.prototype.clear=function(){this.__data__=J?J(null):{}},ie.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},ie.prototype.get=function(e){var t=this.__data__;if(J){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return O.call(t,e)?t[e]:void 0},ie.prototype.has=function(e){var t=this.__data__;return J?void 0!==t[e]:O.call(t,e)},ie.prototype.set=function(e,t){return this.__data__[e]=J&&void 0===t?"__lodash_hash_undefined__":t,this},ae.prototype.clear=function(){this.__data__=[]},ae.prototype.delete=function(e){var t=this.__data__,n=fe(t,e);return!(n<0||(n==t.length-1?t.pop():G.call(t,n,1),0))},ae.prototype.get=function(e){var t=this.__data__,n=fe(t,e);return n<0?void 0:t[n][1]},ae.prototype.has=function(e){return fe(this.__data__,e)>-1},ae.prototype.set=function(e,t){var n=this.__data__,r=fe(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},le.prototype.clear=function(){this.__data__={hash:new ie,map:new(U||ae),string:new ie}},le.prototype.delete=function(e){return be(this,e).delete(e)},le.prototype.get=function(e){return be(this,e).get(e)},le.prototype.has=function(e){return be(this,e).has(e)},le.prototype.set=function(e,t){return be(this,e).set(e,t),this},ce.prototype.add=ce.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},ce.prototype.has=function(e){return this.__data__.has(e)},se.prototype.clear=function(){this.__data__=new ae},se.prototype.delete=function(e){return this.__data__.delete(e)},se.prototype.get=function(e){return this.__data__.get(e)},se.prototype.has=function(e){return this.__data__.has(e)},se.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ae){var r=n.__data__;if(!U||r.length<199)return r.push([e,t]),this;n=this.__data__=new le(r)}return n.set(e,t),this};var de,Ce=(de=function(e,t){return e&&ue(e,t,Fe)},function(e,t){if(null==e)return e;if(!Ze(e))return de(e,t);for(var n=e.length,r=-1,o=Object(e);++r<n&&!1!==t(o[r],r,o););return e}),ue=function(e,t,n){for(var r=-1,o=Object(e),A=n(e),i=A.length;i--;){var a=A[++r];if(!1===t(o[a],a,o))break}return e};function pe(e,t){for(var n=0,r=(t=Ie(t,e)?[t]:me(t)).length;null!=e&&n<r;)e=e[Qe(t[n++])];return n&&n==r?e:void 0}function ge(e,t){return null!=e&&t in Object(e)}function he(e,t,n,a,l){return e===t||(null==e||null==t||!Pe(e)&&!Oe(t)?e!=e&&t!=t:function(e,t,n,a,l,c){var s=Ve(e),f=Ve(t),d="[object Array]",C="[object Array]";s||(d=(d=ve(e))==r?A:d),f||(C=(C=ve(t))==r?A:C);var u=d==A&&!y(e),p=C==A&&!y(t),g=d==C;if(g&&!u)return c||(c=new se),s||je(e)?Ee(e,t,n,a,l,c):function(e,t,n,r,A,a,l){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!r(new T(e),new T(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return De(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case o:var c=L;case i:var s=2&a;if(c||(c=Q),e.size!=t.size&&!s)return!1;var f=l.get(e);if(f)return f==t;a|=1,l.set(e,t);var d=Ee(c(e),c(t),r,A,a,l);return l.delete(e),d;case"[object Symbol]":if(oe)return oe.call(e)==oe.call(t)}return!1}(e,t,d,n,a,l,c);if(!(2&l)){var h=u&&O.call(e,"__wrapped__"),m=p&&O.call(t,"__wrapped__");if(h||m){var E=h?e.value():e,b=m?t.value():t;return c||(c=new se),n(E,b,a,l,c)}}return!!g&&(c||(c=new se),function(e,t,n,r,o,A){var i=2&o,a=Fe(e),l=a.length;if(l!=Fe(t).length&&!i)return!1;for(var c=l;c--;){var s=a[c];if(!(i?s in t:O.call(t,s)))return!1}var f=A.get(e);if(f&&A.get(t))return f==t;var d=!0;A.set(e,t),A.set(t,e);for(var C=i;++c<l;){var u=e[s=a[c]],p=t[s];if(r)var g=i?r(p,u,s,t,e,A):r(u,p,s,e,t,A);if(!(void 0===g?u===p||n(u,p,r,o,A):g)){d=!1;break}C||(C="constructor"==s)}if(d&&!C){var h=e.constructor,m=t.constructor;h==m||!("constructor"in e)||!("constructor"in t)||"function"==typeof h&&h instanceof h&&"function"==typeof m&&m instanceof m||(d=!1)}return A.delete(e),A.delete(t),d}(e,t,n,a,l,c))}(e,t,he,n,a,l))}function me(e){return Ve(e)?e:Le(e)}function Ee(e,t,n,r,o,A){var i=2&o,a=e.length,l=t.length;if(a!=l&&!(i&&l>a))return!1;var c=A.get(e);if(c&&A.get(t))return c==t;var s=-1,f=!0,d=1&o?new ce:void 0;for(A.set(e,t),A.set(t,e);++s<a;){var C=e[s],u=t[s];if(r)var p=i?r(u,C,s,t,e,A):r(C,u,s,e,t,A);if(void 0!==p){if(p)continue;f=!1;break}if(d){if(!I(t,(function(e,t){if(!d.has(t)&&(C===e||n(C,e,r,o,A)))return d.add(t)}))){f=!1;break}}else if(C!==u&&!n(C,u,r,o,A)){f=!1;break}}return A.delete(e),A.delete(t),f}function be(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function we(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Pe(e)||function(e){return!!z&&z in e}(e))&&(Ne(e)||y(e)?j:d).test(xe(e))}(n)?n:void 0}var ve=function(e){return S.call(e)};function Be(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||C.test(e))&&e>-1&&e%1==0&&e<t}function Ie(e,t){if(Ve(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Se(e))||l.test(e)||!a.test(e)||null!=t&&e in Object(t)}function Me(e){return e==e&&!Pe(e)}function ye(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}(Y&&"[object DataView]"!=ve(new Y(new ArrayBuffer(1)))||U&&ve(new U)!=o||K&&"[object Promise]"!=ve(K.resolve())||W&&ve(new W)!=i||q&&"[object WeakMap]"!=ve(new q))&&(ve=function(e){var t=S.call(e),n=t==A?e.constructor:void 0,r=n?xe(n):void 0;if(r)switch(r){case _:return"[object DataView]";case $:return o;case ee:return"[object Promise]";case te:return i;case ne:return"[object WeakMap]"}return t});var Le=He((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(Se(e))return Ae?Ae.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return c.test(e)&&n.push(""),e.replace(s,(function(e,t,r,o){n.push(r?o.replace(f,"$1"):t||e)})),n}));function Qe(e){if("string"==typeof e||Se(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function xe(e){if(null!=e){try{return P.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function He(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],A=n.cache;if(A.has(o))return A.get(o);var i=e.apply(this,r);return n.cache=A.set(o,i),i};return n.cache=new(He.Cache||le),n}function De(e,t){return e===t||e!=e&&t!=t}function ke(e){return function(e){return Oe(e)&&Ze(e)}(e)&&O.call(e,"callee")&&(!R.call(e,"callee")||S.call(e)==r)}He.Cache=le;var Ve=Array.isArray;function Ze(e){return null!=e&&ze(e.length)&&!Ne(e)}function Ne(e){var t=Pe(e)?S.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function ze(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Pe(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Oe(e){return!!e&&"object"==typeof e}function Se(e){return"symbol"==typeof e||Oe(e)&&"[object Symbol]"==S.call(e)}var je=v?function(e){return function(t){return e(t)}}(v):function(e){return Oe(e)&&ze(e.length)&&!!u[S.call(e)]};function Fe(e){return Ze(e)?function(e){var t=Ve(e)||ke(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],n=t.length,r=!!n;for(var o in e)!O.call(e,o)||r&&("length"==o||Be(o,n))||t.push(o);return t}(e):function(e){if(n=(t=e)&&t.constructor,t!==("function"==typeof n&&n.prototype||Z))return X(e);var t,n,r=[];for(var o in Object(e))O.call(e,o)&&"constructor"!=o&&r.push(o);return r}(e)}function Te(e){return e}n.exports=function(e,t,n){var r=Ve(e)?B:M,o=arguments.length<3;return r(e,function(e){return"function"==typeof e?e:null==e?Te:"object"==typeof e?Ve(e)?function(e,t){return Ie(e)&&Me(t)?ye(Qe(e),t):function(n){var r=function(e,t){var n=null==e?void 0:pe(e,t);return void 0===n?void 0:n}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&function(e,t,n){for(var r,o=-1,A=(t=Ie(t,e)?[t]:me(t)).length;++o<A;){var i=Qe(t[o]);if(!(r=null!=e&&n(e,i)))break;e=e[i]}return r||!!(A=e?e.length:0)&&ze(A)&&Be(i,A)&&(Ve(e)||ke(e))}(e,t,ge)}(n,e):he(t,r,void 0,3)}}(e[0],e[1]):function(e){var t=function(e){for(var t=Fe(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Me(o)]}return t}(e);return 1==t.length&&t[0][2]?ye(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n){var r=n.length,o=r;if(null==e)return!o;for(e=Object(e);r--;){var A=n[r];if(A[2]?A[1]!==e[A[0]]:!(A[0]in e))return!1}for(;++r<o;){var i=(A=n[r])[0],a=e[i],l=A[1];if(A[2]){if(void 0===a&&!(i in e))return!1}else if(!he(l,a,void 0,3,new se))return!1}return!0}(n,0,t)}}(e):Ie(t=e)?(n=Qe(t),function(e){return null==e?void 0:e[n]}):function(e){return function(t){return pe(t,e)}}(t);var t,n}(t),n,o,Ce)}}).call(this,n(3),n(7)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){String.prototype.padEnd||(String.prototype.padEnd=function(e,t){return e>>=0,t=String(void 0!==t?t:" "),this.length>e?String(this):((e-=this.length)>t.length&&(t+=t.repeat(e/t.length)),String(this)+t.slice(0,e))})},function(e,t,n){function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function A(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||o(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function i(e){if(Array.isArray(e))return e}function a(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e){return(s="function"==typeof Symbol&&"symbol"===c(Symbol.iterator)?function(e){return c(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":c(e)})(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n.r(t);var u=n(0),p=n.n(u),g=n(5),h=n.n(g),m=n(4),E=n.n(m),b=n(6),w=n.n(b),v=n(2),B=n.n(v),I=n(1),M=n.n(I);function y(e,t){return i(e)||function(e,t){var n=[],r=!0,o=!1,A=void 0;try{for(var i,a=e[Symbol.iterator]();!(r=(i=a.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,A=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw A}}return n}(e,t)||a()}n(8);var L=[["Afghanistan",["asia"],"af","93"],["Albania",["europe"],"al","355"],["Algeria",["africa","north-africa"],"dz","213"],["Andorra",["europe"],"ad","376"],["Angola",["africa"],"ao","244"],["Antigua and Barbuda",["america","carribean"],"ag","1268"],["Argentina",["america","south-america"],"ar","54","(..) ........",0,["11","221","223","261","264","2652","280","2905","291","2920","2966","299","341","342","343","351","376","379","381","3833","385","387","388"]],["Armenia",["asia","ex-ussr"],"am","374",".. ......"],["Aruba",["america","carribean"],"aw","297"],["Australia",["oceania"],"au","61","(..) .... ....",0,["2","3","4","7","8","02","03","04","07","08"]],["Austria",["europe","eu-union"],"at","43"],["Azerbaijan",["asia","ex-ussr"],"az","994","(..) ... .. .."],["Bahamas",["america","carribean"],"bs","1242"],["Bahrain",["middle-east"],"bh","973"],["Bangladesh",["asia"],"bd","880"],["Barbados",["america","carribean"],"bb","1246"],["Belarus",["europe","ex-ussr"],"by","375","(..) ... .. .."],["Belgium",["europe","eu-union"],"be","32","... .. .. .."],["Belize",["america","central-america"],"bz","501"],["Benin",["africa"],"bj","229"],["Bhutan",["asia"],"bt","975"],["Bolivia",["america","south-america"],"bo","591"],["Bosnia and Herzegovina",["europe","ex-yugos"],"ba","387"],["Botswana",["africa"],"bw","267"],["Brazil",["america","south-america"],"br","55","(..) ........."],["British Indian Ocean Territory",["asia"],"io","246"],["Brunei",["asia"],"bn","673"],["Bulgaria",["europe","eu-union"],"bg","359"],["Burkina Faso",["africa"],"bf","226"],["Burundi",["africa"],"bi","257"],["Cambodia",["asia"],"kh","855"],["Cameroon",["africa"],"cm","237"],["Canada",["america","north-america"],"ca","1","(...) ...-....",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde",["africa"],"cv","238"],["Caribbean Netherlands",["america","carribean"],"bq","599","",1],["Central African Republic",["africa"],"cf","236"],["Chad",["africa"],"td","235"],["Chile",["america","south-america"],"cl","56"],["China",["asia"],"cn","86","..-........."],["Colombia",["america","south-america"],"co","57","... ... ...."],["Comoros",["africa"],"km","269"],["Congo",["africa"],"cd","243"],["Congo",["africa"],"cg","242"],["Costa Rica",["america","central-america"],"cr","506","....-...."],["Côte d’Ivoire",["africa"],"ci","225",".. .. .. .."],["Croatia",["europe","eu-union","ex-yugos"],"hr","385"],["Cuba",["america","carribean"],"cu","53"],["Curaçao",["america","carribean"],"cw","599","",0],["Cyprus",["europe","eu-union"],"cy","357",".. ......"],["Czech Republic",["europe","eu-union"],"cz","420","... ... ..."],["Denmark",["europe","eu-union","baltic"],"dk","45",".. .. .. .."],["Djibouti",["africa"],"dj","253"],["Dominica",["america","carribean"],"dm","1767"],["Dominican Republic",["america","carribean"],"do","1","",2,["809","829","849"]],["Ecuador",["america","south-america"],"ec","593"],["Egypt",["africa","north-africa"],"eg","20"],["El Salvador",["america","central-america"],"sv","503","....-...."],["Equatorial Guinea",["africa"],"gq","240"],["Eritrea",["africa"],"er","291"],["Estonia",["europe","eu-union","ex-ussr","baltic"],"ee","372",".... ......"],["Ethiopia",["africa"],"et","251"],["Fiji",["oceania"],"fj","679"],["Finland",["europe","eu-union","baltic"],"fi","358",".. ... .. .."],["France",["europe","eu-union"],"fr","33",". .. .. .. .."],["French Guiana",["america","south-america"],"gf","594"],["French Polynesia",["oceania"],"pf","689"],["Gabon",["africa"],"ga","241"],["Gambia",["africa"],"gm","220"],["Georgia",["asia","ex-ussr"],"ge","995"],["Germany",["europe","eu-union","baltic"],"de","49",".... ........"],["Ghana",["africa"],"gh","233"],["Greece",["europe","eu-union"],"gr","30"],["Grenada",["america","carribean"],"gd","1473"],["Guadeloupe",["america","carribean"],"gp","590","",0],["Guam",["oceania"],"gu","1671"],["Guatemala",["america","central-america"],"gt","502","....-...."],["Guinea",["africa"],"gn","224"],["Guinea-Bissau",["africa"],"gw","245"],["Guyana",["america","south-america"],"gy","592"],["Haiti",["america","carribean"],"ht","509","....-...."],["Honduras",["america","central-america"],"hn","504"],["Hong Kong",["asia"],"hk","852",".... ...."],["Hungary",["europe","eu-union"],"hu","36"],["Iceland",["europe"],"is","354","... ...."],["India",["asia"],"in","91",".....-....."],["Indonesia",["asia"],"id","62"],["Iran",["middle-east"],"ir","98","... ... ...."],["Iraq",["middle-east"],"iq","964"],["Ireland",["europe","eu-union"],"ie","353",".. ......."],["Israel",["middle-east"],"il","972","... ... ...."],["Italy",["europe","eu-union"],"it","39","... .......",0],["Jamaica",["america","carribean"],"jm","1876"],["Japan",["asia"],"jp","81",".. .... ...."],["Jordan",["middle-east"],"jo","962"],["Kazakhstan",["asia","ex-ussr"],"kz","7","... ...-..-..",1,["310","311","312","313","315","318","321","324","325","326","327","336","7172","73622"]],["Kenya",["africa"],"ke","254"],["Kiribati",["oceania"],"ki","686"],["Kosovo",["europe","ex-yugos"],"xk","383"],["Kuwait",["middle-east"],"kw","965"],["Kyrgyzstan",["asia","ex-ussr"],"kg","996","... ... ..."],["Laos",["asia"],"la","856"],["Latvia",["europe","eu-union","ex-ussr","baltic"],"lv","371",".. ... ..."],["Lebanon",["middle-east"],"lb","961"],["Lesotho",["africa"],"ls","266"],["Liberia",["africa"],"lr","231"],["Libya",["africa","north-africa"],"ly","218"],["Liechtenstein",["europe"],"li","423"],["Lithuania",["europe","eu-union","ex-ussr","baltic"],"lt","370"],["Luxembourg",["europe","eu-union"],"lu","352"],["Macau",["asia"],"mo","853"],["Macedonia",["europe","ex-yugos"],"mk","389"],["Madagascar",["africa"],"mg","261"],["Malawi",["africa"],"mw","265"],["Malaysia",["asia"],"my","60","..-....-...."],["Maldives",["asia"],"mv","960"],["Mali",["africa"],"ml","223"],["Malta",["europe","eu-union"],"mt","356"],["Marshall Islands",["oceania"],"mh","692"],["Martinique",["america","carribean"],"mq","596"],["Mauritania",["africa"],"mr","222"],["Mauritius",["africa"],"mu","230"],["Mexico",["america","central-america"],"mx","52","... ... ....",0,["55","81","33","656","664","998","774","229"]],["Micronesia",["oceania"],"fm","691"],["Moldova",["europe"],"md","373","(..) ..-..-.."],["Monaco",["europe"],"mc","377"],["Mongolia",["asia"],"mn","976"],["Montenegro",["europe","ex-yugos"],"me","382"],["Morocco",["africa","north-africa"],"ma","212"],["Mozambique",["africa"],"mz","258"],["Myanmar",["asia"],"mm","95"],["Namibia",["africa"],"na","264"],["Nauru",["africa"],"nr","674"],["Nepal",["asia"],"np","977"],["Netherlands",["europe","eu-union"],"nl","31",".. ........"],["New Caledonia",["oceania"],"nc","687"],["New Zealand",["oceania"],"nz","64","...-...-...."],["Nicaragua",["america","central-america"],"ni","505"],["Niger",["africa"],"ne","227"],["Nigeria",["africa"],"ng","234"],["North Korea",["asia"],"kp","850"],["Norway",["europe","baltic"],"no","47","... .. ..."],["Oman",["middle-east"],"om","968"],["Pakistan",["asia"],"pk","92","...-......."],["Palau",["oceania"],"pw","680"],["Palestine",["middle-east"],"ps","970"],["Panama",["america","central-america"],"pa","507"],["Papua New Guinea",["oceania"],"pg","675"],["Paraguay",["america","south-america"],"py","595"],["Peru",["america","south-america"],"pe","51"],["Philippines",["asia"],"ph","63",".... ......."],["Poland",["europe","eu-union","baltic"],"pl","48","...-...-..."],["Portugal",["europe","eu-union"],"pt","351"],["Puerto Rico",["america","carribean"],"pr","1","",3,["787","939"]],["Qatar",["middle-east"],"qa","974"],["Réunion",["africa"],"re","262"],["Romania",["europe","eu-union"],"ro","40"],["Russia",["europe","asia","ex-ussr","baltic"],"ru","7","(...) ...-..-..",0],["Rwanda",["africa"],"rw","250"],["Saint Kitts and Nevis",["america","carribean"],"kn","1869"],["Saint Lucia",["america","carribean"],"lc","1758"],["Saint Vincent and the Grenadines",["america","carribean"],"vc","1784"],["Samoa",["oceania"],"ws","685"],["San Marino",["europe"],"sm","378"],["São Tomé and Príncipe",["africa"],"st","239"],["Saudi Arabia",["middle-east"],"sa","966"],["Senegal",["africa"],"sn","221"],["Serbia",["europe","ex-yugos"],"rs","381"],["Seychelles",["africa"],"sc","248"],["Sierra Leone",["africa"],"sl","232"],["Singapore",["asia"],"sg","65","....-...."],["Slovakia",["europe","eu-union"],"sk","421"],["Slovenia",["europe","eu-union","ex-yugos"],"si","386"],["Solomon Islands",["oceania"],"sb","677"],["Somalia",["africa"],"so","252"],["South Africa",["africa"],"za","27"],["South Korea",["asia"],"kr","82","... .... ...."],["South Sudan",["africa","north-africa"],"ss","211"],["Spain",["europe","eu-union"],"es","34","... ... ..."],["Sri Lanka",["asia"],"lk","94"],["Sudan",["africa"],"sd","249"],["Suriname",["america","south-america"],"sr","597"],["Swaziland",["africa"],"sz","268"],["Sweden",["europe","eu-union","baltic"],"se","46","(...) ...-..."],["Switzerland",["europe"],"ch","41",".. ... .. .."],["Syria",["middle-east"],"sy","963"],["Taiwan",["asia"],"tw","886"],["Tajikistan",["asia","ex-ussr"],"tj","992"],["Tanzania",["africa"],"tz","255"],["Thailand",["asia"],"th","66"],["Timor-Leste",["asia"],"tl","670"],["Togo",["africa"],"tg","228"],["Tonga",["oceania"],"to","676"],["Trinidad and Tobago",["america","carribean"],"tt","1868"],["Tunisia",["africa","north-africa"],"tn","216"],["Turkey",["europe"],"tr","90","... ... .. .."],["Turkmenistan",["asia","ex-ussr"],"tm","993"],["Tuvalu",["asia"],"tv","688"],["Uganda",["africa"],"ug","256"],["Ukraine",["europe","ex-ussr"],"ua","380","(..) ... .. .."],["United Arab Emirates",["middle-east"],"ae","971"],["United Kingdom",["europe","eu-union"],"gb","44",".... ......"],["United States",["america","north-america"],"us","1","(...) ...-....",0,["907","205","251","256","334","479","501","870","480","520","602","623","928","209","213","310","323","408","415","510","530","559","562","619","626","650","661","707","714","760","805","818","831","858","909","916","925","949","951","303","719","970","203","860","202","302","239","305","321","352","386","407","561","727","772","813","850","863","904","941","954","229","404","478","706","770","912","808","319","515","563","641","712","208","217","309","312","618","630","708","773","815","847","219","260","317","574","765","812","316","620","785","913","270","502","606","859","225","318","337","504","985","413","508","617","781","978","301","410","207","231","248","269","313","517","586","616","734","810","906","989","218","320","507","612","651","763","952","314","417","573","636","660","816","228","601","662","406","252","336","704","828","910","919","701","308","402","603","201","609","732","856","908","973","505","575","702","775","212","315","516","518","585","607","631","716","718","845","914","216","330","419","440","513","614","740","937","405","580","918","503","541","215","412","570","610","717","724","814","401","803","843","864","605","423","615","731","865","901","931","210","214","254","281","325","361","409","432","512","713","806","817","830","903","915","936","940","956","972","979","435","801","276","434","540","703","757","804","802","206","253","360","425","509","262","414","608","715","920","304","307"]],["Uruguay",["america","south-america"],"uy","598"],["Uzbekistan",["asia","ex-ussr"],"uz","998",".. ... .. .."],["Vanuatu",["oceania"],"vu","678"],["Vatican City",["europe"],"va","39",".. .... ....",1],["Venezuela",["america","south-america"],"ve","58"],["Vietnam",["asia"],"vn","84"],["Yemen",["middle-east"],"ye","967"],["Zambia",["africa"],"zm","260"],["Zimbabwe",["africa"],"zw","263"]],Q=[["American Samoa",["oceania"],"as","1684"],["Anguilla",["america","carribean"],"ai","1264"],["Bermuda",["america","north-america"],"bm","1441"],["British Virgin Islands",["america","carribean"],"vg","1284"],["Cayman Islands",["america","carribean"],"ky","1345"],["Cook Islands",["oceania"],"ck","682"],["Falkland Islands",["america","south-america"],"fk","500"],["Faroe Islands",["europe"],"fo","298"],["Gibraltar",["europe"],"gi","350"],["Greenland",["america"],"gl","299"],["Jersey",["europe","eu-union"],"je","44",".... ......"],["Montserrat",["america","carribean"],"ms","1664"],["Niue",["asia"],"nu","683"],["Norfolk Island",["oceania"],"nf","672"],["Northern Mariana Islands",["oceania"],"mp","1670"],["Saint Barthélemy",["america","carribean"],"bl","590","",1],["Saint Helena",["africa"],"sh","290"],["Saint Martin",["america","carribean"],"mf","590","",2],["Saint Pierre and Miquelon",["america","north-america"],"pm","508"],["Sint Maarten",["america","carribean"],"sx","1721"],["Tokelau",["oceania"],"tk","690"],["Turks and Caicos Islands",["america","carribean"],"tc","1649"],["U.S. Virgin Islands",["america","carribean"],"vi","1340"],["Wallis and Futuna",["oceania"],"wf","681"]];function x(e,t,n,r,o){return!n||o?e+"".padEnd(t.length,".")+" "+r:e+"".padEnd(t.length,".")+" "+n}function H(e,t,n,o,i){var a,l,c=[];return l=!0===t,[(a=[]).concat.apply(a,A(e.map((function(e){var A={name:e[0],regions:e[1],iso2:e[2],countryCode:e[3],dialCode:e[3],format:x(n,e[3],e[4],o,i),priority:e[5]||0},a=[];return e[6]&&e[6].map((function(t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}({},A);n.dialCode=e[3]+t,n.isAreaCode=!0,n.areaCodeLength=t.length,a.push(n)})),a.length>0?(A.mainCode=!0,l||"Array"===t.constructor.name&&t.includes(e[2])?(A.hasAreaCodes=!0,[A].concat(a)):(c=c.concat(a),[A])):[A]})))),c]}function D(e,t,n,r){if(null!==n){var o=Object.keys(n),A=Object.values(n);o.forEach((function(n,o){if(r)return e.push([n,A[o]]);var i=e.findIndex((function(e){return e[0]===n}));if(-1===i){var a=[n];a[t]=A[o],e.push(a)}else e[i][t]=A[o]}))}}function k(e,t){return 0===t.length?e:e.map((function(e){var n=t.findIndex((function(t){return t[0]===e[2]}));if(-1===n)return e;var r=t[n];return r[1]&&(e[4]=r[1]),r[3]&&(e[5]=r[3]),r[2]&&(e[6]=r[2]),e}))}var V=function e(t,n,r,o,i,a,c,s,f,d,C,u,p,g){l(this,e),this.filterRegions=function(e,t){if("string"==typeof e){var n=e;return t.filter((function(e){return e.regions.some((function(e){return e===n}))}))}return t.filter((function(t){return e.map((function(e){return t.regions.some((function(t){return t===e}))})).some((function(e){return e}))}))},this.sortTerritories=function(e,t){var n=[].concat(A(e),A(t));return n.sort((function(e,t){return e.name<t.name?-1:e.name>t.name?1:0})),n},this.getFilteredCountryList=function(e,t,n){return 0===e.length?t:n?e.map((function(e){var n=t.find((function(t){return t.iso2===e}));if(n)return n})).filter((function(e){return e})):t.filter((function(t){return e.some((function(e){return e===t.iso2}))}))},this.localizeCountries=function(e,t,n){for(var r=0;r<e.length;r++)void 0!==t[e[r].iso2]?e[r].localName=t[e[r].iso2]:void 0!==t[e[r].name]&&(e[r].localName=t[e[r].name]);return n||e.sort((function(e,t){return e.localName<t.localName?-1:e.localName>t.localName?1:0})),e},this.getCustomAreas=function(e,t){for(var n=[],r=0;r<t.length;r++){var o=JSON.parse(JSON.stringify(e));o.dialCode+=t[r],n.push(o)}return n},this.excludeCountries=function(e,t){return 0===t.length?e:e.filter((function(e){return!t.includes(e.iso2)}))};var h=function(e,t,n){var r=[];return D(r,1,e,!0),D(r,3,t),D(r,2,n),r}(s,f,d),m=k(JSON.parse(JSON.stringify(L)),h),E=k(JSON.parse(JSON.stringify(Q)),h),b=y(H(m,t,u,p,g),2),w=b[0],v=b[1];if(n){var B=y(H(E,t,u,p,g),2),I=B[0];B[1],w=this.sortTerritories(I,w)}r&&(w=this.filterRegions(r,w)),this.onlyCountries=this.localizeCountries(this.excludeCountries(this.getFilteredCountryList(o,w,c.includes("onlyCountries")),a),C,c.includes("onlyCountries")),this.preferredCountries=0===i.length?[]:this.localizeCountries(this.getFilteredCountryList(i,w,c.includes("preferredCountries")),C,c.includes("preferredCountries")),this.hiddenAreaCodes=this.excludeCountries(this.getFilteredCountryList(o,v),a)},Z=function(e){function t(e){var n;l(this,t),(n=function(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?f(e):t}(this,d(t).call(this,e))).getProbableCandidate=E()((function(e){return e&&0!==e.length?n.state.onlyCountries.filter((function(t){return B()(t.name.toLowerCase(),e.toLowerCase())}),f(f(n)))[0]:null})),n.guessSelectedCountry=E()((function(e,t,r,o){var A;if(!1===n.props.enableAreaCodes&&(o.some((function(t){if(B()(e,t.dialCode))return r.some((function(e){if(t.iso2===e.iso2&&e.mainCode)return A=e,!0})),!0})),A))return A;var i=r.find((function(e){return e.iso2==t}));if(""===e.trim())return i;var a=r.reduce((function(t,n){if(B()(e,n.dialCode)){if(n.dialCode.length>t.dialCode.length)return n;if(n.dialCode.length===t.dialCode.length&&n.priority<t.priority)return n}return t}),{dialCode:"",priority:10001},f(f(n)));return a.name?a:i})),n.updateCountry=function(e){var t,r=n.state.onlyCountries;(t=e.indexOf(0)>="0"&&e.indexOf(0)<="9"?r.find((function(t){return t.dialCode==+e})):r.find((function(t){return t.iso2==e})))&&t.dialCode&&n.setState({selectedCountry:t,formattedNumber:n.props.disableCountryCode?"":n.formatNumber(t.dialCode,t)})},n.scrollTo=function(e,t){if(e){var r=n.dropdownRef;if(r&&document.body){var o=r.offsetHeight,A=r.getBoundingClientRect().top+document.body.scrollTop,i=A+o,a=e,l=a.getBoundingClientRect(),c=a.offsetHeight,s=l.top+document.body.scrollTop,f=s+c,d=s-A+r.scrollTop,C=o/2-c/2;if(n.props.enableSearch?s<A+32:s<A)t&&(d-=C),r.scrollTop=d;else if(f>i){t&&(d+=C);var u=o-c;r.scrollTop=d-u}}}},n.scrollToTop=function(){var e=n.dropdownRef;e&&document.body&&(e.scrollTop=0)},n.formatNumber=function(e,t){if(!t)return e;var r,A=t.format,l=n.props,c=l.disableCountryCode,s=l.enableAreaCodeStretch,f=l.enableLongNumbers,d=l.autoFormat;if(c?((r=A.split(" ")).shift(),r=r.join(" ")):s&&t.isAreaCode?((r=A.split(" "))[1]=r[1].replace(/\.+/,"".padEnd(t.areaCodeLength,".")),r=r.join(" ")):r=A,!e||0===e.length)return c?"":n.props.prefix;if(e&&e.length<2||!r||!d)return c?e:n.props.prefix+e;var C,u=w()(r,(function(e,t){if(0===e.remainingText.length)return e;if("."!==t)return{formattedText:e.formattedText+t,remainingText:e.remainingText};var n,r=i(n=e.remainingText)||o(n)||a(),A=r[0],l=r.slice(1);return{formattedText:e.formattedText+A,remainingText:l}}),{formattedText:"",remainingText:e.split("")});return(C=f?u.formattedText+u.remainingText.join(""):u.formattedText).includes("(")&&!C.includes(")")&&(C+=")"),C},n.cursorToEnd=function(){var e=n.numberInputRef;if(document.activeElement===e){e.focus();var t=e.value.length;")"===e.value.charAt(t-1)&&(t-=1),e.setSelectionRange(t,t)}},n.getElement=function(e){return n["flag_no_".concat(e)]},n.getCountryData=function(){return n.state.selectedCountry?{name:n.state.selectedCountry.name||"",dialCode:n.state.selectedCountry.dialCode||"",countryCode:n.state.selectedCountry.iso2||"",format:n.state.selectedCountry.format||""}:{}},n.handleFlagDropdownClick=function(e){if(e.preventDefault(),n.state.showDropdown||!n.props.disabled){var t=n.state,r=t.preferredCountries,o=t.onlyCountries,A=t.selectedCountry,i=n.concatPreferredCountries(r,o).findIndex((function(e){return e.dialCode===A.dialCode&&e.iso2===A.iso2}));n.setState({showDropdown:!n.state.showDropdown,highlightCountryIndex:i},(function(){n.state.showDropdown&&n.scrollTo(n.getElement(n.state.highlightCountryIndex))}))}},n.handleInput=function(e){var t=e.target.value,r=n.props,o=r.prefix,A=r.onChange,i=n.props.disableCountryCode?"":o,a=n.state.selectedCountry,l=n.state.freezeSelection;if(!n.props.countryCodeEditable){var c=o+(a.hasAreaCodes?n.state.onlyCountries.find((function(e){return e.iso2===a.iso2&&e.mainCode})).dialCode:a.dialCode);if(t.slice(0,c.length)!==c)return}if(t===o)return A&&A("",n.getCountryData(),e,""),n.setState({formattedNumber:""});if(t.replace(/\D/g,"").length>15){if(!1===n.props.enableLongNumbers)return;if("number"==typeof n.props.enableLongNumbers&&t.replace(/\D/g,"").length>n.props.enableLongNumbers)return}if(t!==n.state.formattedNumber){e.preventDefault?e.preventDefault():e.returnValue=!1;var s=n.props.country,f=n.state,d=f.onlyCountries,C=f.selectedCountry,u=f.hiddenAreaCodes;if(A&&e.persist(),t.length>0){var p=t.replace(/\D/g,"");(!n.state.freezeSelection||C&&C.dialCode.length>p.length)&&(a=n.props.disableCountryGuess?C:n.guessSelectedCountry(p.substring(0,6),s,d,u)||C,l=!1),i=n.formatNumber(p,a),a=a.dialCode?a:C}var g=e.target.selectionStart,h=e.target.selectionStart,m=n.state.formattedNumber,E=i.length-m.length;n.setState({formattedNumber:i,freezeSelection:l,selectedCountry:a},(function(){E>0&&(h-=E),")"==i.charAt(i.length-1)?n.numberInputRef.setSelectionRange(i.length-1,i.length-1):h>0&&m.length>=i.length?n.numberInputRef.setSelectionRange(h,h):g<m.length&&n.numberInputRef.setSelectionRange(g,g),A&&A(i.replace(/[^0-9]+/g,""),n.getCountryData(),e,i)}))}},n.handleInputClick=function(e){n.setState({showDropdown:!1}),n.props.onClick&&n.props.onClick(e,n.getCountryData())},n.handleDoubleClick=function(e){var t=e.target.value.length;e.target.setSelectionRange(0,t)},n.handleFlagItemClick=function(e,t){var r=n.state.selectedCountry,o=n.state.onlyCountries.find((function(t){return t==e}));if(o){var A=n.state.formattedNumber.replace(" ","").replace("(","").replace(")","").replace("-",""),i=A.length>1?A.replace(r.dialCode,o.dialCode):o.dialCode,a=n.formatNumber(i.replace(/\D/g,""),o);n.setState({showDropdown:!1,selectedCountry:o,freezeSelection:!0,formattedNumber:a,searchValue:""},(function(){n.cursorToEnd(),n.props.onChange&&n.props.onChange(a.replace(/[^0-9]+/g,""),n.getCountryData(),t,a)}))}},n.handleInputFocus=function(e){n.numberInputRef&&n.numberInputRef.value===n.props.prefix&&n.state.selectedCountry&&!n.props.disableCountryCode&&n.setState({formattedNumber:n.props.prefix+n.state.selectedCountry.dialCode},(function(){n.props.jumpCursorToEnd&&setTimeout(n.cursorToEnd,0)})),n.setState({placeholder:""}),n.props.onFocus&&n.props.onFocus(e,n.getCountryData()),n.props.jumpCursorToEnd&&setTimeout(n.cursorToEnd,0)},n.handleInputBlur=function(e){e.target.value||n.setState({placeholder:n.props.placeholder}),n.props.onBlur&&n.props.onBlur(e,n.getCountryData())},n.handleInputCopy=function(e){if(n.props.copyNumbersOnly){var t=window.getSelection().toString().replace(/[^0-9]+/g,"");e.clipboardData.setData("text/plain",t),e.preventDefault()}},n.getHighlightCountryIndex=function(e){var t=n.state.highlightCountryIndex+e;return t<0||t>=n.state.onlyCountries.length+n.state.preferredCountries.length?t-e:n.props.enableSearch&&t>n.getSearchFilteredCountries().length?0:t},n.searchCountry=function(){var e=n.getProbableCandidate(n.state.queryString)||n.state.onlyCountries[0],t=n.state.onlyCountries.findIndex((function(t){return t==e}))+n.state.preferredCountries.length;n.scrollTo(n.getElement(t),!0),n.setState({queryString:"",highlightCountryIndex:t})},n.handleKeydown=function(e){var t=n.props.keys,r=e.target.className;if(r.includes("selected-flag")&&e.which===t.ENTER&&!n.state.showDropdown)return n.handleFlagDropdownClick(e);if(r.includes("form-control")&&(e.which===t.ENTER||e.which===t.ESC))return e.target.blur();if(n.state.showDropdown&&!n.props.disabled&&(!r.includes("search-box")||e.which===t.UP||e.which===t.DOWN||e.which===t.ENTER||e.which===t.ESC&&""===e.target.value)){e.preventDefault?e.preventDefault():e.returnValue=!1;var o=function(e){n.setState({highlightCountryIndex:n.getHighlightCountryIndex(e)},(function(){n.scrollTo(n.getElement(n.state.highlightCountryIndex),!0)}))};switch(e.which){case t.DOWN:o(1);break;case t.UP:o(-1);break;case t.ENTER:n.props.enableSearch?n.handleFlagItemClick(n.getSearchFilteredCountries()[n.state.highlightCountryIndex]||n.getSearchFilteredCountries()[0],e):n.handleFlagItemClick([].concat(A(n.state.preferredCountries),A(n.state.onlyCountries))[n.state.highlightCountryIndex],e);break;case t.ESC:case t.TAB:n.setState({showDropdown:!1},n.cursorToEnd);break;default:(e.which>=t.A&&e.which<=t.Z||e.which===t.SPACE)&&n.setState({queryString:n.state.queryString+String.fromCharCode(e.which)},n.state.debouncedQueryStingSearcher)}}},n.handleInputKeyDown=function(e){var t=n.props,r=t.keys,o=t.onEnterKeyPress,A=t.onKeyDown;e.which===r.ENTER&&o&&o(e),A&&A(e)},n.handleClickOutside=function(e){n.dropdownRef&&!n.dropdownContainerRef.contains(e.target)&&n.state.showDropdown&&n.setState({showDropdown:!1})},n.handleSearchChange=function(e){var t=e.currentTarget.value,r=n.state,o=r.preferredCountries,A=r.selectedCountry,i=0;if(""===t&&A){var a=n.state.onlyCountries;i=n.concatPreferredCountries(o,a).findIndex((function(e){return e==A})),setTimeout((function(){return n.scrollTo(n.getElement(i))}),100)}n.setState({searchValue:t,highlightCountryIndex:i})},n.concatPreferredCountries=function(e,t){return e.length>0?A(new Set(e.concat(t))):t},n.getDropdownCountryName=function(e){return e.localName||e.name},n.getSearchFilteredCountries=function(){var e=n.state,t=e.preferredCountries,r=e.onlyCountries,o=e.searchValue,i=n.props.enableSearch,a=n.concatPreferredCountries(t,r),l=o.trim().toLowerCase().replace("+","");if(i&&l){if(/^\d+$/.test(l))return a.filter((function(e){var t=e.dialCode;return["".concat(t)].some((function(e){return e.toLowerCase().includes(l)}))}));var c=a.filter((function(e){var t=e.iso2;return["".concat(t)].some((function(e){return e.toLowerCase().includes(l)}))})),s=a.filter((function(e){var t=e.name,n=e.localName;return e.iso2,["".concat(t),"".concat(n||"")].some((function(e){return e.toLowerCase().includes(l)}))}));return n.scrollToTop(),A(new Set([].concat(c,s)))}return a},n.getCountryDropdownList=function(){var e=n.state,t=e.preferredCountries,o=e.highlightCountryIndex,A=e.showDropdown,i=e.searchValue,a=n.props,l=a.disableDropdown,c=a.prefix,s=n.props,f=s.enableSearch,d=s.searchNotFound,C=s.disableSearchIcon,u=s.searchClass,g=s.searchStyle,h=s.searchPlaceholder,m=s.autocompleteSearch,E=n.getSearchFilteredCountries().map((function(e,t){var r=o===t,A=M()({country:!0,preferred:"us"===e.iso2||"gb"===e.iso2,active:"us"===e.iso2,highlight:r}),i="flag ".concat(e.iso2);return p.a.createElement("li",Object.assign({ref:function(e){return n["flag_no_".concat(t)]=e},key:"flag_no_".concat(t),"data-flag-key":"flag_no_".concat(t),className:A,"data-dial-code":"1",tabIndex:l?"-1":"0","data-country-code":e.iso2,onClick:function(t){return n.handleFlagItemClick(e,t)},role:"option"},r?{"aria-selected":!0}:{}),p.a.createElement("div",{className:i}),p.a.createElement("span",{className:"country-name"},n.getDropdownCountryName(e)),p.a.createElement("span",{className:"dial-code"},e.format?n.formatNumber(e.dialCode,e):c+e.dialCode))})),b=p.a.createElement("li",{key:"dashes",className:"divider"});t.length>0&&(!f||f&&!i.trim())&&E.splice(t.length,0,b);var w=M()(r({"country-list":!0,hide:!A},n.props.dropdownClass,!0));return p.a.createElement("ul",{ref:function(e){return!f&&e&&e.focus(),n.dropdownRef=e},className:w,style:n.props.dropdownStyle,role:"listbox",tabIndex:"0"},f&&p.a.createElement("li",{className:M()(r({search:!0},u,u))},!C&&p.a.createElement("span",{className:M()(r({"search-emoji":!0},"".concat(u,"-emoji"),u)),role:"img","aria-label":"Magnifying glass"},"🔎"),p.a.createElement("input",{className:M()(r({"search-box":!0},"".concat(u,"-box"),u)),style:g,type:"search",placeholder:h,autoFocus:!0,autoComplete:m?"on":"off",value:i,onChange:n.handleSearchChange})),E.length>0?E:p.a.createElement("li",{className:"no-entries-message"},p.a.createElement("span",null,d)))};var c,C=new V(e.enableAreaCodes,e.enableTerritories,e.regions,e.onlyCountries,e.preferredCountries,e.excludeCountries,e.preserveOrder,e.masks,e.priority,e.areaCodes,e.localization,e.prefix,e.defaultMask,e.alwaysDefaultMask),u=C.onlyCountries,g=C.preferredCountries,m=C.hiddenAreaCodes,b=e.value?e.value.replace(/\D/g,""):"";c=e.disableInitialCountryGuess?0:b.length>1?n.guessSelectedCountry(b.substring(0,6),e.country,u,m)||0:e.country&&u.find((function(t){return t.iso2==e.country}))||0;var v,I=b.length<2&&c&&!B()(b,c.dialCode)?c.dialCode:"";v=""===b&&0===c?"":n.formatNumber((e.disableCountryCode?"":I)+b,c.name?c:void 0);var y=u.findIndex((function(e){return e==c}));return n.state={showDropdown:e.showDropdown,formattedNumber:v,onlyCountries:u,preferredCountries:g,hiddenAreaCodes:m,selectedCountry:c,highlightCountryIndex:y,queryString:"",freezeSelection:!1,debouncedQueryStingSearcher:h()(n.searchCountry,250),searchValue:""},n}var n;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C(e,t)}(t,e),(n=[{key:"componentDidMount",value:function(){document.addEventListener&&this.props.enableClickOutside&&document.addEventListener("mousedown",this.handleClickOutside),this.props.onMount&&this.props.onMount(this.state.formattedNumber.replace(/[^0-9]+/g,""),this.getCountryData(),this.state.formattedNumber)}},{key:"componentWillUnmount",value:function(){document.removeEventListener&&this.props.enableClickOutside&&document.removeEventListener("mousedown",this.handleClickOutside)}},{key:"componentDidUpdate",value:function(e,t,n){e.country!==this.props.country?this.updateCountry(this.props.country):e.value!==this.props.value&&this.updateFormattedNumber(this.props.value)}},{key:"updateFormattedNumber",value:function(e){if(null===e)return this.setState({selectedCountry:0,formattedNumber:""});var t=this.state,n=t.onlyCountries,r=t.selectedCountry,o=t.hiddenAreaCodes,A=this.props,i=A.country,a=A.prefix;if(""===e)return this.setState({selectedCountry:r,formattedNumber:""});var l,c,s=e.replace(/\D/g,"");if(r&&B()(e,a+r.dialCode))c=this.formatNumber(s,r),this.setState({formattedNumber:c});else{var f=(l=this.props.disableCountryGuess?r:this.guessSelectedCountry(s.substring(0,6),i,n,o)||r)&&B()(s,a+l.dialCode)?l.dialCode:"";c=this.formatNumber((this.props.disableCountryCode?"":f)+s,l||void 0),this.setState({selectedCountry:l,formattedNumber:c})}}},{key:"render",value:function(){var e,t,n,o=this,A=this.state,i=A.onlyCountries,a=A.selectedCountry,l=A.showDropdown,c=A.formattedNumber,s=A.hiddenAreaCodes,f=this.props,d=f.disableDropdown,C=f.renderStringAsFlag,u=f.isValid,g=f.defaultErrorMessage,h=f.specialLabel;if("boolean"==typeof u)t=u;else{var m=u(c.replace(/\D/g,""),a,i,s);"boolean"==typeof m?!1===(t=m)&&(n=g):(t=!1,n=m)}var E=M()((r(e={},this.props.containerClass,!0),r(e,"react-tel-input",!0),e)),b=M()({arrow:!0,up:l}),w=M()(r({"form-control":!0,"invalid-number":!t,open:l},this.props.inputClass,!0)),v=M()({"selected-flag":!0,open:l}),B=M()(r({"flag-dropdown":!0,"invalid-number":!t,open:l},this.props.buttonClass,!0)),I="flag ".concat(a&&a.iso2);return p.a.createElement("div",{className:"".concat(E," ").concat(this.props.className),style:this.props.style||this.props.containerStyle,onKeyDown:this.handleKeydown},h&&p.a.createElement("div",{className:"special-label"},h),n&&p.a.createElement("div",{className:"invalid-number-message"},n),p.a.createElement("input",Object.assign({className:w,style:this.props.inputStyle,onChange:this.handleInput,onClick:this.handleInputClick,onDoubleClick:this.handleDoubleClick,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur,onCopy:this.handleInputCopy,value:c,onKeyDown:this.handleInputKeyDown,placeholder:this.props.placeholder,disabled:this.props.disabled,type:"tel"},this.props.inputProps,{ref:function(e){o.numberInputRef=e,"function"==typeof o.props.inputProps.ref?o.props.inputProps.ref(e):"object"==typeof o.props.inputProps.ref&&(o.props.inputProps.ref.current=e)}})),p.a.createElement("div",{className:B,style:this.props.buttonStyle,ref:function(e){return o.dropdownContainerRef=e}},C?p.a.createElement("div",{className:v},C):p.a.createElement("div",{onClick:d?void 0:this.handleFlagDropdownClick,className:v,title:a?"".concat(a.localName||a.name,": + ").concat(a.dialCode):"",tabIndex:d?"-1":"0",role:"button","aria-haspopup":"listbox","aria-expanded":!!l||void 0},p.a.createElement("div",{className:I},!d&&p.a.createElement("div",{className:b}))),l&&this.getCountryDropdownList()))}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,n),t}(p.a.Component);Z.defaultProps={country:"",value:"",onlyCountries:[],preferredCountries:[],excludeCountries:[],placeholder:"1 (702) 123-4567",searchPlaceholder:"search",searchNotFound:"No entries to show",flagsImagePath:"./flags.png",disabled:!1,containerStyle:{},inputStyle:{},buttonStyle:{},dropdownStyle:{},searchStyle:{},containerClass:"",inputClass:"",buttonClass:"",dropdownClass:"",searchClass:"",className:"",autoFormat:!0,enableAreaCodes:!1,enableTerritories:!1,disableCountryCode:!1,disableDropdown:!1,enableLongNumbers:!1,countryCodeEditable:!0,enableSearch:!1,disableSearchIcon:!1,disableInitialCountryGuess:!1,disableCountryGuess:!1,regions:"",inputProps:{},localization:{},masks:null,priority:null,areaCodes:null,preserveOrder:[],defaultMask:"... ... ... ... ..",alwaysDefaultMask:!1,prefix:"+",copyNumbersOnly:!0,renderStringAsFlag:"",autocompleteSearch:!1,jumpCursorToEnd:!0,enableAreaCodeStretch:!1,enableClickOutside:!0,showDropdown:!1,isValid:!0,defaultErrorMessage:"",specialLabel:"Phone",onEnterKeyPress:null,keys:{UP:38,DOWN:40,RIGHT:39,LEFT:37,ENTER:13,ESC:27,PLUS:43,A:65,Z:90,SPACE:32,TAB:9}},t.default=Z}])),iw),cw=Q(lw);y('.error {\n margin-top: 5px;\n}\n\n.react-tel-input {\n font-family: "Roboto", sans-serif;\n font-size: 15px;\n position: relative;\n width: 100%;\n}\n\n.react-tel-input :disabled {\n cursor: not-allowed;\n}\n\n.react-tel-input .flag {\n width: 16px;\n height: 11px;\n background-image: url(data:image/png;base64,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);\n}\n\n.react-tel-input .ad {\n background-position: -16px 0;\n}\n\n.react-tel-input .ae {\n background-position: -32px 0;\n}\n\n.react-tel-input .af {\n background-position: -48px 0;\n}\n\n.react-tel-input .ag {\n background-position: -64px 0;\n}\n\n.react-tel-input .ai {\n background-position: -80px 0;\n}\n\n.react-tel-input .al {\n background-position: -96px 0;\n}\n\n.react-tel-input .am {\n background-position: -112px 0;\n}\n\n.react-tel-input .ao {\n background-position: -128px 0;\n}\n\n.react-tel-input .ar {\n background-position: -144px 0;\n}\n\n.react-tel-input .as {\n background-position: -160px 0;\n}\n\n.react-tel-input .at {\n background-position: -176px 0;\n}\n\n.react-tel-input .au {\n background-position: -192px 0;\n}\n\n.react-tel-input .aw {\n background-position: -208px 0;\n}\n\n.react-tel-input .az {\n background-position: -224px 0;\n}\n\n.react-tel-input .ba {\n background-position: -240px 0;\n}\n\n.react-tel-input .bb {\n background-position: 0 -11px;\n}\n\n.react-tel-input .bd {\n background-position: -16px -11px;\n}\n\n.react-tel-input .be {\n background-position: -32px -11px;\n}\n\n.react-tel-input .bf {\n background-position: -48px -11px;\n}\n\n.react-tel-input .bg {\n background-position: -64px -11px;\n}\n\n.react-tel-input .bh {\n background-position: -80px -11px;\n}\n\n.react-tel-input .bi {\n background-position: -96px -11px;\n}\n\n.react-tel-input .bj {\n background-position: -112px -11px;\n}\n\n.react-tel-input .bm {\n background-position: -128px -11px;\n}\n\n.react-tel-input .bn {\n background-position: -144px -11px;\n}\n\n.react-tel-input .bo {\n background-position: -160px -11px;\n}\n\n.react-tel-input .br {\n background-position: -176px -11px;\n}\n\n.react-tel-input .bs {\n background-position: -192px -11px;\n}\n\n.react-tel-input .bt {\n background-position: -208px -11px;\n}\n\n.react-tel-input .bw {\n background-position: -224px -11px;\n}\n\n.react-tel-input .by {\n background-position: -240px -11px;\n}\n\n.react-tel-input .bz {\n background-position: 0 -22px;\n}\n\n.react-tel-input .ca {\n background-position: -16px -22px;\n}\n\n.react-tel-input .cd {\n background-position: -32px -22px;\n}\n\n.react-tel-input .cf {\n background-position: -48px -22px;\n}\n\n.react-tel-input .cg {\n background-position: -64px -22px;\n}\n\n.react-tel-input .ch {\n background-position: -80px -22px;\n}\n\n.react-tel-input .ci {\n background-position: -96px -22px;\n}\n\n.react-tel-input .ck {\n background-position: -112px -22px;\n}\n\n.react-tel-input .cl {\n background-position: -128px -22px;\n}\n\n.react-tel-input .cm {\n background-position: -144px -22px;\n}\n\n.react-tel-input .cn {\n background-position: -160px -22px;\n}\n\n.react-tel-input .co {\n background-position: -176px -22px;\n}\n\n.react-tel-input .cr {\n background-position: -192px -22px;\n}\n\n.react-tel-input .cu {\n background-position: -208px -22px;\n}\n\n.react-tel-input .cv {\n background-position: -224px -22px;\n}\n\n.react-tel-input .cw {\n background-position: -240px -22px;\n}\n\n.react-tel-input .cy {\n background-position: 0 -33px;\n}\n\n.react-tel-input .cz {\n background-position: -16px -33px;\n}\n\n.react-tel-input .de {\n background-position: -32px -33px;\n}\n\n.react-tel-input .dj {\n background-position: -48px -33px;\n}\n\n.react-tel-input .dk {\n background-position: -64px -33px;\n}\n\n.react-tel-input .dm {\n background-position: -80px -33px;\n}\n\n.react-tel-input .do {\n background-position: -96px -33px;\n}\n\n.react-tel-input .dz {\n background-position: -112px -33px;\n}\n\n.react-tel-input .ec {\n background-position: -128px -33px;\n}\n\n.react-tel-input .ee {\n background-position: -144px -33px;\n}\n\n.react-tel-input .eg {\n background-position: -160px -33px;\n}\n\n.react-tel-input .er {\n background-position: -176px -33px;\n}\n\n.react-tel-input .es {\n background-position: -192px -33px;\n}\n\n.react-tel-input .et {\n background-position: -208px -33px;\n}\n\n.react-tel-input .fi {\n background-position: -224px -33px;\n}\n\n.react-tel-input .fj {\n background-position: -240px -33px;\n}\n\n.react-tel-input .fk {\n background-position: 0 -44px;\n}\n\n.react-tel-input .fm {\n background-position: -16px -44px;\n}\n\n.react-tel-input .fo {\n background-position: -32px -44px;\n}\n\n.react-tel-input .fr,\n.react-tel-input .bl,\n.react-tel-input .mf {\n background-position: -48px -44px;\n}\n\n.react-tel-input .ga {\n background-position: -64px -44px;\n}\n\n.react-tel-input .gb {\n background-position: -80px -44px;\n}\n\n.react-tel-input .gd {\n background-position: -96px -44px;\n}\n\n.react-tel-input .ge {\n background-position: -112px -44px;\n}\n\n.react-tel-input .gf {\n background-position: -128px -44px;\n}\n\n.react-tel-input .gh {\n background-position: -144px -44px;\n}\n\n.react-tel-input .gi {\n background-position: -160px -44px;\n}\n\n.react-tel-input .gl {\n background-position: -176px -44px;\n}\n\n.react-tel-input .gm {\n background-position: -192px -44px;\n}\n\n.react-tel-input .gn {\n background-position: -208px -44px;\n}\n\n.react-tel-input .gp {\n background-position: -224px -44px;\n}\n\n.react-tel-input .gq {\n background-position: -240px -44px;\n}\n\n.react-tel-input .gr {\n background-position: 0 -55px;\n}\n\n.react-tel-input .gt {\n background-position: -16px -55px;\n}\n\n.react-tel-input .gu {\n background-position: -32px -55px;\n}\n\n.react-tel-input .gw {\n background-position: -48px -55px;\n}\n\n.react-tel-input .gy {\n background-position: -64px -55px;\n}\n\n.react-tel-input .hk {\n background-position: -80px -55px;\n}\n\n.react-tel-input .hn {\n background-position: -96px -55px;\n}\n\n.react-tel-input .hr {\n background-position: -112px -55px;\n}\n\n.react-tel-input .ht {\n background-position: -128px -55px;\n}\n\n.react-tel-input .hu {\n background-position: -144px -55px;\n}\n\n.react-tel-input .id {\n background-position: -160px -55px;\n}\n\n.react-tel-input .ie {\n background-position: -176px -55px;\n}\n\n.react-tel-input .il {\n background-position: -192px -55px;\n}\n\n.react-tel-input .in {\n background-position: -208px -55px;\n}\n\n.react-tel-input .io {\n background-position: -224px -55px;\n}\n\n.react-tel-input .iq {\n background-position: -240px -55px;\n}\n\n.react-tel-input .ir {\n background-position: 0 -66px;\n}\n\n.react-tel-input .is {\n background-position: -16px -66px;\n}\n\n.react-tel-input .it {\n background-position: -32px -66px;\n}\n\n.react-tel-input .je {\n background-position: -144px -154px;\n}\n\n.react-tel-input .jm {\n background-position: -48px -66px;\n}\n\n.react-tel-input .jo {\n background-position: -64px -66px;\n}\n\n.react-tel-input .jp {\n background-position: -80px -66px;\n}\n\n.react-tel-input .ke {\n background-position: -96px -66px;\n}\n\n.react-tel-input .kg {\n background-position: -112px -66px;\n}\n\n.react-tel-input .kh {\n background-position: -128px -66px;\n}\n\n.react-tel-input .ki {\n background-position: -144px -66px;\n}\n\n.react-tel-input .xk {\n background-position: -128px -154px;\n}\n\n.react-tel-input .km {\n background-position: -160px -66px;\n}\n\n.react-tel-input .kn {\n background-position: -176px -66px;\n}\n\n.react-tel-input .kp {\n background-position: -192px -66px;\n}\n\n.react-tel-input .kr {\n background-position: -208px -66px;\n}\n\n.react-tel-input .kw {\n background-position: -224px -66px;\n}\n\n.react-tel-input .ky {\n background-position: -240px -66px;\n}\n\n.react-tel-input .kz {\n background-position: 0 -77px;\n}\n\n.react-tel-input .la {\n background-position: -16px -77px;\n}\n\n.react-tel-input .lb {\n background-position: -32px -77px;\n}\n\n.react-tel-input .lc {\n background-position: -48px -77px;\n}\n\n.react-tel-input .li {\n background-position: -64px -77px;\n}\n\n.react-tel-input .lk {\n background-position: -80px -77px;\n}\n\n.react-tel-input .lr {\n background-position: -96px -77px;\n}\n\n.react-tel-input .ls {\n background-position: -112px -77px;\n}\n\n.react-tel-input .lt {\n background-position: -128px -77px;\n}\n\n.react-tel-input .lu {\n background-position: -144px -77px;\n}\n\n.react-tel-input .lv {\n background-position: -160px -77px;\n}\n\n.react-tel-input .ly {\n background-position: -176px -77px;\n}\n\n.react-tel-input .ma {\n background-position: -192px -77px;\n}\n\n.react-tel-input .mc {\n background-position: -208px -77px;\n}\n\n.react-tel-input .md {\n background-position: -224px -77px;\n}\n\n.react-tel-input .me {\n background-position: -112px -154px;\n height: 12px;\n}\n\n.react-tel-input .mg {\n background-position: 0 -88px;\n}\n\n.react-tel-input .mh {\n background-position: -16px -88px;\n}\n\n.react-tel-input .mk {\n background-position: -32px -88px;\n}\n\n.react-tel-input .ml {\n background-position: -48px -88px;\n}\n\n.react-tel-input .mm {\n background-position: -64px -88px;\n}\n\n.react-tel-input .mn {\n background-position: -80px -88px;\n}\n\n.react-tel-input .mo {\n background-position: -96px -88px;\n}\n\n.react-tel-input .mp {\n background-position: -112px -88px;\n}\n\n.react-tel-input .mq {\n background-position: -128px -88px;\n}\n\n.react-tel-input .mr {\n background-position: -144px -88px;\n}\n\n.react-tel-input .ms {\n background-position: -160px -88px;\n}\n\n.react-tel-input .mt {\n background-position: -176px -88px;\n}\n\n.react-tel-input .mu {\n background-position: -192px -88px;\n}\n\n.react-tel-input .mv {\n background-position: -208px -88px;\n}\n\n.react-tel-input .mw {\n background-position: -224px -88px;\n}\n\n.react-tel-input .mx {\n background-position: -240px -88px;\n}\n\n.react-tel-input .my {\n background-position: 0 -99px;\n}\n\n.react-tel-input .mz {\n background-position: -16px -99px;\n}\n\n.react-tel-input .na {\n background-position: -32px -99px;\n}\n\n.react-tel-input .nc {\n background-position: -48px -99px;\n}\n\n.react-tel-input .ne {\n background-position: -64px -99px;\n}\n\n.react-tel-input .nf {\n background-position: -80px -99px;\n}\n\n.react-tel-input .ng {\n background-position: -96px -99px;\n}\n\n.react-tel-input .ni {\n background-position: -112px -99px;\n}\n\n.react-tel-input .nl,\n.react-tel-input .bq {\n background-position: -128px -99px;\n}\n\n.react-tel-input .no {\n background-position: -144px -99px;\n}\n\n.react-tel-input .np {\n background-position: -160px -99px;\n}\n\n.react-tel-input .nr {\n background-position: -176px -99px;\n}\n\n.react-tel-input .nu {\n background-position: -192px -99px;\n}\n\n.react-tel-input .nz {\n background-position: -208px -99px;\n}\n\n.react-tel-input .om {\n background-position: -224px -99px;\n}\n\n.react-tel-input .pa {\n background-position: -240px -99px;\n}\n\n.react-tel-input .pe {\n background-position: 0 -110px;\n}\n\n.react-tel-input .pf {\n background-position: -16px -110px;\n}\n\n.react-tel-input .pg {\n background-position: -32px -110px;\n}\n\n.react-tel-input .ph {\n background-position: -48px -110px;\n}\n\n.react-tel-input .pk {\n background-position: -64px -110px;\n}\n\n.react-tel-input .pl {\n background-position: -80px -110px;\n}\n\n.react-tel-input .pm {\n background-position: -96px -110px;\n}\n\n.react-tel-input .pr {\n background-position: -112px -110px;\n}\n\n.react-tel-input .ps {\n background-position: -128px -110px;\n}\n\n.react-tel-input .pt {\n background-position: -144px -110px;\n}\n\n.react-tel-input .pw {\n background-position: -160px -110px;\n}\n\n.react-tel-input .py {\n background-position: -176px -110px;\n}\n\n.react-tel-input .qa {\n background-position: -192px -110px;\n}\n\n.react-tel-input .re {\n background-position: -208px -110px;\n}\n\n.react-tel-input .ro {\n background-position: -224px -110px;\n}\n\n.react-tel-input .rs {\n background-position: -240px -110px;\n}\n\n.react-tel-input .ru {\n background-position: 0 -121px;\n}\n\n.react-tel-input .rw {\n background-position: -16px -121px;\n}\n\n.react-tel-input .sa {\n background-position: -32px -121px;\n}\n\n.react-tel-input .sb {\n background-position: -48px -121px;\n}\n\n.react-tel-input .sc {\n background-position: -64px -121px;\n}\n\n.react-tel-input .sd {\n background-position: -80px -121px;\n}\n\n.react-tel-input .se {\n background-position: -96px -121px;\n}\n\n.react-tel-input .sg {\n background-position: -112px -121px;\n}\n\n.react-tel-input .sh {\n background-position: -128px -121px;\n}\n\n.react-tel-input .si {\n background-position: -144px -121px;\n}\n\n.react-tel-input .sk {\n background-position: -160px -121px;\n}\n\n.react-tel-input .sl {\n background-position: -176px -121px;\n}\n\n.react-tel-input .sm {\n background-position: -192px -121px;\n}\n\n.react-tel-input .sn {\n background-position: -208px -121px;\n}\n\n.react-tel-input .so {\n background-position: -224px -121px;\n}\n\n.react-tel-input .sr {\n background-position: -240px -121px;\n}\n\n.react-tel-input .ss {\n background-position: 0 -132px;\n}\n\n.react-tel-input .st {\n background-position: -16px -132px;\n}\n\n.react-tel-input .sv {\n background-position: -32px -132px;\n}\n\n.react-tel-input .sx {\n background-position: -48px -132px;\n}\n\n.react-tel-input .sy {\n background-position: -64px -132px;\n}\n\n.react-tel-input .sz {\n background-position: -80px -132px;\n}\n\n.react-tel-input .tc {\n background-position: -96px -132px;\n}\n\n.react-tel-input .td {\n background-position: -112px -132px;\n}\n\n.react-tel-input .tg {\n background-position: -128px -132px;\n}\n\n.react-tel-input .th {\n background-position: -144px -132px;\n}\n\n.react-tel-input .tj {\n background-position: -160px -132px;\n}\n\n.react-tel-input .tk {\n background-position: -176px -132px;\n}\n\n.react-tel-input .tl {\n background-position: -192px -132px;\n}\n\n.react-tel-input .tm {\n background-position: -208px -132px;\n}\n\n.react-tel-input .tn {\n background-position: -224px -132px;\n}\n\n.react-tel-input .to {\n background-position: -240px -132px;\n}\n\n.react-tel-input .tr {\n background-position: 0 -143px;\n}\n\n.react-tel-input .tt {\n background-position: -16px -143px;\n}\n\n.react-tel-input .tv {\n background-position: -32px -143px;\n}\n\n.react-tel-input .tw {\n background-position: -48px -143px;\n}\n\n.react-tel-input .tz {\n background-position: -64px -143px;\n}\n\n.react-tel-input .ua {\n background-position: -80px -143px;\n}\n\n.react-tel-input .ug {\n background-position: -96px -143px;\n}\n\n.react-tel-input .us {\n background-position: -112px -143px;\n}\n\n.react-tel-input .uy {\n background-position: -128px -143px;\n}\n\n.react-tel-input .uz {\n background-position: -144px -143px;\n}\n\n.react-tel-input .va {\n background-position: -160px -143px;\n}\n\n.react-tel-input .vc {\n background-position: -176px -143px;\n}\n\n.react-tel-input .ve {\n background-position: -192px -143px;\n}\n\n.react-tel-input .vg {\n background-position: -208px -143px;\n}\n\n.react-tel-input .vi {\n background-position: -224px -143px;\n}\n\n.react-tel-input .vn {\n background-position: -240px -143px;\n}\n\n.react-tel-input .vu {\n background-position: 0 -154px;\n}\n\n.react-tel-input .wf {\n background-position: -16px -154px;\n}\n\n.react-tel-input .ws {\n background-position: -32px -154px;\n}\n\n.react-tel-input .ye {\n background-position: -48px -154px;\n}\n\n.react-tel-input .za {\n background-position: -64px -154px;\n}\n\n.react-tel-input .zm {\n background-position: -80px -154px;\n}\n\n.react-tel-input .zw {\n background-position: -96px -154px;\n}\n\n.react-tel-input * {\n box-sizing: border-box;\n -moz-box-sizing: border-box;\n}\n\n.react-tel-input .hide {\n display: none;\n}\n\n.react-tel-input .v-hide {\n visibility: hidden;\n}\n\n.react-tel-input .form-control {\n position: relative;\n font-size: 14px;\n letter-spacing: 0.01rem;\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n padding-left: 48px;\n margin-left: 0;\n background: #ffffff;\n border: 1px solid #cacaca;\n border-radius: 5px;\n line-height: 25px;\n height: 35px;\n width: 300px;\n outline: none;\n}\n\n.react-tel-input .form-control.invalid-number {\n border: 1px solid #d79f9f;\n background-color: #faf0f0;\n border-left-color: #cacaca;\n}\n\n.react-tel-input .form-control.invalid-number:focus {\n border: 1px solid #d79f9f;\n border-left-color: #cacaca;\n background-color: #faf0f0;\n}\n\n.react-tel-input .flag-dropdown {\n position: absolute;\n top: 0;\n bottom: 0;\n padding: 0;\n background-color: #f5f5f5;\n border: 1px solid #cacaca;\n border-radius: 3px 0 0 3px;\n}\n\n.react-tel-input .flag-dropdown:hover,\n.react-tel-input .flag-dropdown:focus {\n cursor: pointer;\n}\n\n.react-tel-input .flag-dropdown.invalid-number {\n border-color: #d79f9f;\n}\n\n.react-tel-input .flag-dropdown.open {\n z-index: 2;\n background: #fff;\n border-radius: 3px 0 0 0;\n}\n\n.react-tel-input .flag-dropdown.open .selected-flag {\n background: #fff;\n border-radius: 3px 0 0 0;\n}\n\n.react-tel-input input[disabled] + .flag-dropdown:hover {\n cursor: default;\n}\n\n.react-tel-input input[disabled] + .flag-dropdown:hover .selected-flag {\n background-color: transparent;\n}\n\n.react-tel-input .selected-flag {\n outline: none;\n position: relative;\n width: 38px;\n height: 100%;\n padding: 0 0 0 8px;\n border-radius: 3px 0 0 3px;\n}\n\n.react-tel-input .selected-flag:hover,\n.react-tel-input .selected-flag:focus {\n background-color: #fff;\n}\n\n.react-tel-input .selected-flag .flag {\n position: absolute;\n top: 50%;\n margin-top: -5px;\n}\n\n.react-tel-input .selected-flag .arrow {\n position: relative;\n top: 50%;\n margin-top: -2px;\n left: 20px;\n width: 0;\n height: 0;\n border-left: 3px solid transparent;\n border-right: 3px solid transparent;\n border-top: 4px solid #555;\n}\n\n.react-tel-input .selected-flag .arrow.up {\n border-top: none;\n border-bottom: 4px solid #555;\n}\n\n.react-tel-input .country-list {\n outline: none;\n z-index: 1;\n list-style: none;\n position: absolute;\n padding: 0;\n margin: 10px 0 10px -1px;\n box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.35);\n background-color: white;\n width: 300px;\n max-height: 200px;\n overflow-y: scroll;\n border-radius: 0 0 3px 3px;\n}\n\n.react-tel-input .country-list .flag {\n display: inline-block;\n}\n\n.react-tel-input .country-list .divider {\n padding-bottom: 5px;\n margin-bottom: 5px;\n border-bottom: 1px solid #ccc;\n}\n\n.react-tel-input .country-list .country {\n padding: 7px 9px;\n}\n\n.react-tel-input .country-list .country .dial-code {\n color: #6b6b6b;\n}\n\n.react-tel-input .country-list .country:hover {\n background-color: #f1f1f1;\n}\n\n.react-tel-input .country-list .country.highlight {\n background-color: #f1f1f1;\n}\n\n.react-tel-input .country-list .flag {\n margin-right: 7px;\n margin-top: 2px;\n}\n\n.react-tel-input .country-list .country-name {\n margin-right: 6px;\n}\n\n.react-tel-input .country-list .search {\n position: sticky;\n top: 0;\n background-color: #fff;\n padding: 10px 0 6px 10px;\n}\n\n.react-tel-input .country-list .search-emoji {\n font-size: 15px;\n}\n\n.react-tel-input .country-list .search-box {\n border: 1px solid #cacaca;\n border-radius: 3px;\n font-size: 15px;\n line-height: 15px;\n margin-left: 6px;\n padding: 3px 8px 5px;\n outline: none;\n}\n\n.react-tel-input .country-list .no-entries-message {\n padding: 7px 10px 11px;\n opacity: 0.7;\n}\n\n.react-tel-input .invalid-number-message {\n position: absolute;\n z-index: 1;\n font-size: 13px;\n left: 46px;\n top: -8px;\n background: #fff;\n padding: 0 2px;\n color: #de0000;\n}\n\n.react-tel-input .special-label {\n display: none;\n position: absolute;\n z-index: 1;\n font-size: 13px;\n left: 46px;\n top: -8px;\n background: #fff;\n padding: 0 2px;\n white-space: nowrap;\n}');const sw={US:/^\+1\d{10}$/,CA:/^\+1\d{10}$/,UK:/^\+44\d{10}$/,FR:/^\+33\d{9}$/,DE:/^\+49\d{10}$/,IN:/^\+91\d{10}$/,AU:/^\+61\d{9}$/,BR:/^\+55\d{11}$/,RU:/^\+7\d{10}$/,IT:/^\+39\d{10}$/,ES:/^\+34\d{9}$/,ZA:/^\+27\d{9}$/,MX:/^\+52\d{10}$/,JP:/^\+81\d{10}$/,CN:/^\+86\d{11}$/,NG:/^\+234\d{10}$/,EG:/^\+20\d{9}$/,KR:/^\+82\d{9,10}$/},fw=({country:t,value:r,onChange:o,width:A="100%",placeholder:i="Enter phone number",onFocus:c,onBlur:s,id:f,dropdownStyle:d={},enableAreaCodeStretch:C=!1,disabled:u=!1,isValid:p=!0})=>{const[g,h]=l(r),[m,E]=l(!1),[b,w]=l(p);a((()=>{if(r){let e=r;e.startsWith("+")||(e=`+${e}`),h(e)}}),[r]);const v=e=>{const n=sw[t];if(!n)return!1;let r=e;return r.startsWith("+")||(r=`+${r}`),n.test(r)};return n("div",{id:f,children:[e(cw,{specialLabel:"",countryCodeEditable:!1,country:t,value:g,onChange:e=>{const t=e.replace(/[^0-9+]/g,"");h(t),o(t);const n=v(t);w(n)},inputStyle:{width:A,height:"32px",border:m?"1px solid var(--brand-color)":b?"1px solid var(--default-color)":"1px solid var(--error_light)",borderRadius:"4px",fontSize:"14px",transition:"border-color 0.3s ease"},enableSearch:!0,placeholder:i,onFocus:e=>{E(!0),c&&c(e)},onBlur:e=>{E(!1),s&&s(e);const t=v(g);w(t)},dropdownStyle:d,enableAreaCodeStretch:C,disabled:u}),!b&&!m&&e(T,{color:"var(--error_light)",className:"error",children:"Invalid phone number format"})]})},dw=(e,t,n)=>{const r=[...e],o=r[t];return r.splice(t,1),r.splice(n,0,o),r},Cw=e=>{const t={};return e.forEach(((e,n)=>{t[n]?t[n]=Array.isArray(t[n])?[...t[n],e]:[t[n],e]:t[n]=e})),t},uw=(e,t,n,r)=>{let o,A;const i=()=>{if(r){const e=((e,t)=>e.findIndex((e=>e.key===t)))(t,r);if(-1===e)throw new Error(`Key "${r}" not found in oldData.`);return e}return 0};switch(e){case"above":o=[...n,...t].slice(0,100);break;case"below":o=[...t,...n].slice(-100);break;case"expand":case"expandAll":case"collapse":const r=i();if(void 0===r)throw new Error("Both sourceId and index are required for 'expand' or 'collapse' actions.");o=[...t.slice(0,r),...n].slice(-40);break;case"addAbove":const a=i();if(void 0===a)throw new Error("Both sourceId and index are required for 'addAbove' action.");o=[...t.slice(0,a),...n,...t.slice(a)];break;case"addBelow":const l=i();if(void 0===l)throw new Error("Both sourceId and index are required for 'addBelow' action.");o=[...t.slice(0,l+1),...n,...t.slice(l+1)];break;case"start":if(K(n))throw new Error("Tree data list is empty, cannot determine root.");A=n[0],o=n.slice(1);break;default:throw new Error(`Invalid action: ${e}`)}if(K(o)&&"start"!==e)throw new Error("Tree data list is empty.");const a=o[0]||A,l=o[o.length-1]||{lastResource:!0,key:""};return{treeDataList:o,next:!l?.lastResource,previous:!a?.lastResource,startId:a?.key,endId:l?.key,root:A}},pw=e=>{a((()=>{const t=t=>{e&&t.preventDefault()};return window.addEventListener("beforeunload",t),()=>{window.removeEventListener("beforeunload",t)}}),[e])},gw=(e,t,n,r)=>{if(!t)throw new Error("Key is required");const o=new Map,A=new Map,i=new Set;let a=[...e];n&&!K(n)&&(a=[n,...e]),a.forEach((e=>{o.set(e.key,e),e.parentId&&(A.has(e.parentId)||A.set(e.parentId,[]),A.get(e.parentId).push(e))}));const l=o.get(t);return l&&(l.selectedStatus=r?"completely":"none",function e(t,n){if(i.has(t))throw new Error(`Cycle detected at node: ${t}`);i.add(t),(A.get(t)||[]).forEach((t=>{t.selectedStatus=n,e(t.key,n)})),i.delete(t)}(t,l.selectedStatus),function e(t){if(i.has(t))throw new Error(`Cycle detected at node: ${t}`);i.add(t);const n=o.get(t);if(n&&n.parentId){const t=o.get(n.parentId);t&&(t.selectedStatus=function(e){const t=o.get(e);if(!t)return"none";const n=(t.resourceCount??0)+(t.subContainerCount??0);if(0===n)return t.selectedStatus??"none";const r=A.get(e)||[];let i=0,a=!1;for(const e of r)"completely"===e.selectedStatus?i++:"partially"===e.selectedStatus&&(a=!0);return i===n?"completely":a||i>0?"partially":"none"}(t.key),e(t.key))}i.delete(t)}(t)),K(n)?{data:a}:{rootNode:a[0],data:a.slice(1)}},hw=(e,t,n,r)=>{if(!t)throw new Error("Key is required");const o=new Map,A=new Map,i=new Set;let a=[...e];n&&!K(n)&&(a=[n,...e]),a.forEach((e=>{o.set(e.key,e),e.parentId&&(A.has(e.parentId)||A.set(e.parentId,[]),A.get(e.parentId).push(e))}));const l=o.get(t);if(l)if(l.expanded=r,r){(A.get(t)||[]).forEach((e=>e.hide=!1))}else!function e(t,n){if(i.has(t))throw new Error(`Cycle detected at node: ${t}`);i.add(t),(A.get(t)||[]).forEach((t=>{t.hide=n,e(t.key,!0)})),i.delete(t)}(t,!0);return K(n)?{data:a}:{rootNode:a[0],data:a.slice(1)}},mw=e=>`${e.getDate().toString().padStart(2,"0")}/${(e.getMonth()+1).toString().padStart(2,"0")}/${e.getFullYear()}`,Ew=(e,t,n)=>e.map((e=>e.stepId===t&&["Group","PRE","POST","Script"].includes(e.type)?{...e,data:[...n||[]]}:e.data?{...e,data:Ew(e.data,t,n)}:e)),bw=(e,t,n,r)=>e.map((e=>e.title===t?{...e,data:Ew(e.data,n,r)}:e));y(".ff-add-variable-container {\n width: 100%;\n display: flex;\n flex-direction: column;\n gap: 8px;\n position: relative;\n}\n.ff-add-variable-container .ff-add-variable-input {\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 8px;\n}\n\n.ff-variable-dropdown {\n scrollbar-width: none;\n padding: 4px;\n width: auto;\n}");const ww=({onSelectVariable:t,dropdownPosition:n,filteredOptions:r=[],position:o="relative",width:A="100%",zIndex:i,truncateTextValue:a=34})=>e("div",{className:Z(`ff-variable-dropdown ${o}`),style:n?{top:n.top+30,left:n.left-30,width:A,zIndex:i}:{width:A,zIndex:i},children:K(r)?e("div",{className:"ff-variable-option",children:e(T,{as:"div",children:"No Option",fontSize:14})}):r?.map((n=>e("div",{className:"ff-variable-option",onClick:()=>t(n),children:e(T,{as:"span",fontSize:14,children:$(n?.name,a)})},n?.id)))}),vw=A((({label:r="",hashInputValue:o="",setHashInputValue:A,variableList:c=[],placeholder:s="Enter text",onChange:f,onCreateVariableClick:d,handleClearInput:C,value:u="",dropdownWidth:p="100%",dropdownHeight:g="150px",isHash:h=!1,dataFiles:m=[],showAddVariableIcon:E=!0,helperText:w="",error:v,autoComplete:B="off",required:I=!1,zIndex:M=9999,truncateTextValue:y=34,formProps:L={},getSelectedVariable:Q=()=>{},symbol:x="$",type:H="text",...D},k)=>{const[V,Z]=l(!1),[N,z]=l(!1),[P,O]=l(!1),[S,j]=l(null),[T,R]=l(0),[G,X]=l(!1),[Y,U]=l([]),W=i(null);b(k,(()=>W.current)),a((()=>{null!==S&&W.current&&(W.current.setSelectionRange(S,S),W.current.focus())}),[S]),a((()=>{if(h?Z(u.startsWith("#")):X(!u?.includes(x)),u.startsWith("#")&&h){const e=u.slice(1).toLowerCase(),t=m.filter((t=>t.name.toLowerCase().includes(e)));U(t),Z(!0)}}),[u]);const q=()=>{W.current&&R(W.current.selectionStart||0)},J=q,_=q;a((()=>{W.current&&R(W.current.selectionStart||0)}),[u]);const $=e=>{if(W.current){const{selectionStart:t,selectionEnd:n}=W.current,r=`${e.name}`;let o;if(o=h&&"#"===u[0]?e.name+u.slice(n||1):e.name,f){f({target:{value:o}},e),Q(e.name)}W.current.value=o,A?.(e),j((t||0)+r.length),Z(!1),z(!0)}};const ee=function(e,t,n){let r=!1,o="";const A="}"===u[t-1];if(t<0||t>e.length)return{showDropdown:r,searchString:o};const i=e.lastIndexOf(x,t-1),a=e.indexOf(x,t);if(-1!==i&&(t===i+1?(r=!0,o=""):(o=e.slice(i+1,-1===a?void 0:a),t>i+1&&(o=e.slice(i+1,t)),r=!0),N&&A&&(r=!1),(/[{}]/.test(o)||0===t)&&(r=!1,o=""),o)){n.some((e=>e.name.toLowerCase().includes(o.toLowerCase())))||(n=[])}return{showDropdown:r,searchString:o}}(u,T,c);return n("div",{className:"ff-add-variable-container",children:[n("div",{className:"ff-add-variable-input",children:[e(de,{...D,name:"add_variable",ref:W,type:H,value:u,onChange:f,variant:"primary",label:r,placeholder:s,onClick:J,onKeyUp:_,onFocus:()=>O(!0),onBlur:e=>(e=>{e.relatedTarget&&e.relatedTarget.closest(".dropdown-container")||O(!1)})(e),autoComplete:B,helperText:w,error:v,required:I,...L}),!K(u)&&!h&&G&&E&&n(t,{children:[e(F,{onClick:C,name:"close",height:16,width:16,hoverEffect:!0}),e(F,{onClick:d,name:"variable",height:16,width:16,hoverEffect:!0})]})]}),ee?.showDropdown&&P&&e(qg,{position:"absolute",zIndex:M,truncateTextValue:y,width:p,height:g,optionsList:c.filter((e=>e.name.toLowerCase().includes(ee?.searchString))),onSelectVariable:$}),V&&h&&e(ww,{position:"relative",zIndex:M,truncateTextValue:y,width:p,filteredOptions:Y,onSelectVariable:$})]})}));y(".pre-fixed-header-table {\n overflow-y: auto;\n scrollbar-width: none;\n overflow-x: hidden;\n}\n.pre-fixed-header-table .ff-table-pre-post {\n width: 100%;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-thead {\n position: sticky !important;\n top: 0;\n z-index: 99;\n background-color: Var(--file-details-bg);\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-thead tr th {\n padding: 7px 8px;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody {\n overflow-y: auto;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr:hover,\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr.hover {\n background-color: var(--hover-color);\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr:hover .icon-container,\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr.hover .icon-container {\n opacity: 1;\n transform: translateX(0);\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr:hover .ff-table-drag,\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr:hover .ff-table-drag-icon,\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr.hover .ff-table-drag,\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr.hover .ff-table-drag-icon {\n opacity: 1 !important;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody .pre-edit-row > td {\n padding: 0px;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody .pre-edit-row:hover {\n background-color: transparent;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr .action-column {\n opacity: 0;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr .icon-container {\n padding-left: 8px;\n opacity: 0;\n display: flex;\n justify-content: flex-end;\n transition: opacity 0.3s ease, transform 0.3s ease;\n transform: translateX(20px);\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr .ff-data-checkbox-container {\n display: flex;\n align-items: center;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr .ff-data-checkbox-container .ff-table-checkbox {\n padding-right: 8px;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr .ff-data-checkbox-container .ff-table-drag {\n opacity: 0;\n transition: opacity 0.3s ease, transform 0.3s ease;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr .ff-data-checkbox-container .ff-table-drag-icon {\n opacity: 0;\n transition: opacity 0.3s ease, transform 0.3s ease;\n cursor: grab;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr td {\n position: relative;\n color: var(--table-column-text-color);\n padding: 4px 8px;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr td.clickable-cell {\n cursor: pointer;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr .edit_depends_on_script {\n border-radius: 8px;\n margin: 8px;\n border: 1px solid var(--ff-select-option-wrapper-box-shadow);\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr .edit_depends_on_script__header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-radius: 8px 8px 0 0;\n background: var(--slider-table-color);\n min-height: 32px;\n padding: 0 8px;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr .edit_depends_on_script__header__link {\n text-decoration: underline;\n cursor: pointer;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr .edit_depends_on_script__form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n padding: 8px;\n}\n.pre-fixed-header-table .ff-table-pre-post .pre-table-tbody tr .edit_depends_on_script__form__button {\n display: flex;\n justify-content: end;\n gap: 8px;\n}\n.pre-fixed-header-table .ff-table-pre-post .primary-bg {\n background-color: var(--brand-color);\n}\n.pre-fixed-header-table .ff-table-pre-post .secondary-bg {\n background-color: var(--slider-table-color);\n}\n.pre-fixed-header-table .ff-table-pre-post .tertiary-bg {\n background-color: var(--custom-table-header-bg-color);\n}\n.pre-fixed-header-table .ff-table-pre-post .default-bg {\n background-color: transparent;\n}\n.pre-fixed-header-table .ff-table-pre-post .default-color {\n color: var(--table-header-text-color);\n}\n.pre-fixed-header-table .ff-table-pre-post .primary-color {\n color: var(--brand-color);\n}\n.pre-fixed-header-table .pre-border-borderRadius {\n border: 1px solid var(--slider-table-color);\n border-radius: 5px;\n border-collapse: none !important;\n}\n.pre-fixed-header-table .pre-no-data-content {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n.pre-fixed-header-table .pre-accordion-arrow {\n margin-left: 4px;\n transition: transform 0.25s ease-in-out;\n cursor: pointer;\n}\n.pre-fixed-header-table .pre-accordion-arrow .pre-arrow-svg > svg:hover {\n color: var(--text-color) !important;\n}\n.pre-fixed-header-table .pre-accordion-arrow.expanded {\n transform: rotate(90deg);\n}");const Bw=(e,t)=>{const{action:n,sourceIndex:r}=t;if(!n)return e;const o=[...e];let A={stepId:"stepId-9745-9745",isNew:!0,name:"new-Nlp",disabled:!1};switch(n){case"addBelow":void 0!==r&&o.splice(r+1,0,A);break;case"replaceNlp":case"EditNlp":void 0!==r&&(o.splice(r,1),o.splice(r,0,A));break;case"addLast":o.push(A)}return o},Iw=({data:r,level:o=3,columnCount:A=1,viewModeId:i,ViewComponent:a,handleClick:l,handleStepGroupExpand:c,isStepGroupExpanded:s})=>{const f=8*o+"px",C=d((e=>["PRE","POST"].includes(e)?"4px 8px":"7px 8px"),[]);return e(t,{children:r?.map((t=>{const r=i===t.stepId,d=s?.(t.stepId),u=C(t.type);return n(v,{children:[e("tr",r?{className:"pre-edit-row",children:e("td",{colSpan:A,children:e("div",{style:{marginLeft:f},children:a&&e(a,{})})})}:{children:e("td",{colSpan:A,style:{padding:u},children:n("div",{style:{marginLeft:f,display:"flex",alignItems:"center"},children:[e(W,{title:t?.name,children:n(T,{as:"div",color:"var(--brand-color)",lineHeight:"18px",onClick:()=>l?.(t),children:[t.displayOrder,".",$(t.name,40)]})}),["PRE","POST"].includes(t.type)&&e("div",{className:"pre-accordion-arrow "+(d?"expanded":""),children:e(F,{name:"arrow_right",className:"pre-arrow-svg",color:d?"var(--brand-color)":"var(--default-color)",width:16,height:16,onClick:()=>c?.(t)})})]})})}),d&&e(Iw,{data:t.data,level:o+1,columnCount:A,viewModeId:i,handleClick:l,ViewComponent:a,handleStepGroupExpand:c,isStepGroupExpanded:s})]},t.stepId)}))})},Mw=({row:r,columns:o,tableBodyRowClass:A,handleOnclick:i,tableDataTextColor:a,withCheckbox:l,onSelectClick:c,draggable:s,indexNumber:d,dataLength:C=0,viewModeId:u,ViewComponent:p,handleClick:g,handleStepGroupExpand:h,isStepGroupExpanded:m})=>{const E=r?.isDisabled,b=r?._id||r?.stepId,w=E||C<=1||"cascaded"===r.cascaded,{attributes:v,listeners:B,setNodeRef:I,transform:M,transition:y}=Ro({id:b,disabled:w}),L=f((()=>({transform:gn.Transform.toString(M),transition:y})),[M,y]),Q=m?.(r.stepId),x={opacity:w?"0":"1",cursor:w?"default":"grab"};return n(t,{children:[e("tr",{ref:I,style:L,className:Z(A,{"disabled-row":E}),children:o.map(((t,o)=>{const A=0===o;return e("td",{style:{paddingLeft:A&&s?"0px":"8px"},onClick:()=>i(t,r,o),className:Z(t.className,{"clickable-cell":t.onClick}),children:n(T,{as:"div",color:a,className:"ff-data-checkbox-container",children:[A&&l&&e("span",{className:"ff-table-checkbox",children:e(_,{onChange:e=>c(e,r),checked:r.checked,disabled:!!E})}),A&&s&&e("div",{className:E?"ff-table-drag":"ff-table-drag-icon",...B,...v,children:e("span",{style:x,children:e(F,{name:"drag"})})}),Rt(r,t,d),A&&["PRE","POST"].includes(r.type)&&e("div",{className:"pre-accordion-arrow "+(Q?"expanded":""),children:e(F,{name:"arrow_right",color:Q?"var(--brand-color)":"var(--default-color)",width:16,height:16,className:"pre-arrow-svg",onClick:()=>h?.(r)})}),t.extraInfo&&t.extraInfo({row:r,indexNumber:d})]})},`${t.accessor}${o}`)}))},b),Q&&e(Iw,{data:r.data,columnCount:o.length,viewModeId:u,ViewComponent:p,handleClick:g,handleStepGroupExpand:h,isStepGroupExpanded:m})]})},yw=({data:t=[],columns:r=[],headerType:o,withCheckbox:A=!1,onSelect:c,allSelected:s,partialSelected:f=!1,withFixedHeader:d=!0,borderWithRadius:C=!1,headerCheckboxDisabled:u=!1,noDataContent:p,height:m="100%",className:E="",tableHeadClass:b="",tableBodyRowClass:w="",headerTextColor:v,tableDataTextColor:B,draggable:I=!1,onDragEnd:M,loadMore:y=()=>{},editMode:L="",editComponent:Q,NlpComponent:x,AddNlp:H,handleDragStart:D,handelViewComponent:k,handleAccordion:V,loading:N})=>{const z=i(null),[P,O]=l(null),[S,j]=l(null),F=e=>{j((t=>t===e?.stepId?null:e?.stepId))},R=e=>{F(e);const t=k(e,F);t?O((()=>t)):F(null)},[G,X]=l(new Map),Y=e=>G.has(e),U=e=>{Y(e?.stepId)||V?.(e),N||X((t=>{const n=new Map(t);return n.has(e?.stepId)?n.delete(e?.stepId):n.set(e?.stepId,!0),n}))};a((()=>{const e=document.getElementById("ff-table-scroll-container"),n=document.getElementById("ff-table-first-node"),r=document.getElementById("ff-table-last-node");if(e&&n&&r&&t?.length)return z.current=new IntersectionObserver((e=>{e.forEach((e=>{if(e.isIntersecting){const t="ff-table-last-node"===e.target.id?"below":"above";y(t)}}))}),{root:e,rootMargin:"8px",threshold:.1}),z.current.observe(n),z.current.observe(r),()=>{z.current?.disconnect()}}),[t,y]);const K=(e,t,n)=>{let{onClick:r,accessor:o}=e;r&&jt(r)&&r(o,t,n)},W=(e,t)=>{c&&c(e,t)};return e(io,{collisionDetection:On,onDragStart:()=>{D?.(),G.clear()},onDragEnd:e=>{const{active:n,over:r}=e;if(!r||n.id===r.id)return;const o=t.findIndex((e=>e._id===n.id||e.stepId===n.id)),A=t.findIndex((e=>e._id===r.id||e.stepId===r.id));-1!==o&&-1!==A&&M&&M(o,A)},children:e(zo,{disabled:!I,items:t?.map((e=>e.stepId||e._id)),strategy:Vo,children:n("div",{style:{height:m,position:"relative"},id:"ff-table-scroll-container",className:Z(E,{"pre-fixed-header-table":d,"pre-border-borderRadius":C}),children:[n("table",{className:Z("ff-table-pre-post"),cellSpacing:0,children:[e("thead",{className:Z({"pre-table-thead":d},b),children:e("tr",{children:r.map(((t,r)=>e("th",{className:Z(`${o&&`${o}-bg`}`,`${v&&`${v}-color`}`),style:{width:t?.width},children:n(T,{as:"div",fontWeight:"semi-bold",className:"ff-label-checkbox-container",lineHeight:"18px",color:"var(--drawer-title-color)",children:[0===r&&A&&e("span",{className:"ff-table-checkbox",children:e(_,{onChange:e=>{W(e,{allSelected:e.target.checked})},checked:void 0!==s&&s,partial:!!f,disabled:u})}),t.header]})},t.header)))})}),n("tbody",{className:"pre-table-tbody",children:[e("tr",{id:"ff-table-first-node"}),Bw(t,H??{})?.map(((o,i)=>{const a=L===o.stepId;return a||o.isNew?n("tr",{className:"pre-edit-row",children:[a&&h(Q)&&e("td",{colSpan:r.length,children:g(Q,{rowData:o,rowIndex:i+1})}),o.isNew&&!a&&h(x)&&e("td",{colSpan:r.length,children:g(x,{rowIndex:i,stepId:o.stepId})})]},o.stepId||i):e(Mw,{row:o,indexNumber:i,columns:r,tableBodyRowClass:w,handleOnclick:K,tableDataTextColor:B,withCheckbox:A,onSelectClick:W,draggable:I,dataLength:t?.length,viewModeId:S,ViewComponent:P,handleClick:R,handleStepGroupExpand:U,isStepGroupExpanded:Y})})),e("tr",{id:"ff-table-last-node"})]})]}),t?.length<=0&&e("div",{className:"ff-no-data-content",style:{height:`calc(${m} - 50px)`},children:p})]})})})};y(".ff-accordion-table-container-steps {\n overflow-y: auto;\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n.ff-accordion-table-container-steps::-webkit-scrollbar {\n display: none;\n}\n.ff-accordion-table-container-steps .ff-accordion-table {\n width: 100%;\n flex-shrink: 0;\n}\n.ff-accordion-table-container-steps .ff-accordion-table .ff-table-header {\n text-align: left;\n padding: 7px 8px;\n color: var(--text-color);\n background-color: var(--border-color);\n}\n.ff-accordion-table-container-steps .ff-accordion-table--primary-bg {\n background-color: var(--table-with-accordion-header-primary-bg);\n}\n.ff-accordion-table-container-steps .ff-accordion-table--secondary-bg {\n background-color: var(--secondary-bg);\n}\n.ff-accordion-table-container-steps .ff-accordion-table--default-bg {\n background-color: var(--default-bg);\n}\n.ff-accordion-table-container-steps .ff-accordion-fixed-header {\n position: sticky;\n top: 0;\n z-index: 99;\n background-color: var(--file-details-bg);\n}\n.ff-accordion-table-container-steps .ff-accordion-table-body {\n flex-grow: 1;\n overflow-y: auto;\n overflow: scroll;\n}\n.ff-accordion-table-container-steps .ff-accordion-table-body::-webkit-scrollbar {\n display: none;\n}\n.ff-accordion-table-container-steps .ff-accordion-table-body {\n scrollbar-width: none;\n}\n.ff-accordion-table-container-steps .column-table-accordion {\n width: 100%;\n}\n.ff-accordion-table-container-steps .column-table-accordion .accordion-header {\n display: flex;\n align-items: center;\n padding: 4px 8px 4px 24px;\n position: relative;\n z-index: 99;\n}\n.ff-accordion-table-container-steps .column-table-accordion .accordion-header .accordion-arrow {\n margin-left: 4px;\n transition: transform 0.2s ease-in-out;\n cursor: pointer;\n}\n.ff-accordion-table-container-steps .column-table-accordion .accordion-header .accordion-arrow .steps-arrow-svg > svg:hover {\n color: var(--text-color) !important;\n}\n.ff-accordion-table-container-steps .column-table-accordion .accordion-header .accordion-arrow img {\n height: 30px;\n width: 35px;\n}\n.ff-accordion-table-container-steps .column-table-accordion .accordion-header .accordion-arrow.expanded {\n transform: rotate(90deg);\n}");y(".ff-fixed-header-steps-table {\n overflow-y: auto;\n scrollbar-width: none;\n}\n.ff-fixed-header-steps-table .ff-table-steps {\n width: 100%;\n}\n.ff-fixed-header-steps-table .ff-table-steps .steps-inner-thead tr th {\n visibility: hidden;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody {\n overflow-y: auto;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr:hover,\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr.hover {\n background-color: var(--hover-color);\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr:hover .icon-container,\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr.hover .icon-container {\n opacity: 1;\n transform: translateX(0);\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr:hover .ff-table-drag,\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr:hover .ff-table-drag-icon,\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr:hover .ff-table-checkbox,\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr.hover .ff-table-drag,\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr.hover .ff-table-drag-icon,\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr.hover .ff-table-checkbox {\n opacity: 1 !important;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody .steps-edit-row > td {\n padding: 0px;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody .steps-edit-row:hover {\n background-color: transparent;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .action-column {\n opacity: 0;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .icon-container {\n padding-left: 4px;\n opacity: 0;\n display: flex;\n justify-content: flex-end;\n transition: opacity 0.3s ease, transform 0.3s ease;\n transform: translateX(20px);\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .ff-data-checkbox-container {\n display: flex;\n align-items: center;\n overflow: hidden;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .ff-data-checkbox-container .ff-table-checkbox {\n opacity: 0;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .ff-data-checkbox-container .ff-table-drag {\n opacity: 0;\n transition: opacity 0.3s ease, transform 0.3s ease;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .ff-data-checkbox-container .ff-table-drag-icon {\n opacity: 0;\n transition: opacity 0.3s ease, transform 0.3s ease;\n cursor: grab;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .ff-data-checkbox-container .ff-margin-container {\n display: flex;\n align-items: center;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr td {\n position: relative;\n color: var(--table-column-text-color);\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr td.clickable-cell {\n cursor: pointer;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .step-detail-cell {\n padding: 4px;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .other-detail-cell {\n padding: 7px 8px;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .edit_depends_on_script {\n border-radius: 8px;\n margin: 8px;\n border: 1px solid var(--ff-select-option-wrapper-box-shadow);\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .edit_depends_on_script__header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-radius: 8px 8px 0 0;\n background: var(--slider-table-color);\n min-height: 32px;\n padding: 0 8px;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .edit_depends_on_script__header__link {\n border-bottom: 2px solid var(--nlp-color);\n cursor: pointer;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .edit_depends_on_script__form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n padding: 8px;\n}\n.ff-fixed-header-steps-table .ff-table-steps .ff-steps-tbody tr .edit_depends_on_script__form__button {\n display: flex;\n justify-content: end;\n gap: 8px;\n}\n.ff-fixed-header-steps-table .steps-border-borderRadius {\n border: 1px solid var(--slider-table-color);\n border-radius: 5px;\n border-collapse: none !important;\n}\n.ff-fixed-header-steps-table .steps-no-data-content {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n.ff-fixed-header-steps-table .ff-accordion-arrow {\n margin-left: 4px;\n transition: transform 0.25s ease-in-out;\n cursor: pointer;\n}\n.ff-fixed-header-steps-table .ff-accordion-arrow .steps-arrow-svg > svg:hover {\n color: var(--text-color) !important;\n}\n.ff-fixed-header-steps-table .ff-accordion-arrow.expanded {\n transform: rotate(90deg);\n}");const Lw=(e,t)=>{const{action:n,sourceIndex:r}=t;if(!n)return e;const o=[...e];let A={stepId:"stepId-9745-9745",isNew:!0,name:"new-Nlp",disabled:!1};switch(n){case"addBelow":void 0!==r&&o.splice(r+1,0,A);break;case"replaceNlp":case"EditNlp":void 0!==r&&(o.splice(r,1),o.splice(r,0,A));break;case"addLast":o.push(A)}return o},Qw=({data:r,level:o=6,columnCount:A=1,viewModeId:i,ViewComponent:a,handleClick:l,tableType:c,handleStepGroupExpand:s,isStepGroupExpanded:f})=>{const d=e=>["Group","PRE","POST","Script"].includes(e.type)?"4px 8px":"7px 8px";return e(t,{children:r?.map((t=>n(v,{children:[i===t.stepId?e("tr",{className:"steps-edit-row",children:e("td",{colSpan:A,children:e("div",{style:{marginLeft:8*o+"px"},children:a&&e(a,{})})})}):e("tr",{children:e("td",{colSpan:A,children:n("div",{style:{marginLeft:8*o+"px",display:"flex",alignItems:"center",padding:`${d(t)}`},children:[e(W,{title:t?.name,children:n(T,{as:"div",color:"var(--brand-color)",lineHeight:"18px",onClick:()=>l?.({...t,tableType:c}),children:[t.displayOrder,".",$(t.name,40)]})}),["Group","PRE","POST","Script"].includes(t.type)&&e("div",{className:"ff-accordion-arrow "+(f?.(t.stepId)?"expanded":""),children:e(F,{name:"arrow_right",color:f?.(t.stepId)?"var(--brand-color)":"var(--default-color)",className:"steps-arrow-svg",width:16,height:16,onClick:()=>s&&s({...t,tableType:c})})})]})})}),f?.(t.stepId)&&e(Qw,{data:t.data,level:o+1,columnCount:A,viewModeId:i,handleClick:l,ViewComponent:a,tableType:c,handleStepGroupExpand:s,isStepGroupExpanded:f})]},t.stepId)))})},xw=({row:r,columns:o,tableBodyRowClass:A,handleOnclick:i,tableDataTextColor:a,withCheckbox:l,onSelectClick:c,draggable:s,indexNumber:d,tableType:C="",viewModeId:u,ViewComponent:p,handleClick:g,selectedRows:h,handleStepGroupExpand:m,isStepGroupExpanded:E,dataLength:b})=>{const w=f((()=>r?.isDisabled||(b??0)<=1||r.isSpecialNlp),[r,b]),{attributes:v,listeners:B,setNodeRef:I,transform:M,transition:y}=Ro({id:r?._id||r?.stepId,disabled:w}),L=f((()=>({transform:gn.Transform.toString(M),transition:y})),[M,y]),Q=r._id||r.stepId,x=e=>0!==e?"Steps"===C?"4px 8px":"7px 8px":"Steps"===C&&s?"4px 8px 4px 0px":"4px 8px 4px 24px";return n(t,{children:[e("tr",{ref:I,style:L,className:Z(A,{"disabled-inner-row":w}),children:o?.map(((o,A)=>e(t,{children:e("td",{style:{padding:x(A),maxWidth:o.width},onClick:()=>i(o,r,d),children:n(T,{as:"div",color:a,className:"ff-data-checkbox-container",children:[0===A&&s&&e("div",{className:w?"ff-table-drag":"ff-table-drag-icon",...B,...v,children:e("span",{style:{opacity:w?"0":"",cursor:w?"default":"grab"},children:e(F,{name:"drag"})})}),0===A&&l&&e("span",{className:C&&h[C]?.has(r.stepId)?"":"ff-table-checkbox",children:e(_,{onChange:e=>c(C,r,e.target.checked),checked:!!h[C]?.has(r.stepId)})}),n("div",{className:"ff-margin-container",style:{marginLeft:0===A?r.marginLeft:0},children:[Rt(r,o,d,C),["Group","PRE","POST","Script"].includes(r.type)&&0===A&&e("div",{className:"ff-accordion-arrow "+(E?.(r?.stepId)?"expanded":""),children:e(F,{name:"arrow_right",className:"steps-arrow-svg",color:E?.(r?.stepId)?"var(--brand-color)":"var(--default-color)",width:16,height:16,onClick:()=>m?.({...r,tableType:C})})}),o.extraInfo?.({row:r,indexNumber:d,tableType:C})]})]})},`${o.accessor}-${aC()}`)})))},Q),E?.(r?.stepId)&&e(Qw,{data:r.data,columnCount:o.length,viewModeId:u,ViewComponent:p,handleClick:g,tableType:C,handleStepGroupExpand:m,isStepGroupExpanded:E})]})},Hw=({data:t=[],columns:r=[],headerType:o,withCheckbox:A=!1,onSelect:l,withFixedHeader:c=!0,borderWithRadius:s=!1,noDataContent:f,height:d="100%",className:C="",tableBodyRowClass:u="",headerTextColor:p,tableDataTextColor:m,draggable:E=!1,onDragEnd:b,loadMore:w=()=>{},editMode:v="",editComponent:B,NlpComponent:I,AddNlp:M,handleDragStart:y,tableType:L,viewModeId:Q,ViewComponent:x,handleClick:H,selectedRows:D,handleStepGroupExpand:k,isStepGroupExpanded:V})=>{const N=i(null);a((()=>{const e=document.getElementById("ff-table-scroll-container"),n=document.getElementById("ff-table-first-node"),r=document.getElementById("ff-table-last-node");if(e&&n&&r&&t?.length)return N.current=new IntersectionObserver((e=>{e.forEach((e=>{if(e.isIntersecting){const t="ff-table-last-node"===e.target.id?"below":"above";w(t)}}))}),{root:e,rootMargin:"8px",threshold:.1}),N.current.observe(n),N.current.observe(r),()=>{N.current?.disconnect()}}),[t,w]);const z=(e,t,n)=>{let{onClick:r,accessor:o}=e;r&&jt(r)&&r(o,t,n)},P=(e,t,n)=>{l&&l(e,t,n)};return e(io,{collisionDetection:On,onDragStart:y,onDragEnd:e=>{const{active:n,over:r}=e;if(!r||n.id===r.id)return;const o=t.findIndex((e=>e._id===n.id||e.stepId===n.id)),A=t.findIndex((e=>e._id===r.id||e.stepId===r.id));-1!==o&&-1!==A&&b&&b(o,A)},children:e(zo,{disabled:!E,items:t?.map((e=>e._id||e.stepId)),strategy:Vo,children:n("div",{style:{height:d,position:"relative"},id:"ff-table-scroll-container",className:Z(C,{"ff-fixed-header-steps-table":c,"steps-border-borderRadius":s}),children:[n("table",{className:Z("ff-table-steps"),cellSpacing:0,children:[e("thead",{className:"steps-inner-thead",children:e("tr",{children:r?.map((t=>e("th",{className:Z(`${o&&`${o}-bg`}`,`${p&&`${p}-color`}`),style:{width:t?.width}},`${t.header}-${aC()}`)))})}),n("tbody",{className:"ff-steps-tbody",children:[e("tr",{id:"ff-table-first-node"}),Lw(t,M??{})?.map(((o,i)=>{const a=v===o.stepId;return a||o.isNew?n("tr",{className:"steps-edit-row",children:[a&&h(B)&&e("td",{colSpan:r.length,children:g(B,{rowData:o,rowIndex:i+1})}),o.isNew&&!a&&h(I)&&e("td",{colSpan:r.length,children:g(I,{rowIndex:i,stepId:o.stepId})})]},o.stepId||i):e(xw,{row:o,indexNumber:i,columns:r,tableBodyRowClass:u,handleOnclick:z,tableDataTextColor:m,withCheckbox:A,onSelectClick:P,draggable:E,tableType:L,viewModeId:Q,ViewComponent:x,handleClick:H,selectedRows:D,handleStepGroupExpand:k,isStepGroupExpanded:V,dataLength:t?.length})})),e("tr",{id:"ff-table-last-node"})]})]}),t?.length<=0&&e("div",{className:"steps-no-data-content",style:{height:`calc(${d} - 50px)`},children:f})]})})})},Dw=({tableMeta:t=[],tableData:r=[],noDataContent:o,height:A="100%",withFixedHeader:i=!1,headerType:c,handleDragStart:s,onDragEnd:d,editMode:C,editComponent:u,NlpComponent:p,AddNlp:g,handleAccordion:h,handelViewComponent:m,onSelectClick:E,loading:b=!1,isViewPrivilegeMode:w=!1})=>{const[v,B]=l(null),[I,M]=l(null),[y,L]=l({});a((()=>{L((e=>{const t={};return r.forEach((n=>{t[n.title]=n.title in e?e[n.title]??!1:"Steps"===n.title})),t}))}),[r]);const Q=f((()=>e=>y[e]??!1),[y]),x=e=>{M((t=>t===e?.stepId?null:e?.stepId))},H=e=>{x(e);const t=m?.(e,x);t?B((()=>t)):x(null)},[D,k]=l(Object.fromEntries(r.map((e=>[e.title,new Set]))));a((()=>{var e;e=D,Object.values(e).some((e=>e.size>0))?E?.(D):E?.(null)}),[D]);const V=(e,t,n)=>{k((r=>{const o=new Set(r[e]);return n?o.add(t.stepId):o.delete(t.stepId),{...r,[e]:o}}))},N=(e,t)=>t>0&&D[e]?.size===t,z=(e,t)=>{const n=D[e]?.size||0;return n>0&&n<t},[P,O]=l(new Map),S=e=>P.has(e),j=e=>{S(e?.stepId)||h?.(e),b||O((t=>{const n=new Map(t);return n.has(e?.stepId)?n.delete(e?.stepId):n.set(e?.stepId,!0),n}))};return n("div",{className:Z("ff-accordion-table-container-steps",{"ff-accordion-fixed-header-table":i}),children:[e("table",{cellSpacing:0,className:Z("ff-accordion-table",{"ff-accordion-fixed-header":i}),children:e("thead",{className:"table-thead",children:e("tr",{className:"ff-table-row",children:t.map(((t,n)=>e("th",{style:{width:t?.width},className:Z("ff-table-header",c&&`ff-accordion-table--${c}-bg`),children:e(T,{as:"div",fontWeight:"semi-bold",lineHeight:"18px",color:"var(--drawer-title-color)",children:t.header})},`${t.header}-${n}`)))})})}),e("div",{className:"ff-accordion-table-body",style:{height:A},children:r.map((A=>{const{title:i,data:a,actionCell:l}=A,f=a.length,h=Q(i),m=(D[i]?.size??0)>0&&f>0&&l;return n("div",{className:"column-table-accordion",children:[e("div",{className:"ff-display-flex",children:n("div",{className:"accordion-header",children:[e("div",{children:e(_,{onChange:e=>((e,t)=>{const n=r.find((t=>t.title===e))?.data.map((e=>e.stepId));n&&k((r=>({...r,[e]:t?new Set(n):new Set})))})(i,e.target.checked),checked:N(i,f),partial:z(i,f),disabled:0===f})}),e("div",{className:"header-title",children:e(T,{as:"div",fontWeight:"semi-bold",color:"var(--nlp-option-color)",cursor:"default",lineHeight:"18px",children:i})}),e("div",{className:"accordion-arrow "+(h?"expanded":""),onClick:()=>(e=>{L((t=>({...t,[e]:!t[e]})))})(i),children:e(F,{name:"arrow_right",color:h?"var(--brand-color)":"var(--default-color)",width:16,height:16,className:"steps-arrow-svg"})}),m&&e("div",{children:l(A)})]})}),h&&(E=A,"Steps"===E.title?e(Hw,{draggable:!w,columns:t,onDragEnd:d,data:E.data,headerType:c,withCheckbox:!0,editMode:C,editComponent:u,noDataContent:o,NlpComponent:p,AddNlp:g,tableType:E.title,handleDragStart:()=>{P.clear(),s?.()},onSelect:V,selectedRows:D,viewModeId:I,ViewComponent:v,handleClick:H,handleStepGroupExpand:j,isStepGroupExpanded:S}):e(Hw,{editMode:C,withCheckbox:!0,editComponent:u,columns:t,data:E.data,headerType:c,noDataContent:void 0,tableType:E.title,onSelect:V,selectedRows:D,viewModeId:I,ViewComponent:v,handleClick:H,handleStepGroupExpand:j,isStepGroupExpanded:S}))]},i);var E}))})]})};var kw,Vw,Zw,Nw,zw,Pw,Ow,Sw,jw,Fw,Tw,Rw,Gw,Xw,Yw,Uw,Kw,Ww,qw,Jw,_w,$w,ev,tv,nv,rv,ov,Av,iv,av,lv,cv,sv,fv,dv,Cv,uv,pv,gv,hv,mv,Ev,bv,wv,vv,Bv,Iv,Mv,yv,Lv,Qv,xv,Hv,Dv,kv,Vv,Zv,Nv,zv,Pv,Ov,Sv,jv,Fv,Tv,Rv,Gv,Xv,Yv,Uv,Kv,Wv,qv,Jv,_v,$v,eB,tB,nB,rB,oB,AB,iB,aB,lB,cB,sB,fB,dB,CB,uB,pB={exports:{}};function gB(){return kw||(kw=1,pB.exports=function(){var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return i(e)?e:U(e)}function r(e){return a(e)?e:K(e)}function o(e){return l(e)?e:W(e)}function A(e){return i(e)&&!c(e)?e:q(e)}function i(e){return!(!e||!e[f])}function a(e){return!(!e||!e[d])}function l(e){return!(!e||!e[C])}function c(e){return a(e)||l(e)}function s(e){return!(!e||!e[u])}t(r,n),t(o,n),t(A,n),n.isIterable=i,n.isKeyed=a,n.isIndexed=l,n.isAssociative=c,n.isOrdered=s,n.Keyed=r,n.Indexed=o,n.Set=A;var f="@@__IMMUTABLE_ITERABLE__@@",d="@@__IMMUTABLE_KEYED__@@",C="@@__IMMUTABLE_INDEXED__@@",u="@@__IMMUTABLE_ORDERED__@@",p="delete",g=5,h=1<<g,m=h-1,E={},b={value:!1},w={value:!1};function v(e){return e.value=!1,e}function B(e){e&&(e.value=!0)}function I(){}function M(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),o=0;o<n;o++)r[o]=e[o+t];return r}function y(e){return void 0===e.size&&(e.size=e.__iterate(Q)),e.size}function L(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?y(e)+t:t}function Q(){return!0}function x(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function H(e,t){return k(e,t,0)}function D(e,t){return k(e,t,t)}function k(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var V=0,Z=1,N=2,z="function"==typeof Symbol&&Symbol.iterator,P="@@iterator",O=z||P;function S(e){this.next=e}function j(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function F(){return{value:void 0,done:!0}}function T(e){return!!X(e)}function R(e){return e&&"function"==typeof e.next}function G(e){var t=X(e);return t&&t.call(e)}function X(e){var t=e&&(z&&e[z]||e[P]);if("function"==typeof t)return t}function Y(e){return e&&"number"==typeof e.length}function U(e){return null==e?ie():i(e)?e.toSeq():ce(e)}function K(e){return null==e?ie().toKeyedSeq():i(e)?a(e)?e.toSeq():e.fromEntrySeq():ae(e)}function W(e){return null==e?ie():i(e)?a(e)?e.entrySeq():e.toIndexedSeq():le(e)}function q(e){return(null==e?ie():i(e)?a(e)?e.entrySeq():e:le(e)).toSetSeq()}S.prototype.toString=function(){return"[Iterator]"},S.KEYS=V,S.VALUES=Z,S.ENTRIES=N,S.prototype.inspect=S.prototype.toSource=function(){return this.toString()},S.prototype[O]=function(){return this},t(U,n),U.of=function(){return U(arguments)},U.prototype.toSeq=function(){return this},U.prototype.toString=function(){return this.__toString("Seq {","}")},U.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},U.prototype.__iterate=function(e,t){return fe(this,e,t,!0)},U.prototype.__iterator=function(e,t){return de(this,e,t,!0)},t(K,U),K.prototype.toKeyedSeq=function(){return this},t(W,U),W.of=function(){return W(arguments)},W.prototype.toIndexedSeq=function(){return this},W.prototype.toString=function(){return this.__toString("Seq [","]")},W.prototype.__iterate=function(e,t){return fe(this,e,t,!1)},W.prototype.__iterator=function(e,t){return de(this,e,t,!1)},t(q,U),q.of=function(){return q(arguments)},q.prototype.toSetSeq=function(){return this},U.isSeq=Ae,U.Keyed=K,U.Set=q,U.Indexed=W;var J,_,$,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function re(e){this._iterable=e,this.size=e.length||e.size}function oe(e){this._iterator=e,this._iteratorCache=[]}function Ae(e){return!(!e||!e[ee])}function ie(){return J||(J=new te([]))}function ae(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():R(e)?new oe(e).fromEntrySeq():T(e)?new re(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function le(e){var t=se(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=se(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function se(e){return Y(e)?new te(e):R(e)?new oe(e):T(e)?new re(e):void 0}function fe(e,t,n,r){var o=e._cache;if(o){for(var A=o.length-1,i=0;i<=A;i++){var a=o[n?A-i:i];if(!1===t(a[1],r?a[0]:i,e))return i+1}return i}return e.__iterateUncached(t,n)}function de(e,t,n,r){var o=e._cache;if(o){var A=o.length-1,i=0;return new S((function(){var e=o[n?A-i:i];return i++>A?F():j(t,r?e[0]:i-1,e[1])}))}return e.__iteratorUncached(t,n)}function Ce(e,t){return t?ue(t,e,"",{"":e}):pe(e)}function ue(e,t,n,r){return Array.isArray(t)?e.call(r,n,W(t).map((function(n,r){return ue(e,n,r,t)}))):ge(t)?e.call(r,n,K(t).map((function(n,r){return ue(e,n,r,t)}))):t}function pe(e){return Array.isArray(e)?W(e).map(pe).toList():ge(e)?K(e).map(pe).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function he(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function me(e,t){if(e===t)return!0;if(!i(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||a(e)!==a(t)||l(e)!==l(t)||s(e)!==s(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(s(e)){var r=e.entries();return t.every((function(e,t){var o=r.next().value;return o&&he(o[1],e)&&(n||he(o[0],t))}))&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var A=e;e=t,t=A}var f=!0,d=t.__iterate((function(t,r){if(n?!e.has(t):o?!he(t,e.get(r,E)):!he(e.get(r,E),t))return f=!1,!1}));return f&&e.size===d}function Ee(e,t){if(!(this instanceof Ee))return new Ee(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(_)return _;_=this}}function be(e,t){if(!e)throw new Error(t)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);if(be(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if($)return $;$=this}}function ve(){throw TypeError("Abstract")}function Be(){}function Ie(){}function Me(){}U.prototype[ee]=!0,t(te,W),te.prototype.get=function(e,t){return this.has(e)?this._array[L(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,o=0;o<=r;o++)if(!1===e(n[t?r-o:o],o,this))return o+1;return o},te.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,o=0;return new S((function(){return o>r?F():j(e,o,n[t?r-o++:o++])}))},t(ne,K),ne.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length-1,A=0;A<=o;A++){var i=r[t?o-A:A];if(!1===e(n[i],i,this))return A+1}return A},ne.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,A=0;return new S((function(){var i=r[t?o-A:A];return A++>o?F():j(e,i,n[i])}))},ne.prototype[u]=!0,t(re,W),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=G(this._iterable),r=0;if(R(n))for(var o;!(o=n.next()).done&&!1!==e(o.value,r++,this););return r},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=G(this._iterable);if(!R(n))return new S(F);var r=0;return new S((function(){var t=n.next();return t.done?t:j(e,r++,t.value)}))},t(oe,W),oe.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,o=this._iteratorCache,A=0;A<o.length;)if(!1===e(o[A],A++,this))return A;for(;!(n=r.next()).done;){var i=n.value;if(o[A]=i,!1===e(i,A++,this))break}return A},oe.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,o=0;return new S((function(){if(o>=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return j(e,o,r[o++])}))},t(Ee,W),Ee.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Ee.prototype.get=function(e,t){return this.has(e)?this._value:t},Ee.prototype.includes=function(e){return he(this._value,e)},Ee.prototype.slice=function(e,t){var n=this.size;return x(e,t,n)?this:new Ee(this._value,D(t,n)-H(e,n))},Ee.prototype.reverse=function(){return this},Ee.prototype.indexOf=function(e){return he(this._value,e)?0:-1},Ee.prototype.lastIndexOf=function(e){return he(this._value,e)?this.size:-1},Ee.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},Ee.prototype.__iterator=function(e,t){var n=this,r=0;return new S((function(){return r<n.size?j(e,r++,n._value):F()}))},Ee.prototype.equals=function(e){return e instanceof Ee?he(this._value,e._value):me(e)},t(we,W),we.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},we.prototype.get=function(e,t){return this.has(e)?this._start+L(this,e)*this._step:t},we.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},we.prototype.slice=function(e,t){return x(e,t,this.size)?this:(e=H(e,this.size),(t=D(t,this.size))<=e?new we(0,0):new we(this.get(e,this._end),this.get(t,this._end),this._step))},we.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},we.prototype.lastIndexOf=function(e){return this.indexOf(e)},we.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,A=0;A<=n;A++){if(!1===e(o,A,this))return A+1;o+=t?-r:r}return A},we.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,A=0;return new S((function(){var i=o;return o+=t?-r:r,A>n?F():j(e,A++,i)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:me(this,e)},t(ve,n),t(Be,ve),t(Ie,ve),t(Me,ve),ve.Keyed=Be,ve.Indexed=Ie,ve.Set=Me;var ye="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Le(e){return e>>>1&1073741824|3221225471&e}function Qe(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Le(n)}if("string"===t)return e.length>Se?xe(e):He(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return De(e);if("function"==typeof e.toString)return He(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function xe(e){var t=Te[e];return void 0===t&&(t=He(e),Fe===je&&(Fe=0,Te={}),Fe++,Te[e]=t),t}function He(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Le(t)}function De(e){var t;if(ze&&void 0!==(t=Ne.get(e)))return t;if(void 0!==(t=e[Oe]))return t;if(!Ve){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Oe]))return t;if(void 0!==(t=Ze(e)))return t}if(t=++Pe,1073741824&Pe&&(Pe=0),ze)Ne.set(e,t);else{if(void 0!==ke&&!1===ke(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ve)Object.defineProperty(e,Oe,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Oe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Oe]=t}}return t}var ke=Object.isExtensible,Ve=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Ze(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Ne,ze="function"==typeof WeakMap;ze&&(Ne=new WeakMap);var Pe=0,Oe="__immutablehash__";"function"==typeof Symbol&&(Oe=Symbol(Oe));var Se=16,je=255,Fe=0,Te={};function Re(e){be(e!==1/0,"Cannot perform this action with an infinite size.")}function Ge(e){return null==e?ot():Xe(e)&&!s(e)?e:ot().withMutations((function(t){var n=r(e);Re(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Xe(e){return!(!e||!e[Ue])}t(Ge,Be),Ge.prototype.toString=function(){return this.__toString("Map {","}")},Ge.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Ge.prototype.set=function(e,t){return At(this,e,t)},Ge.prototype.setIn=function(e,t){return this.updateIn(e,E,(function(){return t}))},Ge.prototype.remove=function(e){return At(this,e,E)},Ge.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return E}))},Ge.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Ge.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=gt(this,vn(e),t,n);return r===E?void 0:r},Ge.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):ot()},Ge.prototype.merge=function(){return dt(this,void 0,arguments)},Ge.prototype.mergeWith=function(t){return dt(this,t,e.call(arguments,1))},Ge.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,ot(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},Ge.prototype.mergeDeep=function(){return dt(this,Ct,arguments)},Ge.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return dt(this,ut(t),n)},Ge.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,ot(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},Ge.prototype.sort=function(e){return Tt(fn(this,e))},Ge.prototype.sortBy=function(e,t){return Tt(fn(this,t,e))},Ge.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Ge.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new I)},Ge.prototype.asImmutable=function(){return this.__ensureOwner()},Ge.prototype.wasAltered=function(){return this.__altered},Ge.prototype.__iterator=function(e,t){return new et(this,e,t)},Ge.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},Ge.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?rt(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Ge.isMap=Xe;var Ye,Ue="@@__IMMUTABLE_MAP__@@",Ke=Ge.prototype;function We(e,t){this.ownerID=e,this.entries=t}function qe(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Je(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function _e(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function $e(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return j(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function rt(e,t,n,r){var o=Object.create(Ke);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function ot(){return Ye||(Ye=rt(0))}function At(e,t,n){var r,o;if(e._root){var A=v(b),i=v(w);if(r=it(e._root,e.__ownerID,0,void 0,t,n,A,i),!i.value)return e;o=e.size+(A.value?n===E?-1:1:0)}else{if(n===E)return e;o=1,r=new We(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?rt(o,r):ot()}function it(e,t,n,r,o,A,i,a){return e?e.update(t,n,r,o,A,i,a):A===E?e:(B(a),B(i),new $e(t,r,[o,A]))}function at(e){return e.constructor===$e||e.constructor===_e}function lt(e,t,n,r,o){if(e.keyHash===r)return new _e(t,r,[e.entry,o]);var A,i=(0===n?e.keyHash:e.keyHash>>>n)&m,a=(0===n?r:r>>>n)&m;return new qe(t,1<<i|1<<a,i===a?[lt(e,t,n+g,r,o)]:(A=new $e(t,r,o),i<a?[e,A]:[A,e]))}function ct(e,t,n,r){e||(e=new I);for(var o=new $e(e,Qe(n),[n,r]),A=0;A<t.length;A++){var i=t[A];o=o.update(e,0,void 0,i[0],i[1])}return o}function st(e,t,n,r){for(var o=0,A=0,i=new Array(n),a=0,l=1,c=t.length;a<c;a++,l<<=1){var s=t[a];void 0!==s&&a!==r&&(o|=l,i[A++]=s)}return new qe(e,o,i)}function ft(e,t,n,r,o){for(var A=0,i=new Array(h),a=0;0!==n;a++,n>>>=1)i[a]=1&n?t[A++]:void 0;return i[r]=o,new Je(e,A+1,i)}function dt(e,t,n){for(var o=[],A=0;A<n.length;A++){var a=n[A],l=r(a);i(a)||(l=l.map((function(e){return Ce(e)}))),o.push(l)}return pt(e,t,o)}function Ct(e,t,n){return e&&e.mergeDeep&&i(t)?e.mergeDeep(t):he(e,t)?e:t}function ut(e){return function(t,n,r){if(t&&t.mergeDeepWith&&i(n))return t.mergeDeepWith(e,n);var o=e(t,n,r);return he(t,o)?t:o}}function pt(e,t,n){return 0===(n=n.filter((function(e){return 0!==e.size}))).length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var r=t?function(n,r){e.update(r,E,(function(e){return e===E?n:t(e,n,r)}))}:function(t,n){e.set(n,t)},o=0;o<n.length;o++)n[o].forEach(r)})):e.constructor(n[0])}function gt(e,t,n,r){var o=e===E,A=t.next();if(A.done){var i=o?n:e,a=r(i);return a===i?e:a}be(o||e&&e.set,"invalid keyPath");var l=A.value,c=o?E:e.get(l,E),s=gt(c,t,n,r);return s===c?e:s===E?e.remove(l):(o?ot():e).set(l,s)}function ht(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function mt(e,t,n,r){var o=r?e:M(e);return o[t]=n,o}function Et(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var A=new Array(o),i=0,a=0;a<o;a++)a===t?(A[a]=n,i=-1):A[a]=e[a+i];return A}function bt(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var o=new Array(r),A=0,i=0;i<r;i++)i===t&&(A=1),o[i]=e[i+A];return o}Ke[Ue]=!0,Ke[p]=Ke.remove,Ke.removeIn=Ke.deleteIn,We.prototype.get=function(e,t,n,r){for(var o=this.entries,A=0,i=o.length;A<i;A++)if(he(n,o[A][0]))return o[A][1];return r},We.prototype.update=function(e,t,n,r,o,A,i){for(var a=o===E,l=this.entries,c=0,s=l.length;c<s&&!he(r,l[c][0]);c++);var f=c<s;if(f?l[c][1]===o:a)return this;if(B(i),(a||!f)&&B(A),!a||1!==l.length){if(!f&&!a&&l.length>=wt)return ct(e,l,r,o);var d=e&&e===this.ownerID,C=d?l:M(l);return f?a?c===s-1?C.pop():C[c]=C.pop():C[c]=[r,o]:C.push([r,o]),d?(this.entries=C,this):new We(e,C)}},qe.prototype.get=function(e,t,n,r){void 0===t&&(t=Qe(n));var o=1<<((0===e?t:t>>>e)&m),A=this.bitmap;return A&o?this.nodes[ht(A&o-1)].get(e+g,t,n,r):r},qe.prototype.update=function(e,t,n,r,o,A,i){void 0===n&&(n=Qe(r));var a=(0===t?n:n>>>t)&m,l=1<<a,c=this.bitmap,s=!!(c&l);if(!s&&o===E)return this;var f=ht(c&l-1),d=this.nodes,C=s?d[f]:void 0,u=it(C,e,t+g,n,r,o,A,i);if(u===C)return this;if(!s&&u&&d.length>=vt)return ft(e,d,c,a,u);if(s&&!u&&2===d.length&&at(d[1^f]))return d[1^f];if(s&&u&&1===d.length&&at(u))return u;var p=e&&e===this.ownerID,h=s?u?c:c^l:c|l,b=s?u?mt(d,f,u,p):bt(d,f,p):Et(d,f,u,p);return p?(this.bitmap=h,this.nodes=b,this):new qe(e,h,b)},Je.prototype.get=function(e,t,n,r){void 0===t&&(t=Qe(n));var o=(0===e?t:t>>>e)&m,A=this.nodes[o];return A?A.get(e+g,t,n,r):r},Je.prototype.update=function(e,t,n,r,o,A,i){void 0===n&&(n=Qe(r));var a=(0===t?n:n>>>t)&m,l=o===E,c=this.nodes,s=c[a];if(l&&!s)return this;var f=it(s,e,t+g,n,r,o,A,i);if(f===s)return this;var d=this.count;if(s){if(!f&&--d<Bt)return st(e,c,d,a)}else d++;var C=e&&e===this.ownerID,u=mt(c,a,f,C);return C?(this.count=d,this.nodes=u,this):new Je(e,d,u)},_e.prototype.get=function(e,t,n,r){for(var o=this.entries,A=0,i=o.length;A<i;A++)if(he(n,o[A][0]))return o[A][1];return r},_e.prototype.update=function(e,t,n,r,o,A,i){void 0===n&&(n=Qe(r));var a=o===E;if(n!==this.keyHash)return a?this:(B(i),B(A),lt(this,e,t,n,[r,o]));for(var l=this.entries,c=0,s=l.length;c<s&&!he(r,l[c][0]);c++);var f=c<s;if(f?l[c][1]===o:a)return this;if(B(i),(a||!f)&&B(A),a&&2===s)return new $e(e,this.keyHash,l[1^c]);var d=e&&e===this.ownerID,C=d?l:M(l);return f?a?c===s-1?C.pop():C[c]=C.pop():C[c]=[r,o]:C.push([r,o]),d?(this.entries=C,this):new _e(e,this.keyHash,C)},$e.prototype.get=function(e,t,n,r){return he(n,this.entry[0])?this.entry[1]:r},$e.prototype.update=function(e,t,n,r,o,A,i){var a=o===E,l=he(r,this.entry[0]);return(l?o===this.entry[1]:a)?this:(B(i),a?void B(A):l?e&&e===this.ownerID?(this.entry[1]=o,this):new $e(e,this.keyHash,[r,o]):(B(A),lt(this,e,t,Qe(r),[r,o])))},We.prototype.iterate=_e.prototype.iterate=function(e,t){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===e(n[t?o-r:r]))return!1},qe.prototype.iterate=Je.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var A=n[t?o-r:r];if(A&&!1===A.iterate(e,t))return!1}},$e.prototype.iterate=function(e,t){return e(this.entry)},t(et,S),et.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,r=t.node,o=t.index++;if(r.entry){if(0===o)return tt(e,r.entry)}else if(r.entries){if(o<=(n=r.entries.length-1))return tt(e,r.entries[this._reverse?n-o:o])}else if(o<=(n=r.nodes.length-1)){var A=r.nodes[this._reverse?n-o:o];if(A){if(A.entry)return tt(e,A.entry);t=this._stack=nt(A,t)}continue}t=this._stack=this._stack.__prev}return F()};var wt=h/4,vt=h/2,Bt=h/4;function It(e){var t=Zt();if(null==e)return t;if(Mt(e))return e;var n=o(e),r=n.size;return 0===r?t:(Re(r),r>0&&r<h?Vt(0,r,g,null,new Qt(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function Mt(e){return!(!e||!e[yt])}t(It,Ie),It.of=function(){return this(arguments)},It.prototype.toString=function(){return this.__toString("List [","]")},It.prototype.get=function(e,t){if((e=L(this,e))>=0&&e<this.size){var n=Ot(this,e+=this._origin);return n&&n.array[e&m]}return t},It.prototype.set=function(e,t){return Nt(this,e,t)},It.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},It.prototype.insert=function(e,t){return this.splice(e,0,t)},It.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Zt()},It.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){St(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},It.prototype.pop=function(){return St(this,0,-1)},It.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){St(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},It.prototype.shift=function(){return St(this,1)},It.prototype.merge=function(){return jt(this,void 0,arguments)},It.prototype.mergeWith=function(t){return jt(this,t,e.call(arguments,1))},It.prototype.mergeDeep=function(){return jt(this,Ct,arguments)},It.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return jt(this,ut(t),n)},It.prototype.setSize=function(e){return St(this,0,e)},It.prototype.slice=function(e,t){var n=this.size;return x(e,t,n)?this:St(this,H(e,n),D(t,n))},It.prototype.__iterator=function(e,t){var n=0,r=kt(this,t);return new S((function(){var t=r();return t===Dt?F():j(e,n++,t)}))},It.prototype.__iterate=function(e,t){for(var n,r=0,o=kt(this,t);(n=o())!==Dt&&!1!==e(n,r++,this););return r},It.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Vt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},It.isList=Mt;var yt="@@__IMMUTABLE_LIST__@@",Lt=It.prototype;function Qt(e,t){this.array=e,this.ownerID=t}Lt[yt]=!0,Lt[p]=Lt.remove,Lt.setIn=Ke.setIn,Lt.deleteIn=Lt.removeIn=Ke.removeIn,Lt.update=Ke.update,Lt.updateIn=Ke.updateIn,Lt.mergeIn=Ke.mergeIn,Lt.mergeDeepIn=Ke.mergeDeepIn,Lt.withMutations=Ke.withMutations,Lt.asMutable=Ke.asMutable,Lt.asImmutable=Ke.asImmutable,Lt.wasAltered=Ke.wasAltered,Qt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&m;if(r>=this.array.length)return new Qt([],e);var o,A=0===r;if(t>0){var i=this.array[r];if((o=i&&i.removeBefore(e,t-g,n))===i&&A)return this}if(A&&!o)return this;var a=Pt(this,e);if(!A)for(var l=0;l<r;l++)a.array[l]=void 0;return o&&(a.array[r]=o),a},Qt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,o=n-1>>>t&m;if(o>=this.array.length)return this;if(t>0){var A=this.array[o];if((r=A&&A.removeAfter(e,t-g,n))===A&&o===this.array.length-1)return this}var i=Pt(this,e);return i.array.splice(o+1),r&&(i.array[o]=r),i};var xt,Ht,Dt={};function kt(e,t){var n=e._origin,r=e._capacity,o=Ft(r),A=e._tail;return i(e._root,e._level,0);function i(e,t,n){return 0===t?a(e,n):l(e,t,n)}function a(e,i){var a=i===o?A&&A.array:e&&e.array,l=i>n?0:n-i,c=r-i;return c>h&&(c=h),function(){if(l===c)return Dt;var e=t?--c:l++;return a&&a[e]}}function l(e,o,A){var a,l=e&&e.array,c=A>n?0:n-A>>o,s=1+(r-A>>o);return s>h&&(s=h),function(){for(;;){if(a){var e=a();if(e!==Dt)return e;a=null}if(c===s)return Dt;var n=t?--s:c++;a=i(l&&l[n],o-g,A+(n<<o))}}}}function Vt(e,t,n,r,o,A,i){var a=Object.create(Lt);return a.size=t-e,a._origin=e,a._capacity=t,a._level=n,a._root=r,a._tail=o,a.__ownerID=A,a.__hash=i,a.__altered=!1,a}function Zt(){return xt||(xt=Vt(0,0,g))}function Nt(e,t,n){if((t=L(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?St(e,t).set(0,n):St(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,o=e._root,A=v(w);return t>=Ft(e._capacity)?r=zt(r,e.__ownerID,0,t,n,A):o=zt(o,e.__ownerID,e._level,t,n,A),A.value?e.__ownerID?(e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e):Vt(e._origin,e._capacity,e._level,o,r):e}function zt(e,t,n,r,o,A){var i,a=r>>>n&m,l=e&&a<e.array.length;if(!l&&void 0===o)return e;if(n>0){var c=e&&e.array[a],s=zt(c,t,n-g,r,o,A);return s===c?e:((i=Pt(e,t)).array[a]=s,i)}return l&&e.array[a]===o?e:(B(A),i=Pt(e,t),void 0===o&&a===i.array.length-1?i.array.pop():i.array[a]=o,i)}function Pt(e,t){return t&&e&&t===e.ownerID?e:new Qt(e?e.array.slice():[],t)}function Ot(e,t){if(t>=Ft(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&m],r-=g;return n}}function St(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new I,o=e._origin,A=e._capacity,i=o+t,a=void 0===n?A:n<0?A+n:o+n;if(i===o&&a===A)return e;if(i>=a)return e.clear();for(var l=e._level,c=e._root,s=0;i+s<0;)c=new Qt(c&&c.array.length?[void 0,c]:[],r),s+=1<<(l+=g);s&&(i+=s,o+=s,a+=s,A+=s);for(var f=Ft(A),d=Ft(a);d>=1<<l+g;)c=new Qt(c&&c.array.length?[c]:[],r),l+=g;var C=e._tail,u=d<f?Ot(e,a-1):d>f?new Qt([],r):C;if(C&&d>f&&i<A&&C.array.length){for(var p=c=Pt(c,r),h=l;h>g;h-=g){var E=f>>>h&m;p=p.array[E]=Pt(p.array[E],r)}p.array[f>>>g&m]=C}if(a<A&&(u=u&&u.removeAfter(r,0,a)),i>=d)i-=d,a-=d,l=g,c=null,u=u&&u.removeBefore(r,0,i);else if(i>o||d<f){for(s=0;c;){var b=i>>>l&m;if(b!==d>>>l&m)break;b&&(s+=(1<<l)*b),l-=g,c=c.array[b]}c&&i>o&&(c=c.removeBefore(r,l,i-s)),c&&d<f&&(c=c.removeAfter(r,l,d-s)),s&&(i-=s,a-=s)}return e.__ownerID?(e.size=a-i,e._origin=i,e._capacity=a,e._level=l,e._root=c,e._tail=u,e.__hash=void 0,e.__altered=!0,e):Vt(i,a,l,c,u)}function jt(e,t,n){for(var r=[],A=0,a=0;a<n.length;a++){var l=n[a],c=o(l);c.size>A&&(A=c.size),i(l)||(c=c.map((function(e){return Ce(e)}))),r.push(c)}return A>e.size&&(e=e.setSize(A)),pt(e,t,r)}function Ft(e){return e<h?0:e-1>>>g<<g}function Tt(e){return null==e?Xt():Rt(e)?e:Xt().withMutations((function(t){var n=r(e);Re(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Rt(e){return Xe(e)&&s(e)}function Gt(e,t,n,r){var o=Object.create(Tt.prototype);return o.size=e?e.size:0,o._map=e,o._list=t,o.__ownerID=n,o.__hash=r,o}function Xt(){return Ht||(Ht=Gt(ot(),Zt()))}function Yt(e,t,n){var r,o,A=e._map,i=e._list,a=A.get(t),l=void 0!==a;if(n===E){if(!l)return e;i.size>=h&&i.size>=2*A.size?(r=(o=i.filter((function(e,t){return void 0!==e&&a!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=A.remove(t),o=a===i.size-1?i.pop():i.set(a,void 0))}else if(l){if(n===i.get(a)[1])return e;r=A,o=i.set(a,[t,n])}else r=A.set(t,i.size),o=i.set(i.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):Gt(r,o)}function Ut(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Kt(e){this._iter=e,this.size=e.size}function Wt(e){this._iter=e,this.size=e.size}function qt(e){this._iter=e,this.size=e.size}function Jt(e){var t=En(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=bn,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===N){var r=e.__iterator(t,n);return new S((function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===Z?V:Z,n)},t}function _t(e,t,n){var r=En(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var A=e.get(r,E);return A===E?o:t.call(n,A,r,e)},r.__iterateUncached=function(r,o){var A=this;return e.__iterate((function(e,o,i){return!1!==r(t.call(n,e,o,i),o,A)}),o)},r.__iteratorUncached=function(r,o){var A=e.__iterator(N,o);return new S((function(){var o=A.next();if(o.done)return o;var i=o.value,a=i[0];return j(r,a,t.call(n,i[1],a,e),o)}))},r}function $t(e,t){var n=En(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Jt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=bn,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,r){var o=En(e);return r&&(o.has=function(r){var o=e.get(r,E);return o!==E&&!!t.call(n,o,r,e)},o.get=function(r,o){var A=e.get(r,E);return A!==E&&t.call(n,A,r,e)?A:o}),o.__iterateUncached=function(o,A){var i=this,a=0;return e.__iterate((function(e,A,l){if(t.call(n,e,A,l))return a++,o(e,r?A:a-1,i)}),A),a},o.__iteratorUncached=function(o,A){var i=e.__iterator(N,A),a=0;return new S((function(){for(;;){var A=i.next();if(A.done)return A;var l=A.value,c=l[0],s=l[1];if(t.call(n,s,c,e))return j(o,r?c:a++,s,A)}}))},o}function tn(e,t,n){var r=Ge().asMutable();return e.__iterate((function(o,A){r.update(t.call(n,o,A,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=a(e),o=(s(e)?Tt():Ge()).asMutable();e.__iterate((function(A,i){o.update(t.call(n,A,i,e),(function(e){return(e=e||[]).push(r?[i,A]:A),e}))}));var A=mn(e);return o.map((function(t){return pn(e,A(t))}))}function rn(e,t,n,r){var o=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),x(t,n,o))return e;var A=H(t,o),i=D(n,o);if(A!=A||i!=i)return rn(e.toSeq().cacheResult(),t,n,r);var a,l=i-A;l==l&&(a=l<0?0:l);var c=En(e);return c.size=0===a?a:e.size&&a||void 0,!r&&Ae(e)&&a>=0&&(c.get=function(t,n){return(t=L(this,t))>=0&&t<a?e.get(t+A,n):n}),c.__iterateUncached=function(t,n){var o=this;if(0===a)return 0;if(n)return this.cacheResult().__iterate(t,n);var i=0,l=!0,c=0;return e.__iterate((function(e,n){if(!l||!(l=i++<A))return c++,!1!==t(e,r?n:c-1,o)&&c!==a})),c},c.__iteratorUncached=function(t,n){if(0!==a&&n)return this.cacheResult().__iterator(t,n);var o=0!==a&&e.__iterator(t,n),i=0,l=0;return new S((function(){for(;i++<A;)o.next();if(++l>a)return F();var e=o.next();return r||t===Z?e:j(t,l-1,t===V?void 0:e.value[1],e)}))},c}function on(e,t,n){var r=En(e);return r.__iterateUncached=function(r,o){var A=this;if(o)return this.cacheResult().__iterate(r,o);var i=0;return e.__iterate((function(e,o,a){return t.call(n,e,o,a)&&++i&&r(e,o,A)})),i},r.__iteratorUncached=function(r,o){var A=this;if(o)return this.cacheResult().__iterator(r,o);var i=e.__iterator(N,o),a=!0;return new S((function(){if(!a)return F();var e=i.next();if(e.done)return e;var o=e.value,l=o[0],c=o[1];return t.call(n,c,l,A)?r===N?e:j(r,l,c,e):(a=!1,F())}))},r}function An(e,t,n,r){var o=En(e);return o.__iterateUncached=function(o,A){var i=this;if(A)return this.cacheResult().__iterate(o,A);var a=!0,l=0;return e.__iterate((function(e,A,c){if(!a||!(a=t.call(n,e,A,c)))return l++,o(e,r?A:l-1,i)})),l},o.__iteratorUncached=function(o,A){var i=this;if(A)return this.cacheResult().__iterator(o,A);var a=e.__iterator(N,A),l=!0,c=0;return new S((function(){var e,A,s;do{if((e=a.next()).done)return r||o===Z?e:j(o,c++,o===V?void 0:e.value[1],e);var f=e.value;A=f[0],s=f[1],l&&(l=t.call(n,s,A,i))}while(l);return o===N?e:j(o,A,s,e)}))},o}function an(e,t){var n=a(e),o=[e].concat(t).map((function(e){return i(e)?n&&(e=r(e)):e=n?ae(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===o.length)return e;if(1===o.length){var A=o[0];if(A===e||n&&a(A)||l(e)&&l(A))return A}var c=new te(o);return n?c=c.toKeyedSeq():l(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=o.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function ln(e,t,n){var r=En(e);return r.__iterateUncached=function(r,o){var A=0,a=!1;function l(e,c){var s=this;e.__iterate((function(e,o){return(!t||c<t)&&i(e)?l(e,c+1):!1===r(e,n?o:A++,s)&&(a=!0),!a}),o)}return l(e,0),A},r.__iteratorUncached=function(r,o){var A=e.__iterator(r,o),a=[],l=0;return new S((function(){for(;A;){var e=A.next();if(!1===e.done){var c=e.value;if(r===N&&(c=c[1]),t&&!(a.length<t)||!i(c))return n?e:j(r,l++,c,e);a.push(A),A=c.__iterator(r,o)}else A=a.pop()}return F()}))},r}function cn(e,t,n){var r=mn(e);return e.toSeq().map((function(o,A){return r(t.call(n,o,A,e))})).flatten(!0)}function sn(e,t){var n=En(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var o=this,A=0;return e.__iterate((function(e,r){return(!A||!1!==n(t,A++,o))&&!1!==n(e,A++,o)}),r),A},n.__iteratorUncached=function(n,r){var o,A=e.__iterator(Z,r),i=0;return new S((function(){return(!o||i%2)&&(o=A.next()).done?o:i%2?j(n,i++,t):j(n,i++,o.value,o)}))},n}function fn(e,t,n){t||(t=wn);var r=a(e),o=0,A=e.toSeq().map((function(t,r){return[r,t,o++,n?n(t,r,e):t]})).toArray();return A.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){A[t].length=2}:function(e,t){A[t]=e[1]}),r?K(A):l(e)?W(A):q(A)}function dn(e,t,n){if(t||(t=wn),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return Cn(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return Cn(t,e,n)?n:e}))}function Cn(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function un(e,t,r){var o=En(e);return o.size=new te(r).map((function(e){return e.size})).min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(Z,t),o=0;!(n=r.next()).done&&!1!==e(n.value,o++,this););return o},o.__iteratorUncached=function(e,o){var A=r.map((function(e){return e=n(e),G(o?e.reverse():e)})),i=0,a=!1;return new S((function(){var n;return a||(n=A.map((function(e){return e.next()})),a=n.some((function(e){return e.done}))),a?F():j(e,i++,t.apply(null,n.map((function(e){return e.value}))))}))},o}function pn(e,t){return Ae(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function hn(e){return Re(e.size),y(e)}function mn(e){return a(e)?r:l(e)?o:A}function En(e){return Object.create((a(e)?K:l(e)?W:q).prototype)}function bn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):U.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e<t?-1:0}function vn(e){var t=G(e);if(!t){if(!Y(e))throw new TypeError("Expected iterable or array-like: "+e);t=G(n(e))}return t}function Bn(e,t){var n,r=function(A){if(A instanceof r)return A;if(!(this instanceof r))return new r(A);if(!n){n=!0;var i=Object.keys(e);Ln(o,i),o.size=i.length,o._name=t,o._keys=i,o._defaultValues=e}this._map=Ge(A)},o=r.prototype=Object.create(In);return o.constructor=r,r}t(Tt,Ge),Tt.of=function(){return this(arguments)},Tt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Tt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Tt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Xt()},Tt.prototype.set=function(e,t){return Yt(this,e,t)},Tt.prototype.remove=function(e){return Yt(this,e,E)},Tt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Tt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Tt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Tt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Gt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Tt.isOrderedMap=Rt,Tt.prototype[u]=!0,Tt.prototype[p]=Tt.prototype.remove,t(Ut,K),Ut.prototype.get=function(e,t){return this._iter.get(e,t)},Ut.prototype.has=function(e){return this._iter.has(e)},Ut.prototype.valueSeq=function(){return this._iter.valueSeq()},Ut.prototype.reverse=function(){var e=this,t=$t(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Ut.prototype.map=function(e,t){var n=this,r=_t(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Ut.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?hn(this):0,function(o){return e(o,t?--n:n++,r)}),t)},Ut.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(Z,t),r=t?hn(this):0;return new S((function(){var o=n.next();return o.done?o:j(e,t?--r:r++,o.value,o)}))},Ut.prototype[u]=!0,t(Kt,W),Kt.prototype.includes=function(e){return this._iter.includes(e)},Kt.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Kt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(Z,t),r=0;return new S((function(){var t=n.next();return t.done?t:j(e,r++,t.value,t)}))},t(Wt,q),Wt.prototype.has=function(e){return this._iter.includes(e)},Wt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Wt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(Z,t);return new S((function(){var t=n.next();return t.done?t:j(e,t.value,t.value,t)}))},t(qt,K),qt.prototype.entrySeq=function(){return this._iter.toSeq()},qt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var r=i(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},qt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(Z,t);return new S((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){gn(r);var o=i(r);return j(e,o?r.get(0):r[0],o?r.get(1):r[1],t)}}}))},Kt.prototype.cacheResult=Ut.prototype.cacheResult=Wt.prototype.cacheResult=qt.prototype.cacheResult=bn,t(Bn,Be),Bn.prototype.toString=function(){return this.__toString(yn(this)+" {","}")},Bn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Bn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},Bn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Mn(this,ot()))},Bn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+yn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Mn(this,n)},Bn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Mn(this,t)},Bn.prototype.wasAltered=function(){return this._map.wasAltered()},Bn.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},Bn.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},Bn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Mn(this,t,e):(this.__ownerID=e,this._map=t,this)};var In=Bn.prototype;function Mn(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function yn(e){return e._name||e.constructor.name||"Record"}function Ln(e,t){try{t.forEach(Qn.bind(void 0,e))}catch(e){}}function Qn(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){be(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function xn(e){return null==e?zn():Hn(e)&&!s(e)?e:zn().withMutations((function(t){var n=A(e);Re(n.size),n.forEach((function(e){return t.add(e)}))}))}function Hn(e){return!(!e||!e[kn])}In[p]=In.remove,In.deleteIn=In.removeIn=Ke.removeIn,In.merge=Ke.merge,In.mergeWith=Ke.mergeWith,In.mergeIn=Ke.mergeIn,In.mergeDeep=Ke.mergeDeep,In.mergeDeepWith=Ke.mergeDeepWith,In.mergeDeepIn=Ke.mergeDeepIn,In.setIn=Ke.setIn,In.update=Ke.update,In.updateIn=Ke.updateIn,In.withMutations=Ke.withMutations,In.asMutable=Ke.asMutable,In.asImmutable=Ke.asImmutable,t(xn,Me),xn.of=function(){return this(arguments)},xn.fromKeys=function(e){return this(r(e).keySeq())},xn.prototype.toString=function(){return this.__toString("Set {","}")},xn.prototype.has=function(e){return this._map.has(e)},xn.prototype.add=function(e){return Zn(this,this._map.set(e,!0))},xn.prototype.remove=function(e){return Zn(this,this._map.remove(e))},xn.prototype.clear=function(){return Zn(this,this._map.clear())},xn.prototype.union=function(){var t=e.call(arguments,0);return 0===(t=t.filter((function(e){return 0!==e.size}))).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)A(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},xn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return A(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},xn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return A(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},xn.prototype.merge=function(){return this.union.apply(this,arguments)},xn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},xn.prototype.sort=function(e){return Pn(fn(this,e))},xn.prototype.sortBy=function(e,t){return Pn(fn(this,t,e))},xn.prototype.wasAltered=function(){return this._map.wasAltered()},xn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},xn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},xn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},xn.isSet=Hn;var Dn,kn="@@__IMMUTABLE_SET__@@",Vn=xn.prototype;function Zn(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function Nn(e,t){var n=Object.create(Vn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function zn(){return Dn||(Dn=Nn(ot()))}function Pn(e){return null==e?Tn():On(e)?e:Tn().withMutations((function(t){var n=A(e);Re(n.size),n.forEach((function(e){return t.add(e)}))}))}function On(e){return Hn(e)&&s(e)}Vn[kn]=!0,Vn[p]=Vn.remove,Vn.mergeDeep=Vn.merge,Vn.mergeDeepWith=Vn.mergeWith,Vn.withMutations=Ke.withMutations,Vn.asMutable=Ke.asMutable,Vn.asImmutable=Ke.asImmutable,Vn.__empty=zn,Vn.__make=Nn,t(Pn,xn),Pn.of=function(){return this(arguments)},Pn.fromKeys=function(e){return this(r(e).keySeq())},Pn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Pn.isOrderedSet=On;var Sn,jn=Pn.prototype;function Fn(e,t){var n=Object.create(jn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Tn(){return Sn||(Sn=Fn(Xt()))}function Rn(e){return null==e?Wn():Gn(e)?e:Wn().unshiftAll(e)}function Gn(e){return!(!e||!e[Yn])}jn[u]=!0,jn.__empty=Tn,jn.__make=Fn,t(Rn,Ie),Rn.of=function(){return this(arguments)},Rn.prototype.toString=function(){return this.__toString("Stack [","]")},Rn.prototype.get=function(e,t){var n=this._head;for(e=L(this,e);n&&e--;)n=n.next;return n?n.value:t},Rn.prototype.peek=function(){return this._head&&this._head.value},Rn.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Kn(e,t)},Rn.prototype.pushAll=function(e){if(0===(e=o(e)).size)return this;Re(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Kn(t,n)},Rn.prototype.pop=function(){return this.slice(1)},Rn.prototype.unshift=function(){return this.push.apply(this,arguments)},Rn.prototype.unshiftAll=function(e){return this.pushAll(e)},Rn.prototype.shift=function(){return this.pop.apply(this,arguments)},Rn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Wn()},Rn.prototype.slice=function(e,t){if(x(e,t,this.size))return this;var n=H(e,this.size);if(D(t,this.size)!==this.size)return Ie.prototype.slice.call(this,e,t);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Kn(r,o)},Rn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Kn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Rn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Rn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new S((function(){if(r){var t=r.value;return r=r.next,j(e,n++,t)}return F()}))},Rn.isStack=Gn;var Xn,Yn="@@__IMMUTABLE_STACK__@@",Un=Rn.prototype;function Kn(e,t,n,r){var o=Object.create(Un);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Wn(){return Xn||(Xn=Kn(0))}function qn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Un[Yn]=!0,Un.withMutations=Ke.withMutations,Un.asMutable=Ke.asMutable,Un.asImmutable=Ke.asImmutable,Un.wasAltered=Ke.wasAltered,n.Iterator=S,qn(n,{toArray:function(){Re(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Kt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Ut(this,!0)},toMap:function(){return Ge(this.toKeyedSeq())},toObject:function(){Re(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Tt(this.toKeyedSeq())},toOrderedSet:function(){return Pn(a(this)?this.valueSeq():this)},toSet:function(){return xn(a(this)?this.valueSeq():this)},toSetSeq:function(){return new Wt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Rn(a(this)?this.valueSeq():this)},toList:function(){return It(a(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return pn(this,an(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return he(t,e)}))},entries:function(){return this.__iterator(N)},every:function(e,t){Re(this.size);var n=!0;return this.__iterate((function(r,o,A){if(!e.call(t,r,o,A))return n=!1,!1})),n},filter:function(e,t){return pn(this,en(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(r,o,A){if(e.call(t,r,o,A))return n=[o,r],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Re(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Re(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(V)},map:function(e,t){return pn(this,_t(this,e,t))},reduce:function(e,t,n){var r,o;return Re(this.size),arguments.length<2?o=!0:r=t,this.__iterate((function(t,A,i){o?(o=!1,r=t):r=e.call(n,r,t,A,i)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return pn(this,$t(this,!0))},slice:function(e,t){return pn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(tr(e),t)},sort:function(e){return pn(this,fn(this,e))},values:function(){return this.__iterator(Z)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return y(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return me(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(er).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(tr(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(Q)},flatMap:function(e,t){return pn(this,cn(this,e,t))},flatten:function(e){return pn(this,ln(this,e,!0))},fromEntrySeq:function(){return new qt(this)},get:function(e,t){return this.find((function(t,n){return he(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,o=vn(e);!(n=o.next()).done;){var A=n.value;if((r=r&&r.get?r.get(A,E):E)===E)return t}return r},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,E)!==E},hasIn:function(e){return this.getIn(e,E)!==E},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map($n).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return dn(this,e)},maxBy:function(e,t){return dn(this,t,e)},min:function(e){return dn(this,e?nr(e):Ar)},minBy:function(e,t){return dn(this,t?nr(t):Ar,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return pn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return pn(this,An(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(tr(e),t)},sortBy:function(e,t){return pn(this,fn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return pn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return pn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(tr(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ir(this))}});var Jn=n.prototype;Jn[f]=!0,Jn[O]=Jn.values,Jn.__toJS=Jn.toArray,Jn.__toStringMapper=rr,Jn.inspect=Jn.toSource=function(){return this.toString()},Jn.chain=Jn.flatMap,Jn.contains=Jn.includes,function(){try{Object.defineProperty(Jn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),qn(r,{flip:function(){return pn(this,Jt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return he(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return he(t,e)}))},mapEntries:function(e,t){var n=this,r=0;return pn(this,this.toSeq().map((function(o,A){return e.call(t,[A,o],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return pn(this,this.toSeq().flip().map((function(r,o){return e.call(t,r,o,n)})).flip())}});var _n=r.prototype;function $n(e,t){return t}function er(e,t){return[t,e]}function tr(e){return function(){return!e.apply(this,arguments)}}function nr(e){return function(){return-e.apply(this,arguments)}}function rr(e){return"string"==typeof e?JSON.stringify(e):e}function or(){return M(arguments)}function Ar(e,t){return e<t?1:e>t?-1:0}function ir(e){if(e.size===1/0)return 0;var t=s(e),n=a(e),r=t?1:0,o=e.__iterate(n?t?function(e,t){r=31*r+lr(Qe(e),Qe(t))|0}:function(e,t){r=r+lr(Qe(e),Qe(t))|0}:t?function(e){r=31*r+Qe(e)|0}:function(e){r=r+Qe(e)|0});return ar(o,r)}function ar(e,t){return t=ye(t,3432918353),t=ye(t<<15|t>>>-15,461845907),t=ye(t<<13|t>>>-13,5),t=ye((t=t+3864292196^e)^t>>>16,2246822507),t=Le((t=ye(t^t>>>13,3266489909))^t>>>16)}function lr(e,t){return e^t+2654435769+(e<<6)+(e>>2)}_n[d]=!0,_n[O]=Jn.entries,_n.__toJS=Jn.toObject,_n.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},qn(o,{toKeyedSeq:function(){return new Ut(this,!1)},filter:function(e,t){return pn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return pn(this,$t(this,!1))},slice:function(e,t){return pn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=H(e,e<0?this.count():this.size);var r=this.slice(0,e);return pn(this,1===n?r:r.concat(M(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return pn(this,ln(this,e,!1))},get:function(e,t){return(e=L(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=L(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return pn(this,sn(this,e))},interleave:function(){var e=[this].concat(M(arguments)),t=un(this.toSeq(),W.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),pn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return pn(this,An(this,e,t,!1))},zip:function(){return pn(this,un(this,or,[this].concat(M(arguments))))},zipWith:function(e){var t=M(arguments);return t[0]=this,pn(this,un(this,e,t))}}),o.prototype[C]=!0,o.prototype[u]=!0,qn(A,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),A.prototype.has=Jn.includes,qn(K,r.prototype),qn(W,o.prototype),qn(q,A.prototype),qn(Be,r.prototype),qn(Ie,o.prototype),qn(Me,A.prototype);var cr={Iterable:n,Seq:U,Collection:ve,Map:Ge,OrderedMap:Tt,List:It,Stack:Rn,Set:xn,OrderedSet:Pn,Record:Bn,Range:we,Repeat:Ee,is:he,fromJS:Ce};return cr}()),pB.exports}function hB(){if(Zw)return Vw;Zw=1;var e=gB().OrderedMap;return Vw={createFromArray:function(t){return e(t.map((function(e){return[e.getKey(),e]})))}}}function mB(){if(zw)return Nw;zw=1;var e=gB(),t=e.Map,n=e.OrderedSet,r=e.Record,o=n(),A={style:o,entity:null},i=function(e){var r,A;function i(){return e.apply(this,arguments)||this}A=e,(r=i).prototype=Object.create(A.prototype),r.prototype.constructor=r,r.__proto__=A;var c=i.prototype;return c.getStyle=function(){return this.get("style")},c.getEntity=function(){return this.get("entity")},c.hasStyle=function(e){return this.getStyle().includes(e)},i.applyStyle=function(e,t){var n=e.set("style",e.getStyle().add(t));return i.create(n)},i.removeStyle=function(e,t){var n=e.set("style",e.getStyle().remove(t));return i.create(n)},i.applyEntity=function(e,t){var n=e.getEntity()===t?e:e.set("entity",t);return i.create(n)},i.create=function(e){if(!e)return a;var n=t({style:o,entity:null}).merge(e),r=l.get(n);if(r)return r;var A=new i(n);return l=l.set(n,A),A},i.fromJS=function(e){var t=e.style,r=e.entity;return new i({style:Array.isArray(t)?n(t):t,entity:Array.isArray(r)?n(r):r})},i}(r(A)),a=new i,l=t([[t(A),a]]);return i.EMPTY=a,Nw=i}function EB(){if(Ow)return Pw;return Ow=1,Pw=function(e,t,n,r){if(e.size){var o=0;e.reduce((function(e,A,i){return t(e,A)||(n(e)&&r(o,i),o=i),A})),n(e.last())&&r(o,e.count())}}}function bB(){if(jw)return Sw;jw=1;var e=mB(),t=EB(),n=gB(),r=n.List,o=n.Map,A=n.OrderedSet,i=n.Record,a=n.Repeat,l=A(),c=i({key:"",type:"unstyled",text:"",characterList:r(),depth:0,data:o()}),s=function(n){var o,A;function i(t){return n.call(this,function(t){if(!t)return t;var n=t.characterList,o=t.text;return o&&!n&&(t.characterList=r(a(e.EMPTY,o.length))),t}(t))||this}A=n,(o=i).prototype=Object.create(A.prototype),o.prototype.constructor=o,o.__proto__=A;var c=i.prototype;return c.getKey=function(){return this.get("key")},c.getType=function(){return this.get("type")},c.getText=function(){return this.get("text")},c.getCharacterList=function(){return this.get("characterList")},c.getLength=function(){return this.getText().length},c.getDepth=function(){return this.get("depth")},c.getData=function(){return this.get("data")},c.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():l},c.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},c.findStyleRanges=function(e,n){t(this.getCharacterList(),f,e,n)},c.findEntityRanges=function(e,n){t(this.getCharacterList(),d,e,n)},i}(c);function f(e,t){return e.getStyle()===t.getStyle()}function d(e,t){return e.getEntity()===t.getEntity()}return Sw=s}function wB(){if(Tw)return Fw;Tw=1;var e=mB(),t=EB(),n=gB(),r=n.List,o=n.Map,A=n.OrderedSet,i=n.Record,a=n.Repeat,l=A(),c={parent:null,characterList:r(),data:o(),depth:0,key:"",text:"",type:"unstyled",children:r(),prevSibling:null,nextSibling:null},s=function(e,t){return e.getStyle()===t.getStyle()},f=function(e,t){return e.getEntity()===t.getEntity()},d=function(n){var o,A;function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;return n.call(this,function(t){if(!t)return t;var n=t.characterList,o=t.text;return o&&!n&&(t.characterList=r(a(e.EMPTY,o.length))),t}(t))||this}A=n,(o=i).prototype=Object.create(A.prototype),o.prototype.constructor=o,o.__proto__=A;var d=i.prototype;return d.getKey=function(){return this.get("key")},d.getType=function(){return this.get("type")},d.getText=function(){return this.get("text")},d.getCharacterList=function(){return this.get("characterList")},d.getLength=function(){return this.getText().length},d.getDepth=function(){return this.get("depth")},d.getData=function(){return this.get("data")},d.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():l},d.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},d.getChildKeys=function(){return this.get("children")},d.getParentKey=function(){return this.get("parent")},d.getPrevSiblingKey=function(){return this.get("prevSibling")},d.getNextSiblingKey=function(){return this.get("nextSibling")},d.findStyleRanges=function(e,n){t(this.getCharacterList(),s,e,n)},d.findEntityRanges=function(e,n){t(this.getCharacterList(),f,e,n)},i}(i(c));return Fw=d}function vB(){if(Kw)return Uw;Kw=1;var e=function(){if(Yw)return Xw;Yw=1;var e=mB();return Xw=function(t,n,r,o){for(var A=n,i=t.getCharacterList();A<r;)i=i.set(A,e.applyEntity(i.get(A),o)),A++;return t.set("characterList",i)}}(),t=gB();return Uw=function(n,r,o){var A=n.getBlockMap(),i=r.getStartKey(),a=r.getStartOffset(),l=r.getEndKey(),c=r.getEndOffset(),s=A.skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===l})).toOrderedMap().merge(t.OrderedMap([[l,A.get(l)]])).map((function(t,n){var r=n===i?a:0,A=n===l?c:t.getLength();return e(t,r,A,o)}));return n.merge({blockMap:A.merge(s),selectionBefore:r,selectionAfter:r})},Uw}function BB(){if(_w)return Jw;_w=1;var e="production"!==process.env.NODE_ENV?function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")}:function(e){};return Jw=function(t,n){for(var r=arguments.length,o=new Array(r>2?r-2:0),A=2;A<r;A++)o[A-2]=arguments[A];if(e(n),!t){var i;if(void 0===n)i=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(i=new Error(n.replace(/%s/g,(function(){return String(o[a++])})))).name="Invariant Violation"}throw i.framesToPop=1,i}},Jw}function IB(){if(nv)return tv;nv=1;var e=qw?Ww:(qw=1,Ww={getRemovalRange:function(e,t,n,r,o){var A=n.split(" ");A=A.map((function(e,t){if("forward"===o){if(t>0)return" "+e}else if(t<A.length-1)return e+" ";return e}));for(var i,a=r,l=null,c=null,s=0;s<A.length;s++){if(e<(i=a+A[s].length)&&a<t)null!==l||(l=a),c=i;else if(null!==l)break;a=i}var f=r+n.length,d=l===r,C=c===f;return(!d&&C||d&&!C)&&("forward"===o?c!==f&&c++:l!==r&&l--),{start:l,end:c}}}),t=function(){if(ev)return $w;ev=1;var e=BB();return $w=function(t,n){var r=[];return t.findEntityRanges((function(e){return e.getEntity()===n}),(function(e,t){r.push({start:e,end:t})})),r.length||("production"!==process.env.NODE_ENV?e(!1,"Entity key not found in this range."):e(!1)),r},$w}(),n=BB();function r(r,o,A,i,a,l,c){var s=A.getStartOffset(),f=A.getEndOffset(),d=r.__get(a).getMutability(),C=c?s:f;if("MUTABLE"===d)return A;var u=t(o,a).filter((function(e){return C<=e.end&&C>=e.start}));1!=u.length&&("production"!==process.env.NODE_ENV?n(!1,"There should only be one entity range within this removal range."):n(!1));var p=u[0];if("IMMUTABLE"===d)return A.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1});l||(c?f=p.end:s=p.start);var g=e.getRemovalRange(s,f,o.getText().slice(p.start,p.end),p.start,i);return A.merge({anchorOffset:g.start,focusOffset:g.end,isBackward:!1})}return tv=function(e,t,n,o,A){var i=o.getStartOffset(),a=o.getEndOffset(),l=t.getEntityAt(i),c=n.getEntityAt(a-1);if(!l&&!c)return o;var s=o;if(l&&l===c)s=r(e,t,s,A,l,!0,!0);else if(l&&c){var f=r(e,t,s,A,l,!1,!0),d=r(e,n,s,A,c,!1,!1);s=s.merge({anchorOffset:f.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(l){var C=r(e,t,s,A,l,!1,!0);s=s.merge({anchorOffset:C.getStartOffset(),isBackward:!1})}else if(c){var u=r(e,n,s,A,c,!1,!1);s=s.merge({focusOffset:u.getEndOffset(),isBackward:!1})}return s}}function MB(){if(ov)return rv;ov=1;var e={},t=Math.pow(2,24);return rv=function(){for(var n;void 0===n||e.hasOwnProperty(n)||!isNaN(+n);)n=Math.floor(Math.random()*t).toString(32);return e[n]=!0,n},rv}function yB(){if(iv)return Av;iv=1;var e=wB(),t=MB(),n=gB().OrderedMap;return Av=function(r){return r.first()instanceof e?function(e){var r,o={};return n(e.withMutations((function(e){e.forEach((function(n,A){var i=n.getKey(),a=n.getNextSiblingKey(),l=n.getPrevSiblingKey(),c=n.getChildKeys(),s=n.getParentKey(),f=t();if(o[i]=f,a&&(e.get(a)?e.setIn([a,"prevSibling"],f):e.setIn([i,"nextSibling"],null)),l&&(e.get(l)?e.setIn([l,"nextSibling"],f):e.setIn([i,"prevSibling"],null)),s&&e.get(s)){var d=e.get(s).getChildKeys();e.setIn([s,"children"],d.set(d.indexOf(n.getKey()),f))}else e.setIn([i,"parent"],null),r&&(e.setIn([r.getKey(),"nextSibling"],f),e.setIn([i,"prevSibling"],o[r.getKey()])),r=e.get(i);c.forEach((function(t){e.get(t)?e.setIn([t,"parent"],f):e.setIn([i,"children"],n.getChildKeys().filter((function(e){return e!==t})))}))}))})).toArray().map((function(e){return[o[e.getKey()],e.set("key",o[e.getKey()])]})))}(r):function(e){return n(e.toArray().map((function(e){var n=t();return[n,e.set("key",n)]})))}(r)},Av}function LB(){if(lv)return av;lv=1;var e=mB(),t=EB(),n=BB();function r(r,o,A){var i=o.getCharacterList(),a=A>0?i.get(A-1):void 0,l=A<i.count()?i.get(A):void 0,c=a?a.getEntity():void 0,s=l?l.getEntity():void 0;if(s&&s===c&&"MUTABLE"!==r.__get(s).getMutability()){for(var f,d=function(e,r,o){var A;return t(e,(function(e,t){return e.getEntity()===t.getEntity()}),(function(e){return e.getEntity()===r}),(function(e,t){e<=o&&t>=o&&(A={start:e,end:t})})),"object"!=typeof A&&("production"!==process.env.NODE_ENV?n(!1,"Removal range must exist within character list."):n(!1)),A}(i,s,A),C=d.start,u=d.end;C<u;)f=i.get(C),i=i.set(C,e.applyEntity(f,null)),C++;return o.set("characterList",i)}return o}return av=function(e,t){var n=e.getBlockMap(),o=e.getEntityMap(),A={},i=t.getStartKey(),a=t.getStartOffset(),l=n.get(i),c=r(o,l,a);c!==l&&(A[i]=c);var s=t.getEndKey(),f=t.getEndOffset(),d=n.get(s);i===s&&(d=c);var C=r(o,d,f);return C!==d&&(A[s]=C),Object.keys(A).length?e.merge({blockMap:n.merge(A),selectionAfter:t}):e.set("selectionAfter",t)}}function QB(){if(sv)return cv;sv=1;var e=yB(),t=LB();return cv=function(n,r){var o=r.getStartKey(),A=r.getStartOffset(),i=r.getEndKey(),a=r.getEndOffset(),l=t(n,r).getBlockMap(),c=l.keySeq(),s=c.indexOf(o),f=c.indexOf(i)+1;return e(l.slice(s,f).map((function(e,t){var n=e.getText(),r=e.getCharacterList();return o===i?e.merge({text:n.slice(A,a),characterList:r.slice(A,a)}):t===o?e.merge({text:n.slice(A),characterList:r.slice(A)}):t===i?e.merge({text:n.slice(0,a),characterList:r.slice(0,a)}):e})))}}function xB(){if(dv)return fv;return dv=1,fv=function(e,t,n){var r=e;if(n===r.count())t.forEach((function(e){r=r.push(e)}));else if(0===n)t.reverse().forEach((function(e){r=r.unshift(e)}));else{var o=r.slice(0,n),A=r.slice(n);r=o.concat(t,A).toList()}return r}}function HB(){if(uv)return Cv;uv=1;var e=hB(),t=wB(),n=gB(),r=xB(),o=BB(),A=yB(),i=n.List,a=function(n,r,o,A,a,l){var c=o.first()instanceof t,s=[],f=A.size,d=o.get(a),C=A.first(),u=A.last(),p=u.getLength(),g=u.getKey(),h=c&&(!d.getChildKeys().isEmpty()||!C.getChildKeys().isEmpty());o.forEach((function(e,t){t===a?(h?s.push(e):s.push(function(e,t,n){var r=e.getText(),o=e.getCharacterList(),A=r.slice(0,t),i=o.slice(0,t),a=n.first();return e.merge({text:A+a.getText(),characterList:i.concat(a.getCharacterList()),type:A?e.getType():a.getType(),data:a.getData()})}(e,l,A)),A.slice(h?0:1,f-1).forEach((function(e){return s.push(e)})),s.push(function(e,t,n){var r=e.getText(),o=e.getCharacterList(),A=r.length,i=r.slice(t,A),a=o.slice(t,A),l=n.last();return l.merge({text:l.getText()+i,characterList:l.getCharacterList().concat(a),data:l.getData()})}(e,l,A))):s.push(e)}));var m=e.createFromArray(s);return c&&(m=function(e,t,n,r){return e.withMutations((function(t){var o=n.getKey(),A=r.getKey(),a=n.getNextSiblingKey(),l=n.getParentKey(),c=function(e,t){var n=e.getKey(),r=e,o=[];for(t.get(n)&&o.push(n);r&&r.getNextSiblingKey();){var A=r.getNextSiblingKey();if(!A)break;o.push(A),r=t.get(A)}return o}(r,e),s=c[c.length-1];if(t.get(A)?(t.setIn([o,"nextSibling"],A),t.setIn([A,"prevSibling"],o)):(t.setIn([o,"nextSibling"],r.getNextSiblingKey()),t.setIn([r.getNextSiblingKey(),"prevSibling"],o)),t.setIn([s,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],s),c.forEach((function(e){return t.setIn([e,"parent"],l)})),l){var f=e.get(l).getChildKeys(),d=f.indexOf(o)+1,C=f.toArray();C.splice.apply(C,[d,0].concat(c)),t.setIn([l,"children"],i(C))}}))}(m,0,d,C)),n.merge({blockMap:m,selectionBefore:r,selectionAfter:r.merge({anchorKey:g,anchorOffset:p,focusKey:g,focusOffset:p,isBackward:!1})})};return Cv=function(e,n,i){var l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";n.isCollapsed()||("production"!==process.env.NODE_ENV?o(!1,"`insertFragment` should only be called with a collapsed selection state."):o(!1));var c=e.getBlockMap(),s=A(i),f=n.getStartKey(),d=n.getStartOffset(),C=c.get(f);return C instanceof t&&(C.getChildKeys().isEmpty()||("production"!==process.env.NODE_ENV?o(!1,"`insertFragment` should not be called when a container node is selected."):o(!1))),1===s.size?function(e,t,n,o,A,i){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",l=n.get(A),c=l.getText(),s=l.getCharacterList(),f=A,d=i+o.getText().length,C=null;switch(a){case"MERGE_OLD_DATA_TO_NEW_DATA":C=o.getData().merge(l.getData());break;case"REPLACE_WITH_NEW_DATA":C=o.getData()}var u=l.getType();c&&"unstyled"===u&&(u=o.getType());var p=l.merge({text:c.slice(0,i)+o.getText()+c.slice(i),characterList:r(s,o.getCharacterList(),i),type:u,data:C});return e.merge({blockMap:n.set(A,p),selectionBefore:t,selectionAfter:t.merge({anchorKey:f,anchorOffset:d,focusKey:f,focusOffset:d,isBackward:!1})})}(e,n,c,s.first(),f,d,l):a(e,n,c,s,f,d)},Cv}function DB(){if(mv)return hv;mv=1;var e=gB().Map;return hv=function(t,n,r){var o=n.getStartKey(),A=n.getEndKey(),i=t.getBlockMap(),a=i.toSeq().skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===A})).concat(e([[A,i.get(A)]])).map(r);return t.merge({blockMap:i.merge(a),selectionBefore:n,selectionAfter:n})},hv}function kB(){if(bv)return Ev;bv=1;var e=wB();return Ev=function(t,n){if(!(t instanceof e))return null;var r=t.getNextSiblingKey();if(r)return r;var o=t.getParentKey();if(!o)return null;for(var A=n.get(o);A&&!A.getNextSiblingKey();){var i=A.getParentKey();A=i?n.get(i):null}return A?A.getNextSiblingKey():null}}function VB(){if(vv)return wv;vv=1;var e=wB(),t=kB(),n=gB();n.List;var r=n.Map,o=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},A=function(e,t){var n=[];if(!e)return n;for(var r=t.get(e);r&&r.getParentKey();){var o=r.getParentKey();o&&n.push(o),r=o?t.get(o):null}return n},i=function(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getNextSiblingKey();r&&!t.get(r);)r=n.get(r).getNextSiblingKey()||null;return r},a=function(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getPrevSiblingKey();r&&!t.get(r);)r=n.get(r).getPrevSiblingKey()||null;return r},l=function(e,n,r,l){return e.withMutations((function(c){if(o(n.getKey(),c,(function(e){return e.merge({nextSibling:i(e,c,l),prevSibling:a(e,c,l)})})),o(r.getKey(),c,(function(e){return e.merge({nextSibling:i(e,c,l),prevSibling:a(e,c,l)})})),A(n.getKey(),l).forEach((function(e){return o(e,c,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return c.get(e)})),nextSibling:i(e,c,l),prevSibling:a(e,c,l)})}))})),o(n.getNextSiblingKey(),c,(function(e){return e.merge({prevSibling:n.getPrevSiblingKey()})})),o(n.getPrevSiblingKey(),c,(function(e){return e.merge({nextSibling:i(e,c,l)})})),o(r.getNextSiblingKey(),c,(function(e){return e.merge({prevSibling:a(e,c,l)})})),o(r.getPrevSiblingKey(),c,(function(e){return e.merge({nextSibling:r.getNextSiblingKey()})})),A(r.getKey(),l).forEach((function(e){o(e,c,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return c.get(e)})),nextSibling:i(e,c,l),prevSibling:a(e,c,l)})}))})),function(e,n){var r=[];if(!e)return r;for(var o=t(e,n);o&&n.get(o);){var A=n.get(o);r.push(o),o=A.getParentKey()?t(A,n):null}return r}(r,l).forEach((function(e){return o(e,c,(function(e){return e.merge({nextSibling:i(e,c,l),prevSibling:a(e,c,l)})}))})),null==e.get(n.getKey())&&null!=e.get(r.getKey())&&r.getParentKey()===n.getKey()&&null==r.getPrevSiblingKey()){var s=n.getPrevSiblingKey();o(r.getKey(),c,(function(e){return e.merge({prevSibling:s})})),o(s,c,(function(e){return e.merge({nextSibling:r.getKey()})}));var f=s?e.get(s):null,d=f?f.getParentKey():null;if(n.getChildKeys().forEach((function(e){o(e,c,(function(e){return e.merge({parent:d})}))})),null!=d){var C=e.get(d);o(d,c,(function(e){return e.merge({children:C.getChildKeys().concat(n.getChildKeys())})}))}o(n.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),c,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})}))}}))},c=function(e,t,n){if(0===t)for(;t<n;)e=e.shift(),t++;else if(n===e.count())for(;n>t;)e=e.pop(),n--;else{var r=e.slice(0,t),o=e.slice(n);e=r.concat(o).toList()}return e};return wv=function(n,o){if(o.isCollapsed())return n;var i,a=n.getBlockMap(),s=o.getStartKey(),f=o.getStartOffset(),d=o.getEndKey(),C=o.getEndOffset(),u=a.get(s),p=a.get(d),g=u instanceof e,h=[];if(g){var m=p.getChildKeys(),E=A(d,a);p.getNextSiblingKey()&&(h=h.concat(E)),m.isEmpty()||(h=h.concat(E.concat([d]))),h=h.concat(A(t(p,a),a))}i=u===p?c(u.getCharacterList(),f,C):u.getCharacterList().slice(0,f).concat(p.getCharacterList().slice(C));var b=u.merge({text:u.getText().slice(0,f)+p.getText().slice(C),characterList:i}),w=g&&0===f&&0===C&&p.getParentKey()===s&&null==p.getPrevSiblingKey()?r([[s,null]]):a.toSeq().skipUntil((function(e,t){return t===s})).takeUntil((function(e,t){return t===d})).filter((function(e,t){return-1===h.indexOf(t)})).concat(r([[d,null]])).map((function(e,t){return t===s?b:null})),v=a.merge(w).filter((function(e){return!!e}));return g&&u!==p&&(v=l(v,u,p,a)),n.merge({blockMap:v,selectionBefore:o,selectionAfter:o.merge({anchorKey:s,anchorOffset:f,focusKey:s,focusOffset:f,isBackward:!1})})},wv}function ZB(){if(Iv)return Bv;Iv=1;var e=wB(),t=MB(),n=gB(),r=BB(),o=DB(),A=n.List,i=n.Map,a=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}};return Bv=function(n,l){l.isCollapsed()||("production"!==process.env.NODE_ENV?r(!1,"Selection range must be collapsed."):r(!1));var c=l.getAnchorKey(),s=n.getBlockMap(),f=s.get(c),d=f.getText();if(!d){var C=f.getType();if("unordered-list-item"===C||"ordered-list-item"===C)return o(n,l,(function(e){return e.merge({type:"unstyled",depth:0})}))}var u=l.getAnchorOffset(),p=f.getCharacterList(),g=t(),h=f instanceof e,m=f.merge({text:d.slice(0,u),characterList:p.slice(0,u)}),E=m.merge({key:g,text:d.slice(u),characterList:p.slice(u),data:i()}),b=s.toSeq().takeUntil((function(e){return e===f})),w=s.toSeq().skipUntil((function(e){return e===f})).rest(),v=b.concat([[c,m],[g,E]],w).toOrderedMap();return h&&(f.getChildKeys().isEmpty()||("production"!==process.env.NODE_ENV?r(!1,"ContentBlockNode must not have children"):r(!1)),v=function(e,t,n){return e.withMutations((function(e){var r=t.getKey(),o=n.getKey();a(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(r)+1,i=t.toArray();return i.splice(n,0,o),e.merge({children:A(i)})})),a(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:o})})),a(r,e,(function(e){return e.merge({nextSibling:o})})),a(o,e,(function(e){return e.merge({prevSibling:r})}))}))}(v,m,E)),n.merge({blockMap:v,selectionBefore:l,selectionAfter:l.merge({anchorKey:g,anchorOffset:0,focusKey:g,focusOffset:0,isBackward:!1})})},Bv}function NB(){if(yv)return Mv;yv=1;var e=mB(),t=function(){if(Gw)return Rw;Gw=1;var e=mB(),t=gB().Map;function n(n,r,o,A){var i=n.getBlockMap(),a=r.getStartKey(),l=r.getStartOffset(),c=r.getEndKey(),s=r.getEndOffset(),f=i.skipUntil((function(e,t){return t===a})).takeUntil((function(e,t){return t===c})).concat(t([[c,i.get(c)]])).map((function(t,n){var r,i;a===c?(r=l,i=s):(r=n===a?l:0,i=n===c?s:t.getLength());for(var f,d=t.getCharacterList();r<i;)f=d.get(r),d=d.set(r,A?e.applyStyle(f,o):e.removeStyle(f,o)),r++;return t.set("characterList",d)}));return n.merge({blockMap:i.merge(f),selectionBefore:r,selectionAfter:r})}return Rw={add:function(e,t,r){return n(e,t,r,!0)},remove:function(e,t,r){return n(e,t,r,!1)}}}(),n=vB(),r=IB(),o=QB(),A=gB(),i=HB(),a=function(){if(gv)return pv;gv=1;var e=gB(),t=xB(),n=BB(),r=e.Repeat;return pv=function(e,o,A,i){o.isCollapsed()||("production"!==process.env.NODE_ENV?n(!1,"`insertText` should only be called with a collapsed range."):n(!1));var a=null;if(null!=A&&(a=A.length),null==a||0===a)return e;var l=e.getBlockMap(),c=o.getStartKey(),s=o.getStartOffset(),f=l.get(c),d=f.getText(),C=f.merge({text:d.slice(0,s)+A+d.slice(s,f.getLength()),characterList:t(f.getCharacterList(),r(i,a).toList(),s)}),u=s+a;return e.merge({blockMap:l.set(c,C),selectionAfter:o.merge({anchorOffset:u,focusOffset:u})})},pv}(),l=BB(),c=DB(),s=LB(),f=VB(),d=ZB(),C=A.OrderedSet,u={replaceText:function(t,n,r,o,A){var i=s(t,n),l=f(i,n),c=e.create({style:o||C(),entity:A||null});return a(l,l.getSelectionAfter(),r,c)},insertText:function(e,t,n,r,o){return t.isCollapsed()||("production"!==process.env.NODE_ENV?l(!1,"Target range must be collapsed for `insertText`."):l(!1)),u.replaceText(e,t,n,r,o)},moveText:function(e,t,n){var r=o(e,t),A=u.removeRange(e,t,"backward");return u.replaceWithFragment(A,n,r)},replaceWithFragment:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",o=s(e,t),A=f(o,t);return i(A,A.getSelectionAfter(),n,r)},removeRange:function(e,t,n){var o,A,i,a;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),o=t.getAnchorKey(),A=t.getFocusKey(),i=e.getBlockForKey(o),a=e.getBlockForKey(A);var l=t.getStartOffset(),c=t.getEndOffset(),d=i.getEntityAt(l),C=a.getEntityAt(c-1);if(o===A&&d&&d===C){var u=r(e.getEntityMap(),i,a,t,n);return f(e,u)}var p=s(e,t);return f(p,t)},splitBlock:function(e,t){var n=s(e,t),r=f(n,t);return d(r,r.getSelectionAfter())},applyInlineStyle:function(e,n,r){return t.add(e,n,r)},removeInlineStyle:function(e,n,r){return t.remove(e,n,r)},setBlockType:function(e,t,n){return c(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return c(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return c(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,r){var o=s(e,t);return n(o,t,r)}};return Mv=u}function zB(){if(Qv)return Lv;return Qv=1,Lv=function(e){return Object.keys(e).map((function(t){return e[t]}))},Lv}function PB(){if(Hv)return xv;function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Hv=1;var t=EB(),n=zB(),r=gB(),o=r.List,A=r.Repeat,i=r.Record,a=function(){return!0},l=i({start:null,end:null}),c=i({start:null,end:null,decoratorKey:null,leaves:null}),s={generate:function(e,n,r){var i=n.getLength();if(!i)return o.of(new c({start:0,end:0,decoratorKey:null,leaves:o.of(new l({start:0,end:0}))}));var s=[],C=r?r.getDecorations(n,e):o(A(null,i)),u=n.getCharacterList();return t(C,d,a,(function(e,t){s.push(new c({start:e,end:t,decoratorKey:C.get(e),leaves:f(u.slice(e,t).toList(),e)}))})),o(s)},fromJS:function(t){var r=t.leaves,A=function(e,t){if(null==e)return{};var n,r,o={},A=Object.keys(e);for(r=0;r<A.length;r++)n=A[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["leaves"]);return new c(function(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(n){e(t,n,r[n])}))}return t}({},A,{leaves:null!=r?o(Array.isArray(r)?r:n(r)).map((function(e){return l(e)})):null}))}};function f(e,n){var r=[],A=e.map((function(e){return e.getStyle()})).toList();return t(A,d,a,(function(e,t){r.push(new l({start:e+n,end:t+n}))})),o(r)}function d(e,t){return e===t}return xv=s}function OB(){if(kv)return Dv;kv=1;var e=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.getType=function(){return this.get("type")},o.getMutability=function(){return this.get("mutability")},o.getData=function(){return this.get("data")},r}((0,gB().Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object}));return Dv=e}function SB(){if(zv)return Nv;function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}zv=1;var t=OB(),n=gB(),r=BB(),o=Zv?Vv:(Zv=1,Vv=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}),A=(0,n.Map)(),i=o();function a(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var l={getLastCreatedEntityKey:function(){return a("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),l.__getLastCreatedEntityKey()},create:function(e,t,n){return a("DraftEntity.create","contentState.createEntity"),l.__create(e,t,n)},add:function(e){return a("DraftEntity.add","contentState.addEntity"),l.__add(e)},get:function(e){return a("DraftEntity.get","contentState.getEntity"),l.__get(e)},__getAll:function(){return A},__loadWithEntities:function(e){A=e,i=o()},mergeData:function(e,t){return a("DraftEntity.mergeData","contentState.mergeEntityData"),l.__mergeData(e,t)},replaceData:function(e,t){return a("DraftEntity.replaceData","contentState.replaceEntityData"),l.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return i},__create:function(e,n,r){return l.__add(new t({type:e,mutability:n,data:r||{}}))},__add:function(e){return i=o(),A=A.set(i,e),i},__get:function(e){var t=A.get(e);return t||("production"!==process.env.NODE_ENV?r(!1,"Unknown DraftEntity key: %s.",e):r(!1)),t},__mergeData:function(t,n){var r=l.__get(t),o=function(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(n){e(t,n,r[n])}))}return t}({},r.getData(),n),i=r.set("data",o);return A=A.set(t,i),i},__replaceData:function(e,t){var n=l.__get(e).set("data",t);return A=A.set(e,n),n}};return Nv=l}function jB(){if(Ov)return Pv;Ov=1;var e=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},o.getAnchorKey=function(){return this.get("anchorKey")},o.getAnchorOffset=function(){return this.get("anchorOffset")},o.getFocusKey=function(){return this.get("focusKey")},o.getFocusOffset=function(){return this.get("focusOffset")},o.getIsBackward=function(){return this.get("isBackward")},o.getHasFocus=function(){return this.get("hasFocus")},o.hasEdgeWithin=function(e,t,n){var r=this.getAnchorKey(),o=this.getFocusKey();if(r===o&&r===e){var A=this.getStartOffset(),i=this.getEndOffset();return t<=A&&A<=n||t<=i&&i<=n}if(e!==r&&e!==o)return!1;var a=e===r?this.getAnchorOffset():this.getFocusOffset();return t<=a&&n>=a},o.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},o.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},o.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},o.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},o.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},r.createEmpty=function(e){return new r({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},r}((0,gB().Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1}));return Pv=e}function FB(){return jv?Sv:(jv=1,Sv=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]})}function TB(){if(Tv)return Fv;Tv=1;var e=new RegExp("\r","g");return Fv=function(t){return t.replace(e,"")}}function RB(){if(Gv)return Rv;function e(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(n){t(e,n,r[n])}))}return e}function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Gv=1;var n=hB(),r=mB(),o=bB(),A=wB(),i=SB(),a=jB(),l=MB(),c=zB(),s=FB(),f=gB(),d=TB(),C=f.List,u=f.Record,p=f.Repeat,g=f.Map,h=f.OrderedMap,m=u({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),E=s("draft_tree_data_support")?A:o,b=function(t){var o,A;function s(){return t.apply(this,arguments)||this}A=t,(o=s).prototype=Object.create(A.prototype),o.prototype.constructor=o,o.__proto__=A;var f=s.prototype;return f.getEntityMap=function(){return i},f.getBlockMap=function(){return this.get("blockMap")},f.getSelectionBefore=function(){return this.get("selectionBefore")},f.getSelectionAfter=function(){return this.get("selectionAfter")},f.getBlockForKey=function(e){return this.getBlockMap().get(e)},f.getKeyBefore=function(e){return this.getBlockMap().reverse().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},f.getKeyAfter=function(e){return this.getBlockMap().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},f.getBlockAfter=function(e){return this.getBlockMap().skipUntil((function(t,n){return n===e})).skip(1).first()},f.getBlockBefore=function(e){return this.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).first()},f.getBlocksAsArray=function(){return this.getBlockMap().toArray()},f.getFirstBlock=function(){return this.getBlockMap().first()},f.getLastBlock=function(){return this.getBlockMap().last()},f.getPlainText=function(e){return this.getBlockMap().map((function(e){return e?e.getText():""})).join(e||"\n")},f.getLastCreatedEntityKey=function(){return i.__getLastCreatedEntityKey()},f.hasText=function(){var e=this.getBlockMap();return e.size>1||escape(e.first().getText()).replace(/%u200B/g,"").length>0},f.createEntity=function(e,t,n){return i.__create(e,t,n),this},f.mergeEntityData=function(e,t){return i.__mergeData(e,t),this},f.replaceEntityData=function(e,t){return i.__replaceData(e,t),this},f.addEntity=function(e){return i.__add(e),this},f.getEntity=function(e){return i.__get(e)},f.getAllEntities=function(){return i.__getAll()},f.loadWithEntities=function(e){return i.__loadWithEntities(e)},s.createFromBlockArray=function(e,t){var r=Array.isArray(e)?e:e.contentBlocks,o=n.createFromArray(r),A=o.isEmpty()?new a:a.createEmpty(o.first().getKey());return new s({blockMap:o,entityMap:t||i,selectionBefore:A,selectionAfter:A})},s.createFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=e.split(t).map((function(e){return e=d(e),new E({key:l(),text:e,type:"unstyled",characterList:C(p(r.EMPTY,e.length))})}));return s.createFromBlockArray(n)},s.fromJS=function(t){return new s(e({},t,{blockMap:h(t.blockMap).map(s.createContentBlockFromJS),selectionBefore:new a(t.selectionBefore),selectionAfter:new a(t.selectionAfter)}))},s.createContentBlockFromJS=function(t){var n=t.characterList;return new E(e({},t,{data:g(t.data),characterList:null!=n?C((Array.isArray(n)?n:c(n)).map((function(e){return r.fromJS(e)}))):void 0}))},s}(m);return Rv=b}function GB(){if(Yv)return Xv;Yv=1;var e=BB(),t="LTR",n=null;function r(e){return e===t||"RTL"===e}function o(n){return r(n)||("production"!==process.env.NODE_ENV?e(!1,"`dir` must be a strong direction to be converted to HTML Direction"):e(!1)),n===t?"ltr":"rtl"}function A(e){n=e}return Xv={NEUTRAL:"NEUTRAL",LTR:t,RTL:"RTL",isStrong:r,getHTMLDir:o,getHTMLDirIfDifferent:function(t,n){return r(t)||("production"!==process.env.NODE_ENV?e(!1,"`dir` must be a strong direction to be converted to HTML Direction"):e(!1)),r(n)||("production"!==process.env.NODE_ENV?e(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):e(!1)),t===n?null:o(t)},setGlobalDir:A,initGlobalDir:function(){A(t)},getGlobalDir:function(){return n||this.initGlobalDir(),n||("production"!==process.env.NODE_ENV?e(!1,"Global direction not set."):e(!1)),n}}}function XB(){if(Kv)return Uv;Kv=1;var e=GB(),t=BB(),n="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",r="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",o=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+n+r+"]"),A=new RegExp("["+n+r+"]");function i(e){var t=o.exec(e);return null==t?null:t[0]}function a(t){var n=i(t);return null==n?e.NEUTRAL:A.exec(n)?e.RTL:e.LTR}function l(t,n){if(n=n||e.NEUTRAL,!t.length)return n;var r=a(t);return r===e.NEUTRAL?n:r}function c(n,r){return r||(r=e.getGlobalDir()),e.isStrong(r)||("production"!==process.env.NODE_ENV?t(!1,"Fallback direction must be a strong direction"):t(!1)),l(n,r)}return Uv={firstStrongChar:i,firstStrongCharDir:a,resolveBlockDir:l,getDirection:c,isDirectionLTR:function(t,n){return c(t,n)===e.LTR},isDirectionRTL:function(t,n){return c(t,n)===e.RTL}}}function YB(){if(_v)return Jv;_v=1;return Jv=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")}}function UB(){if(eB)return $v;eB=1;var e,t=function(){if(qv)return Wv;function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}qv=1;var t=XB(),n=GB(),r=BB();return Wv=function(){function o(t){e(this,"_defaultDir",void 0),e(this,"_lastDir",void 0),t?n.isStrong(t)||("production"!==process.env.NODE_ENV?r(!1,"Default direction must be a strong direction (LTR or RTL)"):r(!1)):t=n.getGlobalDir(),this._defaultDir=t,this.reset()}var A=o.prototype;return A.reset=function(){this._lastDir=this._defaultDir},A.getDirection=function(e){return this._lastDir=t.getDirection(e,this._lastDir),this._lastDir},o}()}(),n=gB(),r=YB(),o=n.OrderedMap;return $v={getDirectionMap:function(A,i){e?e.reset():e=new t;var a=A.getBlockMap(),l=a.valueSeq().map((function(t){return r(e).getDirection(t.getText())})),c=o(a.keySeq().zip(l));return null!=i&&n.is(i,c)?i:c}}}function KB(){if(nB)return tB;function e(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(n){t(e,n,r[n])}))}return e}function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}nB=1;var n=PB(),r=RB(),o=UB(),A=jB(),i=gB(),a=i.OrderedSet,l=i.Record,c=i.Stack,s=i.OrderedMap,f=i.List,d=l({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:c(),selection:null,treeMap:null,undoStack:c()}),C=function(){l.createEmpty=function(e){return this.createWithText("",e)},l.createWithText=function(e,t){return l.createWithContent(r.createFromText(e),t)},l.createWithContent=function(e,t){if(0===e.getBlockMap().count())return l.createEmpty(t);var n=e.getBlockMap().first().getKey();return l.create({currentContent:e,undoStack:c(),redoStack:c(),decorator:t||null,selection:A.createEmpty(n)})},l.create=function(t){var n=t.currentContent,r=e({},t,{treeMap:p(n,t.decorator),directionMap:o.getDirectionMap(n)});return new l(new d(r))},l.fromJS=function(t){return new l(new d(e({},t,{directionMap:null!=t.directionMap?s(t.directionMap):t.directionMap,inlineStyleOverride:null!=t.inlineStyleOverride?a(t.inlineStyleOverride):t.inlineStyleOverride,nativelyRenderedContent:null!=t.nativelyRenderedContent?r.fromJS(t.nativelyRenderedContent):t.nativelyRenderedContent,redoStack:null!=t.redoStack?c(t.redoStack.map((function(e){return r.fromJS(e)}))):t.redoStack,selection:null!=t.selection?new A(t.selection):t.selection,treeMap:null!=t.treeMap?s(t.treeMap).map((function(e){return f(e).map((function(e){return n.fromJS(e)}))})):t.treeMap,undoStack:null!=t.undoStack?c(t.undoStack.map((function(e){return r.fromJS(e)}))):t.undoStack,currentContent:r.fromJS(t.currentContent)})))},l.set=function(e,t){var r=e.getImmutable().withMutations((function(r){var o=r.get("decorator"),A=o;null===t.decorator?A=null:t.decorator&&(A=t.decorator);var i=t.currentContent||e.getCurrentContent();if(A!==o){var a,l=r.get("treeMap");return a=A&&o?function(e,t,r,o,A){return r.merge(t.toSeq().filter((function(t){return o.getDecorations(t,e)!==A.getDecorations(t,e)})).map((function(t){return n.generate(e,t,o)})))}(i,i.getBlockMap(),l,A,o):p(i,A),void r.merge({decorator:A,treeMap:a,nativelyRenderedContent:null})}i!==e.getCurrentContent()&&r.set("treeMap",function(e,t,r,o){var A=e.getCurrentContent().set("entityMap",r),i=A.getBlockMap(),a=e.getImmutable().get("treeMap");return a.merge(t.toSeq().filter((function(e,t){return e!==i.get(t)})).map((function(e){return n.generate(A,e,o)})))}(e,i.getBlockMap(),i.getEntityMap(),A)),r.merge(t)}));return new l(r)};var i=l.prototype;function l(e){t(this,"_immutable",void 0),this._immutable=e}return i.toJS=function(){return this.getImmutable().toJS()},i.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},i.getCurrentContent=function(){return this.getImmutable().get("currentContent")},i.getUndoStack=function(){return this.getImmutable().get("undoStack")},i.getRedoStack=function(){return this.getImmutable().get("redoStack")},i.getSelection=function(){return this.getImmutable().get("selection")},i.getDecorator=function(){return this.getImmutable().get("decorator")},i.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},i.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},i.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},i.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},i.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},l.setInlineStyleOverride=function(e,t){return l.set(e,{inlineStyleOverride:t})},i.getCurrentInlineStyle=function(){var e=this.getInlineStyleOverride();if(null!=e)return e;var t=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),o=e.getBlockForKey(n);if(r>0)return o.getInlineStyleAt(r-1);if(o.getLength())return o.getInlineStyleAt(0);return g(e,n)}(t,n):function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),o=e.getBlockForKey(n);if(r<o.getLength())return o.getInlineStyleAt(r);if(r>0)return o.getInlineStyleAt(r-1);return g(e,n)}(t,n)},i.getBlockTree=function(e){return this.getImmutable().getIn(["treeMap",e])},i.isSelectionAtStartOfContent=function(){var e=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(e,0,0)},i.isSelectionAtEndOfContent=function(){var e=this.getCurrentContent().getBlockMap().last(),t=e.getLength();return this.getSelection().hasEdgeWithin(e.getKey(),t,t)},i.getDirectionMap=function(){return this.getImmutable().get("directionMap")},l.acceptSelection=function(e,t){return u(e,t,!1)},l.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),u(e,t,!0)},l.moveSelectionToEnd=function(e){var t=e.getCurrentContent().getLastBlock(),n=t.getKey(),r=t.getLength();return l.acceptSelection(e,new A({anchorKey:n,anchorOffset:r,focusKey:n,focusOffset:r,isBackward:!1}))},l.moveFocusToEnd=function(e){var t=l.moveSelectionToEnd(e);return l.forceSelection(t,t.getSelection())},l.push=function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.getCurrentContent()===t)return e;var A=o.getDirectionMap(t,e.getDirectionMap());if(!e.getAllowUndo())return l.set(e,{currentContent:t,directionMap:A,lastChangeType:n,selection:t.getSelectionAfter(),forceSelection:r,inlineStyleOverride:null});var i=e.getSelection(),a=e.getCurrentContent(),s=e.getUndoStack(),f=t;i!==a.getSelectionAfter()||function(e,t){var n=e.getLastChangeType();return t!==n||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}(e,n)?(s=s.push(a),f=f.set("selectionBefore",i)):"insert-characters"!==n&&"backspace-character"!==n&&"delete-character"!==n||(f=f.set("selectionBefore",a.getSelectionBefore()));var d=e.getInlineStyleOverride();-1===["adjust-depth","change-block-type","split-block"].indexOf(n)&&(d=null);var C={currentContent:f,directionMap:A,undoStack:s,redoStack:c(),lastChangeType:n,selection:t.getSelectionAfter(),forceSelection:r,inlineStyleOverride:d};return l.set(e,C)},l.undo=function(e){if(!e.getAllowUndo())return e;var t=e.getUndoStack(),n=t.peek();if(!n)return e;var r=e.getCurrentContent(),A=o.getDirectionMap(n,e.getDirectionMap());return l.set(e,{currentContent:n,directionMap:A,undoStack:t.shift(),redoStack:e.getRedoStack().push(r),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:r.getSelectionBefore()})},l.redo=function(e){if(!e.getAllowUndo())return e;var t=e.getRedoStack(),n=t.peek();if(!n)return e;var r=e.getCurrentContent(),A=o.getDirectionMap(n,e.getDirectionMap());return l.set(e,{currentContent:n,directionMap:A,undoStack:e.getUndoStack().push(r),redoStack:t.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:n.getSelectionAfter()})},i.getImmutable=function(){return this._immutable},l}();function u(e,t,n){return C.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function p(e,t){return e.getBlockMap().map((function(r){return n.generate(e,r,t)})).toOrderedMap()}function g(e,t){var n=e.getBlockMap().reverse().skipUntil((function(e,n){return n===t})).skip(1).skipUntil((function(e,t){return e.getLength()})).first();return n?n.getInlineStyleAt(n.getLength()-1):a()}return tB=C}function WB(){if(iB)return AB;function e(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(n){t(e,n,r[n])}))}return e}function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}iB=1;var n=hB(),r=mB(),o=bB(),A=wB(),i=NB(),a=KB(),l=MB(),c=FB(),s=gB(),f=function(){if(oB)return rB;oB=1;var e=wB(),t=kB(),n=gB(),r=BB(),o=n.OrderedMap,A=n.List,i=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},a=function(e,t,n,r,o){if(!o)return e;var a="after"===r,l=t.getKey(),c=n.getKey(),s=t.getParentKey(),f=t.getNextSiblingKey(),d=t.getPrevSiblingKey(),C=n.getParentKey(),u=a?n.getNextSiblingKey():c,p=a?c:n.getPrevSiblingKey();return e.withMutations((function(e){i(s,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(l))})})),i(d,e,(function(e){return e.merge({nextSibling:f})})),i(f,e,(function(e){return e.merge({prevSibling:d})})),i(u,e,(function(e){return e.merge({prevSibling:l})})),i(p,e,(function(e){return e.merge({nextSibling:l})})),i(C,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(c),r=a?n+1:0!==n?n-1:0,o=t.toArray();return o.splice(r,0,l),e.merge({children:A(o)})})),i(l,e,(function(e){return e.merge({nextSibling:u,prevSibling:p,parent:C})}))}))};return rB=function(n,A,i,l){"replace"===l&&("production"!==process.env.NODE_ENV?r(!1,"Replacing blocks is not supported."):r(!1));var c=i.getKey(),s=A.getKey();s===c&&("production"!==process.env.NODE_ENV?r(!1,"Block cannot be moved next to itself."):r(!1));var f=n.getBlockMap(),d=A instanceof e,C=[A],u=f.delete(s);d&&(C=[],u=f.withMutations((function(e){var n=A.getNextSiblingKey(),r=t(A,e);e.toSeq().skipUntil((function(e){return e.getKey()===s})).takeWhile((function(e){var t=e.getKey(),o=t===s,A=n&&t!==n,i=!n&&e.getParentKey()&&(!r||t!==r);return!!(o||A||i)})).forEach((function(t){C.push(t),e.delete(t.getKey())}))})));var p=u.toSeq().takeUntil((function(e){return e===i})),g=u.toSeq().skipUntil((function(e){return e===i})).skip(1),h=C.map((function(e){return[e.getKey(),e]})),m=o();if("before"===l){var E=n.getBlockBefore(c);E&&E.getKey()===A.getKey()&&("production"!==process.env.NODE_ENV?r(!1,"Block cannot be moved next to itself."):r(!1)),m=p.concat([].concat(h,[[c,i]]),g).toOrderedMap()}else if("after"===l){var b=n.getBlockAfter(c);b&&b.getKey()===s&&("production"!==process.env.NODE_ENV?r(!1,"Block cannot be moved next to itself."):r(!1)),m=p.concat([[c,i]].concat(h),g).toOrderedMap()}return n.merge({blockMap:a(m,A,i,l,d),selectionBefore:n.getSelectionAfter(),selectionAfter:n.getSelectionAfter().merge({anchorKey:s,focusKey:s})})},rB}(),d=c("draft_tree_data_support"),C=d?A:o,u=s.List,p=s.Repeat;return AB={insertAtomicBlock:function(t,o,A){var c=t.getCurrentContent(),s=t.getSelection(),f=i.removeRange(c,s,"backward"),g=f.getSelectionAfter(),h=i.splitBlock(f,g),m=h.getSelectionAfter(),E=i.setBlockType(h,m,"atomic"),b=r.create({entity:o}),w={key:l(),type:"atomic",text:A,characterList:u(p(b,A.length))},v={key:l(),type:"unstyled"};d&&(w=e({},w,{nextSibling:v.key}),v=e({},v,{prevSibling:w.key}));var B=[new C(w),new C(v)],I=n.createFromArray(B),M=i.replaceWithFragment(E,m,I),y=M.merge({selectionBefore:s,selectionAfter:M.getSelectionAfter().set("hasFocus",!0)});return a.push(t,y,"insert-fragment")},moveAtomicBlock:function(e,t,n,r){var o,A=e.getCurrentContent(),l=e.getSelection();if("before"===r||"after"===r){var c=A.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());o=f(A,t,c,r)}else{var s=i.removeRange(A,n,"backward"),d=s.getSelectionAfter(),C=s.getBlockForKey(d.getFocusKey());if(0===d.getStartOffset())o=f(s,t,C,"before");else if(d.getEndOffset()===C.getLength())o=f(s,t,C,"after");else{var u=i.splitBlock(s,d),p=u.getSelectionAfter(),g=u.getBlockForKey(p.getFocusKey());o=f(u,t,g,"before")}}var h=o.merge({selectionBefore:l,selectionAfter:o.getSelectionAfter().set("hasFocus",!0)});return a.push(e,h,"move-block")}}}function qB(){if(lB)return aB;lB=1;var e=gB().List,t=function(){function t(e){!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"_decorators",void 0),this._decorators=e.slice()}var n=t.prototype;return n.getDecorations=function(t,n){var r=Array(t.getText().length).fill(null);return this._decorators.forEach((function(e,o){var A=0;(0,e.strategy)(t,(function(e,t){(function(e,t,n){for(var r=t;r<n;r++)if(null!=e[r])return!1;return!0})(r,e,t)&&(!function(e,t,n,r){for(var o=t;o<n;o++)e[o]=r}(r,e,t,o+"."+A),A++)}),n)})),e(r)},n.getComponentForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].component},n.getPropsForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].props},t}();return aB=t}function JB(){if(sB)return cB;function e(e){return e.replace(/\//g,"-")}return sB=1,cB=function(t){return"object"==typeof t?Object.keys(t).filter((function(e){return t[e]})).map(e).join(" "):Array.prototype.map.call(arguments,e).join(" ")},cB}function _B(){if(dB)return fB;dB=1;var e=o,t=JB(),n=(0,gB().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"},section:{element:"section"},article:{element:"article"},"unordered-list-item":{element:"li",wrapper:e.createElement("ul",{className:t("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:e.createElement("ol",{className:t("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:e.createElement("pre",{className:t("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}});return fB=n}function $B(){return uB?CB:(uB=1,CB={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}})}var eI,tI,nI,rI,oI,AI,iI,aI,lI,cI,sI,fI,dI,CI,uI,pI,gI,hI,mI,EI,bI,wI,vI,BI,II,MI,yI,LI,QI,xI,HI,DI,kI,VI,ZI,NI,zI,PI,OI,SI,jI,FI,TI,RI,GI,XI,YI,UI,KI,WI,qI,JI,_I,$I,eM,tM,nM,rM,oM,AM,iM,aM,lM,cM,sM,fM,dM,CM,uM,pM,gM,hM,mM,EM,bM,wM,vM,BM,IM,MM,yM,LM,QM,xM,HM,DM,kM,VM,ZM,NM,zM,PM,OM,SM,jM,FM,TM,RM,GM,XM,YM,UM,KM,WM,qM,JM,_M,$M,ey,ty,ny,ry,oy,Ay,iy,ay,ly,cy,sy,fy={exports:{}},dy=fy.exports;function Cy(){return eI||(eI=1,function(e,t){!function(n,r){var o="function",A="undefined",i="object",a="string",l="major",c="model",s="name",f="type",d="vendor",C="version",u="architecture",p="console",g="mobile",h="tablet",m="smarttv",E="wearable",b="embedded",w="Amazon",v="Apple",B="ASUS",I="BlackBerry",M="Browser",y="Chrome",L="Firefox",Q="Google",x="Huawei",H="LG",D="Microsoft",k="Motorola",V="Opera",Z="Samsung",N="Sharp",z="Sony",P="Xiaomi",O="Zebra",S="Facebook",j="Chromium OS",F="Mac OS",T=" Browser",R=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},G=function(e,t){return typeof e===a&&-1!==X(t).indexOf(X(e))},X=function(e){return e.toLowerCase()},Y=function(e,t){if(typeof e===a)return e=e.replace(/^\s\s*/,""),typeof t===A?e:e.substring(0,500)},U=function(e,t){for(var n,A,a,l,c,s,f=0;f<t.length&&!c;){var d=t[f],C=t[f+1];for(n=A=0;n<d.length&&!c&&d[n];)if(c=d[n++].exec(e))for(a=0;a<C.length;a++)s=c[++A],typeof(l=C[a])===i&&l.length>0?2===l.length?typeof l[1]==o?this[l[0]]=l[1].call(this,s):this[l[0]]=l[1]:3===l.length?typeof l[1]!==o||l[1].exec&&l[1].test?this[l[0]]=s?s.replace(l[1],l[2]):r:this[l[0]]=s?l[1].call(this,s,l[2]):r:4===l.length&&(this[l[0]]=s?l[3].call(this,s.replace(l[1],l[2])):r):this[l]=s||r;f+=2}},K=function(e,t){for(var n in t)if(typeof t[n]===i&&t[n].length>0){for(var o=0;o<t[n].length;o++)if(G(t[n][o],e))return"?"===n?r:n}else if(G(t[n],e))return"?"===n?r:n;return t.hasOwnProperty("*")?t["*"]:e},W={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},q={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[C,[s,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[C,[s,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[s,C],[/opios[\/ ]+([\w\.]+)/i],[C,[s,V+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[C,[s,V+" GX"]],[/\bopr\/([\w\.]+)/i],[C,[s,V]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[C,[s,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[C,[s,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[s,C],[/quark(?:pc)?\/([-\w\.]+)/i],[C,[s,"Quark"]],[/\bddg\/([\w\.]+)/i],[C,[s,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[C,[s,"UC"+M]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[C,[s,"WeChat"]],[/konqueror\/([\w\.]+)/i],[C,[s,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[C,[s,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[C,[s,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[C,[s,"Smart Lenovo "+M]],[/(avast|avg)\/([\w\.]+)/i],[[s,/(.+)/,"$1 Secure "+M],C],[/\bfocus\/([\w\.]+)/i],[C,[s,L+" Focus"]],[/\bopt\/([\w\.]+)/i],[C,[s,V+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[C,[s,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[C,[s,"Dolphin"]],[/coast\/([\w\.]+)/i],[C,[s,V+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[C,[s,"MIUI"+T]],[/fxios\/([\w\.-]+)/i],[C,[s,L]],[/\bqihoobrowser\/?([\w\.]*)/i],[C,[s,"360"]],[/\b(qq)\/([\w\.]+)/i],[[s,/(.+)/,"$1Browser"],C],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[s,/(.+)/,"$1"+T],C],[/samsungbrowser\/([\w\.]+)/i],[C,[s,Z+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[C,[s,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[s,"Sogou Mobile"],C],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[s,C],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[s],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[C,s],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[s,S],C],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[s,C],[/\bgsa\/([\w\.]+) .*safari\//i],[C,[s,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[C,[s,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[C,[s,y+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[s,y+" WebView"],C],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[C,[s,"Android "+M]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[s,C],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[C,[s,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[C,s],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[s,[C,K,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[s,C],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[s,"Netscape"],C],[/(wolvic|librewolf)\/([\w\.]+)/i],[s,C],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[C,[s,L+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[s,[C,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[s,[C,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[u,"amd64"]],[/(ia32(?=;))/i],[[u,X]],[/((?:i[346]|x)86)[;\)]/i],[[u,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[u,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[u,"armhf"]],[/windows (ce|mobile); ppc;/i],[[u,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[u,/ower/,"",X]],[/(sun4\w)[;\)]/i],[[u,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[u,X]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[c,[d,Z],[f,h]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[c,[d,Z],[f,g]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[c,[d,v],[f,g]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[c,[d,v],[f,h]],[/(macintosh);/i],[c,[d,v]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[c,[d,N],[f,g]],[/(?:honor)([-\w ]+)[;\)]/i],[c,[d,"Honor"],[f,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[c,[d,x],[f,h]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[c,[d,x],[f,g]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[c,/_/g," "],[d,P],[f,g]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[c,/_/g," "],[d,P],[f,h]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[c,[d,"OPPO"],[f,g]],[/\b(opd2\d{3}a?) bui/i],[c,[d,"OPPO"],[f,h]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[c,[d,"Vivo"],[f,g]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[c,[d,"Realme"],[f,g]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[c,[d,k],[f,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[c,[d,k],[f,h]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[c,[d,H],[f,h]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[c,[d,H],[f,g]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[c,[d,"Lenovo"],[f,h]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[c,/_/g," "],[d,"Nokia"],[f,g]],[/(pixel c)\b/i],[c,[d,Q],[f,h]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[c,[d,Q],[f,g]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[c,[d,z],[f,g]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[c,"Xperia Tablet"],[d,z],[f,h]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[c,[d,"OnePlus"],[f,g]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[c,[d,w],[f,h]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[c,/(.+)/g,"Fire Phone $1"],[d,w],[f,g]],[/(playbook);[-\w\),; ]+(rim)/i],[c,d,[f,h]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[c,[d,I],[f,g]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[c,[d,B],[f,h]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[c,[d,B],[f,g]],[/(nexus 9)/i],[c,[d,"HTC"],[f,h]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[d,[c,/_/g," "],[f,g]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[c,[d,"TCL"],[f,h]],[/(itel) ((\w+))/i],[[d,X],c,[f,K,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[c,[d,"Acer"],[f,h]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[c,[d,"Meizu"],[f,g]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[c,[d,"Ulefone"],[f,g]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[c,[d,"Energizer"],[f,g]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[c,[d,"Cat"],[f,g]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[c,[d,"Smartfren"],[f,g]],[/droid.+; (a(?:015|06[35]|142p?))/i],[c,[d,"Nothing"],[f,g]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (imo) ((?!tab)[\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,c,[f,g]],[/(imo) (tab \w+)/i,/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,c,[f,h]],[/(surface duo)/i],[c,[d,D],[f,h]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[c,[d,"Fairphone"],[f,g]],[/(u304aa)/i],[c,[d,"AT&T"],[f,g]],[/\bsie-(\w*)/i],[c,[d,"Siemens"],[f,g]],[/\b(rct\w+) b/i],[c,[d,"RCA"],[f,h]],[/\b(venue[\d ]{2,7}) b/i],[c,[d,"Dell"],[f,h]],[/\b(q(?:mv|ta)\w+) b/i],[c,[d,"Verizon"],[f,h]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[c,[d,"Barnes & Noble"],[f,h]],[/\b(tm\d{3}\w+) b/i],[c,[d,"NuVision"],[f,h]],[/\b(k88) b/i],[c,[d,"ZTE"],[f,h]],[/\b(nx\d{3}j) b/i],[c,[d,"ZTE"],[f,g]],[/\b(gen\d{3}) b.+49h/i],[c,[d,"Swiss"],[f,g]],[/\b(zur\d{3}) b/i],[c,[d,"Swiss"],[f,h]],[/\b((zeki)?tb.*\b) b/i],[c,[d,"Zeki"],[f,h]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],c,[f,h]],[/\b(ns-?\w{0,9}) b/i],[c,[d,"Insignia"],[f,h]],[/\b((nxa|next)-?\w{0,9}) b/i],[c,[d,"NextBook"],[f,h]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],c,[f,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],c,[f,g]],[/\b(ph-1) /i],[c,[d,"Essential"],[f,g]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[c,[d,"Envizen"],[f,h]],[/\b(trio[-\w\. ]+) b/i],[c,[d,"MachSpeed"],[f,h]],[/\btu_(1491) b/i],[c,[d,"Rotor"],[f,h]],[/(shield[\w ]+) b/i],[c,[d,"Nvidia"],[f,h]],[/(sprint) (\w+)/i],[d,c,[f,g]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[d,D],[f,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[c,[d,O],[f,h]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[c,[d,O],[f,g]],[/smart-tv.+(samsung)/i],[d,[f,m]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[d,Z],[f,m]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,H],[f,m]],[/(apple) ?tv/i],[d,[c,v+" TV"],[f,m]],[/crkey/i],[[c,y+"cast"],[d,Q],[f,m]],[/droid.+aft(\w+)( bui|\))/i],[c,[d,w],[f,m]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[c,[d,N],[f,m]],[/(bravia[\w ]+)( bui|\))/i],[c,[d,z],[f,m]],[/(mitv-\w{5}) bui/i],[c,[d,P],[f,m]],[/Hbbtv.*(technisat) (.*);/i],[d,c,[f,m]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[d,Y],[c,Y],[f,m]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[f,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,c,[f,p]],[/droid.+; (shield) bui/i],[c,[d,"Nvidia"],[f,p]],[/(playstation [345portablevi]+)/i],[c,[d,z],[f,p]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[c,[d,D],[f,p]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[c,[d,Z],[f,E]],[/((pebble))app/i],[d,c,[f,E]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[c,[d,v],[f,E]],[/droid.+; (glass) \d/i],[c,[d,Q],[f,E]],[/droid.+; (wt63?0{2,3})\)/i],[c,[d,O],[f,E]],[/droid.+; (glass) \d/i],[c,[d,Q],[f,E]],[/(pico) (4|neo3(?: link|pro)?)/i],[d,c,[f,E]],[/; (quest( \d| pro)?)/i],[c,[d,S],[f,E]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[f,b]],[/(aeobc)\b/i],[c,[d,w],[f,b]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[c,[f,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[c,[f,h]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[f,h]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[f,g]],[/(android[-\w\. ]{0,9});.+buil/i],[c,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[C,[s,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[s,C],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[C,[s,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[s,C],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[C,s]],os:[[/microsoft (windows) (vista|xp)/i],[s,C],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[s,[C,K,W]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[C,K,W],[s,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[C,/_/g,"."],[s,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[s,F],[C,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[C,s],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[s,C],[/\(bb(10);/i],[C,[s,I]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[C,[s,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[C,[s,L+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[C,[s,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[C,[s,"watchOS"]],[/crkey\/([\d\.]+)/i],[C,[s,y+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[s,j],C],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[s,C],[/(sunos) ?([\w\.\d]*)/i],[[s,"Solaris"],C],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[s,C]]},J=function(e,t){if(typeof e===i&&(t=e,e=r),!(this instanceof J))return new J(e,t).getResult();var p=typeof n!==A&&n.navigator?n.navigator:r,m=e||(p&&p.userAgent?p.userAgent:""),E=p&&p.userAgentData?p.userAgentData:r,b=t?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(q,t):q,w=p&&p.userAgent==m;return this.getBrowser=function(){var e={};return e[s]=r,e[C]=r,U.call(e,m,b.browser),e[l]=function(e){return typeof e===a?e.replace(/[^\d\.]/g,"").split(".")[0]:r}(e[C]),w&&p&&p.brave&&typeof p.brave.isBrave==o&&(e[s]="Brave"),e},this.getCPU=function(){var e={};return e[u]=r,U.call(e,m,b.cpu),e},this.getDevice=function(){var e={};return e[d]=r,e[c]=r,e[f]=r,U.call(e,m,b.device),w&&!e[f]&&E&&E.mobile&&(e[f]=g),w&&"Macintosh"==e[c]&&p&&typeof p.standalone!==A&&p.maxTouchPoints&&p.maxTouchPoints>2&&(e[c]="iPad",e[f]=h),e},this.getEngine=function(){var e={};return e[s]=r,e[C]=r,U.call(e,m,b.engine),e},this.getOS=function(){var e={};return e[s]=r,e[C]=r,U.call(e,m,b.os),w&&!e[s]&&E&&E.platform&&"Unknown"!=E.platform&&(e[s]=E.platform.replace(/chrome os/i,j).replace(/macos/i,F)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return m},this.setUA=function(e){return m=typeof e===a&&e.length>500?Y(e,500):e,this},this.setUA(m),this};J.VERSION="0.7.40",J.BROWSER=R([s,C,l]),J.CPU=R([u]),J.DEVICE=R([c,d,f,p,g,m,h,E,b]),J.ENGINE=J.OS=R([s,C]),e.exports&&(t=e.exports=J),t.UAParser=J;var _=typeof n!==A&&(n.jQuery||n.Zepto);if(_&&!_.ua){var $=new J;_.ua=$.getResult(),_.ua.get=function(){return $.getUA()},_.ua.set=function(e){$.setUA(e);var t=$.getResult();for(var n in t)_.ua[n]=t[n]}}}("object"==typeof window?window:dy)}(fy,fy.exports)),fy.exports}function uy(){if(nI)return tI;nI=1;var e=Cy(),t="Unknown",n={"Mac OS":"Mac OS X"};var r,o=(new e).getResult(),A=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(o.browser.version),i={browserArchitecture:o.cpu.architecture||t,browserFullVersion:o.browser.version||t,browserMinorVersion:A.minor||t,browserName:o.browser.name||t,browserVersion:o.browser.major||t,deviceName:o.device.model||t,engineName:o.engine.name||t,engineVersion:o.engine.version||t,platformArchitecture:o.cpu.architecture||t,platformName:(r=o.os.name,n[r]||r||t),platformVersion:o.os.version||t,platformFullVersion:o.os.version||t};return tI=i}function py(){if(oI)return rI;oI=1;var e=BB(),t=/\./,n=/\|\|/,r=/\s+\-\s+/,o=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,A=/^(\d*)(.*)/;function i(t,o){var A=t.split(n);return A.length>1?A.some((function(e){return h.contains(e,o)})):function(t,n){var o=t.split(r);if(o.length>0&&o.length<=2||("production"!==process.env.NODE_ENV?e(!1,'the "-" operator expects exactly 2 operands'):e(!1)),1===o.length)return a(o[0],n);var A=o[0],i=o[1];return d(A)&&d(i)||("production"!==process.env.NODE_ENV?e(!1,'operands to the "-" operator must be simple (no modifiers)'):e(!1)),a(">="+A,n)&&a("<="+i,n)}(t=A[0].trim(),o)}function a(e,n){if(""===(e=e.trim()))return!0;var r,o=n.split(t),A=s(e),i=A.modifier,a=A.rangeComponents;switch(i){case"<":return l(o,a);case"<=":return-1===(r=g(o,a))||0===r;case">=":return c(o,a);case">":return function(e,t){return 1===g(e,t)}(o,a);case"~":case"~>":return function(e,t){var n=t.slice(),r=t.slice();r.length>1&&r.pop();var o=r.length-1,A=parseInt(r[o],10);f(A)&&(r[o]=A+1+"");return c(e,n)&&l(e,r)}(o,a);default:return function(e,t){return 0===g(e,t)}(o,a)}}function l(e,t){return-1===g(e,t)}function c(e,t){var n=g(e,t);return 1===n||0===n}function s(n){var r=n.split(t),A=r[0].match(o);return A||("production"!==process.env.NODE_ENV?e(!1,"expected regex to match but it did not"):e(!1)),{modifier:A[1],rangeComponents:[A[2]].concat(r.slice(1))}}function f(e){return!isNaN(e)&&isFinite(e)}function d(e){return!s(e).modifier}function C(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function u(e,t){var n=e.match(A)[1],r=t.match(A)[1],o=parseInt(n,10),i=parseInt(r,10);return f(o)&&f(i)&&o!==i?p(o,i):p(e,t)}function p(t,n){return typeof t!=typeof n&&("production"!==process.env.NODE_ENV?e(!1,'"a" and "b" must be of the same type'):e(!1)),t>n?1:t<n?-1:0}function g(e,t){for(var n=function(e,t){C(e=e.slice(),(t=t.slice()).length);for(var n=0;n<t.length;n++){var r=t[n].match(/^[x*]$/i);if(r&&(t[n]=e[n]="0","*"===r[0]&&n===t.length-1))for(var o=n;o<e.length;o++)e[o]="0"}return C(t,e.length),[e,t]}(e,t),r=n[0],o=n[1],A=0;A<o.length;A++){var i=u(r[A],o[A]);if(i)return i}return 0}var h={contains:function(e,t){return i(e.trim(),t.trim())}};return rI=h}function gy(){if(sI)return cI;sI=1;var e=uy(),t=py(),n=function(){if(iI)return AI;iI=1;var e=Object.prototype.hasOwnProperty;return AI=function(t,n,r){if(!t)return null;var o={};for(var A in t)e.call(t,A)&&(o[A]=n.call(r,t[A],A,t));return o},AI}(),r=lI?aI:(lI=1,aI=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}});function o(e,n,r,o){if(e===r)return!0;if(!r.startsWith(e))return!1;var A=r.slice(e.length);return!!n&&(A=o?o(A):A,t.contains(A,n))}function A(t){return"Windows"===e.platformName?t.replace(/^\s*NT/,""):t}return cI=n({isBrowser:function(t){return o(e.browserName,e.browserFullVersion,t)},isBrowserArchitecture:function(t){return o(e.browserArchitecture,null,t)},isDevice:function(t){return o(e.deviceName,null,t)},isEngine:function(t){return o(e.engineName,e.engineVersion,t)},isPlatform:function(t){return o(e.platformName,e.platformFullVersion,t,A)},isPlatformArchitecture:function(t){return o(e.platformArchitecture,null,t)}},r)}function hy(){if(dI)return fI;return dI=1,fI=function(e){return e&&e.ownerDocument?e.ownerDocument:document}}function my(){if(uI)return CI;return uI=1,CI=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE}}function Ey(){if(gI)return pI;gI=1;var e=my();return pI=function t(n){if(e(n)){var r=n,o=r.getAttribute("data-offset-key");if(o)return o;for(var A=0;A<r.childNodes.length;A++){var i=t(r.childNodes[A]);if(i)return i}}return null},pI}function by(){if(mI)return hI;mI=1;var e=hy(),t=Ey();return hI=function(n){for(var r=n;r&&r!==e(n).documentElement;){var o=t(r);if(null!=o)return o;r=r.parentNode}return null},hI}function wy(){if(bI)return EI;return bI=1,EI=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}}function vy(){if(II)return BI;II=1;var e="-";return BI={encode:function(t,n,r){return t+e+n+e+r},decode:function(t){var n=t.split(e).reverse(),r=n[0],o=n[1];return{blockKey:n.slice(2).reverse().join(e),decoratorKey:parseInt(o,10),leafKey:parseInt(r,10)}}}}function By(){return yI?MI:(yI=1,MI={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105})}function Iy(){return QI?LI:(QI=1,LI={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}})}function My(){if(HI)return xI;return HI=1,xI=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)}}function yy(){if(kI)return DI;kI=1;var e=BB(),t=My();return DI=function(n){var r=n.editorContainer;return r||("production"!==process.env.NODE_ENV?e(!1,"Missing editorNode"):e(!1)),t(r.firstChild)||("production"!==process.env.NODE_ENV?e(!1,"editorNode.firstChild is not an HTMLElement"):e(!1)),r.firstChild}}function Ly(){if(ZI)return VI;ZI=1;var e=vy(),t=YB();return VI=function(n,r,o,A,i){var a=t(n.getSelection());if(!r||!A)return"production"!==process.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,n.toJS()),a;var l=e.decode(r),c=l.blockKey,s=n.getBlockTree(c),f=s&&s.getIn([l.decoratorKey,"leaves",l.leafKey]),d=e.decode(A),C=d.blockKey,u=n.getBlockTree(C),p=u&&u.getIn([d.decoratorKey,"leaves",d.leafKey]);if(!f||!p)return"production"!==process.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,n.toJS()),a;var g=f.get("start"),h=p.get("start"),m=f?g+o:null,E=p?h+i:null;if(a.getAnchorKey()===c&&a.getAnchorOffset()===m&&a.getFocusKey()===C&&a.getFocusOffset()===E)return a;var b=!1;if(c===C){var w=f.get("end"),v=p.get("end");b=h===g&&v===w?i<o:h<g}else{var B=n.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===c||e===C})).first();b=B===C}return a.merge({anchorKey:c,anchorOffset:m,focusKey:C,focusOffset:E,isBackward:b})},VI}function Qy(){if(zI)return NI;zI=1;var e=by(),t=Ey(),n=Ly(),r=BB(),o=my(),A=YB();function i(n,i,l){var c=i,s=e(c);(null!=s||n&&(n===c||n.firstChild===c)||("production"!==process.env.NODE_ENV?r(!1,"Unknown node in selection range."):r(!1)),n===c)&&(c=c.firstChild,o(c)||("production"!==process.env.NODE_ENV?r(!1,"Invalid DraftEditorContents node."):r(!1)),"true"!==(c=c).getAttribute("data-contents")&&("production"!==process.env.NODE_ENV?r(!1,"Invalid DraftEditorContents structure."):r(!1)),l>0&&(l=c.childNodes.length));if(0===l){var f=null;if(null!=s)f=s;else{var d=function(e){for(;e.firstChild&&(o(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||t(e.firstChild));)e=e.firstChild;return e}(c);f=A(t(d))}return{key:f,offset:0}}var C=c.childNodes[l-1],u=null,p=null;if(t(C)){var g=function(e){for(;e.lastChild&&(o(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||t(e.lastChild));)e=e.lastChild;return e}(C);u=A(t(g)),p=a(g)}else u=A(s),p=a(C);return{key:u,offset:p}}function a(e){var t=e.textContent;return"\n"===t?0:t.length}return NI=function(t,r,o,a,l,c){var s=o.nodeType===Node.TEXT_NODE,f=l.nodeType===Node.TEXT_NODE;if(s&&f)return{selectionState:n(t,A(e(o)),a,A(e(l)),c),needsRecovery:!1};var d=null,C=null,u=!0;return s?(d={key:A(e(o)),offset:a},C=i(r,l,c)):f?(C={key:A(e(l)),offset:c},d=i(r,o,a)):(d=i(r,o,a),C=i(r,l,c),o===l&&a===c&&(u=!!o.firstChild&&"BR"!==o.firstChild.nodeName)),{selectionState:n(t,d.key,d.offset,C.key,C.offset),needsRecovery:u}}}function xy(){if(OI)return PI;OI=1;var e=Qy();return PI=function(t,n){var r=n.ownerDocument.defaultView.getSelection(),o=r.anchorNode,A=r.anchorOffset,i=r.focusNode,a=r.focusOffset;return 0===r.rangeCount||null==o||null==i?{selectionState:t.getSelection().set("hasFocus",!1),needsRecovery:!1}:e(t,n,o,A,i,a)}}function Hy(){if(jI)return SI;jI=1;var e=Iy(),t=KB(),n=yy(),r=xy();return SI=function(o){if(o._blockSelectEvents||o._latestEditorState!==o.props.editorState){if(o._blockSelectEvents){var A=o.props.editorState.getSelection();e.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(A.toJS())})}}else{var i=o.props.editorState,a=r(i,n(o)),l=a.selectionState;l!==i.getSelection()&&(i=a.needsRecovery?t.forceSelection(i,l):t.acceptSelection(i,l),o.update(i))}}}function Dy(){if(TI)return FI;return TI=1,FI={notEmptyKey:function(e){return null!=e&&""!=e}},FI}function ky(){if(GI)return RI;GI=1;var e=Dy().notEmptyKey;function t(t,n){return e(n)&&"MUTABLE"===t.__get(n).getMutability()?n:null}return RI=function(e,n){var r;if(n.isCollapsed()){var o=n.getAnchorKey(),A=n.getAnchorOffset();return A>0?(r=e.getBlockForKey(o).getEntityAt(A-1))!==e.getBlockForKey(o).getEntityAt(A)?null:t(e.getEntityMap(),r):null}var i=n.getStartKey(),a=n.getStartOffset(),l=e.getBlockForKey(i);return r=a===l.getLength()?null:l.getEntityAt(a),t(e.getEntityMap(),r)},RI}function Vy(){if(YI)return XI;YI=1;var e=function(){if(vI)return wI;function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}vI=1;var t=gy(),n=by(),r=wy(),o=gB(),A=BB(),i=YB(),a=o.Map,l={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},c=t.isBrowser("IE <= 11"),s=function(){function t(t){var n=this;e(this,"observer",void 0),e(this,"container",void 0),e(this,"mutations",void 0),e(this,"onCharData",void 0),this.container=t,this.mutations=a();var o=r(t);o.MutationObserver&&!c?this.observer=new o.MutationObserver((function(e){return n.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==process.env.NODE_ENV?A(!1,"Expected target to be an instance of Node"):A(!1)),n.registerMutation({type:"characterData",target:e.target})}}var o=t.prototype;return o.start=function(){this.observer?this.observer.observe(this.container,l):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},o.stopAndFlushMutations=function(){var e=this.observer;e?(this.registerMutations(e.takeRecords()),e.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var t=this.mutations;return this.mutations=a(),t},o.registerMutations=function(e){for(var t=0;t<e.length;t++)this.registerMutation(e[t])},o.getMutationTextContent=function(e){var t=e.type,n=e.target,r=e.removedNodes;if("characterData"===t){if(""!==n.textContent)return c?n.textContent.replace("\n",""):n.textContent}else if("childList"===t){if(r&&r.length)return"";if(""!==n.textContent)return n.textContent}return null},o.registerMutation=function(e){var t=this.getMutationTextContent(e);if(null!=t){var r=i(n(e.target));this.mutations=this.mutations.set(r,t)}},t}();return wI=s}(),t=NB(),n=vy(),r=KB(),o=By(),A=gy(),i=Hy(),a=yy(),l=xy(),c=ky(),s=YB(),f=A.isBrowser("IE"),d=!1,C=!1,u=null;var p={onCompositionStart:function(t){C=!0,function(t){u||(u=new e(a(t))).start()}(t)},onCompositionEnd:function(e){d=!1,C=!1,setTimeout((function(){d||p.resolveComposition(e)}),20)},onSelect:i,onKeyDown:function(e,t){if(!C)return p.resolveComposition(e),void e._onKeyDown(t);t.which!==o.RIGHT&&t.which!==o.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===o.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!C){var o=s(u).stopAndFlushMutations();u=null,d=!0;var A=r.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),o.size){var i=A.getCurrentContent();o.forEach((function(e,o){var a=n.decode(o),l=a.blockKey,s=a.decoratorKey,f=a.leafKey,d=A.getBlockTree(l).getIn([s,"leaves",f]),C=d.start,u=d.end,p=A.getSelection().merge({anchorKey:l,focusKey:l,anchorOffset:C,focusOffset:u,isBackward:!1}),g=c(i,p),h=i.getBlockForKey(l).getInlineStyleAt(C);i=t.replaceText(i,p,e,h,g),A=r.set(A,{currentContent:i})}));var p=l(A,a(e)).selectionState;e.restoreEditorDOM();var g=f?r.forceSelection(A,p):r.acceptSelection(A,p);e.update(r.push(g,i,"insert-characters"))}else e.update(A)}}};return XI=p}function Zy(){if(KI)return UI;KI=1;var e=vd();function t(){return t=e||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t.apply(this,arguments)}var n=vy(),r=o,A=XB(),i=GB(),a=function(e){var o,a;function l(){return e.apply(this,arguments)||this}return a=e,(o=l).prototype=Object.create(a.prototype),o.prototype.constructor=o,o.__proto__=a,l.prototype.render=function(){var e=this.props,o=e.block,a=e.children,l=e.contentState,c=e.decorator,s=e.decoratorKey,f=e.direction,d=e.leafSet,C=e.text,u=o.getKey(),p=d.get("leaves"),g=c.getComponentForKey(s),h=c.getPropsForKey(s),m=n.encode(u,parseInt(s,10),0),E=C.slice(p.first().get("start"),p.last().get("end")),b=i.getHTMLDirIfDifferent(A.getDirection(E),f);return r.createElement(g,t({},h,{contentState:l,decoratedText:E,dir:b,key:m,entityKey:o.getEntityAt(d.get("start")),offsetKey:m}),a)},l}(r.Component);return UI=a}function Ny(){if(qI)return WI;function e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}qI=1;var n=o,r=gy(),A=BB(),i=my(),a=r.isBrowser("IE <= 11");var l=function(r){var o,l;function c(n){var o;return t(e(o=r.call(this,n)||this),"_forceFlag",void 0),t(e(o),"_node",void 0),o._forceFlag=!1,o}l=r,(o=c).prototype=Object.create(l.prototype),o.prototype.constructor=o,o.__proto__=l;var s=c.prototype;return s.shouldComponentUpdate=function(e){var t=this._node,n=""===e.children;i(t)||("production"!==process.env.NODE_ENV?A(!1,"node is not an Element"):A(!1));var r=t;return n?!function(e){return a?"\n"===e.textContent:"BR"===e.tagName}(r):r.textContent!==e.children},s.componentDidMount=function(){this._forceFlag=!this._forceFlag},s.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},s.render=function(){var e,t=this;return""===this.props.children?this._forceFlag?(e=function(e){return t._node=e},a?n.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):n.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return a?n.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):n.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):n.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},c}(n.Component);return WI=l}function zy(){if(_I)return JI;_I=1;var e=my();return JI=function(t){return!(!t||!t.ownerDocument)&&(e(t)&&"BR"===t.nodeName)}}function Py(){return eM?$I:(eM=1,$I={initODS:function(){},handleExtensionCausedError:function(){}})}function Oy(){if(oM)return rM;oM=1;var e=nM?tM:(nM=1,tM=function(e){var t=(e?e.ownerDocument||e:document).defaultView||window;return!(!e||!("function"==typeof t.Node?e instanceof t.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))});return rM=function(t){return e(t)&&3==t.nodeType}}function Sy(){if(iM)return AM;iM=1;var e=Oy();return AM=function t(n,r){return!(!n||!r)&&(n===r||!e(n)&&(e(r)?t(n,r.parentNode):"contains"in n?n.contains(r):!!n.compareDocumentPosition&&!!(16&n.compareDocumentPosition(r))))},AM}function jy(){if(lM)return aM;return lM=1,aM=function(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}}function Fy(){if(sM)return cM;sM=1;var e=Py(),t=Iy(),n=gy(),r=Sy(),o=jy(),A=hy(),i=BB(),a=my(),l=n.isBrowser("IE");function c(e,t){if(!e)return"[empty]";var n=s(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(a(n)||("production"!==process.env.NODE_ENV?i(!1,"Node must be an Element if it is not a text node."):i(!1)),n.outerHTML)}function s(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var r=e.textContent.length;return A(e).createTextNode("[text "+r+(n.length?" | "+n.join(", "):"")+"]")}var o=e.cloneNode();1===o.nodeType&&n.length&&o.setAttribute("data-labels",n.join(", "));for(var i=e.childNodes,a=0;a<i.length;a++)o.appendChild(s(i[a],t));return o}function f(e,t){for(var n=e,r=n;n;){if(a(n)&&r.hasAttribute("contenteditable"))return c(n,t);r=n=n.parentNode}return"Could not find contentEditable parent of node"}function d(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function C(e,n,A,i){var a=o();if(e.extend&&null!=n&&r(a,n)){A>d(n)&&t.logSelectionStateFailure({anonymizedDom:f(n),extraParams:JSON.stringify({offset:A}),selectionState:JSON.stringify(i.toJS())});var l=n===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(n,A)}catch(r){throw t.logSelectionStateFailure({anonymizedDom:f(n,(function(t){var n=[];return t===a&&n.push("active element"),t===e.anchorNode&&n.push("selection anchor node"),t===e.focusNode&&n.push("selection focus node"),n})),extraParams:JSON.stringify({activeElementName:a?a.nodeName:null,nodeIsFocus:n===e.focusNode,nodeWasFocus:l,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:r?""+r:null,offset:A},null,2),selectionState:JSON.stringify(i.toJS(),null,2)}),r}}else if(n&&e.rangeCount>0){var c=e.getRangeAt(0);c.setEnd(n,A),e.addRange(c.cloneRange())}}function u(n,r,o,i){var a=A(r).createRange();if(o>d(r)&&(t.logSelectionStateFailure({anonymizedDom:f(r),extraParams:JSON.stringify({offset:o}),selectionState:JSON.stringify(i.toJS())}),e.handleExtensionCausedError()),a.setStart(r,o),l)try{n.addRange(a)}catch(e){"production"!==process.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else n.addRange(a)}return cM={setDraftEditorSelection:function(e,t,n,o,i){var a=A(t);if(r(a.documentElement,t)){var l=a.defaultView.getSelection(),c=e.getAnchorKey(),s=e.getAnchorOffset(),f=e.getFocusKey(),d=e.getFocusOffset(),p=e.getIsBackward();if(!l.extend&&p){var g=c,h=s;c=f,s=d,f=g,d=h,p=!1}var m=c===n&&o<=s&&i>=s,E=f===n&&o<=d&&i>=d;if(m&&E)return l.removeAllRanges(),u(l,t,s-o,e),void C(l,t,d-o,e);if(p){if(E&&(l.removeAllRanges(),u(l,t,d-o,e)),m){var b=l.focusNode,w=l.focusOffset;l.removeAllRanges(),u(l,t,s-o,e),C(l,b,w,e)}}else m&&(l.removeAllRanges(),u(l,t,s-o,e)),E&&C(l,t,d-o,e)}},addFocusToSelection:C}}function Ty(){if(dM)return fM;dM=1;var e=vd();var t=Ny(),n=o,r=BB(),A=zy(),i=Fy().setDraftEditorSelection,a=function(o){var a,l;function c(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e=o.call.apply(o,[this].concat(n))||this),"leaf",void 0),e}l=o,(a=c).prototype=Object.create(l.prototype),a.prototype.constructor=a,a.__proto__=l;var s=c.prototype;return s._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,o=t.start,a=t.text,l=n.getKey(),c=o+a.length;if(e.hasEdgeWithin(l,o,c)){var s=this.leaf;s||("production"!==process.env.NODE_ENV?r(!1,"Missing node"):r(!1));var f,d=s.firstChild;d||("production"!==process.env.NODE_ENV?r(!1,"Missing child"):r(!1)),d.nodeType===Node.TEXT_NODE?f=d:A(d)?f=s:(f=d.firstChild)||("production"!==process.env.NODE_ENV?r(!1,"Missing targetNode"):r(!1)),i(e,f,l,o,c)}}},s.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==process.env.NODE_ENV?r(!1,"Missing leafNode"):r(!1)),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},s.componentDidUpdate=function(){this._setSelection()},s.componentDidMount=function(){this._setSelection()},s.render=function(){var r=this,o=this.props.block,A=this.props.text;A.endsWith("\n")&&this.props.isLast&&(A+="\n");var i=this.props,a=i.customStyleMap,l=i.customStyleFn,c=i.offsetKey,s=i.styleSet,f=s.reduce((function(t,n){var r={},o=a[n];return void 0!==o&&t.textDecoration!==o.textDecoration&&(r.textDecoration=[t.textDecoration,o.textDecoration].join(" ").trim()),e(t,o,r)}),{});if(l){var d=l(s,o);f=e(f,d)}return n.createElement("span",{"data-offset-key":c,ref:function(e){return r.leaf=e},style:f},n.createElement(t,null,A))},c}(n.Component);return fM=a}function Ry(){if(uM)return CM;uM=1;var e=Zy(),t=Ty(),n=vy(),r=gB(),A=o,i=JB();r.List;var a=function(r){var o,a;function l(){return r.apply(this,arguments)||this}return a=r,(o=l).prototype=Object.create(a.prototype),o.prototype.constructor=o,o.__proto__=a,l.prototype.render=function(){var r=this.props,o=r.block,a=r.contentState,l=r.customStyleFn,c=r.customStyleMap,s=r.decorator,f=r.direction,d=r.forceSelection,C=r.hasSelection,u=r.selection,p=r.tree,g=o.getKey(),h=o.getText(),m=p.size-1,E=this.props.children||p.map((function(r,i){var p=r.get("decoratorKey"),E=r.get("leaves"),b=E.size-1,w=E.map((function(e,r){var a=n.encode(g,i,r),s=e.get("start"),f=e.get("end");return A.createElement(t,{key:a,offsetKey:a,block:o,start:s,selection:C?u:null,forceSelection:d,text:h.slice(s,f),styleSet:o.getInlineStyleAt(s),customStyleMap:c,customStyleFn:l,isLast:p===m&&r===b})})).toArray();return p&&s?A.createElement(e,{block:o,children:w,contentState:a,decorator:s,decoratorKey:p,direction:f,leafSet:r,text:h,key:i}):w})).toArray();return A.createElement("div",{"data-offset-key":n.encode(g,0,0),className:i({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===f,"public/DraftStyleDefault/rtl":"RTL"===f})},E)},l}(A.Component);return CM=a}function Gy(){if(gM)return pM;function e(e,t){return!!t&&(e===t.documentElement||e===t.body)}return gM=1,pM={getTop:function(t){var n=t.ownerDocument;return e(t,n)?n.body.scrollTop||n.documentElement.scrollTop:t.scrollTop},setTop:function(t,n){var r=t.ownerDocument;e(t,r)?r.body.scrollTop=r.documentElement.scrollTop=n:t.scrollTop=n},getLeft:function(t){var n=t.ownerDocument;return e(t,n)?n.body.scrollLeft||n.documentElement.scrollLeft:t.scrollLeft},setLeft:function(t,n){var r=t.ownerDocument;e(t,r)?r.body.scrollLeft=r.documentElement.scrollLeft=n:t.scrollLeft=n}}}function Xy(){if(vM)return wM;vM=1;var e=function(){if(mM)return hM;mM=1;var e=/-(.)/g;return hM=function(t){return t.replace(e,(function(e,t){return t.toUpperCase()}))}}(),t=function(){if(bM)return EM;bM=1;var e=/([A-Z])/g;return EM=function(t){return t.replace(e,"-$1").toLowerCase()}}();function n(e){return null==e?e:String(e)}return wM=function(r,o){var A;if(window.getComputedStyle&&(A=window.getComputedStyle(r,null)))return n(A.getPropertyValue(t(o)));if(document.defaultView&&document.defaultView.getComputedStyle){if(A=document.defaultView.getComputedStyle(r,null))return n(A.getPropertyValue(t(o)));if("display"===o)return"none"}return r.currentStyle?n("float"===o?r.currentStyle.cssFloat||r.currentStyle.styleFloat:r.currentStyle[e(o)]):n(r.style&&r.style[e(o)])}}function Yy(){if(IM)return BM;function e(e,n){var r=t.get(e,n);return"auto"===r||"scroll"===r}IM=1;var t={get:Xy(),getScrollParent:function(t){if(!t)return null;for(var n=t.ownerDocument;t&&t!==n.body;){if(e(t,"overflow")||e(t,"overflowY")||e(t,"overflowX"))return t;t=t.parentNode}return n.defaultView||n.parentWindow}};return BM=t}function Uy(){if(QM)return LM;QM=1;var e=function(){if(yM)return MM;yM=1;var e=Sy();return MM=function(t){var n=t.ownerDocument.documentElement;if(!("getBoundingClientRect"in t)||!e(n,t))return{left:0,right:0,top:0,bottom:0};var r=t.getBoundingClientRect();return{left:Math.round(r.left)-n.clientLeft,right:Math.round(r.right)-n.clientLeft,top:Math.round(r.top)-n.clientTop,bottom:Math.round(r.bottom)-n.clientTop}}}();return LM=function(t){var n=e(t);return{x:n.left,y:n.top,width:n.right-n.left,height:n.bottom-n.top}}}function Ky(){if(ZM)return VM;ZM=1;var e=function(){if(HM)return xM;HM=1;var e="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;return xM=function(t){return(t=t||document).scrollingElement?t.scrollingElement:e||"CSS1Compat"!==t.compatMode?t.body:t.documentElement}}(),t=kM?DM:(kM=1,DM=function(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}});return VM=function(n){var r=e(n.ownerDocument||n.document);n.Window&&n instanceof n.Window&&(n=r);var o=t(n),A=n===r?n.ownerDocument.documentElement:n,i=n.scrollWidth-A.clientWidth,a=n.scrollHeight-A.clientHeight;return o.x=Math.max(0,Math.min(o.x,i)),o.y=Math.max(0,Math.min(o.y,a)),o}}function Wy(){if(zM)return NM;function e(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function t(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function n(){return{width:window.innerWidth||e(),height:window.innerHeight||t()}}return zM=1,n.withoutScrollbars=function(){return{width:e(),height:t()}},NM=n}function qy(){if(OM)return PM;OM=1;var e=vd();function t(){return t=e||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t.apply(this,arguments)}function n(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var A=Ry(),i=vy(),a=o,l=Gy(),c=Yy(),s=Uy(),f=Ky(),d=Wy(),C=gB(),u=BB(),p=My();C.List;var g=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},h=function(e,t){var n=t.get(e.getType())||t.get("unstyled"),r=n.wrapper;return{Element:n.element||t.get("unstyled").element,wrapperTemplate:r}},m=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},E=function(e,t,r,o,A,i){var a={"data-block":!0,"data-editor":t,"data-offset-key":r,key:e.getKey(),ref:i},l=o(e);return l&&(a.className=l),void 0!==A.customEditable&&(a=n({},a,{contentEditable:A.customEditable,suppressContentEditableWarning:!0})),a},b=function(e){var o,C;function b(){for(var t,n=arguments.length,o=new Array(n),A=0;A<n;A++)o[A]=arguments[A];return r(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t=e.call.apply(e,[this].concat(o))||this),"wrapperRef",a.createRef()),t}C=e,(o=b).prototype=Object.create(C.prototype),o.prototype.constructor=o,o.__proto__=C;var w=b.prototype;return w.shouldComponentUpdate=function(e){var t=this.props,n=t.block,r=t.direction,o=t.tree,A=!n.getChildKeys().isEmpty(),i=n!==e.block||o!==e.tree||r!==e.direction||g(e.selection,e.block.getKey())&&e.forceSelection;return A||i},w.componentDidMount=function(){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this.wrapperRef.current;if(n){var r,o=c.getScrollParent(n),A=f(o);if(o===window){var i=s(n);(r=i.y+i.height-d().height)>0&&window.scrollTo(A.x,A.y+r+10)}else{p(n)||("production"!==process.env.NODE_ENV?u(!1,"blockNode is not an HTMLElement"):u(!1));var a=n;(r=a.offsetHeight+a.offsetTop-(o.offsetHeight+A.y))>0&&l.setTop(o,l.getTop(o)+r+10)}}}},w.render=function(){var e=this,r=this.props,o=r.block,l=r.blockRenderMap,c=r.blockRendererFn,s=r.blockStyleFn,f=r.contentState,d=r.decorator,C=r.editorKey,u=r.editorState,p=r.customStyleFn,w=r.customStyleMap,v=r.direction,B=r.forceSelection,I=r.selection,M=r.tree,y=null;o.children.size&&(y=o.children.reduce((function(t,r){var o=i.encode(r,0,0),A=f.getBlockForKey(r),d=m(A,c),p=d.CustomComponent||b,g=h(A,l),w=g.Element,v=g.wrapperTemplate,B=E(A,C,o,s,d,null),I=n({},e.props,{tree:u.getBlockTree(r),blockProps:d.customProps,offsetKey:o,block:A});return t.push(a.createElement(w,B,a.createElement(p,I))),!v||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(A,f)||function(e,t,n){var r=[],o=!0,A=!1,l=void 0;try{for(var c,s=n.reverse()[Symbol.iterator]();!(o=(c=s.next()).done);o=!0){var f=c.value;if(f.type!==t)break;r.push(f)}}catch(e){A=!0,l=e}finally{try{o||null==s.return||s.return()}finally{if(A)throw l}}n.splice(n.indexOf(r[0]),r.length+1);var d=r.reverse(),C=d[0].key;n.push(a.cloneElement(e,{key:"".concat(C,"-wrap"),"data-offset-key":i.encode(C,0,0)},d))}(v,w,t),t}),[]));var L=o.getKey(),Q=i.encode(L,0,0),x=m(o,c),H=x.CustomComponent,D=null!=H?a.createElement(H,t({},this.props,{tree:u.getBlockTree(L),blockProps:x.customProps,offsetKey:Q,block:o})):a.createElement(A,{block:o,children:y,contentState:f,customStyleFn:p,customStyleMap:w,decorator:d,direction:v,forceSelection:B,hasSelection:g(I,L),selection:I,tree:M});if(o.getParentKey())return D;var k=h(o,l).Element,V=E(o,C,Q,s,x,this.wrapperRef);return a.createElement(k,V,D)},b}(a.Component);return PM=b}function Jy(){if(jM)return SM;jM=1;var e=vd();function t(){return t=e||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t.apply(this,arguments)}var n=qy(),r=vy(),A=o,i=YB(),a=function(e){var o,a;function l(){return e.apply(this,arguments)||this}a=e,(o=l).prototype=Object.create(a.prototype),o.prototype.constructor=o,o.__proto__=a;var c=l.prototype;return c.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),o=t.isInCompositionMode(),A=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||o&&A)return!1;var i=t.getCurrentContent(),a=n.getCurrentContent(),l=t.getDecorator(),c=n.getDecorator();return o!==A||i!==a||l!==c||n.mustForceSelection()},c.render=function(){for(var e=this.props,o=e.blockRenderMap,a=e.blockRendererFn,l=e.blockStyleFn,c=e.customStyleMap,s=e.customStyleFn,f=e.editorState,d=e.editorKey,C=e.textDirectionality,u=f.getCurrentContent(),p=f.getSelection(),g=f.mustForceSelection(),h=f.getDecorator(),m=i(f.getDirectionMap()),E=[],b=u.getBlocksAsArray()[0];b;){var w=b.getKey(),v={blockRenderMap:o,blockRendererFn:a,blockStyleFn:l,contentState:u,customStyleFn:s,customStyleMap:c,decorator:h,editorKey:d,editorState:f,forceSelection:g,selection:p,block:b,direction:C||m.get(w),tree:f.getBlockTree(w)},B=(o.get(b.getType())||o.get("unstyled")).wrapper;E.push({block:A.createElement(n,t({key:w},v)),wrapperTemplate:B,key:w,offsetKey:r.encode(w,0,0)});var I=b.getNextSiblingKey();b=I?u.getBlockForKey(I):null}for(var M=[],y=0;y<E.length;){var L=E[y];if(L.wrapperTemplate){var Q=[];do{Q.push(E[y].block),y++}while(y<E.length&&E[y].wrapperTemplate===L.wrapperTemplate);var x=A.cloneElement(L.wrapperTemplate,{key:L.key+"-wrap","data-offset-key":L.offsetKey},Q);M.push(x)}else M.push(L.block),y++}return A.createElement("div",{"data-contents":"true"},M)},l}(A.Component);return SM=a}function _y(){if(TM)return FM;TM=1;var e=vd();function t(){return t=e||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t.apply(this,arguments)}var n=Ty(),r=vy(),A=o,i=Gy(),a=Yy(),l=XB(),c=GB(),s=JB(),f=Uy(),d=Ky(),C=Wy(),u=BB(),p=My(),g=YB(),h=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},m=function(e){var o,m;function E(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t=e.call.apply(e,[this].concat(r))||this),"_node",void 0),t}m=e,(o=E).prototype=Object.create(m.prototype),o.prototype.constructor=o,o.__proto__=m;var b=E.prototype;return b.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||h(e.selection,e.block.getKey())&&e.forceSelection},b.componentDidMount=function(){if(!this.props.preventScroll){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this._node;if(null!=n){var r,o=a.getScrollParent(n),A=d(o);if(o===window){var l=f(n);(r=l.y+l.height-C().height)>0&&window.scrollTo(A.x,A.y+r+10)}else{p(n)||("production"!==process.env.NODE_ENV?u(!1,"blockNode is not an HTMLElement"):u(!1)),(r=n.offsetHeight+n.offsetTop-(o.offsetTop+o.offsetHeight+A.y))>0&&i.setTop(o,i.getTop(o)+r+10)}}}}},b._renderChildren=function(){var e=this,o=this.props.block,i=o.getKey(),a=o.getText(),s=this.props.tree.size-1,f=h(this.props.selection,i);return this.props.tree.map((function(d,C){var u=d.get("leaves");if(0===u.size)return null;var p=u.size-1,h=u.map((function(t,l){var c=r.encode(i,C,l),d=t.get("start"),u=t.get("end");return A.createElement(n,{key:c,offsetKey:c,block:o,start:d,selection:f?e.props.selection:null,forceSelection:e.props.forceSelection,text:a.slice(d,u),styleSet:o.getInlineStyleAt(d),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:C===s&&l===p})})).toArray(),m=d.get("decoratorKey");if(null==m)return h;if(!e.props.decorator)return h;var E=g(e.props.decorator),b=E.getComponentForKey(m);if(!b)return h;var w=E.getPropsForKey(m),v=r.encode(i,C,0),B=u.first().get("start"),I=u.last().get("end"),M=a.slice(B,I),y=o.getEntityAt(d.get("start")),L=c.getHTMLDirIfDifferent(l.getDirection(M),e.props.direction),Q={contentState:e.props.contentState,decoratedText:M,dir:L,start:B,end:I,blockKey:i,entityKey:y,offsetKey:v};return A.createElement(b,t({},w,Q,{key:v}),h)})).toArray()},b.render=function(){var e=this,t=this.props,n=t.direction,r=t.offsetKey,o=s({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return A.createElement("div",{"data-offset-key":r,className:o,ref:function(t){return e._node=t}},this._renderChildren())},E}(A.Component);return FM=m}function $y(){if(YM)return XM;YM=1;var e=vd();function t(){return t=e||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t.apply(this,arguments)}function n(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var A=_y(),i=vy(),a=o,l=JB(),c=(GM||(GM=1,RM=function(e){var t=e||"",n=arguments.length;if(n>1)for(var r=1;r<n;r++){var o=arguments[r];o&&(t=(t?t+" ":"")+o)}return t}),RM),s=YB(),f=function(e,t,n,r){return l({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===e,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===e,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===t,"public/DraftStyleDefault/depth1":1===t,"public/DraftStyleDefault/depth2":2===t,"public/DraftStyleDefault/depth3":3===t,"public/DraftStyleDefault/depth4":t>=4,"public/DraftStyleDefault/listLTR":"LTR"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})},d=function(e){var r,o;function l(){return e.apply(this,arguments)||this}o=e,(r=l).prototype=Object.create(o.prototype),r.prototype.constructor=r,r.__proto__=o;var d=l.prototype;return d.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),o=t.isInCompositionMode(),A=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||o&&A)return!1;var i=t.getCurrentContent(),a=n.getCurrentContent(),l=t.getDecorator(),c=n.getDecorator();return o!==A||i!==a||l!==c||n.mustForceSelection()},d.render=function(){for(var e=this.props,r=e.blockRenderMap,o=e.blockRendererFn,l=e.blockStyleFn,d=e.customStyleMap,C=e.customStyleFn,u=e.editorState,p=e.editorKey,g=e.preventScroll,h=e.textDirectionality,m=u.getCurrentContent(),E=u.getSelection(),b=u.mustForceSelection(),w=u.getDecorator(),v=s(u.getDirectionMap()),B=m.getBlocksAsArray(),I=[],M=null,y=null,L=0;L<B.length;L++){var Q=B[L],x=Q.getKey(),H=Q.getType(),D=o(Q),k=void 0,V=void 0,Z=void 0;D&&(k=D.component,V=D.props,Z=D.editable);var N=h||v.get(x),z=i.encode(x,0,0),P={contentState:m,block:Q,blockProps:V,blockStyleFn:l,customStyleMap:d,customStyleFn:C,decorator:w,direction:N,forceSelection:b,offsetKey:z,preventScroll:g,selection:E,tree:u.getBlockTree(x)},O=r.get(H)||r.get("unstyled"),S=O.wrapper,j=O.element||r.get("unstyled").element,F=Q.getDepth(),T="";if(l&&(T=l(Q)),"li"===j)T=c(T,f(H,F,y!==S||null===M||F>M,N));var R=k||A,G={className:T,"data-block":!0,"data-editor":p,"data-offset-key":z,key:x};void 0!==Z&&(G=n({},G,{contentEditable:Z,suppressContentEditableWarning:!0}));var X=a.createElement(j,G,a.createElement(R,t({},P,{key:x})));I.push({block:X,wrapperTemplate:S,key:x,offsetKey:z}),M=S?Q.getDepth():null,y=S}for(var Y=[],U=0;U<I.length;){var K=I[U];if(K.wrapperTemplate){var W=[];do{W.push(I[U].block),U++}while(U<I.length&&I[U].wrapperTemplate===K.wrapperTemplate);var q=a.cloneElement(K.wrapperTemplate,{key:K.key+"-wrap","data-offset-key":K.offsetKey},W);Y.push(q)}else Y.push(K.block),U++}return a.createElement("div",{"data-contents":"true"},Y)},l}(a.Component);return XM=d}function eL(){if(_M)return JM;_M=1;var e=BB();return JM=function(t){return function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}(t)?Array.isArray(t)?t.slice():function(t){var n=t.length;if((Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t)&&("production"!==process.env.NODE_ENV?e(!1,"toArray: Array-like object expected"):e(!1)),"number"!=typeof n&&("production"!==process.env.NODE_ENV?e(!1,"toArray: Object needs a length property"):e(!1)),0===n||n-1 in t||("production"!==process.env.NODE_ENV?e(!1,"toArray: Object should have keys for indices"):e(!1)),"function"==typeof t.callee&&("production"!==process.env.NODE_ENV?e(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):e(!1)),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(e){}for(var r=Array(n),o=0;o<n;o++)r[o]=t[o];return r}(t):[t]}}function tL(){if(ey)return $M;function e(e){return function(){return e}}ey=1;var t=function(){};return t.thatReturns=e,t.thatReturnsFalse=e(!1),t.thatReturnsTrue=e(!0),t.thatReturnsNull=e(null),t.thatReturnsThis=function(){return this},t.thatReturnsArgument=function(e){return e},$M=t}function nL(){if(ny)return ty;ny=1;var e=function(){if(qM)return WM;qM=1;var e={isImage:function(e){return"image"===t(e)[0]},isJpeg:function(n){var r=t(n);return e.isImage(n)&&("jpeg"===r[1]||"pjpeg"===r[1])}};function t(e){return e.split("/")}return WM=e}(),t=eL(),n=tL(),r=new RegExp("\r\n","g"),o={"text/rtf":1,"text/html":1};function A(e){if("file"==e.kind)return e.getAsFile()}var i=function(){function i(e){this.data=e,this.types=e.types?t(e.types):[]}var a=i.prototype;return a.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return o[e]}))},a.getText=function(){var e;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(e=this.data.getData("text/plain")):e=this.data.getData("Text")),e?e.replace(r,"\n"):null},a.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},a.isLink=function(){return this.types.some((function(e){return-1!=e.indexOf("Url")||-1!=e.indexOf("text/uri-list")||e.indexOf("text/x-moz-url")}))},a.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},a.isImage=function(){var t=this.types.some((function(e){return-1!=e.indexOf("application/x-moz-file")}));if(t)return!0;for(var n=this.getFiles(),r=0;r<n.length;r++){var o=n[r].type;if(!e.isImage(o))return!1}return!0},a.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},a.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(A).filter(n.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},a.hasFiles=function(){return this.getFiles().length>0},i}();return ty=i}function rL(){if(oy)return ry;oy=1;var e=BB(),t=/\.textClipping$/,n={"text/plain":!0,"text/html":!0,"text/rtf":!0};return ry=function(r,o){var A=0,i=[];r.forEach((function(a){!function(r,o){if(!L.FileReader||r.type&&!(r.type in n))return void o("");if(""===r.type){var A="";return t.test(r.name)&&(A=r.name.replace(t,"")),void o(A)}var i=new FileReader;i.onload=function(){var t=i.result;"string"!=typeof t&&("production"!==process.env.NODE_ENV?e(!1,'We should be calling "FileReader.readAsText" which returns a string'):e(!1)),o(t)},i.onerror=function(){o("")},i.readAsText(r)}(a,(function(e){A++,e&&i.push(e.slice(0,5e3)),A==r.length&&o(i.join("\r"))}))}))}}function oL(){if(iy)return Ay;return iy=1,Ay=function(e){return"handled"===e||!0===e}}function AL(){if(ly)return ay;ly=1;var e=nL(),t=NB(),n=KB(),r=by(),o=hy(),A=rL(),i=Ly(),a=wy(),l=oL(),c=YB();var s={onDragEnd:function(e){e.exitCurrentMode(),f(e)},onDrop:function(a,s){var C=new e(s.nativeEvent.dataTransfer),u=a._latestEditorState,p=function(e,t){var n=null,A=null,a=o(e.currentTarget);if("function"==typeof a.caretRangeFromPoint){var l=a.caretRangeFromPoint(e.x,e.y);n=l.startContainer,A=l.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,A=e.rangeOffset}n=c(n),A=c(A);var s=c(r(n));return i(t,s,A,s,A)}(s.nativeEvent,u);if(s.preventDefault(),a._dragCount=0,a.exitCurrentMode(),null!=p){var g=C.getFiles();if(g.length>0){if(a.props.handleDroppedFiles&&l(a.props.handleDroppedFiles(p,g)))return;A(g,(function(e){e&&a.update(d(u,p,e))}))}else{var h=a._internalDrag?"internal":"external";a.props.handleDrop&&l(a.props.handleDrop(p,C,h))||(a._internalDrag?a.update(function(e,r){var o=t.moveText(e.getCurrentContent(),e.getSelection(),r);return n.push(e,o,"insert-fragment")}(u,p)):a.update(d(u,p,C.getText()))),f(a)}}}};function f(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:a(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function d(e,r,o){var A=t.insertText(e.getCurrentContent(),r,o,e.getCurrentInlineStyle());return n.push(e,A,"insert-fragment")}return ay=s}var iL,aL,lL,cL,sL,fL,dL,CL,uL,pL,gL,hL,mL,EL,bL,wL,vL,BL,IL,ML,yL,LL,QL,xL,HL,DL,kL,VL,ZL,NL,zL,PL,OL,SL,jL,FL,TL,RL,GL,XL,YL,UL,KL,WL,qL,JL,_L,$L,eQ,tQ,nQ,rQ,oQ,AQ,iQ,aQ,lQ,cQ,sQ,fQ,dQ,CQ,uQ,pQ,gQ,hQ,mQ,EQ,bQ,wQ,vQ,BQ,IQ,MQ,yQ,LQ,QQ,xQ,HQ,DQ,kQ,VQ,ZQ,NQ,zQ,PQ,OQ,SQ,jQ,FQ,TQ,RQ,GQ,XQ,YQ,UQ,KQ,WQ,qQ,JQ,_Q,$Q={};function ex(){return lL?aL:(lL=1,iL||(iL=1,function(e){if(!e.setImmediate){var t,n,r,o,A=1,i={},a=!1,l=e.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(e);c=c&&c.setTimeout?c:e,"[object process]"==={}.toString.call(e.process)?t=function(e){process.nextTick((function(){f(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(r="setImmediate$"+Math.random()+"$",o=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(r)&&f(+t.data.slice(r.length))},e.addEventListener?e.addEventListener("message",o,!1):e.attachEvent("onmessage",o),t=function(t){e.postMessage(r+t,"*")}):e.MessageChannel?((n=new MessageChannel).port1.onmessage=function(e){f(e.data)},t=function(e){n.port2.postMessage(e)}):l&&"onreadystatechange"in l.createElement("script")?function(){var e=l.documentElement;t=function(t){var n=l.createElement("script");n.onreadystatechange=function(){f(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():t=function(e){setTimeout(f,0,e)},c.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var n=new Array(arguments.length-1),r=0;r<n.length;r++)n[r]=arguments[r+1];var o={callback:e,args:n};return i[A]=o,t(A),A++},c.clearImmediate=s}function s(e){delete i[e]}function f(e){if(a)setTimeout(f,0,e);else{var t=i[e];if(t){a=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{s(e),a=!1}}}}}("undefined"==typeof self?void 0===L?$Q:L:self)),aL=L.setImmediate)}function tx(){if(sL)return cL;sL=1;var e=NB(),t=KB(),n=gy(),r=ky(),o=oL(),A=sy?cy:(sy=1,cy=function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=e.getBlockTree(n),o=t.getStartOffset(),A=!1;return r.some((function(e){return o===e.get("start")?(A=!0,!0):o<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return o===t&&(A=!0,!0)}))})),A}),i=YB(),a=ex(),l=n.isBrowser("Firefox");function c(n,r,o,A,i){var a=e.replaceText(n.getCurrentContent(),n.getSelection(),r,o,A);return t.push(n,a,"insert-characters",i)}return cL=function(e,n){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var s=e._latestEditorState,f=n.data;if(f)if(e.props.handleBeforeInput&&o(e.props.handleBeforeInput(f,s,n.timeStamp)))n.preventDefault();else{var d=s.getSelection(),C=d.getStartOffset(),u=d.getAnchorKey();if(!d.isCollapsed())return n.preventDefault(),void e.update(c(s,f,s.getCurrentInlineStyle(),r(s.getCurrentContent(),s.getSelection()),!0));var p,g=c(s,f,s.getCurrentInlineStyle(),r(s.getCurrentContent(),s.getSelection()),!1),h=!1;if(h||(h=A(e._latestCommittedEditorState)),!h){var m=s.getBlockTree(u),E=g.getBlockTree(u);h=m.size!==E.size||m.zip(E).some((function(e){var t=e[0],n=e[1],r=t.get("start"),o=r+(r>=C?f.length:0),A=t.get("end"),i=A+(A>=C?f.length:0),a=n.get("start"),l=n.get("end"),c=n.get("decoratorKey");return t.get("decoratorKey")!==c||t.get("leaves").size!==n.get("leaves").size||o!==a||i!==l||null!=c&&l-a!=A-r}))}if(h||(p=f,h=l&&("'"==p||"/"==p)),h||(h=i(g.getDirectionMap()).get(u)!==i(s.getDirectionMap()).get(u)),h)return n.preventDefault(),g=t.set(g,{forceSelection:!0}),void e.update(g);g=t.set(g,{nativelyRenderedContent:g.getCurrentContent()}),e._pendingStateFromBeforeInput=g,a((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},cL}function nx(){if(gL)return pL;gL=1;var e=QB();return pL=function(t){var n=t.getSelection();return n.isCollapsed()?null:e(t.getCurrentContent(),n)}}function rx(){if(vL)return wL;vL=1;var e=NB(),t=KB(),n=Yy(),r=nx(),o=Ky(),A=bL?EL:(bL=1,EL=function(e){if(!e||!("ownerDocument"in e))return!1;if("ownerDocument"in e){var t=e;if(!t.ownerDocument.defaultView)return t instanceof Node;if(t instanceof t.ownerDocument.defaultView.Node)return!0}return!1});return wL=function(i,a){var l,c=i._latestEditorState,s=c.getSelection(),f=a.target;if(s.isCollapsed())a.preventDefault();else{if(A(f)){var d=f;l=o(n.getScrollParent(d))}var C=r(c);i.setClipboard(C),i.setMode("cut"),setTimeout((function(){i.restoreEditorDOM(l),i.exitCurrentMode(),i.update(function(n){var r=e.removeRange(n.getCurrentContent(),n.getSelection(),"forward");return t.push(n,r,"remove-range")}(c))}),0)}},wL}function ox(){if(HL)return xL;HL=1;var e=BB(),t=/[\uD800-\uDFFF]/;function n(e){return 55296<=e&&e<=57343}function r(e){return t.test(e)}function o(e,t){return 1+n(e.charCodeAt(t))}function A(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!r(e))return e.substr(t,n);var A=e.length;if(A<=0||t>A||n<=0)return"";var i=0;if(t>0){for(;t>0&&i<A;t--)i+=o(e,i);if(i>=A)return""}else if(t<0){for(i=A;t<0&&0<i;t++)i-=o(e,i-1);i<0&&(i=0)}var a=A;if(n<A)for(a=i;n>0&&a<A;n--)a+=o(e,a);return e.substring(i,a)}var i={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=o(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:o,hasSurrogateUnit:r,isCodeUnitInSurrogateRange:n,isSurrogatePair:function(t,n){if(0<=n&&n<t.length||("production"!==process.env.NODE_ENV?e(!1,"isSurrogatePair: Invalid index %s for string length %s.",n,t.length):e(!1)),n+1===t.length)return!1;var r=t.charCodeAt(n),o=t.charCodeAt(n+1);return 55296<=r&&r<=56319&&56320<=o&&o<=57343},strlen:function(e){if(!r(e))return e.length;for(var t=0,n=0;n<e.length;n+=o(e,n))t++;return t},substring:function(e,t,n){(t=t||0)<0&&(t=0),(n=void 0===n?1/0:n||0)<0&&(n=0);var r=Math.abs(n-t);return A(e,t=t<n?t:n,r)},substr:A};return xL=i}function Ax(){if(kL)return DL;kL=1;var e=tL();function t(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,A="Warning: "+e.replace(/%s/g,(function(){return n[o++]}));"undefined"!=typeof console&&console.error(A);try{throw new Error(A)}catch(e){}}var n="production"!==process.env.NODE_ENV?function(e,n){if(void 0===n)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!e){for(var r=arguments.length,o=new Array(r>2?r-2:0),A=2;A<r;A++)o[A-2]=arguments[A];t.apply(void 0,[n].concat(o))}}:e;return DL=n}function ix(){if(ZL)return VL;ZL=1;var e=Ax();return VL=function(t,n){var r=t.getSelection();"production"!==process.env.NODE_ENV&&e(r.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");var o=t.getCurrentContent(),A=r.getStartKey(),i=r.getStartOffset(),a=A,l=0;if(n>i){var c=o.getKeyBefore(A);if(null==c)a=A;else a=c,l=o.getBlockForKey(c).getText().length}else l=i-n;return r.merge({focusKey:a,focusOffset:l,isBackward:!0})},VL}function ax(){if(zL)return NL;zL=1;var e=NB(),t=FB()("draft_tree_data_support");return NL=function(n,r,o){var A=n.getSelection(),i=n.getCurrentContent(),a=A,l=A.getAnchorKey(),c=A.getFocusKey(),s=i.getBlockForKey(l);if(t&&"forward"===o&&l!==c)return i;if(A.isCollapsed()){if("forward"===o){if(n.isSelectionAtEndOfContent())return i;if(t)if(A.getAnchorOffset()===i.getBlockForKey(l).getLength()){var f=i.getBlockForKey(s.nextSibling);if(!f||0===f.getLength())return i}}else if(n.isSelectionAtStartOfContent())return i;if((a=r(n))===A)return i}return e.removeRange(i,a,o)}}function lx(){if(OL)return PL;OL=1;var e=KB(),t=ox(),n=ix(),r=ax();return PL=function(o){var A=r(o,(function(e){var r=e.getSelection(),o=e.getCurrentContent(),A=r.getAnchorKey(),i=r.getAnchorOffset(),a=o.getBlockForKey(A).getText()[i-1];return n(e,a?t.getUTF16Length(a,0):1)}),"backward");if(A===o.getCurrentContent())return o;var i=o.getSelection();return e.push(o,A.set("selectionBefore",i),i.isCollapsed()?"backspace-character":"remove-range")},PL}function cx(){if(jL)return SL;jL=1;var e=NB(),t=vy(),n=KB(),r=gy(),o=Dy().notEmptyKey,A=by(),i=lx(),a=YB(),l=r.isEngine("Gecko");return SL=function(r,c){void 0!==r._pendingStateFromBeforeInput&&(r.update(r._pendingStateFromBeforeInput),r._pendingStateFromBeforeInput=void 0);var s=r.editor.ownerDocument.defaultView.getSelection(),f=s.anchorNode,d=s.isCollapsed,C=(null==f?void 0:f.nodeType)!==Node.TEXT_NODE&&(null==f?void 0:f.nodeType)!==Node.ELEMENT_NODE;if(null!=f&&!C){if(f.nodeType===Node.TEXT_NODE&&(null!==f.previousSibling||null!==f.nextSibling)){var u=f.parentNode;if(null==u)return;f.nodeValue=u.textContent;for(var p=u.firstChild;null!=p;p=p.nextSibling)p!==f&&u.removeChild(p)}var g=f.textContent,h=r._latestEditorState,m=a(A(f)),E=t.decode(m),b=E.blockKey,w=E.decoratorKey,v=E.leafKey,B=h.getBlockTree(b).getIn([w,"leaves",v]),I=B.start,M=B.end,y=h.getCurrentContent(),L=y.getBlockForKey(b),Q=L.getText().slice(I,M);if(g.endsWith("\n\n")&&(g=g.slice(0,-1)),g!==Q){var x,H,D,k,V=h.getSelection(),Z=V.merge({anchorOffset:I,focusOffset:M,isBackward:!1}),N=L.getEntityAt(I),z=o(N)?y.getEntity(N):null,P="MUTABLE"===(null!=z?z.getMutability():null),O=P?"spellcheck-change":"apply-entity",S=e.replaceText(y,Z,g,L.getInlineStyleAt(I),P?L.getEntityAt(I):null);if(l)x=s.anchorOffset,H=s.focusOffset,k=(D=I+Math.min(x,H))+Math.abs(x-H),x=D,H=k;else{var j=g.length-Q.length;D=V.getStartOffset(),k=V.getEndOffset(),x=d?k+j:D,H=k+j}var F=S.merge({selectionBefore:y.getSelectionAfter(),selectionAfter:V.merge({anchorOffset:x,focusOffset:H})});r.update(n.push(h,F,O))}else{var T=c.nativeEvent.inputType;if(T){var R=function(e,t){return"deleteContentBackward"===e?i(t):t}(T,h);if(R!==h)return r.restoreEditorDOM(),void r.update(R)}}}},SL}function sx(){if(GL)return RL;GL=1;var e=gy(),t=function(){if(TL)return FL;TL=1;var e=By();return FL=function(t){return t.which===e.RETURN&&(t.getModifierState("Shift")||t.getModifierState("Alt")||t.getModifierState("Control"))},FL}(),n=e.isPlatform("Mac OS X"),r={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return n&&e.altKey},usesMacOSHeuristics:function(){return n},hasCommandModifier:function(e){return n?!!e.metaKey&&!e.altKey:r.isCtrlKeyCommand(e)},isSoftNewlineEvent:t};return RL=r}function fx(){if(KL)return UL;KL=1;var e=gy(),t=BB();var n=e.isBrowser("Chrome")?function(e){for(var n=e.cloneRange(),r=[],o=e.endContainer;null!=o;o=o.parentNode){var A=o===e.commonAncestorContainer;A?n.setStart(e.startContainer,e.startOffset):n.setStart(n.endContainer,0);var i,a=Array.from(n.getClientRects());if(r.push(a),A)return r.reverse(),(i=[]).concat.apply(i,r);n.setEndBefore(o)}"production"!==process.env.NODE_ENV?t(!1,"Found an unexpected detached subtree when getting range client rects."):t(!1)}:function(e){return Array.from(e.getClientRects())};return UL=n}function dx(){if(qL)return WL;qL=1;var e=ox(),t=hy(),n=fx(),r=BB();function o(e,t){for(var n=1/0,r=1/0,o=-1/0,A=-1/0,i=0;i<e.length;i++){var a=e[i];0!==a.width&&1!==a.width&&(n=Math.min(n,a.top),r=Math.min(r,a.bottom),o=Math.max(o,a.top),A=Math.max(A,a.bottom))}return o<=r&&o-n<t&&A-r<t}function A(e){switch(e.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return e.length;default:return e.childNodes.length}}return WL=function(i){i.collapsed||("production"!==process.env.NODE_ENV?r(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):r(!1));var a=(i=i.cloneRange()).startContainer;1!==a.nodeType&&(a=a.parentNode);var l=function(e){var n=getComputedStyle(e),o=t(e),A=o.createElement("div");A.style.fontFamily=n.fontFamily,A.style.fontSize=n.fontSize,A.style.fontStyle=n.fontStyle,A.style.fontWeight=n.fontWeight,A.style.lineHeight=n.lineHeight,A.style.position="absolute",A.textContent="M";var i=o.body;i||("production"!==process.env.NODE_ENV?r(!1,"Missing document.body"):r(!1)),i.appendChild(A);var a=A.getBoundingClientRect();return i.removeChild(A),a.height}(a),c=i.endContainer,s=i.endOffset;for(i.setStart(i.startContainer,0);o(n(i),l)&&(c=i.startContainer,s=i.startOffset,c.parentNode||("production"!==process.env.NODE_ENV?r(!1,"Found unexpected detached subtree when traversing."):r(!1)),i.setStartBefore(c),1!==c.nodeType||"inline"===getComputedStyle(c).display););for(var f=c,d=s-1;;){for(var C=f.nodeValue,u=d;u>=0;u--)if(!(null!=C&&u>0&&e.isSurrogatePair(C,u-1))){if(i.setStart(f,u),!o(n(i),l))break;c=f,s=u}if(-1===u||0===f.childNodes.length)break;d=A(f=f.childNodes[u])}return i.setStart(c,s),i},WL}function Cx(){if(eQ)return $L;eQ=1;return $L={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}}function ux(){if(nQ)return tQ;nQ=1;var e="['‘’]",t="\\s|(?![_])"+Cx().getPunctuation(),n=new RegExp("^(?:"+t+")*(?:"+e+"|(?!"+t+").)*(?:(?!"+t+").)"),r=new RegExp("(?:(?!"+t+").)(?:"+e+"|(?!"+t+").)*(?:"+t+")*$");function o(e,t){var o=t?r.exec(e):n.exec(e);return o?o[0]:e}return tQ={getBackward:function(e){return o(e,!0)},getForward:function(e){return o(e,!1)}}}function px(){if(iQ)return AQ;iQ=1;var e=Ax();return AQ=function(t,n){var r=t.getSelection();"production"!==process.env.NODE_ENV&&e(r.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var o,A=r.getStartKey(),i=r.getStartOffset(),a=t.getCurrentContent(),l=A;return n>a.getBlockForKey(A).getText().length-i?(l=a.getKeyAfter(A),o=0):o=i+n,r.merge({focusKey:l,focusOffset:o})},AQ}function gx(){if(vQ)return wQ;vQ=1;var e=NB(),t=KB(),n=sx(),r=By(),o=function(){if(YL)return XL;YL=1;var e=NB(),t=KB(),n=QB(),r=YB(),o=null;return XL={cut:function(A){var i=A.getCurrentContent(),a=A.getSelection(),l=null;if(a.isCollapsed()){var c=a.getAnchorKey(),s=i.getBlockForKey(c).getLength();if(s===a.getAnchorOffset()){var f=i.getKeyAfter(c);if(null==f)return A;l=a.set("focusKey",f).set("focusOffset",0)}else l=a.set("focusOffset",s)}else l=a;l=r(l),o=n(i,l);var d=e.removeRange(i,l,"forward");return d===i?A:t.push(A,d,"remove-range")},paste:function(n){if(!o)return n;var r=e.replaceWithFragment(n.getCurrentContent(),n.getSelection(),o);return t.push(n,r,"insert-fragment")}}}(),A=gy(),i=oL(),a=function(){if(_L)return JL;_L=1;var e=KB(),t=dx(),n=Qy(),r=ix(),o=ax();return JL=function(A,i){var a=o(A,(function(e){var o=e.getSelection();if(o.isCollapsed()&&0===o.getAnchorOffset())return r(e,1);var A=i.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return A=t(A),n(e,null,A.endContainer,A.endOffset,A.startContainer,A.startOffset).selectionState}),"backward");return a===A.getCurrentContent()?A:e.push(A,a,"remove-range")},JL}(),l=function(){if(oQ)return rQ;oQ=1;var e=ux(),t=KB(),n=ix(),r=ax();return rQ=function(o){var A=r(o,(function(t){var r=t.getSelection(),o=r.getStartOffset();if(0===o)return n(t,1);var A=r.getStartKey(),i=t.getCurrentContent().getBlockForKey(A).getText().slice(0,o),a=e.getBackward(i);return n(t,a.length||1)}),"backward");return A===o.getCurrentContent()?o:t.push(o,A,"remove-range")},rQ}(),c=function(){if(lQ)return aQ;lQ=1;var e=ux(),t=KB(),n=px(),r=ax();return aQ=function(o){var A=r(o,(function(t){var r=t.getSelection(),o=r.getStartOffset(),A=r.getStartKey(),i=t.getCurrentContent().getBlockForKey(A).getText().slice(o),a=e.getForward(i);return n(t,a.length||1)}),"forward");return A===o.getCurrentContent()?o:t.push(o,A,"remove-range")},aQ}(),s=function(){if(sQ)return cQ;sQ=1;var e=NB(),t=KB();return cQ=function(n){var r=e.splitBlock(n.getCurrentContent(),n.getSelection());return t.push(n,r,"split-block")}}(),f=function(){if(dQ)return fQ;dQ=1;var e=KB();return fQ=function(t){var n=t.getSelection(),r=n.getEndKey(),o=t.getCurrentContent().getBlockForKey(r).getLength();return e.set(t,{selection:n.merge({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1}),forceSelection:!0})}}(),d=function(){if(uQ)return CQ;uQ=1;var e=KB();return CQ=function(t){var n=t.getSelection(),r=n.getStartKey();return e.set(t,{selection:n.merge({anchorKey:r,anchorOffset:0,focusKey:r,focusOffset:0,isBackward:!1}),forceSelection:!0})}}(),C=lx(),u=function(){if(gQ)return pQ;gQ=1;var e=KB(),t=ox(),n=px(),r=ax();return pQ=function(o){var A=r(o,(function(e){var r=e.getSelection(),o=e.getCurrentContent(),A=r.getAnchorKey(),i=r.getAnchorOffset(),a=o.getBlockForKey(A).getText()[i];return n(e,a?t.getUTF16Length(a,0):1)}),"forward");if(A===o.getCurrentContent())return o;var i=o.getSelection();return e.push(o,A.set("selectionBefore",i),i.isCollapsed()?"delete-character":"remove-range")},pQ}(),p=function(){if(mQ)return hQ;mQ=1;var e=NB(),t=KB(),n=QB();return hQ=function(r){var o=r.getSelection();if(!o.isCollapsed())return r;var A=o.getAnchorOffset();if(0===A)return r;var i,a,l=o.getAnchorKey(),c=r.getCurrentContent(),s=c.getBlockForKey(l).getLength();if(s<=1)return r;A===s?(i=o.set("anchorOffset",A-1),a=o):a=(i=o.set("focusOffset",A+1)).set("anchorOffset",A+1);var f=n(c,i),d=e.removeRange(c,i,"backward"),C=d.getSelectionAfter(),u=C.getAnchorOffset()-1,p=C.merge({anchorOffset:u,focusOffset:u}),g=e.replaceWithFragment(d,p,f),h=t.push(r,g,"insert-fragment");return t.acceptSelection(h,a)}}(),g=function(){if(bQ)return EQ;bQ=1;var e=KB();return EQ=function(t,n,r){var o=e.undo(n);if("spellcheck-change"!==n.getLastChangeType())t.preventDefault(),n.getNativelyRenderedContent()?(r(e.set(n,{nativelyRenderedContent:null})),setTimeout((function(){r(o)}),0)):r(o);else{var A=o.getCurrentContent();r(e.set(o,{nativelyRenderedContent:A}))}},EQ}(),h=n.isOptionKeyCommand,m=A.isBrowser("Chrome");return wQ=function(n,A){var E=A.which,b=n._latestEditorState;function w(e){var t=n.props[e];return!!t&&(t(A),!0)}switch(E){case r.RETURN:if(A.preventDefault(),n.props.handleReturn&&i(n.props.handleReturn(A,b)))return;break;case r.ESC:if(A.preventDefault(),w("onEscape"))return;break;case r.TAB:if(w("onTab"))return;break;case r.UP:if(w("onUpArrow"))return;break;case r.RIGHT:if(w("onRightArrow"))return;break;case r.DOWN:if(w("onDownArrow"))return;break;case r.LEFT:if(w("onLeftArrow"))return;break;case r.SPACE:m&&h(A)&&A.preventDefault()}var v=n.props.keyBindingFn(A);if(null!=v&&""!==v)if("undo"!==v){if(A.preventDefault(),!n.props.handleKeyCommand||!i(n.props.handleKeyCommand(v,b,A.timeStamp))){var B=function(e,n,r){switch(e){case"redo":return t.redo(n);case"delete":return u(n);case"delete-word":return c(n);case"backspace":return C(n);case"backspace-word":return l(n);case"backspace-to-start-of-line":return a(n,r);case"split-block":return s(n);case"transpose-characters":return p(n);case"move-selection-to-start-of-block":return d(n);case"move-selection-to-end-of-block":return f(n);case"secondary-cut":return o.cut(n);case"secondary-paste":return o.paste(n);default:return n}}(v,b,A);B!==b&&n.update(B)}}else g(A,b,n.update);else if(E===r.SPACE&&m&&h(A)){var I=e.replaceText(b.getCurrentContent(),b.getSelection()," ");n.update(t.push(b,I,"insert-characters"))}},wQ}function hx(){if(IQ)return BQ;IQ=1;var e=function(){function e(e){!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"_uri",void 0),this._uri=e}return e.prototype.toString=function(){return this._uri},e}();return BQ=e}function mx(){if(yQ)return MQ;yQ=1;var e=gy(),t=BB(),n=e.isBrowser("IE <= 9");return MQ=function(e){var r,o=null;return!n&&document.implementation&&document.implementation.createHTMLDocument&&((r=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==process.env.NODE_ENV?t(!1,"Missing doc.documentElement"):t(!1)),r.documentElement.innerHTML=e,o=r.getElementsByTagName("body")[0]),o},MQ}function Ex(){if(kQ)return DQ;var e;function t(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(t){n(e,t,r[t])}))}return e}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}kQ=1;var r=mB(),o=bB(),A=wB(),i=_B(),a=SB(),l=hx(),c=JB(),s=MB(),f=mx(),d=FB(),C=gB(),u=C.List,p=C.Map,g=C.OrderedSet,h=function(){if(QQ)return LQ;QQ=1;var e=my();return LQ=function(t){return!(!t||!t.ownerDocument)&&e(t)&&"A"===t.nodeName}}(),m=zy(),E=My(),b=function(){if(HQ)return xQ;HQ=1;var e=my();return xQ=function(t){return!(!t||!t.ownerDocument)&&e(t)&&"IMG"===t.nodeName}}(),w=d("draft_tree_data_support"),v=new RegExp("\r","g"),B=new RegExp("\n","g"),I=new RegExp("^\n","g"),M=new RegExp("&nbsp;","g"),y=new RegExp("&#13;?","g"),L=new RegExp("&#8203;?","g"),Q=["bold","bolder","500","600","700","800","900"],x=["light","lighter","normal","100","200","300","400"],H=["className","href","rel","target","title"],D=["alt","className","height","src","width"],k=(n(e={},c("public/DraftStyleDefault/depth0"),0),n(e,c("public/DraftStyleDefault/depth1"),1),n(e,c("public/DraftStyleDefault/depth2"),2),n(e,c("public/DraftStyleDefault/depth3"),3),n(e,c("public/DraftStyleDefault/depth4"),4),e),V=p({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),Z=function(e){if(E(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},N=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(k).some((function(n){e.classList.contains(n)&&(t=k[n])})),t},z=function(e){if(!h(e))return!1;var t=e;if(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)return!1;try{new l(t.href);return!0}catch(e){return!1}},P=function(e){if(!b(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},O=function(e,t){if(!E(e))return t;var n=e,r=n.style.fontWeight,o=n.style.fontStyle,A=n.style.textDecoration;return t.withMutations((function(e){Q.indexOf(r)>=0?e.add("BOLD"):x.indexOf(r)>=0&&e.remove("BOLD"),"italic"===o?e.add("ITALIC"):"normal"===o&&e.remove("ITALIC"),"underline"===A&&e.add("UNDERLINE"),"line-through"===A&&e.add("STRIKETHROUGH"),"none"===A&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},S=function(e){return"ul"===e||"ol"===e},j=function(){function e(e,t){n(this,"characterList",u()),n(this,"currentBlockType","unstyled"),n(this,"currentDepth",0),n(this,"currentEntity",null),n(this,"currentText",""),n(this,"wrapper",null),n(this,"blockConfigs",[]),n(this,"contentBlocks",[]),n(this,"entityMap",a),n(this,"blockTypeMap",void 0),n(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var i=e.prototype;return i.clear=function(){this.characterList=u(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=a,this.wrapper=null,this.contentBlocks=[]},i.addDOMNode=function(e){var t;return this.contentBlocks=[],this.currentDepth=0,(t=this.blockConfigs).push.apply(t,this._toBlockConfigs([e],g())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},i.getContentBlocks=function(){return 0===this.contentBlocks.length&&(w?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},i._makeBlockConfig=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t({key:e.key||s(),type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:u(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=u(),this.currentBlockType="unstyled",this.currentText="",n},i._toBlockConfigs=function(e,t){for(var n=[],r=0;r<e.length;r++){var o=e[r],A=o.nodeName.toLowerCase();if("body"===A||S(A)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var i=this.currentDepth,a=this.wrapper;S(A)&&(this.wrapper=A,S(a)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(o.childNodes),t)),this.currentDepth=i,this.wrapper=a}else{var l=this.blockTypeMap.get(A);if(void 0===l)if("#text"!==A)if("br"!==A)if(P(o))this._addImgNode(o,t);else if(z(o))this._addAnchorNode(o,n,t);else{var c=t;V.has(A)&&(c=c.add(V.get(A))),c=O(o,c);var f=Z(o);null!=f&&(c=c.add(f)),n.push.apply(n,this._toBlockConfigs(Array.from(o.childNodes),c))}else this._addBreakNode(o,t);else this._addTextNode(o,t);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var d=this.currentDepth,C=this.wrapper;if(this.wrapper="pre"===A?"pre":this.wrapper,"string"!=typeof l&&(l=this.disambiguate(A,this.wrapper)||l[0]||"unstyled"),!w&&E(o)&&("unordered-list-item"===l||"ordered-list-item"===l)){var u=o;this.currentDepth=N(u,this.currentDepth)}var p=s(),g=this._toBlockConfigs(Array.from(o.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:p,childConfigs:g,type:l})),this.currentDepth=d,this.wrapper=C}}}return n},i._appendText=function(e,t){var n;this.currentText+=e;var o=r.create({style:t,entity:this.currentEntity});this.characterList=(n=this.characterList).push.apply(n,Array(e.length).fill(o))},i._trimCurrentText=function(){var e=this.currentText.length,t=e-this.currentText.trimLeft().length,n=this.currentText.trimRight().length,r=this.characterList.findEntry((function(e){return null!==e.getEntity()}));(t=void 0!==r?Math.min(t,r[0]):t)>(n=void 0!==(r=this.characterList.reverse().findEntry((function(e){return null!==e.getEntity()})))?Math.max(n,e-r[0]):n)?(this.currentText="",this.characterList=u()):(this.currentText=this.currentText.slice(t,n),this.characterList=this.characterList.slice(t,n))},i._addTextNode=function(e,t){var n=e.textContent;""===n.trim()&&"pre"!==this.wrapper&&(n=" "),"pre"!==this.wrapper&&(n=(n=n.replace(I,"")).replace(B," ")),this._appendText(n,t)},i._addBreakNode=function(e,t){m(e)&&this._appendText("\n",t)},i._addImgNode=function(e,t){if(b(e)){var n=e,r={};D.forEach((function(e){var t=n.getAttribute(e);t&&(r[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),d("draftjs_fix_paste_for_img")?"presentation"!==n.getAttribute("role")&&this._appendText("📷",t):this._appendText("📷",t),this.currentEntity=null}},i._addAnchorNode=function(e,t,n){if(h(e)){var r=e,o={};H.forEach((function(e){var t=r.getAttribute(e);t&&(o[e]=t)})),o.url=new l(r.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",o||{}),t.push.apply(t,this._toBlockConfigs(Array.from(e.childNodes),n)),this.currentEntity=null}},i._toContentBlocks=function(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=e.length-1,o=0;o<=r;o++){var i=e[o];i.parent=n,i.prevSibling=o>0?e[o-1].key:null,i.nextSibling=o<r?e[o+1].key:null,i.children=u(i.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new A(t({},i))),this._toContentBlocks(i.childConfigs,i.key)}},i._hoistContainersInBlockConfigs=function(e){var t=this;return u(e).flatMap((function(e){return"unstyled"!==e.type||""!==e.text?[e]:t._hoistContainersInBlockConfigs(e.childConfigs)}))},i._toFlatContentBlocks=function(e){var n=this;this._hoistContainersInBlockConfigs(e).forEach((function(e){var r=n._extractTextFromBlockConfigs(e.childConfigs),A=r.text,i=r.characterList;n.contentBlocks.push(new o(t({},e,{text:e.text+A,characterList:e.characterList.concat(i)})))}))},i._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",r=u(),o=0;o<=t;o++){var A=e[o];n+=A.text,r=r.concat(A.characterList),""!==n&&"unstyled"!==A.type&&(n+="\n",r=r.push(r.last()));var i=this._extractTextFromBlockConfigs(A.childConfigs);n+=i.text,r=r.concat(i.characterList)}return{text:n,characterList:r}},e}();return DQ=function(e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:f)(e=e.trim().replace(v,"").replace(M," ").replace(y,"").replace(L,""));if(!n)return null;var r=function(e){var t={};return e.mapKeys((function(e,n){var r=[n.element];void 0!==n.aliasedElements&&r.push.apply(r,n.aliasedElements),r.forEach((function(n){void 0===t[n]?t[n]=e:"string"==typeof t[n]?t[n]=[t[n],e]:t[n].push(e)}))})),p(t)}(t);return new j(r,(function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null})).addDOMNode(n).getContentBlocks()},DQ}function bx(){if(ZQ)return VQ;function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}ZQ=1;var t=bB(),n=wB(),r=Ex(),o=MB(),A=mx(),i=FB(),a=gB(),l=TB(),c=a.List,s=a.Repeat,f=i("draft_tree_data_support"),d=f?n:t,C={processHTML:function(e,t){return r(e,A,t)},processText:function(t,n,r){return t.reduce((function(t,A,i){A=l(A);var a=o(),C={key:a,type:r,text:A,characterList:c(s(n,A.length))};if(f&&0!==i){var u=i-1;C=function(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(n){e(t,n,r[n])}))}return t}({},C,{prevSibling:(t[u]=t[u].merge({nextSibling:a})).getKey()})}return t.push(new d(C)),t}),[])}};return VQ=C}function wx(){if(OQ)return PQ;OQ=1;var e=NB(),t=KB(),n=(zQ||(zQ=1,NQ=function(e,t,n,r){var o=t.getStartKey(),A=t.getEndKey(),i=e.getBlockMap(),a=i.toSeq().skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===A})).concat([[A,i.get(A)]]).map((function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,r)),e.set("depth",t)}));return i=i.merge(a),e.merge({blockMap:i,selectionBefore:t,selectionAfter:t})}),NQ),r=YB(),o={currentBlockContainsLink:function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=n.getEntityMap();return n.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some((function(e){var t=e.getEntity();return!!t&&"LINK"===r.__get(t).getType()}))},getCurrentBlockType:function(e){var t=e.getSelection();return e.getCurrentContent().getBlockForKey(t.getStartKey()).getType()},getDataObjectForLinkURL:function(e){return{url:e.toString()}},handleKeyCommand:function(e,t,n){switch(t){case"bold":return o.toggleInlineStyle(e,"BOLD");case"italic":return o.toggleInlineStyle(e,"ITALIC");case"underline":return o.toggleInlineStyle(e,"UNDERLINE");case"code":return o.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return o.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return o.onDelete(e);default:return null}},insertSoftNewline:function(n){var r=e.insertText(n.getCurrentContent(),n.getSelection(),"\n",n.getCurrentInlineStyle(),null),o=t.push(n,r,"insert-characters");return t.forceSelection(o,r.getSelectionAfter())},onBackspace:function(e){var n=e.getSelection();if(!n.isCollapsed()||n.getAnchorOffset()||n.getFocusOffset())return null;var r=e.getCurrentContent(),A=n.getStartKey(),i=r.getBlockBefore(A);if(i&&"atomic"===i.getType()){var a=r.getBlockMap().delete(i.getKey()),l=r.merge({blockMap:a,selectionAfter:n});if(l!==r)return t.push(e,l,"remove-range")}var c=o.tryToRemoveBlockStyle(e);return c?t.push(e,c,"change-block-type"):null},onDelete:function(n){var r=n.getSelection();if(!r.isCollapsed())return null;var o=n.getCurrentContent(),A=r.getStartKey(),i=o.getBlockForKey(A).getLength();if(r.getStartOffset()<i)return null;var a=o.getBlockAfter(A);if(!a||"atomic"!==a.getType())return null;var l=r.merge({focusKey:a.getKey(),focusOffset:a.getLength()}),c=e.removeRange(o,l,"forward");return c!==o?t.push(n,c,"remove-range"):null},onTab:function(e,r,o){var A=r.getSelection(),i=A.getAnchorKey();if(i!==A.getFocusKey())return r;var a=r.getCurrentContent(),l=a.getBlockForKey(i),c=l.getType();if("unordered-list-item"!==c&&"ordered-list-item"!==c)return r;e.preventDefault();var s=l.getDepth();if(!e.shiftKey&&s===o)return r;var f=n(a,A,e.shiftKey?-1:1,o);return t.push(r,f,"adjust-depth")},toggleBlockType:function(n,o){var A=n.getSelection(),i=A.getStartKey(),a=A.getEndKey(),l=n.getCurrentContent(),c=A;if(i!==a&&0===A.getEndOffset()){var s=r(l.getBlockBefore(a));a=s.getKey(),c=c.merge({anchorKey:i,anchorOffset:A.getStartOffset(),focusKey:a,focusOffset:s.getLength(),isBackward:!1})}var f=l.getBlockMap().skipWhile((function(e,t){return t!==i})).reverse().skipWhile((function(e,t){return t!==a})).some((function(e){return"atomic"===e.getType()}));if(f)return n;var d=l.getBlockForKey(i).getType()===o?"unstyled":o;return t.push(n,e.setBlockType(l,c,d),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=t.getFocusKey();return t.isCollapsed()||n!==r?o.toggleBlockType(e,"code-block"):o.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(n,r){var o=n.getSelection(),A=n.getCurrentInlineStyle();if(o.isCollapsed())return t.setInlineStyleOverride(n,A.has(r)?A.remove(r):A.add(r));var i,a=n.getCurrentContent();return i=A.has(r)?e.removeInlineStyle(a,o,r):e.applyInlineStyle(a,o,r),t.push(n,i,"change-inline-style")},toggleLink:function(n,r,o){var A=e.applyEntity(n.getCurrentContent(),r,o);return t.push(n,A,"apply-entity")},tryToRemoveBlockStyle:function(t){var n=t.getSelection(),r=n.getAnchorOffset();if(n.isCollapsed()&&0===r){var o=n.getAnchorKey(),A=t.getCurrentContent(),i=A.getBlockForKey(o).getType(),a=A.getBlockBefore(o);if("code-block"===i&&a&&"code-block"===a.getType()&&0!==a.getLength())return null;if("unstyled"!==i)return e.setBlockType(A,n,"unstyled")}return null}};return PQ=o}function vx(){if(TQ)return FQ;TQ=1;var e=hB(),t=mB(),n=nL(),r=NB(),o=bx(),A=KB(),i=wx(),a=ky(),l=rL(),c=oL(),s=function(){if(jQ)return SQ;jQ=1;var e=/\r\n?|\n/g;return SQ=function(t){return t.split(e)}}();function f(e,t,n){var o=r.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return A.push(e,o.set("entityMap",n),"insert-fragment")}return FQ=function(d,C){C.preventDefault();var u=new n(C.clipboardData);if(!u.isRichText()){var p=u.getFiles(),g=u.getText();if(p.length>0){if(d.props.handlePastedFiles&&c(d.props.handlePastedFiles(p)))return;return void l(p,(function(n){if(n=n||g){var l=d._latestEditorState,c=s(n),f=t.create({style:l.getCurrentInlineStyle(),entity:a(l.getCurrentContent(),l.getSelection())}),C=i.getCurrentBlockType(l),u=o.processText(c,f,C),p=e.createFromArray(u),h=r.replaceWithFragment(l.getCurrentContent(),l.getSelection(),p);d.update(A.push(l,h,"insert-fragment"))}}))}}var h=[],m=u.getText(),E=u.getHTML(),b=d._latestEditorState;if(d.props.formatPastedText){var w=d.props.formatPastedText(m,E);m=w.text,E=w.html}if(!d.props.handlePastedText||!c(d.props.handlePastedText(m,E,b))){if(m&&(h=s(m)),!d.props.stripPastedStyles){var v,B=d.getClipboard();if(!d.props.formatPastedText&&u.isRichText()&&B){if(-1!==(null===(v=E)||void 0===v?void 0:v.indexOf(d.getEditorKey()))||1===h.length&&1===B.size&&B.first().getText()===m)return void d.update(f(d._latestEditorState,B))}else if(B&&u.types.includes("com.apple.webarchive")&&!u.types.includes("text/html")&&function(e,t){return e.length===t.size&&t.valueSeq().every((function(t,n){return t.getText()===e[n]}))}(h,B))return void d.update(f(d._latestEditorState,B));if(E){var I=o.processHTML(E,d.props.blockRenderMap);if(I){var M=I.contentBlocks,y=I.entityMap;if(M){var L=e.createFromArray(M);return void d.update(f(d._latestEditorState,L,y))}}}d.setClipboard(null)}if(h.length){var Q=t.create({style:b.getCurrentInlineStyle(),entity:a(b.getCurrentContent(),b.getSelection())}),x=i.getCurrentBlockType(b),H=o.processText(h,Q,x),D=e.createFromArray(H);d.update(f(d._latestEditorState,D))}}},FQ}function Bx(){if(GQ)return RQ;GQ=1;var e=gy(),t=tx(),n=function(){if(dL)return fL;dL=1;var e=KB(),t=Sy(),n=jy();return fL=function(r,o){var A=o.currentTarget.ownerDocument;if(!Boolean(r.props.preserveSelectionOnBlur)&&n(A)===A.body){var i=A.defaultView.getSelection(),a=r.editor;1===i.rangeCount&&t(a,i.anchorNode)&&t(a,i.focusNode)&&i.removeAllRanges()}var l=r._latestEditorState,c=l.getSelection();if(c.getHasFocus()){var s=c.set("hasFocus",!1);r.props.onBlur&&r.props.onBlur(o),r.update(e.acceptSelection(l,s))}},fL}(),r=function(){if(uL)return CL;uL=1;var e=KB();return CL=function(t,n){t.setMode("composite"),t.update(e.set(t._latestEditorState,{inCompositionMode:!0})),t._onCompositionStart(n)},CL}(),o=function(){if(mL)return hL;mL=1;var e=nx();return hL=function(t,n){t._latestEditorState.getSelection().isCollapsed()?n.preventDefault():t.setClipboard(e(t._latestEditorState))},hL}(),A=rx(),i=(IL||(IL=1,BL=function(e,t){e.setMode("drag"),t.preventDefault()}),BL),a=yL?ML:(yL=1,ML=function(e){e._internalDrag=!0,e.setMode("drag")}),l=function(){if(QL)return LL;QL=1;var e=KB(),t=gy();return LL=function(n,r){var o=n._latestEditorState,A=o.getSelection();if(!A.getHasFocus()){var i=A.set("hasFocus",!0);n.props.onFocus&&n.props.onFocus(r),t.isBrowser("Chrome < 60.0.3081.0")?n.update(e.forceSelection(o,i)):n.update(e.acceptSelection(o,i))}},LL}(),c=cx(),s=gx(),f=vx(),d=Hy(),C=e.isBrowser("Chrome"),u=e.isBrowser("Firefox"),p=C||u?d:function(e){};return RQ={onBeforeInput:t,onBlur:n,onCompositionStart:r,onCopy:o,onCut:A,onDragOver:i,onDragStart:a,onFocus:l,onInput:c,onKeyDown:s,onPaste:f,onSelect:d,onMouseUp:p,onKeyUp:p}}function Ix(){if(KQ)return UQ;KQ=1;var e=o,t=JB(),n=function(n){var r,o;function A(){return n.apply(this,arguments)||this}o=n,(r=A).prototype=Object.create(o.prototype),r.prototype.constructor=r,r.__proto__=o;var i=A.prototype;return i.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},i.render=function(){var n=this.props.editorState.getSelection().getHasFocus(),r=t({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":n});return e.createElement("div",{className:r},e.createElement("div",{className:t("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},A}(e.Component);return UQ=n}function Mx(){if(qQ)return WQ;qQ=1;var e=sx(),t=By(),n=gy(),r=n.isPlatform("Mac OS X"),o=r&&n.isBrowser("Firefox < 29"),A=e.hasCommandModifier,i=e.isCtrlKeyCommand;function a(e){return r&&e.altKey||i(e)}return WQ=function(e){switch(e.keyCode){case 66:return A(e)?"bold":null;case 68:return i(e)?"delete":null;case 72:return i(e)?"backspace":null;case 73:return A(e)?"italic":null;case 74:return A(e)?"code":null;case 75:return r&&i(e)?"secondary-cut":null;case 77:case 79:return i(e)?"split-block":null;case 84:return r&&i(e)?"transpose-characters":null;case 85:return A(e)?"underline":null;case 87:return r&&i(e)?"backspace-word":null;case 89:return i(e)?r?"secondary-paste":"redo":null;case 90:return function(e){return A(e)?e.shiftKey?"redo":"undo":null}(e)||null;case t.RETURN:return"split-block";case t.DELETE:return function(e){return!r&&e.shiftKey?null:a(e)?"delete-word":"delete"}(e);case t.BACKSPACE:return function(e){return A(e)&&r?"backspace-to-start-of-line":a(e)?"backspace-word":"backspace"}(e);case t.LEFT:return o&&A(e)?"move-selection-to-start-of-block":null;case t.RIGHT:return o&&A(e)?"move-selection-to-end-of-block":null;default:return null}},WQ}function yx(){if(_Q)return JQ;_Q=1;var e=vd();function t(){return t=e||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t.apply(this,arguments)}function n(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){A(e,t,n[t])}))}return e}function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var a=_B(),l=$B(),c=Vy(),s=function(){if(KM)return UM;KM=1;var e=FB()("draft_tree_data_support");return UM=e?Jy():$y()}(),f=AL(),d=Bx(),C=function(){if(YQ)return XQ;YQ=1;var e=B.unstable_flushControlled;return XQ=e}(),u=Ix(),p=Py(),g=KB(),h=o,m=Gy(),E=Yy(),b=gy(),w=JB(),v=MB(),I=Mx(),M=Ky(),y=FB(),Q=BB(),x=My(),H=YB(),D=b.isBrowser("IE"),k=!D,V={edit:d,composite:c,drag:f,cut:null,render:null},Z=!1,N=function(e){function t(){return e.apply(this,arguments)||this}i(t,e);var n=t.prototype;return n.render=function(){return null},n.componentDidMount=function(){this._update()},n.componentDidUpdate=function(){this._update()},n._update=function(){var e=this.props.editor;e._latestEditorState=this.props.editorState,e._blockSelectEvents=!0},t}(h.Component),z=function(e){function o(t){var o;return A(r(o=e.call(this,t)||this),"_blockSelectEvents",void 0),A(r(o),"_clipboard",void 0),A(r(o),"_handler",void 0),A(r(o),"_dragCount",void 0),A(r(o),"_internalDrag",void 0),A(r(o),"_editorKey",void 0),A(r(o),"_placeholderAccessibilityID",void 0),A(r(o),"_latestEditorState",void 0),A(r(o),"_latestCommittedEditorState",void 0),A(r(o),"_pendingStateFromBeforeInput",void 0),A(r(o),"_onBeforeInput",void 0),A(r(o),"_onBlur",void 0),A(r(o),"_onCharacterData",void 0),A(r(o),"_onCompositionEnd",void 0),A(r(o),"_onCompositionStart",void 0),A(r(o),"_onCopy",void 0),A(r(o),"_onCut",void 0),A(r(o),"_onDragEnd",void 0),A(r(o),"_onDragOver",void 0),A(r(o),"_onDragStart",void 0),A(r(o),"_onDrop",void 0),A(r(o),"_onInput",void 0),A(r(o),"_onFocus",void 0),A(r(o),"_onKeyDown",void 0),A(r(o),"_onKeyPress",void 0),A(r(o),"_onKeyUp",void 0),A(r(o),"_onMouseDown",void 0),A(r(o),"_onMouseUp",void 0),A(r(o),"_onPaste",void 0),A(r(o),"_onSelect",void 0),A(r(o),"editor",void 0),A(r(o),"editorContainer",void 0),A(r(o),"focus",void 0),A(r(o),"blur",void 0),A(r(o),"setMode",void 0),A(r(o),"exitCurrentMode",void 0),A(r(o),"restoreEditorDOM",void 0),A(r(o),"setClipboard",void 0),A(r(o),"getClipboard",void 0),A(r(o),"getEditorKey",void 0),A(r(o),"update",void 0),A(r(o),"onDragEnter",void 0),A(r(o),"onDragLeave",void 0),A(r(o),"_handleEditorContainerRef",(function(e){o.editorContainer=e,o.editor=null!==e?e.firstChild:null})),A(r(o),"focus",(function(e){var t=o.props.editorState,n=t.getSelection().getHasFocus(),r=o.editor;if(r){var A=E.getScrollParent(r),i=e||M(A),a=i.x,l=i.y;x(r)||("production"!==process.env.NODE_ENV?Q(!1,"editorNode is not an HTMLElement"):Q(!1)),r.focus(),A===window?window.scrollTo(a,l):m.setTop(A,l),n||o.update(g.forceSelection(t,t.getSelection()))}})),A(r(o),"blur",(function(){var e=o.editor;e&&(x(e)||("production"!==process.env.NODE_ENV?Q(!1,"editorNode is not an HTMLElement"):Q(!1)),e.blur())})),A(r(o),"setMode",(function(e){var t=o.props,r=t.onPaste,A=t.onCut,i=t.onCopy,a=n({},V.edit);r&&(a.onPaste=r),A&&(a.onCut=A),i&&(a.onCopy=i);var l=n({},V,{edit:a});o._handler=l[e]})),A(r(o),"exitCurrentMode",(function(){o.setMode("edit")})),A(r(o),"restoreEditorDOM",(function(e){o.setState({contentsKey:o.state.contentsKey+1},(function(){o.focus(e)}))})),A(r(o),"setClipboard",(function(e){o._clipboard=e})),A(r(o),"getClipboard",(function(){return o._clipboard})),A(r(o),"update",(function(e){o._latestEditorState=e,o.props.onChange(e)})),A(r(o),"onDragEnter",(function(){o._dragCount++})),A(r(o),"onDragLeave",(function(){o._dragCount--,0===o._dragCount&&o.exitCurrentMode()})),o._blockSelectEvents=!1,o._clipboard=null,o._handler=null,o._dragCount=0,o._editorKey=t.editorKey||v(),o._placeholderAccessibilityID="placeholder-"+o._editorKey,o._latestEditorState=t.editorState,o._latestCommittedEditorState=t.editorState,o._onBeforeInput=o._buildHandler("onBeforeInput"),o._onBlur=o._buildHandler("onBlur"),o._onCharacterData=o._buildHandler("onCharacterData"),o._onCompositionEnd=o._buildHandler("onCompositionEnd"),o._onCompositionStart=o._buildHandler("onCompositionStart"),o._onCopy=o._buildHandler("onCopy"),o._onCut=o._buildHandler("onCut"),o._onDragEnd=o._buildHandler("onDragEnd"),o._onDragOver=o._buildHandler("onDragOver"),o._onDragStart=o._buildHandler("onDragStart"),o._onDrop=o._buildHandler("onDrop"),o._onInput=o._buildHandler("onInput"),o._onFocus=o._buildHandler("onFocus"),o._onKeyDown=o._buildHandler("onKeyDown"),o._onKeyPress=o._buildHandler("onKeyPress"),o._onKeyUp=o._buildHandler("onKeyUp"),o._onMouseDown=o._buildHandler("onMouseDown"),o._onMouseUp=o._buildHandler("onMouseUp"),o._onPaste=o._buildHandler("onPaste"),o._onSelect=o._buildHandler("onSelect"),o.getEditorKey=function(){return o._editorKey},"production"!==process.env.NODE_ENV&&["onDownArrow","onEscape","onLeftArrow","onRightArrow","onTab","onUpArrow"].forEach((function(e){t.hasOwnProperty(e)&&console.warn("Supplying an `".concat(e,"` prop to `DraftEditor` has ")+"been deprecated. If your handler needs access to the keyboard event, supply a custom `keyBindingFn` prop that falls back to the default one (eg. https://is.gd/wHKQ3W).")})),o.state={contentsKey:0},o}i(o,e);var a=o.prototype;return a._buildHandler=function(e){var t=this;return function(n){if(!t.props.readOnly){var r=t._handler&&t._handler[e];r&&(C?C((function(){return r(t,n)})):r(t,n))}}},a._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},a._renderPlaceholder=function(){if(this._showPlaceholder()){var e={text:H(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return h.createElement(u,e)}return null},a._renderARIADescribedBy=function(){var e=this.props.ariaDescribedBy||"",t=this._showPlaceholder()?this._placeholderAccessibilityID:"";return e.replace("{{editor_id_placeholder}}",t)||void 0},a.render=function(){var e=this.props,r=e.blockRenderMap,o=e.blockRendererFn,A=e.blockStyleFn,i=e.customStyleFn,a=e.customStyleMap,c=e.editorState,f=e.preventScroll,d=e.readOnly,C=e.textAlignment,u=e.textDirectionality,p=w({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===C,"DraftEditor/alignRight":"right"===C,"DraftEditor/alignCenter":"center"===C}),g=this.props.role||"textbox",m="combobox"===g?!!this.props.ariaExpanded:null,E={blockRenderMap:r,blockRendererFn:o,blockStyleFn:A,customStyleMap:n({},l,a),customStyleFn:i,editorKey:this._editorKey,editorState:c,preventScroll:f,textDirectionality:u};return h.createElement("div",{className:p},this._renderPlaceholder(),h.createElement("div",{className:w("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},h.createElement("div",{"aria-activedescendant":d?null:this.props.ariaActiveDescendantID,"aria-autocomplete":d?null:this.props.ariaAutoComplete,"aria-controls":d?null:this.props.ariaControls,"aria-describedby":this._renderARIADescribedBy(),"aria-expanded":d?null:m,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":d?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:w({notranslate:!d,"public/DraftEditor/content":!0}),contentEditable:!d,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:d?null:g,spellCheck:k&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},h.createElement(N,{editor:this,editorState:c}),h.createElement(s,t({},E,{key:"contents"+this.state.contentsKey})))))},a.componentDidMount=function(){this._blockSelectEvents=!1,!Z&&y("draft_ods_enabled")&&(Z=!0,p.initODS()),this.setMode("edit"),D&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):L.execCommand("AutoUrlDetect",!1,!1))},a.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},o}(h.Component);return A(z,"defaultProps",{ariaDescribedBy:"{{editor_id_placeholder}}",blockRenderMap:a,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:I,readOnly:!1,spellCheck:!1,stripPastedStyles:!1}),JQ=z}var Lx,Qx,xx,Hx,Dx,kx,Vx,Zx,Nx,zx,Px,Ox,Sx,jx,Fx,Tx,Rx,Gx,Xx,Yx,Ux,Kx,Wx,qx,Jx,_x,$x,eH={};function tH(){return Lx||(Lx=1),eH}function nH(){if(xx)return Qx;xx=1;var e={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}};return Qx=e}function rH(){if(Vx)return kx;Vx=1;var e=ox(),t=EB(),n=function(e,t){return e===t},r=function(e){return!!e},o=[];return kx=function(A){var i=A.getCharacterList().map((function(e){return e.getStyle()})).toList(),a=i.flatten().toSet().map((function(o){return function(o,A,i){var a=[],l=A.map((function(e){return e.has(i)})).toList();return t(l,n,r,(function(t,n){var r=o.getText();a.push({offset:e.strlen(r.slice(0,t)),length:e.strlen(r.slice(t,n)),style:i})})),a}(A,i,o)}));return Array.prototype.concat.apply(o,a.toJS())}}function oH(){if(Nx)return Zx;function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Nx=1;var t=bB(),n=wB(),r=nH(),o=function(){if(Dx)return Hx;Dx=1;var e=nH(),t=ox().strlen;return Hx=function(n,r){var o=[];return n.findEntityRanges((function(e){return!!e.getEntity()}),(function(A,i){var a=n.getText(),l=n.getEntityAt(A);o.push({offset:t(a.slice(0,A)),length:t(a.slice(A,i)),key:Number(r[e.stringify(l)])})})),o},Hx}(),A=rH(),i=BB(),a=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:A(e),entityRanges:o(e,t),data:e.getData().toObject()}},l=function(r,o,A,l){if(r instanceof t)A.push(a(r,o));else{r instanceof n||("production"!==process.env.NODE_ENV?i(!1,"block is not a BlockNode"):i(!1));var c=r.getParentKey(),s=l[r.getKey()]=function(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(n){e(t,n,r[n])}))}return t}({},a(r,o),{children:[]});c?l[c].children.push(s):A.push(s)}};return Zx=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,o=[],A={},i={},a=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var o=e.getEntityAt(t),A=r.stringify(o);i[A]||(i[A]=o,n[A]="".concat(a),a++)})),l(e,n,o,A)})),{blocks:o,entityMap:n}}(e,t),t=function(e,t){var n=t.blocks,o=t.entityMap,A={};return Object.keys(o).forEach((function(t,n){var o=e.getEntity(r.unstringify(t));A[n]={type:o.getType(),mutability:o.getMutability(),data:o.getData()}})),{blocks:n,entityMap:A}}(e,t),t},Zx}function AH(){if(Px)return zx;function e(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(n){t(e,n,r[n])}))}return e}function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Px=1;var n=MB(),r=BB(),o=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},A={fromRawTreeStateToRawState:function(t){var n=t.blocks,A=[];return Array.isArray(n)||("production"!==process.env.NODE_ENV?r(!1,"Invalid raw state"):r(!1)),Array.isArray(n)&&n.length?(function(e,t){for(var n=[].concat(e).reverse();n.length;){var o=n.pop();t(o);var A=o.children;Array.isArray(A)||("production"!==process.env.NODE_ENV?r(!1,"Invalid tree raw block"):r(!1)),n=n.concat([].concat(A.reverse()))}}(n,(function(t){var n=e({},t);o(t)&&(n.depth=n.depth||0,function(t){Array.isArray(t.children)&&(t.children=t.children.map((function(n){return n.type===t.type?e({},n,{depth:(t.depth||0)+1}):n})))}(t),null!=t.children&&t.children.length>0)||(delete n.children,A.push(n))})),t.blocks=A,e({},t,{blocks:A})):t},fromRawStateToRawTreeState:function(t){var r=[],A=[];return t.blocks.forEach((function(t){var i=o(t),a=t.depth||0,l=e({},t,{children:[]});if(i){var c=A[0];if(null==c&&0===a)r.push(l);else if(null==c||c.depth<a-1){var s={key:n(),text:"",depth:a-1,type:t.type,children:[],entityRanges:[],inlineStyleRanges:[]};A.unshift(s),1===a?r.push(s):null!=c&&c.children.push(s),s.children.push(l)}else if(c.depth===a-1)c.children.push(l);else{for(;null!=c&&c.depth>=a;)A.shift(),c=A[0];a>0?c.children.push(l):r.push(l)}}else r.push(l)})),e({},t,{blocks:r})}};return zx=A}function iH(){if(Ux)return Yx;function e(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(n){t(e,n,r[n])}))}return e}function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Ux=1;var n=bB(),r=wB(),o=RB(),A=SB(),i=AH(),a=function(){if(Sx)return Ox;Sx=1;var e=Ax(),t={isValidBlock:function(t,n){var r=t.getKey(),o=t.getParentKey();if(null!=o&&!n.get(o).getChildKeys().includes(r))return"production"!==process.env.NODE_ENV&&e(!0,"Tree is missing parent -> child pointer on %s",r),!1;var A=t.getChildKeys().map((function(e){return n.get(e)}));if(!A.every((function(e){return e.getParentKey()===r})))return"production"!==process.env.NODE_ENV&&e(!0,"Tree is missing child -> parent pointer on %s",r),!1;var i=t.getPrevSiblingKey();if(null!=i&&n.get(i).getNextSiblingKey()!==r)return"production"!==process.env.NODE_ENV&&e(!0,"Tree is missing nextSibling pointer on %s's prevSibling",r),!1;var a=t.getNextSiblingKey();return null!=a&&n.get(a).getPrevSiblingKey()!==r?("production"!==process.env.NODE_ENV&&e(!0,"Tree is missing prevSibling pointer on %s's nextSibling",r),!1):null!==a&&null!==i&&i===a?("production"!==process.env.NODE_ENV&&e(!0,"Tree has a two-node cycle at %s",r),!1):!(""!=t.text&&t.getChildKeys().size>0&&("production"!==process.env.NODE_ENV&&e(!0,"Leaf node %s has children",r),1))},isConnectedTree:function(t){var n=t.toArray().filter((function(e){return null==e.getParentKey()&&null==e.getPrevSiblingKey()}));if(1!==n.length)return"production"!==process.env.NODE_ENV&&e(!0,"Tree is not connected. More or less than one first node"),!1;for(var r=0,o=n.shift().getKey(),A=[];null!=o;){var i=t.get(o),a=i.getChildKeys(),l=i.getNextSiblingKey();if(a.size>0){null!=l&&A.unshift(l);var c=a.map((function(e){return t.get(e)})),s=c.find((function(e){return null==e.getPrevSiblingKey()}));if(null==s)return"production"!==process.env.NODE_ENV&&e(!0,"%s has no first child",o),!1;o=s.getKey()}else o=null!=i.getNextSiblingKey()?i.getNextSiblingKey():A.shift();r++}return r===t.size||("production"!==process.env.NODE_ENV&&e(!0,"Tree is not connected. %s nodes were seen instead of %s",r,t.size),!1)},isValidTree:function(e){var t=this;return!!e.toArray().every((function(n){return t.isValidBlock(n,e)}))&&this.isConnectedTree(e)}};return Ox=t}(),l=jB(),c=function(){if(Fx)return jx;Fx=1;var e=mB(),t=gB().List;return jx=function(n,r){var o=n.map((function(t,n){var o=r[n];return e.create({style:t,entity:o})}));return t(o)}}(),s=function(){if(Rx)return Tx;Rx=1;var e=ox().substr;return Tx=function(t,n){var r=Array(t.length).fill(null);return n&&n.forEach((function(n){for(var o=e(t,0,n.offset).length,A=o+e(t,n.offset,n.length).length,i=o;i<A;i++)r[i]=n.key})),r},Tx}(),f=function(){if(Xx)return Gx;Xx=1;var e=ox(),t=gB().OrderedSet,n=e.substr,r=t();return Gx=function(e,t){var o=Array(e.length).fill(r);return t&&t.forEach((function(t){for(var r=n(e,0,t.offset).length,A=r+n(e,t.offset,t.length).length;r<A;)o[r]=o[r].add(t.style),r++})),o},Gx}(),d=MB(),C=FB(),u=gB(),p=BB(),g=C("draft_tree_data_support"),h=u.List,m=u.Map,E=u.OrderedMap,b=function(e,t){var n=e.key,r=e.type,o=e.data;return{text:e.text,depth:e.depth||0,type:r||"unstyled",key:n||d(),data:m(o),characterList:w(e,t)}},w=function(t,n){var r=t.text,o=t.entityRanges,A=t.inlineStyleRanges,i=o||[];return c(f(r,A||[]),s(r,i.filter((function(e){return n.hasOwnProperty(e.key)})).map((function(t){return e({},t,{key:n[t.key]})}))))},v=function(t){return e({},t,{key:t.key||d()})},B=function(t,n,r){var o=n.map((function(t){return e({},t,{parentRef:r})}));return t.concat(o.reverse())},I=function(t,o){var A=t.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),l=g&&!A?i.fromRawStateToRawTreeState(t).blocks:t.blocks;if(!g)return function(e,t){return E(e.map((function(e){var r=new n(b(e,t));return[r.getKey(),r]})))}(A?i.fromRawTreeStateToRawState(t).blocks:l,o);var c=function(t,n){return t.map(v).reduce((function(o,A,i){Array.isArray(A.children)||("production"!==process.env.NODE_ENV?p(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):p(!1));var a=A.children.map(v),l=new r(e({},b(A,n),{prevSibling:0===i?null:t[i-1].key,nextSibling:i===t.length-1?null:t[i+1].key,children:h(a.map((function(e){return e.key})))}));o=o.set(l.getKey(),l);for(var c=B([],a,l);c.length>0;){var s=c.pop(),f=s.parentRef,d=f.getChildKeys(),C=d.indexOf(s.key),u=Array.isArray(s.children);if(!u){u||("production"!==process.env.NODE_ENV?p(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):p(!1));break}var g=s.children.map(v),m=new r(e({},b(s,n),{parent:f.getKey(),children:h(g.map((function(e){return e.key}))),prevSibling:0===C?null:d.get(C-1),nextSibling:C===d.size-1?null:d.get(C+1)}));o=o.set(m.getKey(),m),c=B(c,g,m)}return o}),E())}(l,o);return"production"!==process.env.NODE_ENV&&(a.isValidTree(c)||("production"!==process.env.NODE_ENV?p(!1,"Should be a valid tree"):p(!1))),c};return Yx=function(e){Array.isArray(e.blocks)||("production"!==process.env.NODE_ENV?p(!1,"invalid RawDraftContentState"):p(!1));var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var r=t[e],o=r.type,i=r.mutability,a=r.data;n[e]=A.__create(o,i,a||{})})),n}(e),n=I(e,t),r=n.isEmpty()?new l:l.createEmpty(n.first().getKey());return new o({blockMap:n,entityMap:t,selectionBefore:r,selectionAfter:r})}}function aH(){if(Jx)return qx;Jx=1;var e=function(){if(Wx)return Kx;Wx=1;var e=fx();return Kx=function(t){var n=e(t),r=0,o=0,A=0,i=0;if(n.length){if(n.length>1&&0===n[0].width){var a=n[1];r=a.top,o=a.right,A=a.bottom,i=a.left}else{var l=n[0];r=l.top,o=l.right,A=l.bottom,i=l.left}for(var c=1;c<n.length;c++){var s=n[c];0!==s.height&&0!==s.width&&(r=Math.min(r,s.top),o=Math.max(o,s.right),A=Math.max(A,s.bottom),i=Math.min(i,s.left))}}return{top:r,right:o,bottom:A,left:i,width:o-i,height:A-r}},Kx}();return qx=function(t){var n=t.getSelection();if(!n.rangeCount)return null;var r=n.getRangeAt(0),o=e(r),A=o.top,i=o.right,a=o.bottom,l=o.left;return 0===A&&0===i&&0===a&&0===l?null:o},qx}function lH(){if($x)return _x;$x=1;var e=WB(),t=hB(),n=mB(),r=qB(),o=bB(),A=RB(),i=_B(),a=$B(),l=yx(),c=_y(),s=SB(),f=NB(),d=OB(),C=KB(),u=sx(),p=tH(),g=wx(),h=jB(),m=oH(),E=iH(),b=MB(),w=Mx(),v=aH(),B=Ex();return _x={Editor:l,EditorBlock:c,EditorState:C,CompositeDecorator:r,Entity:s,EntityInstance:d,BlockMapBuilder:t,CharacterMetadata:n,ContentBlock:o,ContentState:A,RawDraftContentState:p,SelectionState:h,AtomicBlockUtils:e,KeyBindingUtil:u,Modifier:f,RichUtils:g,DefaultDraftBlockRenderMap:i,DefaultDraftInlineStyle:a,convertFromHTML:B,convertFromRaw:E,convertToRaw:m,genKey:b,getDefaultKeyBinding:w,getVisibleSelectionRect:v}}var cH=lH(),sH={exports:{}},fH="delete",dH=32,CH=31,uH={};function pH(e){e&&(e.value=!0)}function gH(){}function hH(e){return void 0===e.size&&(e.size=e.__iterate(EH)),e.size}function mH(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?hH(e)+t:t}function EH(){return!0}function bH(e,t,n){return(0===e&&!IH(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function wH(e,t){return BH(e,t,0)}function vH(e,t){return BH(e,t,t)}function BH(e,t,n){return void 0===e?n:IH(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function IH(e){return e<0||0===e&&1/e==-1/0}var MH="@@__IMMUTABLE_ITERABLE__@@";function yH(e){return Boolean(e&&e[MH])}var LH="@@__IMMUTABLE_KEYED__@@";function QH(e){return Boolean(e&&e[LH])}var xH="@@__IMMUTABLE_INDEXED__@@";function HH(e){return Boolean(e&&e[xH])}function DH(e){return QH(e)||HH(e)}var kH=function(e){return yH(e)?e:tD(e)},VH=function(e){function t(e){return QH(e)?e:nD(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(kH),ZH=function(e){function t(e){return HH(e)?e:rD(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(kH),NH=function(e){function t(e){return yH(e)&&!DH(e)?e:oD(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(kH);kH.Keyed=VH,kH.Indexed=ZH,kH.Set=NH;var zH="@@__IMMUTABLE_SEQ__@@";function PH(e){return Boolean(e&&e[zH])}var OH="@@__IMMUTABLE_RECORD__@@";function SH(e){return Boolean(e&&e[OH])}function jH(e){return yH(e)||SH(e)}var FH="@@__IMMUTABLE_ORDERED__@@";function TH(e){return Boolean(e&&e[FH])}var RH="function"==typeof Symbol&&Symbol.iterator,GH="@@iterator",XH=RH||GH,YH=function(e){this.next=e};function UH(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function KH(){return{value:void 0,done:!0}}function WH(e){return!!Array.isArray(e)||!!_H(e)}function qH(e){return e&&"function"==typeof e.next}function JH(e){var t=_H(e);return t&&t.call(e)}function _H(e){var t=e&&(RH&&e[RH]||e[GH]);if("function"==typeof t)return t}YH.prototype.toString=function(){return"[Iterator]"},YH.KEYS=0,YH.VALUES=1,YH.ENTRIES=2,YH.prototype.inspect=YH.prototype.toSource=function(){return this.toString()},YH.prototype[XH]=function(){return this};var $H=Object.prototype.hasOwnProperty;function eD(e){return!(!Array.isArray(e)&&"string"!=typeof e)||e&&"object"==typeof e&&Number.isInteger(e.length)&&e.length>=0&&(0===e.length?1===Object.keys(e).length:e.hasOwnProperty(e.length-1))}var tD=function(e){function t(e){return null==e?cD():jH(e)?e.toSeq():function(e){var t=dD(e);if(t)return(r=_H(n=e))&&r===n.entries?t.fromEntrySeq():function(e){var t=_H(e);return t&&t===e.keys}(e)?t.toSetSeq():t;var n,r;if("object"==typeof e)return new iD(e);throw new TypeError("Expected Array or collection object of values, or keyed object: "+e)}(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq {","}")},t.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},t.prototype.__iterate=function(e,t){var n=this._cache;if(n){for(var r=n.length,o=0;o!==r;){var A=n[t?r-++o:o++];if(!1===e(A[1],A[0],this))break}return o}return this.__iterateUncached(e,t)},t.prototype.__iterator=function(e,t){var n=this._cache;if(n){var r=n.length,o=0;return new YH((function(){if(o===r)return{value:void 0,done:!0};var A=n[t?r-++o:o++];return UH(e,A[0],A[1])}))}return this.__iteratorUncached(e,t)},t}(kH),nD=function(e){function t(e){return null==e?cD().toKeyedSeq():yH(e)?QH(e)?e.toSeq():e.fromEntrySeq():SH(e)?e.toSeq():sD(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(tD),rD=function(e){function t(e){return null==e?cD():yH(e)?QH(e)?e.entrySeq():e.toIndexedSeq():SH(e)?e.toSeq().entrySeq():fD(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toIndexedSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq [","]")},t}(tD),oD=function(e){function t(e){return(yH(e)&&!DH(e)?e:rD(e)).toSetSeq()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toSetSeq=function(){return this},t}(tD);tD.isSeq=PH,tD.Keyed=nD,tD.Set=oD,tD.Indexed=rD,tD.prototype[zH]=!0;var AD=function(e){function t(e){this._array=e,this.size=e.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return this.has(e)?this._array[mH(this,e)]:t},t.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length,o=0;o!==r;){var A=t?r-++o:o++;if(!1===e(n[A],A,this))break}return o},t.prototype.__iterator=function(e,t){var n=this._array,r=n.length,o=0;return new YH((function(){if(o===r)return{value:void 0,done:!0};var A=t?r-++o:o++;return UH(e,A,n[A])}))},t}(rD),iD=function(e){function t(e){var t=Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[]);this._object=e,this._keys=t,this.size=t.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},t.prototype.has=function(e){return $H.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length,A=0;A!==o;){var i=r[t?o-++A:A++];if(!1===e(n[i],i,this))break}return A},t.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length,A=0;return new YH((function(){if(A===o)return{value:void 0,done:!0};var i=r[t?o-++A:A++];return UH(e,i,n[i])}))},t}(nD);iD.prototype[FH]=!0;var aD,lD=function(e){function t(e){this._collection=e,this.size=e.length||e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=JH(this._collection),r=0;if(qH(n))for(var o;!(o=n.next()).done&&!1!==e(o.value,r++,this););return r},t.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=JH(this._collection);if(!qH(n))return new YH(KH);var r=0;return new YH((function(){var t=n.next();return t.done?t:UH(e,r++,t.value)}))},t}(rD);function cD(){return aD||(aD=new AD([]))}function sD(e){var t=dD(e);if(t)return t.fromEntrySeq();if("object"==typeof e)return new iD(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function fD(e){var t=dD(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function dD(e){return eD(e)?new AD(e):WH(e)?new lD(e):void 0}var CD="@@__IMMUTABLE_MAP__@@";function uD(e){return Boolean(e&&e[CD])}function pD(e){return uD(e)&&TH(e)}function gD(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function hD(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!!(gD(e)&&gD(t)&&e.equals(t))}var mD="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function ED(e){return e>>>1&1073741824|3221225471&e}var bD=Object.prototype.valueOf;function wD(e){if(null==e)return vD(e);if("function"==typeof e.hashCode)return ED(e.hashCode(e));var t,n=(t=e).valueOf!==bD&&"function"==typeof t.valueOf?t.valueOf(t):t;if(null==n)return vD(n);switch(typeof n){case"boolean":return n?1108378657:1108378656;case"number":return function(e){if(e!=e||e===1/0)return 0;var t=0|e;t!==e&&(t^=4294967295*e);for(;e>4294967295;)t^=e/=4294967295;return ED(t)}(n);case"string":return n.length>kD?function(e){var t=ND[e];void 0===t&&(t=BD(e),ZD===VD&&(ZD=0,ND={}),ZD++,ND[e]=t);return t}(n):BD(n);case"object":case"function":return function(e){var t;if(QD&&void 0!==(t=LD.get(e)))return t;if(t=e[DD],void 0!==t)return t;if(!MD){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[DD]))return t;if(void 0!==(t=function(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}(e)))return t}if(t=yD(),QD)LD.set(e,t);else{if(void 0!==ID&&!1===ID(e))throw new Error("Non-extensible objects are not allowed as keys.");if(MD)Object.defineProperty(e,DD,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[DD]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[DD]=t}}return t}(n);case"symbol":return function(e){var t=xD[e];if(void 0!==t)return t;return t=yD(),xD[e]=t,t}(n);default:if("function"==typeof n.toString)return BD(n.toString());throw new Error("Value type "+typeof n+" cannot be hashed.")}}function vD(e){return null===e?1108378658:1108378659}function BD(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return ED(t)}var ID=Object.isExtensible,MD=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function yD(){var e=++HD;return 1073741824&HD&&(HD=0),e}var LD,QD="function"==typeof WeakMap;QD&&(LD=new WeakMap);var xD=Object.create(null),HD=0,DD="__immutablehash__";"function"==typeof Symbol&&(DD=Symbol(DD));var kD=16,VD=255,ZD=0,ND={},zD=function(e){function t(e,t){this._iter=e,this._useKeys=t,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return this._iter.get(e,t)},t.prototype.has=function(e){return this._iter.has(e)},t.prototype.valueSeq=function(){return this._iter.valueSeq()},t.prototype.reverse=function(){var e=this,t=TD(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,r=FD(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t,r){return e(t,r,n)}),t)},t.prototype.__iterator=function(e,t){return this._iter.__iterator(e,t)},t}(nD);zD.prototype[FH]=!0;var PD=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.includes=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var n=this,r=0;return t&&hH(this),this._iter.__iterate((function(o){return e(o,t?n.size-++r:r++,n)}),t)},t.prototype.__iterator=function(e,t){var n=this,r=this._iter.__iterator(1,t),o=0;return t&&hH(this),new YH((function(){var A=r.next();return A.done?A:UH(e,t?n.size-++o:o++,A.value,A)}))},t}(rD),OD=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.has=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new YH((function(){var t=n.next();return t.done?t:UH(e,t.value,t.value,t)}))},t}(oD),SD=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.entrySeq=function(){return this._iter.toSeq()},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){_D(t);var r=yH(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new YH((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){_D(r);var o=yH(r);return UH(e,o?r.get(0):r[0],o?r.get(1):r[1],t)}}}))},t}(nD);function jD(e){var t=ek(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=tk,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(2===t){var r=e.__iterator(t,n);return new YH((function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(1===t?0:1,n)},t}function FD(e,t,n){var r=ek(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var A=e.get(r,uH);return A===uH?o:t.call(n,A,r,e)},r.__iterateUncached=function(r,o){var A=this;return e.__iterate((function(e,o,i){return!1!==r(t.call(n,e,o,i),o,A)}),o)},r.__iteratorUncached=function(r,o){var A=e.__iterator(2,o);return new YH((function(){var o=A.next();if(o.done)return o;var i=o.value,a=i[0];return UH(r,a,t.call(n,i[1],a,e),o)}))},r}function TD(e,t){var n=this,r=ek(e);return r._iter=e,r.size=e.size,r.reverse=function(){return e},e.flip&&(r.flip=function(){var t=jD(e);return t.reverse=function(){return e.flip()},t}),r.get=function(n,r){return e.get(t?n:-1-n,r)},r.has=function(n){return e.has(t?n:-1-n)},r.includes=function(t){return e.includes(t)},r.cacheResult=tk,r.__iterate=function(n,r){var o=this,A=0;return r&&hH(e),e.__iterate((function(e,i){return n(e,t?i:r?o.size-++A:A++,o)}),!r)},r.__iterator=function(r,o){var A=0;o&&hH(e);var i=e.__iterator(2,!o);return new YH((function(){var e=i.next();if(e.done)return e;var a=e.value;return UH(r,t?a[0]:o?n.size-++A:A++,a[1],e)}))},r}function RD(e,t,n,r){var o=ek(e);return r&&(o.has=function(r){var o=e.get(r,uH);return o!==uH&&!!t.call(n,o,r,e)},o.get=function(r,o){var A=e.get(r,uH);return A!==uH&&t.call(n,A,r,e)?A:o}),o.__iterateUncached=function(o,A){var i=this,a=0;return e.__iterate((function(e,A,l){if(t.call(n,e,A,l))return a++,o(e,r?A:a-1,i)}),A),a},o.__iteratorUncached=function(o,A){var i=e.__iterator(2,A),a=0;return new YH((function(){for(;;){var A=i.next();if(A.done)return A;var l=A.value,c=l[0],s=l[1];if(t.call(n,s,c,e))return UH(o,r?c:a++,s,A)}}))},o}function GD(e,t,n,r){var o=e.size;if(bH(t,n,o))return e;if(void 0===o&&(t<0||n<0))return GD(e.toSeq().cacheResult(),t,n,r);var A,i=wH(t,o),a=vH(n,o)-i;a==a&&(A=a<0?0:a);var l=ek(e);return l.size=0===A?A:e.size&&A||void 0,!r&&PH(e)&&A>=0&&(l.get=function(t,n){return(t=mH(this,t))>=0&&t<A?e.get(t+i,n):n}),l.__iterateUncached=function(t,n){var o=this;if(0===A)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,c=0;return e.__iterate((function(e,n){if(!l||!(l=a++<i))return c++,!1!==t(e,r?n:c-1,o)&&c!==A})),c},l.__iteratorUncached=function(t,n){if(0!==A&&n)return this.cacheResult().__iterator(t,n);if(0===A)return new YH(KH);var o=e.__iterator(t,n),a=0,l=0;return new YH((function(){for(;a++<i;)o.next();if(++l>A)return{value:void 0,done:!0};var e=o.next();return r||1===t||e.done?e:UH(t,l-1,0===t?void 0:e.value[1],e)}))},l}function XD(e,t,n,r){var o=ek(e);return o.__iterateUncached=function(o,A){var i=this;if(A)return this.cacheResult().__iterate(o,A);var a=!0,l=0;return e.__iterate((function(e,A,c){if(!a||!(a=t.call(n,e,A,c)))return l++,o(e,r?A:l-1,i)})),l},o.__iteratorUncached=function(o,A){var i=this;if(A)return this.cacheResult().__iterator(o,A);var a=e.__iterator(2,A),l=!0,c=0;return new YH((function(){var e,A,s;do{if((e=a.next()).done)return r||1===o?e:UH(o,c++,0===o?void 0:e.value[1],e);var f=e.value;A=f[0],s=f[1],l&&(l=t.call(n,s,A,i))}while(l);return 2===o?e:UH(o,A,s,e)}))},o}function YD(e,t,n){var r=ek(e);return r.__iterateUncached=function(o,A){if(A)return this.cacheResult().__iterate(o,A);var i=0,a=!1;return function e(l,c){l.__iterate((function(A,l){return(!t||c<t)&&yH(A)?e(A,c+1):(i++,!1===o(A,n?l:i-1,r)&&(a=!0)),!a}),A)}(e,0),i},r.__iteratorUncached=function(r,o){if(o)return this.cacheResult().__iterator(r,o);var A=e.__iterator(r,o),i=[],a=0;return new YH((function(){for(;A;){var e=A.next();if(!1===e.done){var l=e.value;if(2===r&&(l=l[1]),t&&!(i.length<t)||!yH(l))return n?e:UH(r,a++,l,e);i.push(A),A=l.__iterator(r,o)}else A=i.pop()}return{value:void 0,done:!0}}))},r}function UD(e,t,n){t||(t=nk);var r=QH(e),o=0,A=e.toSeq().map((function(t,r){return[r,t,o++,n?n(t,r,e):t]})).valueSeq().toArray();return A.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){A[t].length=2}:function(e,t){A[t]=e[1]}),r?nD(A):HH(e)?rD(A):oD(A)}function KD(e,t,n){if(t||(t=nk),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return WD(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return WD(t,e,n)?n:e}))}function WD(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function qD(e,t,n,r){var o=ek(e),A=new AD(n).map((function(e){return e.size}));return o.size=r?A.max():A.min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(1,t),o=0;!(n=r.next()).done&&!1!==e(n.value,o++,this););return o},o.__iteratorUncached=function(e,o){var A=n.map((function(e){return e=kH(e),JH(o?e.reverse():e)})),i=0,a=!1;return new YH((function(){var n;return a||(n=A.map((function(e){return e.next()})),a=r?n.every((function(e){return e.done})):n.some((function(e){return e.done}))),a?{value:void 0,done:!0}:UH(e,i++,t.apply(null,n.map((function(e){return e.value}))))}))},o}function JD(e,t){return e===t?e:PH(e)?t:e.constructor(t)}function _D(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function $D(e){return QH(e)?VH:HH(e)?ZH:NH}function ek(e){return Object.create((QH(e)?nD:HH(e)?rD:oD).prototype)}function tk(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):tD.prototype.cacheResult.call(this)}function nk(e,t){return void 0===e&&void 0===t?0:void 0===e?1:void 0===t?-1:e>t?1:e<t?-1:0}function rk(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),o=0;o<n;o++)r[o]=e[o+t];return r}function ok(e,t){if(!e)throw new Error(t)}function Ak(e){ok(e!==1/0,"Cannot perform this action with an infinite size.")}function ik(e){if(eD(e)&&"string"!=typeof e)return e;if(TH(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}PD.prototype.cacheResult=zD.prototype.cacheResult=OD.prototype.cacheResult=SD.prototype.cacheResult=tk;var ak=Object.prototype.toString;function lk(e){if(!e||"object"!=typeof e||"[object Object]"!==ak.call(e))return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var n=t,r=Object.getPrototypeOf(t);null!==r;)n=r,r=Object.getPrototypeOf(n);return n===t}function ck(e){return"object"==typeof e&&(jH(e)||Array.isArray(e)||lk(e))}function sk(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function fk(e,t){return jH(e)?e.has(t):ck(e)&&$H.call(e,t)}function dk(e,t,n){return jH(e)?e.get(t,n):fk(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function Ck(e){if(Array.isArray(e))return rk(e);var t={};for(var n in e)$H.call(e,n)&&(t[n]=e[n]);return t}function uk(e,t){if(!ck(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(jH(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!$H.call(e,t))return e;var n=Ck(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}function pk(e,t,n){if(!ck(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(jH(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if($H.call(e,t)&&n===e[t])return e;var r=Ck(e);return r[t]=n,r}function gk(e,t,n,r){r||(r=n,n=void 0);var o=hk(jH(e),e,ik(t),0,n,r);return o===uH?n:o}function hk(e,t,n,r,o,A){var i=t===uH;if(r===n.length){var a=i?o:t,l=A(a);return l===a?t:l}if(!i&&!ck(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,r).map(sk)+"]: "+t);var c=n[r],s=i?uH:dk(t,c,uH),f=hk(s===uH?e:jH(s),s,n,r+1,o,A);return f===s?t:f===uH?uk(t,c):pk(i?e?eV():{}:t,c,f)}function mk(e,t,n){return gk(e,t,uH,(function(){return n}))}function Ek(e,t){return mk(this,e,t)}function bk(e,t){return gk(e,t,(function(){return uH}))}function wk(e){return bk(this,e)}function vk(e,t,n,r){return gk(e,[t],n,r)}function Bk(e,t,n){return 1===arguments.length?e(this):vk(this,e,t,n)}function Ik(e,t,n){return gk(this,e,t,n)}function Mk(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return Lk(this,e)}function yk(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if("function"!=typeof e)throw new TypeError("Invalid merger function: "+e);return Lk(this,t,e)}function Lk(e,t,n){for(var r=[],o=0;o<t.length;o++){var A=VH(t[o]);0!==A.size&&r.push(A)}return 0===r.length?e:0!==e.toSeq().size||e.__ownerID||1!==r.length?e.withMutations((function(e){for(var t=n?function(t,r){vk(e,r,uH,(function(e){return e===uH?t:n(e,t,r)}))}:function(t,n){e.set(n,t)},o=0;o<r.length;o++)r[o].forEach(t)})):e.constructor(r[0])}function Qk(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return Vk(e,t)}function xk(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return Vk(t,n,e)}function Hk(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return kk(e,t)}function Dk(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return kk(t,n,e)}function kk(e,t,n){return Vk(e,t,function(e){function t(n,r,o){return ck(n)&&ck(r)&&(A=r,i=tD(n),a=tD(A),HH(i)===HH(a)&&QH(i)===QH(a))?Vk(n,[r],t):e?e(n,r,o):r;var A,i,a}return t}(n))}function Vk(e,t,n){if(!ck(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(jH(e))return"function"==typeof n&&e.mergeWith?e.mergeWith.apply(e,[n].concat(t)):e.merge?e.merge.apply(e,t):e.concat.apply(e,t);for(var r=Array.isArray(e),o=e,A=r?ZH:VH,i=r?function(t){o===e&&(o=Ck(o)),o.push(t)}:function(t,r){var A=$H.call(o,r),i=A&&n?n(o[r],t,r):t;A&&i===o[r]||(o===e&&(o=Ck(o)),o[r]=i)},a=0;a<t.length;a++)A(t[a]).forEach(i);return o}function Zk(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return kk(this,e)}function Nk(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return kk(this,t,e)}function zk(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return gk(this,e,eV(),(function(e){return Vk(e,t)}))}function Pk(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return gk(this,e,eV(),(function(e){return kk(e,t)}))}function Ok(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function Sk(){return this.__ownerID?this:this.__ensureOwner(new gH)}function jk(){return this.__ensureOwner()}function Fk(){return this.__altered}var Tk=function(e){function t(t){return null==t?eV():uD(t)&&!TH(t)?t:eV().withMutations((function(n){var r=e(t);Ak(r.size),r.forEach((function(e,t){return n.set(t,e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return eV().withMutations((function(t){for(var n=0;n<e.length;n+=2){if(n+1>=e.length)throw new Error("Missing value for key: "+e[n]);t.set(e[n],e[n+1])}}))},t.prototype.toString=function(){return this.__toString("Map {","}")},t.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},t.prototype.set=function(e,t){return tV(this,e,t)},t.prototype.remove=function(e){return tV(this,e,uH)},t.prototype.deleteAll=function(e){var t=kH(e);return 0===t.size?this:this.withMutations((function(e){t.forEach((function(t){return e.remove(t)}))}))},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):eV()},t.prototype.sort=function(e){return yV(UD(this,e))},t.prototype.sortBy=function(e,t){return yV(UD(this,t,e))},t.prototype.map=function(e,t){var n=this;return this.withMutations((function(r){r.forEach((function(o,A){r.set(A,e.call(t,o,A,n))}))}))},t.prototype.__iterator=function(e,t){return new qk(this,e,t)},t.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?$k(this.size,this._root,e,this.__hash):0===this.size?eV():(this.__ownerID=e,this.__altered=!1,this)},t}(VH);Tk.isMap=uD;var Rk=Tk.prototype;Rk[CD]=!0,Rk[fH]=Rk.remove,Rk.removeAll=Rk.deleteAll,Rk.setIn=Ek,Rk.removeIn=Rk.deleteIn=wk,Rk.update=Bk,Rk.updateIn=Ik,Rk.merge=Rk.concat=Mk,Rk.mergeWith=yk,Rk.mergeDeep=Zk,Rk.mergeDeepWith=Nk,Rk.mergeIn=zk,Rk.mergeDeepIn=Pk,Rk.withMutations=Ok,Rk.wasAltered=Fk,Rk.asImmutable=jk,Rk["@@transducer/init"]=Rk.asMutable=Sk,Rk["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},Rk["@@transducer/result"]=function(e){return e.asImmutable()};var Gk=function(e,t){this.ownerID=e,this.entries=t};Gk.prototype.get=function(e,t,n,r){for(var o=this.entries,A=0,i=o.length;A<i;A++)if(hD(n,o[A][0]))return o[A][1];return r},Gk.prototype.update=function(e,t,n,r,o,A,i){for(var a=o===uH,l=this.entries,c=0,s=l.length;c<s&&!hD(r,l[c][0]);c++);var f=c<s;if(f?l[c][1]===o:a)return this;if(pH(i),(a||!f)&&pH(A),!a||1!==l.length){if(!f&&!a&&l.length>=aV)return function(e,t,n,r){e||(e=new gH);for(var o=new Kk(e,wD(n),[n,r]),A=0;A<t.length;A++){var i=t[A];o=o.update(e,0,void 0,i[0],i[1])}return o}(e,l,r,o);var d=e&&e===this.ownerID,C=d?l:rk(l);return f?a?c===s-1?C.pop():C[c]=C.pop():C[c]=[r,o]:C.push([r,o]),d?(this.entries=C,this):new Gk(e,C)}};var Xk=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};Xk.prototype.get=function(e,t,n,r){void 0===t&&(t=wD(n));var o=1<<((0===e?t:t>>>e)&CH),A=this.bitmap;return A&o?this.nodes[AV(A&o-1)].get(e+5,t,n,r):r},Xk.prototype.update=function(e,t,n,r,o,A,i){void 0===n&&(n=wD(r));var a=(0===t?n:n>>>t)&CH,l=1<<a,c=this.bitmap,s=!!(c&l);if(!s&&o===uH)return this;var f=AV(c&l-1),d=this.nodes,C=s?d[f]:void 0,u=nV(C,e,t+5,n,r,o,A,i);if(u===C)return this;if(!s&&u&&d.length>=lV)return function(e,t,n,r,o){for(var A=0,i=new Array(dH),a=0;0!==n;a++,n>>>=1)i[a]=1&n?t[A++]:void 0;return i[r]=o,new Yk(e,A+1,i)}(e,d,c,a,u);if(s&&!u&&2===d.length&&rV(d[1^f]))return d[1^f];if(s&&u&&1===d.length&&rV(u))return u;var p=e&&e===this.ownerID,g=s?u?c:c^l:c|l,h=s?u?iV(d,f,u,p):function(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var o=new Array(r),A=0,i=0;i<r;i++)i===t&&(A=1),o[i]=e[i+A];return o}(d,f,p):function(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var A=new Array(o),i=0,a=0;a<o;a++)a===t?(A[a]=n,i=-1):A[a]=e[a+i];return A}(d,f,u,p);return p?(this.bitmap=g,this.nodes=h,this):new Xk(e,g,h)};var Yk=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};Yk.prototype.get=function(e,t,n,r){void 0===t&&(t=wD(n));var o=(0===e?t:t>>>e)&CH,A=this.nodes[o];return A?A.get(e+5,t,n,r):r},Yk.prototype.update=function(e,t,n,r,o,A,i){void 0===n&&(n=wD(r));var a=(0===t?n:n>>>t)&CH,l=o===uH,c=this.nodes,s=c[a];if(l&&!s)return this;var f=nV(s,e,t+5,n,r,o,A,i);if(f===s)return this;var d=this.count;if(s){if(!f&&--d<cV)return function(e,t,n,r){for(var o=0,A=0,i=new Array(n),a=0,l=1,c=t.length;a<c;a++,l<<=1){var s=t[a];void 0!==s&&a!==r&&(o|=l,i[A++]=s)}return new Xk(e,o,i)}(e,c,d,a)}else d++;var C=e&&e===this.ownerID,u=iV(c,a,f,C);return C?(this.count=d,this.nodes=u,this):new Yk(e,d,u)};var Uk=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};Uk.prototype.get=function(e,t,n,r){for(var o=this.entries,A=0,i=o.length;A<i;A++)if(hD(n,o[A][0]))return o[A][1];return r},Uk.prototype.update=function(e,t,n,r,o,A,i){void 0===n&&(n=wD(r));var a=o===uH;if(n!==this.keyHash)return a?this:(pH(i),pH(A),oV(this,e,t,n,[r,o]));for(var l=this.entries,c=0,s=l.length;c<s&&!hD(r,l[c][0]);c++);var f=c<s;if(f?l[c][1]===o:a)return this;if(pH(i),(a||!f)&&pH(A),a&&2===s)return new Kk(e,this.keyHash,l[1^c]);var d=e&&e===this.ownerID,C=d?l:rk(l);return f?a?c===s-1?C.pop():C[c]=C.pop():C[c]=[r,o]:C.push([r,o]),d?(this.entries=C,this):new Uk(e,this.keyHash,C)};var Kk=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};Kk.prototype.get=function(e,t,n,r){return hD(n,this.entry[0])?this.entry[1]:r},Kk.prototype.update=function(e,t,n,r,o,A,i){var a=o===uH,l=hD(r,this.entry[0]);return(l?o===this.entry[1]:a)?this:(pH(i),a?void pH(A):l?e&&e===this.ownerID?(this.entry[1]=o,this):new Kk(e,this.keyHash,[r,o]):(pH(A),oV(this,e,t,wD(r),[r,o])))},Gk.prototype.iterate=Uk.prototype.iterate=function(e,t){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===e(n[t?o-r:r]))return!1},Xk.prototype.iterate=Yk.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var A=n[t?o-r:r];if(A&&!1===A.iterate(e,t))return!1}},Kk.prototype.iterate=function(e,t){return e(this.entry)};var Wk,qk=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&_k(e._root)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n=t.node,r=t.index++,o=void 0;if(n.entry){if(0===r)return Jk(e,n.entry)}else if(n.entries){if(r<=(o=n.entries.length-1))return Jk(e,n.entries[this._reverse?o-r:r])}else if(r<=(o=n.nodes.length-1)){var A=n.nodes[this._reverse?o-r:r];if(A){if(A.entry)return Jk(e,A.entry);t=this._stack=_k(A,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(YH);function Jk(e,t){return UH(e,t[0],t[1])}function _k(e,t){return{node:e,index:0,__prev:t}}function $k(e,t,n,r){var o=Object.create(Rk);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function eV(){return Wk||(Wk=$k(0))}function tV(e,t,n){var r,o;if(e._root){var A={value:!1},i={value:!1};if(r=nV(e._root,e.__ownerID,0,void 0,t,n,A,i),!i.value)return e;o=e.size+(A.value?n===uH?-1:1:0)}else{if(n===uH)return e;o=1,r=new Gk(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?$k(o,r):eV()}function nV(e,t,n,r,o,A,i,a){return e?e.update(t,n,r,o,A,i,a):A===uH?e:(pH(a),pH(i),new Kk(t,r,[o,A]))}function rV(e){return e.constructor===Kk||e.constructor===Uk}function oV(e,t,n,r,o){if(e.keyHash===r)return new Uk(t,r,[e.entry,o]);var A,i=(0===n?e.keyHash:e.keyHash>>>n)&CH,a=(0===n?r:r>>>n)&CH,l=i===a?[oV(e,t,n+5,r,o)]:(A=new Kk(t,r,o),i<a?[e,A]:[A,e]);return new Xk(t,1<<i|1<<a,l)}function AV(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function iV(e,t,n,r){var o=r?e:rk(e);return o[t]=n,o}var aV=8,lV=16,cV=8,sV="@@__IMMUTABLE_LIST__@@";function fV(e){return Boolean(e&&e[sV])}var dV=function(e){function t(t){var n=EV();if(null==t)return n;if(fV(t))return t;var r=e(t),o=r.size;return 0===o?n:(Ak(o),o>0&&o<dH?mV(0,o,5,null,new uV(r.toArray())):n.withMutations((function(e){e.setSize(o),r.forEach((function(t,n){return e.set(n,t)}))})))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("List [","]")},t.prototype.get=function(e,t){if((e=mH(this,e))>=0&&e<this.size){var n=vV(this,e+=this._origin);return n&&n.array[e&CH]}return t},t.prototype.set=function(e,t){return function(e,t,n){if(t=mH(e,t),t!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?BV(e,t).set(0,n):BV(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,o=e._root,A={value:!1};t>=IV(e._capacity)?r=bV(r,e.__ownerID,0,t,n,A):o=bV(o,e.__ownerID,e._level,t,n,A);if(!A.value)return e;if(e.__ownerID)return e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e;return mV(e._origin,e._capacity,e._level,o,r)}(this,e,t)},t.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},t.prototype.insert=function(e,t){return this.splice(e,0,t)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=this.__hash=void 0,this.__altered=!0,this):EV()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){BV(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},t.prototype.pop=function(){return BV(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){BV(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return BV(this,1)},t.prototype.concat=function(){for(var t=arguments,n=[],r=0;r<arguments.length;r++){var o=t[r],A=e("string"!=typeof o&&WH(o)?o:[o]);0!==A.size&&n.push(A)}return 0===n.length?this:0!==this.size||this.__ownerID||1!==n.length?this.withMutations((function(e){n.forEach((function(t){return t.forEach((function(t){return e.push(t)}))}))})):this.constructor(n[0])},t.prototype.setSize=function(e){return BV(this,0,e)},t.prototype.map=function(e,t){var n=this;return this.withMutations((function(r){for(var o=0;o<n.size;o++)r.set(o,e.call(t,r.get(o),o,n))}))},t.prototype.slice=function(e,t){var n=this.size;return bH(e,t,n)?this:BV(this,wH(e,n),vH(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,r=hV(this,t);return new YH((function(){var o=r();return o===gV?{value:void 0,done:!0}:UH(e,t?--n:n++,o)}))},t.prototype.__iterate=function(e,t){for(var n,r=t?this.size:0,o=hV(this,t);(n=o())!==gV&&!1!==e(n,t?--r:r++,this););return r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?mV(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?EV():(this.__ownerID=e,this.__altered=!1,this)},t}(ZH);dV.isList=fV;var CV=dV.prototype;CV[sV]=!0,CV[fH]=CV.remove,CV.merge=CV.concat,CV.setIn=Ek,CV.deleteIn=CV.removeIn=wk,CV.update=Bk,CV.updateIn=Ik,CV.mergeIn=zk,CV.mergeDeepIn=Pk,CV.withMutations=Ok,CV.wasAltered=Fk,CV.asImmutable=jk,CV["@@transducer/init"]=CV.asMutable=Sk,CV["@@transducer/step"]=function(e,t){return e.push(t)},CV["@@transducer/result"]=function(e){return e.asImmutable()};var uV=function(e,t){this.array=e,this.ownerID=t};uV.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&CH;if(r>=this.array.length)return new uV([],e);var o,A=0===r;if(t>0){var i=this.array[r];if((o=i&&i.removeBefore(e,t-5,n))===i&&A)return this}if(A&&!o)return this;var a=wV(this,e);if(!A)for(var l=0;l<r;l++)a.array[l]=void 0;return o&&(a.array[r]=o),a},uV.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,o=n-1>>>t&CH;if(o>=this.array.length)return this;if(t>0){var A=this.array[o];if((r=A&&A.removeAfter(e,t-5,n))===A&&o===this.array.length-1)return this}var i=wV(this,e);return i.array.splice(o+1),r&&(i.array[o]=r),i};var pV,gV={};function hV(e,t){var n=e._origin,r=e._capacity,o=IV(r),A=e._tail;return i(e._root,e._level,0);function i(e,a,l){return 0===a?function(e,i){var a=i===o?A&&A.array:e&&e.array,l=i>n?0:n-i,c=r-i;c>dH&&(c=dH);return function(){if(l===c)return gV;var e=t?--c:l++;return a&&a[e]}}(e,l):function(e,o,A){var a,l=e&&e.array,c=A>n?0:n-A>>o,s=1+(r-A>>o);s>dH&&(s=dH);return function(){for(;;){if(a){var e=a();if(e!==gV)return e;a=null}if(c===s)return gV;var n=t?--s:c++;a=i(l&&l[n],o-5,A+(n<<o))}}}(e,a,l)}}function mV(e,t,n,r,o,A,i){var a=Object.create(CV);return a.size=t-e,a._origin=e,a._capacity=t,a._level=n,a._root=r,a._tail=o,a.__ownerID=A,a.__hash=i,a.__altered=!1,a}function EV(){return pV||(pV=mV(0,0,5))}function bV(e,t,n,r,o,A){var i,a=r>>>n&CH,l=e&&a<e.array.length;if(!l&&void 0===o)return e;if(n>0){var c=e&&e.array[a],s=bV(c,t,n-5,r,o,A);return s===c?e:((i=wV(e,t)).array[a]=s,i)}return l&&e.array[a]===o?e:(A&&pH(A),i=wV(e,t),void 0===o&&a===i.array.length-1?i.array.pop():i.array[a]=o,i)}function wV(e,t){return t&&e&&t===e.ownerID?e:new uV(e?e.array.slice():[],t)}function vV(e,t){if(t>=IV(e._capacity))return e._tail;if(t<1<<e._level+5){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&CH],r-=5;return n}}function BV(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new gH,o=e._origin,A=e._capacity,i=o+t,a=void 0===n?A:n<0?A+n:o+n;if(i===o&&a===A)return e;if(i>=a)return e.clear();for(var l=e._level,c=e._root,s=0;i+s<0;)c=new uV(c&&c.array.length?[void 0,c]:[],r),s+=1<<(l+=5);s&&(i+=s,o+=s,a+=s,A+=s);for(var f=IV(A),d=IV(a);d>=1<<l+5;)c=new uV(c&&c.array.length?[c]:[],r),l+=5;var C=e._tail,u=d<f?vV(e,a-1):d>f?new uV([],r):C;if(C&&d>f&&i<A&&C.array.length){for(var p=c=wV(c,r),g=l;g>5;g-=5){var h=f>>>g&CH;p=p.array[h]=wV(p.array[h],r)}p.array[f>>>5&CH]=C}if(a<A&&(u=u&&u.removeAfter(r,0,a)),i>=d)i-=d,a-=d,l=5,c=null,u=u&&u.removeBefore(r,0,i);else if(i>o||d<f){for(s=0;c;){var m=i>>>l&CH;if(m!==d>>>l&CH)break;m&&(s+=(1<<l)*m),l-=5,c=c.array[m]}c&&i>o&&(c=c.removeBefore(r,l,i-s)),c&&d<f&&(c=c.removeAfter(r,l,d-s)),s&&(i-=s,a-=s)}return e.__ownerID?(e.size=a-i,e._origin=i,e._capacity=a,e._level=l,e._root=c,e._tail=u,e.__hash=void 0,e.__altered=!0,e):mV(i,a,l,c,u)}function IV(e){return e<dH?0:e-1>>>5<<5}var MV,yV=function(e){function t(e){return null==e?QV():pD(e)?e:QV().withMutations((function(t){var n=VH(e);Ak(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("OrderedMap {","}")},t.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this.__altered=!0,this):QV()},t.prototype.set=function(e,t){return xV(this,e,t)},t.prototype.remove=function(e){return xV(this,e,uH)},t.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},t.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?LV(t,n,e,this.__hash):0===this.size?QV():(this.__ownerID=e,this.__altered=!1,this._map=t,this._list=n,this)},t}(Tk);function LV(e,t,n,r){var o=Object.create(yV.prototype);return o.size=e?e.size:0,o._map=e,o._list=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function QV(){return MV||(MV=LV(eV(),EV()))}function xV(e,t,n){var r,o,A=e._map,i=e._list,a=A.get(t),l=void 0!==a;if(n===uH){if(!l)return e;i.size>=dH&&i.size>=2*A.size?(r=(o=i.filter((function(e,t){return void 0!==e&&a!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=A.remove(t),o=a===i.size-1?i.pop():i.set(a,void 0))}else if(l){if(n===i.get(a)[1])return e;r=A,o=i.set(a,[t,n])}else r=A.set(t,i.size),o=i.set(i.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e.__altered=!0,e):LV(r,o)}yV.isOrderedMap=pD,yV.prototype[FH]=!0,yV.prototype[fH]=yV.prototype.remove;var HV="@@__IMMUTABLE_STACK__@@";function DV(e){return Boolean(e&&e[HV])}var kV=function(e){function t(e){return null==e?zV():DV(e)?e:zV().pushAll(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("Stack [","]")},t.prototype.get=function(e,t){var n=this._head;for(e=mH(this,e);n&&e--;)n=n.next;return n?n.value:t},t.prototype.peek=function(){return this._head&&this._head.value},t.prototype.push=function(){var e=arguments;if(0===arguments.length)return this;for(var t=this.size+arguments.length,n=this._head,r=arguments.length-1;r>=0;r--)n={value:e[r],next:n};return this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):NV(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&DV(t))return t;Ak(t.size);var n=this.size,r=this._head;return t.__iterate((function(e){n++,r={value:e,next:r}}),!0),this.__ownerID?(this.size=n,this._head=r,this.__hash=void 0,this.__altered=!0,this):NV(n,r)},t.prototype.pop=function(){return this.slice(1)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):zV()},t.prototype.slice=function(t,n){if(bH(t,n,this.size))return this;var r=wH(t,this.size);if(vH(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var o=this.size-r,A=this._head;r--;)A=A.next;return this.__ownerID?(this.size=o,this._head=A,this.__hash=void 0,this.__altered=!0,this):NV(o,A)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?NV(this.size,this._head,e,this.__hash):0===this.size?zV():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new AD(this.toArray()).__iterate((function(t,r){return e(t,r,n)}),t);for(var r=0,o=this._head;o&&!1!==e(o.value,r++,this);)o=o.next;return r},t.prototype.__iterator=function(e,t){if(t)return new AD(this.toArray()).__iterator(e,t);var n=0,r=this._head;return new YH((function(){if(r){var t=r.value;return r=r.next,UH(e,n++,t)}return{value:void 0,done:!0}}))},t}(ZH);kV.isStack=DV;var VV,ZV=kV.prototype;function NV(e,t,n,r){var o=Object.create(ZV);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function zV(){return VV||(VV=NV(0))}ZV[HV]=!0,ZV.shift=ZV.pop,ZV.unshift=ZV.push,ZV.unshiftAll=ZV.pushAll,ZV.withMutations=Ok,ZV.wasAltered=Fk,ZV.asImmutable=jk,ZV["@@transducer/init"]=ZV.asMutable=Sk,ZV["@@transducer/step"]=function(e,t){return e.unshift(t)},ZV["@@transducer/result"]=function(e){return e.asImmutable()};var PV="@@__IMMUTABLE_SET__@@";function OV(e){return Boolean(e&&e[PV])}function SV(e){return OV(e)&&TH(e)}function jV(e,t){if(e===t)return!0;if(!yH(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||QH(e)!==QH(t)||HH(e)!==HH(t)||TH(e)!==TH(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!DH(e);if(TH(e)){var r=e.entries();return t.every((function(e,t){var o=r.next().value;return o&&hD(o[1],e)&&(n||hD(o[0],t))}))&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var A=e;e=t,t=A}var i=!0,a=t.__iterate((function(t,r){if(n?!e.has(t):o?!hD(t,e.get(r,uH)):!hD(e.get(r,uH),t))return i=!1,!1}));return i&&e.size===a}function FV(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}function TV(e){if(!e||"object"!=typeof e)return e;if(!yH(e)){if(!ck(e))return e;e=tD(e)}if(QH(e)){var t={};return e.__iterate((function(e,n){t[n]=TV(e)})),t}var n=[];return e.__iterate((function(e){n.push(TV(e))})),n}var RV=function(e){function t(t){return null==t?KV():OV(t)&&!TH(t)?t:KV().withMutations((function(n){var r=e(t);Ak(r.size),r.forEach((function(e){return n.add(e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(VH(e).keySeq())},t.intersect=function(e){return(e=kH(e).toArray()).length?XV.intersect.apply(t(e.pop()),e):KV()},t.union=function(e){return(e=kH(e).toArray()).length?XV.union.apply(t(e.pop()),e):KV()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return YV(this,this._map.set(e,e))},t.prototype.remove=function(e){return YV(this,this._map.remove(e))},t.prototype.clear=function(){return YV(this,this._map.clear())},t.prototype.map=function(e,t){var n=this,r=!1,o=YV(this,this._map.mapEntries((function(o){var A=o[1],i=e.call(t,A,A,n);return i!==A&&(r=!0),[i,i]}),t));return r?o:this},t.prototype.union=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return 0===(t=t.filter((function(e){return 0!==e.size}))).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(n){for(var r=0;r<t.length;r++)"string"==typeof t[r]?n.add(t[r]):e(t[r]).forEach((function(e){return n.add(e)}))})):this.constructor(t[0])},t.prototype.intersect=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var r=[];return this.forEach((function(e){t.every((function(t){return t.includes(e)}))||r.push(e)})),this.withMutations((function(e){r.forEach((function(t){e.remove(t)}))}))},t.prototype.subtract=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var r=[];return this.forEach((function(e){t.some((function(t){return t.includes(e)}))&&r.push(e)})),this.withMutations((function(e){r.forEach((function(t){e.remove(t)}))}))},t.prototype.sort=function(e){return CZ(UD(this,e))},t.prototype.sortBy=function(e,t){return CZ(UD(this,t,e))},t.prototype.wasAltered=function(){return this._map.wasAltered()},t.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t){return e(t,t,n)}),t)},t.prototype.__iterator=function(e,t){return this._map.__iterator(e,t)},t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):0===this.size?this.__empty():(this.__ownerID=e,this._map=t,this)},t}(NH);RV.isSet=OV;var GV,XV=RV.prototype;function YV(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function UV(e,t){var n=Object.create(XV);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function KV(){return GV||(GV=UV(eV()))}XV[PV]=!0,XV[fH]=XV.remove,XV.merge=XV.concat=XV.union,XV.withMutations=Ok,XV.asImmutable=jk,XV["@@transducer/init"]=XV.asMutable=Sk,XV["@@transducer/step"]=function(e,t){return e.add(t)},XV["@@transducer/result"]=function(e){return e.asImmutable()},XV.__empty=KV,XV.__make=UV;var WV,qV=function(e){function t(e,n,r){if(!(this instanceof t))return new t(e,n,r);if(ok(0!==r,"Cannot step a Range by 0"),e=e||0,void 0===n&&(n=1/0),r=void 0===r?1:Math.abs(r),n<e&&(r=-r),this._start=e,this._end=n,this._step=r,this.size=Math.max(0,Math.ceil((n-e)/r-1)+1),0===this.size){if(WV)return WV;WV=this}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},t.prototype.get=function(e,t){return this.has(e)?this._start+mH(this,e)*this._step:t},t.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},t.prototype.slice=function(e,n){return bH(e,n,this.size)?this:(e=wH(e,this.size),(n=vH(n,this.size))<=e?new t(0,0):new t(this.get(e,this._end),this.get(n,this._end),this._step))},t.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},t.prototype.lastIndexOf=function(e){return this.indexOf(e)},t.prototype.__iterate=function(e,t){for(var n=this.size,r=this._step,o=t?this._start+(n-1)*r:this._start,A=0;A!==n&&!1!==e(o,t?n-++A:A++,this);)o+=t?-r:r;return A},t.prototype.__iterator=function(e,t){var n=this.size,r=this._step,o=t?this._start+(n-1)*r:this._start,A=0;return new YH((function(){if(A===n)return{value:void 0,done:!0};var i=o;return o+=t?-r:r,UH(e,t?n-++A:A++,i)}))},t.prototype.equals=function(e){return e instanceof t?this._start===e._start&&this._end===e._end&&this._step===e._step:jV(this,e)},t}(rD);function JV(e,t,n){for(var r=ik(t),o=0;o!==r.length;)if((e=dk(e,r[o++],uH))===uH)return n;return e}function _V(e,t){return JV(this,e,t)}function $V(e,t){return JV(e,t,uH)!==uH}function eZ(){Ak(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}kH.isIterable=yH,kH.isKeyed=QH,kH.isIndexed=HH,kH.isAssociative=DH,kH.isOrdered=TH,kH.Iterator=YH,FV(kH,{toArray:function(){Ak(this.size);var e=new Array(this.size||0),t=QH(this),n=0;return this.__iterate((function(r,o){e[n++]=t?[o,r]:r})),e},toIndexedSeq:function(){return new PD(this)},toJS:function(){return TV(this)},toKeyedSeq:function(){return new zD(this,!0)},toMap:function(){return Tk(this.toKeyedSeq())},toObject:eZ,toOrderedMap:function(){return yV(this.toKeyedSeq())},toOrderedSet:function(){return CZ(QH(this)?this.valueSeq():this)},toSet:function(){return RV(QH(this)?this.valueSeq():this)},toSetSeq:function(){return new OD(this)},toSeq:function(){return HH(this)?this.toIndexedSeq():QH(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return kV(QH(this)?this.valueSeq():this)},toList:function(){return dV(QH(this)?this.valueSeq():this)},toString:function(){return"[Collection]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return JD(this,function(e,t){var n=QH(e),r=[e].concat(t).map((function(e){return yH(e)?n&&(e=VH(e)):e=n?sD(e):fD(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var o=r[0];if(o===e||n&&QH(o)||HH(e)&&HH(o))return o}var A=new AD(r);return n?A=A.toKeyedSeq():HH(e)||(A=A.toSetSeq()),(A=A.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),A}(this,e))},includes:function(e){return this.some((function(t){return hD(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){Ak(this.size);var n=!0;return this.__iterate((function(r,o,A){if(!e.call(t,r,o,A))return n=!1,!1})),n},filter:function(e,t){return JD(this,RD(this,e,t,!0))},partition:function(e,t){return function(e,t,n){var r=QH(e),o=[[],[]];e.__iterate((function(A,i){o[t.call(n,A,i,e)?1:0].push(r?[i,A]:A)}));var A=$D(e);return o.map((function(t){return JD(e,A(t))}))}(this,e,t)},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},forEach:function(e,t){return Ak(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ak(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(0)},map:function(e,t){return JD(this,FD(this,e,t))},reduce:function(e,t,n){return AZ(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return AZ(this,e,t,n,arguments.length<2,!0)},reverse:function(){return JD(this,TD(this,!0))},slice:function(e,t){return JD(this,GD(this,e,t,!0))},some:function(e,t){Ak(this.size);var n=!1;return this.__iterate((function(r,o,A){if(e.call(t,r,o,A))return n=!0,!1})),n},sort:function(e){return JD(this,UD(this,e))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return hH(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var r=Tk().asMutable();return e.__iterate((function(o,A){r.update(t.call(n,o,A,e),0,(function(e){return e+1}))})),r.asImmutable()}(this,e,t)},equals:function(e){return jV(this,e)},entrySeq:function(){var e=this;if(e._cache)return new AD(e._cache);var t=e.toSeq().map(aZ).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(lZ(e),t)},findEntry:function(e,t,n){var r=n;return this.__iterate((function(n,o,A){if(e.call(t,n,o,A))return r=[o,n],!1})),r},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(e){return this.find(EH,null,e)},flatMap:function(e,t){return JD(this,function(e,t,n){var r=$D(e);return e.toSeq().map((function(o,A){return r(t.call(n,o,A,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return JD(this,YD(this,e,!0))},fromEntrySeq:function(){return new SD(this)},get:function(e,t){return this.find((function(t,n){return hD(n,e)}),void 0,t)},getIn:_V,groupBy:function(e,t){return function(e,t,n){var r=QH(e),o=(TH(e)?yV():Tk()).asMutable();e.__iterate((function(A,i){o.update(t.call(n,A,i,e),(function(e){return(e=e||[]).push(r?[i,A]:A),e}))}));var A=$D(e);return o.map((function(t){return JD(e,A(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,uH)!==uH},hasIn:function(e){return $V(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:kH(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:kH(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return hD(t,e)}))},keySeq:function(){return this.toSeq().map(iZ).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return KD(this,e)},maxBy:function(e,t){return KD(this,t,e)},min:function(e){return KD(this,e?cZ(e):fZ)},minBy:function(e,t){return KD(this,t?cZ(t):fZ,e)},rest:function(){return this.slice(1)},skip:function(e){return 0===e?this:this.slice(Math.max(0,e))},skipLast:function(e){return 0===e?this:this.slice(0,-Math.max(0,e))},skipWhile:function(e,t){return JD(this,XD(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(lZ(e),t)},sortBy:function(e,t){return JD(this,UD(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return this.slice(-Math.max(0,e))},takeWhile:function(e,t){return JD(this,function(e,t,n){var r=ek(e);return r.__iterateUncached=function(r,o){var A=this;if(o)return this.cacheResult().__iterate(r,o);var i=0;return e.__iterate((function(e,o,a){return t.call(n,e,o,a)&&++i&&r(e,o,A)})),i},r.__iteratorUncached=function(r,o){var A=this;if(o)return this.cacheResult().__iterator(r,o);var i=e.__iterator(2,o),a=!0;return new YH((function(){if(!a)return{value:void 0,done:!0};var e=i.next();if(e.done)return e;var o=e.value,l=o[0],c=o[1];return t.call(n,c,l,A)?2===r?e:UH(r,l,c,e):(a=!1,{value:void 0,done:!0})}))},r}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(lZ(e),t)},update:function(e){return e(this)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(e){if(e.size===1/0)return 0;var t=TH(e),n=QH(e),r=t?1:0,o=e.__iterate(n?t?function(e,t){r=31*r+dZ(wD(e),wD(t))|0}:function(e,t){r=r+dZ(wD(e),wD(t))|0}:t?function(e){r=31*r+wD(e)|0}:function(e){r=r+wD(e)|0});return function(e,t){return t=mD(t,3432918353),t=mD(t<<15|t>>>-15,461845907),t=mD(t<<13|t>>>-13,5),t=t+3864292196^e,t=mD(t^t>>>16,2246822507),t=mD(t^t>>>13,3266489909),t=ED(t^t>>>16),t}(o,r)}(this))}});var tZ=kH.prototype;tZ[MH]=!0,tZ[XH]=tZ.values,tZ.toJSON=tZ.toArray,tZ.__toStringMapper=sk,tZ.inspect=tZ.toSource=function(){return this.toString()},tZ.chain=tZ.flatMap,tZ.contains=tZ.includes,FV(VH,{flip:function(){return JD(this,jD(this))},mapEntries:function(e,t){var n=this,r=0;return JD(this,this.toSeq().map((function(o,A){return e.call(t,[A,o],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return JD(this,this.toSeq().flip().map((function(r,o){return e.call(t,r,o,n)})).flip())}});var nZ=VH.prototype;nZ[LH]=!0,nZ[XH]=tZ.entries,nZ.toJSON=eZ,nZ.__toStringMapper=function(e,t){return sk(t)+": "+sk(e)},FV(ZH,{toKeyedSeq:function(){return new zD(this,!1)},filter:function(e,t){return JD(this,RD(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return JD(this,TD(this,!1))},slice:function(e,t){return JD(this,GD(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(t||0,0),0===n||2===n&&!t)return this;e=wH(e,e<0?this.count():this.size);var r=this.slice(0,e);return JD(this,1===n?r:r.concat(rk(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(e){return this.get(0,e)},flatten:function(e){return JD(this,YD(this,e,!1))},get:function(e,t){return(e=mH(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=mH(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return JD(this,function(e,t){var n=ek(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var o=this,A=0;return e.__iterate((function(e){return(!A||!1!==n(t,A++,o))&&!1!==n(e,A++,o)}),r),A},n.__iteratorUncached=function(n,r){var o,A=e.__iterator(1,r),i=0;return new YH((function(){return(!o||i%2)&&(o=A.next()).done?o:i%2?UH(n,i++,t):UH(n,i++,o.value,o)}))},n}(this,e))},interleave:function(){var e=[this].concat(rk(arguments)),t=qD(this.toSeq(),rD.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),JD(this,n)},keySeq:function(){return qV(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return JD(this,XD(this,e,t,!1))},zip:function(){return JD(this,qD(this,sZ,[this].concat(rk(arguments))))},zipAll:function(){return JD(this,qD(this,sZ,[this].concat(rk(arguments)),!0))},zipWith:function(e){var t=rk(arguments);return t[0]=this,JD(this,qD(this,e,t))}});var rZ=ZH.prototype;rZ[xH]=!0,rZ[FH]=!0,FV(NH,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}});var oZ=NH.prototype;function AZ(e,t,n,r,o,A){return Ak(e.size),e.__iterate((function(e,A,i){o?(o=!1,n=e):n=t.call(r,n,e,A,i)}),A),n}function iZ(e,t){return t}function aZ(e,t){return[t,e]}function lZ(e){return function(){return!e.apply(this,arguments)}}function cZ(e){return function(){return-e.apply(this,arguments)}}function sZ(){return rk(arguments)}function fZ(e,t){return e<t?1:e>t?-1:0}function dZ(e,t){return e^t+2654435769+(e<<6)+(e>>2)}oZ.has=tZ.includes,oZ.contains=oZ.includes,oZ.keys=oZ.values,FV(nD,nZ),FV(rD,rZ),FV(oD,oZ);var CZ=function(e){function t(e){return null==e?hZ():SV(e)?e:hZ().withMutations((function(t){var n=NH(e);Ak(n.size),n.forEach((function(e){return t.add(e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(VH(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(RV);CZ.isOrderedSet=SV;var uZ,pZ=CZ.prototype;function gZ(e,t){var n=Object.create(pZ);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function hZ(){return uZ||(uZ=gZ(QV()))}pZ[FH]=!0,pZ.zip=rZ.zip,pZ.zipWith=rZ.zipWith,pZ.zipAll=rZ.zipAll,pZ.__empty=hZ,pZ.__make=gZ;var mZ={LeftThenRight:-1,RightThenLeft:1};var EZ=function(e,t){var n;!function(e){if(SH(e))throw new Error("Can not call `Record` with an immutable Record as default values. Use a plain javascript object instead.");if(jH(e))throw new Error("Can not call `Record` with an immutable Collection as default values. Use a plain javascript object instead.");if(null===e||"object"!=typeof e)throw new Error("Can not call `Record` with a non-object as default values. Use a plain javascript object instead.")}(e);var r=function(A){var i=this;if(A instanceof r)return A;if(!(this instanceof r))return new r(A);if(!n){n=!0;var a=Object.keys(e),l=o._indices={};o._name=t,o._keys=a,o._defaultValues=e;for(var c=0;c<a.length;c++){var s=a[c];l[s]=c,o[s]?"object"==typeof console&&console.warn&&console.warn("Cannot define "+vZ(this)+' with property "'+s+'" since that property name is part of the Record API.'):IZ(o,s)}}return this.__ownerID=void 0,this._values=dV().withMutations((function(e){e.setSize(i._keys.length),VH(A).forEach((function(t,n){e.set(i._indices[n],t===i._defaultValues[n]?void 0:t)}))})),this},o=r.prototype=Object.create(bZ);return o.constructor=r,t&&(r.displayName=t),r};EZ.prototype.toString=function(){for(var e,t=vZ(this)+" { ",n=this._keys,r=0,o=n.length;r!==o;r++)t+=(r?", ":"")+(e=n[r])+": "+sk(this.get(e));return t+" }"},EZ.prototype.equals=function(e){return this===e||SH(e)&&BZ(this).equals(BZ(e))},EZ.prototype.hashCode=function(){return BZ(this).hashCode()},EZ.prototype.has=function(e){return this._indices.hasOwnProperty(e)},EZ.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._indices[e],r=this._values.get(n);return void 0===r?this._defaultValues[e]:r},EZ.prototype.set=function(e,t){if(this.has(e)){var n=this._values.set(this._indices[e],t===this._defaultValues[e]?void 0:t);if(n!==this._values&&!this.__ownerID)return wZ(this,n)}return this},EZ.prototype.remove=function(e){return this.set(e)},EZ.prototype.clear=function(){var e=this._values.clear().setSize(this._keys.length);return this.__ownerID?this:wZ(this,e)},EZ.prototype.wasAltered=function(){return this._values.wasAltered()},EZ.prototype.toSeq=function(){return BZ(this)},EZ.prototype.toJS=function(){return TV(this)},EZ.prototype.entries=function(){return this.__iterator(2)},EZ.prototype.__iterator=function(e,t){return BZ(this).__iterator(e,t)},EZ.prototype.__iterate=function(e,t){return BZ(this).__iterate(e,t)},EZ.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._values.__ensureOwner(e);return e?wZ(this,t,e):(this.__ownerID=e,this._values=t,this)},EZ.isRecord=SH,EZ.getDescriptiveName=vZ;var bZ=EZ.prototype;function wZ(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._values=t,r.__ownerID=n,r}function vZ(e){return e.constructor.displayName||e.constructor.name||"Record"}function BZ(e){return sD(e._keys.map((function(t){return[t,e.get(t)]})))}function IZ(e,t){try{Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){ok(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}catch(e){}}bZ[OH]=!0,bZ[fH]=bZ.remove,bZ.deleteIn=bZ.removeIn=wk,bZ.getIn=_V,bZ.hasIn=tZ.hasIn,bZ.merge=Mk,bZ.mergeWith=yk,bZ.mergeIn=zk,bZ.mergeDeep=Zk,bZ.mergeDeepWith=Nk,bZ.mergeDeepIn=Pk,bZ.setIn=Ek,bZ.update=Bk,bZ.updateIn=Ik,bZ.withMutations=Ok,bZ.asMutable=Sk,bZ.asImmutable=jk,bZ[XH]=bZ.entries,bZ.toJSON=bZ.toObject=tZ.toObject,bZ.inspect=bZ.toSource=function(){return this.toString()};var MZ,yZ=function(e){function t(e,n){if(!(this instanceof t))return new t(e,n);if(this._value=e,this.size=void 0===n?1/0:Math.max(0,n),0===this.size){if(MZ)return MZ;MZ=this}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},t.prototype.get=function(e,t){return this.has(e)?this._value:t},t.prototype.includes=function(e){return hD(this._value,e)},t.prototype.slice=function(e,n){var r=this.size;return bH(e,n,r)?this:new t(this._value,vH(n,r)-wH(e,r))},t.prototype.reverse=function(){return this},t.prototype.indexOf=function(e){return hD(this._value,e)?0:-1},t.prototype.lastIndexOf=function(e){return hD(this._value,e)?this.size:-1},t.prototype.__iterate=function(e,t){for(var n=this.size,r=0;r!==n&&!1!==e(this._value,t?n-++r:r++,this););return r},t.prototype.__iterator=function(e,t){var n=this,r=this.size,o=0;return new YH((function(){return o===r?{value:void 0,done:!0}:UH(e,t?r-++o:o++,n._value)}))},t.prototype.equals=function(e){return e instanceof t?hD(this._value,e._value):jV(this,e)},t}(rD);function LZ(e,t){return QZ([],t||xZ,e,"",t&&t.length>2?[]:void 0,{"":e})}function QZ(e,t,n,r,o,A){if("string"!=typeof n&&!jH(n)&&(eD(n)||WH(n)||lk(n))){if(~e.indexOf(n))throw new TypeError("Cannot convert circular structure to Immutable");e.push(n),o&&""!==r&&o.push(r);var i=t.call(A,r,tD(n).map((function(r,A){return QZ(e,t,r,A,o,n)})),o&&o.slice());return e.pop(),o&&o.pop(),i}return n}function xZ(e,t){return HH(t)?t.toList():QH(t)?t.toMap():t.toSet()}var HZ,DZ="4.3.7",kZ={version:DZ,Collection:kH,Iterable:kH,Seq:tD,Map:Tk,OrderedMap:yV,List:dV,Stack:kV,Set:RV,OrderedSet:CZ,PairSorting:mZ,Record:EZ,Range:qV,Repeat:yZ,is:hD,fromJS:LZ,hash:wD,isImmutable:jH,isCollection:yH,isKeyed:QH,isIndexed:HH,isAssociative:DH,isOrdered:TH,isValueObject:gD,isPlainObject:lk,isSeq:PH,isList:fV,isMap:uD,isOrderedMap:pD,isStack:DV,isSet:OV,isOrderedSet:SV,isRecord:SH,get:dk,getIn:JV,has:fk,hasIn:$V,merge:Qk,mergeDeep:Hk,mergeWith:xk,mergeDeepWith:Dk,remove:uk,removeIn:bk,set:pk,setIn:mk,update:vk,updateIn:gk},VZ=kH,ZZ=x(Object.freeze({__proto__:null,Collection:kH,Iterable:VZ,List:dV,Map:Tk,OrderedMap:yV,OrderedSet:CZ,PairSorting:mZ,Range:qV,Record:EZ,Repeat:yZ,Seq:tD,Set:RV,Stack:kV,default:kZ,fromJS:LZ,get:dk,getIn:JV,has:fk,hasIn:$V,hash:wD,is:hD,isAssociative:DH,isCollection:yH,isImmutable:jH,isIndexed:HH,isKeyed:QH,isList:fV,isMap:uD,isOrdered:TH,isOrderedMap:pD,isOrderedSet:SV,isPlainObject:lk,isRecord:SH,isSeq:PH,isSet:OV,isStack:DV,isValueObject:gD,merge:Qk,mergeDeep:Hk,mergeDeepWith:Dk,mergeWith:xk,remove:uk,removeIn:bk,set:pk,setIn:mk,update:vk,updateIn:gk,version:DZ}));var NZ=(HZ||(HZ=1,window,sH.exports=function(e,t,n){return A={},r.m=o=[function(e,t,n){e.exports=n(10)()},function(t,n){t.exports=e},function(e,t,n){var r;
56
56
  /*!
57
57
  Copyright (c) 2017 Jed Watson.
58
58
  Licensed under the MIT License (MIT), see
59
59
  http://jedwatson.github.io/classnames
60
- */!function(){var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var A=typeof r;if("string"==A||"number"==A)e.push(r);else if(Array.isArray(r)&&r.length){var i=o.apply(null,r);i&&e.push(i)}else if("object"==A)for(var a in r)n.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,n){e.exports=t},function(e,t,n){function r(e){if(a[e])return a[e].exports;var t=a[e]={i:e,l:!1,exports:{}};return i[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var o,A,i,a;e.exports=(o=n(3),A=n(5),a={},r.m=i=[function(e,t){e.exports=o},function(e,t){e.exports=A},function(e,t,n){e.exports=n(3)},function(e,t,n){n.r(t);var r=n(0),o=n(1);function A(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getStartKey(),o=t.getEndKey(),A=n.getBlockMap();return A.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===o})).concat([[o,A.get(o)]])}function i(e){return A(e).toList()}function a(e){if(e)return i(e).get(0)}function l(e){if(e){var t=a(e),n=e.getCurrentContent().getBlockMap().toSeq().toList(),r=0;if(n.forEach((function(e,n){e.get("key")===t.get("key")&&(r=n-1)})),-1<r)return n.get(r)}}function c(e){return e?e.getCurrentContent().getBlockMap().toList():new o.List}function s(e){var t=i(e);if(!t.some((function(e){return e.type!==t.get(0).type})))return t.get(0).type}function f(e){var t=r.RichUtils.tryToRemoveBlockStyle(e);return t?r.EditorState.push(e,t,"change-block-type"):e}function d(e){var t="",n=e.getSelection(),r=n.getAnchorOffset(),o=n.getFocusOffset(),A=i(e);if(0<A.size){if(n.getIsBackward()){var a=r;r=o,o=a}for(var l=0;l<A.size;l+=1){var c=0===l?r:0,s=l===A.size-1?o:A.get(l).getText().length;t+=A.get(l).getText().slice(c,s)}}return t}function C(e){var t=e.getCurrentContent(),n=e.getSelection(),o=r.Modifier.removeRange(t,n,"forward"),A=o.getSelectionAfter(),i=o.getBlockForKey(A.getStartKey());return o=r.Modifier.insertText(o,A,"\n",i.getInlineStyleAt(A.getStartOffset()),null),r.EditorState.push(e,o,"insert-fragment")}function u(e){var t=r.Modifier.splitBlock(e.getCurrentContent(),e.getSelection());return f(r.EditorState.push(e,t,"split-block"))}function p(e){var t=e.getCurrentContent().getBlockMap().toList(),n=e.getSelection().merge({anchorKey:t.first().get("key"),anchorOffset:0,focusKey:t.last().get("key"),focusOffset:t.last().getLength()}),o=r.Modifier.removeRange(e.getCurrentContent(),n,"forward");return r.EditorState.push(e,o,"remove-range")}function g(e,t){var n=r.Modifier.setBlockData(e.getCurrentContent(),e.getSelection(),t);return r.EditorState.push(e,n,"change-block-data")}function h(e){var t=new o.Map({}),n=i(e);if(n&&0<n.size)for(var r=function(e){var r=n.get(e).getData();if(!r||0===r.size)return t=t.clear(),"break";if(0===e)t=r;else if(t.forEach((function(e,n){r.get(n)&&r.get(n)===e||(t=t.delete(n))})),0===t.size)return t=t.clear(),"break"},A=0;A<n.size&&"break"!==r(A);A+=1);return t}var m=Object(o.Map)({code:{element:"pre"}}),E=r.DefaultDraftBlockRenderMap.merge(m);function b(e){if(e){var t=e.getType();return"unordered-list-item"===t||"ordered-list-item"===t}return!1}function w(e,t,n){var o,i=e.getSelection();o=i.getIsBackward()?i.getFocusKey():i.getAnchorKey();var a=e.getCurrentContent(),l=a.getBlockForKey(o),c=l.getType();if("unordered-list-item"!==c&&"ordered-list-item"!==c)return e;var s=a.getBlockBefore(o);if(!s)return e;if(s.getType()!==c)return e;var f=l.getDepth();if(1===t&&f===n)return e;var d,C,u,p,g,h,m,E=Math.min(s.getDepth()+1,n),b=(C=t,u=E,p=(d=e).getSelection(),h=(g=d.getCurrentContent()).getBlockMap(),m=A(d).map((function(e){var t=e.getDepth()+C;return t=Math.max(0,Math.min(t,u)),e.set("depth",t)})),h=h.merge(m),g.merge({blockMap:h,selectionBefore:p,selectionAfter:p}));return r.EditorState.push(e,b,"adjust-depth")}function v(e,t){var n;return 13===(n=t).which&&(n.getModifierState("Shift")||n.getModifierState("Alt")||n.getModifierState("Control"))?e.getSelection().isCollapsed()?r.RichUtils.insertSoftNewline(e):C(e):function(e){var t=e.getSelection();if(t.isCollapsed()){var n=e.getCurrentContent(),r=t.getStartKey(),o=n.getBlockForKey(r);if(!b(o)&&"unstyled"!==o.getType()&&o.getLength()===t.getStartOffset())return u(e);if(b(o)&&0===o.getLength()){var A=o.getDepth();if(0===A)return f(e);if(0<A)return w(e,-1,A)}}}(e)}function B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M(e){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function y(e){var t=e.getSelection();if(t.isCollapsed()){var n={},r=e.getCurrentInlineStyle().toList().toJS();if(r)return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach((function(e){n[e]=0<=r.indexOf(e)})),n}var o=t.getStartOffset(),A=t.getEndOffset(),a=i(e);if(0<a.size){var l=function(){for(var e={BOLD:!0,ITALIC:!0,UNDERLINE:!0,STRIKETHROUGH:!0,CODE:!0,SUPERSCRIPT:!0,SUBSCRIPT:!0},t=0;t<a.size;t+=1){var n=0===t?o:0,r=t===a.size-1?A:a.get(t).getText().length;n===r&&0===n?(n=1,r=2):n===r&&--n;for(var i=function(n){var r=a.get(t).getInlineStyleAt(n);["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach((function(t){e[t]=e[t]&&r.get(t)===t}))},l=n;l<r;l+=1)i(l)}return{v:e}}();if("object"===M(l))return l.v}return{}}function L(e){var t,n=e.getSelection(),r=n.getStartOffset(),o=n.getEndOffset();r===o&&0===r?o=1:r===o&&--r;for(var A=a(e),i=r;i<o;i+=1){var l=A.getEntityAt(i);if(!l){t=void 0;break}if(i===r)t=l;else if(t!==l){t=void 0;break}}return t}function Q(e,t){var n,r=a(e);return r.findEntityRanges((function(e){return e.get("entity")===t}),(function(e,t){n={start:e,end:t,text:r.get("text").slice(e,t)}})),n}function x(e,t,n){D[e]["".concat(e.toLowerCase(),"-").concat(n)]=I({},"".concat(t),n)}function H(){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(Object(n),!0).forEach((function(t){I(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},D.color,{},D.bgcolor,{},D.fontSize,{},D.fontFamily,{CODE:D.CODE,SUPERSCRIPT:D.SUPERSCRIPT,SUBSCRIPT:D.SUBSCRIPT})}var D={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 k(e,t,n){var o=e.getSelection(),A=Object.keys(D[t]).reduce((function(e,t){return r.Modifier.removeInlineStyle(e,o,t)}),e.getCurrentContent()),i=r.EditorState.push(e,A,"changeinline-style"),a=e.getCurrentInlineStyle();if(o.isCollapsed()&&(i=a.reduce((function(e,t){return r.RichUtils.toggleInlineStyle(e,t)}),i)),"SUPERSCRIPT"===t||"SUBSCRIPT"==t)a.has(n)||(i=r.RichUtils.toggleInlineStyle(i,n));else{var l="bgcolor"===t?"backgroundColor":t;a.has("".concat(l,"-").concat(n))||(i=r.RichUtils.toggleInlineStyle(i,"".concat(t.toLowerCase(),"-").concat(n)),x(t,l,n))}return i}function V(e){e&&e.getCurrentContent().getBlockMap().map((function(e){return e.get("characterList")})).toList().flatten().forEach((function(e){e&&0===e.indexOf("color-")?x("color","color",e.substr(6)):e&&0===e.indexOf("bgcolor-")?x("bgcolor","backgroundColor",e.substr(8)):e&&0===e.indexOf("fontsize-")?x("fontSize","fontSize",+e.substr(9)):e&&0===e.indexOf("fontfamily-")&&x("fontFamily","fontFamily",e.substr(11))}))}function Z(e,t,n){var r=e.getInlineStyleAt(n).toList().filter((function(e){return e.startsWith(t.toLowerCase())}));if(r&&0<r.size)return r.get(0)}function N(e,t){if(e&&t&&0<t.length){var n=function(){var n=e.getSelection(),r={};if(n.isCollapsed())return t.forEach((function(t){r[t]=function(e,t){var n=e.getCurrentInlineStyle().toList().filter((function(e){return e.startsWith(t.toLowerCase())}));if(n&&0<n.size)return n.get(0)}(e,t)})),{v:r};var o=n.getStartOffset(),A=n.getEndOffset(),a=i(e);if(0<a.size){for(var l=function(e){var n=0===e?o:0,i=e===a.size-1?A:a.get(e).getText().length;n===i&&0===n?(n=1,i=2):n===i&&--n;for(var l=function(o){o===n?t.forEach((function(t){r[t]=Z(a.get(e),t,o)})):t.forEach((function(t){r[t]&&r[t]!==Z(a.get(e),t,o)&&(r[t]=void 0)}))},c=n;c<i;c+=1)l(c)},c=0;c<a.size;c+=1)l(c);return{v:r}}}();if("object"===M(n))return n.v}return{}}function z(e){var t=e.getCurrentInlineStyle(),n=e.getCurrentContent();return t.forEach((function(t){n=r.Modifier.removeInlineStyle(n,e.getSelection(),t)})),r.EditorState.push(e,n,"change-inline-style")}n.d(t,"isListBlock",(function(){return b})),n.d(t,"changeDepth",(function(){return w})),n.d(t,"handleNewLine",(function(){return v})),n.d(t,"getEntityRange",(function(){return Q})),n.d(t,"getCustomStyleMap",(function(){return H})),n.d(t,"toggleCustomInlineStyle",(function(){return k})),n.d(t,"getSelectionEntity",(function(){return L})),n.d(t,"extractInlineStyle",(function(){return V})),n.d(t,"removeAllInlineStyles",(function(){return z})),n.d(t,"getSelectionInlineStyle",(function(){return y})),n.d(t,"getSelectionCustomInlineStyle",(function(){return N})),n.d(t,"getSelectedBlocksMap",(function(){return A})),n.d(t,"getSelectedBlocksList",(function(){return i})),n.d(t,"getSelectedBlock",(function(){return a})),n.d(t,"getBlockBeforeSelectedBlock",(function(){return l})),n.d(t,"getAllBlocks",(function(){return c})),n.d(t,"getSelectedBlocksType",(function(){return s})),n.d(t,"removeSelectedBlocksStyle",(function(){return f})),n.d(t,"getSelectionText",(function(){return d})),n.d(t,"addLineBreakRemovingSelection",(function(){return C})),n.d(t,"insertNewUnstyledBlock",(function(){return u})),n.d(t,"clearEditorContent",(function(){return p})),n.d(t,"setBlockData",(function(){return g})),n.d(t,"getSelectedBlocksMetadata",(function(){return h})),n.d(t,"blockRenderMap",(function(){return E}))}],r.c=a,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=2))},function(e,t){e.exports=n},function(e,t,n){function r(e){if(a[e])return a[e].exports;var t=a[e]={i:e,l:!1,exports:{}};return i[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var o,A,i,a;e.exports=(o=n(5),A=n(3),a={},r.m=i=[function(e,t){e.exports=o},function(e,t){e.exports=A},function(e,t,n){e.exports=n(3)},function(e,t,n){n.r(t);var r=n(1),o=n(0),A=function(e,t,n){var r,A=e.textContent;return""===A.trim()?{chunk:(r=n,{text:" ",inlines:[new o.OrderedSet],entities:[r],blocks:[]})}:{chunk:{text:A,inlines:Array(A.length).fill(t),entities:Array(A.length).fill(n),blocks:[]}}},i=function(){return{text:"\n",inlines:[new o.OrderedSet],entities:new Array(1),blocks:[]}},a=function(){return{text:"",inlines:[],entities:[],blocks:[]}},l=function(e,t){return{text:"",inlines:[],entities:[],blocks:[{type:e,depth:0,data:t||new o.Map({})}]}},c=function(e,t,n){return{text:"\r",inlines:[],entities:[],blocks:[{type:e,depth:Math.max(0,Math.min(4,t)),data:n||new o.Map({})}]}},s=function(e){return{text:"\r ",inlines:[new o.OrderedSet],entities:[e],blocks:[{type:"atomic",depth:0,data:new o.Map({})}]}},f=function(e,t){return{text:e.text+t.text,inlines:e.inlines.concat(t.inlines),entities:e.entities.concat(t.entities),blocks:e.blocks.concat(t.blocks)}},d=new o.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"]}}),C={code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",strong:"BOLD",ins:"UNDERLINE",sub:"SUBSCRIPT",sup:"SUPERSCRIPT"};function u(e){return e.style.textAlign?new o.Map({"text-align":e.style.textAlign}):e.style.marginLeft?new o.Map({"margin-left":e.style.marginLeft}):void 0}var p=function(e){var t=void 0;if(e instanceof HTMLAnchorElement){var n={};t=e.dataset&&void 0!==e.dataset.mention?(n.url=e.href,n.text=e.innerHTML,n.value=e.dataset.value,r.Entity.__create("MENTION","IMMUTABLE",n)):(n.url=e.getAttribute&&e.getAttribute("href")||e.href,n.title=e.innerHTML,n.targetOption=e.target,r.Entity.__create("LINK","MUTABLE",n))}return t};n.d(t,"default",(function(){return E}));var g=" ",h=new RegExp("&nbsp;","g"),m=!0;function E(e,t){var n,E,b=(n=t,(E=function(e){var t,n=null;return document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n}(e.trim().replace(h,g)))?(m=!0,{chunk:function e(t,n,o,g,h,E){var b=t.nodeName.toLowerCase();if(E){var w=E(b,t);if(w){var v=r.Entity.__create(w.type,w.mutability,w.data||{});return{chunk:s(v)}}}if("#text"===b&&"\n"!==t.textContent)return A(t,n,h);if("br"===b)return{chunk:i()};if("img"===b&&t instanceof HTMLImageElement){var B={};B.src=t.getAttribute&&t.getAttribute("src")||t.src,B.alt=t.alt,B.height=t.style.height,B.width=t.style.width,t.style.float&&(B.alignment=t.style.float);var I=r.Entity.__create("IMAGE","MUTABLE",B);return{chunk:s(I)}}if("video"===b&&t instanceof HTMLVideoElement){var M={};M.src=t.getAttribute&&t.getAttribute("src")||t.src,M.alt=t.alt,M.height=t.style.height,M.width=t.style.width,t.style.float&&(M.alignment=t.style.float);var y=r.Entity.__create("VIDEO","MUTABLE",M);return{chunk:s(y)}}if("iframe"===b&&t instanceof HTMLIFrameElement){var L={};L.src=t.getAttribute&&t.getAttribute("src")||t.src,L.height=t.height,L.width=t.width;var Q=r.Entity.__create("EMBEDDED_LINK","MUTABLE",L);return{chunk:s(Q)}}var x,H=function(e,t){var n=d.filter((function(n){return n.element===e&&(!n.wrapper||n.wrapper===t)||n.wrapper===e||n.aliasedElements&&-1<n.aliasedElements.indexOf(e)})).keySeq().toSet().toArray();if(1===n.length)return n[0]}(b,g);H&&("ul"===b||"ol"===b?(g=b,o+=1):("unordered-list-item"!==H&&"ordered-list-item"!==H&&(g="",o=-1),m?(x=l(H,u(t)),m=!1):x=c(H,o,u(t)))),x=x||a(),n=function(e,t,n){var r,o=C[e];if(o)r=n.add(o).toOrderedSet();else if(t instanceof HTMLElement){var A=t;r=(r=n).withMutations((function(e){var t=A.style.color,n=A.style.backgroundColor,r=A.style.fontSize,o=A.style.fontFamily.replace(/^"|"$/g,""),i=A.style.fontWeight,a=A.style.textDecoration,l=A.style.fontStyle;t&&e.add("color-".concat(t.replace(/ /g,""))),n&&e.add("bgcolor-".concat(n.replace(/ /g,""))),r&&e.add("fontsize-".concat(r.replace(/px$/g,""))),o&&e.add("fontfamily-".concat(o)),"bold"===i&&e.add(C.strong),"underline"===a&&e.add(C.ins),"italic"===l&&e.add(C.em)})).toOrderedSet()}return r}(b,t,n);for(var D=t.firstChild;D;){var k=e(D,n,o,g,p(D)||h,E).chunk;x=f(x,k),D=D.nextSibling}return{chunk:x}}(E,new o.OrderedSet,-1,"",void 0,n).chunk}):null);if(b){var w=b.chunk,v=new o.OrderedMap({});w.entities&&w.entities.forEach((function(e){e&&(v=v.set(e,r.Entity.__get(e)))}));var B=0;return{contentBlocks:w.text.split("\r").map((function(e,t){var n=B+e.length,A=w&&w.inlines.slice(B,n),i=w&&w.entities.slice(B,n),a=new o.List(A.map((function(e,t){var n={style:e,entity:null};return i[t]&&(n.entity=i[t]),r.CharacterMetadata.create(n)})));return B=n,new r.ContentBlock({key:Object(r.genKey)(),type:w&&w.blocks[t]&&w.blocks[t].type||"unstyled",depth:w&&w.blocks[t]&&w.blocks[t].depth,data:w&&w.blocks[t]&&w.blocks[t].data||new o.Map({}),text:e,characterList:a})})),entityMap:v}}return null}}],r.c=a,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=2))},function(e,t,n){function r(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function o(e){return Object.prototype.toString.call(e)}function A(e){return"[object Function]"===o(e)}function i(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var a={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},l={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new 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(r)?3<=t&&":"===e[t-3]||3<=t&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},c="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]",s="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function f(){return function(e,t){t.normalize(e)}}function d(e){var t=e.re=n(21)(e.__opts__),r=e.__tlds__.slice();function a(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push(c),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(a(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(a(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(a(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(a(t.tpl_host_fuzzy_test),"i");var l=[];function s(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r,i={validate:null,link:null};if(e.__compiled__[t]=i,"[object Object]"===o(n))return"[object RegExp]"===o(n.validate)?i.validate=(r=n.validate,function(e,t){var n=e.slice(t);return r.test(n)?n.match(r)[0].length:0}):A(n.validate)?i.validate=n.validate:s(t,n),void(A(n.normalize)?i.normalize=n.normalize:n.normalize?s(t,n):i.normalize=f());"[object String]"!==o(n)?s(t,n):l.push(t)}})),l.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:f()};var d,C=Object.keys(e.__compiled__).filter((function(t){return 0<t.length&&e.__compiled__[t]})).map(i).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+C+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+C+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),(d=e).__index__=-1,d.__text_cache__=""}function C(e,t){var n=e.__index__,r=e.__last_index__,o=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=o,this.text=o,this.url=o}function u(e,t){var n=new C(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function p(e,t){if(!(this instanceof p))return new p(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||a.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},a,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},l,e),this.__compiled__={},this.__tlds__=s,this.__tlds_replaced__=!1,this.re={},d(this)}p.prototype.add=function(e,t){return this.__schemas__[e]=t,d(this),this},p.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},p.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,o,A,i,a,l;if(this.re.schema_test.test(e))for((a=this.re.schema_search).lastIndex=0;null!==(t=a.exec(e));)if(o=this.testSchemaAt(e,t[2],a.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&0<=(l=e.search(this.re.host_fuzzy_test))&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(A=n.index+n[1].length,(this.__index__<0||A<this.__index__)&&(this.__schema__="",this.__index__=A,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&0<=e.indexOf("@")&&null!==(r=e.match(this.re.email_fuzzy))&&(A=r.index+r[1].length,i=r.index+r[0].length,(this.__index__<0||A<this.__index__||A===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=A,this.__last_index__=i)),0<=this.__index__},p.prototype.pretest=function(e){return this.re.pretest.test(e)},p.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},p.prototype.match=function(e){var t=0,n=[];0<=this.__index__&&this.__text_cache__===e&&(n.push(u(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(u(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},p.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse():(this.__tlds__=e.slice(),this.__tlds_replaced__=!0),d(this),this},p.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},p.prototype.onCompile=function(){},e.exports=p},function(e,t,n){e.exports=n(40)},function(e,t,n){},function(e,t,n){var r=n(11);function o(){}function A(){}A.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,A,i){if(i!==r){var a=new 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 t(){return e}var n={array:e.isRequired=e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:A,resetWarningCache:o};return n.PropTypes=n}},function(e,t,n){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){e.exports=function(e){var t={};t.src_Any=n(22).source,t.src_Cc=n(23).source,t.src_Z=n(24).source,t.src_P=n(25).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var r="[><|]";return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.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]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+r+"|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(e,t){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(e,t){e.exports=/[\0-\x1F\x7F-\x9F]/},function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(e,t){e.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(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){n.r(t),n.d(t,"Editor",(function(){return no}));var r=n(1),o=n.n(r),A=n(0),i=n.n(A),a=n(3),l=n(4),c=n(2),s=n.n(c);function f(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}var d=f((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.callBacks=[],this.suggestionCallback=void 0,this.editorFlag=!1,this.suggestionFlag=!1,this.closeAllModals=function(e){t.callBacks.forEach((function(t){t(e)}))},this.init=function(e){var n=document.getElementById(e);n&&n.addEventListener("click",(function(){t.editorFlag=!0})),document&&(document.addEventListener("click",(function(){t.editorFlag?t.editorFlag=!1:(t.closeAllModals(),t.suggestionCallback&&t.suggestionCallback())})),document.addEventListener("keydown",(function(e){"Escape"===e.key&&t.closeAllModals()})))},this.onEditorClick=function(){t.closeModals(),!t.suggestionFlag&&t.suggestionCallback?t.suggestionCallback():t.suggestionFlag=!1},this.closeModals=function(e){t.closeAllModals(e)},this.registerCallBack=function(e){t.callBacks.push(e)},this.deregisterCallBack=function(e){t.callBacks=t.callBacks.filter((function(t){return t!==e}))},this.setSuggestionCallback=function(e){t.suggestionCallback=e},this.removeSuggestionCallback=function(){t.suggestionCallback=void 0},this.onSuggestionClick=function(){t.suggestionFlag=!0}}));function C(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}var u,p=C((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.inputFocused=!1,this.editorMouseDown=!1,this.onEditorMouseDown=function(){t.editorFocused=!0},this.onInputMouseDown=function(){t.inputFocused=!0},this.isEditorBlur=function(e){return"INPUT"!==e.target.tagName&&"LABEL"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName||t.editorFocused?!("INPUT"===e.target.tagName&&"LABEL"===e.target.tagName&&"TEXTAREA"===e.target.tagName||t.inputFocused||(t.editorFocused=!1)):!(t.inputFocused=!1)},this.isEditorFocused=function(){return!t.inputFocused||(t.inputFocused=!1)},this.isToolbarFocused=function(){return!t.editorFocused||(t.editorFocused=!1)},this.isInputFocused=function(){return t.inputFocused}})),g=[],h={onKeyDown:function(e){g.forEach((function(t){t(e)}))},registerCallBack:function(e){g.push(e)},deregisterCallBack:function(e){g=g.filter((function(t){return t!==e}))}},m=function(){u=!0},E=function(){u=!1},b=function(){return u};function w(e){var t=e.getData()&&e.getData().get("text-align");return t?"rdw-".concat(t,"-aligned-block"):""}function v(e,t){if(e)for(var n in e)!{}.hasOwnProperty.call(e,n)||t(n,e[n])}function B(e,t){var n=!1;if(e)for(var r in e)if({}.hasOwnProperty.call(e,r)&&t===r){n=!0;break}return n}function I(e){e.stopPropagation()}function M(e){return e[e.options[0]].icon}function y(e,t){if(e&&void 0===t)return e;var n={};return v(e,(function(e,r){var o;o=r,"[object Object]"===Object.prototype.toString.call(o)?n[e]=y(r,t[e]):n[e]=void 0!==t[e]?t[e]:r})),n}var L=n(6),Q=n.n(L),x=n(5);function H(e){return(H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function V(e,t){return(V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=N(e);if(t){var o=N(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===H(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(9);var z=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&V(e,t)}(A,r.Component);var e,t,n=Z(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).onClick=function(){var t=e.props,n=t.disabled,r=t.onClick,o=t.value;n||r(o)},e}return e=A,(t=[{key:"render",value:function(){var e,t=this.props,n=t.children,r=t.className,A=t.activeClassName,i=t.active,a=t.disabled,l=t.title;return o.a.createElement("div",{className:s()("rdw-option-wrapper",r,(D(e={},"rdw-option-active ".concat(A),i),D(e,"rdw-option-disabled",a),e)),onClick:this.onClick,"aria-selected":i,title:l},n)}}])&&k(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function P(e){return(P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function S(e,t){return(S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function j(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=F(e);if(t){var o=F(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===P(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}z.propTypes={onClick:i.a.func.isRequired,children:i.a.any,value:i.a.string,className:i.a.string,activeClassName:i.a.string,active:i.a.bool,disabled:i.a.bool,title:i.a.string},z.defaultProps={activeClassName:""},n(12);var T=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&S(e,t)}(A,r.Component);var e,t,n=j(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).state={highlighted:-1},e.onChange=function(t){var n=e.props.onChange;n&&n(t),e.toggleExpansion()},e.setHighlighted=function(t){e.setState({highlighted:t})},e.toggleExpansion=function(){var t=e.props,n=t.doExpand,r=t.doCollapse;t.expanded?r():n()},e}return e=A,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.expanded;e.expanded&&!t&&this.setState({highlighted:-1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.expanded,r=t.children,A=t.className,i=t.optionWrapperClassName,a=t.ariaLabel,l=t.onExpandEvent,c=t.title,f=this.state.highlighted,d=r.slice(1,r.length);return o.a.createElement("div",{className:s()("rdw-dropdown-wrapper",A),"aria-expanded":n,"aria-label":a||"rdw-dropdown"},o.a.createElement("a",{className:"rdw-dropdown-selectedtext",onClick:l,title:c},r[0],o.a.createElement("div",{className:s()({"rdw-dropdown-carettoclose":n,"rdw-dropdown-carettoopen":!n})})),n?o.a.createElement("ul",{className:s()("rdw-dropdown-optionwrapper",i),onClick:I},o.a.Children.map(d,(function(t,n){return t&&o.a.cloneElement(t,{onSelect:e.onChange,highlighted:f===n,setHighlighted:e.setHighlighted,index:n})}))):void 0)}}])&&O(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function R(e){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function G(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function X(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Y(e,t){return(Y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function U(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=K(e);if(t){var o=K(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===R(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}T.propTypes={children:i.a.any,onChange:i.a.func,className:i.a.string,expanded:i.a.bool,doExpand:i.a.func,doCollapse:i.a.func,onExpandEvent:i.a.func,optionWrapperClassName:i.a.string,ariaLabel:i.a.string,title:i.a.string},n(13);var W=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Y(e,t)}(A,r.Component);var e,t,n=U(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).onClick=function(t){var n=e.props,r=n.onSelect,o=n.onClick,A=n.value;n.disabled||(r&&r(A),o&&(t.stopPropagation(),o(A)))},e.setHighlighted=function(){var t=e.props;(0,t.setHighlighted)(t.index)},e.resetHighlighted=function(){(0,e.props.setHighlighted)(-1)},e}return e=A,(t=[{key:"render",value:function(){var e,t=this.props,n=t.children,r=t.active,A=t.disabled,i=t.highlighted,a=t.className,l=t.activeClassName,c=t.disabledClassName,f=t.highlightedClassName,d=t.title;return o.a.createElement("li",{className:s()("rdw-dropdownoption-default",a,(G(e={},"rdw-dropdownoption-active ".concat(l),r),G(e,"rdw-dropdownoption-highlighted ".concat(f),i),G(e,"rdw-dropdownoption-disabled ".concat(c),A),e)),onMouseEnter:this.setHighlighted,onMouseLeave:this.resetHighlighted,onClick:this.onClick,title:d},n)}}])&&X(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function q(e){return(q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function J(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _(e,t){return(_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function $(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ee(e);if(t){var o=ee(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===q(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function ee(e){return(ee=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}W.propTypes={children:i.a.any,value:i.a.any,onClick:i.a.func,onSelect:i.a.func,setHighlighted:i.a.func,index:i.a.number,disabled:i.a.bool,active:i.a.bool,highlighted:i.a.bool,className:i.a.string,activeClassName:i.a.string,disabledClassName:i.a.string,highlightedClassName:i.a.string,title:i.a.string},W.defaultProps={activeClassName:"",disabledClassName:"",highlightedClassName:""},n(14);var te=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_(e,t)}(A,r.Component);var e,t,n=$(A);function A(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),n.apply(this,arguments)}return e=A,(t=[{key:"renderInFlatList",value:function(){var e=this.props,t=e.config,n=e.currentState,r=e.onChange,A=e.translations;return o.a.createElement("div",{className:s()("rdw-inline-wrapper",t.className),"aria-label":"rdw-inline-control"},t.options.map((function(e,i){return o.a.createElement(z,{key:i,value:e,onClick:r,className:s()(t[e].className),active:!0===n[e]||"MONOSPACE"===e&&n.CODE,title:t[e].title||A["components.controls.inline.".concat(e)]},o.a.createElement("img",{alt:"",src:t[e].icon}))})))}},{key:"renderInDropDown",value:function(){var e=this.props,t=e.config,n=e.expanded,r=e.doExpand,A=e.onExpandEvent,i=e.doCollapse,a=e.currentState,l=e.onChange,c=e.translations,f=t.className,d=t.dropdownClassName,C=t.title;return o.a.createElement(T,{className:s()("rdw-inline-dropdown",f),optionWrapperClassName:s()(d),onChange:l,expanded:n,doExpand:r,doCollapse:i,onExpandEvent:A,"aria-label":"rdw-inline-control",title:C},o.a.createElement("img",{src:M(t),alt:""}),t.options.map((function(e,n){return o.a.createElement(W,{key:n,value:e,className:s()("rdw-inline-dropdownoption",t[e].className),active:!0===a[e]||"MONOSPACE"===e&&a.CODE,title:t[e].title||c["components.controls.inline.".concat(e)]},o.a.createElement("img",{src:t[e].icon,alt:""}))})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&J(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function ne(e){return(ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function re(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oe(e,t){return(oe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ae(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ie(e);if(t){var o=ie(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===ne(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function ie(e){return(ie=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}te.propTypes={expanded:i.a.bool,doExpand:i.a.func,doCollapse:i.a.func,onExpandEvent:i.a.func,config:i.a.object,onChange:i.a.func,currentState:i.a.object,translations:i.a.object};var ae=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&oe(e,t)}(A,r.Component);var e,t,n=Ae(A);function A(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),(t=n.call(this,e)).onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.expandCollapse=function(){t.setState({expanded:t.signalExpanded}),t.signalExpanded=!1},t.toggleInlineStyle=function(e){var n="monospace"===e?"CODE":e.toUpperCase(),r=t.props,o=r.editorState,A=r.onChange,i=a.RichUtils.toggleInlineStyle(o,n);if("subscript"===e||"superscript"===e){var l="subscript"===e?"SUPERSCRIPT":"SUBSCRIPT",c=a.Modifier.removeInlineStyle(i.getCurrentContent(),i.getSelection(),l);i=a.EditorState.push(i,c,"change-inline-style")}i&&A(i)},t.changeKeys=function(e){if(e){var t={};return v(e,(function(e,n){t["CODE"===e?"monospace":e.toLowerCase()]=n})),t}},t.doExpand=function(){t.setState({expanded:!0})},t.doCollapse=function(){t.setState({expanded:!1})};var r=t.props,o=r.editorState,i=r.modalHandler;return t.state={currentStyles:o?t.changeKeys(Object(l.getSelectionInlineStyle)(o)):{}},i.registerCallBack(t.expandCollapse),t}return e=A,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t&&t!==e.editorState&&this.setState({currentStyles:this.changeKeys(Object(l.getSelectionInlineStyle)(t))})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state,A=r.expanded,i=r.currentStyles,a=t.component||te;return o.a.createElement(a,{config:t,translations:n,currentState:i,expanded:A,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.toggleInlineStyle})}}])&&re(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function le(e){return(le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function se(e,t){return(se=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function fe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=de(e);if(t){var o=de(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===le(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function de(e){return(de=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}ae.propTypes={onChange:i.a.func.isRequired,editorState:i.a.object.isRequired,modalHandler:i.a.object,config:i.a.object,translations:i.a.object},n(15);var Ce=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&se(e,t)}(A,r.Component);var e,t,n=fe(A);function A(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),(t=n.call(this,e)).getBlockTypes=function(e){return[{label:"Normal",displayName:e["components.controls.blocktype.normal"]},{label:"H1",displayName:e["components.controls.blocktype.h1"]},{label:"H2",displayName:e["components.controls.blocktype.h2"]},{label:"H3",displayName:e["components.controls.blocktype.h3"]},{label:"H4",displayName:e["components.controls.blocktype.h4"]},{label:"H5",displayName:e["components.controls.blocktype.h5"]},{label:"H6",displayName:e["components.controls.blocktype.h6"]},{label:"Blockquote",displayName:e["components.controls.blocktype.blockquote"]},{label:"Code",displayName:e["components.controls.blocktype.code"]}]},t.state={blockTypes:t.getBlockTypes(e.translations)},t}return e=A,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.translations;t!==e.translations&&this.setState({blockTypes:this.getBlockTypes(t)})}},{key:"renderFlat",value:function(e){var t=this.props,n=t.config.className,r=t.onChange,A=t.currentState.blockType;return o.a.createElement("div",{className:s()("rdw-inline-wrapper",n)},e.map((function(e,t){return o.a.createElement(z,{key:t,value:e.label,active:A===e.label,onClick:r},e.displayName)})))}},{key:"renderInDropdown",value:function(e){var t=this.props,n=t.config,r=n.className,A=n.dropdownClassName,i=n.title,a=t.currentState.blockType,l=t.expanded,c=t.doExpand,f=t.onExpandEvent,d=t.doCollapse,C=t.onChange,u=t.translations,p=this.state.blockTypes.filter((function(e){return e.label===a})),g=p&&p[0]&&p[0].displayName;return o.a.createElement("div",{className:"rdw-block-wrapper","aria-label":"rdw-block-control"},o.a.createElement(T,{className:s()("rdw-block-dropdown",r),optionWrapperClassName:s()(A),onChange:C,expanded:l,doExpand:c,doCollapse:d,onExpandEvent:f,title:i||u["components.controls.blocktype.blocktype"]},o.a.createElement("span",null,g||u["components.controls.blocktype.blocktype"]),e.map((function(e,t){return o.a.createElement(W,{active:a===e.label,value:e.label,key:t},e.displayName)}))))}},{key:"render",value:function(){var e=this.props.config,t=e.inDropdown,n=this.state.blockTypes.filter((function(t){var n=t.label;return-1<e.options.indexOf(n)}));return t?this.renderInDropdown(n):this.renderFlat(n)}}])&&ce(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();Ce.propTypes={expanded:i.a.bool,onExpandEvent:i.a.func,doExpand:i.a.func,doCollapse:i.a.func,onChange:i.a.func,config:i.a.object,currentState:i.a.object,translations:i.a.object};var ue=Ce;function pe(e){return(pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ge(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function he(e,t){return(he=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function me(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ee(e);if(t){var o=Ee(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===pe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function Ee(e){return(Ee=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var be=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&he(e,t)}(A,r.Component);var e,t,n=me(A);function A(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),(t=n.call(this,e)).onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.expandCollapse=function(){t.setState({expanded:t.signalExpanded}),t.signalExpanded=!1},t.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"}],t.doExpand=function(){t.setState({expanded:!0})},t.doCollapse=function(){t.setState({expanded:!1})},t.toggleBlockType=function(e){var n=t.blocksTypes.find((function(t){return t.label===e})).style,r=t.props,o=r.editorState,A=r.onChange,i=a.RichUtils.toggleBlockType(o,n);i&&A(i)};var r=e.editorState,o=e.modalHandler;return t.state={expanded:!1,currentBlockType:r?Object(l.getSelectedBlocksType)(r):"unstyled"},o.registerCallBack(t.expandCollapse),t}return e=A,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t&&t!==e.editorState&&this.setState({currentBlockType:Object(l.getSelectedBlocksType)(t)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state,A=r.expanded,i=r.currentBlockType,a=t.component||ue,l=this.blocksTypes.find((function(e){return e.style===i}));return o.a.createElement(a,{config:t,translations:n,currentState:{blockType:l&&l.label},onChange:this.toggleBlockType,expanded:A,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&ge(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();be.propTypes={onChange:i.a.func.isRequired,editorState:i.a.object,modalHandler:i.a.object,config:i.a.object,translations:i.a.object};var we=be;function ve(e){return(ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Be(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ie(e,t){return(Ie=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Me(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ye(e);if(t){var o=ye(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===ve(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function ye(e){return(ye=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(16);var Le=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ie(e,t)}(A,r.Component);var e,t,n=Me(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).state={defaultFontSize:void 0},e}return e=A,(t=[{key:"componentDidMount",value:function(){var e=document.getElementsByClassName("DraftEditor-root");if(e&&0<e.length){var t=window.getComputedStyle(e[0]).getPropertyValue("font-size");t=t.substring(0,t.length-2),this.setState({defaultFontSize:t})}}},{key:"render",value:function(){var e=this.props,t=e.config,n=t.icon,r=t.className,A=t.dropdownClassName,i=t.options,a=t.title,l=e.onChange,c=e.expanded,f=e.doCollapse,d=e.onExpandEvent,C=e.doExpand,u=e.translations,p=this.props.currentState.fontSize,g=this.state.defaultFontSize;return g=Number(g),p=p||i&&0<=i.indexOf(g)&&g,o.a.createElement("div",{className:"rdw-fontsize-wrapper","aria-label":"rdw-font-size-control"},o.a.createElement(T,{className:s()("rdw-fontsize-dropdown",r),optionWrapperClassName:s()(A),onChange:l,expanded:c,doExpand:C,doCollapse:f,onExpandEvent:d,title:a||u["components.controls.fontsize.fontsize"]},p?o.a.createElement("span",null,p):o.a.createElement("img",{src:n,alt:""}),i.map((function(e,t){return o.a.createElement(W,{className:"rdw-fontsize-option",active:p===e,value:e,key:t},e)}))))}}])&&Be(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function Qe(e){return(Qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function He(e,t){return(He=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function De(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ke(e);if(t){var o=ke(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Qe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function ke(e){return(ke=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Le.propTypes={expanded:i.a.bool,onExpandEvent:i.a.func,doExpand:i.a.func,doCollapse:i.a.func,onChange:i.a.func,config:i.a.object,currentState:i.a.object,translations:i.a.object};var Ve=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&He(e,t)}(A,r.Component);var e,t,n=De(A);function A(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),(t=n.call(this,e)).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.toggleFontSize=function(e){var n=t.props,r=n.editorState,o=n.onChange,A=Object(l.toggleCustomInlineStyle)(r,"fontSize",e);A&&o(A)};var r=e.editorState,o=e.modalHandler;return t.state={expanded:void 0,currentFontSize:r?Object(l.getSelectionCustomInlineStyle)(r,["FONTSIZE"]).FONTSIZE:void 0},o.registerCallBack(t.expandCollapse),t}return e=A,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t&&t!==e.editorState&&this.setState({currentFontSize:Object(l.getSelectionCustomInlineStyle)(t,["FONTSIZE"]).FONTSIZE})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state,A=r.expanded,i=r.currentFontSize,a=t.component||Le,l=i&&Number(i.substring(9));return o.a.createElement(a,{config:t,translations:n,currentState:{fontSize:l},onChange:this.toggleFontSize,expanded:A,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&xe(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function Ze(e){return(Ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ze(e,t){return(ze=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Pe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Oe(e);if(t){var o=Oe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Ze(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function Oe(e){return(Oe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Ve.propTypes={onChange:i.a.func.isRequired,editorState:i.a.object,modalHandler:i.a.object,config:i.a.object,translations:i.a.object},n(17);var Se=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ze(e,t)}(A,r.Component);var e,t,n=Pe(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).state={defaultFontFamily:void 0},e}return e=A,(t=[{key:"componentDidMount",value:function(){var e=document.getElementsByClassName("DraftEditor-root");if(e&&0<e.length){var t=window.getComputedStyle(e[0]).getPropertyValue("font-family");this.setState({defaultFontFamily:t})}}},{key:"render",value:function(){var e=this.state.defaultFontFamily,t=this.props,n=t.config,r=n.className,A=n.dropdownClassName,i=n.options,a=n.title,l=t.translations,c=t.onChange,f=t.expanded,d=t.doCollapse,C=t.onExpandEvent,u=t.doExpand,p=this.props.currentState.fontFamily;return p=p||i&&e&&i.some((function(t){return t.toLowerCase()===e.toLowerCase()}))&&e,o.a.createElement("div",{className:"rdw-fontfamily-wrapper","aria-label":"rdw-font-family-control"},o.a.createElement(T,{className:s()("rdw-fontfamily-dropdown",r),optionWrapperClassName:s()("rdw-fontfamily-optionwrapper",A),onChange:c,expanded:f,doExpand:u,doCollapse:d,onExpandEvent:C,title:a||l["components.controls.fontfamily.fontfamily"]},o.a.createElement("span",{className:"rdw-fontfamily-placeholder"},p||l["components.controls.fontfamily.fontfamily"]),i.map((function(e,t){return o.a.createElement(W,{active:p===e,value:e,key:t},e)}))))}}])&&Ne(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();Se.propTypes={expanded:i.a.bool,onExpandEvent:i.a.func,doExpand:i.a.func,doCollapse:i.a.func,onChange:i.a.func,config:i.a.object,currentState:i.a.object,translations:i.a.object};var je=Se;function Fe(e){return(Fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Te(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Re(e,t){return(Re=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ge(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Xe(e);if(t){var o=Xe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Fe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function Xe(e){return(Xe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ye=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Re(e,t)}(A,r.Component);var e,t,n=Ge(A);function A(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),(t=n.call(this,e)).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.toggleFontFamily=function(e){var n=t.props,r=n.editorState,o=n.onChange,A=Object(l.toggleCustomInlineStyle)(r,"fontFamily",e);A&&o(A)};var r=e.editorState,o=e.modalHandler;return t.state={expanded:void 0,currentFontFamily:r?Object(l.getSelectionCustomInlineStyle)(r,["FONTFAMILY"]).FONTFAMILY:void 0},o.registerCallBack(t.expandCollapse),t}return e=A,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t&&t!==e.editorState&&this.setState({currentFontFamily:Object(l.getSelectionCustomInlineStyle)(t,["FONTFAMILY"]).FONTFAMILY})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state,A=r.expanded,i=r.currentFontFamily,a=t.component||je,l=i&&i.substring(11);return o.a.createElement(a,{translations:n,config:t,currentState:{fontFamily:l},onChange:this.toggleFontFamily,expanded:A,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&Te(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function Ue(e){return(Ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ke(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function We(e,t){return(We=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function qe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Je(e);if(t){var o=Je(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Ue(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function Je(e){return(Je=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Ye.propTypes={onChange:i.a.func.isRequired,editorState:i.a.object,modalHandler:i.a.object,config:i.a.object,translations:i.a.object},n(18);var _e=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&We(e,t)}(A,r.Component);var e,t,n=qe(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).options=["unordered","ordered","indent","outdent"],e.toggleBlockType=function(t){(0,e.props.onChange)(t)},e.indent=function(){(0,e.props.onChange)("indent")},e.outdent=function(){(0,e.props.onChange)("outdent")},e}return e=A,(t=[{key:"renderInFlatList",value:function(){var e=this.props,t=e.config,n=e.currentState.listType,r=e.translations,A=e.indentDisabled,i=e.outdentDisabled,a=t.options,l=t.unordered,c=t.ordered,f=t.indent,d=t.outdent,C=t.className;return o.a.createElement("div",{className:s()("rdw-list-wrapper",C),"aria-label":"rdw-list-control"},0<=a.indexOf("unordered")&&o.a.createElement(z,{value:"unordered",onClick:this.toggleBlockType,className:s()(l.className),active:"unordered"===n,title:l.title||r["components.controls.list.unordered"]},o.a.createElement("img",{src:l.icon,alt:""})),0<=a.indexOf("ordered")&&o.a.createElement(z,{value:"ordered",onClick:this.toggleBlockType,className:s()(c.className),active:"ordered"===n,title:c.title||r["components.controls.list.ordered"]},o.a.createElement("img",{src:c.icon,alt:""})),0<=a.indexOf("indent")&&o.a.createElement(z,{onClick:this.indent,disabled:A,className:s()(f.className),title:f.title||r["components.controls.list.indent"]},o.a.createElement("img",{src:f.icon,alt:""})),0<=a.indexOf("outdent")&&o.a.createElement(z,{onClick:this.outdent,disabled:i,className:s()(d.className),title:d.title||r["components.controls.list.outdent"]},o.a.createElement("img",{src:d.icon,alt:""})))}},{key:"renderInDropDown",value:function(){var e=this,t=this.props,n=t.config,r=t.expanded,A=t.doCollapse,i=t.doExpand,a=t.onExpandEvent,l=t.onChange,c=t.currentState.listType,f=t.translations,d=n.options,C=n.className,u=n.dropdownClassName,p=n.title;return o.a.createElement(T,{className:s()("rdw-list-dropdown",C),optionWrapperClassName:s()(u),onChange:l,expanded:r,doExpand:i,doCollapse:A,onExpandEvent:a,"aria-label":"rdw-list-control",title:p||f["components.controls.list.list"]},o.a.createElement("img",{src:M(n),alt:""}),this.options.filter((function(e){return 0<=d.indexOf(e)})).map((function(t,r){return o.a.createElement(W,{key:r,value:t,disabled:e.props["".concat(t,"Disabled")],className:s()("rdw-list-dropdownOption",n[t].className),active:c===t,title:n[t].title||f["components.controls.list.".concat(t)]},o.a.createElement("img",{src:n[t].icon,alt:""}))})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&Ke(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function $e(e){return($e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function et(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function tt(e,t){return(tt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function nt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=rt(e);if(t){var o=rt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===$e(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function rt(e){return(rt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}_e.propTypes={expanded:i.a.bool,doExpand:i.a.func,doCollapse:i.a.func,onExpandEvent:i.a.func,config:i.a.object,onChange:i.a.func,currentState:i.a.object,translations:i.a.object,indentDisabled:i.a.bool,outdentDisabled:i.a.bool};var ot=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&tt(e,t)}(A,r.Component);var e,t,n=nt(A);function A(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),(t=n.call(this,e)).onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.onChange=function(e){"unordered"===e?t.toggleBlockType("unordered-list-item"):"ordered"===e?t.toggleBlockType("ordered-list-item"):"indent"===e?t.adjustDepth(1):t.adjustDepth(-1)},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.toggleBlockType=function(e){var n=t.props,r=n.onChange,o=n.editorState,A=a.RichUtils.toggleBlockType(o,e);A&&r(A)},t.adjustDepth=function(e){var n=t.props,r=n.onChange,o=n.editorState,A=Object(l.changeDepth)(o,e,4);A&&r(A)},t.isIndentDisabled=function(){var e=t.props.editorState,n=t.state.currentBlock,r=Object(l.getBlockBeforeSelectedBlock)(e);return!r||!Object(l.isListBlock)(n)||r.get("type")!==n.get("type")||r.get("depth")<n.get("depth")},t.isOutdentDisabled=function(){var e=t.state.currentBlock;return!e||!Object(l.isListBlock)(e)||e.get("depth")<=0};var r=t.props,o=r.editorState,i=r.modalHandler;return t.state={expanded:!1,currentBlock:o?Object(l.getSelectedBlock)(o):void 0},i.registerCallBack(t.expandCollapse),t}return e=A,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t&&t!==e.editorState&&this.setState({currentBlock:Object(l.getSelectedBlock)(t)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e,t=this.props,n=t.config,r=t.translations,A=this.state,i=A.expanded,a=A.currentBlock,l=n.component||_e;"unordered-list-item"===a.get("type")?e="unordered":"ordered-list-item"===a.get("type")&&(e="ordered");var c=this.isIndentDisabled(),s=this.isOutdentDisabled();return o.a.createElement(l,{config:n,translations:r,currentState:{listType:e},expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.onChange,indentDisabled:c,outdentDisabled:s})}}])&&et(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function At(e){return(At="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function it(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function at(e,t){return(at=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function lt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ct(e);if(t){var o=ct(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===At(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function ct(e){return(ct=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}ot.propTypes={onChange:i.a.func.isRequired,editorState:i.a.object.isRequired,modalHandler:i.a.object,config:i.a.object,translations:i.a.object},n(19);var st=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&at(e,t)}(A,r.Component);var e,t,n=lt(A);function A(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),n.apply(this,arguments)}return e=A,(t=[{key:"renderInFlatList",value:function(){var e=this.props,t=e.config,n=t.options,r=t.left,A=t.center,i=t.right,a=t.justify,l=t.className,c=e.onChange,f=e.currentState.textAlignment,d=e.translations;return o.a.createElement("div",{className:s()("rdw-text-align-wrapper",l),"aria-label":"rdw-textalign-control"},0<=n.indexOf("left")&&o.a.createElement(z,{value:"left",className:s()(r.className),active:"left"===f,onClick:c,title:r.title||d["components.controls.textalign.left"]},o.a.createElement("img",{src:r.icon,alt:""})),0<=n.indexOf("center")&&o.a.createElement(z,{value:"center",className:s()(A.className),active:"center"===f,onClick:c,title:A.title||d["components.controls.textalign.center"]},o.a.createElement("img",{src:A.icon,alt:""})),0<=n.indexOf("right")&&o.a.createElement(z,{value:"right",className:s()(i.className),active:"right"===f,onClick:c,title:i.title||d["components.controls.textalign.right"]},o.a.createElement("img",{src:i.icon,alt:""})),0<=n.indexOf("justify")&&o.a.createElement(z,{value:"justify",className:s()(a.className),active:"justify"===f,onClick:c,title:a.title||d["components.controls.textalign.justify"]},o.a.createElement("img",{src:a.icon,alt:""})))}},{key:"renderInDropDown",value:function(){var e=this.props,t=e.config,n=e.expanded,r=e.doExpand,A=e.onExpandEvent,i=e.doCollapse,a=e.currentState.textAlignment,l=e.onChange,c=e.translations,f=t.options,d=t.left,C=t.center,u=t.right,p=t.justify,g=t.className,h=t.dropdownClassName,m=t.title;return o.a.createElement(T,{className:s()("rdw-text-align-dropdown",g),optionWrapperClassName:s()(h),onChange:l,expanded:n,doExpand:r,doCollapse:i,onExpandEvent:A,"aria-label":"rdw-textalign-control",title:m||c["components.controls.textalign.textalign"]},o.a.createElement("img",{src:a&&t[a]&&t[a].icon||M(t),alt:""}),0<=f.indexOf("left")&&o.a.createElement(W,{value:"left",active:"left"===a,className:s()("rdw-text-align-dropdownOption",d.className),title:d.title||c["components.controls.textalign.left"]},o.a.createElement("img",{src:d.icon,alt:""})),0<=f.indexOf("center")&&o.a.createElement(W,{value:"center",active:"center"===a,className:s()("rdw-text-align-dropdownOption",C.className),title:C.title||c["components.controls.textalign.center"]},o.a.createElement("img",{src:C.icon,alt:""})),0<=f.indexOf("right")&&o.a.createElement(W,{value:"right",active:"right"===a,className:s()("rdw-text-align-dropdownOption",u.className),title:u.title||c["components.controls.textalign.right"]},o.a.createElement("img",{src:u.icon,alt:""})),0<=f.indexOf("justify")&&o.a.createElement(W,{value:"justify",active:"justify"===a,className:s()("rdw-text-align-dropdownOption",p.className),title:p.title||c["components.controls.textalign.justify"]},o.a.createElement("img",{src:p.icon,alt:""})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&it(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function ft(e){return(ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function dt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ct(e,t){return(Ct=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ut(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=pt(e);if(t){var o=pt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===ft(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function pt(e){return(pt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}st.propTypes={expanded:i.a.bool,doExpand:i.a.func,doCollapse:i.a.func,onExpandEvent:i.a.func,config:i.a.object,onChange:i.a.func,currentState:i.a.object,translations:i.a.object};var gt=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ct(e,t)}(A,r.Component);var e,t,n=ut(A);function A(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),(t=n.call(this,e)).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.addBlockAlignmentData=function(e){var n=t.props,r=n.editorState;(0,n.onChange)(t.state.currentTextAlignment!==e?Object(l.setBlockData)(r,{"text-align":e}):Object(l.setBlockData)(r,{"text-align":void 0}))};var r=t.props.modalHandler;return t.state={currentTextAlignment:void 0},r.registerCallBack(t.expandCollapse),t}return e=A,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t!==e.editorState&&this.setState({currentTextAlignment:Object(l.getSelectedBlocksMetadata)(t).get("text-align")})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state,A=r.expanded,i=r.currentTextAlignment,a=t.component||st;return o.a.createElement(a,{config:t,translations:n,expanded:A,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{textAlignment:i},onChange:this.addBlockAlignmentData})}}])&&dt(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function ht(e){return(ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Et(e,t){return(Et=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function bt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=wt(e);if(t){var o=wt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===ht(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function wt(e){return(wt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}gt.propTypes={editorState:i.a.object.isRequired,onChange:i.a.func.isRequired,modalHandler:i.a.object,config:i.a.object,translations:i.a.object},n(20);var vt=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Et(e,t)}(A,r.Component);var e,t,n=bt(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return(e=n.call.apply(n,[this].concat(r))).state={currentStyle:"color"},e.onChange=function(t){(0,e.props.onChange)(e.state.currentStyle,t)},e.setCurrentStyleColor=function(){e.setState({currentStyle:"color"})},e.setCurrentStyleBgcolor=function(){e.setState({currentStyle:"bgcolor"})},e.renderModal=function(){var t=e.props,n=t.config,r=n.popupClassName,A=n.colors,i=t.currentState,a=i.color,l=i.bgColor,c=t.translations,f=e.state.currentStyle,d="color"===f?a:l;return o.a.createElement("div",{className:s()("rdw-colorpicker-modal",r),onClick:I},o.a.createElement("span",{className:"rdw-colorpicker-modal-header"},o.a.createElement("span",{className:s()("rdw-colorpicker-modal-style-label",{"rdw-colorpicker-modal-style-label-active":"color"===f}),onClick:e.setCurrentStyleColor},c["components.controls.colorpicker.text"]),o.a.createElement("span",{className:s()("rdw-colorpicker-modal-style-label",{"rdw-colorpicker-modal-style-label-active":"bgcolor"===f}),onClick:e.setCurrentStyleBgcolor},c["components.controls.colorpicker.background"])),o.a.createElement("span",{className:"rdw-colorpicker-modal-options"},A.map((function(t,n){return o.a.createElement(z,{value:t,key:n,className:"rdw-colorpicker-option",activeClassName:"rdw-colorpicker-option-active",active:d===t,onClick:e.onChange},o.a.createElement("span",{style:{backgroundColor:t},className:"rdw-colorpicker-cube"}))}))))},e}return e=A,(t=[{key:"componentDidUpdate",value:function(e){this.props.expanded&&!e.expanded&&this.setState({currentStyle:"color"})}},{key:"render",value:function(){var e=this.props,t=e.config,n=t.icon,r=t.className,A=t.title,i=e.expanded,a=e.onExpandEvent,l=e.translations;return o.a.createElement("div",{className:"rdw-colorpicker-wrapper","aria-haspopup":"true","aria-expanded":i,"aria-label":"rdw-color-picker",title:A||l["components.controls.colorpicker.colorpicker"]},o.a.createElement(z,{onClick:a,className:s()(r)},o.a.createElement("img",{src:n,alt:""})),i?this.renderModal():void 0)}}])&&mt(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();vt.propTypes={expanded:i.a.bool,onExpandEvent:i.a.func,onChange:i.a.func,config:i.a.object,currentState:i.a.object,translations:i.a.object};var Bt=vt;function It(e){return(It="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Mt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yt(e,t){return(yt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Lt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Qt(e);if(t){var o=Qt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===It(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function Qt(e){return(Qt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var xt=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&yt(e,t)}(A,r.Component);var e,t,n=Lt(A);function A(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),(t=n.call(this,e)).state={expanded:!1,currentColor:void 0,currentBgColor:void 0},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.toggleColor=function(e,n){var r=t.props,o=r.editorState,A=r.onChange,i=Object(l.toggleCustomInlineStyle)(o,e,n);i&&A(i),t.doCollapse()};var r=e.editorState,o=e.modalHandler,i={expanded:!1,currentColor:void 0,currentBgColor:void 0};return r&&(i.currentColor=Object(l.getSelectionCustomInlineStyle)(r,["COLOR"]).COLOR,i.currentBgColor=Object(l.getSelectionCustomInlineStyle)(r,["BGCOLOR"]).BGCOLOR),t.state=i,o.registerCallBack(t.expandCollapse),t}return e=A,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t&&t!==e.editorState&&this.setState({currentColor:Object(l.getSelectionCustomInlineStyle)(t,["COLOR"]).COLOR,currentBgColor:Object(l.getSelectionCustomInlineStyle)(t,["BGCOLOR"]).BGCOLOR})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state,A=r.currentColor,i=r.currentBgColor,a=r.expanded,l=t.component||Bt,c=A&&A.substring(6),s=i&&i.substring(8);return o.a.createElement(l,{config:t,translations:n,onChange:this.toggleColor,expanded:a,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{color:c,bgColor:s}})}}])&&Mt(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();xt.propTypes={onChange:i.a.func.isRequired,editorState:i.a.object.isRequired,modalHandler:i.a.object,config:i.a.object,translations:i.a.object};var Ht=xt,Dt=n(7),kt=n.n(Dt);function Vt(e){return(Vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Zt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Nt(e,t){return(Nt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function zt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Pt(e);if(t){var o=Pt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Vt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function Pt(e){return(Pt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(26);var Ot=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Nt(e,t)}(A,r.Component);var e,t,n=zt(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).state={showModal:!1,linkTarget:"",linkTitle:"",linkTargetOption:e.props.config.defaultTargetOption},e.removeLink=function(){(0,e.props.onChange)("unlink")},e.addLink=function(){var t=e.props.onChange,n=e.state;t("link",n.linkTitle,n.linkTarget,n.linkTargetOption)},e.updateValue=function(t){var n,r,o;e.setState((n={},r="".concat(t.target.name),o=t.target.value,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n))},e.updateTargetOption=function(t){e.setState({linkTargetOption:t.target.checked?"_blank":"_self"})},e.hideModal=function(){e.setState({showModal:!1})},e.signalExpandShowModal=function(){var t=e.props,n=t.onExpandEvent,r=t.currentState,o=r.link,A=r.selectionText,i=e.state.linkTargetOption;n(),e.setState({showModal:!0,linkTarget:o&&o.target||"",linkTargetOption:o&&o.targetOption||i,linkTitle:o&&o.title||A})},e.forceExpandAndShowModal=function(){var t=e.props,n=t.doExpand,r=t.currentState,o=r.link,A=r.selectionText,i=e.state.linkTargetOption;n(),e.setState({showModal:!0,linkTarget:o&&o.target,linkTargetOption:o&&o.targetOption||i,linkTitle:o&&o.title||A})},e}return e=A,(t=[{key:"componentDidUpdate",value:function(e){e.expanded&&!this.props.expanded&&this.setState({showModal:!1,linkTarget:"",linkTitle:"",linkTargetOption:this.props.config.defaultTargetOption})}},{key:"renderAddLinkModal",value:function(){var e=this.props,t=e.config.popupClassName,n=e.doCollapse,r=e.translations,A=this.state,i=A.linkTitle,a=A.linkTarget,l=A.linkTargetOption;return o.a.createElement("div",{className:s()("rdw-link-modal",t),onClick:I},o.a.createElement("label",{className:"rdw-link-modal-label",htmlFor:"linkTitle"},r["components.controls.link.linkTitle"]),o.a.createElement("input",{id:"linkTitle",className:"rdw-link-modal-input",onChange:this.updateValue,onBlur:this.updateValue,name:"linkTitle",value:i}),o.a.createElement("label",{className:"rdw-link-modal-label",htmlFor:"linkTarget"},r["components.controls.link.linkTarget"]),o.a.createElement("input",{id:"linkTarget",className:"rdw-link-modal-input",onChange:this.updateValue,onBlur:this.updateValue,name:"linkTarget",value:a}),o.a.createElement("label",{className:"rdw-link-modal-target-option",htmlFor:"openLinkInNewWindow"},o.a.createElement("input",{id:"openLinkInNewWindow",type:"checkbox",defaultChecked:"_blank"===l,value:"_blank",onChange:this.updateTargetOption}),o.a.createElement("span",null,r["components.controls.link.linkTargetOption"])),o.a.createElement("span",{className:"rdw-link-modal-buttonsection"},o.a.createElement("button",{className:"rdw-link-modal-btn",onClick:this.addLink,disabled:!a||!i},r["generic.add"]),o.a.createElement("button",{className:"rdw-link-modal-btn",onClick:n},r["generic.cancel"])))}},{key:"renderInFlatList",value:function(){var e=this.props,t=e.config,n=t.options,r=t.link,A=t.unlink,i=t.className,a=e.currentState,l=e.expanded,c=e.translations,f=this.state.showModal;return o.a.createElement("div",{className:s()("rdw-link-wrapper",i),"aria-label":"rdw-link-control"},0<=n.indexOf("link")&&o.a.createElement(z,{value:"unordered-list-item",className:s()(r.className),onClick:this.signalExpandShowModal,"aria-haspopup":"true","aria-expanded":f,title:r.title||c["components.controls.link.link"]},o.a.createElement("img",{src:r.icon,alt:""})),0<=n.indexOf("unlink")&&o.a.createElement(z,{disabled:!a.link,value:"ordered-list-item",className:s()(A.className),onClick:this.removeLink,title:A.title||c["components.controls.link.unlink"]},o.a.createElement("img",{src:A.icon,alt:""})),l&&f?this.renderAddLinkModal():void 0)}},{key:"renderInDropDown",value:function(){var e=this.props,t=e.expanded,n=e.onExpandEvent,r=e.doCollapse,A=e.doExpand,i=e.onChange,a=e.config,l=e.currentState,c=e.translations,f=a.options,d=a.link,C=a.unlink,u=a.className,p=a.dropdownClassName,g=a.title,h=this.state.showModal;return o.a.createElement("div",{className:"rdw-link-wrapper","aria-haspopup":"true","aria-label":"rdw-link-control","aria-expanded":t,title:g},o.a.createElement(T,{className:s()("rdw-link-dropdown",u),optionWrapperClassName:s()(p),onChange:i,expanded:t&&!h,doExpand:A,doCollapse:r,onExpandEvent:n},o.a.createElement("img",{src:M(a),alt:""}),0<=f.indexOf("link")&&o.a.createElement(W,{onClick:this.forceExpandAndShowModal,className:s()("rdw-link-dropdownoption",d.className),title:d.title||c["components.controls.link.link"]},o.a.createElement("img",{src:d.icon,alt:""})),0<=f.indexOf("unlink")&&o.a.createElement(W,{onClick:this.removeLink,disabled:!l.link,className:s()("rdw-link-dropdownoption",C.className),title:C.title||c["components.controls.link.unlink"]},o.a.createElement("img",{src:C.icon,alt:""}))),t&&h?this.renderAddLinkModal():void 0)}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&Zt(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();Ot.propTypes={expanded:i.a.bool,doExpand:i.a.func,doCollapse:i.a.func,onExpandEvent:i.a.func,config:i.a.object,onChange:i.a.func,currentState:i.a.object,translations:i.a.object};var St=Ot;function jt(e){return(jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ft(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Tt(e,t){return(Tt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Rt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Gt(e);if(t){var o=Gt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===jt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function Gt(e){return(Gt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Xt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Yt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xt(Object(n),!0).forEach((function(t){Ut(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kt(e){var t=Wt.match(e.target);return Yt(Yt({},e),{},{target:t&&t[0]&&t[0].url||e.target})}var Wt=kt()(),qt=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Tt(e,t)}(A,r.Component);var e,t,n=Rt(A);function A(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),(t=n.call(this,e)).onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.onChange=function(e,n,r,o){var A=t.props.config.linkCallback;if("link"===e){var i=(A||Kt)({title:n,target:r,targetOption:o});t.addLink(i.title,i.target,i.targetOption)}else t.removeLink()},t.getCurrentValues=function(){var e=t.props.editorState,n=t.state.currentEntity,r=e.getCurrentContent(),o={};if(n&&"LINK"===r.getEntity(n).get("type")){o.link={};var A=n&&Object(l.getEntityRange)(e,n);o.link.target=n&&r.getEntity(n).get("data").url,o.link.targetOption=n&&r.getEntity(n).get("data").targetOption,o.link.title=A&&A.text}return o.selectionText=Object(l.getSelectionText)(e),o},t.doExpand=function(){t.setState({expanded:!0})},t.expandCollapse=function(){t.setState({expanded:t.signalExpanded}),t.signalExpanded=!1},t.doCollapse=function(){t.setState({expanded:!1})},t.removeLink=function(){var e=t.props,n=e.editorState,r=e.onChange,o=t.state.currentEntity,A=n.getSelection();if(o){var i=Object(l.getEntityRange)(n,o);A=A.getIsBackward()?A.merge({anchorOffset:i.end,focusOffset:i.start}):A.merge({anchorOffset:i.start,focusOffset:i.end}),r(a.RichUtils.toggleLink(n,A,null))}},t.addLink=function(e,n,r){var o=t.props,A=o.editorState,i=o.onChange,c=t.state.currentEntity,s=A.getSelection();if(c){var f=Object(l.getEntityRange)(A,c);s=s.getIsBackward()?s.merge({anchorOffset:f.end,focusOffset:f.start}):s.merge({anchorOffset:f.start,focusOffset:f.end})}var d=A.getCurrentContent().createEntity("LINK","MUTABLE",{url:n,targetOption:r}).getLastCreatedEntityKey(),C=a.Modifier.replaceText(A.getCurrentContent(),s,"".concat(e),A.getCurrentInlineStyle(),d),u=a.EditorState.push(A,C,"insert-characters");s=u.getSelection().merge({anchorOffset:s.get("anchorOffset")+e.length,focusOffset:s.get("anchorOffset")+e.length}),u=a.EditorState.acceptSelection(u,s),C=a.Modifier.insertText(u.getCurrentContent(),s," ",u.getCurrentInlineStyle(),void 0),i(a.EditorState.push(u,C,"insert-characters")),t.doCollapse()};var r=t.props,o=r.editorState,i=r.modalHandler;return t.state={expanded:!1,link:void 0,selectionText:void 0,currentEntity:o?Object(l.getSelectionEntity)(o):void 0},i.registerCallBack(t.expandCollapse),t}return e=A,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t&&t!==e.editorState&&this.setState({currentEntity:Object(l.getSelectionEntity)(t)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state.expanded,A=this.getCurrentValues(),i=A.link,a=A.selectionText,l=t.component||St;return o.a.createElement(l,{config:t,translations:n,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{link:i,selectionText:a},onChange:this.onChange})}}])&&Ft(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();qt.propTypes={editorState:i.a.object.isRequired,onChange:i.a.func.isRequired,modalHandler:i.a.object,config:i.a.object,translations:i.a.object};var Jt=qt;function _t(e){return(_t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function en(e,t){return(en=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function tn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=nn(e);if(t){var o=nn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===_t(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function nn(e){return(nn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(27);var rn=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&en(e,t)}(A,r.Component);var e,t,n=tn(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).state={embeddedLink:"",height:e.props.config.defaultSize.height,width:e.props.config.defaultSize.width},e.onChange=function(){var t=e.props.onChange,n=e.state;t(n.embeddedLink,n.height,n.width)},e.updateValue=function(t){var n,r,o;e.setState((n={},r="".concat(t.target.name),o=t.target.value,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n))},e}return e=A,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.expanded,r=t.config;if(!n&&e.expanded){var o=r.defaultSize,A=o.height,i=o.width;this.setState({embeddedLink:"",height:A,width:i})}}},{key:"rendeEmbeddedLinkModal",value:function(){var e=this.state,t=e.embeddedLink,n=e.height,r=e.width,A=this.props,i=A.config.popupClassName,a=A.doCollapse,l=A.translations;return o.a.createElement("div",{className:s()("rdw-embedded-modal",i),onClick:I},o.a.createElement("div",{className:"rdw-embedded-modal-header"},o.a.createElement("span",{className:"rdw-embedded-modal-header-option"},l["components.controls.embedded.embeddedlink"],o.a.createElement("span",{className:"rdw-embedded-modal-header-label"}))),o.a.createElement("div",{className:"rdw-embedded-modal-link-section"},o.a.createElement("span",{className:"rdw-embedded-modal-link-input-wrapper"},o.a.createElement("input",{className:"rdw-embedded-modal-link-input",placeholder:l["components.controls.embedded.enterlink"],onChange:this.updateValue,onBlur:this.updateValue,value:t,name:"embeddedLink"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),o.a.createElement("div",{className:"rdw-embedded-modal-size"},o.a.createElement("span",null,o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:n,name:"height",className:"rdw-embedded-modal-size-input",placeholder:"Height"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),o.a.createElement("span",null,o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:r,name:"width",className:"rdw-embedded-modal-size-input",placeholder:"Width"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")))),o.a.createElement("span",{className:"rdw-embedded-modal-btn-section"},o.a.createElement("button",{type:"button",className:"rdw-embedded-modal-btn",onClick:this.onChange,disabled:!t||!n||!r},l["generic.add"]),o.a.createElement("button",{type:"button",className:"rdw-embedded-modal-btn",onClick:a},l["generic.cancel"])))}},{key:"render",value:function(){var e=this.props,t=e.config,n=t.icon,r=t.className,A=t.title,i=e.expanded,a=e.onExpandEvent,l=e.translations;return o.a.createElement("div",{className:"rdw-embedded-wrapper","aria-haspopup":"true","aria-expanded":i,"aria-label":"rdw-embedded-control"},o.a.createElement(z,{className:s()(r),value:"unordered-list-item",onClick:a,title:A||l["components.controls.embedded.embedded"]},o.a.createElement("img",{src:n,alt:""})),i?this.rendeEmbeddedLinkModal():void 0)}}])&&$t(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();rn.propTypes={expanded:i.a.bool,onExpandEvent:i.a.func,onChange:i.a.func,config:i.a.object,translations:i.a.object,doCollapse:i.a.func};var on=rn;function An(e){return(An="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function an(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ln(e,t){return(ln=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function cn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=sn(e);if(t){var o=sn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===An(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function sn(e){return(sn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var fn=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ln(e,t)}(A,r.Component);var e,t,n=cn(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).state={expanded:!1},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.addEmbeddedLink=function(t,n,r){var o=e.props,A=o.editorState,i=o.onChange,l=o.config.embedCallback,c=l?l(t):t,s=A.getCurrentContent().createEntity("EMBEDDED_LINK","MUTABLE",{src:c,height:n,width:r}).getLastCreatedEntityKey();i(a.AtomicBlockUtils.insertAtomicBlock(A,s," ")),e.doCollapse()},e}return e=A,(t=[{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 e=this.props,t=e.config,n=e.translations,r=this.state.expanded,A=t.component||on;return o.a.createElement(A,{config:t,translations:n,onChange:this.addEmbeddedLink,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&an(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();fn.propTypes={editorState:i.a.object.isRequired,onChange:i.a.func.isRequired,modalHandler:i.a.object,config:i.a.object,translations:i.a.object};var dn=fn;function Cn(e){return(Cn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function un(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function pn(e,t){return(pn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function gn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=hn(e);if(t){var o=hn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Cn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function hn(e){return(hn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(28);var mn=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&pn(e,t)}(A,r.Component);var e,t,n=gn(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).onChange=function(t){(0,e.props.onChange)(t.target.innerHTML)},e}return e=A,(t=[{key:"renderEmojiModal",value:function(){var e=this,t=this.props.config,n=t.popupClassName,r=t.emojis;return o.a.createElement("div",{className:s()("rdw-emoji-modal",n),onClick:I},r.map((function(t,n){return o.a.createElement("span",{key:n,className:"rdw-emoji-icon",alt:"",onClick:e.onChange},t)})))}},{key:"render",value:function(){var e=this.props,t=e.config,n=t.icon,r=t.className,A=t.title,i=e.expanded,a=e.onExpandEvent,l=e.translations;return o.a.createElement("div",{className:"rdw-emoji-wrapper","aria-haspopup":"true","aria-label":"rdw-emoji-control","aria-expanded":i,title:A||l["components.controls.emoji.emoji"]},o.a.createElement(z,{className:s()(r),value:"unordered-list-item",onClick:a},o.a.createElement("img",{src:n,alt:""})),i?this.renderEmojiModal():void 0)}}])&&un(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();mn.propTypes={expanded:i.a.bool,onExpandEvent:i.a.func,onChange:i.a.func,config:i.a.object,translations:i.a.object};var En=mn;function bn(e){return(bn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function wn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vn(e,t){return(vn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Bn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=In(e);if(t){var o=In(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===bn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function In(e){return(In=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Mn=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&vn(e,t)}(A,r.Component);var e,t,n=Bn(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).state={expanded:!1},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.addEmoji=function(t){var n=e.props,r=n.editorState,o=n.onChange,A=a.Modifier.replaceText(r.getCurrentContent(),r.getSelection(),t,r.getCurrentInlineStyle());o(a.EditorState.push(r,A,"insert-characters")),e.doCollapse()},e}return e=A,(t=[{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 e=this.props,t=e.config,n=e.translations,r=this.state.expanded,A=t.component||En;return o.a.createElement(A,{config:t,translations:n,onChange:this.addEmoji,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onCollpase:this.closeModal})}}])&&wn(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function yn(){return o.a.createElement("div",{className:"rdw-spinner"},o.a.createElement("div",{className:"rdw-bounce1"}),o.a.createElement("div",{className:"rdw-bounce2"}),o.a.createElement("div",{className:"rdw-bounce3"}))}function Ln(e){return(Ln="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Qn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xn(e,t){return(xn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Hn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Dn(e);if(t){var o=Dn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Ln(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function Dn(e){return(Dn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Mn.propTypes={editorState:i.a.object.isRequired,onChange:i.a.func.isRequired,modalHandler:i.a.object,config:i.a.object,translations:i.a.object},n(29),n(30);var kn=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&xn(e,t)}(A,r.Component);var e,t,n=Hn(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).state={imgSrc:"",dragEnter:!1,uploadHighlighted:e.props.config.uploadEnabled&&!!e.props.config.uploadCallback,showImageLoading:!1,height:e.props.config.defaultSize.height,width:e.props.config.defaultSize.width,alt:""},e.onDragEnter=function(t){e.stopPropagation(t),e.setState({dragEnter:!0})},e.onImageDrop=function(t){var n,r;t.preventDefault(),t.stopPropagation(),e.setState({dragEnter:!1}),r=t.dataTransfer.items?(n=t.dataTransfer.items,!0):(n=t.dataTransfer.files,!1);for(var o=0;o<n.length;o+=1)if((!r||"file"===n[o].kind)&&n[o].type.match("^image/")){var A=r?n[o].getAsFile():n[o];e.uploadImage(A)}},e.showImageUploadOption=function(){e.setState({uploadHighlighted:!0})},e.addImageFromState=function(){var t=e.state,n=t.imgSrc,r=t.alt,o=e.state,A=o.height,i=o.width,a=e.props.onChange;isNaN(A)||(A+="px"),isNaN(i)||(i+="px"),a(n,A,i,r)},e.showImageURLOption=function(){e.setState({uploadHighlighted:!1})},e.toggleShowImageLoading=function(){var t=!e.state.showImageLoading;e.setState({showImageLoading:t})},e.updateValue=function(t){var n,r,o;e.setState((n={},r="".concat(t.target.name),o=t.target.value,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n))},e.selectImage=function(t){t.target.files&&0<t.target.files.length&&e.uploadImage(t.target.files[0])},e.uploadImage=function(t){e.toggleShowImageLoading(),(0,e.props.config.uploadCallback)(t).then((function(t){var n=t.data;e.setState({showImageLoading:!1,dragEnter:!1,imgSrc:n.link||n.url}),e.fileUpload=!1})).catch((function(){e.setState({showImageLoading:!1,dragEnter:!1})}))},e.fileUploadClick=function(t){e.fileUpload=!0,t.stopPropagation()},e.stopPropagation=function(t){e.fileUpload?e.fileUpload=!1:(t.preventDefault(),t.stopPropagation())},e}return e=A,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.config;e.expanded&&!this.props.expanded?this.setState({imgSrc:"",dragEnter:!1,uploadHighlighted:t.uploadEnabled&&!!t.uploadCallback,showImageLoading:!1,height:t.defaultSize.height,width:t.defaultSize.width,alt:""}):t.uploadCallback===e.config.uploadCallback&&t.uploadEnabled===e.config.uploadEnabled||this.setState({uploadHighlighted:t.uploadEnabled&&!!t.uploadCallback})}},{key:"renderAddImageModal",value:function(){var e=this.state,t=e.imgSrc,n=e.uploadHighlighted,r=e.showImageLoading,A=e.dragEnter,i=e.height,a=e.width,l=e.alt,c=this.props,f=c.config,d=f.popupClassName,C=f.uploadCallback,u=f.uploadEnabled,p=f.urlEnabled,g=f.previewImage,h=f.inputAccept,m=f.alt,E=c.doCollapse,b=c.translations;return o.a.createElement("div",{className:s()("rdw-image-modal",d),onClick:this.stopPropagation},o.a.createElement("div",{className:"rdw-image-modal-header"},u&&C&&o.a.createElement("span",{onClick:this.showImageUploadOption,className:"rdw-image-modal-header-option"},b["components.controls.image.fileUpload"],o.a.createElement("span",{className:s()("rdw-image-modal-header-label",{"rdw-image-modal-header-label-highlighted":n})})),p&&o.a.createElement("span",{onClick:this.showImageURLOption,className:"rdw-image-modal-header-option"},b["components.controls.image.byURL"],o.a.createElement("span",{className:s()("rdw-image-modal-header-label",{"rdw-image-modal-header-label-highlighted":!n})}))),n?o.a.createElement("div",{onClick:this.fileUploadClick},o.a.createElement("div",{onDragEnter:this.onDragEnter,onDragOver:this.stopPropagation,onDrop:this.onImageDrop,className:s()("rdw-image-modal-upload-option",{"rdw-image-modal-upload-option-highlighted":A})},o.a.createElement("label",{htmlFor:"file",className:"rdw-image-modal-upload-option-label"},g&&t?o.a.createElement("img",{src:t,alt:t,className:"rdw-image-modal-upload-option-image-preview"}):t||b["components.controls.image.dropFileText"])),o.a.createElement("input",{type:"file",id:"file",accept:h,onChange:this.selectImage,className:"rdw-image-modal-upload-option-input"})):o.a.createElement("div",{className:"rdw-image-modal-url-section"},o.a.createElement("input",{className:"rdw-image-modal-url-input",placeholder:b["components.controls.image.enterlink"],name:"imgSrc",onChange:this.updateValue,onBlur:this.updateValue,value:t}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),m.present&&o.a.createElement("div",{className:"rdw-image-modal-size"},o.a.createElement("span",{className:"rdw-image-modal-alt-lbl"},"Alt Text"),o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:l,name:"alt",className:"rdw-image-modal-alt-input",placeholder:"alt"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},m.mandatory&&"*")),o.a.createElement("div",{className:"rdw-image-modal-size"},"↕ ",o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:i,name:"height",className:"rdw-image-modal-size-input",placeholder:"Height"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")," ↔ ",o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:a,name:"width",className:"rdw-image-modal-size-input",placeholder:"Width"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),o.a.createElement("span",{className:"rdw-image-modal-btn-section"},o.a.createElement("button",{className:"rdw-image-modal-btn",onClick:this.addImageFromState,disabled:!t||!i||!a||m.mandatory&&!l},b["generic.add"]),o.a.createElement("button",{className:"rdw-image-modal-btn",onClick:E},b["generic.cancel"])),r?o.a.createElement("div",{className:"rdw-image-modal-spinner"},o.a.createElement(yn,null)):void 0)}},{key:"render",value:function(){var e=this.props,t=e.config,n=t.icon,r=t.className,A=t.title,i=e.expanded,a=e.onExpandEvent,l=e.translations;return o.a.createElement("div",{className:"rdw-image-wrapper","aria-haspopup":"true","aria-expanded":i,"aria-label":"rdw-image-control"},o.a.createElement(z,{className:s()(r),value:"unordered-list-item",onClick:a,title:A||l["components.controls.image.image"]},o.a.createElement("img",{src:n,alt:""})),i?this.renderAddImageModal():void 0)}}])&&Qn(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();kn.propTypes={expanded:i.a.bool,onExpandEvent:i.a.func,doCollapse:i.a.func,onChange:i.a.func,config:i.a.object,translations:i.a.object};var Vn=kn;function Zn(e){return(Zn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Nn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zn(e,t){return(zn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Pn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=On(e);if(t){var o=On(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Zn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function On(e){return(On=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Sn=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zn(e,t)}(A,r.Component);var e,t,n=Pn(A);function A(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),(t=n.call(this,e)).onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.doExpand=function(){t.setState({expanded:!0})},t.doCollapse=function(){t.setState({expanded:!1})},t.expandCollapse=function(){t.setState({expanded:t.signalExpanded}),t.signalExpanded=!1},t.addImage=function(e,n,r,o){var A=t.props,i=A.editorState,l=A.onChange,c={src:e,height:n,width:r};A.config.alt.present&&(c.alt=o);var s=i.getCurrentContent().createEntity("IMAGE","MUTABLE",c).getLastCreatedEntityKey();l(a.AtomicBlockUtils.insertAtomicBlock(i,s," ")),t.doCollapse()};var r=t.props.modalHandler;return t.state={expanded:!1},r.registerCallBack(t.expandCollapse),t}return e=A,(t=[{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state.expanded,A=t.component||Vn;return o.a.createElement(A,{config:t,translations:n,onChange:this.addImage,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&Nn(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function jn(e){var t=e.config,n=e.onChange,r=e.translations,A=t.icon,i=t.className,a=t.title;return o.a.createElement("div",{className:"rdw-remove-wrapper","aria-label":"rdw-remove-control"},o.a.createElement(z,{className:s()(i),onClick:n,title:a||r["components.controls.remove.remove"]},o.a.createElement("img",{src:A,alt:""})))}Sn.propTypes={editorState:i.a.object.isRequired,onChange:i.a.func.isRequired,modalHandler:i.a.object,config:i.a.object,translations:i.a.object};var Fn=Sn;n(31),jn.propTypes={onChange:i.a.func,config:i.a.object,translations:i.a.object};var Tn=jn;function Rn(e){return(Rn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Gn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Xn(e,t){return(Xn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Yn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Un(e);if(t){var o=Un(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Rn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function Un(e){return(Un=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Kn=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Xn(e,t)}(A,r.Component);var e,t,n=Yn(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).state={expanded:!1},e.onExpandEvent=function(){e.signalExpanded=!e.state.expanded},e.expandCollapse=function(){e.setState({expanded:e.signalExpanded}),e.signalExpanded=!1},e.removeInlineStyles=function(){var t=e.props,n=t.editorState;(0,t.onChange)(e.removeAllInlineStyles(n))},e.removeAllInlineStyles=function(e){var t=e.getCurrentContent();return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","MONOSPACE","SUPERSCRIPT","SUBSCRIPT"].forEach((function(n){t=a.Modifier.removeInlineStyle(t,e.getSelection(),n)})),v(Object(l.getSelectionCustomInlineStyle)(e,["FONTSIZE","FONTFAMILY","COLOR","BGCOLOR"]),(function(n,r){r&&(t=a.Modifier.removeInlineStyle(t,e.getSelection(),r))})),a.EditorState.push(e,t,"change-inline-style")},e.doExpand=function(){e.setState({expanded:!0})},e.doCollapse=function(){e.setState({expanded:!1})},e}return e=A,(t=[{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 e=this.props,t=e.config,n=e.translations,r=this.state.expanded,A=t.component||Tn;return o.a.createElement(A,{config:t,translations:n,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.removeInlineStyles})}}])&&Gn(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function Wn(e){return(Wn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function qn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Jn(e,t){return(Jn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _n(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=$n(e);if(t){var o=$n(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Wn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function $n(e){return($n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Kn.propTypes={onChange:i.a.func.isRequired,editorState:i.a.object.isRequired,config:i.a.object,translations:i.a.object,modalHandler:i.a.object},n(32);var er=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Jn(e,t)}(A,r.Component);var e,t,n=_n(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).onChange=function(t){(0,e.props.onChange)(t)},e}return e=A,(t=[{key:"renderInDropDown",value:function(){var e=this.props,t=e.config,n=e.expanded,r=e.doExpand,A=e.onExpandEvent,i=e.doCollapse,a=e.currentState,l=a.undoDisabled,c=a.redoDisabled,f=e.translations,d=t.options,C=t.undo,u=t.redo,p=t.className,g=t.dropdownClassName,h=t.title;return o.a.createElement(T,{className:s()("rdw-history-dropdown",p),optionWrapperClassName:s()(g),expanded:n,doExpand:r,doCollapse:i,onExpandEvent:A,"aria-label":"rdw-history-control",title:h||f["components.controls.history.history"]},o.a.createElement("img",{src:M(t),alt:""}),0<=d.indexOf("undo")&&o.a.createElement(W,{value:"undo",onClick:this.onChange,disabled:l,className:s()("rdw-history-dropdownoption",C.className),title:C.title||f["components.controls.history.undo"]},o.a.createElement("img",{src:C.icon,alt:""})),0<=d.indexOf("redo")&&o.a.createElement(W,{value:"redo",onClick:this.onChange,disabled:c,className:s()("rdw-history-dropdownoption",u.className),title:u.title||f["components.controls.history.redo"]},o.a.createElement("img",{src:u.icon,alt:""})))}},{key:"renderInFlatList",value:function(){var e=this.props,t=e.config,n=t.options,r=t.undo,A=t.redo,i=t.className,a=e.currentState,l=a.undoDisabled,c=a.redoDisabled,f=e.translations;return o.a.createElement("div",{className:s()("rdw-history-wrapper",i),"aria-label":"rdw-history-control"},0<=n.indexOf("undo")&&o.a.createElement(z,{value:"undo",onClick:this.onChange,className:s()(r.className),disabled:l,title:r.title||f["components.controls.history.undo"]},o.a.createElement("img",{src:r.icon,alt:""})),0<=n.indexOf("redo")&&o.a.createElement(z,{value:"redo",onClick:this.onChange,className:s()(A.className),disabled:c,title:A.title||f["components.controls.history.redo"]},o.a.createElement("img",{src:A.icon,alt:""})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&qn(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function tr(e){return(tr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function nr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rr(e,t){return(rr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function or(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ar(e);if(t){var o=Ar(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===tr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function Ar(e){return(Ar=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}er.propTypes={expanded:i.a.bool,doExpand:i.a.func,doCollapse:i.a.func,onExpandEvent:i.a.func,config:i.a.object,onChange:i.a.func,currentState:i.a.object,translations:i.a.object};var ir=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&rr(e,t)}(A,r.Component);var e,t,n=or(A);function A(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),(t=n.call(this,e)).onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.onChange=function(e){var n=t.props,r=n.editorState,o=n.onChange,A=a.EditorState[e](r);A&&o(A)},t.doExpand=function(){t.setState({expanded:!0})},t.doCollapse=function(){t.setState({expanded:!1})};var r={expanded:!(t.expandCollapse=function(){t.setState({expanded:t.signalExpanded}),t.signalExpanded=!1}),undoDisabled:!1,redoDisabled:!1},o=e.editorState,i=e.modalHandler;return o&&(r.undoDisabled=0===o.getUndoStack().size,r.redoDisabled=0===o.getRedoStack().size),t.state=r,i.registerCallBack(t.expandCollapse),t}return e=A,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t&&e.editorState!==t&&this.setState({undoDisabled:0===t.getUndoStack().size,redoDisabled:0===t.getRedoStack().size})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state,A=r.undoDisabled,i=r.redoDisabled,a=r.expanded,l=t.component||er;return o.a.createElement(l,{config:t,translations:n,currentState:{undoDisabled:A,redoDisabled:i},expanded:a,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.onChange})}}])&&nr(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();ir.propTypes={onChange:i.a.func.isRequired,editorState:i.a.object,modalHandler:i.a.object,config:i.a.object,translations:i.a.object};var ar={inline:ae,blockType:we,fontSize:Ve,fontFamily:Ye,list:ot,textAlign:gt,colorPicker:Ht,link:Jt,embedded:dn,emoji:Mn,image:Fn,remove:Kn,history:ir},lr=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,cr=/^(?:(?:https?|ftps?|mailto):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))/i;function sr(e){return String(e).replace(lr,"").match(cr)?e:"#"}function fr(e){return(fr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function dr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Cr(e,t){return(Cr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ur(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=pr(e);if(t){var o=pr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===fr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function pr(e){return(pr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function gr(e,t,n){e.findEntityRanges((function(e){var t=e.getEntity();return null!==t&&"LINK"===n.getEntity(t).getType()}),t)}function hr(e){var t,n=e.showOpenOptionOnHover;return(t=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Cr(e,t)}(i,r.Component);var e,t,A=ur(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=A.call.apply(A,[this].concat(n))).state={showPopOver:!1},e.openLink=function(){var t=e.props,n=t.entityKey,r=t.contentState.getEntity(n).getData().url,o=window.open(sr(r),"blank");o&&o.focus()},e.toggleShowPopOver=function(){var t=!e.state.showPopOver;e.setState({showPopOver:t})},e}return e=i,(t=[{key:"render",value:function(){var e=this.props,t=e.children,r=e.entityKey,A=e.contentState.getEntity(r).getData(),i=A.url,a=A.targetOption,l=this.state.showPopOver;return o.a.createElement("span",{className:"rdw-link-decorator-wrapper",onMouseEnter:this.toggleShowPopOver,onMouseLeave:this.toggleShowPopOver},o.a.createElement("a",{href:sr(i),target:a},t),l&&n?o.a.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuMDcyIDBIOC45MTVhLjkyNS45MjUgMCAwIDAgMCAxLjg0OWgyLjkyNUw2Ljk2MSA2LjcyN2EuOTE4LjkxOCAwIDAgMC0uMjcuNjU0YzAgLjI0Ny4wOTUuNDguMjcuNjU0YS45MTguOTE4IDAgMCAwIC42NTQuMjcuOTE4LjkxOCAwIDAgMCAuNjUzLS4yN2w0Ljg4LTQuODh2Mi45MjZhLjkyNS45MjUgMCAwIDAgMS44NDggMFYuOTI0QS45MjUuOTI1IDAgMCAwIDE0LjA3MiAweiIvPjxwYXRoIGQ9Ik0xMC42MjMgMTMuNDExSDEuNTg1VjQuMzcyaDYuNzk4bDEuNTg0LTEuNTg0SC43OTJBLjc5Mi43OTIgMCAwIDAgMCAzLjU4djEwLjYyNGMwIC40MzcuMzU1Ljc5Mi43OTIuNzkyaDEwLjYyNGEuNzkyLjc5MiAwIDAgMCAuNzkyLS43OTJWNS4wMjlsLTEuNTg1IDEuNTg0djYuNzk4eiIvPjwvZz48L3N2Zz4=",alt:"",onClick:this.openLink,className:"rdw-link-decorator-icon"}):void 0)}}])&&dr(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),i}()).propTypes={entityKey:i.a.string.isRequired,children:i.a.array,contentState:i.a.object},t}function mr(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}n(33),n(34);var Er=mr((function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.getMentionComponent=function(){function e(e){var n=e.entityKey,r=e.children,A=e.contentState.getEntity(n).getData(),i=A.url,a=A.value;return o.a.createElement("a",{href:i||a,className:s()("rdw-mention-link",t)},r)}var t=n.className;return e.propTypes={entityKey:i.a.number,children:i.a.array,contentState:i.a.object},e},this.getMentionDecorator=function(){return{strategy:n.findMentionEntities,component:n.getMentionComponent()}},this.className=t}));Er.prototype.findMentionEntities=function(e,t,n){e.findEntityRanges((function(e){var t=e.getEntity();return null!==t&&"MENTION"===n.getEntity(t).getType()}),t)};var br=Er;function wr(e){return(wr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function vr(e,t){return(vr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Br(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ir(e);if(t){var o=Ir(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===wr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function Ir(e){return(Ir=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Mr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yr(e,t,n){return t&&Mr(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Lr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n(35);var Qr=yr((function e(t){var n=this;Lr(this,e),this.findSuggestionEntities=function(e,t){if(n.config.getEditorState()){var r=n.config,o=r.separator,A=r.trigger,i=r.getSuggestions,a=(0,r.getEditorState)().getSelection();if(a.get("anchorKey")===e.get("key")&&a.get("anchorKey")===a.get("focusKey")){var l=e.getText(),c=(l=l.substr(0,a.get("focusOffset")===l.length-1?l.length:a.get("focusOffset")+1)).lastIndexOf(o+A),s=o+A;if((void 0===c||c<0)&&l[0]===A&&(c=0,s=A),0<=c){var f=l.substr(c+s.length,l.length);i().some((function(e){return!!e.value&&(n.config.caseSensitive?0<=e.value.indexOf(f):0<=e.value.toLowerCase().indexOf(f&&f.toLowerCase()))}))&&t(0===c?0:c+1,l.length)}}}},this.getSuggestionComponent=function(){var e,t=this.config;return(e=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&vr(e,t)}(n,r.Component);var e=Br(n);function n(){var r;Lr(this,n);for(var o=arguments.length,A=new Array(o),i=0;i<o;i++)A[i]=arguments[i];return(r=e.call.apply(e,[this].concat(A))).state={style:{left:15},activeOption:-1,showSuggestions:!0},r.onEditorKeyDown=function(e){var t=r.state.activeOption,n={};"ArrowDown"===e.key?(e.preventDefault(),t===r.filteredSuggestions.length-1?n.activeOption=0:n.activeOption=t+1):"ArrowUp"===e.key?n.activeOption=t<=0?r.filteredSuggestions.length-1:t-1:"Escape"===e.key?(n.showSuggestions=!1,E()):"Enter"===e.key&&r.addMention(),r.setState(n)},r.onOptionMouseEnter=function(e){var t=e.target.getAttribute("data-index");r.setState({activeOption:t})},r.onOptionMouseLeave=function(){r.setState({activeOption:-1})},r.setSuggestionReference=function(e){r.suggestion=e},r.setDropdownReference=function(e){r.dropdown=e},r.closeSuggestionDropdown=function(){r.setState({showSuggestions:!1})},r.filteredSuggestions=[],r.filterSuggestions=function(e){var n=e.children[0].props.text.substr(1),o=t.getSuggestions();r.filteredSuggestions=o&&o.filter((function(e){return!n||0===n.length||(t.caseSensitive?0<=e.value.indexOf(n):0<=e.value.toLowerCase().indexOf(n&&n.toLowerCase()))}))},r.addMention=function(){var e=r.state.activeOption,n=t.getEditorState(),o=t.onChange,A=t.separator,i=t.trigger,c=r.filteredSuggestions[e];c&&function(e,t,n,r,o){var A=o.value,i=o.url,c=e.getCurrentContent().createEntity("MENTION","IMMUTABLE",{text:"".concat(r).concat(A),value:A,url:i}).getLastCreatedEntityKey(),s=Object(l.getSelectedBlock)(e).getText(),f=e.getSelection().focusOffset,d=(s.lastIndexOf(n+r,f)||0)+1,C=!1;s.length===d+1&&(f=s.length)," "===s[f]&&(C=!0);var u=e.getSelection().merge({anchorOffset:d,focusOffset:f}),p=a.EditorState.acceptSelection(e,u),g=a.Modifier.replaceText(p.getCurrentContent(),u,"".concat(r).concat(A),p.getCurrentInlineStyle(),c);p=a.EditorState.push(p,g,"insert-characters"),C||(u=p.getSelection().merge({anchorOffset:d+A.length+r.length,focusOffset:d+A.length+r.length}),p=a.EditorState.acceptSelection(p,u),g=a.Modifier.insertText(p.getCurrentContent(),u," ",p.getCurrentInlineStyle(),void 0)),t(a.EditorState.push(p,g,"insert-characters"))}(n,o,A,i,c)},r}return yr(n,[{key:"componentDidMount",value:function(){var e,n,r,o=t.getWrapperRef().getBoundingClientRect(),A=this.suggestion.getBoundingClientRect(),i=this.dropdown.getBoundingClientRect();o.width<A.left-o.left+i.width?n=15:e=15,o.bottom<i.bottom&&(r=0),this.setState({style:{left:e,right:n,bottom:r}}),h.registerCallBack(this.onEditorKeyDown),m(),t.modalHandler.setSuggestionCallback(this.closeSuggestionDropdown),this.filterSuggestions(this.props)}},{key:"componentDidUpdate",value:function(e){this.props.children!==e.children&&(this.filterSuggestions(e),this.setState({showSuggestions:!0}))}},{key:"componentWillUnmount",value:function(){h.deregisterCallBack(this.onEditorKeyDown),E(),t.modalHandler.removeSuggestionCallback()}},{key:"render",value:function(){var e=this,n=this.props.children,r=this.state,A=r.activeOption,i=r.showSuggestions,a=t.dropdownClassName,l=t.optionClassName;return o.a.createElement("span",{className:"rdw-suggestion-wrapper",ref:this.setSuggestionReference,onClick:t.modalHandler.onSuggestionClick,"aria-haspopup":"true","aria-label":"rdw-suggestion-popup"},o.a.createElement("span",null,n),i&&o.a.createElement("span",{className:s()("rdw-suggestion-dropdown",a),contentEditable:"false",suppressContentEditableWarning:!0,style:this.state.style,ref:this.setDropdownReference},this.filteredSuggestions.map((function(t,n){return o.a.createElement("span",{key:n,spellCheck:!1,onClick:e.addMention,"data-index":n,onMouseEnter:e.onOptionMouseEnter,onMouseLeave:e.onOptionMouseLeave,className:s()("rdw-suggestion-option",l,{"rdw-suggestion-option-active":n===A})},t.text)}))))}}]),n}()).propTypes={children:i.a.array},e}.bind(this),this.getSuggestionDecorator=function(){return{strategy:n.findSuggestionEntities,component:n.getSuggestionComponent()}};var A=t.separator,c=t.trigger,f=t.getSuggestions,d=t.onChange,C=t.getEditorState,u=t.getWrapperRef,p=t.caseSensitive,g=t.dropdownClassName,b=t.optionClassName,w=t.modalHandler;this.config={separator:A,trigger:c,getSuggestions:f,onChange:d,getEditorState:C,getWrapperRef:u,caseSensitive:p,dropdownClassName:g,optionClassName:b,modalHandler:w}})),xr=function(e){return[new br(e.mentionClassName).getMentionDecorator(),new Qr(e).getSuggestionDecorator()]};function Hr(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}function Dr(e){var t=e.block,n=e.contentState.getEntity(t.getEntityAt(0)).getData(),r=n.src,A=n.height,i=n.width;return o.a.createElement("iframe",{height:A,width:i,src:r,frameBorder:"0",allowFullScreen:!0,title:"Wysiwyg Embedded Content"})}n(36);var kr=Hr((function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.getHashtagComponent=function(){function e(e){var n=e.children,r=n[0].props.text;return o.a.createElement("a",{href:r,className:s()("rdw-hashtag-link",t)},n)}var t=n.className;return e.propTypes={children:i.a.object},e},this.findHashtagEntities=function(e,t){for(var r=e.getText(),o=0,A=0;0<r.length&&0<=o;)if(r[0]===n.hashCharacter?(A=o=0,r=r.substr(n.hashCharacter.length)):0<=(o=r.indexOf(n.separator+n.hashCharacter))&&(r=r.substr(o+(n.separator+n.hashCharacter).length),A+=o+n.separator.length),0<=o){var i=0<=r.indexOf(n.separator)?r.indexOf(n.separator):r.length,a=r.substr(0,i);a&&0<a.length&&(t(A,A+a.length+n.hashCharacter.length),A+=n.hashCharacter.length)}},this.getHashtagDecorator=function(){return{strategy:n.findHashtagEntities,component:n.getHashtagComponent()}},this.className=t.className,this.hashCharacter=t.hashCharacter||"#",this.separator=t.separator||" "})),Vr=function(e){return new kr(e).getHashtagDecorator()};Dr.propTypes={block:i.a.object,contentState:i.a.object};var Zr=Dr;function Nr(e){return(Nr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function zr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pr(e,t){return(Pr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Or(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Sr(e);if(t){var o=Sr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Nr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function Sr(e){return(Sr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(37);var jr=function(e){var t;return(t=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Pr(e,t)}(i,r.Component);var t,n,A=Or(i);function i(){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=A.call.apply(A,[this].concat(r))).state={hovered:!1},t.setEntityAlignmentLeft=function(){t.setEntityAlignment("left")},t.setEntityAlignmentRight=function(){t.setEntityAlignment("right")},t.setEntityAlignmentCenter=function(){t.setEntityAlignment("none")},t.setEntityAlignment=function(n){var r=t.props,o=r.block,A=r.contentState,i=o.getEntityAt(0);A.mergeEntityData(i,{alignment:n}),e.onChange(a.EditorState.push(e.getEditorState(),A,"change-block-data")),t.setState({dummy:!0})},t.toggleHovered=function(){var e=!t.state.hovered;t.setState({hovered:e})},t}return t=i,(n=[{key:"renderAlignmentOptions",value:function(e){return o.a.createElement("div",{className:s()("rdw-image-alignment-options-popup",{"rdw-image-alignment-options-popup-right":"right"===e})},o.a.createElement(z,{onClick:this.setEntityAlignmentLeft,className:"rdw-image-alignment-option"},"L"),o.a.createElement(z,{onClick:this.setEntityAlignmentCenter,className:"rdw-image-alignment-option"},"C"),o.a.createElement(z,{onClick:this.setEntityAlignmentRight,className:"rdw-image-alignment-option"},"R"))}},{key:"render",value:function(){var t=this.props,n=t.block,r=t.contentState,A=this.state.hovered,i=e.isReadOnly,a=e.isImageAlignmentEnabled,l=r.getEntity(n.getEntityAt(0)).getData(),c=l.src,f=l.alignment,d=l.height,C=l.width,u=l.alt;return o.a.createElement("span",{onMouseEnter:this.toggleHovered,onMouseLeave:this.toggleHovered,className:s()("rdw-image-alignment",{"rdw-image-left":"left"===f,"rdw-image-right":"right"===f,"rdw-image-center":!f||"none"===f})},o.a.createElement("span",{className:"rdw-image-imagewrapper"},o.a.createElement("img",{src:c,alt:u,style:{height:d,width:C}}),!i()&&A&&a()?this.renderAlignmentOptions(f):void 0))}}])&&zr(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),i}()).propTypes={block:i.a.object,contentState:i.a.object},t},Fr=function(e,t){return function(n){if("function"==typeof t){var r=t(n,e,e.getEditorState);if(r)return r}if("atomic"===n.getType()){var o=e.getEditorState().getCurrentContent().getEntity(n.getEntityAt(0));if(o&&"IMAGE"===o.type)return{component:jr(e),editable:!1};if(o&&"EMBEDDED_LINK"===o.type)return{component:Zr,editable:!1}}}},Tr={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+PHBhdGggZD0iTTYuMjM2IDBjMS42NTIgMCAyLjk0LjI5OCAzLjg2Ni44OTMuOTI1LjU5NSAxLjM4OCAxLjQ4NSAxLjM4OCAyLjY2OSAwIC42MDEtLjE3MyAxLjEzOS0uNTE2IDEuNjEtLjM0My40NzQtLjg0NC44My0xLjQ5OSAxLjA2OC44NDMuMTY3IDEuNDc0LjUyMyAxLjg5NSAxLjA3MS40MTkuNTUuNjMgMS4xODMuNjMgMS45MDMgMCAxLjI0NS0uNDQ0IDIuMTg3LTEuMzMgMi44MjUtLjg4Ni42NDEtMi4xNDQuOTYxLTMuNzY5Ljk2MUgwdi0yLjE2N2gxLjQ5NFYyLjE2N0gwVjBoNi4yMzZ6TTQuMzA4IDUuNDQ2aDIuMDI0Yy43NTIgMCAxLjMzLS4xNDMgMS43MzQtLjQzLjQwNS0uMjg1LjYwOC0uNzAxLjYwOC0xLjI1IDAtLjYtLjIwNC0xLjA0NC0uNjEyLTEuMzMtLjQwOC0uMjg2LTEuMDE2LS40MjctMS44MjYtLjQyN0g0LjMwOHYzLjQzN3ptMCAxLjgwNFYxMWgyLjU5M2MuNzQ3IDAgMS4zMTQtLjE1MiAxLjcwNy0uNDUyLjM5LS4zLjU4OC0uNzQ1LjU4OC0xLjMzNCAwLS42MzYtLjE2OC0xLjEyNC0uNS0xLjQ2LS4zMzYtLjMzNS0uODY0LS41MDQtMS41ODItLjUwNEg0LjMwOHoiIGZpbGw9IiMwMDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==",className:void 0,title:void 0},italic:{icon:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZD0iTTcgM1YyaDR2MUg5Ljc1M2wtMyAxMEg4djFINHYtMWgxLjI0N2wzLTEwSDd6Ii8+PC9zdmc+",className:void 0,title:void 0},underline:{icon:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZD0iTTYuMDQ1IDJ2Ljk5Mkw0Ljc4NSAzdjUuMTcyYzAgLjg1OS4yNDMgMS41MTIuNzI3IDEuOTU3czEuMTI0LjY2OCAxLjkxOC42NjhjLjgzNiAwIDEuNTA5LS4yMjEgMi4wMTktLjY2NC41MTEtLjQ0Mi43NjYtMS4wOTYuNzY2LTEuOTYxVjNsLTEuMjYtLjAwOFYySDEzdi45OTJMMTEuNzM5IDN2NS4xNzJjMCAxLjIzNC0uMzk4IDIuMTgxLTEuMTk1IDIuODQtLjc5Ny42NTktMS44MzUuOTg4LTMuMTE0Ljk4OC0xLjI0MiAwLTIuMjQ4LS4zMjktMy4wMTctLjk4OC0uNzY5LS42NTktMS4xNTItMS42MDUtMS4xNTItMi44NFYzTDIgMi45OTJWMmg0LjA0NXpNMiAxM2gxMXYxSDJ6Ii8+PC9zdmc+",className:void 0,title:void 0},strikethrough:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNC4wNCA1Ljk1NGg2LjIxNWE3LjQxMiA3LjQxMiAwIDAgMC0uNzk1LS40MzggMTEuOTA3IDExLjkwNyAwIDAgMC0xLjQ0Ny0uNTU3Yy0xLjE4OC0uMzQ4LTEuOTY2LS43MTEtMi4zMzQtMS4wODgtLjM2OC0uMzc3LS41NTItLjc3LS41NTItMS4xODEgMC0uNDk1LjE4Ny0uOTA2LjU2LTEuMjMyLjM4LS4zMzEuODg3LS40OTcgMS41MjMtLjQ5Ny42OCAwIDEuMjY2LjI1NSAxLjc1Ny43NjcuMjk1LjMxNS41ODIuODkxLjg2MSAxLjczbC4xMTcuMDE2LjcwMy4wNS4xLS4wMjRjLjAyOC0uMTUyLjA0Mi0uMjc5LjA0Mi0uMzggMC0uMzM3LS4wMzktLjg1Mi0uMTE3LTEuNTQ0YTkuMzc0IDkuMzc0IDAgMCAwLS4xNzYtLjk5NUM5Ljg4LjM3OSA5LjM4NS4yNDQgOS4wMTcuMTc2IDguMzY1LjA3IDcuODk5LjAxNiA3LjYyLjAxNmMtMS40NSAwLTIuNTQ1LjM1Ny0zLjI4NyAxLjA3MS0uNzQ3LjcyLTEuMTIgMS41ODktMS4xMiAyLjYwNyAwIC41MTEuMTMzIDEuMDQuNCAxLjU4Ni4xMjkuMjUzLjI3LjQ3OC40MjcuNjc0ek04LjI4IDguMTE0Yy41NzUuMjM2Ljk1Ny40MzYgMS4xNDcuNTk5LjQ1MS40MS42NzcuODUyLjY3NyAxLjMyNCAwIC4zODMtLjEzLjc0NS0uMzkzIDEuMDg4LS4yNS4zMzgtLjU5LjU4LTEuMDIuNzI2YTMuNDE2IDMuNDE2IDAgMCAxLTEuMTYzLjIyOGMtLjQwNyAwLS43NzUtLjA2Mi0xLjEwNC0uMTg2YTIuNjk2IDIuNjk2IDAgMCAxLS44NzgtLjQ4IDMuMTMzIDMuMTMzIDAgMCAxLS42Ny0uNzk0IDEuNTI3IDEuNTI3IDAgMCAxLS4xMDQtLjIyNyA1Ny41MjMgNTcuNTIzIDAgMCAwLS4xODgtLjQ3MyAyMS4zNzEgMjEuMzcxIDAgMCAwLS4yNTEtLjU5OWwtLjg1My4wMTd2LjM3MWwtLjAxNy4zMTNhOS45MiA5LjkyIDAgMCAwIDAgLjU3M2MuMDExLjI3LjAxNy43MDkuMDE3IDEuMzE2di4xMWMwIC4wNzkuMDIyLjE0LjA2Ny4xODUuMDgzLjA2OC4yODQuMTQ3LjYwMi4yMzdsMS4xNy4zMzdjLjQ1Mi4xMy45OTYuMTk0IDEuNjMyLjE5NC42ODYgMCAxLjI1Mi0uMDU5IDEuNjk4LS4xNzdhNC42OTQgNC42OTQgMCAwIDAgMS4yOC0uNTU3Yy40MDEtLjI1OS43MDUtLjQ4Ni45MTEtLjY4My4yNjgtLjI3Ni40NjYtLjU2OC41OTQtLjg3OGE0Ljc0IDQuNzQgMCAwIDAgLjM0My0xLjc4OGMwLS4yOTgtLjAyLS41NTctLjA1OC0uNzc2SDguMjgxek0xNC45MTQgNi41N2EuMjYuMjYgMCAwIDAtLjE5My0uMDc2SC4yNjhhLjI2LjI2IDAgMCAwLS4xOTMuMDc2LjI2NC4yNjQgMCAwIDAtLjA3NS4xOTR2LjU0YzAgLjA3OS4wMjUuMTQzLjA3NS4xOTRhLjI2LjI2IDAgMCAwIC4xOTMuMDc2SDE0LjcyYS4yNi4yNiAwIDAgMCAuMTkzLS4wNzYuMjY0LjI2NCAwIDAgMCAuMDc1LS4xOTR2LS41NGEuMjY0LjI2NCAwIDAgMC0uMDc1LS4xOTR6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},monospace:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzQ0NCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMS4wMjEgMi45MDZjLjE4NiAxLjIxOS4zNzIgMS41LjM3MiAyLjcxOUMxLjM5MyA2LjM3NSAwIDcuMDMxIDAgNy4wMzF2LjkzOHMxLjM5My42NTYgMS4zOTMgMS40MDZjMCAxLjIxOS0uMTg2IDEuNS0uMzcyIDIuNzE5Qy43NDMgMTQuMDYzIDEuNzY0IDE1IDIuNjkzIDE1aDEuOTV2LTEuODc1cy0xLjY3Mi4xODgtMS42NzItLjkzOGMwLS44NDMuMTg2LS44NDMuMzcyLTIuNzE4LjA5My0uODQ0LS40NjQtMS41LTEuMDIyLTEuOTY5LjU1OC0uNDY5IDEuMTE1LTEuMDMxIDEuMDIyLTEuODc1QzMuMDY0IDMuNzUgMi45NyAzLjc1IDIuOTcgMi45MDZjMC0xLjEyNSAxLjY3Mi0xLjAzMSAxLjY3Mi0xLjAzMVYwaC0xLjk1QzEuNjcgMCAuNzQzLjkzOCAxLjAyIDIuOTA2ek0xMS45NzkgMi45MDZjLS4xODYgMS4yMTktLjM3MiAxLjUtLjM3MiAyLjcxOSAwIC43NSAxLjM5MyAxLjQwNiAxLjM5MyAxLjQwNnYuOTM4cy0xLjM5My42NTYtMS4zOTMgMS40MDZjMCAxLjIxOS4xODYgMS41LjM3MiAyLjcxOS4yNzggMS45NjktLjc0MyAyLjkwNi0xLjY3MiAyLjkwNmgtMS45NXYtMS44NzVzMS42NzIuMTg4IDEuNjcyLS45MzhjMC0uODQzLS4xODYtLjg0My0uMzcyLTIuNzE4LS4wOTMtLjg0NC40NjQtMS41IDEuMDIyLTEuOTY5LS41NTgtLjQ2OS0xLjExNS0xLjAzMS0xLjAyMi0xLjg3NS4xODYtMS44NzUuMzcyLTEuODc1LjM3Mi0yLjcxOSAwLTEuMTI1LTEuNjcyLTEuMDMxLTEuNjcyLTEuMDMxVjBoMS45NWMxLjAyMiAwIDEuOTUuOTM4IDEuNjcyIDIuOTA2eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},superscript:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcuMzA1IDEwLjE2NUwxMS44NjUgMTVIOS4wNTdsLTMuMTkyLTMuNTM2TDIuNzQ2IDE1SDBsNC41MjMtNC44MzVMLjIxOCA1LjYwM2gyLjc3TDUuOTg2IDguOTEgOS4wMSA1LjYwM2gyLjY0OWwtNC4zNTQgNC41NjJ6bTYuMjM0LTMuMjY5bDEuODc5LTEuMzA2Yy42NC0uNDE2IDEuMDYyLS44MDEgMS4yNjQtMS4xNTcuMjAxLS4zNTYuMzAyLS43MzguMzAyLTEuMTQ4IDAtLjY2OS0uMjM3LTEuMjEtLjcxLTEuNjItLjQ3NC0uNDExLTEuMDk3LS42MTctMS44NjgtLjYxNy0uNzQ0IDAtMS4zNC4yMDgtMS43ODUuNjI0LS40NDcuNDE2LS42NyAxLjA0My0uNjcgMS44ODFoMS40MzZjMC0uNS4wOTQtLjg0Ni4yODEtMS4wMzguMTg4LS4xOTEuNDQ1LS4yODcuNzcyLS4yODdzLjU4NS4wOTcuNzc3LjI5MmMuMTkuMTk1LjI4Ni40MzcuMjg2LjcyNiAwIC4yOS0uMDg5LjU1LS4yNjYuNzg1cy0uNjcuNjI4LTEuNDc5IDEuMTg0Yy0uNjkxLjQ3Ny0xLjYyNy45MjctMS45MDggMS4zNWwuMDE0IDEuNTY5SDE3VjYuODk2aC0zLjQ2MXoiLz48L3N2Zz4=",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:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMS43MiAzLjQyN2MuOTUxIDAgMS43MjItLjc2OCAxLjcyMi0xLjcwOFMyLjY3LjAxIDEuNzIuMDFDLjc3LjAwOCAwIC43NzUgMCAxLjcxNWMwIC45NC43NzQgMS43MTEgMS43MiAxLjcxMXptMC0yLjYyNWMuNTEgMCAuOTIyLjQxMi45MjIuOTE0YS45Mi45MiAwIDAgMS0xLjg0MiAwIC45Mi45MiAwIDAgMSAuOTItLjkxNHpNMS43MiA4LjcwM2MuOTUxIDAgMS43MjItLjc2OCAxLjcyMi0xLjcwOFMyLjY3IDUuMjg3IDEuNzIgNS4yODdDLjc3IDUuMjg3IDAgNi4wNTIgMCA2Ljk5NXMuNzc0IDEuNzA4IDEuNzIgMS43MDh6bTAtMi42MjJjLjUxIDAgLjkyMi40MTIuOTIyLjkxNGEuOTIuOTIgMCAwIDEtMS44NDIgMGMwLS41MDUuNDE1LS45MTQuOTItLjkxNHpNMS43MiAxMy45ODJjLjk1MSAwIDEuNzIyLS43NjggMS43MjItMS43MDggMC0uOTQzLS43NzQtMS43MDgtMS43MjEtMS43MDgtLjk0NyAwLTEuNzIxLjc2OC0xLjcyMSAxLjcwOHMuNzc0IDEuNzA4IDEuNzIgMS43MDh6bTAtMi42MjVjLjUxIDAgLjkyMi40MTIuOTIyLjkxNGEuOTIuOTIgMCAxIDEtMS44NDIgMCAuOTIuOTIgMCAwIDEgLjkyLS45MTR6TTUuNzQ0IDIuMTE1aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOTlINS43NDRhLjQuNCAwIDAgMC0uNDAyLjM5OS40LjQgMCAwIDAgLjQwMi4zOTl6TTUuNzQ0IDcuMzk0aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOThINS43NDRhLjQuNCAwIDAgMC0uNDAyLjM5OC40LjQgMCAwIDAgLjQwMi4zOTl6TTUuNzQ0IDEyLjY3aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOTlINS43NDRhLjQuNCAwIDAgMC0uNDAyLjQuNC40IDAgMCAwIC40MDIuMzk4eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},ordered:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNC4yMDIgMS40NjZoOC4xNWMuMzM4IDAgLjYxMi0uMzIyLjYxMi0uNzIgMC0uMzk3LS4yNzQtLjcyLS42MTItLjcyaC04LjE1Yy0uMzM4IDAtLjYxMS4zMjMtLjYxMS43MiAwIC4zOTguMjczLjcyLjYxLjcyek0xMi4zNTIgNS43ODNoLTguMTVjLS4zMzggMC0uNjExLjMyMi0uNjExLjcyIDAgLjM5Ny4yNzMuNzIuNjEuNzJoOC4xNTFjLjMzOCAwIC42MTItLjMyMy42MTItLjcyIDAtLjM5OC0uMjc0LS43Mi0uNjEyLS43MnpNMTIuMzUyIDExLjU0aC04LjE1Yy0uMzM4IDAtLjYxMS4zMjItLjYxMS43MiAwIC4zOTYuMjczLjcxOS42MS43MTloOC4xNTFjLjMzOCAwIC42MTItLjMyMy42MTItLjcyIDAtLjM5Ny0uMjc0LS43Mi0uNjEyLS43MnpNLjc2NyAxLjI0OXYxLjgwMmMwIC4xOTUuMTM2LjM0My4zMTUuMzQzLjE3NiAwIC4zMTUtLjE1LjMxNS0uMzQzVi4zNTZjMC0uMTktLjEzMy0uMzM5LS4zMDItLjMzOS0uMTQ4IDAtLjIyMy4xMTgtLjI0Ny4xNTZhLjIyOC4yMjggMCAwIDAtLjAwMy4wMDVMLjU3OS42MjFhLjQ3NC40NzQgMCAwIDAtLjA5OC4yNzNjMCAuMTk0LjEyOC4zNTEuMjg2LjM1NXpNLjM1MiA4LjE5SDEuNTVjLjE1NyAwIC4yODUtLjE2Mi4yODUtLjM2MiAwLS4xOTgtLjEyOC0uMzU5LS4yODUtLjM1OUguNjh2LS4wMDZjMC0uMTA3LjIxLS4yODEuMzc4LS40MjIuMzM2LS4yNzguNzUzLS42MjUuNzUzLTEuMjI2IDAtLjU3LS4zNzYtMS0uODc0LTEtLjQ3NyAwLS44MzYuMzg1LS44MzYuODk3IDAgLjI5Ny4xNjQuNDAyLjMwNS40MDIuMiAwIC4zMjEtLjE3Ni4zMjEtLjM0NiAwLS4xMDYuMDIzLS4yMjguMjA0LS4yMjguMjQzIDAgLjI1LjI1NC4yNS4yODMgMCAuMjI4LS4yNTIuNDQyLS40OTUuNjQ5LS4zMDEuMjU1LS42NDIuNTQ0LS42NDIuOTkydi4zODRjMCAuMjA1LjE1OS4zNDMuMzA4LjM0M3pNMS43NyAxMC41NDNjMC0uNTkyLS4yOTYtLjkzMS0uODE0LS45MzEtLjY4IDAtLjg1OS41Ny0uODU5Ljg3MiAwIC4zNTEuMjIyLjM5LjMxOC4zOS4xODUgMCAuMzEtLjE0OC4zMS0uMzY2IDAtLjA4NC4wMjYtLjE4MS4yMjQtLjE4MS4xNDIgMCAuMi4wMjQuMi4yNjcgMCAuMjM3LS4wNDMuMjYzLS4yMTMuMjYzLS4xNjQgMC0uMjg4LjE1Mi0uMjg4LjM1NCAwIC4yLjEyNS4zNS4yOTEuMzUuMjI1IDAgLjI3LjEwOC4yNy4yODN2LjA3NWMwIC4yOTQtLjA5Ny4zNS0uMjc3LjM1LS4yNDggMC0uMjY3LS4xNS0uMjY3LS4xOTcgMC0uMTc0LS4wOTgtLjM1LS4zMTctLjM1LS4xOTIgMC0uMzA3LjE0MS0uMzA3LjM3OCAwIC40My4zMTMuODg4Ljg5NS44ODguNTY0IDAgLjkwMS0uNC45MDEtMS4wN3YtLjA3NGMwLS4yNzQtLjA3NC0uNTAyLS4yMTQtLjY2Ni4wOTYtLjE2My4xNDgtLjM4LjE0OC0uNjM1eiIvPjwvZz48L3N2Zz4=",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+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuNTU2IDE0Ljg4N0gzLjM4OGEuMzI2LjMyNiAwIDAgMSAwLS42NTJoOC4xNjdhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42MTggMTAuMTYySC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUzaDE0LjI5MmEuMzI2LjMyNiAwIDAgMSAwIC42NTN6TTExLjU1NiA1LjQzNUgzLjM4OGEuMzI2LjMyNiAwIDAgMSAwLS42NTJoOC4xNjdhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42MTguNzA5SC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUyaDE0LjI5MmEuMzI2LjMyNiAwIDAgMSAwIC42NTJ6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},right:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNjE4IDE0Ljg4N0g2LjQ1YS4zMjYuMzI2IDAgMCAxIDAtLjY1Mmg4LjE2N2EuMzI2LjMyNiAwIDAgMSAwIC42NTJ6TTE0LjYxOCAxMC4xNjJILjMyNmEuMzI2LjMyNiAwIDAgMSAwLS42NTNoMTQuMjkyYS4zMjYuMzI2IDAgMCAxIDAgLjY1M3pNMTQuNjE4IDUuNDM1SDYuNDVhLjMyNi4zMjYgMCAwIDEgMC0uNjUyaDguMTY3YS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjE4LjcwOUguMzI2YS4zMjYuMzI2IDAgMCAxIDAtLjY1MmgxNC4yOTJhLjMyNi4zMjYgMCAwIDEgMCAuNjUyeiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},justify:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNjIgMTQuODg4SC4zMjVhLjMyNi4zMjYgMCAwIDEgMC0uNjUySDE0LjYyYS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjIgMTAuMTYySC4zMjVhLjMyNi4zMjYgMCAwIDEgMC0uNjUySDE0LjYyYS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjIgNS40MzZILjMyNWEuMzI2LjMyNiAwIDAgMSAwLS42NTJIMTQuNjJhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42Mi43MUguMzI1YS4zMjYuMzI2IDAgMCAxIDAtLjY1M0gxNC42MmEuMzI2LjMyNiAwIDAgMSAwIC42NTN6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},title:void 0},colorPicker:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNDA2LjU4NWExLjk5OCAxLjk5OCAwIDAgMC0yLjgyNSAwbC0uNTQuNTRhLjc0MS43NDEgMCAxIDAtMS4wNDggMS4wNDhsLjE3NS4xNzUtNS44MjYgNS44MjUtMi4wMjIgMi4wMjNhLjkxLjkxIDAgMCAwLS4yNjYuNjAybC0uMDA1LjEwOHYuMDAybC0uMDgxIDEuODI5YS4zMDIuMzAyIDAgMCAwIC4zMDIuMzE2aC4wMTNsLjk3LS4wNDQuNTkyLS4wMjYuMjY4LS4wMTJjLjI5Ny0uMDEzLjU3OS0uMTM3Ljc5LS4zNDdsNy43Ny03Ljc3LjE0Ni4xNDRhLjc0Ljc0IDAgMCAwIDEuMDQ4IDBjLjI5LS4yOS4yOS0uNzU5IDAtMS4wNDhsLjU0LS41NGMuNzgtLjc4Ljc4LTIuMDQ0IDAtMi44MjV6TTguNzk1IDcuMzMzbC0yLjczLjUxNSA0LjQ1Mi00LjQ1MiAxLjEwOCAxLjEwNy0yLjgzIDIuODN6TTIuMDggMTMuNjczYy0xLjE0OCAwLTIuMDguMjk1LTIuMDguNjYgMCAuMzYzLjkzMi42NTggMi4wOC42NTggMS4xNSAwIDIuMDgtLjI5NCAyLjA4LS42NTkgMC0uMzY0LS45My0uNjU5LTIuMDgtLjY1OXoiLz48L2c+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+PHBhdGggZD0iTTEzLjk2Ny45NUEzLjIyNiAzLjIyNiAwIDAgMCAxMS42Ny4wMDJjLS44NyAwLTEuNjg2LjMzNy0yLjI5Ny45NDhMNy4xMDUgMy4yMThBMy4yNDcgMy4yNDcgMCAwIDAgNi4yNCA2LjI0YTMuMjI1IDMuMjI1IDAgMCAwLTMuMDIyLjg2NUwuOTUgOS4zNzNhMy4yNTMgMy4yNTMgMCAwIDAgMCA0LjU5NCAzLjIyNiAzLjIyNiAwIDAgMCAyLjI5Ny45NDhjLjg3IDAgMS42ODYtLjMzNiAyLjI5OC0uOTQ4TDcuODEyIDExLjdhMy4yNDcgMy4yNDcgMCAwIDAgLjg2NS0zLjAyMyAzLjIyNSAzLjIyNSAwIDAgMCAzLjAyMi0uODY1bDIuMjY4LTIuMjY3YTMuMjUyIDMuMjUyIDAgMCAwIDAtNC41OTV6TTcuMTA1IDEwLjk5M0w0LjgzNyAxMy4yNmEyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LjY1NSAyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LS42NTUgMi4yNTIgMi4yNTIgMCAwIDEgMC0zLjE4bDIuMjY4LTIuMjY4YTIuMjMyIDIuMjMyIDAgMCAxIDEuNTktLjY1NWMuNDMgMCAuODQxLjEyIDEuMTk1LjM0M0w0Ljc3MiA5LjQzOGEuNS41IDAgMSAwIC43MDcuNzA3bDEuOTM5LTEuOTM4Yy41NDUuODY4LjQ0MiAyLjAzLS4zMTMgMi43ODV6bTYuMTU1LTYuMTU1bC0yLjI2OCAyLjI2N2EyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LjY1NWMtLjQzMSAwLS44NDEtLjEyLTEuMTk1LS4zNDNsMS45MzgtMS45MzhhLjUuNSAwIDEgMC0uNzA3LS43MDdMNy40OTkgNi43MWEyLjI1MiAyLjI1MiAwIDAgMSAuMzEzLTIuNzg1bDIuMjY3LTIuMjY4YTIuMjMzIDIuMjMzIDAgMCAxIDEuNTktLjY1NSAyLjIzMyAyLjIzMyAwIDAgMSAyLjI0NiAyLjI0NWMwIC42MDMtLjIzMiAxLjE2OC0uNjU1IDEuNTl6IiBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=",className:void 0,title:void 0},unlink:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTMuOTU2IDEuMDM3YTMuNTUgMy41NSAwIDAgMC01LjAxNCAwTDYuNDM2IDMuNTQ0YS41NDUuNTQ1IDAgMSAwIC43Ny43N2wyLjUwOC0yLjUwNmEyLjQzOCAyLjQzOCAwIDAgMSAxLjczNS0uNzE1Yy42NTggMCAxLjI3NS4yNTQgMS43MzYuNzE1LjQ2LjQ2MS43MTUgMS4wNzguNzE1IDEuNzM2IDAgLjY1OC0uMjU0IDEuMjc0LS43MTUgMS43MzVMOS45MDcgOC41NThhMi40NTggMi40NTggMCAwIDEtMy40NzIgMCAuNTQ1LjU0NSAwIDEgMC0uNzcxLjc3MSAzLjUzNCAzLjUzNCAwIDAgMCAyLjUwNyAxLjAzN2MuOTA4IDAgMS44MTYtLjM0NiAyLjUwNy0xLjAzN2wzLjI3OC0zLjI3OGEzLjUyIDMuNTIgMCAwIDAgMS4wMzUtMi41MDdjMC0uOTUtLjM2Ny0xLjg0LTEuMDM1LTIuNTA3eiIvPjxwYXRoIGQ9Ik03LjQgMTEuMDY1bC0yLjEyMiAyLjEyYTIuNDM3IDIuNDM3IDAgMCAxLTEuNzM1LjcxNiAyLjQzNyAyLjQzNyAwIDAgMS0xLjczNi0uNzE1IDIuNDU3IDIuNDU3IDAgMCAxIDAtMy40NzFsMy4wODYtMy4wODZhMi40MzggMi40MzggMCAwIDEgMS43MzUtLjcxNWMuNjU4IDAgMS4yNzUuMjU0IDEuNzM2LjcxNWEuNTQ1LjU0NSAwIDEgMCAuNzcxLS43NzEgMy41NSAzLjU1IDAgMCAwLTUuMDE0IDBMMS4wMzYgOC45NDRBMy41MiAzLjUyIDAgMCAwIDAgMTEuNDVjMCAuOTUuMzY3IDEuODQgMS4wMzUgMi41MDdhMy41MiAzLjUyIDAgMCAwIDIuNTA2IDEuMDM1Yy45NSAwIDEuODQtLjM2OCAyLjUwNy0xLjAzNWwyLjEyMi0yLjEyMWEuNTQ1LjU0NSAwIDAgMC0uNzcxLS43NzF6TTkuMjc0IDEyLjAwMmEuNTQ2LjU0NiAwIDAgMC0uNTQ2LjU0NXYxLjYzN2EuNTQ2LjU0NiAwIDAgMCAxLjA5MSAwdi0xLjYzN2EuNTQ1LjU0NSAwIDAgMC0uNTQ1LS41NDV6TTExLjIzIDExLjYxNmEuNTQ1LjU0NSAwIDEgMC0uNzcyLjc3MmwxLjE1NyAxLjE1NmEuNTQzLjU0MyAwIDAgMCAuNzcxIDAgLjU0NS41NDUgMCAwIDAgMC0uNzdsLTEuMTU2LTEuMTU4ek0xMi41MzcgOS44MkgxMC45YS41NDYuNTQ2IDAgMCAwIDAgMS4wOTFoMS42MzdhLjU0Ni41NDYgMCAwIDAgMC0xLjA5ek00LjkxIDMuNTQ3YS41NDYuNTQ2IDAgMCAwIC41NDUtLjU0NVYxLjM2NmEuNTQ2LjU0NiAwIDAgMC0xLjA5IDB2MS42MzZjMCAuMzAxLjI0NC41NDUuNTQ1LjU0NXpNMi44ODggMy45MzNhLjU0My41NDMgMCAwIDAgLjc3MSAwIC41NDUuNTQ1IDAgMCAwIDAtLjc3MUwyLjUwMiAyLjAwNWEuNTQ1LjU0NSAwIDEgMC0uNzcxLjc3bDEuMTU3IDEuMTU4ek0xLjYyOCA1LjczaDEuNjM2YS41NDYuNTQ2IDAgMCAwIDAtMS4wOTJIMS42MjhhLjU0Ni41NDYgMCAwIDAgMCAxLjA5MXoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},linkCallback:void 0},emoji:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTciIHZpZXdCb3g9IjE1LjcyOSAyMi4wODIgMTcgMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTI5LjcwOCAyNS4xMDRjLTMuMDIxLTMuMDIyLTcuOTM3LTMuMDIyLTEwLjk1OCAwLTMuMDIxIDMuMDItMy4wMiA3LjkzNiAwIDEwLjk1OCAzLjAyMSAzLjAyIDcuOTM3IDMuMDIgMTAuOTU4LS4wMDEgMy4wMi0zLjAyMSAzLjAyLTcuOTM2IDAtMTAuOTU3em0tLjg0NSAxMC4xMTJhNi41NiA2LjU2IDAgMCAxLTkuMjY4IDAgNi41NiA2LjU2IDAgMCAxIDAtOS4yNjcgNi41NiA2LjU2IDAgMCAxIDkuMjY4IDAgNi41NiA2LjU2IDAgMCAxIDAgOS4yNjd6bS03LjUyNC02LjczYS45MDYuOTA2IDAgMSAxIDEuODExIDAgLjkwNi45MDYgMCAwIDEtMS44MTEgMHptNC4xMDYgMGEuOTA2LjkwNiAwIDEgMSAxLjgxMiAwIC45MDYuOTA2IDAgMCAxLTEuODEyIDB6bTIuMTQxIDMuNzA4Yy0uNTYxIDEuMjk4LTEuODc1IDIuMTM3LTMuMzQ4IDIuMTM3LTEuNTA1IDAtMi44MjctLjg0My0zLjM2OS0yLjE0N2EuNDM4LjQzOCAwIDAgMSAuODEtLjMzNmMuNDA1Ljk3NiAxLjQxIDEuNjA3IDIuNTU5IDEuNjA3IDEuMTIzIDAgMi4xMjEtLjYzMSAyLjU0NC0xLjYwOGEuNDM4LjQzOCAwIDAgMSAuODA0LjM0N3oiLz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,emojis:["😀","😁","😂","😃","😉","😋","😎","😍","😗","🤗","🤔","😣","😫","😴","😌","🤓","😛","😜","😠","😇","😷","😈","👻","😺","😸","😹","😻","😼","😽","🙀","🙈","🙉","🙊","👼","👮","🕵","💂","👳","🎅","👸","👰","👲","🙍","🙇","🚶","🏃","💃","⛷","🏂","🏌","🏄","🚣","🏊","⛹","🏋","🚴","👫","💪","👈","👉","👆","🖕","👇","🖖","🤘","🖐","👌","👍","👎","✊","👊","👏","🙌","🙏","🐵","🐶","🐇","🐥","🐸","🐌","🐛","🐜","🐝","🍉","🍄","🍔","🍤","🍨","🍪","🎂","🍰","🍾","🍷","🍸","🍺","🌍","🚑","⏰","🌙","🌝","🌞","⭐","🌟","🌠","🌨","🌩","⛄","🔥","🎄","🎈","🎉","🎊","🎁","🎗","🏀","🏈","🎲","🔇","🔈","📣","🔔","🎵","🎷","💰","🖊","📅","✅","❎","💯"],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,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNzQxIDBILjI2Qy4xMTYgMCAwIC4xMzYgMCAuMzA0djEzLjM5MmMwIC4xNjguMTE2LjMwNC4yNTkuMzA0SDE0Ljc0Yy4xNDMgMCAuMjU5LS4xMzYuMjU5LS4zMDRWLjMwNEMxNSAuMTM2IDE0Ljg4NCAwIDE0Ljc0MSAwem0tLjI1OCAxMy4zOTFILjUxN1YuNjFoMTMuOTY2VjEzLjM5eiIvPjxwYXRoIGQ9Ik00LjEzOCA2LjczOGMuNzk0IDAgMS40NC0uNzYgMS40NC0xLjY5NXMtLjY0Ni0xLjY5NS0xLjQ0LTEuNjk1Yy0uNzk0IDAtMS40NC43Ni0xLjQ0IDEuNjk1IDAgLjkzNC42NDYgMS42OTUgMS40NCAxLjY5NXptMC0yLjc4MWMuNTA5IDAgLjkyMy40ODcuOTIzIDEuMDg2IDAgLjU5OC0uNDE0IDEuMDg2LS45MjMgMS4wODYtLjUwOSAwLS45MjMtLjQ4Ny0uOTIzLTEuMDg2IDAtLjU5OS40MTQtMS4wODYuOTIzLTEuMDg2ek0xLjgxIDEyLjE3NGMuMDYgMCAuMTIyLS4wMjUuMTcxLS4wNzZMNi4yIDcuNzI4bDIuNjY0IDMuMTM0YS4yMzIuMjMyIDAgMCAwIC4zNjYgMCAuMzQzLjM0MyAwIDAgMCAwLS40M0w3Ljk4NyA4Ljk2OWwyLjM3NC0zLjA2IDIuOTEyIDMuMTQyYy4xMDYuMTEzLjI3LjEwNS4zNjYtLjAyYS4zNDMuMzQzIDAgMCAwLS4wMTYtLjQzbC0zLjEwNC0zLjM0N2EuMjQ0LjI0NCAwIDAgMC0uMTg2LS4wOC4yNDUuMjQ1IDAgMCAwLS4xOC4xTDcuNjIyIDguNTM3IDYuMzk0IDcuMDk0YS4yMzIuMjMyIDAgMCAwLS4zNTQtLjAxM2wtNC40IDQuNTZhLjM0My4zNDMgMCAwIDAtLjAyNC40My4yNDMuMjQzIDAgMCAwIC4xOTQuMTAzeiIvPjwvZz48L3N2Zz4=",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}},Rr={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.controls.link.linkTarget":"Link Target","components.controls.link.linkTargetOption":"Open link in new window","components.controls.link.link":"Link","components.controls.link.unlink":"Unlink","components.controls.list.list":"List","components.controls.list.unordered":"Unordered","components.controls.list.ordered":"Ordered","components.controls.list.indent":"Indent","components.controls.list.outdent":"Outdent","components.controls.remove.remove":"Remove","components.controls.textalign.textalign":"Text Align","components.controls.textalign.left":"Left","components.controls.textalign.center":"Center","components.controls.textalign.right":"Right","components.controls.textalign.justify":"Justify"},fr:{"generic.add":"Ok","generic.cancel":"Annuler","components.controls.blocktype.h1":"Titre 1","components.controls.blocktype.h2":"Titre 2","components.controls.blocktype.h3":"Titre 3","components.controls.blocktype.h4":"Titre 4","components.controls.blocktype.h5":"Titre 5","components.controls.blocktype.h6":"Titre 6","components.controls.blocktype.blockquote":"Citation","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Type bloc","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Palette de couleur","components.controls.colorpicker.text":"Texte","components.controls.colorpicker.background":"Fond","components.controls.embedded.embedded":"Embedded","components.controls.embedded.embeddedlink":"Lien iFrame","components.controls.embedded.enterlink":"Entrer le lien","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Police","components.controls.fontsize.fontsize":"Taille de police","components.controls.history.history":"Historique","components.controls.history.undo":"Précédent","components.controls.history.redo":"Suivant","components.controls.image.image":"Image","components.controls.image.fileUpload":"Téléchargement","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Glisser une image ou cliquer pour télécharger","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être","components.controls.link.link":"Lier","components.controls.link.unlink":"Délier","components.controls.list.list":"Liste","components.controls.list.unordered":"Désordonnée","components.controls.list.ordered":"Ordonnée","components.controls.list.indent":"Augmenter le retrait","components.controls.list.outdent":"Diminuer le retrait","components.controls.remove.remove":"Supprimer","components.controls.textalign.textalign":"Alignement du texte","components.controls.textalign.left":"Gauche","components.controls.textalign.center":"Centre","components.controls.textalign.right":"Droite","components.controls.textalign.justify":"Justifier"},zh:{"generic.add":"添加","generic.cancel":"取消","components.controls.blocktype.h1":"标题1","components.controls.blocktype.h2":"标题2","components.controls.blocktype.h3":"标题3","components.controls.blocktype.h4":"标题4","components.controls.blocktype.h5":"标题5","components.controls.blocktype.h6":"标题6","components.controls.blocktype.blockquote":"引用","components.controls.blocktype.code":"源码","components.controls.blocktype.blocktype":"样式","components.controls.blocktype.normal":"正文","components.controls.colorpicker.colorpicker":"选色器","components.controls.colorpicker.text":"文字","components.controls.colorpicker.background":"背景","components.controls.embedded.embedded":"内嵌","components.controls.embedded.embeddedlink":"内嵌网页","components.controls.embedded.enterlink":"输入网页地址","components.controls.emoji.emoji":"表情符号","components.controls.fontfamily.fontfamily":"字体","components.controls.fontsize.fontsize":"字号","components.controls.history.history":"历史","components.controls.history.undo":"撤销","components.controls.history.redo":"恢复","components.controls.image.image":"图片","components.controls.image.fileUpload":"来自文件","components.controls.image.byURL":"在线图片","components.controls.image.dropFileText":"点击或者拖拽文件上传","components.controls.inline.bold":"粗体","components.controls.inline.italic":"斜体","components.controls.inline.underline":"下划线","components.controls.inline.strikethrough":"删除线","components.controls.inline.monospace":"等宽字体","components.controls.inline.superscript":"上标","components.controls.inline.subscript":"下标","components.controls.link.linkTitle":"超链接","components.controls.link.linkTarget":"输入链接地址","components.controls.link.linkTargetOption":"在新窗口中打开链接","components.controls.link.link":"链接","components.controls.link.unlink":"删除链接","components.controls.list.list":"列表","components.controls.list.unordered":"项目符号","components.controls.list.ordered":"编号","components.controls.list.indent":"增加缩进量","components.controls.list.outdent":"减少缩进量","components.controls.remove.remove":"清除格式","components.controls.textalign.textalign":"文本对齐","components.controls.textalign.left":"文本左对齐","components.controls.textalign.center":"居中","components.controls.textalign.right":"文本右对齐","components.controls.textalign.justify":"两端对齐"},ru:{"generic.add":"Добавить","generic.cancel":"Отменить","components.controls.blocktype.h1":"Заголовок 1","components.controls.blocktype.h2":"Заголовок 2","components.controls.blocktype.h3":"Заголовок 3","components.controls.blocktype.h4":"Заголовок 4","components.controls.blocktype.h5":"Заголовок 5","components.controls.blocktype.h6":"Заголовок 6","components.controls.blocktype.blockquote":"Цитата","components.controls.blocktype.code":"Код","components.controls.blocktype.blocktype":"Форматирование","components.controls.blocktype.normal":"Обычный","components.controls.colorpicker.colorpicker":"Выбор цвета","components.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.controls.list.list":"Список","components.controls.list.unordered":"Неупорядоченный","components.controls.list.ordered":"Упорядоченный","components.controls.list.indent":"Отступ","components.controls.list.outdent":"Выступ","components.controls.remove.remove":"Удалить","components.controls.textalign.textalign":"Выравнивание текста","components.controls.textalign.left":"Слева","components.controls.textalign.center":"По центру","components.controls.textalign.right":"Справа","components.controls.textalign.justify":"Выравнить"},pt:{"generic.add":"Ok","generic.cancel":"Cancelar","components.controls.blocktype.h1":"Título 1","components.controls.blocktype.h2":"Título 2","components.controls.blocktype.h3":"Título 3","components.controls.blocktype.h4":"Título 4","components.controls.blocktype.h5":"Título 5","components.controls.blocktype.h6":"Título 6","components.controls.blocktype.blockquote":"Citação","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órico","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álico","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ítulo 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ção","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":"À Esquerda","components.controls.textalign.center":"Centralizado","components.controls.textalign.right":"À Direita","components.controls.textalign.justify":"Justificado"},ko:{"generic.add":"입력","generic.cancel":"취소","components.controls.blocktype.h1":"제목1","components.controls.blocktype.h2":"제목2","components.controls.blocktype.h3":"제목3","components.controls.blocktype.h4":"제목4","components.controls.blocktype.h5":"제목5","components.controls.blocktype.h6":"제목6","components.controls.blocktype.blockquote":"인용","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"블록","components.controls.blocktype.normal":"표준","components.controls.colorpicker.colorpicker":"색상 선택","components.controls.colorpicker.text":"글꼴색","components.controls.colorpicker.background":"배경색","components.controls.embedded.embedded":"임베드","components.controls.embedded.embeddedlink":"임베드 링크","components.controls.embedded.enterlink":"주소를 입력하세요","components.controls.emoji.emoji":"이모지","components.controls.fontfamily.fontfamily":"글꼴","components.controls.fontsize.fontsize":"글꼴 크기","components.controls.history.history":"히스토리","components.controls.history.undo":"실행 취소","components.controls.history.redo":"다시 실행","components.controls.image.image":"이미지","components.controls.image.fileUpload":"파일 업로드","components.controls.image.byURL":"주소","components.controls.image.dropFileText":"클릭하거나 파일을 드롭하여 업로드하세요","components.controls.inline.bold":"굵게","components.controls.inline.italic":"기울임꼴","components.controls.inline.underline":"밑줄","components.controls.inline.strikethrough":"취소선","components.controls.inline.monospace":"고정 너비","components.controls.inline.superscript":"위 첨자","components.controls.inline.subscript":"아래 첨자","components.controls.link.linkTitle":"링크 제목","components.controls.link.linkTarget":"링크 타겟","components.controls.link.linkTargetOption":"새창으로 열기","components.controls.link.link":"링크","components.controls.link.unlink":"링크 제거","components.controls.list.list":"리스트","components.controls.list.unordered":"일반 리스트","components.controls.list.ordered":"순서 리스트","components.controls.list.indent":"들여쓰기","components.controls.list.outdent":"내어쓰기","components.controls.remove.remove":"삭제","components.controls.textalign.textalign":"텍스트 정렬","components.controls.textalign.left":"왼쪽","components.controls.textalign.center":"중앙","components.controls.textalign.right":"오른쪽","components.controls.textalign.justify":"양쪽"},it:{"generic.add":"Aggiungi","generic.cancel":"Annulla","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Citazione","components.controls.blocktype.code":"Codice","components.controls.blocktype.blocktype":"Stili","components.controls.blocktype.normal":"Normale","components.controls.colorpicker.colorpicker":"Colore testo","components.controls.colorpicker.text":"Testo","components.controls.colorpicker.background":"Evidenziazione","components.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.controls.textalign.center":"Allinea al centro","components.controls.textalign.right":"Allinea a destra","components.controls.textalign.justify":"Giustifica"},nl:{"generic.add":"Toevoegen","generic.cancel":"Annuleren","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Blockquote","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Blocktype","components.controls.blocktype.normal":"Normaal","components.controls.colorpicker.colorpicker":"Kleurkiezer","components.controls.colorpicker.text":"Tekst","components.controls.colorpicker.background":"Achtergrond","components.controls.embedded.embedded":"Ingevoegd","components.controls.embedded.embeddedlink":"Ingevoegde link","components.controls.embedded.enterlink":"Voeg link toe","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Lettertype","components.controls.fontsize.fontsize":"Lettergrootte","components.controls.history.history":"Geschiedenis","components.controls.history.undo":"Ongedaan maken","components.controls.history.redo":"Opnieuw","components.controls.image.image":"Afbeelding","components.controls.image.fileUpload":"Bestand uploaden","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Drop het bestand hier of klik om te uploaden","components.controls.inline.bold":"Dikgedrukt","components.controls.inline.italic":"Schuingedrukt","components.controls.inline.underline":"Onderstrepen","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ügen","generic.cancel":"Abbrechen","components.controls.blocktype.h1":"Überschrift 1","components.controls.blocktype.h2":"Überschrift 2","components.controls.blocktype.h3":"Überschrift 3","components.controls.blocktype.h4":"Überschrift 4","components.controls.blocktype.h5":"Überschrift 5","components.controls.blocktype.h6":"Überschrift 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öße","components.controls.history.history":"Historie","components.controls.history.undo":"Zurücknehmen","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 öffnen","components.controls.link.link":"Link","components.controls.link.unlink":"Aufheben","components.controls.list.list":"Liste","components.controls.list.unordered":"Aufzählung","components.controls.list.ordered":"Nummerierte Liste","components.controls.list.indent":"Einzug vergrößern","components.controls.list.outdent":"Einzug reduzieren","components.controls.remove.remove":"Entfernen","components.controls.textalign.textalign":"Textausrichtung","components.controls.textalign.left":"Linksbündig","components.controls.textalign.center":"Zentrieren","components.controls.textalign.right":"Rechtsbündig","components.controls.textalign.justify":"Blocksatz"},da:{"generic.add":"Tilføj","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.controls.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ørrelser","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ørsel","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ævet","components.controls.inline.subscript":"Sænket","components.controls.link.linkTitle":"Link Titel","components.controls.link.linkTarget":"Link Mål","components.controls.link.linkTargetOption":"Åbn 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øjre","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.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":"兩端對齊"},pl:{"generic.add":"Dodaj","generic.cancel":"Anuluj","components.controls.blocktype.h1":"Nagłówek 1","components.controls.blocktype.h2":"Nagłówek 2","components.controls.blocktype.h3":"Nagłówek 3","components.controls.blocktype.h4":"Nagłówek 4","components.controls.blocktype.h5":"Nagłówek 5","components.controls.blocktype.h6":"Nagłówek 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ój czcionki","components.controls.fontsize.fontsize":"Rozmiar czcionki","components.controls.history.history":"Historia","components.controls.history.undo":"Cofnij","components.controls.history.redo":"Ponów","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órny","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órz 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ównaj 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ñadir","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ódigo","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.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Fuente","components.controls.fontsize.fontsize":"Tamaño de fuente","components.controls.history.history":"Histórico","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índice","components.controls.inline.subscript":"Subíndice","components.controls.link.linkTitle":"Título 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ón 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.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":"両端揃え"}};function Gr(e){return(Gr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Xr(){return(Xr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Yr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ur(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yr(Object(n),!0).forEach((function(t){Kr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Kr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wr(e){return function(e){if(Array.isArray(e))return qr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return qr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qr(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Jr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _r(e,t){return(_r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function $r(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=eo(e);if(t){var o=eo(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Gr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function eo(e){return(eo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(38),n(39);var to=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_r(e,t)}(A,r.Component);var e,t,n=$r(A);function A(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),(t=n.call(this,e)).onEditorBlur=function(){t.setState({editorFocused:!1})},t.onEditorFocus=function(e){var n=t.props.onFocus;t.setState({editorFocused:!0});var r=t.focusHandler.isEditorFocused();n&&r&&n(e)},t.onEditorMouseDown=function(){t.focusHandler.onEditorMouseDown()},t.keyBindingFn=function(e){if("Tab"!==e.key)return"ArrowUp"!==e.key&&"ArrowDown"!==e.key||b()&&e.preventDefault(),Object(a.getDefaultKeyBinding)(e);var n=t.props.onTab;if(!n||!n(e)){var r=Object(l.changeDepth)(t.state.editorState,e.shiftKey?-1:1,4);r&&r!==t.state.editorState&&(t.onChange(r),e.preventDefault())}return null},t.onToolbarFocus=function(e){var n=t.props.onFocus;n&&t.focusHandler.isToolbarFocused()&&n(e)},t.onWrapperBlur=function(e){var n=t.props.onBlur;n&&t.focusHandler.isEditorBlur(e)&&n(e,t.getEditorState())},t.onChange=function(e){var n=t.props,r=n.readOnly,o=n.onEditorStateChange;r||"atomic"===Object(l.getSelectedBlocksType)(e)&&e.getSelection().isCollapsed||(o&&o(e,t.props.wrapperId),B(t.props,"editorState")?t.afterChange(e):t.setState({editorState:e},t.afterChange(e)))},t.setWrapperReference=function(e){t.wrapper=e},t.setEditorReference=function(e){t.props.editorRef&&t.props.editorRef(e),t.editor=e},t.getCompositeDecorator=function(e){var n=[].concat(Wr(t.props.customDecorators),[{strategy:gr,component:hr({showOpenOptionOnHover:e.link.showOpenOptionOnHover})}]);return t.props.mention&&n.push.apply(n,Wr(xr(Ur(Ur({},t.props.mention),{},{onChange:t.onChange,getEditorState:t.getEditorState,getSuggestions:t.getSuggestions,getWrapperRef:t.getWrapperRef,modalHandler:t.modalHandler})))),t.props.hashtag&&n.push(Vr(t.props.hashtag)),new a.CompositeDecorator(n)},t.getWrapperRef=function(){return t.wrapper},t.getEditorState=function(){return t.state?t.state.editorState:null},t.getSuggestions=function(){return t.props.mention&&t.props.mention.suggestions},t.afterChange=function(e){setTimeout((function(){var n=t.props,r=n.onChange,o=n.onContentStateChange;r&&r(Object(a.convertToRaw)(e.getCurrentContent())),o&&o(Object(a.convertToRaw)(e.getCurrentContent()))}))},t.isReadOnly=function(){return t.props.readOnly},t.isImageAlignmentEnabled=function(){return t.state.toolbar.image.alignmentEnabled},t.createEditorState=function(e){var n;if(B(t.props,"editorState"))t.props.editorState&&(n=a.EditorState.set(t.props.editorState,{decorator:e}));else if(B(t.props,"defaultEditorState"))t.props.defaultEditorState&&(n=a.EditorState.set(t.props.defaultEditorState,{decorator:e}));else if(B(t.props,"contentState")){if(t.props.contentState){var r=Object(a.convertFromRaw)(t.props.contentState);n=a.EditorState.createWithContent(r,e),n=a.EditorState.moveSelectionToEnd(n)}}else if(B(t.props,"defaultContentState")||B(t.props,"initialContentState")){var o=t.props.defaultContentState||t.props.initialContentState;o&&(o=Object(a.convertFromRaw)(o),n=a.EditorState.createWithContent(o,e),n=a.EditorState.moveSelectionToEnd(n))}return n||a.EditorState.createEmpty(e)},t.filterEditorProps=function(e){return t=e,n=["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"],r=Object.keys(t).filter((function(e){return n.indexOf(e)<0})),o={},r&&0<r.length&&r.forEach((function(e){o[e]=t[e]})),o;var t,n,r,o},t.getStyleMap=function(e){return Ur(Ur({},Object(l.getCustomStyleMap)()),e.customStyleMap)},t.changeEditorState=function(e){var n=Object(a.convertFromRaw)(e),r=t.state.editorState;return r=a.EditorState.push(r,n,"insert-characters"),a.EditorState.moveSelectionToEnd(r)},t.focusEditor=function(){setTimeout((function(){t.editor.focus()}))},t.handleKeyCommand=function(e){var n=t.state,r=n.editorState,o=n.toolbar.inline;if(o&&0<=o.options.indexOf(e)){var A=a.RichUtils.handleKeyCommand(r,e);if(A)return t.onChange(A),!0}return!1},t.handleReturn=function(e){if(b())return!0;var n=t.state.editorState,r=Object(l.handleNewLine)(n,e);return!!r&&(t.onChange(r),!0)},t.handlePastedTextFn=function(e,n){var r=t.state.editorState,o=t.props,A=o.handlePastedText,i=o.stripPastedStyles;return A?A(e,n,r,t.onChange):!i&&function(e,t,n,r){var o=Object(l.getSelectedBlock)(n);if(o&&"code"===o.type){var A=a.Modifier.replaceText(n.getCurrentContent(),n.getSelection(),e,n.getCurrentInlineStyle());return r(a.EditorState.push(n,A,"insert-characters")),!0}if(t){var i=Q()(t),c=n.getCurrentContent();return i.entityMap.forEach((function(e,t){c=c.mergeEntityData(t,e)})),c=a.Modifier.replaceWithFragment(c,n.getSelection(),new x.List(i.contentBlocks)),r(a.EditorState.push(n,c,"insert-characters")),!0}return!1}(e,n,r,t.onChange)},t.preventDefault=function(e){"INPUT"===e.target.tagName||"LABEL"===e.target.tagName||"TEXTAREA"===e.target.tagName?t.focusHandler.onInputMouseDown():e.preventDefault()};var r=y(Tr,e.toolbar),o=e.wrapperId?e.wrapperId:Math.floor(1e4*Math.random());t.wrapperId="rdw-wrapper-".concat(o),t.modalHandler=new d,t.focusHandler=new p,t.blockRendererFn=Fr({isReadOnly:t.isReadOnly,isImageAlignmentEnabled:t.isImageAlignmentEnabled,getEditorState:t.getEditorState,onChange:t.onChange},e.customBlockRenderFunc),t.editorProps=t.filterEditorProps(e),t.customStyleMap=t.getStyleMap(e),t.compositeDecorator=t.getCompositeDecorator(r);var i=t.createEditorState(t.compositeDecorator);return Object(l.extractInlineStyle)(i),t.state={editorState:i,editorFocused:!1,toolbar:r},t}return e=A,(t=[{key:"componentDidMount",value:function(){this.modalHandler.init(this.wrapperId)}},{key:"componentDidUpdate",value:function(e){if(e!==this.props){var t={},n=this.props,r=n.editorState,o=n.contentState;if(!this.state.toolbar){var A=y(Tr,A);t.toolbar=A}if(B(this.props,"editorState")&&r!==e.editorState)t.editorState=r?a.EditorState.set(r,{decorator:this.compositeDecorator}):a.EditorState.createEmpty(this.compositeDecorator);else if(B(this.props,"contentState")&&o!==e.contentState)if(o){var i=this.changeEditorState(o);i&&(t.editorState=i)}else t.editorState=a.EditorState.createEmpty(this.compositeDecorator);e.editorState===r&&e.contentState===o||Object(l.extractInlineStyle)(t.editorState),Object.keys(t).length&&this.setState(t),this.editorProps=this.filterEditorProps(this.props),this.customStyleMap=this.getStyleMap(this.props)}}},{key:"render",value:function(){var e=this.state,t=e.editorState,n=e.editorFocused,r=e.toolbar,A=this.props,i=A.locale,c=A.localization,f=c.locale,d=c.translations,C=A.toolbarCustomButtons,u=A.toolbarOnFocus,p=A.toolbarClassName,g=A.toolbarHidden,m=A.editorClassName,E=A.wrapperClassName,b=A.toolbarStyle,v=A.editorStyle,B=A.wrapperStyle,I=A.uploadCallback,M=A.ariaLabel,y={modalHandler:this.modalHandler,editorState:t,onChange:this.onChange,translations:Ur(Ur({},Rr[i||f]),d)},L=n||this.focusHandler.isInputFocused()||!u;return o.a.createElement("div",{id:this.wrapperId,className:s()(E,"rdw-editor-wrapper"),style:B,onClick:this.modalHandler.onEditorClick,onBlur:this.onWrapperBlur,"aria-label":"rdw-wrapper"},!g&&o.a.createElement("div",{className:s()("rdw-editor-toolbar",p),style:Ur({visibility:L?"visible":"hidden"},b),onMouseDown:this.preventDefault,"aria-label":"rdw-toolbar","aria-hidden":(!n&&u).toString(),onFocus:this.onToolbarFocus},r.options.map((function(e,t){var n=ar[e],A=r[e];return"image"===e&&I&&(A.uploadCallback=I),o.a.createElement(n,Xr({key:t},y,{config:A}))})),C&&C.map((function(e,t){return o.a.cloneElement(e,Ur({key:t},y))}))),o.a.createElement("div",{ref:this.setWrapperReference,className:s()(m,"rdw-editor-main"),style:v,onClick:this.focusEditor,onFocus:this.onEditorFocus,onBlur:this.onEditorBlur,onKeyDown:h.onKeyDown,onMouseDown:this.onEditorMouseDown},o.a.createElement(a.Editor,Xr({ref:this.setEditorReference,keyBindingFn:this.keyBindingFn,editorState:t,onChange:this.onChange,blockStyleFn:w,customStyleMap:this.getStyleMap(this.props),handleReturn:this.handleReturn,handlePastedText:this.handlePastedTextFn,blockRendererFn:this.blockRendererFn,handleKeyCommand:this.handleKeyCommand,ariaLabel:M||"rdw-editor",blockRenderMap:l.blockRenderMap},this.editorProps))))}}])&&Jr(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();to.propTypes={onChange:i.a.func,onEditorStateChange:i.a.func,onContentStateChange:i.a.func,initialContentState:i.a.object,defaultContentState:i.a.object,contentState:i.a.object,editorState:i.a.object,defaultEditorState:i.a.object,toolbarOnFocus:i.a.bool,spellCheck:i.a.bool,stripPastedStyles:i.a.bool,toolbar:i.a.object,toolbarCustomButtons:i.a.array,toolbarClassName:i.a.string,toolbarHidden:i.a.bool,locale:i.a.string,localization:i.a.object,editorClassName:i.a.string,wrapperClassName:i.a.string,toolbarStyle:i.a.object,editorStyle:i.a.object,wrapperStyle:i.a.object,uploadCallback:i.a.func,onFocus:i.a.func,onBlur:i.a.func,onTab:i.a.func,mention:i.a.object,hashtag:i.a.object,textAlignment:i.a.string,readOnly:i.a.bool,tabIndex:i.a.number,placeholder:i.a.string,ariaLabel:i.a.string,ariaOwneeID:i.a.string,ariaActiveDescendantID:i.a.string,ariaAutoComplete:i.a.string,ariaDescribedBy:i.a.string,ariaExpanded:i.a.string,ariaHasPopup:i.a.string,customBlockRenderFunc:i.a.func,wrapperId:i.a.number,customDecorators:i.a.array,editorRef:i.a.func,handlePastedText:i.a.func},to.defaultProps={toolbarOnFocus:!1,toolbarHidden:!1,stripPastedStyles:!1,localization:{locale:"en",translations:{}},customDecorators:[]};var no=to}],r.c=A,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=8);function r(e){if(A[e])return A[e].exports;var t=A[e]={i:e,l:!1,exports:{}};return o[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var o,A}(o,aH(),VZ)),cH.exports);y('.fontXs {\n font-family: "Poppins";\n font-size: 10px;\n}\n\n.fontSm {\n font-family: "Poppins";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: "Poppins";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: "Poppins";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: "Poppins";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: "Poppins";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: "Poppins";\n font-size: 8px;\n}\n\n.font-size-10 {\n font-family: "Poppins";\n font-size: 10px;\n}\n\n.font-size-20 {\n font-family: "Poppins";\n font-size: 20px;\n}\n\n.font-size-32 {\n font-family: "Poppins";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: "Poppins";\n font-size: 80px;\n}\n\n.public-DraftEditor-content {\n min-height: 133px;\n padding: 0 8px;\n}\n\n.rdw-link-modal {\n height: 230px;\n}\n\n.ff-heading-TextEditor-style h1 {\n font-size: 2em;\n font-weight: bolder;\n}\n.ff-heading-TextEditor-style h2 {\n font-size: 1.5em;\n font-weight: bolder;\n}\n.ff-heading-TextEditor-style h3 {\n font-size: 1.17em;\n font-weight: bolder;\n}\n.ff-heading-TextEditor-style h4 {\n font-size: 1em;\n font-weight: bolder;\n}\n.ff-heading-TextEditor-style h5 {\n font-size: 0.83em;\n font-weight: bolder;\n}\n.ff-heading-TextEditor-style h6 {\n font-size: 0.67em;\n font-weight: bolder;\n}\n.ff-heading-TextEditor-style .rdw-right-aligned-block.public-DraftStyleDefault-orderedListItem:before {\n position: relative !important;\n left: 0 !important;\n}\n.ff-heading-TextEditor-style .rdw-left-aligned-block.public-DraftStyleDefault-orderedListItem:before {\n position: relative !important;\n left: 0 !important;\n}\n.ff-heading-TextEditor-style .rdw-center-aligned-block.public-DraftStyleDefault-orderedListItem:before {\n position: relative !important;\n left: 0 !important;\n}\n.ff-heading-TextEditor-style .rdw-justify-aligned-block.public-DraftStyleDefault-orderedListItem:before {\n position: relative !important;\n left: 0 !important;\n}\n.ff-heading-TextEditor-style .rdw-right-aligned-block.public-DraftStyleDefault-unorderedListItem {\n list-style-position: inside;\n}\n.ff-heading-TextEditor-style .rdw-left-aligned-block.public-DraftStyleDefault-unorderedListItem {\n list-style-position: inside;\n}\n.ff-heading-TextEditor-style .rdw-center-aligned-block.public-DraftStyleDefault-unorderedListItem {\n list-style-position: inside;\n}\n.ff-heading-TextEditor-style .rdw-justify-aligned-block.public-DraftStyleDefault-unorderedListItem {\n list-style-position: inside;\n}\n\n.ff-toolbarClass {\n font-size: 12px;\n font-family: OpenSans-Regular, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, poppins;\n}\n\n.rdw-option-wrapper {\n border: 1px solid #f1f1f1;\n padding: 5px;\n min-width: 25px;\n height: 20px;\n border-radius: 2px;\n margin: 0 4px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n background: white;\n text-transform: capitalize;\n}\n\n.rdw-option-wrapper:hover {\n box-shadow: 1px 1px 0px #bfbdbd;\n}\n\n.rdw-option-wrapper:active {\n box-shadow: 1px 1px 0px #bfbdbd inset;\n}\n\n.rdw-option-active {\n box-shadow: 1px 1px 0px #bfbdbd inset;\n}\n\n.rdw-option-disabled {\n opacity: 0.3;\n cursor: default;\n}\n\n.rdw-dropdown-wrapper {\n height: 30px;\n background: white;\n cursor: pointer;\n border: 1px solid #f1f1f1;\n border-radius: 2px;\n margin: 0 3px;\n text-transform: capitalize;\n background: white;\n}\n\n.rdw-dropdown-wrapper:focus {\n outline: none;\n}\n\n.rdw-dropdown-wrapper:hover {\n box-shadow: 1px 1px 0px #bfbdbd;\n background-color: #ffffff;\n}\n\n.rdw-dropdown-wrapper:active {\n box-shadow: 1px 1px 0px #bfbdbd inset;\n}\n\n.rdw-dropdown-carettoopen {\n height: 0px;\n width: 0px;\n position: absolute;\n top: 35%;\n right: 10%;\n border-top: 6px solid black;\n border-left: 5px solid transparent;\n border-right: 5px solid transparent;\n}\n\n.rdw-dropdown-carettoclose {\n height: 0px;\n width: 0px;\n position: absolute;\n top: 35%;\n right: 10%;\n border-bottom: 6px solid black;\n border-left: 5px solid transparent;\n border-right: 5px solid transparent;\n}\n\n.rdw-dropdown-selectedtext {\n display: flex;\n position: relative;\n height: 100%;\n align-items: center;\n padding: 0 5px;\n}\n\n.rdw-dropdown-optionwrapper {\n z-index: 100;\n position: relative;\n border: 1px solid #f1f1f1;\n width: 98%;\n background: white;\n border-radius: 2px;\n margin: 0;\n padding: 0;\n max-height: 250px;\n overflow-y: scroll;\n}\n\n.rdw-dropdown-optionwrapper:hover {\n box-shadow: 1px 1px 0px #bfbdbd;\n background-color: #ffffff;\n}\n\n.rdw-dropdownoption-default {\n min-height: 25px;\n display: flex;\n align-items: center;\n padding: 0 5px;\n}\n\n.rdw-dropdownoption-highlighted {\n background: #f1f1f1;\n}\n\n.rdw-dropdownoption-active {\n background: #f5f5f5;\n}\n\n.rdw-dropdownoption-disabled {\n opacity: 0.3;\n cursor: default;\n}\n\n.rdw-inline-wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n flex-wrap: wrap;\n}\n\n.rdw-inline-dropdown {\n width: 50px;\n}\n\n.rdw-inline-dropdownoption {\n height: 40px;\n display: flex;\n justify-content: center;\n}\n\n.rdw-block-wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n flex-wrap: wrap;\n}\n\n.rdw-block-dropdown {\n width: 110px;\n}\n\n.rdw-fontsize-wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n flex-wrap: wrap;\n}\n\n.rdw-fontsize-dropdown {\n min-width: 40px;\n}\n\n.rdw-fontsize-option {\n display: flex;\n justify-content: center;\n}\n\n.rdw-fontfamily-wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n flex-wrap: wrap;\n}\n\n.rdw-fontfamily-dropdown {\n width: 115px;\n}\n\n.rdw-fontfamily-placeholder {\n white-space: nowrap;\n max-width: 90px;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.rdw-fontfamily-optionwrapper {\n width: 140px;\n}\n\n.rdw-list-wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n flex-wrap: wrap;\n}\n\n.rdw-list-dropdown {\n width: 50px;\n z-index: 90;\n}\n\n.rdw-list-dropdownOption {\n height: 40px;\n display: flex;\n justify-content: center;\n}\n\n.rdw-text-align-wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n flex-wrap: wrap;\n}\n\n.rdw-text-align-dropdown {\n width: 50px;\n z-index: 90;\n}\n\n.rdw-text-align-dropdownOption {\n height: 40px;\n display: flex;\n justify-content: center;\n}\n\n.rdw-right-aligned-block {\n text-align: right;\n}\n\n.rdw-left-aligned-block {\n text-align: left !important;\n}\n\n.rdw-center-aligned-block {\n text-align: center !important;\n}\n\n.rdw-justify-aligned-block {\n text-align: justify !important;\n}\n\n.rdw-right-aligned-block > div {\n display: inline-block;\n}\n\n.rdw-left-aligned-block > div {\n display: inline-block;\n}\n\n.rdw-center-aligned-block > div {\n display: inline-block;\n}\n\n.rdw-justify-aligned-block > div {\n display: inline-block;\n}\n\n.rdw-colorpicker-wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n position: relative;\n flex-wrap: wrap;\n}\n\n.rdw-colorpicker-modal {\n position: absolute;\n top: 35px;\n left: 5px;\n display: flex;\n flex-direction: column;\n width: 175px;\n height: 175px;\n border: 1px solid #f1f1f1;\n padding: 15px;\n border-radius: 2px;\n z-index: 100;\n background: white;\n box-shadow: 3px 3px 5px #bfbdbd;\n}\n\n.rdw-colorpicker-modal-header {\n display: flex;\n padding-bottom: 5px;\n}\n\n.rdw-colorpicker-modal-style-label {\n font-size: 15px;\n width: 50%;\n text-align: center;\n cursor: pointer;\n padding: 0 10px 5px;\n}\n\n.rdw-colorpicker-modal-style-label-active {\n border-bottom: 2px solid #0a66b7;\n}\n\n.rdw-colorpicker-modal-options {\n margin: 5px auto;\n display: flex;\n width: 100%;\n height: 100%;\n flex-wrap: wrap;\n overflow: scroll;\n}\n\n.rdw-colorpicker-cube {\n width: 22px;\n height: 22px;\n border: 1px solid #f1f1f1;\n}\n\n.rdw-colorpicker-option {\n margin: 3px;\n padding: 0;\n min-height: 20px;\n border: none;\n width: 22px;\n height: 22px;\n min-width: 22px;\n box-shadow: 1px 2px 1px #bfbdbd inset;\n}\n\n.rdw-colorpicker-option:hover {\n box-shadow: 1px 2px 1px #bfbdbd;\n}\n\n.rdw-colorpicker-option:active {\n box-shadow: -1px -2px 1px #bfbdbd;\n}\n\n.rdw-colorpicker-option-active {\n box-shadow: 0px 0px 2px 2px #bfbdbd;\n}\n\n.rdw-link-wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n position: relative;\n flex-wrap: wrap;\n}\n\n.rdw-link-dropdown {\n width: 50px;\n}\n\n.rdw-link-dropdownOption {\n height: 40px;\n display: flex;\n justify-content: center;\n}\n\n.rdw-link-dropdownPlaceholder {\n margin-left: 8px;\n}\n\n.rdw-link-modal {\n position: absolute;\n top: 35px;\n left: 5px;\n display: flex;\n flex-direction: column;\n width: 235px;\n height: 205px;\n border: 1px solid #f1f1f1;\n padding: 15px;\n border-radius: 2px;\n z-index: 100;\n background: white;\n box-shadow: 3px 3px 5px #bfbdbd;\n}\n\n.rdw-link-modal-label {\n font-size: 15px;\n}\n\n.rdw-link-modal-input {\n margin-top: 5px;\n border-radius: 2px;\n border: 1px solid #f1f1f1;\n height: 25px;\n margin-bottom: 15px;\n padding: 0 5px;\n}\n\n.rdw-link-modal-input:focus {\n outline: none;\n}\n\n.rdw-link-modal-buttonsection {\n margin: 0 auto;\n}\n\n.rdw-link-modal-target-option {\n margin-bottom: 20px;\n}\n\n.rdw-link-modal-target-option > span {\n margin-left: 5px;\n}\n\n.rdw-link-modal-btn {\n margin-left: 10px;\n width: 75px;\n height: 30px;\n border: 1px solid #f1f1f1;\n border-radius: 2px;\n cursor: pointer;\n background: white;\n text-transform: capitalize;\n}\n\n.rdw-link-modal-btn:hover {\n box-shadow: 1px 1px 0px #bfbdbd;\n}\n\n.rdw-link-modal-btn:active {\n box-shadow: 1px 1px 0px #bfbdbd inset;\n}\n\n.rdw-link-modal-btn:focus {\n outline: none !important;\n}\n\n.rdw-link-modal-btn:disabled {\n background: #ece9e9;\n}\n\n.rdw-link-dropdownoption {\n height: 40px;\n display: flex;\n justify-content: center;\n}\n\n.rdw-history-dropdown {\n width: 50px;\n}\n\n.rdw-embedded-wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n position: relative;\n flex-wrap: wrap;\n}\n\n.rdw-embedded-modal {\n position: absolute;\n top: 35px;\n left: 5px;\n display: flex;\n flex-direction: column;\n width: 235px;\n height: 180px;\n border: 1px solid #f1f1f1;\n padding: 15px;\n border-radius: 2px;\n z-index: 100;\n background: white;\n justify-content: space-between;\n box-shadow: 3px 3px 5px #bfbdbd;\n}\n\n.rdw-embedded-modal-header {\n font-size: 15px;\n display: flex;\n}\n\n.rdw-embedded-modal-header-option {\n width: 50%;\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n}\n\n.rdw-embedded-modal-header-label {\n width: 95px;\n border: 1px solid #f1f1f1;\n margin-top: 5px;\n background: #6eb8d4;\n border-bottom: 2px solid #0a66b7;\n}\n\n.rdw-embedded-modal-link-section {\n display: flex;\n flex-direction: column;\n}\n\n.rdw-embedded-modal-link-input {\n width: 88%;\n height: 35px;\n margin: 10px 0;\n border: 1px solid #f1f1f1;\n border-radius: 2px;\n font-size: 15px;\n padding: 0 5px;\n}\n\n.rdw-embedded-modal-link-input-wrapper {\n display: flex;\n align-items: center;\n}\n\n.rdw-embedded-modal-link-input:focus {\n outline: none;\n}\n\n.rdw-embedded-modal-btn-section {\n display: flex;\n justify-content: center;\n}\n\n.rdw-embedded-modal-btn {\n margin: 0 3px;\n width: 75px;\n height: 30px;\n border: 1px solid #f1f1f1;\n border-radius: 2px;\n cursor: pointer;\n background: white;\n text-transform: capitalize;\n}\n\n.rdw-embedded-modal-btn:hover {\n box-shadow: 1px 1px 0px #bfbdbd;\n}\n\n.rdw-embedded-modal-btn:active {\n box-shadow: 1px 1px 0px #bfbdbd inset;\n}\n\n.rdw-embedded-modal-btn:focus {\n outline: none !important;\n}\n\n.rdw-embedded-modal-btn:disabled {\n background: #ece9e9;\n}\n\n.rdw-embedded-modal-size {\n align-items: center;\n display: flex;\n margin: 8px 0;\n justify-content: space-between;\n}\n\n.rdw-embedded-modal-size-input {\n width: 80%;\n height: 20px;\n border: 1px solid #f1f1f1;\n border-radius: 2px;\n font-size: 12px;\n}\n\n.rdw-embedded-modal-size-input:focus {\n outline: none;\n}\n\n.rdw-emoji-wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n position: relative;\n flex-wrap: wrap;\n}\n\n.rdw-emoji-modal {\n overflow: auto;\n position: absolute;\n top: 35px;\n left: 5px;\n display: flex;\n flex-wrap: wrap;\n width: 235px;\n height: 180px;\n border: 1px solid #f1f1f1;\n padding: 15px;\n border-radius: 2px;\n z-index: 100;\n background: white;\n box-shadow: 3px 3px 5px #bfbdbd;\n}\n\n.rdw-emoji-icon {\n margin: 2.5px;\n height: 24px;\n width: 24px;\n cursor: pointer;\n font-size: 22px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.rdw-spinner {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n width: 100%;\n}\n\n.rdw-spinner > div {\n width: 12px;\n height: 12px;\n background-color: #333;\n border-radius: 100%;\n display: inline-block;\n -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;\n animation: sk-bouncedelay 1.4s infinite ease-in-out both;\n}\n\n.rdw-spinner .rdw-bounce1 {\n -webkit-animation-delay: -0.32s;\n animation-delay: -0.32s;\n}\n\n.rdw-spinner .rdw-bounce2 {\n -webkit-animation-delay: -0.16s;\n animation-delay: -0.16s;\n}\n\n@-webkit-keyframes sk-bouncedelay {\n 0%, 80%, 100% {\n -webkit-transform: scale(0);\n }\n 40% {\n -webkit-transform: scale(1);\n }\n}\n@keyframes sk-bouncedelay {\n 0%, 80%, 100% {\n -webkit-transform: scale(0);\n transform: scale(0);\n }\n 40% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n.rdw-image-wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n position: relative;\n flex-wrap: wrap;\n}\n\n.rdw-image-modal {\n position: absolute;\n top: 35px;\n left: 5px;\n display: flex;\n flex-direction: column;\n width: 235px;\n border: 1px solid #f1f1f1;\n padding: 15px;\n border-radius: 2px;\n z-index: 100;\n background: white;\n box-shadow: 3px 3px 5px #bfbdbd;\n}\n\n.rdw-image-modal-header {\n font-size: 15px;\n margin: 10px 0;\n display: flex;\n}\n\n.rdw-image-modal-header-option {\n width: 50%;\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n}\n\n.rdw-image-modal-header-label {\n width: 80px;\n background: #f1f1f1;\n border: 1px solid #f1f1f1;\n margin-top: 5px;\n}\n\n.rdw-image-modal-header-label-highlighted {\n background: #6eb8d4;\n border-bottom: 2px solid #0a66b7;\n}\n\n.rdw-image-modal-upload-option {\n width: 100%;\n color: gray;\n cursor: pointer;\n display: flex;\n border: none;\n font-size: 15px;\n align-items: center;\n justify-content: center;\n background-color: #f1f1f1;\n outline: 2px dashed gray;\n outline-offset: -10px;\n margin: 10px 0;\n padding: 9px 0;\n}\n\n.rdw-image-modal-upload-option-highlighted {\n outline: 2px dashed #0a66b7;\n}\n\n.rdw-image-modal-upload-option-label {\n cursor: pointer;\n height: 100%;\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 15px;\n}\n\n.rdw-image-modal-upload-option-label span {\n padding: 0 20px;\n}\n\n.rdw-image-modal-upload-option-image-preview {\n max-width: 100%;\n max-height: 200px;\n}\n\n.rdw-image-modal-upload-option-input {\n width: 0.1px;\n height: 0.1px;\n opacity: 0;\n overflow: hidden;\n position: absolute;\n z-index: -1;\n}\n\n.rdw-image-modal-url-section {\n display: flex;\n align-items: center;\n}\n\n.rdw-image-modal-url-input {\n width: 90%;\n height: 35px;\n margin: 15px 0 12px;\n border: 1px solid #f1f1f1;\n border-radius: 2px;\n font-size: 15px;\n padding: 0 5px;\n}\n\n.rdw-image-modal-btn-section {\n margin: 10px auto 0;\n}\n\n.rdw-image-modal-url-input:focus {\n outline: none;\n}\n\n.rdw-image-modal-btn {\n margin: 0 5px;\n width: 75px;\n height: 30px;\n border: 1px solid #f1f1f1;\n border-radius: 2px;\n cursor: pointer;\n background: white;\n text-transform: capitalize;\n}\n\n.rdw-image-modal-btn:hover {\n box-shadow: 1px 1px 0px #bfbdbd;\n}\n\n.rdw-image-modal-btn:active {\n box-shadow: 1px 1px 0px #bfbdbd inset;\n}\n\n.rdw-image-modal-btn:focus {\n outline: none !important;\n}\n\n.rdw-image-modal-btn:disabled {\n background: #ece9e9;\n}\n\n.rdw-image-modal-spinner {\n position: absolute;\n top: -3px;\n left: 0;\n width: 100%;\n height: 100%;\n opacity: 0.5;\n}\n\n.rdw-image-modal-alt-input {\n width: 70%;\n height: 20px;\n border: 1px solid #f1f1f1;\n border-radius: 2px;\n font-size: 12px;\n margin-left: 5px;\n}\n\n.rdw-image-modal-alt-input:focus {\n outline: none;\n}\n\n.rdw-image-modal-alt-lbl {\n font-size: 12px;\n}\n\n.rdw-image-modal-size {\n align-items: center;\n display: flex;\n margin: 8px 0;\n justify-content: space-between;\n}\n\n.rdw-image-modal-size-input {\n width: 40%;\n height: 20px;\n border: 1px solid #f1f1f1;\n border-radius: 2px;\n font-size: 12px;\n}\n\n.rdw-image-modal-size-input:focus {\n outline: none;\n}\n\n.rdw-image-mandatory-sign {\n color: red;\n margin-left: 3px;\n margin-right: 3px;\n}\n\n.rdw-remove-wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n position: relative;\n flex-wrap: wrap;\n}\n\n.rdw-history-wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n flex-wrap: wrap;\n}\n\n.rdw-history-dropdownoption {\n height: 40px;\n display: flex;\n justify-content: center;\n}\n\n.rdw-history-dropdown {\n width: 50px;\n}\n\n.rdw-link-decorator-wrapper {\n position: relative;\n}\n\n.rdw-link-decorator-icon {\n position: absolute;\n left: 40%;\n top: 0;\n cursor: pointer;\n background-color: white;\n}\n\n.rdw-mention-link {\n text-decoration: none;\n color: #1236ff;\n background-color: #f0fbff;\n padding: 1px 2px;\n border-radius: 2px;\n}\n\n.rdw-suggestion-wrapper {\n position: relative;\n}\n\n.rdw-suggestion-dropdown {\n position: absolute;\n display: flex;\n flex-direction: column;\n border: 1px solid #f1f1f1;\n min-width: 100px;\n max-height: 150px;\n overflow: auto;\n background: white;\n z-index: 100;\n}\n\n.rdw-suggestion-option {\n padding: 7px 5px;\n border-bottom: 1px solid #f1f1f1;\n}\n\n.rdw-suggestion-option-active {\n background-color: #f1f1f1;\n}\n\n.rdw-hashtag-link {\n text-decoration: none;\n color: #1236ff;\n background-color: #f0fbff;\n padding: 1px 2px;\n border-radius: 2px;\n}\n\n.rdw-image-alignment-options-popup {\n position: absolute;\n background: white;\n display: flex;\n padding: 5px 2px;\n border-radius: 2px;\n border: 1px solid #f1f1f1;\n width: 105px;\n cursor: pointer;\n z-index: 100;\n}\n\n.rdw-alignment-option-left {\n justify-content: flex-start;\n}\n\n.rdw-image-alignment-option {\n height: 15px;\n width: 15px;\n min-width: 15px;\n}\n\n.rdw-image-alignment {\n position: relative;\n}\n\n.rdw-image-imagewrapper {\n position: relative;\n}\n\n.rdw-image-center {\n display: flex;\n justify-content: center;\n}\n\n.rdw-image-left {\n display: flex;\n}\n\n.rdw-image-right {\n display: flex;\n justify-content: flex-end;\n}\n\n.rdw-image-alignment-options-popup-right {\n right: 0;\n}\n\n.rdw-editor-main {\n height: 100%;\n overflow: auto;\n box-sizing: border-box;\n}\n\n.rdw-editor-toolbar {\n padding: 6px 5px 0;\n border-radius: 2px;\n border: 1px solid #f1f1f1;\n display: flex;\n justify-content: flex-start;\n background: white;\n flex-wrap: wrap;\n font-size: 15px;\n margin-bottom: 5px;\n user-select: none;\n}\n\n.public-DraftStyleDefault-block {\n margin: 1em 0;\n}\n\n.rdw-editor-wrapper:focus {\n outline: none;\n}\n\n.rdw-editor-wrapper {\n box-sizing: content-box;\n}\n\n.rdw-editor-main blockquote {\n border-left: 5px solid #f1f1f1;\n padding-left: 5px;\n}\n\n.rdw-editor-main pre {\n background: #f1f1f1;\n border-radius: 3px;\n padding: 1px 10px;\n}\n\n.DraftEditor-editorContainer,\n.DraftEditor-root,\n.public-DraftEditor-content {\n height: inherit;\n text-align: initial;\n}\n\n.public-DraftEditor-content[contenteditable=true] {\n -webkit-user-modify: read-write-plaintext-only;\n}\n\n.DraftEditor-root {\n position: relative;\n}\n\n.DraftEditor-editorContainer {\n background-color: rgba(255, 255, 255, 0);\n border-left: 0.1px solid transparent;\n position: relative;\n z-index: 1;\n}\n\n.public-DraftEditor-block {\n position: relative;\n}\n\n.DraftEditor-alignLeft .public-DraftStyleDefault-block {\n text-align: left;\n}\n\n.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root {\n left: 0;\n text-align: left;\n}\n\n.DraftEditor-alignCenter .public-DraftStyleDefault-block {\n text-align: center;\n}\n\n.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root {\n margin: 0 auto;\n text-align: center;\n width: 100%;\n}\n\n.DraftEditor-alignRight .public-DraftStyleDefault-block {\n text-align: right;\n}\n\n.DraftEditor-alignRight .public-DraftEditorPlaceholder-root {\n right: 0;\n text-align: right;\n}\n\n.public-DraftEditorPlaceholder-root {\n color: #9197a3;\n position: absolute;\n z-index: 0;\n}\n\n.public-DraftEditorPlaceholder-hasFocus {\n color: #bdc1c9;\n}\n\n.DraftEditorPlaceholder-hidden {\n display: none;\n}\n\n.public-DraftStyleDefault-block {\n position: relative;\n white-space: pre-wrap;\n}\n\n.public-DraftStyleDefault-ltr {\n direction: ltr;\n text-align: left;\n}\n\n.public-DraftStyleDefault-rtl {\n direction: rtl;\n text-align: right;\n}\n\n.public-DraftStyleDefault-listLTR {\n direction: ltr;\n}\n\n.public-DraftStyleDefault-listRTL {\n direction: rtl;\n}\n\n.public-DraftStyleDefault-ol,\n.public-DraftStyleDefault-ul {\n margin: 16px 0;\n padding: 0;\n}\n\n.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR {\n margin-left: 1.5em;\n}\n\n.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL {\n margin-right: 1.5em;\n}\n\n.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR {\n margin-left: 3em;\n}\n\n.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL {\n margin-right: 3em;\n}\n\n.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR {\n margin-left: 4.5em;\n}\n\n.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL {\n margin-right: 4.5em;\n}\n\n.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR {\n margin-left: 6em;\n}\n\n.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL {\n margin-right: 6em;\n}\n\n.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR {\n margin-left: 7.5em;\n}\n\n.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL {\n margin-right: 7.5em;\n}\n\n.public-DraftStyleDefault-unorderedListItem {\n list-style-type: square;\n position: relative;\n}\n\n.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0 {\n list-style-type: disc;\n}\n\n.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1 {\n list-style-type: circle;\n}\n\n.public-DraftStyleDefault-orderedListItem {\n list-style-type: none;\n position: relative;\n}\n\n.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before {\n left: -36px;\n position: absolute;\n text-align: right;\n width: 30px;\n}\n\n.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before {\n position: absolute;\n right: -36px;\n text-align: left;\n width: 30px;\n}\n\n.public-DraftStyleDefault-orderedListItem:before {\n content: counter(ol0) ". ";\n counter-increment: ol0;\n}\n\n.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before {\n content: counter(ol1) ". ";\n counter-increment: ol1;\n}\n\n.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before {\n content: counter(ol2) ". ";\n counter-increment: ol2;\n}\n\n.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before {\n content: counter(ol3) ". ";\n counter-increment: ol3;\n}\n\n.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before {\n content: counter(ol4) ". ";\n counter-increment: ol4;\n}\n\n.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset {\n counter-reset: ol0;\n}\n\n.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset {\n counter-reset: ol1;\n}\n\n.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset {\n counter-reset: ol2;\n}\n\n.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset {\n counter-reset: ol3;\n}\n\n.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset {\n counter-reset: ol4;\n}\n\n.required-asterisk {\n color: var(--input-error-text-color);\n}\n\n.ff-texteditor-label-asterisk-container {\n display: flex;\n align-items: center;\n gap: 2px;\n}\n\n.ff-textEditor-error-msg {\n color: var(--input-error-text-color);\n}');const NZ=({convertedContent:t,setConvertedContent:r,readOnly:o,toolbarHidden:A,toolbarOptions:i,label:c,required:s=!1,onBlur:f,mode:d,helperText:C,analyticsClasses:u=!1})=>{const[p,g]=l(null),[h,m]=l(!1),[E,b]=l(!1);a((()=>{let e=null;const n=t?JSON.parse(t):{};if(!K(t))if(n)e=lH.EditorState.createWithContent(lH.convertFromRaw(JSON.parse(t)));else if("view"===d){const t=lH.ContentState.createFromText("--");e=lH.EditorState.createWithContent(t)}else e=lH.EditorState.createEmpty();g(e)}),[t,d]),a((()=>{let e=null;if(0===t.length){if("view"===d){const t=lH.ContentState.createFromText("--");e=lH.EditorState.createWithContent(t)}else e=lH.EditorState.createEmpty();g(e)}}),[t]);const w=ZZ.Editor;return n("div",{children:[n("div",{className:"ff-texteditor-label-asterisk-container",children:[s&&e(T,{className:"required-asterisk",children:"* "}),c&&e(T,{lineHeight:"10px",fontWeight:"medium",fontSize:"12px",children:c})]}),e(w,{editorState:p,onEditorStateChange:e=>{g(e);const t=lH.convertToRaw(e.getCurrentContent());""!==t?.blocks[0]?.text&&b(!1)},wrapperClassName:"wrapperClass",editorClassName:"ff-heading-TextEditor-style "+(u?"fontSm":"fontMd"),editorStyle:"view"!==d?h?{border:"1px solid var(--text-editor-in-focus-border-color)",borderRadius:"5px"}:{border:"1px solid var(--text-editor-out-focus-border-color) ",borderRadius:"5px"}:{border:"none"},onFocus:()=>{m(!0)},onBlur:e=>{const t=lH.convertToRaw(p.getCurrentContent());r(JSON.stringify(t)),""===t?.blocks[0]?.text&&b(!0),f&&f(e)},readOnly:o,toolbarHidden:A,toolbarClassName:"ff-toolbarClass",handlePastedText:()=>!1,toolbar:{options:Array.isArray(i)&&i?.length>0?i:["inline","blockType","fontSize","fontFamily","list","textAlign","colorPicker","link","emoji","image","remove","history"],fontFamily:{options:["Arial","Georgia","Impact","OpenSans-Regular","Tahoma","Times New Roman","Verdana","poppins"]}}}),s&&E&&e(T,{fontSize:10,className:"ff-textEditor-error-msg",as:"span",children:C})]})};y(".no_data_message {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n}");const zZ=({iconName:t,iconWidth:r=120,iconHeight:o=115,text:A,textFontSize:i="24px"})=>n("div",{className:"no_data_message",children:[e(F,{name:t,width:r,height:o}),e(T,{fontSize:i,lineHeight:"36px",fontWeight:"bold",children:A})]});y(".ff-card {\n padding: 0;\n margin: 0;\n box-sizing: border-box;\n transition: all 0.3s ease;\n}\n.ff-card .ff-card-header {\n overflow: hidden;\n border-top-left-radius: inherit;\n border-top-right-radius: inherit;\n}\n.ff-card .ff-card-footer {\n overflow: hidden;\n border-bottom-left-radius: inherit;\n border-bottom-right-radius: inherit;\n}\n.ff-card .ff-card-header,\n.ff-card .ff-card-content,\n.ff-card .ff-card-footer {\n width: 100%;\n}\n\n.row {\n color: var(--base-bg-color);\n text-align: center;\n margin: 30px auto;\n}");const PZ=({cardProperties:t={width:"200px",height:"200px",background:"white",borderRadius:"16px",boxShadow:"1px 4px 8px var(--plugins-header-bg-color)",padding:"16px",margin:"0",border:"none",className:"",style:{},onClick:()=>{}},headerContent:r,midContent:o,footerContent:A})=>{const{width:i,height:a,background:l,borderRadius:c,boxShadow:s,padding:f,margin:d,border:C,className:u="",style:p={}}=t;return n("section",{className:`ff-card ${u}`,style:{width:i,height:a,background:l,borderRadius:c,boxShadow:s,padding:f,margin:d,border:C,...p},onClick:t.onClick,children:[r?.isHeader&&e("div",{className:"ff-card-header",children:r.content}),o?.isMidContent&&e("div",{className:"ff-card-content",children:o.content}),A?.isFooter&&e("div",{className:"ff-card-footer",children:A.content})]})},OZ=(e,t)=>{if(!e||void 0===t)throw new Error("Key and value must be provided");try{const n=(e=>{try{const t="object"==typeof e?JSON.stringify(e):e;return btoa(unescape(encodeURIComponent(t)))}catch(e){throw console.error("Error encoding data:",e),new Error("Encoding failed")}})(t||{});localStorage.setItem(e,n)}catch(e){throw console.error("Failed to save data:",e),new Error("Failed to save data")}},SZ=e=>{if(!e)throw new Error("Key must be provided");try{const t=localStorage.getItem(e);return t?(e=>{try{const t=decodeURIComponent(escape(atob(e)));try{return JSON.parse(t)}catch{return t}}catch(e){throw console.error("Error decoding data:",e),new Error("Decoding failed")}})(t):null}catch(e){throw console.error("Failed to retrieve data:",e),new Error("Failed to retrieve data")}},jZ=e=>{if(!e)throw new Error("Key must be provided");try{localStorage.removeItem(e)}catch(e){throw console.error("Failed to delete data:",e),new Error("Failed to delete data")}},FZ=()=>{try{localStorage.clear()}catch(e){throw console.error("Failed to clear data:",e),new Error("Failed to clear data")}};export{Je as AADHAAR_REGEX,ke as ALPHABET_ONLY_REGEX,Ze as ALPHANUMERIC_REGEX,Ne as ALPHANUMERIC_WITH_ROUND_BRACES_REGEX,q as Accordion,gh as AddContentButton,Jo as AddResourceButton,fh as AiToggle,Gf as AllProjectsDropdown,Uf as AppHeader,Kg as AttachImage,CC as AttachmentButton,pC as Avatar,lt as BASE64_REGEX,ct as BINARY_NUMBER_REGEX,xm as BarChart,PZ as Box,tl as BrowserTabs,R as Button,yt as CAMEL_CASE_REGEX,kt as CERTIFICATES_NAME_REGEX,je as CREDIT_CARD_REGEX,dt as CURRENCY_GENERIC_REGEX,ch as ChatModal,_ as Checkbox,fe as Chip,uh as ChipWithCount,rh as ChooseFile,ce as Col,$b as Comments,ow as ConditionalDropdown,qb as ConnectingBranch,ae as Container,eh as CreateVariableSlider,ze as DATE_REGEX,ot as DECIMAL_NUMBER_REGEX,nt as DRIVING_LICENSE_REGEX,xt as DYNAMIC_VALUE_PATTERN_REGEX,Ht as DYNAMIC_VALUE_TYPE_REGEX,Dt as DYNAMIC_VALUE_WITH_VALID_BRACKETS_REGEX,Qt as DYNAMIC_VALUE__PLACEHOLDER_REGEX,ed as DashboardDonutChart,Of as DatePicker,$o as DonutChart,_g as DownloadClient,Tf as DragAndDrop,U as Drawer,iA as Dropzone,vt as ELEMENTS_TRAILING_SPACE_REGEX,Bt as ELEMENTS_WHITE_SPACE_REGEX,Be as EMAIL_REGEX,Ua as EditLabel,mC as EditTextField,Rb as Editor,ph as ErrorBoundary,Gg as Excel,pe as ExpandableMenu,Oe as FILE_EXTENSION_REGEX,wt as FILE_NAME_REGEX,$g as FieldSet,lA as FileDropzone,aA as FilePreview,Fa as Form,nw as FormatString,We as GSTIN_REGEX,st as HEXADECIMAL_NUMBER_REGEX,xe as HEX_COLOR_REGEX,at as HSL_COLOR_REGEX,At as HTML_ATTRIBUTE_REGEX,Re as HTML_TAG_REGEX,nl as HighlightText,sh as HistoryCard,$e as INDIAN_CURRENCY_REGEX,tt as INDIAN_PASSPORT_REGEX,Ue as INDIAN_PHONE_REGEX,Ke as INDIAN_PIN_CODE_REGEX,et as INTERNATIONAL_PHONE_REGEX,Le as IPV4_REGEX,Qe as IPV6_REGEX,F as Icon,jf as IconButton,Ug as IconRadialChart,AC as IconRadioGroup,de as Input,Ta as InputWithDropdown,Ct as LINKEDIN_PROFILE_REGEX,gC as LabelEditTextField,ei as LazyLoad,Jg as LineChart,Ch as Link,Se as MAC_ADDRESS_REGEX,mt as MEMORY_VALIDATION_REGEX,iC as MachineInputField,St as MenuOption,lh as MessageBox,Ra as MiniModal,ih as MobileSkin,Ff as Modal,Xg as ModuleChip,Dm as MultiRadialChart,Ae as MultiSelect,oC as NLPInput,bt as NLP_DESCRIPTION_REGEX,Ve as NUMBERS_ONLY_REGEX,pt as NUMBER_REGEX,zZ as NoDataContent,Ga as OverviewModal,qe as PAN_CARD_REGEX,It as PARAMETER_ALPHANUMERIC_REGEX,De as PASSWORD_COMPLEX_REGEX,He as PASSWORD_SIMPLE_REGEX,Me as PHONE_REGEX,ye as POSTAL_CODE_REGEX,Kf as Paper,fw as PhoneInputField,Yf as PieChart,ew as PopUpModal,Mw as PrePostTable,nh as ProgressBar,ah as Prompt,dh as PromptContainer,it as RGB_COLOR_REGEX,ft as ROMAN_NUMERALS_REGEX,ue as RadialChart,rA as RadioButton,oA as RadioGroup,$d as Recaptcha,le as Row,ht as SCRIPT_REGEX,Fe as SSN_REGEX,Et as STEP_GROUP_NAME_REGEX,oh as ScriptSwitchButton,al as Search,ve as Select,dC as SequentialConnectingBranch,Sf as StateDropdown,Nt as StatusButton,Wg as StatusCard,Hw as StepLandingTable,Ah as SwitchButton,Pe as TIME_REGEX,ut as TWITTER_HANDLE_REGEX,Wo as Table,$a as TableTree,th as TableWithAccordion,el as Tabs,Zt as TextArea,NZ as TextEditor,Y as ThemeProvider,ie as Toaster,ol as Toastify,se as Toggle,uC as ToggleSwitch,W as Tooltip,T as Typography,gt as UNIT_REGEX,Ie as URL_REGEX,Ye as USERNAME_REGEX,rt as USERNAME_SPECIAL_REGEX,Xe as US_ZIP_CODE_REGEX,Te as UUID_REGEX,_e as VEHICLE_REGISTRATION_REGEX,qg as VariableDropdown,Rf as VariableInput,ww as VariableSuggestionInputDropDown,Ge as WHITESPACE_REGEX,mw as addPrePostStepGroup,Ew as addStepGroup,hC as capitalize,K as checkEmpty,FZ as clearStore,Eh as compareArrays,mh as compareObjects,Cw as convertFormDataToObject,Lm as convertToBytes,Qm as convertToGB,Rg as debounce,jZ as deleteStoreValue,aC as ffid,hh as findAndInsert,hw as formatDate,Mm as getEncryptedData,eA as getExtension,tA as getExtensionWithPeriod,Gb as getSequentialPayload,SZ as getStoreValue,uw as getTreeDetails,gw as handleTreeNodeExpandCollapse,pw as handleTreeNodeSect,Aw as hasDuplicateFile,cC as isEmptyObject,dw as rearrangeDragItem,Jb as saveFileFromBlob,OZ as setStoreValue,ym as throttle,Al as toast,$ as truncateText,he as useClickOutside,nA as useFileDropzone,il as useKeyboardActions,ti as useTheme};
60
+ */!function(){var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var A=typeof r;if("string"==A||"number"==A)e.push(r);else if(Array.isArray(r)&&r.length){var i=o.apply(null,r);i&&e.push(i)}else if("object"==A)for(var a in r)n.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,n){e.exports=t},function(e,t,n){function r(e){if(a[e])return a[e].exports;var t=a[e]={i:e,l:!1,exports:{}};return i[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var o,A,i,a;e.exports=(o=n(3),A=n(5),a={},r.m=i=[function(e,t){e.exports=o},function(e,t){e.exports=A},function(e,t,n){e.exports=n(3)},function(e,t,n){n.r(t);var r=n(0),o=n(1);function A(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getStartKey(),o=t.getEndKey(),A=n.getBlockMap();return A.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===o})).concat([[o,A.get(o)]])}function i(e){return A(e).toList()}function a(e){if(e)return i(e).get(0)}function l(e){if(e){var t=a(e),n=e.getCurrentContent().getBlockMap().toSeq().toList(),r=0;if(n.forEach((function(e,n){e.get("key")===t.get("key")&&(r=n-1)})),-1<r)return n.get(r)}}function c(e){return e?e.getCurrentContent().getBlockMap().toList():new o.List}function s(e){var t=i(e);if(!t.some((function(e){return e.type!==t.get(0).type})))return t.get(0).type}function f(e){var t=r.RichUtils.tryToRemoveBlockStyle(e);return t?r.EditorState.push(e,t,"change-block-type"):e}function d(e){var t="",n=e.getSelection(),r=n.getAnchorOffset(),o=n.getFocusOffset(),A=i(e);if(0<A.size){if(n.getIsBackward()){var a=r;r=o,o=a}for(var l=0;l<A.size;l+=1){var c=0===l?r:0,s=l===A.size-1?o:A.get(l).getText().length;t+=A.get(l).getText().slice(c,s)}}return t}function C(e){var t=e.getCurrentContent(),n=e.getSelection(),o=r.Modifier.removeRange(t,n,"forward"),A=o.getSelectionAfter(),i=o.getBlockForKey(A.getStartKey());return o=r.Modifier.insertText(o,A,"\n",i.getInlineStyleAt(A.getStartOffset()),null),r.EditorState.push(e,o,"insert-fragment")}function u(e){var t=r.Modifier.splitBlock(e.getCurrentContent(),e.getSelection());return f(r.EditorState.push(e,t,"split-block"))}function p(e){var t=e.getCurrentContent().getBlockMap().toList(),n=e.getSelection().merge({anchorKey:t.first().get("key"),anchorOffset:0,focusKey:t.last().get("key"),focusOffset:t.last().getLength()}),o=r.Modifier.removeRange(e.getCurrentContent(),n,"forward");return r.EditorState.push(e,o,"remove-range")}function g(e,t){var n=r.Modifier.setBlockData(e.getCurrentContent(),e.getSelection(),t);return r.EditorState.push(e,n,"change-block-data")}function h(e){var t=new o.Map({}),n=i(e);if(n&&0<n.size)for(var r=function(e){var r=n.get(e).getData();if(!r||0===r.size)return t=t.clear(),"break";if(0===e)t=r;else if(t.forEach((function(e,n){r.get(n)&&r.get(n)===e||(t=t.delete(n))})),0===t.size)return t=t.clear(),"break"},A=0;A<n.size&&"break"!==r(A);A+=1);return t}var m=Object(o.Map)({code:{element:"pre"}}),E=r.DefaultDraftBlockRenderMap.merge(m);function b(e){if(e){var t=e.getType();return"unordered-list-item"===t||"ordered-list-item"===t}return!1}function w(e,t,n){var o,i=e.getSelection();o=i.getIsBackward()?i.getFocusKey():i.getAnchorKey();var a=e.getCurrentContent(),l=a.getBlockForKey(o),c=l.getType();if("unordered-list-item"!==c&&"ordered-list-item"!==c)return e;var s=a.getBlockBefore(o);if(!s)return e;if(s.getType()!==c)return e;var f=l.getDepth();if(1===t&&f===n)return e;var d,C,u,p,g,h,m,E=Math.min(s.getDepth()+1,n),b=(C=t,u=E,p=(d=e).getSelection(),h=(g=d.getCurrentContent()).getBlockMap(),m=A(d).map((function(e){var t=e.getDepth()+C;return t=Math.max(0,Math.min(t,u)),e.set("depth",t)})),h=h.merge(m),g.merge({blockMap:h,selectionBefore:p,selectionAfter:p}));return r.EditorState.push(e,b,"adjust-depth")}function v(e,t){var n;return 13===(n=t).which&&(n.getModifierState("Shift")||n.getModifierState("Alt")||n.getModifierState("Control"))?e.getSelection().isCollapsed()?r.RichUtils.insertSoftNewline(e):C(e):function(e){var t=e.getSelection();if(t.isCollapsed()){var n=e.getCurrentContent(),r=t.getStartKey(),o=n.getBlockForKey(r);if(!b(o)&&"unstyled"!==o.getType()&&o.getLength()===t.getStartOffset())return u(e);if(b(o)&&0===o.getLength()){var A=o.getDepth();if(0===A)return f(e);if(0<A)return w(e,-1,A)}}}(e)}function B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M(e){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function y(e){var t=e.getSelection();if(t.isCollapsed()){var n={},r=e.getCurrentInlineStyle().toList().toJS();if(r)return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach((function(e){n[e]=0<=r.indexOf(e)})),n}var o=t.getStartOffset(),A=t.getEndOffset(),a=i(e);if(0<a.size){var l=function(){for(var e={BOLD:!0,ITALIC:!0,UNDERLINE:!0,STRIKETHROUGH:!0,CODE:!0,SUPERSCRIPT:!0,SUBSCRIPT:!0},t=0;t<a.size;t+=1){var n=0===t?o:0,r=t===a.size-1?A:a.get(t).getText().length;n===r&&0===n?(n=1,r=2):n===r&&--n;for(var i=function(n){var r=a.get(t).getInlineStyleAt(n);["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach((function(t){e[t]=e[t]&&r.get(t)===t}))},l=n;l<r;l+=1)i(l)}return{v:e}}();if("object"===M(l))return l.v}return{}}function L(e){var t,n=e.getSelection(),r=n.getStartOffset(),o=n.getEndOffset();r===o&&0===r?o=1:r===o&&--r;for(var A=a(e),i=r;i<o;i+=1){var l=A.getEntityAt(i);if(!l){t=void 0;break}if(i===r)t=l;else if(t!==l){t=void 0;break}}return t}function Q(e,t){var n,r=a(e);return r.findEntityRanges((function(e){return e.get("entity")===t}),(function(e,t){n={start:e,end:t,text:r.get("text").slice(e,t)}})),n}function x(e,t,n){D[e]["".concat(e.toLowerCase(),"-").concat(n)]=I({},"".concat(t),n)}function H(){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(Object(n),!0).forEach((function(t){I(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},D.color,{},D.bgcolor,{},D.fontSize,{},D.fontFamily,{CODE:D.CODE,SUPERSCRIPT:D.SUPERSCRIPT,SUBSCRIPT:D.SUBSCRIPT})}var D={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 k(e,t,n){var o=e.getSelection(),A=Object.keys(D[t]).reduce((function(e,t){return r.Modifier.removeInlineStyle(e,o,t)}),e.getCurrentContent()),i=r.EditorState.push(e,A,"changeinline-style"),a=e.getCurrentInlineStyle();if(o.isCollapsed()&&(i=a.reduce((function(e,t){return r.RichUtils.toggleInlineStyle(e,t)}),i)),"SUPERSCRIPT"===t||"SUBSCRIPT"==t)a.has(n)||(i=r.RichUtils.toggleInlineStyle(i,n));else{var l="bgcolor"===t?"backgroundColor":t;a.has("".concat(l,"-").concat(n))||(i=r.RichUtils.toggleInlineStyle(i,"".concat(t.toLowerCase(),"-").concat(n)),x(t,l,n))}return i}function V(e){e&&e.getCurrentContent().getBlockMap().map((function(e){return e.get("characterList")})).toList().flatten().forEach((function(e){e&&0===e.indexOf("color-")?x("color","color",e.substr(6)):e&&0===e.indexOf("bgcolor-")?x("bgcolor","backgroundColor",e.substr(8)):e&&0===e.indexOf("fontsize-")?x("fontSize","fontSize",+e.substr(9)):e&&0===e.indexOf("fontfamily-")&&x("fontFamily","fontFamily",e.substr(11))}))}function Z(e,t,n){var r=e.getInlineStyleAt(n).toList().filter((function(e){return e.startsWith(t.toLowerCase())}));if(r&&0<r.size)return r.get(0)}function N(e,t){if(e&&t&&0<t.length){var n=function(){var n=e.getSelection(),r={};if(n.isCollapsed())return t.forEach((function(t){r[t]=function(e,t){var n=e.getCurrentInlineStyle().toList().filter((function(e){return e.startsWith(t.toLowerCase())}));if(n&&0<n.size)return n.get(0)}(e,t)})),{v:r};var o=n.getStartOffset(),A=n.getEndOffset(),a=i(e);if(0<a.size){for(var l=function(e){var n=0===e?o:0,i=e===a.size-1?A:a.get(e).getText().length;n===i&&0===n?(n=1,i=2):n===i&&--n;for(var l=function(o){o===n?t.forEach((function(t){r[t]=Z(a.get(e),t,o)})):t.forEach((function(t){r[t]&&r[t]!==Z(a.get(e),t,o)&&(r[t]=void 0)}))},c=n;c<i;c+=1)l(c)},c=0;c<a.size;c+=1)l(c);return{v:r}}}();if("object"===M(n))return n.v}return{}}function z(e){var t=e.getCurrentInlineStyle(),n=e.getCurrentContent();return t.forEach((function(t){n=r.Modifier.removeInlineStyle(n,e.getSelection(),t)})),r.EditorState.push(e,n,"change-inline-style")}n.d(t,"isListBlock",(function(){return b})),n.d(t,"changeDepth",(function(){return w})),n.d(t,"handleNewLine",(function(){return v})),n.d(t,"getEntityRange",(function(){return Q})),n.d(t,"getCustomStyleMap",(function(){return H})),n.d(t,"toggleCustomInlineStyle",(function(){return k})),n.d(t,"getSelectionEntity",(function(){return L})),n.d(t,"extractInlineStyle",(function(){return V})),n.d(t,"removeAllInlineStyles",(function(){return z})),n.d(t,"getSelectionInlineStyle",(function(){return y})),n.d(t,"getSelectionCustomInlineStyle",(function(){return N})),n.d(t,"getSelectedBlocksMap",(function(){return A})),n.d(t,"getSelectedBlocksList",(function(){return i})),n.d(t,"getSelectedBlock",(function(){return a})),n.d(t,"getBlockBeforeSelectedBlock",(function(){return l})),n.d(t,"getAllBlocks",(function(){return c})),n.d(t,"getSelectedBlocksType",(function(){return s})),n.d(t,"removeSelectedBlocksStyle",(function(){return f})),n.d(t,"getSelectionText",(function(){return d})),n.d(t,"addLineBreakRemovingSelection",(function(){return C})),n.d(t,"insertNewUnstyledBlock",(function(){return u})),n.d(t,"clearEditorContent",(function(){return p})),n.d(t,"setBlockData",(function(){return g})),n.d(t,"getSelectedBlocksMetadata",(function(){return h})),n.d(t,"blockRenderMap",(function(){return E}))}],r.c=a,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=2))},function(e,t){e.exports=n},function(e,t,n){function r(e){if(a[e])return a[e].exports;var t=a[e]={i:e,l:!1,exports:{}};return i[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var o,A,i,a;e.exports=(o=n(5),A=n(3),a={},r.m=i=[function(e,t){e.exports=o},function(e,t){e.exports=A},function(e,t,n){e.exports=n(3)},function(e,t,n){n.r(t);var r=n(1),o=n(0),A=function(e,t,n){var r,A=e.textContent;return""===A.trim()?{chunk:(r=n,{text:" ",inlines:[new o.OrderedSet],entities:[r],blocks:[]})}:{chunk:{text:A,inlines:Array(A.length).fill(t),entities:Array(A.length).fill(n),blocks:[]}}},i=function(){return{text:"\n",inlines:[new o.OrderedSet],entities:new Array(1),blocks:[]}},a=function(){return{text:"",inlines:[],entities:[],blocks:[]}},l=function(e,t){return{text:"",inlines:[],entities:[],blocks:[{type:e,depth:0,data:t||new o.Map({})}]}},c=function(e,t,n){return{text:"\r",inlines:[],entities:[],blocks:[{type:e,depth:Math.max(0,Math.min(4,t)),data:n||new o.Map({})}]}},s=function(e){return{text:"\r ",inlines:[new o.OrderedSet],entities:[e],blocks:[{type:"atomic",depth:0,data:new o.Map({})}]}},f=function(e,t){return{text:e.text+t.text,inlines:e.inlines.concat(t.inlines),entities:e.entities.concat(t.entities),blocks:e.blocks.concat(t.blocks)}},d=new o.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"]}}),C={code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",strong:"BOLD",ins:"UNDERLINE",sub:"SUBSCRIPT",sup:"SUPERSCRIPT"};function u(e){return e.style.textAlign?new o.Map({"text-align":e.style.textAlign}):e.style.marginLeft?new o.Map({"margin-left":e.style.marginLeft}):void 0}var p=function(e){var t=void 0;if(e instanceof HTMLAnchorElement){var n={};t=e.dataset&&void 0!==e.dataset.mention?(n.url=e.href,n.text=e.innerHTML,n.value=e.dataset.value,r.Entity.__create("MENTION","IMMUTABLE",n)):(n.url=e.getAttribute&&e.getAttribute("href")||e.href,n.title=e.innerHTML,n.targetOption=e.target,r.Entity.__create("LINK","MUTABLE",n))}return t};n.d(t,"default",(function(){return E}));var g=" ",h=new RegExp("&nbsp;","g"),m=!0;function E(e,t){var n,E,b=(n=t,(E=function(e){var t,n=null;return document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n}(e.trim().replace(h,g)))?(m=!0,{chunk:function e(t,n,o,g,h,E){var b=t.nodeName.toLowerCase();if(E){var w=E(b,t);if(w){var v=r.Entity.__create(w.type,w.mutability,w.data||{});return{chunk:s(v)}}}if("#text"===b&&"\n"!==t.textContent)return A(t,n,h);if("br"===b)return{chunk:i()};if("img"===b&&t instanceof HTMLImageElement){var B={};B.src=t.getAttribute&&t.getAttribute("src")||t.src,B.alt=t.alt,B.height=t.style.height,B.width=t.style.width,t.style.float&&(B.alignment=t.style.float);var I=r.Entity.__create("IMAGE","MUTABLE",B);return{chunk:s(I)}}if("video"===b&&t instanceof HTMLVideoElement){var M={};M.src=t.getAttribute&&t.getAttribute("src")||t.src,M.alt=t.alt,M.height=t.style.height,M.width=t.style.width,t.style.float&&(M.alignment=t.style.float);var y=r.Entity.__create("VIDEO","MUTABLE",M);return{chunk:s(y)}}if("iframe"===b&&t instanceof HTMLIFrameElement){var L={};L.src=t.getAttribute&&t.getAttribute("src")||t.src,L.height=t.height,L.width=t.width;var Q=r.Entity.__create("EMBEDDED_LINK","MUTABLE",L);return{chunk:s(Q)}}var x,H=function(e,t){var n=d.filter((function(n){return n.element===e&&(!n.wrapper||n.wrapper===t)||n.wrapper===e||n.aliasedElements&&-1<n.aliasedElements.indexOf(e)})).keySeq().toSet().toArray();if(1===n.length)return n[0]}(b,g);H&&("ul"===b||"ol"===b?(g=b,o+=1):("unordered-list-item"!==H&&"ordered-list-item"!==H&&(g="",o=-1),m?(x=l(H,u(t)),m=!1):x=c(H,o,u(t)))),x=x||a(),n=function(e,t,n){var r,o=C[e];if(o)r=n.add(o).toOrderedSet();else if(t instanceof HTMLElement){var A=t;r=(r=n).withMutations((function(e){var t=A.style.color,n=A.style.backgroundColor,r=A.style.fontSize,o=A.style.fontFamily.replace(/^"|"$/g,""),i=A.style.fontWeight,a=A.style.textDecoration,l=A.style.fontStyle;t&&e.add("color-".concat(t.replace(/ /g,""))),n&&e.add("bgcolor-".concat(n.replace(/ /g,""))),r&&e.add("fontsize-".concat(r.replace(/px$/g,""))),o&&e.add("fontfamily-".concat(o)),"bold"===i&&e.add(C.strong),"underline"===a&&e.add(C.ins),"italic"===l&&e.add(C.em)})).toOrderedSet()}return r}(b,t,n);for(var D=t.firstChild;D;){var k=e(D,n,o,g,p(D)||h,E).chunk;x=f(x,k),D=D.nextSibling}return{chunk:x}}(E,new o.OrderedSet,-1,"",void 0,n).chunk}):null);if(b){var w=b.chunk,v=new o.OrderedMap({});w.entities&&w.entities.forEach((function(e){e&&(v=v.set(e,r.Entity.__get(e)))}));var B=0;return{contentBlocks:w.text.split("\r").map((function(e,t){var n=B+e.length,A=w&&w.inlines.slice(B,n),i=w&&w.entities.slice(B,n),a=new o.List(A.map((function(e,t){var n={style:e,entity:null};return i[t]&&(n.entity=i[t]),r.CharacterMetadata.create(n)})));return B=n,new r.ContentBlock({key:Object(r.genKey)(),type:w&&w.blocks[t]&&w.blocks[t].type||"unstyled",depth:w&&w.blocks[t]&&w.blocks[t].depth,data:w&&w.blocks[t]&&w.blocks[t].data||new o.Map({}),text:e,characterList:a})})),entityMap:v}}return null}}],r.c=a,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=2))},function(e,t,n){function r(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function o(e){return Object.prototype.toString.call(e)}function A(e){return"[object Function]"===o(e)}function i(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var a={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},l={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new 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(r)?3<=t&&":"===e[t-3]||3<=t&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},c="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]",s="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function f(){return function(e,t){t.normalize(e)}}function d(e){var t=e.re=n(21)(e.__opts__),r=e.__tlds__.slice();function a(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push(c),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(a(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(a(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(a(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(a(t.tpl_host_fuzzy_test),"i");var l=[];function s(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r,i={validate:null,link:null};if(e.__compiled__[t]=i,"[object Object]"===o(n))return"[object RegExp]"===o(n.validate)?i.validate=(r=n.validate,function(e,t){var n=e.slice(t);return r.test(n)?n.match(r)[0].length:0}):A(n.validate)?i.validate=n.validate:s(t,n),void(A(n.normalize)?i.normalize=n.normalize:n.normalize?s(t,n):i.normalize=f());"[object String]"!==o(n)?s(t,n):l.push(t)}})),l.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:f()};var d,C=Object.keys(e.__compiled__).filter((function(t){return 0<t.length&&e.__compiled__[t]})).map(i).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+C+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+C+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),(d=e).__index__=-1,d.__text_cache__=""}function C(e,t){var n=e.__index__,r=e.__last_index__,o=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=o,this.text=o,this.url=o}function u(e,t){var n=new C(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function p(e,t){if(!(this instanceof p))return new p(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||a.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},a,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},l,e),this.__compiled__={},this.__tlds__=s,this.__tlds_replaced__=!1,this.re={},d(this)}p.prototype.add=function(e,t){return this.__schemas__[e]=t,d(this),this},p.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},p.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,o,A,i,a,l;if(this.re.schema_test.test(e))for((a=this.re.schema_search).lastIndex=0;null!==(t=a.exec(e));)if(o=this.testSchemaAt(e,t[2],a.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&0<=(l=e.search(this.re.host_fuzzy_test))&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(A=n.index+n[1].length,(this.__index__<0||A<this.__index__)&&(this.__schema__="",this.__index__=A,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&0<=e.indexOf("@")&&null!==(r=e.match(this.re.email_fuzzy))&&(A=r.index+r[1].length,i=r.index+r[0].length,(this.__index__<0||A<this.__index__||A===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=A,this.__last_index__=i)),0<=this.__index__},p.prototype.pretest=function(e){return this.re.pretest.test(e)},p.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},p.prototype.match=function(e){var t=0,n=[];0<=this.__index__&&this.__text_cache__===e&&(n.push(u(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(u(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},p.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse():(this.__tlds__=e.slice(),this.__tlds_replaced__=!0),d(this),this},p.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},p.prototype.onCompile=function(){},e.exports=p},function(e,t,n){e.exports=n(40)},function(e,t,n){},function(e,t,n){var r=n(11);function o(){}function A(){}A.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,A,i){if(i!==r){var a=new 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 t(){return e}var n={array:e.isRequired=e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:A,resetWarningCache:o};return n.PropTypes=n}},function(e,t,n){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){e.exports=function(e){var t={};t.src_Any=n(22).source,t.src_Cc=n(23).source,t.src_Z=n(24).source,t.src_P=n(25).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var r="[><|]";return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.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]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+r+"|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(e,t){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(e,t){e.exports=/[\0-\x1F\x7F-\x9F]/},function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(e,t){e.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(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){n.r(t),n.d(t,"Editor",(function(){return no}));var r=n(1),o=n.n(r),A=n(0),i=n.n(A),a=n(3),l=n(4),c=n(2),s=n.n(c);function f(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}var d=f((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.callBacks=[],this.suggestionCallback=void 0,this.editorFlag=!1,this.suggestionFlag=!1,this.closeAllModals=function(e){t.callBacks.forEach((function(t){t(e)}))},this.init=function(e){var n=document.getElementById(e);n&&n.addEventListener("click",(function(){t.editorFlag=!0})),document&&(document.addEventListener("click",(function(){t.editorFlag?t.editorFlag=!1:(t.closeAllModals(),t.suggestionCallback&&t.suggestionCallback())})),document.addEventListener("keydown",(function(e){"Escape"===e.key&&t.closeAllModals()})))},this.onEditorClick=function(){t.closeModals(),!t.suggestionFlag&&t.suggestionCallback?t.suggestionCallback():t.suggestionFlag=!1},this.closeModals=function(e){t.closeAllModals(e)},this.registerCallBack=function(e){t.callBacks.push(e)},this.deregisterCallBack=function(e){t.callBacks=t.callBacks.filter((function(t){return t!==e}))},this.setSuggestionCallback=function(e){t.suggestionCallback=e},this.removeSuggestionCallback=function(){t.suggestionCallback=void 0},this.onSuggestionClick=function(){t.suggestionFlag=!0}}));function C(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}var u,p=C((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.inputFocused=!1,this.editorMouseDown=!1,this.onEditorMouseDown=function(){t.editorFocused=!0},this.onInputMouseDown=function(){t.inputFocused=!0},this.isEditorBlur=function(e){return"INPUT"!==e.target.tagName&&"LABEL"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName||t.editorFocused?!("INPUT"===e.target.tagName&&"LABEL"===e.target.tagName&&"TEXTAREA"===e.target.tagName||t.inputFocused||(t.editorFocused=!1)):!(t.inputFocused=!1)},this.isEditorFocused=function(){return!t.inputFocused||(t.inputFocused=!1)},this.isToolbarFocused=function(){return!t.editorFocused||(t.editorFocused=!1)},this.isInputFocused=function(){return t.inputFocused}})),g=[],h={onKeyDown:function(e){g.forEach((function(t){t(e)}))},registerCallBack:function(e){g.push(e)},deregisterCallBack:function(e){g=g.filter((function(t){return t!==e}))}},m=function(){u=!0},E=function(){u=!1},b=function(){return u};function w(e){var t=e.getData()&&e.getData().get("text-align");return t?"rdw-".concat(t,"-aligned-block"):""}function v(e,t){if(e)for(var n in e)!{}.hasOwnProperty.call(e,n)||t(n,e[n])}function B(e,t){var n=!1;if(e)for(var r in e)if({}.hasOwnProperty.call(e,r)&&t===r){n=!0;break}return n}function I(e){e.stopPropagation()}function M(e){return e[e.options[0]].icon}function y(e,t){if(e&&void 0===t)return e;var n={};return v(e,(function(e,r){var o;o=r,"[object Object]"===Object.prototype.toString.call(o)?n[e]=y(r,t[e]):n[e]=void 0!==t[e]?t[e]:r})),n}var L=n(6),Q=n.n(L),x=n(5);function H(e){return(H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function V(e,t){return(V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=N(e);if(t){var o=N(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===H(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(9);var z=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&V(e,t)}(A,r.Component);var e,t,n=Z(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).onClick=function(){var t=e.props,n=t.disabled,r=t.onClick,o=t.value;n||r(o)},e}return e=A,(t=[{key:"render",value:function(){var e,t=this.props,n=t.children,r=t.className,A=t.activeClassName,i=t.active,a=t.disabled,l=t.title;return o.a.createElement("div",{className:s()("rdw-option-wrapper",r,(D(e={},"rdw-option-active ".concat(A),i),D(e,"rdw-option-disabled",a),e)),onClick:this.onClick,"aria-selected":i,title:l},n)}}])&&k(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function P(e){return(P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function S(e,t){return(S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function j(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=F(e);if(t){var o=F(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===P(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}z.propTypes={onClick:i.a.func.isRequired,children:i.a.any,value:i.a.string,className:i.a.string,activeClassName:i.a.string,active:i.a.bool,disabled:i.a.bool,title:i.a.string},z.defaultProps={activeClassName:""},n(12);var T=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&S(e,t)}(A,r.Component);var e,t,n=j(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).state={highlighted:-1},e.onChange=function(t){var n=e.props.onChange;n&&n(t),e.toggleExpansion()},e.setHighlighted=function(t){e.setState({highlighted:t})},e.toggleExpansion=function(){var t=e.props,n=t.doExpand,r=t.doCollapse;t.expanded?r():n()},e}return e=A,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.expanded;e.expanded&&!t&&this.setState({highlighted:-1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.expanded,r=t.children,A=t.className,i=t.optionWrapperClassName,a=t.ariaLabel,l=t.onExpandEvent,c=t.title,f=this.state.highlighted,d=r.slice(1,r.length);return o.a.createElement("div",{className:s()("rdw-dropdown-wrapper",A),"aria-expanded":n,"aria-label":a||"rdw-dropdown"},o.a.createElement("a",{className:"rdw-dropdown-selectedtext",onClick:l,title:c},r[0],o.a.createElement("div",{className:s()({"rdw-dropdown-carettoclose":n,"rdw-dropdown-carettoopen":!n})})),n?o.a.createElement("ul",{className:s()("rdw-dropdown-optionwrapper",i),onClick:I},o.a.Children.map(d,(function(t,n){return t&&o.a.cloneElement(t,{onSelect:e.onChange,highlighted:f===n,setHighlighted:e.setHighlighted,index:n})}))):void 0)}}])&&O(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function R(e){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function G(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function X(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Y(e,t){return(Y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function U(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=K(e);if(t){var o=K(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===R(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}T.propTypes={children:i.a.any,onChange:i.a.func,className:i.a.string,expanded:i.a.bool,doExpand:i.a.func,doCollapse:i.a.func,onExpandEvent:i.a.func,optionWrapperClassName:i.a.string,ariaLabel:i.a.string,title:i.a.string},n(13);var W=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Y(e,t)}(A,r.Component);var e,t,n=U(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).onClick=function(t){var n=e.props,r=n.onSelect,o=n.onClick,A=n.value;n.disabled||(r&&r(A),o&&(t.stopPropagation(),o(A)))},e.setHighlighted=function(){var t=e.props;(0,t.setHighlighted)(t.index)},e.resetHighlighted=function(){(0,e.props.setHighlighted)(-1)},e}return e=A,(t=[{key:"render",value:function(){var e,t=this.props,n=t.children,r=t.active,A=t.disabled,i=t.highlighted,a=t.className,l=t.activeClassName,c=t.disabledClassName,f=t.highlightedClassName,d=t.title;return o.a.createElement("li",{className:s()("rdw-dropdownoption-default",a,(G(e={},"rdw-dropdownoption-active ".concat(l),r),G(e,"rdw-dropdownoption-highlighted ".concat(f),i),G(e,"rdw-dropdownoption-disabled ".concat(c),A),e)),onMouseEnter:this.setHighlighted,onMouseLeave:this.resetHighlighted,onClick:this.onClick,title:d},n)}}])&&X(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function q(e){return(q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function J(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _(e,t){return(_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function $(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ee(e);if(t){var o=ee(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===q(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function ee(e){return(ee=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}W.propTypes={children:i.a.any,value:i.a.any,onClick:i.a.func,onSelect:i.a.func,setHighlighted:i.a.func,index:i.a.number,disabled:i.a.bool,active:i.a.bool,highlighted:i.a.bool,className:i.a.string,activeClassName:i.a.string,disabledClassName:i.a.string,highlightedClassName:i.a.string,title:i.a.string},W.defaultProps={activeClassName:"",disabledClassName:"",highlightedClassName:""},n(14);var te=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_(e,t)}(A,r.Component);var e,t,n=$(A);function A(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),n.apply(this,arguments)}return e=A,(t=[{key:"renderInFlatList",value:function(){var e=this.props,t=e.config,n=e.currentState,r=e.onChange,A=e.translations;return o.a.createElement("div",{className:s()("rdw-inline-wrapper",t.className),"aria-label":"rdw-inline-control"},t.options.map((function(e,i){return o.a.createElement(z,{key:i,value:e,onClick:r,className:s()(t[e].className),active:!0===n[e]||"MONOSPACE"===e&&n.CODE,title:t[e].title||A["components.controls.inline.".concat(e)]},o.a.createElement("img",{alt:"",src:t[e].icon}))})))}},{key:"renderInDropDown",value:function(){var e=this.props,t=e.config,n=e.expanded,r=e.doExpand,A=e.onExpandEvent,i=e.doCollapse,a=e.currentState,l=e.onChange,c=e.translations,f=t.className,d=t.dropdownClassName,C=t.title;return o.a.createElement(T,{className:s()("rdw-inline-dropdown",f),optionWrapperClassName:s()(d),onChange:l,expanded:n,doExpand:r,doCollapse:i,onExpandEvent:A,"aria-label":"rdw-inline-control",title:C},o.a.createElement("img",{src:M(t),alt:""}),t.options.map((function(e,n){return o.a.createElement(W,{key:n,value:e,className:s()("rdw-inline-dropdownoption",t[e].className),active:!0===a[e]||"MONOSPACE"===e&&a.CODE,title:t[e].title||c["components.controls.inline.".concat(e)]},o.a.createElement("img",{src:t[e].icon,alt:""}))})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&J(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function ne(e){return(ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function re(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oe(e,t){return(oe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ae(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ie(e);if(t){var o=ie(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===ne(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function ie(e){return(ie=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}te.propTypes={expanded:i.a.bool,doExpand:i.a.func,doCollapse:i.a.func,onExpandEvent:i.a.func,config:i.a.object,onChange:i.a.func,currentState:i.a.object,translations:i.a.object};var ae=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&oe(e,t)}(A,r.Component);var e,t,n=Ae(A);function A(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),(t=n.call(this,e)).onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.expandCollapse=function(){t.setState({expanded:t.signalExpanded}),t.signalExpanded=!1},t.toggleInlineStyle=function(e){var n="monospace"===e?"CODE":e.toUpperCase(),r=t.props,o=r.editorState,A=r.onChange,i=a.RichUtils.toggleInlineStyle(o,n);if("subscript"===e||"superscript"===e){var l="subscript"===e?"SUPERSCRIPT":"SUBSCRIPT",c=a.Modifier.removeInlineStyle(i.getCurrentContent(),i.getSelection(),l);i=a.EditorState.push(i,c,"change-inline-style")}i&&A(i)},t.changeKeys=function(e){if(e){var t={};return v(e,(function(e,n){t["CODE"===e?"monospace":e.toLowerCase()]=n})),t}},t.doExpand=function(){t.setState({expanded:!0})},t.doCollapse=function(){t.setState({expanded:!1})};var r=t.props,o=r.editorState,i=r.modalHandler;return t.state={currentStyles:o?t.changeKeys(Object(l.getSelectionInlineStyle)(o)):{}},i.registerCallBack(t.expandCollapse),t}return e=A,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t&&t!==e.editorState&&this.setState({currentStyles:this.changeKeys(Object(l.getSelectionInlineStyle)(t))})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state,A=r.expanded,i=r.currentStyles,a=t.component||te;return o.a.createElement(a,{config:t,translations:n,currentState:i,expanded:A,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.toggleInlineStyle})}}])&&re(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function le(e){return(le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function se(e,t){return(se=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function fe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=de(e);if(t){var o=de(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===le(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function de(e){return(de=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}ae.propTypes={onChange:i.a.func.isRequired,editorState:i.a.object.isRequired,modalHandler:i.a.object,config:i.a.object,translations:i.a.object},n(15);var Ce=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&se(e,t)}(A,r.Component);var e,t,n=fe(A);function A(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),(t=n.call(this,e)).getBlockTypes=function(e){return[{label:"Normal",displayName:e["components.controls.blocktype.normal"]},{label:"H1",displayName:e["components.controls.blocktype.h1"]},{label:"H2",displayName:e["components.controls.blocktype.h2"]},{label:"H3",displayName:e["components.controls.blocktype.h3"]},{label:"H4",displayName:e["components.controls.blocktype.h4"]},{label:"H5",displayName:e["components.controls.blocktype.h5"]},{label:"H6",displayName:e["components.controls.blocktype.h6"]},{label:"Blockquote",displayName:e["components.controls.blocktype.blockquote"]},{label:"Code",displayName:e["components.controls.blocktype.code"]}]},t.state={blockTypes:t.getBlockTypes(e.translations)},t}return e=A,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.translations;t!==e.translations&&this.setState({blockTypes:this.getBlockTypes(t)})}},{key:"renderFlat",value:function(e){var t=this.props,n=t.config.className,r=t.onChange,A=t.currentState.blockType;return o.a.createElement("div",{className:s()("rdw-inline-wrapper",n)},e.map((function(e,t){return o.a.createElement(z,{key:t,value:e.label,active:A===e.label,onClick:r},e.displayName)})))}},{key:"renderInDropdown",value:function(e){var t=this.props,n=t.config,r=n.className,A=n.dropdownClassName,i=n.title,a=t.currentState.blockType,l=t.expanded,c=t.doExpand,f=t.onExpandEvent,d=t.doCollapse,C=t.onChange,u=t.translations,p=this.state.blockTypes.filter((function(e){return e.label===a})),g=p&&p[0]&&p[0].displayName;return o.a.createElement("div",{className:"rdw-block-wrapper","aria-label":"rdw-block-control"},o.a.createElement(T,{className:s()("rdw-block-dropdown",r),optionWrapperClassName:s()(A),onChange:C,expanded:l,doExpand:c,doCollapse:d,onExpandEvent:f,title:i||u["components.controls.blocktype.blocktype"]},o.a.createElement("span",null,g||u["components.controls.blocktype.blocktype"]),e.map((function(e,t){return o.a.createElement(W,{active:a===e.label,value:e.label,key:t},e.displayName)}))))}},{key:"render",value:function(){var e=this.props.config,t=e.inDropdown,n=this.state.blockTypes.filter((function(t){var n=t.label;return-1<e.options.indexOf(n)}));return t?this.renderInDropdown(n):this.renderFlat(n)}}])&&ce(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();Ce.propTypes={expanded:i.a.bool,onExpandEvent:i.a.func,doExpand:i.a.func,doCollapse:i.a.func,onChange:i.a.func,config:i.a.object,currentState:i.a.object,translations:i.a.object};var ue=Ce;function pe(e){return(pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ge(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function he(e,t){return(he=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function me(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ee(e);if(t){var o=Ee(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===pe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function Ee(e){return(Ee=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var be=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&he(e,t)}(A,r.Component);var e,t,n=me(A);function A(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),(t=n.call(this,e)).onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.expandCollapse=function(){t.setState({expanded:t.signalExpanded}),t.signalExpanded=!1},t.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"}],t.doExpand=function(){t.setState({expanded:!0})},t.doCollapse=function(){t.setState({expanded:!1})},t.toggleBlockType=function(e){var n=t.blocksTypes.find((function(t){return t.label===e})).style,r=t.props,o=r.editorState,A=r.onChange,i=a.RichUtils.toggleBlockType(o,n);i&&A(i)};var r=e.editorState,o=e.modalHandler;return t.state={expanded:!1,currentBlockType:r?Object(l.getSelectedBlocksType)(r):"unstyled"},o.registerCallBack(t.expandCollapse),t}return e=A,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t&&t!==e.editorState&&this.setState({currentBlockType:Object(l.getSelectedBlocksType)(t)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state,A=r.expanded,i=r.currentBlockType,a=t.component||ue,l=this.blocksTypes.find((function(e){return e.style===i}));return o.a.createElement(a,{config:t,translations:n,currentState:{blockType:l&&l.label},onChange:this.toggleBlockType,expanded:A,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&ge(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();be.propTypes={onChange:i.a.func.isRequired,editorState:i.a.object,modalHandler:i.a.object,config:i.a.object,translations:i.a.object};var we=be;function ve(e){return(ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Be(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ie(e,t){return(Ie=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Me(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ye(e);if(t){var o=ye(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===ve(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function ye(e){return(ye=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(16);var Le=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ie(e,t)}(A,r.Component);var e,t,n=Me(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).state={defaultFontSize:void 0},e}return e=A,(t=[{key:"componentDidMount",value:function(){var e=document.getElementsByClassName("DraftEditor-root");if(e&&0<e.length){var t=window.getComputedStyle(e[0]).getPropertyValue("font-size");t=t.substring(0,t.length-2),this.setState({defaultFontSize:t})}}},{key:"render",value:function(){var e=this.props,t=e.config,n=t.icon,r=t.className,A=t.dropdownClassName,i=t.options,a=t.title,l=e.onChange,c=e.expanded,f=e.doCollapse,d=e.onExpandEvent,C=e.doExpand,u=e.translations,p=this.props.currentState.fontSize,g=this.state.defaultFontSize;return g=Number(g),p=p||i&&0<=i.indexOf(g)&&g,o.a.createElement("div",{className:"rdw-fontsize-wrapper","aria-label":"rdw-font-size-control"},o.a.createElement(T,{className:s()("rdw-fontsize-dropdown",r),optionWrapperClassName:s()(A),onChange:l,expanded:c,doExpand:C,doCollapse:f,onExpandEvent:d,title:a||u["components.controls.fontsize.fontsize"]},p?o.a.createElement("span",null,p):o.a.createElement("img",{src:n,alt:""}),i.map((function(e,t){return o.a.createElement(W,{className:"rdw-fontsize-option",active:p===e,value:e,key:t},e)}))))}}])&&Be(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function Qe(e){return(Qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function He(e,t){return(He=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function De(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ke(e);if(t){var o=ke(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Qe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function ke(e){return(ke=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Le.propTypes={expanded:i.a.bool,onExpandEvent:i.a.func,doExpand:i.a.func,doCollapse:i.a.func,onChange:i.a.func,config:i.a.object,currentState:i.a.object,translations:i.a.object};var Ve=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&He(e,t)}(A,r.Component);var e,t,n=De(A);function A(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),(t=n.call(this,e)).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.toggleFontSize=function(e){var n=t.props,r=n.editorState,o=n.onChange,A=Object(l.toggleCustomInlineStyle)(r,"fontSize",e);A&&o(A)};var r=e.editorState,o=e.modalHandler;return t.state={expanded:void 0,currentFontSize:r?Object(l.getSelectionCustomInlineStyle)(r,["FONTSIZE"]).FONTSIZE:void 0},o.registerCallBack(t.expandCollapse),t}return e=A,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t&&t!==e.editorState&&this.setState({currentFontSize:Object(l.getSelectionCustomInlineStyle)(t,["FONTSIZE"]).FONTSIZE})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state,A=r.expanded,i=r.currentFontSize,a=t.component||Le,l=i&&Number(i.substring(9));return o.a.createElement(a,{config:t,translations:n,currentState:{fontSize:l},onChange:this.toggleFontSize,expanded:A,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&xe(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function Ze(e){return(Ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ze(e,t){return(ze=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Pe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Oe(e);if(t){var o=Oe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Ze(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function Oe(e){return(Oe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Ve.propTypes={onChange:i.a.func.isRequired,editorState:i.a.object,modalHandler:i.a.object,config:i.a.object,translations:i.a.object},n(17);var Se=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ze(e,t)}(A,r.Component);var e,t,n=Pe(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).state={defaultFontFamily:void 0},e}return e=A,(t=[{key:"componentDidMount",value:function(){var e=document.getElementsByClassName("DraftEditor-root");if(e&&0<e.length){var t=window.getComputedStyle(e[0]).getPropertyValue("font-family");this.setState({defaultFontFamily:t})}}},{key:"render",value:function(){var e=this.state.defaultFontFamily,t=this.props,n=t.config,r=n.className,A=n.dropdownClassName,i=n.options,a=n.title,l=t.translations,c=t.onChange,f=t.expanded,d=t.doCollapse,C=t.onExpandEvent,u=t.doExpand,p=this.props.currentState.fontFamily;return p=p||i&&e&&i.some((function(t){return t.toLowerCase()===e.toLowerCase()}))&&e,o.a.createElement("div",{className:"rdw-fontfamily-wrapper","aria-label":"rdw-font-family-control"},o.a.createElement(T,{className:s()("rdw-fontfamily-dropdown",r),optionWrapperClassName:s()("rdw-fontfamily-optionwrapper",A),onChange:c,expanded:f,doExpand:u,doCollapse:d,onExpandEvent:C,title:a||l["components.controls.fontfamily.fontfamily"]},o.a.createElement("span",{className:"rdw-fontfamily-placeholder"},p||l["components.controls.fontfamily.fontfamily"]),i.map((function(e,t){return o.a.createElement(W,{active:p===e,value:e,key:t},e)}))))}}])&&Ne(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();Se.propTypes={expanded:i.a.bool,onExpandEvent:i.a.func,doExpand:i.a.func,doCollapse:i.a.func,onChange:i.a.func,config:i.a.object,currentState:i.a.object,translations:i.a.object};var je=Se;function Fe(e){return(Fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Te(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Re(e,t){return(Re=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ge(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Xe(e);if(t){var o=Xe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Fe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function Xe(e){return(Xe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ye=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Re(e,t)}(A,r.Component);var e,t,n=Ge(A);function A(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),(t=n.call(this,e)).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.toggleFontFamily=function(e){var n=t.props,r=n.editorState,o=n.onChange,A=Object(l.toggleCustomInlineStyle)(r,"fontFamily",e);A&&o(A)};var r=e.editorState,o=e.modalHandler;return t.state={expanded:void 0,currentFontFamily:r?Object(l.getSelectionCustomInlineStyle)(r,["FONTFAMILY"]).FONTFAMILY:void 0},o.registerCallBack(t.expandCollapse),t}return e=A,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t&&t!==e.editorState&&this.setState({currentFontFamily:Object(l.getSelectionCustomInlineStyle)(t,["FONTFAMILY"]).FONTFAMILY})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state,A=r.expanded,i=r.currentFontFamily,a=t.component||je,l=i&&i.substring(11);return o.a.createElement(a,{translations:n,config:t,currentState:{fontFamily:l},onChange:this.toggleFontFamily,expanded:A,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&Te(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function Ue(e){return(Ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ke(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function We(e,t){return(We=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function qe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Je(e);if(t){var o=Je(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Ue(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function Je(e){return(Je=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Ye.propTypes={onChange:i.a.func.isRequired,editorState:i.a.object,modalHandler:i.a.object,config:i.a.object,translations:i.a.object},n(18);var _e=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&We(e,t)}(A,r.Component);var e,t,n=qe(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).options=["unordered","ordered","indent","outdent"],e.toggleBlockType=function(t){(0,e.props.onChange)(t)},e.indent=function(){(0,e.props.onChange)("indent")},e.outdent=function(){(0,e.props.onChange)("outdent")},e}return e=A,(t=[{key:"renderInFlatList",value:function(){var e=this.props,t=e.config,n=e.currentState.listType,r=e.translations,A=e.indentDisabled,i=e.outdentDisabled,a=t.options,l=t.unordered,c=t.ordered,f=t.indent,d=t.outdent,C=t.className;return o.a.createElement("div",{className:s()("rdw-list-wrapper",C),"aria-label":"rdw-list-control"},0<=a.indexOf("unordered")&&o.a.createElement(z,{value:"unordered",onClick:this.toggleBlockType,className:s()(l.className),active:"unordered"===n,title:l.title||r["components.controls.list.unordered"]},o.a.createElement("img",{src:l.icon,alt:""})),0<=a.indexOf("ordered")&&o.a.createElement(z,{value:"ordered",onClick:this.toggleBlockType,className:s()(c.className),active:"ordered"===n,title:c.title||r["components.controls.list.ordered"]},o.a.createElement("img",{src:c.icon,alt:""})),0<=a.indexOf("indent")&&o.a.createElement(z,{onClick:this.indent,disabled:A,className:s()(f.className),title:f.title||r["components.controls.list.indent"]},o.a.createElement("img",{src:f.icon,alt:""})),0<=a.indexOf("outdent")&&o.a.createElement(z,{onClick:this.outdent,disabled:i,className:s()(d.className),title:d.title||r["components.controls.list.outdent"]},o.a.createElement("img",{src:d.icon,alt:""})))}},{key:"renderInDropDown",value:function(){var e=this,t=this.props,n=t.config,r=t.expanded,A=t.doCollapse,i=t.doExpand,a=t.onExpandEvent,l=t.onChange,c=t.currentState.listType,f=t.translations,d=n.options,C=n.className,u=n.dropdownClassName,p=n.title;return o.a.createElement(T,{className:s()("rdw-list-dropdown",C),optionWrapperClassName:s()(u),onChange:l,expanded:r,doExpand:i,doCollapse:A,onExpandEvent:a,"aria-label":"rdw-list-control",title:p||f["components.controls.list.list"]},o.a.createElement("img",{src:M(n),alt:""}),this.options.filter((function(e){return 0<=d.indexOf(e)})).map((function(t,r){return o.a.createElement(W,{key:r,value:t,disabled:e.props["".concat(t,"Disabled")],className:s()("rdw-list-dropdownOption",n[t].className),active:c===t,title:n[t].title||f["components.controls.list.".concat(t)]},o.a.createElement("img",{src:n[t].icon,alt:""}))})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&Ke(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function $e(e){return($e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function et(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function tt(e,t){return(tt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function nt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=rt(e);if(t){var o=rt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===$e(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function rt(e){return(rt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}_e.propTypes={expanded:i.a.bool,doExpand:i.a.func,doCollapse:i.a.func,onExpandEvent:i.a.func,config:i.a.object,onChange:i.a.func,currentState:i.a.object,translations:i.a.object,indentDisabled:i.a.bool,outdentDisabled:i.a.bool};var ot=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&tt(e,t)}(A,r.Component);var e,t,n=nt(A);function A(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),(t=n.call(this,e)).onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.onChange=function(e){"unordered"===e?t.toggleBlockType("unordered-list-item"):"ordered"===e?t.toggleBlockType("ordered-list-item"):"indent"===e?t.adjustDepth(1):t.adjustDepth(-1)},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.toggleBlockType=function(e){var n=t.props,r=n.onChange,o=n.editorState,A=a.RichUtils.toggleBlockType(o,e);A&&r(A)},t.adjustDepth=function(e){var n=t.props,r=n.onChange,o=n.editorState,A=Object(l.changeDepth)(o,e,4);A&&r(A)},t.isIndentDisabled=function(){var e=t.props.editorState,n=t.state.currentBlock,r=Object(l.getBlockBeforeSelectedBlock)(e);return!r||!Object(l.isListBlock)(n)||r.get("type")!==n.get("type")||r.get("depth")<n.get("depth")},t.isOutdentDisabled=function(){var e=t.state.currentBlock;return!e||!Object(l.isListBlock)(e)||e.get("depth")<=0};var r=t.props,o=r.editorState,i=r.modalHandler;return t.state={expanded:!1,currentBlock:o?Object(l.getSelectedBlock)(o):void 0},i.registerCallBack(t.expandCollapse),t}return e=A,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t&&t!==e.editorState&&this.setState({currentBlock:Object(l.getSelectedBlock)(t)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e,t=this.props,n=t.config,r=t.translations,A=this.state,i=A.expanded,a=A.currentBlock,l=n.component||_e;"unordered-list-item"===a.get("type")?e="unordered":"ordered-list-item"===a.get("type")&&(e="ordered");var c=this.isIndentDisabled(),s=this.isOutdentDisabled();return o.a.createElement(l,{config:n,translations:r,currentState:{listType:e},expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.onChange,indentDisabled:c,outdentDisabled:s})}}])&&et(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function At(e){return(At="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function it(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function at(e,t){return(at=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function lt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ct(e);if(t){var o=ct(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===At(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function ct(e){return(ct=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}ot.propTypes={onChange:i.a.func.isRequired,editorState:i.a.object.isRequired,modalHandler:i.a.object,config:i.a.object,translations:i.a.object},n(19);var st=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&at(e,t)}(A,r.Component);var e,t,n=lt(A);function A(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),n.apply(this,arguments)}return e=A,(t=[{key:"renderInFlatList",value:function(){var e=this.props,t=e.config,n=t.options,r=t.left,A=t.center,i=t.right,a=t.justify,l=t.className,c=e.onChange,f=e.currentState.textAlignment,d=e.translations;return o.a.createElement("div",{className:s()("rdw-text-align-wrapper",l),"aria-label":"rdw-textalign-control"},0<=n.indexOf("left")&&o.a.createElement(z,{value:"left",className:s()(r.className),active:"left"===f,onClick:c,title:r.title||d["components.controls.textalign.left"]},o.a.createElement("img",{src:r.icon,alt:""})),0<=n.indexOf("center")&&o.a.createElement(z,{value:"center",className:s()(A.className),active:"center"===f,onClick:c,title:A.title||d["components.controls.textalign.center"]},o.a.createElement("img",{src:A.icon,alt:""})),0<=n.indexOf("right")&&o.a.createElement(z,{value:"right",className:s()(i.className),active:"right"===f,onClick:c,title:i.title||d["components.controls.textalign.right"]},o.a.createElement("img",{src:i.icon,alt:""})),0<=n.indexOf("justify")&&o.a.createElement(z,{value:"justify",className:s()(a.className),active:"justify"===f,onClick:c,title:a.title||d["components.controls.textalign.justify"]},o.a.createElement("img",{src:a.icon,alt:""})))}},{key:"renderInDropDown",value:function(){var e=this.props,t=e.config,n=e.expanded,r=e.doExpand,A=e.onExpandEvent,i=e.doCollapse,a=e.currentState.textAlignment,l=e.onChange,c=e.translations,f=t.options,d=t.left,C=t.center,u=t.right,p=t.justify,g=t.className,h=t.dropdownClassName,m=t.title;return o.a.createElement(T,{className:s()("rdw-text-align-dropdown",g),optionWrapperClassName:s()(h),onChange:l,expanded:n,doExpand:r,doCollapse:i,onExpandEvent:A,"aria-label":"rdw-textalign-control",title:m||c["components.controls.textalign.textalign"]},o.a.createElement("img",{src:a&&t[a]&&t[a].icon||M(t),alt:""}),0<=f.indexOf("left")&&o.a.createElement(W,{value:"left",active:"left"===a,className:s()("rdw-text-align-dropdownOption",d.className),title:d.title||c["components.controls.textalign.left"]},o.a.createElement("img",{src:d.icon,alt:""})),0<=f.indexOf("center")&&o.a.createElement(W,{value:"center",active:"center"===a,className:s()("rdw-text-align-dropdownOption",C.className),title:C.title||c["components.controls.textalign.center"]},o.a.createElement("img",{src:C.icon,alt:""})),0<=f.indexOf("right")&&o.a.createElement(W,{value:"right",active:"right"===a,className:s()("rdw-text-align-dropdownOption",u.className),title:u.title||c["components.controls.textalign.right"]},o.a.createElement("img",{src:u.icon,alt:""})),0<=f.indexOf("justify")&&o.a.createElement(W,{value:"justify",active:"justify"===a,className:s()("rdw-text-align-dropdownOption",p.className),title:p.title||c["components.controls.textalign.justify"]},o.a.createElement("img",{src:p.icon,alt:""})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&it(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function ft(e){return(ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function dt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ct(e,t){return(Ct=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ut(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=pt(e);if(t){var o=pt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===ft(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function pt(e){return(pt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}st.propTypes={expanded:i.a.bool,doExpand:i.a.func,doCollapse:i.a.func,onExpandEvent:i.a.func,config:i.a.object,onChange:i.a.func,currentState:i.a.object,translations:i.a.object};var gt=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ct(e,t)}(A,r.Component);var e,t,n=ut(A);function A(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),(t=n.call(this,e)).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.addBlockAlignmentData=function(e){var n=t.props,r=n.editorState;(0,n.onChange)(t.state.currentTextAlignment!==e?Object(l.setBlockData)(r,{"text-align":e}):Object(l.setBlockData)(r,{"text-align":void 0}))};var r=t.props.modalHandler;return t.state={currentTextAlignment:void 0},r.registerCallBack(t.expandCollapse),t}return e=A,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t!==e.editorState&&this.setState({currentTextAlignment:Object(l.getSelectedBlocksMetadata)(t).get("text-align")})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state,A=r.expanded,i=r.currentTextAlignment,a=t.component||st;return o.a.createElement(a,{config:t,translations:n,expanded:A,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{textAlignment:i},onChange:this.addBlockAlignmentData})}}])&&dt(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function ht(e){return(ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Et(e,t){return(Et=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function bt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=wt(e);if(t){var o=wt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===ht(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function wt(e){return(wt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}gt.propTypes={editorState:i.a.object.isRequired,onChange:i.a.func.isRequired,modalHandler:i.a.object,config:i.a.object,translations:i.a.object},n(20);var vt=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Et(e,t)}(A,r.Component);var e,t,n=bt(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return(e=n.call.apply(n,[this].concat(r))).state={currentStyle:"color"},e.onChange=function(t){(0,e.props.onChange)(e.state.currentStyle,t)},e.setCurrentStyleColor=function(){e.setState({currentStyle:"color"})},e.setCurrentStyleBgcolor=function(){e.setState({currentStyle:"bgcolor"})},e.renderModal=function(){var t=e.props,n=t.config,r=n.popupClassName,A=n.colors,i=t.currentState,a=i.color,l=i.bgColor,c=t.translations,f=e.state.currentStyle,d="color"===f?a:l;return o.a.createElement("div",{className:s()("rdw-colorpicker-modal",r),onClick:I},o.a.createElement("span",{className:"rdw-colorpicker-modal-header"},o.a.createElement("span",{className:s()("rdw-colorpicker-modal-style-label",{"rdw-colorpicker-modal-style-label-active":"color"===f}),onClick:e.setCurrentStyleColor},c["components.controls.colorpicker.text"]),o.a.createElement("span",{className:s()("rdw-colorpicker-modal-style-label",{"rdw-colorpicker-modal-style-label-active":"bgcolor"===f}),onClick:e.setCurrentStyleBgcolor},c["components.controls.colorpicker.background"])),o.a.createElement("span",{className:"rdw-colorpicker-modal-options"},A.map((function(t,n){return o.a.createElement(z,{value:t,key:n,className:"rdw-colorpicker-option",activeClassName:"rdw-colorpicker-option-active",active:d===t,onClick:e.onChange},o.a.createElement("span",{style:{backgroundColor:t},className:"rdw-colorpicker-cube"}))}))))},e}return e=A,(t=[{key:"componentDidUpdate",value:function(e){this.props.expanded&&!e.expanded&&this.setState({currentStyle:"color"})}},{key:"render",value:function(){var e=this.props,t=e.config,n=t.icon,r=t.className,A=t.title,i=e.expanded,a=e.onExpandEvent,l=e.translations;return o.a.createElement("div",{className:"rdw-colorpicker-wrapper","aria-haspopup":"true","aria-expanded":i,"aria-label":"rdw-color-picker",title:A||l["components.controls.colorpicker.colorpicker"]},o.a.createElement(z,{onClick:a,className:s()(r)},o.a.createElement("img",{src:n,alt:""})),i?this.renderModal():void 0)}}])&&mt(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();vt.propTypes={expanded:i.a.bool,onExpandEvent:i.a.func,onChange:i.a.func,config:i.a.object,currentState:i.a.object,translations:i.a.object};var Bt=vt;function It(e){return(It="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Mt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yt(e,t){return(yt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Lt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Qt(e);if(t){var o=Qt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===It(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function Qt(e){return(Qt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var xt=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&yt(e,t)}(A,r.Component);var e,t,n=Lt(A);function A(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),(t=n.call(this,e)).state={expanded:!1,currentColor:void 0,currentBgColor:void 0},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.toggleColor=function(e,n){var r=t.props,o=r.editorState,A=r.onChange,i=Object(l.toggleCustomInlineStyle)(o,e,n);i&&A(i),t.doCollapse()};var r=e.editorState,o=e.modalHandler,i={expanded:!1,currentColor:void 0,currentBgColor:void 0};return r&&(i.currentColor=Object(l.getSelectionCustomInlineStyle)(r,["COLOR"]).COLOR,i.currentBgColor=Object(l.getSelectionCustomInlineStyle)(r,["BGCOLOR"]).BGCOLOR),t.state=i,o.registerCallBack(t.expandCollapse),t}return e=A,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t&&t!==e.editorState&&this.setState({currentColor:Object(l.getSelectionCustomInlineStyle)(t,["COLOR"]).COLOR,currentBgColor:Object(l.getSelectionCustomInlineStyle)(t,["BGCOLOR"]).BGCOLOR})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state,A=r.currentColor,i=r.currentBgColor,a=r.expanded,l=t.component||Bt,c=A&&A.substring(6),s=i&&i.substring(8);return o.a.createElement(l,{config:t,translations:n,onChange:this.toggleColor,expanded:a,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{color:c,bgColor:s}})}}])&&Mt(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();xt.propTypes={onChange:i.a.func.isRequired,editorState:i.a.object.isRequired,modalHandler:i.a.object,config:i.a.object,translations:i.a.object};var Ht=xt,Dt=n(7),kt=n.n(Dt);function Vt(e){return(Vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Zt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Nt(e,t){return(Nt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function zt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Pt(e);if(t){var o=Pt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Vt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function Pt(e){return(Pt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(26);var Ot=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Nt(e,t)}(A,r.Component);var e,t,n=zt(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).state={showModal:!1,linkTarget:"",linkTitle:"",linkTargetOption:e.props.config.defaultTargetOption},e.removeLink=function(){(0,e.props.onChange)("unlink")},e.addLink=function(){var t=e.props.onChange,n=e.state;t("link",n.linkTitle,n.linkTarget,n.linkTargetOption)},e.updateValue=function(t){var n,r,o;e.setState((n={},r="".concat(t.target.name),o=t.target.value,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n))},e.updateTargetOption=function(t){e.setState({linkTargetOption:t.target.checked?"_blank":"_self"})},e.hideModal=function(){e.setState({showModal:!1})},e.signalExpandShowModal=function(){var t=e.props,n=t.onExpandEvent,r=t.currentState,o=r.link,A=r.selectionText,i=e.state.linkTargetOption;n(),e.setState({showModal:!0,linkTarget:o&&o.target||"",linkTargetOption:o&&o.targetOption||i,linkTitle:o&&o.title||A})},e.forceExpandAndShowModal=function(){var t=e.props,n=t.doExpand,r=t.currentState,o=r.link,A=r.selectionText,i=e.state.linkTargetOption;n(),e.setState({showModal:!0,linkTarget:o&&o.target,linkTargetOption:o&&o.targetOption||i,linkTitle:o&&o.title||A})},e}return e=A,(t=[{key:"componentDidUpdate",value:function(e){e.expanded&&!this.props.expanded&&this.setState({showModal:!1,linkTarget:"",linkTitle:"",linkTargetOption:this.props.config.defaultTargetOption})}},{key:"renderAddLinkModal",value:function(){var e=this.props,t=e.config.popupClassName,n=e.doCollapse,r=e.translations,A=this.state,i=A.linkTitle,a=A.linkTarget,l=A.linkTargetOption;return o.a.createElement("div",{className:s()("rdw-link-modal",t),onClick:I},o.a.createElement("label",{className:"rdw-link-modal-label",htmlFor:"linkTitle"},r["components.controls.link.linkTitle"]),o.a.createElement("input",{id:"linkTitle",className:"rdw-link-modal-input",onChange:this.updateValue,onBlur:this.updateValue,name:"linkTitle",value:i}),o.a.createElement("label",{className:"rdw-link-modal-label",htmlFor:"linkTarget"},r["components.controls.link.linkTarget"]),o.a.createElement("input",{id:"linkTarget",className:"rdw-link-modal-input",onChange:this.updateValue,onBlur:this.updateValue,name:"linkTarget",value:a}),o.a.createElement("label",{className:"rdw-link-modal-target-option",htmlFor:"openLinkInNewWindow"},o.a.createElement("input",{id:"openLinkInNewWindow",type:"checkbox",defaultChecked:"_blank"===l,value:"_blank",onChange:this.updateTargetOption}),o.a.createElement("span",null,r["components.controls.link.linkTargetOption"])),o.a.createElement("span",{className:"rdw-link-modal-buttonsection"},o.a.createElement("button",{className:"rdw-link-modal-btn",onClick:this.addLink,disabled:!a||!i},r["generic.add"]),o.a.createElement("button",{className:"rdw-link-modal-btn",onClick:n},r["generic.cancel"])))}},{key:"renderInFlatList",value:function(){var e=this.props,t=e.config,n=t.options,r=t.link,A=t.unlink,i=t.className,a=e.currentState,l=e.expanded,c=e.translations,f=this.state.showModal;return o.a.createElement("div",{className:s()("rdw-link-wrapper",i),"aria-label":"rdw-link-control"},0<=n.indexOf("link")&&o.a.createElement(z,{value:"unordered-list-item",className:s()(r.className),onClick:this.signalExpandShowModal,"aria-haspopup":"true","aria-expanded":f,title:r.title||c["components.controls.link.link"]},o.a.createElement("img",{src:r.icon,alt:""})),0<=n.indexOf("unlink")&&o.a.createElement(z,{disabled:!a.link,value:"ordered-list-item",className:s()(A.className),onClick:this.removeLink,title:A.title||c["components.controls.link.unlink"]},o.a.createElement("img",{src:A.icon,alt:""})),l&&f?this.renderAddLinkModal():void 0)}},{key:"renderInDropDown",value:function(){var e=this.props,t=e.expanded,n=e.onExpandEvent,r=e.doCollapse,A=e.doExpand,i=e.onChange,a=e.config,l=e.currentState,c=e.translations,f=a.options,d=a.link,C=a.unlink,u=a.className,p=a.dropdownClassName,g=a.title,h=this.state.showModal;return o.a.createElement("div",{className:"rdw-link-wrapper","aria-haspopup":"true","aria-label":"rdw-link-control","aria-expanded":t,title:g},o.a.createElement(T,{className:s()("rdw-link-dropdown",u),optionWrapperClassName:s()(p),onChange:i,expanded:t&&!h,doExpand:A,doCollapse:r,onExpandEvent:n},o.a.createElement("img",{src:M(a),alt:""}),0<=f.indexOf("link")&&o.a.createElement(W,{onClick:this.forceExpandAndShowModal,className:s()("rdw-link-dropdownoption",d.className),title:d.title||c["components.controls.link.link"]},o.a.createElement("img",{src:d.icon,alt:""})),0<=f.indexOf("unlink")&&o.a.createElement(W,{onClick:this.removeLink,disabled:!l.link,className:s()("rdw-link-dropdownoption",C.className),title:C.title||c["components.controls.link.unlink"]},o.a.createElement("img",{src:C.icon,alt:""}))),t&&h?this.renderAddLinkModal():void 0)}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&Zt(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();Ot.propTypes={expanded:i.a.bool,doExpand:i.a.func,doCollapse:i.a.func,onExpandEvent:i.a.func,config:i.a.object,onChange:i.a.func,currentState:i.a.object,translations:i.a.object};var St=Ot;function jt(e){return(jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ft(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Tt(e,t){return(Tt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Rt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Gt(e);if(t){var o=Gt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===jt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function Gt(e){return(Gt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Xt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Yt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xt(Object(n),!0).forEach((function(t){Ut(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kt(e){var t=Wt.match(e.target);return Yt(Yt({},e),{},{target:t&&t[0]&&t[0].url||e.target})}var Wt=kt()(),qt=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Tt(e,t)}(A,r.Component);var e,t,n=Rt(A);function A(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),(t=n.call(this,e)).onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.onChange=function(e,n,r,o){var A=t.props.config.linkCallback;if("link"===e){var i=(A||Kt)({title:n,target:r,targetOption:o});t.addLink(i.title,i.target,i.targetOption)}else t.removeLink()},t.getCurrentValues=function(){var e=t.props.editorState,n=t.state.currentEntity,r=e.getCurrentContent(),o={};if(n&&"LINK"===r.getEntity(n).get("type")){o.link={};var A=n&&Object(l.getEntityRange)(e,n);o.link.target=n&&r.getEntity(n).get("data").url,o.link.targetOption=n&&r.getEntity(n).get("data").targetOption,o.link.title=A&&A.text}return o.selectionText=Object(l.getSelectionText)(e),o},t.doExpand=function(){t.setState({expanded:!0})},t.expandCollapse=function(){t.setState({expanded:t.signalExpanded}),t.signalExpanded=!1},t.doCollapse=function(){t.setState({expanded:!1})},t.removeLink=function(){var e=t.props,n=e.editorState,r=e.onChange,o=t.state.currentEntity,A=n.getSelection();if(o){var i=Object(l.getEntityRange)(n,o);A=A.getIsBackward()?A.merge({anchorOffset:i.end,focusOffset:i.start}):A.merge({anchorOffset:i.start,focusOffset:i.end}),r(a.RichUtils.toggleLink(n,A,null))}},t.addLink=function(e,n,r){var o=t.props,A=o.editorState,i=o.onChange,c=t.state.currentEntity,s=A.getSelection();if(c){var f=Object(l.getEntityRange)(A,c);s=s.getIsBackward()?s.merge({anchorOffset:f.end,focusOffset:f.start}):s.merge({anchorOffset:f.start,focusOffset:f.end})}var d=A.getCurrentContent().createEntity("LINK","MUTABLE",{url:n,targetOption:r}).getLastCreatedEntityKey(),C=a.Modifier.replaceText(A.getCurrentContent(),s,"".concat(e),A.getCurrentInlineStyle(),d),u=a.EditorState.push(A,C,"insert-characters");s=u.getSelection().merge({anchorOffset:s.get("anchorOffset")+e.length,focusOffset:s.get("anchorOffset")+e.length}),u=a.EditorState.acceptSelection(u,s),C=a.Modifier.insertText(u.getCurrentContent(),s," ",u.getCurrentInlineStyle(),void 0),i(a.EditorState.push(u,C,"insert-characters")),t.doCollapse()};var r=t.props,o=r.editorState,i=r.modalHandler;return t.state={expanded:!1,link:void 0,selectionText:void 0,currentEntity:o?Object(l.getSelectionEntity)(o):void 0},i.registerCallBack(t.expandCollapse),t}return e=A,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t&&t!==e.editorState&&this.setState({currentEntity:Object(l.getSelectionEntity)(t)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state.expanded,A=this.getCurrentValues(),i=A.link,a=A.selectionText,l=t.component||St;return o.a.createElement(l,{config:t,translations:n,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{link:i,selectionText:a},onChange:this.onChange})}}])&&Ft(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();qt.propTypes={editorState:i.a.object.isRequired,onChange:i.a.func.isRequired,modalHandler:i.a.object,config:i.a.object,translations:i.a.object};var Jt=qt;function _t(e){return(_t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function en(e,t){return(en=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function tn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=nn(e);if(t){var o=nn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===_t(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function nn(e){return(nn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(27);var rn=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&en(e,t)}(A,r.Component);var e,t,n=tn(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).state={embeddedLink:"",height:e.props.config.defaultSize.height,width:e.props.config.defaultSize.width},e.onChange=function(){var t=e.props.onChange,n=e.state;t(n.embeddedLink,n.height,n.width)},e.updateValue=function(t){var n,r,o;e.setState((n={},r="".concat(t.target.name),o=t.target.value,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n))},e}return e=A,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.expanded,r=t.config;if(!n&&e.expanded){var o=r.defaultSize,A=o.height,i=o.width;this.setState({embeddedLink:"",height:A,width:i})}}},{key:"rendeEmbeddedLinkModal",value:function(){var e=this.state,t=e.embeddedLink,n=e.height,r=e.width,A=this.props,i=A.config.popupClassName,a=A.doCollapse,l=A.translations;return o.a.createElement("div",{className:s()("rdw-embedded-modal",i),onClick:I},o.a.createElement("div",{className:"rdw-embedded-modal-header"},o.a.createElement("span",{className:"rdw-embedded-modal-header-option"},l["components.controls.embedded.embeddedlink"],o.a.createElement("span",{className:"rdw-embedded-modal-header-label"}))),o.a.createElement("div",{className:"rdw-embedded-modal-link-section"},o.a.createElement("span",{className:"rdw-embedded-modal-link-input-wrapper"},o.a.createElement("input",{className:"rdw-embedded-modal-link-input",placeholder:l["components.controls.embedded.enterlink"],onChange:this.updateValue,onBlur:this.updateValue,value:t,name:"embeddedLink"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),o.a.createElement("div",{className:"rdw-embedded-modal-size"},o.a.createElement("span",null,o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:n,name:"height",className:"rdw-embedded-modal-size-input",placeholder:"Height"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),o.a.createElement("span",null,o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:r,name:"width",className:"rdw-embedded-modal-size-input",placeholder:"Width"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")))),o.a.createElement("span",{className:"rdw-embedded-modal-btn-section"},o.a.createElement("button",{type:"button",className:"rdw-embedded-modal-btn",onClick:this.onChange,disabled:!t||!n||!r},l["generic.add"]),o.a.createElement("button",{type:"button",className:"rdw-embedded-modal-btn",onClick:a},l["generic.cancel"])))}},{key:"render",value:function(){var e=this.props,t=e.config,n=t.icon,r=t.className,A=t.title,i=e.expanded,a=e.onExpandEvent,l=e.translations;return o.a.createElement("div",{className:"rdw-embedded-wrapper","aria-haspopup":"true","aria-expanded":i,"aria-label":"rdw-embedded-control"},o.a.createElement(z,{className:s()(r),value:"unordered-list-item",onClick:a,title:A||l["components.controls.embedded.embedded"]},o.a.createElement("img",{src:n,alt:""})),i?this.rendeEmbeddedLinkModal():void 0)}}])&&$t(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();rn.propTypes={expanded:i.a.bool,onExpandEvent:i.a.func,onChange:i.a.func,config:i.a.object,translations:i.a.object,doCollapse:i.a.func};var on=rn;function An(e){return(An="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function an(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ln(e,t){return(ln=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function cn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=sn(e);if(t){var o=sn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===An(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function sn(e){return(sn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var fn=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ln(e,t)}(A,r.Component);var e,t,n=cn(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).state={expanded:!1},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.addEmbeddedLink=function(t,n,r){var o=e.props,A=o.editorState,i=o.onChange,l=o.config.embedCallback,c=l?l(t):t,s=A.getCurrentContent().createEntity("EMBEDDED_LINK","MUTABLE",{src:c,height:n,width:r}).getLastCreatedEntityKey();i(a.AtomicBlockUtils.insertAtomicBlock(A,s," ")),e.doCollapse()},e}return e=A,(t=[{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 e=this.props,t=e.config,n=e.translations,r=this.state.expanded,A=t.component||on;return o.a.createElement(A,{config:t,translations:n,onChange:this.addEmbeddedLink,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&an(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();fn.propTypes={editorState:i.a.object.isRequired,onChange:i.a.func.isRequired,modalHandler:i.a.object,config:i.a.object,translations:i.a.object};var dn=fn;function Cn(e){return(Cn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function un(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function pn(e,t){return(pn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function gn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=hn(e);if(t){var o=hn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Cn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function hn(e){return(hn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(28);var mn=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&pn(e,t)}(A,r.Component);var e,t,n=gn(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).onChange=function(t){(0,e.props.onChange)(t.target.innerHTML)},e}return e=A,(t=[{key:"renderEmojiModal",value:function(){var e=this,t=this.props.config,n=t.popupClassName,r=t.emojis;return o.a.createElement("div",{className:s()("rdw-emoji-modal",n),onClick:I},r.map((function(t,n){return o.a.createElement("span",{key:n,className:"rdw-emoji-icon",alt:"",onClick:e.onChange},t)})))}},{key:"render",value:function(){var e=this.props,t=e.config,n=t.icon,r=t.className,A=t.title,i=e.expanded,a=e.onExpandEvent,l=e.translations;return o.a.createElement("div",{className:"rdw-emoji-wrapper","aria-haspopup":"true","aria-label":"rdw-emoji-control","aria-expanded":i,title:A||l["components.controls.emoji.emoji"]},o.a.createElement(z,{className:s()(r),value:"unordered-list-item",onClick:a},o.a.createElement("img",{src:n,alt:""})),i?this.renderEmojiModal():void 0)}}])&&un(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();mn.propTypes={expanded:i.a.bool,onExpandEvent:i.a.func,onChange:i.a.func,config:i.a.object,translations:i.a.object};var En=mn;function bn(e){return(bn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function wn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vn(e,t){return(vn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Bn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=In(e);if(t){var o=In(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===bn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function In(e){return(In=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Mn=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&vn(e,t)}(A,r.Component);var e,t,n=Bn(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).state={expanded:!1},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.addEmoji=function(t){var n=e.props,r=n.editorState,o=n.onChange,A=a.Modifier.replaceText(r.getCurrentContent(),r.getSelection(),t,r.getCurrentInlineStyle());o(a.EditorState.push(r,A,"insert-characters")),e.doCollapse()},e}return e=A,(t=[{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 e=this.props,t=e.config,n=e.translations,r=this.state.expanded,A=t.component||En;return o.a.createElement(A,{config:t,translations:n,onChange:this.addEmoji,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onCollpase:this.closeModal})}}])&&wn(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function yn(){return o.a.createElement("div",{className:"rdw-spinner"},o.a.createElement("div",{className:"rdw-bounce1"}),o.a.createElement("div",{className:"rdw-bounce2"}),o.a.createElement("div",{className:"rdw-bounce3"}))}function Ln(e){return(Ln="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Qn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xn(e,t){return(xn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Hn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Dn(e);if(t){var o=Dn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Ln(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function Dn(e){return(Dn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Mn.propTypes={editorState:i.a.object.isRequired,onChange:i.a.func.isRequired,modalHandler:i.a.object,config:i.a.object,translations:i.a.object},n(29),n(30);var kn=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&xn(e,t)}(A,r.Component);var e,t,n=Hn(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).state={imgSrc:"",dragEnter:!1,uploadHighlighted:e.props.config.uploadEnabled&&!!e.props.config.uploadCallback,showImageLoading:!1,height:e.props.config.defaultSize.height,width:e.props.config.defaultSize.width,alt:""},e.onDragEnter=function(t){e.stopPropagation(t),e.setState({dragEnter:!0})},e.onImageDrop=function(t){var n,r;t.preventDefault(),t.stopPropagation(),e.setState({dragEnter:!1}),r=t.dataTransfer.items?(n=t.dataTransfer.items,!0):(n=t.dataTransfer.files,!1);for(var o=0;o<n.length;o+=1)if((!r||"file"===n[o].kind)&&n[o].type.match("^image/")){var A=r?n[o].getAsFile():n[o];e.uploadImage(A)}},e.showImageUploadOption=function(){e.setState({uploadHighlighted:!0})},e.addImageFromState=function(){var t=e.state,n=t.imgSrc,r=t.alt,o=e.state,A=o.height,i=o.width,a=e.props.onChange;isNaN(A)||(A+="px"),isNaN(i)||(i+="px"),a(n,A,i,r)},e.showImageURLOption=function(){e.setState({uploadHighlighted:!1})},e.toggleShowImageLoading=function(){var t=!e.state.showImageLoading;e.setState({showImageLoading:t})},e.updateValue=function(t){var n,r,o;e.setState((n={},r="".concat(t.target.name),o=t.target.value,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n))},e.selectImage=function(t){t.target.files&&0<t.target.files.length&&e.uploadImage(t.target.files[0])},e.uploadImage=function(t){e.toggleShowImageLoading(),(0,e.props.config.uploadCallback)(t).then((function(t){var n=t.data;e.setState({showImageLoading:!1,dragEnter:!1,imgSrc:n.link||n.url}),e.fileUpload=!1})).catch((function(){e.setState({showImageLoading:!1,dragEnter:!1})}))},e.fileUploadClick=function(t){e.fileUpload=!0,t.stopPropagation()},e.stopPropagation=function(t){e.fileUpload?e.fileUpload=!1:(t.preventDefault(),t.stopPropagation())},e}return e=A,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.config;e.expanded&&!this.props.expanded?this.setState({imgSrc:"",dragEnter:!1,uploadHighlighted:t.uploadEnabled&&!!t.uploadCallback,showImageLoading:!1,height:t.defaultSize.height,width:t.defaultSize.width,alt:""}):t.uploadCallback===e.config.uploadCallback&&t.uploadEnabled===e.config.uploadEnabled||this.setState({uploadHighlighted:t.uploadEnabled&&!!t.uploadCallback})}},{key:"renderAddImageModal",value:function(){var e=this.state,t=e.imgSrc,n=e.uploadHighlighted,r=e.showImageLoading,A=e.dragEnter,i=e.height,a=e.width,l=e.alt,c=this.props,f=c.config,d=f.popupClassName,C=f.uploadCallback,u=f.uploadEnabled,p=f.urlEnabled,g=f.previewImage,h=f.inputAccept,m=f.alt,E=c.doCollapse,b=c.translations;return o.a.createElement("div",{className:s()("rdw-image-modal",d),onClick:this.stopPropagation},o.a.createElement("div",{className:"rdw-image-modal-header"},u&&C&&o.a.createElement("span",{onClick:this.showImageUploadOption,className:"rdw-image-modal-header-option"},b["components.controls.image.fileUpload"],o.a.createElement("span",{className:s()("rdw-image-modal-header-label",{"rdw-image-modal-header-label-highlighted":n})})),p&&o.a.createElement("span",{onClick:this.showImageURLOption,className:"rdw-image-modal-header-option"},b["components.controls.image.byURL"],o.a.createElement("span",{className:s()("rdw-image-modal-header-label",{"rdw-image-modal-header-label-highlighted":!n})}))),n?o.a.createElement("div",{onClick:this.fileUploadClick},o.a.createElement("div",{onDragEnter:this.onDragEnter,onDragOver:this.stopPropagation,onDrop:this.onImageDrop,className:s()("rdw-image-modal-upload-option",{"rdw-image-modal-upload-option-highlighted":A})},o.a.createElement("label",{htmlFor:"file",className:"rdw-image-modal-upload-option-label"},g&&t?o.a.createElement("img",{src:t,alt:t,className:"rdw-image-modal-upload-option-image-preview"}):t||b["components.controls.image.dropFileText"])),o.a.createElement("input",{type:"file",id:"file",accept:h,onChange:this.selectImage,className:"rdw-image-modal-upload-option-input"})):o.a.createElement("div",{className:"rdw-image-modal-url-section"},o.a.createElement("input",{className:"rdw-image-modal-url-input",placeholder:b["components.controls.image.enterlink"],name:"imgSrc",onChange:this.updateValue,onBlur:this.updateValue,value:t}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),m.present&&o.a.createElement("div",{className:"rdw-image-modal-size"},o.a.createElement("span",{className:"rdw-image-modal-alt-lbl"},"Alt Text"),o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:l,name:"alt",className:"rdw-image-modal-alt-input",placeholder:"alt"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},m.mandatory&&"*")),o.a.createElement("div",{className:"rdw-image-modal-size"},"↕ ",o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:i,name:"height",className:"rdw-image-modal-size-input",placeholder:"Height"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")," ↔ ",o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:a,name:"width",className:"rdw-image-modal-size-input",placeholder:"Width"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),o.a.createElement("span",{className:"rdw-image-modal-btn-section"},o.a.createElement("button",{className:"rdw-image-modal-btn",onClick:this.addImageFromState,disabled:!t||!i||!a||m.mandatory&&!l},b["generic.add"]),o.a.createElement("button",{className:"rdw-image-modal-btn",onClick:E},b["generic.cancel"])),r?o.a.createElement("div",{className:"rdw-image-modal-spinner"},o.a.createElement(yn,null)):void 0)}},{key:"render",value:function(){var e=this.props,t=e.config,n=t.icon,r=t.className,A=t.title,i=e.expanded,a=e.onExpandEvent,l=e.translations;return o.a.createElement("div",{className:"rdw-image-wrapper","aria-haspopup":"true","aria-expanded":i,"aria-label":"rdw-image-control"},o.a.createElement(z,{className:s()(r),value:"unordered-list-item",onClick:a,title:A||l["components.controls.image.image"]},o.a.createElement("img",{src:n,alt:""})),i?this.renderAddImageModal():void 0)}}])&&Qn(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();kn.propTypes={expanded:i.a.bool,onExpandEvent:i.a.func,doCollapse:i.a.func,onChange:i.a.func,config:i.a.object,translations:i.a.object};var Vn=kn;function Zn(e){return(Zn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Nn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zn(e,t){return(zn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Pn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=On(e);if(t){var o=On(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Zn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function On(e){return(On=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Sn=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zn(e,t)}(A,r.Component);var e,t,n=Pn(A);function A(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),(t=n.call(this,e)).onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.doExpand=function(){t.setState({expanded:!0})},t.doCollapse=function(){t.setState({expanded:!1})},t.expandCollapse=function(){t.setState({expanded:t.signalExpanded}),t.signalExpanded=!1},t.addImage=function(e,n,r,o){var A=t.props,i=A.editorState,l=A.onChange,c={src:e,height:n,width:r};A.config.alt.present&&(c.alt=o);var s=i.getCurrentContent().createEntity("IMAGE","MUTABLE",c).getLastCreatedEntityKey();l(a.AtomicBlockUtils.insertAtomicBlock(i,s," ")),t.doCollapse()};var r=t.props.modalHandler;return t.state={expanded:!1},r.registerCallBack(t.expandCollapse),t}return e=A,(t=[{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state.expanded,A=t.component||Vn;return o.a.createElement(A,{config:t,translations:n,onChange:this.addImage,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&Nn(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function jn(e){var t=e.config,n=e.onChange,r=e.translations,A=t.icon,i=t.className,a=t.title;return o.a.createElement("div",{className:"rdw-remove-wrapper","aria-label":"rdw-remove-control"},o.a.createElement(z,{className:s()(i),onClick:n,title:a||r["components.controls.remove.remove"]},o.a.createElement("img",{src:A,alt:""})))}Sn.propTypes={editorState:i.a.object.isRequired,onChange:i.a.func.isRequired,modalHandler:i.a.object,config:i.a.object,translations:i.a.object};var Fn=Sn;n(31),jn.propTypes={onChange:i.a.func,config:i.a.object,translations:i.a.object};var Tn=jn;function Rn(e){return(Rn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Gn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Xn(e,t){return(Xn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Yn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Un(e);if(t){var o=Un(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Rn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function Un(e){return(Un=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Kn=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Xn(e,t)}(A,r.Component);var e,t,n=Yn(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).state={expanded:!1},e.onExpandEvent=function(){e.signalExpanded=!e.state.expanded},e.expandCollapse=function(){e.setState({expanded:e.signalExpanded}),e.signalExpanded=!1},e.removeInlineStyles=function(){var t=e.props,n=t.editorState;(0,t.onChange)(e.removeAllInlineStyles(n))},e.removeAllInlineStyles=function(e){var t=e.getCurrentContent();return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","MONOSPACE","SUPERSCRIPT","SUBSCRIPT"].forEach((function(n){t=a.Modifier.removeInlineStyle(t,e.getSelection(),n)})),v(Object(l.getSelectionCustomInlineStyle)(e,["FONTSIZE","FONTFAMILY","COLOR","BGCOLOR"]),(function(n,r){r&&(t=a.Modifier.removeInlineStyle(t,e.getSelection(),r))})),a.EditorState.push(e,t,"change-inline-style")},e.doExpand=function(){e.setState({expanded:!0})},e.doCollapse=function(){e.setState({expanded:!1})},e}return e=A,(t=[{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 e=this.props,t=e.config,n=e.translations,r=this.state.expanded,A=t.component||Tn;return o.a.createElement(A,{config:t,translations:n,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.removeInlineStyles})}}])&&Gn(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function Wn(e){return(Wn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function qn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Jn(e,t){return(Jn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _n(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=$n(e);if(t){var o=$n(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Wn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function $n(e){return($n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Kn.propTypes={onChange:i.a.func.isRequired,editorState:i.a.object.isRequired,config:i.a.object,translations:i.a.object,modalHandler:i.a.object},n(32);var er=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Jn(e,t)}(A,r.Component);var e,t,n=_n(A);function A(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).onChange=function(t){(0,e.props.onChange)(t)},e}return e=A,(t=[{key:"renderInDropDown",value:function(){var e=this.props,t=e.config,n=e.expanded,r=e.doExpand,A=e.onExpandEvent,i=e.doCollapse,a=e.currentState,l=a.undoDisabled,c=a.redoDisabled,f=e.translations,d=t.options,C=t.undo,u=t.redo,p=t.className,g=t.dropdownClassName,h=t.title;return o.a.createElement(T,{className:s()("rdw-history-dropdown",p),optionWrapperClassName:s()(g),expanded:n,doExpand:r,doCollapse:i,onExpandEvent:A,"aria-label":"rdw-history-control",title:h||f["components.controls.history.history"]},o.a.createElement("img",{src:M(t),alt:""}),0<=d.indexOf("undo")&&o.a.createElement(W,{value:"undo",onClick:this.onChange,disabled:l,className:s()("rdw-history-dropdownoption",C.className),title:C.title||f["components.controls.history.undo"]},o.a.createElement("img",{src:C.icon,alt:""})),0<=d.indexOf("redo")&&o.a.createElement(W,{value:"redo",onClick:this.onChange,disabled:c,className:s()("rdw-history-dropdownoption",u.className),title:u.title||f["components.controls.history.redo"]},o.a.createElement("img",{src:u.icon,alt:""})))}},{key:"renderInFlatList",value:function(){var e=this.props,t=e.config,n=t.options,r=t.undo,A=t.redo,i=t.className,a=e.currentState,l=a.undoDisabled,c=a.redoDisabled,f=e.translations;return o.a.createElement("div",{className:s()("rdw-history-wrapper",i),"aria-label":"rdw-history-control"},0<=n.indexOf("undo")&&o.a.createElement(z,{value:"undo",onClick:this.onChange,className:s()(r.className),disabled:l,title:r.title||f["components.controls.history.undo"]},o.a.createElement("img",{src:r.icon,alt:""})),0<=n.indexOf("redo")&&o.a.createElement(z,{value:"redo",onClick:this.onChange,className:s()(A.className),disabled:c,title:A.title||f["components.controls.history.redo"]},o.a.createElement("img",{src:A.icon,alt:""})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&qn(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();function tr(e){return(tr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function nr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rr(e,t){return(rr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function or(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ar(e);if(t){var o=Ar(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===tr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function Ar(e){return(Ar=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}er.propTypes={expanded:i.a.bool,doExpand:i.a.func,doCollapse:i.a.func,onExpandEvent:i.a.func,config:i.a.object,onChange:i.a.func,currentState:i.a.object,translations:i.a.object};var ir=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&rr(e,t)}(A,r.Component);var e,t,n=or(A);function A(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),(t=n.call(this,e)).onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.onChange=function(e){var n=t.props,r=n.editorState,o=n.onChange,A=a.EditorState[e](r);A&&o(A)},t.doExpand=function(){t.setState({expanded:!0})},t.doCollapse=function(){t.setState({expanded:!1})};var r={expanded:!(t.expandCollapse=function(){t.setState({expanded:t.signalExpanded}),t.signalExpanded=!1}),undoDisabled:!1,redoDisabled:!1},o=e.editorState,i=e.modalHandler;return o&&(r.undoDisabled=0===o.getUndoStack().size,r.redoDisabled=0===o.getRedoStack().size),t.state=r,i.registerCallBack(t.expandCollapse),t}return e=A,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t&&e.editorState!==t&&this.setState({undoDisabled:0===t.getUndoStack().size,redoDisabled:0===t.getRedoStack().size})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state,A=r.undoDisabled,i=r.redoDisabled,a=r.expanded,l=t.component||er;return o.a.createElement(l,{config:t,translations:n,currentState:{undoDisabled:A,redoDisabled:i},expanded:a,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.onChange})}}])&&nr(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();ir.propTypes={onChange:i.a.func.isRequired,editorState:i.a.object,modalHandler:i.a.object,config:i.a.object,translations:i.a.object};var ar={inline:ae,blockType:we,fontSize:Ve,fontFamily:Ye,list:ot,textAlign:gt,colorPicker:Ht,link:Jt,embedded:dn,emoji:Mn,image:Fn,remove:Kn,history:ir},lr=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,cr=/^(?:(?:https?|ftps?|mailto):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))/i;function sr(e){return String(e).replace(lr,"").match(cr)?e:"#"}function fr(e){return(fr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function dr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Cr(e,t){return(Cr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ur(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=pr(e);if(t){var o=pr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===fr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function pr(e){return(pr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function gr(e,t,n){e.findEntityRanges((function(e){var t=e.getEntity();return null!==t&&"LINK"===n.getEntity(t).getType()}),t)}function hr(e){var t,n=e.showOpenOptionOnHover;return(t=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Cr(e,t)}(i,r.Component);var e,t,A=ur(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=A.call.apply(A,[this].concat(n))).state={showPopOver:!1},e.openLink=function(){var t=e.props,n=t.entityKey,r=t.contentState.getEntity(n).getData().url,o=window.open(sr(r),"blank");o&&o.focus()},e.toggleShowPopOver=function(){var t=!e.state.showPopOver;e.setState({showPopOver:t})},e}return e=i,(t=[{key:"render",value:function(){var e=this.props,t=e.children,r=e.entityKey,A=e.contentState.getEntity(r).getData(),i=A.url,a=A.targetOption,l=this.state.showPopOver;return o.a.createElement("span",{className:"rdw-link-decorator-wrapper",onMouseEnter:this.toggleShowPopOver,onMouseLeave:this.toggleShowPopOver},o.a.createElement("a",{href:sr(i),target:a},t),l&&n?o.a.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuMDcyIDBIOC45MTVhLjkyNS45MjUgMCAwIDAgMCAxLjg0OWgyLjkyNUw2Ljk2MSA2LjcyN2EuOTE4LjkxOCAwIDAgMC0uMjcuNjU0YzAgLjI0Ny4wOTUuNDguMjcuNjU0YS45MTguOTE4IDAgMCAwIC42NTQuMjcuOTE4LjkxOCAwIDAgMCAuNjUzLS4yN2w0Ljg4LTQuODh2Mi45MjZhLjkyNS45MjUgMCAwIDAgMS44NDggMFYuOTI0QS45MjUuOTI1IDAgMCAwIDE0LjA3MiAweiIvPjxwYXRoIGQ9Ik0xMC42MjMgMTMuNDExSDEuNTg1VjQuMzcyaDYuNzk4bDEuNTg0LTEuNTg0SC43OTJBLjc5Mi43OTIgMCAwIDAgMCAzLjU4djEwLjYyNGMwIC40MzcuMzU1Ljc5Mi43OTIuNzkyaDEwLjYyNGEuNzkyLjc5MiAwIDAgMCAuNzkyLS43OTJWNS4wMjlsLTEuNTg1IDEuNTg0djYuNzk4eiIvPjwvZz48L3N2Zz4=",alt:"",onClick:this.openLink,className:"rdw-link-decorator-icon"}):void 0)}}])&&dr(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),i}()).propTypes={entityKey:i.a.string.isRequired,children:i.a.array,contentState:i.a.object},t}function mr(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}n(33),n(34);var Er=mr((function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.getMentionComponent=function(){function e(e){var n=e.entityKey,r=e.children,A=e.contentState.getEntity(n).getData(),i=A.url,a=A.value;return o.a.createElement("a",{href:i||a,className:s()("rdw-mention-link",t)},r)}var t=n.className;return e.propTypes={entityKey:i.a.number,children:i.a.array,contentState:i.a.object},e},this.getMentionDecorator=function(){return{strategy:n.findMentionEntities,component:n.getMentionComponent()}},this.className=t}));Er.prototype.findMentionEntities=function(e,t,n){e.findEntityRanges((function(e){var t=e.getEntity();return null!==t&&"MENTION"===n.getEntity(t).getType()}),t)};var br=Er;function wr(e){return(wr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function vr(e,t){return(vr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Br(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ir(e);if(t){var o=Ir(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===wr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function Ir(e){return(Ir=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Mr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yr(e,t,n){return t&&Mr(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Lr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n(35);var Qr=yr((function e(t){var n=this;Lr(this,e),this.findSuggestionEntities=function(e,t){if(n.config.getEditorState()){var r=n.config,o=r.separator,A=r.trigger,i=r.getSuggestions,a=(0,r.getEditorState)().getSelection();if(a.get("anchorKey")===e.get("key")&&a.get("anchorKey")===a.get("focusKey")){var l=e.getText(),c=(l=l.substr(0,a.get("focusOffset")===l.length-1?l.length:a.get("focusOffset")+1)).lastIndexOf(o+A),s=o+A;if((void 0===c||c<0)&&l[0]===A&&(c=0,s=A),0<=c){var f=l.substr(c+s.length,l.length);i().some((function(e){return!!e.value&&(n.config.caseSensitive?0<=e.value.indexOf(f):0<=e.value.toLowerCase().indexOf(f&&f.toLowerCase()))}))&&t(0===c?0:c+1,l.length)}}}},this.getSuggestionComponent=function(){var e,t=this.config;return(e=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&vr(e,t)}(n,r.Component);var e=Br(n);function n(){var r;Lr(this,n);for(var o=arguments.length,A=new Array(o),i=0;i<o;i++)A[i]=arguments[i];return(r=e.call.apply(e,[this].concat(A))).state={style:{left:15},activeOption:-1,showSuggestions:!0},r.onEditorKeyDown=function(e){var t=r.state.activeOption,n={};"ArrowDown"===e.key?(e.preventDefault(),t===r.filteredSuggestions.length-1?n.activeOption=0:n.activeOption=t+1):"ArrowUp"===e.key?n.activeOption=t<=0?r.filteredSuggestions.length-1:t-1:"Escape"===e.key?(n.showSuggestions=!1,E()):"Enter"===e.key&&r.addMention(),r.setState(n)},r.onOptionMouseEnter=function(e){var t=e.target.getAttribute("data-index");r.setState({activeOption:t})},r.onOptionMouseLeave=function(){r.setState({activeOption:-1})},r.setSuggestionReference=function(e){r.suggestion=e},r.setDropdownReference=function(e){r.dropdown=e},r.closeSuggestionDropdown=function(){r.setState({showSuggestions:!1})},r.filteredSuggestions=[],r.filterSuggestions=function(e){var n=e.children[0].props.text.substr(1),o=t.getSuggestions();r.filteredSuggestions=o&&o.filter((function(e){return!n||0===n.length||(t.caseSensitive?0<=e.value.indexOf(n):0<=e.value.toLowerCase().indexOf(n&&n.toLowerCase()))}))},r.addMention=function(){var e=r.state.activeOption,n=t.getEditorState(),o=t.onChange,A=t.separator,i=t.trigger,c=r.filteredSuggestions[e];c&&function(e,t,n,r,o){var A=o.value,i=o.url,c=e.getCurrentContent().createEntity("MENTION","IMMUTABLE",{text:"".concat(r).concat(A),value:A,url:i}).getLastCreatedEntityKey(),s=Object(l.getSelectedBlock)(e).getText(),f=e.getSelection().focusOffset,d=(s.lastIndexOf(n+r,f)||0)+1,C=!1;s.length===d+1&&(f=s.length)," "===s[f]&&(C=!0);var u=e.getSelection().merge({anchorOffset:d,focusOffset:f}),p=a.EditorState.acceptSelection(e,u),g=a.Modifier.replaceText(p.getCurrentContent(),u,"".concat(r).concat(A),p.getCurrentInlineStyle(),c);p=a.EditorState.push(p,g,"insert-characters"),C||(u=p.getSelection().merge({anchorOffset:d+A.length+r.length,focusOffset:d+A.length+r.length}),p=a.EditorState.acceptSelection(p,u),g=a.Modifier.insertText(p.getCurrentContent(),u," ",p.getCurrentInlineStyle(),void 0)),t(a.EditorState.push(p,g,"insert-characters"))}(n,o,A,i,c)},r}return yr(n,[{key:"componentDidMount",value:function(){var e,n,r,o=t.getWrapperRef().getBoundingClientRect(),A=this.suggestion.getBoundingClientRect(),i=this.dropdown.getBoundingClientRect();o.width<A.left-o.left+i.width?n=15:e=15,o.bottom<i.bottom&&(r=0),this.setState({style:{left:e,right:n,bottom:r}}),h.registerCallBack(this.onEditorKeyDown),m(),t.modalHandler.setSuggestionCallback(this.closeSuggestionDropdown),this.filterSuggestions(this.props)}},{key:"componentDidUpdate",value:function(e){this.props.children!==e.children&&(this.filterSuggestions(e),this.setState({showSuggestions:!0}))}},{key:"componentWillUnmount",value:function(){h.deregisterCallBack(this.onEditorKeyDown),E(),t.modalHandler.removeSuggestionCallback()}},{key:"render",value:function(){var e=this,n=this.props.children,r=this.state,A=r.activeOption,i=r.showSuggestions,a=t.dropdownClassName,l=t.optionClassName;return o.a.createElement("span",{className:"rdw-suggestion-wrapper",ref:this.setSuggestionReference,onClick:t.modalHandler.onSuggestionClick,"aria-haspopup":"true","aria-label":"rdw-suggestion-popup"},o.a.createElement("span",null,n),i&&o.a.createElement("span",{className:s()("rdw-suggestion-dropdown",a),contentEditable:"false",suppressContentEditableWarning:!0,style:this.state.style,ref:this.setDropdownReference},this.filteredSuggestions.map((function(t,n){return o.a.createElement("span",{key:n,spellCheck:!1,onClick:e.addMention,"data-index":n,onMouseEnter:e.onOptionMouseEnter,onMouseLeave:e.onOptionMouseLeave,className:s()("rdw-suggestion-option",l,{"rdw-suggestion-option-active":n===A})},t.text)}))))}}]),n}()).propTypes={children:i.a.array},e}.bind(this),this.getSuggestionDecorator=function(){return{strategy:n.findSuggestionEntities,component:n.getSuggestionComponent()}};var A=t.separator,c=t.trigger,f=t.getSuggestions,d=t.onChange,C=t.getEditorState,u=t.getWrapperRef,p=t.caseSensitive,g=t.dropdownClassName,b=t.optionClassName,w=t.modalHandler;this.config={separator:A,trigger:c,getSuggestions:f,onChange:d,getEditorState:C,getWrapperRef:u,caseSensitive:p,dropdownClassName:g,optionClassName:b,modalHandler:w}})),xr=function(e){return[new br(e.mentionClassName).getMentionDecorator(),new Qr(e).getSuggestionDecorator()]};function Hr(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}function Dr(e){var t=e.block,n=e.contentState.getEntity(t.getEntityAt(0)).getData(),r=n.src,A=n.height,i=n.width;return o.a.createElement("iframe",{height:A,width:i,src:r,frameBorder:"0",allowFullScreen:!0,title:"Wysiwyg Embedded Content"})}n(36);var kr=Hr((function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.getHashtagComponent=function(){function e(e){var n=e.children,r=n[0].props.text;return o.a.createElement("a",{href:r,className:s()("rdw-hashtag-link",t)},n)}var t=n.className;return e.propTypes={children:i.a.object},e},this.findHashtagEntities=function(e,t){for(var r=e.getText(),o=0,A=0;0<r.length&&0<=o;)if(r[0]===n.hashCharacter?(A=o=0,r=r.substr(n.hashCharacter.length)):0<=(o=r.indexOf(n.separator+n.hashCharacter))&&(r=r.substr(o+(n.separator+n.hashCharacter).length),A+=o+n.separator.length),0<=o){var i=0<=r.indexOf(n.separator)?r.indexOf(n.separator):r.length,a=r.substr(0,i);a&&0<a.length&&(t(A,A+a.length+n.hashCharacter.length),A+=n.hashCharacter.length)}},this.getHashtagDecorator=function(){return{strategy:n.findHashtagEntities,component:n.getHashtagComponent()}},this.className=t.className,this.hashCharacter=t.hashCharacter||"#",this.separator=t.separator||" "})),Vr=function(e){return new kr(e).getHashtagDecorator()};Dr.propTypes={block:i.a.object,contentState:i.a.object};var Zr=Dr;function Nr(e){return(Nr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function zr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pr(e,t){return(Pr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Or(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Sr(e);if(t){var o=Sr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Nr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function Sr(e){return(Sr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(37);var jr=function(e){var t;return(t=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Pr(e,t)}(i,r.Component);var t,n,A=Or(i);function i(){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=A.call.apply(A,[this].concat(r))).state={hovered:!1},t.setEntityAlignmentLeft=function(){t.setEntityAlignment("left")},t.setEntityAlignmentRight=function(){t.setEntityAlignment("right")},t.setEntityAlignmentCenter=function(){t.setEntityAlignment("none")},t.setEntityAlignment=function(n){var r=t.props,o=r.block,A=r.contentState,i=o.getEntityAt(0);A.mergeEntityData(i,{alignment:n}),e.onChange(a.EditorState.push(e.getEditorState(),A,"change-block-data")),t.setState({dummy:!0})},t.toggleHovered=function(){var e=!t.state.hovered;t.setState({hovered:e})},t}return t=i,(n=[{key:"renderAlignmentOptions",value:function(e){return o.a.createElement("div",{className:s()("rdw-image-alignment-options-popup",{"rdw-image-alignment-options-popup-right":"right"===e})},o.a.createElement(z,{onClick:this.setEntityAlignmentLeft,className:"rdw-image-alignment-option"},"L"),o.a.createElement(z,{onClick:this.setEntityAlignmentCenter,className:"rdw-image-alignment-option"},"C"),o.a.createElement(z,{onClick:this.setEntityAlignmentRight,className:"rdw-image-alignment-option"},"R"))}},{key:"render",value:function(){var t=this.props,n=t.block,r=t.contentState,A=this.state.hovered,i=e.isReadOnly,a=e.isImageAlignmentEnabled,l=r.getEntity(n.getEntityAt(0)).getData(),c=l.src,f=l.alignment,d=l.height,C=l.width,u=l.alt;return o.a.createElement("span",{onMouseEnter:this.toggleHovered,onMouseLeave:this.toggleHovered,className:s()("rdw-image-alignment",{"rdw-image-left":"left"===f,"rdw-image-right":"right"===f,"rdw-image-center":!f||"none"===f})},o.a.createElement("span",{className:"rdw-image-imagewrapper"},o.a.createElement("img",{src:c,alt:u,style:{height:d,width:C}}),!i()&&A&&a()?this.renderAlignmentOptions(f):void 0))}}])&&zr(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),i}()).propTypes={block:i.a.object,contentState:i.a.object},t},Fr=function(e,t){return function(n){if("function"==typeof t){var r=t(n,e,e.getEditorState);if(r)return r}if("atomic"===n.getType()){var o=e.getEditorState().getCurrentContent().getEntity(n.getEntityAt(0));if(o&&"IMAGE"===o.type)return{component:jr(e),editable:!1};if(o&&"EMBEDDED_LINK"===o.type)return{component:Zr,editable:!1}}}},Tr={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+PHBhdGggZD0iTTYuMjM2IDBjMS42NTIgMCAyLjk0LjI5OCAzLjg2Ni44OTMuOTI1LjU5NSAxLjM4OCAxLjQ4NSAxLjM4OCAyLjY2OSAwIC42MDEtLjE3MyAxLjEzOS0uNTE2IDEuNjEtLjM0My40NzQtLjg0NC44My0xLjQ5OSAxLjA2OC44NDMuMTY3IDEuNDc0LjUyMyAxLjg5NSAxLjA3MS40MTkuNTUuNjMgMS4xODMuNjMgMS45MDMgMCAxLjI0NS0uNDQ0IDIuMTg3LTEuMzMgMi44MjUtLjg4Ni42NDEtMi4xNDQuOTYxLTMuNzY5Ljk2MUgwdi0yLjE2N2gxLjQ5NFYyLjE2N0gwVjBoNi4yMzZ6TTQuMzA4IDUuNDQ2aDIuMDI0Yy43NTIgMCAxLjMzLS4xNDMgMS43MzQtLjQzLjQwNS0uMjg1LjYwOC0uNzAxLjYwOC0xLjI1IDAtLjYtLjIwNC0xLjA0NC0uNjEyLTEuMzMtLjQwOC0uMjg2LTEuMDE2LS40MjctMS44MjYtLjQyN0g0LjMwOHYzLjQzN3ptMCAxLjgwNFYxMWgyLjU5M2MuNzQ3IDAgMS4zMTQtLjE1MiAxLjcwNy0uNDUyLjM5LS4zLjU4OC0uNzQ1LjU4OC0xLjMzNCAwLS42MzYtLjE2OC0xLjEyNC0uNS0xLjQ2LS4zMzYtLjMzNS0uODY0LS41MDQtMS41ODItLjUwNEg0LjMwOHoiIGZpbGw9IiMwMDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==",className:void 0,title:void 0},italic:{icon:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZD0iTTcgM1YyaDR2MUg5Ljc1M2wtMyAxMEg4djFINHYtMWgxLjI0N2wzLTEwSDd6Ii8+PC9zdmc+",className:void 0,title:void 0},underline:{icon:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZD0iTTYuMDQ1IDJ2Ljk5Mkw0Ljc4NSAzdjUuMTcyYzAgLjg1OS4yNDMgMS41MTIuNzI3IDEuOTU3czEuMTI0LjY2OCAxLjkxOC42NjhjLjgzNiAwIDEuNTA5LS4yMjEgMi4wMTktLjY2NC41MTEtLjQ0Mi43NjYtMS4wOTYuNzY2LTEuOTYxVjNsLTEuMjYtLjAwOFYySDEzdi45OTJMMTEuNzM5IDN2NS4xNzJjMCAxLjIzNC0uMzk4IDIuMTgxLTEuMTk1IDIuODQtLjc5Ny42NTktMS44MzUuOTg4LTMuMTE0Ljk4OC0xLjI0MiAwLTIuMjQ4LS4zMjktMy4wMTctLjk4OC0uNzY5LS42NTktMS4xNTItMS42MDUtMS4xNTItMi44NFYzTDIgMi45OTJWMmg0LjA0NXpNMiAxM2gxMXYxSDJ6Ii8+PC9zdmc+",className:void 0,title:void 0},strikethrough:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNC4wNCA1Ljk1NGg2LjIxNWE3LjQxMiA3LjQxMiAwIDAgMC0uNzk1LS40MzggMTEuOTA3IDExLjkwNyAwIDAgMC0xLjQ0Ny0uNTU3Yy0xLjE4OC0uMzQ4LTEuOTY2LS43MTEtMi4zMzQtMS4wODgtLjM2OC0uMzc3LS41NTItLjc3LS41NTItMS4xODEgMC0uNDk1LjE4Ny0uOTA2LjU2LTEuMjMyLjM4LS4zMzEuODg3LS40OTcgMS41MjMtLjQ5Ny42OCAwIDEuMjY2LjI1NSAxLjc1Ny43NjcuMjk1LjMxNS41ODIuODkxLjg2MSAxLjczbC4xMTcuMDE2LjcwMy4wNS4xLS4wMjRjLjAyOC0uMTUyLjA0Mi0uMjc5LjA0Mi0uMzggMC0uMzM3LS4wMzktLjg1Mi0uMTE3LTEuNTQ0YTkuMzc0IDkuMzc0IDAgMCAwLS4xNzYtLjk5NUM5Ljg4LjM3OSA5LjM4NS4yNDQgOS4wMTcuMTc2IDguMzY1LjA3IDcuODk5LjAxNiA3LjYyLjAxNmMtMS40NSAwLTIuNTQ1LjM1Ny0zLjI4NyAxLjA3MS0uNzQ3LjcyLTEuMTIgMS41ODktMS4xMiAyLjYwNyAwIC41MTEuMTMzIDEuMDQuNCAxLjU4Ni4xMjkuMjUzLjI3LjQ3OC40MjcuNjc0ek04LjI4IDguMTE0Yy41NzUuMjM2Ljk1Ny40MzYgMS4xNDcuNTk5LjQ1MS40MS42NzcuODUyLjY3NyAxLjMyNCAwIC4zODMtLjEzLjc0NS0uMzkzIDEuMDg4LS4yNS4zMzgtLjU5LjU4LTEuMDIuNzI2YTMuNDE2IDMuNDE2IDAgMCAxLTEuMTYzLjIyOGMtLjQwNyAwLS43NzUtLjA2Mi0xLjEwNC0uMTg2YTIuNjk2IDIuNjk2IDAgMCAxLS44NzgtLjQ4IDMuMTMzIDMuMTMzIDAgMCAxLS42Ny0uNzk0IDEuNTI3IDEuNTI3IDAgMCAxLS4xMDQtLjIyNyA1Ny41MjMgNTcuNTIzIDAgMCAwLS4xODgtLjQ3MyAyMS4zNzEgMjEuMzcxIDAgMCAwLS4yNTEtLjU5OWwtLjg1My4wMTd2LjM3MWwtLjAxNy4zMTNhOS45MiA5LjkyIDAgMCAwIDAgLjU3M2MuMDExLjI3LjAxNy43MDkuMDE3IDEuMzE2di4xMWMwIC4wNzkuMDIyLjE0LjA2Ny4xODUuMDgzLjA2OC4yODQuMTQ3LjYwMi4yMzdsMS4xNy4zMzdjLjQ1Mi4xMy45OTYuMTk0IDEuNjMyLjE5NC42ODYgMCAxLjI1Mi0uMDU5IDEuNjk4LS4xNzdhNC42OTQgNC42OTQgMCAwIDAgMS4yOC0uNTU3Yy40MDEtLjI1OS43MDUtLjQ4Ni45MTEtLjY4My4yNjgtLjI3Ni40NjYtLjU2OC41OTQtLjg3OGE0Ljc0IDQuNzQgMCAwIDAgLjM0My0xLjc4OGMwLS4yOTgtLjAyLS41NTctLjA1OC0uNzc2SDguMjgxek0xNC45MTQgNi41N2EuMjYuMjYgMCAwIDAtLjE5My0uMDc2SC4yNjhhLjI2LjI2IDAgMCAwLS4xOTMuMDc2LjI2NC4yNjQgMCAwIDAtLjA3NS4xOTR2LjU0YzAgLjA3OS4wMjUuMTQzLjA3NS4xOTRhLjI2LjI2IDAgMCAwIC4xOTMuMDc2SDE0LjcyYS4yNi4yNiAwIDAgMCAuMTkzLS4wNzYuMjY0LjI2NCAwIDAgMCAuMDc1LS4xOTR2LS41NGEuMjY0LjI2NCAwIDAgMC0uMDc1LS4xOTR6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},monospace:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzQ0NCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMS4wMjEgMi45MDZjLjE4NiAxLjIxOS4zNzIgMS41LjM3MiAyLjcxOUMxLjM5MyA2LjM3NSAwIDcuMDMxIDAgNy4wMzF2LjkzOHMxLjM5My42NTYgMS4zOTMgMS40MDZjMCAxLjIxOS0uMTg2IDEuNS0uMzcyIDIuNzE5Qy43NDMgMTQuMDYzIDEuNzY0IDE1IDIuNjkzIDE1aDEuOTV2LTEuODc1cy0xLjY3Mi4xODgtMS42NzItLjkzOGMwLS44NDMuMTg2LS44NDMuMzcyLTIuNzE4LjA5My0uODQ0LS40NjQtMS41LTEuMDIyLTEuOTY5LjU1OC0uNDY5IDEuMTE1LTEuMDMxIDEuMDIyLTEuODc1QzMuMDY0IDMuNzUgMi45NyAzLjc1IDIuOTcgMi45MDZjMC0xLjEyNSAxLjY3Mi0xLjAzMSAxLjY3Mi0xLjAzMVYwaC0xLjk1QzEuNjcgMCAuNzQzLjkzOCAxLjAyIDIuOTA2ek0xMS45NzkgMi45MDZjLS4xODYgMS4yMTktLjM3MiAxLjUtLjM3MiAyLjcxOSAwIC43NSAxLjM5MyAxLjQwNiAxLjM5MyAxLjQwNnYuOTM4cy0xLjM5My42NTYtMS4zOTMgMS40MDZjMCAxLjIxOS4xODYgMS41LjM3MiAyLjcxOS4yNzggMS45NjktLjc0MyAyLjkwNi0xLjY3MiAyLjkwNmgtMS45NXYtMS44NzVzMS42NzIuMTg4IDEuNjcyLS45MzhjMC0uODQzLS4xODYtLjg0My0uMzcyLTIuNzE4LS4wOTMtLjg0NC40NjQtMS41IDEuMDIyLTEuOTY5LS41NTgtLjQ2OS0xLjExNS0xLjAzMS0xLjAyMi0xLjg3NS4xODYtMS44NzUuMzcyLTEuODc1LjM3Mi0yLjcxOSAwLTEuMTI1LTEuNjcyLTEuMDMxLTEuNjcyLTEuMDMxVjBoMS45NWMxLjAyMiAwIDEuOTUuOTM4IDEuNjcyIDIuOTA2eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},superscript:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcuMzA1IDEwLjE2NUwxMS44NjUgMTVIOS4wNTdsLTMuMTkyLTMuNTM2TDIuNzQ2IDE1SDBsNC41MjMtNC44MzVMLjIxOCA1LjYwM2gyLjc3TDUuOTg2IDguOTEgOS4wMSA1LjYwM2gyLjY0OWwtNC4zNTQgNC41NjJ6bTYuMjM0LTMuMjY5bDEuODc5LTEuMzA2Yy42NC0uNDE2IDEuMDYyLS44MDEgMS4yNjQtMS4xNTcuMjAxLS4zNTYuMzAyLS43MzguMzAyLTEuMTQ4IDAtLjY2OS0uMjM3LTEuMjEtLjcxLTEuNjItLjQ3NC0uNDExLTEuMDk3LS42MTctMS44NjgtLjYxNy0uNzQ0IDAtMS4zNC4yMDgtMS43ODUuNjI0LS40NDcuNDE2LS42NyAxLjA0My0uNjcgMS44ODFoMS40MzZjMC0uNS4wOTQtLjg0Ni4yODEtMS4wMzguMTg4LS4xOTEuNDQ1LS4yODcuNzcyLS4yODdzLjU4NS4wOTcuNzc3LjI5MmMuMTkuMTk1LjI4Ni40MzcuMjg2LjcyNiAwIC4yOS0uMDg5LjU1LS4yNjYuNzg1cy0uNjcuNjI4LTEuNDc5IDEuMTg0Yy0uNjkxLjQ3Ny0xLjYyNy45MjctMS45MDggMS4zNWwuMDE0IDEuNTY5SDE3VjYuODk2aC0zLjQ2MXoiLz48L3N2Zz4=",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:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMS43MiAzLjQyN2MuOTUxIDAgMS43MjItLjc2OCAxLjcyMi0xLjcwOFMyLjY3LjAxIDEuNzIuMDFDLjc3LjAwOCAwIC43NzUgMCAxLjcxNWMwIC45NC43NzQgMS43MTEgMS43MiAxLjcxMXptMC0yLjYyNWMuNTEgMCAuOTIyLjQxMi45MjIuOTE0YS45Mi45MiAwIDAgMS0xLjg0MiAwIC45Mi45MiAwIDAgMSAuOTItLjkxNHpNMS43MiA4LjcwM2MuOTUxIDAgMS43MjItLjc2OCAxLjcyMi0xLjcwOFMyLjY3IDUuMjg3IDEuNzIgNS4yODdDLjc3IDUuMjg3IDAgNi4wNTIgMCA2Ljk5NXMuNzc0IDEuNzA4IDEuNzIgMS43MDh6bTAtMi42MjJjLjUxIDAgLjkyMi40MTIuOTIyLjkxNGEuOTIuOTIgMCAwIDEtMS44NDIgMGMwLS41MDUuNDE1LS45MTQuOTItLjkxNHpNMS43MiAxMy45ODJjLjk1MSAwIDEuNzIyLS43NjggMS43MjItMS43MDggMC0uOTQzLS43NzQtMS43MDgtMS43MjEtMS43MDgtLjk0NyAwLTEuNzIxLjc2OC0xLjcyMSAxLjcwOHMuNzc0IDEuNzA4IDEuNzIgMS43MDh6bTAtMi42MjVjLjUxIDAgLjkyMi40MTIuOTIyLjkxNGEuOTIuOTIgMCAxIDEtMS44NDIgMCAuOTIuOTIgMCAwIDEgLjkyLS45MTR6TTUuNzQ0IDIuMTE1aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOTlINS43NDRhLjQuNCAwIDAgMC0uNDAyLjM5OS40LjQgMCAwIDAgLjQwMi4zOTl6TTUuNzQ0IDcuMzk0aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOThINS43NDRhLjQuNCAwIDAgMC0uNDAyLjM5OC40LjQgMCAwIDAgLjQwMi4zOTl6TTUuNzQ0IDEyLjY3aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOTlINS43NDRhLjQuNCAwIDAgMC0uNDAyLjQuNC40IDAgMCAwIC40MDIuMzk4eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},ordered:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNC4yMDIgMS40NjZoOC4xNWMuMzM4IDAgLjYxMi0uMzIyLjYxMi0uNzIgMC0uMzk3LS4yNzQtLjcyLS42MTItLjcyaC04LjE1Yy0uMzM4IDAtLjYxMS4zMjMtLjYxMS43MiAwIC4zOTguMjczLjcyLjYxLjcyek0xMi4zNTIgNS43ODNoLTguMTVjLS4zMzggMC0uNjExLjMyMi0uNjExLjcyIDAgLjM5Ny4yNzMuNzIuNjEuNzJoOC4xNTFjLjMzOCAwIC42MTItLjMyMy42MTItLjcyIDAtLjM5OC0uMjc0LS43Mi0uNjEyLS43MnpNMTIuMzUyIDExLjU0aC04LjE1Yy0uMzM4IDAtLjYxMS4zMjItLjYxMS43MiAwIC4zOTYuMjczLjcxOS42MS43MTloOC4xNTFjLjMzOCAwIC42MTItLjMyMy42MTItLjcyIDAtLjM5Ny0uMjc0LS43Mi0uNjEyLS43MnpNLjc2NyAxLjI0OXYxLjgwMmMwIC4xOTUuMTM2LjM0My4zMTUuMzQzLjE3NiAwIC4zMTUtLjE1LjMxNS0uMzQzVi4zNTZjMC0uMTktLjEzMy0uMzM5LS4zMDItLjMzOS0uMTQ4IDAtLjIyMy4xMTgtLjI0Ny4xNTZhLjIyOC4yMjggMCAwIDAtLjAwMy4wMDVMLjU3OS42MjFhLjQ3NC40NzQgMCAwIDAtLjA5OC4yNzNjMCAuMTk0LjEyOC4zNTEuMjg2LjM1NXpNLjM1MiA4LjE5SDEuNTVjLjE1NyAwIC4yODUtLjE2Mi4yODUtLjM2MiAwLS4xOTgtLjEyOC0uMzU5LS4yODUtLjM1OUguNjh2LS4wMDZjMC0uMTA3LjIxLS4yODEuMzc4LS40MjIuMzM2LS4yNzguNzUzLS42MjUuNzUzLTEuMjI2IDAtLjU3LS4zNzYtMS0uODc0LTEtLjQ3NyAwLS44MzYuMzg1LS44MzYuODk3IDAgLjI5Ny4xNjQuNDAyLjMwNS40MDIuMiAwIC4zMjEtLjE3Ni4zMjEtLjM0NiAwLS4xMDYuMDIzLS4yMjguMjA0LS4yMjguMjQzIDAgLjI1LjI1NC4yNS4yODMgMCAuMjI4LS4yNTIuNDQyLS40OTUuNjQ5LS4zMDEuMjU1LS42NDIuNTQ0LS42NDIuOTkydi4zODRjMCAuMjA1LjE1OS4zNDMuMzA4LjM0M3pNMS43NyAxMC41NDNjMC0uNTkyLS4yOTYtLjkzMS0uODE0LS45MzEtLjY4IDAtLjg1OS41Ny0uODU5Ljg3MiAwIC4zNTEuMjIyLjM5LjMxOC4zOS4xODUgMCAuMzEtLjE0OC4zMS0uMzY2IDAtLjA4NC4wMjYtLjE4MS4yMjQtLjE4MS4xNDIgMCAuMi4wMjQuMi4yNjcgMCAuMjM3LS4wNDMuMjYzLS4yMTMuMjYzLS4xNjQgMC0uMjg4LjE1Mi0uMjg4LjM1NCAwIC4yLjEyNS4zNS4yOTEuMzUuMjI1IDAgLjI3LjEwOC4yNy4yODN2LjA3NWMwIC4yOTQtLjA5Ny4zNS0uMjc3LjM1LS4yNDggMC0uMjY3LS4xNS0uMjY3LS4xOTcgMC0uMTc0LS4wOTgtLjM1LS4zMTctLjM1LS4xOTIgMC0uMzA3LjE0MS0uMzA3LjM3OCAwIC40My4zMTMuODg4Ljg5NS44ODguNTY0IDAgLjkwMS0uNC45MDEtMS4wN3YtLjA3NGMwLS4yNzQtLjA3NC0uNTAyLS4yMTQtLjY2Ni4wOTYtLjE2My4xNDgtLjM4LjE0OC0uNjM1eiIvPjwvZz48L3N2Zz4=",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+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuNTU2IDE0Ljg4N0gzLjM4OGEuMzI2LjMyNiAwIDAgMSAwLS42NTJoOC4xNjdhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42MTggMTAuMTYySC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUzaDE0LjI5MmEuMzI2LjMyNiAwIDAgMSAwIC42NTN6TTExLjU1NiA1LjQzNUgzLjM4OGEuMzI2LjMyNiAwIDAgMSAwLS42NTJoOC4xNjdhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42MTguNzA5SC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUyaDE0LjI5MmEuMzI2LjMyNiAwIDAgMSAwIC42NTJ6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},right:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNjE4IDE0Ljg4N0g2LjQ1YS4zMjYuMzI2IDAgMCAxIDAtLjY1Mmg4LjE2N2EuMzI2LjMyNiAwIDAgMSAwIC42NTJ6TTE0LjYxOCAxMC4xNjJILjMyNmEuMzI2LjMyNiAwIDAgMSAwLS42NTNoMTQuMjkyYS4zMjYuMzI2IDAgMCAxIDAgLjY1M3pNMTQuNjE4IDUuNDM1SDYuNDVhLjMyNi4zMjYgMCAwIDEgMC0uNjUyaDguMTY3YS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjE4LjcwOUguMzI2YS4zMjYuMzI2IDAgMCAxIDAtLjY1MmgxNC4yOTJhLjMyNi4zMjYgMCAwIDEgMCAuNjUyeiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},justify:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNjIgMTQuODg4SC4zMjVhLjMyNi4zMjYgMCAwIDEgMC0uNjUySDE0LjYyYS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjIgMTAuMTYySC4zMjVhLjMyNi4zMjYgMCAwIDEgMC0uNjUySDE0LjYyYS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjIgNS40MzZILjMyNWEuMzI2LjMyNiAwIDAgMSAwLS42NTJIMTQuNjJhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42Mi43MUguMzI1YS4zMjYuMzI2IDAgMCAxIDAtLjY1M0gxNC42MmEuMzI2LjMyNiAwIDAgMSAwIC42NTN6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},title:void 0},colorPicker:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNDA2LjU4NWExLjk5OCAxLjk5OCAwIDAgMC0yLjgyNSAwbC0uNTQuNTRhLjc0MS43NDEgMCAxIDAtMS4wNDggMS4wNDhsLjE3NS4xNzUtNS44MjYgNS44MjUtMi4wMjIgMi4wMjNhLjkxLjkxIDAgMCAwLS4yNjYuNjAybC0uMDA1LjEwOHYuMDAybC0uMDgxIDEuODI5YS4zMDIuMzAyIDAgMCAwIC4zMDIuMzE2aC4wMTNsLjk3LS4wNDQuNTkyLS4wMjYuMjY4LS4wMTJjLjI5Ny0uMDEzLjU3OS0uMTM3Ljc5LS4zNDdsNy43Ny03Ljc3LjE0Ni4xNDRhLjc0Ljc0IDAgMCAwIDEuMDQ4IDBjLjI5LS4yOS4yOS0uNzU5IDAtMS4wNDhsLjU0LS41NGMuNzgtLjc4Ljc4LTIuMDQ0IDAtMi44MjV6TTguNzk1IDcuMzMzbC0yLjczLjUxNSA0LjQ1Mi00LjQ1MiAxLjEwOCAxLjEwNy0yLjgzIDIuODN6TTIuMDggMTMuNjczYy0xLjE0OCAwLTIuMDguMjk1LTIuMDguNjYgMCAuMzYzLjkzMi42NTggMi4wOC42NTggMS4xNSAwIDIuMDgtLjI5NCAyLjA4LS42NTkgMC0uMzY0LS45My0uNjU5LTIuMDgtLjY1OXoiLz48L2c+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+PHBhdGggZD0iTTEzLjk2Ny45NUEzLjIyNiAzLjIyNiAwIDAgMCAxMS42Ny4wMDJjLS44NyAwLTEuNjg2LjMzNy0yLjI5Ny45NDhMNy4xMDUgMy4yMThBMy4yNDcgMy4yNDcgMCAwIDAgNi4yNCA2LjI0YTMuMjI1IDMuMjI1IDAgMCAwLTMuMDIyLjg2NUwuOTUgOS4zNzNhMy4yNTMgMy4yNTMgMCAwIDAgMCA0LjU5NCAzLjIyNiAzLjIyNiAwIDAgMCAyLjI5Ny45NDhjLjg3IDAgMS42ODYtLjMzNiAyLjI5OC0uOTQ4TDcuODEyIDExLjdhMy4yNDcgMy4yNDcgMCAwIDAgLjg2NS0zLjAyMyAzLjIyNSAzLjIyNSAwIDAgMCAzLjAyMi0uODY1bDIuMjY4LTIuMjY3YTMuMjUyIDMuMjUyIDAgMCAwIDAtNC41OTV6TTcuMTA1IDEwLjk5M0w0LjgzNyAxMy4yNmEyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LjY1NSAyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LS42NTUgMi4yNTIgMi4yNTIgMCAwIDEgMC0zLjE4bDIuMjY4LTIuMjY4YTIuMjMyIDIuMjMyIDAgMCAxIDEuNTktLjY1NWMuNDMgMCAuODQxLjEyIDEuMTk1LjM0M0w0Ljc3MiA5LjQzOGEuNS41IDAgMSAwIC43MDcuNzA3bDEuOTM5LTEuOTM4Yy41NDUuODY4LjQ0MiAyLjAzLS4zMTMgMi43ODV6bTYuMTU1LTYuMTU1bC0yLjI2OCAyLjI2N2EyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LjY1NWMtLjQzMSAwLS44NDEtLjEyLTEuMTk1LS4zNDNsMS45MzgtMS45MzhhLjUuNSAwIDEgMC0uNzA3LS43MDdMNy40OTkgNi43MWEyLjI1MiAyLjI1MiAwIDAgMSAuMzEzLTIuNzg1bDIuMjY3LTIuMjY4YTIuMjMzIDIuMjMzIDAgMCAxIDEuNTktLjY1NSAyLjIzMyAyLjIzMyAwIDAgMSAyLjI0NiAyLjI0NWMwIC42MDMtLjIzMiAxLjE2OC0uNjU1IDEuNTl6IiBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=",className:void 0,title:void 0},unlink:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTMuOTU2IDEuMDM3YTMuNTUgMy41NSAwIDAgMC01LjAxNCAwTDYuNDM2IDMuNTQ0YS41NDUuNTQ1IDAgMSAwIC43Ny43N2wyLjUwOC0yLjUwNmEyLjQzOCAyLjQzOCAwIDAgMSAxLjczNS0uNzE1Yy42NTggMCAxLjI3NS4yNTQgMS43MzYuNzE1LjQ2LjQ2MS43MTUgMS4wNzguNzE1IDEuNzM2IDAgLjY1OC0uMjU0IDEuMjc0LS43MTUgMS43MzVMOS45MDcgOC41NThhMi40NTggMi40NTggMCAwIDEtMy40NzIgMCAuNTQ1LjU0NSAwIDEgMC0uNzcxLjc3MSAzLjUzNCAzLjUzNCAwIDAgMCAyLjUwNyAxLjAzN2MuOTA4IDAgMS44MTYtLjM0NiAyLjUwNy0xLjAzN2wzLjI3OC0zLjI3OGEzLjUyIDMuNTIgMCAwIDAgMS4wMzUtMi41MDdjMC0uOTUtLjM2Ny0xLjg0LTEuMDM1LTIuNTA3eiIvPjxwYXRoIGQ9Ik03LjQgMTEuMDY1bC0yLjEyMiAyLjEyYTIuNDM3IDIuNDM3IDAgMCAxLTEuNzM1LjcxNiAyLjQzNyAyLjQzNyAwIDAgMS0xLjczNi0uNzE1IDIuNDU3IDIuNDU3IDAgMCAxIDAtMy40NzFsMy4wODYtMy4wODZhMi40MzggMi40MzggMCAwIDEgMS43MzUtLjcxNWMuNjU4IDAgMS4yNzUuMjU0IDEuNzM2LjcxNWEuNTQ1LjU0NSAwIDEgMCAuNzcxLS43NzEgMy41NSAzLjU1IDAgMCAwLTUuMDE0IDBMMS4wMzYgOC45NDRBMy41MiAzLjUyIDAgMCAwIDAgMTEuNDVjMCAuOTUuMzY3IDEuODQgMS4wMzUgMi41MDdhMy41MiAzLjUyIDAgMCAwIDIuNTA2IDEuMDM1Yy45NSAwIDEuODQtLjM2OCAyLjUwNy0xLjAzNWwyLjEyMi0yLjEyMWEuNTQ1LjU0NSAwIDAgMC0uNzcxLS43NzF6TTkuMjc0IDEyLjAwMmEuNTQ2LjU0NiAwIDAgMC0uNTQ2LjU0NXYxLjYzN2EuNTQ2LjU0NiAwIDAgMCAxLjA5MSAwdi0xLjYzN2EuNTQ1LjU0NSAwIDAgMC0uNTQ1LS41NDV6TTExLjIzIDExLjYxNmEuNTQ1LjU0NSAwIDEgMC0uNzcyLjc3MmwxLjE1NyAxLjE1NmEuNTQzLjU0MyAwIDAgMCAuNzcxIDAgLjU0NS41NDUgMCAwIDAgMC0uNzdsLTEuMTU2LTEuMTU4ek0xMi41MzcgOS44MkgxMC45YS41NDYuNTQ2IDAgMCAwIDAgMS4wOTFoMS42MzdhLjU0Ni41NDYgMCAwIDAgMC0xLjA5ek00LjkxIDMuNTQ3YS41NDYuNTQ2IDAgMCAwIC41NDUtLjU0NVYxLjM2NmEuNTQ2LjU0NiAwIDAgMC0xLjA5IDB2MS42MzZjMCAuMzAxLjI0NC41NDUuNTQ1LjU0NXpNMi44ODggMy45MzNhLjU0My41NDMgMCAwIDAgLjc3MSAwIC41NDUuNTQ1IDAgMCAwIDAtLjc3MUwyLjUwMiAyLjAwNWEuNTQ1LjU0NSAwIDEgMC0uNzcxLjc3bDEuMTU3IDEuMTU4ek0xLjYyOCA1LjczaDEuNjM2YS41NDYuNTQ2IDAgMCAwIDAtMS4wOTJIMS42MjhhLjU0Ni41NDYgMCAwIDAgMCAxLjA5MXoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},linkCallback:void 0},emoji:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTciIHZpZXdCb3g9IjE1LjcyOSAyMi4wODIgMTcgMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTI5LjcwOCAyNS4xMDRjLTMuMDIxLTMuMDIyLTcuOTM3LTMuMDIyLTEwLjk1OCAwLTMuMDIxIDMuMDItMy4wMiA3LjkzNiAwIDEwLjk1OCAzLjAyMSAzLjAyIDcuOTM3IDMuMDIgMTAuOTU4LS4wMDEgMy4wMi0zLjAyMSAzLjAyLTcuOTM2IDAtMTAuOTU3em0tLjg0NSAxMC4xMTJhNi41NiA2LjU2IDAgMCAxLTkuMjY4IDAgNi41NiA2LjU2IDAgMCAxIDAtOS4yNjcgNi41NiA2LjU2IDAgMCAxIDkuMjY4IDAgNi41NiA2LjU2IDAgMCAxIDAgOS4yNjd6bS03LjUyNC02LjczYS45MDYuOTA2IDAgMSAxIDEuODExIDAgLjkwNi45MDYgMCAwIDEtMS44MTEgMHptNC4xMDYgMGEuOTA2LjkwNiAwIDEgMSAxLjgxMiAwIC45MDYuOTA2IDAgMCAxLTEuODEyIDB6bTIuMTQxIDMuNzA4Yy0uNTYxIDEuMjk4LTEuODc1IDIuMTM3LTMuMzQ4IDIuMTM3LTEuNTA1IDAtMi44MjctLjg0My0zLjM2OS0yLjE0N2EuNDM4LjQzOCAwIDAgMSAuODEtLjMzNmMuNDA1Ljk3NiAxLjQxIDEuNjA3IDIuNTU5IDEuNjA3IDEuMTIzIDAgMi4xMjEtLjYzMSAyLjU0NC0xLjYwOGEuNDM4LjQzOCAwIDAgMSAuODA0LjM0N3oiLz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,emojis:["😀","😁","😂","😃","😉","😋","😎","😍","😗","🤗","🤔","😣","😫","😴","😌","🤓","😛","😜","😠","😇","😷","😈","👻","😺","😸","😹","😻","😼","😽","🙀","🙈","🙉","🙊","👼","👮","🕵","💂","👳","🎅","👸","👰","👲","🙍","🙇","🚶","🏃","💃","⛷","🏂","🏌","🏄","🚣","🏊","⛹","🏋","🚴","👫","💪","👈","👉","👆","🖕","👇","🖖","🤘","🖐","👌","👍","👎","✊","👊","👏","🙌","🙏","🐵","🐶","🐇","🐥","🐸","🐌","🐛","🐜","🐝","🍉","🍄","🍔","🍤","🍨","🍪","🎂","🍰","🍾","🍷","🍸","🍺","🌍","🚑","⏰","🌙","🌝","🌞","⭐","🌟","🌠","🌨","🌩","⛄","🔥","🎄","🎈","🎉","🎊","🎁","🎗","🏀","🏈","🎲","🔇","🔈","📣","🔔","🎵","🎷","💰","🖊","📅","✅","❎","💯"],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,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNzQxIDBILjI2Qy4xMTYgMCAwIC4xMzYgMCAuMzA0djEzLjM5MmMwIC4xNjguMTE2LjMwNC4yNTkuMzA0SDE0Ljc0Yy4xNDMgMCAuMjU5LS4xMzYuMjU5LS4zMDRWLjMwNEMxNSAuMTM2IDE0Ljg4NCAwIDE0Ljc0MSAwem0tLjI1OCAxMy4zOTFILjUxN1YuNjFoMTMuOTY2VjEzLjM5eiIvPjxwYXRoIGQ9Ik00LjEzOCA2LjczOGMuNzk0IDAgMS40NC0uNzYgMS40NC0xLjY5NXMtLjY0Ni0xLjY5NS0xLjQ0LTEuNjk1Yy0uNzk0IDAtMS40NC43Ni0xLjQ0IDEuNjk1IDAgLjkzNC42NDYgMS42OTUgMS40NCAxLjY5NXptMC0yLjc4MWMuNTA5IDAgLjkyMy40ODcuOTIzIDEuMDg2IDAgLjU5OC0uNDE0IDEuMDg2LS45MjMgMS4wODYtLjUwOSAwLS45MjMtLjQ4Ny0uOTIzLTEuMDg2IDAtLjU5OS40MTQtMS4wODYuOTIzLTEuMDg2ek0xLjgxIDEyLjE3NGMuMDYgMCAuMTIyLS4wMjUuMTcxLS4wNzZMNi4yIDcuNzI4bDIuNjY0IDMuMTM0YS4yMzIuMjMyIDAgMCAwIC4zNjYgMCAuMzQzLjM0MyAwIDAgMCAwLS40M0w3Ljk4NyA4Ljk2OWwyLjM3NC0zLjA2IDIuOTEyIDMuMTQyYy4xMDYuMTEzLjI3LjEwNS4zNjYtLjAyYS4zNDMuMzQzIDAgMCAwLS4wMTYtLjQzbC0zLjEwNC0zLjM0N2EuMjQ0LjI0NCAwIDAgMC0uMTg2LS4wOC4yNDUuMjQ1IDAgMCAwLS4xOC4xTDcuNjIyIDguNTM3IDYuMzk0IDcuMDk0YS4yMzIuMjMyIDAgMCAwLS4zNTQtLjAxM2wtNC40IDQuNTZhLjM0My4zNDMgMCAwIDAtLjAyNC40My4yNDMuMjQzIDAgMCAwIC4xOTQuMTAzeiIvPjwvZz48L3N2Zz4=",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}},Rr={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.controls.link.linkTarget":"Link Target","components.controls.link.linkTargetOption":"Open link in new window","components.controls.link.link":"Link","components.controls.link.unlink":"Unlink","components.controls.list.list":"List","components.controls.list.unordered":"Unordered","components.controls.list.ordered":"Ordered","components.controls.list.indent":"Indent","components.controls.list.outdent":"Outdent","components.controls.remove.remove":"Remove","components.controls.textalign.textalign":"Text Align","components.controls.textalign.left":"Left","components.controls.textalign.center":"Center","components.controls.textalign.right":"Right","components.controls.textalign.justify":"Justify"},fr:{"generic.add":"Ok","generic.cancel":"Annuler","components.controls.blocktype.h1":"Titre 1","components.controls.blocktype.h2":"Titre 2","components.controls.blocktype.h3":"Titre 3","components.controls.blocktype.h4":"Titre 4","components.controls.blocktype.h5":"Titre 5","components.controls.blocktype.h6":"Titre 6","components.controls.blocktype.blockquote":"Citation","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Type bloc","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Palette de couleur","components.controls.colorpicker.text":"Texte","components.controls.colorpicker.background":"Fond","components.controls.embedded.embedded":"Embedded","components.controls.embedded.embeddedlink":"Lien iFrame","components.controls.embedded.enterlink":"Entrer le lien","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Police","components.controls.fontsize.fontsize":"Taille de police","components.controls.history.history":"Historique","components.controls.history.undo":"Précédent","components.controls.history.redo":"Suivant","components.controls.image.image":"Image","components.controls.image.fileUpload":"Téléchargement","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Glisser une image ou cliquer pour télécharger","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être","components.controls.link.link":"Lier","components.controls.link.unlink":"Délier","components.controls.list.list":"Liste","components.controls.list.unordered":"Désordonnée","components.controls.list.ordered":"Ordonnée","components.controls.list.indent":"Augmenter le retrait","components.controls.list.outdent":"Diminuer le retrait","components.controls.remove.remove":"Supprimer","components.controls.textalign.textalign":"Alignement du texte","components.controls.textalign.left":"Gauche","components.controls.textalign.center":"Centre","components.controls.textalign.right":"Droite","components.controls.textalign.justify":"Justifier"},zh:{"generic.add":"添加","generic.cancel":"取消","components.controls.blocktype.h1":"标题1","components.controls.blocktype.h2":"标题2","components.controls.blocktype.h3":"标题3","components.controls.blocktype.h4":"标题4","components.controls.blocktype.h5":"标题5","components.controls.blocktype.h6":"标题6","components.controls.blocktype.blockquote":"引用","components.controls.blocktype.code":"源码","components.controls.blocktype.blocktype":"样式","components.controls.blocktype.normal":"正文","components.controls.colorpicker.colorpicker":"选色器","components.controls.colorpicker.text":"文字","components.controls.colorpicker.background":"背景","components.controls.embedded.embedded":"内嵌","components.controls.embedded.embeddedlink":"内嵌网页","components.controls.embedded.enterlink":"输入网页地址","components.controls.emoji.emoji":"表情符号","components.controls.fontfamily.fontfamily":"字体","components.controls.fontsize.fontsize":"字号","components.controls.history.history":"历史","components.controls.history.undo":"撤销","components.controls.history.redo":"恢复","components.controls.image.image":"图片","components.controls.image.fileUpload":"来自文件","components.controls.image.byURL":"在线图片","components.controls.image.dropFileText":"点击或者拖拽文件上传","components.controls.inline.bold":"粗体","components.controls.inline.italic":"斜体","components.controls.inline.underline":"下划线","components.controls.inline.strikethrough":"删除线","components.controls.inline.monospace":"等宽字体","components.controls.inline.superscript":"上标","components.controls.inline.subscript":"下标","components.controls.link.linkTitle":"超链接","components.controls.link.linkTarget":"输入链接地址","components.controls.link.linkTargetOption":"在新窗口中打开链接","components.controls.link.link":"链接","components.controls.link.unlink":"删除链接","components.controls.list.list":"列表","components.controls.list.unordered":"项目符号","components.controls.list.ordered":"编号","components.controls.list.indent":"增加缩进量","components.controls.list.outdent":"减少缩进量","components.controls.remove.remove":"清除格式","components.controls.textalign.textalign":"文本对齐","components.controls.textalign.left":"文本左对齐","components.controls.textalign.center":"居中","components.controls.textalign.right":"文本右对齐","components.controls.textalign.justify":"两端对齐"},ru:{"generic.add":"Добавить","generic.cancel":"Отменить","components.controls.blocktype.h1":"Заголовок 1","components.controls.blocktype.h2":"Заголовок 2","components.controls.blocktype.h3":"Заголовок 3","components.controls.blocktype.h4":"Заголовок 4","components.controls.blocktype.h5":"Заголовок 5","components.controls.blocktype.h6":"Заголовок 6","components.controls.blocktype.blockquote":"Цитата","components.controls.blocktype.code":"Код","components.controls.blocktype.blocktype":"Форматирование","components.controls.blocktype.normal":"Обычный","components.controls.colorpicker.colorpicker":"Выбор цвета","components.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.controls.list.list":"Список","components.controls.list.unordered":"Неупорядоченный","components.controls.list.ordered":"Упорядоченный","components.controls.list.indent":"Отступ","components.controls.list.outdent":"Выступ","components.controls.remove.remove":"Удалить","components.controls.textalign.textalign":"Выравнивание текста","components.controls.textalign.left":"Слева","components.controls.textalign.center":"По центру","components.controls.textalign.right":"Справа","components.controls.textalign.justify":"Выравнить"},pt:{"generic.add":"Ok","generic.cancel":"Cancelar","components.controls.blocktype.h1":"Título 1","components.controls.blocktype.h2":"Título 2","components.controls.blocktype.h3":"Título 3","components.controls.blocktype.h4":"Título 4","components.controls.blocktype.h5":"Título 5","components.controls.blocktype.h6":"Título 6","components.controls.blocktype.blockquote":"Citação","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órico","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álico","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ítulo 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ção","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":"À Esquerda","components.controls.textalign.center":"Centralizado","components.controls.textalign.right":"À Direita","components.controls.textalign.justify":"Justificado"},ko:{"generic.add":"입력","generic.cancel":"취소","components.controls.blocktype.h1":"제목1","components.controls.blocktype.h2":"제목2","components.controls.blocktype.h3":"제목3","components.controls.blocktype.h4":"제목4","components.controls.blocktype.h5":"제목5","components.controls.blocktype.h6":"제목6","components.controls.blocktype.blockquote":"인용","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"블록","components.controls.blocktype.normal":"표준","components.controls.colorpicker.colorpicker":"색상 선택","components.controls.colorpicker.text":"글꼴색","components.controls.colorpicker.background":"배경색","components.controls.embedded.embedded":"임베드","components.controls.embedded.embeddedlink":"임베드 링크","components.controls.embedded.enterlink":"주소를 입력하세요","components.controls.emoji.emoji":"이모지","components.controls.fontfamily.fontfamily":"글꼴","components.controls.fontsize.fontsize":"글꼴 크기","components.controls.history.history":"히스토리","components.controls.history.undo":"실행 취소","components.controls.history.redo":"다시 실행","components.controls.image.image":"이미지","components.controls.image.fileUpload":"파일 업로드","components.controls.image.byURL":"주소","components.controls.image.dropFileText":"클릭하거나 파일을 드롭하여 업로드하세요","components.controls.inline.bold":"굵게","components.controls.inline.italic":"기울임꼴","components.controls.inline.underline":"밑줄","components.controls.inline.strikethrough":"취소선","components.controls.inline.monospace":"고정 너비","components.controls.inline.superscript":"위 첨자","components.controls.inline.subscript":"아래 첨자","components.controls.link.linkTitle":"링크 제목","components.controls.link.linkTarget":"링크 타겟","components.controls.link.linkTargetOption":"새창으로 열기","components.controls.link.link":"링크","components.controls.link.unlink":"링크 제거","components.controls.list.list":"리스트","components.controls.list.unordered":"일반 리스트","components.controls.list.ordered":"순서 리스트","components.controls.list.indent":"들여쓰기","components.controls.list.outdent":"내어쓰기","components.controls.remove.remove":"삭제","components.controls.textalign.textalign":"텍스트 정렬","components.controls.textalign.left":"왼쪽","components.controls.textalign.center":"중앙","components.controls.textalign.right":"오른쪽","components.controls.textalign.justify":"양쪽"},it:{"generic.add":"Aggiungi","generic.cancel":"Annulla","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Citazione","components.controls.blocktype.code":"Codice","components.controls.blocktype.blocktype":"Stili","components.controls.blocktype.normal":"Normale","components.controls.colorpicker.colorpicker":"Colore testo","components.controls.colorpicker.text":"Testo","components.controls.colorpicker.background":"Evidenziazione","components.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.controls.textalign.center":"Allinea al centro","components.controls.textalign.right":"Allinea a destra","components.controls.textalign.justify":"Giustifica"},nl:{"generic.add":"Toevoegen","generic.cancel":"Annuleren","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Blockquote","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Blocktype","components.controls.blocktype.normal":"Normaal","components.controls.colorpicker.colorpicker":"Kleurkiezer","components.controls.colorpicker.text":"Tekst","components.controls.colorpicker.background":"Achtergrond","components.controls.embedded.embedded":"Ingevoegd","components.controls.embedded.embeddedlink":"Ingevoegde link","components.controls.embedded.enterlink":"Voeg link toe","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Lettertype","components.controls.fontsize.fontsize":"Lettergrootte","components.controls.history.history":"Geschiedenis","components.controls.history.undo":"Ongedaan maken","components.controls.history.redo":"Opnieuw","components.controls.image.image":"Afbeelding","components.controls.image.fileUpload":"Bestand uploaden","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Drop het bestand hier of klik om te uploaden","components.controls.inline.bold":"Dikgedrukt","components.controls.inline.italic":"Schuingedrukt","components.controls.inline.underline":"Onderstrepen","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ügen","generic.cancel":"Abbrechen","components.controls.blocktype.h1":"Überschrift 1","components.controls.blocktype.h2":"Überschrift 2","components.controls.blocktype.h3":"Überschrift 3","components.controls.blocktype.h4":"Überschrift 4","components.controls.blocktype.h5":"Überschrift 5","components.controls.blocktype.h6":"Überschrift 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öße","components.controls.history.history":"Historie","components.controls.history.undo":"Zurücknehmen","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 öffnen","components.controls.link.link":"Link","components.controls.link.unlink":"Aufheben","components.controls.list.list":"Liste","components.controls.list.unordered":"Aufzählung","components.controls.list.ordered":"Nummerierte Liste","components.controls.list.indent":"Einzug vergrößern","components.controls.list.outdent":"Einzug reduzieren","components.controls.remove.remove":"Entfernen","components.controls.textalign.textalign":"Textausrichtung","components.controls.textalign.left":"Linksbündig","components.controls.textalign.center":"Zentrieren","components.controls.textalign.right":"Rechtsbündig","components.controls.textalign.justify":"Blocksatz"},da:{"generic.add":"Tilføj","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.controls.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ørrelser","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ørsel","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ævet","components.controls.inline.subscript":"Sænket","components.controls.link.linkTitle":"Link Titel","components.controls.link.linkTarget":"Link Mål","components.controls.link.linkTargetOption":"Åbn 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øjre","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.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":"兩端對齊"},pl:{"generic.add":"Dodaj","generic.cancel":"Anuluj","components.controls.blocktype.h1":"Nagłówek 1","components.controls.blocktype.h2":"Nagłówek 2","components.controls.blocktype.h3":"Nagłówek 3","components.controls.blocktype.h4":"Nagłówek 4","components.controls.blocktype.h5":"Nagłówek 5","components.controls.blocktype.h6":"Nagłówek 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ój czcionki","components.controls.fontsize.fontsize":"Rozmiar czcionki","components.controls.history.history":"Historia","components.controls.history.undo":"Cofnij","components.controls.history.redo":"Ponów","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órny","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órz 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ównaj 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ñadir","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ódigo","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.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Fuente","components.controls.fontsize.fontsize":"Tamaño de fuente","components.controls.history.history":"Histórico","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índice","components.controls.inline.subscript":"Subíndice","components.controls.link.linkTitle":"Título 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ón 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.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":"両端揃え"}};function Gr(e){return(Gr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Xr(){return(Xr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Yr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ur(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yr(Object(n),!0).forEach((function(t){Kr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Kr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wr(e){return function(e){if(Array.isArray(e))return qr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return qr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qr(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Jr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _r(e,t){return(_r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function $r(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=eo(e);if(t){var o=eo(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Gr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,n)}}function eo(e){return(eo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(38),n(39);var to=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_r(e,t)}(A,r.Component);var e,t,n=$r(A);function A(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),(t=n.call(this,e)).onEditorBlur=function(){t.setState({editorFocused:!1})},t.onEditorFocus=function(e){var n=t.props.onFocus;t.setState({editorFocused:!0});var r=t.focusHandler.isEditorFocused();n&&r&&n(e)},t.onEditorMouseDown=function(){t.focusHandler.onEditorMouseDown()},t.keyBindingFn=function(e){if("Tab"!==e.key)return"ArrowUp"!==e.key&&"ArrowDown"!==e.key||b()&&e.preventDefault(),Object(a.getDefaultKeyBinding)(e);var n=t.props.onTab;if(!n||!n(e)){var r=Object(l.changeDepth)(t.state.editorState,e.shiftKey?-1:1,4);r&&r!==t.state.editorState&&(t.onChange(r),e.preventDefault())}return null},t.onToolbarFocus=function(e){var n=t.props.onFocus;n&&t.focusHandler.isToolbarFocused()&&n(e)},t.onWrapperBlur=function(e){var n=t.props.onBlur;n&&t.focusHandler.isEditorBlur(e)&&n(e,t.getEditorState())},t.onChange=function(e){var n=t.props,r=n.readOnly,o=n.onEditorStateChange;r||"atomic"===Object(l.getSelectedBlocksType)(e)&&e.getSelection().isCollapsed||(o&&o(e,t.props.wrapperId),B(t.props,"editorState")?t.afterChange(e):t.setState({editorState:e},t.afterChange(e)))},t.setWrapperReference=function(e){t.wrapper=e},t.setEditorReference=function(e){t.props.editorRef&&t.props.editorRef(e),t.editor=e},t.getCompositeDecorator=function(e){var n=[].concat(Wr(t.props.customDecorators),[{strategy:gr,component:hr({showOpenOptionOnHover:e.link.showOpenOptionOnHover})}]);return t.props.mention&&n.push.apply(n,Wr(xr(Ur(Ur({},t.props.mention),{},{onChange:t.onChange,getEditorState:t.getEditorState,getSuggestions:t.getSuggestions,getWrapperRef:t.getWrapperRef,modalHandler:t.modalHandler})))),t.props.hashtag&&n.push(Vr(t.props.hashtag)),new a.CompositeDecorator(n)},t.getWrapperRef=function(){return t.wrapper},t.getEditorState=function(){return t.state?t.state.editorState:null},t.getSuggestions=function(){return t.props.mention&&t.props.mention.suggestions},t.afterChange=function(e){setTimeout((function(){var n=t.props,r=n.onChange,o=n.onContentStateChange;r&&r(Object(a.convertToRaw)(e.getCurrentContent())),o&&o(Object(a.convertToRaw)(e.getCurrentContent()))}))},t.isReadOnly=function(){return t.props.readOnly},t.isImageAlignmentEnabled=function(){return t.state.toolbar.image.alignmentEnabled},t.createEditorState=function(e){var n;if(B(t.props,"editorState"))t.props.editorState&&(n=a.EditorState.set(t.props.editorState,{decorator:e}));else if(B(t.props,"defaultEditorState"))t.props.defaultEditorState&&(n=a.EditorState.set(t.props.defaultEditorState,{decorator:e}));else if(B(t.props,"contentState")){if(t.props.contentState){var r=Object(a.convertFromRaw)(t.props.contentState);n=a.EditorState.createWithContent(r,e),n=a.EditorState.moveSelectionToEnd(n)}}else if(B(t.props,"defaultContentState")||B(t.props,"initialContentState")){var o=t.props.defaultContentState||t.props.initialContentState;o&&(o=Object(a.convertFromRaw)(o),n=a.EditorState.createWithContent(o,e),n=a.EditorState.moveSelectionToEnd(n))}return n||a.EditorState.createEmpty(e)},t.filterEditorProps=function(e){return t=e,n=["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"],r=Object.keys(t).filter((function(e){return n.indexOf(e)<0})),o={},r&&0<r.length&&r.forEach((function(e){o[e]=t[e]})),o;var t,n,r,o},t.getStyleMap=function(e){return Ur(Ur({},Object(l.getCustomStyleMap)()),e.customStyleMap)},t.changeEditorState=function(e){var n=Object(a.convertFromRaw)(e),r=t.state.editorState;return r=a.EditorState.push(r,n,"insert-characters"),a.EditorState.moveSelectionToEnd(r)},t.focusEditor=function(){setTimeout((function(){t.editor.focus()}))},t.handleKeyCommand=function(e){var n=t.state,r=n.editorState,o=n.toolbar.inline;if(o&&0<=o.options.indexOf(e)){var A=a.RichUtils.handleKeyCommand(r,e);if(A)return t.onChange(A),!0}return!1},t.handleReturn=function(e){if(b())return!0;var n=t.state.editorState,r=Object(l.handleNewLine)(n,e);return!!r&&(t.onChange(r),!0)},t.handlePastedTextFn=function(e,n){var r=t.state.editorState,o=t.props,A=o.handlePastedText,i=o.stripPastedStyles;return A?A(e,n,r,t.onChange):!i&&function(e,t,n,r){var o=Object(l.getSelectedBlock)(n);if(o&&"code"===o.type){var A=a.Modifier.replaceText(n.getCurrentContent(),n.getSelection(),e,n.getCurrentInlineStyle());return r(a.EditorState.push(n,A,"insert-characters")),!0}if(t){var i=Q()(t),c=n.getCurrentContent();return i.entityMap.forEach((function(e,t){c=c.mergeEntityData(t,e)})),c=a.Modifier.replaceWithFragment(c,n.getSelection(),new x.List(i.contentBlocks)),r(a.EditorState.push(n,c,"insert-characters")),!0}return!1}(e,n,r,t.onChange)},t.preventDefault=function(e){"INPUT"===e.target.tagName||"LABEL"===e.target.tagName||"TEXTAREA"===e.target.tagName?t.focusHandler.onInputMouseDown():e.preventDefault()};var r=y(Tr,e.toolbar),o=e.wrapperId?e.wrapperId:Math.floor(1e4*Math.random());t.wrapperId="rdw-wrapper-".concat(o),t.modalHandler=new d,t.focusHandler=new p,t.blockRendererFn=Fr({isReadOnly:t.isReadOnly,isImageAlignmentEnabled:t.isImageAlignmentEnabled,getEditorState:t.getEditorState,onChange:t.onChange},e.customBlockRenderFunc),t.editorProps=t.filterEditorProps(e),t.customStyleMap=t.getStyleMap(e),t.compositeDecorator=t.getCompositeDecorator(r);var i=t.createEditorState(t.compositeDecorator);return Object(l.extractInlineStyle)(i),t.state={editorState:i,editorFocused:!1,toolbar:r},t}return e=A,(t=[{key:"componentDidMount",value:function(){this.modalHandler.init(this.wrapperId)}},{key:"componentDidUpdate",value:function(e){if(e!==this.props){var t={},n=this.props,r=n.editorState,o=n.contentState;if(!this.state.toolbar){var A=y(Tr,A);t.toolbar=A}if(B(this.props,"editorState")&&r!==e.editorState)t.editorState=r?a.EditorState.set(r,{decorator:this.compositeDecorator}):a.EditorState.createEmpty(this.compositeDecorator);else if(B(this.props,"contentState")&&o!==e.contentState)if(o){var i=this.changeEditorState(o);i&&(t.editorState=i)}else t.editorState=a.EditorState.createEmpty(this.compositeDecorator);e.editorState===r&&e.contentState===o||Object(l.extractInlineStyle)(t.editorState),Object.keys(t).length&&this.setState(t),this.editorProps=this.filterEditorProps(this.props),this.customStyleMap=this.getStyleMap(this.props)}}},{key:"render",value:function(){var e=this.state,t=e.editorState,n=e.editorFocused,r=e.toolbar,A=this.props,i=A.locale,c=A.localization,f=c.locale,d=c.translations,C=A.toolbarCustomButtons,u=A.toolbarOnFocus,p=A.toolbarClassName,g=A.toolbarHidden,m=A.editorClassName,E=A.wrapperClassName,b=A.toolbarStyle,v=A.editorStyle,B=A.wrapperStyle,I=A.uploadCallback,M=A.ariaLabel,y={modalHandler:this.modalHandler,editorState:t,onChange:this.onChange,translations:Ur(Ur({},Rr[i||f]),d)},L=n||this.focusHandler.isInputFocused()||!u;return o.a.createElement("div",{id:this.wrapperId,className:s()(E,"rdw-editor-wrapper"),style:B,onClick:this.modalHandler.onEditorClick,onBlur:this.onWrapperBlur,"aria-label":"rdw-wrapper"},!g&&o.a.createElement("div",{className:s()("rdw-editor-toolbar",p),style:Ur({visibility:L?"visible":"hidden"},b),onMouseDown:this.preventDefault,"aria-label":"rdw-toolbar","aria-hidden":(!n&&u).toString(),onFocus:this.onToolbarFocus},r.options.map((function(e,t){var n=ar[e],A=r[e];return"image"===e&&I&&(A.uploadCallback=I),o.a.createElement(n,Xr({key:t},y,{config:A}))})),C&&C.map((function(e,t){return o.a.cloneElement(e,Ur({key:t},y))}))),o.a.createElement("div",{ref:this.setWrapperReference,className:s()(m,"rdw-editor-main"),style:v,onClick:this.focusEditor,onFocus:this.onEditorFocus,onBlur:this.onEditorBlur,onKeyDown:h.onKeyDown,onMouseDown:this.onEditorMouseDown},o.a.createElement(a.Editor,Xr({ref:this.setEditorReference,keyBindingFn:this.keyBindingFn,editorState:t,onChange:this.onChange,blockStyleFn:w,customStyleMap:this.getStyleMap(this.props),handleReturn:this.handleReturn,handlePastedText:this.handlePastedTextFn,blockRendererFn:this.blockRendererFn,handleKeyCommand:this.handleKeyCommand,ariaLabel:M||"rdw-editor",blockRenderMap:l.blockRenderMap},this.editorProps))))}}])&&Jr(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),A}();to.propTypes={onChange:i.a.func,onEditorStateChange:i.a.func,onContentStateChange:i.a.func,initialContentState:i.a.object,defaultContentState:i.a.object,contentState:i.a.object,editorState:i.a.object,defaultEditorState:i.a.object,toolbarOnFocus:i.a.bool,spellCheck:i.a.bool,stripPastedStyles:i.a.bool,toolbar:i.a.object,toolbarCustomButtons:i.a.array,toolbarClassName:i.a.string,toolbarHidden:i.a.bool,locale:i.a.string,localization:i.a.object,editorClassName:i.a.string,wrapperClassName:i.a.string,toolbarStyle:i.a.object,editorStyle:i.a.object,wrapperStyle:i.a.object,uploadCallback:i.a.func,onFocus:i.a.func,onBlur:i.a.func,onTab:i.a.func,mention:i.a.object,hashtag:i.a.object,textAlignment:i.a.string,readOnly:i.a.bool,tabIndex:i.a.number,placeholder:i.a.string,ariaLabel:i.a.string,ariaOwneeID:i.a.string,ariaActiveDescendantID:i.a.string,ariaAutoComplete:i.a.string,ariaDescribedBy:i.a.string,ariaExpanded:i.a.string,ariaHasPopup:i.a.string,customBlockRenderFunc:i.a.func,wrapperId:i.a.number,customDecorators:i.a.array,editorRef:i.a.func,handlePastedText:i.a.func},to.defaultProps={toolbarOnFocus:!1,toolbarHidden:!1,stripPastedStyles:!1,localization:{locale:"en",translations:{}},customDecorators:[]};var no=to}],r.c=A,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=8);function r(e){if(A[e])return A[e].exports;var t=A[e]={i:e,l:!1,exports:{}};return o[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var o,A}(o,lH(),ZZ)),sH.exports);y('.fontXs {\n font-family: "Poppins";\n font-size: 10px;\n}\n\n.fontSm {\n font-family: "Poppins";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: "Poppins";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: "Poppins";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: "Poppins";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: "Poppins";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: "Poppins";\n font-size: 8px;\n}\n\n.font-size-10 {\n font-family: "Poppins";\n font-size: 10px;\n}\n\n.font-size-20 {\n font-family: "Poppins";\n font-size: 20px;\n}\n\n.font-size-32 {\n font-family: "Poppins";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: "Poppins";\n font-size: 80px;\n}\n\n.public-DraftEditor-content {\n min-height: 133px;\n padding: 0 8px;\n}\n\n.rdw-link-modal {\n height: 230px;\n}\n\n.ff-heading-TextEditor-style h1 {\n font-size: 2em;\n font-weight: bolder;\n}\n.ff-heading-TextEditor-style h2 {\n font-size: 1.5em;\n font-weight: bolder;\n}\n.ff-heading-TextEditor-style h3 {\n font-size: 1.17em;\n font-weight: bolder;\n}\n.ff-heading-TextEditor-style h4 {\n font-size: 1em;\n font-weight: bolder;\n}\n.ff-heading-TextEditor-style h5 {\n font-size: 0.83em;\n font-weight: bolder;\n}\n.ff-heading-TextEditor-style h6 {\n font-size: 0.67em;\n font-weight: bolder;\n}\n.ff-heading-TextEditor-style .rdw-right-aligned-block.public-DraftStyleDefault-orderedListItem:before {\n position: relative !important;\n left: 0 !important;\n}\n.ff-heading-TextEditor-style .rdw-left-aligned-block.public-DraftStyleDefault-orderedListItem:before {\n position: relative !important;\n left: 0 !important;\n}\n.ff-heading-TextEditor-style .rdw-center-aligned-block.public-DraftStyleDefault-orderedListItem:before {\n position: relative !important;\n left: 0 !important;\n}\n.ff-heading-TextEditor-style .rdw-justify-aligned-block.public-DraftStyleDefault-orderedListItem:before {\n position: relative !important;\n left: 0 !important;\n}\n.ff-heading-TextEditor-style .rdw-right-aligned-block.public-DraftStyleDefault-unorderedListItem {\n list-style-position: inside;\n}\n.ff-heading-TextEditor-style .rdw-left-aligned-block.public-DraftStyleDefault-unorderedListItem {\n list-style-position: inside;\n}\n.ff-heading-TextEditor-style .rdw-center-aligned-block.public-DraftStyleDefault-unorderedListItem {\n list-style-position: inside;\n}\n.ff-heading-TextEditor-style .rdw-justify-aligned-block.public-DraftStyleDefault-unorderedListItem {\n list-style-position: inside;\n}\n\n.ff-toolbarClass {\n font-size: 12px;\n font-family: OpenSans-Regular, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, poppins;\n}\n\n.rdw-option-wrapper {\n border: 1px solid #f1f1f1;\n padding: 5px;\n min-width: 25px;\n height: 20px;\n border-radius: 2px;\n margin: 0 4px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n background: white;\n text-transform: capitalize;\n}\n\n.rdw-option-wrapper:hover {\n box-shadow: 1px 1px 0px #bfbdbd;\n}\n\n.rdw-option-wrapper:active {\n box-shadow: 1px 1px 0px #bfbdbd inset;\n}\n\n.rdw-option-active {\n box-shadow: 1px 1px 0px #bfbdbd inset;\n}\n\n.rdw-option-disabled {\n opacity: 0.3;\n cursor: default;\n}\n\n.rdw-dropdown-wrapper {\n height: 30px;\n background: white;\n cursor: pointer;\n border: 1px solid #f1f1f1;\n border-radius: 2px;\n margin: 0 3px;\n text-transform: capitalize;\n background: white;\n}\n\n.rdw-dropdown-wrapper:focus {\n outline: none;\n}\n\n.rdw-dropdown-wrapper:hover {\n box-shadow: 1px 1px 0px #bfbdbd;\n background-color: #ffffff;\n}\n\n.rdw-dropdown-wrapper:active {\n box-shadow: 1px 1px 0px #bfbdbd inset;\n}\n\n.rdw-dropdown-carettoopen {\n height: 0px;\n width: 0px;\n position: absolute;\n top: 35%;\n right: 10%;\n border-top: 6px solid black;\n border-left: 5px solid transparent;\n border-right: 5px solid transparent;\n}\n\n.rdw-dropdown-carettoclose {\n height: 0px;\n width: 0px;\n position: absolute;\n top: 35%;\n right: 10%;\n border-bottom: 6px solid black;\n border-left: 5px solid transparent;\n border-right: 5px solid transparent;\n}\n\n.rdw-dropdown-selectedtext {\n display: flex;\n position: relative;\n height: 100%;\n align-items: center;\n padding: 0 5px;\n}\n\n.rdw-dropdown-optionwrapper {\n z-index: 100;\n position: relative;\n border: 1px solid #f1f1f1;\n width: 98%;\n background: white;\n border-radius: 2px;\n margin: 0;\n padding: 0;\n max-height: 250px;\n overflow-y: scroll;\n}\n\n.rdw-dropdown-optionwrapper:hover {\n box-shadow: 1px 1px 0px #bfbdbd;\n background-color: #ffffff;\n}\n\n.rdw-dropdownoption-default {\n min-height: 25px;\n display: flex;\n align-items: center;\n padding: 0 5px;\n}\n\n.rdw-dropdownoption-highlighted {\n background: #f1f1f1;\n}\n\n.rdw-dropdownoption-active {\n background: #f5f5f5;\n}\n\n.rdw-dropdownoption-disabled {\n opacity: 0.3;\n cursor: default;\n}\n\n.rdw-inline-wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n flex-wrap: wrap;\n}\n\n.rdw-inline-dropdown {\n width: 50px;\n}\n\n.rdw-inline-dropdownoption {\n height: 40px;\n display: flex;\n justify-content: center;\n}\n\n.rdw-block-wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n flex-wrap: wrap;\n}\n\n.rdw-block-dropdown {\n width: 110px;\n}\n\n.rdw-fontsize-wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n flex-wrap: wrap;\n}\n\n.rdw-fontsize-dropdown {\n min-width: 40px;\n}\n\n.rdw-fontsize-option {\n display: flex;\n justify-content: center;\n}\n\n.rdw-fontfamily-wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n flex-wrap: wrap;\n}\n\n.rdw-fontfamily-dropdown {\n width: 115px;\n}\n\n.rdw-fontfamily-placeholder {\n white-space: nowrap;\n max-width: 90px;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.rdw-fontfamily-optionwrapper {\n width: 140px;\n}\n\n.rdw-list-wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n flex-wrap: wrap;\n}\n\n.rdw-list-dropdown {\n width: 50px;\n z-index: 90;\n}\n\n.rdw-list-dropdownOption {\n height: 40px;\n display: flex;\n justify-content: center;\n}\n\n.rdw-text-align-wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n flex-wrap: wrap;\n}\n\n.rdw-text-align-dropdown {\n width: 50px;\n z-index: 90;\n}\n\n.rdw-text-align-dropdownOption {\n height: 40px;\n display: flex;\n justify-content: center;\n}\n\n.rdw-right-aligned-block {\n text-align: right;\n}\n\n.rdw-left-aligned-block {\n text-align: left !important;\n}\n\n.rdw-center-aligned-block {\n text-align: center !important;\n}\n\n.rdw-justify-aligned-block {\n text-align: justify !important;\n}\n\n.rdw-right-aligned-block > div {\n display: inline-block;\n}\n\n.rdw-left-aligned-block > div {\n display: inline-block;\n}\n\n.rdw-center-aligned-block > div {\n display: inline-block;\n}\n\n.rdw-justify-aligned-block > div {\n display: inline-block;\n}\n\n.rdw-colorpicker-wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n position: relative;\n flex-wrap: wrap;\n}\n\n.rdw-colorpicker-modal {\n position: absolute;\n top: 35px;\n left: 5px;\n display: flex;\n flex-direction: column;\n width: 175px;\n height: 175px;\n border: 1px solid #f1f1f1;\n padding: 15px;\n border-radius: 2px;\n z-index: 100;\n background: white;\n box-shadow: 3px 3px 5px #bfbdbd;\n}\n\n.rdw-colorpicker-modal-header {\n display: flex;\n padding-bottom: 5px;\n}\n\n.rdw-colorpicker-modal-style-label {\n font-size: 15px;\n width: 50%;\n text-align: center;\n cursor: pointer;\n padding: 0 10px 5px;\n}\n\n.rdw-colorpicker-modal-style-label-active {\n border-bottom: 2px solid #0a66b7;\n}\n\n.rdw-colorpicker-modal-options {\n margin: 5px auto;\n display: flex;\n width: 100%;\n height: 100%;\n flex-wrap: wrap;\n overflow: scroll;\n}\n\n.rdw-colorpicker-cube {\n width: 22px;\n height: 22px;\n border: 1px solid #f1f1f1;\n}\n\n.rdw-colorpicker-option {\n margin: 3px;\n padding: 0;\n min-height: 20px;\n border: none;\n width: 22px;\n height: 22px;\n min-width: 22px;\n box-shadow: 1px 2px 1px #bfbdbd inset;\n}\n\n.rdw-colorpicker-option:hover {\n box-shadow: 1px 2px 1px #bfbdbd;\n}\n\n.rdw-colorpicker-option:active {\n box-shadow: -1px -2px 1px #bfbdbd;\n}\n\n.rdw-colorpicker-option-active {\n box-shadow: 0px 0px 2px 2px #bfbdbd;\n}\n\n.rdw-link-wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n position: relative;\n flex-wrap: wrap;\n}\n\n.rdw-link-dropdown {\n width: 50px;\n}\n\n.rdw-link-dropdownOption {\n height: 40px;\n display: flex;\n justify-content: center;\n}\n\n.rdw-link-dropdownPlaceholder {\n margin-left: 8px;\n}\n\n.rdw-link-modal {\n position: absolute;\n top: 35px;\n left: 5px;\n display: flex;\n flex-direction: column;\n width: 235px;\n height: 205px;\n border: 1px solid #f1f1f1;\n padding: 15px;\n border-radius: 2px;\n z-index: 100;\n background: white;\n box-shadow: 3px 3px 5px #bfbdbd;\n}\n\n.rdw-link-modal-label {\n font-size: 15px;\n}\n\n.rdw-link-modal-input {\n margin-top: 5px;\n border-radius: 2px;\n border: 1px solid #f1f1f1;\n height: 25px;\n margin-bottom: 15px;\n padding: 0 5px;\n}\n\n.rdw-link-modal-input:focus {\n outline: none;\n}\n\n.rdw-link-modal-buttonsection {\n margin: 0 auto;\n}\n\n.rdw-link-modal-target-option {\n margin-bottom: 20px;\n}\n\n.rdw-link-modal-target-option > span {\n margin-left: 5px;\n}\n\n.rdw-link-modal-btn {\n margin-left: 10px;\n width: 75px;\n height: 30px;\n border: 1px solid #f1f1f1;\n border-radius: 2px;\n cursor: pointer;\n background: white;\n text-transform: capitalize;\n}\n\n.rdw-link-modal-btn:hover {\n box-shadow: 1px 1px 0px #bfbdbd;\n}\n\n.rdw-link-modal-btn:active {\n box-shadow: 1px 1px 0px #bfbdbd inset;\n}\n\n.rdw-link-modal-btn:focus {\n outline: none !important;\n}\n\n.rdw-link-modal-btn:disabled {\n background: #ece9e9;\n}\n\n.rdw-link-dropdownoption {\n height: 40px;\n display: flex;\n justify-content: center;\n}\n\n.rdw-history-dropdown {\n width: 50px;\n}\n\n.rdw-embedded-wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n position: relative;\n flex-wrap: wrap;\n}\n\n.rdw-embedded-modal {\n position: absolute;\n top: 35px;\n left: 5px;\n display: flex;\n flex-direction: column;\n width: 235px;\n height: 180px;\n border: 1px solid #f1f1f1;\n padding: 15px;\n border-radius: 2px;\n z-index: 100;\n background: white;\n justify-content: space-between;\n box-shadow: 3px 3px 5px #bfbdbd;\n}\n\n.rdw-embedded-modal-header {\n font-size: 15px;\n display: flex;\n}\n\n.rdw-embedded-modal-header-option {\n width: 50%;\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n}\n\n.rdw-embedded-modal-header-label {\n width: 95px;\n border: 1px solid #f1f1f1;\n margin-top: 5px;\n background: #6eb8d4;\n border-bottom: 2px solid #0a66b7;\n}\n\n.rdw-embedded-modal-link-section {\n display: flex;\n flex-direction: column;\n}\n\n.rdw-embedded-modal-link-input {\n width: 88%;\n height: 35px;\n margin: 10px 0;\n border: 1px solid #f1f1f1;\n border-radius: 2px;\n font-size: 15px;\n padding: 0 5px;\n}\n\n.rdw-embedded-modal-link-input-wrapper {\n display: flex;\n align-items: center;\n}\n\n.rdw-embedded-modal-link-input:focus {\n outline: none;\n}\n\n.rdw-embedded-modal-btn-section {\n display: flex;\n justify-content: center;\n}\n\n.rdw-embedded-modal-btn {\n margin: 0 3px;\n width: 75px;\n height: 30px;\n border: 1px solid #f1f1f1;\n border-radius: 2px;\n cursor: pointer;\n background: white;\n text-transform: capitalize;\n}\n\n.rdw-embedded-modal-btn:hover {\n box-shadow: 1px 1px 0px #bfbdbd;\n}\n\n.rdw-embedded-modal-btn:active {\n box-shadow: 1px 1px 0px #bfbdbd inset;\n}\n\n.rdw-embedded-modal-btn:focus {\n outline: none !important;\n}\n\n.rdw-embedded-modal-btn:disabled {\n background: #ece9e9;\n}\n\n.rdw-embedded-modal-size {\n align-items: center;\n display: flex;\n margin: 8px 0;\n justify-content: space-between;\n}\n\n.rdw-embedded-modal-size-input {\n width: 80%;\n height: 20px;\n border: 1px solid #f1f1f1;\n border-radius: 2px;\n font-size: 12px;\n}\n\n.rdw-embedded-modal-size-input:focus {\n outline: none;\n}\n\n.rdw-emoji-wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n position: relative;\n flex-wrap: wrap;\n}\n\n.rdw-emoji-modal {\n overflow: auto;\n position: absolute;\n top: 35px;\n left: 5px;\n display: flex;\n flex-wrap: wrap;\n width: 235px;\n height: 180px;\n border: 1px solid #f1f1f1;\n padding: 15px;\n border-radius: 2px;\n z-index: 100;\n background: white;\n box-shadow: 3px 3px 5px #bfbdbd;\n}\n\n.rdw-emoji-icon {\n margin: 2.5px;\n height: 24px;\n width: 24px;\n cursor: pointer;\n font-size: 22px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.rdw-spinner {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n width: 100%;\n}\n\n.rdw-spinner > div {\n width: 12px;\n height: 12px;\n background-color: #333;\n border-radius: 100%;\n display: inline-block;\n -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;\n animation: sk-bouncedelay 1.4s infinite ease-in-out both;\n}\n\n.rdw-spinner .rdw-bounce1 {\n -webkit-animation-delay: -0.32s;\n animation-delay: -0.32s;\n}\n\n.rdw-spinner .rdw-bounce2 {\n -webkit-animation-delay: -0.16s;\n animation-delay: -0.16s;\n}\n\n@-webkit-keyframes sk-bouncedelay {\n 0%, 80%, 100% {\n -webkit-transform: scale(0);\n }\n 40% {\n -webkit-transform: scale(1);\n }\n}\n@keyframes sk-bouncedelay {\n 0%, 80%, 100% {\n -webkit-transform: scale(0);\n transform: scale(0);\n }\n 40% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n.rdw-image-wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n position: relative;\n flex-wrap: wrap;\n}\n\n.rdw-image-modal {\n position: absolute;\n top: 35px;\n left: 5px;\n display: flex;\n flex-direction: column;\n width: 235px;\n border: 1px solid #f1f1f1;\n padding: 15px;\n border-radius: 2px;\n z-index: 100;\n background: white;\n box-shadow: 3px 3px 5px #bfbdbd;\n}\n\n.rdw-image-modal-header {\n font-size: 15px;\n margin: 10px 0;\n display: flex;\n}\n\n.rdw-image-modal-header-option {\n width: 50%;\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n}\n\n.rdw-image-modal-header-label {\n width: 80px;\n background: #f1f1f1;\n border: 1px solid #f1f1f1;\n margin-top: 5px;\n}\n\n.rdw-image-modal-header-label-highlighted {\n background: #6eb8d4;\n border-bottom: 2px solid #0a66b7;\n}\n\n.rdw-image-modal-upload-option {\n width: 100%;\n color: gray;\n cursor: pointer;\n display: flex;\n border: none;\n font-size: 15px;\n align-items: center;\n justify-content: center;\n background-color: #f1f1f1;\n outline: 2px dashed gray;\n outline-offset: -10px;\n margin: 10px 0;\n padding: 9px 0;\n}\n\n.rdw-image-modal-upload-option-highlighted {\n outline: 2px dashed #0a66b7;\n}\n\n.rdw-image-modal-upload-option-label {\n cursor: pointer;\n height: 100%;\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 15px;\n}\n\n.rdw-image-modal-upload-option-label span {\n padding: 0 20px;\n}\n\n.rdw-image-modal-upload-option-image-preview {\n max-width: 100%;\n max-height: 200px;\n}\n\n.rdw-image-modal-upload-option-input {\n width: 0.1px;\n height: 0.1px;\n opacity: 0;\n overflow: hidden;\n position: absolute;\n z-index: -1;\n}\n\n.rdw-image-modal-url-section {\n display: flex;\n align-items: center;\n}\n\n.rdw-image-modal-url-input {\n width: 90%;\n height: 35px;\n margin: 15px 0 12px;\n border: 1px solid #f1f1f1;\n border-radius: 2px;\n font-size: 15px;\n padding: 0 5px;\n}\n\n.rdw-image-modal-btn-section {\n margin: 10px auto 0;\n}\n\n.rdw-image-modal-url-input:focus {\n outline: none;\n}\n\n.rdw-image-modal-btn {\n margin: 0 5px;\n width: 75px;\n height: 30px;\n border: 1px solid #f1f1f1;\n border-radius: 2px;\n cursor: pointer;\n background: white;\n text-transform: capitalize;\n}\n\n.rdw-image-modal-btn:hover {\n box-shadow: 1px 1px 0px #bfbdbd;\n}\n\n.rdw-image-modal-btn:active {\n box-shadow: 1px 1px 0px #bfbdbd inset;\n}\n\n.rdw-image-modal-btn:focus {\n outline: none !important;\n}\n\n.rdw-image-modal-btn:disabled {\n background: #ece9e9;\n}\n\n.rdw-image-modal-spinner {\n position: absolute;\n top: -3px;\n left: 0;\n width: 100%;\n height: 100%;\n opacity: 0.5;\n}\n\n.rdw-image-modal-alt-input {\n width: 70%;\n height: 20px;\n border: 1px solid #f1f1f1;\n border-radius: 2px;\n font-size: 12px;\n margin-left: 5px;\n}\n\n.rdw-image-modal-alt-input:focus {\n outline: none;\n}\n\n.rdw-image-modal-alt-lbl {\n font-size: 12px;\n}\n\n.rdw-image-modal-size {\n align-items: center;\n display: flex;\n margin: 8px 0;\n justify-content: space-between;\n}\n\n.rdw-image-modal-size-input {\n width: 40%;\n height: 20px;\n border: 1px solid #f1f1f1;\n border-radius: 2px;\n font-size: 12px;\n}\n\n.rdw-image-modal-size-input:focus {\n outline: none;\n}\n\n.rdw-image-mandatory-sign {\n color: red;\n margin-left: 3px;\n margin-right: 3px;\n}\n\n.rdw-remove-wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n position: relative;\n flex-wrap: wrap;\n}\n\n.rdw-history-wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n flex-wrap: wrap;\n}\n\n.rdw-history-dropdownoption {\n height: 40px;\n display: flex;\n justify-content: center;\n}\n\n.rdw-history-dropdown {\n width: 50px;\n}\n\n.rdw-link-decorator-wrapper {\n position: relative;\n}\n\n.rdw-link-decorator-icon {\n position: absolute;\n left: 40%;\n top: 0;\n cursor: pointer;\n background-color: white;\n}\n\n.rdw-mention-link {\n text-decoration: none;\n color: #1236ff;\n background-color: #f0fbff;\n padding: 1px 2px;\n border-radius: 2px;\n}\n\n.rdw-suggestion-wrapper {\n position: relative;\n}\n\n.rdw-suggestion-dropdown {\n position: absolute;\n display: flex;\n flex-direction: column;\n border: 1px solid #f1f1f1;\n min-width: 100px;\n max-height: 150px;\n overflow: auto;\n background: white;\n z-index: 100;\n}\n\n.rdw-suggestion-option {\n padding: 7px 5px;\n border-bottom: 1px solid #f1f1f1;\n}\n\n.rdw-suggestion-option-active {\n background-color: #f1f1f1;\n}\n\n.rdw-hashtag-link {\n text-decoration: none;\n color: #1236ff;\n background-color: #f0fbff;\n padding: 1px 2px;\n border-radius: 2px;\n}\n\n.rdw-image-alignment-options-popup {\n position: absolute;\n background: white;\n display: flex;\n padding: 5px 2px;\n border-radius: 2px;\n border: 1px solid #f1f1f1;\n width: 105px;\n cursor: pointer;\n z-index: 100;\n}\n\n.rdw-alignment-option-left {\n justify-content: flex-start;\n}\n\n.rdw-image-alignment-option {\n height: 15px;\n width: 15px;\n min-width: 15px;\n}\n\n.rdw-image-alignment {\n position: relative;\n}\n\n.rdw-image-imagewrapper {\n position: relative;\n}\n\n.rdw-image-center {\n display: flex;\n justify-content: center;\n}\n\n.rdw-image-left {\n display: flex;\n}\n\n.rdw-image-right {\n display: flex;\n justify-content: flex-end;\n}\n\n.rdw-image-alignment-options-popup-right {\n right: 0;\n}\n\n.rdw-editor-main {\n height: 100%;\n overflow: auto;\n box-sizing: border-box;\n}\n\n.rdw-editor-toolbar {\n padding: 6px 5px 0;\n border-radius: 2px;\n border: 1px solid #f1f1f1;\n display: flex;\n justify-content: flex-start;\n background: white;\n flex-wrap: wrap;\n font-size: 15px;\n margin-bottom: 5px;\n user-select: none;\n}\n\n.public-DraftStyleDefault-block {\n margin: 1em 0;\n}\n\n.rdw-editor-wrapper:focus {\n outline: none;\n}\n\n.rdw-editor-wrapper {\n box-sizing: content-box;\n}\n\n.rdw-editor-main blockquote {\n border-left: 5px solid #f1f1f1;\n padding-left: 5px;\n}\n\n.rdw-editor-main pre {\n background: #f1f1f1;\n border-radius: 3px;\n padding: 1px 10px;\n}\n\n.DraftEditor-editorContainer,\n.DraftEditor-root,\n.public-DraftEditor-content {\n height: inherit;\n text-align: initial;\n}\n\n.public-DraftEditor-content[contenteditable=true] {\n -webkit-user-modify: read-write-plaintext-only;\n}\n\n.DraftEditor-root {\n position: relative;\n}\n\n.DraftEditor-editorContainer {\n background-color: rgba(255, 255, 255, 0);\n border-left: 0.1px solid transparent;\n position: relative;\n z-index: 1;\n}\n\n.public-DraftEditor-block {\n position: relative;\n}\n\n.DraftEditor-alignLeft .public-DraftStyleDefault-block {\n text-align: left;\n}\n\n.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root {\n left: 0;\n text-align: left;\n}\n\n.DraftEditor-alignCenter .public-DraftStyleDefault-block {\n text-align: center;\n}\n\n.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root {\n margin: 0 auto;\n text-align: center;\n width: 100%;\n}\n\n.DraftEditor-alignRight .public-DraftStyleDefault-block {\n text-align: right;\n}\n\n.DraftEditor-alignRight .public-DraftEditorPlaceholder-root {\n right: 0;\n text-align: right;\n}\n\n.public-DraftEditorPlaceholder-root {\n color: #9197a3;\n position: absolute;\n z-index: 0;\n}\n\n.public-DraftEditorPlaceholder-hasFocus {\n color: #bdc1c9;\n}\n\n.DraftEditorPlaceholder-hidden {\n display: none;\n}\n\n.public-DraftStyleDefault-block {\n position: relative;\n white-space: pre-wrap;\n}\n\n.public-DraftStyleDefault-ltr {\n direction: ltr;\n text-align: left;\n}\n\n.public-DraftStyleDefault-rtl {\n direction: rtl;\n text-align: right;\n}\n\n.public-DraftStyleDefault-listLTR {\n direction: ltr;\n}\n\n.public-DraftStyleDefault-listRTL {\n direction: rtl;\n}\n\n.public-DraftStyleDefault-ol,\n.public-DraftStyleDefault-ul {\n margin: 16px 0;\n padding: 0;\n}\n\n.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR {\n margin-left: 1.5em;\n}\n\n.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL {\n margin-right: 1.5em;\n}\n\n.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR {\n margin-left: 3em;\n}\n\n.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL {\n margin-right: 3em;\n}\n\n.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR {\n margin-left: 4.5em;\n}\n\n.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL {\n margin-right: 4.5em;\n}\n\n.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR {\n margin-left: 6em;\n}\n\n.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL {\n margin-right: 6em;\n}\n\n.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR {\n margin-left: 7.5em;\n}\n\n.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL {\n margin-right: 7.5em;\n}\n\n.public-DraftStyleDefault-unorderedListItem {\n list-style-type: square;\n position: relative;\n}\n\n.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0 {\n list-style-type: disc;\n}\n\n.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1 {\n list-style-type: circle;\n}\n\n.public-DraftStyleDefault-orderedListItem {\n list-style-type: none;\n position: relative;\n}\n\n.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before {\n left: -36px;\n position: absolute;\n text-align: right;\n width: 30px;\n}\n\n.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before {\n position: absolute;\n right: -36px;\n text-align: left;\n width: 30px;\n}\n\n.public-DraftStyleDefault-orderedListItem:before {\n content: counter(ol0) ". ";\n counter-increment: ol0;\n}\n\n.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before {\n content: counter(ol1) ". ";\n counter-increment: ol1;\n}\n\n.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before {\n content: counter(ol2) ". ";\n counter-increment: ol2;\n}\n\n.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before {\n content: counter(ol3) ". ";\n counter-increment: ol3;\n}\n\n.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before {\n content: counter(ol4) ". ";\n counter-increment: ol4;\n}\n\n.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset {\n counter-reset: ol0;\n}\n\n.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset {\n counter-reset: ol1;\n}\n\n.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset {\n counter-reset: ol2;\n}\n\n.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset {\n counter-reset: ol3;\n}\n\n.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset {\n counter-reset: ol4;\n}\n\n.required-asterisk {\n color: var(--input-error-text-color);\n}\n\n.ff-texteditor-label-asterisk-container {\n display: flex;\n align-items: center;\n gap: 2px;\n}\n\n.ff-textEditor-error-msg {\n color: var(--input-error-text-color);\n}');const zZ=({convertedContent:t,setConvertedContent:r,readOnly:o,toolbarHidden:A,toolbarOptions:i,label:c,required:s=!1,onBlur:f,mode:d,helperText:C,analyticsClasses:u=!1})=>{const[p,g]=l(null),[h,m]=l(!1),[E,b]=l(!1);a((()=>{let e=null;const n=t?JSON.parse(t):{};if(!K(t))if(n)e=cH.EditorState.createWithContent(cH.convertFromRaw(JSON.parse(t)));else if("view"===d){const t=cH.ContentState.createFromText("--");e=cH.EditorState.createWithContent(t)}else e=cH.EditorState.createEmpty();g(e)}),[t,d]),a((()=>{let e=null;if(0===t.length){if("view"===d){const t=cH.ContentState.createFromText("--");e=cH.EditorState.createWithContent(t)}else e=cH.EditorState.createEmpty();g(e)}}),[t]);const w=NZ.Editor;return n("div",{children:[n("div",{className:"ff-texteditor-label-asterisk-container",children:[s&&e(T,{className:"required-asterisk",children:"* "}),c&&e(T,{lineHeight:"10px",fontWeight:"medium",fontSize:"12px",children:c})]}),e(w,{editorState:p,onEditorStateChange:e=>{g(e);const t=cH.convertToRaw(e.getCurrentContent());""!==t?.blocks[0]?.text&&b(!1)},wrapperClassName:"wrapperClass",editorClassName:"ff-heading-TextEditor-style "+(u?"fontSm":"fontMd"),editorStyle:"view"!==d?h?{border:"1px solid var(--text-editor-in-focus-border-color)",borderRadius:"5px"}:{border:"1px solid var(--text-editor-out-focus-border-color) ",borderRadius:"5px"}:{border:"none"},onFocus:()=>{m(!0)},onBlur:e=>{const t=cH.convertToRaw(p.getCurrentContent());r(JSON.stringify(t)),""===t?.blocks[0]?.text&&b(!0),f&&f(e)},readOnly:o,toolbarHidden:A,toolbarClassName:"ff-toolbarClass",handlePastedText:()=>!1,toolbar:{options:Array.isArray(i)&&i?.length>0?i:["inline","blockType","fontSize","fontFamily","list","textAlign","colorPicker","link","emoji","image","remove","history"],fontFamily:{options:["Arial","Georgia","Impact","OpenSans-Regular","Tahoma","Times New Roman","Verdana","poppins"]}}}),s&&E&&e(T,{fontSize:10,className:"ff-textEditor-error-msg",as:"span",children:C})]})};y(".no_data_message {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n}");const PZ=({iconName:t,iconWidth:r=120,iconHeight:o=115,text:A,textFontSize:i="24px"})=>n("div",{className:"no_data_message",children:[e(F,{name:t,width:r,height:o}),e(T,{fontSize:i,lineHeight:"36px",fontWeight:"bold",children:A})]});y(".ff-card {\n padding: 0;\n margin: 0;\n box-sizing: border-box;\n transition: all 0.3s ease;\n}\n.ff-card .ff-card-header {\n overflow: hidden;\n border-top-left-radius: inherit;\n border-top-right-radius: inherit;\n}\n.ff-card .ff-card-footer {\n overflow: hidden;\n border-bottom-left-radius: inherit;\n border-bottom-right-radius: inherit;\n}\n.ff-card .ff-card-header,\n.ff-card .ff-card-content,\n.ff-card .ff-card-footer {\n width: 100%;\n}\n\n.row {\n color: var(--base-bg-color);\n text-align: center;\n margin: 30px auto;\n}");const OZ=({cardProperties:t={width:"200px",height:"200px",background:"white",borderRadius:"16px",boxShadow:"1px 4px 8px var(--plugins-header-bg-color)",padding:"16px",margin:"0",border:"none",className:"",style:{},onClick:()=>{}},headerContent:r,midContent:o,footerContent:A})=>{const{width:i,height:a,background:l,borderRadius:c,boxShadow:s,padding:f,margin:d,border:C,className:u="",style:p={}}=t;return n("section",{className:`ff-card ${u}`,style:{width:i,height:a,background:l,borderRadius:c,boxShadow:s,padding:f,margin:d,border:C,...p},onClick:t.onClick,children:[r?.isHeader&&e("div",{className:"ff-card-header",children:r.content}),o?.isMidContent&&e("div",{className:"ff-card-content",children:o.content}),A?.isFooter&&e("div",{className:"ff-card-footer",children:A.content})]})},SZ=(e,t)=>{if(!e||void 0===t)throw new Error("Key and value must be provided");try{const n=(e=>{try{const t="object"==typeof e?JSON.stringify(e):e;return btoa(unescape(encodeURIComponent(t)))}catch(e){throw console.error("Error encoding data:",e),new Error("Encoding failed")}})(t||{});localStorage.setItem(e,n)}catch(e){throw console.error("Failed to save data:",e),new Error("Failed to save data")}},jZ=e=>{if(!e)throw new Error("Key must be provided");try{const t=localStorage.getItem(e);return t?(e=>{try{const t=decodeURIComponent(escape(atob(e)));try{return JSON.parse(t)}catch{return t}}catch(e){throw console.error("Error decoding data:",e),new Error("Decoding failed")}})(t):null}catch(e){throw console.error("Failed to retrieve data:",e),new Error("Failed to retrieve data")}},FZ=e=>{if(!e)throw new Error("Key must be provided");try{localStorage.removeItem(e)}catch(e){throw console.error("Failed to delete data:",e),new Error("Failed to delete data")}},TZ=()=>{try{localStorage.clear()}catch(e){throw console.error("Failed to clear data:",e),new Error("Failed to clear data")}};export{Je as AADHAAR_REGEX,ke as ALPHABET_ONLY_REGEX,Ze as ALPHANUMERIC_REGEX,Ne as ALPHANUMERIC_WITH_ROUND_BRACES_REGEX,q as Accordion,gh as AddContentButton,Jo as AddResourceButton,fh as AiToggle,Gf as AllProjectsDropdown,Uf as AppHeader,Kg as AttachImage,CC as AttachmentButton,pC as Avatar,lt as BASE64_REGEX,ct as BINARY_NUMBER_REGEX,xm as BarChart,OZ as Box,tl as BrowserTabs,R as Button,yt as CAMEL_CASE_REGEX,kt as CERTIFICATES_NAME_REGEX,je as CREDIT_CARD_REGEX,dt as CURRENCY_GENERIC_REGEX,ch as ChatModal,_ as Checkbox,fe as Chip,uh as ChipWithCount,rh as ChooseFile,ce as Col,$b as Comments,ow as ConditionalDropdown,qb as ConnectingBranch,ae as Container,eh as CreateVariableSlider,ze as DATE_REGEX,ot as DECIMAL_NUMBER_REGEX,nt as DRIVING_LICENSE_REGEX,xt as DYNAMIC_VALUE_PATTERN_REGEX,Ht as DYNAMIC_VALUE_TYPE_REGEX,Dt as DYNAMIC_VALUE_WITH_VALID_BRACKETS_REGEX,Qt as DYNAMIC_VALUE__PLACEHOLDER_REGEX,ed as DashboardDonutChart,Of as DatePicker,$o as DonutChart,_g as DownloadClient,Tf as DragAndDrop,U as Drawer,iA as Dropzone,vt as ELEMENTS_TRAILING_SPACE_REGEX,Bt as ELEMENTS_WHITE_SPACE_REGEX,Be as EMAIL_REGEX,Ua as EditLabel,mC as EditTextField,Rb as Editor,ph as ErrorBoundary,Gg as Excel,pe as ExpandableMenu,Oe as FILE_EXTENSION_REGEX,wt as FILE_NAME_REGEX,$g as FieldSet,lA as FileDropzone,aA as FilePreview,Fa as Form,nw as FormatString,We as GSTIN_REGEX,st as HEXADECIMAL_NUMBER_REGEX,xe as HEX_COLOR_REGEX,at as HSL_COLOR_REGEX,At as HTML_ATTRIBUTE_REGEX,Re as HTML_TAG_REGEX,nl as HighlightText,sh as HistoryCard,$e as INDIAN_CURRENCY_REGEX,tt as INDIAN_PASSPORT_REGEX,Ue as INDIAN_PHONE_REGEX,Ke as INDIAN_PIN_CODE_REGEX,et as INTERNATIONAL_PHONE_REGEX,Le as IPV4_REGEX,Qe as IPV6_REGEX,F as Icon,jf as IconButton,Ug as IconRadialChart,AC as IconRadioGroup,de as Input,Ta as InputWithDropdown,Ct as LINKEDIN_PROFILE_REGEX,gC as LabelEditTextField,ei as LazyLoad,Jg as LineChart,Ch as Link,Se as MAC_ADDRESS_REGEX,mt as MEMORY_VALIDATION_REGEX,iC as MachineInputField,St as MenuOption,lh as MessageBox,Ra as MiniModal,ih as MobileSkin,Ff as Modal,Xg as ModuleChip,Dm as MultiRadialChart,Ae as MultiSelect,oC as NLPInput,bt as NLP_DESCRIPTION_REGEX,Ve as NUMBERS_ONLY_REGEX,pt as NUMBER_REGEX,PZ as NoDataContent,Ga as OverviewModal,qe as PAN_CARD_REGEX,It as PARAMETER_ALPHANUMERIC_REGEX,De as PASSWORD_COMPLEX_REGEX,He as PASSWORD_SIMPLE_REGEX,Me as PHONE_REGEX,ye as POSTAL_CODE_REGEX,Kf as Paper,fw as PhoneInputField,Yf as PieChart,ew as PopUpModal,yw as PrePostTable,nh as ProgressBar,ah as Prompt,dh as PromptContainer,it as RGB_COLOR_REGEX,ft as ROMAN_NUMERALS_REGEX,ue as RadialChart,rA as RadioButton,oA as RadioGroup,$d as Recaptcha,le as Row,ht as SCRIPT_REGEX,Fe as SSN_REGEX,Et as STEP_GROUP_NAME_REGEX,oh as ScriptSwitchButton,al as Search,ve as Select,dC as SequentialConnectingBranch,Sf as StateDropdown,Nt as StatusButton,Wg as StatusCard,Dw as StepLandingTable,Ah as SwitchButton,Pe as TIME_REGEX,ut as TWITTER_HANDLE_REGEX,Wo as Table,$a as TableTree,th as TableWithAccordion,el as Tabs,Zt as TextArea,zZ as TextEditor,Y as ThemeProvider,ie as Toaster,ol as Toastify,se as Toggle,uC as ToggleSwitch,W as Tooltip,T as Typography,gt as UNIT_REGEX,Ie as URL_REGEX,Ye as USERNAME_REGEX,rt as USERNAME_SPECIAL_REGEX,Xe as US_ZIP_CODE_REGEX,Te as UUID_REGEX,_e as VEHICLE_REGISTRATION_REGEX,qg as VariableDropdown,Rf as VariableInput,vw as VariableSuggestionInputDropDown,Ge as WHITESPACE_REGEX,Ew as addPrePostStepGroup,bw as addStepGroup,hC as capitalize,K as checkEmpty,TZ as clearStore,Eh as compareArrays,mh as compareObjects,Cw as convertFormDataToObject,Lm as convertToBytes,Qm as convertToGB,Rg as debounce,FZ as deleteStoreValue,aC as ffid,hh as findAndInsert,mw as formatDate,Mm as getEncryptedData,eA as getExtension,tA as getExtensionWithPeriod,Gb as getSequentialPayload,jZ as getStoreValue,uw as getTreeDetails,pw as handleBeforeUnload,hw as handleTreeNodeExpandCollapse,gw as handleTreeNodeSect,Aw as hasDuplicateFile,cC as isEmptyObject,dw as rearrangeDragItem,Jb as saveFileFromBlob,SZ as setStoreValue,ym as throttle,Al as toast,$ as truncateText,he as useClickOutside,nA as useFileDropzone,il as useKeyboardActions,ti as useTheme};
61
61
  //# sourceMappingURL=index.esm.js.map