1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8821],{85490:function(e,t,r){"use strict";function ownKeys(e,t){var r=Object.keys(e);return Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(e)),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(r,!0).forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(r).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}r.d(t,{E:function(){return stateToHTML}});var n,i,o,helpers_combineOrderedStyles=function(e,t){if(null==e)return t;for(var r=function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}(),n=r[0],i=r[1],o=_objectSpread({},n),a=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(i)||function(e){if((Symbol.iterator in Object(e))||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(i)||function(){throw TypeError("Invalid attempt to spread non-iterable instance")}(),s=0,u=Object.keys(e);s<u.length;s++){var c=u[s];if(n.hasOwnProperty(c)){var l=n[c];o[c]=_objectSpread({},l,{},e[c])}else o[c]=e[c],a.push(c)}return[o,a]},a={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},helpers_normalizeAttributes=function(e){if(null==e)return e;for(var t={},r=!1,n=0,i=Object.keys(e);n<i.length;n++){var o=i[n],s=o;a.hasOwnProperty(o)&&(s=a[o],r=!0),t[s]=e[o]}return r?t:e},s=/^(moz|ms|o|webkit)-/,u=/^\d+$/,c=/([A-Z])/g,l={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,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},helpers_styleToCSS=function(e){return Object.keys(e).map(function(t){var r,n,i=("string"==typeof(r=e[t])?n=u.test(r):(n=!0,r=String(r)),n&&"0"!==r&&!0!==l[t])?r+"px":r,o=t.replace(c,"-$1").toLowerCase().replace(s,"-$1-");return"".concat(o,": ").concat(i)}).join("; ")},f={HEADER_ONE:"header-one",HEADER_TWO:"header-two",HEADER_THREE:"header-three",HEADER_FOUR:"header-four",HEADER_FIVE:"header-five",HEADER_SIX:"header-six",UNORDERED_LIST_ITEM:"unordered-list-item",ORDERED_LIST_ITEM:"ordered-list-item",BLOCKQUOTE:"blockquote",CODE:"code-block",ATOMIC:"atomic"},p={LINK:"LINK",IMAGE:"IMAGE"},d={BOLD:"BOLD",CODE:"CODE",ITALIC:"ITALIC",STRIKETHROUGH:"STRIKETHROUGH",UNDERLINE:"UNDERLINE"},h=r(43393),g=new h.OrderedSet;function getStyleRanges(e,t){for(var r=g,n=g,i=[],o=0,a=0,s=e.length;a<s;a++){n=r;var u=t.get(a);r=u?u.getStyle():g,a>0&&!(0,h.is)(r,n)&&(i.push([e.slice(o,a),n]),o=a)}return i.push([e.slice(o),r]),i}function stateToHTML_ownKeys(e,t){var r=Object.keys(e);return Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(e)),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r}function stateToHTML_objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?stateToHTML_ownKeys(r,!0).forEach(function(t){stateToHTML_defineProperty(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):stateToHTML_ownKeys(r).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function stateToHTML_slicedToArray(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}
1(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}()}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function stateToHTML_defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r(9041);var y=d.BOLD,v=d.CODE,m=d.ITALIC,_=d.STRIKETHROUGH,S=d.UNDERLINE,b="<br>",w=/^data-([a-z0-9-]+)$/,k=(stateToHTML_defineProperty(n={},y,{element:"strong"}),stateToHTML_defineProperty(n,v,{element:"code"}),stateToHTML_defineProperty(n,m,{element:"em"}),stateToHTML_defineProperty(n,_,{element:"del"}),stateToHTML_defineProperty(n,S,{element:"u"}),n),x=[y,m,S,_,v],E=(stateToHTML_defineProperty(i={},p.LINK,{url:"href",href:"href",rel:"rel",target:"target",title:"title",className:"class"}),stateToHTML_defineProperty(i,p.IMAGE,{src:"src",height:"height",width:"width",alt:"alt",className:"class"}),i),C=(stateToHTML_defineProperty(o={},p.LINK,function(e,t){for(var r=E.hasOwnProperty(e)?E[e]:{},n=t.getData(),i={},o=0,a=Object.keys(n);o<a.length;o++){var s=a[o],u=n[s];r.hasOwnProperty(s)?i[r[s]]=u:w.test(s)&&(i[s]=u)}return i}),stateToHTML_defineProperty(o,p.IMAGE,function(e,t){for(var r=E.hasOwnProperty(e)?E[e]:{},n=t.getData(),i={},o=0,a=Object.keys(n);o<a.length;o++){var s=a[o],u=n[s];r.hasOwnProperty(s)?i[r[s]]=u:w.test(s)&&(i[s]=u)}return i}),o);function getTags(e,t){switch(e){case f.HEADER_ONE:return["h1"];case f.HEADER_TWO:return["h2"];case f.HEADER_THREE:return["h3"];case f.HEADER_FOUR:return["h4"];case f.HEADER_FIVE:return["h5"];case f.HEADER_SIX:return["h6"];case f.UNORDERED_LIST_ITEM:case f.ORDERED_LIST_ITEM:return["li"];case f.BLOCKQUOTE:return["blockquote"];case f.CODE:return["pre","code"];case f.ATOMIC:return["figure"];default:if(null===t)return[];return[t||"p"]}}var I=function(){var e,t;function MarkupGenerator(e,t){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,MarkupGenerator),stateToHTML_defineProperty(this,"blocks",void 0),stateToHTML_defineProperty(this,"contentState",void 0),stateToHTML_defineProperty(this,"currentBlock",void 0),stateToHTML_defineProperty(this,"indentLevel",void 0),stateToHTML_defineProperty(this,"output",void 0),stateToHTML_defineProperty(this,"totalBlocks",void 0),stateToHTML_defineProperty(this,"wrapperTag",void 0),stateToHTML_defineProperty(this,"options",void 0),stateToHTML_defineProperty(this,"inlineStyles",void 0),stateToHTML_defineProperty(this,"inlineStyleFn",void 0),stateToHTML_defineProperty(this,"styleOrder",void 0),null==t&&(t={}),this.contentState=e,this.options=t;var r=stateToHTML_slicedToArray(helpers_combineOrderedStyles(t.inlineStyles,[k,x]),2),n=r[0],i=r[1];this.inlineStyles=n,this.inlineStyleFn=t.inlineStyleFn,this.styleOrder=i}return e=[{key:"generate",value:function(){for(this.output=[],this.blocks=this.contentState.getBlocksAsArray(),this.totalBlocks=this.blocks.length,this.currentBlock=0,this.indentLevel=0,this.wrapperTag=null;this.currentBlock<this.totalBlocks;)this.processBlock();return this.closeWrapperTag(),this.output.join("").trim()}},{key:"processBlock",value:function(){var e=this.options,t=e.blockRenderers,r=e.defaultBlockTag,n=this.blocks[this.currentBlock],i=n.getType(),o=function(e){switch(e){case f.UNORDERED_LIST_ITEM:return"ul";case f.ORDERED_LIST_ITEM:return"ol";default:return null}}(i);this.wrapperTag!==o&&(this.wrapperTag&&this.closeWrapperTag(),o&&this.openWrapperTag(o)),this.indent();var a=null!=t&&t.hasOwnProperty(i)?t[i]:null,s=a?a(n):null;if(null!=s){this.output.push(s),this.output.push("\n"),this.currentBlock+=1;return}this.writeStartTag(n,r),this.output.push(this.renderBlockContent(n));var u=this.getNextBlock();if(function(e){switch(e){case f.UNORDERED_LIST_ITEM:case f.ORDERED_LIST_ITEM:return!0;default:return!1}}(i)&&u&&u.getDepth()===n.getDepth()+1){this.output.push("\n");var c=this.wrapperTag;this.wrapperTag=null,this.indentLevel+=1,this.currentBlock+=1,this.processBlocksAtDepth(u.getDepth()),this.wrapperTag=c,this.indentLevel-=1,this.indent()}else this.currentBlock+=1;this.writeEndTag(n,r)}},{key:"processBlocksAtDepth",value:function(e){for(var t=this.blocks[this.currentBlock];t&&t.getDepth()===e;)this.processBlock(),t=this.blocks[this.currentBlock];this.closeWrapperTag()}},{key:"getNextBlock",value:function(){return this.blocks[this.currentBlock+1]}},{key:"writeStartTag",value:function(e,t){var r=getTags(e.getType(),t);if(this.options.blockStyleFn){var n=this.options.blockStyleFn(e)||{},i=n.attributes,o=n.style;if(i=helpers_normalizeAttributes(i),null!=o){var a=helpers_styleToCSS(o);i=null==i?{style:a}:stateToHTML_objectSpread({},i,{style:a})}l=stringifyAttrs(i)}else l="";
1var s=!0,u=!1,c=void 0;try{for(var l,f,p=r[Symbol.iterator]();!(s=(f=p.next()).done);s=!0){var d=f.value;this.output.push("<".concat(d).concat(l,">"))}}catch(e){u=!0,c=e}finally{try{s||null==p.return||p.return()}finally{if(u)throw c}}}},{key:"writeEndTag",value:function(e,t){var r=getTags(e.getType(),t);if(1===r.length)this.output.push("</".concat(r[0],">\n"));else{var n=[],i=!0,o=!1,a=void 0;try{for(var s,u=r[Symbol.iterator]();!(i=(s=u.next()).done);i=!0){var c=s.value;n.unshift("</".concat(c,">"))}}catch(e){o=!0,a=e}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}this.output.push(n.join("")+"\n")}}},{key:"openWrapperTag",value:function(e){this.wrapperTag=e,this.indent(),this.output.push("<".concat(e,">\n")),this.indentLevel+=1}},{key:"closeWrapperTag",value:function(){var e=this.wrapperTag;e&&(this.indentLevel-=1,this.indent(),this.output.push("</".concat(e,">\n")),this.wrapperTag=null)}},{key:"indent",value:function(){this.output.push(" ".repeat(this.indentLevel))}},{key:"withCustomInlineStyles",value:function(e,t){if(!this.inlineStyleFn)return e;var r=this.inlineStyleFn(t);if(!r)return e;var n=r.element,i=void 0===n?"span":n,o=r.attributes,a=r.style,s=stringifyAttrs(stateToHTML_objectSpread({},o,{style:a&&helpers_styleToCSS(a)}));return"<".concat(i).concat(s,">").concat(e,"</").concat(i,">")}},{key:"renderBlockContent",value:function(e){var t=this,r=e.getType(),n=e.getText();return""===n?b:(function(e,t){for(var r=null,n=null,i=[],o=0,a=0,s=e.length;a<s;a++){n=r;var u=t.get(a);r=u?u.getEntity():null,a>0&&r!==n&&(i.push([n,getStyleRanges(e.slice(o,a),t.slice(o,a))]),o=a)}return i.push([r,getStyleRanges(e.slice(o),t.slice(o))]),i})(n=this.preserveWhitespace(n),e.getCharacterList()).map(function(e){var n,i=stateToHTML_slicedToArray(e,2),o=i[0],a=i[1].map(function(e){var n=stateToHTML_slicedToArray(e,2),i=n[0],o=n[1],a=i.split("&").join("&").split("<").join("<").split(">").join(">").split("\xa0").join(" ").split("\n").join(b+"\n"),s=!0,u=!1,c=void 0;try{for(var l,p=t.styleOrder[Symbol.iterator]();!(s=(l=p.next()).done);s=!0){var d=l.value;if((d!==v||r!==f.CODE)&&o.has(d)){var h=t.inlineStyles[d],g=h.element,y=h.attributes,m=h.style;if(null==g&&(g="span"),y=helpers_normalizeAttributes(y),null!=m){var _=helpers_styleToCSS(m);y=null==y?{style:_}:stateToHTML_objectSpread({},y,{style:_})}var S=stringifyAttrs(y);a="<".concat(g).concat(S,">").concat(a,"</").concat(g,">")}}}catch(e){u=!0,c=e}finally{try{s||null==p.return||p.return()}finally{if(u)throw c}}return t.withCustomInlineStyles(a,o)}).join(""),s=o?t.contentState.getEntity(o):null,u=null==s?null:s.getType().toUpperCase();if(null!=s&&t.options.entityStyleFn&&(n=t.options.entityStyleFn(s))){var c=n,l=c.element,d=c.attributes,h=c.style;if(null==l&&(l="span"),d=helpers_normalizeAttributes(d),null!=h){var g=helpers_styleToCSS(h);d=null==d?{style:g}:stateToHTML_objectSpread({},d,{style:g})}var y=stringifyAttrs(d);return"<".concat(l).concat(y,">").concat(a,"</").concat(l,">")}if(null!=u&&u===p.LINK){var m=stringifyAttrs(C.hasOwnProperty(u)?C[u](u,s):null);return"<a".concat(m,">").concat(a,"</a>")}if(null==u||u!==p.IMAGE)return a;var _=stringifyAttrs(C.hasOwnProperty(u)?C[u](u,s):null);return"<img".concat(_,"/>")}).join("")}},{key:"preserveWhitespace",value:function(e){for(var t=e.length,r=Array(t),n=0;n<t;n++)" "===e[n]&&(0===n||n===t-1||" "===e[n-1])?r[n]="\xa0":r[n]=e[n];return r.join("")}}],_defineProperties(MarkupGenerator.prototype,e),t&&_defineProperties(MarkupGenerator,t),MarkupGenerator}();function stringifyAttrs(e){if(null==e)return"";for(var t=[],r=0,n=Object.keys(e);r<n.length;r++){var i=n[r],o=e[i];null!=o&&t.push(" ".concat(i,'="').concat((o+"").split("&").join("&").split("<").join("<").split(">").join(">").split('"').join("""),'"'))}return t.join("")}function stateToHTML(e,t){return new I(e,t).generate()}},19785:function(e,t,r){"use strict";function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}
1))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}var n=r(10329),i=r(4516),o=r(2641),a=r(67953),s=r(42307),u=r(14289),c=r(25027),l=r(68642),f=r(43393),p=r(61173),d=l("draft_tree_data_support"),h=d?a:o,g=f.List,y=f.Repeat;e.exports={insertAtomicBlock:function(e,t,r){var o=e.getCurrentContent(),a=e.getSelection(),l=s.removeRange(o,a,"backward"),f=l.getSelectionAfter(),p=s.splitBlock(l,f),v=p.getSelectionAfter(),m=s.setBlockType(p,v,"atomic"),_=i.create({entity:t}),S={key:c(),type:"atomic",text:r,characterList:g(y(_,r.length))},b={key:c(),type:"unstyled"};d&&(S=_objectSpread({},S,{nextSibling:b.key}),b=_objectSpread({},b,{prevSibling:S.key}));var w=[new h(S),new h(b)],k=n.createFromArray(w),x=s.replaceWithFragment(m,v,k),E=x.merge({selectionBefore:a,selectionAfter:x.getSelectionAfter().set("hasFocus",!0)});return u.push(e,E,"insert-fragment")},moveAtomicBlock:function(e,t,r,n){var i,o=e.getCurrentContent(),a=e.getSelection();if("before"===n||"after"===n){var c=o.getBlockForKey("before"===n?r.getStartKey():r.getEndKey());i=p(o,t,c,n)}else{var l=s.removeRange(o,r,"backward"),f=l.getSelectionAfter(),d=l.getBlockForKey(f.getFocusKey());if(0===f.getStartOffset())i=p(l,t,d,"before");else if(f.getEndOffset()===d.getLength())i=p(l,t,d,"after");else{var h=s.splitBlock(l,f),g=h.getSelectionAfter(),y=h.getBlockForKey(g.getFocusKey());i=p(h,t,y,"before")}}var v=i.merge({selectionBefore:a,selectionAfter:i.getSelectionAfter().set("hasFocus",!0)});return u.push(e,v,"move-block")}}},10329:function(e,t,r){"use strict";var n=r(43393).OrderedMap;e.exports={createFromArray:function(e){return n(e.map(function(e){return[e.getKey(),e]}))}}},34365:function(e,t,r){"use strict";var n=r(29407),i=r(96495),o=r(43393),a=o.List,s=o.Repeat,u=o.Record,returnTrue=function(){return!0},c=u({start:null,end:null}),l=u({start:null,end:null,decoratorKey:null,leaves:null});function areEqual(e,t){return e===t}e.exports={generate:function(e,t,r){var i=t.getLength();if(!i)return a.of(new l({start:0,end:0,decoratorKey:null,leaves:a.of(new c({start:0,end:0}))}));var o=[],u=r?r.getDecorations(t,e):a(s(null,i)),f=t.getCharacterList();return n(u,areEqual,returnTrue,function(e,t){var r,i;o.push(new l({start:e,end:t,decoratorKey:u.get(e),leaves:(r=f.slice(e,t).toList(),i=[],n(r.map(function(e){return e.getStyle()}).toList(),areEqual,returnTrue,function(t,r){i.push(new c({start:t+e,end:r+e}))}),a(i))}))}),a(o)},fromJS:function(e){var t=e.leaves,r=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)t.indexOf(r=o[n])>=0||(i[r]=e[r]);return i}(e,["leaves"]);return new l(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},r,{leaves:null!=t?a(Array.isArray(t)?t:i(t)).map(function(e){return c(e)}):null}))}}},4516:function(e,t,r){"use strict";var n=r(43393),i=n.Map,o=n.OrderedSet,a=n.Record,s=o(),u={style:s,entity:null},c=function(e){function CharacterMetadata(){return e.apply(this,arguments)||this}CharacterMetadata.prototype=Object.create(e.prototype),CharacterMetadata.prototype.constructor=CharacterMetadata,CharacterMetadata.__proto__=e;var t=CharacterMetadata.prototype;return t.getStyle=function(){return this.get("style")},t.getEntity=function(){return this.get("entity")},t.hasStyle=function(e){return this.getStyle().includes(e)},CharacterMetadata.applyStyle=function(e,t){var r=e.set("style",e.getStyle().add(t));return CharacterMetadata.create(r)},CharacterMetadata.removeStyle=function(e,t){var r=e.set("style",e.getStyle().remove(t));return CharacterMetadata.create(r)},CharacterMetadata.applyEntity=function(e,t){var r=e.getEntity()===t?e:e.set("entity",t);return CharacterMetadata.create(r)},CharacterMetadata.create=function(e){if(!e)return l;var t=i({style:s,entity:null}).merge(e),r=f.get(t);if(r)return r;var n=new CharacterMetadata(t);return f=f.set(t,n),n},CharacterMetadata.fromJS=function(e){var t=e.style,r=e.entity;return new CharacterMetadata({style:Array.isArray(t)?o(t):t,entity:Array.isArray(r)?o(r):r})},CharacterMetadata}(a(u)),l=new c,f=i([[i(u),l]]);c.EMPTY=l,e.exports=c},25369:function(e,t,r){"use strict";var n=r(43393).List,i=function(){function CompositeDraftDecorator(e){var t,r;r=void 0,(t="_decorators")in this?Object.defineProperty(this,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):this[t]=r,this._decorators=e.slice()}var e=CompositeDraftDecorator.prototype;return e.getDecorations=function(e,t){var r=Array(e.getText().length).fill(null);
1return this._decorators.forEach(function(n,i){var o=0;(0,n.strategy)(e,function(e,t){(function(e,t,r){for(var n=t;n<r;n++)if(null!=e[n])return!1;return!0})(r,e,t)&&(function(e,t,r,n){for(var i=t;i<r;i++)e[i]=n}(r,e,t,i+"."+o),o++)},t)}),n(r)},e.getComponentForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].component},e.getPropsForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].props},CompositeDraftDecorator}();e.exports=i},2641:function(e,t,r){"use strict";var n=r(4516),i=r(29407),o=r(43393),a=o.List,s=o.Map,u=o.OrderedSet,c=o.Record,l=o.Repeat,f=u(),p=c({key:"",type:"unstyled",text:"",characterList:a(),depth:0,data:s()}),decorateCharacterList=function(e){if(!e)return e;var t=e.characterList,r=e.text;return r&&!t&&(e.characterList=a(l(n.EMPTY,r.length))),e},d=function(e){function ContentBlock(t){return e.call(this,decorateCharacterList(t))||this}ContentBlock.prototype=Object.create(e.prototype),ContentBlock.prototype.constructor=ContentBlock,ContentBlock.__proto__=e;var t=ContentBlock.prototype;return t.getKey=function(){return this.get("key")},t.getType=function(){return this.get("type")},t.getText=function(){return this.get("text")},t.getCharacterList=function(){return this.get("characterList")},t.getLength=function(){return this.getText().length},t.getDepth=function(){return this.get("depth")},t.getData=function(){return this.get("data")},t.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():f},t.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},t.findStyleRanges=function(e,t){i(this.getCharacterList(),haveEqualStyle,e,t)},t.findEntityRanges=function(e,t){i(this.getCharacterList(),haveEqualEntity,e,t)},ContentBlock}(p);function haveEqualStyle(e,t){return e.getStyle()===t.getStyle()}function haveEqualEntity(e,t){return e.getEntity()===t.getEntity()}e.exports=d},67953:function(e,t,r){"use strict";var n=r(4516),i=r(29407),o=r(43393),a=o.List,s=o.Map,u=o.OrderedSet,c=o.Record,l=o.Repeat,f=u(),p={parent:null,characterList:a(),data:s(),depth:0,key:"",text:"",type:"unstyled",children:a(),prevSibling:null,nextSibling:null},haveEqualStyle=function(e,t){return e.getStyle()===t.getStyle()},haveEqualEntity=function(e,t){return e.getEntity()===t.getEntity()},decorateCharacterList=function(e){if(!e)return e;var t=e.characterList,r=e.text;return r&&!t&&(e.characterList=a(l(n.EMPTY,r.length))),e},d=function(e){function ContentBlockNode(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return e.call(this,decorateCharacterList(t))||this}ContentBlockNode.prototype=Object.create(e.prototype),ContentBlockNode.prototype.constructor=ContentBlockNode,ContentBlockNode.__proto__=e;var t=ContentBlockNode.prototype;return t.getKey=function(){return this.get("key")},t.getType=function(){return this.get("type")},t.getText=function(){return this.get("text")},t.getCharacterList=function(){return this.get("characterList")},t.getLength=function(){return this.getText().length},t.getDepth=function(){return this.get("depth")},t.getData=function(){return this.get("data")},t.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():f},t.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},t.getChildKeys=function(){return this.get("children")},t.getParentKey=function(){return this.get("parent")},t.getPrevSiblingKey=function(){return this.get("prevSibling")},t.getNextSiblingKey=function(){return this.get("nextSibling")},t.findStyleRanges=function(e,t){i(this.getCharacterList(),haveEqualStyle,e,t)},t.findEntityRanges=function(e,t){i(this.getCharacterList(),haveEqualEntity,e,t)},ContentBlockNode}(c(p));e.exports=d},91498:function(e,t,r){"use strict";function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}var n=r(10329),i=r(4516),o=r(2641),a=r(67953),s=r(82222),u=r(25110),c=r(25027),l=r(96495),f=r(68642),p=r(43393),d=r(55283),h=p.List,g=p.Record,y=p.Repeat,v=p.Map,m=p.OrderedMap,_=g({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),S=f("draft_tree_data_support")?a:o,b=function(e){function ContentState(){return e.apply(this,arguments)||this}ContentState.prototype=Object.create(e.prototype),ContentState.prototype.constructor=ContentState,ContentState.__proto__=e;var t=ContentState.prototype;
vendor: 5,094 bytes, line 1
1return t.getEntityMap=function(){return s},t.getBlockMap=function(){return this.get("blockMap")},t.getSelectionBefore=function(){return this.get("selectionBefore")},t.getSelectionAfter=function(){return this.get("selectionAfter")},t.getBlockForKey=function(e){return this.getBlockMap().get(e)},t.getKeyBefore=function(e){return this.getBlockMap().reverse().keySeq().skipUntil(function(t){return t===e}).skip(1).first()},t.getKeyAfter=function(e){return this.getBlockMap().keySeq().skipUntil(function(t){return t===e}).skip(1).first()},t.getBlockAfter=function(e){return this.getBlockMap().skipUntil(function(t,r){return r===e}).skip(1).first()},t.getBlockBefore=function(e){return this.getBlockMap().reverse().skipUntil(function(t,r){return r===e}).skip(1).first()},t.getBlocksAsArray=function(){return this.getBlockMap().toArray()},t.getFirstBlock=function(){return this.getBlockMap().first()},t.getLastBlock=function(){return this.getBlockMap().last()},t.getPlainText=function(e){return this.getBlockMap().map(function(e){return e?e.getText():""}).join(e||"\n")},t.getLastCreatedEntityKey=function(){return s.__getLastCreatedEntityKey()},t.hasText=function(){var e=this.getBlockMap();return e.size>1||escape(e.first().getText()).replace(/%u200B/g,"").length>0},t.createEntity=function(e,t,r){return s.__create(e,t,r),this},t.mergeEntityData=function(e,t){return s.__mergeData(e,t),this},t.replaceEntityData=function(e,t){return s.__replaceData(e,t),this},t.addEntity=function(e){return s.__add(e),this},t.getEntity=function(e){return s.__get(e)},t.getAllEntities=function(){return s.__getAll()},t.loadWithEntities=function(e){return s.__loadWithEntities(e)},ContentState.createFromBlockArray=function(e,t){var r=Array.isArray(e)?e:e.contentBlocks,i=n.createFromArray(r),o=i.isEmpty()?new u:u.createEmpty(i.first().getKey());return new ContentState({blockMap:i,entityMap:t||s,selectionBefore:o,selectionAfter:o})},ContentState.createFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,r=e.split(t).map(function(e){return e=d(e),new S({key:c(),text:e,type:"unstyled",characterList:h(y(i.EMPTY,e.length))})});return ContentState.createFromBlockArray(r)},ContentState.fromJS=function(e){return new ContentState(_objectSpread({},e,{blockMap:m(e.blockMap).map(ContentState.createContentBlockFromJS),selectionBefore:new u(e.selectionBefore),selectionAfter:new u(e.selectionAfter)}))},ContentState.createContentBlockFromJS=function(e){var t=e.characterList;return new S(_objectSpread({},e,{data:v(e.data),characterList:null!=t?h((Array.isArray(t)?t:l(t)).map(function(e){return i.fromJS(e)})):void 0}))},ContentState}(_);e.exports=b},13483:function(e,t,r){"use strict";var n=r(4516),i=r(43393).Map;function modifyInlineStyle(e,t,r,o){var a=e.getBlockMap(),s=t.getStartKey(),u=t.getStartOffset(),c=t.getEndKey(),l=t.getEndOffset(),f=a.skipUntil(function(e,t){return t===s}).takeUntil(function(e,t){return t===c}).concat(i([[c,a.get(c)]])).map(function(e,t){s===c?(i=u,a=l):(i=t===s?u:0,a=t===c?l:e.getLength());for(var i,a,f,p=e.getCharacterList();i<a;)f=p.get(i),p=p.set(i,o?n.applyStyle(f,r):n.removeStyle(f,r)),i++;return e.set("characterList",p)});return e.merge({blockMap:a.merge(f),selectionBefore:t,selectionAfter:t})}e.exports={add:function(e,t,r){return modifyInlineStyle(e,t,r,!0)},remove:function(e,t,r){return modifyInlineStyle(e,t,r,!1)}}},77907:function(e,t,r){"use strict";function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var n=r(4856),i=r(69270),o=r(48083),a=r(43393),s=r(73759),u=r(22045),c=a.Map,l={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},f=n.isBrowser("IE <= 11"),p=function(){function DOMObserver(e){var t=this;_defineProperty(this,"observer",void 0),_defineProperty(this,"container",void 0),_defineProperty(this,"mutations",void 0),_defineProperty(this,"onCharData",void 0),this.container=e,this.mutations=c();var r=o(e);r.MutationObserver&&!f?this.observer=new r.MutationObserver(function(e){return t.registerMutations(e)}):this.onCharData=function(e){e.target instanceof Node||s(!1),t.registerMutation({type:"characterData",target:e.target})}}var e=DOMObserver.prototype;return e.start=function(){this.observer?this.observer.observe(this.container,l):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},e.stopAndFlushMutations=function(){var e=this.observer;e?(this.registerMutations(e.takeRecords()),e.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var t=this.mutations;return this.mutations=c(),t},e.registerMutations=function(e){for(var t=0;t<e.length;t++)this.registerMutation(e[t])},e.getMutationTextContent=function(e){var t=e.type,r=e.target,n=e.removedNodes;if("characterData"===t){if(""!==r.textContent)return f?r.textContent.replace("\n",""):r.textContent}else if("childList"===t){if(n&&n.length)return"";if(""!==r.textContent)return r.textContent}return null},e.registerMutation=function(e){var t=this.getMutationTextContent(e);
1if(null!=t){var r=u(i(e.target));this.mutations=this.mutations.set(r,t)}},DOMObserver}();e.exports=p},526:function(e,t,r){"use strict";var n=r(67294),i=r(62620),o=(0,r(43393).Map)({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},section:{element:"section"},article:{element:"article"},"unordered-list-item":{element:"li",wrapper:n.createElement("ul",{className:i("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:n.createElement("ol",{className:i("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:n.createElement("pre",{className:i("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}});e.exports=o},37619:function(e){"use strict";e.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}},9041:function(e,t,r){"use strict";var n=r(19785),i=r(10329),o=r(4516),a=r(25369),s=r(2641),u=r(91498),c=r(526),l=r(37619),f=r(87210),p=r(37898),d=r(82222),h=r(42307),g=r(39006),y=r(14289),v=r(47387),m=r(70054),_=r(41947),S=r(25110),b=r(79981),w=r(99607),k=r(25027),x=r(41714),E=r(96629),C=r(67841);e.exports={Editor:f,EditorBlock:p,EditorState:y,CompositeDecorator:a,Entity:d,EntityInstance:g,BlockMapBuilder:i,CharacterMetadata:o,ContentBlock:s,ContentState:u,RawDraftContentState:m,SelectionState:S,AtomicBlockUtils:n,KeyBindingUtil:v,Modifier:h,RichUtils:_,DefaultDraftBlockRenderMap:c,DefaultDraftInlineStyle:l,convertFromHTML:C,convertFromRaw:w,convertToRaw:b,genKey:k,getDefaultKeyBinding:x,getVisibleSelectionRect:E}},87210:function(e,t,r){"use strict";var n=r(96086);function _extends(){return(_extends=n||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){_defineProperty(e,t,r[t])})}return e}function _assertThisInitialized(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var i=r(526),o=r(37619),a=r(33418),s=r(87791),u=r(61494),c=r(19394),l=r(4083),f=r(28094),p=r(5880),d=r(14289),h=r(67294),g=r(65994),y=r(19051),v=r(4856),m=r(62620),_=r(25027),S=r(41714),b=r(79749),w=r(68642),k=r(73759),x=r(20717),E=r(22045),C=v.isBrowser("IE"),I=!C,O={edit:c,composite:a,drag:u,cut:null,render:null},T=!1,D=function(e){function UpdateDraftEditorFlags(){return e.apply(this,arguments)||this}_inheritsLoose(UpdateDraftEditorFlags,e);var t=UpdateDraftEditorFlags.prototype;return t.render=function(){return null},t.componentDidMount=function(){this._update()},t.componentDidUpdate=function(){this._update()},t._update=function(){var e=this.props.editor;e._latestEditorState=this.props.editorState,e._blockSelectEvents=!0},UpdateDraftEditorFlags}(h.Component),M=function(e){function DraftEditor(t){var r;return _defineProperty(_assertThisInitialized(r=e.call(this,t)||this),"_blockSelectEvents",void 0),_defineProperty(_assertThisInitialized(r),"_clipboard",void 0),_defineProperty(_assertThisInitialized(r),"_handler",void 0),_defineProperty(_assertThisInitialized(r),"_dragCount",void 0),_defineProperty(_assertThisInitialized(r),"_internalDrag",void 0),_defineProperty(_assertThisInitialized(r),"_editorKey",void 0),_defineProperty(_assertThisInitialized(r),"_placeholderAccessibilityID",void 0),_defineProperty(_assertThisInitialized(r),"_latestEditorState",void 0),_defineProperty(_assertThisInitialized(r),"_latestCommittedEditorState",void 0),_defineProperty(_assertThisInitialized(r),"_pendingStateFromBeforeInput",void 0),_defineProperty(_assertThisInitialized(r),"_onBeforeInput",void 0),_defineProperty(_assertThisInitialized(r),"_onBlur",void 0),_defineProperty(_assertThisInitialized(r),"_onCharacterData",void 0),_defineProperty(_assertThisInitialized(r),"_onCompositionEnd",void 0),_defineProperty(_assertThisInitialized(r),"_onCompositionStart",void 0),_defineProperty(_assertThisInitialized(r),"_onCopy",void 0),_defineProperty(_assertThisInitialized(r),"_onCut",void 0),_defineProperty(_assertThisInitialized(r),"_onDragEnd",void 0),_defineProperty(_assertThisInitialized(r),"_onDragOver",void 0),_defineProperty(_assertThisInitialized(r),"_onDragStart",void 0),_defineProperty(_assertThisInitialized(r),"_onDrop",void 0),_defineProperty(_assertThisInitialized(r),"_onInput",void 0),_defineProperty(_assertThisInitialized(r),"_onFocus",void 0),_defineProperty(_assertThisInitialized(r),"_onKeyDown",void 0),_defineProperty(_assertThisInitialized(r),"_onKeyPress",void 0),_defineProperty(_assertThisInitialized(r),"_onKeyUp",void 0),_defineProperty(_assertThisInitialized(r),"_onMouseDown",void 0),_defineProperty(_assertThisInitialized(r),"_onMouseUp",void 0),_defineProperty(_assertThisInitialized(r),"_onPaste",void 0),_defineProperty(_assertThisInitialized(r),"_onSelect",void 0),_defineProperty(_assertThisInitialized(r),"editor",void 0),_defineProperty(_assertThisInitialized(r),"editorContainer",void 0),_defineProperty(_assertThisInitialized(r),"focu
1s",void 0),_defineProperty(_assertThisInitialized(r),"blur",void 0),_defineProperty(_assertThisInitialized(r),"setMode",void 0),_defineProperty(_assertThisInitialized(r),"exitCurrentMode",void 0),_defineProperty(_assertThisInitialized(r),"restoreEditorDOM",void 0),_defineProperty(_assertThisInitialized(r),"setClipboard",void 0),_defineProperty(_assertThisInitialized(r),"getClipboard",void 0),_defineProperty(_assertThisInitialized(r),"getEditorKey",void 0),_defineProperty(_assertThisInitialized(r),"update",void 0),_defineProperty(_assertThisInitialized(r),"onDragEnter",void 0),_defineProperty(_assertThisInitialized(r),"onDragLeave",void 0),_defineProperty(_assertThisInitialized(r),"_handleEditorContainerRef",function(e){r.editorContainer=e,r.editor=null!==e?e.firstChild:null}),_defineProperty(_assertThisInitialized(r),"focus",function(e){var t=r.props.editorState,n=t.getSelection().getHasFocus(),i=r.editor;if(i){var o=y.getScrollParent(i),a=e||b(o),s=a.x,u=a.y;x(i)||k(!1),i.focus(),o===window?window.scrollTo(s,u):g.setTop(o,u),n||r.update(d.forceSelection(t,t.getSelection()))}}),_defineProperty(_assertThisInitialized(r),"blur",function(){var e=r.editor;e&&(x(e)||k(!1),e.blur())}),_defineProperty(_assertThisInitialized(r),"setMode",function(e){var t=r.props,n=t.onPaste,i=t.onCut,o=t.onCopy,a=_objectSpread({},O.edit);n&&(a.onPaste=n),i&&(a.onCut=i),o&&(a.onCopy=o);var s=_objectSpread({},O,{edit:a});r._handler=s[e]}),_defineProperty(_assertThisInitialized(r),"exitCurrentMode",function(){r.setMode("edit")}),_defineProperty(_assertThisInitialized(r),"restoreEditorDOM",function(e){r.setState({contentsKey:r.state.contentsKey+1},function(){r.focus(e)})}),_defineProperty(_assertThisInitialized(r),"setClipboard",function(e){r._clipboard=e}),_defineProperty(_assertThisInitialized(r),"getClipboard",function(){return r._clipboard}),_defineProperty(_assertThisInitialized(r),"update",function(e){r._latestEditorState=e,r.props.onChange(e)}),_defineProperty(_assertThisInitialized(r),"onDragEnter",function(){r._dragCount++}),_defineProperty(_assertThisInitialized(r),"onDragLeave",function(){r._dragCount--,0===r._dragCount&&r.exitCurrentMode()}),r._blockSelectEvents=!1,r._clipboard=null,r._handler=null,r._dragCount=0,r._editorKey=t.editorKey||_(),r._placeholderAccessibilityID="placeholder-"+r._editorKey,r._latestEditorState=t.editorState,r._latestCommittedEditorState=t.editorState,r._onBeforeInput=r._buildHandler("onBeforeInput"),r._onBlur=r._buildHandler("onBlur"),r._onCharacterData=r._buildHandler("onCharacterData"),r._onCompositionEnd=r._buildHandler("onCompositionEnd"),r._onCompositionStart=r._buildHandler("onCompositionStart"),r._onCopy=r._buildHandler("onCopy"),r._onCut=r._buildHandler("onCut"),r._onDragEnd=r._buildHandler("onDragEnd"),r._onDragOver=r._buildHandler("onDragOver"),r._onDragStart=r._buildHandler("onDragStart"),r._onDrop=r._buildHandler("onDrop"),r._onInput=r._buildHandler("onInput"),r._onFocus=r._buildHandler("onFocus"),r._onKeyDown=r._buildHandler("onKeyDown"),r._onKeyPress=r._buildHandler("onKeyPress"),r._onKeyUp=r._buildHandler("onKeyUp"),r._onMouseDown=r._buildHandler("onMouseDown"),r._onMouseUp=r._buildHandler("onMouseUp"),r._onPaste=r._buildHandler("onPaste"),r._onSelect=r._buildHandler("onSelect"),r.getEditorKey=function(){return r._editorKey},r.state={contentsKey:0},r}_inheritsLoose(DraftEditor,e);var t=DraftEditor.prototype;return t._buildHandler=function(e){var t=this;return function(r){if(!t.props.readOnly){var n=t._handler&&t._handler[e];n&&(l?l(function(){return n(t,r)}):n(t,r))}}},t._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},t._renderPlaceholder=function(){if(this._showPlaceholder()){var e={text:E(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return h.createElement(f,e)}return null},t._renderARIADescribedBy=function(){var e=this.props.ariaDescribedBy||"",t=this._showPlaceholder()?this._placeholderAccessibilityID:"";return e.replace("{{editor_id_placeholder}}",t)||void 0},t.render=function(){var e=this.props,t=e.blockRenderMap,r=e.blockRendererFn,n=e.blockStyleFn,i=e.customStyleFn,a=e.customStyleMap,u=e.editorState,c=e.preventScroll,l=e.readOnly,f=e.textAlignment,p=e.textDirectionality,d=m({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===f,"DraftEditor/alignRight":"right"===f,"DraftEditor/alignCenter":"center"===f}),g=this.props.role||"textbox",y="combobox"===g?!!this.props.ariaExpanded:null,v={blockRenderMap:t,blockRendererFn:r,blockStyleFn:n,customStyleMap:_objectSpread({},o,a),customStyleFn:i,editorKey:this._editorKey,editorState:u,preventScroll:c,textDirectionality:p};return h.createElement("div",{className:d},this._renderPlaceholder(),h.createElement("div",{className:m("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},h.createElement("div",{"aria-activedescendant":l?null:this.props.ariaActiveDescendantID,"aria-autocomplete":l?null:this.props.ariaAutoComplete,"aria-controls":l?null:this.props.ariaControl
1s,"aria-describedby":this._renderARIADescribedBy(),"aria-expanded":l?null:y,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":l?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:m({notranslate:!l,"public/DraftEditor/content":!0}),contentEditable:!l,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:l?null:g,spellCheck:I&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},h.createElement(D,{editor:this,editorState:u}),h.createElement(s,_extends({},v,{key:"contents"+this.state.contentsKey})))))},t.componentDidMount=function(){this._blockSelectEvents=!1,!T&&w("draft_ods_enabled")&&(T=!0,p.initODS()),this.setMode("edit"),C&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):r.g.execCommand("AutoUrlDetect",!1,!1))},t.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},DraftEditor}(h.Component);_defineProperty(M,"defaultProps",{ariaDescribedBy:"{{editor_id_placeholder}}",blockRenderMap:i,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:S,readOnly:!1,spellCheck:!1,stripPastedStyles:!1}),e.exports=M},37898:function(e,t,r){"use strict";var n=r(96086);function _extends(){return(_extends=n||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=r(42282),o=r(22146),a=r(67294),s=r(65994),u=r(19051),c=r(54191),l=r(16633),f=r(62620),p=r(55258),d=r(79749),h=r(70746),g=r(73759),y=r(20717),v=r(22045),isBlockOnSelectionEdge=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},m=function(e){function DraftEditorBlock(){for(var t,r,n,i,o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];return r=function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t=e.call.apply(e,[this].concat(a))||this),i=void 0,(n="_node")in r?Object.defineProperty(r,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[n]=i,t}DraftEditorBlock.prototype=Object.create(e.prototype),DraftEditorBlock.prototype.constructor=DraftEditorBlock,DraftEditorBlock.__proto__=e;var t=DraftEditorBlock.prototype;return t.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||isBlockOnSelectionEdge(e.selection,e.block.getKey())&&e.forceSelection},t.componentDidMount=function(){if(!this.props.preventScroll){var e,t=this.props.selection,r=t.getEndKey();if(t.getHasFocus()&&r===this.props.block.getKey()){var n=this._node;if(null!=n){var i=u.getScrollParent(n),o=d(i);if(i===window){var a=p(n);(e=a.y+a.height-h().height)>0&&window.scrollTo(o.x,o.y+e+10)}else y(n)||g(!1),(e=n.offsetHeight+n.offsetTop-(i.offsetTop+i.offsetHeight+o.y))>0&&s.setTop(i,s.getTop(i)+e+10)}}}},t._renderChildren=function(){var e=this,t=this.props.block,r=t.getKey(),n=t.getText(),s=this.props.tree.size-1,u=isBlockOnSelectionEdge(this.props.selection,r);return this.props.tree.map(function(f,p){var d=f.get("leaves");if(0===d.size)return null;var h=d.size-1,g=d.map(function(c,l){var f=o.encode(r,p,l),d=c.get("start"),g=c.get("end");return a.createElement(i,{key:f,offsetKey:f,block:t,start:d,selection:u?e.props.selection:null,forceSelection:e.props.forceSelection,text:n.slice(d,g),styleSet:t.getInlineStyleAt(d),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:p===s&&l===h})}).toArray(),y=f.get("decoratorKey");if(null==y||!e.props.decorator)return g;var m=v(e.props.decorator),_=m.getComponentForKey(y);if(!_)return g;var S=m.getPropsForKey(y),b=o.encode(r,p,0),w=d.first().get("start"),k=d.last(
1).get("end"),x=n.slice(w,k),E=t.getEntityAt(f.get("start")),C=l.getHTMLDirIfDifferent(c.getDirection(x),e.props.direction),I={contentState:e.props.contentState,decoratedText:x,dir:C,start:w,end:k,blockKey:r,entityKey:E,offsetKey:b};return a.createElement(_,_extends({},S,I,{key:b}),g)}).toArray()},t.render=function(){var e=this,t=this.props,r=t.direction,n=t.offsetKey,i=f({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===r,"public/DraftStyleDefault/rtl":"RTL"===r});return a.createElement("div",{"data-offset-key":n,className:i,ref:function(t){return e._node=t}},this._renderChildren())},DraftEditorBlock}(a.Component);e.exports=m},25821:function(e,t,r){"use strict";var n=r(96086);function _extends(){return(_extends=n||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){_defineProperty(e,t,r[t])})}return e}function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var i=r(59513),o=r(22146),a=r(67294),s=r(65994),u=r(19051),c=r(55258),l=r(79749),f=r(70746),p=r(43393),d=r(73759),h=r(20717);p.List;var isBlockOnSelectionEdge=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},shouldNotAddWrapperElement=function(e,t){var r=e.getNextSiblingKey();return!!r&&t.getBlockForKey(r).getType()===e.getType()},applyWrapperElementToSiblings=function(e,t,r){var n=[],i=!0,s=!1,u=void 0;try{for(var c,l=r.reverse()[Symbol.iterator]();!(i=(c=l.next()).done);i=!0){var f=c.value;if(f.type!==t)break;n.push(f)}}catch(e){s=!0,u=e}finally{try{i||null==l.return||l.return()}finally{if(s)throw u}}r.splice(r.indexOf(n[0]),n.length+1);var p=n.reverse(),d=p[0].key;return r.push(a.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":o.encode(d,0,0)},p)),r},getDraftRenderConfig=function(e,t){var r=t.get(e.getType())||t.get("unstyled"),n=r.wrapper;return{Element:r.element||t.get("unstyled").element,wrapperTemplate:n}},getCustomRenderConfig=function(e,t){var r=t(e);return r?{CustomComponent:r.component,customProps:r.props,customEditable:r.editable}:{}},getElementPropsConfig=function(e,t,r,n,i,o){var a={"data-block":!0,"data-editor":t,"data-offset-key":r,key:e.getKey(),ref:o},s=n(e);return s&&(a.className=s),void 0!==i.customEditable&&(a=_objectSpread({},a,{contentEditable:i.customEditable,suppressContentEditableWarning:!0})),a},g=function(e){function DraftEditorBlockNode(){for(var t,r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];return _defineProperty(function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t=e.call.apply(e,[this].concat(n))||this),"wrapperRef",a.createRef()),t}DraftEditorBlockNode.prototype=Object.create(e.prototype),DraftEditorBlockNode.prototype.constructor=DraftEditorBlockNode,DraftEditorBlockNode.__proto__=e;var t=DraftEditorBlockNode.prototype;return t.shouldComponentUpdate=function(e){var t=this.props,r=t.block,n=t.direction,i=t.tree,o=!r.getChildKeys().isEmpty(),a=r!==e.block||i!==e.tree||n!==e.direction||isBlockOnSelectionEdge(e.selection,e.block.getKey())&&e.forceSelection;return o||a},t.componentDidMount=function(){var e,t=this.props.selection,r=t.getEndKey();if(t.getHasFocus()&&r===this.props.block.getKey()){var n=this.wrapperRef.current;if(n){var i=u.getScrollParent(n),o=l(i);if(i===window){var a=c(n);(e=a.y+a.height-f().height)>0&&window.scrollTo(o.x,o.y+e+10)}else h(n)||d(!1),(e=n.offsetHeight+n.offsetTop-(i.offsetHeight+o.y))>0&&s.setTop(i,s.getTop(i)+e+10)}}},t.render=function(){var e=this,t=this.props,r=t.block,n=t.blockRenderMap,s=t.blockRendererFn,u=t.blockStyleFn,c=t.contentState,l=t.decorator,f=t.editorKey,p=t.editorState,d=t.customStyleFn,h=t.customStyleMap,g=t.direction,y=t.forceSelection,v=t.selection,m=t.tree,_=null;r.children.size&&(_=r.children.reduce(function(t,r){var i=o.encode(r,0,0
1),l=c.getBlockForKey(r),d=getCustomRenderConfig(l,s),h=d.CustomComponent||DraftEditorBlockNode,g=getDraftRenderConfig(l,n),y=g.Element,v=g.wrapperTemplate,m=getElementPropsConfig(l,f,i,u,d,null),_=_objectSpread({},e.props,{tree:p.getBlockTree(r),blockProps:d.customProps,offsetKey:i,block:l});return t.push(a.createElement(y,m,a.createElement(h,_))),!v||shouldNotAddWrapperElement(l,c)||applyWrapperElementToSiblings(v,y,t),t},[]));var S=r.getKey(),b=o.encode(S,0,0),w=getCustomRenderConfig(r,s),k=w.CustomComponent,x=null!=k?a.createElement(k,_extends({},this.props,{tree:p.getBlockTree(S),blockProps:w.customProps,offsetKey:b,block:r})):a.createElement(i,{block:r,children:_,contentState:c,customStyleFn:d,customStyleMap:h,decorator:l,direction:g,forceSelection:y,hasSelection:isBlockOnSelectionEdge(v,S),selection:v,tree:m});if(r.getParentKey())return x;var E=getDraftRenderConfig(r,n).Element,C=getElementPropsConfig(r,f,b,u,w,this.wrapperRef);return a.createElement(E,C,x)},DraftEditorBlockNode}(a.Component);e.exports=g},33418:function(e,t,r){"use strict";var n=r(77907),i=r(42307),o=r(22146),a=r(14289),s=r(25399),u=r(4856),c=r(14507),l=r(84907),f=r(1244),p=r(42128),d=r(22045),h=u.isBrowser("IE"),g=!1,y=!1,v=null,m={onCompositionStart:function(e){y=!0,v||(v=new n(l(e))).start()},onCompositionEnd:function(e){g=!1,y=!1,setTimeout(function(){g||m.resolveComposition(e)},20)},onSelect:c,onKeyDown:function(e,t){if(!y){m.resolveComposition(e),e._onKeyDown(t);return}(t.which===s.RIGHT||t.which===s.LEFT)&&t.preventDefault()},onKeyPress:function(e,t){t.which===s.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!y){var t=d(v).stopAndFlushMutations();v=null,g=!0;var r=a.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),!t.size){e.update(r);return}var n=r.getCurrentContent();t.forEach(function(e,t){var s=o.decode(t),u=s.blockKey,c=s.decoratorKey,l=s.leafKey,f=r.getBlockTree(u).getIn([c,"leaves",l]),d=f.start,h=f.end,g=r.getSelection().merge({anchorKey:u,focusKey:u,anchorOffset:d,focusOffset:h,isBackward:!1}),y=p(n,g),v=n.getBlockForKey(u).getInlineStyleAt(d);n=i.replaceText(n,g,e,v,y),r=a.set(r,{currentContent:n})});var s=f(r,l(e)).selectionState;e.restoreEditorDOM();var u=h?a.forceSelection(r,s):a.acceptSelection(r,s);e.update(a.push(u,n,"insert-characters"))}}};e.exports=m},88795:function(e,t,r){"use strict";var n=r(96086);function _extends(){return(_extends=n||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=r(37898),o=r(22146),a=r(67294),s=r(62620),u=r(71108),c=r(22045),l=function(e){function DraftEditorContents(){return e.apply(this,arguments)||this}DraftEditorContents.prototype=Object.create(e.prototype),DraftEditorContents.prototype.constructor=DraftEditorContents,DraftEditorContents.__proto__=e;var t=DraftEditorContents.prototype;return t.shouldComponentUpdate=function(e){var t=this.props.editorState,r=e.editorState;if(t.getDirectionMap()!==r.getDirectionMap()||t.getSelection().getHasFocus()!==r.getSelection().getHasFocus())return!0;var n=r.getNativelyRenderedContent(),i=t.isInCompositionMode(),o=r.isInCompositionMode();if(t===r||null!==n&&r.getCurrentContent()===n||i&&o)return!1;var a=t.getCurrentContent(),s=r.getCurrentContent(),u=t.getDecorator(),c=r.getDecorator();return i!==o||a!==s||u!==c||r.mustForceSelection()},t.render=function(){for(var e=this.props,t=e.blockRenderMap,r=e.blockRendererFn,n=e.blockStyleFn,l=e.customStyleMap,f=e.customStyleFn,p=e.editorState,d=e.editorKey,h=e.preventScroll,g=e.textDirectionality,y=p.getCurrentContent(),v=p.getSelection(),m=p.mustForceSelection(),_=p.getDecorator(),S=c(p.getDirectionMap()),b=y.getBlocksAsArray(),w=[],k=null,x=null,E=0;E<b.length;E++){var C=b[E],I=C.getKey(),O=C.getType(),T=r(C),D=void 0,M=void 0,K=void 0;T&&(D=T.component,M=T.props,K=T.editable);var A=g||S.get(I),L=o.encode(I,0,0),B={contentState:y,block:C,blockProps:M,blockStyleFn:n,customStyleMap:l,customStyleFn:f,decorator:_,direction:A,forceSelection:m,offsetKey:L,preventScroll:h,selection:v,tree:p.getBlockTree(I)},R=t.get(O)||t.get("unstyled"),N=R.wrapper,P=R.element||t.get("unstyled").element,F=C.getDepth(),q="";n&&(q=n(C)),"li"===P&&(q=u(q,s({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===O,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===O,"public/DraftStyleDefault/reset":x!==N||null===k||F>k,"public/DraftStyleDefault/depth0":0===F,"public/DraftStyleDefault/depth1":1===F,"public/DraftStyleDefault/depth2":2===F,"public/DraftStyleDefault/depth3":3===F,"public/DraftStyleDefault/depth4":F>=4,"public/DraftStyleDefault/listLTR":"LTR"===A,"public/DraftStyleDefault/listRTL":"RTL"===A})));var z=D||i,j={className:q,"data-block":!0,"data-editor":d,"data-offset-key":L,key:I};void 0!==K&&(j=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}
1))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},j,{contentEditable:K,suppressContentEditableWarning:!0}));var U=a.createElement(P,j,a.createElement(z,_extends({},B,{key:I})));w.push({block:U,wrapperTemplate:N,key:I,offsetKey:L}),k=N?C.getDepth():null,x=N}for(var H=[],V=0;V<w.length;){var W=w[V];if(W.wrapperTemplate){var G=[];do G.push(w[V].block),V++;while(V<w.length&&w[V].wrapperTemplate===W.wrapperTemplate);var J=a.cloneElement(W.wrapperTemplate,{key:W.key+"-wrap","data-offset-key":W.offsetKey},G);H.push(J)}else H.push(W.block),V++}return a.createElement("div",{"data-contents":"true"},H)},DraftEditorContents}(a.Component);e.exports=l},87791:function(e,t,r){"use strict";var n=r(68642)("draft_tree_data_support");e.exports=r(n?69459:88795)},69459:function(e,t,r){"use strict";var n=r(96086);function _extends(){return(_extends=n||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=r(25821),o=r(22146),a=r(67294),s=r(22045),u=function(e){function DraftEditorContentsExperimental(){return e.apply(this,arguments)||this}DraftEditorContentsExperimental.prototype=Object.create(e.prototype),DraftEditorContentsExperimental.prototype.constructor=DraftEditorContentsExperimental,DraftEditorContentsExperimental.__proto__=e;var t=DraftEditorContentsExperimental.prototype;return t.shouldComponentUpdate=function(e){var t=this.props.editorState,r=e.editorState;if(t.getDirectionMap()!==r.getDirectionMap()||t.getSelection().getHasFocus()!==r.getSelection().getHasFocus())return!0;var n=r.getNativelyRenderedContent(),i=t.isInCompositionMode(),o=r.isInCompositionMode();if(t===r||null!==n&&r.getCurrentContent()===n||i&&o)return!1;var a=t.getCurrentContent(),s=r.getCurrentContent(),u=t.getDecorator(),c=r.getDecorator();return i!==o||a!==s||u!==c||r.mustForceSelection()},t.render=function(){for(var e=this.props,t=e.blockRenderMap,r=e.blockRendererFn,n=e.blockStyleFn,u=e.customStyleMap,c=e.customStyleFn,l=e.editorState,f=e.editorKey,p=e.textDirectionality,d=l.getCurrentContent(),h=l.getSelection(),g=l.mustForceSelection(),y=l.getDecorator(),v=s(l.getDirectionMap()),m=d.getBlocksAsArray()[0],_=[],S=m;S;){var b=S.getKey(),w={blockRenderMap:t,blockRendererFn:r,blockStyleFn:n,contentState:d,customStyleFn:c,customStyleMap:u,decorator:y,editorKey:f,editorState:l,forceSelection:g,selection:h,block:S,direction:p||v.get(b),tree:l.getBlockTree(b)},k=(t.get(S.getType())||t.get("unstyled")).wrapper;_.push({block:a.createElement(i,_extends({key:b},w)),wrapperTemplate:k,key:b,offsetKey:o.encode(b,0,0)});var x=S.getNextSiblingKey();S=x?d.getBlockForKey(x):null}for(var E=[],C=0;C<_.length;){var I=_[C];if(I.wrapperTemplate){var O=[];do O.push(_[C].block),C++;while(C<_.length&&_[C].wrapperTemplate===I.wrapperTemplate);var T=a.cloneElement(I.wrapperTemplate,{key:I.key+"-wrap","data-offset-key":I.offsetKey},O);E.push(T)}else E.push(I.block),C++}return a.createElement("div",{"data-contents":"true"},E)},DraftEditorContentsExperimental}(a.Component);e.exports=u},3259:function(e,t,r){"use strict";var n=r(96086);function _extends(){return(_extends=n||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=r(22146),o=r(67294),a=r(54191),s=r(16633),u=function(e){function DraftEditorDecoratedLeaves(){return e.apply(this,arguments)||this}return DraftEditorDecoratedLeaves.prototype=Object.create(e.prototype),DraftEditorDecoratedLeaves.prototype.constructor=DraftEditorDecoratedLeaves,DraftEditorDecoratedLeaves.__proto__=e,DraftEditorDecoratedLeaves.prototype.render=function(){var e=this.props,t=e.block,r=e.children,n=e.contentState,u=e.decorator,c=e.decoratorKey,l=e.direction,f=e.leafSet,p=e.text,d=t.getKey(),h=f.get("leaves"),g=u.getComponentForKey(c),y=u.getPropsForKey(c),v=i.encode(d,parseInt(c,10),0),m=p.slice(h.first().get("start"),h.last().get("end")),_=s.getHTMLDirIfDifferent(a.getDirection(m),l);return o.createElement(g,_extends({},y,{contentState:n,decoratedText:m,dir:_,key:v,entityKey:t.getEntityAt(f.get("start")),offsetKey:v}),r)},DraftEditorDecoratedLeaves}(o.Component);e.exports=u},61494:function(e,t,r){"use strict";
1var n=r(44891),i=r(42307),o=r(14289),a=r(69270),s=r(75795),u=r(21738),c=r(94486),l=r(48083),f=r(42177),p=r(22045);function endDrag(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var r=new MouseEvent("mouseup",{view:l(t),bubbles:!0,cancelable:!0});t.dispatchEvent(r)}}function insertTextAtSelection(e,t,r){var n=i.insertText(e.getCurrentContent(),t,r,e.getCurrentInlineStyle());return o.push(e,n,"insert-fragment")}e.exports={onDragEnd:function(e){e.exitCurrentMode(),endDrag(e)},onDrop:function(e,t){var r=new n(t.nativeEvent.dataTransfer),l=e._latestEditorState,d=function(e,t){var r=null,n=null,i=s(e.currentTarget);if("function"==typeof i.caretRangeFromPoint){var o=i.caretRangeFromPoint(e.x,e.y);r=o.startContainer,n=o.startOffset}else{if(!e.rangeParent)return null;r=e.rangeParent,n=e.rangeOffset}r=p(r),n=p(n);var u=p(a(r));return c(t,u,n,u,n)}(t.nativeEvent,l);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=d){var h,g=r.getFiles();if(g.length>0){if(e.props.handleDroppedFiles&&f(e.props.handleDroppedFiles(d,g)))return;u(g,function(t){t&&e.update(insertTextAtSelection(l,d,t))});return}var y=e._internalDrag?"internal":"external";e.props.handleDrop&&f(e.props.handleDrop(d,r,y))||(e._internalDrag?e.update((h=i.moveText(l.getCurrentContent(),l.getSelection(),d),o.push(l,h,"insert-fragment"))):e.update(insertTextAtSelection(l,d,r.getText()))),endDrag(e)}}}},19394:function(e,t,r){"use strict";var n=r(4856),i=r(26396),o=r(43421),a=r(6155),s=r(69328),u=r(88922),c=r(39499),l=r(80981),f=r(62186),p=r(29971),d=r(46397),h=r(6089),g=r(14507),y=n.isBrowser("Chrome"),v=n.isBrowser("Firefox"),m=y||v?g:function(e){};e.exports={onBeforeInput:i,onBlur:o,onCompositionStart:a,onCopy:s,onCut:u,onDragOver:c,onDragStart:l,onFocus:f,onInput:p,onKeyDown:d,onPaste:h,onSelect:g,onMouseUp:m,onKeyUp:m}},4083:function(e,t,r){"use strict";var n=r(73935).unstable_flushControlled;e.exports=n},42282:function(e,t,r){"use strict";var n=r(96086),i=r(80052),o=r(67294),a=r(73759),s=r(16581),u=r(45412).setDraftEditorSelection,c=function(e){function DraftEditorLeaf(){for(var t,r,n,i,o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];return r=function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t=e.call.apply(e,[this].concat(a))||this),i=void 0,(n="leaf")in r?Object.defineProperty(r,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[n]=i,t}DraftEditorLeaf.prototype=Object.create(e.prototype),DraftEditorLeaf.prototype.constructor=DraftEditorLeaf,DraftEditorLeaf.__proto__=e;var t=DraftEditorLeaf.prototype;return t._setSelection=function(){var e,t=this.props.selection;if(null!=t&&t.getHasFocus()){var r=this.props,n=r.block,i=r.start,o=r.text,c=n.getKey(),l=i+o.length;if(t.hasEdgeWithin(c,i,l)){var f=this.leaf;f||a(!1);var p=f.firstChild;p||a(!1),p.nodeType===Node.TEXT_NODE?e=p:s(p)?e=f:(e=p.firstChild)||a(!1),u(t,e,c,i,l)}}},t.shouldComponentUpdate=function(e){var t=this.leaf;return t||a(!1),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},t.componentDidUpdate=function(){this._setSelection()},t.componentDidMount=function(){this._setSelection()},t.render=function(){var e=this,t=this.props.block,r=this.props.text;r.endsWith("\n")&&this.props.isLast&&(r+="\n");var a=this.props,s=a.customStyleMap,u=a.customStyleFn,c=a.offsetKey,l=a.styleSet,f=l.reduce(function(e,t){var r={},i=s[t];return void 0!==i&&e.textDecoration!==i.textDecoration&&(r.textDecoration=[e.textDecoration,i.textDecoration].join(" ").trim()),n(e,i,r)},{});return u&&(f=n(f,u(l,t))),o.createElement("span",{"data-offset-key":c,ref:function(t){return e.leaf=t},style:f},o.createElement(i,null,r))},DraftEditorLeaf}(o.Component);e.exports=c},59513:function(e,t,r){"use strict";var n=r(3259),i=r(42282),o=r(22146),a=r(43393),s=r(67294),u=r(62620);a.List;var c=function(e){function DraftEditorNode(){return e.apply(this,arguments)||this}return DraftEditorNode.prototype=Object.create(e.prototype),DraftEditorNode.prototype.constructor=DraftEditorNode,DraftEditorNode.__proto__=e,DraftEditorNode.prototype.render=function(){var e=this.props,t=e.block,r=e.contentState,a=e.customStyleFn,c=e.customStyleMap,l=e.decorator,f=e.direction,p=e.forceSelection,d=e.hasSelection,h=e.selection,g=e.tree,y=t.getKey(),v=t.getText(),m=g.size-1,_=this.props.children||g.map(function(e,u){var g=e.get("decoratorKey"),_=e.get("leaves"),S=_.size-1,b=_.map(function(e,r){var n=o.encode(y,u,r),l=e.get("start"),f=e.get("end");return s.createElement(i,{key:n,offsetKey:n,block:t,start:l,selection:d?h:null,forceSelection:p,text:v.slice(l,f),styleSet:t.getInlineStyleAt(l),customStyleMap:c,customStyleFn:a,isLast:g===m&&r===S})}).toArray();return g&&l?s.createElement(n,{block:t,children:b,contentState:r,decorator:l,decoratorKey:g,direction:f,leafSet:e,text:v,key:u}):b}).toArray();return s.createElement("div",{"data-offset-key":o.encode(y,0,0),className:u({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===f,"public/DraftStyleDefault/rtl":"RTL"===f})},_)},DraftEditorNode}(s.Component);e.exports=c},28094:function(e,t,r){"use strict";var n=r(67294),i=r(62620),o=function(e){function DraftEditorPlaceholder(){return e.apply(this,arguments)||this}DraftEditorPlaceholder.prototype=Object.create(e.prototype),DraftEditorPlaceholder.prototype.constructor=DraftEditorPlaceholder,DraftEditorPlaceholder.__proto__=e;var t=DraftEditorPlaceholder.prototype;return t.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},t.render=function(){var e=i({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/has
1Focus":this.props.editorState.getSelection().getHasFocus()});return n.createElement("div",{className:e},n.createElement("div",{className:i("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},DraftEditorPlaceholder}(n.Component);e.exports=o},80052:function(e,t,r){"use strict";function _assertThisInitialized(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var n=r(67294),i=r(4856),o=r(73759),a=r(84368),s=i.isBrowser("IE <= 11"),u=function(e){function DraftEditorTextNode(t){var r;return _defineProperty(_assertThisInitialized(r=e.call(this,t)||this),"_forceFlag",void 0),_defineProperty(_assertThisInitialized(r),"_node",void 0),r._forceFlag=!1,r}DraftEditorTextNode.prototype=Object.create(e.prototype),DraftEditorTextNode.prototype.constructor=DraftEditorTextNode,DraftEditorTextNode.__proto__=e;var t=DraftEditorTextNode.prototype;return t.shouldComponentUpdate=function(e){var t=this._node,r=""===e.children;return(a(t)||o(!1),r)?s?"\n"!==t.textContent:"BR"!==t.tagName:t.textContent!==e.children},t.componentDidMount=function(){this._forceFlag=!this._forceFlag},t.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},t.render=function(){var e,t,r=this;return""===this.props.children?this._forceFlag?(e=function(e){return r._node=e},s?n.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):n.createElement("br",{key:"A","data-text":"true",ref:e})):(t=function(e){return r._node=e},s?n.createElement("span",{key:"B","data-text":"true",ref:t},"\n"):n.createElement("br",{key:"B","data-text":"true",ref:t})):n.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return r._node=e}},this.props.children)},DraftEditorTextNode}(n.Component);e.exports=u},5880:function(e){"use strict";e.exports={initODS:function(){},handleExtensionCausedError:function(){}}},82222:function(e,t,r){"use strict";var n=r(39006),i=r(43393),o=r(73759),a=r(76363),s=(0,i.Map)(),u=a();function logWarning(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var c={getLastCreatedEntityKey:function(){return logWarning("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),c.__getLastCreatedEntityKey()},create:function(e,t,r){return logWarning("DraftEntity.create","contentState.createEntity"),c.__create(e,t,r)},add:function(e){return logWarning("DraftEntity.add","contentState.addEntity"),c.__add(e)},get:function(e){return logWarning("DraftEntity.get","contentState.getEntity"),c.__get(e)},__getAll:function(){return s},__loadWithEntities:function(e){s=e,u=a()},mergeData:function(e,t){return logWarning("DraftEntity.mergeData","contentState.mergeEntityData"),c.__mergeData(e,t)},replaceData:function(e,t){return logWarning("DraftEntity.replaceData","contentState.replaceEntityData"),c.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return u},__create:function(e,t,r){return c.__add(new n({type:e,mutability:t,data:r||{}}))},__add:function(e){return u=a(),s=s.set(u,e),u},__get:function(e){var t=s.get(e);return t||o(!1),t},__mergeData:function(e,t){var r=c.__get(e),n=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},r.getData(),t),i=r.set("data",n);return s=s.set(e,i),i},__replaceData:function(e,t){var r=c.__get(e).set("data",t);return s=s.set(e,r),r}};e.exports=c},39006:function(e,t,r){"use strict";var n=function(e){function DraftEntityInstance(){return e.apply(this,arguments)||this}DraftEntityInstance.prototype=Object.create(e.prototype),DraftEntityInstance.prototype.constructor=DraftEntityInstance,DraftEntityInstance.__proto__=e;var t=DraftEntityInstance.prototype;return t.getType=function(){return this.get("type")},t.getMutability=function(){return this.get("mutability")},t.getData=function(){return this.get("data")},DraftEntityInstance}((0,r(43393).Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object}));e.exports=n},5195:function(e){"use strict";e.exports={getRemovalRange:function(e,t,r,n,i){var o,a=r.split(" ");
1a=a.map(function(e,t){if("forward"===i){if(t>0)return" "+e}else if(t<a.length-1)return e+" ";return e});for(var s=n,u=null,c=null,l=0;l<a.length;l++){if(e<(o=s+a[l].length)&&s<t)null!==u||(u=s),c=o;else if(null!==u)break;s=o}var f=n+r.length,p=u===n,d=c===f;return(!p&&d||p&&!d)&&("forward"===i?c!==f&&c++:u!==n&&u--),{start:u,end:c}}}},97432:function(e){"use strict";e.exports={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}}},42307:function(e,t,r){"use strict";var n=r(4516),i=r(13483),o=r(68750),a=r(81446),s=r(88687),u=r(43393),c=r(54542),l=r(18467),f=r(73759),p=r(57429),d=r(14017),h=r(54879),g=r(36043),y=u.OrderedSet,v={replaceText:function(e,t,r,i,o){var a=h(d(e,t),t),s=n.create({style:i||y(),entity:o||null});return l(a,a.getSelectionAfter(),r,s)},insertText:function(e,t,r,n,i){return t.isCollapsed()||f(!1),v.replaceText(e,t,r,n,i)},moveText:function(e,t,r){var n=s(e,t),i=v.removeRange(e,t,"backward");return v.replaceWithFragment(i,r,n)},replaceWithFragment:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",i=h(d(e,t),t);return c(i,i.getSelectionAfter(),r,n)},removeRange:function(e,t,r){t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),n=t.getAnchorKey(),i=t.getFocusKey(),o=e.getBlockForKey(n),s=e.getBlockForKey(i);var n,i,o,s,u=t.getStartOffset(),c=t.getEndOffset(),l=o.getEntityAt(u),f=s.getEntityAt(c-1);if(n===i&&l&&l===f){var p=a(e.getEntityMap(),o,s,t,r);return h(e,p)}return h(d(e,t),t)},splitBlock:function(e,t){var r=h(d(e,t),t);return g(r,r.getSelectionAfter())},applyInlineStyle:function(e,t,r){return i.add(e,t,r)},removeInlineStyle:function(e,t,r){return i.remove(e,t,r)},setBlockType:function(e,t,r){return p(e,t,function(e){return e.merge({type:r,depth:0})})},setBlockData:function(e,t,r){return p(e,t,function(e){return e.merge({data:r})})},mergeBlockData:function(e,t,r){return p(e,t,function(e){return e.merge({data:e.getData().merge(r)})})},applyEntity:function(e,t,r){return o(d(e,t),t,r)}};e.exports=v},22146:function(e){"use strict";e.exports={encode:function(e,t,r){return e+"-"+t+"-"+r},decode:function(e){var t=e.split("-").reverse(),r=t[0],n=t[1];return{blockKey:t.slice(2).reverse().join("-"),decoratorKey:parseInt(n,10),leafKey:parseInt(r,10)}}}},45712:function(e,t,r){"use strict";var n=r(2641),i=r(67953),o=r(67841),a=r(25027),s=r(69769),u=r(68642),c=r(43393),l=r(55283),f=c.List,p=c.Repeat,d=u("draft_tree_data_support"),h=d?i:n;e.exports={processHTML:function(e,t){return o(e,s,t)},processText:function(e,t,r){return e.reduce(function(e,n,i){n=l(n);var o=a(),s={key:o,type:r,text:n,characterList:f(p(t,n.length))};if(d&&0!==i){var u=i-1;s=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},s,{prevSibling:(e[u]=e[u].merge({nextSibling:o})).getKey()})}return e.push(new h(s)),e},[])}}},73932:function(e,t,r){"use strict";var n=r(65724).getPunctuation(),i="['ââ]",o="\\s|(?![_])"+n,a=RegExp("^(?:"+o+")*(?:"+i+"|(?!"+o+").)*(?:(?!"+o+").)"),s=RegExp("(?:(?!"+o+").)(?:"+i+"|(?!"+o+").)*(?:"+o+")*$");function getRemovableWord(e,t){var r=t?s.exec(e):a.exec(e);return r?r[0]:e}e.exports={getBackward:function(e){return getRemovableWord(e,!0)},getForward:function(e){return getRemovableWord(e,!1)}}},86155:function(e){"use strict";e.exports={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}}},68957:function(e,t,r){"use strict";function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}
1))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}var n=r(25027),i=r(73759),traverseInDepthOrder=function(e,t){for(var r=[].concat(e).reverse();r.length;){var n=r.pop();t(n);var o=n.children;Array.isArray(o)||i(!1),r=r.concat([].concat(o.reverse()))}},isListBlock=function(e){if(!(e&&e.type))return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},addDepthToChildren=function(e){Array.isArray(e.children)&&(e.children=e.children.map(function(t){return t.type===e.type?_objectSpread({},t,{depth:(e.depth||0)+1}):t}))};e.exports={fromRawTreeStateToRawState:function(e){var t=e.blocks,r=[];return(Array.isArray(t)||i(!1),Array.isArray(t)&&t.length)?(traverseInDepthOrder(t,function(e){var t=_objectSpread({},e);isListBlock(e)&&(t.depth=t.depth||0,addDepthToChildren(e),null!=e.children&&e.children.length>0)||(delete t.children,r.push(t))}),e.blocks=r,_objectSpread({},e,{blocks:r})):e},fromRawStateToRawTreeState:function(e){var t=[],r=[];return e.blocks.forEach(function(e){var i=isListBlock(e),o=e.depth||0,a=_objectSpread({},e,{children:[]});if(!i){t.push(a);return}var s=r[0];if(null==s&&0===o)t.push(a);else if(null==s||s.depth<o-1){var u={key:n(),text:"",depth:o-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};r.unshift(u),1===o?t.push(u):null!=s&&s.children.push(u),u.children.push(a)}else if(s.depth===o-1)s.children.push(a);else{for(;null!=s&&s.depth>=o;)r.shift(),s=r[0];o>0?s.children.push(a):t.push(a)}}),_objectSpread({},e,{blocks:t})}}},12119:function(e,t,r){"use strict";r(63620),e.exports={isValidBlock:function(e,t){var r=e.getKey(),n=e.getParentKey();if(null!=n&&!t.get(n).getChildKeys().includes(r)||!e.getChildKeys().map(function(e){return t.get(e)}).every(function(e){return e.getParentKey()===r}))return!1;var i=e.getPrevSiblingKey();if(null!=i&&t.get(i).getNextSiblingKey()!==r)return!1;var o=e.getNextSiblingKey();return(null==o||t.get(o).getPrevSiblingKey()===r)&&(null===o||null===i||i!==o)&&(""==e.text||!(e.getChildKeys().size>0))},isConnectedTree:function(e){var t=e.toArray().filter(function(e){return null==e.getParentKey()&&null==e.getPrevSiblingKey()});if(1!==t.length)return!1;for(var r=t.shift(),n=0,i=r.getKey(),o=[];null!=i;){var a=e.get(i),s=a.getChildKeys(),u=a.getNextSiblingKey();if(s.size>0){null!=u&&o.unshift(u);var c=s.map(function(t){return e.get(t)}).find(function(e){return null==e.getPrevSiblingKey()});if(null==c)return!1;i=c.getKey()}else i=null!=a.getNextSiblingKey()?a.getNextSiblingKey():o.shift();n++}return n===e.size},isValidTree:function(e){var t=this;return!!e.toArray().every(function(r){return t.isValidBlock(r,e)})&&this.isConnectedTree(e)}}},33337:function(e,t,r){"use strict";var n,i=r(7902),o=r(43393),a=r(22045),s=o.OrderedMap;e.exports={getDirectionMap:function(e,t){n?n.reset():n=new i;var r=e.getBlockMap(),u=r.valueSeq().map(function(e){return a(n).getDirection(e.getText())}),c=s(r.keySeq().zip(u));return null!=t&&o.is(t,c)?t:c}}},14289:function(e,t,r){"use strict";function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){_defineProperty(e,t,r[t])})}return e}function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var n=r(34365),i=r(91498),o=r(33337),a=r(25110),s=r(43393),u=s.OrderedSet,c=s.Record,l=s.Stack,f=s.OrderedMap,p=s.List,d=c({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:l(),selection:null,treeMap:null,undoStack:l()}),h=function(){EditorState.createEmpty=function(e){return this.createWithText("",e)},EditorState.createWithText=function(e,t){return EditorState.createWithContent(i.createFromText(e),t)},EditorState.createWithContent=function(e,t){if(0===e.getBlockMap().count())return EditorState.createEmpty(t);var r=e.getBlockMap().first().getKey();return EditorState.create({currentContent:e,undoStack:l(),redoStack:l(),decorator:t||null,selection:a.createEmpty(r)})},EditorState.create=function(e){var t=e.currentContent,r=e.decorator,n=_objectSpread({},e,{treeMap:generateNewTreeMap(t,r),directionMap:o.getDirectionMap(t)});return new EditorState(new d(n))},EditorState.fromJS=function(e){return new EditorState(new d(_objectSpread({},e,{directionMap:null!=e.directionMap?f(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?u(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?i.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?l(e.redoStack.map(function(e){return i.fromJS(e)})):e.redoStack,selection:null!=e.selection?new a(e.selection):e.selection,treeMap:null!=e.treeMap?f(e.treeMap).map(function(e){return p(e).map(function(e){return n.fromJS(e)})}):e.treeMap,undoStack:null!=e.undoStack?l(e.undoStack.map(function(e){return i.fromJS(e)})):e.undoStack,currentContent:i.fromJS(e.currentContent)})))},EditorState.set=function(e,t){var r=e.getImmutable().withMutations(function(r){var i,o,a,s,u,c=r.get("decorator"),l=c;null===t.decorator?l=null:t.decorator&&(l=t.decorator);var f=t.currentContent||e.getCurrentContent();if(l!==c){var p,d,h,g=r.get("treeMap");h=l&&c?(p=f.getBlockMap(),d=l,g.merge(p.toSeq().filter(function(e){return d.getDecorations(e,f)!==c.getDecorations(e,f)}).map(function(e){return n.generate(f,e,d)}))):generateNewTreeMap(f,l),r.merge({decorator:l,treeMap:h,nativelyRenderedContent:null});return}f!==e.getCurrentContent()&&r.set("treeMap",(i=f.getBlockMap(),o=f.getEntity
1Map(),a=l,u=(s=e.getCurrentContent().set("entityMap",o)).getBlockMap(),e.getImmutable().get("treeMap").merge(i.toSeq().filter(function(e,t){return e!==u.get(t)}).map(function(e){return n.generate(s,e,a)})))),r.merge(t)});return new EditorState(r)};var e=EditorState.prototype;function EditorState(e){_defineProperty(this,"_immutable",void 0),this._immutable=e}return e.toJS=function(){return this.getImmutable().toJS()},e.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},e.getCurrentContent=function(){return this.getImmutable().get("currentContent")},e.getUndoStack=function(){return this.getImmutable().get("undoStack")},e.getRedoStack=function(){return this.getImmutable().get("redoStack")},e.getSelection=function(){return this.getImmutable().get("selection")},e.getDecorator=function(){return this.getImmutable().get("decorator")},e.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},e.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},e.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},e.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},e.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},EditorState.setInlineStyleOverride=function(e,t){return EditorState.set(e,{inlineStyleOverride:t})},e.getCurrentInlineStyle=function(){var e,t,r,n,i,o,a=this.getInlineStyleOverride();if(null!=a)return a;var s=this.getCurrentContent(),u=this.getSelection();return u.isCollapsed()?(e=u.getStartKey(),t=u.getStartOffset(),r=s.getBlockForKey(e),t>0?r.getInlineStyleAt(t-1):r.getLength()?r.getInlineStyleAt(0):lookUpwardForInlineStyle(s,e)):(n=u.getStartKey(),(i=u.getStartOffset())<(o=s.getBlockForKey(n)).getLength()?o.getInlineStyleAt(i):i>0?o.getInlineStyleAt(i-1):lookUpwardForInlineStyle(s,n))},e.getBlockTree=function(e){return this.getImmutable().getIn(["treeMap",e])},e.isSelectionAtStartOfContent=function(){var e=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(e,0,0)},e.isSelectionAtEndOfContent=function(){var e=this.getCurrentContent().getBlockMap().last(),t=e.getLength();return this.getSelection().hasEdgeWithin(e.getKey(),t,t)},e.getDirectionMap=function(){return this.getImmutable().get("directionMap")},EditorState.acceptSelection=function(e,t){return updateSelection(e,t,!1)},EditorState.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),updateSelection(e,t,!0)},EditorState.moveSelectionToEnd=function(e){var t=e.getCurrentContent().getLastBlock(),r=t.getKey(),n=t.getLength();return EditorState.acceptSelection(e,new a({anchorKey:r,anchorOffset:n,focusKey:r,focusOffset:n,isBackward:!1}))},EditorState.moveFocusToEnd=function(e){var t=EditorState.moveSelectionToEnd(e);return EditorState.forceSelection(t,t.getSelection())},EditorState.push=function(e,t,r){var n=!(arguments.length>3)||void 0===arguments[3]||arguments[3];if(e.getCurrentContent()===t)return e;var i=o.getDirectionMap(t,e.getDirectionMap());if(!e.getAllowUndo())return EditorState.set(e,{currentContent:t,directionMap:i,lastChangeType:r,selection:t.getSelectionAfter(),forceSelection:n,inlineStyleOverride:null});var a=e.getSelection(),s=e.getCurrentContent(),u=e.getUndoStack(),c=t;a!==s.getSelectionAfter()||r!==e.getLastChangeType()||"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r?(u=u.push(s),c=c.set("selectionBefore",a)):("insert-characters"===r||"backspace-character"===r||"delete-character"===r)&&(c=c.set("selectionBefore",s.getSelectionBefore()));var f=e.getInlineStyleOverride();-1===["adjust-depth","change-block-type","split-block"].indexOf(r)&&(f=null);var p={currentContent:c,directionMap:i,undoStack:u,redoStack:l(),lastChangeType:r,selection:t.getSelectionAfter(),forceSelection:n,inlineStyleOverride:f};return EditorState.set(e,p)},EditorState.undo=function(e){if(!e.getAllowUndo())return e;var t=e.getUndoStack(),r=t.peek();if(!r)return e;var n=e.getCurrentContent(),i=o.getDirectionMap(r,e.getDirectionMap());return EditorState.set(e,{currentContent:r,directionMap:i,undoStack:t.shift(),redoStack:e.getRedoStack().push(n),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:n.get
1SelectionBefore()})},EditorState.redo=function(e){if(!e.getAllowUndo())return e;var t=e.getRedoStack(),r=t.peek();if(!r)return e;var n=e.getCurrentContent(),i=o.getDirectionMap(r,e.getDirectionMap());return EditorState.set(e,{currentContent:r,directionMap:i,undoStack:e.getUndoStack().push(n),redoStack:t.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},e.getImmutable=function(){return this._immutable},EditorState}();function updateSelection(e,t,r){return h.set(e,{selection:t,forceSelection:r,nativelyRenderedContent:null,inlineStyleOverride:null})}function generateNewTreeMap(e,t){return e.getBlockMap().map(function(r){return n.generate(e,r,t)}).toOrderedMap()}function lookUpwardForInlineStyle(e,t){var r=e.getBlockMap().reverse().skipUntil(function(e,r){return r===t}).skip(1).skipUntil(function(e,t){return e.getLength()}).first();return r?r.getInlineStyleAt(r.getLength()-1):u()}e.exports=h},47387:function(e,t,r){"use strict";var n=r(4856),i=r(17797),o=n.isPlatform("Mac OS X"),a={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return o&&e.altKey},usesMacOSHeuristics:function(){return o},hasCommandModifier:function(e){return o?!!e.metaKey&&!e.altKey:a.isCtrlKeyCommand(e)},isSoftNewlineEvent:i};e.exports=a},70054:function(){},41947:function(e,t,r){"use strict";var n=r(42307),i=r(14289),o=r(1665),a=r(22045),s={currentBlockContainsLink:function(e){var t=e.getSelection(),r=e.getCurrentContent(),n=r.getEntity
vendor: 8,060 bytes, line 1
1Map();return r.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some(function(e){var t=e.getEntity();return!!t&&"LINK"===n.__get(t).getType()})},getCurrentBlockType:function(e){var t=e.getSelection();return e.getCurrentContent().getBlockForKey(t.getStartKey()).getType()},getDataObjectForLinkURL:function(e){return{url:e.toString()}},handleKeyCommand:function(e,t,r){switch(t){case"bold":return s.toggleInlineStyle(e,"BOLD");case"italic":return s.toggleInlineStyle(e,"ITALIC");case"underline":return s.toggleInlineStyle(e,"UNDERLINE");case"code":return s.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return s.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return s.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=n.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),r=i.push(e,t,"insert-characters");return i.forceSelection(r,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var r=e.getCurrentContent(),n=t.getStartKey(),o=r.getBlockBefore(n);if(o&&"atomic"===o.getType()){var a=r.getBlockMap().delete(o.getKey()),u=r.merge({blockMap:a,selectionAfter:t});if(u!==r)return i.push(e,u,"remove-range")}var c=s.tryToRemoveBlockStyle(e);return c?i.push(e,c,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var r=e.getCurrentContent(),o=t.getStartKey(),a=r.getBlockForKey(o).getLength();if(t.getStartOffset()<a)return null;var s=r.getBlockAfter(o);if(!s||"atomic"!==s.getType())return null;var u=t.merge({focusKey:s.getKey(),focusOffset:s.getLength()}),c=n.removeRange(r,u,"forward");return c!==r?i.push(e,c,"remove-range"):null},onTab:function(e,t,r){var n=t.getSelection(),a=n.getAnchorKey();if(a!==n.getFocusKey())return t;var s=t.getCurrentContent(),u=s.getBlockForKey(a),c=u.getType();if("unordered-list-item"!==c&&"ordered-list-item"!==c)return t;e.preventDefault();var l=u.getDepth();if(!e.shiftKey&&l===r)return t;var f=o(s,n,e.shiftKey?-1:1,r);return i.push(t,f,"adjust-depth")},toggleBlockType:function(e,t){var r=e.getSelection(),o=r.getStartKey(),s=r.getEndKey(),u=e.getCurrentContent(),c=r;if(o!==s&&0===r.getEndOffset()){var l=a(u.getBlockBefore(s));s=l.getKey(),c=c.merge({anchorKey:o,anchorOffset:r.getStartOffset(),focusKey:s,focusOffset:l.getLength(),isBackward:!1})}if(u.getBlockMap().skipWhile(function(e,t){return t!==o}).reverse().skipWhile(function(e,t){return t!==s}).some(function(e){return"atomic"===e.getType()}))return e;var f=u.getBlockForKey(o).getType()===t?"unstyled":t;return i.push(e,n.setBlockType(u,c,f),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),r=t.getAnchorKey(),n=t.getFocusKey();return t.isCollapsed()||r!==n?s.toggleBlockType(e,"code-block"):s.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var r,o=e.getSelection(),a=e.getCurrentInlineStyle();if(o.isCollapsed())return i.setInlineStyleOverride(e,a.has(t)?a.remove(t):a.add(t));var s=e.getCurrentContent();return r=a.has(t)?n.removeInlineStyle(s,o,t):n.applyInlineStyle(s,o,t),i.push(e,r,"change-inline-style")},toggleLink:function(e,t,r){var o=n.applyEntity(e.getCurrentContent(),t,r);return i.push(e,o,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),r=t.getAnchorOffset();if(t.isCollapsed()&&0===r){var i=t.getAnchorKey(),o=e.getCurrentContent(),a=o.getBlockForKey(i).getType(),s=o.getBlockBefore(i);if("code-block"===a&&s&&"code-block"===s.getType()&&0!==s.getLength())return null;if("unstyled"!==a)return n.setBlockType(o,t,"unstyled")}return null}};e.exports=s},83751:function(e,t,r){"use strict";var n=r(42307),i=r(14289),o=r(88687),a=r(22045),s=null;e.exports={cut:function(e){var t=e.getCurrentContent(),r=e.getSelection(),u=null;if(r.isCollapsed()){var c=r.getAnchorKey(),l=t.getBlockForKey(c).getLength();if(l===r.getAnchorOffset()){var f=t.getKeyAfter(c);if(null==f)return e;u=r.set("focusKey",f).set("focusOffset",0)}else u=r.set("focusOffset",l)}else u=r;s=o(t,u=a(u));var p=n.removeRange(t,u,"forward");return p===t?e:i.push(e,p,"remove-range")},paste:function(e){if(!s)return e;var t=n.replaceWithFragment(e.getCurrentContent(),e.getSelection(),s);return i.push(e,t,"insert-fragment")}}},25110:function(e,t,r){"use strict";var n=function(e){function SelectionState(){return e.apply(this,arguments)||this}SelectionState.prototype=Object.create(e.prototype),SelectionState.prototype.constructor=SelectionState,SelectionState.__proto__=e;var t=SelectionState.prototype;return t.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},t.getAnchorKey=function(){return this.get("anchorKey")},t.getAnchorOffset=function(){return this.get("anchorOffset")},t.getFocusKey=function(){return this.get("focusKey")},t.getFocusOffset=function(){return this.get("focusOffset")},t.getIsBackward=function(){return this.get("isBackward")},t.getHasFocus=function(){return this.get("hasFocus")},t.hasEdgeWithin=function(e,t,r){var n=this.getAnchorKey(),i=this.getFocusKey();if(n===i&&n===e){var o=this.getStartOffset(),a=this.getEndOffset();return t<=o&&o<=r||t<=a&&a<=r}if(e!==n&&e!==i)return!1;var s=e===n?this.getAnchorOffset():this.getFocusOffset();return t<=s&&r>=s},t.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},t.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},t.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},t.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},t.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},SelectionState.createEmpty=function(e){return new SelectionState({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},SelectionState}((0,r(43393).Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1}));e.exports=n},1665:function(e){"use strict";e.exports=function(e,t,r,n){var i=t.getStartKey(),o=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil(function(e,t){return t===i}).takeUntil(function(e,t){return t===o}).concat([[o,a.get(o)]]).map(function(e){var t=e.getDepth()+r;return t=Math.max(0,Math.min(t,n)),e.set("depth",t)});return a=a.merge(s),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})}},2835:function(e,t,r){"use strict";var n=r(4516);e.exports=function(e,t,r,i){for(var o=t,a=e.getCharacterList();o<r;)a=a.set(o,n.applyEntity(a.get(o),i)),o++;return e.set("characterList",a)}},68750:function(e,t,r){"use strict";var n=r(2835),i=r(43393);e.exports=function(e,t,r){var o=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),u=t.getEndKey(),c=t.getEndOffset(),l=o.skipUntil(function(e,t){return t===a}).takeUntil(function(e,t){return t===u}).toOrderedMap().merge(i.OrderedMap([[u,o.get(u)]])).map(function(e,t){var i=t===a?s:0,o=t===u?c:e.getLength();return n(e,i,o,r)});return e.merge({blockMap:o.merge(l),selectionBefore:t,selectionAfter:t})}},79981:function(e,t,r){"use strict";var n=r(2641),i=r(67953),o=r(86155),a=r(56265),s=r(31487),u=r(73759),createRawBlock=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:s(e),entityRanges:a(e,t),data:e.getData().toObject()}},insertRawBlock=function(e,t,r,o){if(e instanceof n){r.push(createRawBlock(e,t));return}e instanceof i||u(!1);var a=e.getParentKey(),s=o[e.getKey()]=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}
1))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},createRawBlock(e,t),{children:[]});if(a){o[a].children.push(s);return}r.push(s)},encodeRawBlocks=function(e,t){var r=t.entityMap,n=[],i={},a={},s=0;return e.getBlockMap().forEach(function(e){e.findEntityRanges(function(e){return null!==e.getEntity()},function(t){var n=e.getEntityAt(t),i=o.stringify(n);!a[i]&&(a[i]=n,r[i]="".concat(s),s++)}),insertRawBlock(e,r,n,i)}),{blocks:n,entityMap:r}},encodeRawEntityMap=function(e,t){var r=t.blocks,n=t.entityMap,i={};return Object.keys(n).forEach(function(t,r){var n=e.getEntity(o.unstringify(t));i[r]={type:n.getType(),mutability:n.getMutability(),data:n.getData()}}),{blocks:r,entityMap:i}};e.exports=function(e){var t={entityMap:{},blocks:[]};return t=encodeRawBlocks(e,t),t=encodeRawEntityMap(e,t)}},67841:function(e,t,r){"use strict";function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){_defineProperty(e,t,r[t])})}return e}function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var n,i=r(4516),o=r(2641),a=r(67953),s=r(526),u=r(82222),c=r(61425),l=r(62620),f=r(25027),p=r(69769),d=r(68642),h=r(43393),g=h.List,y=h.Map,v=h.OrderedSet,m=r(78241),_=r(16581),S=r(20717),b=r(35039),w=d("draft_tree_data_support"),k=RegExp("\r","g"),x=RegExp("\n","g"),E=RegExp("^\n","g"),C=RegExp(" ","g"),I=RegExp(" ?","g"),O=RegExp("​?","g"),T=["bold","bolder","500","600","700","800","900"],D=["light","lighter","normal","100","200","300","400"],M=["className","href","rel","target","title"],K=["alt","className","height","src","width"],A=(_defineProperty(n={},l("public/DraftStyleDefault/depth0"),0),_defineProperty(n,l("public/DraftStyleDefault/depth1"),1),_defineProperty(n,l("public/DraftStyleDefault/depth2"),2),_defineProperty(n,l("public/DraftStyleDefault/depth3"),3),_defineProperty(n,l("public/DraftStyleDefault/depth4"),4),n),L=y({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),buildBlockTypeMap=function(e){var t={};return e.mapKeys(function(e,r){var n=[r.element];void 0!==r.aliasedElements&&n.push.apply(n,r.aliasedElements),n.forEach(function(r){void 0===t[r]?t[r]=e:"string"==typeof t[r]?t[r]=[t[r],e]:t[r].push(e)})}),y(t)},getListItemDepth=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(A).some(function(r){e.classList.contains(r)&&(t=A[r])}),t},isValidAnchor=function(e){if(!m(e)||!e.href||"http:"!==e.protocol&&"https:"!==e.protocol&&"mailto:"!==e.protocol&&"tel:"!==e.protocol)return!1;try{return new c(e.href),!0}catch(e){return!1}},styleFromNodeAttributes=function(e,t){if(!S(e))return t;var r=e.style.fontWeight,n=e.style.fontStyle,i=e.style.textDecoration;return t.withMutations(function(e){T.indexOf(r)>=0?e.add("BOLD"):D.indexOf(r)>=0&&e.remove("BOLD"),"italic"===n?e.add("ITALIC"):"normal"===n&&e.remove("ITALIC"),"underline"===i&&e.add("UNDERLINE"),"line-through"===i&&e.add("STRIKETHROUGH"),"none"===i&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))})},isListNode=function(e){return"ul"===e||"ol"===e},B=function(){function ContentBlocksBuilder(e,t){_defineProperty(this,"characterList",g()),_defineProperty(this,"currentBlockType","unstyled"),_defineProperty(this,"currentDepth",0),_defineProperty(this,"currentEntity",null),_defineProperty(this,"currentText",""),_defineProperty(this,"wrapper",null),_defineProperty(this,"blockConfigs",[]),_defineProperty(this,"contentBlocks",[]),_defineProperty(this,"entityMap",u),_defineProperty(this,"blockTypeMap",void 0),_defineProperty(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var e=ContentBlocksBuilder.prototype;return e.clear=function(){this.characterList=g(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=u,this.wrapper=null,this.contentBlocks=[]},e.addDOMNode=function(e){var t;return this.contentBlocks=[],this.currentDepth=0,(t=this.blockConfigs).push.apply(t,this._toBlockConfigs([e],v())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},e.getContentBlocks=function(){return 0===this.contentBlocks.length&&(w?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},e._makeBlockConfig=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=_objectSpread({key:e.key||f(),type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:g(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=g(),this.currentBlockType="unstyled",this.currentText="",t},e._toBlockConfigs=function(e,t){for(var r=[],n=0;n<e.length;n++){var i=e[n],o=i.nodeName.toLowerCase();if("body"===o||isListNode(o)){this._trimCurrentText(),""!==this.currentText&&r.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;isListNode(o)&&(this.wrapper=o,isListNode(s)&&this.currentDepth++),r.push.apply(r,this._toBlockConfigs(Array.from(i.childNodes),t)),this.currentDepth=a,this.wrapper=s;continue}var u=this.blockTypeMap.get(o);if(void 0!==u){this._trimCurrentText(),""!==this.currentText&&r.push(this._makeBlockConfig());var c=this.currentDepth,l=this.wrapper;this.wrapper="pre"===o?"pre":this.wrapper,"string"!=typeof u&&(u=this.disambiguate(o,this.wrapper)||u[0]||"unstyled"),!w&&S(i)&&("unordered-list-item"===u||"ordered-list-item"===u)&&(this.currentDepth=getListItemDepth(i,this.currentDepth));var p=f(),d=this._toBlockConfigs(Array.from(i.childNodes),t);this._trimCurrentText(),r.push(this._makeBlockConfig({key:p,childConfigs:d,type:u})),this.currentDepth=c,this.wrapper=l;continue}if("#text"===o){this._addTextNode(i,t);continue}if("br"===o){this._addBreakNode(i,t);continue}if(b(i)&&i.attributes.getNamedItem("src")&&i.attributes.getNamedItem("src").value){this._addImgNode(i,t);continue}if(isValidAnchor(i)){this._addAnchorNode(i,r,t);continue}var h=t;L.has(o)&&(h=h.add(L.get(o))),h=styleFromNodeAttributes(i,h);var g=S(i)&&i.style.fontFamily.includes("monospace")?"CODE":null;null!=g&&(h=h.add(g)),r.push.apply(r,this._toBlockConfigs(Array.from(i.childNodes),h))}return r},e._appendText=function(e,t){this.currentText+=e;var r,n=i.create({style:t,entity:this.currentEntity});this.characterList=(r=this.characterList).push.apply(r,Array(e.length).fill(n))},e._trimCurrentText=function(){var e=this.currentText.length,t=e-this.currentText.trimLeft().length,r=this.currentText.trimRight().length,n=this.characterList.findEntry(function(e){return null!==e.getEntity()});(t=void 0!==n?Math.min(t,n[0]):t)>(r=void 0!==(n=this.characterList.reverse().findEntry(function(e){return null!==e.getEntity()}))?Math.max(r,e-n[0]):r)?(this.currentText="",this.characterList=g()):(this.currentText=this.currentText.slice(t,r),this.characterList=this.characterList.slice(t,r))},e._addTextNode=function(e,t){var r=e.textContent;""===r.trim()&&"pre"!==this.wrapper&&(r=" "),"pre"!==this.wrapper&&(r=(r=r.replace(E,"")).replace(x," ")),this._appendText(r,t)},e._addBreakNode=function(e,t){_(e)&&this._appendText("\n",t)},e._addImgNode=function(e,t){if(b(e)){var r={};
vendor: 1,837 bytes, line 1
1K.forEach(function(t){var n=e.getAttribute(t);n&&(r[t]=n)}),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),d("draftjs_fix_paste_for_img")?"presentation"!==e.getAttribute("role")&&this._appendText("\uD83D\uDCF7",t):this._appendText("\uD83D\uDCF7",t),this.currentEntity=null}},e._addAnchorNode=function(e,t,r){if(m(e)){var n={};M.forEach(function(t){var r=e.getAttribute(t);r&&(n[t]=r)}),n.url=new c(e.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",n||{}),t.push.apply(t,this._toBlockConfigs(Array.from(e.childNodes),r)),this.currentEntity=null}},e._toContentBlocks=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=e.length-1,n=0;n<=r;n++){var i=e[n];i.parent=t,i.prevSibling=n>0?e[n-1].key:null,i.nextSibling=n<r?e[n+1].key:null,i.children=g(i.childConfigs.map(function(e){return e.key})),this.contentBlocks.push(new a(_objectSpread({},i))),this._toContentBlocks(i.childConfigs,i.key)}},e._hoistContainersInBlockConfigs=function(e){var t=this;return g(e).flatMap(function(e){return"unstyled"!==e.type||""!==e.text?[e]:t._hoistContainersInBlockConfigs(e.childConfigs)})},e._toFlatContentBlocks=function(e){var t=this;this._hoistContainersInBlockConfigs(e).forEach(function(e){var r=t._extractTextFromBlockConfigs(e.childConfigs),n=r.text,i=r.characterList;t.contentBlocks.push(new o(_objectSpread({},e,{text:e.text+n,characterList:e.characterList.concat(i)})))})},e._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,r="",n=g(),i=0;i<=t;i++){var o=e[i];r+=o.text,n=n.concat(o.characterList),""!==r&&"unstyled"!==o.type&&(r+="\n",n=n.push(n.last()));var a=this._extractTextFromBlockConfigs(o.childConfigs);r+=a.text,n=n.concat(a.characterList)}return{text:r,characterList:n}},ContentBlocksBuilder}();e.exports=function(e){var t=arguments.length>
11&&void 0!==arguments[1]?arguments[1]:p,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s,n=t(e=e.trim().replace(k,"").replace(C," ").replace(I,"").replace(O,""));if(!n)return null;var i=buildBlockTypeMap(r);return new B(i,function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null}).addDOMNode(n).getContentBlocks()}},99607:function(e,t,r){"use strict";function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}var n=r(2641),i=r(67953),o=r(91498),a=r(82222),s=r(68957);r(12119);var u=r(25110),c=r(86019),l=r(67134),f=r(59672),p=r(25027),d=r(68642),h=r(43393),g=r(73759),y=d("draft_tree_data_support"),v=h.List,m=h.Map,_=h.OrderedMap,decodeBlockNodeConfig=function(e,t){var r=e.key,n=e.type,i=e.data;return{text:e.text,depth:e.depth||0,type:n||"unstyled",key:r||p(),data:m(i),characterList:decodeCharacterList(e,t)}},decodeCharacterList=function(e,t){var r=e.text,n=e.entityRanges;return c(f(r,e.inlineStyleRanges||[]),l(r,(n||[]).filter(function(e){return t.hasOwnProperty(e.key)}).map(function(e){return _objectSpread({},e,{key:t[e.key]})})))},addKeyIfMissing=function(e){return _objectSpread({},e,{key:e.key||p()})},updateNodeStack=function(e,t,r){var n=t.map(function(e){return _objectSpread({},e,{parentRef:r})});return e.concat(n.reverse())},decodeRawBlocks=function(e,t){var r=e.blocks.find(function(e){return Array.isArray(e.children)&&e.children.length>0}),o=y&&!r?s.fromRawStateToRawTreeState(e).blocks:e.blocks;return y?o.map(addKeyIfMissing).reduce(function(e,r,n){Array.isArray(r.children)||g(!1);var a=r.children.map(addKeyIfMissing),s=new i(_objectSpread({},decodeBlockNodeConfig(r,t),{prevSibling:0===n?null:o[n-1].key,nextSibling:n===o.length-1?null:o[n+1].key,children:v(a.map(function(e){return e.key}))}));e=e.set(s.getKey(),s);for(var u=updateNodeStack([],a,s);u.length>0;){var c=u.pop(),l=c.parentRef,f=l.getChildKeys(),p=f.indexOf(c.key),d=Array.isArray(c.children);if(!d){d||g(!1);break}var h=c.children.map(addKeyIfMissing),y=new i(_objectSpread({},decodeBlockNodeConfig(c,t),{parent:l.getKey(),children:v(h.map(function(e){return e.key})),prevSibling:0===p?null:f.get(p-1),nextSibling:p===f.size-1?null:f.get(p+1)}));e=e.set(y.getKey(),y),u=updateNodeStack(u,h,y)}return e},_()):_((r?s.fromRawTreeStateToRawState(e).blocks:o).map(function(e){var r=new n(decodeBlockNodeConfig(e,t));return[r.getKey(),r]}))},decodeRawEntityMap=function(e){var t=e.entityMap,r={};return Object.keys(t).forEach(function(e){var n=t[e],i=n.type,o=n.mutability,s=n.data;r[e]=a.__create(i,o,s||{})}),r};e.exports=function(e){Array.isArray(e.blocks)||g(!1);var t=decodeRawEntityMap(e),r=decodeRawBlocks(e,t),n=r.isEmpty()?new u:u.createEmpty(r.first().getKey());return new o({blockMap:r,entityMap:t,selectionBefore:n,selectionAfter:n})}},86019:function(e,t,r){"use strict";var n=r(4516),i=r(43393).List;e.exports=function(e,t){return i(e.map(function(e,r){var i=t[r];return n.create({style:e,entity:i})}))}},67134:function(e,t,r){"use strict";var n=r(38935).substr;e.exports=function(e,t){var r=Array(e.length).fill(null);return t&&t.forEach(function(t){for(var i=n(e,0,t.offset).length,o=i+n(e,t.offset,t.length).length,a=i;a<o;a++)r[a]=t.key}),r}},59672:function(e,t,r){"use strict";var n=r(38935),i=r(43393).OrderedSet,o=n.substr,a=i();e.exports=function(e,t){var r=Array(e.length).fill(a);return t&&t.forEach(function(t){for(var n=o(e,0,t.offset).length,i=n+o(e,t.offset,t.length).length;n<i;)r[n]=r[n].add(t.style),n++}),r}},99407:function(e){"use strict";e.exports={notEmptyKey:function(e){return null!=e&&""!=e}}},26396:function(e,t,r){"use strict";var n=r(42307),i=r(14289),o=r(4856),a=r(42128),s=r(42177),u=r(40258),c=r(22045),l=r(56926),f=o.isBrowser("Firefox");function replaceText(e,t,r,o,a){var s=n.replaceText(e.getCurrentContent(),e.getSelection(),t,r,o);return i.push(e,s,"insert-characters",a)}e.exports=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var r=e._latestEditorState,n=t.data;if(n){if(e.props.handleBeforeInput&&s(e.props.handleBeforeInput(n,r,t.timeStamp))){t.preventDefault();return}var o=r.getSelection(),p=o.getStartOffset(),d=o.getAnchorKey();if(!o.isCollapsed()){t.preventDefault(),e.update(replaceText(r,n,r.getCurrentInlineStyle(),a(r.getCurrentContent(),r.getSelection()),!0));return}var h=replaceText(r,n,r.getCurrentInlineStyle(),a(r.getCurrentContent(),r.getSelection()),!1),g=!1;if(!(g=u(e._latestCommittedEditorState))){var y=r.getBlockTree(d),v=h.getBlockTree(d);g=y.size!==v.size||y.zip(v).some(function(e){var t=e[0],r=e[1],i=t.get("start"),o=i+(i>=p?n.length:0),a=t.get("end"),s=a+(a>=p?n.length:0),u=r.get("start"),c=r.get("end"),l=r.get("decoratorKey");return t.get("decoratorKey")!==l||t.get("leaves").size!==r.get("leaves").size||o!==u||s!==c||null!=l&&c-u!=a-i})}if(g||(g=f&&("'"==n||"/"==n)),g||(g=c(h.getDirectionMap()).get(d)!==c(r.getDirectionMap()).get(d)),g){t.preventDefault(),h=i.set(h,{forceSelection:!0}
1),e.update(h);return}h=i.set(h,{nativelyRenderedContent:h.getCurrentContent()}),e._pendingStateFromBeforeInput=h,l(function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)})}}},43421:function(e,t,r){"use strict";var n=r(14289),i=r(67476),o=r(31003);e.exports=function(e,t){var r=t.currentTarget.ownerDocument;if(!e.props.preserveSelectionOnBlur&&o(r)===r.body){var a=r.defaultView.getSelection(),s=e.editor;1===a.rangeCount&&i(s,a.anchorNode)&&i(s,a.focusNode)&&a.removeAllRanges()}var u=e._latestEditorState,c=u.getSelection();if(c.getHasFocus()){var l=c.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update(n.acceptSelection(u,l))}}},6155:function(e,t,r){"use strict";var n=r(14289);e.exports=function(e,t){e.setMode("composite"),e.update(n.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)}},69328:function(e,t,r){"use strict";var n=r(94882);e.exports=function(e,t){if(e._latestEditorState.getSelection().isCollapsed()){t.preventDefault();return}e.setClipboard(n(e._latestEditorState))}},88922:function(e,t,r){"use strict";var n=r(42307),i=r(14289),o=r(19051),a=r(94882),s=r(79749),u=r(80809);e.exports=function(e,t){var r,c=e._latestEditorState,l=c.getSelection(),f=t.target;if(l.isCollapsed()){t.preventDefault();return}u(f)&&(r=s(o.getScrollParent(f)));var p=a(c);e.setClipboard(p),e.setMode("cut"),setTimeout(function(){var t;e.restoreEditorDOM(r),e.exitCurrentMode(),e.update((t=n.removeRange(c.getCurrentContent(),c.getSelection(),"forward"),i.push(c,t,"remove-range")))},0)}},39499:function(e){"use strict";e.exports=function(e,t){e.setMode("drag"),t.preventDefault()}},80981:function(e){"use strict";e.exports=function(e){e._internalDrag=!0,e.setMode("drag")}},62186:function(e,t,r){"use strict";var n=r(14289),i=r(4856);e.exports=function(e,t){var r=e._latestEditorState,o=r.getSelection();if(!o.getHasFocus()){var a=o.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),i.isBrowser("Chrome < 60.0.3081.0")?e.update(n.forceSelection(r,a)):e.update(n.acceptSelection(r,a))}}},29971:function(e,t,r){"use strict";var n=r(42307),i=r(22146),o=r(14289),a=r(4856),s=r(99407).notEmptyKey,u=r(69270),c=r(62800),l=r(22045),f=a.isEngine("Gecko");e.exports=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var r,a,p,d,h=e.editor.ownerDocument.defaultView.getSelection(),g=h.anchorNode,y=h.isCollapsed,v=(null==g?void 0:g.nodeType)!==Node.TEXT_NODE&&(null==g?void 0:g.nodeType)!==Node.ELEMENT_NODE;if(null!=g&&!v){if(g.nodeType===Node.TEXT_NODE&&(null!==g.previousSibling||null!==g.nextSibling)){var m=g.parentNode;if(null==m)return;g.nodeValue=m.textContent;for(var _=m.firstChild;null!=_;_=_.nextSibling)_!==g&&m.removeChild(_)}var S=g.textContent,b=e._latestEditorState,w=l(u(g)),k=i.decode(w),x=k.blockKey,E=k.decoratorKey,C=k.leafKey,I=b.getBlockTree(x).getIn([E,"leaves",C]),O=I.start,T=I.end,D=b.getCurrentContent(),M=D.getBlockForKey(x),K=M.getText().slice(O,T);if(S.endsWith("\n\n")&&(S=S.slice(0,-1)),S===K){var A=t.nativeEvent.inputType;if(A){var L="deleteContentBackward"===A?c(b):b;L!==b&&(e.restoreEditorDOM(),e.update(L))}return}var B=b.getSelection(),R=B.merge({anchorOffset:O,focusOffset:T,isBackward:!1}),N=M.getEntityAt(O),P=s(N)?D.getEntity(N):null,F="MUTABLE"===(null!=P?P.getMutability():null),q=F?"spellcheck-change":"apply-entity",z=n.replaceText(D,R,S,M.getInlineStyleAt(O),F?M.getEntityAt(O):null);if(f)d=(p=O+Math.min(r=h.anchorOffset,a=h.focusOffset))+Math.abs(r-a),r=p,a=d;else{var j=S.length-K.length;p=B.getStartOffset(),d=B.getEndOffset(),r=y?d+j:p,a=d+j}var U=z.merge({selectionBefore:D.getSelectionAfter(),selectionAfter:B.merge({anchorOffset:r,focusOffset:a})});e.update(o.push(b,U,q))}}},46397:function(e,t,r){"use strict";var n=r(42307),i=r(14289),o=r(47387),a=r(25399),s=r(83751),u=r(4856),c=r(42177),l=r(49779),f=r(51050),p=r(13767),d=r(77978),h=r(67217),g=r(8425),y=r(62800),v=r(13998),m=r(53318),_=r(87051),S=o.isOptionKeyCommand,b=u.isBrowser("Chrome");e.exports=function(e,t){var r=t.which,o=e._latestEditorState;function callDeprecatedHandler(r){var n=e.props[r];return!!n&&(n(t),!0)}switch(r){case a.RETURN:if(t.preventDefault(),e.props.handleReturn&&c(e.props.handleReturn(t,o)))return;break;case a.ESC:if(t.preventDefault(),callDeprecatedHandler("onEscape"))return;break;case a.TAB:if(callDeprecatedHandler("onTab"))return;break;case a.UP:if(callDeprecatedHandler("onUpArrow"))return;break;case a.RIGHT:if(callDeprecatedHandler("onRightArrow"))return;break;case a.DOWN:if(callDeprecatedHandler("onDownArrow"))return;break;case a.LEFT:if(callDeprecatedHandler("onLeftArrow"))return;break;case a.SPACE:b&&S(t)&&t.preventDefault()}var u=e.props.keyBindingFn(t);if(null==u||""===u){if(r===a.SPACE&&b&&S(t)){var w=n.replaceText(o.getCurrentContent(),o.getSelection(),"\xa0");e.update(i.push(o,w,"insert-characters"))}return}if("undo"===u){_(t,o,e.update);return}if(t.preventDefault(),!(e.props.handleKeyCommand&&c(e.props.handleKeyCommand(u,o,t.timeStamp)))){var k=function(e,t,r){switch(e){case"redo":return i.redo(t);case"delete":return v(t);case"delete-word":return p(t);case"backspace":return y(t);case"backspace-word":return f(t);case"backspace-to-start-of-line":return l(t,r);case"split-block":return d(t);case"transpose-characters":return m(t);case"move-selection-to-start-of-block":return g(t);case"move-selection-to-end-of-block":return h(t);case"secondary-cut":return s.cut(t);case"secondary-paste":return s.paste(t);default:return t}}(u,o,t);k!==o&&e.update(k)}}},6089:function(e,t,r){"use strict";var n=r(10329),i=r(4516),o=r(44891),a=r(42307),s=r(45712),u=r(14289),c=r(41947),l=r(42128),f=r(21738),p=r(42177),d=r(44300);function insertFragment(e,t,r){var n=a.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return u.push(e,n.set("entityMap",r),"insert-fragment")}e.exports=function(e,t){t.preventDefault();var r=new o(t.clipboardData);if(!r.isRichText()){var h=r.getFiles(),g=r.getText();if(h.length>0){if(e.props.handlePastedFiles&&p(e.props.handlePastedFiles(h)))return;f(h,function(t){if(t=t||g){var r=e._latestEditorState,o=d(t),f=i.create({style:r.getCurrentInlineStyle(),entity:l(r.getCurrentContent(),r.getSelection())}),p=c.getCurrentBlockType(r),h=s.processText(o,f,p),y=n.createFromArray(h),v=a.replaceWithFragment(r.getCurrentContent(),r.getSelection(),y);e.update(u.push(r,v,"insert-fragment"))}});return}}var y=[],v=r.getText(),m=r.getHTML(),_=e._latestEditorState;if(e.props.formatPastedText){var S=e.props.formatPastedText(v,m),b=S.text,w=S.html;v=b,m=w}if(!(e.props.handlePastedText&&p(e.props.handlePastedText(v,m,_)))){if(v&&(y=d(v)),!e.props.stripPastedStyles){var k,x,E=e.getClipboard();
1if(!e.props.formatPastedText&&r.isRichText()&&E){if((null===(x=m)||void 0===x?void 0:x.indexOf(e.getEditorKey()))!==-1||1===y.length&&1===E.size&&E.first().getText()===v){e.update(insertFragment(e._latestEditorState,E));return}}else if(E&&r.types.includes("com.apple.webarchive")&&!r.types.includes("text/html")&&(k=y).length===E.size&&E.valueSeq().every(function(e,t){return e.getText()===k[t]})){e.update(insertFragment(e._latestEditorState,E));return}if(m){var C=s.processHTML(m,e.props.blockRenderMap);if(C){var I=C.contentBlocks,O=C.entityMap;if(I){var T=n.createFromArray(I);e.update(insertFragment(e._latestEditorState,T,O));return}}}e.setClipboard(null)}if(y.length){var D=i.create({style:_.getCurrentInlineStyle(),entity:l(_.getCurrentContent(),_.getSelection())}),M=c.getCurrentBlockType(_),K=s.processText(y,D,M),A=n.createFromArray(K);e.update(insertFragment(e._latestEditorState,A))}}}},14507:function(e,t,r){"use strict";var n=r(97432),i=r(14289),o=r(84907),a=r(1244);e.exports=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();n.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:Error().stack}),selectionState:JSON.stringify(t.toJS())})}return}var r=e.props.editorState,s=a(r,o(e)),u=s.selectionState;u!==r.getSelection()&&(r=s.needsRecovery?i.forceSelection(r,u):i.acceptSelection(r,u),e.update(r))}},56265:function(e,t,r){"use strict";var n=r(86155),i=r(38935).strlen;e.exports=function(e,t){var r=[];return e.findEntityRanges(function(e){return!!e.getEntity()},function(o,a){var s=e.getText(),u=e.getEntityAt(o);r.push({offset:i(s.slice(0,o)),length:i(s.slice(o,a)),key:Number(t[n.stringify(u)])})}),r}},31487:function(e,t,r){"use strict";var n=r(38935),i=r(29407),areEqual=function(e,t){return e===t},isTruthy=function(e){return!!e},o=[];e.exports=function(e){var t=e.getCharacterList().map(function(e){return e.getStyle()}).toList(),r=t.flatten().toSet().map(function(r){var o;return o=[],i(t.map(function(e){return e.has(r)}).toList(),areEqual,isTruthy,function(t,i){var a=e.getText();o.push({offset:n.strlen(a.slice(0,t)),length:n.strlen(a.slice(t,i)),style:r})}),o});return Array.prototype.concat.apply(o,r.toJS())}},88182:function(e,t,r){"use strict";var n=r(38935),i=r(75795),o=r(6092),a=r(73759);function areRectsOnOneLine(e,t){for(var r=1/0,n=1/0,i=-1/0,o=-1/0,a=0;a<e.length;a++){var s=e[a];0!==s.width&&1!==s.width&&(r=Math.min(r,s.top),n=Math.min(n,s.bottom),i=Math.max(i,s.top),o=Math.max(o,s.bottom))}return i<=n&&i-r<t&&o-n<t}e.exports=function(e){e.collapsed||a(!1);var t,r,s,u,c,l,f=(e=e.cloneRange()).startContainer;1!==f.nodeType&&(f=f.parentNode);var p=(t=f,r=getComputedStyle(t),(u=(s=i(t)).createElement("div")).style.fontFamily=r.fontFamily,u.style.fontSize=r.fontSize,u.style.fontStyle=r.fontStyle,u.style.fontWeight=r.fontWeight,u.style.lineHeight=r.lineHeight,u.style.position="absolute",u.textContent="M",(c=s.body)||a(!1),c.appendChild(u),l=u.getBoundingClientRect(),c.removeChild(u),l.height),d=e.endContainer,h=e.endOffset;for(e.setStart(e.startContainer,0);areRectsOnOneLine(o(e),p)&&(d=e.startContainer,h=e.startOffset,d.parentNode||a(!1),e.setStartBefore(d),1!==d.nodeType||"inline"===getComputedStyle(d).display););for(var g=d,y=h-1;;){for(var v=g.nodeValue,m=y;m>=0;m--)if(!(null!=v&&m>0&&n.isSurrogatePair(v,m-1))){if(e.setStart(g,m),areRectsOnOneLine(o(e),p))d=g,h=m;else break}if(-1===m||0===g.childNodes.length)break;y=function(e){switch(e.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return e.length;default:return e.childNodes.length}}(g=g.childNodes[m])}return e.setStart(d,h),e}},69270:function(e,t,r){"use strict";var n=r(75795),i=r(93578);e.exports=function(e){for(var t=e;t&&t!==n(e).documentElement;){var r=i(t);if(null!=r)return r;t=t.parentNode}return null}},29407:function(e){"use strict";e.exports=function(e,t,r,n){if(e.size){var i=0;e.reduce(function(e,o,a){return t(e,o)||(r(e)&&n(i,a),i=a),o}),r(e.last())&&n(i,e.count())}}},25027:function(e){"use strict";var t={};e.exports=function(){for(var e;void 0===e||t.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(16777216*Math.random()).toString(32);return t[e]=!0,e}},81446:function(e,t,r){"use strict";var n=r(5195),i=r(64994),o=r(73759);function getEntityRemovalRange(e,t,r,a,s,u,c){var l=r.getStartOffset(),f=r.getEndOffset(),p=e.__get(s).getMutability(),d=c?l:f;if("MUTABLE"===p)return r;var h=i(t,s).filter(function(e){return d<=e.end&&d>=e.start});1!=h.length&&o(!1);var g=h[0];if("IMMUTABLE"===p)return r.merge({anchorOffset:g.start,focusOffset:g.end,isBackward:!1});u||(c?f=g.end:l=g.start);var y=n.getRemovalRange(l,f,t.getText().slice(g.start,g.end),g.start,a);return r.merge({anchorOffset:y.start,focusOffset:y.end,isBackward:!1})}
1e.exports=function(e,t,r,n,i){var o=n.getStartOffset(),a=n.getEndOffset(),s=t.getEntityAt(o),u=r.getEntityAt(a-1);if(!s&&!u)return n;var c=n;if(s&&s===u)c=getEntityRemovalRange(e,t,c,i,s,!0,!0);else if(s&&u){var l=getEntityRemovalRange(e,t,c,i,s,!1,!0),f=getEntityRemovalRange(e,r,c,i,u,!1,!1);c=c.merge({anchorOffset:l.getAnchorOffset(),focusOffset:f.getFocusOffset(),isBackward:!1})}else if(s){var p=getEntityRemovalRange(e,t,c,i,s,!1,!0);c=c.merge({anchorOffset:p.getStartOffset(),isBackward:!1})}else if(u){var d=getEntityRemovalRange(e,r,c,i,u,!1,!1);c=c.merge({focusOffset:d.getEndOffset(),isBackward:!1})}return c}},84907:function(e,t,r){"use strict";var n=r(73759),i=r(20717);e.exports=function(e){var t=e.editorContainer;return t||n(!1),i(t.firstChild)||n(!1),t.firstChild}},88687:function(e,t,r){"use strict";var n=r(98555),i=r(14017);e.exports=function(e,t){var r=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),u=i(e,t).getBlockMap(),c=u.keySeq(),l=c.indexOf(r),f=c.indexOf(a)+1;return n(u.slice(l,f).map(function(e,t){var n=e.getText(),i=e.getCharacterList();return r===a?e.merge({text:n.slice(o,s),characterList:i.slice(o,s)}):t===r?e.merge({text:n.slice(o),characterList:i.slice(o)}):t===a?e.merge({text:n.slice(0,s),characterList:i.slice(0,s)}):e}))}},75795:function(e){"use strict";e.exports=function(e){return e&&e.ownerDocument?e.ownerDocument:document}},41714:function(e,t,r){"use strict";var n=r(47387),i=r(25399),o=r(4856),a=o.isPlatform("Mac OS X"),s=a&&o.isBrowser("Firefox < 29"),u=n.hasCommandModifier,c=n.isCtrlKeyCommand;function shouldRemoveWord(e){return a&&e.altKey||c(e)}e.exports=function(e){switch(e.keyCode){case 66:return u(e)?"bold":null;case 68:return c(e)?"delete":null;case 72:return c(e)?"backspace":null;case 73:return u(e)?"italic":null;case 74:return u(e)?"code":null;case 75:return a&&c(e)?"secondary-cut":null;case 77:case 79:return c(e)?"split-block":null;case 84:return a&&c(e)?"transpose-characters":null;case 85:return u(e)?"underline":null;case 87:return a&&c(e)?"backspace-word":null;case 89:if(c(e))return a?"secondary-paste":"redo";return null;case 90:return(u(e)?e.shiftKey?"redo":"undo":null)||null;case i.RETURN:return"split-block";case i.DELETE:return!a&&e.shiftKey?null:shouldRemoveWord(e)?"delete-word":"delete";case i.BACKSPACE:return u(e)&&a?"backspace-to-start-of-line":shouldRemoveWord(e)?"backspace-word":"backspace";case i.LEFT:return s&&u(e)?"move-selection-to-start-of-block":null;case i.RIGHT:return s&&u(e)?"move-selection-to-end-of-block":null;default:return null}}},1244:function(e,t,r){"use strict";var n=r(8101);e.exports=function(e,t){var r=t.ownerDocument.defaultView.getSelection(),i=r.anchorNode,o=r.anchorOffset,a=r.focusNode,s=r.focusOffset;return 0===r.rangeCount||null==i||null==a?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:n(e,t,i,o,a,s)}},8101:function(e,t,r){"use strict";var n=r(69270),i=r(93578),o=r(94486),a=r(73759),s=r(84368),u=r(22045);function getPointForNonTextNode(e,t,r){var o=t,c=n(o);if(null!=c||e&&(e===o||e.firstChild===o)||a(!1),e===o&&(s(o=o.firstChild)||a(!1),"true"!==o.getAttribute("data-contents")&&a(!1),r>0&&(r=o.childNodes.length)),0===r){var l=null;if(null!=c)l=c;else{var f=function(e){for(;e.firstChild&&(s(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||i(e.firstChild));)e=e.firstChild;return e}(o);l=u(i(f))}return{key:l,offset:0}}var p=o.childNodes[r-1],d=null,h=null;if(i(p)){var g=function(e){for(;e.lastChild&&(s(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||i(e.lastChild));)e=e.lastChild;return e}(p);d=u(i(g)),h=getTextContentLength(g)}else d=u(c),h=getTextContentLength(p);return{key:d,offset:h}}function getTextContentLength(e){var t=e.textContent;return"\n"===t?0:t.length}e.exports=function(e,t,r,i,a,s){var c=r.nodeType===Node.TEXT_NODE,l=a.nodeType===Node.TEXT_NODE;if(c&&l)return{selectionState:o(e,u(n(r)),i,u(n(a)),s),needsRecovery:!1};var f=null,p=null,d=!0;return c?(f={key:u(n(r)),offset:i},p=getPointForNonTextNode(t,a,s)):l?(p={key:u(n(a)),offset:s},f=getPointForNonTextNode(t,r,i)):(f=getPointForNonTextNode(t,r,i),p=getPointForNonTextNode(t,a,s),r===a&&i===s&&(d=!!r.firstChild&&"BR"!==r.firstChild.nodeName)),{selectionState:o(e,f.key,f.offset,p.key,p.offset),needsRecovery:d}}},42128:function(e,t,r){"use strict";var n=r(99407).notEmptyKey;function filterKey(e,t){return n(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}e.exports=function(e,t){if(t.isCollapsed()){var r,n=t.getAnchorKey(),i=t.getAnchorOffset();return i>0?(r=e.getBlockForKey(n).getEntityAt(i-1))!==e.getBlockForKey(n).getEntityAt(i)?null:filterKey(e.getEntity
1Map(),r):null}var o=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(o);return r=a===s.getLength()?null:s.getEntityAt(a),filterKey(e.getEntityMap(),r)}},94882:function(e,t,r){"use strict";var n=r(88687);e.exports=function(e){var t=e.getSelection();return t.isCollapsed()?null:n(e.getCurrentContent(),t)}},39506:function(e,t,r){"use strict";var n=r(67953);e.exports=function(e,t){if(!(e instanceof n))return null;var r=e.getNextSiblingKey();if(r)return r;var i=e.getParentKey();if(!i)return null;for(var o=t.get(i);o&&!o.getNextSiblingKey();){var a=o.getParentKey();o=a?t.get(a):null}return o?o.getNextSiblingKey():null}},96495:function(e){"use strict";e.exports=function(e){return Object.keys(e).map(function(t){return e[t]})}},98056:function(e,t,r){"use strict";var n=r(6092);e.exports=function(e){var t=n(e),r=0,i=0,o=0,a=0;if(t.length){if(t.length>1&&0===t[0].width){var s=t[1];r=s.top,i=s.right,o=s.bottom,a=s.left}else{var u=t[0];r=u.top,i=u.right,o=u.bottom,a=u.left}for(var c=1;c<t.length;c++){var l=t[c];0!==l.height&&0!==l.width&&(r=Math.min(r,l.top),i=Math.max(i,l.right),o=Math.max(o,l.bottom),a=Math.min(a,l.left))}}return{top:r,right:i,bottom:o,left:a,width:i-a,height:o-r}}},6092:function(e,t,r){"use strict";var n=r(4856),i=r(73759),o=n.isBrowser("Chrome")?function(e){for(var t=e.cloneRange(),r=[],n=e.endContainer;null!=n;n=n.parentNode){var o,a=n===e.commonAncestorContainer;a?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var s=Array.from(t.getClientRects());if(r.push(s),a)return r.reverse(),(o=[]).concat.apply(o,r);t.setEndBefore(n)}i(!1)}:function(e){return Array.from(e.getClientRects())};e.exports=o},64994:function(e,t,r){"use strict";var n=r(73759);e.exports=function(e,t){var r=[];return e.findEntityRanges(function(e){return e.getEntity()===t},function(e,t){r.push({start:e,end:t})}),r.length||n(!1),r}},69769:function(e,t,r){"use strict";var n=r(4856),i=r(73759),o=n.isBrowser("IE <= 9");e.exports=function(e){var t,r=null;return!o&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||i(!1),t.documentElement.innerHTML=e,r=t.getElementsByTagName("body")[0]),r}},93578:function(e,t,r){"use strict";var n=r(84368);e.exports=function getSelectionOffsetKeyForNode(e){if(n(e)){var t=e.getAttribute("data-offset-key");if(t)return t;for(var r=0;r<e.childNodes.length;r++){var i=getSelectionOffsetKeyForNode(e.childNodes[r]);if(i)return i}}return null}},21738:function(e,t,r){"use strict";var n=r(73759),i=/\.textClipping$/,o={"text/plain":!0,"text/html":!0,"text/rtf":!0};e.exports=function(e,t){var a=0,s=[];e.forEach(function(u){!function(e,t){if(!r.g.FileReader||e.type&&!(e.type in o)){t("");return}if(""===e.type){var a="";i.test(e.name)&&(a=e.name.replace(i,"")),t(a);return}var s=new FileReader;s.onload=function(){var e=s.result;"string"!=typeof e&&n(!1),t(e)},s.onerror=function(){t("")},s.readAsText(e)}(u,function(r){a++,r&&s.push(r.slice(0,5e3)),a==e.length&&t(s.join("\r"))})})}},94486:function(e,t,r){"use strict";var n=r(22146),i=r(22045);e.exports=function(e,t,r,o,a){var s=i(e.getSelection());if(!t||!o)return s;var u=n.decode(t),c=u.blockKey,l=e.getBlockTree(c),f=l&&l.getIn([u.decoratorKey,"leaves",u.leafKey]),p=n.decode(o),d=p.blockKey,h=e.getBlockTree(d),g=h&&h.getIn([p.decoratorKey,"leaves",p.leafKey]);if(!f||!g)return s;var y=f.get("start"),v=g.get("start"),m=f?y+r:null,_=g?v+a:null;if(s.getAnchorKey()===c&&s.getAnchorOffset()===m&&s.getFocusKey()===d&&s.getFocusOffset()===_)return s;var S=!1;if(c===d){var b=f.get("end"),w=g.get("end");S=v===y&&w===b?a<r:v<y}else S=e.getCurrentContent().getBlockMap().keySeq().skipUntil(function(e){return e===c||e===d}).first()===d;return s.merge({anchorKey:c,anchorOffset:m,focusKey:d,focusOffset:_,isBackward:S})}},96629:function(e,t,r){"use strict";var n=r(98056);e.exports=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var r=n(t.getRangeAt(0)),i=r.top,o=r.right,a=r.bottom,s=r.left;return 0===i&&0===o&&0===a&&0===s?null:r}},48083:function(e){"use strict";e.exports=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}},68642:function(e){"use strict";e.exports=function(e){return"undefined"!=typeof window&&!!window.__DRAFT_GKX&&!!window.__DRAFT_GKX[e]}},54542:function(e,t,r){"use strict";var n=r(10329),i=r(67953),o=r(43393),a=r(40779),s=r(73759),u=r(98555),c=o.List,updateExistingBlock=function(e,t,r,n,i,o){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",u=r.get(i),c=u.getText(),l=u.getCharacterList(),f=o+n.getText().length,p=null;switch(s){case"MERGE_OLD_DATA_TO_NEW_DATA":p=n.getData().merge(u.getData());break;case"REPLACE_WITH_NEW_DATA":p=n.getData()}var d=u.getType();c&&"unstyled"===d&&(d=n.getType());var h=u.merge({text:c.slice(0,o)+n.getText()+c.slice(o),characterList:a(l,n.getCharacterList(),o),type:d,data:p});return e.merge({blockMap:r.set(i,h),selectionBefore:t,selectionAfter:t.merge({anchorKey:i,anchorOffset:f,focusKey:i,focusOffset:f,
1isBackward:!1})})},updateHead=function(e,t,r){var n=e.getText(),i=e.getCharacterList(),o=n.slice(0,t),a=i.slice(0,t),s=r.first();return e.merge({text:o+s.getText(),characterList:a.concat(s.getCharacterList()),type:o?e.getType():s.getType(),data:s.getData()})},updateTail=function(e,t,r){var n=e.getText(),i=e.getCharacterList(),o=n.length,a=n.slice(t,o),s=i.slice(t,o),u=r.last();return u.merge({text:u.getText()+a,characterList:u.getCharacterList().concat(s),data:u.getData()})},getRootBlocks=function(e,t){var r=e.getKey(),n=e,i=[];for(t.get(r)&&i.push(r);n&&n.getNextSiblingKey();){var o=n.getNextSiblingKey();if(!o)break;i.push(o),n=t.get(o)}return i},insertFragment=function(e,t,r,o,a,s){var u,l=r.first() instanceof i,f=[],p=o.size,d=r.get(a),h=o.first(),g=o.last(),y=g.getLength(),v=g.getKey(),m=l&&(!d.getChildKeys().isEmpty()||!h.getChildKeys().isEmpty());r.forEach(function(e,t){if(t!==a){f.push(e);return}m?f.push(e):f.push(updateHead(e,s,o)),o.slice(m?0:1,p-1).forEach(function(e){return f.push(e)}),f.push(updateTail(e,s,o))});var _=n.createFromArray(f);return l&&(_=(u=_).withMutations(function(e){var t=d.getKey(),r=h.getKey(),n=d.getNextSiblingKey(),i=d.getParentKey(),o=getRootBlocks(h,u),a=o[o.length-1];if(e.get(r)?(e.setIn([t,"nextSibling"],r),e.setIn([r,"prevSibling"],t)):(e.setIn([t,"nextSibling"],h.getNextSiblingKey()),e.setIn([h.getNextSiblingKey(),"prevSibling"],t)),e.setIn([a,"nextSibling"],n),n&&e.setIn([n,"prevSibling"],a),o.forEach(function(t){return e.setIn([t,"parent"],i)}),i){var s=u.get(i).getChildKeys(),l=s.indexOf(t),f=s.toArray();f.splice.apply(f,[l+1,0].concat(o)),e.setIn([i,"children"],c(f))}})),e.merge({blockMap:_,selectionBefore:t,selectionAfter:t.merge({anchorKey:v,anchorOffset:y,focusKey:v,focusOffset:y,isBackward:!1})})};e.exports=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||s(!1);var o=e.getBlockMap(),a=u(r),c=t.getStartKey(),l=t.getStartOffset(),f=o.get(c);return(f instanceof i&&(f.getChildKeys().isEmpty()||s(!1)),1===a.size)?updateExistingBlock(e,t,o,a.first(),c,l,n):insertFragment(e,t,o,a,c,l)}},40779:function(e){"use strict";e.exports=function(e,t,r){var n=e;if(r===n.count())t.forEach(function(e){n=n.push(e)});else if(0===r)t.reverse().forEach(function(e){n=n.unshift(e)});else{var i=n.slice(0,r),o=n.slice(r);n=i.concat(t,o).toList()}return n}},18467:function(e,t,r){"use strict";var n=r(43393),i=r(40779),o=r(73759),a=n.Repeat;e.exports=function(e,t,r,n){t.isCollapsed()||o(!1);var s=null;if(null!=r&&(s=r.length),null==s||0===s)return e;var u=e.getBlockMap(),c=t.getStartKey(),l=t.getStartOffset(),f=u.get(c),p=f.getText(),d=f.merge({text:p.slice(0,l)+r+p.slice(l,f.getLength()),characterList:i(f.getCharacterList(),a(n,s).toList(),l)}),h=l+s;return e.merge({blockMap:u.set(c,d),selectionAfter:t.merge({anchorOffset:h,focusOffset:h})})}},84368:function(e){"use strict";e.exports=function(e){return!!e&&!!e.ownerDocument&&e.nodeType===Node.ELEMENT_NODE}},42177:function(e){"use strict";e.exports=function(e){return"handled"===e||!0===e}},78241:function(e,t,r){"use strict";var n=r(84368);e.exports=function(e){return!!e&&!!e.ownerDocument&&n(e)&&"A"===e.nodeName}},16581:function(e,t,r){"use strict";var n=r(84368);e.exports=function(e){return!!e&&!!e.ownerDocument&&n(e)&&"BR"===e.nodeName}},20717:function(e){"use strict";e.exports=function(e){return!!e&&!!e.ownerDocument&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)}},35039:function(e,t,r){"use strict";var n=r(84368);e.exports=function(e){return!!e&&!!e.ownerDocument&&n(e)&&"IMG"===e.nodeName}},80809:function(e){"use strict";e.exports=function(e){if(!e||!("ownerDocument"in e))return!1;if("ownerDocument"in e){if(!e.ownerDocument.defaultView)return e instanceof Node;if(e instanceof e.ownerDocument.defaultView.Node)return!0}return!1}},40258:function(e){"use strict";e.exports=function(e){var t=e.getSelection(),r=t.getAnchorKey(),n=e.getBlockTree(r),i=t.getStartOffset(),o=!1;return n.some(function(e){return i===e.get("start")?(o=!0,!0):i<e.get("end")&&e.get("leaves").some(function(e){return i===e.get("start")&&(o=!0,!0)})}),o}},17797:function(e,t,r){"use strict";var n=r(25399);e.exports=function(e){return e.which===n.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))}},49779:function(e,t,r){"use strict";var n=r(14289),i=r(88182),o=r(8101),a=r(53268),s=r(14730);e.exports=function(e,t){var r=s(e,function(e){var r=e.getSelection();if(r.isCollapsed()&&0===r.getAnchorOffset())return a(e,1);var n=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return o(e,null,(n=i(n)).endContainer,n.endOffset,n.startContainer,n.startOffset).selectionState},"backward");return r===e.getCurrentContent()?e:n.push(e,r,"remove-range")}},51050:function(e,t,r){"use strict";var n=r(73932),i=r(14289),o=r(53268),a=r(14730);e.exports=function(e){var t=a(e,function(e){var t=e.getSelection(),r=t.getStartOffset();if(0===r)return o(e,1);var i=t.getStartKey(),a=e.getCurrentContent().getBlockForKey(i).getText().slice(0,r);return o(e,n.getBackward(a).length||1)},"backward");return t===e.getCurrentContent()?e:i.push(e,t,"remove-range")}},13767:function(e,t,r){"use strict";var n=r(73932),i=r(14289),o=r(19417),a=r(14730);e.exports=function(e){var t=a(e,function(e){var t=e.getSelection(),r=t.getStartOffset(),i=t.getStartKey(),a=e.getCurrentContent().getBlockForKey(i).getText().slice(r);return o(e,n.getForward(a).length||1)},"forward");return t===e.getCurrentContent()?e:i.push(e,t,"remove-range")}},77978:function(e,t,r){"use strict";var n=r(42307),i=r(14289);e.exports=function(e){var t=n.splitBlock(e.getCurrentContent(),e.getSelection());return i.push(e,t,"split-block")}},67217:function(e,t,r){"use strict";var n=r(14289);e.exports=function(e){var t=e.getSelection(),r=t.getEndKey(),i=e.getCurrentContent().getBlockForKey(r).getLength();return n.set(e,{selection:t.merge({anchorKey:r,anchorOffset:i,focusKey:r,focusOffset:i,isBackward:!1}),forceSelection:!0}
1)}},8425:function(e,t,r){"use strict";var n=r(14289);e.exports=function(e){var t=e.getSelection(),r=t.getStartKey();return n.set(e,{selection:t.merge({anchorKey:r,anchorOffset:0,focusKey:r,focusOffset:0,isBackward:!1}),forceSelection:!0})}},62800:function(e,t,r){"use strict";var n=r(14289),i=r(38935),o=r(53268),a=r(14730);e.exports=function(e){var t=a(e,function(e){var t=e.getSelection(),r=e.getCurrentContent(),n=t.getAnchorKey(),a=t.getAnchorOffset(),s=r.getBlockForKey(n).getText()[a-1];return o(e,s?i.getUTF16Length(s,0):1)},"backward");if(t===e.getCurrentContent())return e;var r=e.getSelection();return n.push(e,t.set("selectionBefore",r),r.isCollapsed()?"backspace-character":"remove-range")}},13998:function(e,t,r){"use strict";var n=r(14289),i=r(38935),o=r(19417),a=r(14730);e.exports=function(e){var t=a(e,function(e){var t=e.getSelection(),r=e.getCurrentContent(),n=t.getAnchorKey(),a=t.getAnchorOffset(),s=r.getBlockForKey(n).getText()[a];return o(e,s?i.getUTF16Length(s,0):1)},"forward");if(t===e.getCurrentContent())return e;var r=e.getSelection();return n.push(e,t.set("selectionBefore",r),r.isCollapsed()?"delete-character":"remove-range")}},53318:function(e,t,r){"use strict";var n=r(42307),i=r(14289),o=r(88687);e.exports=function(e){var t,r,a=e.getSelection();if(!a.isCollapsed())return e;var s=a.getAnchorOffset();if(0===s)return e;var u=a.getAnchorKey(),c=e.getCurrentContent(),l=c.getBlockForKey(u).getLength();if(l<=1)return e;s===l?(t=a.set("anchorOffset",s-1),r=a):r=(t=a.set("focusOffset",s+1)).set("anchorOffset",s+1);var f=o(c,t),p=n.removeRange(c,t,"backward"),d=p.getSelectionAfter(),h=d.getAnchorOffset()-1,g=d.merge({anchorOffset:h,focusOffset:h}),y=n.replaceWithFragment(p,g,f),v=i.push(e,y,"insert-fragment");return i.acceptSelection(v,r)}},87051:function(e,t,r){"use strict";var n=r(14289);e.exports=function(e,t,r){var i=n.undo(t);if("spellcheck-change"===t.getLastChangeType()){var o=i.getCurrentContent();r(n.set(i,{nativelyRenderedContent:o}));return}if(e.preventDefault(),!t.getNativelyRenderedContent()){r(i);return}r(n.set(t,{nativelyRenderedContent:null})),setTimeout(function(){r(i)},0)}},57429:function(e,t,r){"use strict";var n=r(43393).Map;e.exports=function(e,t,r){var i=t.getStartKey(),o=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil(function(e,t){return t===i}).takeUntil(function(e,t){return t===o}).concat(n([[o,a.get(o)]])).map(r);return e.merge({blockMap:a.merge(s),selectionBefore:t,selectionAfter:t})}},61173:function(e,t,r){"use strict";var n=r(67953),i=r(39506),o=r(43393),a=r(73759),s=o.OrderedMap,u=o.List,transformBlock=function(e,t,r){if(e){var n=t.get(e);n&&t.set(e,r(n))}},updateBlockMapLinks=function(e,t,r,n,i){if(!i)return e;var o="after"===n,a=t.getKey(),s=r.getKey(),c=t.getParentKey(),l=t.getNextSiblingKey(),f=t.getPrevSiblingKey(),p=r.getParentKey(),d=o?r.getNextSiblingKey():s,h=o?s:r.getPrevSiblingKey();return e.withMutations(function(e){transformBlock(c,e,function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})}),transformBlock(f,e,function(e){return e.merge({nextSibling:l})}),transformBlock(l,e,function(e){return e.merge({prevSibling:f})}),transformBlock(d,e,function(e){return e.merge({prevSibling:a})}),transformBlock(h,e,function(e){return e.merge({nextSibling:a})}),transformBlock(p,e,function(e){var t=e.getChildKeys(),r=t.indexOf(s),n=t.toArray();return n.splice(o?r+1:0!==r?r-1:0,0,a),e.merge({children:u(n)})}),transformBlock(a,e,function(e){return e.merge({nextSibling:d,prevSibling:h,parent:p})})})};e.exports=function(e,t,r,o){"replace"!==o||a(!1);var u=r.getKey(),c=t.getKey();c!==u||a(!1);var l=e.getBlockMap(),f=t instanceof n,p=[t],d=l.delete(c);f&&(p=[],d=l.withMutations(function(e){var r=t.getNextSiblingKey(),n=i(t,e);e.toSeq().skipUntil(function(e){return e.getKey()===c}).takeWhile(function(e){var t=e.getKey(),i=t===c,o=!r&&e.getParentKey()&&(!n||t!==n);return!!(i||r&&t!==r||o)}).forEach(function(t){p.push(t),e.delete(t.getKey())})}));var h=d.toSeq().takeUntil(function(e){return e===r}),g=d.toSeq().skipUntil(function(e){return e===r}).skip(1),y=p.map(function(e){return[e.getKey(),e]}),v=s();if("before"===o){var m=e.getBlockBefore(u);m&&m.getKey()===t.getKey()&&a(!1),v=h.concat([].concat(y,[[u,r]]),g).toOrderedMap()}else if("after"===o){var _=e.getBlockAfter(u);_&&_.getKey()===c&&a(!1),v=h.concat([[u,r]].concat(y),g).toOrderedMap()}return e.merge({blockMap:updateBlockMapLinks(v,t,r,o,f),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:c,focusKey:c})})}},53268:function(e,t,r){"use strict";r(63620),e.exports=function(e,t){var r=e.getSelection(),n=e.getCurrentContent(),i=r.getStartKey(),o=r.getStartOffset(),a=i,s=0;if(t>o){var u=n.getKeyBefore(i);null==u?a=i:(a=u,s=n.getBlockForKey(u).getText().length)}else s=o-t;return r.merge({focusKey:a,focusOffset:s,isBackward:!0})}},19417:function(e,t,r){"use strict";r(63620),e.exports=function(e,t){var r,n=e.getSelection(),i=n.getStartKey(),o=n.get
1StartOffset(),a=e.getCurrentContent(),s=i;return t>a.getBlockForKey(i).getText().length-o?(s=a.getKeyAfter(i),r=0):r=o+t,n.merge({focusKey:s,focusOffset:r})}},98555:function(e,t,r){"use strict";var n=r(67953),i=r(25027),o=r(43393).OrderedMap,randomizeContentBlockNodeKeys=function(e){var t,r={};return o(e.withMutations(function(e){e.forEach(function(n,o){var a=n.getKey(),s=n.getNextSiblingKey(),u=n.getPrevSiblingKey(),c=n.getChildKeys(),l=n.getParentKey(),f=i();if(r[a]=f,s&&(e.get(s)?e.setIn([s,"prevSibling"],f):e.setIn([a,"nextSibling"],null)),u&&(e.get(u)?e.setIn([u,"nextSibling"],f):e.setIn([a,"prevSibling"],null)),l&&e.get(l)){var p=e.get(l).getChildKeys();e.setIn([l,"children"],p.set(p.indexOf(n.getKey()),f))}else e.setIn([a,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],f),e.setIn([a,"prevSibling"],r[t.getKey()])),t=e.get(a);c.forEach(function(t){e.get(t)?e.setIn([t,"parent"],f):e.setIn([a,"children"],n.getChildKeys().filter(function(e){return e!==t}))})})}).toArray().map(function(e){return[r[e.getKey()],e.set("key",r[e.getKey()])]}))};e.exports=function(e){return e.first() instanceof n?randomizeContentBlockNodeKeys(e):o(e.toArray().map(function(e){var t=i();return[t,e.set("key",t)]}))}},14017:function(e,t,r){"use strict";var n=r(4516),i=r(29407),o=r(73759);function removeForBlock(e,t,r){var a=t.getCharacterList(),s=r>0?a.get(r-1):void 0,u=r<a.count()?a.get(r):void 0,c=s?s.getEntity():void 0,l=u?u.getEntity():void 0;if(l&&l===c&&"MUTABLE"!==e.__get(l).getMutability()){for(var f,p,d=(i(a,function(e,t){return e.getEntity()===t.getEntity()},function(e){return e.getEntity()===l},function(e,t){e<=r&&t>=r&&(f={start:e,end:t})}),"object"!=typeof f&&o(!1),f),h=d.start,g=d.end;h<g;)p=a.get(h),a=a.set(h,n.applyEntity(p,null)),h++;return t.set("characterList",a)}return t}e.exports=function(e,t){var r=e.getBlockMap(),n=e.getEntityMap(),i={},o=t.getStartKey(),a=t.getStartOffset(),s=r.get(o),u=removeForBlock(n,s,a);u!==s&&(i[o]=u);var c=t.getEndKey(),l=t.getEndOffset(),f=r.get(c);o===c&&(f=u);var p=removeForBlock(n,f,l);return(p!==f&&(i[c]=p),Object.keys(i).length)?e.merge({blockMap:r.merge(i),selectionAfter:t}):e.set("selectionAfter",t)}},54879:function(e,t,r){"use strict";var n=r(67953),i=r(39506),o=r(43393);o.List;var a=o.Map,transformBlock=function(e,t,r){if(e){var n=t.get(e);n&&t.set(e,r(n))}},getAncestorsKeys=function(e,t){var r=[];if(!e)return r;for(var n=t.get(e);n&&n.getParentKey();){var i=n.getParentKey();i&&r.push(i),n=i?t.get(i):null}return r},getNextDelimitersBlockKeys=function(e,t){var r=[];if(!e)return r;for(var n=i(e,t);n&&t.get(n);){var o=t.get(n);r.push(n),n=o.getParentKey()?i(o,t):null}return r},getNextValidSibling=function(e,t,r){if(!e)return null;for(var n=r.get(e.getKey()).getNextSiblingKey();n&&!t.get(n);)n=r.get(n).getNextSiblingKey()||null;return n},getPrevValidSibling=function(e,t,r){if(!e)return null;for(var n=r.get(e.getKey()).getPrevSiblingKey();n&&!t.get(n);)n=r.get(n).getPrevSiblingKey()||null;return n},removeFromList=function(e,t,r){if(0===t)for(;t<r;)e=e.shift(),t++;else if(r===e.count())for(;r>t;)e=e.pop(),r--;else{var n=e.slice(0,t),i=e.slice(r);e=n.concat(i).toList()}return e};e.exports=function(e,t){if(t.isCollapsed())return e;var r,o,s=e.getBlockMap(),u=t.getStartKey(),c=t.getStartOffset(),l=t.getEndKey(),f=t.getEndOffset(),p=s.get(u),d=s.get(l),h=p instanceof n,g=[];if(h){var y=d.getChildKeys(),v=getAncestorsKeys(l,s);d.getNextSiblingKey()&&(g=g.concat(v)),y.isEmpty()||(g=g.concat(v.concat([l]))),g=g.concat(getAncestorsKeys(i(d,s),s))}o=p===d?removeFromList(p.getCharacterList(),c,f):p.getCharacterList().slice(0,c).concat(d.getCharacterList().slice(f));var m=p.merge({text:p.getText().slice(0,c)+d.getText().slice(f),characterList:o}),_=h&&0===c&&0===f&&d.getParentKey()===u&&null==d.getPrevSiblingKey()?a([[u,null]]):s.toSeq().skipUntil(function(e,t){return t===u}).takeUntil(function(e,t){return t===l}).filter(function(e,t){return -1===g.indexOf(t)}).concat(a([[l,null]])).map(function(e,t){return t===u?m:null}),S=s.merge(_).filter(function(e){return!!e});return h&&p!==d&&(S=(r=S).withMutations(function(e){if(transformBlock(p.getKey(),e,function(t){return t.merge({nextSibling:getNextValidSibling(t,e,s),prevSibling:getPrevValidSibling(t,e,s)})}),transformBlock(d.getKey(),e,function(t){return t.merge({nextSibling:getNextValidSibling(t,e,s),prevSibling:getPrevValidSibling(t,e,s)})}
1),getAncestorsKeys(p.getKey(),s).forEach(function(t){return transformBlock(t,e,function(t){return t.merge({children:t.getChildKeys().filter(function(t){return e.get(t)}),nextSibling:getNextValidSibling(t,e,s),prevSibling:getPrevValidSibling(t,e,s)})})}),transformBlock(p.getNextSiblingKey(),e,function(e){return e.merge({prevSibling:p.getPrevSiblingKey()})}),transformBlock(p.getPrevSiblingKey(),e,function(t){return t.merge({nextSibling:getNextValidSibling(t,e,s)})}),transformBlock(d.getNextSiblingKey(),e,function(t){return t.merge({prevSibling:getPrevValidSibling(t,e,s)})}),transformBlock(d.getPrevSiblingKey(),e,function(e){return e.merge({nextSibling:d.getNextSiblingKey()})}),getAncestorsKeys(d.getKey(),s).forEach(function(t){transformBlock(t,e,function(t){return t.merge({children:t.getChildKeys().filter(function(t){return e.get(t)}),nextSibling:getNextValidSibling(t,e,s),prevSibling:getPrevValidSibling(t,e,s)})})}),getNextDelimitersBlockKeys(d,s).forEach(function(t){return transformBlock(t,e,function(t){return t.merge({nextSibling:getNextValidSibling(t,e,s),prevSibling:getPrevValidSibling(t,e,s)})})}),null==r.get(p.getKey())&&null!=r.get(d.getKey())&&d.getParentKey()===p.getKey()&&null==d.getPrevSiblingKey()){var t=p.getPrevSiblingKey();transformBlock(d.getKey(),e,function(e){return e.merge({prevSibling:t})}),transformBlock(t,e,function(e){return e.merge({nextSibling:d.getKey()})});var n=t?r.get(t):null,i=n?n.getParentKey():null;if(p.getChildKeys().forEach(function(t){transformBlock(t,e,function(e){return e.merge({parent:i})})}),null!=i){var o=r.get(i);transformBlock(i,e,function(e){return e.merge({children:o.getChildKeys().concat(p.getChildKeys())})})}transformBlock(p.getChildKeys().find(function(e){return null===r.get(e).getNextSiblingKey()}),e,function(e){return e.merge({nextSibling:p.getNextSiblingKey()})})}})),e.merge({blockMap:S,selectionBefore:t,selectionAfter:t.merge({anchorKey:u,anchorOffset:c,focusKey:u,focusOffset:c,isBackward:!1})})}},14730:function(e,t,r){"use strict";var n=r(42307),i=r(68642)("draft_tree_data_support");e.exports=function(e,t,r){var o=e.getSelection(),a=e.getCurrentContent(),s=o,u=o.getAnchorKey(),c=o.getFocusKey(),l=a.getBlockForKey(u);if(i&&"forward"===r&&u!==c)return a;if(o.isCollapsed()){if("forward"===r){if(e.isSelectionAtEndOfContent())return a;if(i&&o.getAnchorOffset()===a.getBlockForKey(u).getLength()){var f=a.getBlockForKey(l.nextSibling);if(!f||0===f.getLength())return a}}else if(e.isSelectionAtStartOfContent())return a;if((s=t(e))===o)return a}return n.removeRange(a,s,r)}},55283:function(e){"use strict";var t=RegExp("\r","g");e.exports=function(e){return e.replace(t,"")}},45412:function(e,t,r){"use strict";var n=r(5880),i=r(97432),o=r(4856),a=r(67476),s=r(31003),u=r(75795),c=r(73759),l=r(84368),f=o.isBrowser("IE");function getAnonymizedEditorDOM(e,t){for(var r=e,n=r;r;){if(l(r)&&n.hasAttribute("contenteditable"))return function(e,t){if(!e)return"[empty]";var r=function anonymizeTextWithin(e,t){var r=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var n=e.textContent.length;return u(e).createTextNode("[text "+n+(r.length?" | "+r.join(", "):"")+"]")}var i=e.cloneNode();1===i.nodeType&&r.length&&i.setAttribute("data-labels",r.join(", "));for(var o=e.childNodes,a=0;a<o.length;a++)i.appendChild(anonymizeTextWithin(o[a],t));return i}(e,t);return r.nodeType===Node.TEXT_NODE?r.textContent:(l(r)||c(!1),r.outerHTML)}(r,t);n=r=r.parentNode}return"Could not find contentEditable parent of node"}function getNodeLength(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function addFocusToSelection(e,t,r,n){var o=s();if(e.extend&&null!=t&&a(o,t)){r>getNodeLength(t)&&i.logSelectionStateFailure({anonymizedDom:getAnonymizedEditorDOM(t),extraParams:JSON.stringify({offset:r}),selectionState:JSON.stringify(n.toJS())});var u=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,r)}catch(a){throw i.logSelectionStateFailure({anonymizedDom:getAnonymizedEditorDOM(t,function(t){var r=[];return t===o&&r.push("active element"),t===e.anchorNode&&r.push("selection anchor node"),t===e.focusNode&&r.push("selection focus node"),r}),extraParams:JSON.stringify({activeElementName:o?o.nodeName:null,nodeIsFocus:t===e.focusNode,nodeWasFocus:u,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focu
1sNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:a?""+a:null,offset:r},null,2),selectionState:JSON.stringify(n.toJS(),null,2)}),a}}else if(t&&e.rangeCount>0){var c=e.getRangeAt(0);c.setEnd(t,r),e.addRange(c.cloneRange())}}function addPointToSelection(e,t,r,o){var a=u(t).createRange();if(r>getNodeLength(t)&&(i.logSelectionStateFailure({anonymizedDom:getAnonymizedEditorDOM(t),extraParams:JSON.stringify({offset:r}),selectionState:JSON.stringify(o.toJS())}),n.handleExtensionCausedError()),a.setStart(t,r),f)try{e.addRange(a)}catch(e){}else e.addRange(a)}e.exports={setDraftEditorSelection:function(e,t,r,n,i){var o=u(t);if(a(o.documentElement,t)){var s=o.defaultView.getSelection(),c=e.getAnchorKey(),l=e.getAnchorOffset(),f=e.getFocusKey(),p=e.getFocusOffset(),d=e.getIsBackward();if(!s.extend&&d){var h=c,g=l;c=f,l=p,f=h,p=g,d=!1}var y=c===r&&n<=l&&i>=l,v=f===r&&n<=p&&i>=p;if(y&&v){s.removeAllRanges(),addPointToSelection(s,t,l-n,e),addFocusToSelection(s,t,p-n,e);return}if(d){if(v&&(s.removeAllRanges(),addPointToSelection(s,t,p-n,e)),y){var m=s.focusNode,_=s.focusOffset;s.removeAllRanges(),addPointToSelection(s,t,l-n,e),addFocusToSelection(s,m,_,e)}}else y&&(s.removeAllRanges(),addPointToSelection(s,t,l-n,e)),v&&addFocusToSelection(s,t,p-n,e)}},addFocusToSelection:addFocusToSelection}},36043:function(e,t,r){"use strict";var n=r(67953),i=r(25027),o=r(43393),a=r(73759),s=r(57429),u=o.List,c=o.Map,transformBlock=function(e,t,r){if(e){var n=t.get(e);n&&t.set(e,r(n))}};e.exports=function(e,t){t.isCollapsed()||a(!1);var r=t.getAnchorKey(),o=e.getBlockMap(),l=o.get(r),f=l.getText();if(!f){var p=l.getType();if("unordered-list-item"===p||"ordered-list-item"===p)return s(e,t,function(e){return e.merge({type:"unstyled",depth:0})})}var d=t.getAnchorOffset(),h=l.getCharacterList(),g=i(),y=l.merge({text:f.slice(0,d),characterList:h.slice(0,d)}),v=y.merge({key:g,text:f.slice(d),characterList:h.slice(d),data:c()}),m=o.toSeq().takeUntil(function(e){return e===l}),_=o.toSeq().skipUntil(function(e){return e===l}).rest(),S=m.concat([[r,y],[g,v]],_).toOrderedMap();return l instanceof n&&(l.getChildKeys().isEmpty()||a(!1),S=S.withMutations(function(e){var t=y.getKey(),r=v.getKey();transformBlock(y.getParentKey(),e,function(e){var n=e.getChildKeys(),i=n.indexOf(t)+1,o=n.toArray();return o.splice(i,0,r),e.merge({children:u(o)})}),transformBlock(y.getNextSiblingKey(),e,function(e){return e.merge({prevSibling:r})}),transformBlock(t,e,function(e){return e.merge({nextSibling:r})}),transformBlock(r,e,function(e){return e.merge({prevSibling:t})})})),e.merge({blockMap:S,selectionBefore:t,selectionAfter:t.merge({anchorKey:g,anchorOffset:0,focusKey:g,focusOffset:0,isBackward:!1})})}},44300:function(e){"use strict";var t=/\r\n?|\n/g;e.exports=function(e){return e.split(t)}},76363:function(e){"use strict";e.exports=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}},44891:function(e,t,r){"use strict";var n=r(51006),i=r(89825),o=r(60139),a=RegExp("\r\n","g"),s={"text/rtf":1,"text/html":1};function getFileFromDataTransfer(e){if("file"==e.kind)return e.getAsFile()}var u=function(){function DataTransfer(e){this.data=e,this.types=e.types?i(e.types):[]}var e=DataTransfer.prototype;return e.isRichText=function(){return!!(this.getHTML()&&this.getText())||!this.isImage()&&this.types.some(function(e){return s[e]})},e.getText=function(){var e;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(e=this.data.getData("text/plain")):e=this.data.getData("Text")),e?e.replace(a,"\n"):null},e.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},e.isLink=function(){return this.types.some(function(e){return -1!=e.indexOf("Url")||-1!=e.indexOf("text/uri-list")||e.indexOf("text/x-moz-url")})},e.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-l
1ist")?this.data.getData("text/uri-list"):this.data.getData("url"):null},e.isImage=function(){if(this.types.some(function(e){return -1!=e.indexOf("application/x-moz-file")}))return!0;for(var e=this.getFiles(),t=0;t<e.length;t++){var r=e[t].type;if(!n.isImage(r))return!1}return!0},e.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},e.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(getFileFromDataTransfer).filter(o.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},e.hasFiles=function(){return this.getFiles().length>0},DataTransfer}();e.exports=u},25399:function(e){"use strict";e.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},51006:function(e){"use strict";var t={isImage:function(e){return"image"===getParts(e)[0]},isJpeg:function(e){var r=getParts(e);return t.isImage(e)&&("jpeg"===r[1]||"pjpeg"===r[1])}};function getParts(e){return e.split("/")}e.exports=t},65994:function(e){"use strict";function _isViewportScrollElement(e,t){return!!t&&(e===t.documentElement||e===t.body)}e.exports={getTop:function(e){var t=e.ownerDocument;return _isViewportScrollElement(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var r=e.ownerDocument;_isViewportScrollElement(e,r)?r.body.scrollTop=r.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return _isViewportScrollElement(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var r=e.ownerDocument;_isViewportScrollElement(e,r)?r.body.scrollLeft=r.documentElement.scrollLeft=t:e.scrollLeft=t}}},19051:function(e,t,r){"use strict";function _isNodeScrollable(e,t){var r=n.get(e,t);return"auto"===r||"scroll"===r}var n={get:r(85466),getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(_isNodeScrollable(e,"overflow")||_isNodeScrollable(e,"overflowY")||_isNodeScrollable(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}};e.exports=n},65724:function(e){"use strict";e.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;ã»ããã-ãã-ãï¼-ï¼ï¼-ï¼ï¼»-ï½ï½-・⸮ØÙª-Ù¬ØØØï´¾ï´¿á ।ááâ-â§â°-â\xa1-\xb1\xb4-\xb8\xba\xbb\xbf]"}}},61425:function(e){"use strict";var t=function(){function URI(e){var t,r;r=void 0,(t="_uri")in this?Object.defineProperty(this,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):this[t]=r,this._uri=e}return URI.prototype.toString=function(){return this._uri},URI}();e.exports=t},54191:function(e,t,r){"use strict";var n=r(16633),i=r(73759),o={L:"A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ƺƻƼ-Æ¿Ç-ÇÇ-ÊÊÊ-ʯʰ-ʸʻ-ËË-ËË -ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿÎÎ-ÎÎÎ-ΡΣ-ϵϷ-ÒÒÒ-Ô¯Ô±-ÕÕÕ-ÕÕ¡-ÖÖà¤à¤-हऻऽा-à¥à¥-à¥à¥-à¥à¥à¥-ॡ।-॥०-९॰ॱॲ-à¦à¦-à¦à¦
-à¦à¦-à¦à¦-নপ-রলশ-হঽা-à§à§-à§à§-à§à§à§à§-à§à§-ৡ০-৯ৰ-ৱ৴-৹৺à¨à¨
-à¨à¨-à¨à¨-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-à©à©-à©à©à©¦-੯ੲ-à©´àªàª
-àªàª-àªàª-નપ-રલ-ળવ-હઽા-à«à«à«-à«à«à« -ૡ૦-૯૰à¬-à¬à¬
-à¬à¬-à¬à¬-ନପ-ରଲ-ଳଵ-ହଽାàà-àà-ààà-àà-à¡à¦-à¯à°à±à²-à·à®à®
-à®à®-à®à®-à®à®-à®à®à®-à®à®£-தந-பம-ஹா-ிà¯-à¯à¯-à¯à¯-à¯à¯à¯à¯¦-௯௰-௲à°-à°à°
-à°à°-à°à°-నప-హఽà±-à±à±-à±à± -ౡ౦-౯౿à²-à²à²
-à²à²-à²à²-ನಪ-ಳವ-ಹಽಾಿà³-à³à³à³-à³à³-à³à³-à³à³à³ -ೡ೦-೯ೱ-à³²à´-à´à´
-à´à´-à´à´-ഺഽാ-àµàµ-àµàµ-àµàµàµàµ -ൡ൦-൯൰-൵൹ൺ-ൿà¶-à¶à¶
-à¶à¶-නඳ-රලà·-à·à·-à·à·-à·à·¦-෯ෲ-ෳ෴à¸-ะา-ำà¹-à¹
à¹à¹à¹-à¹à¹-à¹àº-àºàºàº-àºàºàºàº-àºàº-àºàº¡-ຣລວສ-ຫàº-ະາ-ຳຽà»-à»à»à»-à»à»-à»à¼à¼-à¼à¼-à¼à¼à¼à¼-à¼à¼-à¼à¼ -༩༪-༳༴༶༸༾-༿à½-à½à½-ཬཿà¾
à¾-à¾à¾¾-à¿
à¿-à¿à¿-à¿à¿-à¿à¿-à¿à¿-à¿á-áªá«-á¬á±á¸á»-á¼á¿á-áá-áá-áá-áá-áá¡á¢-á¤á¥-á¦á§-áá®-á°áµ-áá-áá-áááá-áá-áá-áá -á
ááá-áºá»á¼á½-áá-áá-ááá-áá -áá-áá-á°á²-áµá¸-á¾áá-á
á-áá-áá-áá-áá -á¨á©-á¼á-áá -á´á-á¬á-á®á¯-á¿á-áá -áªá«-áá®-á°á±-á¸á-áá-áá -á±áµ-á¶á
1-áá -á¬á®-á°á-á³á¶á¾-á
á-áá-ááá-ááá -á©á -á á -á¡á¡á¡-á¡·á¢-ᢨᢪᢰ-ᣵá¤-á¤á¤£-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸá¥-á¥á¥-á¥á¥°-ᥴá¦-ᦫᦰ-á§á§-á§á§-á§á§-á§á§á¨-á¨á¨-á¨á¨-á¨á¨ -á©á©á©á©¡á©£-ᩤá©-ᩲáª-áªáª-áªáª -᪦ᪧ᪨-áªá¬á¬
-ᬳᬵᬻᬽ-áá-áá
-áá-áá-á á¡-áªá´-á¼á®á®-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿á°-ᰣᰤ-á°«á°´-ᰵ᰻-á°¿á±-á±á±-á±á±-á±á±-ᱷᱸ-ᱽ᱾-᱿á³-á³á³á³¡á³©-ᳬᳮ-ᳱᳲ-ᳳᳵ-á³¶á´-á´«á´¬-ᵪᵫ-ᵷᵸᵹ-á¶á¶-á¶¿á¸-á¼á¼-á¼á¼ -á½
á½-á½á½-á½á½á½á½á½-á½½á¾-á¾´á¾¶-ᾼιá¿-á¿á¿-á¿á¿-á¿á¿-á¿á¿ -Ῥῲ-á¿´á¿¶-ῼââ±â¿â-ââââ-âââ-ââ¤â¦â¨âª-ââ¯-â´âµ-â¸â¹â¼-â¿â
-â
â
â
â
-ââ-ââ
-ââ¶-âºââ-â©â¬â -⣿â°-Ⱞⰰ-â±â± -ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-â³³â´-ⴥⴧâ´â´°-ⵧⵯ⵰â¶-â¶â¶ -ⶦⶨ-ⶮⶰ-ⶶⶸ-â¶¾â·-â·â·-â·â·-â·â·-â·ã
ããã¡-ã©ã®-ã¯ã±-ãµã¸-ãºã»ã¼ã-ãã-ããã¡-ãºã¼-ã¾ã¿ã
-ãã±-ãã-ãã-ãã-ãã -ãºã°-ã¿ã-ãã -ã©ãª-ãã-ãã -ã»ã¿ã-ãã-ã°ã-ãã-ã¾ã-ã¶ã»-ãã -ã¾ã-ä¶µä¸-é¿ê-êêê-êê-ê·ê¸-ê½ê¾-ê¿ê-êêê-êê -ê©êª-ê«ê-êê®ê-êê-êê -ê¥ê¦-ê¯ê²-ê·ê¢-ê¯ê°ê±-êê-êê-êê-êê°-ê±ê·ê¸-ê¹êºê»-ê ê -ê
ê -ê ê -ê ¢ê £-ê ¤ê §ê °-ê µê ¶-ê ·ê¡-ꡳê¢-ê¢ê¢-ꢳꢴ-ê£ê£-ê£ê£-ê£ê£²-ꣷ꣸-꣺ꣻê¤-ê¤ê¤-ꤥ꤮-꤯ꤰ-ê¥ê¥-ê¥ê¥ê¥ -ꥼê¦ê¦-ꦲꦴ-ꦵꦺ-ꦻꦽ-ê§ê§-ê§ê§ê§-ê§ê§-ê§ê§ -ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ê§¾ê¨-ꨨꨯ-ꨰꨳ-ꨴê©-ê©ê©-ê©ê©ê©-ê©ê©-ê©ê© -ꩯꩰꩱ-ê©¶ê©·-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽê«ê«ê«-ê«ê«ê«-ê«ê« -ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵê¬-ê¬ê¬-ê¬ê¬-ê¬ê¬ -ꬦꬨ-ꬮꬰ-êêê-êê¤-ê¥ê¯-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹ê°-í£í°-íí-í»î-ï¤-ï©ï©°-ï«ï¬-ï¬ï¬-ï¬ï¼¡-Zï½-ï½ï½¦-ッーア-ï¾ï¾-ï¾ï¾ -ï¾¾ï¿-ï¿ï¿-ï¿ï¿-ï¿ï¿-ï¿",R:"ÖÖ¾××××-××-ת׫-ׯװ-ײ׳-×´×µ-׿ß-ßß-ߪߴ-ߵߺ߻-ß¿à -à à à ¤à ¨à ®-à ¯à °-à ¾à ¿à¡-à¡à¡-à¡à¡à¡-à¢âï¬ï¬-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿ï-ïïï-ïï
ï-ï",AL:"ØØØØØØØ-ØØ -Ø¿ÙÙ-ÙÙÙ®-ٯٱ-ÛÛÛÛ¥-Û¦Û®-Û¯Ûº-Û¼Û½-Û¾Û¿Ü-ÜÜÜÜÜ-ܯÝ-ÝÝ-Þ¥Þ±Þ²-޿ࢠ-ࢲࢳ-ࣣï-ﮱ﮲-ï¯ï¯-ï¯ï¯-ï´½ïµ-ïµïµ-ï¶ï¶-ï¶ï¶-ï·ï·-ï·ï·°-ﷻ﷼﷾-ï·¿ï¹°-ﹴ﹵ﹶ-ﻼ﻽-﻾"},a=RegExp("["+o.L+o.R+o.AL+"]"),s=RegExp("["+o.R+o.AL+"]");function firstStrongChar(e){var t=a.exec(e);return null==t?null:t[0]}function firstStrongCharDir(e){var t=firstStrongChar(e);return null==t?n.NEUTRAL:s.exec(t)?n.RTL:n.LTR}function resolveBlockDir(e,t){if(t=t||n.NEUTRAL,!e.length)return t;var r=firstStrongCharDir(e);return r===n.NEUTRAL?t:r}function getDirection(e,t){return t||(t=n.getGlobalDir()),n.isStrong(t)||i(!1),resolveBlockDir(e,t)}e.exports={firstStrongChar:firstStrongChar,firstStrongCharDir:firstStrongCharDir,resolveBlockDir:resolveBlockDir,getDirection:getDirection,isDirectionLTR:function(e,t){return getDirection(e,t)===n.LTR},isDirectionRTL:function(e,t){return getDirection(e,t)===n.RTL}}},16633:function(e,t,r){"use strict";var n=r(73759),i=null;function isStrong(e){return"LTR"===e||"RTL"===e}function getHTMLDir(e){return isStrong(e)||n(!1),"LTR"===e?"ltr":"rtl"}e.exports={NEUTRAL:"NEUTRAL",LTR:"LTR",RTL:"RTL",isStrong:isStrong,getHTMLDir:getHTMLDir,getHTMLDirIfDifferent:function(e,t){return isStrong(e)||n(!1),isStrong(t)||n(!1),e===t?null:getHTMLDir(e)},setGlobalDir:function(e){i=e},initGlobalDir:function(){i="LTR"},getGlobalDir:function(){return i||this.initGlobalDir(),i||n(!1),i}}},7902:function(e,t,r){"use strict";function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var n=r(54191),i=r(16633),o=r(73759),a=function(){function UnicodeBidiService(e){_defineProperty(this,"_defaultDir",void 0),_defineProperty(this,"_lastDir",void 0),e?i.isStrong(e)||o(!1):e=i.getGlobalDir(),this._defaultDir=e,this.reset()}var e=UnicodeBidiService.prototype;return e.reset=function(){this._lastDir=this._defaultDir},e.getDirection=function(e){return this._lastDir=n.getDirection(e,this._lastDir),this._lastDir},UnicodeBidiService}();e.exports=a},38935:function(e,t,r){"use strict";var n=r(73759),i=/[\uD800-\uDFFF]/;function isCodeUnitInSurrogateRange(e){return 55296<=e&&e<=57343}function hasSurrogateUnit(e){return i.test(e)}function getUTF16Length(e,t){return 1+isCodeUnitInSurrogateRange(e.charCodeAt(t))}function substr(e,t,r){if(t=t||0,r=void 0===r?1/0:r||0,!hasSurrogateUnit(e))return e.substr(t,r);var n=e.length;if(n<=0||t>n||r<=0)return"";var i=0;if(t>0){for(;t>0&&i<n;t--)i+=getUTF16Length(e,i);if(i>=n)return""}else if(t<0){for(i=n;t<0&&0<i;t++)i-=getUTF16Length(e,i-1);i<0&&(i=0)}var o=n;if(r<n)for(o=i;r>0&&o<n;r--)o+=getUTF16Length(e,o);return e.substring(i,o)}e.exports={getCodePoints:function(e){for(var t=[],r=0;r<e.length;r+=getUTF16Length(e,r))t.push(e.codePointAt(r));return t},getUTF16Length:getUTF16Length,hasSurrogateUnit:hasSurrogateUnit,isCodeUnitInSurrogateRange:isCodeUnitInSurrogateRange,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||n(!1),t+1===e.length)return!1;var r=e.charCodeAt(t),i=e.charCodeAt(t+1);return 55296<=r&&r<=56319&&56320<=i&&i<=57343},strlen:function(e){if(!hasSurrogateUnit(e))return e.length;for(var t=0,r=0;r<e.length;r+=getUTF16Length(e,r))t++;return t},substring:function(e,t,r){(t=t||0)<0&&(t=0),(r=void 0===r?1/0:r||0)<0&&(r=0);var n=Math.abs(r-t);return substr(e,t=t<r?t:r,n)},substr:substr}},4856:function(e,t,r){"use strict";var n=r(95845),i=r(59859),o=r(79467),a=r(51767);function compare(e,t,r,n){if(e===r)return!0;
1if(!r.startsWith(e))return!1;var o=r.slice(e.length);return!!t&&(o=n?n(o):o,i.contains(o,t))}function normalizePlatformVersion(e){return"Windows"===n.platformName?e.replace(/^\s*NT/,""):e}e.exports=o({isBrowser:function(e){return compare(n.browserName,n.browserFullVersion,e)},isBrowserArchitecture:function(e){return compare(n.browserArchitecture,null,e)},isDevice:function(e){return compare(n.deviceName,null,e)},isEngine:function(e){return compare(n.engineName,n.engineVersion,e)},isPlatform:function(e){return compare(n.platformName,n.platformFullVersion,e,normalizePlatformVersion)},isPlatformArchitecture:function(e){return compare(n.platformArchitecture,null,e)}},a)},95845:function(e,t,r){"use strict";var n,i=r(42238),o="Unknown",a=new i().getResult(),s=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(a.browser.version),u={browserArchitecture:a.cpu.architecture||o,browserFullVersion:a.browser.version||o,browserMinorVersion:s.minor||o,browserName:a.browser.name||o,browserVersion:a.browser.major||o,deviceName:a.device.model||o,engineName:a.engine.name||o,engineVersion:a.engine.version||o,platformArchitecture:a.cpu.architecture||o,platformName:{"Mac OS":"Mac OS X"}[n=a.os.name]||n||o,platformVersion:a.os.version||o,platformFullVersion:a.os.version||o};e.exports=u},59859:function(e,t,r){"use strict";var n=r(73759),i=/\./,o=/\|\|/,a=/\s+\-\s+/,s=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,u=/^(\d*)(.*)/;function checkSimpleExpression(e,t){if(""===(e=e.trim()))return!0;var r,n,o,a,s,u=t.split(i),c=getModifierAndComponents(e),l=c.modifier,f=c.rangeComponents;switch(l){case"<":return -1===compareComponents(u,f);case"<=":return -1===(r=compareComponents(u,f))||0===r;case">=":return checkGreaterThanOrEqual(u,f);case">":return 1===compareComponents(u,f);case"~":case"~>":return n=f.slice(),(o=f.slice()).length>1&&o.pop(),a=o.length-1,isNumber(s=parseInt(o[a],10))&&(o[a]=s+1+""),checkGreaterThanOrEqual(u,n)&&-1===compareComponents(u,o);default:return 0===compareComponents(u,f)}}function checkGreaterThanOrEqual(e,t){var r=compareComponents(e,t);return 1===r||0===r}function getModifierAndComponents(e){var t=e.split(i),r=t[0].match(s);return r||n(!1),{modifier:r[1],rangeComponents:[r[2]].concat(t.slice(1))}}function isNumber(e){return!isNaN(e)&&isFinite(e)}function isSimpleVersion(e){return!getModifierAndComponents(e).modifier}function zeroPad(e,t){for(var r=e.length;r<t;r++)e[r]="0"}function compare(e,t){return(typeof e!=typeof t&&n(!1),e>t)?1:e<t?-1:0}function compareComponents(e,t){for(var r=function(e,t){zeroPad(e=e.slice(),(t=t.slice()).length);for(var r=0;r<t.length;r++){var n=t[r].match(/^[x*]$/i);if(n&&(t[r]=e[r]="0","*"===n[0]&&r===t.length-1))for(var i=r;i<e.length;i++)e[i]="0"}return zeroPad(t,e.length),[e,t]}(e,t),n=r[0],i=r[1],o=0;o<i.length;o++){var a=function(e,t){var r=e.match(u)[1],n=t.match(u)[1],i=parseInt(r,10),o=parseInt(n,10);return isNumber(i)&&isNumber(o)&&i!==o?compare(i,o):compare(e,t)}(n[o],i[o]);if(a)return a}return 0}var c={contains:function(e,t){var r,i,s;return r=e.trim(),i=t.trim(),(s=r.split(o)).length>1?s.some(function(e){return c.contains(e,i)}):function(e,t){var r=e.split(a);if(r.length>0&&r.length<=2||n(!1),1===r.length)return checkSimpleExpression(r[0],t);var i=r[0],o=r[1];return isSimpleVersion(i)&&isSimpleVersion(o)||n(!1),checkSimpleExpression(">="+i,t)&&checkSimpleExpression("<="+o,t)}(r=s[0].trim(),i)}};e.exports=c},52297:function(e){"use strict";var t=/-(.)/g;e.exports=function(e){return e.replace(t,function(e,t){return t.toUpperCase()})}},67476:function(e,t,r){"use strict";var n=r(52334);e.exports=function containsNode(e,t){return!!e&&!!t&&(e===t||!n(e)&&(n(t)?containsNode(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}},89825:function(e,t,r){"use strict";var n=r(73759);e.exports=function(e){return e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)?Array.isArray(e)?e.slice():function(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&n(!1),"number"!=typeof t&&n(!1),0===t||t-1 in e||n(!1),"function"!=typeof e.callee||n(!1),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var r=Array(t),i=0;i<t;i++)r[i]=e[i];return r}(e):[e]}},62620:function(e){"use strict";function replace(e){return e.replace(/\//g,"-")}e.exports=function(e){return"object"==typeof e?Object.keys(e).filter(function(t){return e[t]}).map(replace).join(" "):Array.prototype.map.call(arguments,replace).join(" ")}},60139:function(e){"use strict";function makeEmptyFunction(e){return function(){return e}}var emptyFunction=function(){};emptyFunction.thatReturns=makeEmptyFunction,emptyFunction.thatReturnsFalse=makeEmptyFunction(!1),emptyFunction.thatReturnsTrue=makeEmptyFunction(!0),emptyFunction.thatReturnsNull=makeEmptyFunction(null),emptyFunction.thatReturnsThis=function(){return this},emptyFunction.thatReturnsArgument=function(e){return e},e.exports=emptyFunction},31003:function(e){"use strict";e.exports=function(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}},35179:function(e){"use strict";var t="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;e.exports=function(e){return(e=e||document).scrollingElement?e.scrollingElement:t||"CSS1Compat"!==e.compatMode?e.body:e.documentElement}},55258:function(e,t,r){"use strict";var n=r(23123);e.exports=function(e){var t=n(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}}},23123:function(e,t,r){"use strict";var n=r(67476);e.exports=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!n(t,e))return{left:0,right:0,top:0,bottom:0};var r=e.getBoundingClientRect();return{left:Math.round(r.left)-t.clientLeft,right:Math.round(r.right)-t.clientLeft,top:Math.round(r.top)-t.clientTop,bottom:Math.round(r.bottom)-t.clientTop}}},79749:function(e,t,r){"use strict";var n=r(35179),i=r(30787);e.exports=function(e){var t=n(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var r=i(e),o=e===t?e.ownerDocument.documentElement:e,a=e.scrollWidth-o.clientWidth,s=e.scrollHeight-o.clientHeight;return r.x=Math.max(0,Math.min(r.x,a)),r.y=Math.max(0,Math.min(r.y,s)),r}},85466:function(e,t,r){"use strict";var n=r(52297),i=r(89349);function asString(e){return null==e?e:String(e)}e.exports=function(e,t){var r;if(window.getComputedStyle&&(r=window.getComputedStyle(e,null)))return asString(r.getPropertyValue(i(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(r=document.defaultView.getComputedStyle(e,null))return asString(r.getPropertyValue(i(t)));if("display"===t)return"none"}return e.currentStyle?"float"===t?asString(e.currentStyle.cssFloat||e.currentStyle.styleFloat):asString(e.currentStyle[n(t)]):asString(e.style&&e.style[n(t)])}},30787:function(e){"use strict";e.exports=function(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}},70746:function(e){"use strict";function getViewportWidth(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}
1function getViewportHeight(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function getViewportDimensions(){return{width:window.innerWidth||getViewportWidth(),height:window.innerHeight||getViewportHeight()}}getViewportDimensions.withoutScrollbars=function(){return{width:getViewportWidth(),height:getViewportHeight()}},e.exports=getViewportDimensions},89349:function(e){"use strict";var t=/([A-Z])/g;e.exports=function(e){return e.replace(t,"-$1").toLowerCase()}},73759:function(e){"use strict";var validateFormat=function(e){};e.exports=function(e,t){for(var r,n=arguments.length,i=Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];if(validateFormat(t),!e){if(void 0===t)r=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(r=Error(t.replace(/%s/g,function(){return String(i[a++])}))).name="Invariant Violation"}throw r.framesToPop=1,r}}},20901:function(e){"use strict";e.exports=function(e){var t=(e?e.ownerDocument||e:document).defaultView||window;return!!(e&&("function"==typeof t.Node?e instanceof t.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}},52334:function(e,t,r){"use strict";var n=r(20901);e.exports=function(e){return n(e)&&3==e.nodeType}},71108:function(e){"use strict";e.exports=function(e){var t=e||"",r=arguments.length;if(r>1)for(var n=1;n<r;n++){var i=arguments[n];i&&(t=(t?t+" ":"")+i)}return t}},79467:function(e){"use strict";var t=Object.prototype.hasOwnProperty;e.exports=function(e,r,n){if(!e)return null;var i={};for(var o in e)t.call(e,o)&&(i[o]=r.call(n,e[o],o,e));return i}},51767:function(e){"use strict";e.exports=function(e){var t={};return function(r){return t.hasOwnProperty(r)||(t[r]=e.call(this,r)),t[r]}}},22045:function(e){"use strict";e.exports=function(e){if(null!=e)return e;throw Error("Got unexpected null or undefined")}},56926:function(e,t,r){"use strict";r(99647),e.exports=r.g.setImmediate},63620:function(e,t,r){"use strict";var n=r(60139);e.exports=n},43393:function(e){e.exports=function(){"use strict";var e,t,r,n,i,o,a,s,u,c,l=Array.prototype.slice;function createClass(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function Iterable(e){return isIterable(e)?e:Seq(e)}function KeyedIterable(e){return isKeyed(e)?e:KeyedSeq(e)}function IndexedIterable(e){return isIndexed(e)?e:IndexedSeq(e)}function SetIterable(e){return isIterable(e)&&!isAssociative(e)?e:SetSeq(e)}function isIterable(e){return!!(e&&e[f])}function isKeyed(e){return!!(e&&e[p])}function isIndexed(e){return!!(e&&e[d])}function isAssociative(e){return isKeyed(e)||isIndexed(e)}function isOrdered(e){return!!(e&&e[h])}createClass(KeyedIterable,Iterable),createClass(IndexedIterable,Iterable),createClass(SetIterable,Iterable),Iterable.isIterable=isIterable,Iterable.isKeyed=isKeyed,Iterable.isIndexed=isIndexed,Iterable.isAssociative=isAssociative,Iterable.isOrdered=isOrdered,Iterable.Keyed=KeyedIterable,Iterable.Indexed=IndexedIterable,Iterable.Set=SetIterable;var f="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",d="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",g="delete",y={},v={value:!1},m={value:!1};function MakeRef(e){return e.value=!1,e}function SetRef(e){e&&(e.value=!0)}function OwnerID(){}function arrCopy(e,t){t=t||0;for(var r=Math.max(0,e.length-t),n=Array(r),i=0;i<r;i++)n[i]=e[i+t];return n}function ensureSize(e){return void 0===e.size&&(e.size=e.__iterate(returnTrue)),e.size}function wrapIndex(e,t){if("number"!=typeof t){var r=t>>>0;if(""+r!==t||4294967295===r)return NaN;t=r}return t<0?ensureSize(e)+t:t}function returnTrue(){return!0}function wholeSlice(e,t,r){return(0===e||void 0!==r&&e<=-r)&&(void 0===t||void 0!==r&&t>=r)}function resolveIndex(e,t,r){return void 0===e?r:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var _="function"==typeof Symbol&&Symbol.iterator,S="@@iterator",b=_||S;function Iterator(e){this.next=e}function iteratorValue(e,t,r,n){var i=0===e?t:1===e?r:[t,r];return n?n.value=i:n={value:i,done:!1},n}function iteratorDone(){return{value:void 0,done:!0}}function isIterator(e){return e&&"function"==typeof e.next}function getIterator(e){var t=getIteratorFn(e);return t&&t.call(e)}function getIteratorFn(e){var t=e&&(_&&e[_]||e[S]);if("function"==typeof t)return t}function isArrayLike(e){return e&&"number"==typeof e.length}function Seq(e){return null==e?emptySequence():isIterable(e)?e.toSeq():function(e){var t=maybeIndexedSeqFromValue(e)||"object"==typeof e&&new ObjectSeq(e);if(!t)throw TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}(e)}function KeyedSeq(e){return null==e?emptySequence().toKeyedSeq():isIterable(e)?isKeyed(e)?e.toSeq():e.fromEntrySeq():keyedSeqFromValue(e)}function IndexedSeq(e){return null==e?emptySequence():isIterable(e)?isKeyed(e)?e.entrySeq():e.toIndexedSeq():indexedSeqFromValue(e)}function SetSeq(e){return(null==e?emptySequence():isIterable(e)?isKeyed(e)?e.entrySeq():e:indexedSeqFromValue(e)).toSetSeq()}Iterator.prototype.toString=function(){return"[Iterator]"},Iterator.KEYS=0,Iterator.VALUES=1,Iterator.ENTRIES=2,Iterator.prototype.inspect=Iterator.prototype.toSource=function(){return this.toString()},Iterator.prototype[b]=function(){return this},createClass(Seq,Iterable),Seq.of=function(){return Seq(arguments)},Seq.prototype.toSeq=function(){return this},Seq.prototype.toString=function(){return this.__toString("Seq {","}")},Seq.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Seq.prototype.__iterate=function(e,t){return seqIterate(this,e,t,!0)},Seq.prototype.__iterator=function(e,t){return seqIterator(this,e,t,!0)},createClass(KeyedSeq,Seq),KeyedSeq.prototype.toKeyedSeq=function(){return this},createClass(IndexedSeq,Seq),IndexedSeq.of=function(){return IndexedSeq(arguments)},IndexedSeq.prototype.toIndexedSeq=function(){return this},IndexedSeq.prototype.toString=function(){return this.__toString("Seq [","]")},IndexedSeq.prototype.__iterate=function(e,t){return seqIterate(this,e,t,!1)},IndexedSeq.prototype.__iterator=function(e,t){return seqIterator(this,e,t,!1)},createClass(SetSeq,Seq),SetSeq.of=function(){return SetSeq(arguments)},SetSeq.prototype.toSetSeq=function(){return this},Seq.isSeq=isSeq,Seq.Keyed=KeyedSeq,Seq.Set=SetSeq,Seq.Indexed=IndexedSeq;var w="@@__IMMUTABLE_SEQ__@@";function ArraySeq(e){this._array=e,this.size=e.length}function ObjectSeq(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function IterableSeq(e){this._iterable=e,this.size=e.length||e.size}function IteratorSeq(e){this._iterator=e,this._iteratorCache=[]}function isSeq(e){return!!(e&&e[w])}function emptySequence(){return e||(e=new ArraySeq([]))}function keyedSeqFromValue(e){var t=Array.isArray(e)?new ArraySeq(e).fromEntrySeq():isIterator(e)?new IteratorSeq(e).fromEntrySeq():getIteratorFn(e)?new IterableSeq(e).fromEntrySeq():"object"==typeof e?new ObjectSeq(e):void 0;if(!t)throw TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function indexedSeqFromValue(e){var t=maybeIndexedSeqFromValue(e);if(!t)throw TypeError("Expected Array or iterable object of values: "+e);return t}function maybeIndexedSeqFromValue(e){return isArrayLike(e)?new ArraySeq(e):isIterator(e)?new IteratorSeq(e):getIteratorFn(e)?new IterableSeq(e):void 0}function seqIterate(e,t,r,n){var i=e._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[r?o-a:a];if(!1===t(s[1],n?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,r)}function seqIterator(e,t,r,n){var i=e._cache;if(i){var o=i.length-1,a=0;return new Iterator(function(){var e=i[r?o-a:a];return a++>o?iteratorDone():iteratorValue(t,n?e[0]:a-1,e[1])})}return e.__iteratorUncached(t,r)}function fromJS(e,t){return t?function fromJSWith(e,t,r,n){return Array.isArray(t)?e.call(n,r,IndexedSeq(t).map(function(r,n){return fromJSWith(e,r,n,t)})):isPlainObj(t)?e.call(n,r,KeyedSeq(t).map(function(r,n){return fromJSWith(e,r,n,t)})):t}(t,e,"",{"":e}):function fromJSDefault(e){return Array.isArray(e)?IndexedSeq(e).map(fromJSDefault).toList():isPlainObj(e)?KeyedSeq(e).map(fromJSDefault).toMap():e}(e)}function isPlainObj(e){return e&&(e.constructor===Object||void 0===e.constructor)}function is(e,t){if(e===t||e!=e&&t!=t)return!0;
vendor: 6,548 bytes, line 1
1if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!!("function"==typeof e.equals&&"function"==typeof t.equals&&e.equals(t))}function deepEqual(e,t){if(e===t)return!0;if(!isIterable(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||isKeyed(e)!==isKeyed(t)||isIndexed(e)!==isIndexed(t)||isOrdered(e)!==isOrdered(t))return!1;if(0===e.size&&0===t.size)return!0;var r=!isAssociative(e);if(isOrdered(e)){var n=e.entries();return t.every(function(e,t){var i=n.next().value;return i&&is(i[1],e)&&(r||is(i[0],t))})&&n.next().done}var i=!1;if(void 0===e.size){if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{i=!0;var o=e;e=t,t=o}}var a=!0,s=t.__iterate(function(t,n){if(r?!e.has(t):i?!is(t,e.get(n,y)):!is(e.get(n,y),t))return a=!1,!1});return a&&e.size===s}function Repeat(e,r){if(!(this instanceof Repeat))return new Repeat(e,r);if(this._value=e,this.size=void 0===r?1/0:Math.max(0,r),0===this.size){if(t)return t;t=this}}function invariant(e,t){if(!e)throw Error(t)}function Range(e,t,n){if(!(this instanceof Range))return new Range(e,t,n);if(invariant(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(r)return r;r=this}}function Collection(){throw TypeError("Abstract")}function KeyedCollection(){}function IndexedCollection(){}function SetCollection(){}Seq.prototype[w]=!0,createClass(ArraySeq,IndexedSeq),ArraySeq.prototype.get=function(e,t){return this.has(e)?this._array[wrapIndex(this,e)]:t},ArraySeq.prototype.__iterate=function(e,t){for(var r=this._array,n=r.length-1,i=0;i<=n;i++)if(!1===e(r[t?n-i:i],i,this))return i+1;return i},ArraySeq.prototype.__iterator=function(e,t){var r=this._array,n=r.length-1,i=0;return new Iterator(function(){return i>n?iteratorDone():iteratorValue(e,i,r[t?n-i++:i++])})},createClass(ObjectSeq,KeyedSeq),ObjectSeq.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ObjectSeq.prototype.has=function(e){return this._object.hasOwnProperty(e)},ObjectSeq.prototype.__iterate=function(e,t){for(var r=this._object,n=this._keys,i=n.length-1,o=0;o<=i;o++){var a=n[t?i-o:o];if(!1===e(r[a],a,this))return o+1}return o},ObjectSeq.prototype.__iterator=function(e,t){var r=this._object,n=this._keys,i=n.length-1,o=0;return new Iterator(function(){var a=n[t?i-o:o];return o++>i?iteratorDone():iteratorValue(e,a,r[a])})},ObjectSeq.prototype[h]=!0,createClass(IterableSeq,IndexedSeq),IterableSeq.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var r,n=getIterator(this._iterable),i=0;if(isIterator(n))for(;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},IterableSeq.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var r=getIterator(this._iterable);if(!isIterator(r))return new Iterator(iteratorDone);var n=0;return new Iterator(function(){var t=r.next();return t.done?t:iteratorValue(e,n++,t.value)})},createClass(IteratorSeq,IndexedSeq),IteratorSeq.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var r,n=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===e(i[o],o++,this))return o;for(;!(r=n.next()).done;){var a=r.value;if(i[o]=a,!1===e(a,o++,this))break}return o},IteratorSeq.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var r=this._iterator,n=this._iteratorCache,i=0;return new Iterator(function(){if(i>=n.length){var t=r.next();if(t.done)return t;n[i]=t.value}return iteratorValue(e,i,n[i++])})},createClass(Repeat,IndexedSeq),Repeat.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Repeat.prototype.get=function(e,t){return this.has(e)?this._value:t},Repeat.prototype.includes=function(e){return is(this._value,e)},Repeat.prototype.slice=function(e,t){var r=this.size;return wholeSlice(e,t,r)?this:new Repeat(this._value,resolveIndex(t,r,r)-resolveIndex(e,r,0))},Repeat.prototype.reverse=function(){return this},Repeat.prototype.indexOf=function(e){return is(this._value,e)?0:-1},Repeat.prototype.lastIndexOf=function(e){return is(this._value,e)?this.size:-1},Repeat.prototype.__iterate=function(e,t){for(var r=0;r<this.size;r++)if(!1===e(this._value,r,this))return r+1;return r},Repeat.prototype.__iterator=function(e,t){var r=this,n=0;return new Iterator(function(){return n<r.size?iteratorValue(e,n++,r._value):iteratorDone()})},Repeat.prototype.equals=function(e){return e instanceof Repeat?is(this._value,e._value):deepEqual(e)},createClass(Range,IndexedSeq),Range.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},Range.prototype.get=function(e,t){return this.has(e)?this._start+wrapIndex(this,e)*this._step:t},Range.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},Range.prototype.slice=function(e,t){var r;return wholeSlice(e,t,this.size)?this:(e=resolveIndex(e,this.size,0),(t=resolveIndex(t,r=this.size,r))<=e)?new Range(0,0):new Range(this.get(e,this._end),this.get(t,this._end),this._step)},Range.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var r=t/this._step;if(r>=0&&r<this.size)return r}return -1},Range.prototype.lastIndexOf=function(e){return this.indexOf(e)},Range.prototype.__iterate=function(e,t){for(var r=this.size-1,n=this._step,i=t?this._start+r*n:this._start,o=0;o<=r;o++){if(!1===e(i,o,this))return o+1;i+=t?-n:n}return o},Range.prototype.__iterator=function(e,t){var r=this.size-1,n=this._step,i=t?this._start+r*n:this._start,o=0;return new Iterator(function(){var a=i;return i+=t?-n:n,o>r?iteratorDone():iteratorValue(e,o++,a)})},Range.prototype.equals=function(e){return e instanceof Range?this._start===e._start&&this._end===e._end&&this._step===e._step:deepEqual(this,e)},createClass(Collection,Iterable),createClass(KeyedCollection,Collection),createClass(IndexedCollection,Collection),createClass(SetCollection,Collection),Collection.Keyed=KeyedCollection,Collection.Indexed=IndexedCollection,Collection.Set=SetCollection;var k="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var r=65535&(e|=0),n=65535&(t|=0);return r*n+((e>>>16)*n+r*(t>>
1>16)<<16>>>0)|0};function smi(e){return e>>>1&1073741824|3221225471&e}function hash(e){if(!1===e||null==e||"function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t,r,i=typeof e;if("number"===i){var o=0|e;for(o!==e&&(o^=4294967295*e);e>4294967295;)e/=4294967295,o^=e;return smi(o)}if("string"===i)return e.length>T?(void 0===(r=K[t=e])&&(r=hashString(t),M===D&&(M=0,K={}),M++,K[t]=r),r):hashString(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===i)return function(e){var t;if(C&&void 0!==(t=n.get(e))||void 0!==(t=e[O])||!E&&(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[O])||void 0!==(t=function(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}(e))))return t;if(t=++I,1073741824&I&&(I=0),C)n.set(e,t);else if(void 0!==x&&!1===x(e))throw Error("Non-extensible objects are not allowed as keys.");else if(E)Object.defineProperty(e,O,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[O]=t;else if(void 0!==e.nodeType)e[O]=t;else throw Error("Unable to set a non-enumerable property on object.");return t}(e);if("function"==typeof e.toString)return hashString(e.toString());throw Error("Value type "+i+" cannot be hashed.")}function hashString(e){for(var t=0,r=0;r<e.length;r++)t=31*t+e.charCodeAt(r)|0;return smi(t)}var x=Object.isExtensible,E=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}(),C="function"==typeof WeakMap;C&&(n=new WeakMap);var I=0,O="__immutablehash__";"function"==typeof Symbol&&(O=Symbol(O));var T=16,D=255,M=0,K={};function assertNotInfinite(e){invariant(e!==1/0,"Cannot perform this action with an infinite size.")}function Map(e){return null==e?emptyMap():isMap(e)&&!isOrdered(e)?e:emptyMap().withMutations(function(t){var r=KeyedIterable(e);assertNotInfinite(r.size),r.forEach(function(e,r){return t.set(r,e)})})}function isMap(e){return!!(e&&e[A])}createClass(Map,KeyedCollection),Map.prototype.toString=function(){return this.__toString("Map {","}")},Map.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Map.prototype.set=function(e,t){return updateMap(this,e,t)},Map.prototype.setIn=function(e,t){return this.updateIn(e,y,function(){return t})},Map.prototype.remove=function(e){return updateMap(this,e,y)},Map.prototype.deleteIn=function(e){return this.updateIn(e,function(){return y})},Map.prototype.update=function(e,t,r){return 1==arguments.length?e(this):this.updateIn([e],t,r)},Map.prototype.updateIn=function(e,t,r){r||(r=t,t=void 0);var n=function updateInDeepMap(e,t,r,n){var i=e===y,o=t.next();if(o.done){var a=i?r:e,s=n(a);return s===a?e:s}invariant(i||e&&e.set,"invalid keyPath");var u=o.value,c=i?y:e.get(u,y),l=updateInDeepMap(c,t,r,n);return l===c?e:l===y?e.remove(u):(i?emptyMap():e).set(u,l)}(this,forceIterator(e),t,r);return n===y?void 0:n},Map.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):emptyMap()},Map.prototype.merge=function(){return mergeIntoMapWith(this,void 0,arguments)},Map.prototype.mergeWith=function(e){var t=l.call(arguments,1);return mergeIntoMapWith(this,e,t)},Map.prototype.mergeIn=function(e){var t=l.call(arguments,1);return this.updateIn(e,emptyMap(),function(e){return"function"==typeof e.merge?e.merge.apply(e,t):t[t.length-1]})},Map.prototype.mergeDeep=function(){return mergeIntoMapWith(this,deepMerger,arguments)},Map.prototype.mergeDeepWith=function(e){var t=l.call(arguments,1);return mergeIntoMapWith(this,deepMergerWith(e),t)},Map.prototype.mergeDeepIn=function(e){var t=l.call(arguments,1);return this.updateIn(e,emptyMap(),function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,t):t[t.length-1]})},Map.prototype.sort=function(e){return OrderedMap(sortFactory(this,e))},Map.prototype.sortBy=function(e,t){return OrderedMap(sortFactory(this,t,e))},Map.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Map.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new OwnerID)},Map.prototype.asImmutable=function(){return this.__ensureOwner()},Map.prototype.wasAltered=function(){return this.__altered},Map.prototype.__iterator=function(e,t){return new MapIterator(this,e,t)},Map.prototype.__iterate=function(e,t){var r=this,n=0;return this._root&&this._root.iterate(function(t){return n++,e(t[1],t[0],r)},t),n},Map.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?makeMap(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Map.isMap=isMap;
1var A="@@__IMMUTABLE_MAP__@@",L=Map.prototype;function ArrayMapNode(e,t){this.ownerID=e,this.entries=t}function BitmapIndexedNode(e,t,r){this.ownerID=e,this.bitmap=t,this.nodes=r}function HashArrayMapNode(e,t,r){this.ownerID=e,this.count=t,this.nodes=r}function HashCollisionNode(e,t,r){this.ownerID=e,this.keyHash=t,this.entries=r}function ValueNode(e,t,r){this.ownerID=e,this.keyHash=t,this.entry=r}function MapIterator(e,t,r){this._type=t,this._reverse=r,this._stack=e._root&&mapIteratorFrame(e._root)}function mapIteratorValue(e,t){return iteratorValue(e,t[0],t[1])}function mapIteratorFrame(e,t){return{node:e,index:0,__prev:t}}function makeMap(e,t,r,n){var i=Object.create(L);return i.size=e,i._root=t,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function emptyMap(){return i||(i=makeMap(0))}function updateMap(e,t,r){if(e._root){var n,i,o=MakeRef(v),a=MakeRef(m);if(n=updateNode(e._root,e.__ownerID,0,void 0,t,r,o,a),!a.value)return e;i=e.size+(o.value?r===y?-1:1:0)}else{if(r===y)return e;i=1,n=new ArrayMapNode(e.__ownerID,[[t,r]])}return e.__ownerID?(e.size=i,e._root=n,e.__hash=void 0,e.__altered=!0,e):n?makeMap(i,n):emptyMap()}function updateNode(e,t,r,n,i,o,a,s){return e?e.update(t,r,n,i,o,a,s):o===y?e:(SetRef(s),SetRef(a),new ValueNode(t,n,[i,o]))}function isLeafNode(e){return e.constructor===ValueNode||e.constructor===HashCollisionNode}function mergeIntoNode(e,t,r,n,i){if(e.keyHash===n)return new HashCollisionNode(t,n,[e.entry,i]);var o,a=(0===r?e.keyHash:e.keyHash>>>r)&31,s=(0===r?n:n>>>r)&31,u=a===s?[mergeIntoNode(e,t,r+5,n,i)]:(o=new ValueNode(t,n,i),a<s?[e,o]:[o,e]);return new BitmapIndexedNode(t,1<<a|1<<s,u)}function mergeIntoMapWith(e,t,r){for(var n=[],i=0;i<r.length;i++){var o=r[i],a=KeyedIterable(o);isIterable(o)||(a=a.map(function(e){return fromJS(e)})),n.push(a)}return mergeIntoCollectionWith(e,t,n)}function deepMerger(e,t,r){return e&&e.mergeDeep&&isIterable(t)?e.mergeDeep(t):is(e,t)?e:t}function deepMergerWith(e){return function(t,r,n){if(t&&t.mergeDeepWith&&isIterable(r))return t.mergeDeepWith(e,r);var i=e(t,r,n);return is(t,i)?t:i}}function mergeIntoCollectionWith(e,t,r){return 0===(r=r.filter(function(e){return 0!==e.size})).length?e:0!==e.size||e.__ownerID||1!==r.length?e.withMutations(function(e){for(var n=t?function(r,n){e.update(n,y,function(e){return e===y?r:t(e,r,n)})}:function(t,r){e.set(r,t)},i=0;i<r.length;i++)r[i].forEach(n)}):e.constructor(r[0])}function popCount(e){return e-=e>>1&1431655765,e=(e=(858993459&e)+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function setIn(e,t,r,n){var i=n?e:arrCopy(e);return i[t]=r,i}L[A]=!0,L[g]=L.remove,L.removeIn=L.deleteIn,ArrayMapNode.prototype.get=function(e,t,r,n){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(is(r,i[o][0]))return i[o][1];return n},ArrayMapNode.prototype.update=function(e,t,r,n,i,o,a){for(var s=i===y,u=this.entries,c=0,l=u.length;c<l&&!is(n,u[c][0]);c++);var f=c<l;if(f?u[c][1]===i:s)return this;if(SetRef(a),(s||!f)&&SetRef(o),!s||1!==u.length){if(!f&&!s&&u.length>=B)return function(e,t,r,n){e||(e=new OwnerID);for(var i=new ValueNode(e,hash(r),[r,n]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}(e,u,n,i);var p=e&&e===this.ownerID,d=p?u:arrCopy(u);return(f?s?c===l-1?d.pop():d[c]=d.pop():d[c]=[n,i]:d.push([n,i]),p)?(this.entries=d,this):new ArrayMapNode(e,d)}},BitmapIndexedNode.prototype.get=function(e,t,r,n){void 0===t&&(t=hash(r));var i=1<<((0===e?t:t>>>e)&31),o=this.bitmap;return(o&i)==0?n:this.nodes[popCount(o&i-1)].get(e+5,t,r,n)},BitmapIndexedNode.prototype.update=function(e,t,r,n,i,o,a){void 0===r&&(r=hash(n));var s=(0===t?r:r>>>t)&31,u=1<<s,c=this.bitmap,l=(c&u)!=0;if(!l&&i===y)return this;var f=popCount(c&u-1),p=this.nodes,d=l?p[f]:void 0,h=updateNode(d,e,t+5,r,n,i,o,a);if(h===d)return this;if(!l&&h&&p.length>=R)return function(e,t,r,n,i){for(var o=0,a=Array(32),s=0;0!==r;s++,r>>>=1)a[s]=1&r?t[o++]:void 0;return a[n]=i,new HashArrayMapNode(e,o+1,a)}(e,p,c,s,h);if(l&&!h&&2===p.length&&isLeafNode(p[1^f]))return p[1^f];if(l&&h&&1===p.length&&isLeafNode(h))return h;var g=e&&e===this.ownerID,v=l?h?c:c^u:c|u,m=l?h?setIn(p,f,h,g):function(e,t,r){var n=e.length-1;if(r&&t===n)return e.pop(),e;for(var i=Array(n),o=0,a=0;a<n;a++)a===t&&(o=1),i[a]=e[a+o];return i}(p,f,g):function(e,t,r,n){var i=e.length+1;if(n&&t+1===i)return e[t]=r,e;for(var o=Array(i),a=0,s=0;s<i;s++)s===t?(o[s]=r,a=-1):o[s]=e[s+a];return o}(p,f,h,g);return g?(this.bitmap=v,this.nodes=m,this):new BitmapIndexedNode(e,v,m)},HashArrayMapNode.prototype.get=function(e,t,r,n){void 0===t&&(t=hash(r));var i=(0===e?t:t>>>e)&31,o=this.nodes[i];return o?o.get(e+5,t,r,n):n},HashArrayMapNode.prototype.update=function(e,t,r,n,i,o,a){void 0===r&&(r=hash(n));var s=(0===t?r:r>>>t)&31,u=i===y,c=this.nodes,l=c[s];if(u&&!l)return this;var f=updateNode(l,e,t+5,r,n,i,o,a);if(f===l)return this;var p=this.count;if(l){if(!f&&--p<N)return function(e,t,r,n){for(var i=0,o=0,a=Array(r),s=0,u=1,c=t.length;s<c;s++,u<<=1){var l=t[s];void 0!==l&&s!==n&&(i|=u,a[o++]=l)}return new BitmapIndexedNode(e,i,a)}(e,c,p,s)}else p++;var d=e&&e===this.ownerID,h=setIn(c,s,f,d);return d?(this.count=p,this.nodes=h,this):new HashArrayMapNode(e,p,h)},HashCollisionNode.prototype.get=function(e,t,r,n){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(is(r,i[o][0]))return i[o][1];return n},HashCollisionNode.prototype.update=function(e,t,r,n,i,o,a){void 0===r&&(r=hash(n));var s=i===y;if(r!==this.keyHash)return s?this:(SetRef(a),SetRef(o),mergeIntoNode(this,e,t,r,[n,i]));for(var u=this.entries,c=0,l=u.length;c<l&&!is(n,u[c][0]);c++);var f=c<l;if(f?u[c][1]===i:s)return this;if(SetRef(a),(s||!f)&&SetRef(o),s&&2===l)return new ValueNode(e,this.keyHash,u[1^c]);var p=e&&e===this.ownerID,d=p?u:arrCopy(u);return(f?s?c===l-1?d.pop():d[c]=d.pop():d[c]=[n,i]:d.push([n,i]),p)?(this.entries=d,this):new HashCollisionNode(e,this.keyHash,d)},ValueNode.prototype.get=function(e,t,r,n){return is(r,this.entry[0])?this.entry[1]:n},ValueNode.prototype.update=function(e,t,r,n,i,o,a){var s=i===y,u=is(n,this.entry[0]);if(u?i===this.entry[1]:s)return this;if(SetRef(a),s){SetRef(o);return}return u?e&&e===this.ownerID?(this.entry[1]=i,this):new ValueNode(e,this.keyHash,[n,i]):(SetRef(o),mergeIntoNode(this,e,t,hash(n),[n,i]))},ArrayMapNode.prototype.iterate=HashCollisionNode.prototype.iterate=function(e,t){for(var r=this.entries,n=0,i=r.length-1;n<=i;n++)if(!1===e(r[t?i-n:n]))return!1},BitmapIndexedNode.prototype.iterate=HashArrayMapNode.prototype.iterate=function(e,t){for(var r=this.nodes,n=0,i=r.length-1;n<=i;n++){var o=r[t?i-n:n];if(o&&!1===o.iterate(e,t))return!1}},ValueNode.prototype.iterate=function(e,t){return e(this.entry)},createClass(MapIterator,Iterator),MapIterator.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var r,n=t.node,i=t.index++;if(n.entry){if(0===i)return mapIteratorValue(e,n.entry)}else if(n.entries){if(i<=(r=n.entries.length-1))return mapIteratorValue(e,n.entries[this._reverse?r-i:i])}else if(i<=(r=n.nodes.length-1)){var o=n.nodes[this._reverse?r-i:i];if(o){if(o.entry)return mapIteratorValue(e,o.entry);t=this._stack=mapIteratorFrame(o,t)}continue}t=this._stack=this._stack.__prev}return iteratorDone()};var B=8,R=16,N=8;function List(e){var t=emptyList();if(null==e)return t;if(isList(e))return e;var r=IndexedIterable(e),n=r.size;return 0===n?t:(assertNotInfinite(n),n>0&&n<32)?makeList(0,n,5,null,new VNode(r.toArray())):t.withMutations(function(e){e.setSize(n),r.forEach(function(t,r){return e.set(r,t)})})}function isList(e){return!!(e&&e[P])}createClass(List,IndexedCollection),List.of=function(){return this(arguments)},List.prototype.toString=function(){return this.__toString("List [","]")},List.prototype.get=function(e,t){if((e=wrapIndex(this,e))>=0&&e<this.size){var r=listNodeFor(this,e+=this._origin);return r&&r.array[31&e]}return t},List.prototype.set=function(e,t){return function(e,t,r){if((t=wrapIndex(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations(function(e){t<0?setListBounds(e,t).set(0,r):setListBounds(e,0,t+1).set(t,r)});t+=e._origin;var n=e._tail,i=e._root,o=MakeRef(m);return(t>=getTailOffset(e._capacity)?n=updateVNode(n,e.__ownerID,0,t,r,o):i=updateVNode(i,e.__ownerID,e._level,t,r,o),o.value)?e.__ownerID?(e._root=i,e._tail=n,e.__hash=void 0,e.__altered=!0,e):makeList(e._origin,e._capacity,e._level,i,n):e}(this,e,t)},List.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},List.prototype.insert=function(e,t){return this.splice(e,0,t)},List.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):emptyList()},List.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations(function(r){setListBounds(r,0,t+e.length);for(var n=0;n<e.length;n++)r.set(t+n,e[n])})},List.prototype.pop=function(){return setListBounds(this,0,-1)},List.prototype.unshift=function(){var e=arguments;return this.withMutations(function(t){setListBounds(t,-e.length);for(var r=0;r<e.length;r++)t.set(r,e[r])})},List.prototype.shift=function(){return setListBounds(this,1)},List.prototype.merge=function(){return mergeIntoListWith(this,void 0,arguments)}
1,List.prototype.mergeWith=function(e){var t=l.call(arguments,1);return mergeIntoListWith(this,e,t)},List.prototype.mergeDeep=function(){return mergeIntoListWith(this,deepMerger,arguments)},List.prototype.mergeDeepWith=function(e){var t=l.call(arguments,1);return mergeIntoListWith(this,deepMergerWith(e),t)},List.prototype.setSize=function(e){return setListBounds(this,0,e)},List.prototype.slice=function(e,t){var r=this.size;return wholeSlice(e,t,r)?this:setListBounds(this,resolveIndex(e,r,0),resolveIndex(t,r,r))},List.prototype.__iterator=function(e,t){var r=0,n=iterateList(this,t);return new Iterator(function(){var t=n();return t===q?iteratorDone():iteratorValue(e,r++,t)})},List.prototype.__iterate=function(e,t){for(var r,n=0,i=iterateList(this,t);(r=i())!==q&&!1!==e(r,n++,this););return n},List.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?makeList(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},List.isList=isList;var P="@@__IMMUTABLE_LIST__@@",F=List.prototype;function VNode(e,t){this.array=e,this.ownerID=t}F[P]=!0,F[g]=F.remove,F.setIn=L.setIn,F.deleteIn=F.removeIn=L.removeIn,F.update=L.update,F.updateIn=L.updateIn,F.mergeIn=L.mergeIn,F.mergeDeepIn=L.mergeDeepIn,F.withMutations=L.withMutations,F.asMutable=L.asMutable,F.asImmutable=L.asImmutable,F.wasAltered=L.wasAltered,VNode.prototype.removeBefore=function(e,t,r){if(r===t?1<<t:0===this.array.length)return this;var n,i=r>>>t&31;if(i>=this.array.length)return new VNode([],e);var o=0===i;if(t>0){var a=this.array[i];if((n=a&&a.removeBefore(e,t-5,r))===a&&o)return this}if(o&&!n)return this;var s=editableVNode(this,e);if(!o)for(var u=0;u<i;u++)s.array[u]=void 0;return n&&(s.array[i]=n),s},VNode.prototype.removeAfter=function(e,t,r){if(r===(t?1<<t:0)||0===this.array.length)return this;var n,i=r-1>>>t&31;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((n=o&&o.removeAfter(e,t-5,r))===o&&i===this.array.length-1)return this}var a=editableVNode(this,e);return a.array.splice(i+1),n&&(a.array[i]=n),a};var q={};function iterateList(e,t){var r=e._origin,n=e._capacity,i=getTailOffset(n),o=e._tail;return function iterateNodeOrLeaf(e,a,s){var u,c,l,f,p,d,h;return 0===a?(u=s===i?o&&o.array:e&&e.array,c=s>r?0:r-s,(l=n-s)>32&&(l=32),function(){if(c===l)return q;var e=t?--l:c++;return u&&u[e]}):(p=e&&e.array,d=s>r?0:r-s>>a,(h=(n-s>>a)+1)>32&&(h=32),function(){for(;;){if(f){var e=f();if(e!==q)return e;f=null}if(d===h)return q;var r=t?--h:d++;f=iterateNodeOrLeaf(p&&p[r],a-5,s+(r<<a))}})}(e._root,e._level,0)}function makeList(e,t,r,n,i,o,a){var s=Object.create(F);return s.size=t-e,s._origin=e,s._capacity=t,s._level=r,s._root=n,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function emptyList(){return o||(o=makeList(0,0,5))}function updateVNode(e,t,r,n,i,o){var a,s=n>>>r&31,u=e&&s<e.array.length;if(!u&&void 0===i)return e;if(r>0){var c=e&&e.array[s],l=updateVNode(c,t,r-5,n,i,o);return l===c?e:((a=editableVNode(e,t)).array[s]=l,a)}return u&&e.array[s]===i?e:(SetRef(o),a=editableVNode(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function editableVNode(e,t){return t&&e&&t===e.ownerID?e:new VNode(e?e.array.slice():[],t)}function listNodeFor(e,t){if(t>=getTailOffset(e._capacity))return e._tail;if(t<1<<e._level+5){for(var r=e._root,n=e._level;r&&n>0;)r=r.array[t>>>n&31],n-=5;return r}}function setListBounds(e,t,r){void 0!==t&&(t|=0),void 0!==r&&(r|=0);var n=e.__ownerID||new OwnerID,i=e._origin,o=e._capacity,a=i+t,s=void 0===r?o:r<0?o+r:i+r;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var u=e._level,c=e._root,l=0;a+l<0;)c=new VNode(c&&c.array.length?[void 0,c]:[],n),u+=5,l+=1<<u;l&&(a+=l,i+=l,s+=l,o+=l);for(var f=getTailOffset(o),p=getTailOffset(s);p>=1<<u+5;)c=new VNode(c&&c.array.length?[c]:[],n),u+=5;var d=e._tail,h=p<f?listNodeFor(e,s-1):p>f?new VNode([],n):d;if(d&&p>f&&a<o&&d.array.length){for(var g=c=editableVNode(c,n),y=u;y>5;y-=5){var v=f>>>y&31;g=g.array[v]=editableVNode(g.array[v],n)}g.array[f>>>5&31]=d}if(s<o&&(h=h&&h.removeAfter(n,0,s)),a>=p)a-=p,s-=p,u=5,c=null,h=h&&h.removeBefore(n,0,a);else if(a>i||p<f){for(l=0;c;){var m=a>>>u&31;if(m!==p>>>u&31)break;m&&(l+=(1<<u)*m),u-=5,c=c.array[m]}c&&a>i&&(c=c.removeBefore(n,u,a-l)),c&&p<f&&(c=c.removeAfter(n,u,p-l)),l&&(a-=l,s-=l)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=u,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):makeList(a,s,u,c,h)}function mergeIntoListWith(e,t,r){for(var n=[],i=0,o=0;o<r.length;o++){var a=r[o],s=IndexedIterable(a);s.size>i&&(i=s.size),isIterable(a)||(s=s.map(function(e){return fromJS(e)})),n.push(s)}return i>e.size&&(e=e.setSize(i)),mergeIntoCollectionWith(e,t,n)}function getTailOffset(e){return e<32?0:e-1>>>5<<5}function OrderedMap(e){return null==e?emptyOrderedMap():isOrderedMap(e)?e:emptyOrderedMap().withMutations(function(t){var r=KeyedIterable(e);assertNotInfinite(r.size),r.forEach(function(e,r){return t.set(r,e)})})}function isOrderedMap(e){return isMap(e)&&isOrdered(e)}function makeOrderedMap(e,t,r,n){var i=Object.create(OrderedMap.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=r,i.__hash=n,i}function emptyOrderedMap(){return a||(a=makeOrderedMap(emptyMap(),emptyList()))}function updateOrderedMap(e,t,r){var n,i,o=e._map,a=e._list,s=o.get(t),u=void 0!==s;if(r===y){if(!u)return e;a.size>=32&&a.size>=2*o.size?(n=(i=a.filter(function(e,t){return void 0!==e&&s!==t})).toKeyedSeq().map(function(e){return e[0]}).flip().toMap(),e.__ownerID&&(n.__ownerID=i.__ownerID=e.__ownerID)):(n=o.remove(t),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(r===a.get(s)[1])return e;n=o,i=a.set(s,[t,r])}else n=o.set(t,a.size),i=a.set(a.size,[t,r]);return e.__ownerID?(e.size=n.size,e._map=n,e._list=i,e.__hash=void 0,e):makeOrderedMap(n,i)}function ToKeyedSequence(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function ToIndexedSequence(e){this._iter=e,this.size=e.size}function ToSetSequence(e){this._iter=e,this.size=e.size}function FromEntriesSequence(e){this._iter=e,this.size=e.size}function flipFactory(e){var t=makeSequence(e);
1return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=cacheResultThrough,t.__iterateUncached=function(t,r){var n=this;return e.__iterate(function(e,r){return!1!==t(r,e,n)},r)},t.__iteratorUncached=function(t,r){if(2===t){var n=e.__iterator(t,r);return new Iterator(function(){var e=n.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e})}return e.__iterator(1===t?0:1,r)},t}function mapFactory(e,t,r){var n=makeSequence(e);return n.size=e.size,n.has=function(t){return e.has(t)},n.get=function(n,i){var o=e.get(n,y);return o===y?i:t.call(r,o,n,e)},n.__iterateUncached=function(n,i){var o=this;return e.__iterate(function(e,i,a){return!1!==n(t.call(r,e,i,a),i,o)},i)},n.__iteratorUncached=function(n,i){var o=e.__iterator(2,i);return new Iterator(function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return iteratorValue(n,s,t.call(r,a[1],s,e),i)})},n}function reverseFactory(e,t){var r=makeSequence(e);return r._iter=e,r.size=e.size,r.reverse=function(){return e},e.flip&&(r.flip=function(){var t=flipFactory(e);return t.reverse=function(){return e.flip()},t}),r.get=function(r,n){return e.get(t?r:-1-r,n)},r.has=function(r){return e.has(t?r:-1-r)},r.includes=function(t){return e.includes(t)},r.cacheResult=cacheResultThrough,r.__iterate=function(t,r){var n=this;return e.__iterate(function(e,r){return t(e,r,n)},!r)},r.__iterator=function(t,r){return e.__iterator(t,!r)},r}function filterFactory(e,t,r,n){var i=makeSequence(e);return n&&(i.has=function(n){var i=e.get(n,y);return i!==y&&!!t.call(r,i,n,e)},i.get=function(n,i){var o=e.get(n,y);return o!==y&&t.call(r,o,n,e)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return e.__iterate(function(e,o,u){if(t.call(r,e,o,u))return s++,i(e,n?o:s-1,a)},o),s},i.__iteratorUncached=function(i,o){var a=e.__iterator(2,o),s=0;return new Iterator(function(){for(;;){var o=a.next();if(o.done)return o;var u=o.value,c=u[0],l=u[1];if(t.call(r,l,c,e))return iteratorValue(i,n?c:s++,l,o)}})},i}function sliceFactory(e,t,r,n){var i,o=e.size;if(void 0!==t&&(t|=0),void 0!==r&&(r|=0),wholeSlice(t,r,o))return e;var a=resolveIndex(t,o,0),s=resolveIndex(r,o,o);if(a!=a||s!=s)return sliceFactory(e.toSeq().cacheResult(),t,r,n);var u=s-a;u==u&&(i=u<0?0:u);var c=makeSequence(e);return c.size=0===i?i:e.size&&i||void 0,!n&&isSeq(e)&&i>=0&&(c.get=function(t,r){return(t=wrapIndex(this,t))>=0&&t<i?e.get(t+a,r):r}),c.__iterateUncached=function(t,r){var o=this;if(0===i)return 0;if(r)return this.cacheResult().__iterate(t,r);var s=0,u=!0,c=0;return e.__iterate(function(e,r){if(!(u&&(u=s++<a)))return c++,!1!==t(e,n?r:c-1,o)&&c!==i}),c},c.__iteratorUncached=function(t,r){if(0!==i&&r)return this.cacheResult().__iterator(t,r);var o=0!==i&&e.__iterator(t,r),s=0,u=0;return new Iterator(function(){for(;s++<a;)o.next();if(++u>i)return iteratorDone();var e=o.next();return n||1===t?e:0===t?iteratorValue(t,u-1,void 0,e):iteratorValue(t,u-1,e.value[1],e)})},c}function skipWhileFactory(e,t,r,n){var i=makeSequence(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,u=0;return e.__iterate(function(e,o,c){if(!(s&&(s=t.call(r,e,o,c))))return u++,i(e,n?o:u-1,a)}),u},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(2,o),u=!0,c=0;return new Iterator(function(){var e,o,l;do{if((e=s.next()).done){if(n||1===i)return e;if(0===i)return iteratorValue(i,c++,void 0,e);return iteratorValue(i,c++,e.value[1],e)}var f=e.value;o=f[0],l=f[1],u&&(u=t.call(r,l,o,a))}while(u);return 2===i?e:iteratorValue(i,o,l,e)})},i}function flattenFactory(e,t,r){var n=makeSequence(e);return n.__iterateUncached=function(n,i){var o=0,a=!1;return function flatDeep(e,s){var u=this;e.__iterate(function(e,i){return(!t||s<t)&&isIterable(e)?flatDeep(e,s+1):!1===n(e,r?i:o++,u)&&(a=!0),!a},i)}(e,0),o},n.__iteratorUncached=function(n,i){var o=e.__iterator(n,i),a=[],s=0;return new Iterator(function(){for(;o;){var e=o.next();if(!1!==e.done){o=a.pop();continue}var u=e.value;if(2===n&&(u=u[1]),!((!t||a.length<t)&&isIterable(u)))return r?e:iteratorValue(n,s++,u,e);a.push(o),o=u.__iterator(n,i)}return iteratorDone()})},n}function sortFactory(e,t,r){t||(t=defaultComparator);var n=isKeyed(e),i=0,o=e.toSeq().map(function(t,n){return[n,t,i++,r?r(t,n,e):t]}).toArray();return o.sort(function(e,r){return t(e[3],r[3])||e[2]-r[2]}
vendor: 17,155 bytes, line 1
1).forEach(n?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),n?KeyedSeq(o):isIndexed(e)?IndexedSeq(o):SetSeq(o)}function maxFactory(e,t,r){if(t||(t=defaultComparator),!r)return e.reduce(function(e,r){return maxCompare(t,e,r)?r:e});var n=e.toSeq().map(function(t,n){return[t,r(t,n,e)]}).reduce(function(e,r){return maxCompare(t,e[1],r[1])?r:e});return n&&n[0]}function maxCompare(e,t,r){var n=e(r,t);return 0===n&&r!==t&&(null==r||r!=r)||n>0}function zipWithFactory(e,t,r){var n=makeSequence(e);return n.size=new ArraySeq(r).map(function(e){return e.size}).min(),n.__iterate=function(e,t){for(var r,n=this.__iterator(1,t),i=0;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},n.__iteratorUncached=function(e,n){var i=r.map(function(e){return e=Iterable(e),getIterator(n?e.reverse():e)}),o=0,a=!1;return new Iterator(function(){var r;return(a||(a=(r=i.map(function(e){return e.next()})).some(function(e){return e.done})),a)?iteratorDone():iteratorValue(e,o++,t.apply(null,r.map(function(e){return e.value})))})},n}function reify(e,t){return isSeq(e)?t:e.constructor(t)}function validateEntry(e){if(e!==Object(e))throw TypeError("Expected [K, V] tuple: "+e)}function resolveSize(e){return assertNotInfinite(e.size),ensureSize(e)}function iterableClass(e){return isKeyed(e)?KeyedIterable:isIndexed(e)?IndexedIterable:SetIterable}function makeSequence(e){return Object.create((isKeyed(e)?KeyedSeq:isIndexed(e)?IndexedSeq:SetSeq).prototype)}function cacheResultThrough(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Seq.prototype.cacheResult.call(this)}function defaultComparator(e,t){return e>t?1:e<t?-1:0}function forceIterator(e){var t=getIterator(e);if(!t){if(!isArrayLike(e))throw TypeError("Expected iterable or array-like: "+e);t=getIterator(Iterable(e))}return t}function Record(e,t){var r,RecordType=function(i){if(i instanceof RecordType)return i;if(!(this instanceof RecordType))return new RecordType(i);if(!r){r=!0;var o=Object.keys(e);(function(e,t){try{t.forEach(setProp.bind(void 0,e))}catch(e){}})(n,o),n.size=o.length,n._name=t,n._keys=o,n._defaultValues=e}this._map=Map(i)},n=RecordType.prototype=Object.create(z);return n.constructor=RecordType,RecordType}createClass(OrderedMap,Map),OrderedMap.of=function(){return this(arguments)},OrderedMap.prototype.toString=function(){return this.__toString("OrderedMap {","}")},OrderedMap.prototype.get=function(e,t){var r=this._map.get(e);return void 0!==r?this._list.get(r)[1]:t},OrderedMap.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):emptyOrderedMap()},OrderedMap.prototype.set=function(e,t){return updateOrderedMap(this,e,t)},OrderedMap.prototype.remove=function(e){return updateOrderedMap(this,e,y)},OrderedMap.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},OrderedMap.prototype.__iterate=function(e,t){var r=this;return this._list.__iterate(function(t){return t&&e(t[1],t[0],r)},t)},OrderedMap.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},OrderedMap.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),r=this._list.__ensureOwner(e);return e?makeOrderedMap(t,r,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=r,this)},OrderedMap.isOrderedMap=isOrderedMap,OrderedMap.prototype[h]=!0,OrderedMap.prototype[g]=OrderedMap.prototype.remove,createClass(ToKeyedSequence,KeyedSeq),ToKeyedSequence.prototype.get=function(e,t){return this._iter.get(e,t)},ToKeyedSequence.prototype.has=function(e){return this._iter.has(e)},ToKeyedSequence.prototype.valueSeq=function(){return this._iter.valueSeq()},ToKeyedSequence.prototype.reverse=function(){var e=this,t=reverseFactory(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},ToKeyedSequence.prototype.map=function(e,t){var r=this,n=mapFactory(this,e,t);return this._useKeys||(n.valueSeq=function(){return r._iter.toSeq().map(e,t)}),n},ToKeyedSequence.prototype.__iterate=function(e,t){var r,n=this;return this._iter.__iterate(this._useKeys?function(t,r){return e(t,r,n)}:(r=t?resolveSize(this):0,function(i){return e(i,t?--r:r++,n)}),t)},ToKeyedSequence.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var r=this._iter.__iterator(1,t),n=t?resolveSize(this):0;return new Iterator(function(){var i=r.next();return i.done?i:iteratorValue(e,t?--n:n++,i.value,i)})},ToKeyedSequence.prototype[h]=!0,createClass(ToIndexedSequence,IndexedSeq),ToIndexedSequence.prototype.includes=function(e){return this._iter.includes(e)},ToIndexedSequence.prototype.__iterate=function(e,t){var r=this,n=0;return this._iter.__iterate(function(t){return e(t,n++,r)},t)},ToIndexedSequence.prototype.__iterator=function(e,t){var r=this._iter.__iterator(1,t),n=0;return new Iterator(function(){var t=r.next();return t.done?t:iteratorValue(e,n++,t.value,t)})},createClass(ToSetSequence,SetSeq),ToSetSequence.prototype.has=function(e){return this._iter.includes(e)},ToSetSequence.prototype.__iterate=function(e,t){var r=this;return this._iter.__iterate(function(t){return e(t,t,r)},t)},ToSetSequence.prototype.__iterator=function(e,t){var r=this._iter.__iterator(1,t);return new Iterator(function(){var t=r.next();return t.done?t:iteratorValue(e,t.value,t.value,t)})},createClass(FromEntriesSequence,KeyedSeq),FromEntriesSequence.prototype.entrySeq=function(){return this._iter.toSeq()},FromEntriesSequence.prototype.__iterate=function(e,t){var r=this;return this._iter.__iterate(function(t){if(t){validateEntry(t);var n=isIterable(t);return e(n?t.get(1):t[1],n?t.get(0):t[0],r)}},t)},FromEntriesSequence.prototype.__iterator=function(e,t){var r=this._iter.__iterator(1,t);return new Iterator(function(){for(;;){var t=r.next();if(t.done)return t;var n=t.value;if(n){validateEntry(n);var i=isIterable(n);return iteratorValue(e,i?n.get(0):n[0],i?n.get(1):n[1],t)}}})},ToIndexedSequence.prototype.cacheResult=ToKeyedSequence.prototype.cacheResult=ToSetSequence.prototype.cacheResult=FromEntriesSequence.prototype.cacheResult=cacheResultThrough,createClass(Record,KeyedCollection),Record.prototype.toString=function(){return this.__toString(recordName(this)+" {","}")},Record.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Record.prototype.get=function(e,t){if(!this.has(e))return t;var r=this._defaultValues[e];return this._map?this._map.get(e,r):r},Record.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=makeRecord(this,emptyMap()))},Record.prototype.set=function(e,t){if(!this.has(e))throw Error('Cannot set unknown key "'+e+'" on '+recordName(this));var r=this._map&&this._map.set(e,t);return this.__ownerID||r===this._map?this:makeRecord(this,r)},Record.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:makeRecord(this,t)},Record.prototype.wasAltered=function(){return this._map.wasAltered()},Record.prototype.__iterator=function(e,t){var r=this;return KeyedIterable(this._defaultValues).map(function(e,t){return r.get(t)}).__iterator(e,t)},Record.prototype.__iterate=function(e,t){var r=this;return KeyedIterable(this._defaultValues).map(function(e,t){return r.get(t)}).__iterate(e,t)},Record.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?makeRecord(this,t,e):(this.__ownerID=e,this._map=t,this)};var z=Record.prototype;function makeRecord(e,t,r){var n=Object.create(Object.getPrototypeOf(e));return n._map=t,n.__ownerID=r,n}function recordName(e){return e._name||e.constructor.name||"Record"}function setProp(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){invariant(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Set(e){return null==e?emptySet():isSet(e)&&!isOrdered(e)?e:emptySet().withMutations(function(t){var r=SetIterable(e);assertNotInfinite(r.size),r.forEach(function(e){return t.add(e)})})}function isSet(e){return!!(e&&e[j])}z[g]=z.remove,z.deleteIn=z.removeIn=L.removeIn,z.merge=L.merge,z.mergeWith=L.mergeWith,z.mergeIn=L.mergeIn,z.mergeDeep=L.mergeDeep,z.mergeDeepWith=L.mergeDeepWith,z.mergeDeepIn=L.mergeDeepIn,z.setIn=L.setIn,z.update=L.update,z.updateIn=L.updateIn,z.withMutations=L.withMutations,z.asMutable=L.asMutable,z.asImmutable=L.asImmutable,createClass(Set,SetCollection),Set.of=function(){return this(arguments)},Set.fromKeys=function(e){return this(KeyedIterable(e).keySeq())},Set.prototype.toString=function(){return this.__toString("Set {","}")},Set.prototype.has=function(e){return this._map.has(e)},Set.prototype.add=function(e){return updateSet(this,this._map.set(e,!0))},Set.prototype.remove=function(e){return updateSet(this,this._map.remove(e))},Set.prototype.clear=function(){return updateSet(this,this._map.clear())},Set.prototype.union=function(){var e=l.call(arguments,0);return 0===(e=e.filter(function(e){return 0!==e.size})).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations(function(t){for(var r=0;r<e.length;r++)SetIterable(e[r]).forEach(function(e){return t.add(e)})}):this.constructor(e[0])},Set.prototype.intersect=function(){var e=l.call(arguments,0);if(0===e.length)return this;e=e.map(function(e){return SetIterable(e)});var t=this;return this.withMutations(function(r){t.forEach(function(t){e.every(function(e){return e.includes(t)})||r.remove(t)})})},Set.prototype.subtract=function(){var e=l.call(arguments,0);if(0===e.length)return this;e=e.map(function(e){return SetIterable(e)});var t=this;return this.withMutations(function(r){t.forEach(function(t){e.some(function(e){return e.includes(t)})&&r.remove(t)})})},Set.prototype.merge=function(){return this.union.apply(this,arguments)},Set.prototype.mergeWith=function(e){var t=l.call(arguments,1);return this.union.apply(this,t)},Set.prototype.sort=function(e){return OrderedSet(sortFactory(this,e))},Set.prototype.sortBy=function(e,t){return OrderedSet(sortFactory(this,t,e))},Set.prototype.wasAltered=function(){return this._map.wasAltered()},Set.prototype.__iterate=function(e,t){var r=this;return this._map.__iterate(function(t,n){return e(n,n,r)},t)},Set.prototype.__iterator=function(e,t){return this._map.map(function(e,t){return t}).__iterator(e,t)},Set.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Set.isSet=isSet;var j="@@__IMMUTABLE_SET__@@",U=Set.prototype;function updateSet(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function makeSet(e,t){var r=Object.create(U);return r.size=e?e.size:0,r._map=e,r.__ownerID=t,r}function emptySet(){return s||(s=makeSet(emptyMap()))}function OrderedSet(e){return null==e?emptyOrderedSet():isOrderedSet(e)?e:emptyOrderedSet().withMutations(function(t){var r=SetIterable(e);assertNotInfinite(r.size),r.forEach(function(e){return t.add(e)})})}function isOrderedSet(e){return isSet(e)&&isOrdered(e)}U[j]=!0,U[g]=U.remove,U.mergeDeep=U.merge,U.mergeDeepWith=U.mergeWith,U.withMutations=L.withMutations,U.asMutable=L.asMutable,U.asImmutable=L.asImmutable,U.__empty=emptySet,U.__make=makeSet,createClass(OrderedSet,Set),OrderedSet.of=function(){return this(arguments)},OrderedSet.fromKeys=function(e){return this(KeyedIterable(e).keySeq())},OrderedSet.prototype.toString=function(){return this.__toString("OrderedSet {","}")},OrderedSet.isOrderedSet=isOrderedSet;var H=OrderedSet.prototype;function makeOrderedSet(e,t){var r=Object.create(H);return r.size=e?e.size:0,r._map=e,r.__ownerID=t,r}function emptyOrderedSet(){return u||(u=makeOrderedSet(emptyOrderedMap()))}function Stack(e){return null==e?emptyStack():isStack(e)?e:emptyStack().unshiftAll(e)}function isStack(e){return!!(e&&e[V])}H[h]=!0,H.__empty=emptyOrderedSet,H.__make=makeOrderedSet,createClass(Stack,IndexedCollection),Stack.of=function(){return this(arguments)},Stack.prototype.toString=function(){return this.__toString("Stack [","]")},Stack.prototype.get=function(e,t){var r=this._head;for(e=wrapIndex(this,e);r&&e--;)r=r.next;return r?r.value:t},Stack.prototype.peek=function(){return this._head&&this._head.value},Stack.prototype.push=function(){if(0==arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,r=arguments.length-1;r>=0;r--)t={value:arguments[r],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):makeStack(e,t)},Stack.prototype.pushAll=function(e){if(0===(e=IndexedIterable(e)).size)return this;assertNotInfinite(e.size);var t=this.size,r=this._head;return(e.reverse().forEach(function(e){t++,r={value:e,next:r}}),this.__ownerID)?(this.size=t,this._head=r,this.__hash=void 0,this.__altered=!0,this):makeStack(t,r)},Stack.prototype.pop=function(){return this.slice(1)},Stack.prototype.unshift=function(){return this.push.apply(this,arguments)},Stack.prototype.unshiftAll=function(e){return this.pushAll(e)},Stack.prototype.shift=function(){return this.pop.apply(this,arguments)},Stack.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):emptyStack()},Stack.prototype.slice=function(e,t){if(wholeSlice(e,t,this.size))return this;var r,n=resolveIndex(e,this.size,0);if(resolveIndex(t,r=this.size,r)!==this.size)return IndexedCollection.prototype.slice.call(this,e,t);for(var i=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=i,this._head=o,this.__hash=void 0,this.__altered=!0,this):makeStack(i,o)},Stack.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?makeStack(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Stack.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var r=0,n=this._head;n&&!1!==e(n.value,r++,this);)n=n.next;return r},Stack.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var r=0,n=this._head;return new Iterator(function(){if(n){var t=n.value;return n=n.next,iteratorValue(e,r++,t)}return iteratorDone()})},Stack.isStack=isStack;var V="@@__IMMUTABLE_STACK__@@",W=Stack.prototype;function makeStack(e,t,r,n){var i=Object.create(W);return i.size=e,i._head=t,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function emptyStack(){return c||(c=makeStack(0))}function mixin(e,t){var keyCopier=function(r){e.prototype[r]=t[r]};return Object.keys(t).forEach(keyCopier),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(keyCopier),e}W[V]=!0,W.withMutations=L.withMutations,W.asMutable=L.asMutable,W.asImmutable=L.asImmutable,W.wasAltered=L.wasAltered,Iterable.Iterator=Iterator,mixin(Iterable,{toArray:function(){assertNotInfinite(this.size);var e=Array(this.size||0);return this.valueSeq().__iterate(function(t,r){e[r]=t}),e},toIndexedSeq:function(){return new ToIndexedSequence(this)},toJS:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJS?e.toJS():e}).__toJS()},toJSON:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e}).__toJS()},toKeyedSeq:function(){return new ToKeyedSequence(this,!0)},toMap:function(){return Map(this.toKeyedSeq())},toObject:function(){assertNotInfinite(this.size);var e={};return this.__iterate(function(t,r){e[r]=t}),e},toOrderedMap:function(){return OrderedMap(this.toKeyedSeq())},toOrderedSet:function(){return OrderedSet(isKeyed(this)?this.valueSeq():this)},toSet:function(){return Set(isKeyed(this)?this.valueSeq():this)},toSetSeq:function(){return new ToSetSequence(this)},toSeq:function(){return isIndexed(this)?this.toIndexedSeq():isKeyed(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Stack(isKeyed(this)?this.valueSeq():this)},toList:function(){return List(isKeyed(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){var e=l.call(arguments,0);return reify(this,function(e,t){var r=isKeyed(e),n=[e].concat(t).map(function(e){return isIterable(e)?r&&(e=KeyedIterable(e)):e=r?keyedSeqFromValue(e):indexedSeqFromValue(Array.isArray(e)?e:[e]),e}).filter(function(e){return 0!==e.size});if(0===n.length)return e;if(1===n.length){var i=n[0];if(i===e||r&&isKeyed(i)||isIndexed(e)&&isIndexed(i))return i}var o=new ArraySeq(n);return r?o=o.toKeyedSeq():isIndexed(e)||(o=o.toSetSeq()),(o=o.flatten(!0)).size=n.reduce(function(e,t){if(void 0!==e){var r=t.size;if(void 0!==r)return e+r}},0),o}(this,e))},includes:function(e){return this.some(function(t){return is(t,e)})},entries:function(){return this.__iterator(2)},every:function(e,t){assertNotInfinite(this.size);var r=!0;return this.__iterate(function(n,i,o){if(!e.call(t,n,i,o))return r=!1,!1}),r},filter:function(e,t){return reify(this,filterFactory(this,e,t,!0))},find:function(e,t,r){var n=this.findEntry(e,t);
1return n?n[1]:r},findEntry:function(e,t){var r;return this.__iterate(function(n,i,o){if(e.call(t,n,i,o))return r=[i,n],!1}),r},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return assertNotInfinite(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){assertNotInfinite(this.size),e=void 0!==e?""+e:",";var t="",r=!0;return this.__iterate(function(n){r?r=!1:t+=e,t+=null!=n?n.toString():""}),t},keys:function(){return this.__iterator(0)},map:function(e,t){return reify(this,mapFactory(this,e,t))},reduce:function(e,t,r){var n,i;return assertNotInfinite(this.size),arguments.length<2?i=!0:n=t,this.__iterate(function(t,o,a){i?(i=!1,n=t):n=e.call(r,n,t,o,a)}),n},reduceRight:function(e,t,r){var n=this.toKeyedSeq().reverse();return n.reduce.apply(n,arguments)},reverse:function(){return reify(this,reverseFactory(this,!0))},slice:function(e,t){return reify(this,sliceFactory(this,e,t,!0))},some:function(e,t){return!this.every(not(e),t)},sort:function(e){return reify(this,sortFactory(this,e))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(e,t){return ensureSize(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){var r,n;return r=this,n=Map().asMutable(),r.__iterate(function(i,o){n.update(e.call(t,i,o,r),0,function(e){return e+1})}),n.asImmutable()},equals:function(e){return deepEqual(this,e)},entrySeq:function(){var e=this;if(e._cache)return new ArraySeq(e._cache);var t=e.toSeq().map(entryMapper).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(not(e),t)},findLast:function(e,t,r){return this.toKeyedSeq().reverse().find(e,t,r)},first:function(){return this.find(returnTrue)},flatMap:function(e,t){var r,n;return reify(this,(r=this,n=iterableClass(r),r.toSeq().map(function(i,o){return n(e.call(t,i,o,r))}).flatten(!0)))},flatten:function(e){return reify(this,flattenFactory(this,e,!0))},fromEntrySeq:function(){return new FromEntriesSequence(this)},get:function(e,t){return this.find(function(t,r){return is(r,e)},void 0,t)},getIn:function(e,t){for(var r,n=this,i=forceIterator(e);!(r=i.next()).done;){var o=r.value;if((n=n&&n.get?n.get(o,y):y)===y)return t}return n},groupBy:function(e,t){return function(e,t,r){var n=isKeyed(e),i=(isOrdered(e)?OrderedMap():Map()).asMutable();e.__iterate(function(o,a){i.update(t.call(r,o,a,e),function(e){return(e=e||[]).push(n?[a,o]:o),e})});var o=iterableClass(e);return i.map(function(t){return reify(e,o(t))})}(this,e,t)},has:function(e){return this.get(e,y)!==y},hasIn:function(e){return this.getIn(e,y)!==y},isSubset:function(e){return e="function"==typeof e.includes?e:Iterable(e),this.every(function(t){return e.includes(t)})},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:Iterable(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(keyMapper).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return maxFactory(this,e)},maxBy:function(e,t){return maxFactory(this,t,e)},min:function(e){return maxFactory(this,e?neg(e):defaultNegComparator)},minBy:function(e,t){return maxFactory(this,t?neg(t):defaultNegComparator,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return reify(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return reify(this,skipWhileFactory(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(not(e),t)},sortBy:function(e,t){return reify(this,sortFactory(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return reify(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){var r,n;return reify(this,(r=this,(n=makeSequence(r)).__iterateUncached=function(n,i){var o=this;if(i)return this.cacheResult().__iterate(n,i);var a=0;return r.__iterate(function(r,i,s){return e.call(t,r,i,s)&&++a&&n(r,i,o)}),a},n.__iteratorUncached=function(n,i){var o=this;if(i)return this.cacheResult().__iterator(n,i);var a=r.__iterator(2,i),s=!0;return new Iterator(function(){if(!s)return iteratorDone();var r=a.next();if(r.done)return r;var i=r.value,u=i[0],c=i[1];return e.call(t,c,u,o)?2===n?r:iteratorValue(n,u,c,r):(s=!1,iteratorDone())})},n))},takeUntil:function(e,t){return this.takeWhile(not(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(e){if(e.size===1/0)return 0;var t,r,n=isOrdered(e),i=isKeyed(e),o=n?1:0;return t=e.__iterate(i?n?function(e,t){o=31*o+hashMerge(hash(e),hash(t))|0}:function(e,t){o=o+hashMerge(hash(e),hash(t))|0}:n?function(e){o=31*o+hash(e)|0}:function(e){o=o+hash(e)|0}),r=k(r=o,3432918353),r=k(r<<15|r>>>-15,461845907),r=((r=k(r<<13|r>>>-13,5))+3864292196|0)^t,r=k(r^r>>>16,2246822507),r=smi((r=k(r^r>>>13,3266489909))^r>>>16)}(this))}});var G=Iterable.prototype;G[f]=!0,G[b]=G.values,G.__toJS=G.toArray,G.__toStringMapper=quoteString,G.inspect=G.toSource=function(){return this.toString()},G.chain=G.flatMap,G.contains=G.includes,function(){try{Object.defineProperty(G,"length",{get:function(){if(!Iterable.noLengthWarning){var e;try{throw Error()}
1catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),mixin(KeyedIterable,{flip:function(){return reify(this,flipFactory(this))},findKey:function(e,t){var r=this.findEntry(e,t);return r&&r[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey(function(t){return is(t,e)})},lastKeyOf:function(e){return this.findLastKey(function(t){return is(t,e)})},mapEntries:function(e,t){var r=this,n=0;return reify(this,this.toSeq().map(function(i,o){return e.call(t,[o,i],n++,r)}).fromEntrySeq())},mapKeys:function(e,t){var r=this;return reify(this,this.toSeq().flip().map(function(n,i){return e.call(t,n,i,r)}).flip())}});var J=KeyedIterable.prototype;function keyMapper(e,t){return t}function entryMapper(e,t){return[t,e]}function not(e){return function(){return!e.apply(this,arguments)}}function neg(e){return function(){return-e.apply(this,arguments)}}function quoteString(e){return"string"==typeof e?JSON.stringify(e):e}function defaultZipper(){return arrCopy(arguments)}function defaultNegComparator(e,t){return e<t?1:e>t?-1:0}function hashMerge(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return J[p]=!0,J[b]=G.entries,J.__toJS=G.toObject,J.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+quoteString(e)},mixin(IndexedIterable,{toKeyedSeq:function(){return new ToKeyedSequence(this,!1)},filter:function(e,t){return reify(this,filterFactory(this,e,t,!1))},findIndex:function(e,t){var r=this.findEntry(e,t);return r?r[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return reify(this,reverseFactory(this,!1))},slice:function(e,t){return reify(this,sliceFactory(this,e,t,!1))},splice:function(e,t){var r=arguments.length;if(t=Math.max(0|t,0),0===r||2===r&&!t)return this;e=resolveIndex(e,e<0?this.count():this.size,0);var n=this.slice(0,e);return reify(this,1===r?n:n.concat(arrCopy(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var r=this.toKeyedSeq().findLastKey(e,t);return void 0===r?-1:r},first:function(){return this.get(0)},flatten:function(e){return reify(this,flattenFactory(this,e,!1))},get:function(e,t){return(e=wrapIndex(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find(function(t,r){return r===e},void 0,t)},has:function(e){return(e=wrapIndex(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){var t,r;return reify(this,(t=this,(r=makeSequence(t)).size=t.size&&2*t.size-1,r.__iterateUncached=function(r,n){var i=this,o=0;return t.__iterate(function(t,n){return(!o||!1!==r(e,o++,i))&&!1!==r(t,o++,i)},n),o},r.__iteratorUncached=function(r,n){var i,o=t.__iterator(1,n),a=0;return new Iterator(function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?iteratorValue(r,a++,e):iteratorValue(r,a++,i.value,i)})},r))},interleave:function(){var e=[this].concat(arrCopy(arguments)),t=zipWithFactory(this.toSeq(),IndexedSeq.of,e),r=t.flatten(!0);return t.size&&(r.size=t.size*e.length),reify(this,r)},last:function(){return this.get(-1)},skipWhile:function(e,t){return reify(this,skipWhileFactory(this,e,t,!1))},zip:function(){var e=[this].concat(arrCopy(arguments));return reify(this,zipWithFactory(this,defaultZipper,e))},zipWith:function(e){var t=arrCopy(arguments);return t[0]=this,reify(this,zipWithFactory(this,e,t))}}),IndexedIterable.prototype[d]=!0,IndexedIterable.prototype[h]=!0,mixin(SetIterable,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),SetIterable.prototype.has=G.includes,mixin(KeyedSeq,KeyedIterable.prototype),mixin(IndexedSeq,IndexedIterable.prototype),mixin(SetSeq,SetIterable.prototype),mixin(KeyedCollection,KeyedIterable.prototype),mixin(IndexedCollection,IndexedIterable.prototype),mixin(SetCollection,SetIterable.prototype),{Iterable:Iterable,Seq:Seq,Collection:Collection,Map:Map,OrderedMap:OrderedMap,List:List,Stack:Stack,Set:Set,OrderedSet:OrderedSet,Record:Record,Range:Range,Repeat:Repeat,is:is,fromJS:fromJS}}()},96086:function(e){"use strict";var t=Object.assign.bind(Object);e.exports=t,e.exports.default=e.exports},1342:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{noSSR:function(){return noSSR},default:function(){return dynamic}});let n=r(38754),i=(r(67294),n._(r(24304)));function convertModule(e){return{default:(null==e?void 0:e.default)||e}}function noSSR(e,t){return delete t.webpack,delete t.modules,e(t)}function dynamic(e,t){let r=i.default,n={loading:e=>{let{error:t,isLoading:r,pastDelay:n}=e;return null}};e instanceof Promise?n.loader=()=>e:"function"==typeof e?n.loader=e:"object"==typeof e&&(n={...n,...e}),n={...n,...t};let o=n.loader;return(n.loadableGenerated&&(n={...n,...n.loadableGenerated},delete n.loadableGenerated),"boolean"!=typeof n.ssr||n.ssr)?r({...n,loader:()=>null!=o?o().then(convertModule):Promise.resolve(convertModule(()=>null))}):(delete n.webpack,delete n.modules,noSSR(r,n))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},30043:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return o}});let n=r(38754),i=n._(r(67294)),o=i.default.createContext(null)},24304:function(e,t,r){"use strict";/** 2@copyright (c) 2017-present James Kyle <[email protected]> 3 MIT License 4 Permission is hereby granted, free of charge, to any person obtaining 5a copy of this software and associated documentation files (the 6"Software"), to deal in the Software without restriction, including 7without limitation the rights to use, copy, modify, merge, publish, 8distribute, sublicense, and/or sell copies of the Software, and to 9permit persons to whom the Software is furnished to do so, subject to 10the following conditions: 11 The above copyright notice and this permission notice shall be 12included in all copies or substantial portions of the Software. 13 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 14EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 15MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 16NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 17LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 18OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 19WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE 20*/Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});let n=r(38754),i=n._(r(67294)),o=r(30043),a=[],s=[],u=!1;function load(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}let LoadableSubscription=class LoadableSubscription{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}};function Loadable(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),n=null;function init(){if(!n){let t=new LoadableSubscription(e,r);n={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return n.promise()}if(!u){let e=r.webpack?r.webpack():r.modules;e&&s.push(t=>{for(let r of e)if(t.includes(r))return init()})}
20function LoadableComponent(e,t){!function(){init();let e=i.default.useContext(o.LoadableContext);e&&Array.isArray(r.modules)&&r.modules.forEach(t=>{e(t)})}();let a=i.default.useSyncExternalStore(n.subscribe,n.getCurrentValue,n.getCurrentValue);return i.default.useImperativeHandle(t,()=>({retry:n.retry}),[]),i.default.useMemo(()=>{var t;return a.loading||a.error?i.default.createElement(r.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:n.retry}):a.loaded?i.default.createElement((t=a.loaded)&&t.default?t.default:t,e):null},[e,a])}return LoadableComponent.preload=()=>init(),LoadableComponent.displayName="LoadableComponent",i.default.forwardRef(LoadableComponent)}(load,e)}function flushInitializers(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>{if(e.length)return flushInitializers(e,t)})}Loadable.preloadAll=()=>new Promise((e,t)=>{flushInitializers(a).then(e,t)}),Loadable.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let res=()=>(u=!0,t());flushInitializers(s,e).then(res,res)})),window.__NEXT_PRELOADREADY=Loadable.preloadReady;let c=Loadable},90334:function(){},99647:function(e,t,r){var n=r(83454);"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="//"),({189:function(){!function(e,t){"use strict";if(!e.setImmediate){var r,i,o,a,s,u=1,c={},l=!1,f=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);(p=p&&p.setTimeout?p:e,"[object process]"===({}).toString.call(e.process))?s=function(e){n.nextTick(function(){runIfPresent(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?(r="setImmediate$"+Math.random()+"$",i=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(r)&&runIfPresent(+t.data.slice(r.length))},e.addEventListener?e.addEventListener("message",i,!1):e.attachEvent("onmessage",i),s=function(t){e.postMessage(r+t,"*")}):e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){runIfPresent(e.data)},s=function(e){o.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(a=f.documentElement,s=function(e){var t=f.createElement("script");t.onreadystatechange=function(){runIfPresent(e),t.onreadystatechange=null,a.removeChild(t),t=null},a.appendChild(t)}):s=function(e){setTimeout(runIfPresent,0,e)},p.setImmediate=function(e){"function"!=typeof e&&(e=Function(""+e));for(var t=Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var n={callback:e,args:t};return c[u]=n,s(u),u++},p.clearImmediate=clearImmediate}function clearImmediate(e){delete c[e]}function runIfPresent(e){if(l)setTimeout(runIfPresent,0,e);else{var t=c[e];if(t){l=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(void 0,r)}}(t)}finally{clearImmediate(e),l=!1}}}}}("undefined"==typeof self?void 0===r.g?this:r.g:self)}})[189](),e.exports={}},5152:function(e,t,r){e.exports=r(1342)},42238:function(e,t,r){var n;!function(i,o){"use strict";var a="function",s="undefined",u="object",c="string",l="major",f="model",p="name",d="type",h="vendor",g="version",y="architecture",v="console",m="mobile",_="tablet",S="smarttv",b="wearable",w="embedded",k="Amazon",x="Apple",E="ASUS",C="BlackBerry",I="Browser",O="Chrome",T="Firefox",D="Google",M="Huawei",K="Microsoft",A="Motorola",L="Opera",B="Samsung",R="Sharp",N="Sony",P="Xiaomi",F="Zebra",q="Facebook",z="Chromium OS",j="Mac OS",extend=function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2==0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r},enumerize=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},has=function(e,t){return typeof e===c&&-1!==lowerize(t).indexOf(lowerize(e))},lowerize=function(e){return e.toLowerCase()},trim=function(e,t){if(typeof e===c)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,500)},rgxMapper=function(e,t){for(var r,n,i,s,c,l,f=0;f<t.length&&!c;){var p=t[f],d=t[f+1];for(r=n=0;r<p.length&&!c&&p[r];)if(c=p[r++].exec(e))for(i=0;i<d.length;i++)l=c[++n],typeof(s=d[i])===u&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=l?l.replace(s[1],s[2]):o:this[s[0]]=l?s[1].call(this,l,s[2]):o:4===s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):o):this[s]=l||o;f+=2}},strMapper=function(e,t){for(var r in t)if(typeof t[r]===u&&t[r].length>0){for(var n=0;n<t[r].length;n++)if(has(t[r][n],e))return"?"===r?o:r}else if(has(t[r],e))return"?"===r?o:r;return e},U={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},H={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[g,[p,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[g,[p,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[p,g],[/opios[\/ ]+([\w\.]+)/i],[g,[p,L+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[g,[p,L+" GX"]],[/\bopr\/([\w\.]+)/i],[g,[p,L]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[g,[p,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[p,g],[/\bddg\/([\w\.]+)/i],[g,[p,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[g,[p,"UC"+I]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[g,[p,"WeChat"]],[/konqueror\/([\w\.]+)/i],[g,[p,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[g,[p,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[g,[p,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[g,[p,"Smart Lenovo "+I]],[/(avast|avg)\/([\w\.]+)/i],[[p,/(.+)/,"$1 Secure "+I],g],[/\bfocus\/([\w\.]+)/i],[g,[p,T+" Focus"]],[/\bopt\/([\w\.]+)/i],[g,[p,L+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[g,[p,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[g,[p,"Dolphin"]],[/coast\/([\w\.]+)/i],[g,[p,L+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[g,[p,"MIUI "+I]],[/fxios\/([-\w\.]+)/i],[g,[p,T]],[/\bqihu|(qi?ho?o?|360)browser/i],[[p,"360 "+I]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[p,/(.+)/,"$1 "+I],g],[/samsungbrowser\/([\w\.]+)/i],[g,[p,B+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[p,/_/g," "],g],[/metasr[\/ ]?([\d\.]+)/i],[g,[p,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[p,"Sogou Mobile"],g],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[p,g],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[p],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[p,q],g],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[p,g],[/\bgsa\/([\w\.]+) .*safari\//i],[g,[p,"GSA"]],[/musical_ly(?:.
vendor: 5,410 bytes, line 20
20+app_?version\/|_)([\w\.]+)/i],[g,[p,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[g,[p,O+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,O+" WebView"],g],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[g,[p,"Android "+I]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[p,g],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[g,[p,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[g,p],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[p,[g,strMapper,{"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[p,g],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[p,"Netscape"],g],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[g,[p,T+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[p,g],[/(cobalt)\/([\w\.]+)/i],[p,[g,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[y,"amd64"]],[/(ia32(?=;))/i],[[y,lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[y,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[y,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[y,"armhf"]],[/windows (ce|mobile); ppc;/i],[[y,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[y,/ower/,"",lowerize]],[/(sun4\w)[;\)]/i],[[y,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[y,lowerize]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[f,[h,B],[d,_]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[f,[h,B],[d,m]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[f,[h,x],[d,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[f,[h,x],[d,_]],[/(macintosh);/i],[f,[h,x]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[f,[h,R],[d,m]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[f,[h,M],[d,_]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[f,[h,M],[d,m]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[f,/_/g," "],[h,P],[d,m]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[f,/_/g," "],[h,P],[d,_]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[f,[h,"OPPO"],[d,m]],[/\b(opd2\d{3}a?) bui/i],[f,[h,"OPPO"],[d,_]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[f,[h,"Vivo"],[d,m]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[f,[h,"Realme"],[d,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[f,[h,A],[d,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[f,[h,A],[d,_]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[f,[h,"LG"],[d,_]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[f,[h,"LG"],[d,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[f,[h,"Lenovo"],[d,_]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[f,/_/g," "],[h,"Nokia"],[d,m]],[/(pixel c)\b/i],[f,[h,D],[d,_]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[f,[h,D],[d,m]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[f,[h,N],[d,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[f,"Xperia Tablet"],[h,N],[d,_]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[f,[h,"OnePlus"],[d,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[f,[h,k],[d,_]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[f,/(.+)/g,"Fire Phone $1"],[h,k],[d,m]],[/(playbook);[-\w\),; ]+(rim)/i],[f,h,[d,_]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[f,[h,C],[d,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[f,[h,E],[d,_]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[f,[h,E],[d,m]],[/(nexus 9)/i],[f,[h,"HTC"],[d,_]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[f,/_/g," "],[d,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[f,[h,"Acer"],[d,_]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[f,[h,"Meizu"],[d,m]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[f,[h,"Ulefone"],[d,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asu
vendor: 7,369 bytes, line 20
20s)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[h,f,[d,m]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,f,[d,_]],[/(surface duo)/i],[f,[h,K],[d,_]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[f,[h,"Fairphone"],[d,m]],[/(u304aa)/i],[f,[h,"AT&T"],[d,m]],[/\bsie-(\w*)/i],[f,[h,"Siemens"],[d,m]],[/\b(rct\w+) b/i],[f,[h,"RCA"],[d,_]],[/\b(venue[\d ]{2,7}) b/i],[f,[h,"Dell"],[d,_]],[/\b(q(?:mv|ta)\w+) b/i],[f,[h,"Verizon"],[d,_]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[f,[h,"Barnes & Noble"],[d,_]],[/\b(tm\d{3}\w+) b/i],[f,[h,"NuVision"],[d,_]],[/\b(k88) b/i],[f,[h,"ZTE"],[d,_]],[/\b(nx\d{3}j) b/i],[f,[h,"ZTE"],[d,m]],[/\b(gen\d{3}) b.+49h/i],[f,[h,"Swiss"],[d,m]],[/\b(zur\d{3}) b/i],[f,[h,"Swiss"],[d,_]],[/\b((zeki)?tb.*\b) b/i],[f,[h,"Zeki"],[d,_]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],f,[d,_]],[/\b(ns-?\w{0,9}) b/i],[f,[h,"Insignia"],[d,_]],[/\b((nxa|next)-?\w{0,9}) b/i],[f,[h,"NextBook"],[d,_]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],f,[d,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],f,[d,m]],[/\b(ph-1) /i],[f,[h,"Essential"],[d,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[f,[h,"Envizen"],[d,_]],[/\b(trio[-\w\. ]+) b/i],[f,[h,"MachSpeed"],[d,_]],[/\btu_(1491) b/i],[f,[h,"Rotor"],[d,_]],[/(shield[\w ]+) b/i],[f,[h,"Nvidia"],[d,_]],[/(sprint) (\w+)/i],[h,f,[d,m]],[/(kin\.[onetw]{3})/i],[[f,/\./g," "],[h,K],[d,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[f,[h,F],[d,_]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[f,[h,F],[d,m]],[/smart-tv.+(samsung)/i],[h,[d,S]],[/hbbtv.+maple;(\d+)/i],[[f,/^/,"SmartTV"],[h,B],[d,S]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,"LG"],[d,S]],[/(apple) ?tv/i],[h,[f,x+" TV"],[d,S]],[/crkey/i],[[f,O+"cast"],[h,D],[d,S]],[/droid.+aft(\w+)( bui|\))/i],[f,[h,k],[d,S]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[f,[h,R],[d,S]],[/(bravia[\w ]+)( bui|\))/i],[f,[h,N],[d,S]],[/(mitv-\w{5}) bui/i],[f,[h,P],[d,S]],[/Hbbtv.*(technisat) (.*);/i],[h,f,[d,S]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,trim],[f,trim],[d,S]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[d,S]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,f,[d,v]],[/droid.+; (shield) bui/i],[f,[h,"Nvidia"],[d,v]],[/(playstation [345portablevi]+)/i],[f,[h,N],[d,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[f,[h,K],[d,v]],[/((pebble))app/i],[h,f,[d,b]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[f,[h,x],[d,b]],[/droid.+; (glass) \d/i],[f,[h,D],[d,b]],[/droid.+; (wt63?0{2,3})\)/i],[f,[h,F],[d,b]],[/(quest( \d| pro)?)/i],[f,[h,q],[d,b]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[d,w]],[/(aeobc)\b/i],[f,[h,k],[d,w]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[f,[d,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[f,[d,_]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[d,_]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[d,m]],[/(android[-\w\. ]{0,9});.+buil/i],[f,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[g,[p,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[g,[p,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[p,g],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[g,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,g],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[p,[g,strMapper,U]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[g,strMapper,U],[p,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[g,/_/g,"."],[p,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[p,j],[g,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[g,p],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[p,g],[/\(bb(10);/i],[g,[p,C]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[g,[p,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[g,[p,T+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[g,[p,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[g,[p,"watchOS"]],[/crkey\/([\d\.]+)/i],[g,[p,O+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[p,z],g],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[p,g],[/(sunos) ?([\w\.\d]*)/i],[[p,"Solaris"],g],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[p,g]]},UAParser=function(e,t){if(typeof e===u&&(t=e,e=o),!(this instanceof UAParser))return new UAParser(e,t).getResult();var r=typeof i!==s&&i.navigator?i.navigator:o,n=e||(r&&r.userAgent?r.userAgent:""),v=r&&r.userAgentData?r.userAgentData:o,S=t?extend(H,t):H,b=r&&r.userAgent==n;return this.getBrowser=function(){var e,t={};return t[p]=o,t[g]=o,rgxMapper.call(t,n,S.browser),t[l]=typeof(e=t[g])===c?e.replace(/[^\d\.]/g,"").split(".")[0]:o,b&&r&&r.brave&&typeof r.brave.isBrave==a&&(t[p]="Brave"),t},this.getCPU=function(){var e={};return e[y]=o,rgxMapper.call(e,n,S.cpu),e},this.getDevice=function(){var e={};return e[h]=o,e[f]=o,e[d]=o,rgxMapper.call(e,n,S.device),b&&!e[d]&&v&&v.mobile&&(e[d]=m),b&&"Macintosh"==e[f]&&r&&typeof r.standalone!==s&&r.maxTouchPoints&&r.maxTouchPoints>2&&(e[f]="iPad",e[d]=_),e},this.getEngine=function(){var e={};return e[p]=o,e[g]=o,rgxMapper.call(e,n,S.engine),e},this.getOS=function(){var e={};return e[p]=o,e[g]=o,rgxMapper.call(e,n,S.os),b&&!e[p]&&v&&v.platform&&"Unknown"!=v.platform&&(e[p]=v.platform.replace(/chrome os/i,z).replace(/macos/i,j)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=typeof e===c&&e.length>500?trim(e,500):e,this},this.setUA(n),this};UAParser.VERSION="0.7.38",UAParser.BROWSER=enumerize([p,g,l]),UAParser.CPU=enumerize([y]),UAParser.DEVICE=enumerize([f,h,d,v,m,S,_,b,w]),UAParser.ENGINE=UAParser.OS=enumerize([p,g]),typeof t!==s?(e.exp
20orts&&(t=e.exports=UAParser),t.UAParser=UAParser):r.amdO?o!==(n=(function(){return UAParser}).call(t,r,t,e))&&(e.exports=n):typeof i!==s&&(i.UAParser=UAParser);var V=typeof i!==s&&(i.jQuery||i.Zepto);if(V&&!V.ua){var W=new UAParser;V.ua=W.getResult(),V.ua.get=function(){return W.getUA()},V.ua.set=function(e){W.setUA(e);var t=W.getResult();for(var r in t)V.ua[r]=t[r]}}}("object"==typeof window?window:this)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.