dante2-editor 0.3.6 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/dist/Dante2.js +19801 -32971
  3. data/dist/Dante2.min.js +6 -15
  4. data/dist/Dante2.min.js.map +1 -1
  5. data/dist/DanteStyles.css +1 -1
  6. data/dist/DanteStyles.js +6 -6
  7. data/dist/DanteStyles.min.js +1 -1
  8. data/dist/DanteStyles.min.js.map +1 -1
  9. data/dist/dante-vendors.js +10602 -28851
  10. data/dist/dante-vendors.min.js +6 -15
  11. data/dist/dante-vendors.min.js.map +1 -1
  12. data/dist/fonts/dante.svg +1 -0
  13. data/docs/app.js +10 -10
  14. data/docs/app.js.map +1 -1
  15. data/docs/dante-vendors.js +16906 -31387
  16. data/docs/dante-vendors.js.map +1 -1
  17. data/docs/dante.css +168 -0
  18. data/docs/dante.css.map +1 -1
  19. data/docs/dante.js +1593 -179
  20. data/docs/dante.js.map +1 -1
  21. data/docs/fonts/dante.svg +1 -0
  22. data/package.json +15 -13
  23. data/rb_lib/dante2-editor/version.rb +1 -1
  24. data/src/components/{dante.js → core/dante.js} +12 -20
  25. data/src/components/{debug.js → core/debug.js} +0 -0
  26. data/src/components/{dante_editor.js → core/editor.js} +50 -42
  27. data/src/components/decorators/link.js +2 -1
  28. data/src/components/init.js +8 -0
  29. data/src/components/popovers/addButton.js +7 -0
  30. data/src/components/popovers/toolTip.js +15 -5
  31. data/src/index.js +4 -3
  32. data/src/styles/custom.css +189 -0
  33. data/src/styles/dante/_icons.scss +3 -1
  34. data/src/styles/dante.scss +2 -0
  35. data/src/styles/draft.css +5 -0
  36. data/src/styles/fonts/dante/dante.svg +1 -0
  37. data/src/utils/find_entities.js +3 -2
  38. data/src/utils/html2content.js +3 -1
  39. data/webpack/base.config.js +2 -2
  40. data/yarn.lock +1781 -1362
  41. metadata +7 -6
  42. data/src/components/wrapper.js +0 -0
data/dist/Dante2.min.js CHANGED
@@ -1,16 +1,7 @@
1
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Dante2=e():t.Dante2=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=390)}([function(t,e,n){"use strict";function r(t,e,n,r,i,a,s,u){if(o(e),!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,i,a,s,u],p=0;c=new Error(e.replace(/%s/g,function(){return l[p++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var o=function(t){};t.exports=r},function(t,e,n){"use strict";function r(t){for(var e=arguments.length-1,n="Minified React error #"+t+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+t,r=0;r<e;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}t.exports=r},function(t,e,n){"use strict";var r=n(10),o=r;t.exports=o},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e,n){return C.set(t,{selection:e,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function i(t,e){return t.getBlockMap().map(function(t){return h.generate(t,e)}).toOrderedMap()}function a(t,e,n){var r=t.getCurrentContent().getBlockMap();return t.getImmutable().get("treeMap").merge(e.toSeq().filter(function(t,e){return t!==r.get(e)}).map(function(t){return h.generate(t,n)}))}function s(t,e,n,r){return e.merge(t.toSeq().filter(function(t){return n.getDecorations(t)!==r.getDecorations(t)}).map(function(t){return h.generate(t,n)}))}function u(t,e){return e!==t.getLastChangeType()||"insert-characters"!==e&&"backspace-character"!==e&&"delete-character"!==e}function c(t,e){var n=e.getStartKey(),r=e.getStartOffset(),o=t.getBlockForKey(n);return r>0?o.getInlineStyleAt(r-1):o.getLength()?o.getInlineStyleAt(0):p(t,n)}function l(t,e){var n=e.getStartKey(),r=e.getStartOffset(),o=t.getBlockForKey(n);return r<o.getLength()?o.getInlineStyleAt(r):r>0?o.getInlineStyleAt(r-1):p(t,n)}function p(t,e){for(var n,r=t.getBlockBefore(e);r;){if(n=r.getLength())return r.getInlineStyleAt(n-1);r=t.getBlockBefore(r.getKey())}return _()}var f=n(28),d=f||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},h=n(120),g=n(68),v=n(230),y=n(4),m=n(33),_=y.OrderedSet,b=y.Record,w=y.Stack,S={allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:w(),selection:null,treeMap:null,undoStack:w()},k=b(S),C=function(){function t(e){r(this,t),this._immutable=e}return t.createEmpty=function(e){return t.createWithContent(g.createFromText(""),e)},t.createWithContent=function(e,n){var r=e.getBlockMap().first().getKey();return t.create({currentContent:e,undoStack:w(),redoStack:w(),decorator:n||null,selection:m.createEmpty(r)})},t.create=function(e){var n=e.currentContent,r=e.decorator,o=d({},e,{treeMap:i(n,r),directionMap:v.getDirectionMap(n)});return new t(new k(o))},t.set=function(e,n){return new t(e.getImmutable().withMutations(function(t){var r=t.get("decorator"),o=r;null===n.decorator?o=null:n.decorator&&(o=n.decorator);var u=n.currentContent||e.getCurrentContent();if(o!==r){var c,l=t.get("treeMap");return c=o&&r?s(u.getBlockMap(),l,o,r):i(u,o),void t.merge({decorator:o,treeMap:c,nativelyRenderedContent:null})}u!==e.getCurrentContent()&&t.set("treeMap",a(e,u.getBlockMap(),o)),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()?c(e,n):l(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(),e=t.getBlockMap(),n=e.last(),r=n.getLength();return this.getSelection().hasEdgeWithin(n.getKey(),r,r)},t.prototype.getDirectionMap=function(){return this.getImmutable().get("directionMap")},t.acceptSelection=function(t,e){return o(t,e,!1)},t.forceSelection=function(t,e){return e.getHasFocus()||(e=e.set("hasFocus",!0)),o(t,e,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent(),r=n.getLastBlock(),o=r.getKey(),i=r.getLength();return t.acceptSelection(e,new m({anchorKey:o,anchorOffset:i,focusKey:o,focusOffset:i,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=v.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 a=e.getSelection(),s=e.getCurrentContent(),c=e.getUndoStack(),l=n;a!==s.getSelectionAfter()||u(e,r)?(c=c.push(s),l=l.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(l=l.set("selectionBefore",s.getSelectionBefore()));var p=e.getInlineStyleOverride();"adjust-depth"!==r&&"change-block-type"!==r&&(p=null);var f={currentContent:l,directionMap:i,undoStack:c,redoStack:w(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:p};return t.set(e,f)},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=v.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=v.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}();t.exports=C},function(t,e,n){!function(e,n){t.exports=n()}(0,function(){"use strict";function t(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function e(t){return i(t)?t:M(t)}function n(t){return a(t)?t:D(t)}function r(t){return s(t)?t:I(t)}function o(t){return i(t)&&!u(t)?t:R(t)}function i(t){return!(!t||!t[cn])}function a(t){return!(!t||!t[ln])}function s(t){return!(!t||!t[pn])}function u(t){return a(t)||s(t)}function c(t){return!(!t||!t[fn])}function l(t){return t.value=!1,t}function p(t){t&&(t.value=!0)}function f(){}function d(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 h(t){return void 0===t.size&&(t.size=t.__iterate(v)),t.size}function g(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?h(t)+e:e}function v(){return!0}function y(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function m(t,e){return b(t,e,0)}function _(t,e){return b(t,e,e)}function b(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}function w(t){this.next=t}function S(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 k(){return{value:void 0,done:!0}}function C(t){return!!O(t)}function E(t){return t&&"function"==typeof t.next}function x(t){var e=O(t);return e&&e.call(t)}function O(t){var e=t&&(Sn&&t[Sn]||t[kn]);if("function"==typeof e)return e}function T(t){return t&&"number"==typeof t.length}function M(t){return null===t||void 0===t?U():i(t)?t.toSeq():j(t)}function D(t){return null===t||void 0===t?U().toKeyedSeq():i(t)?a(t)?t.toSeq():t.fromEntrySeq():F(t)}function I(t){return null===t||void 0===t?U():i(t)?a(t)?t.entrySeq():t.toIndexedSeq():K(t)}function R(t){return(null===t||void 0===t?U():i(t)?a(t)?t.entrySeq():t:K(t)).toSetSeq()}function A(t){this._array=t,this.size=t.length}function P(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function N(t){this._iterable=t,this.size=t.length||t.size}function L(t){this._iterator=t,this._iteratorCache=[]}function B(t){return!(!t||!t[En])}function U(){return xn||(xn=new A([]))}function F(t){var e=Array.isArray(t)?new A(t).fromEntrySeq():E(t)?new L(t).fromEntrySeq():C(t)?new N(t).fromEntrySeq():"object"==typeof t?new P(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function K(t){var e=z(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function j(t){var e=z(t)||"object"==typeof t&&new P(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}function z(t){return T(t)?new A(t):E(t)?new L(t):C(t)?new N(t):void 0}function q(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 H(t,e,n,r){var o=t._cache;if(o){var i=o.length-1,a=0;return new w(function(){var t=o[n?i-a:a];return a++>i?k():S(e,r?t[0]:a-1,t[1])})}return t.__iteratorUncached(e,n)}function W(t,e){return e?V(e,t,"",{"":t}):J(t)}function V(t,e,n,r){return Array.isArray(e)?t.call(r,n,I(e).map(function(n,r){return V(t,n,r,e)})):G(e)?t.call(r,n,D(e).map(function(n,r){return V(t,n,r,e)})):e}function J(t){return Array.isArray(t)?I(t).map(J).toList():G(t)?D(t).map(J).toMap():t}function G(t){return t&&(t.constructor===Object||void 0===t.constructor)}function Y(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 X(t,e){if(t===e)return!0;if(!i(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||a(t)!==a(e)||s(t)!==s(e)||c(t)!==c(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!u(t);if(c(t)){var r=t.entries();return e.every(function(t,e){var o=r.next().value;return o&&Y(o[1],t)&&(n||Y(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 l=t;t=e,e=l}var p=!0,f=e.__iterate(function(e,r){if(n?!t.has(e):o?!Y(e,t.get(r,vn)):!Y(t.get(r,vn),e))return p=!1,!1});return p&&t.size===f}function Q(t,e){if(!(this instanceof Q))return new Q(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(On)return On;On=this}}function $(t,e){if(!t)throw new Error(e)}function Z(t,e,n){if(!(this instanceof Z))return new Z(t,e,n);if($(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(Tn)return Tn;Tn=this}}function tt(){throw TypeError("Abstract")}function et(){}function nt(){}function rt(){}function ot(t){return t>>>1&1073741824|3221225471&t}function it(t){if(!1===t||null===t||void 0===t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null===t||void 0===t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)t/=4294967295,n^=t;return ot(n)}if("string"===e)return t.length>Ln?at(t):st(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return ut(t);if("function"==typeof t.toString)return st(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function at(t){var e=Fn[t];return void 0===e&&(e=st(t),Un===Bn&&(Un=0,Fn={}),Un++,Fn[t]=e),e}function st(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return ot(e)}function ut(t){var e;if(An&&void 0!==(e=Mn.get(t)))return e;if(void 0!==(e=t[Nn]))return e;if(!Rn){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Nn]))return e;if(void 0!==(e=ct(t)))return e}if(e=++Pn,1073741824&Pn&&(Pn=0),An)Mn.set(t,e);else{if(void 0!==In&&!1===In(t))throw new Error("Non-extensible objects are not allowed as keys.");if(Rn)Object.defineProperty(t,Nn,{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[Nn]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Nn]=e}}return e}function ct(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}function lt(t){$(t!==1/0,"Cannot perform this action with an infinite size.")}function pt(t){return null===t||void 0===t?St():ft(t)&&!c(t)?t:St().withMutations(function(e){var r=n(t);lt(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function ft(t){return!(!t||!t[Kn])}function dt(t,e){this.ownerID=t,this.entries=e}function ht(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function gt(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 yt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function mt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&bt(t._root)}function _t(t,e){return S(t,e[0],e[1])}function bt(t,e){return{node:t,index:0,__prev:e}}function wt(t,e,n,r){var o=Object.create(jn);return o.size=t,o._root=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function St(){return zn||(zn=wt(0))}function kt(t,e,n){var r,o;if(t._root){var i=l(yn),a=l(mn);if(r=Ct(t._root,t.__ownerID,0,void 0,e,n,i,a),!a.value)return t;o=t.size+(i.value?n===vn?-1:1:0)}else{if(n===vn)return t;o=1,r=new dt(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=o,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?wt(o,r):St()}function Ct(t,e,n,r,o,i,a,s){return t?t.update(e,n,r,o,i,a,s):i===vn?t:(p(s),p(a),new yt(e,r,[o,i]))}function Et(t){return t.constructor===yt||t.constructor===vt}function xt(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)&gn,s=(0===n?r:r>>>n)&gn;return new ht(e,1<<a|1<<s,a===s?[xt(t,e,n+dn,r,o)]:(i=new yt(e,r,o),a<s?[t,i]:[i,t]))}function Ot(t,e,n,r){t||(t=new f);for(var o=new yt(t,it(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}function Tt(t,e,n,r){for(var o=0,i=0,a=new Array(n),s=0,u=1,c=e.length;s<c;s++,u<<=1){var l=e[s];void 0!==l&&s!==r&&(o|=u,a[i++]=l)}return new ht(t,o,a)}function Mt(t,e,n,r,o){for(var i=0,a=new Array(hn),s=0;0!==n;s++,n>>>=1)a[s]=1&n?e[i++]:void 0;return a[r]=o,new gt(t,i+1,a)}function Dt(t,e,r){for(var o=[],a=0;a<r.length;a++){var s=r[a],u=n(s);i(s)||(u=u.map(function(t){return W(t)})),o.push(u)}return At(t,e,o)}function It(t,e,n){return t&&t.mergeDeep&&i(e)?t.mergeDeep(e):Y(t,e)?t:e}function Rt(t){return function(e,n,r){if(e&&e.mergeDeepWith&&i(n))return e.mergeDeepWith(t,n);var o=t(e,n,r);return Y(e,o)?e:o}}function At(t,e,n){return n=n.filter(function(t){return 0!==t.size}),0===n.length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations(function(t){for(var r=e?function(n,r){t.update(r,vn,function(t){return t===vn?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 Pt(t,e,n,r){var o=t===vn,i=e.next();if(i.done){var a=o?n:t,s=r(a);return s===a?t:s}$(o||t&&t.set,"invalid keyPath");var u=i.value,c=o?vn:t.get(u,vn),l=Pt(c,e,n,r);return l===c?t:l===vn?t.remove(u):(o?St():t).set(u,l)}function Nt(t){return t-=t>>1&1431655765,t=(858993459&t)+(t>>2&858993459),t=t+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function Lt(t,e,n,r){var o=r?t:d(t);return o[e]=n,o}function Bt(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}function Ut(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}function Ft(t){var e=Ht();if(null===t||void 0===t)return e;if(Kt(t))return t;var n=r(t),o=n.size;return 0===o?e:(lt(o),o>0&&o<hn?qt(0,o,dn,null,new jt(n.toArray())):e.withMutations(function(t){t.setSize(o),n.forEach(function(e,n){return t.set(n,e)})}))}function Kt(t){return!(!t||!t[Vn])}function jt(t,e){this.array=t,this.ownerID=e}function zt(t,e){function n(t,e,n){return 0===e?r(t,n):o(t,e,n)}function r(t,n){var r=n===s?u&&u.array:t&&t.array,o=n>i?0:i-n,c=a-n;return c>hn&&(c=hn),function(){if(o===c)return Yn;var t=e?--c:o++;return r&&r[t]}}function o(t,r,o){var s,u=t&&t.array,c=o>i?0:i-o>>r,l=1+(a-o>>r);return l>hn&&(l=hn),function(){for(;;){if(s){var t=s();if(t!==Yn)return t;s=null}if(c===l)return Yn;var i=e?--l:c++;s=n(u&&u[i],r-dn,o+(i<<r))}}}var i=t._origin,a=t._capacity,s=Qt(a),u=t._tail;return n(t._root,t._level,0)}function qt(t,e,n,r,o,i,a){var s=Object.create(Jn);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 Ht(){return Gn||(Gn=qt(0,0,dn))}function Wt(t,e,n){if((e=g(t,e))!==e)return t;if(e>=t.size||e<0)return t.withMutations(function(t){e<0?Yt(t,e).set(0,n):Yt(t,0,e+1).set(e,n)});e+=t._origin;var r=t._tail,o=t._root,i=l(mn);return e>=Qt(t._capacity)?r=Vt(r,t.__ownerID,0,e,n,i):o=Vt(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):qt(t._origin,t._capacity,t._level,o,r):t}function Vt(t,e,n,r,o,i){var a=r>>>n&gn,s=t&&a<t.array.length;if(!s&&void 0===o)return t;var u;if(n>0){var c=t&&t.array[a],l=Vt(c,e,n-dn,r,o,i);return l===c?t:(u=Jt(t,e),u.array[a]=l,u)}return s&&t.array[a]===o?t:(p(i),u=Jt(t,e),void 0===o&&a===u.array.length-1?u.array.pop():u.array[a]=o,u)}function Jt(t,e){return e&&t&&e===t.ownerID?t:new jt(t?t.array.slice():[],e)}function Gt(t,e){if(e>=Qt(t._capacity))return t._tail;if(e<1<<t._level+dn){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&gn],r-=dn;return n}}function Yt(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new f,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 u=t._level,c=t._root,l=0;a+l<0;)c=new jt(c&&c.array.length?[void 0,c]:[],r),u+=dn,l+=1<<u;l&&(a+=l,o+=l,s+=l,i+=l);for(var p=Qt(i),d=Qt(s);d>=1<<u+dn;)c=new jt(c&&c.array.length?[c]:[],r),u+=dn;var h=t._tail,g=d<p?Gt(t,s-1):d>p?new jt([],r):h;if(h&&d>p&&a<i&&h.array.length){c=Jt(c,r);for(var v=c,y=u;y>dn;y-=dn){var m=p>>>y&gn;v=v.array[m]=Jt(v.array[m],r)}v.array[p>>>dn&gn]=h}if(s<i&&(g=g&&g.removeAfter(r,0,s)),a>=d)a-=d,s-=d,u=dn,c=null,g=g&&g.removeBefore(r,0,a);else if(a>o||d<p){for(l=0;c;){var _=a>>>u&gn;if(_!==d>>>u&gn)break;_&&(l+=(1<<u)*_),u-=dn,c=c.array[_]}c&&a>o&&(c=c.removeBefore(r,u,a-l)),c&&d<p&&(c=c.removeAfter(r,u,d-l)),l&&(a-=l,s-=l)}return t.__ownerID?(t.size=s-a,t._origin=a,t._capacity=s,t._level=u,t._root=c,t._tail=g,t.__hash=void 0,t.__altered=!0,t):qt(a,s,u,c,g)}function Xt(t,e,n){for(var o=[],a=0,s=0;s<n.length;s++){var u=n[s],c=r(u);c.size>a&&(a=c.size),i(u)||(c=c.map(function(t){return W(t)})),o.push(c)}return a>t.size&&(t=t.setSize(a)),At(t,e,o)}function Qt(t){return t<hn?0:t-1>>>dn<<dn}function $t(t){return null===t||void 0===t?ee():Zt(t)?t:ee().withMutations(function(e){var r=n(t);lt(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function Zt(t){return ft(t)&&c(t)}function te(t,e,n,r){var o=Object.create($t.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=n,o.__hash=r,o}function ee(){return Xn||(Xn=te(St(),Ht()))}function ne(t,e,n){var r,o,i=t._map,a=t._list,s=i.get(e),u=void 0!==s;if(n===vn){if(!u)return t;a.size>=hn&&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(u){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):te(r,o)}function re(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function oe(t){this._iter=t,this.size=t.size}function ie(t){this._iter=t,this.size=t.size}function ae(t){this._iter=t,this.size=t.size}function se(t){var e=Te(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=Me,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===wn){var r=t.__iterator(e,n);return new w(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===bn?_n:bn,n)},e}function ue(t,e,n){var r=Te(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,o){var i=t.get(r,vn);return i===vn?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(wn,o);return new w(function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return S(r,s,e.call(n,a[1],s,t),o)})},r}function ce(t,e){var n=Te(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=se(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=Me,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 le(t,e,n,r){var o=Te(t);return r&&(o.has=function(r){var o=t.get(r,vn);return o!==vn&&!!e.call(n,o,r,t)},o.get=function(r,o){var i=t.get(r,vn);return i!==vn&&e.call(n,i,r,t)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return t.__iterate(function(t,i,u){if(e.call(n,t,i,u))return s++,o(t,r?i:s-1,a)},i),s},o.__iteratorUncached=function(o,i){var a=t.__iterator(wn,i),s=0;return new w(function(){for(;;){var i=a.next();if(i.done)return i;var u=i.value,c=u[0],l=u[1];if(e.call(n,l,c,t))return S(o,r?c:s++,l,i)}})},o}function pe(t,e,n){var r=pt().asMutable();return t.__iterate(function(o,i){r.update(e.call(n,o,i,t),0,function(t){return t+1})}),r.asImmutable()}function fe(t,e,n){var r=a(t),o=(c(t)?$t():pt()).asMutable();t.__iterate(function(i,a){o.update(e.call(n,i,a,t),function(t){return t=t||[],t.push(r?[a,i]:i),t})});var i=Oe(t);return o.map(function(e){return Ce(t,i(e))})}function de(t,e,n,r){var o=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n|=0),y(e,n,o))return t;var i=m(e,o),a=_(n,o);if(i!==i||a!==a)return de(t.toSeq().cacheResult(),e,n,r);var s,u=a-i;u===u&&(s=u<0?0:u);var c=Te(t);return c.size=0===s?s:t.size&&s||void 0,!r&&B(t)&&s>=0&&(c.get=function(e,n){return e=g(this,e),e>=0&&e<s?t.get(e+i,n):n}),c.__iterateUncached=function(e,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,u=!0,c=0;return t.__iterate(function(t,n){if(!u||!(u=a++<i))return c++,!1!==e(t,r?n:c-1,o)&&c!==s}),c},c.__iteratorUncached=function(e,n){if(0!==s&&n)return this.cacheResult().__iterator(e,n);var o=0!==s&&t.__iterator(e,n),a=0,u=0;return new w(function(){for(;a++<i;)o.next();if(++u>s)return k();var t=o.next();return r||e===bn?t:e===_n?S(e,u-1,void 0,t):S(e,u-1,t.value[1],t)})},c}function he(t,e,n){var r=Te(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(wn,o),s=!0;return new w(function(){if(!s)return k();var t=a.next();if(t.done)return t;var o=t.value,u=o[0],c=o[1];return e.call(n,c,u,i)?r===wn?t:S(r,u,c,t):(s=!1,k())})},r}function ge(t,e,n,r){var o=Te(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,u=0;return t.__iterate(function(t,i,c){if(!s||!(s=e.call(n,t,i,c)))return u++,o(t,r?i:u-1,a)}),u},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=t.__iterator(wn,i),u=!0,c=0;return new w(function(){var t,i,l;do{if(t=s.next(),t.done)return r||o===bn?t:o===_n?S(o,c++,void 0,t):S(o,c++,t.value[1],t);var p=t.value;i=p[0],l=p[1],u&&(u=e.call(n,l,i,a))}while(u);return o===wn?t:S(o,i,l,t)})},o}function ve(t,e){var r=a(t),o=[t].concat(e).map(function(t){return i(t)?r&&(t=n(t)):t=r?F(t):K(Array.isArray(t)?t:[t]),t}).filter(function(t){return 0!==t.size});if(0===o.length)return t;if(1===o.length){var u=o[0];if(u===t||r&&a(u)||s(t)&&s(u))return u}var c=new A(o);return r?c=c.toKeyedSeq():s(t)||(c=c.toSetSeq()),c=c.flatten(!0),c.size=o.reduce(function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}},0),c}function ye(t,e,n){var r=Te(t);return r.__iterateUncached=function(r,o){function a(t,c){var l=this;t.__iterate(function(t,o){return(!e||c<e)&&i(t)?a(t,c+1):!1===r(t,n?o:s++,l)&&(u=!0),!u},o)}var s=0,u=!1;return a(t,0),s},r.__iteratorUncached=function(r,o){var a=t.__iterator(r,o),s=[],u=0;return new w(function(){for(;a;){var t=a.next();if(!1===t.done){var c=t.value;if(r===wn&&(c=c[1]),e&&!(s.length<e)||!i(c))return n?t:S(r,u++,c,t);s.push(a),a=c.__iterator(r,o)}else a=s.pop()}return k()})},r}function me(t,e,n){var r=Oe(t);return t.toSeq().map(function(o,i){return r(e.call(n,o,i,t))}).flatten(!0)}function _e(t,e){var n=Te(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(bn,r),a=0;return new w(function(){return(!o||a%2)&&(o=i.next(),o.done)?o:a%2?S(n,a++,e):S(n,a++,o.value,o)})},n}function be(t,e,n){e||(e=De);var r=a(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?D(i):s(t)?I(i):R(i)}function we(t,e,n){if(e||(e=De),n){var r=t.toSeq().map(function(e,r){return[e,n(e,r,t)]}).reduce(function(t,n){return Se(e,t[1],n[1])?n:t});return r&&r[0]}return t.reduce(function(t,n){return Se(e,t,n)?n:t})}function Se(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(void 0===n||null===n||n!==n)||r>0}function ke(t,n,r){var o=Te(t);return o.size=new A(r).map(function(t){return t.size}).min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(bn,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=e(t),x(o?t.reverse():t)}),a=0,s=!1;return new w(function(){var e;return s||(e=i.map(function(t){return t.next()}),s=e.some(function(t){return t.done})),s?k():S(t,a++,n.apply(null,e.map(function(t){return t.value})))})},o}function Ce(t,e){return B(t)?e:t.constructor(e)}function Ee(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function xe(t){return lt(t.size),h(t)}function Oe(t){return a(t)?n:s(t)?r:o}function Te(t){return Object.create((a(t)?D:s(t)?I:R).prototype)}function Me(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):M.prototype.cacheResult.call(this)}function De(t,e){return t>e?1:t<e?-1:0}function Ie(t){var n=x(t);if(!n){if(!T(t))throw new TypeError("Expected iterable or array-like: "+t);n=x(e(t))}return n}function Re(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);Ne(o,a),o.size=a.length,o._name=e,o._keys=a,o._defaultValues=t}this._map=pt(i)},o=r.prototype=Object.create(Qn);return o.constructor=r,r}function Ae(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function Pe(t){return t._name||t.constructor.name||"Record"}function Ne(t,e){try{e.forEach(Le.bind(void 0,t))}catch(t){}}function Le(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){$(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function Be(t){return null===t||void 0===t?je():Ue(t)&&!c(t)?t:je().withMutations(function(e){var n=o(t);lt(n.size),n.forEach(function(t){return e.add(t)})})}function Ue(t){return!(!t||!t[$n])}function Fe(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 Ke(t,e){var n=Object.create(Zn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function je(){return tr||(tr=Ke(St()))}function ze(t){return null===t||void 0===t?We():qe(t)?t:We().withMutations(function(e){var n=o(t);lt(n.size),n.forEach(function(t){return e.add(t)})})}function qe(t){return Ue(t)&&c(t)}function He(t,e){var n=Object.create(er);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function We(){return nr||(nr=He(ee()))}function Ve(t){return null===t||void 0===t?Ye():Je(t)?t:Ye().unshiftAll(t)}function Je(t){return!(!t||!t[rr])}function Ge(t,e,n,r){var o=Object.create(or);return o.size=t,o._head=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Ye(){return ir||(ir=Ge(0))}function Xe(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}function Qe(t,e){return e}function $e(t,e){return[e,t]}function Ze(t){return function(){return!t.apply(this,arguments)}}function tn(t){return function(){return-t.apply(this,arguments)}}function en(t){return"string"==typeof t?JSON.stringify(t):t}function nn(){return d(arguments)}function rn(t,e){return t<e?1:t>e?-1:0}function on(t){if(t.size===1/0)return 0;var e=c(t),n=a(t),r=e?1:0;return an(t.__iterate(n?e?function(t,e){r=31*r+sn(it(t),it(e))|0}:function(t,e){r=r+sn(it(t),it(e))|0}:e?function(t){r=31*r+it(t)|0}:function(t){r=r+it(t)|0}),r)}function an(t,e){return e=Dn(e,3432918353),e=Dn(e<<15|e>>>-15,461845907),e=Dn(e<<13|e>>>-13,5),e=(e+3864292196|0)^t,e=Dn(e^e>>>16,2246822507),e=Dn(e^e>>>13,3266489909),e=ot(e^e>>>16)}function sn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}var un=Array.prototype.slice;t(n,e),t(r,e),t(o,e),e.isIterable=i,e.isKeyed=a,e.isIndexed=s,e.isAssociative=u,e.isOrdered=c,e.Keyed=n,e.Indexed=r,e.Set=o;var cn="@@__IMMUTABLE_ITERABLE__@@",ln="@@__IMMUTABLE_KEYED__@@",pn="@@__IMMUTABLE_INDEXED__@@",fn="@@__IMMUTABLE_ORDERED__@@",dn=5,hn=1<<dn,gn=hn-1,vn={},yn={value:!1},mn={value:!1},_n=0,bn=1,wn=2,Sn="function"==typeof Symbol&&Symbol.iterator,kn="@@iterator",Cn=Sn||kn;w.prototype.toString=function(){return"[Iterator]"},w.KEYS=_n,w.VALUES=bn,w.ENTRIES=wn,w.prototype.inspect=w.prototype.toSource=function(){return this.toString()},w.prototype[Cn]=function(){return this},t(M,e),M.of=function(){return M(arguments)},M.prototype.toSeq=function(){return this},M.prototype.toString=function(){return this.__toString("Seq {","}")},M.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},M.prototype.__iterate=function(t,e){return q(this,t,e,!0)},M.prototype.__iterator=function(t,e){return H(this,t,e,!0)},t(D,M),D.prototype.toKeyedSeq=function(){return this},t(I,M),I.of=function(){return I(arguments)},I.prototype.toIndexedSeq=function(){return this},I.prototype.toString=function(){return this.__toString("Seq [","]")},I.prototype.__iterate=function(t,e){return q(this,t,e,!1)},I.prototype.__iterator=function(t,e){return H(this,t,e,!1)},t(R,M),R.of=function(){return R(arguments)},R.prototype.toSetSeq=function(){return this},M.isSeq=B,M.Keyed=D,M.Set=R,M.Indexed=I;var En="@@__IMMUTABLE_SEQ__@@";M.prototype[En]=!0,t(A,I),A.prototype.get=function(t,e){return this.has(t)?this._array[g(this,t)]:e},A.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},A.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,o=0;return new w(function(){return o>r?k():S(t,o,n[e?r-o++:o++])})},t(P,D),P.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},P.prototype.has=function(t){return this._object.hasOwnProperty(t)},P.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},P.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length-1,i=0;return new w(function(){var a=r[e?o-i:i];return i++>o?k():S(t,a,n[a])})},P.prototype[fn]=!0,t(N,I),N.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=this._iterable,r=x(n),o=0;if(E(r))for(var i;!(i=r.next()).done&&!1!==t(i.value,o++,this););return o},N.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterable,r=x(n);if(!E(r))return new w(k);var o=0;return new w(function(){var e=r.next();return e.done?e:S(t,o++,e.value)})},t(L,I),L.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n=this._iterator,r=this._iteratorCache,o=0;o<r.length;)if(!1===t(r[o],o++,this))return o;for(var i;!(i=n.next()).done;){var a=i.value;if(r[o]=a,!1===t(a,o++,this))break}return o},L.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,o=0;return new w(function(){if(o>=r.length){var e=n.next();if(e.done)return e;r[o]=e.value}return S(t,o,r[o++])})};var xn;t(Q,I),Q.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Q.prototype.get=function(t,e){return this.has(t)?this._value:e},Q.prototype.includes=function(t){return Y(this._value,t)},Q.prototype.slice=function(t,e){var n=this.size;return y(t,e,n)?this:new Q(this._value,_(e,n)-m(t,n))},Q.prototype.reverse=function(){return this},Q.prototype.indexOf=function(t){return Y(this._value,t)?0:-1},Q.prototype.lastIndexOf=function(t){return Y(this._value,t)?this.size:-1},Q.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},Q.prototype.__iterator=function(t,e){var n=this,r=0;return new w(function(){return r<n.size?S(t,r++,n._value):k()})},Q.prototype.equals=function(t){return t instanceof Q?Y(this._value,t._value):X(t)};var On;t(Z,I),Z.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},Z.prototype.get=function(t,e){return this.has(t)?this._start+g(this,t)*this._step:e},Z.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},Z.prototype.slice=function(t,e){return y(t,e,this.size)?this:(t=m(t,this.size),e=_(e,this.size),e<=t?new Z(0,0):new Z(this.get(t,this._end),this.get(e,this._end),this._step))},Z.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},Z.prototype.lastIndexOf=function(t){return this.indexOf(t)},Z.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},Z.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 w(function(){var a=o;return o+=e?-r:r,i>n?k():S(t,i++,a)})},Z.prototype.equals=function(t){return t instanceof Z?this._start===t._start&&this._end===t._end&&this._step===t._step:X(this,t)};var Tn;t(tt,e),t(et,tt),t(nt,tt),t(rt,tt),tt.Keyed=et,tt.Indexed=nt,tt.Set=rt;var Mn,Dn="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){t|=0,e|=0;var n=65535&t,r=65535&e;return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0},In=Object.isExtensible,Rn=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),An="function"==typeof WeakMap;An&&(Mn=new WeakMap);var Pn=0,Nn="__immutablehash__";"function"==typeof Symbol&&(Nn=Symbol(Nn));var Ln=16,Bn=255,Un=0,Fn={};t(pt,et),pt.prototype.toString=function(){return this.__toString("Map {","}")},pt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},pt.prototype.set=function(t,e){return kt(this,t,e)},pt.prototype.setIn=function(t,e){return this.updateIn(t,vn,function(){return e})},pt.prototype.remove=function(t){return kt(this,t,vn)},pt.prototype.deleteIn=function(t){return this.updateIn(t,function(){return vn})},pt.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},pt.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=Pt(this,Ie(t),e,n);return r===vn?void 0:r},pt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):St()},pt.prototype.merge=function(){return Dt(this,void 0,arguments)},pt.prototype.mergeWith=function(t){return Dt(this,t,un.call(arguments,1))},pt.prototype.mergeIn=function(t){var e=un.call(arguments,1);return this.updateIn(t,St(),function(t){return"function"==typeof t.merge?t.merge.apply(t,e):e[e.length-1]})},pt.prototype.mergeDeep=function(){return Dt(this,It,arguments)},pt.prototype.mergeDeepWith=function(t){var e=un.call(arguments,1);return Dt(this,Rt(t),e)},pt.prototype.mergeDeepIn=function(t){var e=un.call(arguments,1);return this.updateIn(t,St(),function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,e):e[e.length-1]})},pt.prototype.sort=function(t){return $t(be(this,t))},pt.prototype.sortBy=function(t,e){return $t(be(this,e,t))},pt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},pt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new f)},pt.prototype.asImmutable=function(){return this.__ensureOwner()},pt.prototype.wasAltered=function(){return this.__altered},pt.prototype.__iterator=function(t,e){return new mt(this,t,e)},pt.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},pt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?wt(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},pt.isMap=ft;var Kn="@@__IMMUTABLE_MAP__@@",jn=pt.prototype;jn[Kn]=!0,jn.delete=jn.remove,jn.removeIn=jn.deleteIn,dt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(Y(n,o[i][0]))return o[i][1];return r},dt.prototype.update=function(t,e,n,r,o,i,a){for(var s=o===vn,u=this.entries,c=0,l=u.length;c<l&&!Y(r,u[c][0]);c++);var f=c<l;if(f?u[c][1]===o:s)return this;if(p(a),(s||!f)&&p(i),!s||1!==u.length){if(!f&&!s&&u.length>=qn)return Ot(t,u,r,o);var h=t&&t===this.ownerID,g=h?u:d(u);return f?s?c===l-1?g.pop():g[c]=g.pop():g[c]=[r,o]:g.push([r,o]),h?(this.entries=g,this):new dt(t,g)}},ht.prototype.get=function(t,e,n,r){void 0===e&&(e=it(n));var o=1<<((0===t?e:e>>>t)&gn),i=this.bitmap;return 0==(i&o)?r:this.nodes[Nt(i&o-1)].get(t+dn,e,n,r)},ht.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=it(r));var s=(0===e?n:n>>>e)&gn,u=1<<s,c=this.bitmap,l=0!=(c&u);if(!l&&o===vn)return this;var p=Nt(c&u-1),f=this.nodes,d=l?f[p]:void 0,h=Ct(d,t,e+dn,n,r,o,i,a);if(h===d)return this;if(!l&&h&&f.length>=Hn)return Mt(t,f,c,s,h);if(l&&!h&&2===f.length&&Et(f[1^p]))return f[1^p];if(l&&h&&1===f.length&&Et(h))return h;var g=t&&t===this.ownerID,v=l?h?c:c^u:c|u,y=l?h?Lt(f,p,h,g):Ut(f,p,g):Bt(f,p,h,g);return g?(this.bitmap=v,this.nodes=y,this):new ht(t,v,y)},gt.prototype.get=function(t,e,n,r){void 0===e&&(e=it(n));var o=(0===t?e:e>>>t)&gn,i=this.nodes[o];return i?i.get(t+dn,e,n,r):r},gt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=it(r));var s=(0===e?n:n>>>e)&gn,u=o===vn,c=this.nodes,l=c[s];if(u&&!l)return this;var p=Ct(l,t,e+dn,n,r,o,i,a);if(p===l)return this;var f=this.count;if(l){if(!p&&--f<Wn)return Tt(t,c,f,s)}else f++;var d=t&&t===this.ownerID,h=Lt(c,s,p,d);return d?(this.count=f,this.nodes=h,this):new gt(t,f,h)},vt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(Y(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=it(r));var s=o===vn;if(n!==this.keyHash)return s?this:(p(a),p(i),xt(this,t,e,n,[r,o]));for(var u=this.entries,c=0,l=u.length;c<l&&!Y(r,u[c][0]);c++);var f=c<l;if(f?u[c][1]===o:s)return this;if(p(a),(s||!f)&&p(i),s&&2===l)return new yt(t,this.keyHash,u[1^c]);var h=t&&t===this.ownerID,g=h?u:d(u);return f?s?c===l-1?g.pop():g[c]=g.pop():g[c]=[r,o]:g.push([r,o]),h?(this.entries=g,this):new vt(t,this.keyHash,g)},yt.prototype.get=function(t,e,n,r){return Y(n,this.entry[0])?this.entry[1]:r},yt.prototype.update=function(t,e,n,r,o,i,a){var s=o===vn,u=Y(r,this.entry[0]);return(u?o===this.entry[1]:s)?this:(p(a),s?void p(i):u?t&&t===this.ownerID?(this.entry[1]=o,this):new yt(t,this.keyHash,[r,o]):(p(i),xt(this,t,e,it(r),[r,o])))},dt.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},ht.prototype.iterate=gt.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}},yt.prototype.iterate=function(t,e){return t(this.entry)},t(mt,w),mt.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 _t(t,r.entry)}else if(r.entries){if(n=r.entries.length-1,o<=n)return _t(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 _t(t,i.entry);e=this._stack=bt(i,e)}continue}e=this._stack=this._stack.__prev}return k()};var zn,qn=hn/4,Hn=hn/2,Wn=hn/4;t(Ft,nt),Ft.of=function(){return this(arguments)},Ft.prototype.toString=function(){return this.__toString("List [","]")},Ft.prototype.get=function(t,e){if((t=g(this,t))>=0&&t<this.size){t+=this._origin;var n=Gt(this,t);return n&&n.array[t&gn]}return e},Ft.prototype.set=function(t,e){return Wt(this,t,e)},Ft.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},Ft.prototype.insert=function(t,e){return this.splice(t,0,e)},Ft.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=dn,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Ht()},Ft.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations(function(n){Yt(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])})},Ft.prototype.pop=function(){return Yt(this,0,-1)},Ft.prototype.unshift=function(){var t=arguments;return this.withMutations(function(e){Yt(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])})},Ft.prototype.shift=function(){return Yt(this,1)},Ft.prototype.merge=function(){return Xt(this,void 0,arguments)},Ft.prototype.mergeWith=function(t){return Xt(this,t,un.call(arguments,1))},Ft.prototype.mergeDeep=function(){return Xt(this,It,arguments)},Ft.prototype.mergeDeepWith=function(t){var e=un.call(arguments,1);return Xt(this,Rt(t),e)},Ft.prototype.setSize=function(t){return Yt(this,0,t)},Ft.prototype.slice=function(t,e){var n=this.size;return y(t,e,n)?this:Yt(this,m(t,n),_(e,n))},Ft.prototype.__iterator=function(t,e){var n=0,r=zt(this,e);return new w(function(){var e=r();return e===Yn?k():S(t,n++,e)})},Ft.prototype.__iterate=function(t,e){for(var n,r=0,o=zt(this,e);(n=o())!==Yn&&!1!==t(n,r++,this););return r},Ft.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?qt(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},Ft.isList=Kt;var Vn="@@__IMMUTABLE_LIST__@@",Jn=Ft.prototype;Jn[Vn]=!0,Jn.delete=Jn.remove,Jn.setIn=jn.setIn,Jn.deleteIn=Jn.removeIn=jn.removeIn,Jn.update=jn.update,Jn.updateIn=jn.updateIn,Jn.mergeIn=jn.mergeIn,Jn.mergeDeepIn=jn.mergeDeepIn,Jn.withMutations=jn.withMutations,Jn.asMutable=jn.asMutable,Jn.asImmutable=jn.asImmutable,Jn.wasAltered=jn.wasAltered,jt.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&gn;if(r>=this.array.length)return new jt([],t);var o,i=0===r;if(e>0){var a=this.array[r];if((o=a&&a.removeBefore(t,e-dn,n))===a&&i)return this}if(i&&!o)return this;var s=Jt(this,t);if(!i)for(var u=0;u<r;u++)s.array[u]=void 0;return o&&(s.array[r]=o),s},jt.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r=n-1>>>e&gn;if(r>=this.array.length)return this;var o;if(e>0){var i=this.array[r];if((o=i&&i.removeAfter(t,e-dn,n))===i&&r===this.array.length-1)return this}var a=Jt(this,t);return a.array.splice(r+1),o&&(a.array[r]=o),a};var Gn,Yn={};t($t,pt),$t.of=function(){return this(arguments)},$t.prototype.toString=function(){return this.__toString("OrderedMap {","}")},$t.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},$t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):ee()},$t.prototype.set=function(t,e){return ne(this,t,e)},$t.prototype.remove=function(t){return ne(this,t,vn)},$t.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},$t.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],n)},e)},$t.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},$t.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?te(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},$t.isOrderedMap=Zt,$t.prototype[fn]=!0,$t.prototype.delete=$t.prototype.remove;var Xn;t(re,D),re.prototype.get=function(t,e){return this._iter.get(t,e)},re.prototype.has=function(t){return this._iter.has(t)},re.prototype.valueSeq=function(){return this._iter.valueSeq()},re.prototype.reverse=function(){var t=this,e=ce(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},re.prototype.map=function(t,e){var n=this,r=ue(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},re.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?xe(this):0,function(o){return t(o,e?--n:n++,r)}),e)},re.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(bn,e),r=e?xe(this):0;return new w(function(){var o=n.next();return o.done?o:S(t,e?--r:r++,o.value,o)})},re.prototype[fn]=!0,t(oe,I),oe.prototype.includes=function(t){return this._iter.includes(t)},oe.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate(function(e){return t(e,r++,n)},e)},oe.prototype.__iterator=function(t,e){var n=this._iter.__iterator(bn,e),r=0;return new w(function(){var e=n.next();return e.done?e:S(t,r++,e.value,e)})},t(ie,R),ie.prototype.has=function(t){return this._iter.includes(t)},ie.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){return t(e,e,n)},e)},ie.prototype.__iterator=function(t,e){var n=this._iter.__iterator(bn,e);return new w(function(){var e=n.next();return e.done?e:S(t,e.value,e.value,e)})},t(ae,D),ae.prototype.entrySeq=function(){return this._iter.toSeq()},ae.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){if(e){Ee(e);var r=i(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}},e)},ae.prototype.__iterator=function(t,e){var n=this._iter.__iterator(bn,e);return new w(function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){Ee(r);var o=i(r);return S(t,o?r.get(0):r[0],o?r.get(1):r[1],e)}}})},oe.prototype.cacheResult=re.prototype.cacheResult=ie.prototype.cacheResult=ae.prototype.cacheResult=Me,t(Re,et),Re.prototype.toString=function(){return this.__toString(Pe(this)+" {","}")},Re.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},Re.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},Re.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=Ae(this,St()))},Re.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+Pe(this));var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:Ae(this,n)},Re.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:Ae(this,e)},Re.prototype.wasAltered=function(){return this._map.wasAltered()},Re.prototype.__iterator=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterator(t,e)},Re.prototype.__iterate=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterate(t,e)},Re.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?Ae(this,e,t):(this.__ownerID=t,this._map=e,this)};var Qn=Re.prototype;Qn.delete=Qn.remove,Qn.deleteIn=Qn.removeIn=jn.removeIn,Qn.merge=jn.merge,Qn.mergeWith=jn.mergeWith,Qn.mergeIn=jn.mergeIn,Qn.mergeDeep=jn.mergeDeep,Qn.mergeDeepWith=jn.mergeDeepWith,Qn.mergeDeepIn=jn.mergeDeepIn,Qn.setIn=jn.setIn,Qn.update=jn.update,Qn.updateIn=jn.updateIn,Qn.withMutations=jn.withMutations,Qn.asMutable=jn.asMutable,Qn.asImmutable=jn.asImmutable,t(Be,rt),Be.of=function(){return this(arguments)},Be.fromKeys=function(t){return this(n(t).keySeq())},Be.prototype.toString=function(){return this.__toString("Set {","}")},Be.prototype.has=function(t){return this._map.has(t)},Be.prototype.add=function(t){return Fe(this,this._map.set(t,!0))},Be.prototype.remove=function(t){return Fe(this,this._map.remove(t))},Be.prototype.clear=function(){return Fe(this,this._map.clear())},Be.prototype.union=function(){var t=un.call(arguments,0);return t=t.filter(function(t){return 0!==t.size}),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations(function(e){for(var n=0;n<t.length;n++)o(t[n]).forEach(function(t){return e.add(t)})}):this.constructor(t[0])},Be.prototype.intersect=function(){var t=un.call(arguments,0);if(0===t.length)return this;t=t.map(function(t){return o(t)});var e=this;return this.withMutations(function(n){e.forEach(function(e){t.every(function(t){return t.includes(e)})||n.remove(e)})})},Be.prototype.subtract=function(){var t=un.call(arguments,0);if(0===t.length)return this;t=t.map(function(t){return o(t)});var e=this;return this.withMutations(function(n){e.forEach(function(e){t.some(function(t){return t.includes(e)})&&n.remove(e)})})},Be.prototype.merge=function(){return this.union.apply(this,arguments)},Be.prototype.mergeWith=function(t){var e=un.call(arguments,1);return this.union.apply(this,e)},Be.prototype.sort=function(t){return ze(be(this,t))},Be.prototype.sortBy=function(t,e){return ze(be(this,e,t))},Be.prototype.wasAltered=function(){return this._map.wasAltered()},Be.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate(function(e,r){return t(r,r,n)},e)},Be.prototype.__iterator=function(t,e){return this._map.map(function(t,e){return e}).__iterator(t,e)},Be.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)},Be.isSet=Ue;var $n="@@__IMMUTABLE_SET__@@",Zn=Be.prototype;Zn[$n]=!0,Zn.delete=Zn.remove,Zn.mergeDeep=Zn.merge,Zn.mergeDeepWith=Zn.mergeWith,Zn.withMutations=jn.withMutations,Zn.asMutable=jn.asMutable,Zn.asImmutable=jn.asImmutable,Zn.__empty=je,Zn.__make=Ke;var tr;t(ze,Be),ze.of=function(){return this(arguments)},ze.fromKeys=function(t){return this(n(t).keySeq())},ze.prototype.toString=function(){return this.__toString("OrderedSet {","}")},ze.isOrderedSet=qe;var er=ze.prototype;er[fn]=!0,er.__empty=We,er.__make=He;var nr;t(Ve,nt),Ve.of=function(){return this(arguments)},Ve.prototype.toString=function(){return this.__toString("Stack [","]")},Ve.prototype.get=function(t,e){var n=this._head;for(t=g(this,t);n&&t--;)n=n.next;return n?n.value:e},Ve.prototype.peek=function(){return this._head&&this._head.value},Ve.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):Ge(t,e)},Ve.prototype.pushAll=function(t){if(t=r(t),0===t.size)return this;lt(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):Ge(e,n)},Ve.prototype.pop=function(){return this.slice(1)},Ve.prototype.unshift=function(){return this.push.apply(this,arguments)},Ve.prototype.unshiftAll=function(t){return this.pushAll(t)},Ve.prototype.shift=function(){return this.pop.apply(this,arguments)},Ve.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):Ye()},Ve.prototype.slice=function(t,e){if(y(t,e,this.size))return this;var n=m(t,this.size);if(_(e,this.size)!==this.size)return nt.prototype.slice.call(this,t,e);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Ge(r,o)},Ve.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ge(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Ve.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},Ve.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new w(function(){if(r){var e=r.value;return r=r.next,S(t,n++,e)}return k()})},Ve.isStack=Je;var rr="@@__IMMUTABLE_STACK__@@",or=Ve.prototype;or[rr]=!0,or.withMutations=jn.withMutations,or.asMutable=jn.asMutable,or.asImmutable=jn.asImmutable,or.wasAltered=jn.wasAltered;var ir;e.Iterator=w,Xe(e,{toArray:function(){lt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate(function(e,n){t[n]=e}),t},toIndexedSeq:function(){return new oe(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 re(this,!0)},toMap:function(){return pt(this.toKeyedSeq())},toObject:function(){lt(this.size);var t={};return this.__iterate(function(e,n){t[n]=e}),t},toOrderedMap:function(){return $t(this.toKeyedSeq())},toOrderedSet:function(){return ze(a(this)?this.valueSeq():this)},toSet:function(){return Be(a(this)?this.valueSeq():this)},toSetSeq:function(){return new ie(this)},toSeq:function(){return s(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Ve(a(this)?this.valueSeq():this)},toList:function(){return Ft(a(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(){return Ce(this,ve(this,un.call(arguments,0)))},includes:function(t){return this.some(function(e){return Y(e,t)})},entries:function(){return this.__iterator(wn)},every:function(t,e){lt(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 Ce(this,le(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 lt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){lt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate(function(r){n?n=!1:e+=t,e+=null!==r&&void 0!==r?r.toString():""}),e},keys:function(){return this.__iterator(_n)},map:function(t,e){return Ce(this,ue(this,t,e))},reduce:function(t,e,n){lt(this.size);var r,o;return 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 Ce(this,ce(this,!0))},slice:function(t,e){return Ce(this,de(this,t,e,!0))},some:function(t,e){return!this.every(Ze(t),e)},sort:function(t){return Ce(this,be(this,t))},values:function(){return this.__iterator(bn)},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 h(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return pe(this,t,e)},equals:function(t){return X(this,t)},entrySeq:function(){var t=this;if(t._cache)return new A(t._cache);var e=t.toSeq().map($e).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Ze(t),e)},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},first:function(){return this.find(v)},flatMap:function(t,e){return Ce(this,me(this,t,e))},flatten:function(t){return Ce(this,ye(this,t,!0))},fromEntrySeq:function(){return new ae(this)},get:function(t,e){return this.find(function(e,n){return Y(n,t)},void 0,e)},getIn:function(t,e){for(var n,r=this,o=Ie(t);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,vn):vn)===vn)return e}return r},groupBy:function(t,e){return fe(this,t,e)},has:function(t){return this.get(t,vn)!==vn},hasIn:function(t){return this.getIn(t,vn)!==vn},isSubset:function(t){return t="function"==typeof t.includes?t:e(t),this.every(function(e){return t.includes(e)})},isSuperset:function(t){return t="function"==typeof t.isSubset?t:e(t),t.isSubset(this)},keySeq:function(){return this.toSeq().map(Qe).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return we(this,t)},maxBy:function(t,e){return we(this,e,t)},min:function(t){return we(this,t?tn(t):rn)},minBy:function(t,e){return we(this,e?tn(e):rn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Ce(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Ce(this,ge(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Ze(t),e)},sortBy:function(t,e){return Ce(this,be(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Ce(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Ce(this,he(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Ze(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=on(this))}});var ar=e.prototype;ar[cn]=!0,ar[Cn]=ar.values,ar.__toJS=ar.toArray,ar.__toStringMapper=en,ar.inspect=ar.toSource=function(){return this.toString()},ar.chain=ar.flatMap,ar.contains=ar.includes,function(){try{Object.defineProperty(ar,"length",{get:function(){if(!e.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){}}(),Xe(n,{flip:function(){return Ce(this,se(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 Y(e,t)})},lastKeyOf:function(t){return this.findLastKey(function(e){return Y(e,t)})},mapEntries:function(t,e){var n=this,r=0;return Ce(this,this.toSeq().map(function(o,i){return t.call(e,[i,o],r++,n)}).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Ce(this,this.toSeq().flip().map(function(r,o){return t.call(e,r,o,n)}).flip())}});var sr=n.prototype;return sr[ln]=!0,sr[Cn]=ar.entries,sr.__toJS=ar.toObject,sr.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+en(t)},Xe(r,{toKeyedSeq:function(){return new re(this,!1)},filter:function(t,e){return Ce(this,le(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 Ce(this,ce(this,!1))},slice:function(t,e){return Ce(this,de(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 Ce(this,1===n?r:r.concat(d(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 Ce(this,ye(this,t,!1))},get:function(t,e){return t=g(this,t),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=g(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Ce(this,_e(this,t))},interleave:function(){var t=[this].concat(d(arguments)),e=ke(this.toSeq(),I.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Ce(this,n)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Ce(this,ge(this,t,e,!1))},zip:function(){return Ce(this,ke(this,nn,[this].concat(d(arguments))))},zipWith:function(t){var e=d(arguments);return e[0]=this,Ce(this,ke(this,t,e))}}),r.prototype[pn]=!0,r.prototype[fn]=!0,Xe(o,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=ar.includes,Xe(D,n.prototype),Xe(I,r.prototype),Xe(R,o.prototype),Xe(et,n.prototype),Xe(nt,r.prototype),Xe(rt,o.prototype),{Iterable:e,Seq:M,Collection:tt,Map:pt,OrderedMap:$t,List:Ft,Stack:Ve,Set:Be,OrderedSet:ze,Record:Re,Range:Z,Repeat:Q,is:Y,fromJS:W}})},function(t,e,n){"use strict";function r(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}var 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=r(t),u=1;u<arguments.length;u++){n=Object(arguments[u]);for(var c in n)o.call(n,c)&&(s[c]=n[c]);if(Object.getOwnPropertySymbols){a=Object.getOwnPropertySymbols(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";function r(t){for(var e;e=t._renderedComponent;)t=e;return t}function o(t,e){var n=r(t);n._hostNode=e,e[g]=n}function i(t){var e=t._hostNode;e&&(delete e[g],t._hostNode=null)}function a(t,e){if(!(t._flags&h.hasCachedChildNodes)){var n=t._renderedChildren,i=e.firstChild;t:for(var a in n)if(n.hasOwnProperty(a)){var s=n[a],u=r(s)._domID;if(0!==u){for(;null!==i;i=i.nextSibling)if(1===i.nodeType&&i.getAttribute(d)===String(u)||8===i.nodeType&&i.nodeValue===" react-text: "+u+" "||8===i.nodeType&&i.nodeValue===" react-empty: "+u+" "){o(s,i);continue t}l("32",u)}}t._flags|=h.hasCachedChildNodes}}function s(t){if(t[g])return t[g];for(var e=[];!t[g];){if(e.push(t),!t.parentNode)return null;t=t.parentNode}for(var n,r;t&&(r=t[g]);t=e.pop())n=r,e.length&&a(r,t);return n}function u(t){var e=s(t);return null!=e&&e._hostNode===t?e:null}function c(t){if(void 0===t._hostNode&&l("33"),t._hostNode)return t._hostNode;for(var e=[];!t._hostNode;)e.push(t),t._hostParent||l("34"),t=t._hostParent;for(;e.length;t=e.pop())a(t,t._hostNode);return t._hostNode}var l=n(1),p=n(35),f=n(154),d=(n(0),p.ID_ATTRIBUTE_NAME),h=f,g="__reactInternalInstance$"+Math.random().toString(36).slice(2),v={getClosestInstanceFromNode:s,getInstanceFromNode:u,getNodeFromInstance:c,precacheChildNodes:a,precacheNode:o,uncacheNode:i};t.exports=v},function(t,e,n){"use strict";t.exports=n(307)},function(t,e,n){"use strict";var r=n(14),o=n(219),i=n(4),a=n(235),s=n(256),u=n(51),c=n(261),l=n(262),p=n(0),f=n(273),d=n(138),h=n(274),g=n(276),v=i.OrderedSet,y={replaceText:function(t,e,n,o,i){var a=d(t,e),s=h(a,e),u=r.create({style:o||v(),entity:i||null});return l(s,s.getSelectionAfter(),n,u)},insertText:function(t,e,n,r,o){return e.isCollapsed()||p(!1),y.replaceText(t,e,n,r,o)},moveText:function(t,e,n){var r=u(t,e),o=y.removeRange(t,e,"backward");return y.replaceWithFragment(o,n,r)},replaceWithFragment:function(t,e,n){var r=d(t,e),o=h(r,e);return c(o,o.getSelectionAfter(),n)},removeRange:function(t,e,n){if(e.getAnchorKey()===e.getFocusKey()){var r=e.getAnchorKey(),o=e.getStartOffset(),i=e.getEndOffset(),a=t.getBlockForKey(r),u=a.getEntityAt(o),c=a.getEntityAt(i-1);if(u&&u===c){var l=s(a,e,n);return h(t,l)}}var p=d(t,e);return h(p,e)},splitBlock:function(t,e){var n=d(t,e),r=h(n,e);return g(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 f(t,e,function(t){return t.merge({type:n,depth:0})})},setBlockData:function(t,e,n){return f(t,e,function(t){return t.merge({data:n})})},mergeBlockData:function(t,e,n){return f(t,e,function(t){return t.merge({data:t.getData().merge(n)})})},applyEntity:function(t,e,n){var r=d(t,e);return a(r,e,n)}};t.exports=y},function(t,e,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};t.exports=o},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";function r(t){return"[object Array]"===k.call(t)}function o(t){return"[object ArrayBuffer]"===k.call(t)}function i(t){return"undefined"!=typeof FormData&&t instanceof FormData}function a(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer}function s(t){return"string"==typeof t}function u(t){return"number"==typeof t}function c(t){return void 0===t}function l(t){return null!==t&&"object"==typeof t}function p(t){return"[object Date]"===k.call(t)}function f(t){return"[object File]"===k.call(t)}function d(t){return"[object Blob]"===k.call(t)}function h(t){return"[object Function]"===k.call(t)}function g(t){return l(t)&&h(t.pipe)}function v(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}function y(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function m(){return"undefined"!=typeof window&&"undefined"!=typeof document&&"function"==typeof document.createElement}function _(t,e){if(null!==t&&void 0!==t)if("object"==typeof t||r(t)||(t=[t]),r(t))for(var n=0,o=t.length;n<o;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}function b(){function t(t,n){"object"==typeof e[n]&&"object"==typeof t?e[n]=b(e[n],t):e[n]=t}for(var e={},n=0,r=arguments.length;n<r;n++)_(arguments[n],t);return e}function w(t,e,n){return _(e,function(e,r){t[r]=n&&"function"==typeof e?S(e,n):e}),t}var S=n(116),k=Object.prototype.toString;t.exports={isArray:r,isArrayBuffer:o,isFormData:i,isArrayBufferView:a,isString:s,isNumber:u,isObject:l,isUndefined:c,isDate:p,isFile:f,isBlob:d,isFunction:h,isStream:g,isURLSearchParams:v,isStandardBrowserEnv:m,forEach:_,merge:b,extend:w,trim:y}},function(t,e,n){"use strict";var r=function(t){if(null!=t)return t;throw new Error("Got unexpected null or undefined")};t.exports=r},function(t,e,n){"use strict";var r=null;t.exports={debugTool:r}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(4),s=a.Map,u=a.OrderedSet,c=a.Record,l=u(),p={style:l,entity:null},f=c(p),d=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(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().has(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 h;var n=s({style:l,entity:null}).merge(t),r=g.get(n);if(r)return r;var o=new e(n);return g=g.set(n,o),o},e}(f),h=new d,g=s([[s(p),h]]);d.EMPTY=h,t.exports=d},function(t,e,n){"use strict";t.exports=n(311)},function(t,e,n){"use strict";function r(t){return void 0!==t.ref}function o(t){return void 0!==t.key}var i=n(5),a=n(25),s=(n(2),n(166),Object.prototype.hasOwnProperty),u="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,c={key:!0,ref:!0,__self:!0,__source:!0},l=function(t,e,n,r,o,i,a){var s={$$typeof:u,type:t,key:e,ref:n,props:a,_owner:i};return s};l.createElement=function(t,e,n){var i,u={},p=null,f=null;if(null!=e){r(e)&&(f=e.ref),o(e)&&(p=""+e.key),void 0===e.__self?null:e.__self,void 0===e.__source?null:e.__source;for(i in e)s.call(e,i)&&!c.hasOwnProperty(i)&&(u[i]=e[i])}var d=arguments.length-2;if(1===d)u.children=n;else if(d>1){for(var h=Array(d),g=0;g<d;g++)h[g]=arguments[g+2];u.children=h}if(t&&t.defaultProps){var v=t.defaultProps;for(i in v)void 0===u[i]&&(u[i]=v[i])}return l(t,p,f,0,0,a.current,u)},l.createFactory=function(t){var e=l.createElement.bind(null,t);return e.type=t,e},l.cloneAndReplaceKey=function(t,e){return l(t.type,e,t.ref,t._self,t._source,t._owner,t.props)},l.cloneElement=function(t,e,n){var u,p=i({},t.props),f=t.key,d=t.ref,h=(t._self,t._source,t._owner);if(null!=e){r(e)&&(d=e.ref,h=a.current),o(e)&&(f=""+e.key);var g;t.type&&t.type.defaultProps&&(g=t.type.defaultProps);for(u in e)s.call(e,u)&&!c.hasOwnProperty(u)&&(void 0===e[u]&&void 0!==g?p[u]=g[u]:p[u]=e[u])}var v=arguments.length-2;if(1===v)p.children=n;else if(v>1){for(var y=Array(v),m=0;m<v;m++)y[m]=arguments[m+2];p.children=y}return l(t.type,f,d,0,0,h,p)},l.isValidElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===u},l.REACT_ELEMENT_TYPE=u,t.exports=l},function(t,e,n){"use strict";function r(){O.ReactReconcileTransaction&&w||l("123")}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=f.getPooled(),this.reconcileTransaction=O.ReactReconcileTransaction.getPooled(!0)}function i(t,e,n,o,i,a){r(),w.batchedUpdates(t,e,n,o,i,a)}function a(t,e){return t._mountOrder-e._mountOrder}function s(t){var e=t.dirtyComponentsLength;e!==y.length&&l("124",e,y.length),y.sort(a),m++;for(var n=0;n<e;n++){var r=y[n],o=r._pendingCallbacks;r._pendingCallbacks=null;var i;if(h.logTopLevelRenders){var s=r;r._currentElement.props===r._renderedComponent._currentElement&&(s=r._renderedComponent),i="React update: "+s.getName(),console.time(i)}if(g.performUpdateIfNecessary(r,t.reconcileTransaction,m),i&&console.timeEnd(i),o)for(var u=0;u<o.length;u++)t.callbackQueue.enqueue(o[u],r.getPublicInstance())}}function u(t){if(r(),!w.isBatchingUpdates)return void w.batchedUpdates(u,t);y.push(t),null==t._updateBatchNumber&&(t._updateBatchNumber=m+1)}function c(t,e){w.isBatchingUpdates||l("125"),_.enqueue(t,e),b=!0}var l=n(1),p=n(5),f=n(150),d=n(24),h=n(157),g=n(31),v=n(46),y=(n(0),[]),m=0,_=f.getPooled(),b=!1,w=null,S={initialize:function(){this.dirtyComponentsLength=y.length},close:function(){this.dirtyComponentsLength!==y.length?(y.splice(0,this.dirtyComponentsLength),E()):y.length=0}},k={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},C=[S,k];p(o.prototype,v.Mixin,{getTransactionWrappers:function(){return C},destructor:function(){this.dirtyComponentsLength=null,f.release(this.callbackQueue),this.callbackQueue=null,O.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(t,e,n){return v.Mixin.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,t,e,n)}}),d.addPoolingTo(o);var E=function(){for(;y.length||b;){if(y.length){var t=o.getPooled();t.perform(s,null,t),o.release(t)}if(b){b=!1;var e=_;_=f.getPooled(),e.notifyAll(),f.release(e)}}},x={injectReconcileTransaction:function(t){t||l("126"),O.ReactReconcileTransaction=t},injectBatchingStrategy:function(t){t||l("127"),"function"!=typeof t.batchedUpdates&&l("128"),"boolean"!=typeof t.isBatchingUpdates&&l("129"),w=t}},O={ReactReconcileTransaction:null,batchedUpdates:i,enqueueUpdate:u,flushBatchedUpdates:E,injection:x,asap:c};t.exports=O},function(t,e,n){"use strict";function r(){for(var t=void 0;void 0===t||o.hasOwnProperty(t)||!isNaN(+t);)t=Math.floor(Math.random()*i).toString(32);return o[t]=!0,t}var o={},i=Math.pow(2,24);t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){if(t===n)return!0;if(!n.startsWith(t))return!1;var o=n.slice(t.length);return!!e&&(o=r?r(o):o,a.contains(o,e))}function o(t){return"Windows"===i.platformName?t.replace(/^\s*NT/,""):t}var i=n(282),a=n(283),s=n(296),u=n(148),c={isBrowser:function(t){return r(i.browserName,i.browserFullVersion,t)},isBrowserArchitecture:function(t){return r(i.browserArchitecture,null,t)},isDevice:function(t){return r(i.deviceName,null,t)},isEngine:function(t){return r(i.engineName,i.engineVersion,t)},isPlatform:function(t){return r(i.platformName,i.platformFullVersion,t,o)},isPlatformArchitecture:function(t){return r(i.platformArchitecture,null,t)}};t.exports=s(c,u)},function(t,e,n){"use strict";var r=n(28),o=r||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(123),a=n(4),s=n(0),u=a.Map,c=u(),l=0,p={create:function(t,e,n){return p.add(new i({type:t,mutability:e,data:n||{}}))},add:function(t){var e=""+ ++l;return c=c.set(e,t),e},get:function(t){var e=c.get(t);return e||s(!1),e},mergeData:function(t,e){var n=p.get(t),r=o({},n.getData(),e),i=n.set("data",r);return c=c.set(t,i),i},replaceData:function(t,e){var n=p.get(t),r=n.set("data",e);return c=c.set(t,r),r}};t.exports=p},function(t,e,n){"use strict";var r=n(54),o=r({bubbled:null,captured:null}),i=r({topAbort:null,topAnimationEnd:null,topAnimationIteration:null,topAnimationStart:null,topBlur:null,topCanPlay:null,topCanPlayThrough:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topDurationChange:null,topEmptied:null,topEncrypted:null,topEnded:null,topError:null,topFocus:null,topInput:null,topInvalid:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topLoadedData:null,topLoadedMetadata:null,topLoadStart:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topPause:null,topPlay:null,topPlaying:null,topProgress:null,topRateChange:null,topReset:null,topScroll:null,topSeeked:null,topSeeking:null,topSelectionChange:null,topStalled:null,topSubmit:null,topSuspend:null,topTextInput:null,topTimeUpdate:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topTransitionEnd:null,topVolumeChange:null,topWaiting:null,topWheel:null}),a={topLevelTypes:i,PropagationPhases:o};t.exports=a},function(t,e,n){"use strict";function r(t,e,n,r){this.dispatchConfig=t,this._targetInst=e,this.nativeEvent=n;var o=this.constructor.Interface;for(var i in o)if(o.hasOwnProperty(i)){var s=o[i];s?this[i]=s(n):"target"===i?this.target=r:this[i]=n[i]}var u=null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue;return this.isDefaultPrevented=u?a.thatReturnsTrue:a.thatReturnsFalse,this.isPropagationStopped=a.thatReturnsFalse,this}var o=n(5),i=n(24),a=n(10),s=(n(2),["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"]),u={type:null,target:null,currentTarget:a.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};o(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!=typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=a.thatReturnsTrue)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!=typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=a.thatReturnsTrue)},persist:function(){this.isPersistent=a.thatReturnsTrue},isPersistent:a.thatReturnsFalse,destructor:function(){var t=this.constructor.Interface;for(var e in t)this[e]=null;for(var n=0;n<s.length;n++)this[s[n]]=null}}),r.Interface=u,r.augmentClass=function(t,e){var n=this,r=function(){};r.prototype=n.prototype;var a=new r;o(a,t.prototype),t.prototype=a,t.prototype.constructor=t,t.Interface=o({},n.Interface,e),t.augmentClass=n.augmentClass,i.addPoolingTo(t,i.fourArgumentPooler)},i.addPoolingTo(r,i.fourArgumentPooler),t.exports=r},function(t,e,n){"use strict";var r=function(t){var e;for(e in t)if(t.hasOwnProperty(e))return e;return null};t.exports=r},function(t,e,n){"use strict";var r=n(1),o=(n(0),function(t){var e=this;if(e.instancePool.length){var n=e.instancePool.pop();return e.call(n,t),n}return new e(t)}),i=function(t,e){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,t,e),r}return new n(t,e)},a=function(t,e,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,t,e,n),o}return new r(t,e,n)},s=function(t,e,n,r){var o=this;if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,t,e,n,r),i}return new o(t,e,n,r)},u=function(t,e,n,r,o){var i=this;if(i.instancePool.length){var a=i.instancePool.pop();return i.call(a,t,e,n,r,o),a}return new i(t,e,n,r,o)},c=function(t){var e=this;t instanceof e||r("25"),t.destructor(),e.instancePool.length<e.poolSize&&e.instancePool.push(t)},l=o,p=function(t,e){var n=t;return n.instancePool=[],n.getPooled=e||l,n.poolSize||(n.poolSize=10),n.release=c,n},f={addPoolingTo:p,oneArgumentPooler:o,twoArgumentPooler:i,threeArgumentPooler:a,fourArgumentPooler:s,fiveArgumentPooler:u};t.exports=f},function(t,e,n){"use strict";var r={current:null};t.exports=r},function(t,e,n){"use strict";var r=n(217),o=n(39),i=n(14),a=n(218),s=n(27),u=n(68),c=n(69),l=n(121),p=n(220),f=n(122),d=n(8),h=n(20),g=n(123),v=n(3),y=n(70),m=n(231),_=n(33),b=n(236),w=n(126),S=n(237),k=n(18),C=n(127),E=n(260),x={Editor:p,EditorBlock:f,EditorState:v,CompositeDecorator:a,Entity:h,EntityInstance:g,BlockMapBuilder:o,CharacterMetadata:i,ContentBlock:s,ContentState:u,SelectionState:_,AtomicBlockUtils:r,KeyBindingUtil:y,Modifier:d,RichUtils:m,DefaultDraftBlockRenderMap:c,DefaultDraftInlineStyle:l,convertFromHTML:w,convertFromRaw:S,convertToRaw:b,genKey:k,getDefaultKeyBinding:C,getVisibleSelectionRect:E};t.exports=x},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}function a(t,e){return t.getStyle()===e.getStyle()}function s(t,e){return t.getEntity()===e.getEntity()}var u=n(4),c=n(50),l=u.List,p=u.Map,f=u.OrderedSet,d=u.Record,h=f(),g={key:"",type:"unstyled",text:"",characterList:l(),depth:0,data:p()},v=d(g),y=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(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():h},e.prototype.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},e.prototype.findStyleRanges=function(t,e){c(this.getCharacterList(),a,t,e)},e.prototype.findEntityRanges=function(t,e){c(this.getCharacterList(),s,t,e)},e}(v);t.exports=y},function(t,e,n){"use strict";function r(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}var 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=r(t),u=1;u<arguments.length;u++){n=Object(arguments[u]);for(var c in n)o.call(n,c)&&(s[c]=n[c]);if(Object.getOwnPropertySymbols){a=Object.getOwnPropertySymbols(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";function r(t){return f<=t&&t<=g}function o(t,e){if(0<=e&&e<t.length||p(!1),e+1===t.length)return!1;var n=t.charCodeAt(e),r=t.charCodeAt(e+1);return f<=n&&n<=d&&h<=r&&r<=g}function i(t){return v.test(t)}function a(t,e){return 1+r(t.charCodeAt(e))}function s(t){if(!i(t))return t.length;for(var e=0,n=0;n<t.length;n+=a(t,n))e++;return e}function u(t,e,n){if(e=e||0,n=void 0===n?1/0:n||0,!i(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+=a(t,o);if(o>=r)return""}else if(e<0){for(o=r;e<0&&0<o;e++)o-=a(t,o-1);o<0&&(o=0)}var s=r;if(n<r)for(s=o;n>0&&s<r;n--)s+=a(t,s);return t.substring(o,s)}function c(t,e,n){e=e||0,n=void 0===n?1/0:n||0,e<0&&(e=0),n<0&&(n=0);var r=Math.abs(n-e);return e=e<n?e:n,u(t,e,r)}function l(t){for(var e=[],n=0;n<t.length;n+=a(t,n))e.push(t.codePointAt(n));return e}var p=n(0),f=55296,d=56319,h=56320,g=57343,v=/[\uD800-\uDFFF]/,y={getCodePoints:l,getUTF16Length:a,hasSurrogateUnit:i,isCodeUnitInSurrogateRange:r,isSurrogatePair:o,strlen:s,substring:c,substr:u};t.exports=y},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";function r(){o.attachRefs(this,this._currentElement)}var o=n(331),i=(n(13),n(2),{mountComponent:function(t,e,n,o,i,a){var s=t.mountComponent(e,n,o,i,a);return t._currentElement&&null!=t._currentElement.ref&&e.getReactMountReady().enqueue(r,t),s},getHostNode:function(t){return t.getHostNode()},unmountComponent:function(t,e){o.detachRefs(t,t._currentElement),t.unmountComponent(e)},receiveComponent:function(t,e,n,i){var a=t._currentElement;if(e!==a||i!==t._context){var s=o.shouldUpdateRefs(a,e);s&&o.detachRefs(t,a),t.receiveComponent(e,n,i),s&&t._currentElement&&null!=t._currentElement.ref&&n.getReactMountReady().enqueue(r,t)}},performUpdateIfNecessary:function(t,e,n){t._updateBatchNumber===n&&t.performUpdateIfNecessary(e)}});t.exports=i},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(4),s=a.Record,u={anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1},c=s(u),l=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(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}(c);t.exports=l},function(t,e,n){"use strict";function r(t){if(h){var e=t.node,n=t.children;if(n.length)for(var r=0;r<n.length;r++)g(e,n[r],null);else null!=t.html?p(e,t.html):null!=t.text&&d(e,t.text)}}function o(t,e){t.parentNode.replaceChild(e.node,t),r(e)}function i(t,e){h?t.children.push(e):t.node.appendChild(e.node)}function a(t,e){h?t.html=e:p(t.node,e)}function s(t,e){h?t.text=e:d(t.node,e)}function u(){return this.node.nodeName}function c(t){return{node:t,children:[],html:null,text:null,toString:u}}var l=n(83),p=n(60),f=n(97),d=n(172),h="undefined"!=typeof document&&"number"==typeof document.documentMode||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&/\bEdge\/\d/.test(navigator.userAgent),g=f(function(t,e,n){11===e.node.nodeType||1===e.node.nodeType&&"object"===e.node.nodeName.toLowerCase()&&(null==e.node.namespaceURI||e.node.namespaceURI===l.html)?(r(e),t.insertBefore(e.node,n)):(t.insertBefore(e.node,n),r(e))});c.insertTreeBefore=g,c.replaceChildWithTree=o,c.queueChild=i,c.queueHTML=a,c.queueText=s,t.exports=c},function(t,e,n){"use strict";function r(t,e){return(t&e)===e}var o=n(1),i=(n(0),{MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,injectDOMPropertyConfig:function(t){var e=i,n=t.Properties||{},a=t.DOMAttributeNamespaces||{},u=t.DOMAttributeNames||{},c=t.DOMPropertyNames||{},l=t.DOMMutationMethods||{};t.isCustomAttribute&&s._isCustomAttributeFunctions.push(t.isCustomAttribute);for(var p in n){s.properties.hasOwnProperty(p)&&o("48",p);var f=p.toLowerCase(),d=n[p],h={attributeName:f,attributeNamespace:null,propertyName:p,mutationMethod:null,mustUseProperty:r(d,e.MUST_USE_PROPERTY),hasBooleanValue:r(d,e.HAS_BOOLEAN_VALUE),hasNumericValue:r(d,e.HAS_NUMERIC_VALUE),hasPositiveNumericValue:r(d,e.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:r(d,e.HAS_OVERLOADED_BOOLEAN_VALUE)};if(h.hasBooleanValue+h.hasNumericValue+h.hasOverloadedBooleanValue<=1||o("50",p),u.hasOwnProperty(p)){var g=u[p];h.attributeName=g}a.hasOwnProperty(p)&&(h.attributeNamespace=a[p]),c.hasOwnProperty(p)&&(h.propertyName=c[p]),l.hasOwnProperty(p)&&(h.mutationMethod=l[p]),s.properties[p]=h}}}),a=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",s={ID_ATTRIBUTE_NAME:"data-reactid",ROOT_ATTRIBUTE_NAME:"data-reactroot",ATTRIBUTE_NAME_START_CHAR:a,ATTRIBUTE_NAME_CHAR:a+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",properties:{},getPossibleStandardName:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(t){for(var e=0;e<s._isCustomAttributeFunctions.length;e++){if((0,s._isCustomAttributeFunctions[e])(t))return!0}return!1},injection:i};t.exports=s},function(t,e,n){"use strict";var r={};t.exports=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(400),i=r(o),a=n(397),s=r(a),u=n(361),c=r(u);e.default=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":(0,c.default)(e)));t.prototype=(0,s.default)(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(i.default?(0,i.default)(t,e):t.__proto__=e)}},function(t,e,n){"use strict";e.__esModule=!0;var r=n(361),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":(0,o.default)(e))&&"function"!=typeof e?t:e}},function(t,e,n){"use strict";var r=n(4),o=r.OrderedMap,i={createFromArray:function(t){return o(t.map(function(t){return[t.getKey(),t]}))}};t.exports=i},function(t,e,n){"use strict";function r(t,e,n){var r=t.getSelection(),i=t.getCurrentContent(),a=r;if(r.isCollapsed()){if("forward"===n){if(t.isSelectionAtEndOfContent())return i}else if(t.isSelectionAtStartOfContent())return i;if((a=e(t))===r)return i}return o.removeRange(i,a,n)}var o=n(8);t.exports=r},function(t,e,n){"use strict";function r(t){return"object"==typeof t?Object.keys(t).filter(function(e){return t[e]}).map(o).join(" "):Array.prototype.map.call(arguments,o).join(" ")}function o(t){return t.replace(/\//g,"-")}t.exports=r},function(t,e,n){"use strict";var r=n(1),o=n(84),i=n(85),a=n(91),s=n(165),u=n(167),c=(n(0),{}),l=null,p=function(t,e){t&&(i.executeDispatchesInOrder(t,e),t.isPersistent()||t.constructor.release(t))},f=function(t){return p(t,!0)},d=function(t){return p(t,!1)},h=function(t){return"."+t._rootNodeID},g={injection:{injectEventPluginOrder:o.injectEventPluginOrder,injectEventPluginsByName:o.injectEventPluginsByName},putListener:function(t,e,n){"function"!=typeof n&&r("94",e,typeof n);var i=h(t);(c[e]||(c[e]={}))[i]=n;var a=o.registrationNameModules[e];a&&a.didPutListener&&a.didPutListener(t,e,n)},getListener:function(t,e){var n=c[e],r=h(t);return n&&n[r]},deleteListener:function(t,e){var n=o.registrationNameModules[e];n&&n.willDeleteListener&&n.willDeleteListener(t,e);var r=c[e];if(r){delete r[h(t)]}},deleteAllListeners:function(t){var e=h(t);for(var n in c)if(c.hasOwnProperty(n)&&c[n][e]){var r=o.registrationNameModules[n];r&&r.willDeleteListener&&r.willDeleteListener(t,n),delete c[n][e]}},extractEvents:function(t,e,n,r){for(var i,a=o.plugins,u=0;u<a.length;u++){var c=a[u];if(c){var l=c.extractEvents(t,e,n,r);l&&(i=s(i,l))}}return i},enqueueEvents:function(t){t&&(l=s(l,t))},processEventQueue:function(t){var e=l;l=null,t?u(e,f):u(e,d),l&&r("95"),a.rethrowCaughtError()},__purge:function(){c={}},__getListenerBank:function(){return c}};t.exports=g},function(t,e,n){"use strict";function r(t,e,n){var r=e.dispatchConfig.phasedRegistrationNames[n];return _(t,r)}function o(t,e,n){var o=e?m.bubbled:m.captured,i=r(t,n,o);i&&(n._dispatchListeners=v(n._dispatchListeners,i),n._dispatchInstances=v(n._dispatchInstances,t))}function i(t){t&&t.dispatchConfig.phasedRegistrationNames&&g.traverseTwoPhase(t._targetInst,o,t)}function a(t){if(t&&t.dispatchConfig.phasedRegistrationNames){var e=t._targetInst,n=e?g.getParentInstance(e):null;g.traverseTwoPhase(n,o,t)}}function s(t,e,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,o=_(t,r);o&&(n._dispatchListeners=v(n._dispatchListeners,o),n._dispatchInstances=v(n._dispatchInstances,t))}}function u(t){t&&t.dispatchConfig.registrationName&&s(t._targetInst,null,t)}function c(t){y(t,i)}function l(t){y(t,a)}function p(t,e,n,r){g.traverseEnterLeave(n,r,s,t,e)}function f(t){y(t,u)}var d=n(21),h=n(42),g=n(85),v=n(165),y=n(167),m=(n(2),d.PropagationPhases),_=h.getListener,b={accumulateTwoPhaseDispatches:c,accumulateTwoPhaseDispatchesSkipTarget:l,accumulateDirectDispatches:f,accumulateEnterLeaveDispatches:p};t.exports=b},function(t,e,n){"use strict";var r={remove:function(t){t._reactInternalInstance=void 0},get:function(t){return t._reactInternalInstance},has:function(t){return void 0!==t._reactInternalInstance},set:function(t,e){t._reactInternalInstance=e}};t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(22),i=n(100),a={view:function(t){if(t.view)return t.view;var e=i(t);if(e.window===e)return e;var n=e.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(t){return t.detail||0}};o.augmentClass(r,a),t.exports=r},function(t,e,n){"use strict";var r=n(1),o=(n(0),{reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(t,e,n,o,i,a,s,u){this.isInTransaction()&&r("27");var c,l;try{this._isInTransaction=!0,c=!0,this.initializeAll(0),l=t.call(e,n,o,i,a,s,u),c=!1}finally{try{if(c)try{this.closeAll(0)}catch(t){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return l},initializeAll:function(t){for(var e=this.transactionWrappers,n=t;n<e.length;n++){var r=e[n];try{this.wrapperInitData[n]=i.OBSERVED_ERROR,this.wrapperInitData[n]=r.initialize?r.initialize.call(this):null}finally{if(this.wrapperInitData[n]===i.OBSERVED_ERROR)try{this.initializeAll(n+1)}catch(t){}}}},closeAll:function(t){this.isInTransaction()||r("28");for(var e=this.transactionWrappers,n=t;n<e.length;n++){var o,a=e[n],s=this.wrapperInitData[n];try{o=!0,s!==i.OBSERVED_ERROR&&a.close&&a.close.call(this,s),o=!1}finally{if(o)try{this.closeAll(n+1)}catch(t){}}}this.wrapperInitData.length=0}}),i={Mixin:o,OBSERVED_ERROR:{}};t.exports=i},function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(t,e,n){"use strict";e.__esModule=!0,e.addNewBlockAt=e.updateTextOfBlock=e.updateDataOfBlock=e.resetBlockWithType=e.addNewBlock=e.getCurrentBlock=e.getNode=e.getDefaultBlockData=void 0;var r=n(109),o=n(26),i=e.getDefaultBlockData=function(t){return arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}},a=(e.getNode=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,e=null;return t.getSelection?e=t.getSelection():t.document.getSelection?e=t.document.getSelection():t.document.selection&&(e=t.document.selection.createRange().text),e},e.getCurrentBlock=function(t){var e=t.getSelection();return t.getCurrentContent().getBlockForKey(e.getStartKey())});e.addNewBlock=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"unstyled",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.getSelection();if(!r.isCollapsed())return t;var s=t.getCurrentContent(),u=r.getStartKey(),c=s.getBlockMap(),l=a(t);if(!l)return t;if(0===l.getLength()){if(l.getType()===e)return t;var p=l.merge({type:e,data:i(e,n)}),f=s.merge({blockMap:c.set(u,p),selectionAfter:r});return o.EditorState.push(t,f,"change-block-type")}return t},e.resetBlockWithType=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"unstyled",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.getCurrentContent(),a=t.getSelection(),s=a.getStartKey(),u=r.getBlockMap(),c=u.get(s),l="";console.log("DATA FOR PLACEHOLDER!",n);var p=c.getText();c.getLength()>=2&&(l=p.substr(1));var f=c.merge({text:l,type:e,data:i(e,n)}),d=r.merge({blockMap:u.set(s,f),selectionAfter:a.merge({anchorOffset:0,focusOffset:0})});return o.EditorState.push(t,d,"change-block-type")},e.updateDataOfBlock=function(t,e,n){var r=t.getCurrentContent(),i=e.merge({data:n}),a=r.merge({blockMap:r.getBlockMap().set(e.getKey(),i)});return o.EditorState.push(t,a,"change-block-type")},e.updateTextOfBlock=function(t,e,n){var r=t.getCurrentContent(),i=e.merge({text:n}),a=r.merge({blockMap:r.getBlockMap().set(e.getKey(),i)});return o.EditorState.push(t,a,"change-block-type")},e.addNewBlockAt=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"unstyled",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=t.getCurrentContent(),u=s.getBlockMap(),c=u.get(e),l=u.toSeq().takeUntil(function(t){return t===c}),p=u.toSeq().skipUntil(function(t){return t===c}).rest(),f=(0,o.genKey)(),d=new o.ContentBlock({key:f,type:n,text:"",characterList:c.getCharacterList().slice(0,0),depth:0,data:(0,r.Map)(i(n,a))}),h=l.concat([[e,c],[f,d]],p).toOrderedMap(),g=t.getSelection(),v=s.merge({blockMap:h,selectionBefore:g,selectionAfter:g.merge({anchorKey:f,anchorOffset:0,focusKey:f,focusOffset:0,isBackward:!1})});return o.EditorState.push(t,v,"split-block")}},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){"use strict";function r(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())}}t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=e.getStartKey(),r=e.getStartOffset(),a=e.getEndKey(),s=e.getEndOffset(),u=i(t,e),c=u.getBlockMap(),l=c.keySeq(),p=l.indexOf(n),f=l.indexOf(a)+1;return c.slice(p,f).map(function(t,e){var i=o(),u=t.getText(),c=t.getCharacterList();return n===a?t.merge({key:i,text:u.slice(r,s),characterList:c.slice(r,s)}):e===n?t.merge({key:i,text:u.slice(r),characterList:c.slice(r)}):e===a?t.merge({key:i,text:u.slice(0,s),characterList:c.slice(0,s)}):t.set("key",i)}).toOrderedMap()}var o=n(18),i=n(138);t.exports=r},function(t,e,n){"use strict";function r(t){return"handled"===t||!0===t}t.exports=r},function(t,e,n){"use strict";function r(){if("undefined"==typeof document)return null;try{return document.activeElement||document.body}catch(t){return document.body}}t.exports=r},function(t,e,n){"use strict";var r=n(0),o=function(t){var e,n={};t instanceof Object&&!Array.isArray(t)||r(!1);for(e in t)t.hasOwnProperty(e)&&(n[e]=e);return n};t.exports=o},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function i(t){if(p===clearTimeout)return clearTimeout(t);if((p===r||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(t);try{return p(t)}catch(e){try{return p.call(null,t)}catch(e){return p.call(this,t)}}}function a(){g&&d&&(g=!1,d.length?h=d.concat(h):v=-1,h.length&&s())}function s(){if(!g){var t=o(a);g=!0;for(var e=h.length;e;){for(d=h,h=[];++v<e;)d&&d[v].run();v=-1,e=h.length}d=null,g=!1,i(t)}}function u(t,e){this.fun=t,this.array=e}function c(){}var l,p,f=t.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(t){l=n}try{p="function"==typeof clearTimeout?clearTimeout:r}catch(t){p=r}}();var d,h=[],g=!1,v=-1;f.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];h.push(new u(t,e)),1!==h.length||g||o(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=c,f.addListener=c,f.once=c,f.off=c,f.removeListener=c,f.removeAllListeners=c,f.emit=c,f.binding=function(t){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(t){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},function(t,e,n){"use strict";var r={onClick:!0,onDoubleClick:!0,onMouseDown:!0,onMouseMove:!0,onMouseUp:!0,onClickCapture:!0,onDoubleClickCapture:!0,onMouseDownCapture:!0,onMouseMoveCapture:!0,onMouseUpCapture:!0},o={getHostProps:function(t,e){if(!e.disabled)return e;var n={};for(var o in e)!r[o]&&e.hasOwnProperty(o)&&(n[o]=e[o]);return n}};t.exports=o},function(t,e,n){"use strict";function r(t){return Object.prototype.hasOwnProperty.call(t,v)||(t[v]=h++,f[t[v]]={}),f[t[v]]}var o,i=n(5),a=n(21),s=n(84),u=n(324),c=n(164),l=n(353),p=n(101),f={},d=!1,h=0,g={topAbort:"abort",topAnimationEnd:l("animationend")||"animationend",topAnimationIteration:l("animationiteration")||"animationiteration",topAnimationStart:l("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:l("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},v="_reactListenersID"+String(Math.random()).slice(2),y=i({},u,{ReactEventListener:null,injection:{injectReactEventListener:function(t){t.setHandleTopLevel(y.handleTopLevel),y.ReactEventListener=t}},setEnabled:function(t){y.ReactEventListener&&y.ReactEventListener.setEnabled(t)},isEnabled:function(){return!(!y.ReactEventListener||!y.ReactEventListener.isEnabled())},listenTo:function(t,e){for(var n=e,o=r(n),i=s.registrationNameDependencies[t],u=a.topLevelTypes,c=0;c<i.length;c++){var l=i[c];o.hasOwnProperty(l)&&o[l]||(l===u.topWheel?p("wheel")?y.ReactEventListener.trapBubbledEvent(u.topWheel,"wheel",n):p("mousewheel")?y.ReactEventListener.trapBubbledEvent(u.topWheel,"mousewheel",n):y.ReactEventListener.trapBubbledEvent(u.topWheel,"DOMMouseScroll",n):l===u.topScroll?p("scroll",!0)?y.ReactEventListener.trapCapturedEvent(u.topScroll,"scroll",n):y.ReactEventListener.trapBubbledEvent(u.topScroll,"scroll",y.ReactEventListener.WINDOW_HANDLE):l===u.topFocus||l===u.topBlur?(p("focus",!0)?(y.ReactEventListener.trapCapturedEvent(u.topFocus,"focus",n),y.ReactEventListener.trapCapturedEvent(u.topBlur,"blur",n)):p("focusin")&&(y.ReactEventListener.trapBubbledEvent(u.topFocus,"focusin",n),y.ReactEventListener.trapBubbledEvent(u.topBlur,"focusout",n)),o[u.topBlur]=!0,o[u.topFocus]=!0):g.hasOwnProperty(l)&&y.ReactEventListener.trapBubbledEvent(l,g[l],n),o[l]=!0)}},trapBubbledEvent:function(t,e,n){return y.ReactEventListener.trapBubbledEvent(t,e,n)},trapCapturedEvent:function(t,e,n){return y.ReactEventListener.trapCapturedEvent(t,e,n)},supportsEventPageXY:function(){if(!document.createEvent)return!1;var t=document.createEvent("MouseEvent");return null!=t&&"pageX"in t},ensureScrollValueMonitoring:function(){if(void 0===o&&(o=y.supportsEventPageXY()),!o&&!d){var t=c.refreshScrollValues;y.ReactEventListener.monitorScrollValue(t),d=!0}}});t.exports=y},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(45),i=n(164),a=n(99),s={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:a,button:function(t){var e=t.button;return"which"in t?e:2===e?2:4===e?1:0},buttons:null,relatedTarget:function(t){return t.relatedTarget||(t.fromElement===t.srcElement?t.toElement:t.fromElement)},pageX:function(t){return"pageX"in t?t.pageX:t.clientX+i.currentScrollLeft},pageY:function(t){return"pageY"in t?t.pageY:t.clientY+i.currentScrollTop}};o.augmentClass(r,s),t.exports=r},function(t,e,n){"use strict";function r(t){var e=""+t,n=i.exec(e);if(!n)return e;var r,o="",a=0,s=0;for(a=n.index;a<e.length;a++){switch(e.charCodeAt(a)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#x27;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}s!==a&&(o+=e.substring(s,a)),s=a+1,o+=r}return s!==a?o+e.substring(s,a):o}function o(t){return"boolean"==typeof t||"number"==typeof t?""+t:r(t)}var i=/["'&<>]/;t.exports=o},function(t,e,n){"use strict";var r,o=n(9),i=n(83),a=/^[ \r\n\t\f]/,s=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,u=n(97),c=u(function(t,e){if(t.namespaceURI!==i.svg||"innerHTML"in t)t.innerHTML=e;else{r=r||document.createElement("div"),r.innerHTML="<svg>"+e+"</svg>";for(var n=r.firstChild;n.firstChild;)t.appendChild(n.firstChild)}});if(o.canUseDOM){var l=document.createElement("div");l.innerHTML=" ",""===l.innerHTML&&(c=function(t,e){if(t.parentNode&&t.parentNode.replaceChild(t,t),a.test(e)||"<"===e[0]&&s.test(e)){t.innerHTML=String.fromCharCode(65279)+e;var n=t.firstChild;1===n.data.length?t.removeChild(n):n.deleteData(0,1)}else t.innerHTML=e}),l=null}t.exports=c},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){"use strict";(function(e){function r(t,e){!o.isUndefined(t)&&o.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var o=n(11),i=n(196),a=/^\)\]\}',?\n/,s={"Content-Type":"application/x-www-form-urlencoded"},u={adapter:function(){var t;return"undefined"!=typeof XMLHttpRequest?t=n(112):void 0!==e&&(t=n(112)),t}(),transformRequest:[function(t,e){return i(e,"Content-Type"),o.isFormData(t)||o.isArrayBuffer(t)||o.isStream(t)||o.isFile(t)||o.isBlob(t)?t:o.isArrayBufferView(t)?t.buffer:o.isURLSearchParams(t)?(r(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):o.isObject(t)?(r(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t){t=t.replace(a,"");try{t=JSON.parse(t)}catch(t){}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(t){u.headers[t]={}}),o.forEach(["post","put","patch"],function(t){u.headers[t]=o.merge(s)}),t.exports=u}).call(e,n(55))},function(t,e,n){t.exports=!n(106)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(61),o=n(47),i=n(363),a=n(107),s=function(t,e,n){var u,c,l,p=t&s.F,f=t&s.G,d=t&s.S,h=t&s.P,g=t&s.B,v=t&s.W,y=f?o:o[e]||(o[e]={}),m=y.prototype,_=f?r:d?r[e]:(r[e]||{}).prototype;f&&(n=e);for(u in n)(c=!p&&_&&void 0!==_[u])&&u in y||(l=c?_[u]:n[u],y[u]=f&&"function"!=typeof _[u]?n[u]:g&&c?i(l,r):v&&_[u]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):h&&"function"==typeof l?i(Function.call,l):l,h&&((y.virtual||(y.virtual={}))[u]=l,t&s.R&&m&&!m[u]&&a(m,u,l)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(117),o=n(365),i=n(213),a=Object.defineProperty;e.f=n(63)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(366),o=n(202);t.exports=function(t){return r(o(t))}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(39),s=n(14),u=n(27),c=n(4),l=n(33),p=n(18),f=n(74),d=c.List,h=c.Record,g=c.Repeat,v={blockMap:null,selectionBefore:null,selectionAfter:null},y=h(v),m=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(e,t),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.hasText=function(){var t=this.getBlockMap();return t.size>1||t.first().getLength()>0},e.createFromBlockArray=function(t){var n=a.createFromArray(t),r=l.createEmpty(n.first().getKey());return new e({blockMap:n,selectionBefore:r,selectionAfter:r})},e.createFromText=function(t){var n=arguments.length<=1||void 0===arguments[1]?/\r\n?|\n/g:arguments[1],r=t.split(n),o=r.map(function(t){return t=f(t),new u({key:p(),text:t,type:"unstyled",characterList:d(g(s.EMPTY,t.length))})});return e.createFromBlockArray(o)},e}(y);t.exports=m},function(t,e,n){"use strict";var r=n(4),o=r.Map,i=n(7),a=n(41),s=i.createElement("ul",{className:a("public/DraftStyleDefault/ul")}),u=i.createElement("ol",{className:a("public/DraftStyleDefault/ol")}),c=i.createElement("pre",{className:a("public/DraftStyleDefault/pre")});t.exports=o({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},"unordered-list-item":{element:"li",wrapper:s},"ordered-list-item":{element:"li",wrapper:u},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:c},unstyled:{element:"div"}})},function(t,e,n){"use strict";var r=n(19),o=r.isPlatform("Mac OS X"),i={isCtrlKeyCommand:function(t){return!!t.ctrlKey&&!t.altKey},isOptionKeyCommand:function(t){return o&&t.altKey},hasCommandModifier:function(t){return o?!!t.metaKey&&!t.altKey:i.isCtrlKeyCommand(t)}};t.exports=i},function(t,e,n){"use strict";function r(t){for(var e=t;e&&e!==document.documentElement;){var n=o(e);if(null!=n)return n;e=e.parentNode}return null}var o=n(132);t.exports=r},function(t,e,n){"use strict";function r(t,e){var n;if(e.isCollapsed()){var r=e.getAnchorKey(),i=e.getAnchorOffset();return i>0?(n=t.getBlockForKey(r).getEntityAt(i-1),o(n)):null}var a=e.getStartKey(),s=e.getStartOffset(),u=t.getBlockForKey(a);return n=s===u.getLength()?null:u.getEntityAt(s),o(n)}function o(t){if(t){return"MUTABLE"===i.get(t).getMutability()?t:null}return null}var i=n(20);t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=t.getSelection(),r=t.getCurrentContent(),o=n.getStartKey(),i=n.getStartOffset(),a=o,s=0;if(e>i){var u=r.getKeyBefore(o);if(null==u)a=o;else{a=u;s=r.getBlockForKey(u).getText().length}}else s=i-e;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})}t.exports=r},function(t,e,n){"use strict";function r(t){return t.replace(o,"")}var o=new RegExp("\r","g");t.exports=r},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){var n=i.get(t,e);return"auto"===n||"scroll"===n}var o=n(290),i={get:o,getScrollParent:function(t){if(!t)return null;for(;t&&t!==document.body;){if(r(t,"overflow")||r(t,"overflowY")||r(t,"overflowX"))return t;t=t.parentNode}return window}};t.exports=i},function(t,e,n){"use strict";function r(t){return t===l||t===p}function o(t){return r(t)||c(!1),t===l?"ltr":"rtl"}function i(t,e){return r(t)||c(!1),r(e)||c(!1),t===e?null:o(t)}function a(t){f=t}function s(){a(l)}function u(){return f||this.initGlobalDir(),f||c(!1),f}var c=n(0),l="LTR",p="RTL",f=null,d={NEUTRAL:"NEUTRAL",LTR:l,RTL:p,isStrong:r,getHTMLDir:o,getHTMLDirIfDifferent:i,setGlobalDir:a,initGlobalDir:s,getGlobalDir:u};t.exports=d},function(t,e,n){"use strict";function r(t,e){return!(!t||!e)&&(t===e||!o(t)&&(o(e)?r(t,e.parentNode):"contains"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}var o=n(294);t.exports=r},function(t,e,n){"use strict";function r(t){var e=o();t===window&&(t=e);var n=i(t),r=t===e?document.documentElement:t,a=t.scrollWidth-r.clientWidth,s=t.scrollHeight-r.clientHeight;return n.x=Math.max(0,Math.min(n.x,a)),n.y=Math.max(0,Math.min(n.y,s)),n}var o=n(286),i=n(146);t.exports=r},function(t,e,n){"use strict";function r(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!==t&&e!==e}function o(t,e){if(r(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var n=Object.keys(t),o=Object.keys(e);if(n.length!==o.length)return!1;for(var a=0;a<n.length;a++)if(!i.call(e,n[a])||!r(t[n[a]],e[n[a]]))return!1;return!0}var i=Object.prototype.hasOwnProperty;t.exports=o},function(t,e,n){"use strict";var r=function(t,e,n,r,o,i,a,s){if(!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 c=[n,r,o,i,a,s],l=0;u=new Error(e.replace(/%s/g,function(){return c[l++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}};t.exports=r},function(t,e,n){"use strict";function r(t,e){return Array.isArray(e)&&(e=e[1]),e?e.nextSibling:t.firstChild}function o(t,e,n){l.insertTreeBefore(t,e,n)}function i(t,e,n){Array.isArray(e)?s(t,e[0],e[1],n):v(t,e,n)}function a(t,e){if(Array.isArray(e)){var n=e[1];e=e[0],u(t,e,n),t.removeChild(n)}t.removeChild(e)}function s(t,e,n,r){for(var o=e;;){var i=o.nextSibling;if(v(t,o,r),o===n)break;o=i}}function u(t,e,n){for(;;){var r=e.nextSibling;if(r===n)break;t.removeChild(r)}}function c(t,e,n){var r=t.parentNode,o=t.nextSibling;o===e?n&&v(r,document.createTextNode(n),o):n?(g(o,n),u(r,o,e)):u(r,t,e)}var l=n(34),p=n(302),f=n(161),d=(n(6),n(13),n(97)),h=n(60),g=n(172),v=d(function(t,e,n){t.insertBefore(e,n)}),y=p.dangerouslyReplaceNodeWithMarkup,m={dangerouslyReplaceNodeWithMarkup:y,replaceDelimitedText:c,processUpdates:function(t,e){for(var n=0;n<e.length;n++){var s=e[n];switch(s.type){case f.INSERT_MARKUP:o(t,s.content,r(t,s.afterNode));break;case f.MOVE_EXISTING:i(t,s.fromNode,r(t,s.afterNode));break;case f.SET_MARKUP:h(t,s.content);break;case f.TEXT_CONTENT:g(t,s.content);break;case f.REMOVE_NODE:a(t,s.fromNode)}}}};t.exports=m},function(t,e,n){"use strict";var r={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};t.exports=r},function(t,e,n){"use strict";function r(){if(s)for(var t in u){var e=u[t],n=s.indexOf(t);if(n>-1||a("96",t),!c.plugins[n]){e.extractEvents||a("97",t),c.plugins[n]=e;var r=e.eventTypes;for(var i in r)o(r[i],e,i)||a("98",i,t)}}}function o(t,e,n){c.eventNameDispatchConfigs.hasOwnProperty(n)&&a("99",n),c.eventNameDispatchConfigs[n]=t;var r=t.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var s=r[o];i(s,e,n)}return!0}return!!t.registrationName&&(i(t.registrationName,e,n),!0)}function i(t,e,n){c.registrationNameModules[t]&&a("100",t),c.registrationNameModules[t]=e,c.registrationNameDependencies[t]=e.eventTypes[n].dependencies}var a=n(1),s=(n(0),null),u={},c={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(t){s&&a("101"),s=Array.prototype.slice.call(t),r()},injectEventPluginsByName:function(t){var e=!1;for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];u.hasOwnProperty(n)&&u[n]===o||(u[n]&&a("102",n),u[n]=o,e=!0)}e&&r()},getPluginModuleForEvent:function(t){var e=t.dispatchConfig;if(e.registrationName)return c.registrationNameModules[e.registrationName]||null;for(var n in e.phasedRegistrationNames)if(e.phasedRegistrationNames.hasOwnProperty(n)){var r=c.registrationNameModules[e.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){s=null;for(var t in u)u.hasOwnProperty(t)&&delete u[t];c.plugins.length=0;var e=c.eventNameDispatchConfigs;for(var n in e)e.hasOwnProperty(n)&&delete e[n];var r=c.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};t.exports=c},function(t,e,n){"use strict";function r(t){return t===m.topMouseUp||t===m.topTouchEnd||t===m.topTouchCancel}function o(t){return t===m.topMouseMove||t===m.topTouchMove}function i(t){return t===m.topMouseDown||t===m.topTouchStart}function a(t,e,n,r){var o=t.type||"unknown-event";t.currentTarget=_.getNodeFromInstance(r),e?v.invokeGuardedCallbackWithCatch(o,n,t):v.invokeGuardedCallback(o,n,t),t.currentTarget=null}function s(t,e){var n=t._dispatchListeners,r=t._dispatchInstances;if(Array.isArray(n))for(var o=0;o<n.length&&!t.isPropagationStopped();o++)a(t,e,n[o],r[o]);else n&&a(t,e,n,r);t._dispatchListeners=null,t._dispatchInstances=null}function u(t){var e=t._dispatchListeners,n=t._dispatchInstances;if(Array.isArray(e)){for(var r=0;r<e.length&&!t.isPropagationStopped();r++)if(e[r](t,n[r]))return n[r]}else if(e&&e(t,n))return n;return null}function c(t){var e=u(t);return t._dispatchInstances=null,t._dispatchListeners=null,e}function l(t){var e=t._dispatchListeners,n=t._dispatchInstances;Array.isArray(e)&&h("103"),t.currentTarget=e?_.getNodeFromInstance(n):null;var r=e?e(t):null;return t.currentTarget=null,t._dispatchListeners=null,t._dispatchInstances=null,r}function p(t){return!!t._dispatchListeners}var f,d,h=n(1),g=n(21),v=n(91),y=(n(0),n(2),{injectComponentTree:function(t){f=t},injectTreeTraversal:function(t){d=t}}),m=g.topLevelTypes,_={isEndish:r,isMoveish:o,isStartish:i,executeDirectDispatch:l,executeDispatchesInOrder:s,executeDispatchesInOrderStopAtTrue:c,hasDispatches:p,getInstanceFromNode:function(t){return f.getInstanceFromNode(t)},getNodeFromInstance:function(t){return f.getNodeFromInstance(t)},isAncestor:function(t,e){return d.isAncestor(t,e)},getLowestCommonAncestor:function(t,e){return d.getLowestCommonAncestor(t,e)},getParentInstance:function(t){return d.getParentInstance(t)},traverseTwoPhase:function(t,e,n){return d.traverseTwoPhase(t,e,n)},traverseEnterLeave:function(t,e,n,r,o){return d.traverseEnterLeave(t,e,n,r,o)},injection:y};t.exports=_},function(t,e,n){"use strict";function r(t){var e={"=":"=0",":":"=2"};return"$"+(""+t).replace(/[=:]/g,function(t){return e[t]})}function o(t){var e=/(=0|=2)/g,n={"=0":"=","=2":":"};return(""+("."===t[0]&&"$"===t[1]?t.substring(2):t.substring(1))).replace(e,function(t){return n[t]})}var i={escape:r,unescape:o};t.exports=i},function(t,e,n){"use strict";function r(t){null!=t.checkedLink&&null!=t.valueLink&&s("87")}function o(t){r(t),(null!=t.value||null!=t.onChange)&&s("88")}function i(t){r(t),(null!=t.checked||null!=t.onChange)&&s("89")}function a(t){if(t){var e=t.getName();if(e)return" Check the render method of `"+e+"`."}return""}var s=n(1),u=n(163),c=n(94),l=n(95),p=(n(0),n(2),{button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0}),f={value:function(t,e,n){return!t[e]||p[t.type]||t.onChange||t.readOnly||t.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(t,e,n){return!t[e]||t.onChange||t.readOnly||t.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:u.func},d={},h={checkPropTypes:function(t,e,n){for(var r in f){if(f.hasOwnProperty(r))var o=f[r](e,r,t,c.prop,null,l);if(o instanceof Error&&!(o.message in d)){d[o.message]=!0;a(n)}}},getValue:function(t){return t.valueLink?(o(t),t.valueLink.value):t.value},getChecked:function(t){return t.checkedLink?(i(t),t.checkedLink.value):t.checked},executeOnChange:function(t,e){return t.valueLink?(o(t),t.valueLink.requestChange(e.target.value)):t.checkedLink?(i(t),t.checkedLink.requestChange(e.target.checked)):t.onChange?t.onChange.call(void 0,e):void 0}};t.exports=h},function(t,e,n){"use strict";function r(t,e,n){this.props=t,this.context=e,this.refs=a,this.updater=n||i}var o=n(1),i=n(92),a=(n(166),n(36));n(0),n(2);r.prototype.isReactComponent={},r.prototype.setState=function(t,e){"object"!=typeof t&&"function"!=typeof t&&null!=t&&o("85"),this.updater.enqueueSetState(this,t),e&&this.updater.enqueueCallback(this,e,"setState")},r.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this),t&&this.updater.enqueueCallback(this,t,"forceUpdate")};t.exports=r},function(t,e,n){"use strict";var r=n(1),o=(n(0),!1),i={replaceNodeWithMarkup:null,processChildrenUpdates:null,injection:{injectEnvironment:function(t){o&&r("104"),i.replaceNodeWithMarkup=t.replaceNodeWithMarkup,i.processChildrenUpdates=t.processChildrenUpdates,o=!0}}};t.exports=i},function(t,e,n){"use strict";function r(t){var e=Function.prototype.toString,n=Object.prototype.hasOwnProperty,r=RegExp("^"+e.call(n).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");try{var o=e.call(t);return r.test(o)}catch(t){return!1}}function o(t){return"."+t}function i(t){return parseInt(t.substr(1),10)}function a(t){if(k)return y.get(t);var e=o(t);return _[e]}function s(t){if(k)y.delete(t);else{var e=o(t);delete _[e]}}function u(t,e,n){var r={element:e,parentID:n,text:null,childIDs:[],isMounted:!1,updateCount:0};if(k)y.set(t,r);else{var i=o(t);_[i]=r}}function c(t){if(k)m.add(t);else{var e=o(t);b[e]=!0}}function l(t){if(k)m.delete(t);else{var e=o(t);delete b[e]}}function p(){return k?Array.from(y.keys()):Object.keys(_).map(i)}function f(){return k?Array.from(m.keys()):Object.keys(b).map(i)}function d(t){var e=a(t);if(e){var n=e.childIDs;s(t),n.forEach(d)}}function h(t,e,n){return"\n in "+t+(e?" (at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+")":n?" (created by "+n+")":"")}function g(t){return null==t?"#empty":"string"==typeof t||"number"==typeof t?"#text":"string"==typeof t.type?t.type:t.type.displayName||t.type.name||"Unknown"}function v(t){var e,n=E.getDisplayName(t),r=E.getElement(t),o=E.getOwnerID(t);return o&&(e=E.getDisplayName(o)),h(n,r&&r._source,e)}var y,m,_,b,w=n(1),S=n(25),k=(n(0),n(2),"function"==typeof Array.from&&"function"==typeof Map&&r(Map)&&null!=Map.prototype&&"function"==typeof Map.prototype.keys&&r(Map.prototype.keys)&&"function"==typeof Set&&r(Set)&&null!=Set.prototype&&"function"==typeof Set.prototype.keys&&r(Set.prototype.keys));k?(y=new Map,m=new Set):(_={},b={});var C=[],E={onSetChildren:function(t,e){a(t).childIDs=e;for(var n=0;n<e.length;n++){var r=e[n],o=a(r);o||w("140"),null==o.childIDs&&"object"==typeof o.element&&null!=o.element&&w("141"),o.isMounted||w("71"),null==o.parentID&&(o.parentID=t),o.parentID!==t&&w("142",r,o.parentID,t)}},onBeforeMountComponent:function(t,e,n){u(t,e,n)},onBeforeUpdateComponent:function(t,e){var n=a(t);n&&n.isMounted&&(n.element=e)},onMountComponent:function(t){var e=a(t);e.isMounted=!0,0===e.parentID&&c(t)},onUpdateComponent:function(t){var e=a(t);e&&e.isMounted&&e.updateCount++},onUnmountComponent:function(t){var e=a(t);if(e){e.isMounted=!1;0===e.parentID&&l(t)}C.push(t)},purgeUnmountedComponents:function(){if(!E._preventPurging){for(var t=0;t<C.length;t++){d(C[t])}C.length=0}},isMounted:function(t){var e=a(t);return!!e&&e.isMounted},getCurrentStackAddendum:function(t){var e="";if(t){var n=t.type,r="function"==typeof n?n.displayName||n.name:n,o=t._owner;e+=h(r||"Unknown",t._source,o&&o.getName())}var i=S.current,a=i&&i._debugID;return e+=E.getStackAddendumByID(a)},getStackAddendumByID:function(t){for(var e="";t;)e+=v(t),t=E.getParentID(t);return e},getChildIDs:function(t){var e=a(t);return e?e.childIDs:[]},getDisplayName:function(t){var e=E.getElement(t);return e?g(e):null},getElement:function(t){var e=a(t);return e?e.element:null},getOwnerID:function(t){var e=E.getElement(t);return e&&e._owner?e._owner._debugID:null},getParentID:function(t){var e=a(t);return e?e.parentID:null},getSource:function(t){var e=a(t),n=e?e.element:null;return null!=n?n._source:null},getText:function(t){var e=E.getElement(t);return"string"==typeof e?e:"number"==typeof e?""+e:null},getUpdateCount:function(t){var e=a(t);return e?e.updateCount:0},getRegisteredIDs:p,getRootIDs:f};t.exports=E},function(t,e,n){"use strict";function r(t,e,n,r){try{return e(n,r)}catch(t){return void(null===o&&(o=t))}}var o=null,i={invokeGuardedCallback:r,invokeGuardedCallbackWithCatch:r,rethrowCaughtError:function(){if(o){var t=o;throw o=null,t}}};t.exports=i},function(t,e,n){"use strict";var r=(n(2),{isMounted:function(t){return!1},enqueueCallback:function(t,e){},enqueueForceUpdate:function(t){},enqueueReplaceState:function(t,e){},enqueueSetState:function(t,e){}});t.exports=r},function(t,e,n){"use strict";var r={};t.exports=r},function(t,e,n){"use strict";var r=n(54),o=r({prop:null,context:null,childContext:null});t.exports=o},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";function r(t){u.enqueueUpdate(t)}function o(t){var e=typeof t;if("object"!==e)return e;var n=t.constructor&&t.constructor.name||e,r=Object.keys(t);return r.length>0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function i(t,e){var n=s.get(t);if(!n){return null}return n}var a=n(1),s=(n(25),n(44)),u=(n(13),n(17)),c=(n(0),n(2),{isMounted:function(t){var e=s.get(t);return!!e&&!!e._renderedComponent},enqueueCallback:function(t,e,n){c.validateCallback(e,n);var o=i(t);if(!o)return null;o._pendingCallbacks?o._pendingCallbacks.push(e):o._pendingCallbacks=[e],r(o)},enqueueCallbackInternal:function(t,e){t._pendingCallbacks?t._pendingCallbacks.push(e):t._pendingCallbacks=[e],r(t)},enqueueForceUpdate:function(t){var e=i(t,"forceUpdate");e&&(e._pendingForceUpdate=!0,r(e))},enqueueReplaceState:function(t,e){var n=i(t,"replaceState");n&&(n._pendingStateQueue=[e],n._pendingReplaceState=!0,r(n))},enqueueSetState:function(t,e){var n=i(t,"setState");if(n){(n._pendingStateQueue||(n._pendingStateQueue=[])).push(e),r(n)}},enqueueElementInternal:function(t,e,n){t._pendingElement=e,t._context=n,r(t)},validateCallback:function(t,e){t&&"function"!=typeof t&&a("122",e,o(t))}});t.exports=c},function(t,e,n){"use strict";var r=function(t){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,r,o){MSApp.execUnsafeLocalFunction(function(){return t(e,n,r,o)})}:t};t.exports=r},function(t,e,n){"use strict";function r(t){var e,n=t.keyCode;return"charCode"in t?0===(e=t.charCode)&&13===n&&(e=13):e=n,e>=32||13===e?e:0}t.exports=r},function(t,e,n){"use strict";function r(t){var e=this,n=e.nativeEvent;if(n.getModifierState)return n.getModifierState(t);var r=i[t];return!!r&&!!n[r]}function o(t){return r}var i={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};t.exports=o},function(t,e,n){"use strict";function r(t){var e=t.target||t.srcElement||window;return e.correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}t.exports=r},function(t,e,n){"use strict";/**
2
- * Checks if an event is supported in the current execution environment.
3
- *
4
- * NOTE: This will not work correctly for non-generic events such as `change`,
5
- * `reset`, `load`, `error`, and `select`.
6
- *
7
- * Borrows from Modernizr.
8
- *
9
- * @param {string} eventNameSuffix Event name, e.g. "click".
10
- * @param {?boolean} capture Check if the capture phase is supported.
11
- * @return {boolean} True if the event is supported.
12
- * @internal
13
- * @license Modernizr 3.0.0pre (Custom Build) | MIT
14
- */
15
- function r(t,e){if(!i.canUseDOM||e&&!("addEventListener"in document))return!1;var n="on"+t,r=n in document;if(!r){var a=document.createElement("div");a.setAttribute(n,"return;"),r="function"==typeof a[n]}return!r&&o&&"wheel"===t&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,i=n(9);i.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=null===t||!1===t,r=null===e||!1===e;if(n||r)return n===r;var o=typeof t,i=typeof e;return"string"===o||"number"===o?"string"===i||"number"===i:"object"===i&&t.type===e.type&&t.key===e.key}t.exports=r},function(t,e,n){"use strict";function r(t,e){return t&&"object"==typeof t&&null!=t.key?c.escape(t.key):e.toString(36)}function o(t,e,n,i){var f=typeof t;if("undefined"!==f&&"boolean"!==f||(t=null),null===t||"string"===f||"number"===f||s.isValidElement(t))return n(i,t,""===e?l+r(t,0):e),1;var d,h,g=0,v=""===e?l:e+p;if(Array.isArray(t))for(var y=0;y<t.length;y++)d=t[y],h=v+r(d,y),g+=o(d,h,n,i);else{var m=u(t);if(m){var _,b=m.call(t);if(m!==t.entries)for(var w=0;!(_=b.next()).done;)d=_.value,h=v+r(d,w++),g+=o(d,h,n,i);else for(;!(_=b.next()).done;){var S=_.value;S&&(d=S[1],h=v+c.escape(S[0])+p+r(d,0),g+=o(d,h,n,i))}}else if("object"===f){var k="",C=String(t);a("31","[object Object]"===C?"object with keys {"+Object.keys(t).join(", ")+"}":C,k)}}return g}function i(t,e,n){return null==t?0:o(t,"",e,n)}var a=n(1),s=(n(25),n(16)),u=n(169),c=(n(0),n(86)),l=(n(2),"."),p=":";t.exports=i},function(t,e,n){"use strict";var r=(n(5),n(10)),o=(n(2),r);t.exports=o},function(t,e,n){t.exports=n(182)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(66),o=n(174);t.exports=n(63)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(210)("wks"),o=n(175),i=n(61).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},function(t,e,n){!function(e,n){t.exports=n()}(0,function(){"use strict";function t(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function e(t){return i(t)?t:M(t)}function n(t){return a(t)?t:D(t)}function r(t){return s(t)?t:I(t)}function o(t){return i(t)&&!u(t)?t:R(t)}function i(t){return!(!t||!t[cn])}function a(t){return!(!t||!t[ln])}function s(t){return!(!t||!t[pn])}function u(t){return a(t)||s(t)}function c(t){return!(!t||!t[fn])}function l(t){return t.value=!1,t}function p(t){t&&(t.value=!0)}function f(){}function d(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 h(t){return void 0===t.size&&(t.size=t.__iterate(v)),t.size}function g(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?h(t)+e:e}function v(){return!0}function y(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function m(t,e){return b(t,e,0)}function _(t,e){return b(t,e,e)}function b(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}function w(t){this.next=t}function S(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 k(){return{value:void 0,done:!0}}function C(t){return!!O(t)}function E(t){return t&&"function"==typeof t.next}function x(t){var e=O(t);return e&&e.call(t)}function O(t){var e=t&&(Sn&&t[Sn]||t[kn]);if("function"==typeof e)return e}function T(t){return t&&"number"==typeof t.length}function M(t){return null===t||void 0===t?U():i(t)?t.toSeq():j(t)}function D(t){return null===t||void 0===t?U().toKeyedSeq():i(t)?a(t)?t.toSeq():t.fromEntrySeq():F(t)}function I(t){return null===t||void 0===t?U():i(t)?a(t)?t.entrySeq():t.toIndexedSeq():K(t)}function R(t){return(null===t||void 0===t?U():i(t)?a(t)?t.entrySeq():t:K(t)).toSetSeq()}function A(t){this._array=t,this.size=t.length}function P(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function N(t){this._iterable=t,this.size=t.length||t.size}function L(t){this._iterator=t,this._iteratorCache=[]}function B(t){return!(!t||!t[En])}function U(){return xn||(xn=new A([]))}function F(t){var e=Array.isArray(t)?new A(t).fromEntrySeq():E(t)?new L(t).fromEntrySeq():C(t)?new N(t).fromEntrySeq():"object"==typeof t?new P(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function K(t){var e=z(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function j(t){var e=z(t)||"object"==typeof t&&new P(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}function z(t){return T(t)?new A(t):E(t)?new L(t):C(t)?new N(t):void 0}function q(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 H(t,e,n,r){var o=t._cache;if(o){var i=o.length-1,a=0;return new w(function(){var t=o[n?i-a:a];return a++>i?k():S(e,r?t[0]:a-1,t[1])})}return t.__iteratorUncached(e,n)}function W(t,e){return e?V(e,t,"",{"":t}):J(t)}function V(t,e,n,r){return Array.isArray(e)?t.call(r,n,I(e).map(function(n,r){return V(t,n,r,e)})):G(e)?t.call(r,n,D(e).map(function(n,r){return V(t,n,r,e)})):e}function J(t){return Array.isArray(t)?I(t).map(J).toList():G(t)?D(t).map(J).toMap():t}function G(t){return t&&(t.constructor===Object||void 0===t.constructor)}function Y(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 X(t,e){if(t===e)return!0;if(!i(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||a(t)!==a(e)||s(t)!==s(e)||c(t)!==c(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!u(t);if(c(t)){var r=t.entries();return e.every(function(t,e){var o=r.next().value;return o&&Y(o[1],t)&&(n||Y(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 l=t;t=e,e=l}var p=!0,f=e.__iterate(function(e,r){if(n?!t.has(e):o?!Y(e,t.get(r,vn)):!Y(t.get(r,vn),e))return p=!1,!1});return p&&t.size===f}function Q(t,e){if(!(this instanceof Q))return new Q(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(On)return On;On=this}}function $(t,e){if(!t)throw new Error(e)}function Z(t,e,n){if(!(this instanceof Z))return new Z(t,e,n);if($(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(Tn)return Tn;Tn=this}}function tt(){throw TypeError("Abstract")}function et(){}function nt(){}function rt(){}function ot(t){return t>>>1&1073741824|3221225471&t}function it(t){if(!1===t||null===t||void 0===t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null===t||void 0===t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){if(t!==t||t===1/0)return 0;var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)t/=4294967295,n^=t;return ot(n)}if("string"===e)return t.length>Ln?at(t):st(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return ut(t);if("function"==typeof t.toString)return st(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function at(t){var e=Fn[t];return void 0===e&&(e=st(t),Un===Bn&&(Un=0,Fn={}),Un++,Fn[t]=e),e}function st(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return ot(e)}function ut(t){var e;if(An&&void 0!==(e=Mn.get(t)))return e;if(void 0!==(e=t[Nn]))return e;if(!Rn){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Nn]))return e;if(void 0!==(e=ct(t)))return e}if(e=++Pn,1073741824&Pn&&(Pn=0),An)Mn.set(t,e);else{if(void 0!==In&&!1===In(t))throw new Error("Non-extensible objects are not allowed as keys.");if(Rn)Object.defineProperty(t,Nn,{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[Nn]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Nn]=e}}return e}function ct(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}function lt(t){$(t!==1/0,"Cannot perform this action with an infinite size.")}function pt(t){return null===t||void 0===t?St():ft(t)&&!c(t)?t:St().withMutations(function(e){var r=n(t);lt(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function ft(t){return!(!t||!t[Kn])}function dt(t,e){this.ownerID=t,this.entries=e}function ht(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function gt(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 yt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function mt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&bt(t._root)}function _t(t,e){return S(t,e[0],e[1])}function bt(t,e){return{node:t,index:0,__prev:e}}function wt(t,e,n,r){var o=Object.create(jn);return o.size=t,o._root=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function St(){return zn||(zn=wt(0))}function kt(t,e,n){var r,o;if(t._root){var i=l(yn),a=l(mn);if(r=Ct(t._root,t.__ownerID,0,void 0,e,n,i,a),!a.value)return t;o=t.size+(i.value?n===vn?-1:1:0)}else{if(n===vn)return t;o=1,r=new dt(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=o,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?wt(o,r):St()}function Ct(t,e,n,r,o,i,a,s){return t?t.update(e,n,r,o,i,a,s):i===vn?t:(p(s),p(a),new yt(e,r,[o,i]))}function Et(t){return t.constructor===yt||t.constructor===vt}function xt(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)&gn,s=(0===n?r:r>>>n)&gn;return new ht(e,1<<a|1<<s,a===s?[xt(t,e,n+dn,r,o)]:(i=new yt(e,r,o),a<s?[t,i]:[i,t]))}function Ot(t,e,n,r){t||(t=new f);for(var o=new yt(t,it(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}function Tt(t,e,n,r){for(var o=0,i=0,a=new Array(n),s=0,u=1,c=e.length;s<c;s++,u<<=1){var l=e[s];void 0!==l&&s!==r&&(o|=u,a[i++]=l)}return new ht(t,o,a)}function Mt(t,e,n,r,o){for(var i=0,a=new Array(hn),s=0;0!==n;s++,n>>>=1)a[s]=1&n?e[i++]:void 0;return a[r]=o,new gt(t,i+1,a)}function Dt(t,e,r){for(var o=[],a=0;a<r.length;a++){var s=r[a],u=n(s);i(s)||(u=u.map(function(t){return W(t)})),o.push(u)}return At(t,e,o)}function It(t,e,n){return t&&t.mergeDeep&&i(e)?t.mergeDeep(e):Y(t,e)?t:e}function Rt(t){return function(e,n,r){if(e&&e.mergeDeepWith&&i(n))return e.mergeDeepWith(t,n);var o=t(e,n,r);return Y(e,o)?e:o}}function At(t,e,n){return n=n.filter(function(t){return 0!==t.size}),0===n.length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations(function(t){for(var r=e?function(n,r){t.update(r,vn,function(t){return t===vn?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 Pt(t,e,n,r){var o=t===vn,i=e.next();if(i.done){var a=o?n:t,s=r(a);return s===a?t:s}$(o||t&&t.set,"invalid keyPath");var u=i.value,c=o?vn:t.get(u,vn),l=Pt(c,e,n,r);return l===c?t:l===vn?t.remove(u):(o?St():t).set(u,l)}function Nt(t){return t-=t>>1&1431655765,t=(858993459&t)+(t>>2&858993459),t=t+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function Lt(t,e,n,r){var o=r?t:d(t);return o[e]=n,o}function Bt(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}function Ut(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}function Ft(t){var e=Ht();if(null===t||void 0===t)return e;if(Kt(t))return t;var n=r(t),o=n.size;return 0===o?e:(lt(o),o>0&&o<hn?qt(0,o,dn,null,new jt(n.toArray())):e.withMutations(function(t){t.setSize(o),n.forEach(function(e,n){return t.set(n,e)})}))}function Kt(t){return!(!t||!t[Vn])}function jt(t,e){this.array=t,this.ownerID=e}function zt(t,e){function n(t,e,n){return 0===e?r(t,n):o(t,e,n)}function r(t,n){var r=n===s?u&&u.array:t&&t.array,o=n>i?0:i-n,c=a-n;return c>hn&&(c=hn),function(){if(o===c)return Yn;var t=e?--c:o++;return r&&r[t]}}function o(t,r,o){var s,u=t&&t.array,c=o>i?0:i-o>>r,l=1+(a-o>>r);return l>hn&&(l=hn),function(){for(;;){if(s){var t=s();if(t!==Yn)return t;s=null}if(c===l)return Yn;var i=e?--l:c++;s=n(u&&u[i],r-dn,o+(i<<r))}}}var i=t._origin,a=t._capacity,s=Qt(a),u=t._tail;return n(t._root,t._level,0)}function qt(t,e,n,r,o,i,a){var s=Object.create(Jn);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 Ht(){return Gn||(Gn=qt(0,0,dn))}function Wt(t,e,n){if((e=g(t,e))!==e)return t;if(e>=t.size||e<0)return t.withMutations(function(t){e<0?Yt(t,e).set(0,n):Yt(t,0,e+1).set(e,n)});e+=t._origin;var r=t._tail,o=t._root,i=l(mn);return e>=Qt(t._capacity)?r=Vt(r,t.__ownerID,0,e,n,i):o=Vt(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):qt(t._origin,t._capacity,t._level,o,r):t}function Vt(t,e,n,r,o,i){var a=r>>>n&gn,s=t&&a<t.array.length;if(!s&&void 0===o)return t;var u;if(n>0){var c=t&&t.array[a],l=Vt(c,e,n-dn,r,o,i);return l===c?t:(u=Jt(t,e),u.array[a]=l,u)}return s&&t.array[a]===o?t:(p(i),u=Jt(t,e),void 0===o&&a===u.array.length-1?u.array.pop():u.array[a]=o,u)}function Jt(t,e){return e&&t&&e===t.ownerID?t:new jt(t?t.array.slice():[],e)}function Gt(t,e){if(e>=Qt(t._capacity))return t._tail;if(e<1<<t._level+dn){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&gn],r-=dn;return n}}function Yt(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new f,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 u=t._level,c=t._root,l=0;a+l<0;)c=new jt(c&&c.array.length?[void 0,c]:[],r),u+=dn,l+=1<<u;l&&(a+=l,o+=l,s+=l,i+=l);for(var p=Qt(i),d=Qt(s);d>=1<<u+dn;)c=new jt(c&&c.array.length?[c]:[],r),u+=dn;var h=t._tail,g=d<p?Gt(t,s-1):d>p?new jt([],r):h;if(h&&d>p&&a<i&&h.array.length){c=Jt(c,r);for(var v=c,y=u;y>dn;y-=dn){var m=p>>>y&gn;v=v.array[m]=Jt(v.array[m],r)}v.array[p>>>dn&gn]=h}if(s<i&&(g=g&&g.removeAfter(r,0,s)),a>=d)a-=d,s-=d,u=dn,c=null,g=g&&g.removeBefore(r,0,a);else if(a>o||d<p){for(l=0;c;){var _=a>>>u&gn;if(_!==d>>>u&gn)break;_&&(l+=(1<<u)*_),u-=dn,c=c.array[_]}c&&a>o&&(c=c.removeBefore(r,u,a-l)),c&&d<p&&(c=c.removeAfter(r,u,d-l)),l&&(a-=l,s-=l)}return t.__ownerID?(t.size=s-a,t._origin=a,t._capacity=s,t._level=u,t._root=c,t._tail=g,t.__hash=void 0,t.__altered=!0,t):qt(a,s,u,c,g)}function Xt(t,e,n){for(var o=[],a=0,s=0;s<n.length;s++){var u=n[s],c=r(u);c.size>a&&(a=c.size),i(u)||(c=c.map(function(t){return W(t)})),o.push(c)}return a>t.size&&(t=t.setSize(a)),At(t,e,o)}function Qt(t){return t<hn?0:t-1>>>dn<<dn}function $t(t){return null===t||void 0===t?ee():Zt(t)?t:ee().withMutations(function(e){var r=n(t);lt(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function Zt(t){return ft(t)&&c(t)}function te(t,e,n,r){var o=Object.create($t.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=n,o.__hash=r,o}function ee(){return Xn||(Xn=te(St(),Ht()))}function ne(t,e,n){var r,o,i=t._map,a=t._list,s=i.get(e),u=void 0!==s;if(n===vn){if(!u)return t;a.size>=hn&&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(u){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):te(r,o)}function re(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function oe(t){this._iter=t,this.size=t.size}function ie(t){this._iter=t,this.size=t.size}function ae(t){this._iter=t,this.size=t.size}function se(t){var e=Te(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=Me,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===wn){var r=t.__iterator(e,n);return new w(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===bn?_n:bn,n)},e}function ue(t,e,n){var r=Te(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,o){var i=t.get(r,vn);return i===vn?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(wn,o);return new w(function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return S(r,s,e.call(n,a[1],s,t),o)})},r}function ce(t,e){var n=Te(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=se(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=Me,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 le(t,e,n,r){var o=Te(t);return r&&(o.has=function(r){var o=t.get(r,vn);return o!==vn&&!!e.call(n,o,r,t)},o.get=function(r,o){var i=t.get(r,vn);return i!==vn&&e.call(n,i,r,t)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return t.__iterate(function(t,i,u){if(e.call(n,t,i,u))return s++,o(t,r?i:s-1,a)},i),s},o.__iteratorUncached=function(o,i){var a=t.__iterator(wn,i),s=0;return new w(function(){for(;;){var i=a.next();if(i.done)return i;var u=i.value,c=u[0],l=u[1];if(e.call(n,l,c,t))return S(o,r?c:s++,l,i)}})},o}function pe(t,e,n){var r=pt().asMutable();return t.__iterate(function(o,i){r.update(e.call(n,o,i,t),0,function(t){return t+1})}),r.asImmutable()}function fe(t,e,n){var r=a(t),o=(c(t)?$t():pt()).asMutable();t.__iterate(function(i,a){o.update(e.call(n,i,a,t),function(t){return t=t||[],t.push(r?[a,i]:i),t})});var i=Oe(t);return o.map(function(e){return Ce(t,i(e))})}function de(t,e,n,r){var o=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n===1/0?n=o:n|=0),y(e,n,o))return t;var i=m(e,o),a=_(n,o);if(i!==i||a!==a)return de(t.toSeq().cacheResult(),e,n,r);var s,u=a-i;u===u&&(s=u<0?0:u);var c=Te(t);return c.size=0===s?s:t.size&&s||void 0,!r&&B(t)&&s>=0&&(c.get=function(e,n){return e=g(this,e),e>=0&&e<s?t.get(e+i,n):n}),c.__iterateUncached=function(e,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,u=!0,c=0;return t.__iterate(function(t,n){if(!u||!(u=a++<i))return c++,!1!==e(t,r?n:c-1,o)&&c!==s}),c},c.__iteratorUncached=function(e,n){if(0!==s&&n)return this.cacheResult().__iterator(e,n);var o=0!==s&&t.__iterator(e,n),a=0,u=0;return new w(function(){for(;a++<i;)o.next();if(++u>s)return k();var t=o.next();return r||e===bn?t:e===_n?S(e,u-1,void 0,t):S(e,u-1,t.value[1],t)})},c}function he(t,e,n){var r=Te(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(wn,o),s=!0;return new w(function(){if(!s)return k();var t=a.next();if(t.done)return t;var o=t.value,u=o[0],c=o[1];return e.call(n,c,u,i)?r===wn?t:S(r,u,c,t):(s=!1,k())})},r}function ge(t,e,n,r){var o=Te(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,u=0;return t.__iterate(function(t,i,c){if(!s||!(s=e.call(n,t,i,c)))return u++,o(t,r?i:u-1,a)}),u},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=t.__iterator(wn,i),u=!0,c=0;return new w(function(){var t,i,l;do{if(t=s.next(),t.done)return r||o===bn?t:o===_n?S(o,c++,void 0,t):S(o,c++,t.value[1],t);var p=t.value;i=p[0],l=p[1],u&&(u=e.call(n,l,i,a))}while(u);return o===wn?t:S(o,i,l,t)})},o}function ve(t,e){var r=a(t),o=[t].concat(e).map(function(t){return i(t)?r&&(t=n(t)):t=r?F(t):K(Array.isArray(t)?t:[t]),t}).filter(function(t){return 0!==t.size});if(0===o.length)return t;if(1===o.length){var u=o[0];if(u===t||r&&a(u)||s(t)&&s(u))return u}var c=new A(o);return r?c=c.toKeyedSeq():s(t)||(c=c.toSetSeq()),c=c.flatten(!0),c.size=o.reduce(function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}},0),c}function ye(t,e,n){var r=Te(t);return r.__iterateUncached=function(r,o){function a(t,c){var l=this;t.__iterate(function(t,o){return(!e||c<e)&&i(t)?a(t,c+1):!1===r(t,n?o:s++,l)&&(u=!0),!u},o)}var s=0,u=!1;return a(t,0),s},r.__iteratorUncached=function(r,o){var a=t.__iterator(r,o),s=[],u=0;return new w(function(){for(;a;){var t=a.next();if(!1===t.done){var c=t.value;if(r===wn&&(c=c[1]),e&&!(s.length<e)||!i(c))return n?t:S(r,u++,c,t);s.push(a),a=c.__iterator(r,o)}else a=s.pop()}return k()})},r}function me(t,e,n){var r=Oe(t);return t.toSeq().map(function(o,i){return r(e.call(n,o,i,t))}).flatten(!0)}function _e(t,e){var n=Te(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(bn,r),a=0;return new w(function(){return(!o||a%2)&&(o=i.next(),o.done)?o:a%2?S(n,a++,e):S(n,a++,o.value,o)})},n}function be(t,e,n){e||(e=De);var r=a(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?D(i):s(t)?I(i):R(i)}function we(t,e,n){if(e||(e=De),n){var r=t.toSeq().map(function(e,r){return[e,n(e,r,t)]}).reduce(function(t,n){return Se(e,t[1],n[1])?n:t});return r&&r[0]}return t.reduce(function(t,n){return Se(e,t,n)?n:t})}function Se(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(void 0===n||null===n||n!==n)||r>0}function ke(t,n,r){var o=Te(t);return o.size=new A(r).map(function(t){return t.size}).min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(bn,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=e(t),x(o?t.reverse():t)}),a=0,s=!1;return new w(function(){var e;return s||(e=i.map(function(t){return t.next()}),s=e.some(function(t){return t.done})),s?k():S(t,a++,n.apply(null,e.map(function(t){return t.value})))})},o}function Ce(t,e){return B(t)?e:t.constructor(e)}function Ee(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function xe(t){return lt(t.size),h(t)}function Oe(t){return a(t)?n:s(t)?r:o}function Te(t){return Object.create((a(t)?D:s(t)?I:R).prototype)}function Me(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):M.prototype.cacheResult.call(this)}function De(t,e){return t>e?1:t<e?-1:0}function Ie(t){var n=x(t);if(!n){if(!T(t))throw new TypeError("Expected iterable or array-like: "+t);n=x(e(t))}return n}function Re(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);Ne(o,a),o.size=a.length,o._name=e,o._keys=a,o._defaultValues=t}this._map=pt(i)},o=r.prototype=Object.create(Qn);return o.constructor=r,r}function Ae(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function Pe(t){return t._name||t.constructor.name||"Record"}function Ne(t,e){try{e.forEach(Le.bind(void 0,t))}catch(t){}}function Le(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){$(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function Be(t){return null===t||void 0===t?je():Ue(t)&&!c(t)?t:je().withMutations(function(e){var n=o(t);lt(n.size),n.forEach(function(t){return e.add(t)})})}function Ue(t){return!(!t||!t[$n])}function Fe(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 Ke(t,e){var n=Object.create(Zn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function je(){return tr||(tr=Ke(St()))}function ze(t){return null===t||void 0===t?We():qe(t)?t:We().withMutations(function(e){var n=o(t);lt(n.size),n.forEach(function(t){return e.add(t)})})}function qe(t){return Ue(t)&&c(t)}function He(t,e){var n=Object.create(er);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function We(){return nr||(nr=He(ee()))}function Ve(t){return null===t||void 0===t?Ye():Je(t)?t:Ye().unshiftAll(t)}function Je(t){return!(!t||!t[rr])}function Ge(t,e,n,r){var o=Object.create(or);return o.size=t,o._head=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Ye(){return ir||(ir=Ge(0))}function Xe(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}function Qe(t,e){return e}function $e(t,e){return[e,t]}function Ze(t){return function(){return!t.apply(this,arguments)}}function tn(t){return function(){return-t.apply(this,arguments)}}function en(t){return"string"==typeof t?JSON.stringify(t):String(t)}function nn(){return d(arguments)}function rn(t,e){return t<e?1:t>e?-1:0}function on(t){if(t.size===1/0)return 0;var e=c(t),n=a(t),r=e?1:0;return an(t.__iterate(n?e?function(t,e){r=31*r+sn(it(t),it(e))|0}:function(t,e){r=r+sn(it(t),it(e))|0}:e?function(t){r=31*r+it(t)|0}:function(t){r=r+it(t)|0}),r)}function an(t,e){return e=Dn(e,3432918353),e=Dn(e<<15|e>>>-15,461845907),e=Dn(e<<13|e>>>-13,5),e=(e+3864292196|0)^t,e=Dn(e^e>>>16,2246822507),e=Dn(e^e>>>13,3266489909),e=ot(e^e>>>16)}function sn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}var un=Array.prototype.slice;t(n,e),t(r,e),t(o,e),e.isIterable=i,e.isKeyed=a,e.isIndexed=s,e.isAssociative=u,e.isOrdered=c,e.Keyed=n,e.Indexed=r,e.Set=o;var cn="@@__IMMUTABLE_ITERABLE__@@",ln="@@__IMMUTABLE_KEYED__@@",pn="@@__IMMUTABLE_INDEXED__@@",fn="@@__IMMUTABLE_ORDERED__@@",dn=5,hn=1<<dn,gn=hn-1,vn={},yn={value:!1},mn={value:!1},_n=0,bn=1,wn=2,Sn="function"==typeof Symbol&&Symbol.iterator,kn="@@iterator",Cn=Sn||kn;w.prototype.toString=function(){return"[Iterator]"},w.KEYS=_n,w.VALUES=bn,w.ENTRIES=wn,w.prototype.inspect=w.prototype.toSource=function(){return this.toString()},w.prototype[Cn]=function(){return this},t(M,e),M.of=function(){return M(arguments)},M.prototype.toSeq=function(){return this},M.prototype.toString=function(){return this.__toString("Seq {","}")},M.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},M.prototype.__iterate=function(t,e){return q(this,t,e,!0)},M.prototype.__iterator=function(t,e){return H(this,t,e,!0)},t(D,M),D.prototype.toKeyedSeq=function(){return this},t(I,M),I.of=function(){return I(arguments)},I.prototype.toIndexedSeq=function(){return this},I.prototype.toString=function(){return this.__toString("Seq [","]")},I.prototype.__iterate=function(t,e){return q(this,t,e,!1)},I.prototype.__iterator=function(t,e){return H(this,t,e,!1)},t(R,M),R.of=function(){return R(arguments)},R.prototype.toSetSeq=function(){return this},M.isSeq=B,M.Keyed=D,M.Set=R,M.Indexed=I;var En="@@__IMMUTABLE_SEQ__@@";M.prototype[En]=!0,t(A,I),A.prototype.get=function(t,e){return this.has(t)?this._array[g(this,t)]:e},A.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},A.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,o=0;return new w(function(){return o>r?k():S(t,o,n[e?r-o++:o++])})},t(P,D),P.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},P.prototype.has=function(t){return this._object.hasOwnProperty(t)},P.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},P.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length-1,i=0;return new w(function(){var a=r[e?o-i:i];return i++>o?k():S(t,a,n[a])})},P.prototype[fn]=!0,t(N,I),N.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=this._iterable,r=x(n),o=0;if(E(r))for(var i;!(i=r.next()).done&&!1!==t(i.value,o++,this););return o},N.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterable,r=x(n);if(!E(r))return new w(k);var o=0;return new w(function(){var e=r.next();return e.done?e:S(t,o++,e.value)})},t(L,I),L.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n=this._iterator,r=this._iteratorCache,o=0;o<r.length;)if(!1===t(r[o],o++,this))return o;for(var i;!(i=n.next()).done;){var a=i.value;if(r[o]=a,!1===t(a,o++,this))break}return o},L.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,o=0;return new w(function(){if(o>=r.length){var e=n.next();if(e.done)return e;r[o]=e.value}return S(t,o,r[o++])})};var xn;t(Q,I),Q.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Q.prototype.get=function(t,e){return this.has(t)?this._value:e},Q.prototype.includes=function(t){return Y(this._value,t)},Q.prototype.slice=function(t,e){var n=this.size;return y(t,e,n)?this:new Q(this._value,_(e,n)-m(t,n))},Q.prototype.reverse=function(){return this},Q.prototype.indexOf=function(t){return Y(this._value,t)?0:-1},Q.prototype.lastIndexOf=function(t){return Y(this._value,t)?this.size:-1},Q.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},Q.prototype.__iterator=function(t,e){var n=this,r=0;return new w(function(){return r<n.size?S(t,r++,n._value):k()})},Q.prototype.equals=function(t){return t instanceof Q?Y(this._value,t._value):X(t)};var On;t(Z,I),Z.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},Z.prototype.get=function(t,e){return this.has(t)?this._start+g(this,t)*this._step:e},Z.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},Z.prototype.slice=function(t,e){return y(t,e,this.size)?this:(t=m(t,this.size),e=_(e,this.size),e<=t?new Z(0,0):new Z(this.get(t,this._end),this.get(e,this._end),this._step))},Z.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},Z.prototype.lastIndexOf=function(t){return this.indexOf(t)},Z.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},Z.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 w(function(){var a=o;return o+=e?-r:r,i>n?k():S(t,i++,a)})},Z.prototype.equals=function(t){return t instanceof Z?this._start===t._start&&this._end===t._end&&this._step===t._step:X(this,t)};var Tn;t(tt,e),t(et,tt),t(nt,tt),t(rt,tt),tt.Keyed=et,tt.Indexed=nt,tt.Set=rt;var Mn,Dn="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){t|=0,e|=0;var n=65535&t,r=65535&e;return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0},In=Object.isExtensible,Rn=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),An="function"==typeof WeakMap;An&&(Mn=new WeakMap);var Pn=0,Nn="__immutablehash__";"function"==typeof Symbol&&(Nn=Symbol(Nn));var Ln=16,Bn=255,Un=0,Fn={};t(pt,et),pt.of=function(){var t=un.call(arguments,0);return St().withMutations(function(e){for(var n=0;n<t.length;n+=2){if(n+1>=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}})},pt.prototype.toString=function(){return this.__toString("Map {","}")},pt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},pt.prototype.set=function(t,e){return kt(this,t,e)},pt.prototype.setIn=function(t,e){return this.updateIn(t,vn,function(){return e})},pt.prototype.remove=function(t){return kt(this,t,vn)},pt.prototype.deleteIn=function(t){return this.updateIn(t,function(){return vn})},pt.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},pt.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=Pt(this,Ie(t),e,n);return r===vn?void 0:r},pt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):St()},pt.prototype.merge=function(){return Dt(this,void 0,arguments)},pt.prototype.mergeWith=function(t){return Dt(this,t,un.call(arguments,1))},pt.prototype.mergeIn=function(t){var e=un.call(arguments,1);return this.updateIn(t,St(),function(t){return"function"==typeof t.merge?t.merge.apply(t,e):e[e.length-1]})},pt.prototype.mergeDeep=function(){return Dt(this,It,arguments)},pt.prototype.mergeDeepWith=function(t){var e=un.call(arguments,1);return Dt(this,Rt(t),e)},pt.prototype.mergeDeepIn=function(t){var e=un.call(arguments,1);return this.updateIn(t,St(),function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,e):e[e.length-1]})},pt.prototype.sort=function(t){return $t(be(this,t))},pt.prototype.sortBy=function(t,e){return $t(be(this,e,t))},pt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},pt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new f)},pt.prototype.asImmutable=function(){return this.__ensureOwner()},pt.prototype.wasAltered=function(){return this.__altered},pt.prototype.__iterator=function(t,e){return new mt(this,t,e)},pt.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},pt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?wt(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},pt.isMap=ft;var Kn="@@__IMMUTABLE_MAP__@@",jn=pt.prototype;jn[Kn]=!0,jn.delete=jn.remove,jn.removeIn=jn.deleteIn,dt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(Y(n,o[i][0]))return o[i][1];return r},dt.prototype.update=function(t,e,n,r,o,i,a){for(var s=o===vn,u=this.entries,c=0,l=u.length;c<l&&!Y(r,u[c][0]);c++);var f=c<l;if(f?u[c][1]===o:s)return this;if(p(a),(s||!f)&&p(i),!s||1!==u.length){if(!f&&!s&&u.length>=qn)return Ot(t,u,r,o);var h=t&&t===this.ownerID,g=h?u:d(u);return f?s?c===l-1?g.pop():g[c]=g.pop():g[c]=[r,o]:g.push([r,o]),h?(this.entries=g,this):new dt(t,g)}},ht.prototype.get=function(t,e,n,r){void 0===e&&(e=it(n));var o=1<<((0===t?e:e>>>t)&gn),i=this.bitmap;return 0==(i&o)?r:this.nodes[Nt(i&o-1)].get(t+dn,e,n,r)},ht.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=it(r));var s=(0===e?n:n>>>e)&gn,u=1<<s,c=this.bitmap,l=0!=(c&u);if(!l&&o===vn)return this;var p=Nt(c&u-1),f=this.nodes,d=l?f[p]:void 0,h=Ct(d,t,e+dn,n,r,o,i,a);if(h===d)return this;if(!l&&h&&f.length>=Hn)return Mt(t,f,c,s,h);if(l&&!h&&2===f.length&&Et(f[1^p]))return f[1^p];if(l&&h&&1===f.length&&Et(h))return h;var g=t&&t===this.ownerID,v=l?h?c:c^u:c|u,y=l?h?Lt(f,p,h,g):Ut(f,p,g):Bt(f,p,h,g);return g?(this.bitmap=v,this.nodes=y,this):new ht(t,v,y)},gt.prototype.get=function(t,e,n,r){void 0===e&&(e=it(n));var o=(0===t?e:e>>>t)&gn,i=this.nodes[o];return i?i.get(t+dn,e,n,r):r},gt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=it(r));var s=(0===e?n:n>>>e)&gn,u=o===vn,c=this.nodes,l=c[s];if(u&&!l)return this;var p=Ct(l,t,e+dn,n,r,o,i,a);if(p===l)return this;var f=this.count;if(l){if(!p&&--f<Wn)return Tt(t,c,f,s)}else f++;var d=t&&t===this.ownerID,h=Lt(c,s,p,d);return d?(this.count=f,this.nodes=h,this):new gt(t,f,h)},vt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(Y(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=it(r));var s=o===vn;if(n!==this.keyHash)return s?this:(p(a),p(i),xt(this,t,e,n,[r,o]));for(var u=this.entries,c=0,l=u.length;c<l&&!Y(r,u[c][0]);c++);var f=c<l;if(f?u[c][1]===o:s)return this;if(p(a),(s||!f)&&p(i),s&&2===l)return new yt(t,this.keyHash,u[1^c]);var h=t&&t===this.ownerID,g=h?u:d(u);return f?s?c===l-1?g.pop():g[c]=g.pop():g[c]=[r,o]:g.push([r,o]),h?(this.entries=g,this):new vt(t,this.keyHash,g)},yt.prototype.get=function(t,e,n,r){return Y(n,this.entry[0])?this.entry[1]:r},yt.prototype.update=function(t,e,n,r,o,i,a){var s=o===vn,u=Y(r,this.entry[0]);return(u?o===this.entry[1]:s)?this:(p(a),s?void p(i):u?t&&t===this.ownerID?(this.entry[1]=o,this):new yt(t,this.keyHash,[r,o]):(p(i),xt(this,t,e,it(r),[r,o])))},dt.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},ht.prototype.iterate=gt.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}},yt.prototype.iterate=function(t,e){return t(this.entry)},t(mt,w),mt.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 _t(t,r.entry)}else if(r.entries){if(n=r.entries.length-1,o<=n)return _t(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 _t(t,i.entry);e=this._stack=bt(i,e)}continue}e=this._stack=this._stack.__prev}return k()};var zn,qn=hn/4,Hn=hn/2,Wn=hn/4;t(Ft,nt),Ft.of=function(){return this(arguments)},Ft.prototype.toString=function(){return this.__toString("List [","]")},Ft.prototype.get=function(t,e){if((t=g(this,t))>=0&&t<this.size){t+=this._origin;var n=Gt(this,t);return n&&n.array[t&gn]}return e},Ft.prototype.set=function(t,e){return Wt(this,t,e)},Ft.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},Ft.prototype.insert=function(t,e){return this.splice(t,0,e)},Ft.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=dn,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Ht()},Ft.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations(function(n){Yt(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])})},Ft.prototype.pop=function(){return Yt(this,0,-1)},Ft.prototype.unshift=function(){var t=arguments;return this.withMutations(function(e){Yt(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])})},Ft.prototype.shift=function(){return Yt(this,1)},Ft.prototype.merge=function(){return Xt(this,void 0,arguments)},Ft.prototype.mergeWith=function(t){return Xt(this,t,un.call(arguments,1))},Ft.prototype.mergeDeep=function(){return Xt(this,It,arguments)},Ft.prototype.mergeDeepWith=function(t){var e=un.call(arguments,1);return Xt(this,Rt(t),e)},Ft.prototype.setSize=function(t){return Yt(this,0,t)},Ft.prototype.slice=function(t,e){var n=this.size;return y(t,e,n)?this:Yt(this,m(t,n),_(e,n))},Ft.prototype.__iterator=function(t,e){var n=0,r=zt(this,e);return new w(function(){var e=r();return e===Yn?k():S(t,n++,e)})},Ft.prototype.__iterate=function(t,e){for(var n,r=0,o=zt(this,e);(n=o())!==Yn&&!1!==t(n,r++,this););return r},Ft.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?qt(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},Ft.isList=Kt;var Vn="@@__IMMUTABLE_LIST__@@",Jn=Ft.prototype;Jn[Vn]=!0,Jn.delete=Jn.remove,Jn.setIn=jn.setIn,Jn.deleteIn=Jn.removeIn=jn.removeIn,Jn.update=jn.update,Jn.updateIn=jn.updateIn,Jn.mergeIn=jn.mergeIn,Jn.mergeDeepIn=jn.mergeDeepIn,Jn.withMutations=jn.withMutations,Jn.asMutable=jn.asMutable,Jn.asImmutable=jn.asImmutable,Jn.wasAltered=jn.wasAltered,jt.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&gn;if(r>=this.array.length)return new jt([],t);var o,i=0===r;if(e>0){var a=this.array[r];if((o=a&&a.removeBefore(t,e-dn,n))===a&&i)return this}if(i&&!o)return this;var s=Jt(this,t);if(!i)for(var u=0;u<r;u++)s.array[u]=void 0;return o&&(s.array[r]=o),s},jt.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r=n-1>>>e&gn;if(r>=this.array.length)return this;var o;if(e>0){var i=this.array[r];if((o=i&&i.removeAfter(t,e-dn,n))===i&&r===this.array.length-1)return this}var a=Jt(this,t);return a.array.splice(r+1),o&&(a.array[r]=o),a};var Gn,Yn={};t($t,pt),$t.of=function(){return this(arguments)},$t.prototype.toString=function(){return this.__toString("OrderedMap {","}")},$t.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},$t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):ee()},$t.prototype.set=function(t,e){return ne(this,t,e)},$t.prototype.remove=function(t){return ne(this,t,vn)},$t.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},$t.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],n)},e)},$t.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},$t.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?te(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},$t.isOrderedMap=Zt,$t.prototype[fn]=!0,$t.prototype.delete=$t.prototype.remove;var Xn;t(re,D),re.prototype.get=function(t,e){return this._iter.get(t,e)},re.prototype.has=function(t){return this._iter.has(t)},re.prototype.valueSeq=function(){return this._iter.valueSeq()},re.prototype.reverse=function(){var t=this,e=ce(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},re.prototype.map=function(t,e){var n=this,r=ue(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},re.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?xe(this):0,function(o){return t(o,e?--n:n++,r)}),e)},re.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(bn,e),r=e?xe(this):0;return new w(function(){var o=n.next();return o.done?o:S(t,e?--r:r++,o.value,o)})},re.prototype[fn]=!0,t(oe,I),oe.prototype.includes=function(t){return this._iter.includes(t)},oe.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate(function(e){return t(e,r++,n)},e)},oe.prototype.__iterator=function(t,e){var n=this._iter.__iterator(bn,e),r=0;return new w(function(){var e=n.next();return e.done?e:S(t,r++,e.value,e)})},t(ie,R),ie.prototype.has=function(t){return this._iter.includes(t)},ie.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){return t(e,e,n)},e)},ie.prototype.__iterator=function(t,e){var n=this._iter.__iterator(bn,e);return new w(function(){var e=n.next();return e.done?e:S(t,e.value,e.value,e)})},t(ae,D),ae.prototype.entrySeq=function(){return this._iter.toSeq()},ae.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){if(e){Ee(e);var r=i(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}},e)},ae.prototype.__iterator=function(t,e){var n=this._iter.__iterator(bn,e);return new w(function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){Ee(r);var o=i(r);return S(t,o?r.get(0):r[0],o?r.get(1):r[1],e)}}})},oe.prototype.cacheResult=re.prototype.cacheResult=ie.prototype.cacheResult=ae.prototype.cacheResult=Me,t(Re,et),Re.prototype.toString=function(){return this.__toString(Pe(this)+" {","}")},Re.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},Re.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},Re.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=Ae(this,St()))},Re.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+Pe(this));if(this._map&&!this._map.has(t)){if(e===this._defaultValues[t])return this}var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:Ae(this,n)},Re.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:Ae(this,e)},Re.prototype.wasAltered=function(){return this._map.wasAltered()},Re.prototype.__iterator=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterator(t,e)},Re.prototype.__iterate=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterate(t,e)},Re.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?Ae(this,e,t):(this.__ownerID=t,this._map=e,this)};var Qn=Re.prototype;Qn.delete=Qn.remove,Qn.deleteIn=Qn.removeIn=jn.removeIn,Qn.merge=jn.merge,Qn.mergeWith=jn.mergeWith,Qn.mergeIn=jn.mergeIn,Qn.mergeDeep=jn.mergeDeep,Qn.mergeDeepWith=jn.mergeDeepWith,Qn.mergeDeepIn=jn.mergeDeepIn,Qn.setIn=jn.setIn,Qn.update=jn.update,Qn.updateIn=jn.updateIn,Qn.withMutations=jn.withMutations,Qn.asMutable=jn.asMutable,Qn.asImmutable=jn.asImmutable,t(Be,rt),Be.of=function(){return this(arguments)},Be.fromKeys=function(t){return this(n(t).keySeq())},Be.prototype.toString=function(){return this.__toString("Set {","}")},Be.prototype.has=function(t){return this._map.has(t)},Be.prototype.add=function(t){return Fe(this,this._map.set(t,!0))},Be.prototype.remove=function(t){return Fe(this,this._map.remove(t))},Be.prototype.clear=function(){return Fe(this,this._map.clear())},Be.prototype.union=function(){var t=un.call(arguments,0);return t=t.filter(function(t){return 0!==t.size}),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations(function(e){for(var n=0;n<t.length;n++)o(t[n]).forEach(function(t){return e.add(t)})}):this.constructor(t[0])},Be.prototype.intersect=function(){var t=un.call(arguments,0);if(0===t.length)return this;t=t.map(function(t){return o(t)});var e=this;return this.withMutations(function(n){e.forEach(function(e){t.every(function(t){return t.includes(e)})||n.remove(e)})})},Be.prototype.subtract=function(){var t=un.call(arguments,0);if(0===t.length)return this;t=t.map(function(t){return o(t)});var e=this;return this.withMutations(function(n){e.forEach(function(e){t.some(function(t){return t.includes(e)})&&n.remove(e)})})},Be.prototype.merge=function(){return this.union.apply(this,arguments)},Be.prototype.mergeWith=function(t){var e=un.call(arguments,1);return this.union.apply(this,e)},Be.prototype.sort=function(t){return ze(be(this,t))},Be.prototype.sortBy=function(t,e){return ze(be(this,e,t))},Be.prototype.wasAltered=function(){return this._map.wasAltered()},Be.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate(function(e,r){return t(r,r,n)},e)},Be.prototype.__iterator=function(t,e){return this._map.map(function(t,e){return e}).__iterator(t,e)},Be.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)},Be.isSet=Ue;var $n="@@__IMMUTABLE_SET__@@",Zn=Be.prototype;Zn[$n]=!0,Zn.delete=Zn.remove,Zn.mergeDeep=Zn.merge,Zn.mergeDeepWith=Zn.mergeWith,Zn.withMutations=jn.withMutations,Zn.asMutable=jn.asMutable,Zn.asImmutable=jn.asImmutable,Zn.__empty=je,Zn.__make=Ke;var tr;t(ze,Be),ze.of=function(){return this(arguments)},ze.fromKeys=function(t){return this(n(t).keySeq())},ze.prototype.toString=function(){return this.__toString("OrderedSet {","}")},ze.isOrderedSet=qe;var er=ze.prototype;er[fn]=!0,er.__empty=We,er.__make=He;var nr;t(Ve,nt),Ve.of=function(){return this(arguments)},Ve.prototype.toString=function(){return this.__toString("Stack [","]")},Ve.prototype.get=function(t,e){var n=this._head;for(t=g(this,t);n&&t--;)n=n.next;return n?n.value:e},Ve.prototype.peek=function(){return this._head&&this._head.value},Ve.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):Ge(t,e)},Ve.prototype.pushAll=function(t){if(t=r(t),0===t.size)return this;lt(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):Ge(e,n)},Ve.prototype.pop=function(){return this.slice(1)},Ve.prototype.unshift=function(){return this.push.apply(this,arguments)},Ve.prototype.unshiftAll=function(t){return this.pushAll(t)},Ve.prototype.shift=function(){return this.pop.apply(this,arguments)},Ve.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):Ye()},Ve.prototype.slice=function(t,e){if(y(t,e,this.size))return this;var n=m(t,this.size);if(_(e,this.size)!==this.size)return nt.prototype.slice.call(this,t,e);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Ge(r,o)},Ve.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ge(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Ve.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},Ve.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new w(function(){if(r){var e=r.value;return r=r.next,S(t,n++,e)}return k()})},Ve.isStack=Je;var rr="@@__IMMUTABLE_STACK__@@",or=Ve.prototype;or[rr]=!0,or.withMutations=jn.withMutations,or.asMutable=jn.asMutable,or.asImmutable=jn.asImmutable,or.wasAltered=jn.wasAltered;var ir;e.Iterator=w,Xe(e,{toArray:function(){lt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate(function(e,n){t[n]=e}),t},toIndexedSeq:function(){return new oe(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 re(this,!0)},toMap:function(){return pt(this.toKeyedSeq())},toObject:function(){lt(this.size);var t={};return this.__iterate(function(e,n){t[n]=e}),t},toOrderedMap:function(){return $t(this.toKeyedSeq())},toOrderedSet:function(){return ze(a(this)?this.valueSeq():this)},toSet:function(){return Be(a(this)?this.valueSeq():this)},toSetSeq:function(){return new ie(this)},toSeq:function(){return s(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Ve(a(this)?this.valueSeq():this)},toList:function(){return Ft(a(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(){return Ce(this,ve(this,un.call(arguments,0)))},includes:function(t){return this.some(function(e){return Y(e,t)})},entries:function(){return this.__iterator(wn)},every:function(t,e){lt(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 Ce(this,le(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},forEach:function(t,e){return lt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){lt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate(function(r){n?n=!1:e+=t,e+=null!==r&&void 0!==r?r.toString():""}),e},keys:function(){return this.__iterator(_n)},map:function(t,e){return Ce(this,ue(this,t,e))},reduce:function(t,e,n){lt(this.size);var r,o;return 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 Ce(this,ce(this,!0))},slice:function(t,e){return Ce(this,de(this,t,e,!0))},some:function(t,e){return!this.every(Ze(t),e)},sort:function(t){return Ce(this,be(this,t))},values:function(){return this.__iterator(bn)},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 h(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return pe(this,t,e)},equals:function(t){return X(this,t)},entrySeq:function(){var t=this;if(t._cache)return new A(t._cache);var e=t.toSeq().map($e).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Ze(t),e)},findEntry:function(t,e,n){var r=n;return this.__iterate(function(n,o,i){if(t.call(e,n,o,i))return r=[o,n],!1}),r},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},findLastEntry:function(t,e,n){return this.toKeyedSeq().reverse().findEntry(t,e,n)},findLastKey:function(t,e){return this.toKeyedSeq().reverse().findKey(t,e)},first:function(){return this.find(v)},flatMap:function(t,e){return Ce(this,me(this,t,e))},flatten:function(t){return Ce(this,ye(this,t,!0))},fromEntrySeq:function(){return new ae(this)},get:function(t,e){return this.find(function(e,n){return Y(n,t)},void 0,e)},getIn:function(t,e){for(var n,r=this,o=Ie(t);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,vn):vn)===vn)return e}return r},groupBy:function(t,e){return fe(this,t,e)},has:function(t){return this.get(t,vn)!==vn},hasIn:function(t){return this.getIn(t,vn)!==vn},isSubset:function(t){return t="function"==typeof t.includes?t:e(t),this.every(function(e){return t.includes(e)})},isSuperset:function(t){return t="function"==typeof t.isSubset?t:e(t),t.isSubset(this)},keyOf:function(t){return this.findKey(function(e){return Y(e,t)})},keySeq:function(){return this.toSeq().map(Qe).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return we(this,t)},maxBy:function(t,e){return we(this,e,t)},min:function(t){return we(this,t?tn(t):rn)},minBy:function(t,e){return we(this,e?tn(e):rn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Ce(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Ce(this,ge(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Ze(t),e)},sortBy:function(t,e){return Ce(this,be(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Ce(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Ce(this,he(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Ze(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=on(this))}});var ar=e.prototype;ar[cn]=!0,ar[Cn]=ar.values,ar.__toJS=ar.toArray,ar.__toStringMapper=en,ar.inspect=ar.toSource=function(){return this.toString()},ar.chain=ar.flatMap,ar.contains=ar.includes,Xe(n,{flip:function(){return Ce(this,se(this))},mapEntries:function(t,e){var n=this,r=0;return Ce(this,this.toSeq().map(function(o,i){return t.call(e,[i,o],r++,n)}).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Ce(this,this.toSeq().flip().map(function(r,o){return t.call(e,r,o,n)}).flip())}});var sr=n.prototype;return sr[ln]=!0,sr[Cn]=ar.entries,sr.__toJS=ar.toObject,sr.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+en(t)},Xe(r,{toKeyedSeq:function(){return new re(this,!1)},filter:function(t,e){return Ce(this,le(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.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return Ce(this,ce(this,!1))},slice:function(t,e){return Ce(this,de(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 Ce(this,1===n?r:r.concat(d(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.findLastEntry(t,e);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(t){return Ce(this,ye(this,t,!1))},get:function(t,e){return t=g(this,t),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=g(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Ce(this,_e(this,t))},interleave:function(){var t=[this].concat(d(arguments)),e=ke(this.toSeq(),I.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Ce(this,n)},keySeq:function(){return Z(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Ce(this,ge(this,t,e,!1))},zip:function(){return Ce(this,ke(this,nn,[this].concat(d(arguments))))},zipWith:function(t){var e=d(arguments);return e[0]=this,Ce(this,ke(this,t,e))}}),r.prototype[pn]=!0,r.prototype[fn]=!0,Xe(o,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=ar.includes,o.prototype.contains=o.prototype.includes,Xe(D,n.prototype),Xe(I,r.prototype),Xe(R,o.prototype),Xe(et,n.prototype),Xe(nt,r.prototype),Xe(rt,o.prototype),{Iterable:e,Seq:M,Collection:tt,Map:pt,OrderedMap:$t,List:Ft,Stack:Ve,Set:Be,OrderedSet:ze,Record:Re,Range:Z,Repeat:Q,is:Y,fromJS:W}})},function(t,e,n){"use strict";t.exports="15.3.2"},function(t,e,n){"use strict";function r(t){if(t){var e=t.getName();if(e)return" Check the render method of `"+e+"`."}return""}function o(t){return"function"==typeof t&&void 0!==t.prototype&&"function"==typeof t.prototype.mountComponent&&"function"==typeof t.prototype.receiveComponent}function i(t,e){var n;if(null===t||!1===t)n=c.create(i);else if("object"==typeof t){var s=t;(!s||"function"!=typeof s.type&&"string"!=typeof s.type)&&a("130",null==s.type?s.type:typeof s.type,r(s._owner)),"string"==typeof s.type?n=l.createInternalComponent(s):o(s.type)?(n=new s.type(s),n.getHostNode||(n.getHostNode=n.getNativeNode)):n=new p(s)}else"string"==typeof t||"number"==typeof t?n=l.createInstanceForText(t):a("131",typeof t);return n._mountIndex=0,n._mountImage=null,n}var a=n(1),s=n(5),u=n(310),c=n(156),l=n(158),p=(n(0),n(2),function(t){this.construct(t)});s(p.prototype,u.Mixin,{_instantiateReactComponent:i});t.exports=i},function(t,e,n){"use strict";var r=n(11),o=n(188),i=n(191),a=n(197),s=n(195),u=n(115),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(190);t.exports=function(t){return new Promise(function(e,l){var p=t.data,f=t.headers;r.isFormData(p)&&delete f["Content-Type"];var d=new XMLHttpRequest,h="onreadystatechange",g=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in d||s(t.url)||(d=new window.XDomainRequest,h="onload",g=!0,d.onprogress=function(){},d.ontimeout=function(){}),t.auth){var v=t.auth.username||"",y=t.auth.password||"";f.Authorization="Basic "+c(v+":"+y)}if(d.open(t.method.toUpperCase(),i(t.url,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,d[h]=function(){if(d&&(4===d.readyState||g)&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in d?a(d.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?d.response:d.responseText,i={data:r,status:1223===d.status?204:d.status,statusText:1223===d.status?"No Content":d.statusText,headers:n,config:t,request:d};o(e,l,i),d=null}},d.onerror=function(){l(u("Network Error",t)),d=null},d.ontimeout=function(){l(u("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED")),d=null},r.isStandardBrowserEnv()){var m=n(193),_=(t.withCredentials||s(t.url))&&t.xsrfCookieName?m.read(t.xsrfCookieName):void 0;_&&(f[t.xsrfHeaderName]=_)}if("setRequestHeader"in d&&r.forEach(f,function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete f[e]:d.setRequestHeader(e,t)}),t.withCredentials&&(d.withCredentials=!0),t.responseType)try{d.responseType=t.responseType}catch(t){if("json"!==d.responseType)throw t}"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){d&&(d.abort(),l(t),d=null)}),void 0===p&&(p=null),d.send(p)})}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";var r=n(187);t.exports=function(t,e,n,o){var i=new Error(t);return r(i,e,n,o)}},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},function(t,e,n){var r=n(118);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(371),o=n(203);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){"use strict";function r(t,e){var n=[],r=t.map(function(t){return t.getStyle()}).toList();return s(r,o,p,function(t,r){n.push(new d({start:t+e,end:r+e}))}),u(n)}function o(t,e){return t===e}var i=n(4),a=n(10),s=n(50),u=i.List,c=i.Repeat,l=i.Record,p=a.thatReturnsTrue,f={start:null,end:null},d=l(f),h={start:null,end:null,decoratorKey:null,leaves:null},g=l(h),v={generate:function(t,e){var n=t.getLength();if(!n)return u.of(new g({start:0,end:0,decoratorKey:null,leaves:u.of(new d({start:0,end:0}))}));var i=[],a=e?e.getDecorations(t):u(c(null,n)),l=t.getCharacterList();return s(a,o,p,function(t,e){i.push(new g({start:t,end:e,decoratorKey:a.get(t),leaves:r(l.slice(t,e).toList(),t)}))}),u(i)},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("-")}};t.exports=v},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";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}function a(t,e){return t.getAnchorKey()===e||t.getFocusKey()===e}var s=n(28),u=s||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},c=(n(27),n(225)),l=n(49),p=n(7),f=n(15),d=n(141),h=(n(33),n(76)),g=n(142),v=n(77),y=n(41),m=n(287),_=n(79),b=n(291),w=n(12),S=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(e,t),e.prototype.shouldComponentUpdate=function(t){return this.props.block!==t.block||this.props.tree!==t.tree||this.props.direction!==t.direction||a(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,r=f.findDOMNode(this),o=h.getScrollParent(r),i=_(o);if(o===window){var a=m(r);n=a.y+a.height-b().height,n>0&&window.scrollTo(i.x,i.y+n+10)}else{n=r.offsetHeight+r.offsetTop-(o.offsetHeight+i.y),n>0&&d.setTop(o,d.getTop(o)+n+10)}}},e.prototype._renderChildren=function(){var t=this,e=this.props.block,n=e.getKey(),r=e.getText(),o=this.props.tree.size-1,i=a(this.props.selection,n);return this.props.tree.map(function(a,s){var f=a.get("leaves"),d=f.size-1,h=f.map(function(a,u){var f=l.encode(n,s,u),h=a.get("start"),g=a.get("end");return p.createElement(c,{key:f,offsetKey:f,blockKey:n,start:h,selection:i?t.props.selection:void 0,forceSelection:t.props.forceSelection,text:r.slice(h,g),styleSet:e.getInlineStyleAt(h),customStyleMap:t.props.customStyleMap,customStyleFn:t.props.customStyleFn,isLast:s===o&&u===d})}).toArray(),y=a.get("decoratorKey");if(null==y)return h;if(!t.props.decorator)return h;var m=w(t.props.decorator),_=m.getComponentForKey(y);if(!_)return h;var b=m.getPropsForKey(y),S=l.encode(n,s,0),k=r.slice(f.first().get("start"),f.last().get("end")),C=v.getHTMLDirIfDifferent(g.getDirection(k),t.props.direction);return p.createElement(_,u({},b,{decoratedText:k,dir:C,key:S,entityKey:e.getEntityAt(a.get("start")),offsetKey:S}),h)}).toArray()},e.prototype.render=function(){var t=this.props,e=t.direction,n=t.offsetKey,r=y({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===e,"public/DraftStyleDefault/rtl":"RTL"===e});return p.createElement("div",{"data-offset-key":n,className:r},this._renderChildren())},e}(p.Component);t.exports=S},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(4),s=a.Record,u=s({type:"TOKEN",mutability:"IMMUTABLE",data:Object}),c=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(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}(u);t.exports=c},function(t,e,n){"use strict";function r(t,e){var n=e?l.exec(t):u.exec(t);return n?n[0]:t}var o=n(279),i=o.getPunctuation(),a="\\s|(?![_])"+i,s="^(?:"+a+")*(?:['‘’]|(?!"+a+").)*(?:(?!"+a+").)",u=new RegExp(s),c="(?:(?!"+a+").)(?:['‘’]|(?!"+a+").)*(?:"+a+")*$",l=new RegExp(c),p={getBackward:function(t){return r(t,!0)},getForward:function(t){return r(t,!1)}};t.exports=p},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){"use strict";function r(){return{text:"",inlines:[],entities:[],blocks:[]}}function o(t){var e=new Array(1);return t&&(e[0]=t),{text:R,inlines:[I()],entities:e,blocks:[]}}function i(){return{text:"\n",inlines:[I()],entities:new Array(1),blocks:[]}}function a(t,e){return{text:"\r",inlines:[I()],entities:new Array(1),blocks:[{type:t,depth:Math.max(0,Math.min(A,e))}]}}function s(t,e){return"li"===t?"ol"===e?"ordered-list-item":"unordered-list-item":null}function u(t){var e=t.get("unstyled").element;return t.map(function(t){return t.element}).valueSeq().toSet().filter(function(t){return t&&t!==e}).toArray().sort()}function c(t,e,n){for(var r=0;r<n.length;r++){var o=n[r](t,e);if(o)return o}return null}function l(t,e,n){var r=n.filter(function(e){return e.element===t||e.wrapper===t}).keySeq().toSet().toArray().sort();switch(r.length){case 0:return"unstyled";case 1:return r[0];default:return c(t,e,[s])||"unstyled"}}function p(t,e,n){var r=j[t];return r?n=n.add(r).toOrderedSet():e instanceof HTMLElement&&function(){var t=e;n=n.withMutations(function(e){var n=t.style.fontWeight,r=t.style.fontStyle,o=t.style.textDecoration;F.indexOf(n)>=0?e.add("BOLD"):K.indexOf(n)>=0&&e.remove("BOLD"),"italic"===r?e.add("ITALIC"):"normal"===r&&e.remove("ITALIC"),"underline"===o&&e.add("UNDERLINE"),"line-through"===o&&e.add("STRIKETHROUGH"),"none"===o&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}).toOrderedSet()}(),n}function f(t,e){var n=t.text.slice(-1),r=e.text.slice(0,1);if("\r"===n&&"\r"===r&&(t.text=t.text.slice(0,-1),t.inlines.pop(),t.entities.pop(),t.blocks.pop()),"\r"===n){if(e.text===R||"\n"===e.text)return t;r!==R&&"\n"!==r||(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)}}function d(t,e){return e.some(function(e){return-1!==t.indexOf("<"+e)})}function h(t){t instanceof HTMLAnchorElement||O(!1);var e=t.protocol;return"http:"===e||"https:"===e||"mailto:"===e}function g(t,e,n,s,u,c,d,v){var y=t.nodeName.toLowerCase(),_=!1,b="unstyled",w=m;if("#text"===y){var k=t.textContent;return""===k.trim()&&"pre"!==s?o(v):("pre"!==s&&(k=k.replace(N,R)),m=y,{text:k,inlines:Array(k.length).fill(e),entities:Array(k.length).fill(v),blocks:[]})}if(m=y,"br"===y)return"br"!==w||s&&"unstyled"!==l(s,n,d)?i():a("unstyled",c);var E=r(),x=null;e=p(y,t,e),"ul"!==y&&"ol"!==y||(n&&(c+=1),n=y),s||-1===u.indexOf(y)?n&&"li"===s&&"li"===y&&(E=a(l(y,n,d),c),s=y,_=!0,b="ul"===n?"unordered-list-item":"ordered-list-item"):(E=a(l(y,n,d),c),s=y,_=!0);var O=t.firstChild;null!=O&&(y=O.nodeName.toLowerCase());for(var T=null;O;){O instanceof HTMLAnchorElement&&O.href&&h(O)?function(){var t=O,e={};z.forEach(function(n){var r=t.getAttribute(n);r&&(e[n]=r)}),e.url=new C(t.href).toString(),T=S.create("LINK","MUTABLE",e)}():T=void 0,x=g(O,e,n,s,u,c,d,T||v),E=f(E,x);var M=O.nextSibling;M&&u.indexOf(y)>=0&&s&&(E=f(E,i())),M&&(y=M.nodeName.toLowerCase()),O=M}return _&&(E=f(E,a(b,c))),E}function v(t,e,n){t=t.trim().replace(P,"").replace(L,R).replace(B,"").replace(U,"");var r=u(n),o=e(t);if(!o)return null;m=null;var i=d(t,r)?r:["div"],a=g(o,I(),"ul",null,i,-1,n);return 0===a.text.indexOf("\r")&&(a={text:a.text.slice(1),inlines:a.inlines.slice(1),entities:a.entities.slice(1),blocks:a.blocks}),"\r"===a.text.slice(-1)&&(a.text=a.text.slice(0,-1),a.inlines=a.inlines.slice(0,-1),a.entities=a.entities.slice(0,-1),a.blocks.pop()),0===a.blocks.length&&a.blocks.push({type:"unstyled",depth:0}),a.text.split("\r").length===a.blocks.length+1&&a.blocks.unshift({type:"unstyled",depth:0}),a}function y(t){var e=arguments.length<=1||void 0===arguments[1]?x:arguments[1],n=arguments.length<=2||void 0===arguments[2]?w:arguments[2],r=v(t,e,n);if(null==r)return null;var o=0;return r.text.split("\r").map(function(t,e){t=M(t);var n=o+t.length,i=T(r).inlines.slice(o,n),a=T(r).entities.slice(o,n),s=D(i.map(function(t,e){var n={style:t,entity:null};return a[e]&&(n.entity=a[e]),_.create(n)}));return o=n+1,new b({key:E(),type:T(r).blocks[e].type,depth:T(r).blocks[e].depth,text:t,characterList:s})})}var m,_=n(14),b=n(27),w=n(69),S=n(20),k=n(4),C=n(280),E=n(18),x=n(131),O=n(0),T=n(12),M=n(74),D=k.List,I=k.OrderedSet,R=" ",A=4,P=new RegExp("\r","g"),N=new RegExp("\n","g"),L=new RegExp("&nbsp;","g"),B=new RegExp("&#13;?","g"),U=new RegExp("&#8203;?","g"),F=["bold","bolder","500","600","700","800","900"],K=["light","lighter","100","200","300","400"],j={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},z=["className","href","rel","target","title"];t.exports=y},function(t,e,n){"use strict";function r(t){return p&&t.altKey||g(t)}function o(t){return h(t)?t.shiftKey?"redo":"undo":null}function i(t){return f&&t.shiftKey?null:r(t)?"delete-word":"delete"}function a(t){return h(t)&&p?"backspace-to-start-of-line":r(t)?"backspace-word":"backspace"}function s(t){switch(t.keyCode){case 66:return h(t)?"bold":null;case 68:return g(t)?"delete":null;case 72:return g(t)?"backspace":null;case 73:return h(t)?"italic":null;case 74:return h(t)?"code":null;case 75:return!f&&g(t)?"secondary-cut":null;case 77:case 79:return g(t)?"split-block":null;case 84:return p&&g(t)?"transpose-characters":null;case 85:return h(t)?"underline":null;case 87:return p&&g(t)?"backspace-word":null;case 89:return g(t)?f?"redo":"secondary-paste":null;case 90:return o(t)||null;case c.RETURN:return"split-block";case c.DELETE:return i(t);case c.BACKSPACE:return a(t);case c.LEFT:return d&&h(t)?"move-selection-to-start-of-block":null;case c.RIGHT:return d&&h(t)?"move-selection-to-end-of-block":null;default:return null}}var u=n(70),c=n(75),l=n(19),p=l.isPlatform("Mac OS X"),f=l.isPlatform("Windows"),d=p&&l.isBrowser("Firefox < 29"),h=u.hasCommandModifier,g=u.isCtrlKeyCommand;t.exports=s},function(t,e,n){"use strict";function r(t,e,n,r,o,i){var s=n.nodeType===Node.TEXT_NODE,c=o.nodeType===Node.TEXT_NODE;if(s&&c)return{selectionState:l(t,f(u(n)),r,f(u(o)),i),needsRecovery:!1};var p=null,d=null,h=!0;return s?(p={key:f(u(n)),offset:r},d=a(e,o,i)):c?(d={key:f(u(o)),offset:i},p=a(e,n,r)):(p=a(e,n,r),d=a(e,o,i),n===o&&r===i&&(h=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:l(t,p.key,p.offset,d.key,d.offset),needsRecovery:h}}function o(t){for(;t.firstChild&&c(t.firstChild);)t=t.firstChild;return t}function i(t){for(;t.lastChild&&c(t.lastChild);)t=t.lastChild;return t}function a(t,e,n){var r=e,a=u(r);if(null!=a||t&&(t===r||t.firstChild===r)||p(!1),t===r&&(r=r.firstChild,r instanceof Element&&"true"===r.getAttribute("data-contents")||p(!1),n>0&&(n=r.childNodes.length)),0===n){var l=null;if(null!=a)l=a;else{var d=o(r);l=f(c(d))}return{key:l,offset:0}}var h=r.childNodes[n-1],g=null,v=null;if(c(h)){var y=i(h);g=f(c(y)),v=s(y)}else g=f(a),v=s(h);return{key:g,offset:v}}function s(t){var e=t.textContent;return"\n"===e?0:e.length}var u=n(71),c=n(132),l=n(134),p=n(0),f=n(12);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.getSelection();return e.isCollapsed()?null:o(t.getCurrentContent(),e)}var o=n(51);t.exports=r},function(t,e,n){"use strict";function r(t){for(var e=t.cloneRange(),n=[],r=t.endContainer;null!=r;r=r.parentNode){var o=r===t.commonAncestorContainer;o?e.setStart(t.startContainer,t.startOffset):e.setStart(e.endContainer,0);var a=Array.from(e.getClientRects());if(n.push(a),o){var s;return n.reverse(),(s=[]).concat.apply(s,n)}e.setEndBefore(r)}i(!1)}var o=n(19),i=n(0),a=o.isBrowser("Chrome"),s=a?r:function(t){return Array.from(t.getClientRects())};t.exports=s},function(t,e,n){"use strict";function r(t){var e,n=null;return!i&&document.implementation&&document.implementation.createHTMLDocument&&(e=document.implementation.createHTMLDocument("foo"),e.documentElement.innerHTML=t,n=e.getElementsByTagName("body")[0]),n}var o=n(19),i=o.isBrowser("IE <= 9");t.exports=r},function(t,e,n){"use strict";function r(t){if(t instanceof Element){var e=t.getAttribute("data-offset-key");if(e)return e;for(var n=0;n<t.childNodes.length;n++){var o=r(t.childNodes[n]);if(o)return o}}return null}t.exports=r},function(t,e,n){"use strict";(function(e){function n(t,e){var n=0,o=[];t.forEach(function(i){r(i,function(r){n++,r&&o.push(r.slice(0,a)),n==t.length&&e(o.join("\r"))})})}function r(t,n){if(!e.FileReader||t.type&&!(t.type in i))return void n("");if(""===t.type){var r="";return o.test(t.name)&&(r=t.name.replace(o,"")),void n(r)}var a=new FileReader;a.onload=function(){n(a.result)},a.onerror=function(){n("")},a.readAsText(t)}var o=/\.textClipping$/,i={"text/plain":!0,"text/html":!0,"text/rtf":!0},a=5e3;t.exports=n}).call(e,n(30))},function(t,e,n){"use strict";function r(t,e,n,r,a){var s=i(t.getSelection()),u=o.decode(e),c=u.blockKey,l=t.getBlockTree(c).getIn([u.decoratorKey,"leaves",u.leafKey]),p=o.decode(r),f=p.blockKey,d=t.getBlockTree(f).getIn([p.decoratorKey,"leaves",p.leafKey]),h=l.get("start"),g=d.get("start"),v=l?h+n:null,y=d?g+a:null;if(s.getAnchorKey()===c&&s.getAnchorOffset()===v&&s.getFocusKey()===f&&s.getFocusOffset()===y)return s;var m=!1;if(c===f){var _=l.get("end"),b=d.get("end");m=g===h&&b===_?a<n:g<h}else{m=t.getCurrentContent().getBlockMap().keySeq().skipUntil(function(t){return t===c||t===f}).first()===f}return s.merge({anchorKey:c,anchorOffset:v,focusKey:f,focusOffset:y,isBackward:m})}var o=n(49),i=n(12);t.exports=r},function(t,e,n){"use strict";function r(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}t.exports=r},function(t,e,n){"use strict";function r(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}t.exports=r},function(t,e,n){"use strict";function r(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})}t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=t.getBlockMap(),r={},o=e.getStartKey(),a=e.getStartOffset(),s=n.get(o),u=i(s,a);u!==s&&(r[o]=u);var c=e.getEndKey(),l=e.getEndOffset(),p=n.get(c);o===c&&(p=u);var f=i(p,l);return f!==p&&(r[c]=f),Object.keys(r).length?t.merge({blockMap:n.merge(r),selectionAfter:e}):t.set("selectionAfter",e)}function o(t,e,n){var r;return u(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&&c(!1),r}function i(t,e){var n=t.getCharacterList(),r=e>0?n.get(e-1):void 0,i=e<n.count()?n.get(e):void 0,u=r?r.getEntity():void 0,c=i?i.getEntity():void 0;if(c&&c===u){if("MUTABLE"!==s.get(c).getMutability()){for(var l,p=o(n,c,e),f=p.start,d=p.end;f<d;)l=n.get(f),n=n.set(f,a.applyEntity(l,null)),f++;return t.set("characterList",n)}}return t}var a=n(14),s=n(20),u=n(50),c=n(0);t.exports=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t){if("file"==t.kind)return t.getAsFile()}var i=n(278),a=n(144),s=n(10),u=new RegExp("\r\n","g"),c={"text/rtf":1,"text/html":1},l=function(){function t(e){r(this,t),this.data=e,this.types=e.types?a(e.types):[]}return t.prototype.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some(function(t){return c[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(u,"\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(){if(this.data.getData){if(-1!=this.types.indexOf("text/x-moz-url")){return this.data.getData("text/x-moz-url").split("\n")[0]}return-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url")}return null},t.prototype.isImage=function(){if(this.types.some(function(t){return-1!=t.indexOf("application/x-moz-file")}))return!0;for(var t=this.getFiles(),e=0;e<t.length;e++){var n=t[e].type;if(!i.isImage(n))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(o).filter(s.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.prototype.hasFiles=function(){return this.getFiles().length>0},t}();t.exports=l},function(t,e,n){"use strict";var r=n(10),o={listen:function(t,e,n){return t.addEventListener?(t.addEventListener(e,n,!1),{remove:function(){t.removeEventListener(e,n,!1)}}):t.attachEvent?(t.attachEvent("on"+e,n),{remove:function(){t.detachEvent("on"+e,n)}}):void 0},capture:function(t,e,n){return t.addEventListener?(t.addEventListener(e,n,!0),{remove:function(){t.removeEventListener(e,n,!0)}}):{remove:r}},registerDefault:function(){}};t.exports=o},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";function r(t){var e=f.exec(t);return null==e?null:e[0]}function o(t){var e=r(t);return null==e?c.NEUTRAL:d.exec(e)?c.RTL:c.LTR}function i(t,e){if(e=e||c.NEUTRAL,!t.length)return e;var n=o(t);return n===c.NEUTRAL?e:n}function a(t,e){return e||(e=c.getGlobalDir()),c.isStrong(e)||l(!1),i(t,e)}function s(t,e){return a(t,e)===c.LTR}function u(t,e){return a(t,e)===c.RTL}var c=n(77),l=n(0),p={L:"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",R:"֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",AL:"؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾"},f=new RegExp("["+p.L+p.R+p.AL+"]"),d=new RegExp("["+p.R+p.AL+"]"),h={firstStrongChar:r,firstStrongCharDir:o,resolveBlockDir:i,getDirection:a,isDirectionLTR:s,isDirectionRTL:u};t.exports=h},function(t,e,n){"use strict";function r(t){return t.replace(o,function(t,e){return e.toUpperCase()})}var o=/-(.)/g;t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.length;if((Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t)&&a(!1),"number"!=typeof e&&a(!1),0===e||e-1 in t||a(!1),"function"==typeof t.callee&&a(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(t){}for(var n=Array(e),r=0;r<e;r++)n[r]=t[r];return n}function o(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)}function i(t){return o(t)?Array.isArray(t)?t.slice():r(t):[t]}var a=n(0);t.exports=i},function(t,e,n){"use strict";function r(t){try{t.focus()}catch(t){}}t.exports=r},function(t,e,n){"use strict";function r(t){return t===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}}t.exports=r},function(t,e,n){"use strict";function r(t){return t.replace(o,"-$1").toLowerCase()}var o=/([A-Z])/g;t.exports=r},function(t,e,n){"use strict";function r(t){var e={};return function(n){return e.hasOwnProperty(n)||(e[n]=t.call(this,n)),e[n]}}t.exports=r},function(t,e,n){"use strict";function r(t,e){return t+e.charAt(0).toUpperCase()+e.substring(1)}var o={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},i=["Webkit","ms","Moz","O"];Object.keys(o).forEach(function(t){i.forEach(function(e){o[r(e,t)]=o[t]})});var a={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},s={isUnitlessNumber:o,shorthandPropertyExpansions:a};t.exports=s},function(t,e,n){"use strict";function r(){this._callbacks=null,this._contexts=null}var o=n(1),i=n(5),a=n(24);n(0);i(r.prototype,{enqueue:function(t,e){this._callbacks=this._callbacks||[],this._contexts=this._contexts||[],this._callbacks.push(t),this._contexts.push(e)},notifyAll:function(){var t=this._callbacks,e=this._contexts;if(t){t.length!==e.length&&o("24"),this._callbacks=null,this._contexts=null;for(var n=0;n<t.length;n++)t[n].call(e[n]);t.length=0,e.length=0}},checkpoint:function(){return this._callbacks?this._callbacks.length:0},rollback:function(t){this._callbacks&&(this._callbacks.length=t,this._contexts.length=t)},reset:function(){this._callbacks=null,this._contexts=null},destructor:function(){this.reset()}}),a.addPoolingTo(r),t.exports=r},function(t,e,n){"use strict";function r(t){return!!c.hasOwnProperty(t)||!u.hasOwnProperty(t)&&(s.test(t)?(c[t]=!0,!0):(u[t]=!0,!1))}function o(t,e){return null==e||t.hasBooleanValue&&!e||t.hasNumericValue&&isNaN(e)||t.hasPositiveNumericValue&&e<1||t.hasOverloadedBooleanValue&&!1===e}var i=n(35),a=(n(6),n(13),n(355)),s=(n(2),new RegExp("^["+i.ATTRIBUTE_NAME_START_CHAR+"]["+i.ATTRIBUTE_NAME_CHAR+"]*$")),u={},c={},l={createMarkupForID:function(t){return i.ID_ATTRIBUTE_NAME+"="+a(t)},setAttributeForID:function(t,e){t.setAttribute(i.ID_ATTRIBUTE_NAME,e)},createMarkupForRoot:function(){return i.ROOT_ATTRIBUTE_NAME+'=""'},setAttributeForRoot:function(t){t.setAttribute(i.ROOT_ATTRIBUTE_NAME,"")},createMarkupForProperty:function(t,e){var n=i.properties.hasOwnProperty(t)?i.properties[t]:null;if(n){if(o(n,e))return"";var r=n.attributeName;return n.hasBooleanValue||n.hasOverloadedBooleanValue&&!0===e?r+'=""':r+"="+a(e)}return i.isCustomAttribute(t)?null==e?"":t+"="+a(e):null},createMarkupForCustomAttribute:function(t,e){return r(t)&&null!=e?t+"="+a(e):""},setValueForProperty:function(t,e,n){var r=i.properties.hasOwnProperty(e)?i.properties[e]:null;if(r){var a=r.mutationMethod;if(a)a(t,n);else{if(o(r,n))return void this.deleteValueForProperty(t,e);if(r.mustUseProperty)t[r.propertyName]=n;else{var s=r.attributeName,u=r.attributeNamespace;u?t.setAttributeNS(u,s,""+n):r.hasBooleanValue||r.hasOverloadedBooleanValue&&!0===n?t.setAttribute(s,""):t.setAttribute(s,""+n)}}}else if(i.isCustomAttribute(e))return void l.setValueForAttribute(t,e,n)},setValueForAttribute:function(t,e,n){if(r(e)){null==n?t.removeAttribute(e):t.setAttribute(e,""+n)}},deleteValueForAttribute:function(t,e){t.removeAttribute(e)},deleteValueForProperty:function(t,e){var n=i.properties.hasOwnProperty(e)?i.properties[e]:null;if(n){var r=n.mutationMethod;if(r)r(t,void 0);else if(n.mustUseProperty){var o=n.propertyName;n.hasBooleanValue?t[o]=!1:t[o]=""}else t.removeAttribute(n.attributeName)}else i.isCustomAttribute(e)&&t.removeAttribute(e)}};t.exports=l},function(t,e,n){"use strict";function r(t){return(""+t).replace(b,"$&/")}function o(t,e){this.func=t,this.context=e,this.count=0}function i(t,e,n){var r=t.func,o=t.context;r.call(o,e,t.count++)}function a(t,e,n){if(null==t)return t;var r=o.getPooled(e,n);y(t,i,r),o.release(r)}function s(t,e,n,r){this.result=t,this.keyPrefix=e,this.func=n,this.context=r,this.count=0}function u(t,e,n){var o=t.result,i=t.keyPrefix,a=t.func,s=t.context,u=a.call(s,e,t.count++);Array.isArray(u)?c(u,o,n,v.thatReturnsArgument):null!=u&&(g.isValidElement(u)&&(u=g.cloneAndReplaceKey(u,i+(!u.key||e&&e.key===u.key?"":r(u.key)+"/")+n)),o.push(u))}function c(t,e,n,o,i){var a="";null!=n&&(a=r(n)+"/");var c=s.getPooled(e,a,o,i);y(t,u,c),s.release(c)}function l(t,e,n){if(null==t)return t;var r=[];return c(t,r,null,e,n),r}function p(t,e,n){return null}function f(t,e){return y(t,p,null)}function d(t){var e=[];return c(t,e,null,v.thatReturnsArgument),e}var h=n(24),g=n(16),v=n(10),y=n(103),m=h.twoArgumentPooler,_=h.fourArgumentPooler,b=/\/+/g;o.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},h.addPoolingTo(o,m),s.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},h.addPoolingTo(s,_);var w={forEach:a,map:l,mapIntoWithKeyPrefixInternal:c,count:f,toArray:d};t.exports=w},function(t,e,n){"use strict";function r(t,e){var n=S.hasOwnProperty(e)?S[e]:null;C.hasOwnProperty(e)&&n!==b.OVERRIDE_BASE&&p("73",e),t&&n!==b.DEFINE_MANY&&n!==b.DEFINE_MANY_MERGED&&p("74",e)}function o(t,e){if(e){"function"==typeof e&&p("75"),h.isValidElement(e)&&p("76");var n=t.prototype,o=n.__reactAutoBindPairs;e.hasOwnProperty(_)&&k.mixins(t,e.mixins);for(var i in e)if(e.hasOwnProperty(i)&&i!==_){var a=e[i],c=n.hasOwnProperty(i);if(r(c,i),k.hasOwnProperty(i))k[i](t,a);else{var l=S.hasOwnProperty(i),f="function"==typeof a,d=f&&!l&&!c&&!1!==e.autobind;if(d)o.push(i,a),n[i]=a;else if(c){var g=S[i];(!l||g!==b.DEFINE_MANY_MERGED&&g!==b.DEFINE_MANY)&&p("77",g,i),g===b.DEFINE_MANY_MERGED?n[i]=s(n[i],a):g===b.DEFINE_MANY&&(n[i]=u(n[i],a))}else n[i]=a}}}else;}function i(t,e){if(e)for(var n in e){var r=e[n];if(e.hasOwnProperty(n)){var o=n in k;o&&p("78",n);var i=n in t;i&&p("79",n),t[n]=r}}}function a(t,e){t&&e&&"object"==typeof t&&"object"==typeof e||p("80");for(var n in e)e.hasOwnProperty(n)&&(void 0!==t[n]&&p("81",n),t[n]=e[n]);return t}function s(t,e){return function(){var n=t.apply(this,arguments),r=e.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return a(o,n),a(o,r),o}}function u(t,e){return function(){t.apply(this,arguments),e.apply(this,arguments)}}function c(t,e){var n=e.bind(t);return n}function l(t){for(var e=t.__reactAutoBindPairs,n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];t[r]=c(t,o)}}var p=n(1),f=n(5),d=n(88),h=n(16),g=(n(94),n(93),n(92)),v=n(36),y=(n(0),n(54)),m=n(23),_=(n(2),m({mixins:null})),b=y({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),w=[],S={mixins:b.DEFINE_MANY,statics:b.DEFINE_MANY,propTypes:b.DEFINE_MANY,contextTypes:b.DEFINE_MANY,childContextTypes:b.DEFINE_MANY,getDefaultProps:b.DEFINE_MANY_MERGED,getInitialState:b.DEFINE_MANY_MERGED,getChildContext:b.DEFINE_MANY_MERGED,render:b.DEFINE_ONCE,componentWillMount:b.DEFINE_MANY,componentDidMount:b.DEFINE_MANY,componentWillReceiveProps:b.DEFINE_MANY,shouldComponentUpdate:b.DEFINE_ONCE,componentWillUpdate:b.DEFINE_MANY,componentDidUpdate:b.DEFINE_MANY,componentWillUnmount:b.DEFINE_MANY,updateComponent:b.OVERRIDE_BASE},k={displayName:function(t,e){t.displayName=e},mixins:function(t,e){if(e)for(var n=0;n<e.length;n++)o(t,e[n])},childContextTypes:function(t,e){t.childContextTypes=f({},t.childContextTypes,e)},contextTypes:function(t,e){t.contextTypes=f({},t.contextTypes,e)},getDefaultProps:function(t,e){t.getDefaultProps?t.getDefaultProps=s(t.getDefaultProps,e):t.getDefaultProps=e},propTypes:function(t,e){t.propTypes=f({},t.propTypes,e)},statics:function(t,e){i(t,e)},autobind:function(){}},C={replaceState:function(t,e){this.updater.enqueueReplaceState(this,t),e&&this.updater.enqueueCallback(this,e,"replaceState")},isMounted:function(){return this.updater.isMounted(this)}},E=function(){};f(E.prototype,d.prototype,C);var x={createClass:function(t){var e=function(t,n,r){this.__reactAutoBindPairs.length&&l(this),this.props=t,this.context=n,this.refs=v,this.updater=r||g,this.state=null;var o=this.getInitialState?this.getInitialState():null;("object"!=typeof o||Array.isArray(o))&&p("82",e.displayName||"ReactCompositeComponent"),this.state=o};e.prototype=new E,e.prototype.constructor=e,e.prototype.__reactAutoBindPairs=[],w.forEach(o.bind(null,e)),o(e,t),e.getDefaultProps&&(e.defaultProps=e.getDefaultProps()),e.prototype.render||p("83");for(var n in S)e.prototype[n]||(e.prototype[n]=null);return e},injection:{injectMixin:function(t){w.push(t)}}};t.exports=x},function(t,e,n){"use strict";var r={hasCachedChildNodes:1};t.exports=r},function(t,e,n){"use strict";function r(){if(this._rootNodeID&&this._wrapperState.pendingUpdate){this._wrapperState.pendingUpdate=!1;var t=this._currentElement.props,e=u.getValue(t);null!=e&&o(this,Boolean(t.multiple),e)}}function o(t,e,n){var r,o,i=c.getNodeFromInstance(t).options;if(e){for(r={},o=0;o<n.length;o++)r[""+n[o]]=!0;for(o=0;o<i.length;o++){var a=r.hasOwnProperty(i[o].value);i[o].selected!==a&&(i[o].selected=a)}}else{for(r=""+n,o=0;o<i.length;o++)if(i[o].value===r)return void(i[o].selected=!0);i.length&&(i[0].selected=!0)}}function i(t){var e=this._currentElement.props,n=u.executeOnChange(e,t);return this._rootNodeID&&(this._wrapperState.pendingUpdate=!0),l.asap(r,this),n}var a=n(5),s=n(56),u=n(87),c=n(6),l=n(17),p=(n(2),!1),f={getHostProps:function(t,e){return a({},s.getHostProps(t,e),{onChange:t._wrapperState.onChange,value:void 0})},mountWrapper:function(t,e){var n=u.getValue(e);t._wrapperState={pendingUpdate:!1,initialValue:null!=n?n:e.defaultValue,listeners:null,onChange:i.bind(t),wasMultiple:Boolean(e.multiple)},void 0===e.value||void 0===e.defaultValue||p||(p=!0)},getSelectValueContext:function(t){return t._wrapperState.initialValue},postUpdateWrapper:function(t){var e=t._currentElement.props;t._wrapperState.initialValue=void 0;var n=t._wrapperState.wasMultiple;t._wrapperState.wasMultiple=Boolean(e.multiple);var r=u.getValue(e);null!=r?(t._wrapperState.pendingUpdate=!1,o(t,Boolean(e.multiple),r)):n!==Boolean(e.multiple)&&(null!=e.defaultValue?o(t,Boolean(e.multiple),e.defaultValue):o(t,Boolean(e.multiple),e.multiple?[]:""))}};t.exports=f},function(t,e,n){"use strict";var r,o={injectEmptyComponentFactory:function(t){r=t}},i={create:function(t){return r(t)}};i.injection=o,t.exports=i},function(t,e,n){"use strict";var r={logTopLevelRenders:!1};t.exports=r},function(t,e,n){"use strict";function r(t){return u||a("111",t.type),new u(t)}function o(t){return new l(t)}function i(t){return t instanceof l}var a=n(1),s=n(5),u=(n(0),null),c={},l=null,p={injectGenericComponentClass:function(t){u=t},injectTextComponentClass:function(t){l=t},injectComponentClasses:function(t){s(c,t)}},f={createInternalComponent:r,createInstanceForText:o,isTextComponent:i,injection:p};t.exports=f},function(t,e,n){"use strict";function r(t){return i(document.documentElement,t)}var o=n(320),i=n(78),a=n(145),s=n(53),u={hasSelectionCapabilities:function(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&"text"===t.type||"textarea"===e||"true"===t.contentEditable)},getSelectionInformation:function(){var t=s();return{focusedElem:t,selectionRange:u.hasSelectionCapabilities(t)?u.getSelection(t):null}},restoreSelection:function(t){var e=s(),n=t.focusedElem,o=t.selectionRange;e!==n&&r(n)&&(u.hasSelectionCapabilities(n)&&u.setSelection(n,o),a(n))},getSelection:function(t){var e;if("selectionStart"in t)e={start:t.selectionStart,end:t.selectionEnd};else if(document.selection&&t.nodeName&&"input"===t.nodeName.toLowerCase()){var n=document.selection.createRange();n.parentElement()===t&&(e={start:-n.moveStart("character",-t.value.length),end:-n.moveEnd("character",-t.value.length)})}else e=o.getOffsets(t);return e||{start:0,end:0}},setSelection:function(t,e){var n=e.start,r=e.end;if(void 0===r&&(r=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(r,t.value.length);else if(document.selection&&t.nodeName&&"input"===t.nodeName.toLowerCase()){var i=t.createTextRange();i.collapse(!0),i.moveStart("character",n),i.moveEnd("character",r-n),i.select()}else o.setOffsets(t,e)}};t.exports=u},function(t,e,n){"use strict";function r(t,e){for(var n=Math.min(t.length,e.length),r=0;r<n;r++)if(t.charAt(r)!==e.charAt(r))return r;return t.length===e.length?-1:n}function o(t){return t?t.nodeType===P?t.documentElement:t.firstChild:null}function i(t){return t.getAttribute&&t.getAttribute(I)||""}function a(t,e,n,r,o){var i;if(w.logTopLevelRenders){var a=t._currentElement.props,s=a.type;i="React mount: "+("string"==typeof s?s:s.displayName||s.name),console.time(i)}var u=C.mountComponent(t,n,null,m(t,e),o,0);i&&console.timeEnd(i),t._renderedComponent._topLevelWrapper=t,F._mountImageIntoNode(u,e,t,r,n)}function s(t,e,n,r){var o=x.ReactReconcileTransaction.getPooled(!n&&_.useCreateElement);o.perform(a,null,t,e,o,n,r),x.ReactReconcileTransaction.release(o)}function u(t,e,n){for(C.unmountComponent(t,n),e.nodeType===P&&(e=e.documentElement);e.lastChild;)e.removeChild(e.lastChild)}function c(t){var e=o(t);if(e){var n=y.getInstanceFromNode(e);return!(!n||!n._hostParent)}}function l(t){return!(!t||t.nodeType!==A&&t.nodeType!==P&&t.nodeType!==N)}function p(t){var e=o(t),n=e&&y.getInstanceFromNode(e);return n&&!n._hostParent?n:null}function f(t){var e=p(t);return e?e._hostContainerInfo._topLevelWrapper:null}var d=n(1),h=n(34),g=n(35),v=n(57),y=(n(25),n(6)),m=n(177),_=n(316),b=n(16),w=n(157),S=n(44),k=(n(13),n(180)),C=n(31),E=n(96),x=n(17),O=n(36),T=n(111),M=(n(0),n(60)),D=n(102),I=(n(2),g.ID_ATTRIBUTE_NAME),R=g.ROOT_ATTRIBUTE_NAME,A=1,P=9,N=11,L={},B=1,U=function(){this.rootID=B++};U.prototype.isReactComponent={},U.prototype.render=function(){return this.props};var F={TopLevelWrapper:U,_instancesByReactRootID:L,scrollMonitor:function(t,e){e()},_updateRootComponent:function(t,e,n,r,o){return F.scrollMonitor(r,function(){E.enqueueElementInternal(t,e,n),o&&E.enqueueCallbackInternal(t,o)}),t},_renderNewRootComponent:function(t,e,n,r){l(e)||d("37"),v.ensureScrollValueMonitoring();var o=T(t,!1);x.batchedUpdates(s,o,e,n,r);var i=o._instance.rootID;return L[i]=o,o},renderSubtreeIntoContainer:function(t,e,n,r){return null!=t&&S.has(t)||d("38"),F._renderSubtreeIntoContainer(t,e,n,r)},_renderSubtreeIntoContainer:function(t,e,n,r){E.validateCallback(r,"ReactDOM.render"),b.isValidElement(e)||d("39","string"==typeof e?" Instead of passing a string like 'div', pass React.createElement('div') or <div />.":"function"==typeof e?" Instead of passing a class like Foo, pass React.createElement(Foo) or <Foo />.":null!=e&&void 0!==e.props?" This may be caused by unintentionally loading two independent copies of React.":"");var a,s=b(U,null,null,null,null,null,e);if(t){var u=S.get(t);a=u._processChildContext(u._context)}else a=O;var l=f(n);if(l){var p=l._currentElement,h=p.props;if(D(h,e)){var g=l._renderedComponent.getPublicInstance(),v=r&&function(){r.call(g)};return F._updateRootComponent(l,s,a,n,v),g}F.unmountComponentAtNode(n)}var y=o(n),m=y&&!!i(y),_=c(n),w=m&&!l&&!_,k=F._renderNewRootComponent(s,n,w,a)._renderedComponent.getPublicInstance();return r&&r.call(k),k},render:function(t,e,n){return F._renderSubtreeIntoContainer(null,t,e,n)},unmountComponentAtNode:function(t){l(t)||d("40");var e=f(t);if(!e){c(t),1===t.nodeType&&t.hasAttribute(R);return!1}return delete L[e._instance.rootID],x.batchedUpdates(u,e,t,!1),!0},_mountImageIntoNode:function(t,e,n,i,a){if(l(e)||d("41"),i){var s=o(e);if(k.canReuseMarkup(t,s))return void y.precacheNode(n,s);var u=s.getAttribute(k.CHECKSUM_ATTR_NAME);s.removeAttribute(k.CHECKSUM_ATTR_NAME);var c=s.outerHTML;s.setAttribute(k.CHECKSUM_ATTR_NAME,u);var p=t,f=r(p,c),g=" (client) "+p.substring(f-20,f+20)+"\n (server) "+c.substring(f-20,f+20);e.nodeType===P&&d("42",g)}if(e.nodeType===P&&d("43"),a.useCreateElement){for(;e.lastChild;)e.removeChild(e.lastChild);h.insertTreeBefore(e,t,null)}else M(e,t),y.precacheNode(n,e.firstChild)}};t.exports=F},function(t,e,n){"use strict";var r=n(54),o=r({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,SET_MARKUP:null,TEXT_CONTENT:null});t.exports=o},function(t,e,n){"use strict";var r=n(1),o=n(16),i=(n(0),{HOST:0,COMPOSITE:1,EMPTY:2,getType:function(t){return null===t||!1===t?i.EMPTY:o.isValidElement(t)?"function"==typeof t.type?i.COMPOSITE:i.HOST:void r("26",t)}});t.exports=i},function(t,e,n){"use strict";function r(t,e){return t===e?0!==t||1/t==1/e:t!==t&&e!==e}function o(t){this.message=t,this.stack=""}function i(t){function e(e,n,r,i,a,s,u){i=i||k,s=s||r;if(null==n[r]){var c=_[a];return e?new o("Required "+c+" `"+s+"` was not specified in `"+i+"`."):null}return t(n,r,i,a,s)}var n=e.bind(null,!1);return n.isRequired=e.bind(null,!0),n}function a(t){function e(e,n,r,i,a,s){var u=e[n];if(g(u)!==t)return new o("Invalid "+_[i]+" `"+a+"` of type `"+v(u)+"` supplied to `"+r+"`, expected `"+t+"`.");return null}return i(e)}function s(t){function e(e,n,r,i,a){if("function"!=typeof t)return new o("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=e[n];if(!Array.isArray(s)){return new o("Invalid "+_[i]+" `"+a+"` of type `"+g(s)+"` supplied to `"+r+"`, expected an array.")}for(var u=0;u<s.length;u++){var c=t(s,u,r,i,a+"["+u+"]",b);if(c instanceof Error)return c}return null}return i(e)}function u(t){function e(e,n,r,i,a){if(!(e[n]instanceof t)){var s=_[i],u=t.name||k;return new o("Invalid "+s+" `"+a+"` of type `"+y(e[n])+"` supplied to `"+r+"`, expected instance of `"+u+"`.")}return null}return i(e)}function c(t){function e(e,n,i,a,s){for(var u=e[n],c=0;c<t.length;c++)if(r(u,t[c]))return null;return new o("Invalid "+_[a]+" `"+s+"` of value `"+u+"` supplied to `"+i+"`, expected one of "+JSON.stringify(t)+".")}return Array.isArray(t)?i(e):w.thatReturnsNull}function l(t){function e(e,n,r,i,a){if("function"!=typeof t)return new o("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=e[n],u=g(s);if("object"!==u){return new o("Invalid "+_[i]+" `"+a+"` of type `"+u+"` supplied to `"+r+"`, expected an object.")}for(var c in s)if(s.hasOwnProperty(c)){var l=t(s,c,r,i,a+"."+c,b);if(l instanceof Error)return l}return null}return i(e)}function p(t){function e(e,n,r,i,a){for(var s=0;s<t.length;s++){if(null==(0,t[s])(e,n,r,i,a,b))return null}return new o("Invalid "+_[i]+" `"+a+"` supplied to `"+r+"`.")}return Array.isArray(t)?i(e):w.thatReturnsNull}function f(t){function e(e,n,r,i,a){var s=e[n],u=g(s);if("object"!==u){return new o("Invalid "+_[i]+" `"+a+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.")}for(var c in t){var l=t[c];if(l){var p=l(s,c,r,i,a+"."+c,b);if(p)return p}}return null}return i(e)}function d(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(d);if(null===t||m.isValidElement(t))return!0;var e=S(t);if(!e)return!1;var n,r=e.call(t);if(e!==t.entries){for(;!(n=r.next()).done;)if(!d(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!d(o[1]))return!1}return!0;default:return!1}}function h(t,e){return"symbol"===t||("Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol)}function g(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":h(e,t)?"symbol":e}function v(t){var e=g(t);if("object"===e){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return e}function y(t){return t.constructor&&t.constructor.name?t.constructor.name:k}var m=n(16),_=n(93),b=n(95),w=n(10),S=n(169),k=(n(2),"<<anonymous>>"),C={array:a("array"),bool:a("boolean"),func:a("function"),number:a("number"),object:a("object"),string:a("string"),symbol:a("symbol"),any:function(){return i(w.thatReturns(null))}(),arrayOf:s,element:function(){function t(t,e,n,r,i){var a=t[e];if(!m.isValidElement(a)){return new o("Invalid "+_[r]+" `"+i+"` of type `"+g(a)+"` supplied to `"+n+"`, expected a single ReactElement.")}return null}return i(t)}(),instanceOf:u,node:function(){function t(t,e,n,r,i){if(!d(t[e])){return new o("Invalid "+_[r]+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")}return null}return i(t)}(),objectOf:l,oneOf:c,oneOfType:p,shape:f};o.prototype=Error.prototype,t.exports=C},function(t,e,n){"use strict";var r={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(t){r.currentScrollLeft=t.x,r.currentScrollTop=t.y}};t.exports=r},function(t,e,n){"use strict";function r(t,e){return null==e&&o("30"),null==t?e:Array.isArray(t)?Array.isArray(e)?(t.push.apply(t,e),t):(t.push(e),t):Array.isArray(e)?[t].concat(e):[t,e]}var o=n(1);n(0);t.exports=r},function(t,e,n){"use strict";var r=!1;t.exports=r},function(t,e,n){"use strict";function r(t,e,n){Array.isArray(t)?t.forEach(e,n):t&&e.call(n,t)}t.exports=r},function(t,e,n){"use strict";function r(t){for(var e;(e=t._renderedNodeType)===o.COMPOSITE;)t=t._renderedComponent;return e===o.HOST?t._renderedComponent:e===o.EMPTY?null:void 0}var o=n(162);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t&&(o&&t[o]||t[i]);if("function"==typeof e)return e}var o="function"==typeof Symbol&&Symbol.iterator,i="@@iterator";t.exports=r},function(t,e,n){"use strict";function r(){return!i&&o.canUseDOM&&(i="textContent"in document.documentElement?"textContent":"innerText"),i}var o=n(9),i=null;t.exports=r},function(t,e,n){"use strict";function r(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return"input"===e?!!o[t.type]:"textarea"===e}var o={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};t.exports=r},function(t,e,n){"use strict";var r=n(9),o=n(59),i=n(60),a=function(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e};r.canUseDOM&&("textContent"in document.documentElement||(a=function(t,e){i(t,o(e))})),t.exports=a},function(t,e){e.f={}.propertyIsEnumerable},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return t.offset===e.offset?e.length-t.length:t.offset-e.offset}},function(t,e,n){"use strict";function r(t,e){var n={_topLevelWrapper:t,_idCounter:1,_ownerDocument:e?e.nodeType===o?e:e.ownerDocument:null,_node:e,_tag:e?e.nodeName.toLowerCase():null,_namespaceURI:e?e.namespaceURI:null};return n}var o=(n(104),9);t.exports=r},function(t,e,n){"use strict";function r(){this.reinitializeTransaction()}var o=n(5),i=n(17),a=n(46),s=n(10),u={initialize:s,close:function(){f.isBatchingUpdates=!1}},c={initialize:s,close:i.flushBatchedUpdates.bind(i)},l=[c,u];o(r.prototype,a.Mixin,{getTransactionWrappers:function(){return l}});var p=new r,f={isBatchingUpdates:!1,batchedUpdates:function(t,e,n,r,o,i){var a=f.isBatchingUpdates;f.isBatchingUpdates=!0,a?t(e,n,r,o,i):p.perform(t,null,e,n,r,o,i)}};t.exports=f},function(t,e,n){"use strict";function r(){S||(S=!0,y.EventEmitter.injectReactEventListener(v),y.EventPluginHub.injectEventPluginOrder(a),y.EventPluginUtils.injectComponentTree(p),y.EventPluginUtils.injectTreeTraversal(d),y.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:w,EnterLeaveEventPlugin:s,ChangeEventPlugin:i,SelectEventPlugin:b,BeforeInputEventPlugin:o}),y.HostComponent.injectGenericComponentClass(l),y.HostComponent.injectTextComponentClass(h),y.DOMProperty.injectDOMPropertyConfig(u),y.DOMProperty.injectDOMPropertyConfig(_),y.EmptyComponent.injectEmptyComponentFactory(function(t){return new f(t)}),y.Updates.injectReconcileTransaction(m),y.Updates.injectBatchingStrategy(g),y.Component.injectEnvironment(c))}var o=n(299),i=n(301),a=n(303),s=n(304),u=n(306),c=n(309),l=n(313),p=n(6),f=n(314),d=n(323),h=n(321),g=n(178),v=n(325),y=n(326),m=n(330),_=n(333),b=n(334),w=n(335),S=!1;t.exports={inject:r}},function(t,e,n){"use strict";var r=n(346),o=/\/?>/,i=/^<\!\-\-/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(t){var e=r(t);return i.test(t)?t:t.replace(o," "+a.CHECKSUM_ATTR_NAME+'="'+e+'"$&')},canReuseMarkup:function(t,e){var n=e.getAttribute(a.CHECKSUM_ATTR_NAME);return n=n&&parseInt(n,10),r(t)===n}};t.exports=a},function(t,e,n){"use strict";function r(t){this.reinitializeTransaction(),this.renderToStaticMarkup=t,this.useCreateElement=!1,this.updateQueue=new s(this)}var o=n(5),i=n(24),a=n(46),s=(n(13),n(332)),u=[],c={enqueue:function(){}},l={getTransactionWrappers:function(){return u},getReactMountReady:function(){return c},getUpdateQueue:function(){return this.updateQueue},destructor:function(){},checkpoint:function(){},rollback:function(){}};o(r.prototype,a.Mixin,l),i.addPoolingTo(r),t.exports=r},function(t,e,n){"use strict";function r(t){var e=new a(t),n=i(a.prototype.request,e);return o.extend(n,a.prototype,e),o.extend(n,e),n}var o=n(11),i=n(116),a=n(184),s=n(62),u=r(s);u.Axios=a,u.create=function(t){return r(o.merge(s,t))},u.Cancel=n(113),u.CancelToken=n(183),u.isCancel=n(114),u.all=function(t){return Promise.all(t)},u.spread=n(198),t.exports=u,t.exports.default=u},function(t,e,n){"use strict";function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new o(t),e(n.reason))})}var o=n(113);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r(function(e){t=e}),cancel:t}},t.exports=r},function(t,e,n){"use strict";function r(t){this.defaults=t,this.interceptors={request:new a,response:new a}}var o=n(62),i=n(11),a=n(185),s=n(186),u=n(194),c=n(192);r.prototype.request=function(t){"string"==typeof t&&(t=i.merge({url:arguments[0]},arguments[1])),t=i.merge(o,this.defaults,{method:"get"},t),t.baseURL&&!u(t.url)&&(t.url=c(t.baseURL,t.url));var e=[s,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)n=n.then(e.shift(),e.shift());return n},i.forEach(["delete","get","head"],function(t){r.prototype[t]=function(e,n){return this.request(i.merge(n||{},{method:t,url:e}))}}),i.forEach(["post","put","patch"],function(t){r.prototype[t]=function(e,n,r){return this.request(i.merge(r||{},{method:t,url:e,data:n}))}}),t.exports=r},function(t,e,n){"use strict";function r(){this.handlers=[]}var o=n(11);r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){o.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=r},function(t,e,n){"use strict";function r(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var o=n(11),i=n(189),a=n(114),s=n(62);t.exports=function(t){return r(t),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=o.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||s.adapter)(t).then(function(e){return r(t),e.data=i(e.data,e.headers,t.transformResponse),e},function(e){return a(e)||(r(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(t,e,n){"use strict";t.exports=function(t,e,n,r){return t.config=e,n&&(t.code=n),t.response=r,t}},function(t,e,n){"use strict";var r=n(115);t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n)):t(n)}},function(t,e,n){"use strict";var r=n(11);t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},function(t,e,n){"use strict";function r(){this.message="String contains an invalid character"}function o(t){for(var e,n,o=String(t),a="",s=0,u=i;o.charAt(0|s)||(u="=",s%1);a+=u.charAt(63&e>>8-s%1*8)){if((n=o.charCodeAt(s+=.75))>255)throw new r;e=e<<8|n}return a}var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",t.exports=o},function(t,e,n){"use strict";function r(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=n(11);t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(o.isURLSearchParams(e))i=e.toString();else{var a=[];o.forEach(e,function(t,e){null!==t&&void 0!==t&&(o.isArray(t)&&(e+="[]"),o.isArray(t)||(t=[t]),o.forEach(t,function(t){o.isDate(t)?t=t.toISOString():o.isObject(t)&&(t=JSON.stringify(t)),a.push(r(e)+"="+r(t))}))}),i=a.join("&")}return i&&(t+=(-1===t.indexOf("?")?"?":"&")+i),t}},function(t,e,n){"use strict";t.exports=function(t,e){return t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,"")}},function(t,e,n){"use strict";var r=n(11);t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,o,i,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";var r=n(11);t.exports=r.isStandardBrowserEnv()?function(){function t(t){var e=t;return n&&(o.setAttribute("href",e),e=o.href),o.setAttribute("href",e),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var e,n=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return e=t(window.location.href),function(n){var o=r.isString(n)?t(n):n;return o.protocol===e.protocol&&o.host===e.host}}():function(){return function(){return!0}}()},function(t,e,n){"use strict";var r=n(11);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},function(t,e,n){"use strict";var r=n(11);t.exports=function(t){var e,n,o,i={};return t?(r.forEach(t.split("\n"),function(t){o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e&&(i[e]=i[e]?i[e]+", "+n:n)}),i):i}},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";e.__esModule=!0;e.getSelectionRect=function(t){var e=t.getRangeAt(0).getBoundingClientRect(),n=e&&e.top?e:t.getRangeAt(0).getClientRects()[0];if(!n){if(!t.anchorNode||!t.anchorNode.getBoundingClientRect)return null;n=t.anchorNode.getBoundingClientRect(),n.isEmptyline=!0}return n},e.getSelection=function(t){var e=null;return t.getSelection?e=t.getSelection():t.document.getSelection?e=t.document.getSelection():t.document.selection&&(e=t.document.selection.createRange().text),e},e.getSelectedBlockNode=function(t){var e=t.getSelection();if(0===e.rangeCount)return null;var n=e.getRangeAt(0).startContainer;do{if(n.getAttribute&&"true"===n.getAttribute("data-block"))return n;n=n.parentNode}while(null!==n);return null}},function(t,e,n){t.exports={default:n(403),__esModule:!0}},function(t,e,n){t.exports={default:n(404),__esModule:!0}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){t.exports={}},function(t,e){t.exports=!0},function(t,e,n){var r=n(117),o=n(422),i=n(203),a=n(209)("IE_PROTO"),s=function(){},u=function(){var t,e=n(364)("iframe"),r=i.length;for(e.style.display="none",n(415).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u.prototype[i[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=u(),void 0===e?n:o(n,e)}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(66).f,o=n(65),i=n(108)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(210)("keys"),o=n(175);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){var r=n(61),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(202);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(118);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(61),o=n(47),i=n(205),a=n(215),s=n(66).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e,n){e.f=n(108)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){var e=l.default.renderToStaticMarkup(u.default.cloneElement(t,{},"\r")).split("\r");return(0,a.default)(e.length>1,"convertToHTML: Element of type "+t.type+" must render children"),(0,a.default)(e.length<3,"convertToHTML: Element of type "+t.type+" cannot use carriage return character"),{start:e[0],end:e[1]}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var i=n(81),a=r(i),s=n(7),u=r(s),c=n(297),l=r(c)},function(t,e,n){"use strict";var r=n(39),o=n(14),i=n(27),a=n(8),s=n(3),u=n(4),c=n(18),l=u.List,p=u.Repeat,f={insertAtomicBlock:function(t,e,n){var u=t.getCurrentContent(),f=t.getSelection(),d=a.removeRange(u,f,"backward"),h=d.getSelectionAfter(),g=a.splitBlock(d,h),v=g.getSelectionAfter(),y=a.setBlockType(g,v,"atomic"),m=o.create({entity:e}),_=[new i({key:c(),type:"atomic",text:n,characterList:l(p(m,n.length))}),new i({key:c(),type:"unstyled",text:"",characterList:l()})],b=r.createFromArray(_),w=a.replaceWithFragment(y,v,b),S=w.merge({selectionBefore:f,selectionAfter:w.getSelectionAfter().set("hasFocus",!0)});return s.push(t,S,"insert-fragment")}};t.exports=f},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e,n){for(var r=e;r<n;r++)if(null!=t[r])return!1;return!0}function i(t,e,n,r){for(var o=e;o<n;o++)t[o]=r}var a=n(4),s=a.List,u=function(){function t(e){r(this,t),this._decorators=e.slice()}return t.prototype.getDecorations=function(t){var e=Array(t.getText().length).fill(null);return this._decorators.forEach(function(n,r){var a=0;(0,n.strategy)(t,function(t,n){o(e,t,n)&&(i(e,t,n,r+"."+a),a++)})}),s(e)},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=u},function(t,e,n){"use strict";function r(t,e,n,r){var i=t.getBlockMap(),s=e.getStartKey(),u=e.getStartOffset(),c=e.getEndKey(),l=e.getEndOffset(),p=i.skipUntil(function(t,e){return e===s}).takeUntil(function(t,e){return e===c}).concat(a([[c,i.get(c)]])).map(function(t,e){var i,a;s===c?(i=u,a=l):(i=e===s?u:0,a=e===c?l:t.getLength());for(var p,f=t.getCharacterList();i<a;)p=f.get(i),f=f.set(i,r?o.applyStyle(p,n):o.removeStyle(p,n)),i++;return t.set("characterList",f)});return t.merge({blockMap:i.merge(p),selectionBefore:e,selectionAfter:e})}var o=n(14),i=n(4),a=i.Map,s={add:function(t,e,n){return r(t,e,n,!0)},remove:function(t,e,n){return r(t,e,n,!1)}};t.exports=s},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(28),s=a||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},u=n(69),c=n(121),l=n(221),p=n(222),f=n(223),d=n(224),h=n(226),g=n(3),v=n(7),y=n(15),m=n(141),_=n(76),b=n(19),w=n(41),S=n(10),k=n(18),C=n(127),E=n(12),x=n(79),O=b.isBrowser("IE"),T=!O,M={edit:d,composite:l,drag:f,cut:null,render:null},D=function(t){function e(n){r(this,e);var i=o(this,t.call(this,n));return i._blockSelectEvents=!1,i._clipboard=null,i._guardAgainstRender=!1,i._handler=null,i._dragCount=0,i._editorKey=k(),i._placeholderAccessibilityID="placeholder-"+i._editorKey,i._onBeforeInput=i._buildHandler("onBeforeInput"),i._onBlur=i._buildHandler("onBlur"),i._onCharacterData=i._buildHandler("onCharacterData"),i._onCompositionEnd=i._buildHandler("onCompositionEnd"),i._onCompositionStart=i._buildHandler("onCompositionStart"),i._onCopy=i._buildHandler("onCopy"),i._onCut=i._buildHandler("onCut"),i._onDragEnd=i._buildHandler("onDragEnd"),i._onDragOver=i._buildHandler("onDragOver"),i._onDragStart=i._buildHandler("onDragStart"),i._onDrop=i._buildHandler("onDrop"),i._onInput=i._buildHandler("onInput"),i._onFocus=i._buildHandler("onFocus"),i._onKeyDown=i._buildHandler("onKeyDown"),i._onKeyPress=i._buildHandler("onKeyPress"),i._onKeyUp=i._buildHandler("onKeyUp"),i._onMouseDown=i._buildHandler("onMouseDown"),i._onMouseUp=i._buildHandler("onMouseUp"),i._onPaste=i._buildHandler("onPaste"),i._onSelect=i._buildHandler("onSelect"),i.focus=i._focus.bind(i),i.blur=i._blur.bind(i),i.setMode=i._setMode.bind(i),i.exitCurrentMode=i._exitCurrentMode.bind(i),i.restoreEditorDOM=i._restoreEditorDOM.bind(i),i.setRenderGuard=i._setRenderGuard.bind(i),i.removeRenderGuard=i._removeRenderGuard.bind(i),i.setClipboard=i._setClipboard.bind(i),i.getClipboard=i._getClipboard.bind(i),i.getEditorKey=function(){return i._editorKey},i.update=i._update.bind(i),i.onDragEnter=i._onDragEnter.bind(i),i.onDragLeave=i._onDragLeave.bind(i),i.state={containerKey:0},i}return i(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.call(e,n)}}},e.prototype._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},e.prototype._renderPlaceholder=function(){return this._showPlaceholder()?v.createElement(h,{text:E(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID}):null},e.prototype.render=function(){var t=this.props,e=t.readOnly,n=t.textAlignment,r=w({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===n,"DraftEditor/alignRight":"right"===n,"DraftEditor/alignCenter":"center"===n}),o={outline:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"};return v.createElement("div",{className:r},this._renderPlaceholder(),v.createElement("div",{className:w("DraftEditor/editorContainer"),key:"editor"+this.state.containerKey,ref:"editorContainer"},v.createElement("div",{"aria-activedescendant":e?null:this.props.ariaActiveDescendantID,"aria-autocomplete":e?null:this.props.ariaAutoComplete,"aria-describedby":this._showPlaceholder()?this._placeholderAccessibilityID:null,"aria-expanded":e?null:this.props.ariaExpanded,"aria-haspopup":e?null:this.props.ariaHasPopup,"aria-label":this.props.ariaLabel,"aria-owns":e?null:this.props.ariaOwneeID,className:w("public/DraftEditor/content"),contentEditable:!e,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:"editor",role:e?null:this.props.role||"textbox",spellCheck:T&&this.props.spellCheck,style:o,suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},v.createElement(p,{blockRenderMap:this.props.blockRenderMap,blockRendererFn:this.props.blockRendererFn,blockStyleFn:this.props.blockStyleFn,customStyleMap:s({},c,this.props.customStyleMap),customStyleFn:this.props.customStyleFn,editorKey:this._editorKey,editorState:this.props.editorState}))))},e.prototype.componentDidMount=function(){this.setMode("edit"),O&&document.execCommand("AutoUrlDetect",!1,!1)},e.prototype.componentWillUpdate=function(){this._blockSelectEvents=!0},e.prototype.componentDidUpdate=function(){this._blockSelectEvents=!1},e.prototype._focus=function(t){var e=this.props.editorState,n=e.getSelection().getHasFocus(),r=y.findDOMNode(this.refs.editor),o=_.getScrollParent(r),i=t||x(o),a=i.x,s=i.y;r.focus(),o===window?window.scrollTo(a,s):m.setTop(o,s),n||this.update(g.forceSelection(e,e.getSelection()))},e.prototype._blur=function(){y.findDOMNode(this.refs.editor).blur()},e.prototype._setMode=function(t){this._handler=M[t]},e.prototype._exitCurrentMode=function(){this.setMode("edit")},e.prototype._restoreEditorDOM=function(t){var e=this;this.setState({containerKey:this.state.containerKey+1},function(){e._focus(t)})},e.prototype._setRenderGuard=function(){this._guardAgainstRender=!0},e.prototype._removeRenderGuard=function(){this._guardAgainstRender=!1},e.prototype._setClipboard=function(t){this._clipboard=t},e.prototype._getClipboard=function(){return this._clipboard},e.prototype._update=function(t){this.props.onChange(t)},e.prototype._onDragEnter=function(){this._dragCount++},e.prototype._onDragLeave=function(){0===--this._dragCount&&this.exitCurrentMode()},e}(v.Component);D.defaultProps={blockRenderMap:u,blockRendererFn:S.thatReturnsNull,blockStyleFn:S.thatReturns(""),keyBindingFn:C,readOnly:!1,spellCheck:!1,stripPastedStyles:!1},t.exports=D},function(t,e,n){"use strict";var r=n(8),o=n(3),i=n(75),a=n(72),s=n(136),u=!1,c=!1,l="",p={onBeforeInput:function(t){l=(l||"")+t.data},onCompositionStart:function(){c=!0},onCompositionEnd:function(){var t=this;u=!1,c=!1,setTimeout(function(){u||p.resolveComposition.call(t)},20)},onKeyDown:function(t){t.which!==i.RIGHT&&t.which!==i.LEFT||t.preventDefault()},onKeyPress:function(t){t.which===i.RETURN&&t.preventDefault()},resolveComposition:function(){if(!c){u=!0;var t=l;l="";var e=o.set(this.props.editorState,{inCompositionMode:!1}),n=e.getCurrentInlineStyle(),i=a(e.getCurrentContent(),e.getSelection()),p=!t||s(e)||n.size>0||null!==i;if(p&&this.restoreEditorDOM(),this.exitCurrentMode(),this.removeRenderGuard(),t){var f=r.replaceText(e.getCurrentContent(),e.getSelection(),t,n,i);return void this.update(o.push(e,f,"insert-characters"))}p&&this.update(o.set(e,{nativelyRenderedContent:null,forceSelection:!0}))}}};t.exports=p},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}function a(t,e,n,r){return f({"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})}var s=n(28),u=s||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},c=n(122),l=n(49),p=(n(3),n(7)),f=n(41),d=n(295),h=n(12),g=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(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(),u=e.getDecorator(),c=n.getDecorator();return o!==i||a!==s||u!==c||n.mustForceSelection()},e.prototype.render=function(){for(var t=this.props,e=t.blockRenderMap,n=t.blockRendererFn,r=t.customStyleMap,o=t.customStyleFn,i=t.editorState,s=i.getCurrentContent(),f=i.getSelection(),g=i.mustForceSelection(),v=i.getDecorator(),y=h(i.getDirectionMap()),m=s.getBlocksAsArray(),_=[],b=null,w=null,S=0;S<m.length;S++){var k=m[S],C=k.getKey(),E=k.getType(),x=n(k),O=void 0,T=void 0,M=void 0;x&&(O=x.component,T=x.props,M=x.editable);var D=y.get(C),I=l.encode(C,0,0),R={block:k,blockProps:T,customStyleMap:r,customStyleFn:o,decorator:v,direction:D,forceSelection:g,key:C,offsetKey:I,selection:f,tree:i.getBlockTree(C)},A=e.get(E),P=A.wrapper,N=A.element||e.get("unstyled").element,L=k.getDepth(),B=this.props.blockStyleFn(k);if("li"===N){B=d(B,a(E,L,w!==P||null===b||L>b,D))}var U=O||c,F={className:B,"data-block":!0,"data-editor":this.props.editorKey,"data-offset-key":I,key:C};void 0!==M&&(F=u({},F,{contentEditable:M,suppressContentEditableWarning:!0}));var K=p.createElement(N,F,p.createElement(U,R));_.push({block:K,wrapperTemplate:P,key:C,offsetKey:I}),b=P?k.getDepth():null,w=P}for(var j=[],z=0;z<_.length;){var q=_[z];if(q.wrapperTemplate){var H=[];do{H.push(_[z].block),z++}while(z<_.length&&_[z].wrapperTemplate===q.wrapperTemplate);var W=p.cloneElement(q.wrapperTemplate,{key:q.key+"-wrap","data-offset-key":q.offsetKey},H);j.push(W)}else j.push(q.block),z++}return p.createElement("div",{"data-contents":"true"},j)},e}(p.Component);t.exports=g},function(t,e,n){"use strict";function r(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=f(n),r=f(r);var i=f(c(n));return p(e,i,r,i,r)}function o(t,e){var n=s.moveText(t.getCurrentContent(),t.getSelection(),e);return u.push(t,n,"insert-fragment")}function i(t,e,n){var r=s.insertText(t.getCurrentContent(),e,n,t.getCurrentInlineStyle());return u.push(t,r,"insert-fragment")}var a=n(139),s=n(8),u=n(3),c=n(71),l=n(133),p=n(134),f=n(12),d=n(52),h={onDragEnd:function(){this.exitCurrentMode()},onDrop:function(t){var e=this,n=new a(t.nativeEvent.dataTransfer),s=this.props.editorState,u=r(t.nativeEvent,s);if(t.preventDefault(),this.exitCurrentMode(),null!=u){var c=n.getFiles();if(c.length>0){if(this.props.handleDroppedFiles&&d(this.props.handleDroppedFiles(u,c)))return;return void l(c,function(t){t&&e.update(i(s,f(u),t))})}var p=this._internalDrag?"internal":"external";if(!this.props.handleDrop||!d(this.props.handleDrop(u,n,p)))return this._internalDrag?void this.update(o(s,u)):void this.update(i(s,u,n.getText()))}}};t.exports=h},function(t,e,n){"use strict";var r=n(241),o=n(242),i=n(243),a=n(244),s=n(245),u=n(246),c=n(247),l=n(248),p=n(249),f=n(250),d=n(251),h=n(252),g={onBeforeInput:r,onBlur:o,onCompositionStart:i,onCopy:a,onCut:s,onDragOver:u,onDragStart:c,onFocus:l,onInput:p,onKeyDown:f,onPaste:d,onSelect:h};t.exports=g},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(28),s=n(227),u=n(7),c=n(15),l=(n(33),n(275)),p=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(e,t),e.prototype._setSelection=function(){var t=this.props.selection;if(null!=t&&t.getHasFocus()){var e=this.props,n=e.blockKey,r=e.start,o=e.text,i=r+o.length;if(t.hasEdgeWithin(n,r,i)){var a=c.findDOMNode(this),s=a.firstChild,u=void 0;u=s.nodeType===Node.TEXT_NODE?s:"BR"===s.tagName?a:s.firstChild,l(t,u,n,r,i)}}},e.prototype.shouldComponentUpdate=function(t){return c.findDOMNode(this.refs.leaf).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.props.text;t.endsWith("\n")&&this.props.isLast&&(t+="\n");var e=this.props,n=e.customStyleMap,r=e.customStyleFn,o=e.offsetKey,i=e.styleSet,c=i.reduce(function(t,e){var r={},o=n[e];return void 0!==o&&t.textDecoration!==o.textDecoration&&(r.textDecoration=[t.textDecoration,o.textDecoration].join(" ").trim()),a(t,o,r)},{});if(r){var l=r(i);c=a(c,l)}return u.createElement("span",{"data-offset-key":o,ref:"leaf",style:c},u.createElement(s,null,t))},e}(u.Component);t.exports=p},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(7),s=n(41),u=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(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=s({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":t});return a.createElement("div",{className:e},a.createElement("div",{className:s("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID},this.props.text))},e}(a.Component);t.exports=u},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}function a(t){return l?"\n"===t.textContent:"BR"===t.tagName}var s=n(7),u=n(15),c=n(19),l=c.isBrowser("IE <= 11"),p=l?s.createElement("span",{key:"A","data-text":"true"},"\n"):s.createElement("br",{key:"A","data-text":"true"}),f=l?s.createElement("span",{key:"B","data-text":"true"},"\n"):s.createElement("br",{key:"B","data-text":"true"}),d=function(t){function e(n){r(this,e);var i=o(this,t.call(this,n));return i._forceFlag=!1,i}return i(e,t),e.prototype.shouldComponentUpdate=function(t){var e=u.findDOMNode(this);return""===t.children?!a(e):e.textContent!==t.children},e.prototype.componentWillUpdate=function(){this._forceFlag=!this._forceFlag},e.prototype.render=function(){return""===this.props.children?this._forceFlag?p:f:s.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true"},this.props.children)},e}(s.Component);t.exports=d},function(t,e,n){"use strict";var r={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,u=r,c=null,l=null,p=0;p<i.length;p++){if(s=i[p],a=u+s.length,t<a&&u<e)null!==c?l=a:(c=u,l=a);else if(null!==c)break;u=a}var f=r+n.length,d=c===r,h=l===f;return(!d&&h||d&&!h)&&("forward"===o?l!==f&&l++:c!==r&&c--),{start:c,end:l}}};t.exports=r},function(t,e,n){"use strict";var r=(n(14),n(27)),o=n(4),i=n(126),a=n(18),s=n(131),u=n(74),c=o.List,l=o.Repeat,p={processHTML:function(t,e){return i(t,s,e)},processText:function(t,e){return t.map(function(t){return t=u(t),new r({key:a(),type:"unstyled",text:t,characterList:c(l(e,t.length))})})}};t.exports=p},function(t,e,n){"use strict";var r,o=n(4),i=n(281),a=n(12),s=o.OrderedMap,u={getDirectionMap:function(t,e){r?r.reset():r=new i;var n=t.getBlockMap(),u=n.valueSeq().map(function(t){return a(r).getDirection(t.getText())}),c=s(n.keySeq().zip(u));return null!=e&&o.is(e,c)?e:c}};t.exports=u},function(t,e,n){"use strict";var r=n(20),o=n(8),i=n(3),a=(n(33),n(233)),s=n(12),u={currentBlockContainsLink:function(t){var e=t.getSelection();return t.getCurrentContent().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 u.toggleInlineStyle(t,"BOLD");case"italic":return u.toggleInlineStyle(t,"ITALIC");case"underline":return u.toggleInlineStyle(t,"UNDERLINE");case"code":return u.toggleCode(t);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return u.onBackspace(t);case"delete":case"delete-word":case"delete-to-end-of-block":return u.onDelete(t);default:return null}},insertSoftNewline:function(t){var e=o.insertText(t.getCurrentContent(),t.getSelection(),"\n",t.getCurrentInlineStyle(),null),n=i.push(t,e,"insert-characters");return i.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(),a=n.getBlockBefore(r);if(a&&"atomic"===a.getType()){var s=e.merge({anchorKey:a.getKey(),anchorOffset:0}),c=o.setBlockType(n,s,n.getBlockForKey(r).getType()),l=o.removeRange(c,s,"backward");if(l!==n)return i.push(t,l,"remove-range")}var p=u.tryToRemoveBlockStyle(t);return p?i.push(t,p,"change-block-type"):null},onDelete:function(t){var e=t.getSelection();if(!e.isCollapsed())return null;var n=t.getCurrentContent(),r=e.getStartKey(),a=n.getBlockForKey(r),s=a.getLength();if(e.getStartOffset()<s)return null;var u=n.getBlockAfter(r);if(!u||"atomic"!==u.getType())return null;var c=e.merge({focusKey:u.getKey(),focusOffset:u.getLength()}),l=o.removeRange(n,c,"forward");return l!==n?i.push(t,l,"remove-range"):null},onTab:function(t,e,n){var r=e.getSelection(),o=r.getAnchorKey();if(o!==r.getFocusKey())return e;var s=e.getCurrentContent(),u=s.getBlockForKey(o),c=u.getType();if("unordered-list-item"!==c&&"ordered-list-item"!==c)return e;t.preventDefault();var l=s.getBlockBefore(o);if(!l)return e;var p=l.getType();if("unordered-list-item"!==p&&"ordered-list-item"!==p)return e;var f=u.getDepth();if(!t.shiftKey&&f===n)return e;n=Math.min(l.getDepth()+1,n);var d=a(s,r,t.shiftKey?-1:1,n);return i.push(e,d,"adjust-depth")},toggleBlockType:function(t,e){var n=t.getSelection(),r=n.getStartKey(),a=n.getEndKey(),u=t.getCurrentContent(),c=n;if(r!==a&&0===n.getEndOffset()){var l=s(u.getBlockBefore(a));a=l.getKey(),c=c.merge({anchorKey:r,anchorOffset:n.getStartOffset(),focusKey:a,focusOffset:l.getLength(),isBackward:!1})}if(u.getBlockMap().skipWhile(function(t,e){return e!==r}).reverse().skipWhile(function(t,e){return e!==a}).some(function(t){return"atomic"===t.getType()}))return t;var p=u.getBlockForKey(r).getType()===e?"unstyled":e;return i.push(t,o.setBlockType(u,c,p),"change-block-type")},toggleCode:function(t){var e=t.getSelection(),n=e.getAnchorKey(),r=e.getFocusKey();return e.isCollapsed()||n!==r?u.toggleBlockType(t,"code-block"):u.toggleInlineStyle(t,"CODE")},toggleInlineStyle:function(t,e){var n=t.getSelection(),r=t.getCurrentInlineStyle();if(n.isCollapsed())return i.setInlineStyleOverride(t,r.has(e)?r.remove(e):r.add(e));var a,s=t.getCurrentContent();return a=r.has(e)?o.removeInlineStyle(s,n,e):o.applyInlineStyle(s,n,e),i.push(t,a,"change-inline-style")},toggleLink:function(t,e,n){var r=o.applyEntity(t.getCurrentContent(),e,n);return i.push(t,r,"apply-entity")},tryToRemoveBlockStyle:function(t){var e=t.getSelection(),n=e.getAnchorOffset();if(e.isCollapsed()&&0===n){var r=e.getAnchorKey(),i=t.getCurrentContent(),a=i.getBlockForKey(r);if(a.getLength()>0)return null;var s=a.getType(),u=i.getBlockBefore(r);if("code-block"===s&&u&&"code-block"===u.getType())return null;if("unstyled"!==s)return o.setBlockType(i,e,"unstyled")}return null}};t.exports=u},function(t,e,n){"use strict";var r=n(8),o=n(3),i=n(51),a=n(12),s=null,u={cut:function(t){var e=t.getCurrentContent(),n=t.getSelection(),u=null;if(n.isCollapsed()){var c=n.getAnchorKey(),l=e.getBlockForKey(c).getLength();if(l===n.getAnchorOffset())return t;u=n.set("focusOffset",l)}else u=n;u=a(u),s=i(e,u);var p=r.removeRange(e,u,"forward");return p===e?t:o.push(t,p,"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=u},function(t,e,n){"use strict";function r(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})}t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){for(var i=t.getCharacterList();e<n;)i=i.set(e,o.applyEntity(i.get(e),r)),e++;return t.set("characterList",i)}var o=n(14);t.exports=r},function(t,e,n){"use strict";function r(t,e,n){var r=t.getBlockMap(),a=e.getStartKey(),s=e.getStartOffset(),u=e.getEndKey(),c=e.getEndOffset(),l=r.skipUntil(function(t,e){return e===a}).takeUntil(function(t,e){return e===u}).toOrderedMap().merge(o.OrderedMap([[u,r.get(u)]])).map(function(t,e){var r=e===a?s:0,o=e===u?c:t.getLength();return i(t,r,o,n)});return t.merge({blockMap:r.merge(l),selectionBefore:e,selectionAfter:e})}var o=n(4),i=n(234);t.exports=r},function(t,e,n){"use strict";function r(t){var e=0,n={},r=[];t.getBlockMap().forEach(function(t,o){t.findEntityRanges(function(t){return null!==t.getEntity()},function(r){var o=i.stringify(t.getEntityAt(r));n.hasOwnProperty(o)||(n[o]=""+e++)}),r.push({key:o,text:t.getText(),type:t.getType(),depth:t.getDepth(),inlineStyleRanges:s(t),entityRanges:a(t,n),data:t.getData().toObject()})});var u=Object.keys(n),c={};return u.forEach(function(t,e){var n=o.get(i.unstringify(t));c[e]={type:n.getType(),mutability:n.getMutability(),data:n.getData()}}),{entityMap:c,blocks:r}}var o=n(20),i=n(125),a=n(253),s=n(254);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.blocks,n=t.entityMap,r={};Object.keys(n).forEach(function(t){var e=n[t],o=e.type,i=e.mutability,a=e.data,s=u.create(o,i,a||{});r[t]=s});var o=e.map(function(t){var e=t.key,n=t.type,o=t.text,s=t.depth,u=t.inlineStyleRanges,c=t.entityRanges,g=t.data;e=e||d(),s=s||0,u=u||[],c=c||[],g=h(g);var v=f(o,u),y=c.filter(function(t){return r.hasOwnProperty(t.key)}).map(function(t){return i({},t,{key:r[t.key]})}),m=p(o,y),_=l(v,m);return new a({key:e,type:n,text:o,depth:s,characterList:_,data:g})});return s.createFromBlockArray(o)}var o=n(28),i=o||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},a=n(27),s=n(68),u=n(20),c=n(4),l=n(238),p=n(239),f=n(240),d=n(18),h=c.Map;t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=t.map(function(t,n){var r=e[n];return o.create({style:t,entity:r})});return a(n)}var o=n(14),i=n(4),a=i.List;t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=Array(t.length).fill(null);return e&&e.forEach(function(e){for(var r=i(t,0,e.offset).length,o=r+i(t,e.offset,e.length).length,a=r;a<o;a++)n[a]=e.key}),n}var o=n(29),i=o.substr;t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=Array(t.length).fill(u);return e&&e.forEach(function(e){for(var r=s(t,0,e.offset).length,o=r+s(t,e.offset,e.length).length;r<o;)n[r]=n[r].add(e.style),r++}),n}var o=n(29),i=n(4),a=i.OrderedSet,s=o.substr,u=a();t.exports=r},function(t,e,n){"use strict";function r(t){return v&&(t==h||t==g)}function o(t,e,n,r){var o=s.replaceText(t.getCurrentContent(),t.getSelection(),e,n,r);return u.push(t,o,"insert-characters")}function i(t){var e=t.data;if(e){if(this.props.handleBeforeInput&&d(this.props.handleBeforeInput(e)))return void t.preventDefault();var n=this.props.editorState,i=n.getSelection();if(!i.isCollapsed())return t.preventDefault(),void this.update(o(n,e,n.getCurrentInlineStyle(),l(n.getCurrentContent(),n.getSelection())));var s=!p(n),c=o(n,e,n.getCurrentInlineStyle(),l(n.getCurrentContent(),n.getSelection()));if(!s)return t.preventDefault(),void this.update(c);var h=i.getAnchorKey(),g=n.getBlockTree(h),v=a.getFingerprint(g),y=a.getFingerprint(c.getBlockTree(h));r(e)||v!==y||f(c.getDirectionMap()).get(h)!==f(n.getDirectionMap()).get(h)?t.preventDefault():c=u.set(c,{nativelyRenderedContent:c.getCurrentContent()}),this.update(c)}}var a=n(120),s=n(8),u=n(3),c=n(19),l=n(72),p=n(136),f=n(12),d=n(52),h="'",g="/",v=c.isBrowser("Firefox");t.exports=i},function(t,e,n){"use strict";(function(e){function r(t){s&&a()===document.body&&e.getSelection().removeAllRanges();var n=this.props.editorState,r=n.getSelection();if(r.getHasFocus()){var i=r.set("hasFocus",!1);this.props.onBlur&&this.props.onBlur(t),this.update(o.acceptSelection(n,i))}}var o=n(3),i=n(19),a=n(53),s=i.isEngine("WebKit");t.exports=r}).call(e,n(30))},function(t,e,n){"use strict";function r(){this.setRenderGuard(),this.setMode("composite"),this.update(o.set(this.props.editorState,{inCompositionMode:!0}))}var o=n(3);t.exports=r},function(t,e,n){"use strict";function r(t){if(this.props.editorState.getSelection().isCollapsed())return void t.preventDefault();this.setClipboard(o(this.props.editorState))}var o=n(129);t.exports=r},function(t,e,n){"use strict";function r(t){var e=this,n=this.props.editorState;if(n.getSelection().isCollapsed())return void t.preventDefault();var r=s.getScrollParent(t.target),i=c(r),a=i.x,l=i.y,p=u(n);this.setClipboard(p),this.setRenderGuard(),this.setMode("cut"),setTimeout(function(){e.restoreEditorDOM({x:a,y:l}),e.removeRenderGuard(),e.exitCurrentMode(),e.update(o(n))},0)}function o(t){var e=i.removeRange(t.getCurrentContent(),t.getSelection(),"forward");return a.push(t,e,"remove-range")}var i=n(8),a=n(3),s=n(76),u=n(129),c=n(79);t.exports=r},function(t,e,n){"use strict";function r(t){this._internalDrag=!1,this.setMode("drag"),t.preventDefault()}t.exports=r},function(t,e,n){"use strict";function r(){this._internalDrag=!0,this.setMode("drag")}t.exports=r},function(t,e,n){"use strict";function r(t){var e=this.props.editorState,n=e.getSelection();if(!n.getHasFocus()){var r=n.set("hasFocus",!0);this.props.onFocus&&this.props.onFocus(t),this.update(o.forceSelection(e,r))}}var o=n(3);t.exports=r},function(t,e,n){"use strict";(function(e){function r(){var t=e.getSelection(),n=t.anchorNode,r=t.isCollapsed;if(n.nodeType===Node.TEXT_NODE){var u=n.textContent,d=this.props.editorState,h=l(c(n)),g=i.decode(h),v=g.blockKey,y=g.decoratorKey,m=g.leafKey,_=d.getBlockTree(v).getIn([y,"leaves",m]),b=_.start,w=_.end,S=d.getCurrentContent(),k=S.getBlockForKey(v),C=k.getText().slice(b,w);if(u.endsWith(f)&&(u=u.slice(0,-1)),u!==C){var E,x,O,T,M=d.getSelection(),D=M.merge({anchorOffset:b,focusOffset:w,isBackward:!1}),I=k.getEntityAt(b),R=I&&s.get(I),A=R&&R.getMutability(),P="MUTABLE"===A,N=P?"spellcheck-change":"apply-entity",L=o.replaceText(S,D,u,k.getInlineStyleAt(b),P?k.getEntityAt(b):null);if(p)E=t.anchorOffset,x=t.focusOffset,O=b+Math.min(E,x),T=O+Math.abs(E-x),E=O,x=T;else{var B=u.length-C.length;O=M.getStartOffset(),T=M.getEndOffset(),E=r?T+B:O,x=T+B}var U=L.merge({selectionBefore:S.getSelectionAfter(),selectionAfter:M.merge({anchorOffset:E,focusOffset:x})});this.update(a.push(d,U,N))}}}var o=n(8),i=n(49),a=n(3),s=n(20),u=n(19),c=n(71),l=n(12),p=u.isEngine("Gecko"),f="\n\n";t.exports=r}).call(e,n(30))},function(t,e,n){"use strict";function r(t,e){switch(t){case"redo":return a.redo(e);case"delete":return v(e);case"delete-word":return d(e);case"backspace":return g(e);case"backspace-word":return f(e);case"backspace-to-start-of-line":return p(e);case"split-block":return h(e);case"transpose-characters":return _(e);case"move-selection-to-start-of-block":return m(e);case"move-selection-to-end-of-block":return y(e);case"secondary-cut":return c.cut(e);case"secondary-paste":return c.paste(e);default:return e}}function o(t){var e=t.which,n=this.props.editorState;switch(e){case u.RETURN:if(t.preventDefault(),this.props.handleReturn&&w(this.props.handleReturn(t)))return;break;case u.ESC:return t.preventDefault(),void(this.props.onEscape&&this.props.onEscape(t));case u.TAB:return void(this.props.onTab&&this.props.onTab(t));case u.UP:return void(this.props.onUpArrow&&this.props.onUpArrow(t));case u.DOWN:return void(this.props.onDownArrow&&this.props.onDownArrow(t));case u.SPACE:if(k&&S(t)){t.preventDefault();var o=i.replaceText(n.getCurrentContent(),n.getSelection()," ");return void this.update(a.push(n,o,"insert-characters"))}}var s=this.props.keyBindingFn(t);if(s){if("undo"===s)return void b(t,n,this.update);if(t.preventDefault(),!this.props.handleKeyCommand||!w(this.props.handleKeyCommand(s))){var c=r(s,n);c!==n&&this.update(c)}}}var i=n(8),a=n(3),s=n(70),u=n(75),c=n(232),l=n(19),p=n(263),f=n(264),d=n(265),h=n(266),g=n(269),v=n(270),y=n(267),m=n(268),_=n(271),b=n(272),w=n(52),S=s.isOptionKeyCommand,k=l.isBrowser("Chrome");t.exports=o},function(t,e,n){"use strict";function r(t){var e=this;t.preventDefault();var n=new u(t.clipboardData);if(!n.isRichText()){var r=n.getFiles(),v=n.getText();if(r.length>0){if(this.props.handlePastedFiles&&g(this.props.handlePastedFiles(r)))return;return void d(r,function(t){if(t=t||v){var n=e.props.editorState,r=h(t),o=s.create({style:n.getCurrentInlineStyle(),entity:f(n.getCurrentContent(),n.getSelection())}),i=l.processText(r,o),u=a.createFromArray(i),d=c.replaceWithFragment(n.getCurrentContent(),n.getSelection(),u);e.update(p.push(n,d,"insert-fragment"))}})}}var y=[],m=n.getText(),_=n.getHTML();if(!this.props.handlePastedText||!g(this.props.handlePastedText(m,_))){if(m&&(y=h(m)),!this.props.stripPastedStyles){var b=this.getClipboard();if(n.isRichText()&&b){if(-1!==_.indexOf(this.getEditorKey())||1===y.length&&1===b.size&&b.first().getText()===m)return void this.update(o(this.props.editorState,b))}else if(b&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&i(y,b))return void this.update(o(this.props.editorState,b));if(_){var w=l.processHTML(_,this.props.blockRenderMap);if(w){var S=a.createFromArray(w);return void this.update(o(this.props.editorState,S))}}this.setClipboard(null)}if(y){var k=this.props.editorState,C=s.create({style:k.getCurrentInlineStyle(),entity:f(k.getCurrentContent(),k.getSelection())}),E=l.processText(y,C),x=a.createFromArray(E);this.update(o(this.props.editorState,x))}}}function o(t,e){var n=c.replaceWithFragment(t.getCurrentContent(),t.getSelection(),e);return p.push(t,n,"insert-fragment")}function i(t,e){return t.length===e.size&&e.valueSeq().every(function(e,n){return e.getText()===t[n]})}var a=n(39),s=n(14),u=n(139),c=n(8),l=n(229),p=n(3),f=n(72),d=n(133),h=n(277),g=n(52);t.exports=r},function(t,e,n){"use strict";function r(){if(!this._blockSelectEvents){var t=this.props.editorState,e=a(t,i.findDOMNode(this.refs.editorContainer).firstChild),n=e.selectionState;n!==t.getSelection()&&(t=e.needsRecovery?o.forceSelection(t,n):o.acceptSelection(t,n),this.update(t))}}var o=n(3),i=n(15),a=n(257);t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=[];return t.findEntityRanges(function(t){return!!t.getEntity()},function(r,i){var s=t.getText(),u=t.getEntityAt(r);n.push({offset:a(s.slice(0,r)),length:a(s.slice(r,i)),key:Number(e[o.stringify(u)])})}),n}var o=n(125),i=n(29),a=i.strlen;t.exports=r},function(t,e,n){"use strict";function r(t,e,n){var r=[],o=e.map(function(t){return t.has(n)}).toList();return a(o,s,u,function(e,o){var a=t.getText();r.push({offset:i.strlen(a.slice(0,e)),length:i.strlen(a.slice(e,o)),style:n})}),r}function o(t){var e=t.getCharacterList().map(function(t){return t.getStyle()}).toList(),n=e.flatten().toSet().map(function(n){return r(t,e,n)});return Array.prototype.concat.apply(c,n.toJS())}var i=n(29),a=n(50),s=function(t,e){return t===e},u=function(t){return!!t},c=[];t.exports=o},function(t,e,n){"use strict";function r(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",document.body.appendChild(n);var r=n.getBoundingClientRect();return document.body.removeChild(n),r.height}function o(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 i(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}}function a(t){t.collapsed||c(!1),t=t.cloneRange();var e=t.startContainer;1!==e.nodeType&&(e=e.parentNode);var n=r(e),a=t.endContainer,l=t.endOffset;for(t.setStart(t.startContainer,0);o(u(t),n)&&(a=t.startContainer,l=t.startOffset,a.parentNode||c(!1),t.setStartBefore(a),1!==a.nodeType||"inline"===getComputedStyle(a).display););for(var p=a,f=l-1;;){for(var d=p.nodeValue,h=f;h>=0;h--)if(!(null!=d&&h>0&&s.isSurrogatePair(d,h-1))){if(t.setStart(p,h),!o(u(t),n))break;a=p,l=h}if(-1===h||0===p.childNodes.length)break;p=p.childNodes[h],f=i(p)}return t.setStart(a,l),t}var s=n(29),u=n(130),c=n(0);t.exports=a},function(t,e,n){"use strict";function r(t,e,n){var r=e.getStartOffset(),u=e.getEndOffset(),c=t.getEntityAt(r);if(!c)return e;var l=o.get(c),p=l.getMutability();if("MUTABLE"===p)return e;var f=a(t,c).filter(function(t){return r<t.end&&u>t.start});1!=f.length&&s(!1);var d=f[0];if("IMMUTABLE"===p)return e.merge({anchorOffset:d.start,focusOffset:d.end,isBackward:!1});var h=i.getRemovalRange(r,u,t.getText().slice(d.start,d.end),d.start,n);return e.merge({anchorOffset:h.start,focusOffset:h.end,isBackward:!1})}var o=n(20),i=n(228),a=n(259),s=n(0);t.exports=r},function(t,e,n){"use strict";(function(e){function r(t,n){var r=e.getSelection();return 0===r.rangeCount?{selectionState:t.getSelection().set("hasFocus",!1),needsRecovery:!1}:o(t,n,r.anchorNode,r.anchorOffset,r.focusNode,r.focusOffset)}var o=n(128);t.exports=r}).call(e,n(30))},function(t,e,n){"use strict";function r(t){var e=o(t),n=0,r=0,i=0,a=0;if(e.length){var s=e[0];n=s.top,r=s.right,i=s.bottom,a=s.left;for(var u=1;u<e.length;u++){var c=e[u];0===c.height&&0===c.width||(n=Math.min(n,c.top),r=Math.max(r,c.right),i=Math.max(i,c.bottom),a=Math.min(a,c.left))}}return{top:n,right:r,bottom:i,left:a,width:r-a,height:i-n}}var o=n(130);t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=[];return t.findEntityRanges(function(t){return t.getEntity()===e},function(t,e){n.push({start:t,end:e})}),n.length||o(!1),n}var o=n(0);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.getSelection();if(!e.rangeCount)return null;var n=e.getRangeAt(0),r=o(n),i=r.top,a=r.right,s=r.bottom,u=r.left;return 0===i&&0===a&&0===s&&0===u?null:r}var o=n(258);t.exports=r},function(t,e,n){"use strict";function r(t,e,n){e.isCollapsed()||s(!1);var r,u,c=e.getStartKey(),l=e.getStartOffset(),p=t.getBlockMap(),f=n.size;if(1===f){var d=p.get(c),h=n.first(),g=d.getText(),v=d.getCharacterList(),y=d.merge({text:g.slice(0,l)+h.getText()+g.slice(l),characterList:a(v,h.getCharacterList(),l),data:h.getData()});return p=p.set(c,y),r=c,u=l+h.getText().length,t.merge({blockMap:p.set(c,y),selectionBefore:e,selectionAfter:e.merge({anchorKey:r,anchorOffset:u,focusKey:r,focusOffset:u,isBackward:!1})})}var m=[];return t.getBlockMap().forEach(function(t,e){if(e!==c)return void m.push(t);var o=t.getText(),a=t.getCharacterList(),s=o.length,u=o.slice(0,l),p=a.slice(0,l),d=n.first(),h=t.merge({text:u+d.getText(),characterList:p.concat(d.getCharacterList()),type:u?t.getType():d.getType(),data:d.getData()});m.push(h),n.slice(1,f-1).forEach(function(t){m.push(t.set("key",i()))});var g=o.slice(l,s),v=a.slice(l,s),y=n.last();r=i();var _=y.merge({key:r,text:y.getText()+g,characterList:y.getCharacterList().concat(v),data:y.getData()});m.push(_)}),u=n.last().getLength(),t.merge({blockMap:o.createFromArray(m),selectionBefore:e,selectionAfter:e.merge({anchorKey:r,anchorOffset:u,focusKey:r,focusOffset:u,isBackward:!1})})}var o=n(39),i=n(18),a=n(135),s=n(0);t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){e.isCollapsed()||a(!1);var o=n.length;if(!o)return t;var u=t.getBlockMap(),c=e.getStartKey(),l=e.getStartOffset(),p=u.get(c),f=p.getText(),d=p.merge({text:f.slice(0,l)+n+f.slice(l,p.getLength()),characterList:i(p.getCharacterList(),s(r,o).toList(),l)}),h=l+o;return t.merge({blockMap:u.set(c,d),selectionAfter:e.merge({anchorOffset:h,focusOffset:h})})}var o=n(4),i=n(135),a=n(0),s=o.Repeat;t.exports=r},function(t,e,n){"use strict";(function(e){function r(t){var n=u(t,function(t){var n=t.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return s(t,1);var r=e.getSelection(),o=r.getRangeAt(0);return o=i(o),a(t,null,o.endContainer,o.endOffset,o.startContainer,o.startOffset).selectionState},"backward");return n===t.getCurrentContent()?t:o.push(t,n,"remove-range")}var o=n(3),i=n(255),a=n(128),s=n(73),u=n(40);t.exports=r}).call(e,n(30))},function(t,e,n){"use strict";function r(t){var e=s(t,function(t){var e=t.getSelection(),n=e.getStartOffset();if(0===n)return a(t,1);var r=e.getStartKey(),i=t.getCurrentContent(),s=i.getBlockForKey(r).getText().slice(0,n),u=o.getBackward(s);return a(t,u.length||1)},"backward");return e===t.getCurrentContent()?t:i.push(t,e,"remove-range")}var o=n(124),i=n(3),a=n(73),s=n(40);t.exports=r},function(t,e,n){"use strict";function r(t){var e=s(t,function(t){var e=t.getSelection(),n=e.getStartOffset(),r=e.getStartKey(),i=t.getCurrentContent(),s=i.getBlockForKey(r).getText().slice(n),u=o.getForward(s);return a(t,u.length||1)},"forward");return e===t.getCurrentContent()?t:i.push(t,e,"remove-range")}var o=n(124),i=n(3),a=n(137),s=n(40);t.exports=r},function(t,e,n){"use strict";function r(t){var e=o.splitBlock(t.getCurrentContent(),t.getSelection());return i.push(t,e,"split-block")}var o=n(8),i=n(3);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.getSelection(),n=e.getEndKey(),r=t.getCurrentContent(),i=r.getBlockForKey(n).getLength();return o.set(t,{selection:e.merge({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}),forceSelection:!0})}var o=n(3);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.getSelection(),n=e.getStartKey();return o.set(t,{selection:e.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})}var o=n(3);t.exports=r},function(t,e,n){"use strict";function r(t){var e=s(t,function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=e.getAnchorKey(),o=e.getAnchorOffset(),s=n.getBlockForKey(r).getText()[o-1];return a(t,s?i.getUTF16Length(s,0):1)},"backward");if(e===t.getCurrentContent())return t;var n=t.getSelection();return o.push(t,e.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")}var o=n(3),i=n(29),a=n(73),s=n(40);t.exports=r},function(t,e,n){"use strict";function r(t){var e=s(t,function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=e.getAnchorKey(),o=e.getAnchorOffset(),s=n.getBlockForKey(r).getText()[o];return a(t,s?i.getUTF16Length(s,0):1)},"forward");if(e===t.getCurrentContent())return t;var n=t.getSelection();return o.push(t,e.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")}var o=n(3),i=n(29),a=n(137),s=n(40);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.getSelection();if(!e.isCollapsed())return t;var n=e.getAnchorOffset();if(0===n)return t;var r=e.getAnchorKey(),s=t.getCurrentContent(),u=s.getBlockForKey(r),c=u.getLength();if(c<=1)return t;var l,p;n===c?(l=e.set("anchorOffset",n-1),p=e):(l=e.set("focusOffset",n+1),p=l.set("anchorOffset",n+1));var f=a(s,l),d=o.removeRange(s,l,"backward"),h=d.getSelectionAfter(),g=h.getAnchorOffset()-1,v=h.merge({anchorOffset:g,focusOffset:g}),y=o.replaceWithFragment(d,v,f),m=i.push(t,y,"insert-fragment");return i.acceptSelection(m,p)}var o=n(8),i=n(3),a=n(51);t.exports=r},function(t,e,n){"use strict";function r(t,e,n){var r=o.undo(e);if("spellcheck-change"===e.getLastChangeType()){var i=r.getCurrentContent();return void n(o.set(r,{nativelyRenderedContent:i}))}if(t.preventDefault(),!e.getNativelyRenderedContent())return void n(r);n(o.set(e,{nativelyRenderedContent:null})),setTimeout(function(){n(r)},0)}var o=n(3);t.exports=r},function(t,e,n){"use strict";function r(t,e,n){var r=e.getStartKey(),o=e.getEndKey(),a=t.getBlockMap(),s=a.toSeq().skipUntil(function(t,e){return e===r}).takeUntil(function(t,e){return e===o}).concat(i([[o,a.get(o)]])).map(n);return t.merge({blockMap:a.merge(s),selectionBefore:e,selectionAfter:e})}var o=n(4),i=o.Map;t.exports=r},function(t,e,n){"use strict";function r(t,e){if(e.isCollapsed())return t;var n,r=t.getBlockMap(),a=e.getStartKey(),s=e.getStartOffset(),u=e.getEndKey(),c=e.getEndOffset(),l=r.get(a),p=r.get(u);n=l===p?o(l.getCharacterList(),s,c):l.getCharacterList().slice(0,s).concat(p.getCharacterList().slice(c));var f=l.merge({text:l.getText().slice(0,s)+p.getText().slice(c),characterList:n}),d=r.toSeq().skipUntil(function(t,e){return e===a}).takeUntil(function(t,e){return e===u}).concat(i.Map([[u,null]])).map(function(t,e){return e===a?f:null});return r=r.merge(d).filter(function(t){return!!t}),t.merge({blockMap:r,selectionBefore:e,selectionAfter:e.merge({anchorKey:a,anchorOffset:s,focusKey:a,focusOffset:s,isBackward:!1})})}function o(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}var i=n(4);t.exports=r},function(t,e,n){"use strict";(function(e){function r(t,n,r,s,u){if(a(document.documentElement,n)){var c=e.getSelection(),l=t.getAnchorKey(),p=t.getAnchorOffset(),f=t.getFocusKey(),d=t.getFocusOffset(),h=t.getIsBackward();if(!c.extend&&h){var g=l,v=p;l=f,p=d,f=g,d=v,h=!1}var y=l===r&&s<=p&&u>=p,m=f===r&&s<=d&&u>=d;if(y&&m)return c.removeAllRanges(),i(c,n,p-s),void o(c,n,d-s);if(h){if(m&&(c.removeAllRanges(),i(c,n,d-s)),y){var _=c.focusNode,b=c.focusOffset;c.removeAllRanges(),i(c,n,p-s),o(c,_,b)}}else y&&(c.removeAllRanges(),i(c,n,p-s)),m&&o(c,n,d-s)}}function o(t,e,n){if(t.extend&&a(s(),e))t.extend(e,n);else{var r=t.getRangeAt(0);r.setEnd(e,n),t.addRange(r.cloneRange())}}function i(t,e,n){var r=document.createRange();r.setStart(e,n),t.addRange(r)}var a=n(78),s=n(53);t.exports=r}).call(e,n(30))},function(t,e,n){"use strict";function r(t,e){e.isCollapsed()||a(!1);var n=e.getAnchorKey(),r=e.getAnchorOffset(),o=t.getBlockMap(),u=o.get(n),c=u.getText(),l=u.getCharacterList(),p=u.merge({text:c.slice(0,r),characterList:l.slice(0,r)}),f=i(),d=p.merge({key:f,text:c.slice(r),characterList:l.slice(r),data:s()}),h=o.toSeq().takeUntil(function(t){return t===u}),g=o.toSeq().skipUntil(function(t){return t===u}).rest(),v=h.concat([[p.getKey(),p],[d.getKey(),d]],g).toOrderedMap();return t.merge({blockMap:v,selectionBefore:e,selectionAfter:e.merge({anchorKey:f,anchorOffset:0,focusKey:f,focusOffset:0,isBackward:!1})})}var o=n(4),i=n(18),a=n(0),s=o.Map;t.exports=r},function(t,e,n){"use strict";function r(t){return t.split(o)}var o=/\r\n?|\n/g;t.exports=r},function(t,e,n){"use strict";function r(t){return t.split("/")}var o={isImage:function(t){return"image"===r(t)[0]},isJpeg:function(t){var e=r(t);return o.isImage(t)&&("jpeg"===e[1]||"pjpeg"===e[1])}};t.exports=o},function(t,e,n){"use strict";t.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=function(){function t(e){r(this,t),this._uri=e}return t.prototype.toString=function(){return this._uri},t}();t.exports=o},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=n(142),i=n(77),a=n(0),s=function(){function t(e){r(this,t),e?i.isStrong(e)||a(!1):e=i.getGlobalDir(),this._defaultDir=e,this.reset()}return t.prototype.reset=function(){this._lastDir=this._defaultDir},t.prototype.getDirection=function(t){return this._lastDir=o.getDirection(t,this._lastDir),this._lastDir},t}();t.exports=s},function(t,e,n){"use strict";var r=n(357),o="Unknown",i={"Mac OS":"Mac OS X"},a=new r,s=a.getResult(),u=function(t){if(!t)return{major:"",minor:""};var e=t.split(".");return{major:e[0],minor:e[1]}}(s.browser.version),c={browserArchitecture:s.cpu.architecture||o,browserFullVersion:s.browser.version||o,browserMinorVersion:u.minor||o,browserName:s.browser.name||o,browserVersion:s.browser.major||o,deviceName:s.device.model||o,engineName:s.engine.name||o,engineVersion:s.engine.version||o,platformArchitecture:s.cpu.architecture||o,platformName:function(t){return i[t]||t}(s.os.name)||o,platformVersion:s.os.version||o,platformFullVersion:s.os.version||o};t.exports=c},function(t,e,n){"use strict";function r(t,e){var n=t.split(S);return n.length>1?n.some(function(t){return x.contains(t,e)}):(t=n[0].trim(),o(t,e))}function o(t,e){var n=t.split(k);if(n.length>0&&n.length<=2||b(!1),1===n.length)return i(n[0],e);var r=n[0],o=n[1];return h(r)&&h(o)||b(!1),i(">="+r,e)&&i("<="+o,e)}function i(t,e){if(""===(t=t.trim()))return!0;var n=e.split(w),r=f(t),o=r.modifier,i=r.rangeComponents;switch(o){case"<":return a(n,i);case"<=":return s(n,i);case">=":return c(n,i);case">":return l(n,i);case"~":case"~>":return p(n,i);default:return u(n,i)}}function a(t,e){return-1===_(t,e)}function s(t,e){var n=_(t,e);return-1===n||0===n}function u(t,e){return 0===_(t,e)}function c(t,e){var n=_(t,e);return 1===n||0===n}function l(t,e){return 1===_(t,e)}function p(t,e){var n=e.slice(),r=e.slice();r.length>1&&r.pop();var o=r.length-1,i=parseInt(r[o],10);return d(i)&&(r[o]=i+1+""),c(t,n)&&a(t,r)}function f(t){var e=t.split(w),n=e[0].match(C);return n||b(!1),{modifier:n[1],rangeComponents:[n[2]].concat(e.slice(1))}}function d(t){return!isNaN(t)&&isFinite(t)}function h(t){return!f(t).modifier}function g(t,e){for(var n=t.length;n<e;n++)t[n]="0"}function v(t,e){t=t.slice(),e=e.slice(),g(t,e.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 g(e,t.length),[t,e]}function y(t,e){var n=t.match(E)[1],r=e.match(E)[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&&b(!1),t>e?1:t<e?-1:0}function _(t,e){for(var n=v(t,e),r=n[0],o=n[1],i=0;i<o.length;i++){var a=y(r[i],o[i]);if(a)return a}return 0}var b=n(0),w=/\./,S=/\|\|/,k=/\s+\-\s+/,C=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,E=/^(\d*)(.*)/,x={contains:function(t,e){return r(t.trim(),e.trim())}};t.exports=x},function(t,e,n){"use strict";function r(t){return o(t.replace(i,"ms-"))}var o=n(143),i=/^-ms-/;t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.match(l);return e&&e[1].toLowerCase()}function o(t,e){var n=c;c||u(!1);var o=r(t),i=o&&s(o);if(i){n.innerHTML=i[1]+t+i[2];for(var l=i[0];l--;)n=n.lastChild}else n.innerHTML=t;var p=n.getElementsByTagName("script");p.length&&(e||u(!1),a(p).forEach(e));for(var f=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return f}var i=n(9),a=n(144),s=n(289),u=n(0),c=i.canUseDOM?document.createElement("div"):null,l=/^\s*<(\w+)/;t.exports=o},function(t,e,n){"use strict";function r(t){return t=t||document,o||"CSS1Compat"!==t.compatMode?t.body:t.documentElement}var o="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;t.exports=r},function(t,e,n){"use strict";function r(t){var e=o(t);return{x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}}var o=n(288);t.exports=r},function(t,e,n){"use strict";function r(t){var e=document.documentElement;if(!("getBoundingClientRect"in t&&o(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}}var o=n(78);t.exports=r},function(t,e,n){"use strict";function r(t){return a||i(!1),f.hasOwnProperty(t)||(t="*"),s.hasOwnProperty(t)||(a.innerHTML="*"===t?"<link />":"<"+t+"></"+t+">",s[t]=!a.firstChild),s[t]?f[t]:null}var o=n(9),i=n(0),a=o.canUseDOM?document.createElement("div"):null,s={},u=[1,'<select multiple="true">',"</select>"],c=[1,"<table>","</table>"],l=[3,"<table><tbody><tr>","</tr></tbody></table>"],p=[1,'<svg xmlns="http://www.w3.org/2000/svg">',"</svg>"],f={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],optgroup:u,option:u,caption:c,colgroup:c,tbody:c,tfoot:c,thead:c,td:l,th:l};["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"].forEach(function(t){f[t]=p,s[t]=!0}),t.exports=r},function(t,e,n){"use strict";function r(t){return null==t?t:String(t)}function o(t,e){var n=void 0;if(window.getComputedStyle&&(n=window.getComputedStyle(t,null)))return r(n.getPropertyValue(a(e)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(t,null))return r(n.getPropertyValue(a(e)));if("display"===e)return"none"}return r(t.currentStyle?"float"===e?t.currentStyle.cssFloat||t.currentStyle.styleFloat:t.currentStyle[i(e)]:t.style&&t.style[i(e)])}var i=n(143),a=n(147);t.exports=o},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";function r(t){return o(t).replace(i,"-ms-")}var o=n(147),i=/^ms-/;t.exports=r},function(t,e,n){"use strict";function r(t){return!(!t||!("function"==typeof Node?t instanceof Node:"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName))}t.exports=r},function(t,e,n){"use strict";function r(t){return o(t)&&3==t.nodeType}var o=n(293);t.exports=r},function(t,e,n){"use strict";function r(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}t.exports=r},function(t,e,n){"use strict";function r(t,e,n){if(!t)return null;var r={};for(var i in t)o.call(t,i)&&(r[i]=e.call(n,t[i],i,t));return r}var o=Object.prototype.hasOwnProperty;t.exports=r},function(t,e,n){"use strict";t.exports=n(453)},function(t,e,n){"use strict";var r=n(6),o=n(145),i={focusDOMComponent:function(){o(r.getNodeFromInstance(this))}};t.exports=i},function(t,e,n){"use strict";function r(t){return(t.ctrlKey||t.altKey||t.metaKey)&&!(t.ctrlKey&&t.altKey)}function o(t){switch(t){case O.topCompositionStart:return T.compositionStart;case O.topCompositionEnd:return T.compositionEnd;case O.topCompositionUpdate:return T.compositionUpdate}}function i(t,e){return t===O.topKeyDown&&e.keyCode===b}function a(t,e){switch(t){case O.topKeyUp:return-1!==_.indexOf(e.keyCode);case O.topKeyDown:return e.keyCode!==b;case O.topKeyPress:case O.topMouseDown:case O.topBlur:return!0;default:return!1}}function s(t){var e=t.detail;return"object"==typeof e&&"data"in e?e.data:null}function u(t,e,n,r){var u,c;if(w?u=o(t):D?a(t,n)&&(u=T.compositionEnd):i(t,n)&&(u=T.compositionStart),!u)return null;C&&(D||u!==T.compositionStart?u===T.compositionEnd&&D&&(c=D.getData()):D=g.getPooled(r));var l=v.getPooled(u,e,n,r);if(c)l.data=c;else{var p=s(n);null!==p&&(l.data=p)}return d.accumulateTwoPhaseDispatches(l),l}function c(t,e){switch(t){case O.topCompositionEnd:return s(e);case O.topKeyPress:return e.which!==E?null:(M=!0,x);case O.topTextInput:var n=e.data;return n===x&&M?null:n;default:return null}}function l(t,e){if(D){if(t===O.topCompositionEnd||!w&&a(t,e)){var n=D.getData();return g.release(D),D=null,n}return null}switch(t){case O.topPaste:return null;case O.topKeyPress:return e.which&&!r(e)?String.fromCharCode(e.which):null;case O.topCompositionEnd:return C?null:e.data;default:return null}}function p(t,e,n,r){var o;if(!(o=k?c(t,n):l(t,n)))return null;var i=y.getPooled(T.beforeInput,e,n,r);return i.data=o,d.accumulateTwoPhaseDispatches(i),i}var f=n(21),d=n(43),h=n(9),g=n(305),v=n(338),y=n(341),m=n(23),_=[9,13,27,32],b=229,w=h.canUseDOM&&"CompositionEvent"in window,S=null;h.canUseDOM&&"documentMode"in document&&(S=document.documentMode);var k=h.canUseDOM&&"TextEvent"in window&&!S&&!function(){var t=window.opera;return"object"==typeof t&&"function"==typeof t.version&&parseInt(t.version(),10)<=12}(),C=h.canUseDOM&&(!w||S&&S>8&&S<=11),E=32,x=String.fromCharCode(E),O=f.topLevelTypes,T={beforeInput:{phasedRegistrationNames:{bubbled:m({onBeforeInput:null}),captured:m({onBeforeInputCapture:null})},dependencies:[O.topCompositionEnd,O.topKeyPress,O.topTextInput,O.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:m({onCompositionEnd:null}),captured:m({onCompositionEndCapture:null})},dependencies:[O.topBlur,O.topCompositionEnd,O.topKeyDown,O.topKeyPress,O.topKeyUp,O.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:m({onCompositionStart:null}),captured:m({onCompositionStartCapture:null})},dependencies:[O.topBlur,O.topCompositionStart,O.topKeyDown,O.topKeyPress,O.topKeyUp,O.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:m({onCompositionUpdate:null}),captured:m({onCompositionUpdateCapture:null})},dependencies:[O.topBlur,O.topCompositionUpdate,O.topKeyDown,O.topKeyPress,O.topKeyUp,O.topMouseDown]}},M=!1,D=null,I={eventTypes:T,extractEvents:function(t,e,n,r){return[u(t,e,n,r),p(t,e,n,r)]}};t.exports=I},function(t,e,n){"use strict";var r=n(149),o=n(9),i=(n(13),n(284),n(348)),a=n(292),s=n(148),u=(n(2),s(function(t){return a(t)})),c=!1,l="cssFloat";if(o.canUseDOM){var p=document.createElement("div").style;try{p.font=""}catch(t){c=!0}void 0===document.documentElement.style.cssFloat&&(l="styleFloat")}var f={createMarkupForStyles:function(t,e){var n="";for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];null!=o&&(n+=u(r)+":",n+=i(r,o,e)+";")}return n||null},setValueForStyles:function(t,e,n){var o=t.style;for(var a in e)if(e.hasOwnProperty(a)){var s=i(a,e[a],n);if("float"!==a&&"cssFloat"!==a||(a=l),s)o[a]=s;else{var u=c&&r.shorthandPropertyExpansions[a];if(u)for(var p in u)o[p]="";else o[a]=""}}}};t.exports=f},function(t,e,n){"use strict";function r(t){var e=t.nodeName&&t.nodeName.toLowerCase();return"select"===e||"input"===e&&"file"===t.type}function o(t){var e=C.getPooled(D.change,R,t,E(t));b.accumulateTwoPhaseDispatches(e),k.batchedUpdates(i,e)}function i(t){_.enqueueEvents(t),_.processEventQueue(!1)}function a(t,e){I=t,R=e,I.attachEvent("onchange",o)}function s(){I&&(I.detachEvent("onchange",o),I=null,R=null)}function u(t,e){if(t===M.topChange)return e}function c(t,e,n){t===M.topFocus?(s(),a(e,n)):t===M.topBlur&&s()}function l(t,e){I=t,R=e,A=t.value,P=Object.getOwnPropertyDescriptor(t.constructor.prototype,"value"),Object.defineProperty(I,"value",B),I.attachEvent?I.attachEvent("onpropertychange",f):I.addEventListener("propertychange",f,!1)}function p(){I&&(delete I.value,I.detachEvent?I.detachEvent("onpropertychange",f):I.removeEventListener("propertychange",f,!1),I=null,R=null,A=null,P=null)}function f(t){if("value"===t.propertyName){var e=t.srcElement.value;e!==A&&(A=e,o(t))}}function d(t,e){if(t===M.topInput)return e}function h(t,e,n){t===M.topFocus?(p(),l(e,n)):t===M.topBlur&&p()}function g(t,e){if((t===M.topSelectionChange||t===M.topKeyUp||t===M.topKeyDown)&&I&&I.value!==A)return A=I.value,R}function v(t){return t.nodeName&&"input"===t.nodeName.toLowerCase()&&("checkbox"===t.type||"radio"===t.type)}function y(t,e){if(t===M.topClick)return e}var m=n(21),_=n(42),b=n(43),w=n(9),S=n(6),k=n(17),C=n(22),E=n(100),x=n(101),O=n(171),T=n(23),M=m.topLevelTypes,D={change:{phasedRegistrationNames:{bubbled:T({onChange:null}),captured:T({onChangeCapture:null})},dependencies:[M.topBlur,M.topChange,M.topClick,M.topFocus,M.topInput,M.topKeyDown,M.topKeyUp,M.topSelectionChange]}},I=null,R=null,A=null,P=null,N=!1;w.canUseDOM&&(N=x("change")&&(!document.documentMode||document.documentMode>8));var L=!1;w.canUseDOM&&(L=x("input")&&(!document.documentMode||document.documentMode>11));var B={get:function(){return P.get.call(this)},set:function(t){A=""+t,P.set.call(this,t)}},U={eventTypes:D,extractEvents:function(t,e,n,o){var i,a,s=e?S.getNodeFromInstance(e):window;if(r(s)?N?i=u:a=c:O(s)?L?i=d:(i=g,a=h):v(s)&&(i=y),i){var l=i(t,e);if(l){var p=C.getPooled(D.change,l,n,o);return p.type="change",b.accumulateTwoPhaseDispatches(p),p}}a&&a(t,s,e)}};t.exports=U},function(t,e,n){"use strict";var r=n(1),o=n(34),i=n(9),a=n(285),s=n(10),u=(n(0),{dangerouslyReplaceNodeWithMarkup:function(t,e){if(i.canUseDOM||r("56"),e||r("57"),"HTML"===t.nodeName&&r("58"),"string"==typeof e){var n=a(e,s)[0];t.parentNode.replaceChild(n,t)}else o.replaceChildWithTree(t,e)}});t.exports=u},function(t,e,n){"use strict";var r=n(23),o=[r({ResponderEventPlugin:null}),r({SimpleEventPlugin:null}),r({TapEventPlugin:null}),r({EnterLeaveEventPlugin:null}),r({ChangeEventPlugin:null}),r({SelectEventPlugin:null}),r({BeforeInputEventPlugin:null})];t.exports=o},function(t,e,n){"use strict";var r=n(21),o=n(43),i=n(6),a=n(58),s=n(23),u=r.topLevelTypes,c={mouseEnter:{registrationName:s({onMouseEnter:null}),dependencies:[u.topMouseOut,u.topMouseOver]},mouseLeave:{registrationName:s({onMouseLeave:null}),dependencies:[u.topMouseOut,u.topMouseOver]}},l={eventTypes:c,extractEvents:function(t,e,n,r){if(t===u.topMouseOver&&(n.relatedTarget||n.fromElement))return null;if(t!==u.topMouseOut&&t!==u.topMouseOver)return null;var s;if(r.window===r)s=r;else{var l=r.ownerDocument;s=l?l.defaultView||l.parentWindow:window}var p,f;if(t===u.topMouseOut){p=e;var d=n.relatedTarget||n.toElement;f=d?i.getClosestInstanceFromNode(d):null}else p=null,f=e;if(p===f)return null;var h=null==p?s:i.getNodeFromInstance(p),g=null==f?s:i.getNodeFromInstance(f),v=a.getPooled(c.mouseLeave,p,n,r);v.type="mouseleave",v.target=h,v.relatedTarget=g;var y=a.getPooled(c.mouseEnter,f,n,r);return y.type="mouseenter",y.target=g,y.relatedTarget=h,o.accumulateEnterLeaveDispatches(v,y,p,f),[v,y]}};t.exports=l},function(t,e,n){"use strict";function r(t){this._root=t,this._startText=this.getText(),this._fallbackText=null}var o=n(5),i=n(24),a=n(170);o(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[a()]},getData:function(){if(this._fallbackText)return this._fallbackText;var t,e,n=this._startText,r=n.length,o=this.getText(),i=o.length;for(t=0;t<r&&n[t]===o[t];t++);var a=r-t;for(e=1;e<=a&&n[r-e]===o[i-e];e++);var s=e>1?1-e:void 0;return this._fallbackText=o.slice(t,s),this._fallbackText}}),i.addPoolingTo(r),t.exports=r},function(t,e,n){"use strict";var r=n(35),o=r.injection.MUST_USE_PROPERTY,i=r.injection.HAS_BOOLEAN_VALUE,a=r.injection.HAS_NUMERIC_VALUE,s=r.injection.HAS_POSITIVE_NUMERIC_VALUE,u=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,c={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:i,allowTransparency:0,alt:0,as:0,async:i,autoComplete:0,autoPlay:i,capture:i,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:o|i,cite:0,classID:0,className:0,cols:s,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:i,coords:0,crossOrigin:0,data:0,dateTime:0,default:i,defer:i,dir:0,disabled:i,download:u,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:i,formTarget:0,frameBorder:0,headers:0,height:0,hidden:i,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:i,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:o|i,muted:o|i,name:0,nonce:0,noValidate:i,open:i,optimum:0,pattern:0,placeholder:0,playsInline:i,poster:0,preload:0,profile:0,radioGroup:0,readOnly:i,referrerPolicy:0,rel:0,required:i,reversed:i,role:0,rows:s,rowSpan:a,sandbox:0,scope:0,scoped:i,scrolling:0,seamless:i,selected:o|i,shape:0,size:s,sizes:0,span:s,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:a,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:i,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{}};t.exports=c},function(t,e,n){"use strict";var r=n(5),o=n(152),i=n(88),a=n(329),s=n(153),u=n(315),c=n(16),l=n(163),p=n(110),f=n(354),d=(n(2),c.createElement),h=c.createFactory,g=c.cloneElement,v=r,y={Children:{map:o.map,forEach:o.forEach,count:o.count,toArray:o.toArray,only:f},Component:i,PureComponent:a,createElement:d,cloneElement:g,isValidElement:c.isValidElement,PropTypes:l,createClass:s.createClass,createFactory:h,createMixin:function(t){return t},DOM:u,version:p,__spread:v};t.exports=y},function(t,e,n){"use strict";(function(e){function r(t,e,n,r){var o=void 0===t[n];null!=e&&o&&(t[n]=i(e,!0))}var o=n(31),i=n(111),a=(n(86),n(102)),s=n(103);n(2);void 0!==e&&n.i({NODE_ENV:"production"});var u={instantiateChildren:function(t,e,n,o){if(null==t)return null;var i={};return s(t,r,i),i},updateChildren:function(t,e,n,r,s,u,c,l,p){if(e||t){var f,d;for(f in e)if(e.hasOwnProperty(f)){d=t&&t[f];var h=d&&d._currentElement,g=e[f];if(null!=d&&a(h,g))o.receiveComponent(d,g,s,l),e[f]=d;else{d&&(r[f]=o.getHostNode(d),o.unmountComponent(d,!1));var v=i(g,!0);e[f]=v;var y=o.mountComponent(v,s,u,c,l,p);n.push(y)}}for(f in t)!t.hasOwnProperty(f)||e&&e.hasOwnProperty(f)||(d=t[f],r[f]=o.getHostNode(d),o.unmountComponent(d,!1))}},unmountChildren:function(t,e){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];o.unmountComponent(r,e)}}};t.exports=u}).call(e,n(55))},function(t,e,n){"use strict";var r=n(82),o=n(317),i={processChildrenUpdates:o.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup};t.exports=i},function(t,e,n){"use strict";function r(t){}function o(t){return!(!t.prototype||!t.prototype.isReactComponent)}function i(t){return!(!t.prototype||!t.prototype.isPureReactComponent)}var a=n(1),s=n(5),u=n(89),c=n(25),l=n(16),p=n(91),f=n(44),d=(n(13),n(162)),h=(n(94),n(31)),g=n(347),v=n(36),y=(n(0),n(80)),m=n(102),_=(n(2),{ImpureClass:0,PureClass:1,StatelessFunctional:2});r.prototype.render=function(){var t=f.get(this)._currentElement.type,e=t(this.props,this.context,this.updater);return e};var b=1,w={construct:function(t){this._currentElement=t,this._rootNodeID=0,this._compositeType=null,this._instance=null,this._hostParent=null,this._hostContainerInfo=null,this._updateBatchNumber=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedNodeType=null,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null,this._calledComponentWillUnmount=!1},mountComponent:function(t,e,n,s){this._context=s,this._mountOrder=b++,this._hostParent=e,this._hostContainerInfo=n;var u,c=this._currentElement.props,p=this._processContext(s),d=this._currentElement.type,h=t.getUpdateQueue(),g=o(d),y=this._constructComponent(g,c,p,h);g||null!=y&&null!=y.render?i(d)?this._compositeType=_.PureClass:this._compositeType=_.ImpureClass:(u=y,null===y||!1===y||l.isValidElement(y)||a("105",d.displayName||d.name||"Component"),y=new r(d),this._compositeType=_.StatelessFunctional);y.props=c,y.context=p,y.refs=v,y.updater=h,this._instance=y,f.set(y,this);var m=y.state;void 0===m&&(y.state=m=null),("object"!=typeof m||Array.isArray(m))&&a("106",this.getName()||"ReactCompositeComponent"),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var w;return w=y.unstable_handleError?this.performInitialMountWithErrorHandling(u,e,n,t,s):this.performInitialMount(u,e,n,t,s),y.componentDidMount&&t.getReactMountReady().enqueue(y.componentDidMount,y),w},_constructComponent:function(t,e,n,r){return this._constructComponentWithoutOwner(t,e,n,r)},_constructComponentWithoutOwner:function(t,e,n,r){var o=this._currentElement.type;return t?new o(e,n,r):o(e,n,r)},performInitialMountWithErrorHandling:function(t,e,n,r,o){var i,a=r.checkpoint();try{i=this.performInitialMount(t,e,n,r,o)}catch(s){r.rollback(a),this._instance.unstable_handleError(s),this._pendingStateQueue&&(this._instance.state=this._processPendingState(this._instance.props,this._instance.context)),a=r.checkpoint(),this._renderedComponent.unmountComponent(!0),r.rollback(a),i=this.performInitialMount(t,e,n,r,o)}return i},performInitialMount:function(t,e,n,r,o){var i=this._instance,a=0;i.componentWillMount&&(i.componentWillMount(),this._pendingStateQueue&&(i.state=this._processPendingState(i.props,i.context))),void 0===t&&(t=this._renderValidatedComponent());var s=d.getType(t);this._renderedNodeType=s;var u=this._instantiateReactComponent(t,s!==d.EMPTY);this._renderedComponent=u;var c=h.mountComponent(u,r,e,n,this._processChildContext(o),a);return c},getHostNode:function(){return h.getHostNode(this._renderedComponent)},unmountComponent:function(t){if(this._renderedComponent){var e=this._instance;if(e.componentWillUnmount&&!e._calledComponentWillUnmount)if(e._calledComponentWillUnmount=!0,t){var n=this.getName()+".componentWillUnmount()";p.invokeGuardedCallback(n,e.componentWillUnmount.bind(e))}else e.componentWillUnmount();this._renderedComponent&&(h.unmountComponent(this._renderedComponent,t),this._renderedNodeType=null,this._renderedComponent=null,this._instance=null),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=0,this._topLevelWrapper=null,f.remove(e)}},_maskContext:function(t){var e=this._currentElement.type,n=e.contextTypes;if(!n)return v;var r={};for(var o in n)r[o]=t[o];return r},_processContext:function(t){var e=this._maskContext(t);return e},_processChildContext:function(t){var e,n=this._currentElement.type,r=this._instance;if(r.getChildContext&&(e=r.getChildContext()),e){"object"!=typeof n.childContextTypes&&a("107",this.getName()||"ReactCompositeComponent");for(var o in e)o in n.childContextTypes||a("108",this.getName()||"ReactCompositeComponent",o);return s({},t,e)}return t},_checkContextTypes:function(t,e,n){g(t,e,n,this.getName(),null,this._debugID)},receiveComponent:function(t,e,n){var r=this._currentElement,o=this._context;this._pendingElement=null,this.updateComponent(e,r,t,o,n)},performUpdateIfNecessary:function(t){null!=this._pendingElement?h.receiveComponent(this,this._pendingElement,t,this._context):null!==this._pendingStateQueue||this._pendingForceUpdate?this.updateComponent(t,this._currentElement,this._currentElement,this._context,this._context):this._updateBatchNumber=null},updateComponent:function(t,e,n,r,o){var i=this._instance;null==i&&a("136",this.getName()||"ReactCompositeComponent");var s,u=!1;this._context===o?s=i.context:(s=this._processContext(o),u=!0);var c=e.props,l=n.props;e!==n&&(u=!0),u&&i.componentWillReceiveProps&&i.componentWillReceiveProps(l,s);var p=this._processPendingState(l,s),f=!0;this._pendingForceUpdate||(i.shouldComponentUpdate?f=i.shouldComponentUpdate(l,p,s):this._compositeType===_.PureClass&&(f=!y(c,l)||!y(i.state,p))),this._updateBatchNumber=null,f?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,l,p,s,t,o)):(this._currentElement=n,this._context=o,i.props=l,i.state=p,i.context=s)},_processPendingState:function(t,e){var n=this._instance,r=this._pendingStateQueue,o=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(o&&1===r.length)return r[0];for(var i=s({},o?r[0]:n.state),a=o?1:0;a<r.length;a++){var u=r[a];s(i,"function"==typeof u?u.call(n,i,t,e):u)}return i},_performComponentUpdate:function(t,e,n,r,o,i){var a,s,u,c=this._instance,l=Boolean(c.componentDidUpdate);l&&(a=c.props,s=c.state,u=c.context),c.componentWillUpdate&&c.componentWillUpdate(e,n,r),this._currentElement=t,this._context=i,c.props=e,c.state=n,c.context=r,this._updateRenderedComponent(o,i),l&&o.getReactMountReady().enqueue(c.componentDidUpdate.bind(c,a,s,u),c)},_updateRenderedComponent:function(t,e){var n=this._renderedComponent,r=n._currentElement,o=this._renderValidatedComponent(),i=0;if(m(r,o))h.receiveComponent(n,o,t,this._processChildContext(e));else{var a=h.getHostNode(n);h.unmountComponent(n,!1);var s=d.getType(o);this._renderedNodeType=s;var u=this._instantiateReactComponent(o,s!==d.EMPTY);this._renderedComponent=u;var c=h.mountComponent(u,t,this._hostParent,this._hostContainerInfo,this._processChildContext(e),i);this._replaceNodeWithMarkup(a,c,n)}},_replaceNodeWithMarkup:function(t,e,n){u.replaceNodeWithMarkup(t,e,n)},_renderValidatedComponentWithoutOwnerOrContext:function(){var t=this._instance;return t.render()},_renderValidatedComponent:function(){var t;if(this._compositeType!==_.StatelessFunctional){c.current=this;try{t=this._renderValidatedComponentWithoutOwnerOrContext()}finally{c.current=null}}else t=this._renderValidatedComponentWithoutOwnerOrContext();return null===t||!1===t||l.isValidElement(t)||a("109",this.getName()||"ReactCompositeComponent"),t},attachRef:function(t,e){var n=this.getPublicInstance();null==n&&a("110");var r=e.getPublicInstance();(n.refs===v?n.refs={}:n.refs)[t]=r},detachRef:function(t){delete this.getPublicInstance().refs[t]},getName:function(){var t=this._currentElement.type,e=this._instance&&this._instance.constructor;return t.displayName||e&&e.displayName||t.name||e&&e.name||null},getPublicInstance:function(){var t=this._instance;return this._compositeType===_.StatelessFunctional?null:t},_instantiateReactComponent:null},S={Mixin:w};t.exports=S},function(t,e,n){"use strict";var r=n(6),o=n(179),i=n(160),a=n(31),s=n(17),u=n(110),c=n(349),l=n(168),p=n(356);n(2);o.inject();var f={findDOMNode:c,render:i.render,unmountComponentAtNode:i.unmountComponentAtNode,version:u,unstable_batchedUpdates:s.batchedUpdates,unstable_renderSubtreeIntoContainer:p};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({ComponentTree:{getClosestInstanceFromNode:r.getClosestInstanceFromNode,getNodeFromInstance:function(t){return t._renderedComponent&&(t=l(t)),t?r.getNodeFromInstance(t):null}},Mount:i,Reconciler:a});t.exports=f},function(t,e,n){"use strict";var r=n(56),o={getHostProps:r.getHostProps};t.exports=o},function(t,e,n){"use strict";function r(t){if(t){var e=t._currentElement._owner||null;if(e){var n=e.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function o(t,e){e&&(Q[t._tag]&&(null!=e.children||null!=e.dangerouslySetInnerHTML)&&g("137",t._tag,t._currentElement._owner?" Check the render method of "+t._currentElement._owner.getName()+".":""),null!=e.dangerouslySetInnerHTML&&(null!=e.children&&g("60"),"object"==typeof e.dangerouslySetInnerHTML&&W in e.dangerouslySetInnerHTML||g("61")),null!=e.style&&"object"!=typeof e.style&&g("62",r(t)))}function i(t,e,n,r){if(!(r instanceof N)){var o=t._hostContainerInfo,i=o._node&&o._node.nodeType===J,s=i?o._node:o._ownerDocument;j(e,s),r.getReactMountReady().enqueue(a,{inst:t,registrationName:e,listener:n})}}function a(){var t=this;C.putListener(t.inst,t.registrationName,t.listener)}function s(){var t=this;D.postMountWrapper(t)}function u(){var t=this;A.postMountWrapper(t)}function c(){var t=this;I.postMountWrapper(t)}function l(){var t=this;t._rootNodeID||g("63");var e=K(t);switch(e||g("64"),t._tag){case"iframe":case"object":t._wrapperState.listeners=[x.trapBubbledEvent(k.topLevelTypes.topLoad,"load",e)];break;case"video":case"audio":t._wrapperState.listeners=[];for(var n in G)G.hasOwnProperty(n)&&t._wrapperState.listeners.push(x.trapBubbledEvent(k.topLevelTypes[n],G[n],e));break;case"source":t._wrapperState.listeners=[x.trapBubbledEvent(k.topLevelTypes.topError,"error",e)];break;case"img":t._wrapperState.listeners=[x.trapBubbledEvent(k.topLevelTypes.topError,"error",e),x.trapBubbledEvent(k.topLevelTypes.topLoad,"load",e)];break;case"form":t._wrapperState.listeners=[x.trapBubbledEvent(k.topLevelTypes.topReset,"reset",e),x.trapBubbledEvent(k.topLevelTypes.topSubmit,"submit",e)];break;case"input":case"select":case"textarea":t._wrapperState.listeners=[x.trapBubbledEvent(k.topLevelTypes.topInvalid,"invalid",e)]}}function p(){R.postUpdateWrapper(this)}function f(t){tt.call(Z,t)||($.test(t)||g("65",t),Z[t]=!0)}function d(t,e){return t.indexOf("-")>=0||null!=e.is}function h(t){var e=t.type;f(e),this._currentElement=t,this._tag=e.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var g=n(1),v=n(5),y=n(298),m=n(300),_=n(34),b=n(83),w=n(35),S=n(151),k=n(21),C=n(42),E=n(84),x=n(57),O=n(312),T=n(154),M=n(6),D=n(318),I=n(319),R=n(155),A=n(322),P=(n(13),n(327)),N=n(181),L=(n(10),n(59)),B=(n(0),n(101),n(23)),U=(n(80),n(104),n(2),T),F=C.deleteListener,K=M.getNodeFromInstance,j=x.listenTo,z=E.registrationNameModules,q={string:!0,number:!0},H=B({style:null}),W=B({__html:null}),V={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},J=11,G={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},Y={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},X={listing:!0,pre:!0,textarea:!0},Q=v({menuitem:!0},Y),$=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Z={},tt={}.hasOwnProperty,et=1;h.displayName="ReactDOMComponent",h.Mixin={mountComponent:function(t,e,n,r){this._rootNodeID=et++,this._domID=n._idCounter++,this._hostParent=e,this._hostContainerInfo=n;var i=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},t.getReactMountReady().enqueue(l,this);break;case"button":i=O.getHostProps(this,i,e);break;case"input":D.mountWrapper(this,i,e),i=D.getHostProps(this,i),t.getReactMountReady().enqueue(l,this);break;case"option":I.mountWrapper(this,i,e),i=I.getHostProps(this,i);break;case"select":R.mountWrapper(this,i,e),i=R.getHostProps(this,i),t.getReactMountReady().enqueue(l,this);break;case"textarea":A.mountWrapper(this,i,e),i=A.getHostProps(this,i),t.getReactMountReady().enqueue(l,this)}o(this,i);var a,p;null!=e?(a=e._namespaceURI,p=e._tag):n._tag&&(a=n._namespaceURI,p=n._tag),(null==a||a===b.svg&&"foreignobject"===p)&&(a=b.html),a===b.html&&("svg"===this._tag?a=b.svg:"math"===this._tag&&(a=b.mathml)),this._namespaceURI=a;var f;if(t.useCreateElement){var d,h=n._ownerDocument;if(a===b.html)if("script"===this._tag){var g=h.createElement("div"),v=this._currentElement.type;g.innerHTML="<"+v+"></"+v+">",d=g.removeChild(g.firstChild)}else d=i.is?h.createElement(this._currentElement.type,i.is):h.createElement(this._currentElement.type);else d=h.createElementNS(a,this._currentElement.type);M.precacheNode(this,d),this._flags|=U.hasCachedChildNodes,this._hostParent||S.setAttributeForRoot(d),this._updateDOMProperties(null,i,t);var m=_(d);this._createInitialChildren(t,i,r,m),f=m}else{var w=this._createOpenTagMarkupAndPutListeners(t,i),k=this._createContentMarkup(t,i,r);f=!k&&Y[this._tag]?w+"/>":w+">"+k+"</"+this._currentElement.type+">"}switch(this._tag){case"input":t.getReactMountReady().enqueue(s,this),i.autoFocus&&t.getReactMountReady().enqueue(y.focusDOMComponent,this);break;case"textarea":t.getReactMountReady().enqueue(u,this),i.autoFocus&&t.getReactMountReady().enqueue(y.focusDOMComponent,this);break;case"select":case"button":i.autoFocus&&t.getReactMountReady().enqueue(y.focusDOMComponent,this);break;case"option":t.getReactMountReady().enqueue(c,this)}return f},_createOpenTagMarkupAndPutListeners:function(t,e){var n="<"+this._currentElement.type;for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];if(null!=o)if(z.hasOwnProperty(r))o&&i(this,r,o,t);else{r===H&&(o&&(o=this._previousStyleCopy=v({},e.style)),o=m.createMarkupForStyles(o,this));var a=null;null!=this._tag&&d(this._tag,e)?V.hasOwnProperty(r)||(a=S.createMarkupForCustomAttribute(r,o)):a=S.createMarkupForProperty(r,o),a&&(n+=" "+a)}}return t.renderToStaticMarkup?n:(this._hostParent||(n+=" "+S.createMarkupForRoot()),n+=" "+S.createMarkupForID(this._domID))},_createContentMarkup:function(t,e,n){var r="",o=e.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var i=q[typeof e.children]?e.children:null,a=null!=i?null:e.children;if(null!=i)r=L(i);else if(null!=a){var s=this.mountChildren(a,t,n);r=s.join("")}}return X[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(t,e,n,r){var o=e.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&_.queueHTML(r,o.__html);else{var i=q[typeof e.children]?e.children:null,a=null!=i?null:e.children;if(null!=i)_.queueText(r,i);else if(null!=a)for(var s=this.mountChildren(a,t,n),u=0;u<s.length;u++)_.queueChild(r,s[u])}},receiveComponent:function(t,e,n){var r=this._currentElement;this._currentElement=t,this.updateComponent(e,r,t,n)},updateComponent:function(t,e,n,r){var i=e.props,a=this._currentElement.props;switch(this._tag){case"button":i=O.getHostProps(this,i),a=O.getHostProps(this,a);break;case"input":i=D.getHostProps(this,i),a=D.getHostProps(this,a);break;case"option":i=I.getHostProps(this,i),a=I.getHostProps(this,a);break;case"select":i=R.getHostProps(this,i),a=R.getHostProps(this,a);break;case"textarea":i=A.getHostProps(this,i),a=A.getHostProps(this,a)}switch(o(this,a),this._updateDOMProperties(i,a,t),this._updateDOMChildren(i,a,t,r),this._tag){case"input":D.updateWrapper(this);break;case"textarea":A.updateWrapper(this);break;case"select":t.getReactMountReady().enqueue(p,this)}},_updateDOMProperties:function(t,e,n){var r,o,a;for(r in t)if(!e.hasOwnProperty(r)&&t.hasOwnProperty(r)&&null!=t[r])if(r===H){var s=this._previousStyleCopy;for(o in s)s.hasOwnProperty(o)&&(a=a||{},a[o]="");this._previousStyleCopy=null}else z.hasOwnProperty(r)?t[r]&&F(this,r):d(this._tag,t)?V.hasOwnProperty(r)||S.deleteValueForAttribute(K(this),r):(w.properties[r]||w.isCustomAttribute(r))&&S.deleteValueForProperty(K(this),r);for(r in e){var u=e[r],c=r===H?this._previousStyleCopy:null!=t?t[r]:void 0;if(e.hasOwnProperty(r)&&u!==c&&(null!=u||null!=c))if(r===H)if(u?u=this._previousStyleCopy=v({},u):this._previousStyleCopy=null,c){for(o in c)!c.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(a=a||{},a[o]="");for(o in u)u.hasOwnProperty(o)&&c[o]!==u[o]&&(a=a||{},a[o]=u[o])}else a=u;else if(z.hasOwnProperty(r))u?i(this,r,u,n):c&&F(this,r);else if(d(this._tag,e))V.hasOwnProperty(r)||S.setValueForAttribute(K(this),r,u);else if(w.properties[r]||w.isCustomAttribute(r)){var l=K(this);null!=u?S.setValueForProperty(l,r,u):S.deleteValueForProperty(l,r)}}a&&m.setValueForStyles(K(this),a,this)},_updateDOMChildren:function(t,e,n,r){var o=q[typeof t.children]?t.children:null,i=q[typeof e.children]?e.children:null,a=t.dangerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html,s=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,u=null!=o?null:t.children,c=null!=i?null:e.children,l=null!=o||null!=a,p=null!=i||null!=s;null!=u&&null==c?this.updateChildren(null,n,r):l&&!p&&this.updateTextContent(""),null!=i?o!==i&&this.updateTextContent(""+i):null!=s?a!==s&&this.updateMarkup(""+s):null!=c&&this.updateChildren(c,n,r)},getHostNode:function(){return K(this)},unmountComponent:function(t){switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":var e=this._wrapperState.listeners;if(e)for(var n=0;n<e.length;n++)e[n].remove();break;case"html":case"head":case"body":g("66",this._tag)}this.unmountChildren(t),M.uncacheNode(this),C.deleteAllListeners(this),this._rootNodeID=0,this._domID=0,this._wrapperState=null},getPublicInstance:function(){return K(this)}},v(h.prototype,h.Mixin,P.Mixin),t.exports=h},function(t,e,n){"use strict";var r=n(5),o=n(34),i=n(6),a=function(t){this._currentElement=null,this._hostNode=null,this._hostParent=null,this._hostContainerInfo=null,this._domID=0};r(a.prototype,{mountComponent:function(t,e,n,r){var a=n._idCounter++;this._domID=a,this._hostParent=e,this._hostContainerInfo=n;var s=" react-empty: "+this._domID+" ";if(t.useCreateElement){var u=n._ownerDocument,c=u.createComment(s);return i.precacheNode(this,c),o(c)}return t.renderToStaticMarkup?"":"\x3c!--"+s+"--\x3e"},receiveComponent:function(){},getHostNode:function(){return i.getNodeFromInstance(this)},unmountComponent:function(){i.uncacheNode(this)}}),t.exports=a},function(t,e,n){"use strict";var r=n(16),o=r.createFactory,i={a:o("a"),abbr:o("abbr"),address:o("address"),area:o("area"),article:o("article"),aside:o("aside"),audio:o("audio"),b:o("b"),base:o("base"),bdi:o("bdi"),bdo:o("bdo"),big:o("big"),blockquote:o("blockquote"),body:o("body"),br:o("br"),button:o("button"),canvas:o("canvas"),caption:o("caption"),cite:o("cite"),code:o("code"),col:o("col"),colgroup:o("colgroup"),data:o("data"),datalist:o("datalist"),dd:o("dd"),del:o("del"),details:o("details"),dfn:o("dfn"),dialog:o("dialog"),div:o("div"),dl:o("dl"),dt:o("dt"),em:o("em"),embed:o("embed"),fieldset:o("fieldset"),figcaption:o("figcaption"),figure:o("figure"),footer:o("footer"),form:o("form"),h1:o("h1"),h2:o("h2"),h3:o("h3"),h4:o("h4"),h5:o("h5"),h6:o("h6"),head:o("head"),header:o("header"),hgroup:o("hgroup"),hr:o("hr"),html:o("html"),i:o("i"),iframe:o("iframe"),img:o("img"),input:o("input"),ins:o("ins"),kbd:o("kbd"),keygen:o("keygen"),label:o("label"),legend:o("legend"),li:o("li"),link:o("link"),main:o("main"),map:o("map"),mark:o("mark"),menu:o("menu"),menuitem:o("menuitem"),meta:o("meta"),meter:o("meter"),nav:o("nav"),noscript:o("noscript"),object:o("object"),ol:o("ol"),optgroup:o("optgroup"),option:o("option"),output:o("output"),p:o("p"),param:o("param"),picture:o("picture"),pre:o("pre"),progress:o("progress"),q:o("q"),rp:o("rp"),rt:o("rt"),ruby:o("ruby"),s:o("s"),samp:o("samp"),script:o("script"),section:o("section"),select:o("select"),small:o("small"),source:o("source"),span:o("span"),strong:o("strong"),style:o("style"),sub:o("sub"),summary:o("summary"),sup:o("sup"),table:o("table"),tbody:o("tbody"),td:o("td"),textarea:o("textarea"),tfoot:o("tfoot"),th:o("th"),thead:o("thead"),time:o("time"),title:o("title"),tr:o("tr"),track:o("track"),u:o("u"),ul:o("ul"),var:o("var"),video:o("video"),wbr:o("wbr"),circle:o("circle"),clipPath:o("clipPath"),defs:o("defs"),ellipse:o("ellipse"),g:o("g"),image:o("image"),line:o("line"),linearGradient:o("linearGradient"),mask:o("mask"),path:o("path"),pattern:o("pattern"),polygon:o("polygon"),polyline:o("polyline"),radialGradient:o("radialGradient"),rect:o("rect"),stop:o("stop"),svg:o("svg"),text:o("text"),tspan:o("tspan")};t.exports=i},function(t,e,n){"use strict";var r={useCreateElement:!0};t.exports=r},function(t,e,n){"use strict";var r=n(82),o=n(6),i={dangerouslyProcessChildrenUpdates:function(t,e){var n=o.getNodeFromInstance(t);r.processUpdates(n,e)}};t.exports=i},function(t,e,n){"use strict";function r(){this._rootNodeID&&f.updateWrapper(this)}function o(t){var e=this._currentElement.props,n=c.executeOnChange(e,t);p.asap(r,this);var o=e.name;if("radio"===e.type&&null!=o){for(var a=l.getNodeFromInstance(this),s=a;s.parentNode;)s=s.parentNode;for(var u=s.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),f=0;f<u.length;f++){var d=u[f];if(d!==a&&d.form===a.form){var h=l.getInstanceFromNode(d);h||i("90"),p.asap(r,h)}}}return n}var i=n(1),a=n(5),s=n(56),u=n(151),c=n(87),l=n(6),p=n(17),f=(n(0),n(2),{getHostProps:function(t,e){var n=c.getValue(e),r=c.getChecked(e);return a({type:void 0,step:void 0,min:void 0,max:void 0},s.getHostProps(t,e),{defaultChecked:void 0,defaultValue:void 0,value:null!=n?n:t._wrapperState.initialValue,checked:null!=r?r:t._wrapperState.initialChecked,onChange:t._wrapperState.onChange})},mountWrapper:function(t,e){var n=e.defaultValue;t._wrapperState={initialChecked:null!=e.checked?e.checked:e.defaultChecked,initialValue:null!=e.value?e.value:n,listeners:null,onChange:o.bind(t)}},updateWrapper:function(t){var e=t._currentElement.props,n=e.checked;null!=n&&u.setValueForProperty(l.getNodeFromInstance(t),"checked",n||!1);var r=l.getNodeFromInstance(t),o=c.getValue(e);if(null!=o){var i=""+o;i!==r.value&&(r.value=i)}else null==e.value&&null!=e.defaultValue&&(r.defaultValue=""+e.defaultValue),null==e.checked&&null!=e.defaultChecked&&(r.defaultChecked=!!e.defaultChecked)},postMountWrapper:function(t){var e=t._currentElement.props,n=l.getNodeFromInstance(t);switch(e.type){case"submit":case"reset":break;case"color":case"date":case"datetime":case"datetime-local":case"month":case"time":case"week":n.value="",n.value=n.defaultValue;break;default:n.value=n.value}var r=n.name;""!==r&&(n.name=""),n.defaultChecked=!n.defaultChecked,n.defaultChecked=!n.defaultChecked,""!==r&&(n.name=r)}});t.exports=f},function(t,e,n){"use strict";function r(t){var e="";return i.forEach(t,function(t){null!=t&&("string"==typeof t||"number"==typeof t?e+=t:u||(u=!0))}),e}var o=n(5),i=n(152),a=n(6),s=n(155),u=(n(2),!1),c={mountWrapper:function(t,e,n){var o=null;if(null!=n){var i=n;"optgroup"===i._tag&&(i=i._hostParent),null!=i&&"select"===i._tag&&(o=s.getSelectValueContext(i))}var a=null;if(null!=o){var u;if(u=null!=e.value?e.value+"":r(e.children),a=!1,Array.isArray(o)){for(var c=0;c<o.length;c++)if(""+o[c]===u){a=!0;break}}else a=""+o===u}t._wrapperState={selected:a}},postMountWrapper:function(t){var e=t._currentElement.props;if(null!=e.value){a.getNodeFromInstance(t).setAttribute("value",e.value)}},getHostProps:function(t,e){var n=o({selected:void 0,children:void 0},e);null!=t._wrapperState.selected&&(n.selected=t._wrapperState.selected);var i=r(e.children);return i&&(n.children=i),n}};t.exports=c},function(t,e,n){"use strict";function r(t,e,n,r){return t===n&&e===r}function o(t){var e=document.selection,n=e.createRange(),r=n.text.length,o=n.duplicate();o.moveToElementText(t),o.setEndPoint("EndToStart",n);var i=o.text.length;return{start:i,end:i+r}}function i(t){var e=window.getSelection&&window.getSelection();if(!e||0===e.rangeCount)return null;var n=e.anchorNode,o=e.anchorOffset,i=e.focusNode,a=e.focusOffset,s=e.getRangeAt(0);try{s.startContainer.nodeType,s.endContainer.nodeType}catch(t){return null}var u=r(e.anchorNode,e.anchorOffset,e.focusNode,e.focusOffset),c=u?0:s.toString().length,l=s.cloneRange();l.selectNodeContents(t),l.setEnd(s.startContainer,s.startOffset);var p=r(l.startContainer,l.startOffset,l.endContainer,l.endOffset),f=p?0:l.toString().length,d=f+c,h=document.createRange();h.setStart(n,o),h.setEnd(i,a);var g=h.collapsed;return{start:g?d:f,end:g?f:d}}function a(t,e){var n,r,o=document.selection.createRange().duplicate();void 0===e.end?(n=e.start,r=n):e.start>e.end?(n=e.end,r=e.start):(n=e.start,r=e.end),o.moveToElementText(t),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function s(t,e){if(window.getSelection){var n=window.getSelection(),r=t[l()].length,o=Math.min(e.start,r),i=void 0===e.end?o:Math.min(e.end,r);if(!n.extend&&o>i){var a=i;i=o,o=a}var s=c(t,o),u=c(t,i);if(s&&u){var p=document.createRange();p.setStart(s.node,s.offset),n.removeAllRanges(),o>i?(n.addRange(p),n.extend(u.node,u.offset)):(p.setEnd(u.node,u.offset),n.addRange(p))}}}var u=n(9),c=n(352),l=n(170),p=u.canUseDOM&&"selection"in document&&!("getSelection"in window),f={getOffsets:p?o:i,setOffsets:p?a:s};t.exports=f},function(t,e,n){"use strict";var r=n(1),o=n(5),i=n(82),a=n(34),s=n(6),u=n(59),c=(n(0),n(104),function(t){this._currentElement=t,this._stringText=""+t,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});o(c.prototype,{mountComponent:function(t,e,n,r){var o=n._idCounter++,i=" react-text: "+o+" ";if(this._domID=o,this._hostParent=e,t.useCreateElement){var c=n._ownerDocument,l=c.createComment(i),p=c.createComment(" /react-text "),f=a(c.createDocumentFragment());return a.queueChild(f,a(l)),this._stringText&&a.queueChild(f,a(c.createTextNode(this._stringText))),a.queueChild(f,a(p)),s.precacheNode(this,l),this._closingComment=p,f}var d=u(this._stringText);return t.renderToStaticMarkup?d:"\x3c!--"+i+"--\x3e"+d+"\x3c!-- /react-text --\x3e"},receiveComponent:function(t,e){if(t!==this._currentElement){this._currentElement=t;var n=""+t;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();i.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var t=this._commentNodes;if(t)return t;if(!this._closingComment)for(var e=s.getNodeFromInstance(this),n=e.nextSibling;;){if(null==n&&r("67",this._domID),8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return t=[this._hostNode,this._closingComment],this._commentNodes=t,t},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,s.uncacheNode(this)}}),t.exports=c},function(t,e,n){"use strict";function r(){this._rootNodeID&&p.updateWrapper(this)}function o(t){var e=this._currentElement.props,n=u.executeOnChange(e,t);return l.asap(r,this),n}var i=n(1),a=n(5),s=n(56),u=n(87),c=n(6),l=n(17),p=(n(0),n(2),{getHostProps:function(t,e){return null!=e.dangerouslySetInnerHTML&&i("91"),a({},s.getHostProps(t,e),{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue,onChange:t._wrapperState.onChange})},mountWrapper:function(t,e){var n=u.getValue(e),r=n;if(null==n){var a=e.defaultValue,s=e.children;null!=s&&(null!=a&&i("92"),Array.isArray(s)&&(s.length<=1||i("93"),s=s[0]),a=""+s),null==a&&(a=""),r=a}t._wrapperState={initialValue:""+r,listeners:null,onChange:o.bind(t)}},updateWrapper:function(t){var e=t._currentElement.props,n=c.getNodeFromInstance(t),r=u.getValue(e);if(null!=r){var o=""+r;o!==n.value&&(n.value=o),null==e.defaultValue&&(n.defaultValue=o)}null!=e.defaultValue&&(n.defaultValue=e.defaultValue)},postMountWrapper:function(t){var e=c.getNodeFromInstance(t);e.value=e.textContent}});t.exports=p},function(t,e,n){"use strict";function r(t,e){"_hostNode"in t||u("33"),"_hostNode"in e||u("33");for(var n=0,r=t;r;r=r._hostParent)n++;for(var o=0,i=e;i;i=i._hostParent)o++;for(;n-o>0;)t=t._hostParent,n--;for(;o-n>0;)e=e._hostParent,o--;for(var a=n;a--;){if(t===e)return t;t=t._hostParent,e=e._hostParent}return null}function o(t,e){"_hostNode"in t||u("35"),"_hostNode"in e||u("35");for(;e;){if(e===t)return!0;e=e._hostParent}return!1}function i(t){return"_hostNode"in t||u("36"),t._hostParent}function a(t,e,n){for(var r=[];t;)r.push(t),t=t._hostParent;var o;for(o=r.length;o-- >0;)e(r[o],!1,n);for(o=0;o<r.length;o++)e(r[o],!0,n)}function s(t,e,n,o,i){for(var a=t&&e?r(t,e):null,s=[];t&&t!==a;)s.push(t),t=t._hostParent;for(var u=[];e&&e!==a;)u.push(e),e=e._hostParent;var c;for(c=0;c<s.length;c++)n(s[c],!0,o);for(c=u.length;c-- >0;)n(u[c],!1,i)}var u=n(1);n(0);t.exports={isAncestor:o,getLowestCommonAncestor:r,getParentInstance:i,traverseTwoPhase:a,traverseEnterLeave:s}},function(t,e,n){"use strict";function r(t){o.enqueueEvents(t),o.processEventQueue(!1)}var o=n(42),i={handleTopLevel:function(t,e,n,i){r(o.extractEvents(t,e,n,i))}};t.exports=i},function(t,e,n){"use strict";function r(t){for(;t._hostParent;)t=t._hostParent;var e=p.getNodeFromInstance(t),n=e.parentNode;return p.getClosestInstanceFromNode(n)}function o(t,e){this.topLevelType=t,this.nativeEvent=e,this.ancestors=[]}function i(t){var e=d(t.nativeEvent),n=p.getClosestInstanceFromNode(e),o=n;do{t.ancestors.push(o),o=o&&r(o)}while(o);for(var i=0;i<t.ancestors.length;i++)n=t.ancestors[i],g._handleTopLevel(t.topLevelType,n,t.nativeEvent,d(t.nativeEvent))}function a(t){t(h(window))}var s=n(5),u=n(140),c=n(9),l=n(24),p=n(6),f=n(17),d=n(100),h=n(146);s(o.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),l.addPoolingTo(o,l.twoArgumentPooler);var g={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:c.canUseDOM?window:null,setHandleTopLevel:function(t){g._handleTopLevel=t},setEnabled:function(t){g._enabled=!!t},isEnabled:function(){return g._enabled},trapBubbledEvent:function(t,e,n){var r=n;return r?u.listen(r,e,g.dispatchEvent.bind(null,t)):null},trapCapturedEvent:function(t,e,n){var r=n;return r?u.capture(r,e,g.dispatchEvent.bind(null,t)):null},monitorScrollValue:function(t){var e=a.bind(null,t);u.listen(window,"scroll",e)},dispatchEvent:function(t,e){if(g._enabled){var n=o.getPooled(t,e);try{f.batchedUpdates(i,n)}finally{o.release(n)}}}};t.exports=g},function(t,e,n){"use strict";var r=n(35),o=n(42),i=n(85),a=n(89),s=n(153),u=n(156),c=n(57),l=n(158),p=n(17),f={Component:a.injection,Class:s.injection,DOMProperty:r.injection,EmptyComponent:u.injection,EventPluginHub:o.injection,EventPluginUtils:i.injection,EventEmitter:c.injection,HostComponent:l.injection,Updates:p.injection};t.exports=f},function(t,e,n){"use strict";function r(t,e,n){return{type:f.INSERT_MARKUP,content:t,fromIndex:null,fromNode:null,toIndex:n,afterNode:e}}function o(t,e,n){return{type:f.MOVE_EXISTING,content:null,fromIndex:t._mountIndex,fromNode:d.getHostNode(t),toIndex:n,afterNode:e}}function i(t,e){return{type:f.REMOVE_NODE,content:null,fromIndex:t._mountIndex,fromNode:e,toIndex:null,afterNode:null}}function a(t){return{type:f.SET_MARKUP,content:t,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function s(t){return{type:f.TEXT_CONTENT,content:t,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function u(t,e){return e&&(t=t||[],t.push(e)),t}function c(t,e){p.processChildrenUpdates(t,e)}var l=n(1),p=n(89),f=(n(44),n(13),n(161)),d=(n(25),n(31)),h=n(308),g=(n(10),n(350)),v=(n(0),{Mixin:{_reconcilerInstantiateChildren:function(t,e,n){return h.instantiateChildren(t,e,n)},_reconcilerUpdateChildren:function(t,e,n,r,o,i){var a,s=0;return a=g(e,s),h.updateChildren(t,a,n,r,o,this,this._hostContainerInfo,i,s),a},mountChildren:function(t,e,n){var r=this._reconcilerInstantiateChildren(t,e,n);this._renderedChildren=r;var o=[],i=0;for(var a in r)if(r.hasOwnProperty(a)){var s=r[a],u=0,c=d.mountComponent(s,e,this,this._hostContainerInfo,n,u);s._mountIndex=i++,o.push(c)}return o},updateTextContent:function(t){var e=this._renderedChildren;h.unmountChildren(e,!1);for(var n in e)e.hasOwnProperty(n)&&l("118");c(this,[s(t)])},updateMarkup:function(t){var e=this._renderedChildren;h.unmountChildren(e,!1);for(var n in e)e.hasOwnProperty(n)&&l("118");c(this,[a(t)])},updateChildren:function(t,e,n){this._updateChildren(t,e,n)},_updateChildren:function(t,e,n){var r=this._renderedChildren,o={},i=[],a=this._reconcilerUpdateChildren(r,t,i,o,e,n);if(a||r){var s,l=null,p=0,f=0,h=0,g=null;for(s in a)if(a.hasOwnProperty(s)){var v=r&&r[s],y=a[s];v===y?(l=u(l,this.moveChild(v,g,p,f)),f=Math.max(v._mountIndex,f),v._mountIndex=p):(v&&(f=Math.max(v._mountIndex,f)),l=u(l,this._mountChildAtIndex(y,i[h],g,p,e,n)),h++),p++,g=d.getHostNode(y)}for(s in o)o.hasOwnProperty(s)&&(l=u(l,this._unmountChild(r[s],o[s])));l&&c(this,l),this._renderedChildren=a}},unmountChildren:function(t){var e=this._renderedChildren;h.unmountChildren(e,t),this._renderedChildren=null},moveChild:function(t,e,n,r){if(t._mountIndex<r)return o(t,e,n)},createChild:function(t,e,n){return r(n,e,t._mountIndex)},removeChild:function(t,e){return i(t,e)},_mountChildAtIndex:function(t,e,n,r,o,i){return t._mountIndex=r,this.createChild(t,n,e)},_unmountChild:function(t,e){var n=this.removeChild(t,e);return t._mountIndex=null,n}}});t.exports=v},function(t,e,n){"use strict";var r=n(1),o=(n(0),{isValidOwner:function(t){return!(!t||"function"!=typeof t.attachRef||"function"!=typeof t.detachRef)},addComponentAsRefTo:function(t,e,n){o.isValidOwner(n)||r("119"),n.attachRef(e,t)},removeComponentAsRefFrom:function(t,e,n){o.isValidOwner(n)||r("120");var i=n.getPublicInstance();i&&i.refs[e]===t.getPublicInstance()&&n.detachRef(e)}});t.exports=o},function(t,e,n){"use strict";function r(t,e,n){this.props=t,this.context=e,this.refs=u,this.updater=n||s}function o(){}var i=n(5),a=n(88),s=n(92),u=n(36);o.prototype=a.prototype,r.prototype=new o,r.prototype.constructor=r,i(r.prototype,a.prototype),r.prototype.isPureReactComponent=!0,t.exports=r},function(t,e,n){"use strict";function r(t){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=i.getPooled(null),this.useCreateElement=t}var o=n(5),i=n(150),a=n(24),s=n(57),u=n(159),c=(n(13),n(46)),l=n(96),p={initialize:u.getSelectionInformation,close:u.restoreSelection},f={initialize:function(){var t=s.isEnabled();return s.setEnabled(!1),t},close:function(t){s.setEnabled(t)}},d={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},h=[p,f,d],g={getTransactionWrappers:function(){return h},getReactMountReady:function(){return this.reactMountReady},getUpdateQueue:function(){return l},checkpoint:function(){return this.reactMountReady.checkpoint()},rollback:function(t){this.reactMountReady.rollback(t)},destructor:function(){i.release(this.reactMountReady),this.reactMountReady=null}};o(r.prototype,c.Mixin,g),a.addPoolingTo(r),t.exports=r},function(t,e,n){"use strict";function r(t,e,n){"function"==typeof t?t(e.getPublicInstance()):i.addComponentAsRefTo(e,t,n)}function o(t,e,n){"function"==typeof t?t(null):i.removeComponentAsRefFrom(e,t,n)}var i=n(328),a={};a.attachRefs=function(t,e){if(null!==e&&!1!==e){var n=e.ref;null!=n&&r(n,t,e._owner)}},a.shouldUpdateRefs=function(t,e){var n=null===t||!1===t,r=null===e||!1===e;return n||r||e.ref!==t.ref||"string"==typeof e.ref&&e._owner!==t._owner},a.detachRefs=function(t,e){if(null!==e&&!1!==e){var n=e.ref;null!=n&&o(n,t,e._owner)}},t.exports=a},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=n(96),i=(n(46),n(2),function(){function t(e){r(this,t),this.transaction=e}return t.prototype.isMounted=function(t){return!1},t.prototype.enqueueCallback=function(t,e,n){this.transaction.isInTransaction()&&o.enqueueCallback(t,e,n)},t.prototype.enqueueForceUpdate=function(t){this.transaction.isInTransaction()&&o.enqueueForceUpdate(t)},t.prototype.enqueueReplaceState=function(t,e){this.transaction.isInTransaction()&&o.enqueueReplaceState(t,e)},t.prototype.enqueueSetState=function(t,e){this.transaction.isInTransaction()&&o.enqueueSetState(t,e)},t}());t.exports=i},function(t,e,n){"use strict";var r={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},o={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},i={Properties:{},DOMAttributeNamespaces:{xlinkActuate:r.xlink,xlinkArcrole:r.xlink,xlinkHref:r.xlink,xlinkRole:r.xlink,xlinkShow:r.xlink,xlinkTitle:r.xlink,xlinkType:r.xlink,xmlBase:r.xml,xmlLang:r.xml,xmlSpace:r.xml},DOMAttributeNames:{}};Object.keys(o).forEach(function(t){i.Properties[t]=0,o[t]&&(i.DOMAttributeNames[t]=o[t])}),t.exports=i},function(t,e,n){"use strict";function r(t){if("selectionStart"in t&&c.hasSelectionCapabilities(t))return{start:t.selectionStart,end:t.selectionEnd};if(window.getSelection){var e=window.getSelection();return{anchorNode:e.anchorNode,anchorOffset:e.anchorOffset,focusNode:e.focusNode,focusOffset:e.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function o(t,e){if(w||null==m||m!==p())return null;var n=r(m);if(!b||!h(b,n)){b=n;var o=l.getPooled(y.select,_,t,e);return o.type="select",o.target=m,a.accumulateTwoPhaseDispatches(o),o}return null}var i=n(21),a=n(43),s=n(9),u=n(6),c=n(159),l=n(22),p=n(53),f=n(171),d=n(23),h=n(80),g=i.topLevelTypes,v=s.canUseDOM&&"documentMode"in document&&document.documentMode<=11,y={select:{phasedRegistrationNames:{bubbled:d({onSelect:null}),captured:d({onSelectCapture:null})},dependencies:[g.topBlur,g.topContextMenu,g.topFocus,g.topKeyDown,g.topKeyUp,g.topMouseDown,g.topMouseUp,g.topSelectionChange]}},m=null,_=null,b=null,w=!1,S=!1,k=d({onSelect:null}),C={eventTypes:y,extractEvents:function(t,e,n,r){if(!S)return null;var i=e?u.getNodeFromInstance(e):window;switch(t){case g.topFocus:(f(i)||"true"===i.contentEditable)&&(m=i,_=e,b=null);break;case g.topBlur:m=null,_=null,b=null;break;case g.topMouseDown:w=!0;break;case g.topContextMenu:case g.topMouseUp:return w=!1,o(n,r);case g.topSelectionChange:if(v)break;case g.topKeyDown:case g.topKeyUp:return o(n,r)}return null},didPutListener:function(t,e,n){e===k&&(S=!0)}};t.exports=C},function(t,e,n){"use strict";function r(t){return"."+t._rootNodeID}var o=n(1),i=n(21),a=n(140),s=n(43),u=n(6),c=n(336),l=n(337),p=n(22),f=n(340),d=n(342),h=n(58),g=n(339),v=n(343),y=n(344),m=n(45),_=n(345),b=n(10),w=n(98),S=(n(0),n(23)),k=i.topLevelTypes,C={abort:{phasedRegistrationNames:{bubbled:S({onAbort:!0}),captured:S({onAbortCapture:!0})}},animationEnd:{phasedRegistrationNames:{bubbled:S({onAnimationEnd:!0}),captured:S({onAnimationEndCapture:!0})}},animationIteration:{phasedRegistrationNames:{bubbled:S({onAnimationIteration:!0}),captured:S({onAnimationIterationCapture:!0})}},animationStart:{phasedRegistrationNames:{bubbled:S({onAnimationStart:!0}),captured:S({onAnimationStartCapture:!0})}},blur:{phasedRegistrationNames:{bubbled:S({onBlur:!0}),captured:S({onBlurCapture:!0})}},canPlay:{phasedRegistrationNames:{bubbled:S({onCanPlay:!0}),captured:S({onCanPlayCapture:!0})}},canPlayThrough:{phasedRegistrationNames:{bubbled:S({onCanPlayThrough:!0}),captured:S({onCanPlayThroughCapture:!0})}},click:{phasedRegistrationNames:{bubbled:S({onClick:!0}),captured:S({onClickCapture:!0})}},contextMenu:{phasedRegistrationNames:{bubbled:S({onContextMenu:!0}),captured:S({onContextMenuCapture:!0})}},copy:{phasedRegistrationNames:{bubbled:S({onCopy:!0}),captured:S({onCopyCapture:!0})}},cut:{phasedRegistrationNames:{bubbled:S({onCut:!0}),captured:S({onCutCapture:!0})}},doubleClick:{phasedRegistrationNames:{bubbled:S({onDoubleClick:!0}),captured:S({onDoubleClickCapture:!0})}},drag:{phasedRegistrationNames:{bubbled:S({onDrag:!0}),captured:S({onDragCapture:!0})}},dragEnd:{phasedRegistrationNames:{bubbled:S({onDragEnd:!0}),captured:S({onDragEndCapture:!0})}},dragEnter:{phasedRegistrationNames:{bubbled:S({onDragEnter:!0}),captured:S({onDragEnterCapture:!0})}},dragExit:{phasedRegistrationNames:{bubbled:S({onDragExit:!0}),captured:S({onDragExitCapture:!0})}},dragLeave:{phasedRegistrationNames:{bubbled:S({onDragLeave:!0}),captured:S({onDragLeaveCapture:!0})}},dragOver:{phasedRegistrationNames:{bubbled:S({onDragOver:!0}),captured:S({onDragOverCapture:!0})}},dragStart:{phasedRegistrationNames:{bubbled:S({onDragStart:!0}),captured:S({onDragStartCapture:!0})}},drop:{phasedRegistrationNames:{bubbled:S({onDrop:!0}),captured:S({onDropCapture:!0})}},durationChange:{phasedRegistrationNames:{bubbled:S({onDurationChange:!0}),captured:S({onDurationChangeCapture:!0})}},emptied:{phasedRegistrationNames:{bubbled:S({onEmptied:!0}),captured:S({onEmptiedCapture:!0})}},encrypted:{phasedRegistrationNames:{bubbled:S({onEncrypted:!0}),captured:S({onEncryptedCapture:!0})}},ended:{phasedRegistrationNames:{bubbled:S({onEnded:!0}),captured:S({onEndedCapture:!0})}},error:{phasedRegistrationNames:{bubbled:S({onError:!0}),captured:S({onErrorCapture:!0})}},focus:{phasedRegistrationNames:{bubbled:S({onFocus:!0}),captured:S({onFocusCapture:!0})}},input:{phasedRegistrationNames:{bubbled:S({onInput:!0}),captured:S({onInputCapture:!0})}},invalid:{phasedRegistrationNames:{bubbled:S({onInvalid:!0}),captured:S({onInvalidCapture:!0})}},keyDown:{phasedRegistrationNames:{bubbled:S({onKeyDown:!0}),captured:S({onKeyDownCapture:!0})}},keyPress:{phasedRegistrationNames:{bubbled:S({onKeyPress:!0}),captured:S({onKeyPressCapture:!0})}},keyUp:{phasedRegistrationNames:{bubbled:S({onKeyUp:!0}),captured:S({onKeyUpCapture:!0})}},load:{phasedRegistrationNames:{bubbled:S({onLoad:!0}),captured:S({onLoadCapture:!0})}},loadedData:{phasedRegistrationNames:{bubbled:S({onLoadedData:!0}),captured:S({onLoadedDataCapture:!0})}},loadedMetadata:{phasedRegistrationNames:{bubbled:S({onLoadedMetadata:!0}),captured:S({onLoadedMetadataCapture:!0})}},loadStart:{phasedRegistrationNames:{bubbled:S({onLoadStart:!0}),captured:S({onLoadStartCapture:!0})}},mouseDown:{phasedRegistrationNames:{bubbled:S({onMouseDown:!0}),captured:S({onMouseDownCapture:!0})}},mouseMove:{phasedRegistrationNames:{bubbled:S({onMouseMove:!0}),captured:S({onMouseMoveCapture:!0})}},mouseOut:{phasedRegistrationNames:{bubbled:S({onMouseOut:!0}),captured:S({onMouseOutCapture:!0})}},mouseOver:{phasedRegistrationNames:{bubbled:S({onMouseOver:!0}),captured:S({onMouseOverCapture:!0})}},mouseUp:{phasedRegistrationNames:{bubbled:S({onMouseUp:!0}),captured:S({onMouseUpCapture:!0})}},paste:{phasedRegistrationNames:{bubbled:S({onPaste:!0}),captured:S({onPasteCapture:!0})}},pause:{phasedRegistrationNames:{bubbled:S({onPause:!0}),captured:S({onPauseCapture:!0})}},play:{phasedRegistrationNames:{bubbled:S({onPlay:!0}),captured:S({onPlayCapture:!0})}},playing:{phasedRegistrationNames:{bubbled:S({onPlaying:!0}),captured:S({onPlayingCapture:!0})}},progress:{phasedRegistrationNames:{bubbled:S({onProgress:!0}),captured:S({onProgressCapture:!0})}},rateChange:{phasedRegistrationNames:{bubbled:S({onRateChange:!0}),captured:S({onRateChangeCapture:!0})}},reset:{phasedRegistrationNames:{bubbled:S({onReset:!0}),captured:S({onResetCapture:!0})}},scroll:{phasedRegistrationNames:{bubbled:S({onScroll:!0}),captured:S({onScrollCapture:!0})}},seeked:{phasedRegistrationNames:{bubbled:S({onSeeked:!0}),captured:S({onSeekedCapture:!0})}},seeking:{phasedRegistrationNames:{bubbled:S({onSeeking:!0}),captured:S({onSeekingCapture:!0})}},stalled:{phasedRegistrationNames:{bubbled:S({onStalled:!0}),captured:S({onStalledCapture:!0})}},submit:{phasedRegistrationNames:{bubbled:S({onSubmit:!0}),captured:S({onSubmitCapture:!0})}},suspend:{phasedRegistrationNames:{bubbled:S({onSuspend:!0}),captured:S({onSuspendCapture:!0})}},timeUpdate:{phasedRegistrationNames:{bubbled:S({onTimeUpdate:!0}),captured:S({onTimeUpdateCapture:!0})}},touchCancel:{phasedRegistrationNames:{bubbled:S({onTouchCancel:!0}),captured:S({onTouchCancelCapture:!0})}},touchEnd:{phasedRegistrationNames:{bubbled:S({onTouchEnd:!0}),captured:S({onTouchEndCapture:!0})}},touchMove:{phasedRegistrationNames:{bubbled:S({onTouchMove:!0}),captured:S({onTouchMoveCapture:!0})}},touchStart:{phasedRegistrationNames:{bubbled:S({onTouchStart:!0}),captured:S({onTouchStartCapture:!0})}},transitionEnd:{phasedRegistrationNames:{bubbled:S({onTransitionEnd:!0}),captured:S({onTransitionEndCapture:!0})}},volumeChange:{phasedRegistrationNames:{bubbled:S({onVolumeChange:!0}),captured:S({onVolumeChangeCapture:!0})}},waiting:{phasedRegistrationNames:{bubbled:S({onWaiting:!0}),captured:S({onWaitingCapture:!0})}},wheel:{phasedRegistrationNames:{bubbled:S({onWheel:!0}),captured:S({onWheelCapture:!0})}}},E={topAbort:C.abort,topAnimationEnd:C.animationEnd,topAnimationIteration:C.animationIteration,topAnimationStart:C.animationStart,topBlur:C.blur,topCanPlay:C.canPlay,topCanPlayThrough:C.canPlayThrough,topClick:C.click,topContextMenu:C.contextMenu,topCopy:C.copy,topCut:C.cut,topDoubleClick:C.doubleClick,topDrag:C.drag,topDragEnd:C.dragEnd,topDragEnter:C.dragEnter,topDragExit:C.dragExit,topDragLeave:C.dragLeave,topDragOver:C.dragOver,topDragStart:C.dragStart,topDrop:C.drop,topDurationChange:C.durationChange,topEmptied:C.emptied,topEncrypted:C.encrypted,topEnded:C.ended,topError:C.error,topFocus:C.focus,topInput:C.input,topInvalid:C.invalid,topKeyDown:C.keyDown,topKeyPress:C.keyPress,topKeyUp:C.keyUp,topLoad:C.load,topLoadedData:C.loadedData,topLoadedMetadata:C.loadedMetadata,topLoadStart:C.loadStart,topMouseDown:C.mouseDown,topMouseMove:C.mouseMove,topMouseOut:C.mouseOut,topMouseOver:C.mouseOver,topMouseUp:C.mouseUp,topPaste:C.paste,topPause:C.pause,topPlay:C.play,topPlaying:C.playing,topProgress:C.progress,topRateChange:C.rateChange,topReset:C.reset,topScroll:C.scroll,topSeeked:C.seeked,topSeeking:C.seeking,topStalled:C.stalled,topSubmit:C.submit,topSuspend:C.suspend,topTimeUpdate:C.timeUpdate,topTouchCancel:C.touchCancel,topTouchEnd:C.touchEnd,topTouchMove:C.touchMove,topTouchStart:C.touchStart,topTransitionEnd:C.transitionEnd,topVolumeChange:C.volumeChange,topWaiting:C.waiting,topWheel:C.wheel};for(var x in E)E[x].dependencies=[x];var O=S({onClick:null}),T={},M={eventTypes:C,extractEvents:function(t,e,n,r){var i=E[t];if(!i)return null;var a;switch(t){case k.topAbort:case k.topCanPlay:case k.topCanPlayThrough:case k.topDurationChange:case k.topEmptied:case k.topEncrypted:case k.topEnded:case k.topError:case k.topInput:case k.topInvalid:case k.topLoad:case k.topLoadedData:case k.topLoadedMetadata:case k.topLoadStart:case k.topPause:case k.topPlay:case k.topPlaying:case k.topProgress:case k.topRateChange:case k.topReset:case k.topSeeked:case k.topSeeking:case k.topStalled:case k.topSubmit:case k.topSuspend:case k.topTimeUpdate:case k.topVolumeChange:case k.topWaiting:a=p;break;case k.topKeyPress:if(0===w(n))return null;case k.topKeyDown:case k.topKeyUp:a=d;break;case k.topBlur:case k.topFocus:a=f;break;case k.topClick:if(2===n.button)return null;case k.topContextMenu:case k.topDoubleClick:case k.topMouseDown:case k.topMouseMove:case k.topMouseOut:case k.topMouseOver:case k.topMouseUp:a=h;break;case k.topDrag:case k.topDragEnd:case k.topDragEnter:case k.topDragExit:case k.topDragLeave:case k.topDragOver:case k.topDragStart:case k.topDrop:a=g;break;case k.topTouchCancel:case k.topTouchEnd:case k.topTouchMove:case k.topTouchStart:a=v;break;case k.topAnimationEnd:case k.topAnimationIteration:case k.topAnimationStart:a=c;break;case k.topTransitionEnd:a=y;break;case k.topScroll:a=m;break;case k.topWheel:a=_;break;case k.topCopy:case k.topCut:case k.topPaste:a=l}a||o("86",t);var u=a.getPooled(i,e,n,r);return s.accumulateTwoPhaseDispatches(u),u},didPutListener:function(t,e,n){if(e===O){var o=r(t),i=u.getNodeFromInstance(t);T[o]||(T[o]=a.listen(i,"click",b))}},willDeleteListener:function(t,e){if(e===O){var n=r(t);T[n].remove(),delete T[n]}}};t.exports=M},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(22),i={animationName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(22),i={clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}};o.augmentClass(r,i),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(22),i={data:null};o.augmentClass(r,i),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(58),i={dataTransfer:null};o.augmentClass(r,i),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(45),i={relatedTarget:null};o.augmentClass(r,i),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(22),i={data:null};o.augmentClass(r,i),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(45),i=n(98),a=n(351),s=n(99),u={key:a,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:s,charCode:function(t){return"keypress"===t.type?i(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?i(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}};o.augmentClass(r,u),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(45),i=n(99),a={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:i};o.augmentClass(r,a),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(22),i={propertyName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(58),i={deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:null,deltaMode:null};o.augmentClass(r,i),t.exports=r},function(t,e,n){"use strict";function r(t){for(var e=1,n=0,r=0,i=t.length,a=-4&i;r<a;){for(var s=Math.min(r+4096,a);r<s;r+=4)n+=(e+=t.charCodeAt(r))+(e+=t.charCodeAt(r+1))+(e+=t.charCodeAt(r+2))+(e+=t.charCodeAt(r+3));e%=o,n%=o}for(;r<i;r++)n+=e+=t.charCodeAt(r);return e%=o,n%=o,e|n<<16}var o=65521;t.exports=r},function(t,e,n){"use strict";(function(e){function r(t,e,n,r,u,c){for(var l in t)if(t.hasOwnProperty(l)){var p;try{"function"!=typeof t[l]&&o("84",r||"React class",i[n],l),p=t[l](e,l,r,n,null,a)}catch(t){p=t}if(p instanceof Error&&!(p.message in s)){s[p.message]=!0}}}var o=n(1),i=n(93),a=n(95);n(0),n(2);void 0!==e&&n.i({NODE_ENV:"production"});var s={};t.exports=r}).call(e,n(55))},function(t,e,n){"use strict";function r(t,e,n){if(null==e||"boolean"==typeof e||""===e)return"";if(isNaN(e)||0===e||i.hasOwnProperty(t)&&i[t])return""+e;if("string"==typeof e){e=e.trim()}return e+"px"}var o=n(149),i=(n(2),o.isUnitlessNumber);t.exports=r},function(t,e,n){"use strict";function r(t){if(null==t)return null;if(1===t.nodeType)return t;var e=a.get(t);if(e)return e=s(e),e?i.getNodeFromInstance(e):null;"function"==typeof t.render?o("44"):o("45",Object.keys(t))}var o=n(1),i=(n(25),n(6)),a=n(44),s=n(168);n(0),n(2);t.exports=r},function(t,e,n){"use strict";(function(e){function r(t,e,n,r){if(t&&"object"==typeof t){var o=t,i=void 0===o[n];i&&null!=e&&(o[n]=e)}}function o(t,e){if(null==t)return t;var n={};return i(t,r,n),n}var i=(n(86),n(103));n(2);void 0!==e&&n.i({NODE_ENV:"production"}),t.exports=o}).call(e,n(55))},function(t,e,n){"use strict";function r(t){if(t.key){var e=i[t.key]||t.key;if("Unidentified"!==e)return e}if("keypress"===t.type){var n=o(t);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===t.type||"keyup"===t.type?a[t.keyCode]||"Unidentified":""}var o=n(98),i={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};t.exports=r},function(t,e,n){"use strict";function r(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function o(t){for(;t;){if(t.nextSibling)return t.nextSibling;t=t.parentNode}}function i(t,e){for(var n=r(t),i=0,a=0;n;){if(3===n.nodeType){if(a=i+n.textContent.length,i<=e&&a>=e)return{node:n,offset:e-i};i=a}n=r(o(n))}}t.exports=i},function(t,e,n){"use strict";function r(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n["ms"+t]="MS"+e,n["O"+t]="o"+e.toLowerCase(),n}function o(t){if(s[t])return s[t];if(!a[t])return t;var e=a[t];for(var n in e)if(e.hasOwnProperty(n)&&n in u)return s[t]=e[n];return""}var i=n(9),a={animationend:r("Animation","AnimationEnd"),animationiteration:r("Animation","AnimationIteration"),animationstart:r("Animation","AnimationStart"),transitionend:r("Transition","TransitionEnd")},s={},u={};i.canUseDOM&&(u=document.createElement("div").style,"AnimationEvent"in window||(delete a.animationend.animation,delete a.animationiteration.animation,delete a.animationstart.animation),"TransitionEvent"in window||delete a.transitionend.transition),t.exports=o},function(t,e,n){"use strict";function r(t){return i.isValidElement(t)||o("143"),t}var o=n(1),i=n(16);n(0);t.exports=r},function(t,e,n){"use strict";function r(t){return'"'+o(t)+'"'}var o=n(59);t.exports=r},function(t,e,n){"use strict";var r=n(160);t.exports=r.renderSubtreeIntoContainer},function(t,e,n){var r;!function(o,i){"use strict";var a="model",s="name",u="type",c="vendor",l="version",p="mobile",f="tablet",d={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,"")}},h={rgx:function(){for(var t,e,n,r,o,i,a,s=0,u=arguments;s<u.length&&!i;){var c=u[s],l=u[s+1];if(void 0===t){t={};for(r in l)l.hasOwnProperty(r)&&(o=l[r],"object"==typeof o?t[o[0]]=void 0:t[o]=void 0)}for(e=n=0;e<c.length&&!i;)if(i=c[e++].exec(this.getUA()))for(r=0;r<l.length;r++)a=i[++n],o=l[r],"object"==typeof o&&o.length>0?2==o.length?"function"==typeof o[1]?t[o[0]]=o[1].call(this,a):t[o[0]]=o[1]:3==o.length?"function"!=typeof o[1]||o[1].exec&&o[1].test?t[o[0]]=a?a.replace(o[1],o[2]):void 0:t[o[0]]=a?o[1].call(this,a,o[2]):void 0:4==o.length&&(t[o[0]]=a?o[3].call(this,a.replace(o[1],o[2])):void 0):t[o]=a||void 0;s+=2}return t},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(d.has(e[n][r],t))return"?"===n?void 0:n}else if(d.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"}}}},v={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)\/([\w\.-]+)/i],[s,l],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[s,"IE"],l],[/(edge)\/((\d+)?[\w\.]+)/i],[s,l],[/(yabrowser)\/([\w\.]+)/i],[[s,"Yandex"],l],[/(comodo_dragon)\/([\w\.]+)/i],[[s,/_/g," "],l],[/(micromessenger)\/([\w\.]+)/i],[[s,"WeChat"],l],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[l,[s,"MIUI Browser"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[s,/(.+)/,"$1 WebView"],l],[/android.+samsungbrowser\/([\w\.]+)/i,/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[l,[s,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i,/(qqbrowser)[\/\s]?([\w\.]+)/i],[s,l],[/(uc\s?browser)[\/\s]?([\w\.]+)/i,/ucweb.+(ucbrowser)[\/\s]?([\w\.]+)/i,/juc.+(ucweb)[\/\s]?([\w\.]+)/i],[[s,"UCBrowser"],l],[/(dolfin)\/([\w\.]+)/i],[[s,"Dolphin"],l],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[s,"Chrome"],l],[/;fbav\/([\w\.]+);/i],[l,[s,"Facebook"]],[/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.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[s,[l,h.str,g.browser.oldsafari.version]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],[s,l],[/(navigator|netscape)\/([\w\.-]+)/i],[[s,"Netscape"],l],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix)\/([\w\.-]+)/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]+)*/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[s,l]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[["architecture","amd64"]],[/(ia32(?=;))/i],[["architecture",d.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[["architecture","ia32"]],[/windows\s(ce|mobile);\sppc;/i],[["architecture","arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[["architecture",/ower/,"",d.lowerize]],[/(sun4\w)[;\)]/i],[["architecture","sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[["architecture",d.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],[a,c,[u,f]],[/applecoremedia\/[\w\.]+ \((ipad)/],[a,[c,"Apple"],[u,f]],[/(apple\s{0,1}tv)/i],[[a,"Apple TV"],[c,"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],[c,a,[u,f]],[/(kf[A-z]+)\sbuild\/[\w\.]+.*silk\//i],[a,[c,"Amazon"],[u,f]],[/(sd|kf)[0349hijorstuw]+\sbuild\/[\w\.]+.*silk\//i],[[a,h.str,g.device.amazon.model],[c,"Amazon"],[u,p]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[a,c,[u,p]],[/\((ip[honed|\s\w*]+);/i],[a,[c,"Apple"],[u,p]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|huawei|meizu|motorola|polytron)[\s_-]?([\w-]+)*/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[c,a,[u,p]],[/\(bb10;\s(\w+)/i],[a,[c,"BlackBerry"],[u,p]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i],[a,[c,"Asus"],[u,f]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[c,"Sony"],[a,"Xperia Tablet"],[u,f]],[/(?:sony)?(?:(?:(?:c|d)\d{4})|(?:so[-l].+))\sbuild\//i],[[c,"Sony"],[a,"Xperia Phone"],[u,p]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[c,a,[u,"console"]],[/android.+;\s(shield)\sbuild/i],[a,[c,"Nvidia"],[u,"console"]],[/(playstation\s[34portablevi]+)/i],[a,[c,"Sony"],[u,"console"]],[/(sprint\s(\w+))/i],[[c,h.str,g.device.sprint.vendor],[a,h.str,g.device.sprint.model],[u,p]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],[c,a,[u,f]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w+)*/i,/(alcatel|geeksphone|huawei|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]+)*/i],[c,[a,/_/g," "],[u,p]],[/(nexus\s9)/i],[a,[c,"HTC"],[u,f]],[/(nexus\s6p)/i],[a,[c,"Huawei"],[u,p]],[/(microsoft);\s(lumia[\s\w]+)/i],[c,a,[u,p]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[a,[c,"Microsoft"],[u,"console"]],[/(kin\.[onetw]{3})/i],[[a,/\./g," "],[c,"Microsoft"],[u,p]],[/\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,[c,"Motorola"],[u,p]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[a,[c,"Motorola"],[u,f]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[c,d.trim],[a,d.trim],[u,"smarttv"]],[/hbbtv.+maple;(\d+)/i],[[a,/^/,"SmartTV"],[c,"Samsung"],[u,"smarttv"]],[/\(dtv[\);].+(aquos)/i],[a,[c,"Sharp"],[u,"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],[[c,"Samsung"],a,[u,f]],[/smart-tv.+(samsung)/i],[c,[u,"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],[[c,"Samsung"],a,[u,p]],[/sie-(\w+)*/i],[a,[c,"Siemens"],[u,p]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]+)*/i],[[c,"Nokia"],a,[u,p]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i],[a,[c,"Acer"],[u,f]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[c,"LG"],a,[u,f]],[/(lg) netcast\.tv/i],[c,a,[u,"smarttv"]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w+)*/i],[a,[c,"LG"],[u,p]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[a,[c,"Lenovo"],[u,f]],[/linux;.+((jolla));/i],[c,a,[u,p]],[/((pebble))app\/[\d\.]+\s/i],[c,a,[u,"wearable"]],[/android.+;\s(glass)\s\d/i],[a,[c,"Google"],[u,"wearable"]],[/android.+(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d\w)?)\s+build/i],[[a,/_/g," "],[c,"Xiaomi"],[u,p]],[/android.+a000(1)\s+build/i],[a,[c,"OnePlus"],[u,p]],[/\s(tablet)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[u,d.lowerize],c,a]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[l,[s,"EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[s,l],[/rv\:([\w\.]+).*(gecko)/i],[l,s]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[s,l],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s]+\w)*/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[s,[l,h.str,g.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[s,"Windows"],[l,h.str,g.os.windows.version]],[/\((bb)(10);/i],[[s,"BlackBerry"],l],[/(blackberry)\w*\/?([\w\.]+)*/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]+)*/i,/linux;.+(sailfish);/i],[s,l],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]+)*/i],[[s,"Symbian"],l],[/\((series40);/i],[s],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[s,"Firefox OS"],l],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w+)*/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|[open]*suse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]+)*/i,/(hurd|linux)\s?([\w\.]+)*/i,/(gnu)\s?([\w\.]+)*/i],[s,l],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[s,"Chromium OS"],l],[/(sunos)\s?([\w\.]+\d)*/i],[[s,"Solaris"],l],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]+)*/i],[s,l],[/(haiku)\s(\w+)/i],[s,l],[/(ip[honead]+)(?:.*os\s([\w]+)*\slike\smac|;\sopera)/i],[[s,"iOS"],[l,/_/g,"."]],[/(mac\sos\sx)\s?([\w\s\.]+\w)*/i,/(macintosh|mac(?=_powerpc)\s)/i],[[s,"Mac OS"],[l,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]+)*/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.]*)*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]+)*/i],[s,l]]},y=function(t,e){if(!(this instanceof y))return new y(t,e).getResult();var n=t||(o&&o.navigator&&o.navigator.userAgent?o.navigator.userAgent:""),r=e?d.extend(v,e):v;return this.getBrowser=function(){var t=h.rgx.apply(this,r.browser);return t.major=d.major(t.version),t},this.getCPU=function(){return h.rgx.apply(this,r.cpu)},this.getDevice=function(){return h.rgx.apply(this,r.device)},this.getEngine=function(){return h.rgx.apply(this,r.engine)},this.getOS=function(){return h.rgx.apply(this,r.os)},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};y.VERSION="0.7.12",y.BROWSER={NAME:s,MAJOR:"major",VERSION:l},y.CPU={ARCHITECTURE:"architecture"},y.DEVICE={MODEL:a,VENDOR:c,TYPE:u,CONSOLE:"console",MOBILE:p,SMARTTV:"smarttv",TABLET:f,WEARABLE:"wearable",EMBEDDED:"embedded"},y.ENGINE={NAME:s,VERSION:l},y.OS={NAME:s,VERSION:l},void 0!==e?(void 0!==t&&t.exports&&(e=t.exports=y),e.UAParser=y):n(358)?void 0!==(r=function(){return y}.call(e,n,e,t))&&(t.exports=r):o.UAParser=y;var m=o.jQuery||o.Zepto;if(void 0!==m){var _=new y;m.ua=_.getResult(),m.ua.get=function(){return _.getUA()},m.ua.set=function(t){_.setUA(t);var e=_.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(e,{})},function(t,e,n){"use strict";(function(e){t.exports=e.DanteEditor=n(396)}).call(e,n(30))},function(t,e,n){"use strict";e.__esModule=!0;var r=n(398),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(){function t(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),(0,o.default)(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(402),i=r(o),a=n(401),s=r(a),u="function"==typeof s.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof s.default&&t.constructor===s.default&&t!==s.default.prototype?"symbol":typeof t};e.default="function"==typeof s.default&&"symbol"===u(i.default)?function(t){return void 0===t?"undefined":u(t)}:function(t){return t&&"function"==typeof s.default&&t.constructor===s.default&&t!==s.default.prototype?"symbol":void 0===t?"undefined":u(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(411);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(118),o=n(61).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){t.exports=!n(63)&&!n(106)(function(){return 7!=Object.defineProperty(n(364)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(362);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){"use strict";var r=n(205),o=n(64),i=n(372),a=n(107),s=n(65),u=n(204),c=n(417),l=n(208),p=n(370),f=n(108)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,g,v,y,m){c(n,e,g);var _,b,w,S=function(t){if(!d&&t in x)return x[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},k=e+" Iterator",C="values"==v,E=!1,x=t.prototype,O=x[f]||x["@@iterator"]||v&&x[v],T=O||S(v),M=v?C?S("entries"):T:void 0,D="Array"==e?x.entries||O:O;if(D&&(w=p(D.call(new t)))!==Object.prototype&&(l(w,k,!0),r||s(w,f)||a(w,f,h)),C&&O&&"values"!==O.name&&(E=!0,T=function(){return O.call(this)}),r&&!m||!d&&!E&&x[f]||a(x,f,T),u[e]=T,u[k]=h,v)if(_={values:C?T:S("values"),keys:y?T:S("keys"),entries:M},m)for(b in _)b in x||i(x,b,_[b]);else o(o.P+o.F*(d||E),e,_);return _}},function(t,e,n){var r=n(173),o=n(174),i=n(67),a=n(213),s=n(65),u=n(365),c=Object.getOwnPropertyDescriptor;e.f=n(63)?c:function(t,e){if(t=i(t),e=a(e,!0),u)try{return c(t,e)}catch(t){}if(s(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(371),o=n(203).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(65),o=n(212),i=n(209)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var r=n(65),o=n(67),i=n(413)(!1),a=n(209)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),u=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~i(c,n)||c.push(n));return c}},function(t,e,n){t.exports=n(107)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return function(){var n=t.apply(void 0,arguments);return void 0!==n&&null!==n?n:e.apply(void 0,arguments)}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return c.default.isValidElement(t)&&c.default.Children.count(t.props.children)>0}function i(t){var e=arguments.length<=1||void 0===arguments[1]?null:arguments[1];if(void 0===t||null===t)return t;if("string"==typeof t)return t;if(c.default.isValidElement(t)){if(o(t))return p.default.renderToStaticMarkup(t);var n=(0,d.default)(t);if(null!==e){return n.start+e+n.end}return n}if((0,s.default)(t.hasOwnProperty("start")&&t.hasOwnProperty("end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),null!==e){return t.start+e+t.end}return t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var a=n(81),s=r(a),u=n(7),c=r(u),l=n(297),p=r(l),f=n(216),d=r(f)},function(t,e,n){"use strict";function r(t){var e=void 0;if("undefined"!=typeof DOMParser){e=(new DOMParser).parseFromString(t,"text/html"),null!==e&&null!==e.body||(e=o(t))}else e=o(t);return e.body}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var o=function(t){var e=document.implementation.createHTMLDocument("");return e.documentElement.innerHTML=t,e}},function(t,e,n){"use strict";function r(t,e,n,r){var o=r-n;return e+n<=t.offset?Object.assign({},t,{offset:t.offset+o}):e>=t.offset&&e+n<=t.offset+t.length?Object.assign({},t,{length:t.length+o}):t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r},function(t,e,n){"use strict";(function(e){t.exports=e.Dante=n(395)}).call(e,n(30))},,,function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(32),i=r(o),a=n(38),s=r(a),u=n(37),c=r(u),l=n(7),p=r(l),f=n(15),d=(r(f),n(26),n(105)),h=r(d),g=n(48),v=function(t){function e(n){(0,i.default)(this,e);var r=(0,s.default)(this,t.call(this,n));return r.updateData=r.updateData.bind(r),r.dataForUpdate=r.dataForUpdate.bind(r),r.componentDidMount=r.componentDidMount.bind(r),r.state={embed_data:r.defaultData(),error:""},r}return(0,c.default)(e,t),e.prototype.defaultData=function(){return this.props.block.getData().toJS().embed_data||{}},e.prototype.updateData=function(){var t=this.props,e=t.block,n=(t.blockProps,this.props.blockProps),r=n.getEditorState,o=n.setEditorState,i=e.getData(),a=i.merge(this.state);return o((0,g.updateDataOfBlock)(r(),e,a))},e.prototype.dataForUpdate=function(){return this.props.blockProps.data.toJS()},e.prototype.componentDidMount=function(){var t=this;if(this.props.blockProps.data&&(this.dataForUpdate().endpoint||this.dataForUpdate().provisory_text))return(0,h.default)({method:"get",url:""+this.dataForUpdate().endpoint+this.dataForUpdate().provisory_text+"&scheme=https"}).then(function(e){return t.setState({embed_data:e.data},t.updateData)}).catch(function(e){return t.setState({error:e.response.data.error_message}),console.log("TODO: error")})},e.prototype.classForImage=function(){return this.state.embed_data.images?"":"mixtapeImage--empty u-ignoreBlock"},e.prototype.picture=function(){return this.state.embed_data.images&&this.state.embed_data.images.length>0?this.state.embed_data.images[0].url:""},e.prototype.render=function(){return console.log("ERROR",this.state.error),p.default.createElement("span",null,this.picture()?p.default.createElement("a",{target:"_blank",className:"js-mixtapeImage mixtapeImage "+this.classForImage(),href:this.state.embed_data.url,style:{backgroundImage:"url('"+this.picture()+"')"}}):void 0,this.state.error?p.default.createElement("h2",null,this.state.error):void 0,p.default.createElement("a",{className:"markup--anchor markup--mixtapeEmbed-anchor",target:"_blank",href:this.state.embed_data.url},p.default.createElement("strong",{className:"markup--strong markup--mixtapeEmbed-strong"},this.state.embed_data.title),p.default.createElement("em",{className:"markup--em markup--mixtapeEmbed-em"},this.state.embed_data.description)),this.state.embed_data.provider_url)},e}(p.default.Component);e.default=v,t.exports=e.default},function(t,e,r){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=r(201),a=o(i),s=r(32),u=o(s),c=r(38),l=o(c),p=r(37),f=o(p),d=r(7),h=o(d),g=r(15),v=(o(g),r(26)),y=r(105),m=o(y),_=r(48),b=function(t){function e(n){(0,u.default)(this,e);var r=(0,l.default)(this,t.call(this,n));r.blockPropsSrc=r.blockPropsSrc.bind(r),r.defaultUrl=r.defaultUrl.bind(r),r.defaultAspectRatio=r.defaultAspectRatio.bind(r),r.updateData=r.updateData.bind(r),r.replaceImg=r.replaceImg.bind(r),r.startLoader=r.startLoader.bind(r),r.stopLoader=r.stopLoader.bind(r),r.handleUpload=r.handleUpload.bind(r),r.aspectRatio=r.aspectRatio.bind(r),r.updateDataSelection=r.updateDataSelection.bind(r),r.handleGrafFigureSelectImg=r.handleGrafFigureSelectImg.bind(r),r.getUploadUrl=r.getUploadUrl.bind(r),r.uploadFile=r.uploadFile.bind(r),r.uploadFailed=r.uploadFailed.bind(r),r.uploadCompleted=r.uploadCompleted.bind(r),r.updateProgressBar=r.updateProgressBar.bind(r),r.placeHolderEnabled=r.placeHolderEnabled.bind(r),r.placeholderText=r.placeholderText.bind(r),r.handleFocus=r.handleFocus.bind(r),r.render=r.render.bind(r);var o=r.props.block.getData().toJS();return r.config=r.props.blockProps.config,r.file=r.props.blockProps.data.get("file"),r.state={loading:!1,selected:!1,loading_progress:0,enabled:!1,caption:r.defaultPlaceholder(),direction:o.direction||"center",width:0,height:0,file:null,url:r.blockPropsSrc()||r.defaultUrl(o),aspect_ratio:r.defaultAspectRatio(o)},r}return(0,f.default)(e,t),e.prototype.blockPropsSrc=function(){return this.props.blockProps.data.src},e.prototype.defaultUrl=function(t){return t.url?t.url:t.url?t.file?URL.createObjectURL(t.file):t.url:this.props.blockProps.data.src},e.prototype.defaultPlaceholder=function(){return this.props.blockProps.config.image_caption_placeholder},e.prototype.defaultAspectRatio=function(t){return t.aspect_ratio?{width:t.aspect_ratio.width,height:t.aspect_ratio.height,ratio:t.aspect_ratio.ratio}:{width:0,height:0,ratio:100}},e.prototype.getAspectRatio=function(t,e){var n=0,r=t,o=e;return r>1e3?(n=1e3/r,o*=n,r*=n):o>1e3&&(n=1e3/o,r*=n,o*=n),{width:r,height:o,ratio:o/r*100}},e.prototype.updateData=function(){var t=(this.props.blockProps,this.props.block),e=this.props.blockProps.getEditorState,n=this.props.blockProps.setEditorState,r=t.getData(),o=r.merge(this.state).merge({forceUpload:!1});return n((0,_.updateDataOfBlock)(e(),t,o))},e.prototype.replaceImg=function(){var t=this;this.img=new Image,this.img.src=this.refs.image_tag.src,this.setState({url:this.img.src});var e=this;if(this.img.src.includes("blob:")||this.props.block.data.get("forceUpload"))return this.img.onload=function(){return t.setState({width:t.img.width,height:t.img.height,aspect_ratio:e.getAspectRatio(t.img.width,t.img.height)}),t.handleUpload()}},e.prototype.startLoader=function(){return this.setState({loading:!0})},e.prototype.stopLoader=function(){return this.setState({loading:!1})},e.prototype.handleUpload=function(){return this.startLoader(),this.props.blockProps.addLock(),this.updateData(),this.uploadFile()},e.prototype.componentDidMount=function(){return this.replaceImg()},e.prototype.aspectRatio=function(){return{maxWidth:""+this.state.aspect_ratio.width,maxHeight:""+this.state.aspect_ratio.height,ratio:""+this.state.aspect_ratio.height}},e.prototype.updateDataSelection=function(){var t=this.props.blockProps,e=t.getEditorState,n=t.setEditorState,r=e().getSelection().merge({anchorKey:this.props.block.getKey(),focusKey:this.props.block.getKey()});return n(v.EditorState.forceSelection(e(),r))},e.prototype.handleGrafFigureSelectImg=function(t){return t.preventDefault(),this.setState({selected:!0},this.updateDataSelection)},e.prototype.coords=function(){return{maxWidth:this.state.aspect_ratio.width+"px",maxHeight:this.state.aspect_ratio.height+"px"}},e.prototype.getBase64Image=function(t){var e=document.createElement("canvas");return e.width=t.width,e.height=t.height,e.getContext("2d").drawImage(t,0,0),e.toDataURL("image/png")},e.prototype.formatData=function(){var t=new FormData;if(this.file){var e=this.config.upload_formName||"file";return t.append(e,this.file),t}return t.append("url",this.props.blockProps.data.get("url")),t},e.prototype.getUploadUrl=function(){var t=this.config.upload_url;return"function"==typeof t?t():t},e.prototype.getUploadHeaders=function(){return this.config.upload_headers||{}},e.prototype.uploadFile=function(){var t=this;return this.config.upload_handler?this.config.upload_handler(this.formatData().get("file"),this):((0,m.default)({method:"post",url:this.getUploadUrl(),headers:this.getUploadHeaders(),data:this.formatData(),onUploadProgress:function(e){return t.updateProgressBar(e)}}).then(function(e){if(t.uploadCompleted(e.data.url),t.config.upload_callback)return t.config.upload_callback(e,t)}).catch(function(e){if(t.uploadFailed(),console.log("ERROR: got error uploading file "+e),t.config.upload_error_callback)return t.config.upload_error_callback(e,t)}),function(e){return t.uploadCompleted(e.url,n)})},e.prototype.uploadFailed=function(){this.props.blockProps.removeLock(),this.stopLoader()},e.prototype.uploadCompleted=function(t){this.setState({url:t},this.updateData),this.props.blockProps.removeLock(),this.stopLoader(),this.file=null},e.prototype.updateProgressBar=function(t){var e=this.state.loading_progress;if(t.lengthComputable)return e=t.loaded/t.total*100,e=null!=e?e:{complete:0},this.setState({loading_progress:e}),console.log("complete: "+e)},e.prototype.placeHolderEnabled=function(){return this.state.enabled||this.props.block.getText()},e.prototype.placeholderText=function(){return this.placeHolderEnabled()?"":this.config.image_caption_placeholder},e.prototype.handleFocus=function(t){var e=this;return setTimeout(function(){return e.setState({enabled:!0})},0)},e.prototype.render=function(){return h.default.createElement("div",{ref:"image_tag2",suppressContentEditableWarning:!0},h.default.createElement("div",{className:"aspectRatioPlaceholder is-locked",style:this.coords(),onClick:this.handleGrafFigureSelectImg},h.default.createElement("div",{style:{paddingBottom:this.state.aspect_ratio.ratio+"%"},className:"aspect-ratio-fill"}),h.default.createElement("img",{src:this.state.url,ref:"image_tag",height:this.state.aspect_ratio.height,width:this.state.aspect_ratio.width,className:"graf-image"}),h.default.createElement(w,{toggle:this.state.loading,progress:this.state.loading_progress})),h.default.createElement("figcaption",{className:"imageCaption",onMouseDown:this.handleFocus},this.state.enabled?void 0:h.default.createElement("span",{className:"danteDefaultPlaceholder"},this.placeholderText()),h.default.createElement(v.EditorBlock,(0,a.default)({},this.props,{editable:!0,className:"imageCaption"}))))},e}(h.default.Component);e.default=b;var w=function(t){function e(){return(0,u.default)(this,e),(0,l.default)(this,t.apply(this,arguments))}return(0,f.default)(e,t),e.prototype.render=function(){return h.default.createElement("div",null,this.props.toggle?h.default.createElement("div",{className:"image-upoader-loader"},h.default.createElement("p",null,100===this.props.progress?"processing image...":h.default.createElement("span",null,h.default.createElement("span",null,"loading")," ",Math.round(this.props.progress)))):void 0)},e}(h.default.Component);t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(201),i=r(o),a=n(32),s=r(a),u=n(38),c=r(u),l=n(37),p=r(l),f=n(7),d=r(f),h=n(15),g=(r(h),n(26)),v=function(t){function e(n){(0,s.default)(this,e);var r=(0,c.default)(this,t.call(this,n));return r.placeholderText=r.placeholderText.bind(r),r.placeholderFromProps=r.placeholderFromProps.bind(r),r.defaultText=r.defaultText.bind(r),r.handleFocus=r.handleFocus.bind(r),r.classForDefault=r.classForDefault.bind(r),r.state={enabled:!1,data:r.props.blockProps.data.toJS()},r}return(0,p.default)(e,t),e.prototype.placeholderText=function(){return this.state.enabled?"":this.props.blockProps.data.toJS().placeholder||this.placeholderFromProps()||this.defaultText()},e.prototype.placeholderFromProps=function(){return this.props.block.toJS().placeholder},e.prototype.defaultText=function(){return"write something "},e.prototype.componentDidMount=function(){},e.prototype.handleFocus=function(t){var e=this;return setTimeout(function(){return e.setState({enabled:!0})},0)},e.prototype.classForDefault=function(){return this.state.enabled?"":"defaultValue defaultValue--root"},e.prototype.render=function(){return d.default.createElement("span",{className:this.classForDefault(),onMouseDown:this.handleFocus},this.placeholderText(),d.default.createElement(g.EditorBlock,(0,i.default)({},this.props,{className:"imageCaption",placeholder:"escrive alalal"})))},e}(d.default.Component);e.default=v,t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(201),i=r(o),a=n(32),s=r(a),u=n(38),c=r(u),l=n(37),p=r(l),f=n(7),d=r(f),h=n(15),g=(r(h),n(26)),v=n(48),y=n(105),m=r(y),_=function(t){function e(n){(0,s.default)(this,e);var r=(0,c.default)(this,t.call(this,n));return r.updateData=r.updateData.bind(r),r.dataForUpdate=r.dataForUpdate.bind(r),r.state={embed_data:r.defaultData()},r}return(0,p.default)(e,t),e.prototype.defaultData=function(){return this.props.block.getData().toJS().embed_data||{}},e.prototype.updateData=function(){var t=this.props,e=t.block,n=(t.blockProps,this.props.blockProps),r=n.getEditorState,o=n.setEditorState,i=e.getData(),a=i.merge(this.state);return o((0,v.updateDataOfBlock)(r(),e,a))},e.prototype.dataForUpdate=function(){return this.props.blockProps.data.toJS()},e.prototype.componentDidMount=function(){var t=this;if(this.props.blockProps.data&&(this.dataForUpdate().endpoint||this.dataForUpdate().provisory_text))return(0,m.default)({method:"get",url:""+this.dataForUpdate().endpoint+this.dataForUpdate().provisory_text+"&scheme=https"}).then(function(e){return t.setState({embed_data:e.data},t.updateData)}).catch(function(t){return console.log("TODO: error")})},e.prototype.classForImage=function(){return this.state.embed_data.thumbnail_url?"":"mixtapeImage--empty u-ignoreBlock"},e.prototype.render=function(){return d.default.createElement("figure",{className:"graf--figure graf--iframe graf--first",tabIndex:"0"},d.default.createElement("div",{className:"iframeContainer",dangerouslySetInnerHTML:{__html:this.state.embed_data.html}}),d.default.createElement("figcaption",{className:"imageCaption"},d.default.createElement(g.EditorBlock,(0,i.default)({},this.props,{className:"imageCaption"}))))},e}(d.default.Component);e.default=_,t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(200),i=r(o),a=n(32),s=r(a),u=n(38),c=r(u),l=n(37),p=r(l),f=n(7),d=r(f),h=function(t){function e(){(0,s.default)(this,e);var n=(0,c.default)(this,t.call(this));return n.handleToggleReadOnly=n.handleToggleReadOnly.bind(n),n.handleTestEmitAndDecode=n.handleTestEmitAndDecode.bind(n),n.handleTestEmitTEXT=n.handleTestEmitTEXT.bind(n),n.testEmitAndDecode=n.testEmitAndDecode.bind(n),n.testEmitTEXT=n.testEmitTEXT.bind(n),n.logState=n.logState.bind(n),n.toggleDisplay=n.toggleDisplay.bind(n),n.open=n.open.bind(n),n.render=n.render.bind(n),n.state={output:"",display:"none"},n}return(0,p.default)(e,t),e.prototype.handleToggleReadOnly=function(t){return t.preventDefault(),this.props.editor.toggleEditable(),!1},e.prototype.handleTestEmitAndDecode=function(t){return t.preventDefault(),this.testEmitAndDecode()},e.prototype.handleTestEmitTEXT=function(t){return t.preventDefault(),this.testEmitTEXT()},e.prototype.testEmitAndDecode=function(t){var e=this.props.editor.emitSerializedOutput();return this.props.editor.setState({editorState:this.props.editor.decodeEditorContent(e)},this.logState((0,i.default)(e))),!1},e.prototype.testEmitTEXT=function(){var t=this.props.editor.getTextFromEditor();return this.logState(t)},e.prototype.logState=function(t){return this.setState({output:t},this.open)},e.prototype.toggleDisplay=function(t){t.preventDefault();var e="block"===this.state.display?"none":this.state.display;return this.setState({display:e})},e.prototype.open=function(){return this.setState({display:"block"})},e.prototype.render=function(){return d.default.createElement("div",null,d.default.createElement("div",{className:"debugControls"},d.default.createElement("ul",null,d.default.createElement("li",null," LOCKS: ",this.props.editor.state.locks," "),d.default.createElement("li",null,d.default.createElement("a",{href:"#",onClick:this.handleToggleReadOnly},"EDITABLE: ",this.props.editor.state.read_only?"NO":"YES")),d.default.createElement("li",null,d.default.createElement("a",{href:"#",onClick:this.handleTestEmitTEXT},"EDITOR TEXT")),d.default.createElement("li",null,d.default.createElement("a",{href:"#",onClick:this.handleTestEmitAndDecode},"EDITOR STATE")))),d.default.createElement("div",{className:"debugZone",style:{display:this.state.display}},d.default.createElement("a",{href:"#",className:"dante-debug-close close",onClick:this.toggleDisplay}),d.default.createElement("div",{className:"debugOutput"},d.default.createElement("h2",null,"EDITOR OUTPUT"),this.state.output.length>0?d.default.createElement("pre",null,this.state.output):void 0)))},e}(d.default.Component);e.default=h,t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(32),i=r(o),a=n(38),s=r(a),u=n(37),c=r(u),l=n(7),p=r(l),f=n(26),d=function(t){function e(n){(0,i.default)(this,e);var r=(0,s.default)(this,t.call(this,n));return r._validateLink=r._validateLink.bind(r),r._checkProtocol=r._checkProtocol.bind(r),r._showPopLinkOver=r._showPopLinkOver.bind(r),r._hidePopLinkOver=r._hidePopLinkOver.bind(r),r.isHover=!1,r}return(0,c.default)(e,t),e.prototype._validateLink=function(){return!!new RegExp("^(https?://)?((([a-zd]([a-zd-]*[a-zd])*).)+[a-z]{2,}|((d{1,3}.){3}d{1,3}))(:d+)?(/[-a-zd%_.~+]*)*(?[&a-zd%_.~+=-]*)?(#[-a-zd_]*)?$","i").test(str)||(alert("Please enter a valid URL."),!1)},e.prototype._checkProtocol=function(){return console.log("xcvd")},e.prototype._showPopLinkOver=function(t){if(this.data.showPopLinkOver)return this.data.showPopLinkOver(this.refs.link)},e.prototype._hidePopLinkOver=function(t){if(this.data.hidePopLinkOver)return this.data.hidePopLinkOver()},e.prototype.render=function(){return this.data=f.Entity.get(this.props.entityKey).getData(),p.default.createElement("a",{ref:"link",href:this.data.url,className:"markup--anchor",onMouseOver:this._showPopLinkOver,onMouseOut:this._hidePopLinkOver},this.props.children)},e}(p.default.Component);e.default=d,t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(32),i=r(o),a=n(38),s=r(a),u=n(37),c=r(u),l=n(7),p=r(l),f=n(15),d=r(f),h=(n(26),n(48)),g=n(199),v=function(t){function e(n){(0,i.default)(this,e);var r=(0,s.default)(this,t.call(this,n));return r.display=r.display.bind(r),r.show=r.show.bind(r),r.hide=r.hide.bind(r),r._toggleScaled=r._toggleScaled.bind(r),r.scale=r.scale.bind(r),r.collapse=r.collapse.bind(r),r.componentWillReceiveProps=r.componentWillReceiveProps.bind(r),r.clickOnFileUpload=r.clickOnFileUpload.bind(r),r.handlePlaceholder=r.handlePlaceholder.bind(r),r.insertImage=r.insertImage.bind(r),r.handleFileInput=r.handleFileInput.bind(r),r.widgets=r.widgets.bind(r),r.clickHandler=r.clickHandler.bind(r),r.relocate=r.relocate.bind(r),r.state={position:{top:0,left:0},show:!1,scaled:!1},r}return(0,c.default)(e,t),e.prototype.display=function(t){return t?this.show():this.hide()},e.prototype.show=function(){return this.setState({show:!0})},e.prototype.hide=function(){return this.setState({show:!1})},e.prototype.setPosition=function(t){return this.setState({position:t})},e.prototype._toggleScaled=function(t){return this.state.scaled?this.collapse():this.scale()},e.prototype.scale=function(){return this.setState({scaled:!0})},e.prototype.collapse=function(){return this.setState({scaled:!1})},e.prototype.componentWillReceiveProps=function(t){return this.collapse()},e.prototype.activeClass=function(){return this.isActive()?"is-active":""},e.prototype.isActive=function(){return this.state.show},e.prototype.scaledClass=function(){return this.state.scaled?"is-scaled":""},e.prototype.scaledWidth=function(){return this.state.scaled?"124":"0"},e.prototype.clickOnFileUpload=function(){return this.refs.fileInput.click(),this.collapse(),this.hide()},e.prototype.handlePlaceholder=function(t){var e={type:t.widget_options.insert_block,placeholder:t.options.placeholder,endpoint:t.options.endpoint};return this.props.onChange((0,h.resetBlockWithType)(this.props.editorState,"placeholder",e))},e.prototype.insertImage=function(t){var e={url:URL.createObjectURL(t),file:t};return this.props.onChange((0,h.addNewBlock)(this.props.editorState,"image",e))},e.prototype.handleFileInput=function(t){var e=t.target.files;return this.insertImage(e[0])},e.prototype.widgets=function(){return this.props.editor.widgets},e.prototype.clickHandler=function(t,e){var n=this.widgets().find(function(t){return t.icon===e});switch(n.widget_options.insertion){case"upload":return this.clickOnFileUpload(t,n);case"placeholder":return this.handlePlaceholder(n);default:return console.log("WRONG TYPE FOR "+n.widget_options.insertion)}},e.prototype.getItems=function(){return this.widgets().filter(function(t){return t.widget_options.displayOnInlineTooltip})},e.prototype.isDescendant=function(t,e){for(var n=e.parentNode;null!==n;){if(n===t)return!0;n=n.parentNode}return!1},e.prototype.relocate=function(){var t=this.props.editorState;if(t.getSelection().isCollapsed()){var e=(0,h.getCurrentBlock)(t),n=e.getType(),r=t.getCurrentContent(),o=t.getSelection(),i=r.getBlockForKey(o.anchorKey),a=(0,g.getSelection)(window);if(!a.rangeCount)return;var s=((0,h.getNode)(),(0,g.getSelectionRect)(a)),u=s,c=d.default.findDOMNode(this.props.editor);c.getBoundingClientRect();return this.isDescendant(c,a.anchorNode)?(this.display(0===i.getText().length&&"unstyled"===n),this.setPosition({top:u.top+window.scrollY,left:u.left+window.scrollX-60})):void this.hide()}return this.hide()},e.prototype.render=function(){var t=this;return p.default.createElement("div",{className:"inlineTooltip "+this.activeClass()+" "+this.scaledClass(),style:this.state.position},p.default.createElement("button",{className:"inlineTooltip-button control",title:"Close Menu","data-action":"inline-menu",onClick:this._toggleScaled},p.default.createElement("span",{className:"tooltip-icon dante-icon-plus"})),p.default.createElement("div",{className:"inlineTooltip-menu",style:{width:this.scaledWidth()+"px"}},this.getItems().map(function(e,n){return p.default.createElement(y,{item:e,key:n,clickHandler:t.clickHandler})}),p.default.createElement("input",{type:"file",style:{display:"none"},ref:"fileInput",multiple:"multiple",onChange:this.handleFileInput})))},e}(p.default.Component),y=function(t){function e(){(0,i.default)(this,e);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var a=(0,s.default)(this,t.call.apply(t,[this].concat(r)));return a.clickHandler=a.clickHandler.bind(a),a}return(0,c.default)(e,t),e.prototype.clickHandler=function(t){return t.preventDefault(),this.props.clickHandler(t,this.props.item.icon)},e.prototype.render=function(){return p.default.createElement("button",{className:"inlineTooltip-button scale",title:this.props.title,onMouseDown:this.clickHandler},p.default.createElement("span",{className:"tooltip-icon dante-icon-"+this.props.item.icon}))},e}(p.default.Component);e.default=v,t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(32),i=r(o),a=n(38),s=r(a),u=n(37),c=r(u),l=n(7),p=r(l),f=n(15),d=r(f),h=(n(26),n(199)),g=n(48),v=function(t){function e(n){(0,i.default)(this,e);var r=(0,s.default)(this,t.call(this,n));return r.display=r.display.bind(r),r.show=r.show.bind(r),r.hide=r.hide.bind(r),r._toggleScaled=r._toggleScaled.bind(r),r.scale=r.scale.bind(r),r.collapse=r.collapse.bind(r),r.relocate=r.relocate.bind(r),r.componentWillReceiveProps=r.componentWillReceiveProps.bind(r),r.handleClick=r.handleClick.bind(r),r.state={position:{top:0,left:0},show:!1,scaled:!1,buttons:[{type:"left"},{type:"center"},{type:"fill"},{type:"wide"}]},r}return(0,c.default)(e,t),e.prototype.display=function(t){return t?this.show():this.hide()},e.prototype.show=function(){return this.setState({show:!0})},e.prototype.hide=function(){return this.setState({show:!1})},e.prototype.setPosition=function(t){return this.setState({position:t})},e.prototype._toggleScaled=function(t){return this.state.scaled?this.collapse():this.scale()},e.prototype.scale=function(){return this.setState({scaled:!0})},e.prototype.collapse=function(){return this.setState({scaled:!1})},e.prototype.relocate=function(){var t=this.props.editorState;if(!t.getSelection().isCollapsed())return this.hide();var e=(0,g.getCurrentBlock)(t),n=e.getType(),r=t.getCurrentContent(),o=t.getSelection(),i=(r.getBlockForKey(o.anchorKey),(0,h.getSelection)(window));if(i.rangeCount){var a=(0,g.getNode)(),s=(0,h.getSelectionRect)(i),u=d.default.findDOMNode(this.props.editor),c=u.getBoundingClientRect();if(this.display("image"===n),"image"===n){s=a.anchorNode.parentNode.parentNode.parentNode.getBoundingClientRect();var l=this.refs.image_popover,p=l.offsetWidth/2;return this.setPosition({top:s.top-c.top+60,left:s.left+s.width/2-p})}}},e.prototype.componentWillReceiveProps=function(t){return this.collapse()},e.prototype.getStyle=function(){if(!this.state.position)return{}},e.prototype.handleClick=function(t){return this.props.editor.setDirection(t.type)},e.prototype.render=function(){var t=this;return p.default.createElement("div",{ref:"image_popover",className:"dante-popover popover--Aligntooltip popover--top popover--animated "+(this.state.show?"is-active":void 0),style:{top:this.state.position.top,left:this.state.position.left}},p.default.createElement("div",{className:"popover-inner"},p.default.createElement("ul",{className:"dante-menu-buttons"},this.state.buttons.map(function(e,n){return p.default.createElement(y,{item:e,handleClick:t.handleClick,key:n})}))),p.default.createElement("div",{className:"popover-arrow"}))},e}(p.default.Component),y=function(t){function e(){(0,i.default)(this,e);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var a=(0,s.default)(this,t.call.apply(t,[this].concat(r)));return a.handleClick=a.handleClick.bind(a),a.render=a.render.bind(a),a}return(0,c.default)(e,t),e.prototype.handleClick=function(t){return t.preventDefault(),this.props.handleClick(this.props.item)},e.prototype.render=function(){return p.default.createElement("li",{className:"dante-menu-button align-"+this.props.item.type,onMouseDown:this.handleClick},p.default.createElement("span",{className:"tooltip-icon dante-icon-image-"+this.props.item.type}))},e}(p.default.Component);e.default=v,t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(32),i=r(o),a=n(38),s=r(a),u=n(37),c=r(u),l=n(7),p=r(l),f=n(15),d=r(f),h=n(48),g=function(t){function e(n){(0,i.default)(this,e);var r=(0,s.default)(this,t.call(this,n));return r.display=r.display.bind(r),r.show=r.show.bind(r),r.hide=r.hide.bind(r),r.relocate=r.relocate.bind(r),r.render=r.render.bind(r),r.state={position:{top:0,left:0},show:!1,url:""},r}return(0,c.default)(e,t),e.prototype.display=function(t){return t?this.show():this.hide()},e.prototype.show=function(){return this.setState({show:!0})},e.prototype.hide=function(){return this.setState({show:!1})},e.prototype.setPosition=function(t){return this.setState({position:t})},e.prototype.relocate=function(t){if(null==t&&(t=null),t){var e=this.props.editorState,n=(0,h.getCurrentBlock)(e),r=(n.getType(),e.getCurrentContent(),e.getSelection(),t.getBoundingClientRect()),o=this.refs.dante_popover,i=o.offsetWidth/2,a=d.default.findDOMNode(this.props.editor),s=a.getBoundingClientRect();return{top:r.top-s.top+160,left:r.left+r.width/2-i}}},e.prototype.render=function(){var t=this.state.position,e={left:t.left,top:t.top,visibility:this.state.show?"visible":"hidden"};return p.default.createElement("div",{ref:"dante_popover",className:"dante-popover popover--tooltip popover--Linktooltip popover--bottom is-active",style:e,onMouseOver:this.props.handleOnMouseOver,onMouseOut:this.props.handleOnMouseOut},p.default.createElement("div",{className:"popover-inner"},p.default.createElement("a",{href:this.props.url,target:"_blank"},this.state.url)),p.default.createElement("div",{className:"popover-arrow"}))},e}(p.default.Component);e.default=g,t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(32),i=r(o),a=n(38),s=r(a),u=n(37),c=r(u),l=n(7),p=r(l),f=n(15),d=r(f),h=n(26),g=n(199),v=n(48),y=function(t){function e(n){(0,i.default)(this,e);var r=(0,s.default)(this,t.call(this,n));return r._clickInlineHandler=r._clickInlineHandler.bind(r),r.display=r.display.bind(r),r.show=r.show.bind(r),r.hide=r.hide.bind(r),r.relocate=r.relocate.bind(r),r._clickBlockHandler=r._clickBlockHandler.bind(r),r.displayLinkMode=r.displayLinkMode.bind(r),r.displayActiveMenu=r.displayActiveMenu.bind(r),r._enableLinkMode=r._enableLinkMode.bind(r),r._disableLinkMode=r._disableLinkMode.bind(r),r.handleInputEnter=r.handleInputEnter.bind(r),r.confirmLink=r.confirmLink.bind(r),r.inlineItems=r.inlineItems.bind(r),r.blockItems=r.blockItems.bind(r),r.getDefaultValue=r.getDefaultValue.bind(r),r.getVisibleSelectionRect=h.getVisibleSelectionRect,r.state={link_mode:!1,show:!1,position:{}},r}return(0,c.default)(e,t),e.prototype._clickInlineHandler=function(t,e){var n=this;return t.preventDefault(),this.props.onChange(h.RichUtils.toggleInlineStyle(this.props.editorState,e)),setTimeout(function(){return n.relocate()},0)},e.prototype.display=function(t){return t?this.show():this.hide()},e.prototype.show=function(){return this.setState({show:!0})},e.prototype.hide=function(){return this.setState({link_mode:!1,show:!1})},e.prototype.setPosition=function(t){return this.setState({position:t})},e.prototype.isDescendant=function(t,e){for(var n=e.parentNode;null!==n;){if(n===t)return!0;n=n.parentNode}return!1},e.prototype.relocate=function(){var t=(0,v.getCurrentBlock)(this.props.editorState),e=t.getType();if(this.props.configTooltip.selectionElements.indexOf(e)<0)return void this.hide();if(!this.state.link_mode&&this.state.show){var n=this.refs.dante_menu,r=n.offsetWidth/2,o=(0,g.getSelection)(window);if(o.rangeCount){var i=(0,g.getSelectionRect)(o),a=d.default.findDOMNode(this.props.editor),s=a.getBoundingClientRect();if(!this.isDescendant(a,o.anchorNode))return void this.hide();var u=i.top-s.top- -90-5,c=i.left+i.width/2-r;if(u&&c)return this.setState({show:!0,position:{left:c,top:u}})}}},e.prototype._clickBlockHandler=function(t,e){var n=this;return t.preventDefault(),this.props.onChange(h.RichUtils.toggleBlockType(this.props.editorState,e)),setTimeout(function(){return n.relocate()},0)},e.prototype.displayLinkMode=function(){return this.state.link_mode?"dante-menu--linkmode":""},e.prototype.displayActiveMenu=function(){return this.state.show?"dante-menu--active":""},e.prototype._enableLinkMode=function(t){return t.preventDefault(),this.setState({link_mode:!0})},e.prototype._disableLinkMode=function(t){return t.preventDefault(),this.setState({link_mode:!1,url:""})},e.prototype.hideMenu=function(){return this.hide()},e.prototype.handleInputEnter=function(t){if(13===t.which)return this.confirmLink(t)},e.prototype.confirmLink=function(t){t.preventDefault();var e=this.props.editorState,n=t.currentTarget.value,r=(e.getCurrentContent(),e.getSelection()),o={url:n,showPopLinkOver:this.props.showPopLinkOver,hidePopLinkOver:this.props.hidePopLinkOver},i=h.Entity.create("LINK","MUTABLE",o);return r.isCollapsed()?void console.log("COLLAPSED SKIPPING LINK"):(this.props.onChange(h.RichUtils.toggleLink(e,r,i)),this._disableLinkMode(t))},e.prototype.getPosition=function(){return this.state.position},e.prototype.inlineItems=function(){return this.props.widget_options.block_types.filter(function(t){return"inline"===t.type})},e.prototype.blockItems=function(){return this.props.widget_options.block_types.filter(function(t){return"block"===t.type})},e.prototype.getDefaultValue=function(){var t=this;this.refs.dante_menu_input&&(this.refs.dante_menu_input.value="");var e=(0,v.getCurrentBlock)(this.props.editorState),n=(e.getType(),this.props.editor.state.editorState.getSelection()),r=null,o=null;return e.findEntityRanges(function(t){var e=t.getEntity();return r=e,null!==e&&"LINK"===h.Entity.get(e).getType()},function(e,i){var a=n.getAnchorOffset(),s=n.getFocusOffset();if(n.getIsBackward()&&(a=n.getFocusOffset(),s=n.getAnchorOffset()),e===a&&i===s)return o=h.Entity.get(r).getData().url,t.refs.dante_menu_input.value=o})},e.prototype.render=function(){var t=this;return p.default.createElement("div",{id:"dante-menu",ref:"dante_menu",className:"dante-menu "+this.displayActiveMenu()+" "+this.displayLinkMode(),style:this.getPosition()},p.default.createElement("div",{className:"dante-menu-linkinput"},p.default.createElement("input",{className:"dante-menu-input",ref:"dante_menu_input",placeholder:this.props.widget_options.placeholder,onKeyPress:this.handleInputEnter,defaultValue:this.getDefaultValue()}),p.default.createElement("div",{className:"dante-menu-button",onMouseDown:this._disableLinkMode})),p.default.createElement("ul",{className:"dante-menu-buttons"},this.blockItems().map(function(e,n){return p.default.createElement(m,{key:n,item:e,handleClick:t._clickBlockHandler,editorState:t.props.editorState,type:"block",currentStyle:t.props.editorState.getCurrentInlineStyle})}),p.default.createElement(_,{editorState:this.props.editorState,enableLinkMode:this._enableLinkMode}),this.inlineItems().map(function(e,n){return p.default.createElement(m,{key:n,item:e,type:"inline",editorState:t.props.editorState,handleClick:t._clickInlineHandler})})))},e}(p.default.Component),m=function(t){function e(){(0,i.default)(this,e);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var a=(0,s.default)(this,t.call.apply(t,[this].concat(r)));return a.handleClick=a.handleClick.bind(a),a.activeClass=a.activeClass.bind(a),a.isActive=a.isActive.bind(a),a.activeClassInline=a.activeClassInline.bind(a),a.activeClassBlock=a.activeClassBlock.bind(a),a.render=a.render.bind(a),a}return(0,c.default)(e,t),e.prototype.handleClick=function(t){return this.props.handleClick(t,this.props.item.style)},e.prototype.activeClass=function(){return this.isActive()?"active":""},e.prototype.isActive=function(){return"block"===this.props.type?this.activeClassBlock():this.activeClassInline()},e.prototype.activeClassInline=function(){if(this.props.editorState)return this.props.editorState.getCurrentInlineStyle().has(this.props.item.style)},e.prototype.activeClassBlock=function(){if(this.props.editorState){var t=this.props.editorState.getSelection(),e=this.props.editorState.getCurrentContent().getBlockForKey(t.getStartKey()).getType();return this.props.item.style===e}},e.prototype.render=function(){return p.default.createElement("li",{className:"dante-menu-button "+this.activeClass(),onMouseDown:this.handleClick},p.default.createElement("i",{className:"dante-icon dante-icon-"+this.props.item.label,"data-action":"bold"}))},e}(p.default.Component),_=function(t){function e(){(0,i.default)(this,e);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var a=(0,s.default)(this,t.call.apply(t,[this].concat(r)));return a.promptForLink=a.promptForLink.bind(a),a}return(0,c.default)(e,t),e.prototype.promptForLink=function(t){if(!this.props.editorState.getSelection().isCollapsed())return this.props.enableLinkMode(t)},e.prototype.render=function(){return p.default.createElement("li",{className:"dante-menu-button",onMouseDown:this.promptForLink},p.default.createElement("i",{className:"dante-icon icon-createlink","data-action":"createlink"},"link"))},e}(p.default.Component);e.default=y,t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var o=n(377),i=r(o),a=n(359),s=r(a);t.exports={Dante:i.default,DanteEditor:s.default}},,function(t,e,n){"use strict";e.__esModule=!0;var r=n(26),o=function(t,e,n,o){return n.findEntityRanges(function(n){return function(n){var o,i,a;return o=n.getEntity(),a=null!==o&&r.Entity.get(o).getType()===t,a&&(i={showPopLinkOver:e.showPopLinkOver,hidePopLinkOver:e.hidePopLinkOver},r.Entity.mergeData(o,i)),a}}(),o)};e.default=o,t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0;var r=n(200),o=function(t){return t&&t.__esModule?t:{default:t}}(r),i=n(26),a=(n(109),function(t){return{contentType:"image",imgSrc:t.getAttribute("src")}}),s=function(t){if(null===t)return null;var e=document.createElement("blockquote");return e.innerText=(0,o.default)(t),e},u=function(t,e){if(e instanceof HTMLElement){var n=c(t);return n.parentNode.insertBefore(e,n)}},c=function(t){for(;t.parentNode;)if("BODY"!==t.parentNode.tagName&&(t=t.parentNode),"BODY"===t.parentNode.tagName)return t},l=function(){var t=arguments,e=t.length-1;return function(){for(var n=e,r=t[e].apply(this,arguments);n--;)r=t[n].call(this,r);return r}}(s,a),p=function(t){return u(t,l(t))},f=function(t,e){var n=(new DOMParser).parseFromString(t,"text/html");n.querySelectorAll("img").forEach(function(t){return p(t)});console.log(n.body.innerHTML);var r=(0,i.convertFromHTML)(n.body.innerHTML,i.getSafeBodyFromHTML,e);return r=r.map(function(t){if(console.log("CHECK BLOCK",t.getType()),"blockquote"!==t.getType())return t;var e="";try{e=JSON.parse(t.getText())}catch(e){return t}return t.merge({type:"image",text:"",data:{url:e.imgSrc,forceUpload:!0}})}),n=null,i.ContentState.createFromBlockArray(r)};e.default=f,t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(200),i=r(o),a=n(32),s=r(a),u=n(105),c=r(u),l=n(109),p=r(l),f=function(){function t(e){(0,s.default)(this,t),this.getLocks=e.getLocks,this.config=e.config,this.editorContent=e.editorContent,this.editorState=e.editorState}return t.prototype.handleStore=function(t){return this.store()},t.prototype.store=function(t){var e=this;if(this.config.data_storage.url&&!(this.getLocks()>0))return clearTimeout(this.timeout),this.timeout=setTimeout(function(){return e.checkforStore(t)},this.config.data_storage.interval)},t.prototype.getTextFromEditor=function(t){return t.blocks.map(function(t){return t.text}).join("\n")},t.prototype.getUrl=function(){var t=this.config.data_storage.url;return"function"==typeof t?t():t},t.prototype.getMethod=function(){var t=this.config.data_storage.method;return"function"==typeof t?t():t},t.prototype.getWithCredentials=function(){var t=this.config.data_storage.withCredentials;return"function"==typeof t?t():t},t.prototype.getCrossDomain=function(){var t=this.config.data_storage.crossDomain;return"function"==typeof t?t():t},t.prototype.getHeaders=function(){var t=this.config.data_storage.headers;return"function"==typeof t?t():t},t.prototype.checkforStore=function(t){!p.default.is(p.default.fromJS(this.editorContent),p.default.fromJS(t))&&this.save(t)},t.prototype.save=function(t){var e=this;return this.config.data_storage.save_handler?void this.config.data_storage.save_handler(this,t):(this.config.xhr.before_handler&&this.config.xhr.before_handler(),(0,c.default)({method:this.getMethod(),url:this.getUrl(),data:{editor_content:(0,i.default)(t),text_content:this.getTextFromEditor(t)},withCredentials:this.getWithCredentials(),crossDomain:this.getCrossDomain(),headers:this.getHeaders()}).then(function(t){if(e.config.data_storage.success_handler&&e.config.data_storage.success_handler(t),e.config.xhr.success_handler)return e.config.xhr.success_handler(t)}).catch(function(t){if(e.config.xhr.failure_handler)return e.config.xhr.failure_handler(t)}))},t}();e.default=f,t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var o=n(32),i=r(o),a=n(360),s=r(a),u=n(7),c=r(u),l=n(15),p=r(l),f=n(109),d=n(359),h=r(d),g=n(387),v=r(g),y=n(388),m=r(y),_=n(386),b=r(_),w=n(389),S=r(w),k=n(381),C=r(k),E=n(380),x=r(E),O=n(383),T=r(O),M=n(382),D=r(M),I=n(48),R=function(){function t(e){(0,i.default)(this,t),null==e&&(e={}),console.log("init editor Dante!");var n=(0,f.Map)((0,f.fromJS)(this.defaultOptions(e)));this.options=n.mergeDeep(e).toJS(),console.log(this.options)}return(0,s.default)(t,[{key:"defaultOptions",value:function(t){null==t&&(t={});var e={};return e.el="app",e.content="",e.read_only=!1,e.spellcheck=!1,e.title_placeholder="Title",e.body_placeholder="Write your story",e.widgets=[{title:"add an image",icon:"image",type:"image",block:C.default,editable:!0,renderable:!0,breakOnContinuous:!0,wrapper_class:"graf graf--figure",selected_class:"is-selected is-mediaFocused",selectedFn:function(t){switch(t.getData().toJS().direction){case"left":return"graf--layoutOutsetLeft";case"center":return"";case"wide":return"sectionLayout--fullWidth";case"fill":return"graf--layoutFillWidth"}},handleEnterWithoutText:function(t,e){var n=t.state.editorState;return t.onChange((0,I.addNewBlockAt)(n,e.getKey()))},handleEnterWithText:function(t,e){var n=t.state.editorState;return t.onChange((0,I.addNewBlockAt)(n,e.getKey()))},widget_options:{displayOnInlineTooltip:!0,insertion:"upload",insert_block:"image"},options:{upload_url:t.upload_url,upload_headers:t.upload_headers,upload_formName:t.upload_formName,upload_handler:t.image_upload_handler,upload_callback:t.image_upload_callback,image_delete_callback:t.image_delete_callback,image_caption_placeholder:t.image_caption_placeholder||"Write caption for image (optional)"}},{icon:"embed",title:"insert embed",type:"embed",block:x.default,editable:!0,renderable:!0,breakOnContinuous:!0,wrapper_class:"graf graf--mixtapeEmbed",selected_class:"is-selected is-mediaFocused",widget_options:{displayOnInlineTooltip:!0,insertion:"placeholder",insert_block:"embed"},options:{endpoint:"//api.embed.ly/1/extract?key="+t.api_key+"&url=",placeholder:"Paste a link to embed content from another site (e.g. Twitter) and press Enter"},handleEnterWithoutText:function(t,e){var n=t.state.editorState;return t.onChange((0,I.addNewBlockAt)(n,e.getKey()))},handleEnterWithText:function(t,e){var n=t.state.editorState;return t.onChange((0,I.addNewBlockAt)(n,e.getKey()))}},{icon:"video",title:"insert video",editable:!0,type:"video",block:T.default,renderable:!0,breakOnContinuous:!0,wrapper_class:"graf--figure graf--iframe",selected_class:" is-selected is-mediaFocused",widget_options:{displayOnInlineTooltip:!0,insertion:"placeholder",insert_block:"video"},options:{endpoint:"//api.embed.ly/1/oembed?key="+t.api_key+"&url=",placeholder:"Paste a YouTube, Vine, Vimeo, or other video link, and press Enter",caption:"Type caption for embed (optional)"},handleEnterWithoutText:function(t,e){var n=t.state.editorState;return t.onChange((0,I.addNewBlockAt)(n,e.getKey()))},handleEnterWithText:function(t,e){var n=t.state.editorState;return t.onChange((0,I.addNewBlockAt)(n,e.getKey()))}},{renderable:!0,editable:!0,block:D.default,type:"placeholder",wrapper_class:"is-embedable",selected_class:" is-selected is-mediaFocused",widget_options:{displayOnInlineTooltip:!1},handleEnterWithText:function(t,e){var n=t.state.editorState,r={provisory_text:e.getText(),endpoint:e.getData().get("endpoint"),type:e.getData().get("type")};return t.onChange((0,I.resetBlockWithType)(n,r.type,r))}}],e.tooltips=[{ref:"insert_tooltip",component:S.default,displayOnSelection:!0,selectionElements:["unstyled","blockquote","ordered-list","unordered-list","unordered-list-item","ordered-list-item","code-block","header-one","header-two","header-three","header-four"],widget_options:{placeholder:"Paste or type a link",block_types:[{label:"h2",style:"header-one",type:"block"},{label:"h3",style:"header-two",type:"block"},{label:"h4",style:"header-three",type:"block"},{label:"blockquote",style:"blockquote",type:"block"},{label:"insertunorderedlist",style:"unordered-list-item",type:"block"},{label:"insertorderedlist",style:"ordered-list-item",type:"block"},{label:"code",style:"code-block",type:"block"},{label:"bold",style:"BOLD",type:"inline"},{label:"italic",style:"ITALIC",type:"inline"}]}},{ref:"add_tooltip",component:b.default},{ref:"anchor_popover",component:m.default},{ref:"image_popover",component:v.default}],e.xhr={before_handler:null,success_handler:null,error_handler:null},e.data_storage={url:null,method:"POST",success_handler:null,failure_handler:null,interval:1500,withCredentials:!1,crossDomain:!1,headers:{}},e.default_wrappers=[{className:"graf--p",block:"unstyled"},{className:"graf--h2",block:"header-one"},{className:"graf--h3",block:"header-two"},{className:"graf--h4",block:"header-three"},{className:"graf--blockquote",block:"blockquote"},{className:"graf--insertunorderedlist",block:"unordered-list-item"},{className:"graf--insertorderedlist",block:"ordered-list-item"},{className:"graf--code",block:"code-block"},{className:"graf--bold",block:"BOLD"},{className:"graf--italic",block:"ITALIC"}],e.continuousBlocks=["unstyled","blockquote","ordered-list","unordered-list","unordered-list-item","ordered-list-item","code-block"],e.key_commands={"alt-shift":[{key:65,cmd:"add-new-block"}],"alt-cmd":[{key:49,cmd:"toggle_block:header-one"},{key:50,cmd:"toggle_block:header-two"},{key:53,cmd:"toggle_block:blockquote"}],cmd:[{key:66,cmd:"toggle_inline:BOLD"},{key:73,cmd:"toggle_inline:ITALIC"},{key:75,cmd:"insert:link"}]},e.character_convert_mapping={"> ":"blockquote","*.":"unordered-list-item","* ":"unordered-list-item","- ":"unordered-list-item","1.":"ordered-list-item","# ":"header-one","##":"header-two","==":"unstyled","` ":"code-block"},e}},{key:"getContent",value:function(){return this.options.content}},{key:"render",value:function(){return this.editor=p.default.render(c.default.createElement(h.default,{content:this.getContent(),config:this.options}),document.getElementById(this.options.el))}}]),t}();t.exports=R},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}var _getPrototypeOf=__webpack_require__(399),_getPrototypeOf2=_interopRequireDefault(_getPrototypeOf),_classCallCheck2=__webpack_require__(32),_classCallCheck3=_interopRequireDefault(_classCallCheck2),_createClass2=__webpack_require__(360),_createClass3=_interopRequireDefault(_createClass2),_possibleConstructorReturn2=__webpack_require__(38),_possibleConstructorReturn3=_interopRequireDefault(_possibleConstructorReturn2),_inherits2=__webpack_require__(37),_inherits3=_interopRequireDefault(_inherits2),_react=__webpack_require__(7),_react2=_interopRequireDefault(_react),_reactDom=__webpack_require__(15),_reactDom2=_interopRequireDefault(_reactDom),_immutable=__webpack_require__(109),_immutable2=_interopRequireDefault(_immutable),_draftJs=__webpack_require__(26),_draftConvert=__webpack_require__(448),_index=__webpack_require__(48),_link=__webpack_require__(385),_link2=_interopRequireDefault(_link),_debug=__webpack_require__(384),_debug2=_interopRequireDefault(_debug),_find_entities=__webpack_require__(392),_find_entities2=_interopRequireDefault(_find_entities),_save_content=__webpack_require__(394),_save_content2=_interopRequireDefault(_save_content),_html2content=__webpack_require__(393),_html2content2=_interopRequireDefault(_html2content),DanteEditor=function(_React$Component){function DanteEditor(t){(0,_classCallCheck3.default)(this,DanteEditor);var e=(0,_possibleConstructorReturn3.default)(this,(DanteEditor.__proto__||(0,_getPrototypeOf2.default)(DanteEditor)).call(this,t));return e.initializeState=e.initializeState.bind(e),e.refreshSelection=e.refreshSelection.bind(e),e.forceRender=e.forceRender.bind(e),e.onChange=e.onChange.bind(e),e.dispatchChangesToSave=e.dispatchChangesToSave.bind(e),e.setPreContent=e.setPreContent.bind(e),e.focus=e.focus.bind(e),e.getEditorState=e.getEditorState.bind(e),e.emitSerializedOutput=e.emitSerializedOutput.bind(e),e.decodeEditorContent=e.decodeEditorContent.bind(e),e.getTextFromEditor=e.getTextFromEditor.bind(e),e.getLocks=e.getLocks.bind(e),e.addLock=e.addLock.bind(e),e.removeLock=e.removeLock.bind(e),e.renderableBlocks=e.renderableBlocks.bind(e),e.defaultWrappers=e.defaultWrappers.bind(e),e.blockRenderer=e.blockRenderer.bind(e),e.handleBlockRenderer=e.handleBlockRenderer.bind(e),e.blockStyleFn=e.blockStyleFn.bind(e),e.getDataBlock=e.getDataBlock.bind(e),e.styleForBlock=e.styleForBlock.bind(e),e.handlePasteText=e.handlePasteText.bind(e),e.handleTXTPaste=e.handleTXTPaste.bind(e),e.handleHTMLPaste=e.handleHTMLPaste.bind(e),e.handlePasteImage=e.handlePasteImage.bind(e),e.handleDroppedFiles=e.handleDroppedFiles.bind(e),e.handleUpArrow=e.handleUpArrow.bind(e),e.handleDownArrow=e.handleDownArrow.bind(e),e.handleReturn=e.handleReturn.bind(e),e.handleBeforeInput=e.handleBeforeInput.bind(e),e.handleKeyCommand=e.handleKeyCommand.bind(e),e.findCommandKey=e.findCommandKey.bind(e),e.KeyBindingFn=e.KeyBindingFn.bind(e),e.updateBlockData=e.updateBlockData.bind(e),e.setDirection=e.setDirection.bind(e),e.toggleEditable=e.toggleEditable.bind(e),e.closePopOvers=e.closePopOvers.bind(e),e.relocateTooltips=e.relocateTooltips.bind(e),e.tooltipsWithProp=e.tooltipsWithProp.bind(e),e.tooltipHasSelectionElement=e.tooltipHasSelectionElement.bind(e),e.handleShowPopLinkOver=e.handleShowPopLinkOver.bind(e),e.handleHidePopLinkOver=e.handleHidePopLinkOver.bind(e),e.showPopLinkOver=e.showPopLinkOver.bind(e),e.hidePopLinkOver=e.hidePopLinkOver.bind(e),e.render=e.render.bind(e),e.decorator=new _draftJs.CompositeDecorator([{strategy:_find_entities2.default.bind(null,"LINK",e),component:_link2.default}]),e.blockRenderMap=(0,_immutable.Map)({image:{element:"figure"},video:{element:"figure"},embed:{element:"div"},unstyled:{wrapper:null,element:"div"},paragraph:{wrapper:null,element:"div"},placeholder:{wrapper:null,element:"div"}}),e.extendedBlockRenderMap=_draftJs.DefaultDraftBlockRenderMap.merge(e.blockRenderMap),e.state={editorState:e.initializeState(),read_only:e.props.config.read_only,blockRenderMap:e.extendedBlockRenderMap,locks:0,debug:e.props.config.debug},e.widgets=e.props.config.widgets,e.tooltips=e.props.config.tooltips,e.key_commands=e.props.config.key_commands,e.continuousBlocks=e.props.config.continuousBlocks,e.block_types=e.props.config.block_types,e.default_wrappers=e.props.config.default_wrappers,e.character_convert_mapping=e.props.config.character_convert_mapping,e.save=new _save_content2.default({getLocks:e.getLocks,config:{xhr:e.props.config.xhr,data_storage:e.props.config.data_storage},editorState:e.state.editorState,editorContent:e.emitSerializedOutput()}),e}return(0,_inherits3.default)(DanteEditor,_React$Component),(0,_createClass3.default)(DanteEditor,[{key:"initializeState",value:function(){return this.props.content?this.decodeEditorContent(this.props.content):_draftJs.EditorState.createEmpty(this.decorator)}},{key:"refreshSelection",value:function(t){var e=this.state.editorState,n=this.state.editorState.getSelection(),r=(e.getCurrentContent(),n.getFocusOffset()),o=n.getAnchorKey(),i=_draftJs.SelectionState.createEmpty(n.getAnchorKey());i=i.merge({anchorOffset:r,focusKey:o,focusOffset:r});var a=_draftJs.EditorState.forceSelection(t,i);return this.onChange(a)}},{key:"forceRender",value:function(t){var e=(this.state.editorState.getSelection(),t.getCurrentContent()),n=_draftJs.EditorState.createWithContent(e,this.decorator);return this.refreshSelection(n)}},{key:"onChange",value:function(t){var e=this;this.setPreContent(),this.setState({editorState:t});var n=(0,_index.getCurrentBlock)(this.state.editorState),r=n.getType();if(t.getSelection().isCollapsed())this.handleTooltipDisplayOn("displayOnSelection",!1);else{var o=this.tooltipsWithProp("displayOnSelection")[0];if(!this.tooltipHasSelectionElement(o,r))return;this.handleTooltipDisplayOn("displayOnSelection")}return setTimeout(function(){return e.relocateTooltips()},0),this.dispatchChangesToSave()}},{key:"dispatchChangesToSave",value:function(){var t=this;return clearTimeout(this.saveTimeout),this.saveTimeout=setTimeout(function(){return t.save.store(t.emitSerializedOutput())},100)}},{key:"setPreContent",value:function(){var t=this.emitSerializedOutput();return this.save.editorContent=t}},{key:"focus",value:function(){}},{key:"getEditorState",value:function(){return this.state.editorState}},{key:"emitSerializedOutput",value:function(){return(0,_draftJs.convertToRaw)(this.state.editorState.getCurrentContent())}},{key:"decodeEditorContent",value:function(t){var e=(0,_draftJs.convertFromRaw)(t);return _draftJs.EditorState.createWithContent(e,this.decorator)}},{key:"getTextFromEditor",value:function(){return this.state.editorState.getCurrentContent().getBlocksAsArray().map(function(t){return t.getText()}).join("\n")}},{key:"emitHTML2",value:function(){return(0,_draftConvert.convertToHTML)({entityToHTML:function(t,e){return"LINK"===t.type?'<a href="'+t.data.url+'">'+e+"</a>":e}})(this.state.editorState.getCurrentContent())}},{key:"getLocks",value:function(){return this.state.locks}},{key:"addLock",value:function(){return this.setState({locks:this.state.locks+=1})}},{key:"removeLock",value:function(){return this.setState({locks:this.state.locks-=1})}},{key:"renderableBlocks",value:function(){return this.widgets.filter(function(t){return t.renderable}).map(function(t){return t.type})}},{key:"defaultWrappers",value:function(t){return this.default_wrappers.filter(function(e){return e.block===t}).map(function(t){return t.className})}},{key:"blockRenderer",value:function(t){switch(t.getType()){case"atomic":var e=t.getEntityAt(0);_draftJs.Entity.get(e).getType()}return this.renderableBlocks().includes(t.getType())?this.handleBlockRenderer(t):null}},{key:"handleBlockRenderer",value:function handleBlockRenderer(block){var dataBlock=this.getDataBlock(block);if(!dataBlock)return null;var read_only=!this.state.read_only&&null,editable=null!==read_only?read_only:dataBlock.editable;return{component:eval(dataBlock.block),editable:editable,props:{data:block.getData(),getEditorState:this.getEditorState,setEditorState:this.onChange,addLock:this.addLock,removeLock:this.removeLock,getLocks:this.getLocks,config:dataBlock.options}}}},{key:"blockStyleFn",value:function(t){var e=(0,_index.getCurrentBlock)(this.state.editorState),n=e.getKey()===t.getKey()?"is-selected":"";if(this.renderableBlocks().includes(t.getType()))return this.styleForBlock(t,e,n);var r=this.defaultWrappers(t.getType());return r.length>0?"graf "+r[0]+" "+n:"graf nana "+n}},{key:"getDataBlock",value:function(t){return this.widgets.find(function(e){return e.type===t.getType()})}},{key:"styleForBlock",value:function(t,e,n){var r=this.getDataBlock(t);if(!r)return null;var o=r.selectedFn?r.selectedFn(t):null,i=n?r.selected_class:"";return r.wrapper_class+" "+i+" "+o}},{key:"handleTooltipDisplayOn",value:function(t,e){var n=this;return null==e&&(e=!0),setTimeout(function(){return n.tooltipsWithProp(t).map(function(t){return n.refs[t.ref].display(e),n.refs[t.ref].relocate()})},20)}},{key:"handlePasteText",value:function(t,e){return e?e?this.handleHTMLPaste(t,e):void 0:this.handleTXTPaste(t,e)}},{key:"handleTXTPaste",value:function(t,e){var n=(0,_index.getCurrentBlock)(this.state.editorState),r=this.state.editorState;switch(n.getType()){case"image":case"video":case"placeholder":var o=_draftJs.Modifier.replaceText(r.getCurrentContent(),new _draftJs.SelectionState({anchorKey:n.getKey(),anchorOffset:0,focusKey:n.getKey(),focusOffset:2}),t);return r=_draftJs.EditorState.push(r,o,"replace-text"),this.onChange(r),!0;default:return!1}}},{key:"handleHTMLPaste",value:function(t,e){switch((0,_index.getCurrentBlock)(this.state.editorState).getType()){case"image":case"video":case"placeholder":return this.handleTXTPaste(t,e)}var n=(0,_html2content2.default)(e,this.extendedBlockRenderMap),r=this.state.editorState.getSelection(),o=r.getEndKey(),i=this.state.editorState.getCurrentContent(),a=i.blockMap.toSeq().takeUntil(function(t){return t.key===o}),s=i.blockMap.toSeq().skipUntil(function(t){return t.key===o}).rest(),u=n.blockMap.first().getKey(),c=a.concat(n.blockMap,s).toOrderedMap(),l=i.merge({blockMap:c,selectionBefore:r,selectionAfter:r.merge({anchorKey:u,anchorOffset:0,focusKey:u,focusOffset:0,isBackward:!1})}),p=_draftJs.EditorState.push(this.state.editorState,l,"insert-fragment");return this.onChange(p),!0}},{key:"handlePasteImage",value:function(t){var e=this;return t.map(function(t){var n={url:URL.createObjectURL(t),file:t};return e.onChange((0,_index.addNewBlock)(e.state.editorState,"image",n))})}},{key:"handleDroppedFiles",value:function(t,e){var n=this;return e.map(function(t){var e={url:URL.createObjectURL(t),file:t};return n.onChange((0,_index.addNewBlock)(n.state.editorState,"image",e))})}},{key:"handleUpArrow",value:function(t){var e=this;return setTimeout(function(){return e.forceRender(e.state.editorState)},10)}},{key:"handleDownArrow",value:function(t){var e=this;return setTimeout(function(){return e.forceRender(e.state.editorState)},10)}},{key:"handleReturn",value:function(t){if(this.props.handleReturn&&this.props.handleReturn())return!0;var e=this.state.editorState;if(!t.altKey&&!t.metaKey&&!t.ctrlKey){var n=(0,_index.getCurrentBlock)(e),r=n.getType(),o=e.getSelection(),i=this.getDataBlock(n);if(0===n.getText().length){if(i&&i.handleEnterWithoutText)return i.handleEnterWithText(this,n),this.closePopOvers(),!0;switch(r){case"header-one":return this.onChange((0,_index.resetBlockWithType)(e,"unstyled")),!0;default:return!1}}if(n.getText().length>0){if("unstyled"===r){var a=_draftJs.Modifier.splitBlock(this.state.editorState.getCurrentContent(),this.state.editorState.getSelection()),s=_draftJs.EditorState.push(this.state.editorState,a,"insert-characters");return this.onChange(s),setTimeout(function(){var t=document.getElementsByClassName("is-selected"),e=t[0].getBoundingClientRect();return window.scrollTo(0,e.top+window.scrollY-100)},0),!0}return i&&i.handleEnterWithText?(i.handleEnterWithText(this,n),this.closePopOvers(),!0):n.getLength()===o.getStartOffset()&&this.continuousBlocks.indexOf(r)<0&&(this.onChange((0,_index.addNewBlockAt)(e,n.getKey())),!0)}return n.getLength()===o.getStartOffset()&&(this.continuousBlocks.indexOf(r)<0&&(this.onChange((0,_index.addNewBlockAt)(e,n.getKey())),!0))}}},{key:"handleBeforeInput",value:function(t){var e=(0,_index.getCurrentBlock)(this.state.editorState),n=e.getType(),r=this.state.editorState.getSelection(),o=this.state.editorState;0!==e.getText().length&&this.closePopOvers();var i=r.getEndOffset(),a=e.getEntityAt(i-1),s=a&&_draftJs.Entity.get(a).getType(),u=e.getEntityAt(i),c=u&&_draftJs.Entity.get(u).getType();if(" "===t&&"LINK"===s&&"LINK"!==c){var l=_draftJs.Modifier.insertText(o.getCurrentContent(),r," "),p=_draftJs.EditorState.push(o,l,"insert-characters");return this.onChange(p),!0}if(0===n.indexOf("atomic"))return!1;var f=e.getLength();if(r.getAnchorOffset()>1||f>1)return!1;var d=this.character_convert_mapping[e.getText()+t];return console.log("BLOCK TO SHOW: "+d),!!d&&(this.onChange((0,_index.resetBlockWithType)(o,d)),!0)}},{key:"handleKeyCommand",value:function(t){var e=this.state.editorState,n=void 0;if(this.props.handleKeyCommand&&this.props.handleKeyCommand(t))return!0;if("add-new-block"===t)return this.onChange((0,_index.addNewBlock)(e,"blockquote")),!0;var r=(0,_index.getCurrentBlock)(e);if(0===t.indexOf("toggle_inline:"))return n=t.split(":")[1],r.getType(),this.onChange(_draftJs.RichUtils.toggleInlineStyle(e,n)),!0;if(0===t.indexOf("toggle_block:"))return n=t.split(":")[1],r.getType(),this.onChange(_draftJs.RichUtils.toggleBlockType(e,n)),!0;var o=_draftJs.RichUtils.handleKeyCommand(this.state.editorState,t);return!!o&&(this.onChange(o),!0)}},{key:"findCommandKey",value:function(t,e){return this.key_commands[t].find(function(t){return t.key===e})}},{key:"KeyBindingFn",value:function(t){var e=void 0;if(t.altKey){if(t.shiftKey)return e=this.findCommandKey("alt-shift",t.which),e?e.cmd:(0,_draftJs.getDefaultKeyBinding)(t);if(t.ctrlKey||t.metaKey)return e=this.findCommandKey("alt-cmd",t.which),e?e.cmd:(0,_draftJs.getDefaultKeyBinding)(t)}else if(t.ctrlKey||t.metaKey)return e=this.findCommandKey("cmd",t.which),e?e.cmd:(0,_draftJs.getDefaultKeyBinding)(t);return(0,_draftJs.getDefaultKeyBinding)(t)}},{key:"updateBlockData",value:function(t,e){var n=t.getData(),r=n.merge(e),o=(0,_index.updateDataOfBlock)(this.state.editorState,t,r);return this.forceRender(o)}},{key:"setDirection",value:function(t){var e=this.state.editorState.getCurrentContent(),n=this.state.editorState.getSelection(),r=e.getBlockForKey(n.anchorKey);return this.updateBlockData(r,{direction:t})}},{key:"toggleEditable",value:function(){return this.closePopOvers(),this.setState({read_only:!this.state.read_only},this.testEmitAndDecode)}},{key:"closePopOvers",value:function(){var t=this;return this.tooltips.map(function(e){return t.refs[e.ref].hide()})}},{key:"relocateTooltips",value:function(){var t=this;if(!this.state.read_only)return this.tooltips.map(function(e){return t.refs[e.ref].relocate()})}},{key:"tooltipsWithProp",value:function(t){return this.tooltips.filter(function(e){return e[t]})}},{key:"tooltipHasSelectionElement",value:function(t,e){return t.selectionElements.includes(e)}},{key:"handleShowPopLinkOver",value:function(t){return this.showPopLinkOver()}},{key:"handleHidePopLinkOver",value:function(t){return this.hidePopLinkOver()}},{key:"showPopLinkOver",value:function(t){var e=(_reactDom2.default.findDOMNode(this),void 0);return this.refs.anchor_popover.setState({url:t?t.href:this.refs.anchor_popover.state.url}),t&&(e=this.refs.anchor_popover.relocate(t)),e&&this.refs.anchor_popover.setPosition(e),this.refs.anchor_popover.setState({show:!0}),this.isHover=!0,this.cancelHide()}},{key:"hidePopLinkOver",value:function(){var t=this;return this.hideTimeout=setTimeout(function(){return t.refs.anchor_popover.hide()},300)}},{key:"cancelHide",value:function(){return clearTimeout(this.hideTimeout)}},{key:"render",value:function(){var t=this;return _react2.default.createElement("div",{id:"content",suppressContentEditableWarning:!0},_react2.default.createElement("article",{className:"postArticle"},_react2.default.createElement("div",{className:"postContent"},_react2.default.createElement("div",{className:"notesSource"},_react2.default.createElement("div",{id:"editor",className:"postField postField--body"},_react2.default.createElement("section",{className:"section--first section--last"},_react2.default.createElement("div",{className:"section-divider layoutSingleColumn"},_react2.default.createElement("hr",{className:"section-divider"})),_react2.default.createElement("div",{className:"section-content"},_react2.default.createElement("div",{ref:"richEditor",className:"section-inner layoutSingleColumn",onClick:this.focus},_react2.default.createElement(_draftJs.Editor,{blockRendererFn:this.blockRenderer,editorState:this.state.editorState,onChange:this.onChange,onUpArrow:this.handleUpArrow,onDownArrow:this.handleDownArrow,handleReturn:this.handleReturn,blockRenderMap:this.state.blockRenderMap,blockStyleFn:this.blockStyleFn,handlePastedText:this.handlePasteText,handlePastedFiles:this.handlePasteImage,handleDroppedFiles:this.handleDroppedFiles,handleKeyCommand:this.handleKeyCommand,keyBindingFn:this.KeyBindingFn,handleBeforeInput:this.handleBeforeInput,readOnly:this.state.read_only,placeholder:this.props.config.body_placeholder,ref:"editor"})))))))),this.tooltips.map(function(e,n){return _react2.default.createElement(e.component,{ref:e.ref,key:n,editor:t,editorState:t.state.editorState,onChange:t.onChange,configTooltip:e,widget_options:e.widget_options,showPopLinkOver:t.showPopLinkOver,hidePopLinkOver:t.hidePopLinkOver,handleOnMouseOver:t.handleShowPopLinkOver,handleOnMouseOut:t.handleHidePopLinkOver})}),this.state.debug?_react2.default.createElement(_debug2.default,{locks:this.state.locks,editor:this}):void 0)}}]),DanteEditor}(_react2.default.Component);module.exports=DanteEditor},function(t,e,n){t.exports={default:n(405),__esModule:!0}},function(t,e,n){t.exports={default:n(406),__esModule:!0}},function(t,e,n){t.exports={default:n(407),__esModule:!0}},function(t,e,n){t.exports={default:n(408),__esModule:!0}},function(t,e,n){t.exports={default:n(409),__esModule:!0}},function(t,e,n){t.exports={default:n(410),__esModule:!0}},function(t,e,n){var r=n(47),o=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},function(t,e,n){n(430),t.exports=n(47).Object.assign},function(t,e,n){n(431);var r=n(47).Object;t.exports=function(t,e){return r.create(t,e)}},function(t,e,n){n(432);var r=n(47).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){n(433),t.exports=n(47).Object.getPrototypeOf},function(t,e,n){n(434),t.exports=n(47).Object.setPrototypeOf},function(t,e,n){n(437),n(435),n(438),n(439),t.exports=n(47).Symbol},function(t,e,n){n(436),n(440),t.exports=n(215).f("iterator")},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(){}},function(t,e,n){var r=n(67),o=n(428),i=n(427);t.exports=function(t){return function(e,n,a){var s,u=r(e),c=o(u.length),l=i(a,c);if(t&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var r=n(119),o=n(207),i=n(173);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var a,s=n(t),u=i.f,c=0;s.length>c;)u.call(t,a=s[c++])&&e.push(a);return e}},function(t,e,n){t.exports=n(61).document&&document.documentElement},function(t,e,n){var r=n(362);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){"use strict";var r=n(206),o=n(174),i=n(208),a={};n(107)(a,n(108)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(119),o=n(67);t.exports=function(t,e){for(var n,i=o(t),a=r(i),s=a.length,u=0;s>u;)if(i[n=a[u++]]===e)return n}},function(t,e,n){var r=n(175)("meta"),o=n(118),i=n(65),a=n(66).f,s=0,u=Object.isExtensible||function(){return!0},c=!n(106)(function(){return u(Object.preventExtensions({}))}),l=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},p=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!u(t))return"F";if(!e)return"E";l(t)}return t[r].i},f=function(t,e){if(!i(t,r)){if(!u(t))return!0;if(!e)return!1;l(t)}return t[r].w},d=function(t){return c&&h.NEED&&u(t)&&!i(t,r)&&l(t),t},h=t.exports={KEY:r,NEED:!1,fastKey:p,getWeak:f,onFreeze:d}},function(t,e,n){"use strict";var r=n(119),o=n(207),i=n(173),a=n(212),s=n(366),u=Object.assign;t.exports=!u||n(106)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=a(t),u=arguments.length,c=1,l=o.f,p=i.f;u>c;)for(var f,d=s(arguments[c++]),h=l?r(d).concat(l(d)):r(d),g=h.length,v=0;g>v;)p.call(d,f=h[v++])&&(n[f]=d[f]);return n}:u},function(t,e,n){var r=n(66),o=n(117),i=n(119);t.exports=n(63)?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),s=a.length,u=0;s>u;)r.f(t,n=a[u++],e[n]);return t}},function(t,e,n){var r=n(67),o=n(369).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return o(t)}catch(t){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?s(t):o(r(t))}},function(t,e,n){var r=n(64),o=n(47),i=n(106);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(t,e,n){var r=n(118),o=n(117),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n(363)(Function.call,n(368).f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},function(t,e,n){var r=n(211),o=n(202);t.exports=function(t){return function(e,n){var i,a,s=String(o(e)),u=r(n),c=s.length;return u<0||u>=c?t?"":void 0:(i=s.charCodeAt(u),i<55296||i>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):i:t?s.slice(u,u+2):a-56320+(i-55296<<10)+65536)}}},function(t,e,n){var r=n(211),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(211),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){"use strict";var r=n(412),o=n(418),i=n(204),a=n(67);t.exports=n(367)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e,n){var r=n(64);r(r.S+r.F,"Object",{assign:n(421)})},function(t,e,n){var r=n(64);r(r.S,"Object",{create:n(206)})},function(t,e,n){var r=n(64);r(r.S+r.F*!n(63),"Object",{defineProperty:n(66).f})},function(t,e,n){var r=n(212),o=n(370);n(424)("getPrototypeOf",function(){return function(t){return o(r(t))}})},function(t,e,n){var r=n(64);r(r.S,"Object",{setPrototypeOf:n(425).set})},function(t,e){},function(t,e,n){"use strict";var r=n(426)(!0);n(367)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var r=n(61),o=n(65),i=n(63),a=n(64),s=n(372),u=n(420).KEY,c=n(106),l=n(210),p=n(208),f=n(175),d=n(108),h=n(215),g=n(214),v=n(419),y=n(414),m=n(416),_=n(117),b=n(67),w=n(213),S=n(174),k=n(206),C=n(423),E=n(368),x=n(66),O=n(119),T=E.f,M=x.f,D=C.f,I=r.Symbol,R=r.JSON,A=R&&R.stringify,P=d("_hidden"),N=d("toPrimitive"),L={}.propertyIsEnumerable,B=l("symbol-registry"),U=l("symbols"),F=l("op-symbols"),K=Object.prototype,j="function"==typeof I,z=r.QObject,q=!z||!z.prototype||!z.prototype.findChild,H=i&&c(function(){return 7!=k(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=T(K,e);r&&delete K[e],M(t,e,n),r&&t!==K&&M(K,e,r)}:M,W=function(t){var e=U[t]=k(I.prototype);return e._k=t,e},V=j&&"symbol"==typeof I.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof I},J=function(t,e,n){return t===K&&J(F,e,n),_(t),e=w(e,!0),_(n),o(U,e)?(n.enumerable?(o(t,P)&&t[P][e]&&(t[P][e]=!1),n=k(n,{enumerable:S(0,!1)})):(o(t,P)||M(t,P,S(1,{})),t[P][e]=!0),H(t,e,n)):M(t,e,n)},G=function(t,e){_(t);for(var n,r=y(e=b(e)),o=0,i=r.length;i>o;)J(t,n=r[o++],e[n]);return t},Y=function(t,e){return void 0===e?k(t):G(k(t),e)},X=function(t){var e=L.call(this,t=w(t,!0));return!(this===K&&o(U,t)&&!o(F,t))&&(!(e||!o(this,t)||!o(U,t)||o(this,P)&&this[P][t])||e)},Q=function(t,e){if(t=b(t),e=w(e,!0),t!==K||!o(U,e)||o(F,e)){var n=T(t,e);return!n||!o(U,e)||o(t,P)&&t[P][e]||(n.enumerable=!0),n}},$=function(t){for(var e,n=D(b(t)),r=[],i=0;n.length>i;)o(U,e=n[i++])||e==P||e==u||r.push(e);return r},Z=function(t){for(var e,n=t===K,r=D(n?F:b(t)),i=[],a=0;r.length>a;)!o(U,e=r[a++])||n&&!o(K,e)||i.push(U[e]);return i};j||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var t=f(arguments.length>0?arguments[0]:void 0),e=function(n){this===K&&e.call(F,n),o(this,P)&&o(this[P],t)&&(this[P][t]=!1),H(this,t,S(1,n))};return i&&q&&H(K,t,{configurable:!0,set:e}),W(t)},s(I.prototype,"toString",function(){return this._k}),E.f=Q,x.f=J,n(369).f=C.f=$,n(173).f=X,n(207).f=Z,i&&!n(205)&&s(K,"propertyIsEnumerable",X,!0),h.f=function(t){return W(d(t))}),a(a.G+a.W+a.F*!j,{Symbol:I});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)d(tt[et++]);for(var tt=O(d.store),et=0;tt.length>et;)g(tt[et++]);a(a.S+a.F*!j,"Symbol",{for:function(t){return o(B,t+="")?B[t]:B[t]=I(t)},keyFor:function(t){if(V(t))return v(B,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){q=!0},useSimple:function(){q=!1}}),a(a.S+a.F*!j,"Object",{create:Y,defineProperty:J,defineProperties:G,getOwnPropertyDescriptor:Q,getOwnPropertyNames:$,getOwnPropertySymbols:Z}),R&&a(a.S+a.F*(!j||c(function(){var t=I();return"[null]"!=A([t])||"{}"!=A({a:t})||"{}"!=A(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!V(t)){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);return e=r[1],"function"==typeof e&&(n=e),!n&&m(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!V(e))return e}),r[1]=e,A.apply(R,r)}}}),I.prototype[N]||n(107)(I.prototype,N,I.prototype.valueOf),p(I,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},function(t,e,n){n(214)("asyncIterator")},function(t,e,n){n(214)("observable")},function(t,e,n){n(429);for(var r=n(61),o=n(107),i=n(204),a=n(108)("toStringTag"),s=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],u=0;u<5;u++){var c=s[u],l=r[c],p=l&&l.prototype;p&&!p[a]&&o(p,a,c),i[c]=i.Array}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(376),i=r(o),a=n(176),s=r(a),u=n(374),c=r(u),l=function(){arguments.length<=0||void 0===arguments[0]||arguments[0];return arguments[1]};e.default=function(t,e){var n=arguments.length<=2||void 0===arguments[2]?l:arguments[2],r=t.text,o=n;if(n.__isMiddleware&&(o=n(l)),t.hasOwnProperty("entityRanges")&&t.entityRanges.length>0){for(var a=t.entityRanges.sort(s.default),u=t.inlineStyleRanges,p=0;p<a.length;p++)!function(t){var n=a[t],s=e[n.key],l=r.substr(n.offset,n.length),p=(0,c.default)(o(s,l),l)||l,f=function(e,r){return r>=t||e.hasOwnProperty("style")?(0,i.default)(e,n.offset,n.length,p.length):e};a=a.map(f),u=u.map(f),r=r.substring(0,n.offset)+p+r.substring(n.offset+n.length)}(p);return Object.assign({},t,{text:r,inlineStyleRanges:u,entityRanges:a})}return t}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(81),i=r(o),a=n(452),s=r(a),u=n(373),c=r(u),l=n(374),p=r(l),f=n(176),d=r(f),h=n(446),g=r(h),v=function(t,e){return t.filter(function(t){return!e.some(function(e){return e.style===t.style})})},y=function(t,e){return e.reduceRight(function(t,e){var n=t[t.length-1];return(0,i.default)(n.style===e.style,"Style "+n.style+" to be removed doesn't match expected "+e.style),t.slice(0,-1)},t)},m=function(t,e){return e.filter(function(e){return t>=e.offset&&t<e.offset+e.length})},_=function(t,e){var n=t.offset<=e.offset,r=t.offset+t.length>=e.offset+e.length;return n&&r},b=function(t,e){return e.offset+e.length-(t.offset+t.length)},w=function(t,e){for(var n=0;n<t.length;){if(!e.every(_.bind(null,t[n])))return t.slice(n);n++}return[]},S=function(t,e,n){return e+(0,p.default)(t(n.style)).start},k=function(t,e,n){return(0,p.default)(t(n.style)).end+e},C=function(t){return function(e){return t(e)}};C.__isMiddleware=!0,e.default=function(t){var e=arguments.length<=1||void 0===arguments[1]?C:arguments[1];(0,i.default)(null!==t&&void 0!==t,"Expected raw block to be non-null");var n=void 0;n=!0===e.__isMiddleware?e(g.default):(0,c.default)((0,s.default)(e),(0,s.default)(g.default));for(var r="",o=[],a=t.inlineStyleRanges.sort(d.default),u=0;u<t.text.length;u++){var l=m(u,a),f=v(o,l),h=v(l,o),_=v(o,f),E=w(_,h),x=E.concat(h).sort(b),O=x.reduce(S.bind(null,n),"");r+=f.concat(E).reduce(k.bind(null,n),"")+O+t.text[u],o=y(o,E.concat(f)),o=o.concat(x),(0,i.default)(o.length===l.length,"Character "+u+": "+(o.length-l.length)+" styles left on stack that should no longer be there")}return r=o.reduceRight(function(t,e){return t+(0,p.default)(n(e.style)).end},r)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(){return{text:"",inlines:[],entities:[],blocks:[]}}function i(t){var e=new Array(1);return t&&(e[0]=t),{text:E,inlines:[(0,m.OrderedSet)()],entities:e,blocks:[]}}function a(t,e){var n=arguments.length<=2||void 0===arguments[2]?(0,m.Map)():arguments[2];return{text:"\r",inlines:[(0,m.OrderedSet)()],entities:new Array(1),blocks:[{type:t,data:n,depth:Math.max(0,Math.min(x,e))}],isNewline:!0}}function s(t,e){var n=arguments.length<=2||void 0===arguments[2]?(0,m.Map)():arguments[2];return{text:"\r",inlines:[(0,m.OrderedSet)()],entities:new Array(1),blocks:[{type:t,data:n,depth:Math.max(0,Math.min(x,e))}]}}function u(t,e){switch(t){case"h1":return"header-one";case"h2":return"header-two";case"h3":return"header-three";case"h4":return"header-four";case"h5":return"header-five";case"h6":return"header-six";case"li":return"ol"===e?"ordered-list-item":"unordered-list-item";case"blockquote":return"blockquote";case"pre":return"code-block";case"div":case"p":return"unstyled";default:return null}}function c(t,e,n){return u(t,n)}function l(t,e,n){var r=R[t];return r?n=n.add(r).toOrderedSet():e instanceof HTMLElement&&function(){var t=e;n=n.withMutations(function(e){"bold"===t.style.fontWeight&&e.add("BOLD"),"italic"===t.style.fontStyle&&e.add("ITALIC"),"underline"===t.style.textDecoration&&e.add("UNDERLINE"),"line-through"===t.style.textDecoration&&e.add("STRIKETHROUGH")}).toOrderedSet()}(),n}function p(t,e){return l(t,e,(0,m.OrderedSet)())}function f(t,e){var n=e.text.slice(0,1),r=t.text.slice(-1),o="\r"===r&&"\r"===n,i="\r"!==t.text&&"\r"!==e.text,a="\r"===t.text&&!t.isNewline&&e.isNewline;if(o&&(i||a)&&(t.text=t.text.slice(0,-1),t.inlines.pop(),t.entities.pop(),t.blocks.pop()),"\r"===t.text.slice(-1)){if(e.text===E||"\n"===e.text)return t;n!==E&&"\n"!==n||(e.text=e.text.slice(1),e.inlines.shift(),e.entities.shift())}var s=0===t.text.length&&e.isNewline;return{text:t.text+e.text,inlines:t.inlines.concat(e.inlines),entities:t.entities.concat(e.entities),blocks:t.blocks.concat(e.blocks),isNewline:s}}function d(t){return I.some(function(e){return-1!==t.indexOf("<"+e)})}function h(t,e,n,r,c,p,d,g,v,_,b){var w=t.nodeName.toLowerCase(),S=!1,k="unstyled";if("#text"===w){var x=function(){var n=t.textContent;if(""===n.trim()&&"code-block"!==r)return{v:i(b)};"code-block"!==r&&(n=n.replace(T,E)),A=w;var o=Array(n.length).fill(b),a=0;return v(n).sort(C.default).forEach(function(t){var e=t.entity,r=t.offset,i=t.length,s=t.result,u=r+a;null!==s&&void 0!==s||(s=n.substr(u,i));var c=n.split("");c.splice.bind(c,u,i).apply(c,s.split("")),n=c.join(""),o.splice.bind(o,u,i).apply(o,Array(s.length).fill(e)),a+=s.length-i}),{v:{text:n,inlines:Array(n.length).fill(e),entities:o,blocks:[]}}}();if("object"===(void 0===x?"undefined":y(x)))return x.v}if(A=w,"br"===w){return a(r||"unstyled",p)}var O=o(),M=null;e=l(w,t,e),e=d(w,t,e),"ul"!==w&&"ol"!==w||(n&&(p+=1),n=w,r=null);var D=_(w,t,n,r)||{},I=void 0,R=void 0;if("string"==typeof D?(I=D,R=(0,m.Map)()):(I="string"==typeof D?D:D.type,R=D.data?(0,m.Map)(D.data):(0,m.Map)()),r||-1===c.indexOf(w)&&!I)if(!n||"ordered-list-item"!==r&&"unordered-list-item"!==r||"li"!==w)r&&"atomic"!==r&&"atomic"===I&&(r=I,S=!0,O=a(I,p,R));else{var P=u(w,n);O=s(P,p),r=P,S=!0,k="ul"===n?"unordered-list-item":"ordered-list-item"}else O=s(I||u(w,n),p,R),r=I||u(w,n),S=!0;var N=t.firstChild;null!=N||!b||"atomic"!==I&&"atomic"!==r||(N=document.createTextNode("a")),null!=N&&(w=N.nodeName.toLowerCase());for(var L=null;N;){L=g(w,N),M=h(N,e,n,r,c,p,d,g,v,_,L||b),O=f(O,M);var B=N.nextSibling;if(B&&c.indexOf(w)>=0&&r){var U=_(w,t,n,r)||{},F=void 0,K=void 0;"string"==typeof U?(F=U,K=(0,m.Map)()):(F=U.type||u(w,n),K=U.data?(0,m.Map)(U.data):(0,m.Map)()),O=f(O,a(F,p,K))}B&&(w=B.nodeName.toLowerCase()),N=B}return S&&(O=f(O,s(k,p,(0,m.Map)()))),O}function g(t,e,n,r,o,i){t=t.trim().replace(O,"").replace(M,E);var a=i(t);if(!a)return null;A=null;var s=d(t)?I.concat(["div"]):["div"],u=h(a,(0,m.OrderedSet)(),"ul",null,s,-1,e,n,r,o);return 0===u.text.indexOf("\r")&&(u={text:u.text.slice(1),inlines:u.inlines.slice(1),entities:u.entities.slice(1),blocks:u.blocks}),"\r"===u.text.slice(-1)&&(u.text=u.text.slice(0,-1),u.inlines=u.inlines.slice(0,-1),u.entities=u.entities.slice(0,-1),u.blocks.pop()),0===u.blocks.length&&u.blocks.push({type:"unstyled",data:(0,m.Map)(),depth:0}),u.text.split("\r").length===u.blocks.length+1&&u.blocks.unshift({type:"unstyled",data:(0,m.Map)(),depth:0}),u}function v(t,e,n,r,o,i){var a=g(t,e,n,r,o,i);if(null==a)return[];var s=0;return a.text.split("\r").map(function(t,e){t=K(t);var n=s+t.length,r=F(a).inlines.slice(s,n),o=F(a).entities.slice(s,n),i=(0,m.List)(r.map(function(t,e){var n={style:t,entity:null};return o[e]&&(n.entity=o[e]),b.CharacterMetadata.create(n)}));return s=n+1,new b.ContentBlock({key:(0,b.genKey)(),type:F(a).blocks[e].type,data:F(a).blocks[e].data,depth:F(a).blocks[e].depth,text:t,characterList:i})})}Object.defineProperty(e,"__esModule",{value:!0});var y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},m=n(109),_=n(81),b=(r(_),n(26)),w=n(375),S=r(w),k=n(176),C=r(k),E=" ",x=4,O=new RegExp("\r","g"),T=new RegExp("\n","g"),M=new RegExp("&nbsp;","g"),D=new RegExp("\r","g"),I=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],R={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},A=void 0,P=function(t,e){return t&&!0===t.__isMiddleware?t(e):t},N=function(t,e,n){},L=function(t,e,n){return n},B=function(t,e){},U=function(t){return[]},F=function(t){if(null!=t)return t;throw new Error("Got unexpected null or undefined")},K=function(t){return t.replace(D,"")},j=function(t){var e=t.htmlToStyle,n=void 0===e?L:e,r=t.htmlToEntity,o=void 0===r?B:r,i=t.textToEntity,a=void 0===i?U:i,s=t.htmlToBlock,u=void 0===s?N:s;return function(t){var e=arguments.length<=1||void 0===arguments[1]?S.default:arguments[1];return b.ContentState.createFromBlockArray(v(t,P(n,p),P(o,B),P(a,U),P(u,c),e))}};e.default=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?j({}).apply(void 0,arguments):j.apply(void 0,arguments)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(81),i=r(o),a=n(7),s=r(a),u=n(297),c=r(u),l=n(26),p=n(447),f=r(p),d=n(441),h=r(d),g=n(442),v=r(g),y=n(373),m=r(y),_=n(449),b=r(_),w=n(450),S=r(w),k=n(451),C=r(k),E=n(445),x=r(E),O=["ordered-list-item","unordered-list-item"],T=function(t,e){return e},M=function(t){var e=t.styleToHTML,n=void 0===e?{}:e,r=t.blockToHTML,o=void 0===r?{}:r,a=t.entityToHTML,u=void 0===a?T:a;return function(t){(0,i.default)(null!==t&&void 0!==t,"Expected contentState to be non-null");var e=void 0;e=!0===o.__isMiddleware?o((0,b.default)(x.default)):(0,m.default)((0,b.default)(o),(0,b.default)(x.default));var r=(0,l.convertToRaw)(t),a=[],p=r.blocks.map(function(t){var o=t.type,i=t.depth,l="",p="";if(-1===O.indexOf(o))l=a.reduceRight(function(t,n){return t+(0,C.default)(e(n)).nestEnd},""),a=[];else for(;i+1!==a.length||o!==a[i].type;)if(i+1===a.length){var d=a[i];l+=(0,C.default)(e(d)).nestEnd,p+=(0,C.default)(e(t)).nestStart,a[i]=t}else if(i+1<a.length){var g=a[a.length-1];l+=(0,C.default)(e(g)).nestEnd,a=a.slice(0,-1)}else p+=(0,C.default)(e(t)).nestStart,a.push(t);var y=(0,v.default)((0,h.default)((0,f.default)(t),r.entityMap,u),n),m=(0,S.default)(e(t)),_=m.start+y+m.end;return 0===y.length&&m.hasOwnProperty("empty")&&(_=s.default.isValidElement(m.empty)?c.default.renderToStaticMarkup(m.empty):m.empty),l+p+_}).join("");return p=a.reduce(function(t,n){return t+(0,C.default)(e(n)).nestEnd},p)}};e.default=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return 1===e.length&&e[0].hasOwnProperty("_map")&&null!=e[0].getBlockMap?M({}).apply(void 0,e):M.apply(void 0,e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(7),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default={unstyled:o.default.createElement("p",null),paragraph:o.default.createElement("p",null),"header-one":o.default.createElement("h1",null),"header-two":o.default.createElement("h2",null),"header-three":o.default.createElement("h3",null),"header-four":o.default.createElement("h4",null),"header-five":o.default.createElement("h5",null),"header-six":o.default.createElement("h6",null),"unordered-list-item":{element:o.default.createElement("li",null),nest:o.default.createElement("ul",null)},"ordered-list-item":{element:o.default.createElement("li",null),nest:o.default.createElement("ol",null)},media:o.default.createElement("figure",null)}},function(t,e,n){"use strict";function r(t){switch(t){case"BOLD":return i.default.createElement("strong",null);case"ITALIC":return i.default.createElement("em",null);case"UNDERLINE":return i.default.createElement("u",null);case"CODE":return i.default.createElement("code",null);default:return{start:"",end:""}}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var o=n(7),i=function(t){return t&&t.__esModule?t:{default:t}}(o)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(376),i=r(o),a=n(176),s=r(a),u={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"};e.default=function(t){for(var e=t.text,n=t.entityRanges.sort(s.default),r=t.inlineStyleRanges.sort(s.default),o="",a=0;a<e.length;a++)!function(t){var a=e[t];void 0!==u[a]?function(){var t=u[a],e=o.length;o+=t;var s=function(n){return(0,i.default)(n,e,a.length,t.length)};n=n.map(s),r=r.map(s)}():o+=a}(a);return Object.assign({},t,{text:o,inlineStyleRanges:r,entityRanges:n})}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.parseHTML=e.convertFromHTML=e.convertToHTML=void 0;var o=n(444),i=r(o),a=n(443),s=r(a),u=n(375),c=r(u);e.convertToHTML=i.default,e.convertFromHTML=s.default,e.parseHTML=c.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return function(e){return"function"==typeof t?t(e):t[e.type]}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return(0,a.default)(null!==t&&void 0!==t,"Expected block HTML value to be non-null"),u.default.isValidElement(t)?(0,l.default)(t):t.hasOwnProperty("element")&&u.default.isValidElement(t.element)?Object.assign({},t,(0,l.default)(t.element)):((0,a.default)(t.hasOwnProperty("start")&&t.hasOwnProperty("end"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var i=n(81),a=r(i),s=n(7),u=r(s),c=n(216),l=r(c)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){if((0,a.default)(null!==t&&void 0!==t,"Expected block HTML value to be non-null"),u.default.isValidElement(t.nest)){var e=(0,l.default)(t.nest),n=e.start,r=e.end;return Object.assign({},t,{nestStart:n,nestEnd:r})}return(0,a.default)(t.hasOwnProperty("nestStart")&&t.hasOwnProperty("nestEnd"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var i=n(81),a=r(i),s=n(7),u=r(s),c=n(216),l=r(c)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return function(e){return"function"==typeof t?t(e):t[e]}}},function(t,e,n){"use strict";var r=n(179),o=n(455),i=n(110);r.inject();var a={renderToString:o.renderToString,renderToStaticMarkup:o.renderToStaticMarkup,version:i};t.exports=a},function(t,e,n){"use strict";var r={isBatchingUpdates:!1,batchedUpdates:function(t){}};t.exports=r},function(t,e,n){"use strict";function r(t,e){var n;try{return h.injection.injectBatchingStrategy(f),n=d.getPooled(e),y++,n.perform(function(){var r=v(t,!0),o=p.mountComponent(r,n,null,s(),g,0);return e||(o=l.addChecksumToMarkup(o)),o},null)}finally{y--,d.release(n),y||h.injection.injectBatchingStrategy(u)}}function o(t){return c.isValidElement(t)||a("46"),r(t,!1)}function i(t){return c.isValidElement(t)||a("47"),r(t,!0)}var a=n(1),s=n(177),u=n(178),c=n(16),l=(n(13),n(180)),p=n(31),f=n(454),d=n(181),h=n(17),g=n(36),v=n(111),y=(n(0),0);t.exports={renderToString:o,renderToStaticMarkup:i}}])});
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Dante2=e():t.Dante2=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=254)}([function(t,e,n){"use strict";function r(t,e,n,r,i,a,u,s){if(o(e),!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,i,a,u,s],f=0;c=new Error(e.replace(/%s/g,function(){return l[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var o=function(t){};t.exports=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e,n){return E.set(t,{selection:e,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function i(t,e){return t.getBlockMap().map(function(n){return h.generate(t,n,e)}).toOrderedMap()}function a(t,e,n,r){var o=t.getCurrentContent().set("entityMap",n),i=o.getBlockMap();return t.getImmutable().get("treeMap").merge(e.toSeq().filter(function(t,e){return t!==i.get(e)}).map(function(t){return h.generate(o,t,r)}))}function u(t,e,n,r,o){return n.merge(e.toSeq().filter(function(e){return r.getDecorations(e,t)!==o.getDecorations(e,t)}).map(function(e){return h.generate(t,e,r)}))}function s(t,e){return e!==t.getLastChangeType()||"insert-characters"!==e&&"backspace-character"!==e&&"delete-character"!==e}function c(t,e){var n=e.getStartKey(),r=e.getStartOffset(),o=t.getBlockForKey(n);return r>0?o.getInlineStyleAt(r-1):o.getLength()?o.getInlineStyleAt(0):f(t,n)}function l(t,e){var n=e.getStartKey(),r=e.getStartOffset(),o=t.getBlockForKey(n);return r<o.getLength()?o.getInlineStyleAt(r):r>0?o.getInlineStyleAt(r-1):f(t,n)}function f(t,e){for(var n,r=t.getBlockBefore(e);r;){if(n=r.getLength())return r.getInlineStyleAt(n-1);r=t.getBlockBefore(r.getKey())}return m()}var p=n(11),d=p||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},h=n(64),y=n(37),g=n(147),v=n(2),_=n(21),m=v.OrderedSet,b=v.Record,w=v.Stack,S={allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:w(),selection:null,treeMap:null,undoStack:w()},k=b(S),E=function(){function t(e){r(this,t),this._immutable=e}return t.createEmpty=function(e){return t.createWithContent(y.createFromText(""),e)},t.createWithContent=function(e,n){var r=e.getBlockMap().first().getKey();return t.create({currentContent:e,undoStack:w(),redoStack:w(),decorator:n||null,selection:_.createEmpty(r)})},t.create=function(e){var n=e.currentContent,r=e.decorator,o=d({},e,{treeMap:i(n,r),directionMap:g.getDirectionMap(n)});return new t(new k(o))},t.set=function(e,n){return new t(e.getImmutable().withMutations(function(t){var r=t.get("decorator"),o=r;null===n.decorator?o=null:n.decorator&&(o=n.decorator);var s=n.currentContent||e.getCurrentContent();if(o!==r){var c,l=t.get("treeMap");return c=o&&r?u(s,s.getBlockMap(),l,o,r):i(s,o),void t.merge({decorator:o,treeMap:c,nativelyRenderedContent:null})}s!==e.getCurrentContent()&&t.set("treeMap",a(e,s.getBlockMap(),s.getEntityMap(),o)),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()?c(e,n):l(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(),e=t.getBlockMap(),n=e.last(),r=n.getLength();return this.getSelection().hasEdgeWithin(n.getKey(),r,r)},t.prototype.getDirectionMap=function(){return this.getImmutable().get("directionMap")},t.acceptSelection=function(t,e){return o(t,e,!1)},t.forceSelection=function(t,e){return e.getHasFocus()||(e=e.set("hasFocus",!0)),o(t,e,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent(),r=n.getLastBlock(),o=r.getKey(),i=r.getLength();return t.acceptSelection(e,new _({anchorKey:o,anchorOffset:i,focusKey:o,focusOffset:i,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=g.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 a=e.getSelection(),u=e.getCurrentContent(),c=e.getUndoStack(),l=n;a!==u.getSelectionAfter()||s(e,r)?(c=c.push(u),l=l.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(l=l.set("selectionBefore",u.getSelectionBefore()));var f=e.getInlineStyleOverride();-1===["adjust-depth","change-block-type","split-block"].indexOf(r)&&(f=null);var p={currentContent:l,directionMap:i,undoStack:c,redoStack:w(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:f};return t.set(e,p)},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=g.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=g.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}();t.exports=E},function(t,e,n){!function(e,n){t.exports=n()}(0,function(){"use strict";function t(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function e(t){return i(t)?t:D(t)}function n(t){return a(t)?t:M(t)}function r(t){return u(t)?t:I(t)}function o(t){return i(t)&&!s(t)?t:A(t)}function i(t){return!(!t||!t[cn])}function a(t){return!(!t||!t[ln])}function u(t){return!(!t||!t[fn])}function s(t){return a(t)||u(t)}function c(t){return!(!t||!t[pn])}function l(t){return t.value=!1,t}function f(t){t&&(t.value=!0)}function p(){}function d(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 h(t){return void 0===t.size&&(t.size=t.__iterate(g)),t.size}function y(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?h(t)+e:e}function g(){return!0}function v(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function _(t,e){return b(t,e,0)}function m(t,e){return b(t,e,e)}function b(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}function w(t){this.next=t}function S(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 k(){return{value:void 0,done:!0}}function E(t){return!!O(t)}function C(t){return t&&"function"==typeof t.next}function x(t){var e=O(t);return e&&e.call(t)}function O(t){var e=t&&(Sn&&t[Sn]||t[kn]);if("function"==typeof e)return e}function T(t){return t&&"number"==typeof t.length}function D(t){return null===t||void 0===t?B():i(t)?t.toSeq():K(t)}function M(t){return null===t||void 0===t?B().toKeyedSeq():i(t)?a(t)?t.toSeq():t.fromEntrySeq():z(t)}function I(t){return null===t||void 0===t?B():i(t)?a(t)?t.entrySeq():t.toIndexedSeq():U(t)}function A(t){return(null===t||void 0===t?B():i(t)?a(t)?t.entrySeq():t:U(t)).toSetSeq()}function P(t){this._array=t,this.size=t.length}function N(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function R(t){this._iterable=t,this.size=t.length||t.size}function L(t){this._iterator=t,this._iteratorCache=[]}function F(t){return!(!t||!t[Cn])}function B(){return xn||(xn=new P([]))}function z(t){var e=Array.isArray(t)?new P(t).fromEntrySeq():C(t)?new L(t).fromEntrySeq():E(t)?new R(t).fromEntrySeq():"object"==typeof t?new N(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function U(t){var e=j(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function K(t){var e=j(t)||"object"==typeof t&&new N(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}function j(t){return T(t)?new P(t):C(t)?new L(t):E(t)?new R(t):void 0}function H(t,e,n,r){var o=t._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var u=o[n?i-a:a];if(!1===e(u[1],r?u[0]:a,t))return a+1}return a}return t.__iterateUncached(e,n)}function q(t,e,n,r){var o=t._cache;if(o){var i=o.length-1,a=0;return new w(function(){var t=o[n?i-a:a];return a++>i?k():S(e,r?t[0]:a-1,t[1])})}return t.__iteratorUncached(e,n)}function W(t,e){return e?V(e,t,"",{"":t}):J(t)}function V(t,e,n,r){return Array.isArray(e)?t.call(r,n,I(e).map(function(n,r){return V(t,n,r,e)})):G(e)?t.call(r,n,M(e).map(function(n,r){return V(t,n,r,e)})):e}function J(t){return Array.isArray(t)?I(t).map(J).toList():G(t)?M(t).map(J).toMap():t}function G(t){return t&&(t.constructor===Object||void 0===t.constructor)}function X(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 Y(t,e){if(t===e)return!0;if(!i(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||a(t)!==a(e)||u(t)!==u(e)||c(t)!==c(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!s(t);if(c(t)){var r=t.entries();return e.every(function(t,e){var o=r.next().value;return o&&X(o[1],t)&&(n||X(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 l=t;t=e,e=l}var f=!0,p=e.__iterate(function(e,r){if(n?!t.has(e):o?!X(e,t.get(r,gn)):!X(t.get(r,gn),e))return f=!1,!1});return f&&t.size===p}function $(t,e){if(!(this instanceof $))return new $(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(On)return On;On=this}}function Q(t,e){if(!t)throw new Error(e)}function Z(t,e,n){if(!(this instanceof Z))return new Z(t,e,n);if(Q(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(Tn)return Tn;Tn=this}}function tt(){throw TypeError("Abstract")}function et(){}function nt(){}function rt(){}function ot(t){return t>>>1&1073741824|3221225471&t}function it(t){if(!1===t||null===t||void 0===t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null===t||void 0===t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)t/=4294967295,n^=t;return ot(n)}if("string"===e)return t.length>Ln?at(t):ut(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return st(t);if("function"==typeof t.toString)return ut(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function at(t){var e=zn[t];return void 0===e&&(e=ut(t),Bn===Fn&&(Bn=0,zn={}),Bn++,zn[t]=e),e}function ut(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return ot(e)}function st(t){var e;if(Pn&&void 0!==(e=Dn.get(t)))return e;if(void 0!==(e=t[Rn]))return e;if(!An){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Rn]))return e;if(void 0!==(e=ct(t)))return e}if(e=++Nn,1073741824&Nn&&(Nn=0),Pn)Dn.set(t,e);else{if(void 0!==In&&!1===In(t))throw new Error("Non-extensible objects are not allowed as keys.");if(An)Object.defineProperty(t,Rn,{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[Rn]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Rn]=e}}return e}function ct(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}function lt(t){Q(t!==1/0,"Cannot perform this action with an infinite size.")}function ft(t){return null===t||void 0===t?St():pt(t)&&!c(t)?t:St().withMutations(function(e){var r=n(t);lt(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function pt(t){return!(!t||!t[Un])}function dt(t,e){this.ownerID=t,this.entries=e}function ht(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function yt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function gt(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function vt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function _t(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&bt(t._root)}function mt(t,e){return S(t,e[0],e[1])}function bt(t,e){return{node:t,index:0,__prev:e}}function wt(t,e,n,r){var o=Object.create(Kn);return o.size=t,o._root=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function St(){return jn||(jn=wt(0))}function kt(t,e,n){var r,o;if(t._root){var i=l(vn),a=l(_n);if(r=Et(t._root,t.__ownerID,0,void 0,e,n,i,a),!a.value)return t;o=t.size+(i.value?n===gn?-1:1:0)}else{if(n===gn)return t;o=1,r=new dt(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=o,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?wt(o,r):St()}function Et(t,e,n,r,o,i,a,u){return t?t.update(e,n,r,o,i,a,u):i===gn?t:(f(u),f(a),new vt(e,r,[o,i]))}function Ct(t){return t.constructor===vt||t.constructor===gt}function xt(t,e,n,r,o){if(t.keyHash===r)return new gt(e,r,[t.entry,o]);var i,a=(0===n?t.keyHash:t.keyHash>>>n)&yn,u=(0===n?r:r>>>n)&yn;return new ht(e,1<<a|1<<u,a===u?[xt(t,e,n+dn,r,o)]:(i=new vt(e,r,o),a<u?[t,i]:[i,t]))}function Ot(t,e,n,r){t||(t=new p);for(var o=new vt(t,it(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}function Tt(t,e,n,r){for(var o=0,i=0,a=new Array(n),u=0,s=1,c=e.length;u<c;u++,s<<=1){var l=e[u];void 0!==l&&u!==r&&(o|=s,a[i++]=l)}return new ht(t,o,a)}function Dt(t,e,n,r,o){for(var i=0,a=new Array(hn),u=0;0!==n;u++,n>>>=1)a[u]=1&n?e[i++]:void 0;return a[r]=o,new yt(t,i+1,a)}function Mt(t,e,r){for(var o=[],a=0;a<r.length;a++){var u=r[a],s=n(u);i(u)||(s=s.map(function(t){return W(t)})),o.push(s)}return Pt(t,e,o)}function It(t,e,n){return t&&t.mergeDeep&&i(e)?t.mergeDeep(e):X(t,e)?t:e}function At(t){return function(e,n,r){if(e&&e.mergeDeepWith&&i(n))return e.mergeDeepWith(t,n);var o=t(e,n,r);return X(e,o)?e:o}}function Pt(t,e,n){return n=n.filter(function(t){return 0!==t.size}),0===n.length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations(function(t){for(var r=e?function(n,r){t.update(r,gn,function(t){return t===gn?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 Nt(t,e,n,r){var o=t===gn,i=e.next();if(i.done){var a=o?n:t,u=r(a);return u===a?t:u}Q(o||t&&t.set,"invalid keyPath");var s=i.value,c=o?gn:t.get(s,gn),l=Nt(c,e,n,r);return l===c?t:l===gn?t.remove(s):(o?St():t).set(s,l)}function Rt(t){return t-=t>>1&1431655765,t=(858993459&t)+(t>>2&858993459),t=t+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function Lt(t,e,n,r){var o=r?t:d(t);return o[e]=n,o}function Ft(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,u=0;u<o;u++)u===e?(i[u]=n,a=-1):i[u]=t[u+a];return i}function Bt(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}function zt(t){var e=qt();if(null===t||void 0===t)return e;if(Ut(t))return t;var n=r(t),o=n.size;return 0===o?e:(lt(o),o>0&&o<hn?Ht(0,o,dn,null,new Kt(n.toArray())):e.withMutations(function(t){t.setSize(o),n.forEach(function(e,n){return t.set(n,e)})}))}function Ut(t){return!(!t||!t[Vn])}function Kt(t,e){this.array=t,this.ownerID=e}function jt(t,e){function n(t,e,n){return 0===e?r(t,n):o(t,e,n)}function r(t,n){var r=n===u?s&&s.array:t&&t.array,o=n>i?0:i-n,c=a-n;return c>hn&&(c=hn),function(){if(o===c)return Xn;var t=e?--c:o++;return r&&r[t]}}function o(t,r,o){var u,s=t&&t.array,c=o>i?0:i-o>>r,l=1+(a-o>>r);return l>hn&&(l=hn),function(){for(;;){if(u){var t=u();if(t!==Xn)return t;u=null}if(c===l)return Xn;var i=e?--l:c++;u=n(s&&s[i],r-dn,o+(i<<r))}}}var i=t._origin,a=t._capacity,u=$t(a),s=t._tail;return n(t._root,t._level,0)}function Ht(t,e,n,r,o,i,a){var u=Object.create(Jn);return u.size=e-t,u._origin=t,u._capacity=e,u._level=n,u._root=r,u._tail=o,u.__ownerID=i,u.__hash=a,u.__altered=!1,u}function qt(){return Gn||(Gn=Ht(0,0,dn))}function Wt(t,e,n){if((e=y(t,e))!==e)return t;if(e>=t.size||e<0)return t.withMutations(function(t){e<0?Xt(t,e).set(0,n):Xt(t,0,e+1).set(e,n)});e+=t._origin;var r=t._tail,o=t._root,i=l(_n);return e>=$t(t._capacity)?r=Vt(r,t.__ownerID,0,e,n,i):o=Vt(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):Ht(t._origin,t._capacity,t._level,o,r):t}function Vt(t,e,n,r,o,i){var a=r>>>n&yn,u=t&&a<t.array.length;if(!u&&void 0===o)return t;var s;if(n>0){var c=t&&t.array[a],l=Vt(c,e,n-dn,r,o,i);return l===c?t:(s=Jt(t,e),s.array[a]=l,s)}return u&&t.array[a]===o?t:(f(i),s=Jt(t,e),void 0===o&&a===s.array.length-1?s.array.pop():s.array[a]=o,s)}function Jt(t,e){return e&&t&&e===t.ownerID?t:new Kt(t?t.array.slice():[],e)}function Gt(t,e){if(e>=$t(t._capacity))return t._tail;if(e<1<<t._level+dn){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&yn],r-=dn;return n}}function Xt(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new p,o=t._origin,i=t._capacity,a=o+e,u=void 0===n?i:n<0?i+n:o+n;if(a===o&&u===i)return t;if(a>=u)return t.clear();for(var s=t._level,c=t._root,l=0;a+l<0;)c=new Kt(c&&c.array.length?[void 0,c]:[],r),s+=dn,l+=1<<s;l&&(a+=l,o+=l,u+=l,i+=l);for(var f=$t(i),d=$t(u);d>=1<<s+dn;)c=new Kt(c&&c.array.length?[c]:[],r),s+=dn;var h=t._tail,y=d<f?Gt(t,u-1):d>f?new Kt([],r):h;if(h&&d>f&&a<i&&h.array.length){c=Jt(c,r);for(var g=c,v=s;v>dn;v-=dn){var _=f>>>v&yn;g=g.array[_]=Jt(g.array[_],r)}g.array[f>>>dn&yn]=h}if(u<i&&(y=y&&y.removeAfter(r,0,u)),a>=d)a-=d,u-=d,s=dn,c=null,y=y&&y.removeBefore(r,0,a);else if(a>o||d<f){for(l=0;c;){var m=a>>>s&yn;if(m!==d>>>s&yn)break;m&&(l+=(1<<s)*m),s-=dn,c=c.array[m]}c&&a>o&&(c=c.removeBefore(r,s,a-l)),c&&d<f&&(c=c.removeAfter(r,s,d-l)),l&&(a-=l,u-=l)}return t.__ownerID?(t.size=u-a,t._origin=a,t._capacity=u,t._level=s,t._root=c,t._tail=y,t.__hash=void 0,t.__altered=!0,t):Ht(a,u,s,c,y)}function Yt(t,e,n){for(var o=[],a=0,u=0;u<n.length;u++){var s=n[u],c=r(s);c.size>a&&(a=c.size),i(s)||(c=c.map(function(t){return W(t)})),o.push(c)}return a>t.size&&(t=t.setSize(a)),Pt(t,e,o)}function $t(t){return t<hn?0:t-1>>>dn<<dn}function Qt(t){return null===t||void 0===t?ee():Zt(t)?t:ee().withMutations(function(e){var r=n(t);lt(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function Zt(t){return pt(t)&&c(t)}function te(t,e,n,r){var o=Object.create(Qt.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=n,o.__hash=r,o}function ee(){return Yn||(Yn=te(St(),qt()))}function ne(t,e,n){var r,o,i=t._map,a=t._list,u=i.get(e),s=void 0!==u;if(n===gn){if(!s)return t;a.size>=hn&&a.size>=2*i.size?(o=a.filter(function(t,e){return void 0!==t&&u!==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=u===a.size-1?a.pop():a.set(u,void 0))}else if(s){if(n===a.get(u)[1])return t;r=i,o=a.set(u,[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):te(r,o)}function re(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function oe(t){this._iter=t,this.size=t.size}function ie(t){this._iter=t,this.size=t.size}function ae(t){this._iter=t,this.size=t.size}function ue(t){var e=Te(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=De,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===wn){var r=t.__iterator(e,n);return new w(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===bn?mn:bn,n)},e}function se(t,e,n){var r=Te(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,o){var i=t.get(r,gn);return i===gn?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(wn,o);return new w(function(){var o=i.next();if(o.done)return o;var a=o.value,u=a[0];return S(r,u,e.call(n,a[1],u,t),o)})},r}function ce(t,e){var n=Te(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=ue(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=De,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 le(t,e,n,r){var o=Te(t);return r&&(o.has=function(r){var o=t.get(r,gn);return o!==gn&&!!e.call(n,o,r,t)},o.get=function(r,o){var i=t.get(r,gn);return i!==gn&&e.call(n,i,r,t)?i:o}),o.__iterateUncached=function(o,i){var a=this,u=0;return t.__iterate(function(t,i,s){if(e.call(n,t,i,s))return u++,o(t,r?i:u-1,a)},i),u},o.__iteratorUncached=function(o,i){var a=t.__iterator(wn,i),u=0;return new w(function(){for(;;){var i=a.next();if(i.done)return i;var s=i.value,c=s[0],l=s[1];if(e.call(n,l,c,t))return S(o,r?c:u++,l,i)}})},o}function fe(t,e,n){var r=ft().asMutable();return t.__iterate(function(o,i){r.update(e.call(n,o,i,t),0,function(t){return t+1})}),r.asImmutable()}function pe(t,e,n){var r=a(t),o=(c(t)?Qt():ft()).asMutable();t.__iterate(function(i,a){o.update(e.call(n,i,a,t),function(t){return t=t||[],t.push(r?[a,i]:i),t})});var i=Oe(t);return o.map(function(e){return Ee(t,i(e))})}function de(t,e,n,r){var o=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n|=0),v(e,n,o))return t;var i=_(e,o),a=m(n,o);if(i!==i||a!==a)return de(t.toSeq().cacheResult(),e,n,r);var u,s=a-i;s===s&&(u=s<0?0:s);var c=Te(t);return c.size=0===u?u:t.size&&u||void 0,!r&&F(t)&&u>=0&&(c.get=function(e,n){return e=y(this,e),e>=0&&e<u?t.get(e+i,n):n}),c.__iterateUncached=function(e,n){var o=this;if(0===u)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,s=!0,c=0;return t.__iterate(function(t,n){if(!s||!(s=a++<i))return c++,!1!==e(t,r?n:c-1,o)&&c!==u}),c},c.__iteratorUncached=function(e,n){if(0!==u&&n)return this.cacheResult().__iterator(e,n);var o=0!==u&&t.__iterator(e,n),a=0,s=0;return new w(function(){for(;a++<i;)o.next();if(++s>u)return k();var t=o.next();return r||e===bn?t:e===mn?S(e,s-1,void 0,t):S(e,s-1,t.value[1],t)})},c}function he(t,e,n){var r=Te(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,u){return e.call(n,t,o,u)&&++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(wn,o),u=!0;return new w(function(){if(!u)return k();var t=a.next();if(t.done)return t;var o=t.value,s=o[0],c=o[1];return e.call(n,c,s,i)?r===wn?t:S(r,s,c,t):(u=!1,k())})},r}function ye(t,e,n,r){var o=Te(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var u=!0,s=0;return t.__iterate(function(t,i,c){if(!u||!(u=e.call(n,t,i,c)))return s++,o(t,r?i:s-1,a)}),s},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var u=t.__iterator(wn,i),s=!0,c=0;return new w(function(){var t,i,l;do{if(t=u.next(),t.done)return r||o===bn?t:o===mn?S(o,c++,void 0,t):S(o,c++,t.value[1],t);var f=t.value;i=f[0],l=f[1],s&&(s=e.call(n,l,i,a))}while(s);return o===wn?t:S(o,i,l,t)})},o}function ge(t,e){var r=a(t),o=[t].concat(e).map(function(t){return i(t)?r&&(t=n(t)):t=r?z(t):U(Array.isArray(t)?t:[t]),t}).filter(function(t){return 0!==t.size});if(0===o.length)return t;if(1===o.length){var s=o[0];if(s===t||r&&a(s)||u(t)&&u(s))return s}var c=new P(o);return r?c=c.toKeyedSeq():u(t)||(c=c.toSetSeq()),c=c.flatten(!0),c.size=o.reduce(function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}},0),c}function ve(t,e,n){var r=Te(t);return r.__iterateUncached=function(r,o){function a(t,c){var l=this;t.__iterate(function(t,o){return(!e||c<e)&&i(t)?a(t,c+1):!1===r(t,n?o:u++,l)&&(s=!0),!s},o)}var u=0,s=!1;return a(t,0),u},r.__iteratorUncached=function(r,o){var a=t.__iterator(r,o),u=[],s=0;return new w(function(){for(;a;){var t=a.next();if(!1===t.done){var c=t.value;if(r===wn&&(c=c[1]),e&&!(u.length<e)||!i(c))return n?t:S(r,s++,c,t);u.push(a),a=c.__iterator(r,o)}else a=u.pop()}return k()})},r}function _e(t,e,n){var r=Oe(t);return t.toSeq().map(function(o,i){return r(e.call(n,o,i,t))}).flatten(!0)}function me(t,e){var n=Te(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(bn,r),a=0;return new w(function(){return(!o||a%2)&&(o=i.next(),o.done)?o:a%2?S(n,a++,e):S(n,a++,o.value,o)})},n}function be(t,e,n){e||(e=Me);var r=a(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?M(i):u(t)?I(i):A(i)}function we(t,e,n){if(e||(e=Me),n){var r=t.toSeq().map(function(e,r){return[e,n(e,r,t)]}).reduce(function(t,n){return Se(e,t[1],n[1])?n:t});return r&&r[0]}return t.reduce(function(t,n){return Se(e,t,n)?n:t})}function Se(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(void 0===n||null===n||n!==n)||r>0}function ke(t,n,r){var o=Te(t);return o.size=new P(r).map(function(t){return t.size}).min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(bn,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=e(t),x(o?t.reverse():t)}),a=0,u=!1;return new w(function(){var e;return u||(e=i.map(function(t){return t.next()}),u=e.some(function(t){return t.done})),u?k():S(t,a++,n.apply(null,e.map(function(t){return t.value})))})},o}function Ee(t,e){return F(t)?e:t.constructor(e)}function Ce(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function xe(t){return lt(t.size),h(t)}function Oe(t){return a(t)?n:u(t)?r:o}function Te(t){return Object.create((a(t)?M:u(t)?I:A).prototype)}function De(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):D.prototype.cacheResult.call(this)}function Me(t,e){return t>e?1:t<e?-1:0}function Ie(t){var n=x(t);if(!n){if(!T(t))throw new TypeError("Expected iterable or array-like: "+t);n=x(e(t))}return n}function Ae(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);Re(o,a),o.size=a.length,o._name=e,o._keys=a,o._defaultValues=t}this._map=ft(i)},o=r.prototype=Object.create($n);return o.constructor=r,r}function Pe(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function Ne(t){return t._name||t.constructor.name||"Record"}function Re(t,e){try{e.forEach(Le.bind(void 0,t))}catch(t){}}function Le(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){Q(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function Fe(t){return null===t||void 0===t?Ke():Be(t)&&!c(t)?t:Ke().withMutations(function(e){var n=o(t);lt(n.size),n.forEach(function(t){return e.add(t)})})}function Be(t){return!(!t||!t[Qn])}function ze(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 Ue(t,e){var n=Object.create(Zn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function Ke(){return tr||(tr=Ue(St()))}function je(t){return null===t||void 0===t?We():He(t)?t:We().withMutations(function(e){var n=o(t);lt(n.size),n.forEach(function(t){return e.add(t)})})}function He(t){return Be(t)&&c(t)}function qe(t,e){var n=Object.create(er);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function We(){return nr||(nr=qe(ee()))}function Ve(t){return null===t||void 0===t?Xe():Je(t)?t:Xe().unshiftAll(t)}function Je(t){return!(!t||!t[rr])}function Ge(t,e,n,r){var o=Object.create(or);return o.size=t,o._head=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Xe(){return ir||(ir=Ge(0))}function Ye(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}function $e(t,e){return e}function Qe(t,e){return[e,t]}function Ze(t){return function(){return!t.apply(this,arguments)}}function tn(t){return function(){return-t.apply(this,arguments)}}function en(t){return"string"==typeof t?JSON.stringify(t):t}function nn(){return d(arguments)}function rn(t,e){return t<e?1:t>e?-1:0}function on(t){if(t.size===1/0)return 0;var e=c(t),n=a(t),r=e?1:0;return an(t.__iterate(n?e?function(t,e){r=31*r+un(it(t),it(e))|0}:function(t,e){r=r+un(it(t),it(e))|0}:e?function(t){r=31*r+it(t)|0}:function(t){r=r+it(t)|0}),r)}function an(t,e){return e=Mn(e,3432918353),e=Mn(e<<15|e>>>-15,461845907),e=Mn(e<<13|e>>>-13,5),e=(e+3864292196|0)^t,e=Mn(e^e>>>16,2246822507),e=Mn(e^e>>>13,3266489909),e=ot(e^e>>>16)}function un(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}var sn=Array.prototype.slice;t(n,e),t(r,e),t(o,e),e.isIterable=i,e.isKeyed=a,e.isIndexed=u,e.isAssociative=s,e.isOrdered=c,e.Keyed=n,e.Indexed=r,e.Set=o;var cn="@@__IMMUTABLE_ITERABLE__@@",ln="@@__IMMUTABLE_KEYED__@@",fn="@@__IMMUTABLE_INDEXED__@@",pn="@@__IMMUTABLE_ORDERED__@@",dn=5,hn=1<<dn,yn=hn-1,gn={},vn={value:!1},_n={value:!1},mn=0,bn=1,wn=2,Sn="function"==typeof Symbol&&Symbol.iterator,kn="@@iterator",En=Sn||kn;w.prototype.toString=function(){return"[Iterator]"},w.KEYS=mn,w.VALUES=bn,w.ENTRIES=wn,w.prototype.inspect=w.prototype.toSource=function(){return this.toString()},w.prototype[En]=function(){return this},t(D,e),D.of=function(){return D(arguments)},D.prototype.toSeq=function(){return this},D.prototype.toString=function(){return this.__toString("Seq {","}")},D.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},D.prototype.__iterate=function(t,e){return H(this,t,e,!0)},D.prototype.__iterator=function(t,e){return q(this,t,e,!0)},t(M,D),M.prototype.toKeyedSeq=function(){return this},t(I,D),I.of=function(){return I(arguments)},I.prototype.toIndexedSeq=function(){return this},I.prototype.toString=function(){return this.__toString("Seq [","]")},I.prototype.__iterate=function(t,e){return H(this,t,e,!1)},I.prototype.__iterator=function(t,e){return q(this,t,e,!1)},t(A,D),A.of=function(){return A(arguments)},A.prototype.toSetSeq=function(){return this},D.isSeq=F,D.Keyed=M,D.Set=A,D.Indexed=I;var Cn="@@__IMMUTABLE_SEQ__@@";D.prototype[Cn]=!0,t(P,I),P.prototype.get=function(t,e){return this.has(t)?this._array[y(this,t)]:e},P.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},P.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,o=0;return new w(function(){return o>r?k():S(t,o,n[e?r-o++:o++])})},t(N,M),N.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},N.prototype.has=function(t){return this._object.hasOwnProperty(t)},N.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},N.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length-1,i=0;return new w(function(){var a=r[e?o-i:i];return i++>o?k():S(t,a,n[a])})},N.prototype[pn]=!0,t(R,I),R.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=this._iterable,r=x(n),o=0;if(C(r))for(var i;!(i=r.next()).done&&!1!==t(i.value,o++,this););return o},R.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterable,r=x(n);if(!C(r))return new w(k);var o=0;return new w(function(){var e=r.next();return e.done?e:S(t,o++,e.value)})},t(L,I),L.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n=this._iterator,r=this._iteratorCache,o=0;o<r.length;)if(!1===t(r[o],o++,this))return o;for(var i;!(i=n.next()).done;){var a=i.value;if(r[o]=a,!1===t(a,o++,this))break}return o},L.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,o=0;return new w(function(){if(o>=r.length){var e=n.next();if(e.done)return e;r[o]=e.value}return S(t,o,r[o++])})};var xn;t($,I),$.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},$.prototype.get=function(t,e){return this.has(t)?this._value:e},$.prototype.includes=function(t){return X(this._value,t)},$.prototype.slice=function(t,e){var n=this.size;return v(t,e,n)?this:new $(this._value,m(e,n)-_(t,n))},$.prototype.reverse=function(){return this},$.prototype.indexOf=function(t){return X(this._value,t)?0:-1},$.prototype.lastIndexOf=function(t){return X(this._value,t)?this.size:-1},$.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},$.prototype.__iterator=function(t,e){var n=this,r=0;return new w(function(){return r<n.size?S(t,r++,n._value):k()})},$.prototype.equals=function(t){return t instanceof $?X(this._value,t._value):Y(t)};var On;t(Z,I),Z.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},Z.prototype.get=function(t,e){return this.has(t)?this._start+y(this,t)*this._step:e},Z.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},Z.prototype.slice=function(t,e){return v(t,e,this.size)?this:(t=_(t,this.size),e=m(e,this.size),e<=t?new Z(0,0):new Z(this.get(t,this._end),this.get(e,this._end),this._step))},Z.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},Z.prototype.lastIndexOf=function(t){return this.indexOf(t)},Z.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},Z.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 w(function(){var a=o;return o+=e?-r:r,i>n?k():S(t,i++,a)})},Z.prototype.equals=function(t){return t instanceof Z?this._start===t._start&&this._end===t._end&&this._step===t._step:Y(this,t)};var Tn;t(tt,e),t(et,tt),t(nt,tt),t(rt,tt),tt.Keyed=et,tt.Indexed=nt,tt.Set=rt;var Dn,Mn="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){t|=0,e|=0;var n=65535&t,r=65535&e;return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0},In=Object.isExtensible,An=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),Pn="function"==typeof WeakMap;Pn&&(Dn=new WeakMap);var Nn=0,Rn="__immutablehash__";"function"==typeof Symbol&&(Rn=Symbol(Rn));var Ln=16,Fn=255,Bn=0,zn={};t(ft,et),ft.prototype.toString=function(){return this.__toString("Map {","}")},ft.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},ft.prototype.set=function(t,e){return kt(this,t,e)},ft.prototype.setIn=function(t,e){return this.updateIn(t,gn,function(){return e})},ft.prototype.remove=function(t){return kt(this,t,gn)},ft.prototype.deleteIn=function(t){return this.updateIn(t,function(){return gn})},ft.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},ft.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=Nt(this,Ie(t),e,n);return r===gn?void 0:r},ft.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):St()},ft.prototype.merge=function(){return Mt(this,void 0,arguments)},ft.prototype.mergeWith=function(t){return Mt(this,t,sn.call(arguments,1))},ft.prototype.mergeIn=function(t){var e=sn.call(arguments,1);return this.updateIn(t,St(),function(t){return"function"==typeof t.merge?t.merge.apply(t,e):e[e.length-1]})},ft.prototype.mergeDeep=function(){return Mt(this,It,arguments)},ft.prototype.mergeDeepWith=function(t){var e=sn.call(arguments,1);return Mt(this,At(t),e)},ft.prototype.mergeDeepIn=function(t){var e=sn.call(arguments,1);return this.updateIn(t,St(),function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,e):e[e.length-1]})},ft.prototype.sort=function(t){return Qt(be(this,t))},ft.prototype.sortBy=function(t,e){return Qt(be(this,e,t))},ft.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},ft.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new p)},ft.prototype.asImmutable=function(){return this.__ensureOwner()},ft.prototype.wasAltered=function(){return this.__altered},ft.prototype.__iterator=function(t,e){return new _t(this,t,e)},ft.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},ft.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?wt(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},ft.isMap=pt;var Un="@@__IMMUTABLE_MAP__@@",Kn=ft.prototype;Kn[Un]=!0,Kn.delete=Kn.remove,Kn.removeIn=Kn.deleteIn,dt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(X(n,o[i][0]))return o[i][1];return r},dt.prototype.update=function(t,e,n,r,o,i,a){for(var u=o===gn,s=this.entries,c=0,l=s.length;c<l&&!X(r,s[c][0]);c++);var p=c<l;if(p?s[c][1]===o:u)return this;if(f(a),(u||!p)&&f(i),!u||1!==s.length){if(!p&&!u&&s.length>=Hn)return Ot(t,s,r,o);var h=t&&t===this.ownerID,y=h?s:d(s);return p?u?c===l-1?y.pop():y[c]=y.pop():y[c]=[r,o]:y.push([r,o]),h?(this.entries=y,this):new dt(t,y)}},ht.prototype.get=function(t,e,n,r){void 0===e&&(e=it(n));var o=1<<((0===t?e:e>>>t)&yn),i=this.bitmap;return 0==(i&o)?r:this.nodes[Rt(i&o-1)].get(t+dn,e,n,r)},ht.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=it(r));var u=(0===e?n:n>>>e)&yn,s=1<<u,c=this.bitmap,l=0!=(c&s);if(!l&&o===gn)return this;var f=Rt(c&s-1),p=this.nodes,d=l?p[f]:void 0,h=Et(d,t,e+dn,n,r,o,i,a);if(h===d)return this;if(!l&&h&&p.length>=qn)return Dt(t,p,c,u,h);if(l&&!h&&2===p.length&&Ct(p[1^f]))return p[1^f];if(l&&h&&1===p.length&&Ct(h))return h;var y=t&&t===this.ownerID,g=l?h?c:c^s:c|s,v=l?h?Lt(p,f,h,y):Bt(p,f,y):Ft(p,f,h,y);return y?(this.bitmap=g,this.nodes=v,this):new ht(t,g,v)},yt.prototype.get=function(t,e,n,r){void 0===e&&(e=it(n));var o=(0===t?e:e>>>t)&yn,i=this.nodes[o];return i?i.get(t+dn,e,n,r):r},yt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=it(r));var u=(0===e?n:n>>>e)&yn,s=o===gn,c=this.nodes,l=c[u];if(s&&!l)return this;var f=Et(l,t,e+dn,n,r,o,i,a);if(f===l)return this;var p=this.count;if(l){if(!f&&--p<Wn)return Tt(t,c,p,u)}else p++;var d=t&&t===this.ownerID,h=Lt(c,u,f,d);return d?(this.count=p,this.nodes=h,this):new yt(t,p,h)},gt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(X(n,o[i][0]))return o[i][1];return r},gt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=it(r));var u=o===gn;if(n!==this.keyHash)return u?this:(f(a),f(i),xt(this,t,e,n,[r,o]));for(var s=this.entries,c=0,l=s.length;c<l&&!X(r,s[c][0]);c++);var p=c<l;if(p?s[c][1]===o:u)return this;if(f(a),(u||!p)&&f(i),u&&2===l)return new vt(t,this.keyHash,s[1^c]);var h=t&&t===this.ownerID,y=h?s:d(s);return p?u?c===l-1?y.pop():y[c]=y.pop():y[c]=[r,o]:y.push([r,o]),h?(this.entries=y,this):new gt(t,this.keyHash,y)},vt.prototype.get=function(t,e,n,r){return X(n,this.entry[0])?this.entry[1]:r},vt.prototype.update=function(t,e,n,r,o,i,a){var u=o===gn,s=X(r,this.entry[0]);return(s?o===this.entry[1]:u)?this:(f(a),u?void f(i):s?t&&t===this.ownerID?(this.entry[1]=o,this):new vt(t,this.keyHash,[r,o]):(f(i),xt(this,t,e,it(r),[r,o])))},dt.prototype.iterate=gt.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},ht.prototype.iterate=yt.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}},vt.prototype.iterate=function(t,e){return t(this.entry)},t(_t,w),_t.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 mt(t,r.entry)}else if(r.entries){if(n=r.entries.length-1,o<=n)return mt(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 mt(t,i.entry);e=this._stack=bt(i,e)}continue}e=this._stack=this._stack.__prev}return k()};var jn,Hn=hn/4,qn=hn/2,Wn=hn/4;t(zt,nt),zt.of=function(){return this(arguments)},zt.prototype.toString=function(){return this.__toString("List [","]")},zt.prototype.get=function(t,e){if((t=y(this,t))>=0&&t<this.size){t+=this._origin;var n=Gt(this,t);return n&&n.array[t&yn]}return e},zt.prototype.set=function(t,e){return Wt(this,t,e)},zt.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},zt.prototype.insert=function(t,e){return this.splice(t,0,e)},zt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=dn,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):qt()},zt.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations(function(n){Xt(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])})},zt.prototype.pop=function(){return Xt(this,0,-1)},zt.prototype.unshift=function(){var t=arguments;return this.withMutations(function(e){Xt(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])})},zt.prototype.shift=function(){return Xt(this,1)},zt.prototype.merge=function(){return Yt(this,void 0,arguments)},zt.prototype.mergeWith=function(t){return Yt(this,t,sn.call(arguments,1))},zt.prototype.mergeDeep=function(){return Yt(this,It,arguments)},zt.prototype.mergeDeepWith=function(t){var e=sn.call(arguments,1);return Yt(this,At(t),e)},zt.prototype.setSize=function(t){return Xt(this,0,t)},zt.prototype.slice=function(t,e){var n=this.size;return v(t,e,n)?this:Xt(this,_(t,n),m(e,n))},zt.prototype.__iterator=function(t,e){var n=0,r=jt(this,e);return new w(function(){var e=r();return e===Xn?k():S(t,n++,e)})},zt.prototype.__iterate=function(t,e){for(var n,r=0,o=jt(this,e);(n=o())!==Xn&&!1!==t(n,r++,this););return r},zt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ht(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},zt.isList=Ut;var Vn="@@__IMMUTABLE_LIST__@@",Jn=zt.prototype;Jn[Vn]=!0,Jn.delete=Jn.remove,Jn.setIn=Kn.setIn,Jn.deleteIn=Jn.removeIn=Kn.removeIn,Jn.update=Kn.update,Jn.updateIn=Kn.updateIn,Jn.mergeIn=Kn.mergeIn,Jn.mergeDeepIn=Kn.mergeDeepIn,Jn.withMutations=Kn.withMutations,Jn.asMutable=Kn.asMutable,Jn.asImmutable=Kn.asImmutable,Jn.wasAltered=Kn.wasAltered,Kt.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&yn;if(r>=this.array.length)return new Kt([],t);var o,i=0===r;if(e>0){var a=this.array[r];if((o=a&&a.removeBefore(t,e-dn,n))===a&&i)return this}if(i&&!o)return this;var u=Jt(this,t);if(!i)for(var s=0;s<r;s++)u.array[s]=void 0;return o&&(u.array[r]=o),u},Kt.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r=n-1>>>e&yn;if(r>=this.array.length)return this;var o;if(e>0){var i=this.array[r];if((o=i&&i.removeAfter(t,e-dn,n))===i&&r===this.array.length-1)return this}var a=Jt(this,t);return a.array.splice(r+1),o&&(a.array[r]=o),a};var Gn,Xn={};t(Qt,ft),Qt.of=function(){return this(arguments)},Qt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Qt.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Qt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):ee()},Qt.prototype.set=function(t,e){return ne(this,t,e)},Qt.prototype.remove=function(t){return ne(this,t,gn)},Qt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Qt.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],n)},e)},Qt.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Qt.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?te(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},Qt.isOrderedMap=Zt,Qt.prototype[pn]=!0,Qt.prototype.delete=Qt.prototype.remove;var Yn;t(re,M),re.prototype.get=function(t,e){return this._iter.get(t,e)},re.prototype.has=function(t){return this._iter.has(t)},re.prototype.valueSeq=function(){return this._iter.valueSeq()},re.prototype.reverse=function(){var t=this,e=ce(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},re.prototype.map=function(t,e){var n=this,r=se(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},re.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?xe(this):0,function(o){return t(o,e?--n:n++,r)}),e)},re.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(bn,e),r=e?xe(this):0;return new w(function(){var o=n.next();return o.done?o:S(t,e?--r:r++,o.value,o)})},re.prototype[pn]=!0,t(oe,I),oe.prototype.includes=function(t){return this._iter.includes(t)},oe.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate(function(e){return t(e,r++,n)},e)},oe.prototype.__iterator=function(t,e){var n=this._iter.__iterator(bn,e),r=0;return new w(function(){var e=n.next();return e.done?e:S(t,r++,e.value,e)})},t(ie,A),ie.prototype.has=function(t){return this._iter.includes(t)},ie.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){return t(e,e,n)},e)},ie.prototype.__iterator=function(t,e){var n=this._iter.__iterator(bn,e);return new w(function(){var e=n.next();return e.done?e:S(t,e.value,e.value,e)})},t(ae,M),ae.prototype.entrySeq=function(){return this._iter.toSeq()},ae.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){if(e){Ce(e);var r=i(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}},e)},ae.prototype.__iterator=function(t,e){var n=this._iter.__iterator(bn,e);return new w(function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){Ce(r);var o=i(r);return S(t,o?r.get(0):r[0],o?r.get(1):r[1],e)}}})},oe.prototype.cacheResult=re.prototype.cacheResult=ie.prototype.cacheResult=ae.prototype.cacheResult=De,t(Ae,et),Ae.prototype.toString=function(){return this.__toString(Ne(this)+" {","}")},Ae.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},Ae.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},Ae.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=Pe(this,St()))},Ae.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+Ne(this));var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:Pe(this,n)},Ae.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:Pe(this,e)},Ae.prototype.wasAltered=function(){return this._map.wasAltered()},Ae.prototype.__iterator=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterator(t,e)},Ae.prototype.__iterate=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterate(t,e)},Ae.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?Pe(this,e,t):(this.__ownerID=t,this._map=e,this)};var $n=Ae.prototype;$n.delete=$n.remove,$n.deleteIn=$n.removeIn=Kn.removeIn,$n.merge=Kn.merge,$n.mergeWith=Kn.mergeWith,$n.mergeIn=Kn.mergeIn,$n.mergeDeep=Kn.mergeDeep,$n.mergeDeepWith=Kn.mergeDeepWith,$n.mergeDeepIn=Kn.mergeDeepIn,$n.setIn=Kn.setIn,$n.update=Kn.update,$n.updateIn=Kn.updateIn,$n.withMutations=Kn.withMutations,$n.asMutable=Kn.asMutable,$n.asImmutable=Kn.asImmutable,t(Fe,rt),Fe.of=function(){return this(arguments)},Fe.fromKeys=function(t){return this(n(t).keySeq())},Fe.prototype.toString=function(){return this.__toString("Set {","}")},Fe.prototype.has=function(t){return this._map.has(t)},Fe.prototype.add=function(t){return ze(this,this._map.set(t,!0))},Fe.prototype.remove=function(t){return ze(this,this._map.remove(t))},Fe.prototype.clear=function(){return ze(this,this._map.clear())},Fe.prototype.union=function(){var t=sn.call(arguments,0);return t=t.filter(function(t){return 0!==t.size}),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations(function(e){for(var n=0;n<t.length;n++)o(t[n]).forEach(function(t){return e.add(t)})}):this.constructor(t[0])},Fe.prototype.intersect=function(){var t=sn.call(arguments,0);if(0===t.length)return this;t=t.map(function(t){return o(t)});var e=this;return this.withMutations(function(n){e.forEach(function(e){t.every(function(t){return t.includes(e)})||n.remove(e)})})},Fe.prototype.subtract=function(){var t=sn.call(arguments,0);if(0===t.length)return this;t=t.map(function(t){return o(t)});var e=this;return this.withMutations(function(n){e.forEach(function(e){t.some(function(t){return t.includes(e)})&&n.remove(e)})})},Fe.prototype.merge=function(){return this.union.apply(this,arguments)},Fe.prototype.mergeWith=function(t){var e=sn.call(arguments,1);return this.union.apply(this,e)},Fe.prototype.sort=function(t){return je(be(this,t))},Fe.prototype.sortBy=function(t,e){return je(be(this,e,t))},Fe.prototype.wasAltered=function(){return this._map.wasAltered()},Fe.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate(function(e,r){return t(r,r,n)},e)},Fe.prototype.__iterator=function(t,e){return this._map.map(function(t,e){return e}).__iterator(t,e)},Fe.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)},Fe.isSet=Be;var Qn="@@__IMMUTABLE_SET__@@",Zn=Fe.prototype;Zn[Qn]=!0,Zn.delete=Zn.remove,Zn.mergeDeep=Zn.merge,Zn.mergeDeepWith=Zn.mergeWith,Zn.withMutations=Kn.withMutations,Zn.asMutable=Kn.asMutable,Zn.asImmutable=Kn.asImmutable,Zn.__empty=Ke,Zn.__make=Ue;var tr;t(je,Fe),je.of=function(){return this(arguments)},je.fromKeys=function(t){return this(n(t).keySeq())},je.prototype.toString=function(){return this.__toString("OrderedSet {","}")},je.isOrderedSet=He;var er=je.prototype;er[pn]=!0,er.__empty=We,er.__make=qe;var nr;t(Ve,nt),Ve.of=function(){return this(arguments)},Ve.prototype.toString=function(){return this.__toString("Stack [","]")},Ve.prototype.get=function(t,e){var n=this._head;for(t=y(this,t);n&&t--;)n=n.next;return n?n.value:e},Ve.prototype.peek=function(){return this._head&&this._head.value},Ve.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):Ge(t,e)},Ve.prototype.pushAll=function(t){if(t=r(t),0===t.size)return this;lt(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):Ge(e,n)},Ve.prototype.pop=function(){return this.slice(1)},Ve.prototype.unshift=function(){return this.push.apply(this,arguments)},Ve.prototype.unshiftAll=function(t){return this.pushAll(t)},Ve.prototype.shift=function(){return this.pop.apply(this,arguments)},Ve.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):Xe()},Ve.prototype.slice=function(t,e){if(v(t,e,this.size))return this;var n=_(t,this.size);if(m(e,this.size)!==this.size)return nt.prototype.slice.call(this,t,e);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Ge(r,o)},Ve.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ge(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Ve.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},Ve.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new w(function(){if(r){var e=r.value;return r=r.next,S(t,n++,e)}return k()})},Ve.isStack=Je;var rr="@@__IMMUTABLE_STACK__@@",or=Ve.prototype;or[rr]=!0,or.withMutations=Kn.withMutations,or.asMutable=Kn.asMutable,or.asImmutable=Kn.asImmutable,or.wasAltered=Kn.wasAltered;var ir;e.Iterator=w,Ye(e,{toArray:function(){lt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate(function(e,n){t[n]=e}),t},toIndexedSeq:function(){return new oe(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 re(this,!0)},toMap:function(){return ft(this.toKeyedSeq())},toObject:function(){lt(this.size);var t={};return this.__iterate(function(e,n){t[n]=e}),t},toOrderedMap:function(){return Qt(this.toKeyedSeq())},toOrderedSet:function(){return je(a(this)?this.valueSeq():this)},toSet:function(){return Fe(a(this)?this.valueSeq():this)},toSetSeq:function(){return new ie(this)},toSeq:function(){return u(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Ve(a(this)?this.valueSeq():this)},toList:function(){return zt(a(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(){return Ee(this,ge(this,sn.call(arguments,0)))},includes:function(t){return this.some(function(e){return X(e,t)})},entries:function(){return this.__iterator(wn)},every:function(t,e){lt(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 Ee(this,le(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 lt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){lt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate(function(r){n?n=!1:e+=t,e+=null!==r&&void 0!==r?r.toString():""}),e},keys:function(){return this.__iterator(mn)},map:function(t,e){return Ee(this,se(this,t,e))},reduce:function(t,e,n){lt(this.size);var r,o;return 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 Ee(this,ce(this,!0))},slice:function(t,e){return Ee(this,de(this,t,e,!0))},some:function(t,e){return!this.every(Ze(t),e)},sort:function(t){return Ee(this,be(this,t))},values:function(){return this.__iterator(bn)},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 h(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return fe(this,t,e)},equals:function(t){return Y(this,t)},entrySeq:function(){var t=this;if(t._cache)return new P(t._cache);var e=t.toSeq().map(Qe).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Ze(t),e)},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},first:function(){return this.find(g)},flatMap:function(t,e){return Ee(this,_e(this,t,e))},flatten:function(t){return Ee(this,ve(this,t,!0))},fromEntrySeq:function(){return new ae(this)},get:function(t,e){return this.find(function(e,n){return X(n,t)},void 0,e)},getIn:function(t,e){for(var n,r=this,o=Ie(t);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,gn):gn)===gn)return e}return r},groupBy:function(t,e){return pe(this,t,e)},has:function(t){return this.get(t,gn)!==gn},hasIn:function(t){return this.getIn(t,gn)!==gn},isSubset:function(t){return t="function"==typeof t.includes?t:e(t),this.every(function(e){return t.includes(e)})},isSuperset:function(t){return t="function"==typeof t.isSubset?t:e(t),t.isSubset(this)},keySeq:function(){return this.toSeq().map($e).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return we(this,t)},maxBy:function(t,e){return we(this,e,t)},min:function(t){return we(this,t?tn(t):rn)},minBy:function(t,e){return we(this,e?tn(e):rn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Ee(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Ee(this,ye(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Ze(t),e)},sortBy:function(t,e){return Ee(this,be(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Ee(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Ee(this,he(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Ze(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=on(this))}});var ar=e.prototype;ar[cn]=!0,ar[En]=ar.values,ar.__toJS=ar.toArray,ar.__toStringMapper=en,ar.inspect=ar.toSource=function(){return this.toString()},ar.chain=ar.flatMap,ar.contains=ar.includes,function(){try{Object.defineProperty(ar,"length",{get:function(){if(!e.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){}}(),Ye(n,{flip:function(){return Ee(this,ue(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 X(e,t)})},lastKeyOf:function(t){return this.findLastKey(function(e){return X(e,t)})},mapEntries:function(t,e){var n=this,r=0;return Ee(this,this.toSeq().map(function(o,i){return t.call(e,[i,o],r++,n)}).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Ee(this,this.toSeq().flip().map(function(r,o){return t.call(e,r,o,n)}).flip())}});var ur=n.prototype;return ur[ln]=!0,ur[En]=ar.entries,ur.__toJS=ar.toObject,ur.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+en(t)},Ye(r,{toKeyedSeq:function(){return new re(this,!1)},filter:function(t,e){return Ee(this,le(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 Ee(this,ce(this,!1))},slice:function(t,e){return Ee(this,de(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=_(t,t<0?this.count():this.size);var r=this.slice(0,t);return Ee(this,1===n?r:r.concat(d(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 Ee(this,ve(this,t,!1))},get:function(t,e){return t=y(this,t),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=y(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Ee(this,me(this,t))},interleave:function(){var t=[this].concat(d(arguments)),e=ke(this.toSeq(),I.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Ee(this,n)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Ee(this,ye(this,t,e,!1))},zip:function(){return Ee(this,ke(this,nn,[this].concat(d(arguments))))},zipWith:function(t){var e=d(arguments);return e[0]=this,Ee(this,ke(this,t,e))}}),r.prototype[fn]=!0,r.prototype[pn]=!0,Ye(o,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=ar.includes,Ye(M,n.prototype),Ye(I,r.prototype),Ye(A,o.prototype),Ye(et,n.prototype),Ye(nt,r.prototype),Ye(rt,o.prototype),{Iterable:e,Seq:D,Collection:tt,Map:ft,OrderedMap:Qt,List:zt,Stack:Ve,Set:Fe,OrderedSet:je,Record:Ae,Range:Z,Repeat:$,is:X,fromJS:W}})},function(t,e,n){"use strict";t.exports=n(219)},function(t,e,n){"use strict";var r=n(7),o=n(134),i=n(68),a=n(2),u=n(151),s=n(172),c=n(28),l=n(177),f=n(178),p=n(0),d=n(189),h=n(84),y=n(191),g=n(193),v=a.OrderedSet,_={replaceText:function(t,e,n,o,i){var a=h(t,e),u=y(a,e),s=r.create({style:o||v(),entity:i||null});return f(u,u.getSelectionAfter(),n,s)},insertText:function(t,e,n,r,o){return e.isCollapsed()||p(!1),_.replaceText(t,e,n,r,o)},moveText:function(t,e,n){var r=c(t,e),o=_.removeRange(t,e,"backward");return _.replaceWithFragment(o,n,r)},replaceWithFragment:function(t,e,n){var r=h(t,e),o=y(r,e);return l(o,o.getSelectionAfter(),n)},removeRange:function(t,e,n){var r=void 0,o=void 0,a=void 0,u=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),u=t.getBlockForKey(o);var c=e.getStartOffset(),l=e.getEndOffset(),f=a.getEntityAt(c),p=u.getEntityAt(l-1);if(r===o&&f&&f===p){var d=s(t.getEntityMap(),a,u,e,n);return y(t,d)}var g=e;i.draft_segmented_entities_behavior&&(g=s(t.getEntityMap(),a,u,e,n));var v=h(t,g);return y(v,g)},splitBlock:function(t,e){var n=h(t,e),r=y(n,e);return g(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 d(t,e,function(t){return t.merge({type:n,depth:0})})},setBlockData:function(t,e,n){return d(t,e,function(t){return t.merge({data:n})})},mergeBlockData:function(t,e,n){return d(t,e,function(t){return t.merge({data:t.getData().merge(n)})})},applyEntity:function(t,e,n){var r=h(t,e);return u(r,e,n)}};t.exports=_},function(t,e,n){"use strict";function r(t){return"[object Array]"===k.call(t)}function o(t){return"[object ArrayBuffer]"===k.call(t)}function i(t){return"undefined"!=typeof FormData&&t instanceof FormData}function a(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer}function u(t){return"string"==typeof t}function s(t){return"number"==typeof t}function c(t){return void 0===t}function l(t){return null!==t&&"object"==typeof t}function f(t){return"[object Date]"===k.call(t)}function p(t){return"[object File]"===k.call(t)}function d(t){return"[object Blob]"===k.call(t)}function h(t){return"[object Function]"===k.call(t)}function y(t){return l(t)&&h(t.pipe)}function g(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}function v(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function _(){return"undefined"!=typeof window&&"undefined"!=typeof document&&"function"==typeof document.createElement}function m(t,e){if(null!==t&&void 0!==t)if("object"==typeof t||r(t)||(t=[t]),r(t))for(var n=0,o=t.length;n<o;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}function b(){function t(t,n){"object"==typeof e[n]&&"object"==typeof t?e[n]=b(e[n],t):e[n]=t}for(var e={},n=0,r=arguments.length;n<r;n++)m(arguments[n],t);return e}function w(t,e,n){return m(e,function(e,r){t[r]=n&&"function"==typeof e?S(e,n):e}),t}var S=n(60),k=Object.prototype.toString;t.exports={isArray:r,isArrayBuffer:o,isFormData:i,isArrayBufferView:a,isString:u,isNumber:s,isObject:l,isUndefined:c,isDate:f,isFile:p,isBlob:d,isFunction:h,isStream:y,isURLSearchParams:g,isStandardBrowserEnv:_,forEach:m,merge:b,extend:w,trim:v}},function(t,e,n){"use strict";var r=function(t){if(null!=t)return t;throw new Error("Got unexpected null or undefined")};t.exports=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(2),u=a.Map,s=a.OrderedSet,c=a.Record,l=s(),f={style:l,entity:null},p=c(f),d=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(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 h;var n={style:l,entity:null},r=u(n).merge(t),o=y.get(r);if(o)return o;var i=new e(r);return y=y.set(r,i),i},e}(p),h=new d,y=u([[u(f),h]]);d.EMPTY=h,t.exports=d},function(t,e,n){"use strict";function r(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(t){console.error(t)}}r(),t.exports=n(218)},function(t,e,n){"use strict";function r(){for(var t=void 0;void 0===t||o.hasOwnProperty(t)||!isNaN(+t);)t=Math.floor(Math.random()*i).toString(32);return o[t]=!0,t}var o={},i=Math.pow(2,24);t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){if(t===n)return!0;if(!n.startsWith(t))return!1;var o=n.slice(t.length);return!!e&&(o=r?r(o):o,a.contains(o,e))}function o(t){return"Windows"===i.platformName?t.replace(/^\s*NT/,""):t}var i=n(201),a=n(202),u=n(215),s=n(97),c={isBrowser:function(t){return r(i.browserName,i.browserFullVersion,t)},isBrowserArchitecture:function(t){return r(i.browserArchitecture,null,t)},isDevice:function(t){return r(i.deviceName,null,t)},isEngine:function(t){return r(i.engineName,i.engineVersion,t)},isPlatform:function(t){return r(i.platformName,i.platformFullVersion,t,o)},isPlatformArchitecture:function(t){return r(i.platformArchitecture,null,t)}};t.exports=u(c,s)},function(t,e,n){"use strict";function r(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}/*
2
+ object-assign
3
+ (c) Sindre Sorhus
4
+ @license MIT
5
+ */
6
+ var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=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,u,s=r(t),c=1;c<arguments.length;c++){n=Object(arguments[c]);for(var l in n)i.call(n,l)&&(s[l]=n[l]);if(o){u=o(n);for(var f=0;f<u.length;f++)a.call(n,u[f])&&(s[u[f]]=n[u[f]])}}return s}},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";var r=n(132),o=n(20),i=n(7),a=n(133),u=n(14),s=n(37),c=n(38),l=n(65),f=n(135),p=n(66),d=n(25),h=n(4),y=n(67),g=n(1),v=n(39),_=n(71),m=n(21),b=n(152),w=n(72),S=n(153),k=n(9),E=n(73),C=n(176),x={Editor:f,EditorBlock:p,EditorState:g,CompositeDecorator:a,Entity:d,EntityInstance:y,BlockMapBuilder:o,CharacterMetadata:i,ContentBlock:u,ContentState:s,SelectionState:m,AtomicBlockUtils:r,KeyBindingUtil:v,Modifier:h,RichUtils:_,DefaultDraftBlockRenderMap:c,DefaultDraftInlineStyle:l,convertFromHTML:w,convertFromRaw:S,convertToRaw:b,genKey:k,getDefaultKeyBinding:E,getVisibleSelectionRect:C};t.exports=x},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}function a(t,e){return t.getStyle()===e.getStyle()}function u(t,e){return t.getEntity()===e.getEntity()}var s=n(2),c=n(27),l=s.List,f=s.Map,p=s.OrderedSet,d=s.Record,h=p(),y={key:"",type:"unstyled",text:"",characterList:l(),depth:0,data:f()},g=d(y),v=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(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():h},e.prototype.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},e.prototype.findStyleRanges=function(t,e){c(this.getCharacterList(),a,t,e)},e.prototype.findEntityRanges=function(t,e){c(this.getCharacterList(),u,t,e)},e}(g);t.exports=v},function(t,e,n){"use strict";function r(t){return p<=t&&t<=y}function o(t,e){if(0<=e&&e<t.length||f(!1),e+1===t.length)return!1;var n=t.charCodeAt(e),r=t.charCodeAt(e+1);return p<=n&&n<=d&&h<=r&&r<=y}function i(t){return g.test(t)}function a(t,e){return 1+r(t.charCodeAt(e))}function u(t){if(!i(t))return t.length;for(var e=0,n=0;n<t.length;n+=a(t,n))e++;return e}function s(t,e,n){if(e=e||0,n=void 0===n?1/0:n||0,!i(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+=a(t,o);if(o>=r)return""}else if(e<0){for(o=r;e<0&&0<o;e++)o-=a(t,o-1);o<0&&(o=0)}var u=r;if(n<r)for(u=o;n>0&&u<r;n--)u+=a(t,u);return t.substring(o,u)}function c(t,e,n){e=e||0,n=void 0===n?1/0:n||0,e<0&&(e=0),n<0&&(n=0);var r=Math.abs(n-e);return e=e<n?e:n,s(t,e,r)}function l(t){for(var e=[],n=0;n<t.length;n+=a(t,n))e.push(t.codePointAt(n));return e}var f=n(0),p=55296,d=56319,h=56320,y=57343,g=/[\uD800-\uDFFF]/,v={getCodePoints:l,getUTF16Length:a,hasSurrogateUnit:i,isCodeUnitInSurrogateRange:r,isSurrogatePair:o,strlen:u,substring:c,substr:s};t.exports=v},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},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";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(262),i=r(o),a=n(260),u=r(a),s=n(224),c=r(s);e.default=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":(0,c.default)(e)));t.prototype=(0,u.default)(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(i.default?(0,i.default)(t,e):t.__proto__=e)}},function(t,e,n){"use strict";e.__esModule=!0;var r=n(224),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":(0,o.default)(e))&&"function"!=typeof e?t:e}},function(t,e,n){"use strict";var r=n(2),o=r.OrderedMap,i={createFromArray:function(t){return o(t.map(function(t){return[t.getKey(),t]}))}};t.exports=i},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(2),u=a.Record,s={anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1},c=u(s),l=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(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}(c);t.exports=l},function(t,e,n){"use strict";function r(t,e,n){var r=t.getSelection(),i=t.getCurrentContent(),a=r;if(r.isCollapsed()){if("forward"===n){if(t.isSelectionAtEndOfContent())return i}else if(t.isSelectionAtStartOfContent())return i;if((a=e(t))===r)return i}return o.removeRange(i,a,n)}var o=n(4);t.exports=r},function(t,e,n){"use strict";function r(t){return"object"==typeof t?Object.keys(t).filter(function(e){return t[e]}).map(o).join(" "):Array.prototype.map.call(arguments,o).join(" ")}function o(t){return t.replace(/\//g,"-")}t.exports=r},function(t,e,n){"use strict";e.__esModule=!0,e.addNewBlockAt=e.updateTextOfBlock=e.updateDataOfBlock=e.resetBlockWithType=e.addNewBlock=e.getCurrentBlock=e.getNode=e.getDefaultBlockData=void 0;var r=n(88),o=n(13),i=e.getDefaultBlockData=function(t){return arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}},a=(e.getNode=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,e=null;return t.getSelection?e=t.getSelection():t.document.getSelection?e=t.document.getSelection():t.document.selection&&(e=t.document.selection.createRange().text),e},e.getCurrentBlock=function(t){var e=t.getSelection();return t.getCurrentContent().getBlockForKey(e.getStartKey())});e.addNewBlock=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"unstyled",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.getSelection();if(!r.isCollapsed())return t;var u=t.getCurrentContent(),s=r.getStartKey(),c=u.getBlockMap(),l=a(t);if(!l)return t;if(0===l.getLength()){if(l.getType()===e)return t;var f=l.merge({type:e,data:i(e,n)}),p=u.merge({blockMap:c.set(s,f),selectionAfter:r});return o.EditorState.push(t,p,"change-block-type")}return t},e.resetBlockWithType=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"unstyled",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.getCurrentContent(),a=t.getSelection(),u=a.getStartKey(),s=r.getBlockMap(),c=s.get(u),l="";console.log("DATA FOR PLACEHOLDER!",n);var f=c.getText();c.getLength()>=2&&(l=f.substr(1));var p=c.merge({text:l,type:e,data:i(e,n)}),d=r.merge({blockMap:s.set(u,p),selectionAfter:a.merge({anchorOffset:0,focusOffset:0})});return o.EditorState.push(t,d,"change-block-type")},e.updateDataOfBlock=function(t,e,n){var r=t.getCurrentContent(),i=e.merge({data:n}),a=r.merge({blockMap:r.getBlockMap().set(e.getKey(),i)});return o.EditorState.push(t,a,"change-block-type")},e.updateTextOfBlock=function(t,e,n){var r=t.getCurrentContent(),i=e.merge({text:n}),a=r.merge({blockMap:r.getBlockMap().set(e.getKey(),i)});return o.EditorState.push(t,a,"change-block-type")},e.addNewBlockAt=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"unstyled",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},u=t.getCurrentContent(),s=u.getBlockMap(),c=s.get(e),l=s.toSeq().takeUntil(function(t){return t===c}),f=s.toSeq().skipUntil(function(t){return t===c}).rest(),p=(0,o.genKey)(),d=new o.ContentBlock({key:p,type:n,text:"",characterList:c.getCharacterList().slice(0,0),depth:0,data:(0,r.Map)(i(n,a))}),h=l.concat([[e,c],[p,d]],f).toOrderedMap(),y=t.getSelection(),g=u.merge({blockMap:h,selectionBefore:y,selectionAfter:y.merge({anchorKey:p,anchorOffset:0,focusKey:p,focusOffset:0,isBackward:!1})});return o.EditorState.push(t,g,"split-block")}},function(t,e,n){"use strict";function r(t,e){console.warn("WARNING: "+t+' will be deprecated soon!\nPlease use "'+e+'" instead.')}var o=n(11),i=o||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},a=n(67),u=n(2),s=n(0),c=u.Map,l=c(),f=0,p={getLastCreatedEntityKey:function(){return r("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),p.__getLastCreatedEntityKey()},create:function(t,e,n){return r("DraftEntity.create","contentState.createEntity"),p.__create(t,e,n)},add:function(t){return r("DraftEntity.add","contentState.addEntity"),p.__add(t)},get:function(t){return r("DraftEntity.get","contentState.getEntity"),p.__get(t)},mergeData:function(t,e){return r("DraftEntity.mergeData","contentState.mergeEntityData"),p.__mergeData(t,e)},replaceData:function(t,e){return r("DraftEntity.replaceData","contentState.replaceEntityData"),p.__replaceData(t,e)},__getLastCreatedEntityKey:function(){return""+f},__create:function(t,e,n){return p.__add(new a({type:t,mutability:e,data:n||{}}))},__add:function(t){var e=""+ ++f;return l=l.set(e,t),e},__get:function(t){var e=l.get(t);return e||s(!1),e},__mergeData:function(t,e){var n=p.__get(t),r=i({},n.getData(),e),o=n.set("data",r);return l=l.set(t,o),o},__replaceData:function(t,e){var n=p.__get(t),r=n.set("data",e);return l=l.set(t,r),r}};t.exports=p},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){"use strict";function r(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())}}t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=e.getStartKey(),r=e.getStartOffset(),a=e.getEndKey(),u=e.getEndOffset(),s=i(t,e),c=s.getBlockMap(),l=c.keySeq(),f=l.indexOf(n),p=l.indexOf(a)+1;return c.slice(f,p).map(function(t,e){var i=o(),s=t.getText(),c=t.getCharacterList();return n===a?t.merge({key:i,text:s.slice(r,u),characterList:c.slice(r,u)}):e===n?t.merge({key:i,text:s.slice(r),characterList:c.slice(r)}):e===a?t.merge({key:i,text:s.slice(0,u),characterList:c.slice(0,u)}):t.set("key",i)}).toOrderedMap()}var o=n(9),i=n(84);t.exports=r},function(t,e,n){"use strict";function r(t){return"handled"===t||!0===t}t.exports=r},function(t,e,n){"use strict";function r(t,e){return!(!t||!e)&&(t===e||!o(t)&&(o(e)?r(t,e.parentNode):"contains"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}var o=n(213);t.exports=r},function(t,e){var n=t.exports={version:"2.5.1"};"number"==typeof __e&&(__e=n)},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){"use strict";(function(e){function r(t,e){!o.isUndefined(t)&&o.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var o=n(5),i=n(113),a=/^\)\]\}',?\n/,u={"Content-Type":"application/x-www-form-urlencoded"},s={adapter:function(){var t;return"undefined"!=typeof XMLHttpRequest?t=n(56):void 0!==e&&(t=n(56)),t}(),transformRequest:[function(t,e){return i(e,"Content-Type"),o.isFormData(t)||o.isArrayBuffer(t)||o.isStream(t)||o.isFile(t)||o.isBlob(t)?t:o.isArrayBufferView(t)?t.buffer:o.isURLSearchParams(t)?(r(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):o.isObject(t)?(r(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t){t=t.replace(a,"");try{t=JSON.parse(t)}catch(t){}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(t){s.headers[t]={}}),o.forEach(["post","put","patch"],function(t){s.headers[t]=o.merge(u)}),t.exports=s}).call(e,n(89))},function(t,e,n){t.exports=!n(62)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(61),o=n(228),i=n(129),a=Object.defineProperty;e.f=n(34)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(20),u=n(7),s=n(14),c=n(25),l=n(2),f=n(21),p=n(9),d=n(43),h=l.List,y=l.Record,g=l.Repeat,v={entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null},_=y(v),m=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(e,t),e.prototype.getEntityMap=function(){return c},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 c.__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 c.__create(t,e,n),this},e.prototype.mergeEntityData=function(t,e){return c.__mergeData(t,e),this},e.prototype.replaceEntityData=function(t,e){return c.__replaceData(t,e),this},e.prototype.addEntity=function(t){return c.__add(t),this},e.prototype.getEntity=function(t){return c.__get(t)},e.createFromBlockArray=function(t,n){var r=Array.isArray(t)?t:t.contentBlocks,o=a.createFromArray(r),i=o.isEmpty()?new f:f.createEmpty(o.first().getKey());return new e({blockMap:o,entityMap:n||c,selectionBefore:i,selectionAfter:i})},e.createFromText=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,r=t.split(n),o=r.map(function(t){return t=d(t),new s({key:p(),text:t,type:"unstyled",characterList:h(g(u.EMPTY,t.length))})});return e.createFromBlockArray(o)},e}(_);t.exports=m},function(t,e,n){"use strict";var r=n(2),o=r.Map,i=n(3),a=n(23),u=i.createElement("ul",{className:a("public/DraftStyleDefault/ul")}),s=i.createElement("ol",{className:a("public/DraftStyleDefault/ol")}),c=i.createElement("pre",{className:a("public/DraftStyleDefault/pre")}),l=o({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},"unordered-list-item":{element:"li",wrapper:u},"ordered-list-item":{element:"li",wrapper:s},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:c},unstyled:{element:"div",aliasedElements:["p"]}});t.exports=l},function(t,e,n){"use strict";var r=n(10),o=r.isPlatform("Mac OS X"),i={isCtrlKeyCommand:function(t){return!!t.ctrlKey&&!t.altKey},isOptionKeyCommand:function(t){return o&&t.altKey},hasCommandModifier:function(t){return o?!!t.metaKey&&!t.altKey:i.isCtrlKeyCommand(t)}};t.exports=i},function(t,e,n){"use strict";function r(t){for(var e=t;e&&e!==document.documentElement;){var n=o(e);if(null!=n)return n;e=e.parentNode}return null}var o=n(78);t.exports=r},function(t,e,n){"use strict";function r(t,e){var n;if(e.isCollapsed()){var r=e.getAnchorKey(),i=e.getAnchorOffset();return i>0?(n=t.getBlockForKey(r).getEntityAt(i-1),o(t.getEntityMap(),n)):null}var a=e.getStartKey(),u=e.getStartOffset(),s=t.getBlockForKey(a);return n=u===s.getLength()?null:s.getEntityAt(u),o(t.getEntityMap(),n)}function o(t,e){if(e){return"MUTABLE"===t.__get(e).getMutability()?e:null}return null}t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=t.getSelection(),r=t.getCurrentContent(),o=n.getStartKey(),i=n.getStartOffset(),a=o,u=0;if(e>i){var s=r.getKeyBefore(o);if(null==s)a=o;else{a=s;u=r.getBlockForKey(s).getText().length}}else u=i-e;return n.merge({focusKey:a,focusOffset:u,isBackward:!0})}t.exports=r},function(t,e,n){"use strict";function r(t){return t.replace(o,"")}var o=new RegExp("\r","g");t.exports=r},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){var n=i.get(t,e);return"auto"===n||"scroll"===n}var o=n(209),i={get:o,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=i},function(t,e,n){"use strict";function r(t){return t===l||t===f}function o(t){return r(t)||c(!1),t===l?"ltr":"rtl"}function i(t,e){return r(t)||c(!1),r(e)||c(!1),t===e?null:o(t)}function a(t){p=t}function u(){a(l)}function s(){return p||this.initGlobalDir(),p||c(!1),p}var c=n(0),l="LTR",f="RTL",p=null,d={NEUTRAL:"NEUTRAL",LTR:l,RTL:f,isStrong:r,getHTMLDir:o,getHTMLDirIfDifferent:i,setGlobalDir:a,initGlobalDir:u,getGlobalDir:s};t.exports=d},function(t,e,n){"use strict";function r(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}}t.exports=r},function(t,e,n){"use strict";function r(t){var e=o(t.ownerDocument||t.document);t.Window&&t instanceof t.Window&&(t=e);var n=i(t),r=t===e?t.ownerDocument.documentElement:t,a=t.scrollWidth-r.clientWidth,u=t.scrollHeight-r.clientHeight;return n.x=Math.max(0,Math.min(n.x,a)),n.y=Math.max(0,Math.min(n.y,u)),n}var o=n(206),i=n(210);t.exports=r},function(t,e,n){t.exports=n(99)},function(t,e,n){var r=n(32),o=n(31),i=n(226),a=n(51),u=function(t,e,n){var s,c,l,f=t&u.F,p=t&u.G,d=t&u.S,h=t&u.P,y=t&u.B,g=t&u.W,v=p?o:o[e]||(o[e]={}),_=v.prototype,m=p?r:d?r[e]:(r[e]||{}).prototype;p&&(n=e);for(s in n)(c=!f&&m&&void 0!==m[s])&&s in v||(l=c?m[s]:n[s],v[s]=p&&"function"!=typeof m[s]?n[s]:y&&c?i(l,r):g&&m[s]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):h&&"function"==typeof l?i(Function.call,l):l,h&&((v.virtual||(v.virtual={}))[s]=l,t&u.R&&_&&!_[s]&&a(_,s,l)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e,n){var r=n(36),o=n(92);t.exports=n(34)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(229),o=n(119);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(127)("wks"),o=n(93),i=n(32).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},function(t,e,n){"use strict";var r={};t.exports=r},function(t,e,n){"use strict";var r=function(t,e,n,r,o,i,a,u){if(!t){var s;if(void 0===e)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,u],l=0;s=new Error(e.replace(/%s/g,function(){return c[l++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}};t.exports=r},function(t,e,n){"use strict";var r=n(5),o=n(105),i=n(108),a=n(114),u=n(112),s=n(59),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(107);t.exports=function(t){return new Promise(function(e,l){var f=t.data,p=t.headers;r.isFormData(f)&&delete p["Content-Type"];var d=new XMLHttpRequest,h="onreadystatechange",y=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in d||u(t.url)||(d=new window.XDomainRequest,h="onload",y=!0,d.onprogress=function(){},d.ontimeout=function(){}),t.auth){var g=t.auth.username||"",v=t.auth.password||"";p.Authorization="Basic "+c(g+":"+v)}if(d.open(t.method.toUpperCase(),i(t.url,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,d[h]=function(){if(d&&(4===d.readyState||y)&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in d?a(d.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?d.response:d.responseText,i={data:r,status:1223===d.status?204:d.status,statusText:1223===d.status?"No Content":d.statusText,headers:n,config:t,request:d};o(e,l,i),d=null}},d.onerror=function(){l(s("Network Error",t)),d=null},d.ontimeout=function(){l(s("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED")),d=null},r.isStandardBrowserEnv()){var _=n(110),m=(t.withCredentials||u(t.url))&&t.xsrfCookieName?_.read(t.xsrfCookieName):void 0;m&&(p[t.xsrfHeaderName]=m)}if("setRequestHeader"in d&&r.forEach(p,function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete p[e]:d.setRequestHeader(e,t)}),t.withCredentials&&(d.withCredentials=!0),t.responseType)try{d.responseType=t.responseType}catch(t){if("json"!==d.responseType)throw t}"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){d&&(d.abort(),l(t),d=null)}),void 0===f&&(f=null),d.send(f)})}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";var r=n(104);t.exports=function(t,e,n,o){var i=new Error(t);return r(i,e,n,o)}},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},function(t,e,n){var r=n(63);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){"use strict";function r(t,e){var n=[],r=t.map(function(t){return t.getStyle()}).toList();return u(r,o,f,function(t,r){n.push(new d({start:t+e,end:r+e}))}),s(n)}function o(t,e){return t===e}var i=n(2),a=n(17),u=n(27),s=i.List,c=i.Repeat,l=i.Record,f=a.thatReturnsTrue,p={start:null,end:null},d=l(p),h={start:null,end:null,decoratorKey:null,leaves:null},y=l(h),g={generate:function(t,e,n){var i=e.getLength();if(!i)return s.of(new y({start:0,end:0,decoratorKey:null,leaves:s.of(new d({start:0,end:0}))}));var a=[],l=n?n.getDecorations(e,t):s(c(null,i)),p=e.getCharacterList();return u(l,o,f,function(t,e){a.push(new y({start:t,end:e,decoratorKey:l.get(t),leaves:r(p.slice(t,e).toList(),t)}))}),s(a)},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("-")}};t.exports=g},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";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}function a(t,e){return t.getAnchorKey()===e||t.getFocusKey()===e}var u=n(11),s=u||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},c=n(140),l=n(26),f=n(3),p=n(8),d=n(86),h=n(45),y=n(87),g=n(46),v=n(23),_=n(207),m=n(48),b=n(211),w=n(0),S=n(6),k=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(e,t),e.prototype.shouldComponentUpdate=function(t){return this.props.block!==t.block||this.props.tree!==t.tree||this.props.direction!==t.direction||a(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,r=p.findDOMNode(this),o=h.getScrollParent(r),i=m(o);if(o===window){var a=_(r);n=a.y+a.height-b().height,n>0&&window.scrollTo(i.x,i.y+n+10)}else{r instanceof HTMLElement||w(!1);n=r.offsetHeight+r.offsetTop-(o.offsetHeight+i.y),n>0&&d.setTop(o,d.getTop(o)+n+10)}}},e.prototype._renderChildren=function(){var t=this,e=this.props.block,n=e.getKey(),r=e.getText(),o=this.props.tree.size-1,i=a(this.props.selection,n);return this.props.tree.map(function(a,u){var p=a.get("leaves"),d=p.size-1,h=p.map(function(a,s){var p=l.encode(n,u,s),h=a.get("start"),y=a.get("end");return f.createElement(c,{key:p,offsetKey:p,block:e,start:h,selection:i?t.props.selection:void 0,forceSelection:t.props.forceSelection,text:r.slice(h,y),styleSet:e.getInlineStyleAt(h),customStyleMap:t.props.customStyleMap,customStyleFn:t.props.customStyleFn,isLast:u===o&&s===d})}).toArray(),v=a.get("decoratorKey");if(null==v)return h;if(!t.props.decorator)return h;var _=S(t.props.decorator),m=_.getComponentForKey(v);if(!m)return h;var b=_.getPropsForKey(v),w=l.encode(n,u,0),k=r.slice(p.first().get("start"),p.last().get("end")),E=g.getHTMLDirIfDifferent(y.getDirection(k),t.props.direction);return f.createElement(m,s({},b,{contentState:t.props.contentState,decoratedText:k,dir:E,key:w,entityKey:e.getEntityAt(a.get("start")),offsetKey:w}),h)}).toArray()},e.prototype.render=function(){var t=this.props,e=t.direction,n=t.offsetKey,r=v({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===e,"public/DraftStyleDefault/rtl":"RTL"===e});return f.createElement("div",{"data-offset-key":n,className:r},this._renderChildren())},e}(f.Component);t.exports=k},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(2),u=a.Record,s=u({type:"TOKEN",mutability:"IMMUTABLE",data:Object}),c=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(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}(s);t.exports=c},function(t,e,n){"use strict";var r=n(144);t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=e?l.exec(t):s.exec(t);return n?n[0]:t}var o=n(198),i=o.getPunctuation(),a="\\s|(?![_])"+i,u="^(?:"+a+")*(?:['‘’]|(?!"+a+").)*(?:(?!"+a+").)",s=new RegExp(u),c="(?:(?!"+a+").)(?:['‘’]|(?!"+a+").)*(?:"+a+")*$",l=new RegExp(c),f={getBackward:function(t){return r(t,!0)},getForward:function(t){return r(t,!1)}};t.exports=f},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){"use strict";var r=n(4),o=n(1),i=(n(21),n(149)),a=n(6),u={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 u.toggleInlineStyle(t,"BOLD");case"italic":return u.toggleInlineStyle(t,"ITALIC");case"underline":return u.toggleInlineStyle(t,"UNDERLINE");case"code":return u.toggleCode(t);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return u.onBackspace(t);case"delete":case"delete-word":case"delete-to-end-of-block":return u.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()),s=n.merge({blockMap:a,selectionAfter:e});if(s!==n)return o.push(t,s,"remove-range")}var c=u.tryToRemoveBlockStyle(t);return c?o.push(t,c,"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),u=a.getLength();if(e.getStartOffset()<u)return null;var s=n.getBlockAfter(i);if(!s||"atomic"!==s.getType())return null;var c=e.merge({focusKey:s.getKey(),focusOffset:s.getLength()}),l=r.removeRange(n,c,"forward");return l!==n?o.push(t,l,"remove-range"):null},onTab:function(t,e,n){var r=e.getSelection(),a=r.getAnchorKey();if(a!==r.getFocusKey())return e;var u=e.getCurrentContent(),s=u.getBlockForKey(a),c=s.getType();if("unordered-list-item"!==c&&"ordered-list-item"!==c)return e;t.preventDefault();var l=u.getBlockBefore(a);if(!l)return e;var f=l.getType();if("unordered-list-item"!==f&&"ordered-list-item"!==f)return e;var p=s.getDepth();if(!t.shiftKey&&p===n)return e;n=Math.min(l.getDepth()+1,n);var d=i(u,r,t.shiftKey?-1:1,n);return o.push(e,d,"adjust-depth")},toggleBlockType:function(t,e){var n=t.getSelection(),i=n.getStartKey(),u=n.getEndKey(),s=t.getCurrentContent(),c=n;if(i!==u&&0===n.getEndOffset()){var l=a(s.getBlockBefore(u));u=l.getKey(),c=c.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:u,focusOffset:l.getLength(),isBackward:!1})}if(s.getBlockMap().skipWhile(function(t,e){return e!==i}).reverse().skipWhile(function(t,e){return e!==u}).some(function(t){return"atomic"===t.getType()}))return t;var f=s.getBlockForKey(i).getType()===e?"unstyled":e;return o.push(t,r.setBlockType(s,c,f),"change-block-type")},toggleCode:function(t){var e=t.getSelection(),n=e.getAnchorKey(),r=e.getFocusKey();return e.isCollapsed()||n!==r?u.toggleBlockType(t,"code-block"):u.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,u=t.getCurrentContent();return a=i.has(e)?r.removeInlineStyle(u,n,e):r.applyInlineStyle(u,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);if(a.getLength()>0)return null;var u=a.getType(),s=i.getBlockBefore(o);if("code-block"===u&&s&&"code-block"===s.getType())return null;if("unstyled"!==u)return r.setBlockType(i,e,"unstyled")}return null}};t.exports=u},function(t,e,n){"use strict";function r(){return{text:"",inlines:[],entities:[],blocks:[]}}function o(t){var e=new Array(1);return t&&(e[0]=t),{text:N,inlines:[P()],entities:e,blocks:[]}}function i(){return{text:"\n",inlines:[P()],entities:new Array(1),blocks:[]}}function a(t,e){return{text:"\r",inlines:[P()],entities:new Array(1),blocks:[{type:t,depth:Math.max(0,Math.min(R,e))}]}}function u(t,e){return"li"===t?"ol"===e?"ordered-list-item":"unordered-list-item":null}function s(t){var e=t.get("unstyled").element,n=C([]);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()}function c(t,e,n){for(var r=0;r<n.length;r++){var o=n[r](t,e);if(o)return o}return null}function l(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 c(t,e,[u])||"unstyled"}}function f(t,e,n){var r=H[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;K.indexOf(e)>=0?t.add("BOLD"):j.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}function p(t,e){var n=t.text.slice(-1),r=e.text.slice(0,1);if("\r"===n&&"\r"===r&&(t.text=t.text.slice(0,-1),t.inlines.pop(),t.entities.pop(),t.blocks.pop()),"\r"===n){if(e.text===N||"\n"===e.text)return t;r!==N&&"\n"!==r||(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)}}function d(t,e){return e.some(function(e){return-1!==t.indexOf("<"+e)})}function h(t){t instanceof HTMLAnchorElement||D(!1);var e=t.protocol;return"http:"===e||"https:"===e||"mailto:"===e}function y(t,e,n,u,s,c,d,g,v){var m=e.nodeName.toLowerCase(),b=!1,w="unstyled",k=_,E=t;if("#text"===m){var C=e.textContent;return""===C.trim()&&"pre"!==s?{chunk:o(v),entityMap:t}:("pre"!==s&&(C=C.replace(F,N)),_=m,{chunk:{text:C,inlines:Array(C.length).fill(n),entities:Array(C.length).fill(v),blocks:[]},entityMap:t})}if(_=m,"br"===m)return"br"!==k||s&&"unstyled"!==l(s,u,g)?{chunk:i(),entityMap:t}:{chunk:a("unstyled",d),entityMap:t};if("img"===m&&e instanceof HTMLImageElement&&e.attributes.getNamedItem("src")&&e.attributes.getNamedItem("src").value){var O=e,T={};W.forEach(function(t){var e=O.getAttribute(t);e&&(T[t]=e)}),e.textContent="📷",v=S.__create("IMAGE","MUTABLE",T||{})}var D=r(),M=null;n=f(m,e,n),"ul"!==m&&"ol"!==m||(u&&(d+=1),u=m),s||-1===c.indexOf(m)?u&&"li"===s&&"li"===m&&(D=a(l(m,u,g),d),s=m,b=!0,w="ul"===u?"unordered-list-item":"ordered-list-item"):(D=a(l(m,u,g),d),s=m,b=!0);var I=e.firstChild;null!=I&&(m=I.nodeName.toLowerCase());for(var A=null;I;){I instanceof HTMLAnchorElement&&I.href&&h(I)?function(){var t=I,e={};q.forEach(function(n){var r=t.getAttribute(n);r&&(e[n]=r)}),e.url=new x(t.href).toString(),A=S.__create("LINK","MUTABLE",e||{})}():A=void 0;var P=y(E,I,n,u,s,c,d,g,A||v),R=P.chunk,L=P.entityMap;M=R,E=L,D=p(D,M);var B=I.nextSibling;B&&c.indexOf(m)>=0&&s&&(D=p(D,i())),B&&(m=B.nodeName.toLowerCase()),I=B}return b&&(D=p(D,a(w,d))),{chunk:D,entityMap:E}}function g(t,e,n,r){t=t.trim().replace(L,"").replace(B,N).replace(z,"").replace(U,"");var o=s(n),i=e(t);if(!i)return null;_=null;var a=d(t,o)?o:["div"],u=y(r,i,P(),"ul",null,a,-1,n),c=u.chunk,l=u.entityMap;return 0===c.text.indexOf("\r")&&(c={text:c.text.slice(1),inlines:c.inlines.slice(1),entities:c.entities.slice(1),blocks:c.blocks}),"\r"===c.text.slice(-1)&&(c.text=c.text.slice(0,-1),c.inlines=c.inlines.slice(0,-1),c.entities=c.entities.slice(0,-1),c.blocks.pop()),0===c.blocks.length&&c.blocks.push({type:"unstyled",depth:0}),c.text.split("\r").length===c.blocks.length+1&&c.blocks.unshift({type:"unstyled",depth:0}),{chunk:c,entityMap:l}}function v(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:w,r=g(t,e,n,S);if(null==r)return null;var o=r.chunk,i=r.entityMap,a=0;return{contentBlocks:o.text.split("\r").map(function(t,e){t=I(t);var n=a+t.length,r=M(o).inlines.slice(a,n),i=M(o).entities.slice(a,n),u=A(r.map(function(t,e){var n={style:t,entity:null};return i[e]&&(n.entity=i[e]),m.create(n)}));return a=n+1,new b({key:O(),type:M(o).blocks[e].type,depth:M(o).blocks[e].depth,text:t,characterList:u})}),entityMap:i}}var _,m=n(7),b=n(14),w=n(38),S=n(25),k=n(2),E=n(2),C=E.Set,x=n(199),O=n(9),T=n(77),D=n(0),M=n(6),I=n(43),A=k.List,P=k.OrderedSet,N=" ",R=4,L=new RegExp("\r","g"),F=new RegExp("\n","g"),B=new RegExp("&nbsp;","g"),z=new RegExp("&#13;?","g"),U=new RegExp("&#8203;?","g"),K=["bold","bolder","500","600","700","800","900"],j=["light","lighter","100","200","300","400"],H={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},q=["className","href","rel","target","title"],W=["alt","className","height","src","width"];t.exports=v},function(t,e,n){"use strict";function r(t){return f&&t.altKey||y(t)}function o(t){return h(t)?t.shiftKey?"redo":"undo":null}function i(t){return p&&t.shiftKey?null:r(t)?"delete-word":"delete"}function a(t){return h(t)&&f?"backspace-to-start-of-line":r(t)?"backspace-word":"backspace"}function u(t){switch(t.keyCode){case 66:return h(t)?"bold":null;case 68:return y(t)?"delete":null;case 72:return y(t)?"backspace":null;case 73:return h(t)?"italic":null;case 74:return h(t)?"code":null;case 75:return!p&&y(t)?"secondary-cut":null;case 77:case 79:return y(t)?"split-block":null;case 84:return f&&y(t)?"transpose-characters":null;case 85:return h(t)?"underline":null;case 87:return f&&y(t)?"backspace-word":null;case 89:return y(t)?p?"redo":"secondary-paste":null;case 90:return o(t)||null;case c.RETURN:return"split-block";case c.DELETE:return i(t);case c.BACKSPACE:return a(t);case c.LEFT:return d&&h(t)?"move-selection-to-start-of-block":null;case c.RIGHT:return d&&h(t)?"move-selection-to-end-of-block":null;default:return null}}var s=n(39),c=n(44),l=n(10),f=l.isPlatform("Mac OS X"),p=l.isPlatform("Windows"),d=f&&l.isBrowser("Firefox < 29"),h=s.hasCommandModifier,y=s.isCtrlKeyCommand;t.exports=u},function(t,e,n){"use strict";function r(t,e,n,r,o,i){var u=n.nodeType===Node.TEXT_NODE,c=o.nodeType===Node.TEXT_NODE;if(u&&c)return{selectionState:l(t,p(s(n)),r,p(s(o)),i),needsRecovery:!1};var f=null,d=null,h=!0;return u?(f={key:p(s(n)),offset:r},d=a(e,o,i)):c?(d={key:p(s(o)),offset:i},f=a(e,n,r)):(f=a(e,n,r),d=a(e,o,i),n===o&&r===i&&(h=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:l(t,f.key,f.offset,d.key,d.offset),needsRecovery:h}}function o(t){for(;t.firstChild&&c(t.firstChild);)t=t.firstChild;return t}function i(t){for(;t.lastChild&&c(t.lastChild);)t=t.lastChild;return t}function a(t,e,n){var r=e,a=s(r);if(null!=a||t&&(t===r||t.firstChild===r)||f(!1),t===r&&(r=r.firstChild,r instanceof Element&&"true"===r.getAttribute("data-contents")||f(!1),n>0&&(n=r.childNodes.length)),0===n){var l=null;if(null!=a)l=a;else{var d=o(r);l=p(c(d))}return{key:l,offset:0}}var h=r.childNodes[n-1],y=null,g=null;if(c(h)){var v=i(h);y=p(c(v)),g=u(v)}else y=p(a),g=u(h);return{key:y,offset:g}}function u(t){var e=t.textContent;return"\n"===e?0:e.length}var s=n(40),c=n(78),l=n(80),f=n(0),p=n(6);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.getSelection();return e.isCollapsed()?null:o(t.getCurrentContent(),e)}var o=n(28);t.exports=r},function(t,e,n){"use strict";function r(t){for(var e=t.cloneRange(),n=[],r=t.endContainer;null!=r;r=r.parentNode){var o=r===t.commonAncestorContainer;o?e.setStart(t.startContainer,t.startOffset):e.setStart(e.endContainer,0);var a=Array.from(e.getClientRects());if(n.push(a),o){var u;return n.reverse(),(u=[]).concat.apply(u,n)}e.setEndBefore(r)}i(!1)}var o=n(10),i=n(0),a=o.isBrowser("Chrome"),u=a?r:function(t){return Array.from(t.getClientRects())};t.exports=u},function(t,e,n){"use strict";function r(t){var e,n=null;return!a&&document.implementation&&document.implementation.createHTMLDocument&&(e=document.implementation.createHTMLDocument("foo"),e.documentElement||i(!1),e.documentElement.innerHTML=t,n=e.getElementsByTagName("body")[0]),n}var o=n(10),i=n(0),a=o.isBrowser("IE <= 9");t.exports=r},function(t,e,n){"use strict";function r(t){if(t instanceof Element){var e=t.getAttribute("data-offset-key");if(e)return e;for(var n=0;n<t.childNodes.length;n++){var o=r(t.childNodes[n]);if(o)return o}}return null}t.exports=r},function(t,e,n){"use strict";(function(e){function r(t,e){var n=0,r=[];t.forEach(function(i){o(i,function(o){n++,o&&r.push(o.slice(0,s)),n==t.length&&e(r.join("\r"))})})}function o(t,n){if(!e.FileReader||t.type&&!(t.type in u))return void n("");if(""===t.type){var r="";return a.test(t.name)&&(r=t.name.replace(a,"")),void n(r)}var o=new FileReader;o.onload=function(){var t=o.result;"string"!=typeof t&&i(!1),n(t)},o.onerror=function(){n("")},o.readAsText(t)}var i=n(0),a=/\.textClipping$/,u={"text/plain":!0,"text/html":!0,"text/rtf":!0},s=5e3;t.exports=r}).call(e,n(12))},function(t,e,n){"use strict";function r(t,e,n,r,a){var u=i(t.getSelection()),s=o.decode(e),c=s.blockKey,l=t.getBlockTree(c).getIn([s.decoratorKey,"leaves",s.leafKey]),f=o.decode(r),p=f.blockKey,d=t.getBlockTree(p).getIn([f.decoratorKey,"leaves",f.leafKey]),h=l.get("start"),y=d.get("start"),g=l?h+n:null,v=d?y+a:null;if(u.getAnchorKey()===c&&u.getAnchorOffset()===g&&u.getFocusKey()===p&&u.getFocusOffset()===v)return u;var _=!1;if(c===p){var m=l.get("end"),b=d.get("end");_=y===h&&b===m?a<n:y<h}else{_=t.getCurrentContent().getBlockMap().keySeq().skipUntil(function(t){return t===c||t===p}).first()===p}return u.merge({anchorKey:c,anchorOffset:g,focusKey:p,focusOffset:v,isBackward:_})}var o=n(26),i=n(6);t.exports=r},function(t,e,n){"use strict";function r(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}t.exports=r},function(t,e,n){"use strict";function r(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}t.exports=r},function(t,e,n){"use strict";function r(t,e){var n,r=t.getSelection(),o=r.getStartKey(),i=r.getStartOffset(),a=t.getCurrentContent(),u=o;return e>a.getBlockForKey(o).getText().length-i?(u=a.getKeyAfter(o),n=0):n=i+e,r.merge({focusKey:u,focusOffset:n})}t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=t.getBlockMap(),r=t.getEntityMap(),o={},a=e.getStartKey(),u=e.getStartOffset(),s=n.get(a),c=i(r,s,u);c!==s&&(o[a]=c);var l=e.getEndKey(),f=e.getEndOffset(),p=n.get(l);a===l&&(p=c);var d=i(r,p,f);return d!==p&&(o[l]=d),Object.keys(o).length?t.merge({blockMap:n.merge(o),selectionAfter:e}):t.set("selectionAfter",e)}function o(t,e,n){var r;return u(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&&s(!1),r}function i(t,e,n){var r=e.getCharacterList(),i=n>0?r.get(n-1):void 0,u=n<r.count()?r.get(n):void 0,s=i?i.getEntity():void 0,c=u?u.getEntity():void 0;if(c&&c===s){if("MUTABLE"!==t.__get(c).getMutability()){for(var l,f=o(r,c,n),p=f.start,d=f.end;p<d;)l=r.get(p),r=r.set(p,a.applyEntity(l,null)),p++;return e.set("characterList",r)}}return e}var a=n(7),u=n(27),s=n(0);t.exports=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t){if("file"==t.kind)return t.getAsFile()}var i=n(197),a=n(204),u=n(17),s=new RegExp("\r\n","g"),c={"text/rtf":1,"text/html":1},l=function(){function t(e){r(this,t),this.data=e,this.types=e.types?a(e.types):[]}return t.prototype.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some(function(t){return c[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(s,"\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(){if(this.data.getData){if(-1!=this.types.indexOf("text/x-moz-url")){return this.data.getData("text/x-moz-url").split("\n")[0]}return-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url")}return null},t.prototype.isImage=function(){if(this.types.some(function(t){return-1!=t.indexOf("application/x-moz-file")}))return!0;for(var t=this.getFiles(),e=0;e<t.length;e++){var n=t[e].type;if(!i.isImage(n))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(o).filter(u.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.prototype.hasFiles=function(){return this.getFiles().length>0},t}();t.exports=l},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";function r(t){var e=p.exec(t);return null==e?null:e[0]}function o(t){var e=r(t);return null==e?c.NEUTRAL:d.exec(e)?c.RTL:c.LTR}function i(t,e){if(e=e||c.NEUTRAL,!t.length)return e;var n=o(t);return n===c.NEUTRAL?e:n}function a(t,e){return e||(e=c.getGlobalDir()),c.isStrong(e)||l(!1),i(t,e)}function u(t,e){return a(t,e)===c.LTR}function s(t,e){return a(t,e)===c.RTL}var c=n(46),l=n(0),f={L:"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",R:"֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",AL:"؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾"},p=new RegExp("["+f.L+f.R+f.AL+"]"),d=new RegExp("["+f.R+f.AL+"]"),h={firstStrongChar:r,firstStrongCharDir:o,resolveBlockDir:i,getDirection:a,isDirectionLTR:u,isDirectionRTL:s};t.exports=h},function(t,e,n){!function(e,n){t.exports=n()}(0,function(){"use strict";function t(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function e(t){return i(t)?t:D(t)}function n(t){return a(t)?t:M(t)}function r(t){return u(t)?t:I(t)}function o(t){return i(t)&&!s(t)?t:A(t)}function i(t){return!(!t||!t[cn])}function a(t){return!(!t||!t[ln])}function u(t){return!(!t||!t[fn])}function s(t){return a(t)||u(t)}function c(t){return!(!t||!t[pn])}function l(t){return t.value=!1,t}function f(t){t&&(t.value=!0)}function p(){}function d(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 h(t){return void 0===t.size&&(t.size=t.__iterate(g)),t.size}function y(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?h(t)+e:e}function g(){return!0}function v(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function _(t,e){return b(t,e,0)}function m(t,e){return b(t,e,e)}function b(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}function w(t){this.next=t}function S(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 k(){return{value:void 0,done:!0}}function E(t){return!!O(t)}function C(t){return t&&"function"==typeof t.next}function x(t){var e=O(t);return e&&e.call(t)}function O(t){var e=t&&(Sn&&t[Sn]||t[kn]);if("function"==typeof e)return e}function T(t){return t&&"number"==typeof t.length}function D(t){return null===t||void 0===t?B():i(t)?t.toSeq():K(t)}function M(t){return null===t||void 0===t?B().toKeyedSeq():i(t)?a(t)?t.toSeq():t.fromEntrySeq():z(t)}function I(t){return null===t||void 0===t?B():i(t)?a(t)?t.entrySeq():t.toIndexedSeq():U(t)}function A(t){return(null===t||void 0===t?B():i(t)?a(t)?t.entrySeq():t:U(t)).toSetSeq()}function P(t){this._array=t,this.size=t.length}function N(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function R(t){this._iterable=t,this.size=t.length||t.size}function L(t){this._iterator=t,this._iteratorCache=[]}function F(t){return!(!t||!t[Cn])}function B(){return xn||(xn=new P([]))}function z(t){var e=Array.isArray(t)?new P(t).fromEntrySeq():C(t)?new L(t).fromEntrySeq():E(t)?new R(t).fromEntrySeq():"object"==typeof t?new N(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function U(t){var e=j(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function K(t){var e=j(t)||"object"==typeof t&&new N(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}function j(t){return T(t)?new P(t):C(t)?new L(t):E(t)?new R(t):void 0}function H(t,e,n,r){var o=t._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var u=o[n?i-a:a];if(!1===e(u[1],r?u[0]:a,t))return a+1}return a}return t.__iterateUncached(e,n)}function q(t,e,n,r){var o=t._cache;if(o){var i=o.length-1,a=0;return new w(function(){var t=o[n?i-a:a];return a++>i?k():S(e,r?t[0]:a-1,t[1])})}return t.__iteratorUncached(e,n)}function W(t,e){return e?V(e,t,"",{"":t}):J(t)}function V(t,e,n,r){return Array.isArray(e)?t.call(r,n,I(e).map(function(n,r){return V(t,n,r,e)})):G(e)?t.call(r,n,M(e).map(function(n,r){return V(t,n,r,e)})):e}function J(t){return Array.isArray(t)?I(t).map(J).toList():G(t)?M(t).map(J).toMap():t}function G(t){return t&&(t.constructor===Object||void 0===t.constructor)}function X(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 Y(t,e){if(t===e)return!0;if(!i(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||a(t)!==a(e)||u(t)!==u(e)||c(t)!==c(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!s(t);if(c(t)){var r=t.entries();return e.every(function(t,e){var o=r.next().value;return o&&X(o[1],t)&&(n||X(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 l=t;t=e,e=l}var f=!0,p=e.__iterate(function(e,r){if(n?!t.has(e):o?!X(e,t.get(r,gn)):!X(t.get(r,gn),e))return f=!1,!1});return f&&t.size===p}function $(t,e){if(!(this instanceof $))return new $(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(On)return On;On=this}}function Q(t,e){if(!t)throw new Error(e)}function Z(t,e,n){if(!(this instanceof Z))return new Z(t,e,n);if(Q(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(Tn)return Tn;Tn=this}}function tt(){throw TypeError("Abstract")}function et(){}function nt(){}function rt(){}function ot(t){return t>>>1&1073741824|3221225471&t}function it(t){if(!1===t||null===t||void 0===t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null===t||void 0===t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){if(t!==t||t===1/0)return 0;var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)t/=4294967295,n^=t;return ot(n)}if("string"===e)return t.length>Ln?at(t):ut(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return st(t);if("function"==typeof t.toString)return ut(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function at(t){var e=zn[t];return void 0===e&&(e=ut(t),Bn===Fn&&(Bn=0,zn={}),Bn++,zn[t]=e),e}function ut(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return ot(e)}function st(t){var e;if(Pn&&void 0!==(e=Dn.get(t)))return e;if(void 0!==(e=t[Rn]))return e;if(!An){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Rn]))return e;if(void 0!==(e=ct(t)))return e}if(e=++Nn,1073741824&Nn&&(Nn=0),Pn)Dn.set(t,e);else{if(void 0!==In&&!1===In(t))throw new Error("Non-extensible objects are not allowed as keys.");if(An)Object.defineProperty(t,Rn,{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[Rn]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Rn]=e}}return e}function ct(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}function lt(t){Q(t!==1/0,"Cannot perform this action with an infinite size.")}function ft(t){return null===t||void 0===t?St():pt(t)&&!c(t)?t:St().withMutations(function(e){var r=n(t);lt(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function pt(t){return!(!t||!t[Un])}function dt(t,e){this.ownerID=t,this.entries=e}function ht(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function yt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function gt(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function vt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function _t(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&bt(t._root)}function mt(t,e){return S(t,e[0],e[1])}function bt(t,e){return{node:t,index:0,__prev:e}}function wt(t,e,n,r){var o=Object.create(Kn);return o.size=t,o._root=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function St(){return jn||(jn=wt(0))}function kt(t,e,n){var r,o;if(t._root){var i=l(vn),a=l(_n);if(r=Et(t._root,t.__ownerID,0,void 0,e,n,i,a),!a.value)return t;o=t.size+(i.value?n===gn?-1:1:0)}else{if(n===gn)return t;o=1,r=new dt(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=o,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?wt(o,r):St()}function Et(t,e,n,r,o,i,a,u){return t?t.update(e,n,r,o,i,a,u):i===gn?t:(f(u),f(a),new vt(e,r,[o,i]))}function Ct(t){return t.constructor===vt||t.constructor===gt}function xt(t,e,n,r,o){if(t.keyHash===r)return new gt(e,r,[t.entry,o]);var i,a=(0===n?t.keyHash:t.keyHash>>>n)&yn,u=(0===n?r:r>>>n)&yn;return new ht(e,1<<a|1<<u,a===u?[xt(t,e,n+dn,r,o)]:(i=new vt(e,r,o),a<u?[t,i]:[i,t]))}function Ot(t,e,n,r){t||(t=new p);for(var o=new vt(t,it(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}function Tt(t,e,n,r){for(var o=0,i=0,a=new Array(n),u=0,s=1,c=e.length;u<c;u++,s<<=1){var l=e[u];void 0!==l&&u!==r&&(o|=s,a[i++]=l)}return new ht(t,o,a)}function Dt(t,e,n,r,o){for(var i=0,a=new Array(hn),u=0;0!==n;u++,n>>>=1)a[u]=1&n?e[i++]:void 0;return a[r]=o,new yt(t,i+1,a)}function Mt(t,e,r){for(var o=[],a=0;a<r.length;a++){var u=r[a],s=n(u);i(u)||(s=s.map(function(t){return W(t)})),o.push(s)}return Pt(t,e,o)}function It(t,e,n){return t&&t.mergeDeep&&i(e)?t.mergeDeep(e):X(t,e)?t:e}function At(t){return function(e,n,r){if(e&&e.mergeDeepWith&&i(n))return e.mergeDeepWith(t,n);var o=t(e,n,r);return X(e,o)?e:o}}function Pt(t,e,n){return n=n.filter(function(t){return 0!==t.size}),0===n.length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations(function(t){for(var r=e?function(n,r){t.update(r,gn,function(t){return t===gn?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 Nt(t,e,n,r){var o=t===gn,i=e.next();if(i.done){var a=o?n:t,u=r(a);return u===a?t:u}Q(o||t&&t.set,"invalid keyPath");var s=i.value,c=o?gn:t.get(s,gn),l=Nt(c,e,n,r);return l===c?t:l===gn?t.remove(s):(o?St():t).set(s,l)}function Rt(t){return t-=t>>1&1431655765,t=(858993459&t)+(t>>2&858993459),t=t+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function Lt(t,e,n,r){var o=r?t:d(t);return o[e]=n,o}function Ft(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,u=0;u<o;u++)u===e?(i[u]=n,a=-1):i[u]=t[u+a];return i}function Bt(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}function zt(t){var e=qt();if(null===t||void 0===t)return e;if(Ut(t))return t;var n=r(t),o=n.size;return 0===o?e:(lt(o),o>0&&o<hn?Ht(0,o,dn,null,new Kt(n.toArray())):e.withMutations(function(t){t.setSize(o),n.forEach(function(e,n){return t.set(n,e)})}))}function Ut(t){return!(!t||!t[Vn])}function Kt(t,e){this.array=t,this.ownerID=e}function jt(t,e){function n(t,e,n){return 0===e?r(t,n):o(t,e,n)}function r(t,n){var r=n===u?s&&s.array:t&&t.array,o=n>i?0:i-n,c=a-n;return c>hn&&(c=hn),function(){if(o===c)return Xn;var t=e?--c:o++;return r&&r[t]}}function o(t,r,o){var u,s=t&&t.array,c=o>i?0:i-o>>r,l=1+(a-o>>r);return l>hn&&(l=hn),function(){for(;;){if(u){var t=u();if(t!==Xn)return t;u=null}if(c===l)return Xn;var i=e?--l:c++;u=n(s&&s[i],r-dn,o+(i<<r))}}}var i=t._origin,a=t._capacity,u=$t(a),s=t._tail;return n(t._root,t._level,0)}function Ht(t,e,n,r,o,i,a){var u=Object.create(Jn);return u.size=e-t,u._origin=t,u._capacity=e,u._level=n,u._root=r,u._tail=o,u.__ownerID=i,u.__hash=a,u.__altered=!1,u}function qt(){return Gn||(Gn=Ht(0,0,dn))}function Wt(t,e,n){if((e=y(t,e))!==e)return t;if(e>=t.size||e<0)return t.withMutations(function(t){e<0?Xt(t,e).set(0,n):Xt(t,0,e+1).set(e,n)});e+=t._origin;var r=t._tail,o=t._root,i=l(_n);return e>=$t(t._capacity)?r=Vt(r,t.__ownerID,0,e,n,i):o=Vt(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):Ht(t._origin,t._capacity,t._level,o,r):t}function Vt(t,e,n,r,o,i){var a=r>>>n&yn,u=t&&a<t.array.length;if(!u&&void 0===o)return t;var s;if(n>0){var c=t&&t.array[a],l=Vt(c,e,n-dn,r,o,i);return l===c?t:(s=Jt(t,e),s.array[a]=l,s)}return u&&t.array[a]===o?t:(f(i),s=Jt(t,e),void 0===o&&a===s.array.length-1?s.array.pop():s.array[a]=o,s)}function Jt(t,e){return e&&t&&e===t.ownerID?t:new Kt(t?t.array.slice():[],e)}function Gt(t,e){if(e>=$t(t._capacity))return t._tail;if(e<1<<t._level+dn){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&yn],r-=dn;return n}}function Xt(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new p,o=t._origin,i=t._capacity,a=o+e,u=void 0===n?i:n<0?i+n:o+n;if(a===o&&u===i)return t;if(a>=u)return t.clear();for(var s=t._level,c=t._root,l=0;a+l<0;)c=new Kt(c&&c.array.length?[void 0,c]:[],r),s+=dn,l+=1<<s;l&&(a+=l,o+=l,u+=l,i+=l);for(var f=$t(i),d=$t(u);d>=1<<s+dn;)c=new Kt(c&&c.array.length?[c]:[],r),s+=dn;var h=t._tail,y=d<f?Gt(t,u-1):d>f?new Kt([],r):h;if(h&&d>f&&a<i&&h.array.length){c=Jt(c,r);for(var g=c,v=s;v>dn;v-=dn){var _=f>>>v&yn;g=g.array[_]=Jt(g.array[_],r)}g.array[f>>>dn&yn]=h}if(u<i&&(y=y&&y.removeAfter(r,0,u)),a>=d)a-=d,u-=d,s=dn,c=null,y=y&&y.removeBefore(r,0,a);else if(a>o||d<f){for(l=0;c;){var m=a>>>s&yn;if(m!==d>>>s&yn)break;m&&(l+=(1<<s)*m),s-=dn,c=c.array[m]}c&&a>o&&(c=c.removeBefore(r,s,a-l)),c&&d<f&&(c=c.removeAfter(r,s,d-l)),l&&(a-=l,u-=l)}return t.__ownerID?(t.size=u-a,t._origin=a,t._capacity=u,t._level=s,t._root=c,t._tail=y,t.__hash=void 0,t.__altered=!0,t):Ht(a,u,s,c,y)}function Yt(t,e,n){for(var o=[],a=0,u=0;u<n.length;u++){var s=n[u],c=r(s);c.size>a&&(a=c.size),i(s)||(c=c.map(function(t){return W(t)})),o.push(c)}return a>t.size&&(t=t.setSize(a)),Pt(t,e,o)}function $t(t){return t<hn?0:t-1>>>dn<<dn}function Qt(t){return null===t||void 0===t?ee():Zt(t)?t:ee().withMutations(function(e){var r=n(t);lt(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function Zt(t){return pt(t)&&c(t)}function te(t,e,n,r){var o=Object.create(Qt.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=n,o.__hash=r,o}function ee(){return Yn||(Yn=te(St(),qt()))}function ne(t,e,n){var r,o,i=t._map,a=t._list,u=i.get(e),s=void 0!==u;if(n===gn){if(!s)return t;a.size>=hn&&a.size>=2*i.size?(o=a.filter(function(t,e){return void 0!==t&&u!==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=u===a.size-1?a.pop():a.set(u,void 0))}else if(s){if(n===a.get(u)[1])return t;r=i,o=a.set(u,[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):te(r,o)}function re(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function oe(t){this._iter=t,this.size=t.size}function ie(t){this._iter=t,this.size=t.size}function ae(t){this._iter=t,this.size=t.size}function ue(t){var e=Te(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=De,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===wn){var r=t.__iterator(e,n);return new w(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===bn?mn:bn,n)},e}function se(t,e,n){var r=Te(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,o){var i=t.get(r,gn);return i===gn?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(wn,o);return new w(function(){var o=i.next();if(o.done)return o;var a=o.value,u=a[0];return S(r,u,e.call(n,a[1],u,t),o)})},r}function ce(t,e){var n=Te(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=ue(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=De,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 le(t,e,n,r){var o=Te(t);return r&&(o.has=function(r){var o=t.get(r,gn);return o!==gn&&!!e.call(n,o,r,t)},o.get=function(r,o){var i=t.get(r,gn);return i!==gn&&e.call(n,i,r,t)?i:o}),o.__iterateUncached=function(o,i){var a=this,u=0;return t.__iterate(function(t,i,s){if(e.call(n,t,i,s))return u++,o(t,r?i:u-1,a)},i),u},o.__iteratorUncached=function(o,i){var a=t.__iterator(wn,i),u=0;return new w(function(){for(;;){var i=a.next();if(i.done)return i;var s=i.value,c=s[0],l=s[1];if(e.call(n,l,c,t))return S(o,r?c:u++,l,i)}})},o}function fe(t,e,n){var r=ft().asMutable();return t.__iterate(function(o,i){r.update(e.call(n,o,i,t),0,function(t){return t+1})}),r.asImmutable()}function pe(t,e,n){var r=a(t),o=(c(t)?Qt():ft()).asMutable();t.__iterate(function(i,a){o.update(e.call(n,i,a,t),function(t){return t=t||[],t.push(r?[a,i]:i),t})});var i=Oe(t);return o.map(function(e){return Ee(t,i(e))})}function de(t,e,n,r){var o=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n===1/0?n=o:n|=0),v(e,n,o))return t;var i=_(e,o),a=m(n,o);if(i!==i||a!==a)return de(t.toSeq().cacheResult(),e,n,r);var u,s=a-i;s===s&&(u=s<0?0:s);var c=Te(t);return c.size=0===u?u:t.size&&u||void 0,!r&&F(t)&&u>=0&&(c.get=function(e,n){return e=y(this,e),e>=0&&e<u?t.get(e+i,n):n}),c.__iterateUncached=function(e,n){var o=this;if(0===u)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,s=!0,c=0;return t.__iterate(function(t,n){if(!s||!(s=a++<i))return c++,!1!==e(t,r?n:c-1,o)&&c!==u}),c},c.__iteratorUncached=function(e,n){if(0!==u&&n)return this.cacheResult().__iterator(e,n);var o=0!==u&&t.__iterator(e,n),a=0,s=0;return new w(function(){for(;a++<i;)o.next();if(++s>u)return k();var t=o.next();return r||e===bn?t:e===mn?S(e,s-1,void 0,t):S(e,s-1,t.value[1],t)})},c}function he(t,e,n){var r=Te(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,u){return e.call(n,t,o,u)&&++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(wn,o),u=!0;return new w(function(){if(!u)return k();var t=a.next();if(t.done)return t;var o=t.value,s=o[0],c=o[1];return e.call(n,c,s,i)?r===wn?t:S(r,s,c,t):(u=!1,k())})},r}function ye(t,e,n,r){var o=Te(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var u=!0,s=0;return t.__iterate(function(t,i,c){if(!u||!(u=e.call(n,t,i,c)))return s++,o(t,r?i:s-1,a)}),s},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var u=t.__iterator(wn,i),s=!0,c=0;return new w(function(){var t,i,l;do{if(t=u.next(),t.done)return r||o===bn?t:o===mn?S(o,c++,void 0,t):S(o,c++,t.value[1],t);var f=t.value;i=f[0],l=f[1],s&&(s=e.call(n,l,i,a))}while(s);return o===wn?t:S(o,i,l,t)})},o}function ge(t,e){var r=a(t),o=[t].concat(e).map(function(t){return i(t)?r&&(t=n(t)):t=r?z(t):U(Array.isArray(t)?t:[t]),t}).filter(function(t){return 0!==t.size});if(0===o.length)return t;if(1===o.length){var s=o[0];if(s===t||r&&a(s)||u(t)&&u(s))return s}var c=new P(o);return r?c=c.toKeyedSeq():u(t)||(c=c.toSetSeq()),c=c.flatten(!0),c.size=o.reduce(function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}},0),c}function ve(t,e,n){var r=Te(t);return r.__iterateUncached=function(r,o){function a(t,c){var l=this;t.__iterate(function(t,o){return(!e||c<e)&&i(t)?a(t,c+1):!1===r(t,n?o:u++,l)&&(s=!0),!s},o)}var u=0,s=!1;return a(t,0),u},r.__iteratorUncached=function(r,o){var a=t.__iterator(r,o),u=[],s=0;return new w(function(){for(;a;){var t=a.next();if(!1===t.done){var c=t.value;if(r===wn&&(c=c[1]),e&&!(u.length<e)||!i(c))return n?t:S(r,s++,c,t);u.push(a),a=c.__iterator(r,o)}else a=u.pop()}return k()})},r}function _e(t,e,n){var r=Oe(t);return t.toSeq().map(function(o,i){return r(e.call(n,o,i,t))}).flatten(!0)}function me(t,e){var n=Te(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(bn,r),a=0;return new w(function(){return(!o||a%2)&&(o=i.next(),o.done)?o:a%2?S(n,a++,e):S(n,a++,o.value,o)})},n}function be(t,e,n){e||(e=Me);var r=a(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?M(i):u(t)?I(i):A(i)}function we(t,e,n){if(e||(e=Me),n){var r=t.toSeq().map(function(e,r){return[e,n(e,r,t)]}).reduce(function(t,n){return Se(e,t[1],n[1])?n:t});return r&&r[0]}return t.reduce(function(t,n){return Se(e,t,n)?n:t})}function Se(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(void 0===n||null===n||n!==n)||r>0}function ke(t,n,r){var o=Te(t);return o.size=new P(r).map(function(t){return t.size}).min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(bn,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=e(t),x(o?t.reverse():t)}),a=0,u=!1;return new w(function(){var e;return u||(e=i.map(function(t){return t.next()}),u=e.some(function(t){return t.done})),u?k():S(t,a++,n.apply(null,e.map(function(t){return t.value})))})},o}function Ee(t,e){return F(t)?e:t.constructor(e)}function Ce(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function xe(t){return lt(t.size),h(t)}function Oe(t){return a(t)?n:u(t)?r:o}function Te(t){return Object.create((a(t)?M:u(t)?I:A).prototype)}function De(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):D.prototype.cacheResult.call(this)}function Me(t,e){return t>e?1:t<e?-1:0}function Ie(t){var n=x(t);if(!n){if(!T(t))throw new TypeError("Expected iterable or array-like: "+t);n=x(e(t))}return n}function Ae(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);Re(o,a),o.size=a.length,o._name=e,o._keys=a,o._defaultValues=t}this._map=ft(i)},o=r.prototype=Object.create($n);return o.constructor=r,r}function Pe(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function Ne(t){return t._name||t.constructor.name||"Record"}function Re(t,e){try{e.forEach(Le.bind(void 0,t))}catch(t){}}function Le(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){Q(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function Fe(t){return null===t||void 0===t?Ke():Be(t)&&!c(t)?t:Ke().withMutations(function(e){var n=o(t);lt(n.size),n.forEach(function(t){return e.add(t)})})}function Be(t){return!(!t||!t[Qn])}function ze(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 Ue(t,e){var n=Object.create(Zn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function Ke(){return tr||(tr=Ue(St()))}function je(t){return null===t||void 0===t?We():He(t)?t:We().withMutations(function(e){var n=o(t);lt(n.size),n.forEach(function(t){return e.add(t)})})}function He(t){return Be(t)&&c(t)}function qe(t,e){var n=Object.create(er);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function We(){return nr||(nr=qe(ee()))}function Ve(t){return null===t||void 0===t?Xe():Je(t)?t:Xe().unshiftAll(t)}function Je(t){return!(!t||!t[rr])}function Ge(t,e,n,r){var o=Object.create(or);return o.size=t,o._head=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Xe(){return ir||(ir=Ge(0))}function Ye(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}function $e(t,e){return e}function Qe(t,e){return[e,t]}function Ze(t){return function(){return!t.apply(this,arguments)}}function tn(t){return function(){return-t.apply(this,arguments)}}function en(t){return"string"==typeof t?JSON.stringify(t):String(t)}function nn(){return d(arguments)}function rn(t,e){return t<e?1:t>e?-1:0}function on(t){if(t.size===1/0)return 0;var e=c(t),n=a(t),r=e?1:0;return an(t.__iterate(n?e?function(t,e){r=31*r+un(it(t),it(e))|0}:function(t,e){r=r+un(it(t),it(e))|0}:e?function(t){r=31*r+it(t)|0}:function(t){r=r+it(t)|0}),r)}function an(t,e){return e=Mn(e,3432918353),e=Mn(e<<15|e>>>-15,461845907),e=Mn(e<<13|e>>>-13,5),e=(e+3864292196|0)^t,e=Mn(e^e>>>16,2246822507),e=Mn(e^e>>>13,3266489909),e=ot(e^e>>>16)}function un(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}var sn=Array.prototype.slice;t(n,e),t(r,e),t(o,e),e.isIterable=i,e.isKeyed=a,e.isIndexed=u,e.isAssociative=s,e.isOrdered=c,e.Keyed=n,e.Indexed=r,e.Set=o;var cn="@@__IMMUTABLE_ITERABLE__@@",ln="@@__IMMUTABLE_KEYED__@@",fn="@@__IMMUTABLE_INDEXED__@@",pn="@@__IMMUTABLE_ORDERED__@@",dn=5,hn=1<<dn,yn=hn-1,gn={},vn={value:!1},_n={value:!1},mn=0,bn=1,wn=2,Sn="function"==typeof Symbol&&Symbol.iterator,kn="@@iterator",En=Sn||kn;w.prototype.toString=function(){return"[Iterator]"},w.KEYS=mn,w.VALUES=bn,w.ENTRIES=wn,w.prototype.inspect=w.prototype.toSource=function(){return this.toString()},w.prototype[En]=function(){return this},t(D,e),D.of=function(){return D(arguments)},D.prototype.toSeq=function(){return this},D.prototype.toString=function(){return this.__toString("Seq {","}")},D.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},D.prototype.__iterate=function(t,e){return H(this,t,e,!0)},D.prototype.__iterator=function(t,e){return q(this,t,e,!0)},t(M,D),M.prototype.toKeyedSeq=function(){return this},t(I,D),I.of=function(){return I(arguments)},I.prototype.toIndexedSeq=function(){return this},I.prototype.toString=function(){return this.__toString("Seq [","]")},I.prototype.__iterate=function(t,e){return H(this,t,e,!1)},I.prototype.__iterator=function(t,e){return q(this,t,e,!1)},t(A,D),A.of=function(){return A(arguments)},A.prototype.toSetSeq=function(){return this},D.isSeq=F,D.Keyed=M,D.Set=A,D.Indexed=I;var Cn="@@__IMMUTABLE_SEQ__@@";D.prototype[Cn]=!0,t(P,I),P.prototype.get=function(t,e){return this.has(t)?this._array[y(this,t)]:e},P.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},P.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,o=0;return new w(function(){return o>r?k():S(t,o,n[e?r-o++:o++])})},t(N,M),N.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},N.prototype.has=function(t){return this._object.hasOwnProperty(t)},N.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},N.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length-1,i=0;return new w(function(){var a=r[e?o-i:i];return i++>o?k():S(t,a,n[a])})},N.prototype[pn]=!0,t(R,I),R.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=this._iterable,r=x(n),o=0;if(C(r))for(var i;!(i=r.next()).done&&!1!==t(i.value,o++,this););return o},R.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterable,r=x(n);if(!C(r))return new w(k);var o=0;return new w(function(){var e=r.next();return e.done?e:S(t,o++,e.value)})},t(L,I),L.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n=this._iterator,r=this._iteratorCache,o=0;o<r.length;)if(!1===t(r[o],o++,this))return o;for(var i;!(i=n.next()).done;){var a=i.value;if(r[o]=a,!1===t(a,o++,this))break}return o},L.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,o=0;return new w(function(){if(o>=r.length){var e=n.next();if(e.done)return e;r[o]=e.value}return S(t,o,r[o++])})};var xn;t($,I),$.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},$.prototype.get=function(t,e){return this.has(t)?this._value:e},$.prototype.includes=function(t){return X(this._value,t)},$.prototype.slice=function(t,e){var n=this.size;return v(t,e,n)?this:new $(this._value,m(e,n)-_(t,n))},$.prototype.reverse=function(){return this},$.prototype.indexOf=function(t){return X(this._value,t)?0:-1},$.prototype.lastIndexOf=function(t){return X(this._value,t)?this.size:-1},$.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},$.prototype.__iterator=function(t,e){var n=this,r=0;return new w(function(){return r<n.size?S(t,r++,n._value):k()})},$.prototype.equals=function(t){return t instanceof $?X(this._value,t._value):Y(t)};var On;t(Z,I),Z.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},Z.prototype.get=function(t,e){return this.has(t)?this._start+y(this,t)*this._step:e},Z.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},Z.prototype.slice=function(t,e){return v(t,e,this.size)?this:(t=_(t,this.size),e=m(e,this.size),e<=t?new Z(0,0):new Z(this.get(t,this._end),this.get(e,this._end),this._step))},Z.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},Z.prototype.lastIndexOf=function(t){return this.indexOf(t)},Z.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},Z.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 w(function(){var a=o;return o+=e?-r:r,i>n?k():S(t,i++,a)})},Z.prototype.equals=function(t){return t instanceof Z?this._start===t._start&&this._end===t._end&&this._step===t._step:Y(this,t)};var Tn;t(tt,e),t(et,tt),t(nt,tt),t(rt,tt),tt.Keyed=et,tt.Indexed=nt,tt.Set=rt;var Dn,Mn="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){t|=0,e|=0;var n=65535&t,r=65535&e;return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0},In=Object.isExtensible,An=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),Pn="function"==typeof WeakMap;Pn&&(Dn=new WeakMap);var Nn=0,Rn="__immutablehash__";"function"==typeof Symbol&&(Rn=Symbol(Rn));var Ln=16,Fn=255,Bn=0,zn={};t(ft,et),ft.of=function(){var t=sn.call(arguments,0);return St().withMutations(function(e){for(var n=0;n<t.length;n+=2){if(n+1>=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}})},ft.prototype.toString=function(){return this.__toString("Map {","}")},ft.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},ft.prototype.set=function(t,e){return kt(this,t,e)},ft.prototype.setIn=function(t,e){return this.updateIn(t,gn,function(){return e})},ft.prototype.remove=function(t){return kt(this,t,gn)},ft.prototype.deleteIn=function(t){return this.updateIn(t,function(){return gn})},ft.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},ft.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=Nt(this,Ie(t),e,n);return r===gn?void 0:r},ft.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):St()},ft.prototype.merge=function(){return Mt(this,void 0,arguments)},ft.prototype.mergeWith=function(t){return Mt(this,t,sn.call(arguments,1))},ft.prototype.mergeIn=function(t){var e=sn.call(arguments,1);return this.updateIn(t,St(),function(t){return"function"==typeof t.merge?t.merge.apply(t,e):e[e.length-1]})},ft.prototype.mergeDeep=function(){return Mt(this,It,arguments)},ft.prototype.mergeDeepWith=function(t){var e=sn.call(arguments,1);return Mt(this,At(t),e)},ft.prototype.mergeDeepIn=function(t){var e=sn.call(arguments,1);return this.updateIn(t,St(),function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,e):e[e.length-1]})},ft.prototype.sort=function(t){return Qt(be(this,t))},ft.prototype.sortBy=function(t,e){return Qt(be(this,e,t))},ft.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},ft.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new p)},ft.prototype.asImmutable=function(){return this.__ensureOwner()},ft.prototype.wasAltered=function(){return this.__altered},ft.prototype.__iterator=function(t,e){return new _t(this,t,e)},ft.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},ft.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?wt(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},ft.isMap=pt;var Un="@@__IMMUTABLE_MAP__@@",Kn=ft.prototype;Kn[Un]=!0,Kn.delete=Kn.remove,Kn.removeIn=Kn.deleteIn,dt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(X(n,o[i][0]))return o[i][1];return r},dt.prototype.update=function(t,e,n,r,o,i,a){for(var u=o===gn,s=this.entries,c=0,l=s.length;c<l&&!X(r,s[c][0]);c++);var p=c<l;if(p?s[c][1]===o:u)return this;if(f(a),(u||!p)&&f(i),!u||1!==s.length){if(!p&&!u&&s.length>=Hn)return Ot(t,s,r,o);var h=t&&t===this.ownerID,y=h?s:d(s);return p?u?c===l-1?y.pop():y[c]=y.pop():y[c]=[r,o]:y.push([r,o]),h?(this.entries=y,this):new dt(t,y)}},ht.prototype.get=function(t,e,n,r){void 0===e&&(e=it(n));var o=1<<((0===t?e:e>>>t)&yn),i=this.bitmap;return 0==(i&o)?r:this.nodes[Rt(i&o-1)].get(t+dn,e,n,r)},ht.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=it(r));var u=(0===e?n:n>>>e)&yn,s=1<<u,c=this.bitmap,l=0!=(c&s);if(!l&&o===gn)return this;var f=Rt(c&s-1),p=this.nodes,d=l?p[f]:void 0,h=Et(d,t,e+dn,n,r,o,i,a);if(h===d)return this;if(!l&&h&&p.length>=qn)return Dt(t,p,c,u,h);if(l&&!h&&2===p.length&&Ct(p[1^f]))return p[1^f];if(l&&h&&1===p.length&&Ct(h))return h;var y=t&&t===this.ownerID,g=l?h?c:c^s:c|s,v=l?h?Lt(p,f,h,y):Bt(p,f,y):Ft(p,f,h,y);return y?(this.bitmap=g,this.nodes=v,this):new ht(t,g,v)},yt.prototype.get=function(t,e,n,r){void 0===e&&(e=it(n));var o=(0===t?e:e>>>t)&yn,i=this.nodes[o];return i?i.get(t+dn,e,n,r):r},yt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=it(r));var u=(0===e?n:n>>>e)&yn,s=o===gn,c=this.nodes,l=c[u];if(s&&!l)return this;var f=Et(l,t,e+dn,n,r,o,i,a);if(f===l)return this;var p=this.count;if(l){if(!f&&--p<Wn)return Tt(t,c,p,u)}else p++;var d=t&&t===this.ownerID,h=Lt(c,u,f,d);return d?(this.count=p,this.nodes=h,this):new yt(t,p,h)},gt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(X(n,o[i][0]))return o[i][1];return r},gt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=it(r));var u=o===gn;if(n!==this.keyHash)return u?this:(f(a),f(i),xt(this,t,e,n,[r,o]));for(var s=this.entries,c=0,l=s.length;c<l&&!X(r,s[c][0]);c++);var p=c<l;if(p?s[c][1]===o:u)return this;if(f(a),(u||!p)&&f(i),u&&2===l)return new vt(t,this.keyHash,s[1^c]);var h=t&&t===this.ownerID,y=h?s:d(s);return p?u?c===l-1?y.pop():y[c]=y.pop():y[c]=[r,o]:y.push([r,o]),h?(this.entries=y,this):new gt(t,this.keyHash,y)},vt.prototype.get=function(t,e,n,r){return X(n,this.entry[0])?this.entry[1]:r},vt.prototype.update=function(t,e,n,r,o,i,a){var u=o===gn,s=X(r,this.entry[0]);return(s?o===this.entry[1]:u)?this:(f(a),u?void f(i):s?t&&t===this.ownerID?(this.entry[1]=o,this):new vt(t,this.keyHash,[r,o]):(f(i),xt(this,t,e,it(r),[r,o])))},dt.prototype.iterate=gt.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},ht.prototype.iterate=yt.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}},vt.prototype.iterate=function(t,e){return t(this.entry)},t(_t,w),_t.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 mt(t,r.entry)}else if(r.entries){if(n=r.entries.length-1,o<=n)return mt(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 mt(t,i.entry);e=this._stack=bt(i,e)}continue}e=this._stack=this._stack.__prev}return k()};var jn,Hn=hn/4,qn=hn/2,Wn=hn/4;t(zt,nt),zt.of=function(){return this(arguments)},zt.prototype.toString=function(){return this.__toString("List [","]")},zt.prototype.get=function(t,e){if((t=y(this,t))>=0&&t<this.size){t+=this._origin;var n=Gt(this,t);return n&&n.array[t&yn]}return e},zt.prototype.set=function(t,e){return Wt(this,t,e)},zt.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},zt.prototype.insert=function(t,e){return this.splice(t,0,e)},zt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=dn,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):qt()},zt.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations(function(n){Xt(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])})},zt.prototype.pop=function(){return Xt(this,0,-1)},zt.prototype.unshift=function(){var t=arguments;return this.withMutations(function(e){Xt(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])})},zt.prototype.shift=function(){return Xt(this,1)},zt.prototype.merge=function(){return Yt(this,void 0,arguments)},zt.prototype.mergeWith=function(t){return Yt(this,t,sn.call(arguments,1))},zt.prototype.mergeDeep=function(){return Yt(this,It,arguments)},zt.prototype.mergeDeepWith=function(t){var e=sn.call(arguments,1);return Yt(this,At(t),e)},zt.prototype.setSize=function(t){return Xt(this,0,t)},zt.prototype.slice=function(t,e){var n=this.size;return v(t,e,n)?this:Xt(this,_(t,n),m(e,n))},zt.prototype.__iterator=function(t,e){var n=0,r=jt(this,e);return new w(function(){var e=r();return e===Xn?k():S(t,n++,e)})},zt.prototype.__iterate=function(t,e){for(var n,r=0,o=jt(this,e);(n=o())!==Xn&&!1!==t(n,r++,this););return r},zt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ht(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},zt.isList=Ut;var Vn="@@__IMMUTABLE_LIST__@@",Jn=zt.prototype;Jn[Vn]=!0,Jn.delete=Jn.remove,Jn.setIn=Kn.setIn,Jn.deleteIn=Jn.removeIn=Kn.removeIn,Jn.update=Kn.update,Jn.updateIn=Kn.updateIn,Jn.mergeIn=Kn.mergeIn,Jn.mergeDeepIn=Kn.mergeDeepIn,Jn.withMutations=Kn.withMutations,Jn.asMutable=Kn.asMutable,Jn.asImmutable=Kn.asImmutable,Jn.wasAltered=Kn.wasAltered,Kt.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&yn;if(r>=this.array.length)return new Kt([],t);var o,i=0===r;if(e>0){var a=this.array[r];if((o=a&&a.removeBefore(t,e-dn,n))===a&&i)return this}if(i&&!o)return this;var u=Jt(this,t);if(!i)for(var s=0;s<r;s++)u.array[s]=void 0;return o&&(u.array[r]=o),u},Kt.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r=n-1>>>e&yn;if(r>=this.array.length)return this;var o;if(e>0){var i=this.array[r];if((o=i&&i.removeAfter(t,e-dn,n))===i&&r===this.array.length-1)return this}var a=Jt(this,t);return a.array.splice(r+1),o&&(a.array[r]=o),a};var Gn,Xn={};t(Qt,ft),Qt.of=function(){return this(arguments)},Qt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Qt.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Qt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):ee()},Qt.prototype.set=function(t,e){return ne(this,t,e)},Qt.prototype.remove=function(t){return ne(this,t,gn)},Qt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Qt.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],n)},e)},Qt.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Qt.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?te(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},Qt.isOrderedMap=Zt,Qt.prototype[pn]=!0,Qt.prototype.delete=Qt.prototype.remove;var Yn;t(re,M),re.prototype.get=function(t,e){return this._iter.get(t,e)},re.prototype.has=function(t){return this._iter.has(t)},re.prototype.valueSeq=function(){return this._iter.valueSeq()},re.prototype.reverse=function(){var t=this,e=ce(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},re.prototype.map=function(t,e){var n=this,r=se(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},re.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?xe(this):0,function(o){return t(o,e?--n:n++,r)}),e)},re.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(bn,e),r=e?xe(this):0;return new w(function(){var o=n.next();return o.done?o:S(t,e?--r:r++,o.value,o)})},re.prototype[pn]=!0,t(oe,I),oe.prototype.includes=function(t){return this._iter.includes(t)},oe.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate(function(e){return t(e,r++,n)},e)},oe.prototype.__iterator=function(t,e){var n=this._iter.__iterator(bn,e),r=0;return new w(function(){var e=n.next();return e.done?e:S(t,r++,e.value,e)})},t(ie,A),ie.prototype.has=function(t){return this._iter.includes(t)},ie.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){return t(e,e,n)},e)},ie.prototype.__iterator=function(t,e){var n=this._iter.__iterator(bn,e);return new w(function(){var e=n.next();return e.done?e:S(t,e.value,e.value,e)})},t(ae,M),ae.prototype.entrySeq=function(){return this._iter.toSeq()},ae.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){if(e){Ce(e);var r=i(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}},e)},ae.prototype.__iterator=function(t,e){var n=this._iter.__iterator(bn,e);return new w(function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){Ce(r);var o=i(r);return S(t,o?r.get(0):r[0],o?r.get(1):r[1],e)}}})},oe.prototype.cacheResult=re.prototype.cacheResult=ie.prototype.cacheResult=ae.prototype.cacheResult=De,t(Ae,et),Ae.prototype.toString=function(){return this.__toString(Ne(this)+" {","}")},Ae.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},Ae.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},Ae.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=Pe(this,St()))},Ae.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+Ne(this));if(this._map&&!this._map.has(t)){if(e===this._defaultValues[t])return this}var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:Pe(this,n)},Ae.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:Pe(this,e)},Ae.prototype.wasAltered=function(){return this._map.wasAltered()},Ae.prototype.__iterator=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterator(t,e)},Ae.prototype.__iterate=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterate(t,e)},Ae.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?Pe(this,e,t):(this.__ownerID=t,this._map=e,this)};var $n=Ae.prototype;$n.delete=$n.remove,$n.deleteIn=$n.removeIn=Kn.removeIn,$n.merge=Kn.merge,$n.mergeWith=Kn.mergeWith,$n.mergeIn=Kn.mergeIn,$n.mergeDeep=Kn.mergeDeep,$n.mergeDeepWith=Kn.mergeDeepWith,$n.mergeDeepIn=Kn.mergeDeepIn,$n.setIn=Kn.setIn,$n.update=Kn.update,$n.updateIn=Kn.updateIn,$n.withMutations=Kn.withMutations,$n.asMutable=Kn.asMutable,$n.asImmutable=Kn.asImmutable,t(Fe,rt),Fe.of=function(){return this(arguments)},Fe.fromKeys=function(t){return this(n(t).keySeq())},Fe.prototype.toString=function(){return this.__toString("Set {","}")},Fe.prototype.has=function(t){return this._map.has(t)},Fe.prototype.add=function(t){return ze(this,this._map.set(t,!0))},Fe.prototype.remove=function(t){return ze(this,this._map.remove(t))},Fe.prototype.clear=function(){return ze(this,this._map.clear())},Fe.prototype.union=function(){var t=sn.call(arguments,0);return t=t.filter(function(t){return 0!==t.size}),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations(function(e){for(var n=0;n<t.length;n++)o(t[n]).forEach(function(t){return e.add(t)})}):this.constructor(t[0])},Fe.prototype.intersect=function(){var t=sn.call(arguments,0);if(0===t.length)return this;t=t.map(function(t){return o(t)});var e=this;return this.withMutations(function(n){e.forEach(function(e){t.every(function(t){return t.includes(e)})||n.remove(e)})})},Fe.prototype.subtract=function(){var t=sn.call(arguments,0);if(0===t.length)return this;t=t.map(function(t){return o(t)});var e=this;return this.withMutations(function(n){e.forEach(function(e){t.some(function(t){return t.includes(e)})&&n.remove(e)})})},Fe.prototype.merge=function(){return this.union.apply(this,arguments)},Fe.prototype.mergeWith=function(t){var e=sn.call(arguments,1);return this.union.apply(this,e)},Fe.prototype.sort=function(t){return je(be(this,t))},Fe.prototype.sortBy=function(t,e){return je(be(this,e,t))},Fe.prototype.wasAltered=function(){return this._map.wasAltered()},Fe.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate(function(e,r){return t(r,r,n)},e)},Fe.prototype.__iterator=function(t,e){return this._map.map(function(t,e){return e}).__iterator(t,e)},Fe.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)},Fe.isSet=Be;var Qn="@@__IMMUTABLE_SET__@@",Zn=Fe.prototype;Zn[Qn]=!0,Zn.delete=Zn.remove,Zn.mergeDeep=Zn.merge,Zn.mergeDeepWith=Zn.mergeWith,Zn.withMutations=Kn.withMutations,Zn.asMutable=Kn.asMutable,Zn.asImmutable=Kn.asImmutable,Zn.__empty=Ke,Zn.__make=Ue;var tr;t(je,Fe),je.of=function(){return this(arguments)},je.fromKeys=function(t){return this(n(t).keySeq())},je.prototype.toString=function(){return this.__toString("OrderedSet {","}")},je.isOrderedSet=He;var er=je.prototype;er[pn]=!0,er.__empty=We,er.__make=qe;var nr;t(Ve,nt),Ve.of=function(){return this(arguments)},Ve.prototype.toString=function(){return this.__toString("Stack [","]")},Ve.prototype.get=function(t,e){var n=this._head;for(t=y(this,t);n&&t--;)n=n.next;return n?n.value:e},Ve.prototype.peek=function(){return this._head&&this._head.value},Ve.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):Ge(t,e)},Ve.prototype.pushAll=function(t){if(t=r(t),0===t.size)return this;lt(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):Ge(e,n)},Ve.prototype.pop=function(){return this.slice(1)},Ve.prototype.unshift=function(){return this.push.apply(this,arguments)},Ve.prototype.unshiftAll=function(t){return this.pushAll(t)},Ve.prototype.shift=function(){return this.pop.apply(this,arguments)},Ve.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):Xe()},Ve.prototype.slice=function(t,e){if(v(t,e,this.size))return this;var n=_(t,this.size);if(m(e,this.size)!==this.size)return nt.prototype.slice.call(this,t,e);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Ge(r,o)},Ve.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ge(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Ve.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},Ve.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new w(function(){if(r){var e=r.value;return r=r.next,S(t,n++,e)}return k()})},Ve.isStack=Je;var rr="@@__IMMUTABLE_STACK__@@",or=Ve.prototype;or[rr]=!0,or.withMutations=Kn.withMutations,or.asMutable=Kn.asMutable,or.asImmutable=Kn.asImmutable,or.wasAltered=Kn.wasAltered;var ir;e.Iterator=w,Ye(e,{toArray:function(){lt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate(function(e,n){t[n]=e}),t},toIndexedSeq:function(){return new oe(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 re(this,!0)},toMap:function(){return ft(this.toKeyedSeq())},toObject:function(){lt(this.size);var t={};return this.__iterate(function(e,n){t[n]=e}),t},toOrderedMap:function(){return Qt(this.toKeyedSeq())},toOrderedSet:function(){return je(a(this)?this.valueSeq():this)},toSet:function(){return Fe(a(this)?this.valueSeq():this)},toSetSeq:function(){return new ie(this)},toSeq:function(){return u(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Ve(a(this)?this.valueSeq():this)},toList:function(){return zt(a(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(){return Ee(this,ge(this,sn.call(arguments,0)))},includes:function(t){return this.some(function(e){return X(e,t)})},entries:function(){return this.__iterator(wn)},every:function(t,e){lt(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 Ee(this,le(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},forEach:function(t,e){return lt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){lt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate(function(r){n?n=!1:e+=t,e+=null!==r&&void 0!==r?r.toString():""}),e},keys:function(){return this.__iterator(mn)},map:function(t,e){return Ee(this,se(this,t,e))},reduce:function(t,e,n){lt(this.size);var r,o;return 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 Ee(this,ce(this,!0))},slice:function(t,e){return Ee(this,de(this,t,e,!0))},some:function(t,e){return!this.every(Ze(t),e)},sort:function(t){return Ee(this,be(this,t))},values:function(){return this.__iterator(bn)},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 h(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return fe(this,t,e)},equals:function(t){return Y(this,t)},entrySeq:function(){var t=this;if(t._cache)return new P(t._cache);var e=t.toSeq().map(Qe).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Ze(t),e)},findEntry:function(t,e,n){var r=n;return this.__iterate(function(n,o,i){if(t.call(e,n,o,i))return r=[o,n],!1}),r},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},findLastEntry:function(t,e,n){return this.toKeyedSeq().reverse().findEntry(t,e,n)},findLastKey:function(t,e){return this.toKeyedSeq().reverse().findKey(t,e)},first:function(){return this.find(g)},flatMap:function(t,e){return Ee(this,_e(this,t,e))},flatten:function(t){return Ee(this,ve(this,t,!0))},fromEntrySeq:function(){return new ae(this)},get:function(t,e){return this.find(function(e,n){return X(n,t)},void 0,e)},getIn:function(t,e){for(var n,r=this,o=Ie(t);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,gn):gn)===gn)return e}return r},groupBy:function(t,e){return pe(this,t,e)},has:function(t){return this.get(t,gn)!==gn},hasIn:function(t){return this.getIn(t,gn)!==gn},isSubset:function(t){return t="function"==typeof t.includes?t:e(t),this.every(function(e){return t.includes(e)})},isSuperset:function(t){return t="function"==typeof t.isSubset?t:e(t),t.isSubset(this)},keyOf:function(t){return this.findKey(function(e){return X(e,t)})},keySeq:function(){return this.toSeq().map($e).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return we(this,t)},maxBy:function(t,e){return we(this,e,t)},min:function(t){return we(this,t?tn(t):rn)},minBy:function(t,e){return we(this,e?tn(e):rn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Ee(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Ee(this,ye(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Ze(t),e)},sortBy:function(t,e){return Ee(this,be(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Ee(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Ee(this,he(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Ze(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=on(this))}});var ar=e.prototype;ar[cn]=!0,ar[En]=ar.values,ar.__toJS=ar.toArray,ar.__toStringMapper=en,ar.inspect=ar.toSource=function(){return this.toString()},ar.chain=ar.flatMap,ar.contains=ar.includes,Ye(n,{flip:function(){return Ee(this,ue(this))},mapEntries:function(t,e){var n=this,r=0;return Ee(this,this.toSeq().map(function(o,i){return t.call(e,[i,o],r++,n)}).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Ee(this,this.toSeq().flip().map(function(r,o){return t.call(e,r,o,n)}).flip())}});var ur=n.prototype;return ur[ln]=!0,ur[En]=ar.entries,ur.__toJS=ar.toObject,ur.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+en(t)},Ye(r,{toKeyedSeq:function(){return new re(this,!1)},filter:function(t,e){return Ee(this,le(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.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return Ee(this,ce(this,!1))},slice:function(t,e){return Ee(this,de(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=_(t,t<0?this.count():this.size);var r=this.slice(0,t);return Ee(this,1===n?r:r.concat(d(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.findLastEntry(t,e);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(t){return Ee(this,ve(this,t,!1))},get:function(t,e){return t=y(this,t),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=y(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Ee(this,me(this,t))},interleave:function(){var t=[this].concat(d(arguments)),e=ke(this.toSeq(),I.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Ee(this,n)},keySeq:function(){return Z(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Ee(this,ye(this,t,e,!1))},zip:function(){return Ee(this,ke(this,nn,[this].concat(d(arguments))))},zipWith:function(t){var e=d(arguments);return e[0]=this,Ee(this,ke(this,t,e))}}),r.prototype[fn]=!0,r.prototype[pn]=!0,Ye(o,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=ar.includes,o.prototype.contains=o.prototype.includes,Ye(M,n.prototype),Ye(I,r.prototype),Ye(A,o.prototype),Ye(et,n.prototype),Ye(nt,r.prototype),Ye(rt,o.prototype),{Iterable:e,Seq:D,Collection:tt,Map:ft,OrderedMap:Qt,List:zt,Stack:Ve,Set:Fe,OrderedSet:je,Record:Ae,Range:Z,Repeat:$,is:X,fromJS:W}})},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function i(t){if(f===clearTimeout)return clearTimeout(t);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function a(){y&&d&&(y=!1,d.length?h=d.concat(h):g=-1,h.length&&u())}function u(){if(!y){var t=o(a);y=!0;for(var e=h.length;e;){for(d=h,h=[];++g<e;)d&&d[g].run();g=-1,e=h.length}d=null,y=!1,i(t)}}function s(t,e){this.fun=t,this.array=e}function c(){}var l,f,p=t.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(t){l=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(t){f=r}}();var d,h=[],y=!1,g=-1;p.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];h.push(new s(t,e)),1!==h.length||y||o(u)},s.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=c,p.addListener=c,p.once=c,p.off=c,p.removeListener=c,p.removeAllListeners=c,p.emit=c,p.prependListener=c,p.prependOnceListener=c,p.listeners=function(t){return[]},p.binding=function(t){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(t){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(t,e,n){var r=n(233),o=n(120);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return t.offset===e.offset?e.length-t.length:t.offset-e.offset}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){if(-1!==f.indexOf(t.type))return l.default.renderToStaticMarkup(t);var e=l.default.renderToStaticMarkup(s.default.cloneElement(t,{},"\r")).split("\r");return(0,a.default)(e.length>1,"convertToHTML: Element of type "+t.type+" must render children"),(0,a.default)(e.length<3,"convertToHTML: Element of type "+t.type+" cannot use carriage return character"),{start:e[0],end:e[1]}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var i=n(55),a=r(i),u=n(3),s=r(u),c=n(98),l=r(c),f=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]},function(t,e,n){"use strict";function r(t){return t.replace(o,"-$1").toLowerCase()}var o=/([A-Z])/g;t.exports=r},function(t,e,n){"use strict";function r(t){var e={};return function(n){return e.hasOwnProperty(n)||(e[n]=t.call(this,n)),e[n]}}t.exports=r},function(t,e,n){"use strict";t.exports=n(316)},function(t,e,n){"use strict";function r(t){var e=new a(t),n=i(a.prototype.request,e);return o.extend(n,a.prototype,e),o.extend(n,e),n}var o=n(5),i=n(60),a=n(101),u=n(33),s=r(u);s.Axios=a,s.create=function(t){return r(o.merge(u,t))},s.Cancel=n(57),s.CancelToken=n(100),s.isCancel=n(58),s.all=function(t){return Promise.all(t)},s.spread=n(115),t.exports=s,t.exports.default=s},function(t,e,n){"use strict";function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new o(t),e(n.reason))})}var o=n(57);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r(function(e){t=e}),cancel:t}},t.exports=r},function(t,e,n){"use strict";function r(t){this.defaults=t,this.interceptors={request:new a,response:new a}}var o=n(33),i=n(5),a=n(102),u=n(103),s=n(111),c=n(109);r.prototype.request=function(t){"string"==typeof t&&(t=i.merge({url:arguments[0]},arguments[1])),t=i.merge(o,this.defaults,{method:"get"},t),t.baseURL&&!s(t.url)&&(t.url=c(t.baseURL,t.url));var e=[u,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)n=n.then(e.shift(),e.shift());return n},i.forEach(["delete","get","head"],function(t){r.prototype[t]=function(e,n){return this.request(i.merge(n||{},{method:t,url:e}))}}),i.forEach(["post","put","patch"],function(t){r.prototype[t]=function(e,n,r){return this.request(i.merge(r||{},{method:t,url:e,data:n}))}}),t.exports=r},function(t,e,n){"use strict";function r(){this.handlers=[]}var o=n(5);r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){o.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=r},function(t,e,n){"use strict";function r(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var o=n(5),i=n(106),a=n(58),u=n(33);t.exports=function(t){return r(t),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=o.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||u.adapter)(t).then(function(e){return r(t),e.data=i(e.data,e.headers,t.transformResponse),e},function(e){return a(e)||(r(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(t,e,n){"use strict";t.exports=function(t,e,n,r){return t.config=e,n&&(t.code=n),t.response=r,t}},function(t,e,n){"use strict";var r=n(59);t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n)):t(n)}},function(t,e,n){"use strict";var r=n(5);t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},function(t,e,n){"use strict";function r(){this.message="String contains an invalid character"}function o(t){for(var e,n,o=String(t),a="",u=0,s=i;o.charAt(0|u)||(s="=",u%1);a+=s.charAt(63&e>>8-u%1*8)){if((n=o.charCodeAt(u+=.75))>255)throw new r;e=e<<8|n}return a}var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",t.exports=o},function(t,e,n){"use strict";function r(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=n(5);t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(o.isURLSearchParams(e))i=e.toString();else{var a=[];o.forEach(e,function(t,e){null!==t&&void 0!==t&&(o.isArray(t)&&(e+="[]"),o.isArray(t)||(t=[t]),o.forEach(t,function(t){o.isDate(t)?t=t.toISOString():o.isObject(t)&&(t=JSON.stringify(t)),a.push(r(e)+"="+r(t))}))}),i=a.join("&")}return i&&(t+=(-1===t.indexOf("?")?"?":"&")+i),t}},function(t,e,n){"use strict";t.exports=function(t,e){return t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,"")}},function(t,e,n){"use strict";var r=n(5);t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,o,i,a){var u=[];u.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),r.isString(o)&&u.push("path="+o),r.isString(i)&&u.push("domain="+i),!0===a&&u.push("secure"),document.cookie=u.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";var r=n(5);t.exports=r.isStandardBrowserEnv()?function(){function t(t){var e=t;return n&&(o.setAttribute("href",e),e=o.href),o.setAttribute("href",e),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var e,n=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return e=t(window.location.href),function(n){var o=r.isString(n)?t(n):n;return o.protocol===e.protocol&&o.host===e.host}}():function(){return function(){return!0}}()},function(t,e,n){"use strict";var r=n(5);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},function(t,e,n){"use strict";var r=n(5);t.exports=function(t){var e,n,o,i={};return t?(r.forEach(t.split("\n"),function(t){o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e&&(i[e]=i[e]?i[e]+", "+n:n)}),i):i}},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";e.__esModule=!0;e.getSelectionRect=function(t){var e=t.getRangeAt(0).getBoundingClientRect(),n=e&&e.top?e:t.getRangeAt(0).getClientRects()[0];if(!n){if(!t.anchorNode||!t.anchorNode.getBoundingClientRect)return null;n=t.anchorNode.getBoundingClientRect(),n.isEmptyline=!0}return n},e.getSelection=function(t){var e=null;return t.getSelection?e=t.getSelection():t.document.getSelection?e=t.document.getSelection():t.document.selection&&(e=t.document.selection.createRange().text),e},e.getSelectedBlockNode=function(t){var e=t.getSelection();if(0===e.rangeCount)return null;var n=e.getRangeAt(0).startContainer;do{if(n.getAttribute&&"true"===n.getAttribute("data-block"))return n;n=n.parentNode}while(null!==n);return null}},function(t,e,n){t.exports={default:n(266),__esModule:!0}},function(t,e,n){t.exports={default:n(267),__esModule:!0}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){t.exports={}},function(t,e){t.exports=!0},function(t,e,n){var r=n(61),o=n(283),i=n(120),a=n(126)("IE_PROTO"),u=function(){},s=function(){var t,e=n(227)("iframe"),r=i.length;for(e.style.display="none",n(277).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.F;r--;)delete s.prototype[i[r]];return s()};t.exports=Object.create||function(t,e){var n;return null!==t?(u.prototype=r(t),n=new u,u.prototype=null,n[a]=t):n=s(),void 0===e?n:o(n,e)}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(36).f,o=n(35),i=n(53)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(127)("keys"),o=n(93);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){var r=n(32),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(63);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(32),o=n(31),i=n(122),a=n(131),u=n(36).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||u(e,t,{value:a.f(t)})}},function(t,e,n){e.f=n(53)},function(t,e,n){"use strict";var r=n(20),o=n(7),i=n(14),a=n(4),u=n(1),s=n(2),c=(n(21),n(9)),l=n(190),f=s.List,p=s.Repeat,d={insertAtomicBlock:function(t,e,n){var s=t.getCurrentContent(),l=t.getSelection(),d=a.removeRange(s,l,"backward"),h=d.getSelectionAfter(),y=a.splitBlock(d,h),g=y.getSelectionAfter(),v=a.setBlockType(y,g,"atomic"),_=o.create({entity:e}),m=[new i({key:c(),type:"atomic",text:n,characterList:f(p(_,n.length))}),new i({key:c(),type:"unstyled",text:"",characterList:f()})],b=r.createFromArray(m),w=a.replaceWithFragment(v,g,b),S=w.merge({selectionBefore:l,selectionAfter:w.getSelectionAfter().set("hasFocus",!0)});return u.push(t,S,"insert-fragment")},moveAtomicBlock:function(t,e,n,r){var o=t.getCurrentContent(),i=t.getSelection(),s=void 0;if("before"===r||"after"===r){var c=o.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());s=l(o,e,c,r)}else{var f=a.removeRange(o,n,"backward"),p=f.getSelectionAfter(),d=f.getBlockForKey(p.getFocusKey());if(0===p.getStartOffset())s=l(f,e,d,"before");else if(p.getEndOffset()===d.getLength())s=l(f,e,d,"after");else{var h=a.splitBlock(f,p),y=h.getSelectionAfter(),g=h.getBlockForKey(y.getFocusKey());s=l(h,e,g,"before")}}var v=s.merge({selectionBefore:i,selectionAfter:s.getSelectionAfter().set("hasFocus",!0)});return u.push(t,v,"move-block")}};t.exports=d},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e,n){for(var r=e;r<n;r++)if(null!=t[r])return!1;return!0}function i(t,e,n,r){for(var o=e;o<n;o++)t[o]=r}var a=n(2),u=a.List,s=function(){function t(e){r(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,a){var u=0;(0,r.strategy)(t,function(t,e){o(n,t,e)&&(i(n,t,e,a+"."+u),u++)},e)}),u(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=s},function(t,e,n){"use strict";function r(t,e,n,r){var i=t.getBlockMap(),u=e.getStartKey(),s=e.getStartOffset(),c=e.getEndKey(),l=e.getEndOffset(),f=i.skipUntil(function(t,e){return e===u}).takeUntil(function(t,e){return e===c}).concat(a([[c,i.get(c)]])).map(function(t,e){var i,a;u===c?(i=s,a=l):(i=e===u?s:0,a=e===c?l:t.getLength());for(var f,p=t.getCharacterList();i<a;)f=p.get(i),p=p.set(i,r?o.applyStyle(f,n):o.removeStyle(f,n)),i++;return t.set("characterList",p)});return t.merge({blockMap:i.merge(f),selectionBefore:e,selectionAfter:e})}var o=n(7),i=n(2),a=i.Map,u={add:function(t,e,n){return r(t,e,n,!0)},remove:function(t,e,n){return r(t,e,n,!1)}};t.exports=u},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(11),u=a||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},s=n(38),c=n(65),l=n(136),f=n(137),p=n(138),d=n(139),h=n(141),y=n(1),g=n(3),v=n(8),_=n(86),m=n(45),b=n(10),w=n(23),S=n(17),k=n(9),E=n(73),C=n(48),x=n(0),O=n(6),T=b.isBrowser("IE"),D=!T,M={edit:d,composite:l,drag:p,cut:null,render:null},I=function(t){function e(n){r(this,e);var i=o(this,t.call(this,n));return i._blockSelectEvents=!1,i._clipboard=null,i._handler=null,i._dragCount=0,i._editorKey=n.editorKey||k(),i._placeholderAccessibilityID="placeholder-"+i._editorKey,i._latestEditorState=n.editorState,i._latestCommittedEditorState=n.editorState,i._onBeforeInput=i._buildHandler("onBeforeInput"),i._onBlur=i._buildHandler("onBlur"),i._onCharacterData=i._buildHandler("onCharacterData"),i._onCompositionEnd=i._buildHandler("onCompositionEnd"),i._onCompositionStart=i._buildHandler("onCompositionStart"),i._onCopy=i._buildHandler("onCopy"),i._onCut=i._buildHandler("onCut"),i._onDragEnd=i._buildHandler("onDragEnd"),i._onDragOver=i._buildHandler("onDragOver"),i._onDragStart=i._buildHandler("onDragStart"),i._onDrop=i._buildHandler("onDrop"),i._onInput=i._buildHandler("onInput"),i._onFocus=i._buildHandler("onFocus"),i._onKeyDown=i._buildHandler("onKeyDown"),i._onKeyPress=i._buildHandler("onKeyPress"),i._onKeyUp=i._buildHandler("onKeyUp"),i._onMouseDown=i._buildHandler("onMouseDown"),i._onMouseUp=i._buildHandler("onMouseUp"),i._onPaste=i._buildHandler("onPaste"),i._onSelect=i._buildHandler("onSelect"),i.focus=i._focus.bind(i),i.blur=i._blur.bind(i),i.setMode=i._setMode.bind(i),i.exitCurrentMode=i._exitCurrentMode.bind(i),i.restoreEditorDOM=i._restoreEditorDOM.bind(i),i.setClipboard=i._setClipboard.bind(i),i.getClipboard=i._getClipboard.bind(i),i.getEditorKey=function(){return i._editorKey},i.update=i._update.bind(i),i.onDragEnter=i._onDragEnter.bind(i),i.onDragLeave=i._onDragLeave.bind(i),i.state={contentsKey:0},i}return i(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(){return this._showPlaceholder()?g.createElement(h,{text:O(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID}):null},e.prototype.render=function(){var t=this.props,e=t.readOnly,n=t.textAlignment,r=w({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===n,"DraftEditor/alignRight":"right"===n,"DraftEditor/alignCenter":"center"===n}),o={outline:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"},i=this.props.role||"textbox",a="combobox"===i?!!this.props.ariaExpanded:null;return g.createElement("div",{className:r},this._renderPlaceholder(),g.createElement("div",{className:w("DraftEditor/editorContainer"),ref:"editorContainer"},g.createElement("div",{"aria-activedescendant":e?null:this.props.ariaActiveDescendantID,"aria-autocomplete":e?null:this.props.ariaAutoComplete,"aria-controls":e?null:this.props.ariaControls,"aria-describedby":this._showPlaceholder()?this._placeholderAccessibilityID:null,"aria-expanded":e?null:a,"aria-label":this.props.ariaLabel,"aria-multiline":this.props.ariaMultiline,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:w({notranslate:!e,"public/DraftEditor/content":!0}),contentEditable:!e,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:"editor",role:e?null:i,spellCheck:D&&this.props.spellCheck,style:o,suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},g.createElement(f,{blockRenderMap:this.props.blockRenderMap,blockRendererFn:this.props.blockRendererFn,blockStyleFn:this.props.blockStyleFn,customStyleMap:u({},c,this.props.customStyleMap),customStyleFn:this.props.customStyleFn,editorKey:this._editorKey,editorState:this.props.editorState,key:"contents"+this.state.contentsKey,textDirectionality:this.props.textDirectionality}))))},e.prototype.componentDidMount=function(){this.setMode("edit"),T&&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.prototype._focus=function(t){var e=this.props.editorState,n=e.getSelection().getHasFocus(),r=v.findDOMNode(this.refs.editor),o=m.getScrollParent(r),i=t||C(o),a=i.x,u=i.y;r instanceof HTMLElement||x(!1),r.focus(),o===window?window.scrollTo(a,u):_.setTop(o,u),n||this.update(y.forceSelection(e,e.getSelection()))},e.prototype._blur=function(){var t=v.findDOMNode(this.refs.editor);t instanceof HTMLElement||x(!1),t.blur()},e.prototype._setMode=function(t){this._handler=M[t]},e.prototype._exitCurrentMode=function(){this.setMode("edit")},e.prototype._restoreEditorDOM=function(t){var e=this;this.setState({contentsKey:this.state.contentsKey+1},function(){e._focus(t)})},e.prototype._setClipboard=function(t){this._clipboard=t},e.prototype._getClipboard=function(){return this._clipboard},e.prototype._update=function(t){this._latestEditorState=t,this.props.onChange(t)},e.prototype._onDragEnter=function(){this._dragCount++},e.prototype._onDragLeave=function(){0===--this._dragCount&&this.exitCurrentMode()},e}(g.Component);I.defaultProps={blockRenderMap:s,blockRendererFn:S.thatReturnsNull,blockStyleFn:S.thatReturns(""),keyBindingFn:E,readOnly:!1,spellCheck:!1,stripPastedStyles:!1},t.exports=I},function(t,e,n){"use strict";var r=n(4),o=n(1),i=n(44),a=n(41),u=n(82),s=!1,c=!1,l="",f={onBeforeInput:function(t,e){l=(l||"")+e.data},onCompositionStart:function(t){c=!0},onCompositionEnd:function(t){s=!1,c=!1,setTimeout(function(){s||f.resolveComposition(t)},20)},onKeyDown:function(t,e){if(!c)return f.resolveComposition(t),void t._onKeyDown(e);e.which!==i.RIGHT&&e.which!==i.LEFT||e.preventDefault()},onKeyPress:function(t,e){e.which===i.RETURN&&e.preventDefault()},resolveComposition:function(t){if(!c){s=!0;var e=l;l="";var n=o.set(t._latestEditorState,{inCompositionMode:!1}),i=n.getCurrentInlineStyle(),f=a(n.getCurrentContent(),n.getSelection()),p=!e||u(n)||i.size>0||null!==f;if(p&&t.restoreEditorDOM(),t.exitCurrentMode(),e){var d=r.replaceText(n.getCurrentContent(),n.getSelection(),e,i,f);return void t.update(o.push(n,d,"insert-characters"))}p&&t.update(o.set(n,{nativelyRenderedContent:null,forceSelection:!0}))}}};t.exports=f},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}function a(t,e,n,r){return p({"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})}var u=n(11),s=u||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},c=n(66),l=n(26),f=(n(1),n(3)),p=n(23),d=n(214),h=n(6),y=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(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(),u=n.getCurrentContent(),s=e.getDecorator(),c=n.getDecorator();return o!==i||a!==u||s!==c||n.mustForceSelection()},e.prototype.render=function(){for(var t=this.props,e=t.blockRenderMap,n=t.blockRendererFn,r=t.customStyleMap,o=t.customStyleFn,i=t.editorState,u=i.getCurrentContent(),p=i.getSelection(),y=i.mustForceSelection(),g=i.getDecorator(),v=h(i.getDirectionMap()),_=u.getBlocksAsArray(),m=[],b=null,w=null,S=0;S<_.length;S++){var k=_[S],E=k.getKey(),C=k.getType(),x=n(k),O=void 0,T=void 0,D=void 0;x&&(O=x.component,T=x.props,D=x.editable);var M=this.props.textDirectionality,I=M||v.get(E),A=l.encode(E,0,0),P={contentState:u,block:k,blockProps:T,customStyleMap:r,customStyleFn:o,decorator:g,direction:I,forceSelection:y,key:E,offsetKey:A,selection:p,tree:i.getBlockTree(E)},N=e.get(C)||e.get("unstyled"),R=N.wrapper,L=N.element||e.get("unstyled").element,F=k.getDepth(),B=this.props.blockStyleFn(k);if("li"===L){B=d(B,a(C,F,w!==R||null===b||F>b,I))}var z=O||c,U={className:B,"data-block":!0,"data-editor":this.props.editorKey,"data-offset-key":A,key:E};void 0!==D&&(U=s({},U,{contentEditable:D,suppressContentEditableWarning:!0}));var K=f.createElement(L,U,f.createElement(z,P));m.push({block:K,wrapperTemplate:R,key:E,offsetKey:A}),b=R?k.getDepth():null,w=R}for(var j=[],H=0;H<m.length;){var q=m[H];if(q.wrapperTemplate){var W=[];do{W.push(m[H].block),H++}while(H<m.length&&m[H].wrapperTemplate===q.wrapperTemplate);var V=f.cloneElement(q.wrapperTemplate,{key:q.key+"-wrap","data-offset-key":q.offsetKey},W);j.push(V)}else j.push(q.block),H++}return f.createElement("div",{"data-contents":"true"},j)},e}(f.Component);t.exports=y},function(t,e,n){"use strict";function r(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=d(n),r=d(r);var i=d(c(n));return f(e,i,r,i,r)}function o(t,e){var n=u.moveText(t.getCurrentContent(),t.getSelection(),e);return s.push(t,n,"insert-fragment")}function i(t,e,n){var r=u.insertText(t.getCurrentContent(),e,n,t.getCurrentInlineStyle());return s.push(t,r,"insert-fragment")}var a=n(85),u=n(4),s=n(1),c=n(40),l=n(79),f=n(80),p=n(29),d=n(6),h={onDragEnd:function(t){t.exitCurrentMode()},onDrop:function(t,e){var n=new a(e.nativeEvent.dataTransfer),u=t._latestEditorState,s=r(e.nativeEvent,u);if(e.preventDefault(),t.exitCurrentMode(),null!=s){var c=n.getFiles();if(c.length>0){if(t.props.handleDroppedFiles&&p(t.props.handleDroppedFiles(s,c)))return;return void l(c,function(e){e&&t.update(i(u,s,e))})}var f=t._internalDrag?"internal":"external";if(!t.props.handleDrop||!p(t.props.handleDrop(s,n,f)))return t._internalDrag?void t.update(o(u,s)):void t.update(i(u,s,n.getText()))}}};t.exports=h},function(t,e,n){"use strict";var r=n(157),o=n(158),i=n(159),a=n(160),u=n(161),s=n(162),c=n(163),l=n(164),f=n(165),p=n(166),d=n(167),h=n(168),y={onBeforeInput:r,onBlur:o,onCompositionStart:i,onCopy:a,onCut:u,onDragOver:s,onDragStart:c,onFocus:l,onInput:f,onKeyDown:p,onPaste:d,onSelect:h};t.exports=y},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(11),u=(n(14),n(142)),s=n(3),c=n(8),l=n(0),f=n(192),p=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(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(),a=r+o.length;if(t.hasEdgeWithin(i,r,a)){var u=c.findDOMNode(this);u||l(!1);var s=u.firstChild;s||l(!1);var p=void 0;s.nodeType===Node.TEXT_NODE?p=s:"BR"===s.tagName?p=u:(p=s.firstChild)||l(!1),f(t,p,i,r,a)}}},e.prototype.shouldComponentUpdate=function(t){var e=c.findDOMNode(this.refs.leaf);return e||l(!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.props.block,e=this.props.text;e.endsWith("\n")&&this.props.isLast&&(e+="\n");var n=this.props,r=n.customStyleMap,o=n.customStyleFn,i=n.offsetKey,c=n.styleSet,l=c.reduce(function(t,e){var n={},o=r[e];return void 0!==o&&t.textDecoration!==o.textDecoration&&(n.textDecoration=[t.textDecoration,o.textDecoration].join(" ").trim()),a(t,o,n)},{});if(o){var f=o(c,t);l=a(l,f)}return s.createElement("span",{"data-offset-key":i,ref:"leaf",style:l},s.createElement(u,null,e))},e}(s.Component);t.exports=p},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(3),u=n(23),s=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(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=u({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":t});return a.createElement("div",{className:e},a.createElement("div",{className:u("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID},this.props.text))},e}(a.Component);t.exports=s},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}function a(t){return f?"\n"===t.textContent:"BR"===t.tagName}var u=n(3),s=n(8),c=n(10),l=n(0),f=c.isBrowser("IE <= 11"),p=f?u.createElement("span",{key:"A","data-text":"true"},"\n"):u.createElement("br",{key:"A","data-text":"true"}),d=f?u.createElement("span",{key:"B","data-text":"true"},"\n"):u.createElement("br",{key:"B","data-text":"true"}),h=function(t){function e(n){r(this,e);var i=o(this,t.call(this,n));return i._forceFlag=!1,i}return i(e,t),e.prototype.shouldComponentUpdate=function(t){var e=s.findDOMNode(this),n=""===t.children;return e instanceof Element||l(!1),n?!a(e):e.textContent!==t.children},e.prototype.componentWillUpdate=function(){this._forceFlag=!this._forceFlag},e.prototype.render=function(){return""===this.props.children?this._forceFlag?p:d:u.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true"},this.props.children)},e}(u.Component);t.exports=h},function(t,e,n){"use strict";var r={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,u,s=r,c=null,l=null,f=0;f<i.length;f++){if(u=i[f],a=s+u.length,t<a&&s<e)null!==c?l=a:(c=s,l=a);else if(null!==c)break;s=a}var p=r+n.length,d=c===r,h=l===p;return(!d&&h||d&&!h)&&("forward"===o?l!==p&&l++:c!==r&&c--),{start:c,end:l}}};t.exports=r},function(t,e,n){"use strict";var r={draft_killswitch_allow_nontextnodes:!1,draft_segmented_entities_behavior:!1};t.exports=r},function(t,e,n){"use strict";t.exports={logSelectionStateFailure:function(){return null}}},function(t,e,n){"use strict";var r=(n(7),n(14)),o=n(2),i=n(72),a=n(9),u=n(77),s=n(43),c=o.List,l=o.Repeat,f={processHTML:function(t,e){return i(t,u,e)},processText:function(t,e,n){return t.map(function(t){return t=s(t),new r({key:a(),type:n,text:t,characterList:c(l(e,t.length))})})}};t.exports=f},function(t,e,n){"use strict";var r,o=n(2),i=n(200),a=n(6),u=o.OrderedMap,s={getDirectionMap:function(t,e){r?r.reset():r=new i;var n=t.getBlockMap(),s=n.valueSeq().map(function(t){return a(r).getDirection(t.getText())}),c=u(n.keySeq().zip(s));return null!=e&&o.is(e,c)?e:c}};t.exports=s},function(t,e,n){"use strict";var r=n(4),o=n(1),i=n(28),a=n(6),u=null,s={cut:function(t){var e=t.getCurrentContent(),n=t.getSelection(),s=null;if(n.isCollapsed()){var c=n.getAnchorKey(),l=e.getBlockForKey(c).getLength();if(l===n.getAnchorOffset())return t;s=n.set("focusOffset",l)}else s=n;s=a(s),u=i(e,s);var f=r.removeRange(e,s,"forward");return f===e?t:o.push(t,f,"remove-range")},paste:function(t){if(!u)return t;var e=r.replaceWithFragment(t.getCurrentContent(),t.getSelection(),u);return o.push(t,e,"insert-fragment")}};t.exports=s},function(t,e,n){"use strict";function r(t,e,n,r){var o=e.getStartKey(),i=e.getEndKey(),a=t.getBlockMap(),u=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(u),t.merge({blockMap:a,selectionBefore:e,selectionAfter:e})}t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){for(var i=t.getCharacterList();e<n;)i=i.set(e,o.applyEntity(i.get(e),r)),e++;return t.set("characterList",i)}var o=n(7);t.exports=r},function(t,e,n){"use strict";function r(t,e,n){var r=t.getBlockMap(),a=e.getStartKey(),u=e.getStartOffset(),s=e.getEndKey(),c=e.getEndOffset(),l=r.skipUntil(function(t,e){return e===a}).takeUntil(function(t,e){return e===s}).toOrderedMap().merge(o.OrderedMap([[s,r.get(s)]])).map(function(t,e){var r=e===a?u:0,o=e===s?c:t.getLength();return i(t,r,o,n)});return t.merge({blockMap:r.merge(l),selectionBefore:e,selectionAfter:e})}var o=n(2),i=n(150);t.exports=r},function(t,e,n){"use strict";function r(t){var e=0,n={},r=[];t.getBlockMap().forEach(function(t,u){t.findEntityRanges(function(t){return null!==t.getEntity()},function(r){var i=o.stringify(t.getEntityAt(r));n.hasOwnProperty(i)||(n[i]=""+e++)}),r.push({key:u,text:t.getText(),type:t.getType(),depth:t.getDepth(),inlineStyleRanges:a(t),entityRanges:i(t,n),data:t.getData().toObject()})});var u=Object.keys(n),s={};return u.forEach(function(e,n){var r=t.getEntity(o.unstringify(e));s[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}}),{entityMap:s,blocks:r}}var o=n(70),i=n(169),a=n(170);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.blocks,n=t.entityMap,r={};Object.keys(n).forEach(function(t){var e=n[t],o=e.type,i=e.mutability,a=e.data,u=s.__create(o,i,a||{});r[t]=u});var o=e.map(function(t){var e=t.key,n=t.type,o=t.text,u=t.depth,s=t.inlineStyleRanges,c=t.entityRanges,y=t.data;e=e||d(),n=n||"unstyled",u=u||0,s=s||[],c=c||[],y=h(y);var g=p(o,s),v=c.filter(function(t){return r.hasOwnProperty(t.key)}).map(function(t){return i({},t,{key:r[t.key]})}),_=f(o,v),m=l(g,_);return new a({key:e,type:n,text:o,depth:u,characterList:m,data:y})});return u.createFromBlockArray(o)}var o=n(11),i=o||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},a=n(14),u=n(37),s=n(25),c=n(2),l=n(154),f=n(155),p=n(156),d=n(9),h=c.Map;t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=t.map(function(t,n){var r=e[n];return o.create({style:t,entity:r})});return a(n)}var o=n(7),i=n(2),a=i.List;t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=Array(t.length).fill(null);return e&&e.forEach(function(e){for(var r=i(t,0,e.offset).length,o=r+i(t,e.offset,e.length).length,a=r;a<o;a++)n[a]=e.key}),n}var o=n(15),i=o.substr;t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=Array(t.length).fill(s);return e&&e.forEach(function(e){for(var r=u(t,0,e.offset).length,o=r+u(t,e.offset,e.length).length;r<o;)n[r]=n[r].add(e.style),r++}),n}var o=n(2),i=o.OrderedSet,a=n(15),u=a.substr,s=i();t.exports=r},function(t,e,n){"use strict";(function(e){function r(t){return v&&(t==y||t==g)}function o(t,e,n,r){var o=u.replaceText(t.getCurrentContent(),t.getSelection(),e,n,r);return s.push(t,o,"insert-characters")}function i(t,n){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var i=t._latestEditorState,u=n.data;if(u){if(t.props.handleBeforeInput&&f(t.props.handleBeforeInput(u,i)))return void n.preventDefault();var c=i.getSelection(),y=c.getAnchorKey();if(!c.isCollapsed())return n.preventDefault(),void t.update(o(i,u,i.getCurrentInlineStyle(),l(i.getCurrentContent(),i.getSelection())));var g=o(i,u,i.getCurrentInlineStyle(),l(i.getCurrentContent(),i.getSelection())),v=!1;if(v||(v=p(t._latestCommittedEditorState)),!v){var _=e.getSelection();if(null!==_.anchorNode&&_.anchorNode.nodeType===Node.TEXT_NODE){var m=_.anchorNode.parentNode;v="SPAN"===m.nodeName&&m.firstChild.nodeType===Node.TEXT_NODE&&-1!==m.firstChild.nodeValue.indexOf("\t")}}if(!v){v=a.getFingerprint(i.getBlockTree(y))!==a.getFingerprint(g.getBlockTree(y))}if(v||(v=r(u)),v||(v=d(g.getDirectionMap()).get(y)!==d(i.getDirectionMap()).get(y)),v)return n.preventDefault(),void t.update(g);g=s.set(g,{nativelyRenderedContent:g.getCurrentContent()}),t._pendingStateFromBeforeInput=g,h(function(){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0)})}}var a=n(64),u=n(4),s=n(1),c=n(10),l=n(41),f=n(29),p=n(82),d=n(6),h=n(216),y="'",g="/",v=c.isBrowser("Firefox");t.exports=i}).call(e,n(12))},function(t,e,n){"use strict";(function(e){function r(t,n){if(a()===document.body){var r=e.getSelection(),u=t.refs.editor;1===r.rangeCount&&i(u,r.anchorNode)&&i(u,r.focusNode)&&r.removeAllRanges()}var s=t._latestEditorState,c=s.getSelection();if(c.getHasFocus()){var l=c.set("hasFocus",!1);t.props.onBlur&&t.props.onBlur(n),t.update(o.acceptSelection(s,l))}}var o=n(1),i=n(30),a=n(47);t.exports=r}).call(e,n(12))},function(t,e,n){"use strict";function r(t,e){t.setMode("composite"),t.update(o.set(t._latestEditorState,{inCompositionMode:!0})),t._onCompositionStart(e)}var o=n(1);t.exports=r},function(t,e,n){"use strict";function r(t,e){if(t._latestEditorState.getSelection().isCollapsed())return void e.preventDefault();t.setClipboard(o(t._latestEditorState))}var o=n(75);t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=t._latestEditorState;if(n.getSelection().isCollapsed())return void e.preventDefault();var r=u.getScrollParent(e.target),i=c(r),a=i.x,l=i.y,f=s(n);t.setClipboard(f),t.setMode("cut"),setTimeout(function(){t.restoreEditorDOM({x:a,y:l}),t.exitCurrentMode(),t.update(o(n))},0)}function o(t){var e=i.removeRange(t.getCurrentContent(),t.getSelection(),"forward");return a.push(t,e,"remove-range")}var i=n(4),a=n(1),u=n(45),s=n(75),c=n(48);t.exports=r},function(t,e,n){"use strict";function r(t,e){t._internalDrag=!1,t.setMode("drag"),e.preventDefault()}t.exports=r},function(t,e,n){"use strict";function r(t){t._internalDrag=!0,t.setMode("drag")}t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=t._latestEditorState,r=n.getSelection();if(!r.getHasFocus()){var a=r.set("hasFocus",!0);t.props.onFocus&&t.props.onFocus(e),i.isBrowser("Chrome < 60.0.3081.0")?t.update(o.forceSelection(n,a)):t.update(o.acceptSelection(n,a))}}var o=n(1),i=n(10);t.exports=r},function(t,e,n){"use strict";(function(e){function r(t){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var n=e.getSelection(),r=n.anchorNode,s=n.isCollapsed,d=r.nodeType!==Node.TEXT_NODE,h=r.nodeType!==Node.TEXT_NODE&&r.nodeType!==Node.ELEMENT_NODE;if(o.draft_killswitch_allow_nontextnodes){if(d)return}else if(h)return;if(r.nodeType===Node.TEXT_NODE&&(null!==r.previousSibling||null!==r.nextSibling)){var y=r.parentNode;r.nodeValue=y.textContent;for(var g=y.firstChild;null!==g;g=g.nextSibling)g!==r&&y.removeChild(g)}var v=r.textContent,_=t._latestEditorState,m=l(c(r)),b=a.decode(m),w=b.blockKey,S=b.decoratorKey,k=b.leafKey,E=_.getBlockTree(w).getIn([S,"leaves",k]),C=E.start,x=E.end,O=_.getCurrentContent(),T=O.getBlockForKey(w),D=T.getText().slice(C,x);if(v.endsWith(p)&&(v=v.slice(0,-1)),v!==D){var M,I,A,P,N=_.getSelection(),R=N.merge({anchorOffset:C,focusOffset:x,isBackward:!1}),L=T.getEntityAt(C),F=L&&O.getEntity(L),B=F&&F.getMutability(),z="MUTABLE"===B,U=z?"spellcheck-change":"apply-entity",K=i.replaceText(O,R,v,T.getInlineStyleAt(C),z?T.getEntityAt(C):null);if(f)M=n.anchorOffset,I=n.focusOffset,A=C+Math.min(M,I),P=A+Math.abs(M-I),M=A,I=P;else{var j=v.length-D.length;A=N.getStartOffset(),P=N.getEndOffset(),M=s?P+j:A,I=P+j}var H=K.merge({selectionBefore:O.getSelectionAfter(),selectionAfter:N.merge({anchorOffset:M,focusOffset:I})});t.update(u.push(_,H,U))}}var o=n(68),i=n(4),a=n(26),u=n(1),s=n(10),c=n(40),l=n(6),f=s.isEngine("Gecko"),p="\n\n";t.exports=r}).call(e,n(12))},function(t,e,n){"use strict";function r(t,e){switch(t){case"redo":return a.redo(e);case"delete":return m(e);case"delete-word":return h(e);case"backspace":return _(e);case"backspace-word":return d(e);case"backspace-to-start-of-line":return p(e);case"split-block":return y(e);case"transpose-characters":return b(e);case"move-selection-to-start-of-block":return v(e);case"move-selection-to-end-of-block":return g(e);case"secondary-cut":return c.cut(e);case"secondary-paste":return c.paste(e);default:return e}}function o(t,e){var n=e.which,o=t._latestEditorState;switch(n){case s.RETURN:if(e.preventDefault(),t.props.handleReturn&&f(t.props.handleReturn(e,o)))return;break;case s.ESC:return e.preventDefault(),void(t.props.onEscape&&t.props.onEscape(e));case s.TAB:return void(t.props.onTab&&t.props.onTab(e));case s.UP:return void(t.props.onUpArrow&&t.props.onUpArrow(e));case s.DOWN:return void(t.props.onDownArrow&&t.props.onDownArrow(e));case s.SPACE:if(k&&S(e)){e.preventDefault();var u=i.replaceText(o.getCurrentContent(),o.getSelection()," ");return void t.update(a.push(o,u,"insert-characters"))}}var c=t.props.keyBindingFn(e);if(c){if("undo"===c)return void w(e,o,t.update);if(e.preventDefault(),!t.props.handleKeyCommand||!f(t.props.handleKeyCommand(c,o))){var l=r(c,o);l!==o&&t.update(l)}}}var i=n(4),a=n(1),u=n(39),s=n(44),c=n(148),l=n(10),f=n(29),p=n(179),d=n(180),h=n(181),y=n(182),g=n(183),v=n(184),_=n(185),m=n(186),b=n(187),w=n(188),S=u.isOptionKeyCommand,k=l.isBrowser("Chrome");t.exports=o},function(t,e,n){"use strict";function r(t,e){e.preventDefault();var n=new s(e.clipboardData);if(!n.isRichText()){var r=n.getFiles(),v=n.getText();if(r.length>0){if(t.props.handlePastedFiles&&y(t.props.handlePastedFiles(r)))return;return void h(r,function(e){if(e=e||v){var n=t._latestEditorState,r=g(e),o=u.create({style:n.getCurrentInlineStyle(),entity:d(n.getCurrentContent(),n.getSelection())}),i=p.getCurrentBlockType(n),s=l.processText(r,o,i),h=a.createFromArray(s),y=c.replaceWithFragment(n.getCurrentContent(),n.getSelection(),h);t.update(f.push(n,y,"insert-fragment"))}})}}var _=[],m=n.getText(),b=n.getHTML(),w=t._latestEditorState;if(!t.props.handlePastedText||!y(t.props.handlePastedText(m,b,w))){if(m&&(_=g(m)),!t.props.stripPastedStyles){var S=t.getClipboard();if(n.isRichText()&&S){if(-1!==b.indexOf(t.getEditorKey())||1===_.length&&1===S.size&&S.first().getText()===m)return void t.update(o(t._latestEditorState,S))}else if(S&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&i(_,S))return void t.update(o(t._latestEditorState,S));if(b){var k=l.processHTML(b,t.props.blockRenderMap);if(k){var E=k.contentBlocks,C=k.entityMap;if(E){var x=a.createFromArray(E);return void t.update(o(t._latestEditorState,x,C))}}}t.setClipboard(null)}if(_.length){var O=u.create({style:w.getCurrentInlineStyle(),entity:d(w.getCurrentContent(),w.getSelection())}),T=p.getCurrentBlockType(w),D=l.processText(_,O,T),M=a.createFromArray(D);t.update(o(t._latestEditorState,M))}}}function o(t,e,n){var r=c.replaceWithFragment(t.getCurrentContent(),t.getSelection(),e);return f.push(t,r.set("entityMap",n),"insert-fragment")}function i(t,e){return t.length===e.size&&e.valueSeq().every(function(e,n){return e.getText()===t[n]})}var a=n(20),u=n(7),s=n(85),c=n(4),l=n(146),f=n(1),p=n(71),d=n(41),h=n(79),y=n(29),g=n(194);t.exports=r},function(t,e,n){"use strict";function r(t){if(!t._blockSelectEvents&&t._latestEditorState===t.props.editorState){var e=t.props.editorState,n=i.findDOMNode(t.refs.editorContainer);n||u(!1),n.firstChild instanceof HTMLElement||u(!1);var r=a(e,n.firstChild),s=r.selectionState;s!==e.getSelection()&&(e=r.needsRecovery?o.forceSelection(e,s):o.acceptSelection(e,s),t.update(e))}}var o=n(1),i=n(8),a=n(173),u=n(0);t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=[];return t.findEntityRanges(function(t){return!!t.getEntity()},function(r,i){var u=t.getText(),s=t.getEntityAt(r);n.push({offset:a(u.slice(0,r)),length:a(u.slice(r,i)),key:Number(e[o.stringify(s)])})}),n}var o=n(70),i=n(15),a=i.strlen;t.exports=r},function(t,e,n){"use strict";function r(t,e,n){var r=[],o=e.map(function(t){return t.has(n)}).toList();return a(o,u,s,function(e,o){var a=t.getText();r.push({offset:i.strlen(a.slice(0,e)),length:i.strlen(a.slice(e,o)),style:n})}),r}function o(t){var e=t.getCharacterList().map(function(t){return t.getStyle()}).toList(),n=e.flatten().toSet().map(function(n){return r(t,e,n)});return Array.prototype.concat.apply(c,n.toJS())}var i=n(15),a=n(27),u=function(t,e){return t===e},s=function(t){return!!t},c=[];t.exports=o},function(t,e,n){"use strict";function r(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||c(!1),r.appendChild(n);var o=n.getBoundingClientRect();return r.removeChild(n),o.height}function o(t,e){for(var n=1/0,r=1/0,o=-1/0,i=-1/0,a=0;a<t.length;a++){var u=t[a];0!==u.width&&1!==u.width&&(n=Math.min(n,u.top),r=Math.min(r,u.bottom),o=Math.max(o,u.top),i=Math.max(i,u.bottom))}return o<=r&&o-n<e&&i-r<e}function i(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}}function a(t){t.collapsed||c(!1),t=t.cloneRange();var e=t.startContainer;1!==e.nodeType&&(e=e.parentNode);var n=r(e),a=t.endContainer,l=t.endOffset;for(t.setStart(t.startContainer,0);o(s(t),n)&&(a=t.startContainer,l=t.startOffset,a.parentNode||c(!1),t.setStartBefore(a),1!==a.nodeType||"inline"===getComputedStyle(a).display););for(var f=a,p=l-1;;){for(var d=f.nodeValue,h=p;h>=0;h--)if(!(null!=d&&h>0&&u.isSurrogatePair(d,h-1))){if(t.setStart(f,h),!o(s(t),n))break;a=f,l=h}if(-1===h||0===f.childNodes.length)break;f=f.childNodes[h],p=i(f)}return t.setStart(a,l),t}var u=n(15),s=n(76),c=n(0);t.exports=a},function(t,e,n){"use strict";function r(t,e,n,r,i){var a=r.getStartOffset(),u=r.getEndOffset(),s=e.getEntityAt(a),c=n.getEntityAt(u-1);if(!s&&!c)return r;var l=r;if(s&&s===c)l=o(t,e,l,i,s,!0,!0);else if(s&&c){var f=o(t,e,l,i,s,!1,!0),p=o(t,n,l,i,c,!1,!1);l=l.merge({anchorOffset:f.getAnchorOffset(),focusOffset:p.getFocusOffset(),isBackward:!1})}else if(s){var d=o(t,e,l,i,s,!1,!0);l=l.merge({anchorOffset:d.getStartOffset(),isBackward:!1})}else if(c){var h=o(t,n,l,i,c,!1,!1);l=l.merge({focusOffset:h.getEndOffset(),isBackward:!1})}return l}function o(t,e,n,r,o,s,c){var l=n.getStartOffset(),f=n.getEndOffset(),p=t.__get(o),d=p.getMutability(),h=c?l:f;if("MUTABLE"===d)return n;var y=a(e,o).filter(function(t){return h<=t.end&&h>=t.start});1!=y.length&&u(!1);var g=y[0];if("IMMUTABLE"===d)return n.merge({anchorOffset:g.start,focusOffset:g.end,isBackward:!1});s||(c?f=g.end:l=g.start);var v=i.getRemovalRange(l,f,e.getText().slice(g.start,g.end),g.start,r);return n.merge({anchorOffset:v.start,focusOffset:v.end,isBackward:!1})}var i=n(143),a=n(175),u=n(0);t.exports=r},function(t,e,n){"use strict";(function(e){function r(t,n){var r=e.getSelection();return 0===r.rangeCount?{selectionState:t.getSelection().set("hasFocus",!1),needsRecovery:!1}:o(t,n,r.anchorNode,r.anchorOffset,r.focusNode,r.focusOffset)}var o=n(74);t.exports=r}).call(e,n(12))},function(t,e,n){"use strict";function r(t){var e=o(t),n=0,r=0,i=0,a=0;if(e.length){if(e.length>1&&0===e[0].width){var u=e[1];n=u.top,r=u.right,i=u.bottom,a=u.left}else{var s=e[0];n=s.top,r=s.right,i=s.bottom,a=s.left}for(var c=1;c<e.length;c++){var l=e[c];0!==l.height&&0!==l.width&&(n=Math.min(n,l.top),r=Math.max(r,l.right),i=Math.max(i,l.bottom),a=Math.min(a,l.left))}}return{top:n,right:r,bottom:i,left:a,width:r-a,height:i-n}}var o=n(76);t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=[];return t.findEntityRanges(function(t){return t.getEntity()===e},function(t,e){n.push({start:t,end:e})}),n.length||o(!1),n}var o=n(0);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.getSelection();if(!e.rangeCount)return null;var n=e.getRangeAt(0),r=o(n),i=r.top,a=r.right,u=r.bottom,s=r.left;return 0===i&&0===a&&0===u&&0===s?null:r}var o=n(174);t.exports=r},function(t,e,n){"use strict";function r(t,e,n){e.isCollapsed()||u(!1);var r,s,c=e.getStartKey(),l=e.getStartOffset(),f=t.getBlockMap(),p=n.size;if(1===p){var d=f.get(c),h=n.first(),y=d.getText(),g=d.getCharacterList(),v=d.merge({text:y.slice(0,l)+h.getText()+y.slice(l),characterList:a(g,h.getCharacterList(),l),data:h.getData()});return r=c,s=l+h.getText().length,t.merge({blockMap:f.set(c,v),selectionBefore:e,selectionAfter:e.merge({anchorKey:r,anchorOffset:s,focusKey:r,focusOffset:s,isBackward:!1})})}var _=[];return t.getBlockMap().forEach(function(t,e){if(e!==c)return void _.push(t);var o=t.getText(),a=t.getCharacterList(),u=o.length,s=o.slice(0,l),f=a.slice(0,l),d=n.first(),h=t.merge({text:s+d.getText(),characterList:f.concat(d.getCharacterList()),type:s?t.getType():d.getType(),data:d.getData()});_.push(h),n.slice(1,p-1).forEach(function(t){_.push(t.set("key",i()))});var y=o.slice(l,u),g=a.slice(l,u),v=n.last();r=i();var m=v.merge({key:r,text:v.getText()+y,characterList:v.getCharacterList().concat(g),data:v.getData()});_.push(m)}),s=n.last().getLength(),t.merge({blockMap:o.createFromArray(_),selectionBefore:e,selectionAfter:e.merge({anchorKey:r,anchorOffset:s,focusKey:r,focusOffset:s,isBackward:!1})})}var o=n(20),i=n(9),a=n(81),u=n(0);t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){e.isCollapsed()||a(!1);var o=n.length;if(!o)return t;var s=t.getBlockMap(),c=e.getStartKey(),l=e.getStartOffset(),f=s.get(c),p=f.getText(),d=f.merge({text:p.slice(0,l)+n+p.slice(l,f.getLength()),characterList:i(f.getCharacterList(),u(r,o).toList(),l)}),h=l+o;return t.merge({blockMap:s.set(c,d),selectionAfter:e.merge({anchorOffset:h,focusOffset:h})})}var o=n(2),i=n(81),a=n(0),u=o.Repeat;t.exports=r},function(t,e,n){"use strict";(function(e){function r(t){var n=s(t,function(t){var n=t.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return u(t,1);var r=e.getSelection(),o=r.getRangeAt(0);return o=i(o),a(t,null,o.endContainer,o.endOffset,o.startContainer,o.startOffset).selectionState},"backward");return n===t.getCurrentContent()?t:o.push(t,n,"remove-range")}var o=n(1),i=n(171),a=n(74),u=n(42),s=n(22);t.exports=r}).call(e,n(12))},function(t,e,n){"use strict";function r(t){var e=u(t,function(t){var e=t.getSelection(),n=e.getStartOffset();if(0===n)return a(t,1);var r=e.getStartKey(),i=t.getCurrentContent(),u=i.getBlockForKey(r).getText().slice(0,n),s=o.getBackward(u);return a(t,s.length||1)},"backward");return e===t.getCurrentContent()?t:i.push(t,e,"remove-range")}var o=n(69),i=n(1),a=n(42),u=n(22);t.exports=r},function(t,e,n){"use strict";function r(t){var e=u(t,function(t){var e=t.getSelection(),n=e.getStartOffset(),r=e.getStartKey(),i=t.getCurrentContent(),u=i.getBlockForKey(r).getText().slice(n),s=o.getForward(u);return a(t,s.length||1)},"forward");return e===t.getCurrentContent()?t:i.push(t,e,"remove-range")}var o=n(69),i=n(1),a=n(83),u=n(22);t.exports=r},function(t,e,n){"use strict";function r(t){var e=o.splitBlock(t.getCurrentContent(),t.getSelection());return i.push(t,e,"split-block")}var o=n(4),i=n(1);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.getSelection(),n=e.getEndKey(),r=t.getCurrentContent(),i=r.getBlockForKey(n).getLength();return o.set(t,{selection:e.merge({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}),forceSelection:!0})}var o=n(1);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.getSelection(),n=e.getStartKey();return o.set(t,{selection:e.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})}var o=n(1);t.exports=r},function(t,e,n){"use strict";function r(t){var e=u(t,function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=e.getAnchorKey(),o=e.getAnchorOffset(),u=n.getBlockForKey(r).getText()[o-1];return a(t,u?i.getUTF16Length(u,0):1)},"backward");if(e===t.getCurrentContent())return t;var n=t.getSelection();return o.push(t,e.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")}var o=n(1),i=n(15),a=n(42),u=n(22);t.exports=r},function(t,e,n){"use strict";function r(t){var e=u(t,function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=e.getAnchorKey(),o=e.getAnchorOffset(),u=n.getBlockForKey(r).getText()[o];return a(t,u?i.getUTF16Length(u,0):1)},"forward");if(e===t.getCurrentContent())return t;var n=t.getSelection();return o.push(t,e.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")}var o=n(1),i=n(15),a=n(83),u=n(22);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.getSelection();if(!e.isCollapsed())return t;var n=e.getAnchorOffset();if(0===n)return t;var r=e.getAnchorKey(),u=t.getCurrentContent(),s=u.getBlockForKey(r),c=s.getLength();if(c<=1)return t;var l,f;n===c?(l=e.set("anchorOffset",n-1),f=e):(l=e.set("focusOffset",n+1),f=l.set("anchorOffset",n+1));var p=a(u,l),d=o.removeRange(u,l,"backward"),h=d.getSelectionAfter(),y=h.getAnchorOffset()-1,g=h.merge({anchorOffset:y,focusOffset:y}),v=o.replaceWithFragment(d,g,p),_=i.push(t,v,"insert-fragment");return i.acceptSelection(_,f)}var o=n(4),i=n(1),a=n(28);t.exports=r},function(t,e,n){"use strict";function r(t,e,n){var r=o.undo(e);if("spellcheck-change"===e.getLastChangeType()){var i=r.getCurrentContent();return void n(o.set(r,{nativelyRenderedContent:i}))}if(t.preventDefault(),!e.getNativelyRenderedContent())return void n(r);n(o.set(e,{nativelyRenderedContent:null})),setTimeout(function(){n(r)},0)}var o=n(1);t.exports=r},function(t,e,n){"use strict";function r(t,e,n){var r=e.getStartKey(),o=e.getEndKey(),a=t.getBlockMap(),u=a.toSeq().skipUntil(function(t,e){return e===r}).takeUntil(function(t,e){return e===o}).concat(i([[o,a.get(o)]])).map(n);return t.merge({blockMap:a.merge(u),selectionBefore:e,selectionAfter:e})}var o=n(2),i=o.Map;t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){e.getKey()===n.getKey()&&o(!1),"replace"===r&&o(!1);var i=n.getKey(),a=t.getBlockBefore(i),u=t.getBlockAfter(i),s=t.getBlockMap(),c=s.delete(e.getKey()),l=c.toSeq().takeUntil(function(t){return t===n}),f=c.toSeq().skipUntil(function(t){return t===n}).skip(1),p=void 0;return"before"===r?(a&&a.getKey()===e.getKey()&&o(!1),p=l.concat([[e.getKey(),e],[n.getKey(),n]],f).toOrderedMap()):"after"===r&&(u&&u.getKey()===e.getKey()&&o(!1),p=l.concat([[n.getKey(),n],[e.getKey(),e]],f).toOrderedMap()),t.merge({blockMap:p,selectionBefore:t.getSelectionAfter(),selectionAfter:t.getSelectionAfter().merge({anchorKey:e.getKey(),focusKey:e.getKey()})})}var o=n(0);t.exports=r},function(t,e,n){"use strict";function r(t,e){if(e.isCollapsed())return t;var n,r=t.getBlockMap(),a=e.getStartKey(),u=e.getStartOffset(),s=e.getEndKey(),c=e.getEndOffset(),l=r.get(a),f=r.get(s);n=l===f?o(l.getCharacterList(),u,c):l.getCharacterList().slice(0,u).concat(f.getCharacterList().slice(c));var p=l.merge({text:l.getText().slice(0,u)+f.getText().slice(c),characterList:n}),d=r.toSeq().skipUntil(function(t,e){return e===a}).takeUntil(function(t,e){return e===s}).concat(i.Map([[s,null]])).map(function(t,e){return e===a?p:null});return r=r.merge(d).filter(function(t){return!!t}),t.merge({blockMap:r,selectionBefore:e,selectionAfter:e.merge({anchorKey:a,anchorOffset:u,focusKey:a,focusOffset:u,isBackward:!1})})}function o(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}var i=n(2);t.exports=r},function(t,e,n){"use strict";(function(e){function r(t,e){if(!t)return"[empty]";var n=o(t,e);return n.nodeType===Node.TEXT_NODE?n.textContent:(n instanceof Element||d(!1),n.outerHTML)}function o(t,e){var n=void 0!==e?e(t):[];if(t.nodeType===Node.TEXT_NODE){var r=t.textContent.length;return document.createTextNode("[text "+r+(n.length?" | "+n.join(", "):"")+"]")}var i=t.cloneNode();1===i.nodeType&&n.length&&i.setAttribute("data-labels",n.join(", "));for(var a=t.childNodes,u=0;u<a.length;u++)i.appendChild(o(a[u],e));return i}function i(t,e){for(var n=t;n;){if(n instanceof Element&&n.hasAttribute("contenteditable"))return r(n,e);n=n.parentNode}return"Could not find contentEditable parent of node"}function a(t){return null===t.nodeValue?t.childNodes.length:t.nodeValue.length}function u(t,n,r,o,i){if(f(document.documentElement,n)){var a=e.getSelection(),u=t.getAnchorKey(),l=t.getAnchorOffset(),p=t.getFocusKey(),d=t.getFocusOffset(),h=t.getIsBackward();if(!a.extend&&h){var y=u,g=l;u=p,l=d,p=y,d=g,h=!1}var v=u===r&&o<=l&&i>=l,_=p===r&&o<=d&&i>=d;if(v&&_)return a.removeAllRanges(),c(a,n,l-o,t),void s(a,n,d-o,t);if(h){if(_&&(a.removeAllRanges(),c(a,n,d-o,t)),v){var m=a.focusNode,b=a.focusOffset;a.removeAllRanges(),c(a,n,l-o,t),s(a,m,b,t)}}else v&&(a.removeAllRanges(),c(a,n,l-o,t)),_&&s(a,n,d-o,t)}}function s(t,e,n,r){var o=p();if(t.extend&&f(o,e)){n>a(e)&&l.logSelectionStateFailure({anonymizedDom:i(e),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())});var u=e===t.focusNode;try{t.extend(e,n)}catch(a){throw l.logSelectionStateFailure({anonymizedDom:i(e,function(e){var n=[];return e===o&&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:o?o.nodeName:null,nodeIsFocus:e===t.focusNode,nodeWasFocus:u,selectionRangeCount:t.rangeCount,selectionAnchorNodeName:t.anchorNode?t.anchorNode.nodeName:null,selectionAnchorOffset:t.anchorOffset,selectionFocusNodeName:t.focusNode?t.focusNode.nodeName:null,selectionFocusOffset:t.focusOffset,message:a?""+a:null,offset:n},null,2),selectionState:JSON.stringify(r.toJS(),null,2)}),a}}else{var s=t.getRangeAt(0);s.setEnd(e,n),t.addRange(s.cloneRange())}}function c(t,e,n,r){var o=document.createRange();n>a(e)&&l.logSelectionStateFailure({anonymizedDom:i(e),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())}),o.setStart(e,n),t.addRange(o)}var l=n(145),f=n(30),p=n(47),d=n(0);t.exports=u}).call(e,n(12))},function(t,e,n){"use strict";function r(t,e){e.isCollapsed()||a(!1);var n=e.getAnchorKey(),r=e.getAnchorOffset(),o=t.getBlockMap(),s=o.get(n),c=s.getText(),l=s.getCharacterList(),f=s.merge({text:c.slice(0,r),characterList:l.slice(0,r)}),p=i(),d=f.merge({key:p,text:c.slice(r),characterList:l.slice(r),data:u()}),h=o.toSeq().takeUntil(function(t){return t===s}),y=o.toSeq().skipUntil(function(t){return t===s}).rest(),g=h.concat([[f.getKey(),f],[d.getKey(),d]],y).toOrderedMap();return t.merge({blockMap:g,selectionBefore:e,selectionAfter:e.merge({anchorKey:p,anchorOffset:0,focusKey:p,focusOffset:0,isBackward:!1})})}var o=n(2),i=n(9),a=n(0),u=o.Map;t.exports=r},function(t,e,n){"use strict";function r(t){return t.split(o)}var o=/\r\n?|\n/g;t.exports=r},function(t,e,n){"use strict";var r=n(17),o={listen:function(t,e,n){return t.addEventListener?(t.addEventListener(e,n,!1),{remove:function(){t.removeEventListener(e,n,!1)}}):t.attachEvent?(t.attachEvent("on"+e,n),{remove:function(){t.detachEvent("on"+e,n)}}):void 0},capture:function(t,e,n){return t.addEventListener?(t.addEventListener(e,n,!0),{remove:function(){t.removeEventListener(e,n,!0)}}):{remove:r}},registerDefault:function(){}};t.exports=o},function(t,e,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};t.exports=o},function(t,e,n){"use strict";function r(t){return t.split("/")}var o={isImage:function(t){return"image"===r(t)[0]},isJpeg:function(t){var e=r(t);return o.isImage(t)&&("jpeg"===e[1]||"pjpeg"===e[1])}};t.exports=o},function(t,e,n){"use strict";t.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=function(){function t(e){r(this,t),this._uri=e}return t.prototype.toString=function(){return this._uri},t}();t.exports=o},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=n(87),i=n(46),a=n(0),u=function(){function t(e){r(this,t),e?i.isStrong(e)||a(!1):e=i.getGlobalDir(),this._defaultDir=e,this.reset()}return t.prototype.reset=function(){this._lastDir=this._defaultDir},t.prototype.getDirection=function(t){return this._lastDir=o.getDirection(t,this._lastDir),this._lastDir},t}();t.exports=u},function(t,e,n){"use strict";var r=n(221),o="Unknown",i={"Mac OS":"Mac OS X"},a=new r,u=a.getResult(),s=function(t){if(!t)return{major:"",minor:""};var e=t.split(".");return{major:e[0],minor:e[1]}}(u.browser.version),c={browserArchitecture:u.cpu.architecture||o,browserFullVersion:u.browser.version||o,browserMinorVersion:s.minor||o,browserName:u.browser.name||o,browserVersion:u.browser.major||o,deviceName:u.device.model||o,engineName:u.engine.name||o,engineVersion:u.engine.version||o,platformArchitecture:u.cpu.architecture||o,platformName:function(t){return i[t]||t}(u.os.name)||o,platformVersion:u.os.version||o,platformFullVersion:u.os.version||o};t.exports=c},function(t,e,n){"use strict";function r(t,e){var n=t.split(S);return n.length>1?n.some(function(t){return x.contains(t,e)}):(t=n[0].trim(),o(t,e))}function o(t,e){var n=t.split(k);if(n.length>0&&n.length<=2||b(!1),1===n.length)return i(n[0],e);var r=n[0],o=n[1];return h(r)&&h(o)||b(!1),i(">="+r,e)&&i("<="+o,e)}function i(t,e){if(""===(t=t.trim()))return!0;var n=e.split(w),r=p(t),o=r.modifier,i=r.rangeComponents;switch(o){case"<":return a(n,i);case"<=":return u(n,i);case">=":return c(n,i);case">":return l(n,i);case"~":case"~>":return f(n,i);default:return s(n,i)}}function a(t,e){return-1===m(t,e)}function u(t,e){var n=m(t,e);return-1===n||0===n}function s(t,e){return 0===m(t,e)}function c(t,e){var n=m(t,e);return 1===n||0===n}function l(t,e){return 1===m(t,e)}function f(t,e){var n=e.slice(),r=e.slice();r.length>1&&r.pop();var o=r.length-1,i=parseInt(r[o],10);return d(i)&&(r[o]=i+1+""),c(t,n)&&a(t,r)}function p(t){var e=t.split(w),n=e[0].match(E);return n||b(!1),{modifier:n[1],rangeComponents:[n[2]].concat(e.slice(1))}}function d(t){return!isNaN(t)&&isFinite(t)}function h(t){return!p(t).modifier}function y(t,e){for(var n=t.length;n<e;n++)t[n]="0"}function g(t,e){t=t.slice(),e=e.slice(),y(t,e.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]}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?_(o,i):_(t,e)}function _(t,e){return typeof t!=typeof e&&b(!1),t>e?1:t<e?-1:0}function m(t,e){for(var n=g(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 b=n(0),w=/\./,S=/\|\|/,k=/\s+\-\s+/,E=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,C=/^(\d*)(.*)/,x={contains:function(t,e){return r(t.trim(),e.trim())}};t.exports=x},function(t,e,n){"use strict";function r(t){return t.replace(o,function(t,e){return e.toUpperCase()})}var o=/-(.)/g;t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.length;if((Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t)&&a(!1),"number"!=typeof e&&a(!1),0===e||e-1 in t||a(!1),"function"==typeof t.callee&&a(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(t){}for(var n=Array(e),r=0;r<e;r++)n[r]=t[r];return n}function o(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)}function i(t){return o(t)?Array.isArray(t)?t.slice():r(t):[t]}var a=n(0);t.exports=i},function(t,e,n){"use strict";function r(t){try{t.focus()}catch(t){}}t.exports=r},function(t,e,n){"use strict";function r(t){return t=t||document,t.scrollingElement?t.scrollingElement:o||"CSS1Compat"!==t.compatMode?t.body:t.documentElement}var o="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;t.exports=r},function(t,e,n){"use strict";function r(t){var e=o(t);return{x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}}var o=n(208);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.ownerDocument.documentElement;if(!("getBoundingClientRect"in t&&o(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}}var o=n(30);t.exports=r},function(t,e,n){"use strict";function r(t){return null==t?t:String(t)}function o(t,e){var n=void 0;if(window.getComputedStyle&&(n=window.getComputedStyle(t,null)))return r(n.getPropertyValue(a(e)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(t,null))return r(n.getPropertyValue(a(e)));if("display"===e)return"none"}return r(t.currentStyle?"float"===e?t.currentStyle.cssFloat||t.currentStyle.styleFloat:t.currentStyle[i(e)]:t.style&&t.style[i(e)])}var i=n(203),a=n(96);t.exports=o},function(t,e,n){"use strict";function r(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}}t.exports=r},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";function r(t){var e=t?t.ownerDocument||t:document,n=e.defaultView||window;return!(!t||!("function"==typeof n.Node?t instanceof n.Node:"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName))}t.exports=r},function(t,e,n){"use strict";function r(t){return o(t)&&3==t.nodeType}var o=n(212);t.exports=r},function(t,e,n){"use strict";function r(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}t.exports=r},function(t,e,n){"use strict";function r(t,e,n){if(!t)return null;var r={};for(var i in t)o.call(t,i)&&(r[i]=e.call(n,t[i],i,t));return r}var o=Object.prototype.hasOwnProperty;t.exports=r},function(t,e,n){"use strict";(function(e){n(220),t.exports=e.setImmediate}).call(e,n(12))},function(t,e,n){"use strict";function r(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!==t&&e!==e}function o(t,e){if(r(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var n=Object.keys(t),o=Object.keys(e);if(n.length!==o.length)return!1;for(var a=0;a<n.length;a++)if(!i.call(e,n[a])||!r(t[n[a]],e[n[a]]))return!1;return!0}var i=Object.prototype.hasOwnProperty;t.exports=o},function(t,e,n){"use strict";function r(t){for(var e=arguments.length-1,n="Minified React error #"+t+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+t,r=0;r<e;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);throw e=Error(n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."),e.name="Invariant Violation",e.framesToPop=1,e}function o(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function i(){if(Te)for(var t in De){var e=De[t],n=Te.indexOf(t);if(-1<n||r("96",t),!Me.plugins[n]){e.extractEvents||r("97",t),Me.plugins[n]=e,n=e.eventTypes;for(var o in n){var i=void 0,u=n[o],s=e,c=o;Me.eventNameDispatchConfigs.hasOwnProperty(c)&&r("99",c),Me.eventNameDispatchConfigs[c]=u;var l=u.phasedRegistrationNames;if(l){for(i in l)l.hasOwnProperty(i)&&a(l[i],s,c);i=!0}else u.registrationName?(a(u.registrationName,s,c),i=!0):i=!1;i||r("98",o,t)}}}}function a(t,e,n){Me.registrationNameModules[t]&&r("100",t),Me.registrationNameModules[t]=e,Me.registrationNameDependencies[t]=e.eventTypes[n].dependencies}function u(t,e){return(t&e)===e}function s(t){for(var e;e=t._renderedComponent;)t=e;return t}function c(t,e){t=s(t),t._hostNode=e,e[We]=t}function l(t,e){if(!(t._flags&He.hasCachedChildNodes)){var n=t._renderedChildren;e=e.firstChild;var o;t:for(o in n)if(n.hasOwnProperty(o)){var i=n[o],a=s(i)._domID;if(0!==a){for(;null!==e;e=e.nextSibling){var u=e,l=a;if(u.nodeType===Ue&&u.getAttribute(je)===""+l||u.nodeType===Ke&&u.nodeValue===" react-text: "+l+" "||u.nodeType===Ke&&u.nodeValue===" react-empty: "+l+" "){c(i,e);continue t}}r("32",a)}}t._flags|=He.hasCachedChildNodes}}function f(t){if(t[We])return t[We];for(var e=[];!t[We];){if(e.push(t),!t.parentNode)return null;t=t.parentNode}var n=t[We];if(n.tag===Be||n.tag===ze)return n;for(;t&&(n=t[We]);t=e.pop()){var r=n;e.length&&l(n,t)}return r}function p(t){if("function"==typeof t.getName)return t.getName();if("number"==typeof t.tag){if("string"==typeof(t=t.type))return t;if("function"==typeof t)return t.displayName||t.name}return null}function d(t){var e=t;if(t.alternate)for(;e.return;)e=e.return;else{if((e.effectTag&nn)!==en)return 1;for(;e.return;)if(e=e.return,(e.effectTag&nn)!==en)return 1}return e.tag===Qe?2:3}function h(t){2!==d(t)&&r("188")}function y(t){var e=t.alternate;if(!e)return e=d(t),3===e&&r("188"),1===e?null:t;for(var n=t,o=e;;){var i=n.return,a=i?i.alternate:null;if(!i||!a)break;if(i.child===a.child){for(var u=i.child;u;){if(u===n)return h(i),t;if(u===o)return h(i),e;u=u.sibling}r("188")}if(n.return!==o.return)n=i,o=a;else{u=!1;for(var s=i.child;s;){if(s===n){u=!0,n=i,o=a;break}if(s===o){u=!0,o=i,n=a;break}s=s.sibling}if(!u){for(s=a.child;s;){if(s===n){u=!0,n=a,o=i;break}if(s===o){u=!0,o=a,n=i;break}s=s.sibling}u||r("189")}}n.alternate!==o&&r("190")}return n.tag!==Qe&&r("188"),n.stateNode.current===n?t:e}function g(t,e,n,r,o,i,a,u,s){on._hasCaughtError=!1,on._caughtError=null;var c=Array.prototype.slice.call(arguments,3);try{e.apply(n,c)}catch(t){on._caughtError=t,on._hasCaughtError=!0}}function v(){if(on._hasRethrowError){var t=on._rethrowError;throw on._rethrowError=null,on._hasRethrowError=!1,t}}function _(t,e,n,r){e=t.type||"unknown-event",t.currentTarget=un.getNodeFromInstance(r),an.invokeGuardedCallbackAndCatchFirstError(e,n,void 0,t),t.currentTarget=null}function m(t){if(t=sn.getInstanceFromNode(t))if("number"==typeof t.tag){cn&&"function"==typeof cn.restoreControlledState||r("194");var e=sn.getFiberCurrentPropsFromNode(t.stateNode);cn.restoreControlledState(t.stateNode,t.type,e)}else"function"!=typeof t.restoreControlledState&&r("195"),t.restoreControlledState()}function b(t,e,n,r,o,i){return t(e,n,r,o,i)}function w(t,e){return t(e)}function S(t,e){return w(t,e)}function k(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===yn?t.parentNode:t}function E(t){var e=t.targetInst;do{if(!e){t.ancestors.push(e);break}var n=e;if("number"==typeof n.tag){for(;n.return;)n=n.return;n=n.tag!==gn?null:n.stateNode.containerInfo}else{for(;n._hostParent;)n=n._hostParent;n=Je.getNodeFromInstance(n).parentNode}if(!n)break;t.ancestors.push(e),e=Je.getClosestInstanceFromNode(n)}while(e);for(n=0;n<t.ancestors.length;n++)e=t.ancestors[n],_n._handleTopLevel(t.topLevelType,e,t.nativeEvent,k(t.nativeEvent))}function C(t,e){return null==e&&r("30"),null==t?e:Array.isArray(t)?Array.isArray(e)?(t.push.apply(t,e),t):(t.push(e),t):Array.isArray(e)?[t].concat(e):[t,e]}function x(t,e,n){Array.isArray(t)?t.forEach(e,n):t&&e.call(n,t)}function O(t,e){t&&(sn.executeDispatchesInOrder(t,e),t.isPersistent()||t.constructor.release(t))}function T(t){return O(t,!0)}function D(t){return O(t,!1)}function M(t,e,n){switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!n.disabled||"button"!==e&&"input"!==e&&"select"!==e&&"textarea"!==e);default:return!1}}function I(t,e){if(!ge.canUseDOM||e&&!("addEventListener"in document))return!1;e="on"+t;var n=e in document;return n||(n=document.createElement("div"),n.setAttribute(e,"return;"),n="function"==typeof n[e]),!n&&xe&&"wheel"===t&&(n=document.implementation.hasFeature("Events.wheel","3.0")),n}function A(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n["ms"+t]="MS"+e,n["O"+t]="o"+e.toLowerCase(),n}function P(t){if(kn[t])return kn[t];if(!Sn[t])return t;var e,n=Sn[t];for(e in n)if(n.hasOwnProperty(e)&&e in En)return kn[t]=n[e];return""}function N(t){return Object.prototype.hasOwnProperty.call(t,Tn)||(t[Tn]=On++,xn[t[Tn]]={}),xn[t[Tn]]}function R(t){return!!Un.hasOwnProperty(t)||!zn.hasOwnProperty(t)&&(Bn.test(t)?Un[t]=!0:(zn[t]=!0,!1))}function L(){return null}function F(t){var e="";return ye.Children.forEach(t,function(t){null==t||"string"!=typeof t&&"number"!=typeof t||(e+=t)}),e}function B(t,e,n){if(t=t.options,e){e={};for(var r=0;r<n.length;r++)e["$"+n[r]]=!0;for(n=0;n<t.length;n++)r=e.hasOwnProperty("$"+t[n].value),t[n].selected!==r&&(t[n].selected=r)}else{for(n=""+n,e=null,r=0;r<t.length;r++){if(t[r].value===n)return void(t[r].selected=!0);null!==e||t[r].disabled||(e=t[r])}null!==e&&(e.selected=!0)}}function z(t,e){e&&(Qn[t]&&(null!=e.children||null!=e.dangerouslySetInnerHTML)&&r("137",t,""),null!=e.dangerouslySetInnerHTML&&(null!=e.children&&r("60"),"object"==typeof e.dangerouslySetInnerHTML&&"__html"in e.dangerouslySetInnerHTML||r("61")),null!=e.style&&"object"!=typeof e.style&&r("62",""))}function U(t){var e=t.type;return(t=t.nodeName)&&"input"===t.toLowerCase()&&("checkbox"===e||"radio"===e)}function K(t){var e=U(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&"function"==typeof n.get&&"function"==typeof n.set)return Object.defineProperty(t,e,{enumerable:n.enumerable,configurable:!0,get:function(){return n.get.call(this)},set:function(t){r=""+t,n.set.call(this,t)}}),{getValue:function(){return r},setValue:function(t){r=""+t},stopTracking:function(){t._valueTracker=null,delete t[e]}}}function j(t,e){if(-1===t.indexOf("-"))return"string"==typeof e.is;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function H(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===rr)return void(n.nodeValue=e)}t.textContent=e}function q(t,e){ur(e,t.nodeType===ir||t.nodeType===ar?t:t.ownerDocument)}function W(t,e){return t!==Ar&&t!==Ir||e!==Ar&&e!==Ir?t===Mr&&e!==Mr?-255:t!==Mr&&e===Mr?255:t-e:0}function V(){return{first:null,last:null,hasForceUpdate:!1,callbackList:null}}function J(t,e,n,r){null!==n?n.next=e:(e.next=t.first,t.first=e),null!==r?e.next=r:t.last=e}function G(t,e){e=e.priorityLevel;var n=null;if(null!==t.last&&0>=W(t.last.priorityLevel,e))n=t.last;else for(t=t.first;null!==t&&0>=W(t.priorityLevel,e);)n=t,t=t.next;return n}function X(t,e){var n=t.alternate,r=t.updateQueue;null===r&&(r=t.updateQueue=V()),null!==n?null===(t=n.updateQueue)&&(t=n.updateQueue=V()):t=null,Rr=r,Lr=t!==r?t:null;var o=Rr;n=Lr;var i=G(o,e),a=null!==i?i.next:o.first;return null===n?(J(o,e,i,a),null):(r=G(n,e),t=null!==r?r.next:n.first,J(o,e,i,a),a===t&&null!==a||i===r&&null!==i?(null===r&&(n.first=e),null===t&&(n.last=null),null):(e={priorityLevel:e.priorityLevel,partialState:e.partialState,callback:e.callback,isReplace:e.isReplace,isForced:e.isForced,isTopLevelUnmount:e.isTopLevelUnmount,next:null},J(n,e,r,t),e))}function Y(t,e,n,r){return t=t.partialState,"function"==typeof t?t.call(e,n,r):t}function $(t,e,n){t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=n}function Q(t){return t.tag===jr&&null!=t.type.childContextTypes}function Z(t,e){var n=t.stateNode,o=t.type.childContextTypes;if("function"!=typeof n.getChildContext)return e;n=n.getChildContext();for(var i in n)i in o||r("108",p(t)||"Unknown",i);return ve({},e,n)}function tt(t,e,n){this.tag=t,this.key=e,this.stateNode=this.type=null,this.sibling=this.child=this.return=null,this.index=0,this.memoizedState=this.updateQueue=this.memoizedProps=this.pendingProps=this.ref=null,this.internalContextTag=n,this.effectTag=co,this.lastEffect=this.firstEffect=this.nextEffect=null,this.pendingWorkPriority=uo,this.alternate=null}function et(t,e,n){var o=void 0;return"function"==typeof t?(o=t.prototype&&t.prototype.isReactComponent?new tt(Zr,e,n):new tt(Qr,e,n),o.type=t):"string"==typeof t?(o=new tt(eo,e,n),o.type=t):"object"==typeof t&&null!==t&&"number"==typeof t.tag?o=t:r("130",null==t?t:typeof t,""),o}function nt(t){return null===t||void 0===t?null:(t=Ko&&t[Ko]||t["@@iterator"],"function"==typeof t?t:null)}function rt(t,e){var n=e.ref;if(null!==n&&"function"!=typeof n){if(e._owner){e=e._owner;var o=void 0;e&&("number"==typeof e.tag?(e.tag!==Ao&&r("110"),o=e.stateNode):o=e.getPublicInstance()),o||r("147",n);var i=""+n;return null!==t&&null!==t.ref&&t.ref._stringRef===i?t.ref:(t=function(t){var e=o.refs===be?o.refs={}:o.refs;null===t?delete e[i]:e[i]=t},t._stringRef=i,t)}"string"!=typeof n&&r("148"),e._owner||r("149",n)}return n}function ot(t,e){"textarea"!==t.type&&r("31","[object Object]"===Object.prototype.toString.call(e)?"object with keys {"+Object.keys(e).join(", ")+"}":e,"")}function it(t,e){function n(n,r){if(e){if(!t){if(null===r.alternate)return;r=r.alternate}var o=n.lastEffect;null!==o?(o.nextEffect=r,n.lastEffect=r):n.firstEffect=n.lastEffect=r,r.nextEffect=null,r.effectTag=Uo}}function o(t,r){if(!e)return null;for(;null!==r;)n(t,r),r=r.sibling;return null}function i(t,e){for(t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function a(e,n){return t?(e=ko(e,n),e.index=0,e.sibling=null,e):(e.pendingWorkPriority=n,e.effectTag=Bo,e.index=0,e.sibling=null,e)}function u(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index,r<n?(t.effectTag=zo,n):r):(t.effectTag=zo,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=zo),t}function c(t,e,n,r){return null===e||e.tag!==Po?(n=xo(n,t.internalContextTag,r),n.return=t,n):(e=a(e,r),e.pendingProps=n,e.return=t,e)}function l(t,e,n,r){return null===e||e.type!==n.type?(r=Eo(n,t.internalContextTag,r),r.ref=rt(e,n),r.return=t,r):(r=a(e,r),r.ref=rt(e,n),r.pendingProps=n.props,r.return=t,r)}function f(t,e,n,r){return null===e||e.tag!==Ro?(n=Oo(n,t.internalContextTag,r),n.return=t,n):(e=a(e,r),e.pendingProps=n,e.return=t,e)}function p(t,e,n,r){return null===e||e.tag!==Lo?(e=To(n,t.internalContextTag,r),e.type=n.value,e.return=t,e):(e=a(e,r),e.type=n.value,e.return=t,e)}function d(t,e,n,r){return null===e||e.tag!==No||e.stateNode.containerInfo!==n.containerInfo||e.stateNode.implementation!==n.implementation?(n=Do(n,t.internalContextTag,r),n.return=t,n):(e=a(e,r),e.pendingProps=n.children||[],e.return=t,e)}function h(t,e,n,r){return null===e||e.tag!==Fo?(n=Co(n,t.internalContextTag,r),n.return=t,n):(e=a(e,r),e.pendingProps=n,e.return=t,e)}function y(t,e,n){if("string"==typeof e||"number"==typeof e)return e=xo(""+e,t.internalContextTag,n),e.return=t,e;if("object"==typeof e&&null!==e){switch(e.$$typeof){case jo:return n=Eo(e,t.internalContextTag,n),n.ref=rt(null,e),n.return=t,n;case bo:return e=Oo(e,t.internalContextTag,n),e.return=t,e;case wo:return n=To(e,t.internalContextTag,n),n.type=e.value,n.return=t,n;case So:return e=Do(e,t.internalContextTag,n),e.return=t,e}if(Mo(e)||nt(e))return e=Co(e,t.internalContextTag,n),e.return=t,e;ot(t,e)}return null}function g(t,e,n,r){var o=null!==e?e.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:c(t,e,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case jo:return n.key===o?l(t,e,n,r):null;case bo:return n.key===o?f(t,e,n,r):null;case wo:return null===o?p(t,e,n,r):null;case So:return n.key===o?d(t,e,n,r):null}if(Mo(n)||nt(n))return null!==o?null:h(t,e,n,r);ot(t,n)}return null}function v(t,e,n,r,o){if("string"==typeof r||"number"==typeof r)return t=t.get(n)||null,c(e,t,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case jo:return t=t.get(null===r.key?n:r.key)||null,l(e,t,r,o);case bo:return t=t.get(null===r.key?n:r.key)||null,f(e,t,r,o);case wo:return t=t.get(n)||null,p(e,t,r,o);case So:return t=t.get(null===r.key?n:r.key)||null,d(e,t,r,o)}if(Mo(r)||nt(r))return t=t.get(n)||null,h(e,t,r,o);ot(e,r)}return null}function _(t,r,a,s){for(var c=null,l=null,f=r,p=r=0,d=null;null!==f&&p<a.length;p++){f.index>p?(d=f,f=null):d=f.sibling;var h=g(t,f,a[p],s);if(null===h){null===f&&(f=d);break}e&&f&&null===h.alternate&&n(t,f),r=u(h,r,p),null===l?c=h:l.sibling=h,l=h,f=d}if(p===a.length)return o(t,f),c;if(null===f){for(;p<a.length;p++)(f=y(t,a[p],s))&&(r=u(f,r,p),null===l?c=f:l.sibling=f,l=f);return c}for(f=i(t,f);p<a.length;p++)(d=v(f,t,p,a[p],s))&&(e&&null!==d.alternate&&f.delete(null===d.key?p:d.key),r=u(d,r,p),null===l?c=d:l.sibling=d,l=d);return e&&f.forEach(function(e){return n(t,e)}),c}function m(t,a,s,c){var l=nt(s);"function"!=typeof l&&r("150"),null==(s=l.call(s))&&r("151");for(var f=l=null,p=a,d=a=0,h=null,_=s.next();null!==p&&!_.done;d++,_=s.next()){p.index>d?(h=p,p=null):h=p.sibling;var m=g(t,p,_.value,c);if(null===m){p||(p=h);break}e&&p&&null===m.alternate&&n(t,p),a=u(m,a,d),null===f?l=m:f.sibling=m,f=m,p=h}if(_.done)return o(t,p),l;if(null===p){for(;!_.done;d++,_=s.next())null!==(_=y(t,_.value,c))&&(a=u(_,a,d),null===f?l=_:f.sibling=_,f=_);return l}for(p=i(t,p);!_.done;d++,_=s.next())null!==(_=v(p,t,d,_.value,c))&&(e&&null!==_.alternate&&p.delete(null===_.key?d:_.key),a=u(_,a,d),null===f?l=_:f.sibling=_,f=_);return e&&p.forEach(function(e){return n(t,e)}),l}return function(t,e,i,u){var c="object"==typeof i&&null!==i;if(c)switch(i.$$typeof){case jo:t:{var l=i.key;for(c=e;null!==c;){if(c.key===l){if(c.type===i.type){o(t,c.sibling),e=a(c,u),e.ref=rt(c,i),e.pendingProps=i.props,e.return=t,t=e;break t}o(t,c);break}n(t,c),c=c.sibling}u=Eo(i,t.internalContextTag,u),u.ref=rt(e,i),u.return=t,t=u}return s(t);case bo:t:{for(c=i.key;null!==e;){if(e.key===c){if(e.tag===Ro){o(t,e.sibling),e=a(e,u),e.pendingProps=i,e.return=t,t=e;break t}o(t,e);break}n(t,e),e=e.sibling}i=Oo(i,t.internalContextTag,u),i.return=t,t=i}return s(t);case wo:t:{if(null!==e){if(e.tag===Lo){o(t,e.sibling),e=a(e,u),e.type=i.value,e.return=t,t=e;break t}o(t,e)}e=To(i,t.internalContextTag,u),e.type=i.value,e.return=t,t=e}return s(t);case So:t:{for(c=i.key;null!==e;){if(e.key===c){if(e.tag===No&&e.stateNode.containerInfo===i.containerInfo&&e.stateNode.implementation===i.implementation){o(t,e.sibling),e=a(e,u),e.pendingProps=i.children||[],e.return=t,t=e;break t}o(t,e);break}n(t,e),e=e.sibling}i=Do(i,t.internalContextTag,u),i.return=t,t=i}return s(t)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==e&&e.tag===Po?(o(t,e.sibling),e=a(e,u),e.pendingProps=i,e.return=t,t=e):(o(t,e),i=xo(i,t.internalContextTag,u),i.return=t,t=i),s(t);if(Mo(i))return _(t,e,i,u);if(nt(i))return m(t,e,i,u);if(c&&ot(t,i),void 0===i)switch(t.tag){case Ao:case Io:i=t.type,r("152",i.displayName||i.name||"Component")}return o(t,e)}}function at(t,e,n,o){function i(t,e){e.updater=a,t.stateNode=e,Ge.set(e,t)}var a={isMounted:oi,enqueueSetState:function(n,r,o){n=Ge.get(n);var i=e(n,!1);Zo(n,r,void 0===o?null:o,i),t(n,i)},enqueueReplaceState:function(n,r,o){n=Ge.get(n);var i=e(n,!1);ti(n,r,void 0===o?null:o,i),t(n,i)},enqueueForceUpdate:function(n,r){n=Ge.get(n);var o=e(n,!1);ei(n,void 0===r?null:r,o),t(n,o)}};return{adoptClassInstance:i,constructClassInstance:function(t,e){var n=t.type,r=$o(t),o=Qo(t),a=o?Yo(t,r):be;return e=new n(e,a),i(t,e),o&&Xo(t,r,a),e},mountClassInstance:function(t,e){var n=t.alternate,o=t.stateNode,i=o.state||null,u=t.pendingProps;u||r("158");var s=$o(t);o.props=u,o.state=i,o.refs=be,o.context=Yo(t,s),Or.enableAsyncSubtreeAPI&&null!=t.type&&null!=t.type.prototype&&!0===t.type.prototype.unstable_isAsyncReactComponent&&(t.internalContextTag|=Go),"function"==typeof o.componentWillMount&&(s=o.state,o.componentWillMount(),s!==o.state&&a.enqueueReplaceState(o,o.state,null),null!==(s=t.updateQueue)&&(o.state=ni(n,t,s,o,i,u,e))),"function"==typeof o.componentDidMount&&(t.effectTag|=Jo)},updateClassInstance:function(t,e,i){var u=e.stateNode;u.props=e.memoizedProps,u.state=e.memoizedState;var s=e.memoizedProps,c=e.pendingProps;c||null==(c=s)&&r("159");var l=u.context,f=$o(e);if(f=Yo(e,f),"function"!=typeof u.componentWillReceiveProps||s===c&&l===f||(l=u.state,u.componentWillReceiveProps(c,f),u.state!==l&&a.enqueueReplaceState(u,u.state,null)),l=e.memoizedState,i=null!==e.updateQueue?ni(t,e,e.updateQueue,u,l,c,i):l,!(s!==c||l!==i||ri()||null!==e.updateQueue&&e.updateQueue.hasForceUpdate))return"function"!=typeof u.componentDidUpdate||s===t.memoizedProps&&l===t.memoizedState||(e.effectTag|=Jo),!1;var p=c;if(null===s||null!==e.updateQueue&&e.updateQueue.hasForceUpdate)p=!0;else{var d=e.stateNode,h=e.type;p="function"==typeof d.shouldComponentUpdate?d.shouldComponentUpdate(p,i,f):!h.prototype||!h.prototype.isPureReactComponent||(!we(s,p)||!we(l,i))}return p?("function"==typeof u.componentWillUpdate&&u.componentWillUpdate(c,i,f),"function"==typeof u.componentDidUpdate&&(e.effectTag|=Jo)):("function"!=typeof u.componentDidUpdate||s===t.memoizedProps&&l===t.memoizedState||(e.effectTag|=Jo),n(e,c),o(e,i)),u.props=c,u.state=i,u.context=f,p}}}function ut(t,e,n,o,i){function a(t,e,n){u(t,e,n,e.pendingWorkPriority)}function u(t,e,n,r){e.child=null===t?ii(e,e.child,n,r):t.child===e.child?ai(e,e.child,n,r):ui(e,e.child,n,r)}function s(t,e){var n=e.ref;null===n||t&&t.ref===n||(e.effectTag|=Pi)}function c(t,e,n,r){if(s(t,e),!n)return r&&yi(e,!1),f(t,e);n=e.stateNode,Ni.current=e;var o=n.render();return e.effectTag|=Di,a(t,e,o),e.memoizedState=n.state,e.memoizedProps=n.props,r&&yi(e,!0),e.child}function l(t){var e=t.stateNode;e.pendingContext?hi(t,e.pendingContext,e.pendingContext!==e.context):e.context&&hi(t,e.context,!1),v(t,e.containerInfo)}function f(t,e){return si(t,e),e.child}function p(t,e){switch(e.tag){case mi:l(e);break;case _i:di(e);break;case Si:v(e,e.stateNode.containerInfo)}return null}var d=t.shouldSetTextContent,h=t.useSyncScheduling,y=t.shouldDeprioritizeSubtree,g=e.pushHostContext,v=e.pushHostContainer,_=n.enterHydrationState,m=n.resetHydrationState,b=n.tryToClaimNextHydratableInstance;t=at(o,i,function(t,e){t.memoizedProps=e},function(t,e){t.memoizedState=e});var w=t.adoptClassInstance,S=t.constructClassInstance,k=t.mountClassInstance,E=t.updateClassInstance;return{beginWork:function(t,e,n){if(e.pendingWorkPriority===Oi||e.pendingWorkPriority>n)return p(t,e);switch(e.tag){case gi:null!==t&&r("155");var o=e.type,i=e.pendingProps,u=fi(e);return u=li(e,u),o=o(i,u),e.effectTag|=Di,"object"==typeof o&&null!==o&&"function"==typeof o.render?(e.tag=_i,i=di(e),w(e,o),k(e,n),e=c(t,e,!0,i)):(e.tag=vi,a(t,e,o),e.memoizedProps=i,e=e.child),e;case vi:t:{if(i=e.type,n=e.pendingProps,o=e.memoizedProps,pi())null===n&&(n=o);else if(null===n||o===n){e=f(t,e);break t}o=fi(e),o=li(e,o),i=i(n,o),e.effectTag|=Di,a(t,e,i),e.memoizedProps=n,e=e.child}return e;case _i:return i=di(e),o=void 0,null===t?e.stateNode?r("153"):(S(e,e.pendingProps),k(e,n),o=!0):o=E(t,e,n),c(t,e,o,i);case mi:return l(e),o=e.updateQueue,null!==o?(i=e.memoizedState,o=ci(t,e,o,null,i,null,n),i===o?(m(),e=f(t,e)):(i=o.element,null!==t&&null!==t.child||!_(e)?(m(),a(t,e,i)):(e.effectTag|=Mi,e.child=ii(e,e.child,i,n)),e.memoizedState=o,e=e.child)):(m(),e=f(t,e)),e;case bi:g(e),null===t&&b(e),i=e.type;var C=e.memoizedProps;return o=e.pendingProps,null===o&&null===(o=C)&&r("154"),u=null!==t?t.memoizedProps:null,pi()||null!==o&&C!==o?(C=o.children,d(i,o)?C=null:u&&d(i,u)&&(e.effectTag|=Ii),s(t,e),n!==Ti&&!h&&y(i,o)?(e.pendingWorkPriority=Ti,e=null):(a(t,e,C),e.memoizedProps=o,e=e.child)):e=f(t,e),e;case wi:return null===t&&b(e),t=e.pendingProps,null===t&&(t=e.memoizedProps),e.memoizedProps=t,null;case Ei:e.tag=ki;case ki:return n=e.pendingProps,pi()?null===n&&null===(n=t&&t.memoizedProps)&&r("154"):null!==n&&e.memoizedProps!==n||(n=e.memoizedProps),i=n.children,o=e.pendingWorkPriority,e.stateNode=null===t?ii(e,e.stateNode,i,o):t.child===e.child?ai(e,e.stateNode,i,o):ui(e,e.stateNode,i,o),e.memoizedProps=n,e.stateNode;case Ci:return null;case Si:t:{if(v(e,e.stateNode.containerInfo),n=e.pendingWorkPriority,i=e.pendingProps,pi())null===i&&null==(i=t&&t.memoizedProps)&&r("154");else if(null===i||e.memoizedProps===i){e=f(t,e);break t}null===t?e.child=ui(e,e.child,i,n):a(t,e,i),e.memoizedProps=i,e=e.child}return e;case xi:t:{if(n=e.pendingProps,pi())null===n&&(n=e.memoizedProps);else if(null===n||e.memoizedProps===n){e=f(t,e);break t}a(t,e,n),e.memoizedProps=n,e=e.child}return e;default:r("156")}},beginFailedWork:function(t,e,n){switch(e.tag){case _i:di(e);break;case mi:l(e);break;default:r("157")}return e.effectTag|=Ai,null===t?e.child=null:e.child!==t.child&&(e.child=t.child),e.pendingWorkPriority===Oi||e.pendingWorkPriority>n?p(t,e):(e.firstEffect=null,e.lastEffect=null,u(t,e,null,n),e.tag===_i&&(t=e.stateNode,e.memoizedProps=t.props,e.memoizedState=t.state),e.child)}}}function st(t,e,n){var o=t.createInstance,i=t.createTextInstance,a=t.appendInitialChild,u=t.finalizeInitialChildren,s=t.prepareUpdate,c=e.getRootHostContainer,l=e.popHostContext,f=e.getHostContext,p=e.popHostContainer,d=n.prepareToHydrateHostInstance,h=n.prepareToHydrateHostTextInstance,y=n.popHydrationState;return{completeWork:function(t,e,n){var g=e.pendingProps;switch(null===g?g=e.memoizedProps:e.pendingWorkPriority===Qi&&n!==Qi||(e.pendingProps=null),e.tag){case zi:return null;case Ui:return Li(e),null;case Ki:return p(e),Fi(e),g=e.stateNode,g.pendingContext&&(g.context=g.pendingContext,g.pendingContext=null),null!==t&&null!==t.child||(y(e),e.effectTag&=~Xi),null;case ji:l(e),n=c();var v=e.type;if(null!==t&&null!=e.stateNode){var _=t.memoizedProps,m=e.stateNode,b=f();g=s(m,v,_,g,n,b),(e.updateQueue=g)&&(e.effectTag|=$i),t.ref!==e.ref&&(e.effectTag|=Yi)}else{if(!g)return null===e.stateNode&&r("166"),null;if(t=f(),y(e))d(e,n,t)&&(e.effectTag|=$i);else{t=o(v,g,n,t,e);t:for(_=e.child;null!==_;){if(_.tag===ji||_.tag===Hi)a(t,_.stateNode);else if(_.tag!==qi&&null!==_.child){_=_.child;continue}if(_===e)break t;for(;null===_.sibling;){if(null===_.return||_.return===e)break t;_=_.return}_=_.sibling}u(t,v,g,n)&&(e.effectTag|=$i),e.stateNode=t}null!==e.ref&&(e.effectTag|=Yi)}return null;case Hi:if(t&&null!=e.stateNode)t.memoizedProps!==g&&(e.effectTag|=$i);else{if("string"!=typeof g)return null===e.stateNode&&r("166"),null;t=c(),n=f(),y(e)?h(e)&&(e.effectTag|=$i):e.stateNode=i(g,t,n,e)}return null;case Wi:(g=e.memoizedProps)||r("165"),e.tag=Vi,n=[];t:for((v=e.stateNode)&&(v.return=e);null!==v;){if(v.tag===ji||v.tag===Hi||v.tag===qi)r("164");else if(v.tag===Ji)n.push(v.type);else if(null!==v.child){v.child.return=v,v=v.child;continue}for(;null===v.sibling;){if(null===v.return||v.return===e)break t;v=v.return}v.sibling.return=v.return,v=v.sibling}return v=g.handler,g=v(g.props,n),e.child=Ri(e,null!==t?t.child:null,g,e.pendingWorkPriority),e.child;case Vi:return e.tag=Wi,null;case Ji:case Gi:return null;case qi:return e.effectTag|=$i,p(e),null;case Bi:r("167");default:r("156")}}}}function ct(t){return function(e){try{return t(e)}catch(t){}}}function lt(t,e){function n(t){var n=t.ref;if(null!==n)try{n(null)}catch(n){e(t,n)}}function o(t){return t.tag===oa||t.tag===ra||t.tag===aa}function i(t){for(var e=t;;)if(u(e),null!==e.child&&e.tag!==aa)e.child.return=e,e=e.child;else{if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return;e=e.return}e.sibling.return=e.return,e=e.sibling}}function a(t){for(var e=t,n=!1,o=void 0,a=void 0;;){if(!n){n=e.return;t:for(;;){switch(null===n&&r("160"),n.tag){case oa:o=n.stateNode,a=!1;break t;case ra:case aa:o=n.stateNode.containerInfo,a=!0;break t}n=n.return}n=!0}if(e.tag===oa||e.tag===ia)i(e),a?v(o,e.stateNode):g(o,e.stateNode);else if(e.tag===aa?o=e.stateNode.containerInfo:u(e),null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return;e=e.return,e.tag===aa&&(n=!1)}e.sibling.return=e.return,e=e.sibling}}function u(t){switch("function"==typeof ca&&ca(t),t.tag){case na:n(t);var r=t.stateNode;if("function"==typeof r.componentWillUnmount)try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(n){e(t,n)}break;case oa:n(t);break;case ua:i(t.stateNode);break;case aa:a(t)}}var s=t.commitMount,c=t.commitUpdate,l=t.resetTextContent,f=t.commitTextUpdate,p=t.appendChild,d=t.appendChildToContainer,h=t.insertBefore,y=t.insertInContainerBefore,g=t.removeChild,v=t.removeChildFromContainer,_=t.getPublicInstance;return{commitPlacement:function(t){t:{for(var e=t.return;null!==e;){if(o(e)){var n=e;break t}e=e.return}r("160"),n=void 0}var i=e=void 0;switch(n.tag){case oa:e=n.stateNode,i=!1;break;case ra:case aa:e=n.stateNode.containerInfo,i=!0;break;default:r("161")}n.effectTag&da&&(l(e),n.effectTag&=~da);t:e:for(n=t;;){for(;null===n.sibling;){if(null===n.return||o(n.return)){n=null;break t}n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==oa&&n.tag!==ia;){if(n.effectTag&la)continue e;if(null===n.child||n.tag===aa)continue e;n.child.return=n,n=n.child}if(!(n.effectTag&la)){n=n.stateNode;break t}}for(var a=t;;){if(a.tag===oa||a.tag===ia)n?i?y(e,a.stateNode,n):h(e,a.stateNode,n):i?d(e,a.stateNode):p(e,a.stateNode);else if(a.tag!==aa&&null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)return;a=a.return}a.sibling.return=a.return,a=a.sibling}},commitDeletion:function(t){a(t),t.return=null,t.child=null,t.alternate&&(t.alternate.child=null,t.alternate.return=null)},commitWork:function(t,e){switch(e.tag){case na:break;case oa:var n=e.stateNode;if(null!=n){var o=e.memoizedProps;t=null!==t?t.memoizedProps:o;var i=e.type,a=e.updateQueue;e.updateQueue=null,null!==a&&c(n,a,i,t,o,e)}break;case ia:null===e.stateNode&&r("162"),n=e.memoizedProps,f(e.stateNode,null!==t?t.memoizedProps:n,n);break;case ra:case aa:break;default:r("163")}},commitLifeCycles:function(t,e){switch(e.tag){case na:var n=e.stateNode;if(e.effectTag&fa)if(null===t)n.props=e.memoizedProps,n.state=e.memoizedState,n.componentDidMount();else{var o=t.memoizedProps;t=t.memoizedState,n.props=e.memoizedProps,n.state=e.memoizedState,n.componentDidUpdate(o,t)}e.effectTag&pa&&null!==e.updateQueue&&sa(e,e.updateQueue,n);break;case ra:t=e.updateQueue,null!==t&&sa(e,t,e.child&&e.child.stateNode);break;case oa:n=e.stateNode,null===t&&e.effectTag&fa&&s(n,e.type,e.memoizedProps,e);break;case ia:case aa:break;default:r("163")}},commitAttachRef:function(t){var e=t.ref;if(null!==e){var n=t.stateNode;switch(t.tag){case oa:e(_(n));break;default:e(n)}}},commitDetachRef:function(t){null!==(t=t.ref)&&t(null)}}}function ft(t){function e(t){return t===va&&r("174"),t}var n=t.getChildHostContext,o=t.getRootHostContext,i=ha(va),a=ha(va),u=ha(va);return{getHostContext:function(){return e(i.current)},getRootHostContainer:function(){return e(u.current)},popHostContainer:function(t){ya(i,t),ya(a,t),ya(u,t)},popHostContext:function(t){a.current===t&&(ya(i,t),ya(a,t))},pushHostContainer:function(t,e){ga(u,e,t),e=o(e),ga(a,t,t),ga(i,e,t)},pushHostContext:function(t){var r=e(u.current),o=e(i.current);r=n(o,t.type,r),o!==r&&(ga(a,t,t),ga(i,r,t))},resetHostContainer:function(){i.current=va,u.current=va}}}function pt(t){function e(t,e){var n=ka();n.stateNode=e,n.return=t,n.effectTag=wa,null!==t.lastEffect?(t.lastEffect.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n}function n(t,e){switch(t.tag){case _a:return a(e,t.type,t.pendingProps);case ma:return u(e,t.pendingProps);default:return!1}}function o(t){for(t=t.return;null!==t&&t.tag!==_a&&t.tag!==ba;)t=t.return;h=t}var i=t.shouldSetTextContent,a=t.canHydrateInstance,u=t.canHydrateTextInstance,s=t.getNextHydratableSibling,c=t.getFirstHydratableChild,l=t.hydrateInstance,f=t.hydrateTextInstance,p=t.didNotHydrateInstance,d=t.didNotFindHydratableInstance;if(t=t.didNotFindHydratableTextInstance,!(a&&u&&s&&c&&l&&f&&p&&d&&t))return{enterHydrationState:function(){return!1},resetHydrationState:function(){},tryToClaimNextHydratableInstance:function(){},prepareToHydrateHostInstance:function(){r("175")},prepareToHydrateHostTextInstance:function(){r("176")},popHydrationState:function(){return!1}};var h=null,y=null,g=!1;return{enterHydrationState:function(t){return y=c(t.stateNode.containerInfo),h=t,g=!0},resetHydrationState:function(){y=h=null,g=!1},tryToClaimNextHydratableInstance:function(t){if(g){var r=y;if(r){if(!n(t,r)){if(!(r=s(r))||!n(t,r))return t.effectTag|=Sa,g=!1,void(h=t);e(h,y)}t.stateNode=r,h=t,y=c(r)}else t.effectTag|=Sa,g=!1,h=t}},prepareToHydrateHostInstance:function(t,e,n){return e=l(t.stateNode,t.type,t.memoizedProps,e,n,t),t.updateQueue=e,null!==e},prepareToHydrateHostTextInstance:function(t){return f(t.stateNode,t.memoizedProps,t)},popHydrationState:function(t){if(t!==h)return!1;if(!g)return o(t),g=!0,!1;var n=t.type;if(t.tag!==_a||"head"!==n&&"body"!==n&&!i(n,t.memoizedProps))for(n=y;n;)e(t,n),n=s(n);return o(t),y=h?s(t.stateNode):null,!0}}}function dt(t){function e(){for(;null!==V&&V.current.pendingWorkPriority===Ma;){V.isScheduled=!1;var t=V.nextScheduledRoot;if(V.nextScheduledRoot=null,V===J)return J=V=null,H=Ma,null;V=t}t=V;for(var e=null,n=Ma;null!==t;)t.current.pendingWorkPriority!==Ma&&(n===Ma||n>t.current.pendingWorkPriority)&&(n=t.current.pendingWorkPriority,e=t),t=t.nextScheduledRoot;null!==e?(H=n,Ca(),$a(),S(),j=Oa(e.current,n),e!==ot&&(rt=0,ot=e)):(H=Ma,ot=j=null)}function n(n){tt=!0,W=null;var o=n.stateNode;if(o.current===n&&r("177"),H!==Ia&&H!==Aa||rt++,xa.current=null,n.effectTag>Fa)if(null!==n.lastEffect){n.lastEffect.nextEffect=n;var i=n.firstEffect}else i=n;else i=n.firstEffect;for(R(),q=i;null!==q;){var a=!1,u=void 0;try{for(;null!==q;){var s=q.effectTag;if(s&ja&&t.resetTextContent(q.stateNode),s&Wa){var c=q.alternate;null!==c&&A(c)}switch(s&~(Ha|qa|ja|Wa|Fa)){case Ba:O(q),q.effectTag&=~Ba;break;case Ua:O(q),q.effectTag&=~Ba,D(q.alternate,q);break;case za:D(q.alternate,q);break;case Ka:et=!0,T(q),et=!1}q=q.nextEffect}}catch(t){a=!0,u=t}a&&(null===q&&r("178"),f(q,u),null!==q&&(q=q.nextEffect))}for(L(),o.current=n,q=i;null!==q;){o=!1,i=void 0;try{for(;null!==q;){var l=q.effectTag;if(l&(za|Ha)&&M(q.alternate,q),l&Wa&&I(q),l&qa)switch(a=q,u=void 0,null!==X&&(u=X.get(a),X.delete(a),null==u&&null!==a.alternate&&(a=a.alternate,u=X.get(a),X.delete(a))),null==u&&r("184"),a.tag){case Xa:a.stateNode.componentDidCatch(u.error,{componentStack:u.componentStack});break;case Va:null===Q&&(Q=u.error);break;default:r("157")}var p=q.nextEffect;q.nextEffect=null,q=p}}catch(t){o=!0,i=t}o&&(null===q&&r("178"),f(q,i),null!==q&&(q=q.nextEffect))}tt=!1,"function"==typeof Da&&Da(n.stateNode),$&&($.forEach(v),$=null),e()}function o(t){for(;;){var e=x(t.alternate,t,H),n=t.return,r=t.sibling,o=t;if(!(o.pendingWorkPriority!==Ma&&o.pendingWorkPriority>H)){for(var i=Ya(o),a=o.child;null!==a;)i=Ta(i,a.pendingWorkPriority),a=a.sibling;o.pendingWorkPriority=i}if(null!==e)return e;if(null!==n&&(null===n.firstEffect&&(n.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=t.firstEffect),n.lastEffect=t.lastEffect),t.effectTag>Fa&&(null!==n.lastEffect?n.lastEffect.nextEffect=t:n.firstEffect=t,n.lastEffect=t)),null!==r)return r;if(null===n){W=t;break}t=n}return null}function i(t){var e=E(t.alternate,t,H);return null===e&&(e=o(t)),xa.current=null,e}function a(t){var e=C(t.alternate,t,H);return null===e&&(e=o(t)),xa.current=null,e}function u(t){l(Ra,t)}function s(){if(null!==X&&0<X.size&&H===Aa)for(;null!==j;){var t=j;if(null===(j=null!==X&&(X.has(t)||null!==t.alternate&&X.has(t.alternate))?a(j):i(j))&&(null===W&&r("179"),F=Aa,n(W),F=H,null===X||0===X.size||H!==Aa))break}}function c(t,o){if(null!==W?(F=Aa,n(W),s()):null===j&&e(),!(H===Ma||H>t)){F=H;t:for(;;){if(H<=Aa)for(;null!==j&&!(null===(j=i(j))&&(null===W&&r("179"),F=Aa,n(W),F=H,s(),H===Ma||H>t||H>Aa)););else if(null!==o)for(;null!==j&&!z;)if(1<o.timeRemaining()){if(null===(j=i(j)))if(null===W&&r("179"),1<o.timeRemaining()){if(F=Aa,n(W),F=H,s(),H===Ma||H>t||H<Pa)break}else z=!0}else z=!0;switch(H){case Ia:case Aa:if(H<=t)continue t;break t;case Pa:case Na:case Ra:if(null===o)break t;if(!z&&H<=t)continue t;break t;case Ma:break t;default:r("181")}}}}function l(t,e){B&&r("182"),B=!0;var n=F,o=!1,i=null;try{c(t,e)}catch(t){o=!0,i=t}for(;o;){if(Z){Q=i;break}var s=j;if(null===s)Z=!0;else{var l=f(s,i);if(null===l&&r("183"),!Z){try{o=l,i=t,l=e;for(var p=o;null!==s;){switch(s.tag){case Xa:Ea(s);break;case Ja:w(s);break;case Va:b(s);break;case Ga:b(s)}if(s===p||s.alternate===p)break;s=s.return}j=a(o),c(i,l)}catch(t){o=!0,i=t;continue}break}}}if(F=n,null!==e&&(G=!1),H>Aa&&!G&&(P(u),G=!0),t=Q,Z=z=B=!1,ot=Y=X=Q=null,rt=0,null!==t)throw t}function f(t,e){var n=xa.current=null,r=!1,o=!1,i=null;if(t.tag===Va)n=t,d(t)&&(Z=!0);else for(var a=t.return;null!==a&&null===n;){if(a.tag===Xa?"function"==typeof a.stateNode.componentDidCatch&&(r=!0,i=p(a),n=a,o=!0):a.tag===Va&&(n=a),d(a)){if(et||null!==$&&($.has(a)||null!==a.alternate&&$.has(a.alternate)))return null;n=null,o=!1}a=a.return}if(null!==n){null===Y&&(Y=new Set),Y.add(n);var u="";a=t;do{t:switch(a.tag){case po:case ho:case yo:case go:var s=a._debugOwner,c=a._debugSource,l=p(a),f=null;s&&(f=p(s)),s=c,l="\n in "+(l||"Unknown")+(s?" (at "+s.fileName.replace(/^.*[\\\/]/,"")+":"+s.lineNumber+")":f?" (created by "+f+")":"");break t;default:l=""}u+=l,a=a.return}while(a);a=u,t=p(t),null===X&&(X=new Map),e={componentName:t,componentStack:a,error:e,errorBoundary:r?n.stateNode:null,errorBoundaryFound:r,errorBoundaryName:i,willRetry:o},X.set(n,e);try{console.error(e.error)}catch(t){console.error(t)}return tt?(null===$&&($=new Set),$.add(n)):v(n),n}return null===Q&&(Q=e),null}function d(t){return null!==Y&&(Y.has(t)||null!==t.alternate&&Y.has(t.alternate))}function h(t,e){return y(t,e,!1)}function y(t,e){rt>nt&&(Z=!0,r("185")),!B&&e<=H&&(j=null);for(var n=!0;null!==t&&n;){if(n=!1,(t.pendingWorkPriority===Ma||t.pendingWorkPriority>e)&&(n=!0,t.pendingWorkPriority=e),null!==t.alternate&&(t.alternate.pendingWorkPriority===Ma||t.alternate.pendingWorkPriority>e)&&(n=!0,t.alternate.pendingWorkPriority=e),null===t.return){if(t.tag!==Va)break;var o=t.stateNode;if(e===Ma||o.isScheduled||(o.isScheduled=!0,J?J.nextScheduledRoot=o:V=o,J=o),!B)switch(e){case Ia:K?l(Ia,null):l(Aa,null);break;case Aa:U||r("186");break;default:G||(P(u),G=!0)}}t=t.return}}function g(t,e){var n=F;return n===Ma&&(n=!N||t.internalContextTag&La||e?Na:Ia),n===Ia&&(B||U)?Aa:n}function v(t){y(t,Aa,!0)}var _=ft(t),m=pt(t),b=_.popHostContainer,w=_.popHostContext,S=_.resetHostContainer,k=ut(t,_,m,h,g),E=k.beginWork,C=k.beginFailedWork,x=st(t,_,m).completeWork;_=lt(t,f);var O=_.commitPlacement,T=_.commitDeletion,D=_.commitWork,M=_.commitLifeCycles,I=_.commitAttachRef,A=_.commitDetachRef,P=t.scheduleDeferredCallback,N=t.useSyncScheduling,R=t.prepareForCommit,L=t.resetAfterCommit,F=Ma,B=!1,z=!1,U=!1,K=!1,j=null,H=Ma,q=null,W=null,V=null,J=null,G=!1,X=null,Y=null,$=null,Q=null,Z=!1,tt=!1,et=!1,nt=1e3,rt=0,ot=null;return{scheduleUpdate:h,getPriorityContext:g,batchedUpdates:function(t,e){var n=U;U=!0;try{return t(e)}finally{U=n,B||U||l(Aa,null)}},unbatchedUpdates:function(t){var e=K,n=U;K=U,U=!1;try{return t()}finally{U=n,K=e}},flushSync:function(t){var e=U,n=F;U=!0,F=Ia;try{return t()}finally{U=e,F=n,B&&r("187"),l(Aa,null)}},deferredUpdates:function(t){var e=F;F=Na;try{return t()}finally{F=e}}}}function ht(){r("196")}function yt(t){return t?(t=Ge.get(t),"number"==typeof t.tag?ht(t):t._processChildContext(t._context)):be}function gt(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function vt(t,e){var n=gt(t);t=0;for(var r;n;){if(n.nodeType===iu){if(r=t+n.textContent.length,t<=e&&r>=e)return{node:n,offset:e-t};t=r}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=gt(n)}}function _t(){return!au&&ge.canUseDOM&&(au="textContent"in document.documentElement?"textContent":"innerText"),au}function mt(){r("211")}function bt(){r("212")}function wt(t){if(null==t)return null;if(t.nodeType===fu)return t;var e=Ge.get(t);if(e)return"number"==typeof e.tag?mt(e):bt(e);"function"==typeof t.render?r("188"):r("213",Object.keys(t))}function St(t){if(void 0!==t._hostParent)return t._hostParent;if("number"==typeof t.tag){do{t=t.return}while(t&&t.tag!==pu);if(t)return t}return null}function kt(t,e){for(var n=0,r=t;r;r=St(r))n++;r=0;for(var o=e;o;o=St(o))r++;for(;0<n-r;)t=St(t),n--;for(;0<r-n;)e=St(e),r--;for(;n--;){if(t===e||t===e.alternate)return t;t=St(t),e=St(e)}return null}function Et(t,e,n){(e=hu(t,n.dispatchConfig.phasedRegistrationNames[e]))&&(n._dispatchListeners=C(n._dispatchListeners,e),n._dispatchInstances=C(n._dispatchInstances,t))}function Ct(t){t&&t.dispatchConfig.phasedRegistrationNames&&du.traverseTwoPhase(t._targetInst,Et,t)}function xt(t){if(t&&t.dispatchConfig.phasedRegistrationNames){var e=t._targetInst;e=e?du.getParentInstance(e):null,du.traverseTwoPhase(e,Et,t)}}function Ot(t,e,n){t&&n&&n.dispatchConfig.registrationName&&(e=hu(t,n.dispatchConfig.registrationName))&&(n._dispatchListeners=C(n._dispatchListeners,e),n._dispatchInstances=C(n._dispatchInstances,t))}function Tt(t){t&&t.dispatchConfig.registrationName&&Ot(t._targetInst,null,t)}function Dt(t,e,n,r){this.dispatchConfig=t,this._targetInst=e,this.nativeEvent=n,t=this.constructor.Interface;for(var o in t)t.hasOwnProperty(o)&&((e=t[o])?this[o]=e(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?me.thatReturnsTrue:me.thatReturnsFalse,this.isPropagationStopped=me.thatReturnsFalse,this}function Mt(t,e,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,t,e,n,r),o}return new this(t,e,n,r)}function It(t){t instanceof this||r("223"),t.destructor(),10>this.eventPool.length&&this.eventPool.push(t)}function At(t){t.eventPool=[],t.getPooled=Mt,t.release=It}function Pt(t,e,n,r){return Dt.call(this,t,e,n,r)}function Nt(t,e,n,r){return Dt.call(this,t,e,n,r)}function Rt(t,e){switch(t){case"topKeyUp":return-1!==wu.indexOf(e.keyCode);case"topKeyDown":return 229!==e.keyCode;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function Lt(t){return t=t.detail,"object"==typeof t&&"data"in t?t.data:null}function Ft(t,e){switch(t){case"topCompositionEnd":return Lt(e);case"topKeyPress":return 32!==e.which?null:(Mu=!0,Tu);case"topTextInput":return t=e.data,t===Tu&&Mu?null:t;default:return null}}function Bt(t,e){if(Iu)return"topCompositionEnd"===t||!Su&&Rt(t,e)?(t=_u.getData(),_u.reset(),Iu=!1,t):null;switch(t){case"topPaste":return null;case"topKeyPress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"topCompositionEnd":return Ou?null:e.data;default:return null}}function zt(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return"input"===e?!!Pu[t.type]:"textarea"===e}function Ut(t,e,n){return t=Dt.getPooled(Nu.change,t,e,n),t.type="change",pn.enqueueStateRestore(n),yu.accumulateTwoPhaseDispatches(t),t}function Kt(t){wn.enqueueEvents(t),wn.processEventQueue(!1)}function jt(t){var e=Je.getNodeFromInstance(t);if(Zn.updateValueIfChanged(e))return t}function Ht(t,e){if("topChange"===t)return e}function qt(){Ru&&(Ru.detachEvent("onpropertychange",Wt),Lu=Ru=null)}function Wt(t){"value"===t.propertyName&&jt(Lu)&&(t=Ut(Lu,t,k(t)),hn.batchedUpdates(Kt,t))}function Vt(t,e,n){"topFocus"===t?(qt(),Ru=e,Lu=n,Ru.attachEvent("onpropertychange",Wt)):"topBlur"===t&&qt()}function Jt(t){if("topSelectionChange"===t||"topKeyUp"===t||"topKeyDown"===t)return jt(Lu)}function Gt(t,e){if("topClick"===t)return jt(e)}function Xt(t,e){if("topInput"===t||"topChange"===t)return jt(e)}function Yt(t,e,n,r){return Dt.call(this,t,e,n,r)}function $t(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):!!(t=zu[t])&&!!e[t]}function Qt(){return $t}function Zt(t,e,n,r){return Dt.call(this,t,e,n,r)}function te(t,e){if(Gu||null==Wu||Wu!==Ee())return null;var n=Wu;return"selectionStart"in n&&lu.hasSelectionCapabilities(n)?n={start:n.selectionStart,end:n.selectionEnd}:window.getSelection?(n=window.getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}):n=void 0,Ju&&we(Ju,n)?null:(Ju=n,t=Dt.getPooled(qu.select,Vu,t,e),t.type="select",t.target=Wu,yu.accumulateTwoPhaseDispatches(t),t)}function ee(t,e,n,r){return Dt.call(this,t,e,n,r)}function ne(t,e,n,r){return Dt.call(this,t,e,n,r)}function re(t,e,n,r){return Dt.call(this,t,e,n,r)}function oe(t){var e=t.keyCode;return"charCode"in t?0===(t=t.charCode)&&13===e&&(t=13):t=e,32<=t||13===t?t:0}function ie(t,e,n,r){return Dt.call(this,t,e,n,r)}function ae(t,e,n,r){return Dt.call(this,t,e,n,r)}function ue(t,e,n,r){return Dt.call(this,t,e,n,r)}function se(t,e,n,r){return Dt.call(this,t,e,n,r)}function ce(t,e,n,r){return Dt.call(this,t,e,n,r)}function le(t){return t[1].toUpperCase()}function fe(t){return!(!t||t.nodeType!==ds&&t.nodeType!==gs&&t.nodeType!==vs&&(t.nodeType!==ys||" react-mount-point-unstable "!==t.nodeValue))}function pe(t){return!(!(t=t?t.nodeType===gs?t.documentElement:t.firstChild:null)||t.nodeType!==ds||!t.hasAttribute(_s))}function de(t,e,n,o,i){fe(n)||r("200");var a=n._reactRootContainer;if(a)Rs.updateContainer(e,a,t,i);else{if(!o&&!pe(n))for(o=void 0;o=n.lastChild;)n.removeChild(o);var u=Rs.createContainer(n);a=n._reactRootContainer=u,Rs.unbatchedUpdates(function(){Rs.updateContainer(e,u,t,i)})}return Rs.getPublicRootInstance(a)}function he(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;return fe(e)||r("200"),mo.createPortal(t,e,null,n)}var ye=n(3);n(0);var ge=n(196),ve=n(11),_e=n(195),me=n(17),be=n(54),we=n(217),Se=n(30),ke=n(205),Ee=n(47);ye||r("227");var Ce,xe,Oe={Namespaces:{html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"},getIntrinsicNamespace:o,getChildNamespace:function(t,e){return null==t||"http://www.w3.org/1999/xhtml"===t?o(e):"http://www.w3.org/2000/svg"===t&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":t}},Te=null,De={},Me={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(t){Te&&r("101"),Te=Array.prototype.slice.call(t),i()},injectEventPluginsByName:function(t){var e,n=!1;for(e in t)if(t.hasOwnProperty(e)){var o=t[e];De.hasOwnProperty(e)&&De[e]===o||(De[e]&&r("102",e),De[e]=o,n=!0)}n&&i()}},Ie=Me,Ae={children:!0,dangerouslySetInnerHTML:!0,autoFocus:!0,defaultValue:!0,defaultChecked:!0,innerHTML:!0,suppressContentEditableWarning:!0,style:!0},Pe={MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,HAS_STRING_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(t){var e=Pe,n=t.Properties||{},o=t.DOMAttributeNamespaces||{},i=t.DOMAttributeNames||{};t=t.DOMMutationMethods||{};for(var a in n){Ne.properties.hasOwnProperty(a)&&r("48",a);var s=a.toLowerCase(),c=n[a];s={attributeName:s,attributeNamespace:null,propertyName:a,mutationMethod:null,mustUseProperty:u(c,e.MUST_USE_PROPERTY),hasBooleanValue:u(c,e.HAS_BOOLEAN_VALUE),hasNumericValue:u(c,e.HAS_NUMERIC_VALUE),hasPositiveNumericValue:u(c,e.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:u(c,e.HAS_OVERLOADED_BOOLEAN_VALUE),hasStringBooleanValue:u(c,e.HAS_STRING_BOOLEAN_VALUE)},1>=s.hasBooleanValue+s.hasNumericValue+s.hasOverloadedBooleanValue||r("50",a),i.hasOwnProperty(a)&&(s.attributeName=i[a]),o.hasOwnProperty(a)&&(s.attributeNamespace=o[a]),t.hasOwnProperty(a)&&(s.mutationMethod=t[a]),Ne.properties[a]=s}}},Ne={ID_ATTRIBUTE_NAME:"data-reactid",ROOT_ATTRIBUTE_NAME:"data-reactroot",ATTRIBUTE_NAME_START_CHAR:":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ATTRIBUTE_NAME_CHAR:":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",properties:{},shouldSetAttribute:function(t,e){if(Ne.isReservedProp(t)||!("o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1]))return!1;if(null===e)return!0;switch(typeof e){case"boolean":return Ne.shouldAttributeAcceptBooleanValue(t);case"undefined":case"number":case"string":case"object":return!0;default:return!1}},getPropertyInfo:function(t){return Ne.properties.hasOwnProperty(t)?Ne.properties[t]:null},shouldAttributeAcceptBooleanValue:function(t){if(Ne.isReservedProp(t))return!0;var e=Ne.getPropertyInfo(t);return e?e.hasBooleanValue||e.hasStringBooleanValue||e.hasOverloadedBooleanValue:"data-"===(t=t.toLowerCase().slice(0,5))||"aria-"===t},isReservedProp:function(t){return Ae.hasOwnProperty(t)},injection:Pe},Re=Ne,Le={IndeterminateComponent:0,FunctionalComponent:1,ClassComponent:2,HostRoot:3,HostPortal:4,HostComponent:5,HostText:6,CoroutineComponent:7,CoroutineHandlerPhase:8,YieldComponent:9,Fragment:10},Fe={ELEMENT_NODE:1,TEXT_NODE:3,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_FRAGMENT_NODE:11},Be=Le.HostComponent,ze=Le.HostText,Ue=Fe.ELEMENT_NODE,Ke=Fe.COMMENT_NODE,je=Re.ID_ATTRIBUTE_NAME,He={hasCachedChildNodes:1},qe=Math.random().toString(36).slice(2),We="__reactInternalInstance$"+qe,Ve="__reactEventHandlers$"+qe,Je={getClosestInstanceFromNode:f,getInstanceFromNode:function(t){var e=t[We];return e?e.tag===Be||e.tag===ze?e:e._hostNode===t?e:null:(e=f(t),null!=e&&e._hostNode===t?e:null)},getNodeFromInstance:function(t){if(t.tag===Be||t.tag===ze)return t.stateNode;if(void 0===t._hostNode&&r("33"),t._hostNode)return t._hostNode;for(var e=[];!t._hostNode;)e.push(t),t._hostParent||r("34"),t=t._hostParent;for(;e.length;t=e.pop())l(t,t._hostNode);return t._hostNode},precacheChildNodes:l,precacheNode:c,uncacheNode:function(t){var e=t._hostNode;e&&(delete e[We],t._hostNode=null)},precacheFiberNode:function(t,e){e[We]=t},getFiberCurrentPropsFromNode:function(t){return t[Ve]||null},updateFiberProps:function(t,e){t[Ve]=e}},Ge={remove:function(t){t._reactInternalFiber=void 0},get:function(t){return t._reactInternalFiber},has:function(t){return void 0!==t._reactInternalFiber},set:function(t,e){t._reactInternalFiber=e}},Xe={ReactCurrentOwner:ye.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner},Ye={NoEffect:0,PerformedWork:1,Placement:2,Update:4,PlacementAndUpdate:6,Deletion:8,ContentReset:16,Callback:32,Err:64,Ref:128},$e=Le.HostComponent,Qe=Le.HostRoot,Ze=Le.HostPortal,tn=Le.HostText,en=Ye.NoEffect,nn=Ye.Placement,rn={isFiberMounted:function(t){return 2===d(t)},isMounted:function(t){return!!(t=Ge.get(t))&&2===d(t)},findCurrentFiberUsingSlowPath:y,findCurrentHostFiber:function(t){if(!(t=y(t)))return null;for(var e=t;;){if(e.tag===$e||e.tag===tn)return e;if(e.child)e.child.return=e,e=e.child;else{if(e===t)break;for(;!e.sibling;){if(!e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}}return null},findCurrentHostFiberWithNoPortals:function(t){if(!(t=y(t)))return null;for(var e=t;;){if(e.tag===$e||e.tag===tn)return e;if(e.child&&e.tag!==Ze)e.child.return=e,e=e.child;else{if(e===t)break;for(;!e.sibling;){if(!e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}}return null}},on={_caughtError:null,_hasCaughtError:!1,_rethrowError:null,_hasRethrowError:!1,injection:{injectErrorUtils:function(t){"function"!=typeof t.invokeGuardedCallback&&r("197"),g=t.invokeGuardedCallback}},invokeGuardedCallback:function(t,e,n,r,o,i,a,u,s){g.apply(on,arguments)},invokeGuardedCallbackAndCatchFirstError:function(t,e,n,r,o,i,a,u,s){if(on.invokeGuardedCallback.apply(this,arguments),on.hasCaughtError()){var c=on.clearCaughtError();on._hasRethrowError||(on._hasRethrowError=!0,on._rethrowError=c)}},rethrowCaughtError:function(){return v.apply(on,arguments)},hasCaughtError:function(){return on._hasCaughtError},clearCaughtError:function(){if(on._hasCaughtError){var t=on._caughtError;return on._caughtError=null,on._hasCaughtError=!1,t}r("198")}},an=on,un={isEndish:function(t){return"topMouseUp"===t||"topTouchEnd"===t||"topTouchCancel"===t},isMoveish:function(t){return"topMouseMove"===t||"topTouchMove"===t},isStartish:function(t){return"topMouseDown"===t||"topTouchStart"===t},executeDirectDispatch:function(t){var e=t._dispatchListeners,n=t._dispatchInstances;return Array.isArray(e)&&r("103"),t.currentTarget=e?un.getNodeFromInstance(n):null,e=e?e(t):null,t.currentTarget=null,t._dispatchListeners=null,t._dispatchInstances=null,e},executeDispatchesInOrder:function(t,e){var n=t._dispatchListeners,r=t._dispatchInstances;if(Array.isArray(n))for(var o=0;o<n.length&&!t.isPropagationStopped();o++)_(t,e,n[o],r[o]);else n&&_(t,e,n,r);t._dispatchListeners=null,t._dispatchInstances=null},executeDispatchesInOrderStopAtTrue:function(t){t:{var e=t._dispatchListeners,n=t._dispatchInstances;if(Array.isArray(e)){for(var r=0;r<e.length&&!t.isPropagationStopped();r++)if(e[r](t,n[r])){e=n[r];break t}}else if(e&&e(t,n)){e=n;break t}e=null}return t._dispatchInstances=null,t._dispatchListeners=null,e},hasDispatches:function(t){return!!t._dispatchListeners},getFiberCurrentPropsFromNode:function(t){return Ce.getFiberCurrentPropsFromNode(t)},getInstanceFromNode:function(t){return Ce.getInstanceFromNode(t)},getNodeFromInstance:function(t){return Ce.getNodeFromInstance(t)},injection:{injectComponentTree:function(t){Ce=t}}},sn=un,cn=null,ln=null,fn=null,pn={injection:{injectFiberControlledHostComponent:function(t){cn=t}},enqueueStateRestore:function(t){ln?fn?fn.push(t):fn=[t]:ln=t},restoreStateIfNeeded:function(){if(ln){var t=ln,e=fn;if(fn=ln=null,m(t),e)for(t=0;t<e.length;t++)m(e[t])}}},dn=!1,hn={batchedUpdates:function(t,e){if(dn)return b(S,t,e);dn=!0;try{return b(S,t,e)}finally{dn=!1,pn.restoreStateIfNeeded()}},injection:{injectStackBatchedUpdates:function(t){b=t},injectFiberBatchedUpdates:function(t){w=t}}},yn=Fe.TEXT_NODE,gn=Le.HostRoot,vn=[],_n={_enabled:!0,_handleTopLevel:null,setHandleTopLevel:function(t){_n._handleTopLevel=t},setEnabled:function(t){_n._enabled=!!t},isEnabled:function(){return _n._enabled},trapBubbledEvent:function(t,e,n){return n?_e.listen(n,e,_n.dispatchEvent.bind(null,t)):null},trapCapturedEvent:function(t,e,n){return n?_e.capture(n,e,_n.dispatchEvent.bind(null,t)):null},dispatchEvent:function(t,e){if(_n._enabled){var n=k(e);if(n=Je.getClosestInstanceFromNode(n),null===n||"number"!=typeof n.tag||rn.isFiberMounted(n)||(n=null),vn.length){var r=vn.pop();r.topLevelType=t,r.nativeEvent=e,r.targetInst=n,t=r}else t={topLevelType:t,nativeEvent:e,targetInst:n,ancestors:[]};try{hn.batchedUpdates(E,t)}finally{t.topLevelType=null,t.nativeEvent=null,t.targetInst=null,t.ancestors.length=0,10>vn.length&&vn.push(t)}}}},mn=_n,bn=null,wn={injection:{injectEventPluginOrder:Ie.injectEventPluginOrder,injectEventPluginsByName:Ie.injectEventPluginsByName},getListener:function(t,e){if("number"==typeof t.tag){var n=t.stateNode;if(!n)return null;var o=sn.getFiberCurrentPropsFromNode(n);if(!o)return null;if(n=o[e],M(e,t.type,o))return null}else{if("string"==typeof(o=t._currentElement)||"number"==typeof o||!t._rootNodeID)return null;if(t=o.props,n=t[e],M(e,o.type,t))return null}return n&&"function"!=typeof n&&r("231",e,typeof n),n},extractEvents:function(t,e,n,r){for(var o,i=Ie.plugins,a=0;a<i.length;a++){var u=i[a];u&&(u=u.extractEvents(t,e,n,r))&&(o=C(o,u))}return o},enqueueEvents:function(t){t&&(bn=C(bn,t))},processEventQueue:function(t){var e=bn;bn=null,t?x(e,T):x(e,D),bn&&r("95"),an.rethrowCaughtError()}};ge.canUseDOM&&(xe=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("",""));var Sn={animationend:A("Animation","AnimationEnd"),animationiteration:A("Animation","AnimationIteration"),animationstart:A("Animation","AnimationStart"),transitionend:A("Transition","TransitionEnd")},kn={},En={};ge.canUseDOM&&(En=document.createElement("div").style,"AnimationEvent"in window||(delete Sn.animationend.animation,delete Sn.animationiteration.animation,delete Sn.animationstart.animation),"TransitionEvent"in window||delete Sn.transitionend.transition);var Cn={topAbort:"abort",topAnimationEnd:P("animationend")||"animationend",topAnimationIteration:P("animationiteration")||"animationiteration",topAnimationStart:P("animationstart")||"animationstart",topBlur:"blur",topCancel:"cancel",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topClose:"close",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoad:"load",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topToggle:"toggle",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:P("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},xn={},On=0,Tn="_reactListenersID"+(""+Math.random()).slice(2),Dn=ve({},{handleTopLevel:function(t,e,n,r){t=wn.extractEvents(t,e,n,r),wn.enqueueEvents(t),wn.processEventQueue(!1)}},{setEnabled:function(t){mn&&mn.setEnabled(t)},isEnabled:function(){return!(!mn||!mn.isEnabled())},listenTo:function(t,e){var n=N(e);t=Ie.registrationNameDependencies[t];for(var r=0;r<t.length;r++){var o=t[r];n.hasOwnProperty(o)&&n[o]||("topWheel"===o?I("wheel")?mn.trapBubbledEvent("topWheel","wheel",e):I("mousewheel")?mn.trapBubbledEvent("topWheel","mousewheel",e):mn.trapBubbledEvent("topWheel","DOMMouseScroll",e):"topScroll"===o?mn.trapCapturedEvent("topScroll","scroll",e):"topFocus"===o||"topBlur"===o?(mn.trapCapturedEvent("topFocus","focus",e),mn.trapCapturedEvent("topBlur","blur",e),n.topBlur=!0,n.topFocus=!0):"topCancel"===o?(I("cancel",!0)&&mn.trapCapturedEvent("topCancel","cancel",e),n.topCancel=!0):"topClose"===o?(I("close",!0)&&mn.trapCapturedEvent("topClose","close",e),n.topClose=!0):Cn.hasOwnProperty(o)&&mn.trapBubbledEvent(o,Cn[o],e),n[o]=!0)}},isListeningToAllDependencies:function(t,e){e=N(e),t=Ie.registrationNameDependencies[t];for(var n=0;n<t.length;n++){var r=t[n];if(!e.hasOwnProperty(r)||!e[r])return!1}return!0},trapBubbledEvent:function(t,e,n){return mn.trapBubbledEvent(t,e,n)},trapCapturedEvent:function(t,e,n){return mn.trapCapturedEvent(t,e,n)}}),Mn={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},In=["Webkit","ms","Moz","O"];Object.keys(Mn).forEach(function(t){In.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),Mn[e]=Mn[t]})});var An={isUnitlessNumber:Mn,shorthandPropertyExpansions:{background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}}},Pn=An.isUnitlessNumber,Nn=!1;if(ge.canUseDOM){var Rn=document.createElement("div").style;try{Rn.font=""}catch(t){Nn=!0}}var Ln,Fn={createDangerousStringForStyles:function(){},setValueForStyles:function(t,e){t=t.style;for(var n in e)if(e.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=n,i=e[n];if(o=null==i||"boolean"==typeof i||""===i?"":r||"number"!=typeof i||0===i||Pn.hasOwnProperty(o)&&Pn[o]?(""+i).trim():i+"px","float"===n&&(n="cssFloat"),r)t.setProperty(n,o);else if(o)t[n]=o;else if(r=Nn&&An.shorthandPropertyExpansions[n])for(var a in r)t[a]="";else t[n]=""}}},Bn=new RegExp("^["+Re.ATTRIBUTE_NAME_START_CHAR+"]["+Re.ATTRIBUTE_NAME_CHAR+"]*$"),zn={},Un={},Kn={setAttributeForID:function(t,e){t.setAttribute(Re.ID_ATTRIBUTE_NAME,e)},setAttributeForRoot:function(t){t.setAttribute(Re.ROOT_ATTRIBUTE_NAME,"")},getValueForProperty:function(){},getValueForAttribute:function(){},setValueForProperty:function(t,e,n){var r=Re.getPropertyInfo(e);if(r&&Re.shouldSetAttribute(e,n)){var o=r.mutationMethod;o?o(t,n):null==n||r.hasBooleanValue&&!n||r.hasNumericValue&&isNaN(n)||r.hasPositiveNumericValue&&1>n||r.hasOverloadedBooleanValue&&!1===n?Kn.deleteValueForProperty(t,e):r.mustUseProperty?t[r.propertyName]=n:(e=r.attributeName,(o=r.attributeNamespace)?t.setAttributeNS(o,e,""+n):r.hasBooleanValue||r.hasOverloadedBooleanValue&&!0===n?t.setAttribute(e,""):t.setAttribute(e,""+n))}else Kn.setValueForAttribute(t,e,Re.shouldSetAttribute(e,n)?n:null)},setValueForAttribute:function(t,e,n){R(e)&&(null==n?t.removeAttribute(e):t.setAttribute(e,""+n))},deleteValueForAttribute:function(t,e){t.removeAttribute(e)},deleteValueForProperty:function(t,e){var n=Re.getPropertyInfo(e);n?(e=n.mutationMethod)?e(t,void 0):n.mustUseProperty?t[n.propertyName]=!n.hasBooleanValue&&"":t.removeAttribute(n.attributeName):t.removeAttribute(e)}},jn=Kn,Hn=Xe.ReactDebugCurrentFrame,qn={current:null,phase:null,resetCurrentFiber:function(){Hn.getCurrentStack=null,qn.current=null,qn.phase=null},setCurrentFiber:function(t,e){Hn.getCurrentStack=L,qn.current=t,qn.phase=e},getCurrentFiberOwnerName:function(){return null},getCurrentFiberStackAddendum:L},Wn=qn,Vn={getHostProps:function(t,e){var n=e.value,r=e.checked;return ve({type:void 0,step:void 0,min:void 0,max:void 0},e,{defaultChecked:void 0,defaultValue:void 0,value:null!=n?n:t._wrapperState.initialValue,checked:null!=r?r:t._wrapperState.initialChecked})},initWrapperState:function(t,e){var n=e.defaultValue;t._wrapperState={initialChecked:null!=e.checked?e.checked:e.defaultChecked,initialValue:null!=e.value?e.value:n,controlled:"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}},updateWrapper:function(t,e){var n=e.checked;null!=n&&jn.setValueForProperty(t,"checked",n||!1),n=e.value,null!=n?0===n&&""===t.value?t.value="0":"number"===e.type?(e=parseFloat(t.value)||0,(n!=e||n==e&&t.value!=n)&&(t.value=""+n)):t.value!==""+n&&(t.value=""+n):(null==e.value&&null!=e.defaultValue&&t.defaultValue!==""+e.defaultValue&&(t.defaultValue=""+e.defaultValue),null==e.checked&&null!=e.defaultChecked&&(t.defaultChecked=!!e.defaultChecked))},postMountWrapper:function(t,e){switch(e.type){case"submit":case"reset":break;case"color":case"date":case"datetime":case"datetime-local":case"month":case"time":case"week":t.value="",t.value=t.defaultValue;break;default:t.value=t.value}e=t.name,""!==e&&(t.name=""),t.defaultChecked=!t.defaultChecked,t.defaultChecked=!t.defaultChecked,""!==e&&(t.name=e)},restoreControlledState:function(t,e){Vn.updateWrapper(t,e);var n=e.name;if("radio"===e.type&&null!=n){for(e=t;e.parentNode;)e=e.parentNode;for(n=e.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),e=0;e<n.length;e++){var o=n[e];if(o!==t&&o.form===t.form){var i=Je.getFiberCurrentPropsFromNode(o);i||r("90"),Vn.updateWrapper(o,i)}}}}},Jn=Vn,Gn={validateProps:function(){},postMountWrapper:function(t,e){null!=e.value&&t.setAttribute("value",e.value)},getHostProps:function(t,e){return t=ve({children:void 0},e),(e=F(e.children))&&(t.children=e),t}},Xn={getHostProps:function(t,e){return ve({},e,{value:void 0})},initWrapperState:function(t,e){var n=e.value;t._wrapperState={initialValue:null!=n?n:e.defaultValue,wasMultiple:!!e.multiple}},postMountWrapper:function(t,e){t.multiple=!!e.multiple;var n=e.value;null!=n?B(t,!!e.multiple,n):null!=e.defaultValue&&B(t,!!e.multiple,e.defaultValue)},postUpdateWrapper:function(t,e){t._wrapperState.initialValue=void 0;var n=t._wrapperState.wasMultiple;t._wrapperState.wasMultiple=!!e.multiple;var r=e.value;null!=r?B(t,!!e.multiple,r):n!==!!e.multiple&&(null!=e.defaultValue?B(t,!!e.multiple,e.defaultValue):B(t,!!e.multiple,e.multiple?[]:""))},restoreControlledState:function(t,e){var n=e.value;null!=n&&B(t,!!e.multiple,n)}},Yn={getHostProps:function(t,e){return null!=e.dangerouslySetInnerHTML&&r("91"),ve({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})},initWrapperState:function(t,e){var n=e.value,o=n;null==n&&(n=e.defaultValue,e=e.children,null!=e&&(null!=n&&r("92"),Array.isArray(e)&&(1>=e.length||r("93"),e=e[0]),n=""+e),null==n&&(n=""),o=n),t._wrapperState={initialValue:""+o}},updateWrapper:function(t,e){var n=e.value;null!=n&&(n=""+n,n!==t.value&&(t.value=n),null==e.defaultValue&&(t.defaultValue=n)),null!=e.defaultValue&&(t.defaultValue=e.defaultValue)},postMountWrapper:function(t){var e=t.textContent;e===t._wrapperState.initialValue&&(t.value=e)},restoreControlledState:function(t,e){Yn.updateWrapper(t,e)}},$n=Yn,Qn=ve({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),Zn={_getTrackerFromNode:function(t){return t._valueTracker},track:function(t){t._valueTracker||(t._valueTracker=K(t))},updateValueIfChanged:function(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=U(t)?t.checked?"true":"false":t.value),(t=r)!==n&&(e.setValue(t),!0)},stopTracking:function(t){(t=t._valueTracker)&&t.stopTracking()}},tr=Oe.Namespaces,er=function(t){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,r,o){MSApp.execUnsafeLocalFunction(function(){return t(e,n)})}:t}(function(t,e){if(t.namespaceURI!==tr.svg||"innerHTML"in t)t.innerHTML=e;else for(Ln=Ln||document.createElement("div"),Ln.innerHTML="<svg>"+e+"</svg>",e=Ln.firstChild;e.firstChild;)t.appendChild(e.firstChild)}),nr=/["'&<>]/,rr=Fe.TEXT_NODE;ge.canUseDOM&&("textContent"in document.documentElement||(H=function(t,e){if(t.nodeType===rr)t.nodeValue=e;else{if("boolean"==typeof e||"number"==typeof e)e=""+e;else{e=""+e;var n=nr.exec(e);if(n){var r,o="",i=0;for(r=n.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:n="&quot;";break;case 38:n="&amp;";break;case 39:n="&#x27;";break;case 60:n="&lt;";break;case 62:n="&gt;";break;default:continue}i!==r&&(o+=e.substring(i,r)),i=r+1,o+=n}e=i!==r?o+e.substring(i,r):o}}er(t,e)}}));var or=H,ir=(Wn.getCurrentFiberOwnerName,Fe.DOCUMENT_NODE),ar=Fe.DOCUMENT_FRAGMENT_NODE,ur=Dn.listenTo,sr=Ie.registrationNameModules,cr=Oe.Namespaces.html,lr=Oe.getIntrinsicNamespace,fr={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},pr={createElement:function(t,e,n,r){return n=n.nodeType===ir?n:n.ownerDocument,r===cr&&(r=lr(t)),r===cr?"script"===t?(t=n.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):t="string"==typeof e.is?n.createElement(t,{is:e.is}):n.createElement(t):t=n.createElementNS(r,t),t},createTextNode:function(t,e){return(e.nodeType===ir?e:e.ownerDocument).createTextNode(t)},setInitialProperties:function(t,e,n,r){var o=j(e,n);switch(e){case"iframe":case"object":Dn.trapBubbledEvent("topLoad","load",t);var i=n;break;case"video":case"audio":for(i in fr)fr.hasOwnProperty(i)&&Dn.trapBubbledEvent(i,fr[i],t);i=n;break;case"source":Dn.trapBubbledEvent("topError","error",t),i=n;break;case"img":case"image":Dn.trapBubbledEvent("topError","error",t),Dn.trapBubbledEvent("topLoad","load",t),i=n;break;case"form":Dn.trapBubbledEvent("topReset","reset",t),Dn.trapBubbledEvent("topSubmit","submit",t),i=n;break;case"details":Dn.trapBubbledEvent("topToggle","toggle",t),i=n;break;case"input":Jn.initWrapperState(t,n),i=Jn.getHostProps(t,n),Dn.trapBubbledEvent("topInvalid","invalid",t),q(r,"onChange");break;case"option":Gn.validateProps(t,n),i=Gn.getHostProps(t,n);break;case"select":Xn.initWrapperState(t,n),i=Xn.getHostProps(t,n),Dn.trapBubbledEvent("topInvalid","invalid",t),q(r,"onChange");break;case"textarea":$n.initWrapperState(t,n),i=$n.getHostProps(t,n),Dn.trapBubbledEvent("topInvalid","invalid",t),q(r,"onChange");break;default:i=n}z(e,i);var a,u=i;for(a in u)if(u.hasOwnProperty(a)){var s=u[a];"style"===a?Fn.setValueForStyles(t,s):"dangerouslySetInnerHTML"===a?null!=(s=s?s.__html:void 0)&&er(t,s):"children"===a?"string"==typeof s?or(t,s):"number"==typeof s&&or(t,""+s):"suppressContentEditableWarning"!==a&&(sr.hasOwnProperty(a)?null!=s&&q(r,a):o?jn.setValueForAttribute(t,a,s):null!=s&&jn.setValueForProperty(t,a,s))}switch(e){case"input":Zn.track(t),Jn.postMountWrapper(t,n);break;case"textarea":Zn.track(t),$n.postMountWrapper(t,n);break;case"option":Gn.postMountWrapper(t,n);break;case"select":Xn.postMountWrapper(t,n);break;default:"function"==typeof i.onClick&&(t.onclick=me)}},diffProperties:function(t,e,n,r,o){var i=null;switch(e){case"input":n=Jn.getHostProps(t,n),r=Jn.getHostProps(t,r),i=[];break;case"option":n=Gn.getHostProps(t,n),r=Gn.getHostProps(t,r),i=[];break;case"select":n=Xn.getHostProps(t,n),r=Xn.getHostProps(t,r),i=[];break;case"textarea":n=$n.getHostProps(t,n),r=$n.getHostProps(t,r),i=[];break;default:"function"!=typeof n.onClick&&"function"==typeof r.onClick&&(t.onclick=me)}z(e,r);var a,u;t=null;for(a in n)if(!r.hasOwnProperty(a)&&n.hasOwnProperty(a)&&null!=n[a])if("style"===a)for(u in e=n[a])e.hasOwnProperty(u)&&(t||(t={}),t[u]="");else"dangerouslySetInnerHTML"!==a&&"children"!==a&&"suppressContentEditableWarning"!==a&&(sr.hasOwnProperty(a)?i||(i=[]):(i=i||[]).push(a,null));for(a in r){var s=r[a];if(e=null!=n?n[a]:void 0,r.hasOwnProperty(a)&&s!==e&&(null!=s||null!=e))if("style"===a)if(e){for(u in e)!e.hasOwnProperty(u)||s&&s.hasOwnProperty(u)||(t||(t={}),t[u]="");for(u in s)s.hasOwnProperty(u)&&e[u]!==s[u]&&(t||(t={}),t[u]=s[u])}else t||(i||(i=[]),i.push(a,t)),t=s;else"dangerouslySetInnerHTML"===a?(s=s?s.__html:void 0,e=e?e.__html:void 0,null!=s&&e!==s&&(i=i||[]).push(a,""+s)):"children"===a?e===s||"string"!=typeof s&&"number"!=typeof s||(i=i||[]).push(a,""+s):"suppressContentEditableWarning"!==a&&(sr.hasOwnProperty(a)?(null!=s&&q(o,a),i||e===s||(i=[])):(i=i||[]).push(a,s))}return t&&(i=i||[]).push("style",t),i},updateProperties:function(t,e,n,r,o){j(n,r),r=j(n,o);for(var i=0;i<e.length;i+=2){var a=e[i],u=e[i+1];"style"===a?Fn.setValueForStyles(t,u):"dangerouslySetInnerHTML"===a?er(t,u):"children"===a?or(t,u):r?null!=u?jn.setValueForAttribute(t,a,u):jn.deleteValueForAttribute(t,a):null!=u?jn.setValueForProperty(t,a,u):jn.deleteValueForProperty(t,a)}switch(n){case"input":Jn.updateWrapper(t,o),Zn.updateValueIfChanged(t);break;case"textarea":$n.updateWrapper(t,o);break;case"select":Xn.postUpdateWrapper(t,o)}},diffHydratedProperties:function(t,e,n,r,o){switch(e){case"iframe":case"object":Dn.trapBubbledEvent("topLoad","load",t);break;case"video":case"audio":for(var i in fr)fr.hasOwnProperty(i)&&Dn.trapBubbledEvent(i,fr[i],t);break;case"source":Dn.trapBubbledEvent("topError","error",t);break;case"img":case"image":Dn.trapBubbledEvent("topError","error",t),Dn.trapBubbledEvent("topLoad","load",t);break;case"form":Dn.trapBubbledEvent("topReset","reset",t),Dn.trapBubbledEvent("topSubmit","submit",t);break;case"details":Dn.trapBubbledEvent("topToggle","toggle",t);break;case"input":Jn.initWrapperState(t,n),Dn.trapBubbledEvent("topInvalid","invalid",t),q(o,"onChange");break;case"option":Gn.validateProps(t,n);break;case"select":Xn.initWrapperState(t,n),Dn.trapBubbledEvent("topInvalid","invalid",t),q(o,"onChange");break;case"textarea":$n.initWrapperState(t,n),Dn.trapBubbledEvent("topInvalid","invalid",t),q(o,"onChange")}z(e,n),r=null;for(var a in n)n.hasOwnProperty(a)&&(i=n[a],"children"===a?"string"==typeof i?t.textContent!==i&&(r=["children",i]):"number"==typeof i&&t.textContent!==""+i&&(r=["children",""+i]):sr.hasOwnProperty(a)&&null!=i&&q(o,a));switch(e){case"input":Zn.track(t),Jn.postMountWrapper(t,n);break;case"textarea":Zn.track(t),$n.postMountWrapper(t,n);break;case"select":case"option":break;default:"function"==typeof n.onClick&&(t.onclick=me)}return r},diffHydratedText:function(t,e){return t.nodeValue!==e},warnForDeletedHydratableElement:function(){},warnForDeletedHydratableText:function(){},warnForInsertedHydratedElement:function(){},warnForInsertedHydratedText:function(){},restoreControlledState:function(t,e,n){switch(e){case"input":Jn.restoreControlledState(t,n);break;case"textarea":$n.restoreControlledState(t,n);break;case"select":Xn.restoreControlledState(t,n)}}},dr=void 0;if(ge.canUseDOM)if("function"!=typeof requestIdleCallback){var hr=null,yr=null,gr=!1,vr=!1,_r=0,mr=33,br=33,wr={timeRemaining:"object"==typeof performance&&"function"==typeof performance.now?function(){return _r-performance.now()}:function(){return _r-Date.now()}},Sr="__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(t){t.source===window&&t.data===Sr&&(gr=!1,t=yr,yr=null,null!==t&&t(wr))},!1);var kr=function(t){vr=!1;var e=t-_r+br;e<br&&mr<br?(8>e&&(e=8),br=e<mr?mr:e):mr=e,_r=t+br,gr||(gr=!0,window.postMessage(Sr,"*")),e=hr,hr=null,null!==e&&e(t)};dr=function(t){return yr=t,vr||(vr=!0,requestAnimationFrame(kr)),0}}else dr=requestIdleCallback;else dr=function(t){return setTimeout(function(){t({timeRemaining:function(){return 1/0}})}),0};var Er,Cr,xr={rIC:dr},Or={enableAsyncSubtreeAPI:!0},Tr={NoWork:0,SynchronousPriority:1,TaskPriority:2,HighPriority:3,LowPriority:4,OffscreenPriority:5},Dr=Ye.Callback,Mr=Tr.NoWork,Ir=Tr.SynchronousPriority,Ar=Tr.TaskPriority,Pr=Le.ClassComponent,Nr=Le.HostRoot,Rr=void 0,Lr=void 0,Fr={addUpdate:function(t,e,n,r){X(t,{priorityLevel:r,partialState:e,callback:n,isReplace:!1,isForced:!1,isTopLevelUnmount:!1,next:null})},addReplaceUpdate:function(t,e,n,r){X(t,{priorityLevel:r,partialState:e,callback:n,isReplace:!0,isForced:!1,isTopLevelUnmount:!1,next:null})},addForceUpdate:function(t,e,n){X(t,{priorityLevel:n,partialState:null,callback:e,isReplace:!1,isForced:!0,isTopLevelUnmount:!1,next:null})},getUpdatePriority:function(t){var e=t.updateQueue;return null===e||t.tag!==Pr&&t.tag!==Nr?Mr:null!==e.first?e.first.priorityLevel:Mr},addTopLevelUpdate:function(t,e,n,r){var o=null===e.element;e={priorityLevel:r,partialState:e,callback:n,isReplace:!1,isForced:!1,isTopLevelUnmount:o,next:null},t=X(t,e),o&&(o=Rr,n=Lr,null!==o&&null!==e.next&&(e.next=null,o.last=e),null!==n&&null!==t&&null!==t.next&&(t.next=null,n.last=e))},beginUpdateQueue:function(t,e,n,r,o,i,a){null!==t&&t.updateQueue===n&&(n=e.updateQueue={first:n.first,last:n.last,callbackList:null,hasForceUpdate:!1}),t=n.callbackList;for(var u=n.hasForceUpdate,s=!0,c=n.first;null!==c&&0>=W(c.priorityLevel,a);){n.first=c.next,null===n.first&&(n.last=null);var l;c.isReplace?(o=Y(c,r,o,i),s=!0):(l=Y(c,r,o,i))&&(o=s?ve({},o,l):ve(o,l),s=!1),c.isForced&&(u=!0),null===c.callback||c.isTopLevelUnmount&&null!==c.next||(t=null!==t?t:[],t.push(c.callback),e.effectTag|=Dr),c=c.next}return n.callbackList=t,n.hasForceUpdate=u,null!==n.first||null!==t||u||(e.updateQueue=null),o},commitCallbacks:function(t,e,n){if(null!==(t=e.callbackList))for(e.callbackList=null,e=0;e<t.length;e++){var o=t[e];"function"!=typeof o&&r("191",o),o.call(n)}}},Br=[],zr=-1,Ur={createCursor:function(t){return{current:t}},isEmpty:function(){return-1===zr},pop:function(t){0>zr||(t.current=Br[zr],Br[zr]=null,zr--)},push:function(t,e){zr++,Br[zr]=t.current,t.current=e},reset:function(){for(;-1<zr;)Br[zr]=null,zr--}},Kr=rn.isFiberMounted,jr=Le.ClassComponent,Hr=Le.HostRoot,qr=Ur.createCursor,Wr=Ur.pop,Vr=Ur.push,Jr=qr(be),Gr=qr(!1),Xr=be,Yr={getUnmaskedContext:function(t){return Q(t)?Xr:Jr.current},cacheContext:$,getMaskedContext:function(t,e){var n=t.type.contextTypes;if(!n)return be;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=e[o];return r&&$(t,e,i),i},hasContextChanged:function(){return Gr.current},isContextConsumer:function(t){return t.tag===jr&&null!=t.type.contextTypes},isContextProvider:Q,popContextProvider:function(t){Q(t)&&(Wr(Gr,t),Wr(Jr,t))},popTopLevelContextObject:function(t){Wr(Gr,t),Wr(Jr,t)},pushTopLevelContextObject:function(t,e,n){null!=Jr.cursor&&r("168"),Vr(Jr,e,t),Vr(Gr,n,t)},processChildContext:Z,pushContextProvider:function(t){if(!Q(t))return!1;var e=t.stateNode;return e=e&&e.__reactInternalMemoizedMergedChildContext||be,Xr=Jr.current,Vr(Jr,e,t),Vr(Gr,Gr.current,t),!0},invalidateContextProvider:function(t,e){var n=t.stateNode;if(n||r("169"),e){var o=Z(t,Xr);n.__reactInternalMemoizedMergedChildContext=o,Wr(Gr,t),Wr(Jr,t),Vr(Jr,o,t)}else Wr(Gr,t);Vr(Gr,e,t)},resetContext:function(){Xr=be,Jr.current=be,Gr.current=!1},findCurrentUnmaskedContext:function(t){for(Kr(t)&&t.tag===jr?void 0:r("170");t.tag!==Hr;){if(Q(t))return t.stateNode.__reactInternalMemoizedMergedChildContext;(t=t.return)||r("171")}return t.stateNode.context}},$r={NoContext:0,AsyncUpdates:1},Qr=Le.IndeterminateComponent,Zr=Le.ClassComponent,to=Le.HostRoot,eo=Le.HostComponent,no=Le.HostText,ro=Le.HostPortal,oo=Le.CoroutineComponent,io=Le.YieldComponent,ao=Le.Fragment,uo=Tr.NoWork,so=$r.NoContext,co=Ye.NoEffect,lo={createWorkInProgress:function(t,e){var n=t.alternate;return null===n?(n=new tt(t.tag,t.key,t.internalContextTag),n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.effectTag=co,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.pendingWorkPriority=e,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n},createHostRootFiber:function(){return new tt(to,null,so)},createFiberFromElement:function(t,e,n){return e=et(t.type,t.key,e),e.pendingProps=t.props,e.pendingWorkPriority=n,e},createFiberFromFragment:function(t,e,n){return e=new tt(ao,null,e),e.pendingProps=t,e.pendingWorkPriority=n,e},createFiberFromText:function(t,e,n){return e=new tt(no,null,e),e.pendingProps=t,e.pendingWorkPriority=n,e},createFiberFromElementType:et,createFiberFromHostInstanceForDeletion:function(){var t=new tt(eo,null,so);return t.type="DELETED",t},createFiberFromCoroutine:function(t,e,n){return e=new tt(oo,t.key,e),e.type=t.handler,e.pendingProps=t,e.pendingWorkPriority=n,e},createFiberFromYield:function(t,e){return new tt(io,null,e)},createFiberFromPortal:function(t,e,n){return e=new tt(ro,t.key,e),e.pendingProps=t.children||[],e.pendingWorkPriority=n,e.stateNode={containerInfo:t.containerInfo,implementation:t.implementation},e},largerPriority:function(t,e){return t!==uo&&(e===uo||e>t)?t:e}},fo=lo.createHostRootFiber,po=Le.IndeterminateComponent,ho=Le.FunctionalComponent,yo=Le.ClassComponent,go=Le.HostComponent;"function"==typeof Symbol&&Symbol.for?(Er=Symbol.for("react.coroutine"),Cr=Symbol.for("react.yield")):(Er=60104,Cr=60105);var vo={createCoroutine:function(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Er,key:null==r?null:""+r,children:t,handler:e,props:n}},createYield:function(t){return{$$typeof:Cr,value:t}},isCoroutine:function(t){return"object"==typeof t&&null!==t&&t.$$typeof===Er},isYield:function(t){return"object"==typeof t&&null!==t&&t.$$typeof===Cr},REACT_YIELD_TYPE:Cr,REACT_COROUTINE_TYPE:Er},_o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.portal")||60106,mo={createPortal:function(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:_o,key:null==r?null:""+r,children:t,containerInfo:e,implementation:n}},isPortal:function(t){return"object"==typeof t&&null!==t&&t.$$typeof===_o},REACT_PORTAL_TYPE:_o},bo=vo.REACT_COROUTINE_TYPE,wo=vo.REACT_YIELD_TYPE,So=mo.REACT_PORTAL_TYPE,ko=lo.createWorkInProgress,Eo=lo.createFiberFromElement,Co=lo.createFiberFromFragment,xo=lo.createFiberFromText,Oo=lo.createFiberFromCoroutine,To=lo.createFiberFromYield,Do=lo.createFiberFromPortal,Mo=Array.isArray,Io=Le.FunctionalComponent,Ao=Le.ClassComponent,Po=Le.HostText,No=Le.HostPortal,Ro=Le.CoroutineComponent,Lo=Le.YieldComponent,Fo=Le.Fragment,Bo=Ye.NoEffect,zo=Ye.Placement,Uo=Ye.Deletion,Ko="function"==typeof Symbol&&Symbol.iterator,jo="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ho=it(!0,!0),qo=it(!1,!0),Wo=it(!1,!1),Vo={reconcileChildFibers:Ho,reconcileChildFibersInPlace:qo,mountChildFibersInPlace:Wo,cloneChildFibers:function(t,e){if(null!==t&&e.child!==t.child&&r("153"),null!==e.child){t=e.child;var n=ko(t,t.pendingWorkPriority);for(n.pendingProps=t.pendingProps,e.child=n,n.return=e;null!==t.sibling;)t=t.sibling,n=n.sibling=ko(t,t.pendingWorkPriority),n.pendingProps=t.pendingProps,n.return=e;n.sibling=null}}},Jo=Ye.Update,Go=$r.AsyncUpdates,Xo=Yr.cacheContext,Yo=Yr.getMaskedContext,$o=Yr.getUnmaskedContext,Qo=Yr.isContextConsumer,Zo=Fr.addUpdate,ti=Fr.addReplaceUpdate,ei=Fr.addForceUpdate,ni=Fr.beginUpdateQueue,ri=Yr.hasContextChanged,oi=rn.isMounted,ii=Vo.mountChildFibersInPlace,ai=Vo.reconcileChildFibers,ui=Vo.reconcileChildFibersInPlace,si=Vo.cloneChildFibers,ci=Fr.beginUpdateQueue,li=Yr.getMaskedContext,fi=Yr.getUnmaskedContext,pi=Yr.hasContextChanged,di=Yr.pushContextProvider,hi=Yr.pushTopLevelContextObject,yi=Yr.invalidateContextProvider,gi=Le.IndeterminateComponent,vi=Le.FunctionalComponent,_i=Le.ClassComponent,mi=Le.HostRoot,bi=Le.HostComponent,wi=Le.HostText,Si=Le.HostPortal,ki=Le.CoroutineComponent,Ei=Le.CoroutineHandlerPhase,Ci=Le.YieldComponent,xi=Le.Fragment,Oi=Tr.NoWork,Ti=Tr.OffscreenPriority,Di=Ye.PerformedWork,Mi=Ye.Placement,Ii=Ye.ContentReset,Ai=Ye.Err,Pi=Ye.Ref,Ni=Xe.ReactCurrentOwner,Ri=Vo.reconcileChildFibers,Li=Yr.popContextProvider,Fi=Yr.popTopLevelContextObject,Bi=Le.IndeterminateComponent,zi=Le.FunctionalComponent,Ui=Le.ClassComponent,Ki=Le.HostRoot,ji=Le.HostComponent,Hi=Le.HostText,qi=Le.HostPortal,Wi=Le.CoroutineComponent,Vi=Le.CoroutineHandlerPhase,Ji=Le.YieldComponent,Gi=Le.Fragment,Xi=Ye.Placement,Yi=Ye.Ref,$i=Ye.Update,Qi=Tr.OffscreenPriority,Zi=null,ta=null,ea={injectInternals:function(t){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var e=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!e.supportsFiber)return!0;try{var n=e.inject(t);Zi=ct(function(t){return e.onCommitFiberRoot(n,t)}),ta=ct(function(t){return e.onCommitFiberUnmount(n,t)})}catch(t){}return!0},onCommitRoot:function(t){"function"==typeof Zi&&Zi(t)},onCommitUnmount:function(t){"function"==typeof ta&&ta(t)}},na=Le.ClassComponent,ra=Le.HostRoot,oa=Le.HostComponent,ia=Le.HostText,aa=Le.HostPortal,ua=Le.CoroutineComponent,sa=Fr.commitCallbacks,ca=ea.onCommitUnmount,la=Ye.Placement,fa=Ye.Update,pa=Ye.Callback,da=Ye.ContentReset,ha=Ur.createCursor,ya=Ur.pop,ga=Ur.push,va={},_a=Le.HostComponent,ma=Le.HostText,ba=Le.HostRoot,wa=Ye.Deletion,Sa=Ye.Placement,ka=lo.createFiberFromHostInstanceForDeletion,Ea=Yr.popContextProvider,Ca=Ur.reset,xa=Xe.ReactCurrentOwner,Oa=lo.createWorkInProgress,Ta=lo.largerPriority,Da=ea.onCommitRoot,Ma=Tr.NoWork,Ia=Tr.SynchronousPriority,Aa=Tr.TaskPriority,Pa=Tr.HighPriority,Na=Tr.LowPriority,Ra=Tr.OffscreenPriority,La=$r.AsyncUpdates,Fa=Ye.PerformedWork,Ba=Ye.Placement,za=Ye.Update,Ua=Ye.PlacementAndUpdate,Ka=Ye.Deletion,ja=Ye.ContentReset,Ha=Ye.Callback,qa=Ye.Err,Wa=Ye.Ref,Va=Le.HostRoot,Ja=Le.HostComponent,Ga=Le.HostPortal,Xa=Le.ClassComponent,Ya=Fr.getUpdatePriority,$a=Yr.resetContext;yt._injectFiber=function(t){ht=t};var Qa=Fr.addTopLevelUpdate,Za=Yr.findCurrentUnmaskedContext,tu=Yr.isContextProvider,eu=Yr.processChildContext,nu=Le.HostComponent,ru=rn.findCurrentHostFiber,ou=rn.findCurrentHostFiberWithNoPortals;yt._injectFiber(function(t){var e=Za(t);return tu(t)?eu(t,e,!1):e});var iu=Fe.TEXT_NODE,au=null,uu={getOffsets:function(t){var e=window.getSelection&&window.getSelection();if(!e||0===e.rangeCount)return null;var n=e.anchorNode,r=e.anchorOffset,o=e.focusNode,i=e.focusOffset,a=e.getRangeAt(0);try{a.startContainer.nodeType,a.endContainer.nodeType}catch(t){return null}e=e.anchorNode===e.focusNode&&e.anchorOffset===e.focusOffset?0:a.toString().length;var u=a.cloneRange();return u.selectNodeContents(t),u.setEnd(a.startContainer,a.startOffset),t=u.startContainer===u.endContainer&&u.startOffset===u.endOffset?0:u.toString().length,a=t+e,e=document.createRange(),e.setStart(n,r),e.setEnd(o,i),n=e.collapsed,{start:n?a:t,end:n?t:a}},setOffsets:function(t,e){if(window.getSelection){var n=window.getSelection(),r=t[_t()].length,o=Math.min(e.start,r);if(e=void 0===e.end?o:Math.min(e.end,r),!n.extend&&o>e&&(r=e,e=o,o=r),r=vt(t,o),t=vt(t,e),r&&t){var i=document.createRange();i.setStart(r.node,r.offset),n.removeAllRanges(),o>e?(n.addRange(i),n.extend(t.node,t.offset)):(i.setEnd(t.node,t.offset),n.addRange(i))}}}},su=Fe.ELEMENT_NODE,cu={hasSelectionCapabilities:function(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&"text"===t.type||"textarea"===e||"true"===t.contentEditable)},getSelectionInformation:function(){var t=Ee();return{focusedElem:t,selectionRange:cu.hasSelectionCapabilities(t)?cu.getSelection(t):null}},restoreSelection:function(t){var e=Ee(),n=t.focusedElem;if(t=t.selectionRange,e!==n&&Se(document.documentElement,n)){for(cu.hasSelectionCapabilities(n)&&cu.setSelection(n,t),e=[],t=n;t=t.parentNode;)t.nodeType===su&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(ke(n),n=0;n<e.length;n++)t=e[n],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}},getSelection:function(t){return("selectionStart"in t?{start:t.selectionStart,end:t.selectionEnd}:uu.getOffsets(t))||{start:0,end:0}},setSelection:function(t,e){var n=e.start,r=e.end;void 0===r&&(r=n),"selectionStart"in t?(t.selectionStart=n,t.selectionEnd=Math.min(r,t.value.length)):uu.setOffsets(t,e)}},lu=cu,fu=Fe.ELEMENT_NODE;wt._injectFiber=function(t){mt=t},wt._injectStack=function(t){bt=t};var pu=Le.HostComponent,du={isAncestor:function(t,e){for(;e;){if(t===e||t===e.alternate)return!0;e=St(e)}return!1},getLowestCommonAncestor:kt,getParentInstance:function(t){return St(t)},traverseTwoPhase:function(t,e,n){for(var r=[];t;)r.push(t),t=St(t);for(t=r.length;0<t--;)e(r[t],"captured",n);for(t=0;t<r.length;t++)e(r[t],"bubbled",n)},traverseEnterLeave:function(t,e,n,r,o){for(var i=t&&e?kt(t,e):null,a=[];t&&t!==i;)a.push(t),t=St(t);for(t=[];e&&e!==i;)t.push(e),e=St(e);for(e=0;e<a.length;e++)n(a[e],"bubbled",r);for(e=t.length;0<e--;)n(t[e],"captured",o)}},hu=wn.getListener,yu={accumulateTwoPhaseDispatches:function(t){x(t,Ct)},accumulateTwoPhaseDispatchesSkipTarget:function(t){x(t,xt)},accumulateDirectDispatches:function(t){x(t,Tt)},accumulateEnterLeaveDispatches:function(t,e,n,r){du.traverseEnterLeave(n,r,Ot,t,e)}},gu={_root:null,_startText:null,_fallbackText:null},vu={initialize:function(t){return gu._root=t,gu._startText=vu.getText(),!0},reset:function(){gu._root=null,gu._startText=null,gu._fallbackText=null},getData:function(){if(gu._fallbackText)return gu._fallbackText;var t,e,n=gu._startText,r=n.length,o=vu.getText(),i=o.length;for(t=0;t<r&&n[t]===o[t];t++);var a=r-t;for(e=1;e<=a&&n[r-e]===o[i-e];e++);return gu._fallbackText=o.slice(t,1<e?1-e:void 0),gu._fallbackText},getText:function(){return"value"in gu._root?gu._root.value:gu._root[_t()]}},_u=vu,mu="dispatchConfig _targetInst nativeEvent isDefaultPrevented isPropagationStopped _dispatchListeners _dispatchInstances".split(" "),bu={type:null,target:null,currentTarget:me.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};ve(Dt.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!=typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=me.thatReturnsTrue)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!=typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=me.thatReturnsTrue)},persist:function(){this.isPersistent=me.thatReturnsTrue},isPersistent:me.thatReturnsFalse,destructor:function(){var t,e=this.constructor.Interface;for(t in e)this[t]=null;for(e=0;e<mu.length;e++)this[mu[e]]=null}}),Dt.Interface=bu,Dt.augmentClass=function(t,e){function n(){}n.prototype=this.prototype;var r=new n;ve(r,t.prototype),t.prototype=r,t.prototype.constructor=t,t.Interface=ve({},this.Interface,e),t.augmentClass=this.augmentClass,At(t)},At(Dt),Dt.augmentClass(Pt,{data:null}),Dt.augmentClass(Nt,{data:null});var wu=[9,13,27,32],Su=ge.canUseDOM&&"CompositionEvent"in window,ku=null;ge.canUseDOM&&"documentMode"in document&&(ku=document.documentMode);var Eu;if(Eu=ge.canUseDOM&&"TextEvent"in window&&!ku){var Cu=window.opera;Eu=!("object"==typeof Cu&&"function"==typeof Cu.version&&12>=parseInt(Cu.version(),10))}var xu=Eu,Ou=ge.canUseDOM&&(!Su||ku&&8<ku&&11>=ku),Tu=String.fromCharCode(32),Du={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"topBlur topCompositionEnd topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"topBlur topCompositionStart topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"topBlur topCompositionUpdate topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")}},Mu=!1,Iu=!1,Au={eventTypes:Du,extractEvents:function(t,e,n,r){var o;if(Su)t:{switch(t){case"topCompositionStart":var i=Du.compositionStart;break t;case"topCompositionEnd":i=Du.compositionEnd;break t;case"topCompositionUpdate":i=Du.compositionUpdate;break t}i=void 0}else Iu?Rt(t,n)&&(i=Du.compositionEnd):"topKeyDown"===t&&229===n.keyCode&&(i=Du.compositionStart);return i?(Ou&&(Iu||i!==Du.compositionStart?i===Du.compositionEnd&&Iu&&(o=_u.getData()):Iu=_u.initialize(r)),i=Pt.getPooled(i,e,n,r),o?i.data=o:null!==(o=Lt(n))&&(i.data=o),yu.accumulateTwoPhaseDispatches(i),o=i):o=null,(t=xu?Ft(t,n):Bt(t,n))?(e=Nt.getPooled(Du.beforeInput,e,n,r),e.data=t,yu.accumulateTwoPhaseDispatches(e)):e=null,[o,e]}},Pu={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},Nu={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"topBlur topChange topClick topFocus topInput topKeyDown topKeyUp topSelectionChange".split(" ")}},Ru=null,Lu=null,Fu=!1;ge.canUseDOM&&(Fu=I("input")&&(!document.documentMode||9<document.documentMode));var Bu={eventTypes:Nu,_isInputEventSupported:Fu,extractEvents:function(t,e,n,r){var o=e?Je.getNodeFromInstance(e):window,i=o.nodeName&&o.nodeName.toLowerCase();if("select"===i||"input"===i&&"file"===o.type)var a=Ht;else if(zt(o))if(Fu)a=Xt;else{a=Jt;var u=Vt}else!(i=o.nodeName)||"input"!==i.toLowerCase()||"checkbox"!==o.type&&"radio"!==o.type||(a=Gt);if(a&&(a=a(t,e)))return Ut(a,n,r);u&&u(t,o,e),"topBlur"===t&&null!=e&&(t=e._wrapperState||o._wrapperState)&&t.controlled&&"number"===o.type&&(t=""+o.value,o.getAttribute("value")!==t&&o.setAttribute("value",t))}};Dt.augmentClass(Yt,{view:function(t){return t.view?t.view:(t=k(t),t.window===t?t:(t=t.ownerDocument)?t.defaultView||t.parentWindow:window)},detail:function(t){return t.detail||0}});var zu={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};Yt.augmentClass(Zt,{screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Qt,button:null,buttons:null,relatedTarget:function(t){return t.relatedTarget||(t.fromElement===t.srcElement?t.toElement:t.fromElement)}});var Uu={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},Ku={eventTypes:Uu,extractEvents:function(t,e,n,r){if("topMouseOver"===t&&(n.relatedTarget||n.fromElement)||"topMouseOut"!==t&&"topMouseOver"!==t)return null;var o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window;if("topMouseOut"===t?(t=e,e=(e=n.relatedTarget||n.toElement)?Je.getClosestInstanceFromNode(e):null):t=null,t===e)return null;var i=null==t?o:Je.getNodeFromInstance(t);o=null==e?o:Je.getNodeFromInstance(e);var a=Zt.getPooled(Uu.mouseLeave,t,n,r);return a.type="mouseleave",a.target=i,a.relatedTarget=o,n=Zt.getPooled(Uu.mouseEnter,e,n,r),n.type="mouseenter",n.target=o,n.relatedTarget=i,yu.accumulateEnterLeaveDispatches(a,n,t,e),[a,n]}},ju=Fe.DOCUMENT_NODE,Hu=ge.canUseDOM&&"documentMode"in document&&11>=document.documentMode,qu={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"topBlur topContextMenu topFocus topKeyDown topKeyUp topMouseDown topMouseUp topSelectionChange".split(" ")}},Wu=null,Vu=null,Ju=null,Gu=!1,Xu=Dn.isListeningToAllDependencies,Yu={eventTypes:qu,extractEvents:function(t,e,n,r){var o=r.window===r?r.document:r.nodeType===ju?r:r.ownerDocument;if(!o||!Xu("onSelect",o))return null;switch(o=e?Je.getNodeFromInstance(e):window,t){case"topFocus":(zt(o)||"true"===o.contentEditable)&&(Wu=o,Vu=e,Ju=null);break;case"topBlur":Ju=Vu=Wu=null;break;case"topMouseDown":Gu=!0;break;case"topContextMenu":case"topMouseUp":return Gu=!1,te(n,r);case"topSelectionChange":if(Hu)break;case"topKeyDown":case"topKeyUp":return te(n,r)}return null}};Dt.augmentClass(ee,{animationName:null,elapsedTime:null,pseudoElement:null}),Dt.augmentClass(ne,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Yt.augmentClass(re,{relatedTarget:null});var $u={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Qu={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};Yt.augmentClass(ie,{key:function(t){if(t.key){var e=$u[t.key]||t.key;if("Unidentified"!==e)return e}return"keypress"===t.type?(t=oe(t),13===t?"Enter":String.fromCharCode(t)):"keydown"===t.type||"keyup"===t.type?Qu[t.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Qt,charCode:function(t){return"keypress"===t.type?oe(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?oe(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}}),Zt.augmentClass(ae,{dataTransfer:null}),Yt.augmentClass(ue,{touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Qt}),Dt.augmentClass(se,{propertyName:null,elapsedTime:null,pseudoElement:null}),Zt.augmentClass(ce,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:null,deltaMode:null});var Zu={},ts={};"abort animationEnd animationIteration animationStart blur cancel canPlay canPlayThrough click close contextMenu copy cut doubleClick drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error focus input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing progress rateChange reset scroll seeked seeking stalled submit suspend timeUpdate toggle touchCancel touchEnd touchMove touchStart transitionEnd volumeChange waiting wheel".split(" ").forEach(function(t){var e=t[0].toUpperCase()+t.slice(1),n="on"+e;e="top"+e,n={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[e]},Zu[t]=n,ts[e]=n});var es={eventTypes:Zu,extractEvents:function(t,e,n,o){var i=ts[t];if(!i)return null;switch(t){case"topAbort":case"topCancel":case"topCanPlay":case"topCanPlayThrough":case"topClose":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topToggle":case"topVolumeChange":case"topWaiting":var a=Dt;break;case"topKeyPress":if(0===oe(n))return null;case"topKeyDown":case"topKeyUp":a=ie;break;case"topBlur":case"topFocus":a=re;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":a=Zt;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":a=ae;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":a=ue;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":a=ee;break;case"topTransitionEnd":a=se;break;case"topScroll":a=Yt;break;case"topWheel":a=ce;break;case"topCopy":case"topCut":case"topPaste":a=ne}return a||r("86",t),t=a.getPooled(i,e,n,o),yu.accumulateTwoPhaseDispatches(t),t}};mn.setHandleTopLevel(Dn.handleTopLevel),wn.injection.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin TapEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),sn.injection.injectComponentTree(Je),wn.injection.injectEventPluginsByName({SimpleEventPlugin:es,EnterLeaveEventPlugin:Ku,ChangeEventPlugin:Bu,SelectEventPlugin:Yu,BeforeInputEventPlugin:Au});var ns=Re.injection.MUST_USE_PROPERTY,rs=Re.injection.HAS_BOOLEAN_VALUE,os=Re.injection.HAS_NUMERIC_VALUE,is=Re.injection.HAS_POSITIVE_NUMERIC_VALUE,as=Re.injection.HAS_STRING_BOOLEAN_VALUE,us={Properties:{allowFullScreen:rs,allowTransparency:as,async:rs,autoPlay:rs,capture:rs,checked:ns|rs,cols:is,contentEditable:as,controls:rs,default:rs,defer:rs,disabled:rs,download:Re.injection.HAS_OVERLOADED_BOOLEAN_VALUE,draggable:as,formNoValidate:rs,hidden:rs,loop:rs,multiple:ns|rs,muted:ns|rs,noValidate:rs,open:rs,playsInline:rs,readOnly:rs,required:rs,reversed:rs,rows:is,rowSpan:os,scoped:rs,seamless:rs,selected:ns|rs,size:is,start:os,span:is,spellCheck:as,style:0,itemScope:rs,acceptCharset:0,className:0,htmlFor:0,httpEquiv:0,value:as},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMMutationMethods:{value:function(t,e){if(null==e)return t.removeAttribute("value");"number"!==t.type||!1===t.hasAttribute("value")?t.setAttribute("value",""+e):t.validity&&!t.validity.badInput&&t.ownerDocument.activeElement!==t&&t.setAttribute("value",""+e)}}},ss=Re.injection.HAS_STRING_BOOLEAN_VALUE,cs={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},ls={Properties:{autoReverse:ss,externalResourcesRequired:ss,preserveAlpha:ss},DOMAttributeNames:{autoReverse:"autoReverse",externalResourcesRequired:"externalResourcesRequired",preserveAlpha:"preserveAlpha"},DOMAttributeNamespaces:{xlinkActuate:cs.xlink,xlinkArcrole:cs.xlink,xlinkHref:cs.xlink,xlinkRole:cs.xlink,xlinkShow:cs.xlink,xlinkTitle:cs.xlink,xlinkType:cs.xlink,xmlBase:cs.xml,xmlLang:cs.xml,xmlSpace:cs.xml}},fs=/[\-\:]([a-z])/g;"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode x-height xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type xml:base xmlns:xlink xml:lang xml:space".split(" ").forEach(function(t){var e=t.replace(fs,le);ls.Properties[e]=0,ls.DOMAttributeNames[e]=t}),Re.injection.injectDOMPropertyConfig(us),Re.injection.injectDOMPropertyConfig(ls);var ps=ea.injectInternals,ds=Fe.ELEMENT_NODE,hs=Fe.TEXT_NODE,ys=Fe.COMMENT_NODE,gs=Fe.DOCUMENT_NODE,vs=Fe.DOCUMENT_FRAGMENT_NODE,_s=Re.ROOT_ATTRIBUTE_NAME,ms=Oe.getChildNamespace,bs=pr.createElement,ws=pr.createTextNode,Ss=pr.setInitialProperties,ks=pr.diffProperties,Es=pr.updateProperties,Cs=pr.diffHydratedProperties,xs=pr.diffHydratedText,Os=pr.warnForDeletedHydratableElement,Ts=pr.warnForDeletedHydratableText,Ds=pr.warnForInsertedHydratedElement,Ms=pr.warnForInsertedHydratedText,Is=Je.precacheFiberNode,As=Je.updateFiberProps;pn.injection.injectFiberControlledHostComponent(pr),wt._injectFiber(function(t){return Rs.findHostInstance(t)});var Ps=null,Ns=null,Rs=function(t){var e=t.getPublicInstance;t=dt(t);var n=t.scheduleUpdate,r=t.getPriorityContext;return{createContainer:function(t){var e=fo();return t={current:e,containerInfo:t,isScheduled:!1,nextScheduledRoot:null,context:null,pendingContext:null},e.stateNode=t},updateContainer:function(t,e,o,i){var a=e.current;o=yt(o),null===e.context?e.context=o:e.pendingContext=o,e=i,i=r(a,Or.enableAsyncSubtreeAPI&&null!=t&&null!=t.type&&null!=t.type.prototype&&!0===t.type.prototype.unstable_isAsyncReactComponent),t={element:t},Qa(a,t,void 0===e?null:e,i),n(a,i)},batchedUpdates:t.batchedUpdates,unbatchedUpdates:t.unbatchedUpdates,deferredUpdates:t.deferredUpdates,flushSync:t.flushSync,getPublicRootInstance:function(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case nu:return e(t.child.stateNode);default:return t.child.stateNode}},findHostInstance:function(t){return t=ru(t),null===t?null:t.stateNode},findHostInstanceWithNoPortals:function(t){return t=ou(t),null===t?null:t.stateNode}}}({getRootHostContext:function(t){if(t.nodeType===gs)t=(t=t.documentElement)?t.namespaceURI:ms(null,"");else{var e=t.nodeType===ys?t.parentNode:t;t=e.namespaceURI||null,e=e.tagName,t=ms(t,e)}return t},getChildHostContext:function(t,e){return ms(t,e)},getPublicInstance:function(t){return t},prepareForCommit:function(){Ps=Dn.isEnabled(),Ns=lu.getSelectionInformation(),Dn.setEnabled(!1)},resetAfterCommit:function(){lu.restoreSelection(Ns),Ns=null,Dn.setEnabled(Ps),Ps=null},createInstance:function(t,e,n,r,o){return t=bs(t,e,n,r),Is(o,t),As(t,e),t},appendInitialChild:function(t,e){t.appendChild(e)},finalizeInitialChildren:function(t,e,n,r){Ss(t,e,n,r);t:{switch(e){case"button":case"input":case"select":case"textarea":t=!!n.autoFocus;break t}t=!1}return t},prepareUpdate:function(t,e,n,r,o){return ks(t,e,n,r,o)},commitMount:function(t){t.focus()},commitUpdate:function(t,e,n,r,o){As(t,o),Es(t,e,n,r,o)},shouldSetTextContent:function(t,e){return"textarea"===t||"string"==typeof e.children||"number"==typeof e.children||"object"==typeof e.dangerouslySetInnerHTML&&null!==e.dangerouslySetInnerHTML&&"string"==typeof e.dangerouslySetInnerHTML.__html},resetTextContent:function(t){t.textContent=""},shouldDeprioritizeSubtree:function(t,e){return!!e.hidden},createTextInstance:function(t,e,n,r){return t=ws(t,e),Is(r,t),t},commitTextUpdate:function(t,e,n){t.nodeValue=n},appendChild:function(t,e){t.appendChild(e)},appendChildToContainer:function(t,e){t.nodeType===ys?t.parentNode.insertBefore(e,t):t.appendChild(e)},insertBefore:function(t,e,n){t.insertBefore(e,n)},insertInContainerBefore:function(t,e,n){t.nodeType===ys?t.parentNode.insertBefore(e,n):t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},removeChildFromContainer:function(t,e){t.nodeType===ys?t.parentNode.removeChild(e):t.removeChild(e)},canHydrateInstance:function(t,e){return t.nodeType===ds&&e===t.nodeName.toLowerCase()},canHydrateTextInstance:function(t,e){return""!==e&&t.nodeType===hs},getNextHydratableSibling:function(t){for(t=t.nextSibling;t&&t.nodeType!==ds&&t.nodeType!==hs;)t=t.nextSibling;return t},getFirstHydratableChild:function(t){for(t=t.firstChild;t&&t.nodeType!==ds&&t.nodeType!==hs;)t=t.nextSibling;return t},hydrateInstance:function(t,e,n,r,o,i){return Is(i,t),As(t,n),Cs(t,e,n,o,r)},hydrateTextInstance:function(t,e,n){return Is(n,t),xs(t,e)},didNotHydrateInstance:function(t,e){1===e.nodeType?Os(t,e):Ts(t,e)},didNotFindHydratableInstance:function(t,e,n){Ds(t,e,n)},didNotFindHydratableTextInstance:function(t,e){Ms(t,e)},scheduleDeferredCallback:xr.rIC,useSyncScheduling:!0});hn.injection.injectFiberBatchedUpdates(Rs.batchedUpdates);var Ls={createPortal:he,hydrate:function(t,e,n){return de(null,t,e,!0,n)},render:function(t,e,n){return de(null,t,e,!1,n)},unstable_renderSubtreeIntoContainer:function(t,e,n,o){return null!=t&&Ge.has(t)||r("38"),de(t,e,n,!1,o)},unmountComponentAtNode:function(t){return fe(t)||r("40"),!!t._reactRootContainer&&(Rs.unbatchedUpdates(function(){de(null,null,t,!1,function(){t._reactRootContainer=null})}),!0)},findDOMNode:wt,unstable_createPortal:he,unstable_batchedUpdates:hn.batchedUpdates,unstable_deferredUpdates:Rs.deferredUpdates,flushSync:Rs.flushSync,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{EventPluginHub:wn,EventPluginRegistry:Ie,EventPropagators:yu,ReactControlledComponent:pn,ReactDOMComponentTree:Je,ReactDOMEventListener:mn}};ps({findFiberByHostInstance:Je.getClosestInstanceFromNode,findHostInstanceByFiber:Rs.findHostInstance,bundleType:0,version:"16.0.0",rendererPackageName:"react-dom"}),t.exports=Ls},function(t,e,n){"use strict";function r(t){for(var e=arguments.length-1,n="Minified React error #"+t+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+t,r=0;r<e;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);throw e=Error(n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."),e.name="Invariant Violation",e.framesToPop=1,e}function o(t,e,n){this.props=t,this.context=e,this.refs=_,this.updater=n||b}function i(t,e,n){this.props=t,this.context=e,this.refs=_,this.updater=n||b}function a(){}function u(t,e,n){this.props=t,this.context=e,this.refs=_,this.updater=n||b}function s(t,e,n,r,o,i,a){return{$$typeof:x,type:t,key:e,ref:n,props:a,_owner:i}}function c(t){var e={"=":"=0",":":"=2"};return"$"+(""+t).replace(/[=:]/g,function(t){return e[t]})}function l(t,e,n,r){if(I.length){var o=I.pop();return o.result=t,o.keyPrefix=e,o.func=n,o.context=r,o.count=0,o}return{result:t,keyPrefix:e,func:n,context:r,count:0}}function f(t){t.result=null,t.keyPrefix=null,t.func=null,t.context=null,t.count=0,10>I.length&&I.push(t)}function p(t,e,n,o){var i=typeof t;if("undefined"!==i&&"boolean"!==i||(t=null),null===t||"string"===i||"number"===i||"object"===i&&t.$$typeof===D)return n(o,t,""===e?"."+d(t,0):e),1;var a=0;if(e=""===e?".":e+":",Array.isArray(t))for(var u=0;u<t.length;u++){i=t[u];var s=e+d(i,u);a+=p(i,s,n,o)}else if("function"==typeof(s=T&&t[T]||t["@@iterator"]))for(t=s.call(t),u=0;!(i=t.next()).done;)i=i.value,s=e+d(i,u++),a+=p(i,s,n,o);else"object"===i&&(n=""+t,r("31","[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return a}function d(t,e){return"object"==typeof t&&null!==t&&null!=t.key?c(t.key):e.toString(36)}function h(t,e){t.func.call(t.context,e,t.count++)}function y(t,e,n){var r=t.result,o=t.keyPrefix;t=t.func.call(t.context,e,t.count++),Array.isArray(t)?g(t,r,n,m.thatReturnsArgument):null!=t&&(s.isValidElement(t)&&(t=s.cloneAndReplaceKey(t,o+(!t.key||e&&e.key===t.key?"":(""+t.key).replace(M,"$&/")+"/")+n)),r.push(t))}function g(t,e,n,r,o){var i="";null!=n&&(i=(""+n).replace(M,"$&/")+"/"),e=l(e,i,r,o),null==t||p(t,"",y,e),f(e)}var v=n(11),_=n(54);n(0);var m=n(17),b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};o.prototype.isReactComponent={},o.prototype.setState=function(t,e){"object"!=typeof t&&"function"!=typeof t&&null!=t&&r("85"),this.updater.enqueueSetState(this,t,e,"setState")},o.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},a.prototype=o.prototype;var w=i.prototype=new a;w.constructor=i,v(w,o.prototype),w.isPureReactComponent=!0;var S=u.prototype=new a;S.constructor=u,v(S,o.prototype),S.unstable_isAsyncReactComponent=!0,S.render=function(){return this.props.children};var k={Component:o,PureComponent:i,AsyncComponent:u},E={current:null},C=Object.prototype.hasOwnProperty,x="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,O={key:!0,ref:!0,__self:!0,__source:!0};s.createElement=function(t,e,n){var r,o={},i=null,a=null,u=null,c=null;if(null!=e)for(r in void 0!==e.ref&&(a=e.ref),void 0!==e.key&&(i=""+e.key),u=void 0===e.__self?null:e.__self,c=void 0===e.__source?null:e.__source,e)C.call(e,r)&&!O.hasOwnProperty(r)&&(o[r]=e[r]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var f=Array(l),p=0;p<l;p++)f[p]=arguments[p+2];o.children=f}if(t&&t.defaultProps)for(r in l=t.defaultProps)void 0===o[r]&&(o[r]=l[r]);return s(t,i,a,u,c,E.current,o)},s.createFactory=function(t){var e=s.createElement.bind(null,t);return e.type=t,e},s.cloneAndReplaceKey=function(t,e){return s(t.type,e,t.ref,t._self,t._source,t._owner,t.props)},s.cloneElement=function(t,e,n){var r=v({},t.props),o=t.key,i=t.ref,a=t._self,u=t._source,c=t._owner;if(null!=e){if(void 0!==e.ref&&(i=e.ref,c=E.current),void 0!==e.key&&(o=""+e.key),t.type&&t.type.defaultProps)var l=t.type.defaultProps;for(f in e)C.call(e,f)&&!O.hasOwnProperty(f)&&(r[f]=void 0===e[f]&&void 0!==l?l[f]:e[f])}var f=arguments.length-2;if(1===f)r.children=n;else if(1<f){l=Array(f);for(var p=0;p<f;p++)l[p]=arguments[p+2];r.children=l}return s(t.type,o,i,a,u,c,r)},s.isValidElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===x};var T="function"==typeof Symbol&&Symbol.iterator,D="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,M=/\/+/g,I=[],A={forEach:function(t,e,n){if(null==t)return t;e=l(null,null,e,n),null==t||p(t,"",h,e),f(e)},map:function(t,e,n){if(null==t)return t;var r=[];return g(t,r,null,e,n),r},count:function(t){return null==t?0:p(t,"",m.thatReturnsNull,null)},toArray:function(t){var e=[];return g(t,e,null,m.thatReturnsArgument),e}};t.exports={Children:{map:A.map,forEach:A.forEach,count:A.count,toArray:A.toArray,only:function(t){return s.isValidElement(t)||r("143"),t}},Component:k.Component,PureComponent:k.PureComponent,unstable_AsyncComponent:k.AsyncComponent,createElement:s.createElement,cloneElement:s.cloneElement,isValidElement:s.isValidElement,createFactory:s.createFactory,version:"16.0.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:E,assign:v}}},function(t,e,n){(function(t,e){!function(t,n){"use strict";function r(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 r={callback:t,args:e};return c[s]=r,u(s),s++}function o(t){delete c[t]}function i(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)}}function a(t){if(l)setTimeout(a,0,t);else{var e=c[t];if(e){l=!0;try{i(e)}finally{o(t),l=!1}}}}if(!t.setImmediate){var u,s=1,c={},l=!1,f=t.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(t);p=p&&p.setTimeout?p:t,"[object process]"==={}.toString.call(t.process)?function(){u=function(t){e.nextTick(function(){a(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}}()?function(){var e="setImmediate$"+Math.random()+"$",n=function(n){n.source===t&&"string"==typeof n.data&&0===n.data.indexOf(e)&&a(+n.data.slice(e.length))};t.addEventListener?t.addEventListener("message",n,!1):t.attachEvent("onmessage",n),u=function(n){t.postMessage(e+n,"*")}}():t.MessageChannel?function(){var t=new MessageChannel;t.port1.onmessage=function(t){a(t.data)},u=function(e){t.port2.postMessage(e)}}():f&&"onreadystatechange"in f.createElement("script")?function(){var t=f.documentElement;u=function(e){var n=f.createElement("script");n.onreadystatechange=function(){a(e),n.onreadystatechange=null,t.removeChild(n),n=null},t.appendChild(n)}}():function(){u=function(t){setTimeout(a,0,t)}}(),p.setImmediate=r,p.clearImmediate=o}}("undefined"==typeof self?void 0===t?this:t:self)}).call(e,n(12),n(89))},function(t,e,n){var r;!function(o,i){"use strict";var a="model",u="name",s="type",c="vendor",l="version",f="mobile",p="tablet",d={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,"")}},h={rgx:function(t,e){for(var n,r,o,i,a,u,s=0;s<e.length&&!a;){var c=e[s],l=e[s+1];for(n=r=0;n<c.length&&!a;)if(a=c[n++].exec(t))for(o=0;o<l.length;o++)u=a[++r],i=l[o],"object"==typeof i&&i.length>0?2==i.length?"function"==typeof i[1]?this[i[0]]=i[1].call(this,u):this[i[0]]=i[1]:3==i.length?"function"!=typeof i[1]||i[1].exec&&i[1].test?this[i[0]]=u?u.replace(i[1],i[2]):void 0:this[i[0]]=u?i[1].call(this,u,i[2]):void 0:4==i.length&&(this[i[0]]=u?i[3].call(this,u.replace(i[1],i[2])):void 0):this[i]=u||void 0;s+=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(d.has(e[n][r],t))return"?"===n?void 0:n}else if(d.has(e[n],t))return"?"===n?void 0:n;return t}},y={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"}}}},g={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[u,l],[/(opios)[\/\s]+([\w\.]+)/i],[[u,"Opera Mini"],l],[/\s(opr)\/([\w\.]+)/i],[[u,"Opera"],l],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]+)*/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]+)*/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser)\/([\w\.-]+)/i],[u,l],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[u,"IE"],l],[/(edge)\/((\d+)?[\w\.]+)/i],[u,l],[/(yabrowser)\/([\w\.]+)/i],[[u,"Yandex"],l],[/(puffin)\/([\w\.]+)/i],[[u,"Puffin"],l],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[u,"UCBrowser"],l],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],l],[/(micromessenger)\/([\w\.]+)/i],[[u,"WeChat"],l],[/(QQ)\/([\d\.]+)/i],[u,l],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[u,l],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[l,[u,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[l,[u,"Facebook"]],[/(headlesschrome) ([\w\.]+)/i],[l,[u,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[u,/(.+)/,"$1 WebView"],l],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[u,/(.+(?:g|us))(.+)/,"$1 $2"],l],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[l,[u,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[u,l],[/(dolfin)\/([\w\.]+)/i],[[u,"Dolphin"],l],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[u,"Chrome"],l],[/(coast)\/([\w\.]+)/i],[[u,"Opera Coast"],l],[/fxios\/([\w\.-]+)/i],[l,[u,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[l,[u,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[l,u],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[u,[l,h.str,y.browser.oldsafari.version]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],[u,l],[/(navigator|netscape)\/([\w\.-]+)/i],[[u,"Netscape"],l],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix)\/([\w\.-]+)/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]+)*/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[u,l]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[["architecture","amd64"]],[/(ia32(?=;))/i],[["architecture",d.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[["architecture","ia32"]],[/windows\s(ce|mobile);\sppc;/i],[["architecture","arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[["architecture",/ower/,"",d.lowerize]],[/(sun4\w)[;\)]/i],[["architecture","sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[["architecture",d.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],[a,c,[s,p]],[/applecoremedia\/[\w\.]+ \((ipad)/],[a,[c,"Apple"],[s,p]],[/(apple\s{0,1}tv)/i],[[a,"Apple TV"],[c,"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],[c,a,[s,p]],[/(kf[A-z]+)\sbuild\/[\w\.]+.*silk\//i],[a,[c,"Amazon"],[s,p]],[/(sd|kf)[0349hijorstuw]+\sbuild\/[\w\.]+.*silk\//i],[[a,h.str,y.device.amazon.model],[c,"Amazon"],[s,f]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[a,c,[s,f]],[/\((ip[honed|\s\w*]+);/i],[a,[c,"Apple"],[s,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],[c,a,[s,f]],[/\(bb10;\s(\w+)/i],[a,[c,"BlackBerry"],[s,f]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i],[a,[c,"Asus"],[s,p]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[c,"Sony"],[a,"Xperia Tablet"],[s,p]],[/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i],[a,[c,"Sony"],[s,f]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[c,a,[s,"console"]],[/android.+;\s(shield)\sbuild/i],[a,[c,"Nvidia"],[s,"console"]],[/(playstation\s[34portablevi]+)/i],[a,[c,"Sony"],[s,"console"]],[/(sprint\s(\w+))/i],[[c,h.str,y.device.sprint.vendor],[a,h.str,y.device.sprint.model],[s,f]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],[c,a,[s,p]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w+)*/i,/(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]+)*/i],[c,[a,/_/g," "],[s,f]],[/(nexus\s9)/i],[a,[c,"HTC"],[s,p]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p)/i],[a,[c,"Huawei"],[s,f]],[/(microsoft);\s(lumia[\s\w]+)/i],[c,a,[s,f]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[a,[c,"Microsoft"],[s,"console"]],[/(kin\.[onetw]{3})/i],[[a,/\./g," "],[c,"Microsoft"],[s,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,[c,"Motorola"],[s,f]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[a,[c,"Motorola"],[s,p]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[c,d.trim],[a,d.trim],[s,"smarttv"]],[/hbbtv.+maple;(\d+)/i],[[a,/^/,"SmartTV"],[c,"Samsung"],[s,"smarttv"]],[/\(dtv[\);].+(aquos)/i],[a,[c,"Sharp"],[s,"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],[[c,"Samsung"],a,[s,p]],[/smart-tv.+(samsung)/i],[c,[s,"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],[[c,"Samsung"],a,[s,f]],[/sie-(\w+)*/i],[a,[c,"Siemens"],[s,f]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]+)*/i],[[c,"Nokia"],a,[s,f]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i],[a,[c,"Acer"],[s,p]],[/android.+([vl]k\-?\d{3})\s+build/i],[a,[c,"LG"],[s,p]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[c,"LG"],a,[s,p]],[/(lg) netcast\.tv/i],[c,a,[s,"smarttv"]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w+)*/i,/android.+lg(\-?[\d\w]+)\s+build/i],[a,[c,"LG"],[s,f]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[a,[c,"Lenovo"],[s,p]],[/linux;.+((jolla));/i],[c,a,[s,f]],[/((pebble))app\/[\d\.]+\s/i],[c,a,[s,"wearable"]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[c,a,[s,f]],[/crkey/i],[[a,"Chromecast"],[c,"Google"]],[/android.+;\s(glass)\s\d/i],[a,[c,"Google"],[s,"wearable"]],[/android.+;\s(pixel c)\s/i],[a,[c,"Google"],[s,p]],[/android.+;\s(pixel xl|pixel)\s/i],[a,[c,"Google"],[s,f]],[/android.+(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d\w)?)\s+build/i],[[a,/_/g," "],[c,"Xiaomi"],[s,f]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[a,[c,"Meizu"],[s,p]],[/android.+a000(1)\s+build/i],[a,[c,"OnePlus"],[s,f]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[a,[c,"RCA"],[s,p]],[/android.+[;\/]\s*(Venue[\d\s]*)\s+build/i],[a,[c,"Dell"],[s,p]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[a,[c,"Verizon"],[s,p]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[c,"Barnes & Noble"],a,[s,p]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[a,[c,"NuVision"],[s,p]],[/android.+[;\/]\s*(zte)?.+(k\d{2})\s+build/i],[[c,"ZTE"],a,[s,p]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[a,[c,"Swiss"],[s,f]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[a,[c,"Swiss"],[s,p]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[a,[c,"Zeki"],[s,p]],[/(android).+[;\/]\s+([YR]\d{2}x?.*)\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(.+)\s+build/i],[[c,"Dragon Touch"],a,[s,p]],[/android.+[;\/]\s*(NS-?.+)\s+build/i],[a,[c,"Insignia"],[s,p]],[/android.+[;\/]\s*((NX|Next)-?.+)\s+build/i],[a,[c,"NextBook"],[s,p]],[/android.+[;\/]\s*(Xtreme\_?)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[c,"Voice"],a,[s,f]],[/android.+[;\/]\s*(LVTEL\-?)?(V1[12])\s+build/i],[[c,"LvTel"],a,[s,f]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[a,[c,"Envizen"],[s,p]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(.*\b)\s+build/i],[c,a,[s,p]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[a,[c,"MachSpeed"],[s,p]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[c,a,[s,p]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[a,[c,"Rotor"],[s,p]],[/android.+(KS(.+))\s+build/i],[a,[c,"Amazon"],[s,p]],[/android.+(Gigaset)[\s\-]+(Q.+)\s+build/i],[c,a,[s,p]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[s,d.lowerize],c,a],[/(android.+)[;\/].+build/i],[a,[c,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[l,[u,"EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[u,l],[/rv\:([\w\.]+).*(gecko)/i],[l,u]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[u,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],[u,[l,h.str,y.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[u,"Windows"],[l,h.str,y.os.windows.version]],[/\((bb)(10);/i],[[u,"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],[u,l],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]+)*/i],[[u,"Symbian"],l],[/\((series40);/i],[u],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[u,"Firefox OS"],l],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w+)*/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|[open]*suse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]+)*/i,/(hurd|linux)\s?([\w\.]+)*/i,/(gnu)\s?([\w\.]+)*/i],[u,l],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[u,"Chromium OS"],l],[/(sunos)\s?([\w\.]+\d)*/i],[[u,"Solaris"],l],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]+)*/i],[u,l],[/(haiku)\s(\w+)/i],[u,l],[/cfnetwork\/.+darwin/i,/ip[honead]+(?:.*os\s([\w]+)*\slike\smac|;\sopera)/i],[[l,/_/g,"."],[u,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]+\w)*/i,/(macintosh|mac(?=_powerpc)\s)/i],[[u,"Mac OS"],[l,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]+)*/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.]*)*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]+)*/i],[u,l]]},v=function(t,e){this[u]=t,this[l]=e},_=function(t){this.architecture=t},m=function(t,e,n){this[c]=t,this[a]=e,this[s]=n},b=v,w=v,S=function(t,e){if("object"==typeof t&&(e=t,t=void 0),!(this instanceof S))return new S(t,e).getResult();var n=t||(o&&o.navigator&&o.navigator.userAgent?o.navigator.userAgent:""),r=e?d.extend(g,e):g,i=new v,a=new _,u=new m,s=new b,c=new w;return this.getBrowser=function(){return h.rgx.call(i,n,r.browser),i.major=d.major(i.version),i},this.getCPU=function(){return h.rgx.call(a,n,r.cpu),a},this.getDevice=function(){return h.rgx.call(u,n,r.device),u},this.getEngine=function(){return h.rgx.call(s,n,r.engine),s},this.getOS=function(){return h.rgx.call(c,n,r.os),c},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,i=new v,a=new _,u=new m,s=new b,c=new w,this},this};S.VERSION="0.7.14",S.BROWSER={NAME:u,MAJOR:"major",VERSION:l},S.CPU={ARCHITECTURE:"architecture"},S.DEVICE={MODEL:a,VENDOR:c,TYPE:s,CONSOLE:"console",MOBILE:f,SMARTTV:"smarttv",TABLET:p,WEARABLE:"wearable",EMBEDDED:"embedded"},S.ENGINE={NAME:u,VERSION:l},S.OS={NAME:u,VERSION:l},void 0!==e?(void 0!==t&&t.exports&&(e=t.exports=S),e.UAParser=S):n(222)?void 0!==(r=function(){return S}.call(e,n,e,t))&&(t.exports=r):o&&(o.UAParser=S);var k=o&&(o.jQuery||o.Zepto);if(void 0!==k){var E=new S;k.ua=E.getResult(),k.ua.get=function(){return E.getUA()},k.ua.set=function(t){E.setUA(t);var e=E.getResult();for(var n in e)k.ua[n]=e[n]}}}("object"==typeof window?window:this)},function(t,e){(function(e){t.exports=e}).call(e,{})},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}exports.__esModule=!0;var _classCallCheck2=__webpack_require__(16),_classCallCheck3=_interopRequireDefault(_classCallCheck2),_possibleConstructorReturn2=__webpack_require__(19),_possibleConstructorReturn3=_interopRequireDefault(_possibleConstructorReturn2),_inherits2=__webpack_require__(18),_inherits3=_interopRequireDefault(_inherits2),_react=__webpack_require__(3),_react2=_interopRequireDefault(_react),_reactDom=__webpack_require__(8),_reactDom2=_interopRequireDefault(_reactDom),_immutable=__webpack_require__(88),_immutable2=_interopRequireDefault(_immutable),_draftJs=__webpack_require__(13),_draftConvert=__webpack_require__(308),_index=__webpack_require__(24),_link=__webpack_require__(249),_link2=_interopRequireDefault(_link),_debug=__webpack_require__(248),_debug2=_interopRequireDefault(_debug),_find_entities=__webpack_require__(256),_find_entities2=_interopRequireDefault(_find_entities),_save_content=__webpack_require__(258),_save_content2=_interopRequireDefault(_save_content),_html2content=__webpack_require__(257),_html2content2=_interopRequireDefault(_html2content),DanteEditor=function(_React$Component){function DanteEditor(t){(0,_classCallCheck3.default)(this,DanteEditor);var e=(0,_possibleConstructorReturn3.default)(this,_React$Component.call(this,t));return e.initializeState=e.initializeState.bind(e),e.refreshSelection=e.refreshSelection.bind(e),e.forceRender=e.forceRender.bind(e),e.onChange=e.onChange.bind(e),e.dispatchChangesToSave=e.dispatchChangesToSave.bind(e),e.setPreContent=e.setPreContent.bind(e),e.focus=e.focus.bind(e),e.getEditorState=e.getEditorState.bind(e),e.emitSerializedOutput=e.emitSerializedOutput.bind(e),e.decodeEditorContent=e.decodeEditorContent.bind(e),e.getTextFromEditor=e.getTextFromEditor.bind(e),e.getLocks=e.getLocks.bind(e),e.addLock=e.addLock.bind(e),e.removeLock=e.removeLock.bind(e),e.renderableBlocks=e.renderableBlocks.bind(e),e.defaultWrappers=e.defaultWrappers.bind(e),e.blockRenderer=e.blockRenderer.bind(e),e.handleBlockRenderer=e.handleBlockRenderer.bind(e),e.blockStyleFn=e.blockStyleFn.bind(e),e.getDataBlock=e.getDataBlock.bind(e),e.styleForBlock=e.styleForBlock.bind(e),e.handlePasteText=e.handlePasteText.bind(e),e.handleTXTPaste=e.handleTXTPaste.bind(e),e.handleHTMLPaste=e.handleHTMLPaste.bind(e),e.handlePasteImage=e.handlePasteImage.bind(e),e.handleDroppedFiles=e.handleDroppedFiles.bind(e),e.handleUpArrow=e.handleUpArrow.bind(e),e.handleDownArrow=e.handleDownArrow.bind(e),e.handleReturn=e.handleReturn.bind(e),e.handleBeforeInput=e.handleBeforeInput.bind(e),e.handleKeyCommand=e.handleKeyCommand.bind(e),e.findCommandKey=e.findCommandKey.bind(e),e.KeyBindingFn=e.KeyBindingFn.bind(e),e.updateBlockData=e.updateBlockData.bind(e),e.setDirection=e.setDirection.bind(e),e.toggleEditable=e.toggleEditable.bind(e),e.disableEditable=e.disableEditable.bind(e),e.enableEditable=e.enableEditable.bind(e),e.closePopOvers=e.closePopOvers.bind(e),e.relocateTooltips=e.relocateTooltips.bind(e),e.tooltipsWithProp=e.tooltipsWithProp.bind(e),e.tooltipHasSelectionElement=e.tooltipHasSelectionElement.bind(e),e.handleShowPopLinkOver=e.handleShowPopLinkOver.bind(e),e.handleHidePopLinkOver=e.handleHidePopLinkOver.bind(e),e.showPopLinkOver=e.showPopLinkOver.bind(e),e.hidePopLinkOver=e.hidePopLinkOver.bind(e),e.render=e.render.bind(e),e.decorator=new _draftJs.CompositeDecorator([{strategy:_find_entities2.default.bind(null,"LINK",e),component:_link2.default}]),e.blockRenderMap=(0,_immutable.Map)({image:{element:"figure"},video:{element:"figure"},embed:{element:"div"},unstyled:{wrapper:null,element:"div"},paragraph:{wrapper:null,element:"div"},placeholder:{wrapper:null,element:"div"}}),e.extendedBlockRenderMap=_draftJs.DefaultDraftBlockRenderMap.merge(e.blockRenderMap),e.state={editorState:_draftJs.EditorState.createWithContent((0,_draftJs.convertFromRaw)(e.props.content)),read_only:e.props.config.read_only,blockRenderMap:e.extendedBlockRenderMap,locks:0,debug:e.props.config.debug},e.widgets=e.props.config.widgets,e.tooltips=e.props.config.tooltips,e.key_commands=e.props.config.key_commands,e.continuousBlocks=e.props.config.continuousBlocks,e.block_types=e.props.config.block_types,e.default_wrappers=e.props.config.default_wrappers,e.character_convert_mapping=e.props.config.character_convert_mapping,e.save=new _save_content2.default({getLocks:e.getLocks,config:{xhr:e.props.config.xhr,data_storage:e.props.config.data_storage},editorState:e.state.editorState,editorContent:e.emitSerializedOutput()}),setTimeout(function(){var t=_draftJs.EditorState.set(e.decodeEditorContent(e.props.content),{decorator:e.decorator});e.onChange(t)},0),e}return(0,_inherits3.default)(DanteEditor,_React$Component),DanteEditor.prototype.initializeState=function(){return this.props.content?this.decodeEditorContent(this.props.content):_draftJs.EditorState.createEmpty(this.decorator)},DanteEditor.prototype.decodeEditorContent=function(t){var e=(0,_draftJs.convertFromRaw)(t);return _draftJs.EditorState.createWithContent(e,this.decorator)},DanteEditor.prototype.refreshSelection=function(t){var e=this.state.editorState,n=this.state.editorState.getSelection(),r=(e.getCurrentContent(),n.getFocusOffset()),o=n.getAnchorKey(),i=_draftJs.SelectionState.createEmpty(n.getAnchorKey());i=i.merge({anchorOffset:r,focusKey:o,focusOffset:r});var a=_draftJs.EditorState.forceSelection(t,i);return this.onChange(a)},DanteEditor.prototype.forceRender=function(t){var e=(this.state.editorState.getSelection(),t.getCurrentContent()),n=_draftJs.EditorState.createWithContent(e,this.decorator);return this.refreshSelection(n)},DanteEditor.prototype.onChange=function(t){var e=this;this.setPreContent(),this.setState({editorState:t});var n=(0,_index.getCurrentBlock)(this.state.editorState),r=n.getType();if(t.getSelection().isCollapsed())this.handleTooltipDisplayOn("displayOnSelection",!1);else{var o=this.tooltipsWithProp("displayOnSelection")[0];if(!this.tooltipHasSelectionElement(o,r))return;this.handleTooltipDisplayOn("displayOnSelection")}return setTimeout(function(){return e.relocateTooltips()},0),this.dispatchChangesToSave()},DanteEditor.prototype.dispatchChangesToSave=function(){var t=this;return clearTimeout(this.saveTimeout),this.saveTimeout=setTimeout(function(){return t.save.store(t.emitSerializedOutput())},100)},DanteEditor.prototype.setPreContent=function(){var t=this.emitSerializedOutput();return this.save.editorContent=t},DanteEditor.prototype.focus=function(){},DanteEditor.prototype.getEditorState=function(){return this.state.editorState},DanteEditor.prototype.emitSerializedOutput=function(){return(0,_draftJs.convertToRaw)(this.state.editorState.getCurrentContent())},DanteEditor.prototype.getTextFromEditor=function(){return this.state.editorState.getCurrentContent().getBlocksAsArray().map(function(t){return t.getText()}).join("\n")},DanteEditor.prototype.emitHTML2=function(){return(0,_draftConvert.convertToHTML)({entityToHTML:function(t,e){return"LINK"===t.type?'<a href="'+t.data.url+'">'+e+"</a>":e}})(this.state.editorState.getCurrentContent())},DanteEditor.prototype.getLocks=function(){return this.state.locks},DanteEditor.prototype.addLock=function(){return this.setState({locks:this.state.locks+=1})},DanteEditor.prototype.removeLock=function(){return this.setState({locks:this.state.locks-=1})},DanteEditor.prototype.renderableBlocks=function(){return this.widgets.filter(function(t){return t.renderable}).map(function(t){return t.type})},DanteEditor.prototype.defaultWrappers=function(t){return this.default_wrappers.filter(function(e){return e.block===t}).map(function(t){return t.className})},DanteEditor.prototype.blockRenderer=function(t){switch(t.getType()){case"atomic":var e=t.getEntityAt(0);_draftJs.Entity.get(e).getType()}return this.renderableBlocks().includes(t.getType())?this.handleBlockRenderer(t):null},DanteEditor.prototype.handleBlockRenderer=function handleBlockRenderer(block){var dataBlock=this.getDataBlock(block);if(!dataBlock)return null;var read_only=!this.state.read_only&&null,editable=null!==read_only?read_only:dataBlock.editable;return{component:eval(dataBlock.block),editable:editable,props:{data:block.getData(),getEditorState:this.getEditorState,setEditorState:this.onChange,addLock:this.addLock,toggleEditable:this.toggleEditable,disableEditable:this.disableEditable,enableEditable:this.enableEditable,removeLock:this.removeLock,getLocks:this.getLocks,config:dataBlock.options}}},DanteEditor.prototype.blockStyleFn=function(t){var e=(0,_index.getCurrentBlock)(this.state.editorState),n=e.getKey()===t.getKey()?"is-selected":"";if(this.renderableBlocks().includes(t.getType()))return this.styleForBlock(t,e,n);var r=this.defaultWrappers(t.getType());return r.length>0?"graf "+r[0]+" "+n:"graf nana "+n},DanteEditor.prototype.getDataBlock=function(t){return this.widgets.find(function(e){return e.type===t.getType()})},DanteEditor.prototype.styleForBlock=function(t,e,n){var r=this.getDataBlock(t);if(!r)return null;var o=r.selectedFn?r.selectedFn(t):null,i=n?r.selected_class:"";return r.wrapper_class+" "+i+" "+o},DanteEditor.prototype.handleTooltipDisplayOn=function(t,e){var n=this;return null==e&&(e=!0),setTimeout(function(){var r=n.tooltipsWithProp(t);return console.log(r),r.map(function(t){return n.refs[t.ref].display(e),n.refs[t.ref].relocate()})},20)},DanteEditor.prototype.handlePasteText=function(t,e){return e?e?this.handleHTMLPaste(t,e):void 0:this.handleTXTPaste(t,e)},DanteEditor.prototype.handleTXTPaste=function(t,e){var n=(0,_index.getCurrentBlock)(this.state.editorState),r=this.state.editorState;switch(n.getType()){case"image":case"video":case"placeholder":var o=_draftJs.Modifier.replaceText(r.getCurrentContent(),new _draftJs.SelectionState({anchorKey:n.getKey(),anchorOffset:0,focusKey:n.getKey(),focusOffset:2}),t);return r=_draftJs.EditorState.push(r,o,"replace-text"),this.onChange(r),!0;default:return!1}},DanteEditor.prototype.handleHTMLPaste=function(t,e){switch((0,_index.getCurrentBlock)(this.state.editorState).getType()){case"image":case"video":case"placeholder":return this.handleTXTPaste(t,e)}var n=(0,_html2content2.default)(e,this.extendedBlockRenderMap),r=this.state.editorState.getSelection(),o=r.getEndKey(),i=this.state.editorState.getCurrentContent(),a=i.blockMap.toSeq().takeUntil(function(t){return t.key===o}),u=i.blockMap.toSeq().skipUntil(function(t){return t.key===o}).rest(),s=n.blockMap.first().getKey(),c=a.concat(n.blockMap,u).toOrderedMap(),l=i.merge({blockMap:c,selectionBefore:r,selectionAfter:r.merge({anchorKey:s,anchorOffset:0,focusKey:s,focusOffset:0,isBackward:!1})}),f=_draftJs.EditorState.push(this.state.editorState,l,"insert-fragment");return this.onChange(f),!0},DanteEditor.prototype.handlePasteImage=function(t){var e=this;return t.map(function(t){var n={url:URL.createObjectURL(t),file:t};return e.onChange((0,_index.addNewBlock)(e.state.editorState,"image",n))})},DanteEditor.prototype.handleDroppedFiles=function(t,e){var n=this;return e.map(function(t){var e={url:URL.createObjectURL(t),file:t};return n.onChange((0,_index.addNewBlock)(n.state.editorState,"image",e))})},DanteEditor.prototype.handleUpArrow=function(t){var e=this;return setTimeout(function(){return e.forceRender(e.state.editorState)},10)},DanteEditor.prototype.handleDownArrow=function(t){var e=this;return setTimeout(function(){return e.forceRender(e.state.editorState)},10)},DanteEditor.prototype.handleReturn=function(t){if(this.props.handleReturn&&this.props.handleReturn())return!0;var e=this.state.editorState;if(!t.altKey&&!t.metaKey&&!t.ctrlKey){var n=(0,_index.getCurrentBlock)(e),r=n.getType(),o=e.getSelection(),i=this.getDataBlock(n);if(0===n.getText().length){if(i&&i.handleEnterWithoutText)return i.handleEnterWithText(this,n),this.closePopOvers(),!0;switch(r){case"header-one":return this.onChange((0,_index.resetBlockWithType)(e,"unstyled")),!0;default:return!1}}return n.getText().length>0?i&&i.handleEnterWithText?(i.handleEnterWithText(this,n),this.closePopOvers(),!0):n.getLength()===o.getStartOffset()&&this.continuousBlocks.indexOf(r)<0&&(this.onChange((0,_index.addNewBlockAt)(e,n.getKey())),!0):n.getLength()===o.getStartOffset()&&(this.continuousBlocks.indexOf(r)<0&&(this.onChange((0,_index.addNewBlockAt)(e,n.getKey())),!0))}},DanteEditor.prototype.handleBeforeInput=function(t){var e=(0,_index.getCurrentBlock)(this.state.editorState),n=e.getType(),r=this.state.editorState.getSelection(),o=this.state.editorState;0!==e.getText().length&&this.closePopOvers();var i=r.getEndOffset(),a=e.getEntityAt(i-1),u=a&&_draftJs.Entity.get(a).getType(),s=e.getEntityAt(i),c=s&&_draftJs.Entity.get(s).getType();if(" "===t&&"LINK"===u&&"LINK"!==c){var l=_draftJs.Modifier.insertText(o.getCurrentContent(),r," "),f=_draftJs.EditorState.push(o,l,"insert-characters");return this.onChange(f),!0}if(0===n.indexOf("atomic"))return!1;var p=e.getLength();if(r.getAnchorOffset()>1||p>1)return!1;var d=this.character_convert_mapping[e.getText()+t];return console.log("BLOCK TO SHOW: "+d),!!d&&(this.onChange((0,_index.resetBlockWithType)(o,d)),!0)},DanteEditor.prototype.handleKeyCommand=function(t){var e=this.state.editorState,n=void 0;if(this.props.handleKeyCommand&&this.props.handleKeyCommand(t))return!0;if("add-new-block"===t)return this.onChange((0,_index.addNewBlock)(e,"blockquote")),!0;var r=(0,_index.getCurrentBlock)(e);if(0===t.indexOf("toggle_inline:"))return n=t.split(":")[1],r.getType(),this.onChange(_draftJs.RichUtils.toggleInlineStyle(e,n)),!0;if(0===t.indexOf("toggle_block:"))return n=t.split(":")[1],r.getType(),this.onChange(_draftJs.RichUtils.toggleBlockType(e,n)),!0;var o=_draftJs.RichUtils.handleKeyCommand(this.state.editorState,t);return!!o&&(this.onChange(o),!0)},DanteEditor.prototype.findCommandKey=function(t,e){return this.key_commands[t].find(function(t){return t.key===e})},DanteEditor.prototype.KeyBindingFn=function(t){var e=void 0;if(t.altKey){if(t.shiftKey)return e=this.findCommandKey("alt-shift",t.which),e?e.cmd:(0,_draftJs.getDefaultKeyBinding)(t);if(t.ctrlKey||t.metaKey)return e=this.findCommandKey("alt-cmd",t.which),e?e.cmd:(0,_draftJs.getDefaultKeyBinding)(t)}else if(t.ctrlKey||t.metaKey)return e=this.findCommandKey("cmd",t.which),e?e.cmd:(0,_draftJs.getDefaultKeyBinding)(t);return(0,_draftJs.getDefaultKeyBinding)(t)},DanteEditor.prototype.updateBlockData=function(t,e){var n=t.getData(),r=n.merge(e),o=(0,_index.updateDataOfBlock)(this.state.editorState,t,r);return this.forceRender(o)},DanteEditor.prototype.setDirection=function(t){var e=this.state.editorState.getCurrentContent(),n=this.state.editorState.getSelection(),r=e.getBlockForKey(n.anchorKey);return this.updateBlockData(r,{direction:t})},DanteEditor.prototype.toggleEditable=function(){return this.closePopOvers(),this.setState({read_only:!this.state.read_only},this.testEmitAndDecode)},DanteEditor.prototype.disableEditable=function(){return console.log("in !!"),this.closePopOvers(),this.setState({read_only:!0},this.testEmitAndDecode)},DanteEditor.prototype.enableEditable=function(){return this.closePopOvers(),console.log("out !!"),this.setState({read_only:!1},this.testEmitAndDecode)},DanteEditor.prototype.closePopOvers=function(){var t=this;return this.tooltips.map(function(e){return t.refs[e.ref].hide()})},DanteEditor.prototype.relocateTooltips=function(){var t=this;if(!this.state.read_only)return this.tooltips.map(function(e){return t.refs[e.ref].relocate()})},DanteEditor.prototype.tooltipsWithProp=function(t){return this.tooltips.filter(function(e){return e[t]})},DanteEditor.prototype.tooltipHasSelectionElement=function(t,e){return t.selectionElements.includes(e)},DanteEditor.prototype.handleShowPopLinkOver=function(t){return this.showPopLinkOver()},DanteEditor.prototype.handleHidePopLinkOver=function(t){return this.hidePopLinkOver()},DanteEditor.prototype.showPopLinkOver=function(t){var e=(_reactDom2.default.findDOMNode(this),void 0);return this.refs.anchor_popover.setState({url:t?t.href:this.refs.anchor_popover.state.url}),t&&(e=this.refs.anchor_popover.relocate(t)),e&&this.refs.anchor_popover.setPosition(e),this.refs.anchor_popover.setState({show:!0}),this.isHover=!0,this.cancelHide()},DanteEditor.prototype.hidePopLinkOver=function(){var t=this;return this.hideTimeout=setTimeout(function(){return t.refs.anchor_popover.hide()},300)},DanteEditor.prototype.cancelHide=function(){return clearTimeout(this.hideTimeout)},DanteEditor.prototype.render=function(){var t=this;return _react2.default.createElement("div",{id:"content",suppressContentEditableWarning:!0},_react2.default.createElement("article",{className:"postArticle"},_react2.default.createElement("div",{className:"postContent"},_react2.default.createElement("div",{className:"notesSource"},_react2.default.createElement("div",{id:"editor",className:"postField postField--body"},_react2.default.createElement("section",{className:"section--first section--last"},_react2.default.createElement("div",{className:"section-divider layoutSingleColumn"},_react2.default.createElement("hr",{className:"section-divider"})),_react2.default.createElement("div",{className:"section-content"},_react2.default.createElement("div",{ref:"richEditor",className:"section-inner layoutSingleColumn",onClick:this.focus},_react2.default.createElement(_draftJs.Editor,{blockRendererFn:this.blockRenderer,editorState:this.state.editorState,onChange:this.onChange,onUpArrow:this.handleUpArrow,onDownArrow:this.handleDownArrow,handleReturn:this.handleReturn,blockRenderMap:this.state.blockRenderMap,blockStyleFn:this.blockStyleFn,handlePastedText:this.handlePasteText,handlePastedFiles:this.handlePasteImage,handleDroppedFiles:this.handleDroppedFiles,handleKeyCommand:this.handleKeyCommand,keyBindingFn:this.KeyBindingFn,handleBeforeInput:this.handleBeforeInput,readOnly:this.state.read_only,placeholder:this.props.config.body_placeholder,ref:"editor"})))))))),this.tooltips.map(function(e,n){return _react2.default.createElement(e.component,{ref:e.ref,key:n,editor:t,editorState:t.state.editorState,onChange:t.onChange,configTooltip:e,widget_options:e.widget_options,showPopLinkOver:t.showPopLinkOver,hidePopLinkOver:t.hidePopLinkOver,handleOnMouseOver:t.handleShowPopLinkOver,handleOnMouseOut:t.handleHidePopLinkOver})}),this.state.debug?_react2.default.createElement(_debug2.default,{locks:this.state.locks,editor:this}):void 0)},DanteEditor}(_react2.default.Component);exports.default=DanteEditor,module.exports=exports.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(264),i=r(o),a=n(263),u=r(a),s="function"==typeof u.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof u.default&&t.constructor===u.default&&t!==u.default.prototype?"symbol":typeof t};e.default="function"==typeof u.default&&"symbol"===s(i.default)?function(t){return void 0===t?"undefined":s(t)}:function(t){return t&&"function"==typeof u.default&&t.constructor===u.default&&t!==u.default.prototype?"symbol":void 0===t?"undefined":s(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(273);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(63),o=n(32).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){t.exports=!n(34)&&!n(62)(function(){return 7!=Object.defineProperty(n(227)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(225);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){"use strict";var r=n(122),o=n(50),i=n(234),a=n(51),u=n(35),s=n(121),c=n(279),l=n(125),f=n(285),p=n(53)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,y,g,v,_){c(n,e,y);var m,b,w,S=function(t){if(!d&&t in x)return x[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},k=e+" Iterator",E="values"==g,C=!1,x=t.prototype,O=x[p]||x["@@iterator"]||g&&x[g],T=O||S(g),D=g?E?S("entries"):T:void 0,M="Array"==e?x.entries||O:O;if(M&&(w=f(M.call(new t)))!==Object.prototype&&w.next&&(l(w,k,!0),r||u(w,p)||a(w,p,h)),E&&O&&"values"!==O.name&&(C=!0,T=function(){return O.call(this)}),r&&!_||!d&&!C&&x[p]||a(x,p,T),s[e]=T,s[k]=h,g)if(m={values:E?T:S("values"),keys:v?T:S("keys"),entries:D},_)for(b in m)b in x||i(x,b,m[b]);else o(o.P+o.F*(d||C),e,m);return m}},function(t,e,n){var r=n(91),o=n(92),i=n(52),a=n(129),u=n(35),s=n(228),c=Object.getOwnPropertyDescriptor;e.f=n(34)?c:function(t,e){if(t=i(t),e=a(e,!0),s)try{return c(t,e)}catch(t){}if(u(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(233),o=n(120).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(35),o=n(52),i=n(275)(!1),a=n(126)("IE_PROTO");t.exports=function(t,e){var n,u=o(t),s=0,c=[];for(n in u)n!=a&&r(u,n)&&c.push(n);for(;e.length>s;)r(u,n=e[s++])&&(~i(c,n)||c.push(n));return c}},function(t,e,n){t.exports=n(51)},function(t,e,n){var r=n(119);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return function(){var n=t.apply(void 0,arguments);return void 0!==n&&null!==n?n:e.apply(void 0,arguments)}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return c.default.isValidElement(t)&&c.default.Children.count(t.props.children)>0}function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(void 0===t||null===t)return t;if("string"==typeof t)return t;if(c.default.isValidElement(t)){if(o(t))return f.default.renderToStaticMarkup(t);var n=(0,d.default)(t);if(null!==e){return n.start+e+n.end}return n}if((0,u.default)(Object.prototype.hasOwnProperty.call(t,"start")&&Object.prototype.hasOwnProperty.call(t,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),null!==e){return t.start+e+t.end}return t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var a=n(55),u=r(a),s=n(3),c=r(s),l=n(98),f=r(l),p=n(95),d=r(p)},function(t,e,n){"use strict";function r(t){var e=void 0;if("undefined"!=typeof DOMParser){e=(new DOMParser).parseFromString(t,"text/html"),null!==e&&null!==e.body||(e=o(t))}else e=o(t);return e.body}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var o=function(t){var e=document.implementation.createHTMLDocument("");return e.documentElement.innerHTML=t,e}},function(t,e,n){"use strict";function r(t,e,n,r,o,i){var a=r-n;return e+n<=t.offset?Object.assign({},t,{offset:t.offset+a}):e>=t.offset&&e+n<=t.offset+t.length?Object.assign({},t,{length:t.length+a}):t.offset>=e&&t.offset+t.length<=e+n&&o>0?Object.assign({},t,{offset:t.offset+o}):t.offset<e&&t.offset+t.length<=e+n&&t.offset+t.length>e&&o>0?[Object.assign({},t,{length:e-t.offset}),Object.assign({},t,{offset:e+o,length:t.offset-e+t.length})]:t.offset>=e&&t.offset+t.length>e+n&&e+n>t.offset&&i>0?[Object.assign({},t,{offset:t.offset+o,length:e+n-t.offset}),Object.assign({},t,{offset:e+n+o+i,length:t.offset+t.length-(e+n)})]:t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.DanteEditor=e.Dante=void 0;var o=n(243),i=r(o),a=n(223),u=r(a);e.Dante=i.default,e.DanteEditor=u.default},,,function(t,e,n){"use strict";(function(e){t.exports=e.Dante=n(259)}).call(e,n(12))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(16),i=r(o),a=n(19),u=r(a),s=n(18),c=r(s),l=n(3),f=r(l),p=n(8),d=(r(p),n(13),n(49)),h=r(d),y=n(24),g=function(t){function e(n){(0,i.default)(this,e);var r=(0,u.default)(this,t.call(this,n));return r.updateData=r.updateData.bind(r),r.dataForUpdate=r.dataForUpdate.bind(r),r.componentDidMount=r.componentDidMount.bind(r),r.state={embed_data:r.defaultData(),error:""},r}return(0,c.default)(e,t),e.prototype.defaultData=function(){return this.props.block.getData().toJS().embed_data||{}},e.prototype.updateData=function(){var t=this.props,e=t.block,n=(t.blockProps,this.props.blockProps),r=n.getEditorState,o=n.setEditorState,i=e.getData(),a=i.merge(this.state);return o((0,y.updateDataOfBlock)(r(),e,a))},e.prototype.dataForUpdate=function(){return this.props.blockProps.data.toJS()},e.prototype.componentDidMount=function(){var t=this;if(this.props.blockProps.data&&(this.dataForUpdate().endpoint||this.dataForUpdate().provisory_text))return(0,h.default)({method:"get",url:""+this.dataForUpdate().endpoint+this.dataForUpdate().provisory_text+"&scheme=https"}).then(function(e){return t.setState({embed_data:e.data},t.updateData)}).catch(function(e){return t.setState({error:e.response.data.error_message}),console.log("TODO: error")})},e.prototype.classForImage=function(){return this.state.embed_data.images?"":"mixtapeImage--empty u-ignoreBlock"},e.prototype.picture=function(){return this.state.embed_data.images&&this.state.embed_data.images.length>0?this.state.embed_data.images[0].url:""},e.prototype.render=function(){return console.log("ERROR",this.state.error),f.default.createElement("span",null,this.picture()?f.default.createElement("a",{target:"_blank",className:"js-mixtapeImage mixtapeImage "+this.classForImage(),href:this.state.embed_data.url,style:{backgroundImage:"url('"+this.picture()+"')"}}):void 0,this.state.error?f.default.createElement("h2",null,this.state.error):void 0,f.default.createElement("a",{className:"markup--anchor markup--mixtapeEmbed-anchor",target:"_blank",href:this.state.embed_data.url},f.default.createElement("strong",{className:"markup--strong markup--mixtapeEmbed-strong"},this.state.embed_data.title),f.default.createElement("em",{className:"markup--em markup--mixtapeEmbed-em"},this.state.embed_data.description)),this.state.embed_data.provider_url)},e}(f.default.Component);e.default=g,t.exports=e.default},function(t,e,r){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=r(118),a=o(i),u=r(16),s=o(u),c=r(19),l=o(c),f=r(18),p=o(f),d=r(3),h=o(d),y=r(8),g=(o(y),r(13)),v=r(49),_=o(v),m=r(24),b=function(t){function e(n){(0,s.default)(this,e);var r=(0,l.default)(this,t.call(this,n));r.blockPropsSrc=r.blockPropsSrc.bind(r),r.defaultUrl=r.defaultUrl.bind(r),r.defaultAspectRatio=r.defaultAspectRatio.bind(r),r.updateData=r.updateData.bind(r),r.replaceImg=r.replaceImg.bind(r),r.startLoader=r.startLoader.bind(r),r.stopLoader=r.stopLoader.bind(r),r.handleUpload=r.handleUpload.bind(r),r.aspectRatio=r.aspectRatio.bind(r),r.updateDataSelection=r.updateDataSelection.bind(r),r.handleGrafFigureSelectImg=r.handleGrafFigureSelectImg.bind(r),r.getUploadUrl=r.getUploadUrl.bind(r),r.uploadFile=r.uploadFile.bind(r),r.uploadFailed=r.uploadFailed.bind(r),r.uploadCompleted=r.uploadCompleted.bind(r),r.updateProgressBar=r.updateProgressBar.bind(r),r.placeHolderEnabled=r.placeHolderEnabled.bind(r),r.placeholderText=r.placeholderText.bind(r),r.handleFocus=r.handleFocus.bind(r),r.render=r.render.bind(r);var o=r.props.block.getData().toJS();return r.config=r.props.blockProps.config,r.file=r.props.blockProps.data.get("file"),r.state={loading:!1,selected:!1,loading_progress:0,enabled:!1,caption:r.defaultPlaceholder(),direction:o.direction||"center",width:0,height:0,file:null,url:r.blockPropsSrc()||r.defaultUrl(o),aspect_ratio:r.defaultAspectRatio(o)},r}return(0,p.default)(e,t),e.prototype.blockPropsSrc=function(){return this.props.blockProps.data.src},e.prototype.defaultUrl=function(t){return t.url?t.url:t.url?t.file?URL.createObjectURL(t.file):t.url:this.props.blockProps.data.src},e.prototype.defaultPlaceholder=function(){return this.props.blockProps.config.image_caption_placeholder},e.prototype.defaultAspectRatio=function(t){return t.aspect_ratio?{width:t.aspect_ratio.width,height:t.aspect_ratio.height,ratio:t.aspect_ratio.ratio}:{width:0,height:0,ratio:100}},e.prototype.getAspectRatio=function(t,e){var n=0,r=t,o=e;return r>1e3?(n=1e3/r,o*=n,r*=n):o>1e3&&(n=1e3/o,r*=n,o*=n),{width:r,height:o,ratio:o/r*100}},e.prototype.updateData=function(){var t=(this.props.blockProps,this.props.block),e=this.props.blockProps.getEditorState,n=this.props.blockProps.setEditorState,r=t.getData(),o=r.merge(this.state).merge({forceUpload:!1});return n((0,m.updateDataOfBlock)(e(),t,o))},e.prototype.replaceImg=function(){var t=this;this.img=new Image,this.img.src=this.refs.image_tag.src,this.setState({url:this.img.src});var e=this;if(this.img.src.includes("blob:")||this.props.block.data.get("forceUpload"))return this.img.onload=function(){return t.setState({width:t.img.width,height:t.img.height,aspect_ratio:e.getAspectRatio(t.img.width,t.img.height)}),t.handleUpload()}},e.prototype.startLoader=function(){return this.setState({loading:!0})},e.prototype.stopLoader=function(){return this.setState({loading:!1})},e.prototype.handleUpload=function(){return this.startLoader(),this.props.blockProps.addLock(),this.updateData(),this.uploadFile()},e.prototype.componentDidMount=function(){return this.replaceImg()},e.prototype.aspectRatio=function(){return{maxWidth:""+this.state.aspect_ratio.width,maxHeight:""+this.state.aspect_ratio.height,ratio:""+this.state.aspect_ratio.height}},e.prototype.updateDataSelection=function(){var t=this.props.blockProps,e=t.getEditorState,n=t.setEditorState,r=e().getSelection().merge({anchorKey:this.props.block.getKey(),focusKey:this.props.block.getKey()});return n(g.EditorState.forceSelection(e(),r))},e.prototype.handleGrafFigureSelectImg=function(t){return t.preventDefault(),this.setState({selected:!0},this.updateDataSelection)},e.prototype.coords=function(){return{maxWidth:this.state.aspect_ratio.width+"px",maxHeight:this.state.aspect_ratio.height+"px"}},e.prototype.getBase64Image=function(t){var e=document.createElement("canvas");return e.width=t.width,e.height=t.height,e.getContext("2d").drawImage(t,0,0),e.toDataURL("image/png")},e.prototype.formatData=function(){var t=new FormData;if(this.file){var e=this.config.upload_formName||"file";return t.append(e,this.file),t}return t.append("url",this.props.blockProps.data.get("url")),t},e.prototype.getUploadUrl=function(){var t=this.config.upload_url;return"function"==typeof t?t():t},e.prototype.getUploadHeaders=function(){return this.config.upload_headers||{}},e.prototype.uploadFile=function(){var t=this;return this.config.upload_handler?this.config.upload_handler(this.formatData().get("file"),this):((0,_.default)({method:"post",url:this.getUploadUrl(),headers:this.getUploadHeaders(),data:this.formatData(),onUploadProgress:function(e){return t.updateProgressBar(e)}}).then(function(e){if(t.uploadCompleted(e.data.url),t.config.upload_callback)return t.config.upload_callback(e,t)}).catch(function(e){if(t.uploadFailed(),console.log("ERROR: got error uploading file "+e),t.config.upload_error_callback)return t.config.upload_error_callback(e,t)}),function(e){return t.uploadCompleted(e.url,n)})},e.prototype.uploadFailed=function(){this.props.blockProps.removeLock(),this.stopLoader()},e.prototype.uploadCompleted=function(t){this.setState({url:t},this.updateData),this.props.blockProps.removeLock(),this.stopLoader(),this.file=null},e.prototype.updateProgressBar=function(t){var e=this.state.loading_progress;if(t.lengthComputable)return e=t.loaded/t.total*100,e=null!=e?e:{complete:0},this.setState({loading_progress:e}),console.log("complete: "+e)},e.prototype.placeHolderEnabled=function(){return this.state.enabled||this.props.block.getText()},e.prototype.placeholderText=function(){return this.placeHolderEnabled()?"":this.config.image_caption_placeholder},e.prototype.handleFocus=function(t){var e=this;return setTimeout(function(){return e.setState({enabled:!0})},0)},e.prototype.render=function(){return h.default.createElement("div",{ref:"image_tag2",suppressContentEditableWarning:!0},h.default.createElement("div",{className:"aspectRatioPlaceholder is-locked",style:this.coords(),onClick:this.handleGrafFigureSelectImg},h.default.createElement("div",{style:{paddingBottom:this.state.aspect_ratio.ratio+"%"},className:"aspect-ratio-fill"}),h.default.createElement("img",{src:this.state.url,ref:"image_tag",height:this.state.aspect_ratio.height,width:this.state.aspect_ratio.width,className:"graf-image"}),h.default.createElement(w,{toggle:this.state.loading,progress:this.state.loading_progress})),h.default.createElement("figcaption",{className:"imageCaption",onMouseDown:this.handleFocus},this.state.enabled?void 0:h.default.createElement("span",{className:"danteDefaultPlaceholder"},this.placeholderText()),h.default.createElement(g.EditorBlock,(0,a.default)({},this.props,{editable:!0,className:"imageCaption"}))))},e}(h.default.Component);e.default=b;var w=function(t){function e(){return(0,s.default)(this,e),(0,l.default)(this,t.apply(this,arguments))}return(0,p.default)(e,t),e.prototype.render=function(){return h.default.createElement("div",null,this.props.toggle?h.default.createElement("div",{className:"image-upoader-loader"},h.default.createElement("p",null,100===this.props.progress?"processing image...":h.default.createElement("span",null,h.default.createElement("span",null,"loading")," ",Math.round(this.props.progress)))):void 0)},e}(h.default.Component);t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(118),i=r(o),a=n(16),u=r(a),s=n(19),c=r(s),l=n(18),f=r(l),p=n(3),d=r(p),h=n(8),y=(r(h),n(13)),g=function(t){function e(n){(0,u.default)(this,e);var r=(0,c.default)(this,t.call(this,n));return r.placeholderText=r.placeholderText.bind(r),r.placeholderFromProps=r.placeholderFromProps.bind(r),r.defaultText=r.defaultText.bind(r),r.handleFocus=r.handleFocus.bind(r),r.classForDefault=r.classForDefault.bind(r),r.state={enabled:!1,data:r.props.blockProps.data.toJS()},r}return(0,f.default)(e,t),e.prototype.placeholderText=function(){return this.state.enabled?"":this.props.blockProps.data.toJS().placeholder||this.placeholderFromProps()||this.defaultText()},e.prototype.placeholderFromProps=function(){return this.props.block.toJS().placeholder},e.prototype.defaultText=function(){return"write something "},e.prototype.componentDidMount=function(){},e.prototype.handleFocus=function(t){var e=this;return setTimeout(function(){return e.setState({enabled:!0})},0)},e.prototype.classForDefault=function(){return this.state.enabled?"":"defaultValue defaultValue--root"},e.prototype.render=function(){return d.default.createElement("span",{className:this.classForDefault(),onMouseDown:this.handleFocus},this.placeholderText(),d.default.createElement(y.EditorBlock,(0,i.default)({},this.props,{className:"imageCaption",placeholder:"escrive alalal"})))},e}(d.default.Component);e.default=g,t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(118),i=r(o),a=n(16),u=r(a),s=n(19),c=r(s),l=n(18),f=r(l),p=n(3),d=r(p),h=n(8),y=(r(h),n(13)),g=n(24),v=n(49),_=r(v),m=function(t){function e(n){(0,u.default)(this,e);var r=(0,c.default)(this,t.call(this,n));return r.updateData=r.updateData.bind(r),r.dataForUpdate=r.dataForUpdate.bind(r),r.state={embed_data:r.defaultData()},r}return(0,f.default)(e,t),e.prototype.defaultData=function(){return this.props.block.getData().toJS().embed_data||{}},e.prototype.updateData=function(){var t=this.props,e=t.block,n=(t.blockProps,this.props.blockProps),r=n.getEditorState,o=n.setEditorState,i=e.getData(),a=i.merge(this.state);return o((0,g.updateDataOfBlock)(r(),e,a))},e.prototype.dataForUpdate=function(){return this.props.blockProps.data.toJS()},e.prototype.componentDidMount=function(){var t=this;if(this.props.blockProps.data&&(this.dataForUpdate().endpoint||this.dataForUpdate().provisory_text))return(0,_.default)({method:"get",url:""+this.dataForUpdate().endpoint+this.dataForUpdate().provisory_text+"&scheme=https"}).then(function(e){return t.setState({embed_data:e.data},t.updateData)}).catch(function(t){return console.log("TODO: error")})},e.prototype.classForImage=function(){return this.state.embed_data.thumbnail_url?"":"mixtapeImage--empty u-ignoreBlock"},e.prototype.render=function(){return d.default.createElement("figure",{className:"graf--figure graf--iframe graf--first",tabIndex:"0"},d.default.createElement("div",{className:"iframeContainer",dangerouslySetInnerHTML:{__html:this.state.embed_data.html}}),d.default.createElement("figcaption",{className:"imageCaption"},d.default.createElement(y.EditorBlock,(0,i.default)({},this.props,{className:"imageCaption"}))))},e}(d.default.Component);e.default=m,t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(117),i=r(o),a=n(16),u=r(a),s=n(19),c=r(s),l=n(18),f=r(l),p=n(3),d=r(p),h=function(t){function e(){(0,u.default)(this,e);var n=(0,c.default)(this,t.call(this));return n.handleToggleReadOnly=n.handleToggleReadOnly.bind(n),n.handleTestEmitAndDecode=n.handleTestEmitAndDecode.bind(n),n.handleTestEmitTEXT=n.handleTestEmitTEXT.bind(n),n.testEmitAndDecode=n.testEmitAndDecode.bind(n),n.testEmitTEXT=n.testEmitTEXT.bind(n),n.logState=n.logState.bind(n),n.toggleDisplay=n.toggleDisplay.bind(n),n.open=n.open.bind(n),n.render=n.render.bind(n),n.state={output:"",display:"none"},n}return(0,f.default)(e,t),e.prototype.handleToggleReadOnly=function(t){return t.preventDefault(),this.props.editor.toggleEditable(),!1},e.prototype.handleTestEmitAndDecode=function(t){return t.preventDefault(),this.testEmitAndDecode()},e.prototype.handleTestEmitTEXT=function(t){return t.preventDefault(),this.testEmitTEXT()},e.prototype.testEmitAndDecode=function(t){var e=this.props.editor.emitSerializedOutput();return this.props.editor.setState({editorState:this.props.editor.decodeEditorContent(e)},this.logState((0,i.default)(e))),!1},e.prototype.testEmitTEXT=function(){var t=this.props.editor.getTextFromEditor();return this.logState(t)},e.prototype.logState=function(t){return this.setState({output:t},this.open)},e.prototype.toggleDisplay=function(t){t.preventDefault();var e="block"===this.state.display?"none":this.state.display;return this.setState({display:e})},e.prototype.open=function(){return this.setState({display:"block"})},e.prototype.render=function(){return d.default.createElement("div",null,d.default.createElement("div",{className:"debugControls"},d.default.createElement("ul",null,d.default.createElement("li",null," LOCKS: ",this.props.editor.state.locks," "),d.default.createElement("li",null,d.default.createElement("a",{href:"#",onClick:this.handleToggleReadOnly},"EDITABLE: ",this.props.editor.state.read_only?"NO":"YES")),d.default.createElement("li",null,d.default.createElement("a",{href:"#",onClick:this.handleTestEmitTEXT},"EDITOR TEXT")),d.default.createElement("li",null,d.default.createElement("a",{href:"#",onClick:this.handleTestEmitAndDecode},"EDITOR STATE")))),d.default.createElement("div",{className:"debugZone",style:{display:this.state.display}},d.default.createElement("a",{href:"#",className:"dante-debug-close close",onClick:this.toggleDisplay}),d.default.createElement("div",{className:"debugOutput"},d.default.createElement("h2",null,"EDITOR OUTPUT"),this.state.output.length>0?d.default.createElement("pre",null,this.state.output):void 0)))},e}(d.default.Component);e.default=h,t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(16),i=r(o),a=n(19),u=r(a),s=n(18),c=r(s),l=n(3),f=r(l),p=(n(13),function(t){function e(n){(0,i.default)(this,e);var r=(0,u.default)(this,t.call(this,n));return r._validateLink=r._validateLink.bind(r),r._checkProtocol=r._checkProtocol.bind(r),r._showPopLinkOver=r._showPopLinkOver.bind(r),r._hidePopLinkOver=r._hidePopLinkOver.bind(r),r.isHover=!1,r}return(0,c.default)(e,t),e.prototype._validateLink=function(){return!!new RegExp("^(https?://)?((([a-zd]([a-zd-]*[a-zd])*).)+[a-z]{2,}|((d{1,3}.){3}d{1,3}))(:d+)?(/[-a-zd%_.~+]*)*(?[&a-zd%_.~+=-]*)?(#[-a-zd_]*)?$","i").test(str)||(alert("Please enter a valid URL."),!1)},e.prototype._checkProtocol=function(){return console.log("xcvd")},e.prototype._showPopLinkOver=function(t){if(this.data.showPopLinkOver)return this.data.showPopLinkOver(this.refs.link)},e.prototype._hidePopLinkOver=function(t){if(this.data.hidePopLinkOver)return this.data.hidePopLinkOver()},e.prototype.render=function(){return this.data=this.props.contentState.getEntity(this.props.entityKey).getData(),f.default.createElement("a",{ref:"link",href:this.data.url,className:"markup--anchor",onMouseOver:this._showPopLinkOver,onMouseOut:this._hidePopLinkOver},this.props.children)},e}(f.default.Component));e.default=p,t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(16),i=r(o),a=n(19),u=r(a),s=n(18),c=r(s),l=n(3),f=r(l),p=n(8),d=r(p),h=(n(13),n(24)),y=n(116),g=function(t){function e(n){(0,i.default)(this,e);var r=(0,u.default)(this,t.call(this,n));return r.display=r.display.bind(r),r.show=r.show.bind(r),r.hide=r.hide.bind(r),r._toggleScaled=r._toggleScaled.bind(r),r.scale=r.scale.bind(r),r.collapse=r.collapse.bind(r),r.componentWillReceiveProps=r.componentWillReceiveProps.bind(r),r.clickOnFileUpload=r.clickOnFileUpload.bind(r),r.handlePlaceholder=r.handlePlaceholder.bind(r),r.insertImage=r.insertImage.bind(r),r.handleFileInput=r.handleFileInput.bind(r),r.widgets=r.widgets.bind(r),r.clickHandler=r.clickHandler.bind(r),r.relocate=r.relocate.bind(r),r.state={position:{top:0,left:0},show:!1,scaled:!1},r}return(0,c.default)(e,t),e.prototype.display=function(t){return t?this.show():this.hide()},e.prototype.show=function(){return this.setState({show:!0})},e.prototype.hide=function(){return this.setState({show:!1})},e.prototype.setPosition=function(t){return this.setState({position:t})},e.prototype._toggleScaled=function(t){return this.state.scaled?this.collapse():this.scale()},e.prototype.scale=function(){return this.setState({scaled:!0})},e.prototype.collapse=function(){return this.setState({scaled:!1})},e.prototype.componentWillReceiveProps=function(t){return this.collapse()},e.prototype.activeClass=function(){return this.isActive()?"is-active":""},e.prototype.isActive=function(){return this.state.show},e.prototype.scaledClass=function(){return this.state.scaled?"is-scaled":""},e.prototype.scaledWidth=function(){return this.state.scaled?"124":"0"},e.prototype.clickOnFileUpload=function(){return this.refs.fileInput.click(),this.collapse(),this.hide()},e.prototype.handlePlaceholder=function(t){var e={type:t.widget_options.insert_block,placeholder:t.options.placeholder,endpoint:t.options.endpoint};return this.props.onChange((0,h.resetBlockWithType)(this.props.editorState,"placeholder",e))},e.prototype.insertImage=function(t){var e={url:URL.createObjectURL(t),file:t};return this.props.onChange((0,h.addNewBlock)(this.props.editorState,"image",e))},e.prototype.handleFileInput=function(t){var e=t.target.files;return this.insertImage(e[0])},e.prototype.handleInsertion=function(t){return this.hide(),this.props.onChange((0,h.addNewBlock)(this.props.editorState,t.type,{}))},e.prototype.widgets=function(){return this.props.editor.widgets},e.prototype.clickHandler=function(t,e){var n=this.widgets().find(function(t){return t.icon===e});switch(n.widget_options.insertion){case"upload":return this.clickOnFileUpload(t,n);case"placeholder":return this.handlePlaceholder(n);case"insertion":return this.handleInsertion(n);default:return console.log("WRONG TYPE FOR "+n.widget_options.insertion)}},e.prototype.getItems=function(){return this.widgets().filter(function(t){return t.widget_options.displayOnInlineTooltip})},e.prototype.isDescendant=function(t,e){for(var n=e.parentNode;null!==n;){if(n===t)return!0;n=n.parentNode}return!1},e.prototype.relocate=function(){var t=this.props.editorState;if(t.getSelection().isCollapsed()){var e=(0,h.getCurrentBlock)(t),n=e.getType(),r=t.getCurrentContent(),o=t.getSelection(),i=r.getBlockForKey(o.anchorKey),a=(0,y.getSelection)(window);if(!a.rangeCount)return;var u=((0,h.getNode)(),(0,y.getSelectionRect)(a)),s=u,c=d.default.findDOMNode(this.props.editor);c.getBoundingClientRect();return this.isDescendant(c,a.anchorNode)?(this.display(0===i.getText().length&&"unstyled"===n),this.setPosition({top:s.top+window.scrollY,left:s.left+window.scrollX-60})):void this.hide()}return this.hide()},e.prototype.render=function(){var t=this;return f.default.createElement("div",{className:"inlineTooltip "+this.activeClass()+" "+this.scaledClass(),style:this.state.position},f.default.createElement("button",{className:"inlineTooltip-button control",title:"Close Menu","data-action":"inline-menu",onClick:this._toggleScaled},f.default.createElement("span",{className:"tooltip-icon dante-icon-plus"})),f.default.createElement("div",{className:"inlineTooltip-menu",style:{width:this.scaledWidth()+"px"}},this.getItems().map(function(e,n){return f.default.createElement(v,{item:e,key:n,clickHandler:t.clickHandler})}),f.default.createElement("input",{type:"file",style:{display:"none"},ref:"fileInput",multiple:"multiple",onChange:this.handleFileInput})))},e}(f.default.Component),v=function(t){function e(){(0,i.default)(this,e);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var a=(0,u.default)(this,t.call.apply(t,[this].concat(r)));return a.clickHandler=a.clickHandler.bind(a),a}return(0,c.default)(e,t),e.prototype.clickHandler=function(t){return t.preventDefault(),this.props.clickHandler(t,this.props.item.icon)},e.prototype.render=function(){return f.default.createElement("button",{className:"inlineTooltip-button scale",title:this.props.title,onMouseDown:this.clickHandler},f.default.createElement("span",{className:"tooltip-icon dante-icon-"+this.props.item.icon}))},e}(f.default.Component);e.default=g,t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(16),i=r(o),a=n(19),u=r(a),s=n(18),c=r(s),l=n(3),f=r(l),p=n(8),d=r(p),h=(n(13),n(116)),y=n(24),g=function(t){function e(n){(0,i.default)(this,e);var r=(0,u.default)(this,t.call(this,n));return r.display=r.display.bind(r),r.show=r.show.bind(r),r.hide=r.hide.bind(r),r._toggleScaled=r._toggleScaled.bind(r),r.scale=r.scale.bind(r),r.collapse=r.collapse.bind(r),r.relocate=r.relocate.bind(r),r.componentWillReceiveProps=r.componentWillReceiveProps.bind(r),r.handleClick=r.handleClick.bind(r),r.state={position:{top:0,left:0},show:!1,scaled:!1,buttons:[{type:"left"},{type:"center"},{type:"fill"},{type:"wide"}]},r}return(0,c.default)(e,t),e.prototype.display=function(t){return t?this.show():this.hide()},e.prototype.show=function(){return this.setState({show:!0})},e.prototype.hide=function(){return this.setState({show:!1})},e.prototype.setPosition=function(t){return this.setState({position:t})},e.prototype._toggleScaled=function(t){return this.state.scaled?this.collapse():this.scale()},e.prototype.scale=function(){return this.setState({scaled:!0})},e.prototype.collapse=function(){return this.setState({scaled:!1})},e.prototype.relocate=function(){var t=this.props.editorState;if(!t.getSelection().isCollapsed())return this.hide();var e=(0,y.getCurrentBlock)(t),n=e.getType(),r=t.getCurrentContent(),o=t.getSelection(),i=(r.getBlockForKey(o.anchorKey),(0,h.getSelection)(window));if(i.rangeCount){var a=(0,y.getNode)(),u=(0,h.getSelectionRect)(i),s=d.default.findDOMNode(this.props.editor),c=s.getBoundingClientRect();if(this.display("image"===n),"image"===n){u=a.anchorNode.parentNode.parentNode.parentNode.getBoundingClientRect();var l=this.refs.image_popover,f=l.offsetWidth/2;return this.setPosition({top:u.top-c.top+60,left:u.left+u.width/2-f})}}},e.prototype.componentWillReceiveProps=function(t){return this.collapse()},e.prototype.getStyle=function(){if(!this.state.position)return{}},e.prototype.handleClick=function(t){return this.props.editor.setDirection(t.type)},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:"image_popover",className:"dante-popover popover--Aligntooltip popover--top popover--animated "+(this.state.show?"is-active":void 0),style:{top:this.state.position.top,left:this.state.position.left}},f.default.createElement("div",{className:"popover-inner"},f.default.createElement("ul",{className:"dante-menu-buttons"},this.state.buttons.map(function(e,n){return f.default.createElement(v,{item:e,handleClick:t.handleClick,key:n})}))),f.default.createElement("div",{className:"popover-arrow"}))},e}(f.default.Component),v=function(t){function e(){(0,i.default)(this,e);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var a=(0,u.default)(this,t.call.apply(t,[this].concat(r)));return a.handleClick=a.handleClick.bind(a),a.render=a.render.bind(a),a}return(0,c.default)(e,t),e.prototype.handleClick=function(t){return t.preventDefault(),this.props.handleClick(this.props.item)},e.prototype.render=function(){return f.default.createElement("li",{className:"dante-menu-button align-"+this.props.item.type,onMouseDown:this.handleClick},f.default.createElement("span",{className:"tooltip-icon dante-icon-image-"+this.props.item.type}))},e}(f.default.Component);e.default=g,t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(16),i=r(o),a=n(19),u=r(a),s=n(18),c=r(s),l=n(3),f=r(l),p=n(8),d=r(p),h=n(24),y=function(t){function e(n){(0,i.default)(this,e);var r=(0,u.default)(this,t.call(this,n));return r.display=r.display.bind(r),r.show=r.show.bind(r),r.hide=r.hide.bind(r),r.relocate=r.relocate.bind(r),r.render=r.render.bind(r),r.state={position:{top:0,left:0},show:!1,url:""},r}return(0,c.default)(e,t),e.prototype.display=function(t){return t?this.show():this.hide()},e.prototype.show=function(){return this.setState({show:!0})},e.prototype.hide=function(){return this.setState({show:!1})},e.prototype.setPosition=function(t){return this.setState({position:t})},e.prototype.relocate=function(t){if(null==t&&(t=null),t){var e=this.props.editorState,n=(0,h.getCurrentBlock)(e),r=(n.getType(),e.getCurrentContent(),e.getSelection(),t.getBoundingClientRect()),o=this.refs.dante_popover,i=o.offsetWidth/2,a=d.default.findDOMNode(this.props.editor),u=a.getBoundingClientRect();return{top:r.top-u.top+160,left:r.left+r.width/2-i}}},e.prototype.render=function(){var t=this.state.position,e={left:t.left,top:t.top,visibility:this.state.show?"visible":"hidden"};return f.default.createElement("div",{ref:"dante_popover",className:"dante-popover popover--tooltip popover--Linktooltip popover--bottom is-active",style:e,onMouseOver:this.props.handleOnMouseOver,onMouseOut:this.props.handleOnMouseOut},f.default.createElement("div",{className:"popover-inner"},f.default.createElement("a",{href:this.props.url,target:"_blank"},this.state.url)),f.default.createElement("div",{className:"popover-arrow"}))},e}(f.default.Component);e.default=y,t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(16),i=r(o),a=n(19),u=r(a),s=n(18),c=r(s),l=n(3),f=r(l),p=n(8),d=r(p),h=n(13),y=n(116),g=n(24),v=function(t){function e(n){(0,i.default)(this,e);var r=(0,u.default)(this,t.call(this,n));return r._clickInlineHandler=r._clickInlineHandler.bind(r),r.display=r.display.bind(r),r.show=r.show.bind(r),r.hide=r.hide.bind(r),r.relocate=r.relocate.bind(r),r._clickBlockHandler=r._clickBlockHandler.bind(r),r.displayLinkMode=r.displayLinkMode.bind(r),r.displayActiveMenu=r.displayActiveMenu.bind(r),r._enableLinkMode=r._enableLinkMode.bind(r),r._disableLinkMode=r._disableLinkMode.bind(r),r.handleInputEnter=r.handleInputEnter.bind(r),r.confirmLink=r.confirmLink.bind(r),r.inlineItems=r.inlineItems.bind(r),r.blockItems=r.blockItems.bind(r),r.getDefaultValue=r.getDefaultValue.bind(r),r.getVisibleSelectionRect=h.getVisibleSelectionRect,r.state={link_mode:!1,show:!1,position:{}},r}return(0,c.default)(e,t),e.prototype._clickInlineHandler=function(t,e){var n=this;return t.preventDefault(),this.props.onChange(h.RichUtils.toggleInlineStyle(this.props.editorState,e)),setTimeout(function(){return n.relocate()},0)},e.prototype.display=function(t){return t?this.show():this.hide()},e.prototype.show=function(){return this.setState({show:!0})},e.prototype.hide=function(){return this.setState({link_mode:!1,show:!1})},e.prototype.setPosition=function(t){return this.setState({position:t})},e.prototype.isDescendant=function(t,e){for(var n=e.parentNode;null!==n;){if(n===t)return!0;n=n.parentNode}return!1},e.prototype.relocate=function(){var t=(0,g.getCurrentBlock)(this.props.editorState),e=t.getType();if(this.props.configTooltip.selectionElements.indexOf(e)<0)return void this.hide();if(!this.state.link_mode&&this.state.show){var n=this.refs.dante_menu,r=n.offsetWidth/2,o=(0,y.getSelection)(window);if(o.rangeCount){var i=(0,y.getSelectionRect)(o),a=d.default.findDOMNode(this.props.editor),u=a.getBoundingClientRect();if(!this.isDescendant(a,o.anchorNode))return void this.hide();var s=i.top-u.top- -90-5,c=i.left+i.width/2-r;if(s&&c)return this.setState({show:!0,position:{left:c,top:s}})}}},e.prototype._clickBlockHandler=function(t,e){var n=this;return t.preventDefault(),this.props.onChange(h.RichUtils.toggleBlockType(this.props.editorState,e)),setTimeout(function(){return n.relocate()},0)},e.prototype.displayLinkMode=function(){return this.state.link_mode?"dante-menu--linkmode":""},e.prototype.displayActiveMenu=function(){return this.state.show?"dante-menu--active":""},e.prototype._enableLinkMode=function(t){return t.preventDefault(),this.setState({link_mode:!0})},e.prototype._disableLinkMode=function(t){return t.preventDefault(),this.setState({link_mode:!1,url:""})},e.prototype.hideMenu=function(){return this.hide()},e.prototype.handleInputEnter=function(t){if(13===t.which)return this.confirmLink(t)},e.prototype.confirmLink=function(t){t.preventDefault();var e=this.props.editorState,n=t.currentTarget.value,r=(e.getCurrentContent(),e.getSelection()),o={url:n,showPopLinkOver:this.props.showPopLinkOver,hidePopLinkOver:this.props.hidePopLinkOver},i=h.Entity.create("LINK","MUTABLE",o);return r.isCollapsed()?void console.log("COLLAPSED SKIPPING LINK"):(this.props.onChange(h.RichUtils.toggleLink(e,r,i)),this._disableLinkMode(t))},e.prototype.getPosition=function(){return this.state.position},e.prototype.inlineItems=function(){return this.props.widget_options.block_types.filter(function(t){return"inline"===t.type})},e.prototype.blockItems=function(){return this.props.widget_options.block_types.filter(function(t){return"block"===t.type})},e.prototype.getDefaultValue=function(){var t=this;this.refs.dante_menu_input&&(this.refs.dante_menu_input.value="");var e=(0,g.getCurrentBlock)(this.props.editorState),n=(e.getType(),this.props.editor.state.editorState.getSelection()),r=this.props.editorState.getCurrentContent(),o=null,i=null;return e.findEntityRanges(function(t){var e=t.getEntity();return o=e,null!==e&&"LINK"===r.getEntity(e).getType()},function(e,a){var u=n.getAnchorOffset(),s=n.getFocusOffset();if(n.getIsBackward()&&(u=n.getFocusOffset(),s=n.getAnchorOffset()),e===u&&a===s)return i=r.getEntity(o).getData().url,t.refs.dante_menu_input.value=i})},e.prototype.render=function(){var t=this;return f.default.createElement("div",{id:"dante-menu",ref:"dante_menu",className:"dante-menu "+this.displayActiveMenu()+" "+this.displayLinkMode(),style:this.getPosition()},f.default.createElement("div",{className:"dante-menu-linkinput"},f.default.createElement("input",{className:"dante-menu-input",ref:"dante_menu_input",placeholder:this.props.widget_options.placeholder,onKeyPress:this.handleInputEnter,defaultValue:this.getDefaultValue()}),f.default.createElement("div",{className:"dante-menu-button",onMouseDown:this._disableLinkMode})),f.default.createElement("ul",{className:"dante-menu-buttons"},this.blockItems().map(function(e,n){return f.default.createElement(_,{key:n,item:e,handleClick:t._clickBlockHandler,editorState:t.props.editorState,type:"block",currentStyle:t.props.editorState.getCurrentInlineStyle})}),f.default.createElement(m,{editorState:this.props.editorState,enableLinkMode:this._enableLinkMode}),this.inlineItems().map(function(e,n){return f.default.createElement(_,{key:n,item:e,type:"inline",editorState:t.props.editorState,handleClick:t._clickInlineHandler})})))},e}(f.default.Component),_=function(t){function e(){(0,i.default)(this,e);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var a=(0,u.default)(this,t.call.apply(t,[this].concat(r)));return a.handleClick=a.handleClick.bind(a),a.activeClass=a.activeClass.bind(a),a.isActive=a.isActive.bind(a),a.activeClassInline=a.activeClassInline.bind(a),a.activeClassBlock=a.activeClassBlock.bind(a),a.render=a.render.bind(a),a}return(0,c.default)(e,t),e.prototype.handleClick=function(t){return this.props.handleClick(t,this.props.item.style)},e.prototype.activeClass=function(){return this.isActive()?"active":""},e.prototype.isActive=function(){return"block"===this.props.type?this.activeClassBlock():this.activeClassInline()},e.prototype.activeClassInline=function(){if(this.props.editorState)return this.props.editorState.getCurrentInlineStyle().has(this.props.item.style)},e.prototype.activeClassBlock=function(){if(this.props.editorState){var t=this.props.editorState.getSelection(),e=this.props.editorState.getCurrentContent().getBlockForKey(t.getStartKey()).getType();return this.props.item.style===e}},e.prototype.render=function(){return f.default.createElement("li",{className:"dante-menu-button "+this.activeClass(),onMouseDown:this.handleClick},f.default.createElement("i",{className:"dante-icon dante-icon-"+this.props.item.label,"data-action":"bold"}))},e}(f.default.Component),m=function(t){function e(){(0,i.default)(this,e);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var a=(0,u.default)(this,t.call.apply(t,[this].concat(r)));return a.promptForLink=a.promptForLink.bind(a),a}return(0,c.default)(e,t),e.prototype.promptForLink=function(t){if(!this.props.editorState.getSelection().isCollapsed())return this.props.enableLinkMode(t)},e.prototype.render=function(){return f.default.createElement("li",{className:"dante-menu-button",onMouseDown:this.promptForLink},f.default.createElement("i",{className:"dante-icon icon-createlink","data-action":"createlink"},"link"))},e}(f.default.Component);e.default=v,t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0,e.DanteEditor=e.Dante=void 0;var r=n(240);window.Dante=r.Dante,window.DanteEditor=r.DanteEditor,e.Dante=r.Dante,e.DanteEditor=r.DanteEditor},,function(t,e,n){"use strict";e.__esModule=!0;var r=(n(13),function(t,e,n,r){return n.findEntityRanges(function(n){return function(n){var r,o,i,a=e.state.editorState.getCurrentContent();return r=n.getEntity(),i=null!==r&&a.getEntity(r).getType()===t,i&&(o={showPopLinkOver:e.showPopLinkOver,hidePopLinkOver:e.hidePopLinkOver},a.mergeEntityData(r,o)),i}}(),r)});e.default=r,t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0;var r=n(117),o=function(t){return t&&t.__esModule?t:{default:t}}(r),i=n(13),a=(n(88),function(t){return{contentType:"image",imgSrc:t.getAttribute("src")}}),u=function(t){if(null===t)return null;var e=document.createElement("blockquote");return e.innerText=(0,o.default)(t),e},s=function(t,e){if(e instanceof HTMLElement){var n=c(t);return n.parentNode.insertBefore(e,n)}},c=function(t){for(;t.parentNode;)if("BODY"!==t.parentNode.tagName&&(t=t.parentNode),"BODY"===t.parentNode.tagName)return t},l=function(){var t=arguments,e=t.length-1;return function(){for(var n=e,r=t[e].apply(this,arguments);n--;)r=t[n].call(this,r);return r}}(u,a),f=function(t){return s(t,l(t))},p=function(t,e){var n=(new DOMParser).parseFromString(t,"text/html");n.querySelectorAll("img").forEach(function(t){return f(t)});console.log(n.body.innerHTML);var r=(0,i.convertFromHTML)(n.body.innerHTML,i.getSafeBodyFromHTML,e),o=r.contentBlocks;return o=o.map(function(t){if(console.log("CHECK BLOCK",t.getType()),"blockquote"!==t.getType())return t;var e="";try{e=JSON.parse(t.getText())}catch(e){return t}return t.merge({type:"image",text:"",data:{url:e.imgSrc,forceUpload:!0}})}),n=null,i.ContentState.createFromBlockArray(o)};e.default=p,t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(117),i=r(o),a=n(16),u=r(a),s=n(49),c=r(s),l=n(88),f=r(l),p=function(){function t(e){(0,u.default)(this,t),this.getLocks=e.getLocks,this.config=e.config,this.editorContent=e.editorContent,this.editorState=e.editorState}return t.prototype.handleStore=function(t){return this.store()},t.prototype.store=function(t){var e=this;if(this.config.data_storage.url&&!(this.getLocks()>0))return clearTimeout(this.timeout),this.timeout=setTimeout(function(){return e.checkforStore(t)},this.config.data_storage.interval)},t.prototype.getTextFromEditor=function(t){return t.blocks.map(function(t){return t.text}).join("\n")},t.prototype.getUrl=function(){var t=this.config.data_storage.url;return"function"==typeof t?t():t},t.prototype.getMethod=function(){var t=this.config.data_storage.method;return"function"==typeof t?t():t},t.prototype.getWithCredentials=function(){var t=this.config.data_storage.withCredentials;return"function"==typeof t?t():t},t.prototype.getCrossDomain=function(){var t=this.config.data_storage.crossDomain;return"function"==typeof t?t():t},t.prototype.getHeaders=function(){var t=this.config.data_storage.headers;return"function"==typeof t?t():t},t.prototype.checkforStore=function(t){!f.default.is(f.default.fromJS(this.editorContent),f.default.fromJS(t))&&this.save(t)},t.prototype.save=function(t){var e=this;return this.config.data_storage.save_handler?void this.config.data_storage.save_handler(this,t):(this.config.xhr.before_handler&&this.config.xhr.before_handler(),(0,c.default)({method:this.getMethod(),url:this.getUrl(),data:{editor_content:(0,i.default)(t),text_content:this.getTextFromEditor(t)},withCredentials:this.getWithCredentials(),crossDomain:this.getCrossDomain(),headers:this.getHeaders()}).then(function(t){if(e.config.data_storage.success_handler&&e.config.data_storage.success_handler(t),e.config.xhr.success_handler)return e.config.xhr.success_handler(t)}).catch(function(t){if(e.config.xhr.failure_handler)return e.config.xhr.failure_handler(t)}))},t}();e.default=p,t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(16),i=r(o),a=n(265),u=r(a),s=n(3),c=r(s),l=n(8),f=r(l),p=n(88),d=n(223),h=r(d),y=n(251),g=r(y),v=n(252),_=r(v),m=n(250),b=r(m),w=n(253),S=r(w),k=n(245),E=r(k),C=n(244),x=r(C),O=n(247),T=r(O),D=n(246),M=r(D),I=n(24),A=function(){function t(e){(0,i.default)(this,t),null==e&&(e={}),console.log("init editor Dante!");var n=(0,p.Map)((0,p.fromJS)(this.defaultOptions(e)));this.options=n.mergeDeep(e).toJS(),console.log(this.options)}return(0,u.default)(t,[{key:"defaultOptions",value:function(t){null==t&&(t={});var e={};return e.el="app",e.content="",e.read_only=!1,e.spellcheck=!1,e.title_placeholder="Title",e.body_placeholder="Write your story",e.widgets=[{title:"add an image",icon:"image",type:"image",block:E.default,editable:!0,renderable:!0,breakOnContinuous:!0,wrapper_class:"graf graf--figure",selected_class:"is-selected is-mediaFocused",selectedFn:function(t){switch(t.getData().toJS().direction){case"left":return"graf--layoutOutsetLeft";case"center":return"";case"wide":return"sectionLayout--fullWidth";case"fill":return"graf--layoutFillWidth"}},handleEnterWithoutText:function(t,e){var n=t.state.editorState;return t.onChange((0,I.addNewBlockAt)(n,e.getKey()))},handleEnterWithText:function(t,e){var n=t.state.editorState;return t.onChange((0,I.addNewBlockAt)(n,e.getKey()))},widget_options:{displayOnInlineTooltip:!0,insertion:"upload",insert_block:"image"},options:{upload_url:t.upload_url,upload_headers:t.upload_headers,upload_formName:t.upload_formName,upload_handler:t.image_upload_handler,upload_callback:t.image_upload_callback,image_delete_callback:t.image_delete_callback,image_caption_placeholder:t.image_caption_placeholder||"Write caption for image (optional)"}},{icon:"embed",title:"insert embed",type:"embed",block:x.default,editable:!0,renderable:!0,breakOnContinuous:!0,wrapper_class:"graf graf--mixtapeEmbed",selected_class:"is-selected is-mediaFocused",widget_options:{displayOnInlineTooltip:!0,insertion:"placeholder",insert_block:"embed"},options:{endpoint:"//api.embed.ly/1/extract?key="+t.api_key+"&url=",placeholder:"Paste a link to embed content from another site (e.g. Twitter) and press Enter"},handleEnterWithoutText:function(t,e){var n=t.state.editorState;return t.onChange((0,I.addNewBlockAt)(n,e.getKey()))},handleEnterWithText:function(t,e){var n=t.state.editorState;return t.onChange((0,I.addNewBlockAt)(n,e.getKey()))}},{icon:"video",title:"insert video",editable:!0,type:"video",block:T.default,renderable:!0,breakOnContinuous:!0,wrapper_class:"graf--figure graf--iframe",selected_class:" is-selected is-mediaFocused",widget_options:{displayOnInlineTooltip:!0,insertion:"placeholder",insert_block:"video"},options:{endpoint:"//api.embed.ly/1/oembed?key="+t.api_key+"&url=",placeholder:"Paste a YouTube, Vine, Vimeo, or other video link, and press Enter",caption:"Type caption for embed (optional)"},handleEnterWithoutText:function(t,e){var n=t.state.editorState;return t.onChange((0,I.addNewBlockAt)(n,e.getKey()))},handleEnterWithText:function(t,e){var n=t.state.editorState;return t.onChange((0,I.addNewBlockAt)(n,e.getKey()))}},{renderable:!0,editable:!0,block:M.default,type:"placeholder",wrapper_class:"is-embedable",selected_class:" is-selected is-mediaFocused",widget_options:{displayOnInlineTooltip:!1},handleEnterWithText:function(t,e){var n=t.state.editorState,r={provisory_text:e.getText(),endpoint:e.getData().get("endpoint"),type:e.getData().get("type")};return t.onChange((0,I.resetBlockWithType)(n,r.type,r))}}],e.tooltips=[{ref:"insert_tooltip",component:S.default,displayOnSelection:!0,selectionElements:["unstyled","blockquote","ordered-list","unordered-list","unordered-list-item","ordered-list-item","code-block","header-one","header-two","header-three","header-four"],widget_options:{placeholder:"Paste or type a link",block_types:[{label:"h2",style:"header-one",type:"block"},{label:"h3",style:"header-two",type:"block"},{label:"h4",style:"header-three",type:"block"},{label:"blockquote",style:"blockquote",type:"block"},{label:"insertunorderedlist",style:"unordered-list-item",type:"block"},{label:"insertorderedlist",style:"ordered-list-item",type:"block"},{label:"code",style:"code-block",type:"block"},{label:"bold",style:"BOLD",type:"inline"},{label:"italic",style:"ITALIC",type:"inline"}]}},{ref:"add_tooltip",component:b.default},{ref:"anchor_popover",component:_.default},{ref:"image_popover",component:g.default}],e.xhr={before_handler:null,success_handler:null,error_handler:null},e.data_storage={url:null,method:"POST",success_handler:null,failure_handler:null,interval:1500,withCredentials:!1,crossDomain:!1,headers:{}},e.default_wrappers=[{className:"graf--p",block:"unstyled"},{className:"graf--h2",block:"header-one"},{className:"graf--h3",block:"header-two"},{className:"graf--h4",block:"header-three"},{className:"graf--blockquote",block:"blockquote"},{className:"graf--insertunorderedlist",block:"unordered-list-item"},{className:"graf--insertorderedlist",block:"ordered-list-item"},{className:"graf--code",block:"code-block"},{className:"graf--bold",block:"BOLD"},{className:"graf--italic",block:"ITALIC"}],e.continuousBlocks=["unstyled","blockquote","ordered-list","unordered-list","unordered-list-item","ordered-list-item","code-block"],e.key_commands={"alt-shift":[{key:65,cmd:"add-new-block"}],"alt-cmd":[{key:49,cmd:"toggle_block:header-one"},{key:50,cmd:"toggle_block:header-two"},{key:53,cmd:"toggle_block:blockquote"}],cmd:[{key:66,cmd:"toggle_inline:BOLD"},{key:73,cmd:"toggle_inline:ITALIC"},{key:75,cmd:"insert:link"}]},e.character_convert_mapping={"> ":"blockquote","*.":"unordered-list-item","* ":"unordered-list-item","- ":"unordered-list-item","1.":"ordered-list-item","# ":"header-one","##":"header-two","==":"unstyled","` ":"code-block"},e}},{key:"getContent",value:function(){return this.options.content}},{key:"render",value:function(){return this.editor=f.default.render(c.default.createElement(h.default,{content:this.getContent(),config:this.options}),document.getElementById(this.options.el))}}]),t}();e.default=A},function(t,e,n){t.exports={default:n(268),__esModule:!0}},function(t,e,n){t.exports={default:n(269),__esModule:!0}},function(t,e,n){t.exports={default:n(270),__esModule:!0}},function(t,e,n){t.exports={default:n(271),__esModule:!0}},function(t,e,n){t.exports={default:n(272),__esModule:!0}},function(t,e,n){"use strict";e.__esModule=!0;var r=n(261),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(){function t(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),(0,o.default)(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()},function(t,e,n){var r=n(31),o=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},function(t,e,n){n(291),t.exports=n(31).Object.assign},function(t,e,n){n(292);var r=n(31).Object;t.exports=function(t,e){return r.create(t,e)}},function(t,e,n){n(293);var r=n(31).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){n(294),t.exports=n(31).Object.setPrototypeOf},function(t,e,n){n(297),n(295),n(298),n(299),t.exports=n(31).Symbol},function(t,e,n){n(296),n(300),t.exports=n(131).f("iterator")},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(){}},function(t,e,n){var r=n(52),o=n(289),i=n(288);t.exports=function(t){return function(e,n,a){var u,s=r(e),c=o(s.length),l=i(a,c);if(t&&n!=n){for(;c>l;)if((u=s[l++])!=u)return!0}else for(;c>l;l++)if((t||l in s)&&s[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var r=n(90),o=n(124),i=n(91);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var a,u=n(t),s=i.f,c=0;u.length>c;)s.call(t,a=u[c++])&&e.push(a);return e}},function(t,e,n){var r=n(32).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(225);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){"use strict";var r=n(123),o=n(92),i=n(125),a={};n(51)(a,n(53)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(93)("meta"),o=n(63),i=n(35),a=n(36).f,u=0,s=Object.isExtensible||function(){return!0},c=!n(62)(function(){return s(Object.preventExtensions({}))}),l=function(t){a(t,r,{value:{i:"O"+ ++u,w:{}}})},f=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!s(t))return"F";if(!e)return"E";l(t)}return t[r].i},p=function(t,e){if(!i(t,r)){if(!s(t))return!0;if(!e)return!1;l(t)}return t[r].w},d=function(t){return c&&h.NEED&&s(t)&&!i(t,r)&&l(t),t},h=t.exports={KEY:r,NEED:!1,fastKey:f,getWeak:p,onFreeze:d}},function(t,e,n){"use strict";var r=n(90),o=n(124),i=n(91),a=n(235),u=n(229),s=Object.assign;t.exports=!s||n(62)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=s({},t)[n]||Object.keys(s({},e)).join("")!=r})?function(t,e){for(var n=a(t),s=arguments.length,c=1,l=o.f,f=i.f;s>c;)for(var p,d=u(arguments[c++]),h=l?r(d).concat(l(d)):r(d),y=h.length,g=0;y>g;)f.call(d,p=h[g++])&&(n[p]=d[p]);return n}:s},function(t,e,n){var r=n(36),o=n(61),i=n(90);t.exports=n(34)?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),u=a.length,s=0;u>s;)r.f(t,n=a[s++],e[n]);return t}},function(t,e,n){var r=n(52),o=n(232).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(t){try{return o(t)}catch(t){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?u(t):o(r(t))}},function(t,e,n){var r=n(35),o=n(235),i=n(126)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var r=n(63),o=n(61),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n(226)(Function.call,n(231).f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},function(t,e,n){var r=n(128),o=n(119);t.exports=function(t){return function(e,n){var i,a,u=String(o(e)),s=r(n),c=u.length;return s<0||s>=c?t?"":void 0:(i=u.charCodeAt(s),i<55296||i>56319||s+1===c||(a=u.charCodeAt(s+1))<56320||a>57343?t?u.charAt(s):i:t?u.slice(s,s+2):a-56320+(i-55296<<10)+65536)}}},function(t,e,n){var r=n(128),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(128),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){"use strict";var r=n(274),o=n(280),i=n(121),a=n(52);t.exports=n(230)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e,n){var r=n(50);r(r.S+r.F,"Object",{assign:n(282)})},function(t,e,n){var r=n(50);r(r.S,"Object",{create:n(123)})},function(t,e,n){var r=n(50);r(r.S+r.F*!n(34),"Object",{defineProperty:n(36).f})},function(t,e,n){var r=n(50);r(r.S,"Object",{setPrototypeOf:n(286).set})},function(t,e){},function(t,e,n){"use strict";var r=n(287)(!0);n(230)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var r=n(32),o=n(35),i=n(34),a=n(50),u=n(234),s=n(281).KEY,c=n(62),l=n(127),f=n(125),p=n(93),d=n(53),h=n(131),y=n(130),g=n(276),v=n(278),_=n(61),m=n(52),b=n(129),w=n(92),S=n(123),k=n(284),E=n(231),C=n(36),x=n(90),O=E.f,T=C.f,D=k.f,M=r.Symbol,I=r.JSON,A=I&&I.stringify,P=d("_hidden"),N=d("toPrimitive"),R={}.propertyIsEnumerable,L=l("symbol-registry"),F=l("symbols"),B=l("op-symbols"),z=Object.prototype,U="function"==typeof M,K=r.QObject,j=!K||!K.prototype||!K.prototype.findChild,H=i&&c(function(){return 7!=S(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=O(z,e);r&&delete z[e],T(t,e,n),r&&t!==z&&T(z,e,r)}:T,q=function(t){var e=F[t]=S(M.prototype);return e._k=t,e},W=U&&"symbol"==typeof M.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof M},V=function(t,e,n){return t===z&&V(B,e,n),_(t),e=b(e,!0),_(n),o(F,e)?(n.enumerable?(o(t,P)&&t[P][e]&&(t[P][e]=!1),n=S(n,{enumerable:w(0,!1)})):(o(t,P)||T(t,P,w(1,{})),t[P][e]=!0),H(t,e,n)):T(t,e,n)},J=function(t,e){_(t);for(var n,r=g(e=m(e)),o=0,i=r.length;i>o;)V(t,n=r[o++],e[n]);return t},G=function(t,e){return void 0===e?S(t):J(S(t),e)},X=function(t){var e=R.call(this,t=b(t,!0));return!(this===z&&o(F,t)&&!o(B,t))&&(!(e||!o(this,t)||!o(F,t)||o(this,P)&&this[P][t])||e)},Y=function(t,e){if(t=m(t),e=b(e,!0),t!==z||!o(F,e)||o(B,e)){var n=O(t,e);return!n||!o(F,e)||o(t,P)&&t[P][e]||(n.enumerable=!0),n}},$=function(t){for(var e,n=D(m(t)),r=[],i=0;n.length>i;)o(F,e=n[i++])||e==P||e==s||r.push(e);return r},Q=function(t){for(var e,n=t===z,r=D(n?B:m(t)),i=[],a=0;r.length>a;)!o(F,e=r[a++])||n&&!o(z,e)||i.push(F[e]);return i};U||(M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===z&&e.call(B,n),o(this,P)&&o(this[P],t)&&(this[P][t]=!1),H(this,t,w(1,n))};return i&&j&&H(z,t,{configurable:!0,set:e}),q(t)},u(M.prototype,"toString",function(){return this._k}),E.f=Y,C.f=V,n(232).f=k.f=$,n(91).f=X,n(124).f=Q,i&&!n(122)&&u(z,"propertyIsEnumerable",X,!0),h.f=function(t){return q(d(t))}),a(a.G+a.W+a.F*!U,{Symbol:M});for(var Z="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;Z.length>tt;)d(Z[tt++]);for(var et=x(d.store),nt=0;et.length>nt;)y(et[nt++]);a(a.S+a.F*!U,"Symbol",{for:function(t){return o(L,t+="")?L[t]:L[t]=M(t)},keyFor:function(t){if(!W(t))throw TypeError(t+" is not a symbol!");for(var e in L)if(L[e]===t)return e},useSetter:function(){j=!0},useSimple:function(){j=!1}}),a(a.S+a.F*!U,"Object",{create:G,defineProperty:V,defineProperties:J,getOwnPropertyDescriptor:Y,getOwnPropertyNames:$,getOwnPropertySymbols:Q}),I&&a(a.S+a.F*(!U||c(function(){var t=M();return"[null]"!=A([t])||"{}"!=A({a:t})||"{}"!=A(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!W(t)){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);return e=r[1],"function"==typeof e&&(n=e),!n&&v(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!W(e))return e}),r[1]=e,A.apply(I,r)}}}),M.prototype[N]||n(51)(M.prototype,N,M.prototype.valueOf),f(M,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(t,e,n){n(130)("asyncIterator")},function(t,e,n){n(130)("observable")},function(t,e,n){n(290);for(var r=n(32),o=n(51),i=n(121),a=n(53)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s<u.length;s++){var c=u[s],l=r[c],f=l&&l.prototype;f&&!f[a]&&o(f,a,c),i[c]=i.Array}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(239),a=r(i),u=n(94),s=r(u),c=n(237),l=r(c),f=n(311),p=r(f),d=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];return arguments[1]};e.default=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d,r=[].concat(o(t.text)),i=n;if(n.__isMiddleware&&(i=n(d)),Object.prototype.hasOwnProperty.call(t,"entityRanges")&&t.entityRanges.length>0){for(var u=t.entityRanges.sort(s.default),c=t.inlineStyleRanges,f=0;f<u.length;f++)!function(t){var n=u[t],s=e[n.key],f=r.slice(n.offset,n.offset+n.length).join(""),d=i(s,f),h=[].concat(o((0,l.default)(d,f)||f)),y=(0,p.default)(d,"start"),g=(0,p.default)(d,"end"),v=function(e,r){return r>t||Object.prototype.hasOwnProperty.call(e,"style")?(0,a.default)(e,n.offset,n.length,h.length,y,g):e},_=function(t){return t.reduce(function(t,e,n){var r=v(e,n);return Array.isArray(r)?t.concat(r):t.concat([r])},[])};u=_(u),c=_(c),r=[].concat(o(r.slice(0,n.offset)),o(h),o(r.slice(n.offset+n.length)))}(f);return Object.assign({},t,{text:r.join(""),inlineStyleRanges:c,entityRanges:u})}return t}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(55),a=r(i),u=n(313),s=r(u),c=n(236),l=r(c),f=n(237),p=r(f),d=n(94),h=r(d),y=n(306),g=r(y),v=function(t,e){return t.filter(function(t){return!e.some(function(e){return e.style===t.style})})},_=function(t,e){return e.reduceRight(function(t,e){var n=t[t.length-1];return(0,a.default)(n.style===e.style,"Style "+n.style+" to be removed doesn't match expected "+e.style),t.slice(0,-1)},t)},m=function(t,e){return e.filter(function(e){return t>=e.offset&&t<e.offset+e.length})},b=function(t,e){var n=t.offset<=e.offset,r=t.offset+t.length>=e.offset+e.length;return n&&r},w=function(t,e){return e.offset+e.length-(t.offset+t.length)},S=function(t,e){for(var n=0;n<t.length;){if(!e.every(b.bind(null,t[n])))return t.slice(n);n++}return[]},k=function(t,e,n){return e+(0,p.default)(t(n.style)).start},E=function(t,e,n){return(0,p.default)(t(n.style)).end+e},C=function(t){return function(e){return t(e)}};C.__isMiddleware=!0,e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:C;(0,a.default)(null!==t&&void 0!==t,"Expected raw block to be non-null");var n=void 0;n=!0===e.__isMiddleware?e(g.default):(0,l.default)((0,s.default)(e),(0,s.default)(g.default));for(var r="",i=[],u=t.inlineStyleRanges.sort(h.default),c=[].concat(o(t.text)),f=0;f<c.length;f++){var d=m(f,u),y=v(i,d),b=v(d,i),x=v(i,y),O=S(x,b),T=O.concat(b).sort(w),D=T.reduce(k.bind(null,n),"");r+=y.concat(O).reduce(E.bind(null,n),"")+D+c[f],i=_(i,O.concat(y)),i=i.concat(T),(0,a.default)(i.length===d.length,"Character "+f+": "+(i.length-d.length)+" styles left on stack that should no longer be there")}return r=i.reduceRight(function(t,e){return t+(0,p.default)(n(e.style)).end},r)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(){return{text:"",inlines:[],entities:[],blocks:[]}}function i(t){var e=new Array(1);return t&&(e[0]=t),{text:E,inlines:[(0,_.OrderedSet)()],entities:e,blocks:[]}}function a(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,_.Map)();return!0===n?{text:"\r",inlines:[(0,_.OrderedSet)()],entities:new Array(1),blocks:[{type:t,data:r,depth:Math.max(0,Math.min(C,e))}],isNewline:!0}:{text:"\n",inlines:[(0,_.OrderedSet)()],entities:new Array(1),blocks:[]}}function u(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,_.Map)();return{text:"\r",inlines:[(0,_.OrderedSet)()],entities:new Array(1),blocks:[{type:t,data:n,depth:Math.max(0,Math.min(C,e))}]}}function s(t,e){switch(t){case"h1":return"header-one";case"h2":return"header-two";case"h3":return"header-three";case"h4":return"header-four";case"h5":return"header-five";case"h6":return"header-six";case"li":return"ol"===e?"ordered-list-item":"unordered-list-item";case"blockquote":return"blockquote";case"pre":return"code-block";case"div":case"p":return"unstyled";default:return null}}function c(t,e,n){return s(t,n)}function l(t,e,n){var r=I[t];return r?n=n.add(r).toOrderedSet():e instanceof HTMLElement&&function(){var t=e;n=n.withMutations(function(e){"bold"===t.style.fontWeight&&e.add("BOLD"),"italic"===t.style.fontStyle&&e.add("ITALIC"),"underline"===t.style.textDecoration&&e.add("UNDERLINE"),"line-through"===t.style.textDecoration&&e.add("STRIKETHROUGH")}).toOrderedSet()}(),n}function f(t,e){return l(t,e,(0,_.OrderedSet)())}function p(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.text.slice(0,1),o=t.text.slice(-1),i="\r"===o&&"\r"===r,a="\r"!==t.text&&"\r"!==e.text,u="\r"===t.text&&!t.isNewline&&e.isNewline;if(i&&(a||u)&&(t.text=t.text.slice(0,-1),t.inlines.pop(),t.entities.pop(),t.blocks.pop()),"\r"===t.text.slice(-1)&&!0===n){if(e.text===E||"\n"===e.text)return t;r!==E&&"\n"!==r||(e.text=e.text.slice(1),e.inlines.shift(),e.entities.shift())}var s=0===t.text.length&&e.isNewline;return{text:t.text+e.text,inlines:t.inlines.concat(e.inlines),entities:t.entities.concat(e.entities),blocks:t.blocks.concat(e.blocks),isNewline:s}}function d(t){return M.some(function(e){return-1!==t.indexOf("<"+e)})}function h(t,e,n,r,c,f,d,y,g,m,b,w){var S=t.nodeName.toLowerCase(),C=!1,x="unstyled";if("#text"===S){var T=function(){var n=t.textContent;if(""===n.trim()&&null===r)return{v:o()};if(""===n.trim()&&"code-block"!==r)return{v:i(w)};"code-block"!==r&&(n=n.replace(O,E));var a=Array(n.length).fill(w),u=0;return g(n).sort(k.default).forEach(function(t){var e=t.entity,r=t.offset,o=t.length,i=t.result,s=r+u;null!==i&&void 0!==i||(i=n.substr(s,o));var c=n.split("");c.splice.bind(c,s,o).apply(c,i.split("")),n=c.join(""),a.splice.bind(a,s,o).apply(a,Array(i.length).fill(e)),u+=i.length-o}),{v:{text:n,inlines:Array(n.length).fill(e),entities:a,blocks:[]}}}();if("object"===(void 0===T?"undefined":v(T)))return T.v}if("br"===S){var D=r;return null===D?a("unstyled",f,!0):a(D||"unstyled",f,b.flat)}var M=o(),I=null;e=l(S,t,e),e=d(S,t,e),"ul"!==S&&"ol"!==S||(n&&(f+=1),n=S,r=null);var A=m(S,t,n,r),P=void 0,N=void 0;if(!1===A)return o();if(A=A||{},"string"==typeof A?(P=A,N=(0,_.Map)()):(P="string"==typeof A?A:A.type,N=A.data?(0,_.Map)(A.data):(0,_.Map)()),r||-1===c.indexOf(S)&&!P)if(!n||"ordered-list-item"!==r&&"unordered-list-item"!==r||"li"!==S)r&&"atomic"!==r&&"atomic"===P&&(r=P,C=!0,M=a(P,f,!0,N));else{var R=s(S,n);M=u(R,f),r=R,C=!0,x="ul"===n?"unordered-list-item":"ordered-list-item"}else M=u(P||s(S,n),f,N),r=P||s(S,n),C=!0;var L=t.firstChild;null!=L||!w||"atomic"!==P&&"atomic"!==r||(L=document.createTextNode("a")),null!=L&&(S=L.nodeName.toLowerCase());for(var F=null;L;){F=y(S,L),I=h(L,e,n,r,c,f,d,y,g,m,b,F||w),M=p(M,I,b.flat);var B=L.nextSibling;if(B&&c.indexOf(S)>=0&&r){var z=m(S,L,n,r),U=void 0,K=void 0;!1!==z&&(z=z||{},"string"==typeof z?(U=z,K=(0,_.Map)()):(U=z.type||s(S,n),K=z.data?(0,_.Map)(z.data):(0,_.Map)()),M=p(M,a(U,f,b.flat,K),b.flat))}B&&(S=B.nodeName.toLowerCase()),L=B}return C&&(M=p(M,u(x,f,(0,_.Map)()),b.flat)),M}function y(t,e,n,r,o,i,a){t=t.trim().replace(x,"").replace(T,E);var u=a(t);if(!u)return null;var s=d(t)?M.concat(["div"]):["div"],c=h(u,(0,_.OrderedSet)(),"ul",null,s,-1,e,n,r,o,i);return 0===c.text.indexOf("\r")&&(c={text:c.text.slice(1),inlines:c.inlines.slice(1),entities:c.entities.slice(1),blocks:c.blocks}),"\r"===c.text.slice(-1)&&(c.text=c.text.slice(0,-1),c.inlines=c.inlines.slice(0,-1),c.entities=c.entities.slice(0,-1),c.blocks.pop()),0===c.blocks.length&&c.blocks.push({type:"unstyled",data:(0,_.Map)(),depth:0}),c.text.split("\r").length===c.blocks.length+1&&c.blocks.unshift({type:"unstyled",data:(0,_.Map)(),depth:0}),c}function g(t,e,n,r,o,i,a){var u=y(t,e,n,r,o,i,a);if(null==u)return[];var s=0;return u.text.split("\r").map(function(t,e){t=B(t);var n=s+t.length,r=F(u).inlines.slice(s,n),o=F(u).entities.slice(s,n),i=(0,_.List)(r.map(function(t,e){var n={style:t,entity:null};return o[e]&&(n.entity=o[e]),m.CharacterMetadata.create(n)}));return s=n+1,new m.ContentBlock({key:(0,m.genKey)(),type:F(u).blocks[e].type,data:F(u).blocks[e].data,depth:F(u).blocks[e].depth,text:t,characterList:i})})}Object.defineProperty(e,"__esModule",{value:!0});var v="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},_=n(314),m=n(13),b=n(238),w=r(b),S=n(94),k=r(S),E=" ",C=4,x=new RegExp("\r","g"),O=new RegExp("\n","g"),T=new RegExp("&nbsp;","g"),D=new RegExp("\r","g"),M=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],I={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},A=function(t,e){return t&&!0===t.__isMiddleware?t(e):t},P=function(t,e,n){},N=function(t,e,n){return n},R=function(t,e){},L=function(t){return[]},F=function(t){if(null!=t)return t;throw new Error("Got unexpected null or undefined")},B=function(t){return t.replace(D,"")},z=function(t){var e=t.htmlToStyle,n=void 0===e?N:e,r=t.htmlToEntity,o=void 0===r?R:r,i=t.textToEntity,a=void 0===i?L:i,u=t.htmlToBlock,s=void 0===u?P:u;return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{flat:!1},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:w.default;return m.ContentState.createFromBlockArray(g(t,A(n,f),A(o,R),A(a,L),A(s,c),e,r))}};e.default=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?z({}).apply(void 0,arguments):z.apply(void 0,arguments)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(55),i=r(o),a=n(3),u=r(a),s=n(98),c=r(s),l=n(13),f=n(307),p=r(f),d=n(301),h=r(d),y=n(302),g=r(y),v=n(236),_=r(v),m=n(309),b=r(m),w=n(310),S=r(w),k=n(312),E=r(k),C=n(305),x=r(C),O=["ordered-list-item","unordered-list-item"],T=function(t,e){return e},D=function(t){var e=t.styleToHTML,n=void 0===e?{}:e,r=t.blockToHTML,o=void 0===r?{}:r,a=t.entityToHTML,s=void 0===a?T:a;return function(t){(0,i.default)(null!==t&&void 0!==t,"Expected contentState to be non-null");var e=void 0;e=!0===o.__isMiddleware?o((0,b.default)(x.default)):(0,_.default)((0,b.default)(o),(0,b.default)(x.default));var r=(0,l.convertToRaw)(t),a=[],f=r.blocks.map(function(t){var o=t.type,i=t.depth,l="",f="";if(-1===O.indexOf(o))l=a.reduceRight(function(t,n){return t+(0,E.default)(e(n)).nestEnd},""),a=[];else for(;i+1!==a.length||o!==a[i].type;)if(i+1===a.length){var d=a[i];l+=(0,E.default)(e(d)).nestEnd,f+=(0,E.default)(e(t)).nestStart,a[i]=t}else if(i+1<a.length){var y=a[a.length-1];l+=(0,E.default)(e(y)).nestEnd,a=a.slice(0,-1)}else f+=(0,E.default)(e(t)).nestStart,a.push(t);var v=(0,g.default)((0,h.default)((0,p.default)(t),r.entityMap,s),n),_=(0,S.default)(e(t)),m=void 0;return m="string"==typeof _?_:_.start+v+_.end,0===v.length&&Object.prototype.hasOwnProperty.call(_,"empty")&&(m=u.default.isValidElement(_.empty)?c.default.renderToStaticMarkup(_.empty):_.empty),l+f+m}).join("");return f=a.reduce(function(t,n){return t+(0,E.default)(e(n)).nestEnd},f)}};e.default=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return 1===e.length&&Object.prototype.hasOwnProperty.call(e[0],"_map")&&null!=e[0].getBlockMap?D({}).apply(void 0,e):D.apply(void 0,e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default={unstyled:o.default.createElement("p",null),paragraph:o.default.createElement("p",null),"header-one":o.default.createElement("h1",null),"header-two":o.default.createElement("h2",null),"header-three":o.default.createElement("h3",null),"header-four":o.default.createElement("h4",null),"header-five":o.default.createElement("h5",null),"header-six":o.default.createElement("h6",null),blockquote:o.default.createElement("blockquote",null),"unordered-list-item":{element:o.default.createElement("li",null),nest:o.default.createElement("ul",null)},"ordered-list-item":{element:o.default.createElement("li",null),nest:o.default.createElement("ol",null)},media:o.default.createElement("figure",null)}},function(t,e,n){"use strict";function r(t){switch(t){case"BOLD":return i.default.createElement("strong",null);case"ITALIC":return i.default.createElement("em",null);case"UNDERLINE":return i.default.createElement("u",null);case"CODE":return i.default.createElement("code",null);default:return{start:"",end:""}}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var o=n(3),i=function(t){return t&&t.__esModule?t:{default:t}}(o)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(239),a=r(i),u=n(94),s=r(u),c={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","\n":"<br/>"};e.default=function(t){for(var e=[].concat(o(t.text)),n=t.entityRanges.sort(s.default),r=t.inlineStyleRanges.sort(s.default),i="",u=0;u<e.length;u++)!function(t){var o=e[t];void 0!==c[o]?function(){var t=c[o],e=i.length;i+=t;var u=function(n){return(0,a.default)(n,e,o.length,t.length,0,0)};n=n.map(u),r=r.map(u)}():i+=o}(u);return Object.assign({},t,{text:i,inlineStyleRanges:r,entityRanges:n})}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.parseHTML=e.convertFromHTML=e.convertToHTML=void 0;var o=n(304),i=r(o),a=n(303),u=r(a),s=n(238),c=r(s);e.convertToHTML=i.default,e.convertFromHTML=u.default,e.parseHTML=c.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return function(e){return"function"==typeof t?t(e):t[e.type]}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return c.default.isValidElement(t)&&c.default.Children.count(t.props.children)>0}function i(t){return(0,u.default)(null!==t&&void 0!==t,"Expected block HTML value to be non-null"),"string"==typeof t?t:c.default.isValidElement(t)?o(t)?f.default.renderToStaticMarkup(t):(0,d.default)(t):Object.prototype.hasOwnProperty.call(t,"element")&&c.default.isValidElement(t.element)?Object.assign({},t,(0,d.default)(t.element)):((0,u.default)(Object.prototype.hasOwnProperty.call(t,"start")&&Object.prototype.hasOwnProperty.call(t,"end"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var a=n(55),u=r(a),s=n(3),c=r(s),l=n(98),f=r(l),p=n(95),d=r(p)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var 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},i=n(3),a=r(i),u=n(95),s=r(u),c=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(a.default.isValidElement(e)){var r=(0,s.default)(e)[n].length,i=a.default.Children.toArray(e.props.children)[0];return r+(i&&a.default.isValidElement(i)?t(i,n):0)}return"object"===(void 0===e?"undefined":o(e))&&e[n]?e[n].length:0};e.default=c},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){if((0,a.default)(null!==t&&void 0!==t,"Expected block HTML value to be non-null"),s.default.isValidElement(t.nest)){var e=(0,l.default)(t.nest),n=e.start,r=e.end;return Object.assign({},t,{nestStart:n,nestEnd:r})}return(0,a.default)(Object.prototype.hasOwnProperty.call(t,"nestStart")&&Object.prototype.hasOwnProperty.call(t,"nestEnd"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var i=n(55),a=r(i),u=n(3),s=r(u),c=n(95),l=r(c)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return function(e){return"function"==typeof t?t(e):t[e]}}},function(t,e,n){!function(e,n){t.exports=n()}(0,function(){"use strict";function t(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function e(t){return i(t)?t:D(t)}function n(t){return a(t)?t:M(t)}function r(t){return u(t)?t:I(t)}function o(t){return i(t)&&!s(t)?t:A(t)}function i(t){return!(!t||!t[cn])}function a(t){return!(!t||!t[ln])}function u(t){return!(!t||!t[fn])}function s(t){return a(t)||u(t)}function c(t){return!(!t||!t[pn])}function l(t){return t.value=!1,t}function f(t){t&&(t.value=!0)}function p(){}function d(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 h(t){return void 0===t.size&&(t.size=t.__iterate(g)),t.size}function y(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?h(t)+e:e}function g(){return!0}function v(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function _(t,e){return b(t,e,0)}function m(t,e){return b(t,e,e)}function b(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}function w(t){this.next=t}function S(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 k(){return{value:void 0,done:!0}}function E(t){return!!O(t)}function C(t){return t&&"function"==typeof t.next}function x(t){var e=O(t);return e&&e.call(t)}function O(t){var e=t&&(Sn&&t[Sn]||t[kn]);if("function"==typeof e)return e}function T(t){return t&&"number"==typeof t.length}function D(t){return null===t||void 0===t?B():i(t)?t.toSeq():K(t)}function M(t){return null===t||void 0===t?B().toKeyedSeq():i(t)?a(t)?t.toSeq():t.fromEntrySeq():z(t)}function I(t){return null===t||void 0===t?B():i(t)?a(t)?t.entrySeq():t.toIndexedSeq():U(t)}function A(t){return(null===t||void 0===t?B():i(t)?a(t)?t.entrySeq():t:U(t)).toSetSeq()}function P(t){this._array=t,this.size=t.length}function N(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function R(t){this._iterable=t,this.size=t.length||t.size}function L(t){this._iterator=t,this._iteratorCache=[]}function F(t){return!(!t||!t[Cn])}function B(){return xn||(xn=new P([]))}function z(t){var e=Array.isArray(t)?new P(t).fromEntrySeq():C(t)?new L(t).fromEntrySeq():E(t)?new R(t).fromEntrySeq():"object"==typeof t?new N(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function U(t){var e=j(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function K(t){var e=j(t)||"object"==typeof t&&new N(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}function j(t){return T(t)?new P(t):C(t)?new L(t):E(t)?new R(t):void 0}function H(t,e,n,r){var o=t._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var u=o[n?i-a:a];if(!1===e(u[1],r?u[0]:a,t))return a+1}return a}return t.__iterateUncached(e,n)}function q(t,e,n,r){var o=t._cache;if(o){var i=o.length-1,a=0;return new w(function(){var t=o[n?i-a:a];return a++>i?k():S(e,r?t[0]:a-1,t[1])})}return t.__iteratorUncached(e,n)}function W(t,e){return e?V(e,t,"",{"":t}):J(t)}function V(t,e,n,r){return Array.isArray(e)?t.call(r,n,I(e).map(function(n,r){return V(t,n,r,e)})):G(e)?t.call(r,n,M(e).map(function(n,r){return V(t,n,r,e)})):e}function J(t){return Array.isArray(t)?I(t).map(J).toList():G(t)?M(t).map(J).toMap():t}function G(t){return t&&(t.constructor===Object||void 0===t.constructor)}function X(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 Y(t,e){if(t===e)return!0;if(!i(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||a(t)!==a(e)||u(t)!==u(e)||c(t)!==c(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!s(t);if(c(t)){var r=t.entries();return e.every(function(t,e){var o=r.next().value;return o&&X(o[1],t)&&(n||X(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 l=t;t=e,e=l}var f=!0,p=e.__iterate(function(e,r){if(n?!t.has(e):o?!X(e,t.get(r,gn)):!X(t.get(r,gn),e))return f=!1,!1});return f&&t.size===p}function $(t,e){if(!(this instanceof $))return new $(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(On)return On;On=this}}function Q(t,e){if(!t)throw new Error(e)}function Z(t,e,n){if(!(this instanceof Z))return new Z(t,e,n);if(Q(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(Tn)return Tn;Tn=this}}function tt(){throw TypeError("Abstract")}function et(){}function nt(){}function rt(){}function ot(t){return t>>>1&1073741824|3221225471&t}function it(t){if(!1===t||null===t||void 0===t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null===t||void 0===t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)t/=4294967295,n^=t;return ot(n)}if("string"===e)return t.length>Ln?at(t):ut(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return st(t);if("function"==typeof t.toString)return ut(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function at(t){var e=zn[t];return void 0===e&&(e=ut(t),Bn===Fn&&(Bn=0,zn={}),Bn++,zn[t]=e),e}function ut(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return ot(e)}function st(t){var e;if(Pn&&void 0!==(e=Dn.get(t)))return e;if(void 0!==(e=t[Rn]))return e;if(!An){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Rn]))return e;if(void 0!==(e=ct(t)))return e}if(e=++Nn,1073741824&Nn&&(Nn=0),Pn)Dn.set(t,e);else{if(void 0!==In&&!1===In(t))throw new Error("Non-extensible objects are not allowed as keys.");if(An)Object.defineProperty(t,Rn,{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[Rn]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Rn]=e}}return e}function ct(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}function lt(t){Q(t!==1/0,"Cannot perform this action with an infinite size.")}function ft(t){return null===t||void 0===t?St():pt(t)&&!c(t)?t:St().withMutations(function(e){var r=n(t);lt(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function pt(t){return!(!t||!t[Un])}function dt(t,e){this.ownerID=t,this.entries=e}function ht(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function yt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function gt(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function vt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function _t(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&bt(t._root)}function mt(t,e){return S(t,e[0],e[1])}function bt(t,e){return{node:t,index:0,__prev:e}}function wt(t,e,n,r){var o=Object.create(Kn);return o.size=t,o._root=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function St(){return jn||(jn=wt(0))}function kt(t,e,n){var r,o;if(t._root){var i=l(vn),a=l(_n);if(r=Et(t._root,t.__ownerID,0,void 0,e,n,i,a),!a.value)return t;o=t.size+(i.value?n===gn?-1:1:0)}else{if(n===gn)return t;o=1,r=new dt(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=o,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?wt(o,r):St()}function Et(t,e,n,r,o,i,a,u){return t?t.update(e,n,r,o,i,a,u):i===gn?t:(f(u),f(a),new vt(e,r,[o,i]))}function Ct(t){return t.constructor===vt||t.constructor===gt}function xt(t,e,n,r,o){if(t.keyHash===r)return new gt(e,r,[t.entry,o]);var i,a=(0===n?t.keyHash:t.keyHash>>>n)&yn,u=(0===n?r:r>>>n)&yn;return new ht(e,1<<a|1<<u,a===u?[xt(t,e,n+dn,r,o)]:(i=new vt(e,r,o),a<u?[t,i]:[i,t]))}function Ot(t,e,n,r){t||(t=new p);for(var o=new vt(t,it(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}function Tt(t,e,n,r){for(var o=0,i=0,a=new Array(n),u=0,s=1,c=e.length;u<c;u++,s<<=1){var l=e[u];void 0!==l&&u!==r&&(o|=s,a[i++]=l)}return new ht(t,o,a)}function Dt(t,e,n,r,o){for(var i=0,a=new Array(hn),u=0;0!==n;u++,n>>>=1)a[u]=1&n?e[i++]:void 0;return a[r]=o,new yt(t,i+1,a)}function Mt(t,e,r){for(var o=[],a=0;a<r.length;a++){var u=r[a],s=n(u);i(u)||(s=s.map(function(t){return W(t)})),o.push(s)}return Pt(t,e,o)}function It(t,e,n){return t&&t.mergeDeep&&i(e)?t.mergeDeep(e):X(t,e)?t:e}function At(t){return function(e,n,r){if(e&&e.mergeDeepWith&&i(n))return e.mergeDeepWith(t,n);var o=t(e,n,r);return X(e,o)?e:o}}function Pt(t,e,n){return n=n.filter(function(t){return 0!==t.size}),0===n.length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations(function(t){for(var r=e?function(n,r){t.update(r,gn,function(t){return t===gn?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 Nt(t,e,n,r){var o=t===gn,i=e.next();if(i.done){var a=o?n:t,u=r(a);return u===a?t:u}Q(o||t&&t.set,"invalid keyPath");var s=i.value,c=o?gn:t.get(s,gn),l=Nt(c,e,n,r);return l===c?t:l===gn?t.remove(s):(o?St():t).set(s,l)}function Rt(t){return t-=t>>1&1431655765,t=(858993459&t)+(t>>2&858993459),t=t+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function Lt(t,e,n,r){var o=r?t:d(t);return o[e]=n,o}function Ft(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,u=0;u<o;u++)u===e?(i[u]=n,a=-1):i[u]=t[u+a];return i}function Bt(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}function zt(t){var e=qt();if(null===t||void 0===t)return e;if(Ut(t))return t;var n=r(t),o=n.size;return 0===o?e:(lt(o),o>0&&o<hn?Ht(0,o,dn,null,new Kt(n.toArray())):e.withMutations(function(t){t.setSize(o),n.forEach(function(e,n){return t.set(n,e)})}))}function Ut(t){return!(!t||!t[Vn])}function Kt(t,e){this.array=t,this.ownerID=e}function jt(t,e){function n(t,e,n){return 0===e?r(t,n):o(t,e,n)}function r(t,n){var r=n===u?s&&s.array:t&&t.array,o=n>i?0:i-n,c=a-n;return c>hn&&(c=hn),function(){if(o===c)return Xn;var t=e?--c:o++;return r&&r[t]}}function o(t,r,o){var u,s=t&&t.array,c=o>i?0:i-o>>r,l=1+(a-o>>r);return l>hn&&(l=hn),function(){for(;;){if(u){var t=u();if(t!==Xn)return t;u=null}if(c===l)return Xn;var i=e?--l:c++;u=n(s&&s[i],r-dn,o+(i<<r))}}}var i=t._origin,a=t._capacity,u=$t(a),s=t._tail;return n(t._root,t._level,0)}function Ht(t,e,n,r,o,i,a){var u=Object.create(Jn);return u.size=e-t,u._origin=t,u._capacity=e,u._level=n,u._root=r,u._tail=o,u.__ownerID=i,u.__hash=a,u.__altered=!1,u}function qt(){return Gn||(Gn=Ht(0,0,dn))}function Wt(t,e,n){if((e=y(t,e))!==e)return t;if(e>=t.size||e<0)return t.withMutations(function(t){e<0?Xt(t,e).set(0,n):Xt(t,0,e+1).set(e,n)});e+=t._origin;var r=t._tail,o=t._root,i=l(_n);return e>=$t(t._capacity)?r=Vt(r,t.__ownerID,0,e,n,i):o=Vt(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):Ht(t._origin,t._capacity,t._level,o,r):t}function Vt(t,e,n,r,o,i){var a=r>>>n&yn,u=t&&a<t.array.length;if(!u&&void 0===o)return t;var s;if(n>0){var c=t&&t.array[a],l=Vt(c,e,n-dn,r,o,i);return l===c?t:(s=Jt(t,e),s.array[a]=l,s)}return u&&t.array[a]===o?t:(f(i),s=Jt(t,e),void 0===o&&a===s.array.length-1?s.array.pop():s.array[a]=o,s)}function Jt(t,e){return e&&t&&e===t.ownerID?t:new Kt(t?t.array.slice():[],e)}function Gt(t,e){if(e>=$t(t._capacity))return t._tail;if(e<1<<t._level+dn){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&yn],r-=dn;return n}}function Xt(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new p,o=t._origin,i=t._capacity,a=o+e,u=void 0===n?i:n<0?i+n:o+n;if(a===o&&u===i)return t;if(a>=u)return t.clear();for(var s=t._level,c=t._root,l=0;a+l<0;)c=new Kt(c&&c.array.length?[void 0,c]:[],r),s+=dn,l+=1<<s;l&&(a+=l,o+=l,u+=l,i+=l);for(var f=$t(i),d=$t(u);d>=1<<s+dn;)c=new Kt(c&&c.array.length?[c]:[],r),s+=dn;var h=t._tail,y=d<f?Gt(t,u-1):d>f?new Kt([],r):h;if(h&&d>f&&a<i&&h.array.length){c=Jt(c,r);for(var g=c,v=s;v>dn;v-=dn){var _=f>>>v&yn;g=g.array[_]=Jt(g.array[_],r)}g.array[f>>>dn&yn]=h}if(u<i&&(y=y&&y.removeAfter(r,0,u)),a>=d)a-=d,u-=d,s=dn,c=null,y=y&&y.removeBefore(r,0,a);else if(a>o||d<f){for(l=0;c;){var m=a>>>s&yn;if(m!==d>>>s&yn)break;m&&(l+=(1<<s)*m),s-=dn,c=c.array[m]}c&&a>o&&(c=c.removeBefore(r,s,a-l)),c&&d<f&&(c=c.removeAfter(r,s,d-l)),l&&(a-=l,u-=l)}return t.__ownerID?(t.size=u-a,t._origin=a,t._capacity=u,t._level=s,t._root=c,t._tail=y,t.__hash=void 0,t.__altered=!0,t):Ht(a,u,s,c,y)}function Yt(t,e,n){for(var o=[],a=0,u=0;u<n.length;u++){var s=n[u],c=r(s);c.size>a&&(a=c.size),i(s)||(c=c.map(function(t){return W(t)})),o.push(c)}return a>t.size&&(t=t.setSize(a)),Pt(t,e,o)}function $t(t){return t<hn?0:t-1>>>dn<<dn}function Qt(t){return null===t||void 0===t?ee():Zt(t)?t:ee().withMutations(function(e){var r=n(t);lt(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function Zt(t){return pt(t)&&c(t)}function te(t,e,n,r){var o=Object.create(Qt.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=n,o.__hash=r,o}function ee(){return Yn||(Yn=te(St(),qt()))}function ne(t,e,n){var r,o,i=t._map,a=t._list,u=i.get(e),s=void 0!==u;if(n===gn){if(!s)return t;a.size>=hn&&a.size>=2*i.size?(o=a.filter(function(t,e){return void 0!==t&&u!==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=u===a.size-1?a.pop():a.set(u,void 0))}else if(s){if(n===a.get(u)[1])return t;r=i,o=a.set(u,[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):te(r,o)}function re(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function oe(t){this._iter=t,this.size=t.size}function ie(t){this._iter=t,this.size=t.size}function ae(t){this._iter=t,this.size=t.size}function ue(t){var e=Te(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=De,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===wn){var r=t.__iterator(e,n);return new w(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===bn?mn:bn,n)},e}function se(t,e,n){var r=Te(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,o){var i=t.get(r,gn);return i===gn?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(wn,o);return new w(function(){var o=i.next();if(o.done)return o;var a=o.value,u=a[0];return S(r,u,e.call(n,a[1],u,t),o)})},r}function ce(t,e){var n=Te(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=ue(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=De,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 le(t,e,n,r){var o=Te(t);return r&&(o.has=function(r){var o=t.get(r,gn);return o!==gn&&!!e.call(n,o,r,t)},o.get=function(r,o){var i=t.get(r,gn);return i!==gn&&e.call(n,i,r,t)?i:o}),o.__iterateUncached=function(o,i){var a=this,u=0;return t.__iterate(function(t,i,s){if(e.call(n,t,i,s))return u++,o(t,r?i:u-1,a)},i),u},o.__iteratorUncached=function(o,i){var a=t.__iterator(wn,i),u=0;return new w(function(){for(;;){var i=a.next();if(i.done)return i;var s=i.value,c=s[0],l=s[1];if(e.call(n,l,c,t))return S(o,r?c:u++,l,i)}})},o}function fe(t,e,n){var r=ft().asMutable();return t.__iterate(function(o,i){r.update(e.call(n,o,i,t),0,function(t){return t+1})}),r.asImmutable()}function pe(t,e,n){var r=a(t),o=(c(t)?Qt():ft()).asMutable();t.__iterate(function(i,a){o.update(e.call(n,i,a,t),function(t){return t=t||[],t.push(r?[a,i]:i),t})});var i=Oe(t);return o.map(function(e){return Ee(t,i(e))})}function de(t,e,n,r){var o=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n|=0),v(e,n,o))return t;var i=_(e,o),a=m(n,o);if(i!==i||a!==a)return de(t.toSeq().cacheResult(),e,n,r);var u,s=a-i;s===s&&(u=s<0?0:s);var c=Te(t);return c.size=0===u?u:t.size&&u||void 0,!r&&F(t)&&u>=0&&(c.get=function(e,n){return e=y(this,e),e>=0&&e<u?t.get(e+i,n):n}),c.__iterateUncached=function(e,n){var o=this;if(0===u)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,s=!0,c=0;return t.__iterate(function(t,n){if(!s||!(s=a++<i))return c++,!1!==e(t,r?n:c-1,o)&&c!==u}),c},c.__iteratorUncached=function(e,n){if(0!==u&&n)return this.cacheResult().__iterator(e,n);var o=0!==u&&t.__iterator(e,n),a=0,s=0;return new w(function(){for(;a++<i;)o.next();if(++s>u)return k();var t=o.next();return r||e===bn?t:e===mn?S(e,s-1,void 0,t):S(e,s-1,t.value[1],t)})},c}function he(t,e,n){var r=Te(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,u){return e.call(n,t,o,u)&&++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(wn,o),u=!0;return new w(function(){if(!u)return k();var t=a.next();if(t.done)return t;var o=t.value,s=o[0],c=o[1];return e.call(n,c,s,i)?r===wn?t:S(r,s,c,t):(u=!1,k())})},r}function ye(t,e,n,r){var o=Te(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var u=!0,s=0;return t.__iterate(function(t,i,c){if(!u||!(u=e.call(n,t,i,c)))return s++,o(t,r?i:s-1,a)}),s},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var u=t.__iterator(wn,i),s=!0,c=0;return new w(function(){var t,i,l;do{if(t=u.next(),t.done)return r||o===bn?t:o===mn?S(o,c++,void 0,t):S(o,c++,t.value[1],t);var f=t.value;i=f[0],l=f[1],s&&(s=e.call(n,l,i,a))}while(s);return o===wn?t:S(o,i,l,t)})},o}function ge(t,e){var r=a(t),o=[t].concat(e).map(function(t){return i(t)?r&&(t=n(t)):t=r?z(t):U(Array.isArray(t)?t:[t]),t}).filter(function(t){return 0!==t.size});if(0===o.length)return t;if(1===o.length){var s=o[0];if(s===t||r&&a(s)||u(t)&&u(s))return s}var c=new P(o);return r?c=c.toKeyedSeq():u(t)||(c=c.toSetSeq()),c=c.flatten(!0),c.size=o.reduce(function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}},0),c}function ve(t,e,n){var r=Te(t);return r.__iterateUncached=function(r,o){function a(t,c){var l=this;t.__iterate(function(t,o){return(!e||c<e)&&i(t)?a(t,c+1):!1===r(t,n?o:u++,l)&&(s=!0),!s},o)}var u=0,s=!1;return a(t,0),u},r.__iteratorUncached=function(r,o){var a=t.__iterator(r,o),u=[],s=0;return new w(function(){for(;a;){var t=a.next();if(!1===t.done){var c=t.value;if(r===wn&&(c=c[1]),e&&!(u.length<e)||!i(c))return n?t:S(r,s++,c,t);u.push(a),a=c.__iterator(r,o)}else a=u.pop()}return k()})},r}function _e(t,e,n){var r=Oe(t);return t.toSeq().map(function(o,i){return r(e.call(n,o,i,t))}).flatten(!0)}function me(t,e){var n=Te(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(bn,r),a=0;return new w(function(){return(!o||a%2)&&(o=i.next(),o.done)?o:a%2?S(n,a++,e):S(n,a++,o.value,o)})},n}function be(t,e,n){e||(e=Me);var r=a(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?M(i):u(t)?I(i):A(i)}function we(t,e,n){if(e||(e=Me),n){var r=t.toSeq().map(function(e,r){return[e,n(e,r,t)]}).reduce(function(t,n){return Se(e,t[1],n[1])?n:t});return r&&r[0]}return t.reduce(function(t,n){return Se(e,t,n)?n:t})}function Se(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(void 0===n||null===n||n!==n)||r>0}function ke(t,n,r){var o=Te(t);return o.size=new P(r).map(function(t){return t.size}).min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(bn,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=e(t),x(o?t.reverse():t)}),a=0,u=!1;return new w(function(){var e;return u||(e=i.map(function(t){return t.next()}),u=e.some(function(t){return t.done})),u?k():S(t,a++,n.apply(null,e.map(function(t){return t.value})))})},o}function Ee(t,e){return F(t)?e:t.constructor(e)}function Ce(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function xe(t){return lt(t.size),h(t)}function Oe(t){return a(t)?n:u(t)?r:o}function Te(t){return Object.create((a(t)?M:u(t)?I:A).prototype)}function De(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):D.prototype.cacheResult.call(this)}function Me(t,e){return t>e?1:t<e?-1:0}function Ie(t){var n=x(t);if(!n){if(!T(t))throw new TypeError("Expected iterable or array-like: "+t);n=x(e(t))}return n}function Ae(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);Re(o,a),o.size=a.length,o._name=e,o._keys=a,o._defaultValues=t}this._map=ft(i)},o=r.prototype=Object.create($n);return o.constructor=r,r}function Pe(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function Ne(t){return t._name||t.constructor.name||"Record"}function Re(t,e){try{e.forEach(Le.bind(void 0,t))}catch(t){}}function Le(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){Q(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function Fe(t){return null===t||void 0===t?Ke():Be(t)&&!c(t)?t:Ke().withMutations(function(e){var n=o(t);lt(n.size),n.forEach(function(t){return e.add(t)})})}function Be(t){return!(!t||!t[Qn])}function ze(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 Ue(t,e){var n=Object.create(Zn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function Ke(){return tr||(tr=Ue(St()))}function je(t){return null===t||void 0===t?We():He(t)?t:We().withMutations(function(e){var n=o(t);lt(n.size),n.forEach(function(t){return e.add(t)})})}function He(t){return Be(t)&&c(t)}function qe(t,e){var n=Object.create(er);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function We(){return nr||(nr=qe(ee()))}function Ve(t){return null===t||void 0===t?Xe():Je(t)?t:Xe().unshiftAll(t)}function Je(t){return!(!t||!t[rr])}function Ge(t,e,n,r){var o=Object.create(or);return o.size=t,o._head=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Xe(){return ir||(ir=Ge(0))}function Ye(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}function $e(t,e){return e}function Qe(t,e){return[e,t]}function Ze(t){return function(){return!t.apply(this,arguments)}}function tn(t){return function(){return-t.apply(this,arguments)}}function en(t){return"string"==typeof t?JSON.stringify(t):t}function nn(){return d(arguments)}function rn(t,e){return t<e?1:t>e?-1:0}function on(t){if(t.size===1/0)return 0;var e=c(t),n=a(t),r=e?1:0;return an(t.__iterate(n?e?function(t,e){r=31*r+un(it(t),it(e))|0}:function(t,e){r=r+un(it(t),it(e))|0}:e?function(t){r=31*r+it(t)|0}:function(t){r=r+it(t)|0}),r)}function an(t,e){return e=Mn(e,3432918353),e=Mn(e<<15|e>>>-15,461845907),e=Mn(e<<13|e>>>-13,5),e=(e+3864292196|0)^t,e=Mn(e^e>>>16,2246822507),e=Mn(e^e>>>13,3266489909),e=ot(e^e>>>16)}function un(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}var sn=Array.prototype.slice;t(n,e),t(r,e),t(o,e),e.isIterable=i,e.isKeyed=a,e.isIndexed=u,e.isAssociative=s,e.isOrdered=c,e.Keyed=n,e.Indexed=r,e.Set=o;var cn="@@__IMMUTABLE_ITERABLE__@@",ln="@@__IMMUTABLE_KEYED__@@",fn="@@__IMMUTABLE_INDEXED__@@",pn="@@__IMMUTABLE_ORDERED__@@",dn=5,hn=1<<dn,yn=hn-1,gn={},vn={value:!1},_n={value:!1},mn=0,bn=1,wn=2,Sn="function"==typeof Symbol&&Symbol.iterator,kn="@@iterator",En=Sn||kn;w.prototype.toString=function(){return"[Iterator]"},w.KEYS=mn,w.VALUES=bn,w.ENTRIES=wn,w.prototype.inspect=w.prototype.toSource=function(){return this.toString()},w.prototype[En]=function(){return this},t(D,e),D.of=function(){return D(arguments)},D.prototype.toSeq=function(){return this},D.prototype.toString=function(){return this.__toString("Seq {","}")},D.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},D.prototype.__iterate=function(t,e){return H(this,t,e,!0)},D.prototype.__iterator=function(t,e){return q(this,t,e,!0)},t(M,D),M.prototype.toKeyedSeq=function(){return this},t(I,D),I.of=function(){return I(arguments)},I.prototype.toIndexedSeq=function(){return this},I.prototype.toString=function(){return this.__toString("Seq [","]")},I.prototype.__iterate=function(t,e){return H(this,t,e,!1)},I.prototype.__iterator=function(t,e){return q(this,t,e,!1)},t(A,D),A.of=function(){return A(arguments)},A.prototype.toSetSeq=function(){return this},D.isSeq=F,D.Keyed=M,D.Set=A,D.Indexed=I;var Cn="@@__IMMUTABLE_SEQ__@@";D.prototype[Cn]=!0,t(P,I),P.prototype.get=function(t,e){return this.has(t)?this._array[y(this,t)]:e},P.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},P.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,o=0;return new w(function(){return o>r?k():S(t,o,n[e?r-o++:o++])})},t(N,M),N.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},N.prototype.has=function(t){return this._object.hasOwnProperty(t)},N.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},N.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length-1,i=0;return new w(function(){var a=r[e?o-i:i];return i++>o?k():S(t,a,n[a])})},N.prototype[pn]=!0,t(R,I),R.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=this._iterable,r=x(n),o=0;if(C(r))for(var i;!(i=r.next()).done&&!1!==t(i.value,o++,this););return o},R.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterable,r=x(n);if(!C(r))return new w(k);var o=0;return new w(function(){var e=r.next();return e.done?e:S(t,o++,e.value)})},t(L,I),L.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n=this._iterator,r=this._iteratorCache,o=0;o<r.length;)if(!1===t(r[o],o++,this))return o;for(var i;!(i=n.next()).done;){var a=i.value;if(r[o]=a,!1===t(a,o++,this))break}return o},L.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,o=0;return new w(function(){if(o>=r.length){var e=n.next();if(e.done)return e;r[o]=e.value}return S(t,o,r[o++])})};var xn;t($,I),$.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},$.prototype.get=function(t,e){return this.has(t)?this._value:e},$.prototype.includes=function(t){return X(this._value,t)},$.prototype.slice=function(t,e){var n=this.size;return v(t,e,n)?this:new $(this._value,m(e,n)-_(t,n))},$.prototype.reverse=function(){return this},$.prototype.indexOf=function(t){return X(this._value,t)?0:-1},$.prototype.lastIndexOf=function(t){return X(this._value,t)?this.size:-1},$.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},$.prototype.__iterator=function(t,e){var n=this,r=0;return new w(function(){return r<n.size?S(t,r++,n._value):k()})},$.prototype.equals=function(t){return t instanceof $?X(this._value,t._value):Y(t)};var On;t(Z,I),Z.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},Z.prototype.get=function(t,e){return this.has(t)?this._start+y(this,t)*this._step:e},Z.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},Z.prototype.slice=function(t,e){return v(t,e,this.size)?this:(t=_(t,this.size),e=m(e,this.size),e<=t?new Z(0,0):new Z(this.get(t,this._end),this.get(e,this._end),this._step))},Z.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},Z.prototype.lastIndexOf=function(t){return this.indexOf(t)},Z.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},Z.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 w(function(){var a=o;return o+=e?-r:r,i>n?k():S(t,i++,a)})},Z.prototype.equals=function(t){return t instanceof Z?this._start===t._start&&this._end===t._end&&this._step===t._step:Y(this,t)};var Tn;t(tt,e),t(et,tt),t(nt,tt),t(rt,tt),tt.Keyed=et,tt.Indexed=nt,tt.Set=rt;var Dn,Mn="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){t|=0,e|=0;var n=65535&t,r=65535&e;return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0},In=Object.isExtensible,An=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),Pn="function"==typeof WeakMap;Pn&&(Dn=new WeakMap);var Nn=0,Rn="__immutablehash__";"function"==typeof Symbol&&(Rn=Symbol(Rn));var Ln=16,Fn=255,Bn=0,zn={};t(ft,et),ft.prototype.toString=function(){return this.__toString("Map {","}")},ft.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},ft.prototype.set=function(t,e){return kt(this,t,e)},ft.prototype.setIn=function(t,e){return this.updateIn(t,gn,function(){return e})},ft.prototype.remove=function(t){return kt(this,t,gn)},ft.prototype.deleteIn=function(t){return this.updateIn(t,function(){return gn})},ft.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},ft.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=Nt(this,Ie(t),e,n);return r===gn?void 0:r},ft.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):St()},ft.prototype.merge=function(){return Mt(this,void 0,arguments)},ft.prototype.mergeWith=function(t){return Mt(this,t,sn.call(arguments,1))},ft.prototype.mergeIn=function(t){var e=sn.call(arguments,1);return this.updateIn(t,St(),function(t){return"function"==typeof t.merge?t.merge.apply(t,e):e[e.length-1]})},ft.prototype.mergeDeep=function(){return Mt(this,It,arguments)},ft.prototype.mergeDeepWith=function(t){var e=sn.call(arguments,1);return Mt(this,At(t),e)},ft.prototype.mergeDeepIn=function(t){var e=sn.call(arguments,1);return this.updateIn(t,St(),function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,e):e[e.length-1]})},ft.prototype.sort=function(t){return Qt(be(this,t))},ft.prototype.sortBy=function(t,e){return Qt(be(this,e,t))},ft.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},ft.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new p)},ft.prototype.asImmutable=function(){return this.__ensureOwner()},ft.prototype.wasAltered=function(){return this.__altered},ft.prototype.__iterator=function(t,e){return new _t(this,t,e)},ft.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},ft.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?wt(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},ft.isMap=pt;var Un="@@__IMMUTABLE_MAP__@@",Kn=ft.prototype;Kn[Un]=!0,Kn.delete=Kn.remove,Kn.removeIn=Kn.deleteIn,dt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(X(n,o[i][0]))return o[i][1];return r},dt.prototype.update=function(t,e,n,r,o,i,a){for(var u=o===gn,s=this.entries,c=0,l=s.length;c<l&&!X(r,s[c][0]);c++);var p=c<l;if(p?s[c][1]===o:u)return this;if(f(a),(u||!p)&&f(i),!u||1!==s.length){if(!p&&!u&&s.length>=Hn)return Ot(t,s,r,o);var h=t&&t===this.ownerID,y=h?s:d(s);return p?u?c===l-1?y.pop():y[c]=y.pop():y[c]=[r,o]:y.push([r,o]),h?(this.entries=y,this):new dt(t,y)}},ht.prototype.get=function(t,e,n,r){void 0===e&&(e=it(n));var o=1<<((0===t?e:e>>>t)&yn),i=this.bitmap;return 0==(i&o)?r:this.nodes[Rt(i&o-1)].get(t+dn,e,n,r)},ht.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=it(r));var u=(0===e?n:n>>>e)&yn,s=1<<u,c=this.bitmap,l=0!=(c&s);if(!l&&o===gn)return this;var f=Rt(c&s-1),p=this.nodes,d=l?p[f]:void 0,h=Et(d,t,e+dn,n,r,o,i,a);if(h===d)return this;if(!l&&h&&p.length>=qn)return Dt(t,p,c,u,h);if(l&&!h&&2===p.length&&Ct(p[1^f]))return p[1^f];if(l&&h&&1===p.length&&Ct(h))return h;var y=t&&t===this.ownerID,g=l?h?c:c^s:c|s,v=l?h?Lt(p,f,h,y):Bt(p,f,y):Ft(p,f,h,y);return y?(this.bitmap=g,this.nodes=v,this):new ht(t,g,v)},yt.prototype.get=function(t,e,n,r){void 0===e&&(e=it(n));var o=(0===t?e:e>>>t)&yn,i=this.nodes[o];return i?i.get(t+dn,e,n,r):r},yt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=it(r));var u=(0===e?n:n>>>e)&yn,s=o===gn,c=this.nodes,l=c[u];if(s&&!l)return this;var f=Et(l,t,e+dn,n,r,o,i,a);if(f===l)return this;var p=this.count;if(l){if(!f&&--p<Wn)return Tt(t,c,p,u)}else p++;var d=t&&t===this.ownerID,h=Lt(c,u,f,d);return d?(this.count=p,this.nodes=h,this):new yt(t,p,h)},gt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(X(n,o[i][0]))return o[i][1];return r},gt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=it(r));var u=o===gn;if(n!==this.keyHash)return u?this:(f(a),f(i),xt(this,t,e,n,[r,o]));for(var s=this.entries,c=0,l=s.length;c<l&&!X(r,s[c][0]);c++);var p=c<l;if(p?s[c][1]===o:u)return this;if(f(a),(u||!p)&&f(i),u&&2===l)return new vt(t,this.keyHash,s[1^c]);var h=t&&t===this.ownerID,y=h?s:d(s);return p?u?c===l-1?y.pop():y[c]=y.pop():y[c]=[r,o]:y.push([r,o]),h?(this.entries=y,this):new gt(t,this.keyHash,y)},vt.prototype.get=function(t,e,n,r){return X(n,this.entry[0])?this.entry[1]:r},vt.prototype.update=function(t,e,n,r,o,i,a){var u=o===gn,s=X(r,this.entry[0]);return(s?o===this.entry[1]:u)?this:(f(a),u?void f(i):s?t&&t===this.ownerID?(this.entry[1]=o,this):new vt(t,this.keyHash,[r,o]):(f(i),xt(this,t,e,it(r),[r,o])))},dt.prototype.iterate=gt.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},ht.prototype.iterate=yt.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}},vt.prototype.iterate=function(t,e){return t(this.entry)},t(_t,w),_t.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 mt(t,r.entry)}else if(r.entries){if(n=r.entries.length-1,o<=n)return mt(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 mt(t,i.entry);e=this._stack=bt(i,e)}continue}e=this._stack=this._stack.__prev}return k()};var jn,Hn=hn/4,qn=hn/2,Wn=hn/4;t(zt,nt),zt.of=function(){return this(arguments)},zt.prototype.toString=function(){return this.__toString("List [","]")},zt.prototype.get=function(t,e){if((t=y(this,t))>=0&&t<this.size){t+=this._origin;var n=Gt(this,t);return n&&n.array[t&yn]}return e},zt.prototype.set=function(t,e){return Wt(this,t,e)},zt.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},zt.prototype.insert=function(t,e){return this.splice(t,0,e)},zt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=dn,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):qt()},zt.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations(function(n){Xt(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])})},zt.prototype.pop=function(){return Xt(this,0,-1)},zt.prototype.unshift=function(){var t=arguments;return this.withMutations(function(e){Xt(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])})},zt.prototype.shift=function(){return Xt(this,1)},zt.prototype.merge=function(){return Yt(this,void 0,arguments)},zt.prototype.mergeWith=function(t){return Yt(this,t,sn.call(arguments,1))},zt.prototype.mergeDeep=function(){return Yt(this,It,arguments)},zt.prototype.mergeDeepWith=function(t){var e=sn.call(arguments,1);return Yt(this,At(t),e)},zt.prototype.setSize=function(t){return Xt(this,0,t)},zt.prototype.slice=function(t,e){var n=this.size;return v(t,e,n)?this:Xt(this,_(t,n),m(e,n))},zt.prototype.__iterator=function(t,e){var n=0,r=jt(this,e);return new w(function(){var e=r();return e===Xn?k():S(t,n++,e)})},zt.prototype.__iterate=function(t,e){for(var n,r=0,o=jt(this,e);(n=o())!==Xn&&!1!==t(n,r++,this););return r},zt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ht(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},zt.isList=Ut;var Vn="@@__IMMUTABLE_LIST__@@",Jn=zt.prototype;Jn[Vn]=!0,Jn.delete=Jn.remove,Jn.setIn=Kn.setIn,Jn.deleteIn=Jn.removeIn=Kn.removeIn,Jn.update=Kn.update,Jn.updateIn=Kn.updateIn,Jn.mergeIn=Kn.mergeIn,Jn.mergeDeepIn=Kn.mergeDeepIn,Jn.withMutations=Kn.withMutations,Jn.asMutable=Kn.asMutable,Jn.asImmutable=Kn.asImmutable,Jn.wasAltered=Kn.wasAltered,Kt.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&yn;if(r>=this.array.length)return new Kt([],t);var o,i=0===r;if(e>0){var a=this.array[r];if((o=a&&a.removeBefore(t,e-dn,n))===a&&i)return this}if(i&&!o)return this;var u=Jt(this,t);if(!i)for(var s=0;s<r;s++)u.array[s]=void 0;return o&&(u.array[r]=o),u},Kt.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r=n-1>>>e&yn;if(r>=this.array.length)return this;var o;if(e>0){var i=this.array[r];if((o=i&&i.removeAfter(t,e-dn,n))===i&&r===this.array.length-1)return this}var a=Jt(this,t);return a.array.splice(r+1),o&&(a.array[r]=o),a};var Gn,Xn={};t(Qt,ft),Qt.of=function(){return this(arguments)},Qt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Qt.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Qt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):ee()},Qt.prototype.set=function(t,e){return ne(this,t,e)},Qt.prototype.remove=function(t){return ne(this,t,gn)},Qt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Qt.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],n)},e)},Qt.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Qt.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?te(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},Qt.isOrderedMap=Zt,Qt.prototype[pn]=!0,Qt.prototype.delete=Qt.prototype.remove;var Yn;t(re,M),re.prototype.get=function(t,e){return this._iter.get(t,e)},re.prototype.has=function(t){return this._iter.has(t)},re.prototype.valueSeq=function(){return this._iter.valueSeq()},re.prototype.reverse=function(){var t=this,e=ce(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},re.prototype.map=function(t,e){var n=this,r=se(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},re.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?xe(this):0,function(o){return t(o,e?--n:n++,r)}),e)},re.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(bn,e),r=e?xe(this):0;return new w(function(){var o=n.next();return o.done?o:S(t,e?--r:r++,o.value,o)})},re.prototype[pn]=!0,t(oe,I),oe.prototype.includes=function(t){return this._iter.includes(t)},oe.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate(function(e){return t(e,r++,n)},e)},oe.prototype.__iterator=function(t,e){var n=this._iter.__iterator(bn,e),r=0;return new w(function(){var e=n.next();return e.done?e:S(t,r++,e.value,e)})},t(ie,A),ie.prototype.has=function(t){return this._iter.includes(t)},ie.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){return t(e,e,n)},e)},ie.prototype.__iterator=function(t,e){var n=this._iter.__iterator(bn,e);return new w(function(){var e=n.next();return e.done?e:S(t,e.value,e.value,e)})},t(ae,M),ae.prototype.entrySeq=function(){return this._iter.toSeq()},ae.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){if(e){Ce(e);var r=i(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}},e)},ae.prototype.__iterator=function(t,e){var n=this._iter.__iterator(bn,e);return new w(function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){Ce(r);var o=i(r);return S(t,o?r.get(0):r[0],o?r.get(1):r[1],e)}}})},oe.prototype.cacheResult=re.prototype.cacheResult=ie.prototype.cacheResult=ae.prototype.cacheResult=De,t(Ae,et),Ae.prototype.toString=function(){return this.__toString(Ne(this)+" {","}")},Ae.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},Ae.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},Ae.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=Pe(this,St()))},Ae.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+Ne(this));var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:Pe(this,n)},Ae.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:Pe(this,e)},Ae.prototype.wasAltered=function(){return this._map.wasAltered()},Ae.prototype.__iterator=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterator(t,e)},Ae.prototype.__iterate=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterate(t,e)},Ae.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?Pe(this,e,t):(this.__ownerID=t,this._map=e,this)};var $n=Ae.prototype;$n.delete=$n.remove,$n.deleteIn=$n.removeIn=Kn.removeIn,$n.merge=Kn.merge,$n.mergeWith=Kn.mergeWith,$n.mergeIn=Kn.mergeIn,$n.mergeDeep=Kn.mergeDeep,$n.mergeDeepWith=Kn.mergeDeepWith,$n.mergeDeepIn=Kn.mergeDeepIn,$n.setIn=Kn.setIn,$n.update=Kn.update,$n.updateIn=Kn.updateIn,$n.withMutations=Kn.withMutations,$n.asMutable=Kn.asMutable,$n.asImmutable=Kn.asImmutable,t(Fe,rt),Fe.of=function(){return this(arguments)},Fe.fromKeys=function(t){return this(n(t).keySeq())},Fe.prototype.toString=function(){return this.__toString("Set {","}")},Fe.prototype.has=function(t){return this._map.has(t)},Fe.prototype.add=function(t){return ze(this,this._map.set(t,!0))},Fe.prototype.remove=function(t){return ze(this,this._map.remove(t))},Fe.prototype.clear=function(){return ze(this,this._map.clear())},Fe.prototype.union=function(){var t=sn.call(arguments,0);return t=t.filter(function(t){return 0!==t.size}),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations(function(e){for(var n=0;n<t.length;n++)o(t[n]).forEach(function(t){return e.add(t)})}):this.constructor(t[0])},Fe.prototype.intersect=function(){var t=sn.call(arguments,0);if(0===t.length)return this;t=t.map(function(t){return o(t)});var e=this;return this.withMutations(function(n){e.forEach(function(e){t.every(function(t){return t.includes(e)})||n.remove(e)})})},Fe.prototype.subtract=function(){var t=sn.call(arguments,0);if(0===t.length)return this;t=t.map(function(t){return o(t)});var e=this;return this.withMutations(function(n){e.forEach(function(e){t.some(function(t){return t.includes(e)})&&n.remove(e)})})},Fe.prototype.merge=function(){return this.union.apply(this,arguments)},Fe.prototype.mergeWith=function(t){var e=sn.call(arguments,1);return this.union.apply(this,e)},Fe.prototype.sort=function(t){return je(be(this,t))},Fe.prototype.sortBy=function(t,e){return je(be(this,e,t))},Fe.prototype.wasAltered=function(){return this._map.wasAltered()},Fe.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate(function(e,r){return t(r,r,n)},e)},Fe.prototype.__iterator=function(t,e){return this._map.map(function(t,e){return e}).__iterator(t,e)},Fe.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)},Fe.isSet=Be;var Qn="@@__IMMUTABLE_SET__@@",Zn=Fe.prototype;Zn[Qn]=!0,Zn.delete=Zn.remove,Zn.mergeDeep=Zn.merge,Zn.mergeDeepWith=Zn.mergeWith,Zn.withMutations=Kn.withMutations,Zn.asMutable=Kn.asMutable,Zn.asImmutable=Kn.asImmutable,Zn.__empty=Ke,Zn.__make=Ue;var tr;t(je,Fe),je.of=function(){return this(arguments)},je.fromKeys=function(t){return this(n(t).keySeq())},je.prototype.toString=function(){return this.__toString("OrderedSet {","}")},je.isOrderedSet=He;var er=je.prototype;er[pn]=!0,er.__empty=We,er.__make=qe;var nr;t(Ve,nt),Ve.of=function(){return this(arguments)},Ve.prototype.toString=function(){return this.__toString("Stack [","]")},Ve.prototype.get=function(t,e){var n=this._head;for(t=y(this,t);n&&t--;)n=n.next;return n?n.value:e},Ve.prototype.peek=function(){return this._head&&this._head.value},Ve.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):Ge(t,e)},Ve.prototype.pushAll=function(t){if(t=r(t),0===t.size)return this;lt(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):Ge(e,n)},Ve.prototype.pop=function(){return this.slice(1)},Ve.prototype.unshift=function(){return this.push.apply(this,arguments)},Ve.prototype.unshiftAll=function(t){return this.pushAll(t)},Ve.prototype.shift=function(){return this.pop.apply(this,arguments)},Ve.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):Xe()},Ve.prototype.slice=function(t,e){if(v(t,e,this.size))return this;var n=_(t,this.size);if(m(e,this.size)!==this.size)return nt.prototype.slice.call(this,t,e);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Ge(r,o)},Ve.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ge(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Ve.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},Ve.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new w(function(){if(r){var e=r.value;return r=r.next,S(t,n++,e)}return k()})},Ve.isStack=Je;var rr="@@__IMMUTABLE_STACK__@@",or=Ve.prototype;or[rr]=!0,or.withMutations=Kn.withMutations,or.asMutable=Kn.asMutable,or.asImmutable=Kn.asImmutable,or.wasAltered=Kn.wasAltered;var ir;e.Iterator=w,Ye(e,{toArray:function(){lt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate(function(e,n){t[n]=e}),t},toIndexedSeq:function(){return new oe(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 re(this,!0)},toMap:function(){return ft(this.toKeyedSeq())},toObject:function(){lt(this.size);var t={};return this.__iterate(function(e,n){t[n]=e}),t},toOrderedMap:function(){return Qt(this.toKeyedSeq())},toOrderedSet:function(){return je(a(this)?this.valueSeq():this)},toSet:function(){return Fe(a(this)?this.valueSeq():this)},toSetSeq:function(){return new ie(this)},toSeq:function(){return u(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Ve(a(this)?this.valueSeq():this)},toList:function(){return zt(a(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(){return Ee(this,ge(this,sn.call(arguments,0)))},includes:function(t){return this.some(function(e){return X(e,t)})},entries:function(){return this.__iterator(wn)},every:function(t,e){lt(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 Ee(this,le(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 lt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){lt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate(function(r){n?n=!1:e+=t,e+=null!==r&&void 0!==r?r.toString():""}),e},keys:function(){return this.__iterator(mn)},map:function(t,e){return Ee(this,se(this,t,e))},reduce:function(t,e,n){lt(this.size);var r,o;return 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 Ee(this,ce(this,!0))},slice:function(t,e){return Ee(this,de(this,t,e,!0))},some:function(t,e){return!this.every(Ze(t),e)},sort:function(t){return Ee(this,be(this,t))},values:function(){return this.__iterator(bn)},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 h(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return fe(this,t,e)},equals:function(t){return Y(this,t)},entrySeq:function(){var t=this;if(t._cache)return new P(t._cache);var e=t.toSeq().map(Qe).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Ze(t),e)},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},first:function(){return this.find(g)},flatMap:function(t,e){return Ee(this,_e(this,t,e))},flatten:function(t){return Ee(this,ve(this,t,!0))},fromEntrySeq:function(){return new ae(this)},get:function(t,e){return this.find(function(e,n){return X(n,t)},void 0,e)},getIn:function(t,e){for(var n,r=this,o=Ie(t);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,gn):gn)===gn)return e}return r},groupBy:function(t,e){return pe(this,t,e)},has:function(t){return this.get(t,gn)!==gn},hasIn:function(t){return this.getIn(t,gn)!==gn},isSubset:function(t){return t="function"==typeof t.includes?t:e(t),this.every(function(e){return t.includes(e)})},isSuperset:function(t){return t="function"==typeof t.isSubset?t:e(t),t.isSubset(this)},keySeq:function(){return this.toSeq().map($e).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return we(this,t)},maxBy:function(t,e){return we(this,e,t)},min:function(t){return we(this,t?tn(t):rn)},minBy:function(t,e){return we(this,e?tn(e):rn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Ee(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Ee(this,ye(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Ze(t),e)},sortBy:function(t,e){return Ee(this,be(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Ee(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Ee(this,he(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Ze(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=on(this))}});var ar=e.prototype;ar[cn]=!0,ar[En]=ar.values,ar.__toJS=ar.toArray,ar.__toStringMapper=en,ar.inspect=ar.toSource=function(){return this.toString()},ar.chain=ar.flatMap,ar.contains=ar.includes,function(){try{Object.defineProperty(ar,"length",{get:function(){if(!e.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){}}(),Ye(n,{flip:function(){return Ee(this,ue(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 X(e,t)})},lastKeyOf:function(t){return this.findLastKey(function(e){return X(e,t)})},mapEntries:function(t,e){var n=this,r=0;return Ee(this,this.toSeq().map(function(o,i){return t.call(e,[i,o],r++,n)}).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Ee(this,this.toSeq().flip().map(function(r,o){return t.call(e,r,o,n)}).flip())}});var ur=n.prototype;return ur[ln]=!0,ur[En]=ar.entries,ur.__toJS=ar.toObject,ur.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+en(t)},Ye(r,{toKeyedSeq:function(){return new re(this,!1)},filter:function(t,e){return Ee(this,le(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 Ee(this,ce(this,!1))},slice:function(t,e){return Ee(this,de(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=_(t,t<0?this.count():this.size);var r=this.slice(0,t);return Ee(this,1===n?r:r.concat(d(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 Ee(this,ve(this,t,!1))},get:function(t,e){return t=y(this,t),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=y(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Ee(this,me(this,t))},interleave:function(){var t=[this].concat(d(arguments)),e=ke(this.toSeq(),I.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Ee(this,n)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Ee(this,ye(this,t,e,!1))},zip:function(){return Ee(this,ke(this,nn,[this].concat(d(arguments))))},zipWith:function(t){var e=d(arguments);return e[0]=this,Ee(this,ke(this,t,e))}}),r.prototype[fn]=!0,r.prototype[pn]=!0,Ye(o,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=ar.includes,Ye(M,n.prototype),Ye(I,r.prototype),Ye(A,o.prototype),Ye(et,n.prototype),Ye(nt,r.prototype),Ye(rt,o.prototype),{Iterable:e,Seq:D,Collection:tt,Map:ft,OrderedMap:Qt,List:zt,Stack:Ve,Set:Fe,OrderedSet:je,Record:Ae,Range:Z,Repeat:$,is:X,fromJS:W}})},function(t,e,n){"use strict";function r(t){return o(t).replace(i,"-ms-")}var o=n(96),i=/^ms-/;t.exports=r},function(t,e,n){"use strict";function r(t){for(var e=arguments.length-1,n="Minified React error #"+t+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+t,r=0;r<e;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);throw e=Error(n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."),e.name="Invariant Violation",e.framesToPop=1,e}function o(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function i(t,e){return(t&e)===e}function a(t){if("boolean"==typeof t||"number"==typeof t)return""+t;t=""+t;var e=E.exec(t);if(e){var n,r="",o=0;for(n=e.index;n<t.length;n++){switch(t.charCodeAt(n)){case 34:e="&quot;";break;case 38:e="&amp;";break;case 39:e="&#x27;";break;case 60:e="&lt;";break;case 62:e="&gt;";break;default:continue}o!==n&&(r+=t.substring(o,n)),o=n+1,r+=e}t=o!==n?r+t.substring(o,n):r}return t}function u(t){return!!O.hasOwnProperty(t)||!x.hasOwnProperty(t)&&(C.test(t)?O[t]=!0:(x[t]=!0,!1))}function s(t){return"string"==typeof t?t:"function"==typeof t?t.displayName||t.name:null}function c(t){var e="";return y.Children.forEach(t,function(t){null==t||"string"!=typeof t&&"number"!=typeof t||(e+=t)}),e}function l(t,e){if(t=t.contextTypes){var n,r={};for(n in t)r[n]=e[n];e=r}else e=g;return e}function f(t,e){void 0===t&&r("152",s(e)||"Component")}function p(t,e){for(;y.isValidElement(t);){var n=t.type;if("function"!=typeof n)break;var o=l(n,e),i=[],a=!1,u={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===i)return null},enqueueReplaceState:function(t,e){a=!0,i=[e]},enqueueSetState:function(t,e){if(null===i)return null;i.push(e)}};if(n.prototype&&n.prototype.isReactComponent)var c=new n(t.props,o,u);else if(null==(c=n(t.props,o,u))||null==c.render){t=c,f(t,n);continue}if(c.props=t.props,c.context=o,c.updater=u,u=c.state,void 0===u&&(c.state=u=null),c.componentWillMount)if(c.componentWillMount(),i.length){u=i;var p=a;if(i=null,a=!1,p&&1===u.length)c.state=u[0];else{var d=p?u[0]:c.state,g=!0;for(p=p?1:0;p<u.length;p++){var v=u[p];(v="function"==typeof v?v.call(c,d,t.props,o):v)&&(g?(g=!1,d=h({},d,v)):h(d,v))}c.state=d}}else i=null;if(t=c.render(),f(t,n),"function"==typeof c.getChildContext){o=n.childContextTypes,"object"!=typeof o&&r("107",s(n)||"Unknown");var _=c.getChildContext();for(var m in _)m in o||r("108",s(n)||"Unknown",m)}_&&(e=h({},e,_))}return{child:t,context:e}}function d(t){return t[1].toUpperCase()}var h=n(11);n(0);var y=n(3),g=n(54),v=n(315),_=n(97),m={Namespaces:{html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"},getIntrinsicNamespace:o,getChildNamespace:function(t,e){return null==t||"http://www.w3.org/1999/xhtml"===t?o(e):"http://www.w3.org/2000/svg"===t&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":t}},b={children:!0,dangerouslySetInnerHTML:!0,autoFocus:!0,defaultValue:!0,defaultChecked:!0,innerHTML:!0,suppressContentEditableWarning:!0,style:!0},w={MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,HAS_STRING_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(t){var e=w,n=t.Properties||{},o=t.DOMAttributeNamespaces||{},a=t.DOMAttributeNames||{};t=t.DOMMutationMethods||{};for(var u in n){S.properties.hasOwnProperty(u)&&r("48",u);var s=u.toLowerCase(),c=n[u];s={attributeName:s,attributeNamespace:null,propertyName:u,mutationMethod:null,mustUseProperty:i(c,e.MUST_USE_PROPERTY),hasBooleanValue:i(c,e.HAS_BOOLEAN_VALUE),hasNumericValue:i(c,e.HAS_NUMERIC_VALUE),hasPositiveNumericValue:i(c,e.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:i(c,e.HAS_OVERLOADED_BOOLEAN_VALUE),hasStringBooleanValue:i(c,e.HAS_STRING_BOOLEAN_VALUE)},1>=s.hasBooleanValue+s.hasNumericValue+s.hasOverloadedBooleanValue||r("50",u),a.hasOwnProperty(u)&&(s.attributeName=a[u]),o.hasOwnProperty(u)&&(s.attributeNamespace=o[u]),t.hasOwnProperty(u)&&(s.mutationMethod=t[u]),S.properties[u]=s}}},S={ID_ATTRIBUTE_NAME:"data-reactid",ROOT_ATTRIBUTE_NAME:"data-reactroot",ATTRIBUTE_NAME_START_CHAR:":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ATTRIBUTE_NAME_CHAR:":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",properties:{},shouldSetAttribute:function(t,e){if(S.isReservedProp(t)||!("o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1]))return!1;if(null===e)return!0;switch(typeof e){case"boolean":return S.shouldAttributeAcceptBooleanValue(t);case"undefined":case"number":case"string":case"object":return!0;default:return!1}},getPropertyInfo:function(t){return S.properties.hasOwnProperty(t)?S.properties[t]:null},shouldAttributeAcceptBooleanValue:function(t){if(S.isReservedProp(t))return!0;var e=S.getPropertyInfo(t);return e?e.hasBooleanValue||e.hasStringBooleanValue||e.hasOverloadedBooleanValue:"data-"===(t=t.toLowerCase().slice(0,5))||"aria-"===t},isReservedProp:function(t){return b.hasOwnProperty(t)},injection:w},k=S,E=/["'&<>]/,C=new RegExp("^["+k.ATTRIBUTE_NAME_START_CHAR+"]["+k.ATTRIBUTE_NAME_CHAR+"]*$"),x={},O={},T={createMarkupForID:function(t){return k.ID_ATTRIBUTE_NAME+'="'+a(t)+'"'},createMarkupForRoot:function(){return k.ROOT_ATTRIBUTE_NAME+'=""'},createMarkupForProperty:function(t,e){var n=k.getPropertyInfo(t);if(n){if(null==e||n.hasBooleanValue&&!e||n.hasNumericValue&&isNaN(e)||n.hasPositiveNumericValue&&1>e||n.hasOverloadedBooleanValue&&!1===e)return"";var r=n.attributeName;if(n.hasBooleanValue||n.hasOverloadedBooleanValue&&!0===e)return r+'=""';if("boolean"!=typeof e||k.shouldAttributeAcceptBooleanValue(t))return r+'="'+a(e)+'"'}else if(k.shouldSetAttribute(t,e))return null==e?"":t+'="'+a(e)+'"';return null},createMarkupForCustomAttribute:function(t,e){return u(t)&&null!=e?t+'="'+a(e)+'"':""}},D={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},M=h({menuitem:!0},D),I={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},A=["Webkit","ms","Moz","O"];Object.keys(I).forEach(function(t){A.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),I[e]=I[t]})});var P=m.Namespaces,N=m.getIntrinsicNamespace,R=m.getChildNamespace,L=y.Children.toArray,F={listing:!0,pre:!0,textarea:!0},B=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,z={},U=_(function(t){return v(t)}),K={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},j=function(){function t(e,n){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");e=y.isValidElement(e)?[e]:L(e),this.stack=[{domNamespace:P.html,children:e,childIndex:0,context:g,footer:""}],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=n}return t.prototype.read=function(t){if(this.exhausted)return null;for(var e="";e.length<t;){if(0===this.stack.length){this.exhausted=!0;break}var n=this.stack[this.stack.length-1];if(n.childIndex>=n.children.length)e+=n.footer,this.previousWasTextNode=!1,this.stack.pop(),"select"===n.tag&&(this.currentSelectValue=null);else{var r=n.children[n.childIndex++];e+=this.render(r,n.context,n.domNamespace)}}return e},t.prototype.render=function(t,e,n){return"string"==typeof t||"number"==typeof t?""===(n=""+t)?"":this.makeStaticMarkup?a(n):this.previousWasTextNode?"\x3c!-- --\x3e"+a(n):(this.previousWasTextNode=!0,a(n)):(e=p(t,e),t=e.child,e=e.context,null===t||!1===t?"":y.isValidElement(t)?this.renderDOM(t,e,n):(t=L(t),this.stack.push({domNamespace:n,children:t,childIndex:0,context:e,footer:""}),""))},t.prototype.renderDOM=function(t,e,n){var o=t.type.toLowerCase();n===P.html&&N(o),z.hasOwnProperty(o)||(B.test(o)||r("65",o),z[o]=!0);var i=t.props;if("input"===o)i=h({type:void 0},i,{defaultChecked:void 0,defaultValue:void 0,value:null!=i.value?i.value:i.defaultValue,checked:null!=i.checked?i.checked:i.defaultChecked});else if("textarea"===o){var u=i.value;if(null==u){u=i.defaultValue;var s=i.children;null!=s&&(null!=u&&r("92"),Array.isArray(s)&&(1>=s.length||r("93"),s=s[0]),u=""+s),null==u&&(u="")}i=h({},i,{value:void 0,children:""+u})}else if("select"===o)this.currentSelectValue=null!=i.value?i.value:i.defaultValue,i=h({},i,{value:void 0});else if("option"===o){s=this.currentSelectValue;var l=c(i.children);if(null!=s){var f=null!=i.value?i.value+"":l;if(u=!1,Array.isArray(s)){for(var p=0;p<s.length;p++)if(""+s[p]===f){u=!0;break}}else u=""+s===f;i=h({selected:void 0,children:void 0},i,{selected:u,children:l})}}(u=i)&&(M[o]&&(null!=u.children||null!=u.dangerouslySetInnerHTML)&&r("137",o,""),null!=u.dangerouslySetInnerHTML&&(null!=u.children&&r("60"),"object"==typeof u.dangerouslySetInnerHTML&&"__html"in u.dangerouslySetInnerHTML||r("61")),null!=u.style&&"object"!=typeof u.style&&r("62","")),u=i,s=this.makeStaticMarkup,l=1===this.stack.length,f="<"+t.type;for(m in u)if(u.hasOwnProperty(m)){var d=u[m];if(null!=d){if("style"===m){p=void 0;var y="",g="";for(p in d)if(d.hasOwnProperty(p)){var v=0===p.indexOf("--"),_=d[p];null!=_&&(y+=g+U(p)+":",g=p,v=null==_||"boolean"==typeof _||""===_?"":v||"number"!=typeof _||0===_||I.hasOwnProperty(g)&&I[g]?(""+_).trim():_+"px",y+=v,g=";")}d=y||null}p=null;t:if(v=o,_=u,-1===v.indexOf("-"))v="string"==typeof _.is;else switch(v){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":v=!1;break t;default:v=!0}v?K.hasOwnProperty(m)||(p=T.createMarkupForCustomAttribute(m,d)):p=T.createMarkupForProperty(m,d),p&&(f+=" "+p)}}s||l&&(f+=" "+T.createMarkupForRoot());var m=f;u="",D.hasOwnProperty(o)?m+="/>":(m+=">",u="</"+t.type+">");t:{if(null!=(s=i.dangerouslySetInnerHTML)){if(null!=s.__html){s=s.__html;break t}}else if("string"==typeof(s=i.children)||"number"==typeof s){s=a(s);break t}s=null}return null!=s?(i=[],F[o]&&"\n"===s.charAt(0)&&(m+="\n"),m+=s):i=L(i.children),t={domNamespace:R(n,t.type),tag:o,children:i,childIndex:0,context:e,footer:u},this.stack.push(t),m},t}(),H={renderToString:function(t){return new j(t,!1).read(1/0)},renderToStaticMarkup:function(t){return new j(t,!0).read(1/0)}},q=k.injection.MUST_USE_PROPERTY,W=k.injection.HAS_BOOLEAN_VALUE,V=k.injection.HAS_NUMERIC_VALUE,J=k.injection.HAS_POSITIVE_NUMERIC_VALUE,G=k.injection.HAS_STRING_BOOLEAN_VALUE,X={Properties:{allowFullScreen:W,allowTransparency:G,async:W,autoPlay:W,capture:W,checked:q|W,cols:J,contentEditable:G,controls:W,default:W,defer:W,disabled:W,download:k.injection.HAS_OVERLOADED_BOOLEAN_VALUE,draggable:G,formNoValidate:W,hidden:W,loop:W,multiple:q|W,muted:q|W,noValidate:W,open:W,playsInline:W,readOnly:W,required:W,reversed:W,rows:J,rowSpan:V,scoped:W,seamless:W,selected:q|W,size:J,start:V,span:J,spellCheck:G,style:0,itemScope:W,acceptCharset:0,className:0,htmlFor:0,httpEquiv:0,value:G},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMMutationMethods:{value:function(t,e){if(null==e)return t.removeAttribute("value");"number"!==t.type||!1===t.hasAttribute("value")?t.setAttribute("value",""+e):t.validity&&!t.validity.badInput&&t.ownerDocument.activeElement!==t&&t.setAttribute("value",""+e)}}},Y=k.injection.HAS_STRING_BOOLEAN_VALUE,$={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},Q={Properties:{autoReverse:Y,externalResourcesRequired:Y,preserveAlpha:Y},DOMAttributeNames:{autoReverse:"autoReverse",externalResourcesRequired:"externalResourcesRequired",preserveAlpha:"preserveAlpha"},DOMAttributeNamespaces:{xlinkActuate:$.xlink,xlinkArcrole:$.xlink,xlinkHref:$.xlink,xlinkRole:$.xlink,xlinkShow:$.xlink,xlinkTitle:$.xlink,xlinkType:$.xlink,xmlBase:$.xml,xmlLang:$.xml,xmlSpace:$.xml}},Z=/[\-\:]([a-z])/g;"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode x-height xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type xml:base xmlns:xlink xml:lang xml:space".split(" ").forEach(function(t){var e=t.replace(Z,d);Q.Properties[e]=0,Q.DOMAttributeNames[e]=t}),k.injection.injectDOMPropertyConfig(X),k.injection.injectDOMPropertyConfig(Q),t.exports={renderToString:H.renderToString,renderToStaticMarkup:H.renderToStaticMarkup,renderToNodeStream:function(){r("207")},renderToStaticNodeStream:function(){r("208")},version:"16.0.0"}}])});
16
7
  //# sourceMappingURL=Dante2.min.js.map