You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

2 lines
836 KiB

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.DraftMaster=t(require("react"),require("react-dom")):e.DraftMaster=t(e.React,e.ReactDOM)}(this,function(e,t){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=170)}([function(t,n){t.exports=e},function(e,t,n){"use strict";var r=n(172),o=n(27),i=n(12),a=n(188),s=n(23),c=n(52),u=n(55),l=n(83),f=n(189),p=n(58),d=n(39),h=n(7),g=n(81),m=n(6),y=n(63),v=n(101),b=n(29),w=n(247),k=n(99),S=n(250),E=n(8),x=n(102),_=n(254),C={Editor:f,EditorBlock:p,EditorState:m,CompositeDecorator:a,Entity:d,EntityInstance:g,BlockMapBuilder:o,CharacterMetadata:i,ContentBlock:s,ContentState:c,SelectionState:b,AtomicBlockUtils:r,KeyBindingUtil:y,Modifier:h,RichUtils:v,DefaultDraftBlockRenderMap:u,DefaultDraftInlineStyle:l,convertFromHTML:k,convertFromRaw:S,convertToRaw:w,genKey:E,getDefaultKeyBinding:x,getVisibleSelectionRect:_};e.exports=C},function(e,t,n){"use strict";var r=n(263);n.d(t,"P",function(){return r.a});var o=n(268);n.d(t,"b",function(){return o.a});var i=n(104);n.d(t,"c",function(){return i.a});var a=n(269);n.d(t,"g",function(){return a.a});var s=n(270);n.d(t,"h",function(){return s.a});var c=n(271);n.d(t,"i",function(){return c.a});var u=n(272);n.d(t,"j",function(){return u.a});var l=n(273);n.d(t,"k",function(){return l.a});var f=n(274);n.d(t,"l",function(){return f.a});var p=n(275);n.d(t,"m",function(){return p.a});var d=n(276);n.d(t,"n",function(){return d.a});var h=n(277);n.d(t,"o",function(){return h.a});var g=n(278);n.d(t,"p",function(){return g.a});var m=(n(105),n(279));n.d(t,"r",function(){return m.a});var y=n(106);n.d(t,"s",function(){return y.a});var v=n(280);n.d(t,"t",function(){return v.a});var b=n(281);n.d(t,"u",function(){return b.a});var w=n(107);n.d(t,"w",function(){return w.a});var k=n(282);n.d(t,"x",function(){return k.a});var S=n(283);n.d(t,"y",function(){return S.a});var E=n(284);n.d(t,"z",function(){return E.a});var x=n(285);n.d(t,"A",function(){return x.a});var _=n(286);n.d(t,"B",function(){return _.a});var C=n(312);n.d(t,"C",function(){return C.a});var O=n(313);n.d(t,"E",function(){return O.a});var T=n(314);n.d(t,"F",function(){return T.a});var A=n(315);n.d(t,"H",function(){return A.a});var P=n(316);n.d(t,"I",function(){return P.a});var L=n(320);n.d(t,"d",function(){return L.a}),n.d(t,"e",function(){return L.b}),n.d(t,"f",function(){return L.c}),n.d(t,"q",function(){return L.d}),n.d(t,"D",function(){return L.e});var R=n(321);n.d(t,"a",function(){return R.a});var D=n(322);n.d(t,"G",function(){return D.a}),n.d(t,"J",function(){return D.b});var I=n(323);n.d(t,"K",function(){return I.a});var M=n(324);n.d(t,"L",function(){return M.a});var j=n(325);n.d(t,"v",function(){return j.a});var N=n(326);n.d(t,"M",function(){return N.a});var B=n(327);n.d(t,"N",function(){return B.a});var F=n(328);n.d(t,"O",function(){return F.a});var K=n(329);n.d(t,"Q",function(){return K.a});var q=n(67);n.d(t,"R",function(){return q.a})},function(e,t,n){!function(t,n){e.exports=n()}(0,function(){"use strict";function e(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function t(e){return i(e)?e:A(e)}function n(e){return a(e)?e:P(e)}function r(e){return s(e)?e:L(e)}function o(e){return i(e)&&!c(e)?e:R(e)}function i(e){return!(!e||!e[un])}function a(e){return!(!e||!e[ln])}function s(e){return!(!e||!e[fn])}function c(e){return a(e)||s(e)}function u(e){return!(!e||!e[pn])}function l(e){return e.value=!1,e}function f(e){e&&(e.value=!0)}function p(){}function d(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 h(e){return void 0===e.size&&(e.size=e.__iterate(m)),e.size}function g(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?h(e)+t:t}function m(){return!0}function y(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function v(e,t){return w(e,t,0)}function b(e,t){return w(e,t,t)}function w(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}function k(e){this.next=e}function S(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 E(){return{value:void 0,done:!0}}function x(e){return!!O(e)}function _(e){return e&&"function"==typeof e.next}function C(e){var t=O(e);return t&&t.call(e)}function O(e){var t=e&&(Sn&&e[Sn]||e[En]);if("function"==typeof t)return t}function T(e){return e&&"number"==typeof e.length}function A(e){return null===e||void 0===e?B():i(e)?e.toSeq():q(e)}function P(e){return null===e||void 0===e?B().toKeyedSeq():i(e)?a(e)?e.toSeq():e.fromEntrySeq():F(e)}function L(e){return null===e||void 0===e?B():i(e)?a(e)?e.entrySeq():e.toIndexedSeq():K(e)}function R(e){return(null===e||void 0===e?B():i(e)?a(e)?e.entrySeq():e:K(e)).toSetSeq()}function D(e){this._array=e,this.size=e.length}function I(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function M(e){this._iterable=e,this.size=e.length||e.size}function j(e){this._iterator=e,this._iteratorCache=[]}function N(e){return!(!e||!e[_n])}function B(){return Cn||(Cn=new D([]))}function F(e){var t=Array.isArray(e)?new D(e).fromEntrySeq():_(e)?new j(e).fromEntrySeq():x(e)?new M(e).fromEntrySeq():"object"==typeof e?new I(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function K(e){var t=U(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function q(e){var t=U(e)||"object"==typeof e&&new I(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function U(e){return T(e)?new D(e):_(e)?new j(e):x(e)?new M(e):void 0}function z(e,t,n,r){var o=e._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function H(e,t,n,r){var o=e._cache;if(o){var i=o.length-1,a=0;return new k(function(){var e=o[n?i-a:a];return a++>i?E():S(t,r?e[0]:a-1,e[1])})}return e.__iteratorUncached(t,n)}function V(e,t){return t?W(t,e,"",{"":e}):G(e)}function W(e,t,n,r){return Array.isArray(t)?e.call(r,n,L(t).map(function(n,r){return W(e,n,r,t)})):$(t)?e.call(r,n,P(t).map(function(n,r){return W(e,n,r,t)})):t}function G(e){return Array.isArray(e)?L(e).map(G).toList():$(e)?P(e).map(G).toMap():e}function $(e){return e&&(e.constructor===Object||void 0===e.constructor)}function X(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===t||e!==e&&t!==t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function Y(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)||s(e)!==s(t)||u(e)!==u(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(u(e)){var r=e.entries();return t.every(function(e,t){var o=r.next().value;return o&&X(o[1],e)&&(n||X(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 l=e;e=t,t=l}var f=!0,p=t.__iterate(function(t,r){if(n?!e.has(t):o?!X(t,e.get(r,mn)):!X(e.get(r,mn),t))return f=!1,!1});return f&&e.size===p}function Z(e,t){if(!(this instanceof Z))return new Z(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(On)return On;On=this}}function J(e,t){if(!e)throw new Error(t)}function Q(e,t,n){if(!(this instanceof Q))return new Q(e,t,n);if(J(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(Tn)return Tn;Tn=this}}function ee(){throw TypeError("Abstract")}function te(){}function ne(){}function re(){}function oe(e){return e>>>1&1073741824|3221225471&e}function ie(e){if(!1===e||null===e||void 0===e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null===e||void 0===e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){if(e!==e||e===1/0)return 0;var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)e/=4294967295,n^=e;return oe(n)}if("string"===t)return e.length>jn?ae(e):se(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return ce(e);if("function"==typeof e.toString)return se(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function ae(e){var t=Fn[e];return void 0===t&&(t=se(e),Bn===Nn&&(Bn=0,Fn={}),Bn++,Fn[e]=t),t}function se(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return oe(t)}function ce(e){var t;if(Dn&&void 0!==(t=An.get(e)))return t;if(void 0!==(t=e[Mn]))return t;if(!Rn){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Mn]))return t;if(void 0!==(t=ue(e)))return t}if(t=++In,1073741824&In&&(In=0),Dn)An.set(e,t);else{if(void 0!==Ln&&!1===Ln(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Rn)Object.defineProperty(e,Mn,{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[Mn]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Mn]=t}}return t}function ue(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}function le(e){J(e!==1/0,"Cannot perform this action with an infinite size.")}function fe(e){return null===e||void 0===e?Se():pe(e)&&!u(e)?e:Se().withMutations(function(t){var r=n(e);le(r.size),r.forEach(function(e,n){return t.set(n,e)})})}function pe(e){return!(!e||!e[Kn])}function de(e,t){this.ownerID=e,this.entries=t}function he(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function ge(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function me(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function ye(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function ve(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&we(e._root)}function be(e,t){return S(e,t[0],t[1])}function we(e,t){return{node:e,index:0,__prev:t}}function ke(e,t,n,r){var o=Object.create(qn);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Se(){return Un||(Un=ke(0))}function Ee(e,t,n){var r,o;if(e._root){var i=l(yn),a=l(vn);if(r=xe(e._root,e.__ownerID,0,void 0,t,n,i,a),!a.value)return e;o=e.size+(i.value?n===mn?-1:1:0)}else{if(n===mn)return e;o=1,r=new de(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?ke(o,r):Se()}function xe(e,t,n,r,o,i,a,s){return e?e.update(t,n,r,o,i,a,s):i===mn?e:(f(s),f(a),new ye(t,r,[o,i]))}function _e(e){return e.constructor===ye||e.constructor===me}function Ce(e,t,n,r,o){if(e.keyHash===r)return new me(t,r,[e.entry,o]);var i,a=(0===n?e.keyHash:e.keyHash>>>n)&gn,s=(0===n?r:r>>>n)&gn;return new he(t,1<<a|1<<s,a===s?[Ce(e,t,n+dn,r,o)]:(i=new ye(t,r,o),a<s?[e,i]:[i,e]))}function Oe(e,t,n,r){e||(e=new p);for(var o=new ye(e,ie(n),[n,r]),i=0;i<t.length;i++){var a=t[i];o=o.update(e,0,void 0,a[0],a[1])}return o}function Te(e,t,n,r){for(var o=0,i=0,a=new Array(n),s=0,c=1,u=t.length;s<u;s++,c<<=1){var l=t[s];void 0!==l&&s!==r&&(o|=c,a[i++]=l)}return new he(e,o,a)}function Ae(e,t,n,r,o){for(var i=0,a=new Array(hn),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[i++]:void 0;return a[r]=o,new ge(e,i+1,a)}function Pe(e,t,r){for(var o=[],a=0;a<r.length;a++){var s=r[a],c=n(s);i(s)||(c=c.map(function(e){return V(e)})),o.push(c)}return De(e,t,o)}function Le(e,t,n){return e&&e.mergeDeep&&i(t)?e.mergeDeep(t):X(e,t)?e:t}function Re(e){return function(t,n,r){if(t&&t.mergeDeepWith&&i(n))return t.mergeDeepWith(e,n);var o=e(t,n,r);return X(t,o)?t:o}}function De(e,t,n){return n=n.filter(function(e){return 0!==e.size}),0===n.length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations(function(e){for(var r=t?function(n,r){e.update(r,mn,function(e){return e===mn?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 Ie(e,t,n,r){var o=e===mn,i=t.next();if(i.done){var a=o?n:e,s=r(a);return s===a?e:s}J(o||e&&e.set,"invalid keyPath");var c=i.value,u=o?mn:e.get(c,mn),l=Ie(u,t,n,r);return l===u?e:l===mn?e.remove(c):(o?Se():e).set(c,l)}function Me(e){return e-=e>>1&1431655765,e=(858993459&e)+(e>>2&858993459),e=e+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function je(e,t,n,r){var o=r?e:d(e);return o[t]=n,o}function Ne(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var i=new Array(o),a=0,s=0;s<o;s++)s===t?(i[s]=n,a=-1):i[s]=e[s+a];return i}function Be(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var o=new Array(r),i=0,a=0;a<r;a++)a===t&&(i=1),o[a]=e[a+i];return o}function Fe(e){var t=He();if(null===e||void 0===e)return t;if(Ke(e))return e;var n=r(e),o=n.size;return 0===o?t:(le(o),o>0&&o<hn?ze(0,o,dn,null,new qe(n.toArray())):t.withMutations(function(e){e.setSize(o),n.forEach(function(t,n){return e.set(n,t)})}))}function Ke(e){return!(!e||!e[Wn])}function qe(e,t){this.array=e,this.ownerID=t}function Ue(e,t){function n(e,t,n){return 0===t?r(e,n):o(e,t,n)}function r(e,n){var r=n===s?c&&c.array:e&&e.array,o=n>i?0:i-n,u=a-n;return u>hn&&(u=hn),function(){if(o===u)return Xn;var e=t?--u:o++;return r&&r[e]}}function o(e,r,o){var s,c=e&&e.array,u=o>i?0:i-o>>r,l=1+(a-o>>r);return l>hn&&(l=hn),function(){for(;;){if(s){var e=s();if(e!==Xn)return e;s=null}if(u===l)return Xn;var i=t?--l:u++;s=n(c&&c[i],r-dn,o+(i<<r))}}}var i=e._origin,a=e._capacity,s=Ze(a),c=e._tail;return n(e._root,e._level,0)}function ze(e,t,n,r,o,i,a){var s=Object.create(Gn);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function He(){return $n||($n=ze(0,0,dn))}function Ve(e,t,n){if((t=g(e,t))!==t)return e;if(t>=e.size||t<0)return e.withMutations(function(e){t<0?Xe(e,t).set(0,n):Xe(e,0,t+1).set(t,n)});t+=e._origin;var r=e._tail,o=e._root,i=l(vn);return t>=Ze(e._capacity)?r=We(r,e.__ownerID,0,t,n,i):o=We(o,e.__ownerID,e._level,t,n,i),i.value?e.__ownerID?(e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e):ze(e._origin,e._capacity,e._level,o,r):e}function We(e,t,n,r,o,i){var a=r>>>n&gn,s=e&&a<e.array.length;if(!s&&void 0===o)return e;var c;if(n>0){var u=e&&e.array[a],l=We(u,t,n-dn,r,o,i);return l===u?e:(c=Ge(e,t),c.array[a]=l,c)}return s&&e.array[a]===o?e:(f(i),c=Ge(e,t),void 0===o&&a===c.array.length-1?c.array.pop():c.array[a]=o,c)}function Ge(e,t){return t&&e&&t===e.ownerID?e:new qe(e?e.array.slice():[],t)}function $e(e,t){if(t>=Ze(e._capacity))return e._tail;if(t<1<<e._level+dn){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&gn],r-=dn;return n}}function Xe(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new p,o=e._origin,i=e._capacity,a=o+t,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return e;if(a>=s)return e.clear();for(var c=e._level,u=e._root,l=0;a+l<0;)u=new qe(u&&u.array.length?[void 0,u]:[],r),c+=dn,l+=1<<c;l&&(a+=l,o+=l,s+=l,i+=l);for(var f=Ze(i),d=Ze(s);d>=1<<c+dn;)u=new qe(u&&u.array.length?[u]:[],r),c+=dn;var h=e._tail,g=d<f?$e(e,s-1):d>f?new qe([],r):h;if(h&&d>f&&a<i&&h.array.length){u=Ge(u,r);for(var m=u,y=c;y>dn;y-=dn){var v=f>>>y&gn;m=m.array[v]=Ge(m.array[v],r)}m.array[f>>>dn&gn]=h}if(s<i&&(g=g&&g.removeAfter(r,0,s)),a>=d)a-=d,s-=d,c=dn,u=null,g=g&&g.removeBefore(r,0,a);else if(a>o||d<f){for(l=0;u;){var b=a>>>c&gn;if(b!==d>>>c&gn)break;b&&(l+=(1<<c)*b),c-=dn,u=u.array[b]}u&&a>o&&(u=u.removeBefore(r,c,a-l)),u&&d<f&&(u=u.removeAfter(r,c,d-l)),l&&(a-=l,s-=l)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=c,e._root=u,e._tail=g,e.__hash=void 0,e.__altered=!0,e):ze(a,s,c,u,g)}function Ye(e,t,n){for(var o=[],a=0,s=0;s<n.length;s++){var c=n[s],u=r(c);u.size>a&&(a=u.size),i(c)||(u=u.map(function(e){return V(e)})),o.push(u)}return a>e.size&&(e=e.setSize(a)),De(e,t,o)}function Ze(e){return e<hn?0:e-1>>>dn<<dn}function Je(e){return null===e||void 0===e?tt():Qe(e)?e:tt().withMutations(function(t){var r=n(e);le(r.size),r.forEach(function(e,n){return t.set(n,e)})})}function Qe(e){return pe(e)&&u(e)}function et(e,t,n,r){var o=Object.create(Je.prototype);return o.size=e?e.size:0,o._map=e,o._list=t,o.__ownerID=n,o.__hash=r,o}function tt(){return Yn||(Yn=et(Se(),He()))}function nt(e,t,n){var r,o,i=e._map,a=e._list,s=i.get(t),c=void 0!==s;if(n===mn){if(!c)return e;a.size>=hn&&a.size>=2*i.size?(o=a.filter(function(e,t){return void 0!==e&&s!==t}),r=o.toKeyedSeq().map(function(e){return e[0]}).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=i.remove(t),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(c){if(n===a.get(s)[1])return e;r=i,o=a.set(s,[t,n])}else r=i.set(t,a.size),o=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):et(r,o)}function rt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function ot(e){this._iter=e,this.size=e.size}function it(e){this._iter=e,this.size=e.size}function at(e){this._iter=e,this.size=e.size}function st(e){var t=Tt(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=At,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===kn){var r=e.__iterator(t,n);return new k(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===wn?bn:wn,n)},t}function ct(e,t,n){var r=Tt(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var i=e.get(r,mn);return i===mn?o:t.call(n,i,r,e)},r.__iterateUncached=function(r,o){var i=this;return e.__iterate(function(e,o,a){return!1!==r(t.call(n,e,o,a),o,i)},o)},r.__iteratorUncached=function(r,o){var i=e.__iterator(kn,o);return new k(function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return S(r,s,t.call(n,a[1],s,e),o)})},r}function ut(e,t){var n=Tt(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=st(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=At,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 lt(e,t,n,r){var o=Tt(e);return r&&(o.has=function(r){var o=e.get(r,mn);return o!==mn&&!!t.call(n,o,r,e)},o.get=function(r,o){var i=e.get(r,mn);return i!==mn&&t.call(n,i,r,e)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return e.__iterate(function(e,i,c){if(t.call(n,e,i,c))return s++,o(e,r?i:s-1,a)},i),s},o.__iteratorUncached=function(o,i){var a=e.__iterator(kn,i),s=0;return new k(function(){for(;;){var i=a.next();if(i.done)return i;var c=i.value,u=c[0],l=c[1];if(t.call(n,l,u,e))return S(o,r?u:s++,l,i)}})},o}function ft(e,t,n){var r=fe().asMutable();return e.__iterate(function(o,i){r.update(t.call(n,o,i,e),0,function(e){return e+1})}),r.asImmutable()}function pt(e,t,n){var r=a(e),o=(u(e)?Je():fe()).asMutable();e.__iterate(function(i,a){o.update(t.call(n,i,a,e),function(e){return e=e||[],e.push(r?[a,i]:i),e})});var i=Ot(e);return o.map(function(t){return xt(e,i(t))})}function dt(e,t,n,r){var o=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n===1/0?n=o:n|=0),y(t,n,o))return e;var i=v(t,o),a=b(n,o);if(i!==i||a!==a)return dt(e.toSeq().cacheResult(),t,n,r);var s,c=a-i;c===c&&(s=c<0?0:c);var u=Tt(e);return u.size=0===s?s:e.size&&s||void 0,!r&&N(e)&&s>=0&&(u.get=function(t,n){return t=g(this,t),t>=0&&t<s?e.get(t+i,n):n}),u.__iterateUncached=function(t,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,c=!0,u=0;return e.__iterate(function(e,n){if(!c||!(c=a++<i))return u++,!1!==t(e,r?n:u-1,o)&&u!==s}),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var o=0!==s&&e.__iterator(t,n),a=0,c=0;return new k(function(){for(;a++<i;)o.next();if(++c>s)return E();var e=o.next();return r||t===wn?e:t===bn?S(t,c-1,void 0,e):S(t,c-1,e.value[1],e)})},u}function ht(e,t,n){var r=Tt(e);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return e.__iterate(function(e,o,s){return t.call(n,e,o,s)&&++a&&r(e,o,i)}),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=e.__iterator(kn,o),s=!0;return new k(function(){if(!s)return E();var e=a.next();if(e.done)return e;var o=e.value,c=o[0],u=o[1];return t.call(n,u,c,i)?r===kn?e:S(r,c,u,e):(s=!1,E())})},r}function gt(e,t,n,r){var o=Tt(e);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,c=0;return e.__iterate(function(e,i,u){if(!s||!(s=t.call(n,e,i,u)))return c++,o(e,r?i:c-1,a)}),c},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=e.__iterator(kn,i),c=!0,u=0;return new k(function(){var e,i,l;do{if(e=s.next(),e.done)return r||o===wn?e:o===bn?S(o,u++,void 0,e):S(o,u++,e.value[1],e);var f=e.value;i=f[0],l=f[1],c&&(c=t.call(n,l,i,a))}while(c);return o===kn?e:S(o,i,l,e)})},o}function mt(e,t){var r=a(e),o=[e].concat(t).map(function(e){return i(e)?r&&(e=n(e)):e=r?F(e):K(Array.isArray(e)?e:[e]),e}).filter(function(e){return 0!==e.size});if(0===o.length)return e;if(1===o.length){var c=o[0];if(c===e||r&&a(c)||s(e)&&s(c))return c}var u=new D(o);return r?u=u.toKeyedSeq():s(e)||(u=u.toSetSeq()),u=u.flatten(!0),u.size=o.reduce(function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}},0),u}function yt(e,t,n){var r=Tt(e);return r.__iterateUncached=function(r,o){function a(e,u){var l=this;e.__iterate(function(e,o){return(!t||u<t)&&i(e)?a(e,u+1):!1===r(e,n?o:s++,l)&&(c=!0),!c},o)}var s=0,c=!1;return a(e,0),s},r.__iteratorUncached=function(r,o){var a=e.__iterator(r,o),s=[],c=0;return new k(function(){for(;a;){var e=a.next();if(!1===e.done){var u=e.value;if(r===kn&&(u=u[1]),t&&!(s.length<t)||!i(u))return n?e:S(r,c++,u,e);s.push(a),a=u.__iterator(r,o)}else a=s.pop()}return E()})},r}function vt(e,t,n){var r=Ot(e);return e.toSeq().map(function(o,i){return r(t.call(n,o,i,e))}).flatten(!0)}function bt(e,t){var n=Tt(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return e.__iterate(function(e,r){return(!i||!1!==n(t,i++,o))&&!1!==n(e,i++,o)},r),i},n.__iteratorUncached=function(n,r){var o,i=e.__iterator(wn,r),a=0;return new k(function(){return(!o||a%2)&&(o=i.next(),o.done)?o:a%2?S(n,a++,t):S(n,a++,o.value,o)})},n}function wt(e,t,n){t||(t=Pt);var r=a(e),o=0,i=e.toSeq().map(function(t,r){return[r,t,o++,n?n(t,r,e):t]}).toArray();return i.sort(function(e,n){return t(e[3],n[3])||e[2]-n[2]}).forEach(r?function(e,t){i[t].length=2}:function(e,t){i[t]=e[1]}),r?P(i):s(e)?L(i):R(i)}function kt(e,t,n){if(t||(t=Pt),n){var r=e.toSeq().map(function(t,r){return[t,n(t,r,e)]}).reduce(function(e,n){return St(t,e[1],n[1])?n:e});return r&&r[0]}return e.reduce(function(e,n){return St(t,e,n)?n:e})}function St(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(void 0===n||null===n||n!==n)||r>0}function Et(e,n,r){var o=Tt(e);return o.size=new D(r).map(function(e){return e.size}).min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(wn,t),o=0;!(n=r.next()).done&&!1!==e(n.value,o++,this););return o},o.__iteratorUncached=function(e,o){var i=r.map(function(e){return e=t(e),C(o?e.reverse():e)}),a=0,s=!1;return new k(function(){var t;return s||(t=i.map(function(e){return e.next()}),s=t.some(function(e){return e.done})),s?E():S(e,a++,n.apply(null,t.map(function(e){return e.value})))})},o}function xt(e,t){return N(e)?t:e.constructor(t)}function _t(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function Ct(e){return le(e.size),h(e)}function Ot(e){return a(e)?n:s(e)?r:o}function Tt(e){return Object.create((a(e)?P:s(e)?L:R).prototype)}function At(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):A.prototype.cacheResult.call(this)}function Pt(e,t){return e>t?1:e<t?-1:0}function Lt(e){var n=C(e);if(!n){if(!T(e))throw new TypeError("Expected iterable or array-like: "+e);n=C(t(e))}return n}function Rt(e,t){var n,r=function(i){if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var a=Object.keys(e);Mt(o,a),o.size=a.length,o._name=t,o._keys=a,o._defaultValues=e}this._map=fe(i)},o=r.prototype=Object.create(Zn);return o.constructor=r,r}function Dt(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function It(e){return e._name||e.constructor.name||"Record"}function Mt(e,t){try{t.forEach(jt.bind(void 0,e))}catch(e){}}function jt(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){J(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Nt(e){return null===e||void 0===e?qt():Bt(e)&&!u(e)?e:qt().withMutations(function(t){var n=o(e);le(n.size),n.forEach(function(e){return t.add(e)})})}function Bt(e){return!(!e||!e[Jn])}function Ft(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 Kt(e,t){var n=Object.create(Qn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function qt(){return er||(er=Kt(Se()))}function Ut(e){return null===e||void 0===e?Vt():zt(e)?e:Vt().withMutations(function(t){var n=o(e);le(n.size),n.forEach(function(e){return t.add(e)})})}function zt(e){return Bt(e)&&u(e)}function Ht(e,t){var n=Object.create(tr);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Vt(){return nr||(nr=Ht(tt()))}function Wt(e){return null===e||void 0===e?Xt():Gt(e)?e:Xt().unshiftAll(e)}function Gt(e){return!(!e||!e[rr])}function $t(e,t,n,r){var o=Object.create(or);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Xt(){return ir||(ir=$t(0))}function Yt(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 Zt(e,t){return t}function Jt(e,t){return[t,e]}function Qt(e){return function(){return!e.apply(this,arguments)}}function en(e){return function(){return-e.apply(this,arguments)}}function tn(e){return"string"==typeof e?JSON.stringify(e):String(e)}function nn(){return d(arguments)}function rn(e,t){return e<t?1:e>t?-1:0}function on(e){if(e.size===1/0)return 0;var t=u(e),n=a(e),r=t?1:0;return an(e.__iterate(n?t?function(e,t){r=31*r+sn(ie(e),ie(t))|0}:function(e,t){r=r+sn(ie(e),ie(t))|0}:t?function(e){r=31*r+ie(e)|0}:function(e){r=r+ie(e)|0}),r)}function an(e,t){return t=Pn(t,3432918353),t=Pn(t<<15|t>>>-15,461845907),t=Pn(t<<13|t>>>-13,5),t=(t+3864292196|0)^e,t=Pn(t^t>>>16,2246822507),t=Pn(t^t>>>13,3266489909),t=oe(t^t>>>16)}function sn(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}var cn=Array.prototype.slice;e(n,t),e(r,t),e(o,t),t.isIterable=i,t.isKeyed=a,t.isIndexed=s,t.isAssociative=c,t.isOrdered=u,t.Keyed=n,t.Indexed=r,t.Set=o;var un="@@__IMMUTABLE_ITERABLE__@@",ln="@@__IMMUTABLE_KEYED__@@",fn="@@__IMMUTABLE_INDEXED__@@",pn="@@__IMMUTABLE_ORDERED__@@",dn=5,hn=1<<dn,gn=hn-1,mn={},yn={value:!1},vn={value:!1},bn=0,wn=1,kn=2,Sn="function"==typeof Symbol&&Symbol.iterator,En="@@iterator",xn=Sn||En;k.prototype.toString=function(){return"[Iterator]"},k.KEYS=bn,k.VALUES=wn,k.ENTRIES=kn,k.prototype.inspect=k.prototype.toSource=function(){return this.toString()},k.prototype[xn]=function(){return this},e(A,t),A.of=function(){return A(arguments)},A.prototype.toSeq=function(){return this},A.prototype.toString=function(){return this.__toString("Seq {","}")},A.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},A.prototype.__iterate=function(e,t){return z(this,e,t,!0)},A.prototype.__iterator=function(e,t){return H(this,e,t,!0)},e(P,A),P.prototype.toKeyedSeq=function(){return this},e(L,A),L.of=function(){return L(arguments)},L.prototype.toIndexedSeq=function(){return this},L.prototype.toString=function(){return this.__toString("Seq [","]")},L.prototype.__iterate=function(e,t){return z(this,e,t,!1)},L.prototype.__iterator=function(e,t){return H(this,e,t,!1)},e(R,A),R.of=function(){return R(arguments)},R.prototype.toSetSeq=function(){return this},A.isSeq=N,A.Keyed=P,A.Set=R,A.Indexed=L;var _n="@@__IMMUTABLE_SEQ__@@";A.prototype[_n]=!0,e(D,L),D.prototype.get=function(e,t){return this.has(e)?this._array[g(this,e)]:t},D.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},D.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,o=0;return new k(function(){return o>r?E():S(e,o,n[t?r-o++:o++])})},e(I,P),I.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},I.prototype.has=function(e){return this._object.hasOwnProperty(e)},I.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[t?o-i:i];if(!1===e(n[a],a,this))return i+1}return i},I.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,i=0;return new k(function(){var a=r[t?o-i:i];return i++>o?E():S(e,a,n[a])})},I.prototype[pn]=!0,e(M,L),M.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=this._iterable,r=C(n),o=0;if(_(r))for(var i;!(i=r.next()).done&&!1!==e(i.value,o++,this););return o},M.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterable,r=C(n);if(!_(r))return new k(E);var o=0;return new k(function(){var t=r.next();return t.done?t:S(e,o++,t.value)})},e(j,L),j.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n=this._iterator,r=this._iteratorCache,o=0;o<r.length;)if(!1===e(r[o],o++,this))return o;for(var i;!(i=n.next()).done;){var a=i.value;if(r[o]=a,!1===e(a,o++,this))break}return o},j.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,o=0;return new k(function(){if(o>=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return S(e,o,r[o++])})};var Cn;e(Z,L),Z.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Z.prototype.get=function(e,t){return this.has(e)?this._value:t},Z.prototype.includes=function(e){return X(this._value,e)},Z.prototype.slice=function(e,t){var n=this.size;return y(e,t,n)?this:new Z(this._value,b(t,n)-v(e,n))},Z.prototype.reverse=function(){return this},Z.prototype.indexOf=function(e){return X(this._value,e)?0:-1},Z.prototype.lastIndexOf=function(e){return X(this._value,e)?this.size:-1},Z.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},Z.prototype.__iterator=function(e,t){var n=this,r=0;return new k(function(){return r<n.size?S(e,r++,n._value):E()})},Z.prototype.equals=function(e){return e instanceof Z?X(this._value,e._value):Y(e)};var On;e(Q,L),Q.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},Q.prototype.get=function(e,t){return this.has(e)?this._start+g(this,e)*this._step:t},Q.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},Q.prototype.slice=function(e,t){return y(e,t,this.size)?this:(e=v(e,this.size),t=b(t,this.size),t<=e?new Q(0,0):new Q(this.get(e,this._end),this.get(t,this._end),this._step))},Q.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},Q.prototype.lastIndexOf=function(e){return this.indexOf(e)},Q.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;i<=n;i++){if(!1===e(o,i,this))return i+1;o+=t?-r:r}return i},Q.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;return new k(function(){var a=o;return o+=t?-r:r,i>n?E():S(e,i++,a)})},Q.prototype.equals=function(e){return e instanceof Q?this._start===e._start&&this._end===e._end&&this._step===e._step:Y(this,e)};var Tn;e(ee,t),e(te,ee),e(ne,ee),e(re,ee),ee.Keyed=te,ee.Indexed=ne,ee.Set=re;var An,Pn="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){e|=0,t|=0;var n=65535&e,r=65535&t;return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0},Ln=Object.isExtensible,Rn=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}(),Dn="function"==typeof WeakMap;Dn&&(An=new WeakMap);var In=0,Mn="__immutablehash__";"function"==typeof Symbol&&(Mn=Symbol(Mn));var jn=16,Nn=255,Bn=0,Fn={};e(fe,te),fe.of=function(){var e=cn.call(arguments,0);return Se().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])}})},fe.prototype.toString=function(){return this.__toString("Map {","}")},fe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},fe.prototype.set=function(e,t){return Ee(this,e,t)},fe.prototype.setIn=function(e,t){return this.updateIn(e,mn,function(){return t})},fe.prototype.remove=function(e){return Ee(this,e,mn)},fe.prototype.deleteIn=function(e){return this.updateIn(e,function(){return mn})},fe.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},fe.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=Ie(this,Lt(e),t,n);return r===mn?void 0:r},fe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Se()},fe.prototype.merge=function(){return Pe(this,void 0,arguments)},fe.prototype.mergeWith=function(e){return Pe(this,e,cn.call(arguments,1))},fe.prototype.mergeIn=function(e){var t=cn.call(arguments,1);return this.updateIn(e,Se(),function(e){return"function"==typeof e.merge?e.merge.apply(e,t):t[t.length-1]})},fe.prototype.mergeDeep=function(){return Pe(this,Le,arguments)},fe.prototype.mergeDeepWith=function(e){var t=cn.call(arguments,1);return Pe(this,Re(e),t)},fe.prototype.mergeDeepIn=function(e){var t=cn.call(arguments,1);return this.updateIn(e,Se(),function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,t):t[t.length-1]})},fe.prototype.sort=function(e){return Je(wt(this,e))},fe.prototype.sortBy=function(e,t){return Je(wt(this,t,e))},fe.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},fe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new p)},fe.prototype.asImmutable=function(){return this.__ensureOwner()},fe.prototype.wasAltered=function(){return this.__altered},fe.prototype.__iterator=function(e,t){return new ve(this,e,t)},fe.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},fe.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?ke(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},fe.isMap=pe;var Kn="@@__IMMUTABLE_MAP__@@",qn=fe.prototype;qn[Kn]=!0,qn.delete=qn.remove,qn.removeIn=qn.deleteIn,de.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(X(n,o[i][0]))return o[i][1];return r},de.prototype.update=function(e,t,n,r,o,i,a){for(var s=o===mn,c=this.entries,u=0,l=c.length;u<l&&!X(r,c[u][0]);u++);var p=u<l;if(p?c[u][1]===o:s)return this;if(f(a),(s||!p)&&f(i),!s||1!==c.length){if(!p&&!s&&c.length>=zn)return Oe(e,c,r,o);var h=e&&e===this.ownerID,g=h?c:d(c);return p?s?u===l-1?g.pop():g[u]=g.pop():g[u]=[r,o]:g.push([r,o]),h?(this.entries=g,this):new de(e,g)}},he.prototype.get=function(e,t,n,r){void 0===t&&(t=ie(n));var o=1<<((0===e?t:t>>>e)&gn),i=this.bitmap;return 0==(i&o)?r:this.nodes[Me(i&o-1)].get(e+dn,t,n,r)},he.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=ie(r));var s=(0===t?n:n>>>t)&gn,c=1<<s,u=this.bitmap,l=0!=(u&c);if(!l&&o===mn)return this;var f=Me(u&c-1),p=this.nodes,d=l?p[f]:void 0,h=xe(d,e,t+dn,n,r,o,i,a);if(h===d)return this;if(!l&&h&&p.length>=Hn)return Ae(e,p,u,s,h);if(l&&!h&&2===p.length&&_e(p[1^f]))return p[1^f];if(l&&h&&1===p.length&&_e(h))return h;var g=e&&e===this.ownerID,m=l?h?u:u^c:u|c,y=l?h?je(p,f,h,g):Be(p,f,g):Ne(p,f,h,g);return g?(this.bitmap=m,this.nodes=y,this):new he(e,m,y)},ge.prototype.get=function(e,t,n,r){void 0===t&&(t=ie(n));var o=(0===e?t:t>>>e)&gn,i=this.nodes[o];return i?i.get(e+dn,t,n,r):r},ge.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=ie(r));var s=(0===t?n:n>>>t)&gn,c=o===mn,u=this.nodes,l=u[s];if(c&&!l)return this;var f=xe(l,e,t+dn,n,r,o,i,a);if(f===l)return this;var p=this.count;if(l){if(!f&&--p<Vn)return Te(e,u,p,s)}else p++;var d=e&&e===this.ownerID,h=je(u,s,f,d);return d?(this.count=p,this.nodes=h,this):new ge(e,p,h)},me.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(X(n,o[i][0]))return o[i][1];return r},me.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=ie(r));var s=o===mn;if(n!==this.keyHash)return s?this:(f(a),f(i),Ce(this,e,t,n,[r,o]));for(var c=this.entries,u=0,l=c.length;u<l&&!X(r,c[u][0]);u++);var p=u<l;if(p?c[u][1]===o:s)return this;if(f(a),(s||!p)&&f(i),s&&2===l)return new ye(e,this.keyHash,c[1^u]);var h=e&&e===this.ownerID,g=h?c:d(c);return p?s?u===l-1?g.pop():g[u]=g.pop():g[u]=[r,o]:g.push([r,o]),h?(this.entries=g,this):new me(e,this.keyHash,g)},ye.prototype.get=function(e,t,n,r){return X(n,this.entry[0])?this.entry[1]:r},ye.prototype.update=function(e,t,n,r,o,i,a){var s=o===mn,c=X(r,this.entry[0]);return(c?o===this.entry[1]:s)?this:(f(a),s?void f(i):c?e&&e===this.ownerID?(this.entry[1]=o,this):new ye(e,this.keyHash,[r,o]):(f(i),Ce(this,e,t,ie(r),[r,o])))},de.prototype.iterate=me.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},he.prototype.iterate=ge.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[t?o-r:r];if(i&&!1===i.iterate(e,t))return!1}},ye.prototype.iterate=function(e,t){return e(this.entry)},e(ve,k),ve.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 be(e,r.entry)}else if(r.entries){if(n=r.entries.length-1,o<=n)return be(e,r.entries[this._reverse?n-o:o])}else if(n=r.nodes.length-1,o<=n){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return be(e,i.entry);t=this._stack=we(i,t)}continue}t=this._stack=this._stack.__prev}return E()};var Un,zn=hn/4,Hn=hn/2,Vn=hn/4;e(Fe,ne),Fe.of=function(){return this(arguments)},Fe.prototype.toString=function(){return this.__toString("List [","]")},Fe.prototype.get=function(e,t){if((e=g(this,e))>=0&&e<this.size){e+=this._origin;var n=$e(this,e);return n&&n.array[e&gn]}return t},Fe.prototype.set=function(e,t){return Ve(this,e,t)},Fe.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},Fe.prototype.insert=function(e,t){return this.splice(e,0,t)},Fe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=dn,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):He()},Fe.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations(function(n){Xe(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])})},Fe.prototype.pop=function(){return Xe(this,0,-1)},Fe.prototype.unshift=function(){var e=arguments;return this.withMutations(function(t){Xe(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])})},Fe.prototype.shift=function(){return Xe(this,1)},Fe.prototype.merge=function(){return Ye(this,void 0,arguments)},Fe.prototype.mergeWith=function(e){return Ye(this,e,cn.call(arguments,1))},Fe.prototype.mergeDeep=function(){return Ye(this,Le,arguments)},Fe.prototype.mergeDeepWith=function(e){var t=cn.call(arguments,1);return Ye(this,Re(e),t)},Fe.prototype.setSize=function(e){return Xe(this,0,e)},Fe.prototype.slice=function(e,t){var n=this.size;return y(e,t,n)?this:Xe(this,v(e,n),b(t,n))},Fe.prototype.__iterator=function(e,t){var n=0,r=Ue(this,t);return new k(function(){var t=r();return t===Xn?E():S(e,n++,t)})},Fe.prototype.__iterate=function(e,t){for(var n,r=0,o=Ue(this,t);(n=o())!==Xn&&!1!==e(n,r++,this););return r},Fe.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?ze(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},Fe.isList=Ke;var Wn="@@__IMMUTABLE_LIST__@@",Gn=Fe.prototype;Gn[Wn]=!0,Gn.delete=Gn.remove,Gn.setIn=qn.setIn,Gn.deleteIn=Gn.removeIn=qn.removeIn,Gn.update=qn.update,Gn.updateIn=qn.updateIn,Gn.mergeIn=qn.mergeIn,Gn.mergeDeepIn=qn.mergeDeepIn,Gn.withMutations=qn.withMutations,Gn.asMutable=qn.asMutable,Gn.asImmutable=qn.asImmutable,Gn.wasAltered=qn.wasAltered,qe.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&gn;if(r>=this.array.length)return new qe([],e);var o,i=0===r;if(t>0){var a=this.array[r];if((o=a&&a.removeBefore(e,t-dn,n))===a&&i)return this}if(i&&!o)return this;var s=Ge(this,e);if(!i)for(var c=0;c<r;c++)s.array[c]=void 0;return o&&(s.array[r]=o),s},qe.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r=n-1>>>t&gn;if(r>=this.array.length)return this;var o;if(t>0){var i=this.array[r];if((o=i&&i.removeAfter(e,t-dn,n))===i&&r===this.array.length-1)return this}var a=Ge(this,e);return a.array.splice(r+1),o&&(a.array[r]=o),a};var $n,Xn={};e(Je,fe),Je.of=function(){return this(arguments)},Je.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Je.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Je.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):tt()},Je.prototype.set=function(e,t){return nt(this,e,t)},Je.prototype.remove=function(e){return nt(this,e,mn)},Je.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Je.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate(function(t){return t&&e(t[1],t[0],n)},t)},Je.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Je.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?et(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Je.isOrderedMap=Qe,Je.prototype[pn]=!0,Je.prototype.delete=Je.prototype.remove;var Yn;e(rt,P),rt.prototype.get=function(e,t){return this._iter.get(e,t)},rt.prototype.has=function(e){return this._iter.has(e)},rt.prototype.valueSeq=function(){return this._iter.valueSeq()},rt.prototype.reverse=function(){var e=this,t=ut(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},rt.prototype.map=function(e,t){var n=this,r=ct(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},rt.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?Ct(this):0,function(o){return e(o,t?--n:n++,r)}),t)},rt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(wn,t),r=t?Ct(this):0;return new k(function(){var o=n.next();return o.done?o:S(e,t?--r:r++,o.value,o)})},rt.prototype[pn]=!0,e(ot,L),ot.prototype.includes=function(e){return this._iter.includes(e)},ot.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate(function(t){return e(t,r++,n)},t)},ot.prototype.__iterator=function(e,t){var n=this._iter.__iterator(wn,t),r=0;return new k(function(){var t=n.next();return t.done?t:S(e,r++,t.value,t)})},e(it,R),it.prototype.has=function(e){return this._iter.includes(e)},it.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){return e(t,t,n)},t)},it.prototype.__iterator=function(e,t){var n=this._iter.__iterator(wn,t);return new k(function(){var t=n.next();return t.done?t:S(e,t.value,t.value,t)})},e(at,P),at.prototype.entrySeq=function(){return this._iter.toSeq()},at.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){if(t){_t(t);var r=i(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}},t)},at.prototype.__iterator=function(e,t){var n=this._iter.__iterator(wn,t);return new k(function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){_t(r);var o=i(r);return S(e,o?r.get(0):r[0],o?r.get(1):r[1],t)}}})},ot.prototype.cacheResult=rt.prototype.cacheResult=it.prototype.cacheResult=at.prototype.cacheResult=At,e(Rt,te),Rt.prototype.toString=function(){return this.__toString(It(this)+" {","}")},Rt.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Rt.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},Rt.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Dt(this,Se()))},Rt.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+It(this));if(this._map&&!this._map.has(e)){if(t===this._defaultValues[e])return this}var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Dt(this,n)},Rt.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:Dt(this,t)},Rt.prototype.wasAltered=function(){return this._map.wasAltered()},Rt.prototype.__iterator=function(e,t){var r=this;return n(this._defaultValues).map(function(e,t){return r.get(t)}).__iterator(e,t)},Rt.prototype.__iterate=function(e,t){var r=this;return n(this._defaultValues).map(function(e,t){return r.get(t)}).__iterate(e,t)},Rt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Dt(this,t,e):(this.__ownerID=e,this._map=t,this)};var Zn=Rt.prototype;Zn.delete=Zn.remove,Zn.deleteIn=Zn.removeIn=qn.removeIn,Zn.merge=qn.merge,Zn.mergeWith=qn.mergeWith,Zn.mergeIn=qn.mergeIn,Zn.mergeDeep=qn.mergeDeep,Zn.mergeDeepWith=qn.mergeDeepWith,Zn.mergeDeepIn=qn.mergeDeepIn,Zn.setIn=qn.setIn,Zn.update=qn.update,Zn.updateIn=qn.updateIn,Zn.withMutations=qn.withMutations,Zn.asMutable=qn.asMutable,Zn.asImmutable=qn.asImmutable,e(Nt,re),Nt.of=function(){return this(arguments)},Nt.fromKeys=function(e){return this(n(e).keySeq())},Nt.prototype.toString=function(){return this.__toString("Set {","}")},Nt.prototype.has=function(e){return this._map.has(e)},Nt.prototype.add=function(e){return Ft(this,this._map.set(e,!0))},Nt.prototype.remove=function(e){return Ft(this,this._map.remove(e))},Nt.prototype.clear=function(){return Ft(this,this._map.clear())},Nt.prototype.union=function(){var e=cn.call(arguments,0);return e=e.filter(function(e){return 0!==e.size}),0===e.length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations(function(t){for(var n=0;n<e.length;n++)o(e[n]).forEach(function(e){return t.add(e)})}):this.constructor(e[0])},Nt.prototype.intersect=function(){var e=cn.call(arguments,0);if(0===e.length)return this;e=e.map(function(e){return o(e)});var t=this;return this.withMutations(function(n){t.forEach(function(t){e.every(function(e){return e.includes(t)})||n.remove(t)})})},Nt.prototype.subtract=function(){var e=cn.call(arguments,0);if(0===e.length)return this;e=e.map(function(e){return o(e)});var t=this;return this.withMutations(function(n){t.forEach(function(t){e.some(function(e){return e.includes(t)})&&n.remove(t)})})},Nt.prototype.merge=function(){return this.union.apply(this,arguments)},Nt.prototype.mergeWith=function(e){var t=cn.call(arguments,1);return this.union.apply(this,t)},Nt.prototype.sort=function(e){return Ut(wt(this,e))},Nt.prototype.sortBy=function(e,t){return Ut(wt(this,t,e))},Nt.prototype.wasAltered=function(){return this._map.wasAltered()},Nt.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate(function(t,r){return e(r,r,n)},t)},Nt.prototype.__iterator=function(e,t){return this._map.map(function(e,t){return t}).__iterator(e,t)},Nt.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)},Nt.isSet=Bt;var Jn="@@__IMMUTABLE_SET__@@",Qn=Nt.prototype;Qn[Jn]=!0,Qn.delete=Qn.remove,Qn.mergeDeep=Qn.merge,Qn.mergeDeepWith=Qn.mergeWith,Qn.withMutations=qn.withMutations,Qn.asMutable=qn.asMutable,Qn.asImmutable=qn.asImmutable,Qn.__empty=qt,Qn.__make=Kt;var er;e(Ut,Nt),Ut.of=function(){return this(arguments)},Ut.fromKeys=function(e){return this(n(e).keySeq())},Ut.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Ut.isOrderedSet=zt;var tr=Ut.prototype;tr[pn]=!0,tr.__empty=Vt,tr.__make=Ht;var nr;e(Wt,ne),Wt.of=function(){return this(arguments)},Wt.prototype.toString=function(){return this.__toString("Stack [","]")},Wt.prototype.get=function(e,t){var n=this._head;for(e=g(this,e);n&&e--;)n=n.next;return n?n.value:t},Wt.prototype.peek=function(){return this._head&&this._head.value},Wt.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):$t(e,t)},Wt.prototype.pushAll=function(e){if(e=r(e),0===e.size)return this;le(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):$t(t,n)},Wt.prototype.pop=function(){return this.slice(1)},Wt.prototype.unshift=function(){return this.push.apply(this,arguments)},Wt.prototype.unshiftAll=function(e){return this.pushAll(e)},Wt.prototype.shift=function(){return this.pop.apply(this,arguments)},Wt.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):Xt()},Wt.prototype.slice=function(e,t){if(y(e,t,this.size))return this;var n=v(e,this.size);if(b(t,this.size)!==this.size)return ne.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):$t(r,o)},Wt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?$t(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Wt.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},Wt.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new k(function(){if(r){var t=r.value;return r=r.next,S(e,n++,t)}return E()})},Wt.isStack=Gt;var rr="@@__IMMUTABLE_STACK__@@",or=Wt.prototype;or[rr]=!0,or.withMutations=qn.withMutations,or.asMutable=qn.asMutable,or.asImmutable=qn.asImmutable,or.wasAltered=qn.wasAltered;var ir;t.Iterator=k,Yt(t,{toArray:function(){le(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate(function(t,n){e[n]=t}),e},toIndexedSeq:function(){return new ot(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 rt(this,!0)},toMap:function(){return fe(this.toKeyedSeq())},toObject:function(){le(this.size);var e={};return this.__iterate(function(t,n){e[n]=t}),e},toOrderedMap:function(){return Je(this.toKeyedSeq())},toOrderedSet:function(){return Ut(a(this)?this.valueSeq():this)},toSet:function(){return Nt(a(this)?this.valueSeq():this)},toSetSeq:function(){return new it(this)},toSeq:function(){return s(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Wt(a(this)?this.valueSeq():this)},toList:function(){return Fe(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 xt(this,mt(this,cn.call(arguments,0)))},includes:function(e){return this.some(function(t){return X(t,e)})},entries:function(){return this.__iterator(kn)},every:function(e,t){le(this.size);var n=!0;return this.__iterate(function(r,o,i){if(!e.call(t,r,o,i))return n=!1,!1}),n},filter:function(e,t){return xt(this,lt(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},forEach:function(e,t){return le(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){le(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate(function(r){n?n=!1:t+=e,t+=null!==r&&void 0!==r?r.toString():""}),t},keys:function(){return this.__iterator(bn)},map:function(e,t){return xt(this,ct(this,e,t))},reduce:function(e,t,n){le(this.size);var r,o;return arguments.length<2?o=!0:r=t,this.__iterate(function(t,i,a){o?(o=!1,r=t):r=e.call(n,r,t,i,a)}),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return xt(this,ut(this,!0))},slice:function(e,t){return xt(this,dt(this,e,t,!0))},some:function(e,t){return!this.every(Qt(e),t)},sort:function(e){return xt(this,wt(this,e))},values:function(){return this.__iterator(wn)},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 h(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return ft(this,e,t)},equals:function(e){return Y(this,e)},entrySeq:function(){var e=this;if(e._cache)return new D(e._cache);var t=e.toSeq().map(Jt).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(Qt(e),t)},findEntry:function(e,t,n){var r=n;return this.__iterate(function(n,o,i){if(e.call(t,n,o,i))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(){return this.find(m)},flatMap:function(e,t){return xt(this,vt(this,e,t))},flatten:function(e){return xt(this,yt(this,e,!0))},fromEntrySeq:function(){return new at(this)},get:function(e,t){return this.find(function(t,n){return X(n,e)},void 0,t)},getIn:function(e,t){for(var n,r=this,o=Lt(e);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,mn):mn)===mn)return t}return r},groupBy:function(e,t){return pt(this,e,t)},has:function(e){return this.get(e,mn)!==mn},hasIn:function(e){return this.getIn(e,mn)!==mn},isSubset:function(e){return e="function"==typeof e.includes?e:t(e),this.every(function(t){return e.includes(t)})},isSuperset:function(e){return e="function"==typeof e.isSubset?e:t(e),e.isSubset(this)},keyOf:function(e){return this.findKey(function(t){return X(t,e)})},keySeq:function(){return this.toSeq().map(Zt).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return kt(this,e)},maxBy:function(e,t){return kt(this,t,e)},min:function(e){return kt(this,e?en(e):rn)},minBy:function(e,t){return kt(this,t?en(t):rn,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return xt(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return xt(this,gt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(Qt(e),t)},sortBy:function(e,t){return xt(this,wt(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return xt(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return xt(this,ht(this,e,t))},takeUntil:function(e,t){return this.takeWhile(Qt(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=on(this))}});var ar=t.prototype;ar[un]=!0,ar[xn]=ar.values,ar.__toJS=ar.toArray,ar.__toStringMapper=tn,ar.inspect=ar.toSource=function(){return this.toString()},ar.chain=ar.flatMap,ar.contains=ar.includes,Yt(n,{flip:function(){return xt(this,st(this))},mapEntries:function(e,t){var n=this,r=0;return xt(this,this.toSeq().map(function(o,i){return e.call(t,[i,o],r++,n)}).fromEntrySeq())},mapKeys:function(e,t){var n=this;return xt(this,this.toSeq().flip().map(function(r,o){return e.call(t,r,o,n)}).flip())}});var sr=n.prototype;return sr[ln]=!0,sr[xn]=ar.entries,sr.__toJS=ar.toObject,sr.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+tn(e)},Yt(r,{toKeyedSeq:function(){return new rt(this,!1)},filter:function(e,t){return xt(this,lt(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 xt(this,ut(this,!1))},slice:function(e,t){return xt(this,dt(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=v(e,e<0?this.count():this.size);var r=this.slice(0,e);return xt(this,1===n?r:r.concat(d(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(e){return xt(this,yt(this,e,!1))},get:function(e,t){return e=g(this,e),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=g(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return xt(this,bt(this,e))},interleave:function(){var e=[this].concat(d(arguments)),t=Et(this.toSeq(),L.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),xt(this,n)},keySeq:function(){return Q(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(e,t){return xt(this,gt(this,e,t,!1))},zip:function(){return xt(this,Et(this,nn,[this].concat(d(arguments))))},zipWith:function(e){var t=d(arguments);return t[0]=this,xt(this,Et(this,e,t))}}),r.prototype[fn]=!0,r.prototype[pn]=!0,Yt(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=ar.includes,o.prototype.contains=o.prototype.includes,Yt(P,n.prototype),Yt(L,r.prototype),Yt(R,o.prototype),Yt(te,n.prototype),Yt(ne,r.prototype),Yt(re,o.prototype),{Iterable:t,Seq:A,Collection:ee,Map:fe,OrderedMap:Je,List:Fe,Stack:Wt,Set:Nt,OrderedSet:Ut,Record:Rt,Range:Q,Repeat:Z,is:X,fromJS:V}})},function(e,t,n){var r,o;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r))e.push(n.apply(null,r));else if("object"===o)for(var a in r)i.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?e.exports=n:(r=[],void 0!==(o=function(){return n}.apply(t,r))&&(e.exports=o))}()},function(e,t,n){"use strict";function r(e,t,n,r,i,a,s,c){if(o(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,i,a,s,c],f=0;u=new Error(t.replace(/%s/g,function(){return l[f++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}}var o=function(e){};e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t,n){return x.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function i(e,t){return e.getBlockMap().map(function(n){return h.generate(e,n,t)}).toOrderedMap()}function a(e,t,n,r){var o=e.getCurrentContent().set("entityMap",n),i=o.getBlockMap();return e.getImmutable().get("treeMap").merge(t.toSeq().filter(function(e,t){return e!==i.get(t)}).map(function(e){return h.generate(o,e,r)}))}function s(e,t,n,r,o){return n.merge(t.toSeq().filter(function(t){return r.getDecorations(t,e)!==o.getDecorations(t,e)}).map(function(t){return h.generate(e,t,r)}))}function c(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function u(e,t){var n=t.getStartKey(),r=t.getStartOffset(),o=e.getBlockForKey(n);return r>0?o.getInlineStyleAt(r-1):o.getLength()?o.getInlineStyleAt(0):f(e,n)}function l(e,t){var n=t.getStartKey(),r=t.getStartOffset(),o=e.getBlockForKey(n);return r<o.getLength()?o.getInlineStyleAt(r):r>0?o.getInlineStyleAt(r-1):f(e,n)}function f(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):b()}var p=n(19),d=p||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},h=n(80),g=n(52),m=n(185),y=n(3),v=n(29),b=y.OrderedSet,w=y.Record,k=y.Stack,S={allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:k(),selection:null,treeMap:null,undoStack:k()},E=w(S),x=function(){function e(t){r(this,e),this._immutable=t}return e.createEmpty=function(t){return e.createWithContent(g.createFromText(""),t)},e.createWithContent=function(t,n){var r=t.getBlockMap().first().getKey();return e.create({currentContent:t,undoStack:k(),redoStack:k(),decorator:n||null,selection:v.createEmpty(r)})},e.create=function(t){var n=t.currentContent,r=t.decorator,o=d({},t,{treeMap:i(n,r),directionMap:m.getDirectionMap(n)});return new e(new E(o))},e.set=function(t,n){return new e(t.getImmutable().withMutations(function(e){var r=e.get("decorator"),o=r;null===n.decorator?o=null:n.decorator&&(o=n.decorator);var c=n.currentContent||t.getCurrentContent();if(o!==r){var u,l=e.get("treeMap");return u=o&&r?s(c,c.getBlockMap(),l,o,r):i(c,o),void e.merge({decorator:o,treeMap:u,nativelyRenderedContent:null})}c!==t.getCurrentContent()&&e.set("treeMap",a(t,c.getBlockMap(),c.getEntityMap(),o)),e.merge(n)}))},e.prototype.toJS=function(){return this.getImmutable().toJS()},e.prototype.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},e.prototype.getCurrentContent=function(){return this.getImmutable().get("currentContent")},e.prototype.getUndoStack=function(){return this.getImmutable().get("undoStack")},e.prototype.getRedoStack=function(){return this.getImmutable().get("redoStack")},e.prototype.getSelection=function(){return this.getImmutable().get("selection")},e.prototype.getDecorator=function(){return this.getImmutable().get("decorator")},e.prototype.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},e.prototype.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},e.prototype.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},e.prototype.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},e.prototype.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},e.setInlineStyleOverride=function(t,n){return e.set(t,{inlineStyleOverride:n})},e.prototype.getCurrentInlineStyle=function(){var e=this.getInlineStyleOverride();if(null!=e)return e;var t=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?u(t,n):l(t,n)},e.prototype.getBlockTree=function(e){return this.getImmutable().getIn(["treeMap",e])},e.prototype.isSelectionAtStartOfContent=function(){var e=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(e,0,0)},e.prototype.isSelectionAtEndOfContent=function(){var e=this.getCurrentContent(),t=e.getBlockMap(),n=t.last(),r=n.getLength();return this.getSelection().hasEdgeWithin(n.getKey(),r,r)},e.prototype.getDirectionMap=function(){return this.getImmutable().get("directionMap")},e.acceptSelection=function(e,t){return o(e,t,!1)},e.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),o(e,t,!0)},e.moveSelectionToEnd=function(t){var n=t.getCurrentContent(),r=n.getLastBlock(),o=r.getKey(),i=r.getLength();return e.acceptSelection(t,new v({anchorKey:o,anchorOffset:i,focusKey:o,focusOffset:i,isBackward:!1}))},e.moveFocusToEnd=function(t){var n=e.moveSelectionToEnd(t);return e.forceSelection(n,n.getSelection())},e.push=function(t,n,r){if(t.getCurrentContent()===n)return t;var o="insert-characters"!==r,i=m.getDirectionMap(n,t.getDirectionMap());if(!t.getAllowUndo())return e.set(t,{currentContent:n,directionMap:i,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:null});var a=t.getSelection(),s=t.getCurrentContent(),u=t.getUndoStack(),l=n;a!==s.getSelectionAfter()||c(t,r)?(u=u.push(s),l=l.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(l=l.set("selectionBefore",s.getSelectionBefore()));var f=t.getInlineStyleOverride();-1===["adjust-depth","change-block-type","split-block"].indexOf(r)&&(f=null);var p={currentContent:l,directionMap:i,undoStack:u,redoStack:k(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:f};return e.set(t,p)},e.undo=function(t){if(!t.getAllowUndo())return t;var n=t.getUndoStack(),r=n.peek();if(!r)return t;var o=t.getCurrentContent(),i=m.getDirectionMap(r,t.getDirectionMap());return e.set(t,{currentContent:r,directionMap:i,undoStack:n.shift(),redoStack:t.getRedoStack().push(o),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:o.getSelectionBefore()})},e.redo=function(t){if(!t.getAllowUndo())return t;var n=t.getRedoStack(),r=n.peek();if(!r)return t;var o=t.getCurrentContent(),i=m.getDirectionMap(r,t.getDirectionMap());return e.set(t,{currentContent:r,directionMap:i,undoStack:t.getUndoStack().push(o),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},e.prototype.getImmutable=function(){return this._immutable},e}();e.exports=x},function(e,t,n){"use strict";var r=n(12),o=n(173),i=n(77),a=n(3),s=n(175),c=n(177),u=n(38),l=n(180),f=n(181),p=n(5),d=n(182),h=n(78),g=n(183),m=n(184),y=a.OrderedSet,v={replaceText:function(e,t,n,o,i){var a=h(e,t),s=g(a,t),c=r.create({style:o||y(),entity:i||null});return f(s,s.getSelectionAfter(),n,c)},insertText:function(e,t,n,r,o){return t.isCollapsed()||p(!1),v.replaceText(e,t,n,r,o)},moveText:function(e,t,n){var r=u(e,t),o=v.removeRange(e,t,"backward");return v.replaceWithFragment(o,n,r)},replaceWithFragment:function(e,t,n){var r=h(e,t),o=g(r,t);return l(o,o.getSelectionAfter(),n)},removeRange:function(e,t,n){var r=void 0,o=void 0,a=void 0,s=void 0;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),r=t.getAnchorKey(),o=t.getFocusKey(),a=e.getBlockForKey(r),s=e.getBlockForKey(o);var u=t.getStartOffset(),l=t.getEndOffset(),f=a.getEntityAt(u),p=s.getEntityAt(l-1);if(r===o&&f&&f===p){var d=c(e.getEntityMap(),a,s,t,n);return g(e,d)}var m=t;i.draft_segmented_entities_behavior&&(m=c(e.getEntityMap(),a,s,t,n));var y=h(e,m);return g(y,m)},splitBlock:function(e,t){var n=h(e,t),r=g(n,t);return m(r,r.getSelectionAfter())},applyInlineStyle:function(e,t,n){return o.add(e,t,n)},removeInlineStyle:function(e,t,n){return o.remove(e,t,n)},setBlockType:function(e,t,n){return d(e,t,function(e){return e.merge({type:n,depth:0})})},setBlockData:function(e,t,n){return d(e,t,function(e){return e.merge({data:n})})},mergeBlockData:function(e,t,n){return d(e,t,function(e){return e.merge({data:e.getData().merge(n)})})},applyEntity:function(e,t,n){var r=h(e,t);return s(r,t,n)}};e.exports=v},function(e,t,n){"use strict";function r(){for(var e=void 0;void 0===e||o.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*i).toString(32);return o[e]=!0,e}var o={},i=Math.pow(2,24);e.exports=r},function(e,t,n){"use strict";var r=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};e.exports=r},function(e,t,n){"use strict";function r(e){return i.test("number"==typeof e?o(e):e.charAt(0))}e.exports=r;var o=String.fromCharCode,i=/\s/},function(e,t,n){"use strict";function r(e,t){if("string"!=typeof e)throw new TypeError("expected a string");if(1===t)return e;if(2===t)return e+e;var n=e.length*t;if(o!==e||void 0===o)o=e,i="";else if(i.length>=n)return i.substr(0,n);for(;n>i.length&&t>1;)1&t&&(i+=e),t>>=1,e+=e;return i+=e,i=i.substr(0,n)}var o,i="";e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(3),s=a.Map,c=a.OrderedSet,u=a.Record,l=c(),f={style:l,entity:null},p=u(f),d=function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return i(t,e),t.prototype.getStyle=function(){return this.get("style")},t.prototype.getEntity=function(){return this.get("entity")},t.prototype.hasStyle=function(e){return this.getStyle().includes(e)},t.applyStyle=function(e,n){var r=e.set("style",e.getStyle().add(n));return t.create(r)},t.removeStyle=function(e,n){var r=e.set("style",e.getStyle().remove(n));return t.create(r)},t.applyEntity=function(e,n){var r=e.getEntity()===n?e:e.set("entity",n);return t.create(r)},t.create=function(e){if(!e)return h;var n={style:l,entity:null},r=s(n).merge(e),o=g.get(r);if(o)return o;var i=new t(r);return g=g.set(r,i),i},t}(p),h=new d,g=s([[s(f),h]]);d.EMPTY=h,e.exports=d},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r=function(e,t,n,r,o,i,a,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,i,a,s],l=0;c=new Error(t.replace(/%s/g,function(){return u[l++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}};e.exports=r},function(e,t,n){"use strict";function r(e,t,n){return t.map(function(t){if("spliter"===t)return t;var r=e[t];return i.a.createElement(r,a({key:t},n))}).filter(Boolean)}t.a=r;var o=n(0),i=n.n(o),a=Object.assign||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}},function(e,n){e.exports=t},function(e,t,n){"use strict";function r(e,t,n,r){if(e===n)return!0;if(!n.startsWith(e))return!1;var o=n.slice(e.length);return!!t&&(o=r?r(o):o,a.contains(o,t))}function o(e){return"Windows"===i.platformName?e.replace(/^\s*NT/,""):e}var i=n(194),a=n(197),s=n(198),c=n(85),u={isBrowser:function(e){return r(i.browserName,i.browserFullVersion,e)},isBrowserArchitecture:function(e){return r(i.browserArchitecture,null,e)},isDevice:function(e){return r(i.deviceName,null,e)},isEngine:function(e){return r(i.engineName,i.engineVersion,e)},isPlatform:function(e){return r(i.platformName,i.platformFullVersion,e,o)},isPlatformArchitecture:function(e){return r(i.platformArchitecture,null,e)}};e.exports=s(u,c)},function(e,t,n){e.exports=n(347)()},function(e,t,n){"use strict";function r(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,c=r(e),u=1;u<arguments.length;u++){n=Object(arguments[u]);for(var l in n)i.call(n,l)&&(c[l]=n[l]);if(o){s=o(n);for(var f=0;f<s.length;f++)a.call(n,s[f])&&(c[s[f]]=n[s[f]])}}return c}},function(e,t,n){(function(r){function o(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function i(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),n){var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var o=0,i=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(o++,"%c"===e&&(i=o))}),e.splice(i,0,r)}}function a(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function s(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}}function c(){var e;try{e=t.storage.debug}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e}t=e.exports=n(260),t.log=a,t.formatArgs=i,t.save=s,t.load=c,t.useColors=o,t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(c())}).call(t,n(31))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=n(346),i=r(o),a=n(117),s=r(a);e.exports={TransitionGroup:s.default,CSSTransitionGroup:i.default}},function(e,t){function n(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var o in n)r.call(n,o)&&(e[o]=n[o])}return e}e.exports=n;var r=Object.prototype.hasOwnProperty},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e,t){return e.getStyle()===t.getStyle()}function s(e,t){return e.getEntity()===t.getEntity()}var c=n(3),u=n(37),l=c.List,f=c.Map,p=c.OrderedSet,d=c.Record,h=p(),g={key:"",type:"unstyled",text:"",characterList:l(),depth:0,data:f()},m=d(g),y=function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return i(t,e),t.prototype.getKey=function(){return this.get("key")},t.prototype.getType=function(){return this.get("type")},t.prototype.getText=function(){return this.get("text")},t.prototype.getCharacterList=function(){return this.get("characterList")},t.prototype.getLength=function(){return this.getText().length},t.prototype.getDepth=function(){return this.get("depth")},t.prototype.getData=function(){return this.get("data")},t.prototype.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():h},t.prototype.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},t.prototype.findStyleRanges=function(e,t){u(this.getCharacterList(),a,e,t)},t.prototype.findEntityRanges=function(e,t){u(this.getCharacterList(),s,e,t)},t}(m);e.exports=y},function(e,t,n){"use strict";function r(e){return p<=e&&e<=g}function o(e,t){if(0<=t&&t<e.length||f(!1),t+1===e.length)return!1;var n=e.charCodeAt(t),r=e.charCodeAt(t+1);return p<=n&&n<=d&&h<=r&&r<=g}function i(e){return m.test(e)}function a(e,t){return 1+r(e.charCodeAt(t))}function s(e){if(!i(e))return e.length;for(var t=0,n=0;n<e.length;n+=a(e,n))t++;return t}function c(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!i(e))return e.substr(t,n);var r=e.length;if(r<=0||t>r||n<=0)return"";var o=0;if(t>0){for(;t>0&&o<r;t--)o+=a(e,o);if(o>=r)return""}else if(t<0){for(o=r;t<0&&0<o;t++)o-=a(e,o-1);o<0&&(o=0)}var s=r;if(n<r)for(s=o;n>0&&s<r;n--)s+=a(e,s);return e.substring(o,s)}function u(e,t,n){t=t||0,n=void 0===n?1/0:n||0,t<0&&(t=0),n<0&&(n=0);var r=Math.abs(n-t);return t=t<n?t:n,c(e,t,r)}function l(e){for(var t=[],n=0;n<e.length;n+=a(e,n))t.push(e.codePointAt(n));return t}var f=n(5),p=55296,d=56319,h=56320,g=57343,m=/[\uD800-\uDFFF]/,y={getCodePoints:l,getUTF16Length:a,hasSurrogateUnit:i,isCodeUnitInSurrogateRange:r,isSurrogatePair:o,strlen:s,substring:u,substr:c};e.exports=y},function(e,t,n){"use strict";var r={encode:function(e,t,n){return e+"-"+t+"-"+n},decode:function(e){var t=e.split("-"),n=t[0],r=t[1],o=t[2];return{blockKey:n,decoratorKey:parseInt(r,10),leafKey:parseInt(o,10)}}};e.exports=r},function(e,t){function n(e){return e.replace(/^\s*|\s*$/g,"")}t=e.exports=n,t.left=function(e){return e.replace(/^\s*/,"")},t.right=function(e){return e.replace(/\s*$/,"")}},function(e,t,n){"use strict";var r=n(3),o=r.OrderedMap,i={createFromArray:function(e){return o(e.map(function(e){return[e.getKey(),e]}))}};e.exports=i},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(3),s=a.Record,c={anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1},u=s(c),l=function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return i(t,e),t.prototype.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},t.prototype.getAnchorKey=function(){return this.get("anchorKey")},t.prototype.getAnchorOffset=function(){return this.get("anchorOffset")},t.prototype.getFocusKey=function(){return this.get("focusKey")},t.prototype.getFocusOffset=function(){return this.get("focusOffset")},t.prototype.getIsBackward=function(){return this.get("isBackward")},t.prototype.getHasFocus=function(){return this.get("hasFocus")},t.prototype.hasEdgeWithin=function(e,t,n){var r=this.getAnchorKey(),o=this.getFocusKey();if(r===o&&r===e){var i=this.getStartOffset();return t<=this.getEndOffset()&&i<=n}if(e!==r&&e!==o)return!1;var a=e===r?this.getAnchorOffset():this.getFocusOffset();return t<=a&&n>=a},t.prototype.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},t.prototype.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},t.prototype.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},t.prototype.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},t.prototype.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},t.createEmpty=function(e){return new t({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},t}(u);e.exports=l},function(e,t,n){"use strict";function r(e){return"object"==typeof e?Object.keys(e).filter(function(t){return e[t]}).map(o).join(" "):Array.prototype.map.call(arguments,o).join(" ")}function o(e){return e.replace(/\//g,"-")}e.exports=r},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(l===setTimeout)return setTimeout(e,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(e,0);try{return l(e,0)}catch(t){try{return l.call(null,e,0)}catch(t){return l.call(this,e,0)}}}function i(e){if(f===clearTimeout)return clearTimeout(e);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function a(){g&&d&&(g=!1,d.length?h=d.concat(h):m=-1,h.length&&s())}function s(){if(!g){var e=o(a);g=!0;for(var t=h.length;t;){for(d=h,h=[];++m<t;)d&&d[m].run();m=-1,t=h.length}d=null,g=!1,i(e)}}function c(e,t){this.fun=e,this.array=t}function u(){}var l,f,p=e.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(e){l=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(e){f=r}}();var d,h=[],g=!1,m=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];h.push(new c(e,t)),1!==h.length||g||o(s)},c.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=u,p.addListener=u,p.once=u,p.off=u,p.removeListener=u,p.removeAllListeners=u,p.emit=u,p.prependListener=u,p.prependOnceListener=u,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(e,t,n){"use strict";function r(e,t,n){var r=e.getSelection(),i=e.getCurrentContent(),a=r;if(r.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return i}else if(e.isSelectionAtStartOfContent())return i;if((a=t(e))===r)return i}return o.removeRange(i,a,n)}var o=n(7);e.exports=r},function(e,t,n){"use strict";e.exports=n(290)},function(e,t,n){"use strict";function r(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}e.exports=r},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){var n=t.getAnchorKey();return e.getBlockForKey(n).getText().length===t.getStartOffset()}function i(e,t){return!!o(e,t)&&t.getAnchorKey()===e.getLastBlock().getKey()}function a(e,t){var n=t.getAnchorKey();return 0===e.getBlockForKey(n).getText().length}function s(e,t,n){if(t||e){var r=void 0,o=void 0;return n?(r=t||e,o=t?0:r.getLength()):(r=e||t,o=e?r.getLength():0),h.SelectionState.createEmpty(r.getKey()).merge({anchorOffset:o,focusOffset:o,hasFocus:!0})}}function c(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=e.getBlockMap(),o=t.getKey(),i=e.getBlockAfter(o),a=e.getBlockBefore(o);if(!i&&!a)return"atomic"===t.getType()&&t.getData().mathjax?h.ContentState.createFromText(""):e;var c=r.delete(o);return e.set("blockMap",c).set("selectionAfter",s(a,i,n))}function u(e,t,n,r){var o=h.SelectionState.createEmpty(t).merge({anchorOffset:n,focusOffset:r});return h.Modifier.removeRange(e,o,"backward")}function l(e){return function(t,n,r){e.setEditorReadOnly(!1);var o=h.EditorState.push(e.getEditorState(),t,r?"remove-range":"update-math");void 0!==n?(e.setEditorState(h.EditorState.forceSelection(o,n),!0),setTimeout(function(){return e.getEditorRef().focus()},5)):e.setEditorState(o,!0)}}function f(e){var t=e.after,n=e.contentState,r=e.teX,o=e.displaystyle,i=e.entityKey,a=e.blockKey,s=e.startPos,c=0===r.length,l=void 0,f=void 0;if(c)l=u(n,a,s,s+1),f=l.getSelectionAfter();else if(l=n.mergeEntityData(i,{teX:r,displaystyle:o}),void 0!==t){var p=t?s+2:s;f=h.SelectionState.createEmpty(a).merge({anchorOffset:p,focusOffset:p,hasFocus:!0})}return[l,f,c]}function p(e){var t=e.after,n=e.contentState,r=e.teX,o=e.block,i=0===r.length,a=o.getKey(),u=void 0,l=void 0;return i?(u=c(n,o,t),l=u.getSelectionAfter()):(u=h.Modifier.mergeBlockData(n,h.SelectionState.createEmpty(a),Object(g.Map)({teX:r})),void 0!==t&&(l=s(n.getBlockBefore(a),n.getBlockAfter(a),t))),[u,l,i]}function d(e){var t=e.block,n=e.entityKey,o=e.displaystyle,i=e.blockKey,a=e.startPos,s=r(e,["block","entityKey","displaystyle","blockKey","startPos"]);return n?f(m({},s,{entityKey:n,displaystyle:o,blockKey:i,startPos:a})):p(m({},s,{block:t}))}t.b=o,t.c=i,t.d=a,t.a=l,t.e=d;var h=n(1),g=(n.n(h),n(3)),m=(n.n(g),Object.assign||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})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n(171),n(1)),o=(n.n(r),n(256)),i=(n.n(o),n(257));n.d(t,"DraftEditor",function(){return i.a}),n.d(t,"createAllPlugins",function(){return i.c}),n.d(t,"createBlockStylePlugin",function(){return i.d}),n.d(t,"createCodeEditPlugin",function(){return i.e}),n.d(t,"createDebugPlugin",function(){return i.f}),n.d(t,"createFileImportPlugin",function(){return i.h}),n.d(t,"createDocImportPlugin",function(){return i.g}),n.d(t,"createFormulaPlugin",function(){return i.i}),n.d(t,"createImagePlugin",function(){return i.j}),n.d(t,"createInlineStylePlugin",function(){return i.k}),n.d(t,"createLinkPlugin",function(){return i.l}),n.d(t,"createStickToolbarPlugin",function(){return i.m}),n.d(t,"createTablePlugin",function(){return i.n}),n.d(t,"MarkdownEditor",function(){return i.b});var a=n(167);n.d(t,"DraftViewer",function(){return a.a});var s=n(70);n.d(t,"content2html",function(){return s.g}),n.d(t,"content2raw",function(){return s.j}),n.d(t,"content2ast",function(){return s.f}),n.d(t,"content2markdown",function(){return s.h}),n.d(t,"content2packed",function(){return s.i}),n.d(t,"html2content",function(){return s.m}),n.d(t,"html2raw",function(){return s.p}),n.d(t,"html2markdown",function(){return s.n}),n.d(t,"html2ast",function(){return s.l}),n.d(t,"html2packed",function(){return s.o}),n.d(t,"markdown2content",function(){return s.r}),n.d(t,"markdown2html",function(){return s.s}),n.d(t,"markdown2raw",function(){return s.u}),n.d(t,"markdown2ast",function(){return s.q}),n.d(t,"markdown2packed",function(){return s.t}),n.d(t,"ast2content",function(){return s.a}),n.d(t,"ast2html",function(){return s.b}),n.d(t,"ast2markdown",function(){return s.c}),n.d(t,"ast2raw",function(){return s.e}),n.d(t,"ast2packed",function(){return s.d}),n.d(t,"raw2content",function(){return s.B}),n.d(t,"raw2html",function(){return s.C}),n.d(t,"raw2markdown",function(){return s.D}),n.d(t,"raw2ast",function(){return s.A}),n.d(t,"raw2packed",function(){return s.E}),n.d(t,"packed2content",function(){return s.w}),n.d(t,"packed2html",function(){return s.x}),n.d(t,"packed2markdown",function(){return s.y}),n.d(t,"packed2ast",function(){return s.v}),n.d(t,"packed2raw",function(){return s.z}),n.d(t,"convertFrom",function(){return s.k});var c=n(2);n.d(t,"isValidUrl",function(){return c.I}),n.d(t,"findUrl",function(){return c.n}),n.d(t,"DraftJs",function(){return r})},function(e,t,n){"use strict";function r(e,t,n,r){if(e.size){var o=0;e.reduce(function(e,i,a){return t(e,i)||(n(e)&&r(o,a),o=a),i}),n(e.last())&&r(o,e.count())}}e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=t.getStartKey(),r=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),c=i(e,t),u=c.getBlockMap(),l=u.keySeq(),f=l.indexOf(n),p=l.indexOf(a)+1;return u.slice(f,p).map(function(e,t){var i=o(),c=e.getText(),u=e.getCharacterList();return n===a?e.merge({key:i,text:c.slice(r,s),characterList:u.slice(r,s)}):t===n?e.merge({key:i,text:c.slice(r),characterList:u.slice(r)}):t===a?e.merge({key:i,text:c.slice(0,s),characterList:u.slice(0,s)}):e.set("key",i)}).toOrderedMap()}var o=n(8),i=n(78);e.exports=r},function(e,t,n){"use strict";function r(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var o=n(19),i=o||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},a=n(81),s=n(3),c=n(5),u=s.Map,l=u(),f=0,p={getLastCreatedEntityKey:function(){return r("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),p.__getLastCreatedEntityKey()},create:function(e,t,n){return r("DraftEntity.create","contentState.createEntity"),p.__create(e,t,n)},add:function(e){return r("DraftEntity.add","contentState.addEntity"),p.__add(e)},get:function(e){return r("DraftEntity.get","contentState.getEntity"),p.__get(e)},mergeData:function(e,t){return r("DraftEntity.mergeData","contentState.mergeEntityData"),p.__mergeData(e,t)},replaceData:function(e,t){return r("DraftEntity.replaceData","contentState.replaceEntityData"),p.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return""+f},__create:function(e,t,n){return p.__add(new a({type:e,mutability:t,data:n||{}}))},__add:function(e){var t=""+ ++f;return l=l.set(t,e),t},__get:function(e){var t=l.get(e);return t||c(!1),t},__mergeData:function(e,t){var n=p.__get(e),r=i({},n.getData(),t),o=n.set("data",r);return l=l.set(e,o),o},__replaceData:function(e,t){var n=p.__get(e),r=n.set("data",t);return l=l.set(e,r),r}};e.exports=p},function(e,t,n){"use strict";function r(e){return"handled"===e||!0===e}e.exports=r},function(e,t,n){"use strict";n.d(t,"c",function(){return r}),n.d(t,"a",function(){return o}),n.d(t,"b",function(){return i});var r="transition-",o=300,i=300},function(e,t,n){"use strict";t.a=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset}},function(e,t,n){"use strict";function r(e){if(-1!==l.indexOf(e.type))return u.a.renderToStaticMarkup(e);var t=u.a.renderToStaticMarkup(s.a.cloneElement(e,{},"\r")).split("\r");return i()(t.length>1,"convertToHTML: Element of type "+e.type+" must render children"),i()(t.length<3,"convertToHTML: Element of type "+e.type+" cannot use carriage return character"),{start:t[0],end:t[1]}}t.a=r;var o=n(14),i=n.n(o),a=n(0),s=n.n(a),c=n(33),u=n.n(c),l=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]},function(e,t,n){"use strict";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){var t,n=e.store,o=e.theme,i=(e.env,e.inlineStyle),u=e.children,l=function(){n.setEditorState(c.RichUtils.toggleInlineStyle(n.getEditorState(),i))},f=n.getEditorState(),p="code-block"===c.RichUtils.getCurrentBlockType(f),d=s(o.button,(t={},r(t,o.disabled,p),r(t,o.actived,!p&&function(){var e=n.getEditorState();try{return e.getCurrentInlineStyle().contains(i)}catch(e){return!1}}()),t));return a.a.createElement("div",{className:o.buttonWrapper},a.a.createElement("button",{className:d,onClick:p?null:l},u))}t.a=o;var i=n(0),a=n.n(i),s=n(4),c=(n.n(s),n(1));n.n(c)},function(e,t,n){"use strict";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){var t,n=e.store,o=e.theme,i=e.toggle,u=e.disabled,l=e.blockType,f=e.children;i=i||function(){n.setEditorState(c.RichUtils.toggleBlockType(n.getEditorState(),l))};var p=function(){var e=n.getEditorState(),t=e.getCurrentContent(),r=e.getSelection();try{return t.getBlockForKey(r.getStartKey()).getType()===l}catch(e){return!1}}(),d=s(o.button,(t={},r(t,o.disabled,u),r(t,o.actived,!u&&p),t));return a.a.createElement("div",{className:o.buttonWrapper},a.a.createElement("button",{className:d,onClick:function(){return i(p)}},f))}t.a=o;var i=n(0),a=n.n(i),s=n(4),c=(n.n(s),n(1));n.n(c)},function(e,t,n){function r(e){return o(e)||i}var o=n(364),i="\n";e.exports=r},function(e,t,n){"use strict";n.d(t,"a",function(){return Se});var r=n(375),o=(n.n(r),n(127)),i=(n.n(o),n(376)),a=(n.n(i),n(377)),s=(n.n(a),n(378)),c=(n.n(s),n(379)),u=(n.n(c),n(380)),l=(n.n(u),n(381)),f=(n.n(l),n(382)),p=(n.n(f),n(383)),d=(n.n(p),n(384)),h=(n.n(d),n(385)),g=(n.n(h),n(386)),m=(n.n(g),n(387)),y=(n.n(m),n(388)),v=(n.n(y),n(389)),b=(n.n(v),n(390)),w=(n.n(b),n(391)),k=(n.n(w),n(392)),S=(n.n(k),n(393)),E=(n.n(S),n(394)),x=(n.n(E),n(395)),_=(n.n(x),n(396)),C=(n.n(_),n(397)),O=(n.n(C),n(398)),T=(n.n(O),n(399)),A=(n.n(T),n(400)),P=(n.n(A),n(401)),L=(n.n(P),n(402)),R=(n.n(L),n(403)),D=(n.n(R),n(404)),I=(n.n(D),n(405)),M=(n.n(I),n(406)),j=(n.n(M),n(407)),N=(n.n(j),n(408)),B=(n.n(N),n(409)),F=(n.n(B),n(410)),K=(n.n(F),n(411)),q=(n.n(K),n(412)),U=(n.n(q),n(413)),z=(n.n(U),n(414)),H=(n.n(z),n(415)),V=(n.n(H),n(416)),W=(n.n(V),n(417)),G=(n.n(W),n(418)),$=(n.n(G),n(419)),X=(n.n($),n(420)),Y=(n.n(X),n(421)),Z=(n.n(Y),n(422)),J=(n.n(Z),n(423)),Q=(n.n(J),n(424)),ee=(n.n(Q),n(425)),te=(n.n(ee),n(426)),ne=(n.n(te),n(427)),re=(n.n(ne),n(428)),oe=(n.n(re),n(429)),ie=(n.n(oe),n(430)),ae=(n.n(ie),n(431)),se=(n.n(ae),n(432)),ce=(n.n(se),n(433)),ue=(n.n(ce),n(434)),le=(n.n(ue),n(435)),fe=(n.n(le),n(436)),pe=(n.n(fe),n(437)),de=(n.n(pe),n(438)),he=(n.n(de),n(439)),ge=(n.n(he),n(440)),me=(n.n(ge),n(441)),ye=(n.n(me),n(442)),ve=(n.n(ye),n(443)),be=(n.n(ve),n(444)),we=(n.n(be),n(445)),ke=(n.n(we),n(446)),Se=(n.n(ke),o);Se.languages.gfm=Se.languages.md=Se.languages.extend("markdown",{})},function(e,t,n){"use strict";(function(e){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"b",function(){return D});var a=n(0),s=n.n(a),c=n(16),u=n.n(c),l=n(18),f=n.n(l),p=n(451),d=n(452),h=n(453),g=n(454),m=n(455),y=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),v={top:0,right:0,bottom:0,left:0,width:0,height:0},b="data-lazyload-listened",w=[],k=[],S=!1;try{var E=Object.defineProperty({},"passive",{get:function(){S=!0}});window.addEventListener("test",null,E)}catch(e){}var x=!!S&&{capture:!1,passive:!0},_=function(e,t){var n=u.a.findDOMNode(e),r=void 0,o=void 0;try{var i=t.getBoundingClientRect();r=i.top,o=i.height}catch(e){r=v.top,o=v.height}var a=window.innerHeight||document.documentElement.clientHeight,s=Math.max(r,0),c=Math.min(a,r+o)-s,l=void 0,f=void 0;try{var p=n.getBoundingClientRect();l=p.top,f=p.height}catch(e){l=v.top,f=v.height}var d=l-s,h=Array.isArray(e.props.offset)?e.props.offset:[e.props.offset,e.props.offset];return d-h[0]<=c&&d+f+h[1]>=0},C=function(e){var t=u.a.findDOMNode(e);if(!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))return!1;var n=void 0,r=void 0;try{var o=t.getBoundingClientRect();n=o.top,r=o.height}catch(e){n=v.top,r=v.height}var i=window.innerHeight||document.documentElement.clientHeight,a=Array.isArray(e.props.offset)?e.props.offset:[e.props.offset,e.props.offset];return n-a[0]<=i&&n+r+a[1]>=0},O=function(e){var t=u.a.findDOMNode(e);if(t){var n=Object(d.a)(t);(e.props.overflow&&n!==t.ownerDocument&&n!==document&&n!==document.documentElement?_(e,n):C(e))?e.visible||(e.props.once&&k.push(e),e.visible=!0,e.forceUpdate()):e.props.once&&e.visible||(e.visible=!1,e.props.unmountIfInvisible&&e.forceUpdate())}},T=function(){k.forEach(function(e){var t=w.indexOf(e);-1!==t&&w.splice(t,1)}),k=[]},A=function(){for(var e=0;e<w.length;++e){var t=w[e];O(t)}T()},P=void 0,L=null,R=function(e){function t(e){r(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.visible=!1,n}return i(t,e),y(t,[{key:"componentDidMount",value:function(){var e=this,t=!1;void 0!==this.props.debounce&&"throttle"===P?(console.warn("[react-lazyload] Previous delay function is `throttle`, now switching to `debounce`, try setting them unanimously"),t=!0):"debounce"===P&&void 0===this.props.debounce&&(console.warn("[react-lazyload] Previous delay function is `debounce`, now switching to `throttle`, try setting them unanimously"),t=!0),t&&(Object(p.a)(window,"scroll",L,x),Object(p.a)(window,"resize",L,x),L=null),L||(void 0!==this.props.debounce?(L=Object(h.a)(A,"number"==typeof this.props.debounce?this.props.debounce:300),P="debounce"):void 0!==this.props.throttle?(L=Object(g.a)(A,"number"==typeof this.props.throttle?this.props.throttle:300),P="throttle"):L=A);var n=function(){var t=e.props,n=t.scroll,r=t.resize;n&&Object(p.b)(window,"scroll",L,x),r&&Object(p.b)(window,"resize",L,x)};if(this.props.overflow||this.props.findScrollParent){var r=(this.props.findScrollParent||d.a)(u.a.findDOMNode(this));null===r?n():function(e){if(e&&"function"==typeof e.getAttribute){var t=+e.getAttribute(b)+1;1===t&&e.addEventListener("scroll",L,x),e.setAttribute(b,t)}}(r)}else(0===w.length||t)&&n();w.push(this),O(this)}},{key:"shouldComponentUpdate",value:function(){return this.visible}},{key:"componentWillUnmount",value:function(){if(this.props.overflow){var e=Object(d.a)(u.a.findDOMNode(this));if(e&&"function"==typeof e.getAttribute){var t=+e.getAttribute(b)-1;0===t?(e.removeEventListener("scroll",L,x),e.removeAttribute(b)):e.setAttribute(b,t)}}var n=w.indexOf(this);-1!==n&&w.splice(n,1),0===w.length&&(Object(p.a)(window,"resize",L,x),Object(p.a)(window,"scroll",L,x))}},{key:"render",value:function(){return this.visible?this.props.children:this.props.placeholder?this.props.placeholder:s.a.createElement("div",{style:{height:this.props.height},className:"lazyload-placeholder"})}}]),t}(a.Component);R.propTypes={once:f.a.bool,height:f.a.oneOfType([f.a.number,f.a.string]),offset:f.a.oneOfType([f.a.number,f.a.arrayOf(f.a.number)]),overflow:f.a.bool,resize:f.a.bool,scroll:f.a.bool,children:f.a.node,throttle:f.a.oneOfType([f.a.number,f.a.bool]),debounce:f.a.oneOfType([f.a.number,f.a.bool]),placeholder:f.a.node,unmountIfInvisible:f.a.bool},R.defaultProps={once:!1,offset:0,overflow:!1,resize:!1,scroll:!0,unmountIfInvisible:!1};var D=m.a;t.a=R}).call(t,n(31))},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return l});var a=n(69),s=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),c=Object.assign||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},u=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=function(e){function t(e){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,c({},e,{cursor:"crosshair"})))}return i(t,e),u(t,[{key:"onActived",value:function(){this.p1=null,this.p2=null}},{key:"onInput",value:function(e){var t=e.type,n=e.x,r=e.y,o=!1;switch(t){case"mousedown":this.p1=[n,r];break;case"mousemove":this.p2=[n,r];break;case"mouseup":o=!0}var i=this.generate();return o&&(this.p1=null,this.p2=null),{commit:o,drawing:i}}},{key:"generate",value:function(){var e=this.p1,t=this.p2,n=this.mode;if(!e||!t)return null;var r=s(e,2),o=r[0],i=r[1],a=s(t,2),c=a[0],u=a[1];return{type:n,param:[Math.min(o,c),Math.min(i,u),Math.abs(o-c),Math.abs(i-u),o,c,i,u]}}},{key:"onDeactivated",value:function(){return{commit:!1,drawing:null}}}]),t}(a.a)},function(e,t,n){"use strict";function r(e,t){var n,r,i={};t||(t={});for(r in A)n=t[r],i[r]=null===n||void 0===n?A[r]:n;return(i.position.indent||i.position.start)&&(i.indent=i.position.indent||[],i.position=i.position.start),o(e,i)}function o(e,t){function n(){return{line:be,column:ve,offset:me+(de.offset||0)}}function r(e,t){var r=n();r.column+=t,r.offset+=t,ue.call(pe,V[e],r,e)}function o(t){return e.charAt(t)}function l(){we&&(ke.push(we),se&&se.call(le,we,{start:te,end:n()}),we=O)}var f,A,U,z,H,W,G,$,X,Y,Z,J,Q,ee,te,ne,re,oe,ie=t.additional,ae=t.nonTerminated,se=t.text,ce=t.reference,ue=t.warning,le=t.textContext,fe=t.referenceContext,pe=t.warningContext,de=t.position,he=t.indent||[],ge=e.length,me=0,ye=-1,ve=de.column||1,be=de.line||1,we=O,ke=[];for(te=n(),G=ue?r:g,me--,ge++;++me<ge;)if(z===k&&(ve=he[ye]||1),(z=o(me))!==v)z===k&&(be++,ye++,ve=0),z?(we+=z,ve++):l();else{if((W=o(me+1))===T||W===k||W===y||W===x||W===_||W===v||W===O||ie&&W===ie){we+=z,ve++;continue}for(J=me+1,Z=J,oe=J,W!==b?Q=P:(oe=++Z,W=o(oe),W===S||W===E?(Q=L,oe=++Z):Q=R),f=O,Y=O,U=O,ee=I[Q],oe--;++oe<ge&&(W=o(oe),ee(W));)U+=W,Q===P&&d.call(c,U)&&(f=U,Y=c[U]);A=o(oe)===w,A&&(oe++,Q===P&&d.call(s,U)&&(f=U,Y=s[U])),re=1+oe-J,(A||ae)&&(U?Q===P?(A&&!Y?G(F,1):(f!==U&&(oe=Z+f.length,re=1+oe-Z,A=!1),A||($=f?M:N,t.attribute?(W=o(oe),W===C?(G($,re),Y=null):p(W)?Y=null:G($,re)):G($,re))),H=Y):(A||G(j,re),H=parseInt(U,D[Q]),i(H)?(G(q,re),H=m):H in u?(G(K,re),H=u[H]):(X=O,a(H)&&G(K,re),H>65535&&(H-=65536,X+=h(H>>>10|55296),H=56320|1023&H),H=X+h(H))):Q!==P&&G(B,re)),H?(l(),te=n(),me=oe-1,ve+=oe-J+1,ke.push(H),ne=n(),ne.offset++,ce&&ce.call(fe,H,{start:te,end:ne},e.slice(J-1,oe)),te=ne):(U=e.slice(J-1,oe),we+=U,ve+=U.length,me=oe-1)}return ke.join(O)}function i(e){return e>=55296&&e<=57343||e>1114111}function a(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}var s=n(512),c=n(138),u=n(513),l=n(34),f=n(139),p=n(140);e.exports=r;var d={}.hasOwnProperty,h=String.fromCharCode,g=Function.prototype,m="\ufffd",y="\f",v="&",b="#",w=";",k="\n",S="x",E="X",x=" ",_="<",C="=",O="",T="\t",A={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},P="named",L="hexadecimal",R="decimal",D={};D[L]=16,D[R]=10;var I={};I[P]=p,I[R]=l,I[L]=f;var M=1,j=2,N=3,B=4,F=5,K=6,q=7,U="Numeric character references",z=" must be terminated by a semicolon",H=" cannot be empty",V={};V[M]="Named character references"+z,V[j]=U+z,V[N]="Named character references"+H,V[B]=U+H,V[F]="Named character references must be known",V[K]=U+" cannot be disallowed",V[q]=U+" cannot be outside the permissible Unicode range"},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),c=n(632),u="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},l=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),f=function(e){function t(e){r(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.timeout=e.timeout,n.annul=null,n.state={ready:"object"===("undefined"==typeof window?"undefined":u(window))&&window.MathJax&&window.MathJax.ready},n}return i(t,e),l(t,[{key:"componentDidMount",value:function(){var e=this;if(this.state.ready)this.typeset();else{var t=this.props.check;this.annul=setInterval(function(){window.MathJax&&window.MathJax.isReady?(e.setState({ready:!0}),clearInterval(e.annul)):(e.timeout<0&&clearInterval(e.annul),e.timeout-=t)},t)}}},{key:"shouldComponentUpdate",value:function(e,t){return e.children!==this.props.children||e.inline!==this.props.inline||t.ready!==this.state.ready}},{key:"componentDidUpdate",value:function(e){var t=e.inline!==this.props.inline;this.typeset(t)}},{key:"componentWillUnmount",value:function(){clearInterval(this.annul),this.clear()}},{key:"setScriptText",value:function(e){var t=this.props.inline;return this.script||(this.script=document.createElement("script"),this.script.type="math/tex; "+(t?"":"mode=display"),this.node.appendChild(this.script)),"text"in this.script?this.script.text=e:this.script.textContent=e,this.script}},{key:"clear",value:function(){var e=window.MathJax;if(this.script&&e&&e.isReady){var t=e.Hub.getJaxFor(this.script);t&&t.Remove()}}},{key:"typeset",value:function(e){var t=this,n=window.MathJax,r=this.props,o=r.children,i=r.onRender,a=o;if(e&&this.clear(),!e&&this.script)n.Hub.Queue(function(){var e=n.Hub.getJaxFor(t.script);if(e)e.Text(a,i);else{var r=t.setScriptText(a);Object(c.a)(n,r,i)}});else{var s=this.setScriptText(a);n.Hub.Queue(function(){return Object(c.a)(n,s,i)})}}},{key:"render",value:function(){var e=this;return this.state.ready?s.a.createElement("span",{ref:function(t){e.node=t}}):s.a.createElement("span",null,this.props.children)}}]),t}(a.Component);f.defaultProps={inline:!1,onRender:function(){},timeout:1e4,check:50},t.a=f},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(27),s=n(12),c=n(23),u=n(39),l=n(3),f=n(29),p=n(8),d=n(53),h=l.List,g=l.Record,m=l.Repeat,y={entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null},v=g(y),b=function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return i(t,e),t.prototype.getEntityMap=function(){return u},t.prototype.getBlockMap=function(){return this.get("blockMap")},t.prototype.getSelectionBefore=function(){return this.get("selectionBefore")},t.prototype.getSelectionAfter=function(){return this.get("selectionAfter")},t.prototype.getBlockForKey=function(e){return this.getBlockMap().get(e)},t.prototype.getKeyBefore=function(e){return this.getBlockMap().reverse().keySeq().skipUntil(function(t){return t===e}).skip(1).first()},t.prototype.getKeyAfter=function(e){return this.getBlockMap().keySeq().skipUntil(function(t){return t===e}).skip(1).first()},t.prototype.getBlockAfter=function(e){return this.getBlockMap().skipUntil(function(t,n){return n===e}).skip(1).first()},t.prototype.getBlockBefore=function(e){return this.getBlockMap().reverse().skipUntil(function(t,n){return n===e}).skip(1).first()},t.prototype.getBlocksAsArray=function(){return this.getBlockMap().toArray()},t.prototype.getFirstBlock=function(){return this.getBlockMap().first()},t.prototype.getLastBlock=function(){return this.getBlockMap().last()},t.prototype.getPlainText=function(e){return this.getBlockMap().map(function(e){return e?e.getText():""}).join(e||"\n")},t.prototype.getLastCreatedEntityKey=function(){return u.__getLastCreatedEntityKey()},t.prototype.hasText=function(){var e=this.getBlockMap();return e.size>1||e.first().getLength()>0},t.prototype.createEntity=function(e,t,n){return u.__create(e,t,n),this},t.prototype.mergeEntityData=function(e,t){return u.__mergeData(e,t),this},t.prototype.replaceEntityData=function(e,t){return u.__replaceData(e,t),this},t.prototype.addEntity=function(e){return u.__add(e),this},t.prototype.getEntity=function(e){return u.__get(e)},t.createFromBlockArray=function(e,n){var r=Array.isArray(e)?e:e.contentBlocks,o=a.createFromArray(r),i=o.isEmpty()?new f:f.createEmpty(o.first().getKey());return new t({blockMap:o,entityMap:n||u,selectionBefore:i,selectionAfter:i})},t.createFromText=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,r=e.split(n),o=r.map(function(e){return e=d(e),new c({key:p(),text:e,type:"unstyled",characterList:h(m(s.EMPTY,e.length))})});return t.createFromBlockArray(o)},t}(v);e.exports=b},function(e,t,n){"use strict";function r(e){return e.replace(o,"")}var o=new RegExp("\r","g");e.exports=r},function(e,t,n){"use strict";function r(e){return e===l||e===f}function o(e){return r(e)||u(!1),e===l?"ltr":"rtl"}function i(e,t){return r(e)||u(!1),r(t)||u(!1),e===t?null:o(e)}function a(e){p=e}function s(){a(l)}function c(){return p||this.initGlobalDir(),p||u(!1),p}var u=n(5),l="LTR",f="RTL",p=null,d={NEUTRAL:"NEUTRAL",LTR:l,RTL:f,isStrong:r,getHTMLDir:o,getHTMLDirIfDifferent:i,setGlobalDir:a,initGlobalDir:s,getGlobalDir:c};e.exports=d},function(e,t,n){"use strict";var r=n(3),o=r.Map,i=n(0),a=n(30),s=i.createElement("ul",{className:a("public/DraftStyleDefault/ul")}),c=i.createElement("ol",{className:a("public/DraftStyleDefault/ol")}),u=i.createElement("pre",{className:a("public/DraftStyleDefault/pre")}),l=o({"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:s},"ordered-list-item":{element:"li",wrapper:c},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:u},unstyled:{element:"div",aliasedElements:["p"]}});e.exports=l},function(e,t,n){"use strict";e.exports={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(e,t,n){"use strict";function r(e,t){var n;if(t.isCollapsed()){var r=t.getAnchorKey(),i=t.getAnchorOffset();return i>0?(n=e.getBlockForKey(r).getEntityAt(i-1),o(e.getEntityMap(),n)):null}var a=t.getStartKey(),s=t.getStartOffset(),c=e.getBlockForKey(a);return n=s===c.getLength()?null:c.getEntityAt(s),o(e.getEntityMap(),n)}function o(e,t){if(t){return"MUTABLE"===e.__get(t).getMutability()?t:null}return null}e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t}var s=n(19),c=s||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},u=n(192),l=n(25),f=n(0),p=n(16),d=n(87),h=n(60),g=n(82),m=n(54),y=n(30),v=n(205),b=n(61),w=n(209),k=n(5),S=n(9),E=function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return i(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||a(e.selection,e.block.getKey())&&e.forceSelection},t.prototype.componentDidMount=function(){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n,r=p.findDOMNode(this),o=h.getScrollParent(r),i=b(o);if(o===window){var a=v(r);n=a.y+a.height-w().height,n>0&&window.scrollTo(i.x,i.y+n+10)}else{r instanceof HTMLElement||k(!1);n=r.offsetHeight+r.offsetTop-(o.offsetHeight+i.y),n>0&&d.setTop(o,d.getTop(o)+n+10)}}},t.prototype._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),r=t.getText(),o=this.props.tree.size-1,i=a(this.props.selection,n);return this.props.tree.map(function(a,s){var p=a.get("leaves"),d=p.size-1,h=p.map(function(a,c){var p=l.encode(n,s,c),h=a.get("start"),g=a.get("end");return f.createElement(u,{key:p,offsetKey:p,block:t,start:h,selection:i?e.props.selection:void 0,forceSelection:e.props.forceSelection,text:r.slice(h,g),styleSet:t.getInlineStyleAt(h),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===o&&c===d})}).toArray(),y=a.get("decoratorKey");if(null==y)return h;if(!e.props.decorator)return h;var v=S(e.props.decorator),b=v.getComponentForKey(y);if(!b)return h;var w=v.getPropsForKey(y),k=l.encode(n,s,0),E=r.slice(p.first().get("start"),p.last().get("end")),x=m.getHTMLDirIfDifferent(g.getDirection(E),e.props.direction);return f.createElement(b,c({},w,{contentState:e.props.contentState,decoratedText:E,dir:x,key:k,entityKey:t.getEntityAt(a.get("start")),offsetKey:k}),h)}).toArray()},t.prototype.render=function(){var e=this.props,t=e.direction,n=e.offsetKey,r=y({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===t,"public/DraftStyleDefault/rtl":"RTL"===t});return f.createElement("div",{"data-offset-key":n,className:r},this._renderChildren())},t}(f.Component);e.exports=E},function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!o(e)&&(o(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var o=n(201);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=i.get(e,t);return"auto"===n||"scroll"===n}var o=n(203),i={get:o,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(r(e,"overflow")||r(e,"overflowY")||r(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}};e.exports=i},function(e,t,n){"use strict";function r(e){var t=o(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=i(e),r=e===t?e.ownerDocument.documentElement:e,a=e.scrollWidth-r.clientWidth,s=e.scrollHeight-r.clientHeight;return n.x=Math.max(0,Math.min(n.x,a)),n.y=Math.max(0,Math.min(n.y,s)),n}var o=n(207),i=n(208);e.exports=r},function(e,t,n){"use strict";function r(e){for(var t=e;t&&t!==document.documentElement;){var n=o(t);if(null!=n)return n;t=t.parentNode}return null}var o=n(90);e.exports=r},function(e,t,n){"use strict";var r=n(17),o=r.isPlatform("Mac OS X"),i={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return o&&e.altKey},hasCommandModifier:function(e){return o?!!e.metaKey&&!e.altKey:i.isCtrlKeyCommand(e)}};e.exports=i},function(e,t,n){"use strict";function r(e,t){var n=e.getSelection(),r=e.getCurrentContent(),o=n.getStartKey(),i=n.getStartOffset(),a=o,s=0;if(t>i){var c=r.getKeyBefore(o);if(null==c)a=o;else{a=c;s=r.getBlockForKey(c).getText().length}}else s=i-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})}e.exports=r},function(e,t,n){var r,o;!function(n){r=[],void 0!==(o=function(){var e=function(e,t){t=t||{};var r=t.verbose||!1;r&&console.log("Normalize the JSON Object"),e="string"==typeof e?this.JSON.parse(e):e,r&&console.log("Creating a empty dictionary");var i={strings:[],integers:[],floats:[]};r&&console.log("Creating the AST");var s=function e(t){r&&console.log("Calling recursiveAstBuilder with "+this.JSON.stringify(t));var s=typeof t;if(null===t)return{type:"null",index:-3};if(void 0===t)return{type:"undefined",index:-5};if(t instanceof Array){var c=["@"];for(var u in t)t.hasOwnProperty(u)&&c.push(e(t[u]));return c}if("object"===s){var c=["$"];for(var l in t)t.hasOwnProperty(l)&&(c.push(e(l)),c.push(e(t[l])));return c}if(""===t)return{type:"empty",index:-4};if("string"===s){var f=a.call(i.strings,t);return-1==f&&(i.strings.push(n(t)),f=i.strings.length-1),{type:"strings",index:f}}if("number"===s&&t%1==0){var f=a.call(i.integers,t);return-1==f&&(i.integers.push(o(t)),f=i.integers.length-1),{type:"integers",index:f}}if("number"===s){var f=a.call(i.floats,t);return-1==f&&(i.floats.push(t),f=i.floats.length-1),{type:"floats",index:f}}if("boolean"===s)return{type:"boolean",index:t?-1:-2};throw new Error("Unexpected argument of type "+typeof t)}(e),c=i.strings.length,u=i.integers.length;i.floats.length;r&&console.log("Parsing the dictionary");var l=i.strings.join("|");return l+="^"+i.integers.join("|"),l+="^"+i.floats.join("|"),r&&console.log("Parsing the structure"),l+="^"+function e(t){if(r&&console.log("Calling a recursiveParser with "+this.JSON.stringify(t)),t instanceof Array){var n=t.shift();for(var i in t)t.hasOwnProperty(i)&&(n+=e(t[i])+"|");return("|"===n[n.length-1]?n.slice(0,-1):n)+"]"}var a=t.type,s=t.index;if("strings"===a)return o(s);if("integers"===a)return o(c+s);if("floats"===a)return o(c+u+s);if("boolean"===a)return t.index;if("null"===a)return-3;if("undefined"===a)return-5;if("empty"===a)return-4;throw new TypeError("The item is alien!")}(s),r&&console.log("Ending parser"),t.debug?{dictionary:i,ast:s,packed:l}:l},t=function(e,t){t=t||{};var n=e.split("^");t.verbose&&console.log("Building dictionary");var o=[],a=n[0];if(""!==a){a=a.split("|"),t.verbose&&console.log("Parse the strings dictionary");for(var s=0,c=a.length;s<c;s++)o.push(r(a[s]))}if(""!==(a=n[1])){a=a.split("|"),t.verbose&&console.log("Parse the integers dictionary");for(var s=0,c=a.length;s<c;s++)o.push(i(a[s]))}if(""!==(a=n[2])){a=a.split("|"),t.verbose&&console.log("Parse the floats dictionary");for(var s=0,c=a.length;s<c;s++)o.push(parseFloat(a[s]))}a=null,t.verbose&&console.log("Tokenizing the structure");for(var u="",l=[],f=n[3].length,s=0;s<f;s++){var p=n[3].charAt(s);"|"===p||"$"===p||"@"===p||"]"===p?(u&&(l.push(i(u)),u=""),"|"!==p&&l.push(p)):u+=p}var d=l.length,h=0;return t.verbose&&console.log("Starting recursive parser"),function e(){var n=l[h++];if(t.verbose&&console.log("Reading collection type "+("$"===n?"object":"Array")),"@"===n){for(var r=[];h<d;h++){var i=l[h];if(t.verbose&&console.log("Read "+i+" symbol"),"]"===i)return r;if("@"===i||"$"===i)r.push(e());else switch(i){case-1:r.push(!0);break;case-2:r.push(!1);break;case-3:r.push(null);break;case-5:r.push(void 0);break;case-4:r.push("");break;default:r.push(o[i])}}return t.verbose&&console.log("Parsed "+this.JSON.stringify(r)),r}if("$"===n){for(var r={};h<d;h++){var a=l[h];if("]"===a)return r;a=-4===a?"":o[a];var i=l[++h];if("@"===i||"$"===i)r[a]=e();else switch(i){case-1:r[a]=!0;break;case-2:r[a]=!1;break;case-3:r[a]=null;break;case-5:r[a]=void 0;break;case-4:r[a]="";break;default:r[a]=o[i]}}return t.verbose&&console.log("Parsed "+this.JSON.stringify(r)),r}throw new TypeError("Bad token "+n+" isn't a type")}()},n=function(e){return"string"!=typeof e?e:e.replace(/[\+ \|\^\%]/g,function(e){return{" ":"+","+":"%2B","|":"%7C","^":"%5E","%":"%25"}[e]})},r=function(e){return"string"!=typeof e?e:e.replace(/\+|%2B|%7C|%5E|%25/g,function(e){return{"+":" ","%2B":"+","%7C":"|","%5E":"^","%25":"%"}[e]})},o=function(e){return Number.prototype.toString.call(e,36).toUpperCase()},i=function(e){return parseInt(e,36)},a=Array.prototype.indexOf||function(e,t){for(var n=t||0,r=this.length;n<r;n++)if(this[n]===e)return n;return-1};return{JSON:JSON,pack:e,unpack:t}}.apply(t,r))&&(e.exports=o)}(n(262))},function(e,t,n){"use strict";var r=n(287);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e){var t=e.entityKey,n=e.getEditorState,r=e.setEditorState,i=e.update,a=n(),s=a.getCurrentContent(),c=a.getSelection();s.getEntity(t)&&(s.mergeEntityData(t,i),r(o.EditorState.forceSelection(o.EditorState.createWithContent(s,a.getDecorator()),c),!0))}t.a=r;var o=n(1);n.n(o)},function(e,t,n){"use strict";var r=n(330);n.d(t,"b",function(){return r.a});var o=n(331);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",function(){return i});var o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(t){var n=t.mode,o=t.name,i=t.cursor,a=t.className,s=t.supported,c=void 0===s||s,u=t.store;r(this,e),this.mode=n,this.name=o,this.cursor=i||"default",this.className=a,this.supported=c,this.store=u}return o(e,[{key:"onActived",value:function(){throw new Error("Tool.onActived() is abstract")}},{key:"onInput",value:function(){throw new Error("Tool.onInput() is abstact")}},{key:"onDeactived",value:function(){return{commit:!1,drawing:null}}},{key:"onRenderCanvas",value:function(){}},{key:"onRenderElement",value:function(){}}]),e}()},function(e,t,n){"use strict";var r=n(478);n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.b}),n.d(t,"c",function(){return r.c}),n.d(t,"d",function(){return r.d}),n.d(t,"e",function(){return r.e}),n.d(t,"f",function(){return r.f}),n.d(t,"g",function(){return r.g}),n.d(t,"h",function(){return r.h}),n.d(t,"i",function(){return r.i}),n.d(t,"j",function(){return r.j}),n.d(t,"k",function(){return r.k}),n.d(t,"l",function(){return r.l}),n.d(t,"m",function(){return r.m}),n.d(t,"n",function(){return r.n}),n.d(t,"o",function(){return r.o}),n.d(t,"p",function(){return r.p}),n.d(t,"q",function(){return r.q}),n.d(t,"r",function(){return r.r}),n.d(t,"s",function(){return r.s}),n.d(t,"t",function(){return r.t}),n.d(t,"u",function(){return r.u}),n.d(t,"v",function(){return r.v}),n.d(t,"w",function(){return r.w}),n.d(t,"x",function(){return r.x}),n.d(t,"y",function(){return r.y}),n.d(t,"z",function(){return r.z}),n.d(t,"A",function(){return r.A}),n.d(t,"B",function(){return r.B}),n.d(t,"C",function(){return r.C}),n.d(t,"D",function(){return r.D}),n.d(t,"E",function(){return r.E})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=t===n,o=e.getBlockForKey(t);if(!o)return[];var i=[o];if(!r)for(var a=t;a!==n;){var s=e.getBlockAfter(a);if(!s){i=[];break}i.push(s),a=s.getKey()}return i}},function(e,t,n){"use strict";function r(e){for(var t=String(e),n=t.length;t.charAt(--n)===o;);return t.slice(0,n+1)}e.exports=r;var o="\n"},function(e,t,n){"use strict";function r(e,t,n,r){for(var o,i,a,s,c,u,l=["pedantic","commonmark"],f=l.length,p=e.length,d=-1;++d<p;){for(o=e[d],i=o[1]||{},a=o[0],s=-1,u=!1;++s<f;)if(c=l[s],void 0!==i[c]&&i[c]!==n.options[c]){u=!0;break}if(!u&&t[a].apply(n,r))return!0}return!1}e.exports=r},function(e,t,n){"use strict";function r(e){return o(e).toLowerCase()}var o=n(532);e.exports=r},function(e,t,n){"use strict";function r(e,t){return t||0===e.length||i.test(e)||o(e,"(")!==o(e,")")?"<"+e+">":e}var o=n(594);e.exports=r;var i=/\s/},function(e,t,n){"use strict";function r(e){var t=-1===e.indexOf('"')?'"':"'";return t+e+t}e.exports=r},function(e,t,n){"use strict";var r=n(174);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=e.getBlockMap(),r=e.getEntityMap(),o={},a=t.getStartKey(),s=t.getStartOffset(),c=n.get(a),u=i(r,c,s);u!==c&&(o[a]=u);var l=t.getEndKey(),f=t.getEndOffset(),p=n.get(l);a===l&&(p=u);var d=i(r,p,f);return d!==p&&(o[l]=d),Object.keys(o).length?e.merge({blockMap:n.merge(o),selectionAfter:t}):e.set("selectionAfter",t)}function o(e,t,n){var r;return s(e,function(e,t){return e.getEntity()===t.getEntity()},function(e){return e.getEntity()===t},function(e,t){e<=n&&t>=n&&(r={start:e,end:t})}),"object"!=typeof r&&c(!1),r}function i(e,t,n){var r=t.getCharacterList(),i=n>0?r.get(n-1):void 0,s=n<r.count()?r.get(n):void 0,c=i?i.getEntity():void 0,u=s?s.getEntity():void 0;if(u&&u===c){if("MUTABLE"!==e.__get(u).getMutability()){for(var l,f=o(r,u,n),p=f.start,d=f.end;p<d;)l=r.get(p),r=r.set(p,a.applyEntity(l,null)),p++;return t.set("characterList",r)}}return t}var a=n(12),s=n(37),c=n(5);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){if(n===e.count())t.forEach(function(t){e=e.push(t)});else if(0===n)t.reverse().forEach(function(t){e=e.unshift(t)});else{var r=e.slice(0,n),o=e.slice(n);e=r.concat(t,o).toList()}return e}e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=[],r=e.map(function(e){return e.getStyle()}).toList();return s(r,o,f,function(e,r){n.push(new d({start:e+t,end:r+t}))}),c(n)}function o(e,t){return e===t}var i=n(3),a=n(28),s=n(37),c=i.List,u=i.Repeat,l=i.Record,f=a.thatReturnsTrue,p={start:null,end:null},d=l(p),h={start:null,end:null,decoratorKey:null,leaves:null},g=l(h),m={generate:function(e,t,n){var i=t.getLength();if(!i)return c.of(new g({start:0,end:0,decoratorKey:null,leaves:c.of(new d({start:0,end:0}))}));var a=[],l=n?n.getDecorations(t,e):c(u(null,i)),p=t.getCharacterList();return s(l,o,f,function(e,t){a.push(new g({start:e,end:t,decoratorKey:l.get(e),leaves:r(p.slice(e,t).toList(),e)}))}),c(a)},getFingerprint:function(e){return e.map(function(e){var t=e.get("decoratorKey");return(null!==t?t+"."+(e.get("end")-e.get("start")):"")+"."+e.get("leaves").size}).join("-")}};e.exports=m},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(3),s=a.Record,c=s({type:"TOKEN",mutability:"IMMUTABLE",data:Object}),u=function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return i(t,e),t.prototype.getType=function(){return this.get("type")},t.prototype.getMutability=function(){return this.get("mutability")},t.prototype.getData=function(){return this.get("data")},t}(c);e.exports=u},function(e,t,n){"use strict";function r(e){var t=p.exec(e);return null==t?null:t[0]}function o(e){var t=r(e);return null==t?u.NEUTRAL:d.exec(t)?u.RTL:u.LTR}function i(e,t){if(t=t||u.NEUTRAL,!e.length)return t;var n=o(e);return n===u.NEUTRAL?t:n}function a(e,t){return t||(t=u.getGlobalDir()),u.isStrong(t)||l(!1),i(e,t)}function s(e,t){return a(e,t)===u.LTR}function c(e,t){return a(e,t)===u.RTL}var u=n(54),l=n(5),f={L:"A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u01ba\u01bb\u01bc-\u01bf\u01c0-\u01c3\u01c4-\u0293\u0294\u0295-\u02af\u02b0-\u02b8\u02bb-\u02c1\u02d0-\u02d1\u02e0-\u02e4\u02ee\u0370-\u0373\u0376-\u0377\u037a\u037b-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u0482\u048a-\u052f\u0531-\u0556\u0559\u055a-\u055f\u0561-\u0587\u0589\u0903\u0904-\u0939\u093b\u093d\u093e-\u0940\u0949-\u094c\u094e-\u094f\u0950\u0958-\u0961\u0964-\u0965\u0966-\u096f\u0970\u0971\u0972-\u0980\u0982-\u0983\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09be-\u09c0\u09c7-\u09c8\u09cb-\u09cc\u09ce\u09d7\u09dc-\u09dd\u09df-\u09e1\u09e6-\u09ef\u09f0-\u09f1\u09f4-\u09f9\u09fa\u0a03\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a3e-\u0a40\u0a59-\u0a5c\u0a5e\u0a66-\u0a6f\u0a72-\u0a74\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abd\u0abe-\u0ac0\u0ac9\u0acb-\u0acc\u0ad0\u0ae0-\u0ae1\u0ae6-\u0aef\u0af0\u0b02-\u0b03\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3d\u0b3e\u0b40\u0b47-\u0b48\u0b4b-\u0b4c\u0b57\u0b5c-\u0b5d\u0b5f-\u0b61\u0b66-\u0b6f\u0b70\u0b71\u0b72-\u0b77\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bbe-\u0bbf\u0bc1-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcc\u0bd0\u0bd7\u0be6-\u0bef\u0bf0-\u0bf2\u0c01-\u0c03\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c41-\u0c44\u0c58-\u0c59\u0c60-\u0c61\u0c66-\u0c6f\u0c7f\u0c82-\u0c83\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cbe\u0cbf\u0cc0-\u0cc4\u0cc6\u0cc7-\u0cc8\u0cca-\u0ccb\u0cd5-\u0cd6\u0cde\u0ce0-\u0ce1\u0ce6-\u0cef\u0cf1-\u0cf2\u0d02-\u0d03\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d3e-\u0d40\u0d46-\u0d48\u0d4a-\u0d4c\u0d4e\u0d57\u0d60-\u0d61\u0d66-\u0d6f\u0d70-\u0d75\u0d79\u0d7a-\u0d7f\u0d82-\u0d83\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0dcf-\u0dd1\u0dd8-\u0ddf\u0de6-\u0def\u0df2-\u0df3\u0df4\u0e01-\u0e30\u0e32-\u0e33\u0e40-\u0e45\u0e46\u0e4f\u0e50-\u0e59\u0e5a-\u0e5b\u0e81-\u0e82\u0e84\u0e87-\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa-\u0eab\u0ead-\u0eb0\u0eb2-\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0ed0-\u0ed9\u0edc-\u0edf\u0f00\u0f01-\u0f03\u0f04-\u0f12\u0f13\u0f14\u0f15-\u0f17\u0f1a-\u0f1f\u0f20-\u0f29\u0f2a-\u0f33\u0f34\u0f36\u0f38\u0f3e-\u0f3f\u0f40-\u0f47\u0f49-\u0f6c\u0f7f\u0f85\u0f88-\u0f8c\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce-\u0fcf\u0fd0-\u0fd4\u0fd5-\u0fd8\u0fd9-\u0fda\u1000-\u102a\u102b-\u102c\u1031\u1038\u103b-\u103c\u103f\u1040-\u1049\u104a-\u104f\u1050-\u1055\u1056-\u1057\u105a-\u105d\u1061\u1062-\u1064\u1065-\u1066\u1067-\u106d\u106e-\u1070\u1075-\u1081\u1083-\u1084\u1087-\u108c\u108e\u108f\u1090-\u1099\u109a-\u109c\u109e-\u109f\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fb\u10fc\u10fd-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1360-\u1368\u1369-\u137c\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166d-\u166e\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16eb-\u16ed\u16ee-\u16f0\u16f1-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1735-\u1736\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17b6\u17be-\u17c5\u17c7-\u17c8\u17d4-\u17d6\u17d7\u17d8-\u17da\u17dc\u17e0-\u17e9\u1810-\u1819\u1820-\u1842\u1843\u1844-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1923-\u1926\u1929-\u192b\u1930-\u1931\u1933-\u1938\u1946-\u194f\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c0\u19c1-\u19c7\u19c8-\u19c9\u19d0-\u19d9\u19da\u1a00-\u1a16\u1a19-\u1a1a\u1a1e-\u1a1f\u1a20-\u1a54\u1a55\u1a57\u1a61\u1a63-\u1a64\u1a6d-\u1a72\u1a80-\u1a89\u1a90-\u1a99\u1aa0-\u1aa6\u1aa7\u1aa8-\u1aad\u1b04\u1b05-\u1b33\u1b35\u1b3b\u1b3d-\u1b41\u1b43-\u1b44\u1b45-\u1b4b\u1b50-\u1b59\u1b5a-\u1b60\u1b61-\u1b6a\u1b74-\u1b7c\u1b82\u1b83-\u1ba0\u1ba1\u1ba6-\u1ba7\u1baa\u1bae-\u1baf\u1bb0-\u1bb9\u1bba-\u1be5\u1be7\u1bea-\u1bec\u1bee\u1bf2-\u1bf3\u1bfc-\u1bff\u1c00-\u1c23\u1c24-\u1c2b\u1c34-\u1c35\u1c3b-\u1c3f\u1c40-\u1c49\u1c4d-\u1c4f\u1c50-\u1c59\u1c5a-\u1c77\u1c78-\u1c7d\u1c7e-\u1c7f\u1cc0-\u1cc7\u1cd3\u1ce1\u1ce9-\u1cec\u1cee-\u1cf1\u1cf2-\u1cf3\u1cf5-\u1cf6\u1d00-\u1d2b\u1d2c-\u1d6a\u1d6b-\u1d77\u1d78\u1d79-\u1d9a\u1d9b-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u200e\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2134\u2135-\u2138\u2139\u213c-\u213f\u2145-\u2149\u214e\u214f\u2160-\u2182\u2183-\u2184\u2185-\u2188\u2336-\u237a\u2395\u249c-\u24e9\u26ac\u2800-\u28ff\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2c7b\u2c7c-\u2c7d\u2c7e-\u2ce4\u2ceb-\u2cee\u2cf2-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d70\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005\u3006\u3007\u3021-\u3029\u302e-\u302f\u3031-\u3035\u3038-\u303a\u303b\u303c\u3041-\u3096\u309d-\u309e\u309f\u30a1-\u30fa\u30fc-\u30fe\u30ff\u3105-\u312d\u3131-\u318e\u3190-\u3191\u3192-\u3195\u3196-\u319f\u31a0-\u31ba\u31f0-\u31ff\u3200-\u321c\u3220-\u3229\u322a-\u3247\u3248-\u324f\u3260-\u327b\u327f\u3280-\u3289\u328a-\u32b0\u32c0-\u32cb\u32d0-\u32fe\u3300-\u3376\u337b-\u33dd\u33e0-\u33fe\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua014\ua015\ua016-\ua48c\ua4d0-\ua4f7\ua4f8-\ua4fd\ua4fe-\ua4ff\ua500-\ua60b\ua60c\ua610-\ua61f\ua620-\ua629\ua62a-\ua62b\ua640-\ua66d\ua66e\ua680-\ua69b\ua69c-\ua69d\ua6a0-\ua6e5\ua6e6-\ua6ef\ua6f2-\ua6f7\ua722-\ua76f\ua770\ua771-\ua787\ua789-\ua78a\ua78b-\ua78e\ua790-\ua7ad\ua7b0-\ua7b1\ua7f7\ua7f8-\ua7f9\ua7fa\ua7fb-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua823-\ua824\ua827\ua830-\ua835\ua836-\ua837\ua840-\ua873\ua880-\ua881\ua882-\ua8b3\ua8b4-\ua8c3\ua8ce-\ua8cf\ua8d0-\ua8d9\ua8f2-\ua8f7\ua8f8-\ua8fa\ua8fb\ua900-\ua909\ua90a-\ua925\ua92e-\ua92f\ua930-\ua946\ua952-\ua953\ua95f\ua960-\ua97c\ua983\ua984-\ua9b2\ua9b4-\ua9b5\ua9ba-\ua9bb\ua9bd-\ua9c0\ua9c1-\ua9cd\ua9cf\ua9d0-\ua9d9\ua9de-\ua9df\ua9e0-\ua9e4\ua9e6\ua9e7-\ua9ef\ua9f0-\ua9f9\ua9fa-\ua9fe\uaa00-\uaa28\uaa2f-\uaa30\uaa33-\uaa34\uaa40-\uaa42\uaa44-\uaa4b\uaa4d\uaa50-\uaa59\uaa5c-\uaa5f\uaa60-\uaa6f\uaa70\uaa71-\uaa76\uaa77-\uaa79\uaa7a\uaa7b\uaa7d\uaa7e-\uaaaf\uaab1\uaab5-\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadc\uaadd\uaade-\uaadf\uaae0-\uaaea\uaaeb\uaaee-\uaaef\uaaf0-\uaaf1\uaaf2\uaaf3-\uaaf4\uaaf5\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5b\uab5c-\uab5f\uab64-\uab65\uabc0-\uabe2\uabe3-\uabe4\uabe6-\uabe7\uabe9-\uabea\uabeb\uabec\uabf0-\uabf9\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\ue000-\uf8ff\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\uff21-\uff3a\uff41-\uff5a\uff66-\uff6f\uff70\uff71-\uff9d\uff9e-\uff9f\uffa0-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc",R:"\u0590\u05be\u05c0\u05c3\u05c6\u05c8-\u05cf\u05d0-\u05ea\u05eb-\u05ef\u05f0-\u05f2\u05f3-\u05f4\u05f5-\u05ff\u07c0-\u07c9\u07ca-\u07ea\u07f4-\u07f5\u07fa\u07fb-\u07ff\u0800-\u0815\u081a\u0824\u0828\u082e-\u082f\u0830-\u083e\u083f\u0840-\u0858\u085c-\u085d\u085e\u085f-\u089f\u200f\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb37\ufb38-\ufb3c\ufb3d\ufb3e\ufb3f\ufb40-\ufb41\ufb42\ufb43-\ufb44\ufb45\ufb46-\ufb4f",AL:"\u0608\u060b\u060d\u061b\u061c\u061d\u061e-\u061f\u0620-\u063f\u0640\u0641-\u064a\u066d\u066e-\u066f\u0671-\u06d3\u06d4\u06d5\u06e5-\u06e6\u06ee-\u06ef\u06fa-\u06fc\u06fd-\u06fe\u06ff\u0700-\u070d\u070e\u070f\u0710\u0712-\u072f\u074b-\u074c\u074d-\u07a5\u07b1\u07b2-\u07bf\u08a0-\u08b2\u08b3-\u08e3\ufb50-\ufbb1\ufbb2-\ufbc1\ufbc2-\ufbd2\ufbd3-\ufd3d\ufd40-\ufd4f\ufd50-\ufd8f\ufd90-\ufd91\ufd92-\ufdc7\ufdc8-\ufdcf\ufdf0-\ufdfb\ufdfc\ufdfe-\ufdff\ufe70-\ufe74\ufe75\ufe76-\ufefc\ufefd-\ufefe"},p=new RegExp("["+f.L+f.R+f.AL+"]"),d=new RegExp("["+f.R+f.AL+"]"),h={firstStrongChar:r,firstStrongCharDir:o,resolveBlockDir:i,getDirection:a,isDirectionLTR:s,isDirectionRTL:c};e.exports=h},function(e,t,n){"use strict";e.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}},function(e,t,n){"use strict";function r(e){var t=e.getSelection(),n=t.getAnchorKey(),r=e.getBlockTree(n),o=t.getStartOffset(),i=!1;return r.some(function(e){return o===e.get("start")?(i=!0,!0):o<e.get("end")&&e.get("leaves").some(function(e){var t=e.get("start");return o===t&&(i=!0,!0)})}),i}e.exports=r},function(e,t,n){"use strict";function r(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}e.exports=r},function(e,t,n){"use strict";function r(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}}e.exports=r},function(e,t,n){"use strict";function r(e,t){return!!t&&(e===t.documentElement||e===t.body)}var o={getTop:function(e){var t=e.ownerDocument;return r(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;r(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return r(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;r(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}};e.exports=o},function(e,t,n){"use strict";function r(e){return e.replace(o,"-$1").toLowerCase()}var o=/([A-Z])/g;e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e){if("file"==e.kind)return e.getAsFile()}var i=n(212),a=n(213),s=n(28),c=new RegExp("\r\n","g"),u={"text/rtf":1,"text/html":1},l=function(){function e(t){r(this,e),this.data=t,this.types=t.types?a(t.types):[]}return e.prototype.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some(function(e){return u[e]})},e.prototype.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(c,"\n"):null},e.prototype.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")}},e.prototype.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")})},e.prototype.getLink=function(){if(this.data.getData){if(-1!=this.types.indexOf("text/x-moz-url")){return this.data.getData("text/x-moz-url").split("\n")[0]}return-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url")}return null},e.prototype.isImage=function(){if(this.types.some(function(e){return-1!=e.indexOf("application/x-moz-file")}))return!0;for(var e=this.getFiles(),t=0;t<e.length;t++){var n=e[t].type;if(!i.isImage(n))return!1}return!0},e.prototype.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},e.prototype.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(o).filter(s.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},e.prototype.hasFiles=function(){return this.getFiles().length>0},e}();e.exports=l},function(e,t,n){"use strict";function r(e){if(e instanceof Element){var t=e.getAttribute("data-offset-key");if(t)return t;for(var n=0;n<e.childNodes.length;n++){var o=r(e.childNodes[n]);if(o)return o}}return null}e.exports=r},function(e,t,n){"use strict";(function(t){function r(e,t){var n=0,r=[];e.forEach(function(i){o(i,function(o){n++,o&&r.push(o.slice(0,c)),n==e.length&&t(r.join("\r"))})})}function o(e,n){if(!t.FileReader||e.type&&!(e.type in s))return void n("");if(""===e.type){var r="";return a.test(e.name)&&(r=e.name.replace(a,"")),void n(r)}var o=new FileReader;o.onload=function(){var e=o.result;"string"!=typeof e&&i(!1),n(e)},o.onerror=function(){n("")},o.readAsText(e)}var i=n(5),a=/\.textClipping$/,s={"text/plain":!0,"text/html":!0,"text/rtf":!0},c=5e3;e.exports=r}).call(t,n(13))},function(e,t,n){"use strict";function r(e,t,n,r,a){var s=i(e.getSelection()),c=o.decode(t),u=c.blockKey,l=e.getBlockTree(u).getIn([c.decoratorKey,"leaves",c.leafKey]),f=o.decode(r),p=f.blockKey,d=e.getBlockTree(p).getIn([f.decoratorKey,"leaves",f.leafKey]),h=l.get("start"),g=d.get("start"),m=l?h+n:null,y=d?g+a:null;if(s.getAnchorKey()===u&&s.getAnchorOffset()===m&&s.getFocusKey()===p&&s.getFocusOffset()===y)return s;var v=!1;if(u===p){var b=l.get("end"),w=d.get("end");v=g===h&&w===b?a<n:g<h}else{v=e.getCurrentContent().getBlockMap().keySeq().skipUntil(function(e){return e===u||e===p}).first()===p}return s.merge({anchorKey:u,anchorOffset:m,focusKey:p,focusOffset:y,isBackward:v})}var o=n(25),i=n(9);e.exports=r},function(e,t,n){(function(e,t){!function(e,n){"use strict";function r(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var r={callback:e,args:t};return u[c]=r,s(c),c++}function o(e){delete u[e]}function i(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}function a(e){if(l)setTimeout(a,0,e);else{var t=u[e];if(t){l=!0;try{i(t)}finally{o(e),l=!1}}}}if(!e.setImmediate){var s,c=1,u={},l=!1,f=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);p=p&&p.setTimeout?p:e,"[object process]"==={}.toString.call(e.process)?function(){s=function(e){t.nextTick(function(){a(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}}()?function(){var t="setImmediate$"+Math.random()+"$",n=function(n){n.source===e&&"string"==typeof n.data&&0===n.data.indexOf(t)&&a(+n.data.slice(t.length))};e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),s=function(n){e.postMessage(t+n,"*")}}():e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){a(e.data)},s=function(t){e.port2.postMessage(t)}}():f&&"onreadystatechange"in f.createElement("script")?function(){var e=f.documentElement;s=function(t){var n=f.createElement("script");n.onreadystatechange=function(){a(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():function(){s=function(e){setTimeout(a,0,e)}}(),p.setImmediate=r,p.clearImmediate=o}}("undefined"==typeof self?void 0===e?this:e:self)}).call(t,n(13),n(31))},function(e,t,n){"use strict";function r(e){var t=e.getSelection();return t.isCollapsed()?null:o(e.getCurrentContent(),t)}var o=n(38);e.exports=r},function(e,t,n){"use strict";function r(e){for(var t=e.cloneRange(),n=[],r=e.endContainer;null!=r;r=r.parentNode){var o=r===e.commonAncestorContainer;o?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var a=Array.from(t.getClientRects());if(n.push(a),o){var s;return n.reverse(),(s=[]).concat.apply(s,n)}t.setEndBefore(r)}i(!1)}var o=n(17),i=n(5),a=o.isBrowser("Chrome"),s=a?r:function(e){return Array.from(e.getClientRects())};e.exports=s},function(e,t,n){"use strict";function r(e,t,n,r,o,i){var s=n.nodeType===Node.TEXT_NODE,u=o.nodeType===Node.TEXT_NODE;if(s&&u)return{selectionState:l(e,p(c(n)),r,p(c(o)),i),needsRecovery:!1};var f=null,d=null,h=!0;return s?(f={key:p(c(n)),offset:r},d=a(t,o,i)):u?(d={key:p(c(o)),offset:i},f=a(t,n,r)):(f=a(t,n,r),d=a(t,o,i),n===o&&r===i&&(h=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:l(e,f.key,f.offset,d.key,d.offset),needsRecovery:h}}function o(e){for(;e.firstChild&&u(e.firstChild);)e=e.firstChild;return e}function i(e){for(;e.lastChild&&u(e.lastChild);)e=e.lastChild;return e}function a(e,t,n){var r=t,a=c(r);if(null!=a||e&&(e===r||e.firstChild===r)||f(!1),e===r&&(r=r.firstChild,r instanceof Element&&"true"===r.getAttribute("data-contents")||f(!1),n>0&&(n=r.childNodes.length)),0===n){var l=null;if(null!=a)l=a;else{var d=o(r);l=p(u(d))}return{key:l,offset:0}}var h=r.childNodes[n-1],g=null,m=null;if(u(h)){var y=i(h);g=p(u(y)),m=s(y)}else g=p(a),m=s(h);return{key:g,offset:m}}function s(e){var t=e.textContent;return"\n"===t?0:t.length}var c=n(62),u=n(90),l=n(92),f=n(5),p=n(9);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=t?l.exec(e):c.exec(e);return n?n[0]:e}var o=n(230),i=o.getPunctuation(),a="\\s|(?![_])"+i,s="^(?:"+a+")*(?:['\u2018\u2019]|(?!"+a+").)*(?:(?!"+a+").)",c=new RegExp(s),u="(?:(?!"+a+").)(?:['\u2018\u2019]|(?!"+a+").)*(?:"+a+")*$",l=new RegExp(u),f={getBackward:function(e){return r(e,!0)},getForward:function(e){return r(e,!1)}};e.exports=f},function(e,t,n){"use strict";function r(e,t){var n,r=e.getSelection(),o=r.getStartKey(),i=r.getStartOffset(),a=e.getCurrentContent(),s=o;return t>a.getBlockForKey(o).getText().length-i?(s=a.getKeyAfter(o),n=0):n=i+t,r.merge({focusKey:s,focusOffset:n})}e.exports=r},function(e,t,n){"use strict";function r(){return{text:"",inlines:[],entities:[],blocks:[]}}function o(e){var t=new Array(1);return e&&(t[0]=e),{text:I,inlines:[D()],entities:t,blocks:[]}}function i(){return{text:"\n",inlines:[D()],entities:new Array(1),blocks:[]}}function a(e,t){return{text:"\r",inlines:[D()],entities:new Array(1),blocks:[{type:e,depth:Math.max(0,Math.min(M,t))}]}}function s(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null}function c(e){var t=e.get("unstyled").element,n=_([]);return e.forEach(function(e){e.aliasedElements&&e.aliasedElements.forEach(function(e){n=n.add(e)}),n=n.add(e.element)}),n.filter(function(e){return e&&e!==t}).toArray().sort()}function u(e,t,n){for(var r=0;r<n.length;r++){var o=n[r](e,t);if(o)return o}return null}function l(e,t,n){var r=n.filter(function(t){return t.element===e||t.wrapper===e||t.aliasedElements&&t.aliasedElements.some(function(t){return t===e})}).keySeq().toSet().toArray().sort();switch(r.length){case 0:return"unstyled";case 1:return r[0];default:return u(e,t,[s])||"unstyled"}}function f(e,t,n){var r=z[e];if(r)n=n.add(r).toOrderedSet();else if(t instanceof HTMLElement){var o=t;n=n.withMutations(function(e){var t=o.style.fontWeight,n=o.style.fontStyle,r=o.style.textDecoration;q.indexOf(t)>=0?e.add("BOLD"):U.indexOf(t)>=0&&e.remove("BOLD"),"italic"===n?e.add("ITALIC"):"normal"===n&&e.remove("ITALIC"),"underline"===r&&e.add("UNDERLINE"),"line-through"===r&&e.add("STRIKETHROUGH"),"none"===r&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}).toOrderedSet()}return n}function p(e,t){var n=e.text.slice(-1),r=t.text.slice(0,1);if("\r"===n&&"\r"===r&&(e.text=e.text.slice(0,-1),e.inlines.pop(),e.entities.pop(),e.blocks.pop()),"\r"===n){if(t.text===I||"\n"===t.text)return e;r!==I&&"\n"!==r||(t.text=t.text.slice(1),t.inlines.shift(),t.entities.shift())}return{text:e.text+t.text,inlines:e.inlines.concat(t.inlines),entities:e.entities.concat(t.entities),blocks:e.blocks.concat(t.blocks)}}function d(e,t){return t.some(function(t){return-1!==e.indexOf("<"+t)})}function h(e){e instanceof HTMLAnchorElement||A(!1);var t=e.protocol;return"http:"===t||"https:"===t||"mailto:"===t}function g(e,t,n,s,c,u,d,m,y){var b=t.nodeName.toLowerCase(),w=!1,k="unstyled",E=v,x=e;if("#text"===b){var _=t.textContent;return""===_.trim()&&"pre"!==c?{chunk:o(y),entityMap:e}:("pre"!==c&&(_=_.replace(N,I)),v=b,{chunk:{text:_,inlines:Array(_.length).fill(n),entities:Array(_.length).fill(y),blocks:[]},entityMap:e})}if(v=b,"br"===b)return"br"!==E||c&&"unstyled"!==l(c,s,m)?{chunk:i(),entityMap:e}:{chunk:a("unstyled",d),entityMap:e};if("img"===b&&t instanceof HTMLImageElement&&t.attributes.getNamedItem("src")&&t.attributes.getNamedItem("src").value){var O=t,T={};V.forEach(function(e){var t=O.getAttribute(e);t&&(T[e]=t)}),t.textContent="\ud83d\udcf7",y=S.__create("IMAGE","MUTABLE",T||{})}var A=r(),P=null;n=f(b,t,n),"ul"!==b&&"ol"!==b||(s&&(d+=1),s=b),c||-1===u.indexOf(b)?s&&"li"===c&&"li"===b&&(A=a(l(b,s,m),d),c=b,w=!0,k="ul"===s?"unordered-list-item":"ordered-list-item"):(A=a(l(b,s,m),d),c=b,w=!0);var L=t.firstChild;null!=L&&(b=L.nodeName.toLowerCase());for(var R=null;L;){L instanceof HTMLAnchorElement&&L.href&&h(L)?function(){var e=L,t={};H.forEach(function(n){var r=e.getAttribute(n);r&&(t[n]=r)}),t.url=new C(e.href).toString(),R=S.__create("LINK","MUTABLE",t||{})}():R=void 0;var D=g(x,L,n,s,c,u,d,m,R||y),M=D.chunk,j=D.entityMap;P=M,x=j,A=p(A,P);var B=L.nextSibling;B&&u.indexOf(b)>=0&&c&&(A=p(A,i())),B&&(b=B.nodeName.toLowerCase()),L=B}return w&&(A=p(A,a(k,d))),{chunk:A,entityMap:x}}function m(e,t,n,r){e=e.trim().replace(j,"").replace(B,I).replace(F,"").replace(K,"");var o=c(n),i=t(e);if(!i)return null;v=null;var a=d(e,o)?o:["div"],s=g(r,i,D(),"ul",null,a,-1,n),u=s.chunk,l=s.entityMap;return 0===u.text.indexOf("\r")&&(u={text:u.text.slice(1),inlines:u.inlines.slice(1),entities:u.entities.slice(1),blocks:u.blocks}),"\r"===u.text.slice(-1)&&(u.text=u.text.slice(0,-1),u.inlines=u.inlines.slice(0,-1),u.entities=u.entities.slice(0,-1),u.blocks.pop()),0===u.blocks.length&&u.blocks.push({type:"unstyled",depth:0}),u.text.split("\r").length===u.blocks.length+1&&u.blocks.unshift({type:"unstyled",depth:0}),{chunk:u,entityMap:l}}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:k,r=m(e,t,n,S);if(null==r)return null;var o=r.chunk,i=r.entityMap,a=0;return{contentBlocks:o.text.split("\r").map(function(e,t){e=L(e);var n=a+e.length,r=P(o).inlines.slice(a,n),i=P(o).entities.slice(a,n),s=R(r.map(function(e,t){var n={style:e,entity:null};return i[t]&&(n.entity=i[t]),b.create(n)}));return a=n+1,new w({key:O(),type:P(o).blocks[t].type,depth:P(o).blocks[t].depth,text:e,characterList:s})}),entityMap:i}}var v,b=n(12),w=n(23),k=n(55),S=n(39),E=n(3),x=n(3),_=x.Set,C=n(241),O=n(8),T=n(100),A=n(5),P=n(9),L=n(53),R=E.List,D=E.OrderedSet,I=" ",M=4,j=new RegExp("\r","g"),N=new RegExp("\n","g"),B=new RegExp("&nbsp;","g"),F=new RegExp("&#13;?","g"),K=new RegExp("&#8203;?","g"),q=["bold","bolder","500","600","700","800","900"],U=["light","lighter","100","200","300","400"],z={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},H=["className","href","rel","target","title"],V=["alt","className","height","src","width"];e.exports=y},function(e,t,n){"use strict";function r(e){var t,n=null;return!a&&document.implementation&&document.implementation.createHTMLDocument&&(t=document.implementation.createHTMLDocument("foo"),t.documentElement||i(!1),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n}var o=n(17),i=n(5),a=o.isBrowser("IE <= 9");e.exports=r},function(e,t,n){"use strict";var r=n(7),o=n(6),i=(n(29),n(242)),a=n(9),s={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){switch(t){case"bold":return s.toggleInlineStyle(e,"BOLD");case"italic":return s.toggleInlineStyle(e,"ITALIC");case"underline":return s.toggleInlineStyle(e,"UNDERLINE");case"code":return s.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return s.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return s.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=r.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=o.push(e,t,"insert-characters");return o.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),r=t.getStartKey(),i=n.getBlockBefore(r);if(i&&"atomic"===i.getType()){var a=n.getBlockMap().delete(i.getKey()),c=n.merge({blockMap:a,selectionAfter:t});if(c!==n)return o.push(e,c,"remove-range")}var u=s.tryToRemoveBlockStyle(e);return u?o.push(e,u,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),i=t.getStartKey(),a=n.getBlockForKey(i),s=a.getLength();if(t.getStartOffset()<s)return null;var c=n.getBlockAfter(i);if(!c||"atomic"!==c.getType())return null;var u=t.merge({focusKey:c.getKey(),focusOffset:c.getLength()}),l=r.removeRange(n,u,"forward");return l!==n?o.push(e,l,"remove-range"):null},onTab:function(e,t,n){var r=t.getSelection(),a=r.getAnchorKey();if(a!==r.getFocusKey())return t;var s=t.getCurrentContent(),c=s.getBlockForKey(a),u=c.getType();if("unordered-list-item"!==u&&"ordered-list-item"!==u)return t;e.preventDefault();var l=s.getBlockBefore(a);if(!l)return t;var f=l.getType();if("unordered-list-item"!==f&&"ordered-list-item"!==f)return t;var p=c.getDepth();if(!e.shiftKey&&p===n)return t;n=Math.min(l.getDepth()+1,n);var d=i(s,r,e.shiftKey?-1:1,n);return o.push(t,d,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),i=n.getStartKey(),s=n.getEndKey(),c=e.getCurrentContent(),u=n;if(i!==s&&0===n.getEndOffset()){var l=a(c.getBlockBefore(s));s=l.getKey(),u=u.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:s,focusOffset:l.getLength(),isBackward:!1})}if(c.getBlockMap().skipWhile(function(e,t){return t!==i}).reverse().skipWhile(function(e,t){return t!==s}).some(function(e){return"atomic"===e.getType()}))return e;var f=c.getBlockForKey(i).getType()===t?"unstyled":t;return o.push(e,r.setBlockType(c,u,f),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=t.getFocusKey();return t.isCollapsed()||n!==r?s.toggleBlockType(e,"code-block"):s.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),i=e.getCurrentInlineStyle();if(n.isCollapsed())return o.setInlineStyleOverride(e,i.has(t)?i.remove(t):i.add(t));var a,s=e.getCurrentContent();return a=i.has(t)?r.removeInlineStyle(s,n,t):r.applyInlineStyle(s,n,t),o.push(e,a,"change-inline-style")},toggleLink:function(e,t,n){var i=r.applyEntity(e.getCurrentContent(),t,n);return o.push(e,i,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),n=t.getAnchorOffset();if(t.isCollapsed()&&0===n){var o=t.getAnchorKey(),i=e.getCurrentContent(),a=i.getBlockForKey(o),s=i.getFirstBlock();if(a.getLength()>0&&a!==s)return null;var c=a.getType(),u=i.getBlockBefore(o);if("code-block"===c&&u&&"code-block"===u.getType())return null;if("unstyled"!==c)return r.setBlockType(i,t,"unstyled")}return null}};e.exports=s},function(e,t,n){"use strict";function r(e){return f&&e.altKey||g(e)}function o(e){return h(e)?e.shiftKey?"redo":"undo":null}function i(e){return p&&e.shiftKey?null:r(e)?"delete-word":"delete"}function a(e){return h(e)&&f?"backspace-to-start-of-line":r(e)?"backspace-word":"backspace"}function s(e){switch(e.keyCode){case 66:return h(e)?"bold":null;case 68:return g(e)?"delete":null;case 72:return g(e)?"backspace":null;case 73:return h(e)?"italic":null;case 74:return h(e)?"code":null;case 75:return!p&&g(e)?"secondary-cut":null;case 77:case 79:return g(e)?"split-block":null;case 84:return f&&g(e)?"transpose-characters":null;case 85:return h(e)?"underline":null;case 87:return f&&g(e)?"backspace-word":null;case 89:return g(e)?p?"redo":"secondary-paste":null;case 90:return o(e)||null;case u.RETURN:return"split-block";case u.DELETE:return i(e);case u.BACKSPACE:return a(e);case u.LEFT:return d&&h(e)?"move-selection-to-start-of-block":null;case u.RIGHT:return d&&h(e)?"move-selection-to-end-of-block":null;default:return null}}var c=n(63),u=n(56),l=n(17),f=l.isPlatform("Mac OS X"),p=l.isPlatform("Windows"),d=f&&l.isBrowser("Firefox < 29"),h=c.hasCommandModifier,g=c.isCtrlKeyCommand;e.exports=s},function(e,t,n){"use strict";var r={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}};e.exports=r},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(e){return{blocks:[{type:"unstyled",text:e,inlineStyleRanges:[],entityRanges:[]}],entityMap:{}}}},function(e,t,n){"use strict";function r(e){var t=e.getSelection();if(!t.isCollapsed())return t;var n=t.getStartKey(),r=t.getStartOffset(),o=r-1,i=e.getCurrentContent().getBlockForKey(n),a=i.getCharacterList(),s=a.get(o),c=a.get(r);if(!s||!c)return t;var u=s.getEntity(),l=c.getEntity(),f=u===l&&u;if(!f)return t;for(var p=o,d=r;p>0;){p--;if(a.get(p).getEntity()!==f){p++;break}}for(var h=i.getLength();d<h;){d++;var g=a.get(d);if(!g||g.getEntity()!==f)break}return t.merge({anchorOffset:p,focusOffset:d})}t.a=r;var o=n(1);n.n(o)},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getCurrentContent(),r=e.getSelection();return r.isCollapsed()||t?n.getBlockForKey(r.getAnchorKey()):null}t.a=r;var o=n(1);n.n(o)},function(e,t,n){"use strict";function r(e){return new Promise(function(t,n){var r=new FileReader;r.onload=function(){for(var e=new Uint8ClampedArray(r.result),n=e.length<=2048?1:e.length>>10,o=0,i=0,a=0;i<e.length;i+=n)o^=e[i]<<a%4,a++;t(o)},r.readAsArrayBuffer(e)})}t.a=r},function(e,t,n){"use strict";function r(e,t,n,r,o,i){var a=r-n;return t+n<=e.offset?Object.assign({},e,{offset:e.offset+a}):t>=e.offset&&t+n<=e.offset+e.length?Object.assign({},e,{length:e.length+a}):e.offset>=t&&e.offset+e.length<=t+n&&o>0?Object.assign({},e,{offset:e.offset+o}):e.offset<t&&e.offset+e.length<=t+n&&e.offset+e.length>t&&o>0?[Object.assign({},e,{length:t-e.offset}),Object.assign({},e,{offset:t+o,length:e.offset-t+e.length})]:e.offset>=t&&e.offset+e.length>t+n&&t+n>e.offset&&i>0?[Object.assign({},e,{offset:e.offset+o,length:t+n-e.offset}),Object.assign({},e,{offset:t+n+o+i,length:e.offset+e.length-(t+n)})]:e}t.a=r},function(e,t,n){"use strict";function r(e){return c.a.isValidElement(e)&&c.a.Children.count(e.props.children)>0}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(void 0===e||null===e)return e;if("string"==typeof e)return e;if(c.a.isValidElement(e)){if(r(e))return l.a.renderToStaticMarkup(e);var n=Object(f.a)(e);if(null!==t){return n.start+t+n.end}return n}if(a()(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),null!==t){return e.start+t+e.end}return e}t.a=o;var i=n(14),a=n.n(i),s=n(0),c=n.n(s),u=n(33),l=n.n(u),f=n(43)},function(e,t,n){"use strict";t.a=function(e,t){return function(){var n=e.apply(void 0,arguments);return void 0!==n&&null!==n?n:t.apply(void 0,arguments)}}},function(e,t,n){"use strict";function r(e){var t=void 0;if("undefined"!=typeof DOMParser){t=(new DOMParser).parseFromString(e,"text/html"),null!==t&&null!==t.body||(t=o(e))}else t=o(e);return t.body}t.a=r;var o=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t}},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return e=f({},p,e),{name:"inline-style",getToolbarButtons:function(t){return Object(i.a)(d,e.buttons,t)},handleCommand:function(e,t){var n=e.getEditorState,r=e.setEditorState;if(!["bold","italic","underline","code"].includes(t))return"not-handled";var i=n();return"code-block"===o.RichUtils.getCurrentBlockType(i)?"not-handled":(r(o.RichUtils.handleKeyCommand(i,t)),"handled")},getCustomStyleMap:function(){return a.a}}}t.a=r;var o=n(1),i=(n.n(o),n(15)),a=n(113),s=n(335),c=n(336),u=n(337),l=n(338),f=Object.assign||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},p={buttons:["bold","italic","strike","code","spliter"]},d={bold:s.a,italic:c.a,strike:u.a,code:l.a}},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={CODE:{padding:"2px 5px",margin:"2px",backgroundColor:"rgba(0,0,0,.04)",borderRadius:"3px",fontSize:"14px",fontFamily:'Consolas, "Liberation Mono", Menlo, Courier, "Microsoft Yahei", monospace'}}},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g;return e=h({},g,e),{name:"block-style",getToolbarButtons:function(t){return"root"===t.env?Object(c.a)(m,e.buttons,t):[]},handleCommand:function(t,n,r){var a=t.getEditorState,s=t.setEditorState,c=a();if("return"===n){if(r.shiftKey)return s(i.RichUtils.insertSoftNewline(c)),"handled";var u=o(e,c,r);if(u)return s(u),"handled"}if("tab"===n){var l=i.RichUtils.onTab(r,c,6);if(l!==c)return s(l),"handled"}if("backspace"===n){var f=c.getCurrentContent(),p=c.getSelection();if(p.isCollapsed()){var d=p.getFocusKey(),h=f.getBlockForKey(d);if(h&&!h.getLength()&&"unstyled"!==h.getType())return s(i.EditorState.push(c,i.Modifier.setBlockType(f,p,"unstyled"),"change-block-type")),"handled"}}return"not-handled"}}}function o(e,t,n){var r=e.breakoutBlocks,o=e.doubleBreakoutBlocks,a=e.breakoutBlockType,c=i.RichUtils.getCurrentBlockType(t),u=t.getSelection(),l=r.indexOf(c)>-1,f=o.indexOf(c)>-1;if("atomic"===c&&u.getAnchorKey()===u.getFocusKey())return Object(d.z)(t,u.getFocusKey(),"after");if((l||f)&&u.isCollapsed()){var p=t.getCurrentContent(),h=p.getBlockForKey(u.getEndKey()),g=u.getEndOffset(),m=g===h.getLength(),y=0===g;if(m&&l||y&&l||y&&!h.getLength()||(y||m)&&(n.metaKey||n.ctrlKey)){var v=Object(i.genKey)(),b=new i.ContentBlock({key:v,text:"",type:a,characterList:s.a.List(),depth:0}),w=p.getBlockMap(),k=w.toSeq().takeUntil(function(e){return e===h}),S=w.toSeq().skipUntil(function(e){return e===h}).rest(),E=void 0,x=void 0;m?(E=f&&!h.getLength()?[[v,b]]:[[h.getKey(),h],[v,b]],x=v):(E=[[v,b],[h.getKey(),h]],x=h.getKey());var _=k.concat(E,S).toOrderedMap(),C=p.merge({blockMap:_,selectionBefore:u,selectionAfter:u.merge({anchorKey:x,anchorOffset:0,focusKey:x,focusOffset:0,isBackward:!1})});return i.EditorState.push(t,C,"split-block")}}return null}t.a=r;var i=n(1),a=(n.n(i),n(3)),s=n.n(a),c=n(15),u=n(339),l=n(340),f=n(341),p=n(343),d=n(2),h=Object.assign||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},g={buttons:["h1","h2","h3","spliter","blockquote","codeblock","ol","ul"],breakoutBlockType:"unstyled",breakoutBlocks:["header-one","header-two","header-three","header-four","header-five","header-six","table","atomic"],doubleBreakoutBlocks:["blockquote","unordered-list-item","ordered-list-item","code-block"]},m={h1:Object(u.a)("h1"),h2:Object(u.a)("h2"),h3:Object(u.a)("h3"),h4:Object(u.a)("h4"),h5:Object(u.a)("h5"),h6:Object(u.a)("h6"),blockquote:l.a,codeblock:f.a,ol:Object(p.a)(!0),ul:Object(p.a)(!1)}},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return e=f({},p,e),{name:"link",getToolbarButtons:function(t){var n=t.store.getEditorState();return"code-block"===l.RichUtils.getCurrentBlockType(n)?null:Object(o.a)(d,e.buttons,t)},getToolbarWidgets:function(e){var t=e.store;return[{key:"link-bar",component:s.a,props:{onSave:function(e){var n=t.getEditorState,r=t.setEditorState;Object(u.O)({getEditorState:n,setEditorState:r,url:e})}}}]},getDraftDecorators:function(){return[c.a]}}}t.a=r;var o=n(15),i=n(344),a=n(345),s=n(116),c=n(121),u=n(2),l=n(1),f=(n.n(l),Object.assign||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}),p={buttons:["link","unlink"]},d={link:i.a,unlink:a.a}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return g});var a,s=n(0),c=n.n(s),u=n(4),l=n.n(u),f=n(21),p=(n.n(f),n(120)),d=n(2),h=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),g=Object(p.a)(a=function(e){function t(){var e,n,i,a;r(this,t);for(var s=arguments.length,c=Array(s),u=0;u<s;u++)c[u]=arguments[u];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),i.state={actived:!1,editUrl:null,showValidationError:!1,isValid:!1,buttonPosition:"50%"},i.inputElement=null,i.update=function(e){var t=e.target.value,n=Object(d.I)(t,!0);!n||t.startsWith("#")||/^https?\:\/\//.test(t)||(t="http://"+t),i.setState({editUrl:t,isValid:n})},i.handleKeyDown=function(e){13===e.keyCode?(e.stopPropagation(),e.preventDefault(),i.save()):27===e.keyCode&&(e.stopPropagation(),e.preventDefault(),i.dismiss())},i.active=function(e,t){i.setState({actived:e||!0,editUrl:e,buttonPosition:t},function(){i.inputElement&&i.inputElement.select()})},i.save=function(){var e=i.state,t=e.actived,n=e.editUrl,r=e.isValid;if(t===n)return void i.dismiss();r?(i.props.onSave(n),i.dismiss()):i.setState({showValidationError:!0},function(){i.inputElement&&i.inputElement.select()})},i.dismiss=function(){i.setState({actived:!1,showValidationError:!1})},i.handleClickOutside=function(){return i.dismiss()},a=n,o(i,a)}return i(t,e),h(t,[{key:"render",value:function(){return c.a.createElement(f.CSSTransitionGroup,d.P.slide({enterPosition:{x:0,y:10}}),this.renderContent())}},{key:"renderContent",value:function(){var e=this,t=this.state,n=t.actived,r=t.editUrl,o=t.isValid,i=t.showValidationError,a=t.buttonPosition;return n?c.a.createElement("div",{className:"qa-r-editor-bubble",onClick:function(e){return e.stopPropagation()},onMouseDown:function(e){return e.stopPropagation()}},c.a.createElement("div",{className:"qa-r-editor-bubble-inner",style:{left:a}},c.a.createElement("input",{ref:function(t){return e.inputElement=t},className:l()("qa-r-editor-bubble-input",{error:i&&!o}),type:"url",value:r||"",onChange:this.update,placeholder:"https://cloud.tencent.com",onInput:function(e){return e.stopPropagation()},onKeyDown:this.handleKeyDown,onKeyUp:function(e){return e.stopPropagation()}}),c.a.createElement("div",{className:"qa-r-editor-bubble-btns"},c.a.createElement("button",{className:"qa-r-editor-bubble-btn",onClick:this.save},"\u63d2\u5165"),c.a.createElement("button",{className:"qa-r-editor-bubble-btn qa-r-editor-bubble-btn-weak",onClick:this.dismiss},"\u53d6\u6d88")),i&&!r&&c.a.createElement("div",{className:"qa-r-editor-bubble-tip error"},"\u8bf7\u8f93\u5165\u94fe\u63a5\u5730\u5740"),i&&r&&!o&&c.a.createElement("div",{className:"qa-r-editor-bubble-tip error"},"\u8bf7\u8f93\u5165\u5408\u6cd5\u7684\u94fe\u63a5\u5730\u5740"))):null}}]),t}(s.Component))||a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||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},c=n(349),u=r(c),l=n(0),f=r(l),p=n(18),d=r(p),h=n(350),g=(r(h),n(351)),m=(d.default.any,d.default.func,d.default.node,{component:"span",childFactory:function(e){return e}}),y=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.performAppear=function(e,t){a.currentlyTransitioningKeys[e]=!0,t.componentWillAppear?t.componentWillAppear(a._handleDoneAppearing.bind(a,e,t)):a._handleDoneAppearing(e,t)},a._handleDoneAppearing=function(e,t){t.componentDidAppear&&t.componentDidAppear(),delete a.currentlyTransitioningKeys[e];var n=(0,g.getChildMapping)(a.props.children);n&&n.hasOwnProperty(e)||a.performLeave(e,t)},a.performEnter=function(e,t){a.currentlyTransitioningKeys[e]=!0,t.componentWillEnter?t.componentWillEnter(a._handleDoneEntering.bind(a,e,t)):a._handleDoneEntering(e,t)},a._handleDoneEntering=function(e,t){t.componentDidEnter&&t.componentDidEnter(),delete a.currentlyTransitioningKeys[e];var n=(0,g.getChildMapping)(a.props.children);n&&n.hasOwnProperty(e)||a.performLeave(e,t)},a.performLeave=function(e,t){a.currentlyTransitioningKeys[e]=!0,t.componentWillLeave?t.componentWillLeave(a._handleDoneLeaving.bind(a,e,t)):a._handleDoneLeaving(e,t)},a._handleDoneLeaving=function(e,t){t.componentDidLeave&&t.componentDidLeave(),delete a.currentlyTransitioningKeys[e];var n=(0,g.getChildMapping)(a.props.children);n&&n.hasOwnProperty(e)?a.keysToEnter.push(e):a.setState(function(t){var n=s({},t.children);return delete n[e],{children:n}})},a.childRefs=Object.create(null),a.state={children:(0,g.getChildMapping)(n.children)},a}return a(t,e),t.prototype.componentWillMount=function(){this.currentlyTransitioningKeys={},this.keysToEnter=[],this.keysToLeave=[]},t.prototype.componentDidMount=function(){var e=this.state.children;for(var t in e)e[t]&&this.performAppear(t,this.childRefs[t])},t.prototype.componentWillReceiveProps=function(e){var t=(0,g.getChildMapping)(e.children),n=this.state.children;this.setState({children:(0,g.mergeChildMappings)(n,t)});for(var r in t){var o=n&&n.hasOwnProperty(r);!t[r]||o||this.currentlyTransitioningKeys[r]||this.keysToEnter.push(r)}for(var i in n){var a=t&&t.hasOwnProperty(i);!n[i]||a||this.currentlyTransitioningKeys[i]||this.keysToLeave.push(i)}},t.prototype.componentDidUpdate=function(){var e=this,t=this.keysToEnter;this.keysToEnter=[],t.forEach(function(t){return e.performEnter(t,e.childRefs[t])});var n=this.keysToLeave;this.keysToLeave=[],n.forEach(function(t){return e.performLeave(t,e.childRefs[t])})},t.prototype.render=function(){var e=this,t=[];for(var n in this.state.children)!function(n){var r=e.state.children[n];if(r){var o="string"!=typeof r.ref,i=e.props.childFactory(r),a=function(t){e.childRefs[n]=t};i===r&&o&&(a=(0,u.default)(r.ref,a)),t.push(f.default.cloneElement(i,{key:n,ref:a}))}}(n);var r=s({},this.props);return delete r.transitionLeave,delete r.transitionName,delete r.transitionAppear,delete r.transitionEnter,delete r.childFactory,delete r.transitionLeaveTimeout,delete r.transitionEnterTimeout,delete r.transitionAppearTimeout,delete r.component,f.default.createElement(this.props.component,r,t)},t}(f.default.Component);y.displayName="TransitionGroup",y.propTypes={},y.defaultProps=m,t.default=y,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=!("undefined"==typeof window||!window.document||!window.document.createElement),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(null==e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!=typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}}t.__esModule=!0,t.nameShape=void 0,t.transitionTimeout=o;var i=n(0),a=(r(i),n(18)),s=r(a);t.nameShape=s.default.oneOfType([s.default.string,s.default.shape({enter:s.default.string,leave:s.default.string,active:s.default.string}),s.default.shape({enter:s.default.string,enterActive:s.default.string,leave:s.default.string,leaveActive:s.default.string,appear:s.default.string,appearActive:s.default.string})])},function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function o(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function i(e,t,n){return e===t||(e.correspondingElement?e.correspondingElement.classList.contains(n):e.classList.contains(n))}function a(e,t,n){if(e===t)return!0;for(;e.parentNode;){if(i(e,t,n))return!0;e=e.parentNode}return e}function s(e){return document.documentElement.clientWidth<=e.clientX||document.documentElement.clientHeight<=e.clientY}function c(e,t){var n,i;return i=n=function(n){function i(e){var t;return t=n.call(this,e)||this,t.__outsideClickHandler=function(e){if("function"==typeof t.__clickOutsideHandlerProp)return void t.__clickOutsideHandlerProp(e);var n=t.getInstance();if("function"==typeof n.props.handleClickOutside)return void n.props.handleClickOutside(e);if("function"==typeof n.handleClickOutside)return void n.handleClickOutside(e);throw new Error("WrappedComponent lacks a handleClickOutside(event) function for processing outside click events.")},t.enableOnClickOutside=function(){if("undefined"!=typeof document&&!g[t._uid]){void 0===u&&(u=p()),g[t._uid]=!0;var e=t.props.eventTypes;e.forEach||(e=[e]),h[t._uid]=function(e){if(!t.props.disableOnClickOutside&&null!==t.componentNode&&(t.props.preventDefault&&e.preventDefault(),t.props.stopPropagation&&e.stopPropagation(),!t.props.excludeScrollbar||!s(e))){a(e.target,t.componentNode,t.props.outsideClickIgnoreClass)===document&&t.__outsideClickHandler(e)}},e.forEach(function(e){var n=null;-1!==m.indexOf(e)&&u&&(n={passive:!t.props.preventDefault}),document.addEventListener(e,h[t._uid],n)})}},t.disableOnClickOutside=function(){delete g[t._uid];var e=h[t._uid];if(e&&"undefined"!=typeof document){var n=t.props.eventTypes;n.forEach||(n=[n]),n.forEach(function(t){return document.removeEventListener(t,e)}),delete h[t._uid]}},t.getRef=function(e){return t.instanceRef=e},t._uid=d(),t}r(i,n);var c=i.prototype;return c.getInstance=function(){if(!e.prototype.isReactComponent)return this;var t=this.instanceRef;return t.getInstance?t.getInstance():t},c.componentDidMount=function(){if("undefined"!=typeof document&&document.createElement){var e=this.getInstance();if(t&&"function"==typeof t.handleClickOutside&&(this.__clickOutsideHandlerProp=t.handleClickOutside(e),"function"!=typeof this.__clickOutsideHandlerProp))throw new Error("WrappedComponent lacks a function for processing outside click events specified by the handleClickOutside config option.");this.componentNode=Object(f.findDOMNode)(this.getInstance()),this.enableOnClickOutside()}},c.componentDidUpdate=function(){this.componentNode=Object(f.findDOMNode)(this.getInstance())},c.componentWillUnmount=function(){this.disableOnClickOutside()},c.render=function(){var t=this.props,n=(t.excludeScrollbar,o(t,["excludeScrollbar"]));return e.prototype.isReactComponent?n.ref=this.getRef:n.wrappedRef=this.getRef,n.disableOnClickOutside=this.disableOnClickOutside,n.enableOnClickOutside=this.enableOnClickOutside,Object(l.createElement)(e,n)},i}(l.Component),n.displayName="OnClickOutside("+(e.displayName||e.name||"Component")+")",n.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:t&&t.excludeScrollbar||!1,outsideClickIgnoreClass:y,preventDefault:!1,stopPropagation:!1},n.getClass=function(){return e.getClass?e.getClass():e},i}var u,l=n(0),f=(n.n(l),n(16)),p=(n.n(f),function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};return window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t),e}}),d=function(e){return void 0===e&&(e=0),function(){return++e}}(),h={},g={},m=["touchstart","touchmove"],y="ignore-react-onclickoutside";t.a=c},function(e,t,n){"use strict";function r(e,t,n){e.findEntityRanges(function(e){var t=e.getEntity();return null!==t&&"LINK"===n.getEntity(t).getType()},t)}function o(e){var t=e.contentState,n=e.entityKey,r=e.children,o=t.getEntity(n).getData(),i=o.url;return a.a.createElement("a",{href:i,target:"_blank",style:{cursor:"text"},title:"\u6309\u4f4f "+s.J+" \u70b9\u51fb\u8bbf\u95ee "+i,onClick:function(e){return e.ctrlKey||e.metaKey?window.open(i,"_blank"):null}},r)}n.d(t,"a",function(){return c});var i=n(0),a=n.n(i),s=n(2),c={strategy:r,component:o}},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,t=h({},g,e),n=(t.supportSyntaxSelect,t.defaultSyntax),r=t.buttons;return{name:"code-edit",getToolbarButtons:function(e){if("root"!==e.env)return null;var t=e.store.getEditorState();return"code-block"===o.RichUtils.getCurrentBlockType(t)?Object(d.a)(m,r,e):null},handleCommand:function(e,t,n){var r=e.getEditorState,o=e.setEditorState,i=r();if(s.a.hasSelectionInBlock(i))switch(t){case"return":return o(s.a.handleReturn(n,i)),"handled";case"tab":return o(s.a.onTab(n,i)),"handled";default:var a=s.a.handleKeyCommand(i,t);return a?(o(a),"handled"):"not-handled"}return"not-handled"},handlePastedText:function(e,t){var n=e.getEditorState(),r=n.getCurrentContent(),i=n.getSelection(),a=r.getBlockForKey(i.getStartKey());return a!==r.getBlockForKey(i.getEndKey())||"code-block"!==a.getType()?"not-handled":(e.setEditorState(o.EditorState.push(n,o.Modifier.insertText(r,i,t),"insert-characters")),"handled")},getDecorators:function(){return[new u.a({prism:l.a,defaultSyntax:n,getSyntax:function(e){if(e.getData){var t=e.getData().get("syntax")||n;return t=t.toLowerCase(),l.a.languages[t]||(t=n),t}},render:function(e){var t=e.type,n=e.children;return React.createElement("span",{className:"prism-token token "+(t||"")},n)}})]},getBlockRenderInfo:function(e,t){if("code-block"===e.getType())return{component:f.a,editable:!0}}}}t.a=r;var o=n(1),i=(n.n(o),n(3)),a=(n.n(i),n(358)),s=n.n(a),c=n(372),u=n.n(c),l=n(374),f=n(447),p=n(448),d=n(15),h=Object.assign||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},g={defaultSyntax:"js",supportSyntaxSelect:!0,buttons:["syntax"]},m={syntax:p.a}},function(e,t,n){function r(e){return o(e).indent||i}var o=n(124),i=" ";e.exports=r},function(e,t,n){"use strict";function r(e){var t=0,n=0,r=0;for(var o in e){var i=e[o],a=i[0],s=i[1];(a>n||a===n&&s>r)&&(n=a,r=s,t=Number(o))}return t}var o=n(365),i=/^(?:( )+|\t+)/;e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");var t,n,a=0,s=0,c=0,u={};e.split(/\n/g).forEach(function(e){if(e){var r,o=e.match(i);o?(r=o[0].length,o[1]?s++:a++):r=0;var l=r-c;c=r,l?(n=l>0,t=u[n?l:-l],t?t[0]++:t=u[l]=[1,0]):t&&(t[1]+=Number(n))}});var l,f,p=r(u);return p?s>=a?(l="space",f=o(" ",p)):(l="tab",f=o("\t",p)):(l=null,f=""),{amount:p,type:l,indent:f}}},function(e,t,n){function r(e,t){return t=t||i(e),o.List(e.split(t))}var o=n(3),i=n(46);e.exports=r},function(e,t,n){function r(e,t,n){n=n||i(e);for(var r=0,o=0,s=0;o>=0&&o<t;)r++,s=o,o=e.indexOf(n,o+n.length);return new a({line:r-1,offset:t-s})}var o=n(3),i=n(46),a=o.Record({line:Number(0),offset:Number(0)});a.prototype.getLine=function(){return this.get("line")},a.prototype.getOffset=function(){return this.get("offset")},e.exports=r},function(e,t,n){(function(t){var n="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},r=function(){var e=/\blang(?:uage)?-(\w+)\b/i,t=0,r=n.Prism={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function(e){return e instanceof o?new o(e.type,r.util.encode(e.content),e.alias):"Array"===r.util.type(e)?e.map(r.util.encode):e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).match(/\[object (\w+)\]/)[1]},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function(e){switch(r.util.type(e)){case"Object":var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=r.util.clone(e[n]));return t;case"Array":return e.map(function(e){return r.util.clone(e)})}return e}},languages:{extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var o in t)n[o]=t[o];return n},insertBefore:function(e,t,n,o){o=o||r.languages;var i=o[e];if(2==arguments.length){n=arguments[1];for(var a in n)n.hasOwnProperty(a)&&(i[a]=n[a]);return i}var s={};for(var c in i)if(i.hasOwnProperty(c)){if(c==t)for(var a in n)n.hasOwnProperty(a)&&(s[a]=n[a]);s[c]=i[c]}return r.languages.DFS(r.languages,function(t,n){n===o[e]&&t!=e&&(this[t]=s)}),o[e]=s},DFS:function(e,t,n,o){o=o||{};for(var i in e)e.hasOwnProperty(i)&&(t.call(e,i,e[i],n||i),"Object"!==r.util.type(e[i])||o[r.util.objId(e[i])]?"Array"!==r.util.type(e[i])||o[r.util.objId(e[i])]||(o[r.util.objId(e[i])]=!0,r.languages.DFS(e[i],t,i,o)):(o[r.util.objId(e[i])]=!0,r.languages.DFS(e[i],t,null,o)))}},plugins:{},highlightAll:function(e,t){var n={callback:t,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};r.hooks.run("before-highlightall",n);for(var o,i=n.elements||document.querySelectorAll(n.selector),a=0;o=i[a++];)r.highlightElement(o,!0===e,n.callback)},highlightElement:function(t,o,i){for(var a,s,c=t;c&&!e.test(c.className);)c=c.parentNode;c&&(a=(c.className.match(e)||[,""])[1].toLowerCase(),s=r.languages[a]),t.className=t.className.replace(e,"").replace(/\s+/g," ")+" language-"+a,t.parentNode&&(c=t.parentNode,/pre/i.test(c.nodeName)&&(c.className=c.className.replace(e,"").replace(/\s+/g," ")+" language-"+a));var u=t.textContent,l={element:t,language:a,grammar:s,code:u};if(r.hooks.run("before-sanity-check",l),!l.code||!l.grammar)return l.code&&(r.hooks.run("before-highlight",l),l.element.textContent=l.code,r.hooks.run("after-highlight",l)),void r.hooks.run("complete",l);if(r.hooks.run("before-highlight",l),o&&n.Worker){var f=new Worker(r.filename);f.onmessage=function(e){l.highlightedCode=e.data,r.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,i&&i.call(l.element),r.hooks.run("after-highlight",l),r.hooks.run("complete",l)},f.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else l.highlightedCode=r.highlight(l.code,l.grammar,l.language),r.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,i&&i.call(t),r.hooks.run("after-highlight",l),r.hooks.run("complete",l)},highlight:function(e,t,n){var i=r.tokenize(e,t);return o.stringify(r.util.encode(i),n)},matchGrammar:function(e,t,n,o,i,a,s){var c=r.Token;for(var u in n)if(n.hasOwnProperty(u)&&n[u]){if(u==s)return;var l=n[u];l="Array"===r.util.type(l)?l:[l];for(var f=0;f<l.length;++f){var p=l[f],d=p.inside,h=!!p.lookbehind,g=!!p.greedy,m=0,y=p.alias;if(g&&!p.pattern.global){var v=p.pattern.toString().match(/[imuy]*$/)[0];p.pattern=RegExp(p.pattern.source,v+"g")}p=p.pattern||p;for(var b=o,w=i;b<t.length;w+=t[b].length,++b){var k=t[b];if(t.length>e.length)return;if(!(k instanceof c)){p.lastIndex=0;var S=p.exec(k),E=1;if(!S&&g&&b!=t.length-1){if(p.lastIndex=w,!(S=p.exec(e)))break;for(var x=S.index+(h?S[1].length:0),_=S.index+S[0].length,C=b,O=w,T=t.length;C<T&&(O<_||!t[C].type&&!t[C-1].greedy);++C)O+=t[C].length,x>=O&&(++b,w=O);if(t[b]instanceof c||t[C-1].greedy)continue;E=C-b,k=e.slice(w,O),S.index-=w}if(S){h&&(m=S[1].length);var x=S.index+m,S=S[0].slice(m),_=x+S.length,A=k.slice(0,x),P=k.slice(_),L=[b,E];A&&(++b,w+=A.length,L.push(A));var R=new c(u,d?r.tokenize(S,d):S,y,S,g);if(L.push(R),P&&L.push(P),Array.prototype.splice.apply(t,L),1!=E&&r.matchGrammar(e,t,n,b,w,!0,u),a)break}else if(a)break}}}}},tokenize:function(e,t,n){var o=[e],i=t.rest;if(i){for(var a in i)t[a]=i[a];delete t.rest}return r.matchGrammar(e,o,t,0,0,!1),o},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var o,i=0;o=n[i++];)o(t)}}},o=r.Token=function(e,t,n,r,o){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length,this.greedy=!!o};if(o.stringify=function(e,t,n){if("string"==typeof e)return e;if("Array"===r.util.type(e))return e.map(function(n){return o.stringify(n,t,e)}).join("");var i={type:e.type,content:o.stringify(e.content,t,n),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:n};if(e.alias){var a="Array"===r.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(i.classes,a)}r.hooks.run("wrap",i);var s=Object.keys(i.attributes).map(function(e){return e+'="'+(i.attributes[e]||"").replace(/"/g,"&quot;")+'"'}).join(" ");return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+(s?" "+s:"")+">"+i.content+"</"+i.tag+">"},!n.document)return n.addEventListener?(r.disableWorkerMessageHandler||n.addEventListener("message",function(e){var t=JSON.parse(e.data),o=t.language,i=t.code,a=t.immediateClose;n.postMessage(r.highlight(i,r.languages[o],o)),a&&n.close()},!1),n.Prism):n.Prism;var i=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return i&&(r.filename=i.src,r.manual||i.hasAttribute("data-manual")||("loading"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(r.highlightAll):window.setTimeout(r.highlightAll,16):document.addEventListener("DOMContentLoaded",r.highlightAll))),n.Prism}();void 0!==e&&e.exports&&(e.exports=r),void 0!==t&&(t.Prism=r),r.languages.markup={comment:/<!--[\s\S]*?-->/,prolog:/<\?[\s\S]+?\?>/,doctype:/<!DOCTYPE[\s\S]+?>/i,cdata:/<!\[CDATA\[[\s\S]*?]]>/i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/(^|[^\\])["']/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),r.languages.xml=r.languages.markup,r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(?:;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^{}\s][^{};]*?(?=\s*\{)/,string:{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},property:/[\w-]+(?=\s*:)/i,important:/\B!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},r.languages.css.atrule.inside.rest=r.util.clone(r.languages.css),r.languages.markup&&(r.languages.insertBefore("markup","tag",{style:{pattern:/(<style[\s\S]*?>)[\s\S]*?(?=<\/style>)/i,lookbehind:!0,inside:r.languages.css,alias:"language-css"}}),r.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:r.languages.markup.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:r.languages.css}},alias:"language-css"}},r.languages.markup.tag)),r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/[a-z0-9_]+(?=\()/i,number:/\b-?(?:0x[\da-f]+|\d*\.?\d+(?:e[+-]?\d+)?)\b/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/},r.languages.javascript=r.languages.extend("clike",{keyword:/\b(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\b/,number:/\b-?(?:0[xX][\dA-Fa-f]+|0[bB][01]+|0[oO][0-7]+|\d*\.?\d+(?:[Ee][+-]?\d+)?|NaN|Infinity)\b/,function:/[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*(?=\s*\()/i,operator:/-[-=]?|\+[+=]?|!=?=?|<<?=?|>>?>?=?|=(?:==?|>)?|&[&=]?|\|[|=]?|\*\*?=?|\/=?|~|\^=?|%=?|\?|\.{3}/}),r.languages.insertBefore("javascript","keyword",{regex:{pattern:/(^|[^\/])\/(?!\/)(\[[^\]\r\n]+]|\\.|[^\/\\\[\r\n])+\/[gimyu]{0,5}(?=\s*($|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*(?=\s*=\s*(?:function\b|(?:\([^()]*\)|[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)\s*=>))/i,alias:"function"}}),r.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^}]+\}/,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}}}),r.languages.markup&&r.languages.insertBefore("markup","tag",{script:{pattern:/(<script[\s\S]*?>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,inside:r.languages.javascript,alias:"language-javascript"}}),r.languages.js=r.languages.javascript,function(){"undefined"!=typeof self&&self.Prism&&self.document&&document.querySelector&&(self.Prism.fileHighlight=function(){var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"};Array.prototype.slice.call(document.querySelectorAll("pre[data-src]")).forEach(function(t){for(var n,o=t.getAttribute("data-src"),i=t,a=/\blang(?:uage)?-(?!\*)(\w+)\b/i;i&&!a.test(i.className);)i=i.parentNode;if(i&&(n=(t.className.match(a)||[,""])[1]),!n){var s=(o.match(/\.(\w+)$/)||[,""])[1];n=e[s]||s}var c=document.createElement("code");c.className="language-"+n,t.textContent="",c.textContent="Loading\u2026",t.appendChild(c);var u=new XMLHttpRequest;u.open("GET",o,!0),u.onreadystatechange=function(){4==u.readyState&&(u.status<400&&u.responseText?(c.textContent=u.responseText,r.highlightElement(c)):u.status>=400?c.textContent="\u2716 Error "+u.status+" while fetching file: "+u.statusText:c.textContent="\u2716 Error: File does not exist or is empty")},u.send(null)})},document.addEventListener("DOMContentLoaded",self.Prism.fileHighlight))}()}).call(t,n(13))},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,o=Object.prototype.toString,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===o.call(e)},a=function(e){if(!e||"[object Object]"!==o.call(e))return!1;var t=r.call(e,"constructor"),n=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!t&&!n)return!1;var i;for(i in e);return void 0===i||r.call(e,i)};e.exports=function e(){var t,n,r,o,s,c,u=arguments[0],l=1,f=arguments.length,p=!1;for("boolean"==typeof u&&(p=u,u=arguments[1]||{},l=2),(null==u||"object"!=typeof u&&"function"!=typeof u)&&(u={});l<f;++l)if(null!=(t=arguments[l]))for(n in t)r=u[n],o=t[n],u!==o&&(p&&o&&(a(o)||(s=i(o)))?(s?(s=!1,c=r&&i(r)?r:[]):c=r&&a(r)?r:{},u[n]=e(p,c,o)):void 0!==o&&(u[n]=o));return u}},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,t=u({},f,e),n=t.buttons,r=t.beforeUpload,a=t.handleUpload,l=t.imageSizeLimit,d=t.checkAllowAccessOrigin,h=t.checkAllowExtension;t.findScrollParent&&Object(o.g)("\u56fe\u7247\u7684\u61d2\u52a0\u8f7d\u5df2\u6539\u7531 focusPlugin \u652f\u6301\uff0c\u8bf7\u6539\u5728 focus \u914d\u7f6e\u9879\u4f20\u5165");var g=function(e){var t=!0,n=!1,r=void 0;try{for(var i,a=e[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var s=i.value;if(s instanceof File){if(h(Object(o.j)(s.name)))return s}else if(/image\/(\w+)$/.test(s.type))return new File([s],"image."+RegExp.$1)}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}return null},m=function(e,t){var n=g(t);return n&&(n=r(n))?void Object(o.C)({file:n,store:e,imageSizeLimit:l,uploadImage:a}):"not-handled"};return{getToolbarButtons:function(e){if("root"!==e.env)return null;var t=e.store.getEditorState();return"code-block"===c.RichUtils.getCurrentBlockType(t)?null:Object(s.a)(p,n,u({},e,{onInsert:function(t){return m(e.store,t)}}))},handleFiles:function(e,t,n,r){return m(e,n)},getBlockRenderInfo:function(e,t){var n=Object(o.o)(e,t);if(n&&"IMAGE"===n.entityType)return{component:i.a,editable:!1,props:u({},n,{store:t,checkAllowAccessOrigin:d,imageSizeLimit:l,uploadImage:a})}}}}t.a=r;var o=n(2),i=n(449),a=n(131),s=n(15),c=n(1),u=(n.n(c),Object.assign||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}),l=[".png",".jpg",".jpeg",".gif"],f={buttons:["image"],beforeUpload:function(e){return e},handleUpload:function(e){var t=new Error("\u4f7f\u7528 createImagePlugin() \u652f\u6301\u56fe\u7247\u63d2\u5165\u65f6\uff0c\u5fc5\u987b\u4f20\u5165 handleUpload() \u65b9\u6cd5\u6765\u5b9e\u73b0\u56fe\u7247\u7684\u4e0a\u4f20");throw console.error(t),t},checkAllowAccessOrigin:function(e){return!1},checkAllowExtension:function(e){return e=String(e).toLowerCase(),l.includes(e)},imageSizeLimit:2516582.4},p={image:a.a}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",function(){return i});var o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;r(this,e),this.x=t,this.y=n}return o(e,null,[{key:"from",value:function(t,n){return new e(n.x-t.x,n.y-t.y)}}]),o(e,[{key:Symbol.iterator,value:regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.x;case 2:return e.next=4,this.y;case 4:case"end":return e.stop()}},e,this)})},{key:"square",value:function(){return this.x*this.x+this.y*this.y}},{key:"length",value:function(){return Math.sqrt(this.square())}},{key:"add",value:function(t){return new e(this.x+t.x,this.y+t.y)}},{key:"minus",value:function(t){return new e(this.x-t.x,this.y-t.y)}},{key:"dot",value:function(e){return this.x*e.x+this.y*e.y}},{key:"project",value:function(e){return e.multipy(this.dot(e)/e.square())}},{key:"multipy",value:function(t){return new e(this.x*t,this.y*t)}},{key:"normalize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return this.multipy(e/this.length())}},{key:"rotate",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"deg",r="deg"==n?t*Math.PI/180:t,o=Math.sin(r),i=Math.cos(r),a=i,s=o,c=-o,u=i,l=this.x,f=this.y;return new e(a*l+c*f+0,s*l+u*f+0)}},{key:"vertical",value:function(){return new e(this.y,-this.x)}},{key:"reverse",value:function(){return this.multipy(-1)}},{key:"getAngle",value:function(){var e=this.length();if(0===e)return 0;var t=Math.acos(this.x/e);return 180*(this.y>0?1:-1)*t/Math.PI}}]),e}()},function(e,t,n){"use strict";function r(e){var t=e.theme,n=e.store,r=e.onInsert,o=n&&"root"!==n.getEditorEnviorment();return i.a.createElement(s.a,{theme:t,icon:"pic",disabled:o,title:"\u63d2\u5165\u56fe\u7247",accept:".png, .jpg, .jpeg, .gif",onSelect:r})}t.a=r;var o=n(0),i=n.n(o),a=n(4),s=(n.n(a),n(68))},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;return e=i({},a,e),e.enable?{getToolbarWidgets:function(){return[{key:"debug-info",component:o.a}]}}:{}}t.a=r;var o=n(468),i=Object.assign||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},a={enable:!1}},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,t=l({},f,e),n=t.buttons,r={};return{name:"table",getToolbarButtons:function(e){var t=e.env,i=e.store;if("root"===t){var a=e.store.getEditorState();return"code-block"===o.RichUtils.getCurrentBlockType(a)?null:Object(c.a)(p,n,l({},e,{focusTable:function(e){r[e]&&r[e].focusFirstRow()}}))}return"table"===t||"table-multi-select"===t?i.getTableToolbarButtons(e):null},handleCommand:function(e,t,n){var a=e.getEditorState(),s=a.getCurrentContent(),c=a.getSelection(),u=s.getBlockMap().get(c.getFocusKey()),l=u&&s.getBlockBefore(u.getKey()),f=u&&s.getBlockAfter(u.getKey());switch(t){case"arrow-up":return l&&r[l.getKey()]?(n.preventDefault(),e.setEditorState(o.EditorState.set(a,{selection:o.SelectionState.createEmpty(l.getKey())})),r[l.getKey()].focusLastRow(),"handled"):"not-handled";case"arrow-down":return f&&r[f.getKey()]?(n.preventDefault(),e.setEditorState(o.EditorState.set(a,{selection:o.SelectionState.createEmpty(f.getKey())})),r[f.getKey()].focusFirstRow(),"handled"):"not-handled";case"delete":case"backspace":var p=Object(i.q)(a,"delete"===t);return p?(Object(i.L)(e,p,"delete"===t?"backward":"forward"),"handled"):"not-handled"}return"not-handled"},getBlockRenderInfo:function(e,t,n){if("table"===e.getType()){var o=Object(u.a)(e,t,n,r);return{component:s.a,editable:!1,props:o}}}}}t.a=r;var o=n(1),i=(n.n(o),n(2)),a=n(470),s=n(471),c=n(15),u=n(476),l=Object.assign||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},f={buttons:["table"]},p={table:a.a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ASTNodeTypes={Document:"Document",Paragraph:"Paragraph",BlockQuote:"BlockQuote",ListItem:"ListItem",List:"List",Header:"Header",CodeBlock:"CodeBlock",HtmlBlock:"HtmlBlock",ReferenceDef:"ReferenceDef",HorizontalRule:"HorizontalRule",Comment:"Comment",Str:"Str",Break:"Break",Emphasis:"Emphasis",Strong:"Strong",Html:"Html",Link:"Link",Image:"Image",Code:"Code",Delete:"Delete"}},function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}var o=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,i=function(e){return o.exec(e).slice(1)};t.resolve=function(){for(var t="",o=!1,i=arguments.length-1;i>=-1&&!o;i--){var a=i>=0?arguments[i]:e.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,o="/"===a.charAt(0))}return t=n(r(t.split("/"),function(e){return!!e}),!o).join("/"),(o?"/":"")+t||"."},t.normalize=function(e){var o=t.isAbsolute(e),i="/"===a(e,-1);return e=n(r(e.split("/"),function(e){return!!e}),!o).join("/"),e||o||(e="."),e&&i&&(e+="/"),(o?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=r(e.split("/")),i=r(n.split("/")),a=Math.min(o.length,i.length),s=a,c=0;c<a;c++)if(o[c]!==i[c]){s=c;break}for(var u=[],c=s;c<o.length;c++)u.push("..");return u=u.concat(i.slice(s)),u.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){var t=i(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},t.basename=function(e,t){var n=i(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){return i(e)[3]};var a="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(t,n(31))},function(e,t,n){"use strict";function r(e){function t(t){return e.apply(this,t)}function n(){return this instanceof n?e.apply(this,arguments):new t(arguments)}var r,a,s;i(n,e),i(t,n),r=n.prototype;for(a in r)(s=r[a])&&"object"==typeof s&&(r[a]="concat"in s?s.concat():o(s));return n}var o=n(22),i=n(507);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){return function(){var r=n||this,o=r[e];return r[e]=!t,function(){r[e]=o}}}e.exports=r},function(e,t){e.exports={AElig:"\xc6",AMP:"&",Aacute:"\xc1",Acirc:"\xc2",Agrave:"\xc0",Aring:"\xc5",Atilde:"\xc3",Auml:"\xc4",COPY:"\xa9",Ccedil:"\xc7",ETH:"\xd0",Eacute:"\xc9",Ecirc:"\xca",Egrave:"\xc8",Euml:"\xcb",GT:">",Iacute:"\xcd",Icirc:"\xce",Igrave:"\xcc",Iuml:"\xcf",LT:"<",Ntilde:"\xd1",Oacute:"\xd3",Ocirc:"\xd4",Ograve:"\xd2",Oslash:"\xd8",Otilde:"\xd5",Ouml:"\xd6",QUOT:'"',REG:"\xae",THORN:"\xde",Uacute:"\xda",Ucirc:"\xdb",Ugrave:"\xd9",Uuml:"\xdc",Yacute:"\xdd",aacute:"\xe1",acirc:"\xe2",acute:"\xb4",aelig:"\xe6",agrave:"\xe0",amp:"&",aring:"\xe5",atilde:"\xe3",auml:"\xe4",brvbar:"\xa6",ccedil:"\xe7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",eacute:"\xe9",ecirc:"\xea",egrave:"\xe8",eth:"\xf0",euml:"\xeb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",iacute:"\xed",icirc:"\xee",iexcl:"\xa1",igrave:"\xec",iquest:"\xbf",iuml:"\xef",laquo:"\xab",lt:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",ntilde:"\xf1",oacute:"\xf3",ocirc:"\xf4",ograve:"\xf2",ordf:"\xaa",ordm:"\xba",oslash:"\xf8",otilde:"\xf5",ouml:"\xf6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',raquo:"\xbb",reg:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",thorn:"\xfe",times:"\xd7",uacute:"\xfa",ucirc:"\xfb",ugrave:"\xf9",uml:"\xa8",uuml:"\xfc",yacute:"\xfd",yen:"\xa5",yuml:"\xff"}},function(e,t,n){"use strict";function r(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}e.exports=r},function(e,t,n){"use strict";function r(e){return o(e)||i(e)}var o=n(141),i=n(34);e.exports=r},function(e,t,n){"use strict";function r(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}e.exports=r},function(e,t,n){"use strict";function r(e){var t=e||{};return t.commonmark?a:t.gfm?i:o}e.exports=r;var o=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],i=o.concat(["~","|"]),a=i.concat(["\n",'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);r.default=o,r.gfm=i,r.commonmark=a},function(e,t,n){"use strict";e.exports={position:!0,gfm:!0,yaml:!0,commonmark:!1,footnotes:!1,pedantic:!1,blocks:n(516),breaks:!1}},function(e,t,n){"use strict";function r(e,t,n,r){function c(e,r,i){var c;return r=r||(i?0:null),t&&e.type!==t&&!o(t,e,r,i||null)||(c=n(e,r,i||null)),c===s?c:e.children&&c!==a&&u(e.children,e)===s?s:c}function u(e,t){for(var n,o,a=r?-1:1,u=(r?e.length:-1)+a;u>-1&&u<e.length;){if(n=e[u],(o=n&&c(n,u,t))===s)return o;u="number"==typeof o?o:u+a}return i}"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null),c(e)}e.exports=r;var o=n(519),i=!0,a="skip",s=!1;r.CONTINUE=i,r.SKIP=a,r.EXIT=s},function(e,t,n){"use strict";function r(e){for(var t,n=0,r=0,i=e.charAt(n),a={};i in o;)t=o[i],r+=t,t>1&&(r=Math.floor(r/t)*t),a[r]=n,i=e.charAt(++n);return{indent:r,stops:a}}e.exports=r;var o={" ":1,"\t":4}},function(e,t,n){"use strict";var r="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\u0000-\\u0020]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",o="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";t.openCloseTag=new RegExp("^(?:"+r+"|"+o+")"),t.tag=new RegExp("^(?:"+r+"|"+o+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Za-z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)")},function(e,t,n){"use strict";function r(e,t){return e.indexOf("<",t)}e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=e.indexOf("[",t),r=e.indexOf("![",t);return-1===r?n:n<r?n:r}e.exports=r},function(e,t,n){"use strict";function r(e){return e}e.exports=r},function(e,t,n){"use strict";e.exports={gfm:!0,commonmark:!1,pedantic:!1,entities:"false",setext:!1,closeAtx:!1,looseTable:!1,spacedTable:!0,paddedTable:!0,incrementListMarker:!0,fences:!1,fence:"`",bullet:"-",listItemIndent:"tab",rule:"*",ruleSpaces:!0,ruleRepetition:3,strong:"*",emphasis:"_"}},function(e,t,n){"use strict";function r(e){var t;return"&"!==e.charAt(0)?0:(t=e.split("&",2).join("&"),t.length-o(t).length)}var o=n(50);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n,r;for(e=e.split("\n"),n=e.length,r=o(" ",t*i);n--;)0!==e[n].length&&(e[n]=r+e[n]);return e.join("\n")}var o=n(11);e.exports=r;var i=4},function(e,t,n){"use strict";function r(e,t){var n,r,o=0,i=0;if("string"!=typeof t||1!==t.length)throw new Error("Expected character");for(e=String(e),r=e.indexOf(t),n=r;-1!==r;)o++,r===n?o>i&&(i=o):o=1,n=r+1,r=e.indexOf(t,n);return i}e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.referenceType,n="full"===t?e.identifier:"";return"shortcut"===t?n:"["+n+"]"}e.exports=r},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=o({},i,e),n=t.enable,r=t.findScrollElement,a=t.getStickTop,s=t.fixStickBox;if(!n)return{};var c=null,u=null,l=function(){if(c&&u){var e=a(c),t=s(u.parentElement.getBoundingClientRect()),n=t.top,r=t.left,o=t.width,i=t.height;n+i<e?u.style.display="none":n<e?(u.style.display="block",u.style.position="fixed",u.style.top=e+"px",u.style.left=r+"px",u.style.width=o+"px"):(u.style.display="block",u.style.position="absolute",u.style.top=0,u.style.left=0,u.style.width="100%")}};return{getToolbarWidgets:function(){return[{onToolbarMount:function(e){u=e.element,c=r(u),c?(c.addEventListener("scroll",l),window.addEventListener("resize",l)):console.warn("findScrollElement() \u8fd4\u56de\u7a7a\uff0c\u5de5\u5177\u680f\u5438\u9876\u529f\u80fd\u4e0d\u53ef\u7528")},onToolbarUnmount:function(e){c&&c.removeEventListener("scroll",l),window.removeEventListener("resize",l)}}]}}}t.a=r;var o=Object.assign||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},i={enable:!1,findScrollElement:function(e){return document.scrollingElement||document.body},getStickTop:function(e){return 0},fixStickBox:function(e){return e}}},function(e,t,n){"use strict";function r(){function e(e,t,n){!Array.isArray(t)&&t&&t.length&&(t=[].slice.call(t));var r=null,o=t.find(function(e){return!!(e instanceof File&&(r=Object(c.r)(e.name)))});return o?(n=n||e.getEditorState().getSelection(),Object(f.a)({store:e,file:o,fileType:r,selection:n,maxFileSize:i,createImportTask:a}),"handled"):"not-handled"}var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d;t=p({},d,t);var n=t,r=n.enable,o=n.buttons,i=n.maxFileSize,a=n.createImportTask,h=n.handleConvertTask,m=n.handleQueryPreview;if(!r)return{};if(h)return Object(c.g)("handleConvertTask \u65b9\u6cd5\u8bf7\u6539\u7528 createImportTask \u65b9\u6cd5\u5b9e\u73b0\uff0c\u5426\u5219\u6587\u4ef6\u5bfc\u5165\u65e0\u6cd5\u6b63\u5e38\u5de5\u4f5c"),{};if(m)return Object(c.g)("handleQueryPreview \u65b9\u6cd5\u8bf7\u6539\u7528 queryImportTask \u65b9\u6cd5\u5b9e\u73b0\uff0c\u5426\u5219\u6587\u4ef6\u5bfc\u5165\u65e0\u6cd5\u6b63\u5e38\u5de5\u4f5c"),{};if("function"!=typeof a)throw new Error("createImportTask is required.");return{getToolbarButtons:function(t){if("root"!==t.env)return null;var n=t.store.getEditorState();return"code-block"===s.RichUtils.getCurrentBlockType(n)?null:Object(u.a)(g,o,p({},t,{onInsert:function(n){return e(t.store,n)}}))},getBlockRenderInfo:function(e,t){var n=Object(c.o)(e,t);if(n)switch(n.entityType){case"IMPORT":return{component:l.d,editable:!1,props:n};case"GALLERY":return{component:l.b,editable:!1,props:p({},n,{store:t})};case"ATTACHMENT":return{component:l.a,editable:!1,props:p({},n,{store:t})}}},handleFiles:function(t,n,r,o){return e(t,r,n)}}}function o(e){Object(c.g)("docImport \u63d2\u4ef6\u5df2\u7ecf\u66f4\u6539\u4e3a fileImport\uff0c\u8bf7\u6539\u7528 createFileImportPlugin \u65b9\u6cd5")}t.b=r,t.a=o;var i=n(0),a=n.n(i),s=n(1),c=(n.n(s),n(2)),u=n(15),l=n(611),f=n(616),p=Object.assign||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},d={buttons:["spliter","word","ppt","attachment"],enable:!1,maxFileSize:10485760,createImportTask:null,handleConvertTask:null,handleQueryPreview:null},h=function(e,t){return function(n){return a.a.createElement(e,p({type:t},n))}},g={word:h(l.c,"word"),ppt:h(l.c,"ppt"),attachment:h(l.c,"attachment")}},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e){var t=e.name,n=e.url,o=r(e,["name","url"]),i=Object(s.r)(n);return a.a.createElement("div",{className:"attachment"},a.a.createElement("i",{className:"icon icon-"+i+"-file"}),a.a.createElement("a",c({target:"_blank",href:n},o),t))}t.a=o;var i=n(0),a=n.n(i),s=n(2),c=Object.assign||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}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return f});var a=n(0),s=n.n(a),c=n(4),u=n.n(c),l=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),f=function(e){function t(){var e,n,i,a;r(this,t);for(var s=arguments.length,c=Array(s),u=0;u<s;u++)c[u]=arguments[u];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),i.state={pageIndex:0},a=n,o(i,a)}return i(t,e),l(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.base,r=t.images,o=(t.name,this.state.pageIndex),i=r.slice(o,o+3),a=function(){return e.setState({pageIndex:Math.min(o+1,r.length-1)})},c=function(){return e.setState({pageIndex:Math.max(0,o-1)})};return s.a.createElement("div",{className:"draft-gallery-slider"},i.map(function(e,t){return s.a.createElement("img",{onClick:a,key:o+t,src:n+e,style:{display:0===t?"block":"none"}})}),s.a.createElement("div",{className:u()("prev-image",{disabled:o<=0}),onClick:c}),s.a.createElement("div",{className:u()("next-image",{disabled:o>=r.length-1}),onClick:a}))}}]),t}(s.a.Component)},function(e,t,n){"use strict";function r(e){return/(<body[\s\S]+<\/body>)/i.test(e)?RegExp.$1:e}t.a=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return u});var a=n(0),s=n.n(a),c=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function(e){function t(){var e,n,i,a;r(this,t);for(var s=arguments.length,c=Array(s),u=0;u<s;u++)c[u]=arguments[u];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),i.state={ready:!1},a=n,o(i,a)}return i(t,e),c(t,[{key:"render",value:function(){var e=this.state.ready;return s.a.createElement("div",{className:"draft-video-player"},e&&this.renderPlayer())}},{key:"renderPlayer",value:function(){var e=this.props,t=e.videoPlatform,n=e.videoId;if("qq"!==t||!n||11!==n.length)return s.a.createElement("div",{className:"video-error-text"},"\u4e0d\u652f\u6301\u7684\u89c6\u9891\u5185\u5bb9");var r="//v.qq.com/iframe/txp/player.html?vid="+n;return s.a.createElement("iframe",{src:r,className:"player-frame",allowFullScreen:!0,frameBorder:0,width:"100%",height:"100%"})}},{key:"componentDidMount",value:function(){this.setState({ready:!0})}}]),t}(s.a.Component)},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=h({},g,{options:e}),n=t.buttons,r=t.macros,f=t.completion,y=t.script,v=t.mathjaxConfig;Object(a.a)({macros:r,script:y,mathjaxConfig:v});var b={getEditorState:void 0,setEditorState:void 0,getEditorReadOnly:void 0,setEditorReadOnly:void 0,getEditorRef:void 0,completion:Object(s.a)(f,r),teXToUpdate:{}},w=function(e){return Object.assign(b,e),b},k=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getEditorState();e.setEditorState(Object(c.a)(n,t))},S=function(e){var t=b.getEditorState(),n=t.getSelection(),r=n.getStartOffset()-1,i=o.Modifier.replaceText(t.getCurrentContent(),n.merge({anchorOffset:r,focusOffset:r+1}),e);b.setEditorState(o.EditorState.push(t,i,"insert-characters"))},E=function(e,t){return Object(i.b)(function(){return e})(t)},x=function(e,t){return"atomic"===e.getType()&&e.getData().get("mathjax")?{component:l.a,editable:!1,props:{getStore:function(){return w(t)}}}:null},_=function(e,t,n){e.teXToUpdate={key:t,dir:n};var r=e.getEditorState();e.setEditorState(o.EditorState.forceSelection(r,r.getSelection()))},C=function(e,t,n){if(e=w(e),"insert-texblock"===t)return k(e,!0),"handled";if("insert-inlinetex"===t)return k(e),"handled";if("update-inlinetex"===t.slice(0,16)){var r=t.slice(17,18),o=t.slice(19);return _(e,o,r),"handled"}if("update-texblock"===t.slice(0,15)){var i=t.slice(16,17);t.slice(18);return _(e,lockKey,i),"handled"}if("insert-char"===t.slice(0,11)){var a=t.slice(12);return S(a),"handled"}if(n&&n.altKey&&("arrow-left"===t||"arrow-right"===t)){var s="arrow-right"===t?"r":"l",c=e.getEditorState().getSelection(),u=e.getEditorState().getCurrentContent();if(!c.isCollapsed())return"not-handled";var l=c.getStartOffset(),f=c.getStartKey(),p=u.getBlockForKey(f);if(p.getLength()===l&&"r"===s){var d=u.getBlockAfter(f);if(d&&"atomic"===d.getType()&&d.getData().get("mathjax"))return _(e,d.getKey(),s),"handled"}if(0===l&&"l"===s){var h=u.getBlockBefore(f);if(h&&"atomic"===h.getType()&&h.getData().get("mathjax"))return _(e,h.getKey(),s),"handled"}var g=p.getEntityAt(l-("l"===s?1:0));if(g&&"INLINETEX"===u.getEntity(g).getType())return _(e,g,s),"handled"}return"not-handled"};return{name:"formula",getToolbarButtons:function(e){if("root"!==e.env)return null;var t=e.store.getEditorState();return"code-block"===o.RichUtils.getCurrentBlockType(t)?null:Object(p.a)(m,n,h({},e,{onInsert:function(){var t=e.store,n=t.getEditorState(),r=n.getCurrentContent(),o=n.getSelection(),i=Object(d.d)(r,o);C(t,i?"insert-texblock":"insert-inlinetex")}}))},getDraftDecorators:function(e){return[{strategy:i.a,component:u.a,props:{getStore:function(){return w(e)}}}]},keyBinding:E,handleCommand:C,getBlockRenderInfo:x}}t.a=r;var o=n(1),i=(n.n(o),n(625)),a=n(162),s=n(627),c=n(629),u=n(631),l=n(633),f=n(634),p=n(15),d=n(35),h=Object.assign||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},g={macros:{},completion:"auto",buttons:["formula"]},m={formula:f.a}},function(e,t,n){"use strict";var r=n(626),o="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},i={jax:["input/TeX","output/CommonHTML"],TeX:{extensions:["autoload-all.js"]},messageStyles:"none",showProcessingMessages:!1,showMathMenu:!1,showMathMenuMSIE:!1,preview:"none",delayStartupTypeset:!0},a=function e(t){var n=t.macros,a=t.script,s=t.mathjaxConfig;if("object"===("undefined"==typeof window?"undefined":o(window))&&!e.called){e.called=!0;var c={};c.script=a||"https://ask.qcloudimg.com/script/vendor/mathjax/MathJax.js",c.options=s||i,void 0===c.options.TeX&&(c.options.TeX={});var u=Object.assign(c.options.TeX,{Macros:n});if(c.options=Object.assign(c.options,{TeX:u}),window.MathJax)return window.MathJax.Hub.Config(c.options),void(window.MathJax.Hub.processSectionDelay=0);Object(r.a)(c.script,function(e){e||(window.MathJax.Hub.Config(c.options),window.MathJax.Hub.processSectionDelay=0)})}};t.a=a},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){var t=e.text,n=e.start,r=e.end,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=t.slice(0,n).split("\n").length-1,a=i+(t.slice(n,r).split("\n").length-1),s=n,c=r;return{text:t.split("\n").map(function(e,t){return t<i||t>a?e:o?e.startsWith(" ")?(t===i&&(s-=2),c-=2,e.slice(2)):e.startsWith(" ")?(t===i&&(s-=1),c-=1,e.slice(1)):e:(t===i&&(s+=2),c+=2," "+e)}).join("\n"),start:s,end:c}}var s=n(0),c=n.n(s),u=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=function(e){return 1===e.length&&/[a-z]/.test(e.toLowerCase())},f={"{":"}","(":")","[":"]","|":"|"},p=function(e){function t(e){r(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),i=e.onChange,a=e.caretPosFn,s=a();return n.state={start:s,end:s},n.completionList=[],n.index=0,n._onChange=function(){return i({teX:n.teXinput.value})},n._onSelect=function(){var e=n.teXinput,t=e.selectionStart,r=e.selectionEnd;n.setState({start:t,end:r})},n._moveCaret=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=n.props.teX,o=n.state,i=o.start;if(i===o.end){var a=t?i+e:e;a<0?a=0:a>r.length&&(a=r.length),n.setState({start:a,end:a})}},n._insertText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=n.props.teX,o=n.state,a=o.start,s=o.end;r=r.slice(0,a)+e+r.slice(s),a+=e.length+t,a<0?a=0:a>r.length&&(a=r.length),s=a,i({teX:r}),n.setState({start:a,end:s})},n.onBlur=function(){return n.props.finishEdit()},n.handleKey=n.handleKey.bind(n),n}return i(t,e),u(t,[{key:"componentDidMount",value:function(){var e=this,t=this.state,n=t.start,r=t.end;setTimeout(function(){e.teXinput.focus(),e.teXinput.setSelectionRange(n,r)},0)}},{key:"shouldComponentUpdate",value:function(e,t){if(this.props.teX!==e.teX)return!0;var n=t.start,r=t.end,o=this.teXinput,i=o.selectionStart,a=o.selectionEnd;return n!==i||r!==a}},{key:"componentDidUpdate",value:function(e,t){var n=t.start,r=t.end,o=this.state,i=o.start,a=o.end;n===i&&r===a||this.teXinput.setSelectionRange(i,a)}},{key:"handleKey",value:function(e){var t=this,n=this.props,r=n.teX,o=n.finishEdit,i=n.onChange,s=n.displaystyle,c=n.completion,u=this.state,p=u.start,d=u.end,h=void 0!==s,g=p===d,m="none"===c.status,y=e.key;switch(m||"Tab"===y||"Shift"===y||(this.completionList=[],this.index=0),y){case"$":h&&(e.preventDefault(),i({displaystyle:!s}));break;case"Escape":e.preventDefault(),o(1);break;case"ArrowLeft":g&&0===d&&(e.preventDefault(),o(0));break;case"ArrowRight":g&&p===r.length&&(e.preventDefault(),o(1));break;default:if(Object.prototype.hasOwnProperty.call(f,y))e.preventDefault(),this._insertText(y+f[y],-1);else if(!m&&(l(y)&&"auto"===c.status||"Tab"===y&&this.completionList.length>1||"manual"===c.status&&e.ctrlKey&&" "===y))this._handleCompletion(e);else if("Tab"===y){var v=r.split("\n");if(h||v.length<=1)e.preventDefault(),o(e.shiftKey?0:1);else{var b=a({text:r,start:p,end:d},e.shiftKey),w=b.text,k=b.start,S=b.end;e.preventDefault(),i({teX:w}),setTimeout(function(){return t.setState({start:k,end:S})},0)}}}}},{key:"_handleCompletion",value:function(e){var t=this,n=this.props,r=n.completion,o=n.teX,i=n.onChange,a=this.state,s=a.start,c=a.end,u=e.key,f=r.getLastTeXCommand(o.slice(0,s)),p=f.length,d=s-p,h=l(u),g=s,m=void 0;if(p){(h||e.ctrlKey&&" "===u)&&(this.completionList=r.computeCompletionList(f+(h?u:"")));var y=this.completionList.length;if(0!==y){1===y?this.index=0:"Tab"===u?(m=e.shiftKey?-1:1,this.index+=m,this.index=-1===this.index?y-1:this.index%y):(this.index=0,g=h?g+1:g);var v=this.completionList[this.index],b=d+v.length,w=o.slice(0,d)+v+o.slice(c);g=1===y?b:g,e.preventDefault(),i({teX:w}),setTimeout(function(){return t.setState({start:g,end:b})},0)}}}},{key:"render",value:function(){var e=this,t=this.props,n=t.teX,r=t.className,o=t.style,i=n.split("\n"),a=i.length,s=i.map(function(e){return e.length}).reduce(function(e,t){return t>e?t:e},1);return c.a.createElement("textarea",{rows:a,cols:s,className:r,value:n,onChange:this._onChange,onSelect:this._onSelect,onBlur:this.onBlur,onKeyDown:this.handleKey,ref:function(t){e.teXinput=t},style:o})}}]),t}(c.a.Component);t.a=p},function(e,t,n){"use strict";var r=Object.assign||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},o={border:"1px solid #00a4ff",outline:"none",fontFamily:"'Inconsolata', 'Menlo', monospace",fontSize:"14px",verticalAlign:"middle",minHeight:"2em",margin:"0 3px",maxWidth:"80%"},i={position:"absolute",left:"50%",marginRright:"-50%",transform:"translate(-50%, 0)",padding:"10px",zIndex:10,border:"1px solid #999",borderRadius:"2px",boxShadow:"3px 3px 5px rgba(0,0,0,0.1)",outline:"none",background:"white"},a={cursor:"pointer"};t.a={inline:{edit:r({},o,{display:"inline-block",textAlign:"center",padding:"5px",height:"2em"}),preview:r({},i,{top:"200%"}),rendered:r({},a)},block:{edit:r({},o,{display:"block",margin:"10px auto 10px",padding:"14px"}),preview:r({},i,{top:"calc(100%+1em)"}),rendered:r({},a)}}},function(e,t,n){"use strict";function r(e){return Array.isArray(e)?e:Array.from(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=e.type,n=e.text,r=e.url;switch(t){case"link":return u.a.createElement("a",{target:"_blank",href:r,onClick:function(e){return e.stopPropagation()}},n);case"text":default:return n}}n.d(t,"a",function(){return y});var c=n(0),u=n.n(c),l=n(4),f=n.n(l),p=n(21),d=(n.n(p),n(2)),h=n(643),g=Object.assign||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},m=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),y=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,c=Array(s),u=0;u<s;u++)c[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),r.state={collapsed:r.props.defaultCollapsed},r.toggle=function(e){return r.setState({collapsed:!r.state.collapsed})},a=n,i(r,a)}return a(t,e),m(t,[{key:"render",value:function(){var e=this.props,t=(e.extra,e.metas),n=this.state.collapsed;if(t&&t.length){var o=r(t),i=o[0],a=o.slice(1);return u.a.createElement("div",{className:"meta-info"},a.length>0&&u.a.createElement("div",{className:"meta-head"},u.a.createElement("a",{href:"javascript:void(0);",onClick:this.toggle},u.a.createElement("i",{className:f()("qa-ico-down-expand",{collapsed:n})}))),u.a.createElement("div",{className:"meta-content"},u.a.createElement("ul",null,u.a.createElement("li",{key:"first",style:{cursor:a.length?"pointer":null},onClick:this.toggle},u.a.createElement(s,i)),a.length>0&&u.a.createElement(p.CSSTransitionGroup,g({component:h.a},d.P.slide({enterPosition:{x:0,y:-10}})),!n&&a.map(function(e,t){return u.a.createElement("li",{key:t},u.a.createElement(s,e))})))))}}}]),t}(u.a.Component)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={buttonWrapper:"qa-r-editor-btn-wrap",button:"qa-r-editor-btn",actived:"actived",disabled:"disabled"}},function(e,t,n){"use strict";var r=n(168);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){return e&&"object"===(void 0===e?"undefined":k(e))&&Array.isArray(e.blocks)&&e.entityMap&&"object"===k(e.entityMap)}function s(e){var t=e.entityMap||{};e.blocks=e.blocks||[];var n=!0,r=!1,o=void 0;try{for(var i,a=e.blocks[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value;if(s.key=s.key||m()(),s.type=s.type||"unstyled",s.inlineStyleRanges=Array.isArray(s.inlineStyleRanges)?s.inlineStyleRanges:[],s.entityRanges=Array.isArray(s.entityRanges)?s.entityRanges:[],"unstyled"===s.type&&1===s.entityRanges.length){var c=s.entityRanges[0]||{};t[c.key]&&"IMAGE"===t[c.key].type&&(s.type="atomic")}}}catch(e){r=!0,o=e}finally{try{!n&&a.return&&a.return()}finally{if(r)throw o}}return e}n.d(t,"a",function(){return E});var c=n(0),u=n.n(c),l=n(4),f=n.n(l),p=n(655),d=n.n(p),h=n(1),g=(n.n(h),n(47),n(8)),m=n.n(g),y=n(2),v=n(671),b=n(36),w=n(162),k="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},S=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),E=function(e){function t(){var e,n,i,a;r(this,t);for(var s=arguments.length,c=Array(s),u=0;u<s;u++)c[u]=arguments[u];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),i.state={componentError:null},a=n,o(i,a)}return i(t,e),S(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.nested,r=this.state.componentError;return u.a.createElement("div",{className:n?t:f()("c-markdown",t)},r||this.getRichContent())}},{key:"componentDidMount",value:function(){Object(w.a)({})}},{key:"componentDidCatch",value:function(e,t){var n=u.a.createElement("article",{style:{color:"red",overflow:"auto"}},u.a.createElement("h2",null,"\u6e32\u67d3\u9519\u8bef"),u.a.createElement("h3",null,e.message),u.a.createElement("pre",null,e.stack),u.a.createElement("h3",null,"Error component"),u.a.createElement("pre",null,t.componentStack));this.setState({componentError:n})}},{key:"getRichContent",value:function(){var e=this.props,t=e.raw,n=e.packed,r=e.content,o=e.onImageClick,i=e.handleImageThumbnail,c=void 0===i?function(e){return e}:i,u=e.enableImageLazyLoad,l=void 0!==u&&u,f=e.findScrollParent,p=e.rendererDecorator;if(t||("string"==typeof r?(n=r,Object(y.g)("\u5c06 packed \u5185\u5bb9\u4f20\u5165\u5230 DraftViewer \u7684 content \u7684\u7528\u6cd5\u5df2\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528 packed \u4f20\u5165\u3002")):"object"===(void 0===r?"undefined":k(r))&&Array.isArray(r.blocks)?(t=r,Object(y.g)("\u5c06 raw \u5185\u5bb9\u4f20\u5165\u5230 DraftViewer \u7684 content \u7684\u7528\u6cd5\u5df2\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528 raw \u4f20\u5165\u3002")):r instanceof h.ContentState&&(t=Object(b.content2raw)(r))),!t&&n&&(t=Object(y.Q)(n)),!a(t))return console.warn("\u975e\u6cd5\u7684 Raw \u683c\u5f0f\uff0c\u5c06\u6e32\u67d3\u4e3a\u7a7a\uff1a",t),null;p=p||function(e){return e};var g=p({blocks:Object(v.a)(),inline:Object(v.c)(),entities:Object(v.b)({onImageClick:o,handleImageThumbnail:c,enableImageLazyLoad:l,findScrollParent:f})});return d()(s(t),g)}}]),t}(u.a.Component)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments[2],r=arguments[3],o=0,a=[].concat(i(e),i(t)).sort(function(e,t){return e.offset-t.offset}),s=[];return a.length<1?(s.push(new d.default({block:r,start:0,end:n.length})),s):(a.forEach(function(e){e.offset>o&&s.push(new d.default({block:r,start:o,end:e.offset})),s.push(new d.default({block:r,entity:e.key,decorator:e.component,decoratorProps:e.decoratorProps,decoratedText:e.component?h(n,e.offset,e.offset+e.length):void 0,start:e.offset,end:e.offset+e.length,contentState:e.contentState})),o=e.offset+e.length}),o<n.length&&s.push(new d.default({block:r,start:o,end:n.length})),s)}function s(e,t){return t.forEach(function(t){e.push(t.offset),e.push(t.offset+t.length)}),e}function c(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=[];return o=s(o,t),o=s(o,n),o=s(o,r),o.push(0),o.push(e.length),o.filter(function(e,t,n){return n.indexOf(e)===t}).sort(function(e,t){return e-t})}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(656),f=r(l),p=n(658),d=r(p),h=function(e,t,n){return f.default.ucs2.encode(e.slice(t,n))},g=function(){function e(t){var n=t.flat,r=void 0!==n&&n;o(this,e),this.flat=r}return u(e,[{key:"relevantStyles",value:function(e){return this.ranges.filter(function(t){return e>=t.offset&&e<t.offset+t.length}).map(function(e){return e.style})}},{key:"nodeIterator",value:function(e,t,n){var r=this,o=this.relevantIndexes.slice(this.relevantIndexes.indexOf(t),this.relevantIndexes.indexOf(n));return o.forEach(function(t,i){var a=r.relevantStyles(t),s=o[i+1]?o[i+1]-t:1,c=h(r.textArray,t,t+s);e.pushContent(c,a,r.flat),!o[i+1]&&t<n&&e.pushContent(h(r.textArray,t+1,n),r.relevantStyles(n-1),r.flat)}),e}},{key:"parse",value:function(e){var t=this,n=e.text,r=e.inlineStyleRanges,o=e.entityRanges,i=e.decoratorRanges,s=void 0===i?[]:i;this.textArray=f.default.ucs2.decode(n),this.ranges=r,this.iterator=0,this.relevantIndexes=c(n,r,o,s);var u=a(o,s,this.textArray,e),l=u.map(function(e){return t.nodeIterator(e,e.start,e.end)});return new d.default({block:e,content:l})}}]),e}();t.default=g},function(e,t,n){e.exports=n(36)},function(e,t,n){"use strict";function r(){return a?i()():String(++s)}var o=n(8),i=n.n(o),a="undefined"!=typeof window,s=0;Object.keys(n.c).forEach(function(e){var t=n.c[e];t.exports===i.a&&(t.exports=r)})},function(e,t,n){"use strict";var r=n(27),o=n(12),i=n(23),a=n(7),s=n(6),c=n(3),u=(n(29),n(8)),l=n(187),f=c.List,p=c.Repeat,d={insertAtomicBlock:function(e,t,n){var c=e.getCurrentContent(),l=e.getSelection(),d=a.removeRange(c,l,"backward"),h=d.getSelectionAfter(),g=a.splitBlock(d,h),m=g.getSelectionAfter(),y=a.setBlockType(g,m,"atomic"),v=o.create({entity:t}),b=[new i({key:u(),type:"atomic",text:n,characterList:f(p(v,n.length))}),new i({key:u(),type:"unstyled",text:"",characterList:f()})],w=r.createFromArray(b),k=a.replaceWithFragment(y,m,w),S=k.merge({selectionBefore:l,selectionAfter:k.getSelectionAfter().set("hasFocus",!0)});return s.push(e,S,"insert-fragment")},moveAtomicBlock:function(e,t,n,r){var o=e.getCurrentContent(),i=e.getSelection(),c=void 0;if("before"===r||"after"===r){var u=o.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());c=l(o,t,u,r)}else{var f=a.removeRange(o,n,"backward"),p=f.getSelectionAfter(),d=f.getBlockForKey(p.getFocusKey());if(0===p.getStartOffset())c=l(f,t,d,"before");else if(p.getEndOffset()===d.getLength())c=l(f,t,d,"after");else{var h=a.splitBlock(f,p),g=h.getSelectionAfter(),m=h.getBlockForKey(g.getFocusKey());c=l(h,t,m,"before")}}var y=c.merge({selectionBefore:i,selectionAfter:c.getSelectionAfter().set("hasFocus",!0)});return s.push(e,y,"move-block")}};e.exports=d},function(e,t,n){"use strict";function r(e,t,n,r){var i=e.getBlockMap(),s=t.getStartKey(),c=t.getStartOffset(),u=t.getEndKey(),l=t.getEndOffset(),f=i.skipUntil(function(e,t){return t===s}).takeUntil(function(e,t){return t===u}).concat(a([[u,i.get(u)]])).map(function(e,t){var i,a;s===u?(i=c,a=l):(i=t===s?c:0,a=t===u?l:e.getLength());for(var f,p=e.getCharacterList();i<a;)f=p.get(i),p=p.set(i,r?o.applyStyle(f,n):o.removeStyle(f,n)),i++;return e.set("characterList",p)});return e.merge({blockMap:i.merge(f),selectionBefore:t,selectionAfter:t})}var o=n(12),i=n(3),a=i.Map,s={add:function(e,t,n){return r(e,t,n,!0)},remove:function(e,t,n){return r(e,t,n,!1)}};e.exports=s},function(e,t,n){"use strict";var r={draft_killswitch_allow_nontextnodes:!1,draft_segmented_entities_behavior:!1};e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),c=t.getEndKey(),u=t.getEndOffset(),l=r.skipUntil(function(e,t){return t===a}).takeUntil(function(e,t){return t===c}).toOrderedMap().merge(o.OrderedMap([[c,r.get(c)]])).map(function(e,t){var r=t===a?s:0,o=t===c?u:e.getLength();return i(e,r,o,n)});return e.merge({blockMap:r.merge(l),selectionBefore:t,selectionAfter:t})}var o=n(3),i=n(176);e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){for(var i=e.getCharacterList();t<n;)i=i.set(t,o.applyEntity(i.get(t),r)),t++;return e.set("characterList",i)}var o=n(12);e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r,i){var a=r.getStartOffset(),s=r.getEndOffset(),c=t.getEntityAt(a),u=n.getEntityAt(s-1);if(!c&&!u)return r;var l=r;if(c&&c===u)l=o(e,t,l,i,c,!0,!0);else if(c&&u){var f=o(e,t,l,i,c,!1,!0),p=o(e,n,l,i,u,!1,!1);l=l.merge({anchorOffset:f.getAnchorOffset(),focusOffset:p.getFocusOffset(),isBackward:!1})}else if(c){var d=o(e,t,l,i,c,!1,!0);l=l.merge({anchorOffset:d.getStartOffset(),isBackward:!1})}else if(u){var h=o(e,n,l,i,u,!1,!1);l=l.merge({focusOffset:h.getEndOffset(),isBackward:!1})}return l}function o(e,t,n,r,o,c,u){var l=n.getStartOffset(),f=n.getEndOffset(),p=e.__get(o),d=p.getMutability(),h=u?l:f;if("MUTABLE"===d)return n;var g=a(t,o).filter(function(e){return h<=e.end&&h>=e.start});1!=g.length&&s(!1);var m=g[0];if("IMMUTABLE"===d)return n.merge({anchorOffset:m.start,focusOffset:m.end,isBackward:!1});c||(u?f=m.end:l=m.start);var y=i.getRemovalRange(l,f,t.getText().slice(m.start,m.end),m.start,r);return n.merge({anchorOffset:y.start,focusOffset:y.end,isBackward:!1})}var i=n(178),a=n(179),s=n(5);e.exports=r},function(e,t,n){"use strict";var r={getRemovalRange:function(e,t,n,r,o){var i=n.split(" ");i=i.map(function(e,t){if("forward"===o){if(t>0)return" "+e}else if(t<i.length-1)return e+" ";return e});for(var a,s,c=r,u=null,l=null,f=0;f<i.length;f++){if(s=i[f],a=c+s.length,e<a&&c<t)null!==u?l=a:(u=c,l=a);else if(null!==u)break;c=a}var p=r+n.length,d=u===r,h=l===p;return(!d&&h||d&&!h)&&("forward"===o?l!==p&&l++:u!==r&&u--),{start:u,end:l}}};e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=[];return e.findEntityRanges(function(e){return e.getEntity()===t},function(e,t){n.push({start:e,end:t})}),n.length||o(!1),n}var o=n(5);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){t.isCollapsed()||s(!1);var r,c,u=t.getStartKey(),l=t.getStartOffset(),f=e.getBlockMap(),p=n.size;if(1===p){var d=f.get(u),h=n.first(),g=d.getText(),m=d.getCharacterList(),y=d.merge({text:g.slice(0,l)+h.getText()+g.slice(l),characterList:a(m,h.getCharacterList(),l),data:h.getData()});return r=u,c=l+h.getText().length,e.merge({blockMap:f.set(u,y),selectionBefore:t,selectionAfter:t.merge({anchorKey:r,anchorOffset:c,focusKey:r,focusOffset:c,isBackward:!1})})}var v=[];return e.getBlockMap().forEach(function(e,t){if(t!==u)return void v.push(e);var o=e.getText(),a=e.getCharacterList(),s=o.length,c=o.slice(0,l),f=a.slice(0,l),d=n.first(),h=e.merge({text:c+d.getText(),characterList:f.concat(d.getCharacterList()),type:c?e.getType():d.getType(),data:d.getData()});v.push(h),n.slice(1,p-1).forEach(function(e){v.push(e.set("key",i()))});var g=o.slice(l,s),m=a.slice(l,s),y=n.last();r=i();var b=y.merge({key:r,text:y.getText()+g,characterList:y.getCharacterList().concat(m),data:y.getData()});v.push(b)}),c=n.last().getLength(),e.merge({blockMap:o.createFromArray(v),selectionBefore:t,selectionAfter:t.merge({anchorKey:r,anchorOffset:c,focusKey:r,focusOffset:c,isBackward:!1})})}var o=n(27),i=n(8),a=n(79),s=n(5);e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){t.isCollapsed()||a(!1);var o=n.length;if(!o)return e;var c=e.getBlockMap(),u=t.getStartKey(),l=t.getStartOffset(),f=c.get(u),p=f.getText(),d=f.merge({text:p.slice(0,l)+n+p.slice(l,f.getLength()),characterList:i(f.getCharacterList(),s(r,o).toList(),l)}),h=l+o;return e.merge({blockMap:c.set(u,d),selectionAfter:t.merge({anchorOffset:h,focusOffset:h})})}var o=n(3),i=n(79),a=n(5),s=o.Repeat;e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r=t.getStartKey(),o=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil(function(e,t){return t===r}).takeUntil(function(e,t){return t===o}).concat(i([[o,a.get(o)]])).map(n);return e.merge({blockMap:a.merge(s),selectionBefore:t,selectionAfter:t})}var o=n(3),i=o.Map;e.exports=r},function(e,t,n){"use strict";function r(e,t){if(t.isCollapsed())return e;var n,r=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),c=t.getEndKey(),u=t.getEndOffset(),l=r.get(a),f=r.get(c);n=l===f?o(l.getCharacterList(),s,u):l.getCharacterList().slice(0,s).concat(f.getCharacterList().slice(u));var p=l.merge({text:l.getText().slice(0,s)+f.getText().slice(u),characterList:n}),d=r.toSeq().skipUntil(function(e,t){return t===a}).takeUntil(function(e,t){return t===c}).concat(i.Map([[c,null]])).map(function(e,t){return t===a?p:null});return r=r.merge(d).filter(function(e){return!!e}),e.merge({blockMap:r,selectionBefore:t,selectionAfter:t.merge({anchorKey:a,anchorOffset:s,focusKey:a,focusOffset:s,isBackward:!1})})}function o(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}var i=n(3);e.exports=r},function(e,t,n){"use strict";function r(e,t){t.isCollapsed()||a(!1);var n=t.getAnchorKey(),r=t.getAnchorOffset(),o=e.getBlockMap(),c=o.get(n),u=c.getText(),l=c.getCharacterList(),f=c.merge({text:u.slice(0,r),characterList:l.slice(0,r)}),p=i(),d=f.merge({key:p,text:u.slice(r),characterList:l.slice(r),data:s()}),h=o.toSeq().takeUntil(function(e){return e===c}),g=o.toSeq().skipUntil(function(e){return e===c}).rest(),m=h.concat([[f.getKey(),f],[d.getKey(),d]],g).toOrderedMap();return e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:p,anchorOffset:0,focusKey:p,focusOffset:0,isBackward:!1})})}var o=n(3),i=n(8),a=n(5),s=o.Map;e.exports=r},function(e,t,n){"use strict";var r,o=n(3),i=n(186),a=n(9),s=o.OrderedMap,c={getDirectionMap:function(e,t){r?r.reset():r=new i;var n=e.getBlockMap(),c=n.valueSeq().map(function(e){return a(r).getDirection(e.getText())}),u=s(n.keySeq().zip(c));return null!=t&&o.is(t,u)?t:u}};e.exports=c},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=n(82),i=n(54),a=n(5),s=function(){function e(t){r(this,e),t?i.isStrong(t)||a(!1):t=i.getGlobalDir(),this._defaultDir=t,this.reset()}return e.prototype.reset=function(){this._lastDir=this._defaultDir},e.prototype.getDirection=function(e){return this._lastDir=o.getDirection(e,this._lastDir),this._lastDir},e}();e.exports=s},function(e,t,n){"use strict";function r(e,t,n,r){t.getKey()===n.getKey()&&o(!1),"replace"===r&&o(!1);var i=n.getKey(),a=e.getBlockBefore(i),s=e.getBlockAfter(i),c=e.getBlockMap(),u=c.delete(t.getKey()),l=u.toSeq().takeUntil(function(e){return e===n}),f=u.toSeq().skipUntil(function(e){return e===n}).skip(1),p=void 0;return"before"===r?(a&&a.getKey()===t.getKey()&&o(!1),p=l.concat([[t.getKey(),t],[n.getKey(),n]],f).toOrderedMap()):"after"===r&&(s&&s.getKey()===t.getKey()&&o(!1),p=l.concat([[n.getKey(),n],[t.getKey(),t]],f).toOrderedMap()),e.merge({blockMap:p,selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:t.getKey(),focusKey:t.getKey()})})}var o=n(5);e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t,n){for(var r=t;r<n;r++)if(null!=e[r])return!1;return!0}function i(e,t,n,r){for(var o=t;o<n;o++)e[o]=r}var a=n(3),s=a.List,c=function(){function e(t){r(this,e),this._decorators=t.slice()}return e.prototype.getDecorations=function(e,t){var n=Array(e.getText().length).fill(null);return this._decorators.forEach(function(r,a){var s=0;(0,r.strategy)(e,function(e,t){o(n,e,t)&&(i(n,e,t,a+"."+s),s++)},t)}),s(n)},e.prototype.getComponentForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].component},e.prototype.getPropsForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].props},e}();e.exports=c},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(19),s=a||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},c=n(55),u=n(83),l=n(190),f=n(191),p=n(211),d=n(214),h=n(246),g=n(6),m=n(0),y=n(16),v=n(87),b=n(60),w=n(17),k=n(30),S=n(28),E=n(8),x=n(102),_=n(61),C=n(5),O=n(9),T=w.isBrowser("IE"),A=!T,P={edit:d,composite:l,drag:p,cut:null,render:null},L=function(e){function t(n){r(this,t);var i=o(this,e.call(this,n));return i._blockSelectEvents=!1,i._clipboard=null,i._handler=null,i._dragCount=0,i._editorKey=n.editorKey||E(),i._placeholderAccessibilityID="placeholder-"+i._editorKey,i._latestEditorState=n.editorState,i._latestCommittedEditorState=n.editorState,i._onBeforeInput=i._buildHandler("onBeforeInput"),i._onBlur=i._buildHandler("onBlur"),i._onCharacterData=i._buildHandler("onCharacterData"),i._onCompositionEnd=i._buildHandler("onCompositionEnd"),i._onCompositionStart=i._buildHandler("onCompositionStart"),i._onCopy=i._buildHandler("onCopy"),i._onCut=i._buildHandler("onCut"),i._onDragEnd=i._buildHandler("onDragEnd"),i._onDragOver=i._buildHandler("onDragOver"),i._onDragStart=i._buildHandler("onDragStart"),i._onDrop=i._buildHandler("onDrop"),i._onInput=i._buildHandler("onInput"),i._onFocus=i._buildHandler("onFocus"),i._onKeyDown=i._buildHandler("onKeyDown"),i._onKeyPress=i._buildHandler("onKeyPress"),i._onKeyUp=i._buildHandler("onKeyUp"),i._onMouseDown=i._buildHandler("onMouseDown"),i._onMouseUp=i._buildHandler("onMouseUp"),i._onPaste=i._buildHandler("onPaste"),i._onSelect=i._buildHandler("onSelect"),i.focus=i._focus.bind(i),i.blur=i._blur.bind(i),i.setMode=i._setMode.bind(i),i.exitCurrentMode=i._exitCurrentMode.bind(i),i.restoreEditorDOM=i._restoreEditorDOM.bind(i),i.setClipboard=i._setClipboard.bind(i),i.getClipboard=i._getClipboard.bind(i),i.getEditorKey=function(){return i._editorKey},i.update=i._update.bind(i),i.onDragEnter=i._onDragEnter.bind(i),i.onDragLeave=i._onDragLeave.bind(i),i.state={contentsKey:0},i}return i(t,e),t.prototype._buildHandler=function(e){var t=this;return function(n){if(!t.props.readOnly){var r=t._handler&&t._handler[e];r&&r(t,n)}}},t.prototype._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},t.prototype._renderPlaceholder=function(){return this._showPlaceholder()?m.createElement(h,{text:O(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID}):null},t.prototype.render=function(){var e=this.props,t=e.readOnly,n=e.textAlignment,r=k({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===n,"DraftEditor/alignRight":"right"===n,"DraftEditor/alignCenter":"center"===n}),o={outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},i=this.props.role||"textbox",a="combobox"===i?!!this.props.ariaExpanded:null;return m.createElement("div",{className:r},this._renderPlaceholder(),m.createElement("div",{className:k("DraftEditor/editorContainer"),ref:"editorContainer"},m.createElement("div",{"aria-activedescendant":t?null:this.props.ariaActiveDescendantID,"aria-autocomplete":t?null:this.props.ariaAutoComplete,"aria-controls":t?null:this.props.ariaControls,"aria-describedby":this._showPlaceholder()?this._placeholderAccessibilityID:null,"aria-expanded":t?null:a,"aria-label":this.props.ariaLabel,"aria-multiline":this.props.ariaMultiline,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:k({notranslate:!t,"public/DraftEditor/content":!0}),contentEditable:!t,"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:"editor",role:t?null:i,spellCheck:A&&this.props.spellCheck,style:o,suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},m.createElement(f,{blockRenderMap:this.props.blockRenderMap,blockRendererFn:this.props.blockRendererFn,blockStyleFn:this.props.blockStyleFn,customStyleMap:s({},u,this.props.customStyleMap),customStyleFn:this.props.customStyleFn,editorKey:this._editorKey,editorState:this.props.editorState,key:"contents"+this.state.contentsKey,textDirectionality:this.props.textDirectionality}))))},t.prototype.componentDidMount=function(){this.setMode("edit"),T&&document.execCommand("AutoUrlDetect",!1,!1)},t.prototype.componentWillUpdate=function(e){this._blockSelectEvents=!0,this._latestEditorState=e.editorState},t.prototype.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestCommittedEditorState=this.props.editorState},t.prototype._focus=function(e){var t=this.props.editorState,n=t.getSelection().getHasFocus(),r=y.findDOMNode(this.refs.editor);if(r){var o=b.getScrollParent(r),i=e||_(o),a=i.x,s=i.y;r instanceof HTMLElement||C(!1),r.focus(),o===window?window.scrollTo(a,s):v.setTop(o,s),n||this.update(g.forceSelection(t,t.getSelection()))}},t.prototype._blur=function(){var e=y.findDOMNode(this.refs.editor);e instanceof HTMLElement||C(!1),e.blur()},t.prototype._setMode=function(e){this._handler=P[e]},t.prototype._exitCurrentMode=function(){this.setMode("edit")},t.prototype._restoreEditorDOM=function(e){var t=this;this.setState({contentsKey:this.state.contentsKey+1},function(){t._focus(e)})},t.prototype._setClipboard=function(e){this._clipboard=e},t.prototype._getClipboard=function(){return this._clipboard},t.prototype._update=function(e){this._latestEditorState=e,this.props.onChange(e)},t.prototype._onDragEnter=function(){this._dragCount++},t.prototype._onDragLeave=function(){0===--this._dragCount&&this.exitCurrentMode()},t}(m.Component);L.defaultProps={blockRenderMap:c,blockRendererFn:S.thatReturnsNull,blockStyleFn:S.thatReturns(""),keyBindingFn:x,readOnly:!1,spellCheck:!1,stripPastedStyles:!1},e.exports=L},function(e,t,n){"use strict";var r=n(7),o=n(6),i=n(56),a=n(57),s=n(84),c=!1,u=!1,l="",f={onBeforeInput:function(e,t){l=(l||"")+t.data},onCompositionStart:function(e){u=!0},onCompositionEnd:function(e){c=!1,u=!1,setTimeout(function(){c||f.resolveComposition(e)},20)},onKeyDown:function(e,t){if(!u)return f.resolveComposition(e),void e._onKeyDown(t);t.which!==i.RIGHT&&t.which!==i.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===i.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!u){c=!0;var t=l;l="";var n=o.set(e._latestEditorState,{inCompositionMode:!1}),i=n.getCurrentInlineStyle(),f=a(n.getCurrentContent(),n.getSelection()),p=!t||s(n)||i.size>0||null!==f;if(p&&e.restoreEditorDOM(),e.exitCurrentMode(),t){var d=r.replaceText(n.getCurrentContent(),n.getSelection(),t,i,f);return void e.update(o.push(n,d,"insert-characters"))}p&&e.update(o.set(n,{nativelyRenderedContent:null,forceSelection:!0}))}}};e.exports=f},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e,t,n,r){return p({"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":4===t,"public/DraftStyleDefault/listLTR":"LTR"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})}var s=n(19),c=s||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},u=n(58),l=n(25),f=(n(6),n(0)),p=n(30),d=n(210),h=n(9),g=function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return i(t,e),t.prototype.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(),i=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||o&&i)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),c=t.getDecorator(),u=n.getDecorator();return o!==i||a!==s||c!==u||n.mustForceSelection()},t.prototype.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.customStyleMap,o=e.customStyleFn,i=e.editorState,s=i.getCurrentContent(),p=i.getSelection(),g=i.mustForceSelection(),m=i.getDecorator(),y=h(i.getDirectionMap()),v=s.getBlocksAsArray(),b=[],w=null,k=null,S=0;S<v.length;S++){var E=v[S],x=E.getKey(),_=E.getType(),C=n(E),O=void 0,T=void 0,A=void 0;C&&(O=C.component,T=C.props,A=C.editable);var P=this.props.textDirectionality,L=P||y.get(x),R=l.encode(x,0,0),D={contentState:s,block:E,blockProps:T,customStyleMap:r,customStyleFn:o,decorator:m,direction:L,forceSelection:g,key:x,offsetKey:R,selection:p,tree:i.getBlockTree(x)},I=t.get(_)||t.get("unstyled"),M=I.wrapper,j=I.element||t.get("unstyled").element,N=E.getDepth(),B=this.props.blockStyleFn(E);if("li"===j){B=d(B,a(_,N,k!==M||null===w||N>w,L))}var F=O||u,K={className:B,"data-block":!0,"data-editor":this.props.editorKey,"data-offset-key":R,key:x};void 0!==A&&(K=c({},K,{contentEditable:A,suppressContentEditableWarning:!0}));var q=f.createElement(j,K,f.createElement(F,D));b.push({block:q,wrapperTemplate:M,key:x,offsetKey:R}),w=M?E.getDepth():null,k=M}for(var U=[],z=0;z<b.length;){var H=b[z];if(H.wrapperTemplate){var V=[];do{V.push(b[z].block),z++}while(z<b.length&&b[z].wrapperTemplate===H.wrapperTemplate);var W=f.cloneElement(H.wrapperTemplate,{key:H.key+"-wrap","data-offset-key":H.offsetKey},V);U.push(W)}else U.push(H.block),z++}return f.createElement("div",{"data-contents":"true"},U)},t}(f.Component);e.exports=g},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(19),s=(n(23),n(193)),c=n(0),u=n(16),l=n(5),f=n(199),p=function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return i(t,e),t.prototype._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,r=t.start,o=t.text,i=n.getKey(),a=r+o.length;if(e.hasEdgeWithin(i,r,a)){var s=u.findDOMNode(this);s||l(!1);var c=s.firstChild;c||l(!1);var p=void 0;c.nodeType===Node.TEXT_NODE?p=c:"BR"===c.tagName?p=s:(p=c.firstChild)||l(!1),f(e,p,i,r,a)}}},t.prototype.shouldComponentUpdate=function(e){var t=u.findDOMNode(this.refs.leaf);return t||l(!1),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},t.prototype.componentDidUpdate=function(){this._setSelection()},t.prototype.componentDidMount=function(){this._setSelection()},t.prototype.render=function(){var e=this.props.block,t=this.props.text;t.endsWith("\n")&&this.props.isLast&&(t+="\n");var n=this.props,r=n.customStyleMap,o=n.customStyleFn,i=n.offsetKey,u=n.styleSet,l=u.reduce(function(e,t){var n={},o=r[t];return void 0!==o&&e.textDecoration!==o.textDecoration&&(n.textDecoration=[e.textDecoration,o.textDecoration].join(" ").trim()),a(e,o,n)},{});if(o){var f=o(u,e);l=a(l,f)}return c.createElement("span",{"data-offset-key":i,ref:"leaf",style:l},c.createElement(s,null,t))},t}(c.Component);e.exports=p},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){return f?"\n"===e.textContent:"BR"===e.tagName}var s=n(0),c=n(16),u=n(17),l=n(5),f=u.isBrowser("IE <= 11"),p=f?s.createElement("span",{key:"A","data-text":"true"},"\n"):s.createElement("br",{key:"A","data-text":"true"}),d=f?s.createElement("span",{key:"B","data-text":"true"},"\n"):s.createElement("br",{key:"B","data-text":"true"}),h=function(e){function t(n){r(this,t);var i=o(this,e.call(this,n));return i._forceFlag=!1,i}return i(t,e),t.prototype.shouldComponentUpdate=function(e){var t=c.findDOMNode(this),n=""===e.children;return t instanceof Element||l(!1),n?!a(t):t.textContent!==e.children},t.prototype.componentWillUpdate=function(){this._forceFlag=!this._forceFlag},t.prototype.render=function(){return""===this.props.children?this._forceFlag?p:d:s.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true"},this.props.children)},t}(s.Component);e.exports=h},function(e,t,n){"use strict";var r=n(195),o="Unknown",i={"Mac OS":"Mac OS X"},a=new r,s=a.getResult(),c=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(s.browser.version),u={browserArchitecture:s.cpu.architecture||o,browserFullVersion:s.browser.version||o,browserMinorVersion:c.minor||o,browserName:s.browser.name||o,browserVersion:s.browser.major||o,deviceName:s.device.model||o,engineName:s.engine.name||o,engineVersion:s.engine.version||o,platformArchitecture:s.cpu.architecture||o,platformName:function(e){return i[e]||e}(s.os.name)||o,platformVersion:s.os.version||o,platformFullVersion:s.os.version||o};e.exports=u},function(e,t,n){var r;!function(o,i){"use strict";var a="model",s="name",c="type",u="vendor",l="version",f="mobile",p="tablet",d={extend: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},has:function(e,t){return"string"==typeof e&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return"string"==typeof e?e.replace(/[^\d\.]/g,"").split(".")[0]:void 0},trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},h={rgx:function(e,t){for(var n,r,o,i,a,s,c=0;c<t.length&&!a;){var u=t[c],l=t[c+1];for(n=r=0;n<u.length&&!a;)if(a=u[n++].exec(e))for(o=0;o<l.length;o++)s=a[++r],i=l[o],"object"==typeof i&&i.length>0?2==i.length?"function"==typeof i[1]?this[i[0]]=i[1].call(this,s):this[i[0]]=i[1]:3==i.length?"function"!=typeof i[1]||i[1].exec&&i[1].test?this[i[0]]=s?s.replace(i[1],i[2]):void 0:this[i[0]]=s?i[1].call(this,s,i[2]):void 0:4==i.length&&(this[i[0]]=s?i[3].call(this,s.replace(i[1],i[2])):void 0):this[i]=s||void 0;c+=2}},str:function(e,t){for(var n in t)if("object"==typeof t[n]&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(d.has(t[n][r],e))return"?"===n?void 0:n}else if(d.has(t[n],e))return"?"===n?void 0:n;return e}},g={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2000:"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"}}}},m={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[s,l],[/(opios)[\/\s]+([\w\.]+)/i],[[s,"Opera Mini"],l],[/\s(opr)\/([\w\.]+)/i],[[s,"Opera"],l],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]+)*/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]+)*/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser)\/([\w\.-]+)/i],[s,l],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[s,"IE"],l],[/(edge)\/((\d+)?[\w\.]+)/i],[s,l],[/(yabrowser)\/([\w\.]+)/i],[[s,"Yandex"],l],[/(puffin)\/([\w\.]+)/i],[[s,"Puffin"],l],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[s,"UCBrowser"],l],[/(comodo_dragon)\/([\w\.]+)/i],[[s,/_/g," "],l],[/(micromessenger)\/([\w\.]+)/i],[[s,"WeChat"],l],[/(QQ)\/([\d\.]+)/i],[s,l],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[s,l],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[l,[s,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[l,[s,"Facebook"]],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[l,[s,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[s,/(.+)/,"$1 WebView"],l],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[s,/(.+(?:g|us))(.+)/,"$1 $2"],l],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[l,[s,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[s,l],[/(dolfin)\/([\w\.]+)/i],[[s,"Dolphin"],l],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[s,"Chrome"],l],[/(coast)\/([\w\.]+)/i],[[s,"Opera Coast"],l],[/fxios\/([\w\.-]+)/i],[l,[s,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[l,[s,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[l,s],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[s,"GSA"],l],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[s,[l,h.str,g.browser.oldsafari.version]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],[s,l],[/(navigator|netscape)\/([\w\.-]+)/i],[[s,"Netscape"],l],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix)\/([\w\.-]+)/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]+)*/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[s,l]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[["architecture","amd64"]],[/(ia32(?=;))/i],[["architecture",d.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[["architecture","ia32"]],[/windows\s(ce|mobile);\sppc;/i],[["architecture","arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[["architecture",/ower/,"",d.lowerize]],[/(sun4\w)[;\)]/i],[["architecture","sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[["architecture",d.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],[a,u,[c,p]],[/applecoremedia\/[\w\.]+ \((ipad)/],[a,[u,"Apple"],[c,p]],[/(apple\s{0,1}tv)/i],[[a,"Apple TV"],[u,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[u,a,[c,p]],[/(kf[A-z]+)\sbuild\/[\w\.]+.*silk\//i],[a,[u,"Amazon"],[c,p]],[/(sd|kf)[0349hijorstuw]+\sbuild\/[\w\.]+.*silk\//i],[[a,h.str,g.device.amazon.model],[u,"Amazon"],[c,f]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[a,u,[c,f]],[/\((ip[honed|\s\w*]+);/i],[a,[u,"Apple"],[c,f]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]+)*/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[u,a,[c,f]],[/\(bb10;\s(\w+)/i],[a,[u,"BlackBerry"],[c,f]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i],[a,[u,"Asus"],[c,p]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[u,"Sony"],[a,"Xperia Tablet"],[c,p]],[/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i],[a,[u,"Sony"],[c,f]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[u,a,[c,"console"]],[/android.+;\s(shield)\sbuild/i],[a,[u,"Nvidia"],[c,"console"]],[/(playstation\s[34portablevi]+)/i],[a,[u,"Sony"],[c,"console"]],[/(sprint\s(\w+))/i],[[u,h.str,g.device.sprint.vendor],[a,h.str,g.device.sprint.model],[c,f]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],[u,a,[c,p]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w+)*/i,/(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]+)*/i],[u,[a,/_/g," "],[c,f]],[/(nexus\s9)/i],[a,[u,"HTC"],[c,p]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p)/i],[a,[u,"Huawei"],[c,f]],[/(microsoft);\s(lumia[\s\w]+)/i],[u,a,[c,f]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[a,[u,"Microsoft"],[c,"console"]],[/(kin\.[onetw]{3})/i],[[a,/\./g," "],[u,"Microsoft"],[c,f]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?(:?\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w+)*/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[a,[u,"Motorola"],[c,f]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[a,[u,"Motorola"],[c,p]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[u,d.trim],[a,d.trim],[c,"smarttv"]],[/hbbtv.+maple;(\d+)/i],[[a,/^/,"SmartTV"],[u,"Samsung"],[c,"smarttv"]],[/\(dtv[\);].+(aquos)/i],[a,[u,"Sharp"],[c,"smarttv"]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[u,"Samsung"],a,[c,p]],[/smart-tv.+(samsung)/i],[u,[c,"smarttv"],a],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)*/i,/sec-((sgh\w+))/i],[[u,"Samsung"],a,[c,f]],[/sie-(\w+)*/i],[a,[u,"Siemens"],[c,f]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]+)*/i],[[u,"Nokia"],a,[c,f]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i],[a,[u,"Acer"],[c,p]],[/android.+([vl]k\-?\d{3})\s+build/i],[a,[u,"LG"],[c,p]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[u,"LG"],a,[c,p]],[/(lg) netcast\.tv/i],[u,a,[c,"smarttv"]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w+)*/i,/android.+lg(\-?[\d\w]+)\s+build/i],[a,[u,"LG"],[c,f]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[a,[u,"Lenovo"],[c,p]],[/linux;.+((jolla));/i],[u,a,[c,f]],[/((pebble))app\/[\d\.]+\s/i],[u,a,[c,"wearable"]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[u,a,[c,f]],[/crkey/i],[[a,"Chromecast"],[u,"Google"]],[/android.+;\s(glass)\s\d/i],[a,[u,"Google"],[c,"wearable"]],[/android.+;\s(pixel c)\s/i],[a,[u,"Google"],[c,p]],[/android.+;\s(pixel xl|pixel)\s/i],[a,[u,"Google"],[c,f]],[/android.+(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d\w)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+)?)\s+build/i],[[a,/_/g," "],[u,"Xiaomi"],[c,f]],[/android.+(mi[\s\-_]*(?:pad)?(?:[\s_]*[\w\s]+)?)\s+build/i],[[a,/_/g," "],[u,"Xiaomi"],[c,p]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[a,[u,"Meizu"],[c,p]],[/android.+a000(1)\s+build/i],[a,[u,"OnePlus"],[c,f]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[a,[u,"RCA"],[c,p]],[/android.+[;\/]\s*(Venue[\d\s]*)\s+build/i],[a,[u,"Dell"],[c,p]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[a,[u,"Verizon"],[c,p]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[u,"Barnes & Noble"],a,[c,p]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[a,[u,"NuVision"],[c,p]],[/android.+[;\/]\s*(zte)?.+(k\d{2})\s+build/i],[[u,"ZTE"],a,[c,p]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[a,[u,"Swiss"],[c,f]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[a,[u,"Swiss"],[c,p]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[a,[u,"Zeki"],[c,p]],[/(android).+[;\/]\s+([YR]\d{2}x?.*)\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(.+)\s+build/i],[[u,"Dragon Touch"],a,[c,p]],[/android.+[;\/]\s*(NS-?.+)\s+build/i],[a,[u,"Insignia"],[c,p]],[/android.+[;\/]\s*((NX|Next)-?.+)\s+build/i],[a,[u,"NextBook"],[c,p]],[/android.+[;\/]\s*(Xtreme\_?)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[u,"Voice"],a,[c,f]],[/android.+[;\/]\s*(LVTEL\-?)?(V1[12])\s+build/i],[[u,"LvTel"],a,[c,f]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[a,[u,"Envizen"],[c,p]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(.*\b)\s+build/i],[u,a,[c,p]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[a,[u,"MachSpeed"],[c,p]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[u,a,[c,p]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[a,[u,"Rotor"],[c,p]],[/android.+(KS(.+))\s+build/i],[a,[u,"Amazon"],[c,p]],[/android.+(Gigaset)[\s\-]+(Q.+)\s+build/i],[u,a,[c,p]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[c,d.lowerize],u,a],[/(android.+)[;\/].+build/i],[a,[u,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[l,[s,"EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[s,l],[/rv\:([\w\.]+).*(gecko)/i],[l,s]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[s,l],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s]+\w)*/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[s,[l,h.str,g.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[s,"Windows"],[l,h.str,g.os.windows.version]],[/\((bb)(10);/i],[[s,"BlackBerry"],l],[/(blackberry)\w*\/?([\w\.]+)*/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]+)*/i,/linux;.+(sailfish);/i],[s,l],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]+)*/i],[[s,"Symbian"],l],[/\((series40);/i],[s],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[s,"Firefox OS"],l],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w+)*/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|[open]*suse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]+)*/i,/(hurd|linux)\s?([\w\.]+)*/i,/(gnu)\s?([\w\.]+)*/i],[s,l],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[s,"Chromium OS"],l],[/(sunos)\s?([\w\.]+\d)*/i],[[s,"Solaris"],l],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]+)*/i],[s,l],[/(haiku)\s(\w+)/i],[s,l],[/cfnetwork\/.+darwin/i,/ip[honead]+(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[l,/_/g,"."],[s,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]+\w)*/i,/(macintosh|mac(?=_powerpc)\s)/i],[[s,"Mac OS"],[l,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]+)*/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.]*)*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]+)*/i],[s,l]]},y=function(e,t){if("object"==typeof e&&(t=e,e=void 0),!(this instanceof y))return new y(e,t).getResult();var n=e||(o&&o.navigator&&o.navigator.userAgent?o.navigator.userAgent:""),r=t?d.extend(m,t):m;return this.getBrowser=function(){var e={name:void 0,version:void 0};return h.rgx.call(e,n,r.browser),e.major=d.major(e.version),e},this.getCPU=function(){var e={architecture:void 0};return h.rgx.call(e,n,r.cpu),e},this.getDevice=function(){var e={vendor:void 0,model:void 0,type:void 0};return h.rgx.call(e,n,r.device),e},this.getEngine=function(){var e={name:void 0,version:void 0};return h.rgx.call(e,n,r.engine),e},this.getOS=function(){var e={name:void 0,version:void 0};return h.rgx.call(e,n,r.os),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 n},this.setUA=function(e){return n=e,this},this};y.VERSION="0.7.17",y.BROWSER={NAME:s,MAJOR:"major",VERSION:l},y.CPU={ARCHITECTURE:"architecture"},y.DEVICE={MODEL:a,VENDOR:u,TYPE:c,CONSOLE:"console",MOBILE:f,SMARTTV:"smarttv",TABLET:p,WEARABLE:"wearable",EMBEDDED:"embedded"},y.ENGINE={NAME:s,VERSION:l},y.OS={NAME:s,VERSION:l},void 0!==t?(void 0!==e&&e.exports&&(t=e.exports=y),t.UAParser=y):n(196)?void 0!==(r=function(){return y}.call(t,n,t,e))&&(e.exports=r):o&&(o.UAParser=y);var v=o&&(o.jQuery||o.Zepto);if(void 0!==v){var b=new y;v.ua=b.getResult(),v.ua.get=function(){return b.getUA()},v.ua.set=function(e){b.setUA(e);var t=b.getResult();for(var n in t)v.ua[n]=t[n]}}}("object"==typeof window?window:this)},function(e,t){(function(t){e.exports=t}).call(t,{})},function(e,t,n){"use strict";function r(e,t){var n=e.split(S);return n.length>1?n.some(function(e){return C.contains(e,t)}):(e=n[0].trim(),o(e,t))}function o(e,t){var n=e.split(E);if(n.length>0&&n.length<=2||w(!1),1===n.length)return i(n[0],t);var r=n[0],o=n[1];return h(r)&&h(o)||w(!1),i(">="+r,t)&&i("<="+o,t)}function i(e,t){if(""===(e=e.trim()))return!0;var n=t.split(k),r=p(e),o=r.modifier,i=r.rangeComponents;switch(o){case"<":return a(n,i);case"<=":return s(n,i);case">=":return u(n,i);case">":return l(n,i);case"~":case"~>":return f(n,i);default:return c(n,i)}}function a(e,t){return-1===b(e,t)}function s(e,t){var n=b(e,t);return-1===n||0===n}function c(e,t){return 0===b(e,t)}function u(e,t){var n=b(e,t);return 1===n||0===n}function l(e,t){return 1===b(e,t)}function f(e,t){var n=t.slice(),r=t.slice();r.length>1&&r.pop();var o=r.length-1,i=parseInt(r[o],10);return d(i)&&(r[o]=i+1+""),u(e,n)&&a(e,r)}function p(e){var t=e.split(k),n=t[0].match(x);return n||w(!1),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function d(e){return!isNaN(e)&&isFinite(e)}function h(e){return!p(e).modifier}function g(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function m(e,t){e=e.slice(),t=t.slice(),g(e,t.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 g(t,e.length),[e,t]}function y(e,t){var n=e.match(_)[1],r=t.match(_)[1],o=parseInt(n,10),i=parseInt(r,10);return d(o)&&d(i)&&o!==i?v(o,i):v(e,t)}function v(e,t){return typeof e!=typeof t&&w(!1),e>t?1:e<t?-1:0}function b(e,t){for(var n=m(e,t),r=n[0],o=n[1],i=0;i<o.length;i++){var a=y(r[i],o[i]);if(a)return a}return 0}var w=n(5),k=/\./,S=/\|\|/,E=/\s+\-\s+/,x=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,_=/^(\d*)(.*)/,C={contains:function(e,t){return r(e.trim(),t.trim())}};e.exports=C},function(e,t,n){"use strict";function r(e,t,n){if(!e)return null;var r={};for(var i in e)o.call(e,i)&&(r[i]=t.call(n,e[i],i,e));return r}var o=Object.prototype.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";(function(t){function r(e,t){if(!e)return"[empty]";var n=o(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(n instanceof Element||d(!1),n.outerHTML)}function o(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var r=e.textContent.length;return document.createTextNode("[text "+r+(n.length?" | "+n.join(", "):"")+"]")}var i=e.cloneNode();1===i.nodeType&&n.length&&i.setAttribute("data-labels",n.join(", "));for(var a=e.childNodes,s=0;s<a.length;s++)i.appendChild(o(a[s],t));return i}function i(e,t){for(var n=e;n;){if(n instanceof Element&&n.hasAttribute("contenteditable"))return r(n,t);n=n.parentNode}return"Could not find contentEditable parent of node"}function a(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function s(e,n,r,o,i){if(f(document.documentElement,n)){var a=t.getSelection(),s=e.getAnchorKey(),l=e.getAnchorOffset(),p=e.getFocusKey(),d=e.getFocusOffset(),h=e.getIsBackward();if(!a.extend&&h){var g=s,m=l;s=p,l=d,p=g,d=m,h=!1}var y=s===r&&o<=l&&i>=l,v=p===r&&o<=d&&i>=d;if(y&&v)return a.removeAllRanges(),u(a,n,l-o,e),void c(a,n,d-o,e);if(h){if(v&&(a.removeAllRanges(),u(a,n,d-o,e)),y){var b=a.focusNode,w=a.focusOffset;a.removeAllRanges(),u(a,n,l-o,e),c(a,b,w,e)}}else y&&(a.removeAllRanges(),u(a,n,l-o,e)),v&&c(a,n,d-o,e)}}function c(e,t,n,r){var o=p();if(e.extend&&f(o,t)){n>a(t)&&l.logSelectionStateFailure({anonymizedDom:i(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())});var s=t===e.focusNode;try{e.extend(t,n)}catch(a){throw l.logSelectionStateFailure({anonymizedDom:i(t,function(t){var n=[];return t===o&&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:o?o.nodeName:null,nodeIsFocus:t===e.focusNode,nodeWasFocus:s,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:a?""+a:null,offset:n},null,2),selectionState:JSON.stringify(r.toJS(),null,2)}),a}}else{var c=e.getRangeAt(0);c.setEnd(t,n),e.addRange(c.cloneRange())}}function u(e,t,n,r){var o=document.createRange();n>a(t)&&l.logSelectionStateFailure({anonymizedDom:i(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())}),o.setStart(t,n),e.addRange(o)}var l=n(200),f=n(59),p=n(86),d=n(5);e.exports=s}).call(t,n(13))},function(e,t,n){"use strict";e.exports={logSelectionStateFailure:function(){return null}}},function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n(202);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"==typeof n.Node?e instanceof n.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=r},function(e,t,n){"use strict";function r(e){return null==e?e:String(e)}function o(e,t){var n=void 0;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return r(n.getPropertyValue(a(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return r(n.getPropertyValue(a(t)));if("display"===t)return"none"}return r(e.currentStyle?"float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[i(t)]:e.style&&e.style[i(t)])}var i=n(204),a=n(88);e.exports=o},function(e,t,n){"use strict";function r(e){return e.replace(o,function(e,t){return t.toUpperCase()})}var o=/-(.)/g;e.exports=r},function(e,t,n){"use strict";function r(e){var t=o(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}}var o=n(206);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e&&o(t,e)))return{left:0,right:0,top:0,bottom:0};var n=e.getBoundingClientRect();return{left:Math.round(n.left)-t.clientLeft,right:Math.round(n.right)-t.clientLeft,top:Math.round(n.top)-t.clientTop,bottom:Math.round(n.bottom)-t.clientTop}}var o=n(59);e.exports=r},function(e,t,n){"use strict";function r(e){return e=e||document,e.scrollingElement?e.scrollingElement:o||"CSS1Compat"!==e.compatMode?e.body:e.documentElement}var o="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;e.exports=r},function(e,t,n){"use strict";function r(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}}e.exports=r},function(e,t,n){"use strict";function r(){var e=void 0;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function o(){var e=void 0;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function i(){return{width:window.innerWidth||r(),height:window.innerHeight||o()}}i.withoutScrollbars=function(){return{width:r(),height:o()}},e.exports=i},function(e,t,n){"use strict";function r(e){e||(e="");var t=void 0,n=arguments.length;if(n>1)for(var r=1;r<n;r++)(t=arguments[r])&&(e=(e?e+" ":"")+t);return e}e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=null,r=null;if("function"==typeof document.caretRangeFromPoint){var o=document.caretRangeFromPoint(e.x,e.y);n=o.startContainer,r=o.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,r=e.rangeOffset}n=d(n),r=d(r);var i=d(u(n));return f(t,i,r,i,r)}function o(e,t){var n=s.moveText(e.getCurrentContent(),e.getSelection(),t);return c.push(e,n,"insert-fragment")}function i(e,t,n){var r=s.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return c.push(e,r,"insert-fragment")}var a=n(89),s=n(7),c=n(6),u=n(62),l=n(91),f=n(92),p=n(40),d=n(9),h={onDragEnd:function(e){e.exitCurrentMode()},onDrop:function(e,t){var n=new a(t.nativeEvent.dataTransfer),s=e._latestEditorState,c=r(t.nativeEvent,s);if(t.preventDefault(),e.exitCurrentMode(),null!=c){var u=n.getFiles();if(u.length>0){if(e.props.handleDroppedFiles&&p(e.props.handleDroppedFiles(c,u)))return;return void l(u,function(t){t&&e.update(i(s,c,t))})}var f=e._internalDrag?"internal":"external";if(!e.props.handleDrop||!p(e.props.handleDrop(c,n,f)))return e._internalDrag?void e.update(o(s,c)):void e.update(i(s,c,n.getText()))}}};e.exports=h},function(e,t,n){"use strict";function r(e){return e.split("/")}var o={isImage:function(e){return"image"===r(e)[0]},isJpeg:function(e){var t=r(e);return o.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};e.exports=o},function(e,t,n){"use strict";function r(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&a(!1),"number"!=typeof t&&a(!1),0===t||t-1 in e||a(!1),"function"==typeof e.callee&&a(!1),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}function o(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)}function i(e){return o(e)?Array.isArray(e)?e.slice():r(e):[e]}var a=n(5);e.exports=i},function(e,t,n){"use strict";var r=n(215),o=n(217),i=n(218),a=n(219),s=n(220),c=n(221),u=n(222),l=n(223),f=n(224),p=n(225),d=n(239),h=n(244),g={onBeforeInput:r,onBlur:o,onCompositionStart:i,onCopy:a,onCut:s,onDragOver:c,onDragStart:u,onFocus:l,onInput:f,onKeyDown:p,onPaste:d,onSelect:h};e.exports=g},function(e,t,n){"use strict";(function(t){function r(e){return y&&(e==g||e==m)}function o(e,t,n,r){var o=s.replaceText(e.getCurrentContent(),e.getSelection(),t,n,r);return c.push(e,o,"insert-characters")}function i(e,n){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var i=e._latestEditorState,s=n.data;if(s){if(e.props.handleBeforeInput&&f(e.props.handleBeforeInput(s,i)))return void n.preventDefault();var u=i.getSelection(),g=u.getStartOffset(),m=u.getEndOffset(),y=u.getAnchorKey();if(!u.isCollapsed()){n.preventDefault();return void(s===i.getCurrentContent().getPlainText().slice(g,m)?this.update(c.forceSelection(i,u.merge({focusOffset:m}))):e.update(o(i,s,i.getCurrentInlineStyle(),l(i.getCurrentContent(),i.getSelection()))))}var v=o(i,s,i.getCurrentInlineStyle(),l(i.getCurrentContent(),i.getSelection())),b=!1;if(b||(b=p(e._latestCommittedEditorState)),!b){var w=t.getSelection();if(w.anchorNode&&w.anchorNode.nodeType===Node.TEXT_NODE){var k=w.anchorNode.parentNode;b="SPAN"===k.nodeName&&k.firstChild.nodeType===Node.TEXT_NODE&&-1!==k.firstChild.nodeValue.indexOf("\t")}}if(!b){b=a.getFingerprint(i.getBlockTree(y))!==a.getFingerprint(v.getBlockTree(y))}if(b||(b=r(s)),b||(b=d(v.getDirectionMap()).get(y)!==d(i.getDirectionMap()).get(y)),b)return n.preventDefault(),void e.update(v);v=c.set(v,{nativelyRenderedContent:v.getCurrentContent()}),e._pendingStateFromBeforeInput=v,h(function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)})}}var a=n(80),s=n(7),c=n(6),u=n(17),l=n(57),f=n(40),p=n(84),d=n(9),h=n(216),g="'",m="/",y=u.isBrowser("Firefox");e.exports=i}).call(t,n(13))},function(e,t,n){"use strict";(function(t){n(93),e.exports=t.setImmediate}).call(t,n(13))},function(e,t,n){"use strict";(function(t){function r(e,n){if(a()===document.body){var r=t.getSelection(),s=e.refs.editor;1===r.rangeCount&&i(s,r.anchorNode)&&i(s,r.focusNode)&&r.removeAllRanges()}var c=e._latestEditorState,u=c.getSelection();if(u.getHasFocus()){var l=u.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(n),e.update(o.acceptSelection(c,l))}}var o=n(6),i=n(59),a=n(86);e.exports=r}).call(t,n(13))},function(e,t,n){"use strict";function r(e,t){e.setMode("composite"),e.update(o.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)}var o=n(6);e.exports=r},function(e,t,n){"use strict";function r(e,t){if(e._latestEditorState.getSelection().isCollapsed())return void t.preventDefault();e.setClipboard(o(e._latestEditorState))}var o=n(94);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=e._latestEditorState;if(n.getSelection().isCollapsed())return void t.preventDefault();var r=s.getScrollParent(t.target),i=u(r),a=i.x,l=i.y,f=c(n);e.setClipboard(f),e.setMode("cut"),setTimeout(function(){e.restoreEditorDOM({x:a,y:l}),e.exitCurrentMode(),e.update(o(n))},0)}function o(e){var t=i.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return a.push(e,t,"remove-range")}var i=n(7),a=n(6),s=n(60),c=n(94),u=n(61);e.exports=r},function(e,t,n){"use strict";function r(e,t){e._internalDrag=!1,e.setMode("drag"),t.preventDefault()}e.exports=r},function(e,t,n){"use strict";function r(e){e._internalDrag=!0,e.setMode("drag")}e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=e._latestEditorState,r=n.getSelection();if(!r.getHasFocus()){var a=r.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),i.isBrowser("Chrome < 60.0.3081.0")?e.update(o.forceSelection(n,a)):e.update(o.acceptSelection(n,a))}}var o=n(6),i=n(17);e.exports=r},function(e,t,n){"use strict";(function(t){function r(e){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=t.getSelection(),r=n.anchorNode,c=n.isCollapsed,d=r.nodeType!==Node.TEXT_NODE,h=r.nodeType!==Node.TEXT_NODE&&r.nodeType!==Node.ELEMENT_NODE;if(o.draft_killswitch_allow_nontextnodes){if(d)return}else if(h)return;if(r.nodeType===Node.TEXT_NODE&&(null!==r.previousSibling||null!==r.nextSibling)){var g=r.parentNode;r.nodeValue=g.textContent;for(var m=g.firstChild;null!==m;m=m.nextSibling)m!==r&&g.removeChild(m)}var y=r.textContent,v=e._latestEditorState,b=l(u(r)),w=a.decode(b),k=w.blockKey,S=w.decoratorKey,E=w.leafKey,x=v.getBlockTree(k).getIn([S,"leaves",E]),_=x.start,C=x.end,O=v.getCurrentContent(),T=O.getBlockForKey(k),A=T.getText().slice(_,C);if(y.endsWith(p)&&(y=y.slice(0,-1)),y!==A){var P,L,R,D,I=v.getSelection(),M=I.merge({anchorOffset:_,focusOffset:C,isBackward:!1}),j=T.getEntityAt(_),N=j&&O.getEntity(j),B=N&&N.getMutability(),F="MUTABLE"===B,K=F?"spellcheck-change":"apply-entity",q=i.replaceText(O,M,y,T.getInlineStyleAt(_),F?T.getEntityAt(_):null);if(f)P=n.anchorOffset,L=n.focusOffset,R=_+Math.min(P,L),D=R+Math.abs(P-L),P=R,L=D;else{var U=y.length-A.length;R=I.getStartOffset(),D=I.getEndOffset(),P=c?D+U:R,L=D+U}var z=q.merge({selectionBefore:O.getSelectionAfter(),selectionAfter:I.merge({anchorOffset:P,focusOffset:L})});e.update(s.push(v,z,K))}}var o=n(77),i=n(7),a=n(25),s=n(6),c=n(17),u=n(62),l=n(9),f=c.isEngine("Gecko"),p="\n\n";e.exports=r}).call(t,n(13))},function(e,t,n){"use strict";function r(e,t){switch(e){case"redo":return a.redo(t);case"delete":return b(t);case"delete-word":return h(t);case"backspace":return v(t);case"backspace-word":return d(t);case"backspace-to-start-of-line":return p(t);case"split-block":return g(t);case"transpose-characters":return w(t);case"move-selection-to-start-of-block":return y(t);case"move-selection-to-end-of-block":return m(t);case"secondary-cut":return u.cut(t);case"secondary-paste":return u.paste(t);default:return t}}function o(e,t){var n=t.which,o=e._latestEditorState;switch(n){case c.RETURN:if(t.preventDefault(),e.props.handleReturn&&f(e.props.handleReturn(t,o)))return;break;case c.ESC:return t.preventDefault(),void(e.props.onEscape&&e.props.onEscape(t));case c.TAB:return void(e.props.onTab&&e.props.onTab(t));case c.UP:return void(e.props.onUpArrow&&e.props.onUpArrow(t));case c.RIGHT:return void(e.props.onRightArrow&&e.props.onRightArrow(t));case c.DOWN:return void(e.props.onDownArrow&&e.props.onDownArrow(t));case c.LEFT:return void(e.props.onLeftArrow&&e.props.onLeftArrow(t));case c.SPACE:if(E&&S(t)){t.preventDefault();var s=i.replaceText(o.getCurrentContent(),o.getSelection(),"\xa0");return void e.update(a.push(o,s,"insert-characters"))}}var u=e.props.keyBindingFn(t);if(u){if("undo"===u)return void k(t,o,e.update);if(t.preventDefault(),!e.props.handleKeyCommand||!f(e.props.handleKeyCommand(u,o))){var l=r(u,o);l!==o&&e.update(l)}}}var i=n(7),a=n(6),s=n(63),c=n(56),u=n(226),l=n(17),f=n(40),p=n(227),d=n(229),h=n(231),g=n(232),m=n(233),y=n(234),v=n(235),b=n(236),w=n(237),k=n(238),S=s.isOptionKeyCommand,E=l.isBrowser("Chrome");e.exports=o},function(e,t,n){"use strict";var r=n(7),o=n(6),i=n(38),a=n(9),s=null,c={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),c=null;if(n.isCollapsed()){var u=n.getAnchorKey(),l=t.getBlockForKey(u).getLength();if(l===n.getAnchorOffset())return e;c=n.set("focusOffset",l)}else c=n;c=a(c),s=i(t,c);var f=r.removeRange(t,c,"forward");return f===t?e:o.push(e,f,"remove-range")},paste:function(e){if(!s)return e;var t=r.replaceWithFragment(e.getCurrentContent(),e.getSelection(),s);return o.push(e,t,"insert-fragment")}};e.exports=c},function(e,t,n){"use strict";(function(t){function r(e){var n=c(e,function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return s(e,1);var r=t.getSelection(),o=r.getRangeAt(0);return o=i(o),a(e,null,o.endContainer,o.endOffset,o.startContainer,o.startOffset).selectionState},"backward");return n===e.getCurrentContent()?e:o.push(e,n,"remove-range")}var o=n(6),i=n(228),a=n(96),s=n(64),c=n(32);e.exports=r}).call(t,n(13))},function(e,t,n){"use strict";function r(e){var t=getComputedStyle(e),n=document.createElement("div");n.style.fontFamily=t.fontFamily,n.style.fontSize=t.fontSize,n.style.fontStyle=t.fontStyle,n.style.fontWeight=t.fontWeight,n.style.lineHeight=t.lineHeight,n.style.position="absolute",n.textContent="M";var r=document.body;r||u(!1),r.appendChild(n);var o=n.getBoundingClientRect();return r.removeChild(n),o.height}function o(e,t){for(var n=1/0,r=1/0,o=-1/0,i=-1/0,a=0;a<e.length;a++){var s=e[a];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),r=Math.min(r,s.bottom),o=Math.max(o,s.top),i=Math.max(i,s.bottom))}return o<=r&&o-n<t&&i-r<t}function i(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}}function a(e){e.collapsed||u(!1),e=e.cloneRange();var t=e.startContainer;1!==t.nodeType&&(t=t.parentNode);var n=r(t),a=e.endContainer,l=e.endOffset;for(e.setStart(e.startContainer,0);o(c(e),n)&&(a=e.startContainer,l=e.startOffset,a.parentNode||u(!1),e.setStartBefore(a),1!==a.nodeType||"inline"===getComputedStyle(a).display););for(var f=a,p=l-1;;){for(var d=f.nodeValue,h=p;h>=0;h--)if(!(null!=d&&h>0&&s.isSurrogatePair(d,h-1))){if(e.setStart(f,h),!o(c(e),n))break;a=f,l=h}if(-1===h||0===f.childNodes.length)break;f=f.childNodes[h],p=i(f)}return e.setStart(a,l),e}var s=n(24),c=n(95),u=n(5);e.exports=a},function(e,t,n){"use strict";function r(e){var t=s(e,function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return a(e,1);var r=t.getStartKey(),i=e.getCurrentContent(),s=i.getBlockForKey(r).getText().slice(0,n),c=o.getBackward(s);return a(e,c.length||1)},"backward");return t===e.getCurrentContent()?e:i.push(e,t,"remove-range")}var o=n(97),i=n(6),a=n(64),s=n(32);e.exports=r},function(e,t,n){"use strict";e.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;\u30fb\u3001\u3002\u3008-\u3011\u3014-\u301f\uff1a-\uff1f\uff01-\uff0f\uff3b-\uff40\uff5b-\uff65\u2e2e\u061f\u066a-\u066c\u061b\u060c\u060d\ufd3e\ufd3f\u1801\u0964\u104a\u104b\u2010-\u2027\u2030-\u205e\xa1-\xb1\xb4-\xb8\xba\xbb\xbf]"}}},function(e,t,n){"use strict";function r(e){var t=s(e,function(e){var t=e.getSelection(),n=t.getStartOffset(),r=t.getStartKey(),i=e.getCurrentContent(),s=i.getBlockForKey(r).getText().slice(n),c=o.getForward(s);return a(e,c.length||1)},"forward");return t===e.getCurrentContent()?e:i.push(e,t,"remove-range")}var o=n(97),i=n(6),a=n(98),s=n(32);e.exports=r},function(e,t,n){"use strict";function r(e){var t=o.splitBlock(e.getCurrentContent(),e.getSelection());return i.push(e,t,"split-block")}var o=n(7),i=n(6);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.getSelection(),n=t.getEndKey(),r=e.getCurrentContent(),i=r.getBlockForKey(n).getLength();return o.set(e,{selection:t.merge({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}),forceSelection:!0})}var o=n(6);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.getSelection(),n=t.getStartKey();return o.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})}var o=n(6);e.exports=r},function(e,t,n){"use strict";function r(e){var t=s(e,function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),o=t.getAnchorOffset(),s=n.getBlockForKey(r).getText()[o-1];return a(e,s?i.getUTF16Length(s,0):1)},"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return o.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")}var o=n(6),i=n(24),a=n(64),s=n(32);e.exports=r},function(e,t,n){"use strict";function r(e){var t=s(e,function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),o=t.getAnchorOffset(),s=n.getBlockForKey(r).getText()[o];return a(e,s?i.getUTF16Length(s,0):1)},"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return o.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")}var o=n(6),i=n(24),a=n(98),s=n(32);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var r=t.getAnchorKey(),s=e.getCurrentContent(),c=s.getBlockForKey(r),u=c.getLength();if(u<=1)return e;var l,f;n===u?(l=t.set("anchorOffset",n-1),f=t):(l=t.set("focusOffset",n+1),f=l.set("anchorOffset",n+1));var p=a(s,l),d=o.removeRange(s,l,"backward"),h=d.getSelectionAfter(),g=h.getAnchorOffset()-1,m=h.merge({anchorOffset:g,focusOffset:g}),y=o.replaceWithFragment(d,m,p),v=i.push(e,y,"insert-fragment");return i.acceptSelection(v,f)}var o=n(7),i=n(6),a=n(38);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r=o.undo(t);if("spellcheck-change"===t.getLastChangeType()){var i=r.getCurrentContent();return void n(o.set(r,{nativelyRenderedContent:i}))}if(e.preventDefault(),!t.getNativelyRenderedContent())return void n(r);n(o.set(t,{nativelyRenderedContent:null})),setTimeout(function(){n(r)},0)}var o=n(6);e.exports=r},function(e,t,n){"use strict";function r(e,t){t.preventDefault();var n=new c(t.clipboardData);if(!n.isRichText()){var r=n.getFiles(),y=n.getText();if(r.length>0){if(e.props.handlePastedFiles&&g(e.props.handlePastedFiles(r)))return;return void h(r,function(t){if(t=t||y){var n=e._latestEditorState,r=m(t),o=s.create({style:n.getCurrentInlineStyle(),entity:d(n.getCurrentContent(),n.getSelection())}),i=p.getCurrentBlockType(n),c=l.processText(r,o,i),h=a.createFromArray(c),g=u.replaceWithFragment(n.getCurrentContent(),n.getSelection(),h);e.update(f.push(n,g,"insert-fragment"))}})}}var v=[],b=n.getText(),w=n.getHTML(),k=e._latestEditorState;if(!e.props.handlePastedText||!g(e.props.handlePastedText(b,w,k))){if(b&&(v=m(b)),!e.props.stripPastedStyles){var S=e.getClipboard();if(n.isRichText()&&S){if(-1!==w.indexOf(e.getEditorKey())||1===v.length&&1===S.size&&S.first().getText()===b)return void e.update(o(e._latestEditorState,S))}else if(S&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&i(v,S))return void e.update(o(e._latestEditorState,S));if(w){var E=l.processHTML(w,e.props.blockRenderMap);if(E){var x=E.contentBlocks,_=E.entityMap;if(x){var C=a.createFromArray(x);return void e.update(o(e._latestEditorState,C,_))}}}e.setClipboard(null)}if(v.length){var O=s.create({style:k.getCurrentInlineStyle(),entity:d(k.getCurrentContent(),k.getSelection())}),T=p.getCurrentBlockType(k),A=l.processText(v,O,T),P=a.createFromArray(A);e.update(o(e._latestEditorState,P))}}}function o(e,t,n){var r=u.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return f.push(e,r.set("entityMap",n),"insert-fragment")}function i(e,t){return e.length===t.size&&t.valueSeq().every(function(t,n){return t.getText()===e[n]})}var a=n(27),s=n(12),c=n(89),u=n(7),l=n(240),f=n(6),p=n(101),d=n(57),h=n(91),g=n(40),m=n(243);e.exports=r},function(e,t,n){"use strict";var r=(n(12),n(23)),o=n(3),i=n(99),a=n(8),s=n(100),c=n(53),u=o.List,l=o.Repeat,f={processHTML:function(e,t){return i(e,s,t)},processText:function(e,t,n){return e.map(function(e){return e=c(e),new r({key:a(),type:n,text:e,characterList:u(l(t,e.length))})})}};e.exports=f},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(t){r(this,e),this._uri=t}return e.prototype.toString=function(){return this._uri},e}();e.exports=o},function(e,t,n){"use strict";function r(e,t,n,r){var o=t.getStartKey(),i=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil(function(e,t){return t===o}).takeUntil(function(e,t){return t===i}).concat([[i,a.get(i)]]).map(function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,r)),e.set("depth",t)});return a=a.merge(s),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})}e.exports=r},function(e,t,n){"use strict";function r(e){return e.split(o)}var o=/\r\n?|\n/g;e.exports=r},function(e,t,n){"use strict";function r(e){if(!e._blockSelectEvents&&e._latestEditorState===e.props.editorState){var t=e.props.editorState,n=i.findDOMNode(e.refs.editorContainer);n||s(!1),n.firstChild instanceof HTMLElement||s(!1);var r=a(t,n.firstChild),c=r.selectionState;c!==t.getSelection()&&(t=r.needsRecovery?o.forceSelection(t,c):o.acceptSelection(t,c),e.update(t))}}var o=n(6),i=n(16),a=n(245),s=n(5);e.exports=r},function(e,t,n){"use strict";(function(t){function r(e,n){var r=t.getSelection();return 0===r.rangeCount?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:o(e,n,r.anchorNode,r.anchorOffset,r.focusNode,r.focusOffset)}var o=n(96);e.exports=r}).call(t,n(13))},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n(30),c=function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return i(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},t.prototype.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=s({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return a.createElement("div",{className:t},a.createElement("div",{className:s("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID},this.props.text))},t}(a.Component);e.exports=c},function(e,t,n){"use strict";function r(e){var t=0,n={},r=[];e.getBlockMap().forEach(function(e,s){e.findEntityRanges(function(e){return null!==e.getEntity()},function(r){var i=o.stringify(e.getEntityAt(r));n.hasOwnProperty(i)||(n[i]=""+t++)}),r.push({key:s,text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:a(e),entityRanges:i(e,n),data:e.getData().toObject()})});var s=Object.keys(n),c={};return s.forEach(function(t,n){var r=e.getEntity(o.unstringify(t));c[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}}),{entityMap:c,blocks:r}}var o=n(103),i=n(248),a=n(249);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=[];return e.findEntityRanges(function(e){return!!e.getEntity()},function(r,i){var s=e.getText(),c=e.getEntityAt(r);n.push({offset:a(s.slice(0,r)),length:a(s.slice(r,i)),key:Number(t[o.stringify(c)])})}),n}var o=n(103),i=n(24),a=i.strlen;e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r=[],o=t.map(function(e){return e.has(n)}).toList();return a(o,s,c,function(t,o){var a=e.getText();r.push({offset:i.strlen(a.slice(0,t)),length:i.strlen(a.slice(t,o)),style:n})}),r}function o(e){var t=e.getCharacterList().map(function(e){return e.getStyle()}).toList(),n=t.flatten().toSet().map(function(n){return r(e,t,n)});return Array.prototype.concat.apply(u,n.toJS())}var i=n(24),a=n(37),s=function(e,t){return e===t},c=function(e){return!!e},u=[];e.exports=o},function(e,t,n){"use strict";function r(e){var t=e.blocks,n=e.entityMap,r={};Object.keys(n).forEach(function(e){var t=n[e],o=t.type,i=t.mutability,a=t.data,s=c.__create(o,i,a||{});r[e]=s});var o=t.map(function(e){var t=e.key,n=e.type,o=e.text,s=e.depth,c=e.inlineStyleRanges,u=e.entityRanges,g=e.data;t=t||d(),n=n||"unstyled",s=s||0,c=c||[],u=u||[],g=h(g);var m=p(o,c),y=u.filter(function(e){return r.hasOwnProperty(e.key)}).map(function(e){return i({},e,{key:r[e.key]})}),v=f(o,y),b=l(m,v);return new a({key:t,type:n,text:o,depth:s,characterList:b,data:g})});return s.createFromBlockArray(o)}var o=n(19),i=o||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},a=n(23),s=n(52),c=n(39),u=n(3),l=n(251),f=n(252),p=n(253),d=n(8),h=u.Map;e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=e.map(function(e,n){var r=t[n];return o.create({style:e,entity:r})});return a(n)}var o=n(12),i=n(3),a=i.List;e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=Array(e.length).fill(null);return t&&t.forEach(function(t){for(var r=i(e,0,t.offset).length,o=r+i(e,t.offset,t.length).length,a=r;a<o;a++)n[a]=t.key}),n}var o=n(24),i=o.substr;e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=Array(e.length).fill(c);return t&&t.forEach(function(t){for(var r=s(e,0,t.offset).length,o=r+s(e,t.offset,t.length).length;r<o;)n[r]=n[r].add(t.style),r++}),n}var o=n(3),i=o.OrderedSet,a=n(24),s=a.substr,c=i();e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),r=o(n),i=r.top,a=r.right,s=r.bottom,c=r.left;return 0===i&&0===a&&0===s&&0===c?null:r}var o=n(255);e.exports=r},function(e,t,n){"use strict";function r(e){var t=o(e),n=0,r=0,i=0,a=0;if(t.length){if(t.length>1&&0===t[0].width){var s=t[1];n=s.top,r=s.right,i=s.bottom,a=s.left}else{var c=t[0];n=c.top,r=c.right,i=c.bottom,a=c.left}for(var u=1;u<t.length;u++){var l=t[u];0!==l.height&&0!==l.width&&(n=Math.min(n,l.top),r=Math.max(r,l.right),i=Math.max(i,l.bottom),a=Math.min(a,l.left))}}return{top:n,right:r,bottom:i,left:a,width:r-a,height:i-n}}var o=n(95);e.exports=r},function(e,t){},function(e,t,n){"use strict";var r=n(258);n.d(t,"a",function(){return r.a}),n.d(t,"c",function(){return r.b}),n.d(t,"d",function(){return r.c}),n.d(t,"e",function(){return r.d}),n.d(t,"f",function(){return r.e}),n.d(t,"g",function(){return r.f}),n.d(t,"h",function(){return r.g}),n.d(t,"i",function(){return r.h}),n.d(t,"j",function(){return r.i}),n.d(t,"k",function(){return r.j}),n.d(t,"l",function(){return r.k}),n.d(t,"m",function(){return r.l}),n.d(t,"n",function(){return r.m});var o=n(644);n.d(t,"b",function(){return o.a})},function(e,t,n){"use strict";var r=n(259);n.d(t,"a",function(){return r.a});var o=n(333);n.d(t,"b",function(){return o.a}),n.d(t,"c",function(){return o.b}),n.d(t,"d",function(){return o.c}),n.d(t,"e",function(){return o.d}),n.d(t,"f",function(){return o.e}),n.d(t,"g",function(){return o.f}),n.d(t,"h",function(){return o.g}),n.d(t,"i",function(){return o.h}),n.d(t,"j",function(){return o.i}),n.d(t,"k",function(){return o.j}),n.d(t,"l",function(){return o.k}),n.d(t,"m",function(){return o.l})},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return C});var s=n(0),c=n.n(s),u=n(4),l=n.n(u),f=n(3),p=n.n(f),d=n(14),h=n.n(d),g=n(20),m=n.n(g),y=n(1),v=(n.n(y),n(65)),b=(n.n(v),n(2)),w=n(68),k=n(332),S="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=Object.assign||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},x=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),_=m()("draft-master"),C=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,c=Array(s),u=0;u<s;u++)c[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),r.state={initialized:!1,editorState:y.EditorState.createEmpty(r._decorator),focused:!1,readOnly:!1,pluginHostMemory:{}},r._selfStore={getEditorEnviorment:function(){return"root"},getEditorState:function(){return r.state.editorState},setEditorState:function(e,t){return r._handleChange(e,t)},getEditorReadOnly:function(){return r.state.readOnly},setEditorReadOnly:function(e){return r.setState({readOnly:e})},getEditorRef:function(){return r.draftEditor}},r._storeObtainer=null,r._pluginHostAPI={takeOverStore:function(e){r._storeObtainer=e},recoverStore:function(){r._storeObtainer=null},readMemory:function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e})(r.state.pluginHostMemory)},updateMemory:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return new Promise(function(t){return r.setState({pluginHostMemory:e(r.state.pluginHostMemory)},t)})},triggerCommand:function(e,t){return r._handleKeyCommand(e,r.state.editorState,t)},focusHostEditor:function(){return r.focus()},refreshToolbar:function(){r._toolbar&&r._toolbar.forceUpdate()}},r.focus=function(){r.draftEditor&&r.draftEditor.focus()},r.clear=function(){r._storeObtainer=null,r.setState({editorState:y.EditorState.createEmpty(r._decorator),pluginHostMemory:{},readOnly:!1},function(){return r.props.onChange(r)}),r.errorBoundary&&r.errorBoundary.clear()},r._handleFocusByMouseDown=function(e){r.focus()},r._handleFocus=function(){r.setState({focused:!0}),"function"==typeof r.props.onFocus&&r.props.onFocus()},r._handleBlur=function(){r.setState({focused:!1}),"function"==typeof r.props.onBlur&&r.props.onBlur()},r._forceUpdate=function(){r.setState({editorState:y.EditorState.force(r.state.editorState,r.state.editorState.getSelection())})},r._getCustomStyleMap=function(){var e={},t=!0,n=!1,o=void 0;try{for(var i,a=r._plugins[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var s=i.value,c=s.getCustomStyleMap;c&&(e=E({},e,c()))}}catch(e){n=!0,o=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw o}}return e},r._getBlockStyle=function(e){if("unstyled"===e.getType())return"paragraph"},r._renderBlock=function(e){var t=!0,n=!1,o=void 0;try{for(var i,a=r._plugins[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var s=i.value,c=s.getBlockRenderInfo;if(c){var u=c(e,r._selfStore,r._pluginHostAPI);if(u)return u}}}catch(e){n=!0,o=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw o}}return null},r._handleChange=function(e,t){return new Promise(function(n){var o=r.state.editorState,i=o.getCurrentContent(),a=!0,s=!1,c=void 0;try{for(var u,l=r._plugins[Symbol.iterator]();!(a=(u=l.next()).done);a=!0){var f=u.value,p=f.handleChange;p&&(e=p(e))}}catch(e){s=!0,c=e}finally{try{!a&&l.return&&l.return()}finally{if(s)throw c}}e=Object(b.h)(e);var d=e.getCurrentContent(),h=t||d!==i;r.setState({editorState:e},function(){h&&"function"==typeof r.props.onChange&&r.props.onChange(r),n()})})},r._keyBindingFn=function(e){var t=r.state.editorState,n=!0,o=!1,i=void 0;try{for(var a,s=r._plugins[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var c=a.value,u=c.keyBinding;if(u){var l=u(t,e);if(l)return l}}}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return Object(y.getDefaultKeyBinding)(e)},r._handleKeyCommand=function(e,t,n){var o=r._activeStore;return r._tryHandleByPlugins("handleCommand",o,e,n)},r._handleArrowKey=function(e){var t=r.state.editorState,n={37:"arrow-left",38:"arrow-up",39:"arrow-right",40:"arrow-down"}[e.keyCode];return r._handleKeyCommand(n,t,e)},r._handleReturnKey=function(e){var t=r.state.editorState;return r._handleKeyCommand("return",t,e)},r._handleTabKey=function(e){var t=r.state.editorState;return r._handleKeyCommand("tab",t,e)},r._handlePastedText=function(e,t){if(!e)return"not-handled";var n=r._activeStore,o=n.getEditorState(),i=null;if(t&&"handled"===(i=r._tryHandleByPlugins("handlePastedHtml",n,t)))return i;if("handled"!==(i=r._tryHandleByPlugins("handlePastedText",n,e))){e=e.replace(/\t/g," "),e=e.replace(/r\n/g,"\n");var a=o.getSelection(),s=y.ContentState.createFromText(e,"\n").getBlockMap(),c=y.Modifier.replaceWithFragment(o.getCurrentContent(),a,s);r._handleChange(y.EditorState.push(o,c,"insert-fragment")),i="handled"}return i},r._handleDroppedFiles=function(e,t){var n=r._activeStore;return r._tryHandleByPlugins("handleFiles",n,e,t,"drop")},r._handlePastedFiles=function(e){var t=r._activeStore,n=t.getEditorState().getSelection();return r._tryHandleByPlugins("handleFiles",t,n,e,"paste")},a=n,i(r,a)}return a(t,e),x(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.disabled,r=t.containerClassName,o=t.className,i=t.placeholder,a=t.tip,s=t.containerStyle,u=t.style,f=this.state,d=f.initialized,h=f.editorState,g=f.focused,m=f.readOnly;if(!d)return null;var v=this._activeStore.getEditorEnviorment(),S="root"===v;return c.a.createElement("div",{className:l()("qa-r-editor-container",r,{focused:g,disabled:n}),style:s},c.a.createElement(w.b,{store:this._activeStore,plugins:this._plugins,ref:function(t){return e._toolbar=t}}),c.a.createElement("div",{className:l()("qa-r-editor draft-editor-host c-markdown",o),style:u,onMouseDown:this._handleFocusByMouseDown},c.a.createElement(k.a,{ref:function(t){return e.errorBoundary=t},title:"\u62b1\u6b49\uff0c\u7f16\u8f91\u5668\u53d1\u751f\u9519\u8bef",recover:c.a.createElement("p",null,"\u60a8\u53ef\u5c1d\u8bd5",c.a.createElement("a",{href:"javascript: void(0)",onClick:function(t){e.setRaw(e.getRaw()),e.errorBoundary.clear()}},"\u6062\u590d\u7f16\u8f91\u5185\u5bb9"))},c.a.createElement(y.Editor,{ref:function(t){return e.draftEditor=t},readOnly:!S||m,editorState:h,onChange:this._handleChange,onFocus:this._handleFocus,onBlur:this._handleBlur,customStyleMap:this._getCustomStyleMap(),blockStyleFn:this._getBlockStyle,blockRendererFn:this._renderBlock,blockRenderMap:y.DefaultDraftBlockRenderMap.merge(p.a.Map({"code-block":{element:"div"}})),keyBindingFn:this._keyBindingFn,onUpArrow:this._handleArrowKey,onDownArrow:this._handleArrowKey,onLeftArrow:this._handleArrowKey,onRightArrow:this._handleArrowKey,handleReturn:this._handleReturnKey,handleKeyCommand:this._handleKeyCommand,onTab:this._handleTabKey,onSelect:function(e){return e.preventDefault()},handlePastedText:this._handlePastedText,handlePastedFiles:this._handlePastedFiles,handleDroppedFiles:this._handleDroppedFiles})),i&&Object(b.F)(h)&&c.a.createElement("div",{className:"rich-editor-placeholder"},i)),a&&c.a.createElement("div",{className:"qa-r-editor-tip"},c.a.createElement("div",{className:"tip-cnt"},a)))}},{key:"componentDidMount",value:function(){this._initContent(),this.props.autoFocus&&this.focus()}},{key:"componentWillUnmount",value:function(){this.isUnmounted=!0}},{key:"getContent",value:function(){return this.state.editorState.getCurrentContent()}},{key:"getPlainText",value:function(){return this.getContent().getPlainText()}},{key:"getRaw",value:function(){return Object(y.convertToRaw)(this.getContent())}},{key:"getPacked",value:function(){return v.pack(this.getRaw())}},{key:"setRaw",value:function(e){this._initContent({raw:e})}},{key:"_initContent",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=t.raw,r=t.packed,o=function(t){return e._setRaw(t)},i=function(){return Object(y.convertToRaw)(e.state.editorState.getCurrentContent())},a=function(e){return h()("object"===(void 0===e?"undefined":S(e))&&Array.isArray(e.blocks)&&"object"===S(e.entityMap),"RichEditor \u4f20\u5165\u4e86\u975e\u6cd5\u7684 raw \u683c\u5f0f\uff1a%s",JSON.stringify(e))};"object"===("undefined"==typeof window?"undefined":S(window))&&(window.re={importFromRaw:o,exportToRaw:i,getStore:function(){return e._activeStore}}),n?a(n):!n&&r&&(n=Object(b.Q)(r),h()(n,"RichEditor \u65e0\u6cd5\u89e3\u6790 packed \u6570\u636e\uff1a%s",r),a(n)),n&&o(n),this.setState({initialized:!0})}},{key:"_setRaw",value:function(e){this.setState({editorState:e.blocks.length?y.EditorState.createWithContent(Object(y.convertFromRaw)(e),this._decorator):y.EditorState.createEmpty(this._decorator)})}},{key:"_tryHandleByPlugins",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=!0,i=!1,a=void 0;try{for(var s,c=this._plugins[Symbol.iterator]();!(o=(s=c.next()).done);o=!0){var u=s.value;if(u[e])try{if("handled"===u[e].apply(u,n))return _(e+" handled by "+u.name),"handled"}catch(t){throw console.error("\u4f7f\u7528\u7f16\u8f91\u5668\u63d2\u4ef6 "+u.name+" \u8fdb\u884c "+e+"() \u65f6\u51fa\u9519\uff1a"+t.message),t}}}catch(e){i=!0,a=e}finally{try{!o&&c.return&&c.return()}finally{if(i)throw a}}return"not-handled"}},{key:"_activeStore",get:function(){if(this._storeObtainer){var e=this._storeObtainer(this.state.pluginHostMemory);return h()("object"===(void 0===e?"undefined":S(e))&&"function"==typeof e.getEditorEnviorment&&"function"==typeof e.getEditorState&&"function"==typeof e.setEditorState,"The store obtainer that your plugin use to take over active store dones not return a valid editor store. It should contains getEditorEnviorment(), getEditorState() and setEditorState() methods. Now we got %s",{toString:function(){return JSON.stringify(e)}}),e}return this._selfStore}},{key:"_plugins",get:function(){return this.props.plugins}},{key:"_decorator",get:function(){var e=[],t=[],n=!0,o=!1,i=void 0;try{for(var a,s=this._plugins[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var c=a.value,u=c.getDecorators,l=c.getDraftDecorators;u&&e.push.apply(e,r(u(this._selfStore))),l&&t.push.apply(t,r(l(this._selfStore)))}}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return t.length&&e.push(new y.CompositeDecorator(t)),e.length>1?new b.a(e):1===e.length?e[0]:null}}]),t}(s.Component)},function(e,t,n){function r(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}function o(e){function n(){if(n.enabled){var e=n,r=+new Date,i=r-(o||r);e.diff=i,e.prev=o,e.curr=r,o=r;for(var a=new Array(arguments.length),s=0;s<a.length;s++)a[s]=arguments[s];a[0]=t.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");var c=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,function(n,r){if("%%"===n)return n;c++;var o=t.formatters[r];if("function"==typeof o){var i=a[c];n=o.call(e,i),a.splice(c,1),c--}return n}),t.formatArgs.call(e,a);(n.log||t.log||console.log.bind(console)).apply(e,a)}}var o;return n.namespace=e,n.enabled=t.enabled(e),n.useColors=t.useColors(),n.color=r(e),n.destroy=i,"function"==typeof t.init&&t.init(n),t.instances.push(n),n}function i(){var e=t.instances.indexOf(this);return-1!==e&&(t.instances.splice(e,1),!0)}function a(e){t.save(e),t.names=[],t.skips=[];var n,r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)r[n]&&(e=r[n].replace(/\*/g,".*?"),"-"===e[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")));for(n=0;n<t.instances.length;n++){var i=t.instances[n];i.enabled=t.enabled(i.namespace)}}function s(){t.enable("")}function c(e){if("*"===e[e.length-1])return!0;var n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1}function u(e){return e instanceof Error?e.stack||e.message:e}t=e.exports=o.debug=o.default=o,t.coerce=u,t.disable=s,t.enable=a,t.enabled=c,t.humanize=n(261),t.instances=[],t.names=[],t.skips=[],t.formatters={}},function(e,t){function n(e){if(e=String(e),!(e.length>100)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*l;case"days":case"day":case"d":return n*u;case"hours":case"hour":case"hrs":case"hr":case"h":return n*c;case"minutes":case"minute":case"mins":case"min":case"m":return n*s;case"seconds":case"second":case"secs":case"sec":case"s":return n*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function r(e){return e>=u?Math.round(e/u)+"d":e>=c?Math.round(e/c)+"h":e>=s?Math.round(e/s)+"m":e>=a?Math.round(e/a)+"s":e+"ms"}function o(e){return i(e,u,"day")||i(e,c,"hour")||i(e,s,"minute")||i(e,a,"second")||e+" ms"}function i(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}var a=1e3,s=60*a,c=60*s,u=24*c,l=365.25*u;e.exports=function(e,t){t=t||{};var i=typeof e;if("string"===i&&e.length>0)return n(e);if("number"===i&&!1===isNaN(e))return t.long?o(e):r(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(264),o=n(265),i=n(266),a=n(267),s={collapse:r.a,fade:o.a,scale:i.a,slide:a.a}},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.targetHeight,n=e.enterTimeout,r=void 0===n?i.a:n,c=e.leaveTimeout,u=void 0===c?i.b:c,l=i.c+"collapse",f=Object(o.x)({name:l,targetHeight:t,enterTimeout:r,leaveTimeout:u});if(!s[f]){var p=s[f]={transitionName:l+f,transitionEnterTimeout:r,transitionLeaveTimeout:u},d=a(p,t);Object(o.A)(l+f,d)}return s[f]}t.a=r;var o=n(2),i=n(41),a=function(e,t){return"\n."+e.transitionName+"-enter {\n\tmax-height: 0;\n}\n."+e.transitionName+"-enter-active {\n\tmax-height: "+t+"px;\n\ttransition: max-height "+e.transitionEnterTimeout+"ms ease;\n}\n."+e.transitionName+"-leave {\n\tmax-height: "+t+"px;\n}\n."+e.transitionName+"-leave-active {\n\tmax-height: 0;\n\ttransition: max-height "+e.transitionLeaveTimeout+"ms ease;\n}\n"},s={}},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.visibleOpacity,n=void 0===t?1:t,r=e.enterTimeout,c=void 0===r?i.a:r,u=e.leaveTimeout,l=void 0===u?i.b:u,f=i.c+"fade",p=Object(o.x)({name:f,visibleOpacity:n,enterTimeout:c,leaveTimeout:l});if(!s[p]){var d=s[p]={transitionName:f+p,transitionEnterTimeout:c,transitionLeaveTimeout:l+1e-4},h=a(d,n);Object(o.A)(f+p,h)}return s[p]}t.a=r;var o=n(2),i=n(41),a=function(e,t){return"\n."+e.transitionName+"-enter {\n\topacity: 0 !important;\n}\n."+e.transitionName+"-enter-active {\n\topacity: "+t+" !important;\n\ttransition: opacity "+e.transitionEnterTimeout+"ms ease;\n}\n."+e.transitionName+"-leave {\n\topacity: "+t+" !important;\n}\n."+e.transitionName+"-leave-active {\n\topacity: 0 !important;\n\ttransition: opacity "+e.transitionLeaveTimeout+"ms ease;\n}\n"},s={}},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.enterScale,n=void 0===t?{sx:.1,sy:.1}:t,r=e.leaveScale,c=void 0===r?n:r,u=e.enterTimeout,l=void 0===u?i.a:u,f=e.leaveTimeout,p=void 0===f?i.b:f,d=i.c+"scale",h=Object(o.x)({name:d,enterScale:n,leaveScale:c,enterTimeout:l,leaveTimeout:p});if(!s[h]){var g=s[h]={transitionName:d+h,transitionEnterTimeout:l,transitionLeaveTimeout:p},m=a(g,n,c);Object(o.A)(d+h,m)}return s[h]}t.a=r;var o=n(2),i=n(41),a=function(e,t,n){return"\n."+e.transitionName+"-enter {\n\topacity: 0 !important;\n\ttransform: scale3d("+t.sx+", "+t.sy+", 1);\n}\n."+e.transitionName+"-enter-active {\n\topacity: 1 !important;\n\ttransform: scale3d(1, 1, 1);\n\ttransition: opacity "+e.transitionEnterTimeout+"ms ease, transform "+e.transitionEnterTimeout+"ms ease;\n}\n."+e.transitionName+"-leave {\n\topacity: 1 !important;\n\ttransform: scale3d(1, 1, 1);\n}\n."+e.transitionName+"-leave-active {\n\topacity: 0 !important;\n\ttransform: scale3d("+n.sx+", "+n.sy+", 1);\n\ttransition: opacity "+e.transitionLeaveTimeout+"ms ease, transform "+e.transitionLeaveTimeout+"ms ease;\n}\n"},s={}},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.enterPosition,n=void 0===t?{x:0,y:-30}:t,r=e.leavePosition,c=void 0===r?n:r,u=e.enterTimeout,l=void 0===u?i.a:u,f=e.leaveTimeout,p=void 0===f?i.b:f,d=i.c+"slide",h=Object(o.x)({name:d,enterPosition:n,leavePosition:c,enterTimeout:l,leaveTimeout:p});if(!s[h]){var g=s[h]={transitionName:d+h,transitionEnterTimeout:l,transitionLeaveTimeout:p},m=a(g,n,c);Object(o.A)(d+h,m)}return s[h]}t.a=r;var o=n(2),i=n(41),a=function(e,t,n){return"\n."+e.transitionName+"-enter {\n\topacity: 0 !important;\n\ttransform: translate3d("+t.x+"px, "+t.y+"px, 0);\n}\n."+e.transitionName+"-enter-active {\n\topacity: 1 !important;\n\ttransform: translate3d(0, 0, 0);\n\ttransition: opacity "+e.transitionEnterTimeout+"ms ease, transform "+e.transitionEnterTimeout+"ms ease;\n}\n."+e.transitionName+"-leave {\n\topacity: 1 !important;\n\ttransform: translate3d(0, 0, 0);\n}\n."+e.transitionName+"-leave-active {\n\topacity: 0 !important;\n\ttransform: translate3d("+n.x+"px, "+n.y+"px, 0);\n\ttransition: opacity "+e.transitionLeaveTimeout+"ms ease, transform "+e.transitionLeaveTimeout+"ms ease;\n}\n"},s={}},function(e,t,n){"use strict";function r(e){function t(){for(;l<i&&f<a;)!function(){var t=f++;e[t]().then(function(e){return n(t,e)},function(e){return r(t,e)}),l++}()}function n(e,n){l--,s.push({index:e,result:n}),o(),t()}function r(e,t){c[e].reject(t)}function o(){s.sort(function(e,t){return e.index-t.index});for(var e=p;s[0]&&e===s[0].index;)c[e].resolve(s.shift().result),e++;p=e}var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,a=e.length,s=[],c=[],u=e.map(function(){return new Promise(function(e,t){c.push({resolve:e,reject:t})})}),l=0,f=0,p=0;t();var d=0;return{next:function(){return u[d++]}}}t.a=r},function(e,t,n){"use strict";function r(e,t){if(!o[e]){if(console.error("[DraftMaster] \u5df2\u5f03\u7528\uff1a"+e),t)throw e;o[e]=!0}}t.a=r;var o={}},function(e,t,n){"use strict";function r(e){var t=e.getCurrentContent();if(!t.getFirstBlock()){var n=Object(o.genKey)(),r=new o.ContentBlock({key:n,type:"unstyled",text:""});t=t.set("blockMap",t.getBlockMap().set(n,r));var i=o.SelectionState.createEmpty(n);return o.EditorState.moveSelectionToEnd(o.EditorState.set(e,{currentContent:t,selection:i}))}return e}t.a=r;var o=n(1);n.n(o)},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,i){try{var a=t[o](i),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}return r("next")})}}n.d(t,"a",function(){return a});var o="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},i=[1,.98,.96,.94,.9,.8,.7,.5,.3,.1,.05],a=function(){var e=r(regeneratorRuntime.mark(function e(t){var n,r,o,a,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1048576;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=i.slice(),r="image/png",o=1;case 2:return e.next=5,s(t,r,o);case 5:if(a=e.sent,!(a.size<c)){e.next=9;break}return e.abrupt("return",{type:r,blob:a,quality:o});case 9:if(0!==n.length){e.next=11;break}throw new Error("\u65e0\u6cd5\u538b\u7f29\u56fe\u7247\u5230\u5c11\u4e8e\u6307\u5b9a\u7684\u5927\u5c0f\uff1a"+c);case 11:r="image/jpeg",o=n.shift(),e.next=2;break;case 17:return e.abrupt("return",null);case 18:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),s=function(){var e=r(regeneratorRuntime.mark(function e(t,n,r){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(e,o){t.toBlob(e,n,r)}));case 1:case"end":return e.stop()}},e,this)}));return function(t,n,r){return e.apply(this,arguments)}}();"object"!==("undefined"==typeof window?"undefined":o(window))||HTMLCanvasElement.prototype.toBlob||Object.defineProperty(HTMLCanvasElement.prototype,"toBlob",{value:function(e,t,n){for(var r=atob(this.toDataURL(t,n).split(",")[1]),o=r.length,i=new Uint8Array(o),a=0;a<o;a++)i[a]=r.charCodeAt(a);e(new Blob([i],{type:t||"image/png"}))}})},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(e){return/(\.\w+)$/.test(e)&&RegExp.$1}},function(e,t,n){"use strict";function r(e){var t=e.getBlockMap(),n=Object(i.OrderedMap)(),r=null;return t.forEach(function(e,t){r&&o(e)||(n=n.set(t,e)),r=e}),e.set("blockMap",n)}function o(e){var t=e.getText();return!t||0===t.trim().length}t.a=r;var i=n(3);n.n(i)},function(e,t,n){"use strict";function r(e){var t=function(e,t){if(0===t.indexOf(e))return e;if(0===e.indexOf(t))return t;for(var n=e.length,r=t.length,o=0;o<n&&o<r&&e[o]===t[o];o++);return e.substr(0,Math.max(0,o))};return e.reduce(function(e,n){return t(e,n)})}t.a=r},function(e,t,n){"use strict";function r(e){var t=e.getCurrentContent(),n=e.getSelection().getStartKey(),r=e.getSelection().getStartOffset(),o=t.getBlockForKey(n);try{var i=o.getEntityAt(r);return i?t.getEntity(i):null}catch(e){return null}}t.a=r;var o=n(1);n.n(o)},function(e,t,n){"use strict";function r(e){var t=o.exec(e);return t?t[0]:null}t.a=r;var o=/^(https?:\/\/)(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&\/\/=,]*)/},function(e,t,n){"use strict";function r(e,t){var n=e.getEntityAt(0),r=n?t.getEditorState().getCurrentContent().getEntity(n):null;return{entityKey:n,entityType:r?r.getType().toUpperCase():null,entityData:r?r.getData():null}}t.a=r;var o=n(1);n.n(o)},function(e,t,n){"use strict";function r(e,t){var n=t.getStartKey(),r=t.getEndKey();return e.getBlockMap().keySeq().skipUntil(function(e){return e===n}).takeUntil(function(e){return e===r}).concat([r])}t.a=r},function(e,t,n){"use strict";function r(e){return e=e.split("?").pop(),/\.docx?$/i.test(e)?"word":/\.pptx?$/i.test(e)?"ppt":/\.pdf?$/i.test(e)?"pdf":/\.(zip|rar)?$/i.test(e)?"zip":null}t.a=r},function(e,t,n){"use strict";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){var t=e.getCurrentContent(),n=e.getSelection(),o=n.getStartKey(),i=n.getEndKey();if(o===i)return s.a.OrderedMap(r({},o,t.getBlockMap().get(o)));for(var a=o,c=t.getBlockForKey(a),u=[[a,c]];a!==i&&(c=t.getBlockAfter(a));)a=c.getKey(),u.push([a,c]);return s.a.OrderedMap(u)}t.a=o;var i=n(1),a=(n.n(i),n(3)),s=n.n(a)},function(e,t,n){"use strict";function r(e){var t=e.getCurrentContent(),n=e.getSelection();t.getBlockForKey(n.getStartKey()),t.getBlockForKey(n.getEndKey());return Object(o.t)(e).map(function(e){return e.getText()}).toArray().join("\n")}t.a=r;var o=n(2)},function(e,t,n){"use strict";function r(e){if(e.prototype)throw new RangeError("Can only hash a plain object");return Object(o.y)(JSON.stringify(e))}t.a=r;var o=n(2)},function(e,t,n){"use strict";function r(e){var t=0,n=void 0,r=void 0,o=void 0;if(0===e.length)return t;for(n=0,o=e.length;n<o;n++)r=e.charCodeAt(n),t=(t<<5)-t+r,t|=0;return t}t.a=r},function(e,t,n){"use strict";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,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"after",o=e.getCurrentContent(),s=o.getBlockMap(),c=s.get(t),u=s.takeUntil(function(e,n){return n===t}),l=s.skipUntil(function(e,n){return n===t}).rest(),f=new i.ContentBlock({key:Object(i.genKey)(),type:"unstyled",text:""}),p="before"===n?u.concat(Object(a.OrderedMap)(r({},f.getKey(),f)),Object(a.OrderedMap)(r({},c.getKey(),c)),l).toOrderedMap():u.concat(Object(a.OrderedMap)(r({},c.getKey(),c)),Object(a.OrderedMap)(r({},f.getKey(),f)),l).toOrderedMap(),d=o.set("blockMap",p),h=i.SelectionState.createEmpty(f.getKey()),g=i.EditorState.push(e,d,"insert-fragment");return i.EditorState.forceSelection(g,h)}t.a=o;var i=n(1),a=(n.n(i),n(3));n.n(a)},function(e,t,n){"use strict";function r(e,t){if("undefined"!=typeof document){var n=document.getElementById(o+e);return n||(n=document.createElement("style"),n.id=o+e,document.querySelector("head").appendChild(n)),n.textContent!=t&&(n.textContent=t),n}}t.a=r;var o="dynamic-inserted-css-"},function(e,t,n){"use strict";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,t,n){var o=e.getEditorState(),c=o.getCurrentContent(),u=Object(a.k)(Object(s.a)(n)),l=u.getBlockMap();1===l.size&&(l=l.merge(r({},genKey(),convertFromRaw({blocks:[{type:"unstyled",text:""}],entityMap:{}}).getFirstBlock())));var f=i.Modifier.replaceWithFragment(c,t,l);e.setEditorState(i.EditorState.push(o,f,"insert-fragment"))}t.a=o;var i=n(1),a=(n.n(i),n(2)),s=n(66)},function(e,t,n){"use strict";function r(e,t){var n={},r=!0,o=!1,i=void 0;try{for(var a,s=Object.entries(t)[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var c=a.value,u=y(c,2),l=u[0],f=u[1];n[l]=e[l],e[l]=f}}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return function(){var r=!0,o=!1,i=void 0;try{for(var a,s=Object.entries(t)[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var c=a.value,u=y(c,2),l=u[0];u[1];e[l]=n[l]}}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}}}n.d(t,"a",function(){return k});var o=n(1),i=(n.n(o),n(14)),a=n.n(i),s=n(3),c=(n.n(s),n(288)),u=n(304),l=n(305),f=n(306),p=n(307),d=n(308),h=n(309),g=n(310),m=n(311),y=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),v="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},b=function(e,t){return e?e(t):t},w=function(e){return Object(c.a)({htmlToStyle:b(e.htmlToStyle,function(e,t,n,r){return"code-block"===r?Object(s.OrderedSet)():"strong"===e||"b"===e?n.add("BOLD"):"code"===e&&t.classList.contains("hljs")?n.remove("CODE"):n}),htmlToBlock:b(e.htmlToBlock,function(e,t,n,r){return"table"===r?null:Object(u.a)(e,t)||Object(l.a)(e,t)||Object(g.a)(e,t)||Object(f.a)(e,t)||Object(p.a)(e,t)}),htmlToEntity:b(e.htmlToEntity,function(e,t,n){return Object(m.a)(e,t,n)||Object(d.a)(e,t,n)||Object(h.a)(e,t,n)}),textToEntity:function(e,t){return[]}})},k=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("object"===("undefined"==typeof window?"undefined":v(window))&&window.document)return w(t)(e);var n=t.node;a()("object"===(void 0===n?"undefined":v(n))&&"object"===v(n.global)&&"function"==typeof n.require,"\u5728 Node \u73af\u5883\u8f6c\u6362 HTML \u5185\u5bb9\u5230\u5176\u5b83\u683c\u5f0f\uff0c\u8bf7\u4f20\u5165 options.node = { global, require }");var o=n.global,i=n.require,s=void 0;try{s=i("jsdom")}catch(e){console.log(e)}if(!s)throw new Error("\u8981\u8f6c\u6362 HTML \u5185\u5bb9\u5230\u5176\u5b83\u683c\u5f0f\uff0c\u8bf7\u5b89\u88c5 jsdom \u6a21\u5757");var c=s,u=c.JSDOM,l=new u(e),f=l.window,p=f.document,d=f.HTMLElement,h=r(o,{document:p,HTMLElement:d}),g=w(t)(e,void 0,function(){return p.body});return h(),g}},function(e,t,n){"use strict";var r=(n(289),n(303));n(111);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";var r=n(14),o=(n.n(r),n(0)),i=(n.n(o),n(33)),a=(n.n(i),n(1));n.n(a),n(293),n(294),n(296),n(110),n(299),n(300),n(301),n(302)},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);throw t=Error(n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."),t.name="Invariant Violation",t.framesToPop=1,t}function o(e,t){return(e&t)===t}function i(e,t){if(x.hasOwnProperty(e)||2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1]))return!1;if(null===t)return!0;switch(typeof t){case"boolean":return s(e);case"undefined":case"number":case"string":case"object":return!0;default:return!1}}function a(e){return C.hasOwnProperty(e)?C[e]:null}function s(e){if(x.hasOwnProperty(e))return!0;var t=a(e);return t?t.hasBooleanValue||t.hasStringBooleanValue||t.hasOverloadedBooleanValue:"data-"===(e=e.toLowerCase().slice(0,5))||"aria-"===e}function c(e){return e[1].toUpperCase()}function u(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=F.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#x27;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}o!==n&&(r+=e.substring(o,n)),o=n+1,r+=t}e=o!==n?r+e.substring(o,n):r}return e}function l(e){return!!U.hasOwnProperty(e)||!q.hasOwnProperty(e)&&(K.test(e)?U[e]=!0:(q[e]=!0,!1))}function f(e,t){var n=a(e);if(n){if(null==t||n.hasBooleanValue&&!t||n.hasNumericValue&&isNaN(t)||n.hasPositiveNumericValue&&1>t||n.hasOverloadedBooleanValue&&!1===t)return"";var r=n.attributeName;if(n.hasBooleanValue||n.hasOverloadedBooleanValue&&!0===t)return r+'=""';if("boolean"!=typeof t||s(e))return r+'="'+u(t)+'"'}else if(i(e,t))return null==t?"":e+'="'+u(t)+'"';return null}function p(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function d(e){return"string"==typeof e?e:"function"==typeof e?e.displayName||e.name:null}function h(e){var t="";return b.Children.forEach(e,function(e){null==e||"string"!=typeof e&&"number"!=typeof e||(t+=e)}),t}function g(e,t){if(e=e.contextTypes){var n,r={};for(n in e)r[n]=t[n];t=r}else t=k;return t}function m(e,t){void 0===e&&r("152",d(t)||"Component")}function y(e,t){for(;b.isValidElement(e);){var n=e,o=n.type;if("function"!=typeof o)break;e=g(o,t);var i=[],a=!1,s={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===i)return null},enqueueReplaceState:function(e,t){a=!0,i=[t]},enqueueSetState:function(e,t){if(null===i)return null;i.push(t)}};if(o.prototype&&o.prototype.isReactComponent)var c=new o(n.props,e,s);else if(null==(c=o(n.props,e,s))||null==c.render){e=c,m(e,o);continue}if(c.props=n.props,c.context=e,c.updater=s,s=c.state,void 0===s&&(c.state=s=null),c.componentWillMount)if(c.componentWillMount(),i.length){s=i;var u=a;if(i=null,a=!1,u&&1===s.length)c.state=s[0];else{var l=u?s[0]:c.state,f=!0;for(u=u?1:0;u<s.length;u++){var p=s[u];(p="function"==typeof p?p.call(c,l,n.props,e):p)&&(f?(f=!1,l=v({},l,p)):v(l,p))}c.state=l}}else i=null;if(e=c.render(),m(e,o),"function"==typeof c.getChildContext){n=o.childContextTypes,"object"!=typeof n&&r("107",d(o)||"Unknown");var h=c.getChildContext();for(var y in h)y in n||r("108",d(o)||"Unknown",y)}h&&(t=v({},t,h))}return{child:e,context:t}}var v=n(19),b=n(0),w=n(28),k=n(291),S=n(292),E=n(85),x={children:!0,dangerouslySetInnerHTML:!0,defaultValue:!0,defaultChecked:!0,innerHTML:!0,suppressContentEditableWarning:!0,suppressHydrationWarning:!0,style:!0},_={MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,HAS_STRING_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(e){var t=_,n=e.Properties||{},i=e.DOMAttributeNamespaces||{},a=e.DOMAttributeNames||{};e=e.DOMMutationMethods||{};for(var s in n){C.hasOwnProperty(s)&&r("48",s);var c=s.toLowerCase(),u=n[s];c={attributeName:c,attributeNamespace:null,propertyName:s,mutationMethod:null,mustUseProperty:o(u,t.MUST_USE_PROPERTY),hasBooleanValue:o(u,t.HAS_BOOLEAN_VALUE),hasNumericValue:o(u,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:o(u,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:o(u,t.HAS_OVERLOADED_BOOLEAN_VALUE),hasStringBooleanValue:o(u,t.HAS_STRING_BOOLEAN_VALUE)},1>=c.hasBooleanValue+c.hasNumericValue+c.hasOverloadedBooleanValue||r("50",s),a.hasOwnProperty(s)&&(c.attributeName=a[s]),i.hasOwnProperty(s)&&(c.attributeNamespace=i[s]),e.hasOwnProperty(s)&&(c.mutationMethod=e[s]),C[s]=c}}},C={},O=_,T=O.MUST_USE_PROPERTY,A=O.HAS_BOOLEAN_VALUE,P=O.HAS_NUMERIC_VALUE,L=O.HAS_POSITIVE_NUMERIC_VALUE,R=O.HAS_OVERLOADED_BOOLEAN_VALUE,D=O.HAS_STRING_BOOLEAN_VALUE,I={Properties:{allowFullScreen:A,async:A,autoFocus:A,autoPlay:A,capture:R,checked:T|A,cols:L,contentEditable:D,controls:A,default:A,defer:A,disabled:A,download:R,draggable:D,formNoValidate:A,hidden:A,loop:A,multiple:T|A,muted:T|A,noValidate:A,open:A,playsInline:A,readOnly:A,required:A,reversed:A,rows:L,rowSpan:P,scoped:A,seamless:A,selected:T|A,size:L,start:P,span:L,spellCheck:D,style:0,tabIndex:0,itemScope:A,acceptCharset:0,className:0,htmlFor:0,httpEquiv:0,value:D},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMMutationMethods:{value:function(e,t){if(null==t)return e.removeAttribute("value");"number"!==e.type||!1===e.hasAttribute("value")?e.setAttribute("value",""+t):e.validity&&!e.validity.badInput&&e.ownerDocument.activeElement!==e&&e.setAttribute("value",""+t)}}},M=O.HAS_STRING_BOOLEAN_VALUE,j={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},N={Properties:{autoReverse:M,externalResourcesRequired:M,preserveAlpha:M},DOMAttributeNames:{autoReverse:"autoReverse",externalResourcesRequired:"externalResourcesRequired",preserveAlpha:"preserveAlpha"},DOMAttributeNamespaces:{xlinkActuate:j.xlink,xlinkArcrole:j.xlink,xlinkHref:j.xlink,xlinkRole:j.xlink,xlinkShow:j.xlink,xlinkTitle:j.xlink,xlinkType:j.xlink,xmlBase:j.xml,xmlLang:j.xml,xmlSpace:j.xml}},B=/[\-\:]([a-z])/g;"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode x-height xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type xml:base xmlns:xlink xml:lang xml:space".split(" ").forEach(function(e){var t=e.replace(B,c);N.Properties[t]=0,N.DOMAttributeNames[t]=e}),O.injectDOMPropertyConfig(I),O.injectDOMPropertyConfig(N);var F=/["'&<>]/,K=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,q={},U={},z={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"},H={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},V=v({menuitem:!0},H),W={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},G=["Webkit","ms","Moz","O"];Object.keys(W).forEach(function(e){G.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),W[t]=W[e]})});var $="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.fragment")||60107,X=b.Children.toArray,Y=w.thatReturns(""),Z={listing:!0,pre:!0,textarea:!0},J=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Q={},ee=E(function(e){return S(e)}),te={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null},ne=function(){function e(t,n){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");b.isValidElement(t)?t.type!==$?t=[t]:(t=t.props.children,t=b.isValidElement(t)?[t]:X(t)):t=X(t),this.stack=[{domNamespace:z.html,children:t,childIndex:0,context:k,footer:""}],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=n}return e.prototype.read=function(e){if(this.exhausted)return null;for(var t="";t.length<e;){if(0===this.stack.length){this.exhausted=!0;break}var n=this.stack[this.stack.length-1];if(n.childIndex>=n.children.length){var r=n.footer;t+=r,""!==r&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===n.tag&&(this.currentSelectValue=null)}else r=n.children[n.childIndex++],t+=this.render(r,n.context,n.domNamespace)}return t},e.prototype.render=function(e,t,n){return"string"==typeof e||"number"==typeof e?""===(n=""+e)?"":this.makeStaticMarkup?u(n):this.previousWasTextNode?"\x3c!-- --\x3e"+u(n):(this.previousWasTextNode=!0,u(n)):(t=y(e,t),e=t.child,t=t.context,null===e||!1===e?"":b.isValidElement(e)?e.type===$?(e=X(e.props.children),this.stack.push({domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""):this.renderDOM(e,t,n):(e=X(e),this.stack.push({domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""))},e.prototype.renderDOM=function(e,t,n){var o=e.type.toLowerCase();n===z.html&&p(o),Q.hasOwnProperty(o)||(J.test(o)||r("65",o),Q[o]=!0);var i=e.props;if("input"===o)i=v({type:void 0},i,{defaultChecked:void 0,defaultValue:void 0,value:null!=i.value?i.value:i.defaultValue,checked:null!=i.checked?i.checked:i.defaultChecked});else if("textarea"===o){var a=i.value;if(null==a){a=i.defaultValue;var s=i.children;null!=s&&(null!=a&&r("92"),Array.isArray(s)&&(1>=s.length||r("93"),s=s[0]),a=""+s),null==a&&(a="")}i=v({},i,{value:void 0,children:""+a})}else if("select"===o)this.currentSelectValue=null!=i.value?i.value:i.defaultValue,i=v({},i,{value:void 0});else if("option"===o){s=this.currentSelectValue;var c=h(i.children);if(null!=s){var d=null!=i.value?i.value+"":c;if(a=!1,Array.isArray(s)){for(var g=0;g<s.length;g++)if(""+s[g]===d){a=!0;break}}else a=""+s===d;i=v({selected:void 0,children:void 0},i,{selected:a,children:c})}}(a=i)&&(V[o]&&(null!=a.children||null!=a.dangerouslySetInnerHTML)&&r("137",o,Y()),null!=a.dangerouslySetInnerHTML&&(null!=a.children&&r("60"),"object"==typeof a.dangerouslySetInnerHTML&&"__html"in a.dangerouslySetInnerHTML||r("61")),null!=a.style&&"object"!=typeof a.style&&r("62",Y())),a=i,s=this.makeStaticMarkup,c=1===this.stack.length,d="<"+e.type;for(S in a)if(a.hasOwnProperty(S)){var m=a[S];if(null!=m){if("style"===S){g=void 0;var y="",b="";for(g in m)if(m.hasOwnProperty(g)){var w=0===g.indexOf("--"),k=m[g];null!=k&&(y+=b+ee(g)+":",b=g,w=null==k||"boolean"==typeof k||""===k?"":w||"number"!=typeof k||0===k||W.hasOwnProperty(b)&&W[b]?(""+k).trim():k+"px",y+=w,b=";")}m=y||null}g=null;e:if(w=o,k=a,-1===w.indexOf("-"))w="string"==typeof k.is;else switch(w){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":w=!1;break e;default:w=!0}w?te.hasOwnProperty(S)||(g=S,g=l(g)&&null!=m?g+'="'+u(m)+'"':""):g=f(S,m),g&&(d+=" "+g)}}s||c&&(d+=' data-reactroot=""');var S=d;a="",H.hasOwnProperty(o)?S+="/>":(S+=">",a="</"+e.type+">");e:{if(null!=(s=i.dangerouslySetInnerHTML)){if(null!=s.__html){s=s.__html;break e}}else if("string"==typeof(s=i.children)||"number"==typeof s){s=u(s);break e}s=null}return null!=s?(i=[],Z[o]&&"\n"===s.charAt(0)&&(S+="\n"),S+=s):i=X(i.children),e=e.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?p(e):"http://www.w3.org/2000/svg"===n&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,tag:o,children:i,childIndex:0,context:t,footer:a}),this.previousWasTextNode=!1,S},e}(),re={renderToString:function(e){return new ne(e,!1).read(1/0)},renderToStaticMarkup:function(e){return new ne(e,!0).read(1/0)},renderToNodeStream:function(){r("207")},renderToStaticNodeStream:function(){r("208")},version:"16.1.1"},oe=Object.freeze({default:re}),ie=oe&&re||oe;e.exports=ie.default?ie.default:ie},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";function r(e){return o(e).replace(i,"-ms-")}var o=n(88),i=/^ms-/;e.exports=r},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var o=n(108),i=n(42),a={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","\n":"<br/>"};t.a=function(e){for(var t=[].concat(r(e.text)),n=e.entityRanges.sort(i.a),s=e.inlineStyleRanges.sort(i.a),c="",u=0;u<t.length;u++)!function(e){var r=t[e];if(void 0!==a[r]){var i=a[r],u=c.length;c+=i;var l=function(e){return Object(o.a)(e,u,r.length,i.length,0,0)};n=n.map(l),s=s.map(l)}else c+=r}(u);return Object.assign({},e,{text:c,inlineStyleRanges:s,entityRanges:n})}},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var o=n(108),i=n(42),a=n(109),s=n(295),c=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];return arguments[1]};t.a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c,u=[].concat(r(e.text)),l=n;if(n.__isMiddleware&&(l=n(c)),Object.prototype.hasOwnProperty.call(e,"entityRanges")&&e.entityRanges.length>0){for(var f=e.entityRanges.sort(i.a),p=e.inlineStyleRanges,d=0;d<f.length;d++)!function(e){var n=f[e],i=t[n.key],c=u.slice(n.offset,n.offset+n.length).join(""),d=l(i,c),h=[].concat(r(Object(a.a)(d,c)||c)),g=Object(s.a)(d,"start"),m=Object(s.a)(d,"end"),y=function(t,r){return r>e||Object.prototype.hasOwnProperty.call(t,"style")?Object(o.a)(t,n.offset,n.length,h.length,g,m):t},v=function(e){return e.reduce(function(e,t,n){var r=y(t,n);return Array.isArray(r)?e.concat(r):e.concat([r])},[])};f=v(f),p=v(p),u=[].concat(r(u.slice(0,n.offset)),r(h),r(u.slice(n.offset+n.length)))}(d);return Object.assign({},e,{text:u.join(""),inlineStyleRanges:p,entityRanges:f})}return e}},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(43),a="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},s=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(o.a.isValidElement(t)){var r=Object(i.a)(t)[n].length,s=o.a.Children.toArray(t.props.children)[0];return r+(s&&o.a.isValidElement(s)?e(s,n):0)}return"object"===(void 0===t?"undefined":a(t))&&t[n]?t[n].length:0};t.a=s},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var o=n(14),i=n.n(o),a=n(297),s=n(110),c=n(109),u=n(42),l=n(298),f=function(e,t){return e.filter(function(e){return!t.some(function(t){return t.style===e.style})})},p=function(e,t){return t.reduceRight(function(e,t){var n=e[e.length-1];return i()(n.style===t.style,"Style "+n.style+" to be removed doesn't match expected "+t.style),e.slice(0,-1)},e)},d=function(e,t){return t.filter(function(t){return e>=t.offset&&e<t.offset+t.length})},h=function(e,t){var n=e.offset<=t.offset,r=e.offset+e.length>=t.offset+t.length;return n&&r},g=function(e,t){return t.offset+t.length-(e.offset+e.length)},m=function(e,t){for(var n=0;n<e.length;){if(!t.every(h.bind(null,e[n])))return e.slice(n);n++}return[]},y=function(e,t,n){return t+Object(c.a)(e(n.style)).start},v=function(e,t,n){return Object(c.a)(e(n.style)).end+t},b=function(e){return function(t){return e(t)}};b.__isMiddleware=!0,t.a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b;i()(null!==e&&void 0!==e,"Expected raw block to be non-null");var n=void 0;n=!0===t.__isMiddleware?t(l.a):Object(s.a)(Object(a.a)(t),Object(a.a)(l.a));for(var o="",h=[],w=e.inlineStyleRanges.sort(u.a),k=[].concat(r(e.text)),S=0;S<k.length;S++){var E=d(S,w),x=f(h,E),_=f(E,h),C=f(h,x),O=m(C,_),T=O.concat(_).sort(g),A=T.reduce(y.bind(null,n),"");o+=x.concat(O).reduce(v.bind(null,n),"")+A+k[S],h=p(h,O.concat(x)),h=h.concat(T),i()(h.length===E.length,"Character "+S+": "+(h.length-E.length)+" styles left on stack that should no longer be there")}return o=h.reduceRight(function(e,t){return e+Object(c.a)(n(t.style)).end},o)}},function(e,t,n){"use strict";t.a=function(e){return function(t){return"function"==typeof e?e(t):e[t]}}},function(e,t,n){"use strict";function r(e){switch(e){case"BOLD":return i.a.createElement("strong",null);case"ITALIC":return i.a.createElement("em",null);case"UNDERLINE":return i.a.createElement("u",null);case"CODE":return i.a.createElement("code",null);default:return{start:"",end:""}}}t.a=r;var o=n(0),i=n.n(o)},function(e,t,n){"use strict";t.a=function(e){return function(t){return"function"==typeof e?e(t):e[t.type]}}},function(e,t,n){"use strict";function r(e){return c.a.isValidElement(e)&&c.a.Children.count(e.props.children)>0}function o(e){return a()(null!==e&&void 0!==e,"Expected block HTML value to be non-null"),"string"==typeof e?e:c.a.isValidElement(e)?r(e)?l.a.renderToStaticMarkup(e):Object(f.a)(e):Object.prototype.hasOwnProperty.call(e,"element")&&c.a.isValidElement(e.element)?Object.assign({},e,Object(f.a)(e.element)):(a()(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),e)}t.a=o;var i=n(14),a=n.n(i),s=n(0),c=n.n(s),u=n(33),l=n.n(u),f=n(43)},function(e,t,n){"use strict";function r(e){if(i()(null!==e&&void 0!==e,"Expected block HTML value to be non-null"),s.a.isValidElement(e.nest)){var t=Object(c.a)(e.nest),n=t.start,r=t.end;return Object.assign({},e,{nestStart:n,nestEnd:r})}return i()(Object.prototype.hasOwnProperty.call(e,"nestStart")&&Object.prototype.hasOwnProperty.call(e,"nestEnd"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),e}t.a=r;var o=n(14),i=n.n(o),a=n(0),s=n.n(a),c=n(43)},function(e,t,n){"use strict";var r=n(0),o=n.n(r);t.a={unstyled:o.a.createElement("p",null),paragraph:o.a.createElement("p",null),"header-one":o.a.createElement("h1",null),"header-two":o.a.createElement("h2",null),"header-three":o.a.createElement("h3",null),"header-four":o.a.createElement("h4",null),"header-five":o.a.createElement("h5",null),"header-six":o.a.createElement("h6",null),blockquote:o.a.createElement("blockquote",null),"unordered-list-item":{element:o.a.createElement("li",null),nest:o.a.createElement("ul",null)},"ordered-list-item":{element:o.a.createElement("li",null),nest:o.a.createElement("ol",null)},media:o.a.createElement("figure",null)}},function(e,t,n){"use strict";function r(){return{text:"",inlines:[],entities:[],blocks:[]}}function o(e){var t=new Array(1);return e&&(t[0]=e),{text:w,inlines:[Object(m.OrderedSet)()],entities:t,blocks:[]}}function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Object(m.Map)();return!0===n?{text:"\r",inlines:[Object(m.OrderedSet)()],entities:new Array(1),blocks:[{type:e,data:r,depth:Math.max(0,Math.min(k,t))}],isNewline:!0}:{text:"\n",inlines:[Object(m.OrderedSet)()],entities:new Array(1),blocks:[]}}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Object(m.Map)();return{text:"\r",inlines:[Object(m.OrderedSet)()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(k,t))}]}}function s(e,t){switch(e){case"h1":return"header-one";case"h2":return"header-two";case"h3":return"header-three";case"h4":return"header-four";case"h5":return"header-five";case"h6":return"header-six";case"li":return"ol"===t?"ordered-list-item":"unordered-list-item";case"blockquote":return"blockquote";case"pre":return"code-block";case"div":case"p":case"section":case"article":return"unstyled";default:return null}}function c(e,t,n){return s(e,n)}function u(e,t,n){var r=O[e];if(r)n=n.add(r).toOrderedSet();else if(t instanceof HTMLElement){var o=t;n=n.withMutations(function(e){"bold"===o.style.fontWeight&&e.add("BOLD"),"italic"===o.style.fontStyle&&e.add("ITALIC"),"underline"===o.style.textDecoration&&e.add("UNDERLINE"),"line-through"===o.style.textDecoration&&e.add("STRIKETHROUGH")}).toOrderedSet()}return n}function l(e,t){return u(e,t,Object(m.OrderedSet)())}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.text.slice(0,1),o=e.text.slice(-1),i="\r"===o&&"\r"===r,a="\r"!==e.text&&"\r"!==t.text,s="\r"===e.text&&!e.isNewline&&t.isNewline;if(i&&(a||s)&&(e.text=e.text.slice(0,-1),e.inlines.pop(),e.entities.pop(),e.blocks.pop()),"\r"===e.text.slice(-1)&&!0===n){if(t.text===w||"\n"===t.text)return e;r!==w&&"\n"!==r||(t.text=t.text.slice(1),t.inlines.shift(),t.entities.shift())}var c=0===e.text.length&&t.isNewline;return{text:e.text+t.text,inlines:e.inlines.concat(t.inlines),entities:e.entities.concat(t.entities),blocks:e.blocks.concat(t.blocks),isNewline:c}}function p(e){return C.some(function(t){return-1!==e.indexOf("<"+t)})}function d(e,t,n,c,l,p,h,g,y,v,k,S,x,_,C,O){var T=e.nodeName.toLowerCase(),A=!1,P="unstyled";if("#text"===T){var L=e.textContent;if(""===L.trim()&&null===c)return r();if(""===L.trim()&&"code-block"!==c)return o(O);"code-block"!==c&&(L=L.replace(E,w));var R=Array(L.length).fill(O),D=0;return y(L,k,S,x,_).sort(b.a).forEach(function(e){var t=e.entity,n=e.offset,r=e.length,o=e.result,i=n+D;null!==o&&void 0!==o||(o=L.substr(i,r));var a=L.split("");a.splice.bind(a,i,r).apply(a,o.split("")),L=a.join(""),R.splice.bind(R,i,r).apply(R,Array(o.length).fill(t)),D+=o.length-r}),{text:L,inlines:Array(L.length).fill(t),entities:R,blocks:[]}}if("br"===T){var I=c;return null===I?i("unstyled",p,!0):i(I||"unstyled",p,C.flat)}var M=r(),j=null;t=u(T,e,t),t=h(T,e,t,c),"ul"!==T&&"ol"!==T||(n&&(p+=1),n=T,c=null);var N=v(T,e,n,c),B=void 0,F=void 0;if(!1===N)return r();if(N=N||{},"string"==typeof N?(B=N,F=Object(m.Map)()):(B="string"==typeof N?N:N.type,F=N.data?Object(m.Map)(N.data):Object(m.Map)()),c&&"unstyled"!==c||-1===l.indexOf(T)&&!B)if(!n||"ordered-list-item"!==c&&"unordered-list-item"!==c||"li"!==T)c&&"atomic"!==c&&"atomic"===B&&(c=B,A=!0,M=i(B,p,!0,F));else{var K=s(T,n);M=a(K,p),c=K,A=!0,P="ul"===n?"unordered-list-item":"ordered-list-item"}else M=a(B||s(T,n),p,F),c=B||s(T,n),A=!0;var q=e.firstChild;null!=q||!O||"atomic"!==B&&"atomic"!==c||(q=document.createTextNode("hr"===e.tagName.toLowerCase()?"----":"\ud83d\udcf7")),null!=q&&(T=q.nodeName.toLowerCase());for(var U=null;q;){U=g(T,q,k,S,x,_),j=d(q,t,n,c,l,p,h,g,y,v,k,S,x,_,C,U||O),M=f(M,j,C.flat);var z=q.nextSibling;if(z&&l.indexOf(T)>=0&&c){var H=v(T,q,n,c),V=void 0,W=void 0;!1!==H&&(H=H||{},"string"==typeof H?(V=H,W=Object(m.Map)()):(V=H.type||s(T,n),W=H.data?Object(m.Map)(H.data):Object(m.Map)()),M=f(M,i(V,p,C.flat,W),C.flat))}z&&(T=z.nodeName.toLowerCase()),q=z}return A&&(M=f(M,a(P,p,Object(m.Map)()),C.flat)),M}function h(e,t,n,r,o,i,a,s,c,u,l){e=e.trim().replace(S,"").replace(x,w);var f=l(e);if(!f)return null;var h=p(e)?C.concat(["div"]):["div"],g=d(f,Object(m.OrderedSet)(),"ul",null,h,-1,t,n,r,o,i,a,s,c,u);return 0===g.text.indexOf("\r")&&(g={text:g.text.slice(1),inlines:g.inlines.slice(1),entities:g.entities.slice(1),blocks:g.blocks}),"\r"===g.text.slice(-1)&&(g.text=g.text.slice(0,-1),g.inlines=g.inlines.slice(0,-1),g.entities=g.entities.slice(0,-1),g.blocks.pop()),0===g.blocks.length&&g.blocks.push({type:"unstyled",data:Object(m.Map)(),depth:0}),g.text.split("\r").length===g.blocks.length+1&&g.blocks.unshift({type:"unstyled",data:Object(m.Map)(),depth:0}),g}function g(e,t,n,r,o,i,a,s,c,u,l){var f=h(e,t,n,r,o,i,a,s,c,u,l);if(null==f)return[];var p=0;return f.text.split("\r").map(function(e,t){e=I(e);var n=p+e.length,r=D(f).inlines.slice(p,n),o=D(f).entities.slice(p,n),i=Object(m.List)(r.map(function(e,t){var n={style:e,entity:null};return o[t]&&(n.entity=o[t]),y.CharacterMetadata.create(n)}));return p=n+1,new y.ContentBlock({key:Object(y.genKey)(),type:D(f).blocks[t].type,data:D(f).blocks[t].data,depth:D(f).blocks[t].depth,text:e,characterList:i})})}var m=n(3),y=(n.n(m),n(1)),v=(n.n(y),n(111)),b=n(42),w=" ",k=4,S=new RegExp("\r","g"),E=new RegExp("\n","g"),x=new RegExp("&nbsp;","g"),_=new RegExp("\r","g"),C=["p","article","section","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],O={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},T=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},A=function(e,t,n){},P=function(e,t,n){return n},L=function(e,t){},R=function(e){return[]},D=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},I=function(e){return e.replace(_,"")},M=function(e){var t=e.htmlToStyle,n=void 0===t?P:t,r=e.htmlToEntity,o=void 0===r?L:r,i=e.textToEntity,a=void 0===i?R:i,s=e.htmlToBlock,u=void 0===s?A:s;return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{flat:!1},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v.a,i=y.ContentState.createFromText(""),s=function(){if(i.createEntity){var e;return i=(e=i).createEntity.apply(e,arguments),i.getLastCreatedEntityKey()}return y.Entity.create.apply(y.Entity,arguments)},f=function(){if(i.getEntity){var e;return(e=i).getEntity.apply(e,arguments)}return y.Entity.get.apply(y.Entity,arguments)},p=function(){if(i.mergeEntityData){var e;return void(i=(e=i).mergeEntityData.apply(e,arguments))}y.Entity.mergeData.apply(y.Entity,arguments)},d=function(){if(i.replaceEntityData){var e;return void(i=(e=i).replaceEntityData.apply(e,arguments))}y.Entity.replaceData.apply(y.Entity,arguments)},h=g(e,T(n,l),T(o,L),T(a,R),T(u,c),s,f,p,d,t,r),m=y.BlockMapBuilder.createFromArray(h);return i.set("blockMap",m)}};t.a=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?M({}).apply(void 0,arguments):M.apply(void 0,arguments)}},function(e,t,n){"use strict";function r(e,t){if("blockquote"===e||"lead_words"===t.className)return{type:"blockquote"}}t.a=r},function(e,t,n){"use strict";function r(e,t){if("pre"===e){var n=void 0,r=void 0;if("pre"===e&&t.classList.contains("prettyprint")&&t.querySelector(".hljs")){var o=t.querySelector(".pre-numbering");o&&o.remove();var i=t.querySelector(".hljs");n=i.textContent,r=/hljs\s(\w+)\s/.test(i.className)&&RegExp.$1}else{var a=Array.from(t.querySelectorAll("br")),s=!0,c=!1,u=void 0;try{for(var l,f=a[Symbol.iterator]();!(s=(l=f.next()).done);s=!0){var p=l.value;p.parentElement.replaceChild(document.createTextNode("\n"),p)}}catch(e){c=!0,u=e}finally{try{!s&&f.return&&f.return()}finally{if(c)throw u}}n=t.textContent,r="javascript"}for(var d=function(e){for(;e.length&&!/\S/.test(e[0]);)e.shift();for(;e.length&&!/\S/.test(e[e.length-1]);)e.pop();return e}(n.split(/\r?\n/g)).join("\n");t.firstChild;)t.removeChild(t.firstChild);return t.appendChild(document.createTextNode(d)),{type:"code-block",data:{syntax:r||"javascript"}}}}t.a=r},function(e,t,n){"use strict";function r(e,t){if("img"===e)return{type:"atomic",text:"[\u56fe\u7247]"}}t.a=r},function(e,t,n){"use strict";function r(e){return Array.isArray(e)?e:Array.from(e)}function o(e,t){if("table"===e||t.firstElementChild&&"table"===t.firstElementChild.tagName.toLowerCase()){t.firstElementChild&&"table"===t.firstElementChild.tagName.toLowerCase()&&(t=t.firstElementChild);var n=[].slice.call(t.querySelectorAll("tr")),o=r(n),a=o[0];o.slice(1);if(a){for(var s=[].slice.call(a.querySelectorAll("td, th")),c=(s.length,s.map(function(e){return{key:Object(i.genKey)(),align:/align-(\w+)/.test(e.className)?RegExp.$1:"left"}})),u=n.map(function(e,t){var n=[].slice.call(e.querySelectorAll("td, th"),0);return{key:Object(i.genKey)(),cells:n.map(function(e){var n={key:Object(i.genKey)(),raw:{blocks:[{key:Object(i.genKey)(),type:"unstyled",text:String(e.textContent).trim(),inlineStyleRanges:[],entityRanges:[]}],entityMap:{}}};return e.rowSpan>1&&t>0&&(n.rowspan=e.rowSpan,n.colspan=1),e.colSpan>1&&(n.rowspan=n.rowspan||1,n.colspan=e.colSpan),n})}}),l=function(e,t,n){for(var r=[];n--;)r.push({key:Object(i.genKey)(),raw:null});if(u[e]){var o;(o=u[e].cells).splice.apply(o,[t,0].concat(r))}},f=0;f<u.length;f++)for(var p=u[f],d=0,h=void 0;h=p.cells[d];){if(h.colspan>1&&l(f,d+1,h.colspan-1),h.rowspan>1)for(var g=1;g<h.rowspan;g++)l(f+g,d,h.colspan||1);++d}return{type:"table",text:"[\u8868\u683c]",data:{aligns:c,rows:u},inlineStyleRanges:[],entityRanges:[]}}}}t.a=o;var i=n(1);n.n(i)},function(e,t,n){"use strict";function r(e,t,n){if("img"===e)return n("IMAGE","IMMUTABLE",{imageUrl:t.src,imageAlt:t.alt})}t.a=r},function(e,t,n){"use strict";function r(e,t,n){if("a"===e)return n("LINK","MUTABLE",{url:t.href})}t.a=r},function(e,t,n){"use strict";function r(e,t){if("hr"===e)return{type:"atomic",text:"----"}}t.a=r},function(e,t,n){"use strict";function r(e,t,n){if("hr"===e)return n("HR","IMMUTABLE",{})}t.a=r},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,i){try{var a=t[o](i),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}return r("next")})}}function o(e){var t=e.name,n=e.data,r=e.getEditorState,o=e.setEditorState,a=r(),s=a.getCurrentContent(),c=s.createEntity("IMAGE","IMMUTABLE",n),u=c.getLastCreatedEntityKey(),l=i.EditorState.set(a,{currentContent:c});return o(i.AtomicBlockUtils.insertAtomicBlock(l,u,t)),u}n.d(t,"a",function(){return u});var i=n(1),a=(n.n(i),n(2)),s=n(67),c={},u=function(){var e=r(regeneratorRuntime.mark(function e(t){var n,r,i,u,l,f,p,d,h,g,m,y,v=t.file,b=t.store,w=t.uploadImage,k=t.imageSizeLimit;t.zipImage;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=b.getEditorState,r=b.setEditorState,e.next=3,Object(a.w)(v);case 3:return i=e.sent,e.next=6,Object(a.K)(v);case 6:if(u=e.sent,l=v.name,!c[i]){e.next=11;break}return o({name:l,data:c[i],getEditorState:n,setEditorState:r}),e.abrupt("return");case 11:if(f=URL.createObjectURL(v),p=null,/^image\//.test(v.type)||(p="\u4e0d\u6b63\u786e\u7684\u56fe\u7247\u7c7b\u578b\uff1a"+v.type),v.size>k&&(d=(k/1024/1024).toPrecision(2),h=(v.size/1024/1024).toPrecision(3),p="\u4ec5\u652f\u6301\u4e0d\u8d85\u8fc7 "+d+"M \u7684\u56fe\u7247, \u8be5\u56fe\u7247\u8fc7\u5927("+h+"M)"),g=o({name:l,data:{placeHolderUrl:f,error:p,dpi:u},getEditorState:n,setEditorState:r}),!p){e.next=18;break}return e.abrupt("return");case 18:return e.prev=18,e.next=21,w(v);case 21:m=e.sent,y=m.url,Object(s.a)({entityKey:g,getEditorState:n,setEditorState:r,update:c[i]={imageUrl:y,placeHolderUrl:null}}),e.next=30;break;case 26:e.prev=26,e.t0=e.catch(18),e.t0="\u4e0a\u4f20\u5931\u8d25\uff1a"+(e.t0.msg||String(e.t0)),Object(s.a)({entityKey:g,getEditorState:n,setEditorState:r,update:{error:e.t0}});case 30:case"end":return e.stop()}},e,this,[[18,26]])}));return function(t){return e.apply(this,arguments)}}()},function(e,t,n){"use strict";function r(e,t){var n=t.videoId,r=t.videoPlatform,i=e.getEditorState(),a=i.getCurrentContent(),s={name:"\u89c6\u9891\u5185\u5bb9",videoPlatform:r,videoId:n},c=a.createEntity("VIDEO","IMMUTABLE",s),u=c.getLastCreatedEntityKey();e.setEditorState(o.AtomicBlockUtils.insertAtomicBlock(o.EditorState.set(i,{currentContent:c}),u,"\u89c6\u9891\u5185\u5bb9"))}t.a=r;var o=n(1);n.n(o)},function(e,t,n){"use strict";function r(e){var t=e.getCurrentContent(),n=t.getBlocksAsArray();return!(n.length>1)&&("unstyled"===n[0].getType()&&!n[0].getText())}t.a=r},function(e,t,n){"use strict";function r(e){return o.G?e.metaKey&&!e.shiftKey&&!e.ctrlKey&&!e.altKey&&e.keyCode===i:!e.metaKey&&!e.shiftKey&&e.ctrlKey&&!e.altKey&&e.keyCode===i}t.a=r;var o=n(2),i=83},function(e,t,n){"use strict";function r(e,t){return Object(o.a)({exact:!0,strict:!1,allowSharp:t}).test(e)}t.a=r;var o=n(317)},function(e,t,n){"use strict";var r=n(318),o=n(319);t.a=function(e){e=Object.assign({strict:!0,allowSharp:!1},e);var t="(?:(?:[a-z]+:)?//)"+(e.strict?"":"?"),n=r.v4().source,i="(?:\\."+(e.strict?"(?:[a-z\\u00a1-\\uffff]{2,})":"(?:"+o.sort(function(e,t){return t.length-e.length}).join("|")+")")+")\\.?",a="(?:"+t+"|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|"+n+"|(?:(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*"+i+')(?::\\d{2,5})?(?:/?[^#\\s"]*)?',s="(?:"+a+')?(?:#[^\\s"]*)?',c=e.allowSharp?s:a;return e.exact?new RegExp("(?:^"+c+"$)","i"):new RegExp(c,"ig")}},function(e,t,n){"use strict";var r="(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])){3}",o="[0-9a-fA-F]{1,4}",i=("\n(\n(?:"+o+":){7}(?:"+o+"|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:"+o+":){6}(?:"+r+"|:"+o+"|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:"+o+":){5}(?::"+r+"|(:"+o+"){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:"+o+":){4}(?:(:"+o+"){0,1}:"+r+"|(:"+o+"){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:"+o+":){3}(?:(:"+o+"){0,2}:"+r+"|(:"+o+"){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:"+o+":){2}(?:(:"+o+"){0,3}:"+r+"|(:"+o+"){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:"+o+":){1}(?:(:"+o+"){0,4}:"+r+"|(:"+o+"){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::((?::"+o+"){0,5}:"+r+"|(?::"+o+"){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(%[0-9a-zA-Z]{1,})? // %eth0 %1\n").replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),a=e.exports=function(e){return e&&e.exact?new RegExp("(?:^"+r+"$)|(?:^"+i+"$)"):new RegExp("(?:"+r+")|(?:"+i+")","g")};a.v4=function(e){return e&&e.exact?new RegExp("^"+r+"$"):new RegExp(r,"g")},a.v6=function(e){return e&&e.exact?new RegExp("^"+i+"$"):new RegExp(i,"g")}},function(e,t){e.exports=["aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","ac","academy","accenture","accountant","accountants","aco","active","actor","ad","adac","ads","adult","ae","aeg","aero","aetna","af","afamilycompany","afl","africa","ag","agakhan","agency","ai","aig","aigo","airbus","airforce","airtel","akdn","al","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","am","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","ao","aol","apartments","app","apple","aq","aquarelle","ar","arab","aramco","archi","army","arpa","art","arte","as","asda","asia","associates","at","athleta","attorney","au","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aw","aws","ax","axa","az","azure","ba","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bb","bbc","bbt","bbva","bcg","bcn","bd","be","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bf","bg","bh","bharti","bi","bible","bid","bike","bing","bingo","bio","biz","bj","black","blackfriday","blanco","blockbuster","blog","bloomberg","blue","bm","bms","bmw","bn","bnl","bnpparibas","bo","boats","boehringer","bofa","bom","bond","boo","book","booking","boots","bosch","bostik","boston","bot","boutique","box","br","bradesco","bridgestone","broadway","broker","brother","brussels","bs","bt","budapest","bugatti","build","builders","business","buy","buzz","bv","bw","by","bz","bzh","ca","cab","cafe","cal","call","calvinklein","cam","camera","camp","cancerresearch","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","cartier","casa","case","caseih","cash","casino","cat","catering","catholic","cba","cbn","cbre","cbs","cc","cd","ceb","center","ceo","cern","cf","cfa","cfd","cg","ch","chanel","channel","chase","chat","cheap","chintai","christmas","chrome","chrysler","church","ci","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","ck","cl","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","cm","cn","co","coach","codes","coffee","college","cologne","com","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","coop","corsica","country","coupon","coupons","courses","cr","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","csc","cu","cuisinella","cv","cw","cx","cy","cymru","cyou","cz","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","de","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dj","dk","dm","dnp","do","docs","doctor","dodge","dog","doha","domains","dot","download","drive","dtv","dubai","duck","dunlop","duns","dupont","durban","dvag","dvr","dz","earth","eat","ec","eco","edeka","edu","education","ee","eg","email","emerck","energy","engineer","engineering","enterprises","epost","epson","equipment","er","ericsson","erni","es","esq","estate","esurance","et","etisalat","eu","eurovision","eus","events","everbank","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fi","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","fj","fk","flickr","flights","flir","florist","flowers","fly","fm","fo","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","fr","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fujixerox","fun","fund","furniture","futbol","fyi","ga","gal","gallery","gallo","gallup","game","games","gap","garden","gb","gbiz","gd","gdn","ge","gea","gent","genting","george","gf","gg","ggee","gh","gi","gift","gifts","gives","giving","gl","glade","glass","gle","global","globo","gm","gmail","gmbh","gmo","gmx","gn","godaddy","gold","goldpoint","golf","goo","goodhands","goodyear","goog","google","gop","got","gov","gp","gq","gr","grainger","graphics","gratis","green","gripe","grocery","group","gs","gt","gu","guardian","gucci","guge","guide","guitars","guru","gw","gy","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hk","hkt","hm","hn","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","honeywell","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hr","hsbc","ht","hu","hughes","hyatt","hyundai","ibm","icbc","ice","icu","id","ie","ieee","ifm","ikano","il","im","imamat","imdb","immo","immobilien","in","industries","infiniti","info","ing","ink","institute","insurance","insure","int","intel","international","intuit","investments","io","ipiranga","iq","ir","irish","is","iselect","ismaili","ist","istanbul","it","itau","itv","iveco","iwc","jaguar","java","jcb","jcp","je","jeep","jetzt","jewelry","jio","jlc","jll","jm","jmp","jnj","jo","jobs","joburg","jot","joy","jp","jpmorgan","jprs","juegos","juniper","kaufen","kddi","ke","kerryhotels","kerrylogistics","kerryproperties","kfh","kg","kh","ki","kia","kim","kinder","kindle","kitchen","kiwi","km","kn","koeln","komatsu","kosher","kp","kpmg","kpn","kr","krd","kred","kuokgroup","kw","ky","kyoto","kz","la","lacaixa","ladbrokes","lamborghini","lamer","lancaster","lancia","lancome","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lb","lc","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","li","liaison","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","lixil","lk","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","lr","ls","lt","ltd","ltda","lu","lundbeck","lupin","luxe","luxury","lv","ly","ma","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mc","mckinsey","md","me","med","media","meet","melbourne","meme","memorial","men","menu","meo","merckmsd","metlife","mg","mh","miami","microsoft","mil","mini","mint","mit","mitsubishi","mk","ml","mlb","mls","mm","mma","mn","mo","mobi","mobile","mobily","moda","moe","moi","mom","monash","money","monster","mopar","mormon","mortgage","moscow","moto","motorcycles","mov","movie","movistar","mp","mq","mr","ms","msd","mt","mtn","mtr","mu","museum","mutual","mv","mw","mx","my","mz","na","nab","nadex","nagoya","name","nationwide","natura","navy","nba","nc","ne","nec","net","netbank","netflix","network","neustar","new","newholland","news","next","nextdirect","nexus","nf","nfl","ng","ngo","nhk","ni","nico","nike","nikon","ninja","nissan","nissay","nl","no","nokia","northwesternmutual","norton","now","nowruz","nowtv","np","nr","nra","nrw","ntt","nu","nyc","nz","obi","observer","off","office","okinawa","olayan","olayangroup","oldnavy","ollo","om","omega","one","ong","onl","online","onyourside","ooo","open","oracle","orange","org","organic","origins","osaka","otsuka","ott","ovh","pa","page","panasonic","panerai","paris","pars","partners","parts","party","passagens","pay","pccw","pe","pet","pf","pfizer","pg","ph","pharmacy","phd","philips","phone","photo","photography","photos","physio","piaget","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","pk","pl","place","play","playstation","plumbing","plus","pm","pn","pnc","pohl","poker","politie","porn","post","pr","pramerica","praxi","press","prime","pro","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","ps","pt","pub","pw","pwc","py","qa","qpon","quebec","quest","qvc","racing","radio","raid","re","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","rightathome","ril","rio","rip","rmit","ro","rocher","rocks","rodeo","rogers","room","rs","rsvp","ru","rugby","ruhr","run","rw","rwe","ryukyu","sa","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sapo","sarl","sas","save","saxo","sb","sbi","sbs","sc","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scjohnson","scor","scot","sd","se","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","sg","sh","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","shriram","si","silk","sina","singles","site","sj","sk","ski","skin","sky","skype","sl","sling","sm","smart","smile","sn","sncf","so","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","space","spiegel","spot","spreadbetting","sr","srl","srt","st","stada","staples","star","starhub","statebank","statefarm","statoil","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","su","sucks","supplies","supply","support","surf","surgery","suzuki","sv","swatch","swiftcover","swiss","sx","sy","sydney","symantec","systems","sz","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tc","tci","td","tdk","team","tech","technology","tel","telecity","telefonica","temasek","tennis","teva","tf","tg","th","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tj","tjmaxx","tjx","tk","tkmaxx","tl","tm","tmall","tn","to","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","tr","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tt","tube","tui","tunes","tushu","tv","tvs","tw","tz","ua","ubank","ubs","uconnect","ug","uk","unicom","university","uno","uol","ups","us","uy","uz","va","vacations","vana","vanguard","vc","ve","vegas","ventures","verisign","versicherung","vet","vg","vi","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","vista","vistaprint","viva","vivo","vlaanderen","vn","vodka","volkswagen","volvo","vote","voting","voto","voyage","vu","vuelos","wales","walmart","walter","wang","wanggou","warman","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","wf","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","ws","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","\u0915\u0949\u092e","\u30bb\u30fc\u30eb","\u4f5b\u5c71","\u0cad\u0cbe\u0cb0\u0ca4","\u6148\u5584","\u96c6\u56e2","\u5728\u7ebf","\ud55c\uad6d","\u0b2d\u0b3e\u0b30\u0b24","\u5927\u4f17\u6c7d\u8f66","\u70b9\u770b","\u0e04\u0e2d\u0e21","\u09ad\u09be\u09f0\u09a4","\u09ad\u09be\u09b0\u09a4","\u516b\u5366","\u0645\u0648\u0642\u0639","\u09ac\u09be\u0982\u09b2\u09be","\u516c\u76ca","\u516c\u53f8","\u9999\u683c\u91cc\u62c9","\u7f51\u7ad9","\u79fb\u52a8","\u6211\u7231\u4f60","\u043c\u043e\u0441\u043a\u0432\u0430","\u049b\u0430\u0437","\u043a\u0430\u0442\u043e\u043b\u0438\u043a","\u043e\u043d\u043b\u0430\u0439\u043d","\u0441\u0430\u0439\u0442","\u8054\u901a","\u0441\u0440\u0431","\u0431\u0433","\u0431\u0435\u043b","\u05e7\u05d5\u05dd","\u65f6\u5c1a","\u5fae\u535a","\u6de1\u9a6c\u9521","\u30d5\u30a1\u30c3\u30b7\u30e7\u30f3","\u043e\u0440\u0433","\u0928\u0947\u091f","\u30b9\u30c8\u30a2","\uc0bc\uc131","\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd","\u5546\u6807","\u5546\u5e97","\u5546\u57ce","\u0434\u0435\u0442\u0438","\u043c\u043a\u0434","\u0435\u044e","\u30dd\u30a4\u30f3\u30c8","\u65b0\u95fb","\u5de5\u884c","\u5bb6\u96fb","\u0643\u0648\u0645","\u4e2d\u6587\u7f51","\u4e2d\u4fe1","\u4e2d\u56fd","\u4e2d\u570b","\u5a31\u4e50","\u8c37\u6b4c","\u0c2d\u0c3e\u0c30\u0c24\u0c4d","\u0dbd\u0d82\u0d9a\u0dcf","\u96fb\u8a0a\u76c8\u79d1","\u8d2d\u7269","\u30af\u30e9\u30a6\u30c9","\u0aad\u0abe\u0ab0\u0aa4","\u901a\u8ca9","\u092d\u093e\u0930\u0924\u092e\u094d","\u092d\u093e\u0930\u0924","\u092d\u093e\u0930\u094b\u0924","\u7f51\u5e97","\u0938\u0902\u0917\u0920\u0928","\u9910\u5385","\u7f51\u7edc","\u043a\u043e\u043c","\u0443\u043a\u0440","\u9999\u6e2f","\u8bfa\u57fa\u4e9a","\u98df\u54c1","\u98de\u5229\u6d66","\u53f0\u6e7e","\u53f0\u7063","\u624b\u8868","\u624b\u673a","\u043c\u043e\u043d","\u0627\u0644\u062c\u0632\u0627\u0626\u0631","\u0639\u0645\u0627\u0646","\u0627\u0631\u0627\u0645\u0643\u0648","\u0627\u06cc\u0631\u0627\u0646","\u0627\u0644\u0639\u0644\u064a\u0627\u0646","\u0627\u062a\u0635\u0627\u0644\u0627\u062a","\u0627\u0645\u0627\u0631\u0627\u062a","\u0628\u0627\u0632\u0627\u0631","\u067e\u0627\u06a9\u0633\u062a\u0627\u0646","\u0627\u0644\u0627\u0631\u062f\u0646","\u0645\u0648\u0628\u0627\u064a\u0644\u064a","\u0628\u0627\u0631\u062a","\u0628\u06be\u0627\u0631\u062a","\u0627\u0644\u0645\u063a\u0631\u0628","\u0627\u0628\u0648\u0638\u0628\u064a","\u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629","\u0680\u0627\u0631\u062a","\u0643\u0627\u062b\u0648\u0644\u064a\u0643","\u0633\u0648\u062f\u0627\u0646","\u0647\u0645\u0631\u0627\u0647","\u0639\u0631\u0627\u0642","\u0645\u0644\u064a\u0633\u064a\u0627","\u6fb3\u9580","\ub2f7\ucef4","\u653f\u5e9c","\u0634\u0628\u0643\u0629","\u0628\u064a\u062a\u0643","\u0639\u0631\u0628","\u10d2\u10d4","\u673a\u6784","\u7ec4\u7ec7\u673a\u6784","\u5065\u5eb7","\u0e44\u0e17\u0e22","\u0633\u0648\u0631\u064a\u0629","\u0440\u0443\u0441","\u0440\u0444","\u73e0\u5b9d","\u062a\u0648\u0646\u0633","\u5927\u62ff","\u307f\u3093\u306a","\u30b0\u30fc\u30b0\u30eb","\u03b5\u03bb","\u4e16\u754c","\u66f8\u7c4d","\u0d2d\u0d3e\u0d30\u0d24\u0d02","\u0a2d\u0a3e\u0a30\u0a24","\u7f51\u5740","\ub2f7\ub137","\u30b3\u30e0","\u5929\u4e3b\u6559","\u6e38\u620f","verm\xf6gensberater","verm\xf6gensberatung","\u4f01\u4e1a","\u4fe1\u606f","\u5609\u91cc\u5927\u9152\u5e97","\u5609\u91cc","\u0645\u0635\u0631","\u0642\u0637\u0631","\u5e7f\u4e1c","\u0b87\u0bb2\u0b99\u0bcd\u0b95\u0bc8","\u0b87\u0ba8\u0bcd\u0ba4\u0bbf\u0baf\u0bbe","\u0570\u0561\u0575","\u65b0\u52a0\u5761","\u0641\u0644\u0633\u0637\u064a\u0646","\u653f\u52a1","xperia","xxx","xyz","yachts","yahoo","yamaxun","yandex","ye","yodobashi","yoga","yokohama","you","youtube","yt","yun","za","zappos","zara","zero","zip","zippo","zm","zone","zuerich","zw"]},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,i){try{var a=t[o](i),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}return r("next")})}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return c.a.Map({aligns:p(t,function(){return d("left")}),rows:p(e,function(){return g(t)})})}function i(e,t){var n=Object(u.a)(e);if(n){var r=n.getKey();if("table"===n.getType())return n;var o=e.getCurrentContent(),i=e.getSelection();if(t){var a=o.getBlockAfter(r);if(a&&"table"===a.getType()&&i.getEndOffset()===n.getLength())return a}else{var s=o.getBlockBefore(r);if(s&&"table"===s.getType()&&0===i.getStartOffset())return s}}return null}n.d(t,"e",function(){return f}),n.d(t,"a",function(){return d}),n.d(t,"b",function(){return h}),n.d(t,"c",function(){return g}),t.d=i;var a=n(1),s=(n.n(a),n(3)),c=n.n(s),u=n(106),l=(n(67),n(104)),f=function(){var e=r(regeneratorRuntime.mark(function e(t){var n,r,i,s,c,u,l=t.getEditorState,f=t.setEditorState,p=t.ref;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=l(),r=n.getCurrentContent(),i=n.getSelection(),s=r.getBlockMap(),c=i.getAnchorKey(),u=new a.ContentBlock({key:c,type:"table",text:"[\u8868\u683c]",data:o()}),p&&(p.blockKey=c),s=s.set(c,u),r=r.set("blockMap",s),e.abrupt("return",f(a.EditorState.push(n,r,"change-block-type")));case 10:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),p=function(e,t){for(var n=[];e--;)n.push(t());return n},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"left";return{key:Object(a.genKey)(),align:e}},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return{key:Object(a.genKey)(),raw:Object(l.a)(e)}},g=function(e){return{key:Object(a.genKey)(),cells:p(e,h)}}},function(e,t,n){"use strict";function r(e){this.decorators=o.List(e)}t.a=r;var o=n(3);r.prototype.getDecorations=function(e,t){var n=Array(e.getText().length).fill(null);return this.decorators.forEach(function(r,o){r.getDecorations(e,t).forEach(function(e,t){e&&(e=o+"-"+e,n[t]=e)})}),o.List(n)},r.prototype.getComponentForKey=function(e){return this.getDecoratorForKey(e).getComponentForKey(this.getInnerKey(e))},r.prototype.getPropsForKey=function(e){return this.getDecoratorForKey(e).getPropsForKey(this.getInnerKey(e))},r.prototype.getDecoratorForKey=function(e){var t=e.split("-"),n=Number(t[0]);return this.decorators.get(n)},r.prototype.getInnerKey=function(e){return e.split("-").slice(1).join("-")}},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return i});var r="undefined"!=typeof window,o=r&&/Mac/.test(navigator.userAgent),i=o?"\u2318":"Ctrl"},function(e,t,n){"use strict";function r(e){return new Promise(function(t,n){if(!/png/i.test(e.type))return t(0);var r=new FileReader;r.onload=function(){for(var e=new Uint8ClampedArray(r.result),n=e.length,i=function(e,t){var n=e[t++];return n=n<<8|e[t++],n=n<<8|e[t++],n=n<<8|e[t++]},a=0,s=0;s<n;){if(i(e,s)===o)break;s++}var c=i(e,s+4),u=i(e,s+8);e[s+8];if(c&&u&&c===u)switch(c){case 5669:a=144;break;case 3779:a=96}t(a)},r.readAsArrayBuffer(e)})}t.a=r;var o=1883789683},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"forward",r=e.getEditorState(),i=r.getCurrentContent(),a=t.getKey(),s=new o.SelectionState({anchorKey:a,anchorOffset:0,focusKey:a,focusOffset:t.getLength()+1}),c=new o.SelectionState({anchorKey:a,anchorOffset:0,focusKey:a,focusOffset:1});e.setEditorState(o.EditorState.forceSelection(o.EditorState.push(r,o.Modifier.setBlockType(o.Modifier.removeRange(i,s,n),c,"unstyled"),"remove-block"),c))}t.a=r;var o=n(1);n.n(o)},function(e,t,n){"use strict";function r(e){var t=e.getCurrentContent(),n=e.getSelection();if(!n.isCollapsed())return{isAtFirstBlock:!1,isAtLastBlock:!1,isAtStartOfBlock:!1,isAtEndOfBlock:!1};var r=n.getEndKey(),o=t.getBlockMap().get(r);return{block:o,isAtFirstBlock:o===t.getFirstBlock(),isAtLastBlock:o===t.getLastBlock(),isAtStartOfBlock:0===n.getStartOffset(),isAtEndOfBlock:n.getEndOffset()===o.getLength()}}t.a=r},function(e,t,n){"use strict";function r(e,t,n){var r=e.getEditorState,i=e.setEditorState,s=a.a.encode(t.getKey(),0,0),c=document.querySelectorAll('[data-offset-key="'+s+'"]')[0],u=window.getSelection(),l=document.createRange();l.setStart(c,0),l.setEnd(c,0),u.removeAllRanges(),u.addRange(l);var f="expand"===n?t.getLength():0;i(o.EditorState.forceSelection(r(),new o.SelectionState({anchorKey:t.getKey(),anchorOffset:f,focusKey:t.getKey(),focusOffset:f,isBackward:!1})))}t.a=r;var o=n(1),i=(n.n(o),n(25)),a=n.n(i)},function(e,t,n){"use strict";function r(e,t,n){var r=e.getEditorState,o=(e.setEditorState,r()),i=o.getSelection().getAnchorKey(),s="prev"===t?o.getCurrentContent().getBlockBefore(i):o.getCurrentContent().getBlockAfter(i);return(!s||s.get("key")!==i)&&(!!s&&(Object(a.M)(e,s,"prev"===t?"expand":"collapse"),n.preventDefault(),!0))}t.a=r;var o=n(1),i=(n.n(o),n(25)),a=(n.n(i),n(2))},function(e,t,n){"use strict";function r(e){var t=e.getEditorState,n=e.setEditorState,r=e.url,a=t(),s=a.getCurrentContent(),c=a.getSelection();if(c.isCollapsed()&&(c=Object(i.a)(a)),r){var u=s.createEntity("LINK","MUTABLE",{url:r}),l=u.getLastCreatedEntityKey(),f=o.EditorState.set(a,{currentContent:u});n(o.EditorState.forceSelection(o.RichUtils.toggleLink(f,c,l),c))}else{var p=a.getSelection();p.isCollapsed()&&(p=Object(i.a)(a)),n(o.EditorState.forceSelection(o.RichUtils.toggleLink(a,p,null),p))}}t.a=r;var o=n(1),i=(n.n(o),n(105))},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object(o.y)(String(e));if("object"===(void 0===e?"undefined":a(e))&&e.blocks)return e;if(void 0!==s[t])return s[t];var n=e;try{n=i.unpack(e),n.sourceHash=t}catch(t){console.warn("JSON Packed \u683c\u5f0f\u89e3\u7801\u5931\u8d25\uff0c\u5185\u5bb9\u4e3a\uff1a"+e.substr(0,100)+"...")}return"undefined"!=typeof window&&(s[t]=n),n||null}t.a=r;var o=n(2),i=n(65),a=(n.n(i),"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}),s={}},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return d});var s=n(0),c=n.n(s),u=n(4),l=(n.n(u),Object.assign||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}),f=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p={buttonWrapper:"qa-r-editor-btn-wrap",button:"qa-r-editor-btn",actived:"actived",disabled:"disabled"},d=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,c=Array(s),u=0;u<s;u++)c[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),r.state={},r.widgetInstances={},r.element=null,r.getWidget=function(e){return r.widgetInstances[e]},r.checkStick=function(){if(r.element){var e=r.element.parentElement.getBoundingClientRect(),t=e.top,n=e.left,o=(e.right,e.width);e.bottom<r.HEADER_HEIGHT?$(r.element).hide():t<r.HEADER_HEIGHT?$(r.element).show().css({position:"fixed",top:r.HEADER_HEIGHT,left:n,width:o,background:"white",borderRadius:0}):$(r.element).show().css({position:"absolute",top:0,left:0,width:"100%"})}},a=n,i(r,a)}return a(t,e),f(t,[{key:"gePluginWidgets",value:function(e){return this.plugins.reduce(function(t,n){return n.getToolbarWidgets?t.concat(n.getToolbarWidgets(e)):t},[])}},{key:"render",value:function(){var e=this,t=this.props,n=t.store,r=(t.plugins,n.getEditorEnviorment(),this.getWidget,this.toolbarProvide);return c.a.createElement("div",{className:"qa-r-editor-toolbar",ref:function(t){return e.element=t},onMouseDown:function(e){return e.preventDefault()}},c.a.createElement("section",{className:"qa-r-editor-btns"},this.renderToolbarButtons(r)),this.renderToolbarWidgets(r))}},{key:"renderToolbarButtons",value:function(e){return this.plugins.reduce(function(t,n){var o=n.getToolbarButtons;return o?[].concat(r(t),r(o(e)||[])):t},[]).map(function(e,t){return"spliter"===e?c.a.createElement("span",{key:"spliter-"+t,className:"qa-r-editor-spliter"},"|"):e})}},{key:"renderToolbarWidgets",value:function(e){var t=this,n=function(e){return!e.prototype.render},r=function(e){var r=e.key,o=e.component;return n(o)?null:function(e){return t.widgetInstances[r]=e}},o=function(t){return l({key:t.key,ref:r(t)},e,t.props||{})},i=function(e){return c.a.createElement(e.component,o(e))};return this.gePluginWidgets(e).filter(function(e){return e.component}).map(i)}},{key:"componentDidMount",value:function(){var e=!0,t=!1,n=void 0;try{for(var r,o=this.gePluginWidgets(this.toolbarProvide)[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){var i=r.value,a=i.onToolbarMount;"function"==typeof a&&a(this,this.props.store)}}catch(e){t=!0,n=e}finally{try{!e&&o.return&&o.return()}finally{if(t)throw n}}}},{key:"componentWillUnmount",value:function(){var e=!0,t=!1,n=void 0;try{for(var r,o=this.gePluginWidgets(this.toolbarProvide)[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){var i=r.value,a=i.onToolbarUnmount;"function"==typeof a&&a(this,this.props.store)}}catch(e){t=!0,n=e}finally{try{!e&&o.return&&o.return()}finally{if(t)throw n}}}},{key:"startStickToTop",value:function(){this.HEADER_HEIGHT=$(".col-editor-header").height();var e=$(window);this.scrollElement=e,e.on("scroll",this.checkStick),$(window).on("resize",this.checkStick)}},{key:"stopStickToTop",value:function(){this.scrollElement.off("scroll",this.checkStick),$(window).off("resize",this.checkStick)}},{key:"plugins",get:function(){return this.props.plugins}},{key:"toolbarProvide",get:function(){var e=this.props.store,t=e.getEditorEnviorment(),n=this.getWidget;return{store:e,theme:p,env:t,getWidget:n}}}]),t}(s.Component)},function(e,t,n){"use strict";function r(e){var t=e.theme,n=e.disabled,r=e.accept,o=e.icon,a=e.title,u=e.onSelect;return i.a.createElement("div",{className:t.buttonWrapper,title:c?"IE9 \u53ca\u4ee5\u4e0b\u4e0d\u652f\u6301"+a:a},i.a.createElement("div",{className:s()(t.button,"select-file",{disabled:n||c})},i.a.createElement("i",{className:"qa-ico-"+o,title:c?"IE9 \u53ca\u4ee5\u4e0b\u4e0d\u652f\u6301\u63d2\u5165\u56fe\u7247":"\u63d2\u5165\u56fe\u7247"}),!n&&i.a.createElement("input",{style:{cursor:c?"not-allowed":"pointer"},type:"file",accept:r,onClick:function(e){c?e.preventDefault():e.target.value=null},onChange:function(e){return u(e.target.files)}})))}t.a=r;var o=n(0),i=n.n(o),a=n(4),s=n.n(a),c=function(){if("undefined"==typeof navigator)return!1;var e=/MSIE\s(\d+)/.exec(navigator.userAgent);return e&&+e.$1<=9}()},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return u});var a=n(0),s=n.n(a),c=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function(e){function t(){var e,n,i,a;r(this,t);for(var s=arguments.length,c=Array(s),u=0;u<s;u++)c[u]=arguments[u];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),i.state={error:null},a=n,o(i,a)}return i(t,e),c(t,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.recover;if(this.state.error){var r=this.state.error,o=r.message,i=r.stack,a=r.componentStack;return s.a.createElement("div",{className:"error-boundary"},s.a.createElement("h2",null,t||"\u53d1\u751f\u9519\u8bef"),n,s.a.createElement("p",null,o),s.a.createElement("pre",null,i),s.a.createElement("pre",null,"Occured",a))}return this.props.children}},{key:"componentDidCatch",value:function(e,t){var n=t.componentStack;this.setState({error:{message:e.message||"\u6e32\u67d3\u9519\u8bef",stack:e.stack,componentStack:n}})}},{key:"clear",value:function(){this.setState({error:null})}}]),t}(s.a.Component)},function(e,t,n){"use strict";var r=n(334);n.d(t,"a",function(){return r.a});var o=n(114);n.d(t,"b",function(){return o.a});var i=n(122);n.d(t,"c",function(){return i.a});var a=n(132);n.d(t,"d",function(){return a.a});var s=n(156);n.d(t,"f",function(){return s.b}),n.d(t,"e",function(){return s.a});var c=n(161);n.d(t,"g",function(){return c.a});var u=n(129);n.d(t,"h",function(){return u.a});var l=n(112);n.d(t,"i",function(){return l.a});var f=n(115);n.d(t,"j",function(){return f.a});var p=n(155);n.d(t,"k",function(){return p.a});var d=n(133);n.d(t,"l",function(){return d.a})},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.docImport&&(Object(o.g)("docImport \u63d2\u4ef6\u5df2\u66f4\u540d\u4e3a fileImport \u63d2\u4ef6\uff0c\u8bf7\u6539\u7528 fileImport \u914d\u7f6e\u9879"),e.fileImport=e.docImport);var t=Object(d.a)(e.focus),n=Object(m.a)(e.title),r=function(t){return e[t]&&!0===e[t].disabled};return[!r("inlineStyle")&&Object(i.a)(e.inlineStyle),!r("blockStyle")&&Object(a.a)(e.blockStyle),!r("hr")&&t.decoratePlugin(Object(b.a)(e.hr)),!r("link")&&Object(s.a)(e.link),!r("codeEdit")&&Object(c.a)(e.codeEdit),!r("formula")&&Object(v.a)(e.formula),!r("focus")&&t,!r("image")&&t.decoratePlugin(n.decoratePlugin(Object(u.a)(e.image))),!r("video")&&t.decoratePlugin(n.decoratePlugin(Object(y.a)(e.video))),!r("table")&&Object(f.a)(e.table),!r("debug")&&Object(l.a)(e.debug),!r("pasteHtml")&&Object(p.a)(e.pasteHtml),!r("stickToolbar")&&Object(h.a)(e.stickToolbar),!r("fileImport")&&t.decoratePlugin(n.decoratePlugin(Object(g.b)(e.fileImport))),!r("placeholder")&&Object(w.a)(e.placeholder),!r("meta")&&t.decoratePlugin(Object(k.a)(e.meta))]}t.a=r;var o=n(2),i=n(112),a=n(114),s=n(115),c=n(122),u=n(129),l=n(132),f=n(133),p=n(477),d=n(606),h=n(155),g=n(156),m=n(619),y=n(621),v=n(161),b=n(635),w=n(639),k=n(641)},function(e,t,n){"use strict";function r(e){var t=e.store,n=e.theme,r=e.env;return i.a.createElement(a.a,{store:t,theme:n,env:r,inlineStyle:"BOLD"},i.a.createElement("i",{className:"qa-ico-bold",title:"\u52a0\u7c97"},"B"))}t.a=r;var o=n(0),i=n.n(o),a=n(44)},function(e,t,n){"use strict";function r(e){var t=e.store,n=e.theme,r=e.env;return i.a.createElement(a.a,{store:t,theme:n,env:r,inlineStyle:"ITALIC"},i.a.createElement("i",{className:"qa-ico-italic",title:"\u659c\u4f53"},"I"))}t.a=r;var o=n(0),i=n.n(o),a=n(44)},function(e,t,n){"use strict";function r(e){var t=e.store,n=e.theme,r=e.env;return i.a.createElement(a.a,{store:t,theme:n,env:r,inlineStyle:"STRIKETHROUGH"},i.a.createElement("i",{className:"qa-ico-strike",title:"\u5220\u9664\u7ebf"},"~"))}t.a=r;var o=n(0),i=n.n(o),a=n(44)},function(e,t,n){"use strict";function r(e){var t=e.store,n=e.theme,r=e.env;return i.a.createElement(a.a,{store:t,theme:n,env:r,inlineStyle:"CODE"},i.a.createElement("i",{className:"qa-ico-code",title:"\u5185\u8054\u4ee3\u7801"},"C"))}t.a=r;var o=n(0),i=n.n(o),a=n(44)},function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(0),o=n.n(r),i=n(45),a=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s={h1:["header-one","\u4e00\u7ea7\u6807\u9898"],h2:["header-two","\u4e8c\u7ea7\u6807\u9898"],h3:["header-three","\u4e09\u7ea7\u6807\u9898"],h4:["header-four","\u56db\u7ea7\u6807\u9898"],h5:["header-five","\u4e94\u7ea7\u6807\u9898"],h6:["header-six","\u516d\u7ea7\u6807\u9898"]},c=function(e){function t(t){var n=t.store,a=t.theme,s=t.disabled;return o.a.createElement(i.a,{store:n,theme:a,disabled:s,blockType:r},o.a.createElement("i",{className:"qa-ico-"+e,title:c},e))}var n=a(s[e],2),r=n[0],c=n[1];return t}},function(e,t,n){"use strict";function r(e){var t=e.store,n=e.theme,r=e.disabled;return i.a.createElement(a.a,{store:t,theme:n,disabled:r,blockType:"blockquote"},i.a.createElement("i",{className:"qa-ico-blockquote",title:"\u5f15\u7528"},"\u201c"))}t.a=r;var o=n(0),i=n.n(o),a=n(45)},function(e,t,n){"use strict";function r(e){var t=e.store,n=e.theme,r=e.disabled,i=function(e){e?t.setEditorState(c.RichUtils.toggleBlockType(t.getEditorState(),"code-block")):o(t)};return a.a.createElement(s.a,{toggle:i,store:t,theme:n,disabled:r,blockType:"code-block"},a.a.createElement("i",{className:"qa-ico-code-block",title:"\u4ee3\u7801\u5757"},"<>"))}function o(e){var t=e.getEditorState(),n=t.getCurrentContent(),r=t.getSelection(),o=n.getBlockForKey(r.getEndKey()),i=Object(u.u)(t),a=new c.SelectionState({anchorKey:r.getStartKey(),anchorOffset:0,focusKey:r.getEndKey(),focusOffset:o.getLength()}),s=new c.ContentBlock({key:Object(c.genKey)(),type:"code-block",data:Object(l.Map)({syntax:"js"}),text:i,characterList:Object(l.List)(Object(l.Repeat)(c.CharacterMetadata.EMPTY,i.length))}),f=(new c.ContentBlock({key:Object(c.genKey)(),type:"unstyled",text:"",characterList:Object(l.List)()}),c.BlockMapBuilder.createFromArray([s])),p=c.Modifier.replaceWithFragment(n,a,f),d=c.EditorState.push(t,p,"insert-fragment"),h=c.RichUtils.toggleBlockType(d,"code-block");e.setEditorState(h)}t.a=r;var i=n(0),a=n.n(i),s=n(45),c=n(1),u=(n.n(c),n(2)),l=n(3),f=(n.n(l),n(342));n.n(f)},function(e,t,n){function r(e,t){this._id=e,this._clearFn=t}var o=Function.prototype.apply;t.setTimeout=function(){return new r(o.call(setTimeout,window,arguments),clearTimeout)},t.setInterval=function(){return new r(o.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(93),t.setImmediate=setImmediate,t.clearImmediate=clearImmediate},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(0),o=n.n(r),i=n(45),a=function(e){function t(e){var t=e.store,s=e.theme,c=e.disabled;return o.a.createElement(i.a,{store:t,theme:s,disabled:c,blockType:n},o.a.createElement("i",{className:"qa-ico-"+r,title:a},r))}var n=e?"ordered-list-item":"unordered-list-item",r=e?"ol":"ul",a=e?"\u7f16\u53f7":"\u5217\u8868";return t}},function(e,t,n){"use strict";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,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return h});var s=n(0),c=n.n(s),u=n(4),l=n.n(u),f=n(1),p=(n.n(f),n(2)),d=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),h=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,c=Array(s),u=0;u<s;u++)c[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),r.edit=function(e){var t=e?e.getData().url:"",n=r.props.getWidget("link-bar");if(n){var o=r.button;o&&(r.buttonPosition=Math.floor(o.offsetLeft+o.clientWidth/2)),n.getInstance().active(t,r.buttonPosition)}},a=n,i(r,a)}return a(t,e),d(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.theme,o=t.store,i=o.getEditorState(),a=f.RichUtils.getCurrentBlockType(i),s=i.getSelection(),u=s.isCollapsed(),d=Object(p.m)(i),h=u&&!d||"code-block"===a;return c.a.createElement("div",{className:n.buttonWrapper,onClick:function(e){return e.stopPropagation()},title:d?"\u7f16\u8f91\u8fde\u63a5":"\u63d2\u5165\u8d85\u94fe\u63a5"},c.a.createElement("button",{ref:function(t){return e.button=t},className:l()(n.button,r({},n.disabled,h)),disabled:h,onClick:function(){return e.edit(d)}},c.a.createElement("i",{className:"qa-ico-link"},"\u8d85")))}}]),t}(c.a.Component)},function(e,t,n){"use strict";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,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return h});var s=n(0),c=n.n(s),u=n(4),l=n.n(u),f=n(1),p=(n.n(f),n(2)),d=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),h=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,c=Array(s),u=0;u<s;u++)c[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),r.break=function(){var e=r.props.store,t=e.getEditorState,n=e.setEditorState;Object(p.O)({getEditorState:t,setEditorState:n,url:null})},a=n,i(r,a)}return a(t,e),d(t,[{key:"render",value:function(){var e=this,t=this.props.theme,n=this.props.store.getEditorState(),o=Object(p.m)(n),i=!o;return c.a.createElement("div",{className:t.buttonWrapper,onClick:function(e){return e.stopPropagation()},title:"\u79fb\u9664\u8d85\u94fe\u63a5"},c.a.createElement("button",{className:l()(t.button,r({},t.disabled,i)),disabled:i,onClick:function(){return e.break()}},c.a.createElement("i",{className:"qa-ico-delete-link"},"\u65ad")))}}]),t}(c.a.Component)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||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},c=n(0),u=r(c),l=n(18),f=r(l),p=n(117),d=r(p),h=n(352),g=r(h),m=n(119),y=(m.nameShape.isRequired,f.default.bool,f.default.bool,f.default.bool,(0,m.transitionTimeout)("Appear"),(0,m.transitionTimeout)("Enter"),(0,m.transitionTimeout)("Leave"),{transitionAppear:!1,transitionEnter:!0,transitionLeave:!0}),v=function(e){function t(){var n,r,a;o(this,t);for(var s=arguments.length,c=Array(s),l=0;l<s;l++)c[l]=arguments[l];return n=r=i(this,e.call.apply(e,[this].concat(c))),r._wrapChild=function(e){return u.default.createElement(g.default,{name:r.props.transitionName,appear:r.props.transitionAppear,enter:r.props.transitionEnter,leave:r.props.transitionLeave,appearTimeout:r.props.transitionAppearTimeout,enterTimeout:r.props.transitionEnterTimeout,leaveTimeout:r.props.transitionLeaveTimeout},e)},a=n,i(r,a)}return a(t,e),t.prototype.render=function(){return u.default.createElement(d.default,s({},this.props,{childFactory:this._wrapChild}))},t}(u.default.Component);v.displayName="CSSTransitionGroup",v.propTypes={},v.defaultProps=y,t.default=v,e.exports=t.default},function(e,t,n){"use strict";var r=n(28),o=n(5),i=n(348);e.exports=function(){function e(e,t,n,r,a,s){s!==i&&o(!1,"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")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t){e.exports=function(){for(var e=arguments.length,t=[],n=0;n<e;n++)t[n]=arguments[n];if(t=t.filter(function(e){return null!=e}),0!==t.length)return 1===t.length?t[0]:t.reduce(function(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}})}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";function r(e){if(!e)return e;var t={};return i.Children.map(e,function(e){return e}).forEach(function(e){t[e.key]=e}),t}function o(e,t){function n(n){return t.hasOwnProperty(n)?t[n]:e[n]}e=e||{},t=t||{};var r={},o=[];for(var i in e)t.hasOwnProperty(i)?o.length&&(r[i]=o,o=[]):o.push(i);var a=void 0,s={};for(var c in t){if(r.hasOwnProperty(c))for(a=0;a<r[c].length;a++){var u=r[c][a];s[r[c][a]]=n(u)}s[c]=n(c)}for(a=0;a<o.length;a++)s[o[a]]=n(o[a]);return s}t.__esModule=!0,t.getChildMapping=r,t.mergeChildMappings=o;var i=n(0)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){return S.length?S.forEach(function(n){return e.addEventListener(n,t,!1)}):setTimeout(t,0),function(){S.length&&S.forEach(function(n){return e.removeEventListener(n,t,!1)})}}t.__esModule=!0;var c=Object.assign||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},u=n(353),l=r(u),f=n(355),p=r(f),d=n(356),h=r(d),g=n(357),m=n(0),y=r(m),v=n(18),b=r(v),w=n(16),k=n(119),S=[];g.transitionEnd&&S.push(g.transitionEnd),g.animationEnd&&S.push(g.animationEnd);var E=(b.default.node,k.nameShape.isRequired,b.default.bool,b.default.bool,b.default.bool,b.default.number,b.default.number,b.default.number,function(e){function t(){var n,r,a;o(this,t);for(var s=arguments.length,c=Array(s),u=0;u<s;u++)c[u]=arguments[u];return n=r=i(this,e.call.apply(e,[this].concat(c))),r.componentWillAppear=function(e){r.props.appear?r.transition("appear",e,r.props.appearTimeout):e()},r.componentWillEnter=function(e){r.props.enter?r.transition("enter",e,r.props.enterTimeout):e()},r.componentWillLeave=function(e){r.props.leave?r.transition("leave",e,r.props.leaveTimeout):e()},a=n,i(r,a)}return a(t,e),t.prototype.componentWillMount=function(){this.classNameAndNodeQueue=[],this.transitionTimeouts=[]},t.prototype.componentWillUnmount=function(){this.unmounted=!0,this.timeout&&clearTimeout(this.timeout),this.transitionTimeouts.forEach(function(e){clearTimeout(e)}),this.classNameAndNodeQueue.length=0},t.prototype.transition=function(e,t,n){var r=(0,w.findDOMNode)(this);if(!r)return void(t&&t());var o=this.props.name[e]||this.props.name+"-"+e,i=this.props.name[e+"Active"]||o+"-active",a=null,c=void 0;(0,l.default)(r,o),this.queueClassAndNode(i,r);var u=function(e){e&&e.target!==r||(clearTimeout(a),c&&c(),(0,p.default)(r,o),(0,p.default)(r,i),c&&c(),t&&t())};n?(a=setTimeout(u,n),this.transitionTimeouts.push(a)):g.transitionEnd&&(c=s(r,u))},t.prototype.queueClassAndNode=function(e,t){var n=this;this.classNameAndNodeQueue.push({className:e,node:t}),this.rafHandle||(this.rafHandle=(0,h.default)(function(){return n.flushClassNameAndNodeQueue()}))},t.prototype.flushClassNameAndNodeQueue=function(){this.unmounted||this.classNameAndNodeQueue.forEach(function(e){e.node.scrollTop,(0,l.default)(e.node,e.className)}),this.classNameAndNodeQueue.length=0,this.rafHandle=null},t.prototype.render=function(){var e=c({},this.props);return delete e.name,delete e.appear,delete e.enter,delete e.leave,delete e.appearTimeout,delete e.enterTimeout,delete e.leaveTimeout,delete e.children,y.default.cloneElement(y.default.Children.only(this.props.children),e)},t}(y.default.Component));E.displayName="CSSTransitionGroupChild",E.propTypes={},t.default=E,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){e.classList?e.classList.add(t):(0,i.default)(e)||(e.className=e.className+" "+t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(354),i=function(e){return e&&e.__esModule?e:{default:e}}(o);e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+e.className+" ").indexOf(" "+t+" ")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";e.exports=function(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}},function(e,t,n){"use strict";function r(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-f)),r=setTimeout(e,n);return f=t,r}Object.defineProperty(t,"__esModule",{value:!0});var o=n(118),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a=["","webkit","moz","o","ms"],s="clearTimeout",c=r,u=void 0,l=function(e,t){return e+(e?t[0].toUpperCase()+t.substr(1):t)+"AnimationFrame"};i.default&&a.some(function(e){var t=l(e,"request");if(t in window)return s=l(e,"cancel"),c=function(e){return window[t](e)}});var f=(new Date).getTime();u=function(e){return c(e)},u.cancel=function(e){window[s]&&"function"==typeof window[s]&&window[s](e)},t.default=u,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.animationEnd=t.animationDelay=t.animationTiming=t.animationDuration=t.animationName=t.transitionEnd=t.transitionDuration=t.transitionDelay=t.transitionTiming=t.transitionProperty=t.transform=void 0;var r=n(118),o=function(e){return e&&e.__esModule?e:{default:e}}(r),i="transform",a=void 0,s=void 0,c=void 0,u=void 0,l=void 0,f=void 0,p=void 0,d=void 0,h=void 0,g=void 0,m=void 0;if(o.default){var y=function(){for(var e=document.createElement("div").style,t={O:function(e){return"o"+e.toLowerCase()},Moz:function(e){return e.toLowerCase()},Webkit:function(e){return"webkit"+e},ms:function(e){return"MS"+e}},n=Object.keys(t),r=void 0,o=void 0,i="",a=0;a<n.length;a++){var s=n[a];if(s+"TransitionProperty"in e){i="-"+s.toLowerCase(),r=t[s]("TransitionEnd"),o=t[s]("AnimationEnd");break}}return!r&&"transitionProperty"in e&&(r="transitionend"),!o&&"animationName"in e&&(o="animationend"),e=null,{animationEnd:o,transitionEnd:r,prefix:i}}();a=y.prefix,t.transitionEnd=s=y.transitionEnd,t.animationEnd=c=y.animationEnd,t.transform=i=a+"-"+i,t.transitionProperty=u=a+"-transition-property",t.transitionDuration=l=a+"-transition-duration",t.transitionDelay=p=a+"-transition-delay",t.transitionTiming=f=a+"-transition-timing-function",t.animationName=d=a+"-animation-name",t.animationDuration=h=a+"-animation-duration",t.animationTiming=g=a+"-animation-delay",t.animationDelay=m=a+"-animation-timing-function"}t.transform=i,t.transitionProperty=u,t.transitionTiming=f,t.transitionDelay=p,t.transitionDuration=l,t.transitionEnd=s,t.animationName=d,t.animationDuration=h,t.animationTiming=g,t.animationDelay=m,t.animationEnd=c,t.default={transform:i,end:s,property:u,timing:f,delay:p,duration:l}},function(e,t,n){e.exports={getKeyBinding:n(359),hasSelectionInBlock:n(360),handleKeyCommand:n(361),handleReturn:n(368),onTab:n(371)}},function(e,t){function n(e){}e.exports=n},function(e,t){function n(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getStartKey();return"code-block"===n.getBlockForKey(r).getType()}e.exports=n},function(e,t,n){function r(e,t){if("backspace"===t)return o(e)}var o=n(362);e.exports=r},function(e,t,n){function r(e){var t=e.getCurrentContent(),n=e.getSelection();if(n.isCollapsed()){var r=n.getStartKey(),l=n.getStartOffset(),f=t.getBlockForKey(r),p=f.getText(),d=a(p),h=s(p),g=c(p,d),m=u(p,l,d),y=g.get(m.getLine()),v=y.slice(0,m.getOffset());if(i(v,h)){var b=l-h.length,w=n.merge({focusKey:r,focusOffset:b,anchorKey:r,anchorOffset:l,isBackward:!0}),k=o.Modifier.removeRange(t,w,"backward"),S=o.EditorState.push(e,k,"remove-range");return o.EditorState.forceSelection(S,k.getSelectionAfter())}}}var o=n(1),i=n(363),a=n(46),s=n(123),c=n(125),u=n(126);e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){if(Array.isArray(e))return e[e.length-1]===t;e=String(e),t=String(t);for(var n=t.length,r=e.length-n;n--;)if(t.charAt(n)!==e.charAt(r+n))return!1;return!0}},function(e,t,n){"use strict";e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");var t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return null;var n=t.filter(function(e){return"\r\n"===e}).length;return n>t.length-n?"\r\n":"\n"},e.exports.graceful=function(t){return e.exports(t)||"\n"}},function(e,t,n){"use strict";var r=n(366);e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("Expected `input` to be a string");if(t<0||!r(t))throw new TypeError("Expected `count` to be a positive finite number");var n="";do{1&t&&(n+=e),e+=e}while(t>>=1);return n}},function(e,t,n){"use strict";var r=n(367);e.exports=Number.isFinite||function(e){return!("number"!=typeof e||r(e)||e===1/0||e===-1/0)}},function(e,t,n){"use strict";e.exports=Number.isNaN||function(e){return e!==e}},function(e,t,n){function r(e,t){t.getCurrentContent(),t.getSelection();return o(t)}var o=(n(1),n(369));e.exports=r},function(e,t,n){function r(e){var t,n=e.getCurrentContent(),r=e.getSelection(),u=r.getStartKey(),l=r.getStartOffset(),f=n.getBlockForKey(u),p=f.getText(),d=i(p);if(r.isCollapsed()){var h=a(p,d),g=s(p,l,d).getLine(),m=h.get(g),y=d+c(m);t=o.Modifier.insertText(n,r,y)}else t=o.Modifier.replaceText(n,r,d);var v=o.EditorState.push(e,t,"insert-characters");return o.EditorState.forceSelection(v,t.getSelectionAfter())}var o=n(1),i=n(46),a=n(125),s=n(126),c=n(370);e.exports=r},function(e,t,n){function r(e){return o(e).indent||""}var o=n(124);e.exports=r},function(e,t,n){function r(e,t){e.preventDefault();var n,r=t.getCurrentContent(),a=t.getSelection(),s=a.getStartKey(),c=r.getBlockForKey(s),u=i(c.getText());return n=a.isCollapsed()?o.Modifier.insertText(r,a,u):o.Modifier.replaceText(r,a,u),o.EditorState.push(t,n,"insert-characters")}var o=n(1),i=n(123);e.exports=r},function(e,t,n){function r(e){this.options=a(e||{}),this.highlighted={}}function o(e,t,n,r){for(var o=t;o<n;o++)e[o]=r}var i=n(3),a=n(373);r.prototype.getDecorations=function(e){function t(e,n,r){if("string"!=typeof n){a="tok"+u++,s=p+"-"+a,m[p][a]=n,o(e,r,r+n.length,s);for(var i=r,c=0;c<n.content.length;c++){var l=n.content[c];t(e,l,i),i+=l.length}}}var n,r,a,s,c=0,u=0,l=this.options.get("filter"),f=this.options.get("getSyntax"),p=e.getKey(),d=e.getText(),h=Array(d.length).fill(null),g=this.options.get("prism"),m=this.highlighted;if(m[p]={},!l(e))return i.List(h);var y=f(e)||this.options.get("defaultSyntax");if(null==y)return i.List(h);var v=g.languages[y];n=g.tokenize(d,v);for(var b=0;b<n.length;b++)r=n[b],t(h,r,c),c+=r.length;return i.List(h)},r.prototype.getComponentForKey=function(e){return this.options.get("render")},r.prototype.getPropsForKey=function(e){var t=e.split("-"),n=t[0],r=t[1];return{type:this.highlighted[n][r].type}},e.exports=r},function(e,t,n){function r(e){return"code-block"===e.getType()}function o(e){return e.getData?e.getData().get("syntax"):null}function i(e){return e=u({},e,{className:"prism-token token "+e.type}),c.createElement("span",e,e.children)}var a=n(3),s=n(127),c=n(0),u=n(128),l=a.Record({defaultSyntax:null,filter:r,getSyntax:o,render:i,prism:s});e.exports=l},function(e,t,n){"use strict";var r=n(47);n.d(t,"a",function(){return r.a})},function(e,t){},function(e,t){Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/[a-z0-9_]+(?=\()/i,number:/\b-?(?:0x[\da-f]+|\d*\.?\d+(?:e[+-]?\d+)?)\b/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/}},function(e,t){Prism.languages.javascript=Prism.languages.extend("clike",{keyword:/\b(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\b/,number:/\b-?(?:0[xX][\dA-Fa-f]+|0[bB][01]+|0[oO][0-7]+|\d*\.?\d+(?:[Ee][+-]?\d+)?|NaN|Infinity)\b/,function:/[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*(?=\s*\()/i,operator:/-[-=]?|\+[+=]?|!=?=?|<<?=?|>>?>?=?|=(?:==?|>)?|&[&=]?|\|[|=]?|\*\*?=?|\/=?|~|\^=?|%=?|\?|\.{3}/}),Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/(^|[^\/])\/(?!\/)(\[[^\]\r\n]+]|\\.|[^\/\\\[\r\n])+\/[gimyu]{0,5}(?=\s*($|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*(?=\s*=\s*(?:function\b|(?:\([^()]*\)|[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)\s*=>))/i,alias:"function"}}),Prism.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^}]+\}/,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&Prism.languages.insertBefore("markup","tag",{script:{pattern:/(<script[\s\S]*?>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,inside:Prism.languages.javascript,alias:"language-javascript"}}),Prism.languages.js=Prism.languages.javascript},function(e,t){Prism.languages.actionscript=Prism.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|else|extends|finally|for|function|if|implements|import|in|instanceof|interface|internal|is|native|new|null|package|private|protected|public|return|super|switch|this|throw|try|typeof|use|var|void|while|with|dynamic|each|final|get|include|namespace|native|override|set|static)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),Prism.languages.actionscript["class-name"].alias="function",Prism.languages.markup&&Prism.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:{rest:Prism.languages.markup}}})},function(e,t){Prism.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/^(\s*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|AddAlt|AddAltByEncoding|AddAltByType|AddCharset|AddDefaultCharset|AddDescription|AddEncoding|AddHandler|AddIcon|AddIconByEncoding|AddIconByType|AddInputFilter|AddLanguage|AddModuleInfo|AddOutputFilter|AddOutputFilterByType|AddType|Alias|AliasMatch|Allow|AllowCONNECT|AllowEncodedSlashes|AllowMethods|AllowOverride|AllowOverrideList|Anonymous|Anonymous_LogEmail|Anonymous_MustGiveEmail|Anonymous_NoUserID|Anonymous_VerifyEmail|AsyncRequestWorkerFactor|AuthBasicAuthoritative|AuthBasicFake|AuthBasicProvider|AuthBasicUseDigestAlgorithm|AuthDBDUserPWQuery|AuthDBDUserRealmQuery|AuthDBMGroupFile|AuthDBMType|AuthDBMUserFile|AuthDigestAlgorithm|AuthDigestDomain|AuthDigestNonceLifetime|AuthDigestProvider|AuthDigestQop|AuthDigestShmemSize|AuthFormAuthoritative|AuthFormBody|AuthFormDisableNoStore|AuthFormFakeBasicAuth|AuthFormLocation|AuthFormLoginRequiredLocation|AuthFormLoginSuccessLocation|AuthFormLogoutLocation|AuthFormMethod|AuthFormMimetype|AuthFormPassword|AuthFormProvider|AuthFormSitePassphrase|AuthFormSize|AuthFormUsername|AuthGroupFile|AuthLDAPAuthorizePrefix|AuthLDAPBindAuthoritative|AuthLDAPBindDN|AuthLDAPBindPassword|AuthLDAPCharsetConfig|AuthLDAPCompareAsUser|AuthLDAPCompareDNOnServer|AuthLDAPDereferenceAliases|AuthLDAPGroupAttribute|AuthLDAPGroupAttributeIsDN|AuthLDAPInitialBindAsUser|AuthLDAPInitialBindPattern|AuthLDAPMaxSubGroupDepth|AuthLDAPRemoteUserAttribute|AuthLDAPRemoteUserIsDN|AuthLDAPSearchAsUser|AuthLDAPSubGroupAttribute|AuthLDAPSubGroupClass|AuthLDAPUrl|AuthMerging|AuthName|AuthnCacheContext|AuthnCacheEnable|AuthnCacheProvideFor|AuthnCacheSOCache|AuthnCacheTimeout|AuthnzFcgiCheckAuthnProvider|AuthnzFcgiDefineProvider|AuthType|AuthUserFile|AuthzDBDLoginToReferer|AuthzDBDQuery|AuthzDBDRedirectQuery|AuthzDBMType|AuthzSendForbiddenOnFailure|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|CacheDefaultExpire|CacheDetailHeader|CacheDirLength|CacheDirLevels|CacheDisable|CacheEnable|CacheFile|CacheHeader|CacheIgnoreCacheControl|CacheIgnoreHeaders|CacheIgnoreNoLastMod|CacheIgnoreQueryString|CacheIgnoreURLSessionIdentifiers|CacheKeyBaseURL|CacheLastModifiedFactor|CacheLock|CacheLockMaxAge|CacheLockPath|CacheMaxExpire|CacheMaxFileSize|CacheMinExpire|CacheMinFileSize|CacheNegotiatedDocs|CacheQuickHandler|CacheReadSize|CacheReadTime|CacheRoot|CacheSocache|CacheSocacheMaxSize|CacheSocacheMaxTime|CacheSocacheMinTime|CacheSocacheReadSize|CacheSocacheReadTime|CacheStaleOnError|CacheStoreExpired|CacheStoreNoStore|CacheStorePrivate|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|DeflateBufferSize|DeflateCompressionLevel|DeflateFilterNote|DeflateInflateLimitRequestBody|DeflateInflateRatioBurst|DeflateInflateRatioLimit|DeflateMemLevel|DeflateWindowSize|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|HeartbeatAddress|HeartbeatListen|HeartbeatMaxServers|HeartbeatStorage|HeartbeatStorage|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|IndexHeadInsert|IndexIgnore|IndexIgnoreReset|IndexOptions|IndexOrderDefault|IndexStyleSheet|InputSed|ISAPIAppendLogToErrors|ISAPIAppendLogToQuery|ISAPICacheFile|ISAPIFakeAsync|ISAPILogNotSupported|ISAPIReadAheadBuffer|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAPCacheEntries|LDAPCacheTTL|LDAPConnectionPoolTTL|LDAPConnectionTimeout|LDAPLibraryDebug|LDAPOpCacheEntries|LDAPOpCacheTTL|LDAPReferralHopLimit|LDAPReferrals|LDAPRetries|LDAPRetryDelay|LDAPSharedCacheFile|LDAPSharedCacheSize|LDAPTimeout|LDAPTrustedClientCert|LDAPTrustedGlobalCert|LDAPTrustedMode|LDAPVerifyServerCert|LimitInternalRecursion|LimitRequestBody|LimitRequestFields|LimitRequestFieldSize|LimitRequestLine|LimitXMLRequestBody|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|LuaHookAccessChecker|LuaHookAuthChecker|LuaHookCheckUserID|LuaHookFixups|LuaHookInsertFilter|LuaHookLog|LuaHookMapToStorage|LuaHookTranslateName|LuaHookTypeChecker|LuaInherit|LuaInputFilter|LuaMapHandler|LuaOutputFilter|LuaPackageCPath|LuaPackagePath|LuaQuickHandler|LuaRoot|LuaScope|MaxConnectionsPerChild|MaxKeepAliveRequests|MaxMemFree|MaxRangeOverlaps|MaxRangeReversals|MaxRanges|MaxRequestWorkers|MaxSpareServers|MaxSpareThreads|MaxThreads|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|ProxyAddHeaders|ProxyBadHeader|ProxyBlock|ProxyDomain|ProxyErrorOverride|ProxyExpressDBMFile|ProxyExpressDBMType|ProxyExpressEnable|ProxyFtpDirCharset|ProxyFtpEscapeWildcards|ProxyFtpListOnWildcard|ProxyHTMLBufSize|ProxyHTMLCharsetOut|ProxyHTMLDocType|ProxyHTMLEnable|ProxyHTMLEvents|ProxyHTMLExtended|ProxyHTMLFixups|ProxyHTMLInterp|ProxyHTMLLinks|ProxyHTMLMeta|ProxyHTMLStripComments|ProxyHTMLURLMap|ProxyIOBufferSize|ProxyMaxForwards|ProxyPass|ProxyPassInherit|ProxyPassInterpolateEnv|ProxyPassMatch|ProxyPassReverse|ProxyPassReverseCookieDomain|ProxyPassReverseCookiePath|ProxyPreserveHost|ProxyReceiveBufferSize|ProxyRemote|ProxyRemoteMatch|ProxyRequests|ProxySCGIInternalRedirect|ProxySCGISendfile|ProxySet|ProxySourceAddress|ProxyStatus|ProxyTimeout|ProxyVia|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIPHeader|RemoteIPInternalProxy|RemoteIPInternalProxyList|RemoteIPProxiesHeader|RemoteIPTrustedProxy|RemoteIPTrustedProxyList|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|RewriteBase|RewriteCond|RewriteEngine|RewriteMap|RewriteOptions|RewriteRule|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script|ScriptAlias|ScriptAliasMatch|ScriptInterpreterSource|ScriptLog|ScriptLogBuffer|ScriptLogLength|ScriptSock|SecureListen|SeeRequestTail|SendBufferSize|ServerAdmin|ServerAlias|ServerLimit|ServerName|ServerPath|ServerRoot|ServerSignature|ServerTokens|Session|SessionCookieName|SessionCookieName2|SessionCookieRemove|SessionCryptoCipher|SessionCryptoDriver|SessionCryptoPassphrase|SessionCryptoPassphraseFile|SessionDBDCookieName|SessionDBDCookieName2|SessionDBDCookieRemove|SessionDBDDeleteLabel|SessionDBDInsertLabel|SessionDBDPerUser|SessionDBDSelectLabel|SessionDBDUpdateLabel|SessionEnv|SessionExclude|SessionHeader|SessionInclude|SessionMaxAge|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSLCACertificateFile|SSLCACertificatePath|SSLCADNRequestFile|SSLCADNRequestPath|SSLCARevocationCheck|SSLCARevocationFile|SSLCARevocationPath|SSLCertificateChainFile|SSLCertificateFile|SSLCertificateKeyFile|SSLCipherSuite|SSLCompression|SSLCryptoDevice|SSLEngine|SSLFIPS|SSLHonorCipherOrder|SSLInsecureRenegotiation|SSLOCSPDefaultResponder|SSLOCSPEnable|SSLOCSPOverrideResponder|SSLOCSPResponderTimeout|SSLOCSPResponseMaxAge|SSLOCSPResponseTimeSkew|SSLOCSPUseRequestNonce|SSLOpenSSLConfCmd|SSLOptions|SSLPassPhraseDialog|SSLProtocol|SSLProxyCACertificateFile|SSLProxyCACertificatePath|SSLProxyCARevocationCheck|SSLProxyCARevocationFile|SSLProxyCARevocationPath|SSLProxyCheckPeerCN|SSLProxyCheckPeerExpire|SSLProxyCheckPeerName|SSLProxyCipherSuite|SSLProxyEngine|SSLProxyMachineCertificateChainFile|SSLProxyMachineCertificateFile|SSLProxyMachineCertificatePath|SSLProxyProtocol|SSLProxyVerify|SSLProxyVerifyDepth|SSLRandomSeed|SSLRenegBufferSize|SSLRequire|SSLRequireSSL|SSLSessionCache|SSLSessionCacheTimeout|SSLSessionTicketKeyFile|SSLSRPUnknownUserSeed|SSLSRPVerifierFile|SSLStaplingCache|SSLStaplingErrorCacheTimeout|SSLStaplingFakeTryLater|SSLStaplingForceURL|SSLStaplingResponderTimeout|SSLStaplingResponseMaxAge|SSLStaplingResponseTimeSkew|SSLStaplingReturnResponderErrors|SSLStaplingStandardCacheTimeout|SSLStrictSNIVHostCheck|SSLUserName|SSLUseStapling|SSLVerifyClient|SSLVerifyDepth|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|VirtualDocumentRoot|VirtualDocumentRootIP|VirtualScriptAlias|VirtualScriptAliasIP|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:AuthnProviderAlias|AuthzProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|RequireAll|RequireAny|RequireNone|VirtualHost)\b *.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:\w,?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}},function(e,t){Prism.languages.applescript={comment:[/\(\*(?:\(\*[\s\S]*?\*\)|[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/\b-?\d*\.?\d+([Ee]-?\d+)?\b/,operator:[/[&=\u2260\u2264\u2265*+\-\/\xf7^]|[<>]=?/,/\b(?:(?:start|begin|end)s? with|(?:(?:does not|doesn't) contain|contains?)|(?:is|isn't|is not) (?:in|contained by)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:(?:does not|doesn't) come|comes) (?:before|after)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equals|equal to|isn't|is not)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|or|div|mod|as|not))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,class:{pattern:/\b(?:alias|application|boolean|class|constant|date|file|integer|list|number|POSIX file|real|record|reference|RGB color|script|text|centimetres|centimeters|feet|inches|kilometres|kilometers|metres|meters|miles|yards|square feet|square kilometres|square kilometers|square metres|square meters|square miles|square yards|cubic centimetres|cubic centimeters|cubic feet|cubic inches|cubic metres|cubic meters|cubic yards|gallons|litres|liters|quarts|grams|kilograms|ounces|pounds|degrees Celsius|degrees Fahrenheit|degrees Kelvin)\b/,alias:"builtin"},punctuation:/[{}():,\xac\xab\xbb\u300a\u300b]/}},function(e,t){Prism.languages.aspnet=Prism.languages.extend("markup",{"page-directive tag":{pattern:/<%\s*@.*%>/i,inside:{"page-directive tag":/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,rest:Prism.languages.markup.tag.inside}},"directive tag":{pattern:/<%.*%>/i,inside:{"directive tag":/<%\s*?[$=%#:]{0,2}|%>/i,rest:Prism.languages.csharp}}}),Prism.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i,Prism.languages.insertBefore("inside","punctuation",{"directive tag":Prism.languages.aspnet["directive tag"]},Prism.languages.aspnet.tag.inside["attr-value"]),Prism.languages.insertBefore("aspnet","comment",{"asp comment":/<%--[\s\S]*?--%>/}),Prism.languages.insertBefore("aspnet",Prism.languages.javascript?"script":"tag",{"asp script":{pattern:/(<script(?=.*runat=['"]?server['"]?)[\s\S]*?>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,inside:Prism.languages.csharp||{}}})},function(e,t){!function(e){var t={variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b-?(?:0x[\dA-Fa-f]+|\d*\.?\d+(?:[Ee]-?\d+)?)\b/,operator:/--?|-=|\+\+?|\+=|!=?|~|\*\*?|\*=|\/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|\^=?|\|\|?|\|=|\?|:/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\([^)]+\)|`[^`]+`/,inside:{variable:/^\$\(|^`|\)$|`$/}},/\$(?:[\w#?*!@]+|\{[^}]+\})/i]};e.languages.bash={shebang:{pattern:/^#!\s*\/bin\/bash|^#!\s*\/bin\/sh/,alias:"important"},comment:{pattern:/(^|[^"{\\])#.*/,lookbehind:!0},string:[{pattern:/((?:^|[^<])<<\s*)["']?(\w+?)["']?\s*\r?\n(?:[\s\S])*?\r?\n\2/,lookbehind:!0,greedy:!0,inside:t},{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,inside:t}],variable:t.variable,function:{pattern:/(^|[\s;|&])(?:alias|apropos|apt-get|aptitude|aspell|awk|basename|bash|bc|bg|builtin|bzip2|cal|cat|cd|cfdisk|chgrp|chmod|chown|chroot|chkconfig|cksum|clear|cmp|comm|command|cp|cron|crontab|csplit|cut|date|dc|dd|ddrescue|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|enable|env|ethtool|eval|exec|expand|expect|export|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|getopts|git|grep|groupadd|groupdel|groupmod|groups|gzip|hash|head|help|hg|history|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|jobs|join|kill|killall|less|link|ln|locate|logname|logout|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|make|man|mkdir|mkfifo|mkisofs|mknod|more|most|mount|mtools|mtr|mv|mmv|nano|netstat|nice|nl|nohup|notify-send|npm|nslookup|open|op|passwd|paste|pathchk|ping|pkill|popd|pr|printcap|printenv|printf|ps|pushd|pv|pwd|quota|quotacheck|quotactl|ram|rar|rcp|read|readarray|readonly|reboot|rename|renice|remsync|rev|rm|rmdir|rsync|screen|scp|sdiff|sed|seq|service|sftp|shift|shopt|shutdown|sleep|slocate|sort|source|split|ssh|stat|strace|su|sudo|sum|suspend|sync|tail|tar|tee|test|time|timeout|times|touch|top|traceroute|trap|tr|tsort|tty|type|ulimit|umask|umount|unalias|uname|unexpand|uniq|units|unrar|unshar|uptime|useradd|userdel|usermod|users|uuencode|uudecode|v|vdir|vi|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yes|zip)(?=$|[\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&])(?:let|:|\.|if|then|else|elif|fi|for|break|continue|while|in|case|function|select|do|done|until|echo|exit|return|set|declare)(?=$|[\s;|&])/,lookbehind:!0},boolean:{pattern:/(^|[\s;|&])(?:true|false)(?=$|[\s;|&])/,lookbehind:!0},operator:/&&?|\|\|?|==?|!=?|<<<?|>>|<=?|>=?|=~/,punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];]/};var n=t.variable[1].inside;n.function=e.languages.bash.function,n.keyword=e.languages.bash.keyword,n.boolean=e.languages.bash.boolean,n.operator=e.languages.bash.operator,n.punctuation=e.languages.bash.punctuation}(Prism)},function(e,t){Prism.languages.basic={string:/"(?:""|[!#$%&'()*,\/:;<=>?^_ +\-.A-Z\d])*"/i,comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},number:/(?:\b|\B[.-])(?:\d+\.?\d*)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SHARED|SINGLE|SELECT CASE|SHELL|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}},function(e,t){!function(e){var t=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},r=/"[^"]*"/,o=/(?:\b|-)\d+\b/;e.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: ?\/[a-z?](?:[ :](?:"[^"]*"|\S+))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/^for\b|\b(?:in|do)\b/i,string:r,parameter:n,variable:t,number:o,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: ?\/[a-z?](?:[ :](?:"[^"]*"|\S+))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|\S+)?(?:==| (?:equ|neq|lss|leq|gtr|geq) )(?:"[^"]*"|\S+))/im,lookbehind:!0,inside:{keyword:/^if\b|\b(?:not|cmdextversion|defined|errorlevel|exist)\b/i,string:r,parameter:n,variable:t,number:o,operator:/\^|==|\b(?:equ|neq|lss|leq|gtr|geq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: ?\/[a-z](?:[ :](?:"[^"]*"|\S+))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:r,parameter:n,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:o,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^\w+\b/i,string:r,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:o,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}(Prism)},function(e,t){Prism.languages.c=Prism.languages.extend("clike",{keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,operator:/-[>-]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/]/,number:/\b-?(?:0x[\da-f]+|\d*\.?\d+(?:e[+-]?\d+)?)[ful]*\b/i}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^\s*)#\s*[a-z]+(?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,alias:"property",inside:{string:{pattern:/(#\s*include\s*)(?:<.+?>|("|')(?:\\?.)+?\2)/,lookbehind:!0},directive:{pattern:/(#\s*)\b(?:define|defined|elif|else|endif|error|ifdef|ifndef|if|import|include|line|pragma|undef|using)\b/,lookbehind:!0,alias:"keyword"}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete Prism.languages.c["class-name"],delete Prism.languages.c.boolean},function(e,t){!function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},rest:e.languages.javascript}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"]}(Prism)},function(e,t){Prism.languages.cpp=Prism.languages.extend("c",{keyword:/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|class|compl|const|constexpr|const_cast|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|float|for|friend|goto|if|inline|int|long|mutable|namespace|new|noexcept|nullptr|operator|private|protected|public|register|reinterpret_cast|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,boolean:/\b(?:true|false)\b/,operator:/--?|\+\+?|!=?|<{1,2}=?|>{1,2}=?|->|:{1,2}|={1,2}|\^|~|%|&{1,2}|\|\|?|\?|\*|\/|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/}),Prism.languages.insertBefore("cpp","keyword",{"class-name":{pattern:/(class\s+)\w+/i,lookbehind:!0}})},function(e,t){Prism.languages.csharp=Prism.languages.extend("clike",{keyword:/\b(abstract|as|async|await|base|bool|break|byte|case|catch|char|checked|class|const|continue|decimal|default|delegate|do|double|else|enum|event|explicit|extern|false|finally|fixed|float|for|foreach|goto|if|implicit|in|int|interface|internal|is|lock|long|namespace|new|null|object|operator|out|override|params|private|protected|public|readonly|ref|return|sbyte|sealed|short|sizeof|stackalloc|static|string|struct|switch|this|throw|true|try|typeof|uint|ulong|unchecked|unsafe|ushort|using|virtual|void|volatile|while|add|alias|ascending|async|await|descending|dynamic|from|get|global|group|into|join|let|orderby|partial|remove|select|set|value|var|where|yield)\b/,string:[{pattern:/@("|')(?:\1\1|\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*?\1/,greedy:!0}],number:/\b-?(?:0x[\da-f]+|\d*\.?\d+f?)\b/i}),Prism.languages.insertBefore("csharp","keyword",{"generic-method":{pattern:/[a-z0-9_]+\s*<[^>\r\n]+?>\s*(?=\()/i,alias:"function",inside:{keyword:Prism.languages.csharp.keyword,punctuation:/[<>(),.:]/}},preprocessor:{pattern:/(^\s*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(\s*#)\b(?:define|elif|else|endif|endregion|error|if|line|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}})},function(e,t){Prism.languages.css.selector={pattern:/[^{}\s][^{}]*(?=\s*\{)/,inside:{"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+(?:\(.*\))?/,class:/\.[-:.\w]+/,id:/#[-:.\w]+/,attribute:/\[[^\]]+\]/}},Prism.languages.insertBefore("css","function",{hexcode:/#[\da-f]{3,8}/i,entity:/\\[\da-f]{1,8}/i,number:/[\d%.]+/})},function(e,t){Prism.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(?:;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^{}\s][^{};]*?(?=\s*\{)/,string:{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},property:/[\w-]+(?=\s*:)/i,important:/\B!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},Prism.languages.css.atrule.inside.rest=Prism.util.clone(Prism.languages.css),Prism.languages.markup&&(Prism.languages.insertBefore("markup","tag",{style:{pattern:/(<style[\s\S]*?>)[\s\S]*?(?=<\/style>)/i,lookbehind:!0,inside:Prism.languages.css,alias:"language-css"}}),Prism.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:Prism.languages.markup.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:Prism.languages.css}},alias:"language-css"}},Prism.languages.markup.tag))},function(e,t){Prism.languages.d=Prism.languages.extend("clike",{string:[/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/,/\bq"([_a-zA-Z][_a-zA-Z\d]*)(?:\r?\n|\r)[\s\S]*?(?:\r?\n|\r)\1"/,/\bq"(.)[\s\S]*?\1"/,/'(?:\\'|\\?[^']+)'/,/(["`])(?:\\[\s\S]|(?!\1)[^\\])*\1[cwd]?/],number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]*/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]*/i,lookbehind:!0}],keyword:/\$|\b(?:abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|public|pure|real|ref|return|scope|shared|short|static|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|__(?:(?:FILE|MODULE|LINE|FUNCTION|PRETTY_FUNCTION|DATE|EOF|TIME|TIMESTAMP|VENDOR|VERSION)__|gshared|traits|vector|parameters)|string|wstring|dstring|size_t|ptrdiff_t)\b/,operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),Prism.languages.d.comment=[/^\s*#!.+/,{pattern:/(^|[^\\])\/\+(?:\/\+[\s\S]*?\+\/|[\s\S])*?\+\//,lookbehind:!0}].concat(Prism.languages.d.comment),Prism.languages.insertBefore("d","comment",{"token-string":{pattern:/\bq\{(?:\{[^}]*\}|[^}])*\}/,alias:"string"}}),Prism.languages.insertBefore("d","keyword",{property:/\B@\w*/}),Prism.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E[ABCD]X|E?(?:BP|SP|DI|SI)|[ECSDGF]S|CR[0234]|DR[012367]|TR[3-7]|X?MM[0-7]|R[ABCD]X|[BS]PL|R[BS]P|[DS]IL|R[DS]I|R(?:[89]|1[0-5])[BWD]?|XMM(?:[89]|1[0-5])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})},function(e,t){Prism.languages.dart=Prism.languages.extend("clike",{string:[{pattern:/r?("""|''')[\s\S]*?\1/,greedy:!0},{pattern:/r?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|default|deferred|do|dynamic|else|enum|export|external|extends|factory|final|finally|for|get|if|implements|import|in|library|new|null|operator|part|rethrow|return|set|static|super|switch|this|throw|try|typedef|var|void|while|with|yield)\b/],operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),Prism.languages.insertBefore("dart","function",{metadata:{pattern:/@\w+/,alias:"symbol"}})},function(e,t){Prism.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d+.*$/m],deleted:/^[-<].*$/m,inserted:/^[+>].*$/m,diff:{pattern:/^!(?!!).+$/m,alias:"important"}}},function(e,t){Prism.languages.docker={keyword:{pattern:/(^\s*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)/im,lookbehind:!0},string:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,comment:/#.*/,punctuation:/---|\.\.\.|[:[\]{}\-,|>?]/},Prism.languages.dockerfile=Prism.languages.docker},function(e,t){Prism.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:true|false)\b/,keyword:/\b(?:fun|when|case|of|end|if|receive|after|try|catch)\b/,number:[/\$\\?./,/\d+#[a-z0-9]+/i,/(?:\b|-)\d*\.?\d+([Ee][+-]?\d+)?\b/],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:bnot|div|rem|band|bor|bxor|bsl|bsr|not|and|or|xor|orelse|andalso)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}},function(e,t){Prism.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:\s*!.+(?:\r\n?|\n))?|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:/!.*/,boolean:/\.(?:TRUE|FALSE)\.(?:_\w+)?/i,number:/(?:\b|[+-])(?:\d+(?:\.\d*)?|\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:INTEGER|REAL|DOUBLE ?PRECISION|COMPLEX|CHARACTER|LOGICAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEWHERE|ELSEIF|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.(?:EQ|NE|LT|LE|GT|GE|NOT|AND|OR|EQV|NEQV)\.|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}},function(e,t){Prism.languages.fsharp=Prism.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*[\s\S]*?\*\)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0}],keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(abstract|and|as|assert|base|begin|class|default|delegate|do|done|downcast|downto|elif|else|end|exception|extern|false|finally|for|fun|function|global|if|in|inherit|inline|interface|internal|lazy|match|member|module|mutable|namespace|new|not|null|of|open|or|override|private|public|rec|select|static|struct|then|to|true|try|type|upcast|val|void|when|while|with|asr|land|lor|lsl|lsr|lxor|mod|sig|atomic|break|checked|component|const|constraint|constructor|continue|eager|event|external|fixed|functor|include|method|mixin|object|parallel|process|protected|pure|sealed|tailcall|trait|virtual|volatile)\b/,string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1)B?/,greedy:!0},number:[/\b-?0x[\da-fA-F]+(?:un|lf|LF)?\b/,/\b-?0b[01]+(?:y|uy)?\b/,/\b-?(?:\d*\.?\d+|\d+\.)(?:[fFmM]|[eE][+-]?\d+)?\b/,/\b-?\d+(?:y|uy|s|us|l|u|ul|L|UL|I)?\b/]}),Prism.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/^[^\r\n\S]*#.*/m,alias:"property",inside:{directive:{pattern:/(\s*#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}})},function(e,t){Prism.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/m,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/m}},coord:/^@@.*@@$/m,commit_sha1:/^commit \w{40}$/m}},function(e,t){Prism.languages.glsl=Prism.languages.extend("clike",{comment:[/\/\*[\s\S]*?\*\//,/\/\/(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/],number:/\b(?:0x[\da-f]+|(?:\.\d+|\d+\.?\d*)(?:e[+-]?\d+)?)[ulf]*\b/i,keyword:/\b(?:attribute|const|uniform|varying|buffer|shared|coherent|volatile|restrict|readonly|writeonly|atomic_uint|layout|centroid|flat|smooth|noperspective|patch|sample|break|continue|do|for|while|switch|case|default|if|else|subroutine|in|out|inout|float|double|int|void|bool|true|false|invariant|precise|discard|return|d?mat[234](?:x[234])?|[ibdu]?vec[234]|uint|lowp|mediump|highp|precision|[iu]?sampler[123]D|[iu]?samplerCube|sampler[12]DShadow|samplerCubeShadow|[iu]?sampler[12]DArray|sampler[12]DArrayShadow|[iu]?sampler2DRect|sampler2DRectShadow|[iu]?samplerBuffer|[iu]?sampler2DMS(?:Array)?|[iu]?samplerCubeArray|samplerCubeArrayShadow|[iu]?image[123]D|[iu]?image2DRect|[iu]?imageCube|[iu]?imageBuffer|[iu]?image[12]DArray|[iu]?imageCubeArray|[iu]?image2DMS(?:Array)?|struct|common|partition|active|asm|class|union|enum|typedef|template|this|resource|goto|inline|noinline|public|static|extern|external|interface|long|short|half|fixed|unsigned|superp|input|output|hvec[234]|fvec[234]|sampler3DRect|filter|sizeof|cast|namespace|using)\b/}),Prism.languages.insertBefore("glsl","comment",{preprocessor:{pattern:/(^[ \t]*)#(?:(?:define|undef|if|ifdef|ifndef|else|elif|endif|error|pragma|extension|version|line)\b)?/m,lookbehind:!0,alias:"builtin"}})},function(e,t){Prism.languages.go=Prism.languages.extend("clike",{keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,number:/\b(-?(0x[a-f\d]+|(\d+\.?\d*|\.\d+)(e[-+]?\d+)?)i?)\b/i,string:{pattern:/(["'`])(\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0}}),delete Prism.languages.go["class-name"]},function(e,t){Prism.languages.graphql={comment:/#.*/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b/,boolean:/\b(?:true|false)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":/[a-z_]\w*(?=\s*:)/i,keyword:[{pattern:/(fragment\s+(?!on)[a-z_]\w*\s+|\.{3}\s*)on\b/,lookbehind:!0},/\b(?:query|fragment|mutation)\b/],operator:/!|=|\.{3}/,punctuation:/[!(){}\[\]:=,]/}},function(e,t){!function(e){e.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ]+.+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ]+.*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ]+.+)/,lookbehind:!0,inside:{rest:e.languages.ruby}},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ]+.*\|[\t ]*)*/,lookbehind:!0,inside:{rest:e.languages.ruby}}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ]+.+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:{rest:e.languages.markup}},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^}])+\}/,lookbehind:!0,inside:{rest:e.languages.ruby}},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:{rest:e.languages.ruby}}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:{rest:e.languages.ruby}},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:e.languages.ruby}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var t="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ]+.+|\\s*?(?=\\r?\\n|\\r)))+",n=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],r={},o=0,i=n.length;o<i;o++){var a=n[o];a="string"==typeof a?{filter:a,language:a}:a,e.languages[a.language]&&(r["filter-"+a.filter]={pattern:RegExp(t.replace("{{filter_name}}",a.filter)),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},rest:e.languages[a.language]}})}e.languages.insertBefore("haml","filter",r)}(Prism)},function(e,t){Prism.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--[^-!#$%*+=?&@|~.:<>^\\\/].*|{-[\s\S]*?-})/m,lookbehind:!0},char:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,string:{pattern:/"(?:[^\\"]|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|\d+|o[0-7]+|x[0-9a-fA-F]+)|\\\s+\\)*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,import_statement:{pattern:/((?:\r?\n|\r|^)\s*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][_a-zA-Z0-9']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:import|qualified|as|hiding)\b/}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[-!#$%*+=?&@|~.:<>^\\\/]*\.[-!#$%*+=?&@|~.:<>^\\\/]+|[-!#$%*+=?&@|~.:<>^\\\/]+\.[-!#$%*+=?&@|~.:<>^\\\/]*|[-!#$%*+=?&@|~:<>^\\\/]+|`([A-Z][\w']*\.)*[_a-z][\w']*`/,hvariable:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*\b/,constant:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*\b/,punctuation:/[{}[\];(),.:]/}},function(e,t){Prism.languages.haxe=Prism.languages.extend("clike",{string:{pattern:/(["'])(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^}]+\})/,lookbehind:!0,inside:{interpolation:{pattern:/^\$\w*/,alias:"variable"}}}}},keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|from|for|function|if|implements|import|in|inline|interface|macro|new|null|override|public|private|return|static|super|switch|throw|to|try|typedef|using|var|while)(?!\.)\b/,operator:/\.{3}|\+\+?|-[->]?|[=!]=?|&&?|\|\|?|<[<=]?|>[>=]?|[*\/%~^]/}),Prism.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[igmsu]*/,greedy:!0}}),Prism.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#\w+/,alias:"builtin"},metadata:{pattern:/@:?\w+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"variable"}}),Prism.languages.haxe.string.inside.interpolation.inside.rest=Prism.util.clone(Prism.languages.haxe),delete Prism.languages.haxe["class-name"]},function(e,t){Prism.languages.http={"request-line":{pattern:/^(?:POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\shttps?:\/\/\S+\sHTTP\/[0-9.]+/m,inside:{property:/^(?:POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\b/,"attr-name":/:\w+/}},"response-status":{pattern:/^HTTP\/1.[01] \d+.*/m,inside:{property:{pattern:/(^HTTP\/1.[01] )\d+.*/i,lookbehind:!0}}},"header-name":{pattern:/^[\w-]+:(?=.)/m,alias:"keyword"}};var n={"application/json":Prism.languages.javascript,"application/xml":Prism.languages.markup,"text/xml":Prism.languages.markup,"text/html":Prism.languages.markup};for(var r in n)if(n[r]){var o={};o[r]={pattern:new RegExp("(content-type:\\s*"+r+"[\\w\\W]*?)(?:\\r?\\n|\\r){2}[\\w\\W]*","i"),lookbehind:!0,inside:{rest:n[r]}},Prism.languages.insertBefore("http","header-name",o)}},function(e,t){Prism.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|<?=?)|>>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}},function(e,t){Prism.languages.ini={comment:/^[ \t]*;.*$/m,selector:/^[ \t]*\[.*?\]/m,constant:/^[ \t]*[^\s=]+?(?=[ \t]*=)/m,"attr-value":{pattern:/=.*/,inside:{punctuation:/^[=]/}}}},function(e,t){Prism.languages.j={comment:/\bNB\..*/,string:{pattern:/'(?:''|[^'\r\n])*'/,greedy:!0},keyword:/\b(?:(?:adverb|conjunction|CR|def|define|dyad|LF|monad|noun|verb)\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\w+|goto_\w+|if|label_\w+|return|select|throw|try|while|whilst)\.)/,verb:{pattern:/(?!\^:|;\.|[=!][.:])(?:\{(?:\.|::?)?|p(?:\.\.?|:)|[=!\]]|[<>+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:[ejpx]|ad|ar)_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}},function(e,t){Prism.languages.java=Prism.languages.extend("clike",{keyword:/\b(?:abstract|continue|for|new|switch|assert|default|goto|package|synchronized|boolean|do|if|private|this|break|double|implements|protected|throw|byte|else|import|public|throws|case|enum|instanceof|return|transient|catch|extends|int|short|try|char|final|interface|static|void|class|finally|long|strictfp|volatile|const|float|native|super|while)\b/,number:/\b0b[01]+\b|\b0x[\da-f]*\.?[\da-fp\-]+\b|\b\d*\.?\d+(?:e[+-]?\d+)?[df]?\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|!=?|<<?=?|>>?>?=?|==?|&[&=]?|\|[|=]?|\*=?|\/=?|%=?|\^=?|[?:~])/m,lookbehind:!0}}),Prism.languages.insertBefore("java","function",{annotation:{alias:"punctuation",pattern:/(^|[^.])@\w+/,lookbehind:!0}})},function(e,t){Prism.languages.json={property:/"(?:\\.|[^\\"\r\n])*"(?=\s*:)/i,string:{pattern:/"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,greedy:!0},number:/\b-?(?:0x[\dA-Fa-f]+|\d*\.?\d+(?:[Ee][+-]?\d+)?)\b/,punctuation:/[{}[\]);,]/,operator:/:/g,boolean:/\b(?:true|false)\b/i,null:/\bnull\b/i},Prism.languages.jsonp=Prism.languages.json},function(e,t){!function(e){var t=e.util.clone(e.languages.javascript);e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=/<\/?[\w.:-]+\s*(?:\s+(?:[\w\.:-]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+|(?:\{[^}]*\})))?|\{\.{3}\w+\}))*\s*\/?>/i,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">]+)/i,e.languages.insertBefore("inside","attr-name",{spread:{pattern:/\{\.{3}\w+\}/,inside:{punctuation:/[{}]|\.{3}/,"attr-value":/\w+/}}},e.languages.jsx.tag);var n=e.util.clone(e.languages.jsx);delete n.punctuation,n=e.languages.insertBefore("jsx","operator",{punctuation:/=(?={)|[{}[\];(),.:]/},{jsx:n}),e.languages.insertBefore("inside","attr-value",{script:{pattern:/=(\{(?:\{[^}]*\}|[^}])+\})/i,inside:n,alias:"language-javascript"}},e.languages.jsx.tag)}(Prism)},function(e,t){!function(e){var t=/\\(?:[^a-z()[\]]|[a-z*]+)/i,n={"equation-command":{pattern:t,alias:"regex"}};e.languages.latex={comment:/%.*/m,cdata:{pattern:/(\\begin\{((?:verbatim|lstlisting)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$(?:\\[\s\S]|[^\\$])*\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:n,alias:"string"},{pattern:/(\\begin\{((?:equation|math|eqnarray|align|multline|gather)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:n,alias:"string"}],keyword:{pattern:/(\\(?:begin|end|ref|cite|label|usepackage|documentclass)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:part|chapter|section|subsection|frametitle|subsubsection|paragraph|subparagraph|subsubparagraph|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\}(?:\[[^\]]+\])?)/,lookbehind:!0,alias:"class-name"},function:{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/}}(Prism)},function(e,t){Prism.languages.less=Prism.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-]+?(?:\([^{}]+\)|[^(){};])*?(?=\s*\{)/i,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\([^{}]*\)|[^{};@])*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/i,punctuation:/[{}();:,]/,operator:/[+\-*\/]/}),Prism.languages.insertBefore("less","punctuation",{function:Prism.languages.less.function}),Prism.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-]+.*?(?=[(;])/,lookbehind:!0,alias:"function"}})},function(e,t){Prism.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[\s\S]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+\.?[a-f\d]*(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|\.?\d*(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}},function(e,t){Prism.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},builtin:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,symbol:{pattern:/^[^:=\r\n]+(?=\s*:(?!=))/m,inside:{variable:/\$+(?:[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:[/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,{pattern:/(\()(?:addsuffix|abspath|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:s|list)?)(?=[ \t])/,lookbehind:!0}],operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}},function(e,t){Prism.languages.markdown=Prism.languages.extend("markup",{}),Prism.languages.insertBefore("markdown","prolog",{blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},code:[{pattern:/^(?: {4}|\t).+/m,alias:"keyword"},{pattern:/``.+?``|`[^`\n]+`/,alias:"keyword"}],title:[{pattern:/\w+.*(?:\r?\n|\r)(?:==+|--+)/,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#+.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:/(^|[^\\])(\*\*|__)(?:(?:\r?\n|\r)(?!\r?\n|\r)|.)+?\2/,lookbehind:!0,inside:{punctuation:/^\*\*|^__|\*\*$|__$/}},italic:{pattern:/(^|[^\\])([*_])(?:(?:\r?\n|\r)(?!\r?\n|\r)|.)+?\2/,lookbehind:!0,inside:{punctuation:/^[*_]|[*_]$/}},url:{pattern:/!?\[[^\]]+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)| ?\[[^\]\n]*\])/,inside:{variable:{pattern:/(!?\[)[^\]]+(?=\]$)/,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\])*"(?=\)$)/}}}}),Prism.languages.markdown.bold.inside.url=Prism.util.clone(Prism.languages.markdown.url),Prism.languages.markdown.italic.inside.url=Prism.util.clone(Prism.languages.markdown.url),Prism.languages.markdown.bold.inside.italic=Prism.util.clone(Prism.languages.markdown.italic),Prism.languages.markdown.italic.inside.bold=Prism.util.clone(Prism.languages.markdown.bold)},function(e,t){Prism.languages.markup={comment:/<!--[\s\S]*?-->/,prolog:/<\?[\s\S]+?\?>/,doctype:/<!DOCTYPE[\s\S]+?>/i,cdata:/<!\[CDATA\[[\s\S]*?]]>/i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/(^|[^\\])["']/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Prism.languages.xml=Prism.languages.markup,Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup},function(e,t){Prism.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/\b-?(?:\d*\.?\d+(?:[eE][+-]?\d+)?(?:[ij])?|[ij])\b/,keyword:/\b(?:break|case|catch|continue|else|elseif|end|for|function|if|inf|NaN|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}},function(e,t){Prism.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/(?:\b|-)(?:0x[\da-fA-F]+|\d+\.?\d*)/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\w+(?=\()|\b(?:about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|CBG|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|Mayatomr|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},Prism.languages.mel.code.inside.rest=Prism.util.clone(Prism.languages.mel)},function(e,t){Prism.languages.nginx=Prism.languages.extend("clike",{comment:{pattern:/(^|[^"{\\])#.*/,lookbehind:!0},keyword:/\b(?:CONTENT_|DOCUMENT_|GATEWAY_|HTTP_|HTTPS|if_not_empty|PATH_|QUERY_|REDIRECT_|REMOTE_|REQUEST_|SCGI|SCRIPT_|SERVER_|http|events|accept_mutex|accept_mutex_delay|access_log|add_after_body|add_before_body|add_header|addition_types|aio|alias|allow|ancient_browser|ancient_browser_value|auth|auth_basic|auth_basic_user_file|auth_http|auth_http_header|auth_http_timeout|autoindex|autoindex_exact_size|autoindex_localtime|break|charset|charset_map|charset_types|chunked_transfer_encoding|client_body_buffer_size|client_body_in_file_only|client_body_in_single_buffer|client_body_temp_path|client_body_timeout|client_header_buffer_size|client_header_timeout|client_max_body_size|connection_pool_size|create_full_put_path|daemon|dav_access|dav_methods|debug_connection|debug_points|default_type|deny|devpoll_changes|devpoll_events|directio|directio_alignment|disable_symlinks|empty_gif|env|epoll_events|error_log|error_page|expires|fastcgi_buffer_size|fastcgi_buffers|fastcgi_busy_buffers_size|fastcgi_cache|fastcgi_cache_bypass|fastcgi_cache_key|fastcgi_cache_lock|fastcgi_cache_lock_timeout|fastcgi_cache_methods|fastcgi_cache_min_uses|fastcgi_cache_path|fastcgi_cache_purge|fastcgi_cache_use_stale|fastcgi_cache_valid|fastcgi_connect_timeout|fastcgi_hide_header|fastcgi_ignore_client_abort|fastcgi_ignore_headers|fastcgi_index|fastcgi_intercept_errors|fastcgi_keep_conn|fastcgi_max_temp_file_size|fastcgi_next_upstream|fastcgi_no_cache|fastcgi_param|fastcgi_pass|fastcgi_pass_header|fastcgi_read_timeout|fastcgi_redirect_errors|fastcgi_send_timeout|fastcgi_split_path_info|fastcgi_store|fastcgi_store_access|fastcgi_temp_file_write_size|fastcgi_temp_path|flv|geo|geoip_city|geoip_country|google_perftools_profiles|gzip|gzip_buffers|gzip_comp_level|gzip_disable|gzip_http_version|gzip_min_length|gzip_proxied|gzip_static|gzip_types|gzip_vary|if|if_modified_since|ignore_invalid_headers|image_filter|image_filter_buffer|image_filter_jpeg_quality|image_filter_sharpen|image_filter_transparency|imap_capabilities|imap_client_buffer|include|index|internal|ip_hash|keepalive|keepalive_disable|keepalive_requests|keepalive_timeout|kqueue_changes|kqueue_events|large_client_header_buffers|limit_conn|limit_conn_log_level|limit_conn_zone|limit_except|limit_rate|limit_rate_after|limit_req|limit_req_log_level|limit_req_zone|limit_zone|lingering_close|lingering_time|lingering_timeout|listen|location|lock_file|log_format|log_format_combined|log_not_found|log_subrequest|map|map_hash_bucket_size|map_hash_max_size|master_process|max_ranges|memcached_buffer_size|memcached_connect_timeout|memcached_next_upstream|memcached_pass|memcached_read_timeout|memcached_send_timeout|merge_slashes|min_delete_depth|modern_browser|modern_browser_value|mp4|mp4_buffer_size|mp4_max_buffer_size|msie_padding|msie_refresh|multi_accept|open_file_cache|open_file_cache_errors|open_file_cache_min_uses|open_file_cache_valid|open_log_file_cache|optimize_server_names|override_charset|pcre_jit|perl|perl_modules|perl_require|perl_set|pid|pop3_auth|pop3_capabilities|port_in_redirect|post_action|postpone_output|protocol|proxy|proxy_buffer|proxy_buffer_size|proxy_buffering|proxy_buffers|proxy_busy_buffers_size|proxy_cache|proxy_cache_bypass|proxy_cache_key|proxy_cache_lock|proxy_cache_lock_timeout|proxy_cache_methods|proxy_cache_min_uses|proxy_cache_path|proxy_cache_use_stale|proxy_cache_valid|proxy_connect_timeout|proxy_cookie_domain|proxy_cookie_path|proxy_headers_hash_bucket_size|proxy_headers_hash_max_size|proxy_hide_header|proxy_http_version|proxy_ignore_client_abort|proxy_ignore_headers|proxy_intercept_errors|proxy_max_temp_file_size|proxy_method|proxy_next_upstream|proxy_no_cache|proxy_pass|proxy_pass_error_message|proxy_pass_header|proxy_pass_request_body|proxy_pass_request_headers|proxy_read_timeout|proxy_redirect|proxy_redirect_errors|proxy_send_lowat|proxy_send_timeout|proxy_set_body|proxy_set_header|proxy_ssl_session_reuse|proxy_store|proxy_store_access|proxy_temp_file_write_size|proxy_temp_path|proxy_timeout|proxy_upstream_fail_timeout|proxy_upstream_max_fails|random_index|read_ahead|real_ip_header|recursive_error_pages|request_pool_size|reset_timedout_connection|resolver|resolver_timeout|return|rewrite|root|rtsig_overflow_events|rtsig_overflow_test|rtsig_overflow_threshold|rtsig_signo|satisfy|satisfy_any|secure_link_secret|send_lowat|send_timeout|sendfile|sendfile_max_chunk|server|server_name|server_name_in_redirect|server_names_hash_bucket_size|server_names_hash_max_size|server_tokens|set|set_real_ip_from|smtp_auth|smtp_capabilities|so_keepalive|source_charset|split_clients|ssi|ssi_silent_errors|ssi_types|ssi_value_length|ssl|ssl_certificate|ssl_certificate_key|ssl_ciphers|ssl_client_certificate|ssl_crl|ssl_dhparam|ssl_engine|ssl_prefer_server_ciphers|ssl_protocols|ssl_session_cache|ssl_session_timeout|ssl_verify_client|ssl_verify_depth|starttls|stub_status|sub_filter|sub_filter_once|sub_filter_types|tcp_nodelay|tcp_nopush|timeout|timer_resolution|try_files|types|types_hash_bucket_size|types_hash_max_size|underscores_in_headers|uninitialized_variable_warn|upstream|use|user|userid|userid_domain|userid_expires|userid_name|userid_p3p|userid_path|userid_service|valid_referers|variables_hash_bucket_size|variables_hash_max_size|worker_connections|worker_cpu_affinity|worker_priority|worker_processes|worker_rlimit_core|worker_rlimit_nofile|worker_rlimit_sigpending|working_directory|xclient|xml_entities|xslt_entities|xslt_stylesheet|xslt_types)\b/i}),Prism.languages.insertBefore("nginx","keyword",{variable:/\$[a-z_]+/i})},function(e,t){Prism.languages.objectivec=Prism.languages.extend("c",{keyword:/\b(?:asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while|in|self|super)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,string:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|@"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/})},function(e,t){Prism.languages.parser=Prism.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/}),Prism.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:Prism.languages.parser.keyword,variable:Prism.languages.parser.variable,function:Prism.languages.parser.function,boolean:/\b(?:true|false)\b/,number:/\b(?:0x[a-f\d]+|\d+\.?\d*(?:e[+-]?\d+)?)\b/i,escape:Prism.languages.parser.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:Prism.languages.parser.punctuation}}}),Prism.languages.insertBefore("inside","punctuation",{expression:Prism.languages.parser.expression,keyword:Prism.languages.parser.keyword,variable:Prism.languages.parser.variable,function:Prism.languages.parser.function,escape:Prism.languages.parser.escape,"parser-punctuation":{pattern:Prism.languages.parser.punctuation,alias:"punctuation"}},Prism.languages.parser.tag.inside["attr-value"])},function(e,t){Prism.languages.pascal={comment:[/\(\*[\s\S]+?\*\)/,/\{[\s\S]+?\}/,/\/\/.*/],string:{pattern:/(?:'(?:''|[^'\r\n])*'|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/[+-]?(?:[&%]\d+|\$[a-f\d]+)/i,/([+-]|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/i,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/}},function(e,t){Prism.languages.perl={comment:[{pattern:/(^\s*)=\w+[\s\S]*?=cut.*/m,lookbehind:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0}],string:[{pattern:/\b(?:q|qq|qx|qw)\s*([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s+([a-zA-Z0-9])(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s*\((?:[^()\\]|\\[\s\S])*\)/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s*\{(?:[^{}\\]|\\[\s\S])*\}/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s*\[(?:[^[\]\\]|\\[\s\S])*\]/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s*<(?:[^<>\\]|\\[\s\S])*>/,greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:/\b(?:m|qr)\s*([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1[msixpodualngc]*/,greedy:!0},{pattern:/\b(?:m|qr)\s+([a-zA-Z0-9])(?:(?!\1)[^\\]|\\[\s\S])*\1[msixpodualngc]*/,greedy:!0},{pattern:/\b(?:m|qr)\s*\((?:[^()\\]|\\[\s\S])*\)[msixpodualngc]*/,greedy:!0},{pattern:/\b(?:m|qr)\s*\{(?:[^{}\\]|\\[\s\S])*\}[msixpodualngc]*/,greedy:!0},{pattern:/\b(?:m|qr)\s*\[(?:[^[\]\\]|\\[\s\S])*\][msixpodualngc]*/,greedy:!0},{pattern:/\b(?:m|qr)\s*<(?:[^<>\\]|\\[\s\S])*>[msixpodualngc]*/,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s*([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s+([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s*\((?:[^()\\]|\\[\s\S])*\)\s*\((?:[^()\\]|\\[\s\S])*\)[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s*\{(?:[^{}\\]|\\[\s\S])*\}\s*\{(?:[^{}\\]|\\[\s\S])*\}[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s*\[(?:[^[\]\\]|\\[\s\S])*\]\s*\[(?:[^[\]\\]|\\[\s\S])*\][msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s*<(?:[^<>\\]|\\[\s\S])*>\s*<(?:[^<>\\]|\\[\s\S])*>[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(lt|gt|le|ge|eq|ne|cmp|not|and|or|xor|x)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+)+(?:::)*/i,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*>|\b_\b/,alias:"symbol"},vstring:{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/sub [a-z0-9_]+/i,inside:{keyword:/sub/}},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b-?(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:\d(?:_?\d)*)?\.?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:lt|gt|le|ge|eq|ne|cmp|not|and|or|xor)\b/,punctuation:/[{}[\];(),:]/}},function(e,t){Prism.languages.insertBefore("php","variable",{this:/\$this\b/,global:/\$(?:_(?:SERVER|GET|POST|FILES|REQUEST|SESSION|ENV|COOKIE)|GLOBALS|HTTP_RAW_POST_DATA|argc|argv|php_errormsg|http_response_header)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/static|self|parent/,punctuation:/::|\\/}}})},function(e,t){Prism.languages.php=Prism.languages.extend("clike",{keyword:/\b(?:and|or|xor|array|as|break|case|cfunction|class|const|continue|declare|default|die|do|else|elseif|enddeclare|endfor|endforeach|endif|endswitch|endwhile|extends|for|foreach|function|include|include_once|global|if|new|return|static|switch|use|require|require_once|var|while|abstract|interface|public|implements|private|protected|parent|throw|null|echo|print|trait|namespace|final|yield|goto|instanceof|finally|try|catch)\b/i,constant:/\b[A-Z0-9_]{2,}\b/,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0}}),Prism.languages.insertBefore("php","class-name",{"shell-comment":{pattern:/(^|[^\\])#.*/,lookbehind:!0,alias:"comment"}}),Prism.languages.insertBefore("php","keyword",{delimiter:{pattern:/\?>|<\?(?:php|=)?/i,alias:"important"},variable:/\$\w+\b/i,package:{pattern:/(\\|namespace\s+|use\s+)[\w\\]+/,lookbehind:!0,inside:{punctuation:/\\/}}}),Prism.languages.insertBefore("php","operator",{property:{pattern:/(->)[\w]+/,lookbehind:!0}}),Prism.languages.markup&&(Prism.hooks.add("before-highlight",function(e){"php"===e.language&&/(?:<\?php|<\?)/gi.test(e.code)&&(e.tokenStack=[],e.backupCode=e.code,e.code=e.code.replace(/(?:<\?php|<\?)[\s\S]*?(?:\?>|$)/gi,function(t){for(var n=e.tokenStack.length;-1!==e.backupCode.indexOf("___PHP"+n+"___");)++n;return e.tokenStack[n]=t,"___PHP"+n+"___"}),e.grammar=Prism.languages.markup)}),Prism.hooks.add("before-insert",function(e){"php"===e.language&&e.backupCode&&(e.code=e.backupCode,delete e.backupCode)}),Prism.hooks.add("after-highlight",function(e){if("php"===e.language&&e.tokenStack){e.grammar=Prism.languages.php;for(var t=0,n=Object.keys(e.tokenStack);t<n.length;++t){var r=n[t],o=e.tokenStack[r];e.highlightedCode=e.highlightedCode.replace("___PHP"+r+"___",'<span class="token php language-php">'+Prism.highlight(o,e.grammar,"php").replace(/\$/g,"$$$$")+"</span>")}e.element.innerHTML=e.highlightedCode}}))},function(e,t){Prism.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:{function:{pattern:/[^`]\$\(.*?\)/,inside:{}}}},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z][\s\S]*?\]/i,boolean:/\$(?:true|false)\b/i,variable:/\$\w+\b/i,function:[/\b(?:Add-(?:Computer|Content|History|Member|PSSnapin|Type)|Checkpoint-Computer|Clear-(?:Content|EventLog|History|Item|ItemProperty|Variable)|Compare-Object|Complete-Transaction|Connect-PSSession|ConvertFrom-(?:Csv|Json|StringData)|Convert-Path|ConvertTo-(?:Csv|Html|Json|Xml)|Copy-(?:Item|ItemProperty)|Debug-Process|Disable-(?:ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)|Disconnect-PSSession|Enable-(?:ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)|Enter-PSSession|Exit-PSSession|Export-(?:Alias|Clixml|Console|Csv|FormatData|ModuleMember|PSSession)|ForEach-Object|Format-(?:Custom|List|Table|Wide)|Get-(?:Alias|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Culture|Date|Event|EventLog|EventSubscriber|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job|Location|Member|Module|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|WmiObject)|Group-Object|Import-(?:Alias|Clixml|Csv|LocalizedData|Module|PSSession)|Invoke-(?:Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)|Join-Path|Limit-EventLog|Measure-(?:Command|Object)|Move-(?:Item|ItemProperty)|New-(?:Alias|Event|EventLog|Item|ItemProperty|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy)|Out-(?:Default|File|GridView|Host|Null|Printer|String)|Pop-Location|Push-Location|Read-Host|Receive-(?:Job|PSSession)|Register-(?:EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)|Remove-(?:Computer|Event|EventLog|Item|ItemProperty|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)|Rename-(?:Computer|Item|ItemProperty)|Reset-ComputerMachinePassword|Resolve-Path|Restart-(?:Computer|Service)|Restore-Computer|Resume-(?:Job|Service)|Save-Help|Select-(?:Object|String|Xml)|Send-MailMessage|Set-(?:Alias|Content|Date|Item|ItemProperty|Location|PSBreakpoint|PSDebug|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)|Show-(?:Command|ControlPanelItem|EventLog)|Sort-Object|Split-Path|Start-(?:Job|Process|Service|Sleep|Transaction)|Stop-(?:Computer|Job|Process|Service)|Suspend-(?:Job|Service)|Tee-Object|Test-(?:ComputerSecureChannel|Connection|ModuleManifest|Path|PSSessionConfigurationFile)|Trace-Command|Unblock-File|Undo-Transaction|Unregister-(?:Event|PSSessionConfiguration)|Update-(?:FormatData|Help|List|TypeData)|Use-Transaction|Wait-(?:Event|Job|Process)|Where-Object|Write-(?:Debug|Error|EventLog|Host|Output|Progress|Verbose|Warning))\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(\W?)(?:!|-(eq|ne|gt|ge|lt|le|sh[lr]|not|b?(?:and|x?or)|(?:Not)?(?:Like|Match|Contains|In)|Replace|Join|is(?:Not)?|as)\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/},Prism.languages.powershell.string[0].inside.boolean=Prism.languages.powershell.boolean,Prism.languages.powershell.string[0].inside.variable=Prism.languages.powershell.variable,Prism.languages.powershell.string[0].inside.function.inside=Prism.util.clone(Prism.languages.powershell)},function(e,t){Prism.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+?(?: *[=:] *| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+?(?= *[=:] *| )/m,punctuation:/[=:]/}},function(e,t){Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"triple-quoted-string":{pattern:/("""|''')[\s\S]+?\1/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},keyword:/\b(?:as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/\b-?(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*\.?\d*|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:or|and|not)\b/,punctuation:/[{}[\];(),.:]/}},function(e,t){Prism.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0},/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,/^#!.+/m],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b-?(?![01]:)(?:0[wn]|0W[hj]?|0N[hje]?|0x[\da-fA-F]+|\d+\.?\d*(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?_~=|$&#@^]):?/,alias:"operator"},punctuation:/[(){}\[\];.]/}},function(e,t){Prism.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:TRUE|FALSE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:NaN|Inf)\b/,/\b(?:0x[\dA-Fa-f]+(?:\.\d*)?|\d*\.?\d+)(?:[EePp][+-]?\d+)?[iL]?\b/],keyword:/\b(?:if|else|repeat|while|function|for|in|next|break|NULL|NA|NA_integer_|NA_real_|NA_complex_|NA_character_)\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}},function(e,t){!function(e){e.languages.ruby=e.languages.extend("clike",{comment:[/#(?!\{[^\r\n]*?\}).*/,/^=begin(?:\r?\n|\r)(?:.*(?:\r?\n|\r))*?=end/m],keyword:/\b(?:alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|false|for|if|in|module|new|next|nil|not|or|raise|redo|require|rescue|retry|return|self|super|then|throw|true|undef|unless|until|when|while|yield)\b/});var t={pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"tag"},rest:e.util.clone(e.languages.ruby)}};e.languages.insertBefore("ruby","keyword",{regex:[{pattern:/%r([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1[gim]{0,3}/,greedy:!0,inside:{interpolation:t}},{pattern:/%r\((?:[^()\\]|\\[\s\S])*\)[gim]{0,3}/,greedy:!0,inside:{interpolation:t}},{pattern:/%r\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}[gim]{0,3}/,greedy:!0,inside:{interpolation:t}},{pattern:/%r\[(?:[^\[\]\\]|\\[\s\S])*\][gim]{0,3}/,greedy:!0,inside:{interpolation:t}},{pattern:/%r<(?:[^<>\\]|\\[\s\S])*>[gim]{0,3}/,greedy:!0,inside:{interpolation:t}},{pattern:/(^|[^\/])\/(?!\/)(\[.+?]|\\.|[^\/\\\r\n])+\/[gim]{0,3}(?=\s*($|[\r\n,.;})]))/,lookbehind:!0,greedy:!0}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:/:[a-zA-Z_]\w*(?:[?!]|\b)/}),e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|Fixnum|Float|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,constant:/\b[A-Z]\w*(?:[?!]|\b)/}),e.languages.ruby.string=[{pattern:/%[qQiIwWxs]?([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0,inside:{interpolation:t}},{pattern:/%[qQiIwWxs]?\((?:[^()\\]|\\[\s\S])*\)/,greedy:!0,inside:{interpolation:t}},{pattern:/%[qQiIwWxs]?\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/,greedy:!0,inside:{interpolation:t}},{pattern:/%[qQiIwWxs]?\[(?:[^\[\]\\]|\\[\s\S])*\]/,greedy:!0,inside:{interpolation:t}},{pattern:/%[qQiIwWxs]?<(?:[^<>\\]|\\[\s\S])*>/,greedy:!0,inside:{interpolation:t}},{pattern:/("|')(?:#\{[^}]+\}|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:t}}]}(Prism)},function(e,t){Prism.languages.rust={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0}],string:[{pattern:/b?r(#*)"(?:\\.|(?!"\1)[^\\\r\n])*"\1/,greedy:!0},{pattern:/b?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|alignof|as|be|box|break|const|continue|crate|do|else|enum|extern|false|final|fn|for|if|impl|in|let|loop|match|mod|move|mut|offsetof|once|override|priv|pub|pure|ref|return|sizeof|static|self|struct|super|true|trait|type|typeof|unsafe|unsized|use|virtual|where|while|yield)\b/,attribute:{pattern:/#!?\[.+?\]/,greedy:!0,alias:"attr-name"},function:[/\w+(?=\s*\()/,/\w+!(?=\s*\(|\[)/],"macro-rules":{pattern:/\w+!/,alias:"function"},number:/\b-?(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(\d(?:_?\d)*)?\.?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:[iu](?:8|16|32|64)?|f32|f64))?\b/,"closure-params":{pattern:/\|[^|]*\|(?=\s*[{-])/,inside:{punctuation:/[|:,]/,operator:/[&*]/}},punctuation:/[{}[\];(),:]|\.+|->/,operator:/[-+*\/%!^=]=?|@|&[&=]?|\|[|=]?|<<?=?|>>?=?/}},function(e,t){!function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t]+.+)*/m,lookbehind:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,inside:{atrule:/(?:@[\w-]+|[+=])/m}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|or|not)\b/,{pattern:/(\s+)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s]+.*)/m,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,delete e.languages.sass.selector,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/([ \t]*)\S(?:,?[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,?[^,\r\n]+)*)*/,lookbehind:!0}})}(Prism)},function(e,t){Prism.languages.scheme={comment:/;.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'[^('\s]*/,greedy:!0},keyword:{pattern:/(\()(?:define(?:-syntax|-library|-values)?|(?:case-)?lambda|let(?:\*|rec)?(?:-values)?|else|if|cond|begin|delay(?:-force)?|parameterize|guard|set!|(?:quasi-)?quote|syntax-rules)/,lookbehind:!0},builtin:{pattern:/(\()(?:(?:cons|car|cdr|list|call-with-current-continuation|call\/cc|append|abs|apply|eval)\b|null\?|pair\?|boolean\?|eof-object\?|char\?|procedure\?|number\?|port\?|string\?|vector\?|symbol\?|bytevector\?)/,lookbehind:!0},number:{pattern:/(\s|\))[-+]?\d*\.?\d+(?:\s*[-+]\s*\d*\.?\d+i)?\b/,lookbehind:!0},boolean:/#[tf]/,operator:{pattern:/(\()(?:[-+*%\/]|[<>]=?|=>?)/,lookbehind:!0},function:{pattern:/(\()[^\s()]*(?=\s)/,lookbehind:!0},punctuation:/[()]/}},function(e,t){Prism.languages.scss=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-]+(?:\([^()]+\)|[^(])*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)*url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()]|&|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}]+[:{][^}]+))/m,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),Prism.languages.insertBefore("scss","atrule",{keyword:[/@(?:if|else(?: if)?|for|each|while|import|extend|debug|warn|mixin|include|function|return|content)/i,{pattern:/( +)(?:from|through)(?= )/,lookbehind:!0}]}),Prism.languages.scss.property={pattern:/(?:[\w-]|\$[-\w]+|#\{\$[-\w]+\})+(?=\s*:)/i,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}},Prism.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),Prism.languages.insertBefore("scss","function",{placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:true|false)\b/,null:/\bnull\b/,operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|or|not)(?=\s)/,lookbehind:!0}}),Prism.languages.scss.atrule.inside.rest=Prism.util.clone(Prism.languages.scss)},function(e,t){!function(e){var t=/\{\*[\s\S]+?\*\}|\{[\s\S]+?\}/g,n=!1;e.languages.smarty=e.languages.extend("markup",{smarty:{pattern:t,inside:{delimiter:{pattern:/^\{|\}$/i,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b-?(?:0x[\dA-Fa-f]+|\d*\.?\d+(?:[Ee][-+]?\d+)?)\b/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->)(?!\d)\w+/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:[{pattern:/(\|\s*)@?(?!\d)\w+/,lookbehind:!0},/^\/?(?!\d)\w+/,/(?!\d)\w+(?=\()/],"attr-name":{pattern:/\w+\s*=\s*(?:(?!\d)\w+)?/,inside:{variable:{pattern:/(=\s*)(?!\d)\w+/,lookbehind:!0},operator:/=/}},punctuation:[/[\[\]().,:`]|->/],operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:eq|neq?|gt|lt|gt?e|lt?e|not|mod|or|and)\b/],keyword:/\b(?:false|off|on|no|true|yes)\b/}}}),e.languages.insertBefore("smarty","tag",{"smarty-comment":{pattern:/\{\*[\s\S]*?\*\}/,alias:["smarty","comment"]}}),e.hooks.add("before-highlight",function(e){"smarty"===e.language&&(e.tokenStack=[],e.backupCode=e.code,e.code=e.code.replace(t,function(t){if("{/literal}"===t&&(n=!1),!n){"{literal}"===t&&(n=!0);for(var r=e.tokenStack.length;-1!==e.backupCode.indexOf("___SMARTY"+r+"___");)++r;return e.tokenStack[r]=t,"___SMARTY"+r+"___"}return t}))}),e.hooks.add("before-insert",function(e){"smarty"===e.language&&(e.code=e.backupCode,delete e.backupCode)}),e.hooks.add("after-highlight",function(t){if("smarty"===t.language){for(var n=0,r=Object.keys(t.tokenStack);n<r.length;++n){var o=r[n],i=t.tokenStack[o];t.highlightedCode=t.highlightedCode.replace("___SMARTY"+o+"___",e.highlight(i,t.grammar,"smarty").replace(/\$/g,"$$$$"))}t.element.innerHTML=t.highlightedCode}})}(Prism)},function(e,t){Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\])*\2/,greedy:!0,lookbehind:!0},variable:/@[\w.$]+|@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,function:/\b(?:COUNT|SUM|AVG|MIN|MAX|FIRST|LAST|UCASE|LCASE|MID|LEN|ROUND|NOW|FORMAT)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR VARYING|CHARACTER (?:SET|VARYING)|CHARSET|CHECK|CHECKPOINT|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMN|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS|CONTAINSTABLE|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|DATA(?:BASES?)?|DATE(?:TIME)?|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITER(?:S)?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE(?: PRECISION)?|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE KEY|ELSE|ENABLE|ENCLOSED BY|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPE(?:D BY)?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTO|INVOKER|ISOLATION LEVEL|JOIN|KEYS?|KILL|LANGUAGE SQL|LAST|LEFT|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MODIFIES SQL DATA|MODIFY|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL(?: CHAR VARYING| CHARACTER(?: VARYING)?| VARCHAR)?|NATURAL|NCHAR(?: VARCHAR)?|NEXT|NO(?: SQL|CHECK|CYCLE)?|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READ(?:S SQL DATA|TEXT)?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEATABLE|REPLICATION|REQUIRE|RESTORE|RESTRICT|RETURNS?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE MODE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|START(?:ING BY)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED BY|TEXT(?:SIZE)?|THEN|TIMESTAMP|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNPIVOT|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?)\b/i,boolean:/\b(?:TRUE|FALSE|NULL)\b/i,number:/\b-?(?:0x)?\d*\.?[\da-f]+\b/,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|IN|LIKE|NOT|OR|IS|DIV|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}},function(e,t){!function(e){var t={url:/url\((["']?).*?\1\)/i,string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:if|else|for|return|unless)(?=\s+|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,number:/\b\d+(?:\.\d+)?%?/,boolean:/\b(?:true|false)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.+|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],punctuation:/[{}()\[\];:,]/};t.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:e.util.clone(t)},t.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:e.util.clone(t)}},e.languages.stylus={comment:{pattern:/(^|[^\\])(\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},"atrule-declaration":{pattern:/(^\s*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:t}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:(?:\{[^}]*\}|.+)|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:t}},statement:{pattern:/(^[ \t]*)(?:if|else|for|return|unless)[ \t]+.+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:t}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)[^{\r\n]*(?:;|[^{\r\n,](?=$)(?!(\r?\n|\r)(?:\{|\2[ \t]+)))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:t.interpolation}},rest:t}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\))?|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\))?|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t]+)))/m,lookbehind:!0,inside:{interpolation:t.interpolation,punctuation:/[{},]/}},func:t.func,string:t.string,interpolation:t.interpolation,punctuation:/[{}()\[\];:.]/}}(Prism)},function(e,t){Prism.languages.swift=Prism.languages.extend("clike",{string:{pattern:/("|')(\\(?:\((?:[^()]|\([^)]+\))+\)|\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/\\\((?:[^()]|\([^)]+\))+\)/,inside:{delimiter:{pattern:/^\\\(|\)$/,alias:"variable"}}}}},keyword:/\b(?:as|associativity|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic(?:Type)?|else|enum|extension|fallthrough|final|for|func|get|guard|if|import|in|infix|init|inout|internal|is|lazy|left|let|mutating|new|none|nonmutating|operator|optional|override|postfix|precedence|prefix|private|Protocol|public|repeat|required|rethrows|return|right|safe|self|Self|set|static|struct|subscript|super|switch|throws?|try|Type|typealias|unowned|unsafe|var|weak|where|while|willSet|__(?:COLUMN__|FILE__|FUNCTION__|LINE__))\b/,number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,constant:/\b(?:nil|[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,atrule:/@\b(?:IB(?:Outlet|Designable|Action|Inspectable)|class_protocol|exported|noreturn|NS(?:Copying|Managed)|objc|UIApplicationMain|auto_closure)\b/,builtin:/\b(?:[A-Z]\S+|abs|advance|alignof(?:Value)?|assert|contains|count(?:Elements)?|debugPrint(?:ln)?|distance|drop(?:First|Last)|dump|enumerate|equal|filter|find|first|getVaList|indices|isEmpty|join|last|lexicographicalCompare|map|max(?:Element)?|min(?:Element)?|numericCast|overlaps|partition|print(?:ln)?|reduce|reflect|reverse|sizeof(?:Value)?|sort(?:ed)?|split|startsWith|stride(?:of(?:Value)?)?|suffix|swap|toDebugString|toString|transcode|underestimateCount|unsafeBitCast|with(?:ExtendedLifetime|Unsafe(?:MutablePointers?|Pointers?)|VaList))\b/}),Prism.languages.swift.string.inside.interpolation.inside.rest=Prism.util.clone(Prism.languages.swift)},function(e,t){Prism.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$){[^}]+}/,lookbehind:!0},{pattern:/(^\s*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^\s*proc[ \t]+)[^\s]+/m,lookbehind:!0},builtin:[{pattern:/(^\s*)(?:proc|return|class|error|eval|exit|for|foreach|if|switch|while|break|continue)\b/m,lookbehind:!0},/\b(?:elseif|else)\b/],scope:{pattern:/(^\s*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^\s*|\[)(?:after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|Safe_Base|scan|seek|set|socket|source|split|string|subst|Tcl|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|wordBreak(?:After|Before)|test|vars)|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|ne|in|ni)\b/,punctuation:/[{}()\[\]]/}},function(e,t){Prism.languages.typescript=Prism.languages.extend("javascript",{keyword:/\b(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield|false|true|module|declare|constructor|string|Function|any|number|boolean|Array|symbol|namespace|abstract|require|type)\b/}),Prism.languages.ts=Prism.languages.typescript},function(e,t){Prism.languages.vbnet=Prism.languages.extend("basic",{keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDEC|CDBL|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEFAULT|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LINE INPUT|LET|LIB|LIKE|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPERATOR|OPEN|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHORT|SINGLE|SHELL|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SYNCLOCK|SWAP|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0}]})},function(e,t){Prism.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\w+(?=\()/,keyword:/\b(?:ab|abbreviate|abc|abclear|abo|aboveleft|al|all|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|ar|args|argu|argument|as|ascii|bad|badd|ba|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bN|bNext|bo|botright|bp|bprevious|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|br|brewind|bro|browse|bufdo|b|buffer|buffers|bun|bunload|bw|bwipeout|ca|cabbrev|cabc|cabclear|caddb|caddbuffer|cad|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cgetb|cgetbuffer|cgete|cgetexpr|cg|cgetfile|c|change|changes|chd|chdir|che|checkpath|checkt|checktime|cla|clast|cl|clist|clo|close|cmapc|cmapclear|cnew|cnewer|cn|cnext|cN|cNext|cnf|cnfile|cNfcNfile|cnorea|cnoreabbrev|col|colder|colo|colorscheme|comc|comclear|comp|compiler|conf|confirm|con|continue|cope|copen|co|copy|cpf|cpfile|cp|cprevious|cq|cquit|cr|crewind|cuna|cunabbrev|cu|cunmap|cw|cwindow|debugg|debuggreedy|delc|delcommand|d|delete|delf|delfunction|delm|delmarks|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|di|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|earlier|echoe|echoerr|echom|echomsg|echon|e|edit|el|else|elsei|elseif|em|emenu|endfo|endfor|endf|endfunction|endfun|en|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fina|finally|fin|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|folddoc|folddoclosed|foldd|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|ha|hardcopy|h|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iuna|iunabbrev|iu|iunmap|j|join|ju|jumps|k|keepalt|keepj|keepjumps|kee|keepmarks|laddb|laddbuffer|lad|laddexpr|laddf|laddfile|lan|language|la|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|let|left|lefta|leftabove|lex|lexpr|lf|lfile|lfir|lfirst|lgetb|lgetbuffer|lgete|lgetexpr|lg|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|l|list|ll|lla|llast|lli|llist|lmak|lmake|lm|lmap|lmapc|lmapclear|lnew|lnewer|lne|lnext|lN|lNext|lnf|lnfile|lNf|lNfile|ln|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lpf|lpfile|lp|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|mak|make|ma|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkvie|mkview|mkv|mkvimrc|mod|mode|m|move|mzf|mzfile|mz|mzscheme|nbkey|new|n|next|N|Next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|omapc|omapclear|on|only|o|open|opt|options|ou|ounmap|pc|pclose|ped|pedit|pe|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|p|print|P|Print|profd|profdel|prof|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptN|ptNext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|pyf|pyfile|py|python|qa|qall|q|quit|quita|quitall|r|read|rec|recover|redi|redir|red|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|rub|ruby|rubyd|rubydo|rubyf|rubyfile|ru|runtime|rv|rviminfo|sal|sall|san|sandbox|sa|sargument|sav|saveas|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbN|sbNext|sbp|sbprevious|sbr|sbrewind|sb|sbuffer|scripte|scriptencoding|scrip|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sla|slast|sl|sleep|sm|smagic|sm|smap|smapc|smapclear|sme|smenu|sn|snext|sN|sNext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|sor|sort|so|source|spelld|spelldump|spe|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|sp|split|spr|sprevious|sre|srewind|sta|stag|startg|startgreplace|star|startinsert|startr|startreplace|stj|stjump|st|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tab|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabnew|tabn|tabnext|tabN|tabNext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|ta|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tm|tmenu|tn|tnext|tN|tNext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tu|tunmenu|una|unabbreviate|u|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|verb|verbose|ve|version|vert|vertical|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|vi|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|wa|wall|wh|while|winc|wincmd|windo|winp|winpos|win|winsize|wn|wnext|wN|wNext|wp|wprevious|wq|wqa|wqall|w|write|ws|wsverb|wv|wviminfo|X|xa|xall|x|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|XMLent|XMLns|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:autocmd|acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|t_AB|t_AF|t_al|t_AL|t_bc|t_cd|t_ce|t_Ce|t_cl|t_cm|t_Co|t_cs|t_Cs|t_CS|t_CV|t_da|t_db|t_dl|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_fs|t_IE|t_IS|t_k1|t_K1|t_k2|t_k3|t_K3|t_k4|t_K4|t_k5|t_K5|t_k6|t_K6|t_k7|t_K7|t_k8|t_K8|t_k9|t_K9|t_KA|t_kb|t_kB|t_KB|t_KC|t_kd|t_kD|t_KD|t_ke|t_KE|t_KF|t_KG|t_kh|t_KH|t_kI|t_KI|t_KJ|t_KK|t_kl|t_KL|t_kN|t_kP|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_RI|t_RV|t_Sb|t_se|t_Sf|t_SI|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_WP|t_WS|t_xs|t_ZH|t_ZR)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}},function(e,t){Prism.languages.wiki=Prism.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+).+?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:RFC|PMID) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:Prism.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),Prism.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[\s\S]*?>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[\s\S]*?>|<\/(?:nowiki|pre|source)>/i,inside:Prism.languages.markup.tag.inside}}}})},function(e,t){Prism.languages.yaml={scalar:{pattern:/([\-:]\s*(?:![^\s]+)?[ \t]*[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)[^\r\n]+(?:\2[^\r\n]+)*)/,lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:/(\s*(?:^|[:\-,[{\r\n?])[ \t]*(?:![^\s]+)?[ \t]*)[^\r\n{[\]},#\s]+?(?=\s*:\s)/,lookbehind:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)(?:\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?)?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?)(?=[ \t]*(?:$|,|]|}))/m,lookbehind:!0,alias:"number"},boolean:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)(?:true|false)[ \t]*(?=$|,|]|})/im,lookbehind:!0,alias:"important"},null:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)(?:null|~)[ \t]*(?=$|,|]|})/im,lookbehind:!0,alias:"important"},string:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)("|')(?:(?!\2)[^\\\r\n]|\\.)*\2(?=[ \t]*(?:$|,|]|}))/m,lookbehind:!0,greedy:!0},number:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)[+\-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+\.?\d*|\.?\d+)(?:e[+-]?\d+)?|\.inf|\.nan)[ \t]*(?=$|,|]|})/im,lookbehind:!0},tag:/![^\s]+/,important:/[&*][\w]+/,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return h});var a=n(0),s=n.n(a),c=n(4),u=n.n(c),l=n(58),f=(n.n(l),n(47)),p=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d="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};Object.keys(f.a.languages).filter(function(e){return"object"===d(f.a.languages[e])}).sort();var h=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),p(t,[{key:"render",value:function(){var e=this.props,t=e.block,n=(e.contentState,e.blockProps,t.getData()),r=n&&n.get("syntax")||"js";return s.a.createElement("pre",{className:u()("prism-token token","language-"+r)},s.a.createElement(l,this.props))}}]),t}(s.a.Component)},function(e,t,n){"use strict";function r(e){var t=e.theme,n=(e.disabled,e.store),r=Object(c.s)(n.getEditorState(),!0);if(!r||"code-block"!==r.getType())return null;var o=r.getData(),a=o&&o.get("syntax")||"js",s=function(e){var t=n.getEditorState(),r=u.Modifier.mergeBlockData(t.getCurrentContent(),t.getSelection(),f.a.Map({syntax:e}));n.setEditorState(u.EditorState.push(u.EditorState.forceSelection(t,t.getSelection()),r,"change-block-data"))};return i.a.createElement("div",{className:t.buttonWrapper,onMouseDown:function(e){return e.stopPropagation()}},i.a.createElement("select",{className:"code-syntax-select",value:a,onChange:function(e){return s(e.target.value)}},d.map(function(e){return i.a.createElement("option",{key:e,value:e},e)})))}t.a=r;var o=n(0),i=n.n(o),a=n(4),s=(n.n(a),n(47)),c=n(2),u=n(1),l=(n.n(u),n(3)),f=n.n(l),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},d=Object.keys(s.a.languages).filter(function(e){return"object"===p(s.a.languages[e])});d.sort()},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){return/^(https?:\/\/.+?)(\/|$)/.test(e)?RegExp.$1:null}n.d(t,"a",function(){return b});var s,c,u=n(450),l=(n.n(u),n(0)),f=n.n(l),p=n(4),d=n.n(p),h=(n(48),n(456)),g=n(2),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},y=Object.assign||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},v=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),b=(c=s=function(e){function t(){var e,n,i,a;r(this,t);for(var s=arguments.length,c=Array(s),u=0;u<s;u++)c[u]=arguments[u];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),i.state={loadError:null},i.editImage=function(){var e=i.props.blockProps,t=e.entityData,n=e.entityKey,r=e.store,o=e.imageSizeLimit,a=e.uploadImage,s=t.imageUrl;h.a.edit({imageUrl:s,imageSizeLimit:o,uploadImage:a,onFinish:function(e){var t=e.url;Object(g.R)(y({entityKey:n},r,{update:{imageUrl:t}}))},onCancel:function(){}})},a=n,o(i,a)}return i(t,e),v(t,[{key:"render",value:function(){var e=this,t=this.props.blockProps,n=t.entityData,r=t.onRemove,o=t.checkAllowAccessOrigin;if(!n)return f.a.createElement("div",null,"\u62b1\u6b49\uff0c\u56fe\u7247\u4fe1\u606f\u5df2\u4e22\u5931\uff0c",f.a.createElement("a",{onClick:r},"\u70b9\u6b64\u6e05\u7406"));var i=n.placeHolderUrl,s=n.placeHolderText,c=n.placeHolderStyle,u=n.imageUrl,l=n.imageStyle,p=n.dpi,h=n.error||this.state.loadError,g=144===p,v={fontSize:0},b=y({display:"block",opacity:u||h?1:.5,transition:"opacity .6s ease, border-color .2s ease",cursor:"default",maxWidth:"100%",minWidth:h?300:0,minHeight:h?50:0,boxShadow:h?"0 0 10px red":""},(u?l:c)||{}),w=u&&a(u),k=w&&o(w),S=/^file\:\/\//.test(u),E=/msie (\d+)/i.test(navigator.userAgent)?+RegExp.$1:0,x="object"===("undefined"==typeof window?"undefined":m(window))&&(!E||E>9);return S&&(h="\u672c\u5730\u56fe\u7247\u65e0\u6cd5\u663e\u793a"),u||i||(h="\u56fe\u7247\u4e0d\u5305\u542b\u6709\u6548\u5730\u5740"),f.a.createElement("div",{className:"image-block",style:v,onMouseDown:function(e){e.preventDefault()},onMouseMove:function(e){e.preventDefault()},onMouseUp:function(e){e.preventDefault()}},h?f.a.createElement("div",{className:"image-error"},this.state.loadError&&f.a.createElement("img",{src:u,style:{display:"none"}}),f.a.createElement("div",{className:"error-message"},h)):f.a.createElement("div",{className:"image-content"},f.a.createElement("img",{src:g?null:u||i,srcSet:g?(u||i)+" 2x":null,style:b,onLoad:u?function(){return e.setState({loaded:!0})}:null,onError:function(t){return e.setState({loadError:"\u56fe\u7247\u52a0\u8f7d\u5931\u8d25"})}}),f.a.createElement("div",{className:d()("image-block-actions",{uploading:!this.state.loaded})},f.a.createElement("div",{className:"shadow"},!this.state.loaded&&f.a.createElement("span",{className:"uploading"},f.a.createElement("i",{className:"icon-loading"},i?s||"\u6b63\u5728\u4e0a\u4f20":"\u6b63\u5728\u52a0\u8f7d")),this.state.loaded&&k&&x&&f.a.createElement("a",{className:"action-edit",title:"\u7f16\u8f91",onClick:this.editImage},f.a.createElement("i",{className:"icon-edit"})),f.a.createElement("a",{className:"action-delete",title:"\u5220\u9664",onClick:function(e){e.stopPropagation(),e.preventDefault(),r()}},f.a.createElement("i",{className:"icon-remove"}))))))}},{key:"componentWillReceiveProps",value:function(e){e.blockProps.entityData.imageUrl!==this.props.blockProps.entityData.imageUrl&&this.setState({loaded:!1})}}]),t}(f.a.Component),s.wrapperClassName="image-block-wrapper",c)},function(e,t){},function(e,t,n){"use strict";function r(e,t,n,r){r=r||!1,e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on"+t,function(t){n.call(e,t||window.event)})}function o(e,t,n,r){r=r||!1,e.removeEventListener?e.removeEventListener(t,n,r):e.detachEvent&&e.detachEvent("on"+t,n)}t.b=r,t.a=o},function(e,t,n){"use strict";t.a=function(e){if(!e)return document.documentElement;for(var t="absolute"===e.style.position,n=/(scroll|auto)/,r=e;r;){if(!r.parentNode)return e.ownerDocument||document.documentElement;var o=window.getComputedStyle(r),i=o.position,a=o.overflow,s=o["overflow-x"],c=o["overflow-y"];if("static"===i&&t)r=r.parentNode;else{if(n.test(a)&&n.test(s)&&n.test(c))return r;r=r.parentNode}}return e.ownerDocument||e.documentElement||document.documentElement}},function(e,t,n){"use strict";function r(e,t,n){var r=void 0,o=void 0,i=void 0,a=void 0,s=void 0,c=function c(){var u=+new Date-a;u<t&&u>=0?r=setTimeout(c,t-u):(r=null,n||(s=e.apply(i,o),r||(i=null,o=null)))};return function(){i=this,o=arguments,a=+new Date;var u=n&&!r;return r||(r=setTimeout(c,t)),u&&(s=e.apply(i,o),i=null,o=null),s}}t.a=r},function(e,t,n){"use strict";function r(e,t,n){t||(t=250);var r,o;return function(){var i=n||this,a=+new Date,s=arguments;r&&a<r+t?(clearTimeout(o),o=setTimeout(function(){r=a,e.apply(i,s)},t)):(r=a,e.apply(i,s))}}t.a=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),c=n(48),u=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=function(e){return e.displayName||e.name||"Component"};t.a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){return function(n){function a(){r(this,a);var e=o(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));return e.displayName="LazyLoad"+l(t),e}return i(a,n),u(a,[{key:"render",value:function(){return s.a.createElement(c.a,e,s.a.createElement(t,this.props))}}]),a}(a.Component)}}},function(e,t,n){"use strict";var r=n(457);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";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){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,i){try{var a=t[o](i),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}return r("next")})}}function i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return _});var u=n(458),l=(n.n(u),n(0)),f=n.n(l),p=n(16),d=n.n(p),h=n(4),g=(n.n(h),n(21)),m=(n.n(g),n(2)),y=n(459),v=n(466),b=n(467),w=Object.assign||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},k=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),S={rect:y.e,ellipse:y.b,arrow:y.a,path:y.d,text:y.f,mosaic:y.c},E=null,x=null,_=function(e){function t(){var e,n=this;a(this,t);for(var r=arguments.length,c=Array(r),u=0;u<r;u++)c[u]=arguments[u];var l=s(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c)));return l.image=null,l.canvas=null,l.tools=l.createTools(),l.handleImageLoaded=function(){if(l.image){var e=l.image,t=e.width,n=e.height;l.setState({width:t,height:n}),setTimeout(function(){l.setState({imageLoading:!1}),l.viewport&&(l.viewport.scrollTop=(l.viewport.scrollHeight-l.viewport.clientHeight)/2,l.viewport.scrollLeft=(l.viewport.scrollWidth-l.viewport.clientWidth)/2)},1),l.state.isObjectUrl&&(URL.revokeObjectURL(l.state.imageUrl),l.setState({isObjectUrl:!1}))}},l.handleDrawEvent=function(e){if(l.canvas){var t=l.state,n=t.mode,r=t.drawings;t.brushWidth,t.brushColor,t.fontFamily,t.fontSize;if(!n)return l.handleGrabEvent(e);var o=l.canvas.getBoundingClientRect(),a=o.left,s=o.top,c=e.type,u=Math.round(e.clientX-a)||0,f=Math.round(e.clientY-s)||0,p={type:c,x:u,y:f,e:e},d=l.tools[n].onInput(p),h=d.commit,g=d.drawing;if(g){var m=l.decorateDrawing(g);h?(m.commited=!0,l.setState({drawings:[].concat(i(r),[m]),activeDrawing:null})):l.setState({activeDrawing:m})}}},l.handleGrabEvent=function(e){var t=e.clientX,n=e.clientY;switch(e.type){case"mousedown":l.lastGrapPosition={lastX:t,lastY:n},l.setState({grabbing:!0});break;case"mousemove":if(l.lastGrapPosition){var r=l.lastGrapPosition,o=r.lastX,i=r.lastY,a=t-o,s=n-i;l.viewport&&(l.viewport.scrollLeft-=a,l.viewport.scrollTop-=s),l.lastGrapPosition={lastX:t,lastY:n}}break;case"mouseup":l.lastGrapPosition=null,l.setState({grabbing:!1})}},l.handleKeydown=function(e){var t=l.state.mode;l.handleDrawEvent(e),e.isDefaultPrevented()||(27==e.keyCode&&(t?l.deactiveTool():l.cancel(),e.stopPropagation()),e.ctrlKey&&90==e.keyCode&&l.undo())},l.undo=function(){return l.setState({drawings:l.state.drawings.slice(0,-1)})},l.cancel=function(){"function"==typeof l.state.onCancel&&l.state.onCancel(),l.close()},l.close=function(){l.deactiveTool(),l.setState(l.getInitialState())},l.commit=o(regeneratorRuntime.mark(function e(){var t,r,o,i,a,s,c,u,f,p,d,h,g,y,v,b,w;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.deactiveTool();case 2:if(t=l.canvas,r=t.width,o=t.height,i=l.state,a=i.drawings,s=i.imageSizeLimit,c=i.uploadImage,u=function(e){"function"==typeof l.state.onFinish&&l.state.onFinish({url:e}),l.close()},a.length){e.next=8;break}return l.close(),e.abrupt("return");case 8:return f=document.createElement("canvas"),f.width=r,f.height=o,p=f.getContext("2d"),p.drawImage(l.image,0,0),l.paintDrawings(p,a),e.prev=14,l.setState({commiting:!0,commitError:null}),e.next=18,Object(m.i)(f,s);case 18:return d=e.sent,h=d.blob,g=d.type,y="image/png"===g?".png":".jpg",v=h,v.name="edited"+y,e.next=26,c(v);case 26:b=e.sent,w=b.url,u(w),e.next=35;break;case 31:e.prev=31,e.t0=e.catch(14),console.error(e.t0),l.setState({commitError:e.t0,commiting:!1});case 35:case"end":return e.stop()}},e,n,[[14,31]])})),E=l,l.state=l.getInitialState(),l}return c(t,e),k(t,null,[{key:"edit",value:function(e){var n=e.imageUrl,r=e.imageSizeLimit,o=e.uploadImage,i=e.onFinish,a=e.onCancel;x||(x=document.createElement("div"),document.body.appendChild(x),d.a.render(f.a.createElement(t,null),x)),E&&E.start({imageUrl:n,imageSizeLimit:r,uploadImage:o,onFinish:i,onCancel:a})}}]),k(t,[{key:"getInitialState",value:function(){return{imageUrl:null,imageLoading:!0,commiting:!1,width:0,height:0,mode:null,drawings:[],activeDrawing:null,brushWidth:b.b.normal,brushColor:b.a.red,fontSize:b.d.normal,fontFamily:"Microsoft Yahei",toolState:{}}}},{key:"render",value:function(){var e=this,t=this.state,n=t.imageUrl,r=t.imageLoading,o=t.commiting,i=t.commitError,a=(t.onFinish,t.onCancel,t.width),s=t.height,c=t.mode,u=(t.drawings,t.brushWidth),l=t.brushColor,p=t.fontFamily,d=t.fontSize,h=t.grabbing,y=c?this.tools[c].cursor:h?"-webkit-grabbing":"-webkit-grab",k=[this.tools.rect,this.tools.ellipse,this.tools.arrow,this.tools.path,this.tools.text,this.tools.mosaic];return f.a.createElement(g.CSSTransitionGroup,w({component:"div"},m.P.fade(),{className:"draft-image-editor"}),n&&f.a.createElement("div",{className:"draft-image-edit-zone",ref:function(t){return e.rootElement=t},tabIndex:"1",onKeyDown:this.handleKeydown},f.a.createElement("div",{ref:function(t){return e.viewport=t},className:"viewport",style:{width:a+16,height:s+16}},f.a.createElement("div",{className:"paper"},f.a.createElement("img",{ref:function(t){return e.image=t},onLoad:this.handleImageLoaded,src:n,crossOrigin:"anonymous",style:{opacity:r?0:1,transition:"opacity .3s ease, transform .3s ease",transform:r?"scale3d(0.8, 0.8, 1)":"scale3d(1, 1, 1)"}}),f.a.createElement("canvas",{ref:function(t){return e.canvas=t},width:a,height:s,style:{cursor:y},onMouseDown:this.handleDrawEvent,onMouseUp:this.handleDrawEvent,onMouseMove:this.handleDrawEvent}),f.a.createElement("div",{className:"tool-elements"},k.map(function(e){return e.onRenderElement({width:a,height:s,brushWidth:u,brushColor:l,fontFamily:p,fontSize:d})}).filter(Boolean)))),f.a.createElement("br",null),f.a.createElement("div",{className:"tools-container",style:r?{position:"relative",top:"35%"}:null},r?f.a.createElement("div",{className:"load-msg"},"\u8bf7\u7a0d\u5019"):f.a.createElement(v.a,{tools:k,activeMode:c,commiting:o,onToggle:function(t){return e.toggleTool(t.mode)},onUndo:this.undo,onCommit:this.commit,onCancel:this.cancel}),i&&f.a.createElement("div",{className:"error-msg"},"\u4fdd\u5b58\u5931\u8d25\uff1a",i.message)),f.a.createElement("br",null),f.a.createElement(b.c,{mode:c,active:!!c,isTextBrush:"text"==c,brushWidth:u,brushColor:l,fontSize:d,anchorOffset:{rect:-185,ellipse:-142,arrow:-98,path:-54,text:-10,mosaic:34}[c],onChange:function(t){return e.setState(t)}})))}},{key:"componentDidUpdate",value:function(){this.paint()}},{key:"start",value:function(e){var t=this,n=e.imageUrl,r=e.imageSizeLimit,o=e.uploadImage,i=e.onFinish,a=e.onCancel,s=e.maxImageSize;n.indexOf("?")>0?n+="&":n+="?",n+="_="+ +new Date;var c=function(e){t.setState({imageUrl:n,imageSizeLimit:r,uploadImage:o,isObjectUrl:e,onFinish:i,onCancel:a,maxImageSize:s}),t.focus()};if(/msie 10|edge|^((?!chrome|android).)*safari/i.test(navigator.userAgent)){var u=new XMLHttpRequest;u.onload=function(){n=URL.createObjectURL(u.response),c(!0)},u.open("GET",n,!0),u.responseType="blob",u.send()}else c()}},{key:"paint",value:function(){if(this.canvas){var e=this.canvas.getContext("2d");e.clearRect(0,0,this.canvas.width,this.canvas.height);var t=this.state,n=t.drawings,r=t.activeDrawing;r&&(n=n.concat(w({},r,{commited:!1}))),this.paintDrawings(e,n)}}},{key:"paintDrawings",value:function(e,t){e.save(),e.translate(.5,.5);var n=!0,r=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value;this.tools[s.type].onRenderCanvas(e,s)}}catch(e){r=!0,o=e}finally{try{!n&&a.return&&a.return()}finally{if(r)throw o}}e.restore()}},{key:"createTools",value:function(){var e=this,t={},n=!0,o=!1,i=void 0;try{for(var a,s=Object.keys(S)[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var c=a.value,u=S[c];t[c]=new u({store:function(t){var n=function(){return e.state.toolState[t]||{}};return{getState:n,setState:function(o){return e.setState({toolState:w({},e.state.toolState,r({},t,w({},n(),o)))})}}}(c)})}}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return t}},{key:"toggleTool",value:function(e){this.deactiveTool(),e!=this.state.mode&&this.activeTool(e)}},{key:"activeTool",value:function(e){this.setState({mode:e}),this.tools[e].onActived()}},{key:"deactiveTool",value:function(){var e=this,t=this.state,n=t.mode,r=t.drawings;if(n){var o=this.tools[n].onDeactived(),a=o.commit,s=o.drawing;a&&s&&(s.commited=!0,this.setState({drawings:[].concat(i(r),[this.decorateDrawing(s)])}))}return new Promise(function(t){return e.setState({mode:null},t)})}},{key:"focus",value:function(){var e=this;setTimeout(function(){e.rootElement&&e.rootElement.focus()},10)}},{key:"decorateDrawing",value:function(e){var t=this.state,n=t.brushWidth,r=t.brushColor,o=t.fontFamily,i=t.fontSize;return w({},e,{sourceImage:this.image,brushWidth:n,brushColor:r,fontFamily:o,fontSize:i,cache:{}})}}]),t}(f.a.Component)},function(e,t){},function(e,t,n){"use strict";var r=n(460);n.d(t,"a",function(){return r.a});var o=n(461);n.d(t,"b",function(){return o.a});var i=n(462);n.d(t,"c",function(){return i.a});var a=n(463);n.d(t,"d",function(){return a.a});var s=n(464);n.d(t,"e",function(){return s.a});var c=n(465);n.d(t,"f",function(){return c.a})},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return f});var s=n(49),c=n(130),u=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),f=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,{mode:"arrow",name:"\u7bad\u5934\u5de5\u5177",className:"arrow"}))}return a(t,e),l(t,[{key:"onRenderCanvas",value:function(e,t){var n=t.param,o=t.brushColor,i=t.brushWidth,a=u(n,8),s=(a[0],a[1],a[2],a[3],a[4]),l=a[5],f=a[6],p=a[7],d=new c.a(s,f),h=new c.a(l,p),g=c.a.from(d,h),m=h.add(g.rotate(30).reverse().normalize(10)),y=h.add(g.rotate(-30).reverse().normalize(10));e.save(),e.strokeStyle=o,e.lineWidth=i,e.lineCap="round",e.lineJoin="round",e.beginPath(),e.moveTo.apply(e,r(d)),e.lineTo.apply(e,r(h)),e.moveTo.apply(e,r(m)),e.lineTo.apply(e,r(h)),e.lineTo.apply(e,r(y)),e.stroke(),e.restore()}}]),t}(s.a)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return u});var a=n(49),s=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),c=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,{mode:"ellipse",name:"\u692d\u5706\u5de5\u5177",className:"round"}))}return i(t,e),c(t,[{key:"onRenderCanvas",value:function(e,t){var n=t.param,r=t.brushColor,o=t.brushWidth,i=s(n,4),a=i[0],c=i[1],u=i[2],l=i[3];e.save(),e.strokeStyle=r,e.lineWidth=o;var f=u/2*.5522848,p=l/2*.5522848,d=a+u,h=c+l,g=a+u/2,m=c+l/2;e.beginPath(),e.moveTo(a,m),e.bezierCurveTo(a,m-p,g-f,c,g,c),e.bezierCurveTo(g+f,c,d,m-p,d,m),e.bezierCurveTo(d,m+p,g+f,h,g,h),e.bezierCurveTo(g-f,h,a,m+p,a,m),e.closePath(),e.stroke(),e.restore()}}]),t}(a.a)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return f});var a=n(49),s=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),c=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u="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},l="object"===("undefined"==typeof window?"undefined":u(window)),f=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,{mode:"mosaic",name:"\u9a6c\u8d5b\u514b\u5de5\u5177",className:"mosaic",supported:l&&!/msie|trident/.test(navigator.userAgent.toLocaleLowerCase())}))}return i(t,e),c(t,[{key:"onRenderCanvas",value:function(e,t){var n=t.param,r=t.sourceImage,o=(t.brushColor,t.brushWidth),i=t.cache,a=s(n,4),c=a[0],u=a[1],l=a[2],f=a[3];if(l&&f){if(e.save(),!i.mosaicData){var p=this.getImageSourceData(r,c,u,l,f);i.mosaicData=this.doMosaic(p,(o+1)*(o+1))}e.putImageData(i.mosaicData,c,u),e.restore()}}},{key:"getImageSourceData",value:function(e,t,n,r,o){var i=document.createElement("canvas");i.width=r,i.height=o;var a=i.getContext("2d");return a.drawImage(e,-t,-n),a.getImageData(0,0,r,o)}},{key:"doMosaic",value:function(e,t){for(var n=e.width,r=e.height,o=e.data,i=new Uint8ClampedArray(n*r*4),a=function(e,t){return 4*(e+n*t)},c=function(e,t,n){return e.slice(a(t,n),a(t,n)+4)},u=function(e,t,n,r,o,i){var s=a(t,n),c=a(o,i);e[s++]=r[c++],e[s++]=r[c++],e[s++]=r[c++],e[s++]=r[c++]},l=0;l<n;l++)for(var f=0;f<r;f++){var p=l%t,d=f%t;if(!p&&!d){var h=function(e,t,i){for(var a=0,u=0,l=0,f=0,p=0,d=0;d<i&&e+d<n;d++)for(var h=0;h<i&&t+h<r;h++){var g=c(o,e+d,t+h),m=s(g,4),y=m[0],v=m[1],b=m[2],w=m[3];a+=y,u+=v,l+=b,f+=w,p++}return[Math.round(a/p),Math.round(u/p),Math.round(l/p),Math.round(f/p)]}(l,f,t);u(i,l,f,h,0,0)}}for(var g=0;g<n;g++)for(var m=0;m<r;m++){var y=g%t,v=m%t;(y||v)&&u(i,g,m,i,g-y,m-v)}return new ImageData(i,n,r)}}]),t}(a.a)},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e){return Array.isArray(e)?e:Array.from(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return f});var c=n(69),u=(n(130),function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),l=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;if(void 0!==a)return a.call(r)},f=function(e){function t(){return i(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,{mode:"path",name:"\u8def\u5f84\u5de5\u5177",className:"brush"}))}return s(t,e),u(t,[{key:"onActived",value:function(){this.path=null}},{key:"onInput",value:function(e){var t=e.type,n=e.x,r=e.y,o=!1;switch(t){case"mousedown":this.path={type:"path",param:[[n,r]]};break;case"mousemove":this.path&&this.path.param.push([n,r]);break;case"mouseup":o=!0}var i={commit:o,drawing:this.path};return o&&(this.path=null),i}},{key:"onDeactived",value:function(){return this.path=null,l(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"onDeactived",this).call(this)}},{key:"onRenderCanvas",value:function(e,t){var n=t.param,i=t.brushColor,a=t.brushWidth,s=o(n),c=s[0],u=s.slice(1);e.save(),e.strokeStyle=i,e.lineWidth=a,e.beginPath(),e.moveTo.apply(e,r(c));var l=!0,f=!1,p=void 0;try{for(var d,h=u[Symbol.iterator]();!(l=(d=h.next()).done);l=!0){var g=d.value;e.lineTo.apply(e,r(g))}}catch(e){f=!0,p=e}finally{try{!l&&h.return&&h.return()}finally{if(f)throw p}}e.stroke(),e.restore()}}]),t}(c.a)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return u});var a=n(49),s=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),c=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,{mode:"rect",name:"\u77e9\u5f62\u5de5\u5177",className:"rect"}))}return i(t,e),c(t,[{key:"onRenderCanvas",value:function(e,t){var n=t.param,r=t.brushColor,o=t.brushWidth,i=s(n,4),a=i[0],c=i[1],u=i[2],l=i[3];e.save(),e.strokeStyle=r,e.lineWidth=o,e.beginPath(),e.rect(a,c,u,l),e.closePath(),e.stroke(),e.restore()}}]),t}(a.a)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return f});var a=n(0),s=n.n(a),c=n(69),u=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),f=function(e){function t(e){var n=e.store;return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,{mode:"text",name:"\u6587\u672c\u5de5\u5177",className:"text",cursor:"text",store:n}))}return i(t,e),l(t,[{key:"onActived",value:function(){this.store.setState({text:null})}},{key:"onInput",value:function(e){var t=e.type,n=e.x,r=e.y,o=e.e,i=this.store,a=i.getState,s=i.setState;if("mousedown"==t){var c=this.commit();return s({placed:!0,x:n,y:r,text:null,dragging:!0}),this.focus(),this.clear(),{commit:!!c,drawing:c}}if("mousemove"==t){return a().dragging&&s({x:n,y:r}),{commit:!1,drawing:null}}if("mouseup"==t)return s({dragging:!1}),{commit:!1,drawing:null};if("keydown"==t&&13==o.keyCode){s({placed:!1}),o.preventDefault();var u=this.commit();return{commit:!!u,drawing:u}}return{commit:!1,drawing:null}}},{key:"onDeactived",value:function(){var e=this.commit();return this.store.setState({actived:!1,placed:!1}),{commit:!!e,drawing:e}}},{key:"commit",value:function(){var e=this.store,t=e.getState,n=(e.setState,t()),r=n.x,o=n.y,i=n.text;return i&&/\S/.test(i)?{type:this.mode,param:[r,o,i]}:null}},{key:"onRenderCanvas",value:function(e,t){var n=t.commited,r=(t.type,t.param),o=t.brushColor,i=t.fontFamily,a=t.fontSize;if(n){var s=u(r,3),c=s[0],l=s[1],f=s[2];e.save(),e.fillStyle=o,e.textBaseline="top",e.font=a+"px '"+i+"'",e.fillText(f,c+6,l-a/2+2),e.restore()}}},{key:"onRenderElement",value:function(e){var t=this,n=this.store,r=n.getState,o=n.setState,i=e.brushColor,a=e.fontFamily,c=e.fontSize,u=r(),l=u.x,f=u.y,p=u.dragging;if(!u.placed)return null;var d=function(e){return o({text:e.target.textContent})},h={position:"absolute",left:0,top:0,transform:"translate3d("+l+"px, "+(f-c/2)+"px, 0)",border:"1px dashed black",padding:"0 5px",fontFamily:a,fontSize:c+"px",color:i,minWidth:50,minHeight:1.5*c,textAlign:"left",pointerEvents:p?"none":"all"};return s.a.createElement("div",{key:this.mode,ref:function(e){return t.inputElement=e},className:"image-overlay-text-input",contentEditable:!0,onKeyUp:d,onInput:d,style:h})}},{key:"focus",value:function(){var e=this;setTimeout(function(){e.inputElement&&e.inputElement.focus()},10)}},{key:"clear",value:function(){this.inputElement&&(this.inputElement.textContent="")}}]),t}(c.a)},function(e,t,n){"use strict";function r(e){var t=e.tools,n=e.activeMode,r=e.commiting,i=e.onToggle,s=e.onUndo,p=e.onCommit,d=e.onCancel;return a.a.createElement("div",{className:"toolbar"},t.map(function(e){return a.a.createElement(o,{key:e.mode,tool:e,activeMode:n,disabled:!e.supported,onToggle:function(){return i(e)}})}),a.a.createElement("span",{className:"split"}),a.a.createElement("button",{className:c()(f,"revocation"),onClick:s},"\u64a4\u9500"),a.a.createElement("button",{className:c()(f,"cancle"),onClick:d},"\u53d6\u6d88"),a.a.createElement("button",{className:c()(f,"sure"),onClick:p},"\u786e\u5b9a"),a.a.createElement(u.CSSTransitionGroup,l.P.slide(),r&&a.a.createElement("div",{className:"toolbox-msg"},"\u6b63\u5728\u4fdd\u5b58...")))}function o(e){var t=e.tool,n=e.activeMode,r=e.onToggle,o=e.disabled,i=t.mode,s=t.name,u=t.className;return a.a.createElement("button",{className:c()(f,u||i,{actived:i==n,disabled:o}),style:{pointerEvents:o?"none":"all",opacity:o?.3:1,cursor:o?"not-allowed":""},onClick:o?null:r},s)}n.d(t,"a",function(){return r});var i=n(0),a=n.n(i),s=n(4),c=n.n(s),u=n(21),l=(n.n(u),n(2)),f="image-edit-btn"},function(e,t,n){"use strict";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){var t=e.mode,n=e.isTextBrush,o=e.brushWidth,i=e.brushColor,c=e.fontSize,g=e.onChange,m=e.anchorOffset,y=e.active,v=n?"text":"dot",b=function(e){var t=e.sizeName,s=e.children,l=n?d[t]:p[t],f=u()("image-edit-btn",v+"-"+t,{actived:l==(n?c:o)});return a.a.createElement("button",{className:f,onClick:function(){var e;return g((e={},r(e,n?"fontSize":"brushWidth",l),r(e,"brushColor",i),e))}},s)},w=function(e){var t=e.colorName,n=e.children,r=h[t],s=u()("image-edit-btn","color-"+t,{actived:r==i});return a.a.createElement("button",{className:s,style:{backgroundColor:r},onClick:function(){return g({brushWidth:o,brushColor:r})}},n)};return a.a.createElement(s.CSSTransitionGroup,f({component:"div",className:"tools-container",style:{transition:"transform .6s ease",transform:"translate3d("+m+"px, 0, 0)"}},l.P.slide({enterPosition:{x:0,y:-10}})),y&&a.a.createElement("div",{className:"toolbar sub",style:{position:"relative",top:0}},a.a.createElement(b,{sizeName:"small"},"\u5c0f\u53f7"),a.a.createElement(b,{sizeName:"normal"},"\u5e38\u89c4"),a.a.createElement(b,{sizeName:"large"},"\u5927\u53f7"),"mosaic"!==t&&[a.a.createElement("span",{key:"split",className:"split"}),a.a.createElement(w,{key:"red",colorName:"red"},"\u7ea2\u8272"),a.a.createElement(w,{key:"yellow",colorName:"yellow"},"\u9ec4\u8272"),a.a.createElement(w,{key:"green",colorName:"green"},"\u7eff\u8272"),a.a.createElement(w,{key:"blue",colorName:"blue"},"\u84dd\u8272"),a.a.createElement(w,{key:"gray",colorName:"gray"},"\u7070\u8272"),a.a.createElement(w,{key:"white",colorName:"white"},"\u767d\u8272")]))}n.d(t,"b",function(){return p}),n.d(t,"d",function(){return d}),n.d(t,"a",function(){return h}),t.c=o;var i=n(0),a=n.n(i),s=n(21),c=(n.n(s),n(4)),u=n.n(c),l=n(2),f=Object.assign||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},p={small:1,normal:3,large:7},d={small:14,normal:24,large:36},h={red:"#ff411d",yellow:"#ffe729",green:"#76d623",blue:"#2a9bff",gray:"#676767",white:"#ffffff"}},function(e,t,n){"use strict";function r(e){var t=e.store,n=t.getEditorState(),r=n.getCurrentContent(),i=n.getSelection(),a=t.getEditorEnviorment(),c=i.getFocusKey(),u=i.getStartKey(),l=i.getStartOffset(),f=r.getBlockForKey(u),p=s.a.createElement(o,{key:"start",env:a,block:f,focused:c===u,offset:l});if(!i.isCollapsed()){var d=i.getEndKey(),h=i.getEndOffset(),g=r.getBlockForKey(d);p=[p,s.a.createElement("br",{key:"wrap"}),s.a.createElement(o,{key:"end",block:g,focused:c===d,offset:h})]}return s.a.createElement("div",{className:"toolbar-debug-view"},p)}function o(e){var t=e.block,n=e.env,r=e.focused,o=e.offset;return t?s.a.createElement("span",{className:u()("content-block",t.getType(),{focused:r})},n||""," [",t.getType(),": ",t.getKey()," ",o,"/",t.getLength(),"]"):s.a.createElement("span",{className:"empty-block"},"Empty")}t.a=r;var i=n(469),a=(n.n(i),n(0)),s=n.n(a),c=n(4),u=n.n(c)},function(e,t){},function(e,t,n){"use strict";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,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return d});var s=n(0),c=n.n(s),u=n(4),l=n.n(u),f=n(2),p=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,c=Array(s),u=0;u<s;u++)c[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),r.handleClick=function(e){var t=r.props,n=t.store,o=t.focusTable,i=n.getEditorState,a=n.setEditorState,s={blockKey:null};Object(f.D)({getEditorState:i,setEditorState:a,ref:s}),"function"==typeof o&&s.blockKey&&requestAnimationFrame(function(){return o(s.blockKey)})},a=n,i(r,a)}return a(t,e),p(t,[{key:"render",value:function(){var e=this.props,t=e.theme,n=e.disabled;return n=n||!this.canInsertTable(),c.a.createElement("div",{className:t.buttonWrapper,title:"\u63d2\u5165\u8868\u683c"},c.a.createElement("button",{className:l()(t.button,r({},t.disabled,n)),disabled:n,onClick:this.handleClick},c.a.createElement("i",{className:"qa-ico-table"},"\u8868")))}},{key:"canInsertTable",value:function(){var e=this.props.store.getEditorState(),t=e.getCurrentContent(),n=e.getSelection();if(!n.isCollapsed())return!1;var r=n.getAnchorKey(),o=t.getBlockMap().get(r);return o&&!/\S/.test(o.getText())}}]),t}(s.Component)},function(e,t,n){"use strict";var r=n(472);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,i){try{var a=t[o](i),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}return r("next")})}}function o(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){return Array.isArray(e)?e:Array.from(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}n.d(t,"a",function(){return M});var l,f,p,d=n(473),h=(n.n(d),n(0)),g=n.n(h),m=n(16),y=(n.n(m),n(4)),v=n.n(y),b=n(3),w=(n.n(b),n(21)),k=(n.n(w),n(1)),S=(n.n(k),n(2)),E=n(474),x=n(475),_=n(20),C=n.n(_),O=Object.assign||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=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),A=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),P=C()("table-block"),L=function(e,t,n){return[].concat(u(e.slice(0,t)),[n],u(e.slice(t+1)))},R=function(e,t,n){return[].concat(u(e.slice(0,t)),[n],u(e.slice(t)))},D=function(e,t){var n=e.slice();return n.splice(t,1),n},I=function(e){if(!e)return!0;if(!e.blocks||!e.blocks.length)return!0;var t=!0,n=!1,r=void 0;try{for(var o,i=e.blocks[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){if(/\S/.test(o.value.text))return!1}}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}return!0},M=(f=l=function(e){function t(){var e,n,r,o;a(this,t);for(var i=arguments.length,c=Array(i),u=0;u<i;u++)c[u]=arguments[u];return n=r=s(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),p.call(r),o=n,s(r,o)}return c(t,e),A(t,[{key:"render",value:function(){var e=this,t=this.props.blockProps,n=t.data,r=t.onRef;if(!n)return this.renderCorrputed();var a=n.get("aligns")||[],s=n.get("rows");if(!s||!s.length)return this.renderCorrputed();var c=i(s),u=c[0],l=c.slice(1),f=function(t,n){var r,i=a[t]&&a[t].align;return v()((r={},o(r,"align-"+i,i),o(r,"focused",n===e.state.activeCellKey),r))},p=function(t,n){return function(r,o){return r.raw?g.a.createElement(t,{key:r.key,ref:function(t){return e.cellRefs[r.key]=t},className:f(o,r.key),colSpan:r.colspan,rowSpan:r.rowspan,onMouseDown:function(t){return e.handleCellMouseDown(t,r.key)},onMouseEnter:function(t){return e.handleCellMouseEnter(t,r.key)}},e.renderNestedEditor(n,o,r)):null}};return g.a.createElement("div",{className:"table-wrapper",ref:function(t){return e.wrapperElement=t},onContextMenu:this.handleContextMenu,tabIndex:0},g.a.createElement("table",{ref:function(t){return r(t?e:null)},style:{userSelect:"none"},className:"table-editor"},g.a.createElement("thead",null,g.a.createElement("tr",null,u.cells.map(p("th",0)))),g.a.createElement("tbody",null,l.map(function(e,t){return g.a.createElement("tr",{key:e.key},e.cells.map(p("td",t+1)))}))),this.renderSelectBox(),this.renderContextMenu())}},{key:"renderCorrputed",value:function(){return g.a.createElement("div",null,"\u65e0\u6cd5\u89e3\u6790\u8868\u683c\u6570\u636e\uff01")}},{key:"renderNestedEditor",value:function(e,t,n){var r=this,o=n.key,i=n.raw,a=this.props.blockProps,s=a.onSave,c=a.onSelectionChange;return g.a.createElement(E.a,{ref:function(e){return r.editorRefs[o]=e},raw:i,focused:o===this.state.activeCellKey,onSave:s,onChange:function(n){return r.handleCellContentChange(e,t,n)},onSelectionChange:c,onTableCommand:function(n){return r.executeTableCommand(n,e,t)}})}},{key:"renderSelectBox",value:function(){var e=this.state.multiSelection;if(!e||!this.wrapperElement)return null;var t=T(e,4),n=t[0],r=t[1],o=t[2],i=t[3],a=this.getCell(n,o),s=this.getCell(r,i);if(a.raw||(a=this.getCellSpanAncestor(n,o)[2]),s.raw||(s=this.getCellSpanAncestor(r,i)[2]),!a||!s)return null;var c=this.cellRefs[a.key],u=this.cellRefs[s.key],l=this.wrapperElement.getBoundingClientRect(),f=c.getBoundingClientRect(),p=u.getBoundingClientRect(),d=x.b(f,l),h=x.b(p,l),m=x.a(d,h);return m.width++,m.height++,g.a.createElement("div",{className:"select-box",style:m})}},{key:"renderContextMenu",value:function(){var e=this.state,t=e.contextMenu,n=e.multiSelection;if(!t)return!1;var r=t.x,o=t.y,i={position:"fixed",left:r+"px",top:o+"px"},a=function(e){if(e){var t=0,n=0;window.outerHeight-o<e.clientHeight+100&&(n=-e.clientHeight),window.innerWidth-r<e.clientWidth+100&&(t=-e.clientWidth),(t||n)&&(e.style.transform="translate("+t+"px, "+n+"px)")}};return g.a.createElement("div",{className:"table-editor-context-menu",style:i,ref:a,onMouseDown:function(e){e.stopPropagation(),e.preventDefault()}},n?this.renderMenuForMultiCell():this.renderMenuForSingleCell())}},{key:"renderMenuForSingleCell",value:function(){var e=this,t=this.state.activeCellKey,n=this.getCellIndexes(t)||[],r=T(n,2),o=r[0],i=r[1],a=function(t){return function(){e.executeTableCommand(t,o,i),e.setState({contextMenu:null})}},s=this.getCell(o,i),c=s&&(s.colspan>1||s.rowspan>1);return g.a.createElement("ul",null,c&&g.a.createElement("li",{onClick:a("split-cell")},"\u62c6\u5206\u5355\u5143\u683c"),c&&g.a.createElement("li",{className:"spliter"}),g.a.createElement("li",{onClick:a("align-left")},"\u5de6\u5bf9\u9f50"),g.a.createElement("li",{onClick:a("align-center")},"\u5c45\u4e2d\u5bf9\u9f50"),g.a.createElement("li",{onClick:a("align-right")},"\u53f3\u5bf9\u9f50"),g.a.createElement("li",{className:"spliter"}),g.a.createElement("li",{onClick:a("insert-row-above")},"\u5728\u4e0a\u65b9\u63d2\u5165\u884c"),g.a.createElement("li",{onClick:a("insert-row-below")},"\u5728\u4e0b\u65b9\u63d2\u5165\u884c"),g.a.createElement("li",{onClick:a("insert-col-left")},"\u5728\u5de6\u4fa7\u63d2\u5165\u5217"),g.a.createElement("li",{onClick:a("insert-col-right")},"\u5728\u53f3\u4fa7\u63d2\u5165\u5217"),g.a.createElement("li",{className:"spliter"}),g.a.createElement("li",{onClick:a("remove-table")},"\u5220\u9664\u8868\u683c"))}},{key:"renderMenuForMultiCell",value:function(){var e=this,t=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return function(){e.executeTableCommand.apply(e,[t].concat(r)),e.setState({contextMenu:null})}},n=this.getTableData(),r=n.numberOfColumns,o=n.numberOfRows,i=T(this.state.multiSelection,4),a=i[0],s=i[1],c=i[2],u=i[3],l=0===c&&u===r-1,f=0===a&&s===o-1,p=l&&f,d=a===s||a>0;return g.a.createElement("ul",null,g.a.createElement("li",{onClick:t("clear-cell-content")},"\u6e05\u7a7a\u5355\u5143\u683c\u5185\u5bb9"),d&&g.a.createElement("li",{onClick:t("combine-cells",a,s,c,u)},"\u5408\u5e76\u5355\u5143\u683c"),d&&(l||f)&&g.a.createElement("li",{className:"spliter"}),p&&g.a.createElement("li",{onClick:t("remove-table")},"\u5220\u9664\u8868\u683c"),!p&&l&&g.a.createElement("li",{onClick:t("remove-multi-rows",a,s)},"\u5220\u9664 ",s-a+1," \u884c"),!p&&f&&g.a.createElement("li",{onClick:t("remove-multi-cols",c,u)},"\u5220\u9664 ",u-c+1," \u5217"))}},{key:"renderToolbarButtons",value:function(e){var t=this,n=e.theme,r=this.state,i=r.multiSelection,a=r.activeCellKey;if(!a&&!i)return null;var s=a?this.getCellIndexes(a):[],c=T(s,2),u=c[0],l=c[1],f=i||[u,u,l,l],p=T(f,4),d=p[0],h=p[1],m=p[2],y=p[3],b=function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return function(){t.executeTableCommand.apply(t,[e].concat(r)),t.setState({contextMenu:null})}},w=function(e,t,r,i){return g.a.createElement("div",{key:e,className:n.buttonWrapper,title:t},g.a.createElement("button",{className:v()(n.button,o({},n.disabled,i)),disabled:i,onClick:r(e)},g.a.createElement("i",{className:"qa-ico-"+e},e)))},k={"remove-row":"remove-multi-rows","remove-column":"remove-multi-cols"},S=function(e){return b(e,u,l)},E=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return b.apply(void 0,[k[e]||e].concat(t))}},x=this.getTableData(),_=x.numberOfColumns,C=x.numberOfRows,O=0===m&&y===_-1,A=0===d&&h===C-1;return["spliter",w("align-left","\u5de6\u5bf9\u9f50",S,i),w("align-center","\u5c45\u4e2d\u5bf9\u9f50",S,i),w("align-right","\u53f3\u5bf9\u9f50",S,i),"spliter",w("insert-row-above","\u5728\u4e0a\u65b9\u63d2\u5165\u884c",S,i),w("insert-row-below","\u5728\u4e0b\u65b9\u63d2\u5165\u884c",S,i),w("insert-col-left","\u5728\u5de6\u4fa7\u63d2\u5165\u5217",S,i),w("insert-col-right","\u5728\u53f3\u4fa7\u63d2\u5165\u5217",S,i),"spliter",w("combine-cells","\u5408\u5e76\u5355\u5143\u683c",E(d,h,m,y),!i),w("split-cell","\u62c6\u5206\u5355\u5143\u683c",S,i||!function(){return t.getCell(u,l).colspan}()),"spliter",w("remove-row","\u5220\u9664\u884c",E(d,h),!O),w("remove-column","\u5220\u9664\u5217",E(m,y),!A),w("remove-table","\u5220\u9664\u8868\u683c",S)]}},{key:"focusFirstRow",value:function(){this.activeCellByIndex(0,0)}},{key:"focusLastRow",value:function(){var e=this.props.block.getData().get("rows"),t=e.length;this.activeCellByIndex(t-1,0)}},{key:"componentDidMount",value:function(){window.addEventListener("mouseup",this.handleGlobalMouseUp,!0),window.addEventListener("mousedown",this.handleGlobalMouseDown,!1),window.addEventListener("resize",this.handleGlobalResize,!1),this.wrapperElement&&this.wrapperElement.addEventListener("keydown",this.handleKeyDown)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("mouseup",this.handleGlobalMouseUp),window.removeEventListener("mousedown",this.handleGlobalMouseDown),window.removeEventListener("resize",this.handleGlobalResize),this.wrapperElement&&this.wrapperElement.removeEventListener("keydown",this.handleKeyDown),this.exitEditMode()}},{key:"getRow",value:function(e){return this.props.block.getData().get("rows")[e]||null}},{key:"getCell",value:function(e,t){var n=this.getRow(e);return n&&n.cells[t]||null}},{key:"activeCellByIndex",value:function(e,t,n){var r=this.getCell(e,t);if(r){var o=r.key;this.activeCellByKey(o,n)}}},{key:"executeTableCommand",value:function(){function e(e){return t.apply(this,arguments)}var t=r(regeneratorRuntime.mark(function e(t){for(var n=this,r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];var a,s,c,u,l,f,p,d,h,g,m,y,v,b,w,E,x,_,C,A,M,j,N,B,F,K,q,U,z,H,V,W,G,$,X,Y,Z,J,Q,ee,te,ne,re,oe,ie,ae,se,ce,ue,le,fe,pe,de,he,ge,me,ye,ve,be,we,ke,Se,Ee,xe,_e,Ce,Oe,Te,Ae,Pe,Le,Re,De,Ie,Me,je,Ne,Be,Fe,Ke,qe,Ue,ze,He,Ve,We,Ge,$e,Xe,Ye,Ze,Je,Qe,et,tt,nt,rt,ot,it,at,st,ct,ut,lt,ft,pt,dt,ht,gt,mt,yt,vt,bt,wt,kt,St,Et,xt,_t,Ct,Ot,Tt,At,Pt,Lt,Rt,Dt,It,Mt,jt,Nt;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:a=this.props.blockProps,s=a.onReturnStart,c=a.onReturnEnd,u=a.onFocusAbove,l=a.onFocusBelow,f=this.getTableData(),p=f.aligns,d=f.rows,h=f.numberOfColumns,g=f.numberOfRows,m=t.split("-").pop(),P("Command: %s",t),e.t0=t,e.next="align-left"===e.t0?9:"align-center"===e.t0?9:"align-right"===e.t0?9:"insert-row-above"===e.t0?13:"insert-row-below"===e.t0?13:"insert-col-left"===e.t0?45:"insert-col-right"===e.t0?45:"remove-row"===e.t0?77:"remove-col"===e.t0?82:"remove-table"===e.t0?87:"focus-next"===e.t0?89:"focus-prev"===e.t0?89:"focus-left"===e.t0?111:"focus-up"===e.t0?111:"focus-right"===e.t0?111:"focus-down"===e.t0?111:"return-start"===e.t0?119:"return-end"===e.t0?127:"clear-cell-content"===e.t0?135:"remove-multi-rows"===e.t0?138:"remove-multi-cols"===e.t0?142:"combine-cells"===e.t0?146:"split-cell"===e.t0?156:162;break;case 9:return y=T(o,2),v=y[0],b=y[1],w=Object(S.d)(m),this.updateBlockData({aligns:L(p,b,w)}),e.abrupt("break",162);case 13:if(E=T(o,2),x=E[0],_=E[1],C=this.getCellIndexBound(x,_),A=T(C,4),M=A[0],j=A[1],N=A[2],B=A[3],F=Math.max(1,"below"===m?j+1:M),!(K=F>1?this.getRow(F-1):null)){e.next=42;break}for(q=[],U=R(d,F,{key:Object(k.genKey)(),cells:K.cells.map(function(e,t){var r=n.getCellIndexBound(F-1,t),o=T(r,4),i=o[0],a=o[1],s=o[2];o[3];return a>=F?(q.push([i,s,n.getCell(i,s)]),{key:Object(k.genKey)(),raw:null}):Object(S.e)()})}),z=!0,H=!1,V=void 0,e.prev=23,W=q[Symbol.iterator]();!(z=(G=W.next()).done);z=!0)$=G.value,X=T($,3),Y=X[0],Z=X[1],J=X[2],U=L(U,Y,O({},U[Y],{cells:L(U[Y].cells,Z,O({},J,{rowspan:J.rowspan+1}))}));e.next=31;break;case 27:e.prev=27,e.t1=e.catch(23),H=!0,V=e.t1;case 31:e.prev=31,e.prev=32,!z&&W.return&&W.return();case 34:if(e.prev=34,!H){e.next=37;break}throw V;case 37:return e.finish(34);case 38:return e.finish(31);case 39:this.updateBlockData({rows:U}),e.next=43;break;case 42:this.updateBlockData({rows:R(d,F,Object(S.f)(h))});case 43:return requestAnimationFrame(function(){return n.activeCellByIndex(F,_)}),e.abrupt("break",162);case 45:if(Q=T(o,2),ee=Q[0],te=Q[1],ne=this.getCellIndexBound(ee,te),re=T(ne,4),oe=re[0],ie=re[1],ae=re[2],se=re[3],ce="right"===m?se+1:ae,!((ue=ce-1)>=0)){e.next=74;break}for(le=[],fe=d.map(function(e,t){var r=e.key,o=e.cells,i=n.getCellIndexBound(t,ue),a=T(i,4),s=a[0],c=(a[1],a[2]),u=a[3],l=void 0;return u>=ce?(le.push([s,c,n.getCell(s,c)]),l={key:Object(k.genKey)(),raw:null}):l=Object(S.e)(),{key:r,cells:R(o,ce,l)}}),pe=!0,de=!1,he=void 0,e.prev=55,ge=le[Symbol.iterator]();!(pe=(me=ge.next()).done);pe=!0)ye=me.value,ve=T(ye,3),be=ve[0],we=ve[1],ke=ve[2],fe=L(fe,be,O({},fe[be],{cells:L(fe[be].cells,we,O({},ke,{colspan:ke.colspan+1}))}));e.next=63;break;case 59:e.prev=59,e.t2=e.catch(55),de=!0,he=e.t2;case 63:e.prev=63,e.prev=64,!pe&&ge.return&&ge.return();case 66:if(e.prev=66,!de){e.next=69;break}throw he;case 69:return e.finish(66);case 70:return e.finish(63);case 71:this.updateBlockData({aligns:R(p,ce,Object(S.d)()),rows:fe}),e.next=75;break;case 74:this.updateBlockData({aligns:R(p,ce,Object(S.d)()),rows:d.map(function(e){var t=e.key,n=e.cells;return{key:t,cells:R(n,ce,Object(S.e)())}})});case 75:return requestAnimationFrame(function(){return n.activeCellByIndex(ee,ce)}),e.abrupt("break",162);case 77:if(Se=T(o,2),Ee=Se[0],xe=Se[1],1!==g){e.next=80;break}return e.abrupt("return",this.executeTableCommand("remove-table"));case 80:return this.updateBlockData({rows:D(d,Ee)}),e.abrupt("break",162);case 82:if(_e=T(o,2),Ce=_e[0],Oe=_e[1],1!==h){e.next=85;break}return e.abrupt("return",this.executeTableCommand("remove-table"));case 85:return this.updateBlockData({aligns:D(p,Oe),rows:d.map(function(e){var t=e.key,n=e.cells;return{key:t,cells:D(n,Oe)}})}),e.abrupt("break",162);case 87:return this.props.blockProps.onRemoveTable(),e.abrupt("break",162);case 89:if(Te=T(o,2),Ae=Te[0],Pe=Te[1],Le=Ae*h+Pe,!((Re=Le+("next"===m?1:-1))>=h*g)){e.next=95;break}return e.next=95,this.executeTableCommand("insert-row-below",Ae,Pe);case 95:if(!(Re>=0)){e.next=110;break}case 96:if(De=Math.floor(Re/h),Ie=Re%h,Me=this.getCell(De,Ie)){e.next=102;break}return e.abrupt("return");case 102:if(!Me.raw){e.next=107;break}return this.activeCellByIndex(De,Ie,"focus-prev"===t),e.abrupt("break",110);case 107:Re+="next"===m?1:-1;case 108:e.next=96;break;case 110:return e.abrupt("break",162);case 111:return je=T(o,2),Ne=je[0],Be=je[1],Fe=this.getCellIndexBound(Ne,Be),Ke=T(Fe,4),qe=Ke[0],Ue=Ke[1],ze=Ke[2],He=Ke[3],Ve=T({left:[-1,0],up:[0,-1],right:[1,0],down:[0,1]}[m],2),We=Ve[0],Ge=Ve[1],$e=(Ge>0?Ue:qe)+Ge,Xe=(We>0?He:ze)+We,Ye=this.getCell($e,Xe),Ye?(Ye.row||(Ze=this.getCellSpanAncestor($e,Xe),Je=T(Ze,2),Qe=Je[0],et=Je[1],$e=Qe,Xe=et),this.activeCellByIndex($e,Xe,"focus-up"===t||"focus-left"===t)):-1===$e?(this.exitEditMode(),u()):$e===g&&(this.exitEditMode(),l()),e.abrupt("break",162);case 119:if(tt=T(o,2),nt=tt[0],rt=tt[1],0!==nt||0!==rt){e.next=125;break}this.exitEditMode(),s(),e.next=126;break;case 125:return e.abrupt("return",this.executeTableCommand("focus-next",nt,rt));case 126:return e.abrupt("break",162);case 127:if(ot=T(o,2),it=ot[0],at=ot[1],it!==g-1||at!==h-1){e.next=133;break}this.exitEditMode(),c(),e.next=134;break;case 133:return e.abrupt("return",this.executeTableCommand("focus-next",it,at));case 134:return e.abrupt("break",162);case 135:return st=this.state.multiSelection,st&&(ct=T(st,4),ut=ct[0],lt=ct[1],ft=ct[2],pt=ct[3],this.updateBlockData({rows:d.map(function(e,t){return t<ut||t>lt?e:O({},e,{cells:e.cells.map(function(e,t){return t<ft||t>pt?e:(n.editorRefs[e.key]&&n.editorRefs[e.key].clear(),O({},e,{raw:e.raw&&Object(S.c)("")}))})})})}),requestAnimationFrame(function(){return n.forceUpdate()})),e.abrupt("break",162);case 138:return dt=T(o,2),ht=dt[0],gt=dt[1],this.updateBlockData({rows:(d.splice(ht,gt-ht+1),d)}),this.setState({anchorCellKey:null,focusCellKey:null,multiSelection:null}),e.abrupt("break",162);case 142:return mt=T(o,2),yt=mt[0],vt=mt[1],this.updateBlockData({aligns:(p.splice(yt,vt-yt+1),p),rows:d.map(function(e){return O({},e,{cells:(e.cells.splice(yt,vt-yt+1),e.cells)})})}),this.setState({anchorCellKey:null,focusCellKey:null,multiSelection:null}),e.abrupt("break",162);case 146:return bt=T(o,4),wt=bt[0],kt=bt[1],St=bt[2],Et=bt[3],xt=kt-wt+1,_t=Et-St+1,Ct=function(e,t){return d[e].cells[t].raw},Ot=function(){for(var e=wt;e<=kt;e++)for(var t=St;t<=Et;t++){var n=Ct(e,t);if(!I(n))return n}},Tt=Ot()||Ct(wt,St),At=null,this.updateBlockData({rows:d.map(function(e,t){return t<wt||t>kt?e:O({},e,{cells:e.cells.map(function(e,n){return n<St||n>Et?e:t===wt&&n===St?(At=e.key,O({},e,{raw:Tt,rowspan:xt,colspan:_t})):(delete e.rowspan,delete e.colspan,O({},e,{raw:null}))})})})}),this.setState({anchorCellKey:null,focusCellKey:null,multiSelection:null,activeCellKey:At},function(){n.editorRefs[At]&&n.editorRefs[At].syncRaw(),n.activeCellByKey(At,!0),n.props.blockProps.onSelectionChange()}),e.abrupt("break",162);case 156:return Pt=T(o,2),Lt=Pt[0],Rt=Pt[1],Dt=this.getCell(Lt,Rt),It=Dt.rowspan,Mt=Dt.colspan,jt=Lt+It-1,Nt=Rt+Mt-1,this.updateBlockData({rows:d.map(function(e,t){return t<Lt||t>jt?e:O({},e,{cells:e.cells.map(function(e,n){if(n<Rt||n>Nt)return e;if(t===Lt&&n===Rt){var r=O({},e);return delete r.rowspan,delete r.colspan,r}return Object(S.e)()})})})}),e.abrupt("break",162);case 162:case"end":return e.stop()}},e,this,[[23,27,31,39],[32,,34,38],[55,59,63,71],[64,,66,70]])}));return e}()},{key:"getTableData",value:function(){var e=this.props.blockProps.data;if(!e)return null;var t=e.get("aligns"),n=e.get("rows");return{aligns:t,rows:n,numberOfRows:n.length,numberOfColumns:n[0].cells.length}}},{key:"updateBlockData",value:function(e){var t=this.props.block,n=this.props.blockProps.store,r=n.getEditorState,o=n.setEditorState,i=r(),a=i.getCurrentContent().getBlockMap(),s=t.getData();for(var c in e)e.hasOwnProperty(c)&&(s=s.set(c,e[c]));var u=a.set(t.getKey(),t.set("data",s));o(k.EditorState.createWithContent(i.getCurrentContent().set("blockMap",u),i.getDecorator()))}},{key:"isMulitiSelectMode",value:function(){return!!this.state.multiSelection}},{key:"isCellInsideMultiSelection",value:function(e){var t=this.state.multiSelection;if(!t)return!1;var n=T(t,4),r=n[0],o=n[1],i=n[2],a=n[3],s=this.getCellIndexes(e),c=T(s,2),u=c[0],l=c[1];return r<=u&&u<=o&&i<=l&&l<=a}},{key:"getCellIndexes",value:function(e){for(var t=this.props.blockProps.data.get("rows"),n=0;n<t.length;n++)for(var r=t[n].cells||[],o=0;o<r.length;o++)if(r[o].key===e)return[n,o];return null}},{key:"getCellSpanAncestor",value:function(e,t){for(var n=e;n>=0;n--)for(var r=this.getRow(n),o=t;o>=0;o--){var i=r.cells[o];if(n+i.rowspan>e&&o+i.colspan>t)return[n,o,i]}return[e,t,this.getCell(e,t)]}},{key:"getCellIndexBound",value:function(e,t){var n=this.getCell(e,t);return n.colspan>1||n.rowspan>1?[e,e+n.rowspan-1,t,t+n.colspan-1]:n.raw?[e,e,t,t]:this.getCellIndexBound.apply(this,u(this.getCellSpanAncestor(e,t)))}}]),t}(g.a.Component),p=function(){var e=this;this.editorRefs={},this.cellRefs={},this.state={activeCellKey:null,anchorCellKey:null,focusCellKey:null,multiSelection:null,contextMenu:null},this.wrapperElement=null,this.getActiveCellStore=function(){var t=function(){if(e.editorRefs[e.state.activeCellKey])return e.editorRefs[e.state.activeCellKey].getStore()};return{getEditorEnviorment:function(){return t()?"table":"table-multi-select"},getEditorState:function(){var e=t();return e?e.getEditorState():k.EditorState.createEmpty()},setEditorState:function(){var e=t();e&&e.setEditorState.apply(e,arguments)},getTableToolbarButtons:function(t){var n=t.theme;return e.renderToolbarButtons({theme:n})}}},this.enterEditMode=function(){e.props.blockProps.onFocusTable();for(var t=e.wrapperElement,n=t;n&&!n.classList.contains("draft-editor-host");)n=n.parentElement;var r=e.props.block&&e.props.block.getKey(),o=function(e){e.__fromTableBlock=r},i=function(t){t.__fromTableBlock!==r&&e.exitEditMode()};t.addEventListener("mousedown",o),n.addEventListener("mousedown",i),e.clearExitWatchers=function(){n.removeEventListener("mousedown",i),t.removeEventListener("mousedown",o),e.clearExitWatchers=null}},this.exitEditMode=function(){e.props.blockProps.onExitTable(),e.setState({activeCellKey:null,anchorCellKey:null,focusCellKey:null,multiSelection:null}),e.clearExitWatchers&&e.clearExitWatchers()},this.handleGlobalMouseUp=function(t){e.isMousePressed=!1},this.handleGlobalMouseDown=function(t){e.setState({contextMenu:null})},this.handleGlobalResize=function(t){e.isMulitiSelectMode()&&e.forceUpdate()},this.handleContextMenu=function(t){var n=t.pageX,r=t.pageY;e.setState({contextMenu:{x:n-window.pageXOffset,y:r-window.pageYOffset}}),t.preventDefault()},this.handleCellMouseDown=function(t,n){e.isCellInsideMultiSelection(n)&&2===t.button||(e.isMousePressed=!0,e.setState({anchorCellKey:null,focusCellKey:null,multiSelection:null}),e.activeCellByKey(n))},this.handleCellMouseEnter=function(t,n){if(e.isMousePressed){var r=e.state,o=r.activeCellKey,i=(r.focusCellKey,r.anchorCellKey),a=function(){e.props.blockProps.onSelectionChange()},s=function(t,n){var r=e.getCellIndexes(t),o=T(r,2),i=o[0],s=o[1],c=e.getCellIndexes(n),l=T(c,2),f=l[0],p=l[1],d=Math.min(i,f),h=Math.min(s,p),g=Math.max(i,f),m=Math.max(s,p);e.setState({activeCellKey:null,anchorCellKey:t,focusCellKey:n,multiSelection:function t(n,r,o,i){for(var a=n,s=r,c=o,l=i,f=function(e,t,n){e<a&&(a=e),t<c&&(c=t),n.rowspan>1&&(s=Math.max(s,e+n.rowspan-1)),n.colspan>1&&(l=Math.max(l,t+n.colspan-1))},p=n;p<=r;p++)for(var d=e.getRow(p),h=o;h<=i;h++){var g=d.cells[h];g.raw?f(p,h,g):f.apply(void 0,u(e.getCellSpanAncestor(p,h)))}return a!==n||s!==r||c!==o||l!==i?t(a,s,c,l):[a,s,c,l]}(d,g,h,m)},a)};i||n===i?i===n?(e.setState({anchorCellKey:null,focusCellKey:null,multiSelection:null},a),e.activeCellByKey(n)):s(i,n):(s(o,n),document.getSelection().removeAllRanges(),e.wrapperElement.focus())}},this.handleKeyDown=function(t){8!==t.keyCode&&46!==t.keyCode||e.isMulitiSelectMode()&&e.executeTableCommand("clear-cell-content")},this.handleCellContentChange=function(t,n,r){var o=e.props.blockProps.data,i=o.get("rows"),a=i[t],s=a.cells[n],c=O({},s,{raw:r}),u={key:a.key,cells:L(a.cells,n,c)},l=L(i,t,u);e.updateBlockData({rows:l})},this.activeCellByKey=function(t,n){P("cell-focus %s",t);var r=e.state.activeCellKey;e.setState({activeCellKey:t},function(){r||(P("focus-table"),e.enterEditMode());var o=e.editorRefs[t];o&&o.focus(n),requestAnimationFrame(function(){return e.props.blockProps.onSelectionChange()})})}},f)},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return y});var a,s,c=n(0),u=n.n(c),l=n(18),f=n.n(l),p=n(1),d=(n.n(p),n(2)),h=n(121),g=n(113),m=(n(36),function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),y=(s=a=function(e){function t(){var e,n,i,a;r(this,t);for(var s=arguments.length,c=Array(s),u=0;u<s;u++)c[u]=arguments[u];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),i.decorator=new p.CompositeDecorator([h.a]),i.state={editorState:i.getInitialEditorState()},i.clear=function(){i.setState({editorState:p.EditorState.createEmpty(i.decorator)})},i.handleChange=function(e){var t=i.state.editorState.getCurrentContent(),n=e.getCurrentContent();i.setState({editorState:e},function(){t!==n&&"function"==typeof i.props.onChange?i.props.onChange(Object(p.convertToRaw)(n)):i.props.onSelectionChange()})},i.handlePastedText=function(e){var t=i.state.editorState;e=e.replace(/\t/g," "),e=e.replace(/\r\n/g,"\n");var n=t.getSelection(),r=p.ContentState.createFromText(e,/$/).getBlockMap(),o=p.Modifier.replaceWithFragment(t.getCurrentContent(),n,r);return i.handleChange(p.EditorState.push(t,o,"insert-fragment")),"handled"},i.keyBindingFn=function(e){var t=i.state.editorState,n=function(t){return e.preventDefault(),i.props.onTableCommand(t),"table/"+t};if(Object(d.H)(e)&&"function"==typeof i.props.onSave&&(e.preventDefault(),i.props.onSave(e)),9===e.keyCode&&!e.metaKey&&!e.ctrlKey&&!e.altKey)return n(e.shiftKey?"focus-prev":"focus-next");if(13===e.keyCode)return!e.shiftKey||e.ctrlKey||e.metaKey||e.altKey?(n("focus-down"),null):"softline";if(8===e.keyCode&&Object(d.F)(t))return n("focus-prev");if([37,38,39,40].indexOf(e.keyCode)>-1&&!e.shiftKey&&!e.metaKey&&!e.ctrlKey&&!e.altKey){var r=Object(d.v)(t),o=r.isAtFirstBlock,a=r.isAtLastBlock,s=r.isAtStartOfBlock,c=r.isAtEndOfBlock;switch(e.keyCode){case 37:if(o&&s)return i.props.onTableCommand("focus-left"),void e.preventDefault();break;case 38:if(o&&s)return i.props.onTableCommand("focus-up"),void e.preventDefault();break;case 39:if(a&&c)return i.props.onTableCommand("focus-right"),void e.preventDefault();break;case 40:if(a&&c)return i.props.onTableCommand("focus-down"),void e.preventDefault()}}return Object(p.getDefaultKeyBinding)(e)},i.handleKeyCommand=function(e){var t=i.state.editorState;if("softline"===e)return i.handleChange(p.RichUtils.insertSoftNewline(t)),"handled";var n=p.RichUtils.handleKeyCommand(i.state.editorState,e);return n?(i.handleChange(n),"handled"):"not-handled"},a=n,o(i,a)}return i(t,e),m(t,[{key:"getStore",value:function(){var e=this;return{getEditorEnviorment:function(){return"table"},getEditorState:function(){return e.state.editorState},setEditorState:this.handleChange}}},{key:"render",value:function(){var e=this,t=this.props,n=t.focused,r=(t.raw,t.onFocus,t.onBlur),o=function(e){return e.stopPropagation()};return u.a.createElement("div",{className:"table-nested-editor",ref:function(t){return e.element=t},onSelect:o,onKeyDown:o,onChange:o},u.a.createElement(p.Editor,{ref:function(t){return e.editor=t},readOnly:!n,editorState:this.state.editorState,onChange:this.handleChange,onBlur:r,customStyleMap:g.a,keyBindingFn:this.keyBindingFn,handlePastedText:this.handlePastedText,onUpArrow:this.keyBindingFn,onDownArrow:this.keyBindingFn,onLeftArrow:this.keyBindingFn,onRightArrow:this.keyBindingFn,handleKeyCommand:this.handleKeyCommand,onTab:this.keyBindingFn}))}},{key:"getInitialEditorState",value:function(){var e=this.props.raw;"string"==typeof e&&(e=Object(d.c)(e));var t=Object(p.convertFromRaw)(e);return p.EditorState.createWithContent(t,this.decorator)}},{key:"syncRaw",value:function(){this.setState({editorState:this.getInitialEditorState()})}},{key:"focus",value:function(e){this.editor&&(this.editor.focus(),e&&this.handleChange(p.EditorState.moveFocusToEnd(this.state.editorState)))}}]),t}(c.Component),a.propTypes={raw:f.a.oneOfType([f.a.object,f.a.string]).isRequired},s)},function(e,t,n){"use strict";function r(e,t){return{left:e.left-t.left,top:e.top-t.top,width:e.width,height:e.height}}function o(e,t){var n=Math.min(e.left,t.left),r=Math.max(e.left+e.width,t.left+t.width),o=Math.min(e.top,t.top);return{left:n,top:o,width:r-n,height:Math.max(e.top+e.height,t.top+t.height)-o}}t.b=r,t.a=o},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,i){try{var a=t[o](i),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}return r("next")})}}function o(e,t,n,o){var i=this,s=t.getEditorState,c=t.setEditorState,f=n.takeOverStore,p=n.recoverStore,d=n.readMemory,h=n.updateMemory,g=n.triggerCommand,m=n.focusHostEditor,y=n.refreshToolbar,v=function(e){return o[e]},b=function(n){l("enter "+n),"root"===t.getEditorEnviorment()&&Object(a.M)(t,e,"collapse"),f(function(e){e.focusTableKey;return o[n].getActiveCellStore()}),h(function(e){return u({},e,{focusTableKey:n})})},w=function(){var e=r(regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=d(function(e){return e.focusTableKey})){e.next=3;break}return e.abrupt("return",!1);case 3:return l("exit "+t),p(),h(function(e){return u({},e,{focusTableKey:null})}),e.abrupt("return",!0);case 7:case"end":return e.stop()}},e,i)}));return function(){return e.apply(this,arguments)}}(),k=function(t){return r(regeneratorRuntime.mark(function n(){var r;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:m(),r=s(),c(Object(a.z)(r,e.getKey(),t));case 3:case"end":return n.stop()}},n,i)}))},S=function(n){return r(regeneratorRuntime.mark(function r(){var o,u,l,f;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:o=s(),u="below"===n?o.getCurrentContent().getBlockAfter(e.getKey()):o.getCurrentContent().getBlockBefore(e.getKey()),u?"table"===u.getType().toLowerCase()?(l=u.getKey(),(f=v(l))&&("below"===n?f.focusFirstRow():f.focusLastRow())):setTimeout(function(){return Object(a.M)(t,u,"expand")},1):(m(),requestAnimationFrame(function(){c(Object(a.z)(o,e.getKey(),"below"===n?"after":"before"))}));case 3:case"end":return r.stop()}},r,i)}))},E=e.getKey();return{store:t,data:e.getData(),onRef:function(e){e?o[E]=e:delete o[E]},onFocusTable:function(){return b(E)},onExitTable:function(){function e(e){return t.apply(this,arguments)}var t=r(regeneratorRuntime.mark(function e(t){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,w();case 2:if(!e.sent){e.next=4;break}m();case 4:case"end":return e.stop()}},e,i)}));return e}(),onSave:function(){return g("save")},onReturnStart:k("before"),onReturnEnd:k("after"),onFocusBelow:S("below"),onFocusAbove:S("above"),onFocusCell:function(e){return h(function(t){return u({},t,{focusTableKey:E,focusTableCellKey:e})})},onSelectionChange:function(){y()},onRemoveTable:function(){return Object(a.L)(t,e,"forward")}}}t.a=o;var i=n(1),a=(n.n(i),n(2)),s=n(20),c=n.n(s),u=Object.assign||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},l=c()("table-block")},function(e,t,n){"use strict";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(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u;e=c({},u,e);var t=function(t,n){var o=t.getEditorState(),c=o.getCurrentContent(),u=o.getSelection();if("root"!==t.getEditorEnviorment())return"not-handled";var l=c.getBlockForKey(u.getStartKey());if(l===c.getBlockForKey(u.getEndKey())&&"code-block"===l.getType())return"not-handled";var f=Object(s.k)(Object(a.m)(n,e.parseOptions)),p=f.getBlockMap();1===p.size&&(p=p.merge(r({},Object(i.genKey)(),Object(i.convertFromRaw)({blocks:[{type:"unstyled",text:""}],entityMap:{}}).getFirstBlock())));var d=i.Modifier.replaceWithFragment(c,u,p);return t.setEditorState(i.EditorState.push(o,d,"insert-fragment")),"handled"};return{handlePastedHtml:function(e,n){return t(e,n)},handleFiles:function(e,n,r){var o=r.find(function(e){return e instanceof File&&/\.html?$/i.test(e.name)});if(o&&"function"==typeof FileReader)try{var i=new FileReader;return i.onload=function(){i.readyState===i.DONE&&t(e,i.result)},i.readAsText(o,"utf8"),"handled"}catch(e){return console.warn("html read error",e),"not-handled"}return"not-handled"}}}t.a=o;var i=n(1),a=(n.n(i),n(70)),s=n(2),c=Object.assign||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},u={parseOptions:{}}},function(e,t,n){"use strict";n.d(t,"g",function(){return O}),n.d(t,"j",function(){return T}),n.d(t,"f",function(){return A}),n.d(t,"h",function(){return P}),n.d(t,"i",function(){return L}),n.d(t,"m",function(){return R}),n.d(t,"p",function(){return D}),n.d(t,"n",function(){return I}),n.d(t,"l",function(){return M}),n.d(t,"o",function(){return j}),n.d(t,"r",function(){return N}),n.d(t,"s",function(){return B}),n.d(t,"u",function(){return F}),n.d(t,"q",function(){return K}),n.d(t,"t",function(){return q}),n.d(t,"a",function(){return U}),n.d(t,"b",function(){return z}),n.d(t,"c",function(){return H}),n.d(t,"e",function(){return V}),n.d(t,"d",function(){return W}),n.d(t,"B",function(){return G}),n.d(t,"C",function(){return $}),n.d(t,"D",function(){return X}),n.d(t,"A",function(){return Y}),n.d(t,"E",function(){return Z}),n.d(t,"w",function(){return J}),n.d(t,"x",function(){return Q}),n.d(t,"y",function(){return ee}),n.d(t,"v",function(){return te}),n.d(t,"z",function(){return ne}),n.d(t,"k",function(){return ie});var r=n(14),o=n.n(r),i=n(0),a=n.n(i),s=n(33),c=n.n(s),u=n(65),l=(n.n(u),n(66)),f=n(1),p=(n.n(f),n(479)),d=n(36),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},g=u.pack,m=function(e){return c.a.renderToStaticMarkup(a.a.createElement(d.DraftViewer,{raw:e}))},y=f.convertFromRaw,v=f.convertToRaw,b=p.c,w=l.a,k=p.d,S=p.b,E=p.a,x=u.unpack,_=function(e,t){o()(void 0!==t&&null!==t,"The %s input to convert is empty!",e);var n=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return o()(n.reduce(function(e,t){return e&&t},!0),"The %s input to convert is not a valid %s format",e,e)};switch(e){case"raw":n("object"===(void 0===t?"undefined":h(t)),Array.isArray(t.blocks),t.entityMap,"object"===h(t.entityMap));break;case"content":n(t instanceof f.ContentState);break;case"html":case"markdown":case"packed":n("string"==typeof t);break;case"ast":n(Array.isArray(t));break;default:var r=new Error("Invalid format: "+e);throw r.framesToPop=1,r}},C=function(e){return{use:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(t){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return _(e,t),n.reduce(function(e,t){return t.apply(void 0,[e].concat(o))},t)}}}},O=C("content").use(v,m),T=C("content").use(v),A=C("content").use(b,k),P=C("content").use(b),L=C("content").use(v,g),R=C("html").use(w),D=C("html").use(w,v),I=C("html").use(w,b),M=C("html").use(w,P,k),j=C("html").use(w,v,g),N=C("markdown").use(S,y),B=C("markdown").use(S,m),F=C("markdown").use(S),K=C("markdown").use(k),q=C("markdown").use(S,g),U=C("ast").use(E,y),z=C("ast").use(E,m),H=C("ast").use(E,y,b),V=C("ast").use(E),W=C("ast").use(E,g),G=C("raw").use(y),$=C("raw").use(m),X=C("raw").use(y,b),Y=C("raw").use(y,b,k),Z=C("raw").use(g),J=C("packed").use(x,y),Q=C("packed").use(x,m),ee=C("packed").use(x,y,b),te=C("packed").use(x,y,b,k),ne=C("packed").use(x),re={content2html:O,content2raw:T,content2ast:A,content2markdown:P,content2packed:L,html2content:R,html2raw:D,html2markdown:I,html2ast:M,html2packed:j,markdown2content:N,markdown2html:B,markdown2raw:F,markdown2ast:K,markdown2packed:q,ast2content:U,ast2html:z,ast2markdown:H,ast2raw:V,ast2packed:W,raw2content:G,raw2html:$,raw2markdown:X,raw2ast:Y,raw2packed:Z,packed2content:J,packed2html:Q,packed2markdown:ee,packed2ast:te,packed2raw:ne},oe=["Content","Html","Markdown","Ast","Raw","Packed"],ie=function(e,t){o()(oe.find(function(t){return t.toLowerCase()===e}),"Invalid format: %s",e);var n={},r=!0,i=!1,a=void 0;try{for(var s,c=oe[Symbol.iterator]();!(r=(s=c.next()).done);r=!0){var u=s.value;e===u.toLowerCase()?n["to"+u]=function(){return t}:function(){var r=re[e+"2"+u.toLowerCase()];n["to"+u]=function(){for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return r.apply(void 0,[t].concat(n))}}()}}catch(e){i=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(i)throw a}}return n}},function(e,t,n){"use strict";var r=n(480);n.d(t,"c",function(){return r.a});var o=n(486);n.d(t,"a",function(){return o.a}),n.d(t,"b",function(){return o.b}),n.d(t,"d",function(){return o.c})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){return e.replace(/^(\s*)(.*?)(\s*)$/,"$1"+t+"$2"+t+"$3")}function i(e){switch(e){case f.BLOCK_TYPE.UNORDERED_LIST_ITEM:case f.BLOCK_TYPE.ORDERED_LIST_ITEM:return!0;default:return!1}}function a(e,t){return e.replace(/[*_]/g,"\\$&")}function s(e){return e.replace(/\)/g,"%29")}function c(e){return e.replace(/"/g,'\\"')}function u(e){return e.replace(/\|/g,"&#124;").replace(/\r?\n/g,"<br>")}function l(e){return new b(e).generate().replace(/^(\s*)|(\s*$)/g,"")}t.a=l;var f=n(481),p=(n.n(f),n(1)),d=(n.n(p),function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()),h=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),g=f.INLINE_STYLE.BOLD,m=f.INLINE_STYLE.CODE,y=f.INLINE_STYLE.ITALIC,v=f.INLINE_STYLE.STRIKETHROUGH,b=(f.INLINE_STYLE.UNDERLINE,function(){function e(t){r(this,e),this.contentState=t}return h(e,[{key:"generate",value:function(){for(this.output=[],this.blocks=this.contentState.getBlockMap().toArray(),this.totalBlocks=this.blocks.length,this.currentBlock=0,this.listItemCounts={};this.currentBlock<this.totalBlocks;)this.processBlock();return this.output.join("")}},{key:"processBlock",value:function(){var e=this,t=this.blocks[this.currentBlock];switch(t.getType()){case f.BLOCK_TYPE.HEADER_ONE:this.insertLineBreaks(1),this.output.push("# "+this.renderBlockContent(t)+"\n");break;case f.BLOCK_TYPE.HEADER_TWO:this.insertLineBreaks(1),this.output.push("## "+this.renderBlockContent(t)+"\n");break;case f.BLOCK_TYPE.HEADER_THREE:this.insertLineBreaks(1),this.output.push("### "+this.renderBlockContent(t)+"\n");break;case f.BLOCK_TYPE.HEADER_FOUR:this.insertLineBreaks(1),this.output.push("#### "+this.renderBlockContent(t)+"\n");break;case f.BLOCK_TYPE.HEADER_FIVE:this.insertLineBreaks(1),this.output.push("##### "+this.renderBlockContent(t)+"\n");break;case f.BLOCK_TYPE.HEADER_SIX:this.insertLineBreaks(1),this.output.push("###### "+this.renderBlockContent(t)+"\n");break;case f.BLOCK_TYPE.UNORDERED_LIST_ITEM:var n=t.getDepth(),r=this.getLastBlock(),o=r?r.getType():null,a=r&&i(o)?r.getDepth():null;o!==f.BLOCK_TYPE.ORDERED_LIST_ITEM&&o!==f.BLOCK_TYPE.UNORDERED_LIST_ITEM&&a!==n-1&&(this.insertLineBreaks(1),o===f.BLOCK_TYPE.ORDERED_LIST_ITEM&&this.insertLineBreaks(1));var s=" ".repeat(4*t.depth);this.output.push(s+"- "+this.renderBlockContent(t)+"\n");break;case f.BLOCK_TYPE.ORDERED_LIST_ITEM:var c=t.getDepth(),l=this.getLastBlock(),d=l?l.getType():null,h=l&&i(d)?l.getDepth():null;d!==f.BLOCK_TYPE.ORDERED_LIST_ITEM&&d!==f.BLOCK_TYPE.UNORDERED_LIST_ITEM&&h!==c-1&&(this.insertLineBreaks(1),d===f.BLOCK_TYPE.UNORDERED_LIST_ITEM&&this.insertLineBreaks(1));var g=" ".repeat(4*c),m=this.getListItemCount(t);this.output.push(g+(m+". ")+this.renderBlockContent(t)+"\n");break;case f.BLOCK_TYPE.BLOCKQUOTE:var y=this.getLastBlock();(y?y.getType():null)!==f.BLOCK_TYPE.BLOCKQUOTE&&this.insertLineBreaks(1);var v=this.renderBlockContent(t),b=!0,w=!1,k=void 0;try{for(var S,E=v.split(/\n\r?/g)[Symbol.iterator]();!(b=(S=E.next()).done);b=!0){var x=S.value;this.output.push("> "+x+"\n")}}catch(e){w=!0,k=e}finally{try{!b&&E.return&&E.return()}finally{if(w)throw k}}break;case f.BLOCK_TYPE.CODE:this.insertLineBreaks(1);var _=t.getData&&t.getData()&&t.getData().get("syntax")||"";this.output.push("```"+_+"\n"),this.output.push(t.getText()+"\n"),this.output.push("```\n");break;case"table":this.insertLineBreaks(1);var C=t.getData(),O=C.get("aligns"),T=C.get("rows").slice(),A=function(t){if(!t.raw)return"";var n=Object(p.convertFromRaw)(t.raw);return u(e.renderBlockContent(n.getFirstBlock(),n))};!function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=e[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var a=o.value,s=!0,c=!1,u=void 0;try{for(var l,f=a.cells[Symbol.iterator]();!(s=(l=f.next()).done);s=!0){var p=l.value;if(p.colspan>1||p.rowspan>1)return!0}}catch(e){c=!0,u=e}finally{try{!s&&f.return&&f.return()}finally{if(c)throw u}}}}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}return!1}(T)?function(){var t=function(e){return"| "+e.cells.map(A).join(" | ")+" |"};e.output.push(t(T.shift())+"\n"),e.output.push(function(e){return"|"+e.map(function(e){switch(e.align){case"right":return"----:";case"center":return":---:";case"left":default:return":----"}}).join("|")+"|"}(O)+"\n");var n=!0,r=!1,o=void 0;try{for(var i,a=T[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value;e.output.push(t(s)+"\n")}}catch(e){r=!0,o=e}finally{try{!n&&a.return&&a.return()}finally{if(r)throw o}}}():function(){e.output.push("<table>\n");var t=!0,n=!0,r=!1,o=void 0;try{for(var i,a=T[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value;e.output.push(" <tr>\n");var c=0,u=!0,l=!1,f=void 0;try{for(var p,d=s.cells[Symbol.iterator]();!(u=(p=d.next()).done);u=!0){var h=p.value,g="";if(h.rowspan>1&&(g+=' rowspan="'+h.rowspan+'"'),h.colspan>1&&(g+=' colspan="'+h.colspan+'"'),h.raw){var m="td";t&&(m="th",g+=' class="align-'+(O[c]&&O[c].align||"left")+'"'),e.output.push(" <"+m+g+">"+A(h)+"</"+m+">\n")}++c}}catch(e){l=!0,f=e}finally{try{!u&&d.return&&d.return()}finally{if(l)throw f}}t=!1,e.output.push(" </tr>\n")}}catch(e){r=!0,o=e}finally{try{!n&&a.return&&a.return()}finally{if(r)throw o}}e.output.push("</table>\n")}(),this.insertLineBreaks();break;default:this.insertLineBreaks(1),this.output.push(this.renderBlockContent(t)+"\n")}this.currentBlock+=1}},{key:"getLastBlock",value:function(){return this.blocks[this.currentBlock-1]}},{key:"getNextBlock",value:function(){return this.blocks[this.currentBlock+1]}},{key:"getListItemCount",value:function(e){for(var t=e.getType(),n=e.getDepth(),r=this.currentBlock-1,o=this.blocks[r];o&&i(o.getType())&&o.getDepth()>n;)r-=1,o=this.blocks[r];return o&&o.getType()===t&&o.getDepth()===n||(this.listItemCounts[n]=0),this.listItemCounts[n]=this.listItemCounts[n]+1}},{key:"insertLineBreaks",value:function(){this.currentBlock>0&&this.output.push("\n")}},{key:"renderBlockContent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.contentState,n=e.getType();if("atomic"===n&&e.getData()&&e.getData().get("mathjax")){return"> `$"+e.getData().get("teX")+"$`"}var r=e.getText();if(""===r)return"\u200b";var i=e.getCharacterList();return Object(f.getEntityRanges)(r,i).map(function(e){var r=d(e,2),i=r[0],u=r[1],l=u.map(function(e){var t=d(e,2),r=t[0],i=t[1];return r?(i.has(m)?(l=r.replace(/`/g,"&grave;"),l=n===f.BLOCK_TYPE.CODE?l:o(l,"`")):l=a(r),i.has(g)&&(l=o(l,"**")),i.has(y)&&(l=o(l,"_")),i.has(v)&&(l=o(l,"~~")),l):""}).join(""),p=i?t.getEntity(i):null;if(null!=p&&p.getType()===f.ENTITY_TYPE.LINK){var h=p.getData(),b=h.url||"",x=h.title?' "'+c(h.title)+'"':"";return"["+l+"]("+s(b)+x+")"}if(null!=p&&p.getType()===f.ENTITY_TYPE.IMAGE){var _=p.getData(),C=_.imageUrl||"",O=_.name||"";return C?"!["+O+"]("+s(C)+")":"["+(O||"\u56fe\u7247")+"]"}return null!=p&&"GALLERY"===p.getType()?w(p.getData()):null!=p&&"ATTACHMENT"===p.getType()?k(p.getData()):null!=p&&"VIDEO"===p.getType()?S(p.getData()):null!==p&&"INLINETEX"===p.getType()?E(p.getData()):l}).join("")}}]),e}()),w=function(e){var t=e.name,n=e.base,r=e.images;return"```gallery\n"+JSON.stringify({$galleryVersion:"1.0",name:t,base:n,images:r})+"\n```"},k=function(e){return"> [#"+e.name+"#]("+e.url+")"},S=function(e){return"> !["+e.name+"](video://"+e.videoPlatform+"/"+e.videoId+")"},E=function(e){return"`$"+e.teX+"$`"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(482);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})}),Object.defineProperty(t,"Constants",{enumerable:!0,get:function(){return r(o).default}});var i=n(483);Object.defineProperty(t,"getEntityRanges",{enumerable:!0,get:function(){return r(i).default}});var a=n(71);Object.defineProperty(t,"getSelectedBlocks",{enumerable:!0,get:function(){return r(a).default}});var s=n(484);Object.defineProperty(t,"selectionContainsEntity",{enumerable:!0,get:function(){return r(s).default}});var c=n(485);Object.defineProperty(t,"callModifierForSelectedBlocks",{enumerable:!0,get:function(){return r(c).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.BLOCK_TYPE={UNSTYLED:"unstyled",HEADER_ONE:"header-one",HEADER_TWO:"header-two",HEADER_THREE:"header-three",HEADER_FOUR:"header-four",HEADER_FIVE:"header-five",HEADER_SIX:"header-six",UNORDERED_LIST_ITEM:"unordered-list-item",ORDERED_LIST_ITEM:"ordered-list-item",BLOCKQUOTE:"blockquote",PULLQUOTE:"pullquote",CODE:"code-block",ATOMIC:"atomic"},o=t.ENTITY_TYPE={LINK:"LINK",IMAGE:"IMAGE"},i=t.INLINE_STYLE={BOLD:"BOLD",CODE:"CODE",ITALIC:"ITALIC",STRIKETHROUGH:"STRIKETHROUGH",UNDERLINE:"UNDERLINE"};t.default={BLOCK_TYPE:r,ENTITY_TYPE:o,INLINE_STYLE:i}},function(e,t,n){"use strict";function r(e,t){for(var n=null,r=null,i=[],a=0,s=0,c=e.length;s<c;s++){r=n;var u=t.get(s);n=u?u.getEntity():null,s>0&&n!==r&&(i.push([r,o(e.slice(a,s),t.slice(a,s))]),a=s)}return i.push([n,o(e.slice(a),t.slice(a))]),i}function o(e,t){for(var n=a,r=a,o=[],s=0,c=0,u=e.length;c<u;c++){r=n;var l=t.get(c);n=l?l.getStyle():a,c>0&&!(0,i.is)(n,r)&&(o.push([e.slice(s,c),r]),s=c)}return o.push([e.slice(s),n]),o}Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_SET=void 0,t.default=r;var i=n(3),a=t.EMPTY_SET=new i.OrderedSet},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(71),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){return function(t,n){var r=t.getCurrentContent(),i=n||t.getSelection(),a=i.getStartKey(),s=i.getEndKey(),c=i.getStartOffset(),u=i.getEndOffset(),l=a===s,f=(0,o.default)(r,a,s),p=!1,d=c+1,h=u-1;return f.forEach(function(t){e(t,function(e,n){if(!p){var r=t.getKey();l&&(n<d||e>h)||r===a&&n<d||r===s&&e>h||(p=!0)}},r)}),p}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=n(71),i=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default=function(e,t){for(var n=arguments.length,o=Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];var s=e.getCurrentContent(),c=e.getSelection(),u=c.getStartKey(),l=c.getEndKey(),f=c.getStartOffset(),p=c.getEndOffset(),d=u===l,h=(0,i.default)(s,u,l),g=e;return h.forEach(function(e){var n=e.getKey(),i=f,a=p;n===u?(i=f,a=d?p:e.getText().length):n===l?(i=d?f:0,a=p):(i=0,a=e.getText().length);var s=new r.SelectionState({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:a});g=t.apply(void 0,[g,s].concat(o))}),r.EditorState.forceSelection(g,c)}},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e){return e=e.replace(/!!#?\w{3,6}\s(.+?)!!/g,"$1")}function i(e){var t=function e(t){if(!t)return t;if(delete t.loc,delete t.range,Array.isArray(t.children)){var n=!0,r=!1,o=void 0;try{for(var i,a=t.children[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){e(i.value)}}catch(e){r=!0,o=e}finally{try{!n&&a.return&&a.return()}finally{if(r)throw o}}}return t};return P(o(e)).map(function(e){return d(e)}).filter(function(e){return e.raw&&e.raw.trim()}).map(function(e){return t(e)})}function a(e,t){var n=[],r={},o=!0,i=!1,a=void 0;try{for(var s,c=e[Symbol.iterator]();!(o=(s=c.next()).done);o=!0){var l=s.value;n=n.concat(q(l,r,0,t))}}catch(e){i=!0,a=e}finally{try{!o&&c.return&&c.return()}finally{if(i)throw a}}0===Object.keys(r).length&&(r={data:"",mutability:"",type:""});var f=function(e){return e&&"unstyled"===e.type&&!/\S/.test(e.text)};return n=n.filter(function(e){return!f(e)}),n.length||n.push({key:Object(u.genKey)(),type:"unstyled",text:"",inlineStyleRanges:[],entityRanges:[]}),{blocks:n,entityMap:r}}function s(e,t){return a(i(e),t)}t.c=i,t.a=a,t.b=s;var c=n(2),u=n(1),l=(n.n(u),n(66)),f=Object.assign||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},p=n(487),d=p.parse,h={Strong:{type:"BOLD",symbol:"__"},Emphasis:{type:"ITALIC",symbol:"*"},Code:{type:"CODE",symbol:"`"},Delete:{type:"STRIKETHROUGH",symbol:"~~"}},g={List:"unordered-list-item",Header1:"header-one",Header2:"header-two",Header3:"header-three",Header4:"header-four",Header5:"header-five",Header6:"header-six",CodeBlock:"code-block",BlockQuote:"blockquote"},m=function(e){var t=e.type,n=e.ordered,r=e.depth;return"List"===t&&n?"ordered-list-item":"Header"===t?g[""+t+r]:"Paragraph"===e.type&&e.children&&e.children[0]&&"Image"===e.children[0].type?"atomic":g[t]},y=function(e){var t=e.open,n=e.close,o=e.escape,i=void 0===o?function(e){return e}:o;return function e(o){for(var a=void 0,s=void 0,c=0;c<o.length;++c){var u=o[c]&&i(o[c]),l=o[c+1]&&i(o[c+1]);if(!(u&&u.split(/\r?\n/g).length>1))if(void 0===a&&t(u,l))a=c;else if(void 0!==a&&void 0===s&&n(u,l)){s=c;break}}if(a>=0&&s>=0){var f=o.slice(a,s+1).join("\n");return[].concat(r(o.slice(0,a)),[f],r(e(o.slice(s+1))))}return o}},v=function(e){return/^```/.test(e)},b=y({open:v,close:v}),w=function(e){return/^\s*<table>/.test(e)},k=function(e){return/<\/table>\s*$/.test(e)},S=y({open:w,close:k}),E=function(e){return/^\s*(\*|\-|\d+\.)\s/.test(e)},x=y({open:E,close:function(e,t){return!/\S/.test(e)||!t||_(e)}}),_=function(e){return/^\s*> /.test(e)},C=y({open:_,close:function(e){return!_(e)}}),O=function(e){if(!e)return 0;if(_(e))return 0;if(E(e))return 0;var t=e.split(/\|/g);return/\S/.test(t[0])||t.shift(),/\S/.test(t[t.length-1])||t.pop(),t.length},T=function(e){return/^\s*[\|\:\-\s]+\s*$/.test(e)},A=y({escape:function(e){return e.replace(/\\\|/g,"&#124;")},open:function(e,t){var n=O(e);return!(n<2)&&(O(t)==n&&!!T(t))},close:function(e,t){return O(e)>=2&&O(t)<2}}),P=function(e){var t=e.split("\n");return t=b(t),t=x(t),t=C(t),t=A(t),t=S(t)},L=function(e,t){var n=function(e){var n=d(e.replace(/&#124;/g,"|"));return{blocks:q(n,{}),entityMap:t}};return{type:"table",data:{aligns:e.align.map(function(e){return{key:Object(u.genKey)(),align:e}}),rows:e.children.map(function(e){return{key:Object(u.genKey)(),cells:e.children.map(function(e){return{key:Object(u.genKey)(),raw:n(e.raw)}})}})},text:"[\u8868\u683c]",inlineStyleRanges:[],entityRanges:[]}},R=function(e,t){return D(t,e.raw,"HR",{})},D=function(e,t,n,r){var o=Object.keys(e).length;return e[o]={type:n,mutability:"IMMUTABLE",data:r},{type:"atomic",text:t,inlineStyleRanges:[],entityRanges:[{key:o,offset:0,length:t.length}]}},I=function(e,t){var n=e.name;e.base,e.images;return D(t,n,"GALLERY",e)},M=function(e){if("CodeBlock"!==e.type)return null;if("gallery"!==e.lang)return null;try{var t=JSON.parse(e.value);if(!t.$galleryVersion)throw new Error("Not gallery");return t}catch(e){}return null},j=function(e){if("BlockQuote"!==e.type)return null;var t=function(e){return e&&e.children&&1===e.children.length?e.children[0]:null},n=t(e),r=t(n),o=t(r);return o&&/^#(.+)#$/.test(o.value)?{name:RegExp.$1,url:r.url}:null},N=function(e){if("BlockQuote"!==e.type)return null;var t=function(e){return e&&e.children&&1===e.children.length?e.children[0]:null},n=t(e),r=t(n);return r&&/^video:\/\/(\w+)\/(\w+)$/.test(r.url)?{name:r.alt,videoPlatform:RegExp.$1,videoId:RegExp.$2}:null},B=function(e){if("BlockQuote"!==e.type)return null;var t=function(e){return!e||!e.children||1!==e.children.length&&(2!==e.children.length||!e.children[1]||"Str"!==e.children[1].type||e.children[1].value&&e.children[1].value.trim())?null:e.children[0]},n=t(e),r=t(n);return r&&"Code"===r.type&&/^\$(.+)\$$/.test(r.value)?{teX:RegExp.$1}:null},F=function(e,t){var n=e.name;e.url;return D(t,n,"ATTACHMENT",e)},K=function(e,t){var n=e.name;e.videoPlatform,e.videoId;return D(t,n,"VIDEO",e)},q=function e(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments[3],a={key:Object(u.genKey)(),type:"unstyled",text:"",depth:o,inlineStyleRanges:[],entityRanges:[]},p=!1,d=!1,g=!1,y=t.children[0];if(y){if("Table"===y.type)return[L(y,n)];if("HorizontalRule"===y.type)return[R(y,n)];var v=M(y);if(v)return[I(v,n)];var b=j(y);if(b)return[F(b,n)];var w=N(y);if(w)return[K(w,n)];var k=B(y);if(k)return[U(k.teX)];a.type=m(y)||a.type,p="List"===y.type,g="BlockQuote"===y.type}var S=[],E=function(e,t){a.data=a.data||{},a.data[e]=t},x=function(e,t,n){a.inlineStyleRanges.push({offset:e,length:t,style:n})},_=function e(t){return t.reduce(function(t,n){return t+(n.value?n.value.length:n.children?e(n.children):0)},0)},C=function(e){var t=e.url,r=e.children,o=Object.keys(n).length;/^\/\//.test(t)&&(t="https:"+t);var i=r&&r[0]&&t===r[0].raw;i&&(t=Object(c.n)(t)),t&&Object(c.I)(t,!0)&&(n[o]={type:"LINK",mutability:"MUTABLE",data:{url:encodeURI(t)}},a.entityRanges.push({key:o,offset:a.text.length,length:i?t.length:_(r)}))},O=function(e,t){var r=Object.keys(n).length,o=e.alt||e.url.split("/").pop();return o="["+(o||"\u56fe\u7247")+"]",n[r]={type:"IMAGE",mutability:"IMMUTABLE",data:{imageUrl:e.url,name:e.alt||null}},a.entityRanges.push({key:r,offset:a.text.length,length:o.length}),o},T=function(e,t){var r=Object.keys(n).length;n[r]={type:"INLINETEX",mutability:"IMMUTABLE",data:{teX:e}},a.entityRanges.push({key:r,offset:a.text.length,length:t.length})},A=!0,P=!1,D=void 0;try{for(var q,z=t.children[Symbol.iterator]();!(A=(q=z.next()).done);A=!0){var H=q.value;!function t(c,m){var v=null;switch(c.type){case"Link":C(c);break;case"Image":v=O(c);break;case"CodeBlock":E("syntex",c.lang)}if(c.children){if(m){var b=_(c.children);x(a.text.length,b,m.type)}for(var w=h[c.type],k=0;k<c.children.length;k++){var A=c.children[k];if(p)switch(A.type){case"List":S.push.apply(S,r(e({type:"Document",children:[A]},n,o+1)));break;case"ListItem":d?S.push.apply(S,r(e({type:"Document",children:[{type:"List",ordered:y.ordered,children:[A]}]},n,o))):(d=!0,t(A,w));break;default:t(A,w)}else t(A,w);g&&"ListItem"===A.type&&c.children[k+1]&&(a.text+="\n")}}else switch(m&&"string"==typeof c.value&&x(a.text.length,c.value.length,m.type),c.type){case"Code":if(/^\$(.+)\$$/.test(c.value)){var P=RegExp.$1;T(P,P),a.text+=P}else c.value=c.value.replace(/&grave;|&#96;|&#x60;/gi,"`"),x(a.text.length,c.value.length,"CODE"),a.text+=c.value;break;case"Image":a.text+=v;break;case"Html":if(/^<br(\s*\/)?>$/.test(c.value)){a.text+="\n";break}if(/^\s*<table>[\s\S]*<\/table>\s*$/.test(c.value))try{var L=Object(l.a)(c.value,i),R=Object(u.convertToRaw)(L),D=R.blocks[0];D.text="\u8868\u683c",D.data.rows=D.data.rows.map(function(e){return f({},e,{cells:e.cells.map(function(e){return f({},e,{raw:e.raw?s(e.raw.blocks[0].text):null})})})}),a=D;break}catch(e){throw new Error("Markdown \u4e2d\u5305\u542b\u901a\u8fc7 HTML \u58f0\u660e\u7684\u8868\u683c\uff0c\u4f46\u662f\u8f6c\u6362 HTML \u5931\u8d25\u3002"+e.message)}default:a.text+=c.value}}(H,h[H.type])}}catch(e){P=!0,D=e}finally{try{!A&&z.return&&z.return()}finally{if(P)throw D}}return[a].concat(S)},U=function(e){return{type:"atomic",text:e,data:{mathjax:!0,teX:e},inlineStyleRanges:[],entityRanges:[]}}},function(e,t,n){"use strict";function r(e){var t=f.parse(e),n=new s(e);return o(t).forEach(function(t){if(this.notLeaf){if(t.type){var r=u[t.type];r?t.type=r:c("replacedType : "+r+" , node.type: "+t.type)}if(t.position){var o=t.position,i={start:{line:o.start.line,column:o.start.column-1},end:{line:o.end.line,column:o.end.column-1}},a=n.locationToRange(i);t.loc=i,t.range=a,t.raw=e.slice(a[0],a[1]),Object.defineProperty(t,"position",{enumerable:!1,configurable:!1,writable:!1,value:o})}}}),t}var o=n(488),i=n(134),a=i.ASTNodeTypes,s=n(489),c=n(20)("markdown-to-ast"),u=n(492),l=n(493),f=l();e.exports={parse:r,Syntax:a}},function(e,t){function n(e){this.value=e}function r(e,t,n){var r=[],i=[],a=!0;return function e(s){function c(){if("object"==typeof p.node&&null!==p.node){p.keys&&p.node_===p.node||(p.keys=d(p.node)),p.isLeaf=0==p.keys.length;for(var e=0;e<i.length;e++)if(i[e].node_===s){p.circular=i[e];break}}else p.isLeaf=!0,p.keys=null;p.notLeaf=!p.isLeaf,p.notRoot=!p.isRoot}var u=n?o(s):s,l={},f=!0,p={node:u,node_:s,path:[].concat(r),parent:i[i.length-1],parents:i,key:r.slice(-1)[0],isRoot:0===r.length,level:r.length,circular:null,update:function(e,t){p.isRoot||(p.parent.node[p.key]=e),p.node=e,t&&(f=!1)},delete:function(e){delete p.parent.node[p.key],e&&(f=!1)},remove:function(e){h(p.parent.node)?p.parent.node.splice(p.key,1):delete p.parent.node[p.key],e&&(f=!1)},keys:null,before:function(e){l.before=e},after:function(e){l.after=e},pre:function(e){l.pre=e},post:function(e){l.post=e},stop:function(){a=!1},block:function(){f=!1}};if(!a)return p;c();var y=t.call(p,p.node);return void 0!==y&&p.update&&p.update(y),l.before&&l.before.call(p,p.node),f?("object"!=typeof p.node||null===p.node||p.circular||(i.push(p),c(),g(p.keys,function(t,o){r.push(t),l.pre&&l.pre.call(p,p.node[t],t);var i=e(p.node[t]);n&&m.call(p.node,t)&&(p.node[t]=i.node),i.isLast=o==p.keys.length-1,i.isFirst=0==o,l.post&&l.post.call(p,i),r.pop()}),i.pop()),l.after&&l.after.call(p,p.node),p):p}(e).node}function o(e){if("object"==typeof e&&null!==e){var t;if(h(e))t=[];else if(a(e))t=new Date(e.getTime?e.getTime():e);else if(s(e))t=new RegExp(e);else if(c(e))t={message:e.message};else if(u(e))t=new Boolean(e);else if(l(e))t=new Number(e);else if(f(e))t=new String(e);else if(Object.create&&Object.getPrototypeOf)t=Object.create(Object.getPrototypeOf(e));else if(e.constructor===Object)t={};else{var n=e.constructor&&e.constructor.prototype||e.__proto__||{},r=function(){};r.prototype=n,t=new r}return g(d(e),function(n){t[n]=e[n]}),t}return e}function i(e){return Object.prototype.toString.call(e)}function a(e){return"[object Date]"===i(e)}function s(e){return"[object RegExp]"===i(e)}function c(e){return"[object Error]"===i(e)}function u(e){return"[object Boolean]"===i(e)}function l(e){return"[object Number]"===i(e)}function f(e){return"[object String]"===i(e)}var p=e.exports=function(e){return new n(e)};n.prototype.get=function(e){for(var t=this.value,n=0;n<e.length;n++){var r=e[n];if(!t||!m.call(t,r)){t=void 0;break}t=t[r]}return t},n.prototype.has=function(e){for(var t=this.value,n=0;n<e.length;n++){var r=e[n];if(!t||!m.call(t,r))return!1;t=t[r]}return!0},n.prototype.set=function(e,t){for(var n=this.value,r=0;r<e.length-1;r++){var o=e[r];m.call(n,o)||(n[o]={}),n=n[o]}return n[e[r]]=t,t},n.prototype.map=function(e){return r(this.value,e,!0)},n.prototype.forEach=function(e){return this.value=r(this.value,e,!1),this.value},n.prototype.reduce=function(e,t){var n=1===arguments.length,r=n?this.value:t;return this.forEach(function(t){this.isRoot&&n||(r=e.call(this,r,t))}),r},n.prototype.paths=function(){var e=[];return this.forEach(function(t){e.push(this.path)}),e},n.prototype.nodes=function(){var e=[];return this.forEach(function(t){e.push(this.node)}),e},n.prototype.clone=function(){var e=[],t=[];return function n(r){for(var i=0;i<e.length;i++)if(e[i]===r)return t[i];if("object"==typeof r&&null!==r){var a=o(r);return e.push(r),t.push(a),g(d(r),function(e){a[e]=n(r[e])}),e.pop(),t.pop(),a}return r}(this.value)};var d=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t},h=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},g=function(e,t){if(e.forEach)return e.forEach(t);for(var n=0;n<e.length;n++)t(e[n],n,e)};g(d(n.prototype),function(e){p[e]=function(t){var r=[].slice.call(arguments,1),o=new n(t);return o[e].apply(o,r)}});var m=Object.hasOwnProperty||function(e,t){return t in e}},function(e,t,n){"use strict";var r=n(490).default;e.exports=r},function(e,t,n){"use strict";var r=function(e,t,n){t&&Object.defineProperties(e,t),n&&Object.defineProperties(e.prototype,n)},o=n(491).upperBound,i=function(e,t){this.line=e,this.column=t};t.Position=i;var a=function(e,t){this.start=e,this.end=t};t.SourceLocation=a;var s=function(){var e=function(e){this.indice=[0];var t=/[\r\n\u2028\u2029]/g,n=e.length;for(t.lastIndex=0;;){var r=t.exec(e);if(!r)break;var o=r.index;13===e.charCodeAt(o)&&10===e.charCodeAt(o+1)&&(o+=1);var i=o+1;if(n<i)break;this.indice.push(i),t.lastIndex=i}};return e.prototype.locationToRange=function(e){return[this.positionToIndex(e.start),this.positionToIndex(e.end)]},e.prototype.rangeToLocation=function(e){return new a(this.indexToPosition(e[0]),this.indexToPosition(e[1]))},e.prototype.positionToIndex=function(e){return this.indice[e.line-1]+e.column},e.prototype.indexToPosition=function(e){var t=o(this.indice,e);return new i(t,e-this.indice[t-1])},r(e,null,{line:{get:function(){return this.indice.length}}}),e}();t.default=s},function(e,t,n){"use strict";function r(e,t){return e<t}function o(e,t,n){return void 0===n&&(n=r),function(){for(var r=e.length,o=0;r;){var i=r>>>1,a=o+i;n(t,e[a])?r=i:(o=a+1,r-=i+1)}return o}()}function i(e,t,n){return void 0===n&&(n=r),function(){for(var r=e.length,o=0;r;){var i=r>>>1,a=o+i;n(e[a],t)?(o=a+1,r-=i+1):r=i}return o}()}function a(e,t,n){return void 0===n&&(n=r),function(){var r=i(e,t,n);return r!==e.length&&!n(t,e[r])}()}t.compare=r,t.lowerBound=i,t.upperBound=o,t.binarySearch=a},function(e,t,n){"use strict";var r=n(134),o=r.ASTNodeTypes,i={root:o.Document,paragraph:o.Paragraph,blockquote:o.BlockQuote,listItem:o.ListItem,list:o.List,Bullet:"Bullet",heading:o.Header,code:o.CodeBlock,HtmlBlock:o.HtmlBlock,ReferenceDef:o.ReferenceDef,thematicBreak:o.HorizontalRule,text:o.Str,break:o.Break,emphasis:o.Emphasis,strong:o.Strong,html:o.Html,link:o.Link,image:o.Image,inlineCode:o.Code,delete:o.Delete,yaml:"Yaml",table:"Table",tableRow:"TableRow",tableCell:"TableCell",linkReference:"LinkReference",imageReference:"imageReference",definition:"Definition"};e.exports=i},function(e,t,n){"use strict";var r=n(494),o=n(506),i=n(559);e.exports=r().use(o).use(i).freeze()},function(e,t,n){"use strict";function r(e,t){t.tree=e.parse(t.file)}function o(e,t,n){function r(e,r,o){e?n(e):(t.tree=r,t.file=o,n())}e.run(t.tree,t.file,r)}function i(e,t){t.file.contents=e.stringify(t.tree,t.file)}function a(){function e(){for(var e=a(),t=T.length,n=-1;++n<t;)e.use.apply(null,T[n]);return e.data(h(!0,{},P)),e}function t(){var t,n,r,o;if(L)return e;for(;++R<T.length;)t=T[R],n=t[0],r=t[1],o=null,!1!==r&&(!0===r&&(t[1]=void 0),o=n.apply(e,t.slice(1)),b(o)&&A.use(o));return L=!0,R=1/0,e}function n(t,n){return v(t)?2===arguments.length?(f("data",L),P[t]=n,e):S.call(P,t)&&P[t]||null:t?(f("data",L),P=t,e):P}function r(t){function n(e){i(e.plugins),e.settings&&(s=h(s||{},e.settings))}function r(e){if(b(e))a(e);else{if("object"!=typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?a.apply(null,e):n(e)}}function i(e){var t,n;if(null===e||void 0===e);else{if(!("object"==typeof e&&"length"in e))throw new Error("Expected a list of plugins, not `"+e+"`");for(t=e.length,n=-1;++n<t;)r(e[n])}}function a(e,t){var n=o(e);n?(w(n[1])&&w(t)&&(t=h(n[1],t)),n[1]=t):T.push(k.call(arguments))}var s;if(f("use",L),null===t||void 0===t);else if(b(t))a.apply(null,arguments);else{if("object"!=typeof t)throw new Error("Expected usable value, not `"+t+"`");"length"in t?i(t):n(t)}return s&&(P.settings=h(P.settings||{},s)),e}function o(e){for(var t,n=T.length,r=-1;++r<n;)if(t=T[r],t[0]===e)return t}function i(n){var r,o=m(n);return t(),r=e.Parser,u("parse",r),s(r)?new r(String(o),o).parse():r(String(o),o)}function c(e,n,r){function o(t,o){function i(n,i,a){i=i||e,n?o(n):t?t(i):r(null,i,a)}A.run(e,m(n),i)}if(p(e),t(),!r&&b(n)&&(r=n,n=null),!r)return new Promise(o);o(null,r)}function x(e,t){function n(e,t){o=!0,g(e),r=t}var r,o=!1;return c(e,t,n),d("runSync","run",o),r}function _(n,r){var o,i=m(r);return t(),o=e.Compiler,l("stringify",o),p(n),s(o)?new o(n,i).compile():o(n,i)}function C(n,r){function o(t,o){function i(e){e?o(e):t?t(a):r(null,a)}var a=m(n);E.run(e,{file:a},i)}if(t(),u("process",e.Parser),l("process",e.Compiler),!r)return new Promise(o);o(null,r)}function O(n){function r(e){i=!0,g(e)}var o,i=!1;return t(),u("processSync",e.Parser),l("processSync",e.Compiler),o=m(n),C(o,r),d("processSync","process",i),o}var T=[],A=y(),P={},L=!1,R=-1;return e.data=n,e.freeze=t,e.attachers=T,e.use=r,e.parse=i,e.stringify=_,e.run=c,e.runSync=x,e.process=C,e.processSync=O,e}function s(e){return b(e)&&c(e.prototype)}function c(e){var t;for(t in e)return!0;return!1}function u(e,t){if(!b(t))throw new Error("Cannot `"+e+"` without `Parser`")}function l(e,t){if(!b(t))throw new Error("Cannot `"+e+"` without `Compiler`")}function f(e,t){if(t)throw new Error("Cannot invoke `"+e+"` on a frozen processor.\nCreate a new processor first, by invoking it: use `processor()` instead of `processor`.")}function p(e){if(!e||!v(e.type))throw new Error("Expected node, got `"+e+"`")}function d(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}var h=n(128),g=n(495),m=n(496),y=n(502),v=n(503),b=n(504),w=n(505);e.exports=a().freeze();var k=[].slice,S={}.hasOwnProperty,E=y().use(r).use(o).use(i)},function(e,t,n){"use strict";function r(e){if(e)throw e}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r=this.path,o=new a(e,t,n);return r&&(o.name=r+":"+o.name,o.file=r),o.fatal=!1,this.messages.push(o),o}function o(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}function i(){var e=this.message.apply(this,arguments);return e.fatal=null,e}var a=n(497),s=n(499);e.exports=s;var c=s.prototype;c.message=r,c.info=i,c.fail=o,c.warn=r},function(e,t,n){"use strict";function r(){}function o(e,t,n){var r,o,s;"string"==typeof t&&(n=t,t=null),r=i(n),o=a(t)||"1:1",s={start:{line:null,column:null},end:{line:null,column:null}},t&&t.position&&(t=t.position),t&&(t.start?(s=t,t=t.start):s.start=t),e.stack&&(this.stack=e.stack,e=e.message),this.message=e,this.name=o,this.reason=e,this.line=t?t.line:null,this.column=t?t.column:null,this.location=s,this.source=r[0],this.ruleId=r[1]}function i(e){var t,n=[null,null];return"string"==typeof e&&(t=e.indexOf(":"),-1===t?n[1]=e:(n[0]=e.slice(0,t),n[1]=e.slice(t+1))),n}var a=n(498);e.exports=o,r.prototype=Error.prototype,o.prototype=new r;var s=o.prototype;s.file="",s.name="",s.reason="",s.message="",s.stack="",s.fatal=null,s.column=null,s.line=null},function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e?s.call(e,"position")||s.call(e,"type")?i(e.position):s.call(e,"start")||s.call(e,"end")?i(e):s.call(e,"line")||s.call(e,"column")?o(e):null:null}function o(e){return e&&"object"==typeof e||(e={}),a(e.line)+":"+a(e.column)}function i(e){return e&&"object"==typeof e||(e={}),o(e.start)+"-"+o(e.end)}function a(e){return e&&"number"==typeof e?e:1}var s={}.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";(function(t){function r(e){var n,o,i;if(e){if("string"==typeof e||l(e))e={contents:e};else if("message"in e&&"messages"in e)return e}else e={};if(!(this instanceof r))return new r(e);for(this.data={},this.messages=[],this.history=[],this.cwd=t.cwd(),o=-1,i=d.length;++o<i;)n=d[o],f.call(e,n)&&(this[n]=e[n]);for(n in e)-1===d.indexOf(n)&&(this[n]=e[n])}function o(e){var t=this.contents||"";return l(t)?t.toString(e):String(t)}function i(e,t){if(-1!==e.indexOf(c.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+c.sep+"`")}function a(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function s(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}var c=n(135),u=n(500),l=n(501);e.exports=r;var f={}.hasOwnProperty,p=r.prototype;p.toString=o;var d=["history","path","basename","stem","extname","dirname"];Object.defineProperty(p,"path",{get:function(){return this.history[this.history.length-1]},set:function(e){a(e,"path"),e!==this.path&&this.history.push(e)}}),Object.defineProperty(p,"dirname",{get:function(){return"string"==typeof this.path?c.dirname(this.path):void 0},set:function(e){s(this.path,"dirname"),this.path=c.join(e||"",this.basename)}}),Object.defineProperty(p,"basename",{get:function(){return"string"==typeof this.path?c.basename(this.path):void 0},set:function(e){a(e,"basename"),i(e,"basename"),this.path=c.join(this.dirname||"",e)}}),Object.defineProperty(p,"extname",{get:function(){return"string"==typeof this.path?c.extname(this.path):void 0},set:function(e){var t=e||"";if(i(t,"extname"),s(this.path,"extname"),t){if("."!==t.charAt(0))throw new Error("`extname` must start with `.`");if(-1!==t.indexOf(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=u(this.path,t)}}),Object.defineProperty(p,"stem",{get:function(){return"string"==typeof this.path?c.basename(this.path,this.extname):void 0},set:function(e){a(e,"stem"),i(e,"stem"),this.path=c.join(this.dirname||"",e+(this.extname||""))}})}).call(t,n(31))},function(e,t,n){"use strict";function r(e,t){if("string"!=typeof e)return e;if(0===e.length)return e;var n=o.basename(e,o.extname(e))+t;return o.join(o.dirname(e),n)}var o=n(135);e.exports=r},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function r(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}e.exports=function(e){return null!=e&&(n(e)||r(e)||!!e._isBuffer)}},function(e,t,n){"use strict";function r(){function e(){function e(s){var c=n[++t],u=i.call(arguments,0),l=u.slice(1),f=r.length,p=-1;if(s)return void a(s);for(;++p<f;)null!==l[p]&&void 0!==l[p]||(l[p]=r[p]);r=l,c?o(c,e).apply(null,r):a.apply(null,[null].concat(r))}var t=-1,r=i.call(arguments,0,-1),a=arguments[arguments.length-1];if("function"!=typeof a)throw new Error("Expected function as last argument, not "+a);e.apply(null,[null].concat(r))}function t(e){if("function"!=typeof e)throw new Error("Expected `fn` to be a function, not "+e);return n.push(e),r}var n=[],r={};return r.run=e,r.use=t,r}function o(e,t){function n(){var t,n=i.call(arguments,0),s=e.length>n.length;s&&n.push(r);try{t=e.apply(null,n)}catch(e){if(s&&a)throw e;return r(e)}s||(t&&"function"==typeof t.then?t.then(o,r):t instanceof Error?r(t):o(t))}function r(){a||(a=!0,t.apply(null,arguments))}function o(e){r(null,e)}var a;return n}e.exports=r;var i=[].slice},function(e,t){function n(e){return"[object String]"===r.call(e)}var r=Object.prototype.toString;e.exports=n},function(e,t){e.exports=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var r=Object.prototype.toString;e.exports=function(e){var t;return"[object Object]"===r.call(e)&&(null===(t=Object.getPrototypeOf(e))||t===Object.getPrototypeOf({}))}},function(e,t,n){"use strict";function r(e){var t=o(a);t.prototype.options=i(t.prototype.options,this.data("settings"),e),this.Parser=t}var o=n(136),i=n(22),a=n(508);e.exports=r,r.Parser=a},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){"use strict";function r(e,t){this.file=t,this.offset={},this.options=i(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=s(t).toOffset,this.unescape=c(this,"escape"),this.decode=u(this)}function o(e){var t,n=[];for(t in e)n.push(t);return n}var i=n(22),a=n(137),s=n(509),c=n(510),u=n(511),l=n(514);e.exports=r;var f=r.prototype;f.setOptions=n(515),f.parse=n(517),f.options=n(143),f.exitStart=a("atStart",!0),f.enterList=a("inList",!1),f.enterLink=a("inLink",!1),f.enterBlock=a("inBlock",!1),f.interruptParagraph=[["thematicBreak"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],f.interruptList=[["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],f.interruptBlockquote=[["indentedCode",{commonmark:!0}],["fencedCode",{commonmark:!0}],["atxHeading",{commonmark:!0}],["setextHeading",{commonmark:!0}],["thematicBreak",{commonmark:!0}],["html",{commonmark:!0}],["list",{commonmark:!0}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],f.blockTokenizers={yamlFrontMatter:n(520),newline:n(521),indentedCode:n(522),fencedCode:n(523),blockquote:n(524),atxHeading:n(525),thematicBreak:n(526),list:n(527),setextHeading:n(529),html:n(530),footnote:n(531),definition:n(533),table:n(534),paragraph:n(535)},f.inlineTokenizers={escape:n(536),autoLink:n(538),url:n(539),html:n(541),link:n(542),reference:n(546),strong:n(547),emphasis:n(549),deletion:n(552),code:n(554),break:n(556),text:n(558)},f.blockMethods=o(f.blockTokenizers),f.inlineMethods=o(f.inlineTokenizers),f.tokenizeBlock=l("block"),f.tokenizeInline=l("inline"),f.tokenizeFactory=l},function(e,t,n){"use strict";function r(e){var t=a(String(e));return{toPosition:o(t),toOffset:i(t)}}function o(e){function t(t){var n=-1,r=e.length;if(t<0)return{};for(;++n<r;)if(e[n]>t)return{line:n+1,column:t-(e[n-1]||0)+1,offset:t};return{}}return t}function i(e){function t(t){var n=t&&t.line,r=t&&t.column;return!isNaN(n)&&!isNaN(r)&&n-1 in e?(e[n-2]||0)+r-1||0:-1}return t}function a(e){for(var t=[],n=e.indexOf("\n");-1!==n;)t.push(n+1),n=e.indexOf("\n",n+1);return t.push(e.length+1),t}e.exports=r},function(e,t,n){"use strict";function r(e,t){function n(n){for(var r,o=0,i=n.indexOf("\\"),a=e[t],s=[];-1!==i;)s.push(n.slice(o,i)),o=i+1,r=n.charAt(o),r&&-1!==a.indexOf(r)||s.push("\\"),i=n.indexOf("\\",o);return s.push(n.slice(o)),s.join("")}return n}e.exports=r},function(e,t,n){"use strict";function r(e){function t(t){for(var n=e.offset,r=t.line,o=[];++r&&r in n;)o.push((n[r]||0)+1);return{start:t,indent:o}}function n(t,n,r){3!==r&&e.file.message(t,n)}function r(r,i,a){o(r,{position:t(i),warning:n,text:a,reference:a,textContext:e,referenceContext:e})}function i(e,r){return o(e,{position:t(r),warning:n})}return r.raw=i,r}var o=n(50);e.exports=r},function(e,t){e.exports={AEli:"\xc6",AElig:"\xc6",AM:"&",AMP:"&",Aacut:"\xc1",Aacute:"\xc1",Abreve:"\u0102",Acir:"\xc2",Acirc:"\xc2",Acy:"\u0410",Afr:"\ud835\udd04",Agrav:"\xc0",Agrave:"\xc0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2a53",Aogon:"\u0104",Aopf:"\ud835\udd38",ApplyFunction:"\u2061",Arin:"\xc5",Aring:"\xc5",Ascr:"\ud835\udc9c",Assign:"\u2254",Atild:"\xc3",Atilde:"\xc3",Aum:"\xc4",Auml:"\xc4",Backslash:"\u2216",Barv:"\u2ae7",Barwed:"\u2306",Bcy:"\u0411",Because:"\u2235",Bernoullis:"\u212c",Beta:"\u0392",Bfr:"\ud835\udd05",Bopf:"\ud835\udd39",Breve:"\u02d8",Bscr:"\u212c",Bumpeq:"\u224e",CHcy:"\u0427",COP:"\xa9",COPY:"\xa9",Cacute:"\u0106",Cap:"\u22d2",CapitalDifferentialD:"\u2145",Cayleys:"\u212d",Ccaron:"\u010c",Ccedi:"\xc7",Ccedil:"\xc7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010a",Cedilla:"\xb8",CenterDot:"\xb7",Cfr:"\u212d",Chi:"\u03a7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",Colon:"\u2237",Colone:"\u2a74",Congruent:"\u2261",Conint:"\u222f",ContourIntegral:"\u222e",Copf:"\u2102",Coproduct:"\u2210",CounterClockwiseContourIntegral:"\u2233",Cross:"\u2a2f",Cscr:"\ud835\udc9e",Cup:"\u22d3",CupCap:"\u224d",DD:"\u2145",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040f",Dagger:"\u2021",Darr:"\u21a1",Dashv:"\u2ae4",Dcaron:"\u010e",Dcy:"\u0414",Del:"\u2207",Delta:"\u0394",Dfr:"\ud835\udd07",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",Diamond:"\u22c4",DifferentialD:"\u2146",Dopf:"\ud835\udd3b",Dot:"\xa8",DotDot:"\u20dc",DotEqual:"\u2250",DoubleContourIntegral:"\u222f",DoubleDot:"\xa8",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleRightTee:"\u22a8",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVector:"\u21bd",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295f",DownRightVector:"\u21c1",DownRightVectorBar:"\u2957",DownTee:"\u22a4",DownTeeArrow:"\u21a7",Downarrow:"\u21d3",Dscr:"\ud835\udc9f",Dstrok:"\u0110",ENG:"\u014a",ET:"\xd0",ETH:"\xd0",Eacut:"\xc9",Eacute:"\xc9",Ecaron:"\u011a",Ecir:"\xca",Ecirc:"\xca",Ecy:"\u042d",Edot:"\u0116",Efr:"\ud835\udd08",Egrav:"\xc8",Egrave:"\xc8",Element:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25fb",EmptyVerySmallSquare:"\u25ab",Eogon:"\u0118",Eopf:"\ud835\udd3c",Epsilon:"\u0395",Equal:"\u2a75",EqualTilde:"\u2242",Equilibrium:"\u21cc",Escr:"\u2130",Esim:"\u2a73",Eta:"\u0397",Eum:"\xcb",Euml:"\xcb",Exists:"\u2203",ExponentialE:"\u2147",Fcy:"\u0424",Ffr:"\ud835\udd09",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",Fopf:"\ud835\udd3d",ForAll:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",G:">",GT:">",Gamma:"\u0393",Gammad:"\u03dc",Gbreve:"\u011e",Gcedil:"\u0122",Gcirc:"\u011c",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\ud835\udd0a",Gg:"\u22d9",Gopf:"\ud835\udd3e",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",Gscr:"\ud835\udca2",Gt:"\u226b",HARDcy:"\u042a",Hacek:"\u02c7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210c",HilbertSpace:"\u210b",Hopf:"\u210d",HorizontalLine:"\u2500",Hscr:"\u210b",Hstrok:"\u0126",HumpDownHump:"\u224e",HumpEqual:"\u224f",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacut:"\xcd",Iacute:"\xcd",Icir:"\xce",Icirc:"\xce",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Igrav:"\xcc",Igrave:"\xcc",Im:"\u2111",Imacr:"\u012a",ImaginaryI:"\u2148",Implies:"\u21d2",Int:"\u222c",Integral:"\u222b",Intersection:"\u22c2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Iogon:"\u012e",Iopf:"\ud835\udd40",Iota:"\u0399",Iscr:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Ium:"\xcf",Iuml:"\xcf",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\ud835\udd0d",Jopf:"\ud835\udd41",Jscr:"\ud835\udca5",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040c",Kappa:"\u039a",Kcedil:"\u0136",Kcy:"\u041a",Kfr:"\ud835\udd0e",Kopf:"\ud835\udd42",Kscr:"\ud835\udca6",LJcy:"\u0409",L:"<",LT:"<",Lacute:"\u0139",Lambda:"\u039b",Lang:"\u27ea",Laplacetrf:"\u2112",Larr:"\u219e",Lcaron:"\u013d",Lcedil:"\u013b",Lcy:"\u041b",LeftAngleBracket:"\u27e8",LeftArrow:"\u2190",LeftArrowBar:"\u21e4",LeftArrowRightArrow:"\u21c6",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",LeftRightArrow:"\u2194",LeftRightVector:"\u294e",LeftTee:"\u22a3",LeftTeeArrow:"\u21a4",LeftTeeVector:"\u295a",LeftTriangle:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",LeftVectorBar:"\u2952",Leftarrow:"\u21d0",Leftrightarrow:"\u21d4",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",LessLess:"\u2aa1",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",Lfr:"\ud835\udd0f",Ll:"\u22d8",Lleftarrow:"\u21da",Lmidot:"\u013f",LongLeftArrow:"\u27f5",LongLeftRightArrow:"\u27f7",LongRightArrow:"\u27f6",Longleftarrow:"\u27f8",Longleftrightarrow:"\u27fa",Longrightarrow:"\u27f9",Lopf:"\ud835\udd43",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",Lscr:"\u2112",Lsh:"\u21b0",Lstrok:"\u0141",Lt:"\u226a",Map:"\u2905",Mcy:"\u041c",MediumSpace:"\u205f",Mellintrf:"\u2133",Mfr:"\ud835\udd10",MinusPlus:"\u2213",Mopf:"\ud835\udd44",Mscr:"\u2133",Mu:"\u039c",NJcy:"\u040a",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041d",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",Nfr:"\ud835\udd11",NoBreak:"\u2060",NonBreakingSpace:"\xa0",Nopf:"\u2115",Not:"\u2aec",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",NotLeftTriangle:"\u22ea",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangle:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",Nscr:"\ud835\udca9",Ntild:"\xd1",Ntilde:"\xd1",Nu:"\u039d",OElig:"\u0152",Oacut:"\xd3",Oacute:"\xd3",Ocir:"\xd4",Ocirc:"\xd4",Ocy:"\u041e",Odblac:"\u0150",Ofr:"\ud835\udd12",Ograv:"\xd2",Ograve:"\xd2",Omacr:"\u014c",Omega:"\u03a9",Omicron:"\u039f",Oopf:"\ud835\udd46",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",Or:"\u2a54",Oscr:"\ud835\udcaa",Oslas:"\xd8",Oslash:"\xd8",Otild:"\xd5",Otilde:"\xd5",Otimes:"\u2a37",Oum:"\xd6",Ouml:"\xd6",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",PartialD:"\u2202",Pcy:"\u041f",Pfr:"\ud835\udd13",Phi:"\u03a6",Pi:"\u03a0",PlusMinus:"\xb1",Poincareplane:"\u210c",Popf:"\u2119",Pr:"\u2abb",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",Prime:"\u2033",Product:"\u220f",Proportion:"\u2237",Proportional:"\u221d",Pscr:"\ud835\udcab",Psi:"\u03a8",QUO:'"',QUOT:'"',Qfr:"\ud835\udd14",Qopf:"\u211a",Qscr:"\ud835\udcac",RBarr:"\u2910",RE:"\xae",REG:"\xae",Racute:"\u0154",Rang:"\u27eb",Rarr:"\u21a0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211c",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",Rfr:"\u211c",Rho:"\u03a1",RightAngleBracket:"\u27e9",RightArrow:"\u2192",RightArrowBar:"\u21e5",RightArrowLeftArrow:"\u21c4",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",RightTee:"\u22a2",RightTeeArrow:"\u21a6",RightTeeVector:"\u295b",RightTriangle:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",RightVectorBar:"\u2953",Rightarrow:"\u21d2",Ropf:"\u211d",RoundImplies:"\u2970",Rrightarrow:"\u21db",Rscr:"\u211b",Rsh:"\u21b1",RuleDelayed:"\u29f4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042c",Sacute:"\u015a",Sc:"\u2abc",Scaron:"\u0160",Scedil:"\u015e",Scirc:"\u015c",Scy:"\u0421",Sfr:"\ud835\udd16",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sigma:"\u03a3",SmallCircle:"\u2218",Sopf:"\ud835\udd4a",Sqrt:"\u221a",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Sscr:"\ud835\udcae",Star:"\u22c6",Sub:"\u22d0",Subset:"\u22d0",SubsetEqual:"\u2286",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",SuchThat:"\u220b",Sum:"\u2211",Sup:"\u22d1",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22d1",THOR:"\xde",THORN:"\xde",TRADE:"\u2122",TSHcy:"\u040b",TScy:"\u0426",Tab:"\t",Tau:"\u03a4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\ud835\udd17",Therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205f\u200a",ThinSpace:"\u2009",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",Topf:"\ud835\udd4b",TripleDot:"\u20db",Tscr:"\ud835\udcaf",Tstrok:"\u0166",Uacut:"\xda",Uacute:"\xda",Uarr:"\u219f",Uarrocir:"\u2949",Ubrcy:"\u040e",Ubreve:"\u016c",Ucir:"\xdb",Ucirc:"\xdb",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\ud835\udd18",Ugrav:"\xd9",Ugrave:"\xd9",Umacr:"\u016a",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",Uogon:"\u0172",Uopf:"\ud835\udd4c",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",UpDownArrow:"\u2195",UpEquilibrium:"\u296e",UpTee:"\u22a5",UpTeeArrow:"\u21a5",Uparrow:"\u21d1",Updownarrow:"\u21d5",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03d2",Upsilon:"\u03a5",Uring:"\u016e",Uscr:"\ud835\udcb0",Utilde:"\u0168",Uum:"\xdc",Uuml:"\xdc",VDash:"\u22ab",Vbar:"\u2aeb",Vcy:"\u0412",Vdash:"\u22a9",Vdashl:"\u2ae6",Vee:"\u22c1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",Vfr:"\ud835\udd19",Vopf:"\ud835\udd4d",Vscr:"\ud835\udcb1",Vvdash:"\u22aa",Wcirc:"\u0174",Wedge:"\u22c0",Wfr:"\ud835\udd1a",Wopf:"\ud835\udd4e",Wscr:"\ud835\udcb2",Xfr:"\ud835\udd1b",Xi:"\u039e",Xopf:"\ud835\udd4f",Xscr:"\ud835\udcb3",YAcy:"\u042f",YIcy:"\u0407",YUcy:"\u042e",Yacut:"\xdd",Yacute:"\xdd",Ycirc:"\u0176",Ycy:"\u042b",Yfr:"\ud835\udd1c",Yopf:"\ud835\udd50",Yscr:"\ud835\udcb4",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017d",Zcy:"\u0417",Zdot:"\u017b",ZeroWidthSpace:"\u200b",Zeta:"\u0396",Zfr:"\u2128",Zopf:"\u2124",Zscr:"\ud835\udcb5",aacut:"\xe1",aacute:"\xe1",abreve:"\u0103",ac:"\u223e",acE:"\u223e\u0333",acd:"\u223f",acir:"\xe2",acirc:"\xe2",acut:"\xb4",acute:"\xb4",acy:"\u0430",aeli:"\xe6",aelig:"\xe6",af:"\u2061",afr:"\ud835\udd1e",agrav:"\xe0",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03b1",amacr:"\u0101",amalg:"\u2a3f",am:"&",amp:"&",and:"\u2227",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",aogon:"\u0105",aopf:"\ud835\udd52",ap:"\u2248",apE:"\u2a70",apacir:"\u2a6f",ape:"\u224a",apid:"\u224b",apos:"'",approx:"\u2248",approxeq:"\u224a",arin:"\xe5",aring:"\xe5",ascr:"\ud835\udcb6",ast:"*",asymp:"\u2248",asympeq:"\u224d",atild:"\xe3",atilde:"\xe3",aum:"\xe4",auml:"\xe4",awconint:"\u2233",awint:"\u2a11",bNot:"\u2aed",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",barvee:"\u22bd",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",bcy:"\u0431",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",beta:"\u03b2",beth:"\u2136",between:"\u226c",bfr:"\ud835\udd1f",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bnot:"\u2310",bopf:"\ud835\udd53",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255d",boxUR:"\u255a",boxUl:"\u255c",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256c",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256b",boxVl:"\u2562",boxVr:"\u255f",boxbox:"\u29c9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250c",boxh:"\u2500",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252c",boxhu:"\u2534",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxuL:"\u255b",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256a",boxvL:"\u2561",boxvR:"\u255e",boxvh:"\u253c",boxvl:"\u2524",boxvr:"\u251c",bprime:"\u2035",breve:"\u02d8",brvba:"\xa6",brvbar:"\xa6",bscr:"\ud835\udcb7",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpE:"\u2aae",bumpe:"\u224f",bumpeq:"\u224f",cacute:"\u0107",cap:"\u2229",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",ccaps:"\u2a4d",ccaron:"\u010d",ccedi:"\xe7",ccedil:"\xe7",ccirc:"\u0109",ccups:"\u2a4c",ccupssm:"\u2a50",cdot:"\u010b",cedi:"\xb8",cedil:"\xb8",cemptyv:"\u29b2",cen:"\xa2",cent:"\xa2",centerdot:"\xb7",cfr:"\ud835\udd20",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03c7",cir:"\u25cb",cirE:"\u29c3",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledR:"\xae",circledS:"\u24c8",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",cire:"\u2257",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",clubs:"\u2663",clubsuit:"\u2663",colon:":",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",conint:"\u222e",copf:"\ud835\udd54",coprod:"\u2210",cop:"\xa9",copy:"\xa9",copysr:"\u2117",crarr:"\u21b5",cross:"\u2717",cscr:"\ud835\udcb8",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",cup:"\u222a",cupbrcap:"\u2a48",cupcap:"\u2a46",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curre:"\xa4",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",dArr:"\u21d3",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",darr:"\u2193",dash:"\u2010",dashv:"\u22a3",dbkarow:"\u290f",dblac:"\u02dd",dcaron:"\u010f",dcy:"\u0434",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21ca",ddotseq:"\u2a77",de:"\xb0",deg:"\xb0",delta:"\u03b4",demptyv:"\u29b1",dfisht:"\u297f",dfr:"\ud835\udd21",dharl:"\u21c3",dharr:"\u21c2",diam:"\u22c4",diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divid:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",djcy:"\u0452",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",dopf:"\ud835\udd55",dot:"\u02d9",doteq:"\u2250",doteqdot:"\u2251",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",downarrow:"\u2193",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",dscr:"\ud835\udcb9",dscy:"\u0455",dsol:"\u29f6",dstrok:"\u0111",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",dzcy:"\u045f",dzigrarr:"\u27ff",eDDot:"\u2a77",eDot:"\u2251",eacut:"\xe9",eacute:"\xe9",easter:"\u2a6e",ecaron:"\u011b",ecir:"\xea",ecirc:"\xea",ecolon:"\u2255",ecy:"\u044d",edot:"\u0117",ee:"\u2147",efDot:"\u2252",efr:"\ud835\udd22",eg:"\u2a9a",egrav:"\xe8",egrave:"\xe8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014b",ensp:"\u2002",eogon:"\u0119",eopf:"\ud835\udd56",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",epsilon:"\u03b5",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",equals:"=",equest:"\u225f",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erDot:"\u2253",erarr:"\u2971",escr:"\u212f",esdot:"\u2250",esim:"\u2242",eta:"\u03b7",et:"\xf0",eth:"\xf0",eum:"\xeb",euml:"\xeb",euro:"\u20ac",excl:"!",exist:"\u2203",expectation:"\u2130",exponentiale:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",ffr:"\ud835\udd23",filig:"\ufb01",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",fopf:"\ud835\udd57",forall:"\u2200",fork:"\u22d4",forkv:"\u2ad9",fpartint:"\u2a0d",frac1:"\xbc",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac3:"\xbe",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",fscr:"\ud835\udcbb",gE:"\u2267",gEl:"\u2a8c",gacute:"\u01f5",gamma:"\u03b3",gammad:"\u03dd",gap:"\u2a86",gbreve:"\u011f",gcirc:"\u011d",gcy:"\u0433",gdot:"\u0121",ge:"\u2265",gel:"\u22db",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",ges:"\u2a7e",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",gfr:"\ud835\udd24",gg:"\u226b",ggg:"\u22d9",gimel:"\u2137",gjcy:"\u0453",gl:"\u2277",glE:"\u2a92",gla:"\u2aa5",glj:"\u2aa4",gnE:"\u2269",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",gopf:"\ud835\udd58",grave:"`",gscr:"\u210a",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",g:">",gt:">",gtcc:"\u2aa7",gtcir:"\u2a7a",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",hArr:"\u21d4",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",hardcy:"\u044a",harr:"\u2194",harrcir:"\u2948",harrw:"\u21ad",hbar:"\u210f",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",hfr:"\ud835\udd25",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",hopf:"\ud835\udd59",horbar:"\u2015",hscr:"\ud835\udcbd",hslash:"\u210f",hstrok:"\u0127",hybull:"\u2043",hyphen:"\u2010",iacut:"\xed",iacute:"\xed",ic:"\u2063",icir:"\xee",icirc:"\xee",icy:"\u0438",iecy:"\u0435",iexc:"\xa1",iexcl:"\xa1",iff:"\u21d4",ifr:"\ud835\udd26",igrav:"\xec",igrave:"\xec",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012b",image:"\u2111",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22b7",imped:"\u01b5",in:"\u2208",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",int:"\u222b",intcal:"\u22ba",integers:"\u2124",intercal:"\u22ba",intlarhk:"\u2a17",intprod:"\u2a3c",iocy:"\u0451",iogon:"\u012f",iopf:"\ud835\udd5a",iota:"\u03b9",iprod:"\u2a3c",iques:"\xbf",iquest:"\xbf",iscr:"\ud835\udcbe",isin:"\u2208",isinE:"\u22f9",isindot:"\u22f5",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",iukcy:"\u0456",ium:"\xef",iuml:"\xef",jcirc:"\u0135",jcy:"\u0439",jfr:"\ud835\udd27",jmath:"\u0237",jopf:"\ud835\udd5b",jscr:"\ud835\udcbf",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03ba",kappav:"\u03f0",kcedil:"\u0137",kcy:"\u043a",kfr:"\ud835\udd28",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045c",kopf:"\ud835\udd5c",kscr:"\ud835\udcc0",lAarr:"\u21da",lArr:"\u21d0",lAtail:"\u291b",lBarr:"\u290e",lE:"\u2266",lEg:"\u2a8b",lHar:"\u2962",lacute:"\u013a",laemptyv:"\u29b4",lagran:"\u2112",lambda:"\u03bb",lang:"\u27e8",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",laqu:"\xab",laquo:"\xab",larr:"\u2190",larrb:"\u21e4",larrbfs:"\u291f",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",lat:"\u2aab",latail:"\u2919",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",lcaron:"\u013e",lcedil:"\u013c",lceil:"\u2308",lcub:"{",lcy:"\u043b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",leftarrow:"\u2190",leftarrowtail:"\u21a2",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",leftthreetimes:"\u22cb",leg:"\u22da",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",les:"\u2a7d",lescc:"\u2aa8",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",lessgtr:"\u2276",lesssim:"\u2272",lfisht:"\u297c",lfloor:"\u230a",lfr:"\ud835\udd29",lg:"\u2276",lgE:"\u2a91",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",ljcy:"\u0459",ll:"\u226a",llarr:"\u21c7",llcorner:"\u231e",llhard:"\u296b",lltri:"\u25fa",lmidot:"\u0140",lmoust:"\u23b0",lmoustache:"\u23b0",lnE:"\u2268",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",longleftrightarrow:"\u27f7",longmapsto:"\u27fc",longrightarrow:"\u27f6",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",lopf:"\ud835\udd5d",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\ud835\udcc1",lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",lstrok:"\u0142",l:"<",lt:"<",ltcc:"\u2aa6",ltcir:"\u2a79",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltrPar:"\u2996",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",mDDot:"\u223a",mac:"\xaf",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21a6",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",mcy:"\u043c",mdash:"\u2014",measuredangle:"\u2221",mfr:"\ud835\udd2a",mho:"\u2127",micr:"\xb5",micro:"\xb5",mid:"\u2223",midast:"*",midcir:"\u2af0",middo:"\xb7",middot:"\xb7",minus:"\u2212",minusb:"\u229f",minusd:"\u2238",minusdu:"\u2a2a",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",mopf:"\ud835\udd5e",mp:"\u2213",mscr:"\ud835\udcc2",mstpos:"\u223e",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nGg:"\u22d9\u0338",nGt:"\u226b\u20d2",nGtv:"\u226b\u0338",nLeftarrow:"\u21cd",nLeftrightarrow:"\u21ce",nLl:"\u22d8\u0338",nLt:"\u226a\u20d2",nLtv:"\u226a\u0338",nRightarrow:"\u21cf",nVDash:"\u22af",nVdash:"\u22ae",nabla:"\u2207",nacute:"\u0144",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266e",natural:"\u266e",naturals:"\u2115",nbs:"\xa0",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",ncaron:"\u0148",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",ncy:"\u043d",ndash:"\u2013",ne:"\u2260",neArr:"\u21d7",nearhk:"\u2924",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",nexist:"\u2204",nexists:"\u2204",nfr:"\ud835\udd2b",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",ngsim:"\u2275",ngt:"\u226f",ngtr:"\u226f",nhArr:"\u21ce",nharr:"\u21ae",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",njcy:"\u045a",nlArr:"\u21cd",nlE:"\u2266\u0338",nlarr:"\u219a",nldr:"\u2025",nle:"\u2270",nleftarrow:"\u219a",nleftrightarrow:"\u21ae",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nlsim:"\u2274",nlt:"\u226e",nltri:"\u22ea",nltrie:"\u22ec",nmid:"\u2224",nopf:"\ud835\udd5f",no:"\xac",not:"\xac",notin:"\u2209",notinE:"\u22f9\u0338",notindot:"\u22f5\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",npre:"\u2aaf\u0338",nprec:"\u2280",npreceq:"\u2aaf\u0338",nrArr:"\u21cf",nrarr:"\u219b",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",nscr:"\ud835\udcc3",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsube:"\u2288",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",ntild:"\xf1",ntilde:"\xf1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",nu:"\u03bd",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22ad",nvHarr:"\u2904",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwArr:"\u21d6",nwarhk:"\u2923",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",oS:"\u24c8",oacut:"\xf3",oacute:"\xf3",oast:"\u229b",ocir:"\xf4",ocirc:"\xf4",ocy:"\u043e",odash:"\u229d",odblac:"\u0151",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",oelig:"\u0153",ofcir:"\u29bf",ofr:"\ud835\udd2c",ogon:"\u02db",ograv:"\xf2",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",omacr:"\u014d",omega:"\u03c9",omicron:"\u03bf",omid:"\u29b6",ominus:"\u2296",oopf:"\ud835\udd60",opar:"\u29b7",operp:"\u29b9",oplus:"\u2295",or:"\u2228",orarr:"\u21bb",ord:"\xba",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oscr:"\u2134",oslas:"\xf8",oslash:"\xf8",osol:"\u2298",otild:"\xf5",otilde:"\xf5",otimes:"\u2297",otimesas:"\u2a36",oum:"\xf6",ouml:"\xf6",ovbar:"\u233d",par:"\xb6",para:"\xb6",parallel:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",pfr:"\ud835\udd2d",phi:"\u03c6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",pi:"\u03c0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plus:"+",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",plusm:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",pointint:"\u2a15",popf:"\ud835\udd61",poun:"\xa3",pound:"\xa3",pr:"\u227a",prE:"\u2ab3",prap:"\u2ab7",prcue:"\u227c",pre:"\u2aaf",prec:"\u227a",precapprox:"\u2ab7",preccurlyeq:"\u227c",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",precsim:"\u227e",prime:"\u2032",primes:"\u2119",prnE:"\u2ab5",prnap:"\u2ab9",prnsim:"\u22e8",prod:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",pscr:"\ud835\udcc5",psi:"\u03c8",puncsp:"\u2008",qfr:"\ud835\udd2e",qint:"\u2a0c",qopf:"\ud835\udd62",qprime:"\u2057",qscr:"\ud835\udcc6",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quo:'"',quot:'"',rAarr:"\u21db",rArr:"\u21d2",rAtail:"\u291c",rBarr:"\u290f",rHar:"\u2964",race:"\u223d\u0331",racute:"\u0155",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raqu:"\xbb",raquo:"\xbb",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21a3",rarrw:"\u219d",ratail:"\u291a",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rceil:"\u2309",rcub:"}",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",rect:"\u25ad",re:"\xae",reg:"\xae",rfisht:"\u297d",rfloor:"\u230b",rfr:"\ud835\udd2f",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",rho:"\u03c1",rhov:"\u03f1",rightarrow:"\u2192",rightarrowtail:"\u21a3",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",rightthreetimes:"\u22cc",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",ropf:"\ud835\udd63",roplus:"\u2a2e",rotimes:"\u2a35",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",rsaquo:"\u203a",rscr:"\ud835\udcc7",rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",ruluhar:"\u2968",rx:"\u211e",sacute:"\u015b",sbquo:"\u201a",sc:"\u227b",scE:"\u2ab4",scap:"\u2ab8",scaron:"\u0161",sccue:"\u227d",sce:"\u2ab0",scedil:"\u015f",scirc:"\u015d",scnE:"\u2ab6",scnap:"\u2aba",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",scy:"\u0441",sdot:"\u22c5",sdotb:"\u22a1",sdote:"\u2a66",seArr:"\u21d8",searhk:"\u2925",searr:"\u2198",searrow:"\u2198",sec:"\xa7",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\ud835\udd30",sfrown:"\u2322",sharp:"\u266f",shchcy:"\u0449",shcy:"\u0448",shortmid:"\u2223",shortparallel:"\u2225",sh:"\xad",shy:"\xad",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",softcy:"\u044c",sol:"/",solb:"\u29c4",solbar:"\u233f",sopf:"\ud835\udd64",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25a1",square:"\u25a1",squarf:"\u25aa",squf:"\u25aa",srarr:"\u2192",sscr:"\ud835\udcc8",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",subE:"\u2ac5",subdot:"\u2abd",sube:"\u2286",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subne:"\u228a",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2ac5",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succ:"\u227b",succapprox:"\u2ab8",succcurlyeq:"\u227d",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",sum:"\u2211",sung:"\u266a",sup:"\u2283",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supE:"\u2ac6",supdot:"\u2abe",supdsub:"\u2ad8",supe:"\u2287",supedot:"\u2ac4",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supne:"\u228b",supplus:"\u2ac0",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swArr:"\u21d9",swarhk:"\u2926",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292a",szli:"\xdf",szlig:"\xdf",target:"\u2316",tau:"\u03c4",tbrk:"\u23b4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",tdot:"\u20db",telrec:"\u2315",tfr:"\ud835\udd31",there4:"\u2234",therefore:"\u2234",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223c",thor:"\xfe",thorn:"\xfe",tilde:"\u02dc",time:"\xd7",times:"\xd7",timesb:"\u22a0",timesbar:"\u2a31",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",top:"\u22a4",topbot:"\u2336",topcir:"\u2af1",topf:"\ud835\udd65",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",tscr:"\ud835\udcc9",tscy:"\u0446",tshcy:"\u045b",tstrok:"\u0167",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",uArr:"\u21d1",uHar:"\u2963",uacut:"\xfa",uacute:"\xfa",uarr:"\u2191",ubrcy:"\u045e",ubreve:"\u016d",ucir:"\xfb",ucirc:"\xfb",ucy:"\u0443",udarr:"\u21c5",udblac:"\u0171",udhar:"\u296e",ufisht:"\u297e",ufr:"\ud835\udd32",ugrav:"\xf9",ugrave:"\xf9",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",umacr:"\u016b",um:"\xa8",uml:"\xa8",uogon:"\u0173",uopf:"\ud835\udd66",uparrow:"\u2191",updownarrow:"\u2195",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",upsi:"\u03c5",upsih:"\u03d2",upsilon:"\u03c5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",uring:"\u016f",urtri:"\u25f9",uscr:"\ud835\udcca",utdot:"\u22f0",utilde:"\u0169",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",uum:"\xfc",uuml:"\xfc",uwangle:"\u29a7",vArr:"\u21d5",vBar:"\u2ae8",vBarv:"\u2ae9",vDash:"\u22a8",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",varr:"\u2195",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",vcy:"\u0432",vdash:"\u22a2",vee:"\u2228",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",vert:"|",vfr:"\ud835\udd33",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",vopf:"\ud835\udd67",vprop:"\u221d",vrtri:"\u22b3",vscr:"\ud835\udccb",vsubnE:"\u2acb\ufe00",vsubne:"\u228a\ufe00",vsupnE:"\u2acc\ufe00",vsupne:"\u228b\ufe00",vzigzag:"\u299a",wcirc:"\u0175",wedbar:"\u2a5f",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",wfr:"\ud835\udd34",wopf:"\ud835\udd68",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\ud835\udccc",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",xfr:"\ud835\udd35",xhArr:"\u27fa",xharr:"\u27f7",xi:"\u03be",xlArr:"\u27f8",xlarr:"\u27f5",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",xopf:"\ud835\udd69",xoplus:"\u2a01",xotime:"\u2a02",xrArr:"\u27f9",xrarr:"\u27f6",xscr:"\ud835\udccd",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",yacut:"\xfd",yacute:"\xfd",yacy:"\u044f",ycirc:"\u0177",ycy:"\u044b",ye:"\xa5",yen:"\xa5",yfr:"\ud835\udd36",yicy:"\u0457",yopf:"\ud835\udd6a",yscr:"\ud835\udcce",yucy:"\u044e",yum:"\xff",yuml:"\xff",zacute:"\u017a",zcaron:"\u017e",zcy:"\u0437",zdot:"\u017c",zeetrf:"\u2128",zeta:"\u03b6",zfr:"\ud835\udd37",zhcy:"\u0436",zigrarr:"\u21dd",zopf:"\ud835\udd6b",zscr:"\ud835\udccf",zwj:"\u200d",zwnj:"\u200c"}},function(e,t){e.exports={0:"\ufffd",128:"\u20ac",130:"\u201a",131:"\u0192",132:"\u201e",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02c6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017d",145:"\u2018",146:"\u2019",147:"\u201c",148:"\u201d",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02dc",153:"\u2122",154:"\u0161",155:"\u203a",156:"\u0153",158:"\u017e",159:"\u0178"}},function(e,t,n){"use strict";function r(e){var t,n;return"text"!==e.type||!e.position||(t=e.position.start,n=e.position.end,t.line!==n.line||n.column-t.column===e.value.length)}function o(e,t){return e.value+=t.value,e}function i(e,t){return this.options.commonmark?t:(e.children=e.children.concat(t.children),e)}function a(e){function t(t,n){function o(e){for(var t=-1,n=e.indexOf("\n");-1!==n;)x++,t=n,n=e.indexOf("\n",n+1);-1===t?_+=e.length:_=e.length-t,x in w&&(-1!==t?_+=w[x]:_<=w[x]&&(_=w[x]+1))}function i(){var e=[],t=x+1;return function(){for(var n=x+1;t<n;)e.push((w[t]||0)+1),t++;return e}}function a(){var e={line:x,column:_};return e.offset=b.toOffset(e),e}function c(e){this.start=e,this.end=a()}function u(e){t.substring(0,e.length)!==e&&b.file.fail(new Error("Incorrectly eaten value: please report this warning on http://git.io/vg5Ft"),a())}function l(){function e(e,n){var r=e.position,o=r?r.start:t,i=[],a=r&&r.end.line,s=t.line;if(e.position=new c(o),r&&n&&r.indent){if(i=r.indent,a<s){for(;++a<s;)i.push((w[a]||0)+1);i.push(t.column)}n=i.concat(n)}return e.position.indent=n||[],e}var t=a();return e}function f(e,t){var n=t?t.children:k,o=n[n.length-1];return o&&e.type===o.type&&e.type in s&&r(o)&&r(e)&&(e=s[e.type].call(b,o,e)),e!==o&&n.push(e),b.atStart&&0!==k.length&&b.exitStart(),e}function p(e){function n(e,t){return p(f(p(e),t),c)}function r(){var r=n.apply(null,arguments);return x=d.line,_=d.column,t=e+t,r}function s(){var n=p({});return x=d.line,_=d.column,t=e+t,n.position}var c=i(),p=l(),d=a();return u(e),n.reset=r,r.test=s,n.test=s,t=t.substring(e.length),o(e),c=c(),n}var d,h,g,m,y,v,b=this,w=b.offset,k=[],S=b[e+"Methods"],E=b[e+"Tokenizers"],x=n.line,_=n.column;if(!t)return k;for(p.now=a,p.file=b.file,o("");t;){for(d=-1,h=S.length,y=!1;++d<h&&(m=S[d],!(g=E[m])||g.onlyAtStart&&!b.atStart||g.notInList&&b.inList||g.notInBlock&&b.inBlock||g.notInLink&&b.inLink||(v=t.length,g.apply(b,[p,t]),!(y=v!==t.length))););y||b.file.fail(new Error("Infinite loop"),p.now())}return b.eof=a(),k}return t}e.exports=a;var s={text:o,blockquote:i}},function(e,t,n){"use strict";function r(e){var t,n,r=this,s=r.options;if(null==e)e={};else{if("object"!=typeof e)throw new Error("Invalid value `"+e+"` for setting `options`");e=o(e)}for(t in a){if(n=e[t],null==n&&(n=s[t]),"blocks"!==t&&"boolean"!=typeof n||"blocks"===t&&"object"!=typeof n)throw new Error("Invalid value `"+n+"` for setting `options."+t+"`");e[t]=n}return r.options=e,r.escape=i(e),r}var o=n(22),i=n(142),a=n(143);e.exports=r},function(e,t){e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","pre","section","source","title","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(e,t,n){"use strict";function r(){var e,t=this,n=String(t.file),r={line:1,column:1,offset:0},c=o(r);return n=n.replace(s,a),65279===n.charCodeAt(0)&&(n=n.slice(1),c.column++,c.offset++),e={type:"root",children:t.tokenizeBlock(n,c),position:{start:r,end:t.eof||o(r)}},t.options.position||i(e,!0),e}var o=n(22),i=n(518);e.exports=r;var a="\n",s=/\r\n|\r/g},function(e,t,n){"use strict";function r(e,t){return a(e,t?o:i),e}function o(e){delete e.position}function i(e){e.position=void 0}var a=n(144);e.exports=r},function(e,t,n){"use strict";function r(e,t,n,i,a){var s=null!==i&&void 0!==i,c=null!==n&&void 0!==n,u=o(e);if(c&&("number"!=typeof n||n<0||n===1/0))throw new Error("Expected positive finite index or child node");if(s&&(!r(null,i)||!i.children))throw new Error("Expected parent node");if(!t||!t.type||"string"!=typeof t.type)return!1;if(s!==c)throw new Error("Expected both parent and index");return Boolean(u.call(a,t,n,i))}function o(e){if("string"==typeof e)return c(e);if(null===e||void 0===e)return u;if("object"==typeof e)return("length"in e?s:a)(e);if("function"==typeof e)return e;throw new Error("Expected function, string, or object as test")}function i(e){for(var t=[],n=e.length,r=-1;++r<n;)t[r]=o(e[r]);return t}function a(e){function t(t){var n;for(n in e)if(t[n]!==e[n])return!1;return!0}return t}function s(e){function t(){for(var e=-1;++e<r;)if(n[e].apply(this,arguments))return!0;return!1}var n=i(e),r=n.length;return t}function c(e){function t(t){return Boolean(t&&t.type===e)}return t}function u(){return!0}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,s,c,u,l,f,p=this;if(p.options.yaml&&t.charAt(0)===i&&t.charAt(1)===i&&t.charAt(2)===i&&t.charAt(3)===a)for(r=o+a,s="",f="",c=3,u=t.length;++c<u;){if((l=t.charAt(c))===i&&(f||!s)&&t.charAt(c+1)===i&&t.charAt(c+2)===i)return!!n||(r+=f+o,e(r)({type:"yaml",value:s}));l===a?f+=l:(r+=f+l,s+=f+l,f="")}}e.exports=r,r.onlyAtStart=!0;var o="---",i="-",a="\n"},function(e,t,n){"use strict";function r(e,t,n){var r,i,a,s,c=t.charAt(0);if("\n"===c){if(n)return!0;for(s=1,r=t.length,i=c,a="";s<r&&(c=t.charAt(s),o(c));)a+=c,"\n"===c&&(i+=a,a=""),s++;e(i)}}var o=n(10);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){for(var r,o,l,f=-1,p=t.length,d="",h="",g="",m="";++f<p;)if(r=t.charAt(f),l)if(l=!1,d+=g,h+=m,g="",m="",r===a)g=r,m=r;else for(d+=r,h+=r;++f<p;){if(!(r=t.charAt(f))||r===a){m=r,g=r;break}d+=r,h+=r}else if(r===c&&t.charAt(f+1)===r&&t.charAt(f+2)===r&&t.charAt(f+3)===r)g+=u,f+=3,l=!0;else if(r===s)g+=r,l=!0;else{for(o="";r===s||r===c;)o+=r,r=t.charAt(++f);if(r!==a)break;g+=o+r,m+=r}if(h)return!!n||e(d)({type:"code",lang:null,value:i(h)})}var o=n(11),i=n(72);e.exports=r;var a="\n",s="\t",c=" ",u=o(c,4)},function(e,t,n){"use strict";function r(e,t,n){var r,p,d,h,g,m,y,v,b,w,k,S=this,E=S.options,x=t.length+1,_=0,C="";if(E.gfm){for(;_<x&&((d=t.charAt(_))===s||d===a);)C+=d,_++;if(w=_,(d=t.charAt(_))===c||d===u){for(_++,p=d,r=1,C+=d;_<x&&(d=t.charAt(_))===p;)C+=d,r++,_++;if(!(r<l)){for(;_<x&&((d=t.charAt(_))===s||d===a);)C+=d,_++;for(h="",g="";_<x&&(d=t.charAt(_))!==i&&d!==c&&d!==u;)d===s||d===a?g+=d:(h+=g+d,g=""),_++;if(!(d=t.charAt(_))||d===i){if(n)return!0;for(k=e.now(),k.column+=C.length,k.offset+=C.length,C+=h,h=S.decode.raw(S.unescape(h),k),g&&(C+=g),g="",v="",b="",m="",y="";_<x;)if(d=t.charAt(_),m+=v,y+=b,v="",b="",d===i){for(m?(v+=d,b+=d):C+=d,g="",_++;_<x&&(d=t.charAt(_))===s;)g+=d,_++;if(v+=g,b+=g.slice(w),!(g.length>=f)){for(g="";_<x&&(d=t.charAt(_))===p;)g+=d,_++;if(v+=g,b+=g,!(g.length<r)){for(g="";_<x&&((d=t.charAt(_))===s||d===a);)v+=d,b+=d,_++;if(!d||d===i)break}}}else m+=d,b+=d,_++;return C+=m+v,e(C)({type:"code",lang:h||null,value:o(y)})}}}}}var o=n(72);e.exports=r;var i="\n",a="\t",s=" ",c="~",u="`",l=3,f=4},function(e,t,n){"use strict";function r(e,t,n){for(var r,l,f,p,d,h,g,m,y,v=this,b=v.offset,w=v.blockTokenizers,k=v.interruptBlockquote,S=e.now(),E=S.line,x=t.length,_=[],C=[],O=[],T=0;T<x&&((l=t.charAt(T))===c||l===s);)T++;if(t.charAt(T)===u){if(n)return!0;for(T=0;T<x;){for(p=t.indexOf(a,T),g=T,m=!1,-1===p&&(p=x);T<x&&((l=t.charAt(T))===c||l===s);)T++;if(t.charAt(T)===u?(T++,m=!0,t.charAt(T)===c&&T++):T=g,d=t.slice(T,p),!m&&!o(d)){T=g;break}if(!m&&(f=t.slice(T),i(k,w,v,[e,f,!0])))break;h=g===T?d:t.slice(g,p),O.push(T-g),_.push(h),C.push(d),T=p+1}for(T=-1,x=O.length,r=e(_.join(a));++T<x;)b[E]=(b[E]||0)+O[T],E++;return y=v.enterBlock(),C=v.tokenizeBlock(C.join(a),S),y(),r({type:"blockquote",children:C})}}var o=n(26),i=n(73);e.exports=r;var a="\n",s="\t",c=" ",u=">"},function(e,t,n){"use strict";function r(e,t,n){for(var r,u,l,f=this,p=f.options,d=t.length+1,h=-1,g=e.now(),m="",y="";++h<d;){if((r=t.charAt(h))!==a&&r!==i){h--;break}m+=r}for(l=0;++h<=d;){if((r=t.charAt(h))!==s){h--;break}m+=r,l++}if(!(l>c)&&l&&(p.pedantic||t.charAt(h+1)!==s)){for(d=t.length+1,u="";++h<d;){if((r=t.charAt(h))!==a&&r!==i){h--;break}u+=r}if(p.pedantic||0!==u.length||!r||r===o){if(n)return!0;for(m+=u,u="",y="";++h<d&&(r=t.charAt(h))&&r!==o;)if(r===a||r===i||r===s){for(;r===a||r===i;)u+=r,r=t.charAt(++h);for(;r===s;)u+=r,r=t.charAt(++h);for(;r===a||r===i;)u+=r,r=t.charAt(++h);h--}else y+=u+r,u="";return g.column+=m.length,g.offset+=m.length,m+=y+u,e(m)({type:"heading",depth:l,children:f.tokenizeInline(y,g)})}}}e.exports=r;var o="\n",i="\t",a=" ",s="#",c=6},function(e,t,n){"use strict";function r(e,t,n){for(var r,f,p,d,h=-1,g=t.length+1,m="";++h<g&&((r=t.charAt(h))===i||r===a);)m+=r;if(r===s||r===u||r===c)for(f=r,m+=r,p=1,d="";++h<g;)if((r=t.charAt(h))===f)p++,m+=d+f,d="";else{if(r!==a)return p>=l&&(!r||r===o)?(m+=d,!!n||e(m)({type:"thematicBreak"})):void 0;d+=r}}e.exports=r;var o="\n",i="\t",a=" ",s="*",c="_",u="-",l=3},function(e,t,n){"use strict";function r(e,t,n){for(var r,i,a,c,l,f,b,k,S,E,x,_,A,P,L,R,D,I,M,j,N,B,F,K,q=this,U=q.options.commonmark,z=q.options.pedantic,H=q.blockTokenizers,V=q.interruptList,W=0,G=t.length,$=null,X=0;W<G;){if((c=t.charAt(W))===v)X+=w-X%w;else{if(c!==m)break;X++}W++}if(!(X>=w)){if(c=t.charAt(W),r=U?T:O,!0===C[c])l=c,a=!1;else{for(a=!0,i="";W<G&&(c=t.charAt(W),u(c));)i+=c,W++;if(c=t.charAt(W),!i||!0!==r[c])return;$=parseInt(i,10),l=c}if((c=t.charAt(++W))===m||c===v){if(n)return!0;for(W=0,P=[],L=[],R=[];W<G;){for(f=t.indexOf(y,W),b=W,k=!1,K=!1,-1===f&&(f=G),F=W+w,X=0;W<G;){if((c=t.charAt(W))===v)X+=w-X%w;else{if(c!==m)break;X++}W++}if(X>=w&&(K=!0),D&&X>=D.indent&&(K=!0),c=t.charAt(W),S=null,!K){if(!0===C[c])S=c,W++,X++;else{for(i="";W<G&&(c=t.charAt(W),u(c));)i+=c,W++;c=t.charAt(W),W++,i&&!0===r[c]&&(S=c,X+=i.length+1)}if(S)if((c=t.charAt(W))===v)X+=w-X%w,W++;else if(c===m){for(F=W+w;W<F&&t.charAt(W)===m;)W++,X++;W===F&&t.charAt(W)===m&&(W-=w-1,X-=w-1)}else c!==y&&""!==c&&(S=null)}if(S){if(!z&&l!==S)break;k=!0}else U||K||t.charAt(b)!==m?U&&D&&(K=X>=D.indent||X>w):K=!0,k=!1,W=b;if(x=t.slice(b,f),E=b===W?x:t.slice(W,f),(S===d||S===h||S===g)&&H.thematicBreak.call(q,e,x,!0))break;if(_=A,A=!s(E).length,K&&D)D.value=D.value.concat(R,x),L=L.concat(R,x),R=[];else if(k)0!==R.length&&(D.value.push(""),D.trail=R.concat()),D={value:[x],indent:X,trail:[]},P.push(D),L=L.concat(R,x),R=[];else if(A){if(_)break;R.push(x)}else{if(_)break;if(p(V,H,q,[e,x,!0]))break;D.value=D.value.concat(R,x),L=L.concat(R,x),R=[]}W=f+1}for(N=e(L.join(y)).reset({type:"list",ordered:a,start:$,loose:null,children:[]}),I=q.enterList(),M=q.enterBlock(),j=!1,W=-1,G=P.length;++W<G;)D=P[W].value.join(y),B=e.now(),D=e(D)(o(q,D,B),N),D.loose&&(j=!0),D=P[W].trail.join(y),W!==G-1&&(D+=y),e(D);return I(),M(),N.loose=j,N}}}function o(e,t,n){var r,o,s=e.offset,c=e.options.pedantic?i:a,u=null;return t=c.apply(null,arguments),e.options.gfm&&(r=t.match(S))&&(o=r[0].length,u=r[1].toLowerCase()===b,s[n.line]+=o,t=t.slice(o)),{type:"listItem",loose:k.test(t)||t.charAt(t.length-1)===y,checked:u,children:e.tokenizeBlock(t,n)}}function i(e,t,n){function r(e){return o[i]=(o[i]||0)+e.length,i++,""}var o=e.offset,i=n.line;return t=t.replace(x,r),i=n.line,t.replace(_,r)}function a(e,t,n){function r(e,t,n,r,s){return i=t+n+r,a=s,Number(n)<10&&i.length%2==1&&(n=m+n),(o=t+c(m,n.length)+r)+a}var o,i,a,s,u,p,d,h=e.offset,g=n.line;for(t=t.replace(E,r),s=t.split(y),u=f(t,l(o).indent).split(y),u[0]=a,h[g]=(h[g]||0)+i.length,g++,p=0,d=s.length;++p<d;)h[g]=(h[g]||0)+s[p].length-u[p].length,g++;return u.join(y)}var s=n(26),c=n(11),u=n(34),l=n(145),f=n(528),p=n(73);e.exports=r;var d="*",h="_",g="-",m=" ",y="\n",v="\t",b="x",w=4,k=/\n\n(?!\s*$)/,S=/^\[([ \t]|x|X)][ \t]/,E=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/,x=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/,_=/^( {1,4}|\t)?/gm,C={};C[d]=!0,C["+"]=!0,C[g]=!0;var O={};O["."]=!0;var T={};T["."]=!0,T[")"]=!0},function(e,t,n){"use strict";function r(e,t){var n,r,l,f,p=e.split(c),d=p.length+1,h=1/0,g=[];for(p.unshift(i(s,t)+"!");d--;)if(r=a(p[d]),g[d]=r.stops,0!==o(p[d]).length){if(!r.indent){h=1/0;break}r.indent>0&&r.indent<h&&(h=r.indent)}if(h!==1/0)for(d=p.length;d--;){for(l=g[d],n=h;n&&!(n in l);)n--;f=0!==o(p[d]).length&&h&&n!==h?u:"",p[d]=f+p[d].slice(n in l?l[n]+1:0)}return p.shift(),p.join(c)}var o=n(26),i=n(11),a=n(145);e.exports=r;var s=" ",c="\n",u="\t"},function(e,t,n){"use strict";function r(e,t,n){for(var r,u,l,f,p,d=this,h=e.now(),g=t.length,m=-1,y="";++m<g;){if((l=t.charAt(m))!==a||m>=s){m--;break}y+=l}for(r="",u="";++m<g;){if((l=t.charAt(m))===o){m--;break}l===a||l===i?u+=l:(r+=u+l,u="")}if(h.column+=y.length,h.offset+=y.length,y+=r+u,l=t.charAt(++m),f=t.charAt(++m),l===o&&c[f]){for(y+=l,u=f,p=c[f];++m<g;){if((l=t.charAt(m))!==f){if(l!==o)return;m--;break}u+=l}return!!n||e(y+u)({type:"heading",depth:p,children:d.tokenizeInline(r,h)})}}e.exports=r;var o="\n",i="\t",a=" ",s=3,c={};c["="]=1,c["-"]=2},function(e,t,n){"use strict";function r(e,t,n){for(var r,u,l,f,p,d,h,g=this,m=g.options.blocks,y=t.length,v=0,b=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Za-z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+m.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(o.source+"\\s*$"),/^$/,!1]];v<y&&((f=t.charAt(v))===i||f===a);)v++;if(t.charAt(v)===c){for(r=t.indexOf(s,v+1),r=-1===r?y:r,u=t.slice(v,r),l=-1,p=b.length;++l<p;)if(b[l][0].test(u)){d=b[l];break}if(d){if(n)return d[2];if(v=r,!d[1].test(u))for(;v<y;){if(r=t.indexOf(s,v+1),r=-1===r?y:r,u=t.slice(v+1,r),d[1].test(u)){u&&(v=r);break}v=r}return h=t.slice(0,v),e(h)({type:"html",value:h})}}}var o=n(146).openCloseTag;e.exports=r;var i="\t",a=" ",s="\n",c="<"},function(e,t,n){"use strict";function r(e,t,n){var r,g,m,y,v,b,w,k,S,E,x,_,C=this,O=C.offset;if(C.options.footnotes){for(r=0,g=t.length,m="",y=e.now(),v=y.line;r<g&&(S=t.charAt(r),o(S));)m+=S,r++;if(t.charAt(r)===l&&t.charAt(r+1)===p){for(m+=l+p,r=m.length,w="";r<g&&(S=t.charAt(r))!==f;)S===a&&(w+=S,r++,S=t.charAt(r)),w+=S,r++;if(w&&t.charAt(r)===f&&t.charAt(r+1)===d){if(n)return!0;for(E=i(w),m+=w+f+d,r=m.length;r<g&&((S=t.charAt(r))===c||S===u);)m+=S,r++;for(y.column+=m.length,y.offset+=m.length,w="",b="",k="";r<g;){if((S=t.charAt(r))===s){for(k=S,r++;r<g&&(S=t.charAt(r))===s;)k+=S,r++;for(w+=k,k="";r<g&&(S=t.charAt(r))===u;)k+=S,r++;if(0===k.length)break;w+=k}w&&(b+=w,w=""),b+=S,r++}return m+=b,b=b.replace(h,function(e){return O[v]=(O[v]||0)+e.length,v++,""}),x=e(m),_=C.enterBlock(),b=C.tokenizeBlock(b,y),_(),x({type:"footnoteDefinition",identifier:E,children:b})}}}}var o=n(10),i=n(74);e.exports=r,r.notInList=!0,r.notInBlock=!0;var a="\\",s="\n",c="\t",u=" ",l="[",f="]",p="^",d=":",h=/^( {4}|\t)?/gm},function(e,t,n){"use strict";function r(e){return String(e).replace(/\s+/g," ")}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){for(var r,a,w,k,S,E,x,_,C=this,O=C.options.commonmark,T=0,A=t.length,P="";T<A&&((k=t.charAt(T))===d||k===p);)P+=k,T++;if((k=t.charAt(T))===h){for(T++,P+=k,w="";T<A&&(k=t.charAt(T))!==g;)k===l&&(w+=k,T++,k=t.charAt(T)),w+=k,T++;if(w&&t.charAt(T)===g&&t.charAt(T+1)===v){for(E=w,P+=w+g+v,T=P.length,w="";T<A&&((k=t.charAt(T))===p||k===d||k===f);)P+=k,T++;if(k=t.charAt(T),w="",r=P,k===b){for(T++;T<A&&(k=t.charAt(T),o(k));)w+=k,T++;if((k=t.charAt(T))===o.delimiter)P+=b+w+k,T++;else{if(O)return;T-=w.length+1,w=""}}if(!w){for(;T<A&&(k=t.charAt(T),i(k));)w+=k,T++;P+=w}if(w){for(x=w,w="";T<A&&((k=t.charAt(T))===p||k===d||k===f);)w+=k,T++;if(k=t.charAt(T),S=null,k===c?S=c:k===u?S=u:k===m&&(S=y),S){if(!w)return;for(P+=w+k,T=P.length,w="";T<A&&(k=t.charAt(T))!==S;){if(k===f){if(T++,(k=t.charAt(T))===f||k===S)return;w+=f}w+=k,T++}if((k=t.charAt(T))!==S)return;a=P,P+=w+k,T++,_=w,w=""}else w="",T=P.length;for(;T<A&&((k=t.charAt(T))===p||k===d);)P+=k,T++;return k=t.charAt(T),k&&k!==f?void 0:!!n||(r=e(r).test().end,x=C.decode.raw(C.unescape(x),r),_&&(a=e(a).test().end,_=C.decode.raw(C.unescape(_),a)),e(P)({type:"definition",identifier:s(E),title:_||null,url:x}))}}}}function o(e){return e!==w&&e!==h&&e!==g}function i(e){return e!==h&&e!==g&&!a(e)}var a=n(10),s=n(74);e.exports=r,r.notInList=!0,r.notInBlock=!0;var c='"',u="'",l="\\",f="\n",p="\t",d=" ",h="[",g="]",m="(",y=")",v=":",b="<",w=">";o.delimiter=w},function(e,t,n){"use strict";function r(e,t,n){var r,b,w,k,S,E,x,_,C,O,T,A,P,L,R,D,I,M,j,N,B,F,K,q,U=this;if(U.options.gfm){for(r=0,M=0,E=t.length+1,x=[];r<E;){if(F=t.indexOf(f,r),K=t.indexOf(c,r+1),-1===F&&(F=t.length),-1===K||K>F){if(M<h)return;break}x.push(t.slice(r,F)),M++,r=F+1}for(k=x.join(f),b=x.splice(1,1)[0]||[],r=0,E=b.length,M--,w=!1,T=[];r<E;){if((C=b.charAt(r))===c){if(O=null,!1===w){if(!1===q)return}else T.push(w),w=!1;q=!1}else if(C===s)O=!0,w=w||v;else if(C===u)w=w===g?m:O&&w===v?y:g;else if(!o(C))return;r++}if(!1!==w&&T.push(w),!(T.length<d)){if(n)return!0;for(I=-1,N=[],B=e(k).reset({type:"table",align:T,children:N});++I<M;){for(j=x[I],S={type:"tableRow",children:[]},I&&e(f),e(j).reset(S,B),E=j.length+1,r=0,_="",A="",P=!0,L=null,R=null;r<E;)if((C=j.charAt(r))!==p&&C!==l){if(""===C||C===c)if(P)e(C);else{if(C&&R){_+=C,r++;continue}!A&&!C||P||(k=A,_.length>1&&(C?(k+=_.slice(0,_.length-1),_=_.charAt(_.length-1)):(k+=_,_="")),D=e.now(),e(k)({type:"tableCell",children:U.tokenizeInline(A,D)},S)),e(_+C),_="",A=""}else if(_&&(A+=_,_=""),A+=C,C===i&&r!==E-2&&(A+=j.charAt(r+1),r++),C===a){for(L=1;j.charAt(r+1)===C;)A+=C,r++,L++;R?L>=R&&(R=0):R=L}P=!1,r++}else A?_+=C:e(C),r++;I||e(f+b)}return B}}}var o=n(10);e.exports=r,r.notInList=!0;var i="\\",a="`",s="-",c="|",u=":",l=" ",f="\n",p="\t",d=1,h=2,g="left",m="center",y="right",v=null},function(e,t,n){"use strict";function r(e,t,n){for(var r,p,d,h,g,m=this,y=m.options,v=y.commonmark,b=y.gfm,w=m.blockTokenizers,k=m.interruptParagraph,S=t.indexOf(c),E=t.length;S<E;){if(-1===S){S=E;break}if(t.charAt(S+1)===c)break;if(v){for(h=0,r=S+1;r<E;){if((d=t.charAt(r))===u){h=f;break}if(d!==l)break;h++,r++}if(h>=f){S=t.indexOf(c,S+1);continue}}if(p=t.slice(S+1),s(k,w,m,[e,p,!0]))break;if(w.list.call(m,e,p,!0)&&(m.inList||v||b&&!i(o.left(p).charAt(0))))break;if(r=S,-1!==(S=t.indexOf(c,S+1))&&""===o(t.slice(r,S))){S=r;break}}return p=t.slice(0,S),""===o(p)?(e(p),null):!!n||(g=e.now(),p=a(p),e(p)({type:"paragraph",children:m.tokenizeInline(p,g)}))}var o=n(26),i=n(34),a=n(72),s=n(73);e.exports=r;var c="\n",u="\t",l=" ",f=4},function(e,t,n){"use strict";function r(e,t,n){var r,o,i=this;if("\\"===t.charAt(0)&&(r=t.charAt(1),-1!==i.escape.indexOf(r)))return!!n||(o="\n"===r?{type:"break"}:{type:"text",value:r},e("\\"+r)(o))}var o=n(537);e.exports=r,r.locator=o},function(e,t,n){"use strict";function r(e,t){return e.indexOf("\\",t)}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,i,p,d,h,g,m,y,v,b,w,k;if(t.charAt(0)===a){for(r=this,i="",p=t.length,d=0,h="",m=!1,y="",d++,i=a;d<p&&" "!==(g=t.charAt(d))&&g!==s&&g!==c&&(":"!==g||t.charAt(d+1)!==u);)h+=g,d++;if(h){if(y+=h,h="",g=t.charAt(d),y+=g,d++,g===c)m=!0;else{if(":"!==g||t.charAt(d+1)!==u)return;y+=u,d++}for(;d<p&&" "!==(g=t.charAt(d))&&g!==s;)h+=g,d++;if(g=t.charAt(d),h&&g===s)return!!n||(y+=h,b=y,i+=y+g,v=e.now(),v.column++,v.offset++,m&&(y.slice(0,f).toLowerCase()===l?(b=b.substr(f),v.column+=f,v.offset+=f):y=l+y),w=r.inlineTokenizers.escape,r.inlineTokenizers.escape=null,k=r.enterLink(),b=r.tokenizeInline(b,v),r.inlineTokenizers.escape=w,k(),e(i)({type:"link",title:null,url:o(y),children:b}))}}}var o=n(50),i=n(147);e.exports=r,r.locator=i,r.notInLink=!0;var a="<",s=">",c="@",u="/",l="mailto:",f=l.length},function(e,t,n){"use strict";function r(e,t,n){var r,a,m,y,v,b,w,k,S,E,x,_,C=this;if(C.options.gfm){for(r="",y=-1,k=g;++y<k;)if(b=h[y],w=t.slice(0,b.length),w.toLowerCase()===b){r=w;break}if(r){for(y=r.length,k=t.length,S="",E=0;y<k&&(m=t.charAt(y),!i(m)&&m!==f)&&("."!==m&&","!==m&&":"!==m&&";"!==m&&'"'!==m&&"'"!==m&&")"!==m&&"]"!==m||(x=t.charAt(y+1))&&!i(x))&&(m!==u&&m!==s||E++,m!==l&&m!==c||!(--E<0));)S+=m,y++;if(S){if(r+=S,a=r,b===d){if(-1===(v=S.indexOf(p))||v===k-1)return;a=a.substr(d.length)}return!!n||(_=C.enterLink(),a=C.tokenizeInline(a,e.now()),_(),e(r)({type:"link",title:null,url:o(r),children:a}))}}}}var o=n(50),i=n(10),a=n(540);e.exports=r,r.locator=a,r.notInLink=!0;var s="[",c="]",u="(",l=")",f="<",p="@",d="mailto:",h=["http://","https://",d],g=h.length},function(e,t,n){"use strict";function r(e,t){var n,r=o.length,i=-1,a=-1;if(!this.options.gfm)return-1;for(;++i<r;)-1!==(n=e.indexOf(o[i],t))&&(n<a||-1===a)&&(a=n);return a}e.exports=r;var o=["https://","http://","mailto:"]},function(e,t,n){"use strict";function r(e,t,n){var r,i,u=this,l=t.length;if(!("<"!==t.charAt(0)||l<3)&&(r=t.charAt(1),(o(r)||"?"===r||"!"===r||"/"===r)&&(i=t.match(a))))return!!n||(i=i[0],!u.inLink&&s.test(i)?u.inLink=!0:u.inLink&&c.test(i)&&(u.inLink=!1),e(i)({type:"html",value:i}))}var o=n(141),i=n(147),a=n(146).tag;e.exports=r,r.locator=i;var s=/^<a /i,c=/^<\/a>/i},function(e,t,n){"use strict";function r(e,t,n){var r,a,y,v,b,w,k,S,E,x,_,C,O,T,A,P,L,R,D,I=this,M="",j=0,N=t.charAt(0),B=I.options.commonmark,F=I.options.gfm;if("!"===N&&(E=!0,M=N,N=t.charAt(++j)),N===c&&(E||!I.inLink)){for(M+=N,A="",j++,C=t.length,L=e.now(),T=0,L.column+=j,L.offset+=j;j<C;){if(N=t.charAt(j),w=N,N===h){for(a=1;t.charAt(j+1)===h;)w+=N,j++,a++;y?a>=y&&(y=0):y=a}else if(N===s)j++,w+=t.charAt(j);else if(y&&!F||N!==c){if((!y||F)&&N===u){if(!T){if(F)for(;j<C&&(N=t.charAt(j+1),i(N));)w+=N,j++;if(t.charAt(j+1)!==l)return;w+=l,r=!0,j++;break}T--}}else T++;A+=w,w="",j++}if(r){for(x=A,M+=A+w,j++;j<C&&(N=t.charAt(j),i(N));)M+=N,j++;if(N=t.charAt(j),S=B?m:g,A="",v=M,N===p){for(j++,v+=p;j<C&&(N=t.charAt(j))!==d;){if(B&&"\n"===N)return;A+=N,j++}if(t.charAt(j)!==d)return;M+=p+A+d,P=A,j++}else{for(N=null,w="";j<C&&(N=t.charAt(j),!w||!o(S,N));){if(i(N)){if(B)break;w+=N}else{if(N===l)T++;else if(N===f){if(0===T)break;T--}A+=w,w="",N===s&&(A+=s,N=t.charAt(++j)),A+=N}j++}M+=A,P=A,j=M.length}for(A="";j<C&&(N=t.charAt(j),i(N));)A+=N,j++;if(N=t.charAt(j),M+=A,A&&o(S,N))if(j++,M+=N,A="",_=S[N],b=M,B){for(;j<C&&(N=t.charAt(j))!==_;)N===s&&(A+=s,N=t.charAt(++j)),j++,A+=N;if((N=t.charAt(j))!==_)return;for(O=A,M+=A+N,j++;j<C&&(N=t.charAt(j),i(N));)M+=N,j++}else for(w="";j<C;){if((N=t.charAt(j))===_)k&&(A+=_+w,w=""),k=!0;else if(k){if(N===f){M+=A+_+w,O=A;break}i(N)?w+=N:(A+=_+w+N,w="",k=!1)}else A+=N;j++}if(t.charAt(j)===f)return!!n||(M+=f,P=I.decode.raw(I.unescape(P),e(v).test().end),O&&(b=e(b).test().end,O=I.decode.raw(I.unescape(O),b)),D={type:E?"image":"link",title:O||null,url:P},E?D.alt=I.decode.raw(I.unescape(x),L)||null:(R=I.enterLink(),D.children=I.tokenizeInline(x,L),R()),e(M)(D))}}}var o=n(543),i=n(10),a=n(148);e.exports=r,r.locator=a;var s="\\",c="[",u="]",l="(",f=")",p="<",d=">",h="`",g={};g['"']='"',g["'"]="'";var m={};m['"']='"',m["'"]="'",m[l]=f},function(e,t,n){var r=n(544);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},function(e,t,n){"use strict";var r=n(545);e.exports=Function.prototype.bind||r},function(e,t,n){"use strict";var r=Array.prototype.slice,o=Object.prototype.toString;e.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==o.call(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var n,i=r.call(arguments,1),a=function(){if(this instanceof n){var o=t.apply(this,i.concat(r.call(arguments)));return Object(o)===o?o:this}return t.apply(e,i.concat(r.call(arguments)))},s=Math.max(0,t.length-i.length),c=[],u=0;u<s;u++)c.push("$"+u);if(n=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(a),t.prototype){var l=function(){};l.prototype=t.prototype,n.prototype=new l,l.prototype=null}return n}},function(e,t,n){"use strict";function r(e,t,n){var r,i,y,v,b,w,k,S,E=this,x=t.charAt(0),_=0,C=t.length,O="",T="",A=s,P=l;if("!"===x&&(A=c,T=x,x=t.charAt(++_)),x===g){for(_++,T+=x,w="",E.options.footnotes&&A===s&&t.charAt(_)===d&&(T+=d,_++,A=u),S=0;_<C;){if((x=t.charAt(_))===g)k=!0,S++;else if(x===m){if(!S)break;S--}x===h&&(w+=h,x=t.charAt(++_)),w+=x,_++}if(O=w,r=w,(x=t.charAt(_))===m){for(_++,O+=x,w="";_<C&&(x=t.charAt(_),o(x));)w+=x,_++;if((x=t.charAt(_))===g){for(i="",w+=x,_++;_<C&&(x=t.charAt(_))!==g&&x!==m;)x===h&&(i+=h,x=t.charAt(++_)),i+=x,_++;x=t.charAt(_),x===m?(P=i?p:f,w+=i+x,_++):i="",O+=w,w=""}else{if(!r)return;i=r}if(P===p||!k)return A===u&&P!==l&&(A=s,T=g+d,r=d+r),O=T+O,A===s&&E.inLink?null:!!n||(A===u&&-1!==r.indexOf(" ")?e(O)({type:"footnote",children:this.tokenizeInline(r,e.now())}):(y=e.now(),y.column+=T.length,y.offset+=T.length,i=P===p?i:r,v={type:A+"Reference",identifier:a(i)},A!==s&&A!==c||(v.referenceType=P),A===s?(b=E.enterLink(),v.children=E.tokenizeInline(r,y),b()):A===c&&(v.alt=E.decode.raw(E.unescape(r),y)||null),e(O)(v)))}}}var o=n(10),i=n(148),a=n(74);e.exports=r,r.locator=i;var s="link",c="image",u="footnote",l="shortcut",f="collapsed",p="full",d="^",h="\\",g="[",m="]"},function(e,t,n){"use strict";function r(e,t,n){var r,a,u,l,f,p,d,h=this,g=0,m=t.charAt(g);if(!(m!==s&&m!==c||t.charAt(++g)!==m||(a=h.options.pedantic,u=m,f=u+u,p=t.length,g++,l="",m="",a&&i(t.charAt(g)))))for(;g<p;){if(d=m,!((m=t.charAt(g))!==u||t.charAt(g+1)!==u||a&&i(d))&&(m=t.charAt(g+2))!==u){if(!o(l))return;return!!n||(r=e.now(),r.column+=2,r.offset+=2,e(f+l+f)({type:"strong",children:h.tokenizeInline(l,r)}))}a||"\\"!==m||(l+=m,m=t.charAt(++g)),l+=m,g++}}var o=n(26),i=n(10),a=n(548);e.exports=r,r.locator=a;var s="*",c="_"},function(e,t,n){"use strict";function r(e,t){var n=e.indexOf("**",t),r=e.indexOf("__",t);return-1===r?n:-1===n?r:r<n?r:n}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,s,l,f,p,d,h,g=this,m=0,y=t.charAt(m);if(!(y!==c&&y!==u||(s=g.options.pedantic,p=y,l=y,d=t.length,m++,f="",y="",s&&a(t.charAt(m)))))for(;m<d;){if(h=y,!((y=t.charAt(m))!==l||s&&a(h))){if((y=t.charAt(++m))!==l){if(!o(f)||h===l)return;if(!s&&l===u&&i(y)){f+=l;continue}return!!n||(r=e.now(),r.column++,r.offset++,e(p+f+l)({type:"emphasis",children:g.tokenizeInline(f,r)}))}f+=l}s||"\\"!==y||(f+=y,y=t.charAt(++m)),f+=y,m++}}var o=n(26),i=n(550),a=n(10),s=n(551);e.exports=r,r.locator=s;var c="*",u="_"},function(e,t,n){"use strict";function r(e){return i.test("number"==typeof e?o(e):e.charAt(0))}e.exports=r;var o=String.fromCharCode,i=/\w/},function(e,t,n){"use strict";function r(e,t){var n=e.indexOf("*",t),r=e.indexOf("_",t);return-1===r?n:-1===n?r:r<n?r:n}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,i,c,u=this,l="",f="",p="",d="";if(u.options.gfm&&t.charAt(0)===a&&t.charAt(1)===a&&!o(t.charAt(2)))for(r=1,i=t.length,c=e.now(),c.column+=2,c.offset+=2;++r<i;){if(!((l=t.charAt(r))!==a||f!==a||p&&o(p)))return!!n||e(s+d+s)({type:"delete",children:u.tokenizeInline(d,c)});d+=f,p=f,f=l}}var o=n(10),i=n(553);e.exports=r,r.locator=i;var a="~",s="~~"},function(e,t,n){"use strict";function r(e,t){return e.indexOf("~~",t)}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){for(var r,i,s,c,u,l,f,p,d=t.length,h=0,g="",m="";h<d&&t.charAt(h)===a;)g+=a,h++;if(g){for(u=g,c=h,g="",p=t.charAt(h),s=0;h<d;){if(l=p,p=t.charAt(h+1),l===a?(s++,m+=l):(s=0,g+=l),s&&p!==a){if(s===c){u+=g+m,f=!0;break}g+=m,m=""}h++}if(!f){if(c%2!=0)return;g=""}if(n)return!0;for(r="",i="",d=g.length,h=-1;++h<d;)l=g.charAt(h),o(l)?i+=l:(i&&(r&&(r+=i),i=""),r+=l);return e(u)({type:"inlineCode",value:r})}}var o=n(10),i=n(555);e.exports=r,r.locator=i;var a="`"},function(e,t,n){"use strict";function r(e,t){return e.indexOf("`",t)}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){for(var r,o=this,a=o.options.breaks,s=t.length,c=-1,u="";++c<s;){if("\n"===(r=t.charAt(c))){if(!a&&c<i)return;return!!n||(u+=r,e(u)({type:"break"}))}if(" "!==r)return;u+=r}}var o=n(557);e.exports=r,r.locator=o;var i=2},function(e,t,n){"use strict";function r(e,t){for(var n=e.indexOf("\n",t);n>t&&" "===e.charAt(n-1);)n--;return n}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,o,i,a,s,c,u,l,f,p,d=this;if(n)return!0;for(r=d.inlineMethods,a=r.length,o=d.inlineTokenizers,i=-1,f=t.length;++i<a;)"text"!==(l=r[i])&&o[l]&&(u=o[l].locator,u||e.file.fail("Missing locator: `"+l+"`"),-1!==(c=u.call(d,t,1))&&c<f&&(f=c));s=t.slice(0,f),p=e.now(),d.decode(s,p,function(t,n,r){e(r||t)({type:"text",value:t})})}e.exports=r},function(e,t,n){"use strict";function r(e){var t=o(a);t.prototype.options=i(t.prototype.options,this.data("settings"),e),this.Compiler=t}var o=n(136),i=n(22),a=n(560);e.exports=r,r.Compiler=a},function(e,t,n){"use strict";function r(e,t){this.inLink=!1,this.inTable=!1,this.tree=e,this.file=t,this.options=o(this.options),this.setOptions({})}var o=n(22),i=n(137);e.exports=r;var a=r.prototype;a.enterLink=i("inLink",!1),a.enterTable=i("inTable",!1),a.enterLinkReference=n(561),a.options=n(150),a.setOptions=n(562),a.compile=n(568),a.visit=n(572),a.all=n(573),a.block=n(574),a.visitOrderedItems=n(575),a.visitUnorderedItems=n(576),a.visitors={root:n(577),text:n(578),heading:n(579),paragraph:n(580),blockquote:n(581),list:n(582),listItem:n(583),inlineCode:n(584),yaml:n(585),code:n(586),html:n(587),thematicBreak:n(588),strong:n(589),emphasis:n(590),break:n(591),delete:n(592),link:n(593),linkReference:n(595),imageReference:n(597),definition:n(598),image:n(599),footnote:n(600),footnoteReference:n(601),footnoteDefinition:n(602),table:n(603),tableCell:n(605)}},function(e,t,n){"use strict";function r(e,t){var n=e.encode,r=e.escape,i=e.enterLink();return"shortcut"!==t.referenceType&&"collapsed"!==t.referenceType?i:(e.escape=o,e.encode=o,function(){e.encode=n,e.escape=r,i()})}var o=n(149);e.exports=r},function(e,t,n){"use strict";function r(e){var t,n,r=this,i=r.options;if(null==e)e={};else{if("object"!=typeof e)throw new Error("Invalid value `"+e+"` for setting `options`");e=u(e)}for(n in f)g[typeof f[n]](e,n,i[n],h[n]);return t=e.ruleRepetition,t&&t<3&&o(t,"options.ruleRepetition"),r.encode=c(String(e.entities)),r.escape=p(e),r.options=e,r}function o(e,t){throw new Error("Invalid value `"+e+"` for setting `"+t+"`")}function i(e,t,n){var r=e[t];null==r&&(r=n),"boolean"!=typeof r&&o(r,"options."+t),e[t]=r}function a(e,t,n){var r=e[t];null==r&&(r=n),isNaN(r)&&o(r,"options."+t),e[t]=r}function s(e,t,n,r){var i=e[t];null==i&&(i=n),i=String(i),i in r||o(i,"options."+t),e[t]=i}function c(e){function t(e){return l(e,n)}var n={};return"false"===e?d:("true"===e&&(n.useNamedReferences=!0),"escape"===e&&(n.escapeOnly=!0,n.useNamedReferences=!0),t)}var u=n(22),l=n(563),f=n(150),p=n(566),d=n(149);e.exports=r;var h={entities:{true:!0,false:!0,numbers:!0,escape:!0},bullet:{"*":!0,"-":!0,"+":!0},rule:{"-":!0,_:!0,"*":!0},listItemIndent:{tab:!0,mixed:!0,1:!0},emphasis:{_:!0,"*":!0},strong:{_:!0,"*":!0},fence:{"`":!0,"~":!0}},g={boolean:i,string:s,number:a}},function(e,t,n){"use strict";function r(e,t){var n=t||{},r=n.subset,o=r?c(r):y,a=n.escapeOnly,u=n.omitOptionalSemicolons;return e=e.replace(o,function(e,t,r){return i(e,r.charAt(t+1),n)}),r||a?e:e.replace(v,function(e,t,n){return s(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,n.charAt(t+2),u)}).replace(b,function(e,t,r){return i(e,r.charAt(t+1),n)})}function o(e){return r(e,{escapeOnly:!0,useNamedReferences:!0})}function i(e,t,n){var r,o,i=n.useShortestReferences,c=n.omitOptionalSemicolons;return(i||n.useNamedReferences)&&h.call(m,e)&&(r=a(m[e],t,c,n.attribute)),!i&&r||(o=s(e.charCodeAt(0),t,c)),r&&(!i||r.length<o.length)?r:o}function a(e,t,n,r){var o="&"+e;return n&&h.call(l,e)&&-1===d.indexOf(e)&&(!r||t&&"="!==t&&!p(t))?o:o+";"}function s(e,t,n){var r="&#x"+e.toString(16).toUpperCase();return n&&t&&!f(t)?r:r+";"}function c(e){return new RegExp("["+e.join("")+"]","g")}var u=n(564),l=n(138),f=n(139),p=n(140),d=n(565);e.exports=r,r.escape=o;var h={}.hasOwnProperty,g=['"',"'","<",">","&","`"],m=function(){var e,t={};for(e in u)t[u[e]]=e;return t}(),y=c(g),v=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,b=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g},function(e,t){e.exports={nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",fnof:"\u0192",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",bull:"\u2022",hellip:"\u2026",prime:"\u2032",Prime:"\u2033",oline:"\u203e",frasl:"\u2044",weierp:"\u2118",image:"\u2111",real:"\u211c",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lArr:"\u21d0",uArr:"\u21d1",rArr:"\u21d2",dArr:"\u21d3",hArr:"\u21d4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",lang:"\u2329",rang:"\u232a",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",quot:'"',amp:"&",lt:"<",gt:">",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",circ:"\u02c6",tilde:"\u02dc",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",permil:"\u2030",lsaquo:"\u2039",rsaquo:"\u203a",euro:"\u20ac"}},function(e,t){e.exports=["cent","copy","divide","gt","lt","not","para","times"]},function(e,t,n){"use strict";function r(e){function t(t,n,r){function h(e){return-1===R.indexOf(e)?g[e]:p+e}var m,y,v,b,w,k,S=this,E=e.gfm,x=e.commonmark,_=e.pedantic,C=x?[".",")"]:["."],O=r&&r.children,T=O&&O.indexOf(n),A=O&&O[T-1],P=O&&O[T+1],L=t.length,R=l(e),D=-1,I=[],M=I;for(m=A?i(A)&&/\n\s*$/.test(A.value):!r||"root"===r.type||"paragraph"===r.type;++D<L;){if(y=t.charAt(D),k=!1,"\n"===y)m=!0;else if(y===p||"`"===y||"*"===y||"["===y||"<"===y||"&"===y&&f(t.slice(D))>0||"]"===y&&S.inLink||E&&"~"===y&&"~"===t.charAt(D+1)||E&&"|"===y&&(S.inTable||o(t,D))||"_"===y&&D>0&&D<L-1&&(_||!c(t.charAt(D-1))||!c(t.charAt(D+1)))||E&&!S.inLink&&":"===y&&a(I.join("")))k=!0;else if(m)if(">"===y||"#"===y||-1!==d.indexOf(y))k=!0;else if(s(y)){for(w=D+1;w<L&&s(t.charAt(w));)w++;-1!==C.indexOf(t.charAt(w))&&((P=t.charAt(w+1))&&" "!==P&&"\t"!==P&&"\n"!==P||(I.push(t.slice(D,w)),D=w,y=t.charAt(D),k=!0))}m&&!u(y)&&(m=!1),I.push(k?h(y):y)}if(O&&i(n)){if(A&&"shortcut"===A.referenceType){for(D=-1,L=M.length;++D<L;)if(" "!==(y=M[D])&&"\t"!==y){"("!==y&&":"!==y||(M[D]=h(y));break}i(P)&&D===L&&"("===P.value.charAt(0)&&M.push(p)}E&&!S.inLink&&i(A)&&":"===t.charAt(0)&&a(A.value.slice(-6))&&(M[0]=h(":")),i(P)&&"&"===t.charAt(L-1)&&0!==f("&"+P.value)&&(M[M.length-1]=h("&")),E&&i(P)&&"~"===t.charAt(L-1)&&"~"===P.value.charAt(0)&&M.splice(M.length-1,0,p),v=i(A)&&c(A.value.slice(-1)),b=i(P)&&c(P.value.charAt(0)),1===L?"_"!==t||!_&&v&&b||M.unshift(p):("_"!==t.charAt(0)||!_&&v&&c(t.charAt(1))||M.unshift(p),"_"!==t.charAt(L-1)||!_&&b&&c(t.charAt(L-2))||M.splice(M.length-1,0,p))}return M.join("")}return t}function o(e,t){var n=e.lastIndexOf("\n",t),r=e.indexOf("\n",t);for(n=-1===n?-1:n,r=-1===r?e.length:r;++n<r;)if(-1===h.indexOf(e.charAt(n)))return!1;return!0}function i(e){return e&&"text"===e.type}function a(e){var t=e.slice(-6).toLowerCase();return"mailto"===t||"https"===t.slice(-5)||"http"===t.slice(-4)}var s=n(34),c=n(567),u=n(10),l=n(142),f=n(151);e.exports=r;var p="\\",d=["*","-","+"],h=[":","-"," ","|"],g={"<":"&lt;",":":"&#x3A;","&":"&amp;","|":"&#x7C;","~":"&#x7E;"}},function(e,t,n){"use strict";e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return!/[^0-9a-z\xDF-\xFF]/.test(e.toLowerCase())}},function(e,t,n){"use strict";function r(){return this.visit(o(this.tree,this.options.commonmark))}var o=n(569);e.exports=r},function(e,t,n){"use strict";function r(e,t){function n(e){e.children&&s(e)}function r(e,n,r){var i=r.children,a=n&&i[n-1];if(a&&e.type===a.type&&o(a,t)&&o(e,t))return e.value&&(a.value+=e.value),e.children&&(a.children=a.children.concat(e.children)),i.splice(n,1),a.position&&e.position&&(a.position.end=e.position.end),n}var s=a(r);return i(e,n),e}function o(e,t){var n,r;return"text"===e.type?!e.position||(n=e.position.start,r=e.position.end,n.line!==r.line||r.column-n.column===e.value.length):t&&"blockquote"===e.type}var i=n(144),a=n(570);e.exports=r},function(e,t,n){"use strict";function r(e){return o(i(e))}function o(e){function t(t){var n=t&&t.children;if(!n)throw new Error("Missing children in `parent` for `modifier`");return a(n,e,t)}return t}function i(e){function t(t,n){return e(t,n,this)}return t}var a=n(571);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,i=-1;if(!e)throw new Error("Iterate requires that |this| not be "+e);if(!o.call(e,"length"))throw new Error("Iterate requires that |this| has a `length`");if("function"!=typeof t)throw new Error("`callback` must be a function");for(;++i<e.length;)i in e&&"number"==typeof(r=t.call(n,e[i],i,e))&&(r<0&&(i=0),i=r-1)}e.exports=r;var o={}.hasOwnProperty},function(e,t,n){"use strict";function r(e,t){var n=this,r=n.visitors;return"function"!=typeof r[e.type]&&n.file.fail(new Error("Missing compiler for node of type `"+e.type+"`: `"+e+"`"),e),r[e.type].call(n,e,t)}e.exports=r},function(e,t,n){"use strict";function r(e){for(var t=this,n=e.children,r=n.length,o=[],i=-1;++i<r;)o[i]=t.visit(n[i],e);return o}e.exports=r},function(e,t,n){"use strict";function r(e){for(var t,n,r=this,o=[],i=e.children,a=i.length,s=-1;++s<a;)t=i[s],n&&(t.type===n.type&&"list"===n.type?o.push(n.ordered===t.ordered?"\n\n\n":"\n\n"):"list"!==n.type||"code"!==t.type||t.lang?o.push("\n\n"):o.push("\n\n\n")),o.push(r.visit(t,e)),n=t;return o.join("")}e.exports=r},function(e,t,n){"use strict";function r(e){for(var t,n=this,r=n.visitors.listItem,o=n.options.incrementListMarker,i=[],a=e.start,s=e.children,c=s.length,u=-1;++u<c;)t=(o?a+u:a)+".",i[u]=r.call(n,s[u],e,u,t);return i.join("\n")}e.exports=r},function(e,t,n){"use strict";function r(e){for(var t=this,n=t.options.bullet,r=t.visitors.listItem,o=e.children,i=o.length,a=-1,s=[];++a<i;)s[a]=r.call(t,o[a],e,a,n);return s.join("\n")}e.exports=r},function(e,t,n){"use strict";function r(e){return this.block(e)+"\n"}e.exports=r},function(e,t,n){"use strict";function r(e,t){return this.encode(this.escape(e.value,e,t),e)}e.exports=r},function(e,t,n){"use strict";function r(e){var t,n=this,r=e.depth,i=n.options.setext,a=n.options.closeAtx,s=n.all(e).join("");return i&&r<3?s+"\n"+o(1===r?"=":"-",s.length):(t=o("#",e.depth))+" "+s+(a?" "+t:"")}var o=n(11);e.exports=r},function(e,t,n){"use strict";function r(e){return this.all(e).join("")}e.exports=r},function(e,t,n){"use strict";function r(e){for(var t,n=this.block(e).split("\n"),r=[],o=n.length,i=-1;++i<o;)t=n[i],r[i]=(t?" ":"")+t;return">"+r.join("\n>")}e.exports=r},function(e,t,n){"use strict";function r(e){return this[o[e.ordered]](e)}e.exports=r;var o={true:"visitOrderedItems",false:"visitUnorderedItems"}},function(e,t,n){"use strict";function r(e,t,n,r){for(var s,c,u,l=this,f=l.options.listItemIndent,p=e.loose,d=e.children,h=d.length,g=[],m=-1;++m<h;)g[m]=l.visit(d[m],e);return s=a[e.checked]+g.join(p?"\n\n":"\n"),"1"===f||"mixed"===f&&-1===s.indexOf("\n")?(c=r.length+1,u=" "):(c=4*Math.ceil((r.length+1)/4),u=o(" ",c-r.length)),s=r+u+i(s,c/4).slice(c),p&&t.children.length-1!==n&&(s+="\n"),s}var o=n(11),i=n(152);e.exports=r;var a={undefined:"",null:"",true:"[x] ",false:"[ ] "}},function(e,t,n){"use strict";function r(e){var t=e.value,n=i("`",o(t,"`")+1),r=n,a=n;return"`"===t.charAt(0)&&(r+=" "),"`"===t.charAt(t.length-1)&&(a=" "+a),r+t+a}var o=n(153),i=n(11);e.exports=r},function(e,t,n){"use strict";function r(e){var t=o("-",3);return t+(e.value?"\n"+e.value:"")+"\n"+t}var o=n(11);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n,r=this,c=e.value,u=r.options,l=u.fence,f=r.encode(e.lang||"",e);return f||u.fences||!c?(n=o(c,l)+1,s.test(c)&&(c=a(c,1)),(n=i(l,Math.max(n,3)))+f+"\n"+c+"\n"+n):(t&&"listItem"===t.type&&"tab"!==u.listItemIndent&&u.pedantic&&r.file.fail("Cannot indent code properly. See http://git.io/vgFvT",e.position),a(c,1))}var o=n(153),i=n(11),a=n(152);e.exports=r;var s=/([`~])\1{2}/},function(e,t,n){"use strict";function r(e){return e.value}e.exports=r},function(e,t,n){"use strict";function r(){var e=this.options,t=o(e.rule,e.ruleRepetition);return e.ruleSpaces?t.split("").join(" "):t}var o=n(11);e.exports=r},function(e,t,n){"use strict";function r(e){var t=o(this.options.strong,2);return t+this.all(e).join("")+t}var o=n(11);e.exports=r},function(e,t,n){"use strict";function r(e){var t=this.options.emphasis;return t+this.all(e).join("")+t}e.exports=r},function(e,t,n){"use strict";function r(){return o[this.options.commonmark]}e.exports=r;var o={true:"\\\n",false:" \n"}},function(e,t,n){"use strict";function r(e){return"~~"+this.all(e).join("")+"~~"}e.exports=r},function(e,t,n){"use strict";function r(e){var t=this,n=t.encode(e.url||"",e),r=t.enterLink(),s=t.encode(t.escape(e.url||"",e)),c=t.all(e).join("");return r(),null!=e.title||!a.test(n)||s!==c&&s!=="mailto:"+c?(n=o(n),e.title&&(n+=" "+i(t.encode(t.escape(e.title,e),e))),"["+c+"]("+n+")"):o(t.encode(e.url),!0)}var o=n(75),i=n(76);e.exports=r;var a=/^[a-z][a-z+.-]+:\/?/i},function(e,t,n){"use strict";function r(e,t){var n,r=0;if(e=String(e),"string"!=typeof t||1!==t.length)throw new Error("Expected character");for(n=e.indexOf(t);-1!==n;)r++,n=e.indexOf(t,n+1);return r}e.exports=r},function(e,t,n){"use strict";function r(e){var t=this,n=e.referenceType,r=t.enterLinkReference(t,e),a=t.all(e).join("");return r(),"shortcut"!==n&&"collapsed"!==n||(a=o(a,e.identifier)),"["+a+"]"+i(e)}var o=n(596),i=n(154);e.exports=r},function(e,t,n){"use strict";function r(e,t){for(var n,r=e.length,a=t.length,s=[],c=0,u=0;u<r;){for(n=u;u<r&&!i.test(e.charAt(u));)u+=1;for(s.push(e.slice(n,u));c<a&&!i.test(t.charAt(c));)c+=1;for(n=c;c<a&&i.test(t.charAt(c));)"&"===t.charAt(c)&&(c+=o(t.slice(c))),c+=1;for(s.push(t.slice(n,c));u<r&&i.test(e.charAt(u));)u+=1}return s.join("")}var o=n(151);e.exports=r;var i=/[-!"#$%&'()*+,.\/:;<=>?@[\\\]^`{|}~_]/},function(e,t,n){"use strict";function r(e){return"!["+(this.encode(e.alt,e)||"")+"]"+o(e)}var o=n(154);e.exports=r},function(e,t,n){"use strict";function r(e){var t=o(e.url);return e.title&&(t+=" "+i(e.title)),"["+e.identifier+"]: "+t}var o=n(75),i=n(76);e.exports=r},function(e,t,n){"use strict";function r(e){var t=this,n=o(t.encode(e.url||"",e)),r=t.enterLink(),a=t.encode(t.escape(e.alt||"",e));return r(),e.title&&(n+=" "+i(t.encode(e.title,e))),"!["+a+"]("+n+")"}var o=n(75),i=n(76);e.exports=r},function(e,t,n){"use strict";function r(e){return"[^"+this.all(e).join("")+"]"}e.exports=r},function(e,t,n){"use strict";function r(e){return"[^"+e.identifier+"]"}e.exports=r},function(e,t,n){"use strict";function r(e){return"[^"+e.identifier.toLowerCase()+"]: "+this.all(e).join("\n\n"+o(" ",4))}var o=n(11);e.exports=r},function(e,t,n){"use strict";function r(e){for(var t,n,r=this,i=r.options.looseTable,a=r.options.spacedTable,s=r.options.paddedTable,c=e.children,u=c.length,l=r.enterTable(),f=[];u--;)f[u]=r.all(c[u]);return l(),i?(t="",n=""):a?(t="| ",n=" |"):(t="|",n="|"),o(f,{align:e.align,pad:s,start:t,end:n,delimiter:a?" | ":"|"})}var o=n(604);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n,r,u,S,E,x,_,C,O,T,A,P,L=t||{},R=L.delimiter,D=L.start,I=L.end,M=L.align,j=L.stringLength||i,N=0,B=-1,F=e.length,K=[];for(M=M?M.concat():[],null!==R&&void 0!==R||(R=w+b+w),null!==D&&void 0!==D||(D=b+w),null!==I&&void 0!==I||(I=w+b);++B<F;)for(S=e[B],x=-1,S.length>N&&(N=S.length);++x<N;)_=S[x]?s(S[x]):null,K[x]||(K[x]=m),_>K[x]&&(K[x]=_);for("string"==typeof M&&(M=a(N,M).split("")),x=-1;++x<N;)n=M[x],"string"==typeof n&&(n=n.charAt(0).toLowerCase()),-1===g.indexOf(n)&&(n=h),M[x]=n;for(B=-1,u=[];++B<F;){for(S=e[B],x=-1,E=[];++x<N;)O=S[x],O=o(O),M[x]===d?(_=s(O),C=K[x]+(c.test(O)?0:1)-(j(O)-_),E[x]=O+a(C-1)):E[x]=O;u[B]=E}for(K=[],B=-1;++B<F;)for(E=u[B],x=-1;++x<N;)O=E[x],K[x]||(K[x]=m),(C=j(O))>K[x]&&(K[x]=C);for(B=-1;++B<F;){if(E=u[B],x=-1,!1!==L.pad)for(;++x<N;)O=E[x],_=K[x]-(j(O)||0),T=a(_),M[x]===f||M[x]===d?O=T+O:M[x]===p?(_/=2,_%1==0?(A=_,P=_):(A=_+.5,P=_-.5),O=a(A)+O+a(P)):O+=T,E[x]=O;u[B]=E.join(R)}if(!1!==L.rule){for(x=-1,r=[];++x<N;)!1===L.pad?(O=e[0][x],T=j(o(O)),T=T>m?T:m):T=K[x],n=M[x],O=n===f||n===h?v:y,O+=a(T-2,v),O+=n!==l&&n!==h?y:v,r[x]=O;u.splice(1,0,r.join(R))}return D+u.join(I+k+D)+I}function o(e){return null===e||void 0===e?"":String(e)}function i(e){return String(e).length}function a(e,t){return Array(e+1).join(t||w)}function s(e){var t=u.exec(e);return t?t.index+1:e.length}e.exports=r;var c=/\./,u=/\.[^.]*$/,l="l",f="r",p="c",d=".",h="",g=[l,f,p,d,h],m=3,y=":",v="-",b="|",w=" ",k="\n"},function(e,t,n){"use strict";function r(e){return this.all(e).join("")}e.exports=r},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,t=f({},d,e),n=t.theme,r=t.findScrollParent,a=Object(l.a)(),s=function(e){return e&&"atomic"===e.getType()&&a.contains(e.getKey())},c=void 0,g=void 0;return{name:"focus",handleChange:function(e){var t=e.getCurrentContent();if(!t.equals(c))return c=t,e;c=t;var n=e.getSelection();if(g&&n.equals(g))return g=n,e;if(g){if(Object(i.p)(t,g).some(function(e){return a.contains(e)}))return g=n,o.EditorState.forceSelection(e,n)}return Object(i.p)(t,n).some(function(e){return a.contains(e)})?(g=n,o.EditorState.forceSelection(e,n)):e},handleCommand:function(e,t,n){var r=e.getEditorState(),o=r.getCurrentContent(),a=r.getSelection();if(a.getAnchorKey()!==a.getFocusKey())return"not-handled";var c=a.getAnchorKey(),u=o.getBlockForKey(c),l=o.getBlockBefore(c),f=o.getBlockAfter(c),d=h(t,r,n);if(d&&s(u)){p("atomic focus to "+d);var g="prev"===d?l:f;return g&&"table"!==g.getType()?Object(i.N)(e,d,n)?"handled":"not-handled":"next"!==d||f?"not-handled":(e.setEditorState(Object(i.z)(r,c,"after")),"handled")}return"next"===d&&s(f)||"prev"===d&&s(l)?(p("atomic focus from "+d),Object(i.N)(e,d,n)?"handled":"not-handled"):"backspace"!==t&&"delete"!==t||!s(u)?"not-handled":(Object(i.L)(e,u,"delete"===t?"backward":"foward"),"handled")},decoratePlugin:function(e){return Object(u.a)(e,{keyStore:a,theme:n,findScrollParent:r})}}}t.a=r;var o=n(1),i=(n.n(o),n(2)),a=n(3),s=(n.n(a),n(20)),c=n.n(s),u=n(607),l=n(610),f=Object.assign||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},p=c()("atomic-block"),d={theme:{focused:"atomic-focused",focusable:"atomic-focusable"},findScrollParent:null},h=function(e,t,n){if(n&&n.shiftKey)return null;var r=Object(i.v)(t),o=r.isAtStartOfBlock,a=r.isAtEndOfBlock,s=r.block;return"arrow-up"===e||"arrow-left"===e&&o?"prev":"arrow-down"===e||"arrow-right"===e&&(a||s&&"atomic"===s.getType())?"next":void 0}},function(e,t,n){"use strict";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,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){var n=t.keyStore,r=t.theme,o=t.findScrollParent;if(!e.getBlockRenderInfo)return e;var i=function(e){return e._Decorated||(e._Decorated=E(e,r,o))};return w({},e,{getBlockRenderInfo:function(t,r,o){var a=e.getBlockRenderInfo(t,r,o);if(!a)return a;var s=a.component,c=a.editable,u=a.props;return{component:i(s),editable:c,props:w({obtainFocusInfo:function(){return Object(m.a)(t,r)},onRemove:function(e){Object(b.L)(r,t),e&&e.stopPropagation&&e.stopPropagation()},focusableKeyStore:n},u)}}})}t.a=s;var c=n(608),u=(n.n(c),n(0)),l=n.n(u),f=n(4),p=n.n(f),d=n(14),h=(n.n(d),n(48)),g=n(3),m=(n.n(g),n(609)),y=n(20),v=n.n(y),b=n(2),w=Object.assign||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},k=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),S=v()("focus-plugin"),E=function(e,t,n){var s,c;return(n?h.b:function(){return function(e){return e}})({scroll:!0,resize:!0,placeholder:l.a.createElement("span",{className:"lazy-atomic-holder"}),findScrollParent:n})((c=s=function(n){function s(){return o(this,s),i(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}return a(s,n),k(s,[{key:"render",value:function(){var n=this.props,o=n.block,i=n.blockProps,a=i.obtainFocusInfo,s=a(),c=s.focused,u=s.onFocus;return l.a.createElement("div",{key:o.getKey(),className:p()(t.focusable,e.wrapperClassName,r({},t.focused,c)),onClick:function(e){return u()}},l.a.createElement(e,this.props))}},{key:"componentWillMount",value:function(){var e=this.props,t=e.blockProps,n=e.block,r=t.focusableKeyStore;r.add(n.getKey()),S("[Focus Block Added]",n.getKey(),r.size)}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.blockProps,n=e.block,r=t.focusableKeyStore;r.remove(n.getKey()),S("[Focus Block Removed]",n.getKey(),r.size)}}]),s}(l.a.Component),s.wrapperClassName=e.wrapperClassName,s.displayName="Focusable("+(e.displayName||e.name||"Component")+")",c))}},function(e,t){},function(e,t,n){"use strict";function r(e,t){return{focused:Object(i.t)(t.getEditorState()).contains(e),onFocus:function(){var n=t.getEditorState(),r=o.SelectionState.createEmpty(e.getKey()).merge({anchorOffset:0,focusOffset:e.getLength()});t.setEditorState(o.EditorState.set(n,{selection:r})),window.getSelection().removeAllRanges()}}}t.a=r;var o=n(1),i=(n.n(o),n(2))},function(e,t,n){"use strict";function r(){var e=i.a.Set();return{add:function(t){e=e.add(t)},remove:function(t){e=e.remove(t)},contains:function(t){return e.contains(t)},get size(){return e.size}}}t.a=r;var o=n(3),i=n.n(o)},function(e,t,n){"use strict";var r=n(612);n.d(t,"a",function(){return r.a});var o=n(613);n.d(t,"b",function(){return o.a});var i=n(614);n.d(t,"c",function(){return i.a});var a=n(615);n.d(t,"d",function(){return a.a})},function(e,t,n){"use strict";function r(e){var t=e.blockProps,n=t.entityData,r=(t.onRemove,n.name),o=n.url;return i.a.createElement(s.a,{name:r,url:o,title:"\u6309\u4f4f "+c.J+" \u70b9\u51fb\u6253\u5f00\u9644\u4ef6\u8fde\u63a5",onClick:function(e){e.preventDefault(),(e.metaKey||e.ctrlKey)&&window.open(o,"_blank")}})}t.a=r;var o=n(0),i=n.n(o),a=n(4),s=(n.n(a),n(157)),c=n(2)},function(e,t,n){"use strict";function r(e){var t=e.blockProps,n=t.entityData;t.onRemove,n.name,n.base,n.images;return i.a.createElement(s.a,n)}t.a=r;var o=n(0),i=n.n(o),a=n(4),s=(n.n(a),n(158))},function(e,t,n){"use strict";function r(e){var t=e.type,n=e.theme,r=e.store,o=e.onInsert,a="root"!==r.getEditorEnviorment(),u=c[t],l=u.title,f=u.accept;return i.a.createElement(s.a,{theme:n,disabled:a,accept:f,icon:t,title:l,onSelect:o})}t.a=r;var o=n(0),i=n.n(o),a=n(4),s=(n.n(a),n(68)),c={word:{title:"\u5bfc\u5165 Word \u6587\u6863",accept:".doc, .docx"},ppt:{title:"\u5bfc\u5165 PowerPoint \u6587\u6863",accept:".ppt, .pptx"},attachment:{title:"\u5bfc\u5165\u9644\u4ef6",accept:".pdf, .zip, .rar"}}},function(e,t,n){"use strict";function r(e){var t=e.blockProps,n=t.entityData,r=t.onRemove,c=n.name,l=n.type,p=(n.icon,n.error),d=n.started,h=n.page,g=n.pageCount,m=n.progress;n.done;return u.a.createElement("div",{className:f()("import-progress-block",{error:p})},u.a.createElement("div",{className:"import-info"},u.a.createElement("div",{className:"file"},u.a.createElement("i",{className:"icon-"+l+"-file"}),u.a.createElement("span",{className:"file-name"},c)),u.a.createElement("div",{className:"progress-text"},p?u.a.createElement(s,{error:p}):h||g?u.a.createElement(o,{page:h,pageCount:g}):i(m)),u.a.createElement(a,{started:d,page:h,pageCount:g,progress:m})),u.a.createElement("a",{className:"cancel-button",onClick:r,title:"\u53d6\u6d88"},"\u53d6\u6d88"))}function o(e){var t=e.page,n=e.pageCount;return u.a.createElement("span",null,"\u6b63\u5728\u5bfc\u5165",t&&"\u7b2c "+t+" \u9875",n&&"\uff0c\u5171 "+n+" \u9875","...")}function i(e){return e?"\u6b63\u5728\u5bfc\u5165 ("+(e=Math.floor(100*e))+"%)...":"\u6b63\u5728\u5bfc\u5165..."}function a(e){var t=e.started,n=e.page,r=e.pageCount,o=e.progress;return o||(o=.001,t&&(o+=.049),n&&(o+=.05),o+=r?.9*n/r:0),u.a.createElement("div",{className:f()("progress-bar")},u.a.createElement("div",{className:"progress-indicator",style:{transform:o?"scale3d("+o+", 1, 1)":null}}))}function s(e){var t=e.error;if(!t)return null;if("SizeLimitExcceed"===t.type){var n=function(e){return Math.floor(e/102.4/1024)/10+"M"};return u.a.createElement("span",{className:"error"},"\u6587\u4ef6\u5c3a\u5bf8\uff08",n(t.size),"\uff09\u8d85\u8fc7\u6700\u5927\u9650\u5236\uff08",n(t.maxSize),"\uff09")}return"ConvertError"===t.type?u.a.createElement("span",{className:"error"},"\u8f6c\u6362\u5931\u8d25\uff1a",t.detail):u.a.createElement("span",{className:"error"},"\u9519\u8bef\uff1a",t.type)}t.a=r;var c=n(0),u=n.n(c),l=n(4),f=n.n(l)},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,i){try{var a=t[o](i),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}return r("next")})}}n.d(t,"a",function(){return c});var o=n(1),i=(n.n(o),n(2)),a=n(617),s=(n(159),n(618)),c=function(){var e=r(regeneratorRuntime.mark(function e(t){var n,r,o,c,u,l,f,p,d,h,g,m,y,v,b,w,k,S,E,x,_,C,O,T;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.store,r=t.file,o=t.fileType,c=t.selection,u=t.maxFileSize,l=t.createImportTask,f=Object(a.a)(n,r.name,o,c),p=f.entityKey,d=f.block,h=n.getEditorState,g=n.setEditorState,e.next=5,new Promise(function(e){return setTimeout(e,1)});case 5:if(m=function(e){var t=n.getEditorState().getCurrentContent(),r=t.getBlockForKey(d.getKey());if(!r||!r.getEntityAt(0))throw{canceled:!0};Object(i.R)({entityKey:p,getEditorState:h,setEditorState:g,update:e})},!(r.size>u)){e.next=9;break}return m({error:{type:"SizeLimitExcceed",size:r.size,maxSize:u}}),e.abrupt("return");case 9:return m({started:!0}),e.prev=10,e.next=13,l(r,o);case 13:if(y=e.sent,v=y.paged,b=y.query,w=Object(s.a)(r.name,o),!v){e.next=40;break}return k=1,S=1,m({page:k}),e.next=22,b({page:k});case 22:E=e.sent,k=2,S=E.pageCount,m({pageCount:S}),w.next(E),x=Array.from(Array(S-1)).map(function(e,t){return function(){return b({page:t+2})}}),_=Object(i.b)(x,5);case 29:if(!(k<=S)){e.next=38;break}return m({page:k}),e.next=33,_.next();case 33:C=e.sent,w.next(C),k++,e.next=29;break;case 38:e.next=50;break;case 40:O=0;case 41:if(!(O<1)){e.next=50;break}return e.next=44,b();case 44:T=e.sent,O=T.progress,m({progress:O}),w.next(T),e.next=41;break;case 50:w.execute(n,d),m({done:!0}),e.next=60;break;case 54:if(e.prev=54,e.t0=e.catch(10),!e.t0.canceled){e.next=58;break}return e.abrupt("return");case 58:m({converting:!1,error:{type:"ConvertError",detail:e.t0.msg||e.t0.message}}),console.error(e.t0);case 60:case"end":return e.stop()}},e,this,[[10,54]])}));return function(t){return e.apply(this,arguments)}}()},function(e,t,n){"use strict";function r(e,t,n,r){var i=e.getEditorState,a=e.setEditorState,s=i(),c=s.getCurrentContent(),u=c.createEntity("IMPORT","IMMUTABLE",{name:t,type:n}),l=u.getLastCreatedEntityKey(),f=o.AtomicBlockUtils.insertAtomicBlock(o.EditorState.set(s,{currentContent:u,selection:r}),l,"["+t+"]");return a(f),{entityKey:l,block:f.getCurrentContent().getBlockAfter(r.getFocusKey())}}t.a=r;var o=n(1);n.n(o)},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,i){try{var a=t[o](i),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}return r("next")})}}function o(e,t){switch(t){case"word":return i();case"ppt":return a(e);case"pdf":case"zip":return s(e)}}function i(){var e="";return{next:function(t){return e+=Object(f.a)(t.pageHtml)},execute:function(t,n){var r=new u.SelectionState({anchorKey:n.getKey(),anchorOffset:0,focusKey:n.getKey(),focusOffset:n.getLength()});Object(l.B)(t,r,e)}}}function a(e){var t=[];return{next:function(e){return t.push(e.pageImage)},execute:function(){function n(e,t){return o.apply(this,arguments)}var o=r(regeneratorRuntime.mark(function n(r,o){var i,a;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(t.length){n.next=2;break}return n.abrupt("return");case 2:i=Object(l.l)(t),t=t.map(function(e){return e.slice(i.length)}),a={name:e,base:i,images:t},c(r,o,e,"GALLERY",a);case 6:case"end":return n.stop()}},n,this)}));return n}()}}function s(e){var t=null;return{next:function(e){return t=t||e.url},execute:function(n,r){t&&c(n,r,e,"ATTACHMENT",{name:e,url:t})}}}function c(e,t,n,r,o){var i=new u.SelectionState({anchorKey:t.getKey(),anchorOffset:0,focusKey:t.getKey(),focusOffset:t.getLength()}),a=e.getEditorState(),s=a.getCurrentContent().createEntity(r,"IMMUTABLE",o),c=s.getLastCreatedEntityKey();e.setEditorState(u.AtomicBlockUtils.insertAtomicBlock(u.EditorState.set(a,{currentContent:u.Modifier.setBlockType(u.Modifier.removeRange(s,i,"forward"),i,"unstyled"),selection:i}),c,n))}t.a=o;var u=n(1),l=(n.n(u),n(2)),f=n(159)},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=c({},u,e),n=t.entityTypes;return{name:"title",decoratePlugin:function(e){return Object(s.a)(e,n)}}}t.a=r;var o=n(20),i=n.n(o),a=n(1),s=(n.n(a),n(620)),c=Object.assign||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},u=(i()("title-plugin"),{entityTypes:["IMAGE","GALLERY","VIDEO"]})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e,t){if(!e.getBlockRenderInfo)return e;var n=function(e){return e._Decorated=e._Decorated||s(e)};return y({},e,{getBlockRenderInfo:function(r,o,i){var a=e.getBlockRenderInfo(r,o,i);if(!a)return a;var s=a.component,c=a.editable,u=a.props;return t.find(function(e){return e===u.entityType})?{component:n(s),editable:c,props:u}:a}})}function s(e){var t,n;return n=t=function(t){function n(){var e,t,i,a;r(this,n);for(var s=arguments.length,c=Array(s),u=0;u<s;u++)c[u]=arguments[u];return t=i=o(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(c))),i.state={editing:!1},i.handleChange=function(e){e.stopPropagation(),i.setState({title:e.target.value})},i.handleBlur=function(e){e.stopPropagation()},i.handleKeydown=function(e){e.stopPropagation()},a=t,o(i,a)}return i(n,t),m(n,[{key:"render",value:function(){var t=this,n=this.props,r=n.block,o=n.blockProps,i=(o.entityType,o.entityData),a=this.state.title||i.name;return f.a.createElement("div",{ref:function(e){return t.dom=e},key:r.getKey(),className:d()("atomic-with-title",e.wrapperClassName,{placeholder:!a})},f.a.createElement(e,this.props),f.a.createElement("figcaption",{onClick:function(e){return t.startEdit()}},a||"\u6dfb\u52a0\u63cf\u8ff0"),this.state.editing&&f.a.createElement("input",{autoFocus:!0,type:"text",value:a||"",onChange:this.handleChange,onBlur:this.handleBlur,onKeyDown:this.handleKeydown,onInput:function(e){return e.stopPropagation()},onFocus:function(e){return e.stopPropagation()},onSelect:function(e){return e.stopPropagation()},onMouseDown:function(e){return e.stopPropagation()}}))}},{key:"startEdit",value:function(){var e=this.props.blockProps,t=e.entityKey,n=e.entityData,r=e.store,o=this.dom.querySelector("figcaption"),i=document.createElement("input"),a=this.findEditorContainer(),s=a.getBoundingClientRect(),c=o.getBoundingClientRect();i.value=n.name||"",i.style.position="absolute",i.style.left=c.left-s.left+"px",i.style.top=c.top-s.top+"px",i.style.width=c.width+"px",i.style.height=c.height+"px",i.style.lineHeight=c.height+"px",i.style.padding=0,i.style.zIndex=1,i.style.boxSizing="border-box",i.style.textAlign="center",i.style.outline="none",i.style.fontSize="14px",i.style.color="#666",i.style.border="none",i.style.fontFamily="'pingfang SC','helvetica neue',arial,'hiragino sans gb','microsoft yahei ui','microsoft yahei',simsun,sans-serif";var u=function(e){null!==e&&Object(g.R)(y({},r,{entityKey:t,update:{name:e}})),setTimeout(function(){return i.parentNode&&i.parentNode.removeChild(i)})},l=function(){return u(i.value||"")},f=function(){return u(null)};i.addEventListener("blur",l),i.addEventListener("keydown",function(e){13===e.keyCode&&l(),27===e.keyCode&&f()}),a.appendChild(i),setTimeout(function(){i.select(),i.focus()},1)}},{key:"findEditorContainer",value:function(){for(var e=this.dom;!e.classList.contains("qa-r-editor-container");)e=e.parentElement;return e}}]),n}(f.a.Component),t.wrapperClassName=e.wrapperClassName,t.displayName="WithTitle("+(e.displayName||e.name||"Component")+")",n}t.a=a;var c=n(20),u=n.n(c),l=n(0),f=n.n(l),p=n(4),d=n.n(p),h=n(14),g=(n.n(h),n(2)),m=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),y=Object.assign||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};u()("title-plugin")},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;return e=l({},f,e),{name:"video",getToolbarButtons:function(t){if("root"!==t.env)return null;var n=t.store.getEditorState();return"code-block"===u.RichUtils.getCurrentBlockType(n)?null:Object(i.a)(p,e.buttons,t)},getToolbarWidgets:function(e){var t=e.store;return[{key:"video-bar",component:s.a,props:{onInsert:function(e){var n=e.videoPlatform,r=e.videoId;Object(o.E)(t,{videoId:r,videoPlatform:n})}}}]},getBlockRenderInfo:function(t,n){var r=Object(o.o)(t,n);if(r&&"VIDEO"===r.entityType)return{component:c.a,editable:!1,props:l({},r,{store:n,videoWidth:e.videoWidth,videoHeight:e.videoHeight})}}}}t.a=r;var o=n(2),i=n(15),a=n(622),s=n(623),c=n(624),u=n(1),l=(n.n(u),Object.assign||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}),f={buttons:["video"]},p={video:a.a}},function(e,t,n){"use strict";function r(e){var t=e.theme,n=e.store,r=e.getWidget,o=(n.getEditorState(),function(e){var t=r("video-bar"),n=e.target,o=Math.floor(n.offsetLeft+n.clientWidth/2);t.getInstance().open(o)});return i.a.createElement("div",{className:t.buttonWrapper,onClick:function(e){return e.stopPropagation()},title:"\u63d2\u5165\u89c6\u9891"},i.a.createElement("button",{className:t.button,onClick:o},i.a.createElement("i",{className:"qa-ico-video"},"V")))}t.a=r;var o=n(0),i=n.n(o)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return m});var a,s=n(0),c=n.n(s),u=n(4),l=n.n(u),f=n(21),p=(n.n(f),n(120)),d=n(2),h=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),g=/^https?:\/\/v\.qq\.com\/[\w\/]+\/(\w{11})\.html$/,m=Object(p.a)(a=function(e){function t(){var e,n,i,a;r(this,t);for(var s=arguments.length,c=Array(s),u=0;u<s;u++)c[u]=arguments[u];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),i.state={actived:!1,videoUrl:"",videoPlatform:null,videoId:null,showValidationError:!1,validationError:null,buttonPosition:"50%"},i.inputElement=null,i.update=function(e){var t=e.target.value,n=null,r=null,o=null;if(Object(d.I)(t)||(n="\u8bf7\u8f93\u5165\u5408\u6cd5\u7684\u89c6\u9891\u8fde\u63a5\u5730\u5740"),n||/^https?\:\/\//.test(t)||(t="https://"+t),!n){g.test(t.split("?").shift())?(r="qq",o=RegExp.$1):n="\u76ee\u524d\u4ec5\u652f\u6301\u63d2\u5165\u817e\u8baf\u89c6\u9891\u5185\u5bb9"}i.setState({videoUrl:t,validationError:n,videoPlatform:r,videoId:o})},i.handleKeyDown=function(e){13===e.keyCode?(e.stopPropagation(),e.preventDefault(),i.save()):27===e.keyCode&&(e.stopPropagation(),e.preventDefault(),i.dismiss())},i.open=function(e){i.setState({actived:!0,videoUrl:"",buttonPosition:e},function(){i.inputElement&&i.inputElement.select()})},i.save=function(){var e=i.state,t=(e.actived,e.validationError),n=e.videoPlatform,r=e.videoId;t?i.setState({showValidationError:!0},function(){i.inputElement&&i.inputElement.select()}):(i.props.onInsert({videoPlatform:n,videoId:r}),i.dismiss())},i.dismiss=function(){i.setState({actived:!1,showValidationError:!1})},i.handleClickOutside=function(){return i.dismiss()},a=n,o(i,a)}return i(t,e),h(t,[{key:"render",value:function(){return c.a.createElement(f.CSSTransitionGroup,d.P.slide({enterPosition:{x:0,y:10}}),this.renderContent())}},{key:"renderContent",value:function(){var e=this,t=this.state,n=t.actived,r=t.videoUrl,o=t.validationError,i=t.showValidationError,a=t.buttonPosition;return n?c.a.createElement("div",{className:"qa-r-editor-bubble",onClick:function(e){return e.stopPropagation()},onMouseDown:function(e){return e.stopPropagation()}},c.a.createElement("div",{className:"qa-r-editor-bubble-inner",style:{left:a}},c.a.createElement("input",{ref:function(t){return e.inputElement=t},className:l()("qa-r-editor-bubble-input",{error:i&&o}),type:"url",value:r||"",onChange:this.update,placeholder:"\u817e\u8baf\u89c6\u9891\u64ad\u653e\u5730\u5740",onInput:function(e){return e.stopPropagation()},onKeyDown:this.handleKeyDown,onKeyUp:function(e){return e.stopPropagation()}}),c.a.createElement("div",{className:"qa-r-editor-bubble-btns"},c.a.createElement("button",{className:"qa-r-editor-bubble-btn",onClick:this.save},"\u63d2\u5165"),c.a.createElement("button",{className:"qa-r-editor-bubble-btn qa-r-editor-bubble-btn-weak",onClick:this.dismiss},"\u53d6\u6d88")),i&&!r&&c.a.createElement("div",{className:"qa-r-editor-bubble-tip error"},"\u8bf7\u8f93\u5165\u89c6\u9891\u5730\u5740"),i&&r&&o&&c.a.createElement("div",{className:"qa-r-editor-bubble-tip error"},o))):null}}]),t}(s.Component))||a},function(e,t,n){"use strict";function r(e){var t=e.blockProps,n=t.entityData,r=t.videoWidth,o=t.videoHeight;return i.a.createElement(a.a,s({},n,{width:r,height:o}))}t.a=r;var o=n(0),i=n.n(o),a=n(160),s=Object.assign||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}},function(e,t,n){"use strict";function r(e,t,n){e.findEntityRanges(function(e){var t=e.getEntity();return null!==t&&"INLINETEX"===n.getEntity(t).getType()},t)}n.d(t,"b",function(){return a}),t.a=r;var o=n(1),i=(n.n(o),o.KeyBindingUtil.hasCommandModifier),a=function(e){return function(t){if("code-block"!==o.RichUtils.getCurrentBlockType(e())){if(77===t.keyCode&&i(t))return"insert-texblock";if("$"===t.key){var n=e().getCurrentContent(),r=e().getSelection();if(!r.isCollapsed())return"insert-inlinetex";var a=r.getStartKey(),s=n.getBlockForKey(a),c=r.getStartOffset()-1;return"\\"===s.getText()[c]?"insert-char-"+t.key:"insert-inlinetex"}return Object(o.getDefaultKeyBinding)(t)}}}},function(e,t,n){"use strict";function r(e,t){var n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.async=!0,r.src=e,t&&(r.onload=function(){r.onerror=null,r.onload=null,t(null,r)},r.onerror=function(){r.onerror=null,r.onload=null,t(new Error("Failed to load "+e),r)}),n.appendChild(r)}t.a=r},function(e,t,n){"use strict";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(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(e){for(var t=/\\([a-zA-Z]+)/,n=e,r={},o=void 0,i=void 0;;){if(null===(o=t.exec(n)))break;i=o[1],n=n.slice(o.index+i.length+1),Object.prototype.hasOwnProperty.call(r,i)?r[i]+=1:r[i]=1}return r}function a(e,t,n){if(t){var r=i(e),o=i(n),a=l({},t),s=Object.keys(r),c=Object.keys(o),u=s.reduce(function(e,t){var n=r[t],i=l({},e);return Object.prototype.hasOwnProperty.call(o,t)&&(n-=o[t]),Object.prototype.hasOwnProperty.call(i,t)?i[t]+=n:i[t]=n,i},a);return u=c.filter(function(e){return-1===s.indexOf(e)}).reduce(function(e,t){var n=l({},e);return Object.prototype.hasOwnProperty.call(n,t)&&(n[t]-=o[t]),n},u)}}function s(e,t){return Object.keys(t).reduce(function(e,t){var n=t[0].toLowerCase(),i=[].concat(o(e[n]));return i.unshift(t),i.sort(),l({},e,r({},n,i))},l({},e))}var c=n(1),u=(n.n(c),n(628)),l=Object.assign||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},f=/\\([a-zA-Z]+)$/,p=function(e){var t=f.exec(e);return t?t[1].toLowerCase():""},d=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(""===e)return[];var r=t[e[0].toLowerCase()].filter(function(t){return t.toLowerCase().startsWith(e.toLowerCase())});return n?(r.sort(function(e,t){var r=Object.prototype.hasOwnProperty.call(n,e)&&n[e]||0,o=Object.prototype.hasOwnProperty.call(n,t)&&n[t]||0;return r===o?0:r<o?1:-1}),r):r};t.a=function(e,t){return{status:e,teXCommandsAndMacros:"none"!==e?s(u.a,t):void 0,mostUsedTeXCommands:void 0,getLastTeXCommand:p,updateMostUsedTeXCmds:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";this.mostUsedTeXCommands=a(e,this.mostUsedTeXCommands,t)},computeCompletionList:function(e){return d(e,this.teXCommandsAndMacros,this.mostUsedTeXCommands)}}}},function(e,t,n){"use strict";t.a={a:["above","abovewithdelims","acute","aleph","alpha","amalg","And","angle","approx","approxeq","arccos","arcsin","arctan","arg","array","Arrowvert","arrowvert","ast","asymp","atop","atopwithdelims"],b:["backepsilon","backprime","backsim","backsimeq","backslash","bar","barwedge","Bbb","Bbbk","bbox","bcancel","because","begin","begingroup","beta","beth","between","bf","Big","big","bigcap","bigcirc","bigcup","Bigg","bigg","Biggl","biggl","Biggm","biggm","Biggr","biggr","Bigl","bigl","Bigm","bigm","bigodot","bigoplus","bigotimes","Bigr","bigr","bigsqcup","bigstar","bigtriangledown","bigtriangleup","biguplus","bigvee","bigwedge","binom","blacklozenge","blacksquare","blacktriangle","blacktriangledown","blacktriangleleft","blacktriangleright","bmod","boldsymbol","bot","bowtie","Box","boxdot","boxed","boxminus","boxplus","boxtimes","brace","bracevert","brack","breve","buildrel","bullet","Bumpeq","bumpeq"],c:["cal","cancel","cancelto","cap","Cap","cases","cdot","cdotp","cdots","ce","cee","centerdot","cf","cfrac","check","checkmark","chi","choose","circ","circeq","circlearrowleft","circlearrowright","circledast","circledcirc","circleddash","circledR","circledS","class","clubsuit","colon","color","colorbox","complement","cong","coprod","cos","cosh","cot","coth","cr","csc","cssId","cup","Cup","curlyeqprec","curlyeqsucc","curlyvee","curlywedge","curvearrowleft","curvearrowright"],d:["dagger","daleth","dashleftarrow","dashrightarrow","dashv","dbinom","ddagger","ddddot","dddot","ddot","ddots","DeclareMathOperator","definecolor","def","deg","Delta","delta","det","dfrac","diagdown","diagup","diamond","Diamond","diamondsuit","digamma","dim","displaylines","displaystyle","div","divideontimes","dot","doteq","Doteq","doteqdot","dotplus","dots","dotsb","dotsc","dotsi","dotsm","dotso","doublebarwedge","doublecap","doublecup","Downarrow","downarrow","downdownarrows","downharpoonleft","downharpoonright"],e:["ell","emptyset","enclose","end","endgroup","enspace","epsilon","eqalign","eqalignno","eqcirc","eqref","eqsim","eqslantgtr","eqslantless","equiv","eta","eth","exists","exp"],f:["fallingdotseq","fbox","fcolorbox","Finv","flat","forall","frac","frak","frown"],g:["Game","Gamma","gamma","gcd","gdef","ge","genfrac","geq","geqq","geqslant","gets","gg","ggg","gggtr","gimel","global","gnapprox","gneq","gneqq","gnsim","grave","gt","gtrapprox","gtrdot","gtreqless","gtreqqless","gtrless","gtrsim","gvertneqq"],h:["hat","hbar","hbox","hdashline","heartsuit","hline","hom","hookleftarrow","hookrightarrow","hphantom","href","hskip","hslash","hspace","Huge","huge","idotsint"],i:["iff","iiiint","iiint","iint","Im","imath","impliedby","implies","in","inf","infty","injlim","int","intercal","intop","iota","it"],j:["jmath","Join"],k:["kappa","ker","kern"],l:["label","Lambda","lambda","land","langle","LARGE","Large","large","LaTeX","lbrace","lbrack","lceil","ldotp","ldots","le","leadsto","left","Leftarrow","leftarrow","leftarrowtail","leftharpoondown","leftharpoonup","leftleftarrows","Leftrightarrow","leftrightarrow","leftrightarrows","leftrightharpoons","leftrightsquigarrow","leftroot","leftthreetimes","leq","leqalignno","leqq","leqslant","lessapprox","lessdot","lesseqgtr","lesseqqgtr","lessgtr","lesssim","let","lfloor","lg","lgroup","lhd","lim","liminf","limits","limsup","ll","llap","llcorner","Lleftarrow","lll","llless","lmoustache","ln","lnapprox","lneq","lneqq","lnot","lnsim","log","Longleftarrow","longleftarrow","Longleftrightarrow","longleftrightarrow","longmapsto","Longrightarrow","longrightarrow","looparrowleft","looparrowright","lor","lower","lozenge","lrcorner","Lsh","lt","ltimes","lVert","lvert","lvertneqq"],m:["maltese","mapsto","mathbb","mathbf","mathbin","mathcal","mathchoice","mathclose","mathfrak","mathinner","mathit","mathop","mathopen","mathord","mathpunct","mathrel","mathring","mathrm","mathscr","mathsf","mathstrut","mathtip","mathtt","matrix","max","mbox","measuredangle","mho","mid","middle","min","mit","mkern","mmlToken","mod","models","moveleft","moveright","mp","mskip","mspace","mu","multimap"],n:["nabla","natural","ncong","ne","nearrow","neg","negmedspace","negthickspace","negthinspace","neq","newcommand","newenvironment","Newextarrow","newline","nexists","ngeq","ngeqq","ngeqslant","ngtr","ni","nLeftarrow","nleftarrow","nLeftrightarrow","nleftrightarrow","nleq","nleqq","nleqslant","nless","nmid","nobreakspace","nolimits","normalsize","not","notag","notin","nparallel","nprec","npreceq","nRightarrow","nrightarrow","nshortmid","nshortparallel","nsim","nsubseteq","nsubseteqq","nsucc","nsucceq","nsupseteq","nsupseteqq","ntriangleleft","ntrianglelefteq","ntriangleright","ntrianglerighteq","nu","nVDash","nVdash","nvDash","nvdash","nwarrow"],o:["odot","oint","oldstyle","Omega","omega","omicron","ominus","operatorname","oplus","oslash","otimes","over","overbrace","overleftarrow","overleftrightarrow","overline","overrightarrow","overset","overwithdelims","owns"],p:["parallel","partial","perp","phantom","Phi","phi","Pi","pi","pitchfork","pm","pmatrix","pmb","pmod","pod","Pr","prec","precapprox","preccurlyeq","preceq","precnapprox","precneqq","precnsim","precsim","prime","prod","projlim","propto","Psi","psi"],q:["qquad","quad"],r:["raise","rangle","rbrace","rbrack","rceil","Re","ref","renewcommand","renewenvironment","require","restriction","rfloor","rgroup","rhd","rho","right","Rightarrow","rightarrow","rightarrowtail","rightharpoondown","rightharpoonup","rightleftarrows","rightleftharpoons","rightleftharpoons","rightrightarrows","rightsquigarrow","rightthreetimes","risingdotseq","rlap","rm","rmoustache","root","Rrightarrow","Rsh","rtimes","Rule","rVert","rvert"],s:["S","scr","scriptscriptstyle","scriptsize","scriptstyle","searrow","sec","setminus","sf","sharp","shortmid","shortparallel","shoveleft","shoveright","sideset","Sigma","sigma","sim","simeq","sin","sinh","skew","small","smallfrown","smallint","smallsetminus","smallsmile","smash","smile","Space","space","spadesuit","sphericalangle","sqcap","sqcup","sqrt","sqsubset","sqsubseteq","sqsupset","sqsupseteq","square","stackrel","star","strut","style","subset","Subset","subseteq","subseteqq","subsetneq","subsetneqq","substack","succ","succapprox","succcurlyeq","succeq","succnapprox","succneqq","succnsim","succsim","sum","sup","supset","Supset","supseteq","supseteqq","supsetneq","supsetneqq","surd","swarrow"],t:["tag","tan","tanh","tau","tbinom","TeX","text","textbf","textit","textrm","textsf","textstyle","texttt","texttip","tfrac","therefore","Theta","theta","thickapprox","thicksim","thinspace","tilde","times","tiny","Tiny","to","toggle","top","triangle","triangledown","triangleleft","trianglelefteq","triangleq","triangleright","trianglerighteq","tt","twoheadleftarrow","twoheadrightarrow"],u:["underbrace","underleftarrow","underleftrightarrow","underline","underrightarrow","underset","unicode","unlhd","unrhd","Uparrow","uparrow","Updownarrow","updownarrow","upharpoonleft","upharpoonright","uplus","uproot","Upsilon","upsilon","upuparrows","urcorner"],v:["varDelta","varepsilon","varGamma","varinjlim","varkappa","varLambda","varliminf","varlimsup","varnothing","varOmega","varphi","varPhi","varpi","varPi","varprojlim","varpropto","varPsi","varrho","varsigma","varSigma","varsubsetneq","varsubsetneqq","vartheta","varTheta","vartriangle","vartriangleleft","vartriangleright","varUpsilon","varXi","vcenter","vdash","Vdash","vDash","vdots","vec","vee","veebar","verb","Vert","vert","vphantom","Vvdash"],w:["wedge","widehat","widetilde","wp","wr"],x:["Xi","xi","xcancel","xleftarrow","xlongequal","xmapsto","xrightarrow","xtofrom","xtwoheadleftarrow","xtwoheadrightarrow"],y:["yen"],z:["zeta"]}},function(e,t,n){"use strict";function r(e){var t=e.getCurrentContent(),n=e.getSelection(),r="";if(!n.isCollapsed()){var o=n.getStartKey();o===n.getEndKey()&&(r=t.getBlockForKey(o).getText().slice(n.getStartOffset(),n.getEndOffset())),t=a.Modifier.removeRange(t,n,"backward"),n=t.getSelectionAfter()}t=t.createEntity("INLINETEX","IMMUTABLE",{teX:r,displaystyle:!1});var i=t.getLastCreatedEntityKey(),s=0===n.getStartOffset(),c=Object(u.b)(t,n);return s&&(t=a.Modifier.insertText(t,n," "),n=t.getSelectionAfter()),t=a.Modifier.insertText(t,n," ",void 0,i),n=t.getSelectionAfter(),c&&(t=a.Modifier.insertText(t,n," ")),a.EditorState.push(e,t,"apply-entity")}function o(e){return Object(c.a)(e,Object(s.Map)({mathjax:!0,teX:""}))}function i(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?o(e):r(e)}t.a=i;var a=n(1),s=(n.n(a),n(3)),c=(n.n(s),n(630)),u=n(35)},function(e,t,n){"use strict";function r(e,t){var n=e.getCurrentContent(),r=e.getSelection(),a=o.Modifier.removeRange(n,r,"backward"),s=a.getSelectionAfter(),c=Object(i.d)(a,s),u=Object(i.b)(a,s),l=Object(i.c)(a,s),f=!c||l?o.Modifier.splitBlock(a,s):a,p=f.getSelectionAfter(),d=o.Modifier.setBlockType(f,p,"atomic"),h=[new o.ContentBlock({key:Object(o.genKey)(),type:"atomic",data:t})];u&&!l||h.push(new o.ContentBlock({key:Object(o.genKey)(),type:"unstyled"}));var g=o.BlockMapBuilder.createFromArray(h),m=o.Modifier.replaceWithFragment(d,p,g),y=m.merge({selectionBefore:r,selectionAfter:m.getSelectionAfter().set("hasFocus",!1)});return o.EditorState.push(e,y,"insert-fragment")}t.a=r;var o=n(1),i=(n.n(o),n(35))},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return m});var s=n(0),c=n.n(s),u=n(51),l=n(163),f=n(35),p=n(164),d=Object.assign||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},h=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),g=p.a.inline,m=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state=n.getInitialState(),n._update=function(e){if(!n.state.editMode){var t=n.props.getStore();n.setState({editMode:!0},function(){t.setEditorReadOnly(!0),e&&(t.teXToUpdate={})})}},n.onChange=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};n.setState(e,t)},n.getCaretPos=function(){var e=n.props.getStore().teXToUpdate.dir;return e&&"l"!==e?0:n.state.teX.length},n.save=function(e){n.setState({editMode:!1},function(){var t=n.props.getStore(),o=n.state,i=o.teX,a=o.displaystyle,s=n.props,u=s.entityKey,l=s.offsetKey,p=s.children,h=n.getCurrentEditorContent();t.completion.updateMostUsedTeXCmds(i,h.getEntity(u).getData().teX),Object(f.a)(t).apply(void 0,r(Object(f.e)(d({after:e,contentState:h,teX:i,displaystyle:a,entityKey:u,blockKey:l.split("-")[0]},c.a.Children.map(p,function(e){return{startPos:e.props.start}})[0]))))})},n}return a(t,e),h(t,[{key:"getInitialState",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.entityKey,t=this.getCurrentEditorContent(),n=t.getEntity(e),r=n.getData(),o=r.teX,i=r.displaystyle;return{editMode:0===o.length,teX:o,displaystyle:i}}},{key:"componentWillMount",value:function(){var e=this.props.getStore();this.state.editMode&&e.setEditorReadOnly(!0)}},{key:"componentWillReceiveProps",value:function(e){var t=e.entityKey,n=e.getStore(),r=n.teXToUpdate.key;if(r===t&&this._update(r),this.props.entityKey!==t){var o=this.getInitialState(t);this.setState(o,function(){return o.editMode&&n.setEditorReadOnly(!0)})}}},{key:"getCurrentEditorContent",value:function(){return this.props.getStore().getEditorState().getCurrentContent()}},{key:"render",value:function(){var e=this,t=this.state,n=t.editMode,r=t.teX,o=t.displaystyle,i=this.props.getStore().completion,a=null;n&&(a=c.a.createElement(l.a,{onChange:this.onChange,teX:r,displaystyle:o,finishEdit:this.save,completion:i,caretPosFn:this.getCaretPos,style:g.edit}));var s=(o?"\\displaystyle{":"")+r+(o?"}":""),f=c.a.createElement(u.a,{inline:!0,key:this.props.entityKey},s),p=g[n?"preview":"rendered"];return c.a.createElement("span",{style:{position:n?"relative":void 0}},a,c.a.createElement("span",{onMouseDown:function(){return e._update()},style:p,contentEditable:!1},f))}}]),t}(s.Component)},function(e,t,n){"use strict";function r(e){e.Hub.Queue(function(){var t=e.Hub.elementScripts;e.Hub.elementScripts=function(){return i};try{return e.Hub.Process(null,function(){a.forEach(function(e){return e()}),i=[],a=[],s=!1})}catch(e){throw e}finally{e.Hub.elementScripts=t}})}function o(e,t,n){i.push(t),a.push(n),s||(s=!0,setTimeout(function(){return r(e)},0))}t.a=o;var i=[],a=[],s=!1},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return g});var s=n(0),c=n.n(s),u=n(51),l=n(163),f=n(35),p=n(164),d=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),h=p.a.block,g=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state=n.getInitialState(),n._update=function(e){if(!n.state.editMode){var t=n.props.blockProps.getStore();n.setState({editMode:!0},function(){t.setEditorReadOnly(!0),e&&(t.teXToUpdate={})})}},n.onChange=function(e){var t=e.teX;n.setState({teX:t})},n.save=function(e){n.setState({editMode:!1},function(){var t=n.props.blockProps.getStore(),o=n.state.teX,i=n.props,a=i.contentState,s=i.block;t.completion.updateMostUsedTeXCmds(o,s.getData().teX),Object(f.a)(t).apply(void 0,r(Object(f.e)({after:e,contentState:a,teX:o,block:s})))})},n.getCaretPos=function(){var e=n.props.blockProps.getStore().teXToUpdate.dir;return e&&"l"!==e?0:n.state.teX.length},n}return a(t,e),d(t,[{key:"getInitialState",value:function(){var e=this.props.block,t=e.getData().get("teX");return{editMode:0===t.length,teX:t}}},{key:"componentWillMount",value:function(){var e=this.props.blockProps.getStore();this.state.editMode&&e.setEditorReadOnly(!0)}},{key:"componentWillReceiveProps",value:function(e){var t=e.blockProps.getStore().teXToUpdate.key;t===e.block.getKey()&&this._update(t)}},{key:"render",value:function(){var e=this,t=this.state,n=t.editMode,r=t.teX,o=t.displaystyle,i=this.props.blockProps.getStore(),a=i.completion,s=null;n&&(s=c.a.createElement(l.a,{onChange:this.onChange,teX:r,displaystyle:o,finishEdit:this.save,completion:a,caretPosFn:this.getCaretPos,style:h.edit}));var f=c.a.createElement(u.a,null,r),p=h[n?"preview":"rendered"];return c.a.createElement("div",{style:{position:n?"relative":void 0}},s,c.a.createElement("div",{onMouseDown:function(){return e._update()},style:p},f))}}]),t}(s.Component)},function(e,t,n){"use strict";function r(e){var t=e.theme,n=e.store,r=e.onInsert,o=!n||"root"!==n.getEditorEnviorment()||"code-block"===s.RichUtils.getCurrentBlockType(n.getEditorState());return i.a.createElement("div",{className:t.buttonWrapper},i.a.createElement("button",{className:t.button,onClick:o?null:r},i.a.createElement("i",{className:"qa-ico-sigma",title:"\u63d2\u5165\u516c\u5f0f (\u8f93\u5165 $ \u5feb\u901f\u63d2\u5165)"},"\u03a3")))}t.a=r;var o=n(0),i=n.n(o),a=n(4),s=(n.n(a),n(1));n.n(s)},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,t=e.buttons;return{getToolbarButtons:function(e){if("root"!==e.env)return null;var n=e.store.getEditorState();return"code-block"===o.RichUtils.getCurrentBlockType(n)?null:Object(s.a)(p,t,l({},e,{onInsert:function(){return Object(c.a)(e.store)}}))},getBlockRenderInfo:function(e,t){var n=Object(i.o)(e,t);if(n&&"HR"===n.entityType)return{component:u.a,editable:!1,props:l({},n,{store:t})}}}}t.a=r;var o=n(1),i=(n.n(o),n(2)),a=n(636),s=n(15),c=n(637),u=n(638),l=Object.assign||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},f={buttons:["hr","spliter"]},p={hr:a.a}},function(e,t,n){"use strict";function r(e){var t=e.theme,n=e.store,r=e.onInsert;n&&n.getEditorEnviorment();return i.a.createElement("div",{className:t.buttonWrapper,title:"\u63d2\u5165\u6c34\u5e73\u7ebf"},i.a.createElement("button",{className:t.button,onClick:r},i.a.createElement("i",{className:"qa-ico-hr"})))}t.a=r;var o=n(0),i=n.n(o),a=n(4);n.n(a)},function(e,t,n){"use strict";function r(e){var t=e.getEditorState,n=e.setEditorState,r=t(),i=r.getCurrentContent(),a=i.createEntity("HR","IMMUTABLE",{}),s=a.getLastCreatedEntityKey();n(o.AtomicBlockUtils.insertAtomicBlock(o.EditorState.set(r,{currentContent:a,selection:r.getSelection()}),s,"----"))}t.a=r;var o=n(1);n.n(o)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return u});var a=n(0),s=n.n(a),c=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),c(t,[{key:"render",value:function(){return s.a.createElement("hr",null)}}]),t}(s.a.Component)},function(e,t,n){"use strict";function r(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{getBlockRenderInfo:function(e,t){var n=Object(o.o)(e,t);if(n&&"PLACEHOLDER"===n.entityType)return{component:i.a,editable:!1,props:s({},n,{store:t})}}}}t.a=r;var o=n(2),i=n(640),a=(n(15),n(1)),s=(n.n(a),Object.assign||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})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return l});var a=n(0),s=n.n(a),c=n(1),u=(n.n(c),function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),l=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),u(t,[{key:"render",value:function(){var e=this.props.blockProps,t=e.entityData,n=e.store,r=t.text,o=function(){var e=n.getEditorState,t=n.setEditorState,r=e(),o=r.getSelection(),i=c.Modifier.setBlockType(r.getCurrentContent(),o,"unstyled"),a=o.getAnchorKey(),s=i.getBlockForKey(a),u=new c.SelectionState({anchorKey:a,anchorOffset:0,focusKey:a,focusOffset:s.getText().length});i=c.Modifier.replaceText(i,u,""),t(c.EditorState.forceSelection(c.EditorState.set(r,{currentContent:i}),new c.SelectionState({anchorKey:a,anchorOffset:0,focusKey:a,focusOffset:0})))};return s.a.createElement("div",{className:"placeholder-block",onClick:o},r)}}]),t}(s.a.Component)},function(e,t,n){"use strict";function r(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{getBlockRenderInfo:function(e,t){var n=Object(o.o)(e,t);if(n&&"META"===n.entityType)return{component:i.a,editable:!1,props:s({},n,{store:t})}}}}t.a=r;var o=n(2),i=n(642),a=n(1),s=(n.n(a),Object.assign||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})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return f});var a=n(0),s=n.n(a),c=n(1),u=(n.n(c),n(165)),l=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),f=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),l(t,[{key:"render",value:function(){var e=this.props.blockProps,t=e.entityData,n=(e.store,t.icon),r=t.title,o=t.metas;return s.a.createElement("div",{className:"meta-block"},s.a.createElement(u.a,{icon:n,title:r,metas:o}))}}]),t}(s.a.Component)},function(e,t,n){"use strict";function r(e){return i.a.Children.toArray(e.children)[0]||null}t.a=r;var o=n(0),i=n.n(o)},function(e,t,n){"use strict";var r=n(645);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,i){try{var a=t[o](i),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}return r("next")})}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return k});var s,c,u=n(0),l=n.n(u),f=n(18),p=(n.n(f),n(646)),d=n(648),h=n(651),g=n(652),m=n(653),y=n(654),v=n(167),b=n(70),w=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),k=(c=s=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,c=Array(s),u=0;u<s;u++)c[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),r.state={preview:!1},r.handleCommandQuery=function(e){return"preview"===e?{actived:!!r.state.preview,disabled:!1}:{actived:!1,disabled:!1}},a=n,i(r,a)}return a(t,e),w(t,[{key:"render",value:function(){var e=this,t=this.props.markdown,n=this.state.preview;return l.a.createElement("div",{className:"draft-markdown-editor c-markdown",ref:function(t){return e.element=t},onPaste:function(t){var n=t.clipboardData.files&&t.clipboardData.files[0];n&&(/\.(png|jpe?g|gif)$/i.test(n.name)||/^image\//.test(n.type))&&e.handleMarkdownCommand("image",n)}},l.a.createElement(d.a,{onQuery:this.handleCommandQuery,onCommand:function(t,n,r){e.handleMarkdownCommand(t,n,r)}}),l.a.createElement(p.a,{autoFocus:this.props.autoFocus,language:"markdown",ref:function(t){return e.editor=t},value:t,onReady:function(t){return e.registerMarkdownCommands(t)},onChange:this.props.onChange?function(){e.muteChange||e.props.onChange(e)}:null,onSave:this.props.onSave,onFocus:this.props.onFocus,onBlur:this.props.onBlur,placeholder:this.props.placeholder,loadingPlaceholder:"\u6b63\u5728\u52a0\u8f7d Markdown \u7f16\u8f91\u5668..."}),n&&l.a.createElement(v.a,{className:"markdown-preview",raw:n}))}},{key:"componentDidMount",value:function(){var e=this;this.props.autoLayout&&window.addEventListener("resize",this._resizeHandler=function(){return e.layout()})}},{key:"componentWillReceiveProps",value:function(e){e.markdown!==this.props.markdown&&this.setMarkdown(e.markdown)}},{key:"componentWillUnmount",value:function(){this._resizeHandler&&window.removeEventListener("resize",this._resizeHandler)}},{key:"registerMarkdownCommands",value:function(e){this.monacoEditor=e,e.addAction({id:"bold",keybindings:[monaco.KeyMod.CtrlCmd|monaco.KeyCode.KEY_B],label:"\u8bbe\u7f6e\u52a0\u7c97\u6837\u5f0f",run:function(e){return Object(h.a)(e,"**","\u52a0\u7c97")}}),e.addAction({id:"italic",keybindings:[monaco.KeyMod.CtrlCmd|monaco.KeyCode.KEY_I],label:"\u8bbe\u7f6e\u659c\u4f53\u6837\u5f0f",run:function(e){return Object(h.a)(e,"*","\u659c\u4f53")}}),e.addAction({id:"strike",keybindings:[monaco.KeyMod.CtrlCmd|monaco.KeyCode.KEY_D],label:"\u8bbe\u7f6e\u5220\u9664\u7ebf\u6837\u5f0f",run:function(e){return Object(h.a)(e,"~~","\u5220\u9664\u7ebf")}}),e.addAction({id:"code",label:"\u8bbe\u7f6e\u4ee3\u7801\u6837\u5f0f",run:function(e){return Object(h.a)(e,"`","\u4ee3\u7801")}}),e.addAction({id:"h1",label:"\u63d2\u5165\u4e00\u7ea7\u6807\u9898",run:function(e){return Object(g.a)(e,"# ")}}),e.addAction({id:"h2",label:"\u63d2\u5165\u4e8c\u7ea7\u6807\u9898",run:function(e){return Object(g.a)(e,"## ")}}),e.addAction({id:"h3",label:"\u63d2\u5165\u4e09\u7ea7\u6807\u9898",run:function(e){return Object(g.a)(e,"### ")}}),e.addAction({id:"h4",label:"\u63d2\u5165\u56db\u7ea7\u6807\u9898",run:function(e){return Object(g.a)(e,"#### ")}}),e.addAction({id:"quote",label:"\u63d2\u5165\u5f15\u7528\u5185\u5bb9",run:function(e){return Object(g.a)(e,"> ")}}),e.addAction({id:"ol",label:"\u63d2\u5165\u7f16\u53f7\u5217\u8868",run:function(e){return Object(g.a)(e,"1. ")}}),e.addAction({id:"ul",label:"\u63d2\u5165\u5217\u8868",run:function(e){return Object(g.a)(e,"* ")}}),e.addAction({id:"code-block",label:"\u63d2\u5165\u4ee3\u7801\u5757",run:function(e){return Object(g.a)(e,"```js\n// \u8f93\u5165\u4ee3\u7801\u5185\u5bb9\n```\n")}}),e.addAction({id:"table",label:"\u63d2\u5165\u8868\u683c",run:function(e){return Object(g.a)(e,"\u8868\u5934 1 | \u8868\u5934 2 | \u8868\u5934 3\n------|--------|------\n\u5185\u5bb9 1 | \u5185\u5bb9 2 | \u5185\u5bb9 3\n")}}),e.addAction({id:"formula",label:"\u63d2\u5165\u516c\u5f0f",run:function(e){var t=e.getSelection();t.startLineNumber===t.endLineNumber&&e.getModel().getLineContent(t.startLineNumber)?Object(h.a)(e,"`$","x^2 + y^2 = r^2"):Object(g.a)(e,"> `$ x^2 + y^2 = r^2 $`")}})}},{key:"handleMarkdownCommand",value:function(){function e(e,n,r){return t.apply(this,arguments)}var t=r(regeneratorRuntime.mark(function e(t,n,r){var o,i,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:e.t0=t,e.next="bold"===e.t0?3:"italic"===e.t0?3:"strike"===e.t0?3:"code"===e.t0?3:"h1"===e.t0?3:"h2"===e.t0?3:"h3"===e.t0?3:"h4"===e.t0?3:"quote"===e.t0?3:"code-block"===e.t0?3:"ul"===e.t0?3:"ol"===e.t0?3:"table"===e.t0?3:"formula"===e.t0?3:"link"===e.t0?9:"image"===e.t0?13:"word"===e.t0?16:"preview"===e.t0?17:19;break;case 3:if(!(o=this.monacoEditor.getAction(t))){e.next=8;break}return e.next=7,o.run();case 7:this.monacoEditor.focus();case 8:return e.abrupt("break",19);case 9:return i=n,Object(m.a)(this.monacoEditor,i),this.monacoEditor.focus(),e.abrupt("break",19);case 13:return a=n,Object(y.a)(this.monacoEditor,a,{imageSizeLimit:this.props.imageSizeLimit,uploadImage:this.props.handleImageUpload}),e.abrupt("break",19);case 16:return e.abrupt("break",19);case 17:return this.setState({preview:this.state.preview?null:Object(b.u)(this.editor.getValue())}),e.abrupt("break",19);case 19:case"end":return e.stop()}},e,this)}));return e}()},{key:"getElement",value:function(){return this.element}},{key:"getMonacoEditor",value:function(){return this.editor}},{key:"getMarkdown",value:function(){if(this.editor)return this.editor.getValue();throw new Error("Monaco editor is not mounted yet!")}},{key:"setMarkdown",value:function(e){if(this.editor)return this.muteChange=!0,this.editor.setValue(e),void(this.muteChange=!1);throw new Error("Monaco editor is not mounted yet!")}},{key:"layout",value:function(){this.editor&&this.editor.layout()}}]),t}(l.a.Component),s.propTypes={defaultValue:f.string,autoFocus:f.bool},c)},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,i){try{var a=t[o](i),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}return r("next")})}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return b});var s,c,u,l=n(0),f=n.n(l),p=n(18),d=(n.n(p),n(647)),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},g=Object.assign||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},m=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),y={scrollBeyondLastLine:!1,hideCursorInOverviewRuler:!0,scrollbar:{verticalScrollbarSize:12,horizontalScrollbarSize:12}},v={preserveBOM:!1,lineEnding:"\n"},b=(c=s=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,c=Array(s),l=0;l<s;l++)c[l]=arguments[l];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),u.call(r),a=n,i(r,a)}return a(t,e),m(t,[{key:"render",value:function(){var e=this,t=this.props.placeholder,n=this.state,r=n.ready,o=(n.focused,n.empty);return f.a.createElement("div",{className:"monaco-editor-wrap",ref:function(t){return e.$editor=t}},!r&&f.a.createElement("span",{style:{opacity:.5}},this.props.loadingPlaceholder),r&&t&&o&&f.a.createElement("div",{style:{position:"absolute",top:0,left:0,zIndex:1,opacity:.5,fontSize:"16px",pointerEvents:"none"}},t))}},{key:"isEmpty",value:function(){if(!this.editor)return!0;var e=this.editor.getModel();return!(e.getLineCount()>1)&&!e.getLineContent(1).replace(/\u200b/g,"")}},{key:"componentDidMount",value:function(){function e(){return t.apply(this,arguments)}var t=r(regeneratorRuntime.mark(function e(){var t,n,r,o,i,a,s,c=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(d.a)();case 2:if(t=e.sent,this.$editor){e.next=5;break}return e.abrupt("return");case 5:n=this.props,r=n.defaultValue,o=n.language,i=n.autoFocus,a=n.enableWarning,s=this.editor=t.editor.create(this.$editor,g({},y,{lineNumbers:"off",language:o,value:this.initialValue||r||"",glyphMargin:!1,wordWrap:"on",lineDecorationsWidth:0,fontSize:16,roundedSelection:!1,renderLineHighlight:!1,occurrencesHighlight:!1,quickSuggestions:!1,suggestOnTriggerCharacters:!1,wordBasedSuggestions:!1,snippetSuggestions:!1,fontFamily:"'pingfang SC','helvetica neue',arial,'hiragino sans gb','microsoft yahei ui','microsoft yahei',simsun,sans-serif"})),i&&s.focus(),s.onDidChangeModelContent(this.notifyChange),s.addCommand(t.KeyMod.CtrlCmd|t.KeyCode.KEY_S,this.callOnSave),s.onDidFocusEditor(function(){return c.handleFocus()}),s.onDidBlurEditor(function(){return c.handleBlur()}),this.setState({ready:!0,empty:this.isEmpty()}),"function"==typeof this.props.onReady&&this.props.onReady(s);case 14:case"end":return e.stop()}},e,this)}));return e}()},{key:"componentWillUnmount",value:function(){this.editor&&(this.editor.getModel().dispose(),this.editor.dispose())}},{key:"componentWillReceiveProps",value:function(e){this.editor&&e.value!==this.value&&this.editor.setValue(e.value)}},{key:"focus",value:function(){this.editor&&this.editor.focus()}},{key:"handleFocus",value:function(){this.callOnFocus(),this.setState({focused:!0})}},{key:"handleBlur",value:function(){this.callOnBlur(),this.setState({focused:!1})}},{key:"getValue",value:function(){return this.editor?this.editor.getValue(v).replace(/\u200b/g,""):this.initialValue||this.props.defaultValue||""}},{key:"setValue",value:function(e){if("string"!=typeof e)throw new Error("Expect setValue() to pass as string, but got `"+(void 0===e?"undefined":h(e))+"`");this.editor?this.editor.setValue(e):this.initialValue=e}},{key:"layout",value:function(){this.editor&&this.editor.layout()}},{key:"revealLineAtTop",value:function(){function e(e){return t.apply(this,arguments)}var t=r(regeneratorRuntime.mark(function e(t){var n,r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(d.a)();case 2:n=e.sent,r=new n.Range(t,1,t,1),this.editor.revealRangeAtTop(r);case 5:case"end":return e.stop()}},e,this)}));return e}()},{key:"insertTextOnNextLine",value:function(){function e(e){return t.apply(this,arguments)}var t=r(regeneratorRuntime.mark(function e(t){var n,r,o,i,a,s,c;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.editor){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,Object(d.a)();case 4:return n=e.sent,r=this.editor,e.next=8,r.getAction("editor.action.insertLineAfter").run();case 8:return o=r.getPosition(),i=o.lineNumber,a=new n.Range(i,1,i,1),s={major:1,minor:1},c={identifier:s,range:a,text:t,forceMoveMarkers:!0},e.abrupt("return",r.executeEdits("insert-editor-1",[c]));case 13:case"end":return e.stop()}},e,this)}));return e}()},{key:"replaceText",value:function(){function e(e){return t.apply(this,arguments)}var t=r(regeneratorRuntime.mark(function e(t){var n,r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(d.a)();case 2:n=e.sent,r=this.editor,r.executeEdits("replace",[{identifier:"insert",range:r.getSelection(),text:t,forceMoveMarkers:!0}]);case 5:case"end":return e.stop()}},e,this)}));return e}()},{key:"findAndReplaceText",value:function(){function e(e,n){return t.apply(this,arguments)}var t=r(regeneratorRuntime.mark(function e(t,n){var r,o,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(d.a)();case 2:r=e.sent,o=this.editor,i=this.value.split(/\r?\n/g).findIndex(function(e){return e.includes(t)}),-1!=i&&(o.executeEdits("replace",[{identifier:"insert",range:new r.Range(i+1,1,i+1,1e3),text:n,forceMoveMarkers:!0}]),o.focus());case 6:case"end":return e.stop()}},e,this)}));return e}()},{key:"setWarnings",value:function(){function e(e){return t.apply(this,arguments)}var t=r(regeneratorRuntime.mark(function e(t){var n,r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.props.enableWarning&&this.editor&&t){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,Object(d.a)();case 4:n=e.sent,r=this._lastEditorDecorations||[],this._lastEditorDecorations=this.editor.deltaDecorations(r,t.map(function(e){var t=e.line,r=e.message;return{range:new n.Range(t,1,t,1e4),options:{isWholeLine:!0,className:"lab-editor-warning-line",hoverMessage:r,glyphMarginClassName:"lab-editor-warning-line-glyph",glyphMarginHoverMessage:r,overviewRuler:!0}}}));case 7:case"end":return e.stop()}},e,this)}));return e}()}]),t}(f.a.Component),s.propTypes={defaultValue:p.string,language:p.string,autoFocus:p.bool,enableWarning:p.bool},u=function(){var e=this;this.state={ready:!1,focused:!0},this.createPropsCallback=function(t){return function(){if("function"==typeof e.props[t]){var n;return(n=e.props)[t].apply(n,arguments)}}},this.callOnChange=this.createPropsCallback("onChange"),this.callOnSave=this.createPropsCallback("onSave"),this.callOnBlur=this.createPropsCallback("onBlur"),this.callOnFocus=this.createPropsCallback("onFocus"),this.notifyChange=function(){e.callOnChange(),e.setState({empty:e.isEmpty()})}},c)},function(e,t,n){"use strict";function r(){if("undefined"==typeof window)throw new Error("Monaco Editor is only for browser context");if("object"!==("undefined"==typeof AMDLoader?"undefined":o(AMDLoader)))throw console.warn('\u4f7f\u7528 MonacoEditor \u5fc5\u987b\u5148\u5f15\u5165\u5176 loader \u811a\u672c\u3002\u8bf7\u6dfb\u52a0\uff1a<script src="'+a+'/vs/loader.js">'),new Error("Monaco loader not found");if(s)return s;var e="\n\tself.MonacoEnvironment = {\n\t\tbaseUrl: '"+a+"'\n\t};\n\timportScripts('"+a+"/vs/base/worker/workerMain.js');\n\t",t=URL.createObjectURL(new Blob([e],{type:"text/javascript"}));return s=new Promise(function(e,n){window.require.config({paths:{vs:"//imgcache.qq.com/qcloud/main/scripts/release/common/vendors/monaco-editor/"+i+"/vs"},"vs/nls":{availableLanguages:{"vs/editor/editor.main":"zh-cn"}}});var r=setTimeout(function(){n(new Error("Load editor script timeout"))},5e3);window.MonacoEnvironment={getWorkerUrl:function(){return t}},window.require(["vs/editor/editor.main"],function(){clearTimeout(r),window.monaco?e(window.monaco):n(new Error("Init script error! global.monaco not found"))})})}t.a=r;var o="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},i="min",a="https://imgcache.qq.com/qcloud/main/scripts/release/common/vendors/monaco-editor/"+i+"/",s=null},function(e,t,n){"use strict";var r=n(649);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(){return s.createElement("span",{className:"qa-r-editor-spliter"},"|")}n.d(t,"a",function(){return h});var s=n(0),c=(n.n(s),n(4)),u=(n.n(c),n(650)),l=n(116),f=n(131),p=n(166),d=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),h=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),d(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.onCommand,r=t.onQuery,o=function(e){var t=e.command,o=e.icon,i=void 0===o?t:o,a=e.title,c=e.children,l=function(e){return n(t,a,e)},f=r(t),p=f.actived,d=f.disabled;return s.createElement(u.a,{onClick:l,actived:p,disabled:d},s.createElement("i",{className:"qa-ico-"+i,title:a},c))},i=function(){return s.createElement(u.a,{onClick:function(t){var n=t.target,r=Math.floor(n.offsetLeft+n.clientWidth/2);e.linkEditor.getInstance().active("",r)}},s.createElement("i",{className:"qa-ico-link",title:"\u63d2\u5165\u8fde\u63a5"},"L"))},c=function(){return s.createElement(f.a,{theme:p.a,onInsert:function(e){return n("image",e&&e[0])}})};return s.createElement("div",{className:"qa-r-editor-toolbar"},s.createElement("section",{className:"qa-r-editor-btns"},s.createElement(o,{command:"bold",title:"\u52a0\u7c97"},"B"),s.createElement(o,{command:"italic",title:"\u659c\u4f53"},"I"),s.createElement(o,{command:"strike",title:"\u5220\u9664"},"S"),s.createElement(o,{command:"code",title:"\u4ee3\u7801"},"C"),s.createElement(a,null),s.createElement(o,{command:"h1",title:"\u4e00\u7ea7\u6807\u9898"},"h1"),s.createElement(o,{command:"h2",title:"\u4e8c\u7ea7\u6807\u9898"},"h2"),s.createElement(o,{command:"h3",title:"\u4e09\u7ea7\u6807\u9898"},"h3"),s.createElement(a,null),s.createElement(o,{command:"quote",icon:"blockquote",title:"\u5f15\u7528"},"Q"),s.createElement(o,{command:"code-block",title:"\u4ee3\u7801\u5757"},"C"),s.createElement(o,{command:"ol",title:"\u7f16\u53f7"},"O"),s.createElement(o,{command:"ul",title:"\u5217\u8868"},"L"),s.createElement(a,null),s.createElement(i,null),s.createElement(o,{command:"formula",icon:"sigma",title:"\u516c\u5f0f"},"\u03a3"),s.createElement(c,null),s.createElement(o,{command:"table",title:"\u8868\u683c"},"T"),s.createElement(a,null),s.createElement(o,{command:"preview",title:"\u9884\u89c8"},"E")),s.createElement(l.a,{ref:function(t){return e.linkEditor=t},onSave:function(e){return n("link",e)}}))}}]),t}(s.Component)},function(e,t,n){"use strict";function r(e){var t=e.children,n=(e.className,e.disabled),r=e.actived,s=e.onClick;return o.createElement("div",{className:a.a.buttonWrapper},o.createElement("button",{className:i(a.a.button,{actived:r,disabled:n}),onClick:s},t))}t.a=r;var o=n(0),i=(n.n(o),n(4)),a=(n.n(i),n(166))},function(e,t,n){"use strict";function r(e,t,n){var r=e.getSelection();r.startLineNumber===r.endLineNumber&&(o(e,r,t)?s(e,r,t):a(e,r,t,n))}function o(e,t,n){var r=e.getModel(),o=t.getStartPosition().lineNumber,a=new monaco.Selection(o,t.startColumn-n.length,o,t.startColumn),s=new monaco.Selection(o,t.endColumn,o,t.endColumn+n.length);return r.getValueInRange(a)===n&&r.getValueInRange(s)===i(n)}function i(e){return e?e.split("").reverse().join(""):e}function a(e,t,n,r){var o=e.getModel().getValueInRange(t)||r,a=""+n+o+i(n),s=new monaco.Selection(t.startLineNumber,t.startColumn+n.length,t.startLineNumber,t.startColumn+n.length+o.length);e.executeEdits("replace",[{identifier:"insert",range:t,text:a,forceMoveMarkers:!0}],[s])}function s(e,t,n){var r=e.getModel().getValueInRange(t),o=t.startLineNumber,i=new monaco.Selection(o,t.startColumn-n.length,o,t.endColumn+n.length),a=new monaco.Selection(o,i.startColumn,o,i.startColumn+r.length);e.executeEdits("replace",[{identifier:"insert",range:i,text:r,forceMoveMarkers:!0}],[a])}t.a=r},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,i){try{var a=t[o](i),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}return r("next")})}}n.d(t,"a",function(){return o});var o=function(){var e=r(regeneratorRuntime.mark(function e(t,n){var r,o,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.getAction("editor.action.insertLineAfter").run();case 2:return r=t.getPosition(),o=r.lineNumber,i=new monaco.Range(o,1,o,1),e.abrupt("return",t.executeEdits("insert-editor-1",[{identifier:"insert",range:i,text:n,forceMoveMarkers:!0}]));case 5:case"end":return e.stop()}},e,this)}));return function(t,n){return e.apply(this,arguments)}}()},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,i){try{var a=t[o](i),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}return r("next")})}}n.d(t,"a",function(){return o});var o=function(){var e=r(regeneratorRuntime.mark(function e(t,n){var r,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.getSelection(),r.startLineNumber===r.endLineNumber){e.next=3;break}return e.abrupt("return");case 3:return o=t.getModel().getValueInRange(r)||n,e.abrupt("return",t.executeEdits("insert-link",[{identifier:"insert",range:r,text:"["+o+"]("+n+")",forceMoveMarkers:!0}]));case 5:case"end":return e.stop()}},e,this)}));return function(t,n){return e.apply(this,arguments)}}()},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,i){try{var a=t[o](i),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}return r("next")})}}n.d(t,"a",function(){return a});var o=n(2),i={},a=function(){var e=r(regeneratorRuntime.mark(function e(t,n){var r,a,s,c,u,l,f,p,d,h,g,m,y,v,b=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=b.imageSizeLimit,a=void 0===r?2516582.4:r,s=b.uploadImage,e.next=3,t.getAction("editor.action.insertLineAfter").run();case 3:if(c=t.getPosition(),u=c.lineNumber,l=new monaco.Range(u,1,u,1),!(n.size>a)){e.next=10;break}return f=(a/1024/1024).toPrecision(2),p=(n.size/1024/1024).toPrecision(3),d="[\u4ec5\u652f\u6301\u4e0d\u8d85\u8fc7 "+f+"M \u7684\u56fe\u7247, \u8be5\u56fe\u7247\u8fc7\u5927("+p+"M)]",e.abrupt("return",t.executeEdits("insert-image-error",[{identifier:"insert",range:l,text:d,forceMoveMarkers:!0}],[new monaco.Selection(u,1,u,d.length)]));case 10:return e.next=12,Object(o.w)(n);case 12:if(h=e.sent,g="[\u6b63\u5728\u4e0a\u4f20\u56fe\u7247...][@"+h+"]",t.executeEdits("insert-image-uploading",[{identifier:"insert",range:l,text:g,forceMoveMarkers:!0}]),m=function(e){for(var n=t.getModel(),r=n.getLineCount(),o=null,i=1;i<=r;i++){var a=n.getLineContent(i),s=a.indexOf(g)+1;if(s>0){o=new monaco.Range(i,s,i,s+g.length);break}}o&&t.executeEdits("replace-image-mark",[{identifier:"replace",range:o,text:e,forceMoveMarkers:!0}])},y=i[h]){e.next=29;break}return e.prev=18,e.next=21,s(n);case 21:v=e.sent,i[h]=y=v.url,e.next=29;break;case 25:return e.prev=25,e.t0=e.catch(18),m("\u4e0a\u4f20\u5931\u8d25\uff1a"+(e.t0.msg||e.t0.message||"\u670d\u52a1\u5668\u9519\u8bef")),e.abrupt("return");case 29:y&&m("!["+n.name+"]("+y+")");case 30:case"end":return e.stop()}},e,this,[[18,25]])}));return function(t,n){return e.apply(this,arguments)}}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.renderNode=t.RawParser=t.createStylesRenderer=void 0;var o=n(169),i=r(o),a=n(660),s=r(a),c=n(661);t.createStylesRenderer=s.default,t.RawParser=i.default,t.renderNode=c.renderNode,t.default=c.render},function(e,t,n){(function(e,r){var o;!function(i){function a(e){throw new RangeError(R[e])}function s(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function c(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(L,"."),r+s(e.split("."),t).join(".")}function u(e){for(var t,n,r=[],o=0,i=e.length;o<i;)t=e.charCodeAt(o++),t>=55296&&t<=56319&&o<i?(n=e.charCodeAt(o++),56320==(64512&n)?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--)):r.push(t);return r}function l(e){return s(e,function(e){var t="";return e>65535&&(e-=65536,t+=M(e>>>10&1023|55296),e=56320|1023&e),t+=M(e)}).join("")}function f(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:k}function p(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function d(e,t,n){var r=0;for(e=n?I(e/_):e>>1,e+=I(e/t);e>D*E>>1;r+=k)e=I(e/D);return I(r+(D+1)*e/(e+x))}function h(e){var t,n,r,o,i,s,c,u,p,h,g=[],m=e.length,y=0,v=O,b=C;for(n=e.lastIndexOf(T),n<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&a("not-basic"),g.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<m;){for(i=y,s=1,c=k;o>=m&&a("invalid-input"),u=f(e.charCodeAt(o++)),(u>=k||u>I((w-y)/s))&&a("overflow"),y+=u*s,p=c<=b?S:c>=b+E?E:c-b,!(u<p);c+=k)h=k-p,s>I(w/h)&&a("overflow"),s*=h;t=g.length+1,b=d(y-i,t,0==i),I(y/t)>w-v&&a("overflow"),v+=I(y/t),y%=t,g.splice(y++,0,v)}return l(g)}function g(e){var t,n,r,o,i,s,c,l,f,h,g,m,y,v,b,x=[];for(e=u(e),m=e.length,t=O,n=0,i=C,s=0;s<m;++s)(g=e[s])<128&&x.push(M(g));for(r=o=x.length,o&&x.push(T);r<m;){for(c=w,s=0;s<m;++s)(g=e[s])>=t&&g<c&&(c=g);for(y=r+1,c-t>I((w-n)/y)&&a("overflow"),n+=(c-t)*y,t=c,s=0;s<m;++s)if(g=e[s],g<t&&++n>w&&a("overflow"),g==t){for(l=n,f=k;h=f<=i?S:f>=i+E?E:f-i,!(l<h);f+=k)b=l-h,v=k-h,x.push(M(p(h+b%v,0))),l=I(b/v);x.push(M(p(l,0))),i=d(n,y,r==o),n=0,++r}++n,++t}return x.join("")}function m(e){return c(e,function(e){return A.test(e)?h(e.slice(4).toLowerCase()):e})}function y(e){return c(e,function(e){return P.test(e)?"xn--"+g(e):e})}var v=("object"==typeof t&&t&&t.nodeType,"object"==typeof e&&e&&e.nodeType,"object"==typeof r&&r);var b,w=2147483647,k=36,S=1,E=26,x=38,_=700,C=72,O=128,T="-",A=/^xn--/,P=/[^\x20-\x7E]/,L=/[\x2E\u3002\uFF0E\uFF61]/g,R={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},D=k-S,I=Math.floor,M=String.fromCharCode;b={version:"1.4.1",ucs2:{decode:u,encode:l},decode:h,encode:g,toASCII:y,toUnicode:m},void 0!==(o=function(){return b}.call(t,n,t,e))&&(e.exports=o)}()}).call(t,n(657)(e),n(13))},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,n){"use strict";function r(e){return Array.isArray(e)?e:Array.from(e)}function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(659),c=function(e){return e&&e.__esModule?e:{default:e}}(s),u=function(){function e(t){i(this,e),this.content=t.content||[],this.start=void 0!==t.start?t.start:null,this.end=void 0!==t.end?t.end:null,this.entity=void 0!==t.entity?t.entity:null,this.decorator=void 0!==t.decorator?t.decorator:null,this.decoratorProps=t.decoratorProps||null,this.decoratedText=void 0!==t.decoratedText?t.decoratedText:null,this.contentState=t.contentState,this.style=t.style||null,this.styles=t.styles||null,this.block=t.block||{}}return a(e,[{key:"getCurrentContent",value:function(){return this.content[this.content.length-1]}},{key:"addToCurrentContent",value:function(e){this.content[this.content.length-1]=this.content[this.content.length-1]+e}},{key:"handleFlatPush",value:function(t,n){var r=this.getCurrentContent();if(r instanceof e&&(0,c.default)(n,r.styles))return void r.addToCurrentContent(t);var i=new e({styles:[].concat(o(n)),content:[t]});this.content.push(i)}},{key:"pushContent",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!n||n.length<1)return"string"==typeof t&&"string"==typeof this.getCurrentContent()?this.addToCurrentContent(t):this.content.push(t),this;if(o)return this.handleFlatPush(t,n),this;var i=r(n),a=i[0],s=i.slice(1),c=this.getCurrentContent();if(c instanceof e&&c.style===a)c.pushContent(t,s,o);else{var u=new e({style:a});u.pushContent(t,s,o),this.content.push(u)}return this}}]),e}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(e.length!==t.length)return!1;for(var n=0;n++;n<e.length)if(e[n]!==t[n])return!1;return!0};t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){return e.map(function(e){return t[e]}).reduce(function(e,t){var n={};if(void 0!==t){var r="text-decoration"in t?"text-decoration":"textDecoration";t[r]!==e[r]&&(n[r]=[e[r],t[r]].join(" ").trim())}return Object.assign(e,t,n)},{})},o=function(e,t){return function(n,o,i){var a=r(o,t);return e(Object.assign({},{children:n},i,{style:a}))}};t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.render=t.renderNode=void 0;var o=n(169),i=r(o),a=n(662),s=r(a),c=n(663),u=r(c),l=n(664),f=r(l),p=n(665),d=r(p),h=n(666),g=r(h),m=n(667),y=r(m),v=n(668),b=r(v),w=t.renderNode=function e(t,n,r,o,i,a,s){if(t.styles&&o)return o((0,d.default)(t.content,a),t.styles,{key:s()});var c=[],u=0;if(t.content.forEach(function(t){"string"==typeof t?c=(0,g.default)(t,c,u):(u+=1,c[u]=e(t,n,r,o,i,a,s),u+=1)}),t.style&&n[t.style])return n[t.style]((0,d.default)(c,a),{key:s()});if(null!==t.entity){var l=i[t.entity];if(l&&r[l.type])return r[l.type]((0,d.default)(c,a),l.data,{key:t.entity})}if(null!==t.decorator){var f=[t.block.key,t.start,0].join(".");return t.decorator(Object.assign({children:(0,d.default)(c,a),decoratedText:t.decoratedText,contentState:t.contentState,entityKey:t.entity,offsetKey:f,key:f},t.decoratorProps))}return c},k=function(e){var t=[],n=[],r=0,o=function(e){var o=r-e;for(n.length<o&&(o=n.length),o;o>0;o-=1){var i=t;t=n.pop(),t[t.length-1].children=i}};return e.forEach(function(e){r<e.depth?(n.push(t),t=[]):r>e.depth&&o(e.depth),r=e.depth,t.push(e)}),0!==r&&o(0),t},S=function(e,t,n,r){var o=r.prevType,i=r.prevDepth,a=r.prevKeys,s=r.prevData;if(0!==e.length)return t[o]?void n.push(t[o](e,{depth:i,keys:a,data:s})):void n.push(e)},E=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=arguments[4],s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},c=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},l=Object.assign({},y.default,c),p=[],h=[],g=null,m=0,v=[],b=[],k=!1,E=new i.default({flat:!!a});return t.forEach(function(t){if((0,u.default)(t,g,l))return void(!0===l.cleanup.split&&(k=!0));var i=E.parse(t),c=w(i,n,o,a,s,l,(0,f.default)());if((g&&g!==t.type||k)&&(S(h,r,p,{prevType:g,prevDepth:m,prevKeys:v,prevData:b}),b=[],v=[],h=[],k=!1),t.children){var d=e(t.children,n,r,o,a,s,l);c.push(d)}h.push(c),g=t.type,m=t.depth,v.push(t.key),b.push(t.data)}),S(h,r,p,{prevType:g,prevDepth:m,prevKeys:v,prevData:b}),(0,d.default)(p,l)};t.render=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e||!Array.isArray(e.blocks))return(0,s.default)("invalid raw object"),null;if(!e.blocks.length)return null;var r=t.inline,o=t.blocks,i=t.entities,a=t.styles,c=t.decorators,u=c||n.Decorator?(0,b.default)(e,c,n):e.blocks,l=k(u);return E(l,r,o,i,a,e.entityMap,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){};t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){return!!(t.trim?e.trim():e)},o=function(e,t){return!!r(e.text,t)||(!(!e.data||!Object.keys(e.data).length)||!(!e.entityRanges||!e.entityRanges.length))},i=function(e,t,n){var r=n.cleanup;return!(!r||o(e,r))&&((!r.after||"all"===r.after||-1!==r.after.indexOf(t))&&(!(!r.except||-1!==r.except.indexOf(e.type))||!(!r.types||"all"!==r.types&&-1===r.types.indexOf(e.type))))};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){var e=0;return function(){var t=e;return e+=1,t}};t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){return Array.isArray(e)&&t.joinOutput?e.join(""):e};t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){var r=t;return t[n]?r[n]+=e:r[n]=e,r};t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={joinOutput:!1,cleanup:{after:["atomic"],types:["unstyled"],trim:!1,split:!0}};t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(669),i=r(o),a=n(670),s=r(a),c=function(e,t,n,r){var o=r.createContentBlock,a=r.Decorator,c=void 0===a?i.default:a,u=[],l=new c(t),f=o?o(e):(0,s.default)(e),p=l.getDecorations(f,n).toArray(),d=0;return p.forEach(function(e,t){if(!e)return void(d+=1);var r=t+1,o=p[r];o&&o===e||(u.push({offset:d,length:r-d,component:l.getComponentForKey(e),decoratorProps:l.getPropsForKey(e)||{},contentState:n}),d=r)}),Object.assign({},e,{decoratorRanges:u})},u=function(e,t,n){var r=n.convertFromRaw&&n.convertFromRaw(e);return e.blocks.map(function(e){return c(e,t,r,n||{})})};t.default=u},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t,n){for(var r=t;r<n;r++)if(null!=e[r])return!1;return!0}function i(e,t,n,r){for(var o=t;o<n;o++)e[o]=r}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function(e){return{toArray:function(){return e}}},c=function(){function e(t){r(this,e),this.decorators=t.slice()}return a(e,[{key:"getDecorations",value:function(e,t){var n=Array(e.getText().length).fill(null);return this.decorators.forEach(function(r,a){var s=0;(0,r.strategy)(e,function(e,t){o(n,e,t)&&(i(n,e,t,a+"."+s),s++)},t)}),s(n)}},{key:"getComponentForKey",value:function(e){var t=parseInt(e.split(".")[0],10);return this.decorators[t].component}},{key:"getPropsForKey",value:function(e){var t=parseInt(e.split(".")[0],10);return this.decorators[t].props}}]),e}();t.default=c},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(t){r(this,e),Object.assign(this,t)}return o(e,[{key:"get",value:function(e){return this[e]}},{key:"getText",value:function(){return this.text}},{key:"getType",value:function(){return this.type}},{key:"getKey",value:function(){return this.key}},{key:"getLength",value:function(){return this.text.length}},{key:"getDepth",value:function(){return this.depth}},{key:"getData",value:function(){return this.data}}]),e}(),a=function(e){return new i(e)};t.default=a},function(e,t,n){"use strict";var r=n(672);n.d(t,"a",function(){return r.a});var o=n(676);n.d(t,"b",function(){return o.a});var i=n(677);n.d(t,"c",function(){return i.a})},function(e,t,n){"use strict";n.d(t,"a",function(){return h});var r=n(0),o=n.n(r),i=n(4),a=n.n(i),s=n(673),c=n.n(s),u=n(2),l=n(675),f=n(51),p=Object.assign||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},d=function(e){return function(t,n){var r=n.keys,o=n.data,i=n.depth;return t.map(function(t,n){return e(t,r[n]+n,o&&o[n],i)})}},h=function(){return{unstyled:d(function(e,t){return o.a.createElement("p",{key:t},e)}),"header-one":d(function(e,t){return o.a.createElement("h1",{key:t},e)}),"header-two":d(function(e,t){return o.a.createElement("h2",{key:t},e)}),"header-three":d(function(e,t){return o.a.createElement("h3",{key:t},e)}),"header-four":d(function(e,t){return o.a.createElement("h4",{key:t},e)}),"header-five":d(function(e,t){return o.a.createElement("h5",{key:t},e)}),"header-six":d(function(e,t){return o.a.createElement("h6",{key:t},e)}),blockquote:function(e,t){var n=t.keys;return o.a.createElement("blockquote",{key:n.join("|")},e.map(function(e,t){return o.a.createElement("p",{key:t},e)}))},"code-block":d(function(e,t,n){return o.a.createElement(c.a,{component:"pre",key:Object(u.y)(String(e))+t,className:a()("prism-token token","language-"+(n&&n.syntax||"js"))},e)}),"unordered-list-item":function(e,t){var n=t.depth,r=t.keys;return o.a.createElement("ul",{key:r[r.length-1],className:"ul-level-"+n,style:{margin:"10px 0 10px 20px"}},e.map(function(e,t){return o.a.createElement("li",{key:t},e)}))},"ordered-list-item":function(e,t){var n=t.depth,r=t.keys;return o.a.createElement("ol",{key:r.join("|"),className:"ol-level-"+n},e.map(function(e,t){return o.a.createElement("li",{key:r[t]},e)}))},atomic:d(function(e,t,n){return o.a.createElement("figure",{key:t},n&&n.mathjax?o.a.createElement(f.a,null,n.teX):e)}),table:d(function(e,t,n){return n?o.a.createElement(l.a,p({key:t},n)):null})}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(674);Object.defineProperty(t,"PrismCode",{enumerable:!0,get:function(){return r(o).default}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r(o).default}})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),c=function(e){return e&&e.__esModule?e:{default:e}}(s),u=n(18),l=function(e){function t(){var e,n,i,a;r(this,t);for(var s=arguments.length,c=Array(s),u=0;u<s;u++)c[u]=arguments[u];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),i._handleRefMount=function(e){i._domNode=e},a=n,o(i,a)}return i(t,e),a(t,[{key:"componentDidMount",value:function(){this._hightlight()}},{key:"componentDidUpdate",value:function(){this._hightlight()}},{key:"_hightlight",value:function(){Prism.highlightElement(this._domNode,this.props.async)}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.component,r=e.children;return c.default.createElement(n,{ref:this._handleRefMount,className:t},r)}}]),t}(s.PureComponent);l.propTypes={async:u.PropTypes.bool,className:u.PropTypes.string,children:u.PropTypes.any,component:u.PropTypes.node},l.defaultProps={component:"code"},t.default=l},function(e,t,n){"use strict";function r(e){return Array.isArray(e)?e:Array.from(e)}function o(e){var t=e.aligns,n=e.rows;if(!Array.isArray(n))return null;var o=r(n),i=o[0],c=o.slice(1);t=t||[];var u=function(e){return{textAlign:t[e]&&t[e].align||null}};return a.a.createElement("div",{className:"table-wrapper"},a.a.createElement("table",null,a.a.createElement("thead",null,a.a.createElement("tr",null,i.cells.map(function(e,t){return e?e.raw?a.a.createElement("th",{key:e.key,style:u(t),colSpan:e.colspan,rowSpan:e.rowspan},a.a.createElement(s.a,{raw:e.raw,nested:!0,className:"table-header"})):null:a.a.createElement("th",{key:"empty-cell"+t})}))),a.a.createElement("tbody",null,c.map(function(e,t){return e?a.a.createElement("tr",{key:e.key},e.cells.map(function(e,t){return e?e.raw?a.a.createElement("td",{key:e.key,style:u(t),colSpan:e.colspan,rowSpan:e.rowspan},a.a.createElement(s.a,{raw:e.raw,nested:!0,className:"table-cell"})):null:a.a.createElement("td",{key:"empty-cell"+t})})):a.a.createElement("tr",{key:"empty-row"+t})}))))}t.a=o;var i=n(0),a=n.n(i),s=n(168)},function(e,t,n){"use strict";function r(e){var t=e.url,n=e.lazy,r=e.findScrollParent,o=e.onThumbnail,c=e.onClick,u=i.a.createElement("img",{src:o(t),style:{cursor:c?"zoom-in":null},onClick:c});return n?i.a.createElement(s.a,{scroll:!0,resize:!0,findScrollParent:r,placeholder:i.a.createElement("span",{className:"lazy-image-holder",dataurl:t})},i.a.createElement(a.CSSTransitionGroup,{transitionName:"fade",transitionAppear:!0,transitionAppearTimeout:500,transitionEnter:!1,transitionLeave:!1},u)):u}n.d(t,"a",function(){return h});var o=n(0),i=n.n(o),a=n(21),s=(n.n(a),n(48)),c=n(158),u=n(157),l=n(160),f=n(51),p=n(165),d=Object.assign||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},h=function(e){var t=e.onImageClick,n=e.enableImageLazyLoad,o=e.handleImageThumbnail,a=e.findScrollParent;return{IMAGE:function(e,s,c){var u=c.key;return i.a.createElement("div",{key:u,className:"image-block"},i.a.createElement(r,{url:s.imageUrl,lazy:n,overflow:!!a,findScrollParent:a,onThumbnail:o,onClick:t?function(e){return t(e,s.imageUrl)}:null}),s.imageUrl&&s.name&&i.a.createElement("figcaption",null,s.name))},VIDEO:function(e,t,n){var r=n.key;return[i.a.createElement(l.a,d({key:r},t)),t.name&&i.a.createElement("figcaption",{key:r+"caption"},t.name)]},GALLERY:function(e,t,n){var r=n.key;return[i.a.createElement(c.a,d({key:r},t)),t.name&&i.a.createElement("figcaption",{key:r+"caption"},t.name)]},ATTACHMENT:function(e,t,n){var r=n.key;return i.a.createElement(u.a,d({key:r},t))},LINK:function(e,t,n){var r=n.key;return i.a.createElement("a",{key:r,href:t.url,target:"_blank"},e)},PLACEHOLDER:function(){return null},INLINETEX:function(e,t,n){var r=n.key;return i.a.createElement(f.a,{key:r,inline:!0,children:t.teX})},HR:function(e,t,n){var r=n.key;return i.a.createElement("hr",{key:r})},META:function(e,t,n){var r=n.key;return i.a.createElement(p.a,d({key:r},t,{defaultCollapsed:!0}))}}}},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(0),o=n.n(r),i=function(){return{BOLD:function(e,t){var n=t.key;return o.a.createElement("strong",{key:n},e)},ITALIC:function(e,t){var n=t.key;return o.a.createElement("em",{key:n,style:{fontStyle:"italic"}},e)},STRIKETHROUGH:function(e,t){var n=t.key;return o.a.createElement("del",{key:n},e)},UNDERLINE:function(e,t){var n=t.key;return o.a.createElement("u",{key:n},e)},CODE:function(e,t){var n=t.key;return o.a.createElement("code",{key:n},e)}}}}])});
//# sourceMappingURL=draft-master-v1.3.38.js.map