UNPKG

283 kBJavaScriptView Raw
1module.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=71)}([function(t,e){t.exports=require("react")},function(t,e,n){t.exports=n(28)()},function(t,e,n){(e=t.exports=n(13)(!1)).push([t.i," {\n}\n",""]),e.locals={"color-labs-red":"#a0372d","color-darkest-grey":"#282828","color-dark-grey":"#4a4a4a","color-mid-grey":"#696969","color-light-grey":"#767676","color-lightest-grey":"#f2f2f2","color-subt-green":"#69e3c2","color-light-shilo":"#E2A9A2"}},function(t,e,n){t.exports=function(){"use strict";var t=Array.prototype.slice;function e(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function n(t){return a(t)?t:V(t)}function r(t){return s(t)?t:J(t)}function o(t){return c(t)?t:G(t)}function i(t){return a(t)&&!u(t)?t:X(t)}function a(t){return!(!t||!t[f])}function s(t){return!(!t||!t[p])}function c(t){return!(!t||!t[h])}function u(t){return s(t)||c(t)}function l(t){return!(!t||!t[d])}e(r,n),e(o,n),e(i,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=c,n.isAssociative=u,n.isOrdered=l,n.Keyed=r,n.Indexed=o,n.Set=i;var f="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",h="@@__IMMUTABLE_INDEXED__@@",d="@@__IMMUTABLE_ORDERED__@@",g=5,y=1<<g,v=y-1,m={},b={value:!1},_={value:!1};function w(t){return t.value=!1,t}function S(t){t&&(t.value=!0)}function x(){}function k(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),o=0;o<n;o++)r[o]=t[o+e];return r}function E(t){return void 0===t.size&&(t.size=t.__iterate(C)),t.size}function O(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?E(t)+e:e}function C(){return!0}function T(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function M(t,e){return A(t,e,0)}function D(t,e){return A(t,e,e)}function A(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var I=0,K=1,L=2,B="function"==typeof Symbol&&Symbol.iterator,N="@@iterator",z=B||N;function j(t){this.next=t}function R(t,e,n,r){var o=0===t?e:1===t?n:[e,n];return r?r.value=o:r={value:o,done:!1},r}function P(){return{value:void 0,done:!0}}function F(t){return!!W(t)}function U(t){return t&&"function"==typeof t.next}function q(t){var e=W(t);return e&&e.call(t)}function W(t){var e=t&&(B&&t[B]||t[N]);if("function"==typeof e)return e}function H(t){return t&&"number"==typeof t.length}function V(t){return null==t?it():a(t)?t.toSeq():function(t){var e=ct(t)||"object"==typeof t&&new et(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}(t)}function J(t){return null==t?it().toKeyedSeq():a(t)?s(t)?t.toSeq():t.fromEntrySeq():at(t)}function G(t){return null==t?it():a(t)?s(t)?t.entrySeq():t.toIndexedSeq():st(t)}function X(t){return(null==t?it():a(t)?s(t)?t.entrySeq():t:st(t)).toSetSeq()}j.prototype.toString=function(){return"[Iterator]"},j.KEYS=I,j.VALUES=K,j.ENTRIES=L,j.prototype.inspect=j.prototype.toSource=function(){return this.toString()},j.prototype[z]=function(){return this},e(V,n),V.of=function(){return V(arguments)},V.prototype.toSeq=function(){return this},V.prototype.toString=function(){return this.__toString("Seq {","}")},V.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},V.prototype.__iterate=function(t,e){return ut(this,t,e,!0)},V.prototype.__iterator=function(t,e){return lt(this,t,e,!0)},e(J,V),J.prototype.toKeyedSeq=function(){return this},e(G,V),G.of=function(){return G(arguments)},G.prototype.toIndexedSeq=function(){return this},G.prototype.toString=function(){return this.__toString("Seq [","]")},G.prototype.__iterate=function(t,e){return ut(this,t,e,!1)},G.prototype.__iterator=function(t,e){return lt(this,t,e,!1)},e(X,V),X.of=function(){return X(arguments)},X.prototype.toSetSeq=function(){return this},V.isSeq=ot,V.Keyed=J,V.Set=X,V.Indexed=G;var Y,Z,$,Q="@@__IMMUTABLE_SEQ__@@";function tt(t){this._array=t,this.size=t.length}function et(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function nt(t){this._iterable=t,this.size=t.length||t.size}function rt(t){this._iterator=t,this._iteratorCache=[]}function ot(t){return!(!t||!t[Q])}function it(){return Y||(Y=new tt([]))}function at(t){var e=Array.isArray(t)?new tt(t).fromEntrySeq():U(t)?new rt(t).fromEntrySeq():F(t)?new nt(t).fromEntrySeq():"object"==typeof t?new et(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function st(t){var e=ct(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function ct(t){return H(t)?new tt(t):U(t)?new rt(t):F(t)?new nt(t):void 0}function ut(t,e,n,r){var o=t._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(!1===e(s[1],r?s[0]:a,t))return a+1}return a}return t.__iterateUncached(e,n)}function lt(t,e,n,r){var o=t._cache;if(o){var i=o.length-1,a=0;return new j(function(){var t=o[n?i-a:a];return a++>i?{value:void 0,done:!0}:R(e,r?t[0]:a-1,t[1])})}return t.__iteratorUncached(e,n)}function ft(t,e){return e?function t(e,n,r,o){return Array.isArray(n)?e.call(o,r,G(n).map(function(r,o){return t(e,r,o,n)})):ht(n)?e.call(o,r,J(n).map(function(r,o){return t(e,r,o,n)})):n}(e,t,"",{"":t}):pt(t)}function pt(t){return Array.isArray(t)?G(t).map(pt).toList():ht(t)?J(t).map(pt).toMap():t}function ht(t){return t&&(t.constructor===Object||void 0===t.constructor)}function dt(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if(t=t.valueOf(),e=e.valueOf(),t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function gt(t,e){if(t===e)return!0;if(!a(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||s(t)!==s(e)||c(t)!==c(e)||l(t)!==l(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!u(t);if(l(t)){var r=t.entries();return e.every(function(t,e){var o=r.next().value;return o&&dt(o[1],t)&&(n||dt(o[0],e))})&&r.next().done}var o=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{o=!0;var i=t;t=e,e=i}var f=!0,p=e.__iterate(function(e,r){if(n?!t.has(e):o?!dt(e,t.get(r,m)):!dt(t.get(r,m),e))return f=!1,!1});return f&&t.size===p}function yt(t,e){if(!(this instanceof yt))return new yt(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(Z)return Z;Z=this}}function vt(t,e){if(!t)throw new Error(e)}function mt(t,e,n){if(!(this instanceof mt))return new mt(t,e,n);if(vt(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),e<t&&(n=-n),this._start=t,this._end=e,this._step=n,this.size=Math.max(0,Math.ceil((e-t)/n-1)+1),0===this.size){if($)return $;$=this}}function bt(){throw TypeError("Abstract")}function _t(){}function wt(){}function St(){}V.prototype[Q]=!0,e(tt,G),tt.prototype.get=function(t,e){return this.has(t)?this._array[O(this,t)]:e},tt.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length-1,o=0;o<=r;o++)if(!1===t(n[e?r-o:o],o,this))return o+1;return o},tt.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,o=0;return new j(function(){return o>r?{value:void 0,done:!0}:R(t,o,n[e?r-o++:o++])})},e(et,J),et.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},et.prototype.has=function(t){return this._object.hasOwnProperty(t)},et.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[e?o-i:i];if(!1===t(n[a],a,this))return i+1}return i},et.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length-1,i=0;return new j(function(){var a=r[e?o-i:i];return i++>o?{value:void 0,done:!0}:R(t,a,n[a])})},et.prototype[d]=!0,e(nt,G),nt.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=this._iterable,r=q(n),o=0;if(U(r))for(var i;!(i=r.next()).done&&!1!==t(i.value,o++,this););return o},nt.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterable,r=q(n);if(!U(r))return new j(P);var o=0;return new j(function(){var e=r.next();return e.done?e:R(t,o++,e.value)})},e(rt,G),rt.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n,r=this._iterator,o=this._iteratorCache,i=0;i<o.length;)if(!1===t(o[i],i++,this))return i;for(;!(n=r.next()).done;){var a=n.value;if(o[i]=a,!1===t(a,i++,this))break}return i},rt.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,o=0;return new j(function(){if(o>=r.length){var e=n.next();if(e.done)return e;r[o]=e.value}return R(t,o,r[o++])})},e(yt,G),yt.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},yt.prototype.get=function(t,e){return this.has(t)?this._value:e},yt.prototype.includes=function(t){return dt(this._value,t)},yt.prototype.slice=function(t,e){var n=this.size;return T(t,e,n)?this:new yt(this._value,D(e,n)-M(t,n))},yt.prototype.reverse=function(){return this},yt.prototype.indexOf=function(t){return dt(this._value,t)?0:-1},yt.prototype.lastIndexOf=function(t){return dt(this._value,t)?this.size:-1},yt.prototype.__iterate=function(t,e){for(var n=0;n<this.size;n++)if(!1===t(this._value,n,this))return n+1;return n},yt.prototype.__iterator=function(t,e){var n=this,r=0;return new j(function(){return r<n.size?R(t,r++,n._value):{value:void 0,done:!0}})},yt.prototype.equals=function(t){return t instanceof yt?dt(this._value,t._value):gt(t)},e(mt,G),mt.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},mt.prototype.get=function(t,e){return this.has(t)?this._start+O(this,t)*this._step:e},mt.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},mt.prototype.slice=function(t,e){return T(t,e,this.size)?this:(t=M(t,this.size),(e=D(e,this.size))<=t?new mt(0,0):new mt(this.get(t,this._end),this.get(e,this._end),this._step))},mt.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},mt.prototype.lastIndexOf=function(t){return this.indexOf(t)},mt.prototype.__iterate=function(t,e){for(var n=this.size-1,r=this._step,o=e?this._start+n*r:this._start,i=0;i<=n;i++){if(!1===t(o,i,this))return i+1;o+=e?-r:r}return i},mt.prototype.__iterator=function(t,e){var n=this.size-1,r=this._step,o=e?this._start+n*r:this._start,i=0;return new j(function(){var a=o;return o+=e?-r:r,i>n?{value:void 0,done:!0}:R(t,i++,a)})},mt.prototype.equals=function(t){return t instanceof mt?this._start===t._start&&this._end===t._end&&this._step===t._step:gt(this,t)},e(bt,n),e(_t,bt),e(wt,bt),e(St,bt),bt.Keyed=_t,bt.Indexed=wt,bt.Set=St;var xt="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),r=65535&(e|=0);return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0};function kt(t){return t>>>1&1073741824|3221225471&t}function Et(t){if(!1===t||null==t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null==t))return 0;if(!0===t)return 1;var e,n,r=typeof t;if("number"===r){var o=0|t;for(o!==t&&(o^=4294967295*t);t>4294967295;)o^=t/=4294967295;return kt(o)}if("string"===r)return t.length>Kt?(void 0===(n=Nt[e=t])&&(n=Ot(e),Bt===Lt&&(Bt=0,Nt={}),Bt++,Nt[e]=n),n):Ot(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===r)return function(t){var e;if(Dt&&void 0!==(e=Ct.get(t)))return e;if(void 0!==(e=t[It]))return e;if(!Mt){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[It]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=++At,1073741824&At&&(At=0),Dt)Ct.set(t,e);else{if(void 0!==Tt&&!1===Tt(t))throw new Error("Non-extensible objects are not allowed as keys.");if(Mt)Object.defineProperty(t,It,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[It]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[It]=e}}return e}(t);if("function"==typeof t.toString)return Ot(t.toString());throw new Error("Value type "+r+" cannot be hashed.")}function Ot(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return kt(e)}var Ct,Tt=Object.isExtensible,Mt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),Dt="function"==typeof WeakMap;Dt&&(Ct=new WeakMap);var At=0,It="__immutablehash__";"function"==typeof Symbol&&(It=Symbol(It));var Kt=16,Lt=255,Bt=0,Nt={};function zt(t){vt(t!==1/0,"Cannot perform this action with an infinite size.")}function jt(t){return null==t?$t():Rt(t)&&!l(t)?t:$t().withMutations(function(e){var n=r(t);zt(n.size),n.forEach(function(t,n){return e.set(n,t)})})}function Rt(t){return!(!t||!t[Ft])}e(jt,_t),jt.prototype.toString=function(){return this.__toString("Map {","}")},jt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},jt.prototype.set=function(t,e){return Qt(this,t,e)},jt.prototype.setIn=function(t,e){return this.updateIn(t,m,function(){return e})},jt.prototype.remove=function(t){return Qt(this,t,m)},jt.prototype.deleteIn=function(t){return this.updateIn(t,function(){return m})},jt.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},jt.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=function t(e,n,r,o){var i=e===m,a=n.next();if(a.done){var s=i?r:e,c=o(s);return c===s?e:c}vt(i||e&&e.set,"invalid keyPath");var u=a.value,l=i?m:e.get(u,m),f=t(l,n,r,o);return f===l?e:f===m?e.remove(u):(i?$t():e).set(u,f)}(this,nn(t),e,n);return r===m?void 0:r},jt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):$t()},jt.prototype.merge=function(){return re(this,void 0,arguments)},jt.prototype.mergeWith=function(e){var n=t.call(arguments,1);return re(this,e,n)},jt.prototype.mergeIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,$t(),function(t){return"function"==typeof t.merge?t.merge.apply(t,n):n[n.length-1]})},jt.prototype.mergeDeep=function(){return re(this,oe,arguments)},jt.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return re(this,ie(e),n)},jt.prototype.mergeDeepIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,$t(),function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,n):n[n.length-1]})},jt.prototype.sort=function(t){return Me(He(this,t))},jt.prototype.sortBy=function(t,e){return Me(He(this,e,t))},jt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},jt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new x)},jt.prototype.asImmutable=function(){return this.__ensureOwner()},jt.prototype.wasAltered=function(){return this.__altered},jt.prototype.__iterator=function(t,e){return new Gt(this,t,e)},jt.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate(function(e){return r++,t(e[1],e[0],n)},e),r},jt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Zt(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},jt.isMap=Rt;var Pt,Ft="@@__IMMUTABLE_MAP__@@",Ut=jt.prototype;function qt(t,e){this.ownerID=t,this.entries=e}function Wt(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function Ht(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function Vt(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function Jt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function Gt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&Yt(t._root)}function Xt(t,e){return R(t,e[0],e[1])}function Yt(t,e){return{node:t,index:0,__prev:e}}function Zt(t,e,n,r){var o=Object.create(Ut);return o.size=t,o._root=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function $t(){return Pt||(Pt=Zt(0))}function Qt(t,e,n){var r,o;if(t._root){var i=w(b),a=w(_);if(r=te(t._root,t.__ownerID,0,void 0,e,n,i,a),!a.value)return t;o=t.size+(i.value?n===m?-1:1:0)}else{if(n===m)return t;o=1,r=new qt(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=o,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?Zt(o,r):$t()}function te(t,e,n,r,o,i,a,s){return t?t.update(e,n,r,o,i,a,s):i===m?t:(S(s),S(a),new Jt(e,r,[o,i]))}function ee(t){return t.constructor===Jt||t.constructor===Vt}function ne(t,e,n,r,o){if(t.keyHash===r)return new Vt(e,r,[t.entry,o]);var i,a=(0===n?t.keyHash:t.keyHash>>>n)&v,s=(0===n?r:r>>>n)&v,c=a===s?[ne(t,e,n+g,r,o)]:(i=new Jt(e,r,o),a<s?[t,i]:[i,t]);return new Wt(e,1<<a|1<<s,c)}function re(t,e,n){for(var o=[],i=0;i<n.length;i++){var s=n[i],c=r(s);a(s)||(c=c.map(function(t){return ft(t)})),o.push(c)}return ae(t,e,o)}function oe(t,e,n){return t&&t.mergeDeep&&a(e)?t.mergeDeep(e):dt(t,e)?t:e}function ie(t){return function(e,n,r){if(e&&e.mergeDeepWith&&a(n))return e.mergeDeepWith(t,n);var o=t(e,n,r);return dt(e,o)?e:o}}function ae(t,e,n){return 0===(n=n.filter(function(t){return 0!==t.size})).length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations(function(t){for(var r=e?function(n,r){t.update(r,m,function(t){return t===m?n:e(t,n,r)})}:function(e,n){t.set(n,e)},o=0;o<n.length;o++)n[o].forEach(r)}):t.constructor(n[0])}function se(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function ce(t,e,n,r){var o=r?t:k(t);return o[e]=n,o}Ut[Ft]=!0,Ut.delete=Ut.remove,Ut.removeIn=Ut.deleteIn,qt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(dt(n,o[i][0]))return o[i][1];return r},qt.prototype.update=function(t,e,n,r,o,i,a){for(var s=o===m,c=this.entries,u=0,l=c.length;u<l&&!dt(r,c[u][0]);u++);var f=u<l;if(f?c[u][1]===o:s)return this;if(S(a),(s||!f)&&S(i),!s||1!==c.length){if(!f&&!s&&c.length>=ue)return function(t,e,n,r){t||(t=new x);for(var o=new Jt(t,Et(n),[n,r]),i=0;i<e.length;i++){var a=e[i];o=o.update(t,0,void 0,a[0],a[1])}return o}(t,c,r,o);var p=t&&t===this.ownerID,h=p?c:k(c);return f?s?u===l-1?h.pop():h[u]=h.pop():h[u]=[r,o]:h.push([r,o]),p?(this.entries=h,this):new qt(t,h)}},Wt.prototype.get=function(t,e,n,r){void 0===e&&(e=Et(n));var o=1<<((0===t?e:e>>>t)&v),i=this.bitmap;return 0==(i&o)?r:this.nodes[se(i&o-1)].get(t+g,e,n,r)},Wt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=Et(r));var s=(0===e?n:n>>>e)&v,c=1<<s,u=this.bitmap,l=0!=(u&c);if(!l&&o===m)return this;var f=se(u&c-1),p=this.nodes,h=l?p[f]:void 0,d=te(h,t,e+g,n,r,o,i,a);if(d===h)return this;if(!l&&d&&p.length>=le)return function(t,e,n,r,o){for(var i=0,a=new Array(y),s=0;0!==n;s++,n>>>=1)a[s]=1&n?e[i++]:void 0;return a[r]=o,new Ht(t,i+1,a)}(t,p,u,s,d);if(l&&!d&&2===p.length&&ee(p[1^f]))return p[1^f];if(l&&d&&1===p.length&&ee(d))return d;var b=t&&t===this.ownerID,_=l?d?u:u^c:u|c,w=l?d?ce(p,f,d,b):function(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var o=new Array(r),i=0,a=0;a<r;a++)a===e&&(i=1),o[a]=t[a+i];return o}(p,f,b):function(t,e,n,r){var o=t.length+1;if(r&&e+1===o)return t[e]=n,t;for(var i=new Array(o),a=0,s=0;s<o;s++)s===e?(i[s]=n,a=-1):i[s]=t[s+a];return i}(p,f,d,b);return b?(this.bitmap=_,this.nodes=w,this):new Wt(t,_,w)},Ht.prototype.get=function(t,e,n,r){void 0===e&&(e=Et(n));var o=(0===t?e:e>>>t)&v,i=this.nodes[o];return i?i.get(t+g,e,n,r):r},Ht.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=Et(r));var s=(0===e?n:n>>>e)&v,c=o===m,u=this.nodes,l=u[s];if(c&&!l)return this;var f=te(l,t,e+g,n,r,o,i,a);if(f===l)return this;var p=this.count;if(l){if(!f&&--p<fe)return function(t,e,n,r){for(var o=0,i=0,a=new Array(n),s=0,c=1,u=e.length;s<u;s++,c<<=1){var l=e[s];void 0!==l&&s!==r&&(o|=c,a[i++]=l)}return new Wt(t,o,a)}(t,u,p,s)}else p++;var h=t&&t===this.ownerID,d=ce(u,s,f,h);return h?(this.count=p,this.nodes=d,this):new Ht(t,p,d)},Vt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(dt(n,o[i][0]))return o[i][1];return r},Vt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=Et(r));var s=o===m;if(n!==this.keyHash)return s?this:(S(a),S(i),ne(this,t,e,n,[r,o]));for(var c=this.entries,u=0,l=c.length;u<l&&!dt(r,c[u][0]);u++);var f=u<l;if(f?c[u][1]===o:s)return this;if(S(a),(s||!f)&&S(i),s&&2===l)return new Jt(t,this.keyHash,c[1^u]);var p=t&&t===this.ownerID,h=p?c:k(c);return f?s?u===l-1?h.pop():h[u]=h.pop():h[u]=[r,o]:h.push([r,o]),p?(this.entries=h,this):new Vt(t,this.keyHash,h)},Jt.prototype.get=function(t,e,n,r){return dt(n,this.entry[0])?this.entry[1]:r},Jt.prototype.update=function(t,e,n,r,o,i,a){var s=o===m,c=dt(r,this.entry[0]);return(c?o===this.entry[1]:s)?this:(S(a),s?void S(i):c?t&&t===this.ownerID?(this.entry[1]=o,this):new Jt(t,this.keyHash,[r,o]):(S(i),ne(this,t,e,Et(r),[r,o])))},qt.prototype.iterate=Vt.prototype.iterate=function(t,e){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===t(n[e?o-r:r]))return!1},Wt.prototype.iterate=Ht.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[e?o-r:r];if(i&&!1===i.iterate(t,e))return!1}},Jt.prototype.iterate=function(t,e){return t(this.entry)},e(Gt,j),Gt.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n,r=e.node,o=e.index++;if(r.entry){if(0===o)return Xt(t,r.entry)}else if(r.entries){if(n=r.entries.length-1,o<=n)return Xt(t,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 Xt(t,i.entry);e=this._stack=Yt(i,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var ue=y/4,le=y/2,fe=y/4;function pe(t){var e=Se();if(null==t)return e;if(he(t))return t;var n=o(t),r=n.size;return 0===r?e:(zt(r),r>0&&r<y?we(0,r,g,null,new ye(n.toArray())):e.withMutations(function(t){t.setSize(r),n.forEach(function(e,n){return t.set(n,e)})}))}function he(t){return!(!t||!t[de])}e(pe,wt),pe.of=function(){return this(arguments)},pe.prototype.toString=function(){return this.__toString("List [","]")},pe.prototype.get=function(t,e){if((t=O(this,t))>=0&&t<this.size){var n=Ee(this,t+=this._origin);return n&&n.array[t&v]}return e},pe.prototype.set=function(t,e){return function(t,e,n){if((e=O(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations(function(t){e<0?Oe(t,e).set(0,n):Oe(t,0,e+1).set(e,n)});e+=t._origin;var r=t._tail,o=t._root,i=w(_);return e>=Te(t._capacity)?r=xe(r,t.__ownerID,0,e,n,i):o=xe(o,t.__ownerID,t._level,e,n,i),i.value?t.__ownerID?(t._root=o,t._tail=r,t.__hash=void 0,t.__altered=!0,t):we(t._origin,t._capacity,t._level,o,r):t}(this,t,e)},pe.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},pe.prototype.insert=function(t,e){return this.splice(t,0,e)},pe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Se()},pe.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations(function(n){Oe(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])})},pe.prototype.pop=function(){return Oe(this,0,-1)},pe.prototype.unshift=function(){var t=arguments;return this.withMutations(function(e){Oe(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])})},pe.prototype.shift=function(){return Oe(this,1)},pe.prototype.merge=function(){return Ce(this,void 0,arguments)},pe.prototype.mergeWith=function(e){var n=t.call(arguments,1);return Ce(this,e,n)},pe.prototype.mergeDeep=function(){return Ce(this,oe,arguments)},pe.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return Ce(this,ie(e),n)},pe.prototype.setSize=function(t){return Oe(this,0,t)},pe.prototype.slice=function(t,e){var n=this.size;return T(t,e,n)?this:Oe(this,M(t,n),D(e,n))},pe.prototype.__iterator=function(t,e){var n=0,r=_e(this,e);return new j(function(){var e=r();return e===be?{value:void 0,done:!0}:R(t,n++,e)})},pe.prototype.__iterate=function(t,e){for(var n,r=0,o=_e(this,e);(n=o())!==be&&!1!==t(n,r++,this););return r},pe.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?we(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},pe.isList=he;var de="@@__IMMUTABLE_LIST__@@",ge=pe.prototype;function ye(t,e){this.array=t,this.ownerID=e}ge[de]=!0,ge.delete=ge.remove,ge.setIn=Ut.setIn,ge.deleteIn=ge.removeIn=Ut.removeIn,ge.update=Ut.update,ge.updateIn=Ut.updateIn,ge.mergeIn=Ut.mergeIn,ge.mergeDeepIn=Ut.mergeDeepIn,ge.withMutations=Ut.withMutations,ge.asMutable=Ut.asMutable,ge.asImmutable=Ut.asImmutable,ge.wasAltered=Ut.wasAltered,ye.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&v;if(r>=this.array.length)return new ye([],t);var o,i=0===r;if(e>0){var a=this.array[r];if((o=a&&a.removeBefore(t,e-g,n))===a&&i)return this}if(i&&!o)return this;var s=ke(this,t);if(!i)for(var c=0;c<r;c++)s.array[c]=void 0;return o&&(s.array[r]=o),s},ye.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r,o=n-1>>>e&v;if(o>=this.array.length)return this;if(e>0){var i=this.array[o];if((r=i&&i.removeAfter(t,e-g,n))===i&&o===this.array.length-1)return this}var a=ke(this,t);return a.array.splice(o+1),r&&(a.array[o]=r),a};var ve,me,be={};function _e(t,e){var n=t._origin,r=t._capacity,o=Te(r),i=t._tail;return a(t._root,t._level,0);function a(t,s,c){return 0===s?function(t,a){var s=a===o?i&&i.array:t&&t.array,c=a>n?0:n-a,u=r-a;return u>y&&(u=y),function(){if(c===u)return be;var t=e?--u:c++;return s&&s[t]}}(t,c):function(t,o,i){var s,c=t&&t.array,u=i>n?0:n-i>>o,l=1+(r-i>>o);return l>y&&(l=y),function(){for(;;){if(s){var t=s();if(t!==be)return t;s=null}if(u===l)return be;var n=e?--l:u++;s=a(c&&c[n],o-g,i+(n<<o))}}}(t,s,c)}}function we(t,e,n,r,o,i,a){var s=Object.create(ge);return s.size=e-t,s._origin=t,s._capacity=e,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function Se(){return ve||(ve=we(0,0,g))}function xe(t,e,n,r,o,i){var a,s=r>>>n&v,c=t&&s<t.array.length;if(!c&&void 0===o)return t;if(n>0){var u=t&&t.array[s],l=xe(u,e,n-g,r,o,i);return l===u?t:((a=ke(t,e)).array[s]=l,a)}return c&&t.array[s]===o?t:(S(i),a=ke(t,e),void 0===o&&s===a.array.length-1?a.array.pop():a.array[s]=o,a)}function ke(t,e){return e&&t&&e===t.ownerID?t:new ye(t?t.array.slice():[],e)}function Ee(t,e){if(e>=Te(t._capacity))return t._tail;if(e<1<<t._level+g){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&v],r-=g;return n}}function Oe(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new x,o=t._origin,i=t._capacity,a=o+e,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return t;if(a>=s)return t.clear();for(var c=t._level,u=t._root,l=0;a+l<0;)u=new ye(u&&u.array.length?[void 0,u]:[],r),l+=1<<(c+=g);l&&(a+=l,o+=l,s+=l,i+=l);for(var f=Te(i),p=Te(s);p>=1<<c+g;)u=new ye(u&&u.array.length?[u]:[],r),c+=g;var h=t._tail,d=p<f?Ee(t,s-1):p>f?new ye([],r):h;if(h&&p>f&&a<i&&h.array.length){for(var y=u=ke(u,r),m=c;m>g;m-=g){var b=f>>>m&v;y=y.array[b]=ke(y.array[b],r)}y.array[f>>>g&v]=h}if(s<i&&(d=d&&d.removeAfter(r,0,s)),a>=p)a-=p,s-=p,c=g,u=null,d=d&&d.removeBefore(r,0,a);else if(a>o||p<f){for(l=0;u;){var _=a>>>c&v;if(_!==p>>>c&v)break;_&&(l+=(1<<c)*_),c-=g,u=u.array[_]}u&&a>o&&(u=u.removeBefore(r,c,a-l)),u&&p<f&&(u=u.removeAfter(r,c,p-l)),l&&(a-=l,s-=l)}return t.__ownerID?(t.size=s-a,t._origin=a,t._capacity=s,t._level=c,t._root=u,t._tail=d,t.__hash=void 0,t.__altered=!0,t):we(a,s,c,u,d)}function Ce(t,e,n){for(var r=[],i=0,s=0;s<n.length;s++){var c=n[s],u=o(c);u.size>i&&(i=u.size),a(c)||(u=u.map(function(t){return ft(t)})),r.push(u)}return i>t.size&&(t=t.setSize(i)),ae(t,e,r)}function Te(t){return t<y?0:t-1>>>g<<g}function Me(t){return null==t?Ie():De(t)?t:Ie().withMutations(function(e){var n=r(t);zt(n.size),n.forEach(function(t,n){return e.set(n,t)})})}function De(t){return Rt(t)&&l(t)}function Ae(t,e,n,r){var o=Object.create(Me.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=n,o.__hash=r,o}function Ie(){return me||(me=Ae($t(),Se()))}function Ke(t,e,n){var r,o,i=t._map,a=t._list,s=i.get(e),c=void 0!==s;if(n===m){if(!c)return t;a.size>=y&&a.size>=2*i.size?(o=a.filter(function(t,e){return void 0!==t&&s!==e}),r=o.toKeyedSeq().map(function(t){return t[0]}).flip().toMap(),t.__ownerID&&(r.__ownerID=o.__ownerID=t.__ownerID)):(r=i.remove(e),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(c){if(n===a.get(s)[1])return t;r=i,o=a.set(s,[e,n])}else r=i.set(e,a.size),o=a.set(a.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=o,t.__hash=void 0,t):Ae(r,o)}function Le(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function Be(t){this._iter=t,this.size=t.size}function Ne(t){this._iter=t,this.size=t.size}function ze(t){this._iter=t,this.size=t.size}function je(t){var e=Qe(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=tn,e.__iterateUncached=function(e,n){var r=this;return t.__iterate(function(t,n){return!1!==e(n,t,r)},n)},e.__iteratorUncached=function(e,n){if(e===L){var r=t.__iterator(e,n);return new j(function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t})}return t.__iterator(e===K?I:K,n)},e}function Re(t,e,n){var r=Qe(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,o){var i=t.get(r,m);return i===m?o:e.call(n,i,r,t)},r.__iterateUncached=function(r,o){var i=this;return t.__iterate(function(t,o,a){return!1!==r(e.call(n,t,o,a),o,i)},o)},r.__iteratorUncached=function(r,o){var i=t.__iterator(L,o);return new j(function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return R(r,s,e.call(n,a[1],s,t),o)})},r}function Pe(t,e){var n=Qe(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=je(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=tn,n.__iterate=function(e,n){var r=this;return t.__iterate(function(t,n){return e(t,n,r)},!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function Fe(t,e,n,r){var o=Qe(t);return r&&(o.has=function(r){var o=t.get(r,m);return o!==m&&!!e.call(n,o,r,t)},o.get=function(r,o){var i=t.get(r,m);return i!==m&&e.call(n,i,r,t)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return t.__iterate(function(t,i,c){if(e.call(n,t,i,c))return s++,o(t,r?i:s-1,a)},i),s},o.__iteratorUncached=function(o,i){var a=t.__iterator(L,i),s=0;return new j(function(){for(;;){var i=a.next();if(i.done)return i;var c=i.value,u=c[0],l=c[1];if(e.call(n,l,u,t))return R(o,r?u:s++,l,i)}})},o}function Ue(t,e,n,r){var o=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n|=0),T(e,n,o))return t;var i=M(e,o),a=D(n,o);if(i!=i||a!=a)return Ue(t.toSeq().cacheResult(),e,n,r);var s,c=a-i;c==c&&(s=c<0?0:c);var u=Qe(t);return u.size=0===s?s:t.size&&s||void 0,!r&&ot(t)&&s>=0&&(u.get=function(e,n){return(e=O(this,e))>=0&&e<s?t.get(e+i,n):n}),u.__iterateUncached=function(e,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,c=!0,u=0;return t.__iterate(function(t,n){if(!c||!(c=a++<i))return u++,!1!==e(t,r?n:u-1,o)&&u!==s}),u},u.__iteratorUncached=function(e,n){if(0!==s&&n)return this.cacheResult().__iterator(e,n);var o=0!==s&&t.__iterator(e,n),a=0,c=0;return new j(function(){for(;a++<i;)o.next();if(++c>s)return{value:void 0,done:!0};var t=o.next();return r||e===K?t:R(e,c-1,e===I?void 0:t.value[1],t)})},u}function qe(t,e,n,r){var o=Qe(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,c=0;return t.__iterate(function(t,i,u){if(!s||!(s=e.call(n,t,i,u)))return c++,o(t,r?i:c-1,a)}),c},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=t.__iterator(L,i),c=!0,u=0;return new j(function(){var t,i,l;do{if((t=s.next()).done)return r||o===K?t:R(o,u++,o===I?void 0:t.value[1],t);var f=t.value;i=f[0],l=f[1],c&&(c=e.call(n,l,i,a))}while(c);return o===L?t:R(o,i,l,t)})},o}function We(t,e,n){var r=Qe(t);return r.__iterateUncached=function(r,o){var i=0,s=!1;return function t(c,u){var l=this;c.__iterate(function(o,c){return(!e||u<e)&&a(o)?t(o,u+1):!1===r(o,n?c:i++,l)&&(s=!0),!s},o)}(t,0),i},r.__iteratorUncached=function(r,o){var i=t.__iterator(r,o),s=[],c=0;return new j(function(){for(;i;){var t=i.next();if(!1===t.done){var u=t.value;if(r===L&&(u=u[1]),e&&!(s.length<e)||!a(u))return n?t:R(r,c++,u,t);s.push(i),i=u.__iterator(r,o)}else i=s.pop()}return{value:void 0,done:!0}})},r}function He(t,e,n){e||(e=en);var r=s(t),o=0,i=t.toSeq().map(function(e,r){return[r,e,o++,n?n(e,r,t):e]}).toArray();return i.sort(function(t,n){return e(t[3],n[3])||t[2]-n[2]}).forEach(r?function(t,e){i[e].length=2}:function(t,e){i[e]=t[1]}),r?J(i):c(t)?G(i):X(i)}function Ve(t,e,n){if(e||(e=en),n){var r=t.toSeq().map(function(e,r){return[e,n(e,r,t)]}).reduce(function(t,n){return Je(e,t[1],n[1])?n:t});return r&&r[0]}return t.reduce(function(t,n){return Je(e,t,n)?n:t})}function Je(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(null==n||n!=n)||r>0}function Ge(t,e,r){var o=Qe(t);return o.size=new tt(r).map(function(t){return t.size}).min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(K,e),o=0;!(n=r.next()).done&&!1!==t(n.value,o++,this););return o},o.__iteratorUncached=function(t,o){var i=r.map(function(t){return t=n(t),q(o?t.reverse():t)}),a=0,s=!1;return new j(function(){var n;return s||(n=i.map(function(t){return t.next()}),s=n.some(function(t){return t.done})),s?{value:void 0,done:!0}:R(t,a++,e.apply(null,n.map(function(t){return t.value})))})},o}function Xe(t,e){return ot(t)?e:t.constructor(e)}function Ye(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Ze(t){return zt(t.size),E(t)}function $e(t){return s(t)?r:c(t)?o:i}function Qe(t){return Object.create((s(t)?J:c(t)?G:X).prototype)}function tn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):V.prototype.cacheResult.call(this)}function en(t,e){return t>e?1:t<e?-1:0}function nn(t){var e=q(t);if(!e){if(!H(t))throw new TypeError("Expected iterable or array-like: "+t);e=q(n(t))}return e}function rn(t,e){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(t);!function(t,e){try{e.forEach(function(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){vt(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}.bind(void 0,t))}catch(t){}}(o,a),o.size=a.length,o._name=e,o._keys=a,o._defaultValues=t}this._map=jt(i)},o=r.prototype=Object.create(on);return o.constructor=r,r}e(Me,jt),Me.of=function(){return this(arguments)},Me.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Me.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Me.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Ie()},Me.prototype.set=function(t,e){return Ke(this,t,e)},Me.prototype.remove=function(t){return Ke(this,t,m)},Me.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Me.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],n)},e)},Me.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Me.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?Ae(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},Me.isOrderedMap=De,Me.prototype[d]=!0,Me.prototype.delete=Me.prototype.remove,e(Le,J),Le.prototype.get=function(t,e){return this._iter.get(t,e)},Le.prototype.has=function(t){return this._iter.has(t)},Le.prototype.valueSeq=function(){return this._iter.valueSeq()},Le.prototype.reverse=function(){var t=this,e=Pe(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},Le.prototype.map=function(t,e){var n=this,r=Re(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},Le.prototype.__iterate=function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?Ze(this):0,function(o){return t(o,e?--n:n++,r)}),e)},Le.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(K,e),r=e?Ze(this):0;return new j(function(){var o=n.next();return o.done?o:R(t,e?--r:r++,o.value,o)})},Le.prototype[d]=!0,e(Be,G),Be.prototype.includes=function(t){return this._iter.includes(t)},Be.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate(function(e){return t(e,r++,n)},e)},Be.prototype.__iterator=function(t,e){var n=this._iter.__iterator(K,e),r=0;return new j(function(){var e=n.next();return e.done?e:R(t,r++,e.value,e)})},e(Ne,X),Ne.prototype.has=function(t){return this._iter.includes(t)},Ne.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){return t(e,e,n)},e)},Ne.prototype.__iterator=function(t,e){var n=this._iter.__iterator(K,e);return new j(function(){var e=n.next();return e.done?e:R(t,e.value,e.value,e)})},e(ze,J),ze.prototype.entrySeq=function(){return this._iter.toSeq()},ze.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){if(e){Ye(e);var r=a(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}},e)},ze.prototype.__iterator=function(t,e){var n=this._iter.__iterator(K,e);return new j(function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){Ye(r);var o=a(r);return R(t,o?r.get(0):r[0],o?r.get(1):r[1],e)}}})},Be.prototype.cacheResult=Le.prototype.cacheResult=Ne.prototype.cacheResult=ze.prototype.cacheResult=tn,e(rn,_t),rn.prototype.toString=function(){return this.__toString(sn(this)+" {","}")},rn.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},rn.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},rn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=an(this,$t()))},rn.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+sn(this));var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:an(this,n)},rn.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:an(this,e)},rn.prototype.wasAltered=function(){return this._map.wasAltered()},rn.prototype.__iterator=function(t,e){var n=this;return r(this._defaultValues).map(function(t,e){return n.get(e)}).__iterator(t,e)},rn.prototype.__iterate=function(t,e){var n=this;return r(this._defaultValues).map(function(t,e){return n.get(e)}).__iterate(t,e)},rn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?an(this,e,t):(this.__ownerID=t,this._map=e,this)};var on=rn.prototype;function an(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function sn(t){return t._name||t.constructor.name||"Record"}function cn(t){return null==t?gn():un(t)&&!l(t)?t:gn().withMutations(function(e){var n=i(t);zt(n.size),n.forEach(function(t){return e.add(t)})})}function un(t){return!(!t||!t[fn])}on.delete=on.remove,on.deleteIn=on.removeIn=Ut.removeIn,on.merge=Ut.merge,on.mergeWith=Ut.mergeWith,on.mergeIn=Ut.mergeIn,on.mergeDeep=Ut.mergeDeep,on.mergeDeepWith=Ut.mergeDeepWith,on.mergeDeepIn=Ut.mergeDeepIn,on.setIn=Ut.setIn,on.update=Ut.update,on.updateIn=Ut.updateIn,on.withMutations=Ut.withMutations,on.asMutable=Ut.asMutable,on.asImmutable=Ut.asImmutable,e(cn,St),cn.of=function(){return this(arguments)},cn.fromKeys=function(t){return this(r(t).keySeq())},cn.prototype.toString=function(){return this.__toString("Set {","}")},cn.prototype.has=function(t){return this._map.has(t)},cn.prototype.add=function(t){return hn(this,this._map.set(t,!0))},cn.prototype.remove=function(t){return hn(this,this._map.remove(t))},cn.prototype.clear=function(){return hn(this,this._map.clear())},cn.prototype.union=function(){var e=t.call(arguments,0);return 0===(e=e.filter(function(t){return 0!==t.size})).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations(function(t){for(var n=0;n<e.length;n++)i(e[n]).forEach(function(e){return t.add(e)})}):this.constructor(e[0])},cn.prototype.intersect=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map(function(t){return i(t)});var n=this;return this.withMutations(function(t){n.forEach(function(n){e.every(function(t){return t.includes(n)})||t.remove(n)})})},cn.prototype.subtract=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map(function(t){return i(t)});var n=this;return this.withMutations(function(t){n.forEach(function(n){e.some(function(t){return t.includes(n)})&&t.remove(n)})})},cn.prototype.merge=function(){return this.union.apply(this,arguments)},cn.prototype.mergeWith=function(e){var n=t.call(arguments,1);return this.union.apply(this,n)},cn.prototype.sort=function(t){return yn(He(this,t))},cn.prototype.sortBy=function(t,e){return yn(He(this,e,t))},cn.prototype.wasAltered=function(){return this._map.wasAltered()},cn.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate(function(e,r){return t(r,r,n)},e)},cn.prototype.__iterator=function(t,e){return this._map.map(function(t,e){return e}).__iterator(t,e)},cn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},cn.isSet=un;var ln,fn="@@__IMMUTABLE_SET__@@",pn=cn.prototype;function hn(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function dn(t,e){var n=Object.create(pn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function gn(){return ln||(ln=dn($t()))}function yn(t){return null==t?wn():vn(t)?t:wn().withMutations(function(e){var n=i(t);zt(n.size),n.forEach(function(t){return e.add(t)})})}function vn(t){return un(t)&&l(t)}pn[fn]=!0,pn.delete=pn.remove,pn.mergeDeep=pn.merge,pn.mergeDeepWith=pn.mergeWith,pn.withMutations=Ut.withMutations,pn.asMutable=Ut.asMutable,pn.asImmutable=Ut.asImmutable,pn.__empty=gn,pn.__make=dn,e(yn,cn),yn.of=function(){return this(arguments)},yn.fromKeys=function(t){return this(r(t).keySeq())},yn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},yn.isOrderedSet=vn;var mn,bn=yn.prototype;function _n(t,e){var n=Object.create(bn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function wn(){return mn||(mn=_n(Ie()))}function Sn(t){return null==t?Tn():xn(t)?t:Tn().unshiftAll(t)}function xn(t){return!(!t||!t[En])}bn[d]=!0,bn.__empty=wn,bn.__make=_n,e(Sn,wt),Sn.of=function(){return this(arguments)},Sn.prototype.toString=function(){return this.__toString("Stack [","]")},Sn.prototype.get=function(t,e){var n=this._head;for(t=O(this,t);n&&t--;)n=n.next;return n?n.value:e},Sn.prototype.peek=function(){return this._head&&this._head.value},Sn.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,n=arguments.length-1;n>=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):Cn(t,e)},Sn.prototype.pushAll=function(t){if(0===(t=o(t)).size)return this;zt(t.size);var e=this.size,n=this._head;return t.reverse().forEach(function(t){e++,n={value:t,next:n}}),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Cn(e,n)},Sn.prototype.pop=function(){return this.slice(1)},Sn.prototype.unshift=function(){return this.push.apply(this,arguments)},Sn.prototype.unshiftAll=function(t){return this.pushAll(t)},Sn.prototype.shift=function(){return this.pop.apply(this,arguments)},Sn.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):Tn()},Sn.prototype.slice=function(t,e){if(T(t,e,this.size))return this;var n=M(t,this.size),r=D(e,this.size);if(r!==this.size)return wt.prototype.slice.call(this,t,e);for(var o=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=o,this._head=i,this.__hash=void 0,this.__altered=!0,this):Cn(o,i)},Sn.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Cn(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Sn.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&!1!==t(r.value,n++,this);)r=r.next;return n},Sn.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new j(function(){if(r){var e=r.value;return r=r.next,R(t,n++,e)}return{value:void 0,done:!0}})},Sn.isStack=xn;var kn,En="@@__IMMUTABLE_STACK__@@",On=Sn.prototype;function Cn(t,e,n,r){var o=Object.create(On);return o.size=t,o._head=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Tn(){return kn||(kn=Cn(0))}function Mn(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}On[En]=!0,On.withMutations=Ut.withMutations,On.asMutable=Ut.asMutable,On.asImmutable=Ut.asImmutable,On.wasAltered=Ut.wasAltered,n.Iterator=j,Mn(n,{toArray:function(){zt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate(function(e,n){t[n]=e}),t},toIndexedSeq:function(){return new Be(this)},toJS:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJS?t.toJS():t}).__toJS()},toJSON:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t}).__toJS()},toKeyedSeq:function(){return new Le(this,!0)},toMap:function(){return jt(this.toKeyedSeq())},toObject:function(){zt(this.size);var t={};return this.__iterate(function(e,n){t[n]=e}),t},toOrderedMap:function(){return Me(this.toKeyedSeq())},toOrderedSet:function(){return yn(s(this)?this.valueSeq():this)},toSet:function(){return cn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Ne(this)},toSeq:function(){return c(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Sn(s(this)?this.valueSeq():this)},toList:function(){return pe(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){var e=t.call(arguments,0);return Xe(this,function(t,e){var n=s(t),o=[t].concat(e).map(function(t){return a(t)?n&&(t=r(t)):t=n?at(t):st(Array.isArray(t)?t:[t]),t}).filter(function(t){return 0!==t.size});if(0===o.length)return t;if(1===o.length){var i=o[0];if(i===t||n&&s(i)||c(t)&&c(i))return i}var u=new tt(o);return n?u=u.toKeyedSeq():c(t)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=o.reduce(function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}},0),u}(this,e))},includes:function(t){return this.some(function(e){return dt(e,t)})},entries:function(){return this.__iterator(L)},every:function(t,e){zt(this.size);var n=!0;return this.__iterate(function(r,o,i){if(!t.call(e,r,o,i))return n=!1,!1}),n},filter:function(t,e){return Xe(this,Fe(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},findEntry:function(t,e){var n;return this.__iterate(function(r,o,i){if(t.call(e,r,o,i))return n=[o,r],!1}),n},findLastEntry:function(t,e){return this.toSeq().reverse().findEntry(t,e)},forEach:function(t,e){return zt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){zt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate(function(r){n?n=!1:e+=t,e+=null!=r?r.toString():""}),e},keys:function(){return this.__iterator(I)},map:function(t,e){return Xe(this,Re(this,t,e))},reduce:function(t,e,n){var r,o;return zt(this.size),arguments.length<2?o=!0:r=e,this.__iterate(function(e,i,a){o?(o=!1,r=e):r=t.call(n,r,e,i,a)}),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Xe(this,Pe(this,!0))},slice:function(t,e){return Xe(this,Ue(this,t,e,!0))},some:function(t,e){return!this.every(Ln(t),e)},sort:function(t){return Xe(this,He(this,t))},values:function(){return this.__iterator(K)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(t,e){return E(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,n){var r=jt().asMutable();return t.__iterate(function(o,i){r.update(e.call(n,o,i,t),0,function(t){return t+1})}),r.asImmutable()}(this,t,e)},equals:function(t){return gt(this,t)},entrySeq:function(){var t=this;if(t._cache)return new tt(t._cache);var e=t.toSeq().map(Kn).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Ln(t),e)},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},first:function(){return this.find(C)},flatMap:function(t,e){return Xe(this,function(t,e,n){var r=$e(t);return t.toSeq().map(function(o,i){return r(e.call(n,o,i,t))}).flatten(!0)}(this,t,e))},flatten:function(t){return Xe(this,We(this,t,!0))},fromEntrySeq:function(){return new ze(this)},get:function(t,e){return this.find(function(e,n){return dt(n,t)},void 0,e)},getIn:function(t,e){for(var n,r=this,o=nn(t);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,m):m)===m)return e}return r},groupBy:function(t,e){return function(t,e,n){var r=s(t),o=(l(t)?Me():jt()).asMutable();t.__iterate(function(i,a){o.update(e.call(n,i,a,t),function(t){return(t=t||[]).push(r?[a,i]:i),t})});var i=$e(t);return o.map(function(e){return Xe(t,i(e))})}(this,t,e)},has:function(t){return this.get(t,m)!==m},hasIn:function(t){return this.getIn(t,m)!==m},isSubset:function(t){return t="function"==typeof t.includes?t:n(t),this.every(function(e){return t.includes(e)})},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:n(t)).isSubset(this)},keySeq:function(){return this.toSeq().map(In).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return Ve(this,t)},maxBy:function(t,e){return Ve(this,e,t)},min:function(t){return Ve(this,t?Bn(t):jn)},minBy:function(t,e){return Ve(this,e?Bn(e):jn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Xe(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Xe(this,qe(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Ln(t),e)},sortBy:function(t,e){return Xe(this,He(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Xe(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Xe(this,function(t,e,n){var r=Qe(t);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return t.__iterate(function(t,o,s){return e.call(n,t,o,s)&&++a&&r(t,o,i)}),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=t.__iterator(L,o),s=!0;return new j(function(){if(!s)return{value:void 0,done:!0};var t=a.next();if(t.done)return t;var o=t.value,c=o[0],u=o[1];return e.call(n,u,c,i)?r===L?t:R(r,c,u,t):(s=!1,{value:void 0,done:!0})})},r}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Ln(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=l(t),n=s(t),r=e?1:0;return function(t,e){return e=xt(e,3432918353),e=xt(e<<15|e>>>-15,461845907),e=xt(e<<13|e>>>-13,5),e=xt((e=(e+3864292196|0)^t)^e>>>16,2246822507),e=kt((e=xt(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(n?e?function(t,e){r=31*r+Rn(Et(t),Et(e))|0}:function(t,e){r=r+Rn(Et(t),Et(e))|0}:e?function(t){r=31*r+Et(t)|0}:function(t){r=r+Et(t)|0}),r)}(this))}});var Dn=n.prototype;Dn[f]=!0,Dn[z]=Dn.values,Dn.__toJS=Dn.toArray,Dn.__toStringMapper=Nn,Dn.inspect=Dn.toSource=function(){return this.toString()},Dn.chain=Dn.flatMap,Dn.contains=Dn.includes,function(){try{Object.defineProperty(Dn,"length",{get:function(){if(!n.noLengthWarning){var t;try{throw new Error}catch(e){t=e.stack}if(-1===t.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+t),this.size}}})}catch(t){}}(),Mn(r,{flip:function(){return Xe(this,je(this))},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLastKey:function(t,e){return this.toSeq().reverse().findKey(t,e)},keyOf:function(t){return this.findKey(function(e){return dt(e,t)})},lastKeyOf:function(t){return this.findLastKey(function(e){return dt(e,t)})},mapEntries:function(t,e){var n=this,r=0;return Xe(this,this.toSeq().map(function(o,i){return t.call(e,[i,o],r++,n)}).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Xe(this,this.toSeq().flip().map(function(r,o){return t.call(e,r,o,n)}).flip())}});var An=r.prototype;function In(t,e){return e}function Kn(t,e){return[e,t]}function Ln(t){return function(){return!t.apply(this,arguments)}}function Bn(t){return function(){return-t.apply(this,arguments)}}function Nn(t){return"string"==typeof t?JSON.stringify(t):t}function zn(){return k(arguments)}function jn(t,e){return t<e?1:t>e?-1:0}function Rn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return An[p]=!0,An[z]=Dn.entries,An.__toJS=Dn.toObject,An.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+Nn(t)},Mn(o,{toKeyedSeq:function(){return new Le(this,!1)},filter:function(t,e){return Xe(this,Fe(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.toKeyedSeq().keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.toKeyedSeq().reverse().keyOf(t);return void 0===e?-1:e},reverse:function(){return Xe(this,Pe(this,!1))},slice:function(t,e){return Xe(this,Ue(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=M(t,t<0?this.count():this.size);var r=this.slice(0,t);return Xe(this,1===n?r:r.concat(k(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.toKeyedSeq().findLastKey(t,e);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(t){return Xe(this,We(this,t,!1))},get:function(t,e){return(t=O(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find(function(e,n){return n===t},void 0,e)},has:function(t){return(t=O(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Xe(this,function(t,e){var n=Qe(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return t.__iterate(function(t,r){return(!i||!1!==n(e,i++,o))&&!1!==n(t,i++,o)},r),i},n.__iteratorUncached=function(n,r){var o,i=t.__iterator(K,r),a=0;return new j(function(){return(!o||a%2)&&(o=i.next()).done?o:a%2?R(n,a++,e):R(n,a++,o.value,o)})},n}(this,t))},interleave:function(){var t=[this].concat(k(arguments)),e=Ge(this.toSeq(),G.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Xe(this,n)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Xe(this,qe(this,t,e,!1))},zip:function(){return Xe(this,Ge(this,zn,[this].concat(k(arguments))))},zipWith:function(t){var e=k(arguments);return e[0]=this,Xe(this,Ge(this,t,e))}}),o.prototype[h]=!0,o.prototype[d]=!0,Mn(i,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),i.prototype.has=Dn.includes,Mn(J,r.prototype),Mn(G,o.prototype),Mn(X,i.prototype),Mn(_t,r.prototype),Mn(wt,o.prototype),Mn(St,i.prototype),{Iterable:n,Seq:V,Collection:bt,Map:jt,OrderedMap:Me,List:pe,Stack:Sn,Set:cn,OrderedSet:yn,Record:rn,Range:mt,Repeat:yt,is:dt,fromJS:ft}}()},function(t,e,n){"use strict";var r=function(t){};t.exports=function(t,e,n,o,i,a,s,c){if(r(e),!t){var u;if(void 0===e)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,o,i,a,s,c],f=0;(u=new Error(e.replace(/%s/g,function(){return l[f++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(t,e,n){"use strict";var r=n(19)||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};var o=n(78),i=n(54),a=n(122),s=n(3),c=n(34),u=s.OrderedSet,l=s.Record,f=s.Stack,p=l({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:f(),selection:null,treeMap:null,undoStack:f()}),h=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._immutable=e}return t.createEmpty=function(e){return t.createWithContent(i.createFromText(""),e)},t.createWithContent=function(e,n){var r=e.getBlockMap().first().getKey();return t.create({currentContent:e,undoStack:f(),redoStack:f(),decorator:n||null,selection:c.createEmpty(r)})},t.create=function(e){var n=e.currentContent,o=e.decorator,i=r({},e,{treeMap:g(n,o),directionMap:a.getDirectionMap(n)});return new t(new p(i))},t.set=function(e,n){return new t(e.getImmutable().withMutations(function(t){var r=t.get("decorator"),i=r;null===n.decorator?i=null:n.decorator&&(i=n.decorator);var a=n.currentContent||e.getCurrentContent();if(i!==r){var s,c=t.get("treeMap");return s=i&&r?function(t,e,n,r,i){return n.merge(e.toSeq().filter(function(e){return r.getDecorations(e,t)!==i.getDecorations(e,t)}).map(function(e){return o.generate(t,e,r)}))}(a,a.getBlockMap(),c,i,r):g(a,i),void t.merge({decorator:i,treeMap:s,nativelyRenderedContent:null})}a!==e.getCurrentContent()&&t.set("treeMap",function(t,e,n,r){var i=t.getCurrentContent().set("entityMap",n),a=i.getBlockMap();return t.getImmutable().get("treeMap").merge(e.toSeq().filter(function(t,e){return t!==a.get(e)}).map(function(t){return o.generate(i,t,r)}))}(e,a.getBlockMap(),a.getEntityMap(),i)),t.merge(n)}))},t.prototype.toJS=function(){return this.getImmutable().toJS()},t.prototype.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},t.prototype.getCurrentContent=function(){return this.getImmutable().get("currentContent")},t.prototype.getUndoStack=function(){return this.getImmutable().get("undoStack")},t.prototype.getRedoStack=function(){return this.getImmutable().get("redoStack")},t.prototype.getSelection=function(){return this.getImmutable().get("selection")},t.prototype.getDecorator=function(){return this.getImmutable().get("decorator")},t.prototype.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},t.prototype.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},t.prototype.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},t.prototype.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},t.prototype.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},t.setInlineStyleOverride=function(e,n){return t.set(e,{inlineStyleOverride:n})},t.prototype.getCurrentInlineStyle=function(){var t=this.getInlineStyleOverride();if(null!=t)return t;var e=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?function(t,e){var n=e.getStartKey(),r=e.getStartOffset(),o=t.getBlockForKey(n);if(r>0)return o.getInlineStyleAt(r-1);if(o.getLength())return o.getInlineStyleAt(0);return y(t,n)}(e,n):function(t,e){var n=e.getStartKey(),r=e.getStartOffset(),o=t.getBlockForKey(n);if(r<o.getLength())return o.getInlineStyleAt(r);if(r>0)return o.getInlineStyleAt(r-1);return y(t,n)}(e,n)},t.prototype.getBlockTree=function(t){return this.getImmutable().getIn(["treeMap",t])},t.prototype.isSelectionAtStartOfContent=function(){var t=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(t,0,0)},t.prototype.isSelectionAtEndOfContent=function(){var t=this.getCurrentContent().getBlockMap().last(),e=t.getLength();return this.getSelection().hasEdgeWithin(t.getKey(),e,e)},t.prototype.getDirectionMap=function(){return this.getImmutable().get("directionMap")},t.acceptSelection=function(t,e){return d(t,e,!1)},t.forceSelection=function(t,e){return e.getHasFocus()||(e=e.set("hasFocus",!0)),d(t,e,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),r=n.getKey(),o=n.getLength();return t.acceptSelection(e,new c({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1}))},t.moveFocusToEnd=function(e){var n=t.moveSelectionToEnd(e);return t.forceSelection(n,n.getSelection())},t.push=function(e,n,r){if(e.getCurrentContent()===n)return e;var o="insert-characters"!==r,i=a.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:i,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:null});var s=e.getSelection(),c=e.getCurrentContent(),u=e.getUndoStack(),l=n;s!==c.getSelectionAfter()||function(t,e){var n=t.getLastChangeType();return e!==n||"insert-characters"!==e&&"backspace-character"!==e&&"delete-character"!==e}(e,r)?(u=u.push(c),l=l.set("selectionBefore",s)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(l=l.set("selectionBefore",c.getSelectionBefore()));var p=e.getInlineStyleOverride();-1===["adjust-depth","change-block-type","split-block"].indexOf(r)&&(p=null);var h={currentContent:l,directionMap:i,undoStack:u,redoStack:f(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:p};return t.set(e,h)},t.undo=function(e){if(!e.getAllowUndo())return e;var n=e.getUndoStack(),r=n.peek();if(!r)return e;var o=e.getCurrentContent(),i=a.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:i,undoStack:n.shift(),redoStack:e.getRedoStack().push(o),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:o.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var n=e.getRedoStack(),r=n.peek();if(!r)return e;var o=e.getCurrentContent(),i=a.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:i,undoStack:e.getUndoStack().push(o),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},t.prototype.getImmutable=function(){return this._immutable},t}();function d(t,e,n){return h.set(t,{selection:e,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function g(t,e){return t.getBlockMap().map(function(n){return o.generate(t,n,e)}).toOrderedMap()}function y(t,e){var n=t.getBlockMap().reverse().skipUntil(function(t,n){return n===e}).skip(1).skipUntil(function(t,e){return t.getLength()}).first();return n?n.getInlineStyleAt(n.getLength()-1):u()}t.exports=h},function(t,e,n){"use strict";(function(t){n.d(e,"a",function(){return b});var r=n(25),o=n(1),i=n.n(o),a=n(0),s=n.n(a);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){u(t,e,n[e])})}return t}function f(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function p(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var h="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};var d,g=(function(t){var e,n,r,o,i,a,s,c,u,l,f,p,d,g,y;e=h,n=function(t,e,r){if(!c(e)||l(e)||f(e)||p(e)||s(e))return e;var o,i=0,a=0;if(u(e))for(o=[],a=e.length;i<a;i++)o.push(n(t,e[i],r));else for(var h in o={},e)Object.prototype.hasOwnProperty.call(e,h)&&(o[t(h,r)]=n(t,e[h],r));return o},r=function(t){return d(t)?t:(t=t.replace(/[\-_\s]+(.)?/g,function(t,e){return e?e.toUpperCase():""})).substr(0,1).toLowerCase()+t.substr(1)},o=function(t){var e=r(t);return e.substr(0,1).toUpperCase()+e.substr(1)},i=function(t,e){return function(t,e){var n=(e=e||{}).separator||"_",r=e.split||/(?=[A-Z])/;return t.split(r).join(n)}(t,e).toLowerCase()},a=Object.prototype.toString,s=function(t){return"function"==typeof t},c=function(t){return t===Object(t)},u=function(t){return"[object Array]"==a.call(t)},l=function(t){return"[object Date]"==a.call(t)},f=function(t){return"[object RegExp]"==a.call(t)},p=function(t){return"[object Boolean]"==a.call(t)},d=function(t){return(t-=0)==t},g=function(t,e){var n=e&&"process"in e?e.process:e;return"function"!=typeof n?t:function(e,r){return n(e,t,r)}},y={camelize:r,decamelize:i,pascalize:o,depascalize:i,camelizeKeys:function(t,e){return n(g(r,e),t)},decamelizeKeys:function(t,e){return n(g(i,e),t,e)},pascalizeKeys:function(t,e){return n(g(o,e),t)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}},t.exports?t.exports=y:e.humps=y}(d={exports:{}},d.exports),d.exports);var y=!1;try{y=!0}catch(t){}function v(t,e){return Array.isArray(e)&&e.length>0||!Array.isArray(e)&&e?u({},t,e):{}}function m(t){return null===t?null:"object"===c(t)&&t.prefix&&t.iconName?t:Array.isArray(t)&&2===t.length?{prefix:t[0],iconName:t[1]}:"string"==typeof t?{prefix:"fas",iconName:t}:void 0}function b(t){var e=t.icon,n=t.mask,o=t.symbol,i=t.className,a=t.title,s=m(e),c=v("classes",[].concat(p(function(t){var e,n=(u(e={"fa-spin":t.spin,"fa-pulse":t.pulse,"fa-fw":t.fixedWidth,"fa-inverse":t.inverse,"fa-border":t.border,"fa-li":t.listItem,"fa-flip-horizontal":"horizontal"===t.flip||"both"===t.flip,"fa-flip-vertical":"vertical"===t.flip||"both"===t.flip},"fa-".concat(t.size),null!==t.size),u(e,"fa-rotate-".concat(t.rotation),null!==t.rotation),u(e,"fa-pull-".concat(t.pull),null!==t.pull),e);return Object.keys(n).map(function(t){return n[t]?t:null}).filter(function(t){return t})}(t)),p(i.split(" ")))),f=v("transform","string"==typeof t.transform?r.b.transform(t.transform):t.transform),h=v("mask",m(n)),d=Object(r.a)(s,l({},c,f,h,{symbol:o,title:a}));if(!d)return function(){var t;!y&&console&&"function"==typeof console.error&&(t=console).error.apply(t,arguments)}("Could not find icon",s),null;var g=d.abstract,w={};return Object.keys(t).forEach(function(e){b.defaultProps.hasOwnProperty(e)||(w[e]=t[e])}),_(g[0],w)}b.displayName="FontAwesomeIcon",b.propTypes={border:i.a.bool,className:i.a.string,mask:i.a.oneOfType([i.a.object,i.a.array,i.a.string]),fixedWidth:i.a.bool,inverse:i.a.bool,flip:i.a.oneOf(["horizontal","vertical","both"]),icon:i.a.oneOfType([i.a.object,i.a.array,i.a.string]),listItem:i.a.bool,pull:i.a.oneOf(["right","left"]),pulse:i.a.bool,rotation:i.a.oneOf([90,180,270]),size:i.a.oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:i.a.bool,symbol:i.a.oneOfType([i.a.bool,i.a.string]),title:i.a.string,transform:i.a.oneOfType([i.a.string,i.a.object])},b.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null};var _=function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var o=(n.children||[]).map(function(n){return t(e,n)}),i=Object.keys(n.attributes||{}).reduce(function(t,e){var r=n.attributes[e];switch(e){case"class":t.attrs.className=r,delete n.attributes.class;break;case"style":t.attrs.style=r.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,e){var n,r=e.indexOf(":"),o=g.camelize(e.slice(0,r)),i=e.slice(r+1).trim();return o.startsWith("webkit")?t[(n=o,n.charAt(0).toUpperCase()+n.slice(1))]=i:t[o]=i,t},{});break;default:0===e.indexOf("aria-")||0===e.indexOf("data-")?t.attrs[e.toLowerCase()]=r:t.attrs[g.camelize(e)]=r}return t},{attrs:{}}),a=r.style,s=void 0===a?{}:a,c=f(r,["style"]);return i.attrs.style=l({},i.attrs.style,s),e.apply(void 0,[n.tag,l({},i.attrs,c)].concat(p(o)))}.bind(null,s.a.createElement)}).call(this,n(12))},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o}),n.d(e,"c",function(){return i}),n.d(e,"d",function(){return a}),n.d(e,"e",function(){return s}),n.d(e,"f",function(){return c}),n.d(e,"g",function(){return u}),n.d(e,"h",function(){return l}),n.d(e,"i",function(){return f}),n.d(e,"j",function(){return p}),n.d(e,"k",function(){return h}),n.d(e,"l",function(){return d}),n.d(e,"m",function(){return g}),n.d(e,"n",function(){return y}),n.d(e,"o",function(){return v}),n.d(e,"p",function(){return m});var r={prefix:"fas",iconName:"backward",icon:[512,512,[],"f04a","M11.5 280.6l192 160c20.6 17.2 52.5 2.8 52.5-24.6V96c0-27.4-31.9-41.8-52.5-24.6l-192 160c-15.3 12.8-15.3 36.4 0 49.2zm256 0l192 160c20.6 17.2 52.5 2.8 52.5-24.6V96c0-27.4-31.9-41.8-52.5-24.6l-192 160c-15.3 12.8-15.3 36.4 0 49.2z"]},o={prefix:"fas",iconName:"cog",icon:[512,512,[],"f013","M487.4 315.7l-42.6-24.6c4.3-23.2 4.3-47 0-70.2l42.6-24.6c4.9-2.8 7.1-8.6 5.5-14-11.1-35.6-30-67.8-54.7-94.6-3.8-4.1-10-5.1-14.8-2.3L380.8 110c-17.9-15.4-38.5-27.3-60.8-35.1V25.8c0-5.6-3.9-10.5-9.4-11.7-36.7-8.2-74.3-7.8-109.2 0-5.5 1.2-9.4 6.1-9.4 11.7V75c-22.2 7.9-42.8 19.8-60.8 35.1L88.7 85.5c-4.9-2.8-11-1.9-14.8 2.3-24.7 26.7-43.6 58.9-54.7 94.6-1.7 5.4.6 11.2 5.5 14L67.3 221c-4.3 23.2-4.3 47 0 70.2l-42.6 24.6c-4.9 2.8-7.1 8.6-5.5 14 11.1 35.6 30 67.8 54.7 94.6 3.8 4.1 10 5.1 14.8 2.3l42.6-24.6c17.9 15.4 38.5 27.3 60.8 35.1v49.2c0 5.6 3.9 10.5 9.4 11.7 36.7 8.2 74.3 7.8 109.2 0 5.5-1.2 9.4-6.1 9.4-11.7v-49.2c22.2-7.9 42.8-19.8 60.8-35.1l42.6 24.6c4.9 2.8 11 1.9 14.8-2.3 24.7-26.7 43.6-58.9 54.7-94.6 1.5-5.5-.7-11.3-5.6-14.1zM256 336c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z"]},i={prefix:"fas",iconName:"forward",icon:[512,512,[],"f04e","M500.5 231.4l-192-160C287.9 54.3 256 68.6 256 96v320c0 27.4 31.9 41.8 52.5 24.6l192-160c15.3-12.8 15.3-36.4 0-49.2zm-256 0l-192-160C31.9 54.3 0 68.6 0 96v320c0 27.4 31.9 41.8 52.5 24.6l192-160c15.3-12.8 15.3-36.4 0-49.2z"]},a={prefix:"fas",iconName:"i-cursor",icon:[256,512,[],"f246","M256 52.048V12.065C256 5.496 250.726.148 244.158.066 211.621-.344 166.469.011 128 37.959 90.266.736 46.979-.114 11.913.114 5.318.157 0 5.519 0 12.114v39.645c0 6.687 5.458 12.078 12.145 11.998C38.111 63.447 96 67.243 96 112.182V224H60c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h36v112c0 44.932-56.075 48.031-83.95 47.959C5.404 447.942 0 453.306 0 459.952v39.983c0 6.569 5.274 11.917 11.842 11.999 32.537.409 77.689.054 116.158-37.894 37.734 37.223 81.021 38.073 116.087 37.845 6.595-.043 11.913-5.405 11.913-12V460.24c0-6.687-5.458-12.078-12.145-11.998C217.889 448.553 160 444.939 160 400V288h36c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-36V112.182c0-44.932 56.075-48.213 83.95-48.142 6.646.018 12.05-5.346 12.05-11.992z"]},s={prefix:"fas",iconName:"keyboard",icon:[576,512,[],"f11c","M528 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h480c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM128 180v-40c0-6.627-5.373-12-12-12H76c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm-336 96v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm-336 96v-40c0-6.627-5.373-12-12-12H76c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm288 0v-40c0-6.627-5.373-12-12-12H172c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h232c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12z"]},c={prefix:"fas",iconName:"mouse-pointer",icon:[320,512,[],"f245","M302.189 329.126H196.105l55.831 135.993c3.889 9.428-.555 19.999-9.444 23.999l-49.165 21.427c-9.165 4-19.443-.571-23.332-9.714l-53.053-129.136-86.664 89.138C18.729 472.71 0 463.554 0 447.977V18.299C0 1.899 19.921-6.096 30.277 5.443l284.412 292.542c11.472 11.179 3.007 31.141-12.5 31.141z"]},u={prefix:"fas",iconName:"pause",icon:[448,512,[],"f04c","M144 479H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zm304-48V79c0-26.5-21.5-48-48-48h-96c-26.5 0-48 21.5-48 48v352c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48z"]},l={prefix:"fas",iconName:"play",icon:[448,512,[],"f04b","M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"]},f={prefix:"fas",iconName:"question-circle",icon:[512,512,[],"f059","M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"]},p={prefix:"fas",iconName:"save",icon:[448,512,[],"f0c7","M433.941 129.941l-83.882-83.882A48 48 0 0 0 316.118 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V163.882a48 48 0 0 0-14.059-33.941zM224 416c-35.346 0-64-28.654-64-64 0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64zm96-304.52V212c0 6.627-5.373 12-12 12H76c-6.627 0-12-5.373-12-12V108c0-6.627 5.373-12 12-12h228.52c3.183 0 6.235 1.264 8.485 3.515l3.48 3.48A11.996 11.996 0 0 1 320 111.48z"]},h={prefix:"fas",iconName:"tv",icon:[640,512,[],"f26c","M592 0H48C21.5 0 0 21.5 0 48v320c0 26.5 21.5 48 48 48h245.1v32h-160c-17.7 0-32 14.3-32 32s14.3 32 32 32h384c17.7 0 32-14.3 32-32s-14.3-32-32-32h-160v-32H592c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zm-16 352H64V64h512v288z"]},d={prefix:"fas",iconName:"undo",icon:[512,512,[],"f0e2","M212.333 224.333H12c-6.627 0-12-5.373-12-12V12C0 5.373 5.373 0 12 0h48c6.627 0 12 5.373 12 12v78.112C117.773 39.279 184.26 7.47 258.175 8.007c136.906.994 246.448 111.623 246.157 248.532C504.041 393.258 393.12 504 256.333 504c-64.089 0-122.496-24.313-166.51-64.215-5.099-4.622-5.334-12.554-.467-17.42l33.967-33.967c4.474-4.474 11.662-4.717 16.401-.525C170.76 415.336 211.58 432 256.333 432c97.268 0 176-78.716 176-176 0-97.267-78.716-176-176-176-58.496 0-110.28 28.476-142.274 72.333h98.274c6.627 0 12 5.373 12 12v48c0 6.627-5.373 12-12 12z"]},g={prefix:"fas",iconName:"user-edit",icon:[640,512,[],"f4ff","M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h274.9c-2.4-6.8-3.4-14-2.6-21.3l6.8-60.9 1.2-11.1 7.9-7.9 77.3-77.3c-24.5-27.7-60-45.5-99.9-45.5zm45.3 145.3l-6.8 61c-1.1 10.2 7.5 18.8 17.6 17.6l60.9-6.8 137.9-137.9-71.7-71.7-137.9 137.8zM633 268.9L595.1 231c-9.3-9.3-24.5-9.3-33.8 0l-37.8 37.8-4.1 4.1 71.8 71.7 41.8-41.8c9.3-9.4 9.3-24.5 0-33.9z"]},y={prefix:"fas",iconName:"volume-mute",icon:[512,512,[],"f6a9","M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zM461.64 256l45.64-45.64c6.3-6.3 6.3-16.52 0-22.82l-22.82-22.82c-6.3-6.3-16.52-6.3-22.82 0L416 210.36l-45.64-45.64c-6.3-6.3-16.52-6.3-22.82 0l-22.82 22.82c-6.3 6.3-6.3 16.52 0 22.82L370.36 256l-45.63 45.63c-6.3 6.3-6.3 16.52 0 22.82l22.82 22.82c6.3 6.3 16.52 6.3 22.82 0L416 301.64l45.64 45.64c6.3 6.3 16.52 6.3 22.82 0l22.82-22.82c6.3-6.3 6.3-16.52 0-22.82L461.64 256z"]},v={prefix:"fas",iconName:"volume-up",icon:[576,512,[],"f028","M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zm233.32-51.08c-11.17-7.33-26.18-4.24-33.51 6.95-7.34 11.17-4.22 26.18 6.95 33.51 66.27 43.49 105.82 116.6 105.82 195.58 0 78.98-39.55 152.09-105.82 195.58-11.17 7.32-14.29 22.34-6.95 33.5 7.04 10.71 21.93 14.56 33.51 6.95C528.27 439.58 576 351.33 576 256S528.27 72.43 448.35 19.97zM480 256c0-63.53-32.06-121.94-85.77-156.24-11.19-7.14-26.03-3.82-33.12 7.46s-3.78 26.21 7.41 33.36C408.27 165.97 432 209.11 432 256s-23.73 90.03-63.48 115.42c-11.19 7.14-14.5 22.07-7.41 33.36 6.51 10.36 21.12 15.14 33.12 7.46C447.94 377.94 480 319.54 480 256zm-141.77-76.87c-11.58-6.33-26.19-2.16-32.61 9.45-6.39 11.61-2.16 26.2 9.45 32.61C327.98 228.28 336 241.63 336 256c0 14.38-8.02 27.72-20.92 34.81-11.61 6.41-15.84 21-9.45 32.61 6.43 11.66 21.05 15.8 32.61 9.45 28.23-15.55 45.77-45 45.77-76.88s-17.54-61.32-45.78-76.86z"]},m={prefix:"fas",iconName:"window-close",icon:[512,512,[],"f410","M464 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-83.6 290.5c4.8 4.8 4.8 12.6 0 17.4l-40.5 40.5c-4.8 4.8-12.6 4.8-17.4 0L256 313.3l-66.5 67.1c-4.8 4.8-12.6 4.8-17.4 0l-40.5-40.5c-4.8-4.8-4.8-12.6 0-17.4l67.1-66.5-67.1-66.5c-4.8-4.8-4.8-12.6 0-17.4l40.5-40.5c4.8-4.8 12.6-4.8 17.4 0l66.5 67.1 66.5-67.1c4.8-4.8 12.6-4.8 17.4 0l40.5 40.5c4.8 4.8 4.8 12.6 0 17.4L313.3 256l67.1 66.5z"]}},function(t,e,n){"use strict";n.r(e);var r=function(t,e){function n(t){return 10>t?"0".concat(parseInt(t)):parseInt(t)}var r=25;void 0!==e&&(r=e);var o=function(t,e){return+(1/e*Math.floor(+(e*t).toPrecision(12))).toFixed(2)}(t,r),i=Math.floor(o),a=((o-i)*r).toFixed(2);return"".concat(n(i/60/60%60),":").concat(n(i/60%60),":").concat(n(i%60),":").concat(n(a))},o=function(t,e){var n=25;return void 0!==e&&(n=e),+(+function(t,e){var n=t.split(":"),r=parseInt(n[3]);return r+=parseInt(n[2])*e,r+=parseInt(n[1])*(60*e),r+=parseInt(n[0])*(60*e*60)}(t,n)/n).toFixed(2)},i=function(t){return 1===t.length},a=function(t){if("string"!=typeof t)return t;switch(t.split(":").length){case 4:return t;case 2:return i(t.split(":")[0])?"00:0".concat(t,":00"):"00:".concat(t,":00");case 3:return"".concat(t,":00");default:return function(t){return t.includes(".")}(t)?i(t.split(".")[0])?"00:0".concat(t.split(".")[0],":").concat(t.split(".")[1],":00"):"00:".concat(t.replace(".",":"),":00"):i(t)?"00:00:0".concat(t,":00"):"00:00:".concat(t,":00")}};n.d(e,"timecodeToSeconds",function(){return s}),n.d(e,"shortTimecode",function(){return c}),n.d(e,"secondsToTimecode",function(){return r});var s=function(t){if("string"==typeof t){var e=a(t);return o(e)}return parseFloat(t)},c=function(t){return r(t).slice(0,-3)}},,function(t,e,n){"use strict";var r=n(109),o=n(36),i=n(17),a=n(125),s=n(30),c=n(54),u=n(57),l=n(81),f=n(126),p=n(83),h=n(45),d=n(16),g=n(79),y=n(5),v=n(64),m=n(97),b=n(34),_=n(187),w={Editor:f,EditorBlock:p,EditorState:y,CompositeDecorator:a,Entity:h,EntityInstance:g,BlockMapBuilder:o,CharacterMetadata:i,ContentBlock:s,ContentState:c,SelectionState:b,AtomicBlockUtils:r,KeyBindingUtil:v,Modifier:d,RichUtils:m,DefaultDraftBlockRenderMap:u,DefaultDraftInlineStyle:l,convertFromHTML:n(95),convertFromRaw:n(190),convertToRaw:_,genKey:n(23),getDefaultKeyBinding:n(98),getVisibleSelectionRect:n(195)};t.exports=w},,function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var o=(a=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),i=r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"});return[n].concat(i).concat([o]).join("\n")}var a;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];null!=i&&(r[i]=!0)}for(o=0;o<t.length;o++){var a=t[o];null!=a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(t,e,n){var r,o,i={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),s=function(t){var e={};return function(t,n){if("function"==typeof t)return t();if(void 0===e[t]){var r=function(t,e){return e?e.querySelector(t):document.querySelector(t)}.call(this,t,n);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}}(),c=null,u=0,l=[],f=n(32);function p(t,e){for(var n=0;n<t.length;n++){var r=t[n],o=i[r.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(;a<r.parts.length;a++)o.parts.push(m(r.parts[a],e))}else{var s=[];for(a=0;a<r.parts.length;a++)s.push(m(r.parts[a],e));i[r.id]={id:r.id,refs:1,parts:s}}}}function h(t,e){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],a=e.base?i[0]+e.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function d(t,e){var n=s(t.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=l[l.length-1];if("top"===t.insertAt)r?r.nextSibling?n.insertBefore(e,r.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),l.push(e);else if("bottom"===t.insertAt)n.appendChild(e);else{if("object"!=typeof t.insertAt||!t.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=s(t.insertAt.before,n);n.insertBefore(e,o)}}function g(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=l.indexOf(t);e>=0&&l.splice(e,1)}function y(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var r=function(){0;return n.nc}();r&&(t.attrs.nonce=r)}return v(e,t.attrs),d(t,e),e}function v(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function m(t,e){var n,r,o,i;if(e.transform&&t.css){if(!(i="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=i}if(e.singleton){var a=u++;n=c||(c=y(e)),r=w.bind(null,n,a,!1),o=w.bind(null,n,a,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",v(e,t.attrs),d(t,e),e}(e),r=function(t,e,n){var r=n.css,o=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||i)&&(r=f(r));o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,e),o=function(){g(n),n.href&&URL.revokeObjectURL(n.href)}):(n=y(e),r=function(t,e){var n=e.css,r=e.media;r&&t.setAttribute("media",r);if(t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),o=function(){g(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=a()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=h(t,e);return p(n,e),function(t){for(var r=[],o=0;o<n.length;o++){var a=n[o];(s=i[a.id]).refs--,r.push(s)}t&&p(h(t,e),e);for(o=0;o<r.length;o++){var s;if(0===(s=r[o]).refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete i[s.id]}}}};var b,_=(b=[],function(t,e){return b[t]=e,b.filter(Boolean).join("\n")});function w(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=_(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}},,function(t,e,n){"use strict";var r=n(17),o=n(111),i=n(26),a=n(3),s=n(112),c=n(114),u=n(44),l=n(117),f=n(118),p=n(4),h=n(119),d=n(75),g=n(120),y=n(121),v=a.OrderedSet,m={replaceText:function(t,e,n,o,i){var a=d(t,e),s=g(a,e),c=r.create({style:o||v(),entity:i||null});return f(s,s.getSelectionAfter(),n,c)},insertText:function(t,e,n,r,o){return e.isCollapsed()||p(!1),m.replaceText(t,e,n,r,o)},moveText:function(t,e,n){var r=u(t,e),o=m.removeRange(t,e,"backward");return m.replaceWithFragment(o,n,r)},replaceWithFragment:function(t,e,n){var r=d(t,e),o=g(r,e);return l(o,o.getSelectionAfter(),n)},removeRange:function(t,e,n){var r,o,a=void 0,s=void 0;e.getIsBackward()&&(e=e.merge({anchorKey:e.getFocusKey(),anchorOffset:e.getFocusOffset(),focusKey:e.getAnchorKey(),focusOffset:e.getAnchorOffset(),isBackward:!1})),r=e.getAnchorKey(),o=e.getFocusKey(),a=t.getBlockForKey(r),s=t.getBlockForKey(o);var u=e.getStartOffset(),l=e.getEndOffset(),f=a.getEntityAt(u),p=s.getEntityAt(l-1);if(r===o&&f&&f===p){var h=c(t.getEntityMap(),a,s,e,n);return g(t,h)}var y=e;i.draft_segmented_entities_behavior&&(y=c(t.getEntityMap(),a,s,e,n));var v=d(t,y);return g(v,y)},splitBlock:function(t,e){var n=d(t,e),r=g(n,e);return y(r,r.getSelectionAfter())},applyInlineStyle:function(t,e,n){return o.add(t,e,n)},removeInlineStyle:function(t,e,n){return o.remove(t,e,n)},setBlockType:function(t,e,n){return h(t,e,function(t){return t.merge({type:n,depth:0})})},setBlockData:function(t,e,n){return h(t,e,function(t){return t.merge({data:n})})},mergeBlockData:function(t,e,n){return h(t,e,function(t){return t.merge({data:t.getData().merge(n)})})},applyEntity:function(t,e,n){var r=d(t,e);return s(r,e,n)}};t.exports=m},function(t,e,n){"use strict";var r=n(3),o=r.Map,i=r.OrderedSet,a=r.Record,s=i(),c={style:s,entity:null},u=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.getStyle=function(){return this.get("style")},e.prototype.getEntity=function(){return this.get("entity")},e.prototype.hasStyle=function(t){return this.getStyle().includes(t)},e.applyStyle=function(t,n){var r=t.set("style",t.getStyle().add(n));return e.create(r)},e.removeStyle=function(t,n){var r=t.set("style",t.getStyle().remove(n));return e.create(r)},e.applyEntity=function(t,n){var r=t.getEntity()===n?t:t.set("entity",n);return e.create(r)},e.create=function(t){if(!t)return l;var n=o({style:s,entity:null}).merge(t),r=f.get(n);if(r)return r;var i=new e(n);return f=f.set(n,i),i},e}(a(c)),l=new u,f=o([[o(c),l]]);u.EMPTY=l,t.exports=u},,function(t,e,n){"use strict";
2/*
3object-assign
4(c) Sindre Sorhus
5@license MIT
6*/var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,a,s=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),c=1;c<arguments.length;c++){for(var u in n=Object(arguments[c]))o.call(n,u)&&(s[u]=n[u]);if(r){a=r(n);for(var l=0;l<a.length;l++)i.call(n,a[l])&&(s[a[l]]=n[a[l]])}}return s}},function(t,e,n){"use strict";var r=n(17),o=n(3),i=n(37),a=o.List,s=o.Map,c=o.OrderedSet,u=o.Record,l=o.Repeat,f=c(),p={parent:null,characterList:a(),data:s(),depth:0,key:"",text:"",type:"unstyled",children:a(),prevSibling:null,nextSibling:null},h=function(t,e){return t.getStyle()===e.getStyle()},d=function(t,e){return t.getEntity()===e.getEntity()},g=function(t){if(!t)return t;var e=t.characterList,n=t.text;return n&&!e&&(t.characterList=a(l(r.EMPTY,n.length))),t},y=function(t){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,g(n)))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.getKey=function(){return this.get("key")},e.prototype.getType=function(){return this.get("type")},e.prototype.getText=function(){return this.get("text")},e.prototype.getCharacterList=function(){return this.get("characterList")},e.prototype.getLength=function(){return this.getText().length},e.prototype.getDepth=function(){return this.get("depth")},e.prototype.getData=function(){return this.get("data")},e.prototype.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():f},e.prototype.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},e.prototype.getChildKeys=function(){return this.get("children")},e.prototype.getParentKey=function(){return this.get("parent")},e.prototype.getPrevSiblingKey=function(){return this.get("prevSibling")},e.prototype.getNextSiblingKey=function(){return this.get("nextSibling")},e.prototype.findStyleRanges=function(t,e){i(this.getCharacterList(),h,t,e)},e.prototype.findEntityRanges=function(t,e){i(this.getCharacterList(),d,t,e)},e}(u(p));t.exports=y},function(t,e,n){"use strict";t.exports=function(t){if(null!=t)return t;throw new Error("Got unexpected null or undefined")}},function(t,e,n){"use strict";var r=n(132),o=n(135),i=n(136),a=n(137);function s(t,e,n,r){if(t===n)return!0;if(!n.startsWith(t))return!1;var i=n.slice(t.length);return!!e&&(i=r?r(i):i,o.contains(i,e))}function c(t){return"Windows"===r.platformName?t.replace(/^\s*NT/,""):t}var u={isBrowser:function(t){return s(r.browserName,r.browserFullVersion,t)},isBrowserArchitecture:function(t){return s(r.browserArchitecture,null,t)},isDevice:function(t){return s(r.deviceName,null,t)},isEngine:function(t){return s(r.engineName,r.engineVersion,t)},isPlatform:function(t){return s(r.platformName,r.platformFullVersion,t,c)},isPlatformArchitecture:function(t){return s(r.platformArchitecture,null,t)}};t.exports=i(u,a)},function(t,e,n){"use strict";var r={},o=Math.pow(2,24);t.exports=function(){for(var t=void 0;void 0===t||r.hasOwnProperty(t)||!isNaN(+t);)t=Math.floor(Math.random()*o).toString(32);return r[t]=!0,t}},function(t,e,n){var r=n(197);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(t.exports=r.locals)},function(t,e,n){"use strict";(function(t,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){a(t,e,n[e])})}return t}function c(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}n.d(e,"a",function(){return Dt}),n.d(e,"b",function(){return Mt});var u=function(){},l={},f={},p={mark:u,measure:u};try{"undefined"!=typeof window&&(l=window),"undefined"!=typeof document&&(f=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&(p=performance)}catch(t){}var h=(l.navigator||{}).userAgent,d=void 0===h?"":h,g=l,y=f,v=p,m=(g.document,!!y.documentElement&&!!y.head&&"function"==typeof y.addEventListener&&"function"==typeof y.createElement),b=(~d.indexOf("MSIE")||d.indexOf("Trident/"),"fa"),_="svg-inline--fa",w="data-fa-i2svg",S=(function(){try{}catch(t){return!1}}(),[1,2,3,4,5,6,7,8,9,10]),x=S.concat([11,12,13,14,15,16,17,18,19,20]),k=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter"].concat(S.map(function(t){return"".concat(t,"x")})).concat(x.map(function(t){return"w-".concat(t)})),g.FontAwesomeConfig||{});if(y&&"function"==typeof y.querySelector){[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(function(t){var e=c(t,2),n=e[0],r=e[1],o=function(t){return""===t||"false"!==t&&("true"===t||t)}(function(t){var e=y.querySelector("script["+t+"]");if(e)return e.getAttribute(t)}(n));null!=o&&(k[r]=o)})}var E=s({},{familyPrefix:b,replacementClass:_,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},k);E.autoReplaceSvg||(E.observeMutations=!1);var O=s({},E);g.FontAwesomeConfig=O;var C=g||{};C.___FONT_AWESOME___||(C.___FONT_AWESOME___={}),C.___FONT_AWESOME___.styles||(C.___FONT_AWESOME___.styles={}),C.___FONT_AWESOME___.hooks||(C.___FONT_AWESOME___.hooks={}),C.___FONT_AWESOME___.shims||(C.___FONT_AWESOME___.shims=[]);var T=C.___FONT_AWESOME___,M=[];m&&((y.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(y.readyState)||y.addEventListener("DOMContentLoaded",function t(){y.removeEventListener("DOMContentLoaded",t),1,M.map(function(t){return t()})}));var D,A="pending",I="settled",K="fulfilled",L="rejected",B=function(){},N=void 0!==t&&void 0!==t.process&&"function"==typeof t.process.emit,z=void 0===r?setTimeout:r,j=[];function R(){for(var t=0;t<j.length;t++)j[t][0](j[t][1]);j=[],D=!1}function P(t,e){j.push([t,e]),D||(D=!0,z(R,0))}function F(t){var e=t.owner,n=e._state,r=e._data,o=t[n],i=t.then;if("function"==typeof o){n=K;try{r=o(r)}catch(t){H(i,t)}}U(i,r)||(n===K&&q(i,r),n===L&&H(i,r))}function U(t,e){var n;try{if(t===e)throw new TypeError("A promises callback cannot return that same promise.");if(e&&("function"==typeof e||"object"===o(e))){var r=e.then;if("function"==typeof r)return r.call(e,function(r){n||(n=!0,e===r?W(t,r):q(t,r))},function(e){n||(n=!0,H(t,e))}),!0}}catch(e){return n||H(t,e),!0}return!1}function q(t,e){t!==e&&U(t,e)||W(t,e)}function W(t,e){t._state===A&&(t._state=I,t._data=e,P(J,t))}function H(t,e){t._state===A&&(t._state=I,t._data=e,P(G,t))}function V(t){t._then=t._then.forEach(F)}function J(t){t._state=K,V(t)}function G(e){e._state=L,V(e),!e._handled&&N&&t.process.emit("unhandledRejection",e._data,e)}function X(e){t.process.emit("rejectionHandled",e)}function Y(t){if("function"!=typeof t)throw new TypeError("Promise resolver "+t+" is not a function");if(this instanceof Y==!1)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(t,e){function n(t){H(e,t)}try{t(function(t){q(e,t)},n)}catch(t){n(t)}}(t,this)}Y.prototype={constructor:Y,_state:A,_then:null,_data:void 0,_handled:!1,then:function(t,e){var n={owner:this,then:new this.constructor(B),fulfilled:t,rejected:e};return!e&&!t||this._handled||(this._handled=!0,this._state===L&&N&&P(X,this)),this._state===K||this._state===L?P(F,n):this._then.push(n),n.then},catch:function(t){return this.then(null,t)}},Y.all=function(t){if(!Array.isArray(t))throw new TypeError("You must pass an array to Promise.all().");return new Y(function(e,n){var r=[],o=0;function i(t){return o++,function(n){r[t]=n,--o||e(r)}}for(var a,s=0;s<t.length;s++)(a=t[s])&&"function"==typeof a.then?a.then(i(s),n):r[s]=a;o||e(r)})},Y.race=function(t){if(!Array.isArray(t))throw new TypeError("You must pass an array to Promise.race().");return new Y(function(e,n){for(var r,o=0;o<t.length;o++)(r=t[o])&&"function"==typeof r.then?r.then(e,n):e(r)})},Y.resolve=function(t){return t&&"object"===o(t)&&t.constructor===Y?t:new Y(function(e){e(t)})},Y.reject=function(t){return new Y(function(e,n){n(t)})};"function"==typeof Promise&&Promise;var Z={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function $(t){if(t&&m){var e=y.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;for(var n=y.head.childNodes,r=null,o=n.length-1;o>-1;o--){var i=n[o],a=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=i)}return y.head.insertBefore(e,r),t}}var Q="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function tt(){for(var t=12,e="";t-- >0;)e+=Q[62*Math.random()|0];return e}function et(t){return"".concat(t).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function nt(t){return Object.keys(t||{}).reduce(function(e,n){return e+"".concat(n,": ").concat(t[n],";")},"")}function rt(t){return t.size!==Z.size||t.x!==Z.x||t.y!==Z.y||t.rotate!==Z.rotate||t.flipX||t.flipY}function ot(t){var e=t.transform,n=t.containerWidth,r=t.iconWidth,o={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(32*e.x,", ").concat(32*e.y,") "),a="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),s="rotate(".concat(e.rotate," 0 0)");return{outer:o,inner:{transform:"".concat(i," ").concat(a," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var it={x:0,y:0,width:"100%",height:"100%"};function at(t){var e=t.icons,n=e.main,r=e.mask,o=t.prefix,i=t.iconName,a=t.transform,c=t.symbol,u=t.title,l=t.extra,f=t.watchable,p=void 0!==f&&f,h=r.found?r:n,d=h.width,g=h.height,y="fa-w-".concat(Math.ceil(d/g*16)),v=[O.replacementClass,i?"".concat(O.familyPrefix,"-").concat(i):"",y].filter(function(t){return-1===l.classes.indexOf(t)}).concat(l.classes).join(" "),m={children:[],attributes:s({},l.attributes,{"data-prefix":o,"data-icon":i,class:v,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(d," ").concat(g)})};p&&(m.attributes[w]=""),u&&m.children.push({tag:"title",attributes:{id:m.attributes["aria-labelledby"]||"title-".concat(tt())},children:[u]});var b=s({},m,{prefix:o,iconName:i,main:n,mask:r,transform:a,symbol:c,styles:l.styles}),_=r.found&&n.found?function(t){var e=t.children,n=t.attributes,r=t.main,o=t.mask,i=t.transform,a=r.width,c=r.icon,u=o.width,l=o.icon,f=ot({transform:i,containerWidth:u,iconWidth:a}),p={tag:"rect",attributes:s({},it,{fill:"white"})},h={tag:"g",attributes:s({},f.inner),children:[{tag:"path",attributes:s({},c.attributes,f.path,{fill:"black"})}]},d={tag:"g",attributes:s({},f.outer),children:[h]},g="mask-".concat(tt()),y="clip-".concat(tt()),v={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:[l]},{tag:"mask",attributes:s({},it,{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,d]}]};return e.push(v,{tag:"rect",attributes:s({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(g,")")},it)}),{children:e,attributes:n}}(b):function(t){var e=t.children,n=t.attributes,r=t.main,o=t.transform,i=nt(t.styles);if(i.length>0&&(n.style=i),rt(o)){var a=ot({transform:o,containerWidth:r.width,iconWidth:r.width});e.push({tag:"g",attributes:s({},a.outer),children:[{tag:"g",attributes:s({},a.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:s({},r.icon.attributes,a.path)}]}]})}else e.push(r.icon);return{children:e,attributes:n}}(b),S=_.children,x=_.attributes;return b.children=S,b.attributes=x,c?function(t){var e=t.prefix,n=t.iconName,r=t.children,o=t.attributes,i=t.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:s({},o,{id:!0===i?"".concat(e,"-").concat(O.familyPrefix,"-").concat(n):i}),children:r}]}]}(b):function(t){var e=t.children,n=t.main,r=t.mask,o=t.attributes,i=t.styles,a=t.transform;if(rt(a)&&n.found&&!r.found){var c={x:n.width/n.height/2,y:.5};o.style=nt(s({},i,{"transform-origin":"".concat(c.x+a.x/16,"em ").concat(c.y+a.y/16,"em")}))}return[{tag:"svg",attributes:o,children:e}]}(b)}var st=function(){},ct=(O.measurePerformance&&v&&v.mark&&v.measure,function(t,e,n,r){var o,i,a,s=Object.keys(t),c=s.length,u=void 0!==r?function(t,e){return function(n,r,o,i){return t.call(e,n,r,o,i)}}(e,r):e;for(void 0===n?(o=1,a=t[s[0]]):(o=0,a=n);o<c;o++)a=u(a,t[i=s[o]],i,t);return a});var ut=T.styles,lt=T.shims,ft=function(){var t=function(t){return ct(ut,function(e,n,r){return e[r]=ct(n,t,{}),e},{})};t(function(t,e,n){return e[3]&&(t[e[3]]=n),t}),t(function(t,e,n){var r=e[2];return t[n]=n,r.forEach(function(e){t[e]=n}),t});var e="far"in ut;ct(lt,function(t,n){var r=n[0],o=n[1],i=n[2];return"far"!==o||e||(o="fas"),t[r]={prefix:o,iconName:i},t},{})};ft();T.styles;function pt(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}function ht(t){var e=t.tag,n=t.attributes,r=void 0===n?{}:n,o=t.children,i=void 0===o?[]:o;return"string"==typeof t?et(t):"<".concat(e," ").concat(function(t){return Object.keys(t||{}).reduce(function(e,n){return e+"".concat(n,'="').concat(et(t[n]),'" ')},"").trim()}(r),">").concat(i.map(ht).join(""),"</").concat(e,">")}var dt=function(t){var e={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t?t.toLowerCase().split(" ").reduce(function(t,e){var n=e.toLowerCase().split("-"),r=n[0],o=n.slice(1).join("-");if(r&&"h"===o)return t.flipX=!0,t;if(r&&"v"===o)return t.flipY=!0,t;if(o=parseFloat(o),isNaN(o))return t;switch(r){case"grow":t.size=t.size+o;break;case"shrink":t.size=t.size-o;break;case"left":t.x=t.x-o;break;case"right":t.x=t.x+o;break;case"up":t.y=t.y-o;break;case"down":t.y=t.y+o;break;case"rotate":t.rotate=t.rotate+o}return t},e):e};function gt(t){this.name="MissingIcon",this.message=t||"Icon unavailable",this.stack=(new Error).stack}gt.prototype=Object.create(Error.prototype),gt.prototype.constructor=gt;var yt={fill:"currentColor"},vt={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},mt={tag:"path",attributes:s({},yt,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})},bt=s({},vt,{attributeName:"opacity"});s({},yt,{cx:"256",cy:"364",r:"28"}),s({},vt,{attributeName:"r",values:"28;14;28;28;14;28;"}),s({},bt,{values:"1;0;1;1;0;1;"}),s({},yt,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),s({},bt,{values:"1;0;0;0;0;1;"}),s({},yt,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),s({},bt,{values:"0;0;1;1;0;0;"}),T.styles;T.styles;var _t='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}';function wt(){var t=b,e=_,n=O.familyPrefix,r=O.replacementClass,o=_t;if(n!==t||r!==e){var i=new RegExp("\\.".concat(t,"\\-"),"g"),a=new RegExp("\\.".concat(e),"g");o=o.replace(i,".".concat(n,"-")).replace(a,".".concat(r))}return o}function St(t){return{found:!0,width:t[0],height:t[1],icon:{tag:"path",attributes:{fill:"currentColor",d:t.slice(4)[0]}}}}function xt(){O.autoAddCss&&!Tt&&($(wt()),Tt=!0)}function kt(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map(function(t){return ht(t)})}}),Object.defineProperty(t,"node",{get:function(){if(m){var e=y.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function Et(t){var e=t.prefix,n=void 0===e?"fa":e,r=t.iconName;if(r)return pt(Ct.definitions,n,r)||pt(T.styles,n,r)}var Ot,Ct=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.definitions={}}var e,n,r;return e=t,(n=[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=n.reduce(this._pullDefinitions,{});Object.keys(o).forEach(function(e){t.definitions[e]=s({},t.definitions[e]||{},o[e]),function t(e,n){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,o=void 0!==r&&r,i=Object.keys(n).reduce(function(t,e){var r=n[e];return r.icon?t[r.iconName]=r.icon:t[e]=r,t},{});"function"!=typeof T.hooks.addPack||o?T.styles[e]=s({},T.styles[e]||{},i):T.hooks.addPack(e,i),"fas"===e&&t("fa",n)}(e,o[e]),ft()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(t,e){var n=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(n).map(function(e){var r=n[e],o=r.prefix,i=r.iconName,a=r.icon;t[o]||(t[o]={}),t[o][i]=a}),t}}])&&i(e.prototype,n),r&&i(e,r),t}()),Tt=!1,Mt={transform:function(t){return dt(t)}},Dt=(Ot=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,r=void 0===n?Z:n,o=e.symbol,i=void 0!==o&&o,a=e.mask,c=void 0===a?null:a,u=e.title,l=void 0===u?null:u,f=e.classes,p=void 0===f?[]:f,h=e.attributes,d=void 0===h?{}:h,g=e.styles,y=void 0===g?{}:g;if(t){var v=t.prefix,m=t.iconName,b=t.icon;return kt(s({type:"icon"},t),function(){return xt(),O.autoA11y&&(l?d["aria-labelledby"]="".concat(O.replacementClass,"-title-").concat(tt()):(d["aria-hidden"]="true",d.focusable="false")),at({icons:{main:St(b),mask:c?St(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:v,iconName:m,transform:s({},Z,r),symbol:i,title:l,extra:{attributes:d,styles:y,classes:p}})})}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t||{}).icon?t:Et(t||{}),r=e.mask;return r&&(r=(r||{}).icon?r:Et(r||{})),Ot(n,s({},e,{mask:r}))})}).call(this,n(12),n(49).setImmediate)},function(t,e,n){"use strict";var r=n(110);t.exports=r},,function(t,e,n){"use strict";var r=n(29);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";var r=n(17),o=n(3),i=n(37),a=o.List,s=o.Map,c=o.OrderedSet,u=o.Record,l=o.Repeat,f=c(),p=u({key:"",type:"unstyled",text:"",characterList:a(),depth:0,data:s()}),h=function(t){if(!t)return t;var e=t.characterList,n=t.text;return n&&!e&&(t.characterList=a(l(r.EMPTY,n.length))),t},d=function(t){function e(n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,h(n)))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.getKey=function(){return this.get("key")},e.prototype.getType=function(){return this.get("type")},e.prototype.getText=function(){return this.get("text")},e.prototype.getCharacterList=function(){return this.get("characterList")},e.prototype.getLength=function(){return this.getText().length},e.prototype.getDepth=function(){return this.get("depth")},e.prototype.getData=function(){return this.get("data")},e.prototype.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():f},e.prototype.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},e.prototype.findStyleRanges=function(t,e){i(this.getCharacterList(),g,t,e)},e.prototype.findEntityRanges=function(t,e){i(this.getCharacterList(),y,t,e)},e}(p);function g(t,e){return t.getStyle()===e.getStyle()}function y(t,e){return t.getEntity()===e.getEntity()}t.exports=d},function(t,e,n){"use strict";var r=n(4),o=55296,i=56319,a=56320,s=57343,c=/[\uD800-\uDFFF]/;function u(t){return o<=t&&t<=s}function l(t){return c.test(t)}function f(t,e){return 1+u(t.charCodeAt(e))}function p(t,e,n){if(e=e||0,n=void 0===n?1/0:n||0,!l(t))return t.substr(e,n);var r=t.length;if(r<=0||e>r||n<=0)return"";var o=0;if(e>0){for(;e>0&&o<r;e--)o+=f(t,o);if(o>=r)return""}else if(e<0){for(o=r;e<0&&0<o;e++)o-=f(t,o-1);o<0&&(o=0)}var i=r;if(n<r)for(i=o;n>0&&i<r;n--)i+=f(t,i);return t.substring(o,i)}var h={getCodePoints:function(t){for(var e=[],n=0;n<t.length;n+=f(t,n))e.push(t.codePointAt(n));return e},getUTF16Length:f,hasSurrogateUnit:l,isCodeUnitInSurrogateRange:u,isSurrogatePair:function(t,e){if(0<=e&&e<t.length||r(!1),e+1===t.length)return!1;var n=t.charCodeAt(e),c=t.charCodeAt(e+1);return o<=n&&n<=i&&a<=c&&c<=s},strlen:function(t){if(!l(t))return t.length;for(var e=0,n=0;n<t.length;n+=f(t,n))e++;return e},substring:function(t,e,n){(e=e||0)<0&&(e=0),(n=void 0===n?1/0:n||0)<0&&(n=0);var r=Math.abs(n-e);return p(t,e=e<n?e:n,r)},substr:p};t.exports=h},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,r=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var o,i=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?t:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")})}},function(t,e){t.exports=require("react-dom")},function(t,e,n){"use strict";var r=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},e.prototype.getAnchorKey=function(){return this.get("anchorKey")},e.prototype.getAnchorOffset=function(){return this.get("anchorOffset")},e.prototype.getFocusKey=function(){return this.get("focusKey")},e.prototype.getFocusOffset=function(){return this.get("focusOffset")},e.prototype.getIsBackward=function(){return this.get("isBackward")},e.prototype.getHasFocus=function(){return this.get("hasFocus")},e.prototype.hasEdgeWithin=function(t,e,n){var r=this.getAnchorKey(),o=this.getFocusKey();if(r===o&&r===t){var i=this.getStartOffset();return e<=this.getEndOffset()&&i<=n}if(t!==r&&t!==o)return!1;var a=t===r?this.getAnchorOffset():this.getFocusOffset();return e<=a&&n>=a},e.prototype.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},e.prototype.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},e.prototype.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},e.prototype.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},e.prototype.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},e.createEmpty=function(t){return new e({anchorKey:t,anchorOffset:0,focusKey:t,focusOffset:0,isBackward:!1,hasFocus:!1})},e}((0,n(3).Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1}));t.exports=r},function(t,e,n){"use strict";function r(t){return t.replace(/\//g,"-")}t.exports=function(t){return"object"==typeof t?Object.keys(t).filter(function(e){return t[e]}).map(r).join(" "):Array.prototype.map.call(arguments,r).join(" ")}},function(t,e,n){"use strict";var r=n(3).OrderedMap,o={createFromArray:function(t){return r(t.map(function(t){return[t.getKey(),t]}))}};t.exports=o},function(t,e,n){"use strict";t.exports=function(t,e,n,r){if(t.size){var o=0;t.reduce(function(t,i,a){return e(t,i)||(n(t)&&r(o,a),o=a),i}),n(t.last())&&r(o,t.count())}}},function(t,e,n){"use strict";t.exports=function(t){return"handled"===t||!0===t}},function(t,e,n){"use strict";var r=n(16);t.exports=function(t,e,n){var o=t.getSelection(),i=t.getCurrentContent(),a=o;if(o.isCollapsed()){if("forward"===n){if(t.isSelectionAtEndOfContent())return i}else if(t.isSelectionAtStartOfContent())return i;if((a=e(t))===o)return i}return r.removeRange(i,a,n)}},,,function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var r,o,i,a,s,c=1,u={},l=!1,f=t.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(t);p=p&&p.setTimeout?p:t,"[object process]"==={}.toString.call(t.process)?r=function(t){e.nextTick(function(){d(t)})}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((i=new MessageChannel).port1.onmessage=function(t){d(t.data)},r=function(t){i.port2.postMessage(t)}):f&&"onreadystatechange"in f.createElement("script")?(o=f.documentElement,r=function(t){var e=f.createElement("script");e.onreadystatechange=function(){d(t),e.onreadystatechange=null,o.removeChild(e),e=null},o.appendChild(e)}):r=function(t){setTimeout(d,0,t)}:(a="setImmediate$"+Math.random()+"$",s=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(a)&&d(+e.data.slice(a.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),r=function(e){t.postMessage(a+e,"*")}),p.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var o={callback:t,args:e};return u[c]=o,r(c),c++},p.clearImmediate=h}function h(t){delete u[t]}function d(t){if(l)setTimeout(d,0,t);else{var e=u[t];if(e){l=!0;try{!function(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(n,r)}}(e)}finally{h(t),l=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,n(12),n(43))},function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var c,u=[],l=!1,f=-1;function p(){l&&c&&(l=!1,c.length?u=c.concat(u):f=-1,u.length&&h())}function h(){if(!l){var t=s(p);l=!0;for(var e=u.length;e;){for(c=u,u=[];++f<e;)c&&c[f].run();f=-1,e=u.length}c=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function d(t,e){this.fun=t,this.array=e}function g(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new d(t,e)),1!==u.length||l||s(h)},d.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=g,o.addListener=g,o.once=g,o.off=g,o.removeListener=g,o.removeAllListeners=g,o.emit=g,o.prependListener=g,o.prependOnceListener=g,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,n){"use strict";var r=n(74),o=n(75);t.exports=function(t,e){var n=e.getStartKey(),i=e.getStartOffset(),a=e.getEndKey(),s=e.getEndOffset(),c=o(t,e).getBlockMap(),u=c.keySeq(),l=u.indexOf(n),f=u.indexOf(a)+1;return r(c.slice(l,f).map(function(t,e){var r=t.getText(),o=t.getCharacterList();return n===a?t.merge({text:r.slice(i,s),characterList:o.slice(i,s)}):e===n?t.merge({text:r.slice(i),characterList:o.slice(i)}):e===a?t.merge({text:r.slice(0,s),characterList:o.slice(0,s)}):t}))}},function(t,e,n){"use strict";var r=n(19)||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=n(79),i=n(3),a=n(4),s=(0,i.Map)(),c=0;function u(t,e){console.warn("WARNING: "+t+' will be deprecated soon!\nPlease use "'+e+'" instead.')}var l={getLastCreatedEntityKey:function(){return u("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),l.__getLastCreatedEntityKey()},create:function(t,e,n){return u("DraftEntity.create","contentState.createEntity"),l.__create(t,e,n)},add:function(t){return u("DraftEntity.add","contentState.addEntity"),l.__add(t)},get:function(t){return u("DraftEntity.get","contentState.getEntity"),l.__get(t)},mergeData:function(t,e){return u("DraftEntity.mergeData","contentState.mergeEntityData"),l.__mergeData(t,e)},replaceData:function(t,e){return u("DraftEntity.replaceData","contentState.replaceEntityData"),l.__replaceData(t,e)},__getLastCreatedEntityKey:function(){return""+c},__create:function(t,e,n){return l.__add(new o({type:t,mutability:e,data:n||{}}))},__add:function(t){var e=""+ ++c;return s=s.set(e,t),e},__get:function(t){var e=s.get(t);return e||a(!1),e},__mergeData:function(t,e){var n=l.__get(t),o=r({},n.getData(),e),i=n.set("data",o);return s=s.set(t,i),i},__replaceData:function(t,e){var n=l.__get(t).set("data",e);return s=s.set(t,n),n}};t.exports=l},function(t,e,n){"use strict";var r={encode:function(t,e,n){return t+"-"+e+"-"+n},decode:function(t){var e=t.split("-"),n=e[0],r=e[1],o=e[2];return{blockKey:n,decoratorKey:parseInt(r,10),leafKey:parseInt(o,10)}}};t.exports=r},,,function(t,e,n){(function(t){var r=void 0!==t&&t||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(42),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(12))},,function(t,e,n){"use strict";n.r(e);var r=function(t,e){var n=0;return t.map(function(t){var r={start:t.start,end:t.end,confidence:t.confidence,text:t[e],offset:n,length:t[e].length,key:Math.random().toString(36).substring(6)};return n=n+t[e].length+1,r})};var o=function(t,e){return function(t){var e=t[0].speaker,n=[],r={words:[],text:"",speaker:""};return t.forEach(function(t){e===t.speaker?(r.words.push(t),r.text+=t.punct+" ",r.speaker=e):(e=t.speaker,r.text=r.text.trim(),n.push(r),(r={words:[],text:"",speaker:"U_UKN"}).words.push(t),r.text+=t.punct+" ")}),n.push(r),n}(function(t,e){var n=[];return t.forEach(function(t){var r,o=function(t,e){var n=e.find(function(e){var n=e.start+e.duration;return t.start>=e.start&&t.end<=n});return void 0===n?{"@type":"Segment",speaker:{"@id":"UKN",gender:"U"}}:n}(t,e);t.speaker=(r=o.speaker).gender+"_"+r["@id"],n.push(t)}),n}(t,e.segments))},i=function(t){var e,n=[],i=null;return void 0===t.retval?(e=t.words,void 0!==t.segmentation&&(i=t.segmentation)):(e=t.retval.words,void 0!==t.retval.segmentation&&(i=t.retval.segmentation)),(null===i?function(t){var e=[],n={words:[],text:[]};return t.forEach(function(t){/[.?!]/.test(t.punct)?(n.words.push(t),n.text.push(t.punct),n.text=n.text.join(" "),e.push(n),n={words:[],text:[]}):(n.words.push(t),n.text.push(t.punct))}),e}(e):o(e,i)).forEach(function(t,e){if(void 0!==t.words[0]){var o="TBC ".concat(e);null!==i&&(o=t.speaker);var a={text:t.text,type:"paragraph",data:{speaker:o,words:t.words,start:t.words[0].start},entityRanges:r(t.words,"punct")};n.push(a)}}),n},a=function(t){var e=[];return function(t){var e=[],n={words:[],text:[]};return t.forEach(function(t){t.paragraph.forEach(function(t){t.line.forEach(function(t){var r={text:t.text,start:t.startTime,end:t.endTime};/[.?!]/.test(t.text)?(n.words.push(r),n.text.push(t.text),e.push(n),n={words:[],text:[]}):(n.words.push(r),n.text.push(t.text))})})}),e}(t.text).forEach(function(t,n){var o={text:t.text.join(" "),type:"paragraph",data:{speaker:"TBC ".concat(n),words:t.words,start:t.words[0].start},entityRanges:r(t.words,"text")};e.push(o)}),e},s=function(t,e){for(var n in e){var r=e[n];if(t>=r.start&t<r.end)return r.name}return"UNK"},c=function(t){var e,n,o,i,a=[];return n=t.words,o=[],n.forEach(function(t){/[.?!]/.test(t.name)?(o[o.length-1].name=o[o.length-1].name+t.name,o[o.length-1].duration=(parseFloat(o[o.length-1].duration)+parseFloat(t.duration)).toString()):o.push(t)}),e=(e=o).map(function(t,e){return{start:t.time,end:(parseFloat(t.time)+parseFloat(t.duration)).toString(),confidence:t.confidence,word:t.name.toLowerCase().replace(/[.?!]/g,""),punct:t.name,index:e}}),i=(i=t.speakers).map(function(t){return{start:t.time,end:(parseFloat(t.time)+parseFloat(t.duration)).toString(),name:t.name}}),function(t){var e=[],n={words:[],text:[]};return t.forEach(function(t){/[.?!]/.test(t.punct)?(n.words.push(t),n.text.push(t.punct),e.push(n),n={words:[],text:[]}):(n.words.push(t),n.text.push(t.punct))}),e}(e).forEach(function(t){var e=t.words[0].start,n={text:t.text.join(" "),type:"paragraph",data:{speaker:s(e,i),words:t.words,start:e},entityRanges:r(t.words,"punct")};a.push(n)}),a},u=function(t,e){var n=parseFloat(t.start_time),r=parseFloat(t.end_time),o=e.find(function(t){return n>=parseFloat(t.start_time)&&r<=parseFloat(t.end_time)});return void 0===o?"UKN":o.speaker_label.replace("spk_","")},l=function(t,e){return function(t){var e=[],n="";return t.forEach(function(t){t.speaker_label===n?e[e.length-1].words.push(t):(n=t.speaker_label,e.push({speaker:t.speaker_label,words:[t]}))}),e}(function(t,e){return t.map(function(t){return Object.assign(t,{speaker_label:u(t,e)})})}(t,e.segments))};function f(t){for(var e=1;e<arguments.length;e++){var n=null==arguments[e]?{}:arguments[e],r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){p(t,e,n[e])})}return t}function p(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var h=function(t){return/punctuation/.test(t.type)?Object.assign(t.alternatives[0],{confidence:1}):t.alternatives.reduce(function(t,e){return parseFloat(t.confidence)>parseFloat(e.confidence)?t:e})},d=function(t){var e=h(t);return{start:parseFloat(t.start_time),end:parseFloat(t.end_time),text:e.content,confidence:parseFloat(e.confidence)}},g=function(t){var e=[];return t.map(function(n,r){return"punctuation"===n.type?(e.push(r-1),function(t,e){var n=t.alternatives[0].content;return f({},e,{alternatives:e.alternatives.map(function(t){return f({},t,{content:t.content+(e=n,e.replace(/^\s/,""))});var e})})}(n,t[r-1])):n}).filter(function(t,n){return!e.includes(n)})},y=function(t){var e=[],n=t.results.items,o=t.results.speaker_labels,i=g(n);return(void 0!==o?function(t,e){return l(t,e).map(function(t){return{words:t.words.map(d),text:t.words.map(function(t){return h(t).content}),speaker:t.speaker}})}(i,o):function(t){var e=[],n={words:[],text:[]};return t.forEach(function(t){var r=h(t).content,o=d(t);/[.?!]/.test(r)?(n.words.push(o),n.text.push(r),e.push(n),n={words:[],text:[]}):(n.words.push(o),n.text.push(r))}),e}(i)).forEach(function(t,n){var o={text:t.text.join(" "),type:"paragraph",data:{speaker:t.speaker?"Speaker ".concat(t.speaker):"TBC ".concat(n),words:t.words,start:parseFloat(t.words[0].start)},entityRanges:r(t.words,"text")};e.push(o)}),e},v=function(t){var e,n,o,i,a=(o=t.results[0].results,i=[],o.forEach(function(t){i.push(t.alternatives[0].timestamps.map(function(t){return{text:t[0],start:t[1],end:t[2]}}))}),i);return function(t){var e=[];return t.forEach(function(t){var n={text:t.map(function(t){return t.text}).join(" "),type:"paragraph",data:{speaker:t[0].speaker,words:t,start:t[0].start},entityRanges:r(t,"text")};e.push(n)}),e}((e=a,n=t.results[0].speaker_labels,e.map(function(t){return t.map(function(t){return t.speaker=function(t,e){var n=e.find(function(e){var n=e.from,r=e.to;return t.start===n&&t.end===r});return void 0===n?"UKN":"S_".concat(n.speaker)}(t,n),t})})))};var m=function(t,e){return function(t){var e=t[0].speaker,n=[],r={words:[],text:"",speaker:""};return t.forEach(function(t){e===t.speaker?(delete t.speaker,r.words.push(t),r.text+=t.text+" ",r.speaker=e):(e=t.speaker,r.text=r.text.trim(),n.push(r),(r={words:[],text:"",speaker:"U_UKN"}).words.push(t),r.text+=t.text+" ")}),n.push(r),n}(function(t,e){return t.map(function(t){return t.speaker=function(t,e){var n=e.find(function(e){return t.start>=e.start&&t.end<=e.end});return void 0===n?"UKN":n.speaker}(t,e),t})}(t,e))},b=function(t){var e=[],n=null,o=t.words;return t.paragraphs&&(n=t.paragraphs),(n?m(o,t.paragraphs):function(t){var e=[],n={words:[],text:[]};return t.forEach(function(t){/[.?!]/.test(t.text)?(n.words.push(t),n.text.push(t.text),n.text=n.text.join(" "),e.push(n),n={words:[],text:[]}):(n.words.push(t),n.text.push(t.text))}),e}(o)).forEach(function(t,o){if(t.words[0]){var i="TBC ".concat(o);n&&(i=t.speaker);var a={text:t.text,type:"paragraph",data:{speaker:i,words:t.words,start:t.words[0].start},entityRanges:r(t.words,"text")};e.push(a)}}),e},_=function(t){return t.reduce(function(t,e){return t.concat(Array.isArray(e)?_(e):e)},[])},w=function(t){var e=t.map(function(t){return t.entityRanges}),n=_(e),r={};return n.forEach(function(t){r[t.key]={type:"WORD",mutability:"MUTABLE",data:t}}),r};e.default=function(t,e){var n;switch(e){case"bbckaldi":return{blocks:n=i(t),entityMap:w(n)};case"autoedit2":return{blocks:n=a(t),entityMap:w(n)};case"speechmatics":return{blocks:n=c(t),entityMap:w(n)};case"ibm":return{blocks:n=v(t),entityMap:w(n)};case"draftjs":return t;case"amazontranscribe":return{blocks:n=y(t),entityMap:w(n)};case"digitalpaperedit":return{blocks:n=b(t),entityMap:w(n)};default:console.error("Did not recognize the stt engine.")}}},function(t,e,n){"use strict";n.r(e);var r=function(t){return t.blocks.map(function(t){return t.text}).join("\n\n")},o=n(8),i=function(t){return t.blocks.map(function(t){return"".concat(t.data.speaker," \t [").concat(Object(o.shortTimecode)(t.data.start),"] \t ").concat(t.text)}).join("\n\n")},a=function(t){var e={words:[],paragraphs:[]};return t.blocks.forEach(function(t,n){if(void 0!==t.data.words){var r={id:n,start:t.data.words[0].start,end:t.data.words[t.data.words.length-1].end,speaker:t.data.speaker};e.paragraphs.push(r);var o=t.data.words.map(function(t){var e={id:t.index,start:t.start,end:t.end,text:null};return t.text?e.text=t.punct:t.punct?e.text=t.punct:t.word&&(e.text=t.punct),e});e.words=e.words.concat(o)}}),e};e.default=function(t,e){switch(e){case"draftjs":return{data:t,ext:"json"};case"txt":return{data:r(t),ext:"txt"};case"txtspeakertimecodes":return{data:i(t),ext:"txt"};case"digitalpaperedit":return{data:a(t),ext:"json"};default:console.error("Did not recognise the export format")}}},function(t,e,n){"use strict";function r(t){return function(){return t}}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(t){return t},t.exports=o},function(t,e,n){"use strict";var r=n(36),o=n(17),i=n(30),a=n(20),s=n(45),c=n(26),u=n(3),l=n(34),f=n(23),p=n(55),h=u.List,d=u.Record,g=u.Repeat,y=c.draft_tree_data_support?a:i,v=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.getEntityMap=function(){return s},e.prototype.getBlockMap=function(){return this.get("blockMap")},e.prototype.getSelectionBefore=function(){return this.get("selectionBefore")},e.prototype.getSelectionAfter=function(){return this.get("selectionAfter")},e.prototype.getBlockForKey=function(t){return this.getBlockMap().get(t)},e.prototype.getKeyBefore=function(t){return this.getBlockMap().reverse().keySeq().skipUntil(function(e){return e===t}).skip(1).first()},e.prototype.getKeyAfter=function(t){return this.getBlockMap().keySeq().skipUntil(function(e){return e===t}).skip(1).first()},e.prototype.getBlockAfter=function(t){return this.getBlockMap().skipUntil(function(e,n){return n===t}).skip(1).first()},e.prototype.getBlockBefore=function(t){return this.getBlockMap().reverse().skipUntil(function(e,n){return n===t}).skip(1).first()},e.prototype.getBlocksAsArray=function(){return this.getBlockMap().toArray()},e.prototype.getFirstBlock=function(){return this.getBlockMap().first()},e.prototype.getLastBlock=function(){return this.getBlockMap().last()},e.prototype.getPlainText=function(t){return this.getBlockMap().map(function(t){return t?t.getText():""}).join(t||"\n")},e.prototype.getLastCreatedEntityKey=function(){return s.__getLastCreatedEntityKey()},e.prototype.hasText=function(){var t=this.getBlockMap();return t.size>1||t.first().getLength()>0},e.prototype.createEntity=function(t,e,n){return s.__create(t,e,n),this},e.prototype.mergeEntityData=function(t,e){return s.__mergeData(t,e),this},e.prototype.replaceEntityData=function(t,e){return s.__replaceData(t,e),this},e.prototype.addEntity=function(t){return s.__add(t),this},e.prototype.getEntity=function(t){return s.__get(t)},e.createFromBlockArray=function(t,n){var o=Array.isArray(t)?t:t.contentBlocks,i=r.createFromArray(o),a=i.isEmpty()?new l:l.createEmpty(i.first().getKey());return new e({blockMap:i,entityMap:n||s,selectionBefore:a,selectionAfter:a})},e.createFromText=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,r=t.split(n).map(function(t){return t=p(t),new y({key:f(),text:t,type:"unstyled",characterList:h(g(o.EMPTY,t.length))})});return e.createFromBlockArray(r)},e}(d({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}));t.exports=v},function(t,e,n){"use strict";var r=new RegExp("\r","g");t.exports=function(t){return t.replace(r,"")}},function(t,e,n){"use strict";var r=n(4),o="LTR",i="RTL",a=null;function s(t){return t===o||t===i}function c(t){return s(t)||r(!1),t===o?"ltr":"rtl"}function u(t){a=t}var l={NEUTRAL:"NEUTRAL",LTR:o,RTL:i,isStrong:s,getHTMLDir:c,getHTMLDirIfDifferent:function(t,e){return s(t)||r(!1),s(e)||r(!1),t===e?null:c(t)},setGlobalDir:u,initGlobalDir:function(){u(o)},getGlobalDir:function(){return a||this.initGlobalDir(),a||r(!1),a}};t.exports=l},function(t,e,n){"use strict";var r=n(3).Map,o=n(0),i=n(35),a=r({"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:o.createElement("ul",{className:i("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:o.createElement("ol",{className:i("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:o.createElement("pre",{className:i("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}});t.exports=a},function(t,e,n){"use strict";t.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(t,e,n){"use strict";function r(t,e){return e&&"MUTABLE"===t.__get(e).getMutability()?e:null}t.exports=function(t,e){var n;if(e.isCollapsed()){var o=e.getAnchorKey(),i=e.getAnchorOffset();return i>0?(n=t.getBlockForKey(o).getEntityAt(i-1))!==t.getBlockForKey(o).getEntityAt(i)?null:r(t.getEntityMap(),n):null}var a=e.getStartKey(),s=e.getStartOffset(),c=t.getBlockForKey(a);return n=s===c.getLength()?null:c.getEntityAt(s),r(t.getEntityMap(),n)}},function(t,e,n){"use strict";var r=n(140);t.exports=function t(e,n){return!(!e||!n)&&(e===n||!r(e)&&(r(n)?t(e,n.parentNode):"contains"in e?e.contains(n):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(n))))}},function(t,e,n){"use strict";function r(t,e){var n=o.get(t,e);return"auto"===n||"scroll"===n}var o={get:n(142),getScrollParent:function(t){if(!t)return null;for(var e=t.ownerDocument;t&&t!==e.body;){if(r(t,"overflow")||r(t,"overflowY")||r(t,"overflowX"))return t;t=t.parentNode}return e.defaultView||e.parentWindow}};t.exports=o},function(t,e,n){"use strict";var r=n(147),o=n(148);t.exports=function(t){var e=r(t.ownerDocument||t.document);t.Window&&t instanceof t.Window&&(t=e);var n=o(t),i=t===e?t.ownerDocument.documentElement:t,a=t.scrollWidth-i.clientWidth,s=t.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,a)),n.y=Math.max(0,Math.min(n.y,s)),n}},function(t,e,n){"use strict";var r=n(87);t.exports=function(t){for(var e=t;e&&e!==document.documentElement;){var n=r(e);if(null!=n)return n;e=e.parentNode}return null}},function(t,e,n){"use strict";var r=n(22).isPlatform("Mac OS X"),o={isCtrlKeyCommand:function(t){return!!t.ctrlKey&&!t.altKey},isOptionKeyCommand:function(t){return r&&t.altKey},hasCommandModifier:function(t){return r?!!t.metaKey&&!t.altKey:o.isCtrlKeyCommand(t)}};t.exports=o},function(t,e,n){"use strict";t.exports=function(t,e){var n=t.getSelection(),r=t.getCurrentContent(),o=n.getStartKey(),i=n.getStartOffset(),a=o,s=0;if(e>i){var c=r.getKeyBefore(o);null==c?a=o:(a=c,s=r.getBlockForKey(c).getText().length)}else s=i-e;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})}},,,,,,function(t,e,n){"use strict";n.r(e);var r=n(0),o=n.n(r),i=n(1),a=n.n(i),s=n(10);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){for(var n,r=0;r<e.length;r++)(n=e[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var d=function(t){function e(){var t,n,r,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];return r=this,n=!(o=(t=l(e)).call.apply(t,[this].concat(a)))||"object"!==c(o)&&"function"!=typeof o?f(r):o,h(f(n),"generateConfidence",function(t){return t.confidence?.6<t.confidence?"high":"low":"high"}),h(f(n),"generatePreviousTimes",function(t){for(var e="",n=0;n<t.start;n++)e+="".concat(n," ");if(0<t.start%1){var r=Math.floor(t.start%1*4)/4;e+=" ".concat(Math.floor(t.start)+r)}return e}),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(e,r["PureComponent"]),n=e,(i=[{key:"render",value:function(){var t=this.props.entityKey?this.props.contentState.getEntity(this.props.entityKey).getData():{};return o.a.createElement("span",{"data-start":t.start,"data-end":t.end,"data-confidence":this.generateConfidence(t),"data-prev-times":this.generatePreviousTimes(t),"data-entity-key":t.key,className:"Word"},this.props.children)}}])&&u(n.prototype,i),a&&u(n,a),e;var n,i,a}();d.propTypes={contentState:a.a.object,entityKey:a.a.string,children:a.a.array};var g=d,y=n(6),v=n(7),m=n(24),b=n.n(m);function _(t){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function w(t,e){for(var n,r=0;r<e.length;r++)(n=e[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}function S(t,e){return!e||"object"!==_(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function x(t){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function k(t,e){return(k=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var E=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),S(this,x(e).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&k(t,e)}(e,r["PureComponent"]),n=e,(i=[{key:"render",value:function(){return o.a.createElement("span",{className:b.a.speaker,onClick:this.props.handleOnClickEdit},o.a.createElement("span",{className:b.a.EditLabel},o.a.createElement(y.a,{icon:v.m})),this.props.name)}}])&&w(n.prototype,i),a&&w(n,a),e;var n,i,a}();E.propTypes={name:a.a.string,handleOnClickEdit:a.a.func};var O=E,C=n(8);function T(t){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function M(t,e){for(var n,r=0;r<e.length;r++)(n=e[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}function D(t){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function A(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function I(t,e){return(I=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function K(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var L=function(t){function e(t){var n,r,o;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r=this,o=D(e).call(this,t),n=!o||"object"!==T(o)&&"function"!=typeof o?A(r):o,K(A(n),"handleOnClickEdit",function(){var t=prompt("New Speaker Name?");if(""!==t&&null!==t){n.setState({speaker:t}),n.props.blockProps.handleAnalyticsEvents&&n.props.blockProps.handleAnalyticsEvents({category:"WrapperBlock",action:"handleOnClickEdit",name:"newSpeakerName",value:t});var e=n.props.block.getKey(),r=s.SelectionState.createEmpty(e),o=s.EditorState.acceptSelection(n.props.blockProps.editorState,r).getSelection(),i=s.Modifier.mergeBlockData(n.props.contentState,o,{speaker:t});n.props.blockProps.setEditorNewContentState(i)}}),K(A(n),"handleTimecodeClick",function(){n.props.blockProps.onWordClick(n.state.start),n.props.blockProps.handleAnalyticsEvents&&n.props.blockProps.handleAnalyticsEvents({category:"WrapperBlock",action:"handleTimecodeClick",name:"onWordClick",value:Object(C.secondsToTimecode)(n.state.start)})}),n.state={speaker:"",start:0,timecodeOffset:n.props.blockProps.timecodeOffset},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&I(t,e)}(e,o.a.Component),n=e,(r=[{key:"componentDidMount",value:function(){var t=this.props.block,e=t.getData().get("speaker"),n=t.getData().get("start");this.setState({speaker:e,start:n})}},{key:"render",value:function(){var t=this.state.start;this.props.blockProps.timecodeOffset&&(t+=this.props.blockProps.timecodeOffset);var e=o.a.createElement(O,{name:this.state.speaker,handleOnClickEdit:this.handleOnClickEdit}),n=o.a.createElement("span",{className:b.a.time,onClick:this.handleTimecodeClick},Object(C.shortTimecode)(t));return o.a.createElement("div",{className:b.a.WrapperBlock},o.a.createElement("div",{className:[b.a.markers,b.a.unselectable].join(" "),contentEditable:!1},this.props.blockProps.showSpeakers?e:"",this.props.blockProps.showTimecodes?n:""),o.a.createElement("div",{className:b.a.text},o.a.createElement(s.EditorBlock,this.props)))}}])&&M(n.prototype,r),i&&M(n,i),e;var n,r,i}(),B=n(51),N=n(52),z=n(100),j=n.n(z);function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function P(t,e){for(var n,r=0;r<e.length;r++)(n=e[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}function F(t){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function U(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function q(t,e){return(q=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function W(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var H,V=function(t){function e(t){var n,r,o;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r=this,o=F(e).call(this,t),n=!o||"object"!==R(o)&&"function"!=typeof o?U(r):o,W(U(n),"onChange",function(t){n.state.editorState.getCurrentContent()!==t.getCurrentContent()&&n.props.isPauseWhileTypingOn&&n.props.isPlaying()&&(n.props.playMedia(!1),clearTimeout(n.plauseWhileTypingTimeOut),n.plauseWhileTypingTimeOut=setTimeout(function(){this.props.playMedia(!0)}.bind(U(n)),3e3)),n.state.isEditable&&n.setState(function(){return{editorState:t}},function(){void 0!==n.saveTimer&&clearTimeout(n.saveTimer),n.saveTimer=setTimeout(function(){n.localSave(n.props.mediaUrl)},1e3)})}),W(U(n),"handleDoubleClick",function(t){for(var e=t.nativeEvent.target;!e.hasAttribute("data-start")&&e.parentElement;)e=e.parentElement;if(e.hasAttribute("data-start")){var r=parseFloat(e.getAttribute("data-start"));n.props.onWordClick(r)}}),W(U(n),"localSave",function(){clearTimeout(n.saveTimer);var t=n.props.mediaUrl;n.props.mediaUrl.includes("blob")&&(t=n.props.fileName);var e=Object(s.convertToRaw)(n.state.editorState.getCurrentContent());localStorage.setItem("draftJs-".concat(t),JSON.stringify(e));var r=(new Date).toString();localStorage.setItem("timestamp-".concat(t),r)}),W(U(n),"getWordCount",function(t){var e=t.getCurrentContent().getPlainText("").replace(/(?:\r\n|\r|\n)/g," ").trim().match(/\S+/g);return e?e.length:0}),W(U(n),"setEditorContentState",function(t){var e=Object(s.convertFromRaw)(t),r=s.EditorState.createWithContent(e,J);void 0!==n.props.handleAnalyticsEvents&&n.props.handleAnalyticsEvents({category:"TimedTextEditor",action:"setEditorContentState",name:"getWordCount",value:n.getWordCount(r)}),n.setState({editorState:r})}),W(U(n),"forceRenderDecorator",function(){var t=n.state.editorState.getCurrentContent(),e=n.state.editorState.getDecorator(),r=s.EditorState.createWithContent(t,e),o=s.EditorState.push(r,t);n.setState({editorState:o})}),W(U(n),"setEditorNewContentState",function(t){var e=s.EditorState.push(n.state.editorState,t);n.setState({editorState:e})}),W(U(n),"customKeyBindingFn",function(t){return 13===t.keyCode?"split-paragraph":!t.altKey||32!==t.keyCode&&32!==t.keyCode&&75!==t.keyCode&&76!==t.keyCode&&74!==t.keyCode&&187!==t.keyCode&&189!==t.keyCode&&82!==t.keyCode&&84!==t.keyCode?Object(s.getDefaultKeyBinding)(t):(t.preventDefault(),"keyboard-shortcuts")}),W(U(n),"handleKeyCommand",function(t){return"split-paragraph"===t&&n.splitParagraph(),"keyboard-shortcuts"===t?"handled":"not-handled"}),W(U(n),"splitParagraph",function(){var t=n.state.editorState.getSelection();if(t.isCollapsed()){var e,r=n.state.editorState.getCurrentContent(),o=s.Modifier.splitBlock(r,t),i=s.EditorState.push(n.state.editorState,o,"split-block"),a=i.getSelection(),c=r.blockMap.get(o.selectionBefore.getStartKey()),u=c.getData().get("speaker"),l=!1,f=c.getEntityAt(t.getStartOffset());if(null===f){var p=n.findClosestEntityKeyToSelectionPoint(t,c);if(f=p.entityKey,l=p.isEndOfParagraph,null===f)return"not-handled"}var h=r.getEntity(f).getData();e=l?h.end:h.start;var d=s.Modifier.mergeBlockData(i.getCurrentContent(),a,{start:e,speaker:u});return n.setEditorNewContentState(d),"handled"}return"not-handled"}),W(U(n),"findClosestEntityKeyToSelectionPoint",function(t,e){var n=null,r=!1,o=t.getStartOffset(),i=e.getLength(),a=i-o;if(0===a){r=!0;for(var s=i;0<s;s--)if(null!==(n=e.getEntityAt(s)))return{entityKey:n,isEndOfParagraph:r}}else for(var c=t.getStartOffset(),u=0;u<a;u++)if(c+=u,null!==(n=e.getEntityAt(c)))return{entityKey:n,isEndOfParagraph:r};return{entityKey:n,isEndOfParagraph:r}}),W(U(n),"renderBlockWithTimecodes",function(){return{component:L,editable:!0,props:{showSpeakers:n.state.showSpeakers,showTimecodes:n.state.showTimecodes,timecodeOffset:n.state.timecodeOffset,editorState:n.state.editorState,setEditorNewContentState:n.setEditorNewContentState,onWordClick:n.props.onWordClick,handleAnalyticsEvents:n.props.handleAnalyticsEvents}}}),W(U(n),"getCurrentWord",function(){var t={start:"NA",end:"NA"};if(n.state.transcriptData){var e=n.state.editorState.getCurrentContent(),r=Object(s.convertToRaw)(e).entityMap;for(var o in r){var i=r[o].data;i.start<=n.props.currentTime&&i.end>=n.props.currentTime&&(t.start=i.start,t.end=i.end)}}"NA"!==t.start&&n.props.isScrollIntoViewOn&&document.querySelector('span.Word[data-start="'.concat(t.start,'"]')).scrollIntoView({block:"nearest",inline:"center"});return t}),n.state={editorState:s.EditorState.createEmpty(),transcriptData:n.props.transcriptData,isEditable:n.props.isEditable,sttJsonType:n.props.sttJsonType,timecodeOffset:n.props.timecodeOffset,showSpeakers:n.props.showSpeakers,showTimecodes:n.props.showTimecodes,currentWord:{}},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&q(t,e)}(e,o.a.Component),n=e,i=[{key:"getDerivedStateFromProps",value:function(t){return null===t.transcriptData?null:{transcriptData:t.transcriptData,isEditable:t.isEditable,timecodeOffset:t.timecodeOffset,showSpeakers:t.showSpeakers,showTimecodes:t.showTimecodes}}}],(r=[{key:"componentDidMount",value:function(){this.loadData()}},{key:"componentDidUpdate",value:function(t,e){e.transcriptData===this.state.transcriptData||null===this.props.mediaUrl||this.isPresentInLocalStorage(this.props.mediaUrl)||this.loadData(),(e.timecodeOffset!==this.state.timecodeOffset||e.showSpeakers!==this.state.showSpeakers||e.showTimecodes!==this.state.showTimecodes)&&this.forceRenderDecorator()}},{key:"loadData",value:function(){if(null!==this.props.transcriptData){var t=Object(B.default)(this.props.transcriptData,this.props.sttJsonType);this.setEditorContentState(t)}}},{key:"getEditorContent",value:function(t){return Object(N.default)(Object(s.convertToRaw)(this.state.editorState.getCurrentContent()),t||"draftjs")}},{key:"isPresentInLocalStorage",value:function(t){if(null!==t){var e=t;return t.includes("blob")&&(e=this.props.fileName),null!==localStorage.getItem("draftJs-".concat(e))}return!1}},{key:"loadLocalSavedData",value:function(t){var e=t;t.includes("blob")&&(e=this.props.fileName);var n=JSON.parse(localStorage.getItem("draftJs-".concat(e)));if(null!==n){var r=localStorage.getItem("timestamp-".concat(e));return this.setEditorContentState(n),r}return""}},{key:"render",value:function(){var t=this,e=this.getCurrentWord(),n=Math.round(4*this.props.currentTime)/4,r=o.a.createElement("section",{className:j.a.editor,onDoubleClick:function(e){return t.handleDoubleClick(e)}},o.a.createElement("style",{scoped:!0},'span.Word[data-start="'.concat(e.start,'"] { background-color: ').concat("#69e3c2","; text-shadow: 0 0 0.01px black }"),'span.Word[data-start="'.concat(e.start,'"]+span { background-color: ').concat("#69e3c2"," }"),'span.Word[data-prev-times~="'.concat(Math.floor(n),'"] { color: ').concat("#767676"," }"),'span.Word[data-prev-times~="'.concat(n,'"] { color: ').concat("#767676"," }"),'span.Word[data-confidence="low"] { border-bottom: '.concat("1px dotted blue"," }")),o.a.createElement(s.Editor,{editorState:this.state.editorState,onChange:this.onChange,stripPastedStyles:!0,blockRendererFn:this.renderBlockWithTimecodes,handleKeyCommand:function(e){return t.handleKeyCommand(e)},keyBindingFn:function(e){return t.customKeyBindingFn(e)},spellCheck:this.props.spellCheck}));return o.a.createElement("section",null,null===this.props.transcriptData?null:r)}}])&&P(n.prototype,r),i&&P(n,i),e;var n,r,i}(),J=new s.CompositeDecorator([{strategy:(H="MUTABLE",function(t,e,n){t.findEntityRanges(function(t){var e=t.getEntity();return null!==e&&n.getEntity(e).getMutability()===H},e)}),component:g}]);V.propTypes={transcriptData:a.a.object,mediaUrl:a.a.string,isEditable:a.a.bool,spellCheck:a.a.bool,onWordClick:a.a.func,sttJsonType:a.a.string,isPlaying:a.a.func,playMedia:a.a.func,currentTime:a.a.number,isScrollIntoViewOn:a.a.bool,isPauseWhileTypingOn:a.a.bool,timecodeOffset:a.a.number,handleAnalyticsEvents:a.a.func,showSpeakers:a.a.bool,showTimecodes:a.a.bool,fileName:a.a.string};e.default=V},,,function(t,e,n){"use strict";var r=n(20),o=n(3),i=n(23),a=o.OrderedMap;t.exports=function(t){return t.first()instanceof r?function(t){var e={},n=void 0;return a(t.withMutations(function(t){t.forEach(function(r,o){var a=r.getKey(),s=r.getNextSiblingKey(),c=r.getPrevSiblingKey(),u=r.getChildKeys(),l=r.getParentKey(),f=i();if(e[a]=f,s&&(t.get(s)?t.setIn([s,"prevSibling"],f):t.setIn([a,"nextSibling"],null)),c&&(t.get(c)?t.setIn([c,"nextSibling"],f):t.setIn([a,"prevSibling"],null)),l&&t.get(l)){var p=t.get(l).getChildKeys();t.setIn([l,"children"],p.set(p.indexOf(r.getKey()),f))}else t.setIn([a,"parent"],null),n&&(t.setIn([n.getKey(),"nextSibling"],f),t.setIn([a,"prevSibling"],e[n.getKey()])),n=t.get(a);u.forEach(function(e){t.get(e)?t.setIn([e,"parent"],f):t.setIn([a,"children"],r.getChildKeys().filter(function(t){return t!==e}))})})}).toArray().map(function(t){return[e[t.getKey()],t.set("key",e[t.getKey()])]}))}(t):function(t){return a(t.toArray().map(function(t){var e=i();return[e,t.set("key",e)]}))}(t)}},function(t,e,n){"use strict";var r=n(17),o=n(37),i=n(4);function a(t,e,n){var a=e.getCharacterList(),s=n>0?a.get(n-1):void 0,c=n<a.count()?a.get(n):void 0,u=s?s.getEntity():void 0,l=c?c.getEntity():void 0;if(l&&l===u&&"MUTABLE"!==t.__get(l).getMutability()){for(var f,p=function(t,e,n){var r;return o(t,function(t,e){return t.getEntity()===e.getEntity()},function(t){return t.getEntity()===e},function(t,e){t<=n&&e>=n&&(r={start:t,end:e})}),"object"!=typeof r&&i(!1),r}(a,l,n),h=p.start,d=p.end;h<d;)f=a.get(h),a=a.set(h,r.applyEntity(f,null)),h++;return e.set("characterList",a)}return e}t.exports=function(t,e){var n=t.getBlockMap(),r=t.getEntityMap(),o={},i=e.getStartKey(),s=e.getStartOffset(),c=n.get(i),u=a(r,c,s);u!==c&&(o[i]=u);var l=e.getEndKey(),f=e.getEndOffset(),p=n.get(l);i===l&&(p=u);var h=a(r,p,f);return h!==p&&(o[l]=h),Object.keys(o).length?t.merge({blockMap:n.merge(o),selectionAfter:e}):t.set("selectionAfter",e)}},function(t,e,n){"use strict";t.exports=function(t,e,n){if(n===t.count())e.forEach(function(e){t=t.push(e)});else if(0===n)e.reverse().forEach(function(e){t=t.unshift(e)});else{var r=t.slice(0,n),o=t.slice(n);t=r.concat(e,o).toList()}return t}},function(t,e,n){"use strict";var r=n(20);t.exports=function(t,e){if(!(t instanceof r))return null;var n=t.getNextSiblingKey();if(n)return n;var o=t.getParentKey();if(!o)return null;for(var i=e.get(o);i&&!i.getNextSiblingKey();){var a=i.getParentKey();i=a?e.get(a):null}return i?i.getNextSiblingKey():null}},function(t,e,n){"use strict";var r=n(3),o=n(53),i=n(37),a=r.List,s=r.Repeat,c=r.Record,u=o.thatReturnsTrue,l=c({start:null,end:null}),f=c({start:null,end:null,decoratorKey:null,leaves:null}),p={generate:function(t,e,n){var r=e.getLength();if(!r)return a.of(new f({start:0,end:0,decoratorKey:null,leaves:a.of(new l({start:0,end:0}))}));var o=[],c=n?n.getDecorations(e,t):a(s(null,r)),p=e.getCharacterList();return i(c,d,u,function(t,e){o.push(new f({start:t,end:e,decoratorKey:c.get(t),leaves:h(p.slice(t,e).toList(),t)}))}),a(o)},getFingerprint:function(t){return t.map(function(t){var e=t.get("decoratorKey");return(null!==e?e+"."+(t.get("end")-t.get("start")):"")+"."+t.get("leaves").size}).join("-")}};function h(t,e){var n=[],r=t.map(function(t){return t.getStyle()}).toList();return i(r,d,u,function(t,r){n.push(new l({start:t+e,end:r+e}))}),a(n)}function d(t,e){return t===e}t.exports=p},function(t,e,n){"use strict";var r=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.getType=function(){return this.get("type")},e.prototype.getMutability=function(){return this.get("mutability")},e.prototype.getData=function(){return this.get("data")},e}((0,n(3).Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object}));t.exports=r},function(t,e,n){"use strict";var r=n(56),o=n(4),i="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",a="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",s=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+i+a+"]"),c=new RegExp("["+i+a+"]");function u(t){var e=s.exec(t);return null==e?null:e[0]}function l(t){var e=u(t);return null==e?r.NEUTRAL:c.exec(e)?r.RTL:r.LTR}function f(t,e){if(e=e||r.NEUTRAL,!t.length)return e;var n=l(t);return n===r.NEUTRAL?e:n}function p(t,e){return e||(e=r.getGlobalDir()),r.isStrong(e)||o(!1),f(t,e)}var h={firstStrongChar:u,firstStrongCharDir:l,resolveBlockDir:f,getDirection:p,isDirectionLTR:function(t,e){return p(t,e)===r.LTR},isDirectionRTL:function(t,e){return p(t,e)===r.RTL}};t.exports=h},function(t,e,n){"use strict";t.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}},function(t,e,n){"use strict";t.exports=function(t){var e=t.getSelection(),n=e.getAnchorKey(),r=t.getBlockTree(n),o=e.getStartOffset(),i=!1;return r.some(function(t){return o===t.get("start")?(i=!0,!0):o<t.get("end")&&t.get("leaves").some(function(t){var e=t.get("start");return o===e&&(i=!0,!0)})}),i}},function(t,e,n){"use strict";var r=n(19)||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};var o=n(130),i=n(46),a=n(0),s=n(33),c=n(85),u=n(61),l=n(80),f=n(56),p=n(35),h=n(145),d=n(62),g=n(149),y=n(4),v=n(21),m=function(t,e){return t.getAnchorKey()===e||t.getFocusKey()===e},b=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.shouldComponentUpdate=function(t){return this.props.block!==t.block||this.props.tree!==t.tree||this.props.direction!==t.direction||m(t.selection,t.block.getKey())&&t.forceSelection},e.prototype.componentDidMount=function(){var t=this.props.selection,e=t.getEndKey();if(t.getHasFocus()&&e===this.props.block.getKey()){var n=s.findDOMNode(this),r=u.getScrollParent(n),o=d(r),i=void 0;if(r===window){var a=h(n);(i=a.y+a.height-g().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{n instanceof HTMLElement||y(!1),(i=n.offsetHeight+n.offsetTop-(r.offsetHeight+o.y))>0&&c.setTop(r,c.getTop(r)+i+10)}}},e.prototype._renderChildren=function(){var t=this,e=this.props.block,n=e.getKey(),s=e.getText(),c=this.props.tree.size-1,u=m(this.props.selection,n);return this.props.tree.map(function(p,h){var d=p.get("leaves"),g=d.size-1,y=d.map(function(r,l){var f=i.encode(n,h,l),p=r.get("start"),d=r.get("end");return a.createElement(o,{key:f,offsetKey:f,block:e,start:p,selection:u?t.props.selection:null,forceSelection:t.props.forceSelection,text:s.slice(p,d),styleSet:e.getInlineStyleAt(p),customStyleMap:t.props.customStyleMap,customStyleFn:t.props.customStyleFn,isLast:h===c&&l===g})}).toArray(),m=p.get("decoratorKey");if(null==m)return y;if(!t.props.decorator)return y;var b=v(t.props.decorator),_=b.getComponentForKey(m);if(!_)return y;var w=b.getPropsForKey(m),S=i.encode(n,h,0),x=s.slice(d.first().get("start"),d.last().get("end")),k=f.getHTMLDirIfDifferent(l.getDirection(x),t.props.direction);return a.createElement(_,r({},w,{contentState:t.props.contentState,decoratedText:x,dir:k,key:S,entityKey:e.getEntityAt(p.get("start")),offsetKey:S}),y)}).toArray()},e.prototype.render=function(){var t=this.props,e=t.direction,n=t.offsetKey,r=p({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===e,"public/DraftStyleDefault/rtl":"RTL"===e});return a.createElement("div",{"data-offset-key":n,className:r},this._renderChildren())},e}(a.Component);t.exports=b},function(t,e,n){"use strict";t.exports=function(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}},function(t,e,n){"use strict";function r(t,e){return!!e&&(t===e.documentElement||t===e.body)}var o={getTop:function(t){var e=t.ownerDocument;return r(t,e)?e.body.scrollTop||e.documentElement.scrollTop:t.scrollTop},setTop:function(t,e){var n=t.ownerDocument;r(t,n)?n.body.scrollTop=n.documentElement.scrollTop=e:t.scrollTop=e},getLeft:function(t){var e=t.ownerDocument;return r(t,e)?e.body.scrollLeft||e.documentElement.scrollLeft:t.scrollLeft},setLeft:function(t,e){var n=t.ownerDocument;r(t,n)?n.body.scrollLeft=n.documentElement.scrollLeft=e:t.scrollLeft=e}};t.exports=o},function(t,e,n){"use strict";var r=n(152),o=n(153),i=n(53),a=new RegExp("\r\n","g"),s={"text/rtf":1,"text/html":1};function c(t){if("file"==t.kind)return t.getAsFile()}var u=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.data=e,this.types=e.types?o(e.types):[]}return t.prototype.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some(function(t){return s[t]})},t.prototype.getText=function(){var t;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(t=this.data.getData("text/plain")):t=this.data.getData("Text")),t?t.replace(a,"\n"):null},t.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")}},t.prototype.isLink=function(){return this.types.some(function(t){return-1!=t.indexOf("Url")||-1!=t.indexOf("text/uri-list")||t.indexOf("text/x-moz-url")})},t.prototype.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},t.prototype.isImage=function(){var t=this.types.some(function(t){return-1!=t.indexOf("application/x-moz-file")});if(t)return!0;for(var e=this.getFiles(),n=0;n<e.length;n++){var o=e[n].type;if(!r.isImage(o))return!1}return!0},t.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},t.prototype.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(c).filter(i.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.prototype.hasFiles=function(){return this.getFiles().length>0},t}();t.exports=u},function(t,e,n){"use strict";t.exports=function t(e){if(e instanceof Element){var n=e.getAttribute("data-offset-key");if(n)return n;for(var r=0;r<e.childNodes.length;r++){var o=t(e.childNodes[r]);if(o)return o}}return null}},function(t,e,n){"use strict";(function(e){var r=n(4),o=/\.textClipping$/,i={"text/plain":!0,"text/html":!0,"text/rtf":!0},a=5e3;t.exports=function(t,n){var s=0,c=[];t.forEach(function(u){!function(t,n){if(e.FileReader&&(!t.type||t.type in i)){if(""===t.type){var a="";return o.test(t.name)&&(a=t.name.replace(o,"")),void n(a)}var s=new FileReader;s.onload=function(){var t=s.result;"string"!=typeof t&&r(!1),n(t)},s.onerror=function(){n("")},s.readAsText(t)}else n("")}(u,function(e){s++,e&&c.push(e.slice(0,a)),s==t.length&&n(c.join("\r"))})})}}).call(this,n(12))},function(t,e,n){"use strict";var r=n(46),o=n(21);t.exports=function(t,e,n,i,a){var s=o(t.getSelection()),c=r.decode(e),u=c.blockKey,l=t.getBlockTree(u).getIn([c.decoratorKey,"leaves",c.leafKey]),f=r.decode(i),p=f.blockKey,h=t.getBlockTree(p).getIn([f.decoratorKey,"leaves",f.leafKey]),d=l.get("start"),g=h.get("start"),y=l?d+n:null,v=h?g+a:null;if(s.getAnchorKey()===u&&s.getAnchorOffset()===y&&s.getFocusKey()===p&&s.getFocusOffset()===v)return s;var m=!1;if(u===p){var b=l.get("end"),_=h.get("end");m=g===d&&_===b?a<n:g<d}else m=t.getCurrentContent().getBlockMap().keySeq().skipUntil(function(t){return t===u||t===p}).first()===p;return s.merge({anchorKey:u,anchorOffset:y,focusKey:p,focusOffset:v,isBackward:m})}},function(t,e,n){"use strict";var r=n(44);t.exports=function(t){var e=t.getSelection();return e.isCollapsed()?null:r(t.getCurrentContent(),e)}},function(t,e,n){"use strict";var r=n(22),o=n(4);var i=r.isBrowser("Chrome")?function(t){for(var e=t.cloneRange(),n=[],r=t.endContainer;null!=r;r=r.parentNode){var i=r===t.commonAncestorContainer;i?e.setStart(t.startContainer,t.startOffset):e.setStart(e.endContainer,0);var a,s=Array.from(e.getClientRects());if(n.push(s),i)return n.reverse(),(a=[]).concat.apply(a,n);e.setEndBefore(r)}o(!1)}:function(t){return Array.from(t.getClientRects())};t.exports=i},function(t,e,n){"use strict";var r=n(63),o=n(87),i=n(89),a=n(4),s=n(21);function c(t,e,n){var i=e,c=r(i);if(null!=c||t&&(t===i||t.firstChild===i)||a(!1),t===i&&((i=i.firstChild)instanceof Element&&"true"===i.getAttribute("data-contents")||a(!1),n>0&&(n=i.childNodes.length)),0===n){var l=null;if(null!=c)l=c;else{var f=function(t){for(;t.firstChild&&(t.firstChild instanceof Element&&"true"===t.firstChild.getAttribute("data-blocks")||o(t.firstChild));)t=t.firstChild;return t}(i);l=s(o(f))}return{key:l,offset:0}}var p=i.childNodes[n-1],h=null,d=null;if(o(p)){var g=function(t){for(;t.lastChild&&(t.lastChild instanceof Element&&"true"===t.lastChild.getAttribute("data-blocks")||o(t.lastChild));)t=t.lastChild;return t}(p);h=s(o(g)),d=u(g)}else h=s(c),d=u(p);return{key:h,offset:d}}function u(t){var e=t.textContent;return"\n"===e?0:e.length}t.exports=function(t,e,n,o,a,u){var l=n.nodeType===Node.TEXT_NODE,f=a.nodeType===Node.TEXT_NODE;if(l&&f)return{selectionState:i(t,s(r(n)),o,s(r(a)),u),needsRecovery:!1};var p=null,h=null,d=!0;return l?(p={key:s(r(n)),offset:o},h=c(e,a,u)):f?(h={key:s(r(a)),offset:u},p=c(e,n,o)):(p=c(e,n,o),h=c(e,a,u),n===a&&o===u&&(d=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:i(t,p.key,p.offset,h.key,h.offset),needsRecovery:d}}},function(t,e,n){"use strict";var r="\\s|(?![_])"+n(170).getPunctuation(),o=new RegExp("^(?:"+r+")*(?:['‘’]|(?!"+r+").)*(?:(?!"+r+").)"),i=new RegExp("(?:(?!"+r+").)(?:['‘’]|(?!"+r+").)*(?:"+r+")*$");function a(t,e){var n=e?i.exec(t):o.exec(t);return n?n[0]:t}var s={getBackward:function(t){return a(t,!0)},getForward:function(t){return a(t,!1)}};t.exports=s},function(t,e,n){"use strict";t.exports=function(t,e){var n,r=t.getSelection(),o=r.getStartKey(),i=r.getStartOffset(),a=t.getCurrentContent(),s=o;return e>a.getBlockForKey(o).getText().length-i?(s=a.getKeyAfter(o),n=0):n=i+e,r.merge({focusKey:s,focusOffset:n})}},function(t,e,n){"use strict";var r,o=i||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=n(19);function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s=n(17),c=n(30),u=n(20),l=n(57),f=n(45),p=n(26),h=n(3),d=n(3).Set,g=n(181),y=n(35),v=n(23),m=n(96),b=n(4),_=n(55),w=p.draft_tree_data_support,S=h.List,x=h.OrderedSet,k=new RegExp("\r","g"),E=new RegExp("\n","g"),O=new RegExp("&nbsp;","g"),C=new RegExp("&#13;?","g"),T=new RegExp("&#8203;?","g"),M=["bold","bolder","500","600","700","800","900"],D=["light","lighter","100","200","300","400"],A={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},I=(a(r={},y("public/DraftStyleDefault/depth0"),0),a(r,y("public/DraftStyleDefault/depth1"),1),a(r,y("public/DraftStyleDefault/depth2"),2),a(r,y("public/DraftStyleDefault/depth3"),3),a(r,y("public/DraftStyleDefault/depth4"),4),r),K=["className","href","rel","target","title"],L=["alt","className","height","src","width"],B=void 0,N={text:"",inlines:[],entities:[],blocks:[]},z={children:S(),depth:0,key:"",type:""},j=function(t,e){return"li"===t?"ol"===e?"ordered-list-item":"unordered-list-item":null},R=function(t,e,n){var r=n.filter(function(e){return e.element===t||e.wrapper===t||e.aliasedElements&&e.aliasedElements.some(function(e){return e===t})}).keySeq().toSet().toArray().sort();switch(r.length){case 0:return"unstyled";case 1:return r[0];default:return function(t,e,n){for(var r=0;r<n.length;r++){var o=n[r](t,e);if(o)return o}return null}(t,e,[j])||"unstyled"}},P=function(t,e,n){var r=t.text.slice(-1),o=e.text.slice(0,1);if("\r"!==r||"\r"!==o||n||(t.text=t.text.slice(0,-1),t.inlines.pop(),t.entities.pop(),t.blocks.pop()),"\r"===r){if(" "===e.text||"\n"===e.text)return t;" "!==o&&"\n"!==o||(e.text=e.text.slice(1),e.inlines.shift(),e.entities.shift())}return{text:t.text+e.text,inlines:t.inlines.concat(e.inlines),entities:t.entities.concat(e.entities),blocks:t.blocks.concat(e.blocks)}},F=function(t){t instanceof HTMLAnchorElement||b(!1);var e=t.protocol;return"http:"===e||"https:"===e||"mailto:"===e},U=function(t){var e=new Array(1);return t&&(e[0]=t),o({},N,{text:" ",inlines:[x()],entities:e})},q=function(){return o({},N,{text:"\n",inlines:[x()],entities:new Array(1)})},W=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o({},z,t)},H=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{text:"\r",inlines:[x()],entities:new Array(1),blocks:[W({parent:n,key:v(),type:t,depth:Math.max(0,Math.min(4,e))})]}},V=function t(e,n,r,i,a,s,c,u,l,p){var h=B,d=n.nodeName.toLowerCase(),y=e,v="unstyled",m=!1,b=a&&R(a,i,u),_=o({},N),S=void 0;if("#text"===d){var x=n.textContent,k=x.trim();if(i&&""===k&&n.parentElement){var O=n.parentElement.nodeName.toLowerCase();if("ol"===O||"ul"===O)return{chunk:o({},N),entityMap:e}}return""===k&&"pre"!==a?{chunk:U(l),entityMap:e}:("pre"!==a&&(x=x.replace(E," ")),B=d,{chunk:{text:x,inlines:Array(x.length).fill(r),entities:Array(x.length).fill(l),blocks:[]},entityMap:e})}if(B=d,"br"===d)return"br"!==h||a&&"unstyled"!==b?{chunk:q(),entityMap:e}:{chunk:H("unstyled",c,p),entityMap:e};if("img"===d&&n instanceof HTMLImageElement&&n.attributes.getNamedItem("src")&&n.attributes.getNamedItem("src").value){var C=n,T={};L.forEach(function(t){var e=C.getAttribute(t);e&&(T[t]=e)}),n.textContent="📷",l=f.__create("IMAGE","MUTABLE",T||{})}r=function(t,e,n){var r=A[t];if(r)n=n.add(r).toOrderedSet();else if(e instanceof HTMLElement){var o=e;n=n.withMutations(function(t){var e=o.style.fontWeight,n=o.style.fontStyle,r=o.style.textDecoration;M.indexOf(e)>=0?t.add("BOLD"):D.indexOf(e)>=0&&t.remove("BOLD"),"italic"===n?t.add("ITALIC"):"normal"===n&&t.remove("ITALIC"),"underline"===r&&t.add("UNDERLINE"),"line-through"===r&&t.add("STRIKETHROUGH"),"none"===r&&(t.remove("UNDERLINE"),t.remove("STRIKETHROUGH"))}).toOrderedSet()}return n}(d,n,r),"ul"!==d&&"ol"!==d||(i&&(c+=1),i=d),!w&&"li"===d&&n instanceof HTMLElement&&(c=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(I).some(function(n){t.classList.contains(n)&&(e=I[n])}),e}(n,c));var z=R(d,i,u),j=i&&"li"===a&&"li"===d,W=(!a||w)&&-1!==s.indexOf(d);(j||W)&&(S=(_=H(z,c,p)).blocks[0].key,a=d,m=!w),j&&(v="ul"===i?"unordered-list-item":"ordered-list-item");var V=n.firstChild;null!=V&&(d=V.nodeName.toLowerCase());for(var J=null;V;){V instanceof HTMLAnchorElement&&V.href&&F(V)?function(){var t=V,e={};K.forEach(function(n){var r=t.getAttribute(n);r&&(e[n]=r)}),e.url=new g(t.href).toString(),J=f.__create("LINK","MUTABLE",e||{})}():J=void 0;var G=t(y,V,r,i,a,s,c,u,J||l,w?S:null),X=G.chunk;y=G.entityMap,_=P(_,X,w);var Y=V.nextSibling;!p&&Y&&s.indexOf(d)>=0&&a&&(_=P(_,q())),Y&&(d=Y.nodeName.toLowerCase()),V=Y}return m&&(_=P(_,H(v,c,p))),{chunk:_,entityMap:y}},J=function(t,e,n,r){t=t.trim().replace(k,"").replace(O," ").replace(C,"").replace(T,"");var i=function(t){var e=t.get("unstyled").element,n=d([]);return t.forEach(function(t){t.aliasedElements&&t.aliasedElements.forEach(function(t){n=n.add(t)}),n=n.add(t.element)}),n.filter(function(t){return t&&t!==e}).toArray().sort()}(n),a=e(t);if(!a)return null;B=null;var s=function(t,e){return e.some(function(e){return-1!==t.indexOf("<"+e)})}(t,i)?i:["div"],c=V(r,a,x(),"ul",null,s,-1,n),u=c.chunk,l=c.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(o({},N,{type:"unstyled",depth:0})),u.text.split("\r").length===u.blocks.length+1&&u.blocks.unshift({type:"unstyled",depth:0}),{chunk:u,entityMap:l}};t.exports=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l,r=J(t,e,n,f);if(null==r)return null;var o=r.chunk,i=r.entityMap;return{contentBlocks:function(t){if(!t||!t.text||!Array.isArray(t.blocks))return null;var e=0,n=t.blocks,r=t.inlines,o=t.entities,i=w?u:c;return t.text.split("\r").reduce(function(t,a,c){a=_(a);var l=n[c],f=e+a.length,p=r.slice(e,f),h=o.slice(e,f),d=S(p.map(function(t,e){var n={style:t,entity:null};return h[e]&&(n.entity=h[e]),s.create(n)}));e=f+1;var g=l.depth,y=l.type,m=l.parent,b=l.key||v(),w=null;if(m){var x=t.cacheRef[m],k=t.contentBlocks[x];if(k.getChildKeys().isEmpty()&&k.getText()){var E=k.getCharacterList(),O=k.getText();w=v();var C=new u({key:w,text:O,characterList:E,parent:m,nextSibling:b});t.contentBlocks.push(C),k=k.withMutations(function(t){t.set("characterList",S()).set("text","").set("children",k.children.push(C.getKey()))})}t.contentBlocks[x]=k.set("children",k.children.push(b))}var T=new i({key:b,parent:m,type:y,depth:g,text:a,characterList:d,prevSibling:w||(0===c||n[c-1].parent!==m?null:n[c-1].key),nextSibling:c===n.length-1||n[c+1].parent!==m?null:n[c+1].key});return t.contentBlocks.push(T),t.cacheRef[T.key]=c,t},{cacheRef:{},contentBlocks:[]}).contentBlocks}(o),entityMap:i}}},function(t,e,n){"use strict";var r=n(22),o=n(4),i=r.isBrowser("IE <= 9");t.exports=function(t){var e,n=null;return!i&&document.implementation&&document.implementation.createHTMLDocument&&((e=document.implementation.createHTMLDocument("foo")).documentElement||o(!1),e.documentElement.innerHTML=t,n=e.getElementsByTagName("body")[0]),n}},function(t,e,n){"use strict";var r=n(16),o=n(5),i=(n(34),n(182)),a=n(21),s={currentBlockContainsLink:function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=n.getEntityMap();return n.getBlockForKey(e.getAnchorKey()).getCharacterList().slice(e.getStartOffset(),e.getEndOffset()).some(function(t){var e=t.getEntity();return!!e&&"LINK"===r.__get(e).getType()})},getCurrentBlockType:function(t){var e=t.getSelection();return t.getCurrentContent().getBlockForKey(e.getStartKey()).getType()},getDataObjectForLinkURL:function(t){return{url:t.toString()}},handleKeyCommand:function(t,e){switch(e){case"bold":return s.toggleInlineStyle(t,"BOLD");case"italic":return s.toggleInlineStyle(t,"ITALIC");case"underline":return s.toggleInlineStyle(t,"UNDERLINE");case"code":return s.toggleCode(t);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return s.onBackspace(t);case"delete":case"delete-word":case"delete-to-end-of-block":return s.onDelete(t);default:return null}},insertSoftNewline:function(t){var e=r.insertText(t.getCurrentContent(),t.getSelection(),"\n",t.getCurrentInlineStyle(),null),n=o.push(t,e,"insert-characters");return o.forceSelection(n,e.getSelectionAfter())},onBackspace:function(t){var e=t.getSelection();if(!e.isCollapsed()||e.getAnchorOffset()||e.getFocusOffset())return null;var n=t.getCurrentContent(),r=e.getStartKey(),i=n.getBlockBefore(r);if(i&&"atomic"===i.getType()){var a=n.getBlockMap().delete(i.getKey()),c=n.merge({blockMap:a,selectionAfter:e});if(c!==n)return o.push(t,c,"remove-range")}var u=s.tryToRemoveBlockStyle(t);return u?o.push(t,u,"change-block-type"):null},onDelete:function(t){var e=t.getSelection();if(!e.isCollapsed())return null;var n=t.getCurrentContent(),i=e.getStartKey(),a=n.getBlockForKey(i).getLength();if(e.getStartOffset()<a)return null;var s=n.getBlockAfter(i);if(!s||"atomic"!==s.getType())return null;var c=e.merge({focusKey:s.getKey(),focusOffset:s.getLength()}),u=r.removeRange(n,c,"forward");return u!==n?o.push(t,u,"remove-range"):null},onTab:function(t,e,n){var r=e.getSelection(),a=r.getAnchorKey();if(a!==r.getFocusKey())return e;var s=e.getCurrentContent(),c=s.getBlockForKey(a),u=c.getType();if("unordered-list-item"!==u&&"ordered-list-item"!==u)return e;t.preventDefault();var l=s.getBlockBefore(a);if(!l)return e;var f=l.getType();if("unordered-list-item"!==f&&"ordered-list-item"!==f)return e;var p=c.getDepth();if(!t.shiftKey&&p===n)return e;n=Math.min(l.getDepth()+1,n);var h=i(s,r,t.shiftKey?-1:1,n);return o.push(e,h,"adjust-depth")},toggleBlockType:function(t,e){var n=t.getSelection(),i=n.getStartKey(),s=n.getEndKey(),c=t.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(t,e){return e!==i}).reverse().skipWhile(function(t,e){return e!==s}).some(function(t){return"atomic"===t.getType()}))return t;var f=c.getBlockForKey(i).getType()===e?"unstyled":e;return o.push(t,r.setBlockType(c,u,f),"change-block-type")},toggleCode:function(t){var e=t.getSelection(),n=e.getAnchorKey(),r=e.getFocusKey();return e.isCollapsed()||n!==r?s.toggleBlockType(t,"code-block"):s.toggleInlineStyle(t,"CODE")},toggleInlineStyle:function(t,e){var n=t.getSelection(),i=t.getCurrentInlineStyle();if(n.isCollapsed())return o.setInlineStyleOverride(t,i.has(e)?i.remove(e):i.add(e));var a,s=t.getCurrentContent();return a=i.has(e)?r.removeInlineStyle(s,n,e):r.applyInlineStyle(s,n,e),o.push(t,a,"change-inline-style")},toggleLink:function(t,e,n){var i=r.applyEntity(t.getCurrentContent(),e,n);return o.push(t,i,"apply-entity")},tryToRemoveBlockStyle:function(t){var e=t.getSelection(),n=e.getAnchorOffset();if(e.isCollapsed()&&0===n){var o=e.getAnchorKey(),i=t.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()&&0!==u.getLength())return null;if("unstyled"!==c)return r.setBlockType(i,e,"unstyled")}return null}};t.exports=s},function(t,e,n){"use strict";var r=n(64),o=n(58),i=n(22),a=i.isPlatform("Mac OS X"),s=i.isPlatform("Windows"),c=a&&i.isBrowser("Firefox < 29"),u=r.hasCommandModifier,l=r.isCtrlKeyCommand;function f(t){return a&&t.altKey||l(t)}t.exports=function(t){switch(t.keyCode){case 66:return u(t)?"bold":null;case 68:return l(t)?"delete":null;case 72:return l(t)?"backspace":null;case 73:return u(t)?"italic":null;case 74:return u(t)?"code":null;case 75:return!s&&l(t)?"secondary-cut":null;case 77:case 79:return l(t)?"split-block":null;case 84:return a&&l(t)?"transpose-characters":null;case 85:return u(t)?"underline":null;case 87:return a&&l(t)?"backspace-word":null;case 89:return l(t)?s?"redo":"secondary-paste":null;case 90:return function(t){return u(t)?t.shiftKey?"redo":"undo":null}(t)||null;case o.RETURN:return"split-block";case o.DELETE:return function(t){return s&&t.shiftKey?null:f(t)?"delete-word":"delete"}(t);case o.BACKSPACE:return function(t){return u(t)&&a?"backspace-to-start-of-line":f(t)?"backspace-word":"backspace"}(t);case o.LEFT:return c&&u(t)?"move-selection-to-start-of-block":null;case o.RIGHT:return c&&u(t)?"move-selection-to-end-of-block":null;default:return null}}},function(t,e,n){"use strict";var r={stringify:function(t){return"_"+String(t)},unstringify:function(t){return t.slice(1)}};t.exports=r},function(t,e,n){var r=n(198);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(14)(r,o);r.locals&&(t.exports=r.locals)},,,,,,,,,function(t,e,n){"use strict";var r=n(19)||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=n(36),i=n(17),a=n(30),s=n(20),c=n(26),u=n(16),l=n(5),f=n(3),p=(n(34),n(23)),h=n(124),d=c.draft_tree_data_support,g=d?s:a,y=f.List,v=f.Repeat,m={insertAtomicBlock:function(t,e,n){var a=t.getCurrentContent(),s=t.getSelection(),c=u.removeRange(a,s,"backward"),f=c.getSelectionAfter(),h=u.splitBlock(c,f),m=h.getSelectionAfter(),b=u.setBlockType(h,m,"atomic"),_=i.create({entity:e}),w={key:p(),type:"atomic",text:n,characterList:y(v(_,n.length))},S={key:p(),type:"unstyled"};d&&(w=r({},w,{nextSibling:S.key}),S=r({},S,{prevSibling:w.key}));var x=[new g(w),new g(S)],k=o.createFromArray(x),E=u.replaceWithFragment(b,m,k),O=E.merge({selectionBefore:s,selectionAfter:E.getSelectionAfter().set("hasFocus",!0)});return l.push(t,O,"insert-fragment")},moveAtomicBlock:function(t,e,n,r){var o=t.getCurrentContent(),i=t.getSelection(),a=void 0;if("before"===r||"after"===r){var s=o.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());a=h(o,e,s,r)}else{var c=u.removeRange(o,n,"backward"),f=c.getSelectionAfter(),p=c.getBlockForKey(f.getFocusKey());if(0===f.getStartOffset())a=h(c,e,p,"before");else if(f.getEndOffset()===p.getLength())a=h(c,e,p,"after");else{var d=u.splitBlock(c,f),g=d.getSelectionAfter(),y=d.getBlockForKey(g.getFocusKey());a=h(d,e,y,"before")}}var v=a.merge({selectionBefore:i,selectionAfter:a.getSelectionAfter().set("hasFocus",!0)});return l.push(t,v,"move-block")}};t.exports=m},function(t,e,n){"use strict";t.exports={draft_killswitch_allow_nontextnodes:!1,draft_segmented_entities_behavior:!1,draft_handlebeforeinput_composed_text:!1,draft_tree_data_support:!1}},function(t,e,n){"use strict";var r=n(17),o=n(3).Map,i={add:function(t,e,n){return a(t,e,n,!0)},remove:function(t,e,n){return a(t,e,n,!1)}};function a(t,e,n,i){var a=t.getBlockMap(),s=e.getStartKey(),c=e.getStartOffset(),u=e.getEndKey(),l=e.getEndOffset(),f=a.skipUntil(function(t,e){return e===s}).takeUntil(function(t,e){return e===u}).concat(o([[u,a.get(u)]])).map(function(t,e){var o,a;s===u?(o=c,a=l):(o=e===s?c:0,a=e===u?l:t.getLength());for(var f,p=t.getCharacterList();o<a;)f=p.get(o),p=p.set(o,i?r.applyStyle(f,n):r.removeStyle(f,n)),o++;return t.set("characterList",p)});return t.merge({blockMap:a.merge(f),selectionBefore:e,selectionAfter:e})}t.exports=i},function(t,e,n){"use strict";var r=n(3),o=n(113);t.exports=function(t,e,n){var i=t.getBlockMap(),a=e.getStartKey(),s=e.getStartOffset(),c=e.getEndKey(),u=e.getEndOffset(),l=i.skipUntil(function(t,e){return e===a}).takeUntil(function(t,e){return e===c}).toOrderedMap().merge(r.OrderedMap([[c,i.get(c)]])).map(function(t,e){var r=e===a?s:0,i=e===c?u:t.getLength();return o(t,r,i,n)});return t.merge({blockMap:i.merge(l),selectionBefore:e,selectionAfter:e})}},function(t,e,n){"use strict";var r=n(17);t.exports=function(t,e,n,o){for(var i=t.getCharacterList();e<n;)i=i.set(e,r.applyEntity(i.get(e),o)),e++;return t.set("characterList",i)}},function(t,e,n){"use strict";var r=n(115),o=n(116),i=n(4);function a(t,e,n,a,s,c,u){var l=n.getStartOffset(),f=n.getEndOffset(),p=t.__get(s).getMutability(),h=u?l:f;if("MUTABLE"===p)return n;var d=o(e,s).filter(function(t){return h<=t.end&&h>=t.start});1!=d.length&&i(!1);var g=d[0];if("IMMUTABLE"===p)return n.merge({anchorOffset:g.start,focusOffset:g.end,isBackward:!1});c||(u?f=g.end:l=g.start);var y=r.getRemovalRange(l,f,e.getText().slice(g.start,g.end),g.start,a);return n.merge({anchorOffset:y.start,focusOffset:y.end,isBackward:!1})}t.exports=function(t,e,n,r,o){var i=r.getStartOffset(),s=r.getEndOffset(),c=e.getEntityAt(i),u=n.getEntityAt(s-1);if(!c&&!u)return r;var l=r;if(c&&c===u)l=a(t,e,l,o,c,!0,!0);else if(c&&u){var f=a(t,e,l,o,c,!1,!0),p=a(t,n,l,o,u,!1,!1);l=l.merge({anchorOffset:f.getAnchorOffset(),focusOffset:p.getFocusOffset(),isBackward:!1})}else if(c){var h=a(t,e,l,o,c,!1,!0);l=l.merge({anchorOffset:h.getStartOffset(),isBackward:!1})}else if(u){var d=a(t,n,l,o,u,!1,!1);l=l.merge({focusOffset:d.getEndOffset(),isBackward:!1})}return l}},function(t,e,n){"use strict";t.exports={getRemovalRange:function(t,e,n,r,o){var i=n.split(" ");i=i.map(function(t,e){if("forward"===o){if(e>0)return" "+t}else if(e<i.length-1)return t+" ";return t});for(var a,s=r,c=null,u=null,l=0;l<i.length;l++){if(t<(a=s+i[l].length)&&s<e)null!==c?u=a:(c=s,u=a);else if(null!==c)break;s=a}var f=r+n.length,p=c===r,h=u===f;return(!p&&h||p&&!h)&&("forward"===o?u!==f&&u++:c!==r&&c--),{start:c,end:u}}}},function(t,e,n){"use strict";var r=n(4);t.exports=function(t,e){var n=[];return t.findEntityRanges(function(t){return t.getEntity()===e},function(t,e){n.push({start:t,end:e})}),n.length||r(!1),n}},function(t,e,n){"use strict";var r=n(36),o=n(20),i=n(3),a=n(76),s=n(4),c=n(74),u=i.List,l=function(t,e,n,i,a,s){var c=n.first()instanceof o,l=[],f=i.size,p=n.get(a),h=i.first(),d=i.last(),g=d.getLength(),y=d.getKey(),v=c&&(!p.getChildKeys().isEmpty()||!h.getChildKeys().isEmpty());n.forEach(function(t,e){e===a?(v?l.push(t):l.push(function(t,e,n){var r=t.getText(),o=t.getCharacterList(),i=r.slice(0,e),a=o.slice(0,e),s=n.first();return t.merge({text:i+s.getText(),characterList:a.concat(s.getCharacterList()),type:i?t.getType():s.getType(),data:s.getData()})}(t,s,i)),i.slice(v?0:1,f-1).forEach(function(t){return l.push(t)}),l.push(function(t,e,n){var r=t.getText(),o=t.getCharacterList(),i=r.length,a=r.slice(e,i),s=o.slice(e,i),c=n.last();return c.merge({text:c.getText()+a,characterList:c.getCharacterList().concat(s),data:c.getData()})}(t,s,i))):l.push(t)});var m=r.createFromArray(l);return c&&(m=function(t,e,n,r){return t.withMutations(function(e){var o=n.getKey(),i=r.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),c=function(t,e){var n=t.getKey(),r=t,o=[];for(e.get(n)&&o.push(n);r&&r.getNextSiblingKey();){var i=r.getNextSiblingKey();if(!i)break;o.push(i),r=e.get(i)}return o}(r,t),l=c[c.length-1];if(e.get(i)?(e.setIn([o,"nextSibling"],i),e.setIn([i,"prevSibling"],o)):(e.setIn([o,"nextSibling"],r.getNextSiblingKey()),e.setIn([r.getNextSiblingKey(),"prevSibling"],o)),e.setIn([l,"nextSibling"],a),a&&e.setIn([a,"prevSibling"],l),c.forEach(function(t){return e.setIn([t,"parent"],s)}),s){var f=t.get(s).getChildKeys(),p=f.indexOf(o)+1,h=f.toArray();h.splice.apply(h,[p,0].concat(c)),e.setIn([s,"children"],u(h))}})}(m,0,p,h)),t.merge({blockMap:m,selectionBefore:e,selectionAfter:e.merge({anchorKey:y,anchorOffset:g,focusKey:y,focusOffset:g,isBackward:!1})})};t.exports=function(t,e,n){e.isCollapsed()||s(!1);var r=t.getBlockMap(),i=c(n),u=e.getStartKey(),f=e.getStartOffset(),p=r.get(u);return p instanceof o&&(p.getChildKeys().isEmpty()||s(!1)),1===i.size?function(t,e,n,r,o,i){var s=n.get(o),c=s.getText(),u=s.getCharacterList(),l=o,f=i+r.getText().length,p=s.merge({text:c.slice(0,i)+r.getText()+c.slice(i),characterList:a(u,r.getCharacterList(),i),data:r.getData()});return t.merge({blockMap:n.set(o,p),selectionBefore:e,selectionAfter:e.merge({anchorKey:l,anchorOffset:f,focusKey:l,focusOffset:f,isBackward:!1})})}(t,e,r,i.first(),u,f):l(t,e,r,i,u,f)}},function(t,e,n){"use strict";var r=n(3),o=n(76),i=n(4),a=r.Repeat;t.exports=function(t,e,n,r){e.isCollapsed()||i(!1);var s=n.length;if(!s)return t;var c=t.getBlockMap(),u=e.getStartKey(),l=e.getStartOffset(),f=c.get(u),p=f.getText(),h=f.merge({text:p.slice(0,l)+n+p.slice(l,f.getLength()),characterList:o(f.getCharacterList(),a(r,s).toList(),l)}),d=l+s;return t.merge({blockMap:c.set(u,h),selectionAfter:e.merge({anchorOffset:d,focusOffset:d})})}},function(t,e,n){"use strict";var r=n(3).Map;t.exports=function(t,e,n){var o=e.getStartKey(),i=e.getEndKey(),a=t.getBlockMap(),s=a.toSeq().skipUntil(function(t,e){return e===o}).takeUntil(function(t,e){return e===i}).concat(r([[i,a.get(i)]])).map(n);return t.merge({blockMap:a.merge(s),selectionBefore:e,selectionAfter:e})}},function(t,e,n){"use strict";var r=n(20),o=n(3),i=n(77),a=(o.List,o.Map),s=function(t,e,n){if(t){var r=e.get(t);r&&e.set(t,n(r))}},c=function(t,e){var n=[];if(!t)return n;for(var r=e.get(t);r&&r.getParentKey();){var o=r.getParentKey();o&&n.push(o),r=o?e.get(o):null}return n},u=function(t,e,n){if(!t)return null;for(var r=n.get(t.getKey()).getNextSiblingKey();r&&!e.get(r);)r=n.get(r).getNextSiblingKey()||null;return r},l=function(t,e,n){if(!t)return null;for(var r=n.get(t.getKey()).getPrevSiblingKey();r&&!e.get(r);)r=n.get(r).getPrevSiblingKey()||null;return r},f=function(t,e,n,r){return t.withMutations(function(t){s(e.getKey(),t,function(n){return n.merge({nextSibling:u(e,t,r),prevSibling:l(e,t,r)})}),s(n.getKey(),t,function(e){return e.merge({nextSibling:u(n,t,r),prevSibling:l(n,t,r)})}),c(e.getKey(),r).forEach(function(e){return s(e,t,function(e){return e.merge({children:e.getChildKeys().filter(function(e){return t.get(e)}),nextSibling:u(e,t,r),prevSibling:l(e,t,r)})})}),s(e.getNextSiblingKey(),t,function(t){return t.merge({prevSibling:e.getPrevSiblingKey()})}),s(e.getPrevSiblingKey(),t,function(n){return n.merge({nextSibling:u(e,t,r)})}),s(n.getNextSiblingKey(),t,function(e){return e.merge({prevSibling:l(n,t,r)})}),s(n.getPrevSiblingKey(),t,function(t){return t.merge({nextSibling:n.getNextSiblingKey()})}),c(n.getKey(),r).forEach(function(e){s(e,t,function(e){return e.merge({children:e.getChildKeys().filter(function(e){return t.get(e)}),nextSibling:u(e,t,r),prevSibling:l(e,t,r)})})}),function(t,e){var n=[];if(!t)return n;for(var r=i(t,e);r&&e.get(r);){var o=e.get(r);n.push(r),r=o.getParentKey()?i(o,e):null}return n}(n,r).forEach(function(e){return s(e,t,function(e){return e.merge({nextSibling:u(e,t,r),prevSibling:l(e,t,r)})})})})},p=function(t,e,n){if(0===e)for(;e<n;)t=t.shift(),e++;else if(n===t.count())for(;n>e;)t=t.pop(),n--;else{var r=t.slice(0,e),o=t.slice(n);t=r.concat(o).toList()}return t};t.exports=function(t,e){if(e.isCollapsed())return t;var n=t.getBlockMap(),o=e.getStartKey(),s=e.getStartOffset(),u=e.getEndKey(),l=e.getEndOffset(),h=n.get(o),d=n.get(u),g=h instanceof r,y=[];if(g){var v=d.getChildKeys(),m=c(u,n);d.getNextSiblingKey()&&(y=y.concat(m)),v.isEmpty()||(y=y.concat(m.concat([u]))),y=y.concat(c(i(d,n),n))}var b=void 0;b=h===d?p(h.getCharacterList(),s,l):h.getCharacterList().slice(0,s).concat(d.getCharacterList().slice(l));var _=h.merge({text:h.getText().slice(0,s)+d.getText().slice(l),characterList:b}),w=n.toSeq().skipUntil(function(t,e){return e===o}).takeUntil(function(t,e){return e===u}).filter(function(t,e){return-1===y.indexOf(e)}).concat(a([[u,null]])).map(function(t,e){return e===o?_:null}),S=n.merge(w).filter(function(t){return!!t});return g&&(S=f(S,h,d,n)),t.merge({blockMap:S,selectionBefore:e,selectionAfter:e.merge({anchorKey:o,anchorOffset:s,focusKey:o,focusOffset:s,isBackward:!1})})}},function(t,e,n){"use strict";var r=n(20),o=n(3),i=n(23),a=n(4),s=o.List,c=o.Map,u=function(t,e,n){if(t){var r=e.get(t);r&&e.set(t,n(r))}};t.exports=function(t,e){e.isCollapsed()||a(!1);var n=e.getAnchorKey(),o=e.getAnchorOffset(),l=t.getBlockMap(),f=l.get(n),p=f.getText(),h=f.getCharacterList(),d=i(),g=f instanceof r,y=f.merge({text:p.slice(0,o),characterList:h.slice(0,o)}),v=y.merge({key:d,text:p.slice(o),characterList:h.slice(o),data:c()}),m=l.toSeq().takeUntil(function(t){return t===f}),b=l.toSeq().skipUntil(function(t){return t===f}).rest(),_=m.concat([[n,y],[d,v]],b).toOrderedMap();return g&&(f.getChildKeys().isEmpty()||a(!1),_=function(t,e,n){return t.withMutations(function(t){var r=e.getKey(),o=n.getKey();u(e.getParentKey(),t,function(t){var e=t.getChildKeys(),n=e.indexOf(r)+1,i=e.toArray();return i.splice(n,0,o),t.merge({children:s(i)})}),u(e.getNextSiblingKey(),t,function(t){return t.merge({prevSibling:o})}),u(r,t,function(t){return t.merge({nextSibling:o})}),u(o,t,function(t){return t.merge({prevSibling:r})})})}(_,y,v)),t.merge({blockMap:_,selectionBefore:e,selectionAfter:e.merge({anchorKey:d,anchorOffset:0,focusKey:d,focusOffset:0,isBackward:!1})})}},function(t,e,n){"use strict";var r,o=n(3),i=n(123),a=n(21),s=o.OrderedMap,c={getDirectionMap:function(t,e){r?r.reset():r=new i;var n=t.getBlockMap(),c=n.valueSeq().map(function(t){return a(r).getDirection(t.getText())}),u=s(n.keySeq().zip(c));return null!=e&&o.is(e,u)?e:u}};t.exports=c},function(t,e,n){"use strict";var r=n(80),o=n(56),i=n(4),a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e?o.isStrong(e)||i(!1):e=o.getGlobalDir(),this._defaultDir=e,this.reset()}return t.prototype.reset=function(){this._lastDir=this._defaultDir},t.prototype.getDirection=function(t){return this._lastDir=r.getDirection(t,this._lastDir),this._lastDir},t}();t.exports=a},function(t,e,n){"use strict";var r=n(20),o=n(3),i=n(77),a=n(4),s=o.OrderedMap,c=o.List,u=function(t,e,n){if(t){var r=e.get(t);r&&e.set(t,n(r))}},l=function(t,e,n,r,o){if(!o)return t;var i="after"===r,a=e.getKey(),s=n.getKey(),l=e.getParentKey(),f=e.getNextSiblingKey(),p=e.getPrevSiblingKey(),h=n.getParentKey(),d=i?n.getNextSiblingKey():s,g=i?s:n.getPrevSiblingKey();return t.withMutations(function(t){u(l,t,function(t){var e=t.getChildKeys();return t.merge({children:e.delete(e.indexOf(a))})}),u(p,t,function(t){return t.merge({nextSibling:f})}),u(f,t,function(t){return t.merge({prevSibling:p})}),u(d,t,function(t){return t.merge({prevSibling:a})}),u(g,t,function(t){return t.merge({nextSibling:a})}),u(h,t,function(t){var e=t.getChildKeys(),n=e.indexOf(s),r=i?n+1:0!==n?n-1:0,o=e.toArray();return o.splice(r,0,a),t.merge({children:c(o)})}),u(a,t,function(t){return t.merge({nextSibling:d,prevSibling:g,parent:h})})})};t.exports=function(t,e,n,o){"replace"===o&&a(!1);var c=n.getKey(),u=e.getKey();u===c&&a(!1);var f=t.getBlockMap(),p=e instanceof r,h=[e],d=f.delete(u);p&&(h=[],d=f.withMutations(function(t){var n=e.getNextSiblingKey(),r=i(e,t);t.toSeq().skipUntil(function(t){return t.getKey()===u}).takeWhile(function(t){var e=t.getKey(),o=e===u,i=n&&e!==n,a=!n&&t.getParentKey()&&(!r||e!==r);return!!(o||i||a)}).forEach(function(e){h.push(e),t.delete(e.getKey())})}));var g=d.toSeq().takeUntil(function(t){return t===n}),y=d.toSeq().skipUntil(function(t){return t===n}).skip(1),v=h.map(function(t){return[t.getKey(),t]}),m=s();if("before"===o){var b=t.getBlockBefore(c);b&&b.getKey()===e.getKey()&&a(!1),m=g.concat([].concat(v,[[c,n]]),y).toOrderedMap()}else if("after"===o){var _=t.getBlockAfter(c);_&&_.getKey()===u&&a(!1),m=g.concat([[c,n]].concat(v),y).toOrderedMap()}return t.merge({blockMap:l(m,e,n,o,p),selectionBefore:t.getSelectionAfter(),selectionAfter:t.getSelectionAfter().merge({anchorKey:u,focusKey:u})})}},function(t,e,n){"use strict";var r=n(3).List,o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._decorators=e.slice()}return t.prototype.getDecorations=function(t,e){var n=Array(t.getText().length).fill(null);return this._decorators.forEach(function(r,o){var i=0;(0,r.strategy)(t,function(t,e){(function(t,e,n){for(var r=e;r<n;r++)if(null!=t[r])return!1;return!0})(n,t,e)&&(function(t,e,n,r){for(var o=e;o<n;o++)t[o]=r}(n,t,e,o+"."+i),i++)},e)}),r(n)},t.prototype.getComponentForKey=function(t){var e=parseInt(t.split(".")[0],10);return this._decorators[e].component},t.prototype.getPropsForKey=function(t){var e=parseInt(t.split(".")[0],10);return this._decorators[e].props},t}();t.exports=o},function(t,e,n){"use strict";var r=n(19)||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};var o=n(57),i=n(81),a=n(127),s=n(128),c=n(151),u=n(154),l=n(186),f=n(5),p=n(0),h=n(33),d=n(85),g=n(61),y=n(22),v=n(35),m=n(53),b=n(23),_=n(98),w=n(62),S=n(4),x=n(21),k=y.isBrowser("IE"),E=!k,O={edit:u,composite:a,drag:c,cut:null,render:null},C=function(t){function e(n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,n));return r.focus=function(t){var e=r.props.editorState,n=e.getSelection().getHasFocus(),o=h.findDOMNode(r.editor);if(o){var i=g.getScrollParent(o),a=t||w(i),s=a.x,c=a.y;o instanceof HTMLElement||S(!1),o.focus(),i===window?window.scrollTo(s,c):d.setTop(i,c),n||r.update(f.forceSelection(e,e.getSelection()))}},r.blur=function(){var t=h.findDOMNode(r.editor);t instanceof HTMLElement||S(!1),t.blur()},r.setMode=function(t){r._handler=O[t]},r.exitCurrentMode=function(){r.setMode("edit")},r.restoreEditorDOM=function(t){r.setState({contentsKey:r.state.contentsKey+1},function(){r.focus(t)})},r.setClipboard=function(t){r._clipboard=t},r.getClipboard=function(){return r._clipboard},r.update=function(t){r._latestEditorState=t,r.props.onChange(t)},r.onDragEnter=function(){r._dragCount++},r.onDragLeave=function(){r._dragCount--,0===r._dragCount&&r.exitCurrentMode()},r._blockSelectEvents=!1,r._clipboard=null,r._handler=null,r._dragCount=0,r._editorKey=n.editorKey||b(),r._placeholderAccessibilityID="placeholder-"+r._editorKey,r._latestEditorState=n.editorState,r._latestCommittedEditorState=n.editorState,r._onBeforeInput=r._buildHandler("onBeforeInput"),r._onBlur=r._buildHandler("onBlur"),r._onCharacterData=r._buildHandler("onCharacterData"),r._onCompositionEnd=r._buildHandler("onCompositionEnd"),r._onCompositionStart=r._buildHandler("onCompositionStart"),r._onCopy=r._buildHandler("onCopy"),r._onCut=r._buildHandler("onCut"),r._onDragEnd=r._buildHandler("onDragEnd"),r._onDragOver=r._buildHandler("onDragOver"),r._onDragStart=r._buildHandler("onDragStart"),r._onDrop=r._buildHandler("onDrop"),r._onInput=r._buildHandler("onInput"),r._onFocus=r._buildHandler("onFocus"),r._onKeyDown=r._buildHandler("onKeyDown"),r._onKeyPress=r._buildHandler("onKeyPress"),r._onKeyUp=r._buildHandler("onKeyUp"),r._onMouseDown=r._buildHandler("onMouseDown"),r._onMouseUp=r._buildHandler("onMouseUp"),r._onPaste=r._buildHandler("onPaste"),r._onSelect=r._buildHandler("onSelect"),r.getEditorKey=function(){return r._editorKey},r.state={contentsKey:0},r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype._buildHandler=function(t){var e=this;return function(n){if(!e.props.readOnly){var r=e._handler&&e._handler[t];r&&r(e,n)}}},e.prototype._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},e.prototype._renderPlaceholder=function(){if(this._showPlaceholder()){var t={text:x(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return p.createElement(l,t)}return null},e.prototype.render=function(){var t=this,e=this.props,n=e.blockRenderMap,o=e.blockRendererFn,a=e.blockStyleFn,c=e.customStyleFn,u=e.customStyleMap,l=e.editorState,f=e.readOnly,h=e.textAlignment,d=e.textDirectionality,g=v({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===h,"DraftEditor/alignRight":"right"===h,"DraftEditor/alignCenter":"center"===h}),y=this.props.role||"textbox",m="combobox"===y?!!this.props.ariaExpanded:null,b={blockRenderMap:n,blockRendererFn:o,blockStyleFn:a,customStyleMap:r({},i,u),customStyleFn:c,editorKey:this._editorKey,editorState:l,key:"contents"+this.state.contentsKey,textDirectionality:d};return p.createElement("div",{className:g},this._renderPlaceholder(),p.createElement("div",{className:v("DraftEditor/editorContainer"),ref:function(e){return t.editorContainer=e}},p.createElement("div",{"aria-activedescendant":f?null:this.props.ariaActiveDescendantID,"aria-autocomplete":f?null:this.props.ariaAutoComplete,"aria-controls":f?null:this.props.ariaControls,"aria-describedby":this.props.ariaDescribedBy||this._placeholderAccessibilityID,"aria-expanded":f?null:m,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:v({notranslate:!f,"public/DraftEditor/content":!0}),contentEditable:!f,"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:function(e){return t.editor=e},role:f?null:y,spellCheck:E&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},p.createElement(s,b))))},e.prototype.componentDidMount=function(){this.setMode("edit"),k&&document.execCommand("AutoUrlDetect",!1,!1)},e.prototype.componentWillUpdate=function(t){this._blockSelectEvents=!0,this._latestEditorState=t.editorState},e.prototype.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestCommittedEditorState=this.props.editorState},e}(p.Component);C.defaultProps={blockRenderMap:o,blockRendererFn:m.thatReturnsNull,blockStyleFn:m.thatReturns(""),keyBindingFn:_,readOnly:!1,spellCheck:!1,stripPastedStyles:!1},t.exports=C},function(t,e,n){"use strict";var r=n(26),o=n(16),i=n(5),a=n(58),s=n(59),c=n(38),u=n(82),l=!1,f=!1,p="",h={onBeforeInput:function(t,e){p=(p||"")+e.data},onCompositionStart:function(t){f=!0},onCompositionEnd:function(t){l=!1,f=!1,setTimeout(function(){l||h.resolveComposition(t)},20)},onKeyDown:function(t,e){if(!f)return h.resolveComposition(t),void t._onKeyDown(e);e.which!==a.RIGHT&&e.which!==a.LEFT||e.preventDefault()},onKeyPress:function(t,e){e.which===a.RETURN&&e.preventDefault()},resolveComposition:function(t){if(!f){l=!0;var e=p;p="";var n=i.set(t._latestEditorState,{inCompositionMode:!1}),a=n.getCurrentInlineStyle(),h=s(n.getCurrentContent(),n.getSelection()),d=!e||u(n)||a.size>0||null!==h;if(d&&t.restoreEditorDOM(),t.exitCurrentMode(),e){if(r.draft_handlebeforeinput_composed_text&&t.props.handleBeforeInput&&c(t.props.handleBeforeInput(e,n)))return;var g=o.replaceText(n.getCurrentContent(),n.getSelection(),e,a,h);t.update(i.push(n,g,"insert-characters"))}else d&&t.update(i.set(n,{nativelyRenderedContent:null,forceSelection:!0}))}}};t.exports=h},function(t,e,n){"use strict";var r=n(129);t.exports=r},function(t,e,n){"use strict";var r=n(19)||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};var o=n(83),i=n(46),a=(n(5),n(0)),s=n(35),c=n(150),u=n(21),l=function(t,e,n,r){return s({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===t,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===t,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===e,"public/DraftStyleDefault/depth1":1===e,"public/DraftStyleDefault/depth2":2===e,"public/DraftStyleDefault/depth3":3===e,"public/DraftStyleDefault/depth4":4===e,"public/DraftStyleDefault/listLTR":"LTR"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})},f=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.shouldComponentUpdate=function(t){var e=this.props.editorState,n=t.editorState;if(e.getDirectionMap()!==n.getDirectionMap())return!0;if(e.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),o=e.isInCompositionMode(),i=n.isInCompositionMode();if(e===n||null!==r&&n.getCurrentContent()===r||o&&i)return!1;var a=e.getCurrentContent(),s=n.getCurrentContent(),c=e.getDecorator(),u=n.getDecorator();return o!==i||a!==s||c!==u||n.mustForceSelection()},e.prototype.render=function(){for(var t=this.props,e=t.blockRenderMap,n=t.blockRendererFn,s=t.blockStyleFn,f=t.customStyleMap,p=t.customStyleFn,h=t.editorState,d=t.editorKey,g=t.textDirectionality,y=h.getCurrentContent(),v=h.getSelection(),m=h.mustForceSelection(),b=h.getDecorator(),_=u(h.getDirectionMap()),w=y.getBlocksAsArray(),S=[],x=null,k=null,E=0;E<w.length;E++){var O=w[E],C=O.getKey(),T=O.getType(),M=n(O),D=void 0,A=void 0,I=void 0;M&&(D=M.component,A=M.props,I=M.editable);var K=g||_.get(C),L=i.encode(C,0,0),B={contentState:y,block:O,blockProps:A,blockStyleFn:s,customStyleMap:f,customStyleFn:p,decorator:b,direction:K,forceSelection:m,key:C,offsetKey:L,selection:v,tree:h.getBlockTree(C)},N=e.get(T)||e.get("unstyled"),z=N.wrapper,j=N.element||e.get("unstyled").element,R=O.getDepth(),P="";if(s&&(P=s(O)),"li"===j)P=c(P,l(T,R,k!==z||null===x||R>x,K));var F=D||o,U={className:P,"data-block":!0,"data-editor":d,"data-offset-key":L,key:C};void 0!==I&&(U=r({},U,{contentEditable:I,suppressContentEditableWarning:!0}));var q=a.createElement(j,U,a.createElement(F,B));S.push({block:q,wrapperTemplate:z,key:C,offsetKey:L}),x=z?O.getDepth():null,k=z}for(var W=[],H=0;H<S.length;){var V=S[H];if(V.wrapperTemplate){var J=[];do{J.push(S[H].block),H++}while(H<S.length&&S[H].wrapperTemplate===V.wrapperTemplate);var G=a.cloneElement(V.wrapperTemplate,{key:V.key+"-wrap","data-offset-key":V.offsetKey},J);W.push(G)}else W.push(V.block),H++}return a.createElement("div",{"data-contents":"true"},W)},e}(a.Component);t.exports=f},function(t,e,n){"use strict";var r=n(19);var o=n(131),i=n(0),a=n(33),s=n(4),c=n(138),u=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype._setSelection=function(){var t=this.props.selection;if(null!=t&&t.getHasFocus()){var e=this.props,n=e.block,r=e.start,o=e.text,i=n.getKey(),u=r+o.length;if(t.hasEdgeWithin(i,r,u)){var l=a.findDOMNode(this);l||s(!1);var f=l.firstChild;f||s(!1);var p=void 0;f.nodeType===Node.TEXT_NODE?p=f:"BR"===f.tagName?p=l:(p=f.firstChild)||s(!1),c(t,p,i,r,u)}}},e.prototype.shouldComponentUpdate=function(t){var e=a.findDOMNode(this.leaf);return e||s(!1),e.textContent!==t.text||t.styleSet!==this.props.styleSet||t.forceSelection},e.prototype.componentDidUpdate=function(){this._setSelection()},e.prototype.componentDidMount=function(){this._setSelection()},e.prototype.render=function(){var t=this,e=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var a=this.props,s=a.customStyleMap,c=a.customStyleFn,u=a.offsetKey,l=a.styleSet,f=l.reduce(function(t,e){var n={},o=s[e];return void 0!==o&&t.textDecoration!==o.textDecoration&&(n.textDecoration=[t.textDecoration,o.textDecoration].join(" ").trim()),r(t,o,n)},{});if(c){var p=c(l,e);f=r(f,p)}return i.createElement("span",{"data-offset-key":u,ref:function(e){return t.leaf=e},style:f},i.createElement(o,null,n))},e}(i.Component);t.exports=u},function(t,e,n){"use strict";var r=n(0),o=n(33),i=n(22),a=n(4),s=i.isBrowser("IE <= 11");var c=s?r.createElement("span",{key:"A","data-text":"true"},"\n"):r.createElement("br",{key:"A","data-text":"true"}),u=s?r.createElement("span",{key:"B","data-text":"true"},"\n"):r.createElement("br",{key:"B","data-text":"true"}),l=function(t){function e(n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,n));return r._forceFlag=!1,r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.shouldComponentUpdate=function(t){var e=o.findDOMNode(this),n=""===t.children;return e instanceof Element||a(!1),n?!function(t){return s?"\n"===t.textContent:"BR"===t.tagName}(e):e.textContent!==t.children},e.prototype.componentDidMount=function(){this._forceFlag=!this._forceFlag},e.prototype.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},e.prototype.render=function(){return""===this.props.children?this._forceFlag?c:u:r.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true"},this.props.children)},e}(r.Component);t.exports=l},function(t,e,n){"use strict";var r=n(133),o="Unknown",i={"Mac OS":"Mac OS X"};var a,s=(new r).getResult(),c=function(t){if(!t)return{major:"",minor:""};var e=t.split(".");return{major:e[0],minor:e[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:(a=s.os.name,i[a]||a||o),platformVersion:s.os.version||o,platformFullVersion:s.os.version||o};t.exports=u},function(t,e,n){var r;
7/*!
8 * UAParser.js v0.7.19
9 * Lightweight JavaScript-based User-Agent string parser
10 * https://github.com/faisalman/ua-parser-js
11 *
12 * Copyright © 2012-2016 Faisal Salman <fyzlman@gmail.com>
13 * Dual licensed under GPLv2 or MIT
14 */
15/*!
16 * UAParser.js v0.7.19
17 * Lightweight JavaScript-based User-Agent string parser
18 * https://github.com/faisalman/ua-parser-js
19 *
20 * Copyright © 2012-2016 Faisal Salman <fyzlman@gmail.com>
21 * Dual licensed under GPLv2 or MIT
22 */
23!function(o,i){"use strict";var a="model",s="name",c="type",u="vendor",l="version",f="mobile",p="tablet",h={extend:function(t,e){var n={};for(var r in t)e[r]&&e[r].length%2==0?n[r]=e[r].concat(t[r]):n[r]=t[r];return n},has:function(t,e){return"string"==typeof t&&-1!==e.toLowerCase().indexOf(t.toLowerCase())},lowerize:function(t){return t.toLowerCase()},major:function(t){return"string"==typeof t?t.replace(/[^\d\.]/g,"").split(".")[0]:void 0},trim:function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},d={rgx:function(t,e){for(var n,r,o,i,a,s,c=0;c<e.length&&!a;){var u=e[c],l=e[c+1];for(n=r=0;n<u.length&&!a;)if(a=u[n++].exec(t))for(o=0;o<l.length;o++)s=a[++r],"object"==typeof(i=l[o])&&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(t,e){for(var n in e)if("object"==typeof e[n]&&e[n].length>0){for(var r=0;r<e[n].length;r++)if(h.has(e[n][r],t))return"?"===n?void 0:n}else if(h.has(e[n],t))return"?"===n?void 0:n;return t}},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"}}}},y={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|quark)\/([\w\.-]+)/i],[s,l],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[s,"IE"],l],[/(edge|edgios|edga)\/((\d+)?[\w\.]+)/i],[[s,"Edge"],l],[/(yabrowser)\/([\w\.]+)/i],[[s,"Yandex"],l],[/(puffin)\/([\w\.]+)/i],[[s,"Puffin"],l],[/(focus)\/([\w\.]+)/i],[[s,"Firefox Focus"],l],[/(opt)\/([\w\.]+)/i],[[s,"Opera Touch"],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],[/(brave)\/([\w\.]+)/i],[[s,"Brave"],l],[/(qqbrowserlite)\/([\w\.]+)/i],[s,l],[/(QQ)\/([\d\.]+)/i],[s,l],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[s,l],[/(BIDUBrowser)[\/\s]?([\w\.]+)/i],[s,l],[/(2345Explorer)[\/\s]?([\w\.]+)/i],[s,l],[/(MetaSr)[\/\s]?([\w\.]+)/i],[s],[/(LBBROWSER)/i],[s],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[l,[s,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[l,[s,"Facebook"]],[/safari\s(line)\/([\w\.]+)/i,/android.+(line)\/([\w\.]+)\/iab/i],[s,l],[/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,d.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|palemoon|basilisk|waterfox)\/([\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",h.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[["architecture","ia32"]],[/windows\s(ce|mobile);\sppc;/i],[["architecture","arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[["architecture",/ower/,"",h.lowerize]],[/(sun4\w)[;\)]/i],[["architecture","sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+[;l]))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[["architecture",h.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\/.+silk\//i],[a,[u,"Amazon"],[c,p]],[/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i],[[a,d.str,g.device.amazon.model],[u,"Amazon"],[c,f]],[/android.+aft([bms])\sbuild/i],[a,[u,"Amazon"],[c,"smarttv"]],[/\((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,d.str,g.device.sprint.vendor],[a,d.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,h.trim],[a,h.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( [23])?( xl)?)\s/i],[a,[u,"Google"],[c,f]],[/android.+;\s(\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_]*(?:plus)?)\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]],[/(mz)-([\w-]{2,})/i],[[u,"Meizu"],a,[c,f]],[/android.+a000(1)\s+build/i,/android.+oneplus\s(a\d{4})\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]{2,7})\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(k88)\sbuild/i],[a,[u,"ZTE"],[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})\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i],[[u,"Dragon Touch"],a,[c,p]],[/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i],[a,[u,"Insignia"],[c,p]],[/android.+[;\/]\s*((NX|Next)-?\w{0,9})\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(PH-1)\s/i],[a,[u,"Essential"],[c,f]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[a,[u,"Envizen"],[c,p]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\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\w{1,9})\s+build/i],[u,a,[c,p]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[c,h.lowerize],u,a],[/(android[\w\.\s\-]{0,9});.+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\.]{1,9}).+(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,d.str,g.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[s,"Windows"],[l,d.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|suse|opensuse|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]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[l,/_/g,"."],[s,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/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|fuchsia)/i,/(unix)\s?([\w\.]*)/i],[s,l]]},v=function(t,e){if("object"==typeof t&&(e=t,t=void 0),!(this instanceof v))return new v(t,e).getResult();var n=t||(o&&o.navigator&&o.navigator.userAgent?o.navigator.userAgent:""),r=e?h.extend(y,e):y;return this.getBrowser=function(){var t={name:void 0,version:void 0};return d.rgx.call(t,n,r.browser),t.major=h.major(t.version),t},this.getCPU=function(){var t={architecture:void 0};return d.rgx.call(t,n,r.cpu),t},this.getDevice=function(){var t={vendor:void 0,model:void 0,type:void 0};return d.rgx.call(t,n,r.device),t},this.getEngine=function(){var t={name:void 0,version:void 0};return d.rgx.call(t,n,r.engine),t},this.getOS=function(){var t={name:void 0,version:void 0};return d.rgx.call(t,n,r.os),t},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(t){return n=t,this},this};v.VERSION="0.7.19",v.BROWSER={NAME:s,MAJOR:"major",VERSION:l},v.CPU={ARCHITECTURE:"architecture"},v.DEVICE={MODEL:a,VENDOR:u,TYPE:c,CONSOLE:"console",MOBILE:f,SMARTTV:"smarttv",TABLET:p,WEARABLE:"wearable",EMBEDDED:"embedded"},v.ENGINE={NAME:s,VERSION:l},v.OS={NAME:s,VERSION:l},void 0!==e?(void 0!==t&&t.exports&&(e=t.exports=v),e.UAParser=v):n(134)?void 0===(r=function(){return v}.call(e,n,e,t))||(t.exports=r):o&&(o.UAParser=v);var m=o&&(o.jQuery||o.Zepto);if(void 0!==m&&!m.ua){var b=new v;m.ua=b.getResult(),m.ua.get=function(){return b.getUA()},m.ua.set=function(t){b.setUA(t);var e=b.getResult();for(var n in e)m.ua[n]=e[n]}}}("object"==typeof window?window:this)},function(t,e){(function(e){t.exports=e}).call(this,{})},function(t,e,n){"use strict";var r=n(4),o=/\./,i=/\|\|/,a=/\s+\-\s+/,s=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,c=/^(\d*)(.*)/;function u(t,e){var n=t.split(i);return n.length>1?n.some(function(t){return _.contains(t,e)}):function(t,e){var n=t.split(a);if(n.length>0&&n.length<=2||r(!1),1===n.length)return l(n[0],e);var o=n[0],i=n[1];return g(o)&&g(i)||r(!1),l(">="+o,e)&&l("<="+i,e)}(t=n[0].trim(),e)}function l(t,e){if(""===(t=t.trim()))return!0;var n,r=e.split(o),i=h(t),a=i.modifier,s=i.rangeComponents;switch(a){case"<":return f(r,s);case"<=":return-1===(n=b(r,s))||0===n;case">=":return p(r,s);case">":return function(t,e){return 1===b(t,e)}(r,s);case"~":case"~>":return function(t,e){var n=e.slice(),r=e.slice();r.length>1&&r.pop();var o=r.length-1,i=parseInt(r[o],10);d(i)&&(r[o]=i+1+"");return p(t,n)&&f(t,r)}(r,s);default:return function(t,e){return 0===b(t,e)}(r,s)}}function f(t,e){return-1===b(t,e)}function p(t,e){var n=b(t,e);return 1===n||0===n}function h(t){var e=t.split(o),n=e[0].match(s);return n||r(!1),{modifier:n[1],rangeComponents:[n[2]].concat(e.slice(1))}}function d(t){return!isNaN(t)&&isFinite(t)}function g(t){return!h(t).modifier}function y(t,e){for(var n=t.length;n<e;n++)t[n]="0"}function v(t,e){var n=t.match(c)[1],r=e.match(c)[1],o=parseInt(n,10),i=parseInt(r,10);return d(o)&&d(i)&&o!==i?m(o,i):m(t,e)}function m(t,e){return typeof t!=typeof e&&r(!1),t>e?1:t<e?-1:0}function b(t,e){for(var n=function(t,e){y(t=t.slice(),(e=e.slice()).length);for(var n=0;n<e.length;n++){var r=e[n].match(/^[x*]$/i);if(r&&(e[n]=t[n]="0","*"===r[0]&&n===e.length-1))for(var o=n;o<t.length;o++)t[o]="0"}return y(e,t.length),[t,e]}(t,e),r=n[0],o=n[1],i=0;i<o.length;i++){var a=v(r[i],o[i]);if(a)return a}return 0}var _={contains:function(t,e){return u(t.trim(),e.trim())}};t.exports=_},function(t,e,n){"use strict";var r=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){if(!t)return null;var o={};for(var i in t)r.call(t,i)&&(o[i]=e.call(n,t[i],i,t));return o}},function(t,e,n){"use strict";t.exports=function(t){var e={};return function(n){return e.hasOwnProperty(n)||(e[n]=t.call(this,n)),e[n]}}},function(t,e,n){"use strict";(function(e){var r=n(139),o=n(60),i=n(84),a=n(4);function s(t,e){if(!t)return"[empty]";var n=function t(e,n){var r=void 0!==n?n(e):[];if(e.nodeType===Node.TEXT_NODE){var o=e.textContent.length;return document.createTextNode("[text "+o+(r.length?" | "+r.join(", "):"")+"]")}var i=e.cloneNode();1===i.nodeType&&r.length&&i.setAttribute("data-labels",r.join(", "));var a=e.childNodes;for(var s=0;s<a.length;s++)i.appendChild(t(a[s],n));return i}(t,e);return n.nodeType===Node.TEXT_NODE?n.textContent:(n instanceof Element||a(!1),n.outerHTML)}function c(t,e){for(var n=t;n;){if(n instanceof Element&&n.hasAttribute("contenteditable"))return s(n,e);n=n.parentNode}return"Could not find contentEditable parent of node"}function u(t){return null===t.nodeValue?t.childNodes.length:t.nodeValue.length}function l(t,e,n,a){var s=i();if(t.extend&&o(s,e)){n>u(e)&&r.logSelectionStateFailure({anonymizedDom:c(e),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(a.toJS())});var l=e===t.focusNode;try{t.extend(e,n)}catch(o){throw r.logSelectionStateFailure({anonymizedDom:c(e,function(e){var n=[];return e===s&&n.push("active element"),e===t.anchorNode&&n.push("selection anchor node"),e===t.focusNode&&n.push("selection focus node"),n}),extraParams:JSON.stringify({activeElementName:s?s.nodeName:null,nodeIsFocus:e===t.focusNode,nodeWasFocus:l,selectionRangeCount:t.rangeCount,selectionAnchorNodeName:t.anchorNode?t.anchorNode.nodeName:null,selectionAnchorOffset:t.anchorOffset,selectionFocusNodeName:t.focusNode?t.focusNode.nodeName:null,selectionFocusOffset:t.focusOffset,message:o?""+o:null,offset:n},null,2),selectionState:JSON.stringify(a.toJS(),null,2)}),o}}else{var f=t.getRangeAt(0);f.setEnd(e,n),t.addRange(f.cloneRange())}}function f(t,e,n,o){var i=document.createRange();n>u(e)&&r.logSelectionStateFailure({anonymizedDom:c(e),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(o.toJS())}),i.setStart(e,n),t.addRange(i)}t.exports=function(t,n,r,i,a){if(o(document.documentElement,n)){var s=e.getSelection(),c=t.getAnchorKey(),u=t.getAnchorOffset(),p=t.getFocusKey(),h=t.getFocusOffset(),d=t.getIsBackward();if(!s.extend&&d){var g=c,y=u;c=p,u=h,p=g,h=y,d=!1}var v=c===r&&i<=u&&a>=u,m=p===r&&i<=h&&a>=h;if(v&&m)return s.removeAllRanges(),f(s,n,u-i,t),void l(s,n,h-i,t);if(d){if(m&&(s.removeAllRanges(),f(s,n,h-i,t)),v){var b=s.focusNode,_=s.focusOffset;s.removeAllRanges(),f(s,n,u-i,t),l(s,b,_,t)}}else v&&(s.removeAllRanges(),f(s,n,u-i,t)),m&&l(s,n,h-i,t)}}}).call(this,n(12))},function(t,e,n){"use strict";t.exports={logSelectionStateFailure:function(){return null}}},function(t,e,n){"use strict";var r=n(141);t.exports=function(t){return r(t)&&3==t.nodeType}},function(t,e,n){"use strict";t.exports=function(t){var e=(t?t.ownerDocument||t:document).defaultView||window;return!(!t||!("function"==typeof e.Node?t instanceof e.Node:"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName))}},function(t,e,n){"use strict";var r=n(143),o=n(144);function i(t){return null==t?t:String(t)}t.exports=function(t,e){var n=void 0;if(window.getComputedStyle&&(n=window.getComputedStyle(t,null)))return i(n.getPropertyValue(o(e)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(t,null))return i(n.getPropertyValue(o(e)));if("display"===e)return"none"}return t.currentStyle?i("float"===e?t.currentStyle.cssFloat||t.currentStyle.styleFloat:t.currentStyle[r(e)]):i(t.style&&t.style[r(e)])}},function(t,e,n){"use strict";var r=/-(.)/g;t.exports=function(t){return t.replace(r,function(t,e){return e.toUpperCase()})}},function(t,e,n){"use strict";var r=/([A-Z])/g;t.exports=function(t){return t.replace(r,"-$1").toLowerCase()}},function(t,e,n){"use strict";var r=n(146);t.exports=function(t){var e=r(t);return{x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}}},function(t,e,n){"use strict";var r=n(60);t.exports=function(t){var e=t.ownerDocument.documentElement;if(!("getBoundingClientRect"in t&&r(e,t)))return{left:0,right:0,top:0,bottom:0};var n=t.getBoundingClientRect();return{left:Math.round(n.left)-e.clientLeft,right:Math.round(n.right)-e.clientLeft,top:Math.round(n.top)-e.clientTop,bottom:Math.round(n.bottom)-e.clientTop}}},function(t,e,n){"use strict";var r="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;t.exports=function(t){return(t=t||document).scrollingElement?t.scrollingElement:r||"CSS1Compat"!==t.compatMode?t.body:t.documentElement}},function(t,e,n){"use strict";t.exports=function(t){return t.Window&&t instanceof t.Window?{x:t.pageXOffset||t.document.documentElement.scrollLeft,y:t.pageYOffset||t.document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}}},function(t,e,n){"use strict";function r(){var t=void 0;return document.documentElement&&(t=document.documentElement.clientWidth),!t&&document.body&&(t=document.body.clientWidth),t||0}function o(){var t=void 0;return document.documentElement&&(t=document.documentElement.clientHeight),!t&&document.body&&(t=document.body.clientHeight),t||0}function i(){return{width:window.innerWidth||r(),height:window.innerHeight||o()}}i.withoutScrollbars=function(){return{width:r(),height:o()}},t.exports=i},function(t,e,n){"use strict";t.exports=function(t){t||(t="");var e=void 0,n=arguments.length;if(n>1)for(var r=1;r<n;r++)(e=arguments[r])&&(t=(t?t+" ":"")+e);return t}},function(t,e,n){"use strict";var r=n(86),o=n(16),i=n(5),a=n(63),s=n(88),c=n(89),u=n(38),l=n(21);var f={onDragEnd:function(t){t.exitCurrentMode()},onDrop:function(t,e){var n=new r(e.nativeEvent.dataTransfer),f=t._latestEditorState,h=function(t,e){var n=null,r=null;if("function"==typeof document.caretRangeFromPoint){var o=document.caretRangeFromPoint(t.x,t.y);n=o.startContainer,r=o.startOffset}else{if(!t.rangeParent)return null;n=t.rangeParent,r=t.rangeOffset}n=l(n),r=l(r);var i=l(a(n));return c(e,i,r,i,r)}(e.nativeEvent,f);if(e.preventDefault(),t.exitCurrentMode(),null!=h){var d=n.getFiles();if(d.length>0){if(t.props.handleDroppedFiles&&u(t.props.handleDroppedFiles(h,d)))return;s(d,function(e){e&&t.update(p(f,h,e))})}else{var g=t._internalDrag?"internal":"external";t.props.handleDrop&&u(t.props.handleDrop(h,n,g))||(t._internalDrag?t.update(function(t,e){var n=o.moveText(t.getCurrentContent(),t.getSelection(),e);return i.push(t,n,"insert-fragment")}(f,h)):t.update(p(f,h,n.getText())))}}}};function p(t,e,n){var r=o.insertText(t.getCurrentContent(),e,n,t.getCurrentInlineStyle());return i.push(t,r,"insert-fragment")}t.exports=f},function(t,e,n){"use strict";var r={isImage:function(t){return"image"===o(t)[0]},isJpeg:function(t){var e=o(t);return r.isImage(t)&&("jpeg"===e[1]||"pjpeg"===e[1])}};function o(t){return t.split("/")}t.exports=r},function(t,e,n){"use strict";var r=n(4);t.exports=function(t){return function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"length"in t&&!("setInterval"in t)&&"number"!=typeof t.nodeType&&(Array.isArray(t)||"callee"in t||"item"in t)}(t)?Array.isArray(t)?t.slice():function(t){var e=t.length;if((Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t)&&r(!1),"number"!=typeof e&&r(!1),0===e||e-1 in t||r(!1),"function"==typeof t.callee&&r(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(t){}for(var n=Array(e),o=0;o<e;o++)n[o]=t[o];return n}(t):[t]}},function(t,e,n){"use strict";var r={onBeforeInput:n(155),onBlur:n(157),onCompositionStart:n(158),onCopy:n(159),onCut:n(160),onDragOver:n(161),onDragStart:n(162),onFocus:n(163),onInput:n(164),onKeyDown:n(165),onPaste:n(179),onSelect:n(184)};t.exports=r},function(t,e,n){"use strict";(function(e){var r=n(78),o=n(16),i=n(5),a=n(22),s=n(59),c=n(38),u=n(82),l=n(21),f=n(156),p="'",h="/",d=a.isBrowser("Firefox");function g(t,e,n,r){var a=o.replaceText(t.getCurrentContent(),t.getSelection(),e,n,r);return i.push(t,a,"insert-characters")}t.exports=function(t,n){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var o=t._latestEditorState,a=n.data;if(a)if(t.props.handleBeforeInput&&c(t.props.handleBeforeInput(a,o)))n.preventDefault();else{var y=o.getSelection(),v=y.getStartOffset(),m=y.getEndOffset(),b=y.getAnchorKey();if(!y.isCollapsed())return n.preventDefault(),void(a===o.getCurrentContent().getPlainText().slice(v,m)?t.update(i.forceSelection(o,y.merge({focusOffset:m}))):t.update(g(o,a,o.getCurrentInlineStyle(),s(o.getCurrentContent(),o.getSelection()))));var _,w=g(o,a,o.getCurrentInlineStyle(),s(o.getCurrentContent(),o.getSelection())),S=!1;if(S||(S=u(t._latestCommittedEditorState)),!S){var x=e.getSelection();if(x.anchorNode&&x.anchorNode.nodeType===Node.TEXT_NODE){var k=x.anchorNode.parentNode;S="SPAN"===k.nodeName&&k.firstChild.nodeType===Node.TEXT_NODE&&-1!==k.firstChild.nodeValue.indexOf("\t")}}if(S||(S=r.getFingerprint(o.getBlockTree(b))!==r.getFingerprint(w.getBlockTree(b))),S||(_=a,S=d&&(_==p||_==h)),S||(S=l(w.getDirectionMap()).get(b)!==l(o.getDirectionMap()).get(b)),S)return n.preventDefault(),void t.update(w);w=i.set(w,{nativelyRenderedContent:w.getCurrentContent()}),t._pendingStateFromBeforeInput=w,f(function(){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0)})}}}).call(this,n(12))},function(t,e,n){"use strict";(function(e){n(42),t.exports=e.setImmediate}).call(this,n(12))},function(t,e,n){"use strict";(function(e){var r=n(5),o=n(60),i=n(84);t.exports=function(t,n){if(i()===document.body){var a=e.getSelection(),s=t.editor;1===a.rangeCount&&o(s,a.anchorNode)&&o(s,a.focusNode)&&a.removeAllRanges()}var c=t._latestEditorState,u=c.getSelection();if(u.getHasFocus()){var l=u.set("hasFocus",!1);t.props.onBlur&&t.props.onBlur(n),t.update(r.acceptSelection(c,l))}}}).call(this,n(12))},function(t,e,n){"use strict";var r=n(5);t.exports=function(t,e){t.setMode("composite"),t.update(r.set(t._latestEditorState,{inCompositionMode:!0})),t._onCompositionStart(e)}},function(t,e,n){"use strict";var r=n(90);t.exports=function(t,e){t._latestEditorState.getSelection().isCollapsed()?e.preventDefault():t.setClipboard(r(t._latestEditorState))}},function(t,e,n){"use strict";var r=n(16),o=n(5),i=n(61),a=n(90),s=n(62);t.exports=function(t,e){var n=t._latestEditorState,c=n.getSelection(),u=e.target,l=void 0;if(c.isCollapsed())e.preventDefault();else{u instanceof Node&&(l=s(i.getScrollParent(u)));var f=a(n);t.setClipboard(f),t.setMode("cut"),setTimeout(function(){t.restoreEditorDOM(l),t.exitCurrentMode(),t.update(function(t){var e=r.removeRange(t.getCurrentContent(),t.getSelection(),"forward");return o.push(t,e,"remove-range")}(n))},0)}}},function(t,e,n){"use strict";t.exports=function(t,e){t._internalDrag=!1,t.setMode("drag"),e.preventDefault()}},function(t,e,n){"use strict";t.exports=function(t){t._internalDrag=!0,t.setMode("drag")}},function(t,e,n){"use strict";var r=n(5),o=n(22);t.exports=function(t,e){var n=t._latestEditorState,i=n.getSelection();if(!i.getHasFocus()){var a=i.set("hasFocus",!0);t.props.onFocus&&t.props.onFocus(e),o.isBrowser("Chrome < 60.0.3081.0")?t.update(r.forceSelection(n,a)):t.update(r.acceptSelection(n,a))}}},function(t,e,n){"use strict";(function(e){var r=n(26),o=n(16),i=n(46),a=n(5),s=n(22),c=n(63),u=n(21),l=s.isEngine("Gecko"),f="\n\n";t.exports=function(t){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var n=e.getSelection(),s=n.anchorNode,p=n.isCollapsed,h=s.nodeType!==Node.TEXT_NODE,d=s.nodeType!==Node.TEXT_NODE&&s.nodeType!==Node.ELEMENT_NODE;if(r.draft_killswitch_allow_nontextnodes){if(h)return}else if(d)return;if(s.nodeType===Node.TEXT_NODE&&(null!==s.previousSibling||null!==s.nextSibling)){var g=s.parentNode;s.nodeValue=g.textContent;for(var y=g.firstChild;null!==y;y=y.nextSibling)y!==s&&g.removeChild(y)}var v=s.textContent,m=t._latestEditorState,b=u(c(s)),_=i.decode(b),w=_.blockKey,S=_.decoratorKey,x=_.leafKey,k=m.getBlockTree(w).getIn([S,"leaves",x]),E=k.start,O=k.end,C=m.getCurrentContent(),T=C.getBlockForKey(w),M=T.getText().slice(E,O);if(v.endsWith(f)&&(v=v.slice(0,-1)),v!==M){var D,A,I,K,L=m.getSelection(),B=L.merge({anchorOffset:E,focusOffset:O,isBackward:!1}),N=T.getEntityAt(E),z=N&&C.getEntity(N),j="MUTABLE"===(z&&z.getMutability()),R=j?"spellcheck-change":"apply-entity",P=o.replaceText(C,B,v,T.getInlineStyleAt(E),j?T.getEntityAt(E):null);if(l)D=n.anchorOffset,A=n.focusOffset,K=(I=E+Math.min(D,A))+Math.abs(D-A),D=I,A=K;else{var F=v.length-M.length;I=L.getStartOffset(),K=L.getEndOffset(),D=p?K+F:I,A=K+F}var U=P.merge({selectionBefore:C.getSelectionAfter(),selectionAfter:L.merge({anchorOffset:D,focusOffset:A})});t.update(a.push(m,U,R))}}}).call(this,n(12))},function(t,e,n){"use strict";var r=n(16),o=n(5),i=n(64),a=n(58),s=n(166),c=n(22),u=n(38),l=n(167),f=n(169),p=n(171),h=n(172),d=n(173),g=n(174),y=n(175),v=n(176),m=n(177),b=n(178),_=i.isOptionKeyCommand,w=c.isBrowser("Chrome");t.exports=function(t,e){var n=e.which,i=t._latestEditorState;switch(n){case a.RETURN:if(e.preventDefault(),t.props.handleReturn&&u(t.props.handleReturn(e,i)))return;break;case a.ESC:return e.preventDefault(),void(t.props.onEscape&&t.props.onEscape(e));case a.TAB:return void(t.props.onTab&&t.props.onTab(e));case a.UP:return void(t.props.onUpArrow&&t.props.onUpArrow(e));case a.RIGHT:return void(t.props.onRightArrow&&t.props.onRightArrow(e));case a.DOWN:return void(t.props.onDownArrow&&t.props.onDownArrow(e));case a.LEFT:return void(t.props.onLeftArrow&&t.props.onLeftArrow(e));case a.SPACE:if(w&&_(e)){e.preventDefault();var c=r.replaceText(i.getCurrentContent(),i.getSelection()," ");return void t.update(o.push(i,c,"insert-characters"))}}var S=t.props.keyBindingFn(e);if(S)if("undo"!==S){if(e.preventDefault(),!t.props.handleKeyCommand||!u(t.props.handleKeyCommand(S,i))){var x=function(t,e){switch(t){case"redo":return o.redo(e);case"delete":return v(e);case"delete-word":return p(e);case"backspace":return y(e);case"backspace-word":return f(e);case"backspace-to-start-of-line":return l(e);case"split-block":return h(e);case"transpose-characters":return m(e);case"move-selection-to-start-of-block":return g(e);case"move-selection-to-end-of-block":return d(e);case"secondary-cut":return s.cut(e);case"secondary-paste":return s.paste(e);default:return e}}(S,i);x!==i&&t.update(x)}}else b(e,i,t.update)}},function(t,e,n){"use strict";var r=n(16),o=n(5),i=n(44),a=n(21),s=null,c={cut:function(t){var e=t.getCurrentContent(),n=t.getSelection(),c=null;if(n.isCollapsed()){var u=n.getAnchorKey(),l=e.getBlockForKey(u).getLength();if(l===n.getAnchorOffset())return t;c=n.set("focusOffset",l)}else c=n;c=a(c),s=i(e,c);var f=r.removeRange(e,c,"forward");return f===e?t:o.push(t,f,"remove-range")},paste:function(t){if(!s)return t;var e=r.replaceWithFragment(t.getCurrentContent(),t.getSelection(),s);return o.push(t,e,"insert-fragment")}};t.exports=c},function(t,e,n){"use strict";(function(e){var r=n(5),o=n(168),i=n(92),a=n(65),s=n(39);t.exports=function(t){var n=s(t,function(t){var n=t.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return a(t,1);var r=e.getSelection().getRangeAt(0);return r=o(r),i(t,null,r.endContainer,r.endOffset,r.startContainer,r.startOffset).selectionState},"backward");return n===t.getCurrentContent()?t:r.push(t,n,"remove-range")}}).call(this,n(12))},function(t,e,n){"use strict";var r=n(31),o=n(91),i=n(4);function a(t,e){for(var n=1/0,r=1/0,o=-1/0,i=-1/0,a=0;a<t.length;a++){var s=t[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<e&&i-r<e}function s(t){switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return t.length;default:return t.childNodes.length}}t.exports=function(t){t.collapsed||i(!1);var e=(t=t.cloneRange()).startContainer;1!==e.nodeType&&(e=e.parentNode);var n=function(t){var e=getComputedStyle(t),n=document.createElement("div");n.style.fontFamily=e.fontFamily,n.style.fontSize=e.fontSize,n.style.fontStyle=e.fontStyle,n.style.fontWeight=e.fontWeight,n.style.lineHeight=e.lineHeight,n.style.position="absolute",n.textContent="M";var r=document.body;r||i(!1),r.appendChild(n);var o=n.getBoundingClientRect();return r.removeChild(n),o.height}(e),c=t.endContainer,u=t.endOffset;for(t.setStart(t.startContainer,0);a(o(t),n)&&(c=t.startContainer,u=t.startOffset,c.parentNode||i(!1),t.setStartBefore(c),1!==c.nodeType||"inline"===getComputedStyle(c).display););for(var l=c,f=u-1;;){for(var p=l.nodeValue,h=f;h>=0;h--)if(!(null!=p&&h>0&&r.isSurrogatePair(p,h-1))){if(t.setStart(l,h),!a(o(t),n))break;c=l,u=h}if(-1===h||0===l.childNodes.length)break;f=s(l=l.childNodes[h])}return t.setStart(c,u),t}},function(t,e,n){"use strict";var r=n(93),o=n(5),i=n(65),a=n(39);t.exports=function(t){var e=a(t,function(t){var e=t.getSelection(),n=e.getStartOffset();if(0===n)return i(t,1);var o=e.getStartKey(),a=t.getCurrentContent().getBlockForKey(o).getText().slice(0,n),s=r.getBackward(a);return i(t,s.length||1)},"backward");return e===t.getCurrentContent()?t:o.push(t,e,"remove-range")}},function(t,e,n){"use strict";t.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}},function(t,e,n){"use strict";var r=n(93),o=n(5),i=n(94),a=n(39);t.exports=function(t){var e=a(t,function(t){var e=t.getSelection(),n=e.getStartOffset(),o=e.getStartKey(),a=t.getCurrentContent().getBlockForKey(o).getText().slice(n),s=r.getForward(a);return i(t,s.length||1)},"forward");return e===t.getCurrentContent()?t:o.push(t,e,"remove-range")}},function(t,e,n){"use strict";var r=n(16),o=n(5);t.exports=function(t){var e=r.splitBlock(t.getCurrentContent(),t.getSelection());return o.push(t,e,"split-block")}},function(t,e,n){"use strict";var r=n(5);t.exports=function(t){var e=t.getSelection(),n=e.getEndKey(),o=t.getCurrentContent().getBlockForKey(n).getLength();return r.set(t,{selection:e.merge({anchorKey:n,anchorOffset:o,focusKey:n,focusOffset:o,isBackward:!1}),forceSelection:!0})}},function(t,e,n){"use strict";var r=n(5);t.exports=function(t){var e=t.getSelection(),n=e.getStartKey();return r.set(t,{selection:e.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})}},function(t,e,n){"use strict";var r=n(5),o=n(31),i=n(65),a=n(39);t.exports=function(t){var e=a(t,function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=e.getAnchorKey(),a=e.getAnchorOffset(),s=n.getBlockForKey(r).getText()[a-1];return i(t,s?o.getUTF16Length(s,0):1)},"backward");if(e===t.getCurrentContent())return t;var n=t.getSelection();return r.push(t,e.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")}},function(t,e,n){"use strict";var r=n(5),o=n(31),i=n(94),a=n(39);t.exports=function(t){var e=a(t,function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=e.getAnchorKey(),a=e.getAnchorOffset(),s=n.getBlockForKey(r).getText()[a];return i(t,s?o.getUTF16Length(s,0):1)},"forward");if(e===t.getCurrentContent())return t;var n=t.getSelection();return r.push(t,e.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")}},function(t,e,n){"use strict";var r=n(16),o=n(5),i=n(44);t.exports=function(t){var e=t.getSelection();if(!e.isCollapsed())return t;var n=e.getAnchorOffset();if(0===n)return t;var a,s,c=e.getAnchorKey(),u=t.getCurrentContent(),l=u.getBlockForKey(c).getLength();if(l<=1)return t;n===l?(a=e.set("anchorOffset",n-1),s=e):s=(a=e.set("focusOffset",n+1)).set("anchorOffset",n+1);var f=i(u,a),p=r.removeRange(u,a,"backward"),h=p.getSelectionAfter(),d=h.getAnchorOffset()-1,g=h.merge({anchorOffset:d,focusOffset:d}),y=r.replaceWithFragment(p,g,f),v=o.push(t,y,"insert-fragment");return o.acceptSelection(v,s)}},function(t,e,n){"use strict";var r=n(5);t.exports=function(t,e,n){var o=r.undo(e);if("spellcheck-change"!==e.getLastChangeType())t.preventDefault(),e.getNativelyRenderedContent()?(n(r.set(e,{nativelyRenderedContent:null})),setTimeout(function(){n(o)},0)):n(o);else{var i=o.getCurrentContent();n(r.set(o,{nativelyRenderedContent:i}))}}},function(t,e,n){"use strict";var r=n(36),o=n(17),i=n(86),a=n(16),s=n(180),c=n(5),u=n(97),l=n(59),f=n(88),p=n(38),h=n(183);function d(t,e,n){var r=a.replaceWithFragment(t.getCurrentContent(),t.getSelection(),e);return c.push(t,r.set("entityMap",n),"insert-fragment")}t.exports=function(t,e){e.preventDefault();var n=new i(e.clipboardData);if(!n.isRichText()){var g=n.getFiles(),y=n.getText();if(g.length>0){if(t.props.handlePastedFiles&&p(t.props.handlePastedFiles(g)))return;return void f(g,function(e){if(e=e||y){var n=t._latestEditorState,i=h(e),f=o.create({style:n.getCurrentInlineStyle(),entity:l(n.getCurrentContent(),n.getSelection())}),p=u.getCurrentBlockType(n),d=s.processText(i,f,p),g=r.createFromArray(d),v=a.replaceWithFragment(n.getCurrentContent(),n.getSelection(),g);t.update(c.push(n,v,"insert-fragment"))}})}}var v=[],m=n.getText(),b=n.getHTML(),_=t._latestEditorState;if(!t.props.handlePastedText||!p(t.props.handlePastedText(m,b,_))){if(m&&(v=h(m)),!t.props.stripPastedStyles){var w=t.getClipboard();if(n.isRichText()&&w){if(-1!==b.indexOf(t.getEditorKey())||1===v.length&&1===w.size&&w.first().getText()===m)return void t.update(d(t._latestEditorState,w))}else if(w&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(t,e){return t.length===e.size&&e.valueSeq().every(function(e,n){return e.getText()===t[n]})}(v,w))return void t.update(d(t._latestEditorState,w));if(b){var S=s.processHTML(b,t.props.blockRenderMap);if(S){var x=S.contentBlocks,k=S.entityMap;if(x){var E=r.createFromArray(x);return void t.update(d(t._latestEditorState,E,k))}}}t.setClipboard(null)}if(v.length){var O=o.create({style:_.getCurrentInlineStyle(),entity:l(_.getCurrentContent(),_.getSelection())}),C=u.getCurrentBlockType(_),T=s.processText(v,O,C),M=r.createFromArray(T);t.update(d(t._latestEditorState,M))}}}},function(t,e,n){"use strict";var r=n(19)||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=(n(17),n(30)),i=n(20),a=n(26),s=n(3),c=n(95),u=n(23),l=n(96),f=n(55),p=s.List,h=s.Repeat,d=a.draft_tree_data_support,g=d?i:o,y={processHTML:function(t,e){return c(t,l,e)},processText:function(t,e,n){return t.reduce(function(t,o,i){o=f(o);var a=u(),s={key:a,type:n,text:o,characterList:p(h(e,o.length))};if(d&&0!==i){var c=i-1,l=t[c]=t[c].merge({nextSibling:a});s=r({},s,{prevSibling:l.getKey()})}return t.push(new g(s)),t},[])}};t.exports=y},function(t,e,n){"use strict";var r=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._uri=e}return t.prototype.toString=function(){return this._uri},t}();t.exports=r},function(t,e,n){"use strict";t.exports=function(t,e,n,r){var o=e.getStartKey(),i=e.getEndKey(),a=t.getBlockMap(),s=a.toSeq().skipUntil(function(t,e){return e===o}).takeUntil(function(t,e){return e===i}).concat([[i,a.get(i)]]).map(function(t){var e=t.getDepth()+n;return e=Math.max(0,Math.min(e,r)),t.set("depth",e)});return a=a.merge(s),t.merge({blockMap:a,selectionBefore:e,selectionAfter:e})}},function(t,e,n){"use strict";var r=/\r\n?|\n/g;t.exports=function(t){return t.split(r)}},function(t,e,n){"use strict";var r=n(5),o=n(33),i=n(185),a=n(4);t.exports=function(t){if(!t._blockSelectEvents&&t._latestEditorState===t.props.editorState){var e=t.props.editorState,n=o.findDOMNode(t.editorContainer);n||a(!1),n.firstChild instanceof HTMLElement||a(!1);var s=i(e,n.firstChild),c=s.selectionState;c!==e.getSelection()&&(e=s.needsRecovery?r.forceSelection(e,c):r.acceptSelection(e,c),t.update(e))}}},function(t,e,n){"use strict";(function(e){var r=n(92);t.exports=function(t,n){var o=e.getSelection();return 0===o.rangeCount?{selectionState:t.getSelection().set("hasFocus",!1),needsRecovery:!1}:r(t,n,o.anchorNode,o.anchorOffset,o.focusNode,o.focusOffset)}}).call(this,n(12))},function(t,e,n){"use strict";var r=n(0),o=n(35),i=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.shouldComponentUpdate=function(t){return this.props.text!==t.text||this.props.editorState.getSelection().getHasFocus()!==t.editorState.getSelection().getHasFocus()},e.prototype.render=function(){var t=this.props.editorState.getSelection().getHasFocus(),e=o({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":t});return r.createElement("div",{className:e},r.createElement("div",{className:o("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},e}(r.Component);t.exports=i},function(t,e,n){"use strict";var r=n(19)||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=n(30),i=n(20),a=n(99),s=n(188),c=n(189),u=n(4),l=function(t,e){return{key:t.getKey(),text:t.getText(),type:t.getType(),depth:t.getDepth(),inlineStyleRanges:c(t),entityRanges:s(t,e),data:t.getData().toObject()}},f=function(t,e){var n=e.entityMap,s=[],c={},f={},p=0;return t.getBlockMap().forEach(function(t){t.findEntityRanges(function(t){return null!==t.getEntity()},function(e){var r=t.getEntityAt(e),o=a.stringify(r);f[o]||(f[o]=r,n[o]=""+p,p++)}),function(t,e,n,a){if(t instanceof o)n.push(l(t,e));else{t instanceof i||u(!1);var s=t.getParentKey(),c=a[t.getKey()]=r({},l(t,e),{children:[]});s?a[s].children.push(c):n.push(c)}}(t,n,s,c)}),{blocks:s,entityMap:n}};t.exports=function(t){var e={entityMap:{},blocks:[]};return e=function(t,e){var n=e.blocks,r=e.entityMap,o={};return Object.keys(r).forEach(function(e,n){var r=t.getEntity(a.unstringify(e));o[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}}),{blocks:n,entityMap:o}}(t,e=f(t,e))}},function(t,e,n){"use strict";var r=n(99),o=n(31).strlen;t.exports=function(t,e){var n=[];return t.findEntityRanges(function(t){return!!t.getEntity()},function(i,a){var s=t.getText(),c=t.getEntityAt(i);n.push({offset:o(s.slice(0,i)),length:o(s.slice(i,a)),key:Number(e[r.stringify(c)])})}),n}},function(t,e,n){"use strict";var r=n(31),o=n(37),i=function(t,e){return t===e},a=function(t){return!!t},s=[];t.exports=function(t){var e=t.getCharacterList().map(function(t){return t.getStyle()}).toList(),n=e.flatten().toSet().map(function(n){return function(t,e,n){var s=[],c=e.map(function(t){return t.has(n)}).toList();return o(c,i,a,function(e,o){var i=t.getText();s.push({offset:r.strlen(i.slice(0,e)),length:r.strlen(i.slice(e,o)),style:n})}),s}(t,e,n)});return Array.prototype.concat.apply(s,n.toJS())}},function(t,e,n){"use strict";var r=n(19)||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=n(30),i=n(20),a=n(54),s=n(45),c=n(26),u=n(191),l=n(3),f=n(34),p=n(192),h=n(193),d=n(194),g=n(23),y=n(4),v=c.draft_tree_data_support,m=l.List,b=l.Map,_=l.OrderedMap,w=function(t,e){var n=t.key,r=t.type,o=t.data;return{text:t.text,depth:t.depth||0,type:r||"unstyled",key:n||g(),data:b(o),characterList:S(t,e)}},S=function(t,e){var n=t.text,o=t.entityRanges,i=t.inlineStyleRanges,a=o||[];return p(d(n,i||[]),h(n,a.filter(function(t){return e.hasOwnProperty(t.key)}).map(function(t){return r({},t,{key:e[t.key]})})))},x=function(t){return r({},t,{key:t.key||g()})},k=function(t,e,n){var o=e.map(function(t){return r({},t,{parentRef:n})});return t.concat(o.reverse())},E=function(t,e){var n=Array.isArray(t.blocks[0].children),a=v&&!n?u.fromRawStateToRawTreeState(t).blocks:t.blocks;return v?function(t,e){return t.map(x).reduce(function(n,o,a){Array.isArray(o.children)||y(!1);var s=o.children.map(x),c=new i(r({},w(o,e),{prevSibling:0===a?null:t[a-1].key,nextSibling:a===t.length-1?null:t[a+1].key,children:m(s.map(function(t){return t.key}))}));n=n.set(c.getKey(),c);for(var u=k([],s,c);u.length>0;){var l=u.pop(),f=l.parentRef,p=f.getChildKeys(),h=p.indexOf(l.key),d=Array.isArray(l.children);if(!d){d||y(!1);break}var g=l.children.map(x),v=new i(r({},w(l,e),{parent:f.getKey(),children:m(g.map(function(t){return t.key})),prevSibling:0===h?null:p.get(h-1),nextSibling:h===p.size-1?null:p.get(h+1)}));n=n.set(v.getKey(),v),u=k(u,g,v)}return n},_())}(a,e):function(t,e){return _(t.map(function(t){var n=new o(w(t,e));return[n.getKey(),n]}))}(n?u.fromRawTreeStateToRawState(t).blocks:a,e)};t.exports=function(t){Array.isArray(t.blocks)||y(!1);var e=function(t){var e=t.entityMap,n={};return Object.keys(e).forEach(function(t){var r=e[t],o=r.type,i=r.mutability,a=r.data;n[t]=s.__create(o,i,a||{})}),n}(t),n=E(t,e),r=n.isEmpty()?new f:f.createEmpty(n.first().getKey());return new a({blockMap:n,entityMap:e,selectionBefore:r,selectionAfter:r})}},function(t,e,n){"use strict";var r=n(19)||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=n(4),i=function(t){if(!t||!t.type)return!1;var e=t.type;return"unordered-list-item"===e||"ordered-list-item"===e},a={fromRawTreeStateToRawState:function(t){var e=t.blocks,n=[];return Array.isArray(e)||o(!1),Array.isArray(e)&&e.length?(function(t,e){for(var n=[].concat(t).reverse();n.length;){var r=n.pop();e(r);var i=r.children;Array.isArray(i)||o(!1),n=n.concat([].concat(i.reverse()))}}(e,function(t){var e=r({},t);i(t)&&(e.depth=e.depth||0,function(t){Array.isArray(t.children)&&(t.children=t.children.map(function(e){return e.type===t.type?r({},e,{depth:(t.depth||0)+1}):e}))}(t)),delete e.children,n.push(e)}),t.blocks=n,r({},t,{blocks:n})):t},fromRawStateToRawTreeState:function(t){var e={},n=[];return t.blocks.forEach(function(t){var a=i(t),s=t.depth||0,c=r({},t,{children:[]});if(!a)return e={},void n.push(c);if(e[s]=c,s>0){var u=e[s-1];return u||o(!1),void u.children.push(c)}n.push(c)}),r({},t,{blocks:n})}};t.exports=a},function(t,e,n){"use strict";var r=n(17),o=n(3).List;t.exports=function(t,e){var n=t.map(function(t,n){var o=e[n];return r.create({style:t,entity:o})});return o(n)}},function(t,e,n){"use strict";var r=n(31).substr;t.exports=function(t,e){var n=Array(t.length).fill(null);return e&&e.forEach(function(e){for(var o=r(t,0,e.offset).length,i=o+r(t,e.offset,e.length).length,a=o;a<i;a++)n[a]=e.key}),n}},function(t,e,n){"use strict";var r=n(3).OrderedSet,o=n(31).substr,i=r();t.exports=function(t,e){var n=Array(t.length).fill(i);return e&&e.forEach(function(e){for(var r=o(t,0,e.offset).length,i=r+o(t,e.offset,e.length).length;r<i;)n[r]=n[r].add(e.style),r++}),n}},function(t,e,n){"use strict";var r=n(196);t.exports=function(t){var e=t.getSelection();if(!e.rangeCount)return null;var n=e.getRangeAt(0),o=r(n),i=o.top,a=o.right,s=o.bottom,c=o.left;return 0===i&&0===a&&0===s&&0===c?null:o}},function(t,e,n){"use strict";var r=n(91);t.exports=function(t){var e=r(t),n=0,o=0,i=0,a=0;if(e.length){if(e.length>1&&0===e[0].width){var s=e[1];n=s.top,o=s.right,i=s.bottom,a=s.left}else{var c=e[0];n=c.top,o=c.right,i=c.bottom,a=c.left}for(var u=1;u<e.length;u++){var l=e[u];0!==l.height&&0!==l.width&&(n=Math.min(n,l.top),o=Math.max(o,l.right),i=Math.max(i,l.bottom),a=Math.min(a,l.left))}}return{top:n,right:o,bottom:i,left:a,width:o-a,height:i-n}}},function(t,e,n){(e=t.exports=n(13)(!1)).i(n(2),""),e.push([t.i,"/* https://developer.mozilla.org/en-US/docs/Web/CSS/user-select \nTODO: only working in Chrome, not working in Firefox, and Safari - OSX\nif selecting text, not showing selection \nCommented out because it means cannot select speakers and timecode anymore\nwhich is the intended default behavior but needs to come with export\nfunctionality to export as plain text, word etc.. otherwise user won't be able\nto get text out of component with timecodes and speaker names in the interim */\n ._3sCjpCshJssfQdy70fZbe3 {\n /* -moz-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none; */\n} \n\n/* Desktop size */\n@media (min-width: 768px) {\n\n ._1z93WMKhmx9r9e9ig0ORDx {\n display: grid;\n grid-template-columns: 2fr 1fr;\n }\n\n ._2dj7lLhKodhCIwOY7vYre_ {\n margin-bottom: 1em;\n overflow: hidden;\n display: grid;\n grid-template-columns: [col-speaker] minmax(200px, 18%) [col-text] minmax(\n 50%,\n 81%\n );\n grid-column-gap: 1%;\n justify-content: center;\n align-content: center;\n }\n\n ._220-uL8BKPBdx715-H9VvM {\n color: "+n(2).locals["color-mid-grey"]+";\n font-weight: bold;\n text-transform: uppercase;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n justify-self: start;\n max-width: 100px;\n text-align: left;\n }\n\n ._3QPtbUi5LjfOSFZE2FUVpO {\n font-size: 1em;\n float: right;\n clear: right;\n }\n}\n\n/* Mobile devices */\n@media (max-width: 768px) {\n\n ._1z93WMKhmx9r9e9ig0ORDx {\n width: 100%;\n font-size: 0.8em;\n line-height: 1.2em;\n margin-bottom: 0.5em;\n }\n\n ._2dj7lLhKodhCIwOY7vYre_ {\n width: 100%;\n margin-bottom: 1em;\n line-height: 1.2em;\n overflow: hidden;\n }\n\n ._220-uL8BKPBdx715-H9VvM {\n padding-right: 2em;\n vertical-align: middle;\n color: "+n(2).locals["color-mid-grey"]+";\n font-weight: bold;\n text-transform: uppercase;\n text-align: right;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n text-align: left;\n }\n\n ._3QPtbUi5LjfOSFZE2FUVpO {\n width: 100%;\n font-size: 1em;\n float: left;\n\n /* clear: right; */\n }\n}\n\n._3ilX_gAaqiNrGprh5xN6cW {\n font-weight: lighter;\n cursor: pointer;\n justify-self: start;\n}\n\n._3ilX_gAaqiNrGprh5xN6cW:hover {\n text-decoration: underline;\n\n /* color: blue; */\n}\n\n._220-uL8BKPBdx715-H9VvM {\n cursor: pointer;\n}\n\n._35Ozy_qre-nCukN05RvZP1 {\n margin-right: 0.5em;\n}\n",""]),e.locals={"color-labs-red":""+n(2).locals["color-labs-red"],"color-light-grey":""+n(2).locals["color-light-grey"],"color-mid-grey":""+n(2).locals["color-mid-grey"],"color-dark-grey":""+n(2).locals["color-dark-grey"],unselectable:"_3sCjpCshJssfQdy70fZbe3",markers:"_1z93WMKhmx9r9e9ig0ORDx",WrapperBlock:"_2dj7lLhKodhCIwOY7vYre_",speaker:"_220-uL8BKPBdx715-H9VvM",text:"_3QPtbUi5LjfOSFZE2FUVpO",time:"_3ilX_gAaqiNrGprh5xN6cW",EditLabel:"_35Ozy_qre-nCukN05RvZP1"}},function(t,e,n){(e=t.exports=n(13)(!1)).i(n(2),""),e.push([t.i,"._3PjWW14H5jv-J1Gj9a4qOz {\n background: #f9f9f9;\n}\n\n/*\nGiving the editor a oveflow\nhttps://github.com/facebook/draft-js/issues/528\n*/\n\n._33b8lH3CQYlYUnfqLJ7uHy .public-DraftEditor-content {\n max-height: 75vh;\n overflow: auto;\n padding: 8px 16px;\n background-color: white;\n}\n\n/* Mobile devices */\n@media (max-width: 768px) {\n\n ._33b8lH3CQYlYUnfqLJ7uHy .public-DraftEditor-content {\n margin: 0 auto;\n }\n}\n",""]),e.locals={"color-subt-green":""+n(2).locals["color-subt-green"],"color-darkest-grey":""+n(2).locals["color-darkest-grey"],"color-labs-red":""+n(2).locals["color-labs-red"],"DraftEditor-root":"_3PjWW14H5jv-J1Gj9a4qOz",editor:"_33b8lH3CQYlYUnfqLJ7uHy"}}]);
24//# sourceMappingURL=TimedTextEditor.js.map
\No newline at end of file