dante2-editor 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/demo/assets/index.html +1 -1
- data/demo/assets/license.html +1 -1
- data/demo/assets/options.html +1 -1
- data/dist/Dante2.js +4 -2
- data/dist/Dante2.min.js +1 -1
- data/dist/Dante2.min.js.map +1 -1
- data/dist/DanteStyles.min.js.map +1 -1
- data/dist/dante-vendors.min.js.map +1 -1
- data/docs/dante-vendors.js.map +1 -1
- data/docs/dante.js +4 -2
- data/docs/dante.js.map +1 -1
- data/docs/doc.html +1 -1
- data/docs/index.html +1 -1
- data/docs/license.html +1 -1
- data/docs/options.html +1 -1
- data/package.json +1 -1
- data/rb_lib/dante2-editor/version.rb +1 -1
- data/src/components/popovers/addButton.js +5 -2
- metadata +1 -1
data/dist/Dante2.min.js
CHANGED
@@ -3,5 +3,5 @@ object-assign
|
|
3
3
|
(c) Sindre Sorhus
|
4
4
|
@license MIT
|
5
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(" ","g"),z=new RegExp(" ?","g"),U=new RegExp("​?","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=""";break;case 38:n="&";break;case 39:n="'";break;case 60:n="<";break;case 62:n=">";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(" ","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={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\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=""";break;case 38:e="&";break;case 39:e="'";break;case 60:e="<";break;case 62:e=">";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"}}])});
|
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(" ","g"),z=new RegExp(" ?","g"),U=new RegExp("​?","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=""";break;case 38:n="&";break;case 39:n="'";break;case 60:n="<";break;case 62:n=">";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();if(!this.isDescendant(c,a.anchorNode))return void this.hide();if(!s)return;return this.display(0===i.getText().length&&"unstyled"===n),this.setPosition({top:s.top+window.pageYOffset,left:s.left+window.pageXOffset-60})}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(" ","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={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\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=""";break;case 38:e="&";break;case 39:e="'";break;case 60:e="<";break;case 62:e=">";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"}}])});
|
7
7
|
//# sourceMappingURL=Dante2.min.js.map
|